vector
sequencelengths 1.02k
1.02k
| text
stringlengths 2
11.8k
|
---|---|
[
0.041495744,
-0.009749396,
-0.007395867,
-0.009210319,
-0.027453458,
-0.0052790055,
-0.00386886,
0.03660461,
0.016882299,
0.08488483,
0.025060484,
-0.012385611,
0.036552016,
-0.020406017,
-0.018723048,
0.0212738,
0.028636796,
-0.028373832,
-0.048280217,
-0.022851584,
-0.01717156,
0.022062693,
-0.07347219,
-0.024284739,
-0.027269382,
0.018302305,
0.02479752,
-0.0047267806,
0.059745453,
0.009565321,
-0.03784054,
-0.027400864,
0.002700313,
-0.019906387,
-0.02721679,
0.004690623,
0.048096143,
-0.016303778,
-0.04189019,
-0.08193963,
0.029951617,
-0.029846432,
0.023653625,
-0.051672455,
-0.028005682,
-0.009821711,
0.020484908,
-0.007474756,
0.0029484855,
-0.06626697,
0.014476176,
0.026874935,
0.0075536454,
-0.031871255,
-0.008289944,
-0.017907858,
-0.010321343,
-0.00850689,
-0.0128195025,
0.021655098,
0.032160517,
0.056537293,
0.008230777,
-0.051015045,
-0.004956874,
0.051225416,
-0.010656622,
-0.029162724,
-0.007297255,
0.002146445,
-0.027269382,
0.034237932,
0.00092859217,
-0.015396551,
-0.02031398,
0.006442622,
0.043730937,
0.00058673875,
-0.0057884986,
0.07136847,
-0.0058016465,
0.06111287,
0.009170875,
0.00216288,
-0.0432839,
-0.029373096,
0.038445357,
-0.012313296,
-0.0051080785,
-0.010558011,
-0.0033182788,
0.026572527,
-0.010742085,
0.021694543,
0.03681498,
0.027006418,
-0.001899916,
0.041942783,
0.0068765124,
0.015751552,
0.037314612,
0.06274325,
-0.0050554858,
-0.005328311,
-0.027453458,
-0.005877249,
0.036183868,
-0.03095088,
0.009486431,
-0.06037657,
0.023206586,
-0.017697487,
0.018828234,
-0.009045967,
0.014370991,
0.016961187,
0.018328601,
0.01126144,
-0.035158306,
-0.057694335,
-0.00520669,
0.0012392185,
-0.037077945,
-0.03639424,
-0.011366625,
-0.01585674,
0.020550648,
0.044861685,
-0.04365205,
0.00047826604,
-0.014975809,
-0.027847903,
-0.0037143687,
0.056537293,
0.021839174,
-0.017592302,
0.011392922,
0.026283266,
0.029636059,
-0.04780688,
0.028347535,
0.017355634,
0.007974388,
0.0879878,
-0.0071986434,
0.010498844,
-0.002631285,
-0.00061550044,
-0.078784056,
0.03534238,
-0.009716526,
-0.019380458,
-0.017329337,
0.010367362,
-0.020590093,
0.012556538,
-0.018736195,
0.039339438,
0.02508678,
0.024337333,
-0.0005637294,
0.01342432,
-0.03066162,
0.03689387,
-0.053513203,
0.030109394,
-0.00054852676,
-0.04275797,
-0.00084230705,
-0.038129803,
0.015265069,
-0.0117413495,
0.013365153,
0.018538972,
0.052724313,
0.014213212,
0.045519095,
0.007106606,
0.033501633,
0.03628905,
-0.0108801415,
-0.011156254,
0.038313877,
0.02047176,
-0.007921795,
-0.010071527,
0.010919587,
-0.0057457667,
-0.018473232,
-0.015817294,
0.006100768,
0.031371623,
0.012944411,
0.018683603,
-0.0008279262,
0.01151783,
-0.024705483,
0.017921006,
-0.01627748,
-0.030004209,
-0.04465131,
0.031792365,
-0.0115572745,
0.012135795,
-0.020511204,
-0.020563796,
-0.0045821504,
0.025704745,
-0.038471654,
0.020484908,
0.07278848,
-0.008973652,
-0.048885036,
-0.0006837068,
0.037945725,
-0.03578942,
-0.041916486,
0.020274537,
-0.026519934,
0.015080994,
0.0109721795,
0.04312612,
0.06400547,
0.00066398445,
-0.011576997,
0.016856002,
0.0020889214,
0.054012835,
-0.024758074,
0.006468918,
0.0012129222,
0.038313877,
-0.007783739,
0.06274325,
0.037577577,
0.00075561105,
0.035368677,
0.042074263,
-0.0071329027,
0.008132166,
0.0041942783,
0.03192385,
0.0022976492,
0.019590829,
-0.003799832,
-0.018144526,
-0.019958979,
-0.020327128,
0.022996215,
0.0066562803,
-0.029215317,
0.06852846,
0.0024702195,
-0.014502473,
-0.02824235,
-0.0133125605,
0.04028611,
0.029399391,
-0.035079416,
0.00010112821,
-0.029767541,
-0.012221259,
-0.006258547,
-0.0072578103,
0.015646366,
0.04196908,
0.0033955246,
-0.0030586019,
0.031897552,
-0.05185653,
-0.026611973,
-0.02486326,
-0.107447155,
-0.009026244,
-0.023745663,
0.025362892,
0.03418534,
-0.051777642,
-0.004434233,
-0.0359472,
-0.0004084162,
-0.0009705021,
-0.013325708,
0.033974968,
0.018276008,
-0.0145419175,
-0.035684235,
0.010163564,
-0.032160517,
0.0105711585,
-0.007619386,
0.0028022118,
-0.0042830287,
-0.005936416,
-0.0075865155,
0.011320607,
0.0015342315,
-0.004253445,
-0.031108659,
0.000114635935,
-0.07499737,
-0.016921744,
-0.00711318,
-0.0023551728,
-0.03607868,
0.020195646,
-0.007948091,
-0.022943622,
0.051383194,
0.045282427,
-0.03836647,
0.067003265,
0.014620807,
0.046150208,
-0.03476386,
0.057589147,
0.021589357,
-0.007665405,
-0.03173977,
0.0027118179,
-0.040154625,
-0.013121911,
-0.021589357,
-0.038971286,
-0.03983907,
0.059692863,
0.018525824,
-0.10897234,
-0.005065347,
-0.00927606,
-0.042205747,
-0.015383403,
-0.035447568,
0.019130642,
0.011412644,
0.039076474,
-0.046465766,
-0.042889453,
-0.03329126,
0.018828234,
0.0057326183,
-0.036210164,
0.041706115,
0.03726202,
-0.035842013,
-0.03873462,
0.018893974,
-0.0425213,
0.021129169,
-0.009177449,
-0.0046084467,
0.04028611,
0.038261283,
0.020879354,
0.00029809453,
0.060481753,
-0.061375834,
0.00096310617,
0.01951194,
-0.0026690862,
-0.0032771907,
0.036210164,
-0.0010666483,
-0.03184496,
-0.0050521987,
-0.06610919,
0.018578418,
0.0066562803,
0.059535082,
-0.044362053,
0.028373832,
-0.03697276,
-0.023193438,
0.011024772,
0.0026740166,
-0.01972231,
0.057326183,
0.012365889,
0.05443358,
-0.03292311,
-0.031450514,
0.033843488,
-0.020629538,
0.051172823,
-0.00012439437,
0.051251713,
-0.028268646,
-0.010998475,
-0.065267704,
-0.03234459,
0.004575576,
-0.025205113,
0.017539708,
-0.026020303,
-0.045229834,
-0.039628696,
0.050725784,
0.035368677,
0.031213844,
0.03500053,
0.0048648366,
-0.019025456,
0.03258126,
0.023666773,
0.008526613,
0.030188285,
-0.043757234,
0.036131274,
0.038760915,
-0.008579206,
-0.012379037,
-0.00924319,
-0.024350481,
0.029741244,
-0.024311036,
0.03168718,
-0.045440204,
-0.002925476,
-0.012977281,
0.018368047,
-0.029583467,
-0.0028367257,
-0.03828758,
0.034711268,
0.04157463,
-0.043809827,
0.0044934,
-0.03784054,
0.030924585,
0.0046643266,
-0.040075738,
-0.034001265,
0.016540445,
-0.006327575,
-0.056852847,
0.06269065,
0.031056067,
0.0019985274,
0.006583965,
-0.035394974,
0.01621174,
-0.008769854,
-0.031266436,
-0.038445357,
-0.023850849,
0.001775008,
-0.0036519147,
0.025402337,
-0.025717894,
-0.0060876203,
0.023114549,
0.0010995188,
-0.059061747,
-0.026217526,
-0.005643868,
-0.0060678977,
0.023219734,
-0.010643474,
0.022128433,
0.014134323,
0.016448408,
0.028952353,
0.03841906,
-0.03786684,
-0.017658042,
0.038182393,
-0.00027446882,
-0.0031736486,
0.064741775,
0.013831914,
-0.017145263,
0.05369728,
0.013608395,
-0.034080155,
-0.020077312,
-0.0014931433,
0.004759651,
-0.003203232,
0.011511256,
0.024560852,
-0.03439571,
0.09156412,
0.004227149,
-0.023956034,
-0.014476176,
-0.027321976,
-0.010985327,
0.0007864272,
-0.030161988,
0.02354844,
-0.011083939,
-0.026322711,
-0.009118282,
-0.013345431,
-0.056432106,
-0.03266015,
-0.006196093,
0.015173031,
0.047280952,
-0.023956034,
0.022075841,
0.0034185338,
-0.044546127,
-0.0017519987,
-0.02420585,
-0.012300148,
-0.054959506,
-0.00023707861,
0.011307458,
0.051961716,
-0.023298623,
-0.009861155,
-0.03697276,
-0.0030914722,
-0.012891818,
0.015015253,
0.040654257,
-0.048727255,
-0.027243085,
0.035105713,
-0.027900496,
-0.06868624,
-0.0194462,
0.03168718,
-0.002215473,
0.02009046,
0.01994583,
-0.016790261,
-0.044546127,
-0.006482066,
-0.0024636453,
-0.05259283,
0.015948776,
-0.017881563,
-0.029478282,
0.0040332125,
0.026072895,
0.037235722,
-0.055800993,
0.0068107713,
-0.044861685,
0.008552909,
-0.054380987,
-0.03915536,
0.01126144,
-0.0024488536,
-0.020590093,
0.07152625,
0.00000557258,
-0.011754498,
0.0027085308,
0.036104977,
-0.007395867,
0.026059747,
-0.025875673,
-0.018657306,
0.0048418273,
0.0054334966,
-0.046176504,
0.031056067,
-0.050725784,
0.0058082207,
-0.04899022,
0.0053776167,
0.020077312,
-0.009052541,
-0.018170822,
-0.02654623,
0.033475336,
-0.016593037,
0.03102977,
0.0016188731,
0.027032714,
-0.0045854375,
0.009874304,
-0.012083203,
-0.021431578,
-0.037735354,
-0.048069846,
0.036341645,
-0.020800464,
-0.017921006,
0.007816609,
-0.0039050176,
0.04783318,
-0.055643216,
0.042889453,
0.061743982,
0.022930473,
0.03258126,
-0.049253184,
0.02420585,
0.022838436,
0.020931946,
-0.020143054,
0.03455349,
-0.028847167,
-0.00788235,
-0.02164195,
-0.03160829,
-0.038550545,
0.009039393,
0.07126328,
0.006140213,
0.03873462,
0.024508258,
-0.07078995,
0.019341012,
0.037656467,
0.020129906,
-0.0065741036,
0.019617125,
0.034316823,
0.026296414,
0.038129803,
0.002968208,
-0.01268802,
-0.020182498,
0.06579363,
0.022983067,
-0.027900496,
0.015869886,
0.032817926,
-0.059587676,
-0.06784475,
-0.034080155,
0.027926793,
-0.0018982724,
0.016080258,
0.010807826,
-0.00019773672,
-0.03997055,
0.022641214,
-0.0132008,
-0.0057424796,
0.02273325,
-0.013634691,
-0.008145315,
-0.05390765,
0.02279899,
0.042363524,
0.00035274174,
-0.031660885,
-0.02273325,
-0.0020609815,
-0.033002,
0.030687917,
0.055695806,
-0.028479017,
0.019485643,
0.031450514,
0.025034187,
0.052908387,
0.003359367,
0.024929002,
0.047990955,
-0.026953826,
-0.04701799,
-0.012135795,
0.01702693,
0.006896235,
0.009736247,
-0.028426424,
0.022930473,
0.035815716,
0.008191333,
-0.005255996,
-0.06184917,
0.0022927187,
-0.054591358,
-0.0089868,
0.018105082,
-0.010189861,
-0.010978754,
-0.02449511,
-0.03160829,
-0.031581994,
-0.01898601,
0.022943622,
-0.014870622,
-0.020590093,
-0.05098875,
-0.005341459,
-0.06595141,
-0.040312406,
-0.026980123,
0.0026542945,
0.030793102,
0.012556538,
-0.0418113,
-0.00938782,
0.03102977,
0.029504577,
0.025520671,
0.027532347,
-0.04378353,
0.008230777,
-0.026953826,
0.00071616645,
-0.0038951566,
0.025336595,
0.021457875,
-0.045150943,
0.039944254,
0.0065017887,
-0.012346167,
-0.037919432,
0.0017240588,
0.019393606,
-0.033922374,
-0.03184496,
0.01592248,
0.006843642,
-0.04102241,
-0.047649104,
0.009907174,
0.01114968,
0.019853793,
0.021733986,
-0.04018092,
0.055117287,
0.029741244,
0.01672452,
-0.0010954101,
0.022036396,
0.013286264,
-0.0011989522,
0.030503841,
0.0052329865,
0.0120174615,
-0.028715685,
0.06584622,
0.056537293,
-0.036630906,
-0.002884388,
-0.0037077945,
-0.0030651758,
-0.038392767,
-0.00071246846,
0.010439677,
0.06332177,
-0.00810587,
0.022536028,
-0.040259812,
-0.0037801096,
-0.012753761,
0.006889661,
-0.048017252,
-0.043467972,
0.013976544,
-0.06489955,
0.027663829,
-0.055695806,
0.00050497334,
-0.0145419175,
0.020327128,
-0.01268802,
0.025270855,
0.020498056,
0.014515621,
0.037656467,
-0.05669507,
-0.019051753,
-0.000081816775,
-0.011530978,
-0.034316823,
-0.0278742,
0.005449932,
0.05222468,
0.014607659,
0.0008768211,
-0.037288316,
0.023061955,
-0.011721627,
0.029793838,
-0.026625121,
0.027847903,
-0.015961925,
0.035605345,
-0.015961925,
0.017960452,
-0.009184023,
0.04959504,
0.03528979,
0.010334491,
-0.012582835,
0.013831914,
0.0145419175,
-0.015751552,
0.054012835,
0.022614917,
0.031555697,
0.020208795,
-0.0070408653,
0.025757339,
0.06810772,
0.04291575,
0.0469391,
0.012208111,
0.030556435,
0.009861155,
-0.051909123,
-0.024679186,
0.038050912,
-0.0042238617,
-0.015462292,
0.029793838,
-0.0036354794,
-0.014791734,
0.014555066,
0.0026690862,
0.021168614,
-0.015291365,
-0.016093407,
-0.020524353,
-0.015804145,
0.07084254,
-0.023219734,
-0.067003265,
0.011839961,
-0.0113403285,
0.051751345,
0.010051805,
0.021799728,
0.018460084,
0.041706115,
0.05816767,
-0.0077640167,
0.029688653,
0.008861892,
0.033133484,
-0.021944359,
0.013305986,
-0.015541181,
-0.022141581,
-0.053145055,
-0.026756601,
-0.020037869,
0.028189756,
0.013910804,
-0.036315348,
0.051751345,
-0.024074368,
0.011425792,
-0.058956563,
-0.013582098,
-0.05711581,
0.004365205,
0.053565796,
-0.009236616,
-0.03279163,
0.027979385,
-0.026086044,
-0.009315505,
0.052645423,
0.05816767,
0.0138976555,
0.009111708,
0.018946568,
0.01760545,
0.012490797,
0.025349744,
-0.01738193,
-0.016303778,
0.04465131,
-0.023338068,
0.017289894,
-0.0045328443,
-0.068475865,
0.026927529,
0.038866103,
-0.02076102,
-0.025546968,
0.009440413,
0.024810668,
-0.050436523,
-0.004302751,
0.06058694,
-0.031581994,
-0.0052329865,
-0.012037184,
0.015186179,
-0.04459872,
-0.009571895,
-0.026125489,
0.01015699,
0.01635637,
-0.011412644,
-0.02172084,
-0.0337383,
0.026717158,
0.0038491378,
-0.010834123,
-0.020734724,
0.039707586,
-0.008309667,
0.0418113,
0.01928842,
-0.027085308,
-0.013430894,
0.026743455,
0.07063217,
0.016856002,
0.056747664,
0.043678347,
-0.022338804,
-0.0025754052,
-0.0031276299,
-0.008013832,
0.010334491,
-0.018867677,
0.0098019885,
-0.006324288,
-0.033580523,
-0.06205954,
0.0057260445,
0.041785,
0.010255602,
-0.041075,
-0.029399391,
0.017473968,
-0.046991695,
-0.031897552,
-0.058009893,
0.017132115,
-0.0021185048,
-0.020971391,
0.023719367,
-0.06758179,
0.19648682,
0.036341645,
0.043599457,
0.022601768,
-0.009105134,
0.04451983,
0.034159042,
-0.028373832,
-0.001747068,
-0.06842327,
0.027269382,
-0.011018198,
-0.009736247,
0.044072792,
0.010650048,
0.02199695,
-0.06489955,
-0.01936731,
0.016895447,
-0.01738193,
-0.037893135,
0.029846432,
-0.025494374,
0.008441149,
-0.002225334,
0.029373096,
0.027400864,
-0.017421374,
0.027295679,
0.012694594,
0.037577577,
-0.015067846,
0.043625753,
-0.035263494,
-0.028926056,
0.023640476,
0.0029451984,
-0.073314406,
0.02507363,
0.006159935,
0.015896183,
-0.020747872,
0.002115218,
-0.013345431,
-0.042337228,
0.017263597,
0.0051639583,
-0.02024824,
0.038997583,
-0.038787212,
0.01892027,
-0.0139371,
0.003931314,
-0.045650575,
-0.038392767,
-0.0004174556,
-0.015672663,
-0.06242769,
-0.01533081,
-0.014489325,
0.022404546,
0.012747187,
-0.024758074,
0.016527297,
-0.04783318,
-0.0028137164,
0.0067976234,
-0.0026756602,
-0.018723048,
-0.05098875,
0.016172295,
-0.010229305,
-0.014725992,
-0.02845272,
0.051225416,
0.0050883563,
0.0049272906,
0.028163461,
-0.000061837665,
-0.03660461,
-0.011386348,
-0.024508258,
-0.022259915,
-0.05858841,
0.015804145,
0.058956563,
-0.03820869,
0.016882299,
-0.019525088,
0.009479858,
-0.010834123,
0.05083097,
-0.011044494,
0.019051753,
-0.000078272926
] | If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
Dinov2Config
[[autodoc]] Dinov2Config
Dinov2Model
[[autodoc]] Dinov2Model
- forward
Dinov2ForImageClassification
[[autodoc]] Dinov2ForImageClassification
- forward |
[
0.017739905,
0.008545532,
-0.04120141,
-0.009400823,
0.0029474346,
-0.030377561,
-0.024169331,
-0.03294343,
-0.013765754,
0.03291394,
0.031144373,
-0.022812663,
0.06488411,
-0.04966584,
0.013043181,
-0.003579686,
-0.005268147,
-0.055063017,
-0.039520323,
-0.012268996,
0.0024405273,
-0.0076902416,
-0.06405831,
-0.021824656,
-0.048014242,
0.01576389,
0.051553376,
0.018226536,
0.09773906,
0.03589271,
0.010624773,
-0.042853005,
-0.02548176,
-0.052792072,
0.01345608,
-0.03164575,
0.017209036,
0.008508666,
-0.032235608,
-0.033798724,
0.015454216,
-0.028372053,
0.02862274,
-0.06806933,
-0.042764526,
-0.021072589,
-0.007977797,
-0.035214376,
-0.00045114732,
0.016545448,
-0.026764696,
-0.0044792155,
0.008272724,
0.001040542,
0.00078294106,
-0.029374806,
-0.015822874,
0.016958347,
-0.04193873,
-0.027428282,
0.01564592,
0.03494894,
0.0021142636,
-0.04822069,
-0.0028534262,
0.03099691,
0.01645697,
-0.019538965,
-0.043649312,
-0.028165603,
-0.02548176,
0.009054283,
-0.030200604,
-0.035686262,
-0.026528753,
0.018152805,
-0.007384254,
-0.011804484,
0.008641384,
0.008066275,
0.012615535,
0.034683507,
0.013330735,
-0.002759418,
-0.04639214,
-0.036482565,
0.03663003,
-0.022517735,
-0.0103077255,
-0.02049748,
0.02319607,
0.0147242695,
-0.012453325,
0.012962076,
0.035450317,
0.038399596,
-0.0036939704,
0.062465705,
0.0061750505,
0.011944575,
0.010543668,
0.07744803,
-0.034241114,
0.052172724,
-0.04034612,
0.010197128,
0.005625747,
-0.009437689,
0.0014460677,
-0.029581256,
0.006562143,
0.0018239439,
0.025216324,
-0.012320608,
0.004936354,
0.03079046,
-0.03120336,
0.0032626386,
-0.036895465,
-0.011996187,
0.00066496996,
0.0050211456,
-0.0017124244,
-0.016265268,
0.009975932,
-0.026278066,
0.024243062,
-0.009688377,
-0.051700838,
-0.023137083,
0.044622574,
-0.0019907625,
-0.016058818,
0.07213934,
0.0051280567,
-0.00923124,
0.0049511,
0.03766228,
0.015336244,
-0.04553685,
0.014340864,
0.0038119415,
0.011811857,
0.08027934,
-0.03238307,
0.017120557,
-0.0028497397,
-0.032206114,
-0.022208061,
-0.0020110388,
-0.009054283,
0.008036782,
-0.0028718591,
0.021013604,
-0.046923008,
0.0093565835,
-0.023328787,
0.008619265,
-0.00013145023,
0.0057510915,
-0.0011640431,
0.019878132,
-0.0698389,
0.00511331,
-0.023623714,
0.019760162,
-0.016501209,
-0.017017333,
0.020807154,
-0.044032715,
-0.013065301,
0.008936312,
-0.015454216,
0.01894911,
0.02527531,
0.009260732,
0.07296513,
0.020040343,
0.010071783,
-0.010580534,
0.024508499,
-0.029537017,
-0.003747426,
0.041378368,
-0.033090897,
-0.0017585069,
-0.013758381,
-0.013854233,
-0.020807154,
0.017282767,
0.0198044,
0.029433792,
0.0037621725,
0.016810883,
-0.03415264,
0.027015384,
0.016958347,
0.013817366,
-0.015454216,
-0.029640242,
0.008361203,
0.043472353,
-0.028283574,
0.006333574,
-0.045625325,
-0.004199034,
-0.00034654012,
0.023387773,
-0.010012798,
0.046746053,
0.025658717,
0.011273614,
0.004364931,
0.03515539,
0.074734695,
-0.027325058,
-0.011339973,
-0.01327175,
0.04300047,
0.017253274,
0.0050137723,
0.011900336,
0.01043307,
-0.018772153,
-0.0027686346,
-0.035184883,
0.053057507,
0.029537017,
0.015896607,
-0.005098564,
0.01906708,
0.00081427715,
0.026528753,
0.041112933,
0.022370271,
0.024302049,
0.060460195,
0.041230902,
0.040641047,
-0.016914109,
-0.03365126,
0.0029179417,
0.03247155,
0.041791268,
-0.010691131,
0.028814444,
-0.04916446,
-0.021632953,
-0.017017333,
-0.019583205,
-0.021691939,
0.06612281,
0.016235774,
0.008398068,
-0.07485267,
-0.038075175,
-0.0027133354,
0.02961075,
-0.004154795,
-0.023417266,
0.034359086,
0.009481928,
-0.024390528,
-0.017843131,
0.019951863,
0.021588713,
0.017710414,
0.03692496,
-0.019597951,
-0.039048437,
-0.03981525,
-0.07249325,
-0.101573125,
-0.034329593,
-0.019745415,
-0.020910379,
0.015011824,
-0.03438858,
0.007303149,
0.011450571,
-0.0063298875,
0.022517735,
-0.042823512,
0.008965804,
0.020350017,
-0.024361035,
-0.0432954,
0.048604097,
0.00025230148,
0.066830635,
0.023933388,
-0.027133355,
-0.018344508,
-0.014856987,
0.02352049,
-0.022650454,
0.012821985,
0.031321328,
-0.03598119,
0.03164575,
-0.014193399,
-0.0072589098,
-0.025511254,
0.0005133587,
-0.046598587,
-0.004958473,
0.001608278,
-0.033385824,
0.040051192,
0.029138865,
-0.035450317,
0.041378368,
0.0071040727,
0.031085387,
0.00671698,
0.024169331,
0.025879912,
-0.0033179375,
-0.027339805,
-0.019317769,
-0.022650454,
-0.024302049,
0.0052865804,
-0.020187806,
0.004493962,
0.05075707,
0.024552738,
-0.063350484,
0.027693719,
-0.051435404,
-0.061227005,
0.004018391,
0.027944406,
0.0294043,
0.026808934,
-0.0067833387,
-0.04479953,
0.027708465,
0.022842156,
0.02045324,
0.040700033,
-0.037927713,
-0.007948304,
0.06647672,
0.00027004324,
0.012092039,
0.004423917,
-0.044946995,
0.0052275946,
-0.010027545,
0.009540914,
0.050078735,
0.01698784,
-0.039343365,
0.0066063823,
0.029625496,
-0.011988814,
0.012003561,
0.009850588,
0.016486462,
0.029212596,
0.0743218,
-0.009666258,
0.014414595,
-0.017091064,
0.011885589,
0.020718677,
0.029271582,
0.02850477,
-0.031675242,
0.009739989,
-0.013854233,
-0.05364736,
0.0151592875,
0.008265351,
-0.018683674,
0.042735036,
0.0015723337,
0.03683648,
-0.018167552,
0.012128904,
0.025304804,
-0.0198044,
0.0034967375,
0.045153443,
0.0424696,
-0.027148101,
-0.036600538,
-0.010809103,
-0.02490665,
-0.017371247,
-0.019553712,
-0.04052308,
-0.007704988,
-0.017621934,
-0.054827075,
0.043354385,
0.019450488,
0.011096657,
0.012770372,
0.0959695,
-0.0075796437,
0.023048606,
0.012917836,
-0.030525025,
0.0010184224,
-0.039785758,
-0.0018709481,
-0.019878132,
0.004154795,
-0.018595196,
-0.03651206,
-0.054827075,
-0.008906819,
0.0034211623,
0.03373974,
0.006458918,
-0.006064452,
0.017282767,
0.036335103,
0.009282852,
0.0032792282,
-0.055564392,
0.047158953,
0.010927075,
-0.06541498,
0.016840376,
-0.042941485,
0.026115855,
0.050580114,
-0.029758213,
-0.0265435,
0.0041068695,
-0.022620961,
-0.016412731,
0.04662808,
0.03949083,
-0.029389553,
0.023063352,
-0.039195903,
0.0117454985,
0.0044902754,
-0.036600538,
-0.0068238913,
0.022620961,
-0.046923008,
-0.018713167,
0.03303191,
0.022797918,
-0.012770372,
0.036335103,
-0.047011487,
-0.0021068903,
-0.039903726,
-0.016928853,
-0.01398695,
-0.005434044,
-0.03916641,
0.008228485,
0.012903091,
-0.059162512,
-0.042705543,
0.016958347,
-0.007859825,
-0.082933694,
-0.002370482,
-0.0052128485,
0.019981356,
0.00830959,
-0.0060902587,
0.00084929983,
-0.012976822,
0.015070809,
-0.031409808,
0.015940847,
-0.036276117,
-0.0070229676,
-0.051877797,
-0.06211179,
0.008140007,
-0.02527531,
0.03565677,
0.015174034,
-0.03651206,
0.016604435,
-0.037219886,
-0.019244038,
0.016751898,
-0.061168022,
0.015233019,
-0.025909405,
0.00079768745,
0.021485489,
-0.017931608,
-0.021795163,
-0.0115906615,
-0.022502989,
-0.003048816,
0.01906708,
0.023019113,
0.05046214,
-0.03533235,
0.0071888645,
0.022370271,
-0.010477309,
0.028357306,
-0.041230902,
0.0049400404,
-0.011752872,
0.0018626533,
-0.017430231,
0.03135082,
-0.034329593,
-0.010366712,
-0.006252469,
-0.016221028,
-0.025127847,
-0.020748168,
-0.030289082,
0.013404467,
0.0023409892,
-0.046981994,
-0.0222523,
0.008140007,
0.0016091997,
0.0338872,
0.019420994,
-0.03491945,
-0.032442056,
-0.019081827,
0.05521048,
-0.022473497,
0.02527531,
-0.033857707,
0.008980551,
-0.045094457,
0.022104837,
0.007741854,
0.00076681224,
-0.042735036,
-0.025452267,
0.009599899,
-0.034241114,
-0.01927353,
-0.024847666,
0.030731475,
-0.023181323,
0.033061404,
0.006204543,
-0.001114274,
0.031822708,
-0.03025959,
0.037839234,
0.014156533,
-0.026351796,
-0.0047299042,
0.03288445,
-0.0034561849,
0.015129795,
0.0007889318,
-0.01151693,
0.02319607,
-0.03875351,
0.022163823,
-0.05246765,
0.015660664,
0.021293785,
0.0014921502,
0.082107894,
-0.027339805,
0.015174034,
-0.00054930296,
0.025850419,
0.017327007,
0.010049664,
0.0012147338,
-0.027619986,
-0.030760966,
-0.019774908,
0.009747363,
-0.020512227,
-0.024184078,
0.03288445,
0.024346288,
0.022547228,
-0.032677997,
0.034241114,
0.021706684,
0.00777872,
0.0017409956,
-0.033857707,
-0.0028571128,
0.028578501,
0.00798517,
-0.013116913,
-0.02527531,
-0.012313235,
-0.023962881,
-0.05406026,
-0.06865919,
-0.0045234547,
0.0030709354,
0.027944406,
-0.02781169,
0.040641047,
-0.0014976801,
-0.010927075,
-0.025245817,
0.03176372,
-0.0076386295,
-0.02033527,
0.039225396,
-0.00086035964,
0.033267852,
0.034447566,
-0.027487269,
-0.037101913,
-0.006167677,
0.036453072,
-0.037426334,
-0.01886063,
0.043059457,
0.011177762,
-0.027737956,
-0.04311844,
-0.0428825,
-0.000056047797,
0.022930635,
-0.02781169,
0.0011815544,
-0.007384254,
0.009002671,
-0.00549303,
0.0371609,
-0.013957457,
0.02298962,
0.01239434,
-0.012313235,
-0.07031078,
0.05043265,
0.0222523,
-0.0056810463,
-0.0020589645,
0.002562185,
-0.0027391417,
-0.021824656,
0.0045271413,
0.0035446633,
-0.039048437,
0.034447566,
0.029831944,
0.009577779,
0.055977292,
0.005865376,
-0.0010497585,
-0.0033345271,
-0.03565677,
-0.0800434,
-0.0035022674,
0.0029548076,
-0.023903897,
0.04211569,
-0.011634901,
0.0037418962,
-0.012954703,
0.033061404,
-0.0023373025,
-0.05700954,
-0.002877389,
-0.028637487,
0.0073547615,
0.004987966,
0.03612865,
-0.000680638,
0.057982802,
-0.020821901,
-0.04884004,
0.011170389,
0.002530849,
-0.01400907,
-0.025216324,
-0.05125845,
0.013198018,
-0.026396036,
-0.02515734,
0.0105141755,
-0.01723853,
0.007837705,
0.0074284934,
0.010396204,
0.047217935,
0.013057928,
0.034565534,
-0.02204585,
0.014407222,
-0.022517735,
0.03630561,
-0.039431844,
0.0018340821,
0.020674437,
0.03630561,
0.024596976,
-0.030495532,
-0.000038939685,
0.024891904,
0.009865334,
0.014768508,
-0.030407054,
0.03580423,
0.0062856483,
0.020615451,
-0.02993517,
0.045949746,
-0.08434934,
-0.021161068,
0.001206439,
-0.0066137556,
-0.022871649,
0.02209009,
0.023608968,
0.06529701,
0.0056884196,
0.061639905,
-0.01431137,
0.005950168,
0.029079879,
0.022679945,
-0.0049400404,
0.008862579,
-0.007867198,
-0.07532456,
-0.009821095,
0.04075902,
-0.030584011,
0.044946995,
0.010027545,
0.015188781,
-0.04011018,
-0.012600789,
0.03238307,
0.018093819,
0.046569098,
-0.0077934666,
-0.026366543,
-0.001327175,
-0.028032886,
-0.04712946,
-0.048279677,
-0.03949083,
0.032560028,
-0.03294343,
0.021736177,
-0.043029964,
-0.03079046,
-0.0022875336,
0.027826436,
0.034270607,
-0.014576806,
0.027207088,
0.003686597,
0.028681727,
-0.044622574,
-0.012659775,
-0.029699227,
0.014635791,
-0.046775546,
-0.010595281,
0.039844744,
0.078922674,
0.0009345524,
-0.036718506,
-0.06824629,
0.04863359,
0.015218274,
0.0059169885,
-0.055446424,
0.036895465,
-0.04058206,
-0.025584985,
-0.012984196,
-0.009673631,
0.028932415,
0.02324031,
-0.012350101,
-0.0056810463,
-0.027443029,
-0.0005253401,
0.011878217,
-0.02882919,
0.054119248,
-0.03079046,
0.017725158,
-0.022149077,
0.030377561,
-0.0067501594,
0.04418018,
0.028843937,
-0.005268147,
-0.07898166,
0.049223445,
0.0064736647,
0.003050659,
0.02442002,
0.07379093,
0.03663003,
-0.036187638,
0.030377561,
-0.04488801,
0.03009738,
-0.011030299,
-0.0033658633,
0.005065385,
0.009002671,
-0.01597034,
-0.0023723254,
-0.026410783,
0.009644139,
0.003598119,
-0.051110983,
-0.024803426,
0.023756433,
0.024036614,
0.028888175,
0.036246624,
0.0045603206,
0.012069919,
0.03453604,
0.013234884,
0.019553712,
-0.008184246,
0.023137083,
-0.012010934,
0.06488411,
-0.010691131,
-0.007170432,
0.0026727829,
-0.02331404,
-0.04990178,
0.011059792,
0.00583957,
-0.031793214,
0.005537269,
-0.023269802,
-0.007100386,
-0.03851757,
0.025850419,
-0.05276258,
-0.0032976612,
0.017843131,
-0.032766476,
-0.015867114,
0.021293785,
-0.028770205,
0.015078182,
0.058956064,
0.0526741,
-0.023343533,
0.10764864,
0.030731475,
0.034713,
0.053440914,
0.0014903069,
-0.020600704,
-0.02384491,
0.0008105906,
0.0076828687,
0.0025787747,
-0.019745415,
-0.071195565,
0.0023428325,
0.0066063823,
0.0088183405,
-0.008294844,
-0.015911354,
-0.045064963,
-0.039756265,
0.009083776,
0.0632915,
0.0051059374,
-0.002888449,
0.015498455,
-0.003327154,
-0.04916446,
-0.024036614,
-0.032736983,
0.022149077,
-0.0015151914,
-0.04789627,
0.015572187,
-0.055593885,
-0.005043265,
-0.022340778,
0.008825714,
-0.013544559,
0.013190645,
0.04568431,
0.034771986,
0.02993517,
-0.009010044,
-0.020246793,
0.046451125,
0.034771986,
0.03079046,
0.06877716,
0.023343533,
0.01804958,
0.006167677,
-0.02245875,
0.02180991,
-0.04577279,
-0.025570238,
-0.017503964,
0.022709439,
-0.055682365,
-0.04418018,
-0.014193399,
0.026631977,
0.029507523,
-0.013072674,
-0.035214376,
0.025776688,
-0.05382432,
0.00934921,
-0.020158313,
0.042528585,
-0.03438858,
-0.024243062,
0.0021861522,
-0.014510446,
0.25906456,
0.07709412,
0.06635875,
0.02335828,
0.039903726,
0.04544837,
0.058248237,
0.0012202637,
0.0034690879,
0.04320692,
-0.016162042,
0.0029879871,
-0.0013806307,
0.026985891,
-0.048604097,
0.04618569,
-0.028283574,
0.0068312646,
-0.03376923,
-0.05158287,
-0.047217935,
0.009341837,
-0.0030598757,
0.034093652,
0.008221112,
0.0039409725,
-0.0025271624,
0.017872624,
-0.014775882,
-0.03438858,
-0.016265268,
-0.026292812,
0.03854706,
-0.012527057,
-0.02384491,
0.016796136,
0.02372694,
-0.033149883,
-0.020467987,
0.003747426,
0.004711471,
-0.025879912,
-0.009732617,
-0.02686792,
-0.08033833,
0.022119584,
-0.008479173,
-0.025540745,
0.060460195,
-0.061168022,
0.04152583,
-0.030525025,
0.045802284,
-0.027133355,
-0.013647783,
0.051199462,
-0.05692106,
-0.027944406,
-0.024508499,
0.023505744,
0.026351796,
0.02841629,
0.005150176,
0.022606215,
0.0025400654,
0.049016997,
-0.033267852,
0.005050638,
-0.023166576,
-0.0055704485,
-0.0037455827,
0.0075575244,
0.0026819995,
-0.040375613,
0.027502015,
0.043147933,
-0.02319607,
0.030407054,
-0.010116023,
-0.022606215,
-0.0029972035,
-0.015586933,
0.032560028,
-0.020467987,
0.047925763,
0.035951696,
-0.032501042,
0.0063778134,
-0.000385019,
0.0469525,
0.023107592,
0.056655627,
0.03194068,
0.00934921,
0.00047649269
] |
UnivNet
Overview
The UnivNet model was proposed in UnivNet: A Neural Vocoder with Multi-Resolution Spectrogram Discriminators for High-Fidelity Waveform Generation by Won Jang, Dan Lim, Jaesam Yoon, Bongwan Kin, and Juntae Kim.
The UnivNet model is a generative adversarial network (GAN) trained to synthesize high fidelity speech waveforms. The UnivNet model shared in transformers is the generator, which maps a conditioning log-mel spectrogram and optional noise sequence to a speech waveform (e.g. a vocoder). Only the generator is required for inference. The discriminator used to train the generator is not implemented.
The abstract from the paper is the following:
Most neural vocoders employ band-limited mel-spectrograms to generate waveforms. If full-band spectral features are used as the input, the vocoder can be provided with as much acoustic information as possible. However, in some models employing full-band mel-spectrograms, an over-smoothing problem occurs as part of which non-sharp spectrograms are generated. To address this problem, we propose UnivNet, a neural vocoder that synthesizes high-fidelity waveforms in real time. Inspired by works in the field of voice activity detection, we added a multi-resolution spectrogram discriminator that employs multiple linear spectrogram magnitudes computed using various parameter sets. Using full-band mel-spectrograms as input, we expect to generate high-resolution signals by adding a discriminator that employs spectrograms of multiple resolutions as the input. In an evaluation on a dataset containing information on hundreds of speakers, UnivNet obtained the best objective and subjective results among competing models for both seen and unseen speakers. These results, including the best subjective score for text-to-speech, demonstrate the potential for fast adaptation to new speakers without a need for training from scratch.
Tips: |
[
0.0071680807,
0.024103737,
0.01145113,
0.0010225547,
-0.0022564807,
0.022205105,
-0.04693183,
-0.021463452,
-0.022323769,
0.05016544,
0.028449826,
-0.009641495,
0.04770315,
-0.06692681,
-0.04331256,
0.049305122,
-0.0044462127,
-0.061527573,
-0.02546838,
-0.028716821,
0.023213753,
-0.023124754,
-0.045834184,
-0.054407697,
-0.03571803,
0.0093893325,
0.006552508,
0.010212569,
0.077428624,
0.035925694,
0.00067768584,
-0.0468725,
-0.0000768886,
-0.015812052,
0.00063457724,
-0.03135711,
0.038506646,
0.014135915,
-0.030066632,
-0.019119825,
0.04354989,
0.00383064,
0.024949223,
-0.024489397,
0.0033912105,
-0.01739919,
-0.004950537,
0.013016018,
0.021048125,
-0.001179229,
-0.009211336,
-0.004338673,
-0.0020784838,
-0.017918348,
-0.022798426,
-0.0013303409,
0.0062410138,
-0.018541336,
-0.013105016,
-0.030096298,
0.03601469,
0.010813307,
0.008321351,
-0.031713102,
0.014729238,
0.036103692,
-0.02043997,
-0.017161861,
-0.040672276,
0.014135915,
-0.0391593,
0.027189016,
-0.0135351755,
-0.018393006,
-0.017369524,
0.009478332,
0.017577186,
-0.0040457197,
-0.018437505,
0.026684692,
0.01913466,
0.05262773,
0.034027062,
-0.015767552,
-0.018244674,
-0.05529768,
0.04004929,
-0.02184911,
-0.009344834,
0.006953001,
-0.010472147,
0.02769334,
-0.005836813,
-0.0025142052,
0.00010545385,
0.022575932,
0.019905979,
0.037883658,
0.017532688,
-0.0031390483,
0.018689668,
0.072207384,
-0.027559843,
-0.004093927,
-0.014128499,
0.0026384322,
0.018719334,
0.0023640203,
0.002234231,
-0.027174182,
-0.007817027,
-0.017443689,
0.022872593,
0.0053992374,
-0.042897236,
0.012341114,
0.010472147,
-0.0051248255,
-0.043223564,
0.02343625,
0.012422696,
0.0075500323,
0.04527053,
-0.018778665,
-0.014002417,
-0.036637682,
0.018630335,
-0.00068602944,
-0.040108617,
-0.014781154,
0.0065413835,
-0.010553729,
-0.018244674,
0.0525684,
0.022012275,
0.008847926,
0.008951757,
0.0111025525,
0.026076535,
-0.023124754,
0.040078953,
0.010464731,
-0.002219398,
0.07007142,
-0.051797077,
0.0093077505,
0.010071654,
0.007668697,
0.020840462,
-0.039040636,
-0.039544962,
-0.006359678,
0.009641495,
-0.018066678,
-0.011636543,
0.01808151,
-0.012533943,
-0.013431344,
-0.009915907,
0.013416511,
0.023347251,
0.024756392,
-0.058056634,
0.008291686,
-0.028731655,
0.020573467,
-0.005784897,
0.0042014667,
0.04055361,
-0.029977633,
0.034145724,
0.005035827,
0.028523993,
0.0024029573,
0.016316377,
0.013831837,
0.042214915,
0.022294102,
0.030244628,
-0.00061418174,
-0.0038083906,
0.007794778,
0.07007142,
0.006953001,
0.028256997,
0.0069455844,
0.0029369476,
0.020039476,
-0.020499302,
0.003096403,
0.03794299,
0.03634102,
0.0075834068,
0.0096340785,
-0.023362083,
0.00860318,
-0.032217424,
0.007817027,
0.007854111,
-0.047050495,
-0.024474565,
0.020380637,
-0.051381752,
0.024341067,
-0.021760112,
0.030407792,
0.0142694125,
0.04248191,
0.014825652,
0.04541886,
0.027470844,
0.04541886,
-0.018111177,
0.0205438,
0.020662466,
-0.032098763,
-0.003190964,
0.0066674645,
0.034857713,
0.041858923,
0.00042482838,
0.0012914041,
0.014781154,
-0.0061965147,
0.012556193,
-0.051233422,
0.002358458,
0.031624105,
0.026313866,
0.0029795927,
-0.035421368,
-0.0022509182,
-0.0071903304,
0.023569746,
0.02411857,
-0.0003501995,
0.040375613,
0.04248191,
-0.003622977,
0.024296567,
-0.016998697,
0.007972775,
0.032395422,
0.044825535,
-0.00410876,
-0.024370732,
-0.010590811,
-0.016390542,
-0.014632823,
-0.029903468,
-0.032781083,
0.077962615,
0.012066701,
0.0062818048,
-0.035391703,
-0.035273038,
0.021211289,
0.01782935,
-0.02043997,
-0.027545009,
0.026017204,
0.017117362,
-0.014847903,
-0.034620382,
0.002122983,
0.03248442,
-0.0011124802,
0.048652466,
-0.0045982515,
-0.024103737,
-0.029547473,
-0.05986627,
-0.075470656,
-0.007920859,
-0.0015027754,
-0.02899865,
0.041206267,
-0.037675995,
0.020054309,
0.0046019596,
-0.021448618,
0.00013558353,
0.0026959104,
0.05500102,
-0.0012960394,
-0.0016677933,
-0.098076254,
0.050580766,
0.009493165,
0.04823714,
0.013579675,
-0.015515391,
-0.012281781,
-0.04624951,
0.030971449,
-0.012081535,
0.0003057003,
0.021255787,
-0.018482003,
0.02474156,
-0.0063708033,
0.0054066535,
-0.035451036,
-0.05093676,
-0.02818283,
-0.021048125,
0.025913373,
-0.03272175,
0.038981307,
0.045537524,
-0.032514088,
0.022976425,
0.029784802,
0.043609224,
-0.0102719,
0.017280526,
0.02450423,
-0.026091369,
0.010946805,
-0.018882496,
-0.073038034,
-0.027812004,
0.017888682,
-0.01536706,
0.005910978,
0.06390086,
0.017265692,
-0.03826932,
0.014291662,
-0.049898446,
-0.03073412,
-0.025735375,
0.011310215,
0.03812099,
0.039930623,
0.014150748,
-0.078555934,
-0.032692086,
-0.010716893,
0.049987443,
0.013134683,
-0.031742766,
0.012444945,
0.043431226,
0.008061773,
0.011925788,
0.044973865,
-0.066155486,
-0.0011143343,
-0.009826908,
0.026566027,
0.014907234,
0.02957714,
-0.0068602944,
0.011243466,
0.039811958,
-0.047050495,
0.022338603,
0.008440017,
0.024949223,
0.008128522,
0.020647632,
0.015886217,
0.007242246,
-0.0041532596,
-0.0101235695,
0.028509159,
-0.011147051,
0.039989956,
-0.021967776,
-0.03841765,
-0.03408639,
-0.05369571,
0.010234818,
-0.011643959,
0.0048615383,
0.05900595,
-0.029102482,
0.029695805,
-0.04630884,
-0.030244628,
0.026580859,
0.00952283,
0.026744023,
0.0079282755,
0.02020264,
-0.022101274,
-0.00261062,
-0.010983888,
0.0014619844,
0.014506741,
-0.02948814,
-0.019713148,
-0.036103692,
-0.038358316,
-0.025186552,
0.008543848,
0.0674608,
0.0031316318,
0.0709614,
0.01812601,
-0.04277857,
0.03779466,
0.037527665,
-0.046724167,
-0.0043905885,
-0.045507856,
0.045745187,
-0.030244628,
0.012830605,
0.008766344,
0.011562377,
-0.03411606,
0.045448523,
0.012689691,
0.0061594318,
-0.026358364,
0.0025902246,
0.04141393,
0.016331209,
-0.008291686,
-0.012029619,
-0.046724167,
0.03408639,
0.011770041,
-0.075174,
0.019772481,
-0.053962704,
0.011770041,
0.0073201195,
-0.038862642,
-0.04616051,
-0.021834278,
-0.016168045,
-0.02923598,
0.04001962,
0.017265692,
-0.02000981,
0.010642727,
0.0068714195,
0.007824444,
-0.009285501,
-0.053013388,
-0.028776154,
-0.017147029,
-0.004245966,
-0.0071087484,
0.021418951,
-0.006800962,
-0.018422673,
0.0354807,
-0.024904722,
0.020217473,
-0.03426439,
0.0026680983,
0.0168207,
-0.0043646307,
-0.014721821,
0.023896074,
0.0096340785,
-0.04734716,
-0.0074462006,
0.00993074,
-0.007824444,
-0.07428401,
0.0066377986,
0.0104498975,
-0.010353482,
0.020069143,
0.024444899,
0.044054214,
-0.0042088833,
0.03702334,
-0.021967776,
-0.0010522208,
-0.02035097,
0.0336414,
-0.031772435,
-0.055742674,
0.035747696,
-0.0262842,
0.026981352,
-0.020870129,
-0.03841765,
-0.016835533,
-0.07689463,
-0.010724309,
0.025349716,
-0.04040528,
0.03595536,
-0.004731749,
-0.016850367,
0.0013257056,
-0.03580703,
0.0017224902,
-0.010716893,
-0.051055424,
0.0005432612,
0.064256854,
0.030333627,
0.034857713,
-0.029992465,
-0.0116662085,
0.05568334,
-0.011035804,
0.019653816,
-0.014899818,
-0.0047465824,
0.024637727,
-0.04280824,
-0.029606806,
0.015233562,
-0.013779921,
0.004231133,
-0.004913454,
0.01237078,
-0.0059962682,
-0.027915835,
-0.039248303,
0.0083881,
-0.016850367,
-0.0468725,
0.00035483483,
0.020261973,
0.0051062843,
0.011732957,
0.016079048,
-0.03826932,
-0.039663628,
-0.012771272,
0.079327255,
-0.018912163,
0.018541336,
-0.052420065,
-0.06060792,
-0.010613061,
-0.000756023,
-0.005744106,
-0.06526551,
-0.022338603,
-0.03411606,
0.015812052,
-0.054259367,
-0.028153164,
-0.01044248,
0.0077873613,
-0.021641448,
0.0485338,
0.030704454,
-0.032662418,
0.030526455,
0.007060541,
0.011918371,
0.0020321305,
-0.01855617,
-0.018912163,
-0.004939412,
0.032988746,
-0.008766344,
-0.025557378,
-0.005851646,
0.0335524,
-0.056632657,
0.014343577,
-0.041057937,
-0.01590105,
0.026833022,
0.00037152204,
0.083480515,
-0.07404668,
0.028049333,
0.014647656,
0.019920811,
-0.013067934,
0.02420757,
0.018882496,
-0.021255787,
-0.06259555,
-0.03494671,
0.015137147,
-0.045329858,
-0.030378126,
0.018200176,
-0.006508009,
0.06407886,
-0.026551194,
0.047732815,
0.025957871,
0.015122314,
0.00060583814,
-0.052449733,
0.029562308,
0.025957871,
-0.0029907175,
0.04455854,
-0.006530259,
-0.019119825,
-0.021018459,
-0.024281735,
-0.038358316,
0.003357836,
-0.023851575,
0.008024691,
0.016509205,
0.03764633,
-0.016553706,
-0.026758857,
-0.025498046,
0.037142005,
0.016509205,
0.017325025,
0.020855295,
0.019905979,
0.03625202,
0.041829254,
-0.030674787,
-0.045448523,
-0.020217473,
0.05161908,
-0.008291686,
-0.06040026,
0.008588347,
0.016168045,
-0.036519017,
-0.067816794,
-0.05253873,
-0.012200199,
-0.008521598,
-0.04601218,
-0.010420231,
-0.013579675,
-0.021033293,
-0.010694643,
0.03657835,
-0.014521575,
0.026684692,
0.0009632224,
-0.021151956,
-0.063663535,
0.053903375,
0.07036808,
-0.045122195,
-0.013105016,
-0.020083975,
-0.03930763,
-0.038981307,
0.026758857,
0.033137076,
-0.018393006,
0.038209986,
0.03823965,
-0.0125636095,
0.05847196,
0.0056810654,
0.04016795,
0.014143331,
-0.028583324,
-0.037853993,
-0.014632823,
0.041206267,
-0.022101274,
0.015352227,
0.0011634688,
-0.00012573344,
-0.001874529,
0.048682135,
-0.0035580825,
-0.087337114,
-0.0025123511,
-0.002484539,
-0.019104993,
-0.02189361,
-0.0044573373,
0.015871383,
0.038862642,
-0.024533896,
-0.025364548,
-0.019164326,
-0.003758329,
0.010746558,
-0.005013577,
-0.016998697,
-0.004676125,
-0.023080256,
-0.037853993,
-0.04334223,
-0.0149814,
-0.0062892213,
-0.029710637,
-0.0069418764,
0.016983865,
-0.05775997,
0.043965217,
-0.011925788,
0.0042904653,
-0.004553752,
0.02411857,
-0.03877364,
0.026269365,
-0.013216265,
0.03987129,
0.019742815,
-0.019683482,
0.030036965,
0.019179158,
0.0026384322,
0.006993792,
-0.00031473918,
0.055030685,
0.0074424925,
-0.021626614,
0.0035951652,
0.04248191,
-0.04891946,
0.011525295,
-0.015634054,
-0.015100065,
-0.0021730447,
0.015107481,
-0.021374453,
0.06277355,
0.02880582,
0.03687501,
-0.0036062899,
-0.016687203,
0.014506741,
0.017428856,
0.0035673531,
0.0065673413,
0.024177903,
-0.069122106,
0.013609341,
0.007364619,
-0.047584485,
0.006737922,
-0.026032036,
0.029621638,
-0.053043056,
0.0066526313,
0.032662418,
0.039930623,
-0.010524062,
-0.025394214,
0.0103683155,
0.01774035,
-0.037468333,
-0.0022379393,
-0.05369571,
-0.026551194,
0.022516599,
-0.035896026,
-0.015930716,
-0.046605505,
-0.008788593,
0.009663745,
0.03601469,
-0.0029925718,
0.025601877,
0.061705567,
0.0076909466,
0.050195105,
-0.05078843,
0.017710684,
-0.02938431,
0.012126034,
-0.040642608,
-0.03242509,
0.03619269,
0.06651148,
0.009337417,
-0.03877364,
-0.050966427,
0.010694643,
0.01909016,
0.006611841,
0.0062373057,
0.009982656,
-0.037913326,
0.023985073,
-0.008647679,
0.0062632635,
-0.013935668,
-0.0004086047,
0.046516504,
0.0047651236,
-0.012919603,
-0.0017187819,
0.0060370592,
-0.056484327,
0.018734166,
0.0041384264,
0.07636064,
-0.023317585,
0.0010151381,
-0.020514134,
0.022739096,
0.015767552,
0.008892425,
-0.015723053,
0.065087505,
-0.0050284103,
-0.02392574,
-0.025750209,
0.059806935,
0.0506401,
-0.047228493,
0.034768716,
-0.037735328,
-0.009708243,
-0.024608063,
-0.0053621545,
-0.00041022708,
-0.0031575896,
-0.014566074,
-0.03862531,
-0.012489445,
0.017028363,
-0.007742862,
-0.031060446,
-0.030823117,
0.018318841,
0.07671663,
0.037587,
0.012296614,
0.0077873613,
0.019846646,
0.05636566,
-0.017443689,
0.029117314,
-0.038595647,
0.03895164,
-0.01909016,
0.049275454,
-0.0036285396,
-0.008610597,
-0.03826932,
-0.038031988,
-0.012778689,
0.0016752097,
-0.017651353,
-0.00054557883,
-0.010524062,
0.011681042,
-0.00196909,
-0.044202548,
0.030214962,
-0.07725062,
0.002371437,
0.03909997,
-0.032840416,
-0.044825535,
0.054645028,
-0.01575272,
0.006552508,
0.05669199,
0.06271422,
-0.022056773,
0.10484013,
0.0065784664,
-0.004019762,
0.027752673,
0.03634102,
-0.022457266,
-0.009344834,
-0.013490676,
-0.012660025,
-0.0021878777,
-0.018096345,
0.00505066,
-0.038506646,
-0.013861503,
-0.00012666051,
-0.031060446,
-0.023866408,
-0.016835533,
-0.05897628,
-0.0017391774,
0.051737744,
0.013505509,
-0.016375707,
0.0104498975,
-0.0168207,
-0.04316423,
-0.015307727,
-0.009426416,
-0.018437505,
-0.03030396,
-0.028019669,
-0.019371988,
-0.038595647,
-0.012355947,
-0.009626661,
-0.018496837,
-0.0044165463,
0.040078953,
0.011807123,
0.07754728,
0.033374406,
-0.01889733,
0.030852783,
0.024578396,
0.03295908,
0.009278085,
0.039396632,
0.045893516,
0.00022261192,
-0.025112387,
-0.0035766237,
0.013601924,
-0.023287918,
-0.013505509,
-0.008751511,
-0.004761415,
-0.04527053,
-0.043757554,
-0.041888587,
-0.007861527,
0.011465962,
0.019164326,
-0.016123546,
0.0354807,
-0.05939161,
0.0044054217,
-0.02262043,
0.0149814,
-0.0056958986,
-0.0042237164,
-0.03972296,
-0.024088904,
0.26248598,
0.099440895,
0.057344645,
-0.022946758,
0.05331005,
0.055446014,
0.0101235695,
-0.036786012,
-0.01667237,
-0.012689691,
-0.034323722,
-0.00993074,
0.02681819,
0.022101274,
-0.0018902892,
0.020187806,
-0.039515298,
-0.025616711,
0.0119109545,
-0.043223564,
-0.04171059,
0.030971449,
-0.008395517,
0.022753928,
0.002829408,
0.036667347,
0.0070457077,
0.01251911,
-0.005540151,
-0.010420231,
0.0059888517,
-0.017517855,
0.017117362,
-0.029191481,
-0.010739142,
0.024726726,
0.003368961,
-0.031446107,
-0.005536443,
-0.04156226,
0.06852878,
-0.016153213,
-0.03634102,
-0.005647691,
-0.05369571,
0.01966865,
0.004316423,
0.02861299,
0.08757444,
-0.060874917,
0.038595647,
-0.020944294,
0.03195043,
0.0088256765,
-0.053132053,
0.0034357097,
-0.02793067,
-0.031920765,
-0.010034571,
0.023985073,
0.0067712963,
0.010308983,
-0.015767552,
0.0003515901,
-0.034531385,
0.041502926,
-0.031742766,
0.00080793875,
-0.016909698,
0.00524349,
-0.020143308,
-0.0048355805,
-0.0052657397,
-0.014825652,
0.01292702,
0.030437458,
-0.00065404567,
0.029947966,
-0.024593228,
-0.029072816,
-0.00918167,
-0.024044406,
0.026669858,
-0.027040685,
0.022842927,
0.050284103,
-0.029102482,
0.0038120989,
-0.023035757,
0.03408639,
0.03310741,
0.074165344,
0.0021470867,
0.011740374,
0.011695875
] |
The noise_sequence argument for [UnivNetModel.forward] should be standard Gaussian noise (such as from torch.randn) of shape ([batch_size], noise_length, model.config.model_in_channels), where noise_length should match the length dimension (dimension 1) of the input_features argument. If not supplied, it will be randomly generated; a torch.Generator can be supplied to the generator argument so that the forward pass can be reproduced. (Note that [UnivNetFeatureExtractor] will return generated noise by default, so it shouldn't be necessary to generate noise_sequence manually.)
Padding added by [UnivNetFeatureExtractor] can be removed from the [UnivNetModel] output through the [UnivNetFeatureExtractor.batch_decode] method, as shown in the usage example below.
Padding the end of each waveform with silence can reduce artifacts at the end of the generated audio sample. This can be done by supplying pad_end = True to [UnivNetFeatureExtractor.__call__]. See this issue for more details. |
[
0.0010727543,
0.02162285,
-0.021071093,
-0.010520634,
-0.017014945,
0.018700037,
-0.0373106,
-0.027214965,
0.0046340004,
0.04563167,
0.0138311675,
-0.037340425,
0.0569352,
-0.060603626,
-0.007657471,
0.053415895,
-0.01491231,
-0.060454503,
-0.04912115,
-0.042052712,
-0.005733783,
-0.007836419,
-0.054966774,
-0.050403606,
-0.01937109,
0.01943074,
0.020907057,
0.007881156,
0.070326455,
0.035521124,
-0.007403962,
-0.017193893,
-0.029168477,
-0.05812818,
0.037340425,
-0.035819367,
0.0334334,
-0.003962946,
-0.033940416,
-0.025201803,
0.013353974,
0.03385094,
0.03823516,
-0.0451843,
-0.028005317,
-0.0068261097,
0.005256589,
-0.0052826856,
0.012250463,
0.014688625,
-0.0020373943,
0.008149577,
0.018685125,
-0.009849581,
-0.015113626,
-0.036236912,
0.003756038,
-0.00548773,
-0.01729828,
-0.014770643,
0.009312738,
0.020832498,
0.001396165,
-0.0235018,
-0.009118877,
0.047093075,
-0.023337765,
-0.02815444,
-0.030048303,
-0.009968879,
-0.025157066,
0.027140403,
-0.038145687,
-0.037161477,
-0.02305443,
0.028706197,
0.009901774,
-0.017879859,
-0.005774792,
0.041038677,
0.02214478,
0.037728142,
0.019326353,
-0.0024362986,
0.004179175,
-0.0121162515,
0.053415895,
-0.03725095,
-0.019982494,
-0.021071093,
-0.00424628,
0.046138685,
-0.017835122,
0.0072585666,
0.017059682,
-0.0022703991,
-0.0037373977,
0.017864946,
-0.00034414814,
-0.00674782,
0.026886895,
0.09955458,
-0.034119364,
0.0068111974,
-0.0054653618,
0.013249587,
0.0015657925,
-0.0029414531,
-0.041217625,
-0.010095634,
0.0035957308,
0.0030141505,
0.037131652,
-0.0009073208,
0.00038352597,
0.00703861,
-0.029779883,
-0.002408338,
-0.029034266,
-0.0010736863,
-0.007888612,
0.0008406815,
0.006102863,
-0.048822902,
0.018222842,
-0.062154505,
-0.0055287387,
0.019162318,
-0.028512336,
-0.0035864105,
0.0010764824,
0.01892372,
0.013726781,
0.04843518,
0.022219341,
0.0013337197,
-0.015792135,
-0.0255597,
0.011825462,
-0.02278601,
0.013353974,
-0.0046750093,
0.00424628,
0.0745019,
-0.023665836,
-0.021637762,
0.0038958408,
-0.030749183,
-0.010848706,
0.012146076,
-0.055950988,
-0.008410542,
-0.020668462,
-0.00221075,
-0.037280776,
0.0070236977,
-0.029973743,
0.018118456,
-0.016686875,
0.030629884,
-0.00971537,
-0.00051680475,
-0.053565018,
0.03310533,
-0.0017251679,
0.013771518,
-0.0018071856,
-0.015113626,
0.018685125,
-0.026812334,
0.011795637,
-0.009260545,
0.013197394,
0.018670212,
0.027572861,
0.011870199,
0.032300062,
0.005580932,
-0.008462735,
-0.021801798,
-0.010371512,
-0.024351802,
0.035133403,
-0.0032322432,
-0.031136902,
0.015866697,
-0.012675463,
0.0058120727,
-0.038652707,
0.033164978,
0.043215875,
0.05824748,
-0.025813209,
-0.007806594,
-0.056786075,
-0.00791098,
-0.025350926,
0.017924596,
-0.026126366,
-0.038622882,
-0.014084676,
0.03978604,
-0.016895646,
0.005551107,
-0.0043581226,
0.019579863,
0.029705321,
0.053863265,
0.003944306,
0.04798781,
0.051477294,
0.0413071,
-0.020027231,
0.008895193,
0.039219376,
-0.0054019843,
0.002978734,
0.01052809,
0.030436024,
0.0013243995,
0.021279866,
-0.0026618473,
0.042022888,
-0.0022275262,
0.010468441,
-0.014651344,
-0.008082472,
0.064480826,
0.058396604,
0.003944306,
0.0013122832,
0.04363342,
0.009007035,
0.035073753,
0.014353098,
0.025022855,
0.015262749,
0.037072003,
0.023800047,
0.0046004476,
-0.009208351,
0.020474602,
-0.0066546183,
0.046377283,
-0.021652674,
-0.01917723,
-0.020683374,
-0.010803969,
-0.03492463,
0.02053425,
-0.05249133,
0.06782118,
-0.0035733622,
0.012899148,
-0.04739132,
-0.040501833,
0.025410576,
0.020236004,
-0.0058978186,
-0.02769216,
0.036147438,
0.039547447,
-0.034238663,
-0.002065355,
0.019386003,
0.020907057,
-0.008857912,
0.028512336,
-0.00013071572,
-0.012653095,
-0.040143937,
-0.054579053,
-0.104445815,
-0.0017372841,
-0.026364964,
-0.012220638,
0.0009730282,
-0.030525498,
0.018849159,
-0.00053637713,
0.0017671087,
0.0007101988,
-0.008142121,
0.035521124,
0.02324829,
0.022950044,
-0.0529387,
0.030257076,
-0.0020318022,
0.04816676,
-0.017119331,
-0.030450936,
-0.006203521,
-0.03197199,
0.011825462,
0.012608358,
-0.0151061695,
-0.010475897,
0.02330794,
0.016120207,
-0.012861867,
-0.00079594454,
-0.043335173,
-0.0066620745,
-0.023322852,
0.003608779,
0.018953545,
-0.030957956,
0.02815444,
0.025425488,
-0.028079879,
0.0150614325,
0.027781634,
0.01093818,
-0.019639513,
0.04080008,
0.039547447,
-0.006639706,
-0.03641586,
-0.02214478,
-0.04330535,
-0.012690376,
-0.026737772,
0.0016021413,
-0.014673713,
0.06579311,
-0.026678123,
-0.05759134,
0.02891497,
-0.06012643,
-0.008388175,
-0.03104743,
0.008224139,
0.03698253,
0.027990406,
0.012846955,
-0.07742471,
0.00897721,
-0.016955296,
0.02860181,
-0.0009534558,
-0.051149223,
0.0068223816,
0.05144747,
0.0049918955,
0.0025406848,
0.019788636,
-0.05326677,
-0.002551869,
-0.018431615,
0.026901808,
-0.0027587772,
0.010498266,
0.0040151393,
0.0005196008,
0.03784744,
-0.044647455,
0.02299478,
0.035670243,
0.036505334,
0.056965023,
0.02866146,
0.011601777,
-0.0041530784,
-0.02020618,
0.003137177,
0.018878983,
0.020951794,
0.034715857,
-0.064659774,
0.014121957,
-0.00035789545,
-0.035342176,
-0.0036907967,
0.020608813,
-0.0077544013,
0.043484297,
0.023591274,
-0.006196065,
-0.02718514,
-0.03737025,
0.012280287,
-0.0071429964,
0.036266737,
0.011862743,
0.035372,
-0.004380491,
-0.009178527,
-0.027110578,
-0.040710606,
-0.0059723803,
0.013741693,
0.0033068047,
-0.025231628,
-0.034000065,
-0.02575356,
-0.0023263204,
0.026126366,
0.051656242,
0.042977277,
0.073189616,
0.001968425,
0.021130743,
0.041724645,
-0.05132817,
-0.022129867,
-0.018282492,
0.0284676,
-0.0029507733,
0.008388175,
-0.0091710705,
-0.025813209,
-0.064540476,
0.032747433,
0.0196246,
0.022383377,
-0.014450029,
0.0014502221,
-0.02666321,
0.006751548,
-0.018103544,
-0.045363247,
-0.06961066,
0.02821409,
0.02065355,
-0.03164392,
0.012727656,
-0.07593348,
-0.005968652,
0.016731612,
-0.025589524,
-0.050463255,
0.007955717,
0.0022815834,
-0.04390184,
0.0334334,
0.030436024,
-0.0016478102,
0.009223264,
-0.040591307,
-0.015173275,
-0.0024922197,
-0.042589556,
-0.028050054,
0.0041642627,
-0.009707914,
-0.012272831,
0.0058008884,
-0.012884236,
0.01665705,
0.02815444,
-0.039994814,
0.032747433,
-0.034507085,
0.016105294,
-0.0049210624,
-0.023084255,
0.00029102305,
0.011989497,
0.059619416,
-0.06125977,
0.0054728175,
0.058008887,
-0.015389504,
-0.08744579,
0.014218887,
0.030212339,
-0.0017671087,
0.035670243,
0.024754435,
0.02976497,
0.027110578,
-0.0098123,
-0.03065971,
-0.022935132,
-0.04804746,
0.004779395,
-0.011489934,
-0.013883361,
0.033880766,
-0.027572861,
0.03391059,
0.003562178,
-0.02014653,
0.018446527,
-0.07378611,
-0.004283561,
0.01601582,
-0.034954455,
0.008954842,
-0.018804424,
-0.01330178,
0.012310112,
-0.042022888,
0.00082996325,
-0.0121162515,
-0.028631635,
0.0026264305,
0.07205628,
0.016284242,
-0.00021145189,
-0.066389605,
-0.025470225,
0.03823516,
-0.007918436,
0.03408954,
-0.0057561514,
-0.02020618,
0.032389536,
-0.03692288,
-0.010028528,
0.033224627,
-0.019878108,
0.0052379486,
-0.017969333,
-0.008149577,
-0.014591695,
-0.030689534,
-0.044140436,
0.015836872,
-0.026394788,
-0.0335527,
-0.00791098,
0.030957956,
0.009536422,
0.041396573,
0.023337765,
-0.03918955,
-0.041873764,
-0.04085973,
0.07981068,
-0.045721143,
0.021026356,
-0.03531235,
-0.06883522,
-0.021727236,
0.023218466,
-0.018058807,
-0.053803615,
-0.009991247,
-0.03209129,
-0.011340812,
-0.036505334,
-0.02117548,
0.001970289,
0.016194768,
-0.00692304,
0.02175706,
-0.017313192,
0.006841022,
0.0031949624,
-0.005155931,
0.02524654,
-0.004126982,
-0.020042144,
0.0057076868,
0.0057524233,
0.016403541,
0.010565371,
-0.00091291295,
0.009886862,
0.017581614,
-0.041157976,
0.01995267,
-0.059798364,
-0.012809674,
0.017268455,
0.011050021,
0.07366681,
-0.05469835,
0.017671088,
0.002167877,
0.040114112,
0.0119820405,
0.06471942,
-0.01549389,
-0.025425488,
-0.06388433,
-0.060543977,
0.033254452,
-0.0010159011,
-0.006199793,
0.016254418,
0.020191267,
0.043275524,
-0.03969657,
0.013696956,
0.018804424,
0.035700068,
-0.015314942,
-0.04667553,
0.041038677,
0.026886895,
0.0053162384,
-0.006483127,
-0.0062818103,
-0.03698253,
0.023382502,
-0.012645639,
-0.029257951,
-0.005062729,
-0.015866697,
0.018476352,
-0.0027662334,
0.02697637,
-0.00874607,
-0.016671963,
-0.042321134,
-0.0053311507,
0.035938665,
0.016746525,
0.005715143,
0.008798263,
0.037072003,
0.045333423,
-0.028169353,
-0.038772006,
0.0063675563,
0.051477294,
-0.025336014,
-0.02330794,
0.016418453,
0.02596233,
-0.060156256,
-0.05105975,
-0.03564042,
-0.013570202,
0.000050853305,
-0.024172854,
0.0086864205,
0.010080721,
-0.015449153,
-0.0035081208,
0.05192466,
0.0052752295,
0.005014264,
0.010654845,
-0.0017913412,
-0.060156256,
0.029451812,
0.02685707,
-0.04694395,
-0.036654457,
-0.012951341,
-0.01568775,
-0.044647455,
0.022577237,
0.025843034,
-0.011803093,
0.026454438,
0.038831655,
0.008962298,
0.06621066,
0.028586898,
0.03209129,
0.008865369,
-0.026737772,
-0.072473824,
0.005103738,
0.011698707,
-0.009998703,
0.0071541807,
-0.03170357,
0.012325024,
0.010140371,
0.052908875,
0.013063183,
-0.0827335,
0.012675463,
-0.006684443,
-0.0019292801,
0.039487798,
0.006307907,
-0.00023347086,
0.04563167,
-0.004704834,
-0.05788959,
0.012362305,
0.0045631668,
-0.009543878,
0.010856162,
-0.056279056,
0.01652284,
-0.038622882,
-0.0023561448,
-0.03963692,
0.013055727,
-0.0015583364,
0.007687296,
-0.013719325,
0.007881156,
0.0038287356,
0.042022888,
-0.011862743,
0.022129867,
-0.015762312,
0.02608163,
-0.013719325,
0.003705709,
-0.02530619,
0.036624633,
0.04434921,
-0.029093916,
0.012899148,
0.015598276,
-0.018103544,
-0.0013299916,
-0.010707038,
0.031882517,
-0.0038660164,
0.004328298,
-0.017283367,
0.011683795,
-0.06108082,
-0.0073443125,
-0.027006192,
-0.029839532,
0.045542195,
0.02906409,
-0.018416703,
0.05520537,
-0.0021305962,
0.058158007,
-0.0070087854,
0.021667587,
-0.002891124,
0.024381626,
0.034745682,
-0.0073033036,
-0.027766721,
-0.009760107,
0.0072921193,
0.019057931,
-0.016627226,
0.02602198,
-0.020385128,
0.007642559,
-0.012899148,
-0.0034689761,
0.04610886,
0.060931697,
0.023352677,
-0.049807116,
0.0027420009,
-0.02782637,
-0.042917628,
-0.017104419,
-0.056786075,
-0.025828121,
0.03265796,
-0.07390541,
0.012735113,
-0.026827246,
-0.009842125,
-0.01685091,
0.047272023,
-0.02175706,
0.022860572,
0.014196519,
-0.011758356,
0.0062780823,
-0.025350926,
0.013823711,
-0.014084676,
0.011400461,
-0.033224627,
-0.006934224,
0.0052043963,
0.086789645,
0.020385128,
-0.03304568,
-0.057740465,
-0.0006677919,
0.0021548287,
0.0021827894,
-0.010132914,
-0.01685091,
-0.018685125,
-0.007970629,
-0.04235096,
0.008716245,
0.01646319,
-0.010125458,
0.012287743,
0.016135119,
-0.035133403,
0.01652284,
-0.0034857525,
0.00907414,
0.0008993987,
0.021220217,
0.024008818,
-0.0053721596,
-0.0020355303,
0.0063675563,
0.04479658,
0.025321102,
0.0013775246,
-0.04223166,
0.02472461,
0.0015760447,
-0.010945635,
-0.046436932,
0.050343957,
0.041754466,
-0.02672286,
0.045422897,
-0.029600935,
-0.023009693,
0.023471976,
-0.0044326843,
0.06328784,
0.017984245,
-0.010572827,
0.011251338,
-0.010468441,
-0.001681363,
-0.0013812527,
-0.050254483,
0.0000840565,
0.024366714,
0.036117613,
-0.0003707107,
0.048822902,
-0.009670633,
0.05842643,
0.047480796,
0.0018836111,
0.006155056,
-0.014218887,
0.056219406,
-0.005711415,
0.03164392,
-0.036505334,
0.009208351,
-0.022070218,
-0.018297404,
-0.029451812,
0.018178105,
0.023844784,
-0.009372387,
-0.0057524233,
-0.0134807285,
-0.014300905,
-0.050463255,
0.02621584,
-0.06901417,
0.003899569,
0.027080754,
-0.02084741,
-0.020907057,
0.031614095,
-0.019192142,
0.0022443025,
-0.012541252,
0.096572116,
0.013778974,
0.089712456,
0.016567577,
-0.0016925471,
0.0236211,
0.021652674,
-0.03215094,
-0.024351802,
0.00500308,
0.010639933,
0.017328104,
-0.02214478,
-0.060335204,
-0.0026711675,
-0.00004339715,
-0.019505301,
-0.040889554,
-0.0025444129,
-0.03555095,
-0.047779042,
0.023442151,
0.08368788,
0.040442184,
-0.0012610222,
-0.012339937,
-0.014509677,
-0.07670892,
-0.02427724,
-0.012347393,
0.055950988,
-0.027990406,
-0.046257984,
0.0026842158,
-0.03892113,
-0.02478426,
0.00955879,
-0.000041562238,
0.013189938,
0.01729828,
0.010222388,
0.055026423,
0.005006808,
-0.03054041,
-0.008723701,
0.034507085,
0.032807082,
0.030078128,
0.08476157,
0.037161477,
-0.021414077,
-0.022950044,
-0.009700458,
0.011564496,
-0.035103578,
-0.037519373,
-0.0048837815,
0.013182482,
-0.07169838,
-0.06036503,
-0.034745682,
0.0026637113,
-0.0001443465,
-0.0009539218,
-0.02466496,
0.033254452,
-0.075456284,
-0.012325024,
-0.003280708,
0.015643014,
-0.008045191,
-0.0111916885,
-0.0014026891,
-0.032180764,
0.26531982,
0.064659774,
0.055593092,
0.0006151328,
0.025768472,
0.075158045,
0.03584919,
-0.028557073,
-0.005305054,
-0.020951794,
-0.030212339,
-0.03265796,
0.016343892,
0.031136902,
-0.035610598,
0.052670278,
-0.036147438,
-0.0012405178,
0.009350019,
-0.0294369,
-0.050343957,
0.01923688,
0.0041232537,
0.05171589,
0.023009693,
0.016478103,
0.024515837,
-0.015314942,
0.022756185,
-0.030868482,
-0.011109671,
-0.0026021982,
0.017969333,
0.0003131585,
0.023576362,
0.015404416,
0.012190813,
-0.018073719,
-0.003951762,
-0.0113706365,
0.016030733,
-0.031136902,
-0.005137291,
0.0017363521,
-0.058217656,
0.018878983,
-0.0015946851,
0.03441761,
0.09418615,
-0.059887838,
0.032508835,
-0.04041236,
0.02272636,
-0.044379033,
-0.026812334,
0.0012591581,
-0.08231595,
-0.027364088,
-0.013898273,
0.020444777,
0.00907414,
0.027468475,
-0.010647389,
0.020474602,
-0.022264078,
-0.0013253315,
-0.045661494,
0.039279025,
-0.03480533,
0.010475897,
0.007452427,
-0.015926346,
-0.0017466043,
-0.043454472,
0.024038643,
0.052670278,
-0.012310112,
0.045303598,
-0.0393685,
-0.028810583,
0.00061653083,
-0.010632477,
0.049866766,
-0.010110546,
0.012034234,
0.038264986,
-0.037340425,
0.0041195257,
-0.012936429,
0.006691899,
0.034894805,
0.056129932,
0.026558824,
0.008865369,
0.028333388
] |
Usage Example:
thon
import torch
from scipy.io.wavfile import write
from datasets import Audio, load_dataset
from transformers import UnivNetFeatureExtractor, UnivNetModel
model_id_or_path = "dg845/univnet-dev"
model = UnivNetModel.from_pretrained(model_id_or_path)
feature_extractor = UnivNetFeatureExtractor.from_pretrained(model_id_or_path)
ds = load_dataset("hf-internal-testing/librispeech_asr_dummy", "clean", split="validation")
Resample the audio to the model and feature extractor's sampling rate.
ds = ds.cast_column("audio", Audio(sampling_rate=feature_extractor.sampling_rate))
Pad the end of the converted waveforms to reduce artifacts at the end of the output audio samples.
inputs = feature_extractor(
ds[0]["audio"]["array"], sampling_rate=ds[0]["audio"]["sampling_rate"], pad_end=True, return_tensors="pt"
)
with torch.no_grad():
audio = model(**inputs)
Remove the extra padding at the end of the output.
audio = feature_extractor.batch_decode(**audio)[0]
Convert to wav file
write("sample_audio.wav", feature_extractor.sampling_rate, audio) |
[
0.019270357,
-0.034437522,
-0.040504385,
0.0035408365,
-0.026934538,
0.014925368,
-0.017878203,
0.0002667534,
0.0024087946,
0.06629589,
0.019109162,
0.0027971326,
0.066354506,
-0.04144226,
-0.022948578,
0.04267322,
0.01379699,
-0.040533695,
-0.03068603,
0.0064222314,
0.043933485,
-0.023153737,
-0.08352931,
-0.026714724,
-0.031418744,
0.032503158,
0.0054513863,
0.0008646016,
0.07391611,
0.060434185,
-0.024721744,
-0.028092224,
-0.018552298,
-0.016749823,
-0.013291418,
-0.04419726,
0.011049315,
-0.004498859,
-0.016251579,
-0.048915934,
0.020955598,
0.0014123047,
0.031946298,
-0.038980342,
-0.02264084,
0.007286833,
-0.012785845,
-0.0014068093,
0.022875307,
-0.021541769,
-0.0068252236,
0.013034968,
0.00042062317,
-0.021644348,
-0.021424534,
-0.033206563,
-0.015064584,
0.00986232,
-0.042116355,
-0.000995574,
0.049853805,
0.021849507,
0.0068911677,
-0.059467003,
0.008858503,
0.052257106,
-0.014786153,
-0.027095735,
-0.013738372,
-0.00025896833,
-0.025908738,
0.037280448,
-0.012873772,
-0.032122146,
-0.018816076,
0.053429447,
0.026626797,
0.022230519,
-0.014112056,
0.031594593,
0.01006748,
0.037163213,
0.02299254,
-0.008851175,
-0.022113284,
-0.056506842,
0.019079853,
-0.017819585,
-0.03722183,
-0.007554273,
-0.0032715646,
0.027403474,
-0.0012740052,
0.023534749,
0.027330203,
0.008638688,
-0.011144568,
0.021395225,
0.01972464,
0.0076202173,
0.03804247,
0.061254825,
-0.009920937,
-0.009767068,
-0.067351,
0.00524989,
0.019285012,
-0.053458758,
-0.011488943,
-0.04601439,
0.0072904965,
0.023183046,
-0.024414005,
-0.0074773384,
-0.009796375,
0.0022897287,
-0.022259828,
-0.022875307,
-0.029132677,
0.0050850296,
0.03824763,
0.03045156,
-0.0032880506,
-0.016603282,
0.0014635946,
-0.05460179,
0.04686434,
0.030773954,
-0.018435065,
-0.047303963,
-0.015577483,
-0.028663741,
-0.03285486,
0.079836436,
-0.002135859,
-0.021351263,
0.029674886,
-0.008924447,
0.02636302,
-0.011738066,
0.017335994,
-0.0017182125,
0.022171902,
0.0848775,
-0.013100912,
0.004671047,
-0.016412776,
-0.010873464,
-0.042966302,
0.0063013337,
-0.027344856,
-0.024238152,
-0.027945682,
-0.018479027,
0.008140444,
0.023021849,
-0.002846591,
0.025864776,
0.0064625307,
0.040914707,
0.010895446,
0.022479642,
-0.032385923,
0.02958696,
-0.037192523,
0.016310196,
-0.023227008,
-0.023227008,
0.016383467,
-0.04188189,
0.021321954,
-0.012236311,
0.0018775776,
0.035521936,
0.040094066,
0.021644348,
0.041706037,
0.00603023,
0.01006748,
0.0011100605,
-0.023886451,
-0.016368814,
0.031565286,
0.016354159,
-0.013980168,
0.0048762066,
0.011884608,
-0.013320726,
-0.030187784,
0.012719901,
0.008499473,
0.0074736746,
0.0031012087,
0.027887065,
-0.0051436466,
0.03168252,
-0.03903896,
-0.0028722358,
-0.0061731087,
-0.025117408,
-0.016412776,
0.057884343,
-0.034965076,
0.012617322,
-0.021673657,
-0.01463961,
-0.02848789,
0.00634896,
-0.011093278,
-0.0038907072,
0.07725728,
-0.0064295586,
-0.04959003,
-0.030011933,
0.049003858,
-0.04103194,
-0.014097402,
0.026524218,
-0.005755462,
0.018391103,
0.031975605,
0.030920498,
0.0156361,
-0.012998332,
0.0046820375,
-0.019504827,
-0.014295235,
0.031008422,
-0.003909025,
-0.024692435,
-0.0055796113,
-0.018376447,
-0.025073446,
0.05099684,
0.029059406,
-0.002498552,
-0.010682959,
0.0426146,
0.015855914,
0.02769656,
0.02261153,
0.028312039,
0.01934363,
0.034525447,
0.006711653,
-0.007935284,
-0.011159223,
-0.029645577,
0.013914224,
-0.020237539,
-0.035316776,
0.058441207,
-0.028253421,
-0.014595647,
-0.040533695,
-0.009422692,
0.021527113,
0.0037881273,
-0.03528747,
-0.024047649,
0.007825377,
0.023227008,
0.01951948,
-0.0402113,
0.0012501919,
0.044929974,
-0.0033082003,
0.0058983415,
0.010177387,
-0.07532292,
-0.0064735212,
-0.04003545,
-0.08810144,
-0.038570024,
-0.036782205,
-0.008785231,
0.009539926,
-0.007949938,
0.017775623,
-0.027535362,
0.019094506,
-0.00023401028,
-0.015064584,
0.04185258,
0.030773954,
0.0199298,
-0.054425936,
0.020428045,
-0.040533695,
-0.006499166,
0.025029484,
-0.041618112,
-0.024457967,
-0.019944454,
0.009774394,
0.0025571692,
0.01218502,
0.0040885396,
-0.04384556,
0.025337223,
-0.030979116,
-0.017306685,
-0.024545893,
-0.0088438485,
-0.031829063,
-0.0062353895,
0.005370788,
-0.04026992,
0.069812916,
0.045340292,
-0.020369427,
0.03543401,
-0.008440856,
0.020984907,
-0.010470472,
0.06793717,
0.048417687,
-0.0077227973,
-0.0014809966,
-0.035727095,
-0.075909086,
0.006279352,
-0.0048762066,
-0.009972227,
-0.0035536592,
0.021351263,
0.012558704,
-0.08446718,
0.011041989,
-0.0041068573,
-0.022758072,
-0.01842041,
-0.003520687,
0.04862285,
0.010214022,
0.012294928,
-0.06823026,
0.01770235,
0.007308814,
0.013042295,
0.011386364,
-0.01553352,
0.027447438,
0.018610915,
-0.02917664,
-0.024663126,
0.026949191,
-0.03267901,
0.022464987,
-0.04800737,
0.016031764,
0.018742803,
0.009671815,
-0.0066566993,
0.0014471086,
0.05337083,
-0.027125044,
0.010236003,
0.013298745,
-0.016442085,
0.008440856,
0.017101526,
-0.025044138,
-0.0013985663,
-0.021292645,
-0.038511407,
0.029572306,
0.03983029,
0.040299226,
-0.050879605,
-0.0051216655,
-0.022083977,
-0.028018953,
-0.00739674,
-0.023769217,
-0.0067409617,
0.0374563,
0.003806445,
0.04346455,
-0.016310196,
-0.007213562,
0.010104115,
-0.017277377,
0.049941733,
-0.015782643,
-0.0025113747,
-0.037339065,
-0.0064149043,
-0.054308705,
-0.013753027,
-0.0061401366,
-0.04961934,
0.018288521,
0.011225167,
-0.013100912,
-0.06055142,
0.0587636,
0.068640575,
0.026817303,
0.04739189,
0.026890576,
-0.02491225,
-0.0041215117,
0.035228852,
-0.012338891,
0.022333099,
-0.051260617,
0.02670007,
-0.0045208405,
-0.017379958,
-0.0010138919,
-0.008631362,
0.013379343,
0.03941997,
-0.0040738853,
0.013144875,
-0.016368814,
-0.011679448,
-0.009254168,
0.031389434,
-0.022567566,
-0.039156195,
-0.057767108,
0.01821525,
0.013760354,
-0.061899614,
-0.004451233,
-0.03859933,
0.029088715,
-0.0003242256,
-0.033939276,
-0.04202843,
-0.019460863,
-0.019065198,
-0.04202843,
0.044666197,
0.0166619,
-0.029704195,
0.0076055634,
-0.03839417,
0.016617935,
0.014515049,
-0.00038238472,
-0.025263952,
0.007803396,
-0.03789593,
-0.001148528,
0.016984293,
-0.03845279,
0.015621446,
0.048329763,
-0.023520093,
-0.002406963,
-0.06483047,
-0.014888733,
-0.025000175,
0.008572744,
0.009356747,
0.010690286,
0.014302562,
-0.022113284,
-0.003949324,
0.039009653,
-0.0030077877,
-0.054513864,
0.030392945,
0.0012117245,
0.013679756,
0.04223359,
0.023109775,
-0.00771547,
0.026773341,
0.02089698,
-0.02807757,
0.0237106,
-0.02570358,
0.005165628,
0.011774701,
-0.01085881,
0.0061401366,
-0.044080026,
0.050674446,
0.004231419,
-0.014830115,
-0.012903079,
-0.06793717,
0.0150792375,
0.044959284,
-0.0143831605,
0.02907406,
-0.008301641,
-0.014698227,
-0.0041801287,
0.018962618,
-0.056887854,
-0.022699455,
-0.033147946,
0.016002456,
0.043318007,
-0.001554268,
0.011869954,
-0.007927957,
-0.060375568,
0.016031764,
-0.02350544,
0.014771499,
-0.0080745,
-0.00866067,
0.00075881614,
0.0007272179,
-0.032620393,
-0.0031506668,
-0.010045499,
0.004905515,
0.016354159,
-0.010082134,
0.029528342,
-0.01642743,
-0.039683748,
0.00498245,
-0.02350544,
-0.06535802,
-0.034877148,
0.019666024,
0.020193577,
0.043493856,
0.026553527,
-0.041149173,
-0.051495086,
-0.013115566,
0.016749823,
-0.063892595,
-0.0073234686,
-0.0030865544,
-0.063599505,
0.028986135,
0.021321954,
0.04003545,
-0.04044577,
-0.033763424,
-0.037749384,
-0.0068875044,
-0.04396279,
-0.036694277,
-0.015123201,
-0.024106264,
-0.024223499,
0.0498245,
-0.0020222885,
-0.0028264413,
-0.011327746,
0.0048432346,
0.00001917648,
-0.04082678,
-0.0034419203,
-0.03311864,
0.015650755,
0.0199298,
-0.050938223,
0.028312039,
-0.029894698,
0.02766725,
-0.027051771,
0.019153124,
-0.04938487,
-0.012917734,
-0.0010093125,
0.02498552,
0.07878132,
-0.04179396,
0.065006316,
0.028619777,
0.036811512,
-0.027242277,
0.05272604,
-0.014258599,
-0.0021926444,
-0.032825552,
-0.068464726,
0.06371674,
-0.03045156,
-0.010844155,
-0.020442698,
-0.019050544,
0.022743419,
-0.019328974,
0.04721604,
0.029528342,
0.020384083,
0.0015496884,
-0.06711653,
0.018889347,
0.025982011,
0.023183046,
0.0122509645,
0.011313092,
-0.00050007674,
0.0041581476,
0.0013298745,
-0.02230379,
-0.010228677,
-0.0065064933,
0.015255089,
0.05996525,
0.04103194,
-0.016544664,
-0.033558264,
-0.032825552,
0.0057957615,
0.02976281,
0.00011963833,
0.007437039,
0.02357871,
0.03546332,
0.03185837,
0.0018299513,
-0.06582695,
-0.042116355,
0.03200491,
0.0076055634,
-0.057825726,
0.037485607,
0.038218323,
-0.0068288874,
-0.05873429,
-0.0577378,
0.016075728,
0.009737759,
-0.0034236026,
-0.011825991,
-0.009671815,
-0.011503598,
0.007371095,
0.0019361947,
-0.036928747,
-0.0056199105,
-0.004315681,
-0.014178,
-0.061665144,
0.028297385,
0.053136364,
-0.029455071,
-0.02680265,
-0.033939276,
-0.03323587,
-0.01972464,
0.010148078,
0.03704598,
-0.04100263,
0.04961934,
0.01793682,
0.01959275,
0.04208705,
-0.0021798217,
0.0391855,
0.04223359,
-0.033704806,
-0.03525816,
-0.020252192,
0.010411855,
-0.019666024,
0.028546507,
-0.02010565,
0.04179396,
0.06647174,
0.019900491,
-0.009239513,
-0.08288452,
-0.030334327,
-0.0043669706,
0.01900658,
0.026201824,
0.004912842,
0.0033301816,
0.01783424,
0.014082748,
-0.051026147,
-0.0015020621,
0.019138468,
0.021732274,
-0.026128553,
-0.02010565,
0.009737759,
-0.033939276,
-0.028399965,
-0.026568182,
0.012485433,
0.017306685,
0.008030537,
-0.039888907,
-0.00845551,
0.004077549,
0.043757632,
-0.006865523,
0.014522376,
-0.046952263,
0.025630308,
-0.027887065,
-0.02161504,
-0.017995436,
0.05005897,
0.03742699,
-0.04607301,
0.028062915,
-0.0057444717,
-0.016178308,
0.005004431,
0.010529089,
0.05193471,
-0.015592137,
-0.048857316,
0.008675325,
0.026817303,
-0.034554753,
0.009166243,
0.022479642,
-0.011452308,
0.008147771,
0.002971152,
-0.01683775,
0.07245068,
0.024252808,
0.028062915,
0.0062024174,
0.0021669993,
0.023930414,
0.016823096,
-0.004989777,
-0.021732274,
0.012243638,
-0.014559012,
0.0148008065,
0.021483151,
-0.034437522,
0.014375833,
0.03223938,
0.016764479,
-0.019182432,
0.023769217,
0.03344103,
0.049296945,
0.053341523,
0.022626184,
-0.0095619075,
0.022435678,
-0.045926463,
-0.037485607,
-0.04484205,
-0.033704806,
0.031242892,
-0.050439976,
-0.0036672296,
-0.035111617,
-0.0027037119,
0.006678681,
0.019900491,
0.010638996,
0.046102315,
0.027462091,
0.009789049,
0.010426509,
-0.056712,
-0.019944454,
-0.027403474,
0.02498552,
-0.029821428,
-0.04346455,
0.01969533,
0.07655387,
0.019841874,
-0.000071840244,
-0.061430678,
0.011774701,
0.041325025,
-0.008396894,
-0.029000789,
0.03464268,
-0.04384556,
0.048271146,
-0.045926463,
0.005843388,
0.005693182,
0.019123815,
0.044373114,
-0.009752413,
0.008111135,
-0.015885223,
0.020472007,
-0.03165321,
0.038130395,
0.02769656,
0.036313266,
-0.02958696,
0.012412162,
0.008367585,
0.089097925,
0.017072218,
0.03839417,
-0.030920498,
0.030158475,
0.014449105,
-0.055862054,
-0.035756405,
0.041706037,
0.04422657,
-0.010133424,
0.05893945,
-0.015577483,
-0.0011787524,
0.011422999,
-0.015167164,
0.022040013,
-0.007935284,
-0.0008627698,
-0.043493856,
0.0024637482,
0.016178308,
-0.039918218,
-0.022508949,
-0.023901105,
0.011459635,
0.06412706,
0.018303176,
-0.01543094,
-0.01962206,
0.026568182,
0.05143647,
-0.028678395,
0.024956211,
-0.023490787,
0.03089119,
-0.020076342,
0.0347013,
-0.01893331,
0.009957572,
-0.024619164,
-0.05398631,
0.020193577,
0.020061688,
-0.0020754102,
-0.009246841,
0.005682191,
-0.014962004,
-0.040885396,
-0.056272376,
0.035023693,
-0.05351737,
0.022948578,
0.051905405,
-0.042849068,
-0.018288521,
0.035551246,
-0.0064442125,
0.0038320902,
0.06395121,
0.057268865,
0.006990084,
0.086167075,
0.041471567,
0.0112544745,
0.008015882,
-0.0022091304,
-0.07649526,
-0.01364312,
0.006052211,
-0.026157862,
0.008338276,
-0.0010541911,
-0.055891365,
0.014251272,
0.011056642,
0.017306685,
-0.049648646,
0.000053608277,
0.0018290353,
-0.049677957,
0.020193577,
0.052872587,
0.022977887,
0.02340286,
0.007744779,
0.002996797,
-0.052872587,
-0.023476131,
-0.046248857,
-0.0014049776,
-0.030803263,
-0.007202571,
0.005447723,
-0.024282116,
0.0026725715,
-0.0010697613,
-0.035697788,
0.011137241,
0.019534135,
0.008528782,
0.045135133,
0.03666497,
0.0022604202,
0.012331563,
0.041266408,
0.027256932,
0.0333238,
0.06828887,
0.047274657,
0.00393467,
-0.001064266,
0.014331871,
-0.0025644964,
-0.019182432,
-0.031096349,
0.004784617,
-0.022699455,
-0.04325939,
-0.07092664,
-0.0004625252,
-0.00040825864,
0.024179537,
-0.029748157,
0.005623574,
-0.007700816,
-0.06442015,
-0.009224859,
-0.036108106,
0.024326079,
0.0030682366,
-0.0008449099,
0.018772112,
-0.040768165,
0.25697717,
0.087749735,
0.016691208,
0.028414618,
0.03285486,
0.042555984,
0.038863108,
-0.018669533,
-0.0017759136,
-0.046541944,
-0.0012053133,
0.004414597,
0.014888733,
0.032210074,
0.008199061,
0.05556897,
-0.054455247,
-0.003300873,
0.0054880218,
-0.022582222,
-0.0625444,
0.027095735,
-0.0029583296,
0.018684188,
0.024457967,
0.045252368,
0.013628466,
-0.035375394,
0.016852403,
-0.024252808,
0.013115566,
0.0062940065,
0.019915145,
-0.018376447,
-0.014082748,
0.018068708,
0.003993287,
-0.030803263,
-0.015694717,
-0.016412776,
0.00749932,
-0.0066237273,
-0.01842041,
0.004286372,
-0.027359512,
0.04246806,
-0.014449105,
-0.015269743,
0.07942611,
-0.028912863,
0.006781261,
-0.01880142,
0.031418744,
-0.004667383,
-0.03206353,
-0.012741882,
-0.03786662,
-0.05512934,
-0.00030018346,
-0.0048395707,
0.0354047,
0.008543436,
-0.04619024,
0.026128553,
0.0019343629,
0.049941733,
-0.019387592,
0.019739294,
-0.017951474,
0.00886583,
0.034437522,
0.029865392,
-0.06676483,
0.017922165,
0.006751952,
-0.0006947037,
-0.02051597,
0.047509126,
-0.019900491,
-0.027432783,
0.00075103104,
0.018874692,
-0.011151895,
-0.031770445,
0.029967971,
0.04185258,
-0.03390997,
-0.008184407,
0.013350035,
0.0010257985,
0.0061401366,
0.036401194,
-0.02340286,
0.018288521,
0.020677166
] | This model was contributed by dg845.
To the best of my knowledge, there is no official code release, but an unofficial implementation can be found at maum-ai/univnet with pretrained checkpoints here.
UnivNetConfig
[[autodoc]] UnivNetConfig
UnivNetFeatureExtractor
[[autodoc]] UnivNetFeatureExtractor
- call
UnivNetModel
[[autodoc]] UnivNetModel
- forward |
[
0.010527747,
0.02575432,
0.011761932,
0.00013963577,
0.012966378,
-0.04746408,
-0.018854778,
-0.02521901,
0.005959032,
0.048207566,
0.010587226,
-0.036698416,
0.038750436,
-0.041932553,
0.011382755,
0.015984926,
-0.025397446,
-0.02770225,
-0.031166889,
-0.0027862098,
0.012401329,
0.00340702,
-0.081604905,
-0.018364077,
-0.026111191,
0.018958867,
0.030572101,
0.044252224,
0.07654921,
0.043895353,
0.0151224835,
-0.021323148,
0.018408688,
-0.038304344,
0.002914461,
0.010141135,
0.01165041,
-0.0026709696,
-0.021873327,
-0.034349006,
0.027598161,
-0.038423304,
0.01333812,
-0.052579258,
-0.036817376,
-0.021843588,
0.029501483,
-0.027865816,
0.01576188,
-0.020460706,
-0.048296783,
-0.00059711136,
0.017680071,
0.0053122,
0.018393818,
0.0012425493,
0.007200652,
-0.013865994,
-0.03265386,
-0.0051932423,
0.023330558,
0.017442157,
0.015464487,
-0.046720594,
-0.009918089,
0.032237507,
-0.00075603125,
-0.011628104,
-0.037233725,
-0.0366092,
-0.04047532,
0.0042304294,
-0.059211142,
-0.02761303,
-0.01881017,
-0.013977517,
-0.019092694,
-0.011457103,
0.05385805,
0.03907757,
0.009449693,
0.026021974,
0.00047629504,
0.027806338,
-0.04591763,
-0.034289528,
0.019196782,
-0.036401022,
-0.014624349,
-0.011590931,
0.0058586616,
0.037798773,
-0.040832195,
0.024445785,
0.040921412,
0.053382218,
0.009375345,
0.030304447,
0.031464282,
0.026021974,
0.020103833,
0.08059377,
-0.045174144,
0.034557182,
-0.031315587,
0.012475678,
0.025382577,
-0.0038661216,
-0.043627698,
-0.050794892,
0.028237559,
-0.01873582,
-0.016535105,
-0.008780558,
0.0012992399,
0.040267143,
0.019300869,
0.04984323,
-0.018096425,
-0.030453144,
-0.009063082,
0.053501178,
0.01260207,
-0.017501635,
0.0065017757,
-0.031166889,
0.0034107373,
0.012981247,
-0.062155344,
-0.0036430762,
0.031315587,
-0.0063159047,
0.0016087155,
0.0375906,
0.013553731,
0.013709863,
0.00861699,
0.050913848,
0.017025806,
-0.020445837,
-0.00030320245,
-0.0120965,
-0.014141084,
0.09415493,
-0.018616863,
-0.01478048,
0.005758291,
-0.005624464,
-0.029784007,
-0.015241441,
-0.000038364986,
0.012468243,
0.013159684,
0.047731735,
-0.003895861,
0.02278038,
-0.041605417,
0.03556832,
-0.005003654,
0.0029757984,
-0.018334338,
-0.015598314,
-0.07559755,
0.0072303913,
-0.02767251,
0.016490497,
0.013836255,
-0.017486766,
0.015115049,
-0.024564743,
-0.03815565,
0.031047931,
-0.0058884006,
0.018468166,
0.045144405,
0.016133623,
0.04731538,
-0.024802659,
0.010252657,
-0.0072787176,
0.008408815,
0.0044088657,
0.037263464,
0.029010782,
-0.034824837,
0.005732269,
-0.014951482,
0.007248978,
-0.037203986,
0.010676444,
-0.011947803,
0.067032605,
-0.03610363,
-0.013769342,
-0.03999949,
0.015553705,
-0.0012072336,
0.012163414,
-0.0073716533,
-0.020326879,
-0.009940394,
0.03066132,
-0.036728155,
-0.0012490547,
-0.029397395,
0.048088606,
0.0020668881,
0.05275769,
-0.049872972,
0.054661013,
0.021070363,
0.0021226495,
-0.018943997,
0.02911487,
0.05183577,
-0.013464512,
-0.0021245081,
-0.0068809534,
0.042794995,
0.046333984,
0.0050556976,
0.028252428,
0.005951597,
-0.0055724196,
-0.007918115,
0.0013652242,
0.035360143,
0.023018295,
0.011962673,
0.0025836101,
0.03110741,
0.0024200436,
0.010884619,
0.043746654,
0.052549515,
0.018527646,
0.042794995,
0.013702428,
0.011286101,
-0.007152325,
-0.029977314,
-0.024877006,
0.018497905,
0.063463874,
-0.0077248085,
-0.0029962445,
-0.03889913,
-0.020475576,
-0.032296985,
-0.02620041,
-0.040148187,
0.055107106,
0.022899337,
0.017189372,
-0.05888401,
-0.025263619,
-0.00068632956,
0.023776649,
-0.02863904,
-0.041635156,
0.0207581,
0.023048034,
-0.026319368,
-0.018661473,
-0.005695095,
0.047226164,
0.017739551,
0.013880864,
-0.04791017,
-0.005319635,
-0.056742772,
-0.063642316,
-0.07060133,
0.009895785,
-0.01310764,
0.021486714,
0.035479102,
-0.033694737,
0.026155801,
-0.0017815758,
0.0005580784,
0.011353015,
-0.029754268,
-0.021828718,
0.0032323007,
-0.01583623,
-0.06269065,
0.059062444,
-0.006520363,
0.06405866,
0.022542464,
-0.018393818,
-0.015256311,
-0.022408636,
0.017457027,
-0.016936587,
-0.019494176,
0.022854727,
-0.010676444,
0.016951457,
0.0064534494,
0.0003861475,
-0.004323365,
-0.024282219,
-0.039791316,
0.028936435,
-0.0022118678,
-0.018051814,
0.040148187,
0.015241441,
-0.05927062,
0.01881017,
0.024416046,
0.042765256,
-0.014364129,
0.035627797,
0.05837844,
-0.015144789,
-0.0038438172,
0.0053605265,
-0.029858356,
-0.043151867,
-0.0046542156,
-0.029902965,
-0.046304245,
0.07220726,
-0.010401354,
-0.05439336,
-0.013657819,
-0.04603659,
-0.03550884,
0.036906593,
0.0040928847,
0.038393565,
0.031345326,
0.0017722823,
-0.05031906,
0.024148392,
0.024936486,
0.055672154,
-0.004189538,
-0.041962292,
0.0027434595,
0.04008871,
0.0063939705,
0.02469857,
0.027271029,
-0.04796965,
0.020891927,
-0.010193178,
0.013457078,
0.043300565,
-0.022943946,
-0.039315484,
-0.026884416,
0.023642821,
-0.029917834,
0.006074272,
0.016698672,
-0.000078646764,
-0.00022955098,
0.041337762,
-0.0004772244,
-0.009442259,
-0.0015436606,
-0.03458692,
-0.003644935,
0.016148493,
0.027107462,
-0.060965765,
0.0138882985,
0.0033456823,
-0.046631377,
0.042319164,
-0.0150927445,
-0.025263619,
0.07988002,
0.00089171727,
0.044757795,
-0.018958867,
-0.009873481,
0.015144789,
-0.0007555666,
0.0212488,
0.059478797,
0.028579561,
-0.02771712,
-0.036757898,
-0.02276551,
-0.02620041,
-0.0037787622,
-0.0072935876,
-0.020847319,
-0.03458692,
-0.020416098,
-0.020460706,
0.030869495,
0.039226267,
0.04098089,
0.015880838,
0.051092286,
-0.016862238,
0.048475217,
0.018259991,
0.009115125,
-0.01632693,
-0.034051612,
-0.004602172,
0.0047917604,
0.032802556,
-0.01333812,
-0.0089589935,
-0.026423454,
0.021843588,
0.023404906,
0.053025346,
-0.02521901,
-0.0048772614,
-0.018691212,
0.042676035,
-0.032505162,
0.012631809,
-0.041337762,
0.044073787,
0.0060073584,
-0.065010324,
-0.0038624043,
-0.03851252,
-0.014245172,
0.02912974,
-0.03994001,
-0.033694737,
-0.0030594405,
-0.004167233,
-0.025114922,
0.055701893,
0.031464282,
-0.011524017,
0.032386206,
-0.051954728,
0.01784364,
0.025382577,
-0.023018295,
-0.008832601,
0.053144306,
-0.015048135,
-0.008245248,
0.040207665,
0.007334479,
-0.022051763,
0.027836077,
-0.044728056,
-0.001638455,
-0.020386357,
-0.02618554,
0.000760678,
0.0049850666,
-0.05537476,
0.0043010605,
0.02820782,
-0.057159122,
-0.009791696,
0.04344926,
0.002849406,
-0.048148084,
0.010691314,
-0.008550077,
0.013955212,
0.04550128,
0.008854906,
-0.0044757794,
0.02072836,
-0.012118804,
-0.034378745,
0.011241493,
0.007527785,
-0.008371641,
-0.05284691,
-0.02618554,
-0.0043308,
-0.0374419,
0.04451988,
0.0021375192,
-0.016237712,
0.00025696697,
-0.028088862,
-0.024966225,
-0.02813347,
-0.045114666,
0.018081553,
0.0124831125,
-0.03506275,
0.043211345,
-0.0068326266,
-0.02077297,
-0.03996975,
-0.0134868175,
-0.013999822,
0.026691109,
0.027984774,
0.050140627,
-0.0374419,
-0.024966225,
0.034230046,
0.023598213,
0.020996016,
-0.04011845,
-0.03568728,
-0.024282219,
-0.03943444,
-0.011717323,
0.021947676,
-0.0027862098,
-0.0060073584,
0.014364129,
0.024981095,
-0.023925345,
-0.040891673,
-0.036282066,
0.025456924,
0.009828871,
-0.042765256,
-0.0056765075,
0.035925195,
-0.024475524,
0.045352582,
0.018007206,
-0.028520083,
-0.01778416,
-0.026453195,
0.040177926,
-0.02515953,
0.034349006,
-0.044698317,
-0.00913743,
-0.038274605,
0.032802556,
0.013836255,
-0.019865917,
-0.029382525,
-0.017471896,
-0.0026337954,
-0.043360043,
0.010884619,
0.0053270697,
0.038631476,
0.011353015,
0.025486665,
-0.030958714,
-0.009516607,
0.040802453,
0.017724682,
0.029248698,
0.024847267,
-0.025471795,
-0.033278387,
-0.00068214745,
0.008066812,
0.023434646,
0.016222842,
-0.022334289,
0.042824734,
-0.06970915,
0.00016879431,
-0.029501483,
-0.008780558,
-0.0018986746,
-0.014207997,
0.082318656,
-0.03271334,
0.00093586167,
-0.0038400998,
-0.0073493486,
-0.0017304613,
0.011300972,
-0.017115023,
0.0135165565,
-0.042348903,
-0.04639346,
-0.0073047397,
-0.02029714,
-0.03202933,
0.01580649,
0.0044237357,
0.03568728,
-0.048237305,
0.006947867,
0.04145672,
0.02179898,
0.0064980583,
-0.025724579,
0.016996065,
0.013412468,
-0.0099329585,
-0.035449363,
0.0014200562,
-0.01678789,
-0.028267298,
-0.030928973,
-0.06566459,
-0.010393919,
0.008624425,
0.039374962,
-0.04294369,
0.036282066,
-0.010944098,
-0.019895658,
-0.022022024,
0.025947625,
-0.0032490292,
-0.0015343671,
0.032772817,
-0.020430967,
0.031256106,
0.0017871519,
-0.001098499,
-0.03901809,
-0.021828718,
0.021888196,
-0.042824734,
-0.031404804,
0.032921515,
0.018497905,
-0.040148187,
-0.029679919,
-0.04303291,
0.0053159175,
-0.034349006,
-0.03907757,
0.00082248024,
0.00020004393,
-0.020148443,
0.010691314,
0.03556832,
0.025412316,
-0.0026319367,
0.027226418,
-0.0072192387,
-0.041070107,
0.023642821,
0.017680071,
-0.026021974,
-0.025531273,
-0.0032936384,
0.020966277,
-0.018423557,
0.016044404,
0.038869392,
-0.031850897,
0.03164272,
0.031166889,
-0.00059432327,
0.028282167,
0.023836128,
0.052222382,
0.021085232,
-0.023330558,
-0.08874236,
0.021025755,
0.01626745,
-0.037203986,
0.037798773,
-0.03812591,
0.026958764,
-0.002170976,
0.027821207,
-0.037679818,
-0.055315282,
-0.0227209,
-0.04752356,
0.012787941,
-0.012215458,
-0.010780532,
0.0014851112,
0.047226164,
-0.003801067,
-0.056891467,
0.009821436,
0.029724529,
0.00039288533,
0.003083604,
-0.0107061835,
0.0026765459,
-0.018839909,
0.009561216,
-0.0087285135,
-0.030899234,
-0.0276279,
0.02816321,
-0.007107716,
0.005765726,
-0.0007439496,
0.028802607,
-0.034170568,
0.011999847,
-0.0026449477,
0.02313725,
-0.05287665,
-0.0035891735,
-0.017025806,
0.044281963,
0.0069738887,
-0.014802786,
0.0020854753,
0.03357578,
-0.0099032195,
-0.011561191,
-0.009709913,
0.037382424,
-0.0037322945,
0.0023345428,
-0.012037021,
0.0415162,
-0.09106204,
-0.002895874,
0.0027267311,
-0.0005738774,
-0.004814065,
0.022810118,
0.02672085,
0.05591007,
-0.0035743038,
0.063166484,
-0.0074422844,
-0.014029561,
0.036847115,
0.0065389504,
0.013724732,
0.0025352838,
0.0013522132,
-0.09546347,
-0.051806033,
0.015256311,
-0.03060184,
0.02376178,
-0.022200461,
-0.008988733,
-0.053679615,
-0.025813797,
0.05100307,
0.030988453,
-0.011702453,
0.01775442,
-0.022319417,
-0.023419775,
0.00021444894,
-0.028772868,
-0.04095115,
-0.06792478,
0.03199959,
-0.003535271,
0.0326836,
-0.020475576,
0.029947573,
0.018111294,
0.052490037,
0.011984978,
-0.018170772,
0.049129486,
0.008825166,
-0.0052192644,
-0.027791468,
-0.0413675,
-0.001289017,
0.027925294,
-0.04981349,
-0.04957558,
0.016089015,
0.066318855,
0.014817655,
-0.028311906,
-0.056118242,
0.0026802632,
0.038185388,
0.010059351,
-0.058170263,
0.008542642,
-0.00470626,
0.021828718,
0.0051411986,
0.019970005,
0.008564946,
0.03014088,
0.03851252,
-0.00015578333,
-0.0056318985,
0.066854164,
0.0041374937,
-0.04398457,
0.021442106,
-0.013672688,
0.016966326,
0.0127135925,
-0.008505468,
0.003907013,
0.058110785,
0.03610363,
0.000691441,
-0.06173899,
0.020609403,
0.034051612,
-0.027018243,
0.043151867,
0.063939705,
0.020207921,
-0.037025552,
-0.017917987,
-0.052311603,
0.024148392,
-0.021427236,
0.000351529,
0.010163439,
0.013330685,
-0.027836077,
-0.0037527403,
-0.05775391,
0.030051662,
0.010602095,
-0.063463874,
-0.028862085,
0.054036487,
0.019107563,
-0.013509122,
0.0066987993,
0.019434696,
0.031969853,
0.029917834,
0.022111243,
0.015226572,
0.010616965,
0.047701996,
0.0054460275,
0.05436362,
0.043270823,
-0.0286093,
-0.0075240675,
-0.0023364015,
-0.046512417,
0.015553705,
-0.020966277,
-0.017546244,
0.03553858,
-0.0036337827,
0.0073456313,
-0.037947472,
-0.009695044,
-0.052192643,
0.0129143335,
0.037828516,
0.0031133431,
-0.020416098,
0.026587022,
-0.013256337,
0.007107716,
0.026557282,
0.01927113,
-0.028743127,
0.074348494,
0.043687176,
-0.007695069,
0.012289806,
0.009985003,
0.00093260896,
-0.03946418,
-0.020088963,
-0.016252581,
-0.02515953,
-0.023315689,
-0.032296985,
0.019315738,
-0.009866045,
0.022140982,
-0.010527747,
0.03321891,
-0.028118601,
-0.043657437,
0.0011886465,
0.05394727,
-0.013650384,
-0.020356618,
-0.01332325,
0.0017955161,
-0.036876854,
-0.00012767031,
-0.018453296,
0.023434646,
-0.015657794,
-0.036728155,
-0.03265386,
-0.044311702,
-0.012297241,
-0.020906797,
0.016460758,
-0.027598161,
0.026363976,
0.06846009,
0.05977619,
0.0054646144,
-0.054542057,
0.020505315,
0.040742975,
0.07220726,
0.0066653425,
0.09135943,
0.028936435,
0.01635667,
-0.003477651,
-0.001473959,
0.0059850537,
-0.049307924,
-0.008817731,
-0.018185642,
0.0150407,
-0.045263365,
-0.027553553,
-0.028832346,
0.039285745,
0.028534953,
-0.047553297,
-0.057248343,
0.04398457,
-0.059627492,
-0.005130046,
-0.013122509,
0.027523814,
0.013300946,
-0.0069515845,
-0.025620492,
-0.040832195,
0.26265836,
0.057902608,
0.044638835,
0.008520338,
0.0091299955,
0.039256006,
0.06298804,
-0.017159633,
0.012230327,
0.014572305,
-0.021501584,
-0.04556076,
-0.0005497142,
0.00040891673,
-0.03889913,
0.019092694,
-0.013769342,
0.0005933939,
-0.040207665,
-0.06768687,
-0.044549618,
0.0031263542,
0.0064534494,
0.015598314,
-0.0016087155,
0.003921883,
0.018497905,
0.036757898,
0.022468116,
-0.0044646272,
-0.010349311,
-0.0653672,
0.046720594,
0.0036523698,
-0.031077672,
0.02614093,
0.022572203,
-0.006081707,
-0.026587022,
0.020951405,
-0.002488816,
0.0035835975,
0.0027248724,
-0.02719668,
-0.061084725,
0.05225212,
0.00060129346,
-0.011769366,
0.035984673,
-0.057456516,
0.0366092,
-0.014282346,
0.030051662,
-0.031018192,
-0.05439336,
-0.004895848,
-0.044400923,
-0.023776649,
-0.022958815,
0.009561216,
-0.011092795,
-0.004769456,
0.005880966,
0.036401022,
-0.0010380909,
0.023821257,
-0.011397624,
-0.014787916,
-0.0007425556,
-0.016445886,
-0.01934548,
-0.0075017633,
-0.0070668245,
-0.030036792,
-0.031077672,
0.0069887587,
-0.016981196,
0.06411814,
-0.040921412,
-0.019226521,
0.009509172,
-0.026378846,
0.025456924,
0.003141224,
0.027271029,
0.031166889,
-0.027598161,
0.005940445,
0.003910731,
0.024966225,
0.02023766,
0.027508942,
0.0025966212,
0.03363526,
-0.02914461
] |
Jukebox
Overview
The Jukebox model was proposed in Jukebox: A generative model for music
by Prafulla Dhariwal, Heewoo Jun, Christine Payne, Jong Wook Kim, Alec Radford,
Ilya Sutskever. It introduces a generative music model which can produce minute long samples that can be conditioned on
an artist, genres and lyrics.
The abstract from the paper is the following:
We introduce Jukebox, a model that generates music with singing in the raw audio domain. We tackle the long context of raw audio using a multiscale VQ-VAE to compress it to discrete codes, and modeling those using autoregressive Transformers. We show that the combined model at scale can generate high-fidelity and diverse songs with coherence up to multiple minutes. We can condition on artist and genre to steer the musical and vocal style, and on unaligned lyrics to make the singing more controllable. We are releasing thousands of non cherry-picked samples, along with model weights and code.
As shown on the following figure, Jukebox is made of 3 priors which are decoder only models. They follow the architecture described in Generating Long Sequences with Sparse Transformers, modified to support longer context length.
First, a autoencoder is used to encode the text lyrics. Next, the first (also called top_prior) prior attends to the last hidden states extracted from the lyrics encoder. The priors are linked to the previous priors respectively via an AudioConditioner module. TheAudioConditioner upsamples the outputs of the previous prior to raw tokens at a certain audio frame per second resolution.
The metadata such as artist, genre and timing are passed to each prior, in the form of a start token and positional embedding for the timing data. The hidden states are mapped to the closest codebook vector from the VQVAE in order to convert them to raw audio. |
[
0.033941075,
0.023474727,
-0.013391813,
0.0055278507,
-0.017666401,
-0.0114817405,
-0.011084104,
0.02239543,
0.017538588,
0.025576517,
0.038457084,
-0.012198905,
0.014172885,
-0.05461815,
0.0030728034,
0.031612065,
0.0015692422,
-0.044393223,
-0.04612578,
-0.016700713,
0.02273626,
0.0018727947,
-0.07952721,
-0.02658481,
-0.01379655,
0.0070260866,
0.05561224,
-0.014187085,
0.07981123,
0.019555172,
0.011595351,
-0.0058083264,
0.025562316,
-0.030845195,
-0.011559848,
-0.024298402,
0.015436798,
0.020236833,
-0.033259414,
-0.022466436,
0.031810883,
-0.02294928,
0.032009702,
-0.049818113,
-0.060327068,
-0.025193082,
-0.0017511962,
-0.03928076,
-0.022636851,
-0.034168296,
-0.03056117,
0.0056485618,
-0.00058225275,
0.012504233,
0.01501076,
-0.009628473,
0.029481871,
-0.0057337694,
-0.021912586,
0.023815557,
0.040814497,
0.019427361,
0.010161021,
-0.049846515,
-0.018987121,
0.024582427,
-0.019555172,
-0.035304397,
-0.024795447,
-0.008385859,
-0.038457084,
-0.015067565,
-0.020989502,
-0.035957657,
-0.014826143,
-0.019654581,
0.0035183688,
-0.014826143,
0.031668868,
0.024554025,
0.035730436,
0.04237664,
0.022225013,
0.016416688,
-0.018149244,
-0.05453294,
0.035503216,
-0.035872452,
-0.04731869,
-0.033458233,
0.0065503437,
0.032435738,
-0.0052154227,
0.005460395,
0.0020414349,
0.038201462,
0.0017920249,
0.04180859,
0.0474323,
0.0033213259,
0.035929255,
0.054902174,
-0.011943283,
0.018532678,
-0.057856042,
0.012866366,
0.0028118547,
-0.020449853,
0.01466993,
-0.0562655,
0.014655728,
-0.0026751675,
0.0016624382,
0.0006989696,
-0.035560023,
0.04780153,
0.0013500098,
-0.0039018036,
-0.036497306,
-0.021472346,
-0.01147464,
0.010863984,
0.018518478,
-0.02922625,
0.032691363,
-0.017297167,
0.014492413,
0.0013526726,
-0.06134956,
0.00347399,
-0.033401426,
0.022807267,
0.0002720434,
0.044109195,
0.016956337,
-0.019881802,
-0.019853398,
0.0042568357,
0.000088536144,
-0.034395516,
0.007661594,
-0.0011813695,
0.006699457,
0.07225615,
-0.017481783,
-0.0028952872,
0.0005991168,
-0.038968332,
0.0003860975,
0.015621415,
-0.032236923,
0.04811396,
-0.021174118,
0.017396577,
-0.034736346,
-0.009479359,
-0.02239543,
0.020421451,
-0.020180028,
0.015138572,
0.02968069,
0.010956293,
-0.08429884,
0.034281906,
-0.01170186,
0.017609596,
0.01125452,
-0.003475765,
0.049022842,
-0.054220513,
-0.002834932,
0.0097136805,
-0.009756284,
-0.003873401,
0.005559804,
0.061179142,
0.03036235,
-0.007718399,
0.007526682,
-0.013974066,
-0.016530298,
-0.018106641,
0.05095422,
0.0055172,
-0.006159808,
-0.0048177866,
-0.020677073,
-0.013278203,
-0.024965862,
0.005840279,
-0.012745655,
0.06475787,
-0.007040288,
0.034565933,
-0.02835997,
0.0055562533,
-0.020549262,
-0.010863984,
-0.009372849,
-0.06413301,
-0.0063657267,
0.074130714,
-0.008982314,
0.043626353,
-0.010352738,
0.047858335,
0.0013917261,
0.027124457,
-0.02074808,
0.014755137,
0.026172971,
0.017623797,
-0.018958718,
-0.012610743,
0.012781158,
-0.044989675,
0.0065751956,
-0.007164549,
0.028530385,
0.041297343,
0.026883036,
-0.0023343365,
0.017041543,
0.022423832,
0.00013313706,
-0.003841448,
0.024568226,
0.001114801,
-0.005992943,
0.013540927,
0.004015414,
0.05109623,
0.022750461,
0.04655182,
0.026627412,
-0.00044600916,
0.033543438,
0.0129728755,
0.0028846364,
0.0010020783,
-0.0013482347,
-0.00041427815,
0.04669383,
0.040303253,
0.00041405627,
-0.011240318,
0.008684087,
-0.014300696,
-0.015578812,
0.0060213455,
-0.036355294,
0.07469877,
0.0011582924,
0.04237664,
-0.032151714,
-0.021912586,
0.027862925,
0.035702035,
-0.018419068,
-0.05828208,
-0.015024962,
0.010970494,
-0.016871128,
-0.00012636927,
0.03044756,
0.034367114,
-0.024767045,
0.024198992,
0.008890006,
-0.039053537,
-0.0094935605,
-0.056350708,
-0.06157678,
-0.0012683524,
-0.0116663575,
0.015138572,
0.033032194,
-0.011545646,
-0.019398957,
-0.019526768,
-0.002142619,
0.018490076,
0.002558007,
0.043342326,
0.02195519,
-0.017382376,
-0.057117574,
0.013661638,
-0.017893622,
0.05660633,
0.02505107,
-0.032265324,
0.011787068,
-0.011403633,
0.024696037,
0.005123114,
-0.008875804,
0.023204902,
0.008776396,
0.0077752047,
0.02228182,
0.014911351,
0.02118832,
0.008421363,
-0.051692683,
0.023758752,
0.015365792,
-0.03101561,
0.013505423,
0.046750635,
-0.029765896,
0.034935165,
-0.030504365,
0.06259927,
-0.01556461,
0.039848812,
0.035332803,
-0.042575456,
-0.037178967,
-0.06390579,
-0.026954042,
-0.05220393,
-0.022679456,
-0.04126894,
-0.00607105,
0.06390579,
-0.01026043,
-0.0695295,
0.005882883,
-0.043853574,
-0.053141214,
-0.02195519,
-0.025178881,
0.034395516,
0.037974242,
0.019228542,
-0.03763341,
0.00078639627,
0.0059751915,
0.024738641,
0.000590241,
-0.025349297,
0.031186026,
0.033287816,
-0.0028526834,
0.018958718,
0.05791285,
-0.066177994,
-0.008023727,
0.039962422,
-0.004835538,
0.04337073,
0.009578768,
-0.01931375,
-0.0033248763,
0.033912674,
-0.05569745,
0.005052108,
0.012085295,
0.006994134,
0.028942222,
0.040019225,
0.02627238,
0.0474323,
-0.011680558,
-0.014982358,
-0.010622563,
0.0112048155,
0.035900854,
-0.026215576,
0.025988355,
-0.02283567,
-0.045841753,
-0.024653435,
-0.011708961,
-0.032662958,
0.04689265,
0.017226161,
0.037178967,
-0.025789537,
0.008918408,
0.021500748,
-0.0027550496,
0.032180116,
0.019185938,
0.040644083,
-0.04658022,
-0.021869982,
0.004004763,
-0.023432123,
0.009046219,
-0.008953911,
-0.0082225455,
-0.033884272,
-0.031640466,
-0.0419222,
0.026670016,
0.045614533,
0.007405971,
0.017964628,
0.05473176,
-0.04291629,
0.030589571,
0.024454616,
0.013391813,
-0.029481871,
-0.02738008,
0.045074884,
0.012056893,
0.008478168,
-0.0113894325,
0.0032893731,
-0.05194831,
0.004455654,
0.0017476459,
0.0021763472,
-0.036184877,
-0.0076189903,
-0.023815557,
0.036809735,
-0.031924494,
-0.014584722,
-0.036781333,
0.035275996,
0.05828208,
-0.056663133,
-0.002075163,
-0.06203122,
-0.011077004,
0.04027485,
-0.018717296,
-0.04027485,
-0.008968113,
-0.008890006,
-0.031100819,
0.031384844,
0.017524388,
0.02130193,
0.02140134,
-0.032407336,
0.013477021,
0.026797827,
-0.014641527,
-0.0061314055,
0.049619295,
0.00084142626,
-0.030873597,
0.022494838,
0.04490447,
-0.02294928,
0.033429828,
-0.00595744,
0.028175354,
-0.042433444,
-0.052573163,
-0.014613125,
0.008968113,
-0.002030784,
0.021756371,
0.008733791,
-0.011737363,
0.009827291,
0.042234626,
-0.014655728,
-0.03013513,
-0.0073065623,
0.011524344,
-0.012781158,
0.022793066,
0.026243977,
0.0054106903,
0.025349297,
0.020989502,
-0.04004763,
0.013335008,
-0.017140953,
0.019711386,
-0.024909057,
-0.012099496,
0.011197715,
-0.05561224,
0.035219193,
0.016856927,
-0.020052217,
-0.036184877,
-0.05856611,
-0.023545733,
-0.0003275172,
-0.026726821,
0.050726995,
0.026897237,
-0.011424935,
0.034281906,
-0.007995324,
-0.046523415,
-0.042234626,
-0.054873772,
0.021685366,
0.061406363,
0.019398957,
0.045074884,
-0.010771676,
0.001220423,
0.07748222,
-0.031583663,
0.008868704,
-0.036894944,
-0.008286451,
-0.01688533,
-0.035929255,
-0.010721971,
0.004469855,
0.032804973,
0.019029723,
-0.018333862,
-0.010402443,
0.013491223,
-0.033145804,
-0.046949454,
0.082821906,
-0.023375317,
-0.053879682,
-0.0047503305,
0.022679456,
0.0023733901,
0.02925465,
0.019256946,
-0.01688533,
-0.035900854,
-0.07384669,
0.03465114,
-0.02306289,
-0.0076402924,
-0.039934017,
-0.040246446,
-0.025661726,
0.03024874,
0.013370511,
-0.012717253,
0.015465202,
-0.048142362,
0.030532766,
-0.072369754,
-0.012568139,
-0.01688533,
0.023630941,
-0.005570455,
-0.008897106,
0.00020247929,
-0.033032194,
0.041893795,
0.045813352,
0.0264712,
0.025420303,
-0.034253504,
-0.023332715,
0.018007232,
0.01422969,
0.0010819605,
0.034594335,
-0.020890092,
0.036781333,
-0.017084148,
0.053340033,
-0.0045834654,
-0.015735026,
-0.02581794,
-0.04567134,
0.07129046,
-0.037718616,
-0.006908926,
0.009770486,
-0.009103025,
0.042518653,
0.034906764,
-0.045330506,
0.031470053,
-0.064189814,
-0.04368316,
0.0031313838,
-0.019469963,
-0.027777717,
-0.010416644,
0.006159808,
0.022636851,
-0.020790683,
0.016388286,
0.04933527,
-0.014165783,
-0.025448706,
-0.06810937,
0.042518653,
0.013548028,
0.044450026,
-0.02571853,
-0.016558701,
-0.012312516,
-0.018930316,
-0.070665605,
-0.06044068,
-0.028430976,
0.0034242852,
0.033912674,
-0.011020198,
0.032492545,
-0.033969477,
-0.037605006,
-0.023687746,
0.031413246,
0.00024208757,
0.016544499,
0.012319616,
0.011155111,
-0.015081767,
0.01964038,
-0.030390754,
-0.023574136,
-0.017780012,
0.06969991,
-0.0082225455,
-0.035730436,
0.032549348,
0.013988268,
-0.05396489,
-0.06612119,
-0.036156476,
-0.030816792,
-0.040530473,
-0.029709091,
0.019995412,
-0.0014884723,
-0.01202849,
0.012866366,
0.061974417,
-0.022878272,
0.0030710283,
0.0034828656,
-0.00022178415,
-0.06805257,
-0.015152773,
0.02482385,
-0.013775248,
-0.017993031,
0.010075813,
0.019569373,
-0.02361674,
-0.010381141,
0.034168296,
-0.013320807,
0.025903147,
0.034509126,
0.024539825,
0.029070035,
-0.008364558,
0.017410778,
-0.02415639,
-0.037320983,
-0.037377786,
-0.013704242,
0.036980152,
-0.00079971,
0.021387137,
-0.037775423,
0.000043741074,
0.007334965,
0.048028752,
-0.025732731,
-0.054106902,
0.0017503086,
-0.038428683,
-0.031157624,
0.019015523,
-0.022991883,
0.004505358,
0.017666401,
-0.008250948,
-0.05365246,
0.008733791,
-0.0013668739,
-0.021912586,
-0.040587276,
-0.04348434,
0.007292361,
-0.038144656,
-0.0073704678,
-0.0050130542,
-0.04876722,
0.010757475,
0.035190787,
0.022480637,
0.041780185,
-0.020435652,
0.028743405,
-0.046267793,
0.012042691,
-0.011801269,
0.02327591,
-0.011744464,
0.030845195,
-0.009969303,
0.032691363,
0.028715001,
-0.012703051,
-0.011836773,
0.0093089435,
-0.010445046,
-0.0015665794,
-0.0010588835,
0.030475961,
0.019058127,
-0.023190701,
0.0032396687,
-0.0031793131,
-0.062315248,
-0.0014671704,
-0.037690215,
-0.0275931,
-0.022040397,
0.038968332,
-0.003873401,
0.040076032,
0.01864629,
0.032946985,
-0.016629707,
0.039309163,
0.009862794,
0.008598879,
0.012376421,
0.038116254,
0.013271103,
-0.052374344,
0.023488928,
0.025462907,
-0.022807267,
-0.0017733857,
-0.01522378,
0.011176413,
-0.013292405,
-0.0014884723,
0.06328093,
0.05385128,
0.0076331915,
-0.01269595,
-0.011282923,
0.0014902476,
-0.031299636,
0.004778733,
-0.089240886,
-0.033429828,
0.035020374,
-0.022920877,
0.01313619,
-0.0111693125,
0.024142187,
-0.0032023902,
0.06538273,
0.0025864094,
0.009145629,
0.031697273,
0.028999027,
0.017510187,
-0.0047183777,
-0.013413115,
-0.033628646,
0.012518435,
-0.036298487,
-0.06737091,
0.016217869,
0.045983765,
0.008769294,
-0.033713855,
-0.06015665,
0.025576517,
0.029112639,
0.008492369,
-0.057344798,
0.03453753,
-0.032407336,
0.052374344,
0.0010340312,
-0.005041457,
-0.001749421,
0.017922023,
0.033969477,
0.007647393,
-0.0037029856,
0.062883295,
0.009458057,
-0.042575456,
0.059418183,
0.008882905,
0.042348236,
-0.016757518,
0.031640466,
0.016388286,
0.062712885,
0.016572902,
-0.004945598,
-0.014513715,
0.038201462,
0.019768192,
-0.0017059296,
0.0070154355,
0.0551578,
0.031839285,
-0.04612578,
0.008293551,
-0.032492545,
0.012007188,
-0.014087677,
-0.01389596,
-0.011133809,
-0.006447384,
-0.0137823485,
-0.016416688,
-0.04447843,
0.039877214,
0.010906588,
-0.0452453,
-0.002804754,
0.046495013,
0.02306289,
-0.0016198343,
0.026428595,
0.01887351,
0.0562655,
0.04149616,
0.002337887,
0.037122164,
-0.016729116,
0.045216896,
0.0047467803,
0.0037988443,
0.0038343475,
-0.04822757,
-0.029936312,
-0.014329098,
-0.050386164,
0.034281906,
0.0034704395,
-0.0397352,
0.014329098,
-0.039081942,
-0.017936226,
-0.015493604,
0.0059325877,
-0.06725729,
-0.009663976,
0.020279437,
0.009948001,
-0.03465114,
0.049960125,
-0.0022988333,
0.022963481,
0.0187599,
0.045103285,
0.0061207544,
0.09725041,
0.06259927,
0.010558656,
0.0054248916,
0.037462994,
-0.029765896,
-0.007384669,
-0.012262811,
-0.031157624,
0.015323188,
-0.034480724,
-0.043739963,
-0.004789384,
-0.0015372894,
-0.013917261,
-0.028331567,
0.011843873,
-0.038769513,
-0.039706796,
0.002217176,
0.089013666,
0.0038023945,
-0.0016801897,
-0.012596541,
-0.004445003,
-0.048852425,
-0.004544412,
-0.008442665,
0.019853398,
-0.00017385482,
-0.034878362,
-0.02516468,
-0.038087852,
-0.0209611,
-0.005605958,
0.007768104,
-0.038031045,
0.005218973,
0.043086704,
0.028075945,
0.044222806,
-0.028288964,
-0.0022597797,
0.034423918,
0.06390579,
-0.004658022,
0.07384669,
0.051039424,
0.023375317,
0.008478168,
-0.0072994614,
0.02837417,
-0.04402399,
0.013839154,
-0.031725675,
0.018958718,
-0.07009755,
-0.02140134,
-0.0013828503,
0.031356443,
-0.010643864,
-0.059531793,
-0.062712885,
0.023474727,
-0.08361718,
-0.009884096,
-0.047148272,
0.014840345,
0.007860412,
-0.010338536,
-0.046097375,
-0.026797827,
0.2406266,
0.06703007,
0.030845195,
0.016061656,
0.020151626,
0.050471373,
0.04731869,
-0.009813089,
0.019725587,
-0.02956708,
-0.0068166177,
-0.040331654,
0.0027372981,
-0.0014192411,
0.009770486,
0.025022667,
-0.023602538,
-0.033855867,
0.0020378847,
-0.040104434,
-0.037320983,
0.012071094,
0.011602451,
0.018532678,
0.0033905571,
0.0136545375,
0.012312516,
-0.025903147,
0.004334943,
-0.031896092,
0.026201375,
-0.020577665,
0.043739963,
-0.0053538852,
0.009237937,
0.046523415,
0.016771719,
-0.038428683,
-0.0132356,
-0.017808413,
0.021600157,
0.004104172,
0.0015514906,
-0.014364602,
-0.04944888,
0.030163534,
-0.015976448,
0.038485486,
0.014655728,
-0.0948646,
0.021358736,
-0.061860807,
0.021756371,
-0.015465202,
-0.023574136,
-0.028601391,
-0.041666575,
-0.033912674,
-0.01457052,
0.030816792,
-0.006266318,
-0.005396489,
-0.025661726,
0.018830907,
-0.035389606,
0.021770572,
-0.019611977,
0.008009526,
-0.017808413,
-0.010622563,
-0.032890182,
0.004494707,
0.0028775358,
-0.013846255,
0.03277657,
0.041410953,
0.0010269305,
0.023048688,
0.009578768,
-0.031555258,
-0.013363411,
-0.004494707,
0.039451174,
-0.015649818,
0.025420303,
-0.005662763,
-0.028658196,
-0.0002405343,
-0.013427317,
0.052800383,
0.008669886,
0.009067521,
-0.0031384844,
0.0004446778,
-0.02338952
] |
This model only supports inference. This is for a few reasons, mostly because it requires a crazy amount of memory to train. Feel free to open a PR and add what's missing to have a full integration with the hugging face trainer!
This model is very slow, and takes 8h to generate a minute long audio using the 5b top prior on a V100 GPU. In order automaticallay handle the device on which the model should execute, use accelerate.
Contrary to the paper, the order of the priors goes from 0 to 1 as it felt more intuitive : we sample starting from 0.
Primed sampling (conditioning the sampling on raw audio) requires more memory than ancestral sampling and should be used with fp16 set to True. |
[
0.071240745,
0.00839322,
0.02401289,
0.0025763046,
-0.032970674,
-0.021363191,
0.006955458,
0.013760365,
0.03327178,
0.05699862,
0.04052834,
-0.004317051,
0.009334164,
-0.011637595,
-0.003172863,
0.003408099,
0.02791216,
-0.056095313,
-0.048537653,
-0.006262923,
0.05865468,
0.0050133495,
-0.07045788,
-0.06425518,
-0.011110666,
0.04567718,
0.04116065,
-0.04670093,
0.043268368,
0.05395749,
-0.01537126,
-0.012578539,
0.032338362,
-0.040438008,
0.008310417,
-0.007049552,
0.01420449,
-0.03784853,
-0.031194175,
-0.04094988,
0.019360863,
-0.033331998,
0.016470283,
-0.02207078,
-0.041371424,
0.004531586,
-0.01805107,
0.018337116,
0.011110666,
-0.0351085,
0.021363191,
0.007019442,
0.05513179,
-0.0005302219,
-0.014927135,
-0.034927838,
-0.0181414,
0.008445913,
-0.050645366,
-0.005257995,
0.02684325,
0.008837346,
0.01699721,
-0.070337445,
-0.0023561236,
0.03817974,
-0.01199139,
0.031585608,
-0.007572717,
-0.00018477786,
-0.018924264,
0.021453522,
-0.018005904,
-0.0009127156,
-0.020866374,
0.019421084,
0.0022432103,
-0.016515449,
-0.054770466,
0.045797624,
-0.037426986,
0.0042907046,
0.018352171,
0.011471989,
-0.019345807,
-0.02867997,
0.076720804,
-0.009680431,
0.0011517154,
0.011381658,
0.007911457,
0.030110206,
0.011268745,
0.02714435,
0.029673608,
0.024223661,
0.010079391,
0.04212418,
0.02914668,
0.028243374,
0.03941426,
0.05994942,
-0.043147925,
0.018608108,
0.0006196116,
0.016741274,
0.028258428,
-0.009620211,
-0.02917679,
-0.030155372,
-0.01537126,
0.005879018,
-0.0324588,
0.019406028,
0.016214347,
0.02708413,
0.033873983,
0.035861257,
-0.030486584,
-0.0056870654,
0.019496359,
0.026662588,
-0.032579243,
-0.02333541,
0.0037374294,
0.0054461835,
-0.000554216,
0.06280989,
-0.025608731,
-0.0010613848,
0.0043885624,
-0.048718315,
-0.024419377,
0.016364897,
0.0058827815,
0.018593052,
0.0021020689,
0.014084049,
0.0542887,
-0.013993719,
0.018307006,
0.01684666,
-0.026015218,
0.088042244,
0.0032161465,
0.0058338526,
0.00082332594,
-0.0026101784,
-0.04088966,
0.0032838944,
-0.0277315,
-0.013180743,
-0.0019025886,
0.049982943,
0.0162294,
-0.0075237877,
-0.0018743604,
0.018623162,
0.010779453,
0.020038342,
-0.0039896024,
0.0013126169,
-0.02038461,
0.05856435,
-0.057269614,
0.05802237,
-0.015175544,
-0.02469037,
-0.00946966,
-0.011780619,
0.011351548,
0.023651566,
-0.0010698533,
0.031254396,
0.03649357,
0.04088966,
0.020941649,
-0.011886004,
0.010493407,
0.05245198,
0.002499147,
0.014701309,
0.019119982,
0.033000786,
-0.029778995,
-0.024208605,
-0.009718069,
-0.028695026,
-0.0029583278,
0.056275975,
0.040076684,
0.028454145,
-0.018623162,
0.0009936368,
-0.026918525,
0.0051940107,
-0.023741897,
0.014174379,
-0.00584138,
-0.03528916,
-0.035469823,
0.048778534,
-0.027355123,
0.041552085,
-0.020459885,
-0.022913868,
-0.0051300265,
0.02991449,
-0.021092199,
0.025638841,
0.048868865,
0.006658119,
-0.0136926165,
-0.042997375,
0.007775961,
0.023591347,
-0.035590265,
-0.004260594,
-0.022552544,
0.004298232,
0.02283859,
0.027686335,
-0.00077769015,
0.018623162,
-0.0046294443,
-0.0069253473,
-0.006138718,
0.038420625,
-0.04076922,
0.0060333326,
-0.01494219,
0.019330753,
-0.009853565,
0.054650024,
0.031344723,
0.017328424,
0.008476023,
0.06311099,
-0.009236306,
0.024148386,
0.0014415261,
0.0076479926,
0.03239858,
0.02115242,
-0.011268745,
-0.002836005,
-0.0075501343,
-0.0055440417,
0.012518318,
-0.016410062,
-0.041612305,
0.030832851,
0.011148304,
0.016259512,
-0.05982898,
-0.010109502,
-0.0075952997,
0.028183153,
-0.026165769,
-0.048929084,
0.003696028,
0.016410062,
0.023606401,
-0.02791216,
-0.0033704613,
-0.00372802,
0.040227234,
-0.030516693,
0.009018007,
-0.057661045,
-0.00023758835,
-0.043569468,
-0.07985227,
0.0015949,
-0.024735535,
0.003914327,
-0.03062208,
-0.053114403,
0.019948011,
-0.07605838,
-0.000053251548,
-0.020339444,
-0.034686957,
0.0196168,
0.016906882,
0.009228778,
-0.036704343,
0.0024953834,
-0.010862257,
-0.0047724675,
0.016214347,
-0.026120603,
-0.0016231283,
-0.022100892,
-0.015913244,
0.019074816,
0.006161301,
-0.010598793,
0.0028472964,
-0.03065219,
-0.055071566,
0.015145434,
-0.0477849,
-0.048296772,
-0.036915112,
0.031585608,
-0.02265793,
-0.049832392,
0.037667867,
0.057239503,
-0.045978285,
0.026858304,
-0.014362568,
0.0037901222,
-0.03778831,
0.07136119,
0.02631632,
0.02475059,
-0.0018546005,
-0.008731959,
-0.046189055,
0.02837887,
-0.0062967967,
-0.015326095,
-0.037607647,
0.009943896,
-0.007501205,
-0.041732747,
0.014686253,
-0.034325637,
-0.028649861,
-0.012698979,
-0.050434597,
0.019601744,
0.03176627,
-0.016590724,
-0.0032631936,
-0.019180201,
-0.02324508,
0.008107173,
-0.00048882037,
-0.02542807,
0.049832392,
0.033934202,
-0.0055929706,
0.00004548876,
0.0029809105,
-0.019270532,
-0.00292069,
-0.035921477,
0.0027306194,
0.0321577,
-0.009266416,
0.025954997,
0.010312745,
0.070939645,
-0.003374225,
0.0147163635,
0.0028548238,
-0.0106891235,
0.020188894,
0.0392336,
0.014091576,
-0.010004116,
-0.018246785,
-0.03962503,
-0.019436138,
0.019917902,
0.049440958,
-0.078286536,
0.00047164815,
0.0084835505,
-0.05648675,
0.048718315,
-0.024539819,
0.0033497605,
0.019932957,
-0.00799426,
0.06323143,
-0.010681596,
-0.0006600722,
0.020941649,
0.018577997,
0.060220413,
-0.0022883757,
0.011321438,
-0.01946625,
-0.011178414,
-0.029342396,
0.013421625,
-0.028363815,
-0.033151336,
-0.002248856,
-0.017238094,
-0.028770301,
-0.042726383,
0.04037779,
0.034927838,
0.0029112806,
0.027038965,
0.03390409,
-0.0050735697,
0.0067747966,
0.064375624,
-0.020309335,
0.0051112077,
-0.03820985,
0.04239517,
0.026060384,
-0.047273025,
0.003895508,
-0.009251361,
0.019902846,
0.016259512,
0.0225676,
-0.0010218652,
-0.054619916,
-0.0074409847,
-0.014053939,
0.026767973,
-0.01199139,
-0.03947448,
-0.040588558,
0.04221451,
0.058775123,
-0.06654356,
-0.010591265,
-0.031645827,
0.01826184,
0.016003575,
0.00456546,
-0.050043162,
-0.042967264,
-0.028002491,
-0.08280307,
0.006782324,
0.034265414,
0.015243292,
0.0031051151,
-0.07473353,
0.02914668,
0.0062704505,
-0.019315697,
0.008077063,
0.02761106,
-0.016936991,
-0.001912939,
0.043087706,
-0.02530763,
-0.017087542,
0.04850754,
-0.02207078,
-0.010463296,
0.015273402,
0.0027287374,
0.010832147,
0.037065662,
-0.024043,
0.007083426,
0.0010849084,
-0.020053398,
0.018924264,
0.006157537,
-0.0262561,
-0.067747965,
0.018593052,
0.015807858,
0.02628621,
0.05657708,
0.028649861,
-0.011389186,
-0.013112995,
0.010403076,
-0.034777287,
0.004230484,
-0.008897566,
0.0127592,
0.013240963,
0.01057621,
-0.007245268,
-0.03932393,
0.038992718,
0.005660719,
0.013903388,
0.013421625,
-0.05705884,
-0.008980369,
-0.0015647898,
-0.029372506,
0.009507298,
0.009620211,
-0.028890744,
0.011057973,
-0.02985427,
-0.025864666,
-0.054559693,
-0.056245867,
0.011818256,
0.027686335,
0.057841707,
0.0454363,
0.00235236,
-0.0103729665,
0.007508733,
-0.013112995,
0.020745933,
0.012488208,
-0.0061838836,
0.024630148,
0.012834475,
-0.04642994,
0.018653274,
-0.005141318,
0.012089248,
0.03221792,
-0.008197504,
0.06395408,
-0.036132246,
-0.024449488,
0.02345585,
-0.011291327,
-0.065278925,
-0.016063794,
0.027596004,
0.013075357,
0.041220874,
0.038781945,
-0.027445452,
-0.034054644,
-0.047002032,
-0.0016824078,
-0.05985909,
-0.03522894,
-0.016364897,
-0.05964832,
0.00045282926,
-0.008400748,
0.0070307334,
-0.057239503,
-0.009462132,
-0.043238256,
0.023967724,
-0.009695486,
0.017478975,
-0.0155067565,
0.010199833,
-0.009725597,
0.030441418,
0.01905976,
-0.040227234,
0.0005386904,
-0.0065903715,
0.037517317,
0.0005504522,
-0.042033847,
-0.0033252959,
-0.001359664,
0.03501817,
-0.02416344,
0.05534256,
-0.012156996,
0.060310744,
-0.023516072,
-0.0002261794,
-0.005894073,
-0.011306383,
-0.01764458,
-0.031404946,
0.05874501,
-0.03167594,
0.031164063,
-0.040227234,
0.0020907775,
-0.0020362027,
-0.020203948,
-0.027264792,
-0.022371883,
-0.03221792,
-0.051699225,
0.0061537735,
-0.010907422,
0.008077063,
-0.031946927,
-0.048627984,
0.012909751,
-0.007568953,
0.041642416,
0.08322461,
-0.011396714,
0.03778831,
-0.047182694,
0.023606401,
0.014001246,
-0.005762341,
0.015130378,
0.00090095383,
-0.046008397,
0.019993177,
-0.013466789,
-0.051518563,
-0.034054644,
0.007896402,
0.022266498,
-0.012977499,
0.031796377,
-0.023681678,
-0.06274967,
0.006838781,
0.05097658,
0.013030192,
0.0013634277,
0.011276272,
0.021107255,
-0.0020042106,
0.024329048,
0.017147763,
-0.021814844,
-0.05236165,
0.030080097,
0.012691452,
-0.021453522,
0.015213182,
0.041281093,
-0.059166554,
-0.021664293,
-0.013414097,
-0.0009691723,
-0.042666163,
-0.028589642,
0.01199139,
-0.012932333,
-0.051849775,
0.019797461,
-0.00946966,
-0.019330753,
-0.026918525,
0.016590724,
-0.006259159,
-0.038872276,
0.047182694,
0.058534242,
-0.008122228,
-0.0003366227,
-0.052903634,
-0.020836262,
-0.0026779266,
-0.0073243077,
0.040287457,
-0.016711164,
-0.0067936154,
0.016485337,
-0.0075124963,
0.08370637,
-0.004234248,
0.015973464,
0.03221792,
0.0040197126,
-0.06564025,
-0.023772009,
-0.010734289,
-0.013790474,
0.024118274,
0.0003123934,
0.019511413,
0.04368991,
0.02127286,
-0.025985109,
-0.059497766,
-0.03634302,
-0.056275975,
-0.019526469,
-0.034446076,
-0.027987437,
-0.008046953,
0.024991471,
0.022612765,
-0.06130438,
0.00029898493,
0.042967264,
0.008137283,
0.017343478,
-0.020595381,
0.012104303,
-0.042846825,
0.008626574,
0.013210853,
0.008159866,
-0.004064878,
-0.003590642,
0.006782324,
-0.009582574,
-0.023576291,
0.029432727,
-0.0077609057,
0.00008909563,
-0.002534903,
0.008438385,
-0.053505838,
-0.005559097,
-0.06503805,
0.03941426,
0.0069629853,
-0.0154314805,
0.0144002065,
-0.03652368,
-0.017102597,
0.005291869,
-0.012360239,
0.052030437,
-0.049832392,
0.006612954,
-0.003575587,
0.005205302,
-0.07238494,
0.008747015,
0.02038461,
0.0009235365,
0.0074673314,
0.0033986894,
0.02914668,
0.027008856,
0.0014170615,
0.0034344455,
0.007926512,
-0.010485879,
-0.012616176,
-0.005081097,
0.021649238,
-0.03519883,
0.035650484,
-0.05106691,
-0.016665999,
0.007941567,
-0.066061795,
-0.0106138475,
-0.00004178379,
-0.008235142,
-0.038902387,
-0.010824619,
-0.0047724675,
0.040016465,
0.028484255,
0.010967643,
-0.012608649,
-0.011148304,
-0.042816713,
-0.010990226,
-0.086536735,
-0.036885004,
0.034476187,
-0.033783652,
0.03908305,
0.0006981804,
0.008460968,
0.03908305,
0.021875065,
-0.0047197747,
0.031555496,
-0.026210934,
-0.019104926,
0.010756872,
-0.03935404,
-0.042726383,
0.018352171,
0.039865915,
-0.015070158,
-0.03625269,
-0.0095901005,
0.034114864,
-0.014994883,
-0.017087542,
0.0007419343,
-0.008807235,
0.039203487,
0.033964314,
-0.028619751,
0.037125885,
-0.01595841,
0.040709,
-0.026933579,
-0.0032669574,
-0.007866291,
0.012864586,
0.03528916,
0.017990848,
0.013451735,
0.01525082,
0.077684335,
0.0029827922,
0.032278143,
0.016530503,
0.05269286,
-0.010500935,
-0.017313369,
-0.009876148,
0.074131325,
0.04344903,
0.022311663,
0.015017466,
-0.0066543557,
0.03489773,
-0.06762753,
-0.025202243,
0.009725597,
0.04110043,
0.018502722,
0.039444372,
0.014272238,
0.015868079,
0.00089436723,
-0.03327178,
0.015521811,
-0.009085755,
-0.0032123826,
-0.040317565,
-0.039986353,
0.035650484,
-0.040287457,
-0.014964772,
-0.00007104127,
0.006831253,
0.048688203,
-0.008521188,
0.0062666866,
-0.0062365765,
-0.01494219,
0.07991249,
0.04525564,
0.034476187,
-0.0035285398,
0.020203948,
-0.0034551462,
0.027294902,
0.021016924,
-0.0060634427,
0.0032989495,
-0.06515849,
-0.028107878,
-0.0030806505,
-0.0031333433,
-0.007617882,
0.027565895,
-0.0062855054,
-0.019390972,
-0.03384387,
0.0049117273,
-0.008332999,
0.048627984,
0.050645366,
-0.02124275,
-0.035921477,
0.056215756,
-0.020655602,
0.012593593,
0.022417048,
0.024795756,
0.015062631,
0.07617882,
0.0027776666,
0.006315616,
0.002100187,
0.0030260757,
-0.039745472,
-0.022266498,
0.048296772,
-0.030019876,
0.007956622,
-0.018984485,
-0.039745472,
0.0020851318,
-0.008009315,
0.003974547,
-0.043208145,
0.025834557,
0.008046953,
-0.07015678,
0.008972841,
0.01737359,
-0.006225285,
0.02176968,
-0.050404485,
-0.0060559153,
-0.04649016,
-0.031133953,
-0.0076668113,
0.025111912,
-0.016906882,
-0.02702391,
-0.03071241,
-0.016319731,
-0.01583797,
0.017900517,
-0.021333082,
0.0016739393,
0.022462213,
0.01826184,
0.02333541,
0.031013513,
0.013173215,
-0.02130297,
0.01805107,
0.061515152,
0.016425118,
0.06642312,
0.047303133,
0.007474859,
-0.010538572,
-0.024765644,
0.018758658,
0.021724515,
0.010470824,
-0.030667245,
-0.025503345,
-0.023922559,
-0.07822631,
-0.0365839,
0.041220874,
0.01805107,
-0.039444372,
-0.034144975,
-0.044563107,
-0.059377328,
0.003948201,
-0.0362828,
0.033873983,
0.020911539,
-0.008332999,
0.009597628,
-0.031796377,
0.27364156,
0.044653434,
-0.0027946036,
-0.013474317,
0.043238256,
0.061123718,
0.063472316,
-0.026496982,
0.0073581818,
-0.03908305,
-0.0038842165,
0.004915491,
0.0124279875,
0.016139071,
0.003507839,
0.015551922,
-0.05130779,
0.005220357,
-0.0022225096,
-0.01607885,
-0.04679126,
0.043298475,
0.0043433974,
0.06558003,
0.036132246,
0.034927838,
0.014362568,
-0.04507498,
-0.025142021,
-0.060431182,
0.008844873,
-0.038992718,
0.020881427,
-0.01820162,
-0.016650945,
0.01122358,
0.0012665106,
-0.02345585,
-0.01355712,
0.027038965,
-0.019556578,
0.0024182259,
-0.021438466,
-0.041461755,
-0.030817796,
0.073830225,
-0.013963608,
0.021995505,
0.025774337,
-0.04519542,
0.015762692,
0.0070043867,
0.06000964,
0.010794509,
-0.03513861,
0.02425377,
0.00949977,
-0.059136447,
0.006680702,
-0.007418402,
0.042786602,
-0.007775961,
-0.037276436,
0.010659013,
-0.025021581,
-0.006665647,
-0.025337739,
0.027340068,
0.012518318,
0.030185482,
0.0067672688,
0.0010359793,
-0.05678785,
-0.035710704,
0.01687677,
-0.00012102891,
-0.0093492195,
0.047724675,
-0.0110880835,
-0.045978285,
-0.007034497,
-0.0021679348,
0.0125107905,
-0.047032144,
0.019631855,
0.02062549,
-0.06612201,
-0.02103198,
0.007136119,
0.0069065285,
0.0028435327,
0.038631395,
0.004354689,
0.013511955,
-0.0029771468
] | This model was contributed by Arthur Zucker.
The original code can be found here.
Usage tips |
[
-0.0000990332,
0.0092366785,
0.0017242637,
0.0024202392,
0.00010239215,
-0.057326168,
-0.014661168,
-0.02937966,
-0.0052059325,
0.04219206,
0.014159563,
-0.03310586,
0.03878115,
-0.06047911,
0.019347582,
-0.0013319377,
-0.01189518,
-0.045774944,
-0.051708203,
-0.019132609,
0.0046971627,
-0.004442778,
-0.057698786,
-0.002658501,
-0.023446403,
0.04276532,
0.027946508,
0.028878057,
0.073033534,
0.031844687,
0.015048119,
-0.026484689,
0.00037687476,
-0.00039792422,
-0.0007573324,
-0.023073783,
0.03001025,
-0.006635504,
-0.018974962,
-0.036459442,
0.02975228,
-0.027401907,
0.031099446,
-0.065294504,
-0.04525901,
-0.044943716,
0.02824747,
-0.009100529,
-0.003548848,
-0.030268217,
-0.036516767,
0.0027462817,
0.016323626,
-0.0029970838,
0.028032497,
-0.013693788,
0.015607049,
-0.02285881,
-0.041762114,
0.01389443,
0.011135608,
0.038695164,
0.013887264,
-0.06254285,
-0.002925426,
0.021396993,
0.0054280716,
-0.005281173,
-0.03668875,
-0.041332167,
-0.05698221,
-0.0013014831,
-0.03783527,
-0.029494314,
-0.010103737,
-0.0051486064,
-0.0043603717,
-0.029150356,
0.023102446,
0.040357623,
0.0131706875,
0.037777945,
-0.0007412094,
0.023489397,
-0.016323626,
-0.05445986,
0.058873974,
-0.030468859,
-0.025725117,
0.011329084,
0.0301249,
0.040271632,
-0.018616673,
0.03281923,
0.012869725,
0.037405323,
-0.0010426197,
0.043739866,
-0.0034037412,
-0.024220306,
0.025123194,
0.07739033,
-0.05113494,
0.031300087,
-0.024349289,
-0.014360205,
0.030468859,
0.004406949,
-0.030468859,
-0.02975228,
0.019605549,
-0.018029079,
0.01597967,
-0.0245356,
-0.01296288,
0.025395492,
0.01309903,
0.038207892,
-0.02285881,
-0.03195934,
-0.021210682,
0.0035506396,
0.019548222,
-0.03688939,
-0.004410532,
-0.037061367,
0.013070366,
0.019748865,
-0.054402534,
-0.02025047,
0.034195058,
-0.0036008,
0.01663892,
0.06626905,
0.013127692,
0.025710786,
-0.012891222,
0.04405516,
0.0162663,
-0.03241795,
-0.0025116028,
-0.03743399,
0.0033607467,
0.08117385,
-0.010634004,
0.010483523,
0.023575386,
-0.04778136,
-0.03456768,
0.0002501302,
-0.016466942,
0.023088114,
0.0008639233,
0.037348,
-0.0119166775,
0.01496213,
-0.043625213,
0.0076458775,
-0.0062413863,
0.012325126,
0.013292505,
-0.005449569,
-0.051564887,
0.016724909,
-0.046032913,
0.008835396,
-0.01616598,
0.010497854,
-0.0012862559,
-0.029981585,
-0.02546715,
0.023546724,
0.02677132,
0.031070784,
0.04571762,
0.01445336,
0.074696,
-0.0026853727,
0.027344583,
0.0034539015,
-0.019261593,
-0.004224222,
0.033478484,
0.02556747,
-0.020307794,
0.029136024,
-0.001571991,
0.008907054,
-0.01941924,
0.031242762,
0.006947215,
0.05984852,
-0.040357623,
0.015277424,
-0.038523186,
0.018000416,
-0.014059243,
0.004249302,
-0.009186518,
-0.0685621,
-0.016997209,
0.020064158,
-0.01370812,
0.008899887,
-0.049587134,
0.024793567,
0.0070833648,
0.050962962,
-0.05967654,
0.046348207,
0.05827205,
0.0113147525,
-0.036287464,
0.01765646,
0.0602498,
-0.029207682,
-0.03382244,
-0.0038874308,
0.033507146,
0.029250678,
-0.038981795,
-0.019935174,
0.026255384,
-0.028577095,
-0.0062019746,
0.007402241,
0.037004042,
0.042421363,
0.0061553973,
0.008176144,
0.024377953,
0.015205766,
-0.0032228054,
0.036058158,
0.03792126,
0.022672499,
0.041332167,
0.025323834,
0.033449817,
-0.017183518,
-0.026542015,
0.015377744,
0.030038912,
0.04525901,
0.0022142231,
0.021955922,
-0.011902345,
-0.035828855,
-0.024005333,
-0.04073024,
-0.030726826,
0.07618648,
0.042335376,
0.010662667,
-0.05686756,
-0.035341583,
0.023718702,
0.035742864,
-0.008104487,
-0.041074198,
0.052940715,
0.019132609,
0.008448444,
-0.024363622,
-0.0099747535,
0.059905846,
0.0013131276,
0.005356414,
-0.049701788,
0.003873099,
-0.05185152,
-0.07555589,
-0.098199725,
-0.0078035244,
0.0021640628,
-0.003980586,
0.033191852,
-0.058616005,
0.040214308,
0.001131296,
0.005779194,
0.026255384,
-0.03167271,
0.016022664,
0.015191435,
0.0097167855,
-0.07205899,
0.069078036,
-0.020293463,
0.061969586,
0.017226513,
-0.030640837,
0.00039949172,
-0.020121485,
0.0061553973,
0.007889514,
-0.011880849,
0.014525018,
0.003722618,
0.033679124,
-0.022084907,
0.047093447,
-0.016466942,
0.039927676,
-0.0368034,
0.028634422,
0.0049658795,
-0.030067574,
0.015865017,
0.036086824,
-0.03141474,
0.015019456,
0.00092975877,
0.051450234,
-0.023245761,
0.03932575,
0.039641045,
-0.023088114,
-0.027215598,
0.0025384743,
-0.023374746,
-0.04305195,
0.0067573222,
-0.010096571,
-0.01506245,
0.04935783,
-0.013614965,
-0.057985418,
0.0028698912,
-0.04118885,
-0.07882348,
0.027731534,
-0.0050518685,
0.027817523,
0.020049827,
0.012024163,
-0.037061367,
0.041561473,
0.010497854,
0.043653876,
-0.01045486,
-0.05557772,
-0.005754114,
0.03746265,
-0.0051808525,
0.024650251,
0.023159772,
-0.05067633,
0.0019455068,
-0.008634754,
0.0060013332,
0.052453443,
0.014016248,
-0.05354264,
-0.032790568,
0.021712286,
-0.030698163,
-0.023833355,
0.02463592,
0.0072302627,
0.027072283,
0.06581044,
0.0007313565,
0.0071120276,
-0.02406266,
-0.04044361,
-0.026928967,
0.035570886,
0.035083614,
-0.05669558,
-0.0020386619,
0.021984585,
-0.037032705,
0.020021165,
-0.025266508,
-0.04015698,
0.085473314,
-0.015736032,
0.037405323,
-0.016509937,
0.004478607,
-0.010347373,
-0.003002458,
0.01394459,
0.030354206,
0.052080825,
-0.030812815,
-0.025309503,
-0.00738791,
-0.01533475,
0.0041525643,
-0.00046308796,
-0.018072074,
-0.051077615,
-0.023131108,
-0.0067573222,
0.04044361,
0.051106278,
0.009702454,
0.0429373,
0.06816082,
-0.022242554,
0.05847269,
-0.008068658,
-0.0005638566,
0.0006404408,
-0.020537099,
0.014095072,
-0.0041991416,
0.028175812,
-0.0109206345,
-0.013607799,
-0.049615797,
0.026642336,
0.036000833,
0.038437195,
0.0035864683,
-0.008792401,
0.00618406,
0.03763463,
-0.0041453987,
0.026857309,
-0.042679332,
0.037004042,
0.0047186604,
-0.028304795,
0.019204266,
-0.037491314,
-0.001610507,
0.058386702,
-0.011594217,
-0.033965755,
-0.004937216,
-0.015248761,
-0.040816233,
0.011049619,
0.048927885,
-0.014281382,
0.0010381411,
-0.037806608,
0.01352181,
0.013478816,
-0.019562555,
0.029293671,
0.02992426,
-0.03688939,
-0.0047043287,
0.036774736,
0.017455818,
-0.012755073,
0.021798275,
-0.05448852,
-0.023045119,
-0.03559955,
-0.02983827,
0.009867267,
-0.019275924,
-0.025538808,
-0.023948006,
0.018473357,
-0.023776028,
-0.006621172,
0.029236345,
-0.014861809,
-0.07246028,
0.029694956,
-0.004661334,
0.015865017,
0.028491106,
0.0048046494,
-0.0028179395,
0.0059941676,
-0.016610257,
-0.030497521,
0.02629838,
0.0181294,
0.037863933,
-0.04812532,
-0.061281674,
-0.012360955,
-0.017269509,
0.048182644,
0.008649086,
-0.02238587,
-0.019806191,
-0.036459442,
-0.028691746,
0.0053241677,
-0.036574095,
0.025854101,
-0.0061339,
-0.016366621,
0.044370454,
-0.03614415,
-0.03241795,
-0.034395702,
-0.021396993,
0.0018648918,
0.030296879,
0.045832273,
0.069307335,
-0.03614415,
-0.04505837,
0.039182436,
0.013228013,
0.010676999,
-0.037663292,
-0.017183518,
-0.009344165,
-0.0386665,
-0.014410365,
0.015822023,
-0.023776028,
-0.0006543245,
0.028863726,
-0.012067159,
-0.021497313,
-0.048555262,
-0.05764146,
0.03617281,
0.0162663,
-0.0503897,
-0.0044499435,
0.043252595,
-0.013113361,
0.043252595,
0.025452819,
-0.03746265,
-0.025538808,
-0.022199558,
0.026355706,
-0.023948006,
0.053198684,
-0.02937966,
0.011078282,
-0.024019664,
0.010139566,
0.03104212,
-0.019834854,
-0.026556347,
-0.016581595,
-0.0027014955,
-0.054574512,
-0.003423447,
-0.030038912,
0.033134524,
0.013564805,
0.04841195,
0.0014089698,
-0.013607799,
0.02882073,
-0.0073019206,
0.030554848,
0.020393785,
-0.03195934,
-0.009229513,
-0.016882556,
-0.003321335,
0.019304587,
-0.008971545,
-0.00061312126,
0.047351416,
-0.06237087,
0.004299463,
-0.047236763,
-0.014532183,
-0.026341375,
-0.0029935008,
0.062772155,
-0.048211306,
0.0076100486,
-0.0135146445,
0.009071866,
0.013457318,
0.0015737824,
-0.043453235,
0.0007976399,
-0.03485431,
-0.03949773,
-0.0050662,
-0.030812815,
-0.04600425,
0.022629505,
0.017971754,
0.03923976,
-0.055090446,
0.026971962,
0.048841894,
0.007481065,
-0.018172394,
-0.035800193,
0.01728384,
0.015721701,
-0.00845561,
-0.009910261,
0.0189463,
-0.015764697,
0.003552431,
-0.047093447,
-0.0336218,
-0.013134859,
-0.012633254,
0.07068317,
-0.042994626,
0.024979878,
-0.042507354,
-0.0050733658,
-0.016008332,
0.043911844,
-0.02119635,
0.0022249718,
0.018616673,
-0.010304378,
0.03468233,
0.025553139,
-0.03207399,
-0.0466635,
-0.011515394,
0.021167688,
-0.019935174,
-0.022514852,
0.012289297,
0.003883848,
-0.021683622,
-0.021067366,
-0.025481481,
-0.0044463607,
-0.038895804,
-0.04505837,
-0.000101832324,
0.016724909,
-0.013156355,
0.010376036,
0.02983827,
0.0003784423,
0.023303088,
0.019533891,
-0.011673041,
-0.05119227,
0.06431996,
0.032303296,
-0.02341774,
-0.016724909,
-0.028892389,
0.014947798,
-0.014467692,
0.004503687,
0.02770287,
0.015908012,
0.016581595,
0.02509453,
0.020236136,
0.021970253,
-0.021139024,
0.00869208,
0.019648544,
-0.027960839,
-0.07056851,
0.016423946,
0.027717203,
-0.015449402,
0.032589927,
-0.040873557,
0.023905013,
0.020737741,
0.024349289,
-0.012604591,
-0.06844744,
-0.011078282,
-0.04978778,
0.0051736864,
0.007473899,
-0.038236555,
-0.008491439,
0.024822231,
-0.009745449,
-0.057125527,
-0.0034736076,
0.040644255,
-0.018659668,
-0.00771037,
-0.024320627,
-0.002860934,
-0.022987794,
-0.007832187,
0.021038704,
-0.010762988,
-0.020293463,
-0.0009870849,
-0.010870474,
0.007047536,
-0.026556347,
0.0081188185,
-0.02657068,
0.0048583928,
-0.012045661,
0.026470358,
-0.0010264966,
0.006696413,
0.003654543,
0.035656877,
0.024005333,
-0.022185227,
-0.0006252135,
0.035628214,
-0.004249302,
-0.028362121,
-0.0045538475,
0.05193751,
-0.020580094,
0.025553139,
-0.013536141,
0.03783527,
-0.06403333,
-0.014646836,
-0.026484689,
0.011508228,
-0.01250427,
0.015965337,
0.017871432,
0.059619214,
0.03310586,
0.02760255,
0.008613257,
0.014804482,
0.0245356,
0.0065280176,
0.013693788,
0.0038050243,
-0.014976461,
-0.07784893,
-0.015263092,
0.009258176,
-0.020809399,
0.015148439,
-0.011644377,
-0.008104487,
-0.03356447,
-0.015693039,
0.050619006,
0.030698163,
0.02509453,
-0.0009817106,
-0.0074094073,
-0.006198392,
-0.01877432,
-0.020694746,
-0.057182852,
-0.04806799,
0.023346081,
-0.01616598,
0.024549931,
-0.02370437,
0.019605549,
0.0067107445,
0.04414115,
0.043367244,
0.0012889431,
0.042163398,
-0.012468441,
0.03849452,
-0.053198684,
-0.012396784,
0.021611964,
0.026169395,
-0.03995634,
-0.059619214,
0.05557772,
0.059905846,
0.011902345,
-0.040672917,
-0.046434198,
-0.011644377,
0.0063882847,
-0.0028394368,
-0.056666918,
0.027831854,
-0.012977211,
0.00892855,
0.0020977794,
0.012654752,
-0.0037047036,
0.046147566,
0.03668875,
0.0068361457,
0.019318918,
0.04973045,
0.02760255,
-0.022070576,
0.015134108,
-0.014396034,
0.033793777,
-0.015549723,
-0.0017726326,
-0.00008240637,
0.039383076,
0.03932575,
0.0028788485,
-0.030640837,
0.034825645,
0.023159772,
-0.02192726,
0.023460735,
0.07727567,
0.020207474,
-0.043739866,
0.00017612122,
-0.06896338,
0.037262008,
-0.01506245,
0.007366413,
0.023088114,
0.015592718,
-0.03617281,
0.000066171415,
-0.029021373,
0.00717652,
-0.015463734,
-0.036516767,
-0.03428105,
0.005883098,
0.02592576,
0.022543516,
0.003031121,
-0.007696038,
0.04305195,
0.042077407,
0.004998125,
0.0082907975,
0.018430363,
0.034625005,
0.015363413,
0.05437387,
0.02602608,
-0.024420947,
-0.005793526,
0.0048368955,
-0.06311611,
0.05382927,
-0.006796734,
-0.024392284,
0.00008319012,
-0.0088067325,
0.008727909,
-0.023919344,
0.0075025624,
-0.034424365,
0.022342874,
0.025596134,
-0.018917635,
-0.021970253,
0.022944799,
-0.020608757,
0.022271216,
0.02787485,
0.035112277,
-0.037806608,
0.06523718,
0.039211098,
0.0052166814,
0.01811507,
0.008211973,
-0.015248761,
-0.017040204,
0.012604591,
-0.016036995,
-0.021626297,
-0.037319336,
-0.030182227,
-0.0030651586,
-0.020737741,
-0.0035255593,
0.00541374,
0.027860517,
-0.01997817,
-0.041131526,
0.02238587,
0.05546307,
0.0071263593,
-0.038322542,
0.00066149025,
0.007932508,
-0.044829063,
-0.011931009,
-0.04640553,
0.02602608,
-0.013328334,
-0.034424365,
-0.0112001,
-0.014611007,
-0.022987794,
-0.03829388,
0.013765446,
-0.014668333,
0.024377953,
0.024119984,
0.061740283,
0.0004185258,
-0.03617281,
-0.0008097321,
0.03356447,
0.025725117,
0.030784152,
0.09596401,
0.038465858,
0.0066820816,
-0.014747157,
-0.016309295,
0.015248761,
-0.026943298,
-0.0030239553,
-0.035198268,
-0.009508978,
-0.046319544,
-0.04841195,
-0.018473357,
0.02631271,
0.010110903,
-0.015306087,
-0.04098821,
0.030698163,
-0.04144682,
-0.012597425,
-0.012389618,
0.016853893,
0.0036599175,
-0.0368034,
-0.016581595,
-0.025768112,
0.24420947,
0.06873407,
0.055721033,
0.0015854269,
0.022572178,
0.027473565,
0.05205216,
-0.038408533,
0.005754114,
0.00821914,
-0.012260634,
-0.035083614,
-0.010813149,
0.011221597,
-0.02724426,
0.020995708,
-0.016337957,
-0.016309295,
-0.032761905,
-0.070511185,
-0.059905846,
0.010870474,
0.012059992,
0.007796359,
-0.00043375307,
-0.013364163,
-0.002054785,
0.019863518,
0.026097737,
-0.009688122,
-0.010397534,
-0.062313545,
0.050361037,
-0.012296463,
-0.012102988,
0.028003832,
0.015076783,
-0.007309086,
-0.020436779,
0.027717203,
-0.018817315,
-0.0057971086,
0.008756572,
-0.019318918,
-0.040099654,
0.03001025,
-0.010261384,
0.015951006,
0.028003832,
-0.04574628,
0.01896063,
-0.032131318,
0.04952981,
-0.021726618,
-0.038523186,
-0.033048537,
-0.034367036,
-0.013378494,
-0.0028071909,
0.023546724,
-0.04695013,
0.030497521,
-0.021583302,
0.047752697,
-0.04497238,
0.040672917,
-0.0070152897,
-0.01087764,
-0.012482773,
-0.021984585,
-0.023202766,
-0.023088114,
-0.002690747,
-0.056838896,
-0.016853893,
0.026628004,
-0.011888014,
0.058701996,
-0.026427364,
-0.026900304,
0.03408041,
-0.03514094,
0.009852935,
-0.024492605,
0.031271424,
0.026341375,
-0.047351416,
0.03903912,
0.024392284,
0.04932917,
0.01848769,
0.020508436,
0.038265217,
-0.00892855,
-0.015693039
] |
MusicGen
Overview
The MusicGen model was proposed in the paper Simple and Controllable Music Generation
by Jade Copet, Felix Kreuk, Itai Gat, Tal Remez, David Kant, Gabriel Synnaeve, Yossi Adi and Alexandre Défossez.
MusicGen is a single stage auto-regressive Transformer model capable of generating high-quality music samples conditioned
on text descriptions or audio prompts. The text descriptions are passed through a frozen text encoder model to obtain a
sequence of hidden-state representations. MusicGen is then trained to predict discrete audio tokens, or audio codes,
conditioned on these hidden-states. These audio tokens are then decoded using an audio compression model, such as EnCodec,
to recover the audio waveform.
Through an efficient token interleaving pattern, MusicGen does not require a self-supervised semantic representation of
the text/audio prompts, thus eliminating the need to cascade multiple models to predict a set of codebooks (e.g.
hierarchically or upsampling). Instead, it is able to generate all the codebooks in a single forward pass.
The abstract from the paper is the following:
We tackle the task of conditional music generation. We introduce MusicGen, a single Language Model (LM) that operates
over several streams of compressed discrete music representation, i.e., tokens. Unlike prior work, MusicGen is comprised
of a single-stage transformer LM together with efficient token interleaving patterns, which eliminates the need for
cascading several models, e.g., hierarchically or upsampling. Following this approach, we demonstrate how MusicGen
can generate high-quality samples, while being conditioned on textual description or melodic features, allowing better
controls over the generated output. We conduct extensive empirical evaluation, considering both automatic and human
studies, showing the proposed approach is superior to the evaluated baselines on a standard text-to-music benchmark.
Through ablation studies, we shed light over the importance of each of the components comprising MusicGen.
This model was contributed by sanchit-gandhi. The original code can be found
here. The pre-trained checkpoints can be found on the
Hugging Face Hub.
Usage tips |
[
0.02047531,
0.007956989,
0.009542595,
-0.003064418,
-0.0075298166,
0.010679307,
-0.02571722,
0.015523006,
0.018867983,
0.04697447,
0.038083494,
-0.012844129,
0.033189114,
-0.0064908466,
-0.020359466,
0.022531528,
-0.009984247,
-0.035332214,
-0.050160162,
-0.020591151,
0.018520452,
-0.01565333,
-0.07842594,
-0.018752139,
0.011026837,
0.0501312,
0.0034662497,
0.030785365,
0.062381633,
0.04387566,
0.0072184876,
-0.027599674,
0.011953584,
-0.022068154,
-0.0053034523,
-0.007689101,
-0.0018525883,
-0.0250656,
-0.050304964,
-0.06330838,
-0.0015892257,
-0.040516205,
0.022198478,
-0.0122287115,
-0.04978367,
-0.008637568,
-0.022850096,
-0.0012851369,
-0.011960824,
-0.019374797,
0.0011303775,
-0.012134588,
0.047264077,
0.0048183585,
0.018925903,
-0.019765768,
0.0017521303,
-0.017608186,
-0.04419423,
-0.01640631,
0.021416536,
0.03162523,
-0.0043260246,
-0.052969363,
-0.021402055,
0.047379922,
-0.017202735,
0.012670364,
-0.026832212,
0.00025408604,
-0.006501707,
0.02613715,
-0.025615856,
-0.032957427,
-0.01358263,
0.013140977,
0.02261841,
-0.031074973,
0.014603499,
0.053751305,
-0.022212958,
0.023979569,
0.040603086,
0.002648106,
-0.041442953,
-0.04691655,
0.051984694,
-0.03582455,
-0.020388426,
0.013416106,
0.005698044,
0.040805813,
-0.019823689,
0.01909967,
0.038894396,
0.030669522,
0.015711252,
0.011106479,
0.033565603,
0.02816441,
0.041327108,
0.04454176,
-0.009614997,
0.006708053,
-0.008767892,
-0.009166104,
0.0306116,
0.00348073,
-0.030901209,
-0.054562207,
-0.0054772175,
-0.024037492,
-0.040168673,
-0.01322062,
-0.0022390343,
0.026991496,
0.038778555,
0.02678877,
-0.018390128,
-0.03162523,
0.019881612,
0.029351804,
-0.0062808804,
-0.041356068,
0.0030861387,
-0.03156731,
0.008876495,
0.030437835,
-0.046742782,
-0.02227088,
0.009593275,
-0.0055025583,
0.017579226,
0.024182295,
0.026238514,
0.03130666,
0.024037492,
0.026919093,
0.040429324,
-0.025152482,
0.05496766,
0.033015348,
-0.012315594,
0.08398642,
-0.002888843,
-0.013857759,
-0.013980842,
-0.000086712804,
-0.03828622,
-0.0015847005,
-0.025166964,
-0.012721046,
-0.0020670793,
0.010411419,
0.025080081,
0.005278112,
-0.009926326,
0.019345837,
0.017564746,
0.028323693,
-0.037330512,
0.0118449805,
-0.069506,
0.010042168,
-0.07402389,
0.026166111,
0.0111282,
-0.041964248,
0.036751296,
-0.019577522,
-0.022386724,
0.012062186,
0.010223174,
0.030988092,
0.043325406,
0.022126077,
0.05783478,
0.0032852443,
0.005947831,
0.031422503,
0.019056227,
0.028425056,
0.03921297,
0.022546008,
-0.034202743,
-0.010505542,
-0.0123807555,
-0.0041957004,
-0.034086898,
-0.00008405429,
0.007797704,
0.024645668,
0.012590722,
-0.0048074983,
-0.037851807,
0.015551967,
-0.03174107,
-0.008862015,
-0.0076239393,
-0.011099239,
-0.017506823,
0.05056561,
-0.040458284,
0.034086898,
0.003165781,
0.008594127,
-0.0099914875,
0.045034096,
-0.016058782,
0.041964248,
0.059427626,
0.015580928,
-0.04416527,
-0.010201453,
0.028077528,
-0.03730155,
-0.022444645,
-0.0002470721,
0.008666529,
0.049551982,
-0.0119173825,
0.048046023,
0.020793878,
0.007435694,
-0.010165252,
0.02606475,
0.023183146,
0.030148227,
-0.031277698,
-0.017086891,
0.005010224,
0.0013358184,
0.0050645256,
0.06568317,
0.035969354,
0.01739098,
0.027367987,
0.030321991,
-0.0118449805,
-0.014067724,
-0.0073162303,
0.00075569673,
0.03718571,
0.047466803,
-0.030930169,
-0.015088594,
-0.011454009,
-0.012981693,
-0.010650346,
0.0015376392,
-0.043035798,
0.038807515,
-0.0022498947,
0.020706994,
-0.03376833,
-0.02050427,
0.017984677,
0.04766953,
-0.033913136,
-0.028120968,
0.03095913,
-0.00487628,
-0.0007452889,
-0.0027965305,
-0.009694639,
0.0011964444,
0.025919946,
-0.018636296,
-0.0012027796,
-0.03921297,
-0.023154186,
-0.05606817,
-0.049870554,
0.015204437,
-0.036925063,
0.027411427,
0.008543446,
-0.055488955,
0.0045758113,
-0.06614654,
0.01461798,
-0.021850947,
-0.008463804,
0.002159392,
-0.010121811,
0.004662694,
-0.030553678,
0.0072474484,
-0.005672703,
0.017202735,
0.025413131,
-0.0051514083,
-0.015479565,
-0.04972575,
-0.010288335,
0.0062084785,
0.012981693,
0.017897794,
0.02887395,
-0.0047206157,
-0.050913144,
0.009021299,
-0.016160145,
-0.044628642,
-0.019736808,
0.02296594,
-0.028265772,
-0.015566448,
0.035042606,
0.06637823,
-0.057313487,
0.0410375,
0.00869549,
0.046742782,
-0.037793886,
0.0570818,
0.033507682,
0.010816871,
-0.035766628,
-0.0010878412,
-0.07327091,
-0.014125646,
-0.006157797,
-0.0047133756,
-0.0403714,
0.057661016,
-0.0017548455,
-0.06991145,
0.011852221,
-0.0131554585,
-0.041211266,
-0.007479135,
-0.022734253,
0.026368838,
0.01909967,
-0.0035060707,
-0.062439553,
-0.0034825401,
-0.013488508,
0.023661,
-0.04416527,
-0.01672488,
0.0201857,
0.019925052,
-0.002995636,
0.01215631,
0.026557084,
-0.017579226,
0.020316023,
-0.02891739,
0.0056871832,
0.03892336,
-0.005705284,
-0.016218066,
0.008586887,
0.031103933,
-0.018621815,
0.02744039,
0.03336288,
0.0028978933,
-0.024167815,
0.045381624,
0.0061396966,
0.0039169528,
0.01914311,
-0.08520277,
-0.0015213487,
0.024109893,
0.049899515,
-0.06284501,
0.008072832,
0.021170368,
-0.051637165,
0.055575836,
-0.020214662,
0.033189114,
0.049841594,
-0.0070012813,
0.05291144,
-0.004597532,
-0.014436975,
0.023052823,
-0.009129902,
0.03443443,
0.0007928028,
0.00974532,
-0.009578795,
-0.022893539,
-0.02851194,
-0.02471807,
-0.008825813,
-0.040632047,
0.023849245,
-0.009441231,
-0.013756395,
-0.04138503,
0.05418572,
0.03446339,
-0.01424149,
0.02609371,
0.016869685,
-0.013169939,
0.034318585,
0.035882473,
-0.004666314,
0.022632891,
-0.02187991,
0.0018507782,
0.010722748,
0.0070157615,
-0.02956901,
-0.005770446,
-0.02154686,
0.023067303,
0.018448051,
0.025500013,
-0.042340737,
-0.01917207,
-0.009441231,
0.04761161,
-0.04213801,
-0.036345843,
-0.052332222,
0.067015365,
0.05496766,
-0.06852133,
-0.0036201042,
-0.018824542,
-0.0006828421,
-0.003518741,
-0.041906323,
-0.048451472,
-0.022806656,
0.00043871137,
-0.053056244,
0.054620128,
0.005317933,
0.03029303,
0.034231704,
-0.056502584,
0.028656743,
0.016073262,
-0.011635015,
-0.015812615,
0.027961684,
-0.027208703,
-0.023747882,
0.033131193,
-0.022835616,
-0.0104259,
0.05044977,
-0.016855204,
-0.020084336,
-0.0071859066,
-0.013285782,
-0.019229993,
0.017492343,
-0.026151631,
-0.012489359,
0.023907168,
-0.02817889,
0.00799319,
0.032407172,
-0.0040617567,
-0.053490657,
0.013379904,
-0.010194213,
0.013162699,
0.029684853,
0.045323703,
0.0016417172,
0.010505542,
-0.03344976,
-0.04659798,
0.003379367,
-0.017825393,
0.0034028979,
-0.022401204,
0.015160996,
-0.013401625,
-0.02848298,
0.04280411,
0.007135225,
-0.010491062,
-0.003203792,
-0.06168657,
-0.0009199589,
0.00556772,
-0.025615856,
0.008391401,
0.012322834,
-0.019736808,
0.025355209,
-0.009289187,
-0.0549387,
-0.09284843,
-0.038025573,
0.022792175,
0.036722336,
0.033507682,
0.029713813,
-0.023733402,
-0.018028118,
0.026687408,
-0.0029051334,
0.023183146,
-0.034260664,
-0.031248739,
0.004137779,
0.0152333975,
0.0027331787,
0.009245746,
-0.029120117,
0.025166964,
0.01183774,
0.014856907,
0.028120968,
-0.048885886,
-0.031277698,
0.030872248,
0.013104777,
-0.051897813,
-0.027353507,
0.04309372,
0.0045432304,
0.045758117,
0.02887395,
-0.004767677,
-0.032841586,
-0.018419089,
0.006791315,
-0.051289633,
0.002680687,
-0.025630336,
-0.05328793,
0.00626278,
0.03095913,
-0.020837318,
-0.07240208,
-0.008232117,
-0.031451464,
0.015334761,
-0.034695078,
-0.0027331787,
-0.015957419,
0.03258094,
0.016478714,
0.02885947,
-0.00870273,
-0.01741994,
0.017101372,
0.003058988,
0.025152482,
-0.02503664,
-0.054735973,
-0.004626493,
0.014632461,
0.054504286,
-0.038025573,
0.04552643,
-0.024833914,
0.036258962,
-0.059717238,
0.0006502612,
-0.018824542,
0.0034825401,
-0.045207858,
-0.019664405,
0.0767462,
-0.024023011,
0.011229563,
-0.028063046,
0.017637147,
0.015218917,
0.051810928,
-0.03654857,
0.02746935,
-0.033275995,
-0.03901024,
0.0119173825,
-0.024138853,
-0.026861172,
0.01630495,
-0.024631187,
0.045063056,
-0.025557935,
0.03382625,
0.053374816,
0.0046807947,
0.030814325,
-0.06157073,
0.048248746,
0.017477863,
0.0064980867,
-0.023472754,
0.02298042,
-0.034955725,
-0.010556224,
-0.012938252,
-0.069448076,
-0.0055278987,
0.0069071585,
0.050855223,
0.0010579755,
-0.0030064965,
0.0030463175,
-0.072749615,
-0.0016779182,
0.004383946,
0.013278542,
0.00064754614,
0.01357539,
0.0055822004,
-0.0014299412,
0.0052057095,
0.006117976,
-0.026383318,
-0.039097123,
0.021402055,
0.010237655,
-0.030524718,
0.034868844,
0.01879558,
-0.05259287,
-0.04801706,
-0.046453174,
0.00009932661,
-0.062497478,
-0.037069865,
0.037475318,
0.014987231,
-0.03339184,
0.009195064,
-0.00012919246,
-0.011338166,
-0.0036762157,
0.008543446,
-0.013951881,
-0.06545148,
0.01917207,
0.03834414,
-0.024544306,
-0.016261507,
-0.015247879,
-0.011729137,
0.0065342877,
0.013358184,
0.04393358,
-0.013249581,
0.042688265,
-0.0034390988,
-0.0062808804,
0.055083502,
0.026513642,
0.03863375,
0.030177187,
-0.0033485962,
-0.077035815,
0.0355639,
-0.007920788,
-0.058935296,
0.016797284,
-0.03165419,
0.033275995,
0.025022158,
0.047235116,
0.01565333,
-0.06510395,
-0.015494046,
-0.03165419,
0.02261841,
-0.004485309,
-0.014827946,
0.010664826,
0.038488947,
-0.0036400147,
-0.048277706,
0.0040291757,
0.02332795,
0.021344133,
-0.017115852,
-0.0055749603,
0.018433569,
-0.024587747,
-0.008116273,
-0.00037264446,
-0.021850947,
-0.021633742,
0.015363721,
-0.010635866,
-0.027802398,
-0.0061722775,
0.04208009,
-0.021126928,
0.013517468,
0.022155037,
0.034579232,
-0.05036289,
0.019896092,
-0.058674645,
0.08358096,
0.019592004,
-0.027874801,
0.00973084,
-0.0054048155,
-0.042311776,
-0.000538943,
0.0044020466,
0.03617208,
-0.033015348,
-0.033247035,
-0.021749586,
0.0156243695,
-0.08056904,
-0.030003423,
-0.013104777,
0.023443794,
0.014473176,
0.029655892,
-0.01912863,
0.039705303,
0.0020236382,
0.042311776,
0.017941236,
-0.014646941,
0.030640561,
0.0044237673,
-0.008796853,
-0.030437835,
-0.016232546,
-0.03553494,
-0.025210405,
0.030495757,
-0.008666529,
0.03156731,
-0.025934426,
0.005252771,
-0.07188079,
-0.025963387,
0.038836475,
0.038112454,
-0.0017611806,
0.0013955501,
0.0029612451,
-0.0066211703,
-0.012807928,
-0.017101372,
-0.0229949,
-0.07054859,
0.019838171,
-0.009520873,
0.052679755,
-0.033247035,
0.027425908,
0.016913125,
0.042427618,
-0.016478714,
0.03269678,
0.024515344,
0.014733824,
0.016493194,
-0.022879058,
-0.049146533,
-0.0005439206,
0.010563464,
-0.025992347,
-0.03654857,
0.04656902,
0.051724046,
0.019056227,
-0.020996604,
-0.05157924,
0.018983826,
0.04375982,
0.024442943,
-0.045497466,
0.026977016,
-0.015899496,
0.049146533,
-0.023400353,
0.007819424,
0.009158864,
0.0040762373,
0.039531536,
0.027034936,
-0.010194213,
0.04772745,
0.034724038,
-0.033594567,
0.012836889,
0.025948906,
0.009767041,
-0.021503419,
-0.0051695085,
-0.00012387543,
0.10431692,
0.039444655,
0.045207858,
-0.027078379,
0.038083494,
0.010389699,
-0.04596084,
-0.02849746,
0.027382467,
0.047495764,
-0.013140977,
0.016956568,
0.011801539,
-0.0050898665,
0.024399502,
-0.0062881205,
0.017246176,
0.010729988,
-0.018462531,
-0.048074983,
-0.04477345,
0.0375622,
-0.02746935,
-0.04109542,
0.0057270047,
0.031335622,
0.06585693,
0.009245746,
0.018230844,
-0.013633312,
0.03898128,
0.059311785,
0.012735526,
0.021069005,
-0.008565166,
0.026672926,
0.008058351,
-0.0043730857,
0.0033105852,
-0.03483988,
-0.028063046,
-0.029800696,
-0.041964248,
-0.0152333975,
-0.010722748,
-0.038778555,
0.022372244,
-0.0062482995,
0.009861164,
-0.044599682,
-0.00092855666,
-0.05210054,
0.008811333,
0.052332222,
-0.020909721,
-0.029380765,
0.04208009,
0.0073524313,
-0.002682497,
0.0065560085,
0.06632031,
-0.0016860635,
0.02438502,
0.018578375,
-0.0062301992,
-0.0038228298,
0.01633391,
-0.024645668,
-0.06776835,
0.014103926,
-0.031827956,
-0.025572415,
-0.018853502,
-0.035650786,
0.0041776,
0.001671583,
0.0058971494,
-0.041819442,
0.033855215,
-0.020764917,
-0.03620104,
0.03373937,
0.057284527,
-0.01007837,
-0.042311776,
-0.052824557,
-0.0012281203,
-0.043701895,
-0.0092240255,
-0.0076746205,
-0.012605202,
-0.016637998,
-0.028816028,
-0.017086891,
-0.0027295584,
-0.02048979,
0.030582638,
0.01182326,
-0.009260226,
0.03159627,
0.030003423,
0.011193362,
0.037446357,
-0.00557134,
0.039734263,
0.035795588,
0.074718945,
-0.0017575605,
0.07269169,
0.036403768,
-0.0007448364,
0.013054095,
0.0023784083,
0.0031205297,
-0.023226587,
0.016797284,
-0.05039185,
-0.0065487684,
-0.05250599,
-0.06371383,
-0.049841594,
0.05152132,
0.03165419,
-0.06423513,
-0.024428463,
0.032291327,
-0.058269195,
-0.008586887,
-0.018390128,
0.020113299,
-0.002291526,
0.03481092,
-0.006161417,
-0.054678053,
0.24952653,
0.06417721,
0.017651627,
0.028019605,
0.015189957,
0.06284501,
0.04315164,
-0.04176152,
0.03382625,
-0.028960833,
-0.026643965,
-0.035882473,
-0.00591163,
0.008427602,
-0.036027275,
0.019403758,
-0.03762012,
0.02613715,
-0.0050536655,
-0.037851807,
-0.07303922,
0.021271732,
-0.028598823,
0.03929985,
0.012605202,
0.041964248,
0.034695078,
0.0013711144,
-0.0017865214,
-0.010223174,
0.008195915,
-0.02471807,
0.04387566,
-0.0108385915,
-0.019780248,
0.014733824,
0.00048147383,
-0.035882473,
0.0046771746,
0.019997455,
0.02186543,
0.01769507,
-0.009665678,
-0.04002387,
-0.070374824,
0.042427618,
-0.01630495,
0.013162699,
0.05812439,
-0.020735957,
0.00047513866,
0.014321132,
0.02745487,
-0.032928467,
-0.041240226,
0.009021299,
-0.017159292,
-0.034868844,
-0.008956137,
-0.002814631,
0.0013077626,
-0.026195074,
-0.015074113,
0.010136291,
-0.022328801,
0.022574969,
0.008246597,
0.026021307,
-0.011946344,
-0.015320281,
0.023820285,
-0.016261507,
-0.03553494,
-0.0010235844,
0.0026263855,
-0.003582093,
-0.01391568,
0.028381616,
-0.016623517,
-0.049262375,
0.01424873,
-0.010512782,
0.0010561653,
-0.03263886,
0.025659297,
0.031798992,
-0.049957436,
0.0257317,
0.025268326,
0.019012786,
0.013133737,
0.008717211,
-0.017637147,
0.0051477877,
-0.011265764
] |
This model was contributed by Arthur Zucker.
The original code can be found here.
JukeboxConfig
[[autodoc]] JukeboxConfig
JukeboxPriorConfig
[[autodoc]] JukeboxPriorConfig
JukeboxVQVAEConfig
[[autodoc]] JukeboxVQVAEConfig
JukeboxTokenizer
[[autodoc]] JukeboxTokenizer
- save_vocabulary
JukeboxModel
[[autodoc]] JukeboxModel
- ancestral_sample
- primed_sample
- continue_sample
- upsample
- _sample
JukeboxPrior
[[autodoc]] JukeboxPrior
- sample
- forward
JukeboxVQVAE
[[autodoc]] JukeboxVQVAE
- forward
- encode
- decode |
[
0.0054047382,
0.010462837,
0.012811493,
0.045133807,
-0.020854931,
-0.06287606,
-0.006069719,
-0.008849905,
0.031721003,
0.04077606,
0.018209158,
0.0037918058,
0.053736113,
-0.070289895,
-0.024024202,
0.05339655,
0.0108519215,
-0.030051475,
-0.010646768,
-0.02202926,
0.0041808905,
-0.027094433,
-0.071931124,
-0.030532526,
-0.012627562,
0.026118184,
0.03624853,
-0.020755893,
0.07357235,
0.025141936,
-0.020416327,
-0.04434149,
-0.00044855257,
-0.010929738,
0.010144495,
-0.029400643,
0.02990999,
-0.010328426,
-0.016171768,
-0.010745808,
0.024123242,
-0.00046159574,
0.017530028,
-0.04125711,
-0.073063,
-0.015648274,
0.005588669,
0.006101553,
0.02539661,
-0.0034946867,
-0.033843283,
0.03132484,
0.023132844,
0.0069398535,
0.01307324,
0.042954933,
-0.016723562,
-0.03760679,
-0.031975675,
-0.0064729517,
0.021335982,
0.06995033,
0.019850386,
-0.030362742,
-0.02529757,
0.013646256,
-0.049293473,
-0.034861974,
-0.013610885,
-0.04108733,
-0.0010098512,
0.025453204,
-0.021010565,
-0.016879195,
-0.0027448146,
0.056028176,
-0.012188958,
-0.031890783,
0.023911014,
0.05998976,
0.0098898215,
0.048104998,
0.004011108,
0.008375929,
-0.026429452,
-0.035314728,
0.057641108,
0.004039405,
0.003929754,
-0.029372346,
0.01693579,
0.059650198,
-0.01856287,
-0.010554803,
0.03288118,
0.03135314,
-0.019793792,
0.022864023,
0.028014088,
-0.037748273,
0.002171799,
0.050821517,
-0.038144432,
0.017657364,
0.023529004,
-0.029372346,
0.035229836,
-0.022453716,
-0.010830699,
-0.027759414,
0.03565429,
-0.032598212,
0.060272735,
-0.024858965,
0.021081308,
0.051727023,
-0.009918119,
0.026004996,
-0.008220295,
-0.031041872,
-0.012231403,
-0.021293536,
0.018138414,
-0.04799181,
0.021081308,
-0.06944098,
0.022354675,
0.034748785,
-0.027136879,
0.008064661,
0.03299437,
-0.0013317303,
0.04799181,
0.025538094,
0.011757428,
-0.032739695,
-0.031211656,
0.029796802,
0.022552755,
-0.038144432,
-0.031183358,
-0.0009939341,
0.031211656,
0.11132062,
0.008651826,
0.006373912,
0.06644149,
-0.02712273,
-0.020430475,
0.0021346593,
-0.0098473765,
-0.0042834673,
0.022283932,
0.014466871,
0.0021753362,
0.015917094,
-0.036474906,
0.024165688,
-0.0077746166,
0.019454228,
0.0072935666,
0.016383996,
-0.026203075,
0.03548451,
-0.01245778,
0.020359732,
-0.01652548,
-0.007845359,
0.018732652,
-0.024363767,
-0.011736205,
0.017982781,
0.019298593,
0.009429994,
0.05616966,
-0.0052066585,
0.03599386,
-0.0014007044,
0.0051536015,
0.03302267,
-0.019355187,
0.011736205,
0.037352115,
0.03500346,
-0.010993407,
-0.008680123,
-0.010116198,
0.0040747765,
-0.011177338,
0.0036750804,
0.028863,
0.07532677,
-0.009104579,
-0.012988349,
-0.019991871,
-0.009366326,
-0.0336735,
-0.023019657,
-0.013992895,
-0.06774316,
-0.0336452,
0.0052774013,
-0.011283452,
0.025325866,
-0.022071704,
-0.022015112,
0.031777594,
0.038823564,
-0.021010565,
0.017685661,
0.048331376,
-0.007385532,
0.00822737,
0.008807459,
0.01481351,
0.008729642,
0.0154926395,
0.021972666,
0.026387006,
0.0012875161,
0.0079019535,
0.005036876,
0.052858904,
0.009309732,
0.032173753,
0.009635149,
0.0069681504,
0.04654866,
-0.024010053,
-0.0028456228,
-0.0037953428,
0.015153075,
0.03180589,
0.04459616,
0.023769528,
0.032711398,
0.034069657,
0.03242843,
0.0059812907,
0.00918947,
0.00009450775,
0.020430475,
0.055349045,
0.024660885,
0.00004736441,
0.0063031698,
-0.0053163096,
-0.028551731,
0.0016845592,
-0.016383996,
-0.06485686,
0.041342,
-0.0038837711,
-0.029683614,
-0.0490388,
-0.031607814,
0.046322282,
0.06989373,
-0.021675546,
-0.036588095,
0.06355519,
0.029740207,
0.012422408,
-0.020317288,
-0.006522472,
0.05472651,
-0.01595954,
0.020557813,
-0.0012468391,
-0.023670489,
-0.036078747,
-0.041992832,
-0.07136518,
-0.0069964477,
-0.024208132,
0.012188958,
0.039587583,
-0.048727535,
0.038342513,
0.0075623887,
-0.011523977,
-0.008602305,
0.01519552,
0.027037838,
0.025594689,
0.006745311,
-0.04867094,
0.040634576,
0.0153936,
0.043520875,
0.026924651,
-0.021321833,
-0.0024229356,
-0.016907493,
-0.018902434,
0.018350642,
-0.022708388,
0.0074845715,
0.01932689,
0.030475931,
-0.051783614,
0.013610885,
-0.028778108,
0.023670489,
-0.017685661,
0.009868599,
0.023514856,
-0.057754293,
0.020798337,
0.0548114,
0.008383003,
0.010385021,
0.029372346,
0.042190913,
-0.026995393,
0.04462446,
0.05127427,
-0.0024989839,
-0.042417288,
-0.0018799858,
-0.012217254,
-0.0105831,
-0.018477978,
0.035229836,
0.004842334,
0.06570577,
-0.008199072,
-0.056282848,
0.009621,
-0.036333423,
-0.014212198,
-0.025368312,
-0.044850837,
0.01607273,
0.04366236,
0.0009912814,
-0.03155122,
0.010823624,
0.0035212152,
0.056792196,
-0.015917094,
-0.037550196,
-0.0045063063,
0.027603779,
-0.020232396,
0.022764983,
0.03392817,
-0.05031217,
0.017261205,
-0.016553778,
-0.026853908,
0.014954995,
0.022382973,
-0.014488094,
0.018987326,
0.05614136,
-0.01876095,
-0.020274842,
0.0048034256,
0.016398145,
0.033107556,
0.0046867,
0.0088852765,
0.02106716,
-0.003933291,
-0.028891295,
-0.01808182,
0.020897377,
0.04210602,
-0.04470935,
0.025000451,
0.062593095,
-0.02136428,
0.03163611,
-0.0067806826,
-0.0036361718,
0.074308075,
-0.025382461,
0.045133807,
-0.002727129,
-0.014452722,
-0.042190913,
-0.006582603,
-0.012896384,
-0.014481019,
-0.003489381,
-0.038455702,
-0.013688702,
-0.02471748,
-0.013426954,
-0.017034829,
-0.017756404,
-0.006497712,
-0.07102562,
-0.024293024,
-0.012542671,
0.04499232,
0.06859207,
0.022651795,
0.037691683,
0.010844847,
0.0036644689,
0.025057044,
0.01914296,
-0.013462326,
0.0015015126,
-0.014240494,
0.029202564,
0.012054547,
0.014587133,
-0.016624521,
-0.015506787,
-0.03242843,
0.037748273,
0.03135314,
0.011276377,
-0.032541618,
-0.0011849393,
-0.013837261,
-0.03873867,
-0.02385442,
-0.019991871,
-0.071931124,
0.025821066,
0.05039706,
-0.039389506,
-0.003660932,
-0.045162104,
-0.017091423,
0.029032782,
0.0011990878,
-0.042304102,
-0.045331888,
-0.023543153,
-0.06332882,
0.024179837,
0.05537734,
-0.017346097,
0.007703874,
-0.064573884,
0.022368824,
0.0155775305,
-0.038229324,
0.0059742164,
0.0035212152,
0.017148018,
-0.012238477,
0.018492127,
0.00006610016,
0.010979258,
0.016044432,
-0.042190913,
0.004630106,
-0.05752792,
-0.01952497,
-0.0044284896,
-0.01876095,
-0.02519853,
-0.004577049,
-0.015223817,
-0.03288118,
0.013356212,
0.017982781,
-0.029796802,
-0.033701796,
0.015223817,
0.039927147,
0.0013166975,
0.01519552,
0.025905956,
0.007321864,
0.040040337,
-0.023161141,
-0.0019701826,
0.03503176,
-0.037210632,
0.05529245,
-0.038342513,
-0.009988861,
-0.023896866,
-0.03876697,
0.03203227,
0.007937324,
0.009797856,
-0.02818387,
-0.060668893,
-0.021406725,
0.0076897256,
-0.012365814,
0.00035680822,
0.01091559,
0.020034317,
0.025170233,
0.0008785352,
0.021817032,
-0.03760679,
-0.0606123,
-0.014912549,
0.05690538,
0.027250066,
-0.002021471,
-0.049859416,
-0.02347241,
0.039304614,
-0.011021704,
0.020048466,
-0.046520364,
-0.047142897,
0.024561847,
-0.036701284,
-0.021746289,
0.006480026,
-0.033503715,
0.00039505344,
0.032937776,
-0.026669977,
-0.0137594445,
-0.0519251,
-0.033333935,
0.044794243,
-0.016553778,
-0.03817273,
-0.016737709,
0.013575514,
0.021760438,
0.031466328,
0.011410789,
-0.022199042,
-0.051359158,
-0.029598722,
0.025354164,
-0.04884072,
0.0045346036,
-0.020274842,
-0.049406663,
-0.023231884,
0.020472921,
0.028594177,
-0.072666846,
-0.023599746,
-0.012245552,
-0.017487582,
-0.05857491,
-0.0051571387,
0.008453746,
-0.0022354675,
-0.020020168,
0.01904392,
-0.027787711,
-0.017105572,
0.03251332,
0.0045275292,
0.015690718,
0.017303651,
-0.023260182,
-0.027858453,
-0.014912549,
-0.020529516,
-0.03155122,
0.026853908,
0.01751588,
0.02942894,
-0.020883229,
0.026500195,
-0.052179776,
0.011311749,
-0.026627531,
-0.0034062583,
0.041002437,
-0.0442283,
-0.0022213191,
-0.0024830669,
0.012196032,
-0.012019175,
0.03972907,
-0.008524489,
0.0052774013,
-0.06904482,
-0.037748273,
0.010172793,
-0.015054035,
-0.007123784,
-0.025637135,
-0.0024883726,
0.04281345,
-0.026655829,
0.01876095,
0.06038592,
0.012599265,
-0.007014133,
-0.07911857,
0.0028951427,
0.03132484,
-0.020628555,
0.007519943,
0.037069146,
-0.018166712,
0.020331437,
-0.041596673,
-0.012585117,
-0.0013688701,
-0.016270809,
0.04493573,
-0.011071224,
0.03953099,
-0.043803845,
-0.036503203,
-0.027787711,
0.013405731,
0.009797856,
0.013200577,
-0.0033726555,
-0.007534092,
0.056622412,
0.011757428,
-0.018124266,
-0.0013228875,
-0.034663897,
0.032711398,
-0.007852433,
-0.025990847,
0.0036998403,
-0.009988861,
-0.05416057,
-0.037663385,
-0.024745777,
-0.011226858,
-0.06372497,
-0.0250146,
0.04320961,
-0.0015978995,
-0.002758963,
0.0006243038,
0.034494113,
-0.015987838,
-0.010123272,
-0.021024713,
-0.017416839,
-0.03616364,
0.02433547,
0.018605316,
-0.017331949,
-0.018803395,
-0.09417261,
-0.015209668,
-0.022340527,
0.014275866,
0.04470935,
0.012960052,
0.046803333,
0.04272856,
0.03404136,
0.015605828,
0.010144495,
0.017728107,
0.0134694,
-0.03019296,
-0.06683765,
-0.03339053,
-0.00909043,
-0.02433547,
0.018916583,
-0.052745715,
0.025594689,
0.019227851,
0.021477466,
0.004927225,
-0.06530961,
0.037748273,
-0.04374725,
0.02654264,
-0.00437897,
-0.0326831,
-0.012592191,
0.0394178,
-0.011757428,
-0.038823564,
0.010144495,
0.01499744,
-0.0013768288,
-0.008057587,
-0.02279328,
-0.014374905,
-0.02539661,
-0.026004996,
-0.017289503,
-0.02491556,
-0.0034999924,
-0.028551731,
0.0086589,
-0.021406725,
0.025410758,
0.034861974,
-0.00574784,
-0.0008626181,
-0.0028279372,
-0.012174809,
0.03432433,
-0.013200577,
-0.05953701,
0.040351603,
0.034352627,
-0.00701767,
0.0375219,
0.0043542096,
-0.009288509,
-0.0211662,
0.025538094,
0.041596673,
-0.016143471,
-0.03636172,
0.008750865,
-0.016101025,
-0.025849363,
0.029032782,
-0.030419337,
0.012033324,
-0.0071131727,
0.02442036,
-0.026429452,
0.032824587,
0.013660405,
0.01438198,
-0.012818567,
0.013957524,
0.005910548,
0.018492127,
0.02018995,
0.005482555,
-0.0126700075,
-0.01837894,
-0.011559348,
0.038314216,
-0.042388994,
0.01018694,
-0.0336735,
-0.014417351,
0.00089931587,
-0.003936828,
0.019227851,
0.022085853,
0.0016270808,
-0.0108519215,
0.01375237,
0.007604834,
-0.020048466,
0.0073501607,
-0.03961588,
-0.047454167,
0.01663867,
-0.021180348,
0.036814474,
-0.00014623831,
0.033899873,
-0.015124777,
0.024887262,
-0.014141454,
0.006281947,
0.02528342,
0.024887262,
0.048387967,
-0.0807598,
-0.023741232,
0.03517324,
0.033701796,
-0.032541618,
-0.030617416,
0.03452241,
0.054613322,
-0.0023132844,
-0.037804868,
-0.0122597,
-0.049350068,
0.02702369,
0.013108612,
0.0039651254,
0.006688717,
-0.018322345,
0.003767046,
-0.04770884,
-0.0038660855,
-0.004332987,
0.011686685,
0.008121256,
-0.00013606905,
0.012733676,
0.030702308,
0.017728107,
0.0063986722,
-0.022170745,
0.034296036,
0.037833165,
-0.008503266,
0.010752882,
0.011891838,
0.048727535,
0.034097955,
0.05653752,
-0.026415303,
0.005355218,
0.016652819,
-0.014771064,
0.0065260087,
0.0064552664,
0.0076119085,
-0.012005026,
-0.013363286,
-0.01912881,
-0.02289232,
0.022467865,
-0.0054047382,
0.016185917,
0.006787757,
-0.03231524,
-0.0126700075,
0.0071556186,
0.02395346,
-0.0615744,
-0.031947378,
-0.005054562,
-0.0045133806,
0.0018145489,
0.03375839,
-0.01720461,
0.00952196,
0.05433035,
0.044482976,
0.0031993361,
0.038399108,
0.002571495,
0.02826876,
0.02202926,
0.04606761,
-0.02183118,
-0.038540594,
-0.031070169,
0.0007388185,
-0.08760769,
-0.0071343957,
-0.018930731,
-0.03010807,
0.0071308585,
0.0025060582,
-0.0033372843,
-0.043492578,
0.01856287,
-0.021788735,
0.028424395,
0.0029570425,
-0.0047822027,
-0.05665071,
0.03143803,
-0.023698786,
0.035824075,
0.005326921,
0.061800774,
-0.014332459,
0.055858392,
0.017742256,
-0.067177214,
0.0071273213,
0.026981244,
-0.04346428,
-0.007159156,
-0.0015554539,
-0.012238477,
-0.0047963513,
-0.032569915,
-0.05308528,
0.041030735,
0.011191486,
-0.005832731,
-0.018959029,
0.06480026,
-0.0026192465,
-0.075270176,
0.04884072,
0.042445585,
0.027108582,
-0.031098466,
-0.0074492004,
0.020034317,
-0.030900387,
-0.01799693,
-0.028282909,
0.026004996,
-0.01071751,
-0.04386044,
-0.021675546,
-0.022920616,
-0.04538848,
-0.011481531,
-0.015917094,
0.030758902,
0.0073147896,
0.02269424,
0.042445585,
0.021463318,
-0.028523434,
0.03039104,
0.035427917,
0.046916522,
-0.017247057,
0.06853548,
0.03624853,
-0.005181899,
-0.00069814146,
0.011764502,
0.000053471493,
-0.016737709,
0.01509648,
-0.021406725,
-0.024066648,
-0.07708119,
-0.056877088,
-0.02028899,
0.026797313,
-0.03191908,
-0.051472347,
-0.016299106,
0.011474457,
-0.061178237,
-0.058801286,
-0.02461844,
0.008276889,
-0.018251602,
-0.0033195985,
0.0012494919,
-0.035965562,
0.23769529,
0.04318131,
0.012471928,
0.018251602,
0.0026475436,
0.047454167,
-0.0056346515,
-0.0394178,
0.030532526,
-0.02231223,
-0.03183419,
-0.030560823,
0.009076281,
0.044086818,
-0.026655829,
0.026245521,
-0.016426442,
-0.021562358,
0.059706792,
-0.09983202,
-0.06751678,
0.053736113,
0.006069719,
0.051585536,
0.012592191,
0.022524457,
0.026486047,
-0.020147504,
-0.01111367,
-0.01111367,
0.039587583,
-0.031155061,
0.019680604,
-0.029796802,
0.009125801,
0.009076281,
-0.020713447,
-0.012924681,
-0.019312741,
0.022623498,
0.041992832,
0.058235344,
0.025057044,
-0.04213432,
0.0036856919,
0.048104998,
-0.016794303,
0.048133295,
0.04991601,
-0.04287004,
0.016553778,
-0.03307926,
0.06915801,
-0.04411511,
-0.04578464,
-0.011460308,
-0.058914475,
-0.028509285,
0.017614918,
0.0040323306,
-0.007873656,
0.015138926,
-0.01799693,
0.014042415,
-0.077873506,
0.019157108,
-0.033786688,
0.027943345,
0.017643215,
-0.013589662,
0.0062960954,
-0.054839697,
-0.032541618,
-0.053736113,
-0.0283678,
0.04671844,
0.0043400615,
0.01942593,
-0.008397152,
-0.030023178,
0.004219799,
-0.009543182,
0.019793792,
-0.0071308585,
0.037635088,
0.028014088,
-0.044200003,
0.019185405,
0.023882717,
0.034946866,
0.043435983,
0.038484,
-0.0035671978,
0.00053101196,
-0.0024105555
] | After downloading the original checkpoints from here , you can convert them using the conversion script available at
src/transformers/models/musicgen/convert_musicgen_transformers.py with the following command: |
[
0.011274217,
0.03984765,
0.0012398014,
0.022200419,
-0.012441515,
-0.028131165,
-0.0052020904,
-0.024941033,
0.0027859278,
0.047735978,
0.01761823,
-0.031263296,
0.06246859,
-0.04683694,
-0.008569855,
0.017458724,
-0.005579106,
-0.035584472,
-0.041123703,
-0.011542478,
0.027014619,
-0.03355439,
-0.050810106,
-0.02992924,
-0.056146327,
0.03355439,
0.014551353,
0.0362225,
0.072271,
0.035671476,
-0.026623102,
-0.017255714,
-0.015762152,
-0.011245216,
-0.002726113,
-0.000283668,
0.036860526,
0.019619312,
-0.033670396,
-0.035207458,
0.045821898,
-0.028856196,
0.05597232,
-0.037266545,
-0.026260588,
-0.06734079,
0.024288505,
-0.0020627105,
-0.0026246088,
-0.01954681,
-0.020315342,
0.009947412,
0.0014790613,
0.005198465,
-0.009200631,
-0.0040492928,
0.030770274,
-0.023737483,
-0.019010287,
0.011158212,
-0.0031121913,
0.04413983,
0.016501684,
-0.06490469,
-0.013152045,
0.044719853,
-0.020300841,
-0.0043501803,
-0.02267894,
-0.040949695,
-0.0061881314,
0.016095666,
-0.012376263,
-0.007852076,
0.015254632,
0.028580684,
0.01806775,
-0.049853064,
0.03114729,
0.035584472,
0.011962996,
0.054232247,
0.012920035,
0.0065361457,
-0.035120454,
-0.042660765,
0.04878002,
-0.058147408,
-0.013906076,
-0.020416846,
0.016008664,
0.064034656,
-0.043907817,
0.031756315,
0.016095666,
0.0031484428,
-0.005191215,
0.04222575,
0.006521645,
-0.024912031,
0.03691853,
0.08369747,
-0.0314663,
0.018923284,
-0.024317507,
-0.0075693135,
0.030944282,
0.03451143,
-0.00843935,
-0.022867447,
0.020112334,
-0.022359926,
0.018647773,
-0.02823267,
-0.0030995035,
0.00845385,
0.003164756,
0.039673645,
-0.020735858,
-0.048316002,
0.007268426,
0.013195546,
0.026246088,
-0.021141876,
0.010034416,
-0.045415882,
0.019372802,
0.025042538,
-0.013630564,
-0.006666651,
0.017922742,
0.023780985,
0.03497545,
0.05049109,
0.037353545,
-0.012354512,
-0.004904828,
0.035526473,
0.03210433,
-0.030625269,
-0.014449849,
-0.04245776,
-0.0066594006,
0.09535595,
-0.020663356,
-0.013304302,
0.021431888,
-0.037353545,
-0.03091528,
-0.0037230293,
-0.034453426,
0.026521599,
-0.02199741,
0.033612393,
0.01039693,
0.010476684,
-0.06652875,
0.008910619,
0.0027968034,
0.009454392,
-0.0019140793,
-0.0054776017,
-0.021054871,
0.033206377,
-0.06107653,
0.009708152,
-0.006982039,
0.001049481,
0.016211672,
-0.023577977,
-0.014689108,
-0.0054957275,
0.014362845,
0.009381888,
0.036512513,
-0.015892658,
0.083407454,
-0.01061444,
0.016298676,
0.009323887,
-0.029581225,
0.016240673,
0.034917448,
0.023983993,
0.0047743227,
0.025782067,
-0.008613356,
0.0068587842,
-0.009795155,
0.019285798,
0.027667146,
0.057132367,
-0.056552343,
-0.01713971,
-0.060322497,
0.024462514,
-0.009606648,
-0.0029798734,
-0.04297978,
-0.057103366,
-0.011295968,
0.02096787,
-0.0085336035,
0.018256256,
-0.018285258,
-0.011680234,
0.0039949156,
0.039934654,
-0.03236534,
0.040485676,
0.065774724,
0.0059488714,
-0.031263296,
0.043762814,
0.029755233,
-0.027681647,
-0.018807279,
0.020373344,
0.034395427,
0.035526473,
-0.009215131,
-0.032249335,
0.073431045,
-0.01669019,
0.0117889885,
0.015051624,
0.040630683,
0.019459806,
0.025216544,
0.021765402,
0.005622608,
0.013811822,
0.03790457,
0.026057579,
0.038310587,
0.011288717,
0.024070997,
0.008287094,
0.03306137,
0.003762906,
-0.04152972,
0.02681161,
0.025927074,
0.016980203,
-0.0019249547,
0.03523646,
-0.009215131,
-0.0603805,
-0.030161249,
-0.014747111,
-0.020677857,
0.074011065,
0.025811069,
-0.0062823854,
-0.044313837,
-0.027696148,
0.012579271,
0.029407218,
0.0010703256,
-0.030306255,
0.061656553,
0.037527554,
-0.027942657,
-0.021185378,
0.012593771,
0.04489386,
-0.0020155834,
0.0029508723,
-0.029900238,
-0.004179798,
-0.050578095,
-0.0675148,
-0.05985848,
-0.018154752,
-0.007844825,
0.012506768,
0.05817641,
-0.05028808,
0.017792236,
0.027203126,
-0.0241435,
0.00368134,
-0.0066449004,
0.0072829267,
-0.0043356796,
0.035149455,
-0.06484669,
0.048693016,
0.010672442,
0.08827966,
0.016153669,
-0.032626353,
-0.007685318,
-0.041007698,
0.012122503,
0.019271297,
-0.011056708,
0.0010857325,
0.021141876,
0.03253935,
-0.02463652,
0.031727314,
-0.03906462,
0.026898615,
-0.0014301217,
0.022359926,
-0.0063693887,
-0.03912262,
0.020402346,
0.03958664,
-0.02755114,
0.006492644,
0.0041834232,
0.039934654,
-0.011716485,
0.00567336,
0.041326713,
-0.0088236155,
-0.014014831,
0.0027496764,
0.004125421,
-0.028435677,
-0.0068479087,
0.02440451,
-0.036338504,
0.06606474,
0.012840282,
-0.055566303,
0.011368471,
-0.024984535,
-0.049563054,
0.047822982,
-0.004201549,
0.007098044,
0.022403428,
0.024230504,
-0.03425042,
0.018372262,
0.0027605519,
0.03596149,
-0.00008553089,
-0.030480262,
-0.018691273,
0.033409383,
0.008809115,
-0.0050860858,
0.059452463,
-0.04686594,
0.013565312,
0.0095486455,
-0.011578729,
0.029088205,
0.016023165,
-0.025274547,
-0.037556555,
0.05530529,
-0.024723524,
-0.02969723,
0.016153669,
0.0012579272,
0.049099036,
0.030857278,
-0.0021605894,
0.014819614,
-0.010976954,
-0.036193497,
-0.02124338,
0.047242958,
0.06884885,
-0.03454043,
0.021301383,
0.035613474,
-0.053652223,
0.0036632142,
0.006833408,
-0.01159323,
0.09442791,
-0.027449638,
0.00820734,
-0.007032791,
-0.03642551,
-0.03454043,
-0.019691816,
0.012485017,
0.02293995,
0.024085497,
-0.017647231,
-0.045067865,
-0.022591935,
-0.025680564,
-0.007656317,
-0.015472141,
-0.0031919447,
-0.06803682,
-0.026710106,
0.017531225,
0.033467386,
0.046633933,
0.01573315,
0.033293378,
0.015312634,
-0.0108972015,
0.033699397,
0.0060467506,
-0.047648974,
-0.018923284,
-0.01399308,
0.058756433,
0.021794403,
0.021011371,
-0.026492598,
-0.024781527,
-0.044081826,
0.026869614,
0.021852406,
0.0008469257,
-0.008040583,
0.006710153,
-0.0032209458,
0.0265506,
-0.007598315,
0.0046728184,
-0.04123971,
0.03691853,
0.017342718,
-0.046720937,
0.017400721,
-0.027072622,
-0.025956076,
0.029044703,
-0.010810197,
-0.02489753,
-0.024955533,
-0.033699397,
-0.03746955,
0.0029236835,
0.081667386,
0.0010766695,
-0.023563476,
-0.051593136,
0.008598857,
0.029102705,
-0.04025367,
0.029813236,
0.01109296,
-0.0002530808,
-0.01957581,
0.0022711565,
0.0033659518,
0.005774864,
0.031060286,
-0.050897107,
-0.01183974,
-0.045009863,
-0.029407218,
-0.001371213,
-0.016617687,
-0.012622773,
0.015080624,
0.022011911,
-0.02388249,
-0.012477767,
0.0434728,
-0.041471716,
-0.06368664,
0.028073164,
0.0016313175,
0.007174172,
0.049389046,
0.016095666,
-0.00055510114,
0.047474965,
0.0007843919,
-0.043385796,
0.011549728,
0.014290342,
0.029218711,
-0.029537724,
-0.035555474,
-0.00044181518,
-0.034859445,
0.043327793,
0.0117889885,
-0.041210707,
-0.0041906736,
-0.061714556,
-0.034656435,
0.0018053248,
-0.020808361,
0.013587063,
0.011201714,
-0.0062388834,
0.047010947,
-0.02437551,
-0.011687485,
-0.054667264,
-0.017937243,
0.018662274,
0.041384716,
0.061134532,
0.05095511,
-0.03523646,
-0.023389468,
0.025637062,
-0.02872569,
0.0168642,
-0.009925661,
-0.025216544,
-0.003889786,
-0.030277254,
0.0031810692,
0.007311928,
-0.02826167,
-0.017444223,
0.0337864,
-0.027435137,
-0.0089686215,
-0.018241756,
-0.049360044,
0.027217627,
0.020358844,
-0.047010947,
0.020155834,
0.0362515,
0.014348344,
0.031495303,
0.019677315,
-0.044081826,
-0.03790457,
-0.044400837,
0.037121538,
-0.028160166,
0.031176291,
-0.04657593,
-0.026913114,
-0.025724066,
0.026666604,
-0.0010340741,
-0.03903562,
0.0029019327,
-0.017415222,
-0.0034457052,
-0.07383706,
0.0055646054,
-0.0337284,
0.030683272,
0.005524729,
0.0083668465,
0.0071125445,
-0.01641468,
0.013253549,
-0.007221299,
0.019227797,
0.0012996163,
-0.001932205,
-0.007029166,
0.0036523389,
-0.0024070998,
-0.021794403,
-0.010280926,
-0.016617687,
0.02002533,
-0.02679711,
0.017429722,
-0.02027184,
-0.011861491,
-0.013246299,
0.014529602,
0.06420866,
-0.030103248,
0.0049700807,
-0.0037085286,
0.014819614,
0.032191332,
0.04274777,
-0.027928157,
0.037353545,
-0.030857278,
-0.047967985,
0.013007039,
-0.0017156024,
-0.027725149,
0.012514018,
0.021402886,
0.048345003,
-0.03088628,
0.01376832,
0.03497545,
-0.008598857,
0.0094253905,
-0.055914316,
0.00076717243,
0.026144583,
0.00034053755,
0.0035544597,
0.025405053,
0.0013231798,
0.029653728,
-0.03746955,
-0.044516843,
-0.018879782,
0.001093889,
0.04976606,
-0.01593616,
0.003860785,
-0.056204326,
-0.035149455,
-0.045763895,
0.050230082,
-0.01087545,
0.00083876913,
0.027652645,
-0.025129542,
0.0067899064,
0.04634392,
-0.045531888,
-0.038078576,
-0.025912574,
0.031495303,
-0.010955203,
-0.02099687,
0.0024922907,
0.0034475178,
-0.06183056,
-0.0386876,
-0.03984765,
0.014761612,
-0.045241874,
-0.040311668,
-0.01181799,
0.026507098,
0.014326594,
0.004158047,
0.04225475,
0.049389046,
0.006083002,
0.01110746,
-0.023983993,
-0.057828397,
0.030219251,
0.027565641,
-0.039615642,
-0.026971117,
-0.014391846,
0.013826323,
-0.03886161,
0.0144643495,
0.021446388,
0.019010287,
0.0410657,
0.02440451,
-0.011433723,
0.046720937,
-0.022490432,
0.026159083,
0.037556555,
-0.016501684,
-0.05020108,
0.023548976,
0.013094042,
0.0062968857,
0.008279843,
-0.03282936,
-0.0007789541,
0.000076581295,
0.016472682,
-0.0056081074,
-0.045096867,
0.02196841,
-0.025883572,
0.01832876,
0.007598315,
-0.003911537,
0.0135725625,
0.024070997,
-0.035700478,
-0.062352583,
0.007627316,
0.029755233,
-0.008569855,
-0.026478097,
-0.03645451,
-0.021808904,
-0.035816483,
-0.0095486455,
-0.0059524965,
-0.03204633,
-0.009642899,
-0.014123585,
-0.030828277,
-0.01377557,
-0.010701443,
0.030480262,
-0.042167746,
0.018372262,
-0.00941089,
0.01519663,
0.025941575,
-0.009541395,
-0.022736942,
0.03425042,
0.040427674,
0.006735529,
0.0024415387,
0.04176173,
-0.028551683,
-0.029871237,
0.0023382218,
0.048316002,
-0.011303218,
-0.033960406,
0.031698313,
0.031292297,
-0.04155872,
0.006855159,
-0.03303237,
0.0021750901,
-0.010585438,
0.019358302,
-0.02269344,
0.06467268,
0.008047833,
0.022142418,
0.0147543615,
-0.00615913,
0.018430263,
0.011897743,
-0.005840117,
-0.005579106,
-0.021504391,
-0.073605046,
0.00004862799,
0.04196474,
0.010795698,
0.02072136,
-0.0017790424,
0.0026880489,
-0.038803607,
-0.025158541,
0.0337864,
0.023316966,
0.015153128,
-0.016443681,
-0.004513312,
-0.0061881314,
-0.02344747,
-0.018691273,
-0.037092537,
-0.071052946,
0.016980203,
-0.03282936,
0.02389699,
-0.027710648,
0.041181706,
0.0033750148,
0.025361551,
0.00675728,
0.023041455,
0.024085497,
-0.027348133,
0.03236534,
-0.06328062,
-0.004400932,
0.015617147,
0.028290672,
-0.01959031,
-0.06287461,
0.03494645,
0.06664476,
0.004419058,
-0.008975872,
-0.022504931,
-0.019967327,
-0.0015742214,
0.0059053698,
-0.058988445,
0.00187239,
-0.0096574,
0.0058836187,
-0.01954681,
-0.015849156,
0.012419765,
0.018401261,
0.0057313624,
-0.003063252,
0.006202632,
0.03915162,
0.027826652,
-0.017357219,
0.0021823405,
0.010831948,
0.026985617,
-0.022272922,
-0.0016603188,
0.006590523,
0.04179073,
0.025477555,
0.00869311,
0.009512394,
0.007072668,
0.015965162,
-0.022765944,
0.004052918,
0.06449867,
0.022461431,
-0.053217206,
0.0046075657,
-0.04535788,
0.042602766,
-0.008287094,
-0.0051368377,
0.017081708,
0.028073164,
-0.03306137,
0.0071886727,
-0.018763777,
0.026695605,
-0.029624727,
-0.049331043,
-0.03645451,
0.00821459,
0.029291213,
0.03793357,
-0.027667146,
-0.023548976,
0.07093694,
0.035874486,
0.008830866,
0.029639227,
0.008200089,
0.057828397,
0.02462202,
0.045734894,
0.011680234,
-0.014950119,
-0.022055414,
-0.0265506,
-0.0506651,
0.017719734,
-0.008504602,
-0.019633813,
-0.016472682,
-0.022287423,
0.021663897,
-0.032249335,
-0.0029236835,
-0.060554508,
-0.0057349876,
-0.004400932,
-0.014616606,
-0.028769191,
0.0069421628,
-0.020184835,
-0.0018959536,
0.012361762,
0.052492175,
-0.037092537,
0.04967906,
0.030277254,
-0.013217297,
0.026043078,
0.03648351,
-0.069196865,
-0.00580024,
0.022780444,
-0.0051042116,
-0.01787924,
-0.0060032485,
-0.031263296,
0.016240673,
-0.023229962,
-0.005191215,
-0.015385137,
-0.013935077,
-0.016762694,
-0.050404087,
0.027174126,
0.053159203,
0.026898615,
-0.057045363,
-0.026188085,
0.004219675,
-0.039296627,
-0.025709566,
-0.028812693,
0.0037049034,
-0.028566184,
-0.01953231,
-0.029088205,
-0.016385678,
-0.0066811517,
-0.051825147,
0.0006760905,
0.0011890492,
0.01522563,
0.015269132,
0.053130202,
0.03451143,
-0.048345003,
0.0019648315,
0.04129771,
0.030770274,
0.02584007,
0.06710878,
0.046633933,
0.018995786,
-0.010157671,
0.006054001,
0.019256799,
-0.016516184,
0.012434265,
-0.03883261,
-0.01207175,
-0.06734079,
-0.050868105,
-0.03903562,
0.01763273,
-0.012622773,
-0.025129542,
-0.026434595,
0.024593018,
-0.07986931,
-0.030828277,
-0.019952826,
0.010498435,
-0.02823267,
-0.005470352,
-0.009447142,
-0.04463285,
0.24917832,
0.05475427,
0.06362864,
0.012361762,
-0.011694734,
0.0748231,
0.01908279,
-0.027449638,
-0.00591262,
0.008780113,
-0.032249335,
-0.052289166,
0.011288717,
0.03645451,
-0.04370481,
0.005383348,
-0.030364258,
-0.013289801,
-0.022272922,
-0.089033686,
-0.06687677,
-0.0017464161,
0.0025611685,
0.031408302,
0.01834326,
0.012644524,
0.0065361457,
0.0010521999,
0.020648856,
-0.033003367,
-0.012564771,
-0.020010829,
0.06357063,
-0.004759822,
-0.0075475625,
0.029102705,
-0.011201714,
0.006017749,
-0.020445846,
0.0118107395,
0.021562394,
0.010520185,
-0.005633483,
-0.02702912,
-0.022026412,
0.014428098,
-0.006325887,
0.02439001,
0.06571672,
-0.036193497,
0.0018669523,
-0.024085497,
0.0313793,
-0.032394342,
-0.028667688,
-0.010817448,
-0.072445,
-0.015530143,
0.014602105,
0.0028040537,
-0.04297978,
-0.009316636,
-0.004361056,
0.054725267,
-0.04703995,
0.036715522,
-0.03039326,
0.0017509476,
-0.020228337,
-0.0049193287,
0.021011371,
-0.023606978,
0.008236341,
-0.056871355,
-0.00368134,
0.033989407,
-0.0040637935,
0.026434595,
-0.009302136,
-0.03987665,
0.009853158,
-0.012709777,
0.04277677,
-0.038223583,
0.02198291,
0.02729013,
-0.06183056,
0.041674726,
0.03210433,
0.02053285,
0.009461642,
0.04225475,
0.02222942,
-0.018038748,
-0.015182129
] |
python src/transformers/models/musicgen/convert_musicgen_transformers.py \
--checkpoint small --pytorch_dump_folder /output/path --safe_serialization
Generation
MusicGen is compatible with two generation modes: greedy and sampling. In practice, sampling leads to significantly
better results than greedy, thus we encourage sampling mode to be used where possible. Sampling is enabled by default,
and can be explicitly specified by setting do_sample=True in the call to [MusicgenForConditionalGeneration.generate],
or by overriding the model's generation config (see below).
Generation is limited by the sinusoidal positional embeddings to 30 second inputs. Meaning, MusicGen cannot generate more
than 30 seconds of audio (1503 tokens), and input audio passed by Audio-Prompted Generation contributes to this limit so,
given an input of 20 seconds of audio, MusicGen cannot generate more than 10 seconds of additional audio.
Transformers supports both mono (1-channel) and stereo (2-channel) variants of MusicGen. The mono channel versions
generate a single set of codebooks. The stereo versions generate 2 sets of codebooks, 1 for each channel (left/right),
and each set of codebooks is decoded independently through the audio compression model. The audio streams for each
channel are combined to give the final stereo output.
Unconditional Generation
The inputs for unconditional (or 'null') generation can be obtained through the method
[MusicgenForConditionalGeneration.get_unconditional_inputs]:
thon |
[
0.01198396,
0.060323104,
-0.004940503,
-0.017025288,
-0.037910797,
-0.046466652,
0.010183485,
-0.0038494149,
0.0020507406,
0.048540797,
0.032034047,
-0.026142893,
0.060784027,
-0.06383763,
0.0065825353,
0.021994598,
-0.024342418,
-0.050413292,
-0.033762503,
-0.017500615,
-0.01881136,
-0.011443817,
-0.06550847,
-0.021850562,
-0.016377117,
0.028533923,
0.013906866,
0.0012378263,
0.07772289,
0.034655537,
-0.0159306,
-0.015829774,
-0.01987724,
-0.0030283984,
-0.0069354284,
-0.020107701,
0.03333039,
-0.018912187,
-0.032206893,
-0.01611785,
0.01881136,
-0.024039939,
0.05329405,
-0.030420821,
-0.06170587,
-0.039783288,
-0.0027403226,
0.0025620756,
-0.007770849,
-0.0054986496,
-0.037565105,
-0.003359686,
0.038054835,
0.01850888,
0.015728947,
-0.019790817,
0.009290449,
-0.017932728,
-0.04035944,
0.037075374,
0.00811654,
0.035634995,
0.009643342,
-0.06660316,
-0.022095425,
0.036643263,
-0.016074639,
-0.013064245,
-0.04145413,
-0.018523283,
-0.023262134,
0.024472052,
-0.016247483,
-0.021821754,
0.013136263,
0.029455766,
0.029873475,
-0.05654931,
0.009664948,
0.040906787,
0.0087215,
0.04027302,
0.003064408,
0.033388004,
-0.048972912,
-0.0318612,
0.06510516,
-0.035663802,
-0.012898601,
-0.0145046245,
-0.00936967,
0.05620362,
-0.023305345,
0.016809233,
0.03557738,
0.030334398,
0.00035829446,
0.062397253,
-0.0016708405,
-0.0076988298,
0.06072641,
0.0815255,
-0.03569261,
0.019776415,
-0.018480072,
0.002988788,
0.028879615,
0.035145268,
-0.012574515,
-0.042548817,
0.0056606927,
-0.019920452,
0.03425223,
-0.01350356,
-0.0015448073,
0.03399296,
-0.008663884,
0.04836795,
-0.050154023,
-0.051940095,
-0.017154923,
0.012891399,
0.008807923,
-0.068562075,
-0.009744169,
-0.07040577,
-0.0011847124,
0.03917833,
-0.025437107,
0.024025535,
0.029254112,
-0.0035037238,
0.031803586,
0.05032687,
0.017947132,
-0.028461903,
-0.033157542,
0.0040330635,
0.018984206,
-0.014094116,
-0.009535314,
-0.0122000165,
-0.01945953,
0.07772289,
-0.0004865783,
-0.00553826,
0.052285787,
-0.07201899,
-0.00470284,
0.02700712,
-0.03318635,
0.021043949,
-0.029815862,
0.04900172,
0.038890254,
0.006697766,
-0.04612096,
0.0143317785,
0.025552336,
0.0014952943,
0.02396792,
0.020352567,
-0.044219658,
0.016708406,
-0.05018283,
0.008764711,
-0.028418694,
0.005775923,
0.02461609,
-0.045660038,
-0.02306048,
0.020813487,
0.008959162,
0.0138924625,
0.033618465,
0.0104283495,
0.060207874,
0.0015952206,
0.004598412,
-0.005685899,
-0.029297324,
0.022570752,
0.034079384,
0.0054446356,
-0.005768721,
0.013186676,
-0.024716917,
0.00047622557,
-0.034050576,
0.009614535,
0.025019396,
0.05283313,
-0.034914806,
-0.0104283495,
-0.058997955,
0.011184549,
-0.022844423,
-0.00039137818,
-0.006906621,
-0.06366479,
-0.008714298,
0.009391276,
-0.009888208,
0.0137124155,
-0.022052214,
0.01778869,
-0.003136427,
0.037334643,
-0.042952124,
0.019473935,
0.04885768,
0.019128243,
-0.025667567,
0.032091662,
0.019589165,
-0.0069966447,
-0.029081268,
0.015368852,
0.021288812,
0.01338833,
-0.027352812,
-0.00754759,
0.052516248,
-0.006629348,
0.0006657255,
-0.016074639,
0.024817744,
0.049894754,
-0.014274163,
0.0044471724,
-0.0047568544,
0.015051968,
0.029455766,
0.042779278,
0.04231836,
0.02594124,
0.026373353,
0.0046776333,
0.014591047,
-0.012639333,
-0.04182863,
0.022052214,
0.026502987,
0.011645471,
-0.021202391,
0.015916197,
0.010176283,
-0.005891153,
-0.010133072,
-0.012711352,
-0.039696865,
0.059286032,
0.031832393,
0.019689992,
-0.063549556,
-0.017500615,
0.027021524,
0.05749996,
-0.0153112365,
-0.024731321,
0.041396514,
0.061590638,
-0.012308045,
-0.0017986742,
0.009477699,
0.033964153,
0.0037954007,
0.0012270235,
-0.022671577,
-0.019891644,
-0.022988461,
-0.056376465,
-0.055080123,
-0.01941632,
0.00083046895,
-0.0036909732,
0.036816105,
-0.035980687,
0.006629348,
-0.0056606927,
-0.020511007,
0.013460349,
-0.008793519,
0.0027511253,
0.02089991,
0.022714788,
-0.065335624,
0.02450086,
-0.0034983223,
0.065335624,
0.0021713725,
-0.011595057,
0.013820444,
-0.042347167,
0.0062332433,
0.011551846,
-0.012300843,
0.00023068582,
0.021764139,
0.0027745315,
-0.01945953,
0.05525297,
-0.024025535,
0.007958098,
-0.023564612,
0.007273918,
-0.00023451183,
-0.029484574,
0.015757754,
0.028908422,
-0.01293461,
0.039466407,
0.0038530158,
0.011148539,
-0.02533628,
0.0062836567,
0.03212047,
0.00054059253,
-0.016852444,
-0.016895656,
0.0016483346,
-0.025307473,
-0.033647273,
0.019430723,
-0.004357149,
0.062454868,
0.017500615,
-0.06810115,
0.0007449464,
-0.02984467,
-0.0656237,
-0.0043823556,
0.016924461,
0.015973812,
0.015988216,
0.009772977,
-0.02552353,
0.024227187,
0.0016366316,
0.04537196,
0.042692855,
-0.03212047,
-0.011242164,
0.050845407,
0.002536869,
-0.0076988298,
0.04851199,
-0.054964893,
0.0295854,
0.010262705,
0.0060603977,
0.024342418,
0.0074899746,
-0.022714788,
-0.03655684,
0.04983714,
-0.01342434,
-0.008411818,
0.031342663,
0.00066437514,
-0.00045034374,
0.037161797,
0.030420821,
0.00052393816,
-0.0047568544,
-0.030852934,
-0.034338653,
0.020107701,
0.023535805,
-0.06850446,
0.025437107,
0.05464801,
-0.04384516,
0.014310173,
0.010615598,
-0.010903675,
0.05968934,
-0.010449955,
0.029758247,
-0.0023910303,
-0.002070546,
-0.011868729,
0.014230952,
0.03932237,
0.025393896,
0.039264753,
-0.0250338,
-0.045919307,
-0.019589165,
-0.02624372,
-0.02761208,
-0.023622228,
0.00042153616,
-0.03583665,
-0.01892659,
-0.018134382,
-0.005484246,
0.02935494,
0.025624355,
0.041972667,
0.04442131,
-0.0114942305,
0.004958507,
0.002248793,
-0.03151551,
0.0051637613,
-0.026502987,
0.05214175,
0.02738162,
0.008555856,
-0.024284802,
-0.013885261,
-0.027179966,
-0.0048684836,
0.025004992,
0.020583026,
-0.009989033,
-0.02059743,
-0.03776676,
0.030363206,
0.0013494558,
-0.013287503,
-0.04107963,
0.031198626,
0.03307112,
-0.049462643,
0.008130943,
-0.041886244,
0.014259759,
0.027223177,
0.0003288117,
-0.019589165,
-0.021231197,
-0.016938865,
-0.033388004,
0.018552091,
0.074438825,
0.0114078075,
-0.0040186597,
-0.05701023,
0.016694002,
0.040705133,
-0.011472625,
0.015584909,
0.00069093215,
-0.018595302,
-0.013438744,
0.020554218,
0.031313855,
-0.01922907,
0.03675849,
-0.039091907,
-0.017644651,
-0.030276783,
0.0066437516,
-0.010241101,
-0.012459285,
-0.0019751207,
0.0060964073,
0.01156625,
-0.030708896,
-0.004274327,
0.0025242656,
-0.032062855,
-0.056779772,
0.01342434,
-0.0039682463,
0.0053582126,
0.055886734,
0.028317867,
-0.0012495294,
0.06280056,
-0.0005275391,
-0.035174076,
0.022484329,
0.00005502701,
0.024328014,
-0.023838285,
-0.037824374,
0.011926345,
-0.021101564,
0.047388494,
0.012084786,
-0.02575399,
0.015901793,
-0.08273541,
-0.001028071,
0.003098617,
-0.04145413,
0.017313365,
-0.008390212,
-0.009772977,
0.04289451,
-0.019617973,
0.016434733,
-0.01198396,
-0.06660316,
-0.0050881417,
0.042087898,
0.021130372,
0.07080907,
-0.06539324,
-0.03163074,
0.032523774,
-0.0159306,
0.04937622,
-0.011054914,
-0.03595188,
0.0011676078,
-0.02259956,
-0.00398265,
0.0054446356,
-0.037075374,
-0.02317571,
-0.0034028972,
-0.036153533,
0.0050989445,
-0.045256734,
-0.060668796,
0.034281038,
-0.015959408,
-0.03330158,
-0.023146903,
0.041540552,
0.0069930437,
0.014936738,
0.028346675,
-0.040301826,
-0.0015033964,
-0.030478436,
0.03687372,
-0.026387757,
0.020770276,
-0.037161797,
-0.030046321,
-0.020842295,
0.016333906,
-0.029455766,
-0.06280056,
0.009816188,
-0.005750716,
-0.036009494,
-0.044248465,
-0.011393404,
-0.026805468,
0.037536297,
0.022585155,
0.005844341,
-0.006128816,
-0.007958098,
0.008325395,
-0.024457648,
0.029671824,
0.031688355,
-0.028922826,
-0.010565186,
-0.0314867,
-0.023838285,
0.012632131,
-0.00084982405,
0.0047712578,
0.043038547,
-0.026358949,
0.017803093,
-0.073689826,
-0.032869466,
-0.036960144,
0.009729765,
0.059458878,
-0.03065128,
0.0064456994,
0.014324577,
0.005779524,
0.0047784597,
0.03788199,
-0.025048204,
0.020698257,
-0.047734186,
-0.054331124,
0.028591538,
0.0036351585,
-0.035058845,
-0.0047280467,
0.027352812,
0.04396039,
-0.029441362,
0.013640396,
0.051450364,
0.010298715,
0.043211393,
-0.08734463,
0.041166052,
0.021303216,
-0.0013728619,
0.0021929783,
0.0019319094,
0.008166953,
-0.019819625,
-0.05542581,
-0.03330158,
-0.040301826,
0.007684426,
0.041367706,
-0.030478436,
0.008462231,
-0.043643508,
-0.05366855,
-0.027640888,
0.024947377,
0.022210656,
0.01627629,
0.027626485,
0.023564612,
0.028951634,
0.06378002,
-0.029383747,
-0.0182064,
-0.020280547,
0.026877487,
-0.016405925,
-0.024947377,
0.009117604,
0.04493985,
-0.07173091,
-0.041886244,
-0.023276538,
0.023348557,
-0.04217432,
-0.059516493,
0.0021335625,
0.028649153,
-0.04537196,
0.022354694,
0.03713299,
-0.007317129,
0.036038302,
0.0029527785,
0.0035073247,
-0.06262771,
0.009340863,
0.024990588,
-0.018667322,
-0.026834276,
-0.033013504,
-0.010032245,
-0.033820115,
0.021778543,
0.024889762,
0.0033470825,
0.03998494,
0.04145413,
-0.0041843033,
0.06890777,
-0.017860709,
0.03235093,
0.010860464,
-0.037334643,
-0.052314594,
0.0051025455,
0.0082965875,
-0.016809233,
0.016103446,
-0.019142646,
-0.011134136,
-0.011775104,
0.05701023,
-0.01532564,
-0.04756134,
0.028836403,
-0.037795566,
-0.008462231,
0.002666503,
-0.025826009,
0.00364056,
0.029311728,
-0.0015493085,
-0.035606187,
0.02772731,
0.008699894,
-0.012466487,
-0.036124725,
-0.0508166,
-0.0028303463,
0.0059415665,
-0.031227434,
-0.00591636,
-0.0273096,
-0.016549964,
0.008555856,
-0.043297816,
0.006719372,
-0.035030037,
0.024486456,
-0.052660283,
-0.0066473526,
-0.011400606,
0.008620673,
0.04819511,
-0.01008986,
-0.032523774,
0.04980833,
0.028173828,
0.0056895,
-0.012711352,
-0.003053605,
-0.01153024,
-0.041857436,
0.032667812,
0.04767657,
-0.0014988952,
-0.010824454,
-0.014468615,
0.037046567,
-0.04877126,
0.0038278091,
-0.05617481,
0.0075115804,
-0.014058107,
0.029138884,
0.019301089,
0.062397253,
0.0010712824,
-0.0008606269,
0.006042393,
0.001987724,
0.020928718,
0.0031562322,
0.02496178,
0.0062188394,
-0.016434733,
-0.057039037,
-0.007958098,
0.018076766,
-0.0016015222,
0.011515836,
-0.014893527,
0.014713479,
-0.022815615,
-0.033532042,
0.030507244,
0.057672806,
0.010190687,
-0.026502987,
0.0008340699,
0.003026598,
-0.00016631885,
-0.00019163803,
-0.06395286,
-0.06458663,
0.04396039,
-0.03929356,
0.0033128734,
-0.028044194,
0.012696948,
-0.01194795,
0.032639004,
0.002131762,
-0.0038278091,
0.031112203,
-0.03318635,
0.021332024,
-0.056376465,
-0.018940995,
0.035980687,
0.039091907,
-0.0071550864,
-0.039235946,
0.05280432,
0.036816105,
0.058508225,
-0.048339143,
-0.0094488915,
-0.016319502,
0.0005441935,
0.022628367,
-0.019099435,
0.03163074,
-0.026358949,
-0.0014961945,
0.0058767493,
0.030161552,
-0.008548654,
0.051450364,
0.00089528604,
0.010932483,
0.011976758,
0.030622473,
0.023636632,
-0.013834848,
-0.0055238563,
0.019934855,
0.012725756,
-0.025883624,
0.025307473,
-0.0026106883,
0.055915542,
0.0428657,
0.02259956,
-0.00013323512,
0.019617973,
-0.011739095,
-0.023449382,
-0.008577461,
0.03975448,
0.030881742,
-0.027597677,
0.020611834,
-0.05021164,
0.0024486457,
-0.002598085,
-0.02017972,
0.008591865,
0.0034983223,
-0.017457403,
-0.0139788855,
-0.03511646,
0.0017320566,
0.0040366645,
-0.03125624,
0.0021785744,
0.01873934,
0.051824864,
0.016751617,
-0.008613471,
-0.008728702,
0.06608462,
0.051162288,
0.012956216,
0.033243965,
0.003599149,
0.04220313,
0.016319502,
0.023924708,
-0.01699648,
-0.045919307,
-0.03007513,
-0.039264753,
-0.059228417,
-0.00015405312,
0.012660938,
-0.035375725,
0.017644651,
-0.04050348,
0.02108716,
-0.01737098,
0.02052541,
-0.033964153,
0.009456093,
-0.011767902,
-0.024097554,
-0.022297079,
0.020640641,
-0.0055130534,
0.008462231,
0.0024828545,
0.04433489,
-0.017817497,
0.065450855,
0.023305345,
-0.0145046245,
0.043816354,
0.03940879,
-0.050038792,
-0.0016951469,
0.020107701,
-0.005984778,
-0.022556348,
-0.054907277,
-0.040964402,
-0.008757509,
-0.026200509,
-0.015988216,
-0.016247483,
0.029988706,
-0.02294525,
-0.047647763,
0.027554465,
0.075303055,
-0.00045461988,
-0.05974695,
-0.002128161,
0.014094116,
-0.035634995,
0.0067337756,
-0.045948114,
0.019445127,
-0.00048792866,
-0.03762272,
-0.017298961,
-0.013071447,
-0.0047892625,
-0.03998494,
-0.002783534,
-0.008332597,
0.019113839,
0.03580784,
0.028951634,
0.012171209,
-0.012790572,
0.0025728783,
0.021043949,
0.036931336,
0.020496605,
0.06026549,
0.053092398,
-0.008080531,
0.007313528,
0.022758,
0.020395778,
-0.036499225,
0.0039430396,
-0.03243735,
-0.000121982164,
-0.074208364,
-0.049549066,
-0.029758247,
0.024414437,
-0.00029595304,
-0.013906866,
-0.026070874,
0.0074611674,
-0.08527048,
-0.055483427,
-0.04375874,
0.024745725,
-0.028735576,
-0.01850888,
0.0017419592,
-0.05749996,
0.2472844,
0.03592307,
0.037824374,
0.014706277,
0.022167444,
0.04574646,
0.02370865,
-0.015527294,
-0.015152795,
-0.00085252477,
-0.016089043,
-0.036124725,
0.006982241,
0.045688845,
-0.03894787,
0.041626975,
-0.021648908,
-0.009679352,
0.011501432,
-0.07288322,
-0.05366855,
0.024889762,
0.017515019,
0.062224407,
0.03989852,
0.013899664,
-0.024817744,
-0.013229888,
0.008771913,
-0.019819625,
0.027410427,
-0.010507571,
0.026834276,
-0.020611834,
-0.002135363,
0.02461609,
-0.009304853,
0.016694002,
-0.024255995,
0.0010271708,
0.026042067,
0.010774041,
-0.016420329,
-0.011969556,
-0.034223422,
-0.004472379,
-0.010838858,
0.033906538,
0.026920699,
-0.0318612,
0.0036153533,
-0.042375974,
0.04252001,
0.002138964,
-0.036585648,
0.005405025,
-0.04456535,
-0.020799084,
-0.011803912,
0.018768148,
-0.018408053,
0.022743596,
-0.017702267,
0.007634013,
-0.025422703,
0.017169327,
-0.004962108,
0.03592307,
-0.010449955,
-0.016132254,
-0.01737098,
-0.017774286,
-0.0091032,
-0.092299536,
-0.008995172,
0.043585893,
-0.005642688,
0.027237581,
0.007187495,
-0.05355332,
0.020770276,
-0.008310991,
0.029023653,
-0.03091055,
0.044363696,
0.039207138,
-0.032062855,
0.05669335,
0.013770031,
0.04179982,
0.02412636,
0.04179982,
0.030968165,
0.006766184,
-0.022052214
] | from transformers import MusicgenForConditionalGeneration
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
unconditional_inputs = model.get_unconditional_inputs(num_samples=1)
audio_values = model.generate(**unconditional_inputs, do_sample=True, max_new_tokens=256) |
[
0.017673722,
0.01948126,
-0.011117803,
0.01121105,
-0.013377228,
-0.009676076,
-0.032535713,
0.009202672,
0.02722786,
0.03480231,
0.01973948,
-0.017831521,
0.039306816,
-0.047168177,
-0.034113724,
0.018720945,
-0.016497385,
-0.059333205,
-0.03712629,
-0.030756865,
-0.0037908123,
-0.00837063,
-0.03939289,
-0.009647384,
-0.030670792,
0.006487776,
-0.001399588,
0.01619613,
0.055172995,
0.011124976,
0.018104088,
-0.015335396,
-0.011168012,
-0.050266817,
0.028863251,
-0.020069428,
0.052074358,
-0.015765762,
-0.011569688,
-0.042749748,
0.03242095,
0.031043775,
0.014202097,
-0.054140117,
-0.03715498,
-0.025549429,
0.019897282,
-0.005960577,
0.037527967,
0.018634873,
-0.001884647,
0.0048523834,
0.018434035,
-0.042462837,
-0.01400126,
-0.008750787,
-0.020671941,
0.000020439611,
-0.015909217,
-0.019911626,
0.025506392,
0.0049671475,
-0.0017125004,
-0.03560566,
0.01635393,
0.024731733,
-0.010264243,
-0.03537613,
-0.009575657,
-0.0071727764,
-0.04409823,
0.02216388,
-0.031617597,
-0.021174036,
-0.0047806553,
0.026238017,
0.01167728,
-0.0022952885,
-0.019653408,
0.013678485,
0.026596654,
0.03764273,
0.020614559,
0.009604348,
0.0038732993,
-0.031101158,
0.039593726,
-0.05264818,
-0.0031739536,
-0.009037699,
0.03422849,
0.062431846,
0.008220002,
-0.029006708,
0.03090032,
-0.004454294,
0.0008504223,
0.023526706,
0.010522463,
0.00068813824,
0.019825554,
0.08435185,
-0.0106444005,
0.018104088,
-0.002245079,
0.010142306,
0.02235037,
-0.0030878803,
-0.05428357,
-0.020298958,
0.009769321,
-0.026768802,
0.0480576,
0.009733457,
-0.00023378768,
0.04131519,
-0.011089113,
-0.0116127245,
-0.026151942,
-0.007882881,
0.0034196211,
0.01816147,
-0.008994661,
-0.05345153,
0.017458538,
-0.06025132,
0.0042426973,
-0.0027471734,
-0.038360007,
-0.019940319,
-0.011218222,
0.027557807,
0.01906524,
0.027801681,
0.018003669,
-0.0012597188,
-0.038216554,
-0.004267802,
0.00862885,
-0.048315823,
0.024100529,
-0.040798753,
-0.0047806553,
0.06616169,
-0.030211734,
-0.004647959,
0.03537613,
-0.010314452,
0.0023490842,
0.017659375,
-0.05634933,
0.0088081695,
-0.038073096,
0.028748488,
-0.01819016,
0.012251102,
-0.023411943,
0.008743614,
-0.001016741,
0.041946396,
0.04177425,
0.010960002,
-0.052275196,
0.030814247,
-0.003426794,
0.020471103,
-0.0044291895,
-0.02441613,
0.028791524,
-0.01609571,
0.004066964,
0.0041602105,
0.037585348,
0.021460947,
0.02151833,
0.0046300273,
0.02854765,
-0.016698223,
0.022292988,
0.0051141893,
-0.01658346,
-0.013678485,
0.04077006,
0.014273825,
-0.009310264,
0.019552989,
-0.018534454,
0.019782517,
-0.03242095,
0.014116024,
0.035404824,
0.08825384,
-0.07373614,
-0.01661215,
-0.069662005,
-0.006505708,
-0.01658346,
-0.009295918,
-0.004558299,
-0.072588496,
-0.0065092947,
0.02542032,
-0.038790375,
0.0072373315,
-0.016812988,
0.047627237,
0.032047965,
0.066620745,
-0.016368276,
0.024301367,
0.041286502,
0.03715498,
-0.026266707,
0.02087278,
0.012724505,
-0.01922304,
-0.020055084,
0.019983355,
0.031015085,
0.008456703,
0.01420927,
-0.0017062242,
0.023569742,
0.007882881,
-0.012846443,
-0.007689216,
-0.0017214663,
0.04771331,
0.020686287,
0.02077236,
0.00025418526,
0.047139484,
0.009575657,
0.054312263,
0.023985764,
0.036351632,
0.046364825,
0.019395187,
0.016640842,
0.0013242739,
-0.04154472,
0.0032295426,
0.0073736142,
0.03738451,
-0.015019794,
-0.00024140875,
0.022379063,
0.01364262,
-0.028820215,
0.0069934567,
-0.06375164,
0.07172776,
-0.00005320743,
-0.0031398828,
-0.050381582,
-0.03144545,
0.0109671755,
0.04825844,
-0.005211022,
-0.03744189,
0.039651107,
0.020055084,
-0.016798642,
0.016683878,
0.030469954,
0.03397027,
-0.030556027,
0.03815917,
-0.016827334,
0.0063479072,
-0.07626096,
-0.04125781,
-0.0628909,
0.005573247,
-0.010292934,
-0.0008782168,
0.06375164,
-0.03173236,
0.03503184,
0.010802201,
-0.010041887,
0.0048739016,
0.0038553672,
0.017444192,
0.01335571,
0.012466285,
-0.055603363,
0.025865031,
-0.0073126457,
0.049664304,
-0.0036545296,
-0.015478851,
0.013298327,
-0.019596025,
0.036638543,
0.017831521,
-0.036695924,
0.009518274,
0.03686807,
-0.015105867,
-0.0053078546,
0.032248802,
-0.009819531,
-0.0038087443,
-0.027672572,
0.046737812,
0.0034142416,
-0.011741835,
-0.006986284,
0.040339693,
-0.006598954,
0.020915816,
0.021833932,
0.019667752,
0.0012955827,
0.02674011,
0.044987652,
0.016425658,
-0.023053303,
-0.0024979194,
-0.026897911,
-0.046881266,
-0.012595396,
-0.030269116,
-0.03867561,
0.06180064,
-0.004436362,
-0.069891535,
0.029781368,
-0.08016295,
0.0022827361,
0.013750212,
0.00077062513,
0.043696553,
0.048947025,
0.012186547,
-0.051184934,
0.0053903414,
0.0013287568,
0.037355818,
0.0044291895,
-0.030785557,
-0.027500425,
0.048229747,
0.0041745557,
0.014108851,
0.016554767,
-0.067424096,
0.016669532,
0.024789115,
0.005896022,
0.024401786,
0.002345498,
0.007911572,
0.012315657,
0.024186602,
-0.035347443,
0.011268431,
-0.005203849,
0.038073096,
0.03818786,
-0.019925972,
0.05264818,
0.008671886,
-0.010228379,
-0.00785419,
0.015550579,
0.0020316888,
0.05887415,
-0.07017844,
0.020040737,
0.03666723,
-0.02816032,
-0.01004906,
-0.012502149,
0.003833849,
0.02958053,
-0.016411312,
0.018505763,
-0.0057525667,
-0.06570263,
-0.0008253176,
0.023784926,
0.033367757,
0.008420839,
0.04303666,
-0.00003395861,
-0.026797492,
0.02506168,
-0.035433516,
-0.022034768,
-0.015005448,
-0.0015618721,
-0.038646918,
-0.055689435,
-0.011627071,
0.021274455,
0.032019272,
0.058988914,
0.04125781,
0.02896367,
-0.017185973,
0.036208175,
0.026854875,
-0.027027022,
-0.015335396,
-0.0069898707,
0.053308073,
0.0023544638,
0.0074166507,
-0.026438853,
-0.0057238755,
-0.0612842,
0.017845867,
0.01751592,
0.01712859,
0.0079474365,
0.020026391,
-0.01632524,
0.0015367673,
-0.0022145947,
-0.019438224,
-0.011921154,
0.055918965,
0.03551959,
-0.03267917,
0.02048545,
-0.050496347,
0.000828904,
0.040397078,
-0.04280713,
-0.05841509,
-0.03325299,
-0.03348252,
-0.06650598,
0.010486599,
0.039364196,
0.017530266,
-0.0031614013,
-0.041458648,
0.0024781942,
0.017214663,
-0.049750376,
-0.022852466,
-0.0038230899,
-0.0022253538,
-0.009202672,
0.011619898,
-0.0047734827,
-0.009123771,
0.0045224354,
-0.028404195,
0.04077006,
-0.030986395,
0.010214034,
0.026510581,
-0.027758645,
-0.006032305,
0.032334875,
0.037843566,
-0.05029551,
0.002549922,
0.03947896,
-0.016712569,
-0.0612842,
0.022249952,
-0.009303091,
0.016454348,
0.016296549,
0.027729953,
0.01948126,
0.048602734,
-0.024875188,
-0.022364717,
-0.009597175,
-0.013319845,
-0.000515095,
-0.027055712,
-0.014266652,
0.028762832,
-0.030814247,
0.054025352,
0.011584034,
-0.00061820366,
0.013111835,
-0.06811269,
-0.0152923595,
0.002725655,
-0.018175816,
0.024487859,
-0.0028350397,
-0.025405973,
0.027686916,
-0.06352211,
-0.0014991103,
-0.013362883,
-0.022206916,
0.019567333,
0.07086703,
0.03704022,
-0.021202726,
-0.034917075,
-0.050467655,
0.058816765,
-0.051271006,
0.021948695,
-0.041458648,
-0.028777178,
0.04203247,
-0.031703673,
-0.015607961,
0.013283982,
0.0038230899,
0.00086118147,
0.0013341364,
0.0012202685,
-0.019352151,
-0.051816136,
-0.016411312,
0.03422849,
0.0011655762,
-0.03379812,
0.0033317546,
0.03526137,
-0.009460892,
0.027486078,
-0.019380841,
-0.047110796,
-0.016468694,
-0.046737812,
0.065186195,
-0.03296608,
0.010214034,
-0.004759137,
-0.049750376,
-0.030326499,
0.01622482,
-0.04570493,
-0.05500085,
-0.003704739,
-0.032363568,
-0.0032779588,
-0.045331948,
0.009367646,
-0.01883571,
0.010716128,
-0.005831467,
0.0068894518,
-0.008363457,
-0.0048667286,
0.024875188,
0.021532675,
0.014661155,
0.010493772,
-0.009905604,
-0.013140527,
-0.0037262572,
0.027629534,
0.011892463,
0.0014471076,
-0.0015645619,
0.02022723,
-0.040425766,
0.010522463,
-0.032306183,
-0.025908068,
-0.010730473,
-0.022981575,
0.07350661,
-0.058042105,
-0.012172202,
0.010787856,
0.011132149,
0.035203986,
0.021532675,
-0.043696553,
-0.04206116,
-0.04435645,
-0.052533414,
-0.0068786927,
0.0006612403,
-0.033367757,
-0.00412076,
0.017573303,
0.053135928,
-0.048889644,
0.025190791,
0.029150164,
0.021245763,
-0.025979796,
-0.06839959,
0.03939289,
0.02009812,
0.03219142,
0.009252882,
-0.0024261917,
-0.026926603,
0.015392778,
-0.01790325,
-0.01722901,
-0.01180639,
-0.016956443,
0.018132778,
-0.032363568,
0.01754461,
0.0073377504,
-0.024301367,
-0.032248802,
-0.0010158444,
0.020399377,
0.0007244504,
-0.0123730395,
0.00079886796,
0.0040418594,
0.013377228,
-0.030670792,
-0.05729614,
-0.005569661,
0.039851945,
-0.039134666,
-0.026725765,
0.013491992,
0.0018864402,
-0.045331948,
-0.05841509,
-0.031847127,
-0.0055230376,
0.0068822787,
-0.060595613,
0.01557927,
-0.0025983383,
-0.00991995,
-0.0016954651,
0.019667752,
-0.012222411,
0.012796233,
0.0076533523,
-0.01658346,
-0.07184253,
0.044987652,
0.03296608,
-0.043667864,
-0.027672572,
-0.07367876,
-0.026008487,
-0.052533414,
0.011053248,
0.01958168,
-0.044442523,
0.04725425,
0.038360007,
0.001557389,
0.039565034,
0.014395762,
0.031330686,
-0.0032582337,
-0.010357489,
-0.05342284,
0.005996441,
0.015550579,
0.00090466643,
0.027729953,
-0.026955293,
0.013255291,
0.009030526,
0.031560216,
0.016798642,
-0.06524357,
-0.006706546,
-0.030842938,
-0.0198399,
0.018663565,
0.00223432,
0.005340132,
-0.0022809429,
-0.007990473,
-0.07654787,
-0.018204506,
-0.030412572,
-0.0001298945,
0.0009477031,
-0.0570953,
0.0025158513,
-0.032765243,
0.019352151,
-0.020571522,
-0.005774085,
-0.025821995,
-0.010637227,
0.002974909,
-0.0029982205,
-0.008607332,
0.048373204,
-0.028633723,
0.027012676,
0.002549922,
0.033339065,
0.0001232821,
0.017286392,
-0.04151603,
0.052074358,
0.022307334,
-0.015263668,
0.015019794,
0.0024871603,
-0.020184193,
-0.010960002,
-0.0018828538,
0.06782577,
0.013786077,
-0.013578066,
-0.012035918,
0.018606182,
-0.05600504,
0.014833301,
-0.042118542,
0.01754461,
0.010508117,
0.042262,
-0.0043000793,
0.054111425,
0.0015295945,
0.06828483,
-0.009747803,
0.011304296,
-0.006376598,
0.0084782215,
0.028762832,
0.010450735,
0.00940351,
-0.026381472,
0.0051106033,
-0.010063405,
-0.020442413,
0.002245079,
-0.034687545,
-0.0023168067,
-0.03187582,
-0.010170997,
0.05135708,
0.04880357,
-0.0057453937,
-0.02958053,
-0.032851316,
-0.029781368,
-0.036954142,
-0.0014677293,
-0.05138577,
-0.027299587,
0.024487859,
-0.05586158,
0.013743039,
0.0058242944,
-0.019567333,
0.0062008654,
0.039048593,
-0.016856024,
0.006624059,
0.02983875,
-0.016425658,
0.028619377,
-0.025951104,
0.02296723,
-0.014445972,
0.01583749,
-0.018276233,
-0.03216273,
0.022106497,
0.075055934,
0.00070965657,
-0.041343883,
-0.052045666,
0.0037477757,
0.004066964,
-0.016282203,
-0.03135938,
0.002022723,
0.020729324,
0.0056198705,
0.010622881,
-0.005569661,
-0.007445342,
0.017286392,
0.04564755,
0.03996671,
-0.016640842,
0.027787335,
-0.013786077,
-0.022952884,
-0.0045654722,
0.019509953,
0.021217072,
0.0008701474,
0.010981521,
-0.0018182988,
0.03374074,
0.059562735,
0.0028117283,
-0.019696444,
0.027041366,
0.010142306,
-0.003381964,
-0.033769432,
0.056464095,
0.042577602,
-0.01493372,
0.027400006,
-0.04022493,
0.010665919,
0.0070149754,
0.002503299,
0.009762148,
0.011132149,
-0.030957703,
0.0024423304,
-0.00844953,
0.027242204,
-0.0050890846,
-0.044499904,
-0.024272675,
-0.026783146,
0.021432256,
0.014704191,
0.0001228338,
-0.0013188942,
0.051012784,
0.030154351,
0.016296549,
0.03250702,
-0.028346812,
0.07735122,
-0.014015605,
0.033769432,
0.00052047457,
-0.0019133381,
-0.020944508,
0.013111835,
-0.048373204,
0.013255291,
-0.015521888,
-0.018304925,
-0.021202726,
-0.03115854,
0.008980316,
-0.059907027,
0.0201555,
-0.06530096,
0.02542032,
-0.00028153148,
0.015364087,
-0.017831521,
0.025549429,
-0.005497933,
0.024860842,
0.019653408,
0.072129436,
-0.0026754455,
0.11705971,
0.027916446,
-0.00091273576,
0.03187582,
0.04077006,
-0.036638543,
-0.008549949,
0.030326499,
0.009762148,
0.012609741,
-0.023024611,
-0.04722556,
-0.004612095,
0.016296549,
0.0076820436,
-0.040655296,
0.0030968462,
-0.03503184,
-0.046020534,
0.022608591,
0.09628735,
0.050238125,
-0.018792674,
-0.036150794,
-0.02658231,
-0.02735697,
-0.030240426,
0.022493826,
0.026108906,
-0.042175926,
-0.040339693,
-0.009001834,
-0.016124401,
-0.046450898,
-0.008836861,
0.010314452,
-0.01619613,
0.010092096,
0.015521888,
0.045159798,
0.018907439,
-0.04800022,
0.003815917,
0.019753827,
0.02922189,
0.045217182,
0.07568713,
0.057783887,
0.008248692,
-0.016368276,
-0.009152463,
0.027055712,
-0.029896133,
0.0020478277,
-0.03454409,
-0.0021733511,
-0.07172776,
-0.052476034,
-0.039938018,
0.023842309,
-0.02235037,
-0.007968955,
-0.047455087,
0.011490787,
-0.06604692,
-0.022006078,
-0.027371315,
0.012860788,
-0.0033586526,
0.0023616366,
-0.044758126,
-0.0383887,
0.2458254,
0.06501404,
0.059907027,
0.014833301,
0.021561366,
0.07379352,
0.029666603,
-0.042864513,
-0.0058996086,
-0.04455729,
-0.013255291,
-0.02929362,
0.008227174,
0.029408382,
-0.019050894,
0.04306535,
-0.025692886,
-0.028561996,
0.009970159,
-0.07367876,
-0.034917075,
0.013391573,
-0.0069037974,
0.019136967,
0.022106497,
0.019596025,
0.04154472,
-0.0435531,
0.012129165,
-0.0088081695,
0.0005617181,
-0.0040777232,
0.014395762,
-0.008973143,
-0.01777414,
0.020428067,
0.0007997646,
-0.01715728,
0.021432256,
0.018763984,
0.0020729324,
0.0036348044,
-0.0021966628,
0.0069611794,
-0.056751005,
0.03118723,
0.025549429,
0.07017844,
0.07373614,
-0.06398117,
0.02206346,
-0.04338095,
0.012832097,
-0.02009812,
-0.029810058,
-0.014948066,
-0.07167038,
-0.012093301,
-0.030412572,
0.05663624,
-0.018563146,
0.0122654475,
-0.000100306796,
0.0105655,
-0.03417111,
0.017673722,
-0.033310372,
0.00574898,
-0.04748378,
0.003104019,
-0.0134489555,
-0.03537613,
-0.015249322,
-0.062489226,
-0.0018039532,
0.06771101,
-0.008456703,
0.035777807,
-0.015206286,
-0.05006598,
-0.020456757,
-0.0029767023,
0.04754116,
-0.012294139,
-0.008607332,
0.042491525,
-0.020370685,
0.010063405,
-0.00574898,
0.0048523834,
0.041889016,
0.03141676,
-0.00043686692,
0.0068392423,
-0.013671312
] | The audio outputs are a three-dimensional Torch tensor of shape (batch_size, num_channels, sequence_length). To listen
to the generated audio samples, you can either play them in an ipynb notebook:
thon
from IPython.display import Audio
sampling_rate = model.config.audio_encoder.sampling_rate
Audio(audio_values[0].numpy(), rate=sampling_rate)
Or save them as a .wav file using a third-party library, e.g. scipy:
thon |
[
0.0031189704,
0.054062154,
0.01432338,
-0.015229568,
-0.038439203,
-0.039338365,
0.011597794,
-0.009708147,
-0.0066102506,
0.032004572,
0.0057743103,
-0.03397149,
0.05754641,
-0.05855797,
-0.003075066,
0.029953357,
-0.03737145,
-0.058389377,
-0.05394976,
-0.026595546,
-0.011316805,
-0.028464118,
-0.06861735,
-0.02673604,
-0.021312965,
0.025302999,
0.012503981,
-0.0015744128,
0.06333477,
0.03633179,
-0.015749397,
-0.0046398197,
-0.014541146,
-0.009532529,
-0.014372554,
-0.02143941,
0.037118558,
-0.018882416,
-0.030824421,
-0.026609596,
0.035095442,
-0.017027892,
0.019767528,
-0.034561563,
-0.06046869,
-0.02867486,
0.0014699203,
-0.010003185,
0.009321788,
-0.023476575,
-0.016086582,
-0.004105942,
0.037483845,
0.020357605,
0.0022830302,
-0.016522113,
-0.020891482,
-0.034814455,
-0.04653167,
0.033746697,
0.016465917,
0.040265627,
-0.00073671626,
-0.075810656,
-0.0154262595,
0.014049416,
0.0053739017,
-0.013438267,
-0.03298803,
-0.016817153,
-0.033072326,
0.03281944,
-0.026609596,
-0.036500383,
0.001586706,
0.037877228,
0.010565162,
-0.040293727,
0.0010282417,
0.012314314,
0.0034684497,
0.03897308,
0.012665549,
0.037174758,
-0.029559972,
-0.054624133,
0.02429144,
-0.0077342037,
-0.037764832,
-0.026539348,
-0.0020266285,
0.051870447,
-0.0361351,
0.01972538,
0.05684394,
0.036191296,
-0.012433734,
0.037118558,
-0.0011362466,
-0.01640972,
0.05364067,
0.07530487,
-0.024684826,
0.022254275,
-0.010410618,
0.0015691442,
0.037877228,
0.01421801,
-0.03059963,
-0.024642676,
0.008900305,
-0.015018826,
0.036725175,
0.016704757,
-0.014140738,
0.04051852,
0.025190605,
0.034055784,
-0.039591257,
-0.030936815,
-0.020427851,
0.007228425,
0.0006401265,
-0.07631643,
-0.000723984,
-0.07114625,
-0.013255625,
0.059344735,
-0.023307983,
0.021846842,
0.022535264,
0.009413109,
0.041782964,
0.051308468,
0.012075474,
-0.010263099,
-0.016550213,
0.011232508,
0.01708409,
-0.0140213175,
-0.008556095,
-0.021734448,
-0.019135306,
0.092445165,
0.008703614,
-0.011358953,
0.0504936,
-0.062660396,
0.0060939346,
0.025921173,
-0.046419274,
0.009321788,
-0.012813068,
0.03208887,
0.006466244,
0.0015726566,
-0.039029278,
0.0015489482,
-0.0031786805,
0.0033156623,
0.021144371,
0.0010291198,
-0.05636626,
0.043721784,
-0.040996198,
0.019950172,
-0.03473016,
0.007797426,
0.0071933013,
-0.03543263,
-0.035264038,
0.015159321,
0.012714722,
0.009490381,
0.039422665,
0.0111622615,
0.065189295,
0.009630875,
0.011014743,
-0.0074953637,
-0.033578105,
-0.0144849485,
0.015510556,
0.02621621,
-0.00093955477,
0.0008201347,
0.0017833979,
0.023687316,
-0.02745256,
0.010860199,
0.023223685,
0.055354703,
-0.050971285,
-0.026328607,
-0.043075513,
0.014653541,
-0.012075474,
-0.0075937095,
-0.016578311,
-0.054848924,
0.0037898303,
0.012138696,
-0.0126234,
0.016606411,
-0.014653541,
0.016901448,
0.009111047,
0.08030646,
-0.037792932,
0.05279771,
0.03950696,
0.014653541,
-0.04068711,
0.025921173,
0.0130448835,
-0.01338207,
-0.02794429,
0.004074331,
0.03998464,
0.017154338,
-0.012686623,
-0.0092515405,
0.05203904,
-0.004966469,
0.022015436,
-0.007080906,
-0.0019581374,
0.041614372,
0.00856312,
0.014498998,
0.005682989,
0.014302306,
0.024656726,
0.049257256,
0.02264766,
0.0016911986,
0.03810202,
0.01178746,
0.012005227,
-0.008050316,
-0.051505163,
0.01712624,
0.03874829,
0.035994604,
-0.020877434,
0.028000487,
0.012222992,
-0.019823726,
-0.0071722274,
-0.024488132,
-0.022984846,
0.055691887,
0.007080906,
0.0018527668,
-0.05369687,
-0.019950172,
0.036191296,
0.06962891,
-0.019247701,
-0.015060974,
0.039872244,
0.044677146,
0.0012012251,
0.013431243,
0.0056303036,
0.044143267,
-0.003154094,
0.0029415966,
-0.0458011,
-0.010649458,
-0.020104716,
-0.04861098,
-0.053556375,
-0.0027888091,
-0.0030258931,
-0.007558586,
0.045604408,
-0.035235938,
0.023012945,
-0.0067999177,
-0.02023116,
0.015468407,
0.013325872,
0.0065540527,
0.03635989,
0.020582395,
-0.055270404,
0.021284867,
-0.02287245,
0.07637263,
-0.0070036342,
-0.013101081,
0.01926175,
-0.051617555,
0.00999616,
0.014906432,
-0.007347845,
-0.00024871857,
-0.0024164997,
0.027831895,
-0.010593261,
0.056956336,
-0.024193095,
-0.0033490297,
-0.041473877,
0.014990727,
-0.00277476,
-0.023701366,
0.033578105,
0.037989624,
-0.029840961,
0.03211697,
-0.0023638143,
0.015201469,
-0.031330198,
-0.0014532366,
0.056253865,
-0.0017728608,
-0.015089073,
-0.008914355,
-0.014253133,
-0.023307983,
-0.02507821,
0.0264972,
-0.00965195,
0.04892007,
0.016437817,
-0.053865463,
-0.007987093,
-0.043974675,
-0.041979656,
-0.01587584,
0.0125461295,
0.032369856,
0.026946781,
0.004471227,
-0.051364668,
0.046110187,
0.012784969,
0.05364067,
0.03034674,
-0.002846763,
0.028731057,
0.05369687,
-0.011049867,
0.009075923,
0.044677146,
-0.0481895,
0.023687316,
-0.006603226,
0.007446191,
0.017070042,
-0.0035562585,
-0.016943596,
-0.016269224,
0.046868853,
-0.018264242,
-0.0067366953,
0.04714984,
0.016002286,
0.0077131297,
0.027536856,
0.026904633,
0.0063714106,
-0.012553154,
-0.031835977,
-0.020568347,
0.011836633,
0.028520316,
-0.051336568,
0.020540247,
0.049987823,
-0.065357886,
0.021130323,
-0.0084156,
-0.026932731,
0.06591986,
-0.01780061,
0.053275388,
-0.00063529704,
-0.00066910347,
-0.0023884007,
0.024347639,
0.039619356,
0.029840961,
0.016072532,
-0.009413109,
-0.029559972,
-0.028295524,
-0.017449375,
-0.02700298,
0.0071652024,
0.011365978,
-0.04015323,
-0.0046503567,
-0.031133506,
0.022493117,
0.03034674,
0.015946088,
0.039619356,
0.027326116,
-0.013937022,
0.010010209,
0.01096557,
-0.010768878,
0.030459136,
-0.025120357,
0.03422438,
0.022956748,
0.018910514,
-0.011485398,
-0.014056441,
-0.03397149,
0.025752582,
0.0057567484,
0.030852519,
-0.020090666,
-0.027326116,
-0.037736733,
0.013937022,
-0.03416818,
-0.015552704,
-0.048498586,
0.025682334,
0.02068074,
-0.02866081,
0.007298672,
-0.04195156,
0.007119542,
0.044986233,
-0.0154262595,
-0.01853118,
-0.022127831,
-0.015145271,
-0.0154403085,
0.0228865,
0.05996291,
0.0048681227,
0.015566753,
-0.04602589,
0.0069474364,
0.05751831,
-0.008113538,
-0.016255176,
-0.005121012,
-0.027831895,
-0.011759362,
0.01615683,
0.017449375,
-0.024361689,
0.028281476,
-0.03588221,
-0.0168312,
-0.03739955,
0.006016663,
-0.0042218496,
-0.018489033,
-0.0070176837,
-0.00086799054,
0.002816908,
-0.03686567,
-0.0125812525,
0.021270817,
-0.034280576,
-0.074293315,
0.004369369,
0.017955154,
0.011260607,
0.03175168,
0.04015323,
-0.018278291,
0.048498586,
0.0077201542,
-0.037287153,
0.040799506,
-0.021846842,
0.016887398,
-0.013206452,
-0.027354214,
-0.022465017,
-0.024361689,
0.029784763,
-0.00079467014,
-0.026623644,
0.00950443,
-0.08620722,
-0.0077201542,
-0.0012363486,
-0.028351722,
0.007024708,
0.013656033,
-0.007207351,
0.040406123,
-0.010558137,
0.016297324,
-0.037624337,
-0.050437406,
-0.00058963645,
0.045323417,
0.012237042,
0.06558268,
-0.052376226,
-0.049397748,
0.014105614,
-0.016760955,
0.029419478,
-0.009848641,
-0.037427645,
0.010242024,
-0.01636757,
-0.01215977,
-0.00052685314,
-0.028857501,
-0.029166589,
0.018390687,
-0.01397917,
-0.020189011,
-0.026131915,
-0.05400596,
0.046082087,
-0.0073267706,
-0.018222094,
-0.03059963,
0.03630369,
-0.0060763727,
0.012384561,
0.037792932,
-0.04965064,
-0.020427851,
-0.034140084,
0.03683757,
-0.027143473,
0.03298803,
-0.031021113,
-0.022493117,
-0.013663058,
0.012356462,
0.0078536235,
-0.061143063,
-0.021116273,
0.0044993255,
-0.031892177,
-0.041473877,
-0.009089973,
-0.053584475,
0.03281944,
-0.013761404,
0.0050507654,
-0.019219602,
-0.00315585,
0.0011643454,
-0.020779088,
0.022984846,
0.034055784,
-0.03784913,
-0.024460034,
-0.02676414,
-0.012651499,
0.0068877265,
0.034505367,
0.007368919,
0.03633179,
-0.011344904,
0.022746006,
-0.075473465,
-0.024993911,
-0.035348333,
-0.014119664,
0.066369444,
-0.033409514,
0.0050613023,
0.018208044,
0.028295524,
0.018222094,
0.02336418,
-0.0337186,
0.01084615,
-0.06294139,
-0.07097765,
0.01300976,
-0.022830302,
-0.033830997,
-0.013494465,
0.037961524,
0.038944982,
-0.04765562,
0.021537757,
0.07148343,
0.019107206,
0.037034262,
-0.08041886,
0.029897159,
0.010586236,
-0.009392035,
-0.006835041,
0.0070563196,
0.004084868,
0.006083397,
-0.031021113,
-0.047402732,
-0.017969204,
-0.025373247,
0.05900755,
-0.033072326,
0.008478823,
-0.04141768,
-0.0457449,
-0.034645863,
0.019922072,
0.031330198,
0.01614278,
0.015075024,
0.034786355,
0.028281476,
0.047121745,
-0.028773205,
-0.035488825,
-0.023434427,
0.026455052,
-0.028731057,
-0.04630688,
0.0047768014,
0.039563157,
-0.05223573,
-0.051870447,
-0.028351722,
0.01973943,
-0.051111776,
-0.05827698,
0.014527096,
0.006585664,
-0.03273514,
0.0048856847,
0.04259783,
-0.01407049,
0.015145271,
0.003175168,
-0.004393955,
-0.042963117,
-0.0033332242,
0.016662609,
-0.015454358,
-0.009406084,
-0.0433284,
0.010424667,
-0.02911039,
0.010382519,
0.040574715,
0.0149626285,
0.03995654,
0.033578105,
-0.011295731,
0.059794318,
-0.015594852,
0.019079108,
-0.010438717,
-0.031274002,
-0.07249499,
-0.016957646,
0.019823726,
-0.016283274,
0.03591031,
-0.034055784,
-0.0055284454,
0.015932038,
0.041136693,
-0.020849334,
-0.073169366,
0.027888091,
-0.05928854,
-0.010895323,
0.0149485795,
-0.0007968654,
-0.0049348576,
0.035826012,
0.0030153561,
-0.02384186,
0.00011513936,
0.011077965,
-0.018573329,
-0.02482532,
-0.037961524,
-0.004948907,
-0.0042604855,
-0.019908024,
-0.016184928,
0.0025921173,
-0.007923871,
-0.0030504796,
-0.028717007,
0.006473269,
-0.010452766,
0.022436919,
-0.055748086,
-0.0022566875,
0.017322931,
0.025443494,
0.030627728,
0.0011661015,
-0.033353314,
0.047627524,
0.023223685,
-0.020498099,
-0.0030627728,
0.004393955,
0.014302306,
-0.0554109,
0.029672367,
0.03467396,
-0.010087481,
-0.0055776183,
-0.021130323,
0.035011146,
-0.036191296,
0.0019985295,
-0.04672836,
0.01712624,
-0.019795628,
0.023476575,
0.010986644,
0.047852315,
-0.012138696,
-0.006515417,
-0.0047346535,
0.010747803,
0.021551805,
0.016971696,
0.009560628,
-0.01615683,
0.006020175,
-0.04703745,
0.015510556,
0.025822828,
-0.010347395,
0.015089073,
-0.009202368,
-0.010403593,
-0.02576663,
-0.032397956,
0.064009145,
0.05704063,
0.0024112312,
-0.04793661,
0.00041423828,
0.009883764,
-0.013951071,
0.009370961,
-0.047796115,
-0.05102748,
0.038326807,
-0.036500383,
0.0074321413,
-0.022436919,
0.037146658,
-0.005791872,
0.035207838,
0.00939906,
0.0028643247,
0.038944982,
0.0010642433,
0.015524605,
-0.07777757,
-0.02458648,
0.024277393,
0.044452354,
-0.013915948,
-0.036781374,
0.07187682,
0.04124909,
0.028450068,
-0.04065901,
-0.027522808,
-0.023912108,
-0.0047768014,
0.0023427403,
-0.026272409,
0.022507165,
-0.031133506,
0.021003878,
-0.008499897,
0.037287153,
-0.008261057,
0.04259783,
0.010150704,
0.017547721,
0.0060342243,
0.04723414,
0.027733548,
-0.016508065,
-0.013016785,
0.008935429,
0.0076007345,
-0.0007073003,
0.011478374,
-0.016269224,
0.067493394,
0.038663995,
0.025176555,
-0.0009562384,
0.016746905,
0.0005338778,
-0.014358504,
-0.0011160505,
0.01879812,
0.027087275,
-0.017955154,
0.01517337,
-0.039563157,
-0.0013101081,
-0.011548621,
-0.010368469,
-0.002170635,
-0.001130978,
-0.027143473,
-0.022816252,
-0.0063995095,
-0.009890789,
0.024783172,
-0.01905101,
0.00890733,
0.014794036,
0.038888786,
0.021888992,
0.010235,
-0.026679842,
0.06805538,
0.03203267,
0.031498794,
0.026637694,
0.009883764,
0.04189536,
0.021088174,
0.024052601,
0.011035817,
-0.041979656,
-0.027902141,
-0.028253376,
-0.076934606,
0.011646966,
0.018489033,
-0.031414494,
0.008015192,
-0.01782871,
0.034983046,
-0.044986233,
0.038635895,
-0.03515164,
0.029335182,
0.019079108,
-0.03739955,
-0.045857295,
0.015735347,
0.0031909738,
0.035826012,
0.010579211,
0.063840546,
-0.005644353,
0.09413109,
0.021818744,
-0.017688215,
0.022240227,
0.031217804,
-0.046138283,
-0.025626136,
0.028997997,
-0.011766386,
-0.021355113,
-0.04360939,
-0.044873837,
0.009595752,
-0.020596445,
-0.01879812,
-0.011885807,
0.037006162,
0.0039197872,
-0.03880449,
0.02840792,
0.069010735,
0.012454808,
-0.06355956,
-0.005166673,
0.014611393,
-0.03666898,
-0.0023181539,
-0.03810202,
0.044986233,
-0.0154403085,
-0.047374632,
-0.015482457,
-0.014555195,
-0.02964427,
-0.017322931,
-0.012061425,
-0.014035367,
0.03298803,
0.044986233,
0.021551805,
0.009061874,
-0.019205553,
-0.00541605,
0.018587379,
0.036472287,
0.00644517,
0.08879232,
0.035994604,
-0.025893075,
0.01132383,
0.012461833,
0.015327914,
-0.044171367,
0.006357361,
-0.025007961,
0.009982111,
-0.049706835,
-0.03635989,
-0.013894873,
0.049032465,
0.008661466,
-0.01879812,
-0.046756458,
0.015510556,
-0.089803874,
-0.059344735,
-0.029335182,
0.038692094,
-0.018517131,
-0.017266734,
0.004334245,
-0.056534853,
0.23445666,
0.054258846,
0.017955154,
0.038916886,
0.0049524195,
0.036753275,
0.039422665,
-0.038411107,
-0.019837776,
-0.0009360424,
-0.008837083,
-0.047599424,
0.026848435,
0.041024297,
-0.03104921,
0.044283763,
-0.01830639,
-0.0087598115,
-0.012349437,
-0.062548004,
-0.043581292,
0.03281944,
0.016732855,
0.04962254,
0.036781374,
0.02290055,
-0.015468407,
-0.017435325,
0.015566753,
-0.011358953,
0.03473016,
-0.019598937,
0.03397149,
-0.0078255255,
0.0066278125,
0.022479067,
-0.013824626,
-0.0039338367,
-0.034280576,
-0.009434183,
-0.011956054,
0.0008372574,
0.007179252,
-0.00902675,
-0.043721784,
0.042176347,
-0.019135306,
0.039057378,
0.04450855,
-0.04476144,
0.0032752703,
-0.044958133,
0.03399959,
0.0018018377,
-0.019781578,
-0.0035878697,
-0.052404325,
-0.02743851,
-0.01926175,
0.014105614,
-0.012848192,
-0.003412252,
-0.004541474,
0.017589869,
-0.042485435,
0.0070001218,
0.00018220337,
0.03152689,
-0.0041621397,
-0.022689808,
-0.012595302,
-0.009588727,
0.01445685,
-0.07727179,
0.003241903,
0.040574715,
-0.017322931,
0.029672367,
0.018151846,
-0.046840753,
0.006613763,
-0.020638593,
0.012693648,
-0.03225746,
0.05923234,
0.019121256,
-0.030487234,
0.035348333,
0.013389094,
0.051673755,
0.033156622,
0.02913849,
0.0024955277,
0.0076218084,
-0.026103817
] | from transformers import AutoProcessor, MusicgenForConditionalGeneration
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
inputs = processor(
text=["80s pop track with bassy drums and synth", "90s rock song with loud guitars and heavy drums"],
padding=True,
return_tensors="pt",
)
audio_values = model.generate(**inputs, do_sample=True, guidance_scale=3, max_new_tokens=256) |
[
-0.0005100211,
0.038371846,
-0.007317618,
0.013343066,
-0.026082182,
-0.04014156,
-0.008546584,
0.0021067997,
0.026503542,
0.040478647,
-0.01456501,
-0.042416904,
0.016264495,
-0.037922397,
-0.020815182,
0.0010296984,
-0.038596574,
-0.059833113,
-0.05407453,
-0.04050674,
-0.027964257,
-0.0025755628,
-0.05045083,
-0.03342789,
-0.0028634921,
0.020197188,
0.0051897503,
0.0373044,
0.061911825,
0.027823802,
0.005144103,
-0.007317618,
-0.021011816,
-0.027093446,
0.024214152,
-0.023877064,
0.03469197,
-0.03221999,
-0.024775965,
-0.03505715,
0.018961199,
0.008363996,
0.04977666,
-0.042613536,
-0.041686546,
-0.06140619,
0.0038765117,
-0.0049088434,
0.011769989,
0.0052424204,
-0.024172017,
0.0031707338,
0.02533778,
-0.012514391,
-0.0070928927,
-0.021938808,
0.0063976487,
-0.045141697,
-0.016910579,
0.00510899,
-0.0015915117,
0.02262703,
0.012268597,
-0.026967037,
-0.016980806,
0.012598663,
-0.024691693,
-0.034130156,
-0.030309826,
-0.0040661236,
-0.022149488,
0.034495335,
-0.018539838,
-0.028610341,
-0.0070893816,
-0.006376581,
0.003711479,
-0.024326514,
0.024691693,
0.060170203,
0.011060699,
0.03848421,
0.0037465924,
0.013483519,
-0.013272839,
-0.04531024,
0.07713696,
-0.03477624,
0.0064538303,
-0.008546584,
0.01762689,
0.047810312,
-0.023834929,
0.015239186,
0.022346124,
0.02858225,
0.013897856,
0.05165873,
-0.0049720476,
0.0039397157,
0.005165171,
0.091687925,
-0.023090526,
0.004968536,
0.0130059775,
0.025070919,
0.055450972,
0.009052217,
-0.05758586,
-0.034916695,
0.011819147,
-0.016166177,
0.04988902,
-0.03213572,
-0.022823665,
0.047023773,
0.01799207,
0.034607697,
-0.020169096,
-0.04525406,
-0.011903419,
0.01193151,
-0.0010823684,
-0.050169926,
-0.011524195,
-0.047810312,
-0.0040134536,
0.023933247,
-0.063260175,
-0.01762689,
-0.006481921,
0.0026212102,
0.048765395,
0.056995958,
0.01859602,
0.035675142,
-0.028076619,
0.00982471,
0.014073423,
-0.051265463,
0.024874283,
-0.022739394,
-0.0050352514,
0.07247391,
-0.0005960488,
-0.0128023205,
0.033877343,
-0.0127461385,
-0.013729312,
0.048905846,
-0.04511361,
0.0033129428,
-0.016882489,
0.048287854,
-0.008181406,
0.018722428,
-0.026306907,
-0.014677372,
-0.0062782634,
0.03980447,
0.02816089,
0.013813584,
-0.046770956,
0.0075212754,
-0.015604364,
0.0125424815,
-0.007570434,
0.02244444,
0.021503404,
-0.041237094,
-0.005375851,
0.025492277,
0.0351976,
0.039130297,
0.05469252,
0.015183004,
0.04401807,
-0.028568206,
0.022598939,
-0.01919997,
-0.04238881,
0.01266889,
0.04615296,
-0.008420177,
-0.015772907,
0.047669858,
-0.016994853,
0.033203166,
-0.028989565,
0.030534552,
0.016629674,
0.05705214,
-0.015239186,
-0.005575997,
-0.069046855,
-0.025604641,
-0.0009559604,
-0.006208037,
-0.049439568,
-0.051911548,
-0.020969681,
0.021868583,
-0.022107353,
0.006106208,
-0.03421443,
0.0325009,
0.01796398,
0.055170063,
-0.029663742,
0.053428445,
0.036012232,
0.03042219,
-0.059327483,
0.0121773025,
0.03511333,
-0.014038309,
-0.018301068,
0.0035095774,
0.024059653,
-0.0005341615,
-0.021348905,
-0.009965163,
0.019761782,
-0.0016450596,
-0.006745271,
0.008356973,
0.0052775335,
0.034888607,
0.02004269,
0.0032918747,
0.02025337,
0.04154609,
0.015239186,
0.040815733,
0.018090388,
0.015084687,
0.05752968,
0.0006658365,
0.002547472,
0.025562504,
-0.047529403,
0.00919267,
0.0045506875,
0.051771093,
-0.023877064,
0.012001736,
0.0108851325,
-0.010365455,
-0.030927822,
-0.0133711565,
-0.054664433,
0.074159354,
0.0009954629,
0.017795436,
-0.037950486,
-0.045001242,
0.047754128,
0.040450558,
-0.002716016,
-0.03561896,
0.04146182,
0.052838538,
-0.036208868,
0.0014580811,
-0.0052986015,
0.03087164,
-0.0000069849466,
0.0021348905,
-0.035225693,
-0.015997633,
-0.028905293,
-0.024045609,
-0.07730551,
0.010281183,
0.01396106,
0.0025773183,
0.03432679,
-0.051799186,
0.012240507,
-0.020562366,
-0.019143788,
-0.0108851325,
-0.02178431,
0.016742036,
0.004859685,
0.013216658,
-0.07247391,
0.0050141835,
-0.015927406,
0.06786705,
0.008518494,
-0.03839994,
0.005463634,
-0.020534275,
0.03505715,
-0.003915136,
-0.0041574184,
0.02455124,
0.023483796,
-0.0061659007,
-0.033231255,
0.039017934,
-0.025927683,
0.013251771,
-0.016334722,
0.02578723,
0.00089670665,
-0.024874283,
0.015379638,
0.02578723,
-0.028877202,
0.018497702,
0.0062747523,
0.0037360583,
-0.023413569,
0.016559446,
0.03463579,
-0.027725486,
-0.02771144,
0.00012959013,
-0.0051686824,
-0.03932693,
-0.03132109,
0.015604364,
-0.036096502,
0.057136413,
-0.011425878,
-0.07955276,
0.011791056,
-0.05528243,
-0.016615627,
-0.00877131,
0.010484841,
0.03553469,
0.04106855,
0.01964942,
-0.02007078,
0.015168958,
-0.019719647,
0.053400353,
0.0074861622,
-0.023132661,
-0.007422958,
0.04567542,
-0.0067101573,
-0.00049290335,
0.020618547,
-0.028259208,
-0.023975382,
0.0019400115,
0.0056532463,
0.029410925,
-0.007275482,
-0.022795575,
-0.005021206,
0.04022583,
-0.039130297,
0.019986508,
0.02515519,
0.026924903,
0.020773046,
0.037388675,
0.016138086,
0.022163535,
0.0053863847,
-0.018638156,
-0.014550964,
0.032472808,
0.032416627,
-0.06303545,
0.025632732,
0.028455842,
-0.038259484,
0.006018425,
-0.027163673,
0.009255874,
0.076687515,
0.012268597,
0.011882351,
-0.00666451,
-0.033259347,
-0.0015230407,
-0.009691279,
0.019635374,
0.009059239,
0.058091495,
-0.004627937,
-0.023216935,
0.022753438,
-0.034130156,
-0.013364133,
-0.0064678756,
0.004385655,
-0.053540807,
-0.03390543,
-0.024663603,
-0.015562228,
0.02960756,
0.032837987,
0.04474843,
0.036658317,
-0.034411065,
0.066911966,
0.02858225,
-0.017022943,
-0.007738978,
0.006201014,
0.02052023,
-0.00017051911,
0.067361414,
-0.033146985,
-0.03890557,
-0.06629397,
0.022486577,
0.021447223,
0.019930325,
0.0030601267,
0.01014073,
-0.02957947,
0.010906201,
-0.02446697,
-0.011678694,
-0.027795712,
0.023722567,
0.014874007,
-0.02262703,
0.011320538,
-0.043793347,
-0.0017170418,
0.017051034,
-0.0042311563,
-0.03688304,
-0.03042219,
-0.009101375,
-0.054776795,
0.008616812,
0.048119307,
0.0062607066,
0.028006392,
-0.06084438,
0.008420177,
0.03682686,
-0.050844103,
-0.0032128696,
0.011088789,
-0.014270058,
0.005326692,
0.020618547,
-0.019733692,
-0.037107766,
0.013659085,
-0.048849665,
0.013638018,
-0.03258517,
0.033624526,
0.016180223,
-0.0493553,
-0.022009036,
-0.017177442,
0.03592796,
-0.054467797,
-0.018272977,
0.05960839,
-0.030590734,
-0.052417178,
0.02734626,
-0.009621052,
0.010674452,
0.02955138,
0.027585031,
-0.002278855,
0.052164365,
-0.019087607,
-0.017275758,
-0.00719121,
-0.020393822,
0.021405086,
-0.049299117,
-0.018315112,
0.0018645178,
-0.016376857,
0.048400216,
0.0097474605,
-0.03814712,
0.0063484902,
-0.055928513,
-0.017823527,
-0.0068822126,
-0.034495335,
0.02226185,
0.00676985,
-0.02244444,
0.024986645,
-0.061069105,
-0.007689819,
-0.013806562,
-0.010014322,
0.006552147,
0.050169926,
0.03556278,
0.006106208,
-0.048119307,
-0.03803476,
0.0752268,
-0.018666247,
0.004859685,
-0.031236818,
-0.019312331,
0.0021032884,
-0.05966457,
-0.01045675,
0.0074510486,
-0.017289804,
-0.0051160124,
0.0445237,
0.0072895274,
-0.019115698,
-0.049664296,
-0.053962167,
0.030057011,
-0.00021155781,
-0.00993005,
0.008637879,
0.037810035,
-0.0053337147,
0.043877617,
-0.0109904725,
-0.037276313,
-0.03221999,
-0.06129383,
0.06129383,
-0.02310457,
0.023245025,
-0.044074252,
-0.044298977,
-0.03584369,
0.016952716,
-0.0070577795,
-0.056827415,
-0.014052355,
-0.0042452016,
0.009494645,
-0.06972103,
0.0073246406,
0.0045190854,
0.0198601,
0.017893754,
0.01904547,
-0.037332494,
0.0056672916,
0.022641076,
0.006906792,
0.012900637,
0.007963703,
-0.0151268225,
0.019382559,
-0.024172017,
0.0069875526,
0.006443296,
0.011102835,
0.023933247,
0.031152546,
-0.052754268,
-0.000663203,
-0.036574043,
-0.006460853,
0.014550964,
0.02064664,
0.038119033,
-0.04188318,
-0.01823084,
-0.038849387,
0.022584895,
0.0018241375,
0.03424252,
-0.02747267,
0.008076066,
-0.055956602,
-0.034045886,
0.009585939,
0.0064713866,
-0.03634932,
0.00692786,
0.026068136,
0.046237234,
-0.074552625,
-0.008680015,
0.029832285,
0.009894936,
-0.02241635,
-0.03974829,
0.025000691,
0.007366777,
-0.008883673,
0.0015423531,
0.048063125,
-0.038428027,
0.04306299,
-0.034467246,
-0.032922257,
-0.01736003,
-0.0011675182,
0.055141974,
-0.032781806,
0.016910579,
-0.024242243,
-0.042023633,
-0.03598414,
0.005906062,
0.016109996,
-0.0029811217,
0.004143373,
0.019059516,
0.030253645,
0.0063274223,
-0.037922397,
-0.037135858,
0.002947764,
0.020927545,
-0.01217028,
-0.0017626892,
0.028399661,
0.016615627,
-0.05831622,
-0.05458016,
-0.0135397,
-0.008672993,
-0.043456256,
-0.048119307,
0.02575914,
0.016053814,
-0.014888052,
0.017163396,
0.032725625,
0.0045155743,
0.03634932,
-0.0028512024,
0.012767207,
-0.056349874,
0.024031563,
0.014579055,
-0.038680844,
-0.003121575,
-0.05359699,
0.0022560314,
-0.044186614,
0.01477569,
0.00929801,
0.029467108,
0.055984695,
0.05292281,
0.000010499709,
0.038708936,
0.004817549,
0.025590595,
0.012570572,
-0.03809094,
-0.060619652,
0.019368513,
0.0065451246,
-0.016109996,
-0.007282505,
-0.009501667,
0.011418855,
0.015604364,
0.06466471,
0.0022577872,
-0.048175488,
0.02199499,
-0.008511472,
0.007422958,
0.019508967,
-0.03929884,
0.006587261,
0.02007078,
0.004943957,
-0.05196773,
0.014635236,
0.010983449,
-0.008967944,
-0.010878109,
-0.036180776,
-0.00877131,
-0.020857317,
0.0139891505,
-0.013743358,
0.0003959028,
-0.03264135,
-0.017711164,
-0.0032356933,
-0.02710749,
-0.024157971,
0.025408005,
-0.007991794,
0.004385655,
0.0032708067,
0.039046023,
0.022374215,
-0.009965163,
-0.032191902,
0.06561979,
0.026124317,
-0.008237587,
0.0035183558,
0.000032260374,
-0.010379501,
-0.03893366,
0.009733415,
0.044636067,
-0.003521867,
0.028512023,
-0.0018399385,
-0.00592713,
-0.049636204,
-0.02067473,
-0.038540393,
0.004680607,
0.03688304,
0.03929884,
0.0020681752,
0.048372123,
0.009031149,
0.039411202,
0.006850611,
0.007710887,
0.02064664,
0.0006206281,
0.024438879,
-0.0051686824,
0.008019885,
-0.05019802,
-0.0087151285,
0.0019189435,
-0.0050773877,
0.014677372,
-0.020773046,
0.005291579,
-0.03856848,
-0.026573768,
0.050001383,
0.0291862,
0.013139408,
-0.056125145,
-0.017247668,
-0.021025863,
0.0040731463,
-0.025590595,
-0.06556361,
-0.037388675,
0.031630088,
-0.03584369,
-0.0010744679,
-0.010175843,
0.019424694,
-0.005252954,
0.031405363,
-0.0009585939,
0.0043926775,
0.03809094,
-0.003469197,
0.03210763,
-0.032248084,
0.02491642,
-0.0034569073,
0.03264135,
-0.0083007915,
-0.038793206,
0.05104074,
0.10663216,
0.015688635,
-0.034944788,
-0.034916695,
-0.015815044,
-0.013666108,
0.0046419823,
-0.025408005,
0.0074370033,
0.004016965,
-0.008897718,
0.020997772,
0.00950869,
0.006871679,
0.022921981,
0.0373044,
0.013560768,
0.017345985,
0.026545677,
-0.0063309334,
-0.020871364,
0.0057936995,
0.009599985,
0.025660822,
-0.0057726316,
0.0072052553,
0.0034885095,
0.02960756,
0.03814712,
0.023132661,
-0.039635926,
0.025927683,
0.021840492,
-0.018666247,
-0.018090388,
0.035787508,
0.03592796,
-0.030197464,
-0.0148178255,
-0.03772576,
0.0031496657,
-0.017556665,
-0.021798356,
0.023006255,
0.0026036534,
-0.017317895,
-0.009873869,
-0.04227645,
-0.0030250135,
0.018525792,
-0.046855226,
-0.026292862,
-0.009368236,
0.01625045,
-0.003100507,
-0.00890474,
-0.0020418402,
0.061462373,
0.045563057,
0.052726176,
0.0040099425,
-0.0076406607,
0.069608666,
0.014326239,
0.043034896,
-0.0070928927,
-0.031770542,
-0.00922076,
0.030085102,
-0.057136413,
0.0042768037,
0.0061342986,
-0.019424694,
-0.033259347,
0.0051405914,
0.029663742,
-0.036236957,
-0.0114539685,
-0.05449589,
0.0493553,
0.031770542,
0.0186522,
-0.030506462,
0.022570848,
0.0052459314,
0.028989565,
0.008511472,
0.08680015,
-0.026138363,
0.052641906,
0.039944924,
-0.02280962,
0.017416213,
0.02665804,
-0.021700038,
-0.026026001,
0.047079954,
0.00008493037,
-0.007380822,
-0.028231118,
-0.038062852,
-0.0035130887,
-0.006102697,
-0.022725347,
-0.0012526681,
0.021756219,
-0.045759693,
-0.056068964,
0.032191902,
0.062417455,
0.02004269,
-0.021545539,
-0.024298424,
-0.010330342,
0.0012561794,
0.01844152,
-0.019129742,
0.03469197,
-0.030169373,
-0.039551657,
-0.03505715,
-0.018680291,
-0.03845612,
-0.012970864,
0.005691871,
-0.016657764,
0.029045748,
0.011236265,
0.033680707,
0.008764287,
-0.052726176,
0.015716726,
0.037360583,
0.02344166,
0.048905846,
0.09224974,
0.02552037,
-0.038652755,
-0.006408183,
-0.0071315174,
0.021700038,
-0.020688774,
0.0021208453,
-0.009663189,
0.008420177,
-0.06887831,
-0.044298977,
-0.061237648,
0.007970726,
-0.016517311,
-0.023947291,
-0.040113468,
0.026995128,
-0.06657487,
-0.028259208,
-0.0036272071,
0.0135397,
-0.004863196,
-0.0017995582,
-0.024017518,
-0.04390571,
0.23236598,
0.027023219,
0.047810312,
0.00445237,
0.02025337,
0.06090056,
0.025113054,
-0.01941065,
0.0057269842,
-0.016447084,
0.002554495,
-0.06264218,
-0.008448267,
0.02265512,
-0.044973154,
0.027486715,
-0.025899593,
-0.016685855,
0.030899731,
-0.032416627,
-0.05665887,
0.042922534,
0.0027002152,
0.047220405,
0.0089187855,
0.020141006,
0.027276035,
-0.025281597,
0.034102067,
-0.013869765,
0.028933384,
-0.02488833,
0.03632123,
-0.020576412,
-0.005660269,
0.012788275,
-0.0043294737,
-0.0013272839,
0.011917464,
-0.01501446,
0.007893477,
0.002057641,
-0.0063941376,
0.004824572,
-0.04941148,
0.0063836034,
0.018371295,
0.084721446,
0.06657487,
-0.069046855,
0.01498637,
-0.030675005,
0.030253645,
-0.00024667114,
-0.065226525,
-0.008848559,
-0.05208009,
-0.018301068,
-0.035338055,
0.037697673,
-0.045478787,
0.0028248674,
-0.010295228,
0.037360583,
-0.044242796,
0.01501446,
-0.028146846,
0.023834929,
-0.038371846,
-0.018750519,
-0.013364133,
-0.013588859,
0.01898929,
-0.08539562,
-0.010084548,
0.048512578,
-0.0020453515,
0.03682686,
-0.008785355,
-0.038989842,
0.005976289,
-0.0103162965,
0.04441134,
0.0031338648,
0.018343205,
0.0541588,
-0.051434007,
0.036911134,
0.0073035727,
0.015955497,
0.041377548,
0.027388398,
0.017345985,
-0.00024250144,
-0.036096502
] | Or save them as a .wav file using a third-party library, e.g. scipy:
thon
import scipy
sampling_rate = model.config.audio_encoder.sampling_rate
scipy.io.wavfile.write("musicgen_out.wav", rate=sampling_rate, data=audio_values[0, 0].numpy())
Text-Conditional Generation
The model can generate an audio sample conditioned on a text prompt through use of the [MusicgenProcessor] to pre-process
the inputs:
thon |
[
0.008395746,
0.017553624,
-0.026994228,
-0.0029932125,
-0.013411067,
-0.037344474,
-0.022482898,
-0.022372266,
0.028543077,
0.0004724912,
-0.008709203,
-0.035303928,
0.03852455,
-0.03456638,
-0.01066985,
0.026035417,
-0.011899095,
-0.03611523,
-0.02023338,
-0.019962946,
0.02800221,
0.009772501,
-0.033927172,
-0.0035678847,
-0.0032882313,
0.017946983,
-0.00526117,
0.056987815,
0.068346046,
0.045801684,
0.04634255,
-0.005845062,
-0.015881851,
-0.036385663,
-0.0044006985,
-0.045260817,
0.02023338,
0.04108138,
-0.00886286,
-0.04103221,
-0.014492803,
-0.0074861045,
0.024879927,
-0.02389653,
-0.048112664,
-0.008106873,
0.010798921,
0.00065841456,
0.006097057,
0.040048815,
0.015181181,
-0.014148614,
0.06947695,
-0.010030642,
0.00587272,
0.03215706,
-0.024388228,
0.008543256,
-0.024953682,
-0.030485285,
-0.003082333,
0.070411175,
0.033632156,
-0.014947624,
0.018340342,
0.018561605,
0.009243925,
-0.034295946,
-0.06903442,
0.0006883774,
-0.041105967,
0.07537733,
0.017897813,
-0.057086155,
-0.01673003,
0.01602936,
0.024818465,
0.0028610686,
0.031222833,
0.028715173,
0.032722514,
0.051677477,
0.025666643,
0.022667285,
-0.01011669,
-0.02138887,
0.03390259,
-0.0056729675,
-0.023515465,
0.019975238,
0.008635449,
0.040638853,
-0.033140454,
-0.0017347726,
0.011475006,
0.025617475,
-0.024609493,
0.025519134,
0.027313832,
-0.010731312,
0.01682837,
0.057528686,
0.010270345,
0.018192831,
0.020761956,
-0.0031345757,
0.045457494,
-0.0074861045,
-0.03291919,
-0.013521699,
0.010092105,
-0.00021761484,
0.064264946,
-0.015463907,
0.010337953,
0.03692653,
0.008690765,
0.026232097,
-0.046662156,
-0.026035417,
-0.011179986,
-0.01773801,
0.03050987,
-0.07640989,
-0.012495279,
-0.085702986,
-0.02534704,
0.02920687,
0.021450331,
-0.040343832,
-0.034123853,
0.037196964,
0.030436115,
0.008598572,
-0.0017071145,
-0.054480154,
-0.04857978,
0.013116049,
0.030264022,
-0.035107248,
0.0405651,
0.020417767,
0.016557936,
0.07537733,
-0.019717095,
0.013693794,
0.007258694,
-0.0656417,
-0.007854878,
0.045605004,
-0.02539621,
0.03085406,
0.007578298,
-0.007418496,
-0.019753974,
0.015697464,
-0.012796445,
-0.0032882313,
0.018217416,
0.01883204,
0.011069355,
0.010725166,
-0.04017174,
-0.00056391634,
0.0058389157,
0.027043398,
0.03805744,
-0.0074062035,
0.031640776,
-0.0067362646,
0.0061953967,
0.025986247,
-0.0012100384,
-0.015967898,
0.015894143,
0.000380874,
0.023122106,
0.0078057083,
0.027928455,
0.010983308,
-0.0028672148,
-0.019458955,
0.03380425,
-0.038991664,
-0.037516568,
0.009508213,
0.004065729,
0.009821671,
-0.05349676,
-0.0085248165,
-0.018524729,
0.031419512,
-0.017037341,
0.0023801264,
-0.046760496,
-0.00035993842,
0.0046158163,
-0.0009956887,
0.034295946,
-0.034541797,
-0.046490062,
0.016717738,
-0.011438129,
-0.014185492,
0.044646192,
0.0049446397,
0.03055904,
0.015586832,
0.0033650592,
0.018868918,
0.055660233,
0.031173663,
-0.034271363,
0.0068100193,
0.022175588,
-0.038180362,
0.012077336,
0.042802323,
0.032992948,
-0.0078057083,
0.019397492,
0.024584908,
0.046858836,
0.029010192,
0.00068069465,
0.015648294,
-0.0011915998,
0.060626384,
-0.030337777,
0.024683248,
-0.016459595,
0.042286042,
0.0155376615,
0.05330008,
-0.014849285,
0.044129908,
0.07119789,
0.019950652,
-0.015132011,
-0.0002293311,
-0.0036139814,
0.010307223,
-0.0040565096,
0.043416947,
-0.018008444,
-0.005802038,
0.028862681,
0.004837081,
0.028985607,
0.0055592624,
-0.086833894,
0.038229533,
-0.007369326,
0.0033927173,
-0.036705267,
-0.045850854,
0.036803607,
0.05580774,
-0.018745992,
-0.03736906,
-0.003909,
0.016840661,
0.016889831,
0.00012446109,
0.020405473,
0.020147331,
-0.056496117,
0.0434907,
-0.038942493,
0.027338417,
-0.019188521,
-0.010663704,
-0.030313192,
0.0040749484,
-0.0526117,
0.013472529,
-0.010178152,
-0.048850212,
-0.011591784,
-0.011653246,
-0.0045359153,
0.021143021,
0.022532068,
0.009342265,
0.057479516,
-0.014099444,
-0.06903442,
0.019827727,
-0.0007509921,
0.020270256,
-0.013558577,
0.0049108355,
-0.025420794,
-0.01542703,
-0.015709756,
0.0046834247,
-0.019680219,
0.04098304,
-0.00848794,
0.016213747,
-0.025838738,
0.018217416,
-0.0008781422,
-0.010577656,
0.0154762,
-0.0048678117,
0.02755968,
-0.014517388,
0.027756361,
0.021155313,
-0.03186204,
0.009262364,
0.056692798,
0.031247418,
-0.024179257,
0.022519775,
0.031739116,
-0.022716455,
-0.057233665,
-0.02049152,
-0.0413764,
-0.05585691,
-0.003515642,
-0.022470606,
-0.020700492,
0.029231455,
-0.018819747,
-0.067854345,
0.009428312,
-0.04503955,
-0.014615728,
-0.046440892,
-0.033140454,
0.028370984,
0.039704625,
0.017098803,
-0.045973778,
0.0032359886,
-0.018598482,
0.04199102,
-0.013841303,
-0.032943778,
0.025039729,
0.011554907,
0.00381988,
0.0073201563,
0.01723402,
-0.030141097,
-0.0016994318,
0.034590967,
0.044129908,
-0.0048063495,
0.018205125,
0.020823417,
0.029428134,
-0.00029405855,
-0.017934691,
0.031935796,
0.06687095,
0.021327408,
-0.015820388,
0.013595454,
0.04759638,
0.0078671705,
0.00443143,
-0.030878644,
0.018967256,
-0.006093984,
0.046072118,
-0.021585548,
0.035598945,
0.021696182,
-0.033484645,
0.019876897,
0.011438129,
0.036779024,
0.030583626,
-0.010172006,
0.007793416,
-0.028370984,
-0.044744533,
0.0032605734,
-0.0009841645,
-0.013509407,
0.0012576717,
0.045555834,
-0.013140633,
-0.02674838,
-0.04427742,
-0.049612343,
-0.017344652,
-0.03296836,
-0.013103756,
0.00763976,
-0.012587473,
-0.06741182,
0.03471389,
0.040712606,
0.06490415,
0.036680683,
0.04277774,
-0.022101833,
0.036754437,
0.015500784,
0.024314474,
0.027510513,
-0.030362362,
0.01071902,
0.031640776,
0.03060821,
-0.027805531,
0.000031883552,
-0.05875793,
0.034394287,
-0.008746081,
0.014812407,
0.04113055,
-0.0053533637,
-0.037541155,
-0.036729854,
-0.04142557,
-0.0044099176,
-0.012513718,
-0.011966703,
0.02795304,
-0.019557294,
0.013189803,
-0.024511153,
0.0034295947,
0.02684672,
-0.032575004,
-0.04774389,
-0.012163383,
0.00025622084,
-0.07990095,
0.009360704,
0.0478914,
0.016299793,
0.0053379983,
-0.044695362,
0.0023417124,
-0.000100260324,
-0.009010369,
-0.014972209,
-0.009661869,
-0.02008587,
0.0040995334,
0.02689589,
0.047227606,
-0.027018813,
0.0018884282,
-0.011591784,
0.020307133,
-0.04508872,
-0.0014082543,
0.014271539,
-0.027633436,
-0.010288784,
0.02138887,
0.039901305,
-0.0111246705,
0.03842621,
-0.005089076,
-0.026920473,
-0.019876897,
0.035205588,
-0.022765625,
0.000094930394,
0.032845438,
0.013288143,
0.0128579065,
0.011966703,
0.016262917,
0.007307864,
-0.006773142,
-0.01858619,
0.010319515,
-0.010971015,
-0.004253189,
0.0067547034,
0.016803784,
0.057086155,
0.024277596,
0.032427493,
0.0033435475,
-0.09484857,
-0.016361257,
-0.019962946,
-0.04302359,
0.052021664,
-0.003303597,
0.010952576,
0.03552519,
-0.03055904,
0.015402445,
-0.02099551,
-0.015304105,
-0.010356393,
0.06165895,
0.0027704118,
-0.062150646,
-0.054086797,
-0.018069908,
0.058856267,
-0.05123495,
0.0037000286,
-0.04558042,
-0.05054657,
0.034541797,
-0.037639495,
-0.027510513,
-0.05108744,
-0.033435475,
0.007848732,
-0.04041759,
-0.0083404295,
-0.002287933,
-0.05374261,
-0.04958776,
0.034025513,
0.028075965,
-0.032624174,
0.0007613639,
0.020503813,
0.032329153,
0.0304607,
-0.006545732,
-0.0080515575,
-0.01407486,
-0.009981473,
0.070411175,
-0.033779662,
-0.005307267,
-0.0096004065,
-0.055316042,
-0.0013652307,
0.031124493,
0.009754063,
-0.07291884,
0.028715173,
-0.011659392,
-0.02254436,
-0.060577214,
-0.01984002,
-0.0043484555,
0.005642236,
0.009532798,
0.054037627,
-0.036852777,
0.009932303,
0.0154762,
0.028592248,
-0.017910106,
0.013853596,
-0.030337777,
-0.013570869,
0.0050276136,
0.0062998827,
0.0029409695,
0.039360438,
-0.010110543,
0.022421436,
-0.033976343,
0.007904048,
-0.02969857,
0.022532068,
-0.034197606,
-0.00024104734,
0.05374261,
-0.054332647,
-0.016053945,
0.004065729,
0.04769472,
0.039262097,
0.03805744,
-0.05354593,
-0.024400521,
-0.05841374,
-0.070214495,
0.034959737,
-0.020208795,
-0.030018173,
0.012304747,
0.014615728,
0.015058256,
-0.014357586,
0.0239457,
0.055611063,
0.008371161,
-0.009538944,
-0.084670424,
0.005009175,
0.031567022,
-0.03481223,
-0.020884879,
-0.004548208,
-0.030583626,
0.006631779,
-0.05600442,
-0.056987815,
-0.016754614,
-0.024707831,
0.03385342,
-0.007953217,
0.017492162,
0.01984002,
-0.021069266,
-0.05280838,
0.019348323,
0.040343832,
0.012796445,
0.023626097,
0.0037399791,
0.03129659,
0.02689589,
-0.033927172,
0.01772572,
0.0116471,
0.04944025,
0.019077888,
-0.062199816,
0.010952576,
0.016643982,
-0.06485499,
-0.056545287,
-0.0034203753,
-0.037491985,
-0.008936614,
-0.053152572,
0.05320174,
0.054971855,
-0.023109814,
0.018414095,
0.030436115,
-0.037639495,
0.028444739,
-0.00045443667,
0.0017762596,
-0.0016871393,
0.030264022,
0.01868453,
-0.016090821,
-0.04002423,
-0.036484003,
-0.033435475,
-0.022950012,
-0.018020738,
0.03461555,
0.00409646,
0.032575004,
0.0048954696,
0.025138069,
0.03766408,
0.014714067,
0.01154876,
0.011751586,
-0.027240077,
-0.07936008,
-0.026477946,
-0.028248059,
-0.025002852,
0.017922398,
-0.03230457,
0.024658663,
0.009305388,
0.043564457,
0.015734341,
-0.07995012,
-0.0032882313,
-0.024425106,
-0.023687558,
0.040835533,
-0.023675267,
0.023036059,
-0.019348323,
0.0024907584,
-0.060085516,
-0.022015786,
-0.02174535,
-0.01267352,
-0.025568305,
-0.056741968,
-0.013706086,
-0.0478914,
-0.038180362,
-0.056446947,
0.02549455,
0.020147331,
0.021573257,
-0.05005487,
-0.02559289,
-0.022618115,
0.05005487,
0.0051075146,
0.01322668,
-0.012292454,
-0.0003171069,
0.014505096,
0.004388406,
-0.030288607,
0.028444739,
0.036533173,
-0.046662156,
0.016656276,
-0.020208795,
0.019372907,
-0.037983682,
0.027436757,
0.018020738,
-0.018868918,
-0.05595525,
-0.031493265,
0.011161548,
-0.020503813,
0.0012561352,
-0.04533457,
-0.016939001,
-0.026477946,
0.028198889,
-0.023773605,
0.019827727,
0.028321814,
0.020430058,
0.020614445,
0.0050214673,
-0.017541332,
0.03065738,
-0.006773142,
0.010589949,
-0.010583803,
-0.025863323,
0.044597022,
0.03552519,
-0.016164577,
0.026256682,
-0.016508766,
-0.042310625,
0.0063982224,
-0.004529769,
0.03446804,
0.053890117,
0.0296494,
0.002825728,
0.013509407,
-0.008352722,
-0.057135325,
0.013312727,
-0.054824345,
-0.043097343,
0.0145665575,
-0.03771325,
0.0041609956,
-0.019188521,
-0.03331255,
-0.027977625,
0.022950012,
-0.011561053,
0.0041609956,
0.026133757,
0.040491343,
0.022224756,
-0.022913134,
-0.018524729,
0.0027934602,
0.016951295,
-0.019876897,
-0.012470694,
-0.016643982,
0.06485499,
0.029280625,
-0.022396851,
-0.05025155,
-0.0016610179,
0.023466295,
0.031935796,
-0.0049139084,
0.035721872,
0.016607106,
0.017824057,
-0.023675267,
0.0033681323,
-0.032329153,
0.009502067,
0.021671597,
0.036508586,
0.008334284,
0.047448874,
-0.052316684,
0.032796267,
-0.012415378,
0.03547602,
0.031272,
0.0017132608,
0.015365567,
0.020417767,
0.031591605,
0.027879285,
0.033361718,
-0.035893966,
0.027830116,
0.0068591894,
0.00001029373,
0.010977161,
0.027658021,
0.013189803,
0.020073578,
-0.008205213,
-0.048997723,
-0.010368685,
0.019176228,
0.007756538,
0.04103221,
0.009336119,
0.006773142,
-0.004812496,
0.0015350202,
0.01617687,
-0.027387587,
-0.06677261,
0.036852777,
-0.008328138,
0.032476664,
0.0073447414,
0.046416305,
0.01663169,
0.024892218,
0.040958457,
0.0053779487,
0.0029962857,
0.018598482,
0.038942493,
-0.023245031,
0.023736728,
-0.048923966,
-0.024806172,
-0.028985607,
-0.01568517,
-0.058905438,
-0.01317751,
0.060626384,
-0.037295304,
0.010128982,
0.0017593575,
-0.0011439665,
-0.031542435,
0.010208883,
-0.009047246,
0.029452719,
0.021671597,
0.016139992,
0.008727643,
0.02805138,
-0.035156418,
0.0019514271,
0.022212464,
0.08993159,
-0.018721407,
0.017406115,
0.05330008,
-0.008819835,
0.00040027304,
0.023699852,
-0.0064965617,
-0.03451721,
0.0052765356,
-0.021216776,
0.038696647,
-0.054726005,
-0.04113055,
0.01132135,
0.043195684,
0.01169627,
0.0020943268,
-0.018610775,
-0.019717095,
-0.011757732,
0.016189162,
0.08501461,
0.040614266,
-0.025088899,
-0.007824147,
0.004004267,
-0.039335854,
0.035771042,
-0.009065685,
0.027731776,
-0.01897955,
-0.021573257,
0.044080738,
-0.04108138,
-0.019348323,
0.03901625,
-0.021462625,
-0.031173663,
-0.040589683,
-0.008205213,
0.049784437,
0.058905438,
-0.011806902,
0.031886626,
0.023404833,
0.022151003,
0.0032390617,
0.04533457,
-0.0107558975,
-0.041597664,
0.024449691,
0.027141739,
-0.0058604274,
-0.05256253,
-0.030583626,
0.015365567,
0.04253189,
-0.06111808,
-0.04673591,
0.0008066923,
0.025113484,
0.021229068,
-0.016963586,
-0.034443457,
0.065985896,
-0.08904654,
-0.046416305,
-0.009754063,
-0.016791493,
-0.027510513,
-0.034689303,
-0.04712927,
-0.0557094,
0.15390152,
0.08801397,
0.060724724,
0.005058345,
0.0213397,
0.012274015,
-0.0075967363,
-0.019397492,
-0.017123388,
-0.09243926,
-0.021819105,
0.015611417,
-0.016410425,
0.028961021,
-0.006797727,
0.024166964,
-0.019962946,
0.031714533,
0.014996794,
-0.03776242,
-0.051775817,
0.03977838,
-0.014861577,
0.020344011,
-0.022421436,
0.012378501,
0.05334925,
-0.08540797,
0.035205588,
-0.054185137,
0.009729478,
-0.049956534,
0.014861577,
-0.047719307,
0.009114855,
0.010706727,
-0.016951295,
-0.03527934,
0.039311267,
-0.02233539,
0.02028255,
0.043269437,
0.0033496937,
-0.015758926,
-0.06652676,
0.006828458,
-0.010202737,
0.01673003,
0.036852777,
-0.043195684,
0.019249983,
-0.016287502,
0.04113055,
-0.07758997,
-0.04855519,
-0.031665362,
-0.03847538,
-0.029575644,
0.0039766086,
0.03641025,
-0.00763976,
0.047153853,
0.0048094224,
-0.017651964,
-0.036434833,
-0.0309524,
0.0027043398,
0.0071603544,
-0.0097847935,
-0.03060821,
-0.0018331122,
-0.026969643,
-0.026133757,
-0.03550061,
-0.0013429506,
0.019077888,
0.03872123,
0.03200955,
-0.012163383,
-0.017553624,
-0.0078057083,
0.014099444,
0.017676549,
-0.017172558,
0.01527952,
0.04093387,
-0.031493265,
0.013816718,
-0.016668567,
0.009901572,
0.024425106,
0.00021761484,
0.0072648404,
0.02319586,
0.016902125
] | pip install --upgrade pip
pip install datasets[audio]
thon |
[
0.003995756,
0.04275495,
0.011733285,
-0.018830491,
-0.03185158,
-0.04324145,
-0.00195674,
-0.0112610925,
0.0062350966,
0.03336832,
0.008413624,
-0.028360208,
0.06376039,
-0.05465994,
-0.004768436,
0.029934186,
-0.040579997,
-0.05271393,
-0.057636186,
-0.014909858,
-0.013815228,
-0.016126113,
-0.06805305,
-0.02552705,
-0.007361921,
0.033024907,
0.0035164084,
0.016698468,
0.062787384,
0.02552705,
-0.0049258335,
-0.017599927,
-0.017943341,
-0.010373942,
-0.009586953,
-0.010116382,
0.04681867,
-0.007962895,
-0.03271011,
-0.021520562,
0.014516364,
-0.025512742,
0.02385291,
-0.023967382,
-0.04950874,
-0.019302685,
-0.016970336,
-0.020103984,
-0.02026138,
-0.02207861,
-0.014666607,
-0.0046682735,
0.052141577,
0.011339791,
0.0015605628,
-0.021534871,
-0.0138080735,
-0.030077275,
-0.061470967,
0.029190125,
0.006825338,
0.028231429,
-0.00049991667,
-0.078584395,
-0.019932276,
0.021635033,
-0.012348567,
-0.011296865,
-0.037174482,
-0.030048657,
-0.044844043,
0.025097784,
-0.016383672,
-0.035629123,
-0.011640278,
0.024339413,
0.01834399,
-0.055461235,
0.02091959,
0.03233808,
0.005451685,
0.037947163,
-0.004546648,
0.02230755,
-0.03170849,
-0.050853778,
0.041352678,
-0.02860346,
-0.021735195,
-0.015510831,
-0.004607461,
0.049737684,
-0.033912055,
0.012742062,
0.03834781,
0.015983025,
-0.024940386,
0.047763057,
-0.0014872297,
0.005079654,
0.05769342,
0.08728419,
-0.032509785,
0.021563489,
0.007150865,
-0.01109654,
0.027101027,
0.009765814,
-0.031479545,
-0.024983313,
0.012012308,
-0.02027569,
0.04272633,
0.00017986714,
-0.0018547892,
0.033768967,
0.010230852,
0.05686351,
-0.048707444,
-0.039349433,
-0.028188502,
0.014208723,
0.011618814,
-0.061814383,
0.0100806095,
-0.07286084,
-0.022765435,
0.05912431,
-0.020747883,
0.012842224,
0.024325104,
0.01784318,
0.04696176,
0.03697416,
0.01871602,
-0.016083186,
-0.020032438,
0.016254893,
0.007454929,
-0.010123536,
-0.018572932,
-0.016025951,
-0.026957938,
0.08963085,
0.021778122,
-0.009637034,
0.04833541,
-0.07131548,
0.009143378,
0.02219308,
-0.0623295,
0.017771635,
-0.015367742,
0.015095873,
0.009365165,
-0.007290377,
-0.05016695,
-0.005644855,
0.00063763966,
0.0152961975,
0.017542692,
-0.0022518607,
-0.05683489,
0.04118097,
-0.036745217,
0.024697134,
-0.0359153,
-0.0010221909,
0.015210344,
-0.022994377,
-0.037889928,
0.015510831,
0.02386722,
0.0065284288,
0.031193368,
0.019016508,
0.051855396,
-0.009164841,
0.0072832224,
-0.007397693,
-0.033282466,
0.0076981797,
0.02848899,
0.010023374,
-0.011640278,
0.0026095829,
-0.0033518563,
0.016383672,
-0.023280555,
0.01346466,
0.025054857,
0.055890504,
-0.05488888,
-0.022608038,
-0.04472957,
0.0068503786,
-0.03268149,
-0.023566732,
-0.011769057,
-0.058838133,
-0.014015553,
0.021706577,
-0.003899171,
0.023709822,
-0.017084809,
0.0072045233,
0.0077697244,
0.066793874,
-0.036659364,
0.03940667,
0.044672336,
0.019159596,
-0.01719928,
0.007884195,
0.02245064,
-0.016712777,
-0.0359153,
0.01501002,
0.031908814,
0.020619102,
-0.010431177,
0.00016388144,
0.03963561,
0.003518197,
0.010481258,
0.006342413,
-0.0009497522,
0.055117823,
0.0064819246,
0.0133644985,
-0.0012502387,
0.033139378,
0.028131267,
0.05093963,
0.025298107,
0.0077554155,
0.035943918,
0.015983025,
0.0073404578,
-0.010803208,
-0.041095115,
0.012992467,
0.04644664,
0.017599927,
-0.017027572,
0.040751703,
0.0076910253,
-0.027487367,
-0.021263003,
-0.0030281178,
-0.036087006,
0.05005248,
0.019917967,
0.009350856,
-0.0462177,
-0.03170849,
0.044844043,
0.060841378,
-0.0065713553,
-0.033511408,
0.034055144,
0.040980645,
-0.01237003,
-0.00027991756,
0.013972626,
0.044958517,
-0.012455884,
0.0042712023,
-0.037832692,
-0.013250027,
-0.03219499,
-0.050109714,
-0.05156922,
-0.0031855155,
-0.024854533,
-0.013400271,
0.051540602,
-0.047018994,
0.031737108,
0.010016219,
-0.014409047,
0.0058487565,
-0.00496876,
0.012720599,
0.048478503,
0.022278933,
-0.054459617,
0.029333213,
-0.0017099117,
0.07062866,
0.006664363,
-0.020247072,
0.02230755,
-0.040837556,
0.007526473,
0.012133935,
0.0008746306,
0.0050903857,
0.00068190775,
0.02246495,
-0.012806452,
0.05134028,
-0.032252226,
-0.00673233,
-0.03359726,
0.018587241,
0.0010436543,
-0.012699135,
0.031565398,
0.02694363,
-0.015568066,
0.021363165,
-0.0029190124,
0.009508254,
-0.030935809,
0.01262759,
0.051740926,
0.011625969,
-0.025441198,
-0.0061563975,
-0.025226563,
-0.037489276,
-0.031221986,
0.0040565687,
-0.012341413,
0.048163705,
-0.0026757615,
-0.045101605,
-0.008485168,
-0.043928277,
-0.055489853,
-0.021992756,
0.013135556,
0.0289898,
0.02282267,
0.0068110293,
-0.046160463,
0.05860919,
0.014666607,
0.030621013,
0.013378807,
-0.015210344,
0.013071166,
0.050367273,
-0.0021427555,
-0.0025434042,
0.05812269,
-0.047448263,
0.023437953,
0.0151388,
0.011940764,
0.009508254,
0.0057950984,
-0.007669562,
-0.028317282,
0.04833541,
-0.035714976,
-0.0014273112,
0.05182678,
0.019274067,
0.019946584,
0.036344565,
0.029333213,
-0.00046414445,
-0.022908524,
-0.040207967,
-0.012699135,
0.012777834,
0.04183918,
-0.06221503,
0.026514363,
0.035943918,
-0.036373183,
0.0074120024,
0.0023877951,
-0.017743018,
0.059353255,
-0.015410669,
0.039578374,
-0.0014711322,
-0.0069576954,
-0.0032785232,
0.025512742,
0.038920168,
0.021377474,
0.029032728,
-0.013851,
-0.03502815,
-0.024439575,
-0.03514262,
-0.020018129,
0.025355343,
0.011382718,
-0.03657351,
-0.009973292,
-0.034942295,
0.027830781,
0.021577798,
0.032481167,
0.034684736,
0.03525709,
-0.018558623,
0.028116958,
0.0011384506,
-0.01501002,
0.015124491,
-0.033511408,
0.045445018,
0.031508163,
0.019946584,
-0.01719928,
-0.031450927,
-0.03746066,
0.009286466,
0.020046748,
0.022608038,
-0.038805693,
-0.008757037,
-0.03325385,
0.010724509,
-0.017785944,
-0.010445486,
-0.03731757,
0.030907191,
0.026886394,
-0.032939054,
0.030993044,
-0.043727953,
0.022722509,
0.019402847,
-0.00924354,
-0.020361543,
-0.018530006,
-0.013643522,
-0.043842424,
0.004915102,
0.06381763,
0.001274385,
-0.00028371834,
-0.04833541,
0.009272157,
0.034541648,
0.0014496689,
-0.005841602,
-0.0016535704,
-0.02538396,
-0.015038637,
0.02860346,
0.019731952,
-0.016369363,
0.020433087,
-0.031193368,
-0.0055232295,
-0.024353722,
-0.016998954,
0.0022017795,
-0.024582664,
0.0011670684,
0.00038030333,
0.013235718,
-0.028360208,
-0.002003244,
0.01475246,
-0.025512742,
-0.080072515,
0.015253271,
0.00866403,
0.016770013,
0.038261957,
0.040036257,
-0.009093296,
0.04218259,
0.012133935,
-0.03233808,
0.024682825,
-0.017285133,
0.013099784,
-0.023552423,
-0.028675005,
-0.015367742,
-0.028288664,
0.03167987,
0.0030138087,
-0.022722509,
0.014995711,
-0.10096349,
-0.006438998,
-0.0067180214,
-0.02884671,
0.019460084,
0.015396359,
-0.014237341,
0.027702,
-0.021635033,
0.016140422,
-0.040036257,
-0.04229706,
-0.0023824293,
0.04644664,
0.0048936387,
0.06261568,
-0.05569018,
-0.034141,
0.011067922,
-0.03013451,
0.031565398,
-0.013707912,
-0.040751703,
0.0013682871,
-0.034455795,
-0.00074540346,
0.0051225806,
-0.03336832,
-0.014895549,
0.0027812894,
-0.014451973,
-0.02194983,
-0.014652298,
-0.046618346,
0.045445018,
-0.004267625,
-0.027115336,
-0.0059095696,
0.045130223,
-0.0056877816,
0.0142874215,
0.04913671,
-0.052771166,
-0.022236006,
-0.052141577,
0.05119719,
-0.029533537,
0.021105604,
-0.027172571,
-0.019073743,
-0.0142015675,
0.01161166,
-0.0028796631,
-0.045588106,
-0.004900793,
-0.0067859883,
-0.03259564,
-0.04358486,
0.0016616192,
-0.058065455,
0.03127922,
-0.009021752,
0.011168084,
-0.016741395,
0.0009953618,
0.017385295,
-0.02964801,
0.033196613,
0.021606416,
-0.038805693,
-0.04103788,
-0.010359633,
-0.00041294546,
0.023251938,
0.019703334,
-0.004772013,
0.02386722,
-0.014401892,
0.024539737,
-0.06416104,
-0.03208052,
-0.02821712,
-0.011082231,
0.055003352,
-0.044844043,
0.017399604,
0.021005442,
0.025713066,
0.027744927,
0.025684448,
-0.031880196,
0.014666607,
-0.04784891,
-0.080530405,
0.0092936205,
-0.008878663,
-0.04361348,
-0.020762192,
0.033883438,
0.042640477,
-0.033568643,
0.0136721395,
0.05912431,
0.0025040547,
0.027372897,
-0.08659737,
0.037804075,
0.0020694225,
-0.012148243,
-0.021062678,
-0.013915391,
0.009021752,
0.0111752385,
-0.052942872,
-0.05308596,
-0.0069362316,
-0.012792143,
0.06438998,
-0.027043791,
0.018258138,
-0.032538403,
-0.04704761,
-0.045359164,
0.018429844,
0.03488506,
0.005598351,
0.014709533,
0.019832114,
0.02230755,
0.058466103,
-0.026156642,
-0.026356965,
-0.019917967,
0.04427169,
-0.04000764,
-0.040351056,
0.017542692,
0.02438234,
-0.061699912,
-0.06805305,
-0.027802162,
0.008306308,
-0.039921787,
-0.046246316,
0.009458173,
0.02114853,
-0.03706001,
0.007919967,
0.045130223,
-0.011554425,
0.011969382,
0.016827248,
-0.007812651,
-0.053143196,
0.0014925955,
0.02642851,
-0.03809025,
-0.007161597,
-0.04115235,
0.0070936293,
-0.038633987,
0.002121292,
0.041553,
0.0032212876,
0.04807785,
0.024582664,
0.008478014,
0.05826578,
-0.01404417,
0.01782887,
-0.016526762,
-0.027201189,
-0.06427551,
-0.005058191,
0.019374229,
-0.0139797805,
0.029905569,
-0.03774684,
-0.0017734073,
0.010216543,
0.053457994,
-0.013264336,
-0.086883545,
0.017943341,
-0.056720417,
-0.002838525,
0.0145950625,
-0.0057843667,
0.0068181837,
0.041781943,
0.004854289,
-0.033654496,
0.02245064,
0.011947919,
-0.011067922,
-0.017428221,
-0.047820292,
-0.0037668138,
-0.01808643,
-0.018544314,
-0.01848708,
-0.004868598,
-0.0015310507,
0.008213299,
-0.026070789,
0.0070972065,
-0.010331015,
0.024067543,
-0.02411047,
0.008642566,
0.017671473,
0.021821048,
0.03196605,
0.012713444,
-0.018902037,
0.031737108,
0.048850533,
-0.02924736,
-0.003638034,
0.0063817627,
-0.005512498,
-0.05425929,
0.029819716,
0.04607461,
-0.0013110515,
-0.009257848,
-0.018243829,
0.034169618,
-0.05134028,
-0.013800919,
-0.043384537,
-0.00612778,
-0.02591339,
0.031021662,
0.003183727,
0.046131846,
0.0018261714,
-0.00089206954,
0.012384339,
0.021205766,
0.0139797805,
0.0052298973,
0.01616904,
-0.013199946,
-0.0022697467,
-0.036373183,
0.017142044,
0.033454172,
0.0066715176,
0.012570355,
-0.008571022,
-0.013693603,
-0.016898792,
-0.021778122,
0.052685313,
0.058723662,
0.014344657,
-0.03554327,
0.015553758,
-0.012742062,
-0.014795386,
0.004786322,
-0.0367166,
-0.071887836,
0.041209586,
-0.029962804,
0.018000577,
-0.021463327,
0.02654298,
-0.016254893,
0.03949252,
0.01346466,
-0.0043463237,
0.040637232,
-0.0011035728,
0.02103406,
-0.05400173,
-0.0038669761,
0.019832114,
0.050739303,
-0.022021374,
-0.040036257,
0.06118479,
0.04089479,
0.037374806,
-0.031193368,
-0.035171237,
-0.016870175,
-0.007598018,
0.01808643,
-0.015854245,
0.013264336,
-0.014967093,
0.010137845,
-0.003301775,
0.027630456,
-0.004560957,
0.045101605,
0.0035629123,
0.009865976,
0.012262714,
0.049537357,
0.028245738,
-0.0058809514,
-0.002732997,
0.004560957,
0.00043083157,
-0.00018612729,
0.004095918,
-0.0057664807,
0.07709627,
0.04578843,
0.019932276,
-0.009586953,
0.028274355,
0.013221409,
-0.017986268,
0.0037453505,
0.019402847,
0.019946584,
-0.012470193,
0.008291999,
-0.04401413,
-0.006371031,
-0.004135268,
-0.014938476,
0.0043964046,
0.010209389,
-0.022565112,
-0.017785944,
-0.021220075,
-0.0025451928,
0.0055733104,
-0.018758947,
0.0038777078,
0.027358588,
0.05274255,
0.023824293,
0.028059723,
-0.022794053,
0.056892127,
0.04335592,
0.012012308,
0.018801874,
0.0039850245,
0.035714976,
0.0049437196,
0.042010885,
0.018272446,
-0.033654496,
-0.039292198,
-0.05388726,
-0.06868265,
0.012985312,
0.008385006,
-0.034312706,
-0.0025273068,
-0.012756371,
0.022207389,
-0.03436994,
0.044815425,
-0.038576752,
0.027229808,
0.017027572,
-0.033082142,
-0.04309836,
0.025956316,
-0.009257848,
0.022436332,
-0.0151388,
0.06358869,
-0.0020408046,
0.08219023,
0.029419066,
0.00081650075,
0.02180674,
0.033654496,
-0.03299629,
-0.032137755,
0.034970913,
-0.01641229,
-0.008656875,
-0.06553469,
-0.031221986,
-0.0029190124,
-0.022250315,
-0.020332925,
-0.020848045,
0.030735483,
-0.00017673708,
-0.04658973,
0.029390449,
0.06387486,
0.028388826,
-0.073089786,
-0.009865976,
0.012112471,
-0.035600506,
0.012806452,
-0.057435863,
0.050739303,
-0.017800253,
-0.04644664,
-0.0029547848,
-0.025212254,
-0.020247072,
-0.022293242,
-0.0006729647,
-0.014423355,
0.026156642,
0.031737108,
0.023080232,
0.010495567,
-0.030964427,
0.012856533,
0.032853197,
0.032423932,
0.010323861,
0.06210056,
0.032395314,
-0.01757131,
0.005337214,
0.012784989,
0.008334925,
-0.029161507,
0.00104276,
-0.01808643,
0.0045430707,
-0.07074313,
-0.034541648,
-0.018916346,
0.022436332,
-0.0053586774,
-0.0040887636,
-0.052427754,
0.02539827,
-0.08465136,
-0.05096825,
-0.03271011,
0.031880196,
-0.01051703,
-0.015410669,
0.0051190034,
-0.039692845,
0.24519704,
0.058323015,
0.034141,
0.03660213,
-0.0010087764,
0.05657733,
0.03396929,
-0.043041125,
-0.010574265,
-0.02179243,
-0.012091007,
-0.04618908,
0.021735195,
0.018558623,
-0.043556243,
0.0467042,
-0.021620724,
0.0038133177,
-0.013729375,
-0.07142995,
-0.049565975,
0.031250603,
0.010416868,
0.045731194,
0.03439856,
0.032280844,
-0.017642856,
-0.017857488,
0.014981402,
-0.00917915,
0.020361543,
-0.021463327,
0.040379673,
-0.0059274556,
0.018315373,
0.037346188,
-0.01000191,
-0.018544314,
-0.015124491,
-0.020547558,
-0.01359344,
0.0047970535,
0.01128971,
-0.014537827,
-0.045330547,
0.043642096,
-0.018844802,
0.025727374,
0.040064875,
-0.047648586,
-0.0017242206,
-0.036115624,
0.028059723,
-0.010703046,
-0.021005442,
-0.026500054,
-0.046131846,
-0.013915391,
-0.023953073,
0.026199568,
0.0043606325,
0.0177144,
0.016984645,
0.023924455,
-0.05400173,
0.013614904,
0.013629213,
0.03185158,
-0.010266624,
-0.008163218,
-0.005383718,
-0.012870842,
0.012820761,
-0.069941826,
-0.0046181926,
0.051368896,
-0.020604793,
0.04807785,
0.018014885,
-0.0359153,
0.008885818,
-0.0038490898,
0.021005442,
-0.019560246,
0.03912049,
0.026371274,
-0.035228472,
0.038920168,
0.003283889,
0.034570266,
0.024353722,
0.025355343,
0.015153109,
0.00782696,
-0.0117046675
] |
from transformers import AutoProcessor, MusicgenForConditionalGeneration
from datasets import load_dataset
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
dataset = load_dataset("sanchit-gandhi/gtzan", split="train", streaming=True)
sample = next(iter(dataset))["audio"]
take the first half of the audio sample
sample["array"] = sample["array"][: len(sample["array"]) // 2]
inputs = processor(
audio=sample["array"],
sampling_rate=sample["sampling_rate"],
text=["80s blues track with groovy saxophone"],
padding=True,
return_tensors="pt",
)
audio_values = model.generate(**inputs, do_sample=True, guidance_scale=3, max_new_tokens=256) |
[
0.03129763,
0.022511268,
0.014103627,
0.05168805,
-0.056050934,
-0.027661894,
0.0172243,
0.024904793,
-0.06026233,
0.03323669,
0.017254598,
-0.02840419,
-0.007839557,
-0.032994308,
-0.005090031,
0.008846958,
-0.013883968,
-0.024783602,
-0.042144243,
-0.02357169,
0.018118085,
0.04523462,
-0.045295216,
-0.022087097,
-0.010263381,
0.01764847,
-0.00603305,
0.011846441,
0.082652405,
0.050112564,
0.0027836105,
-0.019784465,
-0.018724041,
-0.011566186,
-0.07362366,
-0.055505574,
0.017254598,
-0.0063322405,
0.00093544467,
-0.015663965,
0.008771214,
-0.0048476486,
0.016769834,
-0.019102765,
-0.07877429,
-0.033691157,
0.00648373,
-0.04729487,
-0.034781877,
-0.015921496,
-0.039084166,
0.02466241,
0.047234274,
-0.04108382,
0.0017326556,
-0.005275605,
0.020314677,
-0.0059459438,
-0.03638766,
0.03944774,
0.03517575,
0.017724214,
-0.015800305,
-0.03932655,
0.021208461,
0.021284206,
-0.04662832,
-0.01557307,
-0.02411705,
0.029767592,
-0.04511343,
0.012391801,
0.002278016,
0.018072639,
-0.020526761,
-0.02729832,
0.031630907,
-0.032206565,
0.023965562,
0.057565823,
0.019602679,
0.054536045,
0.0152700925,
0.0032873116,
-0.026540875,
0.0048627974,
0.044901345,
0.0021284206,
0.008013769,
0.016724387,
-0.0018027192,
0.04202305,
-0.03160061,
0.009574106,
0.0049271802,
0.025616791,
0.018678594,
0.040053695,
0.019284552,
0.015209497,
0.03747838,
0.091923535,
-0.0028631424,
0.018633148,
-0.007131345,
0.034539495,
0.06368598,
0.008210705,
-0.025722833,
-0.02190531,
0.03257014,
0.016118431,
0.004627989,
-0.026828704,
-0.016603196,
0.019632977,
0.033691157,
0.034418304,
-0.025465302,
0.010195211,
0.010384572,
-0.0021284206,
0.0114677185,
-0.036872424,
0.00046677553,
-0.024329135,
0.023102075,
-0.00793045,
-0.0578688,
-0.006657942,
0.008104662,
0.008763639,
0.019390594,
0.0634436,
-0.0055142,
-0.0042265435,
0.007714578,
-0.004711308,
-0.019784465,
-0.028828358,
0.016588047,
-0.014951966,
-0.04581028,
0.045992065,
-0.025344111,
-0.0022117395,
-0.001774315,
-0.030979503,
-0.044053003,
0.016981918,
-0.032327756,
0.055354085,
-0.020632803,
0.0027343766,
0.03526664,
-0.027616447,
-0.011944909,
0.013876393,
0.011217762,
0.012414524,
0.024101902,
0.016042687,
-0.055202596,
0.0147777535,
-0.042629007,
0.010505763,
-0.029252527,
0.02290514,
-0.0029407805,
-0.050779115,
0.025904622,
0.061383348,
0.030040272,
0.028070914,
0.036327064,
0.04662832,
0.03835702,
-0.008915128,
0.034781877,
0.026859002,
-0.03787225,
-0.025783429,
0.0036736086,
0.02190531,
-0.014770179,
0.06453432,
0.013149247,
-0.004855223,
-0.017739363,
0.0126720555,
-0.003832672,
0.048203804,
0.0012781885,
0.042235136,
-0.0014391456,
-0.0037872253,
-0.020587357,
0.033812348,
-0.0049991375,
-0.050233755,
0.0035562045,
0.037508678,
-0.0427199,
0.015906347,
0.013565841,
0.061171263,
0.027767936,
0.007854706,
-0.030994652,
0.024283689,
0.06726112,
0.049112737,
-0.05917161,
-0.00072667387,
0.038417615,
-0.0073888768,
-0.005093818,
-0.000659924,
0.03199448,
0.027616447,
-0.04577998,
-0.037660167,
0.030009974,
0.03238835,
0.012437248,
-0.028025467,
-0.01572456,
0.07180579,
-0.014429328,
0.018421063,
-0.011573761,
0.05486932,
-0.00675641,
0.0427199,
-0.008422789,
0.013505246,
0.04908244,
0.016345665,
0.027192278,
-0.0079531735,
-0.026101558,
0.0482341,
0.069260776,
0.037296593,
-0.003363056,
0.0004177783,
-0.0059724543,
-0.01587605,
-0.01986021,
-0.021572035,
-0.022026502,
0.06665517,
0.025450153,
0.03984161,
-0.04605266,
-0.011778271,
-0.0012545184,
0.03914476,
-0.004491649,
-0.021056972,
0.06177722,
0.03902357,
0.00881666,
-0.021844715,
-0.029328274,
0.056687187,
-0.014906519,
0.020299528,
-0.01776966,
-0.05986846,
-0.008657597,
-0.03820553,
-0.0496278,
-0.026131855,
0.022662757,
0.008354619,
0.023389904,
-0.03199448,
0.027737638,
-0.027146831,
-0.025525898,
0.013997585,
-0.05087001,
0.017936299,
-0.009180234,
0.008604576,
-0.08022858,
-0.03972042,
-0.0017222407,
0.057020463,
0.011641931,
-0.03390324,
0.0062148366,
-0.021844715,
0.02123876,
-0.002243931,
0.01587605,
0.029767592,
-0.006188326,
-0.0099225305,
-0.008953,
0.0043818196,
-0.0044310535,
0.016315367,
-0.059474587,
-0.00035386888,
-0.009127213,
-0.008172832,
0.006411772,
0.052718177,
-0.042083647,
0.0107026985,
-0.02576828,
0.0054611787,
-0.030540185,
0.01324014,
0.025889473,
-0.053596813,
-0.012005504,
-0.043174367,
-0.011710101,
-0.025177473,
-0.023071777,
0.01068755,
-0.014133925,
0.046991892,
-0.034085028,
-0.06217109,
0.036296766,
-0.04462866,
-0.082773596,
-0.007801684,
-0.04577998,
-0.005464966,
0.027040789,
0.024223093,
-0.025647089,
-0.004147012,
0.012240312,
0.06883661,
-0.0001156879,
-0.00096384884,
-0.012035802,
0.044871047,
-0.014838349,
-0.013967287,
0.03678153,
-0.028086063,
-0.022950586,
0.0019447402,
-0.0076426207,
0.023965562,
0.009611978,
-0.013626437,
0.0058247526,
0.056202423,
-0.022268884,
0.02275365,
0.022284033,
0.0042454796,
0.0068283672,
0.03378205,
0.0059724543,
0.009543808,
0.023374755,
-0.014944391,
-0.011960058,
0.03475158,
0.020451017,
-0.01749698,
0.046688914,
-0.036569446,
-0.020496463,
-0.047113083,
-0.040992927,
-0.026843853,
0.025722833,
-0.0145050725,
0.033600263,
-0.05692957,
-0.024041306,
0.012505418,
0.04284109,
0.03047959,
0.003965225,
0.040174887,
-0.011937334,
0.015118604,
0.019799614,
0.0034425878,
0.010520912,
-0.026313642,
0.012846268,
-0.037266295,
-0.03296401,
-0.03553932,
0.006487517,
0.069018394,
0.014497498,
0.06417075,
0.023601988,
-0.032782223,
0.03635736,
0.0082713,
-0.0039690123,
0.00440833,
-0.029055592,
0.031782396,
-0.02232948,
0.03887208,
-0.04202305,
-0.010376997,
-0.015171625,
0.03917506,
0.034963664,
0.013997585,
-0.015391284,
0.0008549661,
-0.031358227,
-0.023011182,
-0.0172243,
-0.02331416,
0.0034444814,
0.03061593,
0.02399586,
-0.017618172,
0.02799517,
-0.04368943,
-0.0027987594,
0.03611498,
-0.050354946,
-0.011157165,
-0.031267334,
-0.041326202,
0.0033213967,
0.0005032276,
0.041568585,
0.014997412,
0.01405818,
-0.036024086,
0.00881666,
0.015800305,
-0.0125357155,
-0.02263246,
0.03366086,
-0.036751233,
0.023056628,
0.019784465,
0.014800477,
-0.06701874,
0.034236517,
-0.06580683,
-0.002278016,
-0.020208634,
0.0012280078,
-0.04659802,
-0.019284552,
-0.007831982,
0.0010528486,
-0.013149247,
-0.01179342,
-0.009657425,
-0.0126720555,
-0.026768109,
-0.021541737,
0.02881321,
-0.026434833,
0.021208461,
0.05844446,
0.007877429,
0.008097088,
0.0006807537,
0.008718193,
-0.034842473,
0.018799786,
-0.028328445,
0.0067829206,
-0.023783775,
-0.048627973,
-0.012096398,
-0.023389904,
0.056747783,
-0.026813556,
-0.026374238,
-0.008536406,
-0.032994308,
-0.0010869337,
-0.02813151,
-0.033842646,
0.043628834,
-0.0024654837,
0.0107708685,
0.007210877,
-0.07962263,
-0.043598536,
-0.0372057,
-0.025071431,
-0.008074365,
0.036690637,
0.02675296,
0.073381275,
-0.05886863,
-0.015247369,
0.06507968,
-0.04608296,
-0.041689776,
-0.009043894,
0.0017194003,
0.021693226,
-0.0104148695,
0.0019485274,
-0.0018131341,
-0.0061769644,
0.04150799,
0.030085718,
-0.04287139,
-0.022132544,
-0.021662928,
-0.05814148,
0.03390324,
0.004268203,
-0.038175233,
0.00806679,
0.020238932,
0.011263208,
0.021269057,
-0.03932655,
-0.008104662,
-0.0041394373,
-0.05362711,
0.041326202,
0.043901514,
0.014929242,
-0.028419338,
-0.05735374,
0.0022212076,
0.0059762415,
0.0023480796,
-0.018511957,
0.010884485,
-0.01776966,
-0.018860381,
-0.035902895,
-0.012709928,
-0.07216936,
0.012929588,
-0.015694262,
0.02190531,
0.024980538,
-0.02716198,
0.022814246,
0.0048779463,
0.033569966,
0.026389387,
-0.042629007,
-0.019935954,
-0.007718365,
0.030176612,
0.0032570139,
0.0022268884,
0.016875876,
0.038932677,
-0.014694435,
0.04193216,
-0.046173852,
-0.026313642,
-0.0026321216,
0.013452224,
0.05608123,
-0.053990684,
0.01233878,
0.01192976,
0.01708796,
0.021890162,
0.010520912,
-0.035872597,
-0.0023916329,
0.0007976843,
-0.0772594,
-0.029676698,
-0.021405397,
-0.043386452,
0.00596488,
-0.0072411746,
0.027601298,
-0.063383006,
0.017269747,
0.037660167,
-0.0077789607,
-0.010202785,
-0.031540014,
-0.011937334,
0.013474948,
0.0045295213,
0.007763812,
-0.021178164,
0.0026624193,
-0.021587184,
-0.028343594,
-0.03241865,
-0.03759957,
0.021041824,
0.060171437,
-0.026965044,
-0.00730177,
-0.02440488,
-0.01599724,
-0.015982091,
0.04396211,
0.015785156,
0.01999655,
-0.0018879318,
0.033842646,
-0.0077562374,
0.03363056,
-0.041992754,
-0.002209846,
-0.0056543276,
-0.006120156,
0.019829912,
-0.039750718,
0.03847821,
0.016118431,
-0.058050588,
-0.04577998,
-0.033327583,
-0.015080731,
-0.021935608,
-0.042962283,
0.012482694,
0.028328445,
0.017875703,
-0.027177129,
0.008581853,
-0.023647435,
0.013459799,
-0.013535543,
-0.004150799,
-0.070775665,
0.013596139,
0.075017355,
-0.018208979,
0.0014580818,
-0.01681528,
0.020905484,
-0.008786363,
0.019920805,
0.018769488,
-0.001940953,
-0.008437938,
0.01601239,
0.011202612,
-0.009710446,
0.0034747792,
0.04232603,
0.05444515,
-0.04220484,
-0.043204665,
-0.022844544,
0.017860554,
-0.016633494,
0.02398071,
-0.011270783,
0.03596349,
0.017845405,
0.06726112,
-0.011717675,
-0.045567896,
0.033842646,
-0.038144935,
-0.001882251,
-0.010513337,
-0.044901345,
0.0066806655,
0.0011626781,
-0.0058701993,
-0.04853708,
-0.0050635203,
0.015398858,
0.0064799427,
-0.045567896,
-0.02938887,
-0.021556886,
-0.02248097,
-0.041417096,
-0.016179027,
-0.025162324,
0.02907074,
-0.015648816,
-0.008157684,
-0.012240312,
-0.0044765,
0.0018879318,
-0.025677387,
-0.02149629,
-0.021981055,
0.011376825,
0.024374582,
0.014800477,
-0.017618172,
0.05389979,
0.033145797,
-0.03417592,
-0.008793937,
0.020329826,
-0.011429846,
-0.03350937,
0.020557059,
0.050900307,
-0.007082111,
-0.032479245,
0.014247541,
-0.009604404,
-0.05444515,
-0.0058020293,
-0.034145623,
0.009339297,
-0.022390075,
-0.012778098,
0.029888783,
0.045992065,
0.060504712,
0.012725077,
0.00348046,
0.039962802,
0.025980366,
0.002410569,
0.03514545,
-0.003915991,
-0.013209842,
-0.06992733,
0.037417784,
0.0111268675,
-0.0007976843,
0.022920288,
-0.003607332,
0.012467545,
-0.018224128,
-0.01351282,
0.023420202,
0.035478726,
0.024041306,
-0.038569104,
-0.02454122,
-0.032448947,
0.008233428,
0.018587701,
-0.039659824,
-0.032903414,
0.016224474,
0.01902702,
-0.024056455,
-0.029131336,
0.009043894,
-0.0033043541,
0.014239967,
0.0037228425,
-0.0034179708,
0.057656717,
-0.019269403,
0.018436212,
-0.02385952,
-0.02275365,
0.03787225,
0.032236863,
-0.01626992,
-0.06108037,
0.048567377,
0.048718866,
0.034236517,
-0.04065965,
-0.026722662,
-0.013315884,
-0.016527452,
-0.009134787,
-0.008112237,
0.014989838,
-0.049961075,
-0.010581507,
0.009793765,
-0.048203804,
-0.03623617,
0.016254772,
-0.011490442,
-0.02331416,
-0.013467373,
-0.02716198,
0.0036698214,
-0.05350592,
-0.0027400574,
0.020057146,
0.046931297,
-0.024556369,
0.015315539,
0.019239105,
0.04396211,
0.056838676,
-0.007665344,
-0.038387317,
-0.009202957,
-0.0016625919,
-0.0062640705,
0.021299355,
0.020375272,
0.018769488,
-0.0027552063,
0.014429328,
-0.026328791,
0.005764157,
0.0024635901,
-0.011081421,
0.017906,
0.002209846,
0.0037588212,
0.0015092093,
-0.039356846,
-0.0113844,
-0.028222403,
-0.050385244,
-0.0026321216,
0.0028839721,
0.06507968,
-0.020299528,
0.026253046,
0.0005865465,
0.01614873,
0.04259871,
0.013081077,
0.0067791333,
-0.007263898,
0.03787225,
-0.00045943778,
0.03390324,
0.0147777535,
-0.054536045,
-0.0152700925,
-0.011232911,
-0.0071010473,
0.011808569,
0.0155579215,
0.015527624,
-0.04162918,
-0.020526761,
0.03047959,
-0.021435695,
0.0034388006,
-0.06301943,
-0.0023897393,
0.036145277,
-0.024374582,
-0.021678077,
0.030797716,
0.001911602,
0.03502426,
0.03850851,
0.051021498,
0.004571181,
0.098892026,
0.022738501,
0.01165708,
-0.002272335,
0.034357708,
-0.05917161,
0.01186159,
0.027813382,
0.022693055,
-0.021693226,
-0.029767592,
-0.009013596,
-0.020466166,
-0.010899634,
0.026389387,
-0.048870355,
0.015542773,
-0.018254425,
-0.029146485,
0.0011655185,
0.06744291,
-0.0036300553,
-0.005798242,
0.01082389,
0.027071087,
-0.051172987,
-0.012702353,
-0.03556962,
0.028585976,
-0.0296464,
-0.03705421,
-0.03805404,
-0.030252356,
-0.0063852617,
-0.0043439474,
-0.0016095707,
-0.01833017,
0.006051986,
0.02784368,
0.026162153,
0.01708796,
-0.019739019,
-0.012020653,
0.030797716,
0.02634394,
0.025586493,
0.043901514,
0.044022705,
-0.00888483,
-0.01873919,
-0.0005055946,
-0.009415042,
-0.014724732,
-0.010028573,
0.019420892,
-0.01902702,
-0.014944391,
-0.0046355636,
-0.006979856,
0.05747493,
-0.017300045,
0.013043204,
-0.04120501,
0.01267963,
-0.082773596,
-0.009218106,
-0.034418304,
-0.008665171,
0.0070328773,
-0.02204165,
0.016633494,
-0.033448774,
0.27461928,
0.036902722,
0.06229228,
0.061322752,
0.011838866,
0.04093233,
0.04608296,
-0.029722145,
0.016648643,
-0.013573416,
-0.010142189,
-0.033206392,
-0.04202305,
0.0005841795,
-0.008506108,
-0.0021681865,
-0.04868857,
-0.016936472,
0.014618689,
-0.032055076,
-0.029903932,
0.030843163,
-0.0025658451,
0.044265088,
0.00043032347,
0.0045143724,
-0.002776036,
-0.0066465805,
0.0068321545,
-0.028464785,
-0.03987191,
-0.08216764,
0.005313477,
-0.018315021,
-0.0154897515,
0.02784368,
-0.020375272,
-0.015141327,
-0.02591977,
-0.011596484,
0.0317218,
-0.004821138,
-0.018830083,
0.017163705,
-0.04353794,
0.011444995,
0.030646227,
0.036478553,
0.058686845,
-0.036902722,
0.03820553,
-0.039356846,
0.051627453,
0.026631769,
-0.07180579,
-0.0005373126,
-0.010286104,
-0.008968149,
-0.023086926,
0.030025123,
0.005711136,
0.026449982,
-0.045598194,
0.01475503,
-0.023268713,
0.035206046,
0.0020526762,
0.03678153,
-0.009172659,
-0.03187329,
-0.00820313,
0.0004932861,
0.023147522,
-0.042538114,
-0.017012216,
0.017557576,
0.022799097,
0.029176783,
0.047264572,
-0.028419338,
0.018133234,
0.0040030973,
-0.021526588,
-0.038659997,
0.055232894,
0.051627453,
-0.054111876,
-0.005749008,
-0.026768109,
0.03502426,
-0.014186946,
0.033418477,
-0.0035448428,
-0.025813727,
-0.027601298
] |
The guidance_scale is used in classifier free guidance (CFG), setting the weighting between the conditional logits
(which are predicted from the text prompts) and the unconditional logits (which are predicted from an unconditional or
'null' prompt). Higher guidance scale encourages the model to generate samples that are more closely linked to the input
prompt, usually at the expense of poorer audio quality. CFG is enabled by setting guidance_scale > 1. For best results,
use guidance_scale=3 (default).
Audio-Prompted Generation
The same [MusicgenProcessor] can be used to pre-process an audio prompt that is used for audio continuation. In the
following example, we load an audio file using the 🤗 Datasets library, which can be pip installed through the command
below: |
[
-0.0061583687,
0.043315783,
0.019986674,
0.009646866,
-0.04016357,
-0.059729043,
-0.026195996,
-0.017880669,
0.0044022314,
0.022962257,
0.0008865605,
-0.024701409,
-0.0013952288,
-0.055082243,
-0.033886313,
0.0006428413,
-0.014117032,
-0.07266399,
-0.032609124,
-0.025394354,
-0.016100753,
0.0025390957,
-0.049946304,
-0.023193238,
-0.024497602,
0.011155037,
0.025109025,
0.015964882,
0.07842494,
0.039891824,
-0.0032082621,
0.012839842,
0.008824844,
-0.0074797175,
0.004317312,
-0.05271808,
0.028804725,
-0.015842598,
-0.0028634886,
-0.023573678,
0.05684857,
-0.005679422,
0.014062684,
-0.053614832,
-0.039103772,
-0.05570725,
0.008790876,
0.008050377,
0.029864522,
0.011780045,
-0.04654952,
-0.008233803,
0.010176764,
-0.014280078,
-0.00014574324,
0.016549129,
-0.0033950852,
-0.017554577,
-0.018369805,
0.025625335,
-0.0015022275,
0.036060255,
0.004252773,
-0.0417125,
0.020679617,
-0.0045958483,
-0.008906366,
-0.04660387,
-0.0538594,
0.0081319,
-0.028668853,
0.0073370524,
-0.043071214,
-0.033451524,
-0.030869968,
0.016834458,
-0.005017049,
-0.0125748925,
0.008600656,
0.028342761,
0.021834524,
0.047473446,
0.00045814118,
-0.0030299309,
-0.010108828,
-0.048669115,
0.070979185,
-0.00037492,
-0.01649478,
0.0017230185,
0.030217787,
0.07489228,
0.0043682638,
0.004341089,
0.012099343,
0.029076466,
-0.0031522152,
0.04366905,
0.01085612,
-0.016983917,
0.03646787,
0.039293993,
-0.036196124,
-0.0072011813,
0.004772481,
-0.02294867,
0.01578825,
0.017146964,
-0.028369935,
-0.0011285814,
0.011386018,
0.0037670329,
0.03820702,
0.0046977517,
-0.036630914,
0.038424414,
0.009871053,
0.026046537,
-0.032201506,
-0.0030146453,
0.005886626,
-0.012860223,
0.031685196,
-0.04703866,
-0.011263735,
-0.055055067,
0.0029127419,
0.023532916,
-0.064294316,
-0.010013718,
0.014293665,
0.03948421,
0.023193238,
0.027772103,
0.030081915,
0.01540781,
-0.033913486,
0.01872307,
0.020543747,
-0.043261435,
0.02578838,
0.007832983,
-0.006749409,
0.09206642,
-0.040380962,
0.018125238,
0.035380896,
0.015353462,
0.00314712,
-0.0045958483,
-0.052065898,
0.020502985,
-0.013383327,
0.02565251,
-0.009082999,
-0.010136002,
-0.03839724,
-0.014565408,
0.005472218,
0.014456711,
0.008716146,
-0.007989235,
-0.03692983,
0.031141711,
-0.009415884,
0.040027697,
-0.01678011,
-0.0024524778,
0.013981161,
-0.027541121,
0.005101969,
0.00514273,
0.032609124,
-0.01076101,
0.028288413,
0.033587396,
0.027459597,
0.010006924,
0.033505872,
0.018179586,
-0.007316672,
0.0040727435,
0.037092876,
0.0037772234,
-0.013525992,
0.033587396,
0.0023030192,
0.03342435,
-0.039755955,
0.026848176,
0.034402624,
0.040082045,
-0.028859073,
-0.0116713485,
-0.02432097,
-0.00018650465,
-0.0066475053,
-0.007799015,
-0.024864456,
-0.04481037,
-0.013091204,
-0.0049015586,
-0.033777617,
0.0121197235,
-0.029429732,
0.021263866,
0.030109089,
0.05437571,
-0.04092445,
0.033533048,
0.045734294,
0.03149498,
-0.05304417,
0.015258351,
0.0025815554,
-0.012058581,
0.022201378,
-0.01502737,
0.048669115,
0.048098456,
-0.024878042,
-0.0010852723,
0.026209582,
-0.0068513122,
-0.0042255986,
-0.013172726,
-0.0010088447,
0.023437807,
0.003459624,
0.030353658,
-0.021277452,
0.018926878,
0.01887253,
0.053261567,
0.017527403,
0.012255595,
0.045544073,
0.013723006,
-0.021820938,
-0.009239251,
-0.03551677,
-0.0068445187,
0.019429602,
0.052147422,
-0.003967443,
0.033967834,
0.03372327,
0.0025068263,
-0.006667886,
-0.04798976,
-0.04016357,
0.06456606,
0.008260977,
0.0048607974,
-0.018125238,
-0.020788316,
0.060761664,
0.043261435,
-0.0006020799,
-0.016250212,
0.05597899,
0.017608926,
-0.0106659,
0.00081947405,
0.0025323022,
0.042011417,
0.019714931,
0.019293731,
-0.03712005,
-0.011386018,
-0.015434984,
-0.05391375,
-0.06918569,
0.02574762,
0.032446075,
-0.001474204,
0.035625465,
-0.03247325,
0.05149524,
0.008091139,
-0.036196124,
0.0027734737,
0.011678142,
0.02104647,
0.019212207,
-0.019728519,
-0.06375083,
0.03616895,
0.017282834,
0.080109745,
-0.013831703,
-0.029185165,
0.0012822858,
-0.038995076,
0.0024134147,
0.013104791,
-0.009517787,
0.015679553,
0.03616895,
-0.01152189,
-0.007221562,
0.04565277,
-0.03298956,
-0.020964948,
-0.025244895,
0.013627895,
0.044402756,
-0.017459467,
0.020462224,
0.03228303,
-0.020489398,
0.012201247,
0.011854774,
0.02033994,
-0.014674105,
0.01574749,
0.025856316,
-0.022079093,
-0.03959291,
-0.02057092,
-0.04258208,
-0.04328861,
0.0022231948,
-0.01163738,
-0.0213318,
0.061848633,
0.007873745,
-0.07570751,
0.01982363,
-0.04782671,
-0.014796389,
-0.00824739,
-0.021983983,
0.035489593,
0.047093008,
0.02313889,
-0.022160616,
-0.009911815,
-0.00059358793,
0.02807102,
0.00068402727,
-0.044728845,
-0.016820872,
0.061794285,
0.0031148505,
0.016562717,
0.030924316,
-0.049185425,
-0.025353592,
0.0050442237,
-0.006087036,
0.029592779,
-0.0049049556,
0.011433573,
0.010822153,
0.038424414,
-0.05608769,
-0.005917197,
0.027676992,
0.03888638,
0.014728453,
0.031929765,
0.021019297,
-0.014742041,
0.0053159664,
-0.022772036,
-0.02479652,
0.007900919,
0.031793892,
-0.040054873,
-0.0068173446,
0.05244634,
-0.05570725,
0.016983917,
-0.017568164,
0.012602067,
0.06597912,
-0.03201129,
0.03296239,
-0.018899703,
-0.03872333,
0.01744588,
-0.0032795945,
0.020761142,
0.022839973,
0.033641744,
-0.03502763,
-0.02820689,
0.008097932,
-0.025530225,
-0.020774728,
0.0007171459,
0.011881948,
-0.05087023,
-0.07277269,
0.001274643,
0.008614243,
0.041848373,
0.04831585,
0.076142296,
0.03138628,
-0.041359235,
0.05831598,
0.038505938,
-0.019470364,
-0.007568034,
-0.026114471,
0.027296552,
-0.0007995179,
0.01123656,
-0.006355382,
-0.026155233,
-0.07880538,
0.07010961,
0.029239513,
0.031114537,
-0.0288319,
-0.0021569575,
0.0030622003,
0.0009281711,
-0.007955267,
-0.00028639133,
-0.023369871,
0.018532852,
0.019633409,
-0.049158253,
0.0037534458,
-0.03665809,
0.011059927,
0.031984113,
-0.007513685,
-0.057500754,
-0.031223234,
-0.030761272,
-0.044674497,
0.023763897,
0.042283162,
0.020462224,
0.01910351,
-0.034647193,
0.0128126675,
0.009021857,
-0.039321166,
0.00629424,
-0.012547718,
-0.010706661,
-0.0030452164,
0.03845159,
0.02673948,
-0.030163437,
0.022812799,
-0.04608756,
0.02721503,
-0.012853429,
0.012934952,
-0.0012610559,
-0.03972878,
-0.015149655,
-0.0011829298,
-0.009334361,
-0.040326614,
0.012887397,
0.013349359,
-0.020299178,
-0.06282691,
0.022106268,
-0.012982506,
0.008702559,
0.009021857,
0.030326484,
-0.0066644894,
0.027527533,
0.010047685,
-0.031603675,
0.015829012,
-0.013233868,
0.048207153,
-0.053261567,
-0.0352722,
0.024687823,
-0.0074933046,
0.042310335,
-0.0029670903,
-0.03494611,
-0.02394053,
-0.05173981,
-0.017568164,
0.011589825,
-0.030380832,
0.037038527,
-0.009721595,
-0.012180866,
0.064783454,
-0.057337705,
0.018858943,
-0.021060059,
-0.060707316,
0.027446011,
0.06500085,
0.029402558,
0.01055041,
-0.053940922,
-0.042174466,
0.059620343,
-0.016997505,
-0.009612897,
-0.051984373,
-0.019429602,
-0.0020601493,
-0.042690776,
-0.021127993,
0.019456776,
-0.043641876,
0.0008857113,
0.037636362,
0.00063307554,
-0.006419921,
-0.038614634,
-0.05220177,
0.05035392,
0.0059511648,
-0.03475589,
-0.014497472,
0.028125368,
-0.01230315,
0.025869904,
-0.010448506,
-0.016209451,
-0.030136263,
-0.028342761,
0.07538142,
-0.0032048654,
0.01007486,
-0.04475602,
-0.070979185,
-0.02451119,
0.0036209712,
-0.008294946,
-0.05451158,
-0.035598293,
-0.003420561,
0.023600852,
-0.034592845,
-0.0065965536,
0.001812184,
0.01483715,
0.0091849025,
0.035761338,
-0.009341155,
-0.018478502,
0.03277217,
0.0054212664,
-0.0068479157,
0.037283096,
-0.026522085,
-0.005553741,
-0.042554904,
-0.009028651,
0.0162638,
0.003763636,
0.016182277,
0.045761466,
-0.048533242,
0.003906301,
-0.031223234,
0.015951296,
-0.01403551,
-0.039620083,
0.03426675,
-0.058098584,
-0.013892844,
-0.012907778,
0.024157925,
0.0052684112,
0.041658152,
-0.023532916,
-0.024918804,
-0.09951217,
-0.028886247,
0.0047351164,
-0.020747554,
-0.035924383,
0.03184824,
0.030924316,
0.0371744,
-0.05967469,
0.029456906,
0.04095162,
0.03915812,
-0.037582014,
-0.056576826,
-0.014565408,
0.019565472,
-0.012975713,
0.030897142,
0.033505872,
-0.029484082,
0.008165868,
-0.061468195,
-0.0436147,
-0.01744588,
-0.011189005,
0.04366905,
-0.044484276,
0.04432123,
-0.031549327,
-0.054267015,
-0.049565867,
0.019877978,
0.005210666,
0.011175418,
0.04040814,
0.0024864455,
0.045679945,
0.038995076,
-0.058261633,
-0.016549129,
-0.022432359,
0.03356022,
-0.022744862,
-0.03304391,
0.013281424,
0.00024605452,
-0.0630443,
-0.0686422,
-0.0148507375,
-0.031603675,
-0.05271808,
-0.06521825,
0.017948605,
-0.0107745975,
0.001929373,
0.0068479157,
0.050082177,
-0.005441647,
0.04611473,
-0.0081319,
0.0056148833,
-0.06940308,
0.03418523,
0.035571117,
-0.009830291,
-0.011963472,
-0.052364815,
-0.0024694616,
-0.034456972,
0.020801902,
0.014701279,
0.025924252,
0.02915799,
0.031359106,
0.020367114,
0.05788119,
-0.009049031,
0.02157637,
-0.015774664,
-0.024850868,
-0.068968296,
-0.0029246307,
0.0031250408,
-0.011773252,
0.030326484,
-0.033967834,
-0.004082934,
0.013451262,
0.058968164,
-0.0011005579,
-0.060707316,
0.026032949,
-0.0344298,
-0.015611617,
-0.02437532,
-0.046821263,
0.00009712678,
0.013050443,
0.0015319494,
-0.03872333,
-0.005968149,
-0.023342697,
-0.018886117,
-0.011114276,
-0.019714931,
-0.011963472,
0.006297637,
-0.009259632,
-0.03255477,
-0.011610206,
-0.026576435,
-0.02413075,
-0.0096332785,
0.0022775433,
-0.02702481,
0.03817985,
-0.029375384,
0.005927387,
0.018926878,
0.017799146,
-0.0020431653,
0.005665835,
-0.023356283,
0.030543877,
0.05320722,
-0.015543682,
0.017405119,
-0.0014198555,
0.004001411,
-0.05024522,
0.023451393,
0.038614634,
0.00027195498,
-0.0026919509,
0.00069251924,
-0.019782867,
-0.030924316,
0.0052989824,
-0.042011417,
0.0043105185,
-0.011290909,
0.024687823,
0.0045856577,
0.06924003,
0.031168886,
0.030788446,
0.0029229322,
0.022690514,
0.019049162,
0.024470428,
0.034973282,
-0.0056454544,
0.0028414095,
-0.07353357,
0.0007303085,
0.012343911,
-0.01957906,
0.021657892,
-0.03209281,
-0.0021178946,
-0.029456906,
-0.019334491,
0.045707118,
0.028994944,
-0.014606169,
-0.04432123,
-0.0059715454,
0.009735182,
-0.012092549,
-0.009443059,
-0.0574464,
-0.031440627,
0.042310335,
-0.04489189,
0.0067731864,
-0.015204003,
0.036440693,
0.011684936,
0.020013848,
-0.004959304,
-0.022418771,
0.07413141,
0.045462552,
0.040082045,
-0.04508211,
0.023397045,
0.017622514,
0.026753068,
-0.024524776,
-0.06489215,
0.05380505,
0.080761924,
0.013906431,
-0.05538116,
-0.041223366,
-0.002116196,
0.0030367244,
0.03323413,
0.0069294386,
0.004548293,
-0.017568164,
0.007377814,
0.012432228,
0.036957003,
-0.010822153,
0.011487922,
0.030408006,
0.021589955,
-0.012289563,
0.06614217,
-0.00048913684,
-0.020543747,
0.012140105,
0.0074117817,
0.017799146,
-0.009035444,
0.0019174843,
0.0082745645,
0.02546229,
0.03959291,
0.006688267,
-0.05989209,
0.030978667,
0.00011803823,
-0.0042493762,
0.0051563173,
0.055924643,
0.02205192,
-0.044728845,
-0.002501731,
-0.031630848,
-0.0027819658,
-0.010597965,
0.0015531792,
0.009769149,
-0.01792143,
-0.031875417,
-0.029456906,
-0.020869838,
-0.0038383654,
0.0035870033,
-0.04214729,
-0.008152281,
-0.010604758,
0.023709549,
0.040027697,
-0.01306403,
-0.01007486,
0.025312832,
0.046169084,
0.036359172,
0.020625269,
0.007928093,
0.07402271,
-0.0001454248,
0.03399501,
0.01759534,
-0.027079158,
-0.014660518,
0.019130684,
-0.05304417,
-0.0020363717,
0.0026019362,
-0.022391597,
-0.029239513,
0.00026325072,
0.012853429,
-0.026766654,
0.014198556,
-0.058098584,
0.017989365,
0.03304391,
-0.00079697033,
-0.01597847,
0.023777485,
-0.015815424,
0.011555858,
0.020407876,
0.029565604,
-0.02356009,
0.054538757,
0.032119986,
-0.03149498,
0.037717886,
0.022011157,
-0.008464784,
-0.029212339,
0.0023964308,
-0.0004568674,
-0.010652313,
-0.018614374,
-0.016250212,
0.012670003,
0.015761076,
-0.0015803536,
0.017432293,
0.012140105,
-0.0051529207,
-0.05002783,
0.002180735,
0.08315326,
0.014769215,
-0.03948421,
-0.0049287328,
-0.0059579583,
-0.02512261,
-0.0027955528,
-0.025163373,
0.042880997,
-0.015774664,
-0.038152672,
-0.02687535,
-0.03578851,
-0.046766914,
0.004259567,
0.00078380783,
-0.0020839267,
0.0389679,
0.042935345,
0.038288545,
0.011311289,
-0.03005474,
0.026046537,
0.031739544,
0.055870295,
0.013525992,
0.06690305,
0.020081785,
0.0010453601,
-0.011222973,
-0.027649818,
-0.003233738,
-0.046821263,
0.015271938,
-0.010000131,
0.0050612073,
-0.056250736,
-0.031984113,
-0.032201506,
0.020679617,
0.019905152,
-0.012663209,
-0.05760945,
0.039810304,
-0.06402258,
-0.03769071,
-0.020353528,
0.013308598,
-0.01702468,
-0.0070788967,
-0.029565604,
-0.028994944,
0.21391584,
0.03744614,
0.041413587,
0.0123507045,
0.018913291,
0.03869616,
0.016236626,
-0.04290817,
-0.013512405,
-0.036685262,
0.021562781,
-0.01687522,
0.020611683,
0.028016672,
0.0032184524,
0.025924252,
-0.023383457,
0.003481703,
0.018695896,
-0.054457232,
-0.052065898,
0.009110173,
0.019280143,
0.031114537,
-0.029293861,
0.020937774,
0.0073370524,
-0.00893354,
0.03418523,
-0.023872595,
0.034810238,
-0.021834524,
0.03456567,
-0.0031131522,
0.00087127497,
0.066522606,
0.015557269,
-0.02294867,
0.01152189,
-0.027554708,
0.0082745645,
-0.015679553,
-0.02451119,
-0.023505742,
-0.0426636,
0.051712632,
0.022880733,
0.04706583,
0.07212051,
-0.08483806,
0.028532982,
-0.034158055,
0.04157663,
-0.03750049,
-0.043560352,
-0.00026261382,
-0.05182133,
-0.010631933,
-0.02020407,
0.04062553,
-0.029864522,
0.0014096652,
0.0006228852,
0.023614438,
-0.054538757,
0.0004517722,
-0.01026508,
0.0035088775,
-0.004286741,
-0.037011355,
-0.01422573,
-0.029402558,
0.041685328,
-0.039810304,
0.021032883,
0.033397175,
-0.0022248933,
0.01934808,
-0.010489267,
-0.011392812,
-0.008050377,
-0.0344298,
0.043723397,
0.0025051278,
-0.005543551,
0.045245156,
-0.03646787,
0.036848307,
-0.00045814118,
0.030706923,
0.021358974,
0.024728585,
0.0032439283,
-0.008688972,
0.009531375
] | For batched audio-prompted generation, the generated audio_values can be post-processed to remove padding by using the
[MusicgenProcessor] class:
thon |
[
0.007390011,
0.0044112788,
0.0065738726,
-0.018223643,
-0.028141271,
-0.008829445,
0.019187856,
0.021942753,
-0.015331001,
0.050194222,
0.029890632,
0.020703051,
0.0137813715,
-0.0010666617,
-0.021488195,
0.013567868,
-0.030000828,
0.00050061644,
-0.03446376,
0.032810822,
-0.04625472,
0.011171107,
-0.042039726,
0.01975261,
-0.00490716,
-0.020716826,
-0.014105072,
0.015964627,
0.07697182,
-0.016612029,
-0.032067,
0.0068287007,
0.005196424,
0.014229042,
-0.033830136,
-0.005065567,
0.007383124,
-0.042425413,
-0.04997383,
-0.04752197,
0.027562743,
-0.03181906,
0.07934103,
-0.020344913,
-0.04272845,
-0.017548693,
-0.024146672,
-0.04727403,
-0.037080914,
-0.05380314,
0.010661451,
0.015138159,
0.016997714,
-0.018788397,
-0.0008217341,
-0.017052813,
-0.0018561118,
0.018884819,
-0.045345604,
0.058183424,
-0.013788259,
0.013416348,
-0.0007847152,
-0.025413925,
0.012741398,
0.026378138,
0.013974215,
-0.0012362599,
-0.020041876,
-0.018609328,
-0.012424585,
0.013092647,
-0.021157607,
-0.010020938,
0.03099259,
0.015826883,
0.0802226,
-0.044959918,
-0.03151602,
0.042342767,
0.019146534,
0.039450124,
-0.009683463,
-0.016198793,
-0.034987193,
0.0016064493,
0.07840437,
-0.00638103,
0.033031214,
0.0107923085,
0.052315492,
0.068486735,
0.00028904894,
0.012045787,
0.01483512,
0.018802172,
-0.024243092,
0.060277145,
-0.019917905,
-0.0075139813,
0.02856828,
0.05752225,
-0.014890218,
-0.0003923576,
-0.0140362,
0.048293345,
0.084024355,
0.03851346,
-0.02000055,
-0.014972865,
0.017851733,
0.009277116,
-0.018085899,
-0.0031388607,
-0.032783274,
0.037301306,
0.012589879,
0.02005565,
-0.046915896,
-0.0010709661,
0.03446376,
0.0058782613,
-0.026212845,
-0.024931816,
0.015868206,
-0.038596105,
0.004955371,
0.03294857,
-0.06038734,
-0.0029322435,
-0.029504946,
-0.018444035,
0.04035924,
0.041295905,
0.01128819,
-0.0039050663,
0.0002479407,
0.02789333,
-0.020014327,
-0.056585584,
0.018898593,
0.006315601,
-0.0047315354,
0.07140693,
-0.03394033,
0.016763547,
-0.011880493,
0.010943828,
-0.04942285,
0.020262267,
-0.0721232,
-0.033031214,
-0.023182457,
0.05724676,
0.04788011,
-0.024628779,
-0.03978071,
-0.015454972,
-0.0031474698,
-0.021860108,
0.010406623,
0.032755725,
-0.04256316,
0.035648365,
-0.03898179,
-0.013547205,
-0.007383124,
-0.0028478748,
-0.022479959,
-0.030634454,
0.021391775,
0.005626877,
0.015496295,
-0.006808039,
0.021501971,
0.024670102,
0.018361388,
-0.0029856195,
0.021088736,
0.0014196328,
-0.03639219,
-0.00330932,
-0.00694234,
0.02060663,
-0.014669826,
0.033995427,
-0.0040841345,
0.0015057233,
-0.033995427,
-0.011405273,
-0.013905343,
0.031130334,
-0.0076792752,
-0.015083061,
-0.04071738,
0.028843772,
-0.014890218,
-0.020565305,
-0.011784072,
-0.03796248,
0.0220254,
0.008064961,
-0.027190832,
-0.012183531,
-0.03526268,
0.028265242,
-0.043940607,
0.020317364,
-0.054602057,
0.028182596,
0.06286675,
0.037824735,
-0.054326568,
0.006005675,
0.029752886,
-0.0046144524,
-0.0066496325,
0.011832282,
0.026323041,
-0.0011415604,
-0.025221081,
-0.023306428,
0.052150197,
-0.010082923,
0.008133833,
-0.024959367,
0.014408111,
0.074823,
-0.030717101,
0.017975703,
0.023182457,
0.033747487,
0.020937217,
0.029091712,
0.0022951735,
0.022314666,
0.05135128,
0.004762528,
-0.0042700903,
0.024780298,
0.0193807,
0.0019077661,
0.019766385,
0.00518265,
-0.011908042,
0.04195708,
-0.013016888,
-0.0360616,
-0.007500207,
-0.024091573,
-0.061874986,
0.09454806,
0.0141188465,
0.015069286,
-0.027783135,
-0.015606491,
-0.03823797,
0.0068700244,
0.026874019,
-0.030358965,
0.06220557,
0.006164082,
0.010186232,
-0.03774209,
-0.0017889612,
0.055235684,
-0.004170225,
0.05135128,
-0.033637293,
-0.039312378,
0.035345327,
-0.05283892,
-0.033802584,
-0.021295354,
0.04788011,
0.031157885,
0.050276868,
-0.052783825,
0.007114521,
0.012376375,
-0.0227279,
-0.005637208,
-0.01008981,
0.04898207,
0.0016314156,
0.027686713,
-0.011598116,
0.0127689475,
-0.05071765,
0.048017852,
0.008980964,
-0.0004252872,
0.010544368,
-0.031130334,
-0.009697237,
0.02205295,
0.012032012,
-0.008581504,
0.0024621892,
-0.041901983,
-0.034849446,
0.039890908,
-0.00031939585,
0.008264691,
-0.039890908,
0.06545635,
-0.007755035,
-0.0000044659464,
0.011708312,
0.06011185,
-0.0036433511,
0.015193257,
-0.018967465,
0.040028654,
-0.0037294417,
0.010392848,
0.018898593,
-0.017562468,
0.0016649908,
-0.008726136,
-0.026626078,
-0.020400012,
0.00470743,
-0.019022563,
-0.028141271,
0.066117525,
0.021736138,
-0.08595278,
0.02245241,
-0.014793796,
-0.0247252,
0.020827021,
-0.015179482,
-0.026805148,
0.006460233,
0.008781234,
-0.023017164,
-0.03148847,
-0.014780022,
0.015069286,
0.01061324,
-0.0046213395,
-0.017066587,
0.008843219,
-0.01765889,
-0.0033420343,
0.07261908,
-0.038871594,
-0.0016322765,
-0.03639219,
0.01256233,
0.010750986,
0.027907105,
-0.030386513,
-0.013030662,
0.006009119,
0.010709662,
0.009125596,
0.0053582746,
-0.06479517,
0.00051783456,
0.020592855,
-0.04914736,
0.009655913,
-0.023430398,
-0.016474284,
-0.005065567,
0.018595554,
0.05402353,
-0.05077275,
0.07399653,
-0.011728974,
0.0022882863,
-0.016942617,
-0.009621478,
0.009277116,
0.03148847,
-0.015151933,
0.023347752,
-0.04438139,
-0.015083061,
0.023044713,
0.019215407,
0.038348164,
0.051461473,
0.03418827,
0.013306152,
-0.0024776855,
-0.026405687,
0.01925673,
0.044216096,
-0.032397587,
0.004955371,
-0.008147608,
-0.078128874,
-0.035758562,
0.013616078,
0.060828123,
0.030827297,
0.021419324,
0.030414062,
-0.018540457,
0.004273534,
0.06220557,
-0.0038844047,
-0.010695888,
-0.025138434,
0.053307254,
0.018967465,
-0.027314803,
-0.04730158,
-0.03978071,
0.002971845,
-0.026309265,
-0.003725998,
0.029477397,
-0.042342767,
-0.0076586134,
-0.06066283,
0.035097387,
-0.025937354,
-0.0467506,
-0.03774209,
0.04121326,
-0.008306014,
-0.006453346,
0.024587454,
-0.04198463,
0.028458085,
0.034326017,
-0.021419324,
-0.05107579,
-0.04592413,
0.009380424,
-0.051130887,
-0.020317364,
0.06303204,
-0.012452134,
-0.027080636,
-0.032039452,
0.009029174,
0.003753547,
-0.0029649579,
0.052398138,
0.016405411,
-0.0018647208,
-0.04173669,
-0.034573957,
-0.014587179,
-0.021639716,
0.07135183,
-0.007865231,
-0.008795008,
-0.013678064,
0.006887242,
-0.02392628,
0.005898923,
-0.021391775,
0.004976033,
0.006866581,
0.006350037,
0.0059505776,
0.017796634,
-0.03851346,
0.00016152735,
0.032673076,
-0.030055925,
-0.010303315,
0.046061877,
0.045070115,
0.008299127,
0.026116423,
0.004397504,
-0.038348164,
0.012059561,
0.014463209,
0.039064437,
-0.015468746,
-0.012025125,
-0.00530662,
0.0046144524,
0.053362355,
-0.011267529,
-0.034849446,
-0.0017872393,
-0.018540457,
0.0040669166,
0.0136091905,
-0.025289955,
0.02832034,
-0.0056062154,
-0.042315215,
0.036199346,
-0.048320893,
-0.04642001,
-0.029697789,
-0.04788011,
0.007727486,
0.05553872,
-0.0037294417,
0.050800297,
-0.025152208,
-0.05531833,
0.027852008,
-0.036529932,
0.011350175,
-0.00993829,
0.029339653,
0.014022426,
0.014408111,
0.000047134563,
-0.04567619,
-0.022287115,
0.004452602,
-0.005168875,
-0.055483624,
0.04060718,
-0.017961929,
0.008994739,
0.018140996,
0.029257005,
-0.049588144,
0.004080691,
0.032783274,
0.026612304,
0.028650928,
-0.02340285,
-0.030496709,
0.011432822,
-0.023788534,
0.01176341,
-0.0055786665,
-0.012445247,
0.002098887,
-0.012672526,
-0.0050345743,
-0.007913441,
-0.021984078,
-0.06011185,
0.0035951405,
-0.007851456,
0.03958787,
-0.018691976,
-0.015041737,
-0.0022383537,
-0.011942478,
0.016915068,
0.045235407,
0.012748285,
-0.02205295,
0.015331001,
-0.046447564,
0.016515607,
0.03074465,
-0.02287942,
0.0039498336,
-0.0013895012,
0.021047413,
-0.023278879,
0.0045111435,
-0.0010485826,
0.04518031,
-0.00829224,
0.033003666,
-0.028540732,
-0.017286979,
-0.051681865,
0.0030699882,
0.02690157,
-0.030248769,
0.041654043,
0.01968374,
-0.013423235,
0.021846334,
0.020950992,
-0.046089426,
0.00518265,
-0.048458636,
-0.015620265,
0.013437009,
-0.010014051,
-0.03366484,
-0.013953553,
-0.004400948,
0.07917574,
-0.054354116,
0.043940607,
0.050635006,
0.006608309,
0.018430261,
-0.058128323,
0.023953829,
0.023347752,
0.0028495966,
0.006508444,
0.038596105,
-0.014931541,
-0.0020248492,
-0.019849032,
-0.015041737,
-0.03898179,
0.03713601,
0.04972589,
-0.00598157,
-0.0054409215,
-0.05934048,
-0.031350728,
-0.014146396,
0.034022976,
-0.032149646,
0.016212568,
-0.01455963,
0.0153034525,
0.00046101477,
0.053059313,
0.009070498,
0.003973939,
-0.06600733,
0.009235792,
0.035235133,
-0.053307254,
-0.01962864,
-0.0016675736,
-0.035207585,
-0.04272845,
-0.04462933,
0.015069286,
-0.024794072,
-0.015813109,
-0.0022848425,
0.015000414,
-0.03928483,
0.0071765063,
-0.04071738,
-0.0032834928,
-0.005292846,
-0.008361112,
-0.029725337,
-0.0587895,
0.029504946,
0.05270118,
-0.013622966,
0.00309065,
-0.059395578,
-0.010069149,
-0.023705889,
-0.010151795,
0.03184661,
0.0017751867,
0.0050139125,
-0.0033661397,
-0.00021167508,
0.050194222,
-0.013416348,
0.06903772,
0.06743988,
-0.02365079,
-0.035978954,
0.0050862283,
0.028953966,
0.017052813,
-0.004879611,
0.02030359,
-0.0010296428,
0.053004216,
0.08848729,
0.002608543,
-0.047218934,
0.07829417,
-0.003880961,
-0.013857132,
-0.004029037,
-0.028402988,
0.007672388,
0.020152071,
-0.058128323,
0.0037225545,
0.0029856195,
0.0031853495,
0.0160335,
-0.03848591,
-0.0059781265,
-0.008629715,
-0.04330698,
0.0076035154,
-0.013740049,
-0.07377614,
-0.046888344,
0.035455525,
-0.006563542,
-0.0050207996,
-0.03768699,
0.045125213,
0.011322626,
0.024105348,
-0.011797846,
-0.009345988,
0.015895756,
-0.0334169,
-0.033995427,
0.022245793,
0.0454007,
-0.014215268,
-0.019215407,
0.03743905,
-0.029780436,
-0.024435936,
0.015689138,
0.043389626,
-0.009056724,
-0.004996694,
-0.0052033113,
0.003162966,
-0.033058763,
-0.012548556,
-0.05531833,
0.030055925,
-0.005588997,
0.009924516,
-0.014724924,
0.05135128,
0.05801813,
0.04085512,
0.023719663,
0.03553817,
0.05482245,
0.0025121216,
0.0042976392,
-0.0080305245,
-0.042287666,
-0.057797737,
0.055180587,
0.04920246,
0.022920743,
0.030579356,
0.0070215436,
0.009531943,
-0.034105625,
-0.034849446,
0.011226205,
0.02579961,
-0.0075966283,
0.0033041546,
0.0029064163,
-0.027232155,
-0.010420398,
0.019050112,
-0.037769638,
-0.058348715,
0.023210006,
-0.031929255,
0.002763506,
-0.029257005,
-0.033857685,
-0.0093873115,
-0.018926142,
-0.011598116,
0.010799196,
0.07080085,
-0.020331139,
0.03473925,
-0.041516297,
-0.014297915,
0.034629054,
-0.03102014,
-0.031295627,
-0.042012177,
0.036502384,
0.0347668,
0.022548832,
-0.038127773,
0.005991901,
-0.010179345,
-0.042039726,
0.03664013,
-0.026750049,
-0.0010761316,
-0.026832696,
0.0059402464,
-0.004635114,
-0.021240255,
0.007080085,
0.028155047,
0.033857685,
-0.019725062,
0.016749773,
-0.015730461,
0.016240118,
-0.02405025,
0.009559493,
0.050910495,
0.040304143,
-0.0166809,
0.01064079,
0.014132621,
0.026006227,
0.05212265,
0.034629054,
0.010385961,
-0.022631478,
0.004535249,
-0.019242955,
-0.030606905,
0.031653766,
0.024945593,
-0.032259844,
0.018871045,
0.008657264,
0.0038155322,
-0.0033506434,
-0.014545856,
-0.007390011,
0.020647952,
-0.017342076,
-0.0035073282,
-0.03504229,
0.010179345,
-0.009731674,
-0.017218105,
-0.00814072,
-0.0128240455,
0.010482383,
0.035951406,
-0.0048348443,
-0.04333453,
0.043141685,
0.016915068,
0.030028377,
0.0233753,
0.032011904,
0.036529932,
0.036832973,
0.051764514,
-0.027672939,
-0.03369239,
-0.061764788,
-0.06380341,
-0.005771509,
0.014931541,
-0.050111573,
-0.0059677954,
-0.024670102,
-0.05245324,
0.025469022,
-0.03953277,
0.010234442,
-0.073059864,
-0.007035318,
0.04121326,
-0.01993168,
0.0101173585,
0.03655748,
-0.004976033,
0.017948154,
0.04705364,
0.020647952,
-0.011804733,
0.038541008,
0.025069563,
0.00017142776,
0.030606905,
0.012369487,
-0.020496434,
-0.0041151275,
0.017700212,
0.0079203285,
0.010358413,
0.006852806,
-0.060277145,
-0.017755311,
-0.0052411915,
-0.017163008,
-0.03159867,
-0.021598391,
-0.0047315354,
-0.028981516,
-0.02887132,
0.04595168,
0.000740809,
-0.05077275,
-0.0067322794,
0.012445247,
0.0127689475,
-0.014146396,
-0.031708863,
0.023884956,
0.022934517,
-0.026543431,
-0.0138364695,
-0.0070215436,
-0.015978402,
-0.032480236,
-0.0107923085,
-0.011109122,
0.05592441,
-0.00048339833,
0.05642029,
0.008994739,
-0.052756276,
-0.01630899,
0.0053307256,
0.026006227,
0.0021746468,
0.04619962,
0.045869034,
-0.029560044,
-0.042921294,
-0.015868206,
-0.019711288,
-0.035978954,
0.012066448,
-0.02135045,
-0.05294912,
-0.0133268135,
-0.06066283,
-0.03716356,
0.046612855,
-0.01483512,
-0.017438497,
-0.010200006,
0.018760849,
-0.07939613,
0.0001610969,
-0.045565996,
0.013409461,
0.012982451,
-0.004125458,
0.03319651,
-0.045125213,
0.22072235,
0.034876995,
0.030028377,
0.031405825,
0.033031214,
0.06308714,
0.03950522,
-0.022369763,
0.034078076,
-0.04788011,
0.025400149,
-0.040800024,
-0.016116148,
0.0074588833,
-0.03504229,
0.011756523,
-0.056585584,
-0.014270366,
0.02444971,
-0.025042012,
0.003698449,
0.0056199897,
0.02190143,
0.06518086,
0.014022426,
0.028430536,
0.0019370369,
-0.038954243,
0.03046916,
0.004452602,
-0.02782446,
-0.051709414,
0.006281165,
0.013092647,
-0.008788121,
0.024146672,
-0.0014936706,
-0.042756,
-0.016253892,
0.016474284,
0.009008513,
0.0064843385,
-0.015262129,
0.030882394,
-0.027838234,
-0.0060504423,
0.048816774,
0.053885784,
0.03848591,
0.00029378393,
0.018939916,
-0.04333453,
0.024394613,
0.012872255,
-0.028513184,
-0.0011932147,
-0.05564892,
-0.0046041217,
-0.04305904,
0.02128158,
0.010138021,
-0.03666768,
-0.0019232624,
0.017424723,
-0.012624315,
0.03314141,
-0.017755311,
0.026364364,
-0.04063473,
-0.05961597,
0.030965041,
0.0034022976,
-0.047825012,
-0.038816497,
-0.01363674,
-0.021846334,
-0.019697513,
0.02270035,
0.018939916,
-0.04460178,
0.02420177,
0.005316951,
0.014394336,
-0.04862393,
0.04776991,
0.037328854,
-0.050635006,
-0.00059402466,
0.026777599,
0.011405273,
-0.0493953,
0.06022205,
0.0054202597,
-0.006016006,
0.0017872393
] | Generation Configuration
The default parameters that control the generation process, such as sampling, guidance scale and number of generated
tokens, can be found in the model's generation config, and updated as desired:
thon |
[
0.0071025286,
0.047600456,
0.03162352,
-0.015601537,
-0.03717941,
-0.039852243,
-0.011907622,
-0.022734098,
-0.004309568,
0.029416181,
0.009287344,
-0.034987085,
0.06643041,
-0.055979338,
-0.017448496,
0.03847078,
-0.03994234,
-0.057901375,
-0.06450838,
-0.011779986,
-0.010045649,
-0.016082047,
-0.06288666,
-0.031653553,
-0.011457144,
0.021052316,
0.008363865,
0.012110337,
0.06240615,
0.03585801,
-0.01397231,
-0.011704907,
-0.013762088,
-0.0028492701,
-0.01102919,
-0.021412697,
0.045348067,
-0.015466394,
-0.021232506,
-0.017088113,
0.021577872,
-0.013724548,
0.025647186,
-0.032073997,
-0.042975552,
-0.02776443,
-0.013379182,
-0.009362424,
-0.017703766,
-0.013521833,
-0.0223587,
-0.00040026804,
0.04919214,
0.005766112,
0.0032847319,
-0.011149318,
-0.0032040211,
-0.026758363,
-0.05880233,
0.026202776,
0.0049026967,
0.028995736,
-0.00070434035,
-0.06841252,
-0.009752838,
0.010278395,
-0.0057135564,
-0.013596913,
-0.042675234,
-0.025512042,
-0.045137845,
0.026307886,
-0.035737883,
-0.037239473,
-0.018319419,
0.021592889,
0.003057616,
-0.050573606,
0.016082047,
0.035257373,
0.0034818156,
0.041804314,
0.0056835245,
0.031383265,
-0.032854825,
-0.055979338,
0.04997297,
-0.022088414,
-0.018574689,
-0.01573668,
-0.011539732,
0.05174485,
-0.037870143,
0.012237972,
0.027419064,
0.023334734,
-0.022238573,
0.055018317,
0.007541744,
-0.013874707,
0.054297555,
0.08733257,
-0.03805033,
0.018109195,
0.010856507,
-0.011524716,
0.02783951,
0.00989549,
-0.027328968,
-0.0053081266,
0.00435837,
-0.012418163,
0.040032435,
0.002896195,
-0.007038711,
0.022388732,
0.014835726,
0.04814103,
-0.036248423,
-0.029175926,
-0.017298335,
0.0076205777,
0.019580755,
-0.06937353,
0.003761487,
-0.071776085,
-0.013724548,
0.04997297,
-0.027734399,
0.009760346,
0.02720884,
0.03126314,
0.03916151,
0.04357619,
0.023875307,
-0.01342423,
-0.0061865575,
0.013754579,
0.010571205,
-0.0028380083,
-0.0040918374,
-0.00088171585,
-0.03883116,
0.08961499,
0.0044184336,
-0.0030989097,
0.05718061,
-0.061985705,
0.023199592,
0.011697399,
-0.06528921,
0.014527899,
-0.009767854,
0.008258754,
-0.0077407053,
-0.0047300137,
-0.0560394,
-0.005578413,
-0.007369061,
0.011314494,
0.018514626,
-0.006145264,
-0.06096462,
0.04636915,
-0.036158327,
0.0280197,
-0.040963423,
0.0024156857,
0.013762088,
-0.023590006,
-0.019400565,
0.0076093157,
0.015676618,
-0.0007925588,
0.034987085,
0.020767013,
0.048441347,
-0.0066445433,
0.0054507777,
-0.006254129,
-0.025346868,
0.0025864916,
0.029686468,
0.0025996305,
-0.021607904,
0.0006128371,
0.0006710238,
0.018754879,
-0.020241456,
0.021307586,
0.03805033,
0.057540994,
-0.050873924,
-0.03195387,
-0.035677817,
0.005218031,
-0.030437263,
-0.020767013,
-0.01323653,
-0.0580215,
-0.013514325,
0.0138897225,
-0.019115262,
0.021127395,
-0.008544057,
0.007451649,
0.010571205,
0.066130094,
-0.038080364,
0.040693134,
0.051144212,
0.019025166,
-0.012298035,
0.012125352,
0.022779146,
-0.018694816,
-0.021728031,
0.0026484323,
0.028845577,
0.03022704,
-0.0074891886,
-0.005045348,
0.0333954,
0.003051985,
0.019295452,
-0.0046887198,
-0.009812902,
0.04651931,
0.018034115,
0.013041324,
-0.004898943,
0.029731516,
0.0319839,
0.044567242,
0.02720884,
0.007248934,
0.03982221,
0.019115262,
-0.0027741906,
-0.0037201934,
-0.035767913,
0.0035587722,
0.050063066,
0.013867199,
-0.016862875,
0.041383866,
0.0028342542,
-0.02243378,
-0.014017358,
-0.017568622,
-0.034987085,
0.04820109,
0.020736981,
0.007875849,
-0.037449695,
-0.023590006,
0.045438163,
0.057841312,
-0.0024194396,
-0.02997177,
0.042164695,
0.038290586,
-0.00004630885,
-0.005248063,
0.016907923,
0.048801728,
-0.006622019,
0.0071062827,
-0.03534747,
-0.0041106073,
-0.032524474,
-0.05540873,
-0.060093697,
0.009790378,
-0.0115697635,
-0.004692474,
0.03183374,
-0.048050933,
0.0333954,
0.009685266,
-0.028154844,
0.010428554,
-0.0058824853,
0.021412697,
0.043335937,
0.022839209,
-0.0573608,
0.035017118,
0.0018394497,
0.0639678,
0.00069636316,
-0.024731215,
0.009625203,
-0.042795364,
0.006712115,
0.014287645,
0.010225839,
0.007248934,
0.0030857709,
0.027449096,
-0.007417863,
0.053006187,
-0.0366989,
-0.005747342,
-0.023980418,
0.01187759,
0.016067032,
-0.007534236,
0.029776562,
0.029025767,
-0.023650069,
0.020166377,
-0.0026334163,
0.018799927,
-0.030992853,
0.002128506,
0.05630969,
0.002727266,
-0.024280738,
-0.008093579,
-0.036458645,
-0.04309568,
-0.024761247,
-0.0015701018,
-0.012237972,
0.044927623,
-0.009407472,
-0.042344887,
-0.008514024,
-0.043486096,
-0.051384468,
-0.030197008,
0.004666196,
0.02720884,
0.02629287,
0.004947745,
-0.048801728,
0.04666947,
0.009527599,
0.03805033,
0.0045836084,
-0.019550724,
0.0138897225,
0.049702685,
0.0040017418,
-0.0020853353,
0.055138446,
-0.048891824,
0.020166377,
0.0056009367,
0.013671992,
0.0118700825,
0.0009929275,
-0.004174425,
-0.024070514,
0.042344887,
-0.04516788,
0.009527599,
0.048381284,
0.019685866,
0.022403747,
0.035257373,
0.020451678,
-0.004159409,
-0.015901856,
-0.03174365,
-0.014910805,
0.009985585,
0.03847078,
-0.051895007,
0.012132861,
0.036158327,
-0.032134064,
-0.0009769731,
-0.0018403883,
-0.012673434,
0.059072617,
-0.015541473,
0.048020903,
-0.01397231,
-0.009354916,
-0.004868911,
0.025647186,
0.03111298,
0.02375518,
0.02195327,
-0.023454862,
-0.024205659,
-0.026082648,
-0.033125114,
-0.016036998,
0.017658718,
0.015331251,
-0.03781008,
-0.027779445,
-0.037509758,
0.027809478,
0.036728933,
0.025001502,
0.038891226,
0.04114361,
-0.024250705,
0.035407532,
0.010871524,
-0.007549252,
-0.002522674,
-0.02923599,
0.04961259,
0.02497147,
0.01695297,
-0.012553306,
-0.024941437,
-0.039131477,
0.021187458,
0.026683284,
0.025001502,
-0.0373596,
-0.015353775,
-0.033665687,
0.00068275497,
-0.02512163,
-0.016998017,
-0.03765992,
0.021652952,
0.034056097,
-0.037569825,
0.032043967,
-0.05327647,
0.019025166,
0.024731215,
-0.004118115,
-0.022674033,
-0.019700883,
-0.016427413,
-0.03375578,
0.011734939,
0.06045408,
-0.0022880503,
-0.0054282537,
-0.043846477,
0.0067684245,
0.03189381,
-0.009279837,
-0.00073531066,
-0.0018544657,
-0.025512042,
-0.011599796,
0.036939155,
0.017628687,
-0.010563698,
0.017523576,
-0.027193826,
-0.0026221545,
-0.021652952,
-0.017598655,
0.00082118297,
-0.022013335,
-0.00864166,
0.00041739555,
0.0076168235,
-0.036518708,
0.010496126,
0.009677758,
-0.028635353,
-0.081926845,
0.013153943,
0.018469578,
0.0067759324,
0.029791579,
0.03958196,
-0.00039276006,
0.037930205,
0.021382665,
-0.031323202,
0.022884257,
-0.018484594,
0.022719081,
-0.028244939,
-0.024505977,
-0.0042307344,
-0.03195387,
0.025436962,
0.008018499,
-0.009602679,
0.010285903,
-0.08655174,
-0.010849,
-0.0069110757,
-0.03699922,
0.031143012,
0.022448795,
-0.017643701,
0.025572106,
-0.016382365,
0.029986786,
-0.040873326,
-0.046819627,
-0.011156826,
0.06390774,
0.009940537,
0.06498889,
-0.0648087,
-0.025421947,
0.012778545,
-0.020902157,
0.028274972,
-0.01926542,
-0.030872725,
0.010713857,
-0.03618836,
-0.012358099,
-0.003774626,
-0.033004984,
-0.0029975523,
0.013371673,
-0.020646885,
-0.022538891,
-0.017703766,
-0.03435642,
0.0520752,
0.0012388132,
-0.033365365,
-0.0054620397,
0.03946183,
0.0059050093,
0.00963271,
0.05129437,
-0.05390714,
-0.026653253,
-0.043185778,
0.06799207,
-0.025497027,
0.019595772,
-0.028395098,
-0.029100846,
-0.024851343,
0.018154243,
-0.0027385277,
-0.054447714,
-0.0076168235,
-0.0068097184,
-0.019040182,
-0.040993452,
0.007935912,
-0.04027269,
0.009002042,
-0.0059763347,
0.013656977,
-0.010924079,
-0.006629527,
0.022794161,
-0.030197008,
0.021337617,
0.020872124,
-0.041744247,
-0.02261397,
-0.017058082,
-0.0022899273,
0.022493843,
0.01834945,
0.0044146795,
0.025346868,
-0.017868942,
0.032224156,
-0.05733077,
-0.022178508,
-0.035257373,
-0.023875307,
0.064568445,
-0.052976154,
0.013656977,
0.016592588,
0.018454561,
0.012162892,
0.038861193,
-0.016322302,
0.013694516,
-0.057841312,
-0.07159589,
0.011975193,
-0.016427413,
-0.044417083,
-0.010045649,
0.03438645,
0.04516788,
-0.045828577,
0.012515767,
0.052825995,
0.009347408,
0.01338669,
-0.08162652,
0.026232807,
-0.004369632,
-0.023635052,
-0.0067984564,
-0.0053794524,
0.008979518,
0.0051767374,
-0.058742266,
-0.046128895,
0.006712115,
-0.013093879,
0.057240676,
-0.036879092,
0.023079464,
-0.03519731,
-0.05639978,
-0.05078383,
0.008724248,
0.024716198,
0.018199291,
0.009655234,
0.019460628,
0.025136644,
0.056129497,
-0.034957055,
-0.032674633,
-0.028635353,
0.04504775,
-0.040963423,
-0.05177488,
0.010218332,
0.018394498,
-0.062165894,
-0.068532646,
-0.022163494,
0.00379715,
-0.046309087,
-0.037299536,
0.012883657,
0.014077422,
-0.03621839,
0.012072797,
0.057210643,
0.00007807103,
0.005931287,
0.020496726,
0.0006663313,
-0.040903356,
0.0028229924,
0.026022583,
-0.022704067,
-0.004880173,
-0.048411317,
-0.00024893574,
-0.03073758,
0.010916571,
0.047420263,
0.0018685431,
0.042705268,
0.028965704,
0.003247192,
0.058712233,
-0.0047863233,
0.030842694,
-0.021262538,
-0.020827077,
-0.06991411,
-0.0021059823,
0.01901015,
-0.022929305,
0.026458045,
-0.03696919,
-0.003630098,
0.005341912,
0.055919275,
-0.0210373,
-0.095140845,
0.019655835,
-0.052135263,
-0.014385249,
0.014160009,
-0.016682683,
0.00093708705,
0.05060364,
0.0020703196,
-0.03240435,
0.010939095,
0.012140369,
-0.008296294,
-0.023304703,
-0.033665687,
-0.0019539462,
-0.012147876,
-0.019640818,
-0.025722265,
-0.009820409,
-0.0036957925,
0.0011196242,
-0.012846117,
0.013559373,
-0.010841492,
0.02459607,
-0.030902756,
0.017974053,
0.010556189,
0.026518108,
0.02459607,
0.004268274,
-0.01591687,
0.033185177,
0.057571024,
-0.022794161,
0.000726395,
0.017703766,
-0.0022073397,
-0.057060484,
0.035317436,
0.05489819,
-0.006866028,
-0.0016104571,
-0.015466394,
0.028560273,
-0.050513543,
-0.010053156,
-0.043516126,
-0.0078533245,
-0.005931287,
0.022388732,
-0.0078308005,
0.051054116,
0.01165986,
0.002149153,
0.008318818,
0.022899274,
0.0104736015,
0.008544057,
0.024295753,
-0.017268304,
0.0035156014,
-0.03648868,
0.009527599,
0.027253889,
0.000087866574,
0.015961919,
-0.006682083,
-0.0032791009,
-0.01882996,
-0.012545798,
0.04453721,
0.060544178,
0.0045573306,
-0.047900774,
0.018334433,
-0.004711244,
-0.012222956,
0.0022261096,
-0.03504715,
-0.05618956,
0.03895129,
-0.02916091,
0.0037427172,
-0.025932489,
0.039221574,
-0.014032374,
0.035888042,
0.001955823,
-0.00823623,
0.047600456,
0.012853624,
0.023094479,
-0.056249622,
-0.008836867,
0.026638236,
0.03796024,
-0.026548142,
-0.041954473,
0.057450898,
0.038590904,
0.03045228,
-0.038891226,
-0.033485495,
-0.0112694455,
-0.009752838,
0.02758424,
0.0022842963,
0.0020947205,
-0.016983002,
0.01809418,
-0.0026897262,
0.036008168,
-0.0028361313,
0.03549763,
0.0093774395,
0.0028924409,
0.011134302,
0.056129497,
0.020091297,
-0.011629827,
-0.002877425,
0.010308427,
-0.0015184846,
-0.006156526,
0.0042419964,
-0.0053681904,
0.068532646,
0.038140427,
0.008829359,
-0.024866357,
0.023905339,
0.007763229,
-0.015173584,
0.0076468554,
0.006468106,
0.011855066,
-0.025136644,
-0.0003089994,
-0.039882276,
-0.016742747,
-0.016172143,
-0.013003784,
0.0049364828,
0.011059223,
-0.020857109,
-0.016757764,
-0.022553908,
-0.006344225,
0.005585921,
-0.029446213,
0.018935071,
0.030992853,
0.05225539,
0.02588744,
0.020001201,
-0.033665687,
0.04961259,
0.04663944,
0.012515767,
0.021532824,
0.010421046,
0.040092498,
0.0017737552,
0.04081326,
0.01687789,
-0.031233106,
-0.041954473,
-0.050183192,
-0.06111478,
0.0062128357,
0.009482551,
-0.02294432,
-0.000035926754,
-0.010030632,
0.012433179,
-0.035107214,
0.041383866,
-0.04748033,
0.028365066,
0.02449096,
-0.029536309,
-0.0493423,
0.0180191,
-0.005341912,
0.0086266445,
-0.018814944,
0.054267522,
0.0019577001,
0.080725566,
0.019956153,
-0.010698841,
0.025316836,
0.032914888,
-0.03492702,
-0.025977535,
0.012012733,
-0.0038346897,
-0.022418763,
-0.053877108,
-0.024070514,
0.0030350923,
-0.022959337,
-0.018814944,
-0.011367049,
0.035888042,
0.0016780287,
-0.043396,
0.018409513,
0.06174545,
0.025617154,
-0.075019516,
-0.0076318397,
0.018514626,
-0.044627305,
0.005383206,
-0.052886058,
0.05258574,
-0.020121329,
-0.053036217,
-0.007695657,
-0.039221574,
-0.020571806,
-0.01629227,
-0.008288786,
-0.014295152,
0.035647787,
0.03799027,
0.043516126,
0.01007568,
-0.0360382,
0.018935071,
0.037449695,
0.032554507,
0.01849961,
0.065109015,
0.024776263,
-0.012147876,
0.0063892724,
0.007211394,
-0.00029867596,
-0.035407532,
-0.000020324278,
-0.010608745,
-0.004148147,
-0.068112195,
-0.033215206,
-0.017028049,
0.032013934,
0.0007437571,
-0.005383206,
-0.04648928,
0.03393597,
-0.084449515,
-0.050423447,
-0.02375518,
0.029851642,
-0.007958435,
-0.016187157,
-0.004290798,
-0.030962821,
0.27100727,
0.07111538,
0.03147336,
0.033365365,
0.0051354435,
0.040843293,
0.031353235,
-0.050033033,
-0.015023424,
-0.0121929245,
-0.008206199,
-0.038741063,
0.028395098,
0.008499009,
-0.039551925,
0.03408613,
-0.015511442,
0.017658718,
-0.01305634,
-0.06564959,
-0.04862154,
0.03147336,
0.022403747,
0.048891824,
0.023154544,
0.023364766,
-0.014332692,
-0.014250105,
0.011344525,
-0.013304102,
0.03294492,
-0.021562856,
0.03684906,
-0.012560815,
0.014873265,
0.03895129,
-0.0069335997,
-0.025512042,
-0.016967986,
-0.027569223,
-0.012530782,
0.001081146,
0.0053344043,
-0.013912247,
-0.044357017,
0.053877108,
-0.012913688,
0.031323202,
0.05078383,
-0.06474863,
-0.0012810454,
-0.036158327,
0.020001201,
-0.017493542,
-0.02474623,
-0.029220974,
-0.048171062,
-0.00393417,
-0.019055199,
0.032224156,
-0.000473236,
0.01710313,
0.020286504,
0.018890023,
-0.050693735,
0.0028098535,
0.011367049,
0.025572106,
-0.013409213,
-0.009249805,
-0.0010145128,
-0.014648027,
0.013011292,
-0.0607544,
-0.00092723285,
0.034326386,
-0.011329509,
0.036248423,
0.0042119646,
-0.034836926,
0.013852183,
-0.02177308,
0.016036998,
-0.026758363,
0.039041385,
0.03045228,
-0.03880113,
0.031383265,
0.01268845,
0.040903356,
0.022734098,
0.02614271,
0.007950928,
-0.002676587,
-0.004380894
] |
from transformers import AutoProcessor, MusicgenForConditionalGeneration
from datasets import load_dataset
processor = AutoProcessor.from_pretrained("facebook/musicgen-small")
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
dataset = load_dataset("sanchit-gandhi/gtzan", split="train", streaming=True)
sample = next(iter(dataset))["audio"]
take the first quarter of the audio sample
sample_1 = sample["array"][: len(sample["array"]) // 4]
take the first half of the audio sample
sample_2 = sample["array"][: len(sample["array"]) // 2]
inputs = processor(
audio=[sample_1, sample_2],
sampling_rate=sample["sampling_rate"],
text=["80s blues track with groovy saxophone", "90s rock song with loud guitars and heavy drums"],
padding=True,
return_tensors="pt",
)
audio_values = model.generate(**inputs, do_sample=True, guidance_scale=3, max_new_tokens=256)
post-process to remove padding from the batched audio
audio_values = processor.batch_decode(audio_values, padding_mask=inputs.padding_mask) |
[
0.02226295,
0.028311694,
0.026706623,
0.024967793,
-0.037243627,
-0.016660057,
0.039651234,
0.014170709,
-0.004428811,
0.044377282,
0.035133254,
-0.022054885,
0.03162587,
-0.03162587,
-0.0009427943,
0.043723363,
-0.03144753,
-0.044080045,
-0.05445357,
0.0025302183,
-0.024848899,
-0.010811946,
-0.074071124,
-0.008047655,
-0.008731297,
0.05085702,
-0.005264786,
0.030303173,
0.10492418,
0.016689781,
-0.02202516,
-0.022604771,
-0.027999597,
0.023139795,
-0.053353798,
-0.025116412,
0.021059144,
-0.013605962,
-0.018190822,
-0.037421968,
0.036143854,
-0.028623791,
0.06842364,
-0.017744968,
-0.060665794,
-0.043961152,
0.016734367,
-0.0045031197,
-0.013301295,
-0.036827497,
-0.028371142,
0.01317497,
0.04003764,
-0.012610222,
0.016630335,
-0.00783959,
0.0065466147,
-0.0014917514,
-0.05097591,
0.05635588,
0.013903197,
0.042088564,
0.009452093,
-0.058020398,
-0.0092514595,
0.049816694,
-0.008790744,
-0.019528382,
-0.027315956,
-0.043366678,
-0.012914889,
0.028549483,
0.010224906,
0.0072934194,
0.0007960342,
0.02376399,
0.06782917,
-0.07074208,
0.0044399574,
0.04369364,
0.008240858,
0.03168532,
0.00071800983,
0.008790744,
-0.05564251,
-0.028534621,
0.06681857,
0.0012028755,
-0.007014761,
-0.005848111,
0.0063274037,
0.056742284,
-0.033052605,
-0.0029110515,
0.031298913,
0.02859407,
0.0019041658,
0.045566224,
-0.008017931,
-0.020212023,
0.04779549,
0.060071323,
-0.005164469,
0.009288614,
-0.0310314,
0.0085603865,
0.06099275,
0.00003712543,
-0.0016375826,
-0.045387883,
0.031566426,
-0.005513721,
0.023407307,
-0.011042304,
-0.0013747148,
0.029203402,
0.006840135,
0.057574544,
-0.056653112,
-0.018458333,
-0.0008731297,
0.011547605,
0.0010393959,
-0.058169015,
0.0017258244,
-0.052670155,
0.024640834,
0.042772207,
-0.03979985,
0.03138808,
0.018547503,
-0.012825718,
0.03144753,
0.057009794,
0.039591786,
-0.012625083,
-0.025562264,
0.010529572,
0.039978195,
-0.037065282,
-0.0026231045,
-0.0055508753,
-0.0149509525,
0.07633011,
0.008003069,
0.0062122247,
0.031982556,
-0.058852658,
-0.0023463038,
0.0026379663,
-0.040899623,
0.035073806,
-0.032577027,
0.05379965,
0.045804013,
-0.00037804656,
-0.061765566,
0.011629344,
0.01133954,
-0.011138906,
0.036857218,
0.034152374,
-0.04321806,
0.023288412,
-0.06586742,
0.0050492906,
-0.026825516,
0.009779053,
0.019498657,
-0.028519759,
-0.020984836,
0.02661745,
-0.0007217253,
0.0078841755,
0.012989197,
0.01676409,
0.052521538,
0.0067881187,
0.012335279,
0.015887246,
-0.028965613,
0.024432769,
0.041315753,
0.03777865,
-0.031239465,
0.01618448,
-0.03412265,
-0.010418109,
-0.058287907,
-0.0069330214,
-0.006048745,
0.020226885,
-0.018220544,
-0.021638755,
-0.032755367,
0.005829534,
-0.038521737,
-0.0070482,
-0.0069850376,
-0.06895867,
-0.004859803,
0.01459427,
-0.024209842,
0.023704542,
-0.020643014,
0.019781033,
0.01900822,
0.034390163,
-0.04627959,
0.010789653,
0.063846216,
0.026810655,
-0.030882783,
0.039413445,
0.02211433,
-0.0037377381,
-0.02276825,
0.025294753,
0.021906266,
0.019141976,
-0.026929548,
-0.011867133,
0.034182098,
-0.014690871,
0.014036953,
-0.024878623,
0.010455264,
0.05647477,
-0.023882883,
0.02860893,
-0.018473195,
0.016125033,
0.050589506,
0.024090948,
0.015619732,
0.03977013,
0.032487854,
0.00934063,
0.019290593,
-0.007044485,
-0.025250167,
0.013323587,
0.041553542,
0.00637942,
-0.006397997,
0.048479132,
0.00783959,
-0.032012276,
-0.008233427,
-0.04494203,
-0.051927067,
0.07377388,
0.026245907,
0.0034627952,
-0.057277307,
0.0024410477,
0.00566977,
0.05281877,
-0.0037470267,
-0.019528382,
0.048330516,
0.038818974,
0.0038566324,
-0.025131274,
-0.010276922,
0.054156333,
-0.0007166166,
0.020761909,
-0.016392546,
-0.013732286,
-0.013776871,
-0.040394325,
-0.04506092,
-0.02859407,
0.011577328,
0.01660061,
0.060665794,
-0.04211829,
0.019216284,
-0.0014397352,
-0.0069590295,
-0.0018985927,
-0.030124832,
0.018725846,
0.0074940533,
0.031655595,
-0.074903384,
0.028326556,
-0.016139895,
0.07633011,
0.010938272,
0.008865053,
0.014467944,
-0.06515405,
-0.0032881692,
-0.002244129,
-0.025473094,
-0.008783313,
0.01569404,
-0.01342762,
0.008523232,
0.044080045,
-0.021950852,
0.016154757,
-0.043663915,
-0.007297135,
0.0048486562,
-0.006988753,
0.043485574,
0.028252248,
-0.006030168,
0.021326657,
-0.005201624,
0.056088366,
-0.041939948,
-0.0043322095,
0.033884864,
0.00333647,
-0.011324678,
-0.019468935,
-0.006921875,
-0.013093229,
-0.024150396,
0.00655033,
-0.012045474,
0.05085702,
0.020538982,
-0.06354898,
0.017328838,
-0.023838298,
-0.072466046,
0.0044585345,
-0.00008696465,
0.001333845,
0.00596329,
0.020999698,
-0.015649457,
-0.015768351,
-0.01634796,
0.04714157,
0.046398483,
-0.005064152,
-0.012052905,
0.04877637,
-0.024135534,
-0.016541163,
0.06247893,
-0.04119686,
0.022307534,
0.014200432,
-0.0032788806,
0.027910426,
0.031715043,
-0.036857218,
-0.021163177,
0.040067364,
-0.010083719,
-0.025294753,
0.0041427216,
-0.027732085,
-0.014148416,
0.02385316,
0.028014459,
-0.0053576725,
0.0033197505,
-0.02859407,
-0.017804414,
0.014690871,
0.028891305,
-0.044793412,
0.014824628,
0.052729603,
-0.037273347,
0.010276922,
-0.0037637462,
0.014564546,
0.05448329,
-0.000783959,
0.019825617,
-0.0074271755,
-0.011614483,
-0.0106187435,
0.035906065,
0.05014365,
0.033349838,
0.018606951,
-0.033468734,
-0.03575745,
-0.02217378,
-0.020301195,
-0.00908798,
-0.021787371,
-0.003531531,
-0.019572968,
-0.026662037,
-0.02151986,
-0.016199343,
0.057574544,
0.017120773,
0.049578905,
0.04146437,
-0.030377483,
0.019677,
-0.004094421,
-0.02285742,
0.023214104,
-0.037065282,
0.045150094,
0.024432769,
0.015121863,
-0.036678877,
-0.0041167135,
-0.018889325,
0.011948872,
0.011621914,
0.007100216,
-0.029426329,
-0.04547705,
-0.031952832,
0.02334786,
-0.008649557,
0.0006929306,
-0.033765968,
0.038878422,
0.028430589,
-0.031090848,
0.018710984,
-0.04714157,
0.014690871,
0.023882883,
-0.0033884863,
-0.03495491,
-0.03343901,
-0.022604771,
-0.02703358,
0.013449913,
0.06818586,
0.015471115,
-0.004235608,
-0.05680173,
0.028073907,
0.022129193,
-0.014029522,
0.010187752,
0.007557216,
-0.019751308,
0.000944652,
-0.009637865,
0.01625879,
-0.04636876,
0.044585347,
-0.008709004,
-0.03492519,
-0.018547503,
-0.0096898815,
-0.002418755,
-0.003706157,
0.014140986,
0.0145050995,
0.013858612,
0.0042170305,
-0.0067769727,
-0.022485876,
-0.012959474,
-0.027315956,
0.035787173,
0.009266321,
0.014988107,
0.062597826,
0.017953033,
-0.0050827293,
0.058406804,
0.008315167,
-0.04202912,
0.03944317,
0.0126771,
0.034746844,
-0.030912505,
-0.041226584,
-0.0031376937,
-0.015738627,
0.043574743,
-0.01618448,
-0.018369162,
0.01025463,
-0.056980073,
-0.0017871293,
0.002244129,
-0.0403646,
0.019112252,
-0.0057626558,
-0.0001620863,
0.042177737,
-0.027732085,
-0.005398542,
-0.012320417,
-0.06996927,
-0.0007714194,
0.0276875,
0.01526305,
0.06461903,
-0.057455648,
-0.022887144,
0.041731883,
0.0013617107,
0.021831958,
-0.014980677,
-0.03320122,
-0.0073863054,
-0.009296045,
-0.0018521496,
-0.017195081,
-0.03144753,
-0.008865053,
-0.004785494,
-0.032755367,
-0.0007746704,
-0.041939948,
-0.044971753,
0.004859803,
0.0036671446,
-0.034063205,
-0.0023017186,
0.048568305,
0.02085108,
-0.0060673226,
-0.008069947,
-0.046249866,
-0.0041650143,
-0.0049675507,
0.0072116796,
-0.0014685298,
-0.00061815727,
-0.02936688,
-0.018190822,
0.0013431335,
0.016660057,
-0.011837409,
-0.060844135,
0.011636775,
-0.023704542,
-0.030228864,
-0.033765968,
-0.003819478,
-0.0377192,
0.027553743,
0.028549483,
0.03138808,
0.0155157,
-0.02001882,
0.022054885,
-0.036233023,
0.04595263,
0.048508856,
-0.03242841,
-0.019037943,
-0.024804315,
-0.021861682,
0.018339438,
0.0015001111,
0.014794904,
0.050738122,
-0.009600711,
0.02477459,
-0.043396402,
-0.02184682,
-0.042891104,
0.010893686,
0.0388487,
-0.047438808,
0.029084507,
0.04280193,
-0.023228966,
0.035698,
0.032339238,
-0.022500739,
0.027063305,
-0.027315956,
-0.04838996,
0.0021010845,
-0.002914767,
-0.03911621,
-0.015047554,
0.010135735,
0.04535816,
-0.0230209,
0.031536702,
0.06533239,
-0.023080347,
0.044169217,
-0.07395223,
0.044436727,
0.0122015225,
0.012996628,
0.010774792,
-0.010083719,
0.006721241,
-0.005498859,
-0.043307234,
-0.030555824,
-0.048568305,
0.006973891,
0.04027543,
-0.01451253,
0.02744971,
-0.049519457,
-0.04821162,
-0.024566526,
0.045179818,
0.019305455,
0.015471115,
0.0064351517,
-0.0034590797,
0.00784702,
0.059476852,
-0.028891305,
-0.0076166634,
-0.035608828,
0.0110794585,
0.006290249,
-0.03813533,
0.002994649,
0.049014155,
-0.06818586,
-0.050173376,
-0.039978195,
0.005272217,
-0.04027543,
-0.05412661,
0.013947782,
0.030095108,
-0.019141976,
0.010967995,
0.0015465542,
-0.013970075,
0.033052605,
-0.027761808,
-0.009370353,
-0.058822934,
-0.002284999,
0.035400763,
-0.021727925,
-0.014549685,
-0.044823132,
0.0050901603,
-0.04321806,
0.022812836,
0.051570382,
0.0077950046,
0.028549483,
0.018636674,
0.01009115,
0.03962151,
-0.026810655,
0.04877637,
0.03245813,
-0.036976114,
-0.038343396,
-0.021861682,
0.045209542,
-0.030095108,
0.02743485,
-0.00917715,
-0.0056028916,
-0.013487067,
0.054334674,
-0.016035862,
-0.019721584,
0.042177737,
-0.030139694,
0.013226986,
0.013546514,
-0.045685116,
0.012149506,
0.021445552,
-0.019023081,
-0.023035763,
0.0050418596,
0.03278509,
-0.007988208,
-0.04286138,
-0.020405227,
-0.0016923854,
0.0008387618,
-0.024611112,
-0.012038044,
-0.037570585,
-0.00784702,
0.02211433,
-0.024076087,
0.018800154,
-0.020657877,
0.020464674,
-0.030362621,
-0.007334289,
-0.010150597,
-0.0000034650884,
0.040067364,
-0.0046108677,
-0.0346874,
0.03135836,
0.052937668,
-0.0022088324,
-0.01743287,
0.021579307,
-0.017031603,
-0.050946187,
0.032339238,
0.021921128,
-0.026795793,
-0.0037526,
-0.0075163464,
0.008240858,
-0.048330516,
-0.0011072027,
-0.072109364,
-0.0050975913,
-0.027984735,
0.022589909,
-0.0010886255,
0.042504698,
0.021118592,
-0.02059843,
0.011413848,
0.013635685,
0.025710883,
0.005974436,
0.016139895,
-0.00021688912,
-0.011458434,
-0.057693437,
0.024893485,
0.051570382,
-0.0076612486,
0.015381944,
-0.0041724453,
0.010328938,
-0.01826513,
-0.040899623,
0.012803425,
0.059001274,
-0.01526305,
-0.022575047,
-0.016570887,
0.015151586,
-0.0053242333,
-0.0010774792,
-0.05403744,
-0.051956788,
-0.00035227067,
-0.0034052057,
0.019320317,
-0.02902506,
-0.00011146336,
0.0089245,
0.019632414,
0.011555036,
0.0015242615,
0.051748723,
-0.023006039,
0.047854938,
-0.0692559,
-0.013041213,
0.062122248,
0.042237185,
-0.021148317,
-0.041077964,
0.03828395,
0.015916968,
0.04669572,
-0.03896759,
0.012394726,
-0.023511339,
0.0026751207,
0.01217923,
-0.027672637,
0.011138906,
-0.030303173,
0.016689781,
-0.009214304,
-0.0025004947,
0.007215395,
0.032814816,
0.011792824,
-0.0050232825,
0.0031061124,
-0.0069924686,
0.041642714,
-0.030362621,
-0.022277812,
0.012587929,
0.010232337,
-0.027197061,
0.0037451691,
0.0024744866,
0.06568908,
0.033320114,
0.027598329,
0.008003069,
-0.01844347,
-0.017388284,
-0.03010997,
-0.0058815503,
0.035906065,
0.012476466,
-0.020286333,
0.013063506,
-0.022783112,
0.0036559983,
0.0026361085,
-0.003329039,
0.01443079,
0.012870303,
-0.014408497,
-0.010774792,
-0.04345585,
0.002465198,
-0.018502919,
-0.03260675,
-0.004112998,
-0.0072859884,
0.039562065,
0.02368968,
-0.008315167,
-0.009987118,
0.04562567,
0.033409286,
0.037838098,
0.03938372,
0.015723765,
0.034419887,
0.017863862,
0.031239465,
-0.0016784525,
-0.05879321,
-0.056682836,
-0.060487453,
-0.0305261,
0.015292774,
-0.024952931,
-0.018666398,
-0.016808676,
-0.048508856,
0.011020011,
-0.017299114,
-0.0018567939,
-0.04303972,
-0.011287523,
0.024611112,
-0.03180421,
-0.016466854,
0.032547303,
-0.028490037,
0.013754579,
0.02611215,
0.012907458,
-0.0017936314,
0.048152175,
0.022619631,
-0.008961654,
0.025681159,
0.014326758,
-0.047438808,
-0.0021270926,
0.020761909,
-0.0032937424,
-0.04280193,
-0.047022678,
-0.029812735,
-0.017224805,
-0.047825214,
-0.015887246,
-0.03219062,
0.02701872,
-0.012959474,
-0.04202912,
0.0035965513,
0.06628355,
0.007906468,
-0.06907756,
-0.005989298,
0.0135762375,
-0.015233327,
-0.03320122,
-0.039235104,
-0.0050827293,
-0.016823538,
-0.022411566,
-0.014638855,
-0.0046480224,
-0.0046665994,
-0.043128893,
-0.017819276,
-0.01900822,
0.0073528667,
0.025577126,
0.022456152,
0.036024958,
-0.029619532,
0.0067881187,
0.010752499,
0.022054885,
0.0039569493,
0.044169217,
0.06253838,
-0.0038937868,
-0.023154655,
0.039175656,
-0.022545323,
-0.04794411,
0.010031703,
-0.038492016,
-0.01909739,
-0.046487655,
-0.039710682,
-0.019082528,
0.026974134,
0.0051681846,
-0.013739717,
-0.030912505,
-0.005290794,
-0.089170694,
-0.041642714,
-0.032547303,
0.01893391,
-0.019379763,
-0.0073119965,
0.039829575,
-0.06949369,
0.26418304,
0.040245704,
0.029500637,
0.034330714,
0.015872383,
0.03450906,
0.038313672,
-0.03658971,
-0.007832159,
-0.014230156,
-0.0300208,
-0.02810363,
0.015619732,
0.0253542,
-0.027583467,
0.031239465,
-0.019706722,
-0.02895075,
0.010633605,
-0.07502227,
-0.05329435,
0.012171799,
-0.0018419321,
0.07175268,
0.047022678,
0.019632414,
-0.018294854,
-0.0043433555,
0.0027029866,
-0.013851181,
0.008278012,
-0.0281928,
0.03394431,
-0.03144753,
-0.011740807,
0.015121863,
-0.013999798,
-0.021311795,
-0.008686711,
0.004428811,
0.021445552,
0.0089245,
-0.032042,
-0.014378774,
-0.022619631,
0.0014350908,
0.020969974,
0.020538982,
0.002164247,
-0.019067666,
0.02267908,
-0.037986714,
0.04428811,
0.017165357,
-0.052907944,
-0.009162288,
-0.042474974,
-0.008493508,
0.00076909724,
0.014817197,
-0.009645296,
0.006412859,
-0.024908347,
0.0017583346,
-0.042326353,
0.045506775,
0.00876102,
0.036262747,
-0.0021531007,
-0.030585548,
-0.0063013956,
-0.01768552,
-0.014215294,
-0.04904388,
0.0026509704,
0.023110071,
-0.0015976415,
0.016987016,
0.030496376,
-0.03534132,
0.018190822,
-0.020449812,
0.0030243725,
-0.033082325,
0.058079842,
0.03861091,
-0.06664023,
0.037421968,
0.01685326,
0.051065084,
-0.009786484,
0.048568305,
0.015887246,
-0.011911718,
-0.014148416
] | from transformers import MusicgenForConditionalGeneration
model = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small")
inspect the default generation config
model.generation_config
increase the guidance scale to 4.0
model.generation_config.guidance_scale = 4.0
decrease the max length to 256 tokens
model.generation_config.max_length = 256 |
[
-0.003850792,
-0.0013250518,
-0.014043223,
0.012754854,
-0.008911219,
-0.044892505,
-0.026440196,
0.0017929802,
-0.0070573995,
0.054455068,
0.023605784,
-0.007794633,
0.06413215,
-0.048385415,
0.0023942192,
0.013807022,
-0.027671305,
-0.036131594,
-0.082226574,
-0.010299795,
0.010414316,
-0.00962698,
-0.042773854,
-0.013563664,
-0.026411567,
0.0050783213,
-0.0014118378,
0.024507644,
0.06871302,
0.02185933,
0.015388853,
-0.02059959,
0.004233724,
0.012132142,
0.0008598074,
-0.016390918,
0.026497457,
-0.017622026,
-0.036847357,
-0.03435651,
0.015345907,
-0.023906404,
0.059837587,
-0.040798355,
-0.06315871,
-0.06149815,
-0.0013250518,
-0.0076013776,
-0.033927053,
0.012089197,
0.005021061,
-0.021573024,
0.02741363,
-0.0031081904,
0.015145495,
-0.05070448,
0.0037541643,
-0.01716394,
-0.04446305,
0.010958294,
0.019898145,
0.051133938,
0.0041478327,
-0.05748989,
-0.018280525,
0.00068802485,
-0.02359147,
-0.0020381282,
-0.041600008,
-0.016433863,
-0.030205097,
0.0073651765,
-0.020198764,
-0.0041907784,
-0.0005882657,
-0.0018788716,
-0.0003697351,
-0.04243029,
0.028143706,
0.043747287,
0.008080937,
0.03381253,
0.022517828,
-0.002861253,
-0.0031117692,
-0.054254655,
0.05531398,
-0.037448596,
-0.038536552,
-0.007393807,
0.010428632,
0.054426435,
-0.03186566,
0.017693602,
0.0071898154,
0.026683556,
0.009963388,
0.044090852,
0.019053547,
-0.010578942,
0.028744945,
0.06155541,
-0.047526505,
-0.00011608742,
0.010843773,
-0.006416794,
0.040741093,
0.02968975,
-0.024106817,
-0.02669787,
0.028988304,
0.007823263,
0.018208949,
-0.030319618,
0.015231386,
0.01153806,
0.04735472,
0.02908851,
-0.04870035,
-0.042373028,
-0.011280387,
0.014379631,
0.011409224,
-0.04469209,
0.021845013,
-0.008066622,
0.01996972,
0.028329805,
-0.048757613,
-0.0037541643,
0.021343982,
-0.0038042676,
0.023319481,
0.057747565,
0.0076944265,
0.012504337,
-0.022532143,
0.04251618,
0.019182384,
-0.045407854,
0.0022940128,
0.0030920857,
0.0060768076,
0.06373132,
-0.0059157615,
0.010120855,
0.017120993,
-0.035387203,
-0.029174402,
0.02460785,
-0.036704205,
0.0086106,
-0.0074152797,
0.037419964,
0.009190366,
-0.007100345,
-0.045808677,
0.016462494,
-0.024937099,
0.0009117001,
-0.012890848,
0.005049691,
-0.020184448,
0.017765177,
-0.055628914,
0.006491949,
-0.010070751,
0.0069321413,
0.009913284,
-0.03372664,
0.027113011,
0.008703649,
0.021487134,
0.030348249,
0.032123335,
0.010213904,
0.039653137,
-0.002209911,
0.012905164,
0.009820235,
0.0027914664,
0.006706677,
0.04520744,
0.019998351,
-0.008818171,
0.028358435,
-0.008045149,
0.0063523753,
-0.025781697,
0.047641024,
0.014021751,
0.061669935,
-0.029661119,
0.008417345,
-0.04744061,
0.027470892,
-0.028859468,
-0.00093227817,
-0.013885756,
-0.055543024,
-0.010786512,
0.012898006,
-0.02968975,
0.0048600147,
-0.035358574,
0.0196691,
0.0060839653,
0.055543024,
-0.0393382,
0.052365046,
0.0672815,
0.008088095,
-0.056917284,
0.020742742,
0.03561625,
-0.025824642,
-0.013649555,
-0.016075984,
0.02128672,
0.039452724,
-0.033984315,
-0.006717413,
0.043060157,
-0.029188717,
-0.0039366833,
-0.009304888,
0.025309294,
0.030920858,
0.0008638336,
0.0044341367,
0.023920719,
0.03364075,
0.012225191,
0.035730768,
0.011616794,
-0.005833449,
0.028558848,
0.030205097,
0.017464558,
-0.005862079,
-0.032151967,
0.022517828,
0.013713973,
0.042630702,
-0.00828135,
0.032008816,
-0.0036468003,
-0.040225744,
-0.033440337,
-0.026125262,
-0.02054233,
0.07323662,
0.035272684,
0.009906127,
-0.05133435,
-0.026712185,
0.012218033,
0.027213218,
-0.0088754315,
-0.047411982,
0.05748989,
0.033440337,
-0.005794082,
-0.052164633,
-0.0138642825,
0.052508198,
0.013377566,
0.00968424,
-0.043518245,
-0.015374538,
0.014308054,
-0.06802589,
-0.05076174,
0.008288507,
0.004326773,
0.011860153,
0.030749075,
-0.0501605,
0.020098558,
-0.021630285,
-0.014873506,
0.011044186,
-0.031235792,
0.04400496,
-0.0024192708,
0.011223126,
-0.07323662,
0.017994221,
0.01724983,
0.048385415,
0.023634415,
-0.040655203,
0.0144440485,
-0.031436205,
-0.0028290437,
-0.0023476947,
-0.008424502,
-0.0074940133,
0.017493188,
0.039051898,
-0.034700073,
0.054655477,
-0.014021751,
0.053739306,
-0.02430723,
0.029231662,
0.0049315905,
-0.034127466,
0.014415419,
0.051048044,
-0.028916728,
0.009848866,
0.023247905,
0.040283006,
-0.018495254,
0.024149762,
0.038021203,
-0.00792347,
-0.024149762,
-0.0015299383,
-0.031436205,
-0.04205809,
-0.00086651766,
0.015718102,
-0.026640609,
0.07008728,
-0.016075984,
-0.07650049,
0.0016346183,
-0.04188631,
-0.043403722,
0.013599452,
-0.0056401934,
-0.0007922575,
0.014565729,
0.031464837,
-0.037276812,
0.02930324,
-0.013713973,
0.06081102,
-0.015832625,
-0.013177153,
0.0060553346,
0.04669622,
0.014243636,
0.017407298,
0.04472072,
-0.061040062,
-0.00807378,
-0.0053359955,
-0.009211839,
0.011888783,
0.010149485,
-0.016519755,
-0.018051483,
0.03309677,
-0.029890163,
0.0070931874,
0.011387751,
-0.01243992,
0.011022713,
0.039824918,
-0.010865246,
0.013535033,
-0.0065456307,
-0.03873696,
-0.030634554,
0.061727192,
0.037620377,
-0.049187068,
0.000021752412,
0.02807213,
-0.034871858,
0.023505578,
-0.03109264,
-0.052307785,
0.057003174,
0.0053825197,
0.021415558,
-0.02236036,
-0.018466623,
-0.0021866485,
-0.02200248,
0.027327739,
0.02765699,
0.023777567,
-0.016362287,
-0.023362426,
0.019826569,
-0.0020345496,
0.018251896,
-0.011895942,
0.008088095,
-0.045092918,
-0.050131872,
-0.012740538,
0.040368896,
0.06075376,
-0.004176463,
0.041542746,
0.04045479,
0.006191329,
0.047240198,
0.00055739854,
-0.03721955,
0.00388658,
-0.0036825882,
0.031149901,
0.0016480387,
0.05187833,
-0.011258914,
-0.030834967,
-0.042802483,
0.02329085,
0.047755547,
0.0062342747,
-0.0032048181,
-0.00072694436,
-0.025166143,
0.03432788,
-0.01587557,
-0.0024121131,
-0.03166525,
0.021916589,
0.02633999,
-0.026153892,
-0.0002677392,
-0.0541115,
-0.017507505,
0.031636618,
-0.005310944,
-0.026354305,
-0.026297044,
-0.03653242,
-0.026955545,
0.024650795,
0.060410194,
0.012668963,
-0.0054362016,
-0.04515018,
0.00042699592,
0.006899932,
-0.01865272,
0.044176742,
0.019540265,
-0.032552794,
-0.012082038,
-0.0022600142,
-0.006466897,
-0.010521681,
0.027141642,
-0.03661831,
-0.0223031,
-0.03389842,
-0.0050532697,
-0.031579357,
-0.03315403,
-0.025824642,
-0.0011747421,
0.0054469383,
-0.003668273,
-0.012010463,
0.034929115,
-0.051592022,
-0.03859381,
0.030147836,
-0.0041442537,
-0.0011640057,
0.04463483,
0.034900486,
0.0011935307,
0.028215284,
0.0006902616,
-0.04054068,
0.012611702,
0.0023924299,
0.0439477,
-0.027385,
-0.035558987,
0.008395872,
-0.047841437,
0.05892141,
-0.0063845846,
-0.038708333,
-0.024035241,
-0.07529801,
-0.014730353,
-0.0020721268,
-0.01551769,
0.0087966975,
0.0196691,
-0.033354443,
0.06413215,
-0.019483004,
-0.027957609,
-0.05803387,
-0.027728565,
-0.021787753,
0.047411982,
0.04998872,
0.060352933,
-0.012311082,
-0.027427945,
0.046810742,
0.0011300071,
0.033841163,
-0.0142507935,
0.0072434973,
-0.0077660023,
-0.015603581,
-0.000027959399,
0.008023676,
-0.020613905,
-0.0061018593,
0.038021203,
-0.055743434,
-0.017063733,
-0.038107093,
-0.06304419,
0.026268413,
0.02188796,
-0.051048044,
-0.007286443,
0.02359147,
0.020742742,
0.05070448,
0.014164902,
-0.04872898,
-0.009490985,
-0.039509986,
0.061211847,
-0.008424502,
0.037706267,
-0.051735178,
-0.03925231,
-0.0012991055,
0.011831523,
0.00726497,
-0.05144887,
-0.006134068,
-0.013348935,
0.018810188,
-0.044949766,
-0.0053860983,
-0.026755132,
0.013742603,
0.012160772,
0.014479836,
0.015360222,
-0.020427808,
0.030348249,
0.008717964,
0.03192292,
0.018352102,
-0.041514114,
0.00056947704,
-0.008524708,
0.00040887823,
-0.0022600142,
0.015574951,
-0.001898555,
0.038278878,
-0.018681351,
0.013907229,
-0.03447103,
-0.023963666,
-0.014300897,
0.0066422583,
0.055485763,
-0.059665803,
0.010142327,
-0.012010463,
0.012690435,
0.019440059,
0.03507227,
-0.03779216,
0.020714112,
-0.033526227,
-0.0593795,
0.0011765314,
-0.029832901,
-0.05663098,
0.00798073,
0.022489198,
0.03261005,
-0.03928094,
0.016319342,
0.025252033,
0.012711909,
-0.015990091,
-0.057919346,
0.026726501,
-0.0044377157,
-0.0035805923,
-0.021315351,
0.04056931,
-0.015789678,
0.010156643,
-0.041113287,
-0.025996424,
-0.011223126,
0.01752182,
0.05886415,
-0.022388991,
0.010027806,
-0.031550728,
-0.024808262,
-0.0017554029,
0.023462633,
-0.0152170705,
0.009813078,
0.008853959,
0.024894154,
0.013270201,
0.04515018,
-0.034385137,
-0.047154307,
-0.021200828,
0.00066834147,
0.015990091,
-0.023147698,
0.0076944265,
-0.004870751,
-0.049702417,
-0.046896633,
-0.026755132,
0.0009349623,
-0.049358852,
-0.04185768,
0.009154578,
0.025466762,
-0.026411567,
0.03787805,
0.054397807,
0.013520718,
0.0021544395,
-0.00053055753,
-0.015145495,
-0.051391613,
0.03842203,
0.044892505,
-0.04059794,
-0.026039371,
-0.06831219,
-0.021000415,
-0.014007435,
0.0185382,
0.017378667,
0.034843225,
0.016190505,
-0.0042551965,
0.02015582,
0.051620655,
-0.03661831,
0.036102965,
0.022388991,
-0.029489337,
-0.10014922,
-0.0066923616,
0.020198764,
-0.023434002,
0.0039152103,
0.00822409,
0.023863459,
0.04002533,
0.055113565,
-0.008832485,
-0.048757613,
0.022675296,
-0.030978119,
0.014608674,
0.022732556,
-0.031493466,
0.0059622857,
0.020370547,
-0.017779494,
-0.03515816,
0.004899381,
0.009999176,
-0.00075423275,
-0.0029632489,
-0.037706267,
-0.023577154,
-0.031579357,
0.018037166,
-0.0047669658,
-0.03518679,
-0.03561625,
-0.004652444,
-0.011573849,
-0.017707918,
-0.035816662,
0.005994495,
0.0032602896,
-0.0041871993,
0.0023369584,
0.03458555,
-0.0072077094,
-0.027427945,
-0.02837275,
0.06155541,
0.04182905,
0.0255956,
-0.0065993126,
0.012268136,
-0.021143569,
-0.014916451,
0.0055113565,
0.05187833,
0.026483143,
0.009369306,
0.021329666,
0.007644323,
-0.06126911,
-0.00069473515,
-0.04947337,
-0.021716177,
0.005901446,
0.026798077,
-0.0004741914,
0.063101456,
0.015231386,
0.025151828,
0.03865107,
0.019296905,
0.023834828,
0.018709982,
0.013957332,
0.012232348,
-0.031235792,
-0.0505327,
-0.03366938,
0.024078187,
-0.027699934,
0.016548386,
-0.0062986934,
0.010049279,
-0.03928094,
-0.014816244,
0.04575142,
0.03229512,
0.0069178264,
-0.022646666,
0.019397112,
-0.0016435653,
0.028272543,
0.00113627,
-0.04323194,
-0.050360914,
0.013506402,
-0.043002896,
0.02137261,
-0.03112127,
0.040225744,
-0.024564903,
0.016491124,
0.013642397,
-0.0037326915,
0.016634276,
-0.012296767,
0.032552794,
-0.034929115,
-0.032094706,
0.02356284,
0.0070931874,
-0.038278878,
-0.07037358,
0.07260676,
0.08646388,
0.031321682,
-0.021802068,
-0.018366417,
-0.027198903,
-0.010299795,
0.031293053,
-0.037992574,
0.014902135,
-0.040225744,
-0.022789817,
0.008123883,
-0.012776326,
0.019039232,
0.052164633,
0.046810742,
-0.0024532694,
0.02807213,
0.0043482454,
0.0069142473,
-0.011173023,
0.021301035,
0.03532994,
0.036274746,
-0.0053682043,
0.0044377157,
0.010120855,
0.04188631,
0.034986377,
0.015274331,
-0.024249969,
0.011709844,
-0.0078017907,
-0.039051898,
0.017006472,
0.061383627,
0.044377156,
-0.031207163,
0.012690435,
-0.030548662,
0.01886745,
0.0008092568,
-0.008030834,
0.01886745,
0.0085676545,
-0.02197385,
-0.02968975,
-0.027771512,
-0.0038042676,
0.009133105,
-0.049960088,
-0.036160227,
0.020771373,
0.035816662,
0.03833614,
-0.015159809,
-0.02015582,
0.060868282,
0.049129806,
0.0010799038,
0.031407576,
0.0022707505,
0.045350593,
0.04205809,
0.055256717,
-0.0010101171,
-0.032266486,
-0.02858748,
-0.020800004,
-0.024020925,
0.013792707,
-0.029403446,
-0.03916642,
-0.009949072,
0.011144392,
0.025853273,
-0.0029990368,
0.00421583,
-0.05402561,
0.009827393,
0.024922784,
-0.008660703,
-0.033955682,
0.013950174,
-0.011144392,
0.014801929,
0.009820235,
0.04469209,
-0.033297185,
0.049874198,
0.015016657,
-0.010593257,
0.032781836,
0.013506402,
-0.013241571,
-0.0050819004,
0.035301313,
-0.011058501,
-0.02487984,
-0.012396974,
-0.029016934,
-0.008768068,
-0.026841022,
-0.018523885,
-0.01584694,
0.033612117,
-0.02236036,
-0.04182905,
0.032810465,
0.047841437,
0.024865523,
-0.053453002,
-0.012726223,
0.016763113,
-0.052250523,
-0.028988304,
-0.04323194,
0.029203033,
-0.01936848,
-0.030749075,
-0.026153892,
0.00018844634,
-0.029016934,
-0.015532005,
0.0042301454,
-0.017908331,
0.040340267,
0.04205809,
0.0715188,
0.0009823814,
-0.019010602,
0.0033372338,
0.040855616,
0.05219326,
0.03458555,
0.0672815,
0.041685898,
-0.03833614,
-0.022517828,
-0.009304888,
0.021630285,
-0.02977564,
0.0069536143,
-0.01755045,
-0.034929115,
-0.03730544,
-0.038622443,
-0.044119485,
0.037419964,
-0.037935313,
-0.0223031,
-0.036074333,
0.03455692,
-0.05960854,
-0.015345907,
-0.02260372,
0.013141365,
-0.023047492,
-0.022646666,
0.0073186522,
-0.046352655,
0.24324408,
0.05205011,
0.050131872,
0.02487984,
0.031464837,
0.055857956,
0.039567247,
-0.028616108,
-0.003449966,
-0.014429734,
-0.0071146605,
-0.05133435,
-0.023033176,
0.011709844,
-0.06258611,
0.028644739,
-0.026654925,
0.012268136,
-0.021930905,
-0.040998768,
-0.074038275,
0.019611841,
0.015947146,
0.04792733,
-0.021988165,
-0.006735307,
0.017049417,
0.006771095,
0.024650795,
-0.014021751,
-0.023333795,
-0.047154307,
0.03636064,
-0.01614756,
-0.0075799045,
-0.0019397113,
-0.004280248,
-0.023963666,
-0.014100484,
-0.001297316,
0.00078465254,
0.0014959397,
-0.0011613215,
-0.014687408,
-0.054426435,
0.0137497615,
-0.012933794,
0.05485589,
0.04744061,
-0.03240964,
0.02609663,
-0.03172251,
0.02526635,
-0.005851343,
-0.04795596,
-0.009526773,
-0.057375368,
-0.02971838,
-0.0011917414,
0.020370547,
-0.0465817,
-0.00499243,
-0.049129806,
0.052508198,
-0.03252416,
0.026168207,
0.0041693053,
0.018423678,
-0.02027034,
-0.053567525,
0.018466623,
-0.002224226,
-0.01644818,
-0.056974545,
-0.021114938,
0.026440196,
-0.009569719,
0.03833614,
-0.0021472818,
-0.027871717,
0.034012944,
-0.024808262,
0.0012588439,
-0.05136298,
0.042974267,
0.03507227,
-0.022446252,
0.02439312,
0.04108466,
0.042773854,
0.017149623,
0.02299023,
0.029131457,
-0.01892471,
-0.019454373
] |
Note that any arguments passed to the generate method will supersede those in the generation config, so setting
do_sample=False in the call to generate will supersede the setting of model.generation_config.do_sample in the
generation config.
Model Structure
The MusicGen model can be de-composed into three distinct stages:
1. Text encoder: maps the text inputs to a sequence of hidden-state representations. The pre-trained MusicGen models use a frozen text encoder from either T5 or Flan-T5
2. MusicGen decoder: a language model (LM) that auto-regressively generates audio tokens (or codes) conditional on the encoder hidden-state representations
3. Audio encoder/decoder: used to encode an audio prompt to use as prompt tokens, and recover the audio waveform from the audio tokens predicted by the decoder
Thus, the MusicGen model can either be used as a standalone decoder model, corresponding to the class [MusicgenForCausalLM],
or as a composite model that includes the text encoder and audio encoder/decoder, corresponding to the class
[MusicgenForConditionalGeneration]. If only the decoder needs to be loaded from the pre-trained checkpoint, it can be loaded by first
specifying the correct config, or be accessed through the .decoder attribute of the composite model:
thon |
[
0.0025091632,
0.020479413,
-0.002788362,
-0.0064106947,
-0.03208248,
-0.013437802,
-0.0016597825,
-0.004808021,
0.0014966143,
0.03431607,
0.05821839,
-0.031386297,
0.023931326,
-0.05845045,
0.024729038,
0.048326775,
-0.021610713,
-0.0139599405,
-0.07704437,
-0.035766453,
0.0025635527,
-0.0031944695,
-0.08650087,
-0.014431315,
-0.027557284,
-0.0068639396,
0.024961099,
-0.0050328304,
0.07872681,
0.042989362,
-0.013314519,
0.0060843583,
-0.016215287,
0.0037891266,
-0.023322165,
-0.02239392,
0.029022172,
-0.020609949,
-0.042815316,
-0.034983248,
0.015040476,
-0.0075492454,
0.021030558,
-0.041626003,
-0.056651976,
-0.02368476,
-0.012988184,
-0.016867958,
-0.00820917,
-0.020871017,
-0.01971071,
-0.008180162,
0.034867216,
0.00070071645,
0.012074442,
-0.028659577,
-0.00026650794,
0.00038185876,
-0.043337457,
0.0049929447,
0.029689347,
0.035534393,
0.01464162,
-0.040668752,
-0.009840852,
0.0149969645,
-0.020116817,
-0.017955747,
-0.024583999,
-0.001083255,
-0.02065346,
0.033532865,
-0.008346956,
-0.016316812,
0.018506892,
0.03617256,
-0.00033041547,
-0.051053494,
0.0020396016,
0.037100807,
0.011798869,
0.045309976,
0.055259608,
0.0019960902,
-0.025932856,
-0.04475883,
0.053780217,
-0.03382294,
-0.027151177,
-0.004887792,
-0.03260462,
0.054766476,
-0.04414967,
0.0053011514,
0.059871826,
0.023539722,
0.02076949,
0.02349621,
-0.013024443,
-0.013510321,
0.026164915,
0.09775584,
-0.017636662,
0.024293922,
0.0014966143,
0.004187982,
0.0040755775,
0.014967957,
-0.038957298,
-0.013568336,
0.0181588,
-0.03681073,
0.026513008,
-0.017694678,
0.030051943,
0.024511479,
0.01754964,
0.053316094,
-0.04475883,
-0.034925234,
-0.00383989,
0.014097727,
0.00877482,
-0.07060466,
0.0058341674,
-0.029370263,
-0.018695442,
0.032691643,
-0.021175597,
0.0057834038,
0.020319872,
-0.01604124,
0.04113287,
0.055143576,
0.0035389354,
-0.036607675,
-0.024787052,
-0.0054606935,
0.0042387457,
-0.015054979,
0.011704594,
0.0035353096,
-0.01566414,
0.07014054,
0.010421005,
0.007984361,
0.01884048,
-0.06892222,
-0.010616806,
0.020943535,
-0.03753592,
-0.01710002,
-0.035186302,
0.02182827,
-0.000029630879,
-0.0059647015,
-0.035592407,
0.010761845,
0.023104608,
0.011015662,
0.0071105044,
0.0238298,
-0.06729779,
0.032314543,
-0.033996988,
0.009463752,
-0.015939713,
-0.014757651,
0.03715882,
-0.027267208,
-0.020638956,
0.010123676,
0.0029569692,
0.02436644,
0.045455016,
-0.014329788,
0.043598525,
0.013633604,
0.010377493,
0.003047618,
-0.00046366945,
-0.0044925627,
0.039218366,
-0.0021646973,
-0.016563378,
-0.014576353,
-0.009732072,
-0.0060988623,
-0.023032088,
0.024293922,
0.026324458,
0.052909985,
-0.024888579,
-0.0010605928,
-0.06526725,
0.019348115,
-0.03869623,
-0.02481606,
0.0026415107,
-0.052242808,
-0.011291235,
0.00062955706,
-0.05882755,
0.02462751,
-0.02368476,
0.0061822594,
0.019087045,
0.05148861,
-0.047166467,
-0.0025907473,
0.07460772,
0.0155626135,
-0.035012256,
0.018071776,
0.031937443,
-0.016215287,
-0.036752716,
0.010225203,
0.030080952,
0.004546952,
-0.004974815,
0.0014077784,
0.07396955,
-0.03286569,
0.004532448,
0.00059964287,
0.035969507,
0.051807694,
0.003314126,
0.023945829,
-0.0002823715,
0.014358795,
0.026904613,
0.026817588,
0.012458793,
0.021697735,
0.054911517,
0.00960879,
0.03968249,
0.001005297,
-0.018376358,
0.017535135,
0.030429043,
0.044497762,
-0.04191608,
0.016925974,
0.0024946595,
0.0062076407,
-0.05360617,
-0.043192416,
-0.017984753,
0.040958825,
0.03904432,
-0.026846597,
-0.060161904,
-0.006983596,
0.02364125,
0.05670999,
-0.004122715,
-0.019348115,
0.037796993,
0.03283668,
-0.009275202,
-0.024990106,
0.028514538,
0.039624475,
0.0055803503,
0.0031563968,
-0.008100391,
-0.040581726,
-0.00402844,
-0.039218366,
-0.04551303,
-0.0037419891,
-0.01936262,
-0.01898552,
0.016026737,
-0.03794203,
0.04020463,
0.031879425,
0.002445709,
0.0019815862,
-0.024482472,
0.029993929,
0.025149647,
0.01797025,
-0.065035194,
0.0007949914,
0.0021538194,
0.042931348,
0.027296215,
-0.020377887,
0.011813372,
-0.051459603,
0.010754593,
-0.0078103147,
-0.016780935,
-0.021581706,
-0.0100874165,
0.022147354,
-0.012625587,
0.0624245,
-0.010261462,
0.04925502,
-0.021045063,
-0.016722921,
-0.000996232,
-0.024482472,
0.021683231,
0.03507027,
-0.011298487,
0.039508443,
0.011835128,
0.021770254,
-0.031299274,
0.0122919995,
0.057609227,
-0.01373513,
-0.038116075,
-0.020479413,
-0.044439748,
-0.029732859,
-0.0363176,
0.02387331,
-0.007875582,
0.07199703,
-0.013749635,
-0.05276495,
-0.006903825,
-0.043598525,
-0.065383285,
-0.029326752,
0.0032887443,
0.019754222,
0.012299251,
0.031299274,
-0.047891658,
0.019855749,
-0.008999629,
0.040001575,
-0.0020776743,
-0.0025454229,
0.02886263,
0.031937443,
0.0017966625,
0.0017694677,
0.06596344,
-0.054766476,
0.027035147,
0.0011022914,
-0.0040429435,
0.003832638,
0.010798104,
-0.01865193,
-0.023902318,
0.025961863,
-0.011015662,
0.021726742,
0.020740483,
0.00041494562,
-0.0012980931,
0.02928324,
0.013872917,
0.0226985,
-0.00055567815,
-0.013938184,
-0.020058801,
0.0283695,
0.026411481,
-0.055781744,
0.009086652,
0.017303074,
-0.042873334,
0.0072954283,
-0.0016507176,
-0.027209193,
0.050560366,
0.0008729495,
0.0141774975,
-0.015997728,
-0.008542758,
-0.022408424,
0.031560343,
0.04623822,
0.05027029,
0.00014288543,
-0.014967957,
-0.002442083,
-0.023902318,
-0.047456544,
0.0030331144,
-0.007694284,
0.039160352,
-0.036230575,
-0.035911493,
-0.024656517,
0.014257269,
0.02893515,
-0.001923571,
0.02462751,
0.039566457,
-0.020508422,
0.01936262,
0.0018256701,
-0.0130461985,
0.032546602,
-0.0052213804,
0.04278631,
0.015823683,
0.030138968,
-0.018071776,
-0.010899631,
-0.03617256,
0.023046592,
0.01081986,
0.012023678,
-0.029877897,
-0.019014526,
-0.041480966,
0.037100807,
-0.04142295,
-0.00037370034,
-0.055752736,
0.010805356,
0.039160352,
-0.03370691,
0.007600009,
-0.05720312,
0.019739717,
0.024032854,
0.009601538,
-0.031386297,
-0.010174439,
-0.011610319,
-0.034432102,
0.037884016,
0.06109015,
-0.008158406,
0.009253446,
-0.039972566,
0.012531312,
0.011668335,
-0.0069437106,
0.0065702368,
0.013785894,
-0.013445054,
-0.017056508,
-0.0014875495,
0.009347721,
-0.015054979,
0.04017562,
-0.025845831,
-0.021886285,
-0.016940478,
-0.015707653,
0.0038688977,
0.008158406,
-0.01773819,
0.016171774,
-0.0013008126,
-0.002632446,
-0.01498246,
-0.00109232,
-0.059465718,
-0.05644892,
0.018521396,
0.043946616,
-0.0051053497,
0.051836703,
0.03472218,
0.005225006,
0.05172067,
0.022480942,
-0.04925502,
0.023032088,
-0.012328259,
0.025062624,
-0.007255543,
-0.051140517,
0.004971189,
-0.049951203,
0.029935913,
-0.00226985,
-0.015388568,
-0.0021139337,
-0.08974972,
-0.015968721,
-0.014046963,
-0.022350408,
0.02848553,
0.02338018,
-0.011733602,
0.009427492,
0.005569472,
0.0060626026,
-0.04142295,
-0.0465283,
-0.0049240515,
0.052561894,
0.0032579238,
0.073331386,
-0.04188707,
-0.024192395,
0.034171034,
0.016142767,
0.033445843,
-0.017636662,
-0.041103866,
0.015156507,
-0.029413775,
-0.00957253,
-0.018535899,
-0.04629624,
-0.01293742,
-0.009753828,
-0.042148143,
-0.005293899,
-0.04852983,
-0.02065346,
0.035969507,
0.008064131,
-0.06254053,
-0.024671022,
0.03283668,
0.007001726,
0.012843145,
0.035766453,
-0.043743562,
-0.009695813,
-0.010761845,
0.04589013,
-0.023786288,
0.015591621,
-0.033300802,
-0.02765881,
-0.00013891954,
0.03794203,
0.021726742,
-0.035157293,
0.00749123,
-0.004811647,
-0.0077160397,
-0.04852983,
-0.022669492,
-0.048094712,
0.021233613,
0.0079771085,
0.026353465,
0.00029596887,
-0.004097333,
0.0036984778,
0.005573098,
0.050357312,
0.031038204,
-0.02425041,
-0.015214521,
-0.015069484,
-0.014757651,
0.014003452,
0.033909965,
0.013532077,
0.016998494,
-0.0090794,
0.04301837,
-0.06254053,
-0.0013687994,
-0.024975602,
0.02784736,
0.05125655,
-0.049167998,
-0.0030186104,
0.0074984822,
0.012190472,
0.02001529,
0.039537452,
-0.029268736,
0.022756515,
-0.04589013,
-0.077160396,
0.020711474,
-0.025541252,
-0.038116075,
-0.003488172,
0.032749657,
0.04951609,
-0.011820625,
-0.0036168937,
0.038986307,
-0.007172146,
0.0031672746,
-0.09705966,
0.035737447,
0.0073788255,
0.019000022,
-0.021117583,
0.02208934,
0.015417576,
-0.019087045,
-0.03321378,
-0.01747712,
-0.014685132,
0.005674625,
0.05595579,
-0.027383238,
0.033648893,
-0.0042061117,
-0.044323716,
-0.018013762,
0.009260698,
0.045600053,
-0.0056456174,
0.0008611651,
0.034751184,
0.019014526,
0.048558835,
-0.033387825,
-0.03248859,
-0.03393897,
0.027397742,
-0.01365536,
-0.024134379,
0.00892711,
0.057290144,
-0.0450199,
-0.05659396,
-0.03298172,
0.015011468,
-0.06271458,
-0.046789367,
0.011545052,
0.0041626003,
-0.018405365,
0.012821389,
0.025700795,
-0.019478649,
-0.00052576396,
0.021465674,
0.002699526,
-0.059233658,
-0.0023079226,
0.044323716,
-0.02277102,
-0.027441254,
-0.04232219,
0.008905354,
-0.03617256,
0.012161464,
0.060916103,
0.006533977,
0.036868747,
0.026991636,
0.01933361,
0.055897776,
0.0012527687,
0.06364282,
0.0078103147,
-0.049051967,
-0.06422298,
-0.0048624105,
0.012531312,
-0.021407658,
0.019609183,
-0.015243529,
0.0101816915,
0.025773313,
0.0469054,
-0.0021175598,
-0.042235166,
0.031125227,
-0.056158844,
-0.016998494,
0.018332846,
-0.001349763,
0.032720648,
0.04153898,
-0.01717254,
-0.0242069,
0.033735916,
0.011218715,
-0.0108416155,
-0.0062366487,
-0.04377257,
0.0020776743,
-0.04327944,
-0.051836703,
0.0049385554,
-0.060626026,
-0.007926345,
0.01573666,
-0.023351172,
0.0014712326,
-0.0283695,
0.012719862,
-0.028543545,
0.020435901,
-0.0013325397,
0.03446111,
0.0054208077,
-0.01312597,
-0.036665693,
0.053577162,
0.027600795,
-0.00469199,
-0.016809944,
0.031560343,
-0.0026977132,
-0.041626003,
0.030661104,
0.04774662,
0.009180927,
0.0027647933,
0.0026034382,
0.013488566,
-0.057638235,
-0.0016017671,
-0.036346607,
-0.010413753,
-0.02966034,
0.03643363,
0.0084194755,
0.06573138,
0.0006241181,
-0.0020178459,
0.0135175735,
0.026077893,
0.015678644,
-0.002694087,
0.015794676,
0.00024089962,
-0.0119439075,
-0.036375616,
-0.009804592,
0.051082503,
-0.04188707,
0.034867216,
-0.021407658,
0.015243529,
-0.034432102,
-0.019014526,
0.051198535,
0.049951203,
0.030371029,
-0.03544737,
0.0015999542,
-0.013749635,
-0.00949276,
-0.0014603548,
-0.039131343,
-0.03147332,
0.029341256,
-0.051314563,
-0.008201918,
-0.008825582,
0.017607654,
0.005841419,
0.037129816,
-0.029036675,
0.00994963,
0.031067213,
-0.015751164,
0.022901554,
-0.039740507,
-0.04194509,
0.016650401,
0.032140497,
-0.029268736,
-0.018376358,
0.059291672,
0.028456522,
0.041974094,
-0.010413753,
-0.014104978,
-0.018622922,
0.020624451,
0.031241259,
-0.02001529,
0.021074072,
-0.040494703,
0.010225203,
-0.019725215,
0.012400778,
-0.0109068835,
0.046586316,
0.015591621,
0.008499247,
0.024874074,
0.033851948,
0.022611476,
-0.004271379,
-0.020145826,
0.013640855,
0.0046774866,
-0.0021646973,
0.010109172,
0.00026265538,
0.053809226,
0.04264127,
0.012821389,
-0.020972544,
0.03359088,
-0.02239392,
-0.026687054,
0.0004926771,
0.029906906,
0.019058038,
0.0013443241,
-0.011798869,
-0.02636797,
-0.0026668925,
-0.012893909,
-0.016186278,
-0.0030331144,
0.0065774885,
-0.04623822,
-0.029544309,
-0.013561085,
0.020522924,
0.0005112601,
-0.008753064,
0.0078828335,
0.0065013436,
0.062482517,
0.031908434,
-0.0013370722,
-0.017114524,
0.047311507,
0.008346956,
-0.00592119,
0.030864159,
-0.010950395,
0.03843516,
0.020435901,
0.031183243,
-0.0023115485,
-0.029790875,
-0.031125227,
-0.05096647,
-0.045193948,
-0.007592757,
0.012437037,
-0.03507027,
-0.0022227126,
-0.029515302,
0.025468733,
-0.0029098317,
-0.0009844478,
-0.06045198,
-0.0054425634,
0.014895437,
-0.02076949,
-0.0469054,
0.014221009,
-0.0063418015,
0.027919881,
-0.0005321094,
0.05668098,
0.016200783,
0.06851611,
0.015939713,
-0.015867194,
0.0046339747,
0.029616829,
-0.023554226,
-0.013009939,
0.020987047,
-0.045193948,
-0.029254233,
-0.07060466,
-0.06486115,
-0.014764903,
-0.026730565,
-0.015910706,
-0.02126262,
0.02095804,
-0.017056508,
-0.05818938,
0.017868724,
0.09862607,
0.023800792,
-0.08557262,
-0.029384768,
0.008122147,
-0.044932876,
-0.0044091656,
-0.069212295,
-0.00083170424,
-0.027165681,
-0.015722156,
0.0030004806,
-0.019246588,
-0.00216651,
-0.01346681,
0.00075012015,
0.009797339,
0.012335511,
0.033793934,
0.016563378,
0.004481685,
-0.018115288,
-0.004347524,
0.02709316,
0.044990893,
0.01010192,
0.09050392,
0.056419913,
-0.01940613,
-0.0035643172,
0.059987858,
-0.0075129857,
-0.037709966,
-0.0066898935,
-0.01823132,
-0.003916035,
-0.035592407,
-0.048674867,
-0.00026356184,
0.03295271,
-0.015823683,
0.005950198,
-0.029442783,
0.0101816915,
-0.065847404,
-0.02810843,
-0.037709966,
0.015606125,
-0.017636662,
-0.025860336,
0.007349818,
-0.04664433,
0.2515545,
0.048268758,
0.056622967,
0.008789323,
0.048819903,
0.053780217,
0.018912999,
-0.028819118,
0.0146198645,
-0.013713375,
-0.02001529,
-0.04525196,
0.008818331,
0.019580176,
-0.049458075,
0.040088598,
-0.03968249,
0.00767978,
-0.010080164,
-0.061612286,
-0.06480313,
0.035128284,
0.0014984274,
0.048181735,
0.040001575,
0.020566436,
-0.014206505,
-0.014851926,
0.008078636,
-0.022538958,
0.007143138,
-0.015330552,
0.034606148,
-0.013053451,
-0.013887421,
0.0045977156,
-0.028616065,
-0.023858806,
-0.03211149,
0.01210345,
-0.0019870251,
-0.014409559,
0.008970621,
-0.016244294,
-0.022945065,
0.01535956,
-0.02599087,
0.033880956,
0.03657867,
-0.0067406567,
0.023655754,
-0.041219898,
0.050821435,
-0.029080186,
-0.0126038315,
0.012146961,
-0.07402757,
-0.02561377,
0.0020522925,
0.012096197,
-0.021654224,
0.01797025,
-0.017404601,
0.005156113,
-0.020900024,
-0.0044853105,
-0.0061786333,
0.059523735,
-0.00036282247,
-0.017491624,
0.005040082,
-0.007349818,
-0.02549774,
-0.051111512,
0.017999258,
0.036665693,
-0.011552304,
0.016708417,
0.004626723,
-0.035012256,
0.02326415,
-0.032314543,
0.03408401,
-0.06080007,
0.04005959,
0.034809202,
-0.019971779,
0.028500034,
0.0038979053,
0.06178633,
0.015098491,
0.041829057,
0.0117553575,
0.0108126085,
-0.019841244
] | from transformers import AutoConfig, MusicgenForCausalLM, MusicgenForConditionalGeneration
Option 1: get decoder config and pass to .from_pretrained
decoder_config = AutoConfig.from_pretrained("facebook/musicgen-small").decoder
decoder = MusicgenForCausalLM.from_pretrained("facebook/musicgen-small", **decoder_config)
Option 2: load the entire composite model, but only return the decoder
decoder = MusicgenForConditionalGeneration.from_pretrained("facebook/musicgen-small").decoder |
[
0.019044938,
-0.010296953,
-0.035670534,
-0.04310558,
0.009669989,
-0.018454853,
-0.017348448,
-0.01863188,
0.009131539,
0.056441464,
0.028412508,
-0.035080448,
0.009102034,
-0.044787318,
0.023426306,
-0.002013659,
-0.0047649224,
-0.019856302,
-0.0326021,
-0.023396801,
0.036113095,
0.020933203,
-0.08745034,
-0.041718885,
-0.03133342,
0.056736507,
0.05110121,
-0.020520145,
0.08355579,
0.014516048,
-0.017451713,
-0.050068565,
0.022614941,
-0.023736099,
-0.028943583,
-0.038591444,
0.024001636,
-0.013417018,
-0.009537221,
-0.04210244,
0.052399393,
0.0058676405,
0.015578198,
-0.067446515,
-0.02494577,
-0.019118698,
0.029046848,
-0.048858892,
-0.027807673,
-0.031067884,
-0.048386827,
0.010695259,
-0.049862035,
-0.008298046,
-0.011130446,
0.0009372182,
0.021287253,
0.02289523,
0.010083048,
0.012502389,
0.027689656,
0.029474659,
-0.008954514,
-0.07128206,
0.00907253,
0.014191503,
-0.0044993847,
-0.010805899,
0.018985929,
-0.0076932106,
-0.042633515,
-0.005428766,
-0.0403912,
-0.02736511,
-0.039889626,
-0.003271274,
0.017805763,
0.038325906,
0.0020689794,
0.056028403,
-0.02168556,
0.0022865727,
-0.04472831,
0.0012465508,
-0.027542137,
-0.032808628,
0.032336563,
0.0008897349,
-0.0482098,
-0.02643573,
-0.021715064,
0.019694028,
-0.007575194,
0.03770632,
0.00006701824,
0.032218546,
-0.020018574,
0.02111023,
-0.01445704,
-0.0035368116,
0.0007362211,
0.07446851,
-0.030743338,
0.050983194,
-0.047000133,
-0.017127166,
0.019310474,
-0.0241049,
-0.02537358,
-0.04422674,
0.007044119,
-0.0032970903,
0.001619041,
0.044197235,
0.011698401,
0.021906842,
-0.01622729,
0.04514137,
-0.04402021,
-0.002688567,
0.0033966668,
-0.025329323,
-0.005753312,
0.016050264,
0.03345772,
-0.04437426,
0.025462093,
0.008629967,
-0.027822426,
-0.03180549,
0.042840045,
-0.0033837587,
-0.020357871,
0.05039311,
-0.02827974,
0.003997814,
-0.026701268,
0.009161043,
0.0039314297,
0.006597868,
-0.012155715,
-0.019797293,
0.026347218,
0.087273315,
0.0108280275,
-0.0116910245,
-0.030949866,
-0.012207347,
-0.02488676,
-0.020711923,
-0.006151618,
0.03360524,
0.012030322,
0.020800434,
-0.034106813,
-0.022364154,
-0.017569728,
0.02602267,
-0.009677365,
0.04508236,
-0.013837452,
0.0034778032,
-0.036614668,
0.06632536,
-0.045023352,
0.068272635,
-0.036319625,
0.017894275,
-0.02524081,
-0.02332304,
0.0052738693,
0.011816417,
0.005841824,
-0.007040431,
0.018676136,
0.032484084,
0.06243081,
0.0019343666,
-0.014722577,
-0.01814506,
-0.017702498,
-0.03699822,
0.002725447,
0.0403912,
-0.00918317,
-0.014589809,
0.0046026492,
0.005959841,
0.011248462,
0.022998495,
0.015401173,
0.025698125,
-0.04118781,
0.027409367,
-0.051750302,
0.03649665,
-0.028383005,
-0.02714383,
0.037971858,
-0.02077093,
-0.026952052,
0.024488455,
0.010960797,
-0.0005776362,
-0.06083758,
-0.012376997,
0.04059773,
0.025757134,
-0.06254882,
-0.0027955193,
-0.0051374123,
0.0021408957,
-0.010414969,
0.015991256,
0.048799884,
-0.0026664387,
-0.029164866,
0.007453489,
-0.00052277686,
0.0050120195,
0.044610295,
0.03245458,
0.032484084,
-0.021346262,
-0.012664662,
0.007438737,
0.011462367,
0.06673842,
0.033339705,
0.021700311,
0.05372708,
0.008275918,
0.010149432,
0.02863379,
0.004890315,
0.019457996,
-0.018336836,
0.022806717,
0.010680507,
0.008526703,
-0.0021261438,
0.037735824,
0.04853435,
0.049271952,
0.00974375,
-0.013203112,
-0.03487392,
0.035995077,
-0.009566725,
0.0038613572,
-0.0127384225,
0.09476737,
0.010813275,
-0.0064245313,
-0.025565358,
-0.00015443585,
0.00036995453,
0.012140963,
0.005838136,
-0.03806037,
-0.005450894,
0.0055394066,
-0.0052775573,
-0.004584209,
0.04558393,
0.03537549,
0.014479168,
-0.011410735,
-0.024576968,
-0.080900416,
-0.046616577,
-0.030300776,
-0.080959424,
0.0018006759,
-0.03699822,
-0.047324676,
0.019428492,
-0.011344351,
0.037558798,
-0.008770112,
-0.011108317,
-0.00073207205,
-0.038325906,
0.0029780765,
0.055113778,
0.004016254,
-0.040509216,
0.06485015,
-0.014442287,
0.037529293,
-0.020741427,
-0.022039609,
-0.0026037423,
-0.013394889,
-0.015696215,
-0.018528614,
-0.02736511,
-0.022614941,
-0.03593607,
0.0078038513,
-0.002550266,
-0.03310367,
-0.038207892,
0.019590763,
-0.047914762,
0.022290396,
-0.006671629,
-0.00761945,
0.049921043,
0.051425755,
-0.027261846,
0.023072256,
-0.020756178,
0.051366746,
-0.007457177,
0.09559349,
0.009987159,
0.0038281651,
-0.010805899,
-0.039181527,
-0.0326021,
0.014516048,
-0.012605653,
-0.022954239,
-0.012140963,
0.03522797,
0.020874195,
-0.061722707,
0.0046063373,
-0.044079218,
-0.06768255,
0.016905885,
-0.036260616,
0.04953749,
0.04357765,
0.032808628,
-0.014811089,
0.020446384,
0.014309519,
0.012347492,
0.020328369,
-0.059155848,
0.04195492,
0.05068815,
0.014221006,
-0.0035386556,
0.022260891,
-0.023426306,
0.029563172,
0.008054636,
-0.0087332325,
0.012074579,
-0.00033837586,
-0.02807321,
0.009751126,
0.00006102521,
-0.052900963,
-0.012281108,
-0.005299685,
0.010363338,
0.04260401,
0.043046575,
-0.03446086,
0.021006964,
-0.0432531,
-0.02707007,
0.020785682,
0.014294767,
0.048563853,
-0.019738285,
0.0146414405,
-0.0014954923,
-0.019044938,
0.027158583,
0.011034557,
-0.043430127,
0.027379863,
0.00046492106,
0.031864494,
-0.024208166,
0.015342165,
0.030890858,
-0.009175794,
0.015039747,
0.01970878,
0.015135636,
-0.037794832,
0.007390793,
-0.04428575,
-0.009758502,
0.0052812453,
0.0048091784,
-0.039447065,
0.022201883,
-0.013394889,
-0.027468376,
0.0014835062,
0.027630648,
-0.00036695803,
0.0022847287,
0.038532436,
-0.018779399,
0.022069113,
0.02041688,
-0.002686723,
-0.012199971,
-0.027792921,
0.010016663,
-0.0001463683,
-0.030108998,
-0.0046432177,
0.026406225,
-0.012192595,
0.033251192,
0.008910257,
0.034962434,
-0.014752082,
-0.03587706,
0.0035515635,
0.028486269,
-0.024193414,
0.012199971,
-0.039152022,
0.010193688,
0.039565083,
-0.056441464,
0.0007348381,
-0.048593357,
0.016345305,
0.032130033,
-0.031864494,
-0.014375904,
0.035995077,
0.0039830618,
-0.017200926,
0.048091784,
0.033192184,
-0.036260616,
0.030035237,
-0.037588302,
-0.009050402,
0.014589809,
0.002900628,
-0.0009837794,
0.057621628,
0.0024894138,
0.0012078267,
0.008076765,
0.007907116,
0.008357055,
0.02274771,
-0.030654825,
0.050127573,
-0.04018467,
-0.0017047874,
-0.018602375,
0.0153126605,
-0.03224805,
0.015725719,
0.016522331,
-0.031126892,
0.008666848,
0.015828984,
-0.01928097,
-0.07712388,
0.017466465,
0.0046210894,
0.034696896,
0.037971858,
-0.02360333,
-0.00073852605,
0.035523012,
0.031362925,
-0.06343395,
0.0031661654,
-0.027335607,
-0.008003004,
0.015356917,
-0.033634745,
0.02240841,
-0.0180713,
0.04286955,
-0.006715885,
-0.025358828,
0.0049788277,
-0.012775303,
-0.017510721,
0.0152389,
-0.006553612,
-0.0137931965,
0.019930063,
0.001081512,
0.022555932,
-0.0153126605,
0.00108059,
-0.04307608,
-0.03183499,
-0.013173609,
0.018351588,
-0.013535035,
0.047973767,
-0.031569455,
-0.04174839,
-0.00024617536,
-0.0056721754,
-0.008106269,
-0.030625321,
-0.003433547,
-0.035493508,
-0.026406225,
-0.029651683,
-0.0030260207,
-0.00010067143,
-0.016832124,
0.0073428485,
0.017097663,
-0.017304191,
-0.029990982,
0.010584618,
0.053402536,
-0.011816417,
-0.07216718,
-0.017348448,
0.009788006,
-0.014648817,
0.030536808,
0.01928097,
-0.0064614117,
-0.046557568,
-0.016787868,
0.0008537767,
-0.056382455,
0.010119928,
-0.004554705,
0.015150388,
-0.0055394066,
0.035286978,
0.009507717,
-0.029931974,
-0.00024594486,
-0.06490916,
-0.036703177,
-0.065617256,
-0.01771725,
-0.0024304055,
-0.01566671,
-0.024075396,
0.03806037,
0.019797293,
-0.03882748,
0.0064614117,
0.0030297088,
0.02494577,
0.049271952,
-0.028781312,
-0.030536808,
0.015548694,
-0.0034187948,
0.010503482,
0.0015701747,
-0.015622454,
0.066089325,
-0.034195326,
-0.009338068,
-0.009094658,
-0.011809041,
-0.00043149837,
-0.02559486,
0.027409367,
-0.0005559691,
0.01559295,
-0.011676272,
0.008902881,
0.021965848,
-0.0033856027,
-0.031156396,
-0.016256794,
-0.04337112,
-0.04782625,
0.015843736,
-0.023205023,
0.052192863,
0.0016642192,
0.0053881975,
0.019856302,
-0.030241767,
0.035257474,
0.03785384,
-0.0005785582,
0.013601419,
0.006741701,
-0.019871054,
0.015017618,
-0.009640485,
-0.0015563446,
-0.018558118,
-0.018174564,
-0.0072063915,
-0.023765603,
-0.05676601,
0.005823384,
0.019502252,
0.04281054,
-0.041512355,
0.016979646,
-0.01870564,
-0.0347264,
-0.026273457,
0.043607153,
0.022349404,
-0.001631949,
0.04983253,
-0.007066247,
0.01913345,
0.073760405,
0.015297908,
-0.04201393,
-0.05372708,
0.07446851,
-0.01928097,
-0.018189317,
0.0279847,
0.030566312,
-0.006155306,
-0.03841442,
0.010931293,
0.00034805693,
0.012222099,
-0.022083865,
-0.0022755086,
-0.02367709,
-0.021006964,
0.0002358028,
0.0076932106,
0.0051779808,
-0.02155279,
0.04266302,
0.0095888525,
-0.0630799,
0.031480942,
0.048947405,
-0.012487637,
-0.013837452,
-0.006343395,
0.0033229063,
-0.013763692,
-0.043489136,
0.023411553,
0.0020597593,
-0.0033690066,
0.020387376,
0.024783496,
0.062902875,
-0.02707007,
-0.03451987,
-0.0052001085,
0.021154484,
-0.06479114,
-0.0015535785,
0.04124682,
0.025816143,
0.04331211,
-0.02749788,
0.008239037,
0.011226334,
0.008688976,
-0.04998005,
-0.051691294,
0.029105857,
-0.042633515,
0.013439146,
-0.025742382,
-0.020638162,
0.0004978827,
-0.007401857,
0.010289577,
-0.039152022,
0.022142874,
0.026981557,
-0.041482855,
-0.018543366,
-0.023146017,
-0.03381177,
-0.034608383,
-0.020298865,
0.01801229,
-0.053255014,
0.0088217445,
0.029607428,
-0.03218904,
-0.010813275,
0.031923503,
0.008666848,
-0.0048165545,
0.016286299,
-0.04620352,
-0.0071621356,
-0.03336921,
0.038591444,
0.03153995,
0.013542411,
0.037765328,
-0.0025152299,
0.0069998624,
-0.014324271,
0.028663294,
-0.0100978,
0.000274066,
0.016492827,
-0.011226334,
0.006704821,
0.016360058,
0.0049382593,
-0.087273315,
-0.050068565,
0.025712878,
-0.00042273934,
0.0138227,
0.020077582,
0.04983253,
0.053579558,
0.015976503,
0.055379312,
-0.009006145,
0.025580108,
0.0046284655,
0.010260073,
-0.006671629,
0.0076563302,
-0.0064614117,
-0.042958062,
0.0014715202,
0.06443709,
-0.03921103,
0.012753175,
0.023972131,
-0.03870946,
-0.0131219765,
0.015283156,
0.046764098,
0.04614451,
0.032484084,
-0.021479031,
-0.01602076,
0.011683648,
-0.04735418,
-0.024444198,
-0.029312385,
-0.039860126,
0.019959565,
-0.062135767,
0.0030131126,
-0.021390518,
-0.008357055,
0.011654144,
0.013195736,
0.045554426,
0.056647994,
0.038384914,
-0.021921594,
-0.015607703,
-0.071046025,
0.014280015,
0.0002169017,
-0.0025871464,
-0.044256244,
-0.05980494,
0.016507579,
0.037735824,
-0.03714574,
-0.029607428,
-0.077772975,
0.020667667,
0.017599232,
0.042249963,
-0.026878292,
0.019118698,
-0.075117595,
0.018027043,
-0.037765328,
-0.027822426,
0.010407593,
0.02870755,
0.004857123,
-0.0020376313,
-0.010532986,
0.0013258433,
0.053255014,
-0.040656738,
0.052340385,
-0.010378089,
0.033044662,
-0.0016854253,
-0.0073354724,
0.004739106,
0.015607703,
0.021744568,
0.010894412,
0.010761644,
0.034401853,
0.020859443,
-0.034903426,
0.026966805,
0.05576287,
-0.012399124,
-0.00008712948,
0.02920912,
-0.0082537895,
0.037883345,
-0.0022294084,
0.009367571,
0.025344076,
0.0030518367,
-0.03068433,
0.04239748,
-0.038532436,
0.028058458,
-0.042574506,
-0.046675585,
-0.030448295,
0.010562491,
0.0361426,
-0.007379729,
0.05059964,
-0.007988252,
0.043990705,
0.020210352,
0.02580139,
0.009633109,
0.007818603,
-0.022659197,
0.018484358,
0.0002899706,
0.0029762324,
-0.02445895,
0.023352545,
-0.017510721,
-0.033192184,
0.06243081,
-0.0063028266,
-0.008725856,
0.03891599,
-0.04481682,
-0.045878973,
-0.088630505,
0.0489179,
-0.01984155,
0.017318944,
0.02274771,
-0.059627913,
-0.036585163,
0.013542411,
-0.047944263,
0.020962708,
0.038797975,
0.027438872,
0.0052849334,
0.085030995,
0.01013468,
0.03932905,
0.0064614117,
-0.012421252,
-0.029681187,
-0.0044403765,
-0.022732958,
-0.026657011,
0.007128943,
-0.04493484,
-0.073347345,
0.037942354,
0.031126892,
-0.010783771,
-0.027129078,
0.016006008,
-0.008519327,
-0.03159896,
-0.018513862,
0.049950548,
0.00089711096,
0.049921043,
0.016964894,
-0.008298046,
-0.04357765,
-0.036762185,
-0.026170192,
0.04012566,
-0.0004202038,
-0.017171422,
-0.011676272,
-0.027660152,
-0.011558256,
-0.011130446,
0.007597322,
-0.015740471,
-0.00049557775,
0.013239993,
0.022290396,
0.01017156,
-0.044787318,
-0.009507717,
0.045052856,
0.01885316,
0.018027043,
0.07476355,
0.04012566,
-0.017894275,
-0.012376997,
0.029253377,
0.012701542,
-0.012037698,
0.0016660632,
0.0151208835,
0.030713834,
-0.037175246,
-0.036172103,
-0.015474933,
0.0137931965,
-0.028058458,
-0.03932905,
-0.030448295,
0.0046948497,
-0.052841954,
0.029858213,
-0.035109952,
0.019723533,
-0.008239037,
-0.023854116,
0.008688976,
-0.038679957,
0.2594006,
0.0793662,
0.03183499,
0.0017435116,
0.024857257,
0.040568225,
0.021095477,
-0.019871054,
-0.004724354,
0.0017886899,
0.019590763,
0.0011285342,
-0.008320174,
-0.02133151,
0.0058897687,
0.018720392,
-0.029430402,
0.023382049,
0.0012105927,
-0.055261295,
-0.048829388,
0.015740471,
-0.018882664,
-0.0022496923,
0.050776664,
0.03204152,
0.0069998624,
-0.00931594,
-0.029179618,
-0.03451987,
-0.0062622586,
-0.012244227,
0.059421383,
-0.00691135,
0.01779101,
0.04118781,
0.020461136,
-0.058093697,
0.00918317,
0.036968715,
0.016197786,
-0.04458079,
0.010024039,
-0.028087962,
-0.0652042,
0.052340385,
0.0047722985,
-0.04593798,
0.04868187,
-0.05927386,
0.017599232,
-0.023662338,
0.04083376,
-0.004200655,
-0.025181802,
0.019384235,
-0.065145195,
-0.018543366,
0.013195736,
0.0096847415,
0.036201607,
0.028368253,
-0.01935473,
0.0021187677,
-0.014973363,
0.03749979,
0.0003494399,
0.027084822,
-0.03974211,
-0.01399235,
0.024813,
-0.00758257,
0.0086816,
0.005985657,
0.03608359,
0.030035237,
-0.011005052,
0.055526834,
0.026538994,
-0.044610295,
0.002692255,
-0.02218713,
-0.008851249,
-0.031156396,
0.028825566,
0.043135084,
-0.025624365,
0.025270315,
-0.030020485,
0.017082911,
0.029400898,
0.04174839,
0.044049714,
-0.014294767,
0.002895096
] |
Swin Transformer
Overview
The Swin Transformer was proposed in Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
by Ze Liu, Yutong Lin, Yue Cao, Han Hu, Yixuan Wei, Zheng Zhang, Stephen Lin, Baining Guo.
The abstract from the paper is the following:
This paper presents a new vision Transformer, called Swin Transformer, that capably serves as a general-purpose backbone
for computer vision. Challenges in adapting Transformer from language to vision arise from differences between the two domains,
such as large variations in the scale of visual entities and the high resolution of pixels in images compared to words in text.
To address these differences, we propose a hierarchical Transformer whose representation is computed with \bold{S}hifted
\bold{win}dows. The shifted windowing scheme brings greater efficiency by limiting self-attention computation to non-overlapping
local windows while also allowing for cross-window connection. This hierarchical architecture has the flexibility to model at
various scales and has linear computational complexity with respect to image size. These qualities of Swin Transformer make it
compatible with a broad range of vision tasks, including image classification (87.3 top-1 accuracy on ImageNet-1K) and dense
prediction tasks such as object detection (58.7 box AP and 51.1 mask AP on COCO test-dev) and semantic segmentation
(53.5 mIoU on ADE20K val). Its performance surpasses the previous state-of-the-art by a large margin of +2.7 box AP and
+2.6 mask AP on COCO, and +3.2 mIoU on ADE20K, demonstrating the potential of Transformer-based models as vision backbones.
The hierarchical design and the shifted window approach also prove beneficial for all-MLP architectures. |
[
-0.0059803356,
0.0034044895,
-0.044626847,
0.044062663,
-0.027997563,
-0.02733465,
-0.025740832,
-0.011502273,
0.0028508853,
0.05063539,
0.034584396,
-0.0148521075,
0.030973626,
-0.05165092,
-0.009372484,
0.00088285765,
-0.012278024,
-0.050832856,
-0.0753748,
-0.021678718,
0.014696958,
-0.0031629489,
-0.05906992,
-0.008046655,
-0.032976475,
0.014936735,
0.010134131,
0.010049503,
0.062060088,
0.03402021,
0.025895983,
-0.014922631,
-0.0060155974,
0.0009026922,
-0.012390861,
-0.0030589276,
0.024556048,
0.012010038,
-0.03576918,
-0.062172927,
0.0067419824,
-0.012292129,
0.013187769,
-0.053766605,
-0.06431682,
-0.048971053,
0.013505122,
0.0010798809,
-0.03125572,
-0.011354175,
-0.009689837,
-0.017969217,
0.024852244,
-0.03348424,
0.053089585,
-0.019788705,
0.03148139,
-0.019055268,
-0.047532387,
0.0027045505,
0.004908389,
0.049845535,
0.030663326,
-0.06651713,
-0.011502273,
-0.0013954705,
-0.027969353,
-0.026389642,
-0.048294034,
-0.007235642,
-0.028561745,
-0.0059168655,
-0.030465862,
-0.01081115,
-0.009033974,
-0.006026176,
-0.007140436,
-0.016685702,
0.032553338,
0.058562156,
0.0028473593,
0.037179634,
0.035346042,
0.017419139,
-0.0076869885,
-0.06307562,
0.053484514,
-0.0488018,
-0.035543505,
-0.0010023057,
-0.008575576,
0.046009094,
-0.028491223,
0.042765044,
-0.0032757854,
0.041157123,
0.01421035,
0.029619588,
0.0321302,
-0.013060828,
0.00966868,
0.06617862,
-0.03024019,
0.020268261,
-0.0126517955,
-0.014224455,
0.014471284,
0.011544587,
-0.032609757,
-0.004968333,
0.007778668,
0.0010146472,
0.031001836,
-0.014541808,
0.012898625,
0.040423684,
0.030296607,
-0.0094430065,
-0.033568867,
-0.015035467,
-0.004315997,
0.014739271,
0.01936557,
-0.0315096,
0.011854888,
0.0029231713,
0.002269072,
0.020155424,
-0.044062663,
-0.014012886,
-0.0026534214,
-0.0033339667,
0.0073907925,
0.04513461,
0.00062368624,
0.0016590495,
-0.035487086,
0.017094733,
0.006957077,
-0.021847973,
0.01572659,
-0.023709776,
-0.0030977153,
0.05134062,
0.0007788365,
0.002143894,
0.01331471,
-0.046968203,
-0.01349807,
-0.006749035,
-0.03543067,
0.02953496,
-0.014866212,
0.00027746326,
-0.011297757,
0.0092949085,
-0.031142881,
0.024668885,
-0.0069888122,
0.025416428,
0.00010605972,
0.03864651,
-0.04772985,
0.011530482,
-0.018434668,
0.00763057,
0.01609331,
0.0001460043,
0.020508038,
-0.045049984,
0.008201805,
0.010056555,
0.032948267,
0.032299455,
0.052497193,
0.014513598,
0.019055268,
0.015797114,
0.020536248,
0.005165797,
-0.00016980575,
-0.011248391,
0.035289623,
-0.0016114466,
-0.02416112,
0.006029702,
0.008138334,
-0.014139827,
-0.046206556,
0.05162271,
0.014019938,
0.048886426,
-0.022383945,
0.023427684,
-0.06584011,
0.015458604,
-0.0051481663,
-0.02208775,
0.009041026,
-0.059859775,
-0.02434448,
0.040395476,
-0.03286364,
0.024245748,
-0.03895681,
0.020508038,
0.031594228,
0.06380905,
-0.035853807,
0.043611318,
0.047193877,
0.009675732,
-0.04575521,
0.019055268,
0.037518144,
-0.031932738,
-0.031904526,
-0.015317558,
0.035346042,
0.046404023,
-0.014309082,
0.022835292,
0.047560595,
-0.013857736,
0.000050467897,
0.01220045,
0.023216115,
0.04152384,
0.017997425,
0.016347192,
-0.000031542437,
0.024175225,
-0.005014173,
0.041269958,
0.030691534,
0.00821591,
0.02629091,
0.02854764,
0.047899105,
0.0073132175,
-0.008053707,
0.0016731541,
0.019548928,
0.049648073,
0.01476748,
0.0113400705,
-0.015317558,
-0.016389506,
-0.08553009,
-0.029168243,
-0.024429107,
0.04550133,
0.023427684,
0.007179224,
-0.053766605,
-0.02174924,
0.03449977,
0.033681702,
-0.01145996,
-0.043583106,
0.036248732,
0.038533673,
0.005906287,
-0.03827979,
-0.0057546627,
0.0379977,
0.0074119493,
0.0015109516,
-0.041467424,
-0.00781393,
-0.023596939,
-0.07576973,
-0.053004958,
-0.026305014,
-0.019154001,
-0.011241339,
0.0109663,
-0.029478543,
0.0059027607,
0.0036037166,
-0.006117855,
0.0056770877,
-0.03410484,
0.030494072,
-0.0026463692,
0.0030554016,
-0.07340016,
0.023596939,
0.009901405,
0.041608468,
0.028096294,
-0.060931724,
0.003663661,
-0.040705778,
0.0027962301,
-0.0029848786,
-0.008237067,
0.009069236,
0.003561403,
0.037095007,
-0.035797387,
0.036812916,
-0.0065409923,
0.028223235,
-0.023244325,
0.013815423,
0.015895845,
-0.03444335,
0.015134199,
0.043385644,
-0.039520994,
0.046319395,
0.0007647319,
0.05421795,
-0.012715266,
0.03207378,
0.04778627,
-0.034556188,
-0.015077781,
0.0059203915,
-0.021311998,
-0.036530826,
-0.021537673,
-0.015303453,
-0.026855092,
0.056700353,
-0.030776162,
-0.08428889,
0.009167967,
-0.038505465,
-0.071820445,
0.014175088,
-0.017673021,
0.0318199,
0.016149728,
0.023611043,
-0.041693095,
0.03760277,
-0.0077927727,
0.048209406,
-0.022003122,
-0.023286639,
0.024245748,
0.0058851303,
0.006361159,
0.002316675,
0.056474682,
-0.035007533,
-0.0024965082,
0.00398454,
-0.0070981225,
0.027221812,
0.00075150887,
-0.040451895,
-0.0024876927,
0.03503574,
-0.041467424,
0.015712487,
0.006026176,
0.007623518,
0.011452908,
0.045078192,
0.025218964,
0.019407883,
-0.018984746,
-0.036756497,
-0.0021809186,
0.071256265,
0.028505327,
-0.025345905,
-0.008356955,
0.027038453,
-0.035515297,
0.021481253,
-0.01022581,
-0.018096158,
0.066009365,
0.015190617,
0.034302305,
-0.05103032,
0.017757649,
-0.013540383,
-0.001246491,
0.018900119,
0.013787213,
0.024457317,
-0.02221469,
-0.032666173,
0.0051940065,
0.0014342581,
0.015218826,
0.0073132175,
0.008730726,
-0.033907376,
-0.054782134,
-0.017503766,
0.053794812,
0.04646044,
-0.01936557,
0.02956317,
0.060988143,
-0.03187632,
0.068773866,
0.015740694,
-0.005412627,
-0.033314984,
0.009760359,
0.041805934,
-0.002716892,
0.05227152,
-0.021326104,
-0.010373908,
-0.05811081,
0.03184811,
0.020508038,
0.008476844,
0.0010507902,
-0.010500849,
0.0005959179,
0.035740968,
-0.010063607,
0.01603689,
-0.03348424,
0.018744968,
0.023314847,
-0.06008545,
0.023131488,
-0.036305152,
-0.005116431,
0.034584396,
0.028773313,
-0.008180648,
-0.021297894,
-0.02156588,
-0.046996415,
0.011382384,
0.044514008,
-0.00174544,
-0.018491086,
-0.041072495,
0.012193397,
-0.011093241,
-0.015670173,
0.033597074,
0.03670008,
-0.037236053,
0.029140033,
0.030070934,
0.025881877,
-0.013251239,
0.029760635,
-0.027701367,
0.015712487,
-0.03576918,
-0.0043230494,
-0.008307589,
-0.00038214558,
-0.054979596,
-0.0034944061,
0.017165257,
-0.018886013,
-0.023173802,
0.034302305,
-0.046009094,
-0.032581545,
0.007997288,
0.006057911,
-0.0019305624,
0.03692575,
0.0256421,
0.006382316,
0.025218964,
-0.011699737,
-0.0583929,
0.02011311,
-0.012813998,
0.03218662,
-0.026728151,
-0.033992004,
0.010352751,
-0.040733986,
0.06505026,
0.008970504,
-0.024541944,
-0.01223571,
-0.04375236,
-0.01782817,
0.005007121,
-0.033258565,
0.03086079,
0.015049571,
-0.018476982,
0.052384358,
-0.017122943,
-0.034922905,
-0.017983321,
-0.011234286,
-0.01007066,
0.05455646,
0.02294813,
0.045191027,
-0.047137458,
-0.01609331,
0.069338046,
0.0037518144,
0.006258901,
-0.052215103,
-0.03481007,
-0.015204722,
-0.0429343,
-0.02125558,
0.00678077,
-0.018787282,
0.012546011,
0.034922905,
-0.04028264,
-0.02959138,
-0.06279352,
-0.05514885,
0.042341907,
0.01980281,
-0.06081889,
0.0013610906,
0.030268397,
0.024767617,
0.05292033,
0.027419277,
-0.043978035,
-0.02042341,
-0.021960808,
0.05232794,
-0.005507833,
0.02517665,
-0.03960562,
-0.022666037,
-0.021311998,
0.027221812,
0.052412566,
-0.027080767,
-0.022355737,
-0.03311752,
-0.007856243,
-0.0929773,
0.004481726,
-0.03241229,
0.019069374,
0.010289281,
0.029619588,
0.013286501,
-0.01967587,
0.017743543,
0.017842276,
0.025416428,
0.028716896,
-0.021819763,
-0.03960562,
0.0012614771,
-0.014682853,
-0.008455687,
0.013843631,
-0.019943856,
0.036164105,
-0.024090597,
0.009048079,
-0.035571713,
0.0015365161,
-0.020747816,
0.02953496,
0.06262427,
-0.03988771,
0.01590995,
-0.0046932944,
0.013928259,
0.017221674,
0.045078192,
-0.040677566,
0.014598225,
-0.03469723,
-0.057010654,
-0.018871909,
-0.028321968,
-0.022694247,
0.025472846,
0.011643319,
0.029732425,
-0.030917209,
0.0069993907,
0.01640361,
-0.019816915,
-0.024950977,
-0.06691206,
0.01130481,
0.0109028295,
0.0036090058,
-0.011572796,
0.016318982,
0.0003971317,
-0.02891436,
-0.047504175,
-0.031707063,
-0.016149728,
0.0117702605,
0.07915482,
-0.033004683,
0.052835703,
-0.027997563,
-0.022073645,
-0.016460028,
0.017348615,
-0.026178073,
0.0041925823,
0.023427684,
0.009358379,
0.017983321,
0.016812643,
-0.055064224,
-0.028702792,
-0.01078294,
0.010804097,
-0.019450197,
-0.02239805,
0.024598362,
0.004220791,
-0.04265221,
-0.054782134,
-0.01816668,
-0.0056806137,
-0.044006243,
-0.055346318,
0.0050247516,
-0.004287788,
0.012694109,
0.0023554624,
0.04090324,
-0.004859023,
0.014358448,
-0.00030699468,
-0.0051552188,
-0.07464136,
0.035120368,
0.05418974,
-0.035543505,
-0.039408155,
-0.035684552,
0.0037447622,
-0.023469998,
0.008483896,
0.021946704,
0.014379605,
0.025218964,
0.019661764,
0.0029496173,
0.040762194,
0.00025278027,
0.00637879,
0.05757484,
-0.02125558,
-0.08739189,
0.013307658,
0.01007066,
-0.020493934,
0.01087462,
-0.01562786,
0.046206556,
0.028674582,
0.03509216,
-0.0060966983,
-0.041269958,
-0.005617143,
-0.048181195,
0.0035226152,
0.009407746,
-0.024273958,
-0.0075600473,
0.029365705,
-0.027137185,
-0.07368225,
0.0128069455,
0.016812643,
-0.011685633,
-0.0057194014,
-0.048435077,
0.0026287385,
-0.03667187,
-0.012285077,
0.0028332546,
-0.046573278,
0.009182072,
0.010261072,
-0.0038329158,
-0.0012412018,
-0.031340346,
0.017405035,
-0.0031858687,
-0.015388081,
-0.005088222,
0.051397037,
0.006382316,
0.018900119,
-0.03252513,
0.07836497,
0.04186235,
0.0045698793,
-0.027687263,
0.011544587,
-0.019379674,
-0.022722455,
-0.0037764974,
0.042341907,
0.030945417,
0.0018882487,
0.030296607,
-0.0046545067,
-0.06916879,
-0.013124298,
-0.027870622,
-0.0094430065,
0.017842276,
0.023371266,
0.0022320475,
0.05069181,
-0.006103751,
0.03531783,
0.01167858,
-0.00040065782,
0.017306302,
0.026544793,
0.0016431819,
-0.000439225,
-0.0019393777,
-0.05399228,
-0.030719744,
0.035571713,
-0.042623997,
0.009675732,
-0.020719606,
0.030494072,
-0.044626847,
-0.015402186,
0.03605127,
0.007249747,
0.02693972,
-0.013780161,
0.0053244736,
0.0039492785,
0.0019675868,
-0.0012112296,
-0.05007121,
-0.024302166,
0.028237341,
-0.008836511,
-0.016530551,
-0.032271247,
0.02854764,
-0.0109028295,
0.021311998,
0.029760635,
0.00306598,
0.004330102,
-0.005433784,
0.022778874,
-0.025557473,
-0.02844891,
0.0011433513,
0.038420837,
-0.03610769,
-0.0546693,
0.035938434,
0.08378112,
0.030804371,
-0.013300605,
-0.03765919,
-0.0046192454,
0.023286639,
0.011220182,
-0.03732068,
0.046545066,
-0.030804371,
-0.008519158,
-0.019055268,
-0.015416291,
0.016206145,
0.03667187,
0.03571276,
0.002043399,
0.013688481,
-0.0026763414,
0.02001438,
-0.019661764,
0.018674444,
0.0046404023,
0.035938434,
0.014527703,
-0.004182004,
-0.010000137,
0.06787117,
0.013949416,
0.019224523,
-0.049507026,
0.055346318,
-0.0044923043,
-0.03478186,
0.0062553748,
0.06956372,
0.013293553,
-0.051171366,
0.0023519364,
-0.057603046,
0.024922768,
-0.02585367,
0.008307589,
0.02468299,
0.001971113,
-0.030042725,
-0.042003397,
-0.042765044,
0.01850519,
0.0027486272,
-0.05873141,
-0.027546218,
0.023004547,
0.031989153,
0.020409307,
-0.022186482,
-0.023131488,
0.04118533,
0.052356146,
-0.0038364418,
0.009922562,
-0.0056453524,
0.027179498,
0.025656205,
0.037884865,
0.02294813,
0.0024524312,
-0.025021499,
-0.020874757,
-0.039323527,
0.003688344,
0.014739271,
-0.046319395,
-0.0129479915,
0.025162546,
0.035628133,
-0.005934496,
-0.017560184,
-0.06290636,
0.0040515363,
0.016347192,
-0.02014132,
-0.02115685,
0.0025582155,
-0.0023484102,
0.028096294,
0.011890149,
0.065783694,
-0.018871909,
0.06335771,
0.035966642,
0.0012447279,
0.0063893683,
0.009125654,
-0.006808979,
-0.017799962,
0.02029647,
-0.0014113381,
-0.026812779,
-0.03988771,
-0.0386183,
-0.0058428166,
-0.025684414,
-0.00085332623,
-0.008074864,
0.020183634,
-0.024753513,
-0.0392389,
0.024443213,
0.08096021,
0.039126065,
-0.05782872,
-0.013815423,
0.009859092,
-0.063188456,
-0.008159491,
-0.05588229,
0.041749515,
-0.015120095,
-0.042003397,
-0.04767343,
-0.0079761315,
-0.030381234,
-0.00009333256,
-0.008723674,
-0.009837935,
0.019563032,
0.02517665,
0.052497193,
0.016474133,
-0.005165797,
0.021537673,
0.045247447,
0.02727823,
0.009400693,
0.07915482,
0.02554337,
-0.01186194,
-0.008512106,
-0.02567031,
0.029760635,
-0.03726426,
-0.005433784,
-0.008385165,
-0.016262565,
-0.06561444,
-0.03379454,
-0.016262565,
0.022440365,
-0.011410594,
-0.024020076,
-0.03376633,
0.021974914,
-0.082878426,
-0.014090461,
0.01590995,
0.032101993,
-0.014654644,
-0.01816668,
-0.00474266,
-0.052215103,
0.235377,
0.039803084,
0.06296278,
0.008730726,
0.0315096,
0.013089037,
0.04093145,
-0.036220524,
0.008483896,
-0.033343192,
-0.020776026,
-0.028815627,
-0.0127998935,
0.0022285213,
-0.026573002,
0.018829595,
0.0067031947,
0.024231644,
-0.0067913486,
-0.063188456,
-0.06358338,
0.023427684,
-0.0039774873,
0.044993564,
-0.016163832,
0.0046509807,
0.0023554624,
0.02011311,
0.034725443,
-0.018801386,
-0.0016625756,
-0.04804015,
0.05427437,
-0.00066247385,
-0.0027080765,
0.022454469,
-0.004837866,
-0.002815624,
-0.011791417,
-0.0037236053,
0.0038258634,
-0.014696958,
-0.004291314,
0.0149931535,
-0.03988771,
0.043103553,
0.0051058526,
0.01754608,
0.04550133,
-0.0506636,
0.01226392,
-0.017461453,
0.05136883,
-0.0119254105,
-0.027687263,
-0.016149728,
-0.061552323,
-0.007531838,
-0.006974708,
0.0058921822,
-0.0071157534,
0.027898831,
-0.0571517,
0.07447211,
-0.0160651,
0.023611043,
-0.010444431,
0.02045162,
-0.02598061,
-0.01819489,
-0.014809794,
0.0071686455,
-0.010825254,
-0.015091885,
-0.026375538,
0.05850574,
0.010945143,
0.03339961,
-0.003515563,
-0.014287925,
0.035289623,
-0.049112096,
0.0064175776,
-0.0069253417,
0.017983321,
0.016290773,
-0.031960946,
0.038872182,
-0.0005972402,
0.055007808,
0.036812916,
0.009802673,
0.04902747,
0.004012749,
-0.012764632
] |
Since the text encoder and audio encoder/decoder models are frozen during training, the MusicGen decoder [MusicgenForCausalLM]
can be trained standalone on a dataset of encoder hidden-states and audio codes. For inference, the trained decoder can
be combined with the frozen text encoder and audio encoder/decoders to recover the composite [MusicgenForConditionalGeneration]
model.
Tips:
* MusicGen is trained on the 32kHz checkpoint of Encodec. You should ensure you use a compatible version of the Encodec model.
* Sampling mode tends to deliver better results than greedy - you can toggle sampling with the variable do_sample in the call to [MusicgenForConditionalGeneration.generate]
MusicgenDecoderConfig
[[autodoc]] MusicgenDecoderConfig
MusicgenConfig
[[autodoc]] MusicgenConfig
MusicgenProcessor
[[autodoc]] MusicgenProcessor
MusicgenModel
[[autodoc]] MusicgenModel
- forward
MusicgenForCausalLM
[[autodoc]] MusicgenForCausalLM
- forward
MusicgenForConditionalGeneration
[[autodoc]] MusicgenForConditionalGeneration
- forward |
[
-0.016745986,
-0.0108444495,
0.006560592,
-0.028833654,
-0.055031087,
-0.016506331,
-0.05194551,
0.0022542675,
-0.051496156,
0.087354735,
0.047152385,
0.0054634158,
-0.014267041,
-0.04454612,
-0.0255234,
0.018947829,
-0.01863328,
-0.022452803,
-0.05973434,
0.007713938,
0.042718742,
-0.008432907,
-0.06368867,
-0.0192474,
-0.027635371,
0.009571275,
0.04352758,
-0.02805477,
0.058416232,
-0.0054035014,
-0.05658885,
-0.028429233,
0.033881415,
-0.062130906,
-0.017569805,
-0.03921377,
-0.0074593034,
-0.023815848,
-0.008844817,
-0.051316414,
0.06126215,
0.029208116,
-0.013173609,
-0.048051096,
-0.03343206,
-0.04250904,
-0.001865762,
-0.034240898,
-0.014057342,
-0.024699582,
-0.05053753,
-0.0066279955,
-0.039842866,
-0.0029432795,
-0.010612282,
0.037715916,
-0.0046845325,
-0.017180363,
-0.014559123,
0.017644698,
0.014604058,
0.018753108,
-0.021344392,
-0.074772775,
0.029837213,
-0.0082531655,
-0.019981347,
-0.023216708,
0.006006387,
-0.026796574,
0.018483495,
-0.01812401,
-0.05661881,
-0.043287925,
-0.011713203,
0.04475582,
0.03151481,
0.02724593,
-0.0043737283,
0.05643907,
-0.0059689404,
0.038524754,
-0.026377175,
-0.007983551,
-0.030031934,
-0.01184801,
0.0016139357,
-0.005425969,
-0.01733015,
-0.03504974,
0.029987,
0.042568956,
-0.031424936,
0.03352193,
-0.006448253,
0.026347218,
-0.018753108,
0.020325853,
-0.017375084,
-0.047242254,
0.03250339,
0.07507235,
-0.030226655,
0.021134693,
-0.01529307,
0.0049766134,
0.049489032,
0.0049990816,
-0.05134637,
-0.017644698,
0.014746354,
-0.025268765,
-0.009601232,
0.04184999,
-0.02431014,
-0.003154851,
0.038854282,
0.015367962,
-0.0546716,
-0.0058491123,
-0.02096993,
-0.023471342,
0.0034731445,
0.011338741,
0.019202463,
-0.012267409,
0.0093840435,
0.024834387,
-0.027111122,
-0.029118245,
0.029462751,
0.020310875,
0.018049117,
0.029492708,
0.014034874,
0.017435,
-0.06207099,
-0.011945371,
0.010192883,
-0.015517748,
-0.003001321,
-0.02065538,
0.033971287,
0.075192176,
0.009848378,
0.0050215493,
0.030975582,
-0.03987282,
-0.0026867723,
-0.026946358,
-0.0073057734,
0.0035105909,
0.0039019047,
0.0065868045,
-0.012589447,
-0.023666063,
-0.036637463,
0.016686073,
-0.02318675,
0.013652922,
-0.015562683,
-0.0055869883,
-0.023845805,
0.062130906,
-0.013076249,
0.04787135,
-0.01884298,
0.025208851,
0.01569749,
-0.039782953,
-0.0009839016,
-0.040561836,
0.010979256,
-0.015352984,
0.00729454,
0.03594845,
0.0463735,
-0.033551887,
0.010994234,
-0.0018788682,
-0.001776827,
0.03169455,
0.020475639,
0.035259437,
-0.012686808,
-0.025957776,
0.02299203,
-0.004624618,
0.0042613894,
0.023336535,
0.04547479,
0.0508371,
0.0015006606,
-0.021389328,
-0.036907077,
-0.0033495717,
-0.02550842,
-0.01275421,
0.019517012,
-0.012731743,
-0.0045235134,
0.024894303,
-0.012776678,
0.010724621,
-0.033462014,
-0.039303638,
0.019367227,
0.021599026,
-0.011683246,
0.0034469322,
0.011181466,
0.02805477,
-0.0030518738,
0.019606885,
0.0007498622,
-0.002922684,
-0.025223829,
0.0016055102,
0.0024096696,
0.03058614,
0.03615815,
0.060633052,
0.015652554,
-0.0075866207,
-0.031784423,
0.014012407,
0.048740108,
0.040142436,
0.034450598,
0.04406681,
0.013787729,
0.024864344,
0.026242368,
0.041730158,
0.0064744656,
-0.002179375,
-0.011555929,
0.0061112368,
0.0052949074,
0.033012662,
0.020370789,
-0.008492822,
-0.010642239,
-0.0062760003,
0.023066923,
0.0043362817,
-0.038824327,
0.009945738,
-0.037026905,
-0.011570907,
-0.047781482,
0.07447321,
0.027485587,
-0.062730044,
-0.0042201984,
0.02724593,
0.042089645,
0.013697857,
-0.038914196,
-0.028309405,
0.042898484,
0.015412898,
-0.01296391,
-0.02005624,
0.04862028,
0.034210943,
0.03615815,
0.026437089,
-0.013892578,
-0.062130906,
-0.03057116,
-0.042239428,
-0.045384917,
-0.02492426,
-0.02612254,
-0.009406511,
0.024040526,
-0.02239289,
0.014716397,
-0.013727815,
-0.033761587,
0.0036753546,
-0.026781596,
0.01144359,
0.0048455517,
0.040022608,
-0.06638481,
0.020475639,
-0.004853041,
0.05014809,
0.0038831816,
0.004384962,
0.011211423,
-0.02422027,
0.008582693,
-0.057038207,
0.008642606,
-0.03118528,
-0.016386501,
0.005384778,
-0.015847275,
0.01854341,
-0.008043466,
0.039453425,
-0.026796574,
0.06776283,
0.0013986194,
-0.028998416,
0.01740504,
0.0463735,
-0.00079386163,
0.006085024,
0.014903628,
0.02339645,
-0.007170967,
0.060393397,
0.03364176,
-0.003980542,
-0.008155805,
-0.017884353,
-0.049399164,
-0.0013433861,
0.0075903656,
0.011196445,
0.0021681408,
0.057457607,
0.015315537,
-0.07806805,
0.018513452,
-0.03501978,
-0.0034488044,
0.029807257,
-0.04313814,
0.051166628,
0.058176577,
0.029807257,
-0.017554827,
-0.038614627,
-0.028893568,
0.028249491,
0.0041902415,
-0.007901169,
0.0062011075,
0.028953481,
0.001384577,
-0.008792392,
0.012469619,
-0.06536627,
0.03555901,
0.021718856,
0.011076616,
0.014214616,
-0.0015512131,
-0.022033405,
0.029088289,
0.031215237,
-0.075791314,
-0.0008935624,
-0.011391166,
-0.012312344,
0.06686412,
0.00067122496,
-0.027650349,
-0.015270602,
-0.060842752,
-0.024624689,
0.023531256,
0.07495252,
0.078547366,
-0.026541939,
-0.005841623,
-0.0037296517,
-0.012087666,
0.024085462,
0.015667534,
-0.05569014,
0.0079236375,
0.030121805,
0.01986152,
-0.051376328,
-0.043827154,
-0.0129114855,
-0.043707326,
0.026287304,
0.015038435,
0.019666798,
-0.036667418,
-0.04517522,
-0.016985644,
0.00653438,
-0.0009539446,
-0.009189323,
-0.023905719,
-0.021239543,
-0.059884127,
-0.012649361,
-0.009354087,
0.036667418,
0.026257347,
0.022497738,
0.005852857,
0.03615815,
0.04373728,
0.049039677,
-0.044186637,
-0.0106796855,
0.006762802,
0.043377798,
0.038015485,
-0.005924005,
0.01275421,
-0.024774473,
-0.010709642,
0.012978888,
-0.026781596,
0.016146846,
-0.021823704,
-0.0037633535,
-0.014027385,
0.0020352066,
-0.030765882,
-0.035289396,
-0.033252317,
0.023965634,
0.07645037,
-0.08262152,
0.006422041,
-0.02005624,
0.027575457,
0.052724395,
-0.022572631,
-0.012110135,
0.0025220085,
-0.008492822,
-0.031754464,
0.031454895,
0.049548946,
-0.037326474,
0.0087175,
-0.028384298,
0.015727447,
0.013023824,
-0.02410044,
0.01367539,
0.0113686975,
0.01812401,
-0.0101554375,
0.03223378,
-0.015278092,
-0.030765882,
0.063209355,
-0.03058614,
0.011982817,
-0.060033914,
0.025104001,
-0.024669625,
-0.0033851457,
-0.03987282,
0.046732984,
0.010522411,
-0.026437089,
0.004497301,
0.0045347475,
-0.03343206,
-0.04301831,
0.002881493,
0.000016909346,
-0.013997428,
0.042778656,
-0.004463599,
0.04568449,
0.038524754,
0.043707326,
-0.039273683,
0.0058566015,
-0.007444325,
-0.0026511983,
0.012065198,
-0.03654759,
0.015030946,
-0.013473179,
0.045714445,
0.0078038094,
-0.05398259,
0.013750282,
-0.032952745,
-0.011413633,
0.01670105,
-0.0083655035,
0.0050365278,
-0.004321303,
0.017180363,
0.03987282,
-0.03280296,
0.03139498,
-0.021089757,
-0.05631924,
-0.020011304,
0.053023964,
0.021748813,
0.035439182,
0.023171771,
-0.01792929,
-0.019277357,
-0.06710377,
-0.0053697997,
-0.02633224,
0.03573875,
-0.0057480074,
0.021628985,
0.02300701,
0.028519103,
-0.035798665,
-0.010125481,
-0.010005652,
-0.006481955,
-0.018902894,
-0.021104736,
-0.009968205,
0.06015374,
0.00025650716,
-0.035079695,
0.029193137,
0.02167392,
-0.033491973,
0.044006895,
-0.027755199,
-0.045325004,
-0.024429968,
-0.010784535,
0.055480443,
-0.01984654,
-0.028848631,
-0.02541855,
-0.03039142,
-0.008590181,
0.03951334,
-0.009953227,
-0.046433415,
0.010050587,
-0.05035779,
0.0014744481,
-0.05640911,
-0.006410807,
0.03088571,
-0.026092583,
0.00602511,
-0.0058977925,
-0.011743161,
-0.044635992,
0.034720212,
-0.019487055,
0.014267041,
0.061022494,
-0.033192404,
-0.048979763,
0.02410044,
-0.00085096725,
-0.0058229,
-0.012477108,
0.00083037175,
0.027530521,
-0.02176379,
0.03627798,
0.007111053,
-0.03705686,
-0.0033701672,
-0.03238356,
0.0382851,
-0.028309405,
0.0024883067,
-0.0017637209,
0.0022411612,
0.02866889,
0.039123897,
-0.028384298,
-0.02125452,
-0.036487676,
-0.012978888,
-0.00052097166,
0.0032241265,
0.025373615,
0.010851938,
-0.019517012,
0.03190425,
-0.035409223,
0.05053753,
0.010979256,
0.024684602,
0.014926096,
-0.018273795,
-0.03352193,
0.0137952175,
-0.010088034,
0.02299203,
0.01518822,
-0.023216708,
0.019472077,
-0.062130906,
-0.045834273,
-0.007766363,
0.0340312,
0.032173865,
-0.03657755,
0.033372145,
-0.009181834,
-0.030511247,
-0.032143906,
0.03636785,
-0.0022261827,
0.03211395,
0.0052836733,
0.016895771,
0.009159366,
0.06818223,
-0.023321558,
-0.011331251,
-0.024594732,
0.04164029,
-0.017974226,
-0.018768087,
0.037656,
-0.011106573,
-0.055660184,
-0.05257461,
0.005497117,
-0.0015699363,
-0.015967103,
0.0058566015,
-0.032563306,
0.0027972388,
0.009938248,
-0.0016317227,
0.0255234,
0.05227504,
0.0018966552,
0.0055532865,
0.0046770433,
-0.01884298,
0.06818223,
0.08076418,
0.022872202,
-0.020101175,
-0.01733015,
-0.0046058954,
-0.06006387,
0.028878588,
-0.0068901195,
-0.030765882,
0.032263733,
0.038614627,
0.022647524,
0.08244178,
-0.02684151,
-0.002323543,
0.007646535,
-0.0026530705,
-0.06518652,
0.02794992,
0.02511898,
0.021838684,
0.059614513,
-0.012237452,
-0.033971287,
-0.023471342,
0.03573875,
-0.043497626,
-0.06962016,
0.04871015,
-0.019322293,
-0.0032990193,
-0.03909394,
0.013495647,
0.017045557,
0.01529307,
-0.016865814,
-0.013383308,
0.007938616,
0.025089022,
-0.0042913463,
0.032982703,
-0.02380087,
-0.027740221,
-0.018064097,
0.0027223462,
-0.018783065,
-0.017839419,
0.017060535,
-0.016371524,
-0.012087666,
0.003980542,
0.013870111,
0.012102645,
-0.022123275,
0.016086932,
-0.0069650123,
-0.010949299,
-0.008784902,
-0.009339108,
-0.044216596,
0.017554827,
0.027126102,
0.024040526,
-0.021898597,
0.0028421744,
0.015233156,
-0.00083973334,
0.021688899,
0.031844337,
0.027560478,
-0.0078038094,
-0.0046732984,
-0.00078496814,
-0.02866889,
0.026901424,
0.008417929,
-0.014551633,
0.0020932483,
0.036877118,
0.0069425446,
0.032024078,
-0.003980542,
0.047661655,
0.011466058,
0.0063171913,
0.0066317404,
-0.005223759,
0.019816583,
-0.000010868204,
0.008058445,
-0.05925503,
0.0029301732,
0.035079695,
-0.028384298,
0.01124138,
0.013420755,
-0.049578905,
-0.0057592415,
0.04508535,
0.003797055,
0.05853606,
0.026407132,
-0.06500678,
-0.04517522,
0.0049578906,
-0.022647524,
0.0026455813,
-0.03888424,
0.007032416,
0.0065905494,
-0.03606828,
-0.038135316,
-0.023036966,
-0.024115419,
-0.0105299,
0.014619037,
0.022452803,
0.012821614,
0.028309405,
-0.009758506,
0.0054521817,
-0.041879945,
-0.021449242,
-0.010177905,
-0.017375084,
-0.02258761,
-0.054731514,
0.040981233,
0.037536174,
-0.040861405,
-0.025748078,
-0.030331505,
-0.027096145,
-0.021599026,
0.06126215,
-0.0024040525,
0.011600864,
-0.067583084,
-0.011937881,
0.005309886,
0.006422041,
-0.014536655,
0.025328679,
-0.016955685,
0.0025875396,
-0.0038532245,
-0.007230881,
0.04859032,
-0.023426406,
-0.0016541904,
-0.0042988355,
0.05314379,
-0.031604677,
-0.0017674655,
0.016671093,
0.03394133,
0.024729539,
-0.0080060195,
0.013630454,
0.03415103,
0.007339475,
-0.013937513,
-0.014521676,
0.022497738,
0.017390063,
-0.014858693,
0.015817318,
0.010672196,
0.029852193,
0.007833767,
-0.020505596,
0.0033345933,
0.012671829,
-0.047122426,
0.0028665145,
-0.047451954,
0.037536174,
0.0012947059,
-0.043976936,
-0.0151732415,
-0.014169681,
0.061951164,
-0.010440029,
-0.01740504,
-0.010664707,
0.04235926,
-0.021404307,
0.028623953,
0.00951885,
-0.0041752625,
0.0013986194,
0.045594618,
0.030541204,
0.009691103,
-0.007863724,
-0.02218319,
0.004047945,
0.0049466565,
0.032143906,
-0.04304827,
0.0030743415,
0.010215351,
-0.049489032,
-0.017120449,
-0.07249604,
0.054521818,
-0.011428611,
-0.028788717,
0.012986378,
-0.009144387,
-0.041550416,
0.014416827,
0.0023216708,
-0.025957776,
0.026212411,
0.025598293,
0.027365757,
0.08873276,
0.0069387998,
0.011668268,
0.069500335,
0.013555561,
-0.013053781,
0.010769556,
-0.008642606,
-0.0016953814,
0.00056871574,
-0.05377289,
-0.030855753,
0.0014267041,
0.01336833,
-0.0062947236,
-0.058446188,
-0.011862989,
0.008470354,
-0.0336118,
-0.010088034,
0.055630226,
0.020490617,
-0.02561327,
0.0023834573,
0.002310437,
-0.0077813417,
-0.0387045,
-0.025328679,
0.0151732415,
0.012432172,
-0.044336423,
0.005223759,
-0.029223094,
-0.005882814,
-0.03313249,
0.0051301434,
0.016341567,
0.028114684,
0.034061156,
0.037416346,
0.052514695,
-0.028189577,
-0.009391532,
0.036877118,
0.028474169,
-0.011713203,
0.04406681,
0.06578566,
-0.020071218,
-0.008178272,
0.019726712,
0.029837213,
-0.01986152,
0.0023684786,
-0.005032783,
0.07381415,
-0.06488695,
-0.013630454,
-0.013555561,
0.017210322,
-0.036937032,
-0.01175065,
-0.015652554,
-0.0030088103,
-0.059105244,
0.0145666115,
-0.03088571,
0.008035976,
-0.030136785,
-0.042718742,
0.015727447,
-0.072376214,
0.26745647,
0.052484736,
0.009900803,
-0.04649333,
0.03636785,
0.057877004,
0.0033514441,
-0.007931127,
-0.014761332,
-0.0024527328,
0.024849366,
-0.030765882,
0.0012581957,
0.023875762,
0.002323543,
0.030151762,
-0.03139498,
-0.009496382,
0.024025548,
-0.044126723,
-0.05224508,
0.0020876313,
-0.0011627077,
0.0027054953,
-0.0007231817,
0.034899954,
-0.0140423635,
-0.018213881,
-0.02258761,
-0.012821614,
0.02239289,
-0.012439662,
0.054042503,
-0.032143906,
-0.011001724,
0.03463034,
-0.0059502176,
-0.032293692,
-0.030765882,
0.0024077971,
0.07099819,
-0.02480443,
0.009084473,
-0.05368302,
-0.04364741,
0.031664595,
-0.01682088,
0.01053739,
0.04424655,
-0.07417364,
0.003171702,
-0.02186864,
0.025373615,
-0.018932851,
-0.005575754,
0.05173581,
-0.0387045,
0.000315017,
0.019067658,
0.017345127,
0.020880058,
0.018588344,
-0.017255256,
0.028264469,
-0.025942799,
0.004047945,
-0.026302284,
0.016925728,
-0.02176379,
-0.042539,
0.021823704,
-0.024789453,
0.016416458,
-0.022317996,
0.07321501,
0.0043699834,
-0.022677481,
0.015397919,
0.026766617,
-0.059794255,
-0.0012703658,
-0.01813899,
0.008852306,
-0.06854171,
0.030016957,
0.030735925,
-0.031634636,
-0.011743161,
-0.015802339,
0.01367539,
0.023021987,
0.07651029,
0.03310253,
-0.010147948,
-0.013645433
] | Swin pads the inputs supporting any input height and width (if divisible by 32).
Swin can be used as a backbone. When output_hidden_states = True, it will output both hidden_states and reshaped_hidden_states. The reshaped_hidden_states have a shape of (batch, num_channels, height, width) rather than (batch_size, sequence_length, num_channels).
Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with Swin Transformer. |
[
0.023445737,
-0.0049620788,
-0.049836077,
-0.05136394,
-0.0015408834,
-0.014111889,
-0.018751033,
-0.011472854,
-0.00046052883,
0.06311459,
0.01643146,
-0.0048579066,
0.017125944,
-0.049169376,
0.008194895,
-0.015861984,
-0.008375461,
-0.005416965,
-0.05939216,
-0.04653034,
0.058447663,
0.00230221,
-0.06567028,
-0.037863195,
-0.0067920405,
0.007715703,
0.011493688,
-0.017820425,
0.067281485,
0.015056385,
-0.026557019,
-0.031890646,
0.0073198476,
-0.01969553,
-0.011403406,
-0.02127895,
0.015445295,
-0.039474398,
-0.033529624,
-0.057558727,
0.027779307,
0.0030852393,
0.0137299225,
-0.06272568,
-0.04100226,
0.01723706,
-0.02051502,
-0.019501073,
-0.021556742,
-0.0530307,
-0.013917433,
-0.009507468,
-0.0112645095,
-0.019987212,
-0.0108200405,
-0.07578195,
0.018112108,
0.009444965,
-0.023515183,
0.011757592,
0.03561307,
0.02605699,
-0.008368516,
-0.059336603,
0.027904315,
0.022598468,
-0.00822962,
0.0047641513,
-0.016125888,
0.0022292894,
-0.04897492,
-0.016514799,
-0.038724355,
-0.03408521,
0.005878796,
0.026807033,
0.014653585,
0.014375792,
-0.045224715,
0.018612137,
-0.018751033,
0.038724355,
-0.025626412,
0.02369575,
-0.019501073,
-0.033057377,
0.056253098,
0.005660034,
-0.039946645,
-0.026626466,
-0.0006315452,
0.037946533,
0.022362342,
0.033362947,
-0.0015139723,
0.03972441,
-0.04736372,
0.014139668,
-0.027640412,
-0.041863415,
0.019584412,
0.051502835,
-0.018348232,
0.032362893,
-0.033446286,
-0.011160337,
0.03411299,
-0.03261291,
-0.010528358,
-0.037946533,
0.011778426,
-0.005014165,
-0.024584688,
0.05816987,
0.012590971,
-0.021917874,
0.03133506,
0.020181667,
-0.06772595,
-0.014653585,
0.03452968,
0.014556358,
-0.060336657,
0.0153480675,
0.026557019,
-0.04205787,
0.026807033,
0.03558529,
-0.011118668,
-0.0016111998,
0.033140715,
-0.040085543,
-0.011952047,
0.05178063,
-0.015084164,
0.007305958,
-0.033918533,
0.017278729,
-0.00016504816,
0.00802822,
-0.014334123,
-0.02447357,
0.038974367,
0.07183729,
0.018306565,
0.0062433993,
-0.019431626,
-0.06228121,
-0.028140439,
-0.007653199,
0.0019098275,
0.0052363994,
0.0065975855,
0.029446065,
-0.013882709,
0.023404067,
0.0012387835,
0.026834812,
0.018528799,
0.041057818,
-0.011729813,
0.016223116,
-0.030723915,
0.08005997,
-0.010042219,
0.07589307,
0.021792866,
-0.0029116187,
0.015167502,
-0.005153062,
-0.012354847,
0.019528853,
0.019403847,
-0.0030626687,
0.044307996,
0.061170034,
0.05422521,
0.0019202447,
-0.02250124,
-0.011514523,
0.0037050652,
0.009104668,
0.03416855,
0.031196162,
-0.03050168,
0.017848205,
0.005458634,
-0.0061913133,
0.032029543,
0.02452913,
-0.0027345256,
0.04083558,
-0.05219732,
-0.02245957,
-0.06394797,
0.002024417,
-0.012285399,
-0.0377243,
0.033085156,
-0.030307224,
-0.01643146,
0.046391442,
-0.02972386,
0.011799261,
-0.046697017,
-0.02689037,
-0.0053718234,
0.03822433,
0.0052259825,
0.0025435428,
0.060725566,
0.0026668136,
-0.045585845,
-0.017487075,
0.012264565,
-0.015903654,
-0.016334234,
0.0037154825,
-0.0026147272,
-0.0041599516,
0.042641237,
0.029890535,
0.0409467,
-0.010340847,
-0.013070164,
-0.024904149,
0.003587003,
0.050891694,
-0.024418011,
-0.009299124,
0.029918315,
-0.022626245,
0.039946645,
0.016167557,
0.047919307,
-0.03452968,
-0.006323265,
0.034557458,
0.021862315,
0.023626301,
0.013445185,
0.01963997,
0.01887604,
0.039168824,
0.024390232,
0.0006745163,
-0.02927939,
0.008979661,
-0.022640135,
-0.0031963566,
-0.0514195,
0.08311569,
-0.014000772,
-0.037446506,
-0.0088615995,
-0.0011276663,
-0.0008572521,
-0.0068475995,
-0.02452913,
-0.023056826,
0.01968164,
-0.009535247,
0.006173951,
-0.017098164,
0.051947307,
0.009938047,
-0.0020435154,
-0.0049898583,
-0.0044273273,
-0.048697125,
-0.013820206,
-0.034390785,
-0.0818934,
-0.020612247,
-0.055141926,
-0.011820096,
-0.017848205,
-0.00821573,
0.034668576,
-0.044307996,
-0.023112385,
-0.00512181,
-0.019862205,
0.027959874,
0.036335334,
0.008403241,
-0.03294626,
0.02207066,
-0.021487294,
0.02087615,
0.026293116,
-0.032696247,
0.003357824,
-0.020278895,
0.003283167,
0.0050280546,
0.003283167,
-0.06711481,
-0.045919195,
0.000060767237,
-0.024306895,
-0.023042936,
-0.02372353,
0.037918754,
-0.028723804,
0.014334123,
-0.03655757,
-0.025848646,
0.05889213,
0.05016943,
0.008896323,
0.041141156,
-0.03050168,
0.021070605,
-0.02245957,
0.073559605,
0.03689092,
0.04011332,
-0.01562586,
-0.03894659,
-0.036140878,
0.002192829,
0.012445129,
-0.042613458,
-0.027348729,
0.042919032,
-0.0021355343,
-0.051891748,
-0.022681804,
-0.045169156,
-0.016792592,
0.0050280546,
-0.017903764,
0.053114038,
0.042363446,
0.04330794,
-0.020681694,
-0.000045738198,
-0.0312795,
-0.01922328,
0.014639695,
-0.022556799,
0.032029543,
0.023070715,
0.0043752408,
-0.0020903929,
0.037446506,
-0.030835032,
0.035974205,
0.013827151,
0.01527862,
0.0015104999,
-0.018598247,
-0.040002204,
0.015820315,
0.014278565,
-0.017473185,
0.020014992,
-0.03808543,
-0.010181116,
0.034224108,
0.013903543,
0.009299124,
-0.037974313,
-0.07083724,
-0.010007496,
0.00007633884,
0.011688144,
0.054002974,
-0.044502452,
0.031890646,
0.014348012,
-0.05205842,
0.03558529,
-0.02045946,
-0.025931984,
0.049586065,
0.028973818,
0.022765143,
-0.018042661,
-0.013646585,
0.049530506,
-0.007305958,
0.023473514,
0.029501624,
-0.003293584,
-0.06522582,
-0.020626135,
-0.05428077,
0.05694758,
-0.014639695,
-0.0031772584,
-0.011215895,
0.014959157,
-0.013834096,
-0.056030866,
0.008069889,
0.0401411,
0.0005273728,
0.024820812,
0.06461467,
0.028362673,
0.012264565,
0.04453023,
0.00096793525,
-0.037640963,
-0.0409467,
0.04864157,
0.057892077,
-0.015486964,
0.014431351,
-0.0018751033,
0.0070663616,
0.02368186,
-0.003333517,
0.0017153723,
-0.023140164,
-0.04180786,
-0.0032380256,
0.02852935,
-0.03847434,
-0.05091947,
-0.082837895,
0.02368186,
0.027765417,
-0.028237667,
0.01723706,
-0.04858601,
0.0001125279,
0.003123436,
-0.0016077275,
-0.044808023,
0.001738811,
0.015056385,
-0.02607088,
0.030446121,
0.012354847,
-0.01690371,
-0.0076462543,
-0.08200452,
0.012125668,
0.02123728,
-0.014695254,
0.032362893,
0.01525084,
-0.020528909,
-0.039168824,
0.036307555,
0.026265336,
0.031807307,
0.036085322,
-0.018112108,
0.015056385,
-0.03330739,
0.012882654,
0.012410406,
0.0039689685,
0.00029949567,
0.028404342,
0.023820756,
-0.031807307,
0.022917928,
0.040418893,
-0.047558174,
-0.06750372,
0.005364879,
0.026432011,
0.01401466,
0.03214066,
0.022112329,
0.010715868,
0.0015981783,
0.027918205,
-0.050891694,
0.0122159505,
0.016139777,
-0.03822433,
0.009313013,
-0.006482996,
0.005559334,
-0.033390727,
0.026432011,
-0.012000661,
0.009472744,
0.014500799,
-0.03855768,
-0.022404011,
0.014000772,
-0.047530394,
-0.03975219,
0.038363226,
-0.010472799,
-0.012785426,
-0.023931874,
0.005955189,
-0.05586419,
-0.045808077,
0.002786612,
0.042002313,
0.016278675,
0.045919195,
-0.011278399,
-0.022348452,
-0.010542247,
0.0041425894,
-0.0075629167,
-0.0049169376,
0.013375737,
0.003199829,
-0.019403847,
-0.009549137,
0.0096463645,
-0.012202061,
0.00026216722,
0.016667584,
-0.036140878,
0.0010530094,
-0.005594058,
-0.013090999,
0.03816877,
-0.009431075,
-0.05050278,
0.0006332814,
-0.010514468,
0.04486358,
0.011743702,
0.056530893,
-0.045863636,
-0.052669566,
-0.023792977,
0.004545389,
-0.08200452,
-0.0015738714,
-0.0212095,
0.018167667,
-0.00942413,
0.009604695,
0.0028369618,
-0.044307996,
0.017889874,
-0.059669953,
-0.014278565,
-0.033196274,
0.0012709034,
-0.017112054,
0.00147838,
-0.009722758,
0.03822433,
0.035113044,
-0.03089059,
0.008111558,
-0.014986937,
0.004493303,
0.0336963,
-0.052669566,
-0.031223942,
0.053475168,
0.0023143636,
-0.030279446,
0.032057323,
-0.009104668,
0.07994885,
0.0068232925,
0.020001102,
-0.034640796,
-0.013972992,
0.000071781295,
0.00762542,
0.033057377,
-0.04530805,
0.02852935,
-0.008132393,
0.0016285619,
-0.0022744308,
0.03330739,
-0.032362893,
-0.005191258,
-0.04333572,
-0.03964107,
0.019056605,
-0.020528909,
0.027029267,
-0.0169176,
0.012285399,
0.04930827,
-0.023417957,
0.053919636,
0.045835856,
-0.016278675,
0.026848702,
-0.01845935,
0.011757592,
0.012709034,
0.008396296,
0.012792371,
-0.01765375,
-0.029001597,
0.016348124,
-0.007368461,
-0.032751802,
0.022542909,
0.007708758,
0.06300347,
-0.028834922,
-0.0023404066,
-0.007993496,
-0.03125172,
-0.018167667,
0.056642007,
0.029834976,
0.034863032,
0.0075143026,
0.03089059,
0.010688089,
0.040391114,
0.026709804,
-0.022945708,
-0.051252823,
0.055641953,
-0.02647368,
-0.023598522,
0.024015212,
0.06305903,
-0.02248735,
-0.033585183,
-0.01840379,
0.019167723,
-0.026765363,
-0.02122339,
-0.015139723,
-0.0039342446,
-0.03447412,
0.022042882,
0.01043113,
0.019126054,
-0.016098108,
0.061892297,
-0.023140164,
-0.043919086,
0.04178008,
0.060725566,
-0.017375957,
-0.004611365,
-0.0039932756,
0.033529624,
-0.016723143,
-0.006413548,
0.018556578,
-0.021112274,
0.0026737584,
0.027390398,
-0.018598247,
0.09878322,
-0.024001323,
-0.003830072,
0.0052676513,
0.007903213,
-0.049447168,
-0.011160337,
0.008153227,
0.0094796885,
0.0506139,
-0.02329295,
0.039252162,
0.033029597,
0.042696796,
-0.004778041,
-0.060781125,
0.021917874,
-0.018667694,
0.007375406,
0.015459185,
0.033251833,
0.02568197,
0.019181613,
0.02525139,
-0.03930772,
0.016695363,
0.0085282475,
0.00089414645,
0.007660144,
-0.07455966,
0.0024393704,
-0.045474727,
0.001250937,
0.013903543,
-0.006382296,
-0.032668468,
-0.00073267927,
-0.0044551063,
0.010576972,
0.034668576,
0.0048092925,
-0.00026585665,
0.014528578,
-0.02445968,
0.0018681585,
-0.039502177,
0.013945213,
0.021403957,
0.005778096,
-0.011792316,
-0.023056826,
0.013452129,
-0.002915091,
-0.0014853248,
0.0052676513,
0.011167281,
0.042335667,
-0.010590862,
0.014153557,
-0.019362178,
-0.0025470152,
-0.05500303,
-0.0075004133,
0.016709253,
-0.009722758,
0.004927355,
0.013834096,
0.04178008,
0.018556578,
0.001435843,
0.014584136,
0.014667475,
0.029890535,
-0.015778648,
-0.027834866,
0.025765307,
0.017514853,
-0.009083834,
-0.055308603,
-0.008111558,
0.06828154,
-0.03247401,
0.056725346,
0.022959597,
-0.030196108,
-0.028862702,
0.022848481,
0.060947802,
0.034890812,
0.040807802,
-0.01647313,
-0.039113265,
-0.0046738684,
-0.053975195,
-0.022737363,
-0.01890382,
-0.040335555,
0.030946149,
-0.07255955,
0.024834702,
-0.026834812,
0.016764812,
0.048447113,
0.0059656063,
0.011743702,
0.04083558,
-0.02243179,
-0.011167281,
-0.026181998,
-0.065392494,
-0.023890205,
-0.009965827,
0.030196108,
-0.018042661,
-0.04694703,
0.071670614,
0.01722317,
-0.021556742,
-0.0109867165,
-0.02723761,
-0.0029237722,
0.02811266,
0.01566753,
-0.03814099,
0.028779363,
-0.04250234,
0.01968164,
-0.021459516,
-0.03139062,
-0.037140936,
0.003300529,
0.013368792,
-0.0064100754,
-0.0046460894,
0.0017865568,
0.032251775,
-0.033612963,
0.0077782064,
-0.008687979,
0.038613237,
0.006691341,
0.012090944,
-0.0018542688,
0.03694648,
0.020278895,
0.021306729,
0.013410461,
0.03777986,
0.0062607615,
-0.06639255,
-0.0011363473,
0.05186397,
0.037918754,
0.0059829685,
0.016084218,
0.013070164,
0.013514633,
0.008924102,
-0.0018403791,
0.04891936,
-0.008146282,
-0.022529019,
0.010000551,
-0.00802822,
0.021903984,
-0.04364129,
-0.032724023,
-0.016098108,
0.017973213,
0.07372628,
0.0022813757,
0.049558286,
-0.003526236,
0.031196162,
0.019070495,
0.02045946,
-0.0014471284,
-0.008903268,
-0.021751199,
-0.010743647,
0.008299069,
0.004493303,
0.0043544066,
0.01184093,
-0.016292565,
-0.04128005,
0.0067225923,
-0.026265336,
-0.028334893,
0.010681144,
-0.009271344,
-0.015056385,
-0.060614448,
0.031168383,
-0.014820261,
0.021473406,
0.023320729,
-0.045835856,
-0.03661313,
-0.0059517166,
-0.033446286,
0.00077304605,
0.020376122,
0.023042936,
-0.02972386,
0.08944937,
0.026334783,
0.040085543,
0.030696135,
0.00591352,
-0.028973818,
-0.01886215,
-0.004281486,
-0.031029487,
0.008299069,
-0.02566808,
-0.062170092,
0.04178008,
0.02289015,
-0.00096619903,
-0.05497525,
0.021917874,
0.0016485283,
-0.029918315,
0.012320123,
0.051058367,
0.020640025,
-0.0074031856,
0.0025487514,
-0.0067642615,
-0.07617086,
-0.0490027,
-0.01965386,
0.041585624,
0.0072503993,
-0.011195061,
-0.03419633,
-0.062114533,
0.009799151,
-0.0029984291,
-0.023001267,
0.026904259,
0.0015235214,
-0.0012405197,
0.05622532,
0.010556137,
-0.029834976,
-0.036029764,
0.05500303,
0.031029487,
0.015792536,
0.08689368,
0.02051502,
0.013014605,
-0.0004926487,
0.038613237,
0.0038995203,
-0.027765417,
-0.01204233,
-0.03330739,
-0.016681474,
-0.039974425,
-0.07578195,
-0.014084109,
0.016959267,
0.005701703,
-0.00087200984,
-0.009653309,
-0.022015102,
-0.07561528,
0.000022814842,
-0.038668796,
0.006232982,
-0.001175412,
-0.018320454,
0.024154108,
-0.052475113,
0.22656803,
0.06694813,
0.01060475,
-0.019598302,
0.041168936,
0.048058204,
0.03930772,
-0.016181447,
0.01920939,
-0.033085156,
0.019431626,
-0.016223116,
-0.011521468,
-0.00984082,
0.007896268,
0.058836576,
-0.060058862,
-0.021640081,
-0.027084826,
-0.02370964,
-0.053836297,
0.022709584,
-0.017195392,
0.03539084,
0.062892355,
0.046891473,
-0.014035495,
-0.01927884,
0.030446121,
-0.040446673,
-0.018528799,
0.016223116,
0.033362947,
0.019348288,
0.015223061,
0.008049054,
-0.016723143,
-0.022556799,
0.005736427,
0.03372408,
0.006257289,
-0.047280382,
0.0026425067,
-0.026168108,
-0.023334619,
0.05608642,
0.011104778,
-0.016209226,
0.004812765,
-0.056892022,
0.009993606,
-0.028446011,
-0.0073962407,
-0.037252054,
-0.0025174997,
0.017320398,
-0.03566863,
-0.035168603,
0.034363005,
0.008736593,
0.0100908335,
0.009576917,
-0.015792536,
0.030140549,
-0.011646475,
0.014889709,
-0.029612742,
0.025959764,
-0.036752023,
0.012799316,
0.007038582,
-0.006257289,
-0.051058367,
-0.0066149477,
0.014611916,
0.031529516,
0.011958992,
0.048447113,
-0.004521082,
-0.053197373,
-0.017792646,
-0.028696025,
-0.0030348895,
-0.052391775,
0.041557845,
0.038335446,
-0.022556799,
0.015598081,
-0.0012057956,
0.011042275,
0.017778758,
0.053225152,
0.0043544066,
0.008896323,
-0.008764371
] | Swin Transformer architecture. Taken from the original paper.
This model was contributed by novice03. The Tensorflow version of this model was contributed by amyeroberts. The original code can be found here.
Usage tips |
[
0.023780076,
0.008243857,
-0.008025957,
-0.03579359,
0.002473157,
-0.01865218,
0.04387039,
-0.0020228317,
0.0010059684,
0.058426064,
0.023184484,
0.0024495511,
0.03864081,
-0.044887256,
-0.008519862,
0.017853215,
0.020860225,
-0.03742057,
-0.030476848,
-0.04137181,
0.009275246,
0.023169957,
-0.09041368,
-0.07687487,
-0.007016357,
0.008897554,
0.040703587,
-0.016066441,
0.04869323,
-0.00076900295,
-0.051685713,
-0.053748492,
0.0331788,
-0.010045158,
-0.065950856,
-0.020206528,
0.00025716657,
-0.01327733,
-0.03756584,
-0.051191807,
0.011316236,
-0.030128209,
0.038815126,
-0.03489294,
-0.052470148,
-0.0012402101,
0.018797446,
-0.012616369,
-0.02277774,
-0.051976245,
-0.048286483,
0.035938855,
-0.015311057,
0.0062391832,
-0.027687736,
-0.020468006,
0.012732582,
-0.018230908,
0.004997157,
-0.004775626,
0.021688243,
0.03660708,
-0.012122464,
-0.020511586,
-0.00016092771,
0.021194337,
-0.050174944,
-0.022211201,
0.002916219,
-0.025900962,
-0.032888267,
0.017010672,
0.0073613646,
-0.057060562,
-0.0055491687,
-0.0012120648,
0.001599744,
-0.0035299684,
0.0032031196,
0.054300502,
-0.02956167,
0.041342758,
-0.00818575,
0.026031703,
-0.037885424,
-0.0372172,
0.030215368,
0.012725319,
0.0038459224,
-0.06583464,
-0.018753866,
0.027702263,
-0.031493712,
0.028893447,
0.009427776,
0.022530787,
-0.018797446,
0.037536785,
-0.032510575,
-0.016618453,
0.01770795,
0.084370606,
-0.025160104,
0.01968357,
-0.059675355,
-0.007346838,
0.023663864,
0.0072124666,
0.0010749699,
-0.057845,
0.004724783,
-0.024346614,
0.0067330883,
0.0018158274,
-0.01727215,
0.033498384,
0.0204099,
0.031609923,
-0.03561927,
-0.011708455,
-0.0114542395,
-0.0068747224,
-0.02457904,
-0.03550306,
0.011984461,
-0.008301963,
0.007866165,
0.032597736,
-0.012776162,
0.01929135,
0.041052226,
-0.01411261,
0.02367839,
0.04898376,
-0.03936714,
-0.023983449,
-0.006228288,
-0.005589117,
0.01138887,
0.01705425,
-0.0151948435,
-0.015587063,
-0.006217393,
0.09012315,
0.0145992525,
-0.015252951,
-0.020395374,
-0.056828134,
-0.060779374,
-0.017388364,
-0.03219099,
0.026627293,
0.0007217914,
0.029547144,
-0.023620283,
-0.00414735,
0.0036534448,
0.021325078,
0.02260342,
0.0074448925,
-0.026060754,
0.011679402,
-0.014904312,
0.075422205,
-0.012536473,
0.01433051,
-0.00055836694,
0.005342164,
0.042040035,
-0.051830977,
-0.025203684,
-0.0036570765,
0.0027927426,
0.0066096117,
0.006547874,
0.0336146,
0.038960394,
-0.018027535,
0.016923511,
-0.007096254,
0.019102504,
0.006428029,
-0.014664622,
0.03312069,
-0.028966079,
0.011606769,
0.013582389,
0.00022334677,
0.0053821127,
0.023751022,
0.013168381,
0.05034926,
-0.03649087,
0.006932829,
-0.004928156,
-0.0028326907,
-0.021049071,
-0.014860732,
0.021368656,
-0.03820501,
-0.04198193,
0.02677256,
-0.003925819,
-0.029663356,
-0.017431943,
-0.03338217,
0.029183978,
-0.019523777,
-0.022458153,
0.023489544,
0.027004985,
-0.008287436,
-0.0385827,
-0.0069800406,
0.029401878,
-0.040674534,
-0.010902228,
0.006587822,
-0.019814309,
0.005905071,
0.035880752,
0.047850683,
0.055549793,
0.045439266,
-0.01654582,
-0.031232232,
-0.00073949574,
0.057728786,
-0.019436616,
0.0072160983,
0.0359098,
0.035822645,
0.030709274,
0.030505901,
0.042998794,
0.049739145,
0.0057743313,
0.024898626,
0.035590217,
0.02187709,
0.0019501987,
0.0394543,
0.026656346,
0.036287494,
0.012863321,
-0.053690385,
-0.018143747,
0.05174382,
0.00926072,
0.02629318,
-0.08692729,
0.07158718,
0.013110274,
-0.017141411,
-0.020017682,
0.029503563,
0.0015879411,
0.06961156,
-0.0264675,
0.005251373,
0.0004378414,
0.013415333,
-0.0033810707,
0.032161936,
0.047589205,
0.05400997,
-0.0045395684,
-0.0154563235,
-0.0075974218,
-0.09111096,
-0.020279162,
0.0014644648,
-0.0834409,
-0.0034900203,
-0.01005242,
-0.007114412,
0.014475776,
-0.062290143,
-0.019669043,
-0.028181642,
-0.023692917,
0.0009020123,
-0.05281879,
0.0070780953,
0.06205772,
0.026380342,
-0.023126379,
0.00816396,
-0.03166803,
-0.010873174,
-0.0143014565,
-0.020598747,
-0.0046230964,
-0.0049644723,
-0.005970441,
-0.008759552,
-0.02161561,
-0.048112165,
-0.037071932,
-0.00019486099,
-0.045816958,
-0.03346933,
-0.0059486507,
0.028849866,
-0.04279542,
0.01248563,
-0.018928185,
-0.033236906,
0.024637146,
0.06711298,
0.010655276,
0.035212524,
-0.016603926,
0.009093664,
-0.0015770461,
0.074143864,
0.022792267,
0.020613274,
-0.04000631,
-0.012623632,
-0.010299373,
-0.0010168634,
-0.016647507,
-0.01990147,
-0.043579858,
0.048315536,
0.0031304865,
-0.069669664,
-0.00007666196,
-0.013270067,
-0.036374655,
-0.02032274,
-0.015950229,
0.023053745,
0.024637146,
0.04459672,
-0.055782218,
-0.018259961,
-0.016836353,
0.013393543,
-0.009275246,
-0.015921175,
0.054474823,
0.016836353,
0.0051496867,
-0.009115454,
0.031261284,
0.0009215324,
0.068158895,
0.00809859,
-0.0024549987,
-0.015601589,
0.024012502,
-0.018361647,
0.033207852,
0.057467308,
-0.057438254,
0.0047574677,
-0.032045722,
0.0036461814,
0.014069031,
0.042998794,
-0.043783233,
-0.020947386,
-0.0016850878,
-0.028559335,
0.01538369,
0.04375418,
0.05194719,
-0.036316548,
0.04854796,
-0.033411223,
-0.023867236,
0.008556179,
0.02080212,
-0.06170908,
0.051598553,
0.028733654,
0.059094287,
-0.005861491,
-0.038960394,
0.019945048,
-0.01215878,
0.033149745,
0.009224404,
0.01235489,
-0.026583714,
-0.035996962,
-0.05444577,
-0.029387351,
0.026206022,
0.003893134,
-0.024738833,
-0.015369164,
-0.00254579,
-0.03445714,
-0.0016687454,
0.031116018,
0.020874752,
0.054039024,
0.027687736,
0.009188087,
-0.005984967,
0.0042744577,
0.0012265914,
-0.03974483,
-0.053051215,
0.031609923,
0.046339914,
-0.022458153,
-0.028094482,
-0.015223897,
-0.015369164,
0.004252668,
-0.03312069,
0.044858202,
-0.038001638,
-0.019349458,
-0.02539253,
0.0013645943,
-0.070715584,
-0.014780835,
-0.052964054,
0.023620283,
0.059501033,
-0.041052226,
-0.00559638,
-0.031813297,
0.00044646658,
-0.006754878,
-0.03640371,
-0.039047554,
0.0163715,
0.041110333,
-0.011977198,
0.014889785,
0.02736815,
-0.028893447,
0.001904803,
-0.054474823,
0.007452156,
0.012979534,
0.0069945673,
-0.017344784,
-0.00010231053,
0.014250614,
-0.023140905,
0.009609358,
0.0052223196,
-0.024041556,
0.04825743,
0.012630896,
0.0063808174,
-0.03866986,
0.03166803,
-0.016487714,
0.021470344,
0.01727215,
0.012064357,
0.006010389,
-0.0014299641,
0.064904936,
0.031261284,
-0.034951046,
-0.046601396,
0.038175955,
0.018739339,
-0.017388364,
0.036171284,
0.009863575,
-0.016226234,
0.022676053,
0.03326596,
-0.024637146,
-0.035764538,
-0.028719127,
-0.034951046,
0.014889785,
0.0011811957,
-0.014163454,
-0.033788916,
0.034747675,
-0.041110333,
-0.033788916,
0.025755696,
-0.0038604492,
0.0030978017,
-0.010321164,
-0.012957744,
-0.02995389,
0.011904565,
0.0271212,
-0.03146466,
-0.018463334,
-0.014090821,
-0.056740977,
-0.05830985,
0.020903805,
0.03811785,
-0.0188265,
0.039192818,
-0.051104646,
-0.011592242,
0.008062274,
-0.030157262,
0.03829217,
-0.019393036,
0.037159093,
0.0003692939,
0.017010672,
0.0069074077,
0.0081421705,
-0.04206909,
-0.0041727712,
0.015267477,
-0.017068777,
-0.025116526,
0.00079714827,
-0.014192508,
0.06775215,
-0.03076738,
-0.06205772,
-0.007346838,
-0.017867742,
-0.007924271,
0.033324067,
0.016778246,
-0.015398216,
-0.0497682,
-0.0161536,
-0.007837111,
-0.059849672,
-0.040413056,
-0.031987615,
0.024738833,
0.0027346362,
0.018986292,
-0.0070127253,
-0.033149745,
0.012434786,
-0.05371944,
0.011490556,
-0.051075593,
-0.04924524,
-0.0031540922,
0.02462262,
-0.024056083,
0.015005998,
0.03872797,
-0.0081421705,
0.014185244,
0.031813297,
0.007670055,
0.0102267405,
-0.033498384,
-0.014359564,
0.050843168,
0.004397934,
-0.0015479929,
0.004143718,
-0.008483546,
0.044160925,
-0.037013825,
0.040384002,
0.003188593,
-0.048838496,
-0.018071115,
-0.002071859,
0.032975428,
-0.015717803,
-0.005258636,
-0.0056254333,
0.029125871,
-0.0056435918,
0.038553648,
-0.030709274,
-0.0089048175,
-0.03489294,
-0.028370488,
0.042940687,
0.0029125873,
0.028588386,
0.01529653,
-0.006228288,
0.043928497,
-0.04468388,
0.0093043,
0.039309032,
-0.00039426153,
0.004830101,
-0.017388364,
0.02295206,
0.013437123,
0.0141344005,
-0.009769152,
-0.0007848914,
-0.052702576,
0.032220043,
-0.009943471,
-0.022705106,
-0.02909682,
0.021804456,
0.061767187,
-0.044916306,
0.011584979,
0.012965008,
-0.07257499,
-0.023387857,
0.02749889,
0.007237888,
-0.019581882,
0.018928185,
0.031377498,
0.020685906,
0.049187135,
-0.029111346,
-0.008955661,
-0.02071496,
0.07937345,
-0.01332091,
-0.021150758,
-0.017025199,
0.021731822,
-0.019741677,
-0.011396133,
0.040471163,
0.011207287,
-0.022792267,
0.0069400924,
0.007822584,
0.0068747224,
-0.028007323,
0.004390671,
-0.0120498305,
0.036723293,
-0.018289015,
0.023925342,
0.014345037,
-0.06205772,
0.038146902,
0.052905947,
0.0050697904,
0.0045359368,
0.029750517,
0.03399229,
-0.039512403,
-0.021092651,
0.03239436,
-0.0111564435,
0.008984714,
0.08495167,
0.009573042,
0.06693866,
0.009957998,
-0.03776921,
0.0010658907,
0.021296024,
-0.02905324,
-0.0008121288,
0.0264675,
0.028385015,
0.029750517,
-0.044858202,
0.010589906,
-0.0011839195,
0.031609923,
-0.01654582,
-0.028849866,
0.060488842,
-0.04825743,
0.013132064,
0.010626222,
0.034050398,
0.013095748,
-0.0163715,
-0.018739339,
-0.036461815,
-0.005723488,
0.01753363,
-0.017722476,
0.025014838,
-0.039977256,
0.0053312695,
-0.04654329,
-0.020162947,
0.012965008,
-0.013284594,
0.046659503,
0.0025294477,
-0.043115005,
-0.02934377,
0.026264127,
0.021368656,
-0.0050588953,
0.02839954,
-0.05058169,
0.019146085,
0.007699108,
0.019538304,
0.0076264753,
0.006282763,
0.00009391233,
-0.034486193,
0.021296024,
-0.011839195,
-0.011802878,
-0.00058968994,
0.0073395744,
0.043463644,
-0.0067512463,
-0.00054247846,
-0.013887448,
-0.020308213,
-0.040703587,
-0.0039221873,
0.017373838,
-0.012950481,
-0.022864899,
0.056566656,
0.03364365,
0.020918332,
0.035648324,
0.0040238737,
0.014497566,
0.0020754908,
0.002651108,
-0.011926355,
0.033440277,
0.0103937965,
0.027019512,
-0.0003177698,
0.012260467,
0.07309795,
-0.027702263,
0.026787085,
0.022109514,
-0.019320404,
0.02260342,
-0.0044160923,
0.032249097,
0.05087222,
0.021136232,
-0.048286483,
-0.01345165,
-0.019785255,
-0.03829217,
0.009790941,
-0.05955914,
-0.035938855,
0.02659824,
-0.06054695,
-0.021005493,
-0.06136044,
0.008570706,
0.016662033,
-0.0082947,
0.026656346,
0.02905324,
0.018913658,
-0.030070102,
0.006965514,
-0.039425246,
0.01534011,
-0.014192508,
-0.005905071,
0.016792772,
-0.044625774,
0.049303345,
0.018245434,
-0.027615104,
-0.0135388095,
-0.0018140116,
-0.018274488,
-0.0032793842,
0.015412743,
-0.012761635,
0.02604623,
-0.074143864,
0.007764478,
0.00063326984,
0.02905324,
-0.041226547,
0.044015657,
-0.020526113,
-0.019073451,
0.0032793842,
-0.005872386,
0.011584979,
-0.01942209,
0.03657803,
0.00070045545,
0.03837933,
0.02887892,
-0.013306383,
0.013393543,
0.029227559,
0.043986604,
-0.0029616146,
0.05005873,
0.04770542,
0.02161561,
-0.023445964,
-0.00465215,
0.030622113,
-0.007648265,
0.030360635,
-0.018332593,
0.017838689,
0.023402384,
0.03346933,
0.011127391,
0.061825294,
-0.011708455,
-0.033672705,
0.0062646046,
0.023997976,
0.023111852,
-0.029503563,
-0.061767187,
0.018666705,
-0.0046013067,
0.04029684,
-0.03059306,
0.020744013,
0.041023172,
0.039541457,
0.0093696695,
0.012006251,
-0.010589906,
-0.016502239,
0.013894712,
0.007924271,
-0.020598747,
-0.011265393,
-0.03980294,
0.015078631,
0.025203684,
-0.034486193,
0.0349801,
0.008955661,
-0.015470849,
0.039715778,
-0.05903618,
-0.05758352,
-0.06205772,
-0.014795362,
-0.018143747,
-0.011708455,
0.057932157,
-0.034921993,
-0.031174125,
0.012877848,
-0.02780395,
-0.008323753,
0.028515754,
-0.008418176,
0.0062355516,
0.05264447,
0.0349801,
0.019131558,
0.021107178,
-0.0005915058,
-0.051337074,
-0.002683793,
0.0063299746,
0.010829595,
-0.026089808,
-0.07594517,
-0.027063092,
0.03425377,
0.04941956,
-0.020613274,
-0.05462009,
-0.027644157,
-0.005694435,
-0.022414574,
0.0021317813,
0.040238734,
-0.030128209,
-0.016894458,
-0.0111201275,
0.02793469,
-0.02995389,
-0.039861042,
-0.039686725,
0.051104646,
0.036171284,
0.012856058,
-0.013763972,
-0.0699602,
0.030447794,
0.005338533,
-0.0008879396,
0.011759299,
0.011715719,
0.016691085,
-0.0047393097,
0.010589906,
-0.048489857,
-0.021717297,
0.051540446,
0.056537602,
-0.0031341182,
0.0870435,
0.020133894,
0.0019156979,
0.02672898,
0.032365307,
0.03239436,
-0.024288507,
-0.0072015715,
0.039309032,
0.025087472,
-0.014962418,
-0.02951809,
-0.0349801,
0.039047554,
-0.00039108383,
-0.028283328,
-0.004158245,
0.011606769,
-0.072633095,
0.035590217,
-0.016342446,
0.003980294,
-0.0045504635,
-0.03265584,
0.0033810707,
-0.047763526,
0.25078756,
0.05677003,
0.018085642,
0.02732457,
0.021005493,
0.0068275114,
0.008803131,
0.0044959886,
0.009725572,
-0.012732582,
-0.0006028547,
-0.03201667,
-0.0052913213,
0.0050480003,
0.018274488,
0.030941699,
-0.068217,
-0.026307708,
0.017620789,
-0.01226773,
-0.037275307,
-0.00011456736,
-0.009914418,
0.004459672,
0.0071834135,
0.0029725095,
0.005505589,
-0.02157203,
0.025305372,
-0.014047241,
0.038263116,
-0.012718055,
0.051714767,
-0.018681232,
0.010909491,
0.026874246,
-0.010255793,
-0.030709274,
0.003504547,
0.012906902,
0.027484365,
-0.035648324,
0.062464464,
-0.038698915,
-0.018957239,
0.024680726,
-0.0012066173,
-0.039483353,
0.006892881,
-0.023518598,
0.033004478,
-0.059675355,
-0.012209624,
-0.024608094,
-0.034399036,
-0.013713129,
-0.026743507,
-0.063219845,
0.016516766,
-0.016923511,
0.017998481,
0.044335242,
-0.010582643,
-0.026206022,
-0.058426064,
0.047676366,
-0.011853722,
0.029750517,
-0.031435605,
-0.040064417,
-0.008926608,
-0.013720392,
0.0069909357,
0.009899891,
0.03553211,
0.011330763,
0.028385015,
0.02165919,
0.007495736,
-0.065776534,
0.010546326,
-0.006388081,
-0.021368656,
-0.019669043,
0.02054064,
0.045410212,
-0.048228376,
0.019930521,
-0.0007830756,
0.02578475,
0.034311876,
0.010974861,
-0.0099289445,
0.0011439712,
-0.005723488
] | Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with Swin Transformer.
[SwinForImageClassification] is supported by this example script and notebook.
See also: Image classification task guide
Besides that:
[SwinForMaskedImageModeling] is supported by this example script. |
[
0.030926397,
-0.021712791,
0.01934997,
-0.020650221,
-0.023264702,
-0.037497558,
-0.006896223,
0.019266082,
0.025543638,
0.09412138,
0.062244266,
-0.0051276023,
0.0269837,
-0.034337807,
-0.010457931,
0.034477618,
0.03869994,
-0.028367838,
-0.05242947,
-0.030814547,
0.0148620065,
-0.0149039505,
-0.09993756,
-0.0541911,
-0.01593856,
0.0103950165,
0.028353857,
-0.012485204,
0.040657304,
0.011059123,
-0.022216113,
-0.011198935,
-0.002086693,
-0.026452415,
-0.023096928,
-0.0068542794,
0.036183324,
-0.026578246,
-0.02298508,
-0.06476088,
0.039343074,
-0.022915173,
0.015630972,
-0.03615536,
-0.008906019,
-0.026438434,
0.008053167,
0.023991724,
-0.012401317,
-0.045690536,
-0.0050262385,
0.023851912,
-0.0025463246,
-0.011156991,
-0.047787715,
-0.005669373,
0.000238991,
-0.03014345,
-0.0057148123,
0.0149598755,
0.025767336,
0.015197556,
-0.013170282,
-0.07208703,
-0.0035966616,
0.017448528,
-0.021922508,
-0.0013264656,
-0.0007689656,
-0.0068682604,
-0.01855304,
0.02509624,
-0.004610298,
-0.0076057683,
-0.005082163,
-0.0015099688,
0.025767336,
0.011129029,
-0.02441116,
0.07779135,
-0.02227204,
0.032715987,
0.0075638248,
-0.009311474,
-0.027403137,
-0.02452301,
0.038755864,
0.011094076,
0.02509624,
-0.0064697964,
-0.0072212857,
0.02826997,
-0.035456304,
0.016162258,
0.006053856,
0.03649091,
-0.011513512,
0.028074233,
-0.021992415,
-0.0011420886,
0.027403137,
0.09451286,
-0.013596709,
0.018259436,
-0.03598759,
-0.007983261,
0.03671461,
-0.016008465,
-0.0073471162,
-0.031233983,
0.0148060825,
-0.016581694,
0.008808151,
0.022593606,
-0.0030548903,
0.007962288,
0.03755348,
0.021139562,
-0.0328558,
-0.04336966,
0.016847337,
0.0031055722,
-0.04647348,
-0.03321931,
-0.010506866,
-0.0050996398,
0.015491161,
0.055421446,
-0.032660063,
-0.032100815,
0.0098497495,
-0.054834235,
0.011520502,
0.05502997,
-0.011045141,
0.017294735,
0.0072212857,
0.018329343,
0.01817555,
-0.02498439,
-0.019196177,
-0.0024327275,
-0.0153233865,
0.097980194,
0.00054788793,
0.011066114,
0.0053687776,
-0.023152854,
-0.043257806,
-0.0033659718,
-0.0152534805,
-0.03145768,
0.008262885,
0.03363875,
-0.006018903,
-0.0038413324,
-0.016357994,
0.039035488,
-0.0012915126,
0.020496428,
-0.013072414,
0.009786834,
-0.038755864,
0.06263574,
-0.028661443,
0.041608028,
-0.023893857,
-0.026732039,
-0.005889577,
-0.036099438,
0.013652634,
-0.000097103744,
-0.0048864265,
0.005082163,
0.035959624,
0.031094171,
0.04331373,
0.037609406,
0.026732039,
0.02392182,
-0.012750847,
0.021908527,
0.02322276,
0.029276615,
0.021069655,
-0.0017231819,
0.0018944514,
0.0036176334,
-0.0030146944,
-0.0029168262,
0.043677244,
0.03601555,
-0.013743511,
0.01384138,
-0.01725279,
0.0050996398,
-0.024690785,
-0.0061796866,
-0.0056449063,
-0.03106621,
-0.03579185,
0.0096819755,
-0.017812038,
-0.0027805094,
-0.04163599,
0.0024082602,
-0.012422289,
0.024341255,
-0.024942447,
0.040405646,
0.05653994,
0.005008762,
-0.06761304,
0.000108627304,
0.038224578,
-0.039119374,
-0.03710608,
-0.010709593,
-0.0042677587,
0.0032820848,
0.028018309,
0.04683699,
0.049465455,
0.013596709,
-0.037413668,
0.014044107,
0.00880116,
0.06845192,
-0.01747649,
0.0027805094,
-0.002235243,
0.025026333,
-0.017238809,
0.051702447,
0.03861605,
0.0066690287,
0.040489532,
0.039259188,
-0.011737211,
0.01536533,
0.000010581469,
0.08500565,
0.007941317,
0.068955235,
0.016735487,
-0.036211286,
0.0094862385,
0.033946335,
0.023991724,
0.0042887307,
-0.05055599,
0.071471855,
0.0148200635,
0.0042677587,
-0.030646773,
-0.005900063,
0.019000439,
0.050052665,
-0.06610308,
-0.017546395,
-0.027109532,
-0.0020831975,
-0.026494358,
0.0097798435,
0.043062072,
0.011625361,
-0.0034620927,
-0.025347902,
0.013442916,
-0.05536552,
-0.026074924,
-0.013051443,
-0.08998295,
-0.0039357054,
-0.020118935,
-0.012932602,
0.030115487,
-0.05326834,
0.018916553,
-0.05268113,
-0.00073051726,
0.0101153925,
-0.05242947,
0.02569743,
0.039398998,
-0.0073610977,
-0.015910596,
0.02804627,
-0.013498841,
0.0077246083,
-0.017881945,
-0.02628464,
0.0017345416,
-0.012296458,
-0.027990347,
-0.0030304233,
0.007836458,
-0.021894546,
-0.020692164,
0.010835424,
-0.06554383,
-0.011946929,
-0.012366364,
-0.02239787,
-0.018469155,
0.028717369,
-0.02709555,
-0.026955739,
0.038644016,
0.04806734,
-0.037637368,
0.035959624,
0.0049563325,
0.03128991,
-0.024019688,
0.06850784,
0.019168215,
0.0066585424,
-0.024075612,
-0.0068577747,
-0.029080879,
-0.0072842008,
-0.00434116,
-0.030451035,
-0.03540038,
0.033387087,
0.03204489,
-0.08578859,
-0.0030059563,
0.0009280016,
-0.01219859,
-0.017644264,
-0.047591977,
0.02474671,
0.0148620065,
0.018497117,
-0.057071224,
-0.0049912855,
-0.04269856,
0.008961944,
0.0146383075,
-0.028479688,
0.016805392,
0.030115487,
-0.03495298,
0.0016392948,
0.023795988,
-0.038000878,
0.023404514,
-0.01653975,
-0.012212571,
0.004515925,
0.023837931,
0.023684138,
0.022831285,
0.028591538,
-0.06968226,
0.0147082135,
0.011939938,
-0.019070346,
0.0148759885,
0.05667975,
-0.01796583,
-0.03752552,
-0.004141928,
-0.05704326,
0.010541819,
0.013659624,
0.07628138,
-0.03179323,
0.009332445,
-0.018315362,
-0.03777718,
0.0100454865,
0.008123073,
-0.04096489,
0.06509643,
0.023600252,
0.039538812,
-0.03201693,
-0.044152603,
0.0063020224,
-0.047452167,
0.056120504,
0.015798748,
0.033303197,
-0.023068966,
-0.05922433,
-0.049801007,
-0.026438434,
0.001648033,
-0.0145404395,
-0.01244326,
-0.02676,
-0.04331373,
-0.03439373,
0.015658936,
0.048766397,
0.021181505,
0.048151225,
-0.010919311,
-0.03472928,
0.025641507,
0.015001819,
-0.013414954,
0.020706145,
-0.0419995,
0.060230974,
0.008640377,
-0.0026249688,
-0.012450252,
-0.008528527,
-0.01701511,
0.023544326,
0.00071304076,
0.0532963,
-0.024732728,
-0.027151475,
-0.030311223,
0.02804627,
-0.048151225,
-0.009605079,
-0.035735928,
0.02803229,
0.016483825,
-0.07611361,
-0.02206232,
-0.040489532,
0.016819375,
-0.010080439,
-0.050528027,
-0.030926397,
0.025543638,
0.019839311,
-0.058217682,
0.0099615995,
0.025501695,
-0.031178057,
-0.007885392,
-0.025529657,
-0.014596364,
0.003928715,
-0.03436577,
0.010849405,
-0.010492885,
0.0066690287,
-0.008395705,
0.0032471318,
-0.0153932925,
-0.021642884,
0.039091412,
-0.0061517246,
-0.010402007,
-0.0415521,
0.020790033,
-0.0046976805,
0.0150297815,
-0.0066445614,
0.020482445,
0.011688276,
-0.007983261,
0.028563576,
0.0074449847,
-0.051674485,
-0.026354546,
0.04585831,
-0.010374044,
-0.009213605,
0.043481506,
0.018804703,
-0.011911975,
0.033303197,
0.029248653,
-0.03190508,
0.0072842008,
-0.022719437,
-0.0019940676,
0.013981191,
-0.01653975,
-0.008640377,
-0.017071035,
0.058497306,
-0.010772509,
-0.034645393,
0.025417807,
-0.0010721827,
-0.002768276,
0.008843103,
-0.023684138,
-0.01593856,
-0.01068163,
-0.015603011,
0.0074170223,
-0.034197994,
-0.04471185,
-0.062412042,
-0.03299561,
0.026494358,
0.01349185,
-0.008815141,
-0.000014185995,
0.005183527,
-0.05407925,
0.010709593,
-0.037497558,
0.01737862,
-0.0149878375,
0.027067587,
0.019280063,
0.037861068,
-0.03928715,
-0.006637571,
-0.011150001,
-0.00075891655,
0.009234577,
0.0018332838,
0.0037504546,
-0.02227204,
0.0043691224,
0.05687549,
-0.02944439,
-0.07974872,
-0.030590847,
0.013044452,
-0.0076267403,
0.055924766,
0.018399248,
-0.036630724,
-0.046948843,
-0.0058371476,
-0.0017651254,
-0.053044643,
-0.009346426,
-0.02723536,
-0.029500315,
-0.0075358623,
0.029863825,
0.0149179315,
-0.05502997,
0.007829468,
-0.05877693,
0.013352038,
-0.056959376,
-0.0227474,
0.00055356784,
-0.0076267403,
-0.021852603,
0.052485395,
0.013345048,
-0.0150437625,
0.006745925,
0.027319249,
0.012527148,
0.021181505,
-0.014596364,
-0.010723574,
0.021782696,
0.0027368183,
-0.03615536,
0.03777718,
-0.011576427,
0.04918583,
-0.043705206,
0.024313293,
0.026913794,
-0.016917242,
-0.01348486,
-0.018678872,
0.045327023,
-0.026536303,
0.034533545,
-0.019531725,
0.031345833,
0.0031247963,
0.03095436,
-0.01855304,
-0.006123762,
-0.03601555,
-0.05995135,
0.031709343,
-0.018021757,
0.0145544205,
-0.01711298,
0.0049388562,
0.04152414,
-0.04060138,
0.0073051727,
0.060119126,
0.021866584,
0.028409781,
-0.03344301,
0.0091437,
0.016707525,
0.0033327667,
0.0028906113,
0.025837243,
-0.05125505,
0.0021268888,
0.0053303293,
-0.020370597,
-0.044292416,
0.027109532,
0.054135174,
-0.014358684,
0.019112289,
0.024103574,
-0.08299235,
-0.0047081662,
0.03965066,
0.026522322,
-0.022831285,
0.014044107,
0.02041254,
0.05349204,
0.018972477,
-0.011163982,
-0.021167524,
-0.008493574,
0.05547737,
0.008647367,
-0.019587649,
0.02933254,
0.027025644,
-0.07913355,
-0.062244266,
-0.004037069,
0.024942447,
-0.0150158005,
0.0020849453,
0.009912665,
-0.013708559,
-0.021978434,
0.017518433,
-0.0027962383,
0.010765518,
-0.0067738877,
-0.024089593,
-0.029304579,
-0.04597016,
0.044040754,
0.05877693,
-0.002534091,
-0.017895926,
-0.048291035,
-0.021181505,
-0.031233983,
0.0041104704,
0.030926397,
0.028479688,
0.037721254,
0.037637368,
0.010283167,
0.0718074,
-0.007892382,
0.023879876,
0.0097518815,
-0.023754045,
-0.059783578,
-0.018581005,
0.014141976,
0.011254859,
0.034337807,
-0.021866584,
0.017434547,
0.019853292,
0.05749066,
-0.00030081408,
-0.028074233,
0.0100454865,
-0.06487273,
0.016120315,
0.02944439,
-0.006225126,
0.012659969,
-0.009094765,
0.006721458,
-0.03883975,
-0.00973091,
0.01653975,
0.0097798435,
0.0056484016,
-0.019881254,
-0.00773859,
-0.05570107,
-0.0068822415,
0.020496428,
0.004865455,
-0.0075568343,
0.009577116,
-0.03802884,
-0.022034358,
-0.009045831,
0.028829217,
0.013414954,
0.016288089,
-0.03554019,
0.0034778214,
-0.019182196,
-0.0003230966,
-0.009101756,
0.056344204,
0.0009612069,
-0.058832854,
0.013946239,
-0.0072702197,
0.011415643,
-0.011450596,
-0.0063299844,
0.037357744,
-0.009290502,
-0.021712791,
0.024019688,
-0.0015554075,
-0.042894296,
-0.0145404395,
0.008339781,
0.020258747,
0.028941067,
0.01407906,
-0.013638653,
0.049325645,
0.029751977,
0.012848715,
0.01090533,
0.0072562387,
-0.0023907837,
-0.020454483,
0.022034358,
0.0004227126,
0.01853906,
-0.031625457,
0.039454922,
0.060846146,
-0.037469596,
0.023837931,
-0.011150001,
-0.024075612,
-0.01571486,
-0.005375768,
0.028717369,
0.051338937,
0.029108841,
-0.009542163,
-0.032296553,
-0.016120315,
-0.020790033,
-0.0052464423,
-0.06722157,
-0.051702447,
0.0057078213,
-0.077623576,
-0.0018140597,
-0.037469596,
0.007214295,
0.012478214,
-0.014442571,
-0.0032488795,
0.025180126,
0.023250721,
-0.0035861756,
0.010604734,
-0.06934671,
-0.024536991,
0.02944439,
-0.024215424,
-0.0077455803,
-0.04001417,
0.018958496,
0.04703273,
0.026676115,
-0.001662888,
-0.019727461,
0.02569743,
-0.0032733465,
0.046137933,
-0.02663417,
0.02195047,
-0.047815677,
0.029164767,
-0.024690785,
0.015575048,
-0.036546834,
0.03615536,
0.032436363,
-0.015798748,
0.0009148942,
0.021405205,
0.02709555,
-0.058609158,
0.042614672,
0.0016060894,
0.02793442,
0.028214045,
-0.019140251,
0.0009830525,
0.05044414,
0.06464903,
0.057658434,
0.031038245,
0.038420316,
0.024327274,
-0.028829217,
-0.011059123,
0.013317085,
0.0075358623,
0.009954609,
0.007948307,
-0.011150001,
0.008318809,
-0.0007488676,
0.0016856075,
0.0031387776,
-0.022691475,
-0.01361768,
-0.022481756,
-0.0113737,
0.050611913,
-0.0454948,
-0.0602869,
0.0021321317,
0.022327963,
0.044152603,
0.0015973512,
0.018581005,
0.029220691,
0.02757091,
0.04750809,
0.0035232604,
-0.0041628997,
0.0011176215,
0.015351349,
0.020552352,
-0.0019224138,
-0.013296113,
-0.023656176,
0.0023628215,
-0.011450596,
-0.028297933,
0.024061631,
0.005630925,
-0.0022771866,
0.01571486,
-0.016344013,
-0.01078649,
-0.07191925,
-0.00022610209,
-0.039482884,
0.032072853,
0.05525367,
-0.012331411,
-0.03615536,
0.017937869,
-0.03791699,
-0.01582671,
0.034701318,
0.05452665,
0.022901192,
0.06604715,
0.032771915,
0.026815927,
-0.004949342,
0.035512228,
-0.01102417,
-0.0078015053,
0.006183182,
-0.009563135,
0.024914484,
-0.047564015,
-0.060454674,
0.047088653,
0.028325895,
-0.03707812,
-0.031345833,
-0.009954609,
0.022929154,
-0.046361633,
-0.03187712,
0.0541911,
-0.012366364,
0.0050961445,
-0.011282822,
-0.007668684,
-0.04295022,
-0.0020797022,
-0.05623235,
0.0239358,
0.017812038,
0.0150158005,
-0.03576389,
-0.018818684,
0.018455174,
-0.0072842008,
-0.008241912,
-0.0066445614,
0.031038245,
0.016735487,
0.04068527,
0.029080879,
-0.026620189,
-0.01641392,
0.01652577,
0.08657154,
0.025977055,
0.03892364,
0.06403386,
-0.028423764,
0.008598433,
0.02511022,
0.0026721554,
-0.013072414,
-0.0037364736,
0.03156953,
0.02028671,
-0.038000878,
-0.04387298,
-0.045774423,
0.038504202,
0.0147921005,
-0.030646773,
-0.016987149,
0.004260768,
-0.07896577,
-0.016260127,
-0.028605519,
0.013345048,
0.008731254,
-0.0072842008,
0.0034830645,
-0.055225708,
0.23130484,
0.049717117,
0.018455174,
0.036295176,
0.017993795,
0.031345833,
0.027794609,
-0.04857066,
-0.0030898433,
-0.04328577,
0.017574359,
-0.028479688,
-0.007179342,
0.028577557,
0.024690785,
0.035288528,
-0.06990596,
-0.05326834,
0.011625361,
-0.023586271,
-0.050863575,
0.019000439,
-0.0073960503,
0.061013922,
0.01666558,
0.025236052,
0.019154232,
-0.039119374,
0.017784076,
-0.01701511,
0.028563576,
-0.010066458,
0.034701318,
-0.031150095,
-0.023390533,
0.011632351,
-0.016050408,
-0.037805144,
0.02369812,
-0.02109762,
0.000049261856,
-0.026955739,
0.017574359,
-0.0105558,
-0.05502997,
0.06520828,
0.023782007,
0.0053058625,
0.047564015,
-0.053575926,
0.022551663,
-0.0143447025,
-0.005466646,
-0.03825254,
-0.047340315,
-0.0058371476,
-0.02346044,
-0.061069846,
0.056623828,
-0.0062495926,
0.03520464,
0.037217934,
-0.0023366066,
0.007983261,
-0.050863575,
0.032128777,
-0.011506521,
0.006137743,
-0.036882386,
-0.03246433,
0.0038133701,
-0.002913331,
-0.016945204,
-0.0065781507,
0.060846146,
0.021069655,
-0.0014811325,
0.03755348,
0.045354985,
-0.03481317,
-0.0037644359,
-0.021405205,
-0.021908527,
-0.029863825,
0.020608276,
0.066606395,
-0.06039875,
-0.00036460327,
-0.011478558,
0.016749468,
0.007542853,
0.040797118,
-0.017993795,
0.01607837,
0.0052813953
] | Besides that:
[SwinForMaskedImageModeling] is supported by this example script.
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
SwinConfig
[[autodoc]] SwinConfig |
[
-0.008752822,
-0.031912204,
-0.013743467,
-0.015984021,
0.036295597,
-0.005095343,
0.018413035,
0.027012298,
-0.0075662355,
0.05717952,
0.013171113,
0.013771386,
0.03755198,
-0.02057681,
-0.00982075,
0.03378282,
0.013359571,
-0.02604907,
-0.038138293,
-0.03596056,
0.031744685,
0.027417134,
-0.084931694,
-0.04056731,
-0.011956607,
0.026188668,
-0.0027134446,
-0.0045299693,
0.041684095,
0.017044969,
-0.036937747,
-0.046932995,
0.0041565434,
-0.010462903,
-0.07750505,
-0.0005383265,
0.009771891,
-0.022614948,
-0.030851256,
-0.059524775,
0.01968338,
0.0056956164,
0.0214842,
-0.035095047,
-0.021274803,
-0.022056554,
0.018371155,
-0.015146431,
-0.026314307,
-0.018538672,
-0.032833554,
0.0083061075,
-0.02603511,
-0.032889392,
-0.022475349,
-0.045369495,
0.014392599,
-0.0036504993,
-0.0025180068,
-0.009541553,
0.017491685,
0.045118216,
-0.016779732,
-0.053103246,
0.012661579,
-0.001656859,
-0.015984021,
-0.010993377,
0.010539683,
-0.007370798,
-0.014015684,
0.030097425,
0.0129128555,
-0.0032875433,
-0.031828444,
0.047686826,
0.046123326,
0.025434837,
0.008571344,
0.058463827,
-0.041684095,
0.027082097,
0.0064354884,
0.009799811,
-0.02061869,
-0.059301417,
0.043694314,
-0.017324166,
-0.007880332,
-0.05807295,
-0.016221339,
0.032079723,
-0.026607463,
0.010881699,
0.032749794,
0.046151243,
0.012249763,
0.01613758,
-0.028924797,
-0.011272574,
0.011488952,
0.05642569,
0.0052698413,
0.012466141,
-0.06527623,
0.02959487,
0.049752884,
-0.012005466,
-0.0072102593,
-0.066728055,
-0.0046381583,
-0.015914222,
0.012410302,
0.0045264796,
-0.00020612583,
-0.0251696,
0.013687627,
0.007712814,
0.00894826,
-0.018077997,
-0.014923073,
0.009953368,
-0.0017798801,
-0.028059287,
-0.015956102,
-0.029706549,
0.052544855,
0.0377195,
-0.016807653,
-0.03596056,
0.033838663,
-0.037133187,
0.024471607,
0.04014851,
-0.026565583,
0.008292148,
-0.001028666,
-0.012389362,
0.011691369,
-0.014259981,
0.031186292,
-0.00090913486,
0.019515863,
0.07488061,
0.009632292,
-0.019334383,
0.001030411,
-0.026370145,
-0.057039924,
-0.010714181,
-0.014211121,
0.00097631663,
-0.013680647,
0.0126964785,
-0.021177083,
-0.022042595,
-0.025755912,
0.0021271312,
0.000982424,
0.039087564,
-0.025295237,
-0.010323305,
-0.023466498,
0.064885356,
-0.01072116,
0.02945527,
-0.004306612,
0.010560622,
0.032666035,
-0.019809019,
0.008110669,
-0.021149164,
0.0061039417,
0.014434479,
0.044252705,
0.02590947,
0.061255798,
0.012836076,
0.033643223,
0.020995606,
0.0065715965,
0.016249258,
0.011132976,
0.02145628,
-0.008466645,
0.010560622,
-0.007852413,
0.008347987,
0.0056223273,
0.01619342,
0.04020435,
0.043219678,
-0.0146857565,
0.008278187,
-0.02684478,
-0.005576958,
-0.041432817,
0.010560622,
0.00984867,
-0.021553999,
-0.05100927,
0.029790308,
-0.029706549,
-0.024080731,
-0.045927886,
-0.002488342,
0.0006604751,
0.0016524965,
-0.023871334,
0.01710081,
0.03760782,
-0.026523704,
-0.047966026,
-0.013959845,
0.034732092,
-0.02056285,
-0.017086849,
0.02149816,
-0.013338631,
-0.0092763165,
0.038780447,
0.051372226,
0.06388025,
0.015942141,
-0.027863849,
-0.03598848,
0.0005583938,
0.05556018,
0.00040112738,
0.022545148,
0.01253594,
0.048747774,
0.0029280772,
0.017966319,
0.020130096,
0.015718784,
0.008578325,
0.004219363,
0.0100510875,
0.0060201827,
-0.0018898139,
0.037244864,
0.023075622,
0.066728055,
0.004575339,
-0.0052523916,
-0.036072236,
0.029315673,
0.019264584,
0.0060515925,
-0.06108828,
0.047072593,
0.0030589509,
-0.004575339,
-0.035290487,
-0.00222136,
0.009443834,
0.03554176,
-0.03235892,
0.007880332,
0.01693329,
-0.014518238,
-0.003940166,
-0.011768148,
0.04581621,
0.035206728,
0.014532198,
-0.023899253,
-0.020116135,
-0.09917073,
-0.022963943,
-0.027361294,
-0.09861234,
-0.016346978,
-0.016305098,
0.007552276,
0.015481467,
-0.03339195,
0.018482834,
-0.02507188,
-0.018119877,
-0.0233269,
-0.026984379,
0.038752526,
0.037189025,
0.01613758,
-0.06360105,
0.024485568,
-0.06103244,
-0.021121245,
-0.013080374,
-0.020311574,
-0.011426132,
-0.017086849,
0.002130621,
-0.02061869,
-0.017742962,
-0.06940834,
-0.018706191,
0.005747966,
-0.05466675,
-0.05466675,
-0.026635382,
0.02056285,
-0.038194135,
-0.008613224,
-0.0021934405,
-0.045341574,
0.06365689,
0.08024118,
0.007824493,
0.05391292,
0.015174351,
0.025700074,
-0.018496793,
0.08521089,
0.036993586,
-0.008389866,
-0.034760013,
-0.023634017,
-0.046151243,
0.029985745,
-0.012822117,
-0.022251992,
-0.054164194,
0.01876203,
0.01877599,
-0.041907452,
-0.00802691,
-0.008124629,
-0.037077345,
-0.017407926,
-0.023424618,
0.02875728,
0.018482834,
0.042382088,
-0.061702512,
-0.039925154,
-0.01344333,
0.017170608,
-0.008410806,
-0.03512297,
0.014322801,
0.046905078,
-0.027375255,
-0.015662946,
0.053242847,
-0.036016397,
0.016640134,
-0.03470417,
0.014643877,
0.005458299,
-0.0016996111,
-0.008145569,
0.007936171,
0.03864085,
-0.034369137,
0.047826428,
0.011237674,
0.03230308,
0.029036475,
0.0135201095,
-0.03579304,
-0.0050883633,
-0.045285735,
-0.057849593,
-0.0005296016,
0.01518831,
0.070580974,
-0.019599622,
-0.019264584,
-0.04757515,
-0.0071299905,
0.011049217,
-0.0009326921,
-0.04668172,
0.044448145,
0.021009566,
0.0659463,
0.0003943656,
-0.04224249,
0.029120235,
0.0026453906,
0.04028811,
0.029706549,
0.013862126,
-0.0116285505,
-0.024387848,
-0.07767257,
-0.042465847,
-0.012207883,
0.021595879,
-0.012389362,
0.005475749,
-0.028841037,
-0.046765476,
0.005224472,
0.03953428,
0.011202775,
0.04754723,
-0.0044287606,
-0.046430442,
0.01894351,
0.008857521,
-0.039143402,
0.014246021,
-0.045425333,
0.022587027,
0.039255083,
-0.018133838,
0.007004352,
-0.021693598,
0.004840576,
0.026104908,
-0.010288405,
0.016291138,
-0.02246139,
-0.02593739,
-0.004840576,
0.06455032,
-0.05363372,
0.008829601,
-0.03830581,
-0.0044252705,
0.048915293,
-0.036155995,
-0.007601135,
-0.014713676,
0.021916956,
0.018929549,
-0.052516934,
-0.02590947,
-0.0013610848,
0.027040219,
-0.034397054,
0.06287514,
0.031018773,
-0.007950131,
-0.00045282245,
-0.032414757,
-0.010818879,
0.013924944,
-0.021246882,
-0.028561842,
-0.006540187,
-0.016905371,
-0.018343234,
0.0037866076,
-0.0065192473,
-0.024778724,
0.03046038,
-0.01715665,
-0.01693329,
-0.04941785,
-0.027165856,
-0.01876203,
0.03838957,
0.023857374,
0.0044148006,
0.024443688,
-0.025574435,
-0.011349353,
0.048859455,
-0.04207497,
-0.06510872,
0.050953433,
0.010825859,
0.008040871,
0.045090295,
0.019669421,
-0.025755912,
0.03489961,
0.042521685,
-0.05907806,
0.01078398,
-0.019376263,
-0.024136571,
-0.03230308,
-0.013185073,
-0.0012049091,
-0.05751456,
0.05818463,
-0.042410005,
-0.012124125,
0.0017327657,
-0.023159381,
-0.012947756,
-0.013938905,
-0.010253506,
-0.010225586,
-0.02246139,
0.020269694,
-0.02419241,
-0.0032788184,
-0.027361294,
-0.010574582,
-0.083814904,
0.046262924,
0.014218101,
-0.01972526,
0.006376159,
-0.03163301,
-0.048049785,
0.00029642857,
-0.014057563,
0.031493407,
0.012159024,
0.01072814,
-0.018650351,
0.018245516,
-0.045034457,
0.0015957847,
-0.009967329,
-0.018105919,
0.021121245,
0.011949627,
0.013904004,
-0.022084473,
-0.0071055605,
0.029901987,
-0.036993586,
-0.08007367,
-0.02783593,
0.052405257,
0.037914935,
0.009799811,
0.045229897,
-0.041544497,
-0.03414578,
-0.015062672,
-0.01606778,
-0.06829156,
0.020451171,
-0.03135381,
-0.006913613,
0.043331355,
-0.008187449,
0.010672301,
-0.06572295,
-0.0027029747,
-0.041516576,
-0.0063063595,
-0.04394559,
-0.047268033,
-0.00156961,
0.009471755,
-0.032917313,
0.06187003,
0.02512772,
-0.020339493,
-0.0022300852,
0.0043380214,
0.01799424,
-0.004365941,
-0.020814128,
-0.013673668,
0.015299989,
0.0066379057,
-0.00004828688,
0.013813266,
0.0053431303,
0.023047702,
-0.039115485,
0.015286029,
-0.0012686008,
-0.03051622,
-0.010183706,
-0.0071369703,
0.025825711,
-0.03138173,
0.03054414,
0.012570839,
0.051679343,
-0.002610491,
0.04405727,
-0.03154925,
-0.011139955,
-0.025769873,
-0.07024594,
0.037440304,
-0.04989248,
0.033419866,
0.03411786,
0.017142689,
0.07432221,
-0.017463764,
0.061479155,
0.036351435,
0.0136666875,
-0.0072940188,
-0.016388858,
0.04930617,
0.05639777,
0.0046939976,
-0.012382382,
0.0032404289,
-0.004648628,
0.037440304,
0.0024796173,
-0.038166214,
0.0022789445,
-0.0023714285,
0.022307832,
0.0042507728,
-0.0011560495,
0.02074433,
-0.06332185,
-0.022475349,
0.008662083,
0.026398065,
0.013959845,
0.03922716,
0.014001723,
0.013038495,
0.059692293,
0.0002909755,
-0.034089938,
-0.023508377,
0.04858026,
-0.0033608326,
-0.025797792,
0.006180721,
0.018231556,
0.0028216336,
-0.047603067,
0.01524415,
0.026495785,
-0.02590947,
-0.009513634,
-0.01162157,
-0.017687123,
-0.039729718,
-0.00026043833,
-0.00028181434,
0.032721873,
-0.0034096919,
0.01785464,
0.016877452,
-0.059357256,
0.007335898,
0.049529526,
-0.005116283,
0.009464774,
-0.045592852,
0.004592789,
-0.037775338,
-0.0068507935,
0.040874425,
0.020939765,
0.03688191,
0.061534993,
-0.008187449,
0.07125104,
-0.005744476,
-0.0025249869,
0.004205403,
0.016486576,
-0.042745043,
0.010414043,
0.023941133,
0.01260574,
0.010134847,
-0.043303438,
0.014253001,
0.031158373,
0.036128078,
-0.027137937,
-0.05807295,
0.012766277,
-0.022949984,
0.00066876377,
-0.0016306842,
0.016249258,
0.004187953,
0.005203532,
0.0028338484,
-0.00083366444,
0.02244743,
0.005479239,
-0.0042228526,
0.009904509,
-0.023033744,
0.0022771996,
-0.034006182,
-0.03386658,
-0.0069659622,
0.0043484913,
0.01247312,
-0.0030415012,
-0.06656054,
-0.026467865,
0.04313592,
0.00052829285,
-0.0072940188,
0.0023871334,
-0.023606097,
0.021679638,
-0.01343635,
0.016695974,
-0.00019358378,
0.05547642,
0.027486933,
-0.029371513,
0.022936024,
-0.0026994848,
0.014518238,
0.0072172396,
0.027542772,
0.02867352,
-0.0081595285,
-0.018887669,
0.0057689054,
-0.00083279196,
-0.034508735,
-0.004826616,
-0.03880837,
-0.012319562,
-0.004226343,
0.0343133,
-0.018119877,
0.029036475,
0.048273142,
-0.008592284,
-0.014273941,
0.010818879,
-0.0016935036,
-0.014699716,
0.01694725,
-0.0053361505,
0.03590472,
-0.018064039,
0.04372223,
0.076444104,
-0.022963943,
0.036937747,
0.020102175,
-0.034564573,
-0.015523347,
-0.00069232105,
0.04930617,
0.040986102,
0.016402816,
0.013143193,
-0.014259981,
-0.0026227057,
-0.016709933,
0.0018043099,
-0.04657004,
-0.014978913,
0.019934658,
-0.02424825,
0.000102190425,
-0.029259833,
-0.010937538,
-0.0066797854,
-0.012263723,
0.025602354,
0.044113107,
0.0048196362,
-0.0081595285,
0.0045264796,
-0.07761674,
0.0040413747,
0.023913214,
-0.009492694,
-0.011412173,
-0.03690983,
0.07303791,
0.044252705,
-0.008194429,
-0.0029402922,
-0.0324706,
-0.0017816251,
0.030962935,
0.026467865,
0.003765668,
0.008920341,
-0.056984086,
0.054778427,
-0.04830106,
-0.0018235047,
-0.028422242,
0.031912204,
0.013506149,
-0.011851908,
-0.014615957,
-0.010637402,
0.018887669,
-0.023955092,
0.032833554,
0.0048545357,
-0.017296247,
0.010372165,
-0.021177083,
-0.027626531,
0.092693366,
0.06181419,
0.03696567,
0.021693598,
0.0395622,
0.010560622,
-0.043778073,
0.017547524,
0.04740763,
-0.011935667,
0.048608176,
0.013401451,
-0.0015286029,
0.029818228,
0.015439588,
0.0016996111,
0.022768507,
-0.012815137,
-0.0069903918,
-0.017449806,
-0.008543424,
0.023257101,
-0.06315433,
-0.07510396,
-0.013401451,
0.009220477,
0.026733102,
-0.0017135709,
0.018706191,
-0.015551266,
0.027989488,
0.009506654,
-0.0049173553,
0.0047952062,
-0.014476358,
0.022684747,
-0.01167043,
0.025769873,
0.0021812257,
-0.03945052,
-0.022684747,
-0.006341259,
-0.03330819,
0.029901987,
0.013052454,
-0.03213556,
0.027026258,
-0.039199244,
-0.01257782,
-0.084931694,
-0.025644233,
-0.00984169,
0.043247595,
0.034536656,
-0.049278248,
-0.029818228,
0.040874425,
-0.029427351,
-0.0133735305,
0.006180721,
0.042410005,
0.017463764,
0.05550434,
0.009653232,
0.02419241,
-0.021079365,
0.031186292,
-0.03054414,
-0.017826721,
-0.009897529,
-0.023885293,
-0.0020904867,
-0.040874425,
-0.024499526,
0.01525811,
0.0141273625,
0.000015623029,
-0.04210289,
0.017826721,
0.009967329,
-0.01710081,
0.028129086,
0.028896878,
-0.031884283,
0.004069295,
0.016388858,
-0.014574077,
-0.06181419,
-0.044280626,
-0.056034815,
0.03414578,
0.021470241,
0.00535011,
-0.018050078,
-0.03221932,
0.0019177336,
0.026621424,
0.0060620625,
-0.008320067,
0.058743026,
0.022894144,
-0.010030148,
0.013136214,
-0.0045125196,
-0.021246882,
0.049836643,
0.05997149,
0.018217597,
0.0680682,
0.062428422,
-0.031102533,
0.008236308,
0.040790666,
-0.0008284295,
-0.008829601,
0.0026785452,
0.018036118,
0.027542772,
-0.03132589,
-0.03339195,
-0.03238684,
0.026314307,
0.019446064,
-0.03311275,
-0.007538316,
0.0162353,
-0.07432221,
0.0039890255,
-0.005500179,
0.04386183,
0.0013218228,
-0.015509387,
0.040678985,
-0.06187003,
0.23005824,
0.048552338,
0.034452897,
0.028464122,
0.019627541,
0.028352443,
0.004118154,
-0.010225586,
-0.02787781,
-0.020716408,
0.0087667825,
-0.023620056,
0.0075871754,
0.007356838,
0.01694725,
0.044252705,
-0.06901747,
-0.027235655,
0.01523019,
-0.037189025,
-0.06589046,
0.03043246,
-0.0015984022,
0.035206728,
0.021093324,
0.036491033,
0.026579544,
-0.05089759,
0.022307832,
-0.0069240825,
0.027431093,
-0.00986263,
0.024778724,
-0.001655114,
-0.024974162,
0.0016018922,
-0.01885975,
-0.026942499,
0.007238179,
0.004006475,
0.01968338,
-0.038277894,
0.040539388,
-0.03836165,
-0.034397054,
0.020981645,
-0.009618333,
-0.019934658,
0.05368956,
0.0003304557,
0.029706549,
-0.016319057,
0.0142879,
-0.059301417,
-0.061199956,
-0.0053989696,
-0.036128078,
-0.089175485,
0.018678272,
-0.0076430147,
0.037998695,
0.029064396,
0.0030694208,
0.010288405,
-0.021721518,
0.048859455,
-0.0020765269,
0.03487169,
-0.025239399,
-0.030935016,
0.013883065,
-0.0043415115,
-0.009248396,
0.0055176285,
0.008801682,
0.0018130348,
-0.008424766,
0.06734229,
-0.011495932,
-0.052712373,
0.007259119,
0.0045125196,
-0.015830463,
-0.061255798,
0.049836643,
0.03297315,
-0.030683737,
0.01968338,
-0.0140296435,
-0.004376411,
0.035011288,
0.057458717,
0.013240912,
-0.0040029855,
0.014713676
] | SwinModel
[[autodoc]] SwinModel
- forward
SwinForMaskedImageModeling
[[autodoc]] SwinForMaskedImageModeling
- forward
SwinForImageClassification
[[autodoc]] transformers.SwinForImageClassification
- forward
TFSwinModel
[[autodoc]] TFSwinModel
- call
TFSwinForMaskedImageModeling
[[autodoc]] TFSwinForMaskedImageModeling
- call
TFSwinForImageClassification
[[autodoc]] transformers.TFSwinForImageClassification
- call |
[
0.0075091706,
-0.031463005,
-0.059346218,
-0.0083342,
-0.0020625747,
0.011913991,
-0.005530497,
0.010026211,
0.021758415,
0.070309326,
0.0334207,
-0.043656666,
0.026904365,
-0.0029208155,
0.004264985,
-0.0054186285,
-0.0038279989,
-0.013927624,
-0.053249385,
-0.015535733,
0.0332529,
0.022779215,
-0.07461626,
-0.0021901748,
-0.040748086,
0.007523154,
0.0061422777,
0.015563699,
0.068295695,
0.02515642,
-0.024639029,
-0.041894738,
0.04634151,
-0.009760523,
-0.022974985,
-0.014752653,
0.023394492,
0.0017986351,
-0.060856443,
-0.043572765,
0.04178287,
0.053976532,
0.012151712,
-0.060241167,
-0.055095218,
-0.0050410726,
0.029141733,
-0.05778006,
-0.005649357,
-0.01961893,
-0.004111166,
0.001961194,
-0.008795657,
-0.024429275,
0.00093602436,
-0.04539063,
0.01938121,
0.048215307,
-0.033980045,
-0.037587803,
0.0068938937,
0.0033385744,
-0.023058886,
-0.010683438,
-0.0013633969,
0.033504605,
0.0069078775,
-0.004520185,
-0.013543075,
-0.0061667487,
-0.075063735,
0.0025380156,
-0.05702495,
-0.06460404,
0.010984085,
0.04681695,
0.022653364,
0.01575947,
0.0011851065,
0.0037720646,
0.024848782,
0.006470891,
-0.012906823,
-0.00013131434,
-0.016528565,
-0.0082433075,
0.025995433,
-0.05663341,
-0.030456187,
-0.018500246,
-0.018751951,
0.033588506,
0.019073572,
0.022066053,
0.04866278,
0.020625748,
-0.018360412,
0.02758956,
-0.0031865032,
-0.020024454,
0.029169701,
0.06577866,
-0.005121478,
0.01391364,
-0.032721523,
0.0080405455,
0.004827823,
-0.026596727,
-0.01977275,
-0.044327877,
-0.015899304,
0.0012567722,
0.034203783,
0.051543392,
0.024862764,
-0.0034172318,
-0.06963812,
-0.01914349,
-0.02087745,
-0.011913991,
0.014284204,
-0.0023474898,
-0.0028543936,
-0.014654769,
0.048802614,
-0.03294526,
0.0043104314,
0.03431565,
0.0066142227,
-0.017759118,
0.009802474,
0.0028054512,
0.018024806,
0.037867475,
0.027701428,
-0.009970277,
-0.008355175,
0.014431031,
0.055095218,
-0.009061345,
0.024820814,
-0.049306024,
0.013004708,
0.06577866,
-0.016081091,
0.01206781,
-0.043796502,
-0.02543609,
-0.08065716,
0.01942316,
-0.004195067,
0.00947386,
-0.004387341,
0.00636951,
-0.0058066724,
0.0051039984,
0.009117279,
-0.0046635163,
-0.005121478,
0.035630103,
0.010522627,
0.0012200654,
-0.041419297,
0.032581687,
0.008578912,
0.047935635,
-0.0052333465,
-0.041726936,
-0.024708945,
-0.006925357,
0.018528214,
0.027883213,
-0.038231045,
0.024904715,
0.054144334,
0.028372638,
0.053361256,
0.013151536,
-0.0060933353,
-0.027995082,
0.010914166,
-0.025841614,
-0.0026988266,
0.04030061,
0.0054151327,
0.020961352,
0.0068694227,
-0.006215691,
-0.021255007,
0.0145848505,
-0.005649357,
0.031826578,
-0.06712107,
0.019632915,
-0.05562659,
0.031099431,
-0.01092815,
-0.00026721705,
0.019688848,
-0.069470316,
-0.0018982679,
0.056857146,
-0.06270227,
0.01831846,
0.021912234,
0.001453416,
-0.0061807325,
0.036608953,
-0.028917996,
0.019856652,
0.0153119955,
0.0032773963,
-0.03149097,
-0.031854544,
0.025212355,
0.008208348,
-0.006921861,
0.038538683,
-0.0048208316,
0.008397127,
0.039769236,
0.015507765,
0.023576278,
-0.04013281,
0.007998595,
-0.037643738,
-0.03034432,
0.021982152,
0.056018133,
0.01905959,
0.004621566,
0.0415871,
-0.032357953,
0.03974127,
0.036133513,
-0.0008617367,
0.037643738,
-0.012850889,
0.021506712,
-0.008082496,
0.00076341484,
0.008467044,
-0.006823976,
0.016556531,
0.017353594,
0.009487844,
0.00658276,
0.016178977,
-0.030316353,
0.046956785,
-0.033280868,
0.057947863,
0.03093163,
-0.019814702,
-0.07746891,
-0.010242956,
-0.031379104,
0.012599185,
-0.0073413677,
-0.029729042,
0.013382264,
0.011934966,
-0.038650554,
-0.010026211,
0.039769236,
0.054060433,
0.022821166,
0.0436287,
-0.038007308,
-0.01725571,
-0.07741297,
-0.03837088,
-0.024065703,
0.001927983,
-0.021758415,
-0.04072012,
0.043656666,
0.009620688,
0.022695314,
-0.008397127,
0.033980045,
-0.0041181576,
0.0082433075,
0.06997372,
0.024708945,
0.013431207,
-0.04894245,
0.056074064,
-0.03876242,
0.014514932,
0.016556531,
-0.009229148,
0.03344867,
-0.02103127,
0.03730813,
0.018975688,
-0.019562997,
-0.046788983,
-0.01808074,
-0.008194365,
-0.0006795135,
-0.011186846,
0.030176517,
0.005460579,
-0.016766286,
0.036888625,
0.008187373,
-0.01194895,
0.051571358,
0.03196641,
-0.03907006,
0.01419331,
0.028218819,
0.047068655,
-0.027883213,
0.04933399,
0.010557586,
-0.008809641,
-0.04659321,
-0.04063622,
-0.027939148,
-0.021255007,
-0.009382967,
-0.056829177,
-0.040160775,
0.03227405,
-0.036189448,
-0.029617175,
0.024079686,
-0.042426113,
-0.027184036,
0.04256595,
-0.027533624,
0.067344815,
0.024890732,
0.07114834,
-0.007383318,
0.005862606,
-0.030512122,
0.011906999,
0.028862063,
-0.05822753,
0.025743729,
0.012711054,
0.023953835,
-0.006421949,
0.062310733,
0.016892137,
0.02956124,
-0.0051529408,
-0.015731502,
-0.01686417,
-0.010571569,
-0.0058661024,
0.01938121,
0.031351134,
-0.027212003,
-0.03722423,
-0.023380509,
0.0066212146,
0.035350434,
0.02947734,
-0.007669981,
-0.0066456855,
-0.027407773,
0.000054158972,
0.035406366,
0.0072504743,
0.036021642,
-0.041838802,
0.017004006,
-0.0014324407,
0.0027739883,
0.020220224,
0.011844073,
-0.03811918,
0.0036706838,
0.061192047,
0.0072924253,
0.000086741755,
-0.041559134,
-0.006215691,
0.04197864,
0.029784977,
-0.002116761,
0.001484005,
-0.021492727,
0.018220576,
-0.03434362,
0.0046914835,
0.018262526,
-0.019031622,
-0.012522276,
-0.0062017078,
-0.05420027,
0.006830968,
0.0065547926,
0.027533624,
0.014123393,
-0.004170596,
0.03820308,
-0.012627153,
0.010096128,
0.022303775,
-0.026484858,
-0.012683087,
-0.041894738,
0.018779919,
0.026862415,
-0.028190851,
-0.008697772,
0.027477691,
-0.04312529,
0.006484875,
0.00530676,
-0.031379104,
0.0052927765,
0.011144895,
-0.02016429,
0.067400746,
0.0130466595,
-0.059737757,
-0.039014127,
0.057556324,
0.06001743,
-0.035909776,
0.040020943,
-0.023800015,
0.03789544,
0.024541143,
-0.056157965,
-0.02563186,
0.01595524,
-0.022345725,
-0.024666995,
0.033560537,
0.052969716,
-0.02928157,
-0.015787436,
-0.06203106,
-0.0132144615,
-0.0033945085,
-0.0022216376,
0.016640434,
0.007907702,
-0.0051983874,
-0.01296975,
-0.035630103,
-0.027883213,
0.04972553,
-0.0011859805,
-0.042342212,
0.025729746,
-0.029505307,
0.0024663499,
-0.022177922,
0.00904037,
-0.0142632285,
0.033168998,
0.03288933,
0.0039608427,
-0.009536786,
0.0477958,
-0.03481906,
-0.051039986,
0.00016048318,
0.02468098,
0.012235613,
0.083901346,
-0.011809114,
0.007516162,
0.018835852,
-0.029812945,
-0.08994224,
0.016752303,
0.0048138397,
-0.016374746,
-0.0074672196,
0.017898954,
0.049557727,
-0.026442908,
0.04488722,
0.003915396,
-0.03101553,
0.017912937,
-0.066337995,
-0.044132106,
0.019562997,
-0.03568604,
-0.017269693,
0.0037266181,
-0.011858056,
0.012801947,
-0.03434362,
-0.005401149,
-0.012515284,
-0.007893718,
-0.012172687,
0.051319655,
0.033700373,
0.0023247665,
0.0024873253,
-0.058115665,
0.041810837,
-0.035490267,
0.017745133,
-0.05274598,
0.026862415,
-0.015857354,
-0.032413885,
-0.010851241,
0.021786382,
0.036497086,
0.005376678,
-0.013661936,
-0.01536793,
-0.029309537,
-0.013368281,
-0.017269693,
0.022121988,
0.022457594,
-0.04248205,
-0.009075329,
0.020625748,
0.03101553,
0.014291196,
0.027184036,
0.0046949796,
0.001954202,
-0.013599009,
0.029701076,
-0.03498686,
0.024708945,
-0.027114118,
-0.05531895,
0.028204836,
0.043404963,
0.022108003,
-0.040160775,
0.027477691,
-0.07148395,
-0.0150742745,
-0.07735704,
-0.042537984,
-0.013494133,
0.023800015,
-0.0098164575,
0.039098028,
-0.03266559,
-0.017157825,
0.025058534,
-0.013361289,
0.013473158,
-0.0026568759,
-0.0352945,
-0.023282623,
0.025855597,
0.014626801,
0.0043663657,
0.037056427,
0.002337002,
0.003918892,
0.024261473,
0.03266559,
-0.03375631,
0.006796009,
0.005296272,
0.020933386,
0.029029865,
-0.024247488,
0.025561944,
-0.015703535,
0.005719275,
0.017283676,
0.028484507,
0.000039793053,
-0.021241024,
-0.014445015,
-0.078028254,
0.020947369,
-0.052857846,
0.022653364,
-0.022625396,
-0.015927272,
0.011431558,
-0.04245408,
0.045838103,
0.03160284,
-0.0003028314,
0.009704589,
-0.081887715,
0.031267233,
0.019171458,
0.028666293,
-0.030064648,
0.00092815864,
-0.042202376,
-0.019353243,
0.010683438,
-0.045306727,
-0.0017461968,
0.0071945405,
0.011620336,
-0.018682033,
0.019660883,
0.015689552,
-0.018737966,
-0.033085097,
0.021884268,
-0.00027617527,
0.00083333266,
0.029113766,
0.018975688,
0.002401676,
0.045698266,
0.022513527,
-0.040552318,
-0.026876397,
0.0480475,
0.0028334183,
-0.029421404,
0.03479109,
0.018598132,
-0.027701428,
-0.053836696,
-0.039377697,
0.0250026,
0.027393788,
-0.019646898,
0.019241376,
-0.045782167,
-0.050620478,
-0.014165344,
0.0011667531,
0.02956124,
0.009068337,
0.038342915,
-0.010900183,
-0.06292601,
0.021003304,
0.039405666,
-0.04497112,
-0.04950179,
-0.017199775,
-0.029141733,
-0.0031165853,
-0.025995433,
0.055962197,
-0.029701076,
0.034567352,
0.009991252,
-0.0049536754,
0.04740426,
-0.032218117,
-0.013137552,
0.0026044375,
-0.009970277,
-0.068183824,
-0.017745133,
0.030176517,
-0.012759997,
0.020975336,
-0.00007882138,
0.053473122,
0.03297323,
0.026386973,
-0.018136675,
-0.056465603,
0.009795482,
-0.023100836,
-0.02928157,
0.0043104314,
0.009942309,
0.009515811,
-0.018989671,
-0.038147144,
-0.018654065,
-0.025226338,
0.0136199845,
-0.024694962,
0.008816633,
-0.04539063,
0.0034277195,
-0.043349028,
0.027645493,
-0.04069215,
-0.019087557,
0.0083621675,
0.0070931595,
-0.0072225076,
0.006037401,
-0.03635725,
0.019129507,
0.032749493,
0.04248205,
-0.051739164,
-0.009837433,
-0.069134705,
0.011697246,
-0.038650554,
0.021520695,
0.018751951,
-0.04905432,
0.034455486,
0.025492026,
-0.0023247665,
-0.0013336818,
-0.025533976,
0.02936547,
-0.03778357,
-0.012004884,
-0.019800717,
0.017381562,
-0.078084186,
-0.008690781,
0.007397302,
0.021003304,
0.023436442,
0.011109936,
0.038930222,
0.01662645,
-0.016738318,
0.050648443,
0.009480852,
0.020066405,
-0.023562293,
0.023352541,
-0.0062995926,
0.011410583,
-0.02519837,
-0.02016429,
0.042677816,
0.029337503,
-0.025757713,
0.0046914835,
0.02051388,
-0.016304828,
-0.011235788,
0.039433632,
0.0020188761,
0.05341719,
0.015088258,
0.0016474378,
-0.01427022,
-0.009285082,
-0.062254798,
0.012123744,
-0.033868175,
0.014500949,
0.011906999,
-0.06745668,
0.029029865,
-0.048886515,
-0.026498841,
-0.0011894763,
0.020905418,
0.01996852,
0.0031410565,
-0.0010706161,
-0.023562293,
0.015703535,
-0.034567352,
-0.03739203,
-0.025673812,
0.015899304,
-0.060297098,
-0.04410414,
-0.047711898,
0.035741974,
-0.012291547,
-0.0019926568,
-0.037084393,
-0.034623288,
0.03081976,
0.020625748,
-0.04866278,
0.036021642,
-0.035602137,
0.042342212,
-0.04681695,
-0.007830792,
-0.008571921,
-0.0028561417,
0.026960298,
-0.0018266022,
0.015465815,
0.034735158,
0.030176517,
-0.031714708,
0.0333368,
0.026205186,
0.04457958,
0.03207828,
-0.01497639,
0.025058534,
0.054787576,
0.007418277,
0.025310239,
-0.001043523,
0.04681695,
0.023730097,
-0.020485912,
-0.0031777634,
0.058786876,
0.046984755,
-0.00790071,
0.0062926007,
-0.056102034,
0.039293796,
0.027198019,
0.053752795,
0.029169701,
-0.026275104,
-0.011886024,
0.006823976,
-0.012214637,
0.026400957,
-0.009837433,
-0.025506008,
-0.04933399,
0.02036006,
0.03479109,
0.0032599168,
0.047767833,
0.021115173,
0.034623288,
0.043992274,
-0.03305713,
0.007523154,
0.0025170404,
0.020709649,
0.0031165853,
-0.0024593582,
-0.011620336,
0.0150742745,
-0.0106275035,
-0.05369686,
0.008998419,
0.04030061,
0.0036881634,
-0.02975701,
0.009389959,
-0.04457958,
-0.008830616,
-0.059569955,
0.027100135,
-0.062310733,
-0.027547609,
0.0065512965,
-0.015046308,
0.014431031,
-0.0057926886,
-0.04740426,
0.023436442,
-0.019842668,
0.04866278,
-0.0071560857,
0.075175606,
0.036077578,
0.02107322,
0.017269693,
-0.010438725,
0.0077538826,
-0.013004708,
-0.011529443,
0.009005411,
0.019982504,
-0.008837609,
-0.04751613,
0.025659828,
-0.0036147495,
0.013179502,
-0.044943154,
-0.02036006,
0.005869598,
-0.053668894,
0.0048173354,
0.04402024,
0.04119556,
0.033644438,
-0.029589208,
-0.05515115,
-0.06555492,
0.014109409,
0.027813295,
0.04547453,
-0.0028281745,
-0.043768536,
0.0045935987,
0.009180206,
0.011054002,
-0.018737966,
0.00290858,
0.027897198,
-0.01407445,
0.019744784,
0.01018003,
0.037364066,
-0.0050375764,
-0.054815546,
0.009977268,
0.02370213,
0.007935669,
0.08966257,
0.060297098,
0.011585377,
-0.031714708,
0.018052774,
-0.0031707718,
-0.019017639,
-0.032106247,
-0.02248556,
0.018779919,
-0.040552318,
-0.03384021,
-0.027337855,
-0.001518964,
-0.019171458,
-0.0057682176,
-0.011040019,
-0.040384512,
-0.031099431,
0.0084460685,
-0.040160775,
0.013319339,
-0.00023793896,
-0.03663692,
0.02142281,
-0.061919194,
0.23044902,
0.05565456,
0.025366174,
0.029449372,
0.035658073,
0.05719275,
0.036133513,
0.0007852641,
0.039629404,
-0.06617019,
0.005582935,
0.0130117005,
-0.0066736527,
-0.016752303,
-0.023492377,
0.056018133,
-0.048746683,
0.029589208,
0.0125013,
-0.042510014,
-0.026820464,
0.01080929,
0.022765232,
0.017857002,
-0.0021394843,
0.008250299,
-0.0150742745,
-0.061024245,
-0.0020346076,
-0.061192047,
-0.040496383,
-0.010312874,
0.04460755,
-0.021506712,
0.0054186285,
0.015004357,
-0.0050445683,
-0.024219522,
0.01647263,
0.03238592,
-0.016738318,
-0.031826578,
0.014654769,
0.009438901,
-0.03926583,
0.025044551,
0.016906122,
-0.03034432,
0.0051948917,
-0.048718713,
0.041950673,
-0.07651803,
0.020765582,
-0.020178273,
-0.043488864,
-0.019926568,
-0.040188745,
0.0028893526,
0.01961893,
0.017549364,
0.01151546,
0.0057996805,
-0.025729746,
0.007795833,
0.027771344,
0.0063310554,
-0.017157825,
-0.0038944208,
-0.025771696,
-0.0063939816,
0.024051718,
0.013654944,
0.0044083167,
-0.008474036,
0.021059237,
0.008858584,
-0.0076280306,
0.034147847,
-0.00479636,
-0.029113766,
-0.010585553,
0.00998426,
0.012634144,
0.012410407,
0.023800015,
0.01788497,
-0.038650554,
-0.014361113,
-0.015927272,
-0.00022286295,
0.018807884,
0.07249076,
0.0017287172,
0.021380858,
0.011375624
] | Perceiver IO architecture. Taken from the original paper
This model was contributed by nielsr. The original code can be found
here.
Perceiver does not work with torch.nn.DataParallel due to a bug in PyTorch, see issue #36035
Resources |
[
-0.0109604085,
-0.006951423,
-0.027078656,
-0.030837294,
-0.0131689515,
-0.035446428,
-0.016872719,
0.022455806,
-0.015116858,
0.031166518,
0.014088035,
-0.020192392,
0.04919152,
-0.009307431,
-0.0076407352,
-0.015103141,
-0.008985066,
-0.04356728,
-0.08625663,
-0.041783985,
0.03846431,
0.013868552,
-0.031797532,
0.0074418294,
-0.031166518,
0.0053361687,
0.012510504,
-0.0066599227,
0.08334849,
0.019533945,
-0.040960927,
-0.033059556,
0.018299356,
-0.033690568,
0.019424204,
-0.013360999,
0.037504077,
-0.02875221,
-0.029794753,
-0.045460317,
0.04469213,
0.022112863,
0.010850667,
-0.054376796,
-0.057065457,
-0.045350578,
-0.004914351,
-0.030069105,
0.0013040348,
0.0016092526,
-0.027380444,
0.013162092,
0.007530994,
-0.0152814705,
0.031550612,
-0.03964403,
-0.019136133,
-0.010747785,
-0.029438093,
-0.008408924,
-0.0151854465,
0.062442776,
-0.025789196,
-0.058711573,
0.017544884,
0.04373189,
0.019108698,
-0.009979595,
-0.017078483,
0.0043759327,
-0.025528561,
0.011852056,
-0.024143077,
-0.038162522,
-0.02787428,
0.0026697991,
0.032538284,
-0.003372829,
0.009787548,
0.026337903,
-0.023457194,
0.009581784,
-0.009183972,
-0.0050961096,
0.02026098,
-0.05533703,
0.038574055,
-0.037449203,
-0.009554349,
-0.023223994,
-0.0077230413,
0.021509288,
-0.02722955,
0.026337903,
0.047682576,
0.023470912,
0.014403541,
0.03947942,
0.0112141855,
0.00480118,
0.035748217,
0.09059141,
0.014787635,
0.03004167,
-0.05295016,
-0.0113719385,
0.040137865,
-0.012935751,
-0.0637048,
-0.047956932,
0.018669732,
-0.009581784,
0.014499564,
0.041125536,
-0.0323188,
0.034102097,
-0.0063821403,
-0.007825924,
-0.020453027,
-0.02085084,
-0.009506336,
-0.008978207,
0.012922034,
-0.06364993,
0.02652995,
-0.021536723,
0.04310088,
0.01651606,
-0.038107652,
-0.0059637516,
0.040906053,
-0.014705329,
0.00825803,
0.01839538,
-0.033114426,
0.03336134,
-0.052072227,
-0.015240317,
0.022167735,
-0.0004336066,
0.029492963,
0.0076750293,
0.00527101,
0.07050876,
0.00015571684,
0.04820385,
-0.04052196,
0.02828581,
-0.059315152,
0.00009264777,
-0.0032888085,
-0.0049897977,
0.002764108,
0.0020473604,
0.0032510848,
-0.053663477,
-0.02436256,
0.015555823,
0.004372503,
0.034595933,
0.024197947,
0.006461017,
-0.05915054,
0.033882614,
-0.01956138,
0.0475454,
-0.023512065,
-0.008340335,
-0.00971896,
-0.045185965,
0.016200554,
-0.008450077,
-0.009437748,
0.016762977,
0.0304532,
0.020521617,
0.05017919,
0.030178847,
0.00860783,
-0.019465355,
-0.004478815,
-0.00035301535,
0.032593153,
0.035446428,
0.0020885135,
-0.00109827,
0.016543495,
-0.017586038,
-0.05393783,
0.028477857,
0.022332346,
0.037970476,
-0.04087862,
0.01176975,
-0.022044275,
0.017956413,
-0.0072223465,
0.0073046526,
-0.0053670336,
-0.019067544,
0.00415988,
0.033772875,
-0.052785546,
0.029986799,
-0.0062038107,
0.0035322967,
0.0043759327,
0.050563287,
-0.03679076,
0.0318524,
0.027421597,
-0.0055796574,
-0.054376796,
-0.022647852,
0.06502169,
-0.043814197,
0.018848062,
0.028532729,
0.0003500146,
0.042305257,
0.034102097,
0.014705329,
0.043814197,
-0.020055216,
-0.026379056,
-0.015446083,
-0.011495397,
0.039616596,
0.013532469,
0.027078656,
0.02183851,
0.0050035156,
0.0023697254,
0.025569715,
0.008162006,
0.012352751,
0.031358566,
0.022647852,
0.029081434,
-0.025720607,
0.008306041,
0.018189615,
0.014568152,
0.019588815,
-0.015830176,
0.030892165,
0.003221935,
-0.02769595,
-0.011207326,
-0.021646464,
-0.05023406,
0.05388296,
0.027915433,
0.015885048,
-0.051962487,
-0.057778772,
0.028944258,
0.05264837,
-0.009389737,
-0.03871123,
-0.015583259,
0.0048183273,
0.026859174,
-0.017640907,
0.02963014,
0.06814932,
0.014801352,
-0.0059294575,
-0.011920644,
-0.041729115,
-0.043402668,
-0.047764882,
-0.06765549,
0.011810903,
-0.010336255,
-0.018189615,
0.0025686314,
-0.031770095,
-0.0005971468,
0.013024916,
0.022414653,
-0.031056777,
-0.006721652,
0.037970476,
0.031056777,
0.019629968,
-0.02576176,
0.029849622,
-0.04908178,
0.019849451,
0.04403368,
-0.041482195,
-0.02921861,
-0.0012568804,
0.011584562,
0.018463967,
-0.019890603,
-0.033992354,
-0.012256727,
0.021399546,
-0.04696926,
-0.010967268,
-0.010267667,
0.014787635,
-0.04181142,
0.053745784,
0.02231863,
0.010205938,
0.068204194,
0.043814197,
-0.059699245,
0.03127626,
0.029492963,
0.041893724,
-0.024170512,
0.06853342,
0.03004167,
-0.011454244,
-0.01563813,
-0.009766973,
-0.06024795,
-0.022414653,
-0.024842678,
-0.045103658,
-0.03684563,
0.0461462,
-0.019067544,
-0.043594714,
-0.022222605,
-0.04139989,
-0.050316367,
-0.00068459683,
-0.02559715,
0.03097447,
0.042140644,
0.04888973,
-0.059315152,
0.029822187,
-0.0077299,
0.011111302,
0.0011411377,
-0.050727896,
0.022304911,
0.019108698,
-0.00954749,
0.027668515,
0.045295704,
-0.035885394,
0.013580481,
-0.03602257,
0.016241707,
-0.005240145,
0.0035905968,
-0.0004582555,
-0.0035322967,
0.03391005,
-0.021399546,
-0.007277217,
0.04304601,
-0.0025514844,
0.020919427,
0.0010339684,
-0.019780863,
-0.009492619,
-0.013751952,
-0.057010584,
0.005264151,
0.013786246,
0.049328696,
-0.07456919,
-0.0152266,
-0.009403454,
-0.033937484,
0.015075706,
0.016735543,
-0.035857957,
0.036653582,
0.030206282,
0.024582043,
-0.019369332,
-0.01657093,
0.028944258,
-0.0030538936,
0.043402668,
0.0065364637,
0.010212796,
-0.015322624,
-0.028834516,
-0.025624584,
-0.012146986,
-0.01891665,
-0.012153844,
0.013834258,
-0.0104871495,
-0.069082126,
-0.007572147,
0.05662649,
0.0020696516,
-0.0025754902,
-0.0057031163,
0.0053327396,
-0.0096366545,
0.036296923,
0.027270703,
-0.025391385,
0.0089096185,
-0.0028584169,
0.023416042,
0.010610608,
0.0025309077,
-0.02013752,
0.01504827,
-0.029904494,
0.043594714,
0.009451466,
0.0068519698,
-0.032428544,
0.024129359,
-0.021879664,
0.035391558,
0.013601057,
0.0030264582,
-0.044170856,
0.009218266,
0.043183185,
-0.020562768,
0.016900154,
-0.03706511,
0.05094738,
0.03168779,
-0.039506853,
0.007771053,
0.018998956,
0.0068553993,
-0.032236494,
0.023525782,
0.05673623,
-0.009520055,
0.009993314,
-0.007119464,
0.0065398933,
-0.009629795,
-0.02577548,
-0.011063291,
-0.0030641817,
-0.020480463,
0.0017121352,
0.00048740552,
0.0077779116,
-0.0058883047,
0.010596891,
-0.041262712,
-0.03193471,
-0.027188398,
-0.003940397,
-0.007887653,
0.0063855695,
-0.029602705,
0.019053826,
0.03226393,
-0.029383222,
-0.022455806,
0.026392773,
-0.025336513,
-0.08609202,
0.0035460144,
0.012812292,
0.01956138,
0.028999127,
0.0050618155,
-0.001932475,
0.012798575,
0.0044136564,
-0.080604956,
-0.0063684224,
-0.028505292,
-0.022510676,
0.021824794,
-0.017023614,
0.030316023,
-0.04644799,
0.03097447,
0.011330785,
-0.06485709,
-0.023086818,
-0.03670845,
-0.038656358,
0.007208629,
-0.034513626,
0.01925959,
0.018724602,
-0.027490186,
0.0061215046,
-0.036900498,
-0.026612256,
-0.07297794,
-0.023210276,
0.017147072,
0.028861951,
0.0021365252,
0.040714007,
-0.02524049,
-0.044747,
0.0013400437,
-0.023937313,
0.013134657,
-0.05640701,
0.037586384,
0.026090985,
0.018011285,
-0.029246045,
0.0013597629,
-0.03292238,
-0.020055216,
-0.026077267,
-0.0021468133,
-0.012414481,
-0.053608608,
-0.021221217,
0.0525935,
-0.001382054,
-0.040686574,
-0.023141688,
0.03401979,
0.016186835,
0.03407466,
0.049575616,
-0.010548878,
0.00027285278,
-0.012078398,
0.01083695,
-0.047051564,
0.044115987,
-0.042799093,
-0.0461462,
0.0116874445,
0.04304601,
0.04403368,
-0.04809411,
-0.014417258,
-0.0120029505,
-0.019053826,
-0.050261497,
-0.026598537,
-0.0037517794,
0.028505292,
-0.01961625,
0.027970303,
-0.021303521,
-0.0035391557,
0.0026046403,
0.018998956,
0.028779646,
-0.017407708,
-0.018820627,
-0.01904011,
-0.018793192,
0.007277217,
0.008580395,
0.027092373,
-0.02735301,
0.019547662,
-0.0567911,
-0.0020645075,
-0.011708021,
0.002419452,
-0.013381575,
0.00079691014,
0.043183185,
0.0050926805,
0.015953636,
-0.012009809,
0.06562527,
-0.01773693,
0.021824794,
-0.001680413,
-0.028834516,
-0.033306472,
-0.05750442,
0.023512065,
-0.019273309,
-0.011742315,
0.011611997,
0.016831566,
0.031523176,
-0.027572492,
0.074185096,
0.05926028,
0.01323754,
-0.013985151,
-0.057669032,
0.010164784,
0.024842678,
0.021948252,
-0.04386907,
0.057833645,
0.012441915,
0.025432536,
-0.008498088,
-0.047161307,
-0.022922207,
0.01141995,
0.06529605,
-0.012750562,
0.0011951509,
-0.013950857,
-0.06699704,
0.0007930521,
0.0109604085,
0.005569369,
0.011954939,
0.022757594,
0.020988015,
0.02031585,
0.043786764,
-0.0011428524,
-0.059863858,
-0.029986799,
0.059863858,
0.008882184,
-0.04123528,
0.03572078,
0.029355787,
-0.02078225,
-0.0511943,
-0.017503731,
0.00649874,
-0.0152814705,
-0.023964748,
-0.0047703153,
-0.028889386,
-0.03794304,
-0.0058128573,
0.0018878926,
-0.0052332864,
0.008456936,
0.04812154,
-0.027613645,
-0.028807081,
0.0060700634,
0.029877057,
-0.024732936,
0.0004989798,
-0.005240145,
0.015336341,
0.018299356,
0.011125021,
0.058931056,
0.020603921,
0.026968915,
0.028587598,
-0.0013331849,
0.057065457,
-0.028422987,
0.024787808,
-0.023498347,
0.009053654,
-0.087628394,
-0.001314323,
0.026159573,
-0.004958933,
0.022304911,
-0.04052196,
0.007284076,
0.086915076,
0.019533945,
-0.05078277,
-0.07369126,
0.021577876,
-0.058546964,
0.0036386086,
-0.013381575,
-0.03437645,
-0.012633963,
-0.0002157316,
-0.015199165,
-0.011701162,
0.008031689,
0.031879835,
0.0031739231,
-0.034294143,
-0.058108,
-0.014074316,
-0.0053670336,
-0.03602257,
0.004194174,
-0.013299269,
0.025405101,
-0.0073869587,
-0.007407535,
0.01786039,
-0.029931929,
0.032894943,
0.017819237,
0.03401979,
-0.011317068,
0.022057993,
-0.05124917,
0.03262059,
-0.040851183,
0.035940263,
0.015747871,
-0.018710885,
0.0067833816,
0.05289529,
-0.009760113,
-0.0044650976,
0.018066155,
0.036159746,
-0.007092029,
-0.0026492227,
0.008600972,
0.02764108,
-0.04842333,
-0.025638303,
0.008360912,
-0.005469916,
0.036159746,
0.04784719,
0.01247621,
0.030480634,
0.033718,
0.0037860735,
-0.021728769,
0.048642814,
-0.0309196,
-0.016790412,
-0.014513282,
-0.006893123,
0.0066427756,
-0.02875221,
0.076215304,
0.04976766,
-0.037613817,
0.025679454,
-0.03157805,
-0.028642468,
-0.026447644,
0.002829267,
0.034595933,
0.06732626,
0.04310088,
-0.0024057343,
0.002359437,
0.022126582,
-0.011145596,
0.0014737908,
-0.020398157,
-0.014060599,
0.019835733,
-0.055529077,
0.017023614,
-0.0025840637,
0.005253863,
-0.0021656752,
0.007105747,
0.026077267,
0.016708108,
0.025487408,
-0.009417172,
0.03618718,
-0.08504948,
-0.026790585,
-0.008100277,
0.020384438,
-0.051166862,
-0.0442806,
0.015158012,
0.045570057,
0.005816287,
-0.023127971,
-0.065899625,
-0.0025274784,
0.010603749,
0.024636913,
-0.042442434,
0.026900327,
-0.025981244,
0.03297725,
-0.053608608,
0.026625974,
-0.009561207,
0.0304532,
-0.0070714527,
-0.013978293,
0.027791975,
0.05270324,
0.033580825,
-0.016406318,
0.00042846246,
-0.00046982977,
0.0098561365,
-0.005483634,
0.011303349,
0.0069205584,
0.079013705,
0.062058683,
0.022647852,
-0.051605828,
0.03947942,
0.019026391,
-0.020329569,
-0.0052915863,
0.057175197,
0.0027709669,
-0.0021536723,
0.027723385,
-0.05616009,
0.019684838,
-0.0012354465,
0.0007356094,
-0.0056070928,
0.010953549,
-0.031879835,
0.005576228,
-0.024458583,
0.02828581,
-0.008991924,
-0.03097447,
-0.023210276,
-0.0050961096,
-0.0031310553,
0.00978069,
0.040247608,
-0.02219517,
0.02599496,
0.04469213,
-0.01809359,
-0.021221217,
0.0033642554,
0.01323754,
0.002846414,
0.019698557,
0.007572147,
-0.026914043,
-0.060577177,
-0.027586209,
-0.028422987,
0.021687618,
-0.026749432,
-0.014472129,
0.03355339,
-0.04924639,
-0.007736759,
-0.06584476,
0.005013804,
-0.028422987,
0.0230731,
0.031303696,
-0.03566591,
-0.000083002546,
0.0392325,
-0.03327904,
0.0088478895,
0.0037483498,
0.06414377,
0.0057957103,
0.07912345,
0.016721824,
0.025844067,
0.020068932,
0.021221217,
-0.007366382,
-0.047051564,
-0.0058883047,
0.00626554,
-0.004410227,
0.0018878926,
-0.018532556,
0.008745006,
0.040412217,
0.0018810338,
-0.035336684,
0.019218437,
-0.031660352,
-0.027984021,
0.01072035,
0.064308375,
-0.009348583,
0.007819065,
-0.010843809,
-0.01024709,
-0.037970476,
0.0086901365,
-0.0406317,
0.046585165,
0.020302134,
-0.02231863,
0.0050686747,
-0.010494008,
-0.025830349,
0.018614862,
-0.009526913,
0.030206282,
0.0129151745,
0.05325195,
-0.012167562,
0.017778084,
-0.032840073,
-0.03127626,
0.040494524,
0.045844413,
-0.0047771744,
0.095420025,
0.058821317,
-0.022469522,
0.0019359044,
0.036598712,
0.007887653,
-0.0016255424,
0.0022565548,
0.013553046,
0.032702897,
-0.038382005,
-0.056845974,
-0.020768534,
0.07045389,
-0.014677893,
0.01716079,
-0.041509632,
0.0031053347,
-0.07478867,
-0.004139303,
-0.021248652,
0.053773217,
0.002107375,
-0.021934535,
0.024691783,
-0.07144156,
0.22079942,
0.061345365,
0.04233269,
0.014842506,
0.023374889,
0.031139083,
0.04367702,
-0.014403541,
0.008820454,
-0.03448619,
0.009424031,
-0.032840073,
0.00567911,
0.016022224,
0.0068382523,
0.06282687,
-0.047655143,
0.013834258,
0.012092115,
-0.028477857,
-0.03912276,
0.013066069,
0.033690568,
0.03473311,
-0.018930368,
0.05042611,
0.01048029,
-0.027394162,
0.011879492,
-0.030645248,
0.0059774695,
-0.038052782,
0.03681819,
-0.007290935,
0.007860218,
0.016022224,
0.028724775,
-0.02248324,
-0.005761416,
0.0009105095,
-0.011618856,
-0.025432536,
-0.013573622,
-0.014389823,
-0.05668136,
0.01610453,
-0.009972737,
-0.032757767,
0.04403368,
-0.06392428,
0.032181624,
-0.061125882,
0.019671122,
-0.035857957,
-0.058931056,
-0.012380186,
-0.04186629,
-0.020837123,
0.013251257,
0.005792281,
0.0030521788,
-0.009094807,
0.0074761235,
0.009238842,
-0.00086892786,
0.027887998,
0.0024520312,
0.047655143,
-0.028999127,
-0.008985066,
0.058656704,
-0.010617467,
-0.0015475232,
-0.036598712,
-0.006670211,
0.035885394,
-0.016269142,
0.019931756,
0.021097757,
-0.05325195,
0.0029853052,
-0.010850667,
-0.011125021,
-0.035857957,
0.026776867,
0.016131965,
-0.0309196,
0.0058402927,
-0.036214616,
0.010192219,
0.009876713,
0.029300917,
-0.01786039,
0.00041603085,
0.016955025
] |
Perceiver specific outputs
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverModelOutput
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverDecoderOutput
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverMaskedLMOutput
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverClassifierOutput
PerceiverConfig
[[autodoc]] PerceiverConfig
PerceiverTokenizer
[[autodoc]] PerceiverTokenizer
- call
PerceiverFeatureExtractor
[[autodoc]] PerceiverFeatureExtractor
- call
PerceiverImageProcessor
[[autodoc]] PerceiverImageProcessor
- preprocess
PerceiverTextPreprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverTextPreprocessor
PerceiverImagePreprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverImagePreprocessor
PerceiverOneHotPreprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverOneHotPreprocessor
PerceiverAudioPreprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverAudioPreprocessor
PerceiverMultimodalPreprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverMultimodalPreprocessor
PerceiverProjectionDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverProjectionDecoder
PerceiverBasicDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverBasicDecoder
PerceiverClassificationDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverClassificationDecoder
PerceiverOpticalFlowDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverOpticalFlowDecoder
PerceiverBasicVideoAutoencodingDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverBasicVideoAutoencodingDecoder
PerceiverMultimodalDecoder
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverMultimodalDecoder
PerceiverProjectionPostprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverProjectionPostprocessor
PerceiverAudioPostprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverAudioPostprocessor
PerceiverClassificationPostprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverClassificationPostprocessor
PerceiverMultimodalPostprocessor
[[autodoc]] models.perceiver.modeling_perceiver.PerceiverMultimodalPostprocessor
PerceiverModel
[[autodoc]] PerceiverModel
- forward
PerceiverForMaskedLM
[[autodoc]] PerceiverForMaskedLM
- forward
PerceiverForSequenceClassification
[[autodoc]] PerceiverForSequenceClassification
- forward
PerceiverForImageClassificationLearned
[[autodoc]] PerceiverForImageClassificationLearned
- forward
PerceiverForImageClassificationFourier
[[autodoc]] PerceiverForImageClassificationFourier
- forward
PerceiverForImageClassificationConvProcessing
[[autodoc]] PerceiverForImageClassificationConvProcessing
- forward
PerceiverForOpticalFlow
[[autodoc]] PerceiverForOpticalFlow
- forward
PerceiverForMultimodalAutoencoding
[[autodoc]] PerceiverForMultimodalAutoencoding
- forward |
[
0.0074296175,
-0.007840771,
-0.025664639,
-0.0012532971,
-0.0029592237,
0.012349034,
-0.0017248614,
-0.0053558163,
-0.008800129,
0.067111805,
0.006084352,
0.008901115,
0.00468138,
-0.059898585,
-0.019605534,
0.034161814,
-0.0065676374,
-0.03240179,
-0.038576305,
-0.02286591,
0.001217231,
0.012558217,
-0.077094905,
-0.035489045,
0.0063440274,
0.0019241266,
0.0325172,
-0.012269689,
0.08592389,
0.011750337,
0.0070040375,
0.017340582,
0.012464445,
-0.02521742,
-0.02537611,
-0.045702968,
0.018235022,
-0.045299027,
-0.025505949,
-0.00010166133,
0.029271249,
-0.015349734,
0.040105507,
-0.019115034,
-0.052252572,
-0.002512004,
0.026198417,
-0.0012334607,
0.029026,
-0.022159014,
-0.0027284008,
-0.006282715,
0.06774657,
0.001980029,
-0.015955644,
-0.03121882,
-0.03393099,
0.0018096167,
-0.03921107,
-0.018408138,
0.020990472,
0.01597007,
-0.00042918662,
-0.036873985,
0.0049771224,
0.03791269,
0.035113957,
-0.00001813167,
0.01682123,
-0.03595069,
-0.056667063,
-0.026169565,
-0.03811466,
-0.046741668,
-0.017181892,
0.025303978,
0.015046778,
0.00016387536,
-0.04013436,
0.0034893956,
0.012796254,
0.033613607,
-0.0049446626,
-0.005164666,
0.010314906,
-0.011771976,
0.028333532,
-0.01807633,
-0.031045701,
-0.038172364,
-0.025534801,
0.043481294,
0.007992248,
-0.01236346,
0.023587232,
0.016244173,
-0.016042203,
0.018711094,
-0.00041115357,
-0.02533283,
0.023962319,
0.07149744,
-0.023616085,
0.02931453,
0.005691231,
0.026890887,
-0.01348151,
0.024308553,
-0.024265274,
-0.0088939015,
0.0028257791,
-0.011238198,
0.0034425096,
0.02537611,
-0.021423265,
0.032372933,
-0.04186553,
0.015465145,
-0.05332013,
-0.0007939051,
0.003384804,
-0.015292028,
0.011230985,
-0.028708618,
0.028506648,
-0.051473543,
0.0029069278,
0.027540077,
-0.05181978,
-0.0062863217,
0.019187167,
-0.00446859,
0.034075253,
0.008338483,
0.01428939,
0.01715304,
-0.05083878,
-0.026573505,
0.025953168,
-0.024871185,
0.03312311,
-0.02893944,
-0.012168704,
0.058167413,
-0.0058066426,
-0.006729935,
0.0077037197,
-0.021379987,
-0.01408742,
0.045270175,
-0.03254605,
-0.033238523,
-0.037104808,
0.053983744,
-0.012464445,
-0.0084683215,
0.018898638,
-0.02456823,
0.027150562,
0.014815955,
0.0028311892,
-0.031478494,
-0.009153577,
0.03791269,
0.025837757,
0.04873252,
-0.021567529,
-0.024294127,
0.023370834,
-0.012442806,
0.028506648,
-0.00090120174,
0.02578005,
0.028030576,
0.029603058,
0.044173762,
0.044058353,
-0.0035957906,
0.02691974,
0.020240298,
0.004598428,
-0.0033144748,
-0.010307692,
0.0031467676,
0.021495398,
0.020687517,
-0.022389837,
0.0020070786,
0.006942725,
0.0155949835,
0.035864133,
0.039586157,
-0.025289552,
0.022447543,
-0.054733917,
0.008966033,
-0.035892986,
0.027179416,
-0.038345482,
-0.07357485,
-0.02492889,
0.008648652,
-0.03142079,
0.026414813,
-0.016186466,
0.034363784,
0.0029375842,
0.058052,
-0.004302686,
-0.012334608,
0.037191365,
0.021755073,
-0.028968295,
-0.011952307,
0.021293428,
0.009168004,
-0.033238523,
0.032574903,
0.0009530468,
0.031161113,
0.032084405,
0.013474296,
0.023904614,
0.006329601,
-0.023890186,
-0.02578005,
-0.019317005,
0.081018895,
0.028838456,
0.01982193,
0.030987997,
0.03993239,
-0.003392017,
0.07490208,
0.020586532,
0.034738872,
0.038605157,
0.039066803,
0.008836195,
-0.0010098509,
0.026083006,
-0.0057525435,
0.015349734,
0.027785325,
-0.009831619,
0.025650213,
0.012226409,
0.026400387,
-0.03773957,
0.03182473,
-0.05285848,
0.050896484,
0.009290628,
0.0013488723,
-0.061687462,
-0.032805726,
0.046683963,
0.011973946,
-0.022447543,
-0.012486085,
0.017369436,
0.007050923,
-0.014592346,
-0.02140884,
0.03574872,
0.042413738,
0.0051430264,
0.018985197,
-0.029357808,
-0.0016401061,
-0.04166356,
-0.022000322,
-0.062033698,
0.01941799,
-0.04503935,
-0.02161081,
0.027136136,
-0.0035182484,
0.018018626,
-0.011440168,
0.010343758,
-0.013849383,
-0.014231685,
0.034940843,
0.033988696,
0.035979543,
-0.03424837,
0.019086182,
-0.025390537,
0.052916188,
-0.033094257,
0.004461377,
0.005727297,
-0.0032387362,
0.008627012,
0.043885235,
-0.03973042,
-0.02416429,
-0.0005071796,
-0.0018826505,
0.0026382355,
0.0049158097,
-0.014765463,
-0.01536416,
-0.017484847,
0.036672015,
0.05104075,
-0.044087205,
0.02181278,
0.034681164,
0.0060663186,
0.029949293,
0.04264456,
-0.0028347957,
-0.012175917,
0.0610527,
0.017355008,
-0.017052054,
-0.042413738,
-0.031853583,
-0.040307477,
0.021538677,
-0.01404414,
-0.0044577704,
-0.00023172471,
0.041778974,
-0.0067732143,
-0.050867632,
0.028001722,
-0.06376487,
-0.02971847,
-0.047462992,
-0.013128062,
0.042182915,
-0.014635624,
0.024149863,
-0.057013296,
-0.0126736285,
-0.011923454,
0.010170641,
0.007992248,
-0.055599503,
-0.0064161597,
0.052771922,
0.035287075,
0.010776551,
0.0077109328,
-0.05926382,
-0.0009918178,
0.0008723489,
0.04264456,
0.0047607254,
0.007350272,
0.006953545,
0.006044679,
0.023082307,
0.012579856,
0.008367336,
0.027698766,
0.039153364,
0.035171665,
-0.0076965066,
0.027641062,
-0.010004737,
-0.023947893,
-0.015133337,
0.017254025,
0.025347257,
0.03750875,
-0.07167056,
-0.00094222696,
0.030295527,
-0.02116359,
-0.025491523,
0.008165366,
-0.042933088,
0.0182783,
0.032372933,
0.03964386,
-0.032372933,
-0.055397533,
0.033353932,
0.00018945975,
0.051675513,
0.05375292,
0.030122409,
0.00036201352,
-0.00059238577,
-0.022043603,
-0.03433493,
0.0066902624,
-0.0056984443,
-0.00070058403,
-0.031247672,
-0.05274307,
-0.018249448,
0.0053630294,
0.0022451149,
0.049367283,
0.020370135,
0.0525411,
-0.005893201,
0.011678204,
0.050117455,
-0.012615923,
-0.028059429,
-0.03814351,
0.06890068,
0.010848684,
-0.03713366,
0.00031535298,
-0.021596383,
-0.042211767,
0.020514399,
0.02006718,
0.022606233,
-0.012630349,
0.00576697,
0.029271249,
0.03785498,
0.009802767,
-0.03811466,
-0.023731496,
0.017946493,
0.055888034,
-0.0001458423,
-0.0013741185,
-0.035142813,
0.0136185605,
0.018018626,
0.006838133,
-0.050781075,
-0.022259999,
-0.005720084,
-0.03560446,
0.039066803,
0.042586856,
-0.016287452,
-0.005507294,
-0.019288152,
-0.013192981,
-0.04172127,
-0.028521074,
-0.025664639,
0.019793078,
-0.011793616,
-0.022058029,
0.007530602,
-0.014404802,
0.0025336437,
0.02197147,
-0.030612908,
0.058802176,
-0.022187866,
0.020947194,
-0.015219895,
-0.036700867,
0.043308176,
0.04042289,
0.021336706,
-0.042904235,
-0.0061709103,
0.03442149,
-0.012947731,
-0.050088603,
0.019692093,
0.022764925,
0.019403564,
0.0242797,
-0.011771976,
-0.0035705443,
0.032372933,
-0.0082014315,
-0.027150562,
-0.008114873,
-0.010985735,
-0.0060663186,
-0.0235151,
-0.037191365,
0.030757172,
-0.035287075,
0.04224062,
-0.017888788,
-0.013387738,
0.030151263,
-0.05747494,
0.0023262636,
0.0016419094,
-0.050002046,
0.0010792782,
0.0030602089,
-0.025996447,
0.012168704,
-0.019172741,
0.0073719113,
-0.031247672,
-0.03632578,
-0.009218496,
0.05617656,
0.019244872,
-0.0014606771,
-0.04544329,
-0.049973194,
0.032661464,
-0.020572105,
0.03603725,
-0.0057994295,
-0.014123486,
0.030786026,
-0.0146500515,
-0.02286591,
0.0028528287,
-0.037047103,
-0.022909189,
-0.035056252,
-0.023774775,
-0.030872585,
-0.053435538,
-0.022086881,
0.051531248,
-0.043163914,
-0.06284158,
-0.006167304,
0.019158315,
0.01990849,
-0.020629812,
0.013467083,
-0.009009313,
-0.050867632,
-0.037104808,
0.062322225,
-0.057301827,
0.024957744,
-0.024510523,
-0.057821177,
0.00044564178,
0.020976046,
-0.0030205362,
-0.043510146,
0.008071594,
-0.044116057,
0.019677665,
-0.0008141923,
-0.02886731,
-0.02282263,
-0.018696668,
-0.014440868,
0.039874684,
-0.02963191,
0.028160414,
0.0028329925,
-0.00962965,
0.016561555,
0.030295527,
-0.0063837003,
-0.006589277,
0.002156753,
0.020326857,
-0.011627711,
-0.027713194,
0.0011676401,
0.03254605,
-0.02647252,
0.014448081,
-0.05715756,
-0.022635087,
-0.0072456803,
-0.04033633,
0.053435538,
-0.05545524,
-0.009910965,
-0.009586371,
0.022534102,
-0.0016563358,
0.02497217,
-0.02237541,
-0.0420675,
-0.058744468,
-0.064630456,
0.041288476,
-0.051588953,
-0.00028852883,
0.004886957,
-0.020802928,
0.054907035,
-0.034565754,
0.0036877592,
0.07663326,
0.030612908,
0.0059364806,
-0.05955235,
0.038201217,
0.00060230395,
-0.019663239,
0.0056515583,
-0.021423265,
-0.044693116,
0.022086881,
-0.018653389,
-0.028766325,
-0.037970394,
0.025751198,
0.01990849,
0.0051141735,
0.06243764,
-0.0031648006,
-0.044664264,
-0.03595069,
0.016200894,
0.0024813479,
0.0042161276,
0.007811918,
0.024871185,
0.016056629,
-0.0035471013,
-0.01469333,
-0.020168165,
0.01941799,
0.04281768,
0.0048256447,
-0.015522851,
0.041605856,
0.046193466,
-0.018985197,
-0.07034333,
-0.011570006,
-0.010488023,
0.004183668,
-0.034190666,
0.014772676,
0.0053630294,
-0.030151263,
0.008410615,
0.023183292,
-0.017816655,
0.0031179145,
0.03941304,
-0.0175137,
-0.060648758,
0.022433117,
0.033498198,
-0.022678366,
-0.020153739,
-0.027280401,
-0.03560446,
-0.027915165,
0.0019060936,
0.017008774,
0.019836357,
0.0043351455,
0.020211445,
0.01597007,
0.07547914,
-0.02221672,
-0.008403402,
-0.006967971,
-0.011663778,
-0.047491845,
-0.029603058,
0.03921107,
0.001365102,
-0.0043603918,
-0.0075738817,
0.029862734,
0.031276524,
0.016633688,
0.010163428,
-0.11235312,
0.03750875,
-0.03973042,
-0.039326478,
-0.019937342,
-0.02627055,
-0.0037689079,
0.03072832,
-0.009052592,
-0.08251925,
0.0021369166,
0.021755073,
-0.008562093,
-0.0055758194,
-0.031507347,
0.0048761372,
-0.034796577,
0.009449319,
-0.009672929,
0.015479571,
-0.018061904,
0.042211767,
0.03534478,
0.016604833,
-0.012868386,
0.03825892,
0.002576923,
0.012341821,
-0.022894762,
0.01811961,
0.0010648516,
-0.01084147,
-0.058484793,
0.017686818,
0.048992194,
-0.02273607,
0.0075594555,
-0.009196856,
-0.0018916671,
-0.044837378,
-0.0056840177,
0.043712117,
-0.008251924,
0.045904938,
-0.0028672551,
0.013178554,
-0.04325047,
0.0061132046,
-0.050319426,
-0.013380525,
-0.0074584703,
0.0465397,
0.025563654,
0.043163914,
0.026212843,
0.040769123,
-0.0062177964,
0.03173817,
0.024308553,
0.0005671395,
-0.0030692255,
0.019793078,
-0.025650213,
-0.014152339,
0.006398127,
0.0042990795,
-0.04913646,
0.027352532,
-0.030035852,
-0.025592508,
-0.013409377,
0.013640201,
0.027092857,
0.043914087,
0.010899177,
-0.031189967,
-0.018379286,
-0.009824406,
-0.028838456,
0.024048878,
-0.051906336,
-0.019345857,
-0.003967271,
-0.0860393,
0.026660064,
0.0230246,
-0.03615266,
0.018494697,
0.042009797,
-0.014859235,
0.0061889435,
0.017470421,
0.0041079293,
0.019894063,
-0.0320267,
0.02492889,
-0.015032352,
0.0019060936,
-0.049771223,
-0.020990472,
-0.0057381173,
0.042500295,
0.0016933036,
-0.00094853854,
-0.05314701,
-0.0021369166,
-0.013957582,
0.013892663,
-0.021351133,
0.026400387,
-0.034681164,
0.016532702,
-0.027150562,
0.012774614,
-0.011591646,
0.019042902,
0.015450719,
0.044202615,
0.010682779,
0.031911287,
-0.0054099155,
0.0027518438,
0.025001023,
0.023890186,
0.006975184,
-0.009283415,
0.005741724,
-0.008114873,
0.017282877,
0.027597783,
0.018682241,
-0.004338752,
0.036643162,
-0.013293966,
-0.0049302364,
-0.05294504,
0.047693815,
0.044664264,
0.031593908,
0.021452118,
-0.05236798,
-0.04475082,
-0.008273564,
-0.005857135,
0.027655488,
-0.026934166,
-0.0032964419,
0.013488723,
-0.034767725,
0.0064918986,
-0.0023515099,
-0.016244173,
-0.013654627,
-0.011606072,
0.02533283,
0.017975345,
0.022793777,
-0.020745223,
0.03713366,
0.0006676737,
0.012601497,
0.022505248,
-0.04264456,
0.051011898,
-0.00081870053,
0.053493243,
-0.019764224,
-0.003952845,
-0.01242838,
-0.052512247,
-0.04896334,
0.04013436,
0.0064918986,
-0.003823007,
0.014513,
-0.043077353,
-0.0069030523,
-0.029833881,
0.02517414,
-0.04443344,
0.0074512567,
0.0340464,
-0.023543952,
-0.009543091,
0.035921838,
-0.024250848,
0.014375948,
0.0075666686,
0.049165312,
0.027439091,
0.087308824,
0.036066104,
-0.026256124,
0.030035852,
0.013257899,
-0.00426662,
0.017210744,
0.009824406,
-0.017744523,
0.021841632,
-0.015782528,
-0.0700548,
0.021509824,
0.01433267,
-0.033700168,
-0.035258222,
0.01836486,
0.0037220218,
-0.03450805,
0.014787102,
0.112872474,
0.015623836,
0.01977865,
0.00073349435,
-0.017787803,
-0.0610527,
0.0064918986,
-0.049886633,
0.050550252,
-0.025001023,
-0.03580643,
0.0017537143,
-0.03173817,
-0.04301965,
0.014729396,
0.007545029,
0.0048328578,
0.023890186,
0.022764925,
0.046308875,
-0.0026977446,
-0.022649514,
-0.020038327,
0.06693869,
0.016114336,
0.01921602,
0.08644324,
0.060706466,
-0.0023857728,
-0.025347257,
-0.013957582,
0.025058728,
-0.007072563,
-0.0008209547,
-0.010762125,
-0.012118211,
-0.02862206,
-0.0540703,
-0.02788631,
-0.00053738494,
-0.029747322,
-0.003823007,
-0.018884212,
-0.01560941,
-0.0650921,
-0.019201593,
-0.020081606,
0.016388437,
-0.03292114,
0.029603058,
0.01428939,
-0.044404585,
0.24882726,
0.049309578,
0.0360084,
-0.024640363,
0.024871185,
0.10035033,
0.011021801,
-0.02541939,
-0.0069571515,
-0.06826592,
-0.0025264306,
-0.036066104,
0.027799752,
0.023630511,
-0.030699467,
0.040249772,
-0.056436237,
0.0016157614,
0.024799053,
-0.05124272,
-0.022231147,
-0.005254831,
0.02161081,
0.032834582,
0.042384885,
0.029833881,
0.028131561,
-0.060244817,
0.00533057,
-0.033469345,
0.030035852,
-0.014599559,
0.030122409,
-0.018826505,
0.018465845,
0.0012514938,
0.014491361,
-0.044173762,
-0.002605776,
0.021221295,
-0.0056479517,
-0.03750875,
0.014036927,
0.021379987,
-0.01195952,
0.02606858,
-0.029401088,
0.067111805,
0.038691714,
-0.04824202,
0.028391236,
-0.057619207,
0.030324379,
-0.05026172,
-0.05727297,
0.0036408731,
-0.056061152,
-0.04495279,
-0.009052592,
0.062322225,
-0.023904614,
0.005795823,
-0.007985035,
-0.014397589,
-0.014873661,
0.018336007,
-0.017758949,
0.041894387,
-0.026862035,
-0.012529364,
-0.0077037197,
-0.017167466,
0.0009003001,
-0.036672015,
0.0175137,
0.028982721,
-0.03574872,
0.055714916,
-0.041778974,
-0.036873985,
-0.008172579,
-0.03794154,
0.021293428,
-0.0037544814,
-0.016792377,
0.070516445,
-0.028131561,
-0.0048617106,
-0.026818754,
0.0069174785,
0.010949669,
0.06636163,
-0.018711094,
-0.017340582,
0.0065604243
] | By explicitly passing the index of the language adapter for each sample:
thon
import torch
input_ids = torch.tensor(
[
[0, 581, 10269, 83, 99942, 136, 60742, 23, 70, 80583, 18276, 2],
[0, 1310, 49083, 443, 269, 71, 5486, 165, 60429, 660, 23, 2],
]
)
lang_ids = torch.LongTensor(
[
0, # en_XX
8, # de_DE
]
)
output = model(input_ids, lang_ids=lang_ids) |
[
0.027246932,
-0.028735517,
-0.03750649,
0.009529859,
0.014185334,
-0.022372548,
-0.0010826897,
-0.025875099,
-0.024021666,
0.055924073,
-0.011419778,
-0.0018060032,
0.02488271,
-0.016461993,
-0.011106007,
0.032778043,
-0.00091029855,
-0.04550398,
-0.07040129,
-0.010223072,
0.0015095632,
0.020592084,
-0.095619656,
0.0007921787,
-0.043490015,
0.006946727,
0.043460827,
-0.024692988,
0.10174912,
0.05916393,
0.006676739,
-0.0067022783,
0.012295416,
-0.00014582563,
-0.02300009,
0.00094587135,
0.020241829,
-0.039637208,
-0.01264567,
-0.031201897,
0.027480436,
-0.048714656,
0.03680598,
-0.0812592,
-0.05522356,
0.0037324065,
-0.0023605737,
-0.031785656,
-0.0011255596,
-0.0406296,
-0.010361715,
0.0020413308,
-0.0017968819,
0.009062852,
0.00033816954,
-0.030618139,
-0.028005818,
0.012660264,
-0.07600537,
-0.015644731,
0.020212641,
0.014258304,
0.0059142043,
-0.08662978,
0.021321783,
0.01332429,
0.02171582,
0.0037871338,
-0.0019574156,
-0.015192318,
-0.019366192,
0.008778269,
-0.019482942,
-0.04693419,
-0.03342018,
-0.015907422,
-0.012828095,
-0.013696436,
-0.014148849,
0.03849888,
0.021905541,
0.03400394,
-0.011434372,
0.012514325,
0.0046700686,
0.0017877606,
0.06397994,
-0.0021197733,
-0.09894708,
-0.016009578,
-0.017979765,
0.028910644,
-0.019701853,
0.027276121,
0.029640343,
0.021555286,
0.018271644,
0.054639805,
-0.006899297,
-0.016432805,
0.058609363,
0.07746477,
-0.07372871,
0.0314354,
-0.0094714835,
-0.0067059267,
0.005414361,
0.0080631655,
0.008544766,
-0.0321651,
0.0076983166,
-0.001262378,
-0.014863953,
0.013550497,
0.02650264,
0.02016886,
-0.035463333,
0.019074311,
-0.018213268,
-0.020402363,
-0.018782433,
-0.04302301,
-0.02440111,
-0.009858224,
0.019628882,
-0.015309069,
-0.005647864,
0.043460827,
-0.036251407,
0.008435312,
0.02940684,
0.027962036,
-0.0055019245,
0.0527134,
-0.016797654,
-0.0022839555,
0.005801101,
0.04258519,
0.037127048,
0.009303653,
0.02785988,
-0.011718954,
0.0263567,
0.069992654,
0.0063629686,
-0.012565403,
0.007771286,
-0.060419016,
-0.030326258,
0.00855936,
-0.0054690884,
0.024853522,
0.0076180496,
0.036864355,
-0.026239948,
-0.014294788,
0.0015706754,
0.022139044,
0.024474079,
0.009369326,
-0.008457202,
0.01700197,
-0.038965885,
0.015630137,
-0.02440111,
0.0053632823,
-0.01954132,
-0.0191035,
0.004104553,
-0.027626375,
-0.009493374,
0.035025515,
-0.043898646,
0.026152385,
0.024926491,
0.033332616,
0.045620736,
-0.017965171,
-0.0066439025,
0.012061912,
0.012083803,
0.012674859,
-0.01417074,
0.042059805,
-0.0029133202,
-0.013433744,
-0.01303241,
-0.01888459,
0.000653536,
-0.00015186844,
0.031493776,
0.031289462,
-0.012448652,
0.031756468,
0.011106007,
0.015440415,
-0.029698718,
0.009267167,
0.003267224,
-0.06088602,
-0.0331283,
0.043694332,
-0.011135195,
0.009434998,
-0.03155215,
-0.016009578,
-0.015513385,
0.028866863,
-0.055778135,
0.029231712,
0.049823795,
0.0023952345,
-0.013119974,
-0.007147394,
0.061294653,
-0.039170202,
-0.02234336,
-0.008566657,
-0.010748455,
0.03610547,
0.009610126,
0.0145866675,
0.039666396,
-0.034879576,
-0.0200667,
0.0012268052,
0.010412794,
0.09999785,
0.012974035,
0.023992479,
0.03695192,
-0.0113614015,
0.020854775,
0.06030226,
0.038002685,
-0.0030264235,
0.074370846,
0.016724683,
0.0074100858,
-0.0062133805,
0.012879174,
0.026488045,
0.0028695383,
0.03537577,
0.040104214,
0.0011100535,
0.0012824447,
-0.0077056135,
-0.00026862018,
-0.015119348,
-0.03508389,
0.029246306,
0.033916373,
-0.008668815,
-0.044657532,
-0.02219742,
-0.010799534,
0.039841525,
-0.045299668,
-0.03455851,
0.010047945,
0.0033839755,
-0.002021264,
-0.025627002,
0.022839556,
0.04454078,
0.0007593422,
-0.014528292,
-0.01163139,
-0.032515354,
-0.042877067,
-0.04331489,
-0.07203581,
0.005771913,
-0.020986121,
-0.0007456604,
-0.036338974,
-0.0203148,
0.0135650905,
0.016987376,
0.049094096,
0.008092353,
-0.013462933,
0.014112364,
0.024547048,
0.015119348,
-0.044628344,
0.040250156,
-0.026677767,
0.030559761,
-0.0060200104,
-0.002437192,
-0.024021666,
-0.006632957,
0.00094951986,
0.019132689,
0.021555286,
-0.0030410173,
-0.0065855267,
0.035025515,
-0.022284985,
-0.028239323,
0.021219624,
0.0045058867,
-0.020562897,
0.007249552,
0.036893543,
-0.0072057704,
0.04170955,
0.0355509,
-0.04480347,
0.026706956,
0.013411853,
0.044044584,
-0.015250693,
0.052917715,
0.030588951,
-0.0010908989,
-0.040104214,
-0.004338056,
-0.049152475,
0.025305934,
-0.0076837223,
-0.037798367,
0.0030264235,
0.027334496,
-0.015922016,
-0.047138505,
0.02065046,
-0.045299668,
-0.070576414,
-0.020081295,
-0.041009042,
0.037127048,
0.023656817,
0.023364937,
-0.03776918,
0.022051482,
-0.014323977,
-0.014477213,
-0.018607305,
-0.04705094,
0.019628882,
0.025101619,
-0.0062425686,
-0.012251633,
-0.019088905,
-0.03353693,
0.00046974325,
-0.02212445,
0.048539527,
0.018855402,
0.0061841924,
-0.01325132,
-0.023817351,
0.032311037,
-0.015527979,
-0.03905345,
0.037564866,
0.006877406,
0.01799436,
0.021584474,
-0.04810171,
0.0001470798,
-0.015250693,
-0.012390276,
-0.024094636,
0.04950273,
0.026123198,
-0.030384636,
0.020825587,
-0.016447399,
-0.028326886,
0.0064359386,
-0.0022036887,
-0.034091502,
0.041009042,
0.04891897,
0.06380481,
-0.047547136,
0.029436028,
0.049823795,
-0.009923896,
0.016111737,
0.050232425,
-0.0074100858,
-0.05977688,
-0.024868116,
-0.02260605,
-0.009945787,
-0.0070452364,
0.0119889425,
-0.0023642222,
-0.012368385,
-0.020621272,
-0.04693419,
0.016243083,
0.0066803875,
0.012981332,
0.010945474,
0.0916501,
-0.01932241,
-0.014513698,
-0.0055675977,
0.029333869,
-0.013820484,
-0.01032523,
0.043811083,
-0.016359834,
-0.017877607,
-0.030063568,
0.0030373689,
-0.028312292,
-0.017220879,
0.000460394,
0.037010293,
-0.020913152,
-0.036981106,
0.03493795,
0.05881368,
-0.02186176,
0.025787536,
-0.0019866035,
0.02749503,
0.0647972,
-0.017381413,
0.02333575,
-0.039578833,
0.0126967495,
0.0500573,
-0.0011903202,
-0.023160622,
-0.010573328,
-0.011120602,
-0.04229331,
0.05510681,
0.019351598,
-0.023948696,
-0.016170112,
-0.043781895,
0.0014566601,
-0.017512757,
0.012915659,
0.007596159,
0.06316268,
-0.0009677623,
0.004071716,
0.025772942,
0.028677141,
-0.00466642,
0.020329393,
-0.026152385,
0.0064760717,
-0.059426624,
-0.008537469,
0.0027892715,
0.031464588,
-0.022649834,
0.013922642,
0.01697278,
0.006910242,
-0.0066293087,
0.04284788,
-0.021438533,
-0.026590204,
0.014053988,
0.02208067,
0.0061331135,
0.0033858,
-0.0013709206,
0.0046080444,
-0.0051443726,
0.005549355,
-0.024707582,
-0.008588549,
0.01347023,
0.03846969,
-0.028939832,
-0.052100454,
-0.016841436,
-0.04906491,
0.041651174,
0.026604798,
-0.008464499,
0.025991851,
-0.032661293,
-0.032894798,
0.023073059,
-0.019424567,
0.023540065,
-0.008106948,
-0.014615856,
0.008617736,
0.0009522562,
-0.04170955,
-0.036981106,
0.023218999,
-0.016038768,
0.027816096,
0.04354839,
0.07034291,
-0.03029707,
-0.014053988,
0.04839359,
-0.0093985135,
0.00715834,
-0.028049601,
-0.0020285612,
-0.000061967345,
-0.025393499,
-0.06497233,
-0.031668905,
-0.032106724,
0.015440415,
-0.01994995,
-0.038965885,
0.0027217744,
-0.06946727,
0.0068007875,
0.049385976,
-0.0051516695,
-0.09953084,
-0.029085772,
0.008639627,
0.0071802307,
0.015396633,
0.04427809,
-0.031055957,
-0.030530574,
-0.024225982,
-0.0020832885,
-0.047605515,
0.02440111,
-0.0044219713,
0.01608255,
-0.019337004,
0.029071178,
0.050261613,
-0.051691823,
0.006541745,
-0.027290715,
0.025889693,
-0.028954426,
-0.004308868,
0.009777957,
-0.00369957,
0.021190437,
0.052684214,
0.011770032,
0.0050641056,
-0.0016682727,
-0.018008953,
0.045241293,
0.023758974,
-0.035638463,
0.011675172,
0.033916373,
0.0103398245,
-0.013309696,
0.0038126733,
-0.033770435,
0.07956629,
-0.032019157,
0.025218371,
-0.04176793,
-0.018344615,
-0.03703948,
-0.02208067,
0.024926491,
-0.015878234,
0.015688512,
0.008493688,
0.017323036,
-0.023233593,
-0.011478153,
-0.039257765,
0.02171582,
-0.032719668,
-0.023073059,
0.040921476,
-0.064622074,
-0.0057682646,
-0.0033602605,
-0.0028129867,
0.06800788,
-0.012419464,
-0.009639313,
0.08195971,
0.022927118,
0.0144261345,
-0.03368287,
0.055048436,
0.020343987,
-0.005874071,
0.0056405673,
0.005071403,
-0.012266227,
-0.010047945,
-0.03639735,
-0.053326346,
0.0033183028,
0.0028877808,
0.059426624,
-0.033069924,
0.047459573,
-0.024007073,
-0.055311125,
-0.022387141,
0.01762951,
0.010668188,
0.014564777,
0.04185549,
0.015907422,
0.0028713625,
0.033332616,
-0.009128525,
-0.047547136,
-0.008369639,
0.054347925,
0.040921476,
-0.02602104,
0.043227322,
0.03088083,
-0.002771029,
-0.07005103,
-0.0004961948,
0.015922016,
-0.0051699122,
-0.010237666,
0.008347748,
0.012215149,
-0.021365564,
-0.0057208342,
0.026006445,
-0.0039002371,
-0.007880741,
0.009829035,
-0.0063885082,
-0.02086937,
0.041359298,
0.033799622,
-0.02275199,
0.008916913,
0.00046085005,
-0.0026396834,
-0.014732608,
-0.0048160083,
0.04270194,
-0.011565717,
0.021263408,
0.024386516,
0.008201809,
0.05863855,
-0.01799436,
-0.021701226,
0.011324917,
-0.06654848,
-0.053618226,
0.006315538,
0.057704538,
0.0013344357,
0.018067328,
-0.015046378,
0.026969647,
0.032807235,
-0.009296356,
-0.020343987,
-0.058726113,
0.011076819,
-0.08330235,
-0.016987376,
-0.00925987,
0.0061075743,
-0.026152385,
0.016695496,
-0.027319903,
-0.082718596,
0.017512757,
0.049707044,
-0.036543287,
-0.03088083,
-0.0093985135,
0.010580624,
-0.032632105,
-0.04176793,
0.019847792,
-0.040833913,
0.008267481,
0.038674008,
-0.018198675,
0.021817977,
-0.00015813929,
0.010390903,
-0.025977258,
0.0077129104,
-0.046467185,
-0.029494403,
-0.022927118,
0.001455748,
-0.0057244827,
0.02771394,
0.028253917,
0.0028348777,
-0.005085997,
-0.020227235,
0.012310009,
-0.028253917,
-0.020037513,
0.05428955,
-0.022795772,
-0.011777329,
-0.029290088,
0.031698093,
-0.07162718,
-0.012652967,
-0.020504521,
0.0060273074,
-0.029727906,
-0.0023861132,
0.035521712,
0.068066254,
0.05566138,
0.041972242,
0.012324603,
0.039257765,
0.01965807,
0.0016345241,
0.013703733,
0.019833198,
-0.033215865,
-0.030793266,
-0.012565403,
0.041680362,
-0.057295907,
0.019468348,
-0.0070452364,
-0.010120914,
-0.007508595,
-0.016243083,
0.044628344,
0.027553406,
0.036981106,
-0.011470856,
-0.03286561,
0.0055566523,
-0.043168947,
-0.019993732,
-0.06345456,
0.011915972,
-0.0057244827,
-0.0679495,
0.009427701,
0.014090473,
-0.02812257,
0.008749082,
0.030705702,
0.028545795,
0.012528919,
0.025451874,
-0.0074502192,
0.02072343,
-0.026444264,
-0.048948158,
0.0012286294,
0.011434372,
-0.0916501,
-0.02374438,
0.02889605,
0.03949127,
-0.0055384096,
-0.025014056,
-0.04964867,
0.0023733436,
-0.0113614015,
0.02362763,
-0.0727947,
0.014725311,
-0.025057837,
0.018067328,
-0.024984868,
-0.017323036,
0.00638486,
0.012558106,
0.026896678,
0.027480436,
0.008822052,
0.033799622,
0.025904287,
-0.039812338,
0.005629622,
0.0017631333,
0.017366817,
-0.022357954,
0.01470342,
-0.012886471,
0.011529232,
0.009179604,
-0.003513497,
-0.023087652,
0.04343164,
0.037564866,
-0.02241633,
-0.012536216,
0.06870839,
0.015761482,
-0.0031103387,
0.007114558,
-0.02616698,
-0.0036338973,
-0.029129554,
-0.009829035,
0.01888459,
0.005042215,
0.02410923,
0.007880741,
-0.029917628,
0.037798367,
-0.03455851,
-0.032544542,
-0.023277374,
0.015994985,
0.03858644,
0.009172307,
0.0044511594,
-0.034908764,
0.020052107,
0.028078789,
0.025714565,
0.023700599,
-0.0200667,
-0.00033087254,
-0.015046378,
0.043227322,
0.0026980592,
0.0010781292,
0.002933387,
-0.04705094,
-0.050845373,
0.04947354,
-0.05750022,
-0.058842868,
0.015338257,
-0.021117467,
-0.0019519428,
-0.02340872,
0.0069686184,
-0.02473677,
0.0012350143,
0.011456262,
-0.0059142043,
-0.0019811308,
0.011645984,
-0.021788789,
0.008544766,
0.018855402,
0.032311037,
-0.010099024,
0.057850476,
-0.025904287,
-0.01888459,
-0.021190437,
0.0046080444,
-0.02797663,
0.0030118295,
-0.0076764254,
-0.032632105,
0.016622527,
-0.026692363,
-0.06853326,
0.03750649,
-0.005822992,
-0.013112677,
-0.009756066,
0.028151758,
-0.020081295,
-0.036017906,
-0.013864267,
0.05376417,
-0.0068883514,
0.04074635,
0.019818604,
-0.005771913,
-0.05542788,
-0.006720521,
-0.056624584,
0.013769406,
-0.028706329,
-0.013368072,
0.028662547,
-0.045066163,
-0.021555286,
-0.012536216,
0.00408631,
-0.028385261,
0.03464607,
0.0055128704,
0.04243925,
0.034033127,
-0.010580624,
0.0069503756,
0.041213356,
0.03196078,
-0.008741785,
0.076063745,
0.06444695,
0.0012605537,
-0.0292609,
-0.0029972356,
0.009040961,
0.00056779647,
0.0025886046,
-0.03467526,
-0.00778588,
-0.027290715,
-0.034908764,
0.0007693756,
0.056916464,
0.00848639,
-0.022284985,
-0.02594807,
-0.025554033,
-0.06724899,
0.017673291,
-0.045766674,
0.024795147,
-0.003298236,
0.009230683,
-0.021000715,
-0.04127173,
0.25381824,
0.06193679,
0.03467526,
0.01622849,
0.037185423,
0.051516697,
0.03198997,
-0.029859252,
0.048977345,
-0.03817781,
0.032223474,
-0.009777957,
-0.0039476673,
0.0051881545,
-0.040483657,
0.028151758,
-0.031668905,
0.048422776,
-0.059718505,
-0.04386946,
-0.037389737,
0.023992479,
0.015469602,
0.047605515,
0.0056113796,
-0.0017193515,
0.025641596,
-0.01803814,
0.006497963,
-0.05172101,
-0.0037871338,
-0.03452932,
0.041388486,
-0.016899811,
-0.0010863383,
0.038819946,
-0.0023186163,
-0.061586533,
-0.019234845,
0.024897303,
-0.002420774,
-0.043898646,
0.031668905,
-0.016899811,
-0.0014110539,
0.042118184,
-0.019424567,
-0.02553944,
0.027538812,
-0.028545795,
0.038411316,
-0.0713353,
0.07098504,
-0.0152944755,
-0.025714565,
0.0049582995,
-0.022051482,
-0.023934102,
-0.02171582,
0.0004524129,
-0.003973207,
0.017425194,
-0.013192944,
0.03187322,
-0.016140925,
0.019862385,
-0.03452932,
0.020635866,
-0.024080042,
-0.01943916,
-0.0161993,
0.01301052,
-0.007851553,
-0.01240487,
-0.012237039,
0.016520368,
0.016126331,
0.0031979026,
0.006147708,
-0.007234958,
0.006103926,
-0.009617423,
0.008712597,
-0.023277374,
0.0097925505,
0.039695583,
-0.016359834,
0.01903053,
0.014790983,
0.052217208,
0.0003274521,
0.022722803,
0.002800217,
-0.0372438,
0.019278627
] |
X-MOD
Overview
The X-MOD model was proposed in Lifting the Curse of Multilinguality by Pre-training Modular Transformers by Jonas Pfeiffer, Naman Goyal, Xi Lin, Xian Li, James Cross, Sebastian Riedel, and Mikel Artetxe.
X-MOD extends multilingual masked language models like XLM-R to include language-specific modular components (language adapters) during pre-training. For fine-tuning, the language adapters in each transformer layer are frozen.
The abstract from the paper is the following:
Multilingual pre-trained models are known to suffer from the curse of multilinguality, which causes per-language performance to drop as they cover more languages. We address this issue by introducing language-specific modules, which allows us to grow the total capacity of the model, while keeping the total number of trainable parameters per language constant. In contrast with prior work that learns language-specific components post-hoc, we pre-train the modules of our Cross-lingual Modular (X-MOD) models from the start. Our experiments on natural language inference, named entity recognition and question answering show that our approach not only mitigates the negative interference between languages, but also enables positive transfer, resulting in improved monolingual and cross-lingual performance. Furthermore, our approach enables adding languages post-hoc with no measurable drop in performance, no longer limiting the model usage to the set of pre-trained languages.
This model was contributed by jvamvas.
The original code can be found here and the original documentation is found here.
Usage tips
Tips:
- X-MOD is similar to XLM-R, but a difference is that the input language needs to be specified so that the correct language adapter can be activated.
- The main models – base and large – have adapters for 81 languages.
Adapter Usage
Input language
There are two ways to specify the input language:
1. By setting a default language before using the model:
thon
from transformers import XmodModel
model = XmodModel.from_pretrained("facebook/xmod-base")
model.set_default_language("en_XX") |
[
0.014350445,
-0.021883886,
-0.04179938,
-0.028874572,
0.010869576,
-0.041191496,
-0.020089176,
0.003674452,
-0.018598408,
0.05928333,
0.022824662,
-0.028208792,
0.0083222445,
0.0005536102,
0.02941009,
-0.0018281802,
-0.018945772,
-0.025733829,
-0.0756673,
-0.039194155,
0.033491608,
0.01376427,
-0.058299135,
0.029337723,
-0.050251886,
0.01806289,
0.021522049,
0.007149894,
0.07821463,
0.01872867,
-0.0043492774,
-0.040062565,
0.026081191,
-0.04764666,
-0.0060137263,
-0.04084413,
0.027557487,
-0.026471976,
-0.040873077,
-0.055086024,
0.05861755,
0.016181339,
0.016166866,
-0.065651655,
-0.067504264,
-0.026920654,
0.07213577,
-0.087882906,
-0.0023682215,
-0.030046923,
-0.023056237,
0.0012890433,
-0.0013858347,
-0.00919789,
0.019698393,
-0.032362677,
0.012678759,
0.029989028,
-0.039020475,
-0.0012347678,
0.02883115,
0.0255312,
-0.026385134,
-0.066404276,
-0.011122861,
0.052046597,
0.014126106,
-0.014697808,
-0.033317927,
-0.0073633776,
-0.07705675,
0.01168009,
-0.03959941,
-0.048167706,
-0.044867754,
0.0043094754,
0.014755703,
0.008749212,
0.012201135,
0.022115462,
0.003674452,
0.016687911,
-0.031436376,
-0.015139249,
0.00848869,
-0.028252212,
0.027977217,
-0.03734155,
-0.025545673,
-0.05505708,
0.008575531,
0.039309945,
-0.012172188,
0.04038098,
0.046865094,
0.020306278,
0.0049209795,
0.020306278,
0.0037739573,
0.0109274695,
0.033462662,
0.09228284,
-0.0135544045,
0.04692299,
-0.0595728,
0.013655718,
-0.00239355,
-0.009827486,
-0.05618601,
-0.05048346,
0.008575531,
0.003032192,
0.011470225,
0.03016271,
-0.025849616,
0.005214067,
-0.026225926,
0.01764316,
-0.056128114,
-0.015023462,
-0.02223125,
-0.017657632,
0.015703714,
-0.024127273,
0.024648318,
-0.013047833,
0.030278498,
0.028310107,
-0.008068959,
0.014010319,
0.051496603,
-0.0014591067,
0.03137848,
0.022072041,
-0.0004163384,
0.028758785,
-0.006480496,
-0.005228541,
0.03661788,
-0.016152391,
0.006303196,
-0.04541775,
0.005861755,
0.060499102,
-0.02265098,
0.042899363,
-0.05832808,
-0.010666947,
-0.050251886,
-0.0025835142,
0.014379392,
0.02231809,
0.016441861,
0.037688915,
-0.04923874,
-0.008249878,
-0.032970563,
0.020508906,
0.0011714464,
-0.00008322245,
0.009002498,
0.01801947,
-0.054130778,
0.034388963,
-0.022839135,
0.031204801,
-0.02307071,
-0.021753624,
-0.013373486,
-0.011788641,
0.0042805285,
0.026964074,
-0.033173192,
0.008286062,
0.036067884,
0.03867311,
0.0908355,
0.00063728495,
0.010211033,
-0.03149427,
-0.01163667,
-0.017281322,
-0.008358428,
0.034446858,
-0.0072331163,
0.010001168,
0.0073235757,
0.009762355,
-0.011889955,
0.009718935,
0.030915331,
0.059978057,
-0.04084413,
0.0015459475,
-0.026718024,
0.0340416,
0.009675514,
0.008372902,
0.006817004,
-0.049586106,
-0.012874151,
0.030220604,
-0.0071643675,
0.022014147,
-0.0046532205,
0.0010981745,
0.013525457,
0.053262368,
-0.052017648,
0.030770596,
0.006932792,
-0.0043890798,
-0.024474638,
0.014060976,
0.06941476,
-0.041480962,
-0.0022216775,
0.04159675,
0.03537316,
0.04475197,
0.039020475,
0.006589047,
0.037688915,
-0.013670192,
-0.01768658,
-0.03271004,
0.018207625,
0.040902026,
0.029728506,
0.017657632,
0.021840466,
0.006827859,
-0.0054818266,
0.040323086,
0.012548498,
-0.0018562225,
0.055549175,
0.010920233,
0.03566263,
-0.02987324,
0.0055035367,
0.0063864184,
0.02690618,
0.010095245,
0.0046098,
0.011050494,
-0.004146649,
0.007880804,
-0.047617715,
-0.023143077,
-0.04831244,
0.063393794,
0.024011485,
-0.0290772,
-0.08452506,
-0.029670613,
-0.024170695,
0.04718351,
-0.016876066,
-0.0382968,
0.00088242936,
0.011542592,
0.02490884,
-0.017093167,
0.00018985121,
0.042407267,
0.029569298,
0.035604734,
-0.057835985,
-0.041654646,
-0.062120132,
-0.042552,
-0.060093846,
0.0031968276,
0.026645657,
-0.025777249,
-0.01731027,
-0.0068387142,
0.013228751,
0.00013489726,
0.022665454,
0.021044424,
0.010239979,
0.04776245,
0.0121070575,
-0.007692649,
-0.04067045,
0.03809417,
-0.026964074,
0.065767445,
0.06628849,
-0.03479422,
-0.021087846,
-0.009624857,
0.021825992,
0.028483788,
-0.016803699,
0.013771506,
-0.002069706,
-0.0019014521,
-0.02260756,
-0.02761538,
0.020494433,
0.019177347,
-0.048254546,
0.0558097,
0.011426805,
0.009661041,
0.040149406,
0.023389127,
-0.043391462,
0.034475803,
0.0015966046,
0.023722017,
0.001797424,
0.05002031,
0.019351028,
-0.02260756,
-0.007110092,
-0.021753624,
-0.017426057,
-0.026240401,
-0.009689988,
-0.06403063,
-0.017426057,
0.060556997,
-0.0067699654,
-0.037862595,
-0.010247217,
-0.070514746,
-0.053117633,
0.03629946,
-0.04179938,
0.040496767,
0.063972734,
0.031233747,
-0.030191658,
-0.0077939634,
-0.013055069,
0.012259029,
0.04454934,
-0.065130614,
0.011180755,
0.034012653,
0.0092123635,
0.029511405,
0.033346873,
-0.023808857,
0.018627355,
0.014748465,
-0.00999393,
0.046575624,
-0.017165534,
-0.013778743,
0.0034012652,
0.011101151,
-0.040583607,
-0.021594416,
0.024315428,
0.0018833602,
0.04530196,
-0.0032040642,
-0.024764106,
0.0048956512,
-0.031696897,
0.005376894,
-0.012251792,
0.053378157,
0.05806756,
-0.07688307,
0.0053443285,
0.0023718397,
-0.008561057,
0.0069002267,
0.015370824,
-0.086088195,
0.035054743,
0.008213694,
0.011709037,
-0.0297864,
0.0023573663,
0.024344375,
0.016224759,
0.018670775,
0.016326074,
0.013525457,
-0.040815186,
-0.016108971,
-0.005858137,
-0.017816842,
-0.008980787,
0.0063104327,
-0.003053902,
-0.011036021,
-0.035402108,
0.0020733245,
0.017252376,
0.028179845,
0.022795714,
-0.026008824,
0.03366529,
-0.041625697,
0.024547005,
0.028483788,
-0.02690618,
0.0048775594,
-0.016876066,
-0.0060716206,
0.014314261,
-0.010565633,
-0.00093987095,
0.018004997,
-0.03696524,
0.005319,
0.018120784,
-0.006241684,
0.0076275184,
0.0073706144,
0.022404931,
0.031089012,
0.019929968,
0.015211617,
-0.03137848,
0.051554497,
0.06437799,
-0.030683756,
0.008423559,
-0.023765437,
0.046025634,
0.04434671,
-0.030423233,
0.0006621612,
0.02461937,
-0.020465486,
-0.00071779365,
0.035228424,
0.04718351,
-0.027123282,
0.0006187408,
-0.040207297,
0.014755703,
-0.019264188,
-0.020537853,
0.010457082,
0.019336555,
-0.027919322,
-0.009060392,
-0.0040634265,
-0.0012338633,
0.0008638852,
0.008358428,
-0.057720196,
0.016615544,
-0.030799543,
-0.016731331,
-0.0031154144,
-0.0077867266,
-0.03670472,
0.015790556,
0.033173192,
-0.013424143,
-0.028512735,
0.03624157,
-0.013605061,
-0.063567474,
0.0022813806,
0.015761608,
0.01801947,
0.021797044,
0.012562972,
0.00018487596,
0.0010610862,
-0.022506244,
-0.059254386,
0.006440694,
-0.012548498,
-0.030307446,
-0.0045265774,
-0.023562808,
0.03849943,
-0.023852278,
0.013822163,
0.06003595,
-0.04567827,
-0.0059051756,
-0.016441861,
-0.013482037,
0.0061295144,
-0.02027733,
-0.001773,
0.004541051,
0.0023790766,
0.018931298,
-0.029931135,
-0.032188997,
-0.038933635,
0.00022965325,
-0.005025912,
0.033723183,
0.014835306,
0.06165698,
0.0038788898,
-0.015631348,
-0.0048920326,
-0.034852114,
-0.008655135,
-0.03528632,
0.020176016,
-0.014379392,
-0.0030973225,
0.005445643,
0.020118123,
-0.0036364591,
0.009313677,
-0.017426057,
-0.010377478,
-0.033723183,
-0.043680932,
-0.0044650654,
0.029395616,
-0.002275953,
-0.067388475,
-0.007294629,
0.025415413,
-0.008394612,
0.043478303,
0.044578288,
0.009668278,
0.006451549,
-0.063972734,
0.022332564,
-0.000034148343,
0.042899363,
-0.051699232,
-0.011998506,
0.03847048,
0.018279992,
0.035344213,
-0.04072834,
-0.0062018814,
-0.043796718,
-0.022477299,
-0.054709714,
-0.03954152,
0.012505078,
0.0122300815,
0.014690571,
0.01848262,
-0.008828816,
-0.021087846,
-0.0031588348,
-0.0017069648,
0.018294465,
0.0038065226,
-0.029627193,
-0.04388356,
0.019669445,
-0.003565901,
0.012222845,
0.021174686,
-0.015298457,
0.036009993,
-0.02519831,
0.005022294,
-0.021652311,
-0.015891869,
-0.015168196,
0.021782571,
0.03470738,
-0.0145386,
0.0050186757,
-0.027441699,
0.032594252,
0.004747298,
-0.010956417,
-0.03366529,
-0.02920746,
-0.017527372,
-0.051496603,
0.00913276,
-0.04434671,
0.0066433223,
-0.02419964,
0.008749212,
-0.00041407693,
-0.041278336,
0.046749305,
0.06970423,
0.009053155,
0.0069400286,
-0.021290474,
0.021174686,
-0.0044071716,
0.027108809,
-0.024937788,
0.011513645,
-0.021565469,
-0.021594416,
-0.015573453,
-0.032941617,
-0.0051453183,
0.016789224,
0.04188622,
-0.022043094,
0.012251792,
-0.0096465675,
-0.013561641,
-0.014263604,
0.0013017077,
-0.006498588,
-0.0041213203,
0.032825828,
0.0053443285,
0.017816842,
0.042957257,
0.0021040805,
-0.039280996,
-0.025010156,
0.057170205,
-0.017845787,
-0.019886548,
0.05085977,
0.027340384,
-0.030191658,
-0.06136751,
-0.05352289,
0.0016409296,
0.0050946614,
-0.010500502,
0.009487359,
0.009393281,
-0.030741649,
0.004772627,
0.020508906,
0.011593249,
0.01801947,
0.061946448,
-0.015168196,
-0.03904942,
0.029236408,
0.065651655,
-0.011998506,
-0.009755119,
0.021029951,
0.030625861,
0.008713028,
0.004331186,
0.038325746,
-0.02415622,
0.004975255,
0.007692649,
0.004197306,
0.030712701,
-0.043391462,
-0.020016808,
-0.018511567,
-0.027760115,
-0.083656654,
0.005637416,
0.042725682,
0.0010945562,
0.052162383,
-0.010703131,
0.0061512245,
0.04475197,
0.01573266,
-0.027543012,
-0.053378157,
0.012382053,
-0.088288166,
-0.015197143,
-0.022433877,
-0.020291803,
-0.016485281,
-0.009921564,
-0.019539183,
-0.04072834,
0.024344375,
0.016687911,
-0.013156384,
0.0010601816,
-0.022433877,
0.015341878,
-0.011810351,
-0.014806359,
0.016166866,
-0.031031119,
0.012722179,
0.034012653,
-0.023837805,
0.031146906,
-0.014661625,
0.00884329,
0.0013089444,
0.006983449,
-0.04038098,
-0.022086514,
-0.086261876,
0.018048417,
0.0015640393,
0.026153559,
0.0040742815,
-0.02265098,
0.015674768,
0.042523053,
0.01238929,
0.004139412,
-0.025039103,
0.025820669,
-0.022723347,
-0.003536954,
-0.0046061818,
0.05381236,
-0.065825336,
-0.0045374325,
0.020624693,
0.039309945,
0.006668651,
0.017758947,
0.05560707,
0.029091673,
0.02065364,
0.0581544,
-0.009776829,
0.016948434,
0.0066722697,
-0.0032058735,
-0.015385298,
-0.00580748,
-0.030307446,
-0.04029414,
0.03705208,
0.040525716,
-0.029670613,
0.005438406,
-0.006314051,
-0.020407593,
-0.038528375,
0.008546583,
0.04923874,
0.051988702,
0.008249878,
-0.01568924,
-0.035054743,
-0.0005300908,
-0.048572965,
-0.014618204,
-0.026558816,
-0.013561641,
0.012599155,
-0.03586526,
0.030394286,
-0.013040596,
0.006418984,
-0.011643906,
0.028686417,
0.046778254,
0.030799543,
0.02845484,
-0.016268179,
0.033375822,
-0.054217618,
-0.046749305,
-0.02027733,
0.027673274,
-0.05114924,
-0.05352289,
-0.015052408,
0.044144083,
-0.011014311,
-0.030017976,
-0.06374116,
-0.006216355,
0.02828116,
0.0046459837,
-0.035981044,
0.044520393,
-0.0297864,
0.020132596,
-0.040815186,
-0.016572123,
0.019220768,
0.023374652,
0.020740481,
-0.021406261,
0.019539183,
0.03745734,
0.013011649,
0.00030823966,
0.003526099,
-0.03129164,
0.030307446,
-0.02236151,
-0.005977543,
0.009465649,
0.04727035,
0.039396785,
0.0132649345,
-0.034591593,
0.04886243,
0.025936458,
-0.042378318,
0.023924645,
0.07450942,
0.010978127,
-0.016253706,
0.014032029,
-0.084409274,
0.03774681,
0.0020045754,
0.005159792,
0.020176016,
-0.013018886,
-0.053464998,
0.050830826,
-0.04918085,
0.03271004,
0.009378809,
-0.07057264,
-0.040496767,
0.009588674,
0.020118123,
-0.0029652521,
0.030567968,
-0.009443939,
0.026674604,
0.030046923,
0.013670192,
-0.0070051593,
0.0121070575,
0.0011904428,
0.010804445,
0.014212947,
0.007475547,
-0.012070874,
-0.020060228,
-0.035112638,
-0.03612578,
0.016094498,
-0.008713028,
-0.004027243,
0.04923874,
-0.05427551,
-0.01939445,
-0.069935806,
0.037573125,
-0.040323086,
-0.022404931,
0.025212783,
-0.0120564,
0.0003276884,
0.019582605,
-0.033781078,
0.0031950183,
0.0056808367,
0.03951257,
0.0054601165,
0.0785041,
0.03849943,
0.017701054,
0.00045478356,
0.011151808,
0.0042334897,
-0.006842333,
0.0074466,
-0.011774167,
0.011897192,
-0.01877209,
-0.05172818,
0.0099143265,
0.019177347,
0.01901814,
-0.030278498,
0.007533441,
-0.018004997,
-0.032883722,
0.004356514,
0.026689079,
-0.006371945,
0.030510074,
-0.0024405888,
0.00033175905,
-0.05615706,
-0.017281322,
-0.035807364,
0.009038682,
-0.010464318,
-0.02511147,
-0.0008860477,
-0.01378598,
0.004461447,
-0.017382637,
0.01456031,
-0.007327194,
-0.0035423816,
0.047704555,
0.035981044,
0.034823168,
-0.023664122,
-0.04926769,
0.04417303,
0.044665128,
0.005384131,
0.10895628,
0.037804704,
0.015081355,
-0.028223265,
0.0061910264,
0.021362841,
-0.009747881,
-0.019669445,
-0.025096996,
0.026457502,
-0.05540444,
-0.04509933,
-0.006075239,
0.016832644,
0.010912996,
0.02349044,
-0.04999136,
0.0012248174,
-0.058878075,
-0.0017540036,
-0.061135937,
0.02307071,
-0.011817588,
0.008018302,
0.0026468358,
-0.052886058,
0.24894367,
0.058762286,
0.037428394,
0.03708103,
0.027514065,
0.03800733,
0.04533091,
-0.007967645,
0.02256414,
-0.035633683,
0.0027354858,
-0.0012257219,
-0.007034106,
-0.006187408,
0.013489273,
0.04897822,
-0.015110302,
0.0077939634,
-0.012685996,
-0.030886384,
-0.038615216,
-0.004953545,
0.007189696,
-0.0069762124,
0.007526204,
-0.0015206189,
-0.019799706,
-0.022911502,
-0.014307025,
-0.062409602,
-0.043478303,
-0.01274389,
0.030654809,
-0.022723347,
-0.015255037,
0.034186333,
0.03204426,
-0.048080865,
-0.019293135,
0.03980204,
-0.03670472,
-0.033346873,
0.010905759,
-0.0050548594,
-0.032449517,
0.052654482,
0.007685412,
-0.005181502,
0.022375984,
-0.04608353,
0.05152555,
-0.052365012,
0.053841308,
-0.032160047,
-0.024749633,
0.011434041,
-0.03765997,
-0.015819503,
-0.0017947102,
-0.0011235031,
0.02490884,
-0.0038933633,
-0.009125522,
0.008213694,
0.0156024005,
0.025371991,
-0.008416322,
0.02874431,
-0.023722017,
-0.024460163,
0.041249387,
0.011586012,
0.014068212,
-0.030307446,
0.008047249,
0.016789224,
-0.01573266,
0.039396785,
0.0397152,
-0.013872821,
-0.029815348,
0.00085076864,
-0.0062597757,
-0.0049282163,
0.016774751,
0.021304946,
-0.03548895,
-0.011998506,
-0.03988888,
0.009943274,
-0.0030394285,
0.031725846,
0.018424727,
-0.008358428,
0.0010972699
] |
Perceiver
Overview
The Perceiver IO model was proposed in Perceiver IO: A General Architecture for Structured Inputs &
Outputs by Andrew Jaegle, Sebastian Borgeaud, Jean-Baptiste Alayrac, Carl Doersch,
Catalin Ionescu, David Ding, Skanda Koppula, Daniel Zoran, Andrew Brock, Evan Shelhamer, Olivier Hénaff, Matthew M.
Botvinick, Andrew Zisserman, Oriol Vinyals, João Carreira.
Perceiver IO is a generalization of Perceiver to handle arbitrary outputs in
addition to arbitrary inputs. The original Perceiver only produced a single classification label. In addition to
classification labels, Perceiver IO can produce (for example) language, optical flow, and multimodal videos with audio.
This is done using the same building blocks as the original Perceiver. The computational complexity of Perceiver IO is
linear in the input and output size and the bulk of the processing occurs in the latent space, allowing us to process
inputs and outputs that are much larger than can be handled by standard Transformers. This means, for example,
Perceiver IO can do BERT-style masked language modeling directly using bytes instead of tokenized inputs.
The abstract from the paper is the following:
The recently-proposed Perceiver model obtains good results on several domains (images, audio, multimodal, point
clouds) while scaling linearly in compute and memory with the input size. While the Perceiver supports many kinds of
inputs, it can only produce very simple outputs such as class scores. Perceiver IO overcomes this limitation without
sacrificing the original's appealing properties by learning to flexibly query the model's latent space to produce
outputs of arbitrary size and semantics. Perceiver IO still decouples model depth from data size and still scales
linearly with data size, but now with respect to both input and output sizes. The full Perceiver IO model achieves
strong results on tasks with highly structured output spaces, such as natural language and visual understanding,
StarCraft II, and multi-task and multi-modal domains. As highlights, Perceiver IO matches a Transformer-based BERT
baseline on the GLUE language benchmark without the need for input tokenization and achieves state-of-the-art
performance on Sintel optical flow estimation.
Here's a TLDR explaining how Perceiver works:
The main problem with the self-attention mechanism of the Transformer is that the time and memory requirements scale
quadratically with the sequence length. Hence, models like BERT and RoBERTa are limited to a max sequence length of 512
tokens. Perceiver aims to solve this issue by, instead of performing self-attention on the inputs, perform it on a set
of latent variables, and only use the inputs for cross-attention. In this way, the time and memory requirements don't
depend on the length of the inputs anymore, as one uses a fixed amount of latent variables, like 256 or 512. These are
randomly initialized, after which they are trained end-to-end using backpropagation.
Internally, [PerceiverModel] will create the latents, which is a tensor of shape (batch_size, num_latents,
d_latents). One must provide inputs (which could be text, images, audio, you name it!) to the model, which it will
use to perform cross-attention with the latents. The output of the Perceiver encoder is a tensor of the same shape. One
can then, similar to BERT, convert the last hidden states of the latents to classification logits by averaging along
the sequence dimension, and placing a linear layer on top of that to project the d_latents to num_labels.
This was the idea of the original Perceiver paper. However, it could only output classification logits. In a follow-up
work, PerceiverIO, they generalized it to let the model also produce outputs of arbitrary size. How, you might ask? The
idea is actually relatively simple: one defines outputs of an arbitrary size, and then applies cross-attention with the
last hidden states of the latents, using the outputs as queries, and the latents as keys and values.
So let's say one wants to perform masked language modeling (BERT-style) with the Perceiver. As the Perceiver's input
length will not have an impact on the computation time of the self-attention layers, one can provide raw bytes,
providing inputs of length 2048 to the model. If one now masks out certain of these 2048 tokens, one can define the
outputs as being of shape: (batch_size, 2048, 768). Next, one performs cross-attention with the final hidden states
of the latents to update the outputs tensor. After cross-attention, one still has a tensor of shape (batch_size,
2048, 768). One can then place a regular language modeling head on top, to project the last dimension to the
vocabulary size of the model, i.e. creating logits of shape (batch_size, 2048, 262) (as Perceiver uses a vocabulary
size of 262 byte IDs). |
[
-0.0047525708,
-0.0038444835,
-0.03334615,
-0.0074842754,
-0.021957844,
0.007231202,
0.0036453742,
-0.0011416218,
-0.042665206,
0.03799079,
-0.005653214,
0.048143502,
0.021734543,
0.002705653,
-0.008939448,
0.0008150454,
-0.038705353,
-0.0048232824,
-0.08003076,
-0.0007708506,
-0.029148107,
0.027733874,
-0.08229353,
0.02685556,
-0.035430282,
0.0065947967,
0.03301864,
-0.023997318,
0.091225535,
0.013703183,
0.006170526,
0.032601815,
0.002685184,
-0.00812068,
-0.016792169,
-0.045344807,
0.02023099,
-0.026528053,
-0.020513836,
-0.043260675,
0.024667218,
-0.0023111561,
0.02640896,
-0.030353928,
-0.06704958,
-0.010011288,
0.010256918,
-0.024071751,
-0.026959766,
-0.029296974,
0.042992715,
0.018712549,
0.008664045,
-0.004920046,
0.0072163153,
-0.026215432,
-0.03879467,
0.0040454534,
-0.06234539,
0.001380739,
0.041682687,
0.025739059,
0.0014467986,
-0.028701507,
0.04305226,
0.0073912335,
-0.0041459384,
0.024295053,
-0.02931186,
-0.004253867,
-0.037663285,
0.025262685,
-0.013144933,
-0.042159062,
-0.0059100096,
0.012921633,
-0.015422594,
0.021883411,
-0.026974654,
0.016613528,
0.022300238,
0.040610846,
0.028984355,
-0.023178551,
-0.020826457,
0.007949484,
0.04597005,
-0.0109268185,
-0.04626778,
-0.011961442,
-0.0268109,
0.063953154,
-0.053264517,
0.024309939,
0.017610935,
0.025158478,
0.00040007936,
0.044570703,
0.0010690492,
-0.019129375,
0.045493674,
0.05567616,
0.0023762854,
0.03912218,
-0.037306003,
-0.003706782,
0.032095667,
0.024890518,
-0.017372748,
0.008329094,
0.01438797,
0.045821182,
0.0013928345,
0.047637355,
-0.045880727,
0.0078006173,
-0.016003175,
-0.012445259,
-0.042814072,
-0.019992802,
-0.0013705044,
-0.008738478,
-0.049513076,
-0.0012542022,
0.03575779,
-0.02054361,
-0.027168179,
0.03492414,
-0.0044473936,
-0.01889119,
0.001313749,
-0.009013881,
0.015467254,
0.043737046,
-0.041027673,
0.030636774,
-0.006103536,
0.016821941,
-0.0087235905,
-0.027733874,
0.058832135,
-0.0011276655,
0.025218025,
0.046208236,
0.037663285,
-0.013345903,
-0.003997072,
-0.02774876,
-0.010562095,
0.044421833,
-0.012199629,
0.0028935971,
0.032155216,
0.008626827,
0.02259797,
-0.014737807,
0.00072619057,
0.012326166,
-0.010383455,
-0.01427632,
0.0023204603,
0.02908856,
-0.047905315,
0.058296215,
-0.00156124,
0.023952657,
-0.008217444,
0.00787505,
0.017581161,
0.0038891435,
0.008664045,
0.01610738,
0.013249139,
0.04623801,
-0.004916324,
0.025619965,
0.03915195,
0.0034351,
0.015087644,
0.017402522,
0.02045429,
0.007599647,
0.038377844,
0.02313389,
-0.02962448,
-0.0017305758,
-0.022255577,
-0.008879901,
0.008879901,
0.0045739305,
-0.0073837903,
0.0046632504,
-0.02779342,
0.032661363,
-0.056807548,
0.02877594,
-0.03751442,
0.011953999,
0.03254227,
-0.06776414,
-0.05877259,
0.04171246,
-0.049334437,
0.047548037,
-0.027942287,
-0.032661363,
0.00016526534,
0.009400935,
-0.019040056,
0.03781215,
0.03772283,
-0.0068255397,
-0.058653496,
-0.004008237,
0.04900693,
-0.0045999824,
-0.011410636,
0.013680853,
-0.0014486595,
0.050465826,
0.04206974,
0.008477961,
0.058653496,
0.007860164,
0.002714957,
-0.014179557,
-0.004354352,
0.068895526,
-0.005083799,
-0.018429702,
0.041236088,
0.017432295,
-0.01434331,
0.06603728,
0.036144845,
0.008291877,
0.05371112,
0.019665295,
-0.022270463,
0.0040045152,
0.061392643,
0.04775645,
-0.00791971,
0.038735125,
-0.0068255397,
0.0019185201,
-0.0067659933,
0.018385042,
-0.02712352,
-0.005411306,
-0.055705935,
0.013546873,
0.011194779,
0.0123559395,
-0.03647235,
0.004093835,
0.021645224,
0.0029791957,
-0.034001164,
0.004704189,
-0.010636528,
0.00042659623,
0.020841343,
-0.052996557,
-0.016315794,
0.015065314,
-0.031351335,
0.0071121086,
0.01826595,
-0.033643883,
-0.02286593,
-0.04543413,
-0.03778238,
-0.03254227,
-0.024205731,
-0.022434218,
0.039717644,
-0.04028334,
0.04046198,
-0.0039449683,
0.007164212,
0.0009899638,
-0.03406071,
0.035370737,
0.017521614,
0.012013546,
-0.054515,
-0.030145515,
-0.012437816,
0.038288526,
-0.016762394,
-0.014038133,
0.00076433766,
-0.01333846,
0.010376012,
0.0014281903,
0.012653673,
-0.004242702,
-0.013576646,
-0.0022423053,
-0.009065985,
-0.016807055,
0.03799079,
0.026230318,
-0.016851714,
0.019977916,
0.0031596965,
-0.020379856,
0.0049126022,
0.042397246,
-0.016152041,
0.018146856,
0.022568198,
0.024830973,
-0.011068242,
0.067406856,
0.03939014,
-0.014380527,
-0.040253565,
-0.026513167,
-0.036055524,
-0.004287362,
0.019114489,
-0.036412805,
-0.049304664,
0.021987617,
-0.029460728,
-0.065263174,
0.030205062,
-0.049691718,
-0.020067235,
-0.010614199,
-0.021094417,
0.06478681,
0.018593455,
0.01282487,
-0.055527292,
0.026200546,
-0.005537843,
0.03626394,
0.0013528265,
-0.003874257,
0.018950736,
-0.012951407,
0.036442578,
0.005668101,
0.0062561245,
-0.033584338,
0.00825466,
-0.032065894,
0.032155216,
-0.005779751,
-0.009214851,
0.01717922,
0.020171443,
0.0014793632,
-0.0027465913,
-0.027108634,
0.0418911,
-0.01454428,
0.009944298,
-0.0085970545,
0.011098015,
-0.0053592026,
-0.0319468,
-0.023997318,
0.013219367,
0.05648004,
0.06442952,
-0.04820305,
0.022568198,
-0.00023132496,
-0.02832934,
-0.015735215,
-0.038645804,
0.0115743885,
0.025828378,
0.011693482,
0.058742814,
-0.07782753,
-0.022300238,
0.052401092,
-0.008827797,
0.051746078,
0.041325405,
-0.017834235,
-0.017849121,
-0.010219702,
-0.015794761,
-0.011388306,
0.025962358,
0.0118349055,
0.015243954,
0.0027224005,
-0.054663867,
-0.05502115,
0.0037700501,
0.016836828,
0.014968551,
-0.012482476,
0.09033234,
0.0028582413,
0.023893112,
0.02009701,
-0.0058541843,
-0.03245295,
0.0046074255,
0.03799079,
-0.042724755,
-0.009646565,
0.011373418,
-0.05070401,
-0.023818677,
-0.028165586,
-0.000018273973,
0.04081926,
-0.031202469,
-0.012296393,
-0.0052698827,
0.030339042,
-0.033107962,
-0.011261769,
-0.032691136,
0.010390898,
0.036353257,
-0.0057834727,
0.012177299,
-0.009884751,
0.004410177,
0.004603704,
-0.033673655,
-0.02085623,
-0.046029594,
-0.025337119,
-0.06023148,
0.017536502,
0.017104788,
-0.024667218,
-0.038228977,
-0.034269124,
-0.019977916,
0.019040056,
-0.004938654,
0.0123559395,
0.007956927,
-0.0039151954,
-0.00095460797,
0.012549466,
0.0012867668,
0.015645893,
0.024473691,
-0.01407535,
0.008842684,
-0.025396666,
0.010562095,
-0.021585677,
0.0075363787,
-0.024518352,
0.015437481,
0.028001834,
-0.0054745744,
-0.0052922126,
0.040342886,
-0.037484646,
-0.021496357,
0.0047897873,
-0.013345903,
0.015132304,
0.021377264,
0.019441996,
0.014514507,
0.011217109,
0.012437816,
-0.0011602301,
-0.008492847,
-0.00644593,
0.020915776,
-0.010852385,
-0.02299991,
-0.009043654,
-0.027555233,
0.036502123,
0.0009778683,
-0.0006889739,
-0.02757012,
-0.093786046,
-0.009222294,
0.0078080604,
-0.04358818,
-0.0014039994,
-0.026691806,
-0.020513836,
0.0143656405,
0.0020078402,
-0.07544566,
-0.017789574,
0.01474525,
-0.0025698121,
0.050078772,
0.019903483,
0.007264697,
-0.03754419,
-0.03432867,
0.018146856,
-0.025128705,
0.009073428,
-0.02018633,
-0.023178551,
0.03051768,
0.017968215,
-0.01759605,
-0.038228977,
-0.05502115,
0.021213511,
0.004235259,
-0.053472932,
-0.0058765146,
-0.047280077,
-0.011998659,
0.04891761,
-0.051418573,
-0.059665788,
-0.019054942,
0.002886154,
0.0026498279,
0.032393403,
0.0014002777,
-0.006163083,
-0.055735707,
-0.022702178,
0.028790828,
-0.03727623,
-0.025798606,
-0.02627498,
-0.01960575,
-0.0036844518,
0.023327418,
0.0040491754,
-0.031589523,
0.005969556,
-0.049810812,
0.0288206,
-0.03825875,
-0.015943628,
-0.0054075844,
-0.021868523,
-0.038288526,
0.053234745,
0.012311279,
-0.011276656,
0.028716395,
-0.026528053,
0.012661116,
0.003152253,
-0.005634606,
-0.024414144,
0.02783808,
0.014045577,
-0.049751263,
0.002906623,
-0.046178464,
0.04543413,
-0.080328494,
0.052877467,
-0.032840002,
0.011284099,
-0.019352676,
-0.031321563,
0.01458894,
-0.05478296,
0.063953154,
-0.014670817,
0.037127364,
-0.012943963,
0.0035058118,
-0.07264697,
-0.01416467,
-0.066751845,
-0.038467165,
0.033375923,
-0.05969556,
-0.014767581,
0.0020227267,
-0.012199629,
0.06270267,
-0.029951988,
0.020067235,
0.07359972,
0.015735215,
0.013055613,
-0.05951692,
0.06180947,
-0.00076898973,
0.005805803,
-0.030994056,
0.05338361,
0.014328424,
0.005522956,
-0.030577227,
-0.027093746,
-0.029014127,
0.04579141,
0.06841915,
-0.008477961,
0.04067039,
0.013799947,
-0.07103921,
-0.023372078,
0.028388888,
0.019040056,
-0.02005235,
0.0051470674,
0.031440657,
-0.022404443,
0.02197273,
-0.0133310165,
-0.01637534,
0.0073093567,
0.0001060094,
0.01461127,
-0.08413948,
0.03281023,
0.022776611,
-0.030473022,
-0.09872842,
0.005880236,
0.0035858275,
0.02063293,
-0.0012653673,
0.024518352,
-0.011351089,
-0.0010188067,
0.022300238,
-0.009021324,
-0.020082124,
-0.006017938,
0.04632733,
-0.00012374547,
-0.04704189,
0.033852298,
0.03495391,
-0.01512486,
0.004160825,
-0.04147427,
-0.0067994883,
-0.015988288,
-0.024682105,
0.05177585,
0.015377934,
0.010026175,
0.012288949,
0.017536502,
0.05415772,
-0.004726519,
-0.013502213,
0.039896287,
-0.04448138,
-0.057522107,
0.009289284,
0.054634094,
-0.014514507,
-0.0011016139,
-0.03011574,
0.011857236,
0.044600476,
0.01889119,
0.008500291,
-0.05716483,
0.015288614,
-0.030443247,
-0.0059323395,
0.0054075844,
-0.001307236,
-0.0034741776,
0.013613863,
-0.014194444,
-0.045940276,
-0.006620848,
0.022761725,
-0.0041161655,
-0.012467589,
-0.04707166,
0.010309022,
-0.050138317,
-0.027436139,
0.0014086515,
-0.03486459,
-0.011477626,
0.021496357,
0.00832165,
-0.027495686,
0.0021808976,
-0.002826607,
-0.00037402767,
0.019992802,
-0.034477536,
-0.008649157,
-0.00072107324,
-0.017744916,
-0.026915107,
0.06496544,
0.025426438,
-0.017491842,
-0.029475614,
-0.0121624125,
-0.057790067,
-0.030874962,
-0.019590862,
0.045047075,
0.007688967,
0.008358867,
0.038199205,
0.009252068,
-0.03912218,
0.0015417011,
-0.051120836,
0.0008169062,
-0.022702178,
0.04623801,
0.03361411,
0.042278152,
0.02922254,
0.040342886,
0.017149448,
0.004030567,
0.021541016,
-0.0034276566,
0.00017282498,
-0.005400141,
-0.016494434,
-0.0016784725,
-0.0029550048,
0.05850463,
-0.0043283002,
0.039777193,
0.0051917275,
-0.010911932,
0.006070041,
-0.013904153,
-0.015541688,
0.046208236,
0.04120631,
-0.05603344,
0.040700167,
0.00176221,
-0.07240878,
0.004164547,
-0.033941615,
-0.03682963,
-0.017581161,
-0.019948144,
0.007614534,
0.0023148777,
-0.03620439,
-0.00733913,
0.018593455,
-0.0017882617,
-0.009207408,
-0.00673622,
-0.03379275,
0.040759712,
-0.011648823,
-0.041057445,
0.012512249,
-0.017476955,
-0.07330198,
-0.029103447,
0.021347491,
0.041682687,
-0.022508651,
-0.007510327,
-0.058058027,
-0.005805803,
0.0020171443,
0.008031361,
-0.058534402,
0.06431043,
-0.040074926,
0.0031783048,
-0.03584711,
-0.01378506,
0.03656167,
0.031649068,
0.045225713,
0.004052897,
0.025485985,
-0.0061891344,
-0.0022869653,
-0.011648823,
-0.015206737,
0.017804462,
0.023967545,
-0.007770844,
0.009199965,
-0.011708369,
0.019054942,
0.0068069315,
0.027183067,
0.010070835,
0.035966203,
0.0068106535,
-0.044094328,
-0.032512497,
0.06055899,
0.04340954,
0.002380007,
0.07514793,
-0.010383455,
-0.0029661697,
0.013889267,
-0.0037328335,
0.030666549,
-0.008760807,
0.010547209,
-0.03301864,
-0.0014719198,
0.03602575,
0.0048753857,
0.003401605,
0.024235506,
0.022568198,
0.0711583,
0.02049895,
-0.002830329,
-0.010792838,
0.031440657,
0.0152737275,
-0.01376273,
0.0144326305,
0.005522956,
0.0077261836,
-0.0146931475,
0.0558548,
-0.02139215,
0.00693719,
-0.026840674,
-0.02761478,
-0.017208995,
0.052162904,
-0.0067957668,
-0.024830973,
-0.0073019136,
-0.024309939,
0.029609594,
-0.030011535,
0.025619965,
-0.041116994,
-0.005184284,
-0.010472775,
-0.015214181,
-0.024533238,
0.01481224,
-0.010093165,
0.0058988445,
0.064191334,
0.05022764,
0.008611941,
0.03674031,
0.029162994,
-0.009013881,
-0.01839993,
0.0042724754,
0.0066282917,
0.0067957668,
-0.0043134135,
-0.0025232912,
0.03298887,
0.007822947,
-0.07764889,
0.017164335,
-0.0021585678,
0.010763065,
-0.07092012,
0.023461398,
-0.00678088,
-0.008552394,
0.010651415,
0.0837822,
0.028254908,
0.005504348,
-0.02707886,
-0.010182485,
-0.017849121,
-0.002346512,
-0.05070401,
0.057760295,
-0.020335196,
-0.019635523,
0.01583942,
-0.029282087,
-0.03813966,
0.038288526,
-0.031291787,
-0.045047075,
0.06508454,
0.00030657244,
0.008812911,
0.06532273,
-0.013048169,
0.00049172546,
-0.004972149,
0.062226295,
0.004030567,
0.06639457,
0.049691718,
-0.025098933,
-0.025530646,
0.020930663,
0.0436775,
-0.01933779,
0.0071121086,
-0.006218908,
0.006151918,
-0.0281507,
-0.015154634,
-0.024354598,
0.032363627,
-0.041593365,
-0.017908668,
-0.05204381,
0.008247217,
-0.093369216,
-0.030264609,
-0.007748514,
0.00051870756,
0.005210336,
0.029118335,
0.028805714,
-0.050733786,
0.26557827,
0.027510574,
0.013777616,
0.021139076,
0.040968128,
0.0649059,
0.02989244,
-0.01539282,
0.024875632,
-0.067287765,
0.01929313,
0.010309022,
0.010949149,
0.009534915,
-0.012876973,
0.020394742,
-0.033465244,
0.03724646,
-0.005828133,
-0.034388218,
-0.0070935,
0.0044808886,
0.016434887,
0.022761725,
-0.0044138986,
-0.005143346,
0.004577652,
-0.07151558,
0.021541016,
-0.05210336,
0.003020134,
-0.020528723,
0.013450109,
0.015132304,
-0.03281023,
0.026468506,
-0.000620123,
-0.028612187,
-0.024741651,
0.016970808,
-0.0058653494,
-0.054812733,
0.013435223,
0.008768251,
0.008068577,
0.03778238,
0.005679266,
0.005452244,
0.048232824,
0.002785669,
0.04120631,
-0.05844508,
0.029073674,
-0.045315035,
-0.055973895,
-0.015243954,
-0.05716483,
-0.048768744,
-0.0022255578,
0.022821272,
0.009088314,
0.0028359115,
-0.047518265,
0.010122938,
0.007432172,
0.026483392,
0.0070004584,
0.06442952,
-0.017655594,
-0.033584338,
0.0051805624,
0.008299321,
-0.0024172238,
0.005277326,
-0.009103201,
0.02170477,
-0.007480554,
0.031917028,
0.021228397,
-0.045047075,
0.026825786,
-0.010703518,
-0.015243954,
-0.04364773,
0.028478207,
0.035698242,
-0.020067235,
0.018772095,
-0.017759802,
0.033227056,
0.003693756,
0.001021598,
-0.0027689214,
-0.027376594,
0.0029550048
] | Fine-tuning
The paper recommends that the embedding layer and the language adapters are frozen during fine-tuning. A method for doing this is provided:
thon
model.freeze_embeddings_and_language_adapters()
Fine-tune the model
Cross-lingual transfer
After fine-tuning, zero-shot cross-lingual transfer can be tested by activating the language adapter of the target language:
thon
model.set_default_language("de_DE")
Evaluate the model on German examples
Resources |
[
0.011598425,
-0.010598682,
-0.03682972,
-0.03187994,
-0.034984037,
-0.011815153,
-0.021029575,
0.012332503,
-0.00050642615,
0.05690849,
0.04628184,
-0.036522105,
0.051539235,
-0.0075085647,
0.009815666,
-0.003187994,
-0.004268137,
-0.03531962,
-0.060292237,
-0.03769663,
-0.0021235815,
0.057160173,
-0.03638228,
-0.009151501,
-0.039514348,
-0.013625878,
0.03442474,
-0.04510732,
0.052909512,
0.016275547,
-0.012157722,
-0.03126471,
0.033166323,
-0.029894434,
-0.02849619,
-0.032830745,
0.03694158,
-0.04678521,
-0.024581112,
-0.038060173,
0.019169912,
0.008906808,
0.011032137,
-0.06566149,
-0.06353616,
-0.035263687,
0.039346557,
-0.04614202,
-0.019673279,
-0.005117569,
-0.017282283,
-0.012689055,
0.00023617198,
-0.02388199,
0.02307101,
-0.033921376,
-0.024692971,
0.00017325104,
-0.011535505,
-0.030425766,
0.01956142,
0.04401669,
-0.041080378,
-0.030481696,
-0.0016621613,
0.0134650795,
-0.02687423,
-0.035711125,
0.0043030926,
-0.00500571,
-0.042003218,
-0.0067884694,
-0.033585794,
-0.04127613,
-0.037221227,
-0.009361236,
0.003694857,
-0.027433528,
-0.008004941,
0.03193587,
-0.015045094,
0.0082426425,
-0.018736456,
-0.0011640373,
-0.022875255,
-0.022134187,
0.03901098,
-0.017897509,
0.009927525,
-0.034620497,
-0.031628255,
0.04189136,
-0.01904407,
0.014709516,
0.019155929,
0.025392093,
0.0030796302,
0.054139968,
0.049749486,
0.011857101,
-0.0077252924,
0.0743306,
-0.016625108,
0.030453732,
-0.041108344,
0.0014183427,
-0.02088975,
-0.01363986,
-0.05606954,
-0.04616998,
0.01767379,
-0.019267788,
0.03378155,
0.028915664,
-0.034564566,
0.033949338,
-0.0058726203,
-0.019253805,
-0.014429867,
0.018344948,
-0.029726645,
0.0029677707,
-0.015674304,
-0.06157862,
0.03624246,
-0.005341288,
-0.0020449304,
0.011808162,
-0.03719326,
0.008382467,
0.02312694,
-0.011703294,
0.035795018,
0.047260612,
-0.025923425,
0.014143228,
-0.021546924,
-0.025587846,
0.005575494,
0.01767379,
0.004907833,
-0.024581112,
-0.021337187,
0.07550512,
0.0016927479,
0.017925475,
-0.008123792,
-0.03861947,
-0.066332646,
0.04116427,
0.0062920935,
0.026007319,
-0.013835615,
0.015981916,
-0.058670275,
-0.04035329,
0.04482767,
0.012933748,
0.023854025,
0.0023175876,
0.029223278,
0.02088975,
-0.05760761,
0.035487406,
0.008787957,
0.020819837,
-0.022483747,
0.021127451,
0.01691874,
-0.07181376,
-0.026804317,
0.019379647,
0.023224816,
0.04586237,
0.013185431,
0.0035165811,
0.062865004,
0.0038836198,
0.01064762,
-0.017002635,
0.0009918786,
-0.036913615,
-0.006536786,
0.04477174,
-0.026482722,
0.0011719024,
0.0048553986,
0.023057027,
-0.022567641,
0.04748433,
0.012276573,
0.05125959,
-0.037668664,
-0.009004685,
0.0061103217,
0.036606003,
-0.03204773,
0.016499268,
0.025252268,
-0.03993382,
-0.032215517,
0.05128755,
-0.0234765,
0.04113631,
0.016904758,
0.02722379,
0.018568667,
0.031040994,
-0.04264641,
0.0073967054,
-0.014569691,
0.032830745,
-0.020246558,
-0.014345973,
0.062865004,
-0.038144067,
0.024525182,
0.024469253,
-0.015506514,
0.025364127,
0.01819114,
0.015184918,
-0.0018823846,
-0.029558856,
-0.011346742,
-0.020246558,
-0.00038320597,
0.054587405,
0.0028978586,
0.018316982,
0.01675095,
-0.005708327,
-0.0019820095,
0.06269722,
0.008927781,
0.035375547,
0.02353243,
0.016876793,
0.016876793,
-0.005620937,
0.021169398,
0.027978841,
0.026398826,
0.064766616,
0.0061557647,
-0.025182355,
-0.0060508964,
0.009011676,
-0.012164714,
-0.008095827,
-0.058334697,
0.055901755,
0.015087042,
0.0010198435,
-0.028691946,
-0.0036039713,
-0.0050965957,
0.02279136,
0.0012855097,
-0.057551682,
-0.019379647,
0.04183543,
0.023909954,
-0.0004885111,
0.030062223,
0.06459883,
0.01110205,
-0.00059381634,
-0.051119763,
-0.059788868,
-0.052322254,
-0.058446556,
-0.026272986,
0.025923425,
-0.00071091915,
-0.03780849,
-0.028342385,
-0.04521918,
-0.038367786,
-0.0371653,
0.012227635,
-0.008438396,
-0.026384845,
0.061131183,
-0.0030639,
-0.01013027,
-0.044995457,
0.015338725,
-0.024021814,
0.01898814,
0.02502855,
-0.03976603,
-0.019211859,
-0.0011159726,
0.030341873,
0.031628255,
-0.012290556,
-0.025699705,
-0.01582811,
0.004726061,
-0.02279136,
-0.01686281,
0.031516396,
0.018093264,
-0.044967495,
0.023756148,
0.04144392,
-0.0066032023,
0.020903733,
0.06594114,
-0.058949925,
0.046533525,
-0.012479318,
0.015156954,
-0.019491507,
0.016107759,
0.036913615,
-0.048546996,
0.018960174,
-0.012213652,
-0.02404978,
-0.040800728,
-0.039514348,
-0.027265739,
-0.04183543,
0.0654937,
-0.027699193,
-0.06409546,
-0.017072547,
-0.042674374,
-0.053245094,
0.006421431,
-0.04597423,
0.044156514,
0.029027523,
0.02266552,
-0.065046266,
-0.002520333,
-0.0068513905,
0.038759295,
0.0154785495,
-0.04857496,
0.014891287,
0.05450351,
0.022301976,
-0.0040723826,
0.009011676,
-0.018708492,
0.025545899,
0.01778565,
0.009116544,
0.056768663,
-0.040884625,
0.016541215,
0.04275827,
0.026552634,
-0.074722104,
-0.020162664,
0.020162664,
0.012444362,
0.013514019,
0.005914568,
-0.018330965,
-0.0015302021,
0.016513249,
-0.034089163,
0.0059495238,
0.025392093,
0.043709077,
-0.08697071,
0.025280233,
-0.059061784,
-0.004540794,
0.02860805,
-0.011871083,
-0.07405095,
0.030257978,
0.02842628,
0.03901098,
-0.027475474,
0.037361052,
-0.024021814,
0.014429867,
0.014583674,
-0.0046456624,
0.017030599,
-0.01214374,
-0.030509662,
0.0001491095,
0.012926756,
0.0019890007,
-0.022399852,
-0.0047330526,
0.009053623,
-0.063144654,
-0.04597423,
0.033753585,
0.031180818,
0.03400527,
0.0006261507,
0.034089163,
0.022413835,
-0.0013772693,
0.040185504,
-0.0234765,
-0.0064773606,
-0.010402928,
0.011367715,
-0.00068994553,
-0.0051944726,
-0.04770805,
0.0026654007,
-0.046114054,
0.016485285,
0.000480646,
0.010353989,
-0.015520497,
0.0091025615,
-0.020400364,
0.014821376,
-0.021574888,
0.0042611454,
-0.05380439,
0.03543148,
0.059005853,
-0.010521778,
0.005187481,
-0.04656149,
0.026105195,
0.02295915,
-0.032215517,
-0.012821888,
0.010612664,
-0.020358417,
-0.013388176,
0.024762884,
0.074498385,
-0.030090189,
0.017967422,
-0.040772766,
-0.011556478,
-0.00086778455,
0.015786164,
-0.0049008415,
-0.0042506587,
-0.010787444,
-0.0026566617,
0.0046666358,
-0.0062816064,
0.008424414,
0.037416983,
-0.011493557,
0.021127451,
-0.040828694,
0.058893993,
-0.002929319,
-0.0012051107,
-0.021490995,
0.008424414,
0.051818885,
0.00045268115,
-0.0049218154,
0.049861345,
-0.014807393,
-0.0654937,
0.0017792642,
0.0162336,
-0.019994874,
0.036801755,
0.005260889,
-0.001139568,
0.016205637,
0.00931929,
-0.054251827,
-0.021490995,
0.0050965957,
-0.02480483,
0.0050546485,
-0.01179418,
0.0371653,
-0.04781991,
0.0067814784,
-0.0027457997,
0.0053552706,
-0.008599195,
-0.036046702,
-0.005348279,
-0.010850365,
-0.02404978,
0.0045897327,
-0.004638671,
0.016848829,
0.005946028,
-0.028272472,
-0.02687423,
-0.028775841,
-0.01800937,
0.0075644944,
0.034256954,
0.024776865,
0.04068887,
-0.02687423,
0.01817716,
0.02543404,
-0.013094545,
0.02129524,
-0.056824595,
0.02762928,
-0.0058796117,
0.021854538,
-0.024259515,
0.030593555,
-0.0010215912,
0.010941251,
0.022707466,
-0.022511711,
0.0025273242,
-0.037389018,
-0.046701316,
0.051063832,
-0.024762884,
-0.05036471,
-0.017771669,
0.002083382,
-0.016023865,
0.05358067,
0.04102445,
-0.001772273,
0.027936894,
-0.037361052,
0.021896485,
-0.02428748,
0.005138543,
-0.030202048,
-0.013003659,
0.018261053,
0.023406588,
0.053720497,
-0.018918227,
0.013514019,
-0.078413464,
-0.0046980963,
-0.055314492,
-0.037668664,
-0.010724523,
0.026832283,
-0.015912006,
0.01824707,
0.024525182,
-0.0141572105,
0.007543521,
0.007179978,
0.047120787,
-0.010626647,
-0.05369253,
-0.023001097,
0.011157979,
0.018750438,
0.03442474,
0.045135282,
-0.024189603,
0.03878726,
-0.039486382,
0.00090448844,
-0.016904758,
-0.026286967,
-0.006746522,
-0.03187994,
0.03615856,
-0.01634546,
-0.019813104,
-0.006977232,
0.036633965,
0.034033235,
-0.00794202,
-0.0136049045,
-0.030425766,
-0.025587846,
-0.019994874,
-0.0030254482,
-0.015003147,
-0.0017180911,
-0.045722544,
0.006585724,
0.030174084,
-0.034061197,
0.026063249,
0.02779707,
-0.0039500366,
-0.006382979,
-0.024301462,
0.00038255053,
0.022050291,
0.015282796,
-0.056600876,
0.026608564,
-0.009067605,
-0.015184918,
-0.008550256,
-0.037025474,
-0.052322254,
0.036410246,
0.06722752,
-0.042422693,
0.006606698,
0.028524157,
-0.019896997,
-0.011178953,
-0.029279208,
0.0037682648,
-0.024595093,
-0.0032369324,
0.038339823,
-0.013367203,
0.0226795,
-0.053161196,
-0.057020348,
-0.025280233,
0.08227262,
-0.003694857,
-0.04021347,
0.0025587846,
0.046953,
-0.008990702,
-0.017645827,
0.0017250823,
-0.0057572653,
-0.0100393845,
-0.0046456624,
0.013646851,
-0.028803805,
-0.030957099,
0.02456713,
-0.0011544244,
0.0026916177,
-0.004124817,
0.058446556,
0.027000071,
-0.05271376,
0.008312554,
0.026524669,
-0.020666031,
0.008899816,
0.015310761,
0.0067605046,
-0.015758198,
-0.019547436,
0.049246117,
-0.03615856,
-0.027293703,
0.031236747,
-0.0063165626,
0.053496774,
-0.000048283076,
-0.03607467,
0.031600293,
-0.042786233,
-0.068402044,
-0.004792478,
0.028803805,
-0.0025290719,
0.032355342,
-0.033557832,
0.037389018,
0.0355713,
0.033110395,
-0.048351243,
-0.06174641,
-0.02997833,
-0.07063924,
0.0016979913,
-0.014485797,
-0.022022327,
0.012017898,
0.023462517,
-0.022581624,
-0.038255926,
0.013842605,
0.047903802,
-0.038423717,
-0.009843631,
-0.03889912,
0.01150754,
-0.0288877,
-0.023798095,
0.020148681,
-0.014164201,
0.02382606,
0.030034259,
-0.025140408,
0.012996668,
-0.027349632,
0.020036822,
0.015604392,
0.053860318,
-0.052937478,
0.019086016,
-0.031600293,
0.008648133,
-0.0031565335,
0.032495167,
-0.0006161008,
-0.058446556,
0.005145534,
0.022539677,
0.023294728,
-0.0018579153,
-0.0066836015,
0.076344065,
-0.014115263,
0.033697657,
-0.01168232,
-0.0061557647,
-0.0701918,
0.0036004756,
0.03666193,
0.0138495965,
-0.012010907,
0.02439934,
0.06722752,
0.058782134,
0.008263616,
0.057439823,
-0.000064450265,
0.0029520404,
-0.02905549,
0.000049320835,
0.016009882,
0.03274685,
-0.017296266,
-0.028775841,
0.030957099,
0.027825035,
-0.048602924,
0.007186969,
0.007900073,
-0.016037846,
-0.055845823,
0.019547436,
0.024105709,
0.06778682,
0.027839018,
-0.023770131,
-0.0062816064,
-0.010451866,
-0.02526625,
0.01427606,
-0.068122394,
-0.0140034035,
0.0014646595,
-0.015800146,
-0.0122556,
-0.008438396,
-0.022441799,
-0.020246558,
-0.001994244,
0.016932722,
0.009305307,
0.038060173,
-0.028915664,
0.032495167,
-0.00955,
-0.031096924,
-0.030565592,
0.04454802,
-0.0397101,
-0.038871154,
-0.0049707536,
0.013493044,
-0.002235441,
-0.028300438,
-0.050560467,
-0.016443336,
-0.010395937,
0.018107247,
0.0084733525,
0.04320571,
-0.06118711,
0.047232646,
0.01939363,
0.0013728999,
-0.0214071,
0.020959662,
0.000021751963,
-0.0019802616,
-0.0023473003,
0.026860248,
0.03769663,
-0.025392093,
0.011619399,
0.022525694,
0.047400437,
0.009689824,
-0.007459626,
0.0140034035,
0.019547436,
0.067115664,
0.019743191,
-0.008997694,
0.039150804,
0.048546996,
0.002198737,
0.0030743866,
0.041807465,
0.011137005,
0.00667661,
0.022777379,
-0.02497262,
0.020232575,
-0.005208455,
0.015758198,
0.020148681,
-0.02170073,
-0.019113982,
0.017631844,
-0.017422108,
0.022064274,
0.029223278,
-0.043653145,
-0.04024143,
0.03073338,
0.011360724,
-0.023029061,
0.036046702,
-0.015101024,
0.06856983,
0.06141083,
0.0054915994,
-0.0025587846,
0.015856076,
0.005858638,
0.0021183381,
-0.0025308197,
0.01771574,
-0.027545387,
-0.03361376,
0.006498334,
-0.045275107,
0.023672253,
-0.009130526,
-0.010759479,
0.038367786,
-0.048183452,
-0.039374523,
-0.06980029,
0.034732357,
-0.018680526,
-0.012465336,
0.035179794,
-0.034788284,
-0.034508638,
0.004781991,
-0.03931859,
0.0007860747,
0.007613433,
0.037333086,
0.022833308,
0.09530424,
0.048714787,
0.051986672,
0.004747035,
0.029223278,
0.0038801243,
-0.015045094,
0.021490995,
0.0028384333,
-0.015912006,
-0.023336675,
-0.020973645,
-0.018778402,
0.042954024,
0.01996691,
-0.00880194,
-0.0076064416,
-0.0016848828,
-0.03176808,
-0.0226795,
0.050085064,
-0.0162336,
0.044352267,
-0.03137657,
-0.017450072,
-0.03638228,
-0.0014139732,
-0.040297363,
0.06834611,
-0.001985505,
-0.008906808,
0.01813521,
-0.02842628,
-0.011171961,
0.02716786,
0.0073757316,
-0.01449978,
-0.017016618,
0.02094568,
0.003946541,
0.005946028,
-0.0027580343,
-0.046617422,
0.05771947,
0.030341873,
0.013660834,
0.092172176,
0.01807928,
-0.0114376275,
0.005260889,
0.031040994,
0.0010364476,
-0.0010399432,
-0.010305051,
-0.010479831,
0.034564566,
0.0029869964,
-0.011388689,
-0.025238285,
0.061914198,
-0.008697071,
0.040604975,
-0.04309385,
-0.03227145,
-0.07483397,
0.04787584,
-0.011409663,
0.06308872,
-0.0057223095,
-0.0025430543,
-0.0014969938,
-0.049190186,
0.23020673,
0.04063294,
0.00931929,
0.058558416,
0.010081332,
0.026454756,
0.06538184,
-0.026496705,
0.016555198,
-0.05455944,
0.014359956,
-0.049050365,
-0.04510732,
-0.004834425,
-0.025462005,
0.068122394,
-0.010214165,
0.025392093,
-0.0077252924,
-0.0008144765,
-0.05696442,
0.03378155,
0.005393722,
-0.0106546115,
-0.019659296,
0.013486054,
0.035878915,
-0.037500877,
-0.012870827,
-0.022581624,
0.0043030926,
-0.04941391,
0.021393117,
-0.015156954,
-0.03520776,
0.022483747,
0.021546924,
-0.028915664,
-0.0063235536,
0.033138357,
0.0049917274,
-0.055845823,
0.009228404,
0.02820256,
-0.046953,
0.031432502,
0.013164458,
-0.029195312,
0.017170424,
-0.029139383,
0.031796046,
-0.053077303,
0.026105195,
-0.0048588943,
-0.027083967,
-0.01582811,
-0.0020082265,
-0.0057397876,
-0.030062223,
0.0075575034,
0.0071205525,
0.022903219,
-0.02077789,
0.010046376,
0.0005601711,
0.0063515184,
0.02722379,
-0.00089443853,
0.010367972,
-0.007907064,
0.01691874,
0.0076064416,
0.019155929,
-0.014709516,
-0.0023140921,
0.036214493,
-0.0034152085,
0.009424157,
0.019869033,
-0.046197947,
-0.0017591644,
0.030257978,
-0.054587405,
0.03126471,
0.01859663,
0.0011526765,
-0.047736015,
-0.00039128956,
-0.018624596,
0.004362518,
0.043261636,
0.032774813,
0.009570973,
-0.0013991168,
0.008067862
] |
The quickest way to get started with the Perceiver is by checking the tutorial
notebooks.
Refer to the blog post if you want to fully understand how the model works and
is implemented in the library. Note that the models available in the library only showcase some examples of what you can do
with the Perceiver. There are many more use cases, including question answering, named-entity recognition, object detection,
audio classification, video classification, etc.
Text classification task guide
Masked language modeling task guide
Image classification task guide |
[
-0.0098846005,
-0.013283653,
-0.0020755709,
0.007957169,
-0.01931339,
-0.025004523,
-0.027166372,
0.007599031,
-0.007892053,
0.07371125,
0.007664147,
0.0438621,
0.041804437,
0.0010402272,
-0.041596066,
0.040476073,
-0.00008571904,
-0.06063597,
-0.029823104,
0.005398112,
0.0056032273,
0.02445755,
-0.10897805,
-0.013296676,
-0.024822198,
0.037220273,
-0.005892993,
0.010600876,
0.055478785,
0.056416456,
-0.035865862,
-0.02797381,
0.025473358,
-0.011356221,
-0.058656443,
0.0008399957,
0.055114135,
-0.006153457,
-0.017880838,
-0.074961476,
0.010425063,
-0.033808198,
0.03568354,
-0.056833196,
-0.046466738,
-0.034198895,
-0.021813842,
0.018271534,
-0.0028944039,
-0.03050031,
0.0068697324,
-0.006986941,
0.029145898,
-0.016669683,
0.013856674,
-0.017503167,
-0.01608364,
0.0015017365,
-0.027817532,
0.0025330102,
0.0073515903,
0.043757915,
-0.025486382,
-0.0662099,
0.022126399,
0.026606375,
-0.011304128,
-0.028025903,
-0.008953443,
-0.021748725,
0.012697609,
0.018388743,
0.0033160297,
-0.028312413,
-0.029823104,
-0.0044278842,
0.027452882,
-0.0044669537,
-0.0024630106,
0.06735594,
-0.008204609,
0.04188258,
0.024105923,
-0.0015456898,
-0.0048739286,
-0.039434217,
0.035553306,
-0.036777485,
-0.034120757,
-0.028598923,
0.0065441527,
0.028807295,
-0.010340412,
-0.0028341715,
0.02254314,
0.018805485,
0.054280654,
0.029744964,
0.0075208917,
0.014612018,
0.034797963,
0.022204537,
0.0022611513,
-0.010516225,
-0.0330789,
0.02503057,
0.033625875,
0.0047241617,
0.004834859,
-0.06657454,
-0.010906921,
-0.009897624,
-0.03143798,
-0.023910575,
0.004561372,
0.017789677,
0.016930146,
0.027843578,
0.014364578,
-0.020993382,
-0.0014162718,
-0.011831568,
0.000675171,
-0.05381182,
-0.0028390551,
-0.025343126,
-0.0000935533,
0.053395078,
-0.050165325,
-0.01290598,
0.00023645228,
0.017568283,
0.035709586,
0.045060236,
0.0085236775,
-0.007442753,
0.03471982,
0.021618495,
0.034172848,
-0.038210038,
0.043002572,
-0.00030726587,
0.025017546,
0.100382745,
-0.0057139243,
0.004512535,
-0.010959013,
0.0034902147,
-0.05386391,
-0.013804581,
-0.012990631,
-0.0011297617,
0.008067866,
-0.012984119,
0.0024776617,
-0.016969215,
-0.0011045292,
0.026645444,
0.011675289,
0.03214123,
0.034485403,
0.02038129,
-0.03013566,
0.017985024,
-0.053316936,
0.0038809103,
-0.025291033,
-0.017776653,
0.006583222,
-0.021774773,
0.029771011,
-0.013185979,
0.0043399776,
0.010353436,
0.023011975,
0.01114785,
0.028989619,
0.01416923,
0.020433383,
0.037923526,
-0.009435301,
0.036855627,
0.02388453,
0.048576497,
0.030317985,
-0.008699491,
-0.019612923,
-0.0143385315,
-0.028104043,
-0.029354269,
0.044487216,
0.028494738,
0.009292046,
0.013791557,
0.03969468,
-0.0052450895,
-0.053342983,
-0.018362697,
-0.030005429,
-0.027609162,
-0.022321746,
0.035970047,
-0.027296605,
-0.0012160403,
-0.040241655,
-0.026085448,
0.0035520748,
0.030578448,
-0.04242955,
0.02417104,
0.037272368,
-0.01719061,
-0.046649065,
-0.034016572,
0.05206671,
-0.032063093,
-0.014572949,
0.022465002,
-0.010972037,
0.034016572,
0.0046362556,
0.041674204,
0.06433456,
-0.0064497343,
-0.025616614,
-0.00694136,
-0.0041348627,
0.058135517,
-0.022360817,
0.057927147,
0.020641755,
0.008510654,
-0.015211085,
0.074961476,
0.023728251,
0.012365518,
0.053916004,
0.021957098,
0.012287379,
-0.014038998,
0.007820426,
0.039850958,
0.022478025,
0.036360744,
0.027661255,
0.027348697,
0.015080853,
-0.02351988,
0.02225663,
-0.025942193,
-0.032479834,
0.04789929,
0.0323496,
0.008211121,
-0.04985277,
-0.02747893,
0.010145064,
0.0646992,
-0.05034765,
0.0004936603,
0.025577543,
0.012736679,
0.005945086,
-0.010171111,
0.012769237,
0.059437837,
0.017932931,
-0.026202656,
0.006420432,
-0.069804296,
-0.053551354,
-0.05386391,
-0.05386391,
-0.011955287,
-0.038288176,
0.025629636,
0.033209134,
-0.03854864,
0.01560178,
-0.018193396,
0.049305793,
-0.020511523,
-0.0042064902,
0.059750393,
-0.005749738,
-0.0016515031,
-0.03474587,
0.0027934741,
-0.06923127,
0.0022578954,
-0.002025106,
0.0010044135,
-0.010060414,
-0.022595234,
0.034537498,
-0.022478025,
-0.00780089,
-0.017086424,
-0.012105054,
0.00094011147,
-0.055114135,
-0.016044568,
-0.017776653,
0.004437652,
-0.019352458,
0.016995262,
0.039460264,
-0.037480738,
0.046570923,
0.06641827,
-0.008230655,
0.0668871,
0.03544912,
0.029692871,
-0.03998119,
0.05500995,
0.044356983,
-0.012678075,
-0.032636113,
-0.0040046307,
-0.06558478,
0.009812973,
-0.006693919,
-0.03425099,
0.008458561,
0.028208228,
0.012586912,
-0.091787435,
0.030083567,
-0.027296605,
-0.06860616,
-0.040892813,
-0.009539486,
0.0046167206,
0.035996094,
0.06324061,
-0.08965164,
-0.040814675,
-0.0049423003,
0.027895672,
-0.04071049,
-0.014494809,
0.012586912,
0.017985024,
-0.029640779,
-0.0071888003,
0.023754297,
-0.049227655,
-0.01057483,
-0.0366733,
0.024392433,
0.005287415,
0.009337626,
0.006566943,
0.015276201,
0.040580258,
-0.053603448,
0.016018523,
0.049149517,
0.00018273163,
-0.018154325,
0.014664111,
-0.033469595,
-0.01355714,
0.02441848,
-0.059021093,
-0.0010573202,
0.029250083,
0.024431502,
-0.046466738,
0.021006403,
-0.023832437,
-0.01747712,
0.012189705,
-0.015380386,
-0.008419492,
0.05170206,
0.0135310935,
0.058135517,
-0.005381833,
-0.015562711,
0.016838985,
0.000103829414,
0.02650219,
0.037584923,
0.01261947,
-0.03933003,
-0.022204537,
-0.035136566,
-0.035579354,
-0.020850126,
-0.023337554,
0.010972037,
-0.0092594875,
-0.047222085,
-0.052327175,
0.040241655,
0.020211989,
-0.0034967263,
0.06251131,
-0.011225989,
-0.030031474,
0.013895743,
-0.0076706586,
-0.0039557936,
0.037011903,
-0.0032330067,
0.044330936,
0.0065083387,
0.03860073,
-0.039746772,
-0.0025639404,
-0.0000718819,
0.042742107,
0.0032395183,
0.014768297,
-0.03141193,
-0.03935608,
0.022113375,
0.03583982,
-0.006534385,
0.0017288284,
0.010145064,
0.014403648,
0.062980145,
-0.013635279,
0.0007842402,
-0.027791485,
-0.011082734,
0.026515214,
-0.040293746,
-0.018180372,
-0.019078972,
-0.032662157,
-0.05573925,
0.039590497,
0.027869625,
0.0023978946,
0.018818509,
-0.025798937,
-0.0038092828,
-0.004190211,
-0.028729156,
-0.0042195134,
-0.0015253411,
-0.030604495,
0.005831133,
-0.008829722,
-0.013029701,
-0.034016572,
0.047430456,
-0.034902148,
-0.029119851,
-0.066991284,
-0.018167349,
-0.010223203,
0.043263033,
0.018727345,
0.008790653,
-0.00094662304,
0.020563615,
-0.01637015,
0.007911587,
-0.02437941,
-0.03135984,
0.062459216,
0.0020641754,
0.024509642,
0.031125423,
-0.0040925373,
0.02221756,
0.021175705,
0.028390553,
-0.030943098,
-0.012730167,
0.0091487905,
0.03860073,
-0.013413885,
-0.007976703,
0.0037311437,
-0.055791344,
0.043315127,
-0.027739393,
-0.037923526,
-0.016239917,
-0.048211847,
-0.03583982,
0.003600912,
0.0036497489,
0.020628732,
-0.011069711,
-0.010190645,
-0.013303188,
0.0015668524,
-0.05365554,
-0.038809106,
-0.04107514,
0.0043464894,
0.030656587,
0.0057139243,
0.050373696,
-0.015823174,
-0.05107695,
0.034407265,
-0.012580401,
0.018310605,
-0.017086424,
0.005948342,
-0.0014577833,
0.014950621,
-0.050191373,
-0.006156713,
-0.028807295,
0.005124625,
0.017164564,
0.009676229,
0.022933837,
-0.023611043,
-0.010099484,
0.031958908,
0.023011975,
-0.07595124,
-0.0004948812,
0.038887244,
0.014820389,
0.011785986,
0.034693778,
-0.028729156,
-0.051988572,
0.021540355,
-0.01837572,
-0.03300076,
0.023350578,
-0.042247225,
-0.031542163,
0.023676159,
0.029640779,
0.03969468,
-0.081994,
-0.009708787,
-0.017776653,
-0.003003473,
-0.027348697,
-0.0212278,
0.03099519,
0.022373838,
-0.0068762437,
0.07240893,
0.0067069423,
0.022660349,
-0.009428789,
-0.011089246,
0.0045971856,
-0.0058506676,
-0.049175564,
-0.011004595,
-0.00012066799,
-0.0010377854,
-0.03511052,
0.019105019,
-0.043575592,
0.016526427,
-0.023155231,
0.003985096,
-0.004965091,
-0.021878958,
-0.042637922,
-0.0043953266,
0.019065948,
-0.02045943,
0.01948269,
0.024158016,
0.020329198,
-0.03279239,
0.03883515,
-0.03255797,
-0.005538111,
-0.04409652,
-0.03367797,
0.05803133,
-0.022035236,
-0.012932027,
0.0058702026,
0.0034739356,
0.05803133,
-0.03781934,
0.033235177,
0.060323413,
0.016435266,
0.024600804,
-0.036360744,
0.048889052,
0.033209134,
-0.00526788,
-0.0039264914,
0.040215608,
-0.010874363,
-0.0069153137,
0.0018541765,
-0.04128351,
-0.01919618,
0.0061925263,
0.057562497,
-0.0063227583,
0.029823104,
0.0131990025,
-0.07131498,
-0.020980358,
0.016565496,
-0.004815324,
0.015458526,
0.058448073,
-0.003659516,
0.05026951,
0.04740441,
-0.000353661,
-0.034902148,
-0.01862316,
0.05933365,
0.036595162,
-0.030265892,
0.016734798,
0.043471407,
-0.029718919,
-0.075794965,
-0.029458454,
-0.0021862679,
-0.011460407,
-0.0022888256,
-0.010874363,
-0.012925515,
-0.03781934,
-0.0053622983,
-0.023168253,
-0.0031581235,
-0.0021830122,
-0.012293891,
-0.0032671925,
-0.030005429,
0.003841841,
0.06943964,
0.002777195,
0.011851102,
-0.042195134,
0.0063357814,
-0.007846472,
0.019339437,
0.033782154,
-0.0031402165,
0.033651922,
0.022204537,
-0.0044604423,
0.05803133,
-0.0152241085,
0.050816484,
0.019443622,
-0.0036106792,
-0.032896575,
0.012964585,
0.059750393,
0.0029302177,
0.0025818474,
-0.028937526,
0.021983143,
0.052952286,
-0.0075274035,
-0.005297182,
-0.046570923,
0.016357126,
-0.0604276,
-0.00022729534,
0.005427414,
-0.047196038,
-0.022842674,
0.0027706835,
-0.008263214,
-0.016018523,
0.0085236775,
0.013960859,
-0.012938539,
-0.04250769,
-0.008354376,
0.021097567,
-0.04761278,
-0.02747893,
-0.043966286,
0.0017727816,
0.020407338,
-0.029875197,
-0.03617842,
-0.01755526,
-0.028025903,
0.033339366,
-0.012293891,
0.014950621,
-0.018466882,
0.014403648,
-0.017099448,
0.006693919,
-0.006791593,
0.02891148,
0.037220273,
-0.0039427704,
0.011128315,
-0.037011903,
0.024405457,
-0.009943205,
-0.0023360346,
0.051337413,
-0.017998047,
-0.059437837,
-0.002135803,
0.02286872,
-0.04328908,
-0.033183087,
-0.023155231,
0.0074101947,
-0.0036269582,
0.007306009,
-0.029901242,
0.03948631,
0.051545784,
0.018271534,
-0.015119922,
0.052535545,
0.001896502,
-0.0019974317,
0.014585972,
-0.0053362516,
-0.0006877872,
-0.017021308,
0.059281558,
0.06324061,
-0.016721776,
0.012567378,
-0.014208299,
-0.010809247,
-0.053342983,
0.013583186,
0.03242774,
0.03781934,
0.024197085,
-0.013869696,
-0.008009261,
0.03438122,
-0.0012404588,
0.010796224,
-0.042898387,
0.012404588,
0.028520785,
-0.046440694,
0.0117990095,
-0.019144088,
-0.0042195134,
-0.016148755,
0.009324604,
0.031594258,
0.04112723,
0.050972763,
0.015041783,
0.039225847,
-0.08543212,
-0.010809247,
0.014911552,
-0.004678581,
-0.035058424,
-0.03604819,
0.04308071,
0.07136708,
-0.0072539165,
-0.0033127738,
-0.05086858,
0.011069711,
0.019873386,
0.0067525236,
-0.03242774,
0.0258901,
-0.02200919,
0.046076044,
-0.026306842,
0.013062259,
-0.019899433,
0.013765511,
0.026658468,
0.0036823067,
-0.032818437,
-0.0067329886,
0.013648302,
-0.058500167,
0.029718919,
0.028077995,
-0.007416706,
-0.025655683,
-0.011115292,
-0.026189633,
0.078868434,
0.03078682,
0.013387838,
-0.03198495,
0.024822198,
0.0069478713,
-0.040866766,
-0.011382268,
0.05443693,
-0.00861484,
-0.015510619,
0.025382197,
-0.0075404267,
0.0011102268,
-0.0013739464,
0.008347864,
0.00006852436,
-0.0058539235,
0.0037050974,
-0.036959812,
-0.005912528,
0.05099881,
-0.052405313,
-0.06990848,
-0.021371054,
-0.015315271,
0.031620305,
0.04834208,
-0.0043757916,
-0.009728323,
0.027244512,
0.026228704,
0.011707847,
0.049462073,
-0.021371054,
0.030265892,
-0.01791991,
0.0150027145,
-0.0062088054,
-0.033339366,
-0.046049997,
-0.029380314,
-0.047716964,
0.020303153,
-0.026267773,
-0.046987668,
0.005284159,
-0.023780344,
0.008100424,
-0.05438484,
0.00078098435,
-0.026775677,
0.0040078866,
0.054332744,
-0.042403504,
-0.029718919,
0.04107514,
-0.0039785844,
-0.0065767104,
-0.0019127809,
0.04443512,
-0.002150454,
0.037011903,
-0.025772892,
-0.01849293,
-0.011753429,
0.025538474,
-0.022074306,
-0.012938539,
0.01686503,
-0.010600876,
0.0010817386,
-0.014585972,
-0.025838008,
-0.008829722,
-0.0013706906,
-0.019378506,
-0.017685492,
-0.0058441563,
0.021826865,
-0.03216728,
0.010542272,
0.045060236,
-0.0048934636,
0.03529284,
0.015927361,
-0.0014195276,
-0.045893718,
0.016591543,
-0.061834104,
0.01646131,
0.009448323,
-0.016278986,
-0.0064497343,
-0.02564266,
-0.011623196,
-0.002635568,
-0.00655392,
-0.006186015,
0.045763485,
0.022035236,
0.008452049,
0.028494738,
-0.017412003,
0.007546938,
0.016474335,
0.04839417,
-0.043106757,
0.06579315,
0.06282386,
-0.0035553307,
-0.00030278915,
0.02956264,
0.029979382,
0.014442717,
0.017711537,
-0.006296712,
0.0047436967,
-0.021331985,
-0.03802771,
0.00048796262,
0.054697394,
0.009363673,
-0.015927361,
-0.016135732,
0.0041055605,
-0.08944327,
0.0096632065,
-0.038105853,
0.0662099,
-0.030760773,
-0.015536665,
0.012541331,
-0.041622113,
0.19076368,
0.08215028,
0.06235503,
0.026241727,
0.021214776,
0.027218465,
0.018388743,
-0.04005933,
-0.0033860293,
-0.046857435,
0.030578448,
-0.034771916,
0.021657564,
0.025043594,
-0.005974388,
0.059021093,
-0.092099994,
-0.02282965,
0.0017158051,
-0.046362553,
-0.061729915,
0.03818399,
0.005417647,
0.033990525,
-0.025942193,
0.027739393,
0.039095614,
-0.00877763,
0.029276129,
-0.011115292,
0.0071171727,
-0.043028615,
0.052327175,
0.002969287,
-0.018323626,
0.0109915715,
-0.009252976,
-0.060740154,
0.028885433,
-0.006413921,
0.017385958,
-0.012801795,
-0.01008646,
-0.03805376,
-0.027739393,
0.01282133,
-0.0006690663,
-0.017568283,
0.04128351,
-0.037168182,
0.01416923,
-0.019183157,
0.05329089,
-0.041986763,
-0.0690229,
0.01441667,
0.021488262,
-0.04537279,
-0.0069022905,
-0.010529248,
-0.0057595056,
0.016917123,
0.017932931,
-0.005687878,
-0.062563404,
0.040319793,
0.0032834716,
0.048081614,
-0.015315271,
-0.042768154,
0.023324532,
-0.016917123,
-0.014286439,
0.0038939335,
0.009161813,
-0.009487393,
-0.00007544293,
-0.005541367,
0.020889195,
-0.04227327,
0.017958978,
0.0007484264,
-0.033130992,
-0.02891148,
0.0049813697,
0.03430308,
-0.024587782,
0.018805485,
-0.00076551933,
0.009728323,
-0.00022220817,
0.019248273,
-0.030239845,
-0.029901242,
0.020980358
] | XmodConfig
[[autodoc]] XmodConfig
XmodModel
[[autodoc]] XmodModel
- forward
XmodForCausalLM
[[autodoc]] XmodForCausalLM
- forward
XmodForMaskedLM
[[autodoc]] XmodForMaskedLM
- forward
XmodForSequenceClassification
[[autodoc]] XmodForSequenceClassification
- forward
XmodForMultipleChoice
[[autodoc]] XmodForMultipleChoice
- forward
XmodForTokenClassification
[[autodoc]] XmodForTokenClassification
- forward
XmodForQuestionAnswering
[[autodoc]] XmodForQuestionAnswering
- forward |
[
0.021721764,
-0.0072630458,
-0.035547152,
0.0067105694,
-0.002300863,
-0.011500945,
-0.006016605,
-0.02275934,
-0.009446003,
0.047243487,
-0.001520995,
-0.006006499,
0.024713222,
-0.050881747,
0.011002369,
-0.0045074006,
-0.02797418,
-0.019269306,
-0.050720047,
-0.03754146,
-0.022152964,
0.046893135,
-0.05999087,
-0.012565474,
-0.019417532,
-0.011345983,
0.019053705,
0.014256591,
0.05462781,
0.029887637,
0.02195084,
-0.016399123,
0.020118233,
-0.02083241,
-0.01936363,
-0.04390168,
0.04427898,
-0.044467628,
-0.012531786,
-0.0510165,
0.012909087,
-0.0352507,
0.019471431,
-0.05880507,
-0.059020672,
-0.0069059576,
-0.013043838,
-0.016426073,
0.01928278,
-0.04842929,
-0.017450176,
0.007148508,
0.013104475,
-0.004770164,
0.014957293,
-0.022126013,
-0.01053748,
-0.018784204,
-0.0031026278,
-0.013192063,
0.05573276,
0.05853557,
-0.013380714,
-0.032501794,
-0.009978266,
-0.002004412,
-0.019606182,
-0.0122959735,
-0.019646607,
-0.032852147,
-0.05249875,
0.023217492,
-0.0046893135,
-0.028324531,
-0.032771293,
-0.010126492,
0.0075055966,
-0.02631675,
-0.010820456,
0.06672839,
0.00942579,
0.06591989,
-0.013960141,
0.027300429,
-0.019902632,
-0.026262851,
0.05125905,
0.037110258,
0.021236662,
-0.032663494,
-0.029456435,
0.021277087,
-0.020455109,
0.027381279,
0.008509487,
0.03455,
0.010955207,
0.06252418,
0.014202691,
0.030938689,
0.015294169,
0.044548478,
-0.025845125,
0.012895612,
-0.045330033,
0.014714742,
0.05627176,
-0.0038639675,
-0.010678968,
-0.010362305,
0.0019690401,
-0.01034883,
0.025481299,
-0.01358284,
-0.030426638,
0.017881377,
0.037056357,
-0.00080766017,
-0.004376019,
0.02751603,
-0.016035296,
-0.023581319,
-0.024834497,
-0.065380886,
0.004069462,
-0.027556455,
-0.0022014845,
0.037002455,
-0.0262359,
0.005352959,
0.0011470626,
-0.019808307,
0.04538393,
0.037218057,
0.009028276,
0.023635218,
-0.021384887,
0.021748712,
0.006774576,
0.009850253,
-0.016614722,
0.0065252874,
-0.0049992395,
0.070609204,
0.017315425,
0.008927213,
0.006299581,
-0.02107496,
-0.04600378,
0.04171872,
-0.02577775,
0.015078569,
0.0132055385,
0.016574297,
-0.016655149,
-0.005373172,
0.037595358,
-0.0018881898,
0.006649932,
-0.008475799,
-0.006420856,
0.014000566,
-0.039158463,
0.049210843,
0.009540328,
0.030184086,
-0.023352243,
-0.0066196127,
-0.0048880703,
-0.059559673,
-0.013973615,
-0.0020633654,
0.012242073,
0.040371217,
-0.008253462,
0.024645846,
0.021613963,
0.0012211754,
0.03110039,
0.027098304,
0.013077525,
-0.03905066,
0.010463368,
0.028971333,
-0.036544304,
-0.0034428725,
0.009776141,
0.0075123343,
-0.012080372,
0.004433288,
-0.0045309816,
0.04101802,
-0.021196237,
-0.026370652,
0.026734477,
0.017827477,
-0.021061486,
0.028297583,
0.012349873,
-0.047971137,
-0.04861794,
0.016331747,
-0.0054001217,
0.0055180285,
0.006713938,
0.024376346,
0.0029291366,
0.017571451,
-0.06290148,
0.039751366,
0.012525049,
0.025440874,
-0.043551326,
-0.0029965118,
0.046515834,
-0.016021822,
-0.0344961,
0.005090196,
-0.028162831,
-0.008118711,
-0.002327813,
0.036409557,
0.04842929,
-0.017490601,
0.0151863685,
-0.023891244,
-0.020495534,
0.08268284,
0.00399198,
-0.0006105877,
0.018379953,
0.026774902,
-0.015833171,
0.05826607,
0.012019735,
0.059559673,
0.06376389,
0.023177067,
0.054546956,
0.009600965,
0.026909653,
0.0015041513,
0.0173289,
0.05179805,
0.017571451,
-0.0035136165,
-0.01406794,
-0.0008156609,
-0.0070609204,
-0.011393146,
-0.07831693,
0.073573716,
0.0062625245,
-0.0010476842,
-0.04815979,
-0.07529852,
0.013589577,
0.053334203,
-0.02395862,
-0.04805199,
0.00304199,
0.039158463,
0.019538807,
-0.0023615006,
-0.003463085,
0.05821217,
0.009978266,
0.030372737,
-0.0023126535,
-0.053415053,
-0.029025234,
-0.050181046,
-0.09734368,
0.015792746,
0.0009381996,
-0.0003383498,
-0.033633698,
-0.07249571,
-0.03452305,
-0.04821369,
-0.013488514,
0.009102389,
-0.05516681,
0.017369324,
0.025575625,
-0.017423226,
-0.006798157,
0.02610115,
-0.010699181,
0.0074382215,
-0.023163592,
-0.011736759,
-0.008563387,
-0.018204778,
0.013380714,
0.024686271,
0.0057942667,
-0.007855948,
-0.02748908,
-0.021304037,
-0.038538612,
-0.03473865,
0.028701833,
0.005069983,
-0.04807894,
0.018096978,
0.042661972,
-0.03500815,
0.05627176,
0.05287605,
-0.029133035,
0.09642738,
0.008165874,
0.015307644,
-0.04600378,
0.033148594,
0.04134142,
-0.032609593,
-0.0006623824,
-0.0085364375,
-0.04845624,
-0.02186999,
0.0031952686,
-0.017571451,
0.023096217,
0.04551868,
-0.036706004,
-0.089582056,
0.022031689,
-0.03732586,
-0.06748299,
-0.0023884505,
-0.0043558064,
0.004739845,
0.018878529,
0.01936363,
-0.060745474,
-0.012680012,
-0.0006097455,
0.03813436,
0.010254505,
-0.0352507,
0.017773576,
0.043578275,
0.020953685,
-0.036005303,
0.00060511346,
-0.01211406,
-0.02254374,
-0.014714742,
0.024807546,
0.0694773,
0.039266262,
0.0016262687,
0.035897505,
0.034361348,
-0.0343883,
0.027286954,
0.04144922,
0.030237988,
-0.0036483668,
0.029213885,
-0.012093848,
0.0034344506,
0.0036113104,
-0.0019218774,
0.009405578,
0.016655149,
0.039401013,
-0.09087566,
0.049803745,
-0.06236248,
0.010625068,
0.04112582,
-0.03136989,
-0.040317316,
0.056595165,
0.036247853,
0.081820436,
-0.05966747,
0.020872835,
0.0043659126,
0.054007955,
-0.00350351,
0.0021543219,
0.027017454,
0.01893243,
-0.017234575,
-0.018096978,
-0.0010451577,
0.0039886115,
-0.00689922,
0.002243594,
0.0035607792,
-0.031801093,
-0.07529852,
0.026882702,
0.021533113,
0.039643563,
0.039427962,
0.019431006,
-0.02067071,
0.047081787,
0.029564235,
0.0006025869,
-0.0062018866,
-0.024713222,
0.028971333,
0.019484906,
0.02107496,
-0.011447046,
-0.026761428,
-0.043227926,
0.024942297,
-0.039239313,
0.032879096,
-0.04506053,
-0.015469344,
-0.036652107,
0.012363348,
-0.012080372,
-0.030318838,
-0.018514704,
0.030507488,
0.03872726,
-0.019107604,
0.008644237,
0.012989937,
0.004470344,
0.02110191,
-0.022691965,
-0.053388104,
0.014620417,
-0.037137207,
-0.070178,
0.032932997,
0.019417532,
-0.028297583,
0.01877073,
-0.04514138,
0.0034664539,
-0.000100220605,
0.009297777,
-0.011521159,
0.022355089,
-0.016210472,
0.0009306199,
0.016601248,
-0.017140249,
-0.007000283,
0.033525895,
-0.030103236,
-0.0022823347,
-0.017571451,
0.030399688,
-0.016277848,
0.0068891137,
-0.004867858,
0.021613963,
0.024874922,
-0.009082176,
0.019848732,
0.046461936,
0.00090198545,
-0.03732586,
0.05201365,
0.0015369967,
-0.016183522,
0.029752886,
-0.0030133557,
-0.00026402654,
-0.0054843407,
0.011527896,
-0.00027455392,
-0.016601248,
-0.010092804,
-0.010530743,
-0.039589666,
0.009432527,
-0.03118124,
-0.0026832172,
0.043632176,
-0.015940972,
-0.014054466,
-0.0044737128,
-0.01559062,
0.011150595,
0.009493165,
-0.019983483,
-0.0072428333,
-0.00032108492,
-0.008186086,
-0.021142336,
-0.04220382,
-0.046192434,
-0.020158658,
-0.0349273,
0.005774054,
0.0259664,
0.03155854,
0.042958423,
-0.064787984,
-0.017396275,
0.039158463,
0.018326053,
-0.0256969,
-0.026438026,
0.007963748,
0.02195084,
0.032393992,
0.0019757776,
0.019134555,
-0.03549325,
0.029537285,
0.03773011,
-0.016749473,
0.014876443,
-0.040775467,
-0.0255891,
0.03859251,
-0.03468475,
-0.040344268,
-0.019404056,
0.00877225,
-0.0029207147,
0.0031093652,
0.035897505,
0.002390135,
-0.012370085,
-0.013892765,
0.017504076,
-0.016655149,
-0.022867141,
-0.029725935,
-0.0062423116,
0.033525895,
0.0343344,
0.044036426,
-0.046920087,
-0.025818175,
-0.036005303,
0.017881377,
-0.027367804,
-0.00009374627,
-0.0076740347,
0.0012767599,
0.003826911,
0.029914586,
0.0352507,
0.016884224,
-0.0040222993,
-0.026532352,
0.033957098,
0.05869727,
-0.077238925,
0.009661603,
0.0011066375,
-0.009257352,
0.011251657,
-0.00084092666,
-0.040182564,
0.033525895,
-0.06160788,
-0.023109691,
-0.04559953,
-0.040317316,
-0.067752495,
0.024524571,
0.04150312,
-0.03110039,
0.004483819,
-0.0042682188,
0.042554174,
-0.018487753,
0.00039161832,
-0.046381082,
-0.058481667,
-0.0522562,
-0.0020380996,
0.025562149,
-0.014943819,
0.003254222,
0.0044097067,
-0.009520115,
0.03088479,
-0.04867184,
0.044036426,
0.057780966,
0.020684185,
0.0046893135,
-0.03740671,
0.002447404,
-0.017733151,
0.004669101,
-0.01952533,
-0.024174219,
-0.024174219,
0.00015622623,
-0.060799375,
-0.0014266698,
-0.030345788,
-0.0020987373,
0.080850236,
-0.04899524,
0.027098304,
0.02428202,
-0.037433658,
-0.02754298,
0.010214079,
-0.021802614,
-0.0014131947,
0.002740486,
-0.0077077225,
-0.0132459635,
-0.015765795,
-0.024484146,
-0.0150650935,
-0.012302711,
0.054142706,
0.02449762,
-0.024376346,
-0.011224708,
0.008219774,
-0.02246289,
0.0030588338,
0.049507294,
0.0043254877,
-0.028998284,
0.015496295,
0.013650214,
0.018016128,
0.0125452615,
-0.0037730108,
-0.0040863054,
-0.03799961,
0.0010956891,
0.029483385,
0.011036057,
-0.0343344,
0.03452305,
0.016466498,
-0.018541653,
0.047027886,
-0.001609425,
0.00052973744,
-0.0017837583,
0.037595358,
0.03446915,
-0.02631675,
-0.034037948,
0.040775467,
0.0052249464,
0.046381082,
-0.008071548,
-0.037460607,
0.03455,
-0.06166178,
-0.02376997,
0.0031918997,
0.032528743,
0.014121841,
0.015873596,
-0.05266045,
0.046758384,
0.03832301,
0.03425355,
0.02433592,
-0.06166178,
0.016992023,
-0.04845624,
-0.017153725,
0.0033906568,
-0.026599728,
-0.010584643,
0.029240834,
-0.053334203,
-0.019996958,
-0.013636739,
0.05287605,
-0.047162637,
0.015348069,
-0.03393015,
0.032313142,
-0.052525703,
-0.024484146,
0.0038235423,
-0.0050093457,
-0.012174698,
0.016574297,
-0.036490407,
0.01037578,
0.03083089,
0.021492688,
0.011332508,
0.018716829,
-0.06236248,
0.010678968,
0.0014249854,
-0.0032087436,
-0.021398362,
-0.0046219383,
0.02420117,
-0.049695943,
-0.0021627438,
0.008246724,
0.02767773,
-0.043659125,
0.0069800704,
0.08440764,
-0.016520398,
0.024982722,
-0.037514508,
-0.03169329,
-0.0336876,
-0.0036955294,
-0.0029257678,
-0.0257508,
0.019457957,
0.008347787,
0.02447067,
0.03091174,
0.032151442,
0.0256969,
0.010887831,
0.03810741,
-0.016749473,
0.01719415,
0.044144228,
0.0024288758,
-0.01306405,
-0.022894092,
0.036409557,
0.0125452615,
-0.043093175,
-0.00237666,
0.0011462205,
-0.020050857,
-0.039454915,
-0.022705441,
0.030453589,
0.023069266,
0.016143097,
-0.03802656,
0.0151055185,
0.011918672,
-0.040613767,
0.04179957,
-0.047108736,
-0.013791703,
0.00243056,
-0.016668623,
-0.006939645,
-0.017423226,
-0.03799961,
-0.030130187,
-0.0126261115,
0.009041751,
-0.0085768625,
0.039913066,
0.0037696422,
0.02368912,
-0.04546478,
-0.0059761796,
-0.02786638,
0.037379757,
-0.04551868,
-0.028432332,
0.01540197,
0.014930343,
0.0096481275,
-0.015159419,
-0.08408424,
0.008273674,
-0.019713981,
0.05875117,
-0.00000857981,
0.014620417,
-0.010685706,
0.008031123,
0.008752038,
0.02195084,
-0.017854426,
0.019606182,
0.01692465,
0.007970486,
-0.0018949274,
-0.021425312,
0.01890548,
-0.037379757,
0.0019235618,
0.01548282,
0.023743019,
0.01111017,
0.0028836583,
0.012942775,
0.03112734,
0.042581122,
0.033984046,
-0.0525796,
0.034900352,
0.028809633,
-0.018312577,
-0.0055483473,
0.029941536,
0.008320836,
0.026842277,
-0.016008345,
0.0029409272,
-0.027583405,
-0.005787529,
0.02724653,
0.012012998,
-0.036571257,
0.0061210366,
0.0009365152,
-0.050477497,
0.03872726,
-0.02094021,
-0.052983854,
0.006717307,
0.01016018,
-0.0035405664,
0.011130382,
0.0354124,
0.00041604182,
0.025103997,
0.0350351,
0.03813436,
0.009270826,
-0.0030301993,
0.019646607,
-0.00646465,
-0.033229444,
-0.010800243,
-0.057026364,
-0.023055792,
0.011891722,
-0.0676986,
0.03732586,
0.039454915,
-0.021371411,
0.054304406,
-0.035870552,
-0.039239313,
-0.062847584,
-0.02789333,
-0.029618135,
-0.010665493,
0.050315794,
-0.035062052,
-0.036463454,
-0.0014317229,
-0.02797418,
0.025346547,
0.033391148,
0.049534243,
0.029402535,
0.07292691,
0.021789137,
0.013077525,
0.026464976,
0.01893243,
0.0027084828,
0.0060603986,
0.009183239,
0.024268545,
-0.020387733,
-0.027206104,
-0.033364195,
0.00148057,
0.039077614,
-0.023796918,
0.0033266502,
0.021533113,
0.009985004,
-0.018245203,
-0.012834975,
0.10699181,
-0.037083305,
0.029941536,
-0.021721764,
0.05557106,
-0.032393992,
0.0047297385,
-0.028890483,
0.049642045,
0.0040863054,
-0.0708248,
-0.0046623633,
-0.06667449,
-0.0044366564,
-0.002944296,
-0.0054203346,
-0.040020864,
0.04169177,
0.00030866262,
0.039751366,
-0.0018865054,
-0.035628002,
-0.012740649,
0.056649063,
0.020791985,
0.022260765,
0.09524158,
0.046300232,
-0.010645281,
0.006481494,
-0.0021998002,
0.0066869883,
0.0029106084,
-0.033202495,
0.009681815,
-0.009614441,
-0.004207581,
-0.039185412,
0.024403296,
0.06198518,
0.04872574,
0.008731825,
-0.050639197,
0.0010796875,
-0.0703397,
0.04134142,
-0.01206016,
0.061553977,
-0.01111017,
-0.039562713,
0.01909413,
-0.069962405,
0.2092404,
0.023230968,
0.027731631,
0.015172894,
0.013427876,
0.040236466,
0.040047817,
-0.0058986982,
0.019794833,
-0.009627915,
0.007613397,
-0.011022582,
-0.047890287,
0.029725935,
-0.021694813,
0.019404056,
-0.036759906,
-0.0013003412,
-0.010133229,
-0.01577927,
-0.023284867,
0.0063871685,
0.009324727,
0.023904718,
0.008549912,
-0.021398362,
0.019579232,
-0.025225272,
0.042176872,
0.00054784457,
0.014903393,
-0.09044446,
0.0048173266,
-0.028243681,
-0.021357937,
0.011433571,
0.0071956706,
-0.08338354,
0.010281455,
0.0025922607,
0.0028314425,
-0.023864293,
0.022853667,
-0.021425312,
-0.020252984,
0.03888896,
-0.006171568,
-0.009432527,
0.033121645,
-0.033418097,
0.028620983,
-0.05425051,
0.029672036,
-0.009978266,
-0.05891287,
-0.04824064,
0.0010889516,
-0.04778249,
-0.045734283,
0.013333551,
0.00080176484,
0.033148594,
0.0032171656,
-0.005639304,
-0.04144922,
0.014054466,
0.023554368,
-0.0024271915,
0.0030301993,
-0.0077144597,
0.012720437,
-0.0011942253,
-0.02740823,
-0.02610115,
0.018487753,
0.01719415,
0.0017172253,
0.011615484,
-0.00072344113,
-0.028108932,
0.0006539605,
-0.025979875,
-0.023891244,
0.008233249,
0.025238749,
0.070609204,
-0.026411077,
0.047971137,
-0.011305558,
0.042015173,
0.009749191,
0.0037224796,
0.00042530592,
-0.025723848,
0.006815001
] | Resources
Text classification task guide
Token classification task guide
Question answering task guide
Causal language modeling task guide
Masked language modeling task guide
Multiple choice task guide |
[
-0.012651048,
-0.02406382,
0.006614455,
-0.0076841875,
-0.005056292,
-0.012919341,
0.0138067715,
-0.009424652,
-0.0021704219,
0.08029529,
0.01890434,
-0.020858062,
0.020637926,
0.0005013296,
0.008131342,
-0.016950617,
-0.039074473,
-0.03373613,
-0.044082608,
0.016276443,
0.024201406,
0.028617922,
-0.019564753,
-0.007787377,
0.006793317,
0.014198893,
0.02535713,
-0.006036593,
0.068572946,
0.0665917,
-0.024352752,
-0.020225167,
-0.00666605,
-0.058831844,
0.007340222,
-0.018931856,
-0.018491581,
-0.029195784,
-0.01024329,
-0.040697988,
-0.0051526017,
-0.01411634,
0.04369737,
-0.022412786,
-0.016592892,
0.0006720224,
-0.015533478,
-0.008069429,
0.00954848,
-0.03987247,
-0.02625144,
0.0018126977,
0.0022220167,
0.023004407,
0.019289581,
-0.014983133,
-0.011619152,
0.004605697,
-0.008722963,
0.07429653,
0.023403406,
-0.0055378433,
0.026843062,
-0.04344971,
0.009617273,
0.033048198,
-0.036130127,
-0.0036185163,
-0.045541022,
-0.03263544,
0.018642925,
0.018876823,
-0.017060684,
-0.02804006,
0.00047768198,
0.024407785,
-0.02048658,
0.022495339,
0.0013560837,
0.03846909,
0.06169364,
0.005052852,
-0.009390255,
0.0014885103,
-0.04823771,
0.0019193271,
0.035469715,
0.00368043,
-0.013400893,
-0.019358374,
0.0029357448,
0.03004882,
-0.0136416685,
-0.0107523585,
0.008612894,
0.00050562917,
-0.019482201,
0.05778619,
-0.03450661,
-0.012788634,
0.013882444,
0.011770496,
0.048677985,
0.03043406,
-0.059602328,
-0.029058198,
0.019413408,
0.03313075,
0.021628546,
-0.0035566024,
0.010717962,
-0.013985634,
-0.018216409,
0.009596635,
0.005063171,
0.010552859,
0.004385559,
0.03431399,
-0.059712395,
0.013015651,
0.046091367,
-0.004333964,
0.050081365,
0.022935614,
-0.038771782,
-0.039514747,
0.006074429,
0.02257789,
-0.04523833,
-0.019523477,
0.021876201,
-0.0068380325,
0.01879427,
-0.0022529734,
0.074351564,
0.0137586165,
0.02755851,
0.041248333,
0.00029344548,
-0.04416516,
0.06582122,
0.015382133,
0.022908097,
0.07336094,
-0.041495986,
-0.01711572,
-0.022316476,
0.034258954,
-0.07159984,
0.015918719,
-0.041440953,
0.02974613,
0.03739592,
0.024228923,
0.0043133264,
-0.048457846,
0.026691716,
0.0372033,
-0.010862428,
-0.013614152,
-0.0793597,
0.00954848,
0.000576572,
0.031287093,
0.018684201,
0.02288058,
-0.017693581,
-0.012953738,
-0.017445926,
0.00008690501,
-0.024848063,
-0.0067382827,
-0.004598818,
0.024916856,
0.014171375,
0.04116578,
0.068187706,
0.009534721,
0.088495426,
0.040560402,
0.015836168,
0.011275186,
0.038359024,
0.03244282,
-0.01730834,
0.0065491013,
0.045706123,
-0.045871228,
-0.044715505,
-0.01620765,
-0.013648548,
0.02744844,
0.0013302863,
0.017652305,
-0.01801003,
0.016386513,
-0.04254164,
0.055639844,
0.006009076,
-0.053961296,
-0.025260821,
0.0614735,
-0.025398407,
-0.009115083,
-0.013036289,
-0.055144537,
0.06494067,
0.076442875,
-0.03712075,
-0.013504082,
0.008303325,
0.013889324,
0.015148237,
-0.003044094,
0.013607272,
0.017927477,
-0.032387782,
0.04595378,
-0.0140406685,
-0.024737993,
0.016647926,
0.026512854,
0.0395973,
0.036350265,
-0.06284936,
0.0030286154,
0.022798028,
0.043202057,
-0.05060419,
0.0012073186,
-0.00974798,
0.050686743,
0.029581025,
0.043559782,
0.030654198,
-0.0052798693,
0.035469715,
0.034781784,
0.045183297,
0.010477186,
-0.01154348,
0.05767612,
0.035744887,
0.021532236,
0.019289581,
-0.026375268,
-0.013662307,
-0.007636032,
-0.015959995,
0.04273426,
-0.017432168,
0.037918746,
-0.0010576936,
0.0066419723,
-0.010415273,
0.063674875,
0.009121963,
0.006851791,
0.031562265,
-0.004591938,
0.0282602,
-0.019220788,
-0.025109475,
-0.02248158,
0.030213922,
-0.013036289,
0.049778674,
0.053631086,
0.0015753616,
-0.06125336,
0.027379647,
-0.07027902,
-0.063289635,
-0.011866807,
-0.06697695,
-0.013648548,
0.02416013,
-0.07704826,
0.042321503,
0.017046927,
0.009514083,
-0.031066956,
-0.010697325,
0.01791372,
0.047824953,
0.0558875,
-0.042486608,
0.013978754,
0.015038168,
0.049365915,
0.0024610725,
0.016083824,
-0.009183876,
0.022330236,
-0.026966888,
-0.008523463,
-0.019908719,
-0.023829924,
-0.012878065,
-0.032195162,
-0.0038248955,
0.023912476,
-0.021862442,
0.03709323,
-0.011282066,
0.021958752,
0.0011729221,
-0.010697325,
0.0469444,
0.030599164,
-0.035029437,
0.013841168,
0.022467822,
0.022632925,
-0.046476606,
0.032305233,
0.022536615,
0.016675444,
-0.076497905,
-0.024036303,
0.016730478,
0.00447499,
0.0012047389,
-0.022536615,
-0.032085095,
0.03998254,
0.01411634,
-0.0549244,
0.065711156,
-0.013772375,
-0.046779297,
-0.008069429,
-0.04273426,
-0.0065387827,
-0.020637926,
0.011577876,
-0.027434682,
-0.04075302,
0.007429653,
-0.017280823,
0.017941236,
-0.018409029,
-0.013841168,
0.068958186,
0.03351599,
0.049668606,
-0.016496582,
-0.0013311461,
-0.015065685,
0.015395892,
-0.013579755,
-0.046889365,
0.019908719,
0.017184513,
0.024724234,
0.010167617,
-0.045541022,
0.0017181073,
0.05938219,
0.010195135,
0.027627302,
0.020720476,
0.0027328052,
-0.020005029,
-0.026389027,
-0.032690473,
0.019028166,
0.009582876,
0.032938126,
-0.05965736,
0.057125777,
0.0139925135,
-0.008124463,
0.0102570485,
-0.010614772,
-0.0242702,
0.0013879004,
-0.035001922,
0.054649226,
-0.030571647,
0.010566617,
-0.0024851502,
-0.0049668606,
-0.004667611,
0.03233275,
0.009617273,
-0.03629523,
-0.019674823,
-0.04405509,
0.004127585,
-0.005451852,
0.009190756,
-0.008516584,
0.011233911,
-0.020266442,
-0.059602328,
0.0051973173,
-0.026595406,
0.050686743,
0.02744844,
0.070389085,
-0.005489688,
0.0070925667,
-0.0011780815,
-0.010126342,
0.0032504732,
0.000042485102,
0.016991891,
0.020858062,
-0.027682336,
-0.011818652,
0.027434682,
-0.023403406,
0.019468443,
-0.03175489,
-0.05630026,
-0.03169985,
-0.010373997,
0.024806786,
0.07583749,
-0.055172052,
0.007071929,
0.007993756,
0.005049412,
0.003401818,
-0.046421573,
0.005716705,
0.022399029,
0.0012408552,
0.00914948,
0.03899192,
-0.03621268,
-0.036763024,
-0.057015706,
-0.014460306,
-0.020803029,
0.028315233,
0.017927477,
0.011013772,
-0.031369645,
0.034369025,
-0.00046607314,
-0.0019227667,
0.028535372,
0.038854335,
-0.020225167,
-0.01681303,
0.03381868,
-0.007649791,
-0.03134213,
-0.035854954,
-0.037010677,
0.03092937,
-0.028507853,
-0.056740534,
0.018766753,
-0.000556794,
0.0030509732,
0.030571647,
-0.0018109779,
0.0077392217,
0.008021274,
0.04245909,
-0.038331505,
-0.036955643,
0.057015706,
0.012884945,
0.0015555836,
0.037533507,
0.0026777708,
0.005238593,
0.00427893,
0.04229399,
-0.062188946,
0.025811166,
0.005647912,
-0.0150519265,
-0.036240198,
-0.00745717,
0.05806136,
-0.019330857,
0.021559753,
-0.03728585,
-0.037918746,
-0.016964374,
-0.04466047,
-0.0010637131,
0.004616016,
0.009665429,
-0.008014394,
-0.007773618,
0.0010903704,
0.002010478,
-0.02385744,
-0.00725767,
-0.038111366,
-0.04433026,
0.02823268,
-0.009108204,
0.042871848,
0.024325235,
-0.019922476,
0.020459063,
-0.026416544,
0.009390255,
-0.02487558,
-0.06697695,
0.037450954,
-0.031562265,
0.008530342,
-0.030379025,
-0.017611029,
0.007271429,
-0.009665429,
0.012712962,
-0.0051526017,
0.018243926,
0.0021463442,
-0.03420392,
0.022027545,
0.019440925,
-0.04843033,
-0.038854335,
0.043284606,
-0.016441546,
0.017432168,
0.041936263,
0.033075713,
-0.035387162,
-0.03690061,
0.028810544,
-0.033158265,
-0.05530964,
-0.038854335,
-0.03989999,
0.0007502746,
0.04752226,
-0.031369645,
-0.03602006,
0.022055063,
-0.030544128,
-0.0031094474,
0.011853049,
-0.027696095,
-0.0517324,
0.0036219559,
-0.014253926,
0.045403436,
-0.04584371,
-0.0041000675,
-0.041138265,
0.019633546,
0.03153475,
-0.0046916883,
-0.07126963,
-0.046971917,
-0.019977512,
0.009238911,
0.027379647,
-0.012540979,
-0.01064229,
0.060207706,
-0.029581025,
-0.006019395,
0.00011479846,
-0.002626176,
-0.032662954,
-0.045513503,
0.006535343,
-0.010676687,
0.010435911,
-0.035194542,
0.042128883,
0.059712395,
0.018477822,
-0.01730834,
-0.061803706,
-0.046036333,
-0.041028194,
0.03291061,
-0.0039349645,
0.016840547,
-0.0028893095,
-0.035359643,
0.03827647,
0.006734843,
0.014955617,
0.016248927,
-0.0060813087,
-0.009954359,
-0.06455543,
0.02535713,
0.020775512,
-0.033378404,
-0.016455306,
-0.03940468,
0.0067073256,
-0.009328342,
0.0038696108,
-0.0411933,
-0.06097819,
0.05280557,
0.048017573,
-0.015161996,
0.035167024,
-0.010607894,
-0.037368402,
-0.042899366,
0.034121368,
-0.009816773,
0.0063736793,
0.037038196,
0.0133596165,
0.024504097,
0.052860606,
0.05310826,
0.0050941277,
-0.007519084,
0.054346535,
-0.02128458,
-0.025728613,
0.0024232364,
0.00606755,
-0.06950853,
-0.032855578,
0.012774875,
-0.017611029,
-0.037698608,
-0.059327155,
-0.0005150882,
-0.011282066,
-0.03461668,
0.0035256455,
0.033158265,
-0.04644909,
0.039046954,
-0.028480336,
0.0005460451,
-0.011701703,
0.007869929,
0.027269578,
-0.062243983,
-0.015505961,
-0.043422192,
-0.018271443,
-0.01064229,
0.031562265,
0.041716125,
-0.011846169,
0.052282743,
0.01999127,
-0.0077942563,
0.05341095,
0.027833682,
-0.025219545,
-0.040367782,
-0.012547858,
-0.05569488,
-0.017982513,
-0.0015822409,
0.021848684,
0.033873715,
-0.031287093,
0.0031369645,
-0.0010095385,
0.008612894,
-0.015547236,
-0.007450291,
0.0009011894,
-0.032497853,
-0.023843683,
-0.03618516,
-0.0012494543,
0.015574754,
0.012355238,
-0.016565375,
-0.02804006,
-0.026925612,
-0.011557238,
0.026939372,
0.02238527,
-0.016799271,
0.015684823,
-0.05313578,
-0.050549157,
0.028672958,
0.0045128264,
0.0017413249,
0.0046332143,
-0.023995027,
-0.005888688,
-0.017927477,
0.01898689,
-0.0052695503,
-0.01711572,
0.021298338,
-0.06763736,
-0.027833682,
0.007133843,
-0.01968858,
0.04273426,
0.025824923,
-0.012472186,
-0.018037546,
-0.033983782,
-0.028480336,
0.004585059,
0.013435289,
-0.00088571094,
0.01064229,
-0.034864336,
-0.050494123,
-0.027228303,
-0.019234546,
0.036075093,
-0.032855578,
-0.0068414724,
-0.0070340927,
0.05071426,
-0.0060021966,
0.054126397,
-0.020761753,
0.012809272,
0.004922145,
-0.007629153,
0.025522234,
-0.009039411,
-0.01700565,
0.0016656525,
0.008248291,
0.0274622,
-0.018243926,
0.007979997,
-0.03302068,
0.03420392,
0.04325709,
-0.0372033,
-0.049448468,
-0.009926842,
-0.031479716,
0.034121368,
0.051897503,
0.017239546,
0.027971268,
-0.015175754,
-0.019014409,
-0.014804272,
-0.02993875,
-0.017927477,
0.009754859,
-0.0045093866,
0.017831167,
-0.017597271,
-0.037065715,
0.01312572,
-0.023926234,
0.05646536,
0.0035170463,
0.012479065,
-0.0012597734,
-0.004722645,
-0.0049496624,
-0.024848063,
-0.018642925,
0.012774875,
-0.03062668,
-0.058721777,
0.026017545,
0.07220522,
0.013380255,
0.012272686,
0.04157854,
-0.0111513585,
-0.013497203,
0.0222752,
-0.024146372,
-0.00083282625,
0.001551284,
-0.00025797405,
0.028163888,
-0.011199514,
-0.057841223,
0.043587297,
-0.02813637,
-0.013462806,
-0.0274622,
0.079689905,
0.023898717,
0.013277065,
0.045678608,
0.0005701227,
-0.0038696108,
0.008406515,
-0.024256442,
-0.018532857,
0.023031924,
-0.000038830472,
0.06268426,
0.0043889987,
0.01898689,
0.009163239,
-0.022110097,
0.005809576,
0.053273365,
-0.008647291,
0.019110719,
0.008571618,
-0.0046882485,
0.024091337,
0.020871822,
0.02815013,
0.02457289,
0.029663578,
0.0038386541,
0.011749859,
-0.01640027,
0.035056956,
-0.031011922,
-0.010202014,
0.013400893,
0.0016742516,
0.0055688,
0.04884309,
0.03282806,
0.014900582,
0.02565982,
0.0018591331,
0.0041619814,
0.022137614,
0.0017937797,
-0.010944979,
-0.046696745,
0.024586648,
-0.0023475639,
0.021752372,
0.011165118,
-0.008798636,
-0.045018192,
0.051154535,
-0.035909988,
-0.06560108,
0.0074640494,
-0.031177025,
-0.018945616,
-0.018546615,
0.022137614,
0.0094590485,
-0.019151995,
-0.029663578,
-0.037478473,
-0.0178862,
0.045678608,
-0.04157854,
0.044082608,
0.0073952563,
0.027118234,
0.02257789,
0.015230789,
-0.011020652,
-0.008661049,
0.0017679823,
0.012059428,
-0.0047604814,
-0.015849926,
-0.0012726721,
-0.062299017,
0.021821165,
-0.013531599,
-0.041743644,
0.019330857,
0.016235167,
0.0069962568,
-0.013153237,
-0.0071751187,
-0.01481803,
-0.040340263,
-0.015643546,
0.048760537,
0.05398881,
0.014295203,
0.020142615,
-0.014694203,
-0.04416516,
0.0049668606,
-0.052833088,
0.043614816,
-0.057731155,
-0.04006509,
-0.010263928,
-0.060537912,
-0.040037576,
-0.011254548,
-0.020637926,
0.0104221525,
0.05420895,
0.05090688,
-0.01622141,
-0.0035428437,
-0.022564132,
-0.015918719,
0.023293339,
0.060537912,
0.01960603,
0.041110747,
0.013380255,
-0.039129507,
-0.00031150368,
-0.023320856,
0.030709233,
-0.03728585,
-0.041083228,
-0.06026274,
-0.019550994,
-0.029581025,
-0.056850605,
0.041551024,
-0.0038936886,
0.041495986,
0.016083824,
-0.069343425,
0.012389635,
-0.04185371,
-0.009789255,
-0.05599757,
-0.023293339,
-0.0053349035,
-0.007918084,
0.03013137,
-0.041440953,
0.22255938,
0.004227335,
0.028507853,
0.032470334,
0.039707366,
0.033763647,
-0.012410272,
-0.007209515,
0.025013166,
-0.02982868,
-0.028672958,
0.009582876,
0.05789626,
0.018395271,
-0.013889324,
0.03329585,
-0.034176406,
0.046806812,
0.01640027,
-0.034671713,
-0.031617302,
-0.03203006,
-0.020954372,
-0.003996878,
0.009830532,
0.012816152,
0.007863049,
-0.019289581,
0.014556617,
-0.028700475,
0.006222334,
-0.0057511018,
0.02318327,
-0.015368375,
-0.00017252016,
0.011275186,
-0.04523833,
-0.00845467,
0.023788648,
0.0357724,
-0.041633572,
-0.0055653607,
0.02257789,
-0.045018192,
-0.016689202,
0.02377489,
-0.03291061,
0.02158727,
0.022041304,
-0.021862442,
0.029966267,
-0.046036333,
0.032195162,
-0.067912534,
-0.015478443,
0.007814894,
-0.009383377,
-0.023692338,
0.016042547,
0.02337589,
0.025976269,
0.028975647,
0.017432168,
0.0058336533,
-0.02029396,
0.0046985676,
0.09377873,
0.018065063,
-0.0072920667,
-0.044440333,
-0.016757995,
-0.007918084,
-0.026292717,
-0.036818057,
0.0742415,
0.031782404,
-0.031232059,
0.010731721,
-0.022467822,
0.0018230167,
0.017349616,
-0.07159984,
0.030186405,
-0.05222771,
0.038771782,
0.029085716,
-0.032277714,
0.0044818693,
-0.019069443,
0.015863685,
0.00089946954,
0.030764267,
0.0050666104,
-0.03244282,
0.027131991
] | DistilBERT |
[
0.041097406,
-0.031987146,
-0.02163326,
-0.00707853,
0.00006552521,
-0.011199839,
0.0049781078,
-0.023975898,
-0.016788913,
0.07380759,
0.034590077,
-0.018813416,
0.020649929,
-0.050612573,
0.025465354,
-0.0009986944,
-0.019001406,
-0.025349667,
-0.039419964,
-0.012306085,
0.0024492869,
0.01574774,
-0.043526813,
0.0015102429,
-0.022761196,
0.02775015,
0.033172924,
-0.007208676,
0.09249086,
0.03441655,
0.0092331795,
-0.01869773,
0.02145973,
-0.025060453,
0.0015482024,
-0.02816951,
0.0007953404,
-0.016253866,
-0.043584656,
-0.026072705,
0.020548703,
-0.036296446,
0.057119902,
-0.051104236,
-0.067965455,
0.0036549508,
0.015328378,
-0.028690098,
-0.00081793533,
-0.03383812,
-0.047199838,
0.0044539063,
0.020953605,
0.020837918,
0.028010443,
-0.022182766,
-0.00094175537,
0.0014198634,
-0.040808193,
0.030251857,
0.04309299,
0.027229564,
-0.0139763,
-0.08248403,
-0.010361116,
0.021879092,
-0.016297247,
-0.008293231,
-0.053215504,
-0.03441655,
-0.051306687,
-0.013564169,
-0.019637678,
-0.053244427,
-0.027764611,
-0.0035121508,
0.0251906,
0.025725648,
-0.0385234,
0.047893953,
0.03482145,
0.037771437,
-0.009941755,
0.0129206665,
-0.043208674,
-0.031032737,
0.077336006,
-0.016702149,
-0.033751354,
-0.01101908,
-0.008141394,
0.036267523,
-0.023498693,
-0.0013123116,
0.012710986,
0.0065037156,
-0.008213697,
0.044712592,
-0.012530226,
0.009124723,
0.02461217,
0.023599919,
0.00079488853,
0.038320947,
-0.047778267,
-0.020765616,
0.03794497,
-0.011395059,
-0.0228335,
-0.008300462,
-0.0049781078,
0.019970275,
-0.01181442,
-0.0028017673,
-0.01200964,
-0.006015666,
0.013405101,
0.033924885,
-0.057004217,
0.015834505,
0.0017614983,
-0.024467563,
0.032854788,
0.003564571,
-0.010281582,
-0.03641213,
0.015371761,
0.02951436,
-0.06004097,
-0.034561157,
0.047084153,
0.016543081,
0.008206467,
0.05764049,
0.024048202,
-0.028386422,
0.009616389,
0.022139385,
-0.0063193412,
-0.029818036,
-0.0088572,
-0.017859008,
-0.005451697,
0.069527216,
-0.034532234,
-0.0021727255,
-0.030541072,
-0.041097406,
-0.057582647,
0.0017407109,
-0.022732275,
0.020100422,
0.015487446,
0.014012452,
-0.045377787,
-0.03447439,
-0.010802168,
0.025364129,
0.0021998393,
-0.03169793,
-0.040374372,
0.01829283,
-0.06889094,
0.029167302,
-0.019493071,
0.015053625,
-0.01965214,
-0.0025233983,
-0.008943965,
-0.02854549,
-0.02816951,
0.0004442157,
0.005531231,
0.042369954,
0.032796945,
0.04702631,
0.06605664,
0.009500703,
0.023773449,
0.02617393,
0.024322955,
-0.022283992,
0.013983531,
0.027244024,
-0.042456716,
-0.005158867,
0.015892347,
-0.02539305,
-0.01713597,
0.002010042,
-0.0029120306,
0.05604981,
-0.038089577,
0.017381804,
-0.032044988,
0.015487446,
-0.031350873,
0.027807994,
0.021170516,
-0.059404697,
-0.030569993,
0.054488048,
-0.0005504117,
0.008242619,
-0.062354688,
-0.0054408517,
0.013535248,
0.044163086,
-0.03600723,
0.015299457,
0.020548703,
0.024077123,
-0.000265716,
-0.011358907,
0.0358337,
0.0057626027,
-0.022283992,
0.0002179278,
0.013144808,
-0.010281582,
0.019941352,
0.004099618,
0.03539988,
-0.023773449,
-0.01929062,
0.006062663,
0.03872585,
0.03861016,
-0.021734484,
0.03577586,
0.020837918,
0.025696727,
0.013260494,
0.046158664,
0.041965052,
0.009724844,
0.061949786,
0.042948384,
0.055066478,
0.0030313316,
-0.009507933,
0.02185017,
0.03207391,
0.034387626,
0.018668808,
-0.017830087,
-0.023296244,
0.008199236,
-0.022920264,
0.017266117,
-0.041386623,
0.0417626,
-0.0019052018,
-0.005361317,
-0.04153123,
0.00639526,
-0.0010728057,
0.024163887,
0.013094195,
-0.029037155,
0.0038067885,
0.01595019,
-0.002537859,
-0.030945972,
0.033404298,
0.046505723,
0.008235388,
0.051075317,
0.003976702,
-0.063222334,
-0.014135368,
-0.07270858,
-0.110595696,
-0.016065877,
-0.058970876,
-0.027229564,
-0.018350672,
-0.07189877,
0.021618798,
-0.0061132754,
0.009681462,
-0.009941755,
-0.02102591,
0.036614582,
0.05373609,
0.022153845,
-0.042890538,
0.05451697,
0.010881703,
0.03302832,
0.025335208,
-0.0031723236,
-0.012233782,
-0.001594296,
0.003069291,
0.02005704,
-0.0018238602,
0.028212894,
-0.035081744,
0.010541876,
-0.005610765,
-0.007009841,
0.019420767,
0.025074914,
-0.04798072,
0.02539305,
-0.0022359912,
-0.022558747,
0.058103234,
0.0173095,
-0.033201847,
0.042832695,
0.0028324963,
0.052000802,
-0.025494276,
0.04251456,
0.02773569,
0.0039477805,
-0.042977303,
-0.0550954,
-0.010867242,
-0.006474794,
-0.016253866,
-0.03577586,
-0.006373569,
0.04430769,
-0.024149427,
-0.05434344,
0.017859008,
-0.01849528,
-0.08450853,
0.0119590275,
-0.019276159,
0.017815625,
0.00393332,
0.009941755,
-0.046534643,
0.010563566,
-0.0034669612,
0.008589677,
0.0032645108,
-0.03346214,
0.0071110665,
0.06889094,
0.03418518,
0.009869452,
0.00016539465,
-0.027865836,
-0.024134966,
-0.00094175537,
0.0035302269,
0.013571399,
0.019507531,
0.004088773,
0.004367142,
-0.0013222535,
-0.031726852,
-0.010404498,
0.07056838,
0.0018437437,
0.0192617,
0.033404298,
0.0035067282,
-0.007743723,
-0.01869773,
-0.00963085,
0.013723237,
0.02224061,
0.041155253,
-0.06559389,
0.04468367,
0.0016196023,
-0.016832296,
0.023599919,
0.0008626732,
-0.065073304,
0.022934726,
0.02005704,
0.059925284,
-0.03528419,
0.014460735,
0.029991563,
-0.016253866,
0.018075919,
0.049947377,
0.014279976,
-0.032854788,
-0.025740108,
-0.025508735,
-0.011192609,
0.0068977703,
0.038668003,
-0.04011408,
0.025421971,
0.0054227756,
-0.05353364,
0.015791122,
-0.0047792727,
0.03563125,
0.0071906005,
0.09937417,
-0.043989554,
0.01122153,
0.00070044183,
0.012450692,
-0.027012652,
-0.056657158,
0.010209279,
-0.010281582,
-0.016774453,
0.002272143,
-0.02224061,
-0.011141996,
0.012248242,
-0.010194818,
-0.0076208073,
-0.012667604,
-0.016311709,
0.022110464,
0.059404697,
0.022298453,
0.021011448,
-0.04372926,
0.0071761394,
0.023426391,
-0.017945772,
0.020346254,
-0.024872463,
0.004952802,
0.016080337,
0.0016656959,
-0.027576622,
0.004547901,
-0.013629243,
-0.04644788,
0.03447439,
0.03722193,
0.000775005,
0.0069339224,
-0.04205182,
0.018972484,
0.012335007,
0.0046418956,
0.0057806787,
0.05685961,
-0.026925888,
-0.025638882,
0.03470576,
0.013730467,
-0.0059903595,
0.003857401,
-0.03427194,
0.04098172,
-0.05043904,
-0.029644506,
-0.003503113,
-0.007816027,
-0.0033368145,
0.007186985,
0.033201847,
-0.007837718,
0.010108054,
0.028516568,
-0.02675236,
-0.056599315,
0.0063193412,
0.0062506525,
0.011720425,
0.043526813,
-0.013528017,
-0.003720024,
0.011286603,
0.025364129,
-0.041097406,
0.01161197,
0.0017461337,
-0.009204257,
-0.041386623,
-0.00905965,
0.024106044,
-0.046766017,
0.0204764,
-0.03759791,
-0.01849528,
-0.000859058,
-0.023339625,
-0.005390239,
0.0128411325,
-0.016817834,
-0.008004016,
0.009768226,
0.0045117494,
0.025060453,
-0.022862421,
-0.04075035,
-0.047893953,
-0.030801365,
-0.0016177947,
0.023079332,
0.048935127,
0.04861699,
-0.023961438,
-0.0021456114,
-0.0000066019466,
0.009189797,
-0.010961237,
-0.031929303,
0.014713798,
0.0011460133,
-0.003396465,
-0.010794939,
0.017338421,
-0.0071616787,
-0.017295038,
-0.0022287609,
-0.028039364,
0.0029246835,
-0.03366459,
-0.04372926,
0.03823418,
-0.02954328,
-0.07785659,
-0.041039564,
0.0275477,
-0.008423378,
0.0042948383,
0.060503714,
-0.00570476,
-0.03091705,
-0.044596907,
0.050959628,
-0.043902792,
-0.012060253,
-0.047286604,
-0.0054589272,
0.011915646,
0.018278368,
0.025740108,
-0.025277365,
-0.0028270737,
-0.029615585,
0.0074762,
-0.046852782,
-0.031264108,
-0.021141594,
0.0136003215,
-0.022746736,
0.062065475,
-0.012653143,
-0.01437397,
-0.035023898,
-0.0021546495,
0.042745933,
0.058161076,
-0.07103113,
-0.03794497,
-0.00059514964,
-0.0031940148,
0.038465556,
-0.025928097,
-0.024973689,
0.054083146,
-0.037858203,
0.006225346,
-0.04942679,
-0.0177144,
-0.020722233,
-0.030425387,
0.027244024,
-0.014453504,
0.011626431,
-0.03499498,
0.03716409,
0.030974893,
-0.0072918255,
-0.04861699,
-0.03033862,
-0.04861699,
-0.024048202,
0.020910222,
-0.031958222,
0.017034745,
0.0019431612,
-0.0042008436,
0.017584253,
-0.0088572,
0.020404097,
0.058537055,
-0.027460935,
0.0032355895,
-0.05749588,
0.03600723,
0.0056035346,
0.011040771,
-0.014258284,
-0.022775657,
0.022283992,
-0.022168307,
-0.03800281,
-0.031958222,
-0.0133617185,
0.0030222936,
0.06004097,
-0.029875878,
0.043758184,
0.0047105844,
-0.033953805,
-0.04826993,
0.03109058,
0.006055433,
0.007505121,
0.0228335,
0.00012856496,
0.0028975697,
0.023975898,
0.009016268,
-0.036730267,
0.022168307,
0.075080134,
-0.023672223,
-0.031379793,
0.02265997,
0.021184977,
-0.0043779872,
-0.044163086,
-0.00825708,
-0.0048479615,
-0.019276159,
-0.023787908,
-0.015848964,
0.034503315,
-0.01613818,
0.013289415,
0.025523197,
-0.046071902,
-0.014836714,
0.03265234,
0.000646666,
-0.039015062,
0.016239405,
0.036672425,
-0.04231211,
-0.009659771,
-0.00029395963,
0.0050251056,
-0.01793131,
-0.0038827073,
0.06449488,
-0.027403092,
0.020172725,
0.018234987,
-0.0042803776,
0.04702631,
-0.016803375,
-0.005292629,
0.0015066278,
-0.032218516,
-0.03580478,
-0.0150825465,
0.01911709,
0.009037959,
0.04581161,
-0.040229764,
0.010903394,
0.004464752,
0.015964651,
-0.021315124,
-0.035602327,
0.000051516367,
-0.05217433,
0.0017063667,
-0.008690902,
-0.011329985,
0.007996786,
0.031987146,
-0.008546295,
-0.046071902,
0.014713798,
0.020042578,
-0.016181562,
0.0032301666,
-0.022370758,
0.013491865,
-0.039043985,
-0.039998394,
0.032189596,
-0.025508735,
-0.0016720225,
0.026246233,
-0.016441856,
0.034937136,
-0.001350271,
0.0008906909,
-0.009934525,
-0.0041357703,
-0.031177344,
-0.016297247,
-0.051914036,
0.018263908,
0.00035406204,
0.00945009,
0.00096344645,
-0.025855795,
-0.03325969,
-0.00085137575,
0.020100422,
-0.013477405,
0.005133561,
0.026463145,
0.0069339224,
-0.0015979112,
-0.021618798,
0.02558104,
-0.05830568,
0.0017660173,
-0.0251906,
-0.018018076,
-0.007736493,
0.048935127,
0.033172924,
0.06998996,
0.019767825,
0.025841333,
0.001988351,
0.026737899,
0.027909217,
-0.002492669,
0.00925487,
-0.0068580033,
-0.036498893,
-0.01377385,
0.020071499,
0.027244024,
-0.030569993,
0.031726852,
0.030627836,
-0.01022374,
-0.007953404,
0.00924764,
0.026014863,
0.01769994,
0.05628118,
0.010064672,
-0.0010917855,
-0.016470777,
-0.025769029,
-0.01634063,
-0.03756899,
-0.036180757,
-0.0044972887,
-0.0077220323,
0.017410725,
-0.011199839,
-0.0181193,
0.003374774,
0.03366459,
0.06241253,
0.02145973,
0.010570797,
-0.021532035,
0.0069013857,
-0.013115887,
-0.03305724,
-0.038349867,
0.010563566,
-0.057177745,
-0.04531994,
0.010433421,
0.06351155,
0.010888933,
-0.013629243,
-0.04315083,
0.010534645,
0.033317532,
0.038870454,
-0.046418957,
0.024366338,
-0.0043418356,
0.008358304,
-0.002373368,
-0.016196024,
-0.030020485,
0.031755775,
0.0024691704,
0.017280579,
0.013159269,
0.054806184,
0.026868045,
0.0068941554,
0.025653344,
-0.021908013,
0.00017816077,
0.015516369,
0.0014307089,
-0.0040562362,
0.028386422,
0.008698132,
0.033433218,
-0.015921269,
0.023093794,
0.017960232,
-0.05821892,
-0.0071544484,
0.051422372,
-0.0051299455,
-0.013744928,
0.017425185,
-0.028155051,
0.02185017,
-0.011742117,
0.011373368,
0.023151636,
0.03444547,
0.003087367,
0.015053625,
-0.055991966,
0.03872585,
-0.013687085,
-0.06432135,
0.004735891,
0.05784294,
0.022298453,
0.020114882,
0.033086162,
0.0061675035,
0.040721428,
0.0054263906,
0.036498893,
0.011539666,
-0.014619803,
-0.003215706,
-0.02261659,
0.047778267,
-0.0066844746,
0.0116770435,
0.00452621,
-0.02124282,
-0.06287528,
0.07577425,
-0.0138823055,
-0.050063062,
0.025624422,
-0.03519743,
-0.020114882,
-0.031813618,
0.0009096706,
-0.015964651,
-0.0034868447,
0.0009896565,
-0.03606507,
-0.032160673,
0.023715604,
-0.02873348,
0.01180719,
0.028878087,
0.038436633,
0.011489054,
0.08468206,
0.02912392,
0.018943563,
0.013499096,
0.0037561757,
-0.011460132,
-0.012269934,
-0.0013755774,
-0.049918458,
0.035949387,
-0.02498815,
-0.08155854,
0.014063065,
-0.0066953204,
-0.0052673225,
-0.0056722234,
0.039998394,
-0.017396264,
-0.028834704,
-0.01712151,
0.11701626,
0.022529826,
0.026275154,
0.005368548,
0.015371761,
-0.066172324,
0.0037453303,
-0.02203816,
0.037684675,
-0.04430769,
-0.048096403,
0.00035225446,
-0.060503714,
-0.0413577,
-0.016355092,
-0.007418357,
-0.007794336,
0.052058645,
0.026029322,
0.022949185,
-0.0047503514,
-0.0037272545,
-0.035573408,
0.066577226,
0.03068568,
0.006203655,
0.07016349,
0.037829284,
-0.013954609,
-0.0173095,
0.010115284,
0.017801164,
-0.005173328,
-0.026882505,
-0.048559148,
-0.0024294034,
-0.043584656,
-0.061718415,
0.025913637,
0.017179353,
0.03132195,
-0.0038935528,
-0.039709177,
-0.0016693111,
-0.05532677,
-0.011713196,
-0.0393332,
0.012450692,
0.0026228158,
-0.042456716,
0.025682265,
-0.029196223,
0.25034425,
0.05350472,
0.030714601,
0.031958222,
0.04370034,
0.040605742,
0.04011408,
-0.00905242,
0.04034545,
-0.0047503514,
-0.021488652,
-0.025132757,
0.037308697,
0.006594095,
-0.02696927,
0.007693111,
-0.0444523,
0.015328378,
-0.03861016,
-0.04451014,
-0.025436433,
-0.009601928,
0.0073713595,
0.023281783,
0.0630488,
-0.032016065,
-0.024250653,
-0.030743523,
0.020317333,
-0.0247857,
0.012450692,
-0.03068568,
0.029702349,
-0.008647519,
0.005975899,
0.018090378,
-0.009768226,
-0.045753766,
0.003741715,
0.031958222,
-0.047575817,
-0.025060453,
0.015270536,
-0.026737899,
-0.019131552,
0.03872585,
-0.033086162,
0.018394055,
0.032710183,
-0.06079293,
0.036267523,
-0.04326652,
0.060330186,
-0.049542475,
-0.021777866,
-0.013347258,
-0.04291946,
-0.041155253,
0.011373368,
0.03499498,
0.025725648,
0.03187146,
0.009912834,
0.026781281,
-0.0060518174,
0.017251657,
0.0192617,
0.01516931,
-0.011337216,
-0.02873348,
0.007967865,
0.0055059246,
-0.026029322,
-0.012154248,
0.0555003,
0.022949185,
-0.015863426,
0.06623016,
0.004934726,
-0.029557742,
0.003781482,
-0.03268126,
0.0013213496,
-0.033953805,
0.03635429,
0.034532234,
-0.048906203,
0.02163326,
-0.009305483,
0.0323342,
-0.016658766,
0.027938139,
0.059173327,
-0.017193813,
0.011322755
] |
Overview
The DistilBERT model was proposed in the blog post Smaller, faster, cheaper, lighter: Introducing DistilBERT, a
distilled version of BERT, and the paper DistilBERT, a
distilled version of BERT: smaller, faster, cheaper and lighter. DistilBERT is a
small, fast, cheap and light Transformer model trained by distilling BERT base. It has 40% less parameters than
google-bert/bert-base-uncased, runs 60% faster while preserving over 95% of BERT's performances as measured on the GLUE language
understanding benchmark.
The abstract from the paper is the following:
As Transfer Learning from large-scale pre-trained models becomes more prevalent in Natural Language Processing (NLP),
operating these large models in on-the-edge and/or under constrained computational training or inference budgets
remains challenging. In this work, we propose a method to pre-train a smaller general-purpose language representation
model, called DistilBERT, which can then be fine-tuned with good performances on a wide range of tasks like its larger
counterparts. While most prior work investigated the use of distillation for building task-specific models, we leverage
knowledge distillation during the pretraining phase and show that it is possible to reduce the size of a BERT model by
40%, while retaining 97% of its language understanding capabilities and being 60% faster. To leverage the inductive
biases learned by larger models during pretraining, we introduce a triple loss combining language modeling,
distillation and cosine-distance losses. Our smaller, faster and lighter model is cheaper to pre-train and we
demonstrate its capabilities for on-device computations in a proof-of-concept experiment and a comparative on-device
study.
This model was contributed by victorsanh. This model jax version was
contributed by kamalkraj. The original code can be found here.
Usage tips |
[
0.010112613,
-0.009921377,
0.0013386591,
0.037513055,
-0.018282259,
-0.009783686,
0.030138955,
0.019093104,
0.0030368438,
0.100789554,
0.014541663,
0.043326657,
-0.00072861306,
-0.01678296,
-0.034698043,
-0.0055841208,
0.010525686,
-0.026298914,
-0.054158323,
-0.026207121,
-0.0070222234,
0.0154901985,
-0.041919153,
0.0038457764,
0.007947811,
-0.0028781171,
-0.0033542973,
-0.0024267978,
0.06786619,
0.052567232,
-0.016247498,
0.0105486335,
-0.01959797,
-0.030597923,
-0.011374778,
-0.036778703,
0.019031908,
-0.052628428,
0.0024267978,
-0.010219706,
-0.0064752856,
0.0036545394,
0.031362873,
-0.04681482,
-0.016859455,
-0.00087682175,
-0.047946945,
-0.006482935,
-0.033229344,
-0.057952467,
-0.01561259,
-0.010219706,
0.020072237,
0.009714841,
-0.049109668,
-0.02033232,
-0.006792739,
-0.0059551205,
-0.010556283,
0.04920146,
-0.023514504,
0.025839945,
-0.021112567,
-0.030643819,
0.010150861,
0.010969356,
-0.0058939247,
0.0030693542,
-0.009898428,
-0.06321531,
-0.035860766,
0.0025797873,
-0.040175073,
-0.035462994,
-0.041796762,
-0.011221788,
0.002310143,
-0.0046508843,
0.0036430652,
0.04742678,
0.029419903,
0.008552119,
-0.017425517,
0.012774633,
-0.00426841,
-0.022871947,
0.026406007,
-0.0059359972,
0.004134544,
-0.008284387,
0.003958606,
0.025702255,
-0.0066053267,
-0.015505497,
0.028930336,
0.033810705,
0.0071101924,
0.052077666,
0.01370787,
-0.02813479,
0.041796762,
0.018251661,
-0.028104192,
0.017257228,
-0.011772551,
0.007098718,
0.013271849,
0.022902545,
-0.002510942,
-0.03344353,
-0.016002713,
-0.024554834,
-0.03901235,
0.009141129,
-0.021127867,
0.04259231,
0.017379621,
0.0071063675,
-0.054494902,
-0.003513024,
0.049691025,
-0.016094508,
0.042378124,
0.0013558705,
-0.016094508,
-0.054097127,
0.008261439,
0.028333677,
-0.043663237,
0.017853888,
0.032953963,
0.0045743897,
0.007993707,
-0.024661927,
0.08132928,
0.016706467,
0.0026218595,
-0.0032089571,
0.0009781773,
-0.01577323,
0.008636264,
0.0122238705,
0.035157014,
0.07888144,
0.0068692337,
-0.038951155,
0.006219028,
0.0036985239,
-0.028042996,
-0.004402276,
-0.05293441,
0.02919042,
0.02842547,
0.013080612,
-0.003889761,
-0.028930336,
0.039226536,
0.011925541,
0.015429002,
-0.00097530877,
-0.031913634,
0.012506901,
0.031255778,
0.06290933,
0.0037310342,
0.049109668,
-0.019536775,
-0.012185623,
0.007159914,
-0.014924137,
0.0042148638,
0.02564106,
-0.007695378,
0.020883081,
0.0014333215,
0.03182184,
0.059727147,
0.043479647,
0.014901188,
0.034606252,
0.0008557857,
0.0045629153,
0.023958175,
0.025380976,
0.018312857,
0.0030387563,
0.029282212,
-0.014335127,
-0.041796762,
-0.0162016,
0.017563207,
0.05229185,
0.03552419,
0.024187658,
-0.018022176,
0.013325395,
-0.0049453895,
0.024386544,
-0.00117802,
-0.016737064,
-0.041154206,
0.069579676,
-0.0101049645,
0.016538177,
-0.06443922,
-0.0397467,
0.018542342,
0.07423056,
-0.02784411,
-0.027874708,
0.031332273,
0.014090343,
-0.012269767,
-0.019093104,
-0.036717508,
-0.028930336,
0.020500608,
0.013922055,
-0.0064217392,
-0.032862168,
0.014687003,
0.03399429,
0.034392066,
0.0009800898,
-0.055045664,
-0.0049606883,
0.004406101,
0.015543745,
0.006746842,
0.049691025,
0.027599327,
0.033933096,
0.034116685,
0.06731543,
0.014740549,
-0.0072708316,
0.01929199,
0.04681482,
-0.0054693785,
0.009684242,
0.04828352,
0.021158464,
0.031638253,
0.017578507,
-0.015451951,
-0.0039433073,
-0.0048688943,
0.008521521,
-0.021892814,
0.031424068,
-0.031607654,
0.062236175,
-0.036258537,
0.0047656265,
-0.023988772,
-0.017364321,
-0.0017890224,
0.010028469,
-0.023560401,
0.009370614,
0.054862075,
0.017731497,
-0.000011870142,
-0.023682792,
0.027155656,
-0.00019195415,
0.038278002,
-0.007362625,
-0.0037233848,
-0.052077666,
0.006612976,
-0.037451856,
-0.04329606,
-0.004134544,
-0.049293254,
-0.039410125,
0.014136241,
-0.0456827,
0.02134205,
-0.01163486,
0.022749556,
-0.0086898105,
-0.049017873,
0.03194423,
-0.010648077,
0.008666862,
-0.030552026,
0.01796098,
-0.0025587513,
0.08928474,
-0.014916487,
0.009240572,
-0.0048229974,
-0.0323726,
-0.036748104,
-0.0032242562,
0.0092252735,
-0.035983156,
0.009439459,
-0.0029374007,
-0.027737018,
0.0025950863,
-0.0038362145,
0.027599327,
-0.05330158,
0.00032366865,
0.0500582,
-0.048773088,
0.022152897,
0.07924862,
-0.015712034,
-0.013967952,
0.020056939,
0.030689716,
-0.041613176,
0.057065126,
0.028272482,
0.0074429447,
-0.030521428,
-0.04054225,
-0.002763375,
0.036258537,
0.014526363,
-0.025977636,
0.019139001,
0.07386339,
0.014671704,
-0.040603444,
0.05021119,
-0.039379526,
-0.016002713,
0.01797628,
-0.011902592,
0.022305885,
-0.030766211,
-0.020531205,
-0.056238983,
-0.058442034,
-0.039838497,
0.002386638,
0.018542342,
-0.03151586,
-0.016400486,
0.02960349,
0.016844157,
-0.010212056,
0.008284387,
-0.02844077,
-0.011994386,
-0.023162628,
0.0076380065,
-0.001812927,
0.006953378,
0.016966548,
0.045896884,
0.041460186,
-0.016874755,
-0.0100208195,
0.027951203,
0.013554879,
0.0078942645,
0.013210653,
-0.0018540429,
-0.007940161,
-0.0176856,
-0.08530701,
-0.018894218,
0.011596613,
0.040909424,
-0.033382334,
0.034667447,
0.05363816,
0.0123156635,
-0.00006956246,
-0.037176475,
-0.04552971,
0.010112613,
0.025671657,
0.069396086,
-0.012445705,
-0.0020825712,
0.007783347,
0.0055611725,
0.013761416,
0.03638093,
0.055290446,
-0.062113784,
-0.020286422,
-0.03374951,
0.0015365895,
0.024248853,
-0.047090203,
0.011665458,
0.024401844,
-0.0044137505,
-0.019062506,
0.00001906394,
0.0062687495,
0.048834287,
0.016568774,
0.045499112,
0.0050754305,
0.017609105,
0.012491602,
0.009301769,
0.017655002,
-0.016140405,
0.02958819,
-0.0001332683,
-0.0018894217,
-0.04436699,
-0.006230502,
-0.034422662,
0.047671564,
0.008307336,
-0.005905399,
-0.072700664,
-0.015513147,
-0.03329054,
0.04962983,
-0.03592196,
-0.019139001,
-0.020408815,
-0.016767662,
0.02990947,
-0.044244595,
-0.0016771486,
-0.006521182,
-0.01075517,
0.009676593,
-0.0027901481,
-0.03892056,
-0.026360111,
-0.04981342,
-0.03006246,
0.033933096,
0.050792553,
0.015880322,
0.022183495,
-0.047334988,
0.0130194165,
-0.020439412,
-0.022642463,
-0.009508304,
0.018970713,
-0.0061999043,
-0.032158416,
0.038706373,
-0.015536095,
-0.010648077,
-0.00075873284,
0.014059746,
0.007052821,
-0.030965097,
-0.034942828,
-0.0050716056,
-0.0010288552,
0.0012889375,
0.027966501,
-0.026176523,
0.017930383,
0.027431037,
0.017853888,
-0.03567718,
-0.03901235,
-0.009584799,
0.0101049645,
-0.00061339274,
0.03919594,
-0.008559769,
0.0051786983,
0.010525686,
0.030613221,
-0.022627164,
-0.006964852,
-0.03347413,
-0.0065594297,
-0.030460233,
-0.027308647,
0.065969124,
-0.050914943,
0.026574297,
0.008926944,
-0.047334988,
-0.07129316,
-0.04436699,
-0.01946028,
-0.014243333,
-0.0037176476,
0.015941517,
0.008858099,
-0.02476902,
0.042225134,
-0.049599234,
0.023759287,
-0.04580509,
-0.047273792,
0.0009600098,
0.03567718,
0.009370614,
0.062083185,
0.002256597,
-0.041919153,
0.03107219,
0.0011302108,
-0.019643867,
-0.057768878,
-0.018664733,
-0.0012526024,
-0.015819127,
-0.026604895,
0.00020593837,
0.031485263,
-0.015505497,
-0.017318424,
-0.0046967813,
0.014970033,
-0.0051481007,
-0.038094413,
0.038645178,
0.0047350284,
-0.0854906,
-0.013080612,
-0.009393563,
0.020026341,
-0.0073282025,
0.033688314,
-0.012155025,
-0.017043043,
-0.0036660137,
0.027737018,
-0.031301674,
0.007917212,
-0.041766163,
-0.027094461,
0.009141129,
0.034667447,
-0.018756527,
-0.069028914,
0.019337887,
-0.03959371,
0.017058343,
0.009171727,
-0.03564658,
-0.022887247,
-0.010043768,
-0.008299687,
0.03270918,
-0.043877423,
-0.01384556,
-0.014778797,
-0.03934893,
0.04666183,
0.04311247,
-0.056177787,
-0.023560401,
-0.028318377,
0.0265131,
-0.0022585092,
-0.046600636,
-0.028165389,
0.05660616,
-0.047243193,
0.02252007,
-0.00047163828,
-0.015727332,
-0.050394777,
-0.027155656,
0.02871615,
-0.032739777,
-0.054464303,
-0.0011034376,
0.073312625,
0.011367128,
0.03769664,
-0.015520796,
0.0013300534,
-0.057554692,
-0.014082694,
0.015865022,
-0.0032299932,
0.030001264,
0.017180733,
-0.016844157,
0.05700393,
-0.019322589,
0.025824647,
0.040175073,
-0.0106327785,
-0.0067085945,
-0.06437803,
0.008337934,
0.011757252,
-0.009179377,
0.023315618,
0.009355315,
-0.07031403,
0.013531932,
-0.025610462,
-0.026497802,
-0.02740044,
0.025702255,
0.05626958,
-0.018205764,
0.035126414,
-0.029741181,
-0.07551567,
-0.035432395,
0.06437803,
-0.04286769,
0.044672966,
0.048681296,
0.0066015017,
0.02033232,
-0.004532317,
-0.023789885,
0.043724433,
-0.0015633627,
0.05730991,
0.0005914005,
-0.004582039,
0.036472723,
0.015123024,
-0.045315523,
-0.060308505,
0.014985333,
0.00033036195,
-0.018144568,
-0.025870543,
0.014572261,
0.018190466,
-0.07520969,
-0.0052092965,
0.029848274,
-0.028746748,
0.011481871,
-0.032923367,
-0.025380976,
-0.0009944325,
0.05290381,
0.05568822,
-0.032800972,
-0.009883129,
-0.058901,
-0.043265462,
-0.039501917,
0.019858051,
0.050884347,
0.006131059,
0.047029007,
0.0022240866,
-0.0020424114,
0.06664228,
0.009079933,
-0.004513194,
-0.012024984,
-0.036411528,
-0.041796762,
0.00080415164,
0.03313755,
-0.0098372325,
0.025212688,
0.0043525547,
0.006918955,
-0.009798985,
0.047212593,
-0.04653944,
-0.046478245,
0.018312857,
-0.0060048425,
-0.025503369,
-0.01164251,
-0.029924769,
-0.004065699,
0.006892182,
-0.017318424,
-0.02666609,
-0.0036813125,
-0.03524881,
-0.018343454,
-0.025090298,
-0.05357696,
0.0021246432,
-0.036472723,
-0.014426921,
-0.022948442,
-0.045376718,
-0.008376181,
0.011015252,
-0.0054693785,
-0.02106667,
-0.0012028809,
0.00941651,
0.0013004118,
0.0059130485,
-0.015337209,
-0.03944072,
-0.024646627,
0.0024401844,
-0.014618157,
0.03711528,
0.0530568,
-0.005775358,
0.031118087,
0.0058403783,
-0.018970713,
-0.009623047,
0.006039265,
-0.0016360327,
-0.0027977976,
0.013975602,
-0.00669712,
0.01959797,
-0.025809348,
0.017043043,
-0.03332114,
-0.006433213,
0.03445326,
0.0031209881,
0.008949893,
0.03699289,
0.008307336,
0.019949846,
-0.026145926,
0.023835782,
0.027278049,
0.014197436,
-0.018940113,
-0.0075309137,
-0.021984607,
0.0114283245,
0.04094002,
0.017624404,
-0.037084684,
0.016874755,
0.026834378,
-0.000011802909,
-0.051373914,
0.010961706,
-0.00928647,
0.012874076,
0.029496398,
-0.017471414,
0.036013756,
0.0076686046,
0.011038201,
0.020301722,
-0.047304388,
-0.07527089,
0.010189109,
-0.03433087,
0.002711741,
-0.050914943,
-0.038828764,
0.014381024,
0.0033925448,
0.022611866,
0.03182184,
0.063154116,
0.012262118,
0.017119538,
-0.02990947,
0.009798985,
-0.00038821113,
-0.027033266,
-0.01678296,
-0.04403041,
0.034239076,
0.065724336,
-0.01516892,
-0.008123749,
0.009087583,
-0.02400407,
-0.015865022,
0.041154206,
0.02123496,
-0.0024937307,
-0.047671564,
0.0015193782,
-0.02195401,
-0.020806588,
-0.051220924,
0.045407318,
-0.0015996976,
-0.013998549,
0.0030464057,
0.017165435,
0.02297904,
0.00235604,
0.0069304295,
0.02475372,
0.016737064,
-0.01959797,
-0.02388168,
-0.0021399423,
0.015712034,
0.022137597,
0.05905399,
-0.029419903,
0.07918742,
0.0039471323,
-0.01796098,
-0.02844077,
0.047977544,
-0.00986018,
-0.03962431,
0.014778797,
0.010510387,
0.021999907,
0.008513872,
0.0043449053,
-0.003780756,
0.013830261,
-0.0133712925,
-0.029649388,
-0.03892056,
0.0016121281,
0.051190324,
-0.029741181,
-0.023851082,
-0.0072211097,
0.0052704923,
0.03858398,
0.030123655,
0.008888696,
0.04638645,
0.008896346,
0.0070642955,
0.048069336,
-0.015000632,
0.036809303,
-0.015436652,
0.018312857,
-0.0084297275,
0.01666057,
-0.037176475,
-0.01678296,
-0.033076353,
0.01339424,
-0.029970666,
-0.038125012,
0.019047206,
-0.026436605,
-0.04522373,
-0.028088894,
0.01017381,
0.0016981848,
-0.024952605,
0.026237719,
-0.024983205,
-0.04136839,
0.06694826,
-0.037757836,
0.020439412,
0.015972115,
0.043479647,
0.020653598,
0.045590904,
-0.002422973,
0.00046781354,
0.024126463,
0.02990947,
-0.015298962,
-0.029741181,
-0.022367083,
-0.042102743,
0.0049415645,
-0.025442174,
-0.034086086,
0.0141668385,
-0.0016226461,
-0.013042364,
-0.008682161,
0.013233602,
0.0018702981,
-0.03374951,
-0.0024057617,
0.07594404,
0.01973566,
0.009944325,
0.029343408,
-0.017517311,
-0.02680378,
-0.0056453166,
-0.017578507,
0.016308693,
0.0033772457,
-0.045284927,
0.015191869,
-0.016369889,
-0.028960934,
-0.01635459,
-0.050486572,
-0.012774633,
0.032800972,
0.013470735,
0.019643867,
0.026222419,
-0.02123496,
-0.0028322202,
0.025151493,
0.043081876,
0.021755124,
0.027568728,
0.05021119,
-0.03362712,
0.05645317,
0.025166791,
0.0062228525,
-0.02033232,
0.010127912,
-0.0046585337,
-0.03552419,
-0.035004023,
-0.042072143,
-0.02195401,
0.04112361,
0.034514457,
0.015788529,
-0.026451904,
-0.019383784,
-0.051894076,
-0.014205086,
-0.045101337,
-0.032617386,
-0.028685553,
-0.020714793,
0.034361467,
-0.05082315,
0.28076655,
0.036503322,
0.042959485,
0.015696734,
-0.0003497247,
0.038675774,
-0.019536775,
-0.06290933,
0.009477707,
-0.046294656,
-0.005993368,
-0.01884832,
0.021801021,
0.019949846,
0.009118181,
0.041337796,
-0.042928886,
-0.020791288,
0.0338719,
-0.059574157,
-0.024570132,
0.039379526,
-0.01459521,
0.034973428,
0.0051213275,
0.028348975,
0.0070834192,
-0.017364321,
-0.022030504,
-0.045590904,
0.04966043,
-0.004256936,
0.039563116,
-0.0019506175,
0.0049224407,
0.020118134,
-0.0043028328,
-0.03622794,
0.0025338905,
0.012208572,
0.017364321,
0.021051371,
0.02414176,
-0.02680378,
-0.03861458,
0.024325348,
-0.0067850896,
0.029572893,
0.054341912,
-0.09687302,
0.022749556,
-0.02120436,
0.05376055,
-0.038675774,
-0.0781471,
0.0132642,
-0.030643819,
-0.047243193,
-0.0042378125,
0.0130194165,
0.0063108215,
0.029618789,
0.0103115,
0.0055802963,
-0.032586787,
0.0077718724,
0.06658108,
0.052720223,
-0.024233555,
0.0032204313,
0.007094893,
-0.02606943,
-0.02019463,
0.0048268223,
0.03221961,
0.035891365,
-0.0077527487,
0.013631375,
0.013057664,
-0.03033784,
0.042072143,
-0.019659165,
-0.029710583,
-0.045499112,
0.0338719,
0.058258444,
-0.0008844712,
-0.010969356,
0.021265557,
0.0069113057,
-0.0013472647,
0.032984562,
-0.004046575,
-0.012866426,
0.0154749
] | DistilBERT doesn't have token_type_ids, you don't need to indicate which token belongs to which segment. Just
separate your segments with the separation token tokenizer.sep_token (or [SEP]).
DistilBERT doesn't have options to select the input positions (position_ids input). This could be added if
necessary though, just let us know if you need this option. |
[
0.037025657,
-0.023225924,
-0.035721745,
-0.04607154,
-0.0077691395,
-0.028305747,
-0.03164702,
-0.015239466,
-0.06351136,
0.065249905,
0.041969653,
0.022288738,
0.009874414,
-0.039334666,
-0.014818411,
0.0013098539,
-0.022207243,
-0.026173308,
-0.035667416,
-0.0024567188,
-0.010322633,
0.05269976,
-0.06438063,
0.0018760706,
-0.011646918,
-0.0033412734,
0.022777705,
0.034064688,
0.053867847,
0.03811225,
0.014519598,
0.055334747,
0.012699556,
-0.015130807,
-0.01030226,
-0.013093445,
0.026906759,
-0.02590166,
-0.052889913,
-0.08437394,
-0.0010781039,
0.028523065,
0.019830322,
-0.032353304,
-0.08328735,
0.004526339,
0.0013310764,
-0.019354938,
-0.025141045,
-0.027667373,
0.0074024145,
-0.019504344,
0.043626707,
0.0038370313,
0.009840458,
-0.02933801,
-0.0074703265,
-0.007361667,
-0.037188645,
0.029609658,
0.030315943,
0.0218541,
-0.0061901845,
-0.0663365,
0.013052698,
0.011137578,
-0.038085084,
-0.015633356,
-0.07247575,
-0.020821838,
-0.025154628,
0.0050526573,
0.00035293048,
-0.014084961,
-0.027545132,
0.018893136,
0.025534935,
0.0017079883,
-0.01176916,
0.049358487,
0.011606171,
0.051884815,
0.011823489,
0.00060271955,
-0.009324326,
-0.022886364,
0.034227677,
0.00008993042,
-0.037976425,
-0.05253677,
-0.018893136,
0.033874534,
-0.046995144,
0.007877799,
0.0048726904,
0.015062895,
0.035884734,
0.051721826,
0.01902896,
0.017820125,
0.039388996,
0.0461802,
-0.0004524641,
0.0648696,
-0.05039075,
-0.010770853,
0.045691233,
0.013480544,
-0.0506624,
0.00422413,
-0.009562018,
0.0141257085,
-0.0019134223,
-0.011056083,
-0.024516255,
0.039796468,
-0.004129053,
0.005157921,
-0.053297386,
0.025141045,
-0.01390839,
-0.016692784,
0.036971327,
-0.002889658,
0.023796385,
-0.04340939,
0.016421136,
0.02634988,
-0.0491955,
-0.038193744,
0.0299628,
-0.003429559,
0.01739907,
0.018091774,
0.033412732,
0.0043599545,
-0.016095158,
0.024203857,
-0.021867683,
-0.031456865,
0.0063531734,
-0.0052156462,
-0.0065738875,
0.05134152,
-0.006910052,
-0.008020414,
-0.012543358,
-0.038655546,
-0.026390627,
-0.05704613,
-0.04897818,
0.005449943,
-0.005174899,
0.013847269,
-0.02044153,
-0.036455195,
-0.012027225,
0.013032325,
-0.0417795,
-0.031864338,
-0.033874534,
-0.0012529775,
-0.058893338,
0.031864338,
-0.0056129317,
0.04262161,
-0.0030254822,
-0.028767549,
-0.00850259,
-0.021894848,
-0.007517865,
-0.024203857,
0.000404289,
0.020455113,
0.012930457,
0.022764122,
0.043436553,
0.0201563,
0.038411062,
-0.0017130817,
0.022886364,
-0.035667416,
0.0019134223,
0.02860456,
-0.037405964,
-0.021881266,
-0.017996697,
0.0162174,
-0.024896562,
-0.02443476,
0.00732092,
0.021025574,
-0.012000061,
0.0059321183,
-0.028360076,
0.022967858,
-0.0006485602,
0.0061833933,
-0.018852388,
-0.03430917,
-0.006628217,
0.05427532,
-0.0035382183,
0.016624872,
-0.00771481,
0.002112065,
-0.018784476,
0.02584733,
-0.0101324795,
0.045202266,
0.017888037,
0.031103723,
0.020373618,
0.028387241,
0.035939064,
-0.015008565,
-0.05574222,
0.021799771,
0.0253312,
-0.0042445036,
0.03846539,
0.021324387,
0.0023752244,
0.031728514,
0.039660644,
-0.029854141,
0.0026740374,
0.04335506,
0.031348206,
0.04675066,
0.035205614,
0.033032425,
0.02770812,
0.012624852,
-0.0067810193,
-0.0035484051,
0.019667333,
0.03126671,
0.026322715,
0.0038166577,
0.01818685,
-0.005497481,
0.053134397,
0.007816678,
0.011701248,
0.0014864252,
0.022057837,
0.005517855,
-0.022288738,
0.02269621,
-0.03346706,
0.036047723,
0.021718277,
-0.012244545,
-0.03851972,
0.008692743,
0.00055220997,
0.0006328555,
-0.00020405452,
-0.020278541,
-0.013976302,
-0.022560386,
0.01886597,
-0.013534874,
0.03485247,
0.023782803,
0.04014961,
0.068346694,
-0.023008605,
-0.07166081,
-0.010370172,
-0.06155549,
-0.06649949,
-0.0044380534,
-0.03379304,
-0.015565444,
-0.027300648,
-0.050743893,
-0.014519598,
0.02258755,
-0.00075891725,
0.02060452,
-0.042947587,
0.037813436,
-0.009928743,
-0.010017029,
-0.013059489,
0.025154628,
-0.0008743678,
0.008346392,
0.018227598,
0.009426194,
-0.039497655,
-0.0116605,
-0.0072462168,
-0.00073514803,
0.025412694,
-0.024910145,
-0.072149776,
0.012020434,
-0.026322715,
0.027504385,
0.0267981,
0.059653953,
-0.01137527,
0.041996818,
0.010614655,
-0.022628298,
0.026825264,
0.026526451,
-0.034282006,
0.02753155,
0.01976241,
0.04183383,
-0.031076558,
0.025439858,
0.01801028,
-0.007612942,
-0.019830322,
-0.05291708,
-0.010899886,
0.010220765,
0.014017049,
-0.06454362,
-0.006356569,
0.07546388,
-0.040665742,
-0.051450178,
0.0050934046,
-0.018553576,
-0.045881387,
-0.008944019,
0.0023684332,
0.025208957,
0.03727014,
0.023171594,
-0.053569034,
0.007925337,
0.029365174,
-0.0024329496,
0.014478851,
-0.02376922,
0.055280417,
0.059762612,
0.02201709,
0.02787111,
0.0011536562,
-0.028142758,
-0.017494148,
0.007456744,
0.036210712,
0.026227638,
0.04859787,
-0.037677612,
-0.013582412,
0.011517885,
-0.040122446,
0.04172517,
0.0359119,
-0.0035551963,
0.03553159,
0.028631724,
0.013725027,
-0.03401036,
-0.034282006,
0.000001784018,
0.03816658,
0.033358403,
0.039144512,
-0.063728675,
0.035205614,
-0.0056231185,
-0.022329485,
0.03669968,
0.0012750489,
-0.03357572,
0.0124958195,
0.024013704,
0.00627847,
-0.06997659,
-0.0026961088,
0.02427177,
-0.03553159,
0.012774259,
0.045365255,
0.0033395756,
-0.008339601,
-0.008719909,
0.0050153057,
0.01576918,
0.0020832024,
-0.02094408,
-0.02516821,
0.0019864277,
-0.044360157,
-0.045147937,
0.034200512,
0.040638577,
0.03001713,
-0.01684219,
0.034091853,
-0.0069168434,
-0.012848962,
0.022777705,
-0.020672431,
-0.015497532,
-0.03900869,
0.028414406,
-0.007049272,
0.0021748838,
-0.03900869,
0.0043293936,
-0.0071103927,
0.0052122506,
-0.016665619,
-0.0084007215,
-0.0027436472,
-0.0013200407,
-0.0063701514,
0.01464184,
0.008353183,
0.009650304,
-0.06557588,
0.0008752167,
0.0056808437,
-0.04319207,
0.0054159868,
-0.021949178,
0.031076558,
0.0018319278,
-0.005456734,
-0.031972997,
0.0009134172,
0.0092020845,
-0.045990046,
-0.0007941467,
0.037242975,
-0.018254763,
0.012801424,
-0.06698845,
0.018268345,
-0.02708333,
-0.018051026,
0.019748827,
-0.016312476,
-0.008536546,
-0.029609658,
0.032978095,
0.021392299,
0.0006354022,
-0.009691051,
-0.024203857,
0.024842232,
-0.034282006,
-0.010954215,
0.0010916864,
0.030478932,
-0.009134172,
0.038492557,
0.029147856,
-0.026961088,
0.0062852614,
0.026567198,
-0.0432464,
-0.028468736,
0.00012797178,
0.03430917,
-0.006468624,
0.035450097,
-0.019056125,
0.018037444,
-0.0061120857,
0.024244605,
-0.015144389,
0.019613003,
-0.025412694,
-0.017765796,
-0.025915243,
0.011049292,
0.013365094,
-0.046098705,
0.002916823,
-0.03669968,
0.0047368663,
-0.036129218,
-0.061990127,
-0.010539952,
0.015619773,
-0.00011078155,
0.031239547,
0.022682628,
0.009405821,
0.03501546,
-0.018988213,
0.013086654,
-0.045636903,
-0.021433046,
0.013813313,
0.040557083,
0.029528163,
0.037867766,
-0.021691112,
-0.0024855814,
-0.0069066565,
0.0002822595,
0.042811763,
0.00017540411,
-0.0035619875,
-0.001710535,
0.009100216,
0.00574536,
0.031674184,
0.018023862,
0.015646938,
-0.0011018732,
-0.06546722,
-0.0018081586,
-0.047565605,
-0.015565444,
0.028305747,
-0.013405841,
-0.078397684,
-0.0071036015,
0.029799812,
-0.0034244657,
0.059436634,
0.057752416,
-0.035151284,
-0.003952482,
-0.03463515,
0.044631805,
-0.023443243,
-0.009134172,
-0.07046556,
-0.026485704,
0.037351634,
0.025779419,
0.016855773,
-0.008040788,
-0.023402495,
-0.039660644,
-0.020523025,
-0.028169923,
-0.03080491,
0.002779301,
-0.001393895,
-0.023225924,
0.008713118,
-0.006577283,
-0.024231022,
-0.033439897,
0.0019032354,
0.039226007,
0.012740303,
-0.060686216,
-0.04229563,
0.013589203,
0.010954215,
0.025290452,
-0.02348399,
-0.014275115,
0.059001997,
-0.038302403,
0.048842356,
-0.054302484,
-0.033385567,
-0.036835503,
0.016366806,
0.044007014,
-0.0076740626,
-0.017086674,
-0.04009528,
0.024665661,
0.029609658,
0.008706327,
-0.03974214,
-0.0052462067,
-0.029256515,
-0.042214137,
0.03789493,
-0.01582351,
0.010879512,
-0.027558714,
0.027979769,
0.031810008,
-0.0055280416,
0.07926696,
0.03816658,
-0.015701268,
-0.002916823,
-0.039796468,
0.04639752,
0.009263205,
0.011225863,
0.012848962,
-0.015592609,
-0.01007815,
-0.02387788,
-0.024923727,
-0.035368603,
-0.032543458,
-0.0028200482,
0.027599461,
-0.022954276,
0.057806745,
-0.023905044,
0.001120549,
-0.041860994,
0.009399029,
0.017385487,
0.051667497,
0.013555247,
-0.0011672386,
-0.017548477,
0.0201563,
-0.008088326,
-0.0097997105,
-0.015837092,
0.078289025,
-0.035341438,
-0.027558714,
0.0108319735,
0.029039197,
0.0081019085,
-0.019613003,
-0.0032360097,
-0.0022258179,
-0.010628237,
0.0036366908,
-0.025643595,
0.037188645,
-0.012774259,
0.020930497,
0.01729041,
-0.04042126,
0.0012283594,
0.007185096,
-0.019450014,
-0.029147856,
0.025602847,
0.06736876,
-0.037188645,
-0.01605441,
-0.029799812,
0.011300567,
-0.01430228,
-0.00071689667,
0.04150785,
-0.024203857,
-0.016597707,
-0.019640168,
-0.0077283923,
0.058024064,
-0.026227638,
-0.0014609582,
0.0013522989,
-0.05280842,
-0.09078484,
0.014071379,
0.028876208,
-0.0033175042,
0.022139331,
-0.03210882,
-0.027409308,
0.01616307,
0.061827138,
-0.026037484,
-0.07198679,
0.01356883,
-0.03373871,
-0.011952522,
-0.033657216,
0.029256515,
0.0070968103,
0.03474381,
-0.009147755,
-0.01221738,
0.020645266,
0.026485704,
-0.04596288,
0.01210872,
-0.05191198,
0.028523065,
-0.033602886,
0.003404092,
0.03373871,
-0.007646898,
0.019721663,
0.016910102,
0.010961006,
0.047185298,
-0.0066010524,
-0.02235665,
-0.027001835,
0.012991577,
-0.024760738,
-0.01368428,
-0.027979769,
0.018947465,
-0.03137537,
0.008156238,
0.0041494267,
-0.053922176,
-0.05128719,
0.0014286999,
-0.017860873,
-0.002590845,
-0.031918667,
0.024394013,
-0.0030152954,
-0.022098584,
-0.013697863,
0.017602807,
-0.04465897,
-0.033276908,
-0.021989925,
-0.039932292,
0.0046825367,
0.03273361,
0.014872741,
0.06410898,
-0.015850674,
0.009073052,
-0.00436335,
0.045745563,
0.022791287,
-0.0036502732,
-0.013691071,
-0.0016978015,
-0.00077037746,
0.012088346,
-0.007191887,
0.020061223,
-0.029310845,
0.03216315,
0.015565444,
-0.0041664047,
-0.013697863,
0.036889832,
-0.0104312925,
-0.00103481,
0.041752335,
-0.0144924335,
-0.01396272,
0.014057796,
-0.015809927,
0.004526339,
-0.03512412,
-0.047212463,
0.013534874,
0.013650324,
0.000077886645,
-0.018078191,
-0.053188726,
-0.02634988,
0.019001795,
0.039117347,
0.01424795,
0.02618689,
-0.022886364,
0.017874455,
0.024081616,
-0.07111751,
-0.027096912,
0.03479814,
-0.026091814,
-0.06492393,
-0.0003665129,
0.018730147,
0.013616368,
-0.024068033,
-0.036047723,
0.020319289,
0.020414365,
0.036944162,
-0.05484578,
0.044468816,
-0.031049393,
0.03164702,
0.0018607904,
-0.048570704,
0.022845617,
0.057969734,
0.013555247,
-0.017589225,
0.020713178,
0.009100216,
0.0037691193,
0.0007156233,
-0.008842151,
0.014682587,
0.029636823,
0.0071986783,
0.019463597,
-0.021636782,
0.05123286,
0.046153035,
0.031076558,
-0.009887996,
0.010288677,
0.05574222,
-0.034444995,
-0.023239506,
0.04566407,
0.007219052,
0.008536546,
0.022709792,
-0.011782742,
0.0033158064,
-0.0069677774,
0.011979687,
0.036944162,
0.0064108986,
-0.0014040818,
-0.0378406,
-0.025738671,
0.009983073,
0.034282006,
-0.0569918,
-0.020427948,
0.044849124,
0.016067993,
0.060523227,
-0.015198719,
-0.014166456,
0.05128719,
0.018933883,
-0.0043769325,
0.006210558,
-0.0007992401,
0.025045969,
-0.015022147,
0.012679182,
-0.0050153057,
0.017317574,
-0.030832075,
-0.05473712,
-0.034825306,
0.009351491,
-0.015117224,
-0.018377004,
0.009188502,
-0.032815106,
-0.027517967,
-0.06481527,
-0.0051375474,
-0.01750773,
-0.005772525,
0.026675858,
-0.045718398,
-0.03012579,
-0.00065832253,
-0.010825182,
0.019382102,
0.02471999,
0.06736876,
0.042540114,
0.08508023,
0.0506624,
0.03164702,
0.049059674,
-0.0026315923,
-0.013500918,
-0.006176602,
-0.00032215784,
-0.019721663,
0.00034189477,
-0.04449598,
-0.07138916,
0.0034567239,
-0.015796345,
-0.017263245,
-0.025249705,
0.024502672,
-0.017466983,
-0.02078109,
-0.006492393,
0.096000485,
0.018159686,
-0.0054431516,
0.014465269,
0.05873035,
-0.055226088,
-0.01981674,
-0.06334837,
0.056285515,
-0.047973078,
-0.040692907,
-0.002285241,
-0.04020394,
-0.007225843,
0.00610869,
-0.017154586,
-0.016910102,
0.057589427,
0.03447216,
0.0550631,
-0.007314129,
0.002609521,
-0.029120691,
0.044903453,
0.013657115,
-0.027001835,
0.07448595,
0.05856736,
-0.01739907,
-0.012597688,
-0.028387241,
0.045582574,
-0.009011931,
-0.03585757,
-0.016869355,
0.019830322,
-0.04194249,
-0.052047804,
0.01795595,
0.050689563,
0.006560305,
0.016489048,
-0.051939145,
0.007619733,
-0.07693078,
-0.026200473,
-0.023633396,
0.05568789,
-0.045990046,
-0.049222663,
-0.0057691294,
-0.05411233,
0.21308088,
0.057480767,
0.024190275,
0.024298934,
0.0672601,
0.04742978,
0.041127544,
0.003813262,
0.04262161,
0.024584167,
0.005541624,
-0.030886404,
0.02567076,
-0.00827848,
0.0041935695,
0.05332455,
-0.045039278,
0.036102053,
-0.028849043,
-0.03857405,
-0.039443325,
-0.0042614816,
0.014057796,
0.05688314,
0.00856371,
-0.019721663,
-0.028006934,
-0.05731778,
0.038492557,
-0.0378406,
-0.025915243,
-0.0149814,
-0.0051001958,
0.00557558,
0.030995063,
0.028169923,
-0.017195333,
-0.07046556,
-0.0064448547,
0.03659102,
-0.014275115,
-0.059056327,
0.02337533,
-0.00990837,
-0.016760696,
0.03248913,
-0.062044457,
-0.009229249,
0.026377045,
-0.061881468,
0.025602847,
-0.06758608,
0.029663987,
-0.027504385,
0.024747156,
-0.01532096,
-0.056122527,
-0.0417795,
0.014967818,
0.02393221,
0.052509606,
0.042132642,
-0.009385447,
0.029012032,
0.015538279,
0.016570542,
0.000756795,
0.004213943,
0.026893176,
0.0065467227,
0.047945913,
0.0080679525,
-0.029066361,
-0.017331157,
0.03463515,
0.035422932,
0.00215451,
0.06307672,
0.020523025,
-0.0045127566,
0.011069666,
-0.03200016,
-0.013989884,
-0.029799812,
0.006492393,
0.06438063,
-0.026227638,
0.0064041074,
-0.00071265217,
0.035993394,
0.018784476,
-0.005524646,
0.061012194,
-0.0058879755,
0.0061290637
] | Same as BERT but smaller. Trained by distillation of the pretrained BERT model, meaning it’s been trained to predict the same probabilities as the larger model. The actual objective is a combination of:
finding the same probabilities as the teacher model
predicting the masked tokens correctly (but no next-sentence objective)
a cosine similarity between the hidden states of the student and the teacher model |
[
0.024417073,
-0.02301146,
-0.009832038,
0.003749506,
0.0018656963,
-0.011324595,
0.055007245,
-0.008042418,
0.004379858,
0.067295484,
-0.006111514,
-0.0024163483,
0.037994996,
-0.046051905,
0.014483599,
-0.0068251877,
0.016084837,
-0.029996049,
-0.035937294,
0.0016265973,
0.0036951653,
0.03660387,
-0.039907787,
-0.036343038,
0.008477144,
0.011614412,
0.04599394,
-0.012389672,
0.07361349,
0.039357133,
-0.04376235,
-0.006049928,
0.013976419,
-0.022678172,
-0.010629035,
-0.01467198,
-0.008607562,
-0.037589252,
-0.043182716,
-0.06845475,
-0.014983533,
-0.052196022,
0.050225265,
-0.02828613,
-0.03674878,
0.020852325,
-0.008426426,
0.0073323674,
0.009078514,
-0.066657886,
-0.029604794,
0.027749967,
-0.02027269,
0.055992622,
0.010607298,
-0.010875379,
-0.028938217,
0.00057238835,
-0.0053616124,
0.042487156,
0.025808195,
0.021373997,
-0.018475827,
-0.02589514,
-0.0019109801,
0.03793703,
-0.04582005,
-0.016258728,
-0.021011725,
-0.035792384,
-0.007962719,
0.005973851,
0.004416085,
-0.061557107,
0.015171914,
0.0015324068,
-0.0069556055,
0.00394151,
-0.0052130814,
0.046544593,
0.028546963,
0.06549862,
0.02608352,
-0.0004471784,
-0.02163483,
-0.019982874,
0.025967594,
-0.021707285,
-0.0030992294,
-0.0583981,
0.014143065,
0.028952707,
-0.03274931,
0.008064155,
0.025692267,
0.028923726,
-0.014642999,
0.062310632,
-0.022026084,
0.014382163,
0.03361876,
0.02985114,
0.017765775,
-0.0046189567,
-0.060108025,
-0.02506916,
0.03382163,
0.021910157,
0.044544857,
-0.044921618,
0.0048508104,
-0.032691345,
-0.0032894218,
-0.017548412,
-0.015027006,
0.02504018,
0.007513503,
0.0045682387,
-0.056543276,
-0.0035013503,
0.018649716,
-0.00075533526,
-0.00849888,
-0.018301936,
-0.011288368,
0.015360295,
0.017302068,
0.030836517,
-0.033879593,
0.013070742,
-0.017417995,
-0.019982874,
0.057441708,
0.030981425,
0.020504545,
0.003876301,
0.0066295615,
0.0070389276,
0.02348966,
-0.04544329,
0.011433276,
-0.00287281,
0.025489395,
0.060861547,
-0.008093136,
-0.011875247,
-0.016707944,
0.0045356345,
-0.06746937,
0.016635489,
-0.003977737,
0.05561586,
0.011940456,
0.024402583,
-0.030604664,
-0.0029579436,
0.025982084,
0.037647214,
-0.001632937,
0.011121723,
-0.043994203,
0.047124226,
-0.0071258727,
0.05338427,
-0.008477144,
0.006499144,
0.006028191,
-0.010469635,
0.04205243,
-0.040081676,
-0.044573836,
0.005028323,
-0.0052022133,
0.02383744,
0.010346463,
0.034227375,
0.038052958,
-0.012686734,
0.04428402,
0.029054143,
0.027315242,
0.028604927,
0.03773416,
0.044370964,
-0.034980897,
0.0017932421,
0.033502832,
-0.028300619,
-0.030054012,
-0.0026373337,
-0.0346621,
0.009643657,
-0.015519694,
0.005053682,
0.035618495,
0.009201686,
-0.028387565,
0.032140695,
0.025663286,
-0.054659467,
-0.056543276,
0.049181927,
-0.0095349755,
0.017867211,
-0.007310631,
-0.045791067,
0.027170334,
0.0077960743,
-0.004666052,
-0.011802793,
0.024808325,
0.010889869,
-0.035096824,
0.0051152683,
0.033502832,
-0.026199447,
-0.017910684,
0.02967725,
-0.040371493,
-0.0048073377,
-0.018939534,
0.05865894,
0.031821895,
0.06445528,
-0.052282967,
-0.011078251,
0.022678172,
0.053500198,
-0.038487684,
-0.009078514,
0.015215387,
0.048341457,
0.050717957,
0.029619286,
0.050717957,
0.041298907,
0.0056224475,
0.035560533,
0.047500987,
0.008281518,
-0.014490845,
0.024895271,
0.024735872,
0.022895534,
-0.0024471413,
-0.063875645,
0.012643262,
0.043356605,
0.04341457,
0.034864973,
-0.07436702,
0.07372942,
0.027025426,
0.01244039,
-0.02163483,
0.008940851,
-0.003159004,
0.032575417,
-0.014838625,
0.004742129,
0.010926097,
0.004158872,
0.029561322,
0.0007381274,
0.0428929,
0.0077960743,
0.00040325304,
0.02196812,
0.0066802795,
-0.08149651,
0.023417205,
-0.022547754,
-0.06723752,
-0.0015142933,
-0.025750231,
0.029039653,
0.013433013,
-0.09366882,
-0.004350876,
-0.04544329,
0.004441444,
0.004227704,
-0.021055197,
0.0017108254,
0.03637202,
0.01992491,
-0.022707153,
-0.009832038,
-0.0045682387,
0.04376235,
0.013128705,
0.022692662,
0.008629298,
-0.008455408,
0.011788302,
0.022808589,
-0.02660519,
-0.022069557,
-0.018997498,
-0.035125807,
-0.055384006,
-0.016157292,
0.015389277,
0.026054539,
-0.033386905,
0.012418654,
-0.01649058,
-0.017099196,
0.025243051,
0.030285865,
-0.023750493,
0.009397313,
0.0038074693,
0.00046076358,
-0.027692003,
0.021185614,
0.043530498,
0.036835726,
-0.06816493,
-0.00029072256,
-0.034256358,
-0.040255565,
0.011223159,
-0.045849033,
-0.05477539,
0.06051377,
0.0043581217,
-0.07743907,
0.03361876,
-0.033270977,
-0.031358186,
-0.0016057667,
0.00283296,
0.02434462,
-0.006517257,
0.04497958,
-0.036111183,
-0.046080884,
-0.00407555,
-0.0070497957,
0.03124226,
0.008397444,
0.030981425,
0.032575417,
0.006252799,
-0.028720854,
-0.009013305,
-0.015650112,
0.02127256,
0.0021790608,
-0.0039197733,
-0.02077987,
0.02761955,
0.018099064,
0.024953235,
0.06178896,
-0.07291793,
-0.0024091029,
0.028170202,
0.009672639,
0.0072417995,
0.05352918,
0.017113687,
-0.041269924,
0.017896192,
-0.027474642,
0.046486627,
0.0037313926,
0.056920037,
-0.071932554,
0.05732578,
-0.032517456,
-0.00015758793,
-0.014940061,
-0.0054775393,
-0.05115268,
0.026445791,
-0.029459886,
0.063411936,
-0.013317086,
-0.016896324,
0.017142668,
0.009440785,
0.01201291,
0.01869319,
0.025243051,
-0.053616125,
-0.029488869,
-0.05083388,
-0.031561058,
0.01346924,
-0.019837966,
-0.02005533,
-0.025474904,
-0.02112765,
-0.045935977,
0.018128047,
-0.0064882757,
0.06810697,
0.01731656,
0.06793308,
0.038371757,
0.006883151,
-0.00386181,
0.004137136,
-0.031619024,
-0.043298643,
0.022967989,
0.03211171,
-0.040081676,
-0.015896456,
-0.0028184692,
-0.02812673,
0.013114214,
-0.038690556,
-0.005542748,
-0.083988935,
-0.018620735,
-0.009375576,
0.04155974,
-0.064049534,
-0.024518508,
-0.042603083,
-0.013505467,
0.0329232,
-0.03483599,
0.0032568173,
-0.015519694,
0.00059321895,
-0.021649322,
-0.01956264,
-0.04011066,
0.010991305,
-0.033415888,
-0.039183244,
-0.00212472,
0.023185352,
0.001110361,
-0.009846529,
-0.049297854,
0.04150178,
-0.010469635,
-0.008426426,
0.009295877,
0.00058733206,
-0.0049341326,
-0.020823343,
0.045617178,
0.0005995587,
-0.023315769,
-0.00077480735,
0.03437228,
-0.01527335,
-0.024576472,
0.0057854694,
0.0149690425,
0.029590305,
0.015345804,
0.04697932,
0.013222896,
0.03361876,
0.082307994,
0.019968383,
-0.015461731,
-0.024330128,
0.038516663,
0.014063365,
0.019808985,
0.027749967,
0.03141615,
-0.0052493084,
0.01766434,
0.041298907,
-0.025185088,
-0.029039653,
-0.0003677052,
-0.0071584773,
-0.01193321,
-0.004604466,
0.00832499,
-0.0009853775,
0.06607825,
-0.039212227,
-0.028938217,
-0.017403504,
0.006031814,
-0.008252536,
-0.014367673,
0.023576604,
0.015345804,
-0.019069951,
-0.003984982,
-0.012636016,
-0.05065999,
-0.036632854,
-0.046921354,
-0.029401923,
0.026619682,
0.022330392,
0.009817547,
0.051558424,
-0.008426426,
0.009890001,
-0.008629298,
0.024953235,
0.023967857,
-0.051964168,
0.034575153,
0.012730207,
0.013353313,
-0.003097418,
0.006220195,
-0.015519694,
-0.01767883,
0.013795284,
0.0011683244,
0.0013874983,
-0.007861283,
-0.036632854,
0.033531815,
-0.0346621,
-0.050225265,
-0.02490976,
-0.0074410485,
-0.02796733,
0.025170596,
0.03379265,
0.02317086,
-0.03376367,
-0.036516927,
0.004662429,
-0.055065207,
-0.059992097,
-0.050862864,
-0.003066625,
0.008564089,
0.042632066,
-0.0049087736,
-0.02676459,
0.01834541,
-0.029590305,
0.0264313,
-0.005658675,
-0.04602292,
-0.02885127,
0.009875511,
-0.034111448,
0.019837966,
0.007198327,
-0.001411046,
-0.020519035,
0.028807798,
0.010150837,
0.0012090799,
-0.04054538,
-0.010360953,
-0.002088493,
0.0068505467,
0.02077987,
0.017461468,
-0.037966013,
0.065904364,
-0.044197075,
0.018896062,
-0.021997102,
-0.039704915,
-0.031039389,
-0.010578317,
0.006162232,
0.0151429325,
0.0059267553,
0.016171783,
0.00884666,
-0.0047059017,
0.048080623,
0.002251515,
-0.05045712,
-0.045675144,
0.007955474,
0.012382426,
0.011882492,
-0.0011013042,
-0.011049269,
-0.039038334,
0.051732317,
-0.03379265,
0.006154986,
0.031155316,
-0.006270913,
0.010976815,
-0.07251219,
0.044370964,
0.006542616,
0.024851799,
-0.035589512,
-0.02301146,
-0.048080623,
0.00003622711,
0.008100382,
-0.023083916,
-0.068686604,
0.057673562,
0.07071532,
-0.046254776,
0.03793703,
-0.0008689978,
-0.050312214,
-0.010889869,
0.030923462,
-0.007904756,
0.006129627,
0.0020667566,
0.022953497,
0.017722303,
0.023924384,
0.0057238834,
0.016012384,
0.012317218,
0.07419312,
-0.0046117115,
-0.032807272,
-0.0038328283,
-0.005915887,
-0.05094981,
-0.033386905,
-0.0048870374,
-0.013701093,
-0.017765775,
-0.0036498813,
0.01627322,
-0.003265874,
-0.029764194,
0.009658148,
0.003749506,
-0.04697932,
0.013063496,
-0.033357926,
0.016374655,
-0.012817152,
0.03660387,
0.048776183,
-0.008571334,
-0.040951125,
-0.014896588,
0.0055970885,
-0.03605322,
0.025938611,
0.07216441,
-0.030169938,
0.025822684,
0.07135292,
-0.0035901067,
0.06196285,
-0.0004763865,
-0.01680938,
0.008665525,
-0.02248979,
-0.033734687,
-0.0073070084,
0.015403768,
0.026300883,
0.019533658,
-0.05164537,
0.0030847385,
-0.009216177,
0.0011936834,
-0.028025294,
-0.019475695,
0.053268343,
-0.033242,
-0.009556712,
0.022591226,
0.009846529,
0.025605323,
-0.027141351,
-0.041443814,
-0.068396784,
-0.04474773,
0.02005533,
0.015780529,
0.011273877,
-0.03361876,
0.002282308,
-0.06439731,
-0.038487684,
0.031850874,
-0.012636016,
0.05987617,
-0.015896456,
-0.019881438,
-0.0053978395,
0.009397313,
0.0161428,
0.0016211632,
0.02027269,
-0.038661573,
-0.0265907,
-0.007035305,
0.0008794131,
0.018417863,
-0.007984456,
0.0044088396,
-0.022417337,
0.0093610855,
-0.0021029839,
-0.052080095,
-0.03344487,
0.013585167,
0.0470083,
-0.0053869714,
-0.019359767,
-0.038168885,
-0.010621789,
-0.018388882,
-0.014722698,
-0.028720854,
-0.045037545,
0.00039147923,
0.061730996,
0.003724147,
0.014614017,
0.023402713,
-0.004579107,
0.01563562,
0.003030398,
0.018272955,
-0.014998024,
0.006683902,
0.01769332,
0.0243736,
-0.006336122,
0.002746015,
0.02024371,
-0.047964696,
0.024938744,
0.026387827,
-0.013418522,
-0.0071367407,
0.011563694,
0.0046551838,
0.05115268,
0.028575946,
-0.016084837,
0.010650771,
-0.012230272,
-0.010542089,
0.004752997,
-0.04480569,
-0.06787512,
0.03500988,
-0.011143459,
-0.0154182585,
-0.06828086,
0.01253458,
0.035502568,
-0.020837834,
0.015751548,
0.010701489,
-0.010701489,
-0.028706362,
0.03173495,
-0.026141483,
0.00022755154,
-0.04034251,
0.010158082,
-0.008122118,
-0.06480306,
0.021707285,
0.045704123,
0.016577527,
0.024446055,
0.027373206,
-0.0052094585,
-0.02850349,
0.012744698,
-0.027474642,
0.019852458,
-0.06306416,
-0.016244236,
0.04271901,
0.016389145,
-0.0387775,
0.048399422,
-0.02091029,
0.013809775,
0.007499012,
0.052949544,
0.008940851,
-0.011723093,
0.053616125,
0.0068143196,
0.031937823,
0.00055699184,
-0.009368331,
0.030343829,
0.037589252,
0.016751416,
0.009832038,
0.035096824,
0.037270453,
-0.017519431,
-0.011244895,
-0.020113291,
0.020576999,
-0.023663549,
0.006622316,
-0.0050971545,
0.01957713,
0.01304176,
0.028967198,
0.006923001,
0.05161639,
0.0070715323,
-0.018925043,
-0.010889869,
-0.0025195957,
0.059470426,
-0.023185352,
-0.03190884,
0.017562903,
-0.009803057,
0.015490713,
0.009991437,
0.032952182,
0.081960216,
0.04596496,
0.017215123,
0.034980897,
0.039907787,
-0.006198459,
-0.0034307074,
-0.03842972,
0.0067527336,
-0.0076294295,
-0.017229615,
-0.010520353,
0.032053746,
0.00943354,
0.043820314,
-0.005981096,
-0.047790807,
0.027170334,
-0.050804902,
-0.035792384,
-0.033415888,
0.012578053,
-0.0008069589,
-0.050196286,
0.028431037,
-0.003026775,
-0.027663022,
0.022417337,
-0.033155054,
0.01956264,
0.028242655,
0.0009409992,
0.016852852,
0.0006348801,
0.0064882757,
0.028300619,
0.017823739,
-0.017273087,
-0.00910025,
0.003265874,
0.0072417995,
-0.008477144,
0.0055355025,
-0.026866026,
-0.035241734,
0.008962587,
0.015910948,
-0.00935384,
-0.05083388,
-0.0068143196,
-0.0077815834,
-0.057354763,
-0.018388882,
0.07112107,
-0.02850349,
-0.0128751155,
0.0065281256,
0.011194177,
-0.013114214,
-0.037994996,
-0.021475432,
0.041530762,
0.0105565805,
-0.03211171,
0.0013630451,
-0.07361349,
0.021011725,
0.0047819787,
-0.019533658,
0.0071294955,
0.027445659,
-0.00549203,
-0.0076946383,
-0.025474904,
-0.077033326,
0.003952378,
0.011781056,
0.073033854,
0.009288631,
0.09761033,
0.02125807,
-0.02538796,
-0.0035991636,
0.004238572,
0.032894216,
-0.0422553,
-0.0093103675,
-0.024243183,
-0.012686734,
-0.015968911,
-0.048254512,
-0.010114609,
0.04582005,
0.014476353,
-0.019808985,
-0.026329864,
-0.002155513,
-0.054108813,
-0.0073396126,
-0.049674615,
-0.023054933,
0.011694112,
-0.0032894218,
0.013911211,
-0.05923857,
0.25109735,
0.027822422,
0.024069292,
0.020736398,
0.0066875247,
0.028199183,
-0.0023783098,
0.032488473,
0.020287182,
-0.047472008,
-0.005778224,
-0.016780399,
0.03138717,
0.040748253,
-0.00432914,
0.01612831,
-0.065904364,
0.015186405,
0.008382954,
-0.012505598,
-0.012657752,
-0.038864445,
0.0012661376,
0.005691279,
-0.009375576,
0.0026300882,
0.0009536787,
0.0033147808,
0.02198261,
-0.020374127,
0.055355027,
0.004180609,
0.037357397,
-0.011223159,
-0.015824001,
0.015055987,
-0.025141615,
-0.041965485,
0.012389672,
0.012041892,
-0.0022605718,
-0.008680016,
0.03176393,
-0.016157292,
0.016606508,
0.039878804,
-0.023272296,
-0.03173495,
-0.024996707,
-0.020692926,
0.037125543,
-0.05010934,
-0.0006810697,
-0.055528916,
-0.022779608,
-0.038371757,
-0.009498749,
-0.07141088,
0.02198261,
-0.022373864,
0.025214069,
0.043153733,
-0.030749572,
-0.018577263,
-0.059528388,
0.02761955,
0.039588988,
0.017374523,
-0.010860888,
-0.028416546,
-0.023721512,
-0.008339481,
-0.0070461733,
-0.04118298,
0.058224212,
-0.015751548,
-0.0069954554,
-0.010585562,
-0.0034252733,
-0.037850086,
-0.005644184,
-0.03915426,
-0.0109550785,
-0.055905677,
0.03277829,
0.04645765,
-0.03445923,
-0.0048073377,
-0.007651166,
0.024228692,
-0.0033962918,
0.02554736,
-0.01992491,
0.0027097878,
0.0067817154
] | Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with DistilBERT. If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource. |
[
0.028182987,
-0.0028154547,
-0.019551769,
-0.00050256937,
-0.017603703,
-0.014063055,
0.02063245,
-0.009761665,
0.015186393,
0.06336195,
-0.031197514,
-0.006576504,
0.031481903,
-0.022665832,
0.014916223,
-0.023646977,
-0.009221326,
-0.045872007,
-0.06449951,
-0.011055637,
0.0030074175,
0.027855938,
-0.060119912,
-0.04493352,
-0.013885311,
0.021158569,
0.01872704,
-0.009505714,
0.06523892,
0.0379091,
-0.011738171,
-0.01659412,
0.027770622,
-0.044535376,
-0.01311035,
-0.015314368,
-0.011873256,
0.002152472,
-0.066433355,
-0.03378546,
0.0014441648,
-0.01874126,
0.047265515,
-0.03182317,
-0.054090858,
-0.0030554084,
-0.028638009,
-0.023703855,
-0.01633817,
-0.033046044,
0.0018591955,
0.031880047,
0.030543419,
0.007095515,
-0.028296743,
-0.036828425,
-0.034325797,
-0.0022804472,
-0.04843151,
0.029348982,
0.026633065,
0.04834619,
-0.033614825,
-0.03694218,
-0.005424727,
0.017575264,
-0.033330433,
-0.016949607,
-0.047293954,
-0.036629353,
-0.036259644,
0.025367532,
-0.0060610482,
-0.034894574,
-0.029093033,
0.004258731,
0.014141262,
0.010621943,
-0.021969078,
0.047692098,
0.00035504234,
0.0016219082,
-0.015499221,
0.016167536,
-0.016679436,
-0.054773394,
0.051502913,
-0.034923013,
-0.021073252,
-0.02597897,
-0.00041591947,
0.016650997,
-0.002099149,
-0.006046829,
0.012491803,
0.007941573,
0.019423794,
0.061143715,
-0.0019427349,
0.014774028,
0.017717458,
0.031709414,
0.01686429,
0.023490561,
-0.039786074,
-0.015868926,
0.029633373,
-0.0033789012,
-0.00214003,
-0.020490253,
-0.018229358,
0.0038463662,
0.02327727,
0.01310324,
-0.020518692,
0.027358258,
0.0077709397,
0.0176748,
-0.010003396,
0.0023231057,
-0.014013287,
-0.02356166,
0.01498732,
-0.047521465,
-0.0012308727,
-0.054489,
0.016949607,
0.03614589,
-0.07371373,
-0.0028989941,
0.025467068,
0.017703239,
0.010799686,
0.047265515,
0.03742564,
-0.038364127,
0.017987628,
0.03372858,
-0.008368157,
-0.0154423425,
0.0027923482,
-0.029206788,
0.005008808,
0.10402963,
-0.017859653,
-0.019096747,
-0.0018840795,
-0.028552692,
-0.04715176,
0.028765986,
-0.038449444,
0.042345576,
0.017347751,
0.0056522386,
-0.01950911,
-0.04044017,
0.027685305,
0.024329511,
0.015584538,
0.0025275105,
-0.04044017,
0.03992827,
-0.03665779,
0.035918377,
-0.0044258097,
0.030714052,
-0.027287161,
-0.049085606,
0.016707875,
-0.056621924,
-0.005726891,
-0.0017329977,
0.030059956,
0.03901822,
0.04285748,
0.028040793,
0.041606165,
0.0019285154,
0.03606057,
-0.016764753,
-0.00589397,
-0.035491794,
0.039245732,
0.010899222,
-0.04971126,
0.002246676,
0.01579783,
-0.03745408,
-0.025026266,
0.013316533,
-0.010515297,
0.039387926,
-0.034126725,
0.0028438936,
-0.0020173872,
0.008417926,
-0.044762887,
-0.0002992754,
0.016764753,
-0.0712111,
-0.057873238,
0.06387385,
-0.03665779,
-0.002045826,
0.013167228,
-0.015612977,
0.027486233,
0.028083451,
-0.021869542,
0.031026881,
0.004326273,
0.0022644503,
-0.0031193958,
-0.018499529,
0.04681049,
-0.02838206,
-0.034667064,
0.023348367,
-0.010408651,
0.0066156075,
-0.004770632,
0.02644821,
0.05588251,
-0.009811433,
-0.0014646052,
-0.02219659,
0.010501077,
0.0438244,
-0.00036704002,
0.009676348,
0.025623482,
0.024286853,
0.00991097,
0.06899286,
0.031112198,
0.022864906,
0.055512805,
0.020120548,
0.031709414,
0.009285313,
-0.00097136747,
0.021073252,
0.03691374,
0.06512517,
0.00039770076,
-0.03378546,
-0.0077353907,
-0.0027905707,
0.0010469083,
0.041606165,
-0.088046946,
0.052242327,
-0.008588559,
-0.0051758867,
-0.023945585,
0.0044293646,
-0.03375702,
0.03159566,
0.01150355,
-0.019964134,
0.015157954,
0.052043255,
-0.016793191,
0.01687851,
0.054744955,
0.023476342,
0.0055775866,
0.019722402,
0.03674311,
-0.04700956,
-0.029320544,
-0.08110785,
-0.08480491,
-0.00990386,
-0.020973716,
0.016267072,
0.00829706,
-0.08366735,
-0.011276038,
-0.011204941,
-0.004603553,
-0.009064911,
-0.00062743406,
0.025310654,
0.04655454,
0.02007789,
-0.011873256,
0.016480364,
-0.024244193,
0.004582224,
0.006501852,
-0.023177734,
0.0037361654,
0.018940331,
0.027443575,
0.025580823,
-0.00748655,
-0.017816994,
-0.04442162,
0.009790104,
-0.018613284,
-0.008375267,
0.01417681,
0.03853476,
-0.040582363,
0.03395609,
0.019096747,
-0.016451925,
0.02381761,
0.062736295,
-0.03967232,
0.051218525,
0.019935695,
0.033927653,
-0.039700758,
0.017475726,
0.017447287,
-0.026661504,
-0.046440784,
-0.047976486,
-0.030941563,
-0.011901695,
-0.001311746,
-0.03500833,
-0.03827881,
0.05195794,
-0.015684074,
-0.07780893,
0.008119317,
-0.048801217,
-0.05005253,
0.022310346,
-0.012477583,
0.036032133,
0.033074483,
0.016821632,
-0.058186065,
-0.017532604,
0.023490561,
0.027073868,
-0.0144683095,
-0.01282596,
0.011958573,
0.072576165,
0.01043709,
-0.00050123624,
0.010501077,
-0.017859653,
-0.006928436,
0.0109561,
0.029263666,
-0.012349608,
0.001785432,
0.0039956705,
0.008147756,
0.031481903,
-0.07297431,
-0.00400278,
0.05104789,
0.005147448,
-0.0047812965,
0.03446799,
0.0077709397,
0.0020067224,
-0.0112475995,
-0.0230071,
0.0406108,
0.022381444,
0.015925804,
-0.036544032,
0.0766145,
-0.017774336,
-0.047265515,
-0.009143118,
0.012897058,
-0.044506937,
0.049853455,
-0.0006536512,
0.05352208,
-0.012001231,
0.01178083,
0.020205865,
0.0062139076,
-0.0006909773,
0.030571857,
0.014390103,
-0.03404141,
-0.034439553,
-0.045985762,
0.0006376543,
-0.0013144121,
0.038165055,
-0.013835543,
0.00030794035,
-0.010621943,
-0.034923013,
0.039729197,
0.024315292,
0.022751149,
0.029064594,
0.055825632,
-0.01602534,
0.011958573,
-0.0035975256,
0.02757155,
-0.022950223,
-0.019153625,
0.024002463,
0.020561352,
0.00015197057,
-0.021044813,
0.0068857777,
-0.033614825,
0.020731986,
-0.055455927,
-0.009150228,
-0.04245933,
-0.003935238,
-0.009029362,
0.04197587,
-0.017006485,
-0.0007700731,
-0.055057783,
0.020362278,
0.032107558,
-0.010209578,
0.012889949,
-0.010245127,
-0.019238941,
0.007301697,
-0.008055329,
-0.00991808,
-0.009861201,
-0.06523892,
-0.05030848,
0.002833229,
0.019992573,
0.0006167694,
0.013032143,
-0.046924245,
-0.0035673091,
-0.015598757,
0.0040276647,
0.0053927335,
0.031709414,
-0.0009069355,
-0.0057233362,
0.025196899,
0.01230695,
-0.0071275085,
0.011652854,
-0.040582363,
-0.0042374018,
-0.060574938,
0.011311587,
0.0012797521,
-0.0017534383,
-0.019978354,
0.00749366,
0.05400554,
-0.016437706,
0.027671086,
0.058925476,
0.0024617454,
-0.06097308,
0.029348982,
0.03290385,
-0.006907107,
0.041350216,
-0.017248215,
0.012050999,
0.0013144121,
0.035264283,
-0.027045429,
-0.028865522,
-0.02009211,
-0.0022040177,
-0.041805238,
-0.0028350065,
0.03879071,
-0.046952683,
0.026647285,
-0.04999565,
-0.029633373,
-0.009313752,
-0.05428993,
-0.015285929,
-0.012847289,
-0.020461814,
0.0015979127,
0.0022057951,
0.0077567203,
-0.01178794,
-0.020390717,
-0.044620693,
-0.028197207,
-0.000085372354,
-0.0047208634,
0.037880663,
0.021258105,
0.043198746,
-0.05352208,
-0.024571242,
0.041008946,
-0.018670162,
-0.00019107411,
-0.0406108,
0.016778972,
-0.0019214057,
-0.020959496,
0.00006693148,
0.01656568,
-0.008766302,
-0.0134942755,
0.020234304,
-0.02192642,
-0.008787632,
-0.009121789,
-0.043909717,
0.06432888,
-0.026277578,
-0.037368763,
-0.022864906,
0.011965683,
0.008702314,
0.0192816,
0.06484078,
-0.041407093,
-0.033472627,
-0.03853476,
0.028950838,
-0.003771714,
-0.006313444,
-0.066717744,
-0.026903234,
0.011155173,
0.030088395,
0.01982194,
-0.04012734,
0.004120091,
-0.061200593,
0.010529516,
-0.032818533,
0.0030038627,
-0.037510958,
0.031197514,
-0.03446799,
0.015982682,
-0.007856256,
0.007678513,
0.01524327,
0.017191337,
0.034581747,
0.034098286,
-0.06154186,
0.000022759481,
0.015115295,
0.01204389,
0.03697062,
-0.003693507,
-0.009228435,
0.026846357,
-0.040582363,
0.030145273,
-0.042914357,
-0.040809873,
-0.035178967,
-0.010238017,
0.033216678,
-0.02327727,
-0.025922092,
-0.04877278,
0.020461814,
0.022665832,
0.043426257,
-0.040838312,
-0.028737545,
-0.051190086,
-0.01874126,
0.0015552543,
-0.024329511,
-0.010614833,
0.012008341,
-0.002939875,
0.057276018,
-0.057503533,
0.042174943,
0.04044017,
0.0020636003,
0.0058726403,
-0.03879071,
0.046639856,
0.008069549,
0.018840795,
-0.038477883,
-0.011823488,
-0.019210503,
-0.026704162,
0.00776383,
-0.029633373,
-0.010003396,
0.019608647,
0.073088065,
-0.07177988,
0.044990398,
0.024286853,
-0.026689943,
-0.02246676,
0.03953012,
0.004095207,
0.0023426574,
0.033870775,
0.01793075,
0.016139098,
0.02110169,
0.002406645,
-0.017575264,
0.00521499,
0.09191465,
-0.02004945,
-0.029889323,
-0.025253776,
0.019622866,
-0.03674311,
-0.04678205,
0.0023515446,
0.017475726,
-0.05082038,
-0.028737545,
0.00776383,
-0.008716534,
-0.06853784,
0.011894586,
0.017774336,
-0.063248195,
0.0032153772,
0.0065125166,
0.0038676953,
-0.041293338,
0.017987628,
0.04521791,
-0.019196283,
-0.0059828414,
-0.027941255,
0.04575825,
-0.016608339,
0.00029105475,
0.03987139,
-0.038022857,
-0.008154865,
0.051446036,
-0.004706644,
0.0781502,
0.009797214,
-0.029604934,
-0.005993506,
-0.014432761,
-0.056906313,
-0.028936619,
0.02653353,
0.02596475,
0.02408778,
-0.0146176135,
0.022836467,
0.0018343114,
0.036515594,
-0.030628735,
-0.041918993,
0.006636937,
-0.03446799,
-0.01895455,
0.014411432,
0.01899721,
-0.02354744,
0.015357026,
-0.04251621,
-0.02597897,
-0.02009211,
0.022097055,
0.00072652596,
0.01632395,
-0.058413576,
0.015684074,
-0.054403685,
-0.017589483,
0.01976506,
-0.015826268,
0.050422236,
0.023120856,
-0.019594427,
-0.012342499,
-0.0040312195,
-0.0027034765,
0.0064449743,
0.028211426,
-0.0060859327,
0.020987935,
-0.031368148,
-0.015115295,
-0.023618538,
0.024443267,
0.0036757325,
-0.038449444,
-0.012676656,
0.006270786,
0.005026582,
-0.015954243,
-0.019793501,
0.0706992,
0.008417926,
-0.0028705553,
-0.027642647,
0.02518268,
-0.03716969,
-0.017902311,
-0.028168768,
-0.018599065,
-0.010095823,
0.046895806,
0.019068308,
0.056877874,
-0.00032749213,
0.03532116,
-0.0017676577,
0.011944354,
-0.015328587,
0.0010095823,
0.027855938,
0.0014734925,
0.021499837,
-0.011020089,
0.029519618,
0.02380339,
-0.025467068,
0.013280984,
0.038364127,
-0.0019853932,
-0.009790104,
0.015044197,
-0.0090506915,
0.031680975,
0.026633065,
-0.014027506,
-0.0036437388,
0.03020215,
-0.023618538,
0.033245116,
-0.042118065,
-0.021528276,
0.028581131,
0.0023604317,
-0.016921168,
-0.036174327,
-0.005410508,
0.009207106,
0.023220392,
0.06256566,
0.0090009235,
0.0104726385,
-0.025282215,
-0.0034784374,
-0.017262435,
-0.025794117,
-0.04063924,
0.026092725,
-0.049938772,
-0.046895806,
0.032790095,
0.09020831,
0.011766611,
0.0061890236,
-0.032505706,
-0.0045573395,
0.013181447,
0.036828425,
-0.051531356,
0.010757028,
-0.056906313,
-0.008773412,
-0.0012228743,
-0.0051510027,
-0.00800556,
0.0593805,
-0.0084250355,
0.022978662,
-0.014077274,
0.03691374,
-0.0034553309,
0.005126118,
0.05778792,
-0.004841729,
0.021002155,
0.008823181,
-0.024926728,
0.0055527026,
0.029860884,
0.016679436,
0.025538165,
-0.0088374,
0.03051498,
0.029548056,
-0.0412649,
-0.00748655,
0.083837986,
-0.01123338,
0.015726732,
-0.0050443565,
-0.030429663,
0.0363734,
-0.008240182,
0.05326613,
0.037823785,
-0.004628437,
-0.021528276,
0.00042569533,
-0.015982682,
0.041037384,
-0.0068466743,
-0.057503533,
0.009008033,
0.02408778,
0.032761656,
0.0045893337,
0.03395609,
0.025595043,
0.07024418,
0.031737853,
0.02407356,
0.018826576,
-0.019921476,
0.02700277,
-0.038108177,
0.00801267,
-0.023604318,
-0.013949298,
0.01632395,
0.014788248,
-0.043653768,
0.04700956,
0.0073443553,
-0.06046118,
0.026889015,
-0.020376498,
-0.023945585,
-0.032591023,
0.015570318,
-0.023135075,
-0.000963369,
-0.002083152,
-0.06233815,
-0.02838206,
0.010643273,
-0.035434917,
0.040582363,
-0.008894278,
0.03478082,
0.018215138,
0.056422852,
0.020376498,
0.03105532,
0.023376806,
0.016252853,
-0.018798137,
-0.008887168,
0.009484385,
0.02221081,
-0.007991341,
-0.032790095,
-0.05460276,
0.0029523172,
0.0074581113,
-0.002607495,
-0.012285621,
0.018499529,
-0.033614825,
-0.04311343,
-0.004610663,
0.08884324,
-0.021499837,
-0.0022146823,
-0.008709424,
-0.0052612033,
-0.058470454,
0.024528584,
-0.03446799,
0.05702007,
0.0032900295,
-0.05915299,
-0.009057801,
-0.06558019,
-0.0077993786,
0.0017747674,
-0.014589175,
-0.027983913,
0.002447526,
0.0064449743,
0.04197587,
-0.007013753,
-0.033870775,
-0.02971869,
0.04740771,
0.03475238,
-0.00058788614,
0.07877585,
0.030600296,
-0.034382675,
0.007138173,
0.008894278,
0.018826576,
-0.027514672,
-0.0028598907,
-0.007578977,
0.010365993,
-0.027344039,
-0.036430277,
0.0115462085,
0.029107252,
0.027102306,
0.002914991,
-0.041122705,
-0.011354245,
-0.048630584,
0.022253469,
-0.032960728,
0.009619471,
0.018030286,
-0.04445006,
0.0018894118,
-0.07268992,
0.24070716,
0.057503533,
0.06859472,
0.029832445,
0.012193195,
0.00021218113,
0.03077093,
0.013522714,
0.018115602,
-0.020376498,
-0.010771248,
-0.055655,
0.00073408004,
0.036487155,
-0.01525749,
0.0230071,
-0.059608012,
0.023220392,
-0.043483134,
-0.033074483,
-0.028581131,
0.010302005,
0.006853784,
0.0013250767,
0.045331664,
-0.019068308,
-0.03179473,
-0.026874796,
0.030145273,
0.011304477,
0.029576495,
-0.013970627,
0.01096321,
-0.0123709375,
0.009327971,
0.015925804,
0.00615703,
-0.022353005,
-0.011119625,
0.006388096,
-0.002984311,
-0.018755479,
0.04018422,
-0.021059033,
-0.02515424,
0.037112813,
0.00027950143,
0.01579783,
0.008489023,
-0.055711877,
0.02539597,
-0.08002717,
0.02407356,
-0.04385284,
-0.050479114,
-0.006686705,
-0.020234304,
-0.007913134,
-0.0011402236,
0.02917835,
-0.0014512745,
0.033870775,
0.0036721777,
0.020476034,
-0.020518692,
0.027159184,
0.035690866,
0.013750226,
0.008489023,
-0.03773847,
-0.013252544,
0.024812972,
-0.005193661,
-0.023490561,
0.049142484,
0.028765986,
0.003928128,
0.010579284,
0.010138481,
-0.038961343,
0.019011429,
-0.015470781,
-0.018272016,
-0.029064594,
0.024301073,
0.044563815,
-0.022765368,
0.044080354,
-0.027699525,
0.044563815,
0.008211743,
0.04894341,
0.020191645,
-0.0051154536,
0.019736622
] |
A blog post on Getting Started with Sentiment Analysis using Python with DistilBERT.
A blog post on how to train DistilBERT with Blurr for sequence classification.
A blog post on how to use Ray to tune DistilBERT hyperparameters.
A blog post on how to train DistilBERT with Hugging Face and Amazon SageMaker.
A notebook on how to finetune DistilBERT for multi-label classification. 🌎
A notebook on how to finetune DistilBERT for multiclass classification with PyTorch. 🌎
A notebook on how to finetune DistilBERT for text classification in TensorFlow. 🌎
[DistilBertForSequenceClassification] is supported by this example script and notebook.
[TFDistilBertForSequenceClassification] is supported by this example script and notebook.
[FlaxDistilBertForSequenceClassification] is supported by this example script and notebook.
Text classification task guide |
[
0.017315576,
-0.018122291,
0.014837807,
0.010624157,
-0.028119804,
-0.017776556,
0.00672023,
0.025800496,
-0.024720075,
0.088162504,
0.0059495284,
0.05425163,
0.035985284,
-0.013022697,
-0.022415172,
0.027543578,
-0.0014387631,
-0.036302205,
-0.022443984,
-0.009089957,
-0.000347536,
0.028350295,
-0.076119386,
-0.024158254,
-0.003835501,
0.035553113,
0.0055749817,
-0.0127850035,
0.0503333,
0.029473934,
-0.011646958,
-0.0022634857,
0.010062338,
-0.032441497,
-0.05018924,
-0.033853248,
0.00040695927,
-0.0051067984,
0.0035780002,
-0.0434474,
-0.02034076,
-0.008780236,
0.066093065,
-0.02179573,
-0.060330812,
-0.0028505155,
-0.04226614,
-0.01918831,
-0.053675406,
-0.054597367,
-0.024792103,
-0.00950772,
0.0056073945,
-0.015572494,
-0.044484608,
-0.017315576,
-0.032239817,
0.01195668,
-0.009543735,
0.04434055,
0.024244688,
0.029185822,
-0.020067053,
-0.020167893,
-0.014189553,
0.021305937,
-0.0291282,
0.005560576,
-0.014722561,
-0.047279302,
-0.005578583,
0.02304902,
-0.03301772,
-0.06580495,
-0.033046532,
-0.0049231267,
0.014571303,
0.012799409,
-0.014254378,
0.06321194,
0.016062286,
0.008672194,
0.0062088296,
-0.00035338828,
-0.006205228,
-0.04491678,
0.062001865,
-0.0008211213,
-0.0035653953,
-0.03460234,
-0.018338377,
0.008974712,
-0.029012954,
-0.0004193391,
-0.024259094,
0.026636023,
0.03339227,
0.06724551,
-0.030597575,
-0.0009111566,
0.015673334,
0.008434501,
0.0016332392,
0.024230283,
-0.036878433,
0.015658928,
0.014095916,
0.022184681,
-0.012223183,
-0.03768515,
-0.010876256,
-0.031087365,
-0.006810265,
-0.017185926,
-0.014585708,
0.048921544,
0.023121048,
0.022775313,
-0.023697274,
-0.0007405398,
0.033132967,
0.004768266,
0.027457146,
-0.028148616,
-0.0059567313,
-0.036071718,
0.028998548,
0.006792258,
-0.029617991,
-0.0019015442,
0.04045103,
-0.0027478754,
0.0040515857,
0.021622863,
0.024792103,
-0.017387604,
0.051140014,
-0.0024885738,
-0.011567727,
0.0019681703,
-0.016782567,
0.02397098,
0.0054273237,
0.09824645,
-0.001213675,
-0.02047041,
-0.009414084,
-0.018309565,
-0.06983853,
-0.024043009,
-0.04560825,
0.04255425,
0.018583272,
-0.0097094,
-0.0025696056,
-0.04883511,
0.024576018,
0.018223131,
-0.0036230178,
-0.03748347,
-0.07156721,
-0.000021270824,
0.00031962508,
0.057708982,
0.00027168132,
0.022429578,
-0.0046926364,
-0.019995024,
0.03160597,
-0.029056171,
0.02823505,
-0.008881075,
0.0031512333,
0.048748676,
0.0033763214,
0.02915701,
0.060446054,
-0.0047178464,
0.036964867,
0.027226655,
0.010278422,
0.01292906,
0.025541196,
0.033132967,
-0.015774174,
0.007980723,
0.024547206,
-0.040854387,
-0.010905067,
0.007519743,
-0.012179967,
0.054712612,
-0.009572546,
0.0128858425,
-0.0070515596,
0.017531661,
-0.045521814,
0.0016791571,
0.0017565874,
-0.027298683,
-0.04811483,
0.071106225,
-0.039903615,
-0.017157115,
-0.012655352,
0.016897812,
0.035380244,
0.020081459,
-0.022299927,
0.0009030534,
0.010696186,
0.004073194,
-0.0025660042,
0.0027136619,
0.016667323,
-0.044369362,
0.020398382,
0.031000933,
-0.030251838,
0.0074189035,
-0.023783708,
0.047567416,
0.05286869,
0.058198776,
-0.02575728,
-0.041430615,
0.0060827807,
0.038520675,
-0.016552078,
0.00015936236,
0.018280754,
0.061137527,
-0.0069435174,
0.066323556,
0.02757239,
0.0068138666,
0.018640894,
0.034429472,
0.02981967,
0.00021698492,
0.02047041,
0.02519546,
0.019519638,
0.033449892,
0.018943414,
-0.033334646,
-0.02103223,
-0.0017106695,
0.01987978,
0.02869603,
-0.07081811,
0.07859716,
-0.0054417294,
0.02156524,
-0.017128304,
0.011135558,
-0.004584594,
0.03840543,
-0.018583272,
0.023495594,
0.030453518,
0.023034614,
-0.006983133,
-0.0036518292,
0.015039486,
0.016969841,
0.038664732,
0.009673386,
0.014384029,
-0.08770152,
-0.0067778523,
-0.06211711,
-0.08948782,
0.008794642,
-0.008643382,
-0.029099388,
0.0076854075,
-0.073526375,
-0.013584516,
-0.0073576793,
0.00078330655,
0.020628873,
-0.038520675,
0.026030988,
0.04382195,
0.015226759,
-0.0025317909,
0.0023391154,
-0.019173903,
0.020816145,
0.0120143015,
-0.012849829,
-0.015644522,
-0.0025966163,
-0.010897865,
0.0065941806,
-0.03477521,
-0.018828169,
-0.012720178,
0.017387604,
-0.042583063,
-0.021550834,
0.0068282722,
0.006327676,
-0.07335351,
0.028753653,
0.019476421,
-0.04511846,
0.027010571,
0.07663799,
0.010444087,
0.03970194,
-0.007656596,
0.011502902,
-0.03970194,
0.05286869,
0.049872316,
-0.010724997,
-0.07041476,
-0.061771374,
-0.004901518,
0.016912218,
0.010069541,
-0.03684962,
-0.008960307,
0.0411425,
-0.025670847,
-0.061079904,
0.007202819,
-0.035380244,
-0.041862782,
-0.0074261064,
-0.033536322,
0.004926728,
0.00013381487,
0.035783604,
-0.05574982,
-0.056412477,
-0.008981915,
0.046818323,
-0.011646958,
-0.0143336095,
0.009025132,
0.035581924,
0.043937195,
0.027946936,
-0.000045946104,
-0.036676753,
0.016364804,
-0.023567623,
0.03319059,
0.016206343,
0.033968493,
-0.0025155845,
0.027529173,
0.069492795,
-0.058544513,
0.033651568,
0.014067105,
0.02839351,
-0.016883407,
0.02304902,
-0.024619235,
0.01464333,
-0.0022418774,
-0.047192868,
0.0057118353,
0.029084982,
0.020960202,
-0.03278723,
0.0526382,
-0.013001088,
-0.018453622,
-0.00084903225,
-0.0035293812,
-0.05917836,
0.0152987875,
0.00789429,
0.06027319,
-0.025642036,
-0.011157166,
0.025973365,
-0.005823479,
0.0124968905,
-0.00059063116,
0.0065761735,
-0.04434055,
-0.044887967,
-0.03610053,
-0.020816145,
-0.00296396,
0.024143849,
-0.0058450876,
0.014268784,
-0.013887035,
-0.041776348,
0.028523162,
0.01849684,
0.04580993,
0.053502537,
0.03074163,
-0.008852264,
0.015241165,
-0.014427246,
-0.0004663825,
-0.037224166,
-0.039615504,
0.034026116,
-0.0038030883,
-0.0047178464,
-0.048604622,
-0.014679344,
-0.015342004,
0.019274743,
-0.009140377,
0.008809048,
-0.03788683,
-0.0071668047,
-0.00034033318,
0.03912571,
-0.04200684,
-0.018828169,
-0.034054928,
0.00052310474,
0.059985075,
-0.044254117,
0.005791066,
0.01390144,
-0.026290288,
-0.003682441,
-0.0023391154,
-0.00886667,
-0.024374338,
-0.018453622,
-0.032585554,
0.022602445,
0.020225516,
0.015226759,
0.011841434,
-0.042352576,
0.02922904,
-0.012655352,
-0.011899057,
-0.025080215,
0.006140403,
-0.0014396633,
-0.0033150974,
0.019433206,
0.0046926364,
-0.022732096,
0.04362027,
-0.0148666175,
0.015068297,
-0.059985075,
-0.013534096,
-0.011747797,
0.016451238,
0.014268784,
0.018770546,
-0.009543735,
0.00011659563,
0.04180516,
0.052061975,
0.0058450876,
-0.04223733,
0.03480402,
-0.00807436,
-0.012172764,
0.0424102,
-0.009176391,
0.0040948023,
0.014031091,
0.03710892,
-0.026304694,
0.01208633,
-0.015457249,
-0.028148616,
-0.015197948,
-0.017085087,
0.018597677,
-0.059812207,
0.05065022,
0.00337272,
-0.029704425,
-0.020830551,
-0.028451134,
-0.00094266894,
-0.014124728,
-0.018468028,
0.0097886305,
-0.009176391,
0.0073828893,
-0.0066193906,
-0.0075053372,
-0.059754584,
-0.044426985,
-0.054510932,
-0.02407182,
0.022588039,
-0.004451342,
0.04091201,
-0.047509793,
-0.0071055805,
0.032671984,
-0.018914603,
0.028249456,
-0.063672915,
0.036446262,
-0.002396738,
0.01333962,
0.0007495433,
0.026146233,
0.019490827,
-0.004213649,
0.0075341486,
-0.019389989,
-0.0010795224,
-0.010588144,
-0.029733235,
0.03754109,
-0.017776556,
-0.05125526,
-0.016926624,
0.008499326,
0.0041308166,
0.023596434,
0.049209658,
-0.03388206,
-0.023553217,
-0.012554513,
0.0018250142,
-0.026621617,
-0.0314331,
-0.05018924,
0.0067814537,
0.036042906,
0.012403254,
-0.01975013,
-0.026996166,
-0.0112436,
-0.05848689,
0.0006532056,
-0.0018817364,
-0.05102477,
-0.036359828,
0.0029405507,
-0.015241165,
0.021939786,
-0.0046314127,
0.0057118353,
-0.026837703,
-0.0116253495,
0.04673189,
0.0139446575,
-0.05373303,
-0.021608457,
0.02338035,
0.021161882,
-0.0013208169,
-0.03889522,
-0.062001865,
0.050707843,
-0.051485747,
0.046184473,
-0.019346772,
-0.04269831,
-0.04402363,
0.0040227743,
0.033593945,
-0.0424102,
-0.034717586,
-0.020268733,
0.015313192,
0.024028603,
0.06280858,
-0.04540657,
-0.009867862,
-0.07029951,
-0.029301066,
0.04134418,
-0.0049555395,
0.030251838,
0.009320447,
-0.008434501,
0.07220106,
-0.03275842,
0.012381646,
0.044571042,
-0.041171312,
-0.016912218,
-0.028451134,
0.06119515,
0.008758628,
0.0012019704,
-0.024475178,
-0.014953052,
-0.04434055,
0.015212353,
-0.018050265,
-0.012446471,
-0.018151103,
0.040537465,
0.077559955,
-0.054539744,
0.015212353,
-0.008059954,
-0.055634573,
-0.032355063,
0.012698569,
-0.031317856,
-0.011942274,
0.03388206,
0.026016582,
0.0075701624,
0.011229195,
-0.039212145,
0.023668462,
-0.008938698,
0.043764327,
-0.030338272,
-0.033565134,
0.017243547,
0.0008373277,
-0.030712819,
-0.044426985,
0.012007099,
-0.0026866514,
-0.012871437,
0.0035401855,
0.01157493,
0.0224872,
-0.06522873,
-0.013519691,
0.009824645,
-0.0067958594,
-0.001057914,
-0.042842366,
0.03638864,
-0.027169032,
0.0311738,
0.041718725,
-0.023582028,
0.022516012,
-0.014852213,
0.019980619,
-0.01119318,
0.0025570006,
0.041372992,
-0.013815006,
0.013044305,
0.036359828,
-0.017387604,
0.059524093,
0.009464504,
-0.008139186,
-0.020095864,
-0.030078972,
-0.049785882,
-0.028379107,
0.004379314,
0.019058658,
-0.005373303,
-0.038290184,
0.031721216,
0.024244688,
0.043966006,
0.012669758,
-0.04073914,
0.00830485,
-0.033939682,
-0.015356409,
-0.0058919056,
0.009745413,
0.019764535,
0.0037274587,
-0.038664732,
-0.025699658,
-0.008528138,
-0.033248212,
-0.022746501,
-0.006255648,
-0.038952842,
0.00728205,
-0.04255425,
-0.005693828,
0.012893045,
-0.043677893,
0.039644316,
0.0063889003,
-0.026131827,
-0.037080113,
-0.0034429473,
0.0114812935,
-0.03094331,
0.026506374,
-0.012835423,
0.000024140698,
-0.012064721,
-0.0041884393,
0.0031332262,
0.035812415,
0.04252544,
-0.02473448,
-0.014412841,
0.0050095604,
-0.03226863,
0.0022220695,
0.017488444,
0.041027255,
0.015097108,
-0.0074117007,
-0.017027464,
0.0006388,
-0.017286764,
-0.0016512462,
-0.02711141,
-0.0099831065,
0.015212353,
0.039615504,
0.010069541,
0.044282928,
0.03682081,
0.049382526,
-0.0124968905,
-0.009234014,
0.013894238,
-0.008499326,
0.021709295,
-0.020859363,
0.036158152,
0.032671984,
0.029358689,
0.016163126,
0.0027856901,
0.022011815,
0.020052647,
-0.01875614,
-0.018885791,
0.01985097,
-0.0020293943,
0.011077935,
0.049814694,
-0.009536532,
0.018770546,
0.021536428,
-0.04560825,
0.02849435,
-0.045925174,
-0.028350295,
0.011610944,
-0.039356202,
-0.009363664,
-0.073584,
-0.023193076,
-0.020427193,
0.010811431,
0.044196498,
0.018410405,
0.023625245,
-0.007707016,
0.012705772,
-0.017920613,
0.015702145,
-0.0055641774,
0.010523318,
-0.01050171,
-0.029762046,
0.043015234,
0.08343745,
0.0035743988,
0.008830655,
-0.018986631,
0.0065509635,
0.017430821,
0.019044252,
-0.018583272,
0.0012064722,
-0.053905897,
-0.004739455,
-0.017229142,
-0.028868897,
-0.010797026,
0.047769096,
-0.024244688,
-0.021594051,
-0.04543538,
0.007829464,
-0.028278267,
0.004487356,
0.05013162,
0.0044657476,
0.013447663,
0.0141391335,
-0.013310809,
0.025368327,
0.023409162,
0.029790858,
0.050563786,
-0.02202622,
0.025497979,
0.0017817973,
-0.015082703,
0.0009570745,
0.06350005,
-0.0028000958,
0.017906208,
0.009594155,
0.01773334,
0.020830551,
0.012165561,
0.047567416,
0.013642139,
-0.0029171417,
-0.012410456,
-0.019145092,
0.0032394677,
0.013750181,
-0.032182194,
-0.06211711,
-0.005855892,
0.02928666,
0.042179707,
0.025958959,
0.031317856,
0.05428044,
0.045493003,
0.020600062,
0.020513628,
0.0076782047,
-0.031836458,
0.027457146,
-0.030597575,
0.023063425,
-0.033824436,
-0.036158152,
-0.0039975643,
0.021147477,
-0.03641745,
0.024619235,
-0.01604788,
-0.021896569,
0.021176288,
-0.036792,
-0.03912571,
-0.032383874,
-0.0010984299,
-0.00061944243,
-0.009270028,
0.03517857,
-0.03751228,
-0.0263191,
0.019663695,
-0.010645766,
0.025642036,
0.0073684836,
0.014909835,
0.024705669,
0.04653021,
-0.0044549434,
0.0044117267,
0.034919266,
0.012129547,
-0.051629804,
0.0074549173,
-0.0031872473,
0.006882293,
-0.027154626,
-0.02698176,
-0.023121048,
0.037627526,
0.027053786,
0.012381646,
-0.036734376,
-0.005103197,
-0.031317856,
-0.008456109,
0.0052544563,
0.07802093,
-0.021997409,
-0.0049483366,
0.008506529,
-0.0022058634,
-0.05534646,
-0.012705772,
-0.002189657,
0.06442201,
0.0058378847,
-0.020139081,
0.0042784745,
-0.08499326,
-0.011229195,
0.02585812,
-0.033277024,
0.010869053,
0.061540883,
0.026016582,
0.02384133,
0.015197948,
-0.023437973,
-0.03751228,
0.020038242,
0.039068088,
-0.0155436825,
0.0526382,
0.017805368,
-0.022660067,
0.048921544,
0.016422426,
0.021536428,
-0.0350057,
-0.02714022,
-0.00835527,
0.008830655,
-0.030223027,
-0.03612934,
0.002976565,
0.039932426,
0.027024977,
-0.023582028,
-0.021291532,
-0.007836667,
-0.08090206,
0.0355243,
-0.040278163,
0.004768266,
-0.00924842,
-0.03249912,
0.06350005,
-0.033968493,
0.24754648,
0.051428124,
0.040566277,
0.069089435,
0.0037058503,
-0.004786273,
0.0017745944,
-0.03791564,
-0.0048150844,
-0.0073576793,
-0.015759768,
-0.03999005,
0.011711784,
0.033651568,
0.007721422,
0.04434055,
-0.060849413,
-0.015125919,
0.022602445,
-0.02496497,
-0.047797907,
0.0036734375,
-0.005762255,
0.027514767,
0.010926676,
-0.013778992,
-0.027630012,
-0.029315472,
0.022674473,
-0.017589284,
0.013728573,
-0.0155869,
0.0406239,
-0.040278163,
-0.013699762,
0.034170173,
0.021738106,
-0.031231422,
0.026924137,
0.005301275,
-0.012900248,
0.041891593,
0.040364597,
-0.021349154,
-0.035553113,
0.034198985,
-0.0041488237,
0.0012640947,
0.047365736,
-0.07496694,
0.009522126,
-0.04742336,
0.048604622,
-0.05517359,
-0.05399233,
-0.012374443,
-0.03728179,
-0.03791564,
0.042467818,
0.03189408,
0.006947119,
0.043533836,
-0.015342004,
-0.029502746,
-0.03970194,
0.07963436,
0.048950355,
0.058025908,
-0.0057046325,
-0.052811068,
0.011056327,
-0.008218416,
-0.011762203,
-0.0076493938,
0.054712612,
0.019995024,
0.0146217225,
0.010739403,
0.00746212,
-0.043245725,
0.030770442,
-0.033046532,
-0.061771374,
-0.039874803,
0.0194188,
0.031721216,
-0.018122291,
0.018338377,
-0.011474091,
0.043245725,
0.027068192,
0.068340346,
0.008816251,
-0.0055893874,
-0.009457301
] | [DistilBertForTokenClassification] is supported by this example script and notebook.
[TFDistilBertForTokenClassification] is supported by this example script and notebook.
[FlaxDistilBertForTokenClassification] is supported by this example script.
Token classification chapter of the 🤗 Hugging Face Course.
Token classification task guide |
[
0.03118113,
-0.027530793,
-0.015158655,
-0.0036189896,
-0.011961127,
-0.01251843,
0.022320006,
-0.0044549447,
-0.015019329,
0.09128632,
0.022250343,
0.059631474,
0.047398664,
-0.027377535,
-0.02148405,
0.05336181,
0.0038628099,
-0.050268777,
-0.012344273,
-0.0025827533,
0.029174838,
0.035667423,
-0.07986159,
-0.03569529,
-0.035360906,
0.0018721914,
0.014169442,
-0.046005405,
0.061637767,
0.03042877,
0.0070046084,
0.02374113,
0.020062925,
-0.042995967,
-0.035778884,
-0.021902028,
0.012873711,
-0.032546524,
0.014218206,
-0.044695742,
0.01283888,
-0.014448093,
0.050853945,
-0.026736636,
-0.053696193,
-0.043692596,
-0.017582925,
-0.009669215,
-0.036001805,
-0.023072366,
-0.019129442,
-0.017081352,
-0.012804048,
-0.0052351695,
-0.03903911,
-0.046116866,
-0.010191687,
-0.009871238,
-0.040432367,
0.011069441,
0.039540682,
0.02584495,
-0.011020677,
-0.050101586,
-0.01853034,
0.01146652,
-0.022487197,
0.015520902,
-0.01933843,
-0.02163731,
-0.0047370796,
0.022111017,
-0.021080004,
-0.045587428,
-0.02336495,
0.0087914625,
-0.014099779,
0.003127866,
-0.027210344,
0.03706068,
0.010867419,
0.02578922,
0.036113266,
-0.011424722,
0.0023946634,
-0.031487647,
0.03441349,
-0.007711687,
-0.005778541,
-0.007467867,
-0.026722703,
0.027447198,
-0.039401356,
0.0040508998,
-0.033048097,
0.03781304,
0.015437307,
0.05653844,
-0.023058433,
-0.008986519,
0.016287195,
0.043859787,
0.009843373,
0.014601352,
-0.039624278,
0.02347641,
-0.002530506,
0.042243604,
-0.01007326,
-0.018265622,
-0.0074121365,
-0.031599108,
-0.0144062955,
-0.0174436,
-0.013633037,
0.010442474,
0.017387869,
0.012044722,
-0.011243599,
0.004650001,
0.014545621,
-0.01905978,
-0.0006596209,
-0.02934203,
-0.0155487675,
-0.018878656,
0.02336495,
0.043999113,
-0.03990293,
-0.02945349,
0.024465624,
-0.0071752826,
0.029174838,
0.02584495,
0.024451692,
-0.00083595526,
0.004075282,
0.015200453,
0.011257531,
0.0057924734,
0.01203079,
-0.007802249,
0.017596858,
0.087719575,
-0.0006086799,
-0.024382029,
0.031571243,
-0.016830565,
-0.047621585,
-0.0058900015,
-0.016133936,
0.018154161,
-0.0064159567,
0.015785621,
-0.011166969,
-0.026680905,
0.02956495,
0.013688767,
0.008234159,
-0.007857979,
-0.046116866,
0.0071474174,
-0.022626523,
0.04829035,
0.023128096,
0.024423826,
-0.030038659,
-0.008359552,
0.029481355,
-0.043191023,
-0.0014202532,
-0.024326298,
-0.008415283,
0.03257439,
0.011995958,
0.041825626,
0.032267872,
-0.0052142707,
0.036698435,
0.010386744,
0.017777981,
0.032490794,
0.026750568,
0.02336495,
0.005785507,
-0.00007978583,
0.037283603,
-0.01911551,
-0.009056182,
0.0073424736,
0.00398472,
0.059408553,
-0.024270568,
-0.00030521073,
-0.008930788,
0.029146973,
-0.028060231,
0.011821801,
-0.0026419668,
-0.042410795,
-0.04344181,
0.060244508,
-0.041212592,
-0.0007763064,
-0.019644948,
0.00759326,
0.013918655,
0.029732142,
-0.00019908362,
0.05001799,
0.042020682,
-0.014218206,
-0.00778135,
-0.006381125,
0.03786877,
-0.03499866,
-0.004437529,
0.029676411,
-0.041714165,
0.037144277,
-0.028924052,
0.038844053,
0.051132597,
0.042299334,
-0.04817889,
-0.04522518,
0.019686745,
0.039986525,
-0.0013810678,
0.01717888,
0.014280902,
0.036001805,
-0.0022518544,
0.042828776,
0.035723154,
0.0070777545,
0.05313889,
0.0053710127,
0.028227422,
-0.005524271,
0.009571687,
0.023448545,
0.015924947,
0.05227507,
0.06570608,
-0.009160676,
-0.012023823,
0.004629102,
-0.0015813487,
0.004723147,
-0.079415746,
0.091230586,
0.014155509,
0.0014341858,
-0.00021454008,
0.00858944,
0.013667868,
0.05508945,
-0.03909484,
0.00008702425,
0.04581035,
0.028352816,
-0.024131242,
0.008756631,
0.036001805,
0.011431688,
0.028561804,
-0.025134388,
0.0074051702,
-0.07083327,
0.0021456184,
-0.05405844,
-0.08827688,
0.0009770227,
-0.033466075,
-0.010296182,
0.018488543,
-0.071056195,
-0.024507422,
-0.012448767,
0.007635058,
0.014796408,
-0.04413844,
0.011041576,
0.05620406,
0.015158655,
0.010059328,
0.007878878,
-0.011257531,
0.024744276,
-0.012302475,
-0.01189843,
0.0010606182,
0.0107907895,
-0.010470339,
0.024758209,
-0.016537981,
-0.024131242,
-0.024855737,
0.019798206,
-0.04650698,
-0.00783708,
-0.015297981,
-0.015924947,
-0.05313889,
0.011557082,
0.013981352,
-0.028924052,
0.028408546,
0.077799566,
-0.014643149,
0.03446922,
0.007885844,
-0.0050888774,
-0.038760457,
0.03828675,
0.06899417,
-0.016663374,
-0.082536645,
-0.043692596,
-0.0036155065,
0.0050226976,
0.009091013,
-0.0014263487,
-0.02163731,
0.044333495,
-0.020327644,
-0.059798665,
0.012957307,
-0.036168996,
-0.020021128,
-0.004009102,
-0.012427868,
0.015088992,
0.00877753,
0.053055294,
-0.06888271,
-0.031794164,
-0.0013601689,
0.031961355,
-0.007231013,
-0.016928094,
0.0004003442,
0.055479564,
0.041769896,
0.026416186,
0.014643149,
-0.034720007,
-0.008429215,
-0.0012260677,
0.011626745,
-0.017192813,
0.024618883,
-0.011773037,
0.0051097763,
0.049767204,
-0.056120463,
0.013660902,
0.016036408,
0.038063828,
0.00088123616,
0.019686745,
-0.0055033723,
0.022264276,
-0.008471013,
-0.038370345,
0.03678203,
0.048764057,
0.03026158,
-0.033856187,
0.034106974,
-0.022835512,
-0.052052148,
0.012323374,
0.004629102,
-0.04887552,
0.033243153,
0.021400455,
0.06598473,
-0.03407911,
-0.018404948,
0.031320456,
-0.016705172,
0.029732142,
0.029815737,
-0.00012397826,
-0.055813946,
-0.09295823,
-0.018920453,
0.007109103,
-0.03979147,
0.035082255,
-0.032128546,
-0.007983373,
-0.009230339,
-0.04667417,
0.024186973,
0.01911551,
0.038008098,
0.05670563,
0.054364957,
-0.011550115,
0.005691462,
0.0033159559,
0.0007162221,
-0.029927198,
-0.0367263,
0.040794615,
-0.016607644,
0.0090770805,
-0.03614113,
-0.0015369386,
-0.030735288,
0.02443776,
-0.017025622,
0.0059666308,
-0.026889894,
-0.004911237,
0.026862029,
0.059631474,
-0.045253046,
-0.007189215,
-0.026207197,
0.0034100008,
0.058126755,
-0.060077317,
0.0037304503,
-0.014824273,
-0.031208996,
0.0015813487,
0.024591018,
-0.010978879,
-0.016092138,
-0.038537536,
-0.022807647,
0.03650338,
-0.007683822,
-0.005524271,
-0.0026019106,
-0.03731147,
0.03452495,
-0.024409894,
-0.0071300017,
-0.012957307,
0.02734967,
0.0028004502,
0.009139777,
0.012107419,
-0.012358205,
-0.018892588,
0.021442253,
0.009522923,
0.021957759,
-0.05862833,
-0.015297981,
-0.003249776,
0.0018338768,
0.031320456,
0.011626745,
-0.025273714,
-0.0044201133,
0.023601804,
0.023546074,
-0.017373936,
-0.031571243,
0.042689446,
0.016036408,
-0.011403823,
0.057792373,
0.014253037,
0.012107419,
0.01723461,
0.036642704,
-0.031431917,
-0.015367644,
-0.012734385,
-0.025190119,
-0.029871468,
-0.041491244,
0.014866071,
-0.054448552,
0.047983833,
-0.0045420234,
-0.028171692,
0.016997756,
-0.025273714,
-0.026137535,
-0.00796944,
-0.012915509,
-0.009899103,
0.004845057,
-0.0048067425,
0.015311914,
-0.0052282033,
-0.07022024,
-0.056789227,
-0.018000903,
-0.007586294,
0.017053487,
0.039512817,
0.04539237,
-0.0039707874,
-0.004796293,
0.059631474,
-0.008011238,
0.021497983,
-0.041240457,
0.04190922,
-0.012511464,
0.00059300574,
0.0031801132,
-0.00802517,
0.017861577,
-0.0071021365,
0.030818883,
-0.03290877,
-0.0016135678,
-0.0066319117,
-0.005684496,
0.053501137,
-0.0218045,
-0.043358214,
-0.02875686,
-0.009286069,
-0.0017467982,
0.012413936,
0.041881356,
-0.019199105,
-0.05717934,
-0.016579779,
0.035416637,
-0.018600004,
-0.03973574,
-0.06548316,
-0.021261128,
0.00047414337,
0.009794609,
0.01798697,
-0.05745799,
-0.010916183,
-0.05341754,
0.03037304,
-0.02751686,
-0.066040464,
-0.040738884,
0.005057529,
-0.008032137,
0.05146698,
-0.0004138414,
-0.014880003,
-0.022487197,
-0.0023424162,
0.012065621,
-0.008317755,
-0.020536633,
-0.020202251,
0.04806743,
0.021623377,
-0.00623135,
-0.043079562,
-0.0317663,
0.043469675,
-0.045253046,
0.03499866,
-0.01593888,
-0.027767647,
-0.03407911,
-0.025858883,
0.04419417,
-0.04597754,
-0.019254835,
-0.041937087,
0.01588315,
0.023323152,
0.06336541,
-0.026611242,
-0.033577535,
-0.06369979,
-0.033131693,
0.041937087,
-0.04001439,
0.025663827,
-0.0033821356,
-0.0021282027,
0.048011698,
-0.03817529,
0.0031017424,
0.05146698,
-0.018572139,
0.007140451,
-0.07194788,
0.03591821,
0.008373485,
-0.0311254,
-0.0027325288,
-0.014726745,
-0.04179776,
0.0048520234,
-0.009146743,
-0.011633711,
-0.017568992,
0.038816188,
0.069328554,
-0.050352372,
0.03332675,
0.002748203,
-0.06342114,
-0.047788776,
0.03343821,
-0.023225624,
-0.024186973,
0.01265079,
0.028478209,
0.014489891,
0.031431917,
-0.037032817,
-0.013862925,
0.008819328,
0.037283603,
-0.030512366,
-0.026680905,
0.016760902,
0.015980678,
-0.042355064,
-0.04174203,
-0.01588315,
-0.007370339,
-0.027488995,
-0.015869217,
0.009376631,
0.0155627,
-0.035639558,
-0.01389079,
0.029955063,
0.010512137,
-0.011153037,
-0.03290877,
0.04333035,
-0.018725397,
0.024354164,
0.036308322,
-0.017777981,
0.023546074,
0.0002614537,
0.014726745,
-0.019770341,
0.022027422,
0.03937349,
-0.007948541,
0.036977086,
0.05740226,
-0.028896187,
0.066096194,
0.006520451,
-0.014907869,
-0.027656186,
-0.03031731,
-0.08710654,
-0.019129442,
0.052191474,
0.043748327,
0.0039289896,
-0.024897534,
0.023699332,
0.012532363,
0.036921356,
0.010226519,
-0.05717934,
0.0112227,
-0.06080181,
-0.031404052,
-0.003270675,
0.031431917,
0.018878656,
0.020104723,
-0.038426075,
-0.058182485,
-0.029146973,
-0.0011903654,
-0.021470118,
0.028297085,
-0.015144723,
0.011696408,
-0.05227507,
-0.0010632306,
0.015841352,
-0.014643149,
0.04505799,
0.0019906184,
-0.015632363,
-0.031599108,
-0.01890652,
0.01625933,
-0.033159558,
0.0035336525,
-0.011069441,
0.0075514624,
-0.03118113,
-0.020648094,
-0.0009108429,
0.032128546,
0.029063378,
-0.033410344,
-0.02826922,
-0.02287731,
-0.012379104,
0.0009038766,
0.014782475,
0.042104278,
0.019254835,
-0.028979782,
-0.02142832,
0.0037757312,
-0.030763153,
0.016705172,
-0.040042255,
-0.009258204,
0.0137027,
0.028199557,
0.009084047,
0.06219507,
0.03106967,
0.030651692,
-0.0055521363,
-0.011807868,
0.0028823041,
-0.0077186534,
0.017805846,
0.0049983156,
0.039066974,
0.027335737,
0.005496406,
0.015660228,
-0.015520902,
0.014517756,
-0.0012739609,
-0.025399107,
-0.032323603,
-0.013333486,
0.025078658,
0.0224454,
0.034274165,
-0.025106523,
-0.0060502263,
0.0025531466,
-0.051439114,
0.011452587,
-0.04909844,
0.006611013,
0.025050793,
-0.0516899,
-0.00048328663,
-0.026862029,
0.00783708,
-0.017039554,
-0.00063001417,
0.03251866,
0.031264726,
0.02950922,
-0.018182026,
0.025106523,
-0.035137985,
-0.0009822474,
-0.028979782,
0.018613936,
-0.04452855,
-0.05146698,
0.042355064,
0.059742935,
0.001122444,
-0.011306295,
-0.04408271,
0.011543149,
-0.0033229222,
0.013528543,
-0.050268777,
-0.0069314623,
-0.03817529,
-0.00009094279,
-0.0055068554,
-0.016816633,
-0.0040961807,
0.017360004,
-0.021943826,
0.016537981,
-0.0029537086,
0.039345626,
-0.018711464,
-0.027321804,
0.046172597,
0.027502928,
0.029871468,
0.0267645,
0.0019209555,
0.017151015,
0.015785621,
0.034023378,
0.049934395,
0.00036028802,
0.052860238,
0.0051829224,
-0.014587419,
0.0021073038,
0.052024283,
-0.0012626407,
0.011445621,
-0.018767195,
-0.017346071,
0.02853394,
-0.011571014,
0.048095293,
0.035723154,
0.010505171,
-0.0028718547,
-0.019519554,
0.009808541,
0.028464276,
-0.029007647,
-0.07479013,
-0.011940228,
0.04023731,
0.04157484,
0.042076413,
0.013786295,
0.05012945,
0.022793714,
0.011048542,
0.005997979,
-0.009502024,
-0.020912813,
0.021665175,
-0.012211913,
0.03706068,
-0.009202474,
-0.030930344,
0.010247418,
0.027976636,
-0.024730343,
0.0148103405,
-0.017485397,
-0.021539781,
0.019422026,
-0.04447282,
-0.047621585,
-0.037617985,
-0.0034970795,
-0.015047194,
-0.019798206,
0.019143375,
-0.039122704,
-0.01133416,
0.01729034,
-0.023573939,
0.027196411,
-0.0072031477,
0.032379333,
0.0034709559,
0.06843687,
0.00734944,
-0.0029223603,
0.015785621,
0.0043051695,
-0.046757765,
0.027823377,
0.007426069,
0.0058900015,
-0.012817981,
-0.03198922,
-0.026555512,
0.0033612368,
0.020940678,
-0.011773037,
-0.025106523,
-0.0018425847,
-0.01090225,
-0.02035551,
-0.023699332,
0.083985634,
-0.028464276,
0.018349217,
0.022041354,
0.0035092705,
-0.04898698,
-0.01437843,
-0.017541127,
0.04887552,
-0.0077743838,
-0.021734837,
-0.0059352824,
-0.07183642,
-0.018864723,
0.0052107875,
-0.009139777,
-0.0038314615,
0.06392271,
0.03990293,
0.04569889,
0.009836406,
-0.03845394,
-0.03193349,
0.033466075,
0.041296188,
-0.008178429,
0.092679575,
0.043023832,
-0.01642652,
-0.004622136,
0.018265622,
0.039596412,
-0.03285304,
-0.02250113,
-0.0069837095,
0.008331687,
-0.064647205,
-0.041937087,
-0.017708318,
0.039122704,
0.047287203,
-0.029955063,
-0.017471464,
-0.019143375,
-0.071056195,
0.03377259,
-0.036447648,
0.009655283,
0.00460472,
-0.036642704,
0.013410116,
-0.028366748,
0.22849444,
0.06921709,
0.03979147,
0.059241362,
0.0051829224,
0.013688767,
0.0001634902,
-0.0006700704,
0.005405844,
-0.019268768,
0.0030129221,
-0.010769891,
0.023169894,
0.051494844,
-0.00783708,
0.028143827,
-0.06553889,
0.0024416859,
-0.0075026983,
-0.04157484,
-0.046813495,
-0.019213038,
0.031794164,
0.036001805,
0.020996409,
-0.007844047,
-0.010233485,
-0.036001805,
0.046395518,
-0.018502476,
0.0069384286,
-0.012734385,
0.02939776,
-0.021734837,
-0.026012141,
0.019101577,
-0.018391015,
-0.04157484,
0.01637079,
-0.010142923,
-0.008756631,
0.013222026,
0.030818883,
-0.03862113,
-0.021149667,
0.049237765,
-0.020174386,
0.009070114,
0.03505439,
-0.04834608,
0.018725397,
-0.07155777,
0.031431917,
-0.046311922,
-0.059631474,
0.0013000845,
-0.029620681,
-0.046005405,
0.040432367,
0.045503832,
-0.014071913,
0.052080013,
-0.02003506,
-0.017652588,
-0.018154161,
0.05890698,
-0.009279103,
0.036057536,
-0.025399107,
-0.049934395,
-0.001743315,
-0.0047161807,
0.012699554,
-0.006071125,
0.04937709,
0.02142832,
0.004583821,
0.01345888,
-0.01637079,
-0.012197981,
0.038816188,
-0.027628321,
-0.02535731,
-0.025496636,
0.011891464,
0.027865175,
-0.032379333,
0.016830565,
-0.0013218542,
0.058238216,
0.033020232,
0.027168546,
-0.003544102,
-0.02282158,
0.0072170803
] | [DistilBertForMaskedLM] is supported by this example script and notebook.
[TFDistilBertForMaskedLM] is supported by this example script and notebook.
[FlaxDistilBertForMaskedLM] is supported by this example script and notebook.
Masked language modeling chapter of the 🤗 Hugging Face Course.
Masked language modeling task guide |
[
0.0559115,
-0.0098011615,
0.009113488,
0.012493947,
-0.072444625,
-0.0214699,
0.028563797,
0.028940208,
-0.030576149,
0.0828104,
0.02359807,
0.0076947077,
0.05486913,
0.007343632,
-0.028940208,
0.03961001,
-0.009468182,
-0.03558531,
-0.05159725,
0.0017879519,
-0.0036193358,
-0.0013364397,
-0.07516637,
-0.018791592,
-0.022208244,
0.011762842,
-0.008925282,
-0.017300425,
0.06897006,
0.01612776,
-0.027159495,
-0.0011093264,
0.02261361,
-0.026797563,
-0.036106493,
-0.009772207,
0.030749876,
0.0073002004,
-0.027000245,
-0.04195534,
-0.0042310036,
-0.027535906,
0.03824914,
-0.04128938,
-0.062484212,
-0.031415835,
-0.029823327,
-0.042968754,
-0.032023884,
-0.06103648,
-0.02904155,
0.008548871,
0.025407737,
-0.012175445,
-0.065205954,
-0.022396449,
-0.006558236,
-0.019689187,
-0.03961001,
0.030634059,
0.049165055,
0.014578684,
-0.0148682315,
-0.027492475,
-0.010467119,
0.0054832934,
-0.02817291,
0.007209717,
-0.017300425,
-0.0010912297,
-0.031792246,
0.037699003,
-0.0026764988,
-0.053537216,
-0.0041984296,
0.0044119703,
-0.0021209307,
-0.027782021,
-0.043142483,
0.0426213,
0.016489694,
0.011958285,
-0.004386635,
0.014180558,
-0.029765418,
-0.038075414,
0.032458205,
-0.02381523,
-0.010691518,
-0.025653852,
-0.02338091,
0.0068514026,
-0.01721356,
-0.028896777,
0.019356208,
0.0318212,
0.0051792692,
0.040681332,
-0.01056846,
-0.00085913984,
0.0407682,
0.036338132,
0.0069672214,
0.01732938,
-0.051018156,
-0.0056172092,
-0.004444544,
0.037235726,
-0.011089644,
-0.00414052,
0.021440946,
-0.024539096,
-0.009830116,
-0.002207795,
-0.04473499,
0.019385163,
0.0021987464,
0.023742843,
-0.015751349,
-0.022077948,
0.021296171,
0.008288279,
-0.009193113,
-0.006134774,
0.005917614,
-0.0667695,
0.017242515,
0.0027868885,
-0.03491935,
-0.034687713,
0.016576558,
0.023323,
0.024654916,
0.053421397,
0.037988547,
0.0070540854,
0.012617004,
0.025407737,
-0.0270292,
-0.0061058193,
0.043576803,
-0.027231881,
0.023221659,
0.09624538,
-0.0011174699,
-0.008454768,
-0.004893342,
-0.0057040732,
-0.035556354,
0.030489285,
-0.0348904,
0.007868436,
-0.0046001757,
0.0277965,
0.014021306,
-0.020036643,
-0.00044133276,
0.013188859,
0.0059863813,
0.0049005807,
-0.025668329,
0.015592098,
-0.015230165,
0.03972583,
-0.013398781,
0.03257402,
-0.049975786,
-0.018979797,
0.03350057,
-0.0025317254,
0.015722394,
0.0011156603,
0.0025588705,
0.027362179,
0.03132897,
0.043953214,
0.05617209,
-0.013463929,
0.03361639,
0.0100110825,
0.022468837,
0.02663831,
0.00068360206,
0.014701742,
-0.009692581,
0.0027651726,
0.037090953,
-0.0004772999,
-0.025538033,
0.010981064,
-0.02730427,
0.051944707,
-0.05029429,
-0.026348764,
-0.025465647,
0.005935711,
-0.043837395,
-0.0051068827,
-0.023178225,
-0.056432683,
-0.04114461,
0.06758024,
-0.021165876,
-0.024379846,
-0.02768068,
0.007853959,
-0.011176509,
0.026232945,
-0.008512678,
0.03280566,
0.030865695,
0.006576333,
-0.021107966,
0.018588908,
0.022685997,
-0.004734091,
0.016055373,
0.0066016684,
-0.011697693,
0.02659488,
0.018719204,
0.034513988,
0.045371994,
0.022874203,
-0.05524554,
-0.019660233,
0.025016848,
0.054898083,
-0.026565924,
0.018921888,
0.033211026,
0.050062653,
0.01024272,
0.043026663,
0.029215278,
-0.0044698794,
0.034137573,
0.025842058,
0.01890741,
0.01378967,
-0.005041735,
0.044358578,
0.043518893,
0.057388186,
0.018487567,
-0.012863119,
-0.0052118436,
-0.0016630847,
-0.013905488,
0.0122478325,
-0.04380844,
0.051539343,
-0.008925282,
-0.019703664,
-0.038973007,
0.010119663,
0.013956158,
0.02724636,
-0.0037785866,
0.005374714,
0.0273477,
0.040507607,
-0.008700883,
-0.0033171212,
0.010792859,
0.012819687,
0.03929151,
0.00034428932,
0.016243579,
-0.051365614,
0.0029063267,
-0.035382625,
-0.074645184,
-0.004354061,
-0.022439882,
-0.0032501635,
0.026898904,
-0.0815364,
0.0207026,
-0.024611482,
-0.0011627116,
-0.00985907,
-0.026725175,
-0.00040106763,
0.059096515,
0.044242762,
-0.021773923,
0.030228693,
-0.02320718,
0.036424994,
-0.01803877,
-0.040131196,
0.036598723,
-0.019370684,
0.035498444,
0.0017608069,
0.0016106045,
-0.020528872,
-0.06202094,
-0.026725175,
-0.026652789,
0.003362363,
0.0018657676,
0.014680026,
-0.034195483,
0.030576149,
-0.0012414322,
-0.007256768,
0.038915098,
0.058835924,
-0.019703664,
-0.0037387738,
-0.008433052,
0.020630214,
-0.04745673,
0.037033044,
0.037264682,
-0.01541837,
-0.052321117,
-0.057735644,
0.0005270658,
0.009866309,
0.020470964,
-0.018675772,
-0.027159495,
0.0352089,
-0.022801815,
-0.06196303,
0.021397512,
-0.046501227,
-0.019139048,
0.0060623875,
0.00020879043,
0.019472027,
-0.01748863,
0.008013209,
-0.056461636,
-0.0098373545,
-0.0116542615,
0.00035831425,
0.01760445,
-0.015606576,
0.00090211944,
0.029403483,
0.052205298,
-0.0040066047,
0.030373465,
-0.044619173,
-0.0053204237,
-0.021860788,
0.012971699,
0.020282758,
-0.0030927225,
-0.009070056,
0.011755602,
0.03312416,
-0.03486144,
0.018806068,
0.009316171,
0.008092835,
-0.004556744,
0.03237134,
-0.0022964685,
0.024292981,
-0.014325331,
-0.04114461,
0.04238966,
0.014542491,
0.058806967,
-0.03436921,
0.037930638,
0.00092609756,
-0.036164403,
0.032834616,
0.022903157,
-0.03344266,
0.007513741,
0.025161622,
0.0429398,
-0.019023228,
-0.044677082,
0.011357476,
-0.007651276,
0.03268984,
0.03868346,
0.00207026,
-0.024510141,
-0.03292148,
-0.025566988,
0.009062816,
-0.0037351544,
0.00037505367,
-0.004755807,
-0.023337478,
0.010807336,
-0.046674956,
0.008005971,
-0.0027325985,
0.026232945,
0.03541158,
0.06659578,
0.0057945563,
0.024046866,
0.022381973,
0.0018693869,
-0.04169475,
-0.03344266,
0.015809258,
0.017300425,
0.015664484,
-0.025364306,
-0.016851628,
-0.015157778,
0.009982128,
0.009489899,
-0.025407737,
-0.060341567,
-0.0090338625,
-0.0018069533,
0.057504006,
-0.024712825,
0.009902502,
-0.0152880745,
-0.0011011829,
0.04047865,
-0.04120252,
-0.010633608,
-0.020774987,
-0.02032619,
0.02446671,
0.018415181,
-0.018169066,
-0.025320873,
-0.043895304,
-0.078698836,
0.03564322,
0.035759035,
-0.019327253,
-0.022425404,
-0.040884018,
0.0035523782,
0.023511205,
-0.021585718,
-0.014853754,
-0.006076865,
-0.0042346227,
-0.024568051,
0.014998527,
-0.014122648,
-0.00044020172,
0.02631981,
0.0018503855,
0.01302237,
-0.040623423,
-0.008519917,
-0.02326509,
-0.002021399,
-0.010850769,
0.024843121,
-0.013152666,
0.015548666,
0.015765827,
0.04635645,
-0.058691148,
-0.04641436,
0.042418614,
0.0032592118,
0.008874611,
0.037264682,
-0.011922092,
0.030749876,
0.04936774,
0.022034517,
-0.028158432,
-0.0028737525,
0.014404956,
-0.015215687,
-0.006275928,
-0.00021161804,
0.005928472,
-0.049657285,
0.019168003,
-0.012464993,
-0.0020141604,
0.0138186235,
-0.04673286,
0.008954236,
0.0130151315,
-0.01656208,
-0.0196168,
-0.00016230458,
-0.0018078582,
0.002593254,
-0.026435629,
-0.058488466,
-0.041868474,
-0.0058343695,
0.013145427,
0.022743907,
0.055564042,
0.029490348,
-0.0065944297,
-0.025002372,
0.050207425,
-0.049599376,
0.0076440373,
-0.0273477,
0.022048993,
0.008693645,
0.0042961515,
0.015896123,
0.0041332813,
0.015389415,
0.0031578704,
0.026710698,
-0.020355145,
0.0092075905,
-0.010068992,
-0.0318212,
0.046124816,
-0.03237134,
-0.0716918,
-0.031155242,
0.004021082,
0.008353427,
0.012124775,
0.045864224,
-0.04181057,
-0.046008997,
-0.06688532,
0.019645754,
-0.018458612,
-0.0117917955,
-0.050496973,
-0.022266153,
0.010438165,
0.0041658552,
0.0054471004,
-0.015403893,
-0.017126696,
-0.04812269,
0.011038974,
-0.007564412,
-0.013369827,
-0.06202094,
-0.026247423,
-0.000052367264,
0.010257198,
-0.006185445,
-0.0085778255,
-0.022193767,
0.015838213,
0.020731555,
0.018820547,
-0.043258302,
-0.022874203,
0.019312775,
0.057301324,
-0.009279977,
-0.028476933,
-0.047167182,
0.040449698,
-0.03454294,
0.046240635,
-0.019211434,
-0.02817291,
-0.027043676,
-0.024278505,
0.031994928,
-0.038567644,
0.012103058,
-0.057532962,
0.019385163,
0.05400049,
0.07412399,
-0.014151603,
-0.0025371544,
-0.01525912,
-0.04991788,
0.045951087,
-0.0076657534,
0.033761162,
-0.011610829,
0.0007872055,
0.06844888,
-0.026551448,
0.0076440373,
0.078930475,
-0.004419209,
0.022106903,
-0.056258954,
0.024872076,
-0.017256994,
0.0045205504,
-0.03138688,
-0.04010224,
-0.009366841,
-0.014296376,
-0.046935547,
-0.018111156,
-0.019196957,
0.037901685,
0.06624832,
-0.024278505,
0.029316619,
-0.019587845,
-0.1211464,
-0.059646655,
0.050844427,
-0.029099459,
-0.0021317888,
0.018719204,
0.020934237,
-0.019602323,
0.020253804,
-0.018936364,
-0.009062816,
-0.037959594,
0.040391788,
-0.025653852,
-0.04554572,
0.01634492,
0.0116615,
-0.04702241,
-0.06196303,
0.003127106,
0.04954147,
-0.041492064,
-0.025364306,
0.014665549,
0.024481187,
-0.02582758,
-0.0030655775,
0.014187796,
-0.0060442905,
-0.013319155,
0.0004483452,
0.038509734,
0.0025751574,
-0.02511819,
0.04684868,
-0.026927859,
-0.0026113507,
-0.024857597,
0.021209307,
-0.020499919,
-0.0057185506,
0.009055578,
-0.015606576,
-0.005881421,
0.023902094,
-0.037612136,
0.06503222,
0.010155856,
0.018762637,
-0.044619173,
-0.026927859,
-0.057967283,
-0.017097741,
0.029200802,
0.031155242,
0.007926345,
-0.008295517,
0.022121381,
-0.0021444564,
0.028983641,
-0.026305333,
-0.040565517,
0.03442712,
-0.044677082,
-0.0011871421,
-0.010705995,
0.024814166,
0.0062252576,
0.011270612,
-0.039696876,
-0.022179289,
-0.013796908,
-0.0033153116,
0.009786684,
0.012175445,
-0.042592343,
-0.012689391,
-0.04082611,
0.01192933,
0.022324063,
-0.018921888,
-0.015809258,
0.01950098,
-0.04708032,
-0.011690455,
-0.0018711966,
0.029302143,
-0.039378375,
-0.0010215575,
-0.021788402,
0.0084040975,
-0.007169904,
-0.010126902,
-0.024481187,
0.054347947,
0.034311302,
-0.0009274548,
-0.043460984,
-0.011466056,
0.011574636,
0.0055592996,
0.045256175,
0.039030917,
-0.005117741,
-0.038046457,
-0.0118279895,
0.0033315986,
-0.056374773,
0.003148822,
-0.03034451,
0.009555046,
-0.017589971,
0.04985997,
-0.014955095,
0.06503222,
0.05214739,
0.039407328,
0.008071119,
-0.014651071,
0.031589564,
-0.008071119,
0.012522901,
0.011523965,
0.01045988,
0.029490348,
0.008548871,
0.014795844,
0.0012839594,
0.025871012,
0.023931049,
0.014781367,
-0.039320465,
-0.017300425,
-0.0044047316,
0.04178161,
0.076961555,
-0.005971904,
0.0035976197,
0.009656387,
-0.036859315,
0.022657042,
-0.024336414,
-0.028230818,
0.023945525,
-0.057069685,
-0.0026728795,
-0.008686406,
-0.020311711,
0.005769221,
-0.0041441396,
0.051365614,
0.020499919,
0.050641745,
0.0025552511,
0.0015780304,
-0.050178472,
-0.03448503,
-0.0053204237,
0.03390594,
-0.03448503,
-0.036367085,
0.045864224,
0.021079011,
0.030257648,
0.014296376,
-0.027637247,
0.006887596,
0.016026419,
0.023149272,
-0.03949419,
0.015519712,
-0.03436921,
0.0040174625,
-0.02326509,
-0.035556354,
0.011219941,
0.03879928,
-0.0199353,
0.017792655,
-0.034948304,
0.024929985,
0.001863958,
-0.012255071,
0.036598723,
0.02435089,
0.02141199,
0.024929985,
-0.0040608947,
0.044329625,
0.034456078,
0.028665138,
0.075977094,
0.0061926837,
0.018777113,
0.03596172,
0.0090338625,
0.0030185261,
0.03300834,
-0.0028140335,
0.013044086,
-0.018806068,
0.022048993,
0.021021102,
-0.0106408475,
0.042302795,
0.029504824,
-0.0035668553,
-0.010995542,
0.010416448,
-0.023294045,
0.03972583,
-0.058112055,
-0.060225748,
-0.014955095,
0.05987829,
0.043489937,
0.019168003,
0.02757934,
0.018386226,
0.057706688,
0.0302866,
0.047283,
0.018777113,
-0.008179699,
0.03138688,
-0.023829706,
0.0063519343,
0.017474152,
-0.028419025,
0.02947587,
-0.014839277,
-0.031213151,
0.029316619,
-0.0068188286,
-0.0013599654,
-0.003995747,
-0.040131196,
-0.03905987,
-0.054087352,
0.015664484,
0.0011581874,
0.0034094143,
0.0174452,
-0.04079715,
-0.0299681,
0.011951047,
0.010648086,
0.028520366,
0.023250613,
0.019645754,
0.0030601483,
0.08026239,
0.035816945,
0.024698347,
0.021021102,
0.028534843,
-0.04128938,
0.036569767,
0.028578276,
0.00092926447,
-0.02691338,
-0.037293635,
-0.021383036,
0.03034451,
-0.0073327743,
-0.01051779,
-0.03981269,
-0.047601502,
0.0073798257,
-0.027202928,
-0.0159106,
0.1031945,
0.0052009854,
0.0024340034,
0.0060117166,
-0.0025896346,
-0.038538687,
0.0033913176,
-0.006587191,
0.03341371,
0.0035704747,
-0.030807786,
-0.009077294,
-0.088253886,
-0.015360461,
-0.017720267,
-0.058835924,
0.0058343695,
0.07215508,
0.024669392,
0.013159905,
0.013427735,
-0.01717013,
-0.0037894445,
0.0034528463,
0.043982167,
0.013767953,
0.07024407,
0.06781188,
-0.021817356,
0.015490757,
0.025335351,
0.023076884,
-0.037438408,
-0.02746352,
-0.020065598,
0.004422828,
-0.04016015,
-0.027970226,
-0.042708162,
0.022917634,
0.03503517,
0.0155341895,
-0.047804188,
-0.014093693,
-0.0784672,
0.012884836,
-0.0525238,
0.004064514,
-0.0169964,
-0.018892933,
0.019920824,
-0.056809094,
0.24970521,
0.06954916,
0.04027597,
0.034253392,
-0.018733682,
0.013710043,
0.0069599827,
-0.009294454,
0.018183542,
0.0075209797,
-0.022048993,
-0.008440291,
0.021846311,
0.021527808,
-0.045082446,
0.02752143,
-0.084200226,
-0.011509487,
-0.018386226,
-0.0352089,
-0.028143955,
0.005733028,
-0.0028267012,
0.024539096,
0.007372587,
0.03268984,
-0.0060913423,
-0.04157893,
0.034079667,
-0.03089465,
0.03361639,
-0.02081842,
0.016214624,
0.0067138677,
-0.012530141,
0.011292327,
0.010293391,
-0.029273188,
-0.00092926447,
-0.012747301,
-0.01743072,
0.014491821,
0.018646818,
-0.029852282,
-0.051626205,
0.02795575,
-0.050004743,
0.011907615,
0.019095615,
-0.056114182,
0.024553575,
-0.061499752,
0.02756486,
-0.044706035,
-0.07186553,
0.0020774987,
-0.04867283,
-0.018806068,
0.03219761,
0.009612956,
0.0037677286,
-0.0052444176,
0.0005510439,
0.0072169555,
-0.042215932,
0.03002601,
0.0073363935,
0.03601963,
0.012884836,
-0.0066233845,
-0.007376206,
-0.0055267257,
0.008860134,
-0.042215932,
0.04598004,
0.0117917955,
0.015881645,
0.02620399,
-0.0000133533695,
-0.027825452,
0.015621053,
-0.03541158,
-0.006923789,
-0.051626205,
0.032718796,
0.03558531,
-0.052234255,
-0.00032076362,
-0.007774333,
0.036627676,
0.01002556,
0.071460165,
-0.022367494,
-0.0043468224,
-0.027912317
] | Multiple choice
- [DistilBertForMultipleChoice] is supported by this example script and notebook.
- [TFDistilBertForMultipleChoice] is supported by this example script and notebook.
- Multiple choice task guide
⚗️ Optimization
A blog post on how to quantize DistilBERT with 🤗 Optimum and Intel.
A blog post on how Optimizing Transformers for GPUs with 🤗 Optimum.
A blog post on Optimizing Transformers with Hugging Face Optimum.
⚡️ Inference |
[
0.039597336,
-0.031417474,
0.0007832256,
0.001834455,
-0.050466087,
0.006715131,
0.006393173,
0.0379274,
-0.031049522,
0.092271134,
0.0023173925,
0.04361651,
0.005784636,
0.003785664,
-0.03167221,
0.014406751,
-0.007323668,
-0.036682025,
-0.016600313,
0.0074581117,
0.015524761,
0.048371587,
-0.06515588,
-0.024185793,
-0.005664344,
-0.0012913714,
0.0043942006,
-0.037955705,
0.061985824,
0.04152201,
-0.017873995,
0.012538685,
-0.0015346091,
-0.026435964,
-0.032351505,
-0.016741835,
-0.01827025,
-0.0054626777,
-0.001922905,
-0.054117303,
-0.022926264,
-0.016260665,
0.05765531,
-0.026039708,
-0.07715678,
-0.011682488,
-0.02809175,
-0.04265417,
-0.04375803,
-0.052220937,
-0.010175299,
-0.0069769435,
-0.010246059,
-0.0023899216,
-0.04670165,
-0.033200625,
-0.02227527,
-0.01155512,
-0.043107037,
0.03764436,
0.04095593,
0.04095593,
-0.046163872,
-0.025289651,
-0.020265685,
0.011505588,
-0.04010681,
-0.006538231,
0.006764663,
-0.013493946,
-0.022869656,
0.03419127,
0.0035839977,
-0.057570398,
-0.018949548,
0.004900135,
0.013720378,
0.019911885,
-0.01628897,
0.06572196,
0.010762608,
0.037559446,
0.009333254,
-0.017675867,
-0.008427525,
-0.04452224,
0.03948412,
0.018072123,
-0.0018061509,
-0.026818069,
-0.018510835,
0.015156808,
-0.023181,
0.004648937,
-0.010401731,
0.033257235,
0.02436977,
0.049560357,
-0.023166848,
-0.0041642305,
0.039285995,
0.019416565,
-0.0017557343,
0.004974433,
-0.053721048,
0.007564252,
0.005933232,
0.044918496,
-0.0012285718,
-0.022586616,
0.014831312,
-0.0041040843,
-0.0053600757,
-0.007734076,
-0.020322293,
0.0351253,
0.015963472,
-0.013501022,
-0.02795023,
-0.003824582,
0.00077084254,
-0.0051760995,
0.011399448,
-0.004755077,
0.010946584,
-0.01524172,
-0.008399221,
0.011364068,
-0.04537136,
-0.03673863,
0.013225058,
0.01903446,
0.039569035,
0.040786106,
0.0182561,
-0.0196713,
0.033681795,
0.0033787936,
0.0013568244,
0.012439621,
0.024454681,
-0.01735037,
0.010989039,
0.09193149,
0.010139919,
-0.009368634,
-0.029606014,
-0.027327541,
-0.060570624,
-0.005554666,
-0.033738405,
0.04398446,
-0.007698696,
0.0003259386,
-0.010359275,
-0.056296714,
0.03187034,
0.0030709873,
0.024553746,
-0.004167768,
-0.0449468,
0.01974206,
-0.029945664,
0.045711007,
0.020053405,
0.021553518,
-0.017690018,
-0.020209078,
0.055702332,
-0.03962564,
0.026421811,
-0.017506042,
0.0113145355,
0.07370369,
0.03223829,
0.03379501,
0.02647842,
-0.02044966,
0.03778588,
0.03209677,
-0.0010348661,
0.02043551,
0.02296872,
0.019473173,
-0.015765345,
0.013614238,
0.03532343,
-0.008151561,
0.00011498512,
0.007847292,
-0.0062268865,
0.03540834,
-0.022020536,
-0.0030762942,
0.0032355045,
0.029379584,
-0.044918496,
0.018949548,
0.0032549636,
-0.030511744,
-0.054966427,
0.08253455,
-0.018298555,
-0.013543478,
0.010628163,
0.002874628,
0.023761233,
0.02451129,
0.008788401,
0.02458205,
0.029577712,
0.007712848,
-0.020817613,
-0.013975115,
0.03082309,
-0.03574799,
-0.0096729025,
0.03068157,
-0.02458205,
0.029294671,
-0.030653264,
0.052362457,
0.049900007,
0.051400118,
-0.039880376,
-0.032266594,
0.025728364,
0.03815383,
-0.021864863,
0.03569138,
0.00572449,
0.03996529,
-0.02865783,
0.057768524,
0.04650352,
-0.010656468,
0.046871472,
0.024426378,
0.036200855,
0.0031417473,
-0.0041253124,
0.040503066,
0.03540834,
0.04735264,
0.030992912,
-0.0112791555,
-0.0113145355,
0.016586162,
0.008576121,
0.023916906,
-0.07981736,
0.07942111,
0.026209531,
-0.007925129,
-0.012871258,
0.015906865,
0.018977853,
0.041776747,
-0.03840857,
-0.013217982,
0.026025556,
0.037757576,
-0.02100159,
-0.014661487,
0.016062537,
-0.0040580905,
0.02865783,
0.004733849,
0.0032744224,
-0.07959093,
0.01974206,
-0.04474867,
-0.07047703,
0.0001115024,
-0.026987892,
-0.03322893,
0.010599859,
-0.05926864,
-0.03243642,
-0.03351197,
-0.0070087854,
0.00030625844,
-0.027256781,
0.028431399,
0.044154286,
0.022317728,
-0.028261574,
-0.015015288,
-0.018624052,
0.025841579,
0.0026251988,
-0.034672435,
0.009757814,
-0.0050911875,
0.008399221,
0.016869202,
-0.016671073,
-0.007507644,
-0.024879241,
-0.022855503,
-0.04290891,
-0.016543705,
0.0070724697,
0.014718096,
-0.06425015,
0.042116396,
0.019628845,
-0.008137409,
0.03237981,
0.050126437,
-0.009474774,
0.04432411,
-0.0101611465,
0.019487325,
-0.044720367,
0.059381854,
0.046135567,
0.005915542,
-0.051937893,
-0.051456727,
-0.01678429,
-0.001813227,
0.004656013,
-0.011144712,
-0.012687282,
0.04735264,
-0.04692808,
-0.09125219,
0.014144939,
-0.048909362,
-0.05499473,
0.005968612,
-0.029322974,
0.026634092,
-0.010408807,
0.05703262,
-0.043503296,
-0.0379274,
-0.007001709,
0.034502614,
0.014159091,
0.015991777,
-0.012708509,
0.025784971,
0.04602235,
0.0042385287,
0.028190814,
-0.03990868,
-0.008116181,
0.008017116,
0.015411545,
0.000723964,
0.0055157477,
-0.011965529,
0.019586388,
0.0604008,
-0.06623143,
0.014732247,
0.024313161,
0.02303948,
-0.027709646,
0.01587856,
0.007472264,
0.0158078,
-0.005632502,
-0.04670165,
0.0407578,
0.03257794,
0.036342375,
-0.03750284,
0.02858707,
0.0045711007,
-0.013416111,
-0.0019547471,
-0.00068504596,
-0.06725038,
0.027610581,
0.016246513,
0.052164327,
-0.016458793,
-0.029860752,
0.0055865077,
-0.007606708,
-0.007037089,
0.01572289,
-0.015255872,
-0.054372042,
-0.06481623,
-0.02254416,
-0.0004599405,
-0.014619031,
0.028388942,
-0.002745491,
-0.013210906,
-0.01819949,
-0.046050657,
0.038804825,
0.018369315,
0.038040616,
0.07285457,
0.030794784,
-0.013975115,
0.034672435,
0.008802554,
0.011774477,
-0.04313534,
-0.025020763,
0.030426832,
0.013210906,
0.025417019,
-0.021511063,
0.0120150605,
-0.027865317,
0.04588083,
-0.014201547,
-0.020110013,
-0.044069376,
-0.006662061,
0.028686134,
0.02213375,
-0.014718096,
-0.027214324,
-0.0069415634,
0.0024783716,
0.042965516,
-0.039710555,
0.007564252,
-0.00013112726,
-0.027822861,
-0.0045038788,
0.009418166,
0.008611501,
-0.0470696,
-0.050466087,
-0.050324567,
0.026379356,
0.021666735,
0.0067257453,
-0.008257701,
-0.03843687,
0.02332252,
0.0044649607,
0.02135539,
-0.0051088776,
-0.00965875,
-0.00088980794,
0.007592556,
0.025049066,
-0.0027048038,
-0.030992912,
0.0052503976,
-0.017520195,
0.021327086,
-0.057627004,
-0.022600768,
-0.011540968,
-0.0069380254,
0.016628617,
0.03608764,
0.004733849,
0.005682034,
0.042314526,
0.04537136,
0.000988872,
-0.03688015,
0.030851392,
0.0023510035,
0.0050664213,
0.062099043,
0.02219036,
-0.0042703706,
0.015850257,
0.022869656,
-0.02977584,
-0.002984306,
-0.019642998,
-0.02009586,
-0.018510835,
-0.02254416,
0.017322067,
-0.041465405,
0.030370224,
-0.022770593,
-0.0030816013,
-0.01524172,
-0.0365405,
0.0050345794,
-0.001912291,
-0.0074227317,
-0.008894541,
-0.020803463,
0.002839248,
-0.004716159,
-0.019133525,
-0.08644051,
-0.049645267,
-0.018482532,
-0.03427618,
0.024299009,
0.020548726,
0.051117077,
-0.020874223,
-0.008038345,
0.045343056,
-0.02254416,
-0.0014258155,
-0.040842716,
0.020761006,
0.03637068,
-0.02023738,
-0.003806892,
0.031502385,
0.01607669,
0.0021192643,
0.026846372,
-0.007019399,
0.008639805,
0.0049815094,
-0.008080801,
0.034389395,
-0.016204057,
-0.056636363,
0.00049089803,
-0.010005475,
0.002993151,
0.025700059,
0.051768072,
-0.016671073,
-0.055447593,
-0.024681114,
0.025473626,
-0.03611594,
-0.05926864,
-0.07013739,
0.0051867133,
0.018454228,
0.0069698673,
-0.0019264431,
-0.027058652,
0.0035220827,
-0.056919403,
0.015213416,
-0.009071441,
-0.019543933,
-0.0632312,
-0.006662061,
-0.012085821,
0.022841353,
-0.0050876494,
0.02036475,
-0.025487779,
-0.016883355,
0.016388033,
0.0011967297,
-0.039002955,
-0.021794103,
0.024482986,
-0.019331653,
0.013048158,
-0.04251265,
-0.044833582,
0.021228023,
-0.040078506,
0.03153069,
-0.012651902,
-0.06272173,
-0.03376671,
0.01565213,
0.034587525,
-0.027921926,
-0.006428553,
-0.03574799,
0.014944528,
0.03843687,
0.0604008,
-0.035068695,
-0.03034192,
-0.035012085,
-0.04370142,
0.027553974,
-0.012503305,
0.021114806,
-0.0050275032,
0.0010905897,
0.058136478,
-0.049786787,
0.026676549,
0.054739993,
-0.035861205,
0.01600593,
-0.07993058,
0.06311799,
0.01566628,
-0.010430035,
-0.019869428,
-0.026761461,
-0.031134432,
0.000044888424,
0.004931977,
-0.025544386,
-0.037276406,
0.032974195,
0.08587442,
-0.04958866,
0.026167076,
0.022940416,
-0.07381691,
-0.058532733,
0.024808481,
-0.011647108,
-0.0059792264,
-0.0006704517,
0.023138544,
-0.0030126101,
0.0067257453,
-0.013217982,
-0.02227527,
-0.0058341683,
0.05765531,
-0.027355844,
-0.0337101,
0.032351505,
0.0071503054,
-0.036059335,
-0.08185525,
-0.0035539248,
-0.020902526,
-0.038040616,
-0.023931058,
0.007734076,
0.017237155,
-0.043814637,
-0.03314402,
0.026464269,
-0.0060429103,
-0.005880162,
-0.025926491,
0.0358329,
-0.012963246,
0.0017911143,
0.052560583,
-0.0036830618,
0.012432545,
-0.02479433,
0.03062496,
-0.010316819,
0.026747309,
0.04333347,
-0.024808481,
0.016798442,
0.031049522,
-0.017746627,
0.06555213,
-0.004790457,
-0.02128463,
-0.0119089205,
-0.055872153,
-0.043446686,
-0.02289796,
0.02977584,
0.04186166,
-0.006711593,
-0.02837479,
0.010889975,
0.016798442,
0.04740925,
-0.02043551,
-0.04047476,
0.0075996323,
-0.0568911,
-0.02275644,
-0.011880617,
0.008880389,
0.03280437,
0.017307915,
-0.027129414,
-0.033681795,
-0.0050734975,
-0.014286459,
0.009312026,
0.0045498726,
-0.043163646,
0.010514947,
-0.050805733,
0.012538685,
0.02991736,
-0.004365897,
0.017619258,
-0.00937571,
-0.011116408,
-0.010649391,
-0.03362519,
0.04489019,
-0.022997024,
-0.0054591396,
-0.022360183,
0.014279383,
-0.0016434027,
-0.0037290559,
-0.03608764,
0.043107037,
0.02268568,
-0.0302004,
-0.044012766,
-0.013154298,
-0.027327541,
0.009297874,
0.02493585,
0.03594612,
0.011073952,
-0.019232588,
-0.015001136,
-0.0330025,
-0.026917132,
-0.0089016175,
-0.03532343,
-0.010514947,
-0.012283949,
0.05807987,
0.012467925,
0.058476124,
0.01804382,
0.027497364,
0.0020431972,
-0.014519967,
0.011392372,
-0.004755077,
0.023053633,
-0.004921363,
0.048286676,
0.038804825,
-0.0020095862,
0.036568806,
-0.01643049,
0.018440075,
0.015454001,
-0.021411998,
-0.022034688,
0.025898186,
-0.012892486,
0.008427525,
0.08191186,
-0.030087184,
0.0064780847,
0.01727961,
-0.042597566,
0.01811458,
-0.048286676,
-0.011972604,
0.015156808,
-0.027228476,
-0.004790457,
-0.04712621,
-0.018935395,
-0.023152696,
-0.001891063,
0.041691836,
-0.0036193777,
0.023421586,
0.0011489667,
0.013501022,
-0.018935395,
-0.008993605,
-0.023973513,
0.0071007735,
-0.027638886,
-0.05955168,
0.04375803,
0.0589856,
0.033681795,
0.008186941,
-0.01763341,
0.031275954,
-0.00009115888,
0.002780871,
-0.023195153,
0.005699724,
-0.025247194,
-0.0077057723,
-0.024525441,
-0.01798721,
-0.008894541,
0.020251533,
-0.024157489,
-0.010649391,
-0.04446563,
0.03787079,
-0.026747309,
-0.012666053,
0.039087866,
0.008894541,
0.019119373,
0.03455922,
-0.0034796267,
0.015439848,
0.005682034,
0.028841807,
0.055872153,
0.005749256,
0.027709646,
0.016982418,
-0.027186021,
-0.0042809844,
0.041833356,
-0.00033721598,
0.0073519717,
-0.0016027157,
0.0010198295,
0.038238745,
0.016487097,
0.042739086,
0.025869884,
-0.025247194,
-0.015821952,
-0.021553518,
-0.009396938,
0.04081441,
-0.027299237,
-0.055928763,
-0.014406751,
0.012248569,
0.043673117,
0.027483214,
0.008484133,
0.047947027,
0.04602235,
0.027723797,
0.026846372,
0.008286005,
-0.028148357,
0.028289879,
-0.029577712,
0.009856879,
0.0027118798,
-0.01798721,
0.0031541304,
0.029973967,
-0.053438008,
0.02465281,
-0.0074934918,
-0.013847747,
0.01981282,
-0.048994277,
-0.036625415,
-0.03005888,
0.008908694,
-0.0022696294,
-0.004493265,
-0.0042349906,
-0.039852075,
-0.027242629,
0.013479794,
0.0025703597,
0.046333697,
-0.009580914,
0.03920108,
0.014194471,
0.061759394,
0.017123938,
0.015128504,
0.008024192,
0.013338274,
-0.016416337,
0.0193175,
0.020138318,
0.006361331,
-0.013819443,
-0.022530008,
-0.02991736,
0.022006383,
0.02303948,
0.010217755,
-0.024072578,
-0.025685906,
-0.0024606816,
-0.014470436,
-0.008229396,
0.08100613,
-0.02044966,
0.016586162,
0.0044684988,
-0.0023474654,
-0.04053137,
-0.003849348,
-0.012156581,
0.053126663,
-0.009488926,
-0.039314296,
-0.027822861,
-0.0758548,
-0.018907093,
0.0050098132,
-0.01812873,
-0.0043446687,
0.03379501,
0.010182375,
0.0113145355,
0.004610019,
-0.04058798,
-0.026704852,
0.017406978,
0.048965972,
-0.0114560565,
0.09713943,
0.029238062,
-0.038380265,
0.014201547,
0.015637977,
0.047947027,
-0.0070936973,
-0.044352416,
-0.012729738,
0.0093898615,
-0.053947482,
-0.011583424,
0.006704517,
0.040701196,
0.044918496,
-0.010040855,
-0.045682706,
-0.01678429,
-0.08270437,
0.03048344,
-0.02128463,
0.0010233676,
-0.012765118,
-0.014194471,
0.03348367,
-0.04622048,
0.23820671,
0.06164618,
0.037276406,
0.07715678,
-0.03237981,
-0.0060818284,
-0.0063011847,
-0.015326632,
0.014972832,
-0.042116396,
-0.017364522,
-0.025898186,
0.023223456,
0.030794784,
0.0035220827,
0.03421957,
-0.07194884,
0.0013515174,
0.017378675,
-0.0033734865,
-0.055221163,
-0.013302894,
-0.016826745,
0.03518191,
0.024836786,
0.012977398,
-0.016770137,
-0.019006155,
0.03905956,
-0.020520423,
0.015524761,
-0.003867038,
0.04109745,
-0.015142656,
-0.014873767,
0.033398755,
0.0017194698,
-0.051230293,
0.034162965,
-0.0026358129,
-0.0008053381,
0.005561742,
0.024525441,
-0.018072123,
-0.009036061,
0.04138049,
0.0023014715,
0.0035486177,
0.015298328,
-0.048937667,
0.012899562,
-0.04389955,
0.014236927,
-0.036285765,
-0.060004544,
-0.010486643,
-0.00972951,
-0.020987438,
0.022105448,
0.032068465,
0.012333481,
0.028884262,
-0.008717641,
0.0023616175,
-0.04251265,
0.06153296,
0.041352186,
0.049645267,
-0.012022137,
-0.037955705,
-0.0034867027,
-0.0027755639,
0.008880389,
-0.0041040843,
0.06934487,
0.024766026,
0.0070689316,
-0.017194698,
0.013585934,
-0.016883355,
0.028275726,
-0.039087866,
-0.050664213,
-0.036908455,
0.016798442,
0.020775158,
-0.014576576,
0.014788856,
-0.03062496,
0.049900007,
0.009043138,
0.053239882,
-0.022246968,
-0.014074178,
-0.027256781
] | [DistilBertForQuestionAnswering] is supported by this example script and notebook.
[TFDistilBertForQuestionAnswering] is supported by this example script and notebook.
[FlaxDistilBertForQuestionAnswering] is supported by this example script.
Question answering chapter of the 🤗 Hugging Face Course.
Question answering task guide |
[
0.018673005,
0.0023000115,
-0.036771454,
0.0037597378,
-0.008338215,
-0.018471912,
-0.010988345,
0.0016823659,
0.011311532,
0.07515166,
-0.031887747,
-0.00095160503,
0.03447324,
-0.0023754216,
0.021186678,
0.029144252,
-0.024619639,
-0.048693452,
-0.021387773,
0.014909676,
0.021028677,
0.021876143,
-0.035421252,
-0.037518375,
-0.0043773833,
0.031025916,
-0.008898405,
-0.044441752,
0.07992046,
0.082276136,
0.00088831433,
-0.012489367,
-0.008445944,
-0.0054043983,
-0.024073813,
-0.021057405,
0.0069161938,
-0.033180494,
-0.004966301,
-0.021574503,
-0.008984588,
-0.012561187,
0.026357664,
-0.048262537,
-0.060787812,
-0.01630297,
0.011950723,
-0.022450697,
-0.023398712,
-0.024504729,
-0.022436334,
-0.0009937988,
-0.03447324,
-0.015527322,
0.0025190602,
0.004183471,
-0.009709963,
0.023341255,
0.020655217,
0.01735153,
0.017380258,
0.063488215,
-0.012216454,
-0.013329653,
0.008704493,
0.040103868,
-0.006768964,
-0.011893268,
-0.0013645657,
0.01850064,
-0.026644941,
0.039816592,
-0.0021779188,
-0.016963707,
-0.0029194525,
0.020023206,
-0.04582068,
0.0256682,
0.03970168,
0.044585392,
0.02615657,
0.0024077403,
-0.034300875,
0.030681184,
-0.027248222,
-0.01395448,
0.026400756,
-0.024404181,
-0.021502683,
-0.020956857,
-0.00828076,
0.0329794,
-0.015010223,
0.0019642564,
0.0073147905,
0.0030271814,
0.012826918,
0.016015694,
0.03372632,
0.02081322,
-0.0015692506,
0.024332361,
0.04197117,
0.04248827,
-0.045677043,
-0.02604166,
-0.0025082873,
0.0049088458,
-0.008453126,
-0.08158667,
-0.009616598,
-0.0018996191,
-0.0040721516,
-0.007749297,
-0.01735153,
-0.0072178347,
0.01861555,
0.028584061,
-0.089515515,
0.027363135,
0.022781067,
-0.024950007,
-0.0146224,
0.011921995,
-0.00432711,
0.0061513186,
0.01940556,
0.024375454,
-0.04380974,
-0.00032318663,
-0.039988957,
0.02171814,
0.052341867,
0.06831447,
0.029445892,
0.0011930973,
0.030853549,
0.031169554,
-0.004323519,
-0.04831999,
0.039012216,
-0.011893268,
0.024691459,
0.090377346,
0.004316337,
0.0031402968,
-0.019649746,
0.010909344,
-0.03197393,
0.016662067,
0.009207228,
0.064120226,
0.02484946,
0.023211982,
-0.029014977,
-0.051020395,
0.035737257,
0.020913765,
0.003989559,
0.012740735,
-0.023484895,
0.043895926,
-0.015038951,
0.04162644,
-0.020770127,
0.05917906,
-0.035019066,
-0.0023861947,
0.03797802,
-0.016504064,
-0.003149274,
0.045303583,
0.004233745,
0.030566273,
0.053921893,
0.02559638,
0.020324847,
0.006506824,
0.04406829,
0.01492404,
-0.005914315,
0.01917574,
0.02062649,
0.05107785,
-0.02081322,
0.014478761,
0.030451361,
0.0034365512,
-0.012180544,
-0.026946582,
-0.029991718,
0.008237668,
-0.0070454683,
0.04248827,
-0.0039608316,
0.009918238,
-0.062281653,
-0.012137453,
0.048808362,
-0.06268384,
-0.035306342,
0.06762501,
0.0036807365,
0.0004111652,
0.017739356,
-0.037518375,
0.016547155,
0.042287175,
-0.014780401,
-0.01611624,
-0.0021994645,
0.029417165,
-0.031083371,
0.0008708084,
0.011067347,
-0.014234575,
0.0030469317,
0.0061836373,
0.021502683,
-0.013853934,
-0.0044132927,
0.036656544,
0.058288503,
0.035306342,
-0.05093421,
0.023527985,
0.009767418,
0.038035475,
-0.008072483,
0.018184634,
-0.011038619,
0.042028625,
-0.010765705,
0.06768246,
-0.010772888,
0.018902827,
0.011124802,
0.0071567884,
0.00865422,
-0.012568369,
0.015728416,
0.018816642,
0.06446496,
0.05992598,
0.014126847,
-0.011318713,
0.013150104,
-0.00043428203,
-0.013365562,
-0.011555717,
-0.0073973825,
0.06980831,
-0.019434288,
-0.030480089,
-0.021732505,
0.018902827,
0.017811174,
0.013537928,
0.0078067523,
-0.025424015,
-0.011333077,
0.033812504,
-0.059121605,
0.0021653504,
-0.0033647318,
-0.007749297,
-0.0074332925,
0.040103868,
0.020885037,
-0.057426672,
-0.019376833,
-0.05193968,
-0.06710791,
0.0058891783,
-0.052514236,
-0.038380206,
0.03160047,
-0.079575725,
0.024576547,
0.016346062,
0.008532126,
-0.043005366,
-0.01492404,
0.036512908,
0.03734601,
0.01742335,
-0.023944538,
0.023197617,
-0.02298216,
0.027363135,
-0.0070562414,
-0.009975694,
-0.039385676,
-0.0023610578,
-0.022091601,
-0.015656596,
-0.017495168,
0.009623779,
-0.04587814,
-0.02268052,
-0.022493789,
-0.028928794,
0.0011859153,
-0.0023790125,
-0.0049555283,
-0.029646987,
0.022551244,
-0.020152481,
0.025467105,
0.04570577,
-0.07331309,
0.0075122933,
0.008137121,
0.03338159,
-0.064522415,
0.03547871,
0.022752339,
0.017092982,
-0.010636431,
-0.0005651277,
0.014270484,
0.0031205465,
-0.0069305575,
0.00082816574,
-0.035909627,
0.057139397,
0.0031797972,
-0.08325288,
0.05156622,
-0.023255073,
-0.07526657,
-0.01679134,
-0.032433573,
-0.011591627,
0.028081326,
0.056651022,
0.0037166462,
-0.024547819,
0.0076343864,
0.044556662,
-0.006984422,
-0.01242473,
0.012884374,
0.056880847,
0.023628533,
0.029618258,
0.04599305,
-0.026874764,
0.010133696,
0.02697531,
-0.01742335,
-0.03320922,
-0.018270817,
0.018529367,
0.049555283,
0.032692123,
-0.08434453,
0.018155906,
0.06486715,
0.037144914,
0.0051207123,
0.039902776,
0.041798804,
0.0070634233,
0.025136737,
-0.026056023,
0.09508868,
0.010227061,
0.0076990235,
-0.01376775,
0.03272085,
0.011957905,
-0.022034146,
0.012180544,
-0.02111486,
-0.00567013,
0.039385676,
-0.040103868,
0.014083755,
-0.024490364,
0.0026986082,
-0.0072645172,
0.008927133,
-0.020281756,
-0.010665159,
-0.0011437215,
-0.05894924,
0.028497878,
-0.017882993,
0.0023161708,
0.014234575,
0.013028012,
-0.020655217,
-0.02354235,
-0.023757808,
-0.054295354,
-0.011548535,
0.010701068,
0.025912385,
0.0044707484,
0.049095638,
-0.041051883,
-0.008417216,
0.015929509,
0.0025567652,
-0.012467822,
-0.02197669,
0.0011904041,
0.0044492027,
0.007235789,
-0.030192813,
0.049296733,
-0.053347338,
0.046136685,
0.013437382,
-0.046165414,
-0.07406001,
-0.024964372,
-0.041195523,
0.010248607,
-0.044039562,
-0.0022748748,
-0.028440423,
0.0022156239,
0.048722178,
0.0077852067,
-0.022235239,
-0.0058963606,
-0.028957522,
0.007555385,
0.005271533,
0.013107013,
-0.0050165746,
-0.073887646,
-0.03473179,
0.040046412,
0.010076241,
0.041913714,
0.016346062,
-0.033783775,
0.0044887033,
0.012913101,
-0.015053315,
0.024131268,
0.0096525075,
0.0001602467,
0.03122701,
0.00485139,
0.0372311,
-0.0015764325,
0.021172315,
-0.0171648,
0.050273474,
-0.018529367,
-0.01365284,
-0.019836476,
0.018572457,
-0.0018978236,
0.015412411,
0.01171372,
0.015125134,
0.026486939,
0.028900066,
0.0016168308,
-0.045045033,
0.030738639,
0.0013986799,
0.017653171,
0.044556662,
0.04395338,
0.001395089,
0.05518591,
0.006815647,
-0.04596432,
0.008661401,
-0.02641512,
0.0053972164,
0.015915146,
0.0032103204,
0.016101876,
-0.036369268,
0.029646987,
-0.012719189,
-0.0032821398,
-0.05969616,
-0.010851889,
-0.012403185,
-0.0343296,
0.004517431,
-0.02522292,
-0.013660021,
0.008546491,
-0.004876527,
-0.021445228,
-0.057512853,
-0.037662014,
-0.058547053,
-0.003946468,
-0.016891887,
-0.0128412815,
-0.02503619,
-0.025696928,
-0.01959229,
0.017021162,
-0.005749131,
0.012654552,
-0.0409657,
0.0022748748,
-0.034501966,
-0.0052499874,
-0.03786311,
0.04696979,
0.0032731623,
-0.027075857,
0.08744712,
-0.016173694,
0.00641705,
-0.020784492,
-0.043292645,
0.031686652,
-0.021775596,
-0.04682615,
-0.022134693,
0.038150385,
-0.04194244,
0.016403517,
0.023987629,
-0.031313192,
-0.032060113,
-0.006327276,
0.024792004,
-0.04125298,
-0.010736978,
-0.062109288,
0.017509533,
0.042775545,
0.03470306,
0.02835424,
-0.013042375,
0.023312528,
-0.023944538,
0.0014740902,
-0.04570577,
-0.04559086,
0.017696263,
-0.037805654,
-0.02062649,
0.03435833,
-0.00041094076,
-0.015383683,
-0.048118897,
0.015211317,
-0.011009891,
0.007059832,
-0.063832946,
-0.030451361,
-0.0076343864,
0.013200378,
0.026012933,
0.017581353,
0.0072178347,
0.051250216,
-0.013164468,
0.011160712,
-0.009537596,
0.007009559,
-0.022220876,
-0.02779405,
-0.002111486,
-0.018716097,
-0.017452078,
-0.0075912946,
0.019046465,
0.030939734,
0.048779633,
-0.033065584,
-0.06871666,
-0.026673669,
-0.036455452,
-0.008366942,
0.0014839652,
0.049153093,
-0.017897356,
-0.011684992,
0.036915094,
0.020195574,
0.04406829,
0.012812554,
0.013458927,
0.009358048,
-0.031657927,
0.025682563,
0.031313192,
0.012101543,
-0.001723662,
0.008661401,
-0.02608475,
-0.016130604,
-0.0086254915,
-0.031169554,
-0.022809794,
0.053692073,
0.060615446,
-0.012905919,
0.0064565507,
0.0025244467,
-0.042402085,
-0.030767366,
0.063373305,
-0.0026806535,
-0.009717144,
0.037891835,
0.04582068,
-0.005741949,
0.04294791,
0.010097787,
-0.0058712238,
-0.009810509,
0.062511474,
-0.050991666,
-0.0334965,
0.027320042,
0.02984808,
-0.012661734,
-0.05458263,
0.019937024,
-0.006510415,
0.008489035,
-0.044355568,
0.00462516,
-0.023269437,
-0.02293907,
-0.015613505,
0.0027093813,
-0.044700302,
0.012388821,
0.0012325979,
-0.012884374,
-0.038179114,
-0.02372908,
0.037776925,
-0.023743443,
0.0036645771,
-0.021833051,
0.0107513415,
-0.051164035,
0.0014938404,
0.055875376,
-0.008690129,
0.021086132,
0.032031387,
-0.0033521634,
0.02809569,
-0.036283083,
0.015498594,
0.031284466,
-0.039672952,
-0.04570577,
-0.011792721,
0.013509201,
0.034042325,
0.0035209388,
-0.026659306,
-0.0072573354,
-0.019793386,
0.006711509,
-0.044527933,
-0.044700302,
-0.008553673,
-0.0385813,
-0.016532792,
0.023714716,
-0.011699356,
0.035852168,
-0.011957905,
0.0022641018,
-0.017322803,
-0.02716204,
0.018572457,
0.016920615,
-0.015412411,
-0.015714051,
0.0006953001,
-0.07859898,
-0.016475337,
-0.004869345,
-0.021315953,
0.0009767418,
-0.007555385,
-0.04317773,
-0.03283576,
-0.0055157184,
0.0334965,
-0.009982876,
-0.010262971,
0.018184634,
-0.02898625,
-0.050905485,
0.017179165,
-0.0238009,
0.06641844,
0.024820732,
-0.026530031,
0.0147014,
-0.05593283,
0.018198999,
-0.026731124,
0.011627536,
-0.004197835,
0.01656152,
-0.06618862,
0.0041762893,
-0.027564228,
-0.028397331,
-0.026443848,
-0.013516382,
0.0031349103,
-0.044441752,
0.035507437,
0.004481521,
0.032203753,
0.03944313,
0.039270766,
0.002869179,
-0.044700302,
-0.0053325794,
0.006039999,
-0.025007462,
0.0021886916,
0.009616598,
0.017552625,
0.016460972,
0.0055013546,
-0.048377447,
0.019003373,
0.030537546,
-0.02522292,
-0.042919185,
0.04406829,
0.00090492255,
0.05544446,
0.04383847,
0.008560855,
-0.021014312,
0.010155242,
-0.02660185,
0.03522016,
-0.013092649,
-0.029560803,
-0.0066504623,
-0.03481797,
0.040764607,
-0.0091928635,
0.004783162,
-0.0017613671,
0.01093089,
0.012633006,
-0.025768748,
0.01910392,
0.0019929842,
0.00292843,
-0.025984205,
-0.015986964,
-0.015484231,
0.01746644,
-0.026731124,
-0.03447324,
0.009666871,
0.040075142,
-0.029704442,
-0.019577928,
-0.01145517,
-0.014083755,
-0.015082043,
0.044039562,
-0.0061944104,
0.00007153871,
-0.06590135,
0.023757808,
-0.02286725,
0.012396002,
-0.0171648,
0.029790625,
-0.045045033,
-0.0024113313,
0.01798354,
0.051537495,
0.03794929,
-0.013214742,
0.021402135,
0.011850176,
0.004007514,
0.0065570977,
-0.009257501,
-0.0025621518,
0.006952103,
0.013897025,
0.06911884,
0.007670296,
0.015972601,
-0.007892936,
-0.047917802,
0.073887646,
0.04297664,
-0.044384297,
-0.0039608316,
0.024605274,
-0.007950391,
0.046395235,
0.0055839466,
0.04533231,
0.012338547,
-0.0052894875,
-0.008690129,
-0.01492404,
-0.006309321,
0.022235239,
-0.044039562,
-0.047027245,
-0.03335286,
0.006147728,
0.018342637,
0.011261258,
0.02428927,
0.030192813,
0.052945152,
0.034415785,
-0.010428155,
0.03685764,
0.0074332925,
-0.0052068955,
-0.0032013431,
-0.014220212,
0.031916473,
-0.045389764,
-0.0011087097,
0.039242037,
-0.020770127,
0.017394623,
-0.0013457132,
-0.05193968,
0.024447273,
-0.048779633,
-0.044527933,
-0.061419822,
0.013293743,
0.013142923,
-0.031514287,
0.02190487,
-0.044298112,
-0.043292645,
0.009803328,
-0.073772736,
0.026443848,
-0.04820508,
0.060615446,
-0.011893268,
0.06687809,
-0.013186014,
0.035765987,
-0.007849844,
-0.010643613,
-0.026486939,
-0.030824821,
-0.00195887,
-0.051135305,
-0.022105966,
0.0022982159,
-0.072681084,
0.009666871,
0.019506108,
-0.018629914,
-0.04125298,
-0.017322803,
0.042143535,
-0.038782395,
-0.024576547,
0.044700302,
-0.018759187,
0.020367939,
-0.018328272,
-0.062109288,
-0.005555219,
0.010593339,
-0.043637376,
0.053893164,
-0.035306342,
-0.026759852,
0.0007051753,
-0.039270766,
-0.022838522,
0.017653171,
-0.027061494,
-0.02742059,
0.016231151,
0.018931555,
0.0070167407,
0.03958677,
-0.019908296,
0.0027991552,
0.032519758,
0.033553954,
0.011383351,
0.06837193,
0.02835424,
-0.009444231,
0.011505444,
0.030595,
0.019046465,
-0.023384348,
-0.029316617,
-0.0011096074,
0.025912385,
-0.039931502,
-0.003309072,
0.012087179,
0.040017687,
-0.013250652,
0.002253329,
-0.041884985,
0.0056270384,
-0.05869069,
-0.004984256,
-0.018026631,
-0.053060062,
-0.010780069,
0.01358102,
0.03955804,
-0.030393906,
0.24430037,
0.03435833,
0.014406942,
0.044729028,
-0.00843158,
-0.007749297,
0.00056961644,
-0.017581353,
0.023154527,
-0.066993,
-0.019577928,
-0.0069377394,
0.05869069,
0.02697531,
-0.0017389236,
-0.025495833,
-0.047515616,
0.051135305,
0.029790625,
-0.0588056,
-0.0334965,
0.015742779,
-0.0465676,
0.011821449,
-0.005835314,
0.023369985,
0.019534836,
-0.00042867113,
0.017681899,
-0.018572457,
0.01149108,
0.008410034,
0.023513623,
-0.014995859,
-0.014256121,
0.011763993,
-0.03869621,
-0.042890456,
0.057139397,
-0.0037022822,
-0.01395448,
-0.0016123422,
-0.029330982,
0.022005418,
-0.010456882,
0.035248887,
0.035823442,
-0.0061549097,
-0.0130998315,
-0.05958125,
0.031571742,
-0.02092813,
0.03846639,
-0.016245514,
-0.07601349,
0.0145649435,
-0.020655217,
-0.02996299,
0.038667485,
0.018773552,
0.030997189,
0.02772223,
-0.040735878,
-0.01660461,
-0.03932822,
-0.037432194,
0.042402085,
0.027334407,
-0.022579972,
-0.001193995,
0.018831007,
0.019937024,
-0.02361417,
0.00078417646,
0.08325288,
0.03421469,
-0.00783548,
-0.0055659916,
0.037432194,
-0.019491745,
-0.0056880848,
-0.043608647,
-0.015599141,
-0.041051883,
0.028512241,
0.032778304,
-0.030365178,
0.0050919848,
-0.046912335,
0.018371364,
0.004334292,
0.022263967,
0.039730407,
-0.016231151,
0.044240657
] | Combining DistilBERT and Flash Attention 2
First, make sure to install the latest version of Flash Attention 2 to include the sliding window attention feature. |
[
0.01499445,
0.0073437933,
-0.077441104,
-0.009261688,
-0.017867805,
0.0115840845,
0.0026972573,
0.011228402,
0.0324717,
0.04681058,
0.009931208,
-0.03448026,
0.028761446,
-0.06114946,
0.011842128,
-0.024046913,
-0.022456804,
-0.027729271,
-0.01174449,
0.005711839,
0.009742905,
0.00061852107,
-0.049404968,
-0.039501656,
-0.012448881,
0.05255729,
0.019206844,
-0.0070892363,
0.11850497,
0.043100327,
-0.03620985,
-0.0033842125,
-0.0018708191,
-0.032694876,
0.013223013,
-0.0014846249,
0.00008347201,
0.009024567,
-0.049349174,
-0.06784465,
-0.006520842,
-0.025176728,
0.03980852,
-0.04840069,
-0.071861774,
-0.0010504832,
-0.008717704,
-0.034508158,
0.0014741636,
-0.024381673,
-0.047535893,
0.031969562,
-0.002983198,
0.043825638,
-0.02266603,
-0.015301313,
-0.022010457,
-0.01070534,
-0.04722903,
0.047173236,
0.045359954,
0.034340777,
-0.014785225,
-0.050437145,
-0.0006433665,
0.03955745,
0.010342684,
-0.02032271,
-0.035512436,
-0.021578059,
-0.00045724356,
-0.0014410364,
-0.017281976,
-0.05607227,
-0.0033319062,
0.0035916937,
-0.002660643,
0.007936597,
0.0076436824,
0.085698515,
0.04273767,
0.03116056,
-0.03280646,
0.019443966,
-0.015956884,
-0.038776346,
0.0591409,
-0.020350607,
-0.022094147,
-0.03933428,
-0.01940212,
0.024632743,
0.000057972728,
0.03673989,
-0.005286415,
0.02890093,
-0.012595338,
0.07705055,
-0.01491076,
0.030853696,
0.049098104,
0.04424409,
-0.00066036603,
0.04114756,
-0.049126003,
-0.017295923,
0.028761446,
0.00092146127,
-0.002934379,
-0.019792674,
0.00941512,
0.0015177522,
-0.009505784,
0.008620065,
-0.008585194,
0.00737169,
-0.016710093,
0.025692815,
-0.032443807,
-0.024116654,
-0.024702484,
-0.023377394,
0.039948005,
-0.01224663,
-0.013627514,
-0.03007259,
0.016947215,
0.0121908365,
-0.02705975,
-0.02432588,
-0.008090029,
0.029096207,
0.035121884,
0.05213884,
0.039529555,
-0.043686155,
0.029514657,
0.0017714374,
0.0053317472,
-0.042793464,
0.0031697568,
-0.014589949,
0.044188295,
0.08681438,
-0.032527495,
0.008899031,
-0.012441906,
-0.02715739,
-0.07571151,
0.00857822,
-0.006388333,
0.025302263,
0.02799429,
0.022958944,
-0.048847035,
-0.023433186,
-0.009470913,
0.011653826,
-0.010524011,
-0.012790615,
-0.019025516,
0.01650087,
-0.051859874,
0.02107592,
-0.023586618,
0.028649861,
-0.0020783006,
-0.017477252,
0.020280866,
-0.0358472,
-0.024214294,
-0.027701374,
-0.01115866,
0.029682036,
0.03230432,
0.035372954,
0.035540335,
-0.00770645,
0.035121884,
-0.017044853,
-0.012964969,
-0.021340938,
0.0051573934,
0.026097316,
-0.022303373,
0.016263748,
0.02182913,
-0.010314787,
0.010761133,
-0.016724043,
-0.014220318,
0.04865176,
-0.025609126,
0.016556662,
-0.032778565,
0.027338717,
-0.040868595,
0.005485179,
0.009687112,
-0.04072911,
-0.0051190355,
0.09708034,
-0.01224663,
-0.012204785,
0.010551908,
-0.026194954,
0.0013486287,
0.012567441,
-0.044774126,
-0.03833,
0.046503715,
0.04098018,
-0.009589474,
-0.018021237,
0.038943723,
0.0003837969,
-0.03442447,
0.027589787,
-0.0007253129,
0.004662228,
0.015789505,
0.029933106,
0.04505309,
0.0011925818,
0.0041914717,
0.028845137,
0.03339229,
0.03023997,
0.006771912,
0.012734821,
0.033169117,
0.02531621,
0.03657251,
0.042681877,
0.016445076,
-0.0018533837,
0.020434298,
0.0283151,
0.03883214,
0.023684256,
0.008675858,
-0.0072112842,
0.02473038,
-0.00072444114,
0.037046753,
-0.02181518,
0.0020591216,
-0.011242351,
-0.03431288,
0.04178918,
-0.07900331,
0.05478902,
0.011263273,
0.0048191464,
-0.046503715,
-0.001120225,
-0.028329048,
0.022442855,
0.020783005,
-0.021592008,
0.012741796,
0.029347276,
0.004208907,
0.003040735,
0.042793464,
0.0009118718,
0.014506258,
0.013662385,
0.008368995,
-0.06862576,
-0.028189566,
-0.047870655,
-0.03905531,
0.0021654775,
-0.06499919,
0.000694801,
-0.016961163,
-0.062934846,
0.020392451,
0.009317481,
0.01062165,
0.007155491,
-0.008885084,
0.010844823,
0.06963004,
0.027422408,
-0.03866476,
0.010147407,
-0.032778565,
0.034173395,
-0.004379774,
-0.012581389,
-0.0076994756,
0.008647962,
0.031355835,
-0.0048086853,
-0.028064031,
0.004812172,
-0.016249798,
0.0013834995,
-0.022889202,
-0.005398002,
0.026459973,
0.07236391,
-0.03375495,
0.021299092,
0.007629734,
-0.013229987,
0.044857815,
0.03473133,
-0.044829916,
0.023726102,
-0.0021253761,
0.0324717,
-0.0299889,
0.043853536,
0.06220953,
-0.016626405,
-0.048233308,
-0.048707552,
-0.01219781,
0.007117133,
-0.0077831657,
-0.0383021,
-0.028064031,
0.06622665,
-0.06254429,
-0.07420509,
0.01673799,
0.027227132,
-0.052250426,
0.012832459,
-0.036126163,
0.03623775,
0.00018176412,
0.017184338,
-0.05040925,
-0.032276426,
-0.011353937,
-0.007629734,
-0.025971781,
-0.010258993,
0.0076088114,
0.043769844,
0.0015491359,
0.022847356,
0.041342836,
-0.048317,
0.0058513223,
0.008731652,
-0.038023137,
-0.009882389,
-0.022540495,
-0.01499445,
0.010949436,
0.04488571,
-0.05969883,
-0.011890948,
0.02466064,
0.0028907903,
0.023726102,
0.044188295,
0.029849416,
-0.0026466947,
-0.053254705,
-0.028524326,
0.012267552,
0.036433026,
0.051497217,
-0.028133772,
0.046922166,
0.0055374852,
-0.038023137,
-0.012971942,
0.007573941,
-0.061205253,
-0.016919319,
0.030407349,
0.026529714,
-0.016319541,
0.030714212,
0.005565382,
-0.01797939,
0.032527495,
0.026641302,
0.00493422,
-0.04215184,
-0.00036069498,
-0.024046913,
-0.0018237436,
-0.0116817225,
0.0026920268,
-0.015524486,
0.025664918,
-0.029012516,
-0.028301151,
0.016724043,
-0.0044495156,
0.050325558,
0.03090949,
0.074149296,
-0.014631794,
0.008145822,
0.018355995,
0.02032271,
-0.015887143,
-0.02506514,
0.012588364,
0.027617684,
-0.017505148,
0.035261367,
0.006928831,
-0.0052899024,
0.023349497,
-0.042207632,
-0.06382754,
-0.05456585,
0.02148042,
0.010028846,
0.058582965,
0.01465969,
-0.011549214,
-0.017965443,
0.0072182585,
0.01797939,
-0.04114756,
-0.0017304642,
-0.03431288,
-0.04675479,
-0.002315422,
0.016724043,
-0.02823141,
-0.009157076,
-0.02182913,
-0.046252646,
0.03230432,
0.046950065,
0.0100567425,
-0.00059759856,
-0.051329836,
0.0081876675,
0.014436517,
0.002786178,
0.010021872,
0.04555523,
-0.00035481053,
-0.0011638134,
0.06678458,
0.029933106,
-0.009680138,
-0.012204785,
0.008871135,
0.0050702165,
-0.05322681,
-0.06304643,
-0.016180057,
0.007075288,
-0.025637021,
0.037520997,
0.030853696,
-0.02149437,
0.05322681,
0.055012196,
-0.03422919,
-0.03682358,
0.04463464,
0.02524647,
0.007657631,
0.030770006,
-0.008403866,
0.0029082259,
0.040310662,
0.0019039464,
-0.033308603,
0.0042647007,
-0.007448406,
0.004055476,
-0.014548103,
-0.0036056421,
0.030853696,
-0.031467423,
0.033308603,
0.0016197492,
-0.016710093,
-0.016291644,
-0.0041775233,
0.00023603182,
0.016305592,
0.014018067,
0.02598573,
0.00928261,
0.021340938,
0.013927403,
-0.022693925,
-0.030881593,
-0.04390933,
0.00011856077,
0.011723568,
0.04148232,
0.026306542,
0.0516646,
-0.024855915,
-0.021801233,
-0.015761608,
-0.036600407,
-0.016668249,
-0.06421809,
0.02940307,
-0.02107592,
-0.020713264,
0.0009859722,
-0.014018067,
0.0075669666,
-0.03233222,
-0.012511648,
-0.018802343,
0.03233222,
-0.026055472,
-0.03464764,
0.0599778,
-0.010726262,
-0.0599778,
-0.025776505,
0.04296084,
0.019597398,
0.03157901,
0.061595805,
0.016919319,
-0.015398951,
-0.06036835,
0.030184176,
-0.045862094,
-0.011967664,
-0.030546833,
-0.0065940707,
0.011674749,
0.056155957,
0.03090949,
-0.002425265,
-0.008264382,
-0.03297384,
0.019708984,
-0.05066032,
-0.024786174,
-0.02506514,
-0.0021776822,
-0.0056316364,
0.019569501,
-0.029040413,
-0.022024406,
-0.00201902,
-0.015761608,
0.023642411,
0.042681877,
-0.055514336,
-0.01966714,
0.003237755,
-0.03623775,
0.024130603,
0.0132090645,
-0.017058803,
0.017853856,
-0.015036295,
0.009498809,
-0.039111104,
-0.036544614,
-0.06276746,
-0.0037904575,
0.037967343,
-0.017449355,
0.01797939,
-0.013327625,
0.008599143,
0.022024406,
0.052640982,
-0.036042474,
-0.020350607,
-0.061707392,
-0.035540335,
0.024967503,
-0.032192737,
-0.033699155,
0.0010679186,
-0.02990521,
0.033950225,
-0.007497225,
0.037604686,
0.041370735,
-0.009101283,
-0.014868915,
-0.03503819,
0.044829916,
0.0021672212,
0.024855915,
-0.017379614,
0.0030878105,
0.002189887,
-0.012386113,
-0.055625923,
-0.024786174,
-0.01908131,
0.0015630842,
0.04655951,
-0.0316627,
0.02440957,
0.019527655,
-0.02323791,
-0.08781866,
0.03833,
0.00096243445,
0.044048812,
0.037214134,
0.017533045,
-0.002889047,
0.046280544,
0.027771115,
-0.008424789,
-0.055514336,
0.06466444,
-0.03350388,
-0.04865176,
0.0010583292,
-0.014352827,
-0.029709933,
-0.048763346,
-0.010733237,
0.021633852,
-0.049181797,
-0.021382783,
-0.013153271,
-0.0010757647,
-0.011716593,
0.0024932632,
0.02965414,
-0.04390933,
-0.016793784,
0.017268026,
0.023084478,
-0.00045375645,
-0.0011437627,
0.05629544,
-0.016389282,
-0.03623775,
-0.023558721,
0.0045262314,
-0.037772067,
0.0073019485,
0.028621964,
-0.029096207,
0.050771903,
0.043825638,
0.0105658565,
0.04608527,
0.00040995,
-0.03523347,
0.005303851,
-0.031467423,
-0.040422246,
-0.02449326,
0.009073386,
0.0121420175,
0.011165635,
-0.05116246,
-0.0049900133,
-0.010461244,
0.023265807,
-0.05013028,
-0.032527495,
0.030993178,
-0.04114756,
-0.0045994604,
-0.0094499905,
-0.0061930567,
-0.0034365186,
-0.0072740517,
-0.016835628,
-0.043351397,
0.018188616,
0.01640323,
0.009694086,
-0.021089869,
-0.027213182,
0.017839909,
-0.04005959,
-0.0050353454,
0.03007259,
-0.023265807,
0.06271167,
-0.008543349,
-0.024618795,
0.024186397,
0.016933268,
0.0025595177,
0.008048184,
0.011374859,
-0.019960053,
0.006419717,
-0.03740941,
0.004114756,
-0.041259147,
-0.0057990164,
-0.0050423197,
0.0007584402,
-0.0047319694,
-0.015887143,
-0.0040450143,
-0.0042612134,
0.023251858,
0.020169279,
-0.021048022,
0.00535267,
-0.02757584,
0.033810742,
-0.03130004,
-0.0106146755,
-0.032248527,
-0.034452364,
-0.023433186,
0.071415424,
-0.0013189885,
0.048512276,
-0.0026693607,
0.0014889837,
-0.0039090184,
0.023544773,
0.031021075,
-0.008403866,
0.012344268,
-0.023028685,
-0.003856712,
-0.023893481,
0.033197016,
0.020671418,
-0.0052968767,
0.010091613,
0.05713234,
0.005527024,
0.006520842,
0.0013739101,
0.02523252,
0.058248207,
0.027422408,
0.031634804,
0.021592008,
0.004208907,
-0.0105658565,
0.020029794,
-0.0499629,
-0.018035185,
0.054537952,
0.006733554,
0.020197175,
-0.0037381512,
-0.008278331,
-0.0054224115,
0.011667774,
0.048177514,
0.032611184,
0.024925657,
-0.0005601125,
0.009198921,
-0.020713264,
-0.058025032,
-0.040450145,
0.045443643,
-0.030602627,
-0.053533673,
0.033029635,
0.056155957,
0.032360114,
0.018927878,
0.009422094,
-0.009694086,
0.006569661,
0.0691279,
-0.039194796,
0.0034155962,
-0.04229132,
0.031439524,
-0.017100647,
0.018272307,
-0.02099223,
0.036181957,
-0.0018429225,
-0.0076157856,
-0.0046064346,
0.053840537,
0.010258993,
-0.013739101,
0.032945946,
-0.00966619,
0.0056107137,
0.011821206,
-0.01216294,
-0.0039159926,
0.033531774,
-0.009840543,
0.03138373,
-0.0183281,
0.0078040883,
0.032499596,
-0.03322491,
-0.01115866,
0.046252646,
-0.0077273725,
-0.014094783,
-0.0037381512,
-0.014952605,
0.03180218,
-0.03528926,
0.006126802,
0.042012356,
0.016877474,
-0.04907021,
-0.0121908365,
-0.03897162,
0.01966714,
0.0049935007,
-0.058750346,
0.0016581072,
0.0127487695,
0.04840069,
0.008166744,
0.005697891,
0.0040485016,
0.06360436,
0.022875253,
-0.0010504832,
0.021773336,
-0.00089530816,
0.027506098,
-0.046447925,
-0.009708035,
0.0051608803,
0.0005548818,
0.036377233,
0.0026275157,
-0.05897352,
0.045945782,
-0.009645267,
-0.026627352,
0.025929937,
-0.049628142,
-0.053254705,
-0.020211123,
0.018634962,
-0.017030906,
-0.009526706,
-0.031857975,
-0.028217463,
-0.019597398,
0.017839909,
-0.00941512,
0.04438357,
0.033420186,
0.015733711,
0.011821206,
0.06628244,
0.044048812,
0.010210174,
0.031885874,
0.011646852,
-0.022122044,
0.011904895,
0.014729432,
-0.050799802,
0.016542714,
-0.033587568,
-0.06773307,
-0.0031906795,
-0.0008870263,
-0.012176888,
-0.010844823,
0.0014323187,
-0.015928987,
-0.054286882,
-0.005774607,
0.08698176,
0.018439686,
-0.0055444594,
0.008871135,
0.024381673,
-0.012755743,
-0.014868915,
-0.029961003,
0.006231414,
-0.0031941666,
-0.041593906,
-0.0063499752,
-0.076492615,
0.00983357,
-0.018453635,
0.0018376919,
0.030881593,
0.0139553,
0.039780624,
-0.0034068786,
0.008201615,
-0.032945946,
-0.011625929,
0.022094147,
0.05763448,
0.02556728,
0.08011918,
0.0516646,
-0.023530824,
-0.024200344,
-0.0037555867,
0.030044693,
-0.02407481,
-0.01474338,
-0.0541195,
0.015887143,
-0.04371405,
-0.017044853,
0.03448026,
0.010398476,
0.03456395,
-0.029961003,
-0.04689427,
-0.021048022,
-0.06321381,
-0.025776505,
-0.06220953,
-0.0040973206,
0.0074832765,
-0.041203354,
0.023042634,
-0.0633254,
0.22919889,
0.040031694,
0.04675479,
0.010307812,
0.017630683,
0.036181957,
0.041287042,
0.02724108,
0.051274043,
-0.039250586,
-0.024102706,
-0.023670308,
0.028036134,
0.024019016,
-0.043853536,
0.018690756,
-0.044076707,
0.028008237,
-0.0068032956,
-0.03322491,
-0.03620985,
-0.033113323,
0.0062837205,
0.02764558,
0.034536052,
-0.026906319,
-0.010844823,
-0.032109044,
0.0060570603,
-0.024200344,
0.040673316,
0.0016084163,
0.025079088,
-0.029765727,
0.004386748,
0.04296084,
-0.014269137,
-0.010733237,
0.009987001,
0.017881753,
-0.010914565,
-0.011423678,
0.02506514,
-0.024284035,
-0.00908036,
0.037520997,
-0.027854806,
0.011249324,
0.0139622735,
-0.06566872,
0.007155491,
-0.07900331,
0.016542714,
-0.053254705,
-0.024130603,
-0.0074414317,
-0.0558212,
-0.04106387,
-0.040171176,
-0.000034325956,
0.015385003,
0.014785225,
0.00042433423,
0.015887143,
-0.02657156,
-0.0005208828,
0.021703595,
0.021396732,
0.0037590738,
-0.018314151,
-0.02340529,
0.040924385,
-0.0149805015,
-0.02348898,
0.044327777,
0.022135992,
-0.009296559,
0.028175617,
-0.0047354563,
-0.0105170375,
-0.007155491,
-0.023879534,
-0.017044853,
-0.049377073,
0.0441604,
0.004962117,
-0.05233412,
-0.008933903,
-0.0131602455,
0.017686477,
0.008752574,
0.039278485,
0.012839434,
-0.0077413204,
0.004320494
] | ⚡️ Inference
A blog post on how to Accelerate BERT inference with Hugging Face Transformers and AWS Inferentia with DistilBERT.
A blog post on Serverless Inference with Hugging Face's Transformers, DistilBERT and Amazon SageMaker.
🚀 Deploy
A blog post on how to deploy DistilBERT on Google Cloud.
A blog post on how to deploy DistilBERT with Amazon SageMaker.
A blog post on how to Deploy BERT with Hugging Face Transformers, Amazon SageMaker and Terraform module. |
[
0.014286906,
0.028325217,
-0.043489516,
-0.036441114,
-0.009241888,
0.01362886,
-0.013899391,
0.014425827,
0.02676053,
0.05667968,
-0.016641248,
-0.0065036863,
0.039775215,
-0.058054265,
0.0105067985,
0.061944045,
-0.00041242107,
-0.03182017,
-0.023821259,
-0.021700889,
0.033633452,
0.003915373,
-0.07452004,
-0.04313856,
0.021437671,
-0.0148791475,
0.026658168,
0.01313167,
0.058375977,
0.0689632,
-0.008086652,
-0.012261587,
-0.011662034,
-0.012883075,
-0.024464682,
-0.016304914,
0.0144550735,
-0.045478277,
-0.018922472,
-0.009007916,
-0.001288673,
0.01182289,
0.018673878,
-0.027360084,
-0.059545834,
-0.005220497,
0.019010212,
-0.012912322,
-0.024698652,
-0.003697852,
0.013204786,
0.032141883,
-0.013475317,
-0.023733519,
-0.015529881,
-0.014491632,
-0.008357182,
-0.0041932142,
0.012129978,
-0.015866216,
0.017079946,
-0.0013444242,
0.010024231,
-0.01159623,
0.009746389,
0.017533265,
-0.001155236,
0.023558041,
0.0071580764,
0.044483896,
-0.04138377,
0.046765123,
-0.024303826,
-0.035709955,
0.015061938,
0.0232802,
0.023938244,
0.016392652,
0.033867426,
-0.0052643665,
-0.005969938,
0.037113786,
-0.008518037,
0.0023360627,
-0.036938306,
-0.026731284,
0.027798781,
-0.029846033,
-0.007293341,
-0.016085565,
-0.0044454653,
0.022432052,
-0.037961934,
0.028646927,
0.012539429,
0.035446733,
-0.01196181,
0.014133362,
0.024259957,
-0.031966403,
0.011406127,
0.047759503,
-0.0008874479,
0.039745968,
-0.0083425585,
0.020691885,
0.008203638,
0.03415989,
-0.00875201,
-0.08294302,
-0.022007978,
-0.002365309,
0.007417639,
0.039745968,
-0.043109313,
-0.015135054,
0.009826818,
0.027111487,
-0.06492719,
-0.0073628016,
0.03307777,
-0.032902293,
-0.00060183776,
-0.027959635,
0.010857756,
-0.036265638,
0.0065329326,
0.009856064,
-0.04237815,
-0.035622213,
-0.014908394,
0.0021313373,
0.05445695,
0.08112974,
0.0022300442,
-0.03050408,
0.015149677,
0.009278446,
0.03728926,
-0.02662892,
0.020223942,
-0.016436523,
-0.004200526,
0.0872715,
0.03108901,
-0.013248656,
0.03764022,
-0.036996797,
-0.051005863,
0.039687473,
-0.049923744,
0.016816726,
-0.017226178,
0.04413294,
0.011274518,
0.020414043,
0.011888695,
-0.0144550735,
0.03714303,
0.02066264,
0.036353376,
0.025122726,
-0.0044162185,
0.03872234,
0.023865128,
0.03629488,
-0.019229561,
-0.0023543418,
0.034306124,
0.00068317953,
0.02094048,
0.041413017,
-0.022446673,
0.02667279,
0.045419786,
0.05352106,
0.03263907,
-0.025064234,
0.00911759,
0.004913409,
-0.01669974,
0.013255968,
0.00008225573,
0.08434685,
0.023835883,
0.009614781,
0.0042480514,
-0.0014577543,
-0.028178984,
-0.021759382,
-0.00485126,
0.024303826,
-0.021057466,
0.033194754,
-0.06773485,
0.0038605356,
-0.05346257,
0.012305457,
-0.0012658243,
-0.043167807,
-0.01448432,
0.048402928,
-0.034744818,
0.026146354,
0.039511997,
0.029626686,
0.042816848,
0.03997994,
0.015369026,
-0.012159225,
0.054164484,
0.017036075,
-0.03164469,
-0.008415675,
0.014338087,
-0.03465708,
-0.0055531757,
0.00057670404,
0.009512418,
0.0042846096,
-0.004522237,
-0.0056774733,
0.0014988822,
0.022812255,
0.0073225875,
-0.03524201,
-0.015822345,
0.023660403,
-0.010214333,
-0.005202218,
-0.01629029,
0.070308544,
-0.04878313,
0.043255545,
0.010748082,
0.0031860385,
0.028997885,
0.011120974,
-0.031118255,
0.044103693,
0.0051693157,
0.024245333,
0.0015756541,
0.068085805,
-0.0074615083,
-0.021744758,
0.0017639283,
0.020106956,
-0.037347756,
0.014762161,
-0.040330898,
0.057908032,
0.022212703,
-0.018015832,
-0.037552483,
0.0011314732,
0.011267207,
0.028369086,
-0.014776785,
-0.018293673,
0.029144118,
0.02654118,
-0.053959757,
-0.01782573,
0.0019741375,
0.04191021,
-0.05080114,
0.041354526,
0.009943804,
-0.015222793,
-0.055012632,
0.008861683,
-0.09200943,
0.0014906566,
-0.04796423,
-0.046852864,
0.053667292,
-0.017226178,
0.025590671,
-0.04854916,
-0.0008609433,
0.01452819,
-0.014111427,
0.070776485,
0.01863001,
0.03117675,
-0.034218382,
0.006913137,
-0.05103511,
0.007088616,
-0.019507403,
-0.0009281188,
0.007947731,
-0.02676053,
0.020969726,
0.010053478,
-0.0026687414,
0.008737386,
-0.04214418,
-0.0028954016,
0.009629404,
-0.0072860294,
-0.014381957,
-0.00025910555,
0.0065768026,
-0.0061381054,
0.04237815,
-0.055597562,
0.039219532,
0.013380265,
-0.02563454,
0.006777872,
0.009856064,
0.013387577,
-0.049426552,
0.047642518,
0.03009463,
0.015778476,
-0.025473686,
-0.018176688,
0.0057469336,
0.007278718,
-0.02427458,
-0.012261587,
-0.046911355,
0.03848837,
-0.018293673,
-0.058902413,
0.01895172,
-0.004741586,
-0.0017593587,
0.0050888876,
-0.03930727,
0.030855037,
0.024084477,
0.04696985,
-0.012086108,
0.015018068,
0.012056862,
0.038342137,
-0.02788652,
-0.03360421,
0.024113724,
0.027506316,
0.03872234,
0.027228475,
0.024947248,
-0.036148652,
0.009329627,
-0.009936492,
0.014235725,
-0.036119405,
-0.021466916,
0.028354464,
0.04290459,
0.05533434,
-0.039453503,
0.030211614,
0.019390417,
0.024786392,
0.013387577,
0.037610974,
0.0510936,
-0.00746882,
-0.002813146,
0.01024358,
0.07270675,
0.008232884,
0.058551457,
-0.013409511,
0.012466312,
-0.0063501424,
-0.029246481,
-0.0059004775,
0.009731767,
0.039014805,
0.017796483,
0.008722763,
0.015544505,
0.012393196,
-0.05346257,
0.01520817,
0.057615567,
0.04515657,
0.013870143,
-0.0028789504,
-0.029129496,
-0.013570367,
-0.02490338,
-0.015661491,
0.0022848814,
-0.02630721,
-0.03275606,
-0.0060576773,
-0.044659376,
-0.04097432,
-0.0013800684,
0.051503055,
0.07802961,
-0.0009203502,
0.05319935,
-0.02319246,
-0.03258058,
0.04129603,
-0.0054983385,
-0.008868995,
-0.03465708,
0.042641368,
0.017811107,
-0.008832437,
-0.059896793,
-0.0109747425,
-0.052555926,
0.027009126,
0.009351563,
-0.0027327181,
-0.04097432,
-0.018600762,
-0.04056487,
0.00038454554,
-0.03790344,
-0.08674506,
-0.037610974,
0.007677201,
0.05609475,
-0.024757147,
-0.012349326,
-0.019200316,
-0.019872984,
0.027009126,
-0.009687897,
-0.036119405,
-0.009183395,
0.007998913,
-0.058902413,
0.022051847,
0.016992206,
0.018308297,
0.0019193003,
-0.05080114,
-0.021247568,
0.025868513,
-0.006404979,
-0.030357847,
-0.0046355673,
-0.006719379,
0.032141883,
-0.004120098,
0.0012667382,
0.048929363,
0.03208339,
-0.02766717,
0.040681854,
0.0020673606,
-0.006876579,
-0.03301928,
-0.010667654,
0.007903862,
0.012042238,
0.023411809,
-0.019697504,
0.013226721,
0.03872234,
-0.021291438,
-0.055626806,
0.006123482,
0.005560487,
0.016144058,
0.03790344,
0.004602665,
-0.032609828,
0.03301928,
-0.0029027131,
-0.026102485,
-0.015807724,
-0.0015829658,
-0.018834734,
0.03208339,
-0.013080489,
-0.008006224,
-0.009322315,
0.052555926,
0.0018991934,
-0.0025517554,
0.02440619,
-0.05852221,
-0.037932687,
-0.007296997,
-0.012671038,
0.01728467,
-0.014184543,
-0.0025353043,
-0.0033176476,
-0.027140735,
-0.041091304,
-0.041588496,
-0.039190285,
0.020019216,
0.021349931,
0.027155358,
-0.027491692,
-0.027009126,
-0.041237537,
0.029831411,
-0.022870747,
0.0056153242,
-0.03524201,
-0.023119343,
0.014820654,
-0.011954499,
-0.027096864,
0.0033487221,
-0.028690798,
-0.0043979394,
0.031235242,
-0.06627253,
0.009899934,
0.015442142,
-0.0378157,
0.057791047,
-0.00047251346,
-0.022709893,
-0.020121578,
-0.007052058,
0.026950633,
0.0043796604,
0.009753701,
-0.056153245,
-0.048081215,
-0.03740625,
0.06820279,
-0.04354801,
0.011632788,
-0.03407215,
-0.026994502,
0.0012941568,
0.041939452,
-0.0191272,
-0.053550307,
0.032522086,
-0.020808872,
-0.0113257,
-0.032785304,
-0.03813741,
-0.022885371,
-0.0116401,
-0.01836679,
0.05287764,
-0.03500804,
-0.0038203215,
-0.028866276,
0.05308236,
0.008020847,
0.011896006,
-0.032288115,
-0.03831289,
0.024961872,
0.018088948,
-0.045916975,
0.03108901,
-0.012020304,
0.052497435,
0.011274518,
0.04837368,
-0.025064234,
-0.029772917,
-0.036938306,
-0.041442264,
0.05735235,
-0.049134087,
0.03263907,
0.01240782,
-0.012956191,
0.034452356,
0.008693516,
-0.020691885,
-0.032785304,
-0.03307777,
-0.048110463,
-0.0028040064,
-0.006068645,
0.017182307,
-0.022124963,
0.021349931,
-0.012831894,
-0.025034988,
0.01773799,
0.030767297,
0.0015482355,
0.0064963745,
-0.05433996,
0.0131828515,
0.016977582,
0.0072860294,
-0.014009064,
-0.0029191645,
-0.051795516,
0.013168228,
-0.024055231,
-0.024552422,
-0.041588496,
0.015836969,
0.016451146,
-0.020881988,
0.008218261,
-0.000808848,
-0.018600762,
-0.01962439,
0.0548664,
0.021115959,
0.013073177,
0.035943925,
0.034364615,
-0.0016853284,
0.008013536,
0.0085545955,
-0.0031513083,
0.0113257,
0.02513735,
-0.030065382,
-0.024844885,
0.03489105,
0.005754245,
-0.019741375,
-0.03588543,
0.0020673606,
-0.0055568316,
0.019829115,
-0.0048585716,
-0.011428063,
-0.046531152,
0.009168772,
-0.020604147,
0.035212763,
-0.021700889,
-0.0107627055,
0.0033340987,
-0.022592906,
-0.038020425,
-0.0075529036,
0.037347756,
-0.019609766,
0.0037124753,
-0.030270107,
-0.0324051,
-0.09037162,
0.003540652,
0.04150076,
-0.0092345765,
0.0665065,
0.071010455,
-0.015778476,
0.046267934,
-0.0028972295,
-0.0011451825,
0.012239653,
-0.046297178,
-0.043489516,
-0.034627832,
0.011333011,
-0.0134022,
0.00033976184,
-0.010908937,
0.006050366,
0.0043833163,
0.040038433,
-0.018439906,
-0.058639195,
0.004968246,
-0.009804883,
-0.025927005,
0.04246589,
-0.010448305,
0.01962439,
-0.005772524,
0.024128348,
-0.036031663,
-0.06352336,
0.016670493,
0.010177775,
-0.02942196,
-0.07329168,
-0.0050559854,
-0.058405224,
0.01620255,
-0.06685746,
0.0018553237,
0.0030727084,
0.00794042,
-0.015778476,
-0.015807724,
-0.0018178516,
0.056650434,
-0.015968578,
0.026190223,
0.0036320474,
-0.010002296,
-0.0398922,
0.0017173168,
-0.024025984,
0.032141883,
0.025371322,
-0.038927067,
0.043226298,
-0.025985498,
0.021174453,
0.0052863015,
0.0013407684,
0.024844885,
0.0055933893,
-0.038166657,
-0.0026394948,
0.0042626746,
-0.032785304,
0.016845973,
-0.01412605,
-0.027623301,
-0.025707657,
0.041442264,
0.021042842,
0.00816708,
0.014535501,
0.046414167,
0.021086713,
0.008444921,
-0.00030320376,
0.06913868,
0.0020728444,
-0.009402744,
0.0015509775,
0.026394948,
0.04188096,
0.0020728444,
-0.040798843,
0.05004073,
0.001981449,
-0.0058419844,
-0.036265638,
0.0075967736,
-0.0070008766,
0.03723077,
0.022300443,
0.014923017,
-0.04919258,
-0.01845453,
-0.033633452,
0.013994441,
-0.057293855,
-0.02702375,
0.04363575,
-0.08972821,
0.038342137,
-0.041588496,
-0.022899995,
0.002577346,
0.036353376,
-0.012539429,
-0.009797571,
0.018425284,
-0.008678894,
0.0010601849,
-0.025459062,
-0.023982115,
-0.017898846,
-0.006617016,
-0.030240862,
-0.05460318,
-0.018659255,
0.051239833,
-0.047320805,
-0.027286967,
-0.048110463,
-0.032200377,
0.017021451,
0.01416992,
0.0012868452,
-0.020779625,
-0.049836002,
0.04378198,
-0.04843217,
0.017854977,
-0.01728467,
0.016845973,
0.013680042,
0.0015564612,
-0.012554052,
0.020165449,
0.022856126,
-0.008035471,
0.009899934,
0.03881008,
0.031235242,
-0.00044783673,
0.027082242,
-0.00335055,
0.037347756,
0.012415132,
0.047934983,
0.03225887,
0.020560276,
-0.023528794,
-0.016451146,
-0.013372953,
0.043664996,
0.015646867,
-0.0051291017,
0.011464621,
-0.016977582,
0.025093481,
0.0031878664,
0.017650252,
0.0064598164,
0.0007654352,
0.0040945075,
-0.043401778,
0.012678349,
-0.013833585,
-0.026146354,
-0.000094308474,
-0.0048987856,
-0.018673878,
0.019083329,
0.0067047556,
0.01927343,
0.026468065,
0.04878313,
0.024333073,
-0.0063062725,
0.029363466,
-0.02165702,
0.031322982,
0.024537798,
0.011837513,
-0.012181159,
-0.031556953,
0.015983202,
0.0006854644,
0.001866291,
0.009636715,
-0.010865068,
-0.021496164,
0.005220497,
-0.030182369,
-0.050947372,
-0.046004716,
0.06241199,
-0.047642518,
0.034510847,
0.03822515,
-0.024259957,
-0.02855919,
0.03108901,
-0.05305312,
0.023499548,
0.002485951,
0.046063207,
0.025371322,
0.09300381,
0.011216026,
0.02946583,
0.04053562,
-0.016231798,
-0.07025005,
-0.006719379,
0.03723077,
-0.015354402,
0.016816726,
-0.035388242,
-0.04477636,
0.009124902,
0.016524263,
-0.05632872,
-0.017708745,
-0.01204955,
-0.0015555472,
-0.0324051,
-0.012020304,
0.07756167,
0.03299003,
0.019814491,
-0.025839265,
-0.025371322,
-0.012656415,
-0.011983746,
-0.02464016,
0.012429754,
-0.020721132,
-0.04471787,
0.009841441,
-0.032609828,
-0.012122666,
0.0069460394,
-0.008773944,
-0.023236329,
0.008145145,
0.02431845,
0.048519913,
0.02351417,
0.0059370357,
-0.0105945375,
0.014001753,
0.03141072,
0.0020490815,
0.061066654,
0.034510847,
-0.037961934,
-0.00037243566,
0.013146293,
0.022095716,
-0.034774065,
-0.035622213,
0.023250952,
0.017489396,
-0.037961934,
0.010748082,
-0.011252584,
-0.00066535745,
-0.02630721,
-0.03740625,
-0.011040547,
0.016144058,
-0.064634725,
-0.014199167,
-0.025897758,
-0.06135912,
-0.0035680707,
-0.037844945,
0.0054764035,
-0.007245816,
0.25549725,
0.07048402,
0.03275606,
0.009512418,
0.010865068,
0.012305457,
0.0017575307,
-0.006028431,
-0.009417367,
-0.06451774,
0.0033670012,
-0.016495015,
0.028032752,
0.027652549,
0.0014358194,
0.027272344,
-0.038927067,
0.027243096,
0.025195843,
-0.039336517,
-0.022592906,
0.014052934,
-0.046735875,
0.0510936,
-0.007026467,
-0.017884223,
-0.0050194273,
-0.019712128,
0.0054946826,
-0.04091583,
-0.0056555383,
0.021320684,
0.006832709,
-0.031878665,
0.019712128,
0.025283583,
-0.02256366,
-0.004043326,
0.013848209,
-0.03647036,
-0.001829733,
-0.03108901,
0.0068838904,
0.029641308,
-0.0045185816,
0.061534595,
0.04463013,
0.0011058826,
0.0013334567,
-0.048519913,
0.04702834,
-0.054720167,
0.02734546,
-0.03415989,
-0.061476104,
0.0035132335,
-0.072180316,
-0.05550982,
0.0390733,
0.058025017,
0.0019485469,
0.023338692,
-0.057791047,
-0.029363466,
-0.03673358,
-0.01109904,
0.020414043,
0.057030637,
-0.025619917,
0.024362318,
0.0035187174,
-0.02094048,
-0.032434348,
-0.031118255,
0.057469334,
0.046999097,
0.02401136,
-0.0036119404,
0.021700889,
-0.058726933,
-0.034540094,
-0.016802104,
0.017635629,
-0.023338692,
0.030357847,
0.034978792,
-0.009417367,
-0.012649103,
-0.006214877,
0.032960784,
0.033194754,
0.03442311,
0.020180073,
-0.019507403,
-0.0065402444
] | pip install -U flash-attn --no-build-isolation
Make also sure that you have a hardware that is compatible with Flash-Attention 2. Read more about it in the official documentation of flash-attn repository. Make also sure to load your model in half-precision (e.g. torch.float16)
To load and run a model using Flash Attention 2, refer to the snippet below:
thon |
[
-0.005880685,
-0.030400818,
-0.0072927647,
0.011561177,
-0.029971832,
0.011389582,
-0.003993146,
-0.013777605,
0.00775035,
0.054967426,
0.021234814,
-0.0059664827,
0.031744976,
-0.05825632,
0.014642728,
0.041954845,
-0.025796367,
-0.037235998,
-0.056111388,
-0.008865714,
0.007864746,
-0.018346308,
-0.06972455,
-0.03340372,
-0.0051585585,
0.020019354,
0.026253954,
0.00743576,
0.040839482,
0.044414368,
-0.021806797,
0.030114828,
0.00993103,
-0.030143427,
-0.009516343,
-0.051878728,
0.0048797177,
-0.0007672596,
-0.024966994,
-0.0024416463,
0.021392109,
0.009523492,
0.012547845,
-0.028956566,
-0.059714872,
-0.007471509,
-0.020648533,
-0.02854188,
-0.013584562,
-0.016873455,
-0.0140421465,
0.00046428814,
0.03963832,
0.021492207,
-0.047674663,
-0.03443329,
-0.03500527,
-0.002105607,
-0.05016278,
0.00063320145,
0.027812602,
0.044700358,
-0.037407592,
-0.048589833,
-0.0016033357,
0.032660145,
0.016830556,
0.03683561,
-0.0033067684,
0.015271908,
-0.04458596,
0.034376092,
-0.026539944,
-0.06737942,
-0.010467262,
0.013727557,
0.010295668,
0.0023469117,
-0.020648533,
0.05021998,
-0.012369101,
0.0030297148,
0.013370069,
0.0044471566,
-0.014757124,
-0.01455693,
0.033489518,
-0.039552525,
-0.032431353,
-0.04244103,
0.0016203165,
0.005287254,
-0.014142244,
0.009838083,
0.03629223,
0.056683373,
-0.019275779,
0.022879262,
-0.013284272,
-0.03254575,
0.044242773,
0.05631158,
-0.03191657,
0.025982263,
-0.017159447,
-0.019404475,
-0.007864746,
0.009766585,
-0.030629613,
0.0014415722,
-0.016887754,
-0.016658962,
0.010124073,
0.009058758,
-0.012540695,
0.029685842,
-0.014535481,
0.028770672,
-0.015972584,
0.007686002,
0.029285455,
-0.021020321,
-0.0012494222,
-0.06898098,
0.005369477,
-0.050134182,
0.0039859964,
0.030629613,
-0.020233847,
-0.008486777,
0.032288358,
-0.004611601,
0.040381897,
0.04558693,
0.0046044514,
0.0069281263,
0.01114649,
0.008036341,
0.026582843,
-0.0019304377,
-0.017431138,
-0.016072681,
-0.008172186,
0.09008709,
0.028441783,
-0.031716377,
0.0026918883,
-0.02077723,
-0.0372074,
0.029542847,
-0.05797033,
0.0052765296,
0.020991722,
0.01954747,
-0.013541663,
-0.00835808,
0.020905925,
0.016344372,
-0.006077304,
0.0037965274,
0.018360607,
-0.013741856,
-0.018732395,
0.06251758,
-0.0044257073,
0.051220946,
-0.04003871,
-0.028298788,
-0.0041683153,
-0.005880685,
0.0038608755,
-0.005608994,
0.0056840666,
0.032116763,
0.035148267,
0.014113645,
0.060286853,
0.047159877,
-0.0101812715,
0.006012956,
0.0006046024,
-0.015843889,
-0.021234814,
0.03592044,
0.03469068,
0.005762714,
-0.02233588,
-0.018160414,
-0.018946888,
0.021578005,
0.022049889,
0.042212237,
-0.03157338,
0.0185751,
-0.04930481,
0.0133772185,
-0.046645094,
0.03005763,
-0.022679068,
-0.04747447,
0.010460112,
0.055224817,
-0.033203527,
-0.0039824215,
-0.013234223,
0.03157338,
0.00052416744,
0.049762394,
0.007285615,
0.019318677,
0.03686421,
0.024538008,
-0.03629223,
0.00962359,
0.010009677,
0.012161758,
-0.022235783,
0.0084009785,
-0.0026203904,
0.019175682,
0.012319053,
0.019418774,
0.04896162,
0.007167644,
-0.032745942,
-0.011625525,
-0.0060022315,
0.032059565,
0.006606387,
0.005637593,
0.024437912,
0.04899022,
0.0010090112,
0.06434792,
-0.015858188,
0.017159447,
0.03626363,
0.03963832,
-0.000884784,
-0.017860124,
-0.039152138,
0.044786155,
0.051592734,
0.03469068,
0.015686594,
-0.013177025,
-0.0047867703,
-0.01176852,
-0.02724062,
0.03220256,
-0.03540566,
0.050134182,
-0.00804349,
-0.010245619,
-0.048475437,
-0.028456083,
0.0068637785,
0.01734534,
-0.01673046,
-0.041011076,
0.043327603,
0.01580099,
0.00804349,
-0.018975487,
0.04063929,
0.04184045,
-0.010438663,
0.020348243,
-0.008150737,
-0.023165252,
-0.019719064,
-0.04464316,
-0.072698854,
0.025839265,
-0.061602414,
-0.03068681,
0.027698206,
-0.027812602,
0.03160198,
-0.026754437,
0.0185608,
-0.010395764,
-0.038723152,
0.03998151,
0.06915257,
0.03772218,
-0.038551558,
0.03034362,
-0.02352274,
0.03474788,
-0.019390175,
0.011882917,
0.019189982,
-0.020276746,
-0.002643627,
-0.00034430609,
-0.014914419,
-0.04184045,
-0.021663802,
0.0026293276,
-0.0049762395,
0.025453178,
0.012719439,
-0.0009652189,
-0.012840985,
0.016558865,
0.016930655,
-0.031744976,
0.06171681,
0.058971297,
-0.029914634,
0.014900119,
0.01640157,
0.04610171,
-0.041697454,
0.0402675,
0.045787122,
0.008787067,
-0.06326116,
-0.044185575,
-0.030829806,
0.033603914,
-0.03849436,
-0.02942845,
-0.010510161,
0.029342653,
-0.008100688,
-0.05605419,
0.029013764,
-0.03540566,
-0.030944202,
-0.014185143,
-0.015758092,
0.049161814,
0.0073857117,
0.009144555,
-0.038866147,
0.0062381737,
-0.00558397,
-0.0006573319,
0.008300882,
-0.03875175,
0.00015606606,
0.044528764,
0.008186486,
0.023465542,
0.042040642,
-0.04184045,
0.0021592304,
-0.014299539,
-0.0090945065,
-0.013262822,
0.010124073,
0.0041289916,
0.009952479,
0.013756156,
-0.030915603,
0.022536073,
0.031458985,
0.026225355,
0.03852296,
0.05631158,
0.019132782,
0.007160494,
0.0025149314,
-0.0146141285,
0.0011663061,
0.02203559,
0.040725086,
-0.008479627,
0.010374315,
-0.019433074,
-0.05107795,
-0.00028509705,
-0.012547845,
-0.039895713,
0.020333944,
0.022850662,
0.042955816,
0.00743576,
-0.015343405,
0.0020752205,
0.008522525,
0.030400818,
0.05305129,
0.031458985,
0.015629396,
0.0033121307,
-0.035520054,
-0.016058382,
0.010145523,
0.01827481,
-0.021191915,
-0.0077289008,
-0.027212022,
-0.0496194,
0.018932588,
0.008586873,
0.046902485,
0.016444469,
0.06348995,
-0.014814322,
0.0038036774,
0.0011037457,
-0.020820128,
-0.02352274,
-0.053108487,
0.049076017,
0.004994114,
-0.0059950817,
-0.030829806,
-0.0247668,
-0.038008172,
0.014306689,
0.0154292025,
0.0027687482,
-0.019061284,
0.01455693,
-0.010731804,
0.039752718,
-0.05802753,
-0.033031933,
-0.022493174,
0.008479627,
0.036950007,
-0.051335342,
-0.0016650025,
-0.015257608,
-0.031401787,
0.024538008,
0.020948824,
-0.028784972,
0.004840394,
-0.004314886,
-0.0527367,
0.037235998,
0.014149394,
0.008229384,
0.018117515,
-0.025596173,
-0.0056018443,
0.003685706,
-0.020319644,
-0.008772767,
0.033031933,
-0.025067091,
-0.033031933,
-0.0051228097,
-0.03368971,
-0.0031870096,
0.045987315,
-0.05299409,
0.038408563,
-0.029886035,
-0.000098141754,
-0.043442,
-0.020047953,
0.05053457,
0.043956783,
0.0025024193,
-0.05822772,
-0.028584778,
0.04149726,
-0.050648965,
-0.076588325,
0.0063704443,
0.02295076,
0.0051263846,
0.031144395,
-0.013613161,
-0.006356145,
0.05388066,
0.0055303467,
-0.019576069,
-0.015758092,
-0.02698323,
-0.010410064,
-0.017631331,
-0.04318461,
0.01770283,
-0.034004305,
0.0496194,
-0.024938395,
-0.019433074,
0.039323732,
-0.08110698,
0.0036964307,
0.026840234,
-0.008758468,
-0.0072355666,
0.03803677,
-0.03540566,
0.00511566,
-0.012462048,
-0.0073642624,
-0.033003334,
-0.051564135,
0.014800022,
0.041583057,
0.026740137,
0.03157338,
-0.03963832,
-0.04807505,
0.034318894,
-0.009859532,
0.040410496,
-0.0036642568,
-0.005233631,
-0.0008400979,
0.005287254,
-0.0278555,
0.04284142,
0.009151705,
-0.0126836905,
0.00023907042,
0.0066528604,
-0.009344748,
-0.019204281,
-0.0371216,
0.060515646,
-0.03843716,
-0.048218045,
-0.04269842,
0.03938093,
0.021635203,
-0.006963875,
0.05142114,
-0.01611558,
-0.013598861,
-0.0028956565,
0.059657674,
-0.036921408,
0.02974304,
-0.047274273,
-0.05542501,
0.03283174,
0.028799271,
-0.0129553825,
-0.07241286,
0.009223202,
-0.050992154,
-0.0073356633,
-0.022149986,
-0.026253954,
-0.059314486,
0.0046294755,
-0.03194517,
0.034261696,
-0.013134127,
0.025567574,
-0.019676166,
-0.016015483,
0.028970866,
0.03906634,
-0.05419525,
-0.011260887,
0.00004923845,
0.0073285135,
0.0076717027,
0.02416622,
-0.001426379,
0.034662083,
-0.0061237775,
0.015014515,
-0.060801636,
-0.047617465,
-0.04369939,
-0.0057448396,
0.0371788,
-0.0403533,
-0.008586873,
-0.01485722,
0.033260725,
0.03368971,
0.04318461,
-0.03286034,
-0.028012795,
-0.039609723,
-0.07258446,
0.036749814,
-0.02509569,
0.011675573,
0.005573245,
-0.0011403882,
0.043356203,
-0.036034837,
-0.009437695,
0.06720783,
0.018646598,
0.007921944,
-0.06657865,
0.058456514,
0.0123977,
0.0040396196,
-0.018131815,
-0.015572198,
-0.04241243,
-0.009580691,
-0.01956177,
-0.022550372,
-0.037693582,
0.039495327,
0.021449309,
0.008393829,
0.025252985,
-0.0063060964,
-0.034519088,
-0.026840234,
0.024952695,
0.027755404,
0.016172778,
0.018546501,
0.02446651,
-0.0055982694,
0.044871952,
-0.015700893,
-0.027140524,
-0.0028259463,
0.061602414,
-0.013198474,
-0.01826051,
0.029685842,
0.019347277,
-0.03966692,
-0.049133215,
-0.0035873968,
0.00019594836,
-0.049505003,
-0.025667671,
-0.005762714,
-0.01146108,
-0.022750566,
-0.015100312,
0.027412215,
-0.017774327,
-0.014943018,
0.015200409,
-0.023622837,
-0.024395013,
0.005616144,
0.043499198,
-0.028613377,
-0.001099277,
-0.06526309,
-0.010560209,
-0.04530094,
-0.009230352,
0.057198156,
0.0029725167,
0.030858405,
0.027641008,
0.0026686513,
0.06543469,
-0.021863995,
0.011139341,
-0.0107532535,
-0.032459952,
-0.06371874,
-0.01022417,
0.02538168,
-0.015200409,
0.013234223,
-0.021163316,
0.008272283,
0.004214789,
0.037579186,
-0.011718472,
-0.07063972,
0.015443502,
-0.034662083,
-0.031230193,
0.02851328,
-0.023823032,
-0.004407833,
0.06228879,
-0.0108462,
-0.014120795,
-0.010789002,
0.015672294,
-0.030286422,
-0.019433074,
-0.016315773,
0.010116924,
-0.052536506,
-0.0047474466,
-0.030086229,
-0.014142244,
0.011554027,
0.0070961462,
-0.0031870096,
0.011789969,
-0.012876734,
0.030543815,
-0.019576069,
0.013713257,
0.005755564,
-0.0041003926,
-0.003535561,
-0.010703205,
-0.018203313,
0.018632298,
0.04867563,
-0.057312552,
-0.005544646,
-0.00072793587,
0.011704172,
-0.008894313,
0.007400011,
0.053794865,
-0.021535106,
0.012033062,
-0.005759139,
0.025667671,
-0.047274273,
-0.015443502,
-0.050019786,
-0.025767768,
-0.011503979,
0.039552525,
-0.00039346074,
0.020619934,
0.010910548,
0.01582959,
-0.0018240849,
0.027340718,
0.016444469,
0.015086013,
0.016573165,
-0.0039001992,
-0.011940115,
0.015114612,
0.01487152,
0.010553059,
-0.027812602,
0.022578971,
-0.00930185,
-0.044242773,
-0.02325105,
0.0112966355,
0.0465021,
0.03777938,
0.025953664,
-0.034233097,
-0.0042433883,
0.0097880345,
-0.034204498,
0.019304378,
-0.050277177,
-0.031716377,
-0.009451995,
-0.07035373,
0.02571057,
-0.03600624,
-0.0012905333,
0.030887004,
0.02142071,
0.019633267,
0.0032013091,
0.0007131895,
0.0064276424,
-0.011854318,
-0.04896162,
-0.00055946945,
-0.014006398,
0.015400603,
-0.030315021,
-0.022464575,
0.028999465,
0.059886467,
0.010245619,
-0.010474412,
-0.024008926,
0.001541669,
-0.0017141572,
0.06623546,
-0.037350394,
-0.017516935,
-0.044700358,
0.042183638,
-0.055339213,
0.030887004,
0.00004119496,
0.031716377,
-0.0036821312,
0.038322765,
0.017116548,
0.04152586,
0.04432857,
-0.028141491,
0.02755521,
0.025024192,
0.008379529,
-0.004368509,
0.00087986846,
-0.0129839815,
0.07287045,
0.045758523,
0.04590152,
-0.023608537,
0.027083326,
0.006542039,
-0.026568543,
-0.018203313,
0.04152586,
0.025739169,
0.005519622,
0.0116898725,
-0.0042684125,
-0.033546716,
0.00006976611,
0.00036620224,
0.03071541,
0.01176137,
-0.0047259973,
-0.0053802016,
-0.038408563,
-0.006731508,
0.0037214549,
-0.0020716456,
0.010431513,
0.01886109,
0.022135686,
0.0107818525,
0.024352115,
-0.007664553,
0.02942845,
0.02638265,
0.031687777,
0.0010948085,
-0.021191915,
0.028913667,
0.005019138,
0.003778653,
-0.005405226,
-0.0022396652,
0.007850447,
-0.030829806,
-0.058799703,
0.060000863,
-0.0035927591,
-0.042612623,
-0.00048171572,
-0.044528764,
-0.025853565,
-0.039809916,
0.012054511,
-0.034290295,
0.021506507,
0.033975706,
-0.034290295,
-0.049133215,
0.025753468,
-0.05328008,
0.045072146,
-0.0103314165,
0.055711,
0.039752718,
0.10455823,
-0.02106322,
0.008072089,
0.048790026,
0.017216645,
-0.045072146,
-0.016315773,
0.015858188,
-0.017817225,
-0.02971444,
-0.056368783,
-0.048904423,
0.0071497695,
-0.005398076,
-0.058971297,
-0.02420912,
-0.0019751238,
-0.013992098,
-0.025896464,
0.0049833893,
0.09740846,
0.04241243,
0.013698958,
-0.010503011,
0.0030172027,
-0.055853996,
-0.007349963,
0.0013039391,
0.03503387,
-0.047302872,
-0.037350394,
-0.00043993423,
-0.0054767234,
-0.023436943,
-0.01953317,
0.009602141,
0.0043041613,
0.040667888,
0.05388066,
0.028370285,
0.042784218,
0.0022253657,
-0.046988282,
0.034862276,
0.034633484,
0.03163058,
0.061030433,
0.08024901,
0.007871896,
0.008815666,
-0.000351009,
0.017931622,
-0.03966692,
-0.014814322,
-0.013970649,
-0.029657243,
-0.032602947,
-0.038866147,
-0.026411248,
0.016916355,
-0.0026793762,
-0.00016947188,
-0.037407592,
0.009752286,
-0.057169557,
-0.020705732,
-0.037893776,
0.0080077415,
-0.008272283,
-0.009544942,
0.027769703,
-0.03509107,
0.24389294,
0.06165961,
0.025067091,
0.023265349,
0.022250082,
0.054710034,
0.026125258,
-0.0464449,
-0.0038215518,
-0.021763898,
-0.018918289,
-0.057312552,
0.03374691,
0.051964525,
-0.056540377,
0.0527081,
-0.06474831,
0.0039824215,
-0.022879262,
-0.04269842,
-0.048218045,
0.0012521034,
0.016201377,
0.04550113,
0.050134182,
-0.0020680707,
0.009480594,
-0.037093002,
-0.011511128,
-0.012483497,
0.0022718392,
-0.0037536288,
0.027726805,
-0.015286207,
0.012011613,
0.0036195708,
-0.0014657027,
-0.03626363,
-0.011325235,
0.030543815,
-0.024109023,
-0.032745942,
0.041354265,
-0.0035587978,
-0.026854534,
0.025152888,
-0.0029010188,
0.023165252,
0.059714872,
-0.059028495,
0.03883755,
-0.04670229,
0.02512429,
-0.04238383,
-0.019647567,
-0.004765321,
-0.047989253,
-0.042040642,
-0.009723687,
0.02448081,
-0.0053837765,
0.013298571,
-0.005848511,
-0.0011100017,
-0.021020321,
0.010574508,
-0.016801957,
0.051535536,
-0.02638265,
-0.019904958,
-0.029657243,
-0.0033425172,
-0.016544566,
-0.042555425,
0.06354715,
0.055625204,
0.0012932145,
0.041983444,
-0.010681755,
-0.02851328,
0.017888723,
-0.020291045,
0.009466294,
-0.031087197,
0.031973768,
0.04401398,
-0.008315181,
0.004933341,
0.020219548,
0.012269004,
0.0012092048,
0.07778949,
-0.008508226,
-0.019804861,
-0.005205032
] | import torch
from transformers import AutoTokenizer, AutoModel
device = "cuda" # the device to load the model onto
tokenizer = AutoTokenizer.from_pretrained('distilbert/distilbert-base-uncased')
model = AutoModel.from_pretrained("distilbert/distilbert-base-uncased", torch_dtype=torch.float16, attn_implementation="flash_attention_2")
text = "Replace me by any text you'd like."
encoded_input = tokenizer(text, return_tensors='pt').to(device)
model.to(device)
output = model(**encoded_input) |
[
-0.0026768453,
-0.04217936,
-0.0012444537,
0.016944889,
-0.015644561,
0.008831388,
0.022037836,
0.0037960073,
-0.016565626,
0.09671183,
0.033347975,
0.035704818,
0.029934615,
-0.012461469,
-0.032047648,
0.042802434,
-0.023771606,
-0.064095296,
-0.042016823,
-0.020073801,
0.024245683,
0.015888372,
-0.069188245,
-0.02386642,
-0.02279636,
0.023338163,
-0.0008973612,
-0.0064813183,
0.041149937,
0.059381608,
-0.009793089,
0.00049905136,
0.0074565634,
-0.017811773,
-0.053150874,
-0.006203644,
-0.0031441504,
-0.009854042,
-0.0032067965,
-0.058568902,
0.017974313,
0.0008177839,
0.02901355,
-0.035704818,
-0.048518457,
-0.02527511,
-0.023162078,
-0.007612332,
-0.017513782,
-0.01809622,
-0.011120507,
0.0021265766,
0.013633118,
-0.023500705,
0.0032491249,
-0.047136858,
-0.029853344,
-0.011188231,
-0.04743485,
0.006349254,
0.006931692,
0.073631026,
-0.042558625,
-0.05287997,
-0.018638022,
0.021211587,
-0.02645353,
-0.011635219,
-0.0039517754,
-0.0539094,
-0.020439517,
0.010212986,
0.008878796,
-0.03258945,
-0.042883705,
0.013578937,
0.047489032,
0.014371324,
-0.01988417,
0.04873518,
-0.01999253,
0.03846801,
0.020006076,
-0.017310604,
-0.009942085,
-0.05466792,
0.042721163,
-0.047651574,
0.0025261564,
-0.038576372,
-0.015603926,
0.037574038,
-0.03483793,
0.008919432,
0.028905189,
0.02879683,
0.026169084,
0.025180293,
-0.0071517993,
0.017175155,
0.01897665,
0.018272305,
0.031830925,
-0.012596919,
-0.06333677,
-0.0027581158,
0.018231671,
0.03765531,
-0.007023121,
-0.05263616,
-0.024963573,
-0.016714621,
-0.018299395,
-0.033862688,
-0.021888841,
0.0008914352,
0.027103694,
0.02546474,
-0.0031915582,
0.0065050223,
0.004144793,
0.011858713,
0.023879966,
-0.031803835,
-0.010165579,
-0.016944889,
0.0138837015,
0.048247557,
-0.07693602,
-0.01080897,
0.013599255,
0.0007263546,
0.046567965,
0.02736105,
0.03429613,
-0.012237974,
0.018827654,
0.040933214,
0.040581044,
0.003200024,
0.048410095,
-0.0030594936,
0.02549183,
0.06534144,
-0.01275946,
-0.013843066,
-0.01603737,
0.019708084,
-0.042775344,
-0.0036470112,
-0.018421302,
0.011939983,
0.013023589,
-0.004080454,
0.002648062,
-0.026331626,
0.02087296,
0.014737041,
0.0075310613,
0.023121443,
-0.04329006,
-0.0057024765,
-0.025410559,
0.019504907,
-0.015333025,
0.022877632,
0.0013494281,
-0.01644372,
0.030530598,
-0.031668384,
-0.00045291343,
-0.018895378,
0.018624477,
0.043804772,
0.037059326,
0.015224664,
0.04700141,
0.01977581,
0.047543213,
0.024665581,
0.006565975,
0.01919337,
0.06019431,
0.0067014256,
0.0036842602,
-0.0043310374,
0.00009936582,
-0.006847035,
-0.015143394,
0.0047373897,
0.024665581,
0.033185434,
-0.0029562125,
-0.008946522,
-0.02879683,
-0.0010827594,
-0.060519394,
0.014818312,
-0.00987436,
-0.019423638,
-0.042396083,
0.05458665,
-0.03800748,
0.013016816,
-0.05469501,
0.012441151,
0.010172351,
0.03069314,
-0.01462868,
0.03269781,
0.033131253,
-0.015549745,
-0.04185428,
-0.03453994,
0.03093695,
-0.040689405,
-0.019288186,
0.018692203,
-0.016768802,
0.022688,
-0.0034980155,
0.035542276,
0.044156943,
0.012048344,
-0.029474081,
-0.016687531,
0.03478375,
0.042396083,
-0.031993467,
0.037330225,
0.025884638,
0.019261096,
0.0028292274,
0.03283326,
0.031532932,
-0.0061223735,
0.027645497,
0.048599727,
0.055399355,
-0.009826952,
0.009847269,
0.04721813,
0.020723965,
0.051742185,
0.008634985,
-0.011499768,
-0.0028241482,
-0.0028681695,
0.0112830475,
0.001789643,
-0.061115377,
0.049872965,
0.011811305,
0.014208783,
-0.020263432,
-0.0030544144,
0.041583378,
0.03632789,
-0.0074701086,
-0.00867562,
0.07401029,
0.02180757,
0.024746852,
-0.021374127,
0.0022958901,
0.025126113,
0.038847275,
-0.017459601,
0.010402617,
-0.06593742,
0.0091022905,
-0.03984961,
-0.07764037,
-0.004940566,
-0.035542276,
0.0027140942,
-0.0035623547,
-0.07525644,
0.00819477,
-0.018353576,
0.02480103,
-0.03250818,
-0.021943022,
0.03584027,
0.017933678,
0.007212752,
-0.06447455,
0.016673988,
-0.04188137,
0.02346007,
0.016673988,
0.0069486233,
-0.01222443,
-0.018191036,
0.000771646,
-0.0030544144,
-0.02346007,
-0.02925736,
-0.016619807,
-0.015292389,
-0.058677264,
-0.012346336,
-0.00569909,
0.023067262,
-0.033212524,
0.012346336,
0.013355443,
-0.031262033,
0.05607661,
0.07585242,
-0.0048694545,
0.043940224,
0.037113503,
0.040120512,
-0.038657643,
0.029392812,
0.042694077,
0.0057566566,
-0.042639896,
-0.03443158,
-0.052175626,
0.016660443,
-0.021265768,
-0.020425972,
-0.018583842,
0.042260632,
-0.0026751522,
-0.063174225,
0.022010745,
-0.038847275,
-0.0544512,
-0.023554884,
-0.02895937,
0.014696406,
0.028200846,
0.041231208,
-0.08712192,
-0.035081744,
-0.0077816453,
0.044454936,
-0.0053401454,
0.020615604,
0.0011073098,
0.026683796,
0.0117029445,
-0.0021841433,
0.040987395,
-0.02879683,
-0.014086878,
-0.01740542,
0.012427606,
-0.009495097,
0.01225152,
-0.011046008,
0.009319011,
0.03432322,
-0.039063994,
0.0310724,
0.06414948,
0.019410092,
-0.0137550235,
0.029338632,
-0.021536669,
0.004686596,
0.00609867,
-0.07969922,
0.019288186,
0.029284451,
0.02551892,
-0.033564694,
0.015549745,
-0.023405889,
-0.030991131,
0.022037836,
-0.02925736,
-0.026616072,
0.04724522,
0.014818312,
0.06962168,
-0.009054882,
-0.025938818,
0.021414762,
-0.021631485,
0.019328821,
0.05651005,
0.015915463,
-0.031153671,
-0.0492228,
-0.05076694,
-0.00093799643,
-0.021238677,
0.024272773,
-0.0022332442,
-0.008838161,
-0.021347038,
-0.042368993,
0.030530598,
0.00013851955,
0.00073566684,
0.05477628,
0.04361514,
-0.032454,
0.016240545,
0.0050489265,
-0.0048220465,
-0.00062984595,
-0.023852875,
0.015522655,
0.0036165349,
0.024096688,
-0.012590147,
-0.0148860365,
-0.009576368,
0.051688004,
-0.023094352,
-0.00451051,
-0.059381608,
-0.01900374,
-0.0028715557,
0.07677348,
-0.048247557,
0.015901918,
-0.027523592,
-0.000714926,
0.03613826,
-0.040716495,
-0.0015847738,
-0.013436714,
0.0028139893,
0.02362261,
-0.027469411,
-0.028146666,
-0.025112567,
-0.044536207,
-0.04719104,
0.03762822,
0.033077072,
-0.013924337,
0.028417567,
-0.015901918,
0.0006450842,
0.0035251058,
-0.018759929,
-0.008187997,
0.0013917565,
-0.028634287,
-0.015590381,
-0.0027631952,
-0.021658575,
-0.022159742,
0.010490661,
-0.0038129385,
-0.028038304,
-0.057485297,
-0.02917609,
0.0030527213,
0.016579172,
0.019802898,
-0.0029917683,
0.0024279547,
0.004842364,
-0.0029968477,
0.02068333,
-0.020602059,
-0.06030267,
0.041475017,
0.0025126114,
0.017893044,
0.060898654,
0.015495566,
-0.00019915492,
0.029934615,
0.026128449,
-0.050387677,
-0.014154603,
0.015617471,
0.0025684847,
-0.013037134,
-0.015482021,
0.0069621685,
-0.057322755,
0.024773942,
-0.07000095,
-0.037574038,
-0.016240545,
-0.07254742,
-0.040987395,
0.016078003,
-0.005167446,
0.0022755726,
0.017540872,
-0.0026158926,
0.0077342377,
-0.025099022,
-0.07216816,
-0.049358252,
-0.03578609,
0.016565626,
0.001670277,
0.031560022,
0.051850546,
-0.031830925,
-0.041204117,
0.03294162,
0.024909392,
0.026507711,
-0.015089213,
0.020805234,
-0.006291687,
0.02453013,
-0.01724288,
0.028255025,
0.0015669959,
-0.0032034102,
0.019206915,
-0.014181693,
0.022037836,
-0.048328824,
-0.037384406,
0.043858953,
-0.00070603704,
-0.06371603,
-0.021875296,
0.046622146,
0.011730035,
-0.001204665,
0.04916862,
-0.0061460775,
-0.035244282,
-0.01460159,
0.013619573,
-0.030368058,
0.0032829875,
-0.06815881,
-0.03814293,
0.033104163,
0.02084587,
0.028525926,
-0.06171136,
-0.0091022905,
-0.013978517,
0.036056988,
-0.02527511,
-0.03808875,
-0.041122846,
0.03250818,
-0.016457265,
0.028255025,
0.0014408573,
-0.0072195246,
-0.022241013,
-0.015007943,
-0.005099721,
-0.019667448,
-0.05092948,
-0.000031640448,
0.001103077,
0.019789355,
-0.01735124,
-0.0034252107,
-0.034106497,
0.05111911,
-0.050116777,
0.0044563296,
-0.0010480501,
-0.02186175,
-0.014290053,
-0.018556751,
0.015292389,
-0.008607895,
0.0020757827,
-0.003968707,
0.057106033,
-0.008072864,
0.040418502,
-0.053557225,
-0.033700146,
-0.035596456,
-0.026765067,
0.03443158,
-0.024963573,
0.025004208,
0.013551847,
0.026616072,
0.06127792,
-0.024990663,
0.046757597,
0.06588324,
-0.0049236347,
0.0010057217,
-0.06637087,
0.040093422,
0.019206915,
-0.0034269039,
-0.017825319,
0.028092485,
-0.012034799,
0.0068842843,
0.01790659,
-0.046269976,
-0.018936014,
0.011106961,
0.06355349,
0.023378799,
0.027686132,
0.018759929,
-0.07823635,
-0.026968243,
0.012847504,
-0.01996544,
0.00016582134,
0.028878098,
0.013511212,
0.013775341,
0.026534801,
-0.004259926,
-0.042883705,
0.0036266937,
0.039714158,
0.0060478756,
-0.03424195,
0.008336994,
0.012610464,
-0.021983655,
-0.05661841,
-0.006315391,
-0.0028529314,
-0.028905189,
-0.009887905,
-0.009136152,
0.011195004,
-0.0492228,
-0.018651567,
-0.022078471,
-0.030286787,
-0.00765974,
0.0017710185,
-0.005797292,
-0.040689405,
-0.009149698,
0.060681935,
-0.02549183,
0.029149,
-0.04039141,
0.002560019,
-0.020751053,
0.01217025,
0.059598327,
-0.029880434,
0.062307343,
0.044725835,
-0.021374127,
0.06274079,
0.0077681,
0.011520086,
0.008045774,
0.0070366664,
-0.04551145,
0.033808507,
0.012068662,
-0.00043428896,
0.011967073,
-0.021712754,
0.03283326,
0.031262033,
0.0308015,
-0.0014323916,
-0.049412433,
0.0023619223,
-0.029365722,
-0.0028089099,
0.009447689,
-0.0031695475,
0.015495566,
0.035054654,
-0.010470343,
-0.019166281,
-0.015414295,
0.028553016,
0.0077342377,
-0.0010793732,
-0.024205048,
0.004588394,
-0.045782354,
-0.030611869,
-0.0088923415,
0.016159274,
0.01974872,
-0.0037282817,
-0.03654461,
-0.014777676,
-0.0032796012,
0.014479685,
-0.00720598,
-0.011621674,
0.001486572,
0.041502107,
-0.012888138,
-0.008005139,
-0.008993929,
0.06019431,
0.023554884,
-0.02645353,
-0.004700141,
-0.021672118,
0.02257964,
-0.0003191558,
0.023541339,
0.033375062,
-0.013551847,
-0.05420739,
-0.012177022,
0.007043439,
-0.0329958,
-0.0057532704,
-0.055399355,
-0.015549745,
0.011134052,
0.05613079,
-0.02901355,
0.047624484,
0.027482957,
0.025058389,
-0.01641663,
0.0077951904,
0.020886505,
0.00056296715,
0.03397105,
-0.021387672,
-0.012955864,
0.0046459604,
0.031451665,
0.05466792,
-0.022688,
0.02255255,
0.004825433,
-0.024624946,
-0.061061196,
-0.00095577433,
0.007930641,
0.046730507,
0.046432517,
0.005543322,
-0.003982252,
0.027618406,
0.00068952894,
-0.0015102758,
-0.01575292,
-0.02532929,
0.00952896,
-0.012183795,
-0.0147234965,
-0.04161047,
0.007226297,
-0.015793556,
0.003150923,
0.06712939,
0.023202714,
0.039361987,
-0.0035284918,
0.010280712,
-0.044644564,
-0.013382534,
-0.016132183,
-0.0116555365,
-0.04735358,
-0.026656706,
0.056997675,
0.05455956,
0.01462868,
0.0045613036,
-0.02442177,
0.008716255,
-0.010348437,
0.038766004,
-0.04404858,
0.020520788,
-0.022701545,
0.028905189,
-0.03649043,
-0.011438816,
-0.028065395,
0.027076604,
0.005783747,
-0.011648764,
-0.010138488,
0.033510514,
0.016633352,
-0.019843534,
0.019897714,
0.028553016,
-0.034892112,
0.025004208,
-0.004307334,
0.009366419,
0.087609544,
0.07113873,
0.055697348,
-0.018800564,
0.031343304,
0.0035014017,
-0.033456333,
-0.02535638,
0.055372264,
0.019410092,
0.028471747,
0.015820647,
0.001605938,
0.012407288,
0.0074159284,
0.018746383,
0.025749186,
0.012996499,
-0.011919666,
-0.030991131,
-0.03949744,
0.040093422,
-0.034973383,
-0.078832336,
-0.031885106,
0.025695007,
0.0067420607,
0.026047178,
0.030286787,
0.0028512382,
0.02920318,
0.022918265,
0.030015886,
0.016132183,
-0.013775341,
0.016362451,
-0.02276927,
0.025857547,
-0.010666747,
-0.022755725,
-0.04404858,
-0.004625643,
-0.035433915,
0.04881645,
-0.0147234965,
-0.04957497,
0.014154603,
-0.026575437,
-0.005394326,
-0.064745456,
-0.023974782,
-0.0028021373,
-0.0025650985,
0.035000473,
-0.0525278,
-0.028580107,
0.043804772,
-0.012820413,
-0.0073820655,
-0.0054417336,
0.05667259,
0.0048728404,
0.03088277,
-0.01366698,
-0.0055297767,
-0.0028461588,
0.025816912,
0.0023145147,
-0.0047475486,
0.014262963,
-0.024259228,
-0.020642694,
0.0058548586,
-0.024963573,
0.010795425,
0.0052791927,
-0.0038163248,
-0.014777676,
0.008397946,
-0.0044427845,
-0.021157406,
0.016850073,
0.0508753,
-0.019261096,
0.0034946292,
0.007605559,
-0.0029104978,
-0.04215227,
0.0033117707,
-0.046459604,
0.042612806,
-0.011838395,
-0.03426904,
-0.011967073,
-0.03109949,
-0.033375062,
0.021956567,
0.006176554,
-0.014317144,
0.05063149,
0.036923874,
-0.010869922,
0.0070028035,
-0.013653435,
-0.017473146,
0.035244282,
0.05458665,
0.0075039715,
0.05461374,
0.05065858,
-0.022200378,
-0.000083598505,
0.042856615,
0.020290522,
0.015197573,
-0.0038366425,
-0.033104163,
0.00023471075,
-0.055155545,
-0.0451051,
-0.002646369,
0.04700141,
0.026412895,
-0.003340554,
-0.0093935095,
0.013314809,
-0.0734143,
0.0217263,
-0.016267635,
0.04686596,
-0.017716957,
-0.0013714388,
0.027090149,
-0.069946766,
0.21325365,
0.06734611,
0.042856615,
0.0398767,
0.02068333,
0.03394396,
0.0035115606,
-0.01834003,
0.019477818,
-0.043425508,
-0.009677956,
-0.041204117,
0.017066794,
0.050225135,
-0.015617471,
0.030422237,
-0.10662682,
0.0014586352,
0.008709483,
-0.040608134,
-0.07103037,
0.015874827,
-0.0073075676,
0.04916862,
-0.000033386492,
0.016294725,
0.023785152,
-0.028769739,
0.064095296,
0.0059158113,
0.007856144,
-0.00655243,
0.023324618,
0.009346101,
-0.039687067,
-0.025071934,
-0.042531535,
-0.05236526,
0.02639935,
0.005848086,
0.0077071474,
-0.018136855,
0.0035996037,
-0.05109202,
-0.058243822,
0.042450264,
-0.03472957,
0.01638954,
0.04534891,
-0.039714158,
0.018692203,
-0.025884638,
0.033645965,
-0.07178889,
-0.07298086,
0.0077613275,
-0.035894446,
-0.0764484,
0.01222443,
0.022877632,
0.0064813183,
0.022010745,
-0.0005151361,
0.0061460775,
-0.021468943,
0.024922937,
0.020046711,
0.04908735,
-0.0017193779,
-0.01267819,
0.023839332,
0.025925273,
-0.012407288,
-0.008032229,
0.028092485,
-0.0102333035,
-0.02909482,
0.00728725,
-0.021292858,
-0.0613321,
0.020236341,
-0.025505375,
-0.0041820416,
-0.04878936,
0.020398883,
0.040960304,
-0.015021488,
0.042423174,
0.0038332562,
0.0131251775,
0.0013164119,
0.031722564,
0.008303131,
-0.030774409,
-0.009271604
] | DistilBertModel
[[autodoc]] DistilBertModel
- forward
DistilBertForMaskedLM
[[autodoc]] DistilBertForMaskedLM
- forward
DistilBertForSequenceClassification
[[autodoc]] DistilBertForSequenceClassification
- forward
DistilBertForMultipleChoice
[[autodoc]] DistilBertForMultipleChoice
- forward
DistilBertForTokenClassification
[[autodoc]] DistilBertForTokenClassification
- forward
DistilBertForQuestionAnswering
[[autodoc]] DistilBertForQuestionAnswering
- forward |
[
0.00087470823,
-0.04408044,
-0.00015680163,
0.031097654,
-0.0035889912,
-0.0053089326,
-0.0064012343,
0.021554753,
-0.017962294,
0.08499841,
0.026284592,
0.034565277,
0.03914254,
-0.01005611,
-0.031957626,
0.030320907,
-0.026090406,
-0.05268015,
-0.045051374,
-0.019557402,
0.02371855,
0.026908765,
-0.064248145,
-0.030293167,
-0.017421344,
0.0019678767,
-0.0034329481,
-0.009154528,
0.021416048,
0.05079376,
-0.0037623723,
-0.0009397262,
0.00891873,
-0.029377714,
-0.060419887,
-0.000789318,
0.011027046,
-0.014536281,
0.0016991359,
-0.03598007,
0.013038267,
-0.0013818482,
0.05301304,
-0.046161015,
-0.036923263,
-0.019238379,
-0.03409368,
-0.005423364,
-0.033261452,
-0.028878376,
-0.021249602,
-0.0041368757,
-0.015951071,
-0.035508472,
-0.03381627,
-0.06158501,
-0.053151745,
-0.015451734,
-0.036645852,
-0.014952396,
0.017379733,
0.040030256,
-0.036978744,
-0.051487286,
0.030182201,
0.022650521,
-0.015507216,
-0.0142311305,
-0.016339445,
-0.04072378,
-0.030847985,
0.01366244,
-0.009591449,
-0.022137314,
-0.026145887,
0.034565277,
0.037450343,
-0.011477836,
-0.0067722704,
0.036118776,
-0.012559735,
0.029405454,
0.01726877,
-0.008884054,
-0.0044732355,
-0.06818736,
0.06524682,
-0.015132712,
0.0075940974,
-0.03548073,
-0.043164987,
0.024911413,
-0.034482054,
-0.009480485,
0.01479982,
0.034509797,
0.036340702,
0.03711745,
-0.0117067,
-0.0048962855,
0.01675556,
0.023593716,
0.047048725,
-0.010215621,
-0.035647176,
0.02675619,
0.018281315,
0.017657142,
-0.014189519,
-0.044191405,
0.005527393,
-0.028795153,
0.0010203484,
-0.024869801,
-0.0041021993,
0.0021742005,
0.022373112,
0.0084887445,
0.012379419,
-0.0011607872,
0.009792571,
-0.0002663569,
0.0038421277,
-0.046133272,
-0.016908135,
-0.02954416,
0.024134666,
0.029377714,
-0.048352554,
-0.017310381,
-0.005399091,
-0.016589114,
0.04158375,
0.045134597,
0.01787907,
-0.019044193,
0.010139333,
0.03273437,
0.007996341,
-0.007337493,
0.029239008,
0.011755247,
0.03434335,
0.08366684,
-0.0058568176,
-0.011082527,
-0.003939221,
-0.006709853,
-0.02929449,
0.012310066,
-0.00821827,
0.01729651,
0.0111449445,
-0.010617865,
0.009792571,
-0.040529594,
0.00083613093,
-0.0019886824,
0.021887645,
0.024342723,
-0.01395372,
-0.003849063,
-0.020500595,
0.03317823,
0.0002910637,
0.033788532,
-0.014564022,
-0.025826866,
0.030737022,
-0.0041472786,
0.0108952755,
-0.011096397,
0.011235103,
0.0552878,
0.069352485,
0.016769432,
0.056536146,
0.0029422792,
0.042748872,
0.036951005,
0.009307103,
0.0125389295,
0.04177794,
0.014896914,
-0.0025903154,
-0.0020250925,
0.0035040344,
-0.015840108,
0.0018031646,
0.0048997533,
0.01477208,
0.032900818,
-0.024467558,
-0.014633374,
-0.018503243,
-0.004282516,
-0.05209759,
0.011290585,
-0.009813377,
-0.010458355,
-0.044663,
0.053900752,
-0.09049112,
0.00027004123,
-0.054899428,
0.03492591,
0.014258871,
0.040196702,
0.011873146,
0.041944385,
0.048158366,
0.00018866043,
-0.045828123,
-0.024994636,
0.018031646,
-0.029433195,
0.0030150993,
0.011248973,
-0.021610234,
0.004608473,
-0.018087128,
0.03523106,
0.05101569,
0.0053297384,
-0.03204085,
-0.044773966,
0.012934239,
0.03262341,
-0.013135361,
0.021513142,
0.007233464,
0.039253507,
-0.00057432527,
0.041805677,
0.04208309,
-0.016103648,
0.03831031,
0.033982717,
0.029710606,
-0.0214854,
0.003450286,
0.049795084,
0.014952396,
0.06302754,
0.0050904723,
-0.00369302,
-0.012913433,
-0.006161968,
0.011755247,
-0.014577893,
-0.06691128,
0.053401414,
0.02319147,
-0.017726496,
-0.023649197,
-0.018184222,
0.031430546,
0.036756817,
-0.0067063854,
-0.008599708,
0.06347139,
0.004771451,
0.019973516,
-0.026770059,
0.016949747,
0.03575814,
0.026562002,
-0.009945147,
0.015978813,
-0.07356912,
0.008266816,
-0.036978744,
-0.082168825,
-0.0051390193,
-0.043386914,
-0.0016627258,
-0.0010359527,
-0.049822826,
0.027519066,
-0.018919358,
0.010825923,
-0.019696105,
-0.039114803,
0.040363148,
0.03131958,
0.006817349,
-0.05600907,
-0.0071849176,
-0.05548199,
0.020597689,
-0.0033792,
-0.029377714,
-0.0057077096,
0.0012110678,
0.015104972,
0.0010160139,
-0.016006554,
-0.05775675,
-0.0055620694,
-0.003035905,
-0.050960205,
-0.006997666,
-0.022511818,
0.020264797,
-0.030570576,
0.022414723,
0.027241657,
-0.022706004,
0.061307598,
0.079561174,
0.010000628,
0.032013107,
0.03068154,
0.030820245,
-0.049240265,
0.027200045,
0.06385977,
-0.0083222985,
-0.027116822,
-0.039752845,
-0.044801705,
0.017130064,
-0.013391965,
0.004910156,
-0.024897542,
0.021679588,
-0.0010723628,
-0.05434461,
0.0015266216,
-0.05376205,
-0.024953024,
-0.0240237,
-0.012497318,
0.032845337,
0.022470206,
0.026867153,
-0.076343216,
-0.027685512,
-0.019599013,
0.028309684,
-0.0072057233,
-0.012226843,
-0.00850955,
0.03204085,
0.017906811,
0.01896097,
0.034787208,
-0.040002514,
-0.030626059,
-0.020181574,
0.021956997,
0.0007412047,
-0.0030324375,
-0.011602671,
0.009515161,
0.010936887,
-0.015590439,
0.034426574,
0.038393535,
0.03320597,
-0.0042374367,
0.014647245,
-0.002548704,
0.012088139,
-0.02120799,
-0.039225765,
0.010035304,
-0.002262625,
0.043275952,
-0.048324812,
0.0023649198,
-0.028795153,
-0.019182898,
0.007968601,
-0.015465604,
-0.03650715,
0.031069914,
0.036729075,
0.06219531,
0.012906497,
-0.02929449,
0.018655818,
-0.011935563,
0.039198026,
0.06491393,
-0.0045807315,
-0.039530918,
-0.0312641,
-0.032706633,
-0.0018846538,
-0.035064615,
0.018808395,
-0.012323936,
0.006338817,
-0.04047411,
-0.043026283,
0.036451668,
0.026437167,
0.035563953,
0.04971186,
0.010368196,
-0.021318953,
0.011235103,
0.010798182,
-0.018017776,
0.025507845,
-0.043164987,
0.050017014,
0.011214297,
0.028490001,
-0.014910785,
-0.036146514,
-0.021693457,
0.034204647,
0.017074581,
-0.011186556,
-0.048463516,
-0.027130693,
0.0002403497,
0.069574416,
-0.046493907,
-0.0035577826,
0.016283963,
-0.024786578,
0.04125086,
-0.008634385,
0.0049899113,
-0.008474873,
0.0036028617,
0.039225765,
0.007961665,
-0.028073886,
-0.02621524,
-0.0434424,
-0.043109506,
0.056258738,
0.027172305,
-0.034731723,
0.004521782,
-0.028226461,
0.010014499,
0.023177601,
-0.019071933,
-0.042887576,
-0.008135047,
-0.025202693,
0.005836012,
-0.0023683873,
-0.018947098,
-0.01844776,
-0.009633061,
-0.019432567,
-0.0051424867,
-0.0619179,
-0.014425317,
-0.0016263158,
0.006931781,
0.045273304,
0.029266749,
-0.009494355,
0.00015257546,
0.0007919187,
0.04713195,
-0.0036964875,
-0.05054409,
0.04349788,
0.023233082,
0.04075152,
0.06691128,
0.0003530475,
0.00564876,
-0.0030116318,
0.031153137,
-0.047575805,
-0.0033982717,
0.021846034,
-0.010971563,
-0.03844902,
-0.0140646845,
0.014702727,
-0.06275013,
0.030098978,
-0.031652473,
-0.0073582986,
-0.014168713,
-0.053068522,
-0.046105534,
-0.009535966,
-0.008051824,
0.01787907,
-0.029405454,
-0.012663764,
-0.01449467,
-0.03317823,
-0.080282435,
-0.022706004,
-0.051931143,
0.025355268,
0.0015682331,
0.017462956,
0.033594344,
-0.041112155,
-0.048740927,
0.08449907,
0.00047549797,
0.0062070475,
0.0006202713,
0.013059073,
-0.01380808,
0.00991047,
-0.019779328,
0.013010526,
0.0045703286,
-0.00046856274,
0.03037639,
-0.007337493,
0.045356527,
-0.03855998,
-0.029322231,
0.015548827,
-0.00839165,
-0.052569184,
-0.029072562,
0.05195888,
0.028684188,
-0.02514721,
0.057867713,
-0.027560677,
-0.05248596,
-0.014355965,
0.009445809,
-0.012032656,
0.016297834,
-0.06369332,
-0.020958321,
0.048352554,
0.009515161,
0.011401549,
-0.056452923,
-0.016075905,
-0.0071225003,
0.019016452,
0.00015680163,
-0.04901834,
-0.06053085,
0.005988587,
0.0019158624,
0.044413332,
0.0063180113,
-0.012032656,
-0.029738346,
0.0058810906,
0.006591954,
-0.0044975085,
-0.03439883,
0.011505578,
-0.017795848,
0.036091033,
-0.010770441,
0.005399091,
-0.01560431,
0.022400852,
-0.02681167,
0.01506336,
-0.018752912,
-0.038421277,
-0.03650715,
-0.007753608,
0.009535966,
-0.038670946,
-0.00023514827,
0.003044574,
0.04177794,
0.0013861828,
0.04555071,
-0.03966962,
-0.035785884,
-0.026118146,
-0.033899494,
0.05104343,
-0.045855865,
-0.00935565,
0.0046396814,
0.030847985,
0.061196633,
-0.024481427,
0.058478016,
0.06607905,
-0.012608282,
-0.017476827,
-0.025036247,
0.029405454,
0.022109572,
-0.007781349,
-0.037589047,
-0.009924341,
-0.0023510493,
0.014203389,
-0.000729068,
-0.04521782,
-0.020542206,
0.01672782,
0.054843947,
-0.020708652,
0.017629402,
0.012150556,
-0.059476692,
-0.027671643,
0.006675177,
-0.01980707,
-0.010146269,
0.022706004,
0.008308427,
0.0009518629,
0.0122892605,
-0.00013848825,
-0.05023894,
-0.030487353,
0.03545299,
0.012746987,
-0.048657704,
0.014182583,
0.027366491,
-0.01534077,
-0.05992055,
0.0090366285,
-0.0026093873,
-0.04543975,
-0.017490696,
-0.021929257,
0.011027046,
-0.043608844,
0.023843385,
0.015507216,
-0.013211649,
-0.017920682,
-0.019446436,
0.028961599,
-0.026021052,
-0.031347323,
0.03855998,
-0.012622152,
0.029627383,
-0.087384135,
-0.0028815959,
-0.020708652,
0.020972192,
0.06158501,
-0.014522411,
0.029766086,
0.051237617,
-0.016977489,
0.057701267,
0.003849063,
0.017795848,
0.0008981147,
-0.0167833,
-0.045384265,
0.004494041,
0.021637976,
0.028060015,
0.011623477,
-0.02034802,
0.026340075,
0.056092292,
0.057645787,
-0.0039738975,
-0.046771318,
0.007871507,
-0.03317823,
0.009750959,
-0.0023753226,
0.01729651,
-0.0028261137,
0.016686209,
0.00089638087,
-0.022123443,
-0.013447447,
-0.004289451,
0.023954349,
-0.0086551905,
-0.031097654,
0.018031646,
-0.0340382,
-0.008960341,
0.012171362,
0.0204035,
0.00037472014,
0.0038178544,
-0.019446436,
-0.024689484,
-0.010000628,
0.047048725,
-0.0133018065,
0.0060579395,
-0.010014499,
0.052347258,
-0.016270094,
-0.0050627314,
0.000008797742,
0.051764697,
0.037644528,
-0.037700012,
0.012226843,
-0.020736393,
-0.0094180675,
0.009466615,
0.040973447,
0.029738346,
-0.011845404,
-0.03120862,
-0.029877052,
0.012032656,
-0.03151377,
-0.0024377399,
-0.06247272,
-0.0048061274,
0.0011919958,
0.065690674,
-0.024190146,
0.048130624,
0.02984931,
0.022109572,
-0.0122892605,
0.0036618114,
0.0059608463,
0.010818988,
0.048519,
-0.005676501,
0.03292856,
0.011900887,
0.0151604535,
0.020750264,
-0.047187433,
0.023510493,
-0.0022903658,
-0.029488677,
-0.03370531,
-0.012046527,
0.0206393,
0.014855303,
0.04521782,
0.0021915385,
-0.010735765,
0.025258176,
0.0029145381,
0.0121574905,
-0.041611493,
-0.016478151,
0.018225834,
-0.046493907,
-0.002177668,
-0.021124767,
-0.028434519,
-0.0074068457,
0.0066855797,
0.05270789,
0.016852655,
0.03997477,
0.020153832,
0.021554753,
-0.054871686,
-0.0026978117,
-0.005204904,
0.0004724638,
-0.039836068,
-0.014258871,
0.051293097,
0.040390886,
0.038032904,
-0.0017130064,
-0.036202,
0.008537291,
0.008946471,
0.015645921,
-0.013315678,
-0.03317823,
-0.024425946,
0.030598316,
-0.026922636,
-0.022095703,
-0.011366872,
0.01565979,
0.0026614016,
-0.009015823,
-0.024620133,
0.03098669,
0.029322231,
-0.029405454,
0.032262776,
0.025604937,
-0.026145887,
0.0052083717,
-0.013565347,
0.010839794,
0.07922828,
0.055620693,
0.03229052,
-0.024079183,
0.011242038,
0.011117203,
-0.04186116,
-0.020070609,
0.067466095,
0.0035231062,
0.037589047,
-0.013079879,
-0.002760229,
-0.0013168303,
-0.00082096003,
0.036368445,
0.023982089,
0.0010949024,
0.001771956,
-0.023982089,
-0.012025721,
0.019293861,
-0.04901834,
-0.06369332,
-0.027962923,
0.026326204,
0.019654494,
0.030043498,
0.028490001,
0.0126706995,
0.03370531,
0.024439815,
0.024037572,
0.023954349,
-0.010957693,
0.04152827,
-0.0385045,
0.045633934,
0.00592617,
-0.019959645,
-0.018364538,
-0.0075802268,
-0.009022758,
0.02231763,
-0.0044350913,
-0.04740936,
-0.0128371455,
-0.014674986,
-0.014466928,
-0.08183593,
-0.0081905285,
0.004851206,
0.03428787,
0.019668365,
-0.036035553,
-0.011810728,
0.03265115,
-0.018461632,
0.013495994,
-0.008516485,
0.01563205,
0.011047851,
0.057035483,
-0.00725427,
-0.019557402,
-0.015451734,
0.02898934,
-0.027408103,
0.011658153,
0.021984737,
-0.0032092864,
0.00039032445,
-0.02062543,
0.000013396408,
0.02093058,
0.022886321,
-0.0038698688,
-0.026381686,
-0.0114431605,
-0.00044103846,
-0.0063561555,
0.013128426,
0.072459474,
-0.012781663,
0.009730154,
0.013079879,
-0.014883043,
-0.058977354,
-0.017532308,
-0.041944385,
0.06025344,
-0.0070184716,
-0.042748872,
-0.010652542,
-0.062972054,
-0.012393289,
0.021846034,
-0.014134036,
-0.018905487,
0.04568942,
0.022664392,
0.022289889,
-0.008925665,
-0.03215181,
-0.018059388,
0.041944385,
0.06918604,
0.006983795,
0.06535778,
0.06607905,
-0.02284471,
-0.008807765,
0.032013107,
-0.010909146,
0.010243362,
-0.009771765,
0.0024672146,
-0.018614206,
-0.031097654,
-0.036645852,
-0.023621457,
0.0295719,
0.036867782,
-0.0036687464,
-0.025549456,
-0.00795473,
-0.0877725,
0.032456964,
0.01214362,
0.048713185,
-0.022830838,
-0.0005392156,
0.047492582,
-0.066245496,
0.22603363,
0.077009,
0.041389562,
0.044746224,
0.008350039,
0.022456335,
-0.007843766,
-0.022983413,
-0.003238761,
-0.04216631,
0.0027376893,
-0.033594344,
0.005510055,
0.046493907,
-0.005936573,
0.054899428,
-0.09315426,
-0.012857951,
-0.0136000225,
-0.039836068,
-0.062583685,
0.02959964,
-0.0048234654,
0.056536146,
-0.012095073,
0.024939153,
0.028060015,
-0.019127415,
0.05292982,
-0.022373112,
-0.0064740544,
-0.050599575,
-0.0068728314,
0.011748311,
-0.050682798,
-0.014980137,
-0.03267889,
-0.035092358,
0.029128045,
-0.025272045,
0.006085681,
0.018031646,
0.018850006,
-0.039836068,
-0.021707328,
0.029988015,
-0.029877052,
0.00008089317,
0.034260128,
-0.030847985,
0.038060643,
-0.044108182,
0.04324821,
-0.053540118,
-0.094985165,
0.009806441,
-0.036729075,
-0.051736955,
0.012039592,
0.024495298,
-0.0055551343,
0.025438491,
-0.00839165,
0.011616541,
-0.02566042,
0.029183526,
0.020583818,
0.039558657,
0.0073721693,
-0.005048861,
0.028656447,
-0.0031052576,
-0.015548827,
-0.0061307596,
0.017768107,
0.018184222,
-0.0018846538,
0.016963618,
-0.030542836,
-0.04247146,
0.026451038,
-0.020958321,
-0.00061030185,
-0.0859416,
0.037561305,
0.038948357,
-0.0098966,
0.040141217,
-0.00006881067,
0.023357917,
0.014550151,
0.03487043,
0.009834182,
-0.025299788,
0.0080240825
] | TFDistilBertModel
[[autodoc]] TFDistilBertModel
- call
TFDistilBertForMaskedLM
[[autodoc]] TFDistilBertForMaskedLM
- call
TFDistilBertForSequenceClassification
[[autodoc]] TFDistilBertForSequenceClassification
- call
TFDistilBertForMultipleChoice
[[autodoc]] TFDistilBertForMultipleChoice
- call
TFDistilBertForTokenClassification
[[autodoc]] TFDistilBertForTokenClassification
- call
TFDistilBertForQuestionAnswering
[[autodoc]] TFDistilBertForQuestionAnswering
- call |
[
-0.003442951,
-0.039949384,
0.0006120124,
0.012586983,
-0.0002959875,
-0.0016003798,
-0.01172973,
0.041259658,
0.013249089,
0.07476919,
0.044158984,
0.042207513,
0.02826844,
0.0022982047,
-0.03657613,
0.04661226,
-0.015068138,
-0.062391292,
-0.03309136,
0.0006459889,
0.049065538,
0.039029405,
-0.04418686,
-0.028226623,
-0.030888986,
0.0041921763,
-0.007938302,
-0.012719404,
0.027125437,
0.044855937,
-0.005021551,
0.00030121466,
0.024881246,
-0.018441394,
-0.064565785,
0.0045336834,
-0.0014174295,
-0.013200303,
-0.0068545393,
-0.0611089,
-0.0035562061,
-0.005021551,
0.06568091,
-0.032812577,
-0.004861252,
-0.017632928,
-0.02378006,
-0.0122733535,
-0.031390794,
-0.009868864,
-0.00766649,
-0.0024654735,
-0.032728944,
-0.023403704,
-0.012949399,
-0.06473306,
-0.03791428,
-0.00028749337,
-0.03186472,
-0.0047776173,
0.0064293975,
0.0655694,
-0.029132662,
-0.06785541,
0.0062447046,
0.027864207,
-0.018929262,
-0.003906425,
0.006509547,
-0.0580423,
-0.02029529,
0.011806395,
0.011917908,
-0.0111094415,
-0.018608663,
-0.000020078254,
0.0460547,
0.013541809,
-0.004795041,
0.052550305,
-0.025536383,
0.024713976,
0.028519344,
-0.028686613,
-0.0026571357,
-0.054195117,
0.068412974,
-0.021940101,
0.009973407,
-0.0035997657,
-0.03638098,
0.025285479,
-0.028770247,
0.00034564544,
0.0041608135,
0.031112012,
0.020657707,
0.041454803,
-0.0024097173,
0.0064572757,
0.025661834,
0.021954041,
0.046584383,
-0.045051083,
-0.061164655,
0.014984503,
0.03470829,
0.032255016,
-0.0028470557,
-0.046110455,
-0.0008555106,
-0.022497663,
-0.02631697,
-0.037273083,
0.0046695895,
0.019514702,
0.029829616,
0.01593236,
0.0070880186,
0.008189205,
0.015542067,
0.02812905,
0.0044744425,
-0.05110064,
-0.015458432,
-0.012064268,
0.0023330525,
0.02163344,
-0.056509003,
-0.017995343,
-0.011506705,
-0.023668546,
0.03370468,
0.030052641,
0.025062453,
0.0033227266,
0.018162612,
0.0562581,
0.024184292,
0.0021239663,
0.028101172,
0.028853882,
0.00646773,
0.08435927,
-0.0052933632,
-0.01277516,
-0.024755795,
0.008656165,
-0.039782114,
-0.003242577,
-0.012858795,
0.030861108,
0.0056104767,
-0.017033547,
0.0031972749,
-0.04965098,
0.01895714,
0.0043873233,
0.021145575,
0.016615376,
-0.03426224,
0.015960239,
-0.038109425,
0.013304845,
-0.01248244,
0.032979846,
-0.0040597552,
0.0003410717,
0.024783673,
-0.011945786,
0.041566316,
-0.030415058,
-0.0100709805,
0.046110455,
0.045190476,
0.0100640105,
0.06043982,
0.010036132,
0.02630303,
0.040283922,
-0.005321241,
0.004568531,
0.061276164,
0.0147336,
0.013060912,
0.012133963,
-0.017814135,
0.0076873987,
-0.006303946,
0.02495094,
0.029829616,
0.033314385,
-0.0025020635,
0.010517031,
-0.02437944,
0.016963853,
-0.021438295,
0.04301598,
-0.022149187,
-0.025076393,
-0.04376869,
0.04379657,
-0.0682457,
0.009081306,
-0.040506948,
0.017340207,
0.0072413483,
0.02378006,
0.0029219782,
0.04647287,
0.032394405,
-0.019891057,
-0.04346203,
-0.049204927,
0.027571486,
-0.033621043,
-0.012245475,
-0.0129215205,
-0.0059275907,
0.0024689583,
0.00032408346,
0.028254502,
0.050961252,
-0.005836987,
-0.034317996,
-0.057707764,
0.0051818504,
0.017103244,
-0.019082591,
0.02496488,
0.006645453,
0.046556503,
-0.012343049,
0.046444993,
0.011290649,
-0.005711535,
0.029578714,
0.04825707,
0.015737213,
-0.031948354,
0.034401633,
0.05731747,
0.01593236,
0.057094444,
0.012008511,
0.0055860835,
-0.009346149,
0.014064525,
0.026414543,
-0.009799168,
-0.05681566,
0.05832108,
0.03323075,
0.008265871,
-0.0050145816,
-0.008628286,
0.031056255,
0.028254502,
-0.008363443,
-0.039726358,
0.053163625,
0.019333495,
0.0063318238,
-0.02676302,
0.014329367,
0.017395964,
0.034206487,
-0.009757351,
0.013130607,
-0.05910167,
-0.005460632,
-0.04438201,
-0.09378208,
0.0007635999,
-0.04527411,
0.0112348925,
-0.0027390278,
-0.06300461,
0.010733087,
-0.025620017,
0.035516758,
-0.026038188,
-0.036185835,
0.04106451,
0.024226109,
0.0015280709,
-0.045775916,
-0.0053177564,
-0.05110064,
0.015960239,
0.020852853,
-0.034959197,
-0.011437009,
0.0017685199,
0.0045476225,
0.021271026,
-0.03824882,
-0.0571502,
-0.023598852,
-0.008321627,
-0.042151757,
-0.0051713963,
-0.012050329,
0.02180071,
-0.036018565,
0.020866793,
0.0252576,
-0.02842177,
0.065346375,
0.064956084,
0.00812648,
0.037440352,
0.017019609,
0.010997929,
-0.05218789,
0.004749739,
0.057652008,
-0.0007078436,
-0.03518222,
-0.05943621,
-0.069082044,
-0.011632157,
-0.0013860665,
-0.0012092146,
-0.018608663,
0.014942686,
-0.030192032,
-0.06278159,
0.016489923,
-0.052132133,
-0.048814636,
-0.023989145,
-0.0073946784,
0.010837629,
0.023766119,
0.05296848,
-0.058767132,
-0.006495608,
-0.01970985,
0.037273083,
0.002286008,
-0.00016628878,
-0.018106855,
0.06428701,
0.01714506,
0.009743412,
0.030136276,
-0.024184292,
-0.02902115,
-0.022386152,
0.024811551,
-0.012217598,
-0.0107191475,
-0.026539994,
0.008488895,
0.027794512,
-0.02152193,
0.03730096,
0.05505934,
0.022887958,
-0.008962824,
0.023640668,
-0.0025003213,
0.010280066,
-0.0028766762,
-0.06294885,
0.012447592,
0.015737213,
0.015709335,
-0.026456362,
0.0054397234,
-0.03504283,
-0.0118830595,
0.008328596,
-0.009980377,
-0.026289092,
0.038416084,
0.023598852,
0.068412974,
-0.000066700646,
-0.0055407817,
0.023668546,
-0.02977386,
0.03141867,
0.024309743,
0.009492509,
-0.045469258,
-0.037802767,
-0.04750436,
0.000768827,
-0.023849754,
0.012126993,
-0.0037879432,
-0.007652551,
-0.039754238,
-0.06367368,
0.036269467,
0.009701595,
0.023487339,
0.06445427,
0.007561947,
-0.026289092,
0.016029933,
0.00044648594,
0.0016482954,
0.00827981,
-0.039642725,
0.03233865,
0.006422428,
0.010363701,
-0.011067624,
-0.0036938544,
-0.008091632,
0.037412472,
0.008035876,
-0.022971593,
-0.03997726,
-0.02332007,
-0.004359445,
0.08001028,
-0.0394197,
0.0046591354,
-0.013437266,
-0.011165198,
0.031697452,
-0.01428755,
0.012761221,
-0.026665447,
0.0014365957,
0.027292706,
0.0011612991,
-0.03008052,
-0.029216297,
-0.026400605,
-0.03292409,
0.030136276,
0.018817749,
-0.03548888,
0.028310258,
-0.016810521,
-0.007206501,
0.008314657,
-0.0076316427,
-0.012238506,
-0.011562461,
-0.0113673145,
0.03113989,
-0.019751666,
-0.036882788,
-0.02450489,
-0.0013137576,
-0.028477527,
-0.008405261,
-0.058376838,
-0.006903326,
-0.0027494822,
0.013423327,
0.032701064,
0.012496379,
-0.0019131377,
0.000061201245,
0.0017249603,
0.0412039,
0.01488693,
-0.049288563,
0.03518222,
0.010307944,
0.013611505,
0.0788394,
0.027013924,
0.01082369,
0.021926163,
0.0562581,
-0.048954025,
-0.0009774775,
0.009353118,
0.013513931,
-0.015109955,
-0.011409132,
0.033788312,
-0.06177797,
0.02209343,
-0.047727387,
-0.04513472,
-0.02378006,
-0.060049526,
-0.05110064,
0.005864865,
-0.026233336,
0.019765606,
-0.0139599815,
-0.030916864,
0.0070008994,
-0.04602682,
-0.079452716,
-0.039140917,
-0.03866699,
-0.0042549022,
-0.024546707,
0.0052410914,
0.06032831,
-0.039168794,
-0.04538562,
0.072260156,
0.012113054,
0.0044430797,
-0.010245219,
0.031892598,
-0.0050320053,
0.034987073,
-0.021201331,
-0.0039761206,
0.033621043,
-0.006432882,
0.02361279,
-0.010781873,
0.033788312,
-0.030693838,
-0.014231794,
0.039196674,
-0.008001028,
-0.05411148,
-0.050292175,
0.05034793,
0.021494051,
-0.010287036,
0.060551334,
-0.024867307,
-0.04990188,
-0.022316456,
0.013486053,
-0.016448107,
0.0009034262,
-0.07142381,
-0.03429012,
0.012573044,
0.011241863,
0.012308202,
-0.06662877,
-0.022372212,
0.0056488095,
0.03350953,
-0.013667261,
-0.04304386,
-0.07733398,
0.028017538,
-0.0031293218,
-0.003760065,
0.02135466,
0.0014235278,
-0.034959197,
0.0057812305,
0.013904225,
-0.04800617,
-0.048340704,
0.011297619,
-0.008579499,
0.009562205,
-0.01038461,
-0.002685014,
-0.03055445,
0.0108445985,
-0.028798126,
0.01233608,
-0.0006777874,
-0.02089467,
-0.020183777,
-0.012050329,
0.022330396,
-0.011903969,
0.011625187,
0.009583113,
0.043573543,
0.009910681,
0.02209343,
-0.04393596,
-0.010356732,
-0.03791428,
-0.032115623,
0.028770247,
-0.041231778,
-0.0022302517,
0.00097399275,
0.016420228,
0.043824445,
-0.022427969,
0.045636527,
0.06149919,
-0.0026954683,
-0.0029585683,
-0.050738227,
0.01877593,
0.023180678,
-0.028602978,
-0.0369943,
-0.012914551,
0.0028993273,
-0.007973149,
0.021494051,
-0.050598834,
-0.0121409325,
0.028059354,
0.054557532,
-0.017702622,
0.013458175,
0.013611505,
-0.06740936,
-0.014566331,
-0.012545166,
-0.016740827,
-0.013806652,
0.039363943,
0.021466173,
-0.0045755007,
0.021020122,
-0.015583884,
-0.039168794,
-0.009095245,
0.022246761,
0.018260187,
-0.008523744,
0.0121409325,
0.016057812,
-0.03415073,
-0.04229115,
0.0077501247,
-0.019640153,
-0.04767163,
0.0027912995,
-0.03309136,
-0.0024010052,
-0.05673203,
0.003333181,
0.011255802,
-0.021271026,
-0.013374541,
-0.028003598,
0.014183007,
-0.032227136,
-0.004495351,
0.05815381,
-0.042597808,
0.0046347417,
-0.06618272,
0.010872477,
-0.004195661,
0.040060896,
0.062670074,
-0.022609176,
0.031167768,
0.04513472,
-0.0039517274,
0.05926894,
0.016894156,
0.003089247,
-0.008021937,
-0.013562718,
-0.047532238,
0.00013307459,
0.038416084,
0.018580785,
-0.0016134477,
0.0073180133,
0.029383566,
0.06043982,
0.06194524,
-0.002834859,
-0.025647895,
-0.011834273,
-0.019208042,
0.011639126,
-0.015960239,
0.009102215,
0.0081195105,
0.025508504,
0.0014723146,
-0.0055512358,
-0.0023835816,
0.0168384,
-0.0014810265,
-0.018761992,
-0.03178109,
0.018929262,
-0.071089275,
-0.036185835,
0.00991765,
-0.011004899,
0.007917394,
0.0068649934,
-0.029550835,
-0.022246761,
-0.012586983,
0.06032831,
-0.019138347,
-0.0017406418,
-0.0002988189,
0.050403688,
-0.032310773,
-0.023640668,
-0.008962824,
0.03183684,
0.04739285,
-0.020685585,
-0.00041577642,
-0.008461017,
-0.005112155,
0.014524514,
0.001451406,
0.027571486,
-0.026442422,
-0.021103757,
-0.00390991,
0.013430297,
-0.029857494,
0.0006960825,
-0.033565287,
-0.02496488,
0.035321612,
0.051212154,
-0.01593236,
0.060997386,
0.02555032,
0.024463074,
-0.024895184,
-0.0037321867,
0.0064642453,
0.012649708,
0.050961252,
-0.012740313,
0.012259414,
0.007582856,
0.021396477,
0.063394904,
-0.024713976,
0.002345249,
-0.022762507,
-0.028491465,
-0.041872974,
-0.02046256,
-0.0024428226,
0.033063482,
0.061610702,
0.017981404,
0.0021692682,
0.015402676,
-0.008440109,
0.0076177036,
-0.04109239,
-0.02390551,
0.017855953,
-0.041231778,
-0.03127928,
-0.024616404,
-0.0034115883,
-0.013144546,
0.014942686,
0.05653688,
-0.0029080391,
0.04435413,
0.0049553406,
-0.0011003156,
-0.039949384,
-0.0112348925,
-0.0135696875,
-0.024937002,
-0.039280307,
-0.025187906,
0.04725346,
0.04538562,
0.03275682,
-0.0037391563,
-0.018274125,
0.0025142604,
-0.006251674,
0.021926163,
-0.029745983,
-0.01203639,
-0.038583353,
0.010168554,
-0.01791171,
-0.01654568,
-0.035990685,
0.021466173,
-0.0034081035,
-0.011862151,
-0.011931847,
0.025452748,
0.03529373,
-0.03113989,
0.034373753,
0.035711907,
-0.019626215,
0.02932781,
-0.013973921,
0.01338151,
0.06818995,
0.07493646,
0.019668031,
-0.029076906,
0.027292706,
0.0026013795,
-0.022539482,
-0.00016814008,
0.06451003,
0.0077710333,
0.029606592,
-0.017061425,
-0.008321627,
0.006959082,
0.021619502,
0.02450489,
0.019904997,
0.0129215205,
0.03462466,
0.005397906,
-0.028937517,
0.055310242,
-0.06166646,
-0.067297846,
-0.021995857,
0.0114927655,
0.0026275152,
0.033258628,
0.02496488,
0.003075308,
0.027376339,
0.043239005,
0.020518316,
0.00624122,
-0.0026553934,
0.010621574,
-0.031390794,
0.05065459,
-0.009374027,
-0.014789357,
-0.04109239,
-0.0009696368,
-0.007945272,
0.021842528,
0.00203162,
-0.062224023,
0.016782643,
-0.009387965,
-0.014273611,
-0.053804822,
-0.019291677,
0.0085028345,
0.0069904453,
0.03791428,
-0.031112012,
-0.0312514,
0.035684027,
0.007624673,
0.008147389,
-0.022748567,
0.023543095,
-0.0034899954,
0.018162612,
-0.016448107,
-0.015779031,
-0.026093945,
0.04839646,
-0.0063701565,
0.011290649,
0.0026031218,
-0.004199146,
-0.01625296,
-0.00013688605,
-0.0067012096,
0.02180071,
0.014426941,
-0.012106085,
-0.0003308352,
0.017786257,
-0.013060912,
-0.010098859,
0.008677073,
0.018162612,
-0.008537683,
0.024058841,
0.01067733,
-0.013820591,
-0.04000514,
0.0039308188,
-0.03863911,
0.07097776,
-0.018343821,
-0.024295805,
-0.024686098,
-0.031195646,
-0.015890544,
0.031558063,
0.0057568373,
-0.024616404,
0.039949384,
0.022023736,
-0.002444565,
0.004314143,
-0.027919963,
-0.033593167,
0.03261743,
0.063394904,
-0.0081195105,
0.04243054,
0.04418686,
-0.010496122,
-0.012106085,
0.042792954,
0.00090516853,
0.03219926,
-0.0068406,
-0.0047601936,
0.0047567086,
-0.048201315,
-0.039280307,
-0.009241605,
0.029718105,
0.025006697,
-0.015012382,
-0.0120154815,
0.020183777,
-0.077557005,
0.032087747,
0.015737213,
0.05670415,
-0.028937517,
-0.0168384,
0.020128021,
-0.07594007,
0.22793172,
0.06032831,
0.03679915,
0.048814636,
0.028156927,
0.022163127,
-0.0001868707,
-0.025327295,
0.009722504,
-0.027376339,
-0.006140162,
-0.031335037,
0.014984503,
0.052215766,
-0.00646773,
0.037942156,
-0.09997103,
-0.017270511,
0.014900869,
-0.042207513,
-0.06674028,
0.027209071,
-0.00073005894,
0.055115096,
-0.014183007,
0.015556006,
0.011924877,
-0.037189446,
0.05338665,
-0.03083323,
0.0073458916,
-0.042151757,
0.013276967,
0.013493023,
-0.043824445,
-0.0037705193,
-0.040200286,
-0.04346203,
0.0327847,
-0.032450162,
-0.0079870885,
0.015779031,
0.017214755,
-0.039782114,
-0.02840783,
0.029104784,
-0.0285751,
0.00081587135,
0.04764375,
-0.05126791,
0.043685056,
-0.041399047,
0.04075785,
-0.038276695,
-0.09288999,
-0.01067036,
-0.009827047,
-0.053665433,
-0.0023748695,
0.014510575,
0.009109184,
0.015890544,
-0.00496231,
0.032059867,
-0.017883832,
0.05759625,
0.025633955,
0.03161382,
-0.012001542,
-0.015751153,
0.03219926,
0.023933388,
-0.022330396,
-0.0031362914,
0.029383566,
0.005004127,
-0.018288065,
-0.012949399,
-0.01923592,
-0.036520373,
0.0396706,
-0.032701064,
-0.016002055,
-0.06400822,
0.03518222,
0.023208557,
-0.0010210371,
0.03548888,
0.0054536625,
0.019431068,
-0.00055407814,
0.032728944,
0.024895184,
-0.030888986,
0.012245475
] |
FlaxDistilBertModel
[[autodoc]] FlaxDistilBertModel
- call
FlaxDistilBertForMaskedLM
[[autodoc]] FlaxDistilBertForMaskedLM
- call
FlaxDistilBertForSequenceClassification
[[autodoc]] FlaxDistilBertForSequenceClassification
- call
FlaxDistilBertForMultipleChoice
[[autodoc]] FlaxDistilBertForMultipleChoice
- call
FlaxDistilBertForTokenClassification
[[autodoc]] FlaxDistilBertForTokenClassification
- call
FlaxDistilBertForQuestionAnswering
[[autodoc]] FlaxDistilBertForQuestionAnswering
- call |
[
-0.00658203,
0.03299791,
0.020886974,
-0.02607159,
-0.033808004,
-0.023168745,
-0.021048995,
0.0064773927,
0.03661634,
0.05511353,
-0.013960654,
0.019590821,
-0.0027020078,
-0.040207766,
-0.03410504,
0.05392539,
-0.035158165,
-0.010619008,
-0.024491902,
0.021899594,
0.028245347,
0.01949631,
-0.047228597,
-0.021048995,
-0.012475478,
0.010200459,
-0.0015273684,
0.012104184,
0.0734487,
-0.0081752185,
0.012603743,
-0.0017037331,
-0.030027557,
-0.03453709,
0.019779844,
-0.059839092,
0.01848369,
0.0041314894,
-0.025761053,
-0.027205724,
0.005528905,
-0.006575279,
0.010078944,
-0.05897499,
-0.017538577,
-0.00742588,
-0.027732287,
-0.011071312,
-0.012617245,
-0.02557203,
-0.021427039,
0.0481197,
0.017741103,
0.03097267,
-0.040639814,
0.010693267,
-0.03334895,
-0.023222752,
-0.02380332,
0.029811533,
0.022358648,
0.01933429,
-0.012266204,
-0.07312466,
0.01358261,
0.033537973,
0.011192827,
-0.013893146,
0.012988539,
-0.02396534,
-0.078525305,
0.0371294,
0.022817703,
-0.032970905,
-0.00683856,
0.012671252,
0.025801558,
0.035671227,
-0.014001159,
0.039100632,
0.016309932,
0.032511853,
-0.026827678,
-0.0062681176,
-0.04668853,
-0.042746063,
0.016269429,
-0.031593744,
-0.0071085924,
0.012867024,
-0.035644222,
0.054033402,
0.018699715,
0.025909571,
-0.053547345,
0.033970024,
-0.012252701,
0.015216303,
-0.004084234,
0.017822111,
0.043583166,
0.05352034,
0.01510829,
0.041233886,
0.0122189475,
0.012556488,
-0.014635734,
-0.040450793,
-0.022520669,
-0.05535656,
-0.025274996,
-0.013440843,
-0.012185194,
-0.021224516,
0.014163178,
0.02354679,
-0.018969748,
0.02910945,
-0.03891161,
-0.004793068,
-0.03275488,
-0.026517142,
0.05551858,
-0.017363057,
0.0064537646,
-0.06442963,
-0.005123857,
0.015243306,
-0.045365375,
-0.021562055,
-0.016269429,
-0.0070343334,
-0.011469609,
0.0210895,
-0.0160399,
0.018173153,
-0.00040736859,
0.01358261,
0.018024636,
-0.0014801129,
0.0020606816,
-0.0014708305,
-0.020117383,
0.06761601,
-0.01991486,
0.06615784,
0.01113882,
0.012813019,
-0.015243306,
0.007493388,
-0.02742175,
-0.026085092,
0.008080708,
0.030405603,
-0.005771934,
0.04458228,
-0.015337817,
0.0016218796,
0.020238899,
0.017363057,
0.03502315,
0.010274718,
-0.021656565,
0.008843548,
-0.007216605,
0.06788605,
-0.02338477,
-0.023951838,
-0.011368347,
0.013609612,
0.06777803,
0.0042530037,
-0.039127637,
0.006490894,
0.021575557,
0.03383501,
0.04911882,
-0.009883171,
0.025680043,
0.023951838,
-0.029271469,
0.003493539,
-0.0016058466,
0.025896069,
0.043799188,
0.037615456,
0.0038344543,
0.0035137914,
-0.03791249,
0.0011493237,
0.019172272,
0.047741655,
-0.034483086,
0.026976196,
-0.036670346,
0.02742175,
0.029190458,
-0.0072976146,
-0.017174035,
-0.067291975,
-0.006521273,
0.035833247,
-0.006683292,
0.001451422,
-0.00047044636,
0.011975919,
0.021764578,
0.06767002,
-0.05308829,
-0.00016254661,
0.032133806,
0.032700874,
-0.02634162,
-0.030594625,
0.025531525,
0.008857049,
-0.009883171,
0.03391602,
0.001333283,
0.0042158747,
0.039451674,
0.040315777,
0.016579965,
-0.0026800677,
0.0011273836,
0.011165823,
-0.011516864,
0.03739943,
-0.036670346,
0.013305827,
-0.036832366,
0.008046954,
-0.021643065,
0.038371548,
0.009160835,
0.004074108,
0.053277314,
0.0139471525,
-0.01383914,
0.0065111467,
0.023438778,
0.025855564,
0.032619864,
0.010814781,
0.038776595,
0.0053736367,
0.0006877377,
-0.02017139,
0.021656565,
0.02716522,
-0.036994383,
0.02970352,
0.008479005,
-0.028245347,
-0.01721454,
-0.044987332,
0.07798524,
0.0060217134,
-0.014689741,
-0.020292904,
0.008870551,
0.007567647,
-0.053007282,
-0.0125497375,
-0.0033399581,
0.04676954,
-0.030513616,
-0.012671252,
-0.006852062,
-0.030864658,
-0.018686214,
-0.011537117,
-0.053466335,
0.010443487,
-0.015243306,
-0.024194866,
0.035725232,
-0.028056324,
-0.021548552,
0.005140734,
0.022088617,
-0.0034462833,
-0.010659513,
0.052008163,
0.060055114,
0.010963299,
-0.008755787,
0.039370663,
0.0044521526,
0.04506834,
-0.02388433,
0.029973552,
-0.011780146,
0.023236252,
0.038209528,
-0.014136175,
-0.032457847,
0.051252075,
0.0056402935,
0.015418827,
-0.011159073,
-0.018672712,
0.016228924,
-0.017687095,
-0.015729364,
0.023236252,
0.045878436,
-0.017930124,
0.038452554,
0.009174337,
-0.013123555,
0.024937455,
0.0059204516,
0.013393587,
-0.035050154,
0.030648632,
0.036400314,
-0.043259125,
0.007857931,
-0.030756645,
-0.036778357,
-0.006176982,
0.012853523,
-0.017322553,
0.019658329,
0.009376861,
0.027327238,
-0.07776921,
0.035158165,
-0.038020507,
-0.03216081,
-0.025977079,
-0.036778357,
0.01612091,
0.02843437,
0.0031576867,
-0.034888133,
0.0077634198,
0.045959447,
-0.024437895,
0.03172876,
-0.048497748,
0.009289101,
0.027921308,
-0.0060993475,
0.0028133958,
0.014527721,
-0.011321091,
0.03445608,
-0.015931888,
0.01080128,
0.027705282,
0.008316985,
0.0067136707,
0.0014429835,
-0.0027931435,
-0.009214842,
0.035212174,
0.04844374,
-0.022304643,
0.048983805,
0.0034226556,
0.044771306,
0.011294088,
-0.009606388,
-0.028704401,
-0.010747273,
0.041449912,
0.045203358,
-0.06194534,
-0.004701932,
-0.004526411,
-0.023479283,
-0.011672133,
0.007621653,
-0.012502481,
0.03415905,
0.0030901786,
0.0050664754,
-0.07695912,
-0.014392706,
0.020697953,
-0.0071558477,
0.024707928,
-0.017673595,
0.03451009,
-0.011165823,
0.03062163,
-0.043340135,
-0.02894743,
0.00270032,
-0.02009038,
-0.02455941,
-0.023614299,
-0.035212174,
-0.008641024,
0.047741655,
0.053007282,
0.028623391,
-0.007493388,
0.04455528,
-0.017201038,
0.06561778,
0.041827958,
-0.011219829,
-0.011786897,
-0.0006531399,
0.028677398,
-0.013751379,
-0.04884879,
-0.019293787,
-0.008479005,
-0.040153757,
0.026463136,
-0.0011577621,
0.011584372,
0.004911207,
0.035968263,
0.015540342,
-0.014595229,
-0.023479283,
-0.01637744,
-0.023047231,
0.020751959,
0.02202111,
-0.023627799,
-0.032187816,
-0.029568505,
-0.011375098,
0.023681806,
0.009221593,
-0.05495151,
0.0039728456,
-0.00020294593,
-0.043340135,
0.0683721,
0.05578861,
0.0051744883,
-0.029082445,
-0.002745888,
0.038776595,
-0.035806242,
-0.018767225,
-0.027124714,
-0.01054475,
-0.028893424,
0.032781884,
0.024356887,
0.013825638,
-0.03426706,
0.03764246,
-0.043934207,
0.019874355,
-0.00978866,
-0.022250637,
-0.023249755,
-0.021548552,
0.008080708,
0.036751356,
0.017403562,
-0.025815058,
-0.0019762968,
0.02033341,
0.0067980555,
-0.016660973,
0.012752261,
-0.025788056,
-0.002334089,
0.07047835,
-0.00679468,
-0.049982924,
0.037318423,
-0.008978564,
-0.0038985868,
0.015567345,
-0.080847576,
0.026436133,
-0.014082168,
-0.019968865,
0.023317263,
0.005744931,
0.023236252,
0.021211013,
-0.008114462,
-0.008485756,
-0.08127963,
-0.0049753394,
0.021157008,
-0.07042435,
0.02767828,
0.025450516,
-0.07555495,
0.059569057,
-0.042800073,
-0.00742588,
0.01080128,
0.0013721001,
-0.044015214,
0.10174806,
-0.012718507,
-0.03383501,
-0.011516864,
-0.08878652,
0.0101262,
-0.07409678,
0.01578337,
-0.018078642,
0.038965616,
-0.053466335,
-0.02724623,
-0.039289657,
0.011624877,
-0.0032521978,
-0.008060455,
-0.013035795,
-0.0107135195,
0.03739943,
-0.03872259,
-0.0371294,
0.04126089,
0.0033787754,
-0.04431225,
-0.0056943,
0.017660093,
0.049631882,
0.014878763,
0.0011400414,
-0.0037736972,
-0.024667423,
-0.04676954,
0.06685992,
-0.032943904,
-0.018470189,
-0.043799188,
-0.036346305,
-0.026773673,
0.0362653,
0.042233005,
-0.042827073,
0.0053736367,
-0.049415857,
0.013724376,
-0.04928084,
-0.012164941,
-0.043907203,
0.0040032244,
-0.07139646,
0.01830817,
-0.014379204,
0.0118881585,
0.008850299,
0.045986447,
-0.005839442,
0.007911937,
-0.04169294,
-0.038128518,
0.0059204516,
-0.029514497,
0.0012379279,
-0.027313737,
-0.039181642,
0.041152876,
-0.048659764,
-0.015162297,
-0.01874022,
0.029190458,
-0.038074512,
-0.005022595,
0.035833247,
-0.039019622,
0.010983552,
-0.0049247085,
0.01915877,
0.010024938,
0.0033602107,
-0.044501275,
-0.02118401,
-0.022628682,
-0.043610167,
0.032781884,
-0.045095343,
-0.026382126,
-0.008634273,
0.027057206,
-0.026058087,
-0.035968263,
0.006804806,
0.094619215,
0.025788056,
0.0010176831,
-0.039424673,
0.0194153,
0.009073075,
-0.009586136,
-0.027367743,
-0.03775047,
-0.00065946876,
0.0049719643,
-0.045959447,
-0.023276757,
-0.033889014,
0.014689741,
0.05773284,
-0.0022429533,
0.025166983,
-0.022912215,
-0.041800953,
-0.043799188,
0.0396407,
-0.008816545,
0.029514497,
0.048713773,
0.0015239931,
0.011692385,
0.025247991,
-0.05686874,
0.010990302,
0.0014868637,
0.046634525,
-0.016134411,
-0.048173707,
0.029838536,
0.05343933,
-0.036427315,
-0.07064037,
0.024032848,
0.021251518,
-0.028461372,
-0.020238899,
-0.008161717,
-0.00742588,
0.0047829417,
-0.008040203,
0.043502156,
-0.009295852,
0.015567345,
0.025558528,
0.024937455,
-0.015553843,
0.020994987,
0.033321947,
-0.007014081,
-0.030675635,
-0.04431225,
-0.019955365,
0.00303786,
-0.029244466,
0.0565447,
-0.017093025,
-0.024329882,
-0.003329832,
0.03197179,
0.06118925,
-0.021035492,
0.022925716,
0.0029906044,
-0.076365046,
-0.05476249,
-0.04658052,
0.01722804,
-0.0025906195,
0.013596111,
0.0083979955,
0.037183408,
0.051954158,
0.028596388,
0.0003780448,
-0.07058636,
-0.00102359,
-0.04776866,
-0.05019895,
-0.04784967,
-0.0027256354,
-0.0073583717,
0.0050799767,
0.026004082,
-0.050658002,
0.047876675,
-0.054465454,
-0.01813265,
-0.033375956,
-0.0055221543,
-0.007554145,
-0.04550039,
-0.032403838,
-0.03502315,
-0.04466329,
0.026179602,
0.069452226,
0.033862013,
0.032592863,
0.019631326,
0.04887579,
0.010943047,
0.0089853145,
-0.026679162,
-0.010180206,
-0.027921308,
-0.018632207,
-0.01653946,
-0.0034800374,
0.022493666,
-0.025585532,
0.049361847,
-0.00818872,
0.0018514069,
-0.020778961,
0.0136163635,
0.015081287,
0.0007717008,
0.00061685435,
-0.05352034,
0.041881964,
-0.013123555,
0.00371294,
-0.006447014,
-0.022750195,
-0.0012497419,
0.018713217,
-0.012569989,
0.024262374,
0.04239502,
0.028542383,
0.004009975,
0.007871433,
0.014001159,
-0.0006598907,
0.02775929,
-0.020630445,
0.0371294,
-0.028785411,
0.03199879,
-0.0127320085,
0.015418827,
0.014743747,
-0.024262374,
-0.005873196,
-0.023425275,
-0.012941283,
0.020454925,
0.008755787,
0.00029492556,
0.015391824,
0.031512734,
-0.026314618,
-0.014284693,
-0.015634853,
-0.071666494,
-0.06869614,
0.0036758105,
-0.034672108,
0.015877882,
0.020819467,
-0.04987491,
-0.018632207,
-0.016431447,
0.010828283,
0.034834128,
0.03164775,
0.03788549,
0.06853412,
-0.076419055,
0.01662047,
-0.00016845355,
0.0464185,
-0.034645107,
-0.044258244,
0.0010683141,
0.044609286,
0.026436133,
0.011118568,
-0.0139471525,
-0.009100079,
-0.011996171,
-0.020373914,
0.017079525,
0.015675357,
-0.016566463,
0.032133806,
-0.027394745,
0.041503917,
-0.032214817,
0.03113469,
0.009802162,
0.020117383,
-0.014635734,
0.02751626,
0.0014716744,
-0.038236532,
0.050685007,
-0.025531525,
0.035131164,
0.012124437,
-0.017700598,
0.020198394,
0.009579385,
0.025018465,
0.05098204,
-0.014028162,
0.06864213,
0.02962251,
-0.018618707,
-0.03383501,
0.0000119984925,
0.008337238,
-0.021224516,
-0.004624298,
-0.06653588,
-0.0130627975,
-0.018105645,
-0.01401466,
0.021535052,
-0.04984791,
-0.030675635,
-0.0023644676,
-0.016147913,
0.051711127,
-0.012603743,
-0.0012539611,
0.020387415,
-0.022844708,
0.035995264,
0.0035779239,
0.019172272,
0.022466661,
0.006008212,
0.018348673,
-0.0037264416,
-0.019307287,
-0.016228924,
0.00014704086,
-0.028677398,
0.047822665,
-0.026395628,
0.0036555582,
-0.028461372,
-0.022655685,
-0.02717872,
0.004590544,
0.007493388,
-0.04212499,
0.026517142,
-0.043421146,
-0.06394358,
-0.049550872,
0.011658631,
-0.038290538,
0.0054073907,
0.03775047,
-0.035563216,
-0.026058087,
0.049415857,
-0.014676239,
-0.012840021,
0.035158165,
0.07604101,
0.0020775588,
0.04590544,
0.04701257,
0.010814781,
0.008080708,
0.01991486,
-0.02566654,
0.010423235,
0.0019492934,
0.012873775,
0.025437014,
-0.02489695,
-0.05730079,
-0.030999674,
0.009262097,
-0.011935414,
-0.0069398223,
-0.008067206,
0.020292904,
-0.0072976146,
-0.0058360663,
0.045122348,
0.00573818,
0.0019273533,
0.0013020606,
0.011219829,
-0.038290538,
0.009329606,
-0.06621184,
-0.0023425275,
-0.0072503593,
-0.02430288,
0.006254616,
-0.043151114,
-0.01586438,
-0.0019931737,
-0.024194866,
-0.04293509,
0.022061614,
0.0624314,
0.025085973,
-0.0020859973,
0.0054310183,
-0.021953601,
0.010072193,
0.08014549,
-0.0036319303,
0.053952392,
0.03688637,
0.026773673,
-0.006052092,
-0.02414086,
0.0261661,
0.008013199,
-0.024937455,
0.0061736065,
0.010733772,
-0.022048112,
-0.022358648,
-0.019968865,
0.058758963,
-0.025801558,
0.020967985,
-0.0278403,
0.021103,
-0.078795336,
-0.0037736972,
-0.032025795,
-0.013785133,
-0.014230686,
-0.016701479,
-0.025923071,
-0.045635406,
0.2093288,
0.051846143,
0.038452554,
0.045932442,
0.025247991,
0.0066225347,
-0.0040639816,
-0.038614575,
0.023816822,
-0.06599582,
0.06270143,
0.0039694705,
0.016147913,
0.0038715838,
0.04085584,
0.051468097,
-0.041422907,
-0.0034732865,
0.058002874,
-0.036508325,
-0.062809445,
0.0185647,
-0.014325198,
-0.027057206,
-0.0076554073,
0.024923954,
0.014284693,
-0.05605864,
-0.02168357,
-0.0034699112,
-0.017147033,
0.0052791256,
0.045284364,
-0.02886642,
-0.019685332,
0.02666566,
-0.02811033,
-0.049577873,
0.013893146,
0.0010252778,
0.0009864606,
0.019050756,
-0.0005670672,
0.023695307,
0.04253004,
0.05551858,
0.014392706,
0.0000759465,
0.06804806,
-0.03745344,
0.016336937,
-0.014662737,
0.012779264,
0.013636616,
-0.05495151,
-0.025545027,
-0.0013940402,
-0.029568505,
0.008843548,
-0.006693418,
0.038101513,
-0.006237739,
-0.009849417,
-0.03326794,
-0.007081589,
0.024802439,
0.026814178,
0.013373335,
-0.008661277,
-0.023344265,
-0.0073448704,
0.031080684,
0.013474597,
-0.018456686,
0.02211562,
0.060541175,
-0.01299529,
0.028137334,
-0.018578202,
-0.019293787,
0.00097633444,
-0.042503037,
0.0030969295,
0.029973552,
-0.0040032244,
0.046715535,
-0.0044015218,
0.02288521,
-0.058650948,
0.051522106,
0.039316658,
0.036670346,
-0.016917504,
0.019658329,
0.0039357166
] | OpenAI GPT |
[
-0.015948938,
-0.038958076,
-0.006742744,
0.02095203,
-0.030348698,
-0.015771164,
0.013663263,
0.01156171,
0.005663397,
0.077357434,
0.011891864,
0.0011539488,
0.03588511,
-0.05444988,
0.010634742,
0.031009004,
-0.030348698,
-0.033802606,
-0.06389734,
0.02496466,
0.009809359,
-0.02038061,
-0.06247514,
0.0093649225,
-0.0141076995,
0.047415078,
-0.026970975,
0.016190205,
0.060392637,
0.07177022,
-0.014945781,
0.011593456,
-0.012088686,
-0.026209084,
0.0037205725,
-0.014996573,
0.020393308,
0.011015688,
-0.048634104,
-0.08004945,
0.0014341029,
-0.04279293,
0.010285541,
-0.005584033,
-0.028799517,
-0.04543416,
-0.04998011,
0.0016412423,
-0.010469666,
-0.03210105,
0.011809326,
0.021815507,
0.06171325,
-0.005669746,
-0.010723629,
-0.021409165,
-0.041878663,
0.0051776906,
-0.023288498,
0.027986832,
0.0045173843,
0.076493956,
-0.027199544,
-0.049675357,
-0.0032920083,
0.04881188,
0.011396634,
0.011022037,
-0.041446924,
-0.013104542,
0.007625269,
0.05424671,
0.01438706,
-0.044189733,
-0.026513841,
0.008933184,
0.043402445,
0.018107632,
-0.009199846,
0.07512255,
-0.01960602,
0.02236153,
0.01989808,
-0.004698334,
-0.04683096,
-0.053129267,
0.021091709,
-0.046526205,
-0.013879132,
-0.010990292,
0.012253762,
0.0402025,
-0.013371204,
-0.036291454,
0.019999664,
0.016672736,
-0.0097268205,
0.020088552,
-0.006091961,
0.02518053,
0.02151075,
-0.002395198,
0.047288094,
0.0039967583,
-0.03060266,
0.0025158308,
0.044062752,
-0.0012460108,
-0.0176251,
-0.0006293545,
-0.0038031107,
0.006409416,
-0.013460091,
0.0024951962,
0.0051237233,
-0.004964996,
0.004117391,
0.02770747,
-0.019567925,
0.008203037,
0.017485421,
0.016748926,
0.025701156,
-0.058564097,
-0.035351787,
-0.047719833,
-0.020152042,
0.022653587,
-0.02785985,
-0.03377721,
-0.019098092,
0.00465389,
0.06882424,
0.014679119,
0.0557197,
0.0058348225,
-0.00084681116,
0.02067267,
-0.002580909,
-0.026056705,
0.011529965,
-0.009650632,
0.023021836,
0.091020696,
-0.02933284,
0.023085326,
-0.010844262,
0.0065268744,
-0.029713787,
0.038551733,
-0.041218355,
0.0038539036,
0.0026761456,
0.0016650514,
-0.002199963,
-0.014907686,
0.0011563298,
0.021421863,
0.0053491164,
0.004850712,
0.019504435,
0.005555462,
-0.024812281,
0.020901237,
-0.01988538,
0.023428177,
-0.014475947,
-0.020291723,
0.022805966,
-0.033142302,
0.010622044,
-0.01989808,
0.008761758,
0.02623448,
0.049624562,
-0.002741224,
0.045764312,
0.03436133,
0.037281916,
0.035072427,
-0.022958344,
0.021840904,
0.007320512,
0.017040983,
0.010196654,
0.007390352,
0.000051189618,
-0.008799852,
-0.027885247,
-0.019225074,
0.0021856776,
0.024939263,
-0.023986898,
-0.013193429,
-0.031161381,
-0.015428312,
-0.010501411,
0.03392959,
-0.0074982867,
-0.07923677,
-0.000996015,
0.045738913,
-0.05389116,
0.011802976,
-0.002939633,
-0.025193227,
0.0021920267,
0.0451294,
-0.022552002,
0.004876109,
0.061967213,
0.0352502,
-0.06851949,
-0.01671083,
0.019974267,
-0.02631067,
-0.0053046728,
0.026666218,
0.010977593,
-0.0003876919,
-0.002038061,
0.013764848,
0.06923059,
-0.023732934,
-0.010260145,
0.015885448,
-0.004295166,
0.063084655,
0.0052030873,
0.0033142301,
0.0014587056,
0.038069203,
-0.0017364788,
0.074767,
0.023745634,
0.0066030635,
0.024609111,
0.031466138,
0.0031666134,
0.011453776,
0.003603114,
0.07639237,
-0.012152177,
0.049243618,
-0.009910945,
-0.007891931,
-0.0074792397,
-0.022818664,
-0.0052792765,
0.002506307,
-0.041065976,
0.061916422,
0.0011968053,
0.021447258,
-0.028443966,
-0.026386859,
-0.00092855585,
0.03194867,
0.0067681405,
0.0014650548,
0.0145013435,
-0.008063356,
-0.01643147,
-0.027682075,
0.034615293,
0.015148952,
-0.0068379804,
-0.004266595,
0.0373835,
-0.036215264,
0.005536415,
-0.054551464,
-0.055110186,
-0.004815792,
-0.06516716,
0.0037364452,
0.0071490863,
-0.06877345,
0.007891931,
-0.0073395595,
0.040431067,
-0.042285003,
0.014171191,
0.033954985,
0.015834656,
0.04611986,
0.018399691,
0.02220915,
-0.025434494,
0.0070855953,
0.023034533,
0.009707773,
-0.009060165,
-0.016240997,
0.0014880702,
0.009326828,
-0.018044142,
-0.0056157787,
-0.0035808922,
-0.014996573,
-0.052773718,
0.009714123,
-0.003958664,
0.012704548,
-0.024799583,
0.022856759,
0.008310972,
-0.022932949,
0.056430798,
0.047999196,
-0.028875705,
0.03583432,
0.04479925,
0.053840365,
-0.031186778,
0.03024711,
0.034691483,
-0.010545854,
-0.056583177,
-0.025904328,
-0.032710563,
0.016304487,
-0.021498052,
-0.055465735,
-0.013269618,
0.03357404,
0.0017110824,
-0.059630744,
0.0514785,
-0.013168033,
-0.041980248,
-0.007371305,
-0.018818732,
-0.0049554724,
-0.0013793419,
0.011009339,
-0.080100246,
-0.0036697797,
-0.02984077,
-0.0030602661,
-0.030628057,
0.018374294,
-0.0048792833,
0.057802204,
-0.012888673,
0.019021902,
0.031847086,
-0.049065843,
-0.01036808,
-0.023186913,
-0.0050792797,
-0.02793604,
0.02292025,
0.027428111,
0.012507726,
0.0134219965,
-0.05041185,
0.04662779,
0.07258291,
0.0019333009,
0.0055967313,
0.024558317,
0.007777647,
-0.00042856424,
0.021447258,
-0.050107095,
0.011079179,
0.013142636,
0.05592287,
-0.03751048,
0.061560873,
-0.0059268847,
-0.044062752,
0.016101317,
0.010374429,
-0.013447394,
0.036926363,
0.024609111,
0.04787221,
-0.019263169,
-0.010545854,
-0.013929925,
-0.031059796,
0.017548911,
0.03829777,
0.015085461,
-0.02448213,
-0.041573904,
-0.060138673,
-0.044265922,
-0.014006114,
0.0117204385,
0.014679119,
0.0027634457,
-0.041802473,
-0.080760546,
0.035783526,
-0.023326593,
0.019656813,
0.04822776,
0.037688255,
-0.029282048,
0.011250605,
0.0069078207,
0.011752184,
0.0043332605,
0.0034253392,
0.03801841,
0.018729845,
0.011479172,
-0.05211341,
-0.031186778,
-0.039516795,
0.021244088,
-0.017015588,
0.028824912,
-0.030526472,
0.0112887,
0.0007436383,
0.055160977,
-0.03357404,
-0.012869625,
-0.0253964,
0.015555294,
0.026361462,
-0.038602527,
-0.01960602,
0.004809443,
0.00015714022,
0.028647138,
-0.0094665075,
-0.031135986,
-0.01742193,
-0.0102284,
-0.07512255,
0.027631283,
0.03547877,
0.012666454,
0.0118855145,
-0.0016317186,
-0.0050380104,
0.01579656,
-0.013879132,
0.03265977,
0.008234782,
-0.019237772,
-0.021637732,
0.010882357,
0.024012296,
-0.008247481,
0.035174012,
-0.021713922,
-0.014615628,
-0.033167697,
-0.029104274,
-0.023098025,
0.028977292,
0.023212308,
0.026818598,
0.03893268,
-0.012818832,
0.0056665717,
0.012399792,
-0.020977426,
-0.0550086,
0.0437326,
-0.015644182,
0.008488746,
0.033142302,
-0.009441111,
0.018463181,
0.029789977,
0.04845633,
-0.033878796,
0.014894988,
0.00034205776,
0.0027094784,
-0.019136187,
-0.020939332,
-0.003666605,
-0.044088148,
0.041091375,
-0.015733069,
-0.07227815,
-0.01700289,
-0.0430215,
-0.038551733,
0.022069471,
-0.012406141,
0.015237839,
0.006501478,
-0.018780638,
0.014704515,
-0.05698952,
-0.06359258,
-0.023161516,
-0.034031175,
-0.0034158158,
0.02059648,
0.026996372,
0.020939332,
-0.02976458,
-0.041218355,
0.01777748,
-0.014082303,
0.015123555,
-0.037713654,
0.059275195,
0.013206127,
0.029459823,
-0.017929858,
-0.014907686,
-0.021840904,
-0.035224807,
-0.011714089,
-0.0058570444,
0.028291589,
-0.018958412,
-0.035148617,
0.028469363,
0.011326794,
-0.06471002,
-0.04119296,
0.07207498,
0.011434728,
0.041421525,
0.04543416,
-0.023478972,
-0.018412389,
0.010101418,
0.0075490796,
-0.038831092,
0.00071705144,
-0.037535876,
-0.047313493,
0.0064697326,
0.0324566,
0.015339425,
-0.061256114,
-0.0025507507,
-0.039237436,
0.013637866,
-0.013231524,
-0.021891696,
-0.032405805,
-0.0016317186,
-0.0060062483,
0.066538565,
-0.041954853,
0.021244088,
-0.0013507709,
-0.014653722,
0.017726686,
0.009060165,
-0.08365574,
-0.009180798,
-0.004914203,
0.010126814,
-0.0040602493,
0.01911079,
-0.0416247,
0.028901102,
-0.04850712,
0.0007603047,
-0.021625035,
0.017040983,
-0.057599034,
-0.0018110807,
0.011161718,
-0.0058570444,
-0.0024507525,
-0.0016714005,
0.051503897,
0.040253293,
0.061408494,
-0.0465516,
-0.030628057,
-0.048329346,
-0.036570814,
0.014729911,
-0.0022618668,
0.011060132,
0.031110588,
0.007257021,
0.042361192,
-0.014552137,
0.031212175,
0.05739586,
0.015250538,
0.021282183,
-0.09549046,
0.052976888,
0.042437382,
-0.016037825,
-0.010691884,
0.015542597,
-0.003660256,
-0.0021809158,
0.0047935704,
-0.0049173776,
-0.02059648,
0.02510434,
0.061611664,
0.002038061,
0.02623448,
0.032177236,
-0.069738515,
-0.035783526,
0.02849476,
-0.007517334,
0.015707674,
0.029383633,
-0.021002822,
0.026920183,
0.05196103,
0.01565688,
-0.005618953,
0.012933116,
0.047211904,
-0.0010483951,
-0.034158155,
0.006495129,
-0.007377654,
-0.07857646,
-0.07095754,
0.0021063138,
-0.004663414,
-0.035631146,
-0.025790043,
0.0052062618,
-0.01586005,
-0.01869175,
-0.0031205826,
0.006425289,
-0.051300727,
0.026513841,
0.0038412053,
-0.0027682076,
-0.039186645,
-0.017739385,
0.047821417,
-0.021320278,
-0.021599637,
-0.056176834,
0.01311724,
-0.02778366,
0.011536314,
0.066487774,
0.009066515,
0.06831631,
0.02623448,
0.008095102,
0.06542113,
0.014018812,
0.034539104,
-0.012952164,
-0.011618853,
-0.065776676,
0.002171392,
-0.005415782,
-0.0136505645,
0.021777412,
-0.009618886,
0.02940903,
0.012914069,
0.028012227,
-0.00057499035,
-0.055821285,
0.020228231,
-0.03362483,
-0.0064062416,
0.033828005,
-0.04175168,
0.0034221648,
0.027758265,
-0.027580488,
0.0088442955,
-0.018044142,
-0.009091911,
-0.0030729643,
-0.03837396,
-0.020710763,
0.017815573,
-0.061611664,
-0.03540258,
0.0056506987,
-0.013091844,
-0.02081235,
-0.0086474735,
-0.04639922,
-0.026183687,
0.010247447,
0.03067885,
-0.008215735,
0.006818933,
0.0049427743,
0.013155335,
-0.010685535,
-0.0093014315,
-0.007764949,
0.066741735,
0.019402849,
-0.03646923,
-0.009587141,
0.00050792797,
-0.004987218,
-0.008095102,
0.00248726,
0.016774321,
-0.008558586,
-0.028367778,
-0.019567925,
-0.0006023708,
-0.042158023,
-0.0053205458,
-0.067300454,
-0.008641125,
0.026463049,
0.053687986,
-0.0317201,
0.052976888,
0.026183687,
0.00006815362,
0.0007860979,
0.004501512,
-0.005841172,
-0.030018544,
0.025002755,
0.0026364636,
-0.03443752,
-0.012634709,
0.047567457,
0.054145124,
-0.009568093,
0.03639304,
-0.0007587174,
-0.00973317,
-0.05404354,
-0.020329818,
0.017650498,
0.04896426,
0.0416247,
0.013841038,
0.0053364183,
0.03293913,
-0.022539305,
0.008901438,
-0.0112950485,
-0.04124375,
-0.02335199,
-0.028621743,
-0.012787087,
-0.011244256,
-0.024063088,
-0.0017634624,
-0.01396802,
0.018221917,
0.0070157554,
0.03400578,
0.047923006,
0.013193429,
-0.05587208,
-0.019847285,
0.015174349,
-0.03273596,
-0.041726284,
-0.0080252625,
0.052164204,
0.06410051,
0.01847588,
0.024647206,
-0.0137140555,
-0.00053729257,
0.002222185,
0.070348024,
-0.040354878,
-0.010196654,
-0.030704247,
0.04535797,
-0.04126915,
0.029561408,
-0.012247413,
0.033828005,
-0.036621608,
0.001950761,
-0.0073967013,
0.04507861,
0.017688591,
-0.011396634,
0.043427844,
0.015631484,
-0.018920317,
0.017155267,
0.003561845,
-0.013777547,
0.069382966,
0.015961636,
0.09188417,
-0.028291589,
0.010279193,
0.018298106,
-0.032481994,
-0.008082404,
0.027732868,
0.018488578,
-0.014971177,
0.023301195,
0.0033015318,
0.008641125,
0.0035650195,
0.0101522105,
0.020571083,
0.028977292,
-0.029967751,
-0.015390218,
-0.030297903,
0.019453641,
-0.02573925,
-0.038246978,
0.0038539036,
0.010056974,
0.0022951995,
0.025205925,
0.010107767,
-0.026970975,
0.04154851,
0.030196318,
0.01897111,
0.019542528,
0.010088719,
0.025713854,
-0.023440877,
0.0037999363,
-0.022386925,
-0.013104542,
-0.017129872,
0.006742744,
-0.06389734,
0.030272508,
-0.020977426,
-0.059427574,
0.017040983,
-0.039618384,
0.0065903654,
-0.06587826,
-0.021891696,
-0.00031646295,
-0.020406006,
0.024456732,
-0.029205859,
-0.028113814,
-0.007517334,
-0.038881887,
0.0011579171,
0.023504367,
0.07253212,
0.009929992,
0.04096439,
0.0039110454,
-0.0039364416,
0.0025444017,
0.011529965,
0.023720236,
-0.04992932,
0.008736361,
-0.027123354,
0.01107283,
-0.00005396735,
-0.04464687,
0.04817697,
0.012304556,
-0.033116903,
-0.016875908,
-0.014844195,
-0.0137140555,
-0.030221716,
-0.007428447,
0.09391589,
0.01861556,
-0.004266595,
-0.02948522,
-0.020469498,
-0.009390319,
-0.01114267,
-0.006958613,
0.035732735,
-0.02912967,
-0.019263169,
-0.020228231,
-0.020723462,
-0.044189733,
-0.004526908,
-0.01593624,
-0.0077459016,
0.04081201,
0.027809057,
0.0014499757,
0.014412456,
0.0011380762,
0.01311724,
0.02488847,
0.060240258,
0.026970975,
0.04774523,
0.03362483,
-0.032913733,
0.025421795,
0.035732735,
-0.0076633636,
-0.021282183,
0.0043396098,
-0.015529898,
0.000102379236,
-0.02525672,
-0.033167697,
0.008653823,
0.04683096,
0.0253964,
-0.0042221514,
-0.027682075,
0.007637967,
-0.07979549,
-0.04081201,
-0.05952916,
0.037002552,
-0.01537752,
-0.01565688,
0.03837396,
-0.06364337,
0.17747004,
0.06049422,
0.0225647,
0.051097553,
0.0218663,
0.025294814,
0.015504502,
-0.049903926,
0.029028084,
-0.047313493,
-0.014425155,
-0.05592287,
0.02631067,
0.05389116,
-0.048710294,
0.048049986,
-0.04698334,
-0.009828406,
0.0099236425,
-0.03654542,
-0.056633968,
-0.0006138786,
0.024723394,
0.030551868,
-0.008577634,
0.017612403,
0.022221848,
-0.03159312,
0.03893268,
-0.011555362,
0.027555093,
-0.037205726,
0.044011958,
-0.0010571252,
-0.021421863,
-0.0037554924,
-0.032608975,
-0.031466138,
0.051097553,
0.01629179,
-0.014717213,
0.010710931,
-0.008006215,
-0.014818799,
-0.021637732,
0.04279293,
-0.0046729376,
0.0014682293,
0.07999866,
-0.040938996,
0.0028142384,
-0.029307444,
0.018031443,
-0.04698334,
-0.05404354,
0.00648878,
-0.03905966,
-0.016939398,
0.020825047,
-0.01700289,
0.009034769,
0.0010372841,
0.02869793,
-0.016266394,
-0.016342582,
0.0019491736,
0.035631146,
0.060341842,
-0.0373581,
-0.04675477,
0.025447192,
-0.008164942,
-0.023783728,
-0.019136187,
0.050030906,
0.021167899,
-0.048684895,
0.012996607,
0.00128728,
-0.02714875,
0.035504166,
-0.032608975,
-0.00945381,
-0.058005374,
0.032050256,
0.037916824,
-0.036012094,
0.033116903,
-0.013675961,
0.02778366,
-0.015148952,
0.03639304,
-0.005495146,
-0.028316984,
-0.006812584
] | DistilBertConfig
[[autodoc]] DistilBertConfig
DistilBertTokenizer
[[autodoc]] DistilBertTokenizer
DistilBertTokenizerFast
[[autodoc]] DistilBertTokenizerFast |
[
0.032040324,
0.009633039,
0.0077034393,
0.008526137,
-0.006144054,
-0.013133242,
-0.0007053695,
-0.036797013,
0.0024437853,
0.047417287,
-0.023783434,
-0.012774247,
0.008832779,
-0.033147227,
-0.03338656,
-0.015526543,
0.0052503054,
-0.009939681,
-0.04071604,
0.013903586,
0.035031952,
0.043199092,
-0.070063904,
-0.030140642,
-0.024830503,
0.009939681,
0.014501912,
-0.0089374855,
0.06892709,
0.028659785,
0.009341355,
0.04852419,
-0.0020791807,
-0.038232993,
-0.014090563,
-0.020193482,
-0.0022979435,
-0.028899116,
-0.011241038,
0.008413951,
0.035899524,
0.0152946925,
0.024950169,
-0.040446796,
-0.040237382,
-0.025518578,
-0.011188685,
-0.046220638,
-0.041164786,
-0.04002797,
-0.0039826035,
-0.0027672548,
0.0025989758,
-0.025518578,
-0.032369405,
0.014501912,
-0.0013340786,
0.007385579,
-0.02566816,
0.027881963,
0.04307943,
0.01812926,
0.010156574,
-0.063781485,
0.00521291,
-0.0134099675,
0.027522968,
0.012998619,
-0.025967322,
-0.018667752,
-0.07873962,
0.032339487,
-0.006046826,
-0.020283232,
-0.0388014,
-0.021016179,
-0.0057214866,
-0.01651378,
-0.01956524,
0.01251248,
0.020313147,
0.036019187,
-0.0008731811,
-0.00010640142,
-0.059473544,
-0.03174116,
0.036019187,
0.0128639955,
0.032279655,
-0.017605724,
-0.00017131738,
0.017426226,
-0.037006427,
0.04236144,
-0.0111812055,
0.026116904,
0.019191287,
0.04987042,
0.014584181,
0.020746933,
0.033236977,
0.08950948,
-0.04705829,
0.05378945,
-0.04777628,
-0.010956834,
0.02846533,
-0.030095767,
-0.022646615,
-0.013148201,
-0.06605512,
0.03201041,
0.0074865464,
-0.024351843,
-0.06276433,
0.06731161,
0.02999106,
0.00320852,
-0.034463543,
0.007168686,
-0.020881556,
-0.0295124,
-0.011809448,
0.008398993,
0.04107504,
-0.006271198,
0.005332575,
0.034852453,
-0.044784654,
-0.001989432,
-0.0036198685,
0.017276645,
0.011562638,
0.016035121,
0.023185108,
-0.009475978,
-0.022811156,
0.03410455,
0.00024470573,
-0.012332982,
0.025518578,
-0.014262581,
-0.018009594,
0.086936675,
-0.014898302,
-0.0100593455,
0.031083005,
-0.028196083,
-0.020642227,
0.021031138,
-0.040506627,
0.038442407,
0.008870174,
0.027971711,
-0.016468907,
-0.007980165,
-0.01588554,
0.013178117,
0.0032758315,
-0.0045584915,
-0.0037956266,
0.010433299,
-0.017142022,
0.070063904,
-0.03287798,
0.062883995,
-0.030783841,
0.027029349,
-0.04161353,
-0.016379157,
-0.018667752,
-0.00344785,
0.004801561,
0.008039997,
0.008212016,
0.06455931,
0.031083005,
-0.03775433,
0.025309164,
-0.020328104,
-0.019385742,
-0.038053494,
-0.009857411,
0.01619966,
0.0025858874,
0.022332495,
0.012901391,
0.020552477,
-0.017740348,
0.016124869,
-0.0037582314,
0.0726367,
-0.034433626,
0.017142022,
-0.02462109,
0.041434035,
-0.011921633,
0.008398993,
-0.021405092,
-0.05531518,
-0.016543698,
0.066653445,
-0.010956834,
0.012639624,
-0.033057477,
0.01916137,
-0.0059645562,
0.07036307,
-0.014928218,
0.019221203,
0.07084172,
0.017874971,
-0.01691765,
0.0033263152,
0.042002443,
-0.031621497,
-0.04257085,
-0.0070864162,
-0.015706042,
0.011510285,
-0.013252907,
0.017934803,
0.017740348,
-0.004779124,
0.020941388,
-0.011510285,
0.010754899,
0.028360624,
-0.031711247,
0.044455577,
0.029093571,
-0.0021913666,
-0.0041508824,
0.032608733,
0.05061833,
0.01002195,
0.05893505,
0.015601334,
-0.020941388,
0.013896107,
0.011517764,
0.0014892693,
0.048883185,
0.01708219,
0.023200067,
0.022601742,
0.001635111,
-0.0085037,
-0.010702546,
0.00030523943,
-0.046160802,
0.042840097,
0.02429201,
-0.029437609,
-0.027328512,
-0.018189091,
0.0551656,
0.028689703,
-0.040925458,
-0.042152025,
0.03625852,
0.024202261,
-0.018697668,
-0.02846533,
0.026804978,
0.04867377,
-0.023379564,
0.036049105,
-0.011876759,
-0.041763112,
-0.027956754,
-0.07072206,
-0.08885132,
-0.014569223,
-0.01901179,
-0.031322334,
-0.021524755,
-0.020417854,
-0.020657184,
-0.022152998,
-0.009857411,
0.043258924,
-0.02910853,
0.03168133,
-0.0047903424,
-0.005414845,
-0.016409073,
0.045083817,
-0.012736851,
0.047507036,
-0.017530933,
-0.012101131,
-0.02918332,
-0.027223805,
0.033625886,
0.020387938,
0.05043883,
0.021076012,
-0.021509798,
0.024755713,
-0.01531713,
0.0134099675,
0.013043493,
0.01010422,
-0.023753518,
0.044545326,
0.05325096,
-0.027852047,
0.027193889,
0.035091784,
-0.029856436,
-0.00037465454,
0.022167956,
0.0067872535,
-0.03817316,
0.033805385,
0.0413742,
0.01579579,
0.009812537,
-0.0288692,
-0.033326723,
0.026326317,
0.044246163,
-0.014285019,
0.0048352173,
0.06587563,
-0.007609951,
-0.053280875,
0.006129096,
-0.008451346,
-0.031412084,
-0.007161207,
-0.013798879,
0.017156981,
0.031262502,
-0.005411105,
-0.04098529,
-0.011323308,
0.016229575,
0.021375174,
-0.017112106,
0.003296399,
0.0063684257,
0.049930252,
0.019026747,
0.01739631,
0.027044307,
-0.047895946,
0.0033581012,
-0.0024419155,
0.006398342,
0.05734949,
0.052622717,
-0.002053004,
-0.035002034,
0.013088368,
-0.021225594,
-0.0020548739,
0.028749535,
-0.0065254862,
0.02533908,
0.03398488,
0.03102317,
0.008795383,
-0.0016968134,
-0.010276238,
-0.018727584,
0.027283637,
0.07173921,
-0.03784408,
0.0015509716,
0.0003461406,
-0.050708078,
0.00208479,
-0.034194294,
-0.070781894,
0.053520206,
0.020253314,
0.016304366,
-0.030469721,
-0.012699456,
0.009490936,
0.0000033779968,
0.009887327,
0.029228196,
0.023633853,
-0.009333876,
-0.008787904,
0.0046332823,
0.024920253,
0.021554671,
-0.006488091,
-0.033566054,
0.0043453383,
-0.033655804,
-0.012213317,
0.014045688,
0.08298773,
0.0011349485,
0.021719212,
0.035091784,
-0.011682304,
0.008989839,
0.003591822,
-0.017336478,
-0.0022381109,
-0.027358428,
0.021150803,
-0.020866597,
-0.0051792543,
-0.024710838,
-0.037874,
-0.043558087,
0.032369405,
0.01923616,
0.018578004,
-0.03802358,
-0.013028535,
0.035480697,
0.008683197,
-0.02830079,
0.017874971,
-0.017515976,
0.018219007,
0.021061053,
-0.021764087,
-0.010844648,
-0.021584589,
-0.0017491669,
-0.00625624,
0.012482563,
-0.01853313,
0.002196976,
-0.01066515,
-0.063781485,
0.052562885,
0.038861234,
-0.029661981,
0.011203643,
-0.054746773,
0.012893912,
0.00040831033,
-0.009692871,
0.012018861,
0.012190879,
-0.024471508,
0.02566816,
0.030170558,
0.004154622,
-0.013350136,
0.007793188,
-0.033566054,
0.053998865,
-0.035749942,
0.017456142,
0.00521291,
-0.010336071,
-0.0128639955,
0.031800993,
-0.00537371,
-0.0049174866,
0.007322007,
0.064678974,
-0.022706449,
-0.00035361966,
0.031232584,
0.013252907,
-0.025713034,
0.022257704,
-0.013275345,
-0.019699864,
-0.0130509725,
0.016783027,
0.012213317,
-0.01010422,
0.0059383796,
0.029871395,
-0.04451541,
-0.007912853,
-0.016304366,
-0.026042113,
0.015287214,
-0.002189497,
-0.020582393,
0.0017304692,
-0.048015613,
-0.025368996,
-0.008174621,
-0.052592803,
0.007307049,
0.0489131,
-0.02613186,
0.07269654,
-0.058635887,
-0.030215433,
-0.044784654,
-0.052323554,
0.013754005,
0.042600766,
0.04448549,
0.025892531,
-0.012946266,
-0.011293392,
0.032339487,
-0.057199907,
-0.023289816,
-0.03287798,
-0.010508089,
-0.0040611336,
-0.00011703572,
-0.026685312,
0.010455736,
0.018219007,
-0.014277539,
0.03287798,
-0.04532315,
-0.01658857,
-0.021150803,
-0.030245349,
0.046250552,
-0.008541095,
-0.061627515,
-0.00545224,
-0.0074080164,
0.00052306725,
0.035929438,
0.039968137,
-0.005022194,
-0.030140642,
-0.085500695,
0.07861996,
-0.04304951,
0.005082026,
-0.03536103,
-0.04571206,
0.01669328,
0.007363142,
0.008713113,
-0.03715601,
0.0014462647,
-0.051366236,
0.060939442,
-0.059712872,
-0.00037231733,
-0.02453134,
-0.022586783,
-0.0513064,
0.04996017,
0.019191287,
-0.016349241,
0.013058452,
-0.0071163327,
0.01130835,
0.009102025,
-0.03392505,
-0.01699244,
-0.000118963915,
0.0037432732,
0.020552477,
-0.041104954,
-0.017994637,
0.0803551,
-0.039489474,
-0.0015145112,
-0.048943017,
-0.019924235,
-0.04403675,
-0.021345258,
0.045682143,
-0.07909862,
-0.023140235,
-0.044874404,
0.009573206,
-0.00071238115,
-0.0034515895,
-0.039160397,
-0.011098936,
-0.04074596,
-0.025862616,
0.026101945,
-0.030065851,
-0.013477279,
-0.0040050405,
0.020821724,
0.044126496,
-0.03174116,
0.03359597,
0.083526224,
-0.018428423,
0.006809691,
-0.068627924,
0.012235754,
-0.022422245,
0.0047043334,
-0.01017901,
-0.004233152,
-0.018084385,
0.00080493465,
-0.051605564,
-0.06336266,
-0.018233966,
0.028884158,
0.060849693,
-0.01178701,
0.042720433,
-0.030110724,
-0.0034964639,
-0.04236144,
0.03939973,
-0.0077632717,
0.029781647,
0.036916677,
0.02990131,
0.012048777,
-0.0025765386,
-0.063063495,
-0.022661574,
-0.004996017,
0.06503797,
-0.0030925944,
-0.04714804,
0.03993822,
0.012654582,
0.005059589,
-0.08167142,
0.009483458,
0.019984068,
-0.03407463,
0.0021726692,
-0.014165354,
0.017336478,
-0.010388425,
0.018054469,
0.030514594,
-0.012594749,
0.01643899,
0.019266078,
-0.05172523,
-0.033506222,
0.03192066,
0.028958948,
-0.01122608,
0.0037862777,
-0.061926678,
-0.010223885,
0.012602229,
-0.019071622,
0.07090156,
0.0017529064,
0.01579579,
0.0013761484,
-0.0035095525,
0.04227169,
0.006607756,
-0.02550362,
0.006888221,
-0.03631835,
-0.027074223,
-0.021150803,
0.043528173,
0.024471508,
0.014486954,
-0.011338267,
-0.0037170965,
0.005022194,
0.001395781,
-0.026296401,
-0.060251366,
0.025787825,
-0.003384278,
-0.035031952,
-0.028240958,
-0.04466499,
0.012093652,
0.031950574,
0.0012293716,
-0.03186083,
0.0045584915,
0.029841479,
-0.031232584,
0.006693765,
-0.04041688,
0.031322334,
-0.04708821,
0.01748606,
-0.039668974,
-0.028046502,
0.019206244,
0.0076211696,
0.0068994397,
0.02501,
-0.0028962689,
0.02598228,
0.0073257466,
-0.0139858555,
-0.01780018,
0.00456971,
-0.023648812,
-0.0011686042,
-0.0011686042,
0.013641818,
0.033685718,
-0.028584996,
0.0075015044,
0.022945778,
-0.0018491994,
-0.05202439,
-0.00009278718,
0.081850916,
-0.02469588,
0.06174718,
-0.02164442,
0.038262907,
-0.038950983,
-0.004461264,
-0.002526055,
0.01098675,
-0.023544105,
0.03440371,
0.03775433,
0.021105928,
0.06420031,
0.009169336,
0.032967728,
0.043258924,
0.010867084,
0.013088368,
0.021031138,
-0.030589385,
0.014703847,
-0.0068994397,
0.00513064,
-0.01338753,
0.009274043,
0.017755305,
0.0239031,
0.011211122,
-0.013043493,
0.004588408,
-0.025234373,
-0.01306593,
0.018323716,
-0.024651006,
-0.00962556,
-0.018907081,
-0.00050343474,
-0.009984555,
-0.033416472,
-0.057140075,
0.011098936,
0.0029224455,
-0.029736772,
-0.018892124,
-0.023379564,
-0.021120885,
0.02486042,
0.03850224,
-0.025832698,
0.045981307,
-0.008039997,
0.0388014,
-0.0364081,
-0.000055070475,
0.0075725554,
-0.0016556785,
-0.03054451,
-0.04756687,
0.05226372,
0.023873182,
-0.010283718,
-0.011076499,
-0.03302756,
-0.03736542,
-0.012871475,
-0.03201041,
-0.019415658,
0.06061036,
-0.041314367,
0.016872777,
-0.015204944,
-0.009378751,
0.012003903,
0.0577384,
0.014165354,
0.013028535,
0.0052727424,
0.022317536,
0.0064133,
-0.03817316,
0.007449151,
0.03922023,
0.027238764,
-0.014202748,
0.0128266,
-0.0051904726,
0.019819528,
0.0052166493,
0.00094516715,
-0.04209219,
0.03954931,
0.01844338,
-0.038921066,
-0.039668974,
0.02397789,
-0.00946102,
0.000854016,
-0.006697505,
-0.040057886,
0.0028364363,
-0.0025054875,
-0.020642227,
0.015511585,
0.009483458,
0.019310951,
-0.019610114,
-0.03102317,
0.026416065,
0.04409658,
-0.032997645,
-0.010814731,
0.00062356726,
0.041912694,
0.035899524,
-0.028315749,
0.041164786,
0.006963012,
0.042870015,
0.019999025,
0.015541502,
-0.02357402,
0.005844891,
0.008436388,
0.02655069,
-0.016723195,
0.0027055526,
-0.030095767,
-0.041404117,
-0.030140642,
0.024875378,
-0.007980165,
-0.03320706,
0.020582393,
-0.008593448,
-0.037305586,
-0.047686532,
0.03440371,
-0.014053168,
0.015122674,
0.021360217,
-0.04861394,
-0.05124657,
-0.0069742305,
-0.0066675884,
0.0065180073,
0.023992848,
0.046370216,
-0.012505,
0.062285673,
0.017501017,
0.012190879,
0.06222584,
0.013559549,
-0.016618488,
0.008436388,
0.03344639,
0.001459353,
-0.0018370459,
-0.015145111,
-0.055225432,
-0.022511993,
-0.002365255,
0.0055045937,
-0.03165141,
-0.008959923,
0.018458338,
-0.024995044,
0.015167548,
0.066653445,
-0.005235347,
-0.0032253477,
0.0032870502,
0.0022081947,
-0.041763112,
-0.0006904114,
-0.044784654,
0.021195676,
-0.033954967,
-0.027074223,
-0.029841479,
-0.03922023,
-0.012736851,
-0.020672143,
-0.037724417,
-0.066653445,
0.032130074,
0.035181534,
0.078679785,
-0.023469314,
-0.011428015,
-0.053939033,
-0.005912203,
0.03287798,
-0.0054485006,
0.051755145,
0.04388717,
0.046639465,
-0.016334282,
-0.04379742,
0.04777628,
-0.0030589385,
0.0038180638,
-0.0056878305,
-0.03479262,
-0.041733194,
-0.05238339,
-0.029542316,
0.02750801,
0.03344639,
0.010358509,
-0.042062275,
0.016783027,
-0.058665805,
-0.014606618,
-0.008062434,
0.015855623,
0.005340054,
-0.0027616457,
-0.0073257466,
-0.016334282,
0.26709247,
0.051096987,
0.019430617,
0.009423625,
0.033506222,
0.018832292,
0.037634667,
0.004618324,
0.037455168,
-0.027208846,
0.02806146,
-0.010500611,
-0.026281442,
0.0060991794,
0.017261688,
0.017067231,
-0.071858875,
0.00010330462,
-0.040446796,
-0.0575589,
-0.034523375,
0.04307943,
0.011293392,
0.023274858,
-0.0032814408,
0.005699049,
0.0012471345,
-0.029243153,
-0.022332495,
-0.0476267,
-0.016543698,
-0.023544105,
0.010605318,
0.005426063,
-0.023215026,
0.046699297,
-0.029048698,
-0.04933193,
-0.041882776,
0.013866191,
-0.021599546,
-0.011861801,
0.013709131,
-0.009565727,
0.009094546,
0.044724822,
-0.0064432165,
0.013866191,
0.03703634,
-0.05468694,
0.024995044,
-0.0213303,
0.076525815,
-0.04337859,
-0.06886725,
-0.038532156,
0.013365094,
-0.06455931,
-0.007920332,
0.00050343474,
0.005702789,
0.03087359,
0.002677506,
0.008077392,
0.034373794,
0.037874,
0.0036853105,
-0.014142917,
0.0067835143,
-0.00095358107,
0.041194703,
-0.03760475,
-0.024710838,
-0.03230957,
0.01026128,
0.026700271,
0.023933016,
-0.000142336,
0.0039265105,
-0.0016575482,
-0.009311439,
-0.0012387205,
0.0018361111,
-0.0056691333,
0.010418341,
0.040506627,
-0.018772459,
0.02655069,
-0.024202261,
0.06952541,
-0.007007886,
0.016349241,
0.027522968,
-0.02180896,
0.01667832
] | GPT is a model with absolute position embeddings so it's usually advised to pad the inputs on the right rather than
the left.
GPT was trained with a causal language modeling (CLM) objective and is therefore powerful at predicting the next
token in a sequence. Leveraging this feature allows GPT-2 to generate syntactically coherent text as it can be
observed in the run_generation.py example script. |
[
0.026648225,
0.01658304,
0.011636969,
0.030195555,
-0.05609394,
-0.04363503,
0.011016907,
-0.022077074,
0.0029164522,
0.03550213,
-0.01653978,
0.013799975,
-0.010447316,
-0.03613661,
-0.029561073,
0.037953533,
-0.00790218,
-0.045855712,
0.009675844,
0.006114095,
0.030743517,
-0.022524096,
-0.05277733,
-0.008255471,
0.0074984184,
0.042827506,
0.0033562633,
0.033541,
0.09713336,
0.023403717,
0.033021882,
0.017491503,
-0.024528481,
-0.030685836,
-0.015962979,
-0.06615912,
0.012732891,
-0.00598792,
-0.021154193,
-0.006791837,
0.014520976,
-0.02408146,
0.049979843,
-0.04882624,
-0.05661306,
0.003019195,
-0.033137243,
0.0060996753,
0.009329763,
-0.018500905,
-0.026143525,
0.01566016,
0.030858876,
0.01672724,
-0.0397993,
-0.012271451,
-0.011060167,
-0.024615001,
-0.033050723,
0.014557026,
0.013489943,
0.048710883,
-0.00048262058,
-0.060910232,
-0.014391196,
0.030426275,
-0.00084267085,
0.021110933,
-0.00603839,
-0.0056238137,
-0.05594974,
0.027628789,
-0.029070793,
-0.021644473,
-0.012386811,
-0.02018805,
0.019640088,
-0.0070874477,
-0.034550406,
0.08121364,
0.018760467,
0.0007971576,
-0.009711894,
-0.014391196,
-0.011240418,
-0.04447139,
0.026374245,
-0.018846987,
0.035761688,
-0.016842602,
-0.018399965,
0.02865261,
-0.017376143,
0.001343767,
-0.021283973,
0.0644864,
-0.020880211,
0.02013037,
-0.000033487155,
0.011298098,
0.034435045,
0.058862586,
0.00035171368,
0.050672006,
-0.0012410244,
-0.0046108062,
0.033223763,
-0.035761688,
-0.02077927,
-0.015487119,
-0.048047557,
0.0055553187,
0.0153717585,
0.01214167,
-0.022466416,
0.0027271893,
-0.004891997,
0.037030652,
-0.062006153,
-0.011788379,
-0.017332884,
-0.019034447,
0.010504996,
-0.030743517,
-0.01232192,
-0.066793606,
0.02412472,
0.029416872,
-0.058545344,
0.004423346,
0.012833832,
0.006878357,
-0.01616486,
0.025710924,
-0.0028569696,
0.029762954,
-0.01237239,
0.023245098,
0.034867648,
-0.019438209,
-0.030339755,
-0.013980225,
0.0043043806,
0.08127132,
0.008190581,
0.035040688,
0.039020617,
-0.011096218,
-0.022033814,
0.030916557,
-0.0325316,
0.004841527,
0.03160872,
0.03645385,
-0.029907154,
0.022192435,
-0.027325967,
-0.011009697,
-0.013302483,
0.0021323627,
0.010605936,
0.015616898,
-0.02797487,
0.051104605,
-0.013886495,
0.0483648,
-0.021211872,
-0.017419403,
0.005562529,
0.006442151,
0.017318463,
0.026532866,
-0.021759834,
0.01628022,
0.020577392,
0.044961672,
0.045971073,
0.012610321,
0.019380528,
0.009264873,
-0.02037551,
0.00398714,
0.018082725,
0.05695914,
0.017116582,
0.020909052,
-0.034031283,
-0.0060888603,
0.017866425,
-0.0159774,
0.0051119025,
0.05609394,
-0.054507736,
0.02429776,
-0.01658304,
0.02470152,
-0.0049280473,
-0.0067017116,
0.016756082,
-0.06050647,
-0.029517813,
0.05724754,
0.011341359,
0.009726314,
-0.014066745,
-0.011492768,
0.016943542,
0.038213097,
-0.04392343,
0.020865792,
0.034060124,
0.018587425,
-0.029388033,
-0.04830712,
0.028493991,
0.00026632004,
-0.0070910524,
0.032387402,
0.018515326,
0.00824826,
0.0045711515,
0.04129898,
0.033627525,
-0.00416018,
0.0042430954,
-0.018226925,
-0.021168612,
0.04028958,
-0.02412472,
-0.02377864,
-0.017015642,
0.021370493,
-0.02416798,
0.039943498,
0.021370493,
-0.008378041,
0.07694531,
0.03988582,
-0.019423788,
0.014715646,
0.00392946,
0.04026074,
-0.0053678583,
0.018140405,
0.02377864,
0.0012770745,
0.0017889857,
-0.02860935,
0.0074407384,
0.04957608,
-0.08011772,
0.05638234,
0.002954305,
0.025465783,
-0.02783067,
-0.06921617,
0.04129898,
0.020952312,
-0.0325316,
-0.065524645,
-0.0019358898,
0.007981489,
-0.009106252,
-0.009062992,
-0.010504996,
0.035559807,
-0.018919086,
0.017837584,
-0.01594856,
-0.040866382,
-0.020793691,
-0.014751697,
-0.07238858,
0.021341654,
-0.0041025,
-0.016784921,
0.001207678,
-0.052979212,
-0.0039006197,
-0.02013037,
0.012444491,
0.018068304,
-0.0038861996,
0.05292153,
0.038097735,
0.0027992895,
-0.030339755,
0.0319548,
-0.01222819,
0.06489016,
-0.019164227,
0.033310283,
-0.015876459,
0.00057950517,
0.02807581,
-0.0009994888,
-0.04556731,
0.034550406,
0.006402496,
0.020534132,
-0.0074118986,
-0.02445638,
0.039366696,
-0.012812202,
-0.049374204,
0.056987982,
0.014319096,
-0.040779863,
0.06771649,
0.021183033,
-0.022365475,
0.038588017,
-0.017938524,
0.04484631,
-0.043952268,
0.06062183,
0.03579053,
-0.018688366,
-0.0113629885,
-0.040030017,
-0.02428334,
0.00024919625,
0.022913437,
-0.050095204,
0.04556731,
0.02819117,
0.003266138,
-0.04827828,
-0.004455791,
-0.017001223,
-0.054017454,
-0.02862377,
-0.037867013,
0.020346671,
0.037751652,
-0.00305885,
-0.042914025,
-0.02830653,
-0.011651389,
0.0037203692,
0.0160495,
-0.030714676,
0.0017655531,
0.019380528,
-0.004866762,
0.034954168,
0.037636295,
-0.03132032,
0.0013329521,
-0.031666398,
0.015256397,
0.054075133,
0.01625138,
0.034435045,
-0.016568622,
0.031752918,
-0.019207487,
0.0078012394,
0.020707171,
-0.009185563,
0.031551037,
0.011831639,
0.04747076,
0.0005173188,
-0.017866425,
-0.0032571256,
-0.019265167,
0.0122642405,
0.069504574,
-0.017131003,
0.011117848,
0.00824826,
-0.037982374,
-0.012177721,
-0.031839438,
-0.03691529,
0.038241934,
0.015256397,
0.025783025,
-0.035646327,
-0.005086668,
0.006049205,
0.025984904,
0.041414343,
-0.00406645,
0.034377366,
-0.017852005,
-0.016741661,
-0.042654466,
-0.025047602,
-0.01635232,
-0.0015510551,
-0.027628789,
0.0022351055,
-0.023663279,
-0.04556731,
0.034290846,
0.064774804,
0.017376143,
0.016698401,
0.03651153,
0.008587131,
0.053642534,
0.030916557,
0.021976134,
-0.030483956,
-0.059179828,
0.04334663,
-0.009647004,
-0.013605304,
-0.0026659041,
-0.026157945,
-0.011247627,
0.030772356,
-0.004769427,
0.03244508,
-0.020519711,
0.012970822,
0.023836318,
-0.0008165345,
-0.0315222,
-0.023129737,
-0.05646886,
0.031204958,
0.033137243,
-0.037780493,
-0.010771766,
0.009870514,
-0.0051587676,
0.0018097145,
-0.02455732,
-0.0152131375,
-0.016914701,
-0.02842189,
-0.058429986,
0.058747225,
0.022855757,
0.0030137876,
0.0010553664,
-0.041500863,
0.019034447,
-0.021384913,
-0.022653876,
-0.031118438,
0.008392461,
-0.016597461,
0.02438428,
0.02395168,
0.012401231,
-0.014780536,
0.023605598,
-0.022927856,
0.029791795,
-0.053354133,
-0.04034726,
-0.026316565,
-0.009726314,
-0.009495594,
0.022899017,
0.00829152,
-0.02806139,
0.016568622,
0.043490827,
-0.013900914,
-0.031291477,
0.029114053,
0.011103428,
-0.0019304823,
0.041673902,
0.01615044,
-0.021183033,
0.03290652,
-0.03198364,
0.009055782,
-0.009827254,
-0.03737673,
0.010411266,
-0.031031918,
-0.017275203,
-0.0075056287,
-0.022307795,
0.031262636,
0.041991144,
-0.015184297,
-0.017131003,
-0.069331534,
0.0074479487,
-0.0076065687,
-0.0630444,
0.0019160622,
0.0047550066,
-0.014867057,
0.046345994,
-0.043231267,
-0.047095835,
-0.014203736,
-0.040030017,
-0.054998018,
0.051133446,
0.03691529,
0.023317197,
-0.011766749,
-0.039078295,
0.043750387,
-0.03596357,
-0.00047180554,
-0.03215668,
0.0042467006,
-0.009647004,
-0.010108445,
-0.021846354,
0.015515959,
0.00811848,
-0.016381161,
0.0067810216,
0.0025397288,
0.011550449,
-0.03143568,
-0.04484631,
0.04398111,
-0.022625037,
-0.05248893,
-0.0086376015,
0.015876459,
0.030080196,
0.017722225,
0.038155414,
-0.029849473,
-0.021240713,
-0.033252604,
0.00814011,
-0.045250073,
-0.033627525,
-0.042106505,
-0.029734114,
0.029964834,
0.0074623683,
0.024629422,
-0.07256162,
0.0015411413,
-0.046547875,
-0.0036230339,
-0.033858243,
-0.02768647,
-0.018659526,
-0.000914771,
-0.028695872,
0.058891427,
0.006150145,
-0.001396941,
-0.0010526626,
0.011636969,
-0.0034824386,
0.04833596,
-0.04351967,
-0.012581482,
0.013425053,
-0.017520344,
0.012430071,
0.0070189526,
-0.042077664,
0.04129898,
-0.03971278,
-0.000010653083,
-0.059814308,
-0.004845132,
-0.05929519,
0.028739132,
0.038068894,
-0.061544713,
-0.0071559427,
-0.03674225,
0.0042827507,
-0.000091251786,
0.034781124,
-0.06021807,
-0.009856095,
-0.047701478,
-0.033396803,
0.022192435,
-0.022322215,
0.010274275,
0.005735569,
0.014383986,
0.008731332,
-0.027816249,
-0.003430166,
0.10024809,
0.006460176,
0.002884007,
-0.041818105,
0.04418299,
0.01664072,
-0.031262636,
-0.036944132,
0.011615339,
-0.026648225,
0.02413914,
-0.03232972,
-0.029344773,
-0.027614368,
0.02832095,
0.078964114,
-0.009135093,
-0.0021702154,
-0.014708436,
-0.054103974,
-0.02415356,
0.03610777,
0.036021248,
0.0051515577,
0.021211872,
0.0139081245,
0.02363444,
0.018140405,
-0.03916482,
0.02428334,
0.005169583,
0.066620566,
-0.02040435,
-0.012220981,
0.049518403,
0.021327233,
-0.05271965,
-0.08513589,
0.009928195,
0.004437766,
-0.05320993,
-0.022509675,
0.035184886,
0.022942277,
-0.019467048,
-0.010685246,
0.054536574,
-0.006359236,
-0.010894337,
0.0044882363,
0.0069576674,
0.008947632,
0.037117172,
0.06673592,
-0.061198633,
-0.0038321244,
-0.076253146,
-0.0045855716,
0.02409588,
-0.021846354,
0.059410546,
0.00038235626,
0.02809023,
0.020490872,
0.00816174,
0.04876856,
-0.031551037,
-0.0037167643,
-0.0066512413,
-0.06564,
-0.06281368,
-0.046086434,
0.008608761,
-0.035213728,
0.019467048,
-0.024023779,
0.033223763,
-0.0062222453,
0.029488973,
-0.0019304823,
-0.083693884,
0.02415356,
-0.039856978,
0.0053678583,
-0.01994291,
-0.038616855,
-0.021658894,
0.01232192,
-0.0007998614,
-0.006431336,
0.0049604923,
-0.018587425,
-0.019294009,
-0.01593414,
-0.025768604,
0.007285723,
-0.04326011,
0.0051407428,
-0.015285238,
-0.061198633,
0.013403423,
0.018414386,
0.025292743,
-0.019005608,
0.0015609689,
0.037665132,
0.01615044,
-0.018818147,
-0.0042358856,
-0.022062656,
-0.019308427,
0.006442151,
-0.017188683,
0.02036109,
0.012740102,
-0.024715941,
0.04075102,
-0.021370493,
0.0033796958,
-0.028695872,
-0.012913142,
0.022625037,
-0.014924737,
0.011579289,
-0.03544445,
0.030080196,
-0.03974162,
-0.012293081,
-0.02033225,
-0.0157611,
0.018068304,
0.0128266215,
-0.014319096,
0.01586204,
0.051623728,
0.02426892,
0.007483999,
0.004884787,
0.021471433,
0.0012464318,
0.021846354,
-0.015688999,
0.02816233,
-0.033656362,
0.05632466,
0.0018241345,
-0.00017213917,
0.0045134714,
-0.006359236,
-0.017505923,
-0.028493991,
-0.0009994888,
0.006406101,
-0.0042322804,
0.021514693,
-0.037809335,
0.011081797,
0.0070550027,
-0.01617928,
0.0010842064,
-0.053988613,
-0.081732765,
0.020750431,
-0.021572374,
0.030166715,
-0.0033184108,
-0.015919719,
0.006398891,
0.00080662075,
0.019697769,
0.04467327,
0.0241824,
0.022033814,
0.025912805,
-0.07884876,
-0.008889952,
-0.0038177045,
0.028695872,
-0.014138845,
-0.018371126,
0.022581777,
0.05687262,
0.027311549,
-0.007271303,
-0.031147277,
-0.01962567,
-0.004463001,
0.01994291,
-0.010346375,
0.012516591,
-0.046778597,
0.053354133,
-0.04380807,
0.031377997,
-0.010944807,
0.019741029,
0.026057005,
0.027484588,
-0.014701227,
0.025739763,
0.018010624,
-0.014809377,
0.022610616,
-0.008702491,
0.0034680185,
0.00593024,
0.019178648,
-0.026547287,
0.021630054,
0.030137874,
0.049720284,
-0.012415651,
0.07590707,
0.008558291,
-0.05254661,
-0.01987081,
0.009639794,
0.010274275,
-0.0066115865,
-0.001982755,
-0.031060757,
-0.018198086,
-0.01620812,
-0.013050132,
0.039078295,
-0.019741029,
-0.017332884,
-0.005804064,
-0.025970485,
0.033714045,
-0.022134755,
-0.03157988,
-0.0035058712,
0.013713454,
0.042481426,
0.02400936,
0.041125942,
0.03178176,
0.033396803,
0.062409915,
0.023317197,
0.009661424,
-0.0033905108,
0.015616898,
-0.0007101868,
-0.0054111183,
-0.054334696,
-0.011853269,
0.0010337363,
-0.017246364,
-0.049085803,
0.0167705,
-0.005205633,
-0.045451954,
-0.0017267993,
-0.040779863,
-0.031349156,
-0.03561749,
0.022769237,
-0.018645106,
0.03186828,
0.04911464,
-0.03590589,
-0.05246009,
0.028782392,
-0.010137285,
0.023648858,
0.030455116,
0.055315256,
-0.022235695,
0.063332796,
0.014239785,
0.036396172,
0.030397436,
-0.0042467006,
-0.014340726,
-0.019221907,
-0.0019034448,
-0.015588059,
0.03299304,
-0.03290652,
-0.050124045,
0.025162963,
0.007173968,
-0.030772356,
0.010404056,
0.019063286,
0.020678332,
-0.012797782,
0.022264535,
0.06315976,
-0.0062042205,
-0.0013320508,
-0.021269552,
0.03544445,
-0.05260429,
-0.023836318,
-0.021788673,
0.020923471,
0.02860935,
-0.04464443,
-0.0025325187,
-0.058545344,
-0.00790218,
-0.008652021,
-0.022163594,
-0.04031842,
0.008774592,
0.021197453,
0.06327511,
0.017606864,
-0.012357971,
-0.022841336,
0.027354809,
0.054969177,
-0.0020674726,
0.062409915,
0.027225027,
-0.010562676,
0.00013687769,
-0.005631024,
0.022826917,
-0.004740587,
0.0009526236,
-0.027253868,
0.03149336,
-0.046951637,
-0.06062183,
-0.017361723,
0.02820559,
0.04490399,
-0.026431926,
-0.05145069,
-0.010209385,
-0.064774804,
-0.011788379,
-0.04432719,
-0.010065185,
0.02810465,
-0.022596195,
0.012444491,
-0.022971118,
0.24871677,
0.07227322,
0.0126463715,
0.03651153,
0.038328454,
0.030483956,
0.029907154,
-0.025494624,
0.022956697,
-0.04957608,
0.013670194,
-0.012999662,
-0.0035941938,
0.030483956,
-0.0029218597,
0.029157313,
-0.046807434,
-0.0062294556,
0.011218788,
-0.02013037,
-0.04845132,
0.030339755,
0.00085844274,
0.02015921,
0.052806173,
0.013302483,
0.016525362,
-0.04458675,
-0.029445713,
-0.023879578,
0.01191095,
-0.04539427,
0.028450731,
-0.03299304,
-0.018125985,
0.017390562,
-0.023793058,
-0.017145423,
0.033915926,
0.017693384,
-0.0034752286,
0.02850841,
0.0027452144,
0.01566016,
0.01979871,
0.051162288,
0.003684319,
0.026547287,
0.06529392,
-0.045624994,
0.010346375,
-0.027167348,
0.023648858,
-0.034262005,
-0.06760113,
-0.04326011,
-0.007242463,
-0.033887085,
0.013309693,
-0.02386516,
0.0139081245,
-0.009026943,
-0.0037167643,
-0.01218493,
-0.013857654,
0.034233164,
0.015645739,
0.028854491,
-0.046576716,
-0.029272672,
-0.015818778,
0.010721297,
-0.004992937,
-0.039366696,
0.019207487,
0.038789894,
-0.0058689546,
0.046144113,
0.010432896,
-0.01203352,
-0.016957963,
-0.034550406,
-0.023230677,
-0.0041205254,
0.029517813,
0.07804123,
0.004935257,
0.011485559,
-0.031839438,
0.029791795,
0.031089596,
0.011370198,
-0.010497786,
-0.004311591,
-0.0113629885
] | Note:
If you want to reproduce the original tokenization process of the OpenAI GPT paper, you will need to install ftfy
and SpaCy: |
[
0.023746775,
-0.0029518153,
-0.034121294,
-0.012130546,
-0.0048749954,
-0.029374879,
0.01426129,
-0.018809328,
-0.008780135,
0.06142421,
0.008493586,
-0.0035598122,
0.020881291,
-0.029551215,
-0.008478892,
0.0077955844,
-0.02060209,
0.01426129,
-0.04825768,
-0.006502443,
0.024569683,
0.03988165,
-0.058161967,
-0.00428353,
-0.039822873,
-0.0030822316,
0.018412568,
0.008758093,
0.088580176,
0.020381669,
0.022291992,
0.00039836648,
0.0016595925,
-0.017075343,
-0.011469281,
-0.039058745,
0.01310775,
-0.017178206,
-0.027082492,
-0.024496209,
0.02861075,
-0.034856033,
0.022394855,
-0.058749758,
-0.06054252,
0.0013932495,
0.0023750449,
-0.047934394,
-0.017677829,
-0.050667625,
-0.017266374,
0.006972676,
0.021645421,
0.021513168,
0.017780691,
-0.026465312,
-0.010763931,
-0.016899005,
-0.049492043,
-0.005051333,
0.035620164,
0.022056876,
0.002470561,
-0.07423806,
-0.02587752,
0.01902975,
0.009176894,
-0.009764686,
-0.007428215,
-0.0128726335,
-0.11538347,
0.010925574,
-0.024584379,
-0.040351886,
-0.030183092,
-0.052195884,
0.014988682,
-0.0033026533,
0.0024007608,
0.048169512,
0.0074061723,
0.0515787,
-0.014665397,
0.00020343096,
-0.029463047,
-0.03673697,
0.06148299,
-0.00068055233,
-0.00811887,
-0.0008311739,
-0.011263554,
0.020910682,
-0.027141271,
0.03711903,
-0.0028067043,
0.05190199,
0.010646373,
0.029859807,
-0.006550201,
-0.0037692129,
0.03591406,
0.05510545,
-0.019852657,
0.055076063,
-0.048140123,
-0.013129792,
0.013651457,
-0.030535767,
0.0021601336,
-0.029668774,
-0.0062673264,
0.020763734,
-0.0010056745,
-0.027729062,
-0.008273165,
0.020851903,
0.0026432248,
0.013923311,
-0.0140702585,
-0.0023640238,
-0.036178567,
-0.034062516,
-0.0056391247,
-0.004941122,
0.018500736,
-0.02965408,
0.005132154,
0.010602289,
-0.048992418,
-0.005304818,
0.02130744,
0.026671039,
0.007979269,
0.060836416,
-0.034297634,
0.011550102,
-0.0008702069,
0.023496965,
-0.011506018,
-0.014760913,
-0.011888082,
-0.024290483,
-0.02213035,
0.06259979,
-0.004665595,
0.017442713,
-0.008486239,
-0.052019544,
-0.04608285,
0.03588467,
-0.01902975,
0.011329681,
0.016619803,
0.009367927,
-0.053430244,
0.014944598,
-0.0044598677,
-0.007049824,
0.0077735423,
-0.0034936855,
-0.006553875,
0.007655984,
-0.048757304,
0.02999206,
0.001574179,
0.03867668,
-0.020175943,
-0.019661624,
-0.010301045,
-0.041791975,
0.0037490076,
0.027053103,
-0.026906155,
0.034856033,
0.04276183,
0.047317214,
0.047346603,
-0.018515432,
-0.0005473808,
-0.00044291007,
-0.009147504,
-0.018926885,
-0.004132909,
0.021410305,
-0.030183092,
0.026377141,
-0.00933119,
0.010132056,
-0.008890346,
0.025686488,
-0.001210483,
0.05719211,
-0.038265225,
0.021336831,
-0.017266374,
0.05501728,
-0.01758966,
0.012666906,
0.016296519,
-0.050197393,
-0.007329025,
0.06424561,
0.00481989,
0.009794075,
-0.05190199,
0.028434413,
0.008941778,
0.02999206,
-0.041968312,
0.046964537,
0.023217764,
0.02277692,
-0.012395052,
-0.019691015,
0.067419685,
-0.029242625,
-0.044907268,
0.015223799,
0.003670023,
0.008603797,
0.000019817871,
0.013600025,
0.030800274,
-0.01756027,
0.016781447,
-0.0076412894,
0.04020494,
0.036178567,
-0.014327417,
0.028346244,
0.02370269,
0.004217404,
-0.020984156,
0.042203426,
0.042879388,
0.024305178,
0.0854061,
0.02799357,
0.022938563,
-0.012960802,
0.015664643,
0.0054113553,
0.029360184,
0.033709843,
0.004529668,
0.0186036,
-0.020925377,
-0.0053709447,
0.011351723,
-0.002920589,
-0.039323248,
0.03033004,
0.03400374,
-0.03585528,
-0.045642007,
-0.03999921,
0.04890425,
0.012608127,
0.0039051396,
-0.06694945,
-0.007303309,
0.031241117,
-0.022056876,
-0.035561383,
0.013724931,
0.039058745,
-0.037794992,
0.009882244,
-0.022865089,
-0.04067517,
-0.04405497,
-0.047787447,
-0.10256961,
0.013129792,
-0.02833155,
-0.048169512,
-0.01011736,
-0.034679696,
-0.009434053,
0.00013271229,
0.019059138,
0.00907403,
-0.04129235,
0.04067517,
0.030388819,
0.0035432805,
-0.016561024,
0.023232458,
-0.009243021,
0.058896706,
0.009963065,
-0.03103539,
-0.013019581,
0.0014152917,
0.03976409,
0.01223341,
0.008941778,
0.023746775,
-0.019294254,
0.03594345,
-0.019426508,
-0.033827398,
0.039793484,
0.0068294024,
-0.0490512,
0.036119785,
0.037383538,
-0.011873388,
0.03773621,
0.0037692129,
-0.024011282,
0.044437036,
0.005716272,
0.050050445,
-0.029536521,
0.03435641,
0.04132174,
-0.02379086,
0.014408238,
-0.041733194,
-0.042556103,
-0.013930658,
-0.0077661946,
-0.037060253,
0.0366488,
0.022159738,
-0.033533502,
-0.07141666,
-0.0012444648,
-0.037501097,
-0.08481831,
0.023658607,
-0.038353395,
0.038294613,
0.03376862,
-0.0032861216,
-0.023129594,
0.036354903,
0.037177812,
0.0057934197,
-0.009360579,
-0.027523335,
0.0063150846,
0.037442315,
0.007861711,
-0.007560468,
0.018706463,
-0.023687996,
0.00245954,
-0.020146552,
0.012784464,
0.053518414,
0.00646938,
-0.015025419,
-0.02130744,
-0.005183586,
-0.026362447,
-0.0112855965,
0.041027844,
-0.004180667,
0.005348902,
0.020058384,
0.0017973561,
0.01037452,
-0.027214745,
-0.00532686,
-0.0048235636,
0.034826644,
0.046611864,
-0.042438544,
-0.00044268047,
-0.015473611,
-0.00080270274,
0.0005942204,
-0.017428016,
-0.0758251,
0.053459633,
0.018530127,
0.03294571,
-0.036266733,
0.011270901,
0.024554988,
0.016384687,
-0.00066402066,
0.0067779706,
0.031593792,
-0.034180075,
0.0037049232,
-0.013019581,
0.0030693735,
0.03567894,
-0.0013115098,
-0.032269754,
0.0026873092,
-0.031211726,
-0.015943844,
0.03529688,
0.047287825,
-0.0049337745,
0.0029830418,
0.09945432,
-0.030712105,
0.028713614,
0.012027683,
0.024363957,
-0.02167481,
-0.04334962,
-0.0025770983,
-0.010234919,
-0.03520871,
0.01017614,
-0.011976251,
-0.024070062,
0.014834387,
0.007457604,
0.03294571,
-0.0010286351,
0.00933119,
0.03976409,
0.009661823,
-0.010381867,
0.004419457,
-0.04138052,
0.024496209,
0.029418964,
-0.023041425,
0.017751303,
-0.03656063,
0.009345884,
0.03444458,
-0.013886574,
-0.035473216,
0.021718895,
-0.0065355063,
-0.0544001,
0.053900477,
0.06330514,
-0.028904647,
-0.002435661,
-0.03306327,
-0.0063885585,
-0.018295009,
-0.016531635,
-0.008221733,
0.054929115,
-0.046846982,
0.012968149,
0.03462092,
0.03520871,
0.008860957,
0.03509115,
-0.05037373,
0.027699674,
-0.04596529,
-0.030565158,
-0.010675763,
-0.0001863253,
-0.02692085,
0.009478138,
0.017942335,
-0.029639386,
-0.0015971396,
0.040939678,
0.0007673434,
-0.039029352,
0.0054076817,
-0.0053158393,
-0.008919735,
0.054870334,
-0.00961039,
-0.04343779,
-0.0038096234,
-0.022762224,
-0.012828549,
0.0075163837,
-0.013769016,
0.013188571,
-0.030535767,
-0.025833435,
0.0052423654,
-0.026817987,
0.01795703,
-0.012035031,
0.00876544,
0.005389313,
-0.053577192,
-0.01927956,
0.008390724,
-0.05093213,
0.0002502706,
0.020028995,
-0.03582589,
0.045877125,
-0.030065535,
-0.022145044,
-0.014753566,
-0.024746021,
-0.025069306,
0.040498834,
0.015311968,
0.054282542,
-0.030080229,
-0.03224036,
0.047287825,
-0.010903532,
-0.01587037,
-0.025025222,
-0.012982844,
-0.020778429,
-0.0072886143,
-0.014246596,
0.022997342,
0.0037085968,
0.01088149,
-0.018427262,
-0.021689506,
-0.006869813,
-0.051402364,
-0.011564797,
0.04825768,
-0.0037159442,
-0.06412805,
-0.030094923,
0.010918227,
0.014312723,
0.015796896,
0.048639745,
-0.0014033521,
-0.027376387,
-0.04499544,
0.053312685,
-0.036384292,
0.015605863,
-0.01795703,
0.011763177,
0.0039749397,
0.024363957,
0.05319513,
0.018515432,
0.007464952,
-0.050050445,
0.021895232,
-0.06071886,
-0.010962311,
-0.03711903,
-0.0020572701,
-0.044701543,
0.046464916,
0.01088149,
-0.008934431,
-0.0012361989,
-0.004081477,
0.038000718,
0.028493192,
-0.030080229,
-0.0070057395,
0.0128726335,
-0.039117523,
0.029433658,
-0.029110372,
-0.036972083,
0.061659325,
-0.039205693,
-0.028919341,
-0.060424965,
0.010301045,
-0.021322135,
0.0005271755,
0.063599035,
-0.031446844,
0.0022721814,
-0.02852258,
0.011880735,
-0.006392232,
-0.019088527,
-0.063775375,
-0.0014217206,
-0.03994043,
-0.038999964,
0.017119426,
-0.052431,
-0.00535625,
0.017751303,
0.0279054,
0.023908418,
-0.058044408,
0.034297634,
0.072768584,
-0.0058007673,
0.0034624592,
-0.043849245,
0.008236428,
-0.009206284,
0.019367728,
-0.04546567,
-0.03509115,
0.010580246,
-0.014048216,
-0.03923508,
-0.024937054,
0.013210613,
0.013658805,
0.08634657,
-0.018280314,
0.030418208,
-0.012490569,
-0.017266374,
-0.03588467,
0.034856033,
-0.0039051396,
0.00882422,
0.038706068,
0.0069322656,
-0.0034312326,
0.016707974,
-0.04499544,
-0.037177812,
-0.007387804,
0.06753724,
0.022909172,
-0.039323248,
0.03661941,
0.010594942,
0.015591169,
-0.048463408,
-0.005631777,
0.016605109,
-0.036237344,
-0.00021617408,
-0.024701936,
0.016987173,
0.0030785578,
-0.004588447,
0.037618656,
0.005183586,
-0.007277593,
0.049903497,
-0.016840225,
-0.0357965,
0.037706822,
0.034944203,
-0.008611145,
0.010697804,
0.0020389017,
-0.004963164,
0.0144964075,
-0.0324167,
0.07388539,
-0.034679696,
-0.006072621,
0.00036002227,
0.010984353,
0.04140991,
-0.02477541,
-0.011432544,
0.025039917,
-0.03629612,
-0.043643516,
-0.0022207496,
0.042497322,
0.003681044,
0.019691015,
-0.0060615996,
0.023746775,
0.049080588,
0.02333532,
-0.022953257,
-0.06918306,
-0.004639879,
-0.04534811,
-0.01612018,
-0.016810836,
-0.026744513,
-0.00009299045,
0.05657493,
-0.00879483,
-0.04496605,
0.026847376,
0.037559874,
-0.046024073,
-0.005462787,
-0.002834257,
0.019823268,
-0.042967558,
-0.016384687,
0.01792764,
-0.03923508,
-0.001543871,
0.06465706,
0.027611505,
0.045406893,
0.011910125,
0.0093018,
0.008162954,
-0.004573752,
-0.048022565,
0.024643157,
-0.03641368,
-0.00074254593,
0.00024246398,
-0.02351166,
0.021777675,
-0.04117479,
0.009382621,
0.018721158,
0.0067265388,
-0.04828707,
-0.009823465,
0.04811073,
-0.009294453,
0.038970575,
-0.023849638,
0.0357965,
-0.08093888,
-0.019882046,
0.002253813,
-0.025319118,
-0.019602846,
0.020837208,
0.030800274,
0.055458125,
0.044525202,
0.027053103,
0.013563288,
0.04343779,
0.023849638,
0.018339094,
0.031270508,
-0.043232065,
-0.003548791,
-0.03999921,
0.0055546295,
0.026230194,
-0.024892969,
0.023717387,
0.013364908,
0.0035396067,
-0.021792369,
-0.003113458,
0.017325154,
-0.005646472,
0.06536241,
0.0037214549,
0.01814806,
-0.01623774,
-0.03368045,
-0.009720601,
-0.0262155,
-0.04772867,
-0.008162954,
-0.0031006,
-0.021498473,
-0.007942532,
-0.010631679,
-0.0293161,
0.031182338,
0.040851507,
0.0061828317,
0.03976409,
-0.0126007795,
0.033592284,
-0.054253154,
-0.0037159442,
-0.03462092,
0.020837208,
-0.06354026,
-0.04261488,
0.024687242,
0.028713614,
0.007086561,
-0.0071894242,
-0.067067005,
0.013886574,
0.005341555,
-0.008677271,
-0.022997342,
0.029727554,
-0.021322135,
0.010543509,
-0.038911797,
0.0032989797,
-0.005947715,
0.036384292,
0.011946862,
-0.009169547,
0.0012812017,
0.04020494,
0.016752057,
-0.034797255,
0.034562137,
-0.018765243,
0.009727949,
0.019499982,
-0.008133564,
0.015253189,
0.022600582,
0.022174433,
0.011873388,
-0.04558323,
0.061894443,
0.037295368,
-0.025333812,
-0.008515629,
0.040587,
0.00029802864,
-0.003985961,
0.0025734245,
-0.07770603,
0.02173359,
-0.048022565,
-0.018103978,
0.038794238,
-0.007891101,
-0.021924622,
0.022923868,
-0.060483743,
0.034767866,
0.00076137367,
-0.04499544,
-0.007824974,
0.039734703,
0.045406893,
0.0046362053,
0.016972478,
0.022203824,
0.021351526,
0.022306686,
0.011498671,
-0.0064179483,
0.010962311,
-0.008207038,
-0.0014015153,
0.030594546,
0.009933676,
0.0036681863,
-0.0035469541,
-0.041733194,
-0.03650185,
0.05313635,
-0.0004247712,
-0.02971286,
0.036178567,
-0.05237222,
-0.053312685,
-0.040234327,
0.012755075,
-0.038794238,
0.0141878165,
0.03235792,
-0.051490534,
-0.013761668,
0.0059330203,
-0.019940825,
0.0050182696,
0.023937808,
0.039911043,
0.0019084854,
0.07935185,
0.0352381,
0.026671039,
0.0006768786,
0.012813854,
0.011645619,
-0.006796339,
-0.007486994,
0.005183586,
-0.01121947,
-0.023937808,
-0.06718457,
-0.009874897,
-0.010771278,
0.0028930362,
0.0031281528,
0.013195919,
-0.012012988,
-0.017457407,
-0.008956472,
0.08546488,
-0.033562895,
0.009419358,
0.011131301,
0.030741494,
-0.08182057,
-0.0012389543,
-0.04393741,
0.022336075,
-0.012762423,
-0.04611224,
0.03426824,
-0.05798563,
-0.021821758,
-0.0155030005,
-0.011990946,
-0.05301879,
0.050197393,
0.017398627,
0.044201918,
-0.01961754,
-0.0006309574,
-0.041938923,
0.045083605,
0.039205693,
0.0038390132,
0.07124033,
0.026626954,
0.0050770487,
-0.024790104,
-0.005547282,
0.030535767,
0.0122921895,
-0.023658607,
-0.029227931,
0.009353232,
-0.017545575,
-0.041762583,
0.00044612456,
0.045024827,
0.018353788,
0.0018396036,
-0.025201559,
0.019132612,
-0.048639745,
0.0027185355,
-0.010734541,
0.035414435,
0.0146139655,
-0.014430281,
0.015664643,
-0.035032373,
0.25745267,
0.069712065,
0.022835698,
0.039646536,
0.022865089,
0.004224751,
0.07141666,
-0.0023309605,
0.032857545,
-0.015356053,
0.031152949,
-0.010271656,
-0.00319979,
-0.016193654,
-0.002702004,
0.021145798,
-0.055399347,
0.011168038,
-0.04140991,
-0.040234327,
-0.019573456,
0.006840423,
-0.030535767,
0.018280314,
0.013577983,
-0.017104732,
-0.014165775,
-0.03091783,
-0.0024393345,
-0.011153343,
-0.016002623,
-0.04667064,
0.054282542,
-0.021807063,
-0.012968149,
0.020264111,
-0.02274753,
-0.05789746,
-0.01499603,
0.019735098,
-0.026318364,
-0.03773621,
0.007854364,
0.013085708,
-0.0036314493,
0.030770883,
0.0048492798,
-0.009059336,
0.037618656,
-0.043114506,
0.041556858,
-0.02827277,
0.037060253,
-0.013423688,
-0.02799357,
-0.030535767,
-0.03661941,
-0.043055724,
-0.02379086,
0.010587594,
0.034297634,
0.00562443,
0.009500179,
0.020587396,
0.019470593,
0.058955483,
-0.0061644632,
0.009000557,
-0.008405418,
-0.017207595,
0.017295765,
0.015738117,
-0.0025495456,
-0.01998491,
0.008949125,
0.01961754,
0.007839669,
0.044348866,
0.0051174597,
-0.03376862,
-0.0074686254,
-0.018809328,
-0.0068514445,
0.01274038,
0.020969462,
0.032210972,
-0.01516502,
0.037177812,
-0.03097661,
0.041733194,
0.0041586244,
0.029463047,
0.038000718,
-0.008038049,
-0.020028995
] |
Overview
OpenAI GPT model was proposed in Improving Language Understanding by Generative Pre-Training
by Alec Radford, Karthik Narasimhan, Tim Salimans and Ilya Sutskever. It's a causal (unidirectional) transformer
pre-trained using language modeling on a large corpus will long range dependencies, the Toronto Book Corpus.
The abstract from the paper is the following:
Natural language understanding comprises a wide range of diverse tasks such as textual entailment, question answering,
semantic similarity assessment, and document classification. Although large unlabeled text corpora are abundant,
labeled data for learning these specific tasks is scarce, making it challenging for discriminatively trained models to
perform adequately. We demonstrate that large gains on these tasks can be realized by generative pretraining of a
language model on a diverse corpus of unlabeled text, followed by discriminative fine-tuning on each specific task. In
contrast to previous approaches, we make use of task-aware input transformations during fine-tuning to achieve
effective transfer while requiring minimal changes to the model architecture. We demonstrate the effectiveness of our
approach on a wide range of benchmarks for natural language understanding. Our general task-agnostic model outperforms
discriminatively trained models that use architectures specifically crafted for each task, significantly improving upon
the state of the art in 9 out of the 12 tasks studied.
Write With Transformer is a webapp created and hosted by Hugging Face
showcasing the generative capabilities of several models. GPT is one of them.
This model was contributed by thomwolf. The original code can be found here.
Usage tips |
[
0.02983022,
0.019566996,
-0.0015482059,
0.003848709,
-0.015249464,
-0.03105134,
0.035383407,
-0.010772023,
0.0017453659,
0.04244846,
-0.016354287,
0.0065635205,
0.02321582,
-0.046751454,
-0.022779705,
0.025425466,
-0.0022205487,
-0.03334821,
-0.036023043,
0.022794241,
-0.014798813,
0.033580802,
-0.09251439,
-0.044716254,
-0.020991636,
0.013156115,
0.0053424006,
-0.033464506,
0.078675024,
0.03939566,
-0.0113680465,
0.027271682,
0.00074911723,
-0.003708789,
-0.015554744,
-0.02443694,
0.010255955,
-0.028827157,
-0.03140023,
-0.014420847,
0.025236482,
-0.03945381,
0.04346606,
-0.06873162,
-0.047158495,
-0.012145784,
-0.027911317,
-0.043000873,
-0.005069829,
-0.039948072,
-0.009274698,
0.007857326,
0.021514973,
0.0046191774,
-0.034598403,
-0.0072504007,
-0.027242608,
-0.020439224,
-0.05073463,
-0.0012456515,
0.03363895,
0.052857056,
-0.013773944,
-0.06826643,
0.007508435,
0.001149343,
0.022212757,
0.010597578,
-0.03363895,
-0.017241053,
-0.051170748,
0.010285029,
0.002580343,
-0.038494356,
-0.0115279555,
-0.02895799,
-0.007828252,
-0.0357323,
0.0063709035,
0.048728507,
0.016499659,
0.040296964,
0.0112154065,
0.0057094633,
-0.03919214,
-0.049804255,
0.06041637,
0.005258812,
-0.014944185,
-0.016456047,
-0.020017648,
0.02855095,
-0.021311453,
0.02433518,
0.015380299,
0.016659567,
0.010154195,
0.049397215,
-0.020061258,
0.024102585,
0.030004665,
0.07053422,
-0.0114116585,
0.03986085,
-0.033522654,
-0.0012465601,
0.032708574,
-0.012109441,
-0.012683658,
-0.030062813,
-0.034278587,
0.01562743,
0.020773578,
-0.024625922,
0.00038160002,
0.048117947,
0.0025948803,
-0.0019625144,
-0.038639728,
-0.029074289,
-0.028013077,
-0.0056004347,
-0.032592278,
-0.020293852,
0.015641967,
-0.03273765,
0.014391772,
0.06873162,
-0.0633238,
-0.006221898,
-0.017546333,
0.023608321,
0.018404024,
0.04468718,
0.0027984004,
0.012225738,
-0.015191316,
0.01756087,
-0.0017798916,
-0.02988837,
0.010023361,
-0.013657647,
0.022736093,
0.081931345,
0.022416277,
0.026036026,
0.026704734,
-0.055764485,
-0.04887388,
0.02413166,
-0.02331758,
0.013861167,
-0.015147705,
0.028565489,
-0.019944962,
0.003432583,
-0.009623589,
-0.004942629,
-0.013570424,
-0.0010512172,
0.0030382632,
0.039424736,
-0.034133215,
0.06454492,
-0.016397899,
0.027925855,
-0.0368662,
0.026137786,
-0.0010375887,
-0.055822633,
-0.01847671,
0.018956436,
0.015641967,
0.029292345,
0.044396438,
0.038697876,
0.0230123,
-0.039104916,
0.035499707,
0.000120385725,
0.010154195,
-0.0056331432,
0.005894812,
0.01670318,
-0.03288302,
0.009587247,
-0.00080908294,
-0.01796791,
-0.0040485947,
0.028812619,
-0.009790767,
0.052769832,
-0.082338385,
0.001079383,
-0.014973259,
0.030673373,
-0.03003374,
-0.020555522,
-0.0114261955,
-0.08001244,
-0.028594563,
0.08972325,
-0.0011011887,
0.021776643,
-0.0039250287,
0.010168732,
-0.0082352925,
0.032592278,
-0.0081989495,
0.03355173,
0.048786655,
0.0014755201,
0.0009299229,
-0.005982035,
0.04992055,
-0.012872641,
-0.039918996,
0.0113753155,
-0.036110267,
0.04047141,
-0.0043902174,
0.014471727,
0.055095777,
-0.001715383,
0.017386425,
0.0004620086,
0.008882195,
0.020671818,
-0.0036379204,
-0.0015972687,
0.013076161,
0.010103315,
0.016877625,
0.039511956,
0.038668804,
-0.0024440573,
0.0654753,
0.013403247,
0.009100252,
0.021747567,
-0.014798813,
0.004891749,
0.032446906,
0.030150037,
0.038959548,
0.0069850977,
-0.0036270174,
-0.012342036,
0.030993192,
-0.00048517718,
-0.045384962,
0.07105756,
0.018142356,
-0.028158449,
-0.05050204,
-0.028478265,
0.030935043,
0.035703227,
0.0068324576,
-0.023230357,
0.008598721,
0.020148482,
-0.000118114294,
0.004535589,
0.023492025,
0.060532667,
-0.027053624,
0.015278539,
-0.01282903,
-0.06977829,
-0.040936597,
-0.030760597,
-0.0817569,
-0.011855041,
-0.023695545,
-0.018040596,
0.02637038,
-0.050676484,
-0.006272778,
-0.0058330293,
-0.008904001,
0.013882972,
-0.03349358,
0.033464506,
0.052915204,
0.026225008,
0.0081262635,
0.025410928,
-0.023244893,
0.014253669,
-0.0012974401,
-0.037127867,
0.019741442,
0.013068893,
0.030993192,
0.025687134,
0.0003995443,
-0.0045028804,
-0.03009189,
0.024393328,
-0.02392814,
-0.0040558632,
0.0054877717,
0.004041326,
-0.037825648,
0.042361237,
-0.00047609146,
-0.023143133,
0.03416229,
0.02814391,
-0.020686356,
-0.0068033836,
0.011629716,
0.037186015,
-0.038290836,
0.05588078,
0.05756709,
0.008700481,
-0.046547934,
-0.0067306976,
-0.021820253,
0.02494574,
-0.006621669,
-0.01670318,
-0.011833236,
0.042884573,
-0.0015772801,
-0.08588545,
0.010539429,
-0.028071225,
-0.06576604,
0.00047109433,
-0.0015000516,
0.047158495,
0.058352098,
-0.0014319087,
-0.039221216,
0.020773578,
-0.0008617801,
0.028376505,
-0.02020663,
0.0051933946,
0.0063963435,
0.041256417,
-0.021747567,
-0.0014364516,
0.037186015,
-0.027504276,
0.011891384,
-0.0026094173,
0.021573123,
0.05151964,
0.030876894,
-0.0043211663,
-0.028274745,
0.044192918,
-0.025367316,
-0.017081145,
0.01150615,
-0.01633975,
0.0065235435,
0.031487454,
0.0026384916,
0.01206583,
-0.041866977,
-0.0025494515,
0.012567361,
0.04148901,
0.037389535,
-0.05878821,
0.021849327,
-0.014137372,
-0.04800165,
0.0038305374,
-0.0035270746,
-0.07111571,
0.058962658,
0.039046768,
0.028303819,
-0.006850629,
-0.00017830716,
0.012356573,
-0.0007736486,
0.052304644,
0.0013065258,
0.014435384,
-0.0367499,
-0.019930424,
-0.034278587,
-0.0010039716,
-0.008547841,
-0.006865166,
-0.023840917,
-0.0050407546,
-0.032388758,
-0.029001603,
0.02677742,
0.060125627,
0.021442287,
0.041983273,
0.038058244,
-0.0048081605,
0.004739109,
0.006298218,
-0.010452206,
-0.010902858,
-0.023971751,
0.017124755,
0.0058875433,
-0.002972846,
-0.01349047,
-0.024654996,
-0.048961103,
0.025469076,
-0.02529463,
0.0073412578,
-0.053118724,
-0.0059493263,
0.012000413,
0.030702448,
-0.0490774,
0.021573123,
-0.015234927,
0.02932142,
0.039744552,
-0.03273765,
0.010437669,
-0.03715694,
-0.011208138,
0.011208138,
0.01873838,
-0.019566996,
-0.016296139,
-0.0145880245,
-0.050065923,
0.0520139,
0.035296187,
-0.003354446,
-0.012240276,
-0.08059393,
0.020119408,
0.02743159,
-0.016063545,
-0.0038705147,
0.045326814,
-0.005327863,
0.00911479,
0.04020974,
0.022227293,
-0.002336846,
0.05585171,
-0.007181349,
0.0042739203,
-0.047332942,
-0.03253413,
-0.012102173,
-0.021791179,
-0.00046019146,
0.021674883,
0.02423342,
-0.014333624,
0.008068115,
0.06169564,
-0.003746949,
-0.03491822,
0.03523804,
0.037040643,
-0.008373395,
0.023986287,
0.017328275,
-0.024000825,
0.027300756,
-0.0029528574,
0.0006114686,
-0.0020315659,
0.00076365436,
0.01684855,
-0.038029168,
-0.029437717,
-0.015394836,
-0.02824567,
0.012007681,
-0.0080971895,
-0.030324483,
0.00048608574,
-0.05425262,
-0.019218104,
-0.009899795,
-0.028129375,
0.005404183,
0.030615225,
-0.020977098,
0.035150815,
-0.021107933,
-0.07233683,
-0.051374268,
-0.02254711,
0.016732253,
0.03797102,
0.029146973,
0.03695342,
0.008228024,
-0.014246401,
0.012022218,
-0.026195934,
0.0043211663,
-0.032563202,
0.0031927202,
-0.0015554745,
-0.020163018,
-0.010299566,
-0.009877989,
-0.0027874974,
-0.01868023,
0.018694768,
-0.024596848,
0.0026730173,
-0.02423342,
-0.024044435,
0.051548712,
-0.013773944,
-0.035412483,
-0.0064581265,
-0.012538287,
0.01684855,
0.017386425,
0.025221946,
-0.030702448,
-0.023462951,
-0.05605523,
0.03462748,
-0.050821856,
0.010619384,
-0.03797102,
-0.014057418,
0.01857847,
0.02972846,
0.021674883,
-0.03959918,
-0.009739887,
-0.057218198,
0.03506359,
-0.06489381,
-0.03430766,
-0.0306443,
0.00018148716,
-0.038203616,
0.042593833,
0.007711955,
-0.0034743776,
0.03605212,
0.011615179,
0.01583095,
0.01670318,
-0.0018598458,
-0.03628471,
0.028899843,
0.01613623,
0.01735735,
0.0034253146,
-0.002082446,
0.05588078,
-0.006734332,
0.043204393,
-0.04250661,
-0.020628208,
-0.043000873,
0.0015009601,
0.061928235,
-0.076872416,
-0.022808779,
-0.036168415,
-0.012160321,
0.0015827316,
0.020468298,
-0.024756756,
-0.012850835,
-0.06588234,
-0.0438731,
0.04718757,
-0.032039866,
-0.047158495,
-0.022896001,
0.016499659,
0.052101124,
-0.041750677,
0.031429306,
0.06256787,
0.008940344,
0.01191319,
-0.06698716,
0.05527022,
-0.0009694458,
0.025541762,
-0.047129422,
0.0065489835,
-0.02804215,
0.02570167,
-0.052508164,
-0.043000873,
-0.013839361,
0.026254082,
0.058264874,
-0.051025376,
0.023259431,
-0.0033471775,
-0.013105235,
-0.042884573,
0.05186853,
-0.0059384233,
0.006992366,
0.016456047,
0.004470172,
0.021587659,
0.010234149,
-0.014326355,
-0.028260209,
-0.020584596,
0.08088467,
-0.0050880006,
-0.05788691,
0.0042957263,
0.0056949263,
-0.013548618,
-0.0713483,
-0.012698195,
0.022808779,
-0.0654753,
-0.015380299,
0.002465863,
0.049135547,
-0.022256367,
0.03227246,
0.023477487,
-0.003914126,
-0.0024040802,
0.018927362,
0.0045537604,
-0.038697876,
0.029146973,
0.021747567,
-0.009296504,
0.01384663,
-0.021965625,
0.009260161,
-0.012451064,
-0.014733396,
0.043756805,
-0.035383407,
0.013548618,
0.03736046,
0.005298789,
0.056171525,
0.00063690863,
-0.0062037264,
0.007155909,
-0.049862403,
-0.021093396,
-0.040936597,
0.020540984,
0.01721198,
0.029975591,
-0.02661751,
0.030382631,
0.0012183944,
0.03523804,
-0.021689419,
-0.041663457,
0.013824824,
-0.040093444,
-0.041547157,
0.00012674573,
-0.0042702863,
0.011273555,
0.02020663,
-0.031836346,
-0.048786655,
0.016717715,
0.024495088,
-0.02163127,
0.016528733,
-0.038232688,
-0.0048735775,
-0.051548712,
0.025323706,
0.027998539,
-0.024189807,
0.041983273,
0.0315456,
0.0038559774,
0.0070250747,
-0.0021678517,
0.03547063,
-0.0039032232,
0.0357323,
-0.017197441,
0.004633715,
-0.014973259,
-0.032766722,
-0.033987843,
-0.009441875,
-0.016412435,
-0.04372773,
0.009623589,
0.0053569376,
-0.012770881,
-0.052188348,
0.0016108972,
0.08018689,
-0.013933852,
0.016615955,
-0.03666268,
-0.0057567093,
-0.042274017,
-0.0059856693,
-0.02570167,
0.0006469029,
-0.041111045,
0.01532215,
-0.007871863,
0.04942629,
0.0235211,
0.020250242,
0.024102585,
0.028216597,
0.013010744,
0.01186231,
0.040704004,
-0.023550173,
0.0521302,
-0.011106378,
0.020948024,
0.019625144,
-0.005556823,
0.011716939,
0.030498927,
0.013010744,
-0.01338871,
0.001257463,
0.03625564,
0.021456825,
0.02641399,
-0.017270127,
-0.0013119773,
0.0030455317,
-0.022314517,
-0.0011511601,
-0.043204393,
-0.0043611433,
0.017139293,
-0.03898862,
0.028536415,
0.004041326,
-0.015482059,
-0.014268207,
0.040704004,
0.037389535,
-0.013105235,
0.014006538,
0.003979543,
0.040907525,
-0.03628471,
-0.02112247,
-0.0240299,
0.039715476,
-0.044047546,
-0.029437717,
0.04683868,
0.037825648,
-0.0112880925,
-0.011644253,
-0.01772078,
-0.018607544,
-0.011775087,
0.0054877717,
-0.044512734,
0.020729968,
-0.041605305,
0.028216597,
-0.015990859,
-0.0011039143,
0.008206218,
0.037941948,
0.019043658,
0.040122516,
0.00057194574,
0.043553285,
0.022896001,
-0.004575566,
0.042186793,
0.023230357,
0.035703227,
0.017037533,
-0.0026112346,
0.002732983,
0.018927362,
0.007530241,
0.01476247,
-0.014144641,
0.041547157,
0.029074289,
-0.041750677,
-0.016659567,
0.03227246,
-0.0009912516,
-0.007922743,
-0.006821555,
-0.042797353,
0.016179841,
-0.020148482,
0.020337464,
0.03131301,
-0.0070323437,
-0.01654327,
-0.016368825,
-0.023840917,
0.023869991,
0.0113244355,
-0.04428014,
0.010808366,
0.019072734,
0.041343637,
0.022299979,
-0.0049644345,
0.045443114,
0.028158449,
0.011128183,
0.009768961,
0.0007214058,
-0.033464506,
0.018098744,
0.00051198003,
0.031283934,
-0.0053678406,
-0.023869991,
-0.0037251431,
-0.007257669,
-0.051490564,
0.048844803,
0.0033635318,
-0.019726904,
0.024262493,
-0.019741442,
-0.041605305,
-0.043844026,
0.008816778,
-0.014144641,
0.035703227,
0.004561029,
-0.03174912,
-0.047536463,
0.015685579,
-0.022576185,
0.032708574,
0.023273967,
0.027198996,
-0.0007768286,
0.059893034,
0.032039866,
0.007090492,
0.020061258,
-0.0020624574,
-0.044919774,
-0.024000825,
0.024320642,
-0.012102173,
-0.019319864,
-0.02311406,
-0.05686931,
-0.008882195,
0.007054149,
-0.0065126405,
-0.033726174,
-0.009725349,
-0.00044247432,
-0.031690974,
-0.0017589944,
0.09914333,
-0.03831991,
-0.016150767,
-0.024858516,
-0.00043475148,
-0.069603845,
-0.013366904,
-0.03462748,
0.027824095,
-0.0015600172,
-0.04061678,
-0.0001427593,
-0.043553285,
-0.00077001436,
-0.041459937,
-0.03355173,
-0.021805717,
0.047129422,
0.022198219,
0.033057466,
0.01359223,
-0.026733808,
-0.00017717145,
0.004906286,
0.05384558,
-0.0013546802,
0.08867658,
0.043785878,
0.028987065,
-0.008467887,
-0.035092667,
0.046199042,
-0.0002525829,
-0.0045937374,
-0.009296504,
-0.015903635,
-0.036023043,
-0.06937125,
-0.006923315,
0.030702448,
0.045414038,
-0.013832092,
-0.055764485,
0.008518767,
-0.069603845,
-0.014064687,
-0.023230357,
0.011680596,
0.03730231,
-0.025628986,
0.015089556,
-0.0275915,
0.2535278,
0.082745425,
0.05614245,
0.0541654,
0.005531383,
-0.0019534288,
0.029365031,
0.01384663,
0.029699385,
-0.03695342,
-0.0058075893,
-0.033580802,
-0.0059747663,
0.025585374,
-0.002504023,
0.02443694,
-0.052566312,
0.010779292,
-0.03465655,
-0.035208963,
-0.03625564,
0.020177556,
0.025367316,
0.0009153858,
0.03486007,
-0.003570686,
-0.01929079,
-0.035964895,
-0.01226935,
-0.009303772,
0.0075883893,
-0.052682612,
0.022634333,
-0.026995476,
-0.039541032,
0.032388758,
-0.014849693,
-0.037447684,
-0.0025112915,
0.008278904,
-0.027315294,
0.0052697146,
0.025178334,
-0.0050770976,
0.006745235,
0.0520139,
0.012538287,
0.0053714747,
-0.0005901172,
-0.045414038,
0.028769009,
-0.063149355,
0.035150815,
-0.046751454,
-0.042419385,
-0.0676268,
-0.017371887,
-0.055997077,
-0.029161511,
0.0145080695,
-0.0020733601,
0.011884116,
0.0114916125,
-0.0028256574,
-0.01868023,
0.04992055,
-0.037389535,
0.011644253,
-0.039075844,
-0.030789671,
-0.027155384,
0.0022205487,
0.013926584,
-0.017400961,
0.031952642,
0.039482884,
0.010394058,
0.010176001,
-0.028085763,
-0.02413166,
0.016630493,
-0.010910126,
0.008467887,
-0.01863662,
0.01711022,
0.024829442,
-0.057799686,
0.038814176,
-0.025643522,
0.065591596,
-0.014042881,
0.028492803,
0.0011775086,
0.011586104,
-0.031690974
] |
A blog on how to Finetune a non-English GPT-2 Model with Hugging Face.
A blog on How to generate text: using different decoding methods for language generation with Transformers with GPT-2.
A blog on Training CodeParrot 🦜 from Scratch, a large GPT-2 model.
A blog on Faster Text Generation with TensorFlow and XLA with GPT-2.
A blog on How to train a Language Model with Megatron-LM with a GPT-2 model.
A notebook on how to finetune GPT2 to generate lyrics in the style of your favorite artist. 🌎
A notebook on how to finetune GPT2 to generate tweets in the style of your favorite Twitter user. 🌎
Causal language modeling chapter of the 🤗 Hugging Face Course.
[OpenAIGPTLMHeadModel] is supported by this causal language modeling example script, text generation example script and notebook.
[TFOpenAIGPTLMHeadModel] is supported by this causal language modeling example script and notebook.
See also: Causal language modeling task guide |
[
0.011558312,
-0.0065476233,
-0.017080152,
0.0011031511,
-0.049070667,
-0.04770759,
0.0002647041,
-0.002194132,
-0.009430247,
0.069043875,
-0.0127544785,
0.0063668075,
0.0051393453,
-0.032991957,
-0.010577733,
0.032797232,
-0.03282505,
-0.031044707,
-0.063369036,
0.0053305933,
0.036107555,
-0.030710893,
-0.094246835,
-0.0073021823,
-0.016648976,
0.044341635,
0.01774778,
0.013185655,
0.07232638,
0.036608275,
-0.0026618193,
0.037387174,
0.0032790275,
-0.025884498,
0.007816812,
-0.039668236,
0.008602667,
-0.030154536,
-0.026913758,
-0.03641355,
0.0380548,
-0.041365124,
0.01763651,
-0.052019358,
-0.048820306,
-0.055663493,
-0.026732942,
-0.016398616,
-0.031879243,
-0.02868019,
0.007420408,
0.01113409,
0.024771785,
0.01927776,
-0.048653398,
0.0027244096,
-0.028541101,
-0.0046281926,
-0.0027139778,
0.0010301293,
-0.002188916,
0.009305066,
-0.025926225,
-0.09235522,
-0.019903664,
0.017135788,
0.013296926,
0.037609715,
-0.015758805,
-0.020626927,
-0.047039963,
0.008797391,
-0.004809009,
-0.039556965,
-0.03418812,
0.0014613058,
0.060142167,
0.0251056,
-0.04873685,
0.07299401,
-0.023631252,
0.030655257,
0.009666699,
-0.0212111,
-0.00790722,
-0.07271583,
0.041587666,
-0.06915514,
0.028068198,
-0.023088805,
-0.0034546277,
0.016954971,
-0.008769574,
0.023978977,
-0.0050141653,
0.015981348,
0.0008097599,
0.026009679,
-0.018804858,
0.023186168,
0.04823613,
0.045092713,
0.0057130884,
0.011217543,
-0.00006400276,
0.0054835915,
0.0067284396,
-0.01138445,
-0.016941063,
-0.0074969074,
-0.0040196776,
-0.010389962,
-0.004555171,
-0.01595353,
-0.0012022522,
0.015939621,
-0.012406755,
0.02109983,
0.024910873,
-0.003164279,
-0.013436016,
-0.012956158,
0.03354831,
-0.047930133,
-0.010216101,
-0.051824633,
0.024396244,
0.013971509,
-0.07277146,
-0.018999584,
0.006161651,
0.009242477,
-0.005035029,
0.005511409,
0.0013526423,
0.043562733,
0.016676793,
0.0032338237,
-0.0059843124,
-0.002853067,
-0.0035676376,
0.011606993,
-0.0074969074,
0.073105276,
-0.018220684,
0.021127649,
0.0014091473,
-0.02084947,
-0.022282088,
0.008957344,
-0.037971348,
-0.020863378,
0.008651348,
0.02237945,
-0.018318046,
0.0034754912,
-0.021725731,
0.014548729,
0.01440964,
-0.006964891,
0.0069544595,
0.0048820307,
-0.03811044,
0.05093446,
-0.029625997,
0.042004935,
-0.042783834,
-0.016676793,
-0.005240185,
-0.024271064,
0.046511423,
-0.02353389,
0.024994327,
0.032797232,
0.02211518,
0.04100349,
0.054328237,
0.006436352,
0.0324356,
0.029514726,
0.01440964,
0.018637951,
0.016551614,
0.010271736,
0.008254943,
0.008630484,
-0.010111784,
-0.03151761,
-0.045343075,
-0.011196679,
-0.0016030029,
0.021823093,
-0.03563465,
0.007948947,
-0.0051254365,
-0.0002386249,
-0.03705336,
-0.005480114,
0.0072813192,
-0.021544915,
0.0077750855,
0.044564176,
-0.002188916,
0.0024218904,
-0.035300836,
0.009687562,
0.030460533,
0.04542653,
-0.02135019,
0.034021214,
0.0478745,
-0.013950646,
-0.05724911,
0.0037727943,
0.033353586,
-0.01479909,
-0.021990001,
0.039668236,
-0.0017620862,
0.029236548,
0.017288785,
0.025703682,
0.051379547,
-0.027080664,
-0.0073369546,
-0.015216357,
-0.00965279,
0.04737378,
0.0069509824,
-0.007691632,
-0.012615389,
0.017066244,
-0.0039849053,
0.045009263,
0.02314444,
0.005417524,
0.04684524,
0.031350702,
-0.022838445,
0.009138159,
-0.017469602,
0.010842002,
0.0063076946,
0.014006281,
0.034132488,
-0.021197192,
-0.0146043645,
-0.020014934,
0.004767282,
-0.010209147,
-0.07661033,
0.074329264,
0.013985418,
0.007747268,
-0.037999168,
-0.047791045,
0.03847207,
0.028735826,
-0.023923341,
-0.03254687,
0.00704139,
0.010702913,
0.019291671,
-0.025912317,
0.009534564,
0.060142167,
0.0013065691,
-0.00075151626,
0.0072604557,
-0.040920038,
-0.0168437,
-0.027581386,
-0.076999776,
0.013867192,
-0.011398359,
-0.005827837,
0.013060475,
-0.071046755,
-0.0074899527,
-0.0213641,
0.030933436,
-0.008943435,
-0.04169894,
0.0352452,
0.028735826,
0.009534564,
-0.03407685,
0.043145467,
-0.03276941,
0.031016888,
0.016774155,
-0.018610133,
-0.006286831,
-0.023645163,
0.014242733,
-0.004238743,
-0.016635068,
-0.0148129985,
0.0009579768,
-0.002844374,
-0.021809185,
-0.013296926,
0.008602667,
-0.012337211,
-0.045621254,
0.06921078,
0.0022671537,
-0.011996442,
0.07833503,
0.043423645,
-0.047735408,
0.043646187,
0.017553056,
0.035439923,
-0.028276833,
0.04929321,
0.04634452,
-0.021850912,
-0.012698843,
-0.02303317,
-0.07544198,
0.034271576,
0.0109880455,
-0.04270038,
0.030655257,
0.052325353,
-0.01582835,
-0.050628465,
-0.011189725,
-0.034688845,
-0.054439507,
0.02262981,
-0.009666699,
0.014840816,
0.043062013,
0.023506073,
-0.053799696,
-0.013908919,
0.01113409,
0.018220684,
-0.0011474858,
-0.021962183,
0.033297952,
0.02970945,
-0.009207704,
0.01890222,
0.01632907,
-0.03855552,
-0.014548729,
-0.036051918,
0.026287857,
0.027623113,
0.014965997,
0.0056052944,
0.013248245,
0.011815626,
-0.030460533,
0.034939203,
0.039584782,
-0.01363074,
0.015494536,
0.0032929366,
-0.02033484,
-0.0038179983,
-0.015786624,
-0.030015446,
-0.0038319072,
0.06793116,
0.031378523,
-0.049877383,
0.017859051,
0.008658302,
-0.0099379225,
0.024145883,
-0.0008310579,
-0.042171843,
0.070657305,
0.017761689,
0.05530186,
-0.04028023,
-0.00037510614,
0.037220266,
0.0058521777,
0.016273435,
0.049738295,
0.0143540045,
-0.020571291,
-0.04929321,
-0.03162888,
-0.047123417,
-0.018554498,
-0.0021454508,
-0.0067319167,
-0.0051184823,
-0.04695651,
-0.038638975,
0.04968266,
0.026955485,
0.034215942,
0.011850399,
0.023297438,
-0.03560683,
0.058194917,
0.04879249,
0.005643544,
0.0019472486,
-0.032908503,
0.07087985,
-0.027497932,
0.0032355622,
-0.02609313,
-0.021976091,
-0.050405923,
0.008797391,
-0.015118995,
0.051017914,
-0.01851277,
0.012406755,
0.002567934,
0.04923757,
-0.026732942,
-0.03630228,
-0.010709868,
0.019458577,
0.037999168,
-0.032240875,
-0.02186482,
0.0054105693,
0.002952168,
0.023700798,
-0.015939621,
-0.027052848,
-0.034521937,
0.023380892,
-0.0578611,
0.035940647,
0.034549754,
0.014493094,
0.006116447,
-0.030293625,
0.0013056998,
-0.008428805,
-0.06526065,
-0.004106608,
-0.010556869,
-0.03265814,
-0.008331442,
0.012691888,
0.025745409,
-0.019194309,
0.050906643,
-0.026732942,
-0.009993558,
-0.027205845,
-0.011558312,
-0.03719245,
-0.010250873,
0.009381566,
0.006766689,
0.038778067,
-0.013783739,
0.0029504295,
0.042450022,
-0.0029712927,
-0.051657725,
0.02856892,
-0.0026896372,
-0.016621158,
0.018206775,
0.022963624,
-0.015689261,
0.0025940135,
0.030182354,
-0.0053340704,
-0.002853067,
-0.020557381,
0.008352306,
-0.012768388,
-0.04492581,
0.00434306,
-0.023255711,
0.04334019,
0.009186841,
-0.029486908,
0.01698279,
-0.06442611,
0.0024010271,
0.0032703346,
-0.009471973,
0.029431272,
0.021781366,
-0.047957953,
0.023839887,
-0.05494023,
-0.06214505,
-0.03457757,
-0.021044195,
-0.01504945,
0.05713784,
0.03385431,
0.029264364,
-0.0031225523,
-0.052325353,
0.036775183,
-0.019750664,
0.0026096608,
-0.0045064897,
0.039306603,
-0.005389706,
-0.022601994,
-0.03666391,
0.001651684,
-0.0004111824,
-0.0029573839,
0.02160055,
0.0025853203,
0.0251056,
0.005733952,
-0.016273435,
0.04929321,
0.014298368,
-0.034327213,
-0.008289715,
0.030738711,
0.035857193,
0.0566093,
0.033492677,
-0.018568406,
-0.013825465,
0.007830721,
0.034827933,
-0.017608691,
-0.009152069,
-0.034494117,
-0.0380548,
0.030794347,
0.04592725,
0.0046699196,
-0.07316092,
-0.005135868,
-0.020515656,
-0.0018081594,
-0.03151761,
-0.014715636,
-0.051101368,
0.018818768,
-0.018707495,
0.05752729,
0.017872961,
0.000615035,
0.014826908,
0.031072525,
0.008032401,
0.03240778,
-0.04197712,
0.007705541,
0.018568406,
-0.009270295,
-0.021044195,
-0.029904176,
-0.038166072,
0.039334424,
-0.050739735,
-0.0034824456,
-0.04918194,
-0.0069440277,
-0.055774763,
0.02225427,
0.039306603,
-0.050350286,
0.0023714707,
-0.034827933,
0.029292183,
0.01035519,
0.03691427,
-0.06086543,
-0.023353076,
-0.026148768,
-0.023506073,
0.02612095,
-0.015132904,
0.0011005432,
0.00842185,
0.008171489,
0.024215428,
-0.045704708,
0.04311765,
0.081840076,
-0.025661955,
0.004649056,
-0.069433324,
0.032574687,
0.013276063,
-0.010195238,
-0.017831234,
0.0036615229,
-0.02109983,
0.013561196,
-0.022059545,
-0.026510399,
0.001577793,
0.025453322,
0.037331536,
-0.03488357,
0.0056539755,
0.002541855,
-0.044452906,
0.0075942697,
0.05288171,
0.003019974,
-0.0019263852,
0.03318668,
-0.037498444,
0.01916649,
0.026691215,
-0.044564176,
0.0007428232,
0.0036580455,
0.06776425,
0.0037519308,
-0.03407685,
0.05402224,
0.0065928274,
-0.024326699,
-0.058751274,
0.005692225,
0.010515142,
-0.0403915,
-0.008630484,
-0.008978207,
0.03304759,
-0.041504215,
-0.006491988,
-0.013776784,
-0.015424991,
-0.004888985,
0.017010607,
-0.0017064505,
-0.047624137,
0.023047078,
0.039946415,
-0.027970836,
0.0031242908,
-0.053438067,
-0.0011553096,
-0.009492837,
-0.0045690797,
0.06008653,
0.00051463,
0.017302696,
0.02598186,
0.0039849053,
0.07994846,
-0.030849982,
0.021697914,
0.022282088,
-0.051157005,
-0.038778067,
-0.02676076,
0.02161446,
-0.04537089,
0.0036128417,
-0.017191423,
0.030460533,
0.048709035,
0.049070667,
0.021976091,
-0.066206455,
0.03048835,
-0.014673909,
0.0024201518,
-0.012636253,
-0.025258597,
-0.028902734,
0.028151652,
0.006617168,
-0.032129604,
0.014103644,
-0.009214658,
-0.0057478608,
-0.018818768,
-0.015870076,
0.0029382592,
-0.048152678,
-0.00469426,
0.012316348,
-0.014187098,
-0.007976765,
0.027038937,
-0.01157222,
-0.022156907,
0.0053653657,
0.04737378,
-0.015925713,
0.021531006,
-0.023339165,
0.009193796,
-0.012358074,
-0.037887894,
-0.009611063,
0.051824633,
0.02135019,
-0.041253854,
0.028541101,
0.011426177,
-0.029014004,
-0.010223055,
-0.009103388,
0.06386975,
-0.0076638144,
-0.004482149,
-0.032129604,
0.027038937,
-0.03563465,
-0.007538634,
-0.031100342,
-0.024020704,
0.023478255,
0.027205845,
-0.016134346,
0.0336874,
0.04425818,
0.03772099,
-0.019917572,
0.018818768,
0.017706053,
-0.0019437714,
-0.00623815,
-0.008630484,
0.0162178,
-0.048041407,
0.034438483,
0.030933436,
-0.014451367,
0.057582922,
-0.038360797,
-0.017177515,
-0.060642887,
-0.011085409,
0.058584366,
0.0066241226,
0.012218985,
-0.03343704,
-0.0184015,
0.019110855,
-0.026538217,
-0.0227689,
-0.048681214,
-0.047568504,
0.005525318,
-0.043646187,
-0.00033946455,
-0.02652431,
-0.03577374,
0.019959299,
0.023784252,
0.012378938,
0.03215742,
0.027066756,
0.0467896,
0.039390057,
-0.07266019,
-0.017260969,
0.0059704036,
-0.0005294082,
-0.027247572,
-0.012205076,
0.027581386,
0.0864022,
0.00079280837,
-0.01774778,
-0.043813094,
0.016621158,
0.02766484,
0.030043265,
-0.03457757,
-0.008964298,
-0.031434156,
0.02186482,
-0.036191005,
0.03034926,
-0.0053514563,
0.0018533635,
0.038805883,
0.025912317,
-0.0020567814,
0.008171489,
0.02083556,
-0.05315989,
0.01813723,
0.0031660176,
0.009353748,
0.0043604462,
-0.027219754,
-0.011982533,
0.061087973,
0.058806907,
0.038499888,
-0.0176226,
0.052380987,
0.015452809,
-0.024396244,
-0.036441367,
0.037915714,
0.03140634,
-0.010522097,
-0.0039605647,
-0.015063359,
-0.015105085,
-0.026677307,
0.0053966604,
0.024382334,
0.0053340704,
-0.05093446,
-0.024938691,
-0.03708118,
0.029431272,
-0.021016376,
-0.059029453,
0.0061929463,
-0.008706983,
0.033353586,
0.028652374,
-0.006829279,
0.0014387037,
0.046733968,
0.037498444,
0.02379816,
-0.005737429,
0.007851585,
0.015258084,
0.00029404325,
0.028624555,
-0.050572827,
-0.02624613,
-0.011433131,
-0.0027365799,
-0.05519059,
0.011606993,
-0.017260969,
-0.04954357,
0.012100759,
-0.023645163,
-0.0499052,
-0.04628888,
-0.0014404424,
-0.028652374,
0.022810627,
0.03538429,
-0.02481351,
-0.01286575,
0.05004429,
-0.0040474953,
-0.0062520592,
0.014993815,
0.048987214,
0.020126205,
0.08211826,
0.0048820307,
-0.0023036646,
0.041365124,
-0.011759991,
-0.013373425,
-0.033631764,
-0.001462175,
0.0007988935,
-0.0021767458,
-0.009179886,
-0.055357497,
0.028109925,
0.017928597,
-0.025550684,
-0.032797232,
0.028847098,
-0.014548729,
0.001620389,
-0.0010553392,
0.06626209,
0.009242477,
0.0062764,
-0.038917154,
-0.0028687145,
-0.06787553,
-0.023311349,
-0.034271576,
0.00088017376,
-0.015160722,
-0.029820722,
-0.012594526,
-0.033909943,
-0.017733872,
-0.030516168,
-0.0010014422,
-0.030543987,
0.025940133,
0.022393359,
0.024924783,
0.030404897,
-0.01016742,
-0.005421001,
0.038889337,
0.08923962,
0.012469346,
0.07371727,
0.054495145,
0.00031338533,
0.037665352,
0.03730372,
0.014201006,
0.015091177,
0.014256642,
-0.02598186,
-0.0096041085,
-0.034021214,
-0.05299298,
0.0007349994,
0.046205427,
0.00952761,
-0.020390475,
-0.0145626385,
0.016648976,
-0.08601275,
-0.008609621,
-0.030655257,
0.019875845,
0.02470224,
-0.0063981027,
0.003873634,
-0.048013587,
0.22855136,
0.057082202,
0.040113322,
0.044313814,
0.0144791845,
0.032101784,
-0.0036197961,
-0.040308047,
0.022504631,
-0.04848649,
0.020028843,
-0.039807327,
0.013735058,
-0.00015799662,
0.002135019,
0.048291765,
-0.024090247,
-0.01492427,
0.011154952,
-0.01993148,
-0.045064896,
0.008115854,
0.014340095,
0.032352146,
0.039696053,
-0.004419559,
0.012810114,
-0.029208729,
0.009972695,
0.0017394841,
-0.0019142149,
-0.030571803,
0.03396558,
-0.0073925904,
-0.018318046,
0.02072429,
0.023436528,
-0.05569131,
0.033242315,
0.01698279,
-0.01344297,
-0.018763132,
-0.009471973,
0.005959972,
-0.0038979745,
0.054717686,
0.019959299,
0.017928597,
0.070657305,
-0.037999168,
0.0128796585,
0.005149777,
0.016134346,
-0.05852873,
-0.045899432,
-0.009597154,
-0.012100759,
-0.0388337,
-0.0035850238,
-0.019667212,
0.02240727,
0.0032286078,
-0.00977797,
-0.016509887,
-0.03382649,
0.054244783,
0.016023075,
0.040224593,
-0.07332782,
-0.017358331,
-0.008025446,
-0.011885171,
-0.0071074576,
-0.004374355,
0.035579015,
0.0066693267,
-0.016621158,
0.036079735,
0.00026579073,
-0.052937344,
0.00088973617,
-0.020543473,
-0.018930038,
-0.009659744,
-0.0052923434,
0.08373169,
-0.028847098,
0.044174727,
0.011266224,
0.037331536,
0.0024757877,
-0.0007484737,
-0.013164791,
-0.0022428131,
0.0032755504
] | A course material on Byte-Pair Encoding tokenization.
OpenAIGPTConfig
[[autodoc]] OpenAIGPTConfig
OpenAIGPTTokenizer
[[autodoc]] OpenAIGPTTokenizer
- save_vocabulary
OpenAIGPTTokenizerFast
[[autodoc]] OpenAIGPTTokenizerFast
OpenAI specific outputs
[[autodoc]] models.openai.modeling_openai.OpenAIGPTDoubleHeadsModelOutput
[[autodoc]] models.openai.modeling_tf_openai.TFOpenAIGPTDoubleHeadsModelOutput |
[
0.03244509,
0.016495556,
-0.017156526,
0.038652476,
-0.040635392,
-0.034686647,
0.013506813,
-0.0026115568,
-0.020892454,
0.023335176,
-0.031468,
-0.013578658,
-0.021237308,
-0.028393045,
-0.0063582608,
0.000057195157,
-0.020015948,
-0.051814433,
-0.004565734,
0.004795637,
0.037589174,
-0.014771281,
-0.045290932,
-0.00052042544,
0.009641565,
0.03983073,
-0.0008060083,
0.0448886,
0.08661603,
0.024585275,
0.0065414645,
0.031669166,
-0.015317301,
-0.021481581,
-0.010496519,
-0.05612512,
-0.002325974,
0.015892059,
-0.043049376,
-0.02764586,
0.015920797,
-0.019656723,
0.05575153,
-0.04080782,
-0.0631659,
-0.014713805,
-0.035635,
-0.0018176722,
0.007012048,
-0.0008598919,
-0.038221408,
0.012896133,
0.025547994,
0.045635786,
-0.05313638,
-0.011768171,
0.002130197,
-0.010101372,
-0.0051440843,
0.010302537,
-0.0004916875,
0.051268414,
-0.02355071,
-0.049888995,
-0.030692078,
0.022386825,
-0.012486618,
0.042963162,
-0.005894862,
-0.008628555,
-0.04270452,
0.02000158,
-0.02175459,
-0.03557752,
-0.01709905,
-0.018291675,
0.024326634,
0.012005258,
-0.005212337,
0.084087096,
0.011279626,
0.03187033,
0.017343324,
-0.0022110222,
-0.00009283689,
-0.039485876,
0.029743727,
-0.041583743,
0.027545277,
-0.038824905,
-0.029140232,
0.0149724465,
-0.02862295,
0.0014862883,
-0.021452842,
0.05773444,
-0.00622894,
0.027588384,
-0.012773997,
-0.01231419,
0.050463755,
0.029183337,
0.008147195,
0.045492098,
0.018119246,
0.0073425337,
0.03517519,
-0.019225655,
-0.037732862,
0.0015644195,
-0.06644203,
-0.009023701,
0.010719237,
0.0018176722,
-0.030778293,
0.0014036668,
-0.019369345,
0.01834915,
-0.04144005,
-0.0022577213,
-0.007615544,
-0.014340213,
0.043710347,
-0.043480445,
0.003173742,
-0.05230298,
0.0029923338,
0.0024247605,
-0.039083544,
-0.013930697,
0.013959435,
0.033048585,
0.013923513,
-0.003222237,
-0.0005603891,
0.031726643,
0.016581768,
0.00085360545,
0.015403515,
-0.031381786,
-0.032531302,
-0.0019416044,
-0.005639813,
0.041756168,
0.0031647612,
0.013377493,
0.0020655366,
-0.04411268,
0.004774084,
0.010216324,
-0.04273326,
0.03655461,
0.028134406,
0.017185265,
-0.017170895,
0.0028504406,
-0.009799624,
-0.014491087,
-0.02355071,
-0.008736322,
-0.011689141,
0.0022002456,
-0.030375961,
0.04612433,
-0.04000316,
0.03572121,
-0.012694968,
-0.0074574854,
0.024858285,
0.011394578,
0.015532835,
0.0041957335,
-0.005535638,
0.048107244,
-0.005230298,
0.04750375,
0.061958913,
-0.0011782539,
0.00062684546,
0.0036658784,
-0.004098743,
0.0056685507,
0.008326807,
0.047992293,
0.0049249576,
0.020245852,
-0.006351076,
-0.019886628,
-0.013851668,
-0.028709162,
0.003340781,
0.03258878,
-0.037819076,
0.015432253,
-0.023076534,
0.02847926,
-0.01600701,
-0.017386429,
0.00650195,
-0.036612086,
-0.022113815,
0.07098261,
-0.0003066873,
0.0111287525,
-0.0055535994,
-0.032215185,
0.018464101,
0.0015329873,
-0.03658335,
0.012263899,
0.03911228,
0.003919131,
-0.0627061,
-0.016035749,
0.041698694,
0.008326807,
-0.0094332155,
0.036640823,
-0.0044184523,
0.022846632,
0.0030875283,
0.025892848,
0.05037754,
0.007981952,
0.017228372,
-0.0145485625,
-0.025547994,
0.018579053,
-0.01436895,
-0.020633813,
-0.00037583784,
0.03848005,
0.005959522,
0.03189907,
-0.0023026243,
0.023579448,
0.066384554,
0.031238098,
-0.020202745,
0.005488939,
-0.010525256,
0.023780612,
0.0040125293,
-0.0020906823,
0.008549525,
-0.023320807,
-0.01505866,
-0.014699436,
-0.022271873,
0.053222593,
-0.08753564,
0.04339423,
0.036439657,
0.04411268,
-0.017458275,
-0.049745306,
0.028421784,
0.032215185,
-0.030289747,
-0.024858285,
0.008987779,
-0.007723311,
0.021654008,
0.011358655,
0.020561967,
0.040692866,
-0.01356429,
0.008233408,
-0.026510714,
-0.07535078,
-0.00311447,
-0.013284095,
-0.027775181,
0.020332064,
-0.017716916,
-0.02191265,
-0.010187586,
-0.07305174,
0.00674263,
-0.024614012,
0.022013232,
-0.0014809,
-0.0041202963,
0.03531888,
0.051498316,
0.009203313,
-0.028551104,
0.012874579,
-0.007231174,
0.053050164,
-0.011775355,
0.033077322,
-0.009720595,
0.006667193,
0.051239677,
-0.009885838,
-0.04747501,
0.01560468,
-0.0018050994,
0.03353713,
-0.0339682,
-0.02396741,
0.047992293,
0.010726421,
-0.028838484,
0.05342376,
0.019800413,
-0.036928203,
0.093053326,
0.026769355,
-0.047043942,
0.041382577,
-0.017142158,
0.040089373,
-0.030404698,
0.01643808,
0.047130156,
-0.012630307,
-0.025476148,
-0.043882776,
-0.040980246,
-0.0074718543,
0.0129967155,
-0.032904897,
0.021682747,
0.028148774,
-0.025447411,
-0.040204324,
-0.00013201473,
-0.020820608,
-0.053395018,
-0.028407415,
-0.02409673,
0.022185659,
0.016926624,
0.007946029,
-0.04517598,
-0.029600037,
0.014498271,
0.022602359,
0.004795637,
-0.022702942,
0.027387219,
0.010568363,
0.0062181633,
0.018119246,
0.020605074,
-0.023263332,
0.0032994703,
-0.037043154,
0.00801069,
0.035807423,
0.01751575,
0.010690499,
-0.017012836,
0.021194201,
-0.031151885,
0.0341981,
0.038106456,
-0.020633813,
0.020734396,
0.008168749,
0.025361197,
-0.011868753,
-0.005366803,
0.00052536477,
-0.023090903,
0.046785302,
0.051440842,
-0.0050578704,
0.017874975,
-0.0036964125,
-0.022918476,
-0.009813993,
-0.026094014,
-0.0366983,
0.042101026,
0.044371318,
0.03218645,
-0.028120035,
0.009490692,
0.0025702459,
0.02875227,
0.04612433,
0.03529014,
0.026381392,
-0.028421784,
-0.034600433,
-0.023579448,
-0.03135305,
-0.019829152,
0.007946029,
-0.019627986,
0.0016793711,
0.0030947127,
-0.050291326,
0.013118852,
0.047331322,
0.028637318,
0.013154774,
0.029312659,
-0.005607483,
0.03750296,
0.0075724367,
0.0015186184,
-0.043739084,
-0.055607837,
0.031554215,
-0.0236944,
0.0024175758,
-0.009878653,
-0.020978667,
-0.023507603,
0.03546257,
-0.032071497,
0.017170895,
-0.023852458,
0.008721953,
0.02997363,
0.017142158,
-0.01928313,
-0.029686252,
-0.043997727,
0.01600701,
0.04871074,
-0.014914971,
-0.011329917,
0.012565647,
-0.008822535,
-0.00088548654,
0.0024445176,
0.0064013675,
-0.014943709,
-0.015719632,
-0.043710347,
0.028048191,
0.028048191,
0.023047796,
0.0076873885,
-0.059487455,
-0.005320104,
-0.009066808,
-0.025591101,
-0.027674599,
0.026122753,
-0.040549178,
0.017328953,
0.028522367,
0.008096904,
-0.029542562,
0.044026464,
-0.009842731,
0.029168969,
-0.048796955,
-0.040146846,
-0.039342187,
-0.018306043,
0.0012123802,
0.042532094,
0.0295713,
-0.019800413,
0.04644045,
0.059544932,
-0.028651686,
-0.03164043,
0.0052267057,
-0.0034790821,
-0.0062792315,
0.04095151,
0.02643887,
-0.021927018,
0.055923954,
-0.0075939903,
0.008463312,
-0.021237308,
-0.03615228,
0.021855174,
-0.03451422,
0.002101459,
-0.015906429,
-0.020073423,
0.02149595,
0.04747501,
-0.017357692,
0.009275157,
-0.079029225,
-0.0023511194,
-0.031324312,
-0.025030712,
-0.0026133528,
0.026798092,
0.0026744208,
0.044917338,
-0.06201639,
-0.02997363,
-0.020217113,
-0.040319275,
-0.02191265,
0.047245108,
0.04244588,
0.035663735,
-0.024671488,
-0.028666057,
0.051297154,
-0.034169365,
-0.001844614,
-0.046699088,
0.022702942,
-0.017716916,
-0.016926624,
0.0055571916,
0.04106646,
-0.0030300524,
-0.0018607791,
0.038767427,
-0.00020543109,
-0.0013174531,
-0.010467781,
-0.048796955,
0.043422967,
-0.020432647,
-0.035922375,
0.018737111,
0.0054063178,
0.041095197,
0.025907217,
0.035261404,
0.006563018,
-0.02011653,
-0.028536735,
0.04029054,
-0.050837345,
-0.042101026,
-0.048107244,
-0.008527972,
0.0350315,
0.03724432,
-0.027703336,
-0.070120476,
0.012745259,
-0.020705657,
-0.00047013408,
-0.06213134,
-0.038595002,
-0.015130505,
0.009296711,
-0.026941782,
0.042790733,
0.022674203,
0.024369739,
0.021927018,
0.030462176,
0.00752933,
0.0429919,
-0.038508788,
0.0022756825,
0.013305648,
-0.014670698,
0.004644763,
-0.014404872,
-0.04284821,
0.04201481,
-0.04589443,
0.004461559,
-0.07397135,
-0.022645466,
-0.07632787,
0.043911513,
0.03448548,
-0.0438253,
-0.027444696,
-0.05109599,
0.028982174,
0.017142158,
0.027832657,
-0.050061423,
-0.007392825,
-0.027344113,
-0.019685462,
0.028709162,
-0.021237308,
-0.0043753455,
0.013032638,
0.010553994,
0.019742938,
-0.030059844,
-0.0107048685,
0.09661682,
-0.020288957,
-0.009066808,
-0.07540825,
0.05026259,
0.021970125,
-0.0029941301,
-0.021941388,
-0.015647788,
-0.02026022,
0.029140232,
-0.051297154,
-0.04531967,
-0.025648577,
0.015892059,
0.07408631,
-0.018593421,
0.0076873885,
0.015575943,
-0.052446667,
-0.030232271,
0.030232271,
0.040319275,
0.0024121876,
0.035635,
0.013787008,
0.008032244,
0.0145844845,
-0.05902765,
0.038537525,
-0.0073389416,
0.05983231,
-0.037043154,
-0.030462176,
0.06632707,
0.0061930176,
-0.041123934,
-0.08040865,
0.022774786,
-0.0053344727,
-0.048250936,
0.008513603,
0.028306833,
0.03175538,
-0.007346126,
-0.0038472866,
0.04356666,
0.007500592,
-0.021567794,
0.011200597,
0.007708942,
0.0053165117,
0.02875227,
0.052647833,
-0.05707347,
-0.013506813,
-0.06092435,
0.0103169065,
0.014361766,
-0.03517519,
0.06391309,
0.018694004,
0.033565868,
0.014297105,
0.010439042,
0.04638297,
-0.018464101,
-0.011286811,
-0.0069006886,
-0.068051346,
-0.04066413,
-0.033939462,
0.0066097174,
-0.03572121,
-0.006171464,
-0.032560043,
0.01375827,
0.0038041796,
0.051268414,
-0.01793245,
-0.07460359,
0.035232667,
-0.017214002,
-0.015389146,
-0.023033427,
-0.018995753,
-0.019412452,
0.007435932,
0.013937882,
-0.011466422,
0.015532835,
-0.03066334,
-0.008973409,
-0.024513429,
-0.046469186,
0.028292464,
-0.039801992,
-0.026999258,
0.006063697,
-0.07690262,
0.026323916,
-0.002661848,
-0.0029887417,
-0.026596928,
-0.011243704,
0.04462996,
-0.01417497,
0.011710695,
-0.029384503,
-0.023478866,
0.0105971005,
-0.0018841287,
0.002070925,
0.028666057,
0.010733606,
-0.0077161263,
0.010259431,
-0.016121963,
-0.016854778,
-0.006782145,
-0.00979244,
0.040721606,
-0.0054494245,
0.0047381613,
-0.0028612171,
0.029384503,
-0.04583695,
-0.022731679,
-0.01998721,
-0.040261798,
0.004594472,
0.03684199,
-0.021998864,
0.008298069,
0.055262983,
0.008240593,
0.0013129628,
0.012141763,
0.021036142,
0.008226224,
0.010539625,
-0.034140628,
0.058108035,
-0.021553425,
0.057590753,
0.006336707,
0.007665835,
0.029542562,
0.006264862,
-0.014153416,
-0.010604286,
-0.008053796,
0.011171859,
-0.016912255,
0.014203708,
-0.041871123,
0.04227345,
0.022415563,
-0.021323523,
0.012321375,
-0.0429919,
-0.06132668,
0.041555006,
-0.010374382,
0.017070314,
-0.0440552,
-0.013463707,
0.023450127,
0.0000041640487,
0.016323127,
0.072362036,
0.0055069,
0.053969778,
0.014958077,
-0.048107244,
-0.020231482,
-0.026137121,
0.041008983,
-0.014541377,
-0.025562363,
0.060177162,
0.0264245,
0.024829546,
-0.02109362,
-0.0064911735,
-0.026208965,
-0.011811277,
0.013916329,
-0.023708768,
0.0015159242,
-0.070292905,
0.031784117,
-0.051440842,
0.023737505,
-0.02462838,
0.011868753,
0.015302932,
0.045779474,
0.0054063178,
0.021955756,
0.00698331,
-0.03189907,
-0.00073012226,
0.011581374,
0.034054413,
-0.011272442,
-0.006954572,
-0.013988174,
0.016035749,
0.036928203,
0.03612354,
-0.0138444835,
0.0648327,
0.00091108127,
-0.024168575,
-0.033652082,
0.022501776,
0.006756999,
-0.008901564,
-0.018808955,
-0.007895738,
-0.02163964,
-0.013542736,
-0.006713892,
0.043078113,
0.00626127,
-0.03612354,
0.0008661783,
-0.013585842,
0.03258878,
-0.0070551545,
-0.015489728,
0.019872257,
-0.012989531,
0.04189986,
0.017314585,
0.0071772905,
0.014541377,
0.03707189,
0.048739478,
0.019742938,
-0.008664477,
-0.03353713,
0.024197312,
0.004131073,
0.010510887,
-0.082592726,
-0.02876664,
-0.0051476764,
-0.0024876245,
-0.07764981,
0.024987604,
-0.003929908,
-0.048624527,
0.032100234,
-0.04589443,
-0.054688226,
-0.014800019,
-0.028924696,
-0.0021876728,
0.017343324,
0.030404698,
-0.02053323,
-0.025389936,
0.034054413,
-0.004465151,
0.013650503,
0.0126087535,
0.052274242,
-0.03187033,
0.071787275,
-0.017285848,
0.03287616,
0.03764665,
0.0036515095,
-0.01245788,
-0.009706226,
-0.027861394,
-0.00024696635,
0.030289747,
-0.028910328,
-0.03448548,
0.028694794,
-0.0014449776,
-0.015504098,
-0.007198844,
-0.008937487,
-0.003944277,
-0.019383714,
0.03187033,
0.059372503,
-0.015446622,
-0.030289747,
-0.050233852,
0.01969983,
-0.032358877,
-0.050118897,
-0.009275157,
0.0028522366,
0.017055944,
-0.022271873,
-0.003297674,
-0.05434337,
0.0063402993,
-0.0072778733,
-0.017027207,
-0.042072285,
-0.01834915,
0.021337891,
0.035117716,
0.03520393,
-0.017357692,
-0.046756566,
0.045147244,
0.055349197,
0.027732074,
0.0714999,
0.029082755,
-0.009239235,
0.02518877,
0.016452448,
0.035088975,
-0.0045298114,
-0.003689228,
-0.03529014,
0.03939966,
-0.04531967,
-0.046756566,
-0.014929339,
0.03684199,
0.018248567,
-0.033192277,
-0.03684199,
0.0058014635,
-0.08138573,
0.014311475,
-0.002692382,
-0.022961583,
0.024024885,
-0.04583695,
-0.00417418,
-0.026309548,
0.24415721,
0.06782144,
0.011667588,
0.05066492,
0.011473607,
0.015187981,
0.016050117,
-0.005718842,
0.04095151,
-0.047704916,
0.017803129,
-0.019268762,
0.035893638,
-0.007888554,
-0.024843914,
0.027200423,
-0.02709984,
0.013248173,
0.009267973,
-0.012515356,
-0.054314632,
0.034772858,
0.006907873,
0.03888238,
0.051354628,
-0.0057403957,
0.019096335,
-0.02178333,
-0.03885364,
-0.034313053,
0.027085472,
-0.028436152,
0.040980246,
-0.030835768,
-0.016797302,
0.040750343,
-0.018636528,
-0.025634207,
0.02697052,
0.04612433,
0.010496519,
-0.0055643762,
0.0066240863,
0.023895564,
0.037876554,
0.029657513,
-0.00722399,
0.009476323,
0.0589127,
-0.025979063,
0.010568363,
-0.017918082,
0.018780218,
-0.040865295,
-0.042963162,
-0.039543353,
-0.030088581,
-0.043854035,
0.012946424,
-0.038250145,
0.009045254,
-0.018535946,
-0.013291279,
-0.029327027,
-0.023191486,
0.03994568,
0.019757306,
0.068281256,
-0.04695773,
-0.025835373,
-0.026654404,
-0.007759233,
-0.007378456,
-0.025993431,
0.026208965,
0.0082693305,
0.011373024,
0.065062605,
-0.0027462656,
-0.03158295,
-0.015662156,
0.00026066173,
-0.01765944,
-0.005309327,
0.021107988,
0.058682792,
0.0010740791,
0.009483507,
-0.010618654,
0.04327928,
0.02656819,
-0.004777676,
-0.011796908,
-0.03301985,
-0.040319275
] |
pip install spacy ftfy==4.4.3
python -m spacy download en
If you don't install ftfy and SpaCy, the [OpenAIGPTTokenizer] will default to tokenize
using BERT's BasicTokenizer followed by Byte-Pair Encoding (which should be fine for most usage, don't worry).
Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with OpenAI GPT. If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource. |
[
0.013011564,
0.016457366,
0.014794335,
-0.0010610146,
-0.0374914,
-0.015126941,
-0.0014992235,
-0.03597471,
0.027193902,
0.013982775,
-0.007909381,
0.013324214,
0.016111456,
-0.04587308,
-0.0072641247,
-0.006003546,
-0.046830986,
-0.010064671,
-0.028045375,
-0.005434789,
0.021220291,
0.03355334,
-0.077537216,
-0.006655455,
-0.010244278,
-0.00036586708,
0.028258244,
-0.013377431,
0.06795815,
0.02106064,
0.049545057,
-0.037039053,
0.01712258,
-0.009978193,
0.0016355922,
-0.05859195,
0.026502082,
-0.0025078526,
-0.038848434,
-0.054361198,
0.020355513,
-0.0340589,
0.025504261,
-0.036107756,
-0.051248,
0.015765546,
-0.021952026,
-0.0061698495,
-0.007277429,
-0.04315901,
-0.020701425,
0.011528139,
0.008887244,
0.013690081,
-0.012612436,
-0.001548283,
-0.038981475,
-0.008581246,
-0.047176898,
0.021579506,
0.040045816,
0.006302892,
0.010211018,
-0.037757482,
0.011714399,
0.015033811,
0.0088739395,
-0.010390625,
0.0007296554,
-0.0067951498,
-0.072534814,
0.029668495,
0.019065002,
-0.040418334,
-0.037172098,
-0.030120838,
-0.0011607965,
0.032169696,
-0.022670455,
0.057367958,
0.0011732692,
0.059017688,
-0.018200224,
0.006655455,
-0.049491838,
-0.057793695,
0.030626401,
0.003141468,
-0.034032293,
0.0014642999,
-0.023774708,
0.024745919,
0.0039413865,
0.00016755049,
-0.016829886,
0.0171891,
-0.006086698,
0.03890165,
0.019570563,
0.035522368,
0.04997079,
0.055079628,
-0.011441662,
0.04619238,
-0.016643627,
0.030759444,
0.03208987,
-0.050423138,
-0.02071473,
-0.00793599,
-0.010417234,
-0.0017927487,
0.015233375,
0.0034042269,
-0.027726073,
-0.010304147,
-0.0021386594,
0.0459263,
-0.00050015695,
0.008394986,
-0.045766648,
-0.02796555,
0.014501641,
-0.040764246,
0.008840679,
-0.050476354,
-0.009492588,
0.029695103,
-0.03618758,
0.013570343,
0.0001402144,
0.013224432,
0.027034251,
0.035016805,
-0.03174396,
0.008441552,
-0.0060201767,
0.02662182,
-0.00340589,
-0.0070446045,
0.002271702,
-0.013996079,
-0.032701865,
0.08009163,
-0.03733175,
0.04930558,
0.033473514,
-0.0349902,
-0.016896408,
0.04587308,
-0.027885724,
0.020927597,
0.020541774,
0.009865107,
-0.028763805,
0.028231636,
0.035575584,
-0.0010019769,
0.00019821266,
-0.011315271,
0.017268926,
-0.0050323354,
-0.051673736,
0.041110158,
-0.0130980415,
0.057314742,
-0.031131962,
-0.025703825,
-0.004333862,
-0.021087248,
0.02646217,
0.012512654,
0.0010651721,
0.017441882,
0.011641226,
0.037943743,
0.03733175,
-0.026289213,
0.027220512,
0.009426067,
-0.024799136,
-0.0293758,
0.015393026,
0.02330906,
-0.0031431308,
0.03206326,
0.011727703,
0.0022883322,
-0.023854533,
-0.0017744554,
0.010051367,
0.043212228,
-0.023202626,
0.026555298,
-0.0045134695,
-0.008514725,
-0.014169035,
0.0068084537,
0.01899848,
-0.03836948,
-0.034670897,
0.060827065,
-0.029056499,
-0.015472852,
-0.02228463,
0.00712443,
0.02471931,
0.036240797,
-0.060082026,
0.02956206,
0.01828005,
0.03355334,
-0.0078761205,
-0.0049757925,
0.04230754,
-0.036267407,
-0.030998921,
0.027193902,
0.0012589154,
-0.019610476,
-0.005677592,
0.04986436,
0.019956386,
-0.011262055,
0.01971691,
-0.00018740294,
0.005208617,
0.07673896,
-0.013191172,
0.024918875,
0.0028271547,
0.012359655,
-0.042413972,
0.076951824,
-0.0077231214,
0.008235335,
0.081901014,
0.015140246,
0.0027090795,
0.0068516927,
0.030174056,
0.056569703,
0.038475912,
0.057634044,
-0.0018343246,
-0.009725412,
0.0068450407,
-0.009725412,
-0.015100333,
0.00993828,
-0.050662614,
0.032488998,
0.019863257,
0.0055944403,
-0.04574004,
-0.05178017,
0.016949624,
0.035522368,
-0.0140093835,
-0.0171891,
-0.0184397,
0.0091200685,
-0.024506442,
0.0087009845,
0.030147448,
0.04534091,
-0.011222142,
0.014208947,
0.01621789,
-0.035761844,
-0.06582946,
-0.05518606,
-0.07886764,
-0.0061864797,
-0.008534681,
-0.0034724113,
-0.014262164,
-0.051035132,
-0.010643406,
-0.0065456945,
-0.009113416,
0.004340514,
-0.05015705,
0.034617677,
0.021952026,
0.03424516,
-0.019078305,
0.035788454,
-0.026515385,
0.026568603,
-0.002740677,
-0.020036211,
0.008022468,
0.014475033,
0.030759444,
0.004283971,
-0.017814402,
0.03171735,
-0.045686822,
0.02078125,
-0.010430538,
-0.029242758,
0.01756162,
0.005820613,
-0.043664575,
0.020887684,
0.0146745965,
-0.025544174,
0.030280491,
0.052684862,
-0.020195862,
0.050263487,
0.0036254101,
0.03584167,
-0.031265005,
0.021300117,
0.030732835,
-0.05933699,
-0.0119405715,
-0.048134804,
-0.045766648,
-0.01637754,
0.010171105,
-0.027912332,
0.005720831,
0.00005768643,
0.00045234477,
-0.08621159,
0.00690491,
-0.045686822,
-0.08589229,
-0.033899248,
-0.039859556,
0.006442587,
0.051806778,
-0.012106874,
-0.038742,
0.0030782726,
0.023176016,
0.010477103,
-0.005005727,
-0.03459107,
0.028550938,
0.060348112,
0.008275248,
-0.007390515,
-0.009658891,
-0.008514725,
0.0010377321,
-0.008940461,
0.035761844,
0.047868717,
0.020980814,
0.038688783,
-0.021300117,
0.0069913873,
-0.018612657,
0.033925857,
0.09637604,
-0.034511246,
0.021725852,
0.038396087,
0.0101178875,
0.02140655,
-0.032329347,
-0.014355294,
-0.005627701,
0.031584308,
0.03046675,
-0.045793254,
-0.0016181304,
-0.028364677,
-0.018705787,
0.010490407,
-0.007490297,
-0.03509663,
0.051647127,
0.010650058,
0.052551817,
-0.05555858,
0.022630543,
0.028018767,
0.012193352,
0.02759303,
0.014807639,
0.038768608,
-0.0037484746,
-0.0032196303,
-0.040152248,
-0.016337628,
-0.014741117,
0.01871909,
-0.024453226,
0.009412763,
-0.020036211,
-0.043611355,
0.040019207,
0.049172536,
-0.0023365603,
0.028923456,
0.06652129,
-0.027074164,
0.052205905,
0.02134003,
0.018945264,
0.016923016,
-0.035761844,
0.0064858254,
-0.01053032,
-0.007916033,
-0.020448644,
-0.018612657,
-0.010550276,
0.02884363,
-0.026515385,
0.028896848,
0.004177537,
0.015925197,
0.02252411,
0.045074824,
-0.00900033,
-0.01784101,
-0.048906453,
-0.008647768,
0.023335667,
-0.010889535,
-0.009778629,
-0.036506884,
0.02606304,
0.043318663,
-0.037039053,
-0.032834906,
-0.0022384413,
-0.043478314,
-0.052578427,
0.057314742,
0.023495318,
-0.019703606,
0.025304697,
-0.039460428,
0.0068250843,
-0.020049516,
-0.015073724,
-0.019543955,
0.038076784,
-0.0065922597,
0.008554637,
0.02608965,
0.020235775,
-0.050077226,
0.03190361,
-0.054174937,
0.0026259278,
-0.030386925,
-0.022736976,
-0.000685585,
0.020900989,
-0.019198043,
0.003971321,
0.03427177,
0.0074104713,
-0.02724712,
0.025411133,
-0.008667724,
-0.031211788,
0.033792816,
-0.010011454,
-0.012452785,
0.052605037,
-0.033446904,
-0.0106101455,
-0.021672636,
0.026382344,
0.0013129639,
0.028604154,
-0.029083107,
0.0018742373,
-0.036240797,
-0.029641885,
0.0020288993,
-0.029083107,
0.032409173,
0.0087142885,
-0.016138064,
-0.014315382,
-0.0753021,
-0.013237736,
0.0074969493,
-0.054361198,
0.03387264,
0.011474922,
-0.022164892,
0.025850173,
-0.030573184,
-0.036666535,
0.007862817,
-0.014661292,
-0.021672636,
0.04691081,
0.016483976,
0.028151808,
-0.05212608,
-0.09073504,
0.04337188,
0.01596511,
-0.009113416,
-0.007902729,
-0.0010967697,
-0.016590409,
-0.010616798,
-0.013956166,
0.013756602,
-0.013996079,
0.035735235,
-0.01684319,
-0.028950065,
0.050103836,
-0.029322583,
-0.0051321173,
0.047549415,
-0.00496914,
-0.054866757,
-0.011514835,
0.033846032,
0.027167294,
0.014222251,
0.028790414,
0.0020738011,
-0.03512324,
-0.023415493,
0.033473514,
-0.019011784,
-0.011122359,
-0.05715509,
-0.034750722,
0.01855944,
0.027646247,
0.047283333,
-0.01587198,
-0.008893896,
-0.036799576,
-0.0038283002,
-0.027220512,
-0.0036819533,
-0.02993458,
0.010383973,
-0.047868717,
0.04126981,
-0.015100333,
0.015233375,
0.0061864797,
0.015579286,
0.019104915,
0.058112998,
-0.0702997,
-0.019783432,
0.016577106,
-0.039327387,
0.027459988,
-0.04515465,
-0.02402749,
0.02252411,
-0.057634044,
-0.012552567,
-0.046671335,
-0.0037418224,
-0.008774158,
-0.003301119,
0.054547455,
-0.033819422,
-0.0049159233,
-0.04299936,
0.017109275,
-0.0020006278,
0.0011907311,
-0.06992718,
-0.039726514,
-0.0084548555,
-0.030759444,
0.015286592,
-0.04733655,
0.008754201,
-0.0075501665,
0.032675255,
0.014568162,
-0.04547395,
0.019118218,
0.06652129,
0.010636754,
-0.015140246,
-0.014381902,
0.016497279,
-0.008015815,
-0.0074969493,
-0.036666535,
-0.02296315,
-0.019450825,
0.0042939493,
-0.03799696,
-0.03278169,
-0.0171891,
0.013783211,
0.07514245,
-0.04283971,
0.039167736,
0.009426067,
-0.024213748,
-0.03903469,
0.04337188,
-0.00095790654,
0.006399348,
0.035761844,
0.0069913873,
-0.0041110157,
0.016617019,
-0.01331091,
0.008488117,
-0.0019889865,
0.06237036,
0.0095391525,
-0.026475472,
0.009399458,
0.04520787,
-0.035176456,
-0.043664575,
0.020475253,
0.03065301,
-0.034803938,
-0.03637384,
0.003562215,
-0.004566686,
-0.04318562,
-0.036267407,
0.017069362,
-0.021858895,
0.007570123,
0.0028604155,
0.035415933,
-0.044968393,
0.03291473,
0.0562504,
-0.0007791306,
0.008534681,
-0.0014110828,
0.008241988,
-0.0076166876,
-0.016537191,
0.032994557,
-0.0027040904,
-0.04193502,
0.022923237,
0.0017195753,
0.027992157,
-0.0069581266,
0.02509183,
0.033792816,
-0.06380722,
-0.048427496,
-0.029056499,
0.050316703,
-0.01443512,
0.01596511,
0.0068516927,
0.042946145,
0.05715509,
0.028151808,
0.0070778653,
-0.08051737,
-0.0068250843,
-0.04733655,
-0.026315821,
-0.014488337,
0.011754312,
-0.023322364,
0.026821384,
-0.0131113455,
-0.017441882,
0.0052784644,
0.008428248,
-0.04427657,
0.010417234,
0.012386264,
0.004297275,
-0.022989757,
-0.03802357,
-0.031504482,
-0.034351595,
0.039992597,
0.052605037,
0.01943752,
0.03669314,
0.022896627,
0.007284081,
0.015193462,
0.016444063,
-0.0077696866,
-0.0044768825,
-0.023535231,
-0.023535231,
-0.016350932,
0.010723231,
0.032116476,
-0.027646247,
-0.032409173,
0.032409173,
0.030945703,
-0.033766206,
-0.011348532,
0.03805018,
0.000517203,
0.021007422,
-0.048853233,
0.05052957,
-0.057474393,
-0.011122359,
0.014940681,
-0.030014405,
-0.02240437,
0.022484196,
0.031557698,
0.049358796,
0.047070462,
0.032888126,
0.005308399,
0.03336708,
0.01631102,
-0.016736757,
0.048826627,
-0.0040511466,
-0.011315271,
-0.060082026,
0.021193683,
0.03083927,
-0.0075169057,
0.004387079,
-0.0093661975,
-0.002843785,
-0.032276127,
0.00072134024,
0.02902989,
0.023189321,
0.009233154,
-0.004606599,
0.0058738296,
0.014355294,
-0.025291394,
0.014794335,
-0.07045935,
-0.026781471,
0.026781471,
0.00019343144,
0.011335228,
0.012492698,
-0.072694466,
-0.00793599,
0.015166854,
0.022617238,
0.04733655,
0.0390613,
-0.004240732,
0.02887024,
-0.034032293,
-0.012353003,
-0.001860933,
0.017614838,
-0.052658252,
-0.019450825,
0.022603935,
0.058804817,
0.015978413,
0.010004802,
-0.0415625,
0.017095972,
-0.00784286,
-0.018200224,
-0.0061266106,
0.04664473,
-0.03206326,
0.023282452,
-0.013390736,
0.037677657,
-0.011674486,
0.06982075,
0.017162492,
-0.006206436,
-0.007071213,
-0.0061765015,
0.0048893145,
-0.032861516,
0.03903469,
-0.026049737,
0.030360317,
0.014089209,
-0.009412763,
0.00059494976,
0.0328083,
0.018040573,
0.022710368,
-0.03528289,
0.059603073,
0.040232074,
-0.0065490208,
-0.0051820083,
0.059975594,
0.0019141501,
0.016630322,
-0.004446948,
-0.06040133,
-0.021353334,
-0.041881803,
0.0054613976,
0.0060334806,
-0.019144827,
-0.019038392,
-0.013503822,
-0.043425098,
0.025943302,
-0.0028205027,
-0.072694466,
0.023056278,
0.017109275,
0.036506884,
0.004247384,
0.031877,
0.013390736,
-0.0015374733,
0.037863918,
0.0084548555,
0.031265005,
0.010902839,
0.0138497325,
-0.025610697,
0.023082888,
-0.041642327,
-0.024546355,
0.0061698495,
-0.021020727,
-0.022324543,
-0.0020239102,
0.014315382,
-0.02740677,
0.047895327,
-0.041003723,
-0.025038613,
-0.03512324,
-0.009532501,
-0.029641885,
0.005019031,
0.044223353,
-0.041615717,
-0.038475912,
0.02662182,
-0.00712443,
0.01612476,
0.05140765,
0.07178977,
0.01362356,
0.07136404,
0.03640045,
-0.00022284631,
-0.011395097,
0.019889865,
-0.00962563,
0.012053657,
-0.021087248,
0.022856714,
0.011867397,
-0.03658671,
-0.08722271,
-0.0187457,
0.023136104,
0.004237406,
-0.005012379,
0.014581466,
0.018067181,
-0.042573623,
-0.030120838,
0.055292495,
-0.008082337,
0.0050755744,
0.015898587,
0.012253221,
-0.06854354,
0.015459548,
-0.05917734,
0.021712549,
0.015832067,
-0.04895967,
0.024200445,
-0.035948105,
-0.02902989,
0.00784286,
-0.015180158,
-0.0584323,
0.0104504945,
0.02534461,
0.050981916,
0.0025510914,
-0.0007196772,
-0.039407212,
0.028923456,
0.07024648,
-0.022830106,
0.091373645,
0.03903469,
-0.02390775,
0.0293758,
-0.035362717,
0.005072248,
-0.002015595,
-0.021300117,
0.014022687,
0.050769046,
-0.015180158,
-0.03991277,
0.032355953,
0.039300777,
0.023575144,
-0.016550496,
-0.05071583,
0.023521928,
-0.0806238,
0.014900768,
-0.03818322,
0.026834687,
-0.007922686,
-0.021193683,
-0.03453785,
-0.063381486,
0.20254402,
0.04914593,
0.037943743,
0.03009423,
0.045846473,
-0.0056410055,
0.044675697,
-0.021007422,
0.016284412,
-0.026754862,
0.059815943,
-0.030519968,
-0.005947003,
0.013956166,
0.011614617,
0.0303071,
-0.043132402,
-0.004430318,
-0.009805238,
-0.027805898,
-0.046671335,
0.034351595,
-0.0040511466,
-0.0021569529,
-0.0072109075,
-0.015432939,
-0.0082087265,
-0.028178418,
-0.0053017465,
-0.016444063,
0.011148968,
-0.07535531,
0.053004164,
-0.023721492,
-0.010503711,
0.007689861,
-0.018173616,
-0.056143966,
-0.016098151,
-0.015393026,
-0.032302737,
-0.0020721382,
0.0070978217,
0.0033826076,
-0.010417234,
0.015512764,
0.011381793,
-0.0041110157,
0.05074244,
-0.04946523,
0.032542214,
-0.06668094,
0.02537122,
-0.026821384,
-0.07014005,
-0.028231636,
-0.013523778,
-0.019504042,
-0.01793414,
0.0054281373,
-0.0055877883,
0.025291394,
-0.006918214,
-0.012106874,
-0.010929448,
0.025357915,
0.036826186,
-0.020355513,
0.0010526994,
-0.03427177,
-0.00881407,
0.024240358,
0.01647067,
-0.001967367,
-0.000009945712,
0.04387744,
-0.010623449,
0.050103836,
0.005009053,
-0.013064781,
-0.0067253024,
-0.013523778,
-0.01299826,
-0.0063228486,
0.0047729025,
0.062263925,
-0.021020727,
0.024400009,
-0.050343312,
0.049066104,
0.01784101,
0.033952467,
-0.0026475473,
0.00852803,
-0.014940681
] | A blog post on outperforming OpenAI GPT-3 with SetFit for text-classification.
See also: Text classification task guide |
[
-0.006850802,
-0.0120674055,
-0.0154370945,
-0.0033072254,
0.0036431814,
0.009683637,
0.004804678,
0.0029020524,
0.0107168285,
0.08643693,
0.010068552,
0.010912662,
0.014100024,
-0.030063843,
-0.01465376,
0.06931161,
-0.02806499,
-0.047459275,
-0.05229434,
-0.0034000776,
0.03541213,
0.043272488,
-0.08254726,
-0.026552344,
-0.010082057,
0.012459072,
-0.0017143886,
-0.0152074965,
0.049917325,
0.071634606,
0.0066988617,
-0.006746132,
-0.012938527,
-0.002922311,
-0.04000409,
-0.045352377,
0.00043471696,
-0.039787997,
0.00076518627,
-0.053834,
0.017503478,
-0.018340835,
-0.0022942927,
-0.04840468,
-0.015329049,
-0.047945485,
0.0032380084,
-0.0036566872,
-0.002586355,
0.0027501124,
-0.011554186,
-0.019340262,
-0.0029949045,
-0.012337521,
-0.0122767445,
-0.019232215,
-0.008373577,
-0.012080912,
-0.018300317,
0.029550625,
0.033413276,
0.045163296,
-0.036060404,
-0.070554145,
0.0069014486,
0.025404353,
-0.0016358864,
-0.02493165,
0.015734222,
-0.038329374,
-0.04772939,
0.0045885853,
0.015734222,
-0.02008308,
-0.032575916,
-0.01395146,
0.06963575,
0.023459522,
0.02385119,
0.06995989,
-0.017827617,
0.052321352,
0.0017321149,
-0.008157485,
-0.004288082,
-0.060019642,
0.03576328,
-0.016396005,
-0.0037174632,
-0.039571907,
-0.031117294,
0.0015438783,
0.0073201274,
0.02209544,
0.016706638,
0.041678805,
0.027578782,
0.032170743,
-0.008110215,
-0.012843987,
0.004436645,
0.04489318,
0.023486534,
-0.015572153,
-0.02647131,
0.0013986913,
0.024107799,
-0.0030860684,
-0.006229536,
-0.082709335,
-0.004878959,
-0.014289104,
-0.011554186,
-0.03633052,
0.01816526,
0.0009268335,
-0.0022453342,
0.032656953,
0.017219856,
-0.028037978,
-0.020474747,
-0.0020562534,
0.046811,
-0.051186867,
0.010406196,
-0.010028034,
0.016193418,
0.067096666,
-0.06439551,
-0.0016426393,
0.005081546,
-0.031144306,
0.002577914,
0.01746296,
-0.00014529254,
0.026174182,
0.0040078373,
-0.015599164,
0.024323892,
-0.020353194,
0.008056192,
-0.000052334857,
0.01294528,
0.08119669,
-0.007961651,
0.058290903,
-0.017327903,
-0.016747154,
-0.024229351,
0.0006613607,
-0.010007775,
-0.015936809,
-0.007164811,
-0.023013832,
-0.027214127,
0.002098459,
0.011061225,
0.0044602803,
0.041300643,
0.01355304,
-0.021069001,
0.000027591866,
-0.03068511,
0.037167877,
-0.01765204,
0.03714087,
-0.016085371,
-0.006236289,
0.005027523,
-0.02911844,
0.034979943,
-0.0070702704,
0.021973887,
0.016612098,
0.037816156,
0.028983383,
0.05872309,
-0.0065975687,
0.054320205,
0.033386264,
-0.014370139,
0.007461938,
0.039355814,
0.01104772,
0.013114102,
0.020960955,
0.0036668165,
-0.01603135,
-0.030604074,
-0.0018840549,
0.008954326,
0.05405009,
-0.028632233,
0.019785954,
0.0007394409,
-0.013654334,
-0.06293689,
-0.011135507,
0.0040145903,
-0.027605794,
-0.052537445,
0.032656953,
0.005787222,
-0.00041699063,
-0.00012988751,
0.011831054,
0.008062945,
0.036735695,
-0.047432262,
0.003839015,
0.052159283,
-0.01666612,
-0.037248913,
-0.020987967,
0.051483996,
-0.006891319,
-0.04332651,
0.033467297,
-0.026066136,
0.02493165,
0.031009248,
0.049269047,
0.05350986,
0.037248913,
-0.00077784795,
-0.013499017,
-0.018300317,
0.029685682,
-0.0045041745,
0.018948596,
0.007968404,
0.00062168745,
-0.02218998,
0.030225912,
0.013991978,
0.0003410207,
0.057858717,
0.043218464,
-0.0019498955,
0.01551813,
0.0111625185,
0.03387247,
0.017003763,
0.034304656,
0.020636816,
0.0047742897,
0.015302037,
0.0021558586,
0.023121879,
0.026862977,
-0.05178112,
0.07168863,
0.009069124,
-0.015464107,
-0.021177048,
-0.036600634,
0.059371363,
0.03403454,
-0.019488826,
-0.011986371,
0.015626175,
-0.0023837683,
0.045352377,
-0.008832773,
0.010210362,
0.057966765,
-0.0029813987,
-0.0012847363,
-0.026998034,
-0.055130553,
-0.016139396,
-0.031495456,
-0.07574036,
0.0070837764,
-0.03770811,
-0.015031922,
0.020650322,
-0.04405582,
0.0077117947,
0.003182297,
0.045298353,
-0.013289678,
-0.02911844,
0.038545467,
0.013512523,
-0.0023398746,
-0.06774494,
0.04121961,
-0.025147744,
0.018637963,
-0.0013539534,
0.007644266,
-0.014964393,
-0.013593557,
0.0036364286,
0.0010179974,
-0.03611443,
-0.017638536,
-0.008211508,
0.0035216294,
-0.046432838,
-0.029145451,
-0.008447859,
-0.0042441883,
-0.02350004,
0.009170418,
0.02787591,
-0.022500612,
0.05877711,
0.066232294,
-0.021865841,
0.054806415,
0.025539411,
0.0203667,
-0.03841041,
0.060397804,
0.054887448,
-0.026876481,
-0.008961079,
-0.011770278,
-0.08773348,
0.02001555,
-0.017003763,
-0.041894898,
0.0064895223,
0.03687075,
0.009467545,
-0.058669064,
0.0071175406,
-0.023027338,
-0.07093231,
-0.006509781,
0.0027754358,
0.014073012,
0.04386674,
0.050430544,
-0.0639093,
-0.030820167,
-0.00020427477,
0.035358105,
-0.011689244,
-0.006219407,
0.043434557,
0.01711181,
-0.012391544,
-0.0018502905,
0.03192764,
-0.039031673,
0.0062092775,
-0.032413848,
0.0053314026,
0.03433167,
0.0006499652,
-0.009562085,
0.013843414,
0.029793728,
-0.053077675,
-0.0037748627,
0.03595236,
0.010534501,
-0.01832733,
0.0014468055,
-0.021757795,
0.008528894,
-0.002083265,
-0.0627208,
0.008799009,
0.04065237,
0.02394573,
-0.073525414,
0.009730907,
-0.008299296,
-0.0074821967,
-0.009832201,
-0.022365555,
-0.045514446,
0.06050585,
-0.010730335,
0.055319633,
-0.022514118,
-0.00027792342,
0.017949168,
-0.0036668165,
0.027349183,
0.023459522,
0.035142012,
-0.03649259,
-0.046000652,
-0.054266185,
-0.00943378,
-0.035033967,
-0.01701727,
-0.0026893364,
-0.0220009,
-0.039247766,
-0.06644839,
0.03738397,
0.036087416,
0.009906482,
0.01727388,
0.003585782,
-0.04740525,
0.051997215,
0.006067467,
0.00882602,
0.021069001,
-0.03595236,
0.04897192,
-0.021784807,
-0.010642546,
-0.025147744,
0.00732688,
-0.03454776,
0.07347139,
-0.012553613,
0.00036718813,
-0.042489152,
-0.019083653,
-0.026998034,
0.031117294,
-0.034628794,
-0.019893998,
-0.006948719,
-0.016139396,
0.031306375,
-0.019313252,
-0.015531635,
-0.0014392086,
0.0017439325,
0.014680772,
-0.025714986,
-0.035628222,
-0.01886756,
-0.016787672,
-0.03913972,
0.050781693,
0.035358105,
0.026268722,
0.011182778,
-0.026849471,
0.0019735305,
-0.037600063,
-0.017152328,
-0.013742121,
-0.01154068,
-0.037410982,
0.016814683,
0.017706065,
0.031198328,
-0.03368339,
0.057318486,
-0.0294966,
-0.0018756138,
-0.02046124,
-0.028578209,
-0.021204058,
0.0022267639,
-0.0005250368,
0.004436645,
0.013269419,
0.0016696508,
-0.018016698,
0.008022428,
0.005679176,
-0.0475133,
0.06126217,
-0.010912662,
0.011311082,
0.057480555,
0.028497174,
-0.042597197,
0.01231051,
0.033629365,
-0.028037978,
0.016301464,
-0.016112383,
0.01580175,
-0.0063544647,
-0.03633052,
0.01711181,
-0.04348858,
0.035871323,
-0.027713839,
-0.01720635,
-0.0048485715,
-0.05259147,
-0.029253498,
-0.01631497,
0.0067731435,
0.02701154,
0.02471556,
-0.00887329,
0.01902963,
-0.02790292,
-0.040274207,
-0.043569613,
-0.037465006,
0.0053888024,
0.0341696,
0.024256364,
0.03125235,
-0.011959359,
-0.05521159,
-0.010500736,
0.019610377,
0.007137799,
0.001251816,
0.010770852,
0.0008124565,
-0.008029181,
-0.06925759,
-0.019272733,
-0.0073809032,
-0.002907117,
0.0095890965,
0.018178767,
0.021014977,
-0.018637963,
0.0029526989,
0.035871323,
0.023891706,
-0.07309323,
0.011635221,
0.03476385,
0.025107225,
0.021406645,
0.032224767,
-0.017395431,
-0.021987393,
-0.030063843,
0.010412948,
-0.039787997,
0.005891892,
-0.028821314,
-0.048323646,
0.029037405,
0.04089547,
0.05402308,
-0.07763117,
0.008481624,
-0.027767863,
-0.0077388063,
-0.052078247,
-0.044974215,
-0.03576328,
0.030117868,
-0.036762707,
0.04894491,
0.025823032,
0.0022554635,
-0.010379184,
0.023905212,
0.022622164,
-0.0068946956,
-0.048998933,
-0.006340959,
0.010946427,
0.0031485327,
-0.0170848,
-0.02324343,
-0.06158631,
0.03227879,
-0.05367193,
-0.024850616,
0.0035891584,
-0.016558073,
-0.026390275,
-0.010061799,
0.043380532,
-0.030090855,
0.00037267484,
-0.011479904,
0.033791438,
0.002853094,
0.0104872305,
-0.04664893,
-0.018300317,
-0.053942043,
-0.029415566,
0.026538838,
-0.034736842,
0.016949741,
0.004311717,
0.014167553,
0.044325937,
-0.039382827,
0.038086273,
0.074335754,
0.0091299005,
-0.010818122,
-0.05915527,
0.055481702,
0.018408364,
0.013431489,
-0.03597937,
0.015693704,
-0.0084276,
0.00008446382,
0.004797925,
-0.025647458,
-0.0017979556,
0.017787099,
0.057426535,
0.025674468,
0.018300317,
0.016882213,
-0.05472538,
-0.012877751,
0.04054432,
-0.01982647,
0.022230497,
0.04335352,
-0.0039504375,
0.006165384,
0.033359252,
-0.03913972,
-0.012128182,
-0.0040416014,
0.038977653,
-0.0016544568,
-0.031522468,
0.0046459846,
0.018151755,
-0.029172463,
-0.059911594,
-0.0075362194,
-0.010676311,
-0.052753538,
-0.0053685433,
0.019394286,
0.0030269807,
-0.03949087,
-0.0091366535,
-0.0038120036,
-0.037248913,
0.018921584,
0.007948145,
-0.008022428,
-0.04889089,
0.038977653,
0.049944337,
-0.03541213,
0.0058344924,
-0.033764426,
0.007509208,
0.016625602,
-0.0001999487,
0.057804696,
-0.02123107,
0.047432262,
0.03154948,
0.017787099,
0.041975934,
-0.012621142,
0.016720142,
0.02001555,
-0.013330195,
-0.022919292,
-0.030928213,
0.049593188,
-0.0022639048,
0.02167676,
-0.039869033,
0.042192023,
0.06288286,
0.044515017,
0.0093594985,
-0.044785134,
0.0017110122,
-0.03930179,
-0.011554186,
-0.005952668,
-0.028335106,
-0.012580625,
0.0045818323,
-0.0041158833,
-0.039220754,
0.009838954,
-0.0011800666,
-0.04070639,
-0.032359824,
-0.0049701235,
-0.010325161,
-0.04070639,
-0.042894326,
-0.013222149,
-0.01004154,
0.038086273,
0.026255216,
-0.028281081,
-0.006702238,
0.010649299,
0.011115248,
-0.0021136529,
0.011297576,
-0.006540169,
0.014127036,
-0.0023516922,
-0.004862077,
-0.009305475,
0.047108125,
-0.0009479362,
-0.0400311,
0.039923057,
0.018624457,
0.003457477,
-0.01886756,
-0.020312678,
0.048377667,
-0.042867314,
-0.010568265,
-0.03543914,
0.009663378,
-0.018948596,
0.012141687,
-0.03103626,
-0.010250879,
0.0033376133,
0.014100024,
-0.02490464,
0.04265122,
0.03406155,
0.018948596,
-0.019812964,
0.027794875,
0.006557051,
-0.0021406645,
0.026268722,
-0.02331096,
0.03776213,
-0.030279936,
0.038356386,
0.04316444,
0.003364625,
0.018664975,
-0.023040844,
0.01165548,
-0.06769092,
0.027713839,
0.059695505,
0.047081113,
0.022703199,
0.000082406295,
0.00021925774,
0.013829908,
-0.018381353,
-0.024877628,
-0.047837436,
-0.008555905,
-0.0012965539,
-0.01526152,
-0.0014982964,
-0.029145451,
-0.015599164,
-0.021190552,
0.022865267,
0.033386264,
0.039193746,
0.01947532,
0.029739706,
0.032035686,
-0.06817713,
0.022014406,
0.011034214,
0.028335106,
-0.023540556,
-0.020987967,
0.07071621,
0.06634034,
0.005493472,
-0.0054968484,
-0.03052304,
0.008711222,
0.018408364,
0.0077658175,
-0.027848898,
0.029901775,
-0.012236227,
0.037167877,
-0.053644918,
0.021514691,
-0.05634607,
0.010338667,
0.036195464,
0.029793728,
-0.023000326,
-0.0013683033,
-0.0073471386,
-0.027497748,
0.024877628,
0.011966112,
-0.006384853,
0.0056285295,
-0.027133092,
0.009264958,
0.08930015,
0.06995989,
0.014316116,
-0.007029753,
0.04648686,
-0.009717401,
-0.03106327,
-0.028497174,
0.034655806,
0.00042986334,
0.020825896,
0.023999752,
-0.0266874,
0.0036972044,
-0.029955797,
0.024013259,
0.026079642,
-0.010750593,
-0.024458949,
-0.050187442,
-0.008717975,
0.04627077,
-0.026768437,
-0.04716215,
-0.00016133064,
0.007286363,
0.033440284,
0.022244003,
0.010689816,
0.016706638,
0.011520422,
0.025431365,
-0.014248587,
-0.0041293893,
-0.015410083,
0.020866415,
-0.025026191,
0.02633625,
-0.0022419577,
-0.02876729,
-0.04492019,
0.009771424,
-0.06385528,
0.021339117,
0.022230497,
-0.027686829,
0.04546042,
-0.03071212,
-0.026727919,
-0.042381104,
-0.024756076,
-0.007036506,
0.032197755,
0.05456331,
-0.05175411,
-0.04319145,
0.058885157,
-0.022959808,
-0.013147867,
-0.01730089,
0.06331505,
0.018556928,
0.0589932,
0.019083653,
0.00662458,
0.017476466,
0.03506098,
-0.021784807,
-0.005280756,
-0.00521998,
-0.004058484,
-0.016490545,
-0.0049937586,
-0.06299091,
-0.022905786,
-0.008015675,
-0.025823032,
-0.022081934,
-0.012121429,
0.0016527686,
0.00054149696,
0.000105250045,
0.053969055,
-0.027470736,
0.028551197,
0.010291397,
-0.008353319,
-0.078171395,
0.012587378,
-0.049566176,
0.025971595,
-0.011695997,
-0.028875336,
0.00084790913,
-0.017368421,
-0.021014977,
-0.0055880123,
0.006995989,
-0.023054348,
0.041165587,
0.025485387,
0.018786525,
0.033251204,
-0.014018989,
0.0041935416,
-0.0023061102,
0.06607023,
0.013134361,
0.053590894,
0.045757547,
-0.020866415,
-0.0075902427,
0.02471556,
-0.0016932859,
0.00027222568,
-0.009899729,
-0.03687075,
0.013026315,
-0.0337104,
-0.0802783,
0.009724154,
0.04772939,
0.0109261675,
0.011824301,
-0.004149648,
0.02946959,
-0.085464515,
0.0071850694,
-0.025201766,
0.030901201,
0.010757346,
-0.007900875,
-0.0021085883,
-0.05013342,
0.21220265,
0.05629205,
0.038491443,
0.04054432,
0.02244659,
0.013323442,
-0.008258779,
-0.044650074,
-0.006989236,
-0.07174265,
0.01963739,
-0.031819593,
0.03787018,
0.01947532,
0.013215396,
0.05051158,
-0.07422771,
-0.01765204,
0.02982074,
-0.051727097,
-0.06347712,
0.012087664,
0.011608209,
0.0036566872,
0.007036506,
0.03946386,
0.017665546,
-0.03225178,
0.020704346,
-0.0006250639,
0.02666039,
-0.020110091,
0.047378242,
-0.008859785,
-0.03543914,
0.0018030202,
-0.0021018353,
-0.05910125,
0.04716215,
0.040274207,
-0.00253402,
-0.014613243,
0.0045041745,
-0.0007618098,
-0.008569411,
0.06380126,
0.012843987,
0.0042306823,
0.04292134,
-0.01074384,
0.02385119,
-0.013843414,
0.0029932163,
-0.046594907,
-0.09454039,
-0.029901775,
0.000008190511,
-0.07860358,
-0.0044839154,
0.016044855,
0.029199474,
0.007846852,
-0.01622043,
-0.011054473,
-0.019367274,
0.06639437,
0.010865392,
0.0348719,
-0.029901775,
-0.014505196,
-0.010683064,
-0.00020638504,
-0.0018367846,
0.020299172,
0.019313252,
0.0024935028,
-0.011831054,
0.01727388,
-0.019961528,
-0.04140869,
0.008062945,
-0.0234055,
-0.026511826,
0.0030708744,
0.0036499342,
0.039004665,
-0.059425388,
0.028389128,
-0.01842187,
0.007644266,
0.014950887,
-0.012445567,
-0.018475894,
-0.0038896617,
-0.0033257958
] | OpenAIGPTModel
[[autodoc]] OpenAIGPTModel
- forward
OpenAIGPTLMHeadModel
[[autodoc]] OpenAIGPTLMHeadModel
- forward
OpenAIGPTDoubleHeadsModel
[[autodoc]] OpenAIGPTDoubleHeadsModel
- forward
OpenAIGPTForSequenceClassification
[[autodoc]] OpenAIGPTForSequenceClassification
- forward |
[
0.0038952883,
-0.026519647,
0.00013378214,
0.013983087,
0.0050559533,
-0.0125778895,
0.0030910887,
0.0058756517,
0.015815353,
0.06364715,
0.026767623,
0.010373659,
0.02182188,
-0.028379466,
-0.026905388,
0.06072655,
0.00162562,
-0.042155907,
-0.03873935,
-0.0021818436,
0.024466958,
0.028241701,
-0.067504555,
-0.037471917,
-0.017303208,
0.0010082632,
-0.017620066,
-0.01884617,
0.032677718,
0.07830528,
0.015043872,
-0.0008196982,
0.00033515497,
-0.01520919,
-0.047253188,
-0.018240007,
0.0012312693,
-0.018295113,
-0.013177165,
-0.038987324,
0.010724959,
-0.0081281,
0.030005086,
-0.039262854,
-0.0004636633,
-0.051000383,
-0.0083209695,
-0.006678129,
-0.023502607,
0.0043016933,
-0.02658853,
-0.019066593,
-0.0073084016,
-0.019025264,
-0.046784792,
-0.058522318,
-0.024756262,
-0.026175236,
-0.017964479,
0.0064267092,
0.0127225425,
0.046178628,
-0.02716714,
-0.057530414,
0.017330762,
0.017730279,
-0.005293597,
0.0049009686,
0.003196134,
-0.036810648,
-0.034578864,
0.012102603,
0.0157878,
-0.007191302,
-0.039648596,
-0.0063647153,
0.05483023,
0.0016945021,
0.024315417,
0.070921116,
-0.03912509,
0.05348014,
0.01899771,
0.0078043533,
0.00481831,
-0.058908056,
0.04582044,
0.0065334765,
-0.025431309,
-0.04389174,
-0.038574032,
0.011730638,
-0.02727735,
0.0023574934,
0.00532115,
0.04361621,
0.038904667,
0.022345386,
-0.013728223,
-0.037471917,
0.019975837,
0.064914584,
0.018212454,
-0.012137043,
-0.017730279,
0.01389354,
0.026189012,
-0.01083517,
-0.040916026,
-0.07218855,
0.0029343818,
-0.0026192456,
0.0056242314,
-0.035157476,
0.007900788,
-0.015498495,
0.014423933,
0.010442542,
0.020141155,
-0.03642491,
0.015732694,
-0.010848947,
0.023075538,
-0.055326182,
-0.010883387,
-0.025527744,
0.007356619,
0.048437964,
-0.043946844,
0.022965325,
-0.023957228,
-0.019521216,
0.028296808,
0.015043872,
0.014479038,
0.027525328,
0.006099519,
-0.014685685,
0.002758732,
-0.005062842,
0.008651604,
0.023309737,
-0.013211606,
0.100898646,
-0.0028878863,
0.03127252,
-0.008224535,
-0.022703573,
-0.017165445,
0.0045737782,
-0.0032667383,
-0.023254631,
-0.02218007,
-0.01950744,
0.004976739,
-0.031107202,
0.0037093065,
0.017551184,
0.022855114,
0.0150576485,
-0.018928828,
-0.021835657,
-0.0016006501,
0.030886779,
-0.019975837,
0.0449663,
-0.0154709425,
-0.015925564,
0.0103805475,
-0.031355176,
0.05177186,
-0.0034096688,
0.009175109,
0.027525328,
0.04077826,
0.0019528103,
0.039483275,
-0.008155652,
0.045104064,
0.02306176,
-0.005407253,
0.009643508,
0.035653427,
0.0129980715,
0.015911788,
0.011303569,
-0.0095608495,
-0.014603026,
-0.0030480374,
0.016228646,
0.016545504,
0.037196387,
-0.03703107,
-0.0035887626,
-0.006319942,
-0.027360009,
-0.05607011,
0.0047356514,
0.0051489444,
-0.041191556,
-0.06083676,
0.05336993,
-0.03317367,
-0.018474206,
-0.008017888,
0.018556865,
0.009677949,
0.04190793,
-0.02821415,
0.025100674,
0.053342376,
-0.004126044,
-0.04276207,
0.011021152,
0.013934869,
-0.021146836,
-0.003478551,
0.009622843,
-0.021408588,
0.0049905153,
0.02612013,
0.03493705,
0.04714298,
0.013218494,
-0.014382604,
-0.03427578,
-0.030087745,
0.030831672,
-0.015140307,
0.01679348,
0.017000128,
0.016545504,
-0.015085202,
0.046619475,
-0.013714446,
-0.01153088,
0.049788054,
0.047418505,
-0.029481582,
-0.008562057,
0.0037678564,
0.03493705,
0.0050180685,
0.046784792,
-0.0031995783,
0.0033890042,
-0.016077105,
0.012088826,
0.014479038,
0.03386249,
-0.060616337,
0.08646094,
0.024425628,
-0.008252088,
-0.011076258,
-0.027112033,
0.040061887,
0.046839897,
-0.023309737,
-0.0106560765,
0.011916621,
-0.020650884,
0.032016445,
-0.011971726,
0.016903691,
0.04849307,
0.014423933,
-0.020499343,
-0.020072274,
-0.064088,
-0.0072257426,
-0.028820312,
-0.05874274,
0.0157878,
-0.046619475,
-0.011331122,
0.0039262855,
-0.028048832,
0.0077423593,
-0.018240007,
0.039731253,
0.00568967,
-0.045104064,
0.037279047,
0.037196387,
0.010084354,
-0.073070236,
0.027428892,
-0.033504304,
-0.011689309,
-0.026271671,
0.0016178706,
-0.008369187,
-0.0029481582,
0.011083146,
0.010573418,
-0.0044945637,
-0.04648171,
0.02402611,
0.008210759,
-0.04667458,
-0.006554141,
-0.014024416,
-0.0026416325,
-0.036232036,
0.019383451,
0.051909626,
-0.03606672,
0.054664914,
0.06651265,
0.004997404,
0.030556144,
0.023419948,
0.02194587,
-0.045407146,
0.067229025,
0.0727396,
-0.017923148,
-0.0041845934,
-0.028048832,
-0.063977785,
0.04265186,
-0.041439533,
-0.0039400617,
0.00909245,
0.018970158,
0.0071844133,
-0.05951422,
0.007990335,
-0.052653555,
-0.03733415,
-0.009429974,
0.010766288,
0.015181637,
0.038298503,
0.027952397,
-0.056318086,
-0.020182485,
-0.025872154,
0.037747446,
-0.03242974,
-0.011172693,
0.017854266,
0.021780552,
-0.008252088,
0.016862363,
0.045655124,
-0.053425033,
-0.02975711,
-0.033421643,
0.010160125,
0.016228646,
0.0018460429,
-0.006795229,
0.013087618,
0.011158916,
-0.01640774,
-0.0029722669,
0.045379594,
0.016628163,
-0.013507799,
0.011592874,
-0.039455723,
0.017978255,
-0.02488025,
-0.033421643,
-0.0112071335,
0.018088466,
0.02132593,
-0.070921116,
0.01559493,
-0.012453902,
-0.029288711,
0.009919037,
-0.002032025,
-0.045021407,
0.063977785,
0.014120851,
0.046343945,
0.024714934,
-0.023282183,
0.011034928,
-0.016311305,
0.040998686,
0.03846382,
0.0099672545,
-0.04389174,
-0.046647027,
-0.04124666,
-0.014727014,
-0.038160738,
0.0017100006,
0.005197162,
-0.01702768,
-0.037003517,
-0.07301513,
0.02051312,
0.024356745,
0.029839769,
0.032319527,
-0.03780255,
-0.03568098,
0.05243313,
0.004353355,
-0.0069915433,
0.040502734,
-0.03234708,
0.06530032,
-0.0022954994,
-0.0052109384,
-0.044249926,
-0.036094274,
-0.02299288,
0.059404008,
0.01981052,
0.017509855,
-0.044139713,
0.0011994113,
-0.022923997,
0.04102624,
-0.02821415,
-0.0138177695,
0.012274808,
-0.029729558,
0.030087745,
-0.0035543216,
-0.012619219,
-0.005693114,
0.009588403,
0.03215421,
-0.008672269,
-0.020981519,
-0.010904052,
-0.043395787,
-0.035846297,
0.04245899,
0.033697173,
-0.0131358355,
0.017165445,
-0.048548173,
-0.016697045,
-0.00060314976,
0.0014628858,
-0.027635539,
-0.0034217234,
-0.032484844,
0.020099826,
0.0073152897,
0.016945021,
-0.030308168,
0.039345514,
-0.04336823,
-0.007542601,
-0.03570853,
-0.022662245,
-0.009698614,
-0.003187524,
0.0074048364,
0.029233607,
-0.0055587934,
0.010180789,
-0.004012388,
0.025706837,
-0.01574647,
-0.027497774,
0.05042177,
0.0049044127,
0.043010045,
0.068165824,
0.011248463,
-0.04995337,
0.023364842,
0.04551736,
-0.05014624,
0.022786232,
0.0046461043,
0.010697406,
-0.0094161965,
-0.044415243,
0.005520908,
-0.050008476,
0.032126658,
-0.0106423,
-0.020733543,
-0.015953118,
-0.03606672,
-0.060616337,
-0.0032099106,
0.0018994267,
0.020030944,
-0.01644907,
-0.017730279,
0.016063329,
-0.021532577,
-0.06811072,
-0.04810733,
-0.053259715,
0.009175109,
0.0013879763,
0.022703573,
0.040695604,
-0.022152515,
-0.055932347,
0.032126658,
0.004318914,
0.0031530827,
0.01927324,
0.03692086,
0.0056207874,
-0.013948645,
-0.073731504,
-0.028434573,
-0.008920245,
-0.013066953,
0.016972573,
0.0012941243,
0.038105633,
-0.016187318,
0.013569794,
0.017289432,
0.0156087065,
-0.07395193,
0.00019846683,
0.030556144,
0.021463694,
0.028654994,
0.036590226,
-0.034496207,
-0.032677718,
-0.04499385,
0.008527616,
-0.028489677,
0.013432029,
-0.028379466,
-0.049512524,
0.041494638,
0.025679285,
0.02113306,
-0.070370056,
-0.0008132405,
-0.02038913,
0.010904052,
-0.020292696,
-0.054113857,
-0.040805817,
-0.0020010278,
-0.0061890655,
0.067229025,
0.03223687,
-0.025803272,
-0.01334937,
0.035074815,
0.029095842,
-0.014809673,
-0.059955068,
0.009698614,
-0.0047528716,
0.023323514,
-0.02558285,
0.0146443555,
-0.04984316,
0.02043046,
-0.027773304,
-0.004590999,
-0.0068778875,
-0.02263469,
-0.04697766,
0.001032372,
0.04697766,
-0.027759526,
-0.017192997,
-0.020582002,
0.008934021,
0.015898012,
0.03289814,
-0.032181762,
-0.017165445,
-0.047942013,
-0.027415115,
0.03989657,
-0.029509135,
-0.01574647,
0.013404476,
0.030253062,
0.051055487,
-0.032457292,
0.05557416,
0.082989275,
-0.017385866,
-0.0315756,
-0.02426031,
0.043120258,
0.028462125,
0.006554141,
-0.0564283,
0.011331122,
0.0008859973,
0.010869611,
-0.006388824,
-0.03311856,
-0.009925925,
0.009175109,
0.05003603,
0.009058009,
0.031244965,
0.0039986116,
-0.047198083,
-0.018818617,
0.047280744,
-0.017427197,
0.0040227203,
0.029784663,
0.00014658993,
-0.02263469,
0.035570767,
-0.028627442,
-0.020251367,
-0.019218134,
0.033697173,
0.016724598,
-0.03805053,
-0.0029894875,
0.00406405,
-0.028296808,
-0.043120258,
0.007969671,
-0.004721875,
-0.071196645,
-0.011358675,
-0.023599042,
0.030886779,
-0.037251495,
0.03262261,
0.014437709,
-0.039345514,
0.00319269,
0.0030618138,
0.007845683,
-0.07014963,
0.0026140795,
0.028847866,
-0.023819465,
0.015898012,
-0.06948836,
-0.002695016,
-0.00041587627,
-0.009932813,
0.070645586,
-0.0015722362,
0.015774025,
0.028103938,
0.0055312407,
0.048355304,
0.0027948953,
0.010297889,
0.0069261054,
-0.033256326,
-0.022496926,
-0.020678436,
0.050642192,
0.011827074,
0.0145065915,
-0.029288711,
0.023764359,
0.0822178,
0.061773557,
0.009374867,
-0.045655124,
0.008699822,
-0.059183586,
-0.0021973422,
-0.0015412392,
-0.022138739,
-0.013204718,
-0.0055450173,
-0.004608219,
-0.025941037,
0.0065920264,
-0.014148404,
-0.06320631,
-0.016917469,
-0.035074815,
-0.0025555296,
-0.038629137,
-0.017564962,
-0.012736319,
-0.0030549255,
0.016008222,
0.03309101,
-0.04008944,
-0.025761943,
0.0142310625,
0.03424823,
-0.017716503,
0.012329914,
0.00006231687,
0.035515662,
-0.008782481,
-0.009912149,
-0.008479399,
0.061442923,
0.012006167,
-0.04821754,
0.035240132,
0.016476622,
-0.019163027,
-0.0016393964,
0.007129308,
0.035129923,
-0.044470347,
-0.0039917235,
-0.0147821205,
0.01013946,
-0.011661757,
0.01617354,
-0.04267941,
-0.017206773,
0.0236817,
0.020154933,
-0.013879763,
0.052267812,
0.037361704,
0.006550697,
-0.032374635,
0.030749014,
0.012426349,
0.027539104,
0.023640372,
-0.0038332944,
0.03080412,
-0.011296681,
0.029233607,
0.0397037,
-0.0071155312,
0.018171124,
-0.020030944,
-0.01091094,
-0.025706837,
-0.014878555,
0.06871688,
0.027291128,
0.025293544,
-0.0239159,
0.0069984314,
0.017344538,
-0.017688949,
-0.012357467,
-0.058467213,
-0.010153236,
0.009919037,
-0.043478444,
0.016132211,
0.0018167681,
-0.027869739,
-0.0068090055,
0.030280614,
0.041411977,
0.0239159,
0.014479038,
0.011468886,
0.015264296,
-0.073345765,
0.018005807,
0.02569306,
0.017564962,
-0.015250519,
-0.0052074944,
0.071306854,
0.045903098,
0.012660548,
-0.0071568605,
-0.041494638,
-0.0113448985,
0.0291785,
0.00944375,
-0.038022973,
-0.014892331,
-0.027635539,
0.034964606,
-0.040254757,
0.010222118,
-0.008300305,
-0.016945021,
0.032374635,
0.013803993,
-0.017096562,
0.0059307576,
0.018556865,
-0.01717922,
0.03435844,
0.016242422,
-0.0015610429,
0.007143084,
-0.023640372,
0.01822623,
0.068331145,
0.063702255,
0.017468525,
-0.023075538,
0.029454028,
0.00024582335,
-0.04075071,
0.001001375,
0.05061464,
-0.0014034748,
0.027966173,
0.0052453796,
-0.00090666197,
-0.029702004,
-0.020609554,
0.018777288,
0.04458056,
-0.009808825,
-0.01706901,
-0.045682676,
0.02357149,
0.033917595,
-0.010773176,
-0.06248993,
0.009230215,
0.02693294,
0.011558433,
0.02558285,
0.013983087,
-0.0032064663,
0.010173901,
0.022510704,
-0.009450638,
-0.010173901,
0.00894091,
0.049099233,
-0.021587681,
0.0291785,
0.013046289,
-0.027373787,
-0.0048114215,
0.005286709,
-0.042431436,
0.012715654,
0.030859226,
-0.018832393,
0.024398075,
-0.022813784,
-0.028035056,
-0.054692466,
0.0020905747,
0.01884617,
0.06783519,
0.02224895,
-0.025458861,
-0.021339705,
0.052626003,
-0.019769192,
-0.011813297,
-0.011510216,
0.034220677,
0.029123394,
0.069818996,
0.012323026,
-0.017537408,
0.013859099,
0.018942606,
-0.03270527,
0.009319762,
-0.00087222084,
0.0056621167,
0.0066436883,
-0.014878555,
-0.049622737,
-0.0060271923,
0.012874084,
-0.01482345,
-0.020609554,
-0.03769234,
0.0013190941,
0.00758393,
0.002063022,
0.07885634,
-0.022235174,
0.024466958,
0.003072146,
-0.02008605,
-0.08106057,
-0.008444957,
-0.015677588,
0.04105379,
0.0018770399,
-0.030556144,
0.009994808,
-0.021201942,
0.0035439893,
-0.0068744435,
0.015030096,
-0.021876987,
0.042624306,
0.018983934,
0.021725446,
0.017799161,
-0.029013183,
0.011654869,
0.0028413907,
0.078911446,
0.02248315,
0.07147217,
0.03703107,
-0.030969437,
-0.013879763,
0.02275868,
-0.023406172,
0.015663812,
0.022359163,
-0.008754928,
0.0018029916,
-0.02697427,
-0.05576703,
-0.022152515,
0.043974396,
0.017716503,
-0.010532089,
-0.017812937,
0.02310309,
-0.08122589,
0.019906957,
0.004194926,
0.026988046,
-0.0058446545,
-0.016283752,
0.008982239,
-0.053232163,
0.22273748,
0.078635916,
0.028296808,
0.052570894,
0.01644907,
0.009333538,
-0.005421029,
-0.038877115,
-0.019176805,
-0.051523887,
0.027001822,
-0.033642065,
0.0243843,
0.054003645,
0.01640774,
0.049236998,
-0.066016704,
-0.014851002,
0.00047098205,
-0.037471917,
-0.085964985,
0.043037597,
0.016118435,
0.040199652,
0.008934021,
0.010229006,
0.036397353,
-0.023144418,
0.025210885,
-0.0052074944,
0.0094161965,
-0.047666483,
0.034082912,
0.01713789,
-0.051909626,
0.005166165,
0.00431547,
-0.032374635,
0.028407019,
0.013314929,
-0.0009299097,
0.013259823,
0.017771607,
-0.019149251,
-0.033035904,
0.05127591,
-0.0022851669,
-0.005352147,
0.037086178,
-0.019714085,
0.039869018,
-0.02751155,
0.02182188,
-0.052681107,
-0.10398457,
-0.03501971,
-0.009168221,
-0.07505404,
-0.018598193,
0.02224895,
0.012639884,
0.006915773,
-0.022469373,
-0.012398796,
-0.027607987,
0.077148065,
0.0013388977,
0.039345514,
-0.007866347,
0.003258128,
0.00932665,
0.0063406066,
0.00088513625,
0.0026416325,
0.0017874931,
-0.004074382,
0.0001884574,
0.021959646,
-0.018901275,
-0.025803272,
0.028847866,
-0.020871306,
-0.0037437475,
-0.0444979,
0.01370067,
0.025417533,
-0.04273452,
0.04273452,
-0.012674325,
0.000033660795,
0.01102804,
-0.017303208,
0.0105183115,
-0.025018016,
0.0005553627
] | TFOpenAIGPTModel
[[autodoc]] TFOpenAIGPTModel
- call
TFOpenAIGPTLMHeadModel
[[autodoc]] TFOpenAIGPTLMHeadModel
- call
TFOpenAIGPTDoubleHeadsModel
[[autodoc]] TFOpenAIGPTDoubleHeadsModel
- call
TFOpenAIGPTForSequenceClassification
[[autodoc]] TFOpenAIGPTForSequenceClassification
- call |
[
0.010197005,
-0.016712159,
-0.025427794,
-0.021889763,
-0.043894585,
-0.0153170815,
-0.0023425068,
-0.005159627,
0.036243234,
0.06466253,
-0.004091746,
0.0018912641,
0.00919744,
-0.05491138,
-0.02437789,
0.010434313,
-0.021113124,
0.024751829,
-0.057874117,
0.020149512,
0.050625473,
0.0031317319,
-0.08560307,
-0.070242845,
-0.01131882,
0.014044254,
0.014475721,
-0.028275477,
0.07127836,
0.06115327,
0.023701925,
0.0008854064,
0.0033043188,
-0.048468135,
0.0005276483,
-0.0003883204,
0.021069976,
-0.03607065,
-0.022479435,
-0.05209246,
0.00926216,
-0.007068869,
-0.0097152,
-0.029656172,
-0.01704295,
0.0049942317,
-0.033711962,
-0.025384648,
0.006572682,
-0.028893912,
0.010427121,
0.01852432,
0.037393816,
-0.0057672765,
-0.025672292,
-0.047432616,
-0.010081948,
0.010218579,
-0.028908296,
0.04090308,
0.05163223,
-0.012620413,
-0.0018085662,
-0.047173735,
0.027383778,
0.03825675,
-0.011441069,
0.029152794,
0.005846379,
-0.022838991,
-0.05036659,
0.029325379,
-0.019171521,
-0.026003083,
-0.04219748,
0.021113124,
0.014705837,
0.00784551,
-0.059139755,
0.02680849,
-0.013454582,
0.030173931,
0.023572486,
0.010074756,
-0.02050907,
-0.026664667,
0.025830496,
-0.019646134,
-0.013332333,
0.010614091,
0.02012075,
0.04090308,
0.023960806,
0.041507132,
0.021012448,
0.017028568,
-0.038630687,
0.056004427,
-0.0012602435,
0.010614091,
0.019056464,
0.056435894,
-0.04912972,
0.043894585,
-0.006766842,
0.021458296,
0.015086966,
-0.0415359,
0.0124262525,
-0.030202696,
0.019962544,
0.00068854954,
-0.034632426,
0.02102683,
0.019833105,
-0.0015586748,
0.002373069,
0.01672654,
-0.03023146,
-0.011548935,
0.05640713,
0.0103408275,
-0.040529143,
0.005511992,
-0.016855981,
-0.017733296,
0.031813506,
0.027800864,
-0.025053855,
-0.004343435,
0.017402506,
-0.004296693,
0.00004064667,
0.06592817,
-0.0118221985,
-0.0075075272,
-0.02013513,
0.04211119,
0.021256946,
-0.0093844095,
0.0039659017,
-0.019545458,
0.016093722,
0.088076815,
-0.0061196415,
0.049187247,
0.003563199,
-0.024536096,
-0.029296616,
0.024967562,
-0.0024270024,
-0.024363508,
-0.0069681937,
0.053990915,
0.010383975,
0.04970501,
-0.0038508438,
0.027858391,
0.030404048,
0.049791303,
0.0077448343,
0.009017662,
-0.023773836,
0.04167972,
-0.04694362,
0.06874709,
-0.01138354,
-0.028289858,
0.027168045,
-0.0005730422,
0.013677507,
-0.006579873,
-0.0028602672,
0.004433324,
0.06385713,
0.048784547,
0.038515627,
0.02012075,
-0.00041101733,
-0.0037357858,
0.036559645,
0.03080675,
0.04953242,
0.02880762,
-0.026003083,
0.008384843,
-0.0048072627,
0.0015254159,
0.001573956,
0.013663124,
-0.0066589755,
0.057356358,
-0.05879458,
0.013404245,
-0.05235134,
-0.00097169983,
-0.038601924,
-0.006141215,
0.004670631,
-0.04757644,
-0.017028568,
0.06466253,
-0.018811965,
0.008463946,
-0.025240825,
-0.0041492754,
0.0017258683,
0.01948793,
-0.033654433,
-0.010750721,
0.07018531,
0.0102401525,
-0.035667945,
-0.04469999,
0.02154459,
-0.008845075,
-0.018912641,
-0.0023910468,
-0.023816984,
-0.02309787,
0.002177111,
0.023500575,
-0.0052710897,
0.004526809,
-0.03632953,
0.0098374495,
0.007852701,
0.025456559,
-0.029915052,
-0.0052171564,
-0.023687543,
-0.03195733,
0.015360229,
0.034057137,
0.045217752,
-0.012900866,
-0.007414043,
0.044613697,
-0.004534,
0.020465922,
-0.009053618,
0.046282038,
0.011671185,
0.011613656,
0.039982617,
-0.004070173,
0.0077520255,
-0.038170457,
-0.020537833,
-0.0101898145,
-0.03960868,
0.08140346,
-0.0034787033,
0.014058636,
-0.019300962,
-0.037595164,
0.013433008,
-0.035121422,
-0.033079144,
-0.005040974,
0.014482912,
-0.00887384,
-0.0044261334,
-0.02173156,
0.04277277,
0.026837252,
-0.0006480995,
-0.0034894901,
-0.011858154,
-0.022306848,
-0.01228243,
-0.037393816,
-0.053271804,
-0.0041312976,
-0.046138212,
-0.016323838,
-0.0016692383,
-0.039062154,
0.03146833,
-0.051718522,
0.0009150698,
-0.005806828,
-0.03609941,
-0.0012269845,
0.039205976,
0.02013513,
-0.022134261,
0.034948833,
-0.029627407,
0.014899997,
0.047749024,
-0.014576397,
0.0050014225,
-0.012246475,
0.034833778,
0.012152989,
0.023845747,
-0.009592951,
-0.04205366,
-0.037652694,
-0.054623734,
-0.005422103,
-0.06328184,
0.013512111,
-0.013972343,
0.03555289,
-0.017503181,
0.009477894,
0.07064554,
0.04892837,
0.013605596,
0.021429531,
-0.023500575,
-0.008291359,
-0.05209246,
0.089860216,
0.025499705,
0.025255207,
-0.033481847,
-0.026074994,
-0.030605398,
-0.010980837,
0.003449939,
-0.069092266,
-0.021947293,
0.022925284,
-0.027944686,
-0.051804814,
-0.022580111,
-0.02000569,
-0.010333637,
-0.019718045,
-0.017445652,
0.036760997,
0.009995654,
0.02039401,
0.008392035,
-0.01639575,
-0.012519737,
-0.021012448,
-0.005526374,
-0.012872102,
0.05427856,
0.014928761,
-0.011541745,
-0.0028980207,
-0.004771307,
-0.014346281,
-0.01743127,
-0.009298116,
0.015892372,
0.0124262525,
-0.029382909,
0.021602118,
-0.012260856,
0.04147837,
-0.011369158,
-0.0027613894,
-0.017201155,
-0.013749418,
0.059715044,
0.045562923,
0.010829824,
-0.027038604,
-0.065525465,
-0.049216013,
-0.04668474,
0.016841598,
0.01402268,
-0.06218879,
0.05033783,
-0.0013546268,
-0.07202624,
0.01865376,
-0.033884548,
-0.019243432,
0.028735708,
0.023831366,
0.029037734,
-0.011721523,
-0.021702794,
0.0049870405,
-0.004282311,
0.03195733,
0.046972383,
0.009650481,
-0.051545933,
-0.00913272,
-0.010376783,
0.036760997,
-0.031813506,
0.009226205,
0.029325379,
-0.0072630295,
-0.023241693,
-0.055601727,
0.05183358,
0.046080686,
0.009930934,
0.010060375,
0.046339564,
0.024334744,
0.046569683,
0.05890964,
-0.012807381,
0.0071551627,
-0.047806554,
0.05240887,
0.031353276,
-0.011663994,
-0.017445652,
-0.014224032,
0.0050086137,
0.025240825,
-0.0107435305,
0.01151298,
-0.055946898,
-0.00010685552,
0.0146626895,
0.03563918,
-0.05844941,
-0.064144775,
-0.047950376,
0.03808416,
0.029627407,
-0.035006363,
0.013289186,
-0.07179613,
0.010614091,
0.0042175907,
0.00027618388,
-0.042283773,
-0.007924613,
-0.0031551032,
-0.050711766,
0.00919744,
0.03460366,
-0.010218579,
0.011915683,
-0.06305172,
0.038055398,
-0.0028279072,
-0.03840057,
-0.0060872813,
0.007787981,
-0.026866017,
-0.0025618358,
0.054192267,
-0.0025402624,
0.028721325,
0.02000569,
-0.011987594,
-0.03273397,
-0.010599708,
-0.006856731,
0.003212632,
0.03966621,
-0.039579913,
0.039177213,
0.0048719826,
-0.0071875225,
-0.013540875,
0.011052748,
-0.0013770991,
-0.015993048,
0.025600381,
0.021918528,
-0.00062068336,
0.06575558,
0.013087835,
-0.011505789,
-0.022795845,
0.00060944725,
-0.048583195,
0.029598642,
0.008125964,
-0.0056630056,
0.01743127,
-0.010542179,
0.028088508,
-0.023040343,
0.04818049,
0.007672923,
0.047116205,
-0.010175432,
-0.04366447,
-0.023831366,
0.004976254,
-0.07110578,
0.04812296,
0.040672965,
-0.02977123,
0.013037497,
-0.016007429,
-0.029656172,
-0.03742258,
-0.0009501265,
0.0022975623,
0.039321035,
0.039205976,
0.031612154,
0.03336679,
-0.05240887,
-0.033222966,
0.019516695,
0.019372873,
-0.024723064,
-0.0057061524,
0.027570747,
-0.005227943,
-0.03486254,
0.0054041254,
0.019257814,
-0.0007901241,
0.0083057415,
-0.016007429,
0.044153467,
-0.019214667,
-0.07783666,
0.019933779,
0.0076944963,
-0.018294204,
0.005134458,
-0.0052638985,
0.036617175,
0.03742258,
0.02656399,
-0.030777985,
-0.05816176,
-0.015777314,
0.039579913,
-0.0791023,
-0.019329725,
-0.0017420484,
-0.0489859,
-0.016669013,
0.02771457,
0.021285709,
-0.004045004,
-0.013619978,
-0.046972383,
-0.011225335,
0.026952311,
0.043261766,
-0.033798255,
-0.003660279,
-0.025197677,
0.045677982,
0.0051955828,
-0.03730752,
0.0024701492,
-0.009226205,
0.0033420722,
0.029339762,
-0.045706745,
-0.008722826,
0.028217947,
0.0014633925,
-0.025873642,
0.02604623,
-0.0077520255,
0.07864207,
-0.025097001,
-0.018438026,
-0.017229918,
-0.0013995713,
-0.0075075272,
-0.009226205,
0.028117271,
-0.022234937,
0.027297484,
-0.01569102,
-0.0037321902,
-0.014705837,
0.0112541,
-0.007083251,
-0.036703467,
-0.03937856,
-0.085257895,
0.0069286423,
0.031094395,
-0.013914813,
-0.04173725,
-0.018020943,
0.045361575,
-0.0034607255,
0.06230385,
0.07208377,
-0.029742464,
0.026132524,
-0.026074994,
0.037825283,
0.007201905,
-0.025269588,
-0.014504485,
-0.0074715717,
-0.039896324,
0.06236138,
-0.025240825,
-0.030893043,
-0.01737374,
0.034632426,
0.044613697,
-0.012807381,
0.021789089,
-0.010153859,
-0.016568337,
0.005152436,
0.064259835,
0.016712159,
0.045217752,
-0.017215537,
-0.00022056508,
-0.03290656,
0.0059146946,
0.04766273,
-0.03632953,
-0.034776248,
0.043204237,
-0.03215868,
-0.030288989,
0.01645328,
0.045217752,
-0.024234068,
-0.002617567,
-0.055946898,
0.04947489,
-0.028951442,
-0.017661385,
0.009254969,
-0.019027699,
-0.03158339,
0.02502509,
0.006738078,
-0.021947293,
-0.009334072,
0.044584934,
-0.012102651,
-0.014382237,
0.0019937374,
0.057471417,
0.008866648,
-0.01678407,
-0.024651153,
0.015158877,
-0.037825283,
0.0033240945,
0.024622388,
-0.026319493,
0.02719681,
-0.0022238533,
0.004875578,
0.07812431,
-0.007550674,
0.019243432,
0.024147775,
-0.03143957,
-0.056234542,
-0.03730752,
-0.002195089,
-0.02816042,
0.02347181,
-0.011541745,
0.028376153,
0.01665463,
0.006637402,
-0.008543048,
-0.07743396,
-0.029109646,
-0.008888222,
-0.03474748,
0.011110278,
-0.013965151,
0.03339555,
-0.014029872,
0.008866648,
-0.049244776,
-0.01665463,
0.035351537,
-0.027441306,
0.024737446,
-0.03555289,
-0.031036865,
-0.03825675,
-0.02109874,
-0.030202696,
0.033280496,
-0.0071731405,
-0.0087587815,
0.020278953,
0.0014588981,
0.021961674,
0.026520845,
0.0021717176,
0.0024108223,
-0.013684697,
-0.014784939,
-0.052897867,
0.0009797899,
0.014648308,
0.00035573562,
0.0058751437,
0.004534,
-0.005156032,
-0.006907069,
-0.04688609,
0.03595559,
0.028002214,
0.048554428,
-0.037249994,
0.0066769533,
-0.018639378,
0.014871232,
-0.040615436,
-0.011081513,
0.032964084,
-0.0038796081,
0.0063641397,
-0.013713462,
0.036300763,
0.01780521,
-0.010923308,
0.01620878,
0.012987159,
0.029210322,
-0.0128792925,
0.02913841,
0.032561384,
-0.0024899247,
0.020465922,
-0.043117944,
-0.019473547,
0.021515826,
-0.009808685,
0.04734632,
-0.0037142124,
-0.009930934,
-0.032475088,
0.021587737,
-0.004990636,
0.014971908,
0.012052314,
0.016927892,
-0.0005442778,
0.014166502,
-0.03138204,
-0.031842273,
-0.033222966,
-0.020652892,
0.034316014,
-0.022680787,
0.020595362,
-0.015532815,
0.00092315977,
0.003074203,
-0.0074499985,
-0.0072774114,
0.004656249,
0.0016009227,
0.012095461,
0.015058202,
-0.049877595,
-0.02875009,
0.024047099,
0.08186369,
-0.014281561,
-0.016913509,
0.018898258,
0.0366747,
-0.014396618,
-0.014691454,
-0.028476829,
-0.021774705,
-0.012045123,
0.013821329,
-0.021084359,
0.0055335653,
-0.017186772,
0.028534357,
-0.027225573,
-0.026017465,
-0.007874275,
0.016625864,
0.028606268,
0.0051416494,
0.015230788,
0.029972581,
0.04605192,
-0.03609941,
0.033798255,
-0.03492007,
0.044671226,
-0.0025708247,
0.012498164,
-0.0071228025,
0.0349776,
0.016884746,
0.033999607,
-0.015101348,
0.027858391,
0.025456559,
-0.0053106407,
-0.009046427,
0.03290656,
0.02836177,
-0.017891502,
0.0007078757,
0.008341697,
-0.02700984,
-0.009966889,
-0.052495163,
0.005202774,
-0.023371134,
-0.02135762,
-0.018998934,
-0.002453969,
-0.001533506,
-0.04677103,
-0.0065762773,
-0.043894585,
-0.0032737565,
0.079274885,
-0.0098877875,
0.022997195,
0.006482793,
-0.00331151,
0.070933186,
-0.007967759,
-0.003717808,
0.0055155875,
-0.027829627,
-0.039148446,
0.036760997,
0.009355645,
0.013900432,
-0.004875578,
-0.03762393,
0.009290924,
-0.0117718605,
-0.011304438,
-0.013109408,
0.015834842,
0.005742108,
-0.024190921,
-0.043635704,
0.003922755,
-0.013814138,
0.02745569,
0.01356964,
-0.0012602435,
-0.030605398,
0.02180347,
-0.026089376,
0.0005325922,
0.03362567,
0.03704864,
0.018481174,
0.1122965,
0.022292467,
0.001932613,
0.033194203,
-0.0019344108,
-0.006716504,
-0.039464857,
0.008219448,
-0.03762393,
0.022608876,
-0.021976057,
-0.05010771,
0.00984464,
0.035092656,
0.00675246,
-0.029483585,
0.001752835,
-0.004012644,
-0.047691494,
-0.026535226,
0.054134738,
0.0083057415,
0.0017078905,
-0.017114861,
0.010901735,
-0.06748145,
-0.032561384,
-0.036588408,
0.051143233,
0.0041492754,
-0.045821805,
-0.059657518,
-0.03929227,
0.0028261095,
-0.013174129,
-0.04484381,
0.027239956,
0.013655934,
0.03750887,
0.0384581,
0.016827216,
-0.02347181,
-0.021659648,
0.014497294,
0.05266775,
0.02854874,
0.08278415,
0.057931647,
0.027930303,
-0.003742977,
0.02765704,
0.0027218382,
-0.03290656,
0.00061214395,
-0.031986095,
-0.02211988,
-0.022652023,
-0.045879334,
-0.0174888,
0.015259553,
0.012613221,
0.019818721,
-0.04058667,
-0.04438358,
-0.06103821,
-0.02263764,
-0.06391466,
-0.002479138,
0.015719784,
-0.0070437,
0.03023146,
-0.052495163,
0.24691424,
0.05151717,
0.017344978,
0.010721957,
0.013972343,
0.028002214,
0.043750763,
0.008773164,
0.048094198,
-0.07875712,
0.02013513,
-0.012081078,
-0.029296616,
0.038486864,
-0.0073924693,
0.050913118,
-0.03736505,
0.013310759,
-0.042456362,
-0.04294536,
-0.07449999,
0.048583195,
0.006065708,
0.049618714,
0.026592756,
0.008881031,
-0.010916118,
-0.014159312,
0.01472741,
-0.045505397,
-0.026894782,
0.0075219097,
0.006547513,
-0.0047677113,
-0.025557233,
0.028304242,
-0.003147912,
-0.026635902,
-0.0070437,
-0.0074499985,
-0.035121422,
-0.027239956,
-0.021055594,
-0.0051416494,
-0.017632622,
0.05816176,
-0.004476471,
-0.031871036,
0.018610613,
-0.06604323,
0.005317832,
-0.019718045,
0.016007429,
-0.027052986,
-0.06989767,
-0.027887156,
0.020753566,
-0.050194003,
0.039522387,
-0.011527362,
0.014108974,
-0.0058499747,
-0.010383975,
-0.011246908,
0.006500771,
-0.0021321664,
-0.013447391,
0.0127786165,
-0.0046598446,
0.037825283,
0.02745569,
0.029828759,
-0.05491138,
-0.001696205,
-0.0074571897,
0.011203762,
0.009995654,
0.038947094,
0.0027919516,
-0.03736505,
-0.027182426,
-0.019631753,
0.0020440754,
-0.011635229,
0.03750887,
0.03273397,
-0.027369395,
-0.03428725,
0.001997333,
0.015000672,
0.03362567,
0.05821929,
-0.014677072,
0.01292244,
-0.0033942077
] | LeViT Architecture. Taken from the original paper.
This model was contributed by anugunj. The original code can be found here.
Usage tips |
[
0.018860525,
-0.032892752,
-0.023345899,
-0.012509671,
-0.03673344,
-0.027556939,
-0.017200798,
0.024662707,
-0.0016185759,
0.05722626,
0.009389112,
-0.009197077,
0.05080682,
-0.04276881,
-0.026953403,
0.01807867,
0.006323419,
-0.005675303,
-0.043838717,
-0.02161759,
0.00080671604,
0.0066286167,
-0.06315189,
-0.01997158,
0.0108019365,
0.014306565,
0.039202455,
-0.0013013761,
0.045100655,
0.030286571,
-0.039888293,
-0.003038259,
-0.0052912342,
-0.03253612,
-0.021329537,
0.022632629,
0.05566255,
-0.026596768,
-0.034017526,
-0.07313768,
-0.0012739426,
0.0023147005,
-0.011988435,
-0.054702375,
-0.03854405,
0.014868951,
-0.0011282022,
0.0027604948,
0.002055797,
-0.044359952,
0.006443441,
0.029381266,
0.017433982,
-0.017680883,
-0.003501199,
-0.011240872,
-0.006436582,
-0.03286532,
-0.0031411345,
0.03977856,
0.014855234,
0.031713113,
-0.013147499,
-0.046197996,
0.005593003,
0.041890938,
0.0018689064,
-0.00695096,
-0.0019220588,
-0.043152876,
-0.038571484,
0.05346787,
0.010397293,
-0.02410032,
-0.028091893,
-0.005809041,
0.020657416,
-0.014375148,
-0.017502567,
0.044140484,
-0.022522895,
0.033386555,
-0.002515308,
-0.021535289,
-0.003614362,
-0.038324583,
0.026720218,
-0.03223435,
0.018394154,
-0.03253612,
0.010671627,
0.031575944,
-0.00981433,
0.021411838,
0.023483066,
0.04419535,
-0.030067103,
0.043125443,
0.0063028443,
0.02275608,
0.039175022,
0.059914738,
-0.014731783,
0.020067597,
-0.039805993,
-0.012564538,
0.018901674,
-0.031027276,
0.013593294,
-0.025732612,
0.00627884,
-0.036321938,
0.0041561737,
0.005802183,
-0.0029953942,
0.0075579262,
0.02076715,
-0.0023284173,
-0.019724678,
-0.030533474,
0.010424726,
-0.018805657,
-0.02174104,
-0.06320676,
-0.022852097,
-0.01907999,
0.018942824,
0.051684693,
-0.06402976,
0.0049894657,
-0.021645023,
-0.014457448,
0.00026576192,
0.050367884,
-0.026829952,
0.013531568,
-0.0078048278,
0.024072887,
0.023318466,
-0.0351423,
0.0106373355,
-0.025307393,
0.0004138599,
0.08164206,
-0.009917206,
0.0044133626,
-0.008641549,
0.017447699,
-0.07319255,
0.02060255,
0.004701414,
-0.027460922,
-0.009341103,
0.0121118855,
-0.0006918383,
-0.0026661921,
-0.013812762,
0.024360938,
0.019107426,
0.037090078,
0.018887958,
0.019587511,
-0.024429522,
0.050998855,
-0.012900598,
0.038352016,
-0.019752111,
-0.0707784,
0.007352175,
-0.03294762,
0.011316314,
-0.013764753,
0.029271532,
0.018449022,
0.06353596,
0.018627338,
0.056074053,
0.0235105,
0.017118497,
0.005051191,
-0.013853912,
-0.005486698,
0.014498599,
0.026144115,
-0.017927784,
-0.00081271713,
0.0045025214,
0.0011402044,
-0.005010041,
-0.007551068,
-0.00083800737,
0.040382095,
-0.0027142009,
0.009958357,
-0.0089158835,
0.012626263,
-0.023839701,
-0.008079163,
-0.0007162712,
-0.049599748,
-0.047789138,
0.04010776,
-0.015486204,
0.010993971,
-0.026775084,
-0.009039335,
0.008950176,
0.022522895,
-0.03442903,
0.006316561,
0.046527196,
0.0054455474,
-0.06457844,
-0.011741533,
-0.0010236121,
-0.035279468,
-0.013113208,
0.01529417,
-0.021274671,
0.030807808,
-0.0075167757,
0.055251047,
0.069406725,
-0.008559248,
-0.024786158,
-0.018613622,
0.003197716,
0.055168748,
-0.015733106,
0.0037721046,
-0.011357465,
0.028997198,
-0.00024111464,
0.056403253,
0.014347714,
0.027954726,
0.021494139,
0.02692597,
-0.022426877,
0.0077156685,
-0.003905843,
0.040930767,
0.018874241,
0.044524554,
-0.0107470695,
-0.0037549587,
-0.000041766416,
-0.005641011,
-0.013469843,
0.0027056278,
-0.06666338,
0.072259806,
0.013264092,
0.01694018,
-0.02287953,
-0.028750297,
0.0151158525,
-0.006189681,
-0.024635272,
-0.009958357,
-0.018051235,
0.010088665,
-0.019477777,
0.013010332,
0.031466212,
0.04567676,
0.020273348,
0.018147253,
0.018188404,
-0.043180313,
-0.023620235,
-0.06468817,
-0.09305439,
0.0136687355,
-0.006392003,
0.021206087,
0.035498936,
-0.07780138,
0.014910101,
-0.041150235,
-0.0041321693,
0.008353497,
-0.028997198,
0.026020665,
0.03261842,
0.0075236345,
-0.032042313,
0.011302598,
-0.009793756,
0.03143878,
-0.020629983,
-0.01285259,
-0.002923381,
0.0033125938,
0.017845485,
0.002662763,
-0.0036452247,
0.008579823,
-0.032892752,
-0.023633951,
-0.03407239,
-0.024745006,
-0.008840442,
0.02178219,
-0.03311222,
0.026294999,
0.020081313,
-0.0073110247,
0.086909294,
0.051766995,
-0.046280295,
0.07752704,
-0.010897953,
0.005452406,
-0.032920185,
0.07220494,
0.011563215,
-0.012242194,
-0.03231665,
-0.00863469,
-0.04372898,
-0.037940513,
-0.019587511,
-0.050669655,
-0.030341439,
0.039668825,
-0.00009371323,
-0.08712876,
-0.0027862138,
-0.018641056,
-0.01820212,
-0.040464398,
0.0014033944,
0.018860525,
0.01423798,
0.013106349,
-0.047514804,
-0.0041870363,
-0.02747464,
0.009882914,
0.003168568,
-0.03703521,
0.035663534,
0.021754757,
-0.009917206,
-0.036129903,
0.021178653,
-0.03862635,
-0.013531568,
-0.019491494,
0.044167917,
0.004715131,
0.014087097,
0.027543223,
0.006412578,
0.06638905,
-0.045813926,
0.01630921,
0.039284755,
0.004293341,
0.022948114,
0.033441424,
0.012290203,
-0.0468564,
-0.009663447,
-0.06452356,
0.00051394926,
0.01651496,
0.06699258,
-0.06249349,
0.03703521,
-0.039037853,
-0.010198399,
-0.0040430105,
0.009430262,
-0.028585695,
0.039586525,
-0.0033674608,
0.06567577,
-0.032892752,
-0.05566255,
0.010164107,
-0.01726938,
0.04106793,
0.0105824685,
0.03404496,
-0.012317636,
-0.000030273284,
-0.04521039,
-0.0069921105,
0.0015902851,
0.018983975,
0.015911423,
-0.019011408,
-0.05695192,
-0.019162292,
0.03429186,
0.03412726,
0.030917542,
0.00800372,
0.0059942175,
-0.013648161,
0.06024394,
0.02292068,
0.0004968033,
0.00800372,
-0.053961672,
0.05464751,
0.030067103,
-0.004605397,
-0.017461415,
0.01285259,
-0.0137784695,
0.037638746,
-0.009169644,
0.03302992,
-0.057390857,
-0.0050443327,
-0.020835735,
0.045320123,
-0.046115696,
-0.020465383,
-0.035087433,
0.00042414747,
0.038105115,
-0.018531322,
0.0152255865,
-0.032371517,
0.0037789631,
-0.0007552782,
-0.054153707,
-0.039751124,
0.00081657496,
-0.01537647,
-0.048776742,
0.03585557,
0.048584707,
0.014855234,
0.010760786,
-0.017214514,
0.0028067888,
0.016062308,
-0.049736917,
-0.042165272,
-0.010959679,
-0.0019306318,
0.004547101,
0.043262612,
-0.026898535,
-0.0054043974,
0.008902167,
-0.012612547,
-0.03300249,
-0.01175525,
0.022083959,
-0.01289374,
0.011899276,
-0.002570175,
0.040135194,
0.019162292,
-0.02115122,
0.01470435,
0.033276822,
-0.02822906,
-0.025924647,
0.03130161,
-0.00484544,
0.0152804535,
0.061286416,
-0.0012525102,
-0.007057265,
0.016665844,
0.024237487,
-0.049023643,
0.007276733,
-0.02216626,
-0.0023644238,
0.0032320078,
-0.0048694443,
0.02768039,
0.0043619247,
0.07670403,
-0.030012237,
-0.0103355665,
-0.025732612,
-0.013051482,
-0.0018260416,
-0.012098169,
-0.02696712,
0.027378622,
-0.008154605,
-0.03796795,
-0.023153864,
-0.042796243,
-0.05338557,
-0.05431831,
-0.007166999,
-0.011240872,
0.05143779,
-0.0022083959,
0.008099738,
-0.020232199,
-0.06699258,
0.011028263,
-0.029353833,
0.013284667,
-0.05494928,
-0.00095845753,
0.009841764,
0.01883309,
-0.03311222,
0.010431584,
-0.01685788,
-0.017900351,
0.013250375,
-0.0014008225,
0.036596276,
-0.041726336,
-0.035252035,
0.04625286,
-0.019532643,
-0.065017365,
-0.056512985,
0.028805163,
0.0014616905,
0.01200901,
0.020136181,
-0.022097675,
-0.04962718,
0.0072561577,
0.009539995,
-0.04515552,
-0.013799045,
-0.031329043,
-0.061615616,
0.013716744,
0.036431674,
0.025499428,
-0.010095524,
-0.009361678,
-0.036980342,
-0.005692449,
-0.026679069,
-0.0065531745,
-0.019642377,
-0.000098267614,
-0.05173956,
0.054400608,
0.012866306,
0.014649483,
-0.0070126858,
0.033990093,
0.0066766255,
0.040464398,
-0.03324939,
-0.023181299,
0.0050443327,
-0.014690633,
-0.012880023,
0.018682206,
-0.049819216,
0.01828442,
-0.057061657,
0.023524217,
-0.016418943,
-0.0080174375,
-0.036129903,
-0.020506533,
0.040930767,
-0.011487774,
0.027844992,
0.008765,
0.043674115,
-0.0151707195,
0.02641845,
-0.014539749,
-0.0079625705,
-0.06803505,
-0.057610326,
0.018380437,
-0.012338212,
-0.004684268,
-0.0024381513,
-0.025101643,
0.07182088,
-0.03407239,
0.03412726,
0.054674942,
0.019669812,
0.013065199,
-0.026061814,
0.015815407,
0.01942291,
0.00061853946,
-0.0044510835,
0.002321559,
-0.017886635,
0.040382095,
0.0027313468,
0.0065325997,
-0.037172377,
0.022440594,
0.07154654,
-0.0152530195,
0.029463567,
-0.003509772,
-0.0643041,
0.0094919875,
0.0409582,
0.0075167757,
0.02464899,
0.0015654234,
0.025266243,
0.028805163,
0.011295739,
-0.0062205438,
-0.01318865,
-0.008854158,
0.062054552,
0.030478606,
-0.048502408,
0.027296321,
0.04348208,
-0.04866701,
-0.035828136,
0.0019220588,
0.025005626,
-0.027035704,
-0.011453481,
-0.008668982,
-0.008607257,
-0.025321111,
0.009519421,
0.0057781786,
-0.030012237,
-0.00036199347,
0.005894771,
0.0006343994,
-0.02806446,
0.0010733353,
0.057829794,
-0.014073379,
-0.028695429,
-0.03854405,
-0.0053666765,
-0.057884663,
0.02186449,
0.057445727,
0.014608333,
0.019313175,
0.047048435,
-0.0035697827,
0.08553762,
-0.02599323,
0.035581235,
0.017187081,
-0.04852984,
-0.041232534,
-0.0117141,
0.0066766255,
0.0002389714,
0.0047288476,
-0.03922989,
-0.0019186296,
0.048776742,
0.03662371,
-0.01141919,
-0.06649878,
-0.008209472,
-0.054290876,
-0.013353251,
0.0040773023,
-0.024223771,
-0.02536226,
-0.02178219,
-0.0029611022,
-0.048968777,
-0.019162292,
0.03977856,
-0.022248559,
0.0007304166,
-0.043756414,
-0.024031736,
-0.023112714,
-0.04433252,
-0.026871102,
0.0042419033,
0.007283591,
0.0076745185,
-0.030670641,
-0.014964968,
0.02346935,
0.042796243,
0.0043996456,
0.0061931103,
-0.03075294,
0.01268113,
-0.024717573,
0.0008418652,
0.0155547885,
-0.00737275,
0.044387385,
-0.05722626,
0.056293517,
0.0019614946,
-0.020780867,
-0.03409983,
0.03796795,
0.016638411,
-0.004715131,
-0.006964677,
0.0056170067,
0.013620727,
-0.013044624,
-0.03744671,
-0.013250375,
-0.008168321,
-0.004019006,
0.028722864,
-0.0020180761,
0.034017526,
0.043125443,
0.032755587,
-0.000112948816,
0.04019006,
0.007983145,
0.008579823,
0.01571939,
0.0035217742,
0.0032971625,
-0.0076333685,
0.054839544,
0.030094538,
-0.03215205,
0.03042374,
-0.013812762,
0.000031478856,
-0.03892812,
0.02570518,
0.033852924,
0.06847399,
0.006282269,
-0.000010796578,
0.008867876,
0.0135041345,
-0.009821189,
0.0177769,
-0.04521039,
-0.036651142,
0.0077842525,
-0.04924311,
0.00026769083,
-0.03719981,
-0.0017591724,
0.01613089,
0.00055895734,
-0.0037446711,
-0.005212363,
0.03396266,
0.025554296,
0.047295336,
-0.060189076,
0.00039649964,
-0.005970213,
0.021110069,
-0.02696712,
-0.04490862,
0.007482484,
0.049270544,
0.039559092,
-0.003631508,
-0.011350606,
0.0075099175,
-0.0094371205,
0.054592643,
0.0005611006,
0.0041973237,
-0.040985633,
0.03226178,
-0.035992738,
0.022097675,
0.006652621,
0.045457292,
0.0050786245,
-0.022179976,
0.0019049129,
0.022056526,
0.026720218,
-0.019354327,
0.04180864,
-0.00081400305,
0.045320123,
0.01714593,
0.0005928205,
0.009800614,
0.042988278,
0.040519264,
0.043207746,
-0.0048317234,
0.06271295,
0.022303427,
0.00004085554,
-0.022673778,
0.033907793,
-0.03193258,
-0.016871596,
0.0021346684,
-0.004492234,
-0.0124410875,
-0.017886635,
-0.0017626017,
0.004091019,
-0.02119237,
-0.020040164,
-0.016418943,
-0.020122465,
0.04466172,
-0.044359952,
-0.038352016,
0.011151713,
-0.028750297,
0.054126274,
0.019395476,
0.025636595,
0.02586978,
0.030094538,
0.06589524,
0.0043996456,
0.021507856,
0.019944146,
0.011604366,
-0.033935227,
0.024319788,
-0.0029405272,
-0.0067349216,
-0.030944975,
-0.02456669,
0.0053941095,
0.017379114,
0.0071395654,
-0.015266737,
0.017187081,
-0.020547682,
0.0095468545,
-0.07917305,
0.010301275,
-0.049819216,
0.010459018,
0.042576775,
-0.013099491,
-0.03042374,
0.05001125,
-0.048008606,
0.0060559427,
0.037007775,
0.020739717,
0.028640563,
0.055443082,
0.024155186,
0.014526032,
-0.0055724275,
0.04331748,
-0.0057610325,
-0.041095365,
0.021398121,
-0.0042076115,
0.016172042,
-0.038269717,
-0.047844004,
0.015060985,
0.042165272,
-0.03253612,
-0.020794585,
-0.017667167,
0.030368872,
-0.049572315,
-0.03105471,
0.0947004,
-0.024004303,
-0.020492816,
-0.01655611,
0.009210794,
-0.060902346,
-0.00028290786,
-0.04724047,
0.039531656,
-0.0024364367,
-0.036075037,
-0.025856063,
-0.037144944,
0.010404151,
0.0035114866,
-0.027406055,
0.0018534751,
0.037474144,
0.013154358,
0.017516283,
0.023441916,
-0.028695429,
-0.008113454,
0.023880852,
0.06562091,
0.03388036,
0.081587195,
0.088171236,
-0.020163614,
0.03215205,
0.017283099,
-0.011131139,
-0.027584374,
0.0042521907,
0.0119747175,
0.011124279,
-0.01962866,
-0.027611807,
-0.05086169,
0.07286335,
0.010891095,
-0.008620974,
-0.061670482,
-0.0017017336,
-0.057390857,
-0.028750297,
-0.049791783,
0.020341933,
0.016185759,
-0.0039367056,
0.027927293,
-0.06342623,
0.2216626,
0.042604208,
0.050834253,
0.047048435,
-0.0030193983,
0.054455474,
0.025060492,
-0.020835735,
0.00918336,
-0.0754421,
0.024306072,
-0.02861313,
0.010095524,
0.058707666,
0.01891539,
0.033084787,
-0.054537777,
-0.047761705,
0.00023661384,
-0.036678575,
-0.048063472,
0.020081313,
-0.0023352758,
0.026336148,
-0.010767644,
0.016076025,
0.038022816,
-0.0018569042,
0.02511536,
-0.013572719,
0.011570074,
0.009265661,
0.023812268,
-0.009011901,
-0.018407872,
0.037940513,
0.0076333685,
-0.052644864,
0.030341439,
-0.03253612,
-0.00665605,
-0.016199475,
-0.0062342603,
-0.009155927,
-0.02861313,
0.03475823,
0.009704596,
-0.009526279,
0.050148416,
-0.06402976,
0.020918036,
-0.022138825,
-0.0049243113,
-0.016172042,
-0.055964317,
-0.024155186,
-0.019107426,
-0.039888293,
0.023702534,
-0.004492234,
0.025718896,
0.038982987,
-0.0088061495,
0.008209472,
-0.06271295,
0.019299459,
0.016240625,
0.016583543,
-0.042960845,
-0.016528677,
0.020314498,
0.013140641,
-0.01478665,
-0.030835241,
0.024168903,
0.006481162,
-0.006175964,
0.046527196,
0.012969182,
-0.046911266,
-0.0055655693,
-0.02721402,
-0.041342266,
-0.03925732,
0.029929936,
0.058488198,
-0.03821485,
0.0051849294,
-0.011638657,
0.0017488849,
-0.015815407,
0.052480265,
-0.007482484,
0.016322926,
0.002772497
] |
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
LevitConfig
[[autodoc]] LevitConfig
LevitFeatureExtractor
[[autodoc]] LevitFeatureExtractor
- call
LevitImageProcessor
[[autodoc]] LevitImageProcessor
- preprocess
LevitModel
[[autodoc]] LevitModel
- forward
LevitForImageClassification
[[autodoc]] LevitForImageClassification
- forward
LevitForImageClassificationWithTeacher
[[autodoc]] LevitForImageClassificationWithTeacher
- forward |
[
0.014785249,
-0.008769474,
-0.034626007,
-0.0111630745,
0.035303842,
-0.01516653,
-0.0012153347,
-0.03996395,
0.0065170894,
0.095800504,
0.017524827,
0.008077519,
0.05018794,
-0.04355082,
-0.004547135,
0.0059098634,
0.021252913,
-0.033411555,
-0.045640808,
-0.00679599,
0.036800724,
0.029344553,
-0.08297815,
-0.0487193,
-0.023258172,
0.034654252,
0.029655227,
0.010223993,
0.052616846,
0.025503496,
-0.004540074,
-0.03821288,
0.024289044,
-0.0332421,
-0.018908737,
-0.029429283,
0.0022718022,
-0.008931872,
-0.028144224,
-0.048945248,
0.028186588,
-0.04292947,
0.013344852,
-0.062756106,
-0.009426126,
-0.0052955765,
0.030841436,
-0.00808458,
-0.018682793,
-0.02277804,
-0.04264704,
-0.009412005,
-0.031010894,
-0.012144522,
-0.005945167,
-0.022425001,
0.000279121,
-0.022269664,
-0.0130906645,
-0.0007259353,
0.02499512,
0.02876557,
0.00918606,
-0.07247173,
0.007046647,
-0.006697139,
0.00071004854,
-0.0074561713,
-0.03445655,
-0.021111697,
-0.044850003,
-0.009080148,
-0.07676467,
-0.06055315,
-0.03389169,
0.016705777,
0.019628936,
0.019049954,
-0.008063397,
0.034964927,
0.03699843,
0.043776765,
-0.010718247,
0.0026389621,
-0.042195152,
-0.04493473,
0.05377481,
-0.011198379,
-0.052503873,
-0.005465035,
-0.005154361,
0.025701197,
-0.00955322,
0.044030953,
-0.008028094,
0.012709383,
0.021380007,
0.014382785,
0.01808969,
-0.016338618,
0.0014368664,
0.051939014,
-0.031095624,
0.0560625,
-0.0966478,
-0.017934352,
-0.004247052,
-0.04823917,
-0.029344553,
-0.071906865,
0.0098638935,
0.008854204,
-0.015180652,
0.019360628,
-0.0018675732,
0.021662438,
0.03705491,
0.007322017,
-0.037422072,
-0.015561934,
-0.005888681,
-0.006118156,
-0.0011862091,
-0.00762563,
-0.016225645,
-0.029626984,
0.052532118,
0.04880403,
-0.048182685,
-0.020702174,
0.028920908,
-0.03005063,
-0.03849531,
0.038608283,
-0.011932699,
-0.050865777,
-0.013295427,
0.014269813,
-0.0088895075,
0.036264107,
0.0033891688,
0.0010670586,
0.013344852,
0.072980106,
-0.020080825,
0.012977692,
-0.037760988,
-0.014827614,
-0.033129126,
-0.021111697,
0.009998048,
0.0007378503,
0.0040458203,
0.04143259,
-0.024924513,
0.011339594,
-0.01801908,
0.035981677,
0.006559454,
0.021605952,
-0.02903388,
-0.022806281,
-0.041489076,
0.06111801,
-0.044652298,
0.062360708,
-0.019600693,
-0.004907234,
-0.008487044,
-0.042364612,
-0.019614814,
0.009680314,
0.0045436043,
0.040472325,
0.0008269925,
0.031914674,
0.059140995,
-0.031660486,
-0.013267184,
0.014298056,
-0.008444679,
-0.046092696,
0.018583942,
0.044793516,
0.006358222,
-0.005567416,
0.0014898222,
0.006792459,
-0.021704802,
0.0029055062,
-0.009454369,
0.028186588,
0.01166439,
0.008063397,
-0.031491026,
-0.005090814,
-0.02022204,
-0.024133706,
0.00606167,
-0.04705296,
-0.05394427,
0.0336375,
-0.016592806,
-0.0035303843,
-0.051882528,
0.031462785,
0.0466858,
0.072584696,
-0.06919553,
0.008981298,
0.028709084,
-0.0010344025,
0.0023936005,
-0.005355593,
0.061400443,
-0.015265381,
0.010033352,
-0.001457166,
-0.0024041918,
-0.0073290775,
0.03445655,
0.004345903,
0.0059239846,
-0.01176324,
-0.03637708,
0.013330731,
0.0066371225,
0.026251936,
0.020066705,
0.027042743,
0.0025065728,
-0.00060016534,
-0.026717948,
0.06298205,
0.029739957,
-0.00900248,
0.042195152,
0.025249308,
-0.013125968,
0.019049954,
0.018075567,
0.017482463,
0.019812517,
0.021690682,
0.020094948,
-0.0056556757,
-0.033778716,
0.03747856,
-0.011692633,
-0.01736949,
-0.03637708,
0.035812218,
0.02397837,
0.016917601,
-0.029259825,
-0.007964547,
-0.010690004,
0.026011871,
0.004487118,
-0.0059169238,
-0.007745663,
0.006012244,
0.034484793,
-0.02811598,
0.034597766,
0.060948554,
0.020165555,
-0.0071278457,
0.011170136,
-0.026421396,
-0.045810267,
-0.038156394,
-0.11167312,
-0.020659808,
-0.056627363,
-0.042166907,
-0.00339976,
0.0048825215,
-0.009821529,
0.007583265,
-0.010351087,
0.023780668,
-0.045612562,
0.016380982,
0.041771505,
-0.008345828,
-0.0314063,
0.07738602,
-0.011050102,
-0.00095143856,
-0.018033203,
-0.044030953,
-0.011459627,
0.018979346,
-0.029203339,
-0.02342763,
0.00035502427,
0.018626308,
-0.055808313,
0.01167145,
-0.0068242326,
-0.022820404,
-0.031039137,
-0.009313154,
-0.0542267,
0.03829761,
-0.0008234621,
-0.028158344,
0.05614723,
0.027325174,
-0.037365586,
0.045499593,
-0.0038339973,
0.027268687,
-0.012730566,
0.060779095,
0.06382935,
-0.0016469242,
0.01405799,
-0.025051607,
-0.017171789,
0.0059698797,
0.0029478709,
-0.06269962,
-0.010499363,
0.039031927,
0.0026319015,
-0.055469397,
-0.030304817,
-0.03177346,
-0.07569144,
0.015152409,
-0.015689027,
0.03380696,
0.034428306,
0.02434553,
-0.053464137,
0.0144322105,
-0.0054226704,
0.015194774,
0.0034032904,
-0.042336367,
0.053464137,
0.037280858,
-0.014100354,
0.0020793963,
0.0036045222,
-0.036122892,
0.023413507,
0.01387441,
0.020899875,
0.019699544,
0.01102892,
-0.013316609,
-0.014771127,
0.015152409,
-0.030361304,
-0.00762563,
0.024966877,
-0.007590326,
0.025785927,
0.019360628,
-0.029118609,
0.00052602723,
-0.0074985363,
-0.022566216,
0.010675882,
0.027861793,
0.018414484,
-0.057107493,
0.019897245,
-0.017962595,
-0.008338767,
0.020546837,
0.0118126655,
-0.028807934,
0.05394427,
0.029118609,
0.0766517,
-0.051515367,
0.02940104,
0.036631268,
-0.02499512,
0.0030626084,
0.046601072,
0.026138965,
-0.021281157,
-0.024048977,
-0.04521716,
-0.009645009,
0.033383314,
0.0093767,
-0.03911666,
0.024783297,
-0.02479742,
-0.03702667,
0.0008949524,
0.017101182,
0.021168184,
0.0021094047,
0.042364612,
-0.007646812,
0.014347482,
0.01820266,
-0.024105463,
-0.020815145,
-0.028045373,
0.012349284,
-0.01800496,
-0.026661461,
-0.038721256,
-0.0050943443,
0.005503869,
0.020066705,
-0.01801908,
0.017214153,
-0.035896946,
-0.06027072,
0.0062876143,
0.033326827,
0.027438147,
-0.007597387,
-0.033185612,
0.002720161,
0.028469019,
-0.041234888,
-0.0006725382,
-0.035896946,
0.046742287,
-0.0033468043,
-0.053181708,
-0.007745663,
-0.024740933,
-0.019600693,
-0.025672954,
0.04566905,
0.015392475,
-0.029344553,
0.010365208,
-0.024981,
0.022891011,
0.006322918,
0.029118609,
-0.025955385,
0.009235485,
0.0055532944,
0.02177541,
0.046572827,
0.0072655305,
0.020688051,
0.03437182,
-0.014156841,
0.037167884,
-0.036122892,
-0.011798544,
0.016578684,
0.0002349912,
-0.03584046,
0.0041517317,
0.025221065,
-0.0010635282,
-0.0036821908,
0.025362281,
-0.016479833,
-0.02397837,
0.013535493,
-0.008049276,
0.054932777,
0.015095923,
-0.01865455,
0.008981298,
0.010407573,
0.033835202,
-0.06625825,
0.0167199,
0.006192294,
0.0059310454,
-0.026251936,
-0.020899875,
0.033609256,
0.013274245,
0.044511084,
-0.0031155641,
-0.00010387052,
-0.015223017,
-0.011614964,
-0.0118338475,
0.03151927,
-0.008508226,
0.015604299,
0.004935477,
0.008945993,
0.0213094,
-0.013344852,
-0.035642758,
-0.040867727,
-0.046431612,
-0.0026954485,
0.02572944,
0.0006963683,
0.04849336,
-0.004427102,
-0.06716203,
-0.008190491,
-0.011770301,
-0.0031085033,
-0.048408628,
0.020970482,
-0.0046248036,
-0.011043042,
-0.03245129,
0.0039646216,
-0.030191846,
-0.039625034,
0.0038798922,
0.00038569447,
0.00551093,
-0.009680314,
-0.0065382714,
0.04979254,
-0.009757982,
-0.04041584,
-0.023964249,
0.007526779,
-0.0032920833,
-0.008974236,
0.041093674,
-0.037337344,
-0.029909415,
-0.025065728,
0.017313004,
-0.0766517,
0.0011279577,
-0.011057164,
-0.019219412,
-0.013634344,
0.012215129,
0.035077896,
-0.00661241,
0.0054932777,
-0.024670325,
0.026350787,
-0.039257873,
-0.043522578,
-0.01865455,
-0.0065876967,
-0.04179975,
0.062191248,
0.00872711,
-0.022241421,
-0.020462107,
0.013662587,
-0.0038092847,
0.008762414,
-0.032310076,
-0.039850976,
-0.00661947,
-0.0034438898,
0.0205892,
0.0051931953,
-0.037704505,
0.04253407,
-0.038834225,
0.022495609,
-0.022368515,
-0.0038622404,
0.008310525,
-0.06326448,
0.07857223,
-0.0121374605,
0.023992492,
-0.015802,
0.012377527,
-0.015547812,
-0.009044845,
-0.034004662,
-0.02554586,
-0.041489076,
-0.038156394,
0.016268011,
-0.023229929,
0.010979495,
-0.0048225047,
0.009320214,
0.023046348,
0.021535344,
0.030107116,
0.04869106,
0.009454369,
0.0011147188,
-0.0288503,
0.001994667,
0.021097576,
0.00023719769,
-0.001171205,
-0.0019417113,
-0.003629235,
-0.023018105,
-0.03886247,
-0.0468835,
-0.012193947,
-0.0007555022,
0.03346804,
-0.017440097,
0.03897544,
-0.035642758,
-0.033185612,
-0.018174417,
0.016522199,
0.012836477,
0.01673402,
0.033552773,
0.003316796,
0.05145888,
0.059479915,
-0.0101463245,
-0.050018482,
-0.006562984,
0.04439811,
-0.021365885,
-0.050752804,
0.046996474,
0.046431612,
0.012342223,
-0.037252616,
-0.00011848852,
-0.0072019836,
0.016098551,
-0.010894766,
0.013387217,
-0.029146852,
-0.0127870515,
0.003150868,
0.030615492,
0.0013644935,
-0.008063397,
0.044878244,
0.008995419,
-0.07540901,
0.047646064,
0.04953835,
-0.040585298,
-0.008974236,
-0.021944867,
-0.025531739,
0.0057439352,
-0.013062421,
0.041771505,
-0.016790507,
-0.017891986,
0.009814468,
0.04041584,
0.049849026,
0.031604,
0.014644034,
0.021168184,
-0.023399387,
-0.06433772,
-0.0071313763,
0.031942915,
0.03471074,
0.043635547,
-0.040952455,
0.031745214,
0.032394804,
0.017567191,
-0.043833252,
-0.049199436,
-0.028624356,
-0.032846693,
0.021605952,
-0.02709923,
-0.010690004,
-0.007660934,
0.022975741,
-0.0091931205,
-0.032140616,
0.027367538,
0.037167884,
-0.01011102,
-0.016875237,
-0.046262156,
-0.020829268,
-0.03510614,
-0.010612335,
-0.005037858,
-0.0014103885,
0.023215806,
0.01203155,
-0.028341925,
0.0026954485,
0.011946821,
-0.0021711863,
-0.013796741,
0.015971458,
-0.011431384,
-0.00725847,
-0.043607306,
0.02811598,
-0.0033379784,
0.011968003,
0.03552979,
-0.045301892,
-0.015138287,
0.03188643,
0.0213094,
-0.009454369,
0.010499363,
0.0022982801,
0.00065179716,
0.020024339,
0.015477205,
0.019261776,
-0.07122903,
-0.040839486,
0.00698663,
-0.034315333,
0.009694435,
0.00023388796,
0.024317287,
0.07207632,
0.033326827,
0.034343578,
-0.028638477,
0.02856787,
-0.016790507,
-0.004144671,
0.015491326,
-0.0007974255,
-0.051232934,
-0.058011275,
0.0279324,
0.043014202,
-0.05501751,
0.013344852,
0.010760611,
-0.042590555,
-0.026435517,
-0.0063723437,
0.023681818,
0.020984603,
0.01479937,
0.057022765,
0.01166439,
0.015745513,
-0.030248333,
-0.04795674,
-0.039483815,
-0.018033203,
0.028059494,
-0.052701574,
0.010746489,
-0.033976417,
-0.009320214,
0.048380386,
0.03640532,
0.02903388,
0.029146852,
0.014290995,
-0.017341247,
0.028073614,
-0.05733344,
0.005341471,
0.0037704504,
0.013648465,
-0.05484805,
-0.055469397,
0.02140825,
0.041404348,
-0.026774434,
-0.02784767,
-0.081170596,
0.0025965977,
0.020603321,
-0.008825961,
-0.032366563,
0.026520247,
-0.034654252,
0.039003685,
-0.0074985363,
-0.017849622,
0.017425977,
0.022679187,
0.019953731,
0.009066027,
0.009722678,
-0.014531061,
0.043663792,
-0.04326839,
0.026421396,
0.0029637576,
0.034964927,
0.023667695,
-0.01938887,
-0.010153385,
0.020165555,
0.0081975525,
0.005948697,
0.00020906494,
0.05018794,
0.017581314,
-0.045301892,
0.020899875,
0.05320995,
-0.029259825,
-0.0077386023,
0.0073008346,
-0.046149183,
0.050300915,
-0.025291672,
0.014305117,
-0.006329979,
0.020320892,
0.0064111776,
0.02489627,
-0.009510855,
0.026506124,
-0.031829946,
-0.054706834,
-0.0046000904,
0.03425885,
0.032931425,
0.011099528,
0.014629913,
0.027452268,
0.011897394,
0.051769555,
0.003996395,
0.038890712,
-0.005041389,
0.0068242326,
-0.001594851,
0.035049655,
-0.037619773,
-0.030163603,
0.026153086,
-0.02948577,
-0.016437469,
0.038805984,
-0.009814468,
-0.020010218,
0.040585298,
-0.007184332,
-0.042025693,
-0.07642576,
0.0130694825,
-0.02571532,
0.023582967,
0.03417412,
-0.014262753,
-0.0391449,
0.04453933,
-0.033581015,
0.009383761,
0.062417194,
0.036800724,
-0.0010299896,
0.095856994,
0.024924513,
0.03242305,
0.051317666,
0.0031561635,
-0.054452647,
0.0009620297,
-0.0034597765,
-0.0124834385,
0.040105164,
-0.039822735,
-0.07580441,
0.050413888,
0.019120561,
0.017044695,
-0.029062122,
0.021803653,
0.0159997,
-0.020885753,
-0.028144224,
0.078798175,
-0.013810863,
0.018117933,
0.000105139254,
-0.019134682,
-0.032761965,
-0.0101675065,
-0.021154063,
0.038580038,
-0.00012808676,
-0.008381132,
-0.0010299896,
-0.038608283,
-0.016324496,
0.036264107,
0.001796083,
-0.024006613,
0.030841436,
0.030078873,
0.050865777,
0.011579661,
-0.0187534,
-0.036320593,
0.038551796,
0.038580038,
-0.013860288,
0.09082972,
0.055610612,
-0.0050025545,
-0.0021994293,
0.021365885,
0.01818854,
-0.01047818,
0.009016601,
0.02903388,
-0.016282132,
0.010315782,
-0.038890712,
0.013535493,
0.010619395,
0.020899875,
-0.036461808,
-0.02801713,
0.023568844,
-0.06490258,
0.049001735,
-0.009976866,
0.03259251,
-0.011184257,
-0.05391603,
0.004610682,
-0.0050096153,
0.23543426,
0.08958703,
0.05117645,
0.02784767,
0.012737626,
0.0024695038,
0.053464137,
-0.042166907,
0.023681818,
-0.018598065,
0.03482371,
-0.03389169,
-0.009299032,
0.0046248036,
0.012186887,
0.031688727,
0.002774882,
0.008804779,
0.00010011949,
-0.019233534,
-0.020913996,
0.031378053,
-0.007837453,
0.027466388,
0.026110722,
0.029711714,
-0.00028110686,
-0.025319915,
-0.022410879,
-0.015350111,
0.014121537,
-0.020278526,
0.051148206,
-0.03177346,
-0.014898221,
0.04307069,
0.016013823,
-0.07936304,
-0.012674079,
-0.023568844,
-0.029514013,
-0.05818073,
0.017567191,
-0.024006613,
-0.042562313,
0.05733344,
0.030813193,
-0.027000379,
0.031095624,
-0.060892068,
0.027734699,
-0.008282281,
0.031462785,
-0.029372796,
-0.049651325,
-0.008974236,
-0.017623678,
-0.03473898,
0.014453393,
-0.036603022,
0.021351764,
0.007413807,
0.0008923046,
-0.003334448,
-0.0028172466,
0.009645009,
-0.01735537,
0.002344175,
-0.016776387,
-0.0011350185,
0.035247356,
-0.025277551,
-0.013203637,
0.02959874,
0.00836701,
0.023582967,
-0.0051261177,
0.06885661,
-0.008557651,
-0.018894617,
-0.021012846,
-0.015689027,
0.008028094,
-0.026308423,
0.011170136,
0.036715996,
-0.03279021,
-0.008430557,
0.0068983706,
0.042223394,
0.01902171,
0.016465712,
0.007526779,
0.011276047,
0.047646064
] |
MobileNet V2
Overview
The MobileNet model was proposed in MobileNetV2: Inverted Residuals and Linear Bottlenecks by Mark Sandler, Andrew Howard, Menglong Zhu, Andrey Zhmoginov, Liang-Chieh Chen.
The abstract from the paper is the following:
In this paper we describe a new mobile architecture, MobileNetV2, that improves the state of the art performance of mobile models on multiple tasks and benchmarks as well as across a spectrum of different model sizes. We also describe efficient ways of applying these mobile models to object detection in a novel framework we call SSDLite. Additionally, we demonstrate how to build mobile semantic segmentation models through a reduced form of DeepLabv3 which we call Mobile DeepLabv3.
The MobileNetV2 architecture is based on an inverted residual structure where the input and output of the residual block are thin bottleneck layers opposite to traditional residual models which use expanded representations in the input an MobileNetV2 uses lightweight depthwise convolutions to filter features in the intermediate expansion layer. Additionally, we find that it is important to remove non-linearities in the narrow layers in order to maintain representational power. We demonstrate that this improves performance and provide an intuition that led to this design. Finally, our approach allows decoupling of the input/output domains from the expressiveness of the transformation, which provides a convenient framework for further analysis. We measure our performance on Imagenet classification, COCO object detection, VOC image segmentation. We evaluate the trade-offs between accuracy, and number of operations measured by multiply-adds (MAdd), as well as the number of parameters.
This model was contributed by matthijs. The original code and weights can be found here for the main model and here for DeepLabV3+.
Usage tips |
[
0.00041972313,
-0.017898686,
-0.0338308,
-0.029327625,
0.0023210577,
-0.0063165547,
0.007880553,
-0.022373358,
-0.006548126,
0.06275941,
0.0003284306,
-0.03673791,
0.043777682,
-0.041754104,
0.0053724563,
0.0026701961,
0.0033880675,
-0.019637253,
-0.04899338,
-0.010716411,
0.0103815235,
0.015732603,
-0.0728488,
-0.04141209,
-0.023057384,
0.006127735,
0.056631673,
-0.0114075625,
0.07997407,
0.04269464,
0.015746854,
-0.044917725,
0.023071636,
-0.030838184,
-0.016302625,
0.0059567285,
0.01772768,
-0.02525197,
-0.036310393,
-0.04038605,
0.031892724,
0.021418571,
-0.04457571,
-0.05780022,
-0.012690112,
0.0038369598,
0.0075171636,
-0.068858646,
-0.013381263,
-0.030353665,
-0.041668598,
0.013830156,
-0.0074886624,
0.0144856805,
-0.021076558,
-0.009775875,
0.012070213,
0.012861119,
0.014428679,
0.01771343,
0.04773933,
-0.0051515726,
0.026164005,
-0.047767833,
0.018083945,
0.005076757,
0.02401217,
0.0129964985,
0.009668996,
-0.058056727,
-0.07324781,
0.0034450698,
-0.029270623,
-0.054864604,
-0.038789988,
0.015761105,
-0.016217122,
0.023499152,
-0.0063201175,
0.0075741657,
-0.016131619,
-0.010709286,
-0.025850492,
-0.011421814,
-0.024624946,
-0.02630651,
0.014720815,
-0.020421034,
-0.043863185,
-0.03722243,
0.004292977,
0.030838184,
0.008058684,
0.048337854,
0.015618599,
0.04246663,
-0.02992615,
0.053696062,
-0.0076525435,
0.00697208,
-0.0047703707,
0.08174114,
-0.05030443,
0.073361814,
-0.04346417,
-0.0013074877,
-0.0010393993,
-0.03824847,
-0.0124336025,
-0.042637635,
0.005600465,
0.008949343,
-0.015091329,
0.020264277,
0.00293205,
-0.0028109204,
-0.013146129,
0.021062309,
-0.028800355,
-0.0273468,
0.0018668217,
-0.018938977,
0.01290387,
0.003274063,
-0.00035759967,
-0.0416401,
0.023584655,
0.01447143,
-0.05135897,
-0.009027721,
0.019209737,
0.015775355,
-0.00613486,
0.08157013,
-0.03964502,
-0.031892724,
-0.0013733965,
0.018397456,
-0.0018329766,
0.0037870829,
0.0019541061,
-0.048879378,
0.0013333168,
0.075926915,
-0.023527652,
0.017912937,
-0.013210257,
-0.03177872,
-0.04486072,
0.008685708,
-0.0099183805,
-0.0006261334,
-0.015390591,
0.047083806,
-0.03440082,
0.00002855676,
-0.00768817,
0.027788566,
0.008222566,
0.035882875,
0.035255853,
0.009661871,
-0.038419474,
0.034771334,
-0.01952325,
0.06646455,
-0.041497592,
-0.02500971,
0.0063984958,
-0.032092232,
0.0009913037,
0.003201029,
0.0040649683,
-0.00990413,
0.04742582,
0.02738955,
0.086130306,
-0.0076810447,
-0.005874788,
0.0059460406,
-0.021589579,
-0.038732987,
-0.012298222,
0.028999863,
-0.01799844,
-0.021504074,
0.020734545,
0.0051658233,
0.012105839,
0.018810721,
0.0032330928,
0.055577133,
-0.027475055,
0.026605772,
-0.052413512,
0.014877571,
-0.009996759,
-0.022786625,
0.017670678,
-0.041811105,
0.00074993505,
0.04620027,
-0.0002725417,
-0.00040658592,
-0.06042232,
0.022971882,
0.030923687,
0.035113346,
-0.06230339,
-0.004706243,
0.015590099,
0.024981208,
0.004538799,
0.015020076,
0.01329576,
-0.008051559,
-0.0044639837,
0.013302886,
0.00018481178,
-0.022273606,
0.01722891,
0.024596443,
0.013659149,
-0.03693742,
-0.010716411,
-0.003496728,
0.029840644,
0.020663293,
0.017143408,
0.026164005,
-0.00001653286,
0.012597484,
-0.011436064,
0.033175275,
0.013801655,
0.023812665,
0.011257932,
0.012925246,
-0.00976875,
0.0068010734,
-0.0247247,
0.01982251,
0.030667176,
0.028843107,
-0.013602147,
0.013324262,
-0.014820569,
0.0017786464,
-0.034742832,
0.0019647942,
-0.04454721,
0.08128512,
-0.01976551,
-0.006038669,
-0.04768233,
-0.039702024,
-0.0037443312,
-0.019908015,
0.0044568586,
-0.014991575,
-0.033802297,
0.02707604,
-0.0234564,
-0.01979401,
0.073817834,
0.06914365,
0.008094311,
0.04850886,
-0.004805997,
-0.050133426,
-0.031864222,
-0.06703457,
-0.080031075,
0.01014639,
-0.040015537,
-0.06025131,
0.026349261,
-0.031949725,
0.024211679,
-0.0017920063,
-0.026819529,
0.02841559,
-0.045658752,
0.018668216,
0.044661213,
0.0089422185,
-0.020862801,
0.082140155,
-0.0047810585,
0.030610174,
0.029099617,
-0.034201313,
-0.015034327,
0.012105839,
0.017428419,
-0.017300164,
0.007396034,
0.0070682713,
-0.035284355,
-0.00055354467,
-0.0015256992,
-0.0052691395,
-0.03098069,
0.05315454,
-0.033802297,
0.018668216,
0.0006666584,
-0.02134732,
0.05523512,
0.045459244,
-0.03693742,
0.050760448,
-0.013188881,
0.033289276,
-0.023142887,
0.08818238,
0.021333069,
-0.01799844,
-0.007787924,
-0.010267519,
-0.01132206,
-0.008051559,
-0.026434764,
-0.061106347,
-0.03494234,
0.04819535,
-0.011856455,
-0.049135886,
-0.017100656,
-0.04403419,
-0.049135886,
0.0005749205,
-0.017129157,
0.042153116,
0.00898497,
0.001191702,
-0.01878222,
0.019394994,
0.0051444476,
0.007445911,
-0.015276587,
-0.046000764,
0.041554596,
0.038846992,
0.023826914,
-0.00044532958,
0.03938851,
-0.025052462,
0.029327625,
0.025494229,
0.0468558,
0.032491248,
-0.009897005,
-0.017129157,
-0.008671458,
0.008657207,
-0.017057905,
-0.008422073,
0.023399398,
-0.018012691,
0.074159846,
0.016402379,
-0.036880415,
0.022458863,
-0.040842067,
-0.016259873,
-0.013253009,
0.01406529,
0.036025383,
-0.03670941,
0.043492667,
-0.008806838,
-0.019851012,
0.008621581,
-0.0033542225,
-0.05865525,
0.022743873,
0.00174302,
0.05583364,
-0.02630651,
-0.003222405,
0.004121971,
-0.009740249,
0.0054258956,
0.03308977,
0.033574287,
-0.030553173,
0.025451478,
-0.045886762,
0.020948304,
0.009198728,
0.0312942,
-0.018454459,
0.0061740493,
-0.02738955,
-0.009455238,
0.017642178,
0.018112445,
0.025180716,
0.0016771113,
0.07872002,
-0.040728062,
0.048081346,
0.016587637,
0.009897005,
-0.007659669,
-0.04038605,
0.013751778,
0.009640495,
-0.033716794,
-0.030068655,
0.035255853,
-0.014663813,
0.018183697,
-0.018368956,
0.028729102,
-0.031436708,
-0.020392533,
-0.003217061,
0.05033293,
0.0024208117,
-0.024696197,
-0.06173337,
0.022886379,
0.020278528,
-0.016587637,
0.007951805,
-0.06070733,
-0.004920001,
0.038732987,
-0.038077462,
-0.019494748,
0.020449534,
-0.002030703,
-0.015062828,
0.03881849,
0.059510283,
-0.016373878,
0.0016690952,
-0.027988074,
-0.0064697484,
0.010987172,
0.018041192,
-0.029413128,
0.049363896,
-0.0044105444,
0.0044247946,
0.033203773,
0.003687329,
0.0060564824,
0.015989114,
-0.04528824,
0.023242641,
-0.01902448,
-0.033773795,
-0.00058649905,
0.009319858,
-0.062873416,
0.02134732,
0.016188622,
-0.010246143,
-0.01329576,
0.019109983,
-0.010581031,
-0.045687255,
-0.0007089647,
0.0028216082,
0.03542686,
0.04657079,
-0.032377243,
-0.017741932,
0.0068580755,
0.025209218,
-0.06920066,
0.022758123,
-0.0053617684,
-0.0085289525,
-0.015319338,
-0.022202352,
0.046542287,
-0.01029602,
0.041611597,
-0.0020164524,
0.020193025,
-0.016060367,
-0.016302625,
0.00026964708,
0.0072428402,
-0.035398357,
0.027902571,
0.027475055,
-0.022088347,
0.008678583,
-0.014706564,
-0.024396935,
-0.01133631,
-0.009127475,
0.0007855614,
0.038419474,
-0.0016958151,
0.01591786,
-0.016302625,
-0.058826257,
-0.0051551354,
0.005058944,
-0.0048701246,
-0.03254825,
-0.034856837,
-0.017015154,
-0.029498631,
-0.046285775,
-0.022216603,
-0.023798414,
-0.018924726,
-0.0019843886,
0.001468697,
0.013402639,
-0.03727943,
-0.023613157,
0.05520662,
-0.01873947,
-0.0521,
-0.047539823,
0.0195375,
-0.022587117,
0.004196786,
0.015191083,
-0.023285395,
-0.047710832,
0.0034326005,
0.049648907,
-0.062873416,
0.013217382,
-0.028330088,
-0.01670164,
-0.02449669,
0.04069956,
0.026776778,
0.009027721,
-0.001701159,
-0.04069956,
-0.006555252,
-0.0084790755,
-0.001264736,
-0.015034327,
-0.006608691,
-0.023228392,
0.040756565,
0.0057714717,
-0.040072538,
0.011699699,
0.030325163,
0.037193928,
0.0756419,
-0.05267002,
-0.014243421,
0.007581291,
-0.04409119,
0.026776778,
-0.021447074,
-0.016359627,
0.042552132,
-0.050532438,
0.02761756,
-0.017599426,
-0.017528173,
0.0047311815,
-0.052185502,
0.032149233,
-0.0026167566,
0.00011778968,
-0.006697757,
0.019637253,
0.0046919924,
0.005019755,
-0.029783644,
-0.025622483,
-0.047026806,
-0.061847374,
0.02057779,
-0.014635311,
-0.004916439,
-0.025194967,
-0.014891822,
0.058227733,
-0.0017465827,
0.046228774,
0.032719254,
-0.0043286034,
-0.00821544,
0.0065445635,
-0.000063904794,
0.025380224,
-0.0036125137,
-0.00887809,
-0.020620542,
-0.0059389155,
0.03417281,
-0.06361444,
-0.02944163,
-0.02371291,
0.0017946783,
0.04221012,
-0.013659149,
0.02243036,
-0.020877052,
-0.012697238,
-0.029869147,
0.06543851,
0.0018401019,
0.013260134,
0.015718354,
-0.009911255,
-0.011649822,
0.04899338,
0.03460033,
-0.06464048,
-0.020136023,
0.0598523,
-0.0044069816,
-0.04409119,
0.02891436,
0.03676641,
0.0076454184,
-0.0018792909,
0.020877052,
0.019423496,
-0.007353282,
-0.013937035,
-0.0027824193,
-0.005760784,
-0.02630651,
-0.009184478,
0.011350561,
-0.024767451,
0.0027129478,
0.051415972,
0.026506018,
-0.027375301,
-0.009220104,
0.05007642,
-0.01638813,
-0.009932632,
0.0015435123,
0.010509779,
-0.046029266,
-0.03859048,
0.020976804,
-0.020891301,
0.022273606,
0.020378282,
0.027574807,
0.06355744,
-0.007217902,
-0.022373358,
-0.0036837664,
-0.0025419414,
-0.05603315,
-0.024924206,
0.026164005,
0.008001682,
0.035284355,
-0.043606672,
-0.0033203773,
0.020549288,
0.010923044,
-0.053411048,
-0.06446947,
-0.011229431,
-0.033289276,
-0.021817587,
0.003088806,
-0.033032767,
-0.010417149,
0.0039189006,
-0.00038209278,
-0.042808644,
0.010645159,
0.036139388,
-0.028729102,
-0.029384628,
-0.03075268,
-0.033488784,
-0.03021116,
-0.02295763,
-0.01537634,
-0.01926674,
0.010880292,
0.059225272,
-0.022216603,
-0.0075741657,
0.063728444,
0.009818627,
-0.028515344,
0.020278528,
-0.031636216,
0.015176833,
-0.073703825,
0.01329576,
0.026434764,
-0.024154676,
0.0391035,
-0.026876532,
0.010516903,
0.008799713,
-0.0066870693,
0.017741932,
0.030268162,
0.022230852,
-0.01923824,
0.033944804,
-0.026221007,
0.049363896,
-0.06617954,
-0.021589579,
0.020164523,
-0.02401217,
-0.035626367,
0.01016064,
0.05577664,
0.031921227,
0.01822645,
0.062645406,
-0.015419092,
0.057942722,
-0.0038903994,
0.012020336,
0.009177352,
-0.0012763146,
-0.010851791,
-0.039132003,
0.006804636,
0.02890011,
-0.02243036,
0.030097155,
0.028429842,
-0.017827434,
-0.031094693,
0.023014633,
0.032234736,
0.05372456,
0.0017733024,
0.02295763,
0.0038690234,
-0.0034094434,
-0.02862935,
-0.01825495,
-0.04716931,
0.012191343,
0.011022798,
-0.067718595,
0.0073675327,
-0.021504074,
-0.03331778,
0.025992997,
0.039017998,
0.02007902,
-0.009697497,
0.051444475,
0.011186679,
0.016559135,
-0.05628966,
-0.00035715432,
-0.008585954,
0.021062309,
-0.053297047,
-0.03733643,
-0.010267519,
0.046456784,
-0.019081483,
-0.036851913,
-0.0495064,
-0.00793043,
0.019651504,
0.036851913,
-0.03517035,
0.0040329047,
-0.039673522,
0.05628966,
-0.011208056,
-0.022074098,
0.041668598,
0.03306127,
0.008450574,
0.0027628248,
-0.0076382933,
0.04115558,
0.042723138,
-0.030325163,
0.031237198,
-0.01722891,
0.046941303,
-0.001228219,
0.00064661854,
-0.0057999725,
0.032519747,
-0.0010028823,
-0.0031190885,
-0.0013475673,
0.03859048,
0.034799837,
-0.0195375,
0.03177872,
0.062189385,
-0.015447592,
-0.018368956,
0.021005306,
-0.026563019,
0.019138485,
-0.048565865,
0.009113225,
-0.000111332396,
0.01772768,
-0.022287855,
0.031066192,
-0.021318818,
0.010224767,
-0.00068135426,
-0.04221012,
-0.0143859275,
0.008258192,
0.052841026,
-0.008186939,
0.06042232,
-0.02372716,
0.026278008,
0.039417014,
-0.012169967,
0.011500191,
0.0025597545,
0.0027628248,
-0.012519105,
0.05600465,
0.026648523,
-0.00011044174,
0.014820569,
-0.017257413,
-0.019409245,
0.025893243,
0.00480956,
-0.0015221365,
0.041868106,
-0.016758643,
-0.03468583,
-0.059054267,
0.03517035,
-0.044376202,
0.024439689,
0.009583493,
-0.025323221,
-0.015661351,
0.02319989,
-0.06361444,
0.017642178,
0.037621442,
0.02657727,
0.0130463755,
0.10767713,
0.018582713,
0.008315194,
0.031693216,
0.012682986,
-0.02032128,
-0.01878222,
-0.005696656,
-0.01616012,
0.00887809,
-0.05677418,
-0.076154925,
0.005197887,
0.025237719,
-0.007973181,
-0.019566001,
0.009754499,
-0.010531154,
-0.0234279,
-0.03445782,
0.08219715,
0.002971239,
0.028315837,
0.005450834,
-0.0048416234,
-0.054807603,
-0.0013350981,
-0.0069079525,
0.034315318,
0.0054152077,
-0.047710832,
-0.011949084,
-0.05161548,
-0.020777298,
-0.0027165106,
-0.0019968578,
-0.02214535,
0.024339935,
0.055320624,
0.031664714,
0.023399398,
-0.030524671,
-0.00067912764,
0.026449015,
0.04634278,
0.036623906,
0.089550436,
0.061619364,
0.001706503,
0.02057779,
0.04634278,
-0.004699118,
-0.028729102,
-0.009540741,
0.004435483,
0.033146773,
-0.0063272426,
-0.016844146,
-0.0017884437,
0.03283326,
0.0044639837,
-0.0053653307,
-0.055320624,
0.0024457502,
-0.04226712,
0.013424016,
-0.042609137,
0.009676121,
0.0114075625,
-0.033773795,
0.019437745,
-0.016544884,
0.2398652,
0.06857363,
0.048765372,
0.02499546,
0.0063165547,
0.01407954,
0.034771334,
0.0018231793,
0.014777817,
-0.01641663,
0.028771855,
0.010880292,
-0.008194065,
-0.023570405,
-0.004592239,
0.020748796,
-0.027745815,
-0.016929649,
-0.038903993,
-0.049705908,
-0.030154157,
0.012861119,
-0.027289797,
-0.011186679,
0.028800355,
-0.006138423,
0.0076810447,
0.00533683,
-0.0075670406,
-0.013780279,
-0.0012638454,
-0.0075955414,
0.045202736,
-0.02499546,
-0.016473632,
0.0338878,
0.026349261,
-0.04486072,
-0.013723277,
-0.01796994,
-0.009483739,
-0.048565865,
-0.0018775095,
-0.027760066,
-0.04642828,
0.04092757,
0.014400178,
-0.027403802,
0.036880415,
-0.09194453,
0.025237719,
-0.028828856,
0.033659793,
-0.008450574,
-0.07239278,
-0.015419092,
-0.04041455,
-0.039559517,
0.042780142,
0.027688812,
0.012319597,
0.026634272,
0.006462623,
-0.02211685,
0.021432823,
0.0048024342,
0.013317136,
0.009790125,
-0.006712008,
0.02113356,
0.035968382,
0.0074387854,
-0.01056678,
0.018269202,
0.025422975,
0.016031865,
-0.0030478358,
0.06891564,
0.009540741,
-0.048622865,
-0.033146773,
-0.02605,
0.0054686475,
-0.0365099,
0.038903993,
0.006630067,
-0.037678447,
-0.01641663,
-0.015134081,
0.009576367,
0.015262336,
0.040756565,
0.025764989,
-0.00436423,
-0.00086171273
] |
LeViT
Overview
The LeViT model was proposed in LeViT: Introducing Convolutions to Vision Transformers by Ben Graham, Alaaeldin El-Nouby, Hugo Touvron, Pierre Stock, Armand Joulin, Hervé Jégou, Matthijs Douze. LeViT improves the Vision Transformer (ViT) in performance and efficiency by a few architectural differences such as activation maps with decreasing resolutions in Transformers and the introduction of an attention bias to integrate positional information.
The abstract from the paper is the following:
*We design a family of image classification architectures that optimize the trade-off between accuracy
and efficiency in a high-speed regime. Our work exploits recent findings in attention-based architectures,
which are competitive on highly parallel processing hardware. We revisit principles from the extensive
literature on convolutional neural networks to apply them to transformers, in particular activation maps
with decreasing resolutions. We also introduce the attention bias, a new way to integrate positional information
in vision transformers. As a result, we propose LeVIT: a hybrid neural network for fast inference image classification.
We consider different measures of efficiency on different hardware platforms, so as to best reflect a wide range of
application scenarios. Our extensive experiments empirically validate our technical choices and show they are suitable
to most architectures. Overall, LeViT significantly outperforms existing convnets and vision transformers with respect
to the speed/accuracy tradeoff. For example, at 80% ImageNet top-1 accuracy, LeViT is 5 times faster than EfficientNet on CPU. * |
[
0.0029131651,
-0.017878467,
-0.017727721,
-0.05297212,
-0.014448998,
-0.03222948,
-0.023365619,
-0.018225182,
-0.038259316,
0.07615684,
0.01240639,
-0.008147817,
0.07308163,
-0.04510318,
-0.01017535,
-0.0023233716,
-0.015511756,
0.023953527,
-0.08345295,
-0.0071491254,
0.0027077738,
0.010506991,
-0.061202846,
-0.03177724,
-0.018345779,
-0.04036976,
0.045073032,
-0.009233188,
0.07428759,
0.036390066,
-0.0025551436,
-0.0016346511,
0.005634129,
-0.040219013,
0.009406546,
0.032018434,
0.01998891,
-0.0315662,
-0.04920347,
-0.034189176,
0.014788176,
0.036872454,
-0.031988285,
-0.046067957,
-0.056409124,
0.025807703,
-0.036812156,
-0.046158403,
-0.032500822,
-0.020154731,
-0.013031986,
0.005943158,
0.042691246,
0.01536101,
0.014124894,
0.007175506,
-0.02327517,
-0.0024270094,
-0.009353785,
0.047153328,
0.042781696,
0.013921387,
0.012609897,
-0.033556044,
0.01720011,
0.025385614,
-0.010883856,
0.004141744,
-0.044168558,
-0.06144404,
-0.04733422,
0.008924159,
0.002511804,
-0.040550653,
-0.0056303605,
-0.013567134,
0.01380079,
0.011833555,
-0.01268527,
0.025807703,
-0.01700414,
0.0370835,
-0.013725417,
0.011155198,
-0.010891393,
-0.012285793,
0.037475437,
-0.019205032,
-0.019898463,
-0.047696013,
0.033887684,
0.03853066,
-0.025280092,
-0.001604502,
0.00060957886,
0.02001906,
-0.019370852,
0.061293293,
0.014411311,
0.029274859,
-0.005400473,
0.058368824,
0.0026682029,
0.061594784,
-0.04115364,
0.0015969647,
0.007401625,
-0.013650044,
-0.013559597,
-0.039073344,
0.01943115,
-0.012436539,
0.0013030102,
0.0001872547,
-0.0050952123,
0.0036480515,
0.008064907,
-0.0157831,
-0.073564015,
-0.008524682,
0.025596658,
-0.03189784,
0.012037062,
-0.03183754,
0.02113458,
-0.014916309,
0.009828635,
0.025023824,
-0.055414204,
-0.017561901,
0.009142741,
0.0061956574,
-0.008826174,
0.052369136,
0.01193154,
-0.013672655,
-0.009738187,
0.017154887,
-0.028144265,
-0.017320707,
0.024571586,
-0.00694185,
-0.01634086,
0.06946372,
-0.017215185,
0.019491449,
-0.0009817329,
-0.03367664,
-0.03180739,
0.014185192,
-0.013702805,
-0.02255159,
0.0020369543,
0.014411311,
-0.016551903,
0.0041229012,
-0.017124737,
0.020049209,
-0.022807859,
-0.006139128,
0.02001906,
0.03593783,
-0.040309463,
0.044259004,
-0.01555698,
0.04112349,
-0.027300088,
-0.04214856,
0.010506991,
-0.03964618,
0.031083811,
-0.01634086,
0.033525895,
0.0058979345,
0.0462187,
0.053002268,
0.07241835,
0.0069795363,
0.0075071473,
-0.015187652,
-0.011607436,
-0.009150278,
0.033556044,
0.018843241,
-0.019401,
-0.044228856,
0.003923163,
0.025551435,
-0.0049972273,
0.06132344,
-0.030646646,
0.04401781,
-0.027631728,
0.012481763,
-0.04516348,
-0.031144109,
-0.031083811,
-0.01647653,
0.03931454,
-0.044409752,
-0.017019216,
0.061504338,
-0.030691871,
0.020365775,
-0.013921387,
0.012248106,
-0.0048577874,
0.027842773,
-0.023953527,
0.03397813,
0.011592362,
0.014026908,
-0.0031166722,
-0.029335158,
-0.0110949,
-0.036540814,
-0.015481607,
-0.005626592,
-0.0112456465,
-0.026109194,
0.042751543,
0.022853082,
0.02425502,
0.008049833,
-0.0036310926,
0.0067571863,
0.024360541,
0.014087207,
0.0023158344,
0.02411935,
0.0050612944,
0.019521598,
0.01237624,
0.05107272,
0.030631572,
-0.014901235,
0.00042656387,
0.028551279,
-0.003994767,
0.005690659,
-0.004465848,
0.016310709,
0.005879091,
0.037897527,
0.008404085,
0.008788488,
0.002344099,
0.009579903,
-0.01009244,
0.02963665,
-0.05885121,
0.05888136,
0.008208116,
0.008208116,
-0.047183476,
0.008072444,
0.03207873,
-0.032621417,
0.00019019896,
-0.023184724,
-0.008886472,
0.02422487,
-0.01848145,
-0.02271741,
0.049263768,
0.03813872,
-0.005234652,
0.053213313,
0.008306101,
-0.07060939,
-0.013544521,
-0.080015935,
-0.06771507,
-0.042781696,
-0.034279622,
0.01496907,
-0.0013105473,
-0.04148528,
0.0071792747,
-0.0061655086,
-0.017788019,
0.009904007,
-0.036782008,
0.04546497,
0.06494135,
0.06337359,
-0.03521425,
0.034641415,
0.0020934842,
0.022626964,
0.04226916,
-0.028189488,
-0.012511912,
0.013318403,
0.013891237,
-0.036118723,
0.03364649,
0.013710342,
-0.03216918,
0.0034313542,
-0.02514442,
0.0069343126,
-0.003493537,
0.037475437,
-0.012557136,
0.024405766,
-0.01516504,
-0.00632756,
0.029003516,
0.031174257,
-0.010107514,
0.03599813,
-0.0018843241,
0.029531127,
-0.027918145,
0.040641103,
0.01634086,
-0.033254553,
-0.008426697,
-0.031536046,
-0.02152652,
-0.010054753,
-0.01634086,
-0.046399597,
-0.040520504,
0.06849895,
-0.020441148,
-0.070488796,
-0.028702024,
-0.044259004,
-0.03883215,
-0.013506835,
0.0014207803,
0.045615718,
0.026621731,
-0.00789155,
-0.04214856,
0.0033635185,
0.0020162268,
0.034339923,
-0.0071717375,
-0.03617902,
0.034219325,
0.02760158,
0.035304695,
0.004337714,
0.025445912,
-0.043083187,
-0.02743576,
0.0097005,
0.06849895,
0.012112435,
-0.00038510872,
0.018722644,
-0.011298407,
0.0063162544,
-0.035726786,
-0.0052120406,
0.051977195,
-0.051645555,
0.037656333,
-0.007541065,
-0.024134424,
0.028551279,
-0.049022574,
-0.021933533,
0.03476201,
0.026576508,
0.040007968,
-0.064760454,
0.033133954,
0.00006989665,
-0.030812468,
-0.0072584166,
-0.00013437586,
-0.07362431,
0.0037837229,
0.018285481,
0.04655034,
-0.042661097,
-0.01867742,
-0.022174725,
-0.008901547,
0.023606813,
0.03186769,
0.02310935,
-0.06928283,
-0.01555698,
-0.04136468,
0.0144037735,
0.018074436,
0.02146622,
-0.017848318,
-0.0013991107,
-0.049746156,
-0.032922912,
0.040791847,
0.0024797705,
0.003755458,
0.0026474753,
0.069403425,
0.016461456,
0.016521754,
0.025898151,
0.0011739339,
-0.0035952905,
-0.046037808,
0.029093964,
0.025189644,
-0.019883389,
-0.036721706,
-0.012926463,
0.013680193,
-0.030993363,
-0.032802314,
0.014335938,
-0.026998596,
-0.049746156,
-0.030345155,
0.039736625,
-0.053364057,
-0.021315474,
-0.059303448,
0.006041143,
0.030254707,
-0.0424802,
0.02185816,
-0.05261033,
0.013122433,
0.045645867,
-0.0153383985,
-0.0006213559,
-0.0027416917,
-0.0021613198,
-0.06512224,
0.00744308,
0.04814825,
-0.012677733,
0.012150122,
-0.029380381,
-0.022747561,
0.015029369,
-0.0052874135,
-0.0024515057,
0.029109038,
0.024390692,
0.016461456,
0.040007968,
0.015617278,
0.0142831765,
0.019928612,
0.0025363003,
-0.010582364,
-0.014396236,
-0.00407014,
0.03183754,
0.0022404613,
-0.0388623,
0.03225963,
0.030872766,
0.005396704,
-0.01982309,
0.020034134,
-0.0013030102,
-0.011132587,
0.002406282,
0.035274547,
0.041877218,
0.03705335,
-0.00021269308,
0.0014678885,
-0.0019050516,
0.039073344,
-0.04525393,
0.011185348,
-0.026124269,
-0.0035331077,
0.0032749553,
-0.009368859,
0.011976764,
-0.02868695,
0.047515117,
-0.013077209,
0.01524795,
-0.014614818,
-0.027948296,
-0.01683832,
0.011464228,
-0.06325299,
0.04772616,
0.018978912,
-0.04923362,
0.002813296,
0.008773413,
-0.022687262,
-0.008848786,
-0.02199383,
0.013574671,
0.038711555,
0.034309775,
0.012753106,
-0.02202398,
-0.039766777,
-0.014690191,
-0.038802,
0.03488261,
-0.032802314,
0.01009244,
-0.00554745,
-0.023471141,
-0.026033822,
0.0017656117,
-0.020230103,
0.0076277438,
-0.0069267754,
-0.048630636,
0.012315942,
-0.037475437,
-0.033103805,
0.04510318,
-0.013220418,
-0.046007656,
-0.017169962,
-0.0043452512,
-0.0011795869,
0.028400533,
-0.004812564,
-0.049716007,
-0.012180271,
-0.015496681,
0.035606187,
-0.039013047,
-0.023652036,
-0.024405766,
-0.06307209,
0.014984145,
0.05366555,
0.0053703235,
0.031294856,
0.008291026,
-0.039435133,
-0.02258174,
-0.010424081,
-0.010559753,
-0.015737874,
-0.021059206,
-0.043746468,
-0.0050952123,
-0.004288722,
-0.026275015,
0.007672968,
0.0053929356,
0.016883545,
0.039465282,
-0.0663885,
-0.013808327,
0.013680193,
-0.0037535736,
0.026998596,
-0.025280092,
-0.018602047,
0.06032852,
-0.039374836,
0.064579554,
-0.01995876,
0.003278724,
-0.00680241,
-0.02671218,
0.041334532,
-0.018164884,
-0.0009383934,
-0.037173945,
-0.006150434,
-0.00009586499,
0.017712647,
-0.01923518,
-0.029455755,
-0.047846757,
-0.08013654,
0.008554831,
0.03548559,
-0.010032142,
0.0051178243,
-0.019536672,
0.049414515,
-0.003911857,
0.04543482,
0.03925424,
0.012089823,
-0.0058338675,
-0.04211841,
0.040219013,
0.024028901,
0.019370852,
-0.045495123,
-0.0066667385,
0.014577131,
0.031204406,
-0.023395767,
-0.0040965206,
-0.032350074,
0.023848007,
0.022822933,
-0.009466845,
0.05152496,
-0.009240725,
0.0023535208,
-0.0111627355,
0.03617902,
0.013928924,
0.01814981,
-0.043143485,
0.022657113,
-0.0058753225,
0.01753175,
0.0092558,
-0.042058114,
-0.007145357,
0.060449116,
-0.012730493,
-0.067413576,
0.0017175614,
0.03219933,
-0.018918613,
0.0046995045,
0.001453756,
0.035334844,
-0.011758182,
-0.02996829,
0.00045317993,
0.014358549,
-0.028099041,
-0.0026248635,
0.012044599,
-0.03916379,
0.015142429,
0.029380381,
-0.009715575,
-0.051645555,
-0.007058678,
0.053876594,
-0.027993519,
-0.01516504,
-0.026983522,
-0.0125420615,
-0.043143485,
-0.035636336,
0.0370232,
-0.026893074,
0.008916622,
0.017682496,
-0.0041191326,
0.07302133,
0.007307409,
0.008630204,
0.0120144505,
-0.042208858,
-0.07302133,
-0.008916622,
0.03406858,
-0.020968758,
0.043444976,
-0.04857034,
0.014667579,
-0.002720964,
0.04814825,
-0.018888464,
-0.065845825,
-0.009466845,
-0.038922597,
-0.03259127,
-0.0010090555,
-0.0021255175,
0.008946771,
0.022687262,
-0.021616966,
-0.0268177,
0.0050839065,
0.011336094,
-0.013341014,
-0.03675186,
-0.035364993,
-0.024541438,
-0.0045035346,
-0.026772477,
-0.0024646958,
0.0001258964,
0.016747873,
0.05888136,
0.01360482,
0.0046542804,
0.05586644,
-0.01273803,
-0.037897527,
0.0064443885,
-0.0056303605,
0.03617902,
-0.03509365,
-0.0040663714,
-0.025596658,
0.0060373745,
0.022295322,
-0.059213,
0.005946927,
-0.017938765,
-0.029350232,
-0.010589901,
0.013250567,
0.023621887,
0.019355778,
-0.0033729402,
-0.007657893,
0.022792784,
-0.051193316,
-0.0070247604,
-0.02648606,
-0.027887996,
0.009067368,
0.031656645,
0.06560463,
0.017019216,
0.019808015,
0.036721706,
0.012285793,
0.03925424,
0.012896314,
0.0012069095,
0.032048583,
-0.007763415,
-0.011622511,
-0.02475248,
0.00850207,
0.026591582,
-0.03397813,
0.055353906,
0.008027221,
0.017667422,
0.0034275856,
0.011645122,
0.0033917835,
0.05450973,
0.023757558,
-0.009926619,
0.042389754,
0.0031242094,
-0.006572522,
-0.001447161,
-0.015979068,
-0.024737407,
-0.0043754005,
-0.056047335,
0.004036222,
-0.0071717375,
-0.035334844,
-0.005784875,
0.05441928,
0.017019216,
-0.011366243,
0.0048389444,
-0.018617122,
0.03268172,
-0.016989065,
-0.02642576,
-0.013431462,
0.02428517,
-0.021601891,
-0.019054284,
0.014697728,
0.04841959,
0.04226916,
-0.040821996,
-0.0304959,
-0.01312997,
0.019416075,
0.025445912,
-0.05894166,
0.024405766,
-0.055564947,
0.03593783,
-0.010529603,
-0.02350129,
0.037143797,
0.05248973,
-0.0017684381,
0.015843397,
-0.019476375,
0.017848318,
0.011803406,
-0.027948296,
0.02271741,
-0.019943686,
0.041937515,
0.011667735,
0.025460986,
-0.0062597245,
0.035334844,
0.0032579964,
0.011939078,
-0.0036480515,
0.03699305,
0.033254553,
-0.014381162,
-0.0031882764,
0.04543482,
0.013363627,
-0.0032937985,
0.03412888,
-0.009089979,
0.0016506679,
-0.044409752,
0.00794431,
-0.0062295753,
0.03735484,
-0.012097361,
-0.030149186,
0.010250723,
-0.0011060983,
0.012135047,
-0.027239788,
0.011200422,
0.028611576,
0.050801378,
0.007593826,
0.04293244,
-0.006237113,
0.03509365,
0.021044131,
0.00658006,
0.02333547,
-0.0069757677,
-0.005675584,
-0.023591738,
0.066087015,
-0.011200422,
0.008381474,
0.01129087,
-0.000186077,
-0.031656645,
0.02182801,
-0.014109819,
-0.022340547,
0.004232192,
0.008117668,
-0.022280248,
-0.05182645,
-0.0012634393,
-0.047515117,
0.014727877,
0.018240258,
-0.01926533,
-0.035636336,
0.011411467,
-0.03301336,
0.01240639,
0.035787083,
0.026862925,
0.027948296,
0.06771507,
0.051675703,
0.022536516,
0.04024916,
0.01028841,
-0.011682809,
-0.012444076,
0.008856324,
0.009316098,
0.016461456,
-0.046881985,
-0.037535734,
-0.0074807666,
-0.01683832,
-0.012805866,
-0.031596348,
0.019205032,
-0.02442084,
-0.011614974,
-0.037565883,
0.105763346,
0.008306101,
-0.018948764,
-0.010574827,
-0.011373781,
-0.062469114,
-0.01416258,
-0.035334844,
0.05484137,
0.032772165,
-0.06035867,
0.014976608,
-0.04664079,
-0.01611474,
-0.0070209918,
-0.019114584,
0.013461611,
0.0370232,
0.012187808,
0.04335453,
0.018843241,
-0.025611732,
0.0039683864,
0.011275795,
0.031023512,
0.019385926,
0.08447802,
0.070127,
-0.03412888,
0.016551903,
0.03036023,
0.018602047,
-0.028099041,
-0.032742016,
-0.0108386325,
0.009082442,
-0.036058426,
-0.018692495,
-0.022174725,
0.046098106,
-0.029154262,
0.02625994,
-0.06403687,
0.013951535,
-0.048389442,
-0.021149654,
-0.028370384,
-0.0013764987,
0.019340703,
-0.03409873,
0.014697728,
-0.034159027,
0.27158386,
0.07573476,
0.021059206,
0.05065063,
0.05481122,
0.008841248,
0.026682029,
-0.00047343643,
0.037324693,
-0.043444976,
-0.009074905,
-0.05327361,
0.014388699,
-0.003657473,
-0.009828635,
0.03626947,
-0.015707726,
0.0043678633,
-0.02255159,
-0.05074108,
-0.027857848,
0.017742796,
-0.03777693,
0.024496213,
0.0062898737,
-0.015074593,
0.0112456465,
-0.036480516,
0.02215965,
-0.0014952112,
-0.0041605877,
-0.00030078524,
0.03476201,
-0.0008554831,
-0.021511443,
0.022144577,
0.023290245,
-0.06488105,
0.0076428186,
-0.013024448,
-0.00072876236,
-0.028234713,
0.005238421,
0.010627588,
-0.04588706,
0.06433836,
0.004597751,
-0.016431306,
0.0030149186,
-0.036902603,
0.053213313,
-0.0665694,
0.02054667,
-0.031536046,
-0.0407014,
-0.0074166995,
-0.045374524,
-0.059092402,
0.05707241,
0.023576664,
0.04006827,
0.046007656,
-0.03186769,
-0.0017119085,
0.032440525,
-0.019747717,
0.002151898,
-0.0016318246,
0.0059167775,
0.0033333693,
0.032500822,
0.050077796,
-0.04917332,
0.0017392312,
0.028053816,
-0.009564829,
-0.020968758,
0.0426008,
0.004756034,
-0.06144404,
-0.012006913,
-0.041605875,
-0.016778022,
-0.023968602,
0.059695385,
-0.029757246,
-0.030963214,
0.019702492,
-0.053092714,
0.012730493,
0.01628056,
0.0212401,
0.026636805,
0.032802314,
0.0110949
] |
Compared to ViT, LeViT models use an additional distillation head to effectively learn from a teacher (which, in the LeViT paper, is a ResNet like-model). The distillation head is learned through backpropagation under supervision of a ResNet like-model. They also draw inspiration from convolution neural networks to use activation maps with decreasing resolutions to increase the efficiency.
There are 2 ways to fine-tune distilled models, either (1) in a classic way, by only placing a prediction head on top
of the final hidden state and not using the distillation head, or (2) by placing both a prediction head and distillation
head on top of the final hidden state. In that case, the prediction head is trained using regular cross-entropy between
the prediction of the head and the ground-truth label, while the distillation prediction head is trained using hard distillation
(cross-entropy between the prediction of the distillation head and the label predicted by the teacher). At inference time,
one takes the average prediction between both heads as final prediction. (2) is also called "fine-tuning with distillation",
because one relies on a teacher that has already been fine-tuned on the downstream dataset. In terms of models, (1) corresponds
to [LevitForImageClassification] and (2) corresponds to [LevitForImageClassificationWithTeacher].
All released checkpoints were pre-trained and fine-tuned on ImageNet-1k
(also referred to as ILSVRC 2012, a collection of 1.3 million images and 1,000 classes). only. No external data was used. This is in
contrast with the original ViT model, which used external data like the JFT-300M dataset/Imagenet-21k for
pre-training.
The authors of LeViT released 5 trained LeViT models, which you can directly plug into [LevitModel] or [LevitForImageClassification].
Techniques like data augmentation, optimization, and regularization were used in order to simulate training on a much larger dataset
(while only using ImageNet-1k for pre-training). The 5 variants available are (all trained on images of size 224x224):
facebook/levit-128S, facebook/levit-128, facebook/levit-192, facebook/levit-256 and
facebook/levit-384. Note that one should use [LevitImageProcessor] in order to
prepare images for the model.
[LevitForImageClassificationWithTeacher] currently supports only inference and not training or fine-tuning.
You can check out demo notebooks regarding inference as well as fine-tuning on custom data here
(you can just replace [ViTFeatureExtractor] by [LevitImageProcessor] and [ViTForImageClassification] by [LevitForImageClassification] or [LevitForImageClassificationWithTeacher]). |
[
0.04564358,
-0.021249881,
-0.031030647,
-0.01277176,
0.0197653,
-0.037784036,
0.00043641397,
-0.025980162,
0.020973342,
0.070095494,
0.050359305,
-0.019852629,
0.0608387,
-0.044246327,
-0.012371506,
0.029473294,
0.000020083799,
-0.022778125,
-0.028963879,
-0.021933952,
0.008696441,
-0.008645499,
-0.084941305,
-0.020609474,
-0.030594006,
-0.0065314276,
0.060140073,
-0.004384607,
0.04453742,
0.025397973,
-0.033301182,
-0.054463737,
0.04864185,
-0.008710995,
-0.06939687,
-0.025659958,
0.018382601,
-0.03487309,
-0.054143533,
-0.022341484,
0.033999808,
-0.016868912,
0.019998176,
-0.06398252,
-0.03443645,
-0.014474662,
0.008521784,
-0.0051305364,
-0.018557258,
-0.023360314,
-0.02501955,
0.009344126,
0.0069826236,
-0.021977616,
0.0029473293,
-0.010028197,
-0.028672785,
-0.0025288814,
-0.0055708163,
-0.026314922,
0.040956963,
0.026707899,
0.029036652,
-0.02155553,
-0.001164377,
0.026445914,
-0.013877919,
0.029065762,
-0.0067242775,
-0.03143818,
-0.036532328,
0.011803872,
-0.049253147,
-0.03391248,
-0.025223317,
0.00039274982,
0.025630848,
0.00012405618,
0.005552623,
0.020551255,
0.0038751923,
0.043751467,
0.0074883997,
0.013244789,
-0.032107696,
-0.06089692,
0.01692713,
-0.011476391,
-0.034727544,
-0.043256607,
0.021570085,
0.034611106,
-0.013892474,
0.011294457,
0.016155731,
-0.020725911,
-0.0027453827,
0.03752205,
0.04657508,
-0.0182225,
-0.016810693,
0.05626852,
-0.005854633,
0.037230954,
-0.070095494,
-0.03143818,
-0.043285716,
-0.034203574,
-0.011498223,
-0.050941493,
0.022094054,
0.007866822,
-0.009184023,
-0.027377415,
0.00005654165,
0.043198388,
-0.014554713,
0.008485397,
-0.01982352,
-0.006327661,
0.012196849,
-0.011709266,
0.006582369,
-0.043489482,
0.026285812,
-0.063051015,
0.032078587,
0.04963157,
-0.0410734,
0.0070517585,
0.015573543,
-0.031583726,
-0.04715727,
0.036299452,
-0.006047483,
-0.049718898,
0.017785858,
-0.0043227496,
-0.01519512,
0.0041298997,
0.0035367953,
-0.0005662693,
-0.003143818,
0.07323931,
-0.018571813,
-0.0029418713,
-0.019808965,
-0.021730186,
-0.048001442,
-0.015209675,
-0.004635676,
0.01599563,
-0.0026143903,
0.034611106,
-0.024000721,
-0.013586825,
-0.020231051,
0.0627017,
-0.024102604,
0.027129985,
-0.001794778,
-0.0012980985,
-0.026911665,
0.058480836,
-0.013637766,
0.014612932,
-0.017334662,
0.010573999,
-0.0052542514,
-0.05586099,
0.027581181,
-0.015049573,
0.028425355,
0.010166467,
0.010683159,
0.0060110963,
0.061595544,
-0.019561535,
-0.007939596,
0.017043568,
0.0016856177,
-0.054172643,
0.0032620751,
0.039763477,
-0.005385244,
-0.010312014,
-0.017494764,
0.014372779,
-0.008885652,
0.018600922,
0.0009824431,
0.074520126,
0.021919398,
-0.0032711718,
-0.0056581446,
-0.00032725363,
-0.039705258,
-0.029313192,
-0.0033512227,
-0.027217314,
-0.0048467196,
0.0349022,
-0.006989901,
0.011621938,
-0.0134994965,
0.024233596,
0.025063215,
0.013441278,
-0.04616755,
-0.0010270169,
0.009533337,
-0.023971612,
-0.030157365,
0.006844354,
0.040258337,
-0.05685071,
0.003589556,
-0.01618484,
-0.009009367,
-0.019648863,
0.045439813,
0.0197653,
0.008769214,
-0.0050504855,
0.0012125896,
-0.0047230045,
-0.015675426,
0.029982708,
0.0036332202,
0.006316745,
-0.024743011,
0.02084235,
-0.009889928,
0.06619483,
0.046429534,
0.0024215404,
0.028003268,
0.045003172,
0.005417992,
0.0324279,
0.009678884,
0.040374774,
0.06078048,
0.0054471013,
0.0016446826,
-0.012080411,
-0.05827707,
-0.009919037,
-0.011243516,
0.0026635125,
-0.055016816,
0.042237777,
-0.014860362,
-0.006185753,
-0.01927044,
-0.004304556,
0.0010852357,
0.025397973,
-0.017378327,
-0.005843717,
-0.00015725913,
0.010777765,
0.020871459,
-0.018207945,
0.013441278,
0.075451635,
0.037027188,
0.0130483005,
0.0029327746,
-0.052950047,
-0.046866175,
-0.04957335,
-0.095420696,
-0.011789317,
-0.018862909,
-0.0017019918,
0.005359773,
-0.03915218,
0.0014463746,
-0.033737823,
-0.0020103697,
0.007939596,
-0.031176195,
0.02507777,
0.011927587,
-0.014503771,
-0.040200118,
0.03958882,
-0.023578634,
-0.034116246,
0.0062694424,
-0.056472287,
-0.029284082,
0.025165098,
-0.024597464,
-0.0019485122,
0.024510136,
0.007426542,
-0.034785762,
0.031059757,
0.00026380416,
-0.030273803,
-0.021439092,
0.016898021,
-0.03763849,
0.03755116,
-0.0046502305,
-0.03446556,
0.043867905,
0.0481761,
-0.03496042,
0.04709905,
-0.0069025727,
0.03862821,
0.009118527,
0.0324279,
0.03391248,
-0.002114072,
-0.01288092,
-0.026940774,
-0.040694978,
0.004773946,
-0.021613749,
-0.04156826,
-0.0046283985,
0.047797676,
-0.007990537,
-0.07486945,
-0.028046932,
-0.02766851,
-0.034727544,
-0.039734367,
-0.036736093,
0.020056395,
0.047710348,
0.016941685,
-0.051902104,
0.009154914,
-0.017029013,
0.06718455,
0.02325843,
-0.038919304,
0.03443645,
0.041946683,
0.006571453,
-0.029982708,
0.011869368,
-0.045934673,
0.01090148,
0.002141362,
0.024975887,
0.05332847,
0.010872371,
-0.010137358,
0.03597925,
0.027319197,
-0.029720724,
0.020551255,
0.020391153,
-0.023171103,
0.025863724,
-0.03434912,
-0.03432001,
0.02180296,
-0.013419446,
-0.0074811224,
-0.007997815,
0.022647133,
0.011097969,
-0.04858363,
0.02612571,
-0.0022869091,
0.014285451,
-0.01982352,
-0.00046984432,
-0.04316928,
0.054667503,
0.030855991,
0.071026996,
-0.022632578,
0.020143723,
-0.005032292,
-0.03190393,
0.009533337,
0.014227232,
0.011221684,
-0.023083774,
-0.011913032,
-0.035804592,
-0.0031219858,
0.03909396,
-0.010202854,
-0.03856999,
-0.028076041,
-0.028207034,
-0.065030456,
0.009176746,
0.026256703,
0.017363772,
-0.010079139,
0.019197667,
-0.021395428,
-0.0073901555,
0.02868734,
-0.018368047,
-0.015558988,
-0.048496302,
0.028469019,
-0.0044792127,
-0.027231868,
-0.05062129,
-0.0045010448,
0.02359319,
-0.012175017,
-0.043256607,
0.007997815,
-0.021817515,
-0.019867184,
-0.012829979,
0.027595736,
-0.008449011,
-0.024641128,
-0.037289176,
0.051785666,
0.023767846,
-0.018761026,
0.004173564,
-0.04564358,
0.04954424,
0.026256703,
-0.03632856,
-0.031292632,
-0.0220795,
-0.024481026,
-0.016228504,
-0.0025980163,
0.044246327,
-0.06415717,
0.007066313,
-0.06840715,
0.009300461,
0.043343935,
0.0084271785,
-0.040956963,
0.029793497,
0.024204487,
0.027959604,
0.03595014,
-0.03961793,
0.012691709,
0.04002546,
-0.03545528,
0.03434912,
-0.035076857,
-0.027784947,
0.016650591,
0.012364228,
-0.023011,
0.014212677,
0.008288909,
-0.00773583,
-0.026984438,
0.047506582,
-0.018455375,
-0.01643227,
0.010071862,
0.0016374053,
0.014445553,
0.0146274865,
-0.04215045,
0.012262345,
0.006102063,
0.04252887,
-0.044420984,
0.028614566,
-0.005428908,
0.02526698,
0.0017902297,
-0.009504228,
-0.001607386,
-0.053037375,
0.039472383,
0.0040498488,
-0.0060875085,
-0.015791863,
-0.014161736,
-0.004420994,
0.030477569,
-0.005632674,
-0.00291822,
0.044479202,
-0.0021450007,
-0.0018511775,
0.03196215,
-0.020827794,
-0.04765213,
-0.05979076,
0.0017065401,
0.06730099,
-0.016112067,
0.035076857,
-0.020129168,
-0.044944953,
0.021730186,
-0.043431263,
-0.00072773563,
-0.044391874,
0.00076867075,
-0.035775483,
0.0065750917,
-0.017873187,
0.010486671,
-0.00564359,
0.0120003605,
0.035804592,
-0.038482662,
0.0074665677,
-0.03548439,
-0.008718273,
0.068116054,
-0.007612115,
-0.049718898,
-0.016825248,
0.0020831432,
0.010646773,
0.00036545974,
0.02353497,
-0.046429534,
-0.02026016,
-0.044799406,
0.025732731,
-0.05222231,
0.004453742,
0.0058182464,
-0.025456192,
0.0076485015,
0.004464658,
0.018688252,
-0.0017183658,
-0.02180296,
-0.024233596,
0.046487752,
-0.050737727,
-0.023869729,
-0.0100500295,
-0.0063786027,
-0.04552714,
0.020027285,
0.012065857,
-0.0013363046,
0.0036204848,
0.04619666,
0.0037187291,
-0.0037096324,
-0.042965513,
-0.04264531,
-0.020303825,
-0.0004054852,
0.0014145361,
0.019634308,
-0.040724088,
0.040374774,
-0.016868912,
0.032631665,
-0.036037467,
-0.023578634,
-0.003096515,
-0.038861085,
0.05583188,
-0.018280718,
0.012124076,
0.004373691,
0.02309833,
-0.0149767995,
0.0028126983,
-0.036008358,
-0.034174465,
-0.021366319,
-0.057403788,
0.02736286,
-0.03341762,
0.012189572,
-0.028600011,
-0.011840259,
0.026198484,
-0.012517053,
0.024481026,
0.044741187,
0.0017001724,
-0.021439092,
-0.034698434,
-0.006062038,
0.025179652,
-0.020725911,
0.00085827324,
0.022603469,
-0.029036652,
-0.00569817,
-0.05722913,
-0.02529609,
-0.0054361853,
0.0010170105,
0.011214406,
-0.014642041,
0.047972333,
-0.033126526,
-0.024262706,
-0.030215584,
0.023665963,
0.017989624,
-0.00078322546,
-0.0067024454,
0.0069389595,
0.028978433,
0.0076921657,
-0.05271717,
-0.024204487,
-0.009642498,
0.06380786,
0.008012369,
-0.03691075,
0.0284108,
0.02078413,
0.01599563,
-0.029560622,
0.034552887,
-0.009751658,
-0.0041517317,
0.002097698,
0.011214406,
-0.019779855,
-0.010966976,
0.0065641757,
0.024044385,
0.0020085503,
0.0053634117,
0.018455375,
0.009969979,
-0.06677702,
0.029327746,
0.029415075,
-0.044246327,
-0.00924952,
-0.07376328,
-0.04002546,
-0.038948413,
-0.021104334,
0.033039197,
0.009242242,
-0.008791046,
0.0077285524,
0.010071862,
0.058451727,
0.045789126,
-0.0072882725,
0.0061093406,
-0.053124703,
-0.013761481,
0.004035294,
0.033155635,
0.013630489,
0.031700164,
-0.033213854,
0.049224038,
0.04101518,
0.012014915,
-0.01409624,
-0.061420888,
-0.016228504,
-0.018338937,
0.029808052,
-0.038744647,
-0.0023214766,
-0.02356408,
0.032020368,
-0.013266621,
-0.02183207,
0.034785762,
0.011934864,
-0.011731098,
-0.047419254,
-0.024408253,
-0.011003363,
-0.034290902,
-0.023913393,
0.011767485,
-0.036270343,
0.022370594,
0.050475743,
-0.009147637,
-0.029982708,
0.037347395,
0.000012294752,
-0.015733644,
0.034523778,
-0.0324279,
0.004384607,
-0.006036567,
-0.02001273,
-0.013390336,
-0.004057126,
0.05210587,
-0.08366049,
0.009817154,
0.005192394,
0.021948507,
-0.03755116,
0.024364589,
0.032660775,
0.009984533,
0.02078413,
0.028250698,
-0.0021959422,
-0.043343935,
0.0036495943,
0.02279268,
-0.010384788,
0.035047747,
-0.005618119,
0.039501492,
0.056646943,
0.04060765,
0.03193304,
0.0049849893,
0.020725911,
0.01927044,
0.0054252692,
0.009802599,
0.0025725455,
-0.03816246,
-0.029254973,
0.024422808,
0.046487752,
-0.052920938,
0.008558171,
0.020522146,
0.007190028,
-0.0031110698,
-0.0041080676,
-0.017902296,
0.0324279,
-0.0020140084,
0.037813146,
0.018120617,
0.014794866,
-0.0051087043,
-0.033534057,
-0.036270343,
-0.059208572,
0.017087232,
-0.045381594,
-0.000800964,
-0.028221589,
-0.02306922,
-0.01368143,
0.027974159,
-0.026737008,
0.022385148,
0.014460107,
0.013994357,
0.021104334,
-0.049980883,
-0.002237787,
-0.000831438,
0.023302095,
-0.04153915,
-0.032165915,
0.028396245,
0.04666241,
0.019430542,
-0.021206217,
-0.062410608,
-0.017538428,
0.018368047,
0.0024906753,
0.009322294,
0.04165559,
-0.05571544,
0.02579095,
0.0001144478,
-0.014256341,
0.040462103,
0.027959604,
0.002832711,
0.0036841617,
-0.0060438444,
-0.026547797,
0.03382515,
-0.04904938,
0.02667879,
0.04706994,
0.067592084,
0.007830435,
0.014831252,
-0.004752114,
0.05204765,
0.04654597,
0.023025556,
-0.025223317,
0.022618024,
0.04264531,
-0.00093423063,
0.027319197,
0.037813146,
0.012982803,
-0.03432001,
-0.015457105,
-0.015340667,
0.01791685,
-0.010894203,
0.006727916,
-0.019154003,
0.021118889,
0.009271352,
0.0006226688,
0.00028358947,
0.033301182,
-0.039821696,
-0.04311106,
-0.022705352,
0.033126526,
0.007997815,
0.032136805,
-0.003911579,
-0.0017183658,
0.019561535,
0.041946683,
-0.0016810694,
0.03906485,
0.0103993425,
-0.00023924309,
-0.0047484753,
0.03763849,
-0.02868734,
-0.028803777,
0.0024633852,
-0.0069717076,
-0.02183207,
0.047448363,
0.0014636583,
-0.02427726,
0.041975792,
-0.027290087,
-0.04954424,
-0.05379422,
0.0016610567,
-0.053503126,
0.04610933,
0.071026996,
-0.0028290723,
-0.030535787,
0.061071575,
-0.041975792,
0.010151912,
0.062119514,
0.02328754,
0.0059528775,
0.073064655,
0.025354309,
0.0038642762,
0.033039197,
0.017683975,
-0.07149275,
-0.007419265,
-0.029458739,
0.002585281,
0.025004996,
-0.038249787,
-0.041393604,
0.067009896,
0.045789126,
0.0558901,
-0.007743107,
0.036503218,
-0.010879648,
-0.03635767,
-0.022006726,
0.037260063,
-0.006127534,
0.0027435634,
-0.0031565533,
-0.006298552,
-0.057200022,
0.0011034291,
-0.028177924,
0.067009896,
-0.01547166,
-0.019881738,
0.013208402,
-0.048408974,
-0.023971612,
0.023418533,
-0.016141176,
0.012837256,
0.03685253,
0.04657508,
0.016403161,
0.019459652,
-0.023083774,
-0.020958787,
0.0932666,
0.03041935,
-0.003911579,
0.060081854,
0.05472572,
0.016374052,
0.039443273,
0.03236968,
0.018761026,
0.035309732,
-0.003755116,
0.023389423,
-0.0078522675,
-0.028527237,
-0.021351764,
0.04963157,
0.017247334,
-0.007925041,
-0.059121244,
-0.0333594,
0.0040534874,
-0.053532235,
0.033679605,
-0.005301554,
0.040491212,
0.009169469,
-0.03496042,
0.00019353219,
-0.011716544,
0.25220406,
0.03545528,
0.016592372,
0.05935412,
0.01849904,
0.037027188,
0.0291822,
-0.04608022,
0.010472116,
-0.029284082,
0.021570085,
-0.025368864,
-0.018673697,
-0.0045738183,
0.009766213,
-0.0014518326,
0.0023887923,
0.0020322017,
0.03286454,
-0.019415988,
-0.043198388,
0.06840715,
-0.018644588,
0.026809782,
-0.0054325466,
0.012087689,
0.016577817,
-0.045003172,
-0.0031128891,
-0.0023524056,
0.027217314,
-0.03036113,
0.029254973,
-0.023549525,
-0.0063822414,
0.06642771,
0.021904843,
-0.061537325,
-0.019779855,
-0.01114891,
-0.0291822,
-0.008689163,
0.057956867,
-0.027013548,
-0.012080411,
0.05271717,
0.019226776,
-0.030070037,
0.056035645,
-0.069047555,
0.041859355,
-0.035688154,
0.02353497,
0.0074229036,
-0.03760938,
-0.025427083,
-0.021206217,
-0.05338669,
0.009962701,
-0.024612019,
0.0137250945,
0.024146268,
-0.010479393,
0.011971251,
-0.03193304,
0.026795227,
-0.022108609,
0.0276394,
-0.00041480933,
0.0052869995,
0.057491116,
0.019008456,
-0.04217956,
0.013084687,
-0.02081324,
0.028032377,
-0.03498953,
0.055599004,
0.008216135,
-0.045439813,
-0.006640588,
0.00044096232,
-0.008994812,
0.014758479,
0.024917668,
0.020798685,
-0.030797772,
0.0046065664,
0.0026380417,
0.03682342,
0.019168558,
0.039996352,
0.022734461,
0.016941685,
0.044159
] | One can use [MobileNetV2ImageProcessor] to prepare images for the model.
The available image classification checkpoints are pre-trained on ImageNet-1k (also referred to as ILSVRC 2012, a collection of 1.3 million images and 1,000 classes). However, the model predicts 1001 classes: the 1000 classes from ImageNet plus an extra “background” class (index 0).
The segmentation model uses a DeepLabV3+ head. The available semantic segmentation checkpoints are pre-trained on PASCAL VOC. |
[
0.026498822,
-0.013155341,
0.00088642974,
0.00044231035,
-0.021954514,
-0.037396483,
0.04280913,
0.00087738456,
0.0019121557,
0.03858321,
-0.0018633115,
0.0022992902,
0.037020203,
-0.049871624,
-0.051868804,
0.023401747,
-0.0033431065,
-0.025514705,
-0.03340212,
-0.021694012,
-0.0126271015,
0.03363368,
-0.07681909,
-0.07421407,
0.019595524,
-0.0066210874,
0.040233057,
-0.013632928,
0.04778761,
0.022793908,
-0.030247154,
-0.019204773,
0.019204773,
-0.021361148,
-0.03328634,
0.008545906,
0.021940041,
-0.014088806,
-0.029089369,
-0.061478425,
-0.0025833095,
-0.02529762,
0.02180979,
-0.02305441,
-0.048945393,
0.016281363,
0.005832346,
-0.014479559,
0.008285405,
-0.04275124,
-0.015181466,
0.031318106,
0.016585281,
0.011961374,
-0.029566955,
-0.011831123,
-0.013184286,
-0.020275723,
0.0068671172,
0.0011939666,
0.027873693,
0.005039986,
-0.0056622964,
-0.0136474,
0.0046890327,
0.01762729,
-0.03308373,
-0.0048807906,
0.0053656134,
-0.050942577,
-0.032649558,
0.030854993,
-0.00010356756,
-0.06628324,
-0.023966167,
-0.017685179,
-0.014038153,
-0.023531996,
-0.0040341597,
0.039538387,
-0.010268113,
0.04474842,
0.041014563,
0.0034733575,
-0.012786297,
-0.040030446,
0.027830277,
-0.0007751738,
0.007967014,
-0.06437289,
0.008936659,
0.014776241,
-0.030797103,
0.03389418,
0.032418,
0.031491775,
-0.012547504,
0.07010393,
-0.013343481,
0.022562351,
0.031896997,
0.06199943,
-0.01856799,
0.037685927,
-0.045703594,
0.013321773,
0.0022721547,
0.0007769828,
0.034067847,
-0.04952429,
0.008176862,
-0.025210787,
0.0175694,
0.0052317446,
-0.016498448,
0.04741133,
0.011302884,
0.0027642136,
-0.029899819,
-0.02062306,
0.008799172,
-0.022099236,
-0.006273752,
-0.06836725,
-0.00006976112,
-0.008169626,
0.007525608,
0.03059449,
-0.032852173,
0.020767784,
0.015934028,
-0.0033955686,
0.049321674,
0.043590635,
-0.037425425,
-0.021346675,
-0.026889576,
0.0054922462,
0.022272905,
-0.003636171,
-0.004443003,
-0.04231707,
-0.011375246,
0.08179757,
-0.0040594866,
0.014428905,
-0.007453246,
-0.02978404,
-0.06466234,
0.004265717,
-0.011527205,
0.010282585,
-0.013994736,
0.025369981,
-0.038612157,
0.0139368465,
0.018148292,
0.023112299,
0.025514705,
0.016860256,
0.0043127523,
0.019465273,
0.0012464288,
0.047874443,
-0.025587067,
0.02099934,
-0.01700498,
-0.019407384,
0.03195489,
-0.049119063,
-0.020608587,
-0.020767784,
0.0046058167,
0.013466496,
0.019581053,
0.035312466,
0.022113709,
-0.026267266,
0.029755095,
-0.009399774,
0.028496003,
0.016614227,
-0.004088431,
0.027121132,
-0.02903148,
-0.0030789867,
0.0065559624,
-0.0031332579,
-0.01745362,
-0.0013287402,
-0.007757165,
0.05421332,
-0.04799022,
0.009870124,
0.021390093,
-0.005651442,
-0.03745437,
-0.010890422,
0.0011369819,
-0.054502767,
-0.038467433,
0.050334737,
-0.0071348553,
0.0009054247,
0.016411614,
-0.017424677,
0.04124612,
-0.0048337555,
-0.033228453,
0.018799547,
0.020738838,
-0.0058106375,
-0.027164549,
-0.0025724554,
0.0042005917,
-0.04124612,
0.0016317543,
0.017714122,
-0.05314237,
-0.0005594457,
0.0002485169,
0.054560658,
0.015123577,
0.058989186,
-0.012844186,
-0.03919105,
0.009558969,
0.032678504,
-0.030478712,
0.014559156,
-0.010362183,
0.028322335,
-0.0028872283,
0.04761394,
0.032939006,
0.06437289,
-0.0011071326,
0.030362932,
0.0026954701,
0.013784887,
-0.01843774,
0.024096416,
0.0302761,
0.021476926,
0.011823888,
-0.04561676,
0.031057604,
0.022547878,
0.020536225,
0.028076306,
-0.0978329,
0.06987237,
0.031375997,
0.027584247,
-0.03476252,
0.0004049989,
-0.00900902,
0.035862416,
-0.037599094,
0.018842964,
-0.040783007,
-0.0069141523,
0.018061459,
0.033546843,
0.05676045,
0.07270895,
-0.008321585,
0.021173008,
0.00869063,
-0.06367822,
-0.01513805,
-0.028713088,
-0.06304143,
0.012800769,
0.009385301,
0.024212196,
0.028799921,
-0.08405525,
-0.0256739,
-0.0383806,
-0.025471289,
0.025963347,
-0.06026275,
0.0028130577,
0.03919105,
0.0053728498,
-0.018973215,
-0.0066934493,
-0.012424489,
0.0098049985,
0.017497038,
-0.0131987585,
-0.002646626,
0.013502677,
0.032823227,
0.015224883,
-0.01274288,
-0.0021907478,
-0.02280838,
-0.04428531,
-0.031810164,
-0.014863076,
-0.0166287,
0.039162107,
-0.0545896,
0.012287002,
0.012808005,
-0.023343856,
0.02237421,
0.05843924,
-0.019320551,
0.038727935,
-0.024689782,
-0.013227703,
-0.014617045,
0.07901888,
0.015789304,
0.01513805,
-0.042461794,
0.0035312467,
-0.009023493,
-0.03620975,
-0.011765998,
-0.051376745,
-0.054039653,
0.0540686,
-0.012294238,
-0.064836,
-0.0036036083,
-0.019392913,
-0.021607177,
-0.026817214,
-0.0016905481,
0.019928388,
0.008357766,
0.014920965,
-0.05962597,
-0.032939006,
-0.0059372704,
0.021259842,
-0.013242175,
-0.0036054174,
0.0591918,
0.009327412,
-0.00020894416,
-0.027396107,
0.022953104,
0.001257283,
0.03065238,
0.019204773,
0.038670044,
0.009001785,
0.027801331,
0.019103466,
0.0007362794,
0.06535701,
-0.05939441,
0.009631331,
-0.00689968,
-0.0067043034,
0.030015597,
0.03858321,
-0.03126022,
-0.020131001,
0.023010993,
-0.02940776,
0.017424677,
0.012844186,
0.03696231,
-0.04454581,
0.072130054,
-0.03707809,
-0.02448717,
-0.015195939,
0.008835353,
-0.07369307,
0.039017383,
0.006273752,
0.062288877,
-0.009631331,
-0.046832435,
0.0067043034,
-0.009710928,
0.025948875,
0.007004604,
0.04799022,
-0.024385864,
-0.004005215,
-0.032736395,
-0.021013813,
-0.00054994825,
-0.006769429,
-0.020608587,
-0.029899819,
-0.014566393,
-0.01638267,
0.039798886,
0.035862416,
0.04104351,
0.005691241,
0.04865595,
0.0156156365,
0.029870873,
0.00045226008,
0.0066572684,
-0.024921339,
-0.06275199,
0.044401087,
0.030623434,
-0.021722956,
-0.066341124,
0.001506026,
-0.024356918,
0.00835053,
-0.03820693,
0.031694386,
-0.07519819,
-0.009153744,
-0.019783664,
0.011946903,
-0.069293484,
-0.025022646,
-0.03551508,
0.0096747475,
0.053316038,
-0.046832435,
0.0026357716,
-0.043156467,
-0.0068815895,
-0.016136639,
-0.050190017,
-0.019769194,
-0.00819857,
0.007815055,
-0.021115119,
-0.00026932088,
0.029306453,
-0.008524198,
0.010709519,
-0.045877263,
0.037541203,
0.0036542614,
-0.000053281892,
-0.036267642,
-0.004710741,
0.00978329,
-0.01508016,
0.054242264,
0.0039545624,
-0.033199508,
0.019798137,
0.018900853,
-0.032823227,
-0.016049806,
0.038264822,
-0.005238981,
0.017468093,
-0.0027605956,
0.035225634,
-0.008140681,
0.003983507,
0.062404655,
0.019392913,
-0.0005757271,
-0.016295835,
0.050826795,
0.0038387836,
0.002013462,
0.026759325,
0.010087209,
-0.020912506,
0.00035954677,
0.045964096,
-0.03097077,
-0.02343069,
-0.006280988,
-0.0272948,
-0.006816464,
-0.0014861267,
0.0021346675,
-0.015716942,
0.043764304,
-0.026513295,
0.0061688274,
-0.017497038,
-0.002427732,
0.006505309,
-0.023358328,
-0.0005752748,
0.019957334,
0.011917958,
0.014153931,
-0.022605767,
-0.039017383,
-0.067441024,
-0.04286702,
-0.026455406,
0.016874729,
0.053113423,
-0.009399774,
0.035399303,
-0.028988061,
-0.016180057,
0.009132036,
-0.021230897,
0.058236625,
-0.041853957,
0.036354475,
0.014407197,
0.0051340563,
0.0106154485,
0.015847193,
-0.013242175,
-0.00344984,
0.016151112,
0.0030210973,
-0.004587726,
-0.010239168,
-0.031491775,
0.050421573,
-0.032823227,
-0.036933366,
-0.01021746,
-0.02978404,
-0.019175828,
0.025890986,
-0.00084572635,
-0.009718165,
-0.050913632,
-0.017699651,
0.004026924,
-0.050016347,
-0.05939441,
-0.03441518,
-0.013249411,
-0.0010356756,
0.023401747,
0.00782229,
0.009862888,
0.006863499,
-0.03869899,
0.0139875,
0.00073040003,
-0.040783007,
-0.021028284,
0.027005354,
-0.0416224,
0.017236536,
0.015123577,
0.0011080372,
0.004699887,
0.055052716,
0.010058264,
0.019508692,
-0.024067473,
-0.01083977,
0.03357579,
-0.0065704347,
0.015022271,
0.012663282,
-0.037020203,
0.042346016,
-0.06472023,
0.027902639,
-0.004490038,
-0.06124687,
-0.042346016,
-0.012822478,
0.039393663,
0.004424913,
-0.019479746,
0.01370529,
0.010268113,
-0.0175694,
0.04428531,
-0.007995958,
-0.047382385,
-0.048366502,
-0.035486136,
0.021853207,
0.026686963,
-0.014298655,
-0.011396954,
-0.03126022,
0.0621731,
-0.023228077,
0.03389418,
0.057831403,
-0.005286016,
-0.0087340465,
-0.02068095,
0.04411164,
0.0005024609,
0.013596747,
-0.04011728,
-0.020521754,
-0.05739723,
0.055863164,
-0.02822103,
-0.004797575,
-0.063273,
0.025572594,
0.065299116,
-0.04561676,
0.03421257,
0.0055826986,
-0.040059388,
-0.008285405,
0.03594925,
-0.014001972,
-0.0040486325,
-0.011664692,
0.011230523,
0.0030862228,
0.001232861,
-0.029002534,
-0.018712712,
0.007872944,
0.07485085,
-0.011939666,
-0.04665877,
-0.004663706,
0.014522975,
-0.038525324,
-0.0032363732,
0.016180057,
-0.0071674176,
-0.028365752,
0.00072994776,
0.011816652,
0.0035656185,
-0.0432433,
0.022070292,
-0.006320787,
-0.0008678871,
0.00055582763,
0.011570622,
0.026556712,
-0.030044543,
0.011700873,
0.05409754,
-0.0029849166,
-0.0009361784,
0.0077426927,
0.045819372,
-0.053171314,
0.004294662,
0.049697954,
-0.014465086,
0.007684803,
0.07334573,
0.0075979694,
0.047092937,
-0.014305891,
-0.008654449,
0.010326002,
-0.017468093,
-0.0131987585,
-0.020637533,
0.015398552,
0.014682171,
0.011158161,
-0.0556895,
-0.010572032,
0.011563386,
0.015760358,
-0.006422093,
-0.053055536,
0.03757015,
-0.053576536,
-0.010275349,
0.022837326,
-0.0033973777,
0.000582511,
-0.03956733,
-0.018553518,
-0.064546555,
-0.028322335,
0.018524572,
-0.013603983,
0.03195489,
-0.04075406,
-0.020217834,
-0.027497413,
-0.019769194,
-0.022417627,
0.0058938535,
0.06437289,
0.0072831963,
-0.012677754,
-0.02866967,
0.04107245,
0.027439523,
-0.018495629,
0.032360114,
-0.036267642,
0.01843774,
0.003234564,
0.010333238,
0.03696231,
-0.028206557,
0.024038527,
-0.037309647,
0.026759325,
-0.01489202,
-0.0432433,
-0.009392537,
0.03253378,
0.05901813,
-0.010065501,
0.005434357,
-0.03134705,
-0.002246828,
-0.027309272,
-0.017033923,
0.0030663235,
-0.03658603,
-0.019783664,
0.05502377,
0.02767108,
0.010188515,
0.02623832,
0.02603571,
-0.002420496,
0.022518935,
-0.0099714305,
0.0001806779,
0.007945305,
0.01962447,
0.04011728,
-0.0035348649,
0.024588477,
0.020159945,
-0.027497413,
0.03919105,
0.016483976,
0.0074243015,
-0.0053221965,
0.025210787,
0.028770978,
0.047498163,
0.0036379802,
-0.031318106,
0.0120265,
0.0064872187,
-0.026383044,
0.024530588,
-0.08220279,
-0.017858846,
0.020102056,
-0.046890326,
-0.018119348,
-0.06767258,
0.017468093,
0.038554266,
0.0010790925,
-0.0033792874,
-0.013394134,
0.010246404,
0.00036090353,
0.05334498,
-0.016874729,
0.006874353,
-0.021780845,
0.029957708,
0.009443191,
-0.04344591,
0.015543275,
0.03638342,
-0.0107456995,
-0.0046492335,
0.009421482,
-0.03427046,
-0.020550698,
0.0011143688,
-0.0039690346,
0.005817874,
-0.0556895,
0.024183251,
0.021274313,
0.029957708,
-0.0042403904,
0.050768908,
-0.023474107,
-0.022345265,
-0.0004748731,
0.022533406,
0.0035113473,
-0.019494219,
0.031607553,
0.0022848179,
0.05540005,
0.0098049985,
0.006407621,
0.022272905,
0.042953853,
0.019884972,
-0.0064510377,
0.01644056,
0.055863164,
0.023039937,
-0.0030699414,
-0.025543649,
0.03551508,
-0.013357954,
0.014740061,
-0.020073112,
0.02878545,
-0.0003274363,
0.0067079216,
-0.006870735,
0.043590635,
-0.008907715,
-0.04454581,
-0.01981261,
0.020521754,
0.030536601,
-0.022113709,
-0.0356598,
0.018278543,
-0.011136453,
0.017873319,
-0.015557746,
0.03270745,
0.05702095,
0.023763554,
0.018785074,
0.0073700305,
0.011064091,
-0.015977444,
0.027873693,
-0.048134945,
0.0023047174,
-0.009768818,
-0.03334423,
-0.00068246044,
0.028582837,
-0.000806832,
0.01639714,
0.022982048,
0.008943896,
0.04037778,
-0.04729555,
-0.05571844,
-0.049640067,
-0.009045201,
-0.013575039,
-0.01720759,
0.052939758,
-0.0023915514,
-0.0071131466,
0.024371391,
-0.023358328,
0.0023517525,
0.03238906,
-0.018452212,
0.028568365,
0.060957424,
0.0191903,
0.00987736,
0.013915138,
-0.0152827725,
-0.04361958,
-0.021071702,
0.012598157,
0.009276759,
-0.015253828,
-0.076529644,
-0.018104875,
-0.0032924535,
0.04854017,
-0.017294426,
-0.051637247,
-0.03288112,
0.0005807019,
-0.026585657,
0.0021563761,
0.072130054,
-0.043503802,
-0.025181841,
-0.020782255,
0.0400015,
-0.020709895,
-0.0050327503,
-0.0069756596,
0.06767258,
0.032186445,
-0.025934402,
-0.022736019,
-0.07450352,
0.02318466,
0.0056261155,
-0.019277133,
-0.011375246,
0.0178299,
0.028452586,
0.00046582788,
0.010470726,
-0.06830936,
0.005029132,
0.027960528,
0.074792966,
-0.0021907478,
0.09586467,
0.04561676,
0.005969833,
0.051000465,
0.022721546,
0.03528352,
-0.03632553,
0.01383554,
0.021216424,
0.039480496,
0.005430739,
-0.0038822005,
-0.027063243,
0.07195639,
0.005528427,
0.00030165748,
-0.049119063,
-0.025268676,
-0.067846246,
0.019306079,
-0.036354475,
0.0063569676,
0.023083355,
-0.018799547,
0.023980638,
-0.039422605,
0.25031328,
0.054531712,
0.033923123,
0.05421332,
-0.014124987,
0.0057201856,
0.0046419976,
0.013676344,
0.023792498,
-0.040783007,
0.022084765,
-0.020695422,
-0.0013404989,
0.03357579,
0.019363968,
0.029523538,
-0.056673616,
-0.034183625,
-0.005817874,
-0.013061271,
-0.040551446,
-0.007384503,
0.012069917,
0.002330044,
-0.006726012,
-0.018799547,
0.024356918,
-0.009117563,
0.041477676,
-0.012504087,
0.03508091,
-0.017887792,
0.025500232,
-0.020348085,
-0.0027587865,
0.034646742,
-0.005018278,
-0.051492523,
0.008835353,
-0.016903672,
0.00853867,
-0.009320176,
0.05210036,
-0.023155715,
-0.00610732,
0.01626689,
-0.0055428995,
-0.030131375,
-0.007626914,
-0.055660553,
0.041304007,
-0.06321511,
-0.02280838,
-0.010260877,
-0.070335485,
-0.048945393,
-0.0067477203,
-0.057657734,
0.032099612,
-0.0010709519,
0.0067477203,
0.05719462,
-0.0069286246,
-0.052563477,
-0.04961112,
0.05123202,
0.009074146,
0.021230897,
-0.017424677,
-0.02424114,
-0.0046275253,
0.0063026967,
-0.011129216,
-0.003997979,
0.015166994,
-0.02330044,
0.02118748,
0.009754346,
0.030305043,
-0.074735075,
-0.010108917,
-0.015152521,
-0.03441518,
-0.015051216,
0.0028456205,
0.050711017,
-0.036470253,
-0.0023481343,
-0.0011396954,
0.026629074,
0.030565545,
0.019884972,
-0.02822103,
0.025413398,
-0.009464899
] | Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with LeViT.
[LevitForImageClassification] is supported by this example script and notebook.
See also: Image classification task guide |
[
0.055430785,
-0.019897105,
-0.014216401,
0.018813672,
0.015358398,
0.0051243464,
-0.014172478,
-0.029823694,
0.021170871,
0.08702604,
0.017613111,
0.0019911746,
0.04960367,
-0.057509806,
-0.032210175,
0.031038897,
-0.0067092334,
-0.010073001,
-0.02573886,
-0.015665859,
0.0075840326,
-0.008184313,
-0.09118408,
0.0018639809,
-0.03701242,
0.0077377628,
0.032356586,
-0.01863798,
0.050921362,
0.03150741,
-0.026222011,
-0.024523657,
0.03150741,
-0.041434,
-0.036895294,
-0.032766536,
0.010351179,
-0.01685178,
-0.06506456,
0.0090993745,
0.05270756,
0.0077304426,
0.01286211,
-0.070511006,
-0.033117916,
-0.017232444,
-0.014838642,
0.00858694,
-0.011456574,
-0.030541103,
-0.030804642,
0.003641946,
0.013608799,
-0.022371432,
-0.03967708,
-0.01863798,
-0.016075807,
0.009209182,
-0.015709782,
-0.039559953,
0.025255706,
0.0037700548,
0.021434408,
-0.0098607065,
0.015607295,
0.0052304934,
-0.008111108,
0.024011223,
-0.0032887321,
-0.015446244,
-0.044245068,
0.0031130405,
-0.0872603,
-0.05876893,
-0.02857921,
0.026866216,
0.007382719,
0.0017541735,
-0.010856293,
0.018974721,
0.01554873,
0.041551128,
0.0014906357,
0.018930798,
-0.01894544,
-0.06892978,
0.029369825,
0.00069178676,
-0.035255503,
-0.021346562,
0.019443234,
0.021185512,
0.0029062363,
0.010285295,
0.010548833,
0.01598796,
-0.030687513,
0.041638974,
0.012042214,
-0.02884275,
-0.022151817,
0.06752424,
0.0026555094,
0.029267337,
-0.056836322,
-0.016163653,
-0.017818084,
-0.023586635,
-0.00977286,
-0.035870425,
-0.019296823,
0.017100675,
-0.02398194,
0.007016694,
-0.0059845042,
0.027334727,
0.0042715087,
-0.029179491,
-0.019575004,
-0.021434408,
0.02395266,
-0.037510216,
-0.0045826295,
-0.03507981,
0.036338937,
-0.059969492,
0.03657319,
0.03466986,
-0.00046782536,
-0.030160438,
0.010373141,
-0.0054976917,
-0.0069581303,
0.0020314374,
0.026588036,
-0.05909103,
-0.000059707785,
-0.0088870805,
-0.013132967,
0.042546716,
-0.0035632509,
-0.02440653,
0.016602881,
0.07607458,
0.000024663776,
-0.014531182,
0.011785996,
-0.04295666,
-0.030014029,
-0.0034424625,
-0.0016297251,
-0.0118445605,
0.008169672,
0.008147711,
-0.037568778,
0.0023480486,
-0.028637774,
0.043600865,
-0.008118428,
0.03197592,
-0.0006780608,
-0.001582142,
-0.028403519,
0.07677735,
-0.020512026,
0.041931793,
-0.024918964,
-0.019618927,
-0.003654757,
-0.05625068,
0.018462287,
0.0012920673,
0.043717995,
0.014494579,
0.038710777,
0.02159546,
0.048315264,
-0.026529472,
-0.025709577,
0.02973585,
-0.0005385139,
-0.0443622,
0.0027177336,
0.042575996,
0.019399311,
-0.00013085385,
-0.03800801,
0.009465399,
-0.0037810355,
0.025197143,
0.0075986735,
0.060613696,
-0.013440428,
0.00042275857,
-0.025328912,
-0.0033363155,
-0.035138376,
-0.009443438,
0.011903124,
-0.033996377,
-0.004395957,
0.044215787,
-0.04040913,
0.009333631,
-0.016749293,
0.0346113,
0.011829919,
0.04395225,
-0.0048608086,
-0.016222216,
0.040614106,
-0.0034827252,
-0.0239673,
-0.0013414806,
0.025651013,
-0.039999183,
0.001006568,
-0.0024688367,
-0.01953108,
-0.018579416,
0.0133233005,
0.0077963267,
0.017378854,
0.02456758,
0.0076425965,
-0.010292616,
-0.03434776,
0.018872235,
0.037363805,
-0.013945542,
-0.011785996,
0.022752097,
-0.019560361,
0.0677585,
0.05282469,
-0.006826361,
0.034757707,
0.034230635,
-0.014165157,
0.023308454,
0.027861802,
0.017657032,
0.024728632,
0.01922362,
0.029545516,
-0.0216101,
-0.055108685,
0.015168065,
-0.021083025,
-0.013886978,
-0.06910547,
0.057597652,
-0.03004331,
-0.014889887,
-0.034582015,
-0.01317689,
-0.02089269,
0.015592653,
-0.011112511,
0.0044911234,
0.009882668,
0.026983343,
0.0010166337,
-0.014026068,
0.026104884,
0.059705954,
0.0046558348,
0.0098607065,
0.0058271135,
-0.025577808,
-0.02440653,
-0.02928198,
-0.07302926,
-0.011376048,
-0.028213186,
-0.004754661,
0.008125749,
0.0042971303,
0.026295217,
-0.019355388,
-0.017188521,
0.024450453,
-0.024596862,
0.030511823,
-0.0012426539,
0.020453462,
-0.052121922,
0.04005775,
-0.03285438,
-0.021507613,
-0.008572299,
-0.03888647,
-0.014069991,
0.024318684,
-0.004791264,
0.018315878,
0.025855986,
0.0010340199,
-0.0074559236,
0.040672667,
0.0036254749,
-0.013843056,
-0.03253228,
0.0012600401,
-0.035255503,
0.02723224,
0.005933261,
-0.04216605,
0.0500429,
0.06746568,
-0.014714194,
0.033527866,
-0.009831424,
0.0349334,
-0.020614512,
0.009502002,
0.06430323,
-0.015021655,
-0.037861597,
-0.04811029,
-0.03062895,
0.025680296,
0.014457977,
-0.040028464,
-0.022020048,
0.04456717,
-0.010307256,
-0.03967708,
-0.018242672,
-0.04837383,
-0.0134477485,
-0.013140288,
-0.024025863,
0.039764926,
0.044040095,
0.03742237,
-0.039501388,
0.0079573775,
-0.001347886,
0.04483071,
0.014706873,
-0.0346113,
0.030511823,
0.034582015,
0.004557008,
0.004212945,
0.01717388,
-0.058681086,
-0.0088870805,
-0.004201964,
0.018110903,
0.042663842,
0.0038688814,
-0.035021245,
-0.002547532,
0.02131728,
-0.017744878,
0.009348271,
-0.00902617,
-0.010907537,
0.033820685,
-0.02131728,
-0.0046375333,
0.0134916715,
-0.034552734,
0.009970514,
0.0023571993,
0.026090244,
0.021566177,
-0.027744675,
0.0010111433,
0.013908939,
0.0029940824,
-0.027817879,
-0.009648412,
-0.02559245,
0.0562214,
0.042224612,
0.043542303,
-0.010395102,
-0.019721413,
0.005640441,
-0.015402321,
0.040936206,
0.03431848,
0.011236959,
-0.0334693,
0.018462287,
-0.04099477,
0.0060650297,
0.018154826,
-0.022561764,
-0.040321283,
-0.0079573775,
-0.037334524,
-0.010036398,
0.011127152,
0.06506456,
0.018784389,
0.02102446,
0.033322893,
-0.0076279556,
-0.004161701,
0.02707119,
-0.019633567,
-0.050979923,
-0.026646601,
0.052795406,
-0.0023791608,
-0.010453667,
-0.03194664,
-0.0027598266,
-0.00051563734,
-0.0016187443,
-0.027334727,
0.007774365,
-0.049662236,
-0.022737456,
0.0070972196,
0.016002601,
-0.013572197,
-0.07232649,
-0.038535085,
0.024172273,
0.043044508,
-0.028315673,
0.0029208774,
-0.030248284,
0.030980334,
0.027847162,
-0.020907333,
-0.035636168,
-0.026500192,
-0.032473713,
-0.036309652,
0.024523657,
0.026456269,
-0.044040095,
0.011624945,
-0.03774447,
0.010475628,
0.047261115,
-0.033996377,
-0.029428389,
0.031331718,
0.047261115,
0.014589746,
0.035226222,
-0.065005995,
0.022005407,
0.035255503,
-0.02812534,
0.054405916,
-0.04676332,
-0.018711185,
0.00458995,
-0.0112955235,
0.011031985,
0.016617524,
-0.008645504,
-0.028652417,
0.017598469,
0.05027716,
-0.02336702,
-0.0062663434,
-0.00443988,
0.015402321,
0.007942737,
0.0037407728,
-0.022927789,
0.025489962,
0.006749496,
0.039706364,
-0.03449417,
0.03241515,
-0.010482948,
0.03373284,
-0.045679886,
-0.008162351,
0.019501798,
-0.04058482,
0.04497712,
-0.00784757,
0.0070093735,
0.006021107,
-0.059266724,
-0.02383553,
0.033205763,
0.015299833,
0.018374441,
0.039559953,
0.010402423,
0.011317485,
-0.01611973,
-0.037334524,
-0.047143985,
-0.058944624,
-0.0035303086,
0.0965134,
0.006537202,
0.0072729113,
-0.005680704,
-0.07420053,
0.053937405,
-0.027115112,
-0.014699553,
-0.029018441,
-0.004158041,
-0.0083819665,
-0.0107904095,
-0.029033082,
-0.013557556,
-0.013433108,
-0.014611707,
0.015592653,
-0.030131156,
0.025211783,
-0.019941028,
-0.02412835,
0.072736435,
-0.02412835,
-0.046119116,
-0.0061199334,
0.014662951,
0.028242469,
-0.03417207,
0.014619028,
-0.036309652,
-0.04442076,
0.013703966,
0.04363015,
-0.0654745,
-0.003197226,
-0.009516643,
-0.061784975,
0.014780079,
0.012056855,
0.014670271,
-0.06231205,
-0.022693533,
-0.028813466,
0.02146369,
-0.0500429,
-0.023791607,
-0.024011223,
-0.035460476,
-0.040614106,
0.038535085,
0.0010925839,
-0.011149113,
0.0127742635,
-0.0049303533,
-0.0051280065,
0.045387067,
-0.03862293,
-0.025929192,
-0.013418467,
0.003684039,
0.011668868,
0.016837137,
-0.004300791,
0.041638974,
-0.009509322,
0.03223946,
-0.07607458,
-0.014538502,
-0.0063651702,
-0.03466986,
0.074259095,
-0.030804642,
0.017979136,
0.03182951,
-0.014889887,
-0.030423976,
0.04986721,
-0.013440428,
-0.026734447,
-0.013813773,
-0.043103073,
0.047758907,
-0.040614106,
-0.013886978,
-0.021331921,
-0.0221811,
0.046675473,
-0.035577603,
0.00932631,
0.04292738,
0.002251052,
-0.029325902,
-0.03273725,
0.013513633,
0.024538297,
-0.010592756,
0.008023262,
0.005135327,
-0.03844724,
-0.020102078,
-0.054669455,
-0.0031899055,
-0.0017495982,
0.01465563,
0.0033674275,
-0.030248284,
0.06295625,
-0.023118122,
-0.030570386,
-0.035226222,
0.025241066,
0.026822293,
0.019794617,
-0.005062122,
-0.0029227075,
0.0058271135,
0.028432801,
-0.028388878,
-0.031038897,
-0.034728426,
0.04752465,
0.014750796,
-0.042136766,
0.017012829,
-0.0024377247,
-0.0147581175,
-0.07015962,
-0.011829919,
-0.020951256,
-0.013689325,
-0.008389287,
0.01967749,
-0.0062553626,
-0.032795817,
-0.012356995,
0.033088636,
0.025694937,
0.0075547504,
0.008330723,
0.0045204055,
-0.069515415,
0.04986721,
0.044889275,
-0.036221806,
-0.0028385217,
-0.07642596,
-0.04169754,
-0.02324989,
-0.01790593,
0.030101875,
0.007518148,
-0.027451854,
0.020468103,
0.0145018995,
0.06916403,
0.02440653,
0.023571992,
0.012335033,
-0.042517435,
-0.017554546,
-0.010585436,
0.021390485,
0.0048608086,
0.011207677,
-0.03153669,
0.042253897,
0.021346562,
0.03833011,
-0.022151817,
-0.061199334,
-0.015270552,
-0.004571649,
-0.028740263,
-0.012371636,
-0.004469162,
-0.0071082003,
0.04570917,
-0.039706364,
-0.028139982,
0.0037737149,
-0.020116718,
-0.013535595,
-0.018257314,
-0.028901313,
0.00057786156,
-0.03510909,
0.0075547504,
-0.039150007,
-0.02635378,
-0.0005673383,
0.02633914,
0.014479939,
-0.0044362196,
0.013140288,
0.030248284,
-0.014282285,
0.04603127,
-0.027437214,
0.02026313,
-0.009838745,
0.004710738,
-0.024230838,
-0.005135327,
0.05891534,
-0.07578176,
-0.0015427943,
0.010321897,
-0.00051243464,
-0.017056752,
0.008308762,
0.033235047,
0.0046265526,
0.027495777,
0.011932407,
0.01464099,
-0.03285438,
0.00547573,
-0.040877644,
-0.02352807,
0.02324989,
-0.0061089527,
0.007045976,
0.051097054,
0.01049759,
0.050160028,
-0.0013597818,
0.028183904,
0.003314354,
0.037832316,
0.033615712,
0.017686315,
-0.033235047,
-0.038681492,
0.030365411,
0.016895702,
-0.073614895,
0.038827904,
0.024538297,
-0.0018713014,
-0.0054098456,
0.024904324,
0.00110997,
0.026119525,
-0.01227647,
0.015446244,
0.024801835,
0.028901313,
-0.021068383,
-0.023996582,
-0.016895702,
-0.015255911,
0.02884275,
-0.045972705,
-0.014692233,
-0.028242469,
0.015563372,
0.027876444,
0.036866013,
-0.03803729,
0.034757707,
0.025855986,
0.022020048,
0.026090244,
-0.044596452,
0.004128759,
0.0006053134,
-0.0056148195,
-0.048725214,
-0.029003799,
0.027246881,
0.08005693,
-0.010819691,
-0.03771519,
-0.052180488,
-0.02086341,
-0.001996665,
0.0020039855,
-0.0029080666,
0.026851574,
-0.045416348,
0.05191695,
-0.0076865195,
-0.0043337326,
0.02278138,
0.012796225,
0.008982247,
0.015797628,
-0.011720112,
-0.0077304426,
0.006130914,
-0.05238546,
0.011727433,
0.048783775,
0.04219533,
-0.016954266,
0.012810865,
0.0057356074,
0.03745165,
0.022268945,
0.010541513,
-0.036631756,
0.01789129,
0.020087438,
-0.02234215,
-0.015563372,
0.02885739,
0.032473713,
-0.01953108,
0.013301339,
-0.014509221,
0.022137176,
-0.010439025,
0.039296415,
-0.031331718,
0.035870425,
0.022005407,
0.0065518427,
-0.004022612,
0.019457875,
0.0005014539,
-0.022825303,
-0.017232444,
0.035314064,
0.034054942,
0.03297151,
-0.0054391273,
0.005849075,
0.024172273,
0.0467926,
-0.015329116,
0.04055554,
-0.03431848,
0.0055306335,
-0.018198749,
0.0565435,
-0.021668665,
-0.0033491263,
-0.006690932,
-0.012108098,
-0.013059762,
0.036924575,
-0.011551741,
-0.0032814117,
0.0041067973,
-0.019662848,
-0.03537263,
-0.06869552,
0.012591251,
-0.08122821,
0.03417207,
0.031331718,
-0.006764137,
-0.024992168,
0.029604081,
-0.020658435,
0.04026272,
0.03777375,
0.029120928,
-0.0015775666,
0.07999837,
-0.007950057,
-0.0052231727,
0.038388673,
0.013886978,
-0.07566463,
0.015168065,
-0.037685905,
0.009428797,
0.030570386,
-0.01138337,
-0.062370613,
0.055899296,
0.01910649,
0.02928198,
-0.045357786,
0.015621936,
0.030219002,
-0.04292738,
-0.017071394,
0.06635296,
0.019560361,
-0.0073607573,
0.0011831749,
-0.03578258,
-0.052444022,
-0.017979136,
0.019457875,
0.052356176,
-0.036866013,
-0.038125135,
0.015416962,
-0.014970412,
-0.019150414,
0.010051039,
-0.030277565,
0.01154442,
0.024801835,
0.01345507,
0.065650195,
0.027715392,
-0.030892488,
-0.019370029,
0.060438003,
0.02856457,
0.012261828,
0.085444815,
0.08263374,
0.026661241,
0.0381837,
0.0035943629,
-0.0036584171,
0.034523454,
-0.0060650297,
0.0012966426,
-0.0482567,
-0.013960184,
-0.026134167,
0.024333324,
0.0049083917,
-0.00081120234,
-0.059208162,
-0.017510623,
-0.035196938,
-0.058241855,
0.0077377628,
-0.014472618,
0.004696097,
0.017788801,
-0.030892488,
0.029369825,
-0.022386072,
0.25463608,
0.078300014,
0.02767147,
0.027115112,
0.031858794,
0.032590844,
0.009970514,
-0.04632409,
0.008689427,
-0.04989649,
0.023513429,
-0.030775359,
-0.0073790587,
0.004011631,
-0.0025932852,
-0.008674786,
-0.013967504,
0.0052744164,
0.009553245,
-0.047583215,
-0.008894401,
0.05651422,
0.015914755,
0.039237853,
0.00680806,
0.013974824,
0.005739268,
-0.04840311,
0.02219574,
-0.04014559,
-0.0023608594,
-0.026134167,
0.034728426,
-0.016676087,
0.00858694,
0.05434735,
0.014414054,
-0.045357786,
-0.012737661,
-0.01969213,
-0.01658824,
-0.004509425,
0.033557147,
-0.008865119,
-0.009882668,
0.022268945,
0.04705614,
-0.0037700548,
0.060730822,
-0.086967476,
0.030014029,
-0.033557147,
0.017144598,
-0.016749293,
-0.053703148,
-0.0125619685,
-0.028754903,
-0.03344002,
-0.0041214386,
-0.012459482,
-0.0054061855,
0.026456269,
-0.025475321,
0.017510623,
-0.017964493,
0.03742237,
-0.043776557,
0.033674274,
-0.012796225,
0.014267644,
0.03226874,
0.0030032329,
-0.040028464,
0.023162045,
0.0047583217,
0.0370417,
-0.0056184796,
0.031009614,
-0.016002601,
-0.026646601,
-0.006969111,
0.03373284,
0.019443234,
0.010036398,
0.010944139,
0.025870629,
0.0005577302,
-0.02573886,
0.0076865195,
0.029384466,
0.017188521,
0.06166785,
0.0057612294,
0.01806698,
0.03229802
] | The segmentation model uses a DeepLabV3+ head. The available semantic segmentation checkpoints are pre-trained on PASCAL VOC.
The original TensorFlow checkpoints use different padding rules than PyTorch, requiring the model to determine the padding amount at inference time, since this depends on the input image size. To use native PyTorch padding behavior, create a [MobileNetV2Config] with tf_padding = False.
Unsupported features: |
[
0.06668799,
-0.026752742,
0.010930747,
0.007269767,
-0.002866898,
-0.0103864465,
0.005055284,
-0.017283404,
-0.009670654,
0.0805863,
0.043275617,
0.023158869,
0.03367207,
-0.014651377,
-0.035580847,
0.06003709,
0.0025052736,
-0.036415942,
-0.024590453,
-0.013219791,
0.022845708,
-0.013868478,
-0.08857931,
0.0074636275,
-0.026022037,
0.014271112,
0.023979047,
-0.013160142,
0.0449458,
0.008164507,
-0.055742335,
-0.02494835,
0.020340435,
-0.004995635,
-0.048644062,
-0.027483447,
0.023367641,
-0.026275547,
-0.03856332,
-0.026857128,
0.052551094,
-0.012571105,
0.023621151,
-0.038861565,
-0.043275617,
0.0076873126,
-0.0077395057,
0.010446096,
-0.0028277528,
-0.03182294,
-0.033015925,
0.0053870836,
-0.017581651,
-0.019833416,
-0.03209136,
0.01877464,
0.0144202355,
-0.0087908255,
-0.017298317,
-0.012019348,
0.01308558,
0.041605435,
0.02533607,
-0.03653524,
0.016522875,
0.0025071376,
-0.04342474,
-0.019878153,
0.0111842565,
0.0056517776,
0.010595219,
0.011154432,
-0.0011156297,
-0.05565286,
-0.012354876,
0.005633137,
0.030033458,
-0.020340435,
-0.02056412,
0.037638754,
0.010759255,
0.028810646,
0.00011929874,
-0.019386046,
-0.02788608,
-0.026469408,
0.012459262,
-0.010602675,
-0.024292206,
-0.007746962,
0.038712442,
0.0448265,
-0.009715391,
0.030436091,
0.03010802,
-0.025425544,
0.009618461,
0.032836977,
0.02399396,
-0.012213209,
0.008149595,
0.058993228,
0.0016487458,
0.036952786,
-0.071042396,
-0.0098570585,
-0.015009273,
-0.0331054,
-0.057173923,
-0.043693163,
0.039129987,
0.020444822,
0.00074561714,
0.012019348,
0.0060208584,
0.032747503,
0.009804865,
-0.0066509047,
-0.016642174,
-0.017417615,
0.018118497,
0.015389537,
-0.0047980463,
-0.020847455,
0.024560628,
-0.025798352,
0.020772893,
0.03271768,
-0.0329861,
-0.015314976,
0.00847021,
-0.021220263,
-0.015218046,
0.04601949,
0.008843019,
-0.053773906,
-0.005864279,
0.012235577,
0.0020765436,
0.012041717,
0.010677237,
-0.02915363,
0.000696686,
0.07098275,
0.001130542,
0.002909771,
0.004730941,
-0.015001817,
-0.012742597,
-0.05836691,
-0.02241325,
0.01725358,
-0.022338688,
0.013324178,
0.043961585,
-0.015121115,
-0.032687854,
0.04804757,
-0.002566787,
0.018595692,
0.016388664,
0.014129445,
-0.01082636,
0.05404233,
-0.027468534,
0.011154432,
-0.046437036,
0.0048092306,
0.009275477,
-0.029899247,
-0.008828106,
-0.014345674,
-0.007042354,
0.03581945,
0.017074632,
0.023665888,
0.031793114,
-0.019997451,
0.020444822,
0.010036007,
0.0010205634,
-0.033791367,
-0.0009478658,
0.053594958,
-0.011825488,
0.0036236993,
0.023054482,
-0.008641702,
-0.024560628,
-0.01409962,
0.024426417,
0.034149263,
-0.0038250159,
-0.0006402987,
-0.0067403787,
0.01384611,
-0.04545282,
-0.032866802,
0.015434274,
-0.05553356,
-0.022830795,
0.0060693235,
-0.02215974,
0.013823741,
-0.02196588,
0.015016729,
0.03760893,
0.05150723,
-0.044468604,
-0.020042188,
0.024873788,
-0.019132536,
-0.0023766547,
0.021563247,
0.030346617,
-0.011415398,
0.0474809,
0.0014558175,
-0.020802718,
0.02870626,
0.029750124,
0.009894339,
0.02806503,
-0.0009842146,
-0.002177202,
0.008962318,
0.0059462967,
0.018043935,
-0.008604421,
0.016418489,
-0.0544897,
0.03405979,
-0.015434274,
0.050761614,
0.03692296,
0.03901069,
0.033642244,
0.04124754,
-0.0039368584,
0.0356405,
-0.008060121,
0.018252708,
0.016209716,
-0.013562775,
0.0705652,
-0.006665817,
-0.03259838,
-0.018297445,
-0.0144202355,
0.004525896,
-0.041277364,
0.061200254,
-0.015300063,
-0.019564994,
-0.03722121,
-0.0070609944,
-0.0051671267,
0.024336943,
-0.031942237,
-0.024023784,
0.01725358,
0.008403105,
0.011683821,
-0.057382695,
0.020519383,
0.07432312,
0.02654397,
0.027796606,
0.007821524,
-0.059619546,
-0.043275617,
-0.02145886,
-0.06334763,
-0.047779147,
-0.0149943605,
-0.022741321,
0.038235247,
-0.022771146,
0.012168472,
-0.02113079,
-0.009886883,
0.012623298,
-0.042380877,
0.012332507,
-0.005815814,
0.0027233665,
-0.05964937,
0.036505416,
-0.00747854,
0.013301809,
0.010692149,
-0.030033458,
-0.027513271,
-0.01966938,
-0.023412379,
-0.014770675,
0.011400485,
0.01028206,
-0.022129916,
0.008335999,
-0.02954135,
-0.027930817,
-0.031405393,
-0.017969374,
-0.01986324,
0.033582594,
0.007362969,
-0.0306896,
0.033463296,
0.046287913,
-0.018193059,
0.036744013,
-0.018819377,
0.05392303,
-0.022398338,
0.044856325,
0.04202298,
-0.0035547297,
-0.019266747,
-0.051149335,
-0.012608386,
0.023501853,
0.004604186,
-0.030659776,
-0.00033832376,
0.042380877,
0.005010547,
-0.061737098,
-0.008380736,
-0.042559825,
-0.00014562835,
-0.006628536,
-0.035252776,
0.022487812,
0.044796675,
0.019550081,
-0.029436965,
-0.007441259,
-0.010058375,
0.03850367,
0.037907176,
-0.041605435,
-0.0015443595,
0.032121185,
-0.02788608,
0.009118898,
0.026007125,
-0.05308794,
0.026976427,
-0.013376371,
0.041426487,
0.038980864,
0.029332578,
-0.030197494,
0.006751563,
0.02940714,
-0.018923763,
-0.022756234,
0.001782025,
-0.035908923,
0.039607182,
-0.030436091,
-0.037012435,
0.019177273,
-0.005629409,
-0.019684292,
0.013137774,
0.045303695,
0.033701893,
-0.06692659,
0.026409758,
0.0013971,
-0.010080744,
-0.016135154,
0.009178547,
-0.01966938,
0.06984941,
0.013137774,
0.09305302,
-0.023770275,
-0.010871097,
0.028780822,
-0.03119662,
0.014755763,
0.017268492,
0.010997852,
-0.01649305,
-0.032836977,
-0.041426487,
0.010103112,
0.00022438416,
-0.0050254595,
-0.041098416,
-0.0010149713,
-0.017835163,
-0.02954135,
0.019251835,
0.05657743,
0.039875604,
-0.0032788513,
-0.013741723,
-0.015285151,
0.013189967,
0.01384611,
-0.04214228,
-0.005737524,
-0.020936929,
0.05061249,
-0.031017672,
-0.023606239,
-0.05296864,
-0.015926382,
0.0038697529,
0.008992143,
-0.03933876,
0.008231613,
-0.041933507,
-0.009871971,
-0.022308864,
0.0013038979,
-0.005875463,
-0.03626682,
-0.04425983,
0.0043469477,
0.038682617,
-0.04297737,
0.030958023,
-0.02870626,
0.057561643,
0.0065949834,
-0.048554588,
-0.00055874686,
-0.025261508,
-0.021354474,
-0.014315849,
0.020832542,
0.014532078,
-0.027617658,
0.029451877,
-0.02190623,
0.021384299,
0.028989594,
-0.024903612,
-0.029824685,
-0.000024363622,
0.01922201,
0.0498967,
-0.000609542,
-0.051030036,
0.0042500175,
0.06537571,
-0.032956276,
0.0052566007,
-0.06304938,
-0.024307119,
0.016090417,
0.0024157995,
-0.021622896,
0.020713244,
0.011713645,
-0.0049434416,
-0.011385573,
0.0015890965,
-0.030093107,
-0.010557938,
0.007918454,
0.014986904,
-0.0030812628,
0.013577688,
-0.027304498,
-0.008604421,
0.04226158,
0.023278167,
-0.07784243,
0.019490432,
0.0041568154,
0.021265,
-0.008000472,
-0.006136429,
-0.013025931,
-0.020340435,
0.042947546,
0.013175054,
0.011288643,
-0.01674656,
-0.051775653,
0.027871167,
0.049479153,
0.0069640637,
-0.018043935,
0.035908923,
0.020862367,
0.012205753,
0.007933366,
0.002044855,
-0.009409688,
-0.062273942,
0.002484769,
0.062870435,
-0.012556192,
0.020802718,
0.022562373,
-0.045900192,
0.021175526,
-0.06722484,
-0.0029507799,
-0.024650102,
0.023143956,
-0.022115003,
0.03170364,
-0.023949223,
0.016478138,
-0.025127297,
0.0045855455,
0.017179018,
-0.03883174,
0.019579906,
-0.03304575,
-0.014121989,
0.03895104,
-0.010833817,
-0.048584413,
-0.0058046295,
0.00903688,
0.01635884,
-0.0074710837,
-0.048614237,
-0.032359783,
-0.029496614,
-0.008403105,
0.01591147,
-0.05514584,
-0.03170364,
-0.014315849,
-0.038861565,
0.017999198,
0.006751563,
0.013793916,
-0.0120715415,
0.0038622967,
-0.02876591,
0.005144758,
-0.067463435,
-0.01378646,
-0.018864114,
-0.00722503,
-0.053624783,
0.045572117,
-0.005871735,
-0.029556263,
0.0076873126,
0.01992289,
0.029377315,
0.0114974165,
-0.030033458,
-0.051924776,
-0.030779075,
0.008477666,
-0.010401359,
-0.009603549,
-0.019893065,
0.005085109,
-0.014144357,
0.051149335,
-0.032389607,
-0.02031061,
0.006315377,
-0.05055284,
0.060126565,
-0.037907176,
0.016150067,
0.022100091,
-0.0012256082,
0.013197423,
0.01801411,
-0.031494867,
-0.00782898,
-0.051477406,
-0.04664581,
0.051775653,
-0.023218518,
0.002302093,
-0.034358036,
-0.02584309,
0.03850367,
0.0026935418,
0.024605365,
0.06817923,
-0.02050447,
-0.038622968,
-0.051089685,
-0.022502724,
0.03361242,
-0.0024996814,
0.015240414,
0.0017577924,
-0.031435218,
-0.0042425613,
-0.08673018,
-0.04309667,
0.001869635,
-0.0015024185,
0.01750709,
-0.028035205,
0.06543536,
-0.05246162,
-0.041665085,
-0.031047497,
0.041545786,
0.012854439,
-0.022532549,
-0.016657086,
-0.026081687,
0.021339562,
0.023307992,
-0.073666975,
-0.015106203,
-0.002743871,
0.026275547,
0.0020560392,
-0.026051862,
0.03972648,
0.026514145,
-0.0200571,
-0.05938095,
0.016194804,
0.010841273,
-0.022532549,
-0.015464099,
0.026529057,
-0.0055660317,
-0.025872914,
0.008537316,
-0.0024549444,
0.017313229,
0.0048129587,
-0.009066705,
0.03367207,
-0.052163374,
0.02042991,
0.06579325,
-0.04625809,
-0.024023784,
-0.067523085,
-0.0332247,
-0.042052805,
0.024202732,
0.024754489,
-0.012869352,
-0.013562775,
0.008186876,
0.045542292,
0.058724806,
0.04387211,
0.037698403,
0.026439583,
-0.04443878,
-0.04220193,
-0.00026049998,
0.04959845,
0.01228777,
0.030272055,
-0.03581945,
0.007053538,
0.012846983,
0.0040337886,
-0.041784383,
-0.048017744,
-0.005487742,
-0.022279039,
0.028408013,
-0.024530804,
0.0025034095,
0.042172104,
0.014293481,
-0.020698331,
-0.021429036,
0.03382119,
0.011199169,
-0.007866261,
-0.030525565,
-0.02081763,
0.0054728296,
-0.059530072,
-0.02578344,
-0.012936457,
-0.040651046,
0.0009231672,
-0.006087964,
-0.00016776385,
0.002044855,
-0.010759255,
0.018789552,
-0.03501418,
0.059231825,
-0.015956206,
-0.01668691,
0.0071579246,
-0.015188221,
-0.05246162,
0.01832727,
0.04354404,
-0.041844033,
0.007746962,
0.002302093,
0.010751799,
-0.056279182,
0.03939841,
0.029034331,
0.014591727,
-0.020131662,
0.049061608,
0.007005073,
-0.032449257,
-0.025261508,
0.0008322951,
-0.04393176,
0.012556192,
0.024784314,
-0.016671998,
0.06143885,
0.020146575,
0.012459262,
0.0013271985,
-0.021533422,
0.020131662,
0.02056412,
0.05380373,
-0.006896958,
-0.037072085,
0.008067577,
0.049180906,
0.026051862,
-0.018983413,
0.009909252,
0.031077322,
-0.038414195,
-0.0032881715,
-0.004641467,
-0.021309737,
0.0012078998,
-0.009029424,
0.039249286,
-0.0023263255,
0.005830726,
-0.043126494,
-0.010050919,
-0.041814208,
-0.055563387,
0.038622968,
-0.032449257,
-0.013413652,
-0.019057974,
-0.014748307,
0.0035472736,
-0.0016711144,
-0.026693093,
0.025500106,
0.037251033,
-0.0025015455,
0.04715283,
-0.05061249,
-0.0039480426,
0.0062519996,
0.0031856492,
-0.045303695,
-0.024157995,
-0.014077252,
0.067582734,
-0.009789953,
-0.03602822,
-0.06955116,
-0.02712555,
0.020489559,
-0.017417615,
0.025216771,
0.028944857,
-0.0045930017,
0.044856325,
-0.01078908,
-0.024172908,
0.037012435,
-0.004138175,
0.012861895,
-0.0007740438,
0.0009758264,
0.004141903,
0.042679124,
-0.021727283,
0.010751799,
0.018550955,
0.070207305,
0.009215828,
0.013853566,
-0.015971119,
0.038921215,
0.025201859,
0.003828744,
-0.015262783,
0.01445006,
0.008231613,
-0.028572049,
0.0223536,
0.024143083,
0.023785187,
-0.025828177,
0.004686204,
-0.013659705,
0.02539572,
0.0030197494,
0.004876336,
-0.030331705,
0.013368915,
0.0027774237,
0.010311885,
0.010252235,
0.035849273,
-0.044558078,
-0.023501853,
-0.01916236,
0.017238667,
0.009089073,
0.014442604,
-0.014532078,
-0.029765036,
0.01858078,
0.034417685,
-0.011847856,
0.04786862,
0.006356386,
0.020787805,
0.0020392628,
0.045303695,
-0.016537787,
-0.017328141,
-0.01877464,
-0.037191384,
0.007079635,
0.014114533,
-0.033015925,
-0.026215898,
0.018222883,
-0.05296864,
-0.036445767,
-0.0716389,
0.015255326,
-0.08213718,
0.009372408,
0.054400224,
-0.024143083,
-0.017462352,
0.04703353,
-0.02712555,
0.0082614375,
0.05302829,
0.034745757,
0.023501853,
0.07390557,
-0.014561903,
-0.018565867,
0.04285807,
0.012548736,
-0.07676874,
-0.00081691676,
-0.0011454544,
-0.025902739,
0.054400224,
-0.031942237,
-0.05657743,
0.05290899,
0.026857128,
0.032866802,
-0.023129044,
0.012578561,
0.021861494,
-0.043782637,
-0.024008872,
0.026648356,
0.018401831,
0.026156249,
-0.0067739314,
-0.03304575,
-0.02819924,
-0.036117695,
-0.03215101,
0.025559755,
0.005264057,
0.02763257,
-0.00662108,
-0.032807153,
-0.02145886,
0.029332578,
-0.024515891,
0.019550081,
0.0402335,
0.03456681,
0.012310139,
0.029675562,
-0.0042462894,
-0.014658833,
0.075456455,
0.030629952,
-0.0071579246,
0.06967046,
0.073547676,
0.012183384,
0.015896557,
0.01826762,
0.026976427,
0.0088802995,
-0.0005331162,
-0.009163635,
0.012712772,
-0.026320284,
-0.008716264,
0.029720299,
0.030212406,
0.0025034095,
-0.037251033,
-0.010364078,
-0.025753615,
-0.053684432,
0.028840471,
0.00428357,
0.022457987,
-0.0019181,
-0.025172034,
0.027170287,
-0.03203171,
0.2657976,
0.06853712,
-0.0076724,
0.06716519,
0.018386919,
0.05386338,
0.03710191,
-0.027871167,
0.022040442,
-0.05753182,
-0.002568651,
-0.0156132225,
-0.0143754985,
0.01460664,
0.016388664,
0.0110947825,
-0.031793114,
0.006978976,
0.03939841,
-0.031077322,
-0.033851016,
0.06430202,
-0.013920671,
0.055921283,
0.0055250227,
0.029675562,
0.026648356,
-0.054280926,
-0.01623954,
-0.019072887,
0.0047570374,
-0.019564994,
0.046437036,
-0.03787735,
0.0042574736,
0.04595984,
0.024157995,
-0.046556335,
-0.04843529,
-0.022100091,
-0.01883429,
0.027558008,
0.029973809,
-0.03754928,
0.002482905,
0.061319552,
0.03698261,
-0.019132536,
0.036803663,
-0.048077393,
0.047958095,
-0.037459806,
0.031136971,
0.01314523,
-0.028870296,
-0.021414123,
-0.030421179,
-0.02215974,
0.04983705,
0.000039261402,
0.033970315,
0.013659705,
-0.023009745,
0.00304771,
-0.03489488,
0.0378177,
-0.045065098,
0.043663338,
0.02603695,
-0.021861494,
0.046944056,
-0.044230007,
-0.038205422,
0.006923055,
0.021279912,
0.028586961,
0.019564994,
0.022502724,
0.028109767,
-0.036058046,
-0.018923763,
0.0060730516,
-0.005826998,
-0.002835209,
0.028586961,
0.03799665,
-0.037758052,
-0.00999127,
0.009707935,
0.010155305,
0.049300205,
0.051328283,
-0.006583799,
-0.030958023,
0.0012125599
] | The checkpoints are named mobilenet_v2_depth_size, for example mobilenet_v2_1.0_224, where 1.0 is the depth multiplier (sometimes also referred to as "alpha" or the width multiplier) and 224 is the resolution of the input images the model was trained on.
Even though the checkpoint is trained on images of specific size, the model will work on images of any size. The smallest supported image size is 32x32.
One can use [MobileNetV2ImageProcessor] to prepare images for the model. |
[
0.030671675,
0.018193357,
-0.0149624925,
-0.006368393,
-0.018193357,
-0.034491275,
0.021323705,
-0.026134104,
0.028546482,
0.046811637,
0.04336538,
0.022960678,
0.011997277,
-0.026593605,
-0.048592202,
0.025100227,
0.021323705,
-0.058011968,
-0.03966066,
-0.020347267,
0.024856118,
0.024281742,
-0.08064238,
-0.062894166,
-0.027814154,
0.040464785,
0.007312523,
-0.023405818,
0.068867676,
0.0045160307,
-0.026162824,
0.018480545,
0.030413205,
-0.019169796,
-0.010374665,
-0.019026203,
0.01647023,
-0.009620797,
-0.035668746,
-0.048563484,
0.057925813,
-0.02484176,
0.028086983,
-0.020304188,
-0.012356262,
-0.023549413,
0.0065694246,
-0.009505921,
0.0020677533,
-0.027139261,
-0.017216919,
0.008436146,
-0.0020210852,
0.0008485507,
-0.014890696,
-0.022716567,
-0.007125851,
-0.019772891,
-0.024425335,
0.018825172,
0.02263041,
0.028230576,
0.006874562,
-0.092244774,
0.017446669,
0.019887766,
-0.0119183,
-0.00858692,
0.0010868269,
-0.042360224,
-0.05370415,
-0.010374665,
-0.052584115,
-0.057810936,
-0.028086983,
0.028417248,
-0.0076894574,
0.008981803,
0.032423522,
0.02669412,
0.033055335,
0.016340995,
-0.0022059625,
-0.02458329,
-0.036156964,
-0.05100458,
0.015292759,
-0.027742356,
-0.016915372,
-0.020620095,
0.0020336497,
0.054709308,
-0.045634165,
0.052124616,
0.030355766,
0.039028842,
0.053675428,
0.021553457,
0.019614937,
0.030183455,
0.038569342,
0.057609905,
-0.009276171,
0.051665112,
-0.04655317,
0.0055714464,
-0.0017240252,
-0.02692387,
-0.025703322,
-0.03986169,
0.0070002065,
0.0040888386,
0.0067130188,
0.016254839,
-0.027239777,
0.009548999,
-0.00906796,
-0.009355147,
-0.06588092,
-0.013454756,
0.006149412,
-0.0076894574,
0.017633341,
-0.012112152,
0.02840289,
-0.017130762,
0.04316435,
0.048046544,
-0.014129648,
-0.018035404,
-0.017863091,
-0.017489746,
-0.010525439,
0.028646998,
0.001106571,
-0.012621911,
0.024152508,
-0.0067668664,
0.02837417,
0.004390386,
0.03650159,
-0.011171612,
0.02501407,
0.05384774,
-0.0054242625,
0.046926513,
-0.015824057,
0.006063256,
-0.029666517,
-0.048362453,
0.01334706,
-0.0007597019,
0.006012998,
0.060941286,
0.022458099,
-0.015637385,
-0.038224716,
0.015895853,
-0.0136845065,
0.017188199,
-0.009663875,
-0.02049086,
-0.031389643,
0.052095897,
-0.060941286,
0.03317021,
-0.020146236,
-0.005510419,
0.010669033,
-0.02718234,
-0.020620095,
-0.002335197,
-0.0003937616,
0.020706251,
-0.0020103157,
0.023994554,
0.009872086,
-0.0042073037,
0.023922756,
0.04075197,
0.02217091,
0.011358283,
0.027010027,
0.06657017,
0.029867548,
-0.0020354446,
-0.006468909,
-0.025215102,
0.0039272956,
-0.013533733,
0.011042377,
0.06254954,
-0.02000264,
0.016857933,
-0.028646998,
-0.021883722,
-0.0073161134,
-0.03670262,
0.017618982,
-0.038081124,
-0.05126305,
0.0476732,
-0.01575226,
0.019945204,
-0.0116167525,
0.0012555498,
-0.0005820044,
0.041182753,
-0.024209945,
0.015421993,
0.055398557,
-0.008730514,
0.003433691,
-0.032423522,
0.023736084,
-0.007983825,
0.01359835,
0.010058758,
-0.008543842,
0.022012956,
-0.0062822364,
0.02333402,
0.021352425,
0.014876336,
-0.019485703,
0.004742191,
0.020246752,
-0.023549413,
-0.010669033,
0.023434537,
0.01668562,
0.008737694,
-0.021883722,
0.044715166,
0.07587506,
0.013246545,
0.017073324,
0.011128534,
-0.011796245,
0.0019205695,
-0.0019367238,
0.0028754694,
0.03342868,
0.011394182,
0.040579658,
0.012449598,
-0.010992119,
0.01601073,
-0.014208624,
-0.0153501965,
-0.018322593,
0.035640027,
0.0348359,
0.029393688,
-0.04284844,
0.012485497,
-0.0063360846,
0.045203384,
-0.02764184,
-0.034462556,
-0.018006684,
0.0039955024,
-0.02049086,
-0.008766413,
0.028546482,
0.056633465,
0.011279307,
0.009864907,
-0.0041606356,
-0.0357549,
-0.026665403,
-0.05916072,
-0.08213576,
-0.05752375,
-0.029149577,
-0.0476732,
0.024296101,
-0.03150452,
0.014323499,
0.023463257,
-0.03368715,
0.0024913556,
-0.026852075,
0.014459914,
-0.0032506087,
0.013318341,
-0.039459627,
0.03268199,
-0.019844688,
0.020605735,
-0.0014853003,
-0.02672284,
-0.00010775158,
0.018207716,
-0.022860162,
-0.031131174,
-0.010396204,
0.03868422,
-0.035812337,
-0.0039955024,
0.009462844,
-0.003934475,
-0.0008669486,
-0.004659625,
-0.041469943,
0.060022283,
-0.009254632,
-0.035927214,
0.012873201,
0.031590674,
-0.011379823,
0.035352837,
0.0076750983,
0.022386301,
-0.016786136,
0.034721024,
0.056173965,
0.0025326388,
0.00931207,
-0.003790881,
-0.008271013,
-0.022156551,
0.02360685,
-0.04718498,
-0.041814566,
0.05939047,
0.021065237,
-0.063525975,
-0.018911326,
-0.035496432,
-0.06467473,
0.025387416,
-0.014438375,
0.023190428,
0.048563484,
0.025085868,
-0.06490448,
-0.00786895,
-0.021438582,
0.03960322,
0.026306417,
-0.046380855,
0.025459213,
0.0032559936,
-0.020907283,
-0.005122715,
0.030183455,
-0.029752672,
0.014567609,
0.00006484165,
0.011458799,
0.041096598,
0.003999092,
-0.0063037756,
-0.01883953,
0.022242708,
-0.031188613,
-0.010776728,
0.012521395,
-0.027211059,
0.013303982,
0.012083434,
-0.023176068,
0.000038534792,
-0.013181928,
-0.033514835,
0.027081825,
0.045002352,
0.06013716,
-0.015493791,
-0.012901919,
-0.0037298535,
-0.06461729,
0.0018433877,
-0.0014709408,
-0.021079596,
0.057150405,
0.0429346,
0.026852075,
-0.07179699,
-0.008242294,
0.05272771,
-0.007416629,
0.06496192,
0.034433838,
0.02955164,
-0.03747803,
-0.002670848,
-0.008019724,
0.0058981227,
0.024597649,
0.00020103157,
-0.02311863,
-0.037133403,
-0.03486462,
-0.021266269,
0.010503899,
0.03322765,
0.024209945,
0.016111245,
0.059562784,
0.0017554364,
-0.010051578,
0.036587745,
-0.04620854,
-0.03747803,
-0.03509437,
0.043020755,
-0.018566702,
-0.0104033835,
-0.024209945,
0.0037980608,
0.0011424696,
0.017446669,
-0.035582587,
0.006088385,
-0.023420177,
0.0071868785,
0.013863998,
0.053043615,
0.02672284,
-0.014890696,
-0.03891397,
0.0176477,
0.047070105,
-0.04646701,
-0.011853683,
-0.04273357,
0.020734971,
-0.012937818,
-0.03322765,
-0.01838003,
-0.013612709,
-0.025976151,
-0.05249796,
0.06375573,
0.033198927,
-0.05772478,
-0.041843284,
-0.010482361,
0.03816728,
0.012664989,
-0.019442625,
-0.015134806,
0.021180112,
0.008292552,
-0.008723334,
-0.009620797,
-0.0016495358,
-0.01645587,
0.05910328,
-0.00011723102,
-0.012320364,
-0.017317435,
-0.022099113,
-0.01477582,
0.02860392,
-0.0352954,
0.015048649,
0.0074309884,
-0.016542027,
0.018537983,
-0.0019726222,
-0.013698866,
-0.049654797,
-0.008428967,
0.0075961216,
0.042618692,
0.018767733,
-0.0012349082,
0.011882402,
0.023678647,
0.01766206,
-0.06036691,
0.0059950487,
0.030441923,
0.02359249,
0.0028988034,
-0.0019421086,
0.012815762,
-0.013023974,
0.041843284,
0.008881288,
-0.0037513927,
-0.017461028,
-0.050889708,
-0.016384073,
0.04666804,
-0.009233093,
0.01071211,
0.012672169,
-0.011523417,
0.013167568,
-0.008572561,
-0.012306004,
0.0094987415,
-0.02838853,
0.0048319376,
0.034893338,
-0.019988282,
0.06823586,
0.020447783,
-0.029637797,
0.018451827,
-0.029896267,
0.0107910875,
-0.04887939,
-0.002292119,
-0.015594306,
0.017676419,
-0.011853683,
0.04678292,
-0.020289829,
-0.02647873,
0.021165753,
-0.008716155,
-0.011128534,
-0.033945616,
-0.016570745,
0.041125316,
-0.006529936,
-0.039718095,
-0.013792202,
0.017805653,
0.018523624,
0.025645886,
-0.012334723,
-0.044255663,
-0.058816094,
-0.03509437,
0.008615639,
-0.04939633,
-0.024698164,
-0.03006858,
-0.049482487,
-0.035668746,
-0.0040529403,
-0.0044801324,
-0.005987869,
0.008306912,
-0.025889995,
0.034606148,
-0.037564185,
-0.046610605,
0.023463257,
-0.017776934,
-0.044916198,
0.03339996,
-0.018695936,
-0.03457743,
0.010683392,
0.013289623,
0.0063648033,
0.011171612,
-0.010475181,
-0.04172841,
0.016786136,
-0.0052304105,
0.006601733,
0.014115288,
-0.036243122,
0.04773064,
-0.029049061,
0.07030361,
-0.026852075,
-0.01217677,
0.028517764,
-0.05361799,
0.0562314,
-0.02120883,
0.04893683,
-0.009455663,
0.006106334,
-0.020304188,
0.019543141,
-0.039718095,
-0.02267349,
-0.05654731,
-0.07708125,
0.03078655,
-0.009814649,
0.02742645,
-0.033715867,
-0.016326636,
0.009642336,
0.003674211,
0.05177999,
0.047902953,
0.009958242,
0.009369507,
-0.013203466,
0.009649515,
0.016613824,
-0.017934889,
-0.019184155,
0.009470023,
-0.018767733,
-0.008859749,
-0.056374997,
-0.04890811,
-0.045720324,
0.004203714,
0.023448898,
-0.014273241,
0.041843284,
-0.013749124,
-0.06507679,
-0.02768492,
0.014424015,
-0.0040457603,
-0.00620326,
0.017475387,
0.04284844,
0.007840231,
0.021151394,
-0.007603301,
-0.022199629,
-0.020620095,
0.042245347,
-0.026406933,
-0.06358341,
0.048735797,
0.050200455,
-0.040637095,
-0.052124616,
-0.05315849,
0.021524737,
0.018250795,
-0.000096589385,
-0.006960718,
-0.015163524,
-0.045892637,
0.031648114,
-0.0007547659,
0.040493503,
-0.0048462967,
0.010625955,
0.025947433,
-0.039229874,
0.047845513,
0.05580062,
-0.0051909224,
-0.011379823,
-0.037075967,
0.0013426037,
-0.013339881,
-0.012090613,
0.03222249,
0.0004998865,
0.028905468,
0.017015887,
0.028948545,
0.05916072,
-0.0039488343,
0.031762987,
-0.009340788,
-0.016814856,
-0.064272664,
-0.013964514,
0.026852075,
0.028560843,
0.03380202,
-0.028991625,
0.018178998,
0.006418651,
0.0016369714,
-0.042388942,
-0.06226235,
0.023204787,
-0.044169508,
-0.013203466,
-0.039718095,
0.016398432,
0.032078896,
0.031762987,
-0.005822736,
-0.03385946,
-0.006382752,
0.02168269,
0.043738727,
-0.020792408,
-0.035467714,
-0.033974335,
-0.024683805,
-0.013583991,
-0.030843986,
-0.0047493707,
0.04391104,
-0.0062283888,
-0.0055893958,
0.015177883,
-0.022975037,
0.003909346,
0.007775614,
0.039545782,
0.0008027801,
0.009807468,
-0.0501143,
-0.017044606,
-0.053790305,
0.030355766,
0.034204084,
0.0031141944,
-0.025574088,
0.029637797,
0.019442625,
-0.0122629255,
0.008888467,
0.010539798,
0.005295028,
-0.02006008,
0.037018526,
0.019514421,
-0.043796163,
-0.011982918,
-0.006077615,
-0.027053107,
0.0039416547,
0.028704436,
0.037219558,
0.061860286,
-0.0023046834,
0.024497133,
-0.01048954,
0.012772685,
0.002003136,
0.004605777,
0.01406503,
-0.019686734,
-0.0037513927,
-0.074266806,
0.021309346,
0.003053167,
-0.038856532,
0.018911326,
0.0057760677,
-0.040206313,
-0.025387416,
-0.005908892,
-0.013713225,
0.06036691,
0.007560223,
0.0056073447,
-0.0053524654,
0.02072061,
-0.0029257273,
-0.019399546,
-0.085352264,
-0.012025996,
0.05559959,
-0.030958861,
0.013627069,
-0.03980425,
0.0023082732,
0.02507151,
0.032308646,
-0.014172725,
0.028977266,
0.000524118,
-0.017762575,
0.04012016,
-0.027124902,
-0.0006852125,
-0.029896267,
0.00904642,
-0.048821952,
-0.05916072,
0.008163318,
0.07179699,
0.010446462,
-0.0068422533,
-0.033055335,
-0.029494204,
0.014933774,
-0.021036519,
-0.022860162,
0.050229173,
-0.039459627,
0.011903941,
-0.0009647721,
-0.041412503,
0.02860392,
0.010037219,
0.008723334,
-0.0034175366,
0.021151394,
0.008981803,
0.03980425,
-0.04796039,
0.05246924,
0.004167815,
0.048075262,
0.008034083,
0.017073324,
-0.035151806,
0.04437054,
0.0070863627,
0.007955107,
0.0054350323,
0.03739187,
0.013382959,
0.0027318755,
-0.0073807305,
0.038023684,
0.010647493,
-0.06059666,
0.033744585,
-0.046064947,
0.051866144,
-0.041613534,
0.009383867,
-0.017317435,
0.025215102,
0.0021646793,
0.0016253043,
-0.014043491,
0.022012956,
-0.008902826,
-0.030011142,
-0.020318547,
0.023578132,
0.002695977,
0.01335424,
-0.019485703,
0.0033259955,
0.009872086,
-0.0014583763,
0.031073738,
0.05272771,
-0.012255746,
0.012040355,
0.02693823,
0.065191664,
-0.01095622,
-0.04101044,
-0.008184857,
0.0063253148,
-0.024669446,
0.035438996,
-0.049568642,
-0.032366082,
0.009419765,
-0.046926513,
-0.022601692,
-0.07288831,
-0.012492676,
-0.053273365,
-0.016915372,
0.042532537,
-0.001999546,
-0.031073738,
0.06007972,
-0.025889995,
-0.009082319,
0.035955932,
0.0467542,
0.024367899,
0.07598993,
0.023894038,
-0.0024428926,
0.05436468,
0.015048649,
-0.025947433,
0.010625955,
-0.019586219,
-0.029867548,
0.019629298,
-0.014388117,
-0.065478854,
0.014804539,
0.0056827315,
0.016513309,
-0.05603037,
0.0019600578,
-0.010424923,
-0.03627184,
-0.0310163,
0.042360224,
-0.006971488,
-0.027857233,
-0.023779163,
-0.03248096,
-0.018667217,
-0.015407634,
-0.039402187,
-0.004953992,
0.02600487,
-0.04144122,
-0.018437468,
-0.04075197,
0.022285786,
0.011652651,
-0.012248566,
-0.010374665,
0.06266441,
0.04313563,
0.061458223,
0.036788777,
-0.01815028,
-0.05677706,
0.06634042,
0.041154034,
-0.018911326,
0.045720324,
0.05580062,
0.008077161,
-0.01862414,
-0.009333609,
0.059275594,
0.0077325357,
0.011659831,
-0.004440644,
0.030240892,
-0.009355147,
-0.0176477,
0.020117516,
0.040436063,
0.032136332,
-0.046581887,
-0.020103157,
-0.011150072,
-0.07662175,
0.038195997,
0.015623025,
0.016958449,
-0.02504279,
-0.028962906,
0.000096533295,
-0.022056036,
0.24491389,
0.07133749,
0.034721024,
0.039057564,
0.017216919,
0.04460029,
0.021797566,
-0.031389643,
-0.02360685,
-0.01550815,
0.021725768,
-0.002053394,
0.0319353,
0.013067052,
0.016771777,
0.009678234,
-0.04023503,
0.007976646,
0.026033588,
-0.034405116,
-0.045490574,
0.02265913,
-0.010704931,
0.039718095,
0.022271426,
0.041125316,
0.024712523,
-0.06059666,
-0.021496018,
0.0007193161,
0.027225418,
-0.023879679,
0.038799092,
-0.049051702,
-0.032739427,
0.05893097,
-0.00977875,
-0.061917722,
-0.02174013,
-0.041785847,
0.01003004,
0.017504105,
0.020677533,
-0.034003053,
-0.039402187,
0.053790305,
0.026679762,
0.0046632146,
0.008924366,
-0.09126833,
0.018782092,
-0.01715948,
0.049310174,
-0.026579246,
-0.06128591,
-0.0006829689,
-0.036386713,
-0.049080424,
0.052842584,
-0.012047535,
0.03627184,
0.039086282,
-0.010159274,
0.009470023,
0.0062930062,
-0.0065263463,
-0.03767906,
0.021826284,
-0.0060847946,
-0.009039241,
0.0032865072,
-0.004939633,
-0.020375986,
0.0030388075,
0.023032473,
0.016771777,
0.0030836808,
0.04296332,
0.004426284,
-0.047127545,
-0.015924573,
-0.008034083,
0.02886239,
-0.0291065,
0.013081412,
0.005198102,
-0.027010027,
-0.047845513,
-0.016484588,
0.041699693,
0.02409507,
0.031360924,
-0.0176477,
0.0038519085,
0.009900805
] | Unsupported features:
The [MobileNetV2Model] outputs a globally pooled version of the last hidden state. In the original model it is possible to use an average pooling layer with a fixed 7x7 window and stride 1 instead of global pooling. For inputs that are larger than the recommended image size, this gives a pooled output that is larger than 1x1. The Hugging Face implementation does not support this. |
[
0.00574379,
-0.012242869,
-0.0006977428,
0.020313667,
0.012286028,
-0.054524645,
-0.02674441,
-0.0038160058,
-0.032196876,
0.083383866,
0.0062868786,
0.008826087,
0.04079997,
-0.07440672,
-0.058495305,
0.013832572,
-0.004409447,
-0.010775451,
-0.030499274,
-0.0056574713,
0.018817477,
-0.013480104,
-0.05576188,
0.01795429,
-0.0050532403,
-0.01960873,
0.032225646,
-0.0444829,
0.05268318,
0.04120279,
-0.046266824,
-0.01940732,
-0.0021184047,
-0.057603344,
-0.015134545,
-0.033002514,
0.017191807,
-0.015796322,
0.00037921782,
-0.060480636,
-0.00065053726,
0.008336947,
-0.0064739026,
-0.05181999,
-0.046813507,
-0.02212636,
-0.037865136,
0.013645547,
0.037548635,
-0.035735942,
-0.027118457,
0.020126643,
0.031045958,
-0.0023773608,
-0.024385033,
0.0029546171,
0.014889976,
-0.0015537366,
-0.021162467,
-0.019565571,
0.03026909,
-0.008826087,
0.04235371,
-0.035879806,
0.023982212,
0.04721633,
-0.0044202367,
0.013321852,
0.002724434,
-0.0009477074,
-0.019968392,
-0.016155982,
-0.07987357,
-0.052424222,
-0.0027532068,
0.021766698,
-0.0003221216,
0.018500974,
-0.032714788,
0.007394635,
0.009696467,
0.019781368,
-0.005067627,
-0.002936634,
0.019133978,
-0.029636087,
0.016961625,
-0.01503384,
0.013034124,
-0.012832713,
-0.019177137,
0.034987845,
-0.008523972,
0.027506892,
0.017177422,
-0.0030571206,
-0.03006768,
0.031304915,
0.046813507,
-0.003722494,
-0.004517345,
0.07607555,
-0.0016661307,
0.013623968,
-0.024845399,
-0.006722069,
0.040771198,
0.021363879,
-0.021378264,
-0.01993962,
0.0056862445,
-0.0060171327,
-0.041691933,
0.024787853,
-0.028298147,
0.0023126218,
0.0013046712,
-0.018184472,
-0.03455625,
-0.028254988,
-0.012616917,
0.01345133,
0.019954005,
-0.014623826,
0.02460083,
-0.06450884,
0.009581376,
0.01568123,
-0.04753283,
-0.03395202,
0.0070853266,
0.004391464,
-0.007509727,
0.025996314,
-0.044367813,
-0.039735373,
-0.020011552,
-0.001990725,
-0.056135926,
-0.01063878,
0.038383048,
-0.03127614,
0.025737358,
0.07411899,
-0.0018486588,
0.020083483,
0.045202225,
0.0038267956,
-0.023795187,
0.002571578,
-0.020759648,
-0.0072291913,
0.006671716,
0.042986713,
-0.01766656,
-0.010610007,
-0.07693873,
0.022860069,
-0.019508027,
0.038555685,
0.027621984,
0.022356544,
-0.0132715,
0.048971474,
-0.003123658,
0.041720703,
0.0017074918,
-0.015825095,
0.044972043,
-0.0486262,
-0.009602956,
0.0067436486,
0.004064172,
0.007847808,
0.036340173,
0.0020878336,
0.043073032,
-0.012163743,
0.036455262,
0.02808235,
-0.03585103,
0.007211208,
0.04923043,
0.03400957,
0.01398363,
-0.010897736,
-0.012660076,
0.011300556,
-0.00056017237,
0.011185464,
0.0050352574,
0.085513055,
-0.055128876,
0.0014692162,
-0.02812551,
-0.021896176,
-0.030211546,
0.004276372,
0.0129118385,
-0.011343716,
0.014235392,
0.05915708,
-0.03363552,
0.04258389,
-0.048568655,
0.02828376,
0.02937713,
0.05904199,
-0.03562085,
-0.011566706,
0.03910237,
-0.018486587,
-0.017781653,
-0.02143581,
0.006258106,
-0.042037208,
0.01632862,
0.026960207,
0.0045245383,
0.00029469744,
0.03095964,
0.029003084,
0.0030337425,
0.03852691,
0.015350342,
-0.0056286985,
-0.0010421184,
0.03055682,
-0.00076832634,
0.0017803232,
0.013508877,
0.025334539,
0.018774318,
0.014185039,
0.038929734,
0.015177704,
0.017249353,
0.03124737,
0.0074306014,
-0.007833422,
0.0054164985,
0.0031632206,
-0.02147897,
-0.012616917,
0.00036348266,
0.020443145,
-0.03582226,
-0.01924907,
-0.020932285,
-0.0047187554,
-0.054841146,
0.04065611,
0.018098153,
-0.0037368804,
-0.069515325,
-0.011480387,
0.011501967,
0.022788137,
-0.056711387,
-0.0159258,
0.032829877,
0.032283194,
0.00045474668,
-0.052078947,
0.03415343,
0.06479657,
-0.009897877,
0.008919599,
0.0014737119,
-0.026571773,
-0.007898161,
-0.037750043,
-0.056279793,
-0.030010134,
-0.04842479,
-0.009984196,
0.021335104,
-0.025535949,
-0.021220013,
-0.002796366,
-0.011775309,
0.023939053,
-0.002825139,
0.007646398,
-0.03193792,
0.016271075,
-0.04911534,
0.03455625,
-0.044511676,
0.03127614,
-0.0019080029,
-0.037491087,
-0.023766415,
0.0005233071,
0.030815776,
-0.020774033,
0.009602956,
-0.02188179,
-0.018975727,
0.022744978,
-0.00012947805,
0.0061609973,
0.009789979,
0.018098153,
-0.022255838,
0.038757097,
0.019997165,
-0.050784167,
0.02411169,
0.056711387,
0.027564438,
0.06082591,
-0.0029977765,
0.044367813,
-0.011991106,
0.062322102,
0.049029022,
-0.037260905,
-0.017580241,
-0.019536799,
-0.075442545,
0.011746536,
0.03395202,
-0.026917048,
-0.0212344,
0.02921888,
-0.03285865,
-0.022025654,
-0.0015924001,
-0.078722656,
-0.0124226995,
0.008516778,
-0.03792268,
0.06727104,
0.033462882,
0.022255838,
-0.06531448,
-0.0030409358,
-0.025046809,
0.041519295,
0.015868254,
-0.015335956,
-0.0011617058,
-0.0046468233,
-0.011437228,
0.021004217,
0.014494348,
-0.042296164,
0.03188037,
0.008250629,
0.05921463,
0.05288459,
-0.018932568,
-0.026873888,
0.03950519,
0.02727671,
0.0051611387,
0.05029503,
-0.0044382196,
-0.013810992,
0.015048226,
-0.037347224,
0.012063039,
-0.0053121964,
-0.039620284,
-0.0040246095,
-0.011149499,
0.026427908,
0.03711704,
-0.042324934,
0.0026489052,
0.026686864,
-0.019177137,
-0.01173215,
-0.01547982,
-0.034124658,
-0.01965189,
0.013868538,
0.049172886,
-0.020774033,
-0.042842846,
0.0027981645,
-0.006128628,
0.020457532,
0.0024852592,
0.012717621,
-0.008236242,
-0.023881506,
-0.0022694624,
-0.0033790173,
-0.02168038,
-0.031592645,
-0.012933418,
-0.022759363,
-0.057401937,
-0.007725524,
0.061171185,
0.04802197,
0.033088833,
0.00004006851,
0.013429751,
0.04056979,
0.018687999,
0.060883455,
-0.019148365,
-0.048050743,
-0.005948797,
0.053603914,
0.001162605,
0.014221006,
-0.0012264448,
0.021032989,
0.029319584,
-0.006254509,
0.007351476,
-0.0104014035,
-0.028513944,
0.0056934375,
0.02629843,
0.011782503,
-0.013480104,
-0.018486587,
-0.04315935,
0.007883774,
0.06675313,
-0.04655455,
0.039735373,
-0.019062046,
0.0338657,
0.035966124,
-0.024974877,
-0.027219163,
-0.06588994,
-0.03950519,
-0.062322102,
0.021263173,
0.050179936,
-0.045864,
0.004082155,
-0.034210976,
0.022845682,
0.018198859,
-0.03659913,
-0.06491166,
-0.004538925,
-0.008229049,
0.011171078,
0.010487722,
-0.019997165,
-0.01965189,
0.025190674,
-0.05852408,
0.021061763,
-0.059790086,
-0.0054524643,
-0.0007539399,
0.0032926986,
-0.05256809,
0.011818469,
0.006283282,
-0.011394069,
-0.024082918,
0.029981362,
-0.029808724,
-0.0113796815,
0.0017101893,
0.031189824,
-0.0020932285,
-0.011099146,
0.0017740291,
0.04393622,
0.011480387,
-0.00639118,
-0.0438499,
0.027621984,
0.0066896994,
0.02556472,
-0.026643705,
0.006653733,
-0.0006361508,
-0.034872755,
0.04126034,
0.032398283,
-0.01960873,
-0.0068731266,
-0.06721349,
-0.012954998,
-0.0064271465,
-0.01993962,
0.01563807,
0.012372347,
0.0027909712,
0.015494207,
-0.013976436,
0.014846817,
-0.02132072,
-0.039476417,
-0.0070421672,
0.06744368,
0.019033274,
-0.0063444246,
0.012516212,
-0.019508027,
0.027564438,
-0.056423657,
0.017076716,
-0.0578623,
-0.013185182,
0.01240112,
0.044828176,
-0.04517345,
-0.016055278,
-0.02698898,
0.0022892437,
-0.010012969,
-0.038469367,
0.012120584,
-0.04258389,
-0.0010870761,
0.050352573,
0.0076607848,
-0.03849814,
-0.013429751,
-0.0030876917,
0.0047691083,
-0.014976295,
-0.007869388,
-0.07331335,
-0.029449062,
-0.0043051452,
0.03452748,
-0.052424222,
0.029492222,
-0.017278126,
-0.008034832,
-0.026715638,
0.01665951,
0.042152297,
-0.03400957,
-0.003141641,
0.009430318,
-0.012293221,
-0.024039758,
-0.00932242,
-0.011854434,
-0.028700968,
-0.025176287,
0.0074090217,
0.009293647,
-0.0053014066,
0.026168952,
0.006790404,
-0.002138186,
0.018673612,
-0.02893115,
-0.03395202,
-0.0013694102,
0.0028431222,
-0.009919457,
-0.0106172,
-0.03136246,
0.026413523,
-0.052999683,
0.06842195,
-0.040310834,
-0.029391518,
0.02139265,
-0.016141597,
0.035074163,
-0.024370646,
0.012897452,
0.014041175,
-0.00045587064,
-0.04097261,
0.06606258,
-0.016889691,
-0.014048369,
-0.0273918,
-0.050064847,
0.054294463,
0.005355356,
-0.0018648435,
-0.019076433,
-0.017580241,
0.034959074,
-0.019579958,
0.04652578,
0.03205301,
-0.0022047234,
-0.029132562,
-0.038325503,
-0.01260253,
0.016458098,
-0.01041579,
0.029549768,
0.028902378,
-0.026672479,
0.019522412,
-0.05098558,
-0.016731441,
-0.012998157,
0.018889409,
0.006988218,
0.015724389,
0.055905744,
-0.024528896,
-0.034268524,
-0.03521803,
0.010703519,
-0.0033502446,
0.031592645,
-0.007998866,
0.02224145,
0.006682506,
0.018213246,
-0.010408596,
-0.042727757,
0.020860352,
0.03225442,
-0.021148082,
-0.038325503,
0.04126034,
0.027621984,
-0.020399986,
-0.0684795,
-0.021709153,
0.008416073,
-0.0090994295,
-0.011386875,
0.0047763013,
-0.00440585,
-0.041116472,
-0.008214663,
0.0077614896,
0.038440593,
-0.003388009,
0.004330321,
-0.0029204492,
-0.03334779,
0.059962723,
0.06801914,
-0.014400836,
-0.013091669,
-0.061171185,
-0.026312817,
-0.030499274,
0.03254215,
0.02529138,
-0.00814273,
0.017493922,
0.025435243,
-0.01827079,
0.07855002,
-0.001315461,
0.026327204,
0.015192091,
-0.007970093,
-0.044770632,
-0.010919316,
-0.009264873,
0.00091398915,
0.0293052,
-0.001632862,
0.012458665,
0.02265866,
0.033894476,
-0.0049813082,
-0.100877784,
0.013681514,
-0.029549768,
0.010120868,
-0.044799406,
-0.022313384,
-0.019637505,
0.009682081,
-0.014156267,
-0.02946345,
-0.0007404526,
-0.022227066,
-0.0042296164,
-0.013106056,
-0.058984444,
-0.019838914,
0.012940612,
0.026672479,
-0.007545693,
-0.0124226995,
0.026960207,
0.0072291913,
0.03334779,
0.0076320115,
0.03852691,
0.027909713,
-0.03156387,
-0.00641276,
-0.000015243455,
0.0011608066,
-0.029290812,
-0.0068803197,
-0.090462,
0.047043692,
0.048252154,
0.033520427,
0.025751745,
-0.017695334,
-0.014559087,
-0.0359949,
0.031794053,
0.05645243,
0.020817192,
-0.038066547,
0.004380674,
0.03403834,
-0.014846817,
0.01989646,
-0.015868254,
-0.0076248185,
0.02216952,
0.024442578,
-0.0050460473,
0.03918869,
0.015767548,
0.061458915,
-0.029449062,
0.03254215,
0.010185607,
0.0069846213,
0.004538925,
0.012055845,
0.018256405,
0.008639063,
-0.02625527,
0.00814273,
-0.044108856,
0.026327204,
0.027650757,
-0.032686014,
-0.0024744694,
0.0438499,
-0.014889976,
0.06456639,
0.029520996,
0.0393901,
-0.030614365,
0.0071968217,
-0.0020302876,
0.0032747157,
-0.042756528,
-0.043907445,
0.018515361,
-0.027866554,
0.0037548635,
-0.0028323324,
-0.016155982,
0.010437369,
0.034182206,
0.013703094,
0.013177988,
0.02852833,
0.012336381,
0.05625102,
-0.04989221,
-0.009818752,
-0.020270508,
-0.017752878,
-0.055589244,
-0.04684228,
0.030038908,
0.06491166,
0.01260253,
-0.014961908,
-0.04186457,
0.0038663584,
0.014961908,
0.0220832,
-0.034469932,
0.0066896994,
-0.034585025,
0.034959074,
0.009243294,
-0.012767974,
0.016904078,
0.026859501,
0.008538358,
0.032887425,
0.0028575086,
-0.0024942507,
0.027550051,
-0.026355976,
0.012055845,
0.021608448,
0.027075298,
-0.012832713,
0.04048347,
0.0036865277,
0.05843776,
0.029520996,
0.045576274,
-0.031045958,
0.024572056,
0.01173215,
-0.034987845,
-0.022068813,
0.011947947,
0.036858086,
0.0022766558,
0.015148932,
-0.007970093,
-0.003423975,
-0.015983345,
-0.0014611238,
-0.03395202,
0.005585539,
0.01945048,
0.0027352239,
-0.0057761595,
0.013228341,
-0.015177704,
-0.050151166,
-0.060250454,
-0.0072148046,
0.030441727,
-0.003794426,
-0.02529138,
-0.004323128,
0.030470502,
0.01371748,
-0.015594912,
0.039562736,
-0.0073658624,
0.040339604,
-0.019882074,
0.058984444,
0.0064559192,
0.0138397645,
-0.022212679,
-0.005333776,
-0.031621415,
-0.0023773608,
-0.06456639,
-0.0068155807,
-0.014278552,
-0.034297295,
-0.008818894,
-0.045058362,
-0.005384129,
-0.0684795,
0.020414373,
0.021939335,
0.0029402308,
-0.005243861,
0.025334539,
0.024370646,
0.004409447,
0.049460616,
0.028744128,
0.0012525202,
0.092245914,
0.040224515,
-0.008329755,
0.05961745,
0.027176004,
-0.041145246,
0.026686864,
-0.0073550725,
-0.015148932,
0.0045137485,
-0.00026592452,
-0.03590858,
0.029837497,
0.015249637,
0.034383614,
-0.061286278,
0.047964424,
-0.0049633253,
-0.045806456,
0.01483243,
0.07693873,
0.028873606,
0.009739626,
0.0004945342,
-0.009149782,
-0.032973744,
-0.021953722,
-0.026686864,
0.05187754,
-0.011545126,
-0.053402502,
0.02143581,
-0.045806456,
-0.032398283,
-0.007250771,
-0.024931718,
-0.016904078,
0.016918465,
0.035764713,
0.035793487,
0.056711387,
-0.015264023,
0.0146526,
0.0706087,
0.031736508,
-0.020443145,
0.032311965,
0.068824776,
0.010624393,
0.020328054,
0.031074733,
0.05058276,
-0.0047763013,
0.00026322706,
-0.032283194,
0.025809292,
-0.047388967,
-0.030988414,
0.025348924,
0.031161051,
-0.02025612,
-0.03165019,
-0.0020860352,
-0.032829877,
-0.04891393,
-0.048942704,
-0.0028107527,
0.027291095,
-0.0014422416,
-0.013436944,
-0.008171503,
-0.04433904,
0.24514511,
0.061631553,
0.0035444617,
0.029132562,
0.057373162,
0.06462393,
0.012919032,
-0.022111973,
-0.018026222,
-0.030297864,
-0.0003931547,
-0.032196876,
-0.01612721,
0.02212636,
-0.008804508,
0.003276514,
-0.03720336,
-0.036340173,
0.00056421856,
-0.04128911,
-0.034182206,
0.030412955,
0.005664665,
0.02803919,
-0.010142447,
0.047043692,
0.010948088,
-0.046727188,
-0.006801194,
-0.024284327,
0.0040246095,
-0.02957854,
0.0006114241,
-0.02395344,
-0.01831395,
0.007919741,
0.008977145,
0.0014764094,
-0.010005776,
-0.027132845,
0.027765848,
0.0034779243,
-0.0029582137,
-0.05466851,
-0.02411169,
0.020802807,
-0.0011239414,
0.043993764,
0.06727104,
-0.095410936,
-0.009171362,
-0.020687714,
0.05852408,
-0.052625634,
-0.04097261,
-0.009444704,
-0.06042309,
-0.027104072,
0.03979292,
0.011336522,
0.002226303,
0.023809575,
-0.05366146,
0.034757663,
-0.00036348266,
-0.0017128867,
-0.02520506,
0.02759321,
-0.033750612,
0.0025140322,
0.04295794,
-0.010099288,
-0.050784167,
-0.030182771,
-0.013372205,
0.03950519,
-0.006383987,
0.025507176,
-0.052136496,
-0.03898728,
0.005736597,
-0.011854434,
-0.0003358337,
-0.027147232,
0.01742199,
0.040713653,
-0.027075298,
-0.000283458,
0.00029402308,
0.025377698,
0.022543566,
0.024226781,
0.02025612,
0.044972043,
0.008818894
] | The original TensorFlow checkpoints include quantized models. We do not support these models as they include additional "FakeQuantization" operations to unquantize the weights.
It's common to extract the output from the expansion layers at indices 10 and 13, as well as the output from the final 1x1 convolution layer, for downstream purposes. Using output_hidden_states=True returns the output from all intermediate layers. There is currently no way to limit this to specific layers. |
[
0.026917547,
-0.008623795,
-0.024316272,
-0.04167696,
0.03248767,
0.0043649124,
0.01707794,
-0.011620916,
0.019043034,
0.059094198,
0.010942322,
0.029660197,
0.054909535,
-0.052732382,
-0.012865004,
0.017685847,
0.0035202045,
-0.037068177,
-0.039612904,
-0.00067550107,
0.031130483,
0.021573624,
-0.07577629,
-0.05703014,
-0.052110337,
-0.009464968,
0.02110709,
-0.01943888,
0.03619166,
0.051516566,
-0.01492906,
-0.040263224,
-0.003742868,
0.0023432686,
-0.038821213,
-0.011854183,
0.00038745222,
0.007987613,
-0.052986853,
-0.047840852,
0.000206759,
-0.02486763,
-0.036644056,
-0.028925054,
0.0058458014,
-0.01842099,
0.008192604,
0.011111971,
-0.023750778,
-0.009542723,
-0.030197417,
0.00025955323,
-0.0398391,
-0.0049374755,
-0.02298736,
-0.015650066,
-0.0024987797,
-0.012829661,
-0.029575372,
-0.0106878495,
0.018491676,
0.01294276,
-0.020951578,
-0.020584008,
0.030593263,
0.0059801065,
-0.028288873,
0.008256223,
-0.017954458,
-0.021813959,
-0.037718497,
0.009012572,
-0.049113214,
-0.048349798,
-0.019311644,
-0.0035944257,
-0.004371981,
-0.000025251216,
0.0030960834,
0.048208423,
-0.00394786,
0.07351431,
0.0017106215,
-0.009790127,
-0.014094955,
-0.07436255,
0.0148300985,
-0.027327532,
-0.020131612,
-0.038906034,
-0.018562363,
0.015112846,
-0.036644056,
0.010532339,
-0.008454146,
0.014193917,
0.0125257075,
0.02980157,
0.0071358364,
-0.022676338,
0.0036297692,
0.10354208,
-0.028741268,
0.04622919,
-0.0904226,
-0.005757443,
0.004675934,
-0.019156134,
-0.029038154,
-0.06853796,
0.018746149,
0.0022372385,
-0.007888651,
0.0011186192,
-0.002822172,
0.037464023,
0.032261472,
-0.010292004,
-0.049763534,
-0.031752527,
0.020428495,
-0.006266388,
-0.013529461,
-0.017092077,
0.03916051,
0.004103371,
0.007832102,
0.04097009,
-0.00961341,
-0.008015888,
0.023835601,
-0.02695996,
-0.026182404,
0.026196541,
-0.0227753,
-0.032968342,
-0.0060331216,
-0.0053686653,
-0.024443509,
0.015961088,
0.025305888,
-0.0032586632,
0.04687951,
0.065427735,
-0.009033778,
-0.008906541,
-0.015989363,
-0.03409933,
-0.037011627,
0.011246276,
-0.0063088,
-0.0033063767,
0.0019509568,
0.024061799,
-0.02250669,
-0.0038206235,
-0.032968342,
0.016526584,
-0.012370196,
0.025956206,
-0.026564114,
0.006036656,
-0.029292626,
0.065823585,
-0.056040525,
0.053297877,
-0.0015904539,
-0.014688725,
0.026521701,
-0.057963207,
-0.0067859367,
-0.00060967397,
0.047699478,
0.0349193,
0.025376575,
0.015777303,
0.012391402,
-0.041818332,
-0.0075917663,
0.003979669,
0.014533214,
-0.004375515,
0.00690257,
0.046059545,
0.015211808,
-0.0064289677,
0.03195045,
0.014024269,
-0.02475453,
0.021898782,
-0.032742143,
0.056521196,
-0.034297254,
0.006750593,
-0.043684464,
0.0013395156,
-0.018053418,
-0.032657318,
-0.0060225185,
-0.021276738,
-0.023185283,
0.06062103,
-0.037775047,
0.013692041,
-0.032204922,
0.015155258,
0.044391334,
0.023609404,
-0.04119629,
0.021587761,
0.029179526,
-0.00061718444,
-0.031639427,
-0.014971472,
0.021672584,
-0.017756533,
-0.0040044095,
-0.010885773,
-0.022789437,
-0.03791642,
0.02427386,
0.034551725,
0.026733762,
0.022252217,
-0.0027373477,
-0.013515323,
-0.0083269095,
-0.0062593194,
0.013303263,
0.02556036,
0.021813959,
0.009111533,
0.0057008932,
0.07311846,
0.024471784,
-0.016639682,
0.0025694666,
0.023072183,
-0.015211808,
0.012016762,
0.02459902,
0.027624417,
0.0148018235,
0.026295504,
0.030423615,
0.008072437,
-0.02550381,
0.010398034,
-0.0034177087,
-0.0053085815,
-0.008920679,
0.053099953,
0.044391334,
0.014448389,
-0.03856674,
0.009111533,
-0.012978103,
0.020909166,
0.008015888,
-0.017926183,
-0.0014155039,
0.02030126,
-0.03630476,
0.0035272732,
0.06508844,
0.051460017,
0.021870507,
-0.02475453,
-0.010595957,
-0.075606644,
-0.00977599,
-0.010991803,
-0.076567985,
-0.018463401,
-0.05148829,
-0.03384486,
0.02486763,
0.004156386,
-0.021488799,
0.0013925307,
-0.025065552,
0.0058634733,
-0.045607146,
0.02287426,
0.032996617,
0.004439133,
-0.037237827,
0.015112846,
-0.022619788,
-0.02341148,
-0.012440884,
-0.066615276,
-0.0023892152,
0.018534089,
0.0026012757,
-0.008743962,
0.029405724,
-0.003802952,
-0.051375195,
0.027539592,
-0.035682715,
0.011627985,
-0.022747025,
0.012681219,
-0.031498056,
0.023114596,
-0.01777067,
-0.055248834,
0.03927361,
0.0349193,
-0.012794318,
0.028939191,
-0.0031932779,
0.019255094,
-0.015749028,
0.03452345,
0.075154245,
-0.024302134,
-0.002274349,
-0.003203881,
-0.028769543,
-0.008729825,
0.016837604,
-0.02202602,
-0.046370566,
0.048915293,
0.013112408,
-0.08080919,
-0.040687345,
-0.04376929,
-0.0048137736,
0.01143713,
-0.017092077,
0.048264973,
0.060451385,
0.020470908,
-0.0804699,
0.0066516316,
-0.03452345,
0.006842486,
-0.017926183,
-0.012596395,
0.046002995,
0.041365936,
-0.011020078,
-0.020866755,
0.037153002,
-0.05649292,
0.052817207,
0.031243583,
0.018406853,
0.03248767,
-0.009054984,
0.0023432686,
0.014045475,
0.01085043,
-0.01439184,
0.0017609858,
-0.011309894,
-0.026762037,
0.002201895,
0.009231701,
-0.01594695,
0.010942322,
-0.064862244,
-0.03081946,
0.018703736,
0.040404595,
0.013437568,
-0.030056043,
0.017798945,
-0.016498309,
-0.012242961,
0.010292004,
-0.017374825,
-0.020485045,
0.029575372,
0.05482471,
0.062204417,
-0.015904538,
-0.011500749,
0.0013191932,
-0.039980475,
0.03981083,
0.05414612,
0.016894154,
-0.05714324,
-0.012250029,
-0.012702425,
0.020654693,
0.03390141,
-0.033505563,
-0.028557483,
-0.0009366006,
-0.023962839,
-0.03511722,
0.010292004,
0.02471212,
0.01750206,
0.027327532,
0.046370566,
0.023623541,
-0.0063865557,
0.03152633,
-0.044447884,
0.028472658,
-0.014999747,
0.022436002,
-0.0041634548,
0.0034989985,
-0.044985104,
-0.01294276,
0.05578605,
-0.027878888,
-0.0634485,
-0.003557315,
-0.06633253,
-0.039245334,
0.011656259,
0.046681587,
-0.014702862,
-0.020131612,
-0.038170893,
0.009542723,
0.05004628,
-0.026549976,
0.0016381674,
-0.07023444,
0.025150377,
0.002542959,
-0.038312268,
0.0026012757,
-0.011309894,
-0.058245953,
-0.016356934,
0.016413484,
0.07085649,
-0.04113974,
0.0051424676,
-0.026267229,
-0.0025553291,
0.03206355,
0.0279213,
-0.028868504,
0.011133177,
0.019198544,
0.004361378,
0.024980728,
-0.004810239,
-0.01815238,
0.075889386,
-0.012115724,
0.019467155,
-0.01567834,
-0.011585573,
0.011578504,
-0.018618913,
-0.016215561,
0.014024269,
-0.009493242,
0.021022266,
0.03373176,
0.032431122,
-0.058528703,
-0.02024471,
-0.00690257,
0.005252032,
0.034947574,
0.04323207,
0.009069121,
-0.02030126,
0.03158288,
0.06062103,
-0.05632327,
-0.0028592825,
0.014144436,
-0.014208054,
-0.019566117,
-0.012815524,
0.03672888,
-0.048632544,
0.052619282,
0.0015259521,
0.0051495363,
-0.0348062,
-0.04501338,
-0.006856623,
-0.015126984,
-0.015310769,
0.0067011123,
0.020117475,
0.026875136,
0.0012423212,
0.018067556,
-0.0036032617,
-0.05202551,
-0.04967871,
0.040885266,
0.022619788,
-0.013465842,
0.06096033,
-0.018477539,
-0.04054597,
0.014971472,
-0.018887524,
0.000049370337,
-0.05570123,
0.010299073,
-0.036983352,
-0.004011478,
0.028557483,
0.020075062,
-0.015112846,
-0.009811333,
0.023425618,
-0.027878888,
-0.012645875,
0.0030784118,
-0.0030996178,
0.0698386,
0.008178467,
-0.05148829,
-0.021206051,
-0.01767171,
0.011189726,
-0.0020587542,
0.016781054,
-0.053778548,
-0.046087816,
0.0013510021,
0.024259722,
-0.038481914,
-0.007563492,
-0.008114849,
-0.030621538,
-0.024556607,
0.033477288,
-0.016964842,
-0.0027108402,
0.006584479,
-0.008581382,
0.04125284,
-0.052930303,
-0.026648939,
-0.041761782,
-0.0023715433,
-0.038199168,
0.02761028,
0.035088945,
-0.06067758,
0.024500057,
0.001560412,
-0.015211808,
-0.023100458,
-0.048943568,
-0.06899036,
0.009104465,
-0.0030731102,
-0.012518639,
0.032431122,
-0.00886413,
0.03607856,
-0.02949055,
0.05493781,
-0.03839709,
-0.022365315,
0.040517695,
-0.056888767,
0.062091317,
-0.02707306,
0.012143998,
0.021672584,
-0.022902535,
-0.014731137,
-0.010235454,
-0.02550381,
-0.009691166,
-0.017388962,
-0.028359558,
0.031695977,
-0.013331537,
-0.012773111,
-0.058019757,
0.010553545,
0.07079994,
0.014377703,
0.05445714,
0.024245586,
0.017487925,
-0.0148018235,
-0.047105707,
0.007379706,
0.028981604,
-0.0028257063,
-0.009486173,
-0.001059419,
-0.038736388,
0.0022443072,
-0.039132234,
-0.04012185,
-0.028769543,
0.017869633,
0.018534089,
-0.023001498,
0.043090697,
-0.0027037715,
-0.052053787,
-0.035908915,
0.01955198,
-0.0019385865,
0.0023750777,
0.014307016,
0.03644613,
0.008567245,
0.057341162,
-0.016880017,
-0.039301883,
-0.007923994,
0.039499804,
-0.008277428,
-0.0346931,
0.0029317366,
-0.00639009,
-0.025263475,
-0.061243076,
-0.011882458,
0.020612283,
-0.013289126,
-0.0027726912,
0.01654072,
-0.0020022048,
-0.02582897,
0.028698856,
0.017219314,
0.010935253,
-0.02078193,
0.0039584627,
0.032120097,
-0.05380682,
0.012348991,
0.04883047,
-0.023001498,
-0.013904101,
-0.03002777,
-0.014208054,
0.00918222,
-0.06316576,
0.018774424,
-0.033505563,
-0.01830789,
0.007563492,
0.010906979,
0.07227022,
0.03964118,
0.009104465,
0.02454247,
-0.0026719624,
-0.049706984,
0.01041924,
0.014872511,
0.035202045,
0.0033540905,
-0.04071562,
0.050244205,
0.028105088,
0.023482168,
-0.027384082,
-0.052647557,
-0.02293081,
-0.019028896,
0.009931501,
-0.0005593096,
0.023991114,
0.0056160693,
0.017445512,
0.011083696,
-0.015339044,
0.04419341,
0.0081077805,
-0.019749902,
-0.04670986,
-0.039019134,
-0.0032674992,
-0.029886395,
-0.018449266,
0.002295555,
-0.026875136,
0.029122977,
-0.012553982,
-0.0012935691,
-0.05004628,
0.041705236,
-0.010263729,
-0.006602151,
0.029547099,
0.0076765907,
0.033873133,
0.005778649,
0.0073443623,
-0.020753656,
0.047077432,
0.029236076,
-0.0348062,
0.000075270436,
-0.0029299695,
0.022379452,
-0.018392716,
0.045098204,
-0.0009092094,
-0.017685847,
0.027624417,
0.026408603,
-0.011288688,
-0.049820084,
-0.03135668,
0.0041175084,
-0.025418987,
0.01546628,
0.024952454,
0.027963713,
0.06384435,
-0.00918222,
0.043316893,
-0.025786558,
0.011550229,
0.032120097,
-0.02454247,
0.026931684,
0.0034265444,
-0.0040538902,
-0.03916051,
-0.01358601,
0.058359053,
-0.036474407,
0.022845985,
0.018647188,
-0.008418802,
-0.011882458,
-0.007810896,
-0.0028486797,
0.037803322,
0.04998973,
0.0037888144,
0.03093256,
0.018618913,
-0.019212682,
-0.030536713,
-0.034466904,
-0.04125284,
0.048802193,
-0.042836223,
0.0026613595,
-0.021432249,
-0.018717874,
-0.011267482,
0.00030527878,
0.00773314,
0.039556354,
-0.012921554,
0.016526584,
0.041479036,
-0.025433125,
-0.02223808,
0.007379706,
0.020103337,
-0.038538463,
-0.043118972,
0.05536193,
0.04193143,
-0.016950704,
-0.016116599,
-0.052817207,
-0.01519767,
0.022761162,
0.019947825,
-0.039301883,
0.01525422,
-0.05691704,
0.036389586,
0.03904741,
-0.0085743135,
0.01170574,
0.021842232,
0.011465405,
0.0010505831,
0.012115724,
-0.02212498,
0.00029533845,
-0.03624821,
0.012949829,
0.0279213,
0.08284497,
0.01229951,
0.0079169255,
0.0022354713,
0.013755659,
0.0099456385,
0.010489927,
0.025871383,
0.029631922,
0.03644613,
-0.014165643,
0.007754346,
0.021983607,
0.010970597,
0.031554606,
0.0252352,
0.012292441,
0.034891024,
-0.019071309,
0.015565242,
-0.011373512,
0.014215123,
0.016710369,
-0.01949543,
0.04102664,
0.00070289226,
0.003297541,
-0.06373125,
-0.008659137,
0.024627294,
0.0698386,
0.014561488,
0.017473787,
0.021884644,
0.013791002,
0.032742143,
-0.0064678458,
0.03839709,
-0.016823467,
0.03452345,
-0.0073585,
0.05530538,
-0.03373176,
-0.030480165,
-0.00757056,
-0.019792315,
-0.018449266,
-0.018746149,
0.0050223,
0.00028738618,
0.01830789,
0.007330225,
-0.05425922,
-0.07289226,
0.013388087,
-0.0534958,
0.012398471,
0.006810677,
-0.0016991348,
-0.051940687,
0.016371071,
-0.017657572,
0.009790127,
0.03582409,
0.0115926415,
-0.009132739,
0.08007405,
0.030112593,
0.009952707,
0.064409845,
0.021955332,
-0.085728996,
0.006100274,
0.029094702,
-0.021403974,
0.009415487,
-0.01922682,
-0.05510746,
0.005891748,
0.021163639,
0.018915799,
-0.04323207,
-0.0011239207,
0.015494555,
-0.042412102,
-0.006450174,
0.07679418,
-0.0029122976,
0.004414393,
0.0006503189,
-0.03672888,
-0.03582409,
-0.0293209,
-0.015819713,
0.033251088,
0.000054561402,
-0.00018643653,
-0.0031685375,
-0.0372661,
-0.018830974,
0.015593517,
0.003297541,
-0.0011840045,
0.032204922,
0.020866755,
0.028797818,
0.03989565,
0.013232576,
-0.016837604,
0.07147853,
0.042610027,
-0.017431375,
0.08742548,
0.028939191,
0.00061806804,
0.027157882,
0.008602588,
0.03152633,
0.015098709,
-0.0120591745,
0.047303632,
0.01702139,
-0.016894154,
-0.017756533,
-0.00095250516,
0.007174714,
-0.011288688,
-0.022789437,
-0.027200295,
-0.017530335,
-0.06271336,
0.03582409,
-0.0004373748,
0.022676338,
-0.01540973,
-0.0279213,
-0.004103371,
-0.046794686,
0.2359244,
0.058302503,
0.026182404,
0.08906542,
0.02588552,
0.020131612,
0.02287426,
-0.009570998,
0.0186896,
-0.04065907,
0.04860427,
-0.026182404,
-0.029264351,
0.02056987,
0.000935717,
0.030791186,
-0.016116599,
0.029886395,
0.005601932,
-0.008022956,
-0.066049784,
0.075154245,
-0.027525455,
0.054796435,
-0.009217564,
0.014413047,
0.004198798,
-0.04854772,
-0.024259722,
-0.0018944072,
0.040630795,
-0.018477539,
0.029066429,
-0.0053721997,
0.00019361566,
0.044815455,
0.036474407,
-0.039612904,
-0.019792315,
-0.021898782,
0.009804265,
-0.026578251,
0.033505563,
-0.017388962,
-0.062034767,
0.03183735,
-0.004435599,
-0.011189726,
0.011309894,
-0.05751081,
0.007605904,
-0.009351868,
0.03028224,
-0.039075684,
-0.034947574,
-0.011882458,
-0.013105339,
-0.08256222,
-0.00440379,
-0.017092077,
0.017487925,
0.0044002556,
-0.031441506,
0.011635054,
-0.031328406,
0.010320278,
-0.07775552,
0.041761782,
0.0020393152,
-0.008164329,
0.027398217,
0.01573489,
-0.03582409,
0.024938317,
0.01364256,
0.01976404,
-0.0006750593,
0.04925459,
0.005683222,
-0.008666206,
-0.012016762,
0.0021153037,
0.015805576,
-0.032402847,
0.026139993,
0.009627547,
-0.028882641,
-0.012023831,
0.017275862,
0.007072218,
0.054796435,
0.00870155,
-0.00048950635,
0.0045204232,
0.02250669
] | The DeepLabV3+ segmentation head does not use the final convolution layer from the backbone, but this layer gets computed anyway. There is currently no way to tell [MobileNetV2Model] up to which layer it should run.
Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with MobileNetV2.
[MobileNetV2ForImageClassification] is supported by this example script and notebook.
See also: Image classification task guide |
[
0.033845186,
-0.0016077883,
0.013444375,
-0.018526832,
-0.006906746,
-0.012195056,
-0.009213727,
-0.012748731,
0.021366192,
0.045940865,
-0.0018242896,
0.0040283436,
0.030778674,
-0.05173316,
-0.025980154,
0.04003499,
-0.022061836,
0.00042013673,
-0.040517684,
0.002017721,
0.04880862,
0.064112775,
-0.048922192,
-0.010313979,
-0.025653629,
0.002676098,
0.0035030618,
-0.010186208,
0.08966702,
0.02155075,
-0.0136147365,
-0.010427554,
-0.010186208,
-0.046906248,
-0.002280362,
-0.021139044,
0.014537529,
-0.0475593,
0.0037940964,
-0.037394386,
0.010597915,
-0.0435558,
0.020429203,
-0.040631257,
-0.06240916,
0.018512635,
0.0073184534,
-0.06990507,
0.008901397,
-0.046082832,
-0.02866335,
-0.014565922,
0.035548802,
-0.017774401,
0.0013096554,
-0.05213067,
-0.010952836,
0.02955775,
-0.033447675,
0.01173366,
0.049177736,
0.02853558,
-0.016028194,
-0.075924516,
-0.009767402,
0.033135343,
0.0129829785,
-0.004603314,
-0.005710665,
-0.004418756,
-0.10766857,
0.0029760054,
-0.009114349,
-0.029444175,
-0.035974707,
0.000708953,
-0.015162189,
-0.005657427,
-0.020415006,
-0.011762054,
0.008347722,
0.018981129,
-0.0049014473,
-0.0053876876,
-0.06013767,
0.003982204,
0.07058652,
0.008674248,
0.008645855,
0.023694469,
-0.055708267,
0.041397884,
-0.018200304,
0.053010873,
0.01662446,
0.0106689,
-0.0056467797,
0.0067363842,
-0.035435226,
0.005937814,
0.02071314,
0.08722518,
-0.037082057,
0.030068835,
-0.029103452,
-0.003627284,
0.021309406,
-0.02822325,
-0.04483351,
-0.055225573,
-0.036372215,
0.029103452,
-0.007907621,
-0.012833913,
0.0022839112,
0.021408783,
0.013593442,
-0.0018473594,
-0.032737833,
-0.026789373,
0.0005483516,
-0.010697293,
-0.0051002023,
0.016922593,
0.022047639,
0.0085890675,
-0.00004242405,
0.025227724,
-0.021493964,
-0.03759314,
0.005384139,
0.027059112,
0.028280037,
0.034952536,
-0.0039076707,
0.0003209809,
0.005891674,
0.029273814,
-0.008454198,
0.012074383,
0.042902745,
0.011101902,
-0.019761954,
0.051619586,
-0.036343824,
0.023211777,
-0.023694469,
-0.003772801,
-0.059229072,
0.013699917,
-0.02874853,
0.041170735,
0.024674049,
0.035094503,
-0.0015163963,
-0.0035545253,
-0.032709442,
0.015502912,
0.059172288,
-0.0039254166,
-0.008234147,
-0.00786503,
-0.025355496,
0.045429777,
-0.041028768,
0.032510687,
-0.028407808,
0.043754555,
-0.008965283,
-0.022118622,
-0.008106376,
0.034242697,
-0.019350246,
0.029032467,
0.046508737,
0.05147762,
0.028492989,
-0.013089455,
0.0440101,
-0.02111065,
0.02764118,
-0.010654703,
0.0036556774,
0.016780624,
-0.03719563,
0.015985603,
0.0072900597,
0.022345772,
-0.010455947,
0.009809993,
-0.015687471,
0.04551496,
-0.041852184,
0.0039005724,
-0.055679873,
0.039268363,
-0.020528581,
0.021068059,
-0.007609488,
-0.025369693,
-0.025611037,
0.047814842,
0.004560724,
0.005107301,
0.0018171911,
0.02573881,
0.021167437,
0.017050363,
-0.032482293,
0.020258842,
0.04747412,
0.005039866,
-0.01937864,
-0.02035822,
0.020145267,
-0.037451174,
-0.038189407,
0.022998825,
-0.03160209,
0.020840911,
0.037848685,
0.03787708,
0.02893309,
-0.0131249465,
0.014033543,
-0.021508161,
0.025639432,
0.042164512,
-0.028507186,
0.01253578,
0.0010061986,
0.008347722,
-0.004521683,
0.04707661,
0.029841686,
0.00808508,
0.06990507,
0.015389337,
0.0052386215,
-0.019009523,
-0.0091427425,
-0.027513409,
0.000852252,
0.0039573596,
0.02244515,
0.035492014,
-0.027499212,
-0.024517883,
0.010015846,
0.0020496638,
-0.04136949,
0.07626524,
0.035747558,
-0.019364443,
-0.046366766,
-0.047048215,
0.043896522,
0.014033543,
-0.0057177637,
-0.007488815,
0.00413482,
0.02377965,
-0.024787623,
-0.062068436,
0.029529355,
0.078082435,
-0.02119583,
-0.017078757,
-0.00062732137,
-0.057639033,
-0.031545304,
-0.0382178,
-0.04946167,
-0.011549101,
-0.02125262,
-0.019236673,
-0.014374265,
-0.0056432304,
-0.009376991,
0.015261566,
0.013898673,
0.040773228,
-0.015105401,
-0.005565148,
0.033589642,
0.0047310856,
-0.005291859,
0.019222476,
-0.002546552,
0.016809018,
0.0063743657,
-0.029926866,
0.008645855,
0.019449623,
0.058377266,
0.012528681,
-0.0047488315,
0.03429948,
-0.012677748,
-0.009951961,
-0.025412282,
-0.030409558,
0.017348496,
-0.012542878,
-0.039665874,
0.049745608,
0.036854908,
-0.026519634,
0.063658476,
-0.01275583,
-0.003627284,
-0.028634958,
0.017178135,
0.0026068885,
-0.013863181,
0.050114725,
0.020528581,
-0.006519883,
-0.011691069,
-0.013132045,
-0.047587693,
0.017362693,
-0.012549976,
-0.019037917,
0.015758455,
0.050199904,
-0.037791897,
-0.069393985,
0.025568448,
-0.005792297,
-0.0764356,
-0.01275583,
-0.011023819,
0.020485992,
0.043584194,
0.025696218,
-0.030295983,
0.00902207,
0.019889725,
0.008539379,
0.00786503,
0.011549101,
-0.0017914594,
0.032908197,
0.010313979,
-0.020031692,
0.042732384,
-0.02684616,
0.029813292,
-0.023623485,
-0.019250868,
0.016013997,
0.00951186,
-0.025412282,
-0.03844495,
0.024276538,
0.0324539,
0.003027469,
0.0029937513,
0.003196056,
0.03759314,
-0.0017187007,
0.015460322,
-0.001695631,
-0.016851608,
-0.049546853,
0.0039893026,
0.03435627,
0.04733215,
-0.12345542,
-0.01622695,
-0.025383888,
-0.05142083,
0.028067086,
-0.026548026,
-0.07223335,
0.020258842,
-0.008894299,
0.03946712,
-0.0076449797,
0.004053188,
0.009625434,
0.038643707,
0.04795681,
0.048496287,
0.023084005,
-0.02759859,
0.046963032,
-0.037309207,
0.02720108,
-0.008794921,
0.01208858,
-0.01346567,
0.0024808918,
-0.03222675,
-0.018029943,
0.018995326,
0.050909746,
0.012557074,
0.02524192,
0.07399375,
0.020968681,
0.00047248745,
0.024816016,
-0.010590817,
0.0055828937,
-0.008376115,
-0.018186107,
0.010491439,
-0.032056388,
0.00582069,
-0.02786833,
-0.0013344997,
0.028862106,
0.017887976,
0.0038473343,
-0.043527406,
0.035946313,
0.02440431,
0.029387388,
-0.00157762,
0.011009623,
-0.035889525,
0.03520808,
0.027612787,
-0.0021188732,
0.011669775,
-0.039296757,
0.008198655,
0.046877854,
0.016596066,
-0.040602863,
0.027485017,
-0.000025315789,
-0.023311155,
0.09097313,
0.024049388,
-0.01159879,
-0.02333955,
-0.031091005,
0.018895948,
0.030068835,
0.0024241046,
0.012727437,
0.020230448,
-0.029302208,
-0.002165013,
0.044748332,
-0.009490564,
0.0226723,
0.03452663,
-0.011116099,
0.024276538,
-0.007538504,
-0.051080108,
0.008837512,
-0.021053864,
-0.007829539,
0.04017696,
0.03191442,
-0.014125822,
0.025270315,
0.059626583,
-0.007325552,
-0.005710665,
0.009923567,
0.0065305308,
-0.0017808118,
0.02680357,
0.030494738,
-0.0127132395,
0.02346732,
-0.00057851983,
-0.025795596,
-0.0017195881,
0.022019247,
0.0014365392,
-0.020315628,
-0.005284761,
-0.014211003,
-0.017078757,
0.042789172,
-0.016894199,
-0.008943988,
0.014920843,
-0.032539077,
-0.017547252,
-0.010718589,
-0.053947862,
0.0040496388,
0.01497763,
-0.015474518,
0.010228799,
-0.025412282,
-0.07240371,
-0.037678324,
0.0036734235,
-0.02786833,
0.01835647,
0.036230247,
0.041937362,
-0.019577395,
-0.03648579,
0.027981903,
-0.024219751,
-0.0015705216,
-0.012315729,
0.033305705,
0.0022519683,
0.0013052188,
-0.012486091,
-0.0018881751,
0.025682021,
-0.0058384365,
0.009959059,
-0.060194455,
0.0069741807,
-0.069280416,
-0.034725387,
0.02874853,
-0.0033486716,
-0.06973471,
-0.05204549,
-0.012670649,
0.024304932,
0.02720108,
0.010115224,
0.00013730973,
-0.054231796,
-0.04568532,
0.058434054,
-0.051136896,
0.016809018,
-0.03128976,
-0.013366292,
-0.0020798321,
-0.012422205,
0.023353746,
-0.005710665,
0.00008756545,
-0.027300457,
0.02155075,
-0.026122123,
-0.018881751,
-0.009391187,
-0.0027914469,
-0.008645855,
0.022984628,
0.008369017,
-0.0046281586,
-0.0012067285,
0.031942815,
-0.012826814,
-0.0125712715,
-0.029983655,
-0.03262426,
0.013011373,
0.00008678906,
0.03208478,
-0.024390113,
-0.044152066,
0.08501048,
-0.03614507,
0.0013753156,
-0.05684401,
-0.033674825,
-0.024546277,
0.021990852,
0.029358994,
-0.05749706,
0.017305907,
0.021281011,
-0.0011960809,
-0.013976756,
0.009128546,
-0.020258842,
-0.039410334,
-0.041852184,
-0.05968337,
0.04991597,
-0.03319213,
-0.019407034,
-0.05536754,
-0.0014516234,
0.0030682846,
-0.020258842,
0.04506066,
0.07870709,
-0.0043264767,
0.010193307,
-0.03835977,
0.030551527,
-0.009504762,
-0.0068322127,
-0.029018272,
-0.020642156,
-0.0015323677,
-0.013160439,
-0.047048215,
-0.06360169,
0.0000013170865,
0.019804545,
0.03356125,
-0.02346732,
0.01862621,
-0.0071055014,
-0.005831338,
-0.06553245,
0.004876603,
0.001208503,
-0.0022608414,
0.061500564,
0.033135343,
-0.00746752,
0.022998825,
-0.000744445,
-0.060251243,
-0.044918694,
0.05443055,
-0.017462071,
-0.08478332,
0.028918894,
0.0036343823,
0.009959059,
-0.045486566,
0.008887201,
0.013990952,
-0.004834012,
0.0076449797,
-0.022771677,
0.03160209,
-0.005565148,
-0.010534029,
-0.0092208255,
-0.0066157114,
-0.022785874,
0.029614536,
0.006835762,
-0.03813262,
0.014537529,
0.05650329,
0.036741335,
0.028379414,
0.031374943,
0.0017071659,
0.0005141906,
-0.030125622,
0.057582244,
-0.040830012,
-0.0006486166,
0.009227924,
-0.0042200005,
0.073766604,
-0.012727437,
0.006676048,
0.016823215,
-0.04031893,
-0.066724986,
-0.009263416,
-0.0011499412,
0.031857632,
-0.009788698,
-0.022104427,
0.059229072,
0.038814068,
0.015914619,
-0.014651104,
-0.07603809,
-0.0014454123,
-0.03742278,
-0.027669575,
-0.041937362,
0.0018473594,
0.010640506,
-0.00826964,
0.005405434,
-0.022686496,
0.032681048,
0.001355795,
-0.0024720188,
0.04136949,
-0.051619586,
-0.016738035,
-0.0382178,
0.013181734,
-0.017348496,
-0.026505437,
0.036201853,
0.043300256,
0.030437952,
0.025312904,
0.015801044,
0.06746322,
0.010079732,
0.013146242,
-0.018768176,
0.0034143317,
-0.04574211,
-0.031403333,
-0.014920843,
-0.02893309,
0.025270315,
-0.00826964,
0.0054906146,
0.045003876,
-0.014480742,
-0.03835977,
0.03657097,
0.07274443,
-0.023098202,
0.010328176,
-0.012990077,
0.0435558,
-0.040375717,
-0.016837412,
0.029032467,
-0.0021898572,
-0.060989477,
0.028251644,
0.0074817166,
0.029302208,
0.04418046,
0.016553475,
0.010739883,
0.0448903,
0.021635933,
0.018413257,
0.052840512,
-0.035946313,
0.009533155,
-0.012329926,
-0.008340623,
-0.03097743,
-0.0030736085,
-0.022288986,
-0.0027790247,
-0.016922593,
-0.020684745,
0.005373491,
0.016525082,
0.028592367,
0.021607539,
0.0025483267,
0.0043619685,
-0.024106177,
-0.005263466,
-0.015204779,
-0.04395331,
-0.039012823,
0.017632432,
-0.012436402,
0.01311075,
0.015588093,
-0.009327302,
-0.040744834,
0.015900422,
0.05576505,
-0.0019769052,
-0.0056503285,
0.013039766,
0.06348812,
-0.01604239,
-0.038161013,
-0.03946712,
0.0382178,
-0.06564603,
-0.014849858,
0.0031232974,
0.013543753,
-0.007836637,
-0.02448949,
0.012862306,
-0.061386988,
-0.013905771,
-0.029841686,
-0.03418591,
0.0031002276,
-0.020869305,
0.04293114,
-0.03214157,
-0.011669775,
-0.0052670147,
0.047133394,
0.035321653,
0.014019346,
0.033845186,
0.038842462,
0.022984628,
0.020528581,
-0.010619211,
0.021664325,
0.0073894374,
0.021124847,
0.01835647,
0.033390887,
0.028038692,
-0.018654604,
0.046423554,
0.014963433,
0.034242697,
0.004422305,
-0.03435627,
-0.016908396,
0.033760004,
0.011286461,
0.008326426,
0.013387588,
-0.021309406,
0.020258842,
0.0044684447,
-0.018895948,
0.036429003,
-0.009135645,
-0.015261566,
-0.0065447274,
-0.039949812,
-0.017433677,
-0.006235947,
-0.04159664,
-0.0063317753,
0.0062962836,
0.002738209,
-0.020514384,
-0.008943988,
0.035321653,
-0.014033543,
0.04395331,
0.013501163,
0.036911696,
-0.020159464,
0.0013362743,
-0.048297532,
0.054203406,
0.014693694,
-0.021068059,
-0.025185134,
-0.02138039,
-0.025965957,
0.004369067,
-0.01741948,
-0.009277613,
0.06644105,
-0.034498237,
-0.04253363,
-0.028379414,
0.011549101,
-0.014473643,
0.016425705,
0.031942815,
-0.0395523,
0.0029387388,
0.021607539,
0.0026193107,
0.024830213,
0.01714974,
0.010555325,
-0.015233173,
0.038956035,
0.006115274,
-0.0063708164,
0.024191357,
-0.02955775,
-0.07342588,
0.00077683147,
0.010335275,
-0.00484466,
-0.018299682,
-0.0036184108,
-0.04724697,
-0.017802794,
-0.0033486716,
0.0056503285,
-0.03441306,
0.00014119167,
-0.037082057,
-0.028791122,
-0.025440676,
0.09108671,
-0.024972182,
-0.02461726,
-0.030608313,
0.029614536,
-0.035264865,
-0.022203805,
-0.065816395,
-0.01470789,
0.0055722464,
-0.054373767,
-0.0036414806,
-0.04724697,
-0.026789373,
-0.024887001,
-0.026988128,
-0.03452663,
0.03106261,
0.03523647,
0.05230103,
0.014452348,
-0.013231423,
-0.03844495,
0.013075258,
0.032595865,
0.0021934065,
0.096538275,
0.017192332,
0.016127571,
-0.045401383,
-0.042022545,
0.036599364,
-0.020684745,
-0.04239166,
-0.022033442,
0.0346686,
-0.026647404,
-0.08858807,
-0.044691544,
0.0031002276,
0.017007774,
-0.010583718,
-0.023708666,
-0.028720139,
-0.053578746,
0.014274888,
-0.013302407,
0.011804644,
0.022147017,
-0.014551726,
0.008518083,
-0.062295582,
0.23850633,
0.06962114,
0.039722662,
0.042022545,
0.04250524,
-0.0020780575,
0.025568448,
0.026647404,
0.01608498,
-0.060989477,
0.007985704,
0.000014293854,
-0.03858692,
-0.00041015458,
-0.0064063086,
0.03234032,
-0.032908197,
0.044322427,
-0.0047310856,
-0.033135343,
-0.0475593,
0.020287236,
0.03347607,
0.019407034,
0.013089455,
-0.004195156,
-0.015077008,
-0.029103452,
0.0030682846,
-0.0075810943,
-0.02995526,
-0.048155565,
0.027456623,
-0.007836637,
-0.006743483,
0.02874853,
-0.025923368,
-0.01973356,
0.008894299,
0.041057162,
-0.027130095,
0.0036805219,
-0.000016650745,
-0.027939314,
-0.00014396448,
0.052954085,
0.0063530705,
-0.0019165687,
0.03214157,
-0.013380489,
0.03932515,
-0.042136118,
0.045884077,
-0.053578746,
-0.015389337,
-0.03742278,
-0.020173661,
-0.049262915,
-0.024035193,
-0.009313105,
0.0591155,
0.026519634,
-0.021153241,
0.013969657,
0.020344023,
0.0067044417,
0.0006282087,
-0.00399995,
-0.011016721,
-0.040205356,
0.01737689,
0.01587203,
-0.011109,
-0.047530904,
0.024205554,
0.041880578,
0.020258842,
-0.009696418,
0.004436502,
0.009838386,
-0.023680272,
-0.000610019,
0.016269539,
0.0043832636,
0.0087310355,
0.025838187,
-0.020855108,
0.019747756,
0.020627959,
0.06723607,
-0.0054409257,
0.02551166,
0.036059886,
-0.018824965,
-0.024347521
] | GPT-J
Overview
The GPT-J model was released in the kingoflolz/mesh-transformer-jax repository by Ben Wang and Aran Komatsuzaki. It is a GPT-2-like
causal language model trained on the Pile dataset.
This model was contributed by Stella Biderman.
Usage tips |
[
0.040865783,
-0.020168731,
-0.04643959,
-0.0050454848,
0.029004933,
-0.007832388,
-0.0070333,
-0.013802438,
0.012990141,
0.06757251,
-0.003335039,
0.016444054,
0.038990237,
-0.050534096,
-0.0017253048,
0.035899546,
0.006901219,
-0.05991183,
-0.026640687,
-0.03766943,
-0.007733328,
0.01928379,
-0.06704419,
-0.018266767,
-0.00812957,
0.010711749,
0.022189565,
0.014079808,
0.045647107,
0.02052535,
-0.025121758,
-0.018966796,
0.008889034,
-0.0060823187,
-0.049424615,
-0.051643573,
0.037273187,
-0.021304624,
-0.05407386,
-0.048684966,
0.003863362,
-0.035450473,
0.023365084,
-0.055738077,
-0.0030527164,
-0.024197193,
0.0008337597,
0.00420347,
-0.023140548,
-0.030035162,
-0.020023441,
-0.0045204638,
-0.027736958,
-0.02332546,
0.010216446,
-0.03505423,
-0.019323414,
-0.01053344,
-0.024263233,
-0.00029841994,
0.013643942,
0.049028374,
-0.012699564,
-0.03492215,
-0.0024434938,
-0.0058974056,
0.018610178,
-0.01694596,
-0.026218029,
-0.009542834,
-0.058485355,
0.02038006,
-0.026852017,
-0.038990237,
-0.008492792,
0.032782443,
0.03513348,
-0.009655103,
-0.0013785928,
0.020987632,
-0.0064257286,
0.053783283,
0.012151429,
-0.0006851689,
-0.01707804,
-0.059542,
0.01544024,
-0.0029041255,
-0.028238865,
-0.01653651,
0.0014702239,
0.012613712,
-0.021568786,
0.030378573,
0.030061578,
0.03426175,
0.005811553,
0.039544977,
0.0037709053,
0.014211888,
0.0018029022,
0.055315416,
0.011259884,
0.040390294,
-0.08727896,
-0.020683846,
0.0025821787,
-0.04295266,
-0.0064884666,
-0.050190683,
-0.0077663483,
0.01441001,
-0.0122042615,
-0.0032359783,
-0.01707804,
0.028503025,
0.052647386,
-0.01812148,
-0.017474283,
-0.019746073,
0.0010360084,
-0.03552972,
-0.03637504,
-0.036005214,
0.011372153,
-0.04625468,
0.027419964,
0.041262027,
-0.034129664,
-0.023933033,
0.012646732,
-0.035424057,
-0.01769882,
0.023933033,
-0.004976142,
-0.02298205,
-0.0022437216,
-0.010513628,
0.0027753469,
0.03122389,
0.034208912,
-0.009067344,
0.03864683,
0.07787481,
0.013670358,
0.017012,
-0.018108271,
0.009562646,
-0.06609321,
-0.0051412433,
-0.006138453,
0.0014652708,
-0.0032673476,
0.02839736,
-0.005788439,
-0.013056182,
-0.04054879,
0.044141386,
0.0112863,
0.040020466,
-0.010295695,
0.0074625625,
-0.031329554,
0.0904489,
-0.036956195,
0.035925962,
-0.022876386,
-0.027340716,
0.012494839,
-0.067942336,
-0.011114595,
-0.007205005,
0.014462842,
0.010876849,
0.013142034,
0.010876849,
0.047707565,
-0.006290346,
-0.0060988287,
0.023246212,
-0.003853456,
-0.04453763,
0.027763374,
0.052171897,
0.004573296,
0.018002607,
-0.0059205196,
0.020697054,
-0.022731097,
-0.0067955544,
-0.016761048,
0.02072347,
0.016840296,
-0.0077861603,
-0.023959449,
0.030484237,
-0.026785975,
-0.031831462,
-0.031857878,
-0.019627199,
-0.04905479,
0.013353364,
-0.013492049,
0.012091992,
-0.020366851,
0.008525812,
0.00025776384,
0.03930723,
-0.024197193,
0.018412057,
0.06022882,
-0.009146592,
-0.051168084,
-0.0011590086,
0.068998985,
-0.04289983,
-0.012957121,
-0.0027654406,
-0.012514651,
0.014793044,
0.009166404,
0.04583202,
0.0664102,
-0.0025359504,
-0.03212204,
-0.00498935,
-0.030140826,
0.05172282,
-0.0046261284,
0.02839736,
-0.01097591,
0.014370386,
-0.002129802,
0.04810381,
0.055209752,
0.0053723846,
0.046677336,
0.037273187,
0.0077927643,
0.019521534,
0.03883174,
0.033574928,
0.018993212,
0.029321926,
0.00953623,
0.0030362061,
-0.020631013,
0.017513907,
0.014172264,
-0.038620412,
-0.057798535,
0.059172176,
0.00092456525,
-0.0027225146,
-0.025478376,
-0.025914242,
0.02710297,
0.038092088,
-0.0012002838,
0.011748583,
-0.016232723,
0.0028347832,
0.052330393,
0.026918057,
0.0183196,
0.06773101,
0.035450473,
-0.026455775,
0.016430845,
-0.045039535,
-0.015717609,
-0.034631573,
-0.11771037,
-0.01104195,
-0.015017581,
0.0034175895,
-0.0046063163,
-0.025068926,
-0.018279975,
-0.021463122,
0.008519208,
0.0029536558,
-0.03368059,
0.020564973,
0.016589342,
-0.01920454,
-0.02477835,
0.024434939,
-0.031171057,
-0.017091248,
-0.038039256,
-0.036322206,
-0.019587575,
-0.0059502376,
-0.044273466,
0.008208819,
0.0033598042,
0.014964749,
-0.06181379,
0.018517721,
-0.05304363,
-0.037088275,
-0.022070693,
0.020749886,
-0.05769287,
0.014542091,
0.017474283,
-0.014396802,
0.09113572,
0.046703752,
-0.044775374,
0.06022882,
0.018332807,
0.031303138,
-0.017249746,
0.03526556,
0.0682065,
-0.007185193,
0.0009130082,
-0.011312717,
-0.057534374,
0.0023741515,
0.018385641,
-0.03751093,
-0.013802438,
0.04673017,
0.0005960144,
-0.08025226,
-0.011920287,
-0.0006868199,
-0.04213376,
-0.014938333,
0.00074171595,
0.024685891,
0.036216542,
0.04865855,
-0.071640596,
0.012091992,
-0.020697054,
0.013564693,
0.009833412,
-0.028687939,
0.060070325,
0.032465447,
0.009939076,
-0.027367132,
0.01934983,
-0.044009306,
0.024329275,
-0.008651289,
0.022321647,
0.046201847,
0.029004933,
-0.015691193,
-0.014291137,
0.04041671,
-0.042450752,
0.011259884,
0.01715729,
-0.0199574,
-0.0058775935,
0.004206772,
-0.0153741995,
-0.00781918,
-0.01334676,
-0.0646139,
0.04329607,
0.028106783,
0.035925962,
-0.059806164,
-0.017857317,
-0.03669203,
0.00010855387,
-0.0030593204,
-0.00042203927,
0.004266208,
0.068998985,
0.010830621,
0.043269653,
-0.035371225,
-0.025531208,
0.05063976,
-0.02929551,
0.026852017,
0.038092088,
0.04200168,
-0.017474283,
0.011543858,
-0.047998145,
-0.018412057,
0.035582554,
-0.03243903,
0.009760767,
0.021859365,
-0.021304624,
-0.023365084,
0.019798905,
0.01681388,
0.011926891,
0.010559856,
0.019046044,
-0.01234955,
0.031461634,
0.036058046,
-0.012547671,
0.011101387,
-0.005814855,
0.04348098,
0.017210122,
0.017936565,
-0.016047811,
-0.017012,
0.012943913,
0.029242678,
-0.04028463,
0.027657708,
-0.09927189,
-0.018385641,
-0.011808019,
0.0503756,
0.0029602598,
-0.03169938,
-0.045118783,
0.0111410115,
0.0029553068,
-0.004391685,
-0.0013942774,
-0.026508607,
0.041605435,
-0.018372431,
-0.068734825,
-0.029110597,
0.009146592,
-0.01934983,
-0.028450193,
0.04543578,
0.044088554,
-0.032782443,
0.008730537,
-0.0066238497,
0.0035001398,
0.018293183,
0.009939076,
-0.0314088,
-0.014211888,
0.0018573855,
0.021489538,
0.014845876,
-0.019270582,
0.014013767,
0.012646732,
-0.011557066,
-0.0015775395,
-0.010790997,
-0.001315029,
0.0005039706,
0.01447605,
-0.0059370296,
-0.01234955,
0.022902802,
0.0020142314,
0.03204279,
0.037405267,
-0.032465447,
-0.03869966,
0.017130874,
-0.0009806996,
0.0023114132,
0.0100843655,
-0.008446564,
0.022176357,
0.0030692264,
0.029216262,
-0.04651884,
0.0051280353,
-0.0110881785,
0.009199425,
-0.009582458,
0.0015189287,
-0.0023840575,
-0.033733424,
0.05874952,
-0.021014048,
-0.015136454,
-0.011979724,
-0.02435569,
-0.0003023411,
0.027552044,
0.01066552,
0.015215702,
0.0069870716,
-0.009192821,
0.008809786,
-0.0006389406,
-0.059383504,
-0.064455405,
-0.044352714,
0.022770721,
0.029269094,
-0.0246991,
0.06223645,
-0.026706727,
-0.06831216,
-0.004754907,
-0.025240632,
-0.02353679,
-0.04569994,
0.007059716,
0.01818752,
0.028793603,
-0.013828854,
-0.0017863922,
-0.068734825,
-0.03624296,
0.02826528,
0.0023741515,
0.018610178,
-0.039148733,
-0.036005214,
0.033442847,
-0.019230958,
-0.04398289,
0.000968317,
0.035027813,
0.014925125,
0.0032541396,
0.04715283,
-0.030537069,
-0.040654454,
-0.00788522,
-0.008803182,
-0.07607851,
-0.008274859,
0.004246396,
-0.02916343,
-0.019230958,
0.038171336,
0.050851088,
-0.040020466,
-0.010890058,
-0.03457874,
0.028555859,
-0.05351912,
-0.008671101,
-0.006590829,
0.005260116,
-0.0580627,
0.051062416,
0.020631013,
0.015427032,
0.0021496143,
0.011424985,
-0.018755466,
-0.0074955826,
-0.02059139,
-0.03444666,
-0.019178124,
0.0056728683,
-0.0090475315,
0.0048770816,
-0.047232077,
0.05000577,
-0.055632412,
0.020234771,
-0.026085949,
-0.016708216,
-0.016325181,
-0.032571115,
0.06989713,
-0.021304624,
0.017540324,
0.018293183,
0.039967634,
-0.037352435,
0.006537997,
-0.049979355,
-0.037352435,
-0.046756584,
-0.03637504,
0.032623947,
-0.041843183,
-0.0153741995,
-0.011689146,
0.017210122,
0.04865855,
-0.024725515,
0.040601622,
0.04802456,
0.022400895,
0.0025640177,
-0.042345088,
0.031461634,
0.02484439,
0.005781835,
0.0073172734,
0.03574105,
-0.011385361,
-0.016298765,
-0.018676218,
-0.029665336,
-0.0273143,
-0.014581715,
0.06810083,
-0.0263369,
0.011246676,
-0.006135151,
-0.07438788,
-0.012422195,
0.009364525,
0.0143307615,
-0.007601247,
0.016034603,
0.023404708,
0.049371783,
0.05145866,
-0.03930723,
-0.040020466,
-0.032650363,
0.05214548,
0.029137013,
-0.05811553,
0.02792187,
0.009450378,
0.006901219,
-0.049715195,
-0.0122108655,
-0.006554507,
0.0037907176,
-0.0069474475,
0.0066370578,
-0.03122389,
-0.0053888946,
-0.007105944,
-0.01756674,
-0.011986328,
0.015994979,
0.025689706,
0.022466935,
-0.02937476,
0.04651884,
0.046545256,
-0.032623947,
0.00027902058,
-0.045594275,
-0.009595666,
0.0039591203,
0.0034109855,
0.0629761,
0.0056530563,
-0.0067526284,
0.007746536,
0.010658916,
0.03759018,
0.020300811,
0.026099157,
0.040786535,
-0.026706727,
-0.031884294,
0.02607274,
0.03719394,
0.010005116,
0.024461355,
-0.041605435,
0.026680311,
0.039280813,
0.003184797,
-0.024923638,
-0.05127375,
-0.0062474194,
-0.020327227,
0.009635291,
-0.02195182,
-0.019217748,
-0.0263369,
0.0036553347,
-0.045594275,
-0.03066915,
0.002654823,
0.0451452,
0.019521534,
-0.022202775,
-0.03191071,
-0.011022138,
-0.037167523,
-0.02950684,
-0.029427592,
-0.016166683,
0.013386384,
0.00632997,
-0.031672962,
-0.02195182,
0.022361271,
0.00052006793,
0.015559113,
0.03972989,
-0.040654454,
0.032914523,
-0.012455215,
0.02237448,
0.00418696,
0.027974702,
0.0273143,
-0.04960953,
0.009859828,
0.03389192,
0.02147633,
-0.02065743,
0.028767187,
0.012990141,
-0.037035443,
-0.011821227,
0.0017434659,
0.0064422386,
-0.01674784,
-0.035688218,
-0.008723933,
-0.009443774,
0.0157044,
0.008770162,
0.0020621107,
0.08426752,
0.045171615,
0.034552325,
-0.010163614,
0.03230695,
-0.014647755,
0.020168731,
0.0012605457,
0.0024385408,
-0.03169938,
-0.029004933,
0.052330393,
0.045330115,
-0.05647773,
0.03415608,
0.009721143,
-0.020683846,
-0.02929551,
0.016496886,
0.020432891,
0.052964382,
0.019376246,
0.03505423,
0.008565437,
0.027367132,
-0.0066073397,
-0.018293183,
-0.024316067,
-0.05248889,
0.04733774,
-0.030827647,
-0.012125012,
-0.025055718,
-0.011035346,
-0.0002587957,
-0.01769882,
0.0062441174,
0.04741699,
0.041975264,
0.0017517209,
0.040839367,
-0.04276775,
-0.009120176,
-0.009892848,
0.032333367,
-0.06207795,
-0.035318393,
0.02950684,
0.05494559,
0.00984662,
0.005484653,
-0.061708126,
0.008492792,
-0.0011276394,
0.00740973,
-0.0067097023,
0.049635947,
-0.027261466,
0.04308474,
-0.023378292,
-0.0059205196,
0.008354108,
0.026521815,
0.012580692,
0.010322111,
0.0049034976,
-0.007092736,
0.021449914,
-0.031593714,
-0.0029784208,
0.025478376,
0.035318393,
0.014845876,
0.0025425544,
0.0013629083,
0.05407386,
0.048843462,
0.03349568,
-0.020168731,
0.040786535,
0.024368899,
-0.008380524,
-0.010824017,
0.025465168,
-0.025755746,
0.002631709,
0.03766943,
-0.0020125804,
0.011722166,
-0.014647755,
0.011834435,
0.0002451749,
-0.004979444,
0.014793044,
0.00158662,
0.012712772,
0.058960848,
-0.028793603,
-0.039677057,
-0.0154006155,
0.01928379,
0.021383874,
0.038250584,
0.005788439,
-0.0067097023,
0.022638641,
0.038541164,
0.008360712,
0.018808298,
-0.002119896,
0.020881966,
-0.021172544,
0.00788522,
-0.03101256,
-0.060545817,
-0.027895454,
-0.021172544,
-0.015783649,
0.02456702,
0.005263418,
-0.0017550229,
0.03513348,
-0.023246212,
-0.034024,
-0.08432035,
-0.010117386,
-0.05145866,
0.025702914,
0.060492985,
-0.046994332,
-0.049662363,
0.03603163,
-0.030140826,
0.0013942774,
0.03698261,
0.040073298,
0.004454423,
0.04118278,
0.002635011,
0.023140548,
0.004976142,
0.021212168,
-0.036269374,
-0.022176357,
-0.011834435,
-0.016827088,
-0.00045691684,
-0.011213656,
-0.03513348,
0.020115899,
0.04588485,
0.017276162,
-0.028186033,
0.0005671217,
0.028344529,
-0.03032574,
-0.019495118,
0.06709702,
-0.037986424,
-0.024540603,
0.015334575,
-0.010553252,
-0.04157902,
0.0050421827,
-0.054417267,
0.02937476,
-0.00803051,
-0.0059007076,
-0.0059040096,
-0.021436706,
-0.0064950706,
0.03616371,
-0.020631013,
-0.013049578,
0.04488104,
0.007389918,
0.0281332,
0.0078059724,
-0.04474896,
-0.006888011,
0.030484237,
0.04094503,
-0.009331505,
0.09742276,
0.051379412,
-0.03587313,
0.011708958,
0.02024798,
0.011339133,
0.008803182,
-0.011015534,
0.027816206,
-0.021106504,
-0.0054054046,
-0.05180207,
0.019085668,
0.041288443,
0.02133104,
-0.025029302,
-0.038937405,
0.006300252,
-0.069791466,
0.032465447,
-0.012686356,
0.045541443,
-0.017579949,
-0.044643294,
0.0461226,
-0.03801284,
0.19769846,
0.06773101,
0.049530283,
0.018108271,
-0.018002607,
0.0060526,
0.033865504,
-0.05552675,
0.032201286,
-0.039544977,
0.05248889,
-0.008017302,
-0.01887434,
0.030404989,
0.020551765,
0.03444666,
-0.04081295,
0.0090079075,
0.0036157104,
0.0071719848,
-0.007621059,
0.06862916,
-0.0017368619,
0.03169938,
-0.032333367,
0.03938648,
0.044141386,
-0.023431124,
0.032333367,
-0.0050388807,
0.027816206,
-0.026561439,
0.030510653,
-0.012745792,
-0.011992932,
0.04945103,
0.029110597,
-0.07967111,
-0.005606828,
-0.04213376,
0.010117386,
-0.044141386,
0.018055439,
-0.0209348,
-0.044088554,
0.040786535,
0.016496886,
-0.042318672,
0.035846714,
-0.038541164,
0.020181939,
-0.018227143,
0.005762023,
-0.010850433,
-0.072697245,
-0.040363878,
-0.00092456525,
-0.049662363,
-0.008149383,
-0.023272628,
0.032491863,
0.002098433,
-0.027208634,
-0.015083621,
-0.03835625,
0.02723505,
-0.019508326,
0.044273466,
-0.02312734,
0.013630733,
0.046677336,
-0.016972376,
-0.024395315,
-0.0038336439,
-0.005448331,
-0.000979874,
0.0067559304,
0.051300164,
0.0019415871,
-0.033284348,
-0.028687939,
-0.00077638717,
-0.013300532,
-0.034182496,
0.004801135,
0.057798535,
-0.015994979,
0.0057025864,
0.0059370296,
0.02937476,
0.010738165,
0.030193659,
-0.039439313,
0.0000615001,
0.03325793
] |
Semantic segmentation
- Semantic segmentation task guide
If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource.
MobileNetV2Config
[[autodoc]] MobileNetV2Config
MobileNetV2FeatureExtractor
[[autodoc]] MobileNetV2FeatureExtractor
- preprocess
- post_process_semantic_segmentation
MobileNetV2ImageProcessor
[[autodoc]] MobileNetV2ImageProcessor
- preprocess
- post_process_semantic_segmentation
MobileNetV2Model
[[autodoc]] MobileNetV2Model
- forward
MobileNetV2ForImageClassification
[[autodoc]] MobileNetV2ForImageClassification
- forward
MobileNetV2ForSemanticSegmentation
[[autodoc]] MobileNetV2ForSemanticSegmentation
- forward |
[
0.039856814,
-0.025068847,
0.022137765,
0.0015686441,
-0.039031986,
0.020267176,
0.018072547,
-0.00663912,
0.021902101,
0.049931485,
0.024833182,
-0.017822154,
0.0048090355,
-0.06062478,
0.003752226,
0.084485844,
-0.021077273,
-0.014883707,
-0.038236618,
-0.023934709,
0.031814754,
0.0034245045,
-0.057237096,
-0.031019384,
-0.01391159,
0.0054828897,
0.015436047,
0.02143077,
0.0730561,
0.02873638,
-0.011135164,
-0.009750633,
-0.01570117,
-0.036911003,
-0.0029310815,
-0.019972594,
-0.016437622,
-0.008690141,
0.011378192,
-0.0061825197,
0.041418094,
-0.008373466,
0.03511406,
-0.007990511,
-0.023492837,
0.0030028855,
-0.00523986,
-0.031932585,
0.017041514,
-0.06899088,
0.0007829412,
0.018234566,
0.020399736,
-0.02347811,
-0.059475914,
-0.01047972,
-0.036852088,
0.010509179,
-0.041152973,
-0.016540725,
0.051345475,
0.011775877,
0.0058327047,
-0.0472508,
-0.008506028,
0.049813654,
0.0023290315,
-0.006370315,
-0.0044003045,
0.0135580925,
-0.07776939,
0.028692193,
-0.021961017,
-0.03449544,
0.01290265,
0.020767963,
0.016997326,
0.030872094,
-0.04333287,
0.005560217,
0.0041094054,
0.016069395,
-0.0079610525,
-0.002297732,
-0.040593266,
-0.00551603,
0.027985198,
-0.02998835,
-0.016363977,
-0.027454954,
-0.025230866,
0.0262619,
-0.023875793,
0.030783718,
-0.0009757997,
0.011245632,
-0.0008772992,
0.03387682,
0.04009248,
-0.020709047,
-0.0081598945,
0.08260053,
-0.03437761,
0.03646913,
0.006035229,
0.014942624,
-0.024185104,
0.0017877386,
-0.06233335,
-0.0175423,
0.00621566,
-0.008483934,
0.0059984066,
0.02517195,
0.0015272186,
0.0057627414,
-0.021725351,
0.023846336,
-0.02081215,
-0.005195673,
0.035231892,
0.004256696,
0.011739055,
-0.025761113,
0.01134137,
-0.0027801085,
-0.016378706,
0.02299205,
-0.032256626,
-0.018573334,
-0.012895285,
0.012910014,
-0.011135164,
0.030931009,
-0.0040762653,
-0.041035138,
-0.0033158779,
0.0073682084,
0.030665886,
-0.0044297623,
0.022447076,
-0.043863118,
0.00076775183,
0.08513392,
-0.034112483,
0.0214455,
0.031137217,
-0.032698497,
-0.0014121479,
0.032227166,
-0.052612174,
0.03228608,
-0.014103067,
0.019545453,
0.036852088,
-0.013609644,
-0.017203532,
0.035467558,
0.009905287,
0.002170694,
-0.016717475,
-0.006156744,
-0.009934746,
0.04801671,
0.0006853612,
0.04845858,
-0.01724772,
0.0036638516,
-0.0146775,
0.0004476251,
0.02984106,
0.010774301,
-0.041300263,
0.02565801,
0.050667938,
0.009183564,
0.041535925,
-0.016908951,
0.027145643,
0.016113583,
0.014854249,
0.0017766919,
0.038649034,
0.03296362,
0.03479002,
0.017910527,
-0.022609094,
-0.000022481941,
-0.022240868,
0.023831606,
0.007894772,
0.02315407,
-0.02347811,
-0.0010816648,
-0.040946763,
-0.0033177189,
-0.011930532,
0.00059744716,
-0.06315818,
-0.05579365,
-0.01002312,
0.030076724,
-0.030636428,
0.013292969,
-0.01788107,
0.05838596,
0.004481314,
0.035025686,
-0.021813726,
-0.017483385,
0.060506947,
0.01087004,
0.023507567,
0.0064329137,
-0.0057185544,
0.027616972,
0.0017306636,
-0.02361067,
-0.0057369657,
0.027720075,
0.048576415,
0.020944713,
0.0033729528,
-0.024140917,
0.042301837,
0.022918405,
0.011304547,
0.018131463,
0.01894156,
-0.00271751,
-0.057561137,
0.04053435,
-0.0288984,
0.054261826,
0.016746933,
-0.014272451,
0.03667534,
0.032727953,
0.0038811052,
0.0043782108,
-0.026158797,
0.013874767,
0.0077769393,
-0.024641704,
0.015819002,
-0.0033913641,
-0.05099198,
-0.0021044132,
-0.028530173,
0.065632656,
-0.03246283,
0.054880448,
-0.036969922,
-0.030003078,
-0.034613274,
-0.041418094,
0.025672738,
0.000032910226,
0.00105773,
-0.038649034,
0.012983659,
0.032344997,
-0.018838458,
-0.032698497,
0.043627452,
0.10799341,
-0.0042787897,
0.021209834,
0.02300678,
-0.0003544178,
-0.020488111,
0.005055747,
-0.056147147,
0.008123072,
-0.012195655,
-0.029885247,
0.011775877,
-0.0039657974,
-0.0006453166,
-0.0096328,
0.010531272,
0.01664383,
-0.011451838,
0.039709523,
0.027631702,
0.022476533,
-0.023198256,
0.025466532,
0.008226176,
0.008454476,
-0.019928407,
0.0076959296,
0.018912103,
-0.0082556335,
0.035320267,
-0.025466532,
0.0064881477,
0.0022866854,
0.017291907,
0.010118859,
-0.010671198,
0.000711137,
0.046985675,
0.017807424,
0.003080213,
0.009588613,
0.010531272,
-0.050874148,
0.029266626,
-0.008226176,
-0.014743781,
0.0053834687,
0.00038617733,
0.0074234423,
-0.031638004,
0.044835236,
0.033641156,
-0.004484996,
-0.021725351,
-0.041270804,
0.00032127745,
0.0122619355,
-0.032669038,
0.0021670118,
-0.028058844,
0.037117213,
-0.03337603,
-0.031903125,
0.043715827,
-0.036734257,
-0.0363513,
-0.01710043,
-0.062274434,
0.027749535,
-0.0064734183,
0.017070971,
0.008682776,
-0.00009827039,
-0.017439198,
0.008388195,
0.0038148244,
-0.016437622,
-0.0072908807,
0.05747276,
0.02749914,
-0.013285605,
0.050402816,
-0.045336023,
0.0019442348,
-0.017954715,
-0.014316639,
0.009986297,
0.031048842,
0.019295057,
0.031255048,
0.022432346,
0.0060536405,
0.03202096,
0.021047816,
0.016334519,
0.052641634,
-0.004381893,
0.04630814,
0.003194363,
-0.006889514,
-0.01218829,
-0.002675164,
0.0063519035,
0.036145095,
-0.050638482,
0.02159279,
-0.015075184,
-0.04557169,
-0.019103581,
-0.0074786763,
-0.023109883,
0.05237651,
0.03157909,
0.057384387,
-0.030047266,
-0.003036026,
-0.026689041,
0.0038258713,
0.041152973,
0.031490713,
0.048399664,
0.0010301131,
0.017527573,
-0.01942762,
-0.0016855559,
-0.024582788,
0.007688565,
-0.032079875,
-0.030931009,
-0.030194556,
-0.037087753,
0.031137217,
0.061155025,
0.028957317,
-0.032227166,
0.024317665,
-0.017925257,
0.010619647,
0.039591692,
0.009183564,
-0.026379732,
-0.02657121,
0.012357675,
-0.009294032,
-0.008027334,
-0.03587997,
-0.049165577,
-0.03434815,
0.02920771,
0.032079875,
0.003557066,
-0.018264025,
0.023419192,
-0.009537061,
0.008697505,
-0.056765765,
-0.016511267,
-0.032227166,
0.034141943,
0.015951563,
-0.041418094,
-0.015819002,
-0.05871,
-0.008726964,
0.018882645,
-0.009190928,
-0.04041652,
-0.024818452,
0.005026289,
-0.02035555,
0.06757689,
0.030224014,
-0.025054118,
-0.002756174,
-0.033493865,
-0.011017331,
-0.0010163046,
0.0007447377,
-0.032197706,
0.028662736,
0.019398162,
-0.0025683783,
-0.010030485,
-0.023198256,
0.033022534,
0.03172638,
-0.050638482,
0.033935737,
-0.02439131,
-0.011208809,
0.006988935,
-0.030076724,
-0.007548639,
0.036145095,
0.034053568,
-0.027425494,
-0.01895629,
0.012976295,
-0.022579636,
-0.00042392052,
0.0036178234,
0.027778992,
0.0073461146,
0.055116113,
0.0064807828,
-0.026674313,
0.07753373,
0.022167223,
-0.036734257,
0.031932585,
0.014787968,
0.03991573,
-0.03246283,
0.0051183454,
-0.03228608,
-0.047781046,
0.04754538,
0.009375041,
-0.0063629504,
0.029119335,
-0.09078988,
-0.04180105,
0.020385008,
-0.03729396,
0.010634376,
0.015215111,
-0.038943615,
0.016702745,
-0.016378706,
-0.022417618,
-0.0070515336,
-0.041300263,
0.0037853664,
0.0599767,
0.013491811,
-0.0042603784,
-0.014103067,
-0.038649034,
0.06392409,
-0.06139069,
0.008277727,
-0.02283003,
-0.018853188,
-0.016275603,
0.011937897,
-0.03464273,
-0.029723227,
-0.0092572095,
-0.0033416536,
-0.010354524,
-0.023124611,
0.04085839,
-0.024921557,
-0.05405562,
0.03464273,
-0.002658594,
-0.030224014,
-0.0019000478,
0.031107757,
0.019457078,
0.020900525,
-0.0093529485,
-0.049047742,
-0.051669516,
-0.029266626,
0.057237096,
-0.015966292,
-0.003542337,
-0.032727953,
-0.081834614,
-0.021401312,
0.017689591,
0.025275053,
-0.035438098,
0.031490713,
-0.02471535,
0.012041,
-0.038207162,
-0.004591782,
-0.042478587,
-0.020502841,
-0.042949915,
0.018926831,
-0.000616779,
0.0067311767,
0.0015760086,
0.04554223,
0.016260874,
0.033317115,
-0.020856338,
-0.042301837,
-0.013396073,
0.021504415,
-0.0015097278,
-0.039208736,
-0.06380625,
0.06410083,
-0.010818489,
0.056618474,
-0.0022609094,
-0.02548126,
0.00088052114,
-0.023684315,
0.05594094,
-0.053672664,
0.01243132,
0.030430222,
-0.007526546,
0.044835236,
0.0094045,
0.021033086,
-0.012394497,
-0.020694317,
-0.062392265,
0.020885795,
-0.030636428,
-0.0007226441,
-0.036115635,
0.0008731566,
0.004901092,
-0.014802697,
-0.021887371,
0.07812289,
-0.008999451,
0.0115623055,
-0.023802148,
-0.0036491225,
0.0036123,
-0.002253545,
0.00060619257,
-0.011267724,
-0.030091453,
-0.010383981,
-0.056058772,
-0.062686846,
-0.031431798,
0.007460265,
0.021828456,
-0.0012353993,
0.04766321,
-0.015671711,
-0.043774743,
-0.047869418,
0.013756935,
0.018543877,
0.021003628,
0.005066794,
0.031962045,
-0.018514419,
0.012298758,
-0.031755835,
-0.010531272,
0.017645404,
0.03587997,
-0.05158114,
-0.05361375,
0.04613139,
0.007894772,
-0.040652182,
-0.039356027,
-0.011643316,
-0.0094045,
-0.018632252,
0.0033711118,
-0.018735355,
-0.019869491,
-0.031755835,
-0.0013688813,
0.05146331,
-0.00041632587,
-0.030960467,
0.01537713,
-0.015656982,
-0.034259774,
-0.0014636995,
0.03420086,
-0.0046101934,
0.0017545983,
-0.042508043,
-0.019295057,
-0.043804202,
-0.019766388,
0.07859422,
-0.049990404,
0.012026271,
0.0115623055,
0.016555455,
0.044216614,
-0.016378706,
0.03045968,
0.030194556,
-0.062863596,
-0.041152973,
-0.04132972,
0.0062414357,
0.00501156,
0.00060941454,
0.0245386,
0.065691575,
0.004547595,
0.027985198,
-0.0102587845,
-0.08136328,
0.0023897886,
-0.055057198,
-0.02206412,
0.0034355514,
-0.023861064,
0.020576486,
0.076001905,
-0.011223538,
-0.042154547,
0.01212201,
-0.011768512,
-0.04050489,
0.008042063,
-0.041683216,
-0.022638554,
-0.061626352,
-0.027160373,
-0.07659107,
-0.061803102,
-0.002236975,
0.02207885,
0.015406588,
0.0153624015,
0.019309787,
0.02780845,
-0.01649654,
0.013329792,
-0.0010107812,
0.021725351,
-0.015185652,
-0.041859966,
-0.032551207,
0.025864216,
0.028338697,
-0.033464406,
0.0024726395,
0.011753784,
0.008668047,
-0.019530723,
0.03632184,
0.07040487,
-0.022093577,
-0.016702745,
0.023050966,
0.028603818,
-0.047457006,
0.020576486,
-0.021695893,
-0.06262793,
-0.01802836,
0.01692368,
0.022417618,
0.039738983,
0.039414942,
0.023404464,
0.006959477,
0.00450709,
0.029531749,
0.050874148,
0.05237651,
-0.018779542,
-0.00093069195,
0.01942762,
0.019501265,
-0.027086727,
-0.013933683,
0.02751387,
-0.01679112,
-0.0011194079,
-0.0013145679,
0.009316126,
0.01173169,
0.05205247,
0.014169348,
0.0024376581,
-0.045100357,
-0.040976223,
-0.006506559,
0.01726245,
-0.06139069,
-0.06698773,
0.0040247133,
-0.06439541,
0.007990511,
0.009389771,
-0.022653282,
0.003991573,
0.03558539,
-0.014500752,
0.013845309,
0.0003083895,
-0.0197222,
0.040799472,
-0.044835236,
-0.02486264,
0.00400262,
-0.00046143358,
-0.05405562,
-0.009271938,
-0.024464956,
0.035379183,
0.011768512,
-0.028692193,
-0.040328145,
-0.054939363,
0.011002602,
0.0024855274,
-0.029929433,
-0.038943615,
-0.035025686,
0.04053435,
-0.029089877,
-0.023816878,
0.008344008,
0.0310783,
0.022609094,
0.056765765,
0.023183528,
0.03841337,
0.018543877,
0.009419229,
0.03576214,
0.023389734,
0.01692368,
-0.011628587,
0.032227166,
0.054850988,
0.041742135,
0.027322391,
0.05222922,
0.0071583195,
0.0060573225,
-0.0063924086,
-0.038148243,
0.0064881477,
0.0065176054,
0.015185652,
-0.019795846,
0.011871616,
0.0061420146,
-0.04300883,
-0.0027745853,
-0.0065581105,
0.020620672,
0.012475507,
-0.017041514,
-0.009205658,
-0.03997465,
0.024288207,
-0.028765839,
0.0005122948,
0.004805353,
0.028058844,
0.025304511,
-0.017129887,
-0.013506541,
0.01864698,
0.020473382,
0.01103206,
0.0019792165,
0.02997362,
-0.0077769393,
0.0394444,
-0.024597516,
0.05700143,
-0.009478145,
-0.024199832,
-0.00070377253,
-0.040033564,
-0.0009868465,
0.014014693,
-0.008476569,
0.019103581,
-0.020591214,
-0.058061924,
0.002955016,
0.0054534315,
-0.0031188768,
-0.065279156,
0.006999982,
0.02437658,
-0.0016422893,
-0.029104607,
0.031962045,
0.0033066722,
0.0038590117,
0.026497565,
0.06958004,
0.0126596205,
0.10875932,
0.01788107,
-0.010236691,
0.025304511,
0.01072275,
-0.052081928,
0.024656434,
0.025672738,
-0.008918441,
0.0055823107,
0.0003564891,
-0.03929711,
0.02297732,
0.021033086,
0.015406588,
-0.047987252,
0.02689525,
-0.012843734,
-0.030960467,
-0.015421318,
0.11671301,
0.020473382,
-0.0009951316,
-0.037794746,
0.006315081,
-0.033935737,
-0.00862386,
-0.03299308,
0.027469682,
-0.02129821,
-0.032227166,
0.0004782339,
-0.042508043,
0.0024100412,
0.009220387,
-0.015774814,
-0.040652182,
0.007894772,
0.052288134,
0.029016232,
0.01664383,
-0.011923168,
-0.04739809,
0.034407064,
0.05829759,
-0.0070478516,
0.038118787,
0.039562233,
0.037352875,
0.003177793,
-0.0006586648,
0.012689078,
-0.006554428,
-0.014014693,
0.0073461146,
-0.0016137518,
-0.0050152424,
-0.024568059,
-0.034760565,
0.044923607,
-0.06150852,
-0.008049427,
-0.015627524,
-0.037087753,
-0.05658902,
0.018617522,
-0.0070404867,
-0.020900525,
-0.00400262,
0.005151486,
-0.03608618,
-0.053878874,
0.25852433,
0.06893197,
0.013027847,
0.010442898,
0.06292251,
0.02858909,
0.00020217926,
-0.06327601,
-0.0046543805,
-0.040180854,
0.0077401167,
-0.017336095,
-0.014242994,
0.031608544,
-0.0019644874,
0.014603855,
-0.06427758,
0.0011672773,
0.009890558,
-0.030724803,
-0.037205584,
0.01257861,
-0.021622248,
0.016908951,
0.019840034,
0.014824791,
-0.02751387,
-0.06775364,
-0.018617522,
-0.010244056,
-0.003542337,
-0.026173526,
0.006845327,
-0.00644396,
-0.007931595,
-0.010428169,
-0.056235522,
-0.03838391,
-0.025216138,
-0.024936285,
-0.025967319,
0.0020675906,
-0.015671711,
-0.0014480499,
0.023507567,
0.052494343,
0.007114132,
0.06357059,
0.060065076,
-0.043892574,
0.081952445,
-0.029737957,
0.007309292,
-0.017380282,
-0.04121189,
0.0028537537,
-0.039061446,
-0.035497017,
0.015274027,
0.015141466,
0.028191406,
-0.0031520172,
-0.028927859,
0.008550215,
-0.019840034,
0.023522297,
-0.04306775,
0.027616972,
0.0018162762,
0.00072402495,
0.018057818,
-0.0061677904,
-0.018484961,
-0.00978009,
0.035997804,
0.040770017,
0.004661745,
0.013793757,
0.028161947,
-0.020929983,
-0.025702195,
0.012180926,
0.023802148,
-0.01786634,
0.010965779,
0.0447174,
-0.022638554,
-0.0059284433,
0.008881618,
0.025908403,
0.0071509546,
0.06392409,
-0.013970505,
-0.02982633,
-0.015627524
] | To load GPT-J in float32 one would need at least 2x model size
RAM: 1x for initial weights and another 1x to load the checkpoint. So for GPT-J it would take at least 48GB
RAM to just load the model. To reduce the RAM usage there are a few options. The torch_dtype argument can be
used to initialize the model in half-precision on a CUDA device only. There is also a fp16 branch which stores the fp16 weights,
which could be used to further minimize the RAM usage:
thon |
[
0.01570356,
-0.00023349916,
-0.021459097,
-0.024044707,
-0.056971055,
0.011021708,
0.0046782,
0.0019172952,
0.024351474,
0.044700366,
0.011825146,
-0.01807005,
0.032780267,
-0.05527653,
-0.009670472,
0.05442927,
-0.034241065,
-0.013541581,
-0.041778773,
0.00030357172,
0.015615912,
0.024044707,
-0.06889115,
-0.06544367,
-0.005123743,
0.0021437185,
0.041632693,
0.0064567197,
0.06941704,
0.019618494,
-0.033598315,
-0.005087223,
0.0018205174,
-0.01842064,
-0.012533632,
-0.029157493,
-0.008867034,
-0.018230738,
-0.013490453,
-0.01878584,
0.038389727,
0.0064932397,
0.03751325,
-0.026148254,
-0.046161164,
0.009597432,
-0.0057409294,
-0.028996807,
0.008954681,
-0.045226254,
-0.027886601,
0.011847058,
0.028806902,
0.0002734428,
-0.04294741,
-0.013826436,
-0.00939292,
0.0011220742,
-0.049725506,
-0.010349742,
0.029493477,
0.022350183,
-0.016390134,
-0.050368257,
-0.0028522047,
0.04131132,
-0.005353818,
0.015659736,
0.008173156,
0.015951896,
-0.051507678,
0.03938307,
-0.011284651,
-0.023810979,
-0.01922408,
0.021108506,
0.010605381,
-0.0030001104,
-0.03593559,
0.026951691,
0.012409464,
0.03061829,
-0.026907867,
0.012124609,
-0.054984372,
-0.0065991473,
0.046453323,
-0.0041377055,
-0.024570594,
-0.009874983,
-0.028222585,
0.046161164,
-0.0028284667,
0.015192281,
0.023840195,
0.005620414,
-0.011189699,
0.017339652,
-0.00072492013,
-0.021254586,
0.016696902,
0.087589346,
-0.027083162,
0.03800992,
-0.012855007,
0.003498607,
0.008143939,
0.0016762638,
-0.04432056,
-0.047359016,
0.004773152,
-0.010882933,
0.037104227,
0.0025764795,
0.027784346,
0.031728495,
-0.056386735,
0.011978529,
-0.0414574,
-0.044437423,
0.019238686,
-0.026221294,
0.0024157919,
-0.05621144,
0.022700774,
-0.022350183,
-0.008078204,
0.027798953,
-0.031786926,
-0.020641051,
-0.012606672,
0.012080785,
-0.0057263216,
0.024789713,
-0.008056291,
-0.024263827,
-0.0073478054,
0.008173156,
-0.018946528,
-0.0077422205,
-0.00055784156,
-0.026075214,
-0.008414187,
0.08770621,
-0.015075417,
-0.033510666,
0.016945237,
-0.006299684,
-0.057175566,
0.026732571,
-0.059629705,
0.007837172,
-0.009020417,
0.026498845,
-0.002755427,
0.0032630537,
-0.014374236,
0.030180052,
0.046102732,
0.028295623,
0.01728122,
-0.008976594,
-0.015645128,
0.03535127,
-0.0054487702,
0.06707977,
-0.05635752,
-0.022934502,
0.0029088105,
-0.011248131,
0.006759835,
-0.0075669247,
-0.023328917,
0.018756624,
0.05156611,
0.0091738,
0.041194454,
0.010269398,
0.010415478,
0.013169078,
-0.012226865,
0.011934706,
0.0010782502,
0.017894754,
0.010809893,
0.033218507,
-0.010320526,
0.008195067,
-0.035731077,
0.0524718,
0.0016589168,
0.05364044,
-0.041574262,
0.034474794,
-0.06976763,
-0.0019081652,
-0.03535127,
-0.0056715417,
-0.037600897,
-0.055188883,
-0.020538796,
0.045722924,
-0.05255945,
-0.010444693,
0.0016680468,
0.0143523235,
-0.004287437,
0.048440006,
-0.019457806,
0.0207287,
0.02524256,
0.024146963,
-0.0028868986,
-0.011825146,
0.003885718,
0.007406237,
-0.0077057006,
0.04096073,
-0.007932124,
0.02997554,
0.025271775,
0.026089821,
0.048060197,
0.0039989296,
-0.016755333,
-0.006628363,
0.0073405015,
0.05314377,
-0.0052552144,
0.007559621,
0.0031078442,
0.028310232,
0.0001746108,
0.038886398,
0.016740726,
0.0110655315,
0.0414574,
0.026980907,
0.009181105,
-0.0046562883,
-0.014469187,
0.026352765,
0.01799701,
0.027871992,
0.0032100999,
0.0004553576,
-0.03599402,
-0.0044554286,
-0.033569098,
0.059892647,
-0.030939665,
0.055977713,
0.0049411436,
-0.040843863,
-0.04110681,
-0.028865334,
0.02021742,
0.014432667,
-0.00084543583,
-0.027769737,
0.044291344,
0.013899476,
-0.053231418,
-0.03722109,
0.032867916,
0.062931105,
0.0030001104,
0.0063617676,
0.023358133,
-0.035438918,
-0.03628618,
-0.033948906,
-0.054692212,
0.008465314,
-0.049930017,
-0.022101847,
0.034620874,
-0.015747383,
0.010941364,
0.0005628631,
0.013621925,
0.01251172,
-0.0072090295,
0.05515967,
0.051799837,
0.03985052,
-0.034679305,
0.0068803504,
-0.04253839,
0.011752106,
-0.05492594,
0.010284006,
0.033715177,
-0.018479073,
0.061411876,
0.0059710047,
-0.016244054,
-0.028441703,
-0.026644925,
0.00024810713,
-0.02115233,
0.0069059143,
-0.004663592,
-0.010174446,
-0.011058228,
0.008852425,
0.03520519,
-0.034971464,
0.06520995,
-0.013636533,
0.006566279,
-0.008669826,
-0.008472619,
-0.00043983664,
-0.03844816,
0.044145264,
0.009013113,
-0.01792397,
-0.051303167,
-0.033423018,
-0.024205394,
0.03780541,
-0.05068963,
0.0033799175,
0.00037569855,
0.05106944,
0.0009878635,
-0.03841894,
0.032780267,
-0.0282518,
-0.042567603,
-0.036110885,
-0.019253295,
0.040989943,
0.018742016,
0.033569098,
-0.015805816,
0.019253295,
0.009078849,
-0.016185623,
0.011971226,
-0.049783938,
-0.0064895875,
0.029449653,
0.01563052,
-0.0008321974,
0.06363229,
-0.03593559,
0.009436744,
-0.003547909,
-0.025125695,
-0.01929712,
0.012131914,
0.0058066654,
-0.0068365266,
0.01280388,
0.0061426484,
-0.0026623013,
-0.009765423,
-0.009845767,
0.02595835,
0.03584794,
0.021123115,
0.004700112,
-0.02674718,
-0.017456515,
0.0013238466,
0.018318385,
0.03649069,
-0.04817706,
0.002764557,
-0.01047391,
-0.07637043,
-0.006204732,
-0.0009577346,
0.0048023676,
0.02560776,
0.028018072,
0.019823005,
0.00017312719,
-0.04955021,
0.0065151514,
0.018128483,
0.014469187,
0.035731077,
0.02014438,
0.016916022,
0.043560944,
-0.06760565,
-0.035468135,
0.01351967,
0.024745889,
0.0075669247,
-0.030939665,
-0.04911197,
-0.018668976,
-0.0039806697,
0.052296508,
0.04110681,
0.033043213,
0.04008425,
0.008925465,
-0.01899035,
0.019618494,
-0.007873692,
-0.011854362,
-0.044378992,
0.029683381,
0.028923767,
-0.038681887,
-0.015922679,
-0.04940413,
-0.019487023,
0.016258663,
0.025213344,
0.017646419,
-0.012051569,
0.03806835,
0.018946528,
0.040347192,
-0.045343116,
-0.017295828,
-0.057730667,
0.026615709,
0.030939665,
-0.020597227,
-0.018625153,
-0.057467725,
-0.009940718,
0.030033972,
0.04288898,
-0.06334013,
0.010758765,
0.026805611,
-0.06649545,
0.071169995,
0.030355347,
-0.012380249,
-0.015002378,
-0.021955768,
0.011204308,
0.011927402,
-0.030413778,
-0.02768209,
0.037104227,
0.0041997894,
-0.003120626,
-0.018771233,
-0.036812067,
0.011050924,
0.042275444,
-0.06731349,
0.061061285,
-0.022919893,
-0.012489808,
-0.022101847,
-0.019603886,
0.05168297,
0.028982198,
-0.003955106,
-0.063223265,
-0.028310232,
0.039266203,
-0.020918602,
-0.03593559,
0.02753601,
0.02682022,
0.0055692857,
0.04905354,
-0.0013311506,
-0.016346311,
0.06731349,
-0.015221497,
-0.009736207,
-0.014615267,
-0.0021218066,
0.0016141799,
-0.012131914,
-0.030238483,
0.0130449105,
-0.045401547,
0.048527654,
-0.018522898,
-0.0027882948,
0.047738824,
-0.06275581,
-0.030793585,
0.02746297,
-0.05177062,
0.012131914,
-0.00946596,
-0.023241268,
0.025724623,
0.016477782,
-0.0046088123,
-0.012562848,
-0.06334013,
-0.0123729445,
0.069300175,
0.021239977,
0.006248556,
-0.036315396,
-0.046424106,
0.043473296,
-0.024395298,
0.018888095,
-0.00627412,
0.0033981774,
-0.006317944,
-0.015922679,
-0.03765933,
-0.006661231,
0.017471123,
-0.025344815,
-0.043648593,
-0.03885718,
0.012256081,
-0.035146758,
-0.044116046,
0.06725506,
-0.00621934,
-0.06795625,
-0.03812678,
0.008399579,
0.021239977,
-0.0032210557,
0.025841486,
-0.024555985,
-0.024789713,
-0.038535807,
0.07368256,
-0.068423696,
0.03935385,
-0.01842064,
-0.04151583,
0.01014523,
0.011094748,
0.010232878,
-0.037688546,
0.009261449,
-0.033481453,
0.014228156,
-0.046628617,
-0.004305697,
-0.027141595,
0.016580038,
-0.05527653,
0.03441636,
-0.007413541,
0.010086798,
-0.003115148,
0.0183476,
0.014454579,
0.013855653,
-0.02689326,
-0.027565226,
-0.010999796,
-0.005905269,
-0.017193573,
0.004689156,
-0.00029352875,
0.031816144,
0.0019319031,
0.02516952,
-0.032108303,
0.018698193,
-0.015352969,
0.031728495,
0.02997554,
-0.055685554,
0.011489163,
0.024891969,
0.00043527165,
0.039704442,
0.007829868,
-0.015236105,
-0.012445984,
-0.05343593,
-0.09115369,
0.048001766,
-0.024205394,
-0.0009056937,
-0.008355754,
-0.014469187,
0.041720342,
-0.032663405,
-0.014520315,
0.07666259,
0.027492186,
-0.002399358,
-0.050806496,
0.041632693,
0.013600013,
0.011050924,
-0.003197318,
-0.029099062,
-0.0049411436,
-0.016156407,
-0.016214838,
-0.03952915,
-0.014907426,
0.029084453,
0.010006455,
-0.0037122485,
0.057204783,
-0.024965009,
-0.033569098,
-0.04367781,
0.0030859322,
0.027594442,
0.017631812,
0.03985052,
0.026864044,
0.002810207,
0.042509172,
-0.025856094,
-0.028894551,
0.00060988247,
0.03111496,
-0.02630894,
-0.023869412,
0.017763283,
0.037016578,
-0.042217012,
-0.060009513,
-0.02703934,
0.026776396,
-0.030180052,
-0.019019568,
-0.041983284,
-0.005142003,
-0.009860375,
-0.0038711103,
0.033861257,
-0.0058431854,
0.005061659,
0.016857589,
-0.026732571,
-0.06316483,
0.0017776064,
0.031903792,
0.0049667074,
-0.04139897,
-0.0368705,
-0.020188205,
-0.04210015,
-0.0315532,
0.064508766,
-0.0077860444,
0.015046202,
0.034211848,
0.016127191,
0.06766409,
0.012497112,
0.014191636,
-0.0079467315,
-0.021853512,
-0.06123658,
-0.029844068,
-0.00038962177,
0.013826436,
-0.00053821213,
-0.0055327658,
0.01770485,
0.029332789,
0.043648593,
-0.022554694,
-0.05182905,
-0.007168858,
-0.040697783,
-0.030296914,
0.014345019,
-0.016769942,
0.009736207,
0.05276396,
-0.013242118,
-0.033130858,
0.053903382,
-0.0002688778,
-0.023387348,
0.004652636,
-0.052384153,
-0.013687661,
-0.046657834,
0.0057445816,
-0.0829148,
-0.023168229,
0.023548037,
0.054166324,
0.007501189,
0.011985834,
-0.021459097,
0.056094576,
-0.007479277,
0.029566517,
0.014359628,
0.017193573,
-0.008874337,
-0.0067707906,
-0.025797663,
0.009115369,
0.052296508,
-0.04318114,
-0.0025929133,
-0.011949314,
-0.0026129994,
-0.023840195,
0.011175091,
0.0493457,
-0.030004757,
0.0017027407,
-0.021166937,
0.022306358,
-0.047300585,
0.0046745483,
-0.021853512,
-0.0036830327,
-0.021751257,
0.039967388,
-0.0036154708,
0.010546949,
0.031290255,
0.008881642,
-0.0022678862,
0.042626034,
0.02043654,
0.023314308,
0.0427429,
-0.023460388,
-0.012679712,
0.0030238484,
0.0065443674,
0.0041084895,
0.00464168,
0.023197444,
-0.02438069,
-0.014870906,
-0.007150598,
-0.008311931,
0.02832484,
0.026922476,
0.029332789,
-0.022131063,
-0.008728257,
-0.02459981,
-0.04160348,
0.01108014,
-0.035117544,
-0.027959641,
0.011372299,
-0.06363229,
0.010101406,
0.005156611,
0.0057445816,
-0.022656951,
0.038039137,
0.010941364,
-0.0055875457,
0.013709573,
-0.0012489809,
0.03771776,
-0.04817706,
0.014549531,
-0.018522898,
0.0394415,
-0.033247724,
-0.005974657,
-0.00041176195,
0.0524718,
0.016653078,
-0.0054414663,
-0.032400463,
-0.014133204,
0.012862312,
0.010941364,
-0.01344663,
-0.027302282,
-0.04230466,
0.054049462,
-0.05060198,
0.03570186,
-0.017062102,
0.030676723,
0.01232912,
0.047709607,
-0.0006975302,
0.039558362,
0.033656746,
-0.0002267658,
0.013899476,
0.028894551,
0.029727204,
-0.0017319566,
-0.009568215,
0.017120533,
0.028500136,
0.012263385,
0.027550617,
0.00231171,
0.050222177,
0.004791412,
-0.04239231,
-0.021166937,
0.043590162,
0.010021063,
0.0064603714,
0.013096038,
-0.032458894,
-0.014724826,
0.010634597,
-0.009108065,
0.048790596,
-0.0095901275,
-0.0022642342,
-0.015615912,
0.009224929,
0.00390763,
-0.033861257,
0.001592268,
-0.007493885,
-0.0029215927,
0.054750644,
-0.013855653,
0.012606672,
0.031757712,
-0.0022423223,
0.024044707,
0.012153825,
0.011014404,
-0.008531051,
0.033744395,
-0.03844816,
0.047300585,
-0.003553387,
0.018230738,
-0.009349097,
-0.058461066,
-0.038156,
0.03964601,
0.001612354,
-0.015981112,
-0.012489808,
-0.038243648,
-0.008837817,
-0.06906645,
0.0075304047,
-0.018479073,
0.016901413,
0.0249504,
-0.030004757,
-0.0075669247,
0.034942247,
-0.028281016,
0.046073515,
0.032254383,
0.05477986,
-0.009955327,
0.087589346,
0.024541378,
-0.0071652057,
0.042363092,
0.02029046,
-0.03879875,
0.008173156,
0.016010327,
0.005828577,
-0.012307209,
-0.032371245,
-0.042421523,
-0.0072126817,
-0.02194116,
-0.025826879,
-0.012110001,
0.01254824,
0.0000033381477,
-0.03987974,
0.0037396385,
0.09752276,
0.034299497,
-0.013600013,
0.017032884,
0.00016821982,
-0.057263214,
-0.0068913065,
-0.047592744,
0.041486613,
-0.034533225,
-0.011401515,
-0.0013156297,
-0.01964771,
-0.02023203,
-0.024687458,
0.006679491,
0.02552011,
0.043619376,
0.05527653,
0.012307209,
0.010305918,
-0.012665104,
-0.03757168,
0.002780991,
0.043999184,
0.009831159,
0.06421661,
0.06678761,
0.019194864,
-0.02566619,
-0.013110647,
-0.0055327658,
-0.016740726,
-0.008056291,
0.012387552,
-0.04166191,
-0.019852221,
-0.028003465,
-0.061762467,
-0.009546304,
-0.026338156,
0.012723535,
-0.02667414,
-0.030501427,
-0.075669244,
-0.016083367,
-0.023898628,
-0.0013558016,
-0.008961985,
-0.012957263,
0.013658445,
-0.05515967,
0.25476286,
0.06421661,
0.038039137,
0.0025874355,
0.03830208,
0.062113058,
-0.023095189,
-0.014958554,
0.00310054,
-0.049637858,
-0.009845767,
-0.030092403,
-0.012073481,
0.048352357,
-0.030589074,
0.06222992,
-0.06421661,
0.012029657,
0.006993562,
-0.039558362,
-0.06386601,
0.020845562,
0.0013667576,
0.0273315,
0.030442994,
0.024555985,
0.00021580982,
-0.04560606,
-0.008421491,
-0.016375527,
-0.011744802,
-0.008538354,
0.023139013,
-0.005160263,
0.025856094,
0.012161129,
-0.017456515,
0.0034511313,
-0.013877565,
0.0069387825,
-0.011270043,
-0.021765865,
0.004305697,
-0.012519024,
-0.0024011838,
0.009487872,
-0.015294537,
0.032692622,
0.055919282,
-0.020903995,
0.045430765,
-0.058870092,
0.029610341,
-0.031494766,
-0.0269663,
0.0046015084,
-0.0427429,
-0.025125695,
-0.030881234,
0.0069168704,
0.03520519,
-0.0010481214,
-0.010985188,
0.014892818,
-0.012453289,
0.036753636,
-0.043590162,
0.030501427,
-0.018172305,
-0.0016087019,
-0.01856672,
0.0138483485,
-0.031290255,
-0.024000883,
0.059834216,
0.043327216,
0.011474554,
0.009400224,
-0.023358133,
-0.026791004,
0.024848145,
0.002760905,
0.04031798,
0.0102620935,
0.014045556,
0.036169317,
-0.0072674616,
0.019121824,
0.00629238,
0.01799701,
0.023810979,
0.089050144,
0.003474869,
-0.01735426,
0.001966597
] | thon
from transformers import GPTJForCausalLM
import torch
device = "cuda"
model = GPTJForCausalLM.from_pretrained(
"EleutherAI/gpt-j-6B",
revision="float16",
torch_dtype=torch.float16,
).to(device) |
[
0.028848939,
-0.010139554,
-0.040727913,
-0.010295112,
-0.027590333,
0.012564844,
0.011815337,
0.026572136,
0.015018418,
0.035636924,
0.037447054,
0.0023262992,
0.023545826,
-0.037220787,
0.004560678,
0.055887748,
0.012430498,
-0.0385501,
-0.06606973,
-0.016969964,
0.026642844,
-0.023574108,
-0.09305197,
-0.00031023216,
-0.033855077,
-0.0014707302,
0.035297524,
-0.012677977,
0.08875291,
-0.0032048484,
-0.044602722,
-0.024860997,
-0.01503256,
-0.03645714,
-0.016786123,
0.0066571753,
-0.009948641,
0.0013637841,
-0.06980312,
-0.05348367,
0.018172003,
-0.015584083,
0.037107654,
-0.014664877,
-0.047827017,
-0.005009675,
-0.0059748413,
-0.054275602,
-0.0042036017,
-0.022669043,
0.003620259,
0.02661456,
0.015994191,
0.001926798,
-0.021127606,
0.011886045,
-0.007763759,
0.029442888,
-0.035721775,
-0.0030104008,
0.05928174,
0.030517653,
-0.007820325,
-0.07495067,
0.03309143,
0.04431989,
-0.002453574,
0.02281046,
-0.01105876,
0.029046921,
-0.042962294,
-0.009368834,
-0.032044947,
-0.0073465803,
-0.010245616,
-0.0023262992,
0.02739235,
0.023856942,
-0.0058829207,
0.024168057,
0.028410548,
0.039115768,
-0.0065051527,
-0.0003559715,
-0.039935984,
-0.03705109,
0.05899891,
-0.003793494,
-0.015414384,
-0.06114844,
0.009538534,
0.023248851,
-0.0013390363,
0.016008332,
0.00074685516,
0.040643062,
-0.010768856,
0.050598778,
0.014134566,
-0.02573778,
-0.004924825,
0.0799851,
-0.015173976,
0.042057227,
-0.031648982,
0.0101042,
-0.007883962,
0.00475159,
-0.0090718595,
-0.0312813,
0.019826574,
0.014127495,
-0.012925456,
0.04027538,
0.0060526207,
-0.00034867972,
-0.03456216,
0.008562761,
-0.025129689,
-0.01865282,
0.03343083,
-0.02783074,
0.000050048136,
-0.0074172886,
0.037814736,
-0.04250976,
-0.0061233286,
0.016050758,
-0.04052993,
0.0057485756,
-0.014933568,
-0.011702204,
-0.028990354,
0.042905726,
0.022824602,
-0.021325588,
0.011560788,
0.030828768,
0.000103189755,
-0.03739049,
0.01624874,
-0.029075205,
-0.021368014,
0.08445385,
-0.017323505,
0.015089126,
0.018709386,
-0.06731419,
0.019190202,
-0.0012842374,
-0.04372594,
0.022654902,
-0.030263102,
0.033826794,
-0.006056156,
-0.03221465,
-0.020151833,
0.023814516,
0.0024323615,
0.010097128,
0.019996274,
0.006536972,
-0.009778942,
0.036146022,
-0.007509209,
0.053427104,
-0.030036837,
-0.009559747,
0.003572531,
-0.049241178,
0.04163298,
0.025681213,
-0.011787054,
-0.011398159,
0.024663014,
0.06437273,
0.045224953,
0.0060066604,
0.0023369056,
-0.0073465803,
-0.012628482,
-0.0025048375,
0.018172003,
0.020222541,
-0.00881731,
0.01347698,
-0.021565996,
-0.015343675,
-0.014735585,
0.0056460486,
-0.00052500825,
0.0064061615,
0.013710317,
0.019741725,
-0.05540693,
-0.027547909,
-0.013887087,
-0.007198093,
-0.008258716,
-0.07466784,
0.018270995,
0.030941902,
-0.010691077,
0.026671126,
0.0070283934,
0.028368123,
-0.048166413,
0.03852182,
-0.028962072,
0.010118341,
0.059055474,
0.033572245,
0.022131661,
0.0066076797,
0.03456216,
-0.0019214948,
0.004267239,
-0.03543894,
0.009877933,
0.032893445,
0.046441134,
-0.010266828,
-0.001598005,
-0.0393986,
0.011822408,
-0.014473965,
0.040558215,
0.02590748,
0.007077889,
0.013081014,
-0.028071148,
0.02426705,
0.009722375,
0.044263322,
0.0036945026,
-0.0038323835,
0.015485092,
0.03351568,
0.0042530973,
0.013696175,
-0.011207247,
-0.016559856,
0.05263517,
0.03275203,
0.01295374,
-0.020547798,
-0.020194257,
-0.022598336,
-0.05962114,
0.041972376,
-0.049637146,
0.042000663,
-0.0122749405,
-0.0040126895,
-0.043329976,
-0.01209817,
0.0067703086,
0.01685683,
0.003991477,
-0.04994826,
0.014778011,
0.029301472,
0.00030979022,
-0.023164,
0.03767332,
0.041859243,
0.002927319,
0.0070637474,
0.024945848,
-0.022485202,
-0.0066218213,
-0.0481947,
-0.059168607,
-0.029782288,
-0.023347842,
0.0013434555,
0.034477312,
-0.040841047,
0.0019321011,
-0.018850802,
-0.0053702868,
0.0050839186,
-0.015258826,
0.044348173,
0.03982285,
0.027859025,
-0.015414384,
0.016475007,
-0.022541769,
0.02602061,
-0.0030828768,
-0.044037055,
0.00051616976,
-0.026317585,
0.029782288,
-0.03481671,
0.014834577,
0.0060420143,
-0.021495288,
0.008414274,
0.012310294,
-0.007997096,
0.048081566,
0.0053702868,
-0.020095266,
0.008994081,
0.017761895,
-0.01978415,
0.010323395,
0.0068091983,
-0.028580248,
0.019374043,
-0.013427484,
0.06454243,
-0.02487514,
0.023998357,
0.024139773,
-0.01614975,
-0.02947117,
-0.04822298,
-0.006402626,
-0.028452974,
-0.020618506,
-0.031733833,
-0.020151833,
0.037729885,
0.0024765541,
-0.063580796,
0.03224293,
-0.028325697,
-0.041350145,
-0.0074314303,
-0.031451,
0.033232845,
0.008619328,
-0.00007037674,
-0.0085274065,
-0.0020257893,
-0.03552379,
0.021495288,
0.025638787,
-0.0009748891,
-0.009078931,
0.048251264,
0.0031217663,
0.0037864232,
0.0554635,
-0.06590003,
-0.018256852,
-0.016376015,
0.023079151,
0.019967992,
0.0143184075,
0.027901448,
0.036089458,
0.009481967,
-0.02194782,
0.016771981,
0.018200286,
-0.0022449847,
0.033148,
0.03852182,
0.020180115,
0.036230873,
-0.035467226,
0.020703357,
-0.0015184582,
0.008131441,
0.05362509,
-0.008626399,
0.003793494,
-0.012819394,
-0.036513705,
-0.02056194,
0.013788096,
-0.02773175,
0.052861437,
0.0009413027,
0.053766504,
-0.031451,
0.0028088826,
0.010726431,
0.0042637032,
0.035636924,
0.034760144,
0.0395683,
-0.02272561,
0.0029114094,
0.017563913,
-0.00008545747,
-0.0060420143,
0.02619031,
-0.031592418,
-0.013971937,
-0.013448697,
-0.06793642,
0.029754004,
0.016941682,
0.0059995893,
-0.03640057,
0.06991625,
-0.053002853,
0.033204563,
0.015909342,
0.01788917,
-0.051334143,
-0.027448917,
0.016135607,
0.018412411,
-0.0026162027,
-0.04491384,
-0.013703246,
-0.015767924,
-0.0025808488,
-0.0054021054,
-0.03337426,
-0.02964087,
-0.006731419,
-0.022527628,
0.03673997,
-0.02348926,
-0.010839565,
-0.038380403,
0.0059465584,
0.073762774,
-0.02211752,
-0.016602281,
-0.07613857,
0.0006770309,
0.050994743,
-0.005151091,
-0.03221465,
-0.026317585,
0.010429457,
-0.03560864,
0.006911725,
-0.008569832,
-0.0062859575,
-0.0011357502,
-0.056396846,
-0.0033763158,
0.029018639,
0.024012499,
0.0030333812,
0.022273079,
0.0021106394,
0.00073624897,
-0.0074172886,
0.0044722925,
0.019204343,
0.047204785,
-0.017875029,
0.024945848,
-0.021933679,
-0.014403257,
0.019077068,
-0.018143719,
-0.024054924,
0.03705109,
0.050598778,
-0.015089126,
-0.024564022,
0.0053950343,
-0.050259378,
-0.037277356,
-0.013554758,
0.020675072,
-0.0037864232,
0.052606888,
0.003266718,
-0.010478953,
0.06595659,
0.04813813,
-0.016008332,
0.02487514,
-0.0018401805,
0.020392241,
-0.018256852,
-0.015018418,
-0.0032773244,
-0.04448959,
0.045818903,
0.021933679,
0.016771981,
0.0035654602,
-0.042736027,
-0.030008553,
0.043216843,
-0.030376235,
0.04112388,
0.0025419593,
-0.03377023,
0.021551855,
0.0032702535,
-0.0040763267,
-0.014466895,
-0.018808376,
0.025992328,
0.031422716,
0.024026642,
-0.012607269,
0.01183655,
-0.022357928,
0.056227148,
-0.08105986,
-0.0085274065,
-0.029131772,
-0.016955823,
-0.008329424,
0.011157751,
-0.046101734,
-0.03224293,
-0.0060172663,
0.014877002,
0.009319339,
-0.036344007,
0.014792152,
-0.03705109,
-0.031451,
0.07387591,
-0.01641844,
-0.041265298,
-0.032016665,
0.022824602,
0.060639337,
-0.002734639,
-0.0015202259,
-0.040388513,
-0.029386321,
-0.04270774,
0.039851133,
-0.030319668,
-0.021226596,
-0.033600528,
-0.031818684,
-0.0072546597,
0.008067803,
0.014106283,
-0.02539838,
0.020590223,
-0.050117962,
0.04491384,
-0.04986341,
-0.0003765211,
-0.047827017,
0.011285027,
0.01598005,
0.008576903,
-0.007643555,
-0.0007623226,
-0.012501207,
0.043273408,
0.03620259,
0.063976765,
-0.031451,
-0.058093842,
0.020759923,
-0.003148282,
0.011511292,
-0.009234489,
-0.037616752,
0.03456216,
-0.028990354,
0.0392289,
-0.006116258,
0.012656765,
-0.0053278618,
-0.070425354,
0.052804872,
-0.019967992,
0.0117517,
-0.005373822,
-0.010040562,
0.008873877,
0.0010986284,
0.0032278285,
0.028990354,
-0.0617141,
-0.040105682,
0.0037970294,
-0.03552379,
-0.012126453,
-0.023361985,
0.009283984,
0.02150943,
-0.012246657,
0.025695354,
0.087734714,
-0.00837892,
0.0002613993,
-0.019487176,
0.020264965,
0.01062037,
0.04369766,
-0.019600308,
-0.04095418,
-0.03156413,
-0.02947117,
-0.060186807,
-0.039851133,
-0.023871083,
0.023630675,
0.02030739,
-0.005451601,
0.038408685,
-0.010662794,
-0.04881693,
-0.067879856,
0.009538534,
0.01097391,
0.018539686,
0.0006933821,
0.016616423,
-0.030630786,
0.038436968,
-0.02842469,
-0.023121577,
-0.016814407,
0.039200615,
-0.023135718,
-0.03068735,
0.03133787,
0.014961852,
-0.031224733,
-0.043471392,
0.0016775517,
0.03119645,
-0.016545715,
-0.02108518,
0.018864943,
-0.022881169,
-0.036570273,
0.035354093,
0.0634111,
-0.030489368,
0.00043618112,
0.03665512,
-0.013144651,
-0.05815041,
-0.0012285546,
0.008173866,
-0.021721553,
-0.005808677,
-0.004249562,
-0.012974951,
-0.03368538,
-0.014763868,
0.032356065,
-0.037956152,
-0.024860997,
0.039596584,
0.0009483735,
0.033939928,
0.0024995343,
0.013554758,
0.01286889,
-0.05772616,
-0.047289632,
-0.028721664,
0.042028945,
-0.002603829,
0.027675183,
0.005872315,
0.019289192,
0.024648873,
0.059168607,
-0.02030739,
-0.05209779,
-0.00941126,
-0.06618286,
-0.014473965,
0.060978737,
-0.0037157151,
0.018539686,
0.049297746,
0.0076082004,
-0.04969371,
0.024860997,
0.033741944,
-0.043160275,
-0.029216621,
-0.03860667,
0.00060588075,
-0.030941902,
-0.03645714,
0.00354248,
-0.070029385,
0.014975993,
0.0554635,
0.0074172886,
0.023984216,
0.009050648,
-0.0080324495,
-0.017337646,
0.008803169,
0.01702653,
-0.0058051418,
-0.029386321,
0.0123597905,
-0.042905726,
0.019925566,
0.0054021054,
-0.03492984,
-0.04086933,
0.006940008,
0.014240628,
-0.01400022,
0.012395144,
0.035354093,
0.0021159423,
-0.010316324,
-0.0038960208,
0.016630564,
-0.030093404,
0.014268911,
-0.03671169,
-0.032356065,
0.0020134156,
0.028735805,
0.03603289,
0.042368345,
0.042311776,
0.019147776,
-0.024182199,
0.010005208,
0.022075094,
0.0052041225,
0.021820545,
0.0035990465,
-0.022923592,
-0.031648982,
0.025327671,
0.051786672,
-0.0556332,
0.019458892,
0.018765952,
0.01763462,
0.007876892,
-0.04284916,
0.016093183,
0.052465472,
0.024125632,
0.01701239,
-0.023050867,
-0.012105241,
-0.034844995,
0.030376235,
-0.062336333,
-0.040303666,
0.021382155,
-0.04482899,
0.009227418,
-0.004588961,
-0.014565886,
0.034449026,
0.02575192,
-0.037984435,
0.021933679,
-0.011009264,
0.019218484,
0.018030588,
-0.07110415,
-0.07715677,
-0.021763979,
-0.0018631606,
-0.078231536,
-0.023432693,
0.020844772,
0.0278166,
0.013865875,
-0.013271926,
-0.061487835,
-0.005384428,
0.046158303,
0.030970184,
-0.07613857,
0.027774174,
-0.040049113,
0.035919756,
-0.047629032,
-0.03640057,
0.0054197824,
0.016163891,
0.020533657,
0.00011501128,
-0.006155147,
0.0069329375,
0.034137912,
-0.031507567,
0.03371366,
-0.00055505923,
0.033317696,
-0.027335783,
0.02030739,
0.023446834,
0.045932036,
0.04579062,
0.030659068,
-0.015767924,
0.028622672,
0.024153916,
-0.018369986,
0.026982242,
0.014078,
0.0011118862,
-0.015004276,
-0.0043308763,
-0.007325368,
-0.0019144241,
-0.027166083,
-0.009602171,
-0.0017341182,
-0.0005179375,
-0.018893227,
-0.02133973,
-0.028099433,
0.04545122,
0.005373822,
-0.023192285,
-0.0041081454,
0.020406382,
-0.013236572,
0.008880948,
0.04095418,
-0.010910273,
0.029584303,
-0.002842469,
0.04052993,
0.03549551,
-0.028127715,
0.017832603,
0.0278166,
0.03617431,
0.018214429,
-0.06335453,
0.010443599,
-0.012607269,
-0.017380072,
-0.0004715352,
-0.025850913,
-0.024380181,
-0.019770008,
-0.042990576,
-0.032695465,
-0.033402547,
0.025553938,
-0.07636484,
0.035014693,
0.014162849,
-0.022937736,
-0.0087819565,
0.031422716,
-0.0055435216,
0.030291386,
0.055944316,
0.057047363,
0.013667892,
0.115678586,
0.06363737,
0.024959989,
0.032695465,
0.012557774,
-0.053964484,
0.029754004,
0.018582111,
0.013328493,
0.005126343,
-0.0478553,
-0.039370317,
0.015103268,
0.010210262,
0.004157641,
-0.04822298,
0.015074985,
-0.0071698097,
-0.028679239,
-0.03170555,
0.11013506,
0.041944094,
-0.013795166,
-0.0052182637,
-0.003998548,
-0.03611774,
-0.008548619,
-0.013236572,
0.02133973,
0.0044722925,
-0.04465929,
0.0051440205,
-0.038832933,
-0.018214429,
-0.01719623,
-0.0077284044,
-0.031309582,
0.060073674,
0.017606338,
0.0074102175,
0.03611774,
0.0010235009,
-0.0022874097,
0.044687573,
0.049580578,
0.016107325,
0.030517653,
0.04270774,
0.03459044,
0.002890197,
0.015569942,
-0.003913698,
-0.03724907,
-0.010521377,
-0.020788206,
0.021792263,
-0.033034865,
-0.014749727,
-0.038323835,
0.03654199,
-0.028806513,
-0.012062816,
-0.043443106,
-0.007841538,
-0.06674852,
-0.014360832,
-0.031507567,
-0.00941833,
-0.00019875629,
-0.01658814,
-0.01882252,
-0.037220787,
0.23735324,
0.06686166,
0.0137739545,
0.01832756,
0.03518439,
0.058433242,
0.025964046,
-0.016800264,
-0.0016598746,
-0.028792372,
-0.034873277,
0.0010659258,
0.0125294905,
0.00561423,
-0.022485202,
0.021721553,
-0.024337757,
0.007876892,
-0.03405306,
-0.04052993,
-0.021000331,
0.010436527,
0.0012462317,
0.02358825,
0.037814736,
0.006197572,
-0.041067313,
-0.02859439,
-0.0042530973,
-0.022852885,
0.016559856,
-0.0038783439,
0.029527737,
-0.0064662634,
0.015315393,
0.024790289,
-0.01166685,
-0.04431989,
-0.030941902,
-0.035014693,
0.012826464,
-0.030489368,
-0.030432802,
-0.025087263,
0.008605186,
0.07019909,
0.020547798,
0.01658814,
0.056651395,
-0.05894234,
0.061883803,
-0.050174527,
-0.00054180145,
-0.0140638575,
-0.03671169,
0.005928881,
-0.077383034,
-0.019303335,
0.035382375,
0.037871305,
0.013469909,
-0.007060212,
-0.040501647,
0.029273188,
0.013781025,
0.029075205,
-0.024422606,
0.021467004,
0.022004386,
-0.023644816,
-0.020406382,
0.009814296,
-0.031988382,
-0.017691188,
0.029556021,
0.037362203,
0.00091920636,
0.012041603,
0.030602502,
-0.027434776,
0.0017358859,
0.0016024242,
0.033148,
-0.023970075,
0.03914405,
0.008400132,
-0.04372594,
0.009382976,
-0.005433924,
0.026798401,
0.028198423,
0.046101734,
-0.0036273298,
-0.04457444,
-0.002130084
] |
The model should fit on 16GB GPU for inference. For training/fine-tuning it would take much more GPU RAM. Adam
optimizer for example makes four copies of the model: model, gradients, average and squared average of the gradients.
So it would need at least 4x model size GPU memory, even with mixed precision as gradient updates are in fp32. This
is not including the activations and data batches, which would again require some more GPU RAM. So one should explore
solutions such as DeepSpeed, to train/fine-tune the model. Another option is to use the original codebase to
train/fine-tune the model on TPU and then convert the model to Transformers format for inference. Instructions for
that could be found here |
[
0.033702053,
0.009750049,
0.023208793,
0.008881742,
-0.024915973,
-0.02053029,
0.024356725,
0.012126853,
-0.0026288338,
0.037734527,
0.030670341,
0.03117072,
-0.016026871,
-0.020221232,
-0.014856866,
0.02582843,
0.0075167352,
-0.03117072,
-0.015526492,
-0.013642709,
-0.01713065,
-0.005625594,
-0.074939236,
-0.040000953,
-0.030964682,
0.046240985,
-0.023547286,
0.03190657,
0.06351881,
-0.011950248,
-0.0481542,
0.027579758,
0.013260066,
-0.025401635,
-0.011729492,
-0.009779482,
-0.011096659,
0.006159087,
0.00096488686,
-0.0406485,
0.029154483,
-0.043385874,
0.04005982,
-0.019205755,
-0.047035705,
-0.01114081,
-0.0035836026,
-0.013760446,
-0.007119375,
-0.053481773,
0.005500499,
-0.012877422,
0.0113026975,
-0.017277822,
-0.033201672,
-0.016115174,
-0.037705094,
-0.0056366315,
-0.040795673,
0.023988798,
0.017969523,
0.052127805,
-0.024945406,
-0.071112804,
-0.023974082,
0.029551845,
0.017778201,
0.024651065,
-0.0041649262,
-0.046741363,
-0.035733007,
0.02153105,
0.009521934,
-0.011324773,
-0.019720852,
-0.021442749,
0.03390809,
-0.034084696,
-0.05395272,
0.027285418,
0.00034792034,
0.02693221,
-0.0056623863,
-0.01523215,
-0.034761682,
-0.018116694,
0.044239465,
-0.0045990795,
0.018322732,
-0.026137488,
-0.0071782432,
0.05115648,
-0.0284775,
0.038853023,
0.038382076,
0.016277062,
-0.008911177,
0.04320927,
-0.0047720047,
-0.005975124,
0.06646222,
0.055865936,
-0.030935248,
0.05180403,
-0.008521174,
0.019573681,
0.03311337,
0.0018046787,
-0.02808014,
-0.016056307,
-0.006869185,
-0.008764005,
0.027064662,
-0.008837591,
-0.017248387,
0.03225978,
0.0061075776,
0.017027631,
-0.057779156,
-0.032142047,
0.013068744,
-0.00024651067,
-0.011913455,
-0.006986921,
0.03346658,
-0.038499814,
0.021339728,
0.037204713,
-0.0063430504,
-0.008064945,
-0.0036994994,
0.013370443,
0.03002279,
0.03596848,
-0.007303338,
0.017557446,
-0.010522693,
0.015894419,
0.0505678,
-0.019853305,
0.0078515485,
0.008315136,
0.0015922013,
0.07594,
-0.02367974,
0.011501377,
0.0240771,
-0.03081751,
-0.046476457,
-0.0031255344,
-0.03317224,
0.046888534,
-0.0069722044,
0.024312573,
-0.011413075,
-0.0058205947,
-0.016262345,
0.0019076981,
0.017601596,
-0.048389673,
-0.0068728644,
-0.032995634,
0.0025442108,
0.060516525,
-0.045181356,
0.037440185,
-0.023223512,
0.010956847,
-0.0048971,
-0.029743167,
-0.00063927204,
-0.01209006,
0.00082093565,
0.011714775,
0.014753846,
0.040236425,
0.03985378,
-0.021045387,
0.03682207,
-0.01923519,
0.019765003,
-0.008734572,
-0.0290809,
0.016689138,
0.0072555076,
0.027653344,
-0.019146888,
-0.02242879,
-0.010581561,
0.0057138964,
-0.006114936,
0.015703097,
-0.054188192,
-0.020103496,
-0.0315828,
0.04765382,
-0.00059328123,
0.02772693,
-0.033083938,
-0.04974364,
-0.016527252,
0.07446829,
-0.016674422,
0.022502376,
-0.02153105,
0.003526574,
0.019544248,
0.037469618,
-0.023517853,
0.03705754,
0.05895652,
0.024798237,
-0.0023455305,
0.013407236,
0.0076013585,
-0.00994137,
-0.0076013585,
0.030640906,
-0.002233313,
0.05124478,
-0.039235666,
0.02207558,
0.026785038,
-0.02178124,
0.021207275,
-0.0052171955,
0.041502092,
0.010780242,
-0.013517614,
0.045681737,
0.0012353127,
-0.0020456705,
0.018793678,
0.081767954,
0.029610712,
0.028698254,
0.031141287,
0.031141287,
0.013274782,
-0.0036295934,
-0.04662363,
0.02812429,
0.025431069,
0.004816156,
0.033260543,
0.03847038,
-0.028963162,
-0.03052317,
-0.011067225,
0.030008074,
-0.05651349,
0.052981395,
0.009161366,
0.0041722846,
-0.04415116,
-0.057131603,
0.011626473,
0.00026490696,
-0.00072665454,
-0.02443031,
0.0076455097,
0.04147266,
-0.008226833,
-0.03473225,
0.004407758,
0.043150403,
0.02378276,
0.011670624,
-0.032554124,
-0.012553647,
-0.04191417,
-0.01363535,
-0.06281239,
-0.005305498,
-0.013591199,
-0.041502092,
0.0030464302,
-0.055424426,
-0.027844666,
-0.011177602,
0.0047646463,
-0.008771365,
-0.030317131,
0.029360523,
0.020074062,
0.052687053,
-0.004267946,
0.051127046,
-0.016026871,
0.005724934,
-0.010147409,
0.023944646,
-0.0014707856,
-0.030729208,
0.037499055,
-0.002218596,
-0.0042348322,
0.0038301132,
-0.011825153,
-0.0045622867,
-0.010566845,
-0.0012601478,
0.02687334,
0.018381601,
-0.05919199,
0.042708892,
0.018970283,
-0.011464585,
0.056278013,
0.032848466,
-0.045976076,
-0.02228162,
0.00073907204,
0.027462022,
-0.03346658,
0.026520131,
0.042944364,
0.04859571,
-0.009742689,
-0.024238989,
-0.026446545,
0.055130083,
-0.001633593,
-0.028242027,
-0.005515216,
0.026770322,
-0.0036737446,
-0.052598752,
0.023238229,
-0.021884259,
-0.07105394,
0.012465345,
-0.006817675,
0.023223512,
0.021766523,
-0.019352926,
-0.04020699,
-0.031612232,
-0.018337449,
0.028565802,
0.048183635,
-0.008020794,
-0.04370965,
0.032642424,
-0.00016568183,
-0.018337449,
0.03626282,
-0.028227309,
-0.010743449,
0.006567485,
0.026387678,
0.04241455,
0.04600551,
0.011464585,
0.0003916116,
0.022575961,
0.009521934,
0.018646507,
0.027491458,
-0.015600077,
0.052745923,
0.005798519,
0.038705852,
-0.018219713,
-0.03985378,
-0.040030386,
0.008337211,
0.03137676,
0.04120775,
-0.05474744,
0.013480822,
0.0051178555,
-0.043591913,
0.044828147,
0.0010761846,
-0.0544531,
0.06281239,
0.025210313,
0.031641666,
-0.018764244,
-0.030405434,
-0.0008167965,
-0.042090774,
0.05889765,
0.0659324,
0.025946166,
0.0028661462,
-0.0443572,
-0.0010016795,
0.010588921,
-0.03582131,
0.01658612,
-0.030552603,
0.01679216,
-0.0059604067,
0.0034198754,
-0.010007597,
0.06493164,
0.009713256,
0.005106818,
0.026211074,
0.043680217,
0.038646985,
0.052333843,
-0.017307255,
-0.024459744,
-0.04485758,
0.056484055,
0.0050773835,
-0.02053029,
-0.04206134,
-0.04900779,
-0.026005035,
-0.02253181,
0.001423875,
0.034408472,
-0.057425946,
-0.0024559083,
0.021472182,
0.042708892,
-0.006659467,
0.006258427,
-0.042826626,
0.028595235,
0.023238229,
-0.005905218,
-0.02163407,
-0.024003515,
-0.010471184,
0.0043636067,
-0.022561245,
-0.027550325,
-0.04206134,
0.0086094765,
-0.0040361523,
0.041296054,
0.023252945,
0.011494019,
-0.017057065,
-0.03311337,
0.021928411,
0.020059345,
-0.024901256,
-0.020103496,
0.029802034,
0.012561006,
-0.0075351316,
0.034673378,
-0.025916733,
-0.031141287,
0.04379795,
-0.0015462105,
0.0029047786,
-0.025798995,
0.017351408,
-0.03016996,
-0.032348085,
0.023517853,
0.050626665,
0.058014628,
-0.027829949,
-0.019956326,
0.021884259,
0.0014192759,
-0.04579947,
-0.0026711454,
0.021663504,
-0.0023013793,
0.015879702,
0.0009796039,
0.0061958795,
0.06369541,
-0.0007229753,
0.006078143,
0.012686101,
0.025695976,
0.015349887,
-0.030729208,
-0.023620872,
-0.0030979398,
0.0077411705,
-0.0047536083,
-0.0039699255,
-0.034997154,
-0.006747769,
-0.036998674,
-0.021045387,
0.0072812624,
-0.057161037,
0.030434867,
0.0036295934,
-0.030611472,
0.059633505,
-0.029272221,
-0.061870497,
-0.023959365,
0.000759308,
-0.031553365,
0.043091536,
0.03331941,
0.015320453,
0.020044627,
-0.0149157345,
0.0033058182,
-0.056278013,
0.008572684,
-0.03252469,
-0.015143849,
-0.0030445906,
0.025445787,
-0.01998576,
0.0060560675,
-0.037351884,
-0.012067984,
0.0056439904,
-0.030376,
0.016762724,
-0.04615268,
-0.03861755,
0.026946926,
-0.020559724,
-0.03172997,
-0.0048124767,
0.043150403,
0.023812193,
0.028212592,
0.024562763,
-0.033731487,
-0.037499055,
-0.034084696,
0.024768801,
0.0015912815,
-0.017866503,
-0.016909895,
-0.02622579,
0.0117221335,
0.010184201,
0.004565966,
-0.03705754,
-0.0113026975,
-0.036733765,
0.021236708,
-0.020118212,
-0.018087259,
-0.025431069,
-0.033054505,
-0.033142805,
-0.008035512,
0.04250285,
-0.007873624,
0.015158566,
-0.031435627,
-0.004536532,
0.04965534,
-0.016968763,
-0.040354162,
0.014032711,
-0.03517376,
0.008477023,
-0.012362326,
-0.04406286,
0.0631656,
-0.060987473,
0.0071414504,
-0.004050869,
-0.026711453,
-0.040030386,
-0.0053422907,
0.031111851,
-0.056984432,
-0.022649545,
-0.0009878823,
-0.016762724,
0.011545529,
0.021001237,
-0.052510448,
0.026490698,
-0.04100171,
-0.06534372,
0.0122813815,
-0.019765003,
-0.01718952,
-0.02547522,
0.01723367,
0.037705094,
-0.016468383,
0.05045006,
0.09513104,
-0.031082418,
0.054188192,
-0.018499337,
0.022502376,
-0.051480256,
-0.007836831,
-0.022149166,
-0.022943888,
-0.004010397,
0.023944646,
-0.056454618,
-0.06922902,
-0.02947826,
0.026387678,
0.028094856,
-0.05301083,
0.0259756,
-0.028801275,
-0.022517093,
-0.063754275,
0.030493736,
0.011825153,
0.019794438,
0.011567605,
-0.0052282335,
-0.0144153545,
-0.0036148764,
-0.05739651,
-0.029154483,
-0.009904577,
0.029434107,
-0.020412553,
-0.069523364,
0.0077853217,
0.014621393,
-0.012016474,
-0.03261299,
0.03540923,
0.00051785633,
-0.004749929,
0.0035044984,
-0.03228922,
0.055718765,
-0.031406194,
0.00419436,
-0.010552128,
0.005360687,
-0.016600836,
0.01748386,
0.015129131,
-0.0020162363,
0.04197304,
0.052245542,
-0.032495257,
0.02443031,
-0.021177841,
0.02228162,
-0.026255224,
-0.0057911607,
0.055277254,
-0.01848462,
-0.00083841215,
0.0015103377,
-0.014290259,
0.07923662,
-0.041325487,
-0.0041354923,
0.044945884,
-0.05724934,
-0.044739842,
-0.0054784236,
0.01473913,
-0.01848462,
0.008064945,
-0.007939851,
0.013009876,
-0.005029553,
0.0023860023,
0.000013445121,
-0.073349796,
0.018308016,
-0.02522503,
0.0028367122,
-0.029492976,
-0.009676463,
0.010971564,
0.036174517,
-0.013370443,
-0.03228922,
0.021751806,
0.05674896,
-0.031023549,
0.006390881,
-0.018263863,
-0.008020794,
-0.036292255,
-0.0025938808,
-0.0002476604,
-0.0328779,
0.010736091,
-0.003392281,
0.011574963,
0.01673329,
-0.0026766642,
0.049920246,
-0.018749528,
0.016762724,
-0.015349887,
-0.032907333,
-0.008351929,
-0.019161604,
-0.012634591,
-0.018764244,
0.035026588,
-0.020957084,
-0.02662315,
0.03670433,
-0.02668202,
-0.030935248,
0.06546146,
0.055718765,
-0.0064497488,
0.028035987,
0.004481343,
0.041766997,
0.016541969,
-0.021251425,
-0.018999716,
0.0076307924,
-0.024062384,
0.024665782,
0.039235666,
0.081238136,
0.03367262,
0.00024283139,
0.007373244,
0.024709934,
0.05409989,
0.02987562,
0.027550325,
-0.056807827,
0.006350409,
-0.02532805,
0.002463267,
0.008278343,
-0.015879702,
0.012825913,
0.025519371,
-0.02632881,
-0.011494019,
-0.006328333,
-0.008160606,
0.025063142,
-0.019043868,
-0.020839348,
-0.023547286,
0.004076624,
-0.016115174,
-0.0010246749,
-0.05071497,
-0.07888341,
0.015408755,
-0.04191417,
0.008278343,
-0.014797998,
-0.027197115,
0.0002777844,
0.010331372,
0.02582843,
0.014327052,
0.035997912,
-0.038293775,
0.03217148,
-0.052510448,
0.000081403705,
0.010316655,
0.014010635,
-0.046535324,
-0.03970661,
0.014871583,
0.025902014,
0.01679216,
0.006074464,
-0.012781762,
-0.016203476,
0.03002279,
-0.0034879418,
-0.010427033,
-0.0019297737,
-0.04197304,
0.024415592,
-0.035644706,
-0.013112895,
0.06369541,
0.014812714,
0.0086683445,
0.043444745,
-0.014209315,
0.03331941,
0.053834982,
0.0011010196,
-0.004886062,
0.05439423,
0.039677177,
-0.01819028,
-0.010427033,
0.031406194,
0.022649545,
0.011781001,
0.019647267,
0.009352688,
0.04011869,
0.002972845,
-0.008867025,
-0.034702815,
0.0505678,
0.012274023,
-0.031111851,
0.017895937,
0.0076013585,
-0.008425513,
0.018793678,
-0.0147759225,
0.031847704,
0.018455185,
0.004716816,
0.018337449,
-0.0354681,
0.010007597,
0.010029673,
-0.07941322,
-0.020486139,
-0.015349887,
0.02002991,
0.011781001,
0.005390121,
0.026843907,
0.043974556,
-0.010250428,
0.047035705,
0.022355204,
-0.015997438,
0.0017651267,
0.0025791638,
0.029213352,
-0.055130083,
-0.046917967,
-0.033407714,
-0.05560103,
-0.016424233,
0.019897457,
-0.027211834,
-0.020883499,
0.02972845,
-0.06499051,
-0.026961643,
-0.031641666,
0.012700818,
-0.048419107,
-0.009220234,
0.025239747,
-0.048772316,
-0.034231868,
0.035791874,
-0.017719332,
0.02378276,
0.042738326,
0.01209006,
0.011729492,
0.03437904,
0.037204713,
-0.0015213755,
0.043856822,
-0.010206277,
-0.04067794,
-0.0084696645,
0.011391,
0.009455707,
-0.020883499,
0.0071524885,
-0.03561527,
-0.012244589,
0.014017994,
0.028815992,
-0.04120775,
0.010780242,
0.003022515,
-0.023370681,
-0.0046947403,
0.08971516,
0.00894061,
-0.023326531,
0.0024099175,
0.015864985,
-0.026108054,
-0.05201007,
-0.006571165,
0.029154483,
-0.013502897,
-0.048536845,
-0.00059282134,
-0.0075351316,
-0.005559367,
0.0008936011,
-0.016262345,
-0.03172997,
0.051715728,
0.026799755,
0.030405434,
0.030670341,
0.0013217754,
-0.059957277,
0.06858147,
0.019514814,
-0.0195884,
0.07028865,
0.021516332,
0.039647743,
0.028094856,
-0.016380081,
0.012906856,
-0.027359003,
0.01923519,
-0.028506933,
-0.012148928,
-0.05610141,
-0.06746297,
-0.07917775,
0.022958605,
0.012274023,
-0.034084696,
-0.04535796,
-0.013171763,
-0.07293772,
-0.0054011587,
-0.0050442703,
0.0005440711,
-0.0046579475,
0.011310056,
0.0354681,
-0.08376947,
0.25784278,
0.06510825,
0.044975318,
0.040295295,
-0.010324013,
0.050862137,
0.03655716,
-0.032406952,
0.003977284,
-0.04700627,
-0.01173685,
-0.021207275,
-0.021118972,
0.033496015,
-0.00454757,
0.022105016,
-0.048419107,
-0.007822114,
-0.008028153,
-0.041384354,
-0.06422523,
0.041590396,
0.0054011587,
0.039294533,
0.02841863,
-0.022988038,
-0.0009170564,
-0.009926653,
-0.040707372,
-0.025151445,
-0.01558536,
-0.014010635,
0.005448989,
-0.0011727653,
-0.0037491694,
0.033289976,
-0.013657426,
-0.07517471,
-0.011118734,
-0.001228874,
-0.025902014,
-0.013694218,
0.01019156,
-0.018337449,
0.02317936,
0.010228353,
0.035997912,
0.0342613,
0.044592675,
-0.03588018,
0.046299852,
-0.025960883,
0.04032473,
-0.05495348,
-0.017866503,
-0.02422427,
-0.012509496,
-0.033348843,
0.0076307924,
-0.000584543,
0.017572163,
-0.01794009,
0.004220115,
0.005599839,
-0.014319694,
0.058868214,
-0.012082702,
0.029699014,
-0.017395558,
-0.02013293,
0.033201672,
-0.015335171,
0.0021229351,
-0.0056366315,
0.018602356,
0.043444745,
0.008447589,
0.0074173952,
0.023841627,
-0.023900496,
0.002807278,
-0.0053533283,
-0.024548046,
-0.026034469,
-0.024901256,
0.071995825,
-0.031788837,
0.021957844,
0.0049927607,
0.033790357,
-0.011964965,
0.025018992,
-0.0023418511,
-0.035291497,
-0.02303219
] | Although the embedding matrix has a size of 50400, only 50257 entries are used by the GPT-2 tokenizer. These extra
tokens are added for the sake of efficiency on TPUs. To avoid the mismatch between embedding matrix size and vocab
size, the tokenizer for GPT-J contains 143 extra tokens
<|extratoken_1|> <|extratoken_143|>, so the vocab_size of tokenizer also becomes 50400.
Usage examples
The [~generation.GenerationMixin.generate] method can be used to generate text using GPT-J
model.
thon |
[
0.026631681,
0.029797165,
-0.004855972,
-0.007144632,
-0.026483066,
0.012832844,
-0.0071297707,
0.023213552,
0.0021846301,
0.03474602,
0.036172718,
-0.009942296,
-0.008255524,
-0.044673454,
-0.033467937,
-0.003780376,
-0.015010043,
-0.045594864,
-0.03566743,
-0.0353702,
-0.008589906,
0.0030763159,
-0.074842155,
-0.03869916,
-0.02777601,
0.022737985,
0.046635166,
0.0023945477,
0.065628074,
0.037718307,
0.0065241675,
0.032070965,
0.016793415,
-0.025145538,
0.012788259,
-0.042057846,
0.0067025046,
-0.025725134,
-0.022619095,
-0.019423887,
0.024298437,
0.010254386,
0.012817983,
-0.053263362,
-0.044703178,
-0.020508772,
-0.027790872,
-0.025011785,
-0.009503884,
-0.02683974,
-0.0013328844,
-0.004517874,
0.029113539,
-0.012944304,
-0.034359623,
-0.022960909,
-0.01570853,
-0.0067768116,
-0.062120773,
-0.015515332,
-0.0038602562,
0.06402303,
-0.0139474515,
-0.067352,
-0.01570853,
0.01860651,
0.01466823,
0.008998595,
-0.0007342475,
-0.01101975,
-0.019676533,
0.040482532,
0.0008364198,
-0.04942911,
-0.045505695,
-0.013115211,
0.025219845,
-0.020033207,
-0.03272487,
0.035221588,
0.011264963,
0.030525375,
0.010076049,
0.017506763,
-0.02640876,
-0.049310222,
0.059326824,
0.040304195,
-0.01237214,
-0.0002884046,
-0.016897446,
0.02122212,
-0.018487617,
0.035934936,
0.04503013,
0.036469948,
-0.017447317,
0.02963369,
-0.022856878,
-0.013011181,
0.056295093,
0.0749016,
-0.053620037,
0.03762914,
-0.00078208273,
0.013969744,
0.011383855,
-0.013694807,
-0.009972019,
-0.022173252,
-0.01602062,
0.0069737257,
0.014118358,
-0.0093627,
0.0024075515,
0.052639183,
0.008203509,
0.03204124,
-0.06640086,
-0.03973946,
-0.014296695,
-0.025100954,
-0.016451603,
-0.030703712,
0.016288126,
-0.032160133,
0.010350985,
0.032932926,
-0.047140453,
-0.0029165554,
-0.009890281,
-0.004254084,
0.0149283055,
0.034359623,
-0.015381579,
0.0016449745,
-0.0007393561,
0.0017963753,
-0.006249231,
-0.0322493,
0.014185234,
0.01550047,
0.01050703,
0.10504058,
0.031060386,
-0.031327892,
0.017417595,
-0.028548805,
-0.03721302,
0.032932926,
-0.05118276,
-0.021355873,
0.024001207,
0.027553089,
-0.012491031,
-0.00049692905,
-0.009355269,
-0.003923417,
-0.0049971556,
-0.0064907293,
0.0062901,
0.0039791474,
-0.043187313,
0.057216503,
-0.018339003,
0.022277283,
-0.04274147,
-0.002028585,
0.0015715961,
-0.06200188,
0.0031264732,
-0.013442162,
-0.0001984233,
0.023599949,
0.038639717,
0.0007797606,
0.037718307,
0.013702238,
0.0145642,
-0.0009920003,
-0.011049473,
-0.009793682,
-0.034062397,
0.027954347,
0.019840008,
-0.006278954,
-0.0075979056,
0.0032286455,
-0.0056956424,
-0.008812827,
0.024714556,
0.038134426,
-0.013954882,
0.001693274,
-0.039590847,
0.036172718,
-0.024982061,
-0.00082109397,
-0.006104332,
-0.020746555,
0.005647343,
0.048834655,
-0.014943167,
0.017046059,
-0.019453611,
0.024818586,
-0.004532736,
0.054779228,
-0.020999199,
0.04128505,
0.04972634,
0.024848308,
-0.038520824,
0.0052869534,
0.006416422,
-0.036142994,
-0.03025787,
0.036499668,
0.021667963,
0.02153421,
0.0069440026,
0.021147814,
0.016288126,
0.009808543,
-0.0035407355,
0.019319858,
0.004469575,
0.050142463,
-0.038669437,
0.019468471,
0.032546528,
0.010856274,
0.029291876,
0.043395374,
0.026795156,
0.020538494,
0.038312763,
0.04336565,
0.01143587,
-0.022708263,
-0.00023418361,
0.020211544,
0.053025577,
0.035518814,
-0.01621382,
0.041225605,
-0.006364407,
-0.050172184,
-0.012334986,
0.033646274,
-0.0045513124,
0.072404884,
0.0037190726,
-0.028979786,
-0.07644719,
-0.043543987,
0.044049274,
0.018056637,
0.0063718376,
-0.058286525,
0.0019505626,
0.011532469,
0.033676,
-0.0142744025,
-0.009511314,
0.023287859,
-0.01394002,
0.01631785,
-0.01943875,
-0.050826088,
-0.01955764,
-0.03733191,
-0.09327033,
0.012936874,
-0.04220646,
-0.040304195,
-0.0009892138,
-0.030421345,
0.015218103,
-0.030347038,
0.009920004,
-0.0189186,
-0.05040997,
0.046040706,
0.03753997,
0.022515064,
-0.039293617,
0.014296695,
-0.041255325,
0.057751514,
-0.014727676,
-0.0060857553,
-0.032279022,
-0.034775745,
0.005981725,
0.020657387,
0.02952966,
0.0023258138,
-0.0070963325,
0.008582476,
0.010098341,
0.016288126,
-0.003797095,
0.003808241,
-0.04158228,
0.030124117,
0.022381311,
-0.016392156,
0.04431678,
0.033616554,
-0.03006467,
0.011212948,
-0.0018669671,
0.051539436,
-0.032397915,
0.04972634,
0.042087566,
0.008679074,
-0.009332977,
-0.046724334,
-0.03569715,
0.03730219,
-0.016169235,
0.0090506105,
0.030733434,
0.059713222,
0.0017322854,
-0.07091874,
-0.0032695143,
-0.002455851,
-0.037480526,
-0.023168968,
-0.028950064,
0.06229911,
0.031268448,
-0.008129202,
-0.04910216,
-0.016005758,
-0.025398182,
0.028548805,
0.0035871775,
-0.0095410375,
-0.011710806,
0.03275459,
-0.021578794,
0.023644533,
0.038609993,
-0.021742271,
-0.006936572,
-0.018398449,
-0.011413578,
0.02047905,
0.036142994,
-0.013219241,
-0.0097045135,
0.021682825,
-0.003594608,
0.00499344,
0.002688061,
0.005446714,
-0.0058219647,
0.025695411,
-0.009957157,
0.027092384,
-0.0119857425,
-0.027820595,
-0.019290134,
0.01706092,
0.031981796,
-0.037658863,
0.0077056508,
0.030317316,
-0.07329657,
0.004815103,
-0.017164951,
-0.033557106,
0.055789806,
0.015515332,
0.031149555,
-0.004146339,
-0.007445576,
0.012342417,
-0.0020471618,
0.044584285,
0.036648285,
0.036975235,
0.036856342,
0.0045513124,
-0.024521358,
-0.03545937,
-0.0060151634,
0.011733098,
0.011391285,
0.018903738,
-0.05430366,
-0.041314773,
0.036975235,
0.014683092,
0.009934865,
0.009719375,
0.02016696,
-0.0030558812,
-0.0016765549,
0.0012418581,
0.0058479724,
0.023718841,
-0.012357278,
0.058791813,
0.007200362,
-0.010053757,
-0.0050268783,
-0.046427105,
-0.024878033,
0.008017741,
0.012810552,
0.029960642,
-0.049339943,
0.007445576,
-0.006676497,
0.023168968,
-0.045297634,
-0.0013059481,
-0.045327358,
0.018903738,
0.006925426,
-0.03629161,
-0.009295824,
-0.0436926,
0.009890281,
0.033081543,
0.010982596,
-0.029812027,
-0.011279824,
-0.0026917763,
-0.020612802,
0.04283064,
0.036856342,
-0.02548735,
0.024030931,
-0.035607982,
0.011287255,
0.0189186,
-0.011473023,
-0.0095484685,
0.023377027,
-0.035548538,
-0.008181217,
0.012334986,
0.008508168,
-0.05867292,
0.04357371,
-0.04547597,
0.009236378,
-0.03762914,
-0.030421345,
-0.042890083,
-0.014742537,
0.01435614,
0.0228866,
-0.021920608,
-0.03233847,
-0.008307539,
0.030198423,
-0.048091583,
-0.05436311,
0.011346701,
0.031922348,
-0.0076387743,
0.027196415,
-0.0039568553,
0.0060040173,
0.04877521,
0.0046330504,
0.005253515,
-0.0144378785,
-0.028979786,
0.013405009,
-0.0035425932,
-0.028920341,
0.0051940694,
-0.021489626,
0.024090376,
-0.010291539,
-0.036529392,
-0.004792811,
-0.05501701,
0.010967734,
-0.011525039,
-0.011896574,
0.039977245,
0.019929176,
-0.03941251,
0.03397323,
-0.017016336,
-0.010945442,
-0.04491124,
-0.037034683,
-0.03305182,
0.06188299,
-0.009815974,
0.07038373,
-0.02047905,
-0.02464025,
0.05222306,
-0.009355269,
0.007869126,
-0.006271523,
-0.036856342,
-0.003046593,
-0.002682488,
-0.007876557,
0.0049860096,
-0.025665687,
-0.038669437,
-0.028608251,
0.0011201802,
0.026126392,
-0.040423088,
-0.0068957033,
0.06437971,
-0.03233847,
-0.06955149,
-0.023243275,
0.02807324,
0.024848308,
0.0055470285,
0.034954082,
-0.012253248,
-0.014311556,
-0.037985813,
0.03792637,
-0.019735977,
0.02715183,
-0.029648552,
-0.011562192,
0.01320438,
0.018264696,
0.019111797,
-0.07941948,
0.00530553,
-0.033408493,
0.026022362,
-0.035607982,
-0.024833448,
-0.040423088,
0.019735977,
-0.015322133,
0.021697687,
-0.010105772,
0.011458162,
0.0044138446,
-0.023139246,
0.016615078,
0.031922348,
-0.029960642,
-0.0063272533,
-0.020999199,
-0.005208931,
-0.0062975306,
0.03441907,
-0.003867687,
0.031149555,
-0.00005149253,
-0.0009200153,
-0.04179034,
-0.005231223,
-0.049161606,
0.023525642,
0.040066414,
-0.049161606,
-0.023585089,
0.022292143,
0.045000408,
0.024625387,
0.02351078,
-0.04491124,
0.00135239,
-0.05950516,
-0.061110195,
0.057602897,
-0.036499668,
-0.025398182,
-0.012624784,
-0.0038862636,
0.037183296,
-0.024491634,
0.0033902635,
0.082153976,
0.004194638,
-0.00272893,
-0.084472366,
0.036648285,
0.0039382786,
0.0076907896,
-0.014653369,
-0.00087264454,
-0.026126392,
-0.0059631485,
-0.019156381,
-0.052698627,
-0.03400295,
0.026081808,
0.048448257,
-0.021296429,
0.04315759,
-0.03908556,
-0.05338225,
-0.04948856,
0.0027549374,
0.015351856,
-0.015121504,
0.045178745,
0.029678274,
0.0074641528,
0.023332443,
-0.016778553,
-0.030495653,
-0.0353702,
0.04187951,
0.02330272,
-0.02382287,
0.030406484,
0.041641723,
-0.045178745,
-0.05127193,
0.014155511,
0.02902437,
-0.03608355,
-0.01351647,
-0.014534477,
0.014913444,
-0.020449325,
-0.0026174693,
0.0009046895,
-0.022485342,
-0.0072412314,
0.02444705,
-0.021311289,
-0.062536895,
0.029960642,
0.051836666,
-0.014475032,
-0.007950865,
-0.065568626,
-0.004124047,
-0.03245736,
-0.01310778,
0.052252784,
0.0019171244,
0.007861696,
0.020018345,
0.0072338004,
0.07038373,
-0.028117824,
0.011785113,
0.020389881,
-0.026691126,
-0.06018879,
-0.018130943,
0.021192398,
-0.0053203916,
-0.0105218915,
-0.009763959,
-0.0077428045,
0.031030664,
0.02881631,
-0.0084041385,
-0.050291076,
0.017090643,
-0.033140987,
-0.04565431,
0.017670238,
-0.035340477,
-0.012045188,
0.043960106,
0.008545321,
-0.0030651698,
0.04461401,
0.0095484685,
-0.03578632,
-0.021430181,
-0.032308746,
0.012535616,
-0.03337877,
0.0005336182,
-0.015663946,
-0.046248768,
0.014980321,
0.018665954,
-0.017477041,
0.0131300725,
0.0024484205,
0.060931858,
-0.016109789,
0.004291238,
-0.00252087,
0.018086359,
-0.0014675661,
-0.025576519,
-0.026334452,
0.052639183,
0.028117824,
-0.04003669,
-0.0009125846,
-0.004803957,
0.018026913,
-0.014653369,
0.023956623,
0.055076458,
-0.021132952,
0.039531402,
-0.021341013,
0.018978044,
-0.04556514,
-0.036024105,
-0.020508772,
0.026052086,
0.011762821,
0.049012993,
-0.0039902935,
0.03691579,
0.023109522,
-0.006988587,
0.010938012,
0.032932926,
0.026275007,
-0.0032342186,
0.013040904,
-0.04345482,
0.0426523,
-0.039531402,
0.018844292,
0.03305182,
-0.00015047197,
0.00037989527,
0.007568183,
-0.015307272,
-0.034716297,
-0.005242369,
0.033676,
0.030109255,
0.03638078,
-0.060456295,
-0.0020174389,
0.0083224,
-0.031179277,
0.01633271,
-0.06336913,
-0.047289066,
-0.0056547737,
-0.06634142,
0.023213552,
-0.0057365117,
-0.010105772,
0.008968872,
0.012862567,
-0.0034589977,
-0.0053426838,
0.03950168,
0.030302454,
0.013100349,
-0.051301654,
-0.023763426,
-0.01903749,
0.0030484507,
-0.03213041,
-0.011027181,
0.025145538,
0.049577728,
0.0322493,
0.0010700229,
-0.017462179,
0.015931452,
-0.01621382,
0.06402303,
-0.051301654,
-0.0064647216,
-0.04731879,
0.03670773,
-0.05989156,
0.024090376,
0.008552752,
-0.0092140855,
0.026022362,
0.020969477,
-0.004599612,
0.0282813,
0.05605731,
-0.029039232,
0.013256394,
0.03337877,
0.023837732,
0.003774803,
-0.022559648,
-0.015336995,
0.06360692,
0.04345482,
0.010284109,
-0.029871473,
0.031862903,
0.017982328,
-0.056532875,
-0.051390823,
0.03970974,
0.029410768,
-0.030347038,
0.015002613,
-0.013115211,
-0.028964926,
0.012825414,
-0.0032527952,
0.013241533,
0.027954347,
-0.020137236,
-0.020835724,
-0.018903738,
0.011799974,
0.012780829,
-0.015292411,
-0.0154113015,
-0.016704246,
0.049012993,
0.009347839,
0.01039557,
-0.0178783,
0.037361633,
0.020419603,
0.00801031,
0.023897178,
-0.020642525,
0.018740263,
0.012260679,
0.048299644,
-0.026705988,
-0.012922012,
-0.024699695,
-0.039353065,
-0.073058784,
0.04699184,
0.009667359,
-0.06937315,
0.0069068493,
-0.02330272,
-0.030317316,
-0.055908695,
0.012008035,
-0.030421345,
0.040482532,
0.039263897,
-0.03174401,
-0.026334452,
0.041433666,
0.008352123,
0.05323364,
0.029172985,
0.060783245,
0.016198957,
0.074188255,
0.009823404,
0.017239258,
0.030183563,
0.010811689,
-0.02819213,
-0.03100094,
0.016778553,
-0.024982061,
-0.010492169,
-0.024967201,
-0.06206133,
-0.022693401,
-0.0010207944,
-0.03899639,
-0.04306842,
0.016704246,
0.004450998,
-0.00894658,
0.030183563,
0.057246223,
0.017848575,
-0.0054244217,
-0.009511314,
0.031952072,
-0.051539436,
-0.00114433,
-0.035102695,
0.024045791,
-0.026899187,
-0.030228147,
-0.0026267576,
-0.012862567,
-0.015589639,
-0.02401607,
0.0046887808,
-0.00759419,
0.037896644,
0.045624588,
0.016451603,
0.019914314,
-0.019304996,
-0.0092140855,
0.036142994,
0.052252784,
0.004146339,
0.055403408,
0.046129875,
0.010596199,
0.010410431,
-0.009318116,
0.019810285,
-0.021251844,
-0.019944038,
-0.019334719,
-0.027850319,
-0.043960106,
-0.046308212,
-0.013464455,
0.02070197,
0.033765167,
-0.021682825,
-0.020568218,
-0.004109185,
-0.07389102,
-0.0076610665,
-0.011027181,
0.016511047,
0.022247558,
-0.0058702645,
0.021816578,
-0.049964122,
0.2653657,
0.06711421,
0.032160133,
0.025145538,
0.0083224,
0.05367948,
0.031862903,
-0.035875488,
0.019215828,
0.014556769,
-0.019810285,
-0.015002613,
0.008426431,
0.03994752,
-0.03911528,
0.03400295,
-0.058821537,
0.0063383994,
0.002942563,
-0.010202371,
-0.05180694,
0.034597408,
0.032605976,
0.0430387,
0.036796898,
0.03474602,
0.0220395,
-0.035845768,
-0.015842283,
-0.00077836734,
-0.015782837,
-0.043870937,
0.038045257,
0.012609922,
-0.025502212,
0.023213552,
-0.0063495454,
-0.027894903,
-0.010952873,
0.035489094,
0.0054169907,
-0.008931719,
0.0014536335,
-0.020731693,
-0.039145004,
0.018234974,
0.0023165252,
0.0322493,
0.07400992,
-0.033676,
0.026943771,
-0.025621103,
0.034716297,
-0.03213041,
-0.034270454,
0.0126396455,
-0.04761602,
-0.030971218,
-0.071097076,
0.0065390286,
-0.004150054,
-0.012401862,
0.009489022,
0.034389347,
-0.038104706,
0.04856715,
-0.021445042,
0.026289867,
-0.06342858,
-0.019780561,
-0.015262688,
-0.0095410375,
-0.021504488,
-0.0293216,
0.039590847,
0.03777775,
-0.0010774536,
0.021623379,
-0.014155511,
-0.004885695,
0.022752848,
-0.010380709,
-0.010878566,
-0.0270478,
0.015634224,
0.04574348,
-0.019944038,
0.043395374,
0.0016338284,
0.04794297,
0.009749098,
0.019483333,
-0.005301815,
-0.011785113,
-0.008656782
] |
from transformers import AutoModelForCausalLM, AutoTokenizer
model = AutoModelForCausalLM.from_pretrained("EleutherAI/gpt-j-6B")
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-j-6B")
prompt = (
"In a shocking finding, scientists discovered a herd of unicorns living in a remote, "
"previously unexplored valley, in the Andes Mountains. Even more surprising to the "
"researchers was the fact that the unicorns spoke perfect English."
)
input_ids = tokenizer(prompt, return_tensors="pt").input_ids
gen_tokens = model.generate(
input_ids,
do_sample=True,
temperature=0.9,
max_length=100,
)
gen_text = tokenizer.batch_decode(gen_tokens)[0] |
[
0.019392546,
-0.0102158375,
-0.00521588,
-0.014156424,
-0.04858258,
-0.0007540421,
0.046369374,
0.0317946,
0.025033524,
0.059054825,
0.035465285,
0.008792098,
-0.043184515,
-0.0435084,
-0.010026905,
0.014169919,
-0.0055802492,
-0.04342743,
-0.044615004,
-0.024939058,
0.024412747,
-0.021956628,
-0.08404787,
-0.043994226,
-0.015357493,
-0.0048650056,
0.041025292,
0.0131645305,
0.0582991,
0.06180784,
0.014439823,
0.024804106,
-0.011403412,
-0.03244237,
-0.0008712814,
-0.011342683,
0.025789253,
0.018285943,
0.0041059027,
-0.013589628,
0.025559835,
0.0044635246,
0.027934985,
-0.052064333,
-0.016477592,
-0.03913597,
0.0084682135,
-0.004493889,
0.0017678662,
-0.032091495,
-0.0013655417,
0.00017058727,
0.04510083,
-0.039324902,
-0.035600238,
0.009554574,
-0.006548527,
0.026086148,
0.008522195,
0.03184858,
-0.017233321,
-0.026571972,
0.009520836,
-0.04280665,
-0.013063316,
0.0040316796,
0.011720547,
-0.003768524,
0.0013166217,
0.014318367,
-0.023103716,
0.032820232,
-0.007860932,
0.0013942189,
-0.029770326,
0.04515481,
0.0068960274,
-0.0024325028,
-0.03757053,
0.038029365,
-0.0071861735,
0.024871582,
-0.0440752,
0.02340061,
-0.013056569,
-0.046315394,
0.04914938,
0.034601595,
-0.021106433,
0.0031814843,
0.012503267,
0.06261755,
-0.013643608,
-0.012827151,
-0.023926921,
0.03090392,
0.0011673315,
0.020215752,
0.015249533,
-0.022294007,
0.020701578,
0.030768968,
0.028717704,
0.028096925,
-0.017165845,
0.047880832,
-0.010640935,
0.041403156,
-0.020215752,
-0.027489644,
-0.011599091,
-0.009035011,
0.057921235,
0.058353078,
-0.018258953,
0.03843422,
-0.0007599463,
0.003701048,
-0.06466881,
-0.022280512,
0.011585596,
-0.0023093596,
0.02083653,
0.042860635,
0.011524868,
-0.027719062,
-0.025289932,
0.048150737,
-0.0602424,
-0.028258868,
-0.03497946,
0.007813699,
0.0026416779,
0.0019433033,
0.016909437,
0.025951196,
-0.0535488,
0.02353556,
0.018245459,
-0.03176761,
0.05533016,
-0.027773043,
-0.008319767,
0.08097097,
-0.022698862,
-0.0035660965,
0.024075368,
0.032847222,
0.0052394965,
0.03333305,
-0.05190239,
0.017557206,
-0.04747598,
0.0220376,
-0.009385885,
0.010404769,
-0.00479753,
0.006852168,
-0.0060424586,
0.033683922,
0.02641003,
-0.020215752,
0.020796044,
0.0031932925,
-0.007179426,
0.06493872,
-0.004237481,
-0.007847437,
-0.009109234,
0.026059156,
-0.00097586884,
-0.007051222,
-0.011214479,
-0.015141571,
0.048069764,
0.06661212,
0.04234782,
-0.06018842,
0.022860803,
0.04153811,
-0.04067442,
0.0074898144,
0.014034968,
0.04367034,
0.05341385,
0.0017628055,
-0.007064717,
-0.022928279,
-0.05028297,
-0.021349346,
0.0010087633,
0.026504498,
-0.008238796,
-0.005937871,
-0.0683395,
-0.031362757,
0.010094381,
0.019837888,
-0.055438124,
-0.04928433,
0.0013798802,
0.028474791,
-0.033198096,
0.012611228,
-0.058838904,
-0.016356137,
0.06310338,
0.047880832,
-0.045505684,
-0.0032624553,
-0.0045613647,
0.02758411,
-0.032199454,
-0.010681421,
-0.03770548,
0.039864708,
-0.022752842,
0.03935189,
0.0003127082,
0.030283142,
0.025087506,
0.029878289,
0.0028559135,
0.039918687,
0.018839246,
-0.03009421,
0.012901374,
0.07152436,
-0.00014285893,
0.05743541,
-0.020256238,
0.04253675,
0.012037684,
-0.0012179384,
0.037840433,
0.009864963,
0.042968594,
0.032982174,
0.022064589,
0.032928195,
0.030526055,
0.035546254,
0.016936427,
0.0042341067,
0.007887922,
0.025627311,
0.021983618,
0.021632744,
-0.059162788,
0.057327446,
-0.006147046,
0.048609573,
-0.015168562,
0.01628866,
-0.043184515,
-0.01043176,
0.035654217,
0.0242643,
-0.038218297,
-0.0228743,
0.04345442,
-0.004412918,
0.015883805,
-0.008434476,
0.0072334064,
0.04763792,
0.02117391,
0.014628755,
0.0077799605,
-0.004365685,
-0.024372261,
-0.008252291,
-0.038110334,
-0.035249364,
-0.023603037,
-0.020688083,
0.022658376,
-0.012901374,
0.031497706,
-0.02666644,
-0.02711178,
0.017381769,
0.0019584852,
0.03160567,
0.020175267,
-0.017719148,
-0.02549236,
0.011322441,
0.011524868,
0.049851127,
-0.0702828,
-0.0036200772,
0.027395178,
-0.028555762,
0.004750297,
0.023238668,
-0.04510083,
-0.013690841,
0.022604395,
-0.056949582,
-0.031281784,
0.059432693,
0.0015198926,
0.031929553,
0.008825836,
0.022374978,
0.03244237,
-0.07778611,
0.02666644,
-0.0014608513,
-0.014898659,
0.01748973,
0.000040959923,
-0.02267187,
-0.046261415,
0.048420638,
0.009878458,
0.016855456,
-0.033683922,
-0.00959506,
0.021457307,
0.022078084,
-0.022320997,
0.0077327276,
-0.037246644,
0.032091495,
0.0007531987,
-0.03921694,
0.04939229,
-0.059756577,
-0.02033721,
0.0015688125,
-0.050444912,
0.07087659,
0.0092037,
0.012125403,
0.011578849,
-0.011173993,
0.03338703,
-0.0044466555,
0.027354693,
-0.05506026,
-0.001850524,
0.004055296,
0.049581222,
-0.0016421925,
0.04110626,
-0.018393906,
-0.008893311,
0.009271176,
-0.001714729,
0.048231706,
0.011477635,
0.032739263,
0.02214556,
0.039621793,
-0.014628755,
0.004959472,
0.017233321,
0.017057884,
0.062347647,
0.007833941,
0.023630029,
-0.0026484255,
-0.007462824,
0.018839246,
0.0010863605,
0.034763537,
0.019567985,
-0.016720505,
0.050498895,
0.007820446,
-0.02641003,
-0.0044534034,
-0.024412747,
0.03508742,
0.03344101,
0.02850178,
0.011565354,
-0.060350362,
-0.008387242,
-0.004237481,
0.01230084,
0.017219827,
0.018488372,
0.024493719,
-0.022995755,
-0.02460168,
-0.052118313,
-0.041888982,
-0.051173653,
0.0018960702,
-0.0019281212,
-0.030175181,
-0.02923052,
-0.028123917,
-0.03414276,
0.0004571486,
0.06105211,
-0.011599091,
0.035411302,
0.015816329,
0.024763621,
0.07093057,
-0.002881217,
-0.007516805,
0.009345399,
0.00460185,
0.02582974,
0.0040687914,
-0.043265488,
-0.056301814,
-0.022806823,
0.00095562614,
0.033090137,
-0.007989136,
-0.024763621,
0.007071465,
0.01709837,
0.02920353,
0.016936427,
-0.03859616,
-0.007833941,
0.032901205,
0.009412875,
-0.05770531,
-0.0147502115,
-0.014966134,
0.004858258,
0.024223816,
0.01165982,
-0.045262773,
-0.042266846,
-0.034871496,
-0.0518754,
0.0036605624,
0.052955013,
0.011470887,
0.027800033,
-0.039648786,
-0.008582923,
0.008501952,
-0.000013363373,
-0.026733914,
-0.0018808881,
0.0087246215,
0.01631565,
0.046531316,
-0.017557206,
-0.018528856,
0.040431503,
-0.05840706,
0.046504326,
-0.042131893,
0.023090221,
-0.01874478,
-0.0005975826,
-0.02387294,
0.011848751,
-0.023643523,
-0.011315693,
0.0011749225,
0.016302155,
-0.04367034,
-0.06974299,
0.04677423,
-0.022766337,
0.027449159,
0.058137156,
0.00079115387,
-0.041214224,
0.036949754,
0.015155067,
-0.020229246,
-0.008515447,
-0.019041672,
0.012361568,
-0.033764895,
-0.0042408546,
0.003603208,
-0.0027344571,
0.022010608,
-0.006308988,
-0.041430146,
0.010593702,
-0.059000846,
0.0016438793,
0.033710912,
-0.03009421,
-0.011200984,
-0.069041245,
0.008097097,
0.005165273,
-0.06947309,
0.003636946,
0.024979545,
-0.05619385,
0.022294007,
0.037381597,
0.042158883,
-0.022361483,
-0.0066868523,
-0.06752979,
0.044561025,
-0.022334492,
-0.021632744,
-0.05673366,
-0.034601595,
0.0005507713,
-0.0011808267,
-0.03201052,
-0.02627508,
-0.038785093,
0.008184816,
-0.008461466,
0.012240112,
0.011518121,
0.0010062329,
-0.027030809,
0.04153811,
-0.00036120645,
-0.037408587,
-0.0072334064,
0.012752928,
0.013306229,
0.033656932,
-0.034466643,
-0.011531616,
-0.04404821,
-0.052415207,
0.020499151,
-0.03843422,
-0.03840723,
-0.02755712,
-0.05700356,
-0.033953827,
0.016787982,
-0.002302612,
-0.029419452,
-0.0037482812,
-0.05619385,
0.020094296,
-0.017705651,
-0.031119842,
-0.0035964604,
-0.010701663,
-0.032334406,
0.055546086,
-0.014939144,
-0.004173379,
0.0065417797,
0.014534289,
0.014102444,
0.008299524,
-0.010559964,
-0.04604549,
-0.014034968,
-0.014655746,
-0.029635375,
-0.009851468,
-0.039783735,
0.028555762,
-0.07400747,
0.023940416,
0.005894012,
0.005489157,
-0.0006241512,
-0.042698693,
0.0066362456,
-0.061375994,
0.00460185,
-0.02680139,
0.015222542,
0.054736376,
-0.0023937044,
-0.06585639,
-0.04663928,
-0.039081987,
-0.04234782,
0.027907994,
0.00014739246,
0.030364113,
-0.047583938,
-0.022132065,
0.052064333,
-0.024804106,
0.0051382827,
0.07519504,
0.00878535,
0.0009885206,
-0.025843235,
0.022766337,
0.034844507,
-0.020850025,
0.013218511,
0.005843405,
-0.024696145,
0.043535393,
-0.020391189,
-0.05910881,
-0.037867423,
-0.005408186,
0.022428958,
0.0150606,
0.066180274,
0.0047064377,
-0.052145302,
-0.022820318,
0.008495204,
0.03174062,
0.029743336,
0.053872686,
0.013731327,
0.028582752,
0.049446274,
-0.00059294363,
0.0044027963,
0.0026045663,
0.031011881,
-0.0326313,
-0.03584315,
0.043940246,
0.024453232,
-0.059486672,
-0.039702766,
-0.0058569,
0.017030895,
0.0019382426,
-0.014466813,
-0.01592429,
0.0066193766,
-0.011025547,
-0.0076045236,
0.021686725,
-0.0068116826,
0.027098285,
-0.030526055,
0.012456034,
-0.029446442,
0.02130886,
0.041619077,
-0.035276353,
-0.0107758865,
-0.06747581,
-0.012928365,
-0.028744694,
-0.018366914,
0.03020217,
0.012840646,
0.077570185,
0.03327907,
0.019851383,
0.03999966,
-0.004507384,
-0.011093022,
0.012489772,
-0.016140213,
-0.0616459,
-0.02133585,
0.008798845,
0.014399338,
0.0028980859,
-0.0067644496,
-0.006923018,
0.010317051,
0.06439891,
-0.05025598,
-0.0582991,
0.023697503,
-0.04094432,
-0.060458325,
-0.039540824,
-0.06180784,
0.048690543,
0.008434476,
0.01665303,
-0.053926665,
0.006642993,
-0.012989093,
-0.015600407,
0.03770548,
-0.028042946,
0.001850524,
-0.027854014,
0.009210448,
-0.08399388,
0.019783907,
-0.029446442,
0.014291376,
-0.05770531,
0.0014144616,
0.0075303,
0.048231706,
-0.0011209418,
-0.012429044,
0.0036234509,
-0.02465566,
-0.0070039886,
0.02376498,
-0.021322355,
0.041835,
0.046315394,
0.0065822653,
-0.015681379,
-0.019365557,
0.020984976,
-0.03829927,
0.023751484,
-0.010357536,
-0.014075453,
-0.0150066195,
-0.023859445,
-0.023805466,
-0.05533016,
0.04680122,
-0.063751146,
0.011261712,
-0.0138055505,
-0.0055228947,
0.021862162,
0.015964776,
0.020323712,
0.023414105,
-0.01634264,
0.002623122,
-0.0058872644,
0.011693558,
0.042725682,
-0.019648954,
0.024520708,
-0.0112887025,
0.015114581,
0.023899931,
-0.002658547,
0.032739263,
0.0052766083,
-0.046720248,
-0.011511372,
-0.039783735,
-0.038650144,
0.0225909,
-0.005958114,
-0.04013461,
0.0040316796,
-0.021457307,
-0.043724325,
0.021025462,
-0.070714645,
-0.05597793,
0.051551517,
-0.04750297,
0.012935112,
0.004217238,
-0.051308606,
-0.018717788,
0.0017779876,
0.0064743035,
0.0125505,
0.02117391,
0.0025522725,
0.042482767,
-0.008663894,
0.025667798,
-0.0030650885,
0.013393948,
-0.045829568,
-0.055492103,
-0.019837888,
0.023468086,
0.005684837,
0.01020909,
-0.040701408,
0.016734,
0.024952553,
-0.0029115812,
-0.01882575,
0.00563423,
-0.012125403,
0.043616362,
-0.02381896,
0.029419452,
-0.0062819975,
0.034439653,
0.0016927993,
0.011261712,
-0.014007977,
0.047314037,
0.027516635,
-0.014979629,
0.044722967,
0.02541139,
0.024412747,
0.009763749,
-0.017260311,
-0.0071524354,
0.046558306,
-0.003203414,
0.06931115,
-0.040485486,
-0.015883805,
-0.013205015,
-0.033117127,
-0.022010608,
0.040350534,
-0.0008771855,
0.02504702,
0.0220376,
-0.03775946,
0.0030127948,
0.0133872,
0.001424583,
0.050633848,
-0.019001188,
-0.01037778,
0.008447971,
-0.036409944,
0.052847054,
-0.027435664,
0.01754371,
-0.021511288,
-0.008663894,
-0.008009379,
-0.0034007807,
-0.011147004,
0.0117138,
0.015370989,
0.021970123,
0.0028542266,
0.056949582,
0.010026905,
0.05603191,
-0.013285986,
0.026585469,
-0.015087591,
0.03084994,
-0.013994482,
-0.063751146,
-0.02839382,
-0.009500594,
-0.00012525197,
-0.0055600065,
-0.0027901246,
-0.04771889,
0.019621965,
-0.03692276,
0.041619077,
-0.012955355,
0.007854184,
-0.009190205,
-0.009392632,
-0.0067037214,
0.059054825,
-0.02130886,
-0.008873069,
0.024453232,
0.03516839,
0.014763706,
0.037273638,
0.03759752,
-0.0049662194,
0.026949838,
0.0024982917,
-0.015020114,
-0.0015131449,
-0.013690841,
-0.013589628,
0.021268375,
-0.020904005,
-0.035411302,
-0.025735272,
0.03093091,
0.007591028,
-0.024412747,
-0.019473517,
0.018029535,
-0.02721974,
0.01414293,
0.07136241,
0.020458665,
0.0063528474,
-0.024358766,
-0.012260354,
-0.015155067,
0.009480351,
-0.036976743,
0.022577405,
-0.038677134,
-0.030256152,
-0.01466924,
-0.036221012,
-0.010782634,
0.036328975,
-0.0045343745,
-0.051335596,
0.0007472946,
0.034466643,
-0.013846036,
-0.020161772,
-0.0184074,
0.0078069507,
-0.011315693,
0.074115425,
-0.0039001016,
0.06645018,
0.030283142,
-0.023562552,
-0.01631565,
-0.03435868,
0.026005177,
-0.03438567,
0.019945849,
-0.01748973,
0.058838904,
-0.042698693,
-0.014885163,
-0.0069027753,
-0.00041603053,
-0.0046254667,
-0.0368148,
-0.06256357,
-0.013785307,
-0.058083177,
0.011828509,
-0.012395306,
0.002348158,
-0.033090137,
0.020458665,
-0.016248174,
-0.041457135,
0.21074045,
0.039864708,
0.077462226,
0.014115939,
0.03414276,
0.0049830885,
0.001982102,
-0.007253649,
-0.0343047,
-0.043076556,
0.042023934,
0.007995883,
0.023522066,
0.013846036,
0.038920045,
0.024547698,
-0.03268528,
-0.0065822653,
0.03773247,
-0.03425072,
-0.043832283,
0.013306229,
-0.0009935813,
0.0016253236,
0.009568069,
-0.0030768968,
0.03408878,
-0.07087659,
0.0073683583,
-0.034466643,
-0.009480351,
-0.015667882,
0.013846036,
0.047179084,
0.00027517477,
0.03854218,
0.010141614,
-0.009304914,
-0.0019601723,
-0.025006535,
0.0017746137,
-0.025789253,
-0.0114169065,
-0.016585553,
-0.0022621264,
-0.026099643,
-0.024925563,
0.038137328,
0.0053035985,
-0.065586485,
0.047799863,
0.00086453377,
0.05087676,
-0.049689185,
-0.037813444,
0.03508742,
-0.041268203,
-0.031227803,
0.0140619585,
0.043778304,
-0.001537605,
0.010371031,
-0.008360253,
0.0038427473,
-0.033818875,
0.0052597392,
0.0056713414,
0.021146918,
-0.038245287,
0.0030684622,
-0.032280426,
-0.025897214,
-0.018056527,
0.0018404026,
0.052037343,
0.04507384,
-0.025667798,
0.06267153,
0.019810896,
-0.036949754,
0.0009961117,
-0.0031106346,
0.03257732,
-0.009783993,
0.01958148,
0.037948392,
-0.027988965,
0.009271176,
-0.0432385,
0.03352198,
0.015735358,
0.044615004,
0.020930996,
-0.01043176,
-0.047341026
] | or in float16 precision:
thon |
[
0.020294016,
0.013890126,
-0.015438484,
-0.0046901726,
-0.032079577,
0.0153107075,
-0.006069414,
0.014288491,
0.023977004,
0.033462577,
0.028712275,
-0.00920747,
0.010883605,
-0.053245485,
-0.03111749,
0.010124459,
-0.024112297,
-0.03746125,
-0.034154076,
-0.026592677,
-0.002713385,
0.0051449086,
-0.06620359,
-0.034484793,
-0.011605171,
0.024608374,
0.049397137,
0.016926711,
0.07203624,
0.03105736,
-0.004378246,
0.020504473,
0.008771525,
-0.02902796,
0.016205147,
-0.045007616,
0.011101578,
-0.003138056,
-0.0309371,
-0.009876421,
0.025194645,
0.008508454,
0.024518177,
-0.039896533,
-0.04518801,
-0.0071329707,
-0.02621686,
-0.03526649,
0.0015446001,
-0.033552773,
-0.0056334683,
-0.003386094,
0.03204951,
-0.006790979,
-0.031598534,
-0.012980654,
-0.016415603,
-0.005742455,
-0.06512124,
-0.017512985,
0.010086877,
0.060010154,
-0.01916657,
-0.06788724,
-0.0104476595,
0.032921404,
0.021256102,
0.020805124,
0.011304518,
-0.01056792,
-0.03469525,
0.048886027,
-0.014829664,
-0.054538287,
-0.039295226,
-0.019331928,
0.025299873,
-0.010147008,
-0.040497836,
0.03965601,
0.017452853,
0.016415603,
-0.004832982,
0.013769865,
-0.055500373,
-0.031207686,
0.049036354,
0.023796612,
-0.022609036,
-0.0064151636,
-0.019677678,
0.017422788,
0.0034387081,
0.021752179,
0.040768422,
0.034304403,
-0.029193318,
0.011048964,
-0.016520832,
-0.012890458,
0.05432783,
0.06361798,
-0.055229787,
0.045699116,
0.0011265058,
0.006922514,
-0.0010006077,
-0.012680002,
-0.0057386965,
-0.02551033,
-0.020038461,
-0.0049419687,
0.010124459,
-0.0058138594,
0.00591533,
0.046089966,
-0.015205479,
0.0281711,
-0.047142245,
-0.03256062,
-0.0030910792,
-0.03382336,
-0.0012918644,
-0.04548866,
0.010988833,
-0.030035144,
0.008493422,
0.025645623,
-0.042181488,
-0.0010297333,
-0.005250137,
0.0032695914,
0.0008770585,
0.030095274,
-0.010861057,
0.0021778485,
0.0067646718,
0.0058739902,
-0.0050622295,
-0.025765883,
0.002542389,
-0.005257653,
0.0074486556,
0.10943736,
0.016160049,
-0.027659992,
0.0074073155,
0.002638222,
-0.041700445,
0.03457499,
-0.050659876,
-0.003912235,
0.028667176,
0.030140372,
-0.0073885247,
0.0050359224,
-0.018685527,
-0.000634188,
0.019256765,
0.00005146905,
0.0102221705,
0.0059604277,
-0.03890438,
0.05240366,
-0.0124845775,
0.04203116,
-0.052103005,
-0.013371501,
-0.0001774552,
-0.028997893,
0.0099591,
-0.008373161,
-0.0023751515,
0.027118817,
0.044887356,
0.0011631477,
0.035567142,
0.013341436,
0.006043107,
0.00453233,
-0.011853209,
-0.0003107521,
-0.04010699,
0.03376323,
0.023060014,
0.011236872,
-0.011763013,
-0.000628081,
-0.015055153,
0.0058815065,
0.012800262,
0.044767097,
-0.04028738,
0.014333588,
-0.03890438,
0.037371054,
-0.031147556,
-0.007159278,
-0.018895984,
-0.055229787,
-0.00027293572,
0.048916094,
-0.010643084,
0.012860393,
-0.009275117,
0.016475733,
-0.0012430084,
0.06536176,
-0.012416931,
0.017392723,
0.045729183,
0.03583773,
-0.027614893,
-0.0008935004,
0.01564894,
-0.022218188,
-0.009034595,
0.032951467,
0.012319219,
0.032831207,
0.017963963,
0.032139707,
0.027975677,
0.00067082996,
-0.018640429,
0.018520169,
0.0041978545,
0.04479716,
-0.034184143,
-0.0030892002,
0.017753506,
0.029178284,
0.016114952,
0.047533095,
0.018354809,
0.01258229,
0.030350829,
0.04272266,
0.0041865804,
-0.039385423,
-0.025420133,
0.027118817,
0.05108079,
0.02654758,
-0.005400463,
0.022654135,
-0.014446332,
-0.041940965,
-0.011845692,
0.053185355,
-0.015543712,
0.06902972,
-0.013281305,
-0.028306393,
-0.06626372,
-0.049427204,
0.03325212,
0.016295344,
0.0019298105,
-0.054808874,
0.007636563,
0.015814299,
0.003632253,
-0.026081568,
0.007771856,
0.04212136,
-0.019136505,
0.019422125,
-0.007493753,
-0.03198938,
-0.039926596,
-0.034214206,
-0.08249893,
0.027434502,
-0.05577096,
-0.04152005,
0.018895984,
-0.02932861,
0.003335359,
-0.015032604,
0.016520832,
-0.012537192,
-0.03331225,
0.04798407,
0.049397137,
0.035056032,
-0.030756708,
0.024803797,
-0.038002424,
0.054658547,
-0.034304403,
0.026412286,
-0.015679006,
-0.028712275,
0.025014253,
0.020880288,
0.006941305,
-0.0005515087,
-0.01085354,
0.002136509,
-0.00057264825,
0.008673812,
0.009500606,
-0.019031277,
-0.02851685,
0.031207686,
0.024743667,
-0.020579634,
0.055680767,
0.018610364,
-0.02245871,
0.0023676353,
0.0076290467,
0.032951467,
-0.038002424,
0.052854635,
0.023796612,
0.017242396,
-0.027629927,
-0.049908247,
-0.033612903,
0.030140372,
-0.0199182,
-0.0019993363,
0.024397917,
0.047142245,
0.0015314466,
-0.06409902,
0.01951232,
-0.000821156,
-0.049427204,
-0.016956778,
-0.02626196,
0.056612786,
0.025360003,
0.00721565,
-0.033733163,
-0.0032432843,
-0.018339777,
0.007937215,
0.004400795,
-0.04016712,
-0.014078034,
0.03851353,
-0.002162816,
0.024758698,
0.036679555,
-0.02880247,
0.0075764325,
-0.023225373,
-0.03313186,
-0.0030798048,
0.03526649,
-0.006467778,
-0.007501269,
0.01628031,
-0.014739469,
-0.0063813403,
0.00085826777,
0.015062669,
0.011965953,
0.039205033,
0.022263287,
0.02083519,
-0.0004974852,
-0.027389405,
-0.013100915,
0.0144313,
0.03971614,
-0.032350164,
-0.0042692595,
0.016490767,
-0.076846674,
0.003758151,
-0.017723441,
-0.0261417,
0.05132131,
0.016926711,
0.025540395,
0.0073697343,
-0.0240221,
0.0052238298,
0.0012373712,
0.043143574,
0.042001095,
0.039445553,
0.039415486,
0.03586779,
-0.04335403,
-0.045819376,
0.0046638655,
0.012973137,
0.016009724,
0.0068210443,
-0.046420682,
-0.01812932,
0.044526573,
0.02048944,
0.016310375,
0.013807447,
0.029343642,
0.0034142802,
0.001942964,
-0.0002503868,
0.00010534567,
0.008470872,
-0.020324081,
0.053997114,
0.0031286608,
-0.020113625,
-0.023751514,
-0.04148999,
-0.042001095,
0.0019767873,
0.033402447,
0.027269144,
-0.03631877,
0.026938427,
0.013852545,
0.029418806,
-0.057274222,
-0.01209373,
-0.047833744,
0.030516187,
0.017242396,
-0.03514623,
-0.0127100665,
-0.046901725,
-0.0064151636,
0.03445473,
0.013085882,
-0.036799815,
0.004528572,
0.004502265,
-0.028426655,
0.05646246,
0.026637774,
-0.0042128875,
-0.0030140372,
-0.013461697,
0.008147672,
0.020880288,
-0.015588811,
-0.008500937,
0.02424759,
-0.021376364,
-0.017212331,
0.005419254,
-0.019091407,
-0.03262075,
0.051231116,
-0.05940885,
0.01437117,
-0.028141035,
-0.02690836,
-0.04296318,
-0.022443678,
0.022518842,
0.034905706,
-0.016205147,
-0.05306509,
-0.015002538,
0.04148999,
-0.026231894,
-0.053335678,
0.012815295,
0.02811097,
-0.0048179496,
0.027509665,
-0.0010832871,
0.006122028,
0.06319707,
-0.007219408,
-0.003957333,
-0.01564894,
-0.029794622,
0.009500606,
-0.007869569,
-0.032861274,
0.009425443,
-0.023390733,
0.033222053,
-0.009282633,
-0.024382884,
0.008493422,
-0.06193433,
0.0017390844,
0.0075313346,
-0.017437821,
0.029794622,
0.02020382,
-0.037310924,
0.045759246,
-0.009891453,
-0.0048705637,
-0.038723987,
-0.050539616,
-0.0350861,
0.06704541,
0.0014948045,
0.059769634,
-0.029764555,
-0.045669053,
0.053546134,
-0.01841494,
0.020233884,
-0.00851597,
-0.021090744,
-0.009673481,
-0.00038732443,
-0.022503808,
0.015355805,
-0.0038295558,
-0.044135727,
-0.040497836,
-0.00038967328,
0.025991373,
-0.03827301,
-0.033913556,
0.075824454,
-0.028772404,
-0.07065324,
-0.029990045,
0.03457499,
0.025435166,
-0.010988833,
0.02995998,
-0.0025555426,
-0.009883937,
-0.030350829,
0.052914765,
-0.03619851,
0.038092617,
-0.028847568,
-0.026697906,
0.007884601,
0.024337785,
0.01215386,
-0.07179572,
0.0138976425,
-0.04266253,
0.020684863,
-0.026712937,
-0.013236208,
-0.04918668,
0.014919859,
-0.028005742,
0.025886144,
-0.004077594,
0.02719398,
0.0033222055,
-0.018279647,
0.007997345,
0.02499922,
-0.024623405,
-0.007869569,
-0.02026395,
0.004581186,
-0.005949153,
0.021286167,
-0.016926711,
0.025841046,
0.0036190995,
-0.0021722112,
-0.04711218,
-0.007287055,
-0.040618096,
0.021902503,
0.04455664,
-0.04999844,
-0.012033599,
0.029118154,
0.03141814,
0.03713053,
0.0096283825,
-0.028276328,
-0.007268264,
-0.045398463,
-0.07738785,
0.052193202,
-0.033342317,
-0.024052167,
-0.0072006173,
-0.007482479,
0.042391945,
-0.02522471,
-0.0033203263,
0.08851197,
0.013266273,
0.0065316665,
-0.08123619,
0.048825897,
0.017588146,
-0.0042955666,
-0.012018567,
-0.03099723,
-0.02262407,
-0.027569795,
-0.023345634,
-0.038483467,
-0.02719398,
0.026231894,
0.03238023,
-0.025871111,
0.043805007,
-0.044706963,
-0.054508224,
-0.04672133,
0.004355697,
0.009568253,
-0.007854535,
0.05050955,
0.026592677,
-0.0028918972,
0.038633794,
-0.028035806,
-0.028952796,
-0.020970482,
0.04672133,
0.009327731,
-0.032650817,
0.04158018,
0.027780252,
-0.05889774,
-0.05300496,
0.008388193,
0.022699231,
-0.025810981,
-0.016084887,
-0.025675688,
0.009658448,
-0.013311371,
-0.025360003,
0.016866582,
-0.011785561,
-0.005276444,
0.029403774,
-0.020053495,
-0.05814611,
0.023390733,
0.04711218,
-0.013965289,
-0.018926049,
-0.053997114,
-0.011206807,
-0.03445473,
-0.019001212,
0.0687892,
-0.0006675416,
0.0012768318,
0.01945219,
0.013379018,
0.059619308,
-0.026412286,
0.011462361,
0.010380013,
-0.034965836,
-0.056672916,
-0.01888095,
0.020023428,
-0.00731712,
-0.010838508,
-0.013221175,
0.00049090845,
0.020098591,
0.029794622,
-0.012168893,
-0.04762329,
0.0048404983,
-0.029238416,
-0.04618016,
0.0105604045,
-0.03821288,
-0.015483582,
0.04975792,
-0.0032996566,
-0.0055319984,
0.037912227,
0.0017343867,
-0.04560892,
-0.017633244,
-0.030260632,
0.0036040668,
-0.038934443,
0.0012364316,
-0.038423337,
-0.04657101,
0.019031277,
0.015190447,
-0.00656549,
0.022984851,
-0.00597546,
0.0674062,
-0.017046973,
0.009245051,
-0.0041865804,
0.010590469,
-0.0021102019,
-0.0213012,
-0.019181604,
0.033041663,
0.033462577,
-0.02995998,
0.0011838176,
0.0068210443,
0.00060929026,
-0.019316897,
0.023992036,
0.040618096,
-0.024097264,
0.03676975,
-0.021391395,
0.024638439,
-0.040557966,
-0.0384534,
-0.02302995,
0.005843925,
-0.010823475,
0.04867557,
-0.0005524482,
0.032801144,
0.034033816,
0.01119929,
0.0052163135,
0.034725316,
0.020850223,
0.019211669,
0.02302995,
-0.027855415,
0.012191442,
-0.020880288,
0.019061342,
0.022022765,
0.005922846,
0.010274785,
-0.01455156,
-0.019467222,
-0.02735934,
0.00090759346,
0.020008396,
0.026923394,
0.030531218,
-0.04717231,
0.0017898194,
0.0020463131,
-0.029118154,
0.02707372,
-0.050208896,
-0.052193202,
-0.015212995,
-0.076064974,
0.028772404,
-0.008936883,
-0.0009395378,
0.005625952,
0.028907698,
-0.001591577,
-0.011289486,
0.037611574,
0.029644296,
0.024202492,
-0.048224594,
0.0007549186,
-0.019527353,
0.013491762,
-0.037100468,
-0.0063362424,
0.0073960414,
0.055289917,
0.0261417,
0.0048104334,
-0.02042931,
0.0048141913,
-0.009921519,
0.05177229,
-0.05246379,
-0.015483582,
-0.05303503,
0.048916094,
-0.07047285,
0.034154076,
0.004599977,
0.013860061,
0.022999885,
0.0363789,
-0.008786557,
0.048946157,
0.04867557,
-0.017332593,
0.029118154,
0.032229904,
0.01841494,
0.002068862,
-0.015258093,
0.0024033375,
0.04548866,
0.03204951,
0.029524034,
-0.023736482,
0.039926596,
0.01258229,
-0.047593225,
-0.041880835,
0.04296318,
0.022729298,
-0.03008024,
0.011304518,
-0.02418746,
-0.029764555,
0.012281638,
-0.011131643,
0.022864591,
0.017918864,
-0.024698569,
-0.011943404,
-0.012304187,
0.004502265,
-0.004806675,
0.011597654,
-0.02014369,
-0.011650268,
0.050088637,
0.007839503,
0.015363322,
0.00003229661,
0.023345634,
0.020248918,
0.004502265,
0.019301863,
-0.035507012,
0.015558745,
-0.0028543158,
0.035296556,
-0.02054957,
-0.0011781803,
-0.017302528,
-0.04738277,
-0.060581394,
0.05056968,
0.008485905,
-0.059589244,
-0.003957333,
-0.037431184,
-0.027584828,
-0.04392527,
0.011372165,
-0.04161025,
0.02424759,
0.036649488,
-0.034484793,
-0.017001875,
0.03815275,
-0.0059002973,
0.06271602,
0.013627056,
0.059619308,
-0.004013705,
0.08412245,
0.0046187676,
0.013875093,
0.029584166,
0.013476729,
-0.017693374,
-0.008282965,
0.012394382,
-0.006843593,
-0.01634044,
-0.022714265,
-0.051682092,
-0.010590469,
-0.0063850987,
-0.0350861,
-0.036920074,
0.002664529,
0.0042204037,
-0.022503808,
0.030967165,
0.07438132,
0.024277655,
-0.009237535,
-0.014867245,
0.01587443,
-0.061122566,
-0.009673481,
-0.021902503,
0.02944887,
-0.037280858,
-0.035687402,
0.011259421,
-0.010590469,
-0.018986179,
-0.03634884,
0.009703546,
-0.0037731836,
0.05189255,
0.043895204,
0.01278523,
0.023916872,
-0.016069854,
-0.030907035,
0.02782535,
0.049848117,
0.006933789,
0.05408731,
0.06397876,
0.018324744,
0.01010191,
-0.015799267,
0.021211004,
-0.019752841,
-0.014115615,
-0.009598318,
-0.03758151,
-0.04046777,
-0.037280858,
-0.040317446,
0.025901176,
0.008245383,
-0.010755829,
-0.027344307,
-0.014769534,
-0.06692515,
-0.017107103,
-0.02164695,
0.0026175522,
0.018790755,
-0.006013042,
0.023165243,
-0.05513959,
0.27154896,
0.07931202,
0.04109914,
0.014784566,
0.0025574218,
0.055109527,
0.012950588,
-0.04981805,
0.012950588,
-0.0043331482,
-0.020414276,
-0.023420798,
0.00096960296,
0.05673305,
-0.04046777,
0.043835074,
-0.057304285,
0.00019154826,
0.013845028,
-0.024728633,
-0.053786658,
0.02302995,
0.03244036,
0.030876968,
0.029584166,
0.033041663,
0.012612355,
-0.03947562,
-0.029854752,
0.0037694254,
-0.0137398,
-0.03701027,
0.045849442,
-0.005005857,
-0.00032695913,
0.017437821,
-0.010921187,
-0.021977667,
-0.009823807,
0.038633794,
-0.0034255546,
-0.0003924919,
-0.0039460585,
-0.015799267,
-0.034665186,
0.020233884,
0.0026025197,
0.027028622,
0.07853033,
-0.038032487,
0.036108315,
-0.031899188,
0.01766331,
-0.021872438,
-0.03250049,
-0.0016235212,
-0.03400375,
-0.019933233,
-0.06409902,
0.006941305,
0.012920523,
-0.004325632,
0.006065656,
0.021180939,
-0.042331815,
0.049276877,
-0.034665186,
0.03256062,
-0.0687892,
-0.027434502,
-0.03250049,
-0.0034762898,
-0.012056149,
-0.03394362,
0.046991922,
0.050539616,
-0.0021214762,
0.020354146,
-0.017167235,
-0.005795069,
0.021120809,
-0.0046563493,
-0.0018086102,
0.000038844013,
0.002811097,
0.051862486,
-0.018369842,
0.031267818,
0.009432959,
0.039926596,
0.015107767,
0.052493855,
-0.008936883,
-0.015265609,
0.0031906702
] |
from transformers import GPTJForCausalLM, AutoTokenizer
import torch
device = "cuda"
model = GPTJForCausalLM.from_pretrained("EleutherAI/gpt-j-6B", torch_dtype=torch.float16).to(device)
tokenizer = AutoTokenizer.from_pretrained("EleutherAI/gpt-j-6B")
prompt = (
"In a shocking finding, scientists discovered a herd of unicorns living in a remote, "
"previously unexplored valley, in the Andes Mountains. Even more surprising to the "
"researchers was the fact that the unicorns spoke perfect English."
)
input_ids = tokenizer(prompt, return_tensors="pt").input_ids.to(device)
gen_tokens = model.generate(
input_ids,
do_sample=True,
temperature=0.9,
max_length=100,
)
gen_text = tokenizer.batch_decode(gen_tokens)[0] |
[
0.025811352,
0.0040451162,
-0.034711324,
-0.010318808,
-0.02305967,
0.0042565083,
-0.008355369,
0.030383158,
0.008649168,
0.053084537,
-0.021870142,
-0.019405093,
0.0025241668,
-0.0447435,
0.004374745,
0.033106178,
-0.025281081,
-0.023919571,
0.0029648659,
0.00083929894,
0.019763384,
0.027287515,
-0.07452473,
-0.057699338,
-0.009573561,
0.047007903,
0.01751331,
-0.029437268,
0.09716878,
-0.0041382723,
-0.029551921,
-0.009982014,
0.025682367,
-0.031758998,
-0.013736914,
-0.0095234,
-0.008856977,
-0.007853759,
-0.006932949,
-0.03064113,
0.013084822,
-0.045976024,
0.03671776,
-0.050848793,
-0.07423809,
-0.01939076,
-0.023288976,
-0.06277275,
-0.0061196266,
-0.021827146,
-0.020852592,
-0.005030419,
0.0059082345,
0.007925418,
-0.025094768,
-0.010920739,
-0.0106771,
-0.015822172,
-0.039813403,
0.028133085,
0.058702555,
0.039154146,
-0.026628258,
-0.086448684,
-0.013321295,
0.03663177,
0.009759873,
-0.0032282106,
-0.026570931,
-0.013830069,
-0.066900276,
-0.021196552,
-0.014861951,
-0.028563036,
-0.0363738,
-0.012110268,
-0.008527349,
-0.020250661,
-0.029551921,
0.03817959,
0.030010534,
0.019792048,
-0.011974118,
0.010211321,
-0.06454988,
-0.036660433,
0.06581107,
0.005693259,
-0.014045045,
-0.021984795,
-0.0282764,
0.034424692,
-0.0011214538,
0.027187195,
-0.0076889456,
0.016237792,
-0.016510094,
0.033106178,
-0.006735889,
0.02595467,
0.03425271,
0.056237508,
-0.03396608,
0.047982458,
-0.038896173,
0.0020153923,
0.018258559,
-0.018559523,
-0.00057685,
-0.039870728,
-0.0139303915,
-0.0063596824,
0.0016123138,
0.0007277805,
0.0038158093,
0.017412988,
-0.008993128,
0.008756655,
-0.037119046,
-0.036402464,
-0.0018156446,
-0.028161747,
-0.0003605313,
-0.0143890055,
-0.0027642224,
-0.006678562,
0.0069651958,
0.032160286,
-0.046033353,
-0.032418255,
-0.006599738,
0.02946593,
0.014632643,
0.04669261,
-0.00068344193,
-0.045660727,
0.008498685,
0.009165108,
-0.026327293,
-0.022328755,
-0.009387249,
-0.012282249,
0.003650995,
0.101296306,
-0.020909918,
0.011451011,
0.0010703972,
-0.024980115,
-0.07160106,
0.025969,
-0.02526675,
0.022801701,
0.023088334,
0.02562504,
-0.014181196,
-0.03187365,
-0.024951452,
0.006248612,
0.025066106,
-0.009107782,
-0.01289851,
0.019734722,
-0.045660727,
0.03356479,
-0.0464633,
0.035255928,
-0.047237214,
0.0024775888,
0.011716147,
-0.05540627,
-0.00917944,
-0.003163718,
-0.018330216,
0.024650486,
0.038724195,
0.026656922,
0.035141274,
-0.01302033,
0.03416672,
-0.023403632,
-0.0073270705,
0.009802868,
0.001402713,
0.025295412,
-0.015377891,
0.023718927,
0.021683829,
-0.0046828757,
-0.004235011,
0.02459316,
-0.012633375,
0.054804336,
-0.054460377,
0.013994884,
-0.009580727,
0.036087167,
-0.0476385,
-0.03780697,
0.008312373,
-0.049845576,
-0.03473999,
0.06753087,
0.0013856941,
0.0074524726,
0.0025707448,
0.010046506,
0.010146828,
0.011501172,
-0.029838555,
0.008727992,
0.038609542,
0.021640833,
0.003880302,
-0.034023404,
0.024779473,
-0.02946593,
-0.009430245,
0.043253005,
-0.0056681787,
0.037090383,
0.0073378193,
0.032389592,
0.044342212,
0.002606574,
0.010010677,
-0.0058186613,
0.039383452,
0.028004099,
-0.029351277,
0.015463881,
0.014761629,
0.022730041,
0.022572393,
0.061683543,
0.035915185,
-0.0064026774,
0.04391226,
-0.0111285485,
0.035571225,
-0.000663288,
-0.0020422642,
-0.0062772753,
0.031988308,
0.013579265,
0.041017264,
0.009774204,
-0.023518285,
-0.03783563,
0.008247881,
0.007782101,
-0.061110277,
0.079053536,
0.020379646,
-0.0006229801,
-0.03766365,
-0.026857566,
0.02006435,
0.030497812,
-0.016065812,
-0.00811173,
0.004321001,
0.05113543,
-0.046807263,
-0.015764846,
0.04482949,
0.04660662,
-0.0048691877,
-0.0015800676,
0.012733696,
-0.06833344,
-0.03901083,
-0.04953028,
-0.06426325,
0.018674176,
-0.027058208,
-0.02015034,
-0.0029469514,
-0.060135722,
-0.0035435075,
-0.010770257,
0.011694649,
0.04167652,
0.00131314,
0.020193335,
0.047065232,
0.016065812,
-0.0049157655,
0.014761629,
-0.023417963,
0.019577073,
-0.0109422365,
-0.016897049,
0.016968707,
0.013701084,
0.07171572,
0.00017981778,
0.0030454816,
0.03064113,
-0.0074166437,
0.008176222,
-0.005087746,
-0.057011418,
0.0109709,
0.0076387846,
-0.06529513,
0.029136302,
0.0074668042,
-0.0014519781,
0.05233929,
0.017900266,
-0.032819543,
-0.0007300199,
-0.020537294,
0.011092719,
-0.03218895,
0.05781399,
0.024951452,
-0.007997077,
-0.016667742,
-0.047122557,
-0.018502196,
0.020465637,
-0.02364727,
-0.031701673,
0.005173736,
0.054775674,
-0.011816469,
-0.04884236,
0.010089502,
0.009666717,
-0.060250375,
-0.007076266,
-0.0059619783,
0.03671776,
0.03892484,
0.024292195,
-0.04586137,
-0.014231357,
0.032332268,
0.014976604,
-0.0037548998,
-0.009623722,
0.004460735,
0.04431355,
-0.010648437,
-0.0062271142,
0.07658849,
-0.04471484,
0.04075929,
-0.0039053822,
-0.009774204,
0.017040366,
-0.0026441948,
-0.025166428,
-0.026914893,
0.056982752,
-0.017556306,
-0.008255047,
-0.007789267,
0.0022429076,
0.007205251,
0.04887102,
0.0014045045,
-0.00010759955,
-0.043023698,
-0.054030426,
0.01734133,
0.03969875,
0.04362563,
-0.054259736,
0.020952914,
-0.006950864,
-0.04766716,
0.0017950428,
-0.0026782325,
-0.09418779,
0.03236093,
0.02237175,
0.05039018,
0.01310632,
-0.010175492,
0.027645808,
-0.00065477856,
0.044944145,
0.025653705,
0.031787664,
-0.02212811,
0.008004243,
-0.016209127,
0.005524862,
0.009509069,
0.021053236,
-0.030841772,
0.022486404,
-0.018545192,
-0.015936825,
0.014582483,
0.045890033,
0.016868385,
0.03158702,
0.042880382,
-0.0021175055,
0.0061805365,
0.00458972,
-0.0008482562,
-0.023002343,
-0.032819543,
0.019964028,
-0.000394569,
-0.003650995,
0.0050196704,
-0.017828608,
-0.013615094,
0.021325538,
-0.025295412,
-0.0016553089,
-0.06747354,
0.034482017,
0.004371162,
0.010748759,
-0.019376429,
0.020737939,
-0.034080733,
0.033421475,
0.05271191,
-0.01886049,
-0.018000588,
-0.043338995,
-0.044772163,
0.019519746,
0.0042923377,
-0.031300385,
0.0059154,
0.03516994,
-0.044686172,
0.0862767,
0.017226677,
0.0031690923,
-0.0110783875,
-0.029924544,
0.026599595,
0.029924544,
-0.009659551,
-0.0047007906,
0.04242177,
-0.008319539,
0.0049695093,
0.035599887,
0.028190412,
-0.00032268668,
0.041819837,
-0.007889589,
0.010626939,
-0.04267974,
-0.032905534,
-0.0063417675,
-0.021411527,
0.016610416,
0.027989767,
0.023704596,
-0.03620182,
0.023876576,
0.050275527,
0.013722582,
-0.020307988,
0.030612465,
0.028634693,
-0.0068362104,
0.019233113,
0.009286928,
-0.0007358421,
0.045890033,
0.005087746,
-0.0008697537,
-0.004625549,
0.0038301412,
0.006198451,
-0.0372337,
-0.026914893,
-0.0049265143,
-0.05090612,
0.030469147,
-0.008104564,
-0.011185875,
0.015134253,
-0.009953351,
-0.02980989,
0.01605148,
-0.04279439,
0.017126355,
0.013113486,
0.009537732,
0.023776254,
-0.01426002,
-0.06644166,
-0.0736075,
0.0024130964,
-0.029781228,
0.03534192,
0.0140665425,
0.038666867,
-0.01426002,
-0.0123180775,
0.015521208,
-0.04348231,
0.012404067,
-0.034482017,
0.05612285,
-0.02245774,
-0.008298042,
-0.007438141,
-0.013435949,
0.023002343,
-0.0323036,
0.00027834807,
-0.024965784,
-0.010411965,
-0.029222293,
-0.053915773,
0.0660977,
-0.008613339,
-0.038351573,
-0.030555138,
0.010576779,
0.011006729,
0.019519746,
0.027875114,
-0.00026670357,
-0.05337117,
-0.057756662,
0.046090677,
-0.028849669,
0.026929224,
-0.022873359,
-0.0029344112,
0.013149315,
0.0020153923,
0.02476514,
0.014267186,
0.015105589,
-0.05125008,
0.015191579,
-0.06586839,
-0.012748028,
-0.04267974,
0.011673152,
-0.040959936,
0.0060623,
0.023876576,
-0.003740568,
0.0077319406,
-0.018072246,
0.036058504,
0.009344255,
-0.037434343,
-0.036087167,
0.006327436,
-0.03218895,
0.010519451,
-0.017943261,
-0.024879793,
0.05082013,
-0.030899098,
0.043224342,
-0.031214396,
-0.009387249,
-0.038666867,
0.028534371,
0.04133256,
-0.06804681,
-0.0066857277,
0.020164672,
0.006678562,
0.012769526,
0.025582045,
-0.0236616,
0.0073808143,
-0.063116714,
-0.06718691,
0.027029546,
-0.02348962,
-0.030010534,
-0.01648143,
-0.020422641,
0.044514194,
-0.021655167,
0.032905534,
0.07825097,
-0.015951158,
-0.005127158,
-0.036689095,
0.062543444,
-0.010698598,
0.021139225,
-0.016639078,
-0.023088334,
-0.0043030865,
-0.010684266,
-0.04740919,
-0.04227845,
-0.012009947,
0.016180465,
0.058186613,
-0.035055283,
0.024191873,
-0.00969538,
-0.048727706,
-0.075556606,
0.022386082,
0.010325974,
0.017885935,
0.056036863,
-0.003833724,
-0.0057326714,
0.021440191,
-0.015779179,
-0.035485234,
-0.048613053,
0.05276924,
-0.014489327,
-0.06368998,
0.036001176,
0.015922494,
-0.020809596,
-0.063403346,
0.004593303,
0.01579351,
-0.042966373,
-0.0080902325,
-0.027373506,
0.013299798,
-0.019161453,
-0.01353627,
0.016352445,
-0.012841184,
-0.0142026935,
0.031816326,
0.008147559,
-0.01810091,
-0.0019437339,
0.048469737,
0.00418485,
-0.009781371,
-0.0013758411,
0.0054066256,
-0.025754025,
-0.037864294,
0.055893544,
-0.04167652,
-0.00597631,
0.048985675,
0.0020977994,
0.08874175,
-0.013758412,
-0.0026710664,
0.00909345,
-0.023217319,
-0.05113543,
-0.036058504,
-0.0029272453,
0.021855809,
-0.0037513168,
-0.03187365,
0.023460958,
0.0003531415,
0.022701379,
-0.017943261,
-0.065352455,
-0.0161518,
-0.037978947,
-0.006313104,
-0.008971631,
0.002937994,
-0.003007861,
0.0022034955,
-0.011243202,
-0.04439954,
0.05394444,
0.0096523855,
-0.029308282,
0.024464175,
-0.04242177,
0.0053743795,
-0.024206204,
0.0053242184,
0.009867361,
-0.02963791,
0.04772449,
0.027000882,
-0.017312668,
0.027258852,
0.024922788,
0.03921147,
0.0052167308,
0.035485234,
-0.019204449,
0.02235742,
-0.029179297,
-0.031013751,
-0.020709274,
0.0008603486,
-0.0043854937,
0.00037195184,
0.0035632136,
0.011687484,
-0.008376866,
0.0030902682,
0.04738053,
0.07211701,
-0.013629426,
0.025352739,
-0.049931567,
0.017971925,
-0.042135134,
-0.014016381,
0.008133227,
0.013858733,
-0.047437854,
0.040529985,
0.0009700755,
0.03929746,
0.053399835,
0.011092719,
-0.014288683,
0.036488455,
0.031902317,
0.0063095214,
0.040615976,
-0.06294473,
0.01861685,
-0.033679444,
0.02817608,
-0.027488159,
0.024449844,
0.0064743357,
0.009982014,
-0.002271571,
-0.021268211,
0.0062665264,
0.022615388,
0.038896173,
0.026355956,
-0.009544898,
-0.006230697,
-0.009050455,
-0.03244692,
0.0029989036,
-0.039440777,
-0.008176222,
0.044772163,
-0.013779908,
0.00047876764,
0.0107559245,
0.016438436,
-0.022214102,
0.047781814,
0.052941218,
-0.015707519,
0.031988308,
0.030067861,
0.037864294,
-0.030440485,
-0.04030068,
-0.026312962,
0.051708695,
-0.049501617,
-0.026470609,
0.031816326,
0.033622116,
0.030096525,
-0.004360413,
-0.022988012,
-0.016022816,
-0.0029935294,
0.0017368203,
-0.01989237,
0.008942967,
-0.039584097,
0.039154146,
-0.03339281,
0.023532616,
-0.008699329,
0.03236093,
0.007173005,
0.02442118,
-0.0075097997,
0.036058504,
0.015707519,
0.009996345,
0.035657216,
-0.006606904,
-0.0046004686,
0.012196259,
0.0002572984,
0.02604066,
0.020479968,
-0.00019011868,
0.039125483,
0.010849081,
0.046377312,
0.015922494,
-0.041762512,
-0.010376135,
0.040014047,
-0.019175787,
-0.015621529,
0.00016873312,
-0.018831825,
0.037463006,
-0.011923957,
-0.018674176,
0.035657216,
-0.018401874,
-0.039125483,
-0.017914599,
-0.032590237,
0.013292632,
-0.018143905,
-0.04233578,
-0.01792893,
0.017470315,
0.051966667,
-0.008727992,
-0.0097025465,
0.060307704,
0.01946242,
0.030497812,
0.011909625,
0.018588187,
-0.036746424,
-0.002318149,
-0.04159053,
0.029078975,
0.01122887,
-0.030067861,
0.0063525164,
-0.0090074595,
-0.059447803,
0.030784445,
-0.017412988,
-0.008950133,
0.047523845,
-0.05010355,
-0.0660977,
-0.038265582,
0.011042559,
-0.0108920755,
0.011501172,
0.0043424987,
-0.056495477,
-0.0142026935,
0.02075227,
0.012912842,
0.043711618,
0.023718927,
0.027774792,
-0.023876576,
0.08220651,
0.036947068,
0.02383358,
0.04090261,
0.018631183,
-0.045546073,
-0.013005998,
0.012095937,
-0.0044750664,
-0.035571225,
-0.009544898,
-0.039326124,
-0.002321732,
-0.0037620657,
-0.008735158,
-0.037778303,
0.01059111,
-0.017785612,
-0.027545486,
0.0035865025,
0.09728343,
-0.014080874,
-0.009960516,
0.00095126516,
0.014245688,
-0.04586137,
-0.0062772753,
-0.0505335,
0.005779249,
0.02288769,
-0.02920796,
-0.019720389,
-0.08077334,
-0.006588989,
-0.044686172,
-0.0077247745,
-0.014582483,
0.013722582,
0.033937413,
0.019061131,
0.019018138,
-0.011372187,
-0.03883885,
0.024564497,
0.06225681,
0.0009378292,
0.09252532,
0.04669261,
0.014009216,
-0.014439166,
-0.005245394,
0.031787664,
-0.019691726,
0.0022572393,
-0.013163647,
0.020293657,
-0.01870284,
-0.0363738,
-0.018000588,
0.010304477,
0.02314566,
-0.0032282106,
-0.026957886,
-0.032217614,
-0.058530573,
-0.00045995731,
-0.044198897,
0.0033339066,
0.02869202,
-0.028964322,
0.019620068,
-0.044284888,
0.2446704,
0.08765254,
0.03422405,
0.041103255,
0.006463587,
0.028763678,
0.012375404,
0.015177247,
0.041877165,
-0.019577073,
-0.016725069,
-0.0105696125,
-0.031988308,
0.033507463,
-0.016094474,
0.05150805,
-0.06070899,
0.010268647,
-0.0038050606,
-0.054603696,
-0.03671776,
-0.0044392375,
0.012189092,
0.029078975,
0.027445164,
-0.0044929814,
-0.015134253,
-0.029895881,
-0.009358586,
-0.011013895,
0.013708251,
-0.034396026,
0.027531154,
-0.020809596,
0.005757752,
0.022615388,
-0.02075227,
-0.02809009,
0.019663062,
0.00943741,
-0.0023145662,
0.018115241,
0.005127158,
-0.020179003,
0.011451011,
0.041963153,
-0.016897049,
0.021741156,
0.03508395,
-0.060651664,
0.031357713,
-0.058874536,
0.030555138,
-0.03390875,
-0.020651948,
-0.04396959,
-0.013170812,
-0.0181869,
-0.010175492,
-0.0072804927,
0.042937707,
-0.014403337,
-0.02381925,
-0.0071013467,
-0.02578269,
0.045632064,
-0.009724043,
-0.004149021,
-0.006932949,
-0.035571225,
-0.029867217,
0.011293363,
-0.007796433,
-0.018172568,
0.059046514,
0.025825685,
0.012289414,
-0.015177247,
0.013013164,
-0.016825391,
-0.0006579136,
0.0043819104,
-0.01638111,
0.0010121748,
0.020193335,
0.034195386,
-0.034453355,
0.019663062,
-0.016854053,
0.045632064,
0.008219218,
0.033106178,
0.010999563,
-0.031071078,
0.00037531083
] |
Description of GPT-J.
A blog on how to Deploy GPT-J 6B for inference using Hugging Face Transformers and Amazon SageMaker.
A blog on how to Accelerate GPT-J inference with DeepSpeed-Inference on GPUs.
A blog post introducing GPT-J-6B: 6B JAX-Based Transformer. 🌎
A notebook for GPT-J-6B Inference Demo. 🌎
Another notebook demonstrating Inference with GPT-J-6B.
Causal language modeling chapter of the 🤗 Hugging Face Course.
[GPTJForCausalLM] is supported by this causal language modeling example script, text generation example script, and notebook.
[TFGPTJForCausalLM] is supported by this causal language modeling example script and notebook.
[FlaxGPTJForCausalLM] is supported by this causal language modeling example script and notebook. |
[
-0.002873711,
-0.015417742,
-0.031410567,
0.0015121641,
-0.026002035,
-0.006004156,
-0.0062026973,
0.0013444312,
-0.00966005,
0.05849431,
-0.0132474825,
0.0034847383,
0.006897591,
-0.040474996,
0.0038373198,
0.023907084,
-0.036339864,
0.0069626304,
-0.045815066,
-0.014596192,
0.011926157,
0.038284197,
-0.0800189,
-0.0117413085,
-0.019073635,
0.010036594,
0.004569868,
-0.00794849,
0.07793764,
0.020100573,
-0.011748155,
-0.021949058,
-0.0073734047,
-0.01161123,
-0.032697663,
-0.037462648,
0.022866456,
-0.03527185,
-0.004545906,
-0.05849431,
0.017403152,
-0.03869497,
0.035737395,
-0.041570395,
-0.0727345,
-0.004877949,
-0.037736498,
-0.021771057,
-0.0055694194,
-0.07070801,
0.0012425933,
0.009940746,
0.027604057,
-0.01193985,
-0.0080717215,
-0.026809892,
-0.027028972,
-0.010139287,
-0.029630544,
0.0014111821,
0.045322135,
0.054386564,
-0.031465337,
-0.047321238,
-0.028151756,
0.040967926,
0.012076775,
-0.015609437,
-0.0018091201,
-0.01574636,
-0.06408084,
0.028288681,
0.020237498,
-0.018238394,
-0.009543664,
-0.00987913,
0.03549093,
-0.020757813,
-0.023537388,
0.054331794,
-0.012254777,
0.057070293,
0.004227556,
0.006421777,
-0.036668483,
-0.053948402,
0.04523998,
-0.0020607195,
0.010105057,
-0.013268021,
-0.02196275,
0.03157488,
-0.004398712,
0.027234359,
0.03713403,
0.020114265,
0.018293165,
0.03149272,
0.02377016,
0.050552666,
0.02426309,
0.050004967,
-0.0006961774,
0.017320998,
-0.049785886,
0.0075308685,
0.03759957,
-0.0185944,
-0.0060657724,
-0.03477892,
-0.017293613,
-0.002260972,
-0.0019905455,
-0.041241776,
-0.0257008,
0.023017073,
0.03102718,
-0.010577447,
0.0133981,
-0.019744568,
0.008092261,
-0.040831,
-0.008263417,
-0.05937063,
-0.011802925,
-0.0014385671,
0.011987774,
0.034861077,
-0.036558945,
-0.025782956,
-0.008181262,
-0.014486653,
0.032670278,
0.036723252,
-0.004258364,
0.004819756,
-0.0022216062,
0.0014822119,
-0.0027539018,
-0.013226944,
0.022017522,
0.010125595,
0.0041454006,
0.08023798,
0.013309099,
0.044883978,
-0.020538732,
0.020566117,
-0.074487135,
0.030260399,
-0.035134926,
0.023838622,
0.00896858,
-0.0000526305,
0.0034042948,
-0.004121439,
0.0075856387,
-0.0102830585,
0.046034146,
0.0059528095,
-0.0028600185,
0.0016953012,
-0.053072084,
0.033108436,
-0.013493947,
0.035682626,
-0.017704388,
-0.0014770771,
0.0055043804,
-0.05915155,
0.0018091201,
-0.00842088,
0.010105057,
0.033601366,
0.05200407,
0.005856962,
0.01684176,
0.0008467948,
0.04649969,
0.010837604,
0.0038852436,
-0.02025119,
0.026782507,
-0.0037722804,
-0.012603936,
0.029521005,
-0.0038065116,
0.021223357,
-0.015965441,
0.0034453725,
-0.007168018,
0.050716978,
-0.027193282,
-0.0025074368,
0.0030106357,
0.034861077,
-0.030233014,
0.015116507,
-0.016718527,
-0.015801132,
-0.04378858,
0.03631248,
-0.030972408,
-0.0031526955,
0.001099678,
0.024454784,
0.004515098,
0.03896882,
-0.037270952,
0.02817914,
0.046034146,
-0.0012169199,
-0.060082637,
-0.011624922,
0.048690487,
-0.04764986,
-0.03494323,
0.034258604,
-0.017252535,
0.016006518,
0.0011253514,
0.05386625,
0.057617992,
-0.0063704303,
0.01496589,
-0.0041693626,
0.02311292,
0.049156033,
-0.02251045,
0.022633683,
0.0033221398,
0.017362075,
-0.007756795,
0.0672575,
0.026221115,
0.00116215,
0.0800189,
0.031383183,
0.041488238,
0.009618973,
0.017827619,
0.019018866,
0.008455112,
0.04649969,
0.008290801,
0.02344154,
-0.018758709,
-0.000931945,
0.015951749,
-0.0065073553,
-0.06785997,
0.08314079,
0.0042994414,
-0.015582051,
-0.042830102,
-0.06375223,
0.021415051,
0.03286197,
-0.026974201,
-0.030972408,
0.0146098845,
0.034258604,
-0.001508741,
-0.028042216,
-0.0019546028,
0.07224157,
-0.00027812866,
0.015404049,
0.026837276,
-0.07257019,
-0.045678142,
-0.047184315,
-0.06095896,
0.006305391,
-0.032177348,
-0.01589698,
-0.011364765,
-0.0541401,
-0.03313582,
0.001087697,
0.0022044906,
-0.0041317083,
-0.024030317,
0.036449403,
0.00539484,
-0.0044740206,
-0.0068325517,
-0.021551976,
-0.052579153,
-0.0073734047,
-0.005353763,
-0.01771808,
-0.012987325,
-0.02504356,
0.065450095,
0.02251045,
0.011905619,
0.0044637513,
-0.034696765,
-0.021784749,
-0.048005864,
-0.039215285,
0.030835483,
0.023619542,
-0.052907776,
0.020264883,
0.004710216,
-0.013658257,
0.062382977,
0.04425412,
-0.0371888,
0.060520798,
0.018690247,
0.00020271301,
-0.039543904,
0.04671877,
0.011453766,
-0.025016176,
-0.02003211,
-0.018347934,
-0.07426806,
0.016800683,
-0.020675657,
-0.014664655,
0.026850969,
0.040694077,
-0.029959165,
-0.08861779,
0.027124818,
-0.015801132,
-0.0960665,
-0.021031663,
-0.020538732,
0.022031214,
0.03680541,
0.023633234,
-0.0789235,
0.001383797,
0.012932555,
0.0204155,
-0.0056447284,
-0.0044637513,
0.006308814,
0.015335587,
-0.0064902394,
-0.04006422,
0.04534952,
-0.01897779,
0.005357186,
-0.015472512,
-0.0012040832,
0.030287784,
0.04241933,
-0.011487998,
0.004853987,
0.028096985,
-0.028535146,
0.016896531,
0.022907533,
0.0011647173,
-0.036723252,
0.016444677,
-0.0032588122,
0.011097762,
-0.007989567,
-0.027371284,
0.030534249,
0.015061737,
0.061670966,
-0.054961648,
0.015417742,
-0.028644685,
-0.038119886,
0.016321447,
-0.045760296,
-0.04324088,
0.088234395,
0.023030765,
0.05739891,
-0.0070995553,
-0.026371732,
0.028808996,
-0.002647785,
0.014267573,
0.02954839,
0.019566566,
0.0108033735,
0.021551976,
-0.03768173,
0.0010166672,
0.0077841794,
-0.009139736,
0.023797544,
0.0063259294,
-0.023414155,
-0.018786093,
0.052606538,
0.045541216,
-0.020826275,
0.04562337,
0.00035514892,
0.0028925382,
0.03286197,
0.020757813,
0.012028851,
0.030123474,
-0.012706629,
0.013945799,
0.015376665,
0.024057701,
0.00079330854,
-0.042583637,
-0.021154894,
0.048553564,
-0.018416397,
0.021921674,
-0.052058842,
0.008770038,
-0.0029421735,
0.022537835,
-0.019799339,
0.015458819,
-0.043076567,
0.037517417,
0.025331102,
-0.006586087,
-0.0039400137,
-0.0030277513,
-0.0007244182,
0.018786093,
-0.029849624,
-0.046773538,
0.008831655,
-0.02019642,
-0.068626754,
0.072953574,
0.016485756,
-0.010248828,
-0.008242878,
-0.015472512,
-0.0010714371,
0.009954439,
-0.0048916414,
-0.0112689175,
0.0060418104,
-0.022962302,
-0.0039057822,
0.026755122,
-0.018416397,
0.0027984022,
0.047622476,
-0.031657033,
-0.01523974,
-0.014828965,
0.0046417536,
-0.006449162,
0.00913289,
0.000518603,
0.016718527,
0.016211906,
-0.028398221,
-0.022387218,
0.03149272,
-0.005079913,
-0.0297127,
0.048060633,
0.020169035,
-0.029794855,
0.02779575,
0.0052305306,
-0.023099227,
0.009269815,
0.013411792,
-0.0068051666,
-0.017526384,
0.001668772,
0.0025125716,
-0.04534952,
-0.015335587,
-0.012022004,
-0.028398221,
0.05107298,
-0.047020003,
-0.020730427,
0.005689229,
-0.03494323,
-0.012706629,
0.0072433264,
-0.022866456,
0.002581034,
0.0047649858,
-0.013754104,
-0.011666,
-0.017923467,
-0.1071848,
-0.043569498,
-0.025878802,
-0.0038544354,
0.020319652,
-0.00226953,
0.036997102,
-0.045815066,
-0.060356487,
0.045595985,
0.00761987,
-0.019457025,
-0.004350788,
0.027494516,
0.012562858,
0.00789372,
-0.02272953,
0.013535025,
-0.01491112,
-0.0047341776,
0.015445127,
-0.025851417,
0.025769264,
-0.05427702,
-0.037763882,
0.032725047,
0.0072159413,
-0.05696075,
0.0048368713,
0.0038065116,
0.013966338,
0.007852642,
0.0566869,
-0.013582949,
-0.044363663,
-0.00072270667,
0.033108436,
-0.01948441,
0.014870042,
-0.027480824,
-0.0125423195,
0.023044458,
0.025878802,
0.06320453,
-0.029521005,
0.008509882,
-0.046800926,
0.015431434,
-0.054934263,
0.026453888,
-0.021113817,
0.019785646,
-0.04545906,
0.0455686,
0.03152011,
0.022496758,
0.0028668647,
-0.018498551,
0.016280368,
-0.0035805856,
-0.05189453,
0.0031355799,
0.0036935487,
-0.0028086717,
-0.012439625,
-0.006531317,
-0.042857487,
0.049895428,
-0.052497,
-0.0074213287,
-0.035627853,
-0.019073635,
-0.044637512,
0.048005864,
0.05167545,
-0.05337332,
0.010947145,
0.030315168,
0.015102815,
-0.02954839,
-0.0012408817,
-0.06019218,
-0.03571001,
-0.036887564,
-0.048635717,
0.027234359,
-0.021990135,
-0.01853963,
0.010837604,
0.0071954024,
0.04622584,
-0.07026985,
0.0419264,
0.073994204,
0.007654101,
0.02850776,
-0.053455476,
0.05690598,
0.014103263,
-0.00745556,
-0.014281265,
0.0053777248,
0.0009730224,
-0.013630872,
-0.012398548,
-0.013569255,
0.0015301355,
-0.0014377113,
0.07645886,
-0.008544113,
0.019142099,
0.036285095,
-0.045705527,
-0.035381388,
0.015636822,
-0.02068935,
-0.011344226,
0.019361177,
-0.0033306978,
0.016718527,
0.0052921465,
-0.02422201,
-0.035025384,
-0.0322595,
0.0566869,
0.015226047,
-0.067586124,
0.019799339,
0.0267962,
-0.012035697,
-0.05783707,
0.016704835,
0.00847565,
-0.043268263,
0.006195851,
-0.005415379,
0.032944128,
-0.007880027,
-0.032752432,
-0.029219769,
-0.040529765,
0.014130648,
0.016828068,
-0.013035249,
-0.041351315,
0.0063601607,
0.053510245,
0.0017748888,
0.04726647,
-0.00761987,
0.02145613,
0.0020692772,
-0.0023106073,
0.03885928,
-0.018950405,
-0.011857695,
0.019470718,
0.013938953,
0.050662205,
-0.012645013,
0.021716285,
0.04261102,
-0.0419264,
-0.045979377,
-0.0020487385,
0.016882839,
0.013884183,
0.011748155,
-0.020538732,
0.046088915,
0.041762087,
0.029904393,
0.011967234,
-0.07536346,
-0.004405558,
-0.02745344,
0.0018056969,
-0.0012674109,
-0.035299234,
-0.0026580542,
0.041214388,
-0.044883978,
-0.016773298,
0.013562409,
0.014979582,
-0.027617749,
0.017457923,
-0.035244465,
0.026494965,
-0.06922922,
-0.0098106675,
-0.02856253,
0.009221891,
0.0018262356,
0.02834345,
-0.005696075,
-0.0027299398,
0.019196868,
0.02652235,
0.031109333,
0.019032558,
-0.024235705,
0.038448505,
-0.009030196,
-0.023332,
-0.03036994,
0.029411465,
0.021771057,
-0.043596882,
-0.0061273887,
0.01815624,
0.014938504,
-0.042802718,
0.018252086,
0.07979982,
-0.034915846,
0.01053637,
-0.016581602,
-0.002059008,
-0.038010348,
-0.023208767,
0.000007922656,
0.0033700636,
-0.022044906,
0.030315168,
-0.0076814857,
0.034313377,
0.040310685,
-0.0011253514,
0.0072501726,
0.048882183,
0.0000269972,
0.01408957,
0.030534249,
-0.032670278,
0.00437475,
0.0030397323,
0.012241084,
0.02796006,
-0.007797872,
0.028808996,
0.013226944,
-0.005562573,
-0.0561392,
-0.0046383305,
0.016526833,
0.013665103,
0.028973306,
-0.0069763227,
-0.012816169,
0.012597089,
-0.027193282,
0.01838901,
-0.030315168,
-0.04474705,
0.009598434,
0.004258364,
-0.012172622,
-0.008441419,
-0.011364765,
-0.02768621,
0.017594848,
0.02872684,
-0.0016961569,
0.03891405,
0.012501242,
0.038065117,
-0.045267366,
-0.015390357,
-0.019511797,
0.02189429,
-0.03532662,
-0.012090467,
0.049156033,
0.050388355,
0.036476787,
-0.00063798437,
-0.051867146,
0.0087495,
-0.018443782,
-0.01263132,
-0.0076677934,
0.02289384,
-0.0339026,
0.008058029,
-0.02783683,
0.010146134,
-0.02911023,
0.044610128,
0.021278126,
0.014568808,
0.0112689175,
-0.0005344349,
-0.0009191083,
-0.010180365,
0.004741024,
0.011131993,
0.00011563734,
-0.009694282,
-0.01717038,
0.035354003,
0.04764986,
0.031602263,
0.038284197,
-0.015828516,
0.033519212,
0.013062634,
-0.031273644,
-0.038804512,
0.035655238,
-0.0095299715,
0.012398548,
0.030178243,
-0.002171971,
0.004713639,
-0.0025450913,
0.0028771341,
0.028261296,
-0.026056806,
-0.02492033,
-0.045678142,
-0.033519212,
0.041789476,
-0.0355457,
-0.030698558,
-0.019415949,
-0.0072501726,
0.051264677,
-0.0036867023,
0.01921056,
0.020935815,
0.0109882215,
0.03330013,
0.0131995585,
0.020442884,
-0.009468355,
0.0052887234,
-0.02415355,
0.0019785645,
-0.017813927,
-0.026440194,
-0.031821344,
-0.023811238,
-0.037161414,
0.0148015795,
0.011166224,
-0.009276661,
0.041844245,
-0.037435263,
-0.019991033,
-0.05608443,
-0.023140306,
-0.02713851,
0.016718527,
0.04110485,
-0.08472912,
-0.027699905,
0.023742775,
-0.019457025,
0.03412168,
0.038886666,
0.07114617,
0.001976853,
0.053455476,
0.0076130233,
0.010933452,
-0.009126043,
0.0122136995,
0.0035395082,
-0.012624474,
0.028014831,
0.009276661,
-0.030123474,
-0.008030645,
-0.032013036,
-0.016964993,
0.018567014,
0.0005973348,
-0.024358936,
0.0023807813,
0.019813031,
-0.03308105,
-0.009002811,
0.099845625,
-0.02085366,
-0.020210113,
-0.002764171,
0.024865558,
-0.043952886,
0.013665103,
-0.073391736,
0.023729082,
-0.017540077,
-0.029877009,
-0.008687884,
-0.057891842,
0.0001707282,
-0.0059562325,
-0.017622232,
-0.043761194,
0.04899172,
-0.009379354,
0.02172998,
0.0040837848,
-0.029849624,
-0.00367301,
0.023140306,
0.067531355,
0.028370835,
0.10543216,
0.035381388,
-0.000939647,
-0.00577823,
0.019059943,
0.020456577,
0.0012160641,
0.007263865,
0.0006670809,
-0.008961733,
0.0014753656,
-0.048882183,
-0.011878233,
0.052962545,
0.042282403,
0.022934917,
-0.020566117,
-0.0020042378,
-0.06911968,
0.009317738,
-0.04099531,
0.033382285,
0.006979746,
-0.009146582,
0.046527077,
-0.086043596,
0.21929888,
0.06731227,
0.04628061,
0.042528868,
0.019607643,
0.02409878,
0.023646927,
-0.009591588,
0.030178243,
-0.052195765,
-0.008270263,
-0.024194626,
-0.051428985,
0.040201146,
-0.01306948,
0.042528868,
-0.05833,
0.015814824,
-0.0033906023,
-0.025002483,
-0.05986356,
0.023756467,
-0.015253432,
0.030397324,
-0.014007416,
0.010337829,
0.009899669,
-0.024413707,
0.030534249,
-0.00067777815,
0.0017107052,
-0.08341464,
0.032971513,
-0.012857246,
-0.020264883,
0.008783732,
-0.0344503,
-0.044281505,
0.027097434,
-0.0040358608,
0.0038544354,
-0.015705284,
-0.001968295,
-0.02344154,
0.0005973348,
0.026946817,
0.010707526,
0.0006499653,
0.05696075,
-0.012378009,
0.03423122,
-0.02542695,
0.028124372,
-0.0128709385,
-0.07169387,
-0.047458164,
-0.0012956517,
-0.039872527,
-0.034696765,
-0.009687436,
0.040091604,
0.009584742,
0.0015772035,
-0.0029233461,
-0.034422915,
0.040940538,
0.011378458,
0.011809771,
-0.013747258,
-0.024194626,
0.015814824,
0.0050354125,
-0.021716285,
-0.031383183,
0.03423122,
0.006034964,
-0.008674191,
-0.0068017435,
0.008934349,
-0.02850776,
0.013959492,
0.0089206565,
-0.027028972,
-0.005973348,
0.0058809235,
0.066381186,
-0.024988791,
0.043870732,
-0.022250293,
0.027932676,
-0.016937608,
0.030452093,
-0.00599731,
-0.018525936,
-0.0066511263
] | Documentation resources
- Text classification task guide
- Question answering task guide
- Causal language modeling task guide
GPTJConfig
[[autodoc]] GPTJConfig
- all
GPTJModel
[[autodoc]] GPTJModel
- forward
GPTJForCausalLM
[[autodoc]] GPTJForCausalLM
- forward
GPTJForSequenceClassification
[[autodoc]] GPTJForSequenceClassification
- forward
GPTJForQuestionAnswering
[[autodoc]] GPTJForQuestionAnswering
- forward |
[
0.00071844726,
-0.026905574,
-0.00049406476,
0.014563692,
-0.030617623,
-0.035603147,
-0.013764382,
0.032866526,
-0.03733724,
0.07359067,
0.0039796135,
0.02693267,
0.02517148,
-0.006828001,
-0.030698907,
0.024941169,
-0.02083624,
-0.024778597,
-0.037608195,
-0.00046908634,
0.03728305,
0.027461026,
-0.05077648,
-0.04871724,
-0.016528096,
0.017286763,
-0.0028195984,
-0.016948072,
0.05733353,
0.06540791,
-0.011420644,
-0.034302574,
-0.009117548,
-0.027691336,
-0.06210229,
-0.014780453,
-0.0062962566,
-0.0030058783,
-0.009720418,
-0.047552146,
-0.000350333,
-0.024792146,
0.044842623,
-0.04798567,
-0.02140524,
-0.025090193,
-0.027176525,
-0.0056866137,
-0.027108788,
-0.022326479,
-0.0072953934,
-0.008446941,
-0.00520906,
-0.03438386,
-0.019007312,
-0.03454643,
-0.050072003,
-0.006875417,
-0.034519337,
0.008595965,
0.023843812,
0.05020748,
-0.051833194,
-0.04606191,
0.004816179,
0.039586145,
-0.02186586,
0.013093775,
0.011203882,
-0.026621073,
-0.02083624,
0.025577907,
0.010451989,
-0.0009483334,
-0.03630762,
-0.0022472115,
0.03774367,
-0.0100523345,
-0.02151362,
0.041320242,
-0.032839432,
0.040778335,
-0.018926026,
0.007932132,
-0.009882989,
-0.07499962,
0.038854577,
0.006357221,
0.007207334,
-0.029371241,
-0.031755622,
0.0038272028,
-0.043108527,
-0.014550144,
-0.0013471415,
0.03695791,
0.014766906,
0.043975577,
0.023071596,
0.002447039,
0.01895312,
0.05020748,
0.03183691,
-0.017327406,
-0.03273105,
0.027054599,
0.017110644,
-0.005202286,
-0.02042981,
-0.066871054,
0.015132692,
0.0054224352,
0.0054867864,
-0.016121669,
0.014468858,
-0.0074782865,
0.016121669,
-0.01793705,
0.028422907,
-0.02293612,
-0.008582418,
-0.011183561,
0.012192858,
-0.050424244,
-0.0063233515,
-0.005913536,
0.009625584,
0.02254324,
-0.041807957,
0.0044436194,
-0.014753358,
-0.0067941314,
0.009320763,
0.029588003,
-0.008352108,
0.0031633694,
0.0044808756,
0.020605931,
-0.042485338,
0.022624526,
0.0061269114,
0.014658525,
0.0075866673,
0.09694677,
-0.01127162,
0.003053295,
-0.009835572,
-0.003012652,
-0.059230197,
0.00080862356,
-0.019711787,
0.012199632,
0.008311465,
-0.050288767,
0.012219953,
-0.048229527,
0.0063267387,
0.0021794734,
0.045980625,
0.023329003,
-0.010181037,
-0.0019102144,
-0.013798251,
0.026499145,
-0.004186215,
0.030726003,
-0.019129239,
0.0009678081,
0.0019847264,
-0.038393956,
0.043298196,
-0.019996287,
0.01155612,
0.04481553,
0.079497434,
0.017666098,
0.026973313,
-0.006181102,
0.046603814,
0.03671405,
-0.00123114,
0.006641721,
0.010086203,
0.018993763,
0.0055511375,
0.016094573,
-0.0013962516,
-0.021242669,
0.015864264,
0.01889893,
0.0005143862,
0.015376549,
-0.02517148,
0.013256347,
0.017584812,
-0.005005846,
-0.04001967,
0.018004788,
0.00492456,
-0.04657672,
-0.0523751,
0.027677787,
-0.055707816,
-0.027339097,
0.007071858,
0.0058593457,
0.009198834,
0.022367122,
-0.008541775,
0.020402716,
0.014252096,
-0.021364598,
-0.053702768,
-0.008704346,
0.022583883,
-0.034356765,
0.012599287,
0.026770098,
-0.012660251,
0.004860209,
-0.012118346,
0.050939053,
0.0643241,
0.0031328872,
-0.015593311,
-0.04936753,
-0.0061844885,
0.035305098,
-0.0075527984,
0.0466851,
-0.0005410581,
0.024683764,
0.006089655,
0.07315715,
0.01514624,
-0.017462883,
0.035847005,
0.0449781,
0.020903978,
-0.009158191,
0.002762021,
0.0529441,
0.005605328,
0.048012767,
-0.016324883,
0.018749906,
-0.028856432,
-0.0024334912,
0.024494097,
0.018072525,
-0.040615767,
0.072994575,
0.047416672,
-0.031213718,
-0.018018335,
-0.039017145,
0.03573862,
0.04126605,
-0.034085814,
0.0026265448,
0.033408433,
0.008297917,
-0.014495954,
-0.037608195,
0.012341882,
0.070826955,
0.009307215,
0.0030261998,
0.015918454,
-0.07126048,
-0.027569408,
-0.043135624,
-0.05847153,
-0.009571394,
-0.053133767,
-0.009388501,
0.023044502,
-0.024521193,
0.005093905,
0.0067230067,
0.019129239,
-0.022028431,
-0.030698907,
0.040615767,
0.020118216,
-0.004135411,
-0.03153886,
-0.013486656,
-0.07331972,
0.0034851253,
-0.029615099,
-0.033923242,
-0.035169624,
-0.028531289,
0.032460097,
0.018519597,
-0.0033327146,
-0.06968896,
-0.005703548,
-0.0032988456,
-0.03831267,
-0.023017406,
-0.010851644,
0.01832993,
-0.034194194,
0.0065164054,
0.042539526,
-0.02691912,
0.07321134,
0.034085814,
-0.019969191,
0.025239216,
0.016324883,
0.024209598,
-0.071423054,
0.04110348,
0.042973053,
0.0020439972,
-0.011813525,
-0.018885383,
-0.044761337,
0.02983186,
-0.021269763,
0.0053750183,
-0.006682364,
0.018289287,
-0.016351977,
-0.062481623,
0.0076205363,
-0.024290884,
-0.07163981,
-0.019549215,
-0.019887907,
0.018478954,
0.021879407,
0.02766424,
-0.07201915,
0.009192061,
0.000017278508,
0.024629574,
0.013791477,
-0.0024402651,
-0.02561855,
0.014834644,
0.0019745657,
0.0074037747,
0.063511245,
-0.048581768,
-0.031457573,
-0.02659398,
0.0070108934,
-0.007424096,
0.008277596,
-0.0026587204,
-0.00092970545,
0.04110348,
-0.012382525,
0.030780192,
0.042973053,
0.043352384,
-0.008494358,
0.020538192,
0.019847265,
-0.014441763,
-0.0152410725,
-0.0574961,
0.0065807565,
0.016690668,
0.044598766,
-0.026390765,
0.009774608,
-0.037418526,
-0.013452787,
-0.025361145,
0.004860209,
-0.048094053,
0.048798528,
-0.001017765,
0.06865934,
0.039017145,
-0.04207891,
-0.0029025776,
-0.036172148,
0.043623336,
0.039423574,
0.00030842004,
-0.046766385,
-0.013588263,
-0.047525052,
-0.0023268037,
-0.018926026,
0.015064954,
0.022692263,
0.002799277,
-0.045221955,
-0.038339764,
0.044436194,
0.037255954,
-0.0052700243,
0.057983816,
-0.03576572,
-0.004965203,
0.053540196,
0.008731442,
-0.0028636283,
0.02026724,
-0.03438386,
0.05226672,
0.04145572,
0.021188479,
-0.005930471,
-0.04508648,
0.0018509437,
0.03939648,
0.017002264,
0.012578965,
-0.049882337,
0.016175859,
-0.0070583103,
0.035034146,
-0.02659398,
0.019765979,
0.010214905,
0.0043216906,
0.042729195,
-0.009943954,
-0.0016138603,
-0.029696384,
0.01386599,
0.04142862,
0.009876215,
-0.0011227591,
-0.0060828817,
-0.050586812,
-0.014888834,
0.07510801,
0.02442636,
-0.025577907,
0.022231644,
-0.002858548,
0.0059440183,
0.0040608994,
0.011014216,
-0.027068146,
-0.033787765,
-0.022909027,
0.023952192,
0.0028314525,
-0.012043835,
-0.027000407,
0.02044336,
-0.059934672,
0.007979549,
-0.04275629,
-0.008297917,
-0.015159787,
0.012816049,
0.03739143,
0.018655073,
-0.01571524,
-0.010567144,
-0.036280528,
0.050749384,
-0.0021896341,
-0.029479621,
0.034979954,
0.016636478,
0.026214644,
0.045547098,
0.010018465,
-0.004247179,
0.017557716,
0.060259815,
-0.043569148,
0.012470584,
0.0015816847,
0.024006383,
-0.043785907,
-0.03877329,
-0.010255548,
-0.06936382,
0.04533034,
-0.04218729,
-0.04207891,
-0.037147574,
-0.03221624,
-0.038556527,
-0.0103300605,
-0.022096168,
0.047227003,
-0.04088672,
-0.02185231,
-0.015593311,
-0.023152882,
-0.10003563,
-0.04576386,
-0.059826292,
-0.021242669,
0.0023928485,
0.003016039,
0.03722886,
-0.04814824,
-0.051643528,
0.059555337,
-0.01929181,
0.013093775,
0.002331884,
0.041401528,
0.014956573,
-0.0033394883,
-0.051372577,
-0.0046197386,
0.01861443,
-0.007925358,
-0.0012142055,
-0.0048466614,
0.027433932,
-0.04828372,
-0.03330005,
0.028233241,
-0.005886441,
-0.08524162,
-0.018045431,
0.05475948,
0.02618755,
0.013913406,
0.04549291,
-0.03454643,
-0.06166877,
-0.036985002,
0.012545097,
-0.0022014882,
0.026038526,
-0.042783383,
-0.032433003,
0.016419716,
-0.0039321966,
0.030075718,
-0.056032956,
-0.01713774,
-0.021933597,
-0.004714572,
-0.016582288,
-0.031674337,
-0.053377625,
0.004203149,
-0.02362705,
0.019481478,
0.018858287,
0.023085145,
-0.0152410725,
0.0072953934,
0.014888834,
0.00075485645,
-0.04587224,
0.013303763,
-0.023030955,
0.004819566,
-0.018099621,
0.007166691,
-0.03909843,
-0.008670477,
-0.032839432,
0.030942764,
-0.01628424,
-0.009666227,
-0.027745526,
0.027637145,
0.03443805,
-0.03939648,
-0.003891554,
0.031918194,
0.054461434,
0.015566216,
0.006990572,
-0.039721623,
-0.013838894,
-0.04942172,
-0.04519486,
0.015105597,
-0.042431146,
-0.01832993,
-0.0030380539,
0.017571263,
0.05061391,
-0.046305764,
0.06790067,
0.07245267,
-0.0045249052,
0.014360477,
-0.036632765,
0.042783383,
0.029967336,
-0.00029254393,
-0.03630762,
0.0021760864,
0.016135216,
-0.017313858,
0.02293612,
-0.039748717,
-0.027013956,
0.01690743,
0.06741296,
-0.015701693,
0.023776073,
0.02158136,
-0.047118623,
-0.056791626,
-0.0041117026,
0.0039728396,
-0.0019508573,
0.032758147,
0.024724407,
0.01690743,
-0.010634881,
-0.003918649,
-0.03733724,
-0.029344145,
0.049042385,
0.011772882,
-0.031051146,
0.0032175598,
0.025943693,
-0.027081693,
-0.051616434,
0.0020439972,
-0.029371241,
-0.043677527,
-0.02117493,
-0.032703955,
0.017340954,
-0.02522567,
0.0053343754,
0.03335424,
-0.015024311,
0.022461955,
-0.006235292,
-0.0118880365,
-0.0654621,
-0.0017561102,
0.031213718,
-0.01930536,
0.014997216,
-0.06762972,
0.024805693,
0.014523049,
0.0017180076,
0.062535815,
-0.007031215,
0.0019915001,
0.052862816,
0.006926221,
0.04885272,
0.016175859,
0.015430739,
0.024927622,
-0.01747643,
-0.040913813,
-0.037662383,
0.01662293,
0.027230717,
-0.0035020597,
-0.020077573,
0.034058716,
0.0392881,
0.062752575,
-0.016311334,
-0.06654591,
-0.015891358,
-0.037581097,
0.010973573,
0.0030922443,
0.0028805628,
-0.002907658,
0.011596763,
-0.03289362,
-0.002308176,
0.020362074,
0.0034885122,
-0.01075681,
0.0035257682,
-0.053702768,
0.044327814,
-0.048608862,
-0.026458502,
-0.02510374,
-0.008988846,
0.008589191,
-0.007234429,
-0.028097764,
-0.02920867,
0.0049787504,
0.012158989,
-0.0075866673,
-0.003891554,
-0.015281715,
0.04508648,
-0.008480811,
-0.003986387,
-0.021093644,
0.051643528,
0.018478954,
-0.0068313875,
0.008277596,
-0.010926155,
-0.003349649,
-0.0069296076,
0.044029765,
0.04435491,
-0.0072276555,
-0.009456239,
-0.009158191,
0.009794929,
0.005459691,
0.0042234706,
-0.0142114535,
-0.0076815006,
-0.01674486,
0.045520004,
-0.022014882,
0.060422387,
0.041618288,
-0.01644681,
-0.029913146,
0.034112908,
0.005452917,
0.0113596795,
0.016365524,
-0.019169882,
0.025740478,
0.00947656,
0.026350122,
0.037852053,
-0.030184098,
0.0054055005,
-0.019589858,
-0.012944751,
-0.043081433,
0.02339674,
0.030238288,
0.01747643,
0.06519115,
-0.026892027,
0.0038407503,
0.031647243,
-0.007837298,
0.0080066435,
-0.052835718,
-0.032487195,
0.02192005,
-0.0061269114,
0.00020956475,
0.0023640597,
-0.031918194,
-0.031159526,
-0.0051243873,
0.05614134,
-0.021892954,
0.023179978,
0.016880335,
0.047714718,
-0.07098953,
0.0026129973,
0.010465536,
0.004135411,
-0.038177192,
0.00014489604,
0.051047433,
0.058254767,
0.016175859,
0.006424959,
-0.027989384,
-0.000087265726,
-0.0034885122,
0.0075527984,
0.0055782325,
-0.016148763,
-0.052239623,
0.018722812,
-0.023830265,
0.011718691,
-0.015376549,
0.01827574,
0.01263993,
0.0031244198,
-0.02487343,
0.04064286,
0.0016993796,
-0.009774608,
0.02414186,
0.026160454,
-0.02590305,
-0.00871112,
-0.027284907,
0.02117493,
0.03143048,
0.027352646,
0.03292072,
0.00021655024,
0.04115767,
0.018411215,
-0.023654144,
0.0072547505,
0.05546396,
-0.016379073,
0.028964812,
0.010255548,
0.0082572745,
-0.0011532411,
0.019251168,
0.020605931,
0.015782978,
-0.03237881,
-0.004318304,
-0.041753765,
0.005361471,
0.036280528,
-0.056195527,
-0.019901454,
-0.02032143,
-0.007383453,
0.01753062,
0.012578965,
0.004558774,
0.025347598,
0.02163555,
0.043108527,
0.0065875305,
0.019481478,
-0.0016350284,
0.058146387,
-0.038800385,
0.04519486,
0.017381597,
-0.024128312,
-0.030238288,
-0.011217429,
-0.039992575,
-0.00009837901,
0.014875287,
-0.02042981,
0.027745526,
-0.019901454,
0.022610977,
-0.058254767,
-0.015633954,
0.02401993,
0.03665986,
0.010350382,
-0.057116766,
-0.026621073,
0.036416,
-0.0025791281,
0.045384526,
0.0037933337,
0.035007052,
-0.015213978,
0.064486675,
0.012755085,
-0.0049143992,
-0.0013395209,
0.015119144,
-0.016514549,
-0.0018611043,
0.004396203,
0.0018644913,
-0.016961621,
0.01713774,
-0.023220621,
-0.010946477,
0.017598359,
-0.004575709,
-0.04332529,
-0.025117287,
0.022610977,
-0.020768503,
0.014035335,
0.063294485,
-0.018736359,
0.0066213994,
-0.0056087147,
-0.0032954586,
-0.04803986,
0.025415335,
-0.053215053,
0.072832,
-0.02584886,
-0.027461026,
-0.035413478,
-0.045249052,
-0.013981144,
0.019793073,
-0.006932995,
-0.036117956,
0.035034146,
0.0067602624,
-0.0038576848,
0.0014589094,
-0.026214644,
-0.017042907,
0.03655148,
0.06676267,
0.0020609316,
0.072181724,
0.019576311,
0.0058119292,
0.00001619364,
0.026282383,
0.0024504259,
0.014929477,
-0.0036883396,
0.022502597,
0.0060490123,
-0.022340026,
-0.033110384,
-0.01907505,
0.04110348,
0.009957501,
0.005280185,
-0.019196978,
-0.0036985003,
-0.07315715,
0.026092717,
0.013574716,
0.04354205,
0.0007692508,
-0.011969322,
0.038177192,
-0.054786578,
0.21372725,
0.07163981,
0.029723478,
0.04747086,
0.0068347743,
0.012761858,
-0.017611906,
-0.028964812,
-0.004971977,
-0.04088672,
-0.0019779527,
-0.04519486,
-0.019969191,
0.071206294,
0.011190334,
0.07153144,
-0.085946105,
0.0061438456,
0.020619478,
-0.016230049,
-0.07418677,
0.04354205,
-0.012734763,
0.046359956,
-0.015037859,
0.013628906,
0.008243727,
-0.00023327308,
-0.0040439647,
-0.004988911,
-0.00026163843,
-0.05055972,
0.024629574,
0.021540716,
-0.047118623,
-0.0052598636,
-0.029100288,
-0.027691336,
0.03888167,
0.010499406,
0.0019965805,
0.021622002,
0.010323287,
-0.01946793,
-0.014238548,
0.0126670245,
-0.00871112,
-0.011949001,
0.057550292,
-0.032839432,
0.030807288,
-0.028937716,
0.041022193,
-0.027637145,
-0.08209858,
-0.011298715,
-0.0051210006,
-0.038800385,
-0.005249703,
0.006956703,
0.023803169,
-0.02926286,
0.0037526907,
0.019210525,
-0.020687217,
0.07814267,
0.023518668,
0.031511765,
0.0071531436,
0.0016799049,
0.015390096,
0.030157004,
-0.012998941,
-0.016961621,
0.03348972,
0.027081693,
0.0058593457,
-0.0118744895,
0.014929477,
-0.03793334,
0.0444091,
-0.02248905,
-0.043650433,
-0.051562242,
0.0002618501,
0.03945067,
-0.012443489,
0.062427435,
-0.015959097,
0.037364338,
0.022732906,
0.03728305,
0.009164965,
-0.015132692,
0.009523977
] | TFGPTJModel
[[autodoc]] TFGPTJModel
- call
TFGPTJForCausalLM
[[autodoc]] TFGPTJForCausalLM
- call
TFGPTJForSequenceClassification
[[autodoc]] TFGPTJForSequenceClassification
- call
TFGPTJForQuestionAnswering
[[autodoc]] TFGPTJForQuestionAnswering
- call
FlaxGPTJModel
[[autodoc]] FlaxGPTJModel
- call
FlaxGPTJForCausalLM
[[autodoc]] FlaxGPTJForCausalLM
- call |
[
0.020056238,
-0.01872302,
-0.019867849,
-0.033185538,
-0.0011258085,
0.015520398,
0.009484688,
-0.028417833,
0.013143792,
0.051299915,
0.012716292,
0.00922384,
0.051154997,
-0.05802397,
0.0051263687,
0.012694555,
0.005082894,
-0.01757819,
-0.042894844,
-0.006343655,
-0.0059197783,
0.04625687,
-0.082601555,
-0.03196825,
-0.01307858,
0.008455791,
0.04750314,
-0.016882598,
0.08410867,
0.027925123,
0.0045467084,
-0.03147554,
0.059878882,
-0.029113425,
-0.019635985,
-0.003800396,
0.015332008,
-0.006307426,
-0.027939614,
-0.025461568,
0.05011161,
-0.0002195236,
0.009658585,
-0.0671826,
-0.026041228,
-0.01650582,
0.021070642,
-0.04692348,
-0.017998444,
-0.02124454,
-0.038924173,
0.016752176,
-0.034315873,
-0.014042265,
-0.020099713,
-0.007242128,
-0.007506598,
-0.015230568,
0.005144483,
-0.00021986324,
0.03735909,
0.033649266,
0.0070211324,
-0.050923135,
-0.007463123,
0.0025070298,
0.008586215,
0.0018087205,
-0.001690977,
-0.040112477,
-0.056806684,
0.0030486495,
-0.04556128,
-0.059589054,
-0.029026477,
0.008383334,
-0.0042931074,
0.0075428262,
-0.01727387,
0.01940412,
0.009774517,
0.0019726555,
-0.025345635,
-0.014759594,
-0.060574476,
-0.022998013,
0.01413646,
-0.031794354,
-0.048198733,
-0.021606829,
-0.008006554,
0.036141805,
-0.020346068,
0.012643835,
0.00005807922,
0.042257216,
0.019418612,
0.02733097,
-0.005086517,
0.0051770885,
-0.017259378,
0.050952118,
-0.043213658,
0.06868972,
-0.05321279,
0.0047206064,
-0.019099798,
-0.0509811,
-0.04315569,
-0.053937368,
0.005235055,
0.010607779,
-0.003249719,
0.010745448,
0.005542999,
0.011549726,
-0.026142668,
0.019085307,
-0.030721983,
-0.022505302,
-0.005024928,
-0.0054741646,
-0.009180366,
0.0054741646,
0.03156249,
-0.032895707,
0.036083836,
0.013165529,
-0.039069086,
-0.01249892,
0.03570706,
-0.016273955,
-0.008528248,
0.04712636,
-0.05074924,
-0.048314665,
-0.024041401,
-0.008636935,
-0.023490723,
0.04477874,
0.005640817,
-0.012542394,
-0.013375656,
0.07981919,
-0.016346414,
0.041184846,
-0.019940306,
-0.03109876,
-0.06132803,
-0.0061443965,
0.018882426,
-0.012658326,
-0.007731216,
0.031910285,
-0.031678423,
0.0028167856,
-0.025664449,
0.043416537,
0.026910719,
0.0335913,
0.030924864,
0.012593115,
-0.049271103,
0.028504783,
-0.030461136,
0.059531085,
-0.049705848,
0.000004893004,
-0.012245319,
-0.02375157,
-0.0062820655,
-0.0049560936,
0.008999222,
0.005865435,
0.04353247,
0.017824546,
0.04779297,
-0.014216162,
-0.0070247552,
-0.001970844,
-0.012919174,
-0.033359434,
0.013455359,
0.0378518,
-0.020606915,
-0.030142322,
0.014042265,
0.0020469246,
0.004264124,
0.012948156,
-0.0044923653,
0.04269196,
-0.053531606,
0.024374705,
-0.018099885,
0.011933751,
0.0019219354,
-0.027649784,
0.0077674445,
-0.045822125,
-0.029939441,
0.029374273,
-0.0028946775,
-0.02375157,
-0.06109617,
0.028113512,
0.033881128,
0.060574476,
-0.06295108,
0.010006381,
0.03396808,
0.012107649,
0.0028946775,
-0.005285775,
0.05358957,
-0.0027588196,
0.017375309,
0.017679632,
-0.009310789,
-0.015172602,
0.034141976,
0.025794871,
0.010230999,
-0.028925037,
0.0007164236,
0.03408401,
0.0014699816,
0.027432412,
0.027925123,
0.02356318,
0.0031645815,
0.005028551,
0.006763908,
0.025577499,
0.03698231,
0.009789009,
0.014672644,
0.025722414,
0.005716897,
0.016158024,
-0.010600533,
0.023577671,
0.03367825,
-0.0033620282,
0.011136719,
0.016926073,
-0.027823683,
0.021056151,
-0.012955402,
-0.005691537,
-0.030635033,
0.051705677,
-0.0007965797,
-0.00854274,
-0.059183292,
-0.011962734,
0.0046952465,
0.02530216,
0.0058509437,
-0.03109876,
-0.031649437,
0.028504783,
-0.013237987,
0.014150951,
0.04741619,
0.08179003,
0.0049452246,
0.02124454,
-0.008506511,
-0.06132803,
-0.017969461,
-0.04477874,
-0.11558421,
-0.016737685,
-0.050836187,
-0.056516856,
0.005053911,
-0.016592769,
0.023215385,
0.008905027,
-0.012846716,
-0.006745794,
-0.03243198,
0.016563786,
0.05828482,
0.029562661,
-0.025331143,
0.06063244,
0.0016293882,
-0.003266022,
0.0073109623,
-0.03396808,
-0.02646148,
0.03996756,
-0.0145567125,
-0.057850074,
-0.021070642,
0.016389888,
-0.04411213,
0.007521089,
0.000034021064,
0.0037677903,
-0.025635466,
0.040866032,
-0.050053645,
0.01969395,
-0.025331143,
-0.021838693,
0.04269196,
0.027910631,
-0.027070124,
0.036634516,
-0.019360645,
0.049445003,
-0.019751916,
0.052864995,
0.062429387,
-0.02412835,
-0.001227249,
-0.011767099,
-0.008861553,
0.019853357,
0.0065863873,
-0.06434227,
-0.04469179,
0.02801207,
0.012527903,
-0.057589225,
-0.02327335,
-0.05298093,
-0.063646674,
-0.009433967,
-0.018737512,
0.04063417,
0.012042438,
0.014216162,
-0.028099021,
0.021490896,
-0.00820219,
-0.0054234443,
-0.008318122,
-0.051154997,
0.038547393,
0.023534197,
0.0065465355,
-0.0003568532,
0.010759939,
-0.024302248,
0.04848856,
0.01544794,
0.0116801495,
0.038199596,
0.02586733,
-0.008586215,
-0.03127266,
0.01018028,
-0.018969376,
-0.006129905,
0.016288448,
-0.014107476,
0.035967905,
0.04124281,
-0.010774431,
0.03127266,
-0.024461653,
0.0054017073,
0.013890103,
0.007818165,
0.019925814,
-0.03756197,
0.012535148,
-0.033620283,
-0.028504783,
-0.001932804,
0.0007843525,
-0.031997234,
0.060690407,
0.02433123,
0.045880094,
-0.029577155,
0.010317949,
0.023606656,
-0.018766494,
0.022940047,
0.04141671,
-0.00072321645,
-0.057879057,
-0.0049778307,
-0.04443094,
-0.02228793,
0.0073979115,
0.02499784,
-0.056719735,
0.011651167,
-0.0046010516,
-0.03727214,
0.0036192525,
0.006452341,
0.01611455,
0.003646424,
0.046865515,
0.00006379657,
0.025896313,
-0.0033040622,
-0.014759594,
-0.037590954,
-0.045706194,
0.011868539,
0.004122832,
-0.035967905,
-0.04443094,
0.002525144,
-0.007176916,
0.0046046744,
-0.016824633,
0.036112823,
-0.017447768,
-0.0076515125,
-0.0073870425,
0.057212446,
0.035475194,
0.0016574655,
-0.04750314,
-0.0013712583,
-0.0013422753,
-0.033359434,
0.0032642107,
-0.062893115,
0.036112823,
0.019056324,
-0.03773587,
-0.0033547825,
0.004760458,
-0.021012677,
-0.039793663,
0.05416923,
0.073732756,
-0.008890536,
0.026012244,
-0.02876563,
0.011339599,
-0.0014708873,
0.020983694,
-0.029997407,
0.033620283,
-0.016288448,
0.007050115,
0.01795497,
-0.014810314,
0.01323074,
0.048198733,
-0.041097898,
0.033823162,
-0.024838433,
-0.039358918,
0.011216422,
0.015578364,
-0.05471991,
0.02491089,
0.013042351,
-0.0066660903,
-0.0067349253,
0.02499784,
-0.014679891,
-0.033446386,
0.0044670054,
0.01154248,
0.029359782,
0.027867157,
-0.028838087,
-0.0040866034,
0.026504956,
0.015665313,
-0.0881663,
-0.000027355538,
-0.017331835,
-0.018853443,
-0.016926073,
-0.033504352,
0.03156249,
-0.01852014,
0.03196825,
0.013346673,
0.033127572,
-0.01834624,
-0.035098415,
-0.0019545413,
0.017013023,
-0.03669248,
0.041097898,
0.021056151,
0.01563633,
-0.0068399888,
-0.002334943,
-0.021128608,
-0.027649784,
-0.03590994,
0.007053738,
0.041358743,
-0.022157505,
0.044633824,
-0.010665745,
-0.037793834,
-0.0077819363,
0.00052486407,
0.012375742,
-0.04034434,
-0.0033928228,
-0.019824374,
-0.025881821,
-0.03698231,
0.011245405,
-0.023012504,
0.010412144,
0.0101368055,
0.005452427,
-0.0059089097,
-0.038199596,
-0.025432585,
0.038170613,
-0.017737597,
-0.04538738,
-0.0364896,
0.008397825,
0.008760112,
0.007694987,
0.015172602,
-0.019230222,
-0.049792796,
-0.038692307,
0.014955229,
-0.060806338,
0.004133701,
-0.02308496,
-0.0015442506,
-0.006267574,
0.01611455,
0.036344685,
-0.003030535,
-0.007006641,
-0.038663324,
0.0018893294,
-0.03060605,
-0.038083665,
-0.018433189,
-0.0060320874,
-0.055241603,
0.047068395,
-0.003198999,
-0.027591819,
0.015172602,
0.011325108,
0.029881475,
0.041155864,
-0.041387726,
-0.041532643,
0.003977917,
-0.020635897,
0.0040866034,
-0.028562749,
-0.03127266,
0.05074924,
-0.03347537,
0.03776485,
-0.034518756,
-0.020925727,
0.004035883,
-0.051415846,
0.05599516,
0.0011375828,
0.005546622,
-0.03562011,
0.014882771,
0.018389715,
-0.027171565,
-0.014382815,
-0.014361078,
-0.015969634,
-0.049705848,
0.010680236,
-0.014911755,
0.024012417,
-0.02530216,
0.012187352,
0.0378518,
0.0123467585,
0.024751484,
0.06567548,
0.004590183,
-0.01481756,
-0.021650303,
0.011412057,
0.017418785,
-0.016810142,
-0.021679286,
-0.0069269375,
0.011470024,
0.013375656,
-0.051879574,
-0.04095298,
-0.02838885,
0.020708354,
0.03434486,
-0.0071551786,
0.029200375,
-0.007086344,
-0.017230395,
-0.019027341,
0.038924173,
0.010317949,
-0.01191926,
0.00777469,
0.0051336144,
0.007032001,
0.07477614,
-0.012593115,
-0.048778392,
0.0026827392,
0.0758775,
-0.00398154,
-0.04990873,
0.04848856,
0.04150366,
0.018911408,
-0.020490984,
-0.0071334415,
0.008905027,
0.0042605014,
-0.007470369,
-0.0066334847,
0.0044633825,
-0.017824546,
0.0152450595,
0.006387129,
-0.019607002,
-0.014658153,
0.052140422,
0.03272181,
-0.036460616,
0.007205899,
0.045126535,
-0.028722156,
-0.010788922,
-0.020490984,
-0.016940564,
-0.037677903,
-0.05086517,
0.042054337,
-0.025838347,
0.019143272,
0.03947485,
0.03483757,
0.0335913,
0.01139032,
0.0026682476,
0.024113858,
-0.022461826,
-0.037417054,
-0.005202449,
0.054111265,
0.0077457074,
0.045996025,
-0.053270757,
0.017230395,
0.017360818,
0.001723583,
-0.053531606,
-0.02308496,
-0.0044271536,
-0.0526911,
-0.013614765,
-0.0041409465,
-0.0108976085,
0.0062639513,
0.028099021,
-0.027765715,
-0.03877926,
0.018041918,
0.035069432,
-0.03872129,
-0.045358397,
-0.033736214,
-0.013049597,
-0.032692827,
-0.036344685,
-0.0017444144,
-0.01631743,
0.027910631,
0.020592423,
-0.034055028,
0.0038982139,
0.04170654,
-0.008890536,
-0.007521089,
0.03492452,
-0.021563353,
0.0045213485,
-0.05529957,
0.034605704,
-0.0021556108,
-0.020969203,
0.027693259,
-0.04593806,
-0.00854274,
0.008238418,
0.025765888,
-0.0014681702,
0.01302786,
0.01486828,
-0.013245232,
0.008209435,
-0.012607606,
0.031127745,
-0.053444657,
-0.046575684,
0.027533852,
0.0031718274,
-0.008339859,
0.020244626,
0.036228754,
0.065037854,
0.023302333,
0.036141805,
-0.032316048,
0.04816975,
0.0053328723,
0.0182448,
0.043387555,
-0.004727852,
0.005923401,
-0.038547393,
0.019476578,
0.026562922,
-0.033997063,
0.035880957,
0.026302075,
-0.026533939,
-0.005945138,
-0.016679717,
0.019491069,
0.030837914,
0.024534112,
0.03860536,
-0.0027570082,
0.008521003,
0.010035365,
-0.031533506,
-0.04159061,
-0.023316825,
0.028113512,
-0.07216767,
0.025563007,
-0.00398154,
-0.050082628,
0.04402518,
0.03347537,
0.03214215,
0.022635724,
0.03544621,
0.00093923043,
-0.00032356803,
-0.077500544,
0.004249633,
0.009187612,
0.029171392,
-0.0644582,
-0.05567635,
0.012361251,
0.046111956,
0.00543069,
-0.047358226,
-0.07158802,
-0.010636762,
0.01969395,
-0.0141871795,
0.0013468039,
0.045155518,
-0.033620283,
0.034373842,
-0.014085739,
-0.034605704,
0.057067532,
0.041532643,
0.01249892,
0.012382988,
-0.0048474073,
0.0108976085,
0.058690578,
-0.0145784505,
0.04903924,
-0.013527816,
0.044633824,
0.011883031,
0.008050029,
-0.018708527,
0.05164771,
0.009086171,
0.004615543,
-0.00960062,
0.049705848,
0.03715621,
-0.03330147,
0.02153437,
0.054285165,
-0.043039758,
-0.0033058736,
0.025809364,
-0.05222737,
0.023722587,
-0.013665485,
0.01057155,
0.0033674627,
0.026751311,
0.0056697996,
0.047358226,
-0.009310789,
0.021853184,
-0.018549122,
-0.030258255,
-0.024041401,
0.046372805,
0.026852751,
0.008499266,
0.018954884,
-0.0108034145,
0.0007064607,
0.043648403,
0.0062240995,
0.018012935,
0.007238505,
-0.008281893,
-0.02124454,
0.03773587,
-0.013252478,
-0.013585783,
0.0074993516,
-0.029591646,
-0.055154655,
0.051386863,
-0.009136892,
-0.029562661,
0.025418093,
-0.035127398,
-0.040112477,
-0.060864303,
0.0087093925,
-0.043271624,
0.015897177,
0.009839729,
-0.04283688,
-0.0509811,
0.007528335,
-0.054864824,
0.0059994813,
0.042894844,
0.034228925,
-0.013564045,
0.11767099,
0.042720944,
0.025041314,
0.028055547,
0.013911841,
-0.04901026,
0.0016420683,
-0.008419562,
-0.021925641,
0.006013973,
-0.045967042,
-0.061907694,
0.04776399,
0.031823337,
0.028925037,
-0.019230222,
0.020056238,
0.001204606,
-0.012469937,
-0.016100058,
0.06729853,
-0.02664987,
0.030693,
0.022476317,
-0.031127745,
-0.036460616,
-0.020679371,
-0.012426462,
0.04132976,
0.0027008536,
-0.018186834,
-0.011672904,
-0.027867157,
-0.014129214,
-0.0020106959,
0.0036772185,
0.005220563,
0.025432585,
0.048807375,
0.019751916,
-0.0044271536,
0.012861207,
-0.044488907,
0.042170268,
0.045329414,
-0.006093676,
0.09900594,
0.046285853,
-0.011875785,
0.01447701,
0.016955057,
0.013665485,
0.0046082973,
-0.008310876,
0.0029309061,
0.021809708,
-0.0072203903,
-0.00017672838,
0.017708614,
0.04269196,
-0.012274302,
-0.00398154,
-0.03996756,
-0.014382815,
-0.015259551,
0.050082628,
-0.034982484,
0.02346174,
0.0015741393,
-0.0525172,
0.0028258427,
-0.018128868,
0.24948569,
0.064516164,
0.037011296,
0.04886534,
0.026302075,
0.005122746,
0.056487873,
-0.038489427,
0.0050937627,
-0.0059958585,
0.024041401,
-0.011129472,
-0.007086344,
-0.008796341,
0.0026628133,
0.029098934,
-0.021085134,
-0.0030432153,
-0.00340188,
-0.027084615,
-0.04411213,
0.024577586,
-0.00970206,
0.0076515125,
0.016172515,
0.0049814535,
0.006361769,
-0.017331835,
-0.029765543,
0.0031174843,
0.043880265,
-0.020679371,
0.044141114,
-0.025215212,
-0.0334174,
0.045532297,
0.028562749,
-0.054140247,
-0.047271278,
-0.006651599,
-0.014259637,
-0.03533028,
-0.007202276,
0.016882598,
-0.052488215,
0.057096515,
0.0064921924,
-0.048952293,
0.027635293,
-0.07692089,
0.044343993,
-0.00706823,
0.05471991,
-0.01399879,
-0.042518064,
-0.008477529,
-0.025360128,
-0.023389284,
0.04741619,
-0.0037931504,
0.004532217,
0.009165875,
-0.009354264,
-0.003945311,
-0.01336841,
0.002963512,
-0.005162597,
0.024765976,
0.0033457254,
-0.005604588,
0.024780467,
0.0019545413,
-0.008144224,
-0.000036992955,
0.01825929,
0.036373667,
0.0061154133,
0.06984904,
-0.0031772617,
-0.03022927,
-0.010216508,
-0.0057821088,
0.010173034,
-0.04863348,
0.036808413,
0.015766753,
-0.048923306,
-0.000052956246,
-0.018404206,
0.021693777,
0.023113944,
0.02895402,
0.012397479,
0.0046336576,
0.0031174843
] |
MobileViT
Overview
The MobileViT model was proposed in MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision Transformer by Sachin Mehta and Mohammad Rastegari. MobileViT introduces a new layer that replaces local processing in convolutions with global processing using transformers.
The abstract from the paper is the following:
Light-weight convolutional neural networks (CNNs) are the de-facto for mobile vision tasks. Their spatial inductive biases allow them to learn representations with fewer parameters across different vision tasks. However, these networks are spatially local. To learn global representations, self-attention-based vision trans-formers (ViTs) have been adopted. Unlike CNNs, ViTs are heavy-weight. In this paper, we ask the following question: is it possible to combine the strengths of CNNs and ViTs to build a light-weight and low latency network for mobile vision tasks? Towards this end, we introduce MobileViT, a light-weight and general-purpose vision transformer for mobile devices. MobileViT presents a different perspective for the global processing of information with transformers, i.e., transformers as convolutions. Our results show that MobileViT significantly outperforms CNN- and ViT-based networks across different tasks and datasets. On the ImageNet-1k dataset, MobileViT achieves top-1 accuracy of 78.4% with about 6 million parameters, which is 3.2% and 6.2% more accurate than MobileNetv3 (CNN-based) and DeIT (ViT-based) for a similar number of parameters. On the MS-COCO object detection task, MobileViT is 5.7% more accurate than MobileNetv3 for a similar number of parameters.
This model was contributed by matthijs. The TensorFlow version of the model was contributed by sayakpaul. The original code and weights can be found here.
Usage tips |
[
0.054936405,
0.007858472,
-0.01118265,
0.0124219265,
-0.0152212335,
-0.03280438,
0.044380683,
0.0075668776,
0.023006808,
0.04093987,
-0.023283822,
0.004957107,
0.018151758,
-0.06951613,
-0.00905401,
0.020120021,
0.032104556,
-0.019493094,
-0.013143622,
0.0006875252,
0.0013495359,
0.041902132,
-0.053011883,
-0.04318515,
0.012633332,
0.0044213017,
0.0317838,
0.002946927,
0.06455903,
0.01858915,
-0.03951106,
-0.0064004995,
0.006265637,
-0.008361473,
-0.00796053,
-0.015571147,
0.0074721095,
-0.018180918,
-0.039073665,
-0.061234847,
0.0020648537,
-0.05849386,
0.030121714,
-0.03134641,
-0.055927828,
0.02549994,
0.0051320633,
-0.0015627644,
0.02396907,
-0.08222965,
-0.02555826,
0.027205769,
-0.00034444602,
0.04793814,
-0.011853317,
0.00044582068,
-0.0090831695,
-0.005893854,
-0.014587016,
0.019143179,
0.03951106,
0.031725485,
-0.026112288,
-0.061992995,
-0.010592171,
0.030617423,
-0.013457087,
-0.0034590398,
-0.0059193685,
-0.035049662,
-0.058872934,
0.012487535,
0.004672802,
-0.048258893,
0.010854606,
-0.017831005,
-0.0015208477,
-0.014616175,
-0.024683475,
0.011474244,
0.01116807,
0.074414924,
0.018093439,
0.0028831407,
-0.0436517,
-0.018443353,
0.030442467,
-0.0057772165,
0.0011508871,
-0.036478475,
-0.016052278,
0.040181722,
-0.04155222,
0.023210924,
0.019347295,
0.02601023,
-0.021155182,
0.03776149,
0.0022288756,
0.02867832,
0.027978493,
0.056423537,
-0.021461356,
0.02549994,
-0.030646583,
-0.00053124875,
0.00905401,
-0.027482783,
0.024581417,
-0.052982725,
-0.017524831,
-0.040619116,
0.017743526,
-0.026476782,
-0.010708809,
0.023473358,
0.013486247,
0.01062133,
-0.041289784,
-0.03303766,
0.0062510576,
-0.039073665,
-0.014987958,
-0.013894479,
0.015090016,
0.03297934,
0.014032986,
0.021548836,
-0.019041121,
0.023283822,
-0.03190044,
-0.009542431,
0.039190304,
0.029888438,
-0.009250836,
0.008667647,
-0.0130634345,
0.0070492974,
0.020936485,
-0.03082154,
-0.016562568,
0.012195941,
0.035866126,
0.065142214,
-0.005525716,
0.011860607,
0.008339603,
0.0024712635,
-0.057560757,
0.016212655,
0.0010615863,
0.051816344,
-0.010592171,
0.038053084,
-0.018487092,
0.024843853,
-0.013311289,
0.026739217,
0.021169761,
0.017962223,
-0.023327561,
0.0339416,
-0.0054017883,
0.05254533,
-0.022263242,
0.03128809,
0.014535987,
-0.0014953332,
0.020586573,
-0.04461396,
-0.043360103,
0.017276974,
-0.02073237,
0.011131621,
0.005963108,
0.029086553,
0.025601998,
-0.029392727,
0.031492207,
0.020965645,
0.020994805,
0.015017117,
0.016241815,
0.053595074,
-0.016256394,
0.00032553793,
0.029348988,
-0.0043484033,
-0.015090016,
0.0070347176,
-0.036857545,
0.014433929,
-0.04254364,
0.0019937775,
0.018487092,
0.019391036,
-0.0043265335,
-0.015308712,
-0.0049024327,
-0.04572202,
-0.06555045,
0.044380683,
-0.00092125643,
0.031579684,
0.0031182389,
-0.04607193,
0.031492207,
0.00047839724,
-0.017831005,
0.010548431,
0.04461396,
0.0350205,
-0.030500786,
-0.01170023,
0.01705828,
-0.038986187,
0.0009262682,
0.03455395,
-0.02663716,
0.0180497,
-0.0062510576,
0.05788151,
0.026710058,
0.055665392,
-0.005066455,
-0.017495671,
0.010490113,
0.043330945,
-0.04356422,
-0.027439045,
-0.005700673,
0.023254663,
0.055927828,
0.04898788,
0.054265738,
0.052866086,
0.015819002,
0.031608846,
0.048317213,
0.0025642093,
-0.013624754,
0.004253635,
0.029553104,
0.007329957,
-0.0025642093,
-0.025631158,
-0.0015408947,
0.030996498,
0.045430426,
0.026374724,
-0.0657254,
0.08567047,
0.037557375,
0.0143829,
-0.035253778,
-0.041785493,
0.040240042,
0.033416733,
-0.02391075,
0.009345604,
-0.006057876,
0.014572436,
0.007220609,
-0.014164204,
0.04362254,
0.045896977,
-0.020528253,
0.011656491,
0.013559145,
-0.075289704,
-0.014499538,
-0.0075887474,
-0.05951444,
0.0055512306,
-0.007814733,
0.010001692,
0.0052304766,
-0.059893515,
-0.032250352,
-0.044322368,
-0.0043338235,
0.02284643,
-0.032337833,
0.011838737,
0.031550527,
-0.0016010362,
-0.0026790246,
-0.001850714,
0.0007462997,
0.026782956,
-0.013989246,
0.03026751,
0.005270571,
0.0054017883,
0.044380683,
0.012917637,
-0.026491363,
0.022744372,
-0.029859278,
-0.013216522,
-0.03886955,
-0.020542834,
0.026608,
0.004709251,
-0.04732579,
0.0067941523,
0.003929236,
-0.025397882,
0.028882436,
0.013165493,
-0.0062437677,
-0.010781707,
-0.0013440684,
-0.020338718,
-0.023692055,
0.02663716,
0.032571107,
0.041406423,
-0.01921608,
0.0035610981,
-0.04720915,
-0.01643135,
-0.004709251,
-0.040677436,
-0.018545412,
0.0447306,
0.0019846652,
-0.06712506,
0.011984535,
-0.026899595,
-0.03621604,
-0.01807886,
0.008354183,
0.03507882,
0.015673205,
0.033212617,
-0.030092554,
-0.011058722,
0.032600265,
-0.022758951,
0.037411578,
-0.014710943,
0.045459583,
0.01966805,
0.00070392736,
-0.041231465,
0.024231505,
-0.022117443,
0.02657884,
-0.020980226,
-0.0008123641,
-0.006487978,
0.044905555,
0.0049170125,
-0.0068451813,
0.054936405,
-0.032337833,
-0.0042208307,
0.012662492,
0.0016775797,
0.027278667,
0.04793814,
0.028838698,
-0.03627436,
0.01595022,
-0.040035926,
0.012305289,
0.0081209075,
0.07091579,
-0.08817818,
0.039686013,
-0.050300054,
-0.02496049,
-0.012626043,
-0.01221781,
-0.059601918,
0.05254533,
-0.015906481,
0.046509326,
-0.019201498,
-0.04193129,
0.016256394,
0.008988401,
0.041727174,
0.019857587,
0.05047501,
-0.030500786,
-0.0041880263,
-0.051816344,
-0.04528463,
0.008828024,
-0.026928753,
-0.0076908055,
-0.018166339,
-0.039248623,
-0.0014269906,
0.03242531,
0.024056548,
0.038490474,
0.014783842,
0.05327432,
0.049629387,
0.019011963,
0.020557413,
0.0075595877,
-0.034670588,
-0.041581377,
0.027351566,
0.017349873,
-0.047413267,
-0.015848162,
-0.014120464,
-0.046392687,
0.0072096745,
-0.0012575013,
0.03297934,
-0.07750582,
0.01972637,
0.007924081,
-0.0070420075,
-0.06420911,
-0.016168917,
-0.053770028,
0.020761529,
0.044234887,
-0.0139746675,
-0.011751259,
-0.040327523,
0.00025195588,
-0.007461175,
-0.024377301,
-0.061293166,
0.04828805,
-0.010256837,
-0.041639697,
0.038519636,
0.022627734,
-0.017801845,
-0.016300132,
-0.03776149,
0.041114826,
0.0008292219,
-0.011911636,
-0.0146307545,
-0.015367031,
-0.009002981,
-0.016343873,
0.0499793,
-0.0012064723,
-0.006068811,
0.028576262,
0.023837851,
-0.019201498,
-0.0020940132,
-0.007712675,
-0.005642354,
0.015687784,
0.009177937,
0.05038753,
0.01169294,
0.0069909785,
0.07056587,
0.026680898,
0.0066337753,
-0.0060833907,
0.031171454,
0.019507673,
0.023837851,
0.016839582,
0.02239446,
-0.019770108,
0.026476782,
0.010708809,
-0.00041483875,
-0.034874704,
-0.0052013174,
0.005952173,
-0.010191228,
-0.007909501,
-0.023254663,
-0.0066775144,
0.047559064,
-0.014047566,
-0.029553104,
-0.014813001,
-0.012465665,
-0.019522253,
-0.009411213,
-0.015454509,
0.027745219,
-0.018866165,
-0.009170648,
0.02283185,
-0.053420115,
-0.05266197,
-0.04683008,
-0.018778687,
0.010351606,
0.044818077,
-0.0001467085,
0.06216795,
-0.012917637,
-0.0122251,
0.0127937095,
-0.01966805,
0.037499055,
-0.04464312,
0.023546258,
0.0022799047,
0.02124266,
-0.018151758,
0.0072060293,
-0.03356253,
-0.016664626,
0.015993958,
-0.0010378943,
0.014791132,
-0.03405824,
-0.04822973,
0.034670588,
-0.032046236,
-0.045984454,
-0.004206251,
-0.017685207,
-0.0057188976,
0.04898788,
0.004818599,
0.00014556944,
-0.053478435,
-0.047121674,
0.009710098,
-0.048083935,
-0.024114866,
-0.033766646,
0.0073190224,
-0.011794998,
0.05318684,
0.011911636,
-0.005139353,
0.013639334,
-0.023867011,
0.02864916,
-0.03297934,
-0.026389305,
0.0046983166,
0.010030852,
-0.06280946,
0.006046941,
0.053361796,
0.0043192436,
0.016154336,
0.05047501,
-0.00003627846,
-0.00042919067,
-0.020586573,
-0.016533408,
0.016358452,
-0.0002302002,
0.0044067223,
0.012990535,
-0.041289784,
0.06922454,
-0.04091071,
0.04309767,
-0.017174916,
-0.021126023,
-0.04478892,
0.010891055,
0.012538564,
-0.011277418,
-0.014207942,
0.03023835,
-0.0036121272,
-0.010679649,
0.017131178,
-0.006994623,
-0.02554368,
-0.036770068,
-0.021023965,
0.024785534,
0.0063130213,
-0.030646583,
-0.02816803,
-0.015673205,
0.042660277,
-0.054090783,
0.013930928,
0.07523139,
-0.015294133,
0.015031697,
-0.06537549,
0.039423577,
0.0036704459,
0.025791535,
-0.039190304,
-0.028809538,
-0.033066817,
0.006542652,
-0.021752952,
-0.041085668,
-0.047588225,
0.027468203,
0.04793814,
-0.043680858,
0.03446647,
-0.018632889,
-0.040589955,
-0.04685924,
0.024800114,
0.0027829052,
-0.00212864,
0.023998229,
0.008973821,
0.017641468,
0.0058282455,
-0.027205769,
0.0068451813,
-0.012837448,
0.07394837,
-0.0067212535,
-0.073540136,
0.006003202,
0.003008891,
-0.040589955,
-0.027162028,
0.0032075397,
0.006440594,
-0.0038308229,
0.02927609,
-0.013180072,
0.022992227,
-0.0045670993,
0.003377029,
0.0043411134,
-0.019857587,
0.005219542,
-0.008412502,
0.001173668,
-0.017116599,
0.031754643,
0.05741496,
0.023079706,
-0.02290475,
-0.00044992124,
0.023094285,
-0.021417618,
-0.010183939,
0.08018849,
-0.032279514,
-0.0054491726,
0.07289863,
0.0069326595,
0.072140485,
-0.01062862,
-0.0101620685,
0.036507633,
-0.026258087,
-0.02547078,
-0.018195497,
0.010767127,
0.030150874,
-0.0050628097,
-0.049075358,
0.019361876,
0.009513271,
-0.0026243506,
-0.01694164,
-0.048258893,
0.033679165,
-0.026360145,
-0.02127182,
0.018749528,
0.023867011,
0.0076762256,
-0.031754643,
-0.03187128,
-0.06992436,
0.004162512,
0.019434774,
-0.012698941,
0.010934794,
-0.055577915,
-0.0046509327,
-0.04534295,
-0.032046236,
-0.017670628,
-0.029101133,
0.06228459,
0.009207097,
0.0070128483,
0.0076324865,
0.021913327,
0.025660317,
-0.0037087176,
0.031258933,
-0.039365258,
-0.0014470378,
0.002649865,
-0.008208386,
0.018720368,
-0.042660277,
0.0055111363,
-0.009046719,
0.03819888,
0.0233713,
-0.041173145,
-0.034378994,
0.033854123,
0.055023886,
-0.014455798,
-0.010300577,
-0.034933023,
0.009396633,
-0.019930486,
-0.024945911,
0.0034663298,
-0.038957026,
-0.029013654,
0.053070202,
0.011634621,
0.004665512,
0.059718557,
-0.01705828,
0.016795844,
0.048608806,
0.026272666,
0.013588305,
0.02757026,
-0.016066859,
0.04198961,
-0.021607153,
0.005066455,
0.0029341697,
-0.031258933,
0.020863587,
-0.0052013174,
0.0022543902,
-0.009141488,
0.020528253,
0.014565146,
0.044293206,
0.002997956,
-0.022642314,
0.008733256,
-0.034349833,
-0.007836603,
0.015235813,
-0.06764993,
-0.082521245,
0.04948359,
-0.014419349,
-0.009622619,
-0.044497322,
0.009877765,
0.024158606,
-0.01170752,
0.006436949,
-0.0043702726,
-0.004465041,
0.0020338718,
0.07138234,
-0.04079407,
0.00960804,
-0.033912443,
0.024916751,
-0.021519676,
-0.04047332,
-0.005525716,
0.0020429841,
0.028561683,
0.002343691,
0.012844739,
-0.0152212335,
-0.033591688,
-0.026141448,
-0.011875187,
0.0043301787,
-0.075697936,
0.0027993075,
0.0022452779,
0.023006808,
-0.016562568,
0.047588225,
-0.0016438641,
0.036449313,
0.018603731,
0.046975877,
0.0112409685,
-0.002097658,
0.031054815,
0.0061344197,
0.032687746,
-0.009338315,
0.0037324098,
0.05683177,
0.013588305,
0.017189497,
0.014463088,
0.04852133,
0.048754603,
-0.010446373,
-0.0073554716,
-0.03201708,
-0.00063558493,
-0.024741795,
-0.01061404,
-0.0054127234,
0.021213502,
-0.010067301,
0.007038363,
-0.022219501,
0.052895244,
-0.032133717,
-0.032658584,
-0.026885014,
-0.004373918,
0.05627774,
-0.038636275,
-0.015352451,
0.012516694,
-0.016066859,
0.020834427,
-0.01119723,
0.0026006587,
0.08147151,
0.01921608,
0.020426195,
0.019565992,
0.045576222,
-0.004825889,
0.0034061885,
-0.052399535,
0.016168917,
-0.008879053,
-0.029348988,
-0.026914174,
0.00663013,
0.0028430466,
0.01640219,
0.01705828,
-0.0076397764,
0.05219542,
-0.0635676,
-0.042835236,
-0.02663716,
0.00531431,
-0.021155182,
-0.042135406,
0.03881123,
-0.0018516252,
-0.02657884,
0.026943333,
-0.026141448,
0.014689074,
0.05257449,
-0.0019044767,
0.00159648,
0.010563011,
0.021723792,
0.018909905,
0.023764953,
-0.012443796,
-0.008740545,
-0.0028977206,
0.017772686,
0.022598576,
-0.011401346,
-0.025091708,
-0.016606309,
-0.024318982,
0.0036722685,
0.006648355,
-0.059281167,
-0.010264127,
0.009214386,
-0.048696283,
-0.0023528032,
0.07208216,
-0.028940756,
-0.032192033,
-0.009156068,
0.023560837,
-0.012130332,
-0.03402908,
-0.036303516,
0.02555826,
0.040065087,
-0.041202307,
0.0013231101,
-0.07674768,
0.053565912,
-0.007894921,
-0.029480206,
-0.025762375,
0.028065972,
0.008689516,
0.010541142,
-0.02286101,
-0.063625924,
-0.01062862,
0.0035902574,
0.072140485,
-0.0061526443,
0.12037022,
0.028999075,
0.009710098,
0.007603327,
-0.02233614,
0.04038584,
-0.025908172,
-0.0076762256,
0.0070128483,
-0.0009577057,
-0.023589997,
-0.05578203,
-0.045984454,
0.072665356,
-0.0058865645,
-0.041814655,
-0.02816803,
-0.015760684,
-0.05196214,
-0.0024676186,
-0.017728947,
0.0017040054,
0.016168917,
-0.0010624975,
-0.0057699266,
-0.06671683,
0.2542704,
0.068466395,
0.028999075,
0.011080592,
-0.014557856,
0.00077591476,
-0.013595594,
0.010708809,
0.017670628,
-0.035953604,
0.019522253,
-0.014514117,
-0.006426014,
0.033912443,
0.011124331,
0.02179669,
-0.07254872,
-0.012487535,
0.001244744,
-0.036449313,
-0.025033388,
-0.017116599,
-0.0041078376,
0.006487978,
-0.025193766,
-0.006600971,
-0.0018953644,
-0.0077272546,
-0.020615732,
-0.02080527,
0.037994765,
-0.012640622,
0.050270893,
-0.00027929287,
-0.023181764,
0.008572878,
-0.042864393,
-0.04516799,
0.00025286712,
0.005533006,
-0.0029086552,
0.015017117,
0.008551009,
-0.01592106,
0.031433888,
0.032279514,
-0.0077345446,
-0.018574571,
-0.009746547,
-0.020382456,
0.049075358,
-0.048637964,
0.017845584,
-0.045605384,
-0.02978638,
-0.050824925,
0.0011335737,
-0.06490894,
0.013070724,
-0.039977606,
0.051145677,
0.03991929,
-0.043797497,
-0.041289784,
-0.05365339,
0.048142254,
0.0077199647,
0.006316666,
-0.011576302,
-0.00086931617,
-0.016373033,
-0.017801845,
0.0152212335,
-0.04295187,
0.036915865,
0.01167107,
0.036507633,
-0.008281284,
0.010869185,
-0.04131894,
-0.021330139,
-0.0073080873,
-0.017583149,
-0.021330139,
-0.0027683254,
0.057006728,
-0.027511943,
-0.0016693786,
-0.015789842,
0.055023886,
0.008405212,
0.0076324865,
-0.026199767,
0.0028466915,
-0.024114866
] | Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with GPT-J. If you're interested in submitting a resource to be included here, please feel free to open a Pull Request and we'll review it! The resource should ideally demonstrate something new instead of duplicating an existing resource. |
[
0.01591568,
-0.016377652,
-0.022875065,
-0.01020064,
0.026392013,
0.010945756,
-0.019909503,
-0.027822636,
0.01725689,
0.06968326,
-0.004273241,
0.007816268,
0.0680142,
-0.065033734,
-0.004768743,
0.0026973204,
-0.0101484815,
-0.0068960497,
-0.042769667,
-0.012406183,
-0.0048544314,
-0.0021906414,
-0.091202214,
-0.033261985,
-0.019164387,
-0.0068550683,
0.038895063,
-0.009313951,
0.07141193,
0.018553391,
-0.0039938223,
-0.018717317,
0.061755225,
-0.008501775,
-0.01976048,
-0.00955984,
0.004601092,
-0.016630992,
-0.07260411,
-0.012309318,
0.04798548,
0.022293875,
0.019149484,
-0.03373886,
-0.039222915,
-0.027539492,
0.021861708,
-0.019402824,
-0.052009106,
-0.049118057,
-0.034543585,
0.0028426182,
-0.032039993,
-0.010833989,
-0.030057985,
-0.01791259,
-0.024484515,
-0.028254803,
-0.013203458,
-0.003509497,
0.023471158,
0.037255805,
0.016899234,
-0.039252717,
-0.0007073946,
0.009969654,
-0.02342645,
0.0018385741,
-0.018225541,
-0.04798548,
-0.064079985,
0.008494324,
-0.039610375,
-0.04992278,
-0.03388788,
0.022144852,
0.012592463,
-0.0004382214,
0.009597096,
0.015692146,
0.0040310784,
0.036153033,
-0.0027066343,
-0.000963994,
-0.04652505,
-0.03233804,
0.0019065659,
-0.019358117,
-0.035527136,
-0.049684342,
0.002000637,
0.021593466,
-0.025363753,
0.023068795,
0.007853524,
0.028716777,
-0.010960658,
0.03707698,
0.022830358,
-0.018225541,
-0.014276425,
0.0641396,
-0.020565204,
0.06187444,
-0.051740862,
-0.013374834,
-0.011377923,
-0.05102555,
-0.039938226,
-0.052366763,
-0.0028910507,
0.006683692,
-0.0123391235,
0.0003206328,
-0.0068997755,
-0.004575013,
-0.010565747,
0.003349297,
-0.04631642,
-0.018046713,
0.0037069528,
-0.019164387,
-0.0073244916,
-0.029864255,
0.054423284,
-0.04008725,
0.042233184,
0.020073429,
-0.023009187,
0.015736852,
0.04580974,
0.0025855529,
-0.017092964,
0.025348851,
-0.023381744,
-0.059877533,
-0.0391335,
0.017778471,
-0.013337579,
0.05916222,
-0.012473244,
-0.01616902,
-0.0109383045,
0.06723928,
-0.025840627,
-0.027986562,
0.016660796,
-0.063305065,
-0.032039993,
0.009671607,
0.0013887102,
-0.01392622,
-0.01584117,
0.033858076,
-0.045660716,
0.015930584,
-0.02315821,
0.030385835,
-0.027509687,
0.03129488,
0.015006639,
-0.017271793,
-0.023530768,
0.066583574,
-0.024648441,
0.035914596,
-0.028180292,
0.013292871,
0.010670063,
-0.044557944,
-0.0018385741,
-0.009619449,
0.011392825,
-0.0117281275,
0.032427453,
0.022547213,
0.04569052,
-0.03445417,
0.01834476,
-0.02964072,
0.013754844,
-0.0346628,
0.016571382,
0.026988106,
-0.026153576,
-0.027584199,
0.01572195,
0.025050804,
0.020609912,
0.029342674,
-0.01289796,
0.073259816,
-0.0075107706,
0.014686239,
-0.04986317,
0.0314439,
-0.015066248,
-0.03227843,
-0.0054132687,
-0.0352887,
-0.007615087,
0.014045439,
-0.017674156,
-0.01937302,
-0.038120143,
0.0071903705,
0.004195004,
0.020818545,
-0.014641532,
0.024782563,
0.036600105,
0.0033120413,
-0.030758394,
-0.014321132,
0.044319507,
-0.037106782,
0.013777197,
0.0038522503,
-0.013166202,
-0.023381744,
0.04691251,
0.0071903705,
0.012167746,
0.0060093617,
-0.0006538394,
0.02701791,
-0.004068334,
0.016407458,
0.013196006,
-0.00006915609,
0.012890509,
0.036987565,
0.01686943,
0.06258976,
0.037941314,
0.00510032,
-0.017092964,
0.014604276,
0.0048209014,
0.03028152,
0.01789769,
0.018419271,
0.04253123,
-0.006683692,
0.005744845,
-0.00529405,
-0.026570842,
-0.012875606,
-0.03856721,
-0.004433441,
-0.050518874,
0.0333812,
0.0047240364,
-0.027926954,
-0.025110414,
-0.0016914136,
-0.005837985,
-0.012994825,
-0.005215813,
0.0030214458,
0.0010412998,
0.013866611,
-0.0070860544,
0.013292871,
0.05528762,
0.072663724,
0.004541483,
0.041994747,
0.00728351,
-0.06622592,
-0.02785244,
-0.06855068,
-0.101395406,
0.007667245,
-0.028374022,
-0.027777929,
0.006773106,
0.0063819196,
0.019432629,
-0.019924406,
-0.021444442,
0.0015731264,
-0.022815457,
0.015006639,
0.03874604,
0.024469614,
-0.028970115,
0.024365297,
-0.028716777,
-0.0074288077,
-0.0015107229,
-0.04670388,
-0.015230174,
0.027926954,
-0.020863252,
-0.04575013,
0.009820631,
0.01764435,
-0.06419921,
0.049118057,
0.0013849846,
0.026615549,
-0.03260628,
0.041607283,
-0.041666895,
0.047299974,
-0.010342211,
-0.026988106,
0.05343973,
0.047955673,
-0.02220446,
0.031086246,
-0.0033828272,
0.05421465,
0.011258705,
0.01789769,
0.06908717,
-0.0032803738,
-0.003118311,
-0.024603734,
-0.025751213,
0.005588371,
-0.000532758,
-0.017614545,
-0.027569298,
0.07212724,
-0.015230174,
-0.060473625,
-0.048641182,
-0.046435636,
0.0032803738,
-0.024201373,
-0.021653075,
0.03990842,
0.058923785,
0.029238356,
-0.04387244,
0.01976048,
-0.0043999106,
0.033261985,
-0.011117132,
-0.027181836,
0.03823936,
0.032934133,
0.010655161,
0.006340938,
0.03201019,
-0.039550763,
0.025333948,
0.0098578865,
0.023322135,
0.03356003,
-0.0030233087,
-0.020177744,
-0.017614545,
0.020252256,
-0.027420273,
-0.0020099508,
0.0054766038,
-0.029655622,
0.042590838,
0.0013039532,
-0.0129203135,
0.05248598,
-0.04786626,
-0.010155933,
-0.023486061,
0.019402824,
0.0122273555,
-0.011556751,
0.016824722,
-0.027003009,
-0.03066898,
0.0105881,
-0.017495327,
-0.039848812,
0.06628553,
0.047180753,
0.029789742,
-0.023694692,
-0.018449076,
-0.015617634,
-0.025438264,
0.027390469,
0.034364756,
0.011877151,
-0.060086165,
-0.009865338,
-0.04273986,
0.0160349,
0.018061616,
0.039491154,
-0.049058445,
-0.0030754667,
-0.037226003,
-0.033291787,
0.00955984,
0.035646357,
0.019104777,
0.02669006,
0.042620644,
0.0067544775,
-0.010193189,
0.02195112,
-0.024410004,
-0.023635084,
-0.021265615,
0.021727586,
0.017197281,
-0.015453708,
-0.011817542,
-0.01764435,
0.0021980926,
-0.011653616,
-0.06968326,
0.006672515,
-0.025378656,
-0.0038597016,
-0.007846073,
0.043335956,
0.0023303507,
-0.031771753,
-0.05850652,
0.007030171,
0.013158751,
-0.021846805,
0.0076448913,
-0.03356003,
0.019238899,
0.031473704,
-0.019149484,
-0.011213997,
0.0046681524,
-0.029014822,
-0.024231177,
0.06872951,
0.049356494,
-0.039550763,
0.003997548,
-0.043157127,
-0.0113406675,
0.030907417,
0.025840627,
-0.02913404,
0.009999459,
0.0028109506,
0.019775381,
0.03668952,
-0.023649987,
0.018329857,
0.014529765,
-0.034036905,
0.02239819,
-0.04247162,
-0.018314954,
0.0072984127,
0.02034167,
-0.025393559,
0.021474248,
0.015751755,
-0.0032207645,
-0.0043850085,
0.039103694,
-0.010610454,
-0.014187011,
0.012875606,
0.025170023,
0.017167475,
-0.0008266132,
-0.021518953,
0.021653075,
0.026794376,
0.030192105,
-0.04074295,
0.011720677,
-0.0063744686,
-0.009865338,
-0.027092423,
0.0042434363,
0.023858618,
-0.06217249,
0.02669006,
0.0049997293,
0.03299374,
-0.02727125,
-0.023173112,
-0.0032822366,
0.016511774,
-0.011929309,
0.036421277,
0.039044086,
0.025885334,
0.016183922,
0.033202376,
-0.0058752405,
-0.035199285,
-0.0673585,
0.015423904,
0.07886309,
-0.030847808,
0.033858076,
-0.005666608,
-0.058417104,
0.045392476,
-0.043932047,
0.010692417,
-0.020639718,
0.0056703337,
-0.017569838,
-0.02899992,
0.0050593386,
0.027405372,
-0.0047240364,
0.0021813274,
0.027375566,
-0.025736311,
0.007905683,
-0.04664427,
-0.027152032,
0.0333514,
-0.030698784,
-0.043216735,
-0.024410004,
0.00625525,
0.0058789663,
0.0076970495,
0.008382556,
-0.028970115,
-0.014477607,
-0.043663803,
0.031175658,
-0.050012194,
0.0036659713,
-0.013032082,
-0.031414095,
0.0009928673,
0.01976048,
0.04914786,
-0.027748125,
-0.022085242,
-0.018717317,
-0.0048209014,
-0.055973124,
-0.02764381,
-0.0075033195,
0.010983012,
-0.04089197,
0.028195195,
-0.011586556,
-0.043425366,
0.0055324873,
0.02938738,
0.010878695,
0.048015285,
-0.03612323,
-0.03606362,
-0.013799551,
-0.023322135,
-0.014723495,
-0.015781559,
-0.0166757,
0.050191022,
-0.030221911,
0.053231098,
-0.046048176,
-0.019671066,
0.012525402,
-0.032516867,
0.03534831,
-0.02663045,
0.004444618,
-0.031175658,
0.010401821,
-0.011966565,
0.011951663,
-0.027003009,
0.010170835,
-0.017778471,
-0.044617552,
0.015572927,
-0.037702877,
0.0052605197,
-0.024857074,
-0.0058528874,
0.048223916,
-0.007980194,
0.02265153,
0.06515296,
0.014619178,
-0.0057895523,
-0.046614464,
0.023649987,
0.010275152,
0.0042769667,
-0.0160349,
-0.0011176742,
0.00923944,
0.027822636,
-0.047896065,
-0.029357575,
0.0062142685,
0.029342674,
-0.0006477853,
-0.00014541407,
0.042262986,
-0.020490693,
-0.004530306,
-0.03856721,
0.036540493,
0.04119002,
-0.010424174,
-0.012942667,
0.00015053674,
0.0051934593,
0.055645272,
-0.039819006,
-0.03752405,
-0.015155662,
0.062530145,
0.01495448,
-0.037375025,
0.04348498,
0.0166906,
0.0016653346,
-0.025378656,
0.007920585,
0.014917225,
-0.006080148,
0.0020453439,
0.014678787,
0.0024477064,
-0.01956675,
0.012890509,
0.015364295,
-0.012026174,
0.021310322,
0.026213186,
0.018434172,
-0.03278511,
-0.005562292,
0.053409923,
-0.045332864,
-0.0028798738,
-0.054780938,
-0.0109383045,
-0.031980384,
-0.017763568,
0.0116461655,
-0.0064899614,
0.0003755851,
0.03299374,
0.026555939,
0.04762782,
0.031354487,
-0.017018452,
0.0014604277,
-0.022174656,
-0.049386296,
0.010111226,
0.035080068,
0.0033716506,
0.043961853,
-0.031235268,
0.037166394,
0.029402282,
0.0057709245,
-0.034394562,
-0.0571057,
0.0035206736,
-0.008233533,
-0.000968651,
-0.0040646084,
-0.00885198,
-0.0211762,
0.00029292377,
-0.023471158,
-0.03433495,
0.025930041,
0.047747042,
-0.027941855,
-0.027882246,
-0.037762485,
-0.0015032717,
-0.02278565,
-0.0014324858,
-0.0018087694,
-0.036719322,
0.028761482,
0.054065626,
-0.036212645,
-0.015423904,
0.037047174,
-0.009962203,
-0.019000461,
0.03668952,
-0.029551305,
0.018493783,
-0.0037907783,
0.019060072,
-0.011005365,
-0.029208552,
0.04986317,
-0.076180674,
-0.014119951,
-0.006795459,
0.03367925,
-0.016571382,
0.004701683,
0.023381744,
-0.018359661,
0.03299374,
-0.02014794,
0.04011705,
-0.05490016,
0.0013626311,
0.009671607,
-0.022696238,
-0.006344664,
0.036272254,
0.022666432,
0.03150351,
0.02354567,
0.035139676,
-0.01828515,
0.032367844,
-0.0052530686,
-0.0041279434,
0.043783024,
0.013002276,
-0.042382207,
-0.026868887,
0.0049922783,
0.020386377,
-0.050906334,
0.006653887,
0.01591568,
-0.016660796,
0.012264611,
-0.032516867,
-0.0050258082,
0.020445986,
0.019343214,
0.008360203,
0.009395914,
0.019089876,
-0.0056926874,
-0.030385835,
-0.05165145,
-0.02342645,
0.0320698,
-0.08071098,
0.01867261,
-0.03047525,
-0.020222452,
0.024022544,
0.040951584,
-0.0030158577,
0.005048162,
0.016839625,
0.03317257,
-0.0013589056,
-0.050667897,
0.003915585,
0.0052530686,
0.012041077,
-0.05102555,
-0.020833448,
0.037494242,
0.047687434,
0.0058156312,
-0.050787117,
-0.08744683,
-0.05063809,
0.010983012,
-0.0064005475,
-0.006102501,
0.053618558,
-0.039759398,
0.03728561,
-0.023575474,
-0.022472702,
0.04762782,
0.022234265,
-0.00074232195,
0.02354567,
-0.0051673804,
-0.005152478,
0.06241093,
-0.014738397,
0.023500962,
0.019253802,
0.04458775,
-0.04196494,
0.0052530686,
-0.0021179926,
0.05266481,
0.014336035,
0.011005365,
-0.0021030903,
0.04947571,
0.0295215,
-0.023009187,
0.017495327,
0.043037906,
-0.0111469375,
0.008136668,
-0.0056703337,
-0.006847617,
0.022726042,
0.012264611,
0.013173653,
-0.01956675,
0.054840546,
-0.0030810551,
0.025021,
-0.0037479342,
-0.0034331225,
0.016660796,
-0.023977837,
-0.046018373,
0.015498416,
0.03618284,
0.0055734687,
-0.01071477,
-0.013874062,
0.041040998,
0.046048176,
0.012137942,
0.029432086,
-0.0061174035,
0.0023694693,
-0.017152574,
0.029119138,
-0.028761482,
-0.026958302,
0.0077939145,
-0.024052348,
-0.037583657,
0.045332864,
-0.006370743,
-0.043186933,
0.024722952,
-0.013270519,
-0.05805945,
-0.07272334,
0.024484515,
-0.048790205,
0.025676701,
0.0301623,
-0.025289241,
-0.051800475,
-0.0015433218,
-0.033977296,
0.005729943,
0.03907389,
0.04202455,
-0.011318314,
0.07975723,
0.026541037,
-0.0013151299,
0.044617552,
0.032636087,
-0.056330778,
0.0020583833,
0.008784919,
-0.009708863,
0.00069202663,
-0.06825264,
-0.045899153,
0.040146858,
0.02257702,
0.004612269,
-0.035854988,
-0.011519495,
-0.018106323,
-0.013978379,
0.0038597016,
0.058953587,
-0.010826537,
0.0532609,
0.013777197,
-0.014730946,
-0.020475792,
-0.004604818,
-0.017733764,
0.06688163,
-0.0073393937,
-0.038924865,
0.016154118,
-0.033261985,
-0.039610375,
-0.0070823287,
-0.02193622,
0.019149484,
0.013829355,
0.025170023,
0.069564044,
0.008568835,
0.022368386,
-0.03484163,
0.050667897,
0.0256618,
-0.014343485,
0.101753056,
0.069266,
-0.013382286,
0.010483784,
0.0043216734,
0.024290785,
0.015751755,
-0.009001003,
0.0126297185,
-0.013054434,
-0.02964072,
-0.021250712,
0.022159753,
0.020669522,
-0.017241986,
-0.017227085,
-0.052724417,
-0.014447802,
-0.027584199,
0.022249168,
-0.03054976,
0.02195112,
0.014559569,
-0.049326688,
0.026093967,
-0.041517872,
0.26323462,
0.06557022,
0.017763568,
0.043932047,
0.015692146,
0.035854988,
0.0442599,
-0.027196739,
0.023560572,
-0.0026600645,
0.010930854,
-0.04703173,
-0.011236351,
-0.0067283986,
-0.022278972,
0.028254803,
-0.014477607,
-0.01628824,
0.0062254453,
-0.0288658,
-0.022189558,
0.041696697,
-0.015558025,
0.04503482,
-0.0023582925,
0.008762565,
0.02585553,
-0.015617634,
-0.006337213,
-0.018985558,
0.02257702,
-0.033083156,
0.031414095,
-0.0036901876,
-0.006672515,
0.038269166,
0.023217818,
-0.04646544,
-0.06127835,
0.016318044,
0.0031388018,
-0.0461972,
0.042829275,
0.016392555,
-0.060086165,
0.044140678,
-0.008643347,
-0.017987104,
0.03543772,
-0.067835376,
0.018151028,
-0.02944699,
0.020744033,
-0.026853986,
-0.051502425,
-0.0032896877,
-0.035139676,
-0.050518874,
0.05832769,
-0.000020708989,
-0.011139486,
0.01622863,
-0.023471158,
0.01636275,
-0.023828814,
0.014045439,
-0.026973205,
0.010848891,
0.012197551,
-0.0063148593,
0.04119002,
0.018270247,
-0.017659253,
-0.018806731,
0.009775924,
0.05075731,
-0.008486873,
0.06729889,
-0.01591568,
-0.030967027,
-0.017882787,
0.0040571573,
0.01444035,
-0.0019820088,
0.05850652,
0.02059501,
-0.0040199016,
-0.005204636,
-0.0025836902,
0.042173572,
0.042113964,
0.024976293,
0.019387921,
0.039371938,
0.021504052
] |
MobileViT is more like a CNN than a Transformer model. It does not work on sequence data but on batches of images. Unlike ViT, there are no embeddings. The backbone model outputs a feature map. You can follow this tutorial for a lightweight introduction.
One can use [MobileViTImageProcessor] to prepare images for the model. Note that if you do your own preprocessing, the pretrained checkpoints expect images to be in BGR pixel order (not RGB).
The available image classification checkpoints are pre-trained on ImageNet-1k (also referred to as ILSVRC 2012, a collection of 1.3 million images and 1,000 classes).
The segmentation model uses a DeepLabV3 head. The available semantic segmentation checkpoints are pre-trained on PASCAL VOC.
As the name suggests MobileViT was designed to be performant and efficient on mobile phones. The TensorFlow versions of the MobileViT models are fully compatible with TensorFlow Lite. |
[
-0.0014471643,
-0.015507884,
-0.010448169,
0.013814166,
0.018809563,
-0.006310351,
0.020667652,
-0.0024583929,
-0.01083408,
0.033045374,
-0.017194455,
0.002286877,
0.050454225,
-0.07100753,
-0.018995373,
0.017022941,
-0.013349645,
-0.019852951,
-0.021853969,
-0.024655392,
-0.0038948373,
0.007368032,
-0.08307081,
-0.050625738,
0.013871338,
0.007618159,
0.046766635,
-0.00069767615,
0.06746287,
0.03527508,
-0.018766684,
-0.024612514,
0.017537488,
0.0027889179,
-0.04885341,
-0.006656956,
0.02225417,
-0.0015498952,
-0.032816686,
-0.043079045,
0.046623703,
-0.010176603,
0.025327163,
-0.0364471,
-0.047109667,
-0.010090845,
0.008997432,
0.012592116,
0.013564039,
-0.04893917,
-0.033388402,
0.0078039677,
0.029257733,
0.0005739525,
-0.04716684,
-0.03773347,
-0.005999479,
-0.030043846,
-0.013128103,
-0.007446643,
0.019838657,
0.042135708,
0.00044174245,
-0.038219433,
0.028500205,
0.019224059,
-0.030644152,
0.015250611,
-0.0060995296,
-0.010298093,
-0.04382228,
0.023554834,
-0.036275588,
-0.046194915,
-0.023897864,
0.03015819,
0.0003345451,
-0.033188302,
0.0006838298,
0.034245983,
-0.03490346,
0.0429647,
0.030215362,
0.01879527,
-0.027628332,
-0.028271517,
0.03193052,
-0.016151069,
-0.023869278,
-0.059973348,
-0.023025993,
0.03321689,
-0.035332248,
-0.006106676,
0.024040794,
0.009226119,
0.029900916,
0.012899416,
-0.008847355,
-0.020596186,
0.021153612,
0.050654326,
-0.002519138,
0.034874875,
-0.03321689,
0.014178637,
-0.00568146,
-0.007250115,
-0.018566582,
-0.040820755,
0.0063210707,
-0.021796796,
0.014457351,
-0.006921376,
-0.0082970755,
-0.03121587,
0.019924415,
0.027399644,
-0.00798263,
-0.027142372,
0.00076199457,
-0.019195473,
0.03730468,
-0.048396036,
-0.0020849886,
-0.04708108,
0.026727876,
0.059230115,
-0.010298093,
0.013671236,
0.043422077,
-0.019124009,
0.037647713,
0.052083623,
-0.029272025,
-0.028314395,
-0.051168874,
-0.0010835866,
0.0028961154,
0.022511445,
0.0041020857,
-0.018337894,
-0.02526999,
0.092447005,
-0.027928485,
-0.041821264,
0.002034963,
-0.0659764,
-0.032673754,
-0.02008164,
-0.005988759,
-0.005810097,
-0.0050489954,
0.03235931,
-0.013814166,
0.02598464,
-0.026985148,
0.02795707,
0.028643135,
0.013149543,
0.024969839,
-0.005928014,
-0.027685504,
0.06940672,
-0.0020742689,
0.014085733,
-0.049825333,
-0.010841226,
-0.0022118387,
0.004841747,
-0.00881877,
-0.0015222025,
0.0039305696,
0.027899899,
0.033159718,
0.010962716,
0.035160735,
0.007711063,
0.010705443,
0.026456308,
0.015850917,
-0.017137285,
0.01932411,
0.035360835,
-0.011713098,
0.0017616099,
-0.000103065795,
0.011641633,
0.0062996317,
0.014628867,
0.015164853,
0.06454711,
-0.036361344,
0.0009451234,
-0.061002444,
-0.012291964,
-0.042878944,
-0.004823881,
-0.026470602,
-0.0395058,
-0.042507324,
0.036247,
-0.058515467,
-0.02910051,
-0.03907701,
-0.016279705,
0.035503764,
0.042535912,
0.003466048,
0.024469584,
0.012634995,
-0.00541704,
-0.028414447,
0.0098049855,
0.0049132123,
-0.0073001403,
0.03150173,
0.0020153103,
-0.00028697625,
-0.026313378,
0.038390946,
-0.008504324,
0.04659512,
0.022111243,
0.010919837,
-0.033388402,
-0.002717453,
0.04056348,
0.00044643233,
-0.018866735,
-0.023812106,
0.050854426,
0.016179655,
0.06254609,
0.030987183,
0.033817194,
-0.002131441,
-0.00061415153,
0.0142786885,
-0.0038984106,
-0.0060530775,
0.030043846,
0.025598729,
0.04345066,
0.012327696,
-0.024898373,
-0.017794762,
-0.0062281666,
-0.026499188,
0.006328217,
-0.043136217,
0.03759054,
-0.0019366989,
-0.0021385874,
-0.025641609,
-0.015450712,
-0.0063961092,
0.029272025,
-0.016179655,
0.02445529,
0.021410886,
0.011827442,
-0.038676806,
-0.0008955446,
0.035074975,
0.055113737,
-0.032387894,
0.009583444,
0.01745173,
-0.06334649,
-0.028314395,
-0.024955545,
-0.09747813,
0.010012234,
-0.019567091,
-0.0041163787,
0.037419025,
-0.032873858,
0.022711547,
-0.0181235,
-0.023669178,
0.0128279505,
-0.019538505,
0.022840183,
0.03398871,
0.02152523,
-0.04822452,
-0.00050784746,
-0.049853917,
-0.009490539,
-0.022954527,
-0.022197,
-0.02488408,
-0.011713098,
-0.01162734,
-0.019424161,
-0.01592238,
-0.0329882,
-0.03856246,
0.006103103,
-0.0066212234,
-0.02046755,
-0.00011858708,
0.011041328,
-0.044079553,
0.022540031,
0.023597712,
-0.054113228,
0.041306715,
0.053055547,
-0.022582911,
0.03701882,
0.0077467957,
0.026156155,
-0.030529808,
0.02722813,
0.061288305,
-0.03547518,
-0.021853969,
-0.027142372,
-0.015750865,
0.0061888606,
-0.013249594,
0.0097835455,
-0.0058315364,
0.022754425,
0.017866226,
-0.03638993,
-0.013556893,
-0.04127813,
0.00569218,
-0.058029503,
-0.025798831,
0.029329197,
0.011941786,
0.024912667,
-0.032016277,
-0.003830519,
-0.016222533,
0.06157416,
-0.017051527,
-0.036790133,
-0.005710046,
0.025041303,
0.010390997,
0.031701833,
0.025541557,
-0.03393154,
0.0048310277,
-0.029129095,
0.0445941,
0.010962716,
0.000094802665,
0.009883597,
-0.006799886,
0.028042829,
-0.001569548,
0.018080622,
0.026599238,
-0.00016582091,
0.005452772,
0.0063032047,
0.036075484,
0.007396618,
-0.019852951,
-0.018280722,
0.0010005087,
0.02166816,
0.030043846,
-0.02895758,
0.02028174,
-0.022654375,
-0.028371567,
0.0037769203,
0.0038412388,
-0.020010173,
0.053484336,
0.050111193,
0.05488505,
-0.015593642,
-0.009519125,
0.013028053,
-0.0058065234,
0.028400153,
0.0678059,
-0.020053053,
-0.009268998,
-0.016880011,
-0.06054507,
-0.019481333,
-0.002860383,
0.020839166,
-0.005006117,
-0.019695727,
-0.045137234,
-0.024569634,
0.013821313,
0.027485402,
0.049082097,
0.031730417,
0.051511902,
-0.022640083,
0.004441544,
0.034446083,
-0.058315363,
-0.02694227,
-0.053855952,
0.05720051,
0.0071607837,
0.0026459883,
-0.015336369,
-0.024269482,
-0.0127707785,
-0.019366989,
-0.0062603257,
0.025255697,
-0.019953001,
-0.014207223,
-0.0009406568,
0.047538456,
-0.006728421,
-0.028643135,
-0.029229147,
-0.01417149,
0.04142106,
0.00090626435,
0.0038197993,
-0.02319751,
0.013113811,
0.016980061,
-0.017994864,
-0.04299329,
-0.006949962,
-0.020353206,
-0.020667652,
0.082156055,
0.053627264,
0.033274062,
0.013199568,
-0.013749848,
0.027342472,
0.020024467,
-0.0213823,
-0.04842462,
-0.0011353988,
0.0014543108,
0.0038412388,
0.026484894,
-0.024097966,
0.0024798322,
0.03355992,
-0.028257225,
0.010991302,
-0.050883014,
-0.027914193,
-0.013921363,
0.014993337,
-0.006149555,
0.0004904279,
0.017265921,
-0.03427457,
-0.011998958,
0.043307733,
-0.02895758,
-0.056457277,
0.019138303,
0.021968313,
0.029300611,
0.030558394,
-0.008518617,
-0.022711547,
0.01908113,
-0.0004171764,
-0.06763439,
0.034503255,
-0.016951475,
-0.0034053028,
-0.03959156,
-0.025584437,
0.017094405,
-0.049167857,
0.02757116,
0.00097549596,
0.035160735,
0.015465005,
-0.055256665,
0.01677996,
0.020310326,
-0.01539354,
0.026870804,
0.02095351,
0.005331282,
-0.0097835455,
0.0143787395,
-0.00014549808,
-0.029329197,
-0.06186002,
0.0064104022,
0.06746287,
-0.036590032,
0.010762615,
-0.050883014,
-0.05542818,
0.058143847,
-0.053741608,
0.052998375,
-0.021125026,
-0.013185275,
-0.015450712,
-0.0012586757,
-0.032502238,
0.01769471,
0.0015418554,
-0.021882555,
0.012627848,
-0.045194406,
0.012091862,
-0.032788098,
-0.03907701,
0.030186776,
-0.025670195,
-0.029643644,
-0.03496063,
0.018252136,
0.02704232,
-0.016322585,
0.022997407,
-0.038390946,
-0.02718525,
-0.04299329,
0.035303663,
-0.049310785,
-0.002040323,
-0.04762421,
-0.021939727,
0.011119939,
0.0035125,
0.00059494533,
-0.050111193,
0.020381792,
0.0022189852,
-0.04865331,
-0.030043846,
-0.04064924,
-0.028514497,
0.019552799,
-0.04299329,
0.060373552,
-0.016394049,
-0.0006579238,
-0.000060912666,
0.0017875159,
0.04502289,
0.04127813,
-0.035074975,
-0.0011085994,
-0.015665106,
0.011784563,
-0.03544659,
0.038705394,
-0.00202603,
0.037075993,
-0.03015819,
0.0460234,
-0.047795728,
-0.031015769,
-0.018981079,
-0.028686013,
0.0458233,
-0.021610988,
0.03215921,
-0.031901933,
0.026227621,
-0.0038948373,
0.01918118,
-0.060087692,
-0.001230983,
-0.046137743,
-0.05082584,
0.069635406,
-0.04142106,
0.009683494,
-0.00973352,
-0.01798057,
0.053770196,
-0.021782503,
0.032302137,
0.062831946,
0.013428256,
-0.0077610887,
-0.020067345,
0.049253613,
0.019052545,
-0.008089827,
-0.015364955,
-0.022597203,
0.0016561992,
0.026084691,
-0.02987233,
-0.03044405,
-0.013078078,
0.01826643,
0.00030193923,
0.029615058,
0.03130163,
0.008511471,
-0.037962157,
-0.018252136,
0.0016490527,
0.02081058,
-0.010633978,
0.017022941,
0.030472636,
0.013799873,
0.04013469,
-0.010269507,
-0.014450204,
-0.008840209,
0.052655343,
0.00459162,
-0.06917803,
0.017151577,
0.059458803,
-0.035017803,
-0.031730417,
0.013449695,
0.0023601286,
-0.037990745,
-0.015036216,
-0.009033164,
0.004841747,
-0.069692574,
0.01596526,
0.035846796,
-0.0112914555,
0.018280722,
0.013385377,
0.035217907,
-0.051226046,
-0.04433683,
0.015765158,
-0.046223503,
-0.004720257,
-0.037390437,
0.0057707913,
-0.03573245,
0.011105646,
0.034074467,
0.0031676819,
0.020238861,
0.073580265,
-0.023469076,
0.05168342,
0.017080113,
0.032502238,
-0.027685504,
-0.03413164,
-0.039134182,
-0.041735504,
0.028757479,
0.031444557,
0.009504832,
-0.03030112,
0.019395575,
0.046709463,
0.032873858,
-0.010862665,
-0.047881488,
-0.020138811,
-0.04262167,
-0.012134741,
0.004852467,
0.002235065,
-0.01822355,
0.018252136,
-0.0082899295,
-0.018923907,
0.014836115,
0.018995373,
-0.026199035,
0.017380266,
-0.061688505,
-0.014107172,
-0.0073751784,
-0.054742116,
-0.021825382,
-0.011177111,
0.017437438,
0.02588459,
-0.037218925,
-0.0065426123,
0.008440006,
0.0017312374,
-0.040277623,
0.022940235,
0.0076538916,
0.042450152,
-0.010326679,
0.018666634,
-0.041792676,
0.0037090287,
0.0295293,
-0.048081588,
0.015593642,
-0.018009156,
0.01802345,
-0.01177027,
0.015107681,
0.021510936,
0.034731943,
-0.0028335836,
-0.0060995296,
0.019252645,
-0.030129604,
0.011927493,
-0.036704376,
-0.026484894,
-0.013321059,
0.050225537,
-0.010012234,
0.010483902,
0.030501222,
-0.004248589,
-0.041592576,
0.025012717,
-0.014057147,
-0.003541086,
0.034789115,
0.004620206,
0.0017741163,
-0.019624263,
0.04553744,
0.0083042225,
-0.056857478,
0.021582402,
-0.0127850715,
-0.017223042,
0.006278192,
-0.0069142296,
0.04636643,
0.029815158,
-0.0045237285,
-0.023497662,
0.0038876908,
0.012577823,
-0.0496824,
0.021653866,
-0.052683927,
-0.021067854,
0.018723805,
-0.050425638,
0.024969839,
-0.014650306,
-0.015865209,
0.02747111,
0.060259208,
-0.013478281,
0.02967223,
0.010948423,
0.02541292,
0.023283266,
-0.06408973,
-0.004366506,
0.0066605294,
0.010555367,
-0.035789624,
-0.026927976,
0.03498922,
0.049339373,
0.021325128,
-0.0013533666,
-0.03187335,
-0.057086166,
0.039277114,
0.011455825,
0.0073894714,
0.011462971,
-0.04722401,
0.035875384,
-0.021267956,
0.0067498605,
-0.009347609,
0.0068248985,
-0.016594151,
0.017051527,
-0.0032713062,
0.019309817,
0.005124034,
-0.0045666075,
0.032473654,
0.02133942,
0.03284527,
0.013249594,
0.010941277,
-0.031273045,
0.065004475,
0.012184766,
0.05154049,
-0.008718719,
0.03573245,
0.024812615,
-0.025341455,
0.0005288403,
0.042335812,
-0.002390501,
0.042021364,
-0.014092879,
-0.029986674,
-0.009240412,
-0.012692167,
0.010612538,
-0.012427747,
-0.006785593,
-0.012434893,
-0.01788052,
0.0064997333,
-0.006571198,
-0.04971099,
-0.03418881,
-0.005749352,
0.014878994,
0.007946897,
-0.012070423,
0.023640592,
0.013921363,
0.026156155,
0.027256714,
0.0065926374,
0.039677314,
-0.0143573,
0.054399088,
-0.0059959055,
0.025384335,
-0.039134182,
-0.023126043,
0.00029144282,
-0.017051527,
-0.05805809,
0.032102037,
-0.012227645,
-0.042650256,
0.021196492,
-0.014021414,
-0.020524722,
-0.056342933,
-0.0015373888,
-0.018280722,
0.027313886,
0.04708108,
-0.03187335,
-0.042307224,
0.029615058,
-0.03072991,
0.028400153,
0.03504639,
0.046423603,
0.015093388,
0.091703765,
0.025227113,
-0.008718719,
0.030815667,
-0.00040556333,
-0.07037864,
0.0017633965,
0.002665641,
-0.0039734486,
0.029786572,
-0.051912107,
-0.046337847,
0.045194406,
0.007875432,
-0.006742714,
-0.027442524,
0.037161753,
0.016865717,
-0.021082148,
0.011584462,
0.090331644,
0.011177111,
0.009390488,
-0.004280748,
-0.006249606,
-0.040877927,
0.0007075026,
0.0023690616,
0.08026938,
-0.013235301,
-0.020338912,
0.016508393,
-0.062031537,
-0.013564039,
0.033588506,
-0.0020849886,
0.025055597,
0.033274062,
0.029643644,
0.019409869,
-0.029357783,
0.0057743643,
-0.039048426,
0.04267884,
0.06689115,
-0.0021153612,
0.06872065,
0.087987594,
-0.021210784,
0.027914193,
0.025641609,
0.03164466,
-0.026970856,
0.0036625764,
0.022740133,
0.0049275053,
0.013392523,
-0.017137285,
-0.0098049855,
0.018523704,
-0.02172533,
-0.0034499683,
-0.02225417,
-0.009304731,
-0.06386104,
-0.01030524,
0.01215618,
0.024040794,
0.0034714078,
-0.014135758,
0.023068871,
-0.035418008,
0.24263765,
0.08221323,
0.04665229,
0.07037864,
0.026341964,
0.035589524,
0.036504272,
-0.04430824,
-0.0036000446,
-0.029900916,
-0.00634251,
-0.040877927,
0.031330213,
0.040792167,
-0.034817703,
0.03527508,
-0.046137743,
-0.028214345,
0.0063639497,
-0.034303155,
-0.07420916,
0.041735504,
0.0032605864,
0.031730417,
0.019124009,
0.03390295,
0.0067212745,
-0.039534386,
-0.012134741,
-0.002860383,
0.0019617116,
-0.029272025,
0.046280675,
-0.022783011,
0.01405,
-0.006610504,
0.026484894,
-0.014485937,
-0.010533927,
0.00515262,
0.005331282,
-0.016794253,
0.045137234,
-0.020138811,
-0.022897355,
0.027356766,
0.0026316952,
0.015650814,
0.04822452,
-0.060487896,
0.021925433,
-0.04799583,
0.004280748,
-0.00959059,
-0.06826328,
-0.0074823755,
-0.0735231,
-0.054484844,
0.0590586,
0.012199059,
-0.0010612538,
0.012692167,
-0.010555367,
-0.016436929,
-0.045651782,
0.009612029,
-0.018094914,
0.054113228,
0.010998449,
-0.05488505,
-0.007646745,
-0.018537996,
-0.032816686,
-0.014836115,
0.0072036623,
0.042535912,
-0.014007121,
0.05174059,
-0.020210275,
-0.06117396,
0.019967295,
0.0013346071,
0.010433876,
-0.025555851,
0.03333123,
0.016036725,
-0.018709512,
0.02785702,
-0.011927493,
0.009140361,
0.061002444,
0.07483805,
0.009097482,
0.008568643,
-0.01903825
] |
from transformers import TFMobileViTForImageClassification
import tensorflow as tf
model_ckpt = "apple/mobilevit-xx-small"
model = TFMobileViTForImageClassification.from_pretrained(model_ckpt)
converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.target_spec.supported_ops = [
tf.lite.OpsSet.TFLITE_BUILTINS,
tf.lite.OpsSet.SELECT_TF_OPS,
]
tflite_model = converter.convert()
tflite_filename = model_ckpt.split("/")[-1] + ".tflite"
with open(tflite_filename, "wb") as f:
f.write(tflite_model) |
[
0.027540224,
-0.02061912,
-0.021094946,
0.022681033,
-0.0025882043,
-0.033769216,
-0.009941877,
-0.020287484,
0.026372287,
0.058483325,
-0.016336687,
0.007483443,
0.071575746,
-0.08293789,
-0.020532606,
0.013597084,
-0.01295544,
-0.020042362,
-0.008874873,
-0.0012643631,
-0.0090911575,
0.014995724,
-0.064077884,
-0.023762455,
0.015312941,
0.016812513,
0.021714961,
-0.017793003,
0.06505837,
0.0376335,
-0.0100356,
-0.026703924,
0.03598974,
-0.0045924406,
-0.032211967,
-0.024627592,
0.013287077,
-0.01476502,
-0.04475647,
-0.025550406,
0.054013442,
0.013424057,
0.030135637,
-0.053032953,
-0.048188183,
-0.0055801393,
0.0053710644,
0.015168752,
0.015961794,
-0.029025378,
-0.03414411,
0.0070869215,
-0.0052557127,
-0.034201786,
-0.009970714,
-0.032529186,
-0.017028797,
-0.03301943,
-0.015644578,
-0.013344753,
0.03968099,
0.058050755,
0.025146676,
-0.014310823,
-0.002285406,
0.028938863,
-0.031116128,
0.020287484,
-0.011073765,
-0.01379895,
-0.048995644,
0.0117586665,
-0.053465523,
-0.057358645,
0.0065317913,
0.031029614,
0.034230623,
-0.012176816,
-0.011441449,
0.043228056,
-0.0029018167,
0.022839641,
0.02536296,
0.0029973425,
-0.018759074,
-0.021008432,
0.038066067,
0.0012066872,
-0.027684413,
-0.036220443,
0.010287932,
0.017893936,
0.007346463,
0.033077106,
0.01435408,
0.010533054,
-0.0028441409,
0.004552788,
0.021397745,
-0.0029685046,
-0.021469839,
0.048851453,
-0.0036407888,
0.039392613,
-0.02661741,
-0.021469839,
-0.008016945,
-0.037027903,
-0.018917682,
-0.036162764,
0.009913038,
-0.0066831904,
0.016408782,
0.008975806,
-0.0057459576,
-0.01630785,
-0.016379945,
0.015082237,
-0.026934627,
-0.033913407,
0.006740866,
-0.0069751744,
0.012003789,
-0.05138919,
0.019566536,
-0.05138919,
0.045765795,
0.030222151,
-0.04317038,
0.009703964,
0.023762455,
-0.025002485,
0.015370617,
0.049658917,
-0.01547155,
-0.056378156,
-0.037950717,
0.026026232,
-0.005143966,
0.034634355,
-0.028246753,
-0.027295101,
0.013114049,
0.079881065,
-0.02621368,
-0.0038642827,
0.016178079,
-0.02856397,
-0.04193035,
0.011095393,
0.022753127,
-0.034519,
0.011470287,
0.0685766,
0.0094732605,
0.030683558,
-0.027799765,
0.050668243,
0.010698873,
0.018614884,
0.01712973,
-0.0073068105,
-0.034490164,
0.083629996,
0.0036822432,
0.011189117,
-0.029587716,
-0.009725592,
0.0025449474,
-0.010186999,
0.006301088,
-0.000773217,
0.02005678,
0.016812513,
0.04334341,
-0.009545355,
0.039277263,
-0.034403652,
0.020748891,
0.01282567,
0.016264593,
-0.054820906,
0.03483622,
0.05225433,
0.0038534685,
-0.0014328847,
-0.007241925,
0.017735327,
0.011095393,
0.030308666,
0.0031397296,
0.08022712,
-0.02063354,
0.014750602,
-0.042276405,
0.010814224,
-0.041728485,
-0.0014914618,
-0.017850678,
-0.03959448,
-0.019480022,
0.009740011,
-0.032413833,
-0.01435408,
-0.02270987,
0.0024872716,
0.031837076,
0.04069032,
-0.013503361,
0.009963505,
0.03483622,
-0.0050971042,
-0.05285993,
-0.02382013,
0.02412293,
-0.004221152,
0.025535988,
0.01309242,
-0.025262028,
-0.025579244,
0.03766234,
-0.013914301,
0.010302351,
0.006383997,
0.0046897684,
0.0031811842,
-0.036710687,
0.027237425,
0.009343489,
-0.030625882,
-0.024771782,
0.026026232,
0.0031325202,
0.06413556,
0.036479983,
0.012775203,
0.0012283156,
0.025146676,
-0.008802778,
0.029731907,
0.0053133885,
0.01100888,
0.017951611,
0.013784531,
0.027237425,
-0.029731907,
-0.02690579,
-0.020417254,
-0.041468944,
-0.019811658,
-0.08034247,
0.022118693,
-0.018153477,
-0.011628895,
-0.025132256,
-0.021902408,
0.0068129613,
0.015803186,
-0.008182763,
0.024930391,
0.026502058,
0.02953004,
0.0015184972,
0.0018870821,
0.023603845,
0.082995564,
-0.0109367855,
0.029587716,
0.015370617,
-0.055628367,
-0.008961387,
-0.031317994,
-0.1056045,
-0.0024241884,
-0.027237425,
-0.025521569,
0.006636329,
-0.027251845,
0.017793003,
-0.03668185,
-0.016841352,
-0.008002526,
-0.024858296,
0.027684413,
0.011434239,
0.004138243,
-0.031981263,
0.018989777,
-0.03942145,
-0.0063515543,
-0.014721763,
-0.04279549,
-0.023185696,
0.0014184657,
-0.022594519,
-0.041324753,
-0.033480838,
0.0027017535,
-0.040863346,
0.034317136,
-0.0036606148,
-0.015139913,
-0.037373956,
0.0091993,
-0.05242736,
0.02981842,
-0.0035128205,
-0.051245004,
0.04236292,
0.04893797,
-0.012241702,
0.030827748,
-0.005727934,
0.031404506,
-0.02005678,
0.022781964,
0.06915336,
-0.026502058,
-0.0023106392,
-0.030712396,
-0.02800163,
0.011333306,
0.004862796,
-0.009509307,
-0.00396882,
0.028491875,
-0.0058577047,
-0.05724329,
-0.029429108,
-0.03653766,
-0.0035416584,
-0.06973012,
-0.036162764,
0.03567252,
0.02981842,
0.04069032,
-0.021931246,
0.0017221652,
-0.02578111,
0.040171236,
-0.0031036823,
-0.021614028,
0.010518636,
0.028765835,
0.001585185,
0.031519856,
0.029328175,
-0.050898947,
0.020979594,
-0.033798054,
0.021801475,
0.020878661,
-0.0037164884,
-0.014152215,
-0.025622502,
0.0172595,
-0.010943995,
-0.00006375886,
0.027482549,
-0.021859152,
0.019177224,
-0.00013337543,
0.033336647,
0.03760466,
-0.028217915,
0.004343713,
-0.0108358525,
-0.0007407743,
0.012587757,
-0.047438394,
0.005111523,
-0.017648814,
-0.026228098,
-0.014880372,
-0.012594966,
-0.026415544,
0.048563074,
0.046083014,
0.0376335,
-0.00689587,
-0.007692518,
-0.0016879201,
-0.021426583,
0.033278972,
0.023474075,
-0.010230256,
-0.023748036,
-0.0022295325,
-0.055801395,
-0.003947192,
-0.0064452775,
0.009970714,
-0.03688371,
-0.020748891,
-0.02885235,
-0.030770073,
0.03818142,
0.039133072,
0.045621607,
0.025305284,
0.04040194,
-0.036710687,
0.016062727,
0.031058451,
-0.013496151,
-0.042189892,
-0.040055886,
0.045333225,
-0.0039219586,
-0.03036634,
-0.003049611,
-0.0028585598,
0.006308297,
0.009927457,
-0.018066963,
-0.0009381339,
-0.023344304,
-0.012969859,
0.00009316004,
0.024843877,
-0.010662825,
-0.033596188,
-0.022262882,
-0.002061912,
0.047323044,
-0.020604702,
0.012421939,
-0.0367972,
0.025117837,
0.011448658,
-0.023445237,
-0.04152662,
-0.028044887,
-0.040488455,
-0.035874385,
0.057387482,
0.06436626,
-0.029054215,
0.028535133,
-0.028333267,
0.018845588,
0.033538513,
-0.023993159,
-0.058425646,
0.0053854836,
-0.0027414057,
0.010900738,
0.030424017,
-0.035066925,
0.008456723,
0.006081199,
-0.032125454,
0.03567252,
-0.04236292,
-0.021152623,
-0.01909071,
-0.0061424794,
-0.013272658,
0.035355303,
0.0026981488,
-0.030971937,
0.009862572,
0.045044847,
-0.032558024,
-0.018773492,
0.014433384,
0.03189475,
0.036739524,
-0.008968596,
-0.010345608,
-0.008983015,
0.025665758,
-0.0091127865,
-0.06638492,
0.022234045,
-0.0004174741,
0.00933628,
-0.037114415,
-0.010158161,
0.013719645,
-0.036710687,
0.01573109,
0.00675889,
0.02621368,
-0.0066976096,
-0.04184384,
0.0067012142,
0.020143295,
-0.018196734,
0.02774209,
0.035614844,
0.019681888,
0.014346871,
0.022666613,
-0.015457131,
-0.032731052,
-0.060155924,
-0.012753575,
0.06996082,
-0.015788767,
-0.012904974,
-0.024353633,
-0.06280901,
0.048822615,
-0.034605518,
0.010439331,
-0.05072592,
0.008211601,
0.015125494,
-0.008312534,
-0.0180958,
0.037864204,
-0.018485114,
0.0068057515,
0.03610509,
-0.032961756,
0.024584336,
-0.07982339,
-0.030279826,
0.046630934,
-0.03137567,
-0.027122073,
-0.013907092,
0.004740235,
0.023993159,
-0.014209891,
0.005183618,
-0.034807384,
-0.022738708,
-0.018297667,
0.02384897,
-0.08357232,
-0.000029767278,
-0.03134683,
-0.043833654,
0.013452895,
-0.007094131,
0.050178,
-0.065577455,
-0.014318032,
0.00010442485,
-0.008377419,
-0.022825222,
-0.03149102,
-0.007007617,
-0.00397603,
-0.045304388,
0.07071061,
-0.00662191,
-0.013034744,
0.004210338,
0.03036634,
0.015947375,
0.04221873,
-0.016942285,
0.0018239991,
-0.03388457,
-0.005980266,
-0.043285735,
0.02328663,
-0.016134823,
0.023228953,
-0.008817197,
0.03330781,
-0.083283946,
-0.022219626,
0.004221152,
-0.030020285,
0.05069708,
-0.03232732,
0.024050834,
-0.033250134,
0.018686978,
-0.025535988,
0.040747996,
-0.031692885,
-0.021513097,
-0.049168672,
-0.06563513,
0.036335792,
-0.024007577,
0.006052361,
-0.029212823,
-0.01741811,
0.04054613,
0.003939982,
0.017720908,
0.05531115,
0.002115983,
-0.032702215,
-0.048303533,
-0.0002397153,
0.030741233,
-0.006506558,
-0.010843062,
-0.002299825,
-0.0010093276,
0.04472763,
-0.06032895,
-0.027237425,
-0.035903223,
0.041613135,
0.0020510978,
0.016495297,
0.055974424,
-0.004664535,
-0.015442712,
-0.010807014,
0.005309784,
0.045362066,
-0.00155094,
-0.042449433,
0.0075339093,
0.033336647,
0.03904656,
-0.031029614,
0.00083224464,
0.0061136414,
0.0459965,
0.028895607,
-0.042247567,
0.044958334,
0.048303533,
-0.01978282,
-0.03293292,
0.024988066,
-0.019350251,
-0.024800621,
-0.024915973,
-0.011210745,
-0.015687834,
-0.03653766,
0.008572075,
0.02034516,
-0.006921103,
0.00016807107,
0.02118146,
0.007822289,
-0.07780474,
-0.0175623,
0.03924842,
-0.0551958,
0.0003070789,
-0.08951294,
-0.04115173,
-0.055686045,
0.012047046,
0.036047414,
-0.0061532934,
0.00862975,
0.05320598,
0.02272429,
0.04279549,
0.045765795,
0.011217955,
0.0076564704,
-0.05167757,
-0.017533462,
-0.0192349,
0.026357869,
-0.014339661,
0.03258686,
-0.027669994,
0.040200077,
0.054705553,
0.011059347,
0.0006209167,
-0.04487182,
-0.025838785,
-0.014822696,
0.012234492,
-0.015111076,
-0.0059334044,
-0.033163622,
0.034778543,
-0.036422305,
-0.01685577,
0.022205206,
0.03665301,
-0.010907947,
-0.013265448,
-0.05285993,
-0.021426583,
-0.0070977355,
-0.0014671297,
-0.0010363632,
-0.020748891,
0.007721356,
0.044669956,
-0.008045782,
-0.024757363,
0.031981263,
0.021152623,
-0.010511425,
0.02494481,
0.01449106,
0.042305246,
-0.00431848,
0.01573109,
-0.05531115,
-0.012184026,
0.041584294,
-0.047409557,
0.009884201,
-0.033077106,
0.030568207,
-0.014779439,
0.021267973,
0.05069708,
-0.007980897,
0.03454784,
-0.021945665,
0.03036634,
-0.029054215,
0.01379174,
-0.021210298,
-0.013690808,
-0.00029739115,
0.04778445,
0.0015491376,
0.019306995,
0.05144687,
0.010900738,
-0.027655575,
0.03232732,
0.008377419,
0.012306587,
0.039882857,
0.014808278,
-0.046111852,
-0.033452,
0.026689505,
0.0041021956,
-0.056262802,
0.0082909055,
-0.0046465117,
-0.02537738,
-0.0014977701,
-0.0020565048,
-0.023099182,
0.037114415,
0.006232598,
0.016754838,
0.0069355224,
0.011895646,
-0.016899027,
-0.023041507,
-0.039133072,
-0.03607625,
0.024988066,
-0.057993077,
0.025752272,
-0.018139059,
-0.0012409321,
0.0047330256,
0.03529763,
-0.0059261946,
0.008882083,
-0.00092822086,
0.02674718,
-0.0016906237,
-0.06673097,
0.008125087,
0.032904077,
0.017519044,
-0.023719197,
-0.029703068,
0.008593704,
0.07463256,
0.010987252,
-0.030885424,
-0.03206778,
-0.066442594,
0.0028116982,
-0.0036191603,
0.003554275,
0.024238281,
-0.015154333,
0.019999105,
-0.03529763,
0.014310823,
0.010251884,
-0.001998829,
-0.00016919755,
0.026127165,
-0.0014752403,
0.006402021,
0.027280683,
-0.0060595702,
0.02761232,
0.011888437,
0.034115274,
0.010994461,
0.008939759,
-0.024829458,
0.05828146,
0.030222151,
0.058454484,
-0.024425726,
0.054272987,
0.012616594,
-0.05681072,
0.013561036,
0.046025336,
0.0101942085,
0.02703556,
-0.02328663,
-0.045044847,
-0.01643762,
-0.026703924,
0.024973648,
-0.01309242,
0.03538414,
0.016235756,
-0.010807014,
-0.016134823,
0.007425767,
-0.0175623,
-0.039767507,
-0.04556393,
0.036479983,
0.0150534,
0.0027143701,
0.003058623,
0.0075699566,
0.04596766,
0.04700583,
0.0042752232,
0.021671705,
0.0061496887,
0.016798094,
-0.008016945,
0.051216166,
-0.057012588,
-0.025103418,
-0.006452487,
-0.012328215,
-0.03454784,
0.026732761,
-0.0047762822,
-0.039623316,
0.012840088,
-0.017245082,
-0.021253554,
-0.066442594,
-0.0031974055,
-0.044006683,
0.036854874,
0.05591675,
0.004156267,
-0.042016864,
0.014577574,
-0.040257752,
0.02814582,
0.048822615,
0.037950717,
-0.01002839,
0.086629145,
0.026415544,
-0.025305284,
0.043314572,
0.0055008354,
-0.043747142,
0.026675086,
0.0013481732,
-0.011326097,
0.032846402,
-0.053725064,
-0.059809867,
0.0802848,
0.027237425,
0.00086153316,
-0.0033379905,
0.03469203,
0.0045780214,
-0.015269685,
0.0044518556,
0.050783597,
0.014310823,
0.032096617,
0.003705674,
-0.0016086159,
-0.017547881,
0.008052992,
0.0066147004,
0.07803544,
0.0041021956,
-0.041382432,
0.013063583,
-0.008990224,
-0.036047414,
0.012457986,
-0.03120264,
0.021844732,
0.0077574034,
0.037575822,
0.056320477,
-0.012090302,
0.009646288,
-0.05032219,
0.07907361,
0.038787015,
-0.014591993,
0.0685766,
0.06973012,
-0.00081377034,
-0.0038931207,
0.008117878,
0.028491875,
0.030597044,
-0.0034172947,
0.015485968,
-0.029212823,
-0.010280722,
-0.014599202,
0.01031677,
0.012104722,
-0.00063623686,
-0.026574153,
-0.024483403,
-0.038700502,
-0.027655575,
0.0025900067,
-0.007973688,
0.022190787,
0.030308666,
-0.04195919,
0.024627592,
-0.015284103,
0.24616058,
0.048851453,
0.017028797,
0.043804817,
0.033682704,
0.03844096,
0.016365526,
-0.030712396,
0.01590412,
-0.034317136,
-0.017504623,
-0.039796345,
-0.0107565485,
0.037287444,
-0.016480878,
0.010208627,
-0.02661741,
-0.0071518067,
0.016149241,
-0.032269645,
-0.0239499,
0.076305166,
0.011124232,
0.03665301,
0.025290865,
0.019451184,
0.024036415,
-0.024281537,
0.010943995,
-0.000057140784,
0.015024561,
-0.051908273,
0.002898212,
-0.034461327,
-0.0054828115,
0.0061929454,
0.0018230979,
-0.030712396,
-0.020907499,
-0.009876992,
-0.0013166318,
-0.011124232,
0.022464748,
0.000051283077,
-0.025824366,
0.05444601,
0.024094092,
0.017533462,
0.038412124,
-0.06973012,
0.0016626869,
-0.05409996,
0.022176368,
-0.04291084,
-0.071921796,
-0.0050394284,
-0.024497822,
-0.061482467,
0.042708974,
0.0028459432,
-0.011931694,
0.035903223,
-0.03414411,
0.008478352,
-0.025997395,
0.028131401,
-0.020157713,
0.007649261,
-0.001629343,
-0.015558064,
0.0242527,
0.008932549,
-0.054157633,
-0.038931206,
-0.020244228,
0.027554642,
0.0037309073,
0.064712316,
-0.03720093,
-0.033596188,
0.019335832,
0.0039904485,
0.007584376,
0.013323124,
0.025391798,
0.04028659,
-0.024757363,
0.006578653,
-0.0055476967,
0.027165331,
0.030337503,
0.05239852,
0.006870637,
0.048851453,
0.005810843
] | You can use the following code to convert a MobileViT checkpoint (be it image classification or semantic segmentation) to generate a
TensorFlow Lite model: |
[
0.045324806,
-0.0051462236,
-0.008778206,
0.007472448,
-0.018097736,
0.011660384,
0.056736473,
-0.014901005,
0.026217576,
0.039004497,
0.0332694,
-0.00915128,
0.040233444,
-0.040496793,
-0.010782563,
0.036809944,
0.009246377,
-0.05363484,
-0.030050727,
-0.009129334,
-0.014535246,
0.010855715,
-0.091234826,
-0.06384682,
0.00830272,
0.018507386,
0.057233904,
0.022179602,
0.06004293,
0.0055156397,
-0.01743937,
-0.027519677,
0.050416164,
-0.031572282,
-0.027534306,
-0.004337897,
0.0059033437,
-0.017527152,
-0.047051184,
-0.05451266,
0.054980833,
-0.036517337,
0.06086223,
-0.024520457,
-0.03610769,
0.0034326443,
0.039501928,
-0.026905201,
-0.005486379,
-0.023101313,
-0.027534306,
0.03113337,
-0.018229408,
-0.02637851,
-0.0072383625,
-0.0074175843,
-0.022077188,
-0.020160614,
-0.0033082864,
0.008800152,
0.04096496,
0.01619579,
0.010321707,
-0.047314532,
-0.010519217,
0.026232205,
-0.039882317,
-0.021667538,
0.013576959,
-0.02852917,
-0.011236104,
-0.008273459,
-0.022004036,
-0.057702076,
0.0031327223,
-0.0018854855,
0.012779606,
-0.011221474,
-0.0005783558,
0.04008714,
-0.00021396877,
0.033913136,
0.027973218,
-0.015200927,
-0.044476245,
-0.04002862,
0.028251193,
-0.040672354,
-0.0030156795,
-0.048192352,
0.014432834,
0.03540543,
-0.016956568,
0.02940699,
0.010892291,
0.017761238,
0.027270962,
0.052552193,
-0.0018068474,
0.011872523,
0.018375712,
0.040555313,
-0.0071981293,
0.054366358,
-0.0646076,
0.034264266,
-0.010592368,
-0.029597186,
-0.018946296,
-0.075141445,
-0.0076882457,
0.009429256,
0.029480143,
-0.0062508145,
-0.013503808,
0.017746607,
0.0049889474,
0.04043827,
-0.005274239,
-0.014630344,
-0.014688865,
0.017336957,
-0.0166347,
-0.053517796,
0.0026389481,
-0.019926528,
0.028265825,
0.05828729,
-0.041901305,
-0.0039136168,
0.030723723,
-0.023730418,
-0.013876881,
0.035142086,
0.0125967255,
-0.049918734,
0.0046414766,
0.003083345,
0.05714612,
0.004542722,
-0.016254311,
-0.039765272,
-0.004158675,
0.0758437,
-0.0357273,
-0.00680311,
-0.0008311864,
-0.07742378,
-0.03610769,
0.00915128,
0.01063626,
0.027914695,
-0.032713447,
0.046056323,
-0.018258668,
0.015610577,
-0.03666364,
0.0375122,
0.01616653,
0.0046487916,
0.028821778,
-0.0035533446,
-0.023920612,
0.050562467,
-0.069523394,
-0.009107389,
-0.017790498,
0.00915128,
0.027168548,
-0.031338196,
-0.009100074,
0.0016861471,
-0.0133209275,
0.0068250555,
0.0134891765,
0.029992204,
0.04608558,
-0.037570722,
0.023496332,
0.0014356024,
0.002834629,
0.008390502,
0.03107485,
0.04889461,
-0.039443407,
0.0010021785,
-0.015493534,
0.0076443544,
0.002216497,
0.0039721383,
0.012450422,
0.04260356,
-0.043130253,
-0.012216337,
-0.0251203,
-0.035610255,
-0.012443108,
-0.013569644,
-0.004374473,
-0.078126036,
-0.04511998,
0.012867387,
-0.013467232,
0.018522015,
-0.046436712,
0.0013944546,
0.034761697,
0.0106582055,
-0.026685746,
0.010292447,
0.038477805,
-0.0106069995,
-0.011872523,
-0.019238902,
0.047373053,
-0.018902404,
0.028148782,
0.017249174,
-0.029289948,
-0.02766598,
0.0074505024,
0.016912676,
-0.008331981,
0.020248396,
-0.007472448,
0.024754541,
-0.0029132671,
0.017380849,
0.013159994,
-0.011835948,
-0.020687306,
0.029860532,
0.0061447443,
0.058082465,
0.05328371,
0.050474685,
-0.0057387524,
0.025456797,
-0.021345671,
0.014703495,
-0.03531765,
0.01912186,
0.013540383,
-0.015113145,
0.026319988,
-0.029289948,
0.011609178,
0.002490816,
0.0008590755,
0.025749404,
-0.072507985,
0.045237023,
0.025412908,
0.019911898,
-0.022852598,
0.030050727,
-0.0074139265,
0.050884336,
-0.047197487,
-0.009758439,
-0.027914695,
0.013518438,
-0.012267543,
0.034673914,
0.02934847,
0.07122051,
-0.005837507,
0.008171047,
0.009085444,
-0.060335536,
-0.027022244,
-0.0038989866,
-0.089128055,
0.0050145504,
0.008266144,
-0.013116103,
0.027329482,
-0.057994682,
-0.0063020205,
-0.037570722,
-0.01868295,
0.020116722,
-0.05328371,
0.007819919,
0.0153764915,
0.010972758,
-0.028631583,
0.034995783,
-0.017849019,
0.0127649745,
0.03268419,
-0.0306652,
0.0016715168,
0.006996962,
0.008024744,
-0.0306652,
-0.02810489,
0.03964823,
-0.050825816,
-0.016649332,
-0.0058887135,
-0.007154238,
-0.006280075,
0.010094937,
-0.05266924,
0.028002478,
-0.032976795,
-0.030138507,
0.027607458,
0.042427998,
-0.033444967,
0.03663438,
-0.03575656,
0.033503488,
-0.012567465,
0.044066597,
0.06975748,
-0.002092139,
-0.013745208,
-0.009736494,
0.009641397,
-0.030577417,
-0.033298664,
-0.03754146,
-0.052084025,
0.045792975,
0.015186297,
-0.07596075,
-0.029055862,
-0.031396717,
-0.018126996,
-0.030079987,
-0.036253992,
0.034995783,
0.016941939,
0.0046561067,
-0.02977275,
-0.020160614,
-0.025837187,
0.023905981,
0.019868007,
-0.036956247,
0.040701617,
0.045237023,
0.0020884816,
-0.014476725,
0.0340887,
-0.02466676,
0.033532746,
0.032040454,
-0.0033192593,
0.03198193,
0.01836108,
0.017717347,
0.011345832,
0.025720144,
-0.06425647,
-0.010380229,
-0.015947074,
-0.054776005,
0.021828473,
0.041930564,
-0.022501469,
0.0064556394,
-0.0033722941,
-0.010116883,
0.016927307,
0.013803729,
0.01662007,
-0.05620978,
0.041901305,
-0.058492113,
-0.029860532,
-0.011587232,
0.0048719044,
-0.02896808,
0.08356852,
0.037980374,
0.036751423,
-0.04424216,
-0.016956568,
-0.008624587,
-0.0065507363,
0.052113283,
0.025749404,
0.018522015,
-0.059925888,
-0.04889461,
-0.028748626,
-0.044446982,
0.013240461,
0.0011667699,
-0.040174924,
-0.013152679,
-0.02427174,
-0.04134535,
-0.0013304469,
0.025295865,
0.043656945,
-0.00089702295,
0.04301321,
-0.018097736,
0.0306652,
0.020877501,
-0.010680151,
-0.03496652,
-0.0520255,
0.050065037,
0.010987388,
-0.012903963,
-0.056502387,
-0.022852598,
0.006086223,
-0.013094158,
-0.065778024,
0.032128233,
-0.052318107,
-0.004495173,
-0.022706293,
0.042310953,
-0.020204505,
-0.018960925,
-0.03104559,
0.03446909,
0.039238583,
-0.032186758,
-0.019765595,
-0.053810403,
0.031777106,
0.0035057962,
-0.02933384,
-0.03060668,
0.022764815,
0.005325445,
-0.011236104,
0.04342286,
0.045997802,
-0.013372134,
0.006056962,
-0.035610255,
0.026715007,
0.028558431,
-0.005149881,
-0.022589251,
-0.01959003,
0.023598744,
0.00085313193,
0.03063594,
-0.00831735,
-0.012977115,
0.057438727,
0.016503029,
-0.011192213,
-0.042398736,
-0.021082325,
-0.0020500768,
-0.000038433227,
-0.021111585,
-0.0072017866,
0.042252433,
0.033298664,
0.014220694,
0.012794236,
-0.026232205,
-0.0063312813,
0.004875562,
0.010329023,
0.031747844,
0.046319667,
0.0119895665,
-0.018463494,
0.030899286,
0.024388783,
-0.044125117,
0.010745987,
0.015098515,
-0.017644195,
-0.020848239,
-0.0053547057,
-0.021843104,
-0.023935242,
0.01998505,
0.002225641,
0.014513301,
0.009473148,
-0.0065507363,
0.0011018477,
0.025017887,
-0.0042684027,
0.03970675,
0.021535866,
0.025266603,
0.000084410225,
-0.013979293,
-0.0466708,
-0.01318194,
-0.031572282,
0.02042396,
0.042193912,
-0.017746607,
0.04140387,
0.007311514,
-0.0011228789,
0.01577151,
-0.02295501,
0.0277245,
-0.025427537,
0.020994544,
0.0049779746,
-0.008331981,
0.013006375,
0.035376173,
-0.045441847,
0.005698519,
0.023584114,
-0.03318162,
-0.02336466,
-0.01915112,
-0.05878472,
0.029260688,
-0.014857114,
-0.027885435,
-0.01783439,
0.0050072353,
-0.003825835,
0.025734775,
-0.02172606,
-0.028192673,
-0.026188316,
-0.073736936,
-0.007095717,
-0.053781144,
-0.052142546,
-0.017658824,
-0.03496652,
-0.016429875,
0.0020464193,
0.016020227,
0.014037815,
-0.007746767,
-0.030079987,
0.026729638,
-0.02892419,
-0.039677493,
0.00692381,
0.025793295,
-0.024052285,
0.05398597,
0.005793616,
-0.049977254,
0.006360542,
0.032625668,
0.012823496,
0.04629041,
-0.02468139,
-0.024827693,
0.005255951,
-0.007190814,
0.004557352,
0.007329802,
-0.027183179,
0.050738033,
-0.024754541,
0.032889012,
0.004425679,
-0.043539904,
-0.01571299,
-0.051323246,
0.04260356,
0.008492915,
0.018390343,
-0.026583334,
0.0050547835,
0.0041038115,
-0.0010131513,
-0.039443407,
-0.025793295,
-0.048836086,
-0.013971978,
0.0140451295,
0.019868007,
-0.008405132,
-0.027431894,
0.0052120597,
0.008054004,
-0.012567465,
0.0070884014,
0.06548542,
-0.01212124,
-0.013547698,
-0.023028161,
0.0536641,
-0.008536805,
0.004882877,
-0.039384887,
-0.011814003,
-0.039472666,
0.0044037336,
-0.039736014,
-0.041901305,
-0.04292543,
0.029172905,
0.02893882,
-0.020306917,
0.0442129,
0.014740071,
-0.04172574,
-0.017673455,
0.022647772,
-0.00016196248,
-0.037599985,
-0.03242084,
0.01125805,
-0.012252913,
0.02768061,
-0.050094295,
-0.018697578,
0.012501629,
0.05565383,
-0.016327463,
-0.020848239,
0.04304247,
0.03022629,
-0.009041552,
-0.018624427,
0.00303031,
-0.023232985,
-0.011345832,
-0.0049852896,
0.018068474,
0.0037673134,
-0.02681742,
0.03186489,
0.01384762,
0.011952991,
-0.0069384407,
0.012611357,
0.035493214,
-0.032450102,
-0.018478123,
0.034937263,
-0.022940379,
-0.025017887,
-0.02845602,
-0.01487906,
-0.046495233,
0.012611357,
0.04722675,
-0.045061458,
0.0314845,
0.059399195,
0.02813415,
0.03836076,
0.032098975,
0.019516878,
0.027300222,
-0.032128233,
-0.025807926,
-0.018492755,
0.047753442,
0.028763255,
0.052522935,
-0.05021134,
0.006217896,
-0.031572282,
-0.0046524494,
-0.019326683,
-0.015522795,
0.003990426,
-0.058521375,
0.005449803,
0.0075492575,
-0.00334852,
0.011250734,
0.02089213,
-0.01874147,
-0.046992663,
-0.010958128,
0.054658964,
0.007746767,
0.010131513,
-0.031396717,
-0.0225161,
-0.040233444,
-0.040613834,
0.011616493,
-0.021213999,
0.047314532,
0.01700046,
-0.018990187,
-0.011104431,
0.017717347,
0.0021140845,
-0.009868166,
0.0466708,
-0.03160154,
-0.00563634,
0.010146143,
0.023350028,
-0.014974156,
-0.012033458,
-0.0013139878,
-0.057702076,
-0.024754541,
-0.01386225,
0.01995579,
-0.008851358,
0.014549877,
0.042691343,
0.00095645874,
0.031689323,
-0.013386765,
-0.0009509723,
-0.047197487,
-0.009026922,
0.01616653,
-0.027461154,
0.0055631883,
0.02934847,
0.03101633,
0.05190846,
-0.015595946,
0.0012006026,
-0.043539904,
0.008814782,
-0.00042313698,
0.024008393,
0.051498808,
-0.0062691025,
0.0039172745,
-0.045324806,
0.0365466,
0.017190654,
-0.038624108,
0.0026444346,
-0.01021198,
-0.0017263805,
0.032918274,
-0.0024359522,
0.017322326,
0.032011192,
-0.0008846786,
0.009487778,
-0.028017107,
-0.013474546,
-0.017249174,
-0.03315236,
-0.087021284,
-0.034615394,
0.021579757,
-0.03871189,
-0.020994544,
-0.03192341,
-0.0000062614727,
0.039384887,
0.011375092,
-0.021594387,
0.04526628,
0.008961085,
-0.012728399,
0.026597966,
-0.0520255,
-0.012911279,
-0.003639298,
0.029889792,
-0.03575656,
-0.02637851,
-0.006009414,
0.03400092,
-0.015449643,
-0.022018667,
-0.057233904,
-0.028675474,
0.036312513,
-0.031777106,
0.005310815,
0.040935703,
-0.018258668,
0.04046753,
0.035522476,
-0.013233146,
0.024330262,
0.0012335208,
-0.0015691044,
-0.0024414386,
-0.010036415,
0.017336957,
0.027709872,
-0.0017730148,
0.05407375,
0.0013898826,
0.048250873,
0.0277245,
-0.010921552,
0.011133691,
0.041374613,
0.023174465,
-0.01192373,
0.027797652,
0.03019703,
0.03531765,
-0.011675014,
-0.008097895,
0.008434393,
-0.010131513,
-0.004740231,
-0.017805127,
-0.013379449,
0.023145204,
-0.008705054,
0.0075199967,
0.010782563,
0.02852917,
-0.019063339,
-0.017951433,
0.003736224,
0.027578197,
-0.021140847,
-0.07894533,
-0.03926784,
0.027578197,
0.0053473907,
-0.032128233,
0.028368236,
0.020672675,
0.02769524,
0.033386443,
0.045061458,
0.028295085,
-0.015420382,
0.015654467,
-0.011660384,
-0.0021232287,
-0.033357184,
-0.060686667,
0.013884196,
0.0066897245,
-0.012128555,
0.0375122,
0.0026901544,
-0.020233765,
0.027417265,
-0.07537553,
-0.040672354,
-0.04254504,
-0.014579138,
-0.06729958,
-0.0203947,
0.057263166,
0.01999968,
-0.04602706,
0.02301353,
-0.017351588,
-0.010702097,
0.073736936,
0.010343653,
0.015859293,
0.10767933,
0.06425647,
0.029436251,
0.030109247,
0.014213379,
-0.07876977,
0.021799212,
0.020526372,
0.007124977,
0.036458816,
-0.037687764,
-0.047811963,
-0.0010177232,
0.015581316,
0.005511982,
-0.026042012,
-0.015610577,
0.0073517477,
-0.025281234,
-0.01916575,
0.060628146,
-0.030870026,
0.00055458146,
-0.02080435,
0.0064263786,
-0.015727619,
-0.015552055,
-0.009012292,
0.07157164,
0.018009953,
-0.0058887135,
-0.028660843,
-0.06250083,
0.016254311,
0.0057826433,
-0.020087462,
0.0070591406,
0.045617413,
0.04084792,
0.025091039,
0.017731976,
-0.020994544,
-0.039384887,
0.05076729,
0.071747206,
-0.009451202,
0.09369272,
0.05501009,
0.025310494,
-0.00831735,
0.04122831,
0.029655706,
-0.02725633,
-0.0014374313,
0.03110411,
0.010987388,
-0.011514081,
0.0203947,
0.023174465,
0.0613304,
0.007929646,
-0.025339756,
-0.035698038,
-0.009912058,
-0.041052744,
0.03522987,
-0.0048536165,
0.012589411,
0.018229408,
-0.032625668,
-0.01657618,
-0.06056962,
0.25585544,
0.044095855,
0.00765167,
0.047138967,
-0.014103651,
0.01448404,
0.041520916,
-0.032157496,
0.016824896,
-0.005266924,
0.009524354,
-0.03107485,
-0.00052394916,
0.028251193,
0.017132133,
0.022077188,
-0.027475785,
-0.036868468,
0.016649332,
0.0065324483,
-0.042398736,
0.029231427,
0.013086842,
0.055039354,
0.009487778,
0.0012728398,
0.016254311,
0.0042647454,
-0.0037746287,
-0.009926688,
0.03110411,
-0.03616621,
0.038068153,
-0.01913649,
-0.034293525,
0.024154697,
0.009019607,
-0.04520776,
-0.010965442,
-0.024198588,
-0.01213587,
-0.010950812,
0.02219423,
-0.0075126817,
-0.036019906,
0.05401523,
0.027417265,
0.0070445105,
-0.0030101931,
-0.04629041,
0.038448542,
-0.017585672,
0.018097736,
-0.009041552,
-0.050825816,
-0.023159834,
0.011455559,
-0.050182078,
0.058960285,
0.0036520995,
0.0036539284,
0.046261147,
-0.037658505,
-0.009297583,
-0.049626127,
0.009699917,
-0.038507063,
0.017907541,
0.015537425,
-0.0121066095,
0.009048868,
-0.00081701326,
-0.011009334,
-0.025295865,
0.01824404,
0.0049779746,
-0.0032168468,
0.049684647,
0.016093379,
-0.0133209275,
-0.008902564,
-0.03113337,
0.023159834,
0.0046049007,
0.007048168,
0.025500689,
-0.055624567,
-0.018141625,
0.015552055,
0.039501928,
0.042457256,
0.022837967,
-0.0006085309,
-0.003630154,
-0.006184978
] | The resulting model will be just about an MB making it a good fit for mobile applications where resources and network
bandwidth can be constrained.
Resources
A list of official Hugging Face and community (indicated by 🌎) resources to help you get started with MobileViT.
[MobileViTForImageClassification] is supported by this example script and notebook.
See also: Image classification task guide |
[
0.011070568,
-0.037925184,
-0.04172857,
-0.0032889096,
0.016042136,
0.004859504,
0.005725453,
0.013563144,
0.030644419,
0.025224594,
-0.01054081,
0.033958796,
0.059441477,
-0.017115233,
-0.040560387,
0.025211012,
-0.0025604933,
-0.037544847,
-0.010907565,
-0.011382989,
-0.020674115,
0.046455633,
-0.07030829,
-0.027452292,
0.0010467799,
0.008401406,
-0.0040410967,
0.00802786,
0.03632233,
0.052948557,
0.00463198,
-0.020348111,
0.030753087,
-0.004394268,
-0.06547256,
-0.001945839,
0.01439853,
-0.0070158876,
-0.026379194,
-0.05501325,
0.036376663,
0.0017539719,
0.044173602,
-0.030888923,
-0.008102569,
-0.00706343,
0.015281458,
-0.022249805,
-0.01949235,
0.005260218,
-0.028362388,
-0.0035962367,
-0.041484065,
-0.031595264,
0.005328135,
-0.049118005,
-0.007898816,
-0.045586288,
0.010934733,
-0.008822495,
-0.009284335,
0.0661789,
-0.0123338355,
-0.031948436,
0.039826877,
0.017183151,
-0.030128244,
0.0007789299,
-0.019370098,
-0.041293897,
-0.015485211,
0.008951539,
-0.0011775213,
-0.03292645,
-0.028416721,
0.04194591,
0.030997591,
-0.036104992,
0.03640383,
0.046917476,
-0.032328773,
0.02659653,
0.018582255,
0.0036573624,
-0.044445273,
-0.02161138,
0.024966508,
-0.043684598,
-0.04107656,
-0.04292392,
-0.0018184936,
0.017196735,
-0.022956148,
0.0057152654,
0.032872114,
0.042217575,
0.035969157,
0.045151617,
0.01208254,
-0.0106698545,
0.009053416,
0.02246714,
0.014357779,
0.015621047,
-0.056833442,
0.027343623,
0.010391392,
-0.028905729,
0.009685049,
-0.09215059,
0.0010875305,
-0.0056677232,
-0.0026555778,
-0.023879826,
0.010860023,
-0.011953496,
0.012164041,
0.0019356514,
0.026542196,
-0.022331305,
-0.0069309906,
-0.0055284924,
-0.0018235875,
-0.06721125,
0.0113354465,
-0.04091356,
0.045830794,
0.057702787,
-0.049145173,
-0.022793144,
0.009121333,
-0.02879706,
-0.0075999787,
0.05001452,
-0.0256321,
-0.03768068,
-0.00028695184,
-0.008381031,
0.018283416,
0.009956719,
0.039663874,
0.0086323265,
0.03716451,
0.08981423,
-0.01026914,
0.00062526634,
-0.02651503,
-0.019275013,
-0.054632913,
-0.0026148274,
0.02651503,
-0.031432264,
-0.017726492,
0.02485784,
0.008870038,
-0.012687007,
-0.0073283087,
0.028389554,
0.021258207,
0.040560387,
-0.029584905,
-0.012795675,
-0.019587435,
0.032220107,
-0.03759918,
0.0025553994,
-0.008374239,
-0.0023193858,
0.00065752724,
-0.018582255,
0.00073435897,
-0.017862327,
0.015417294,
0.000988201,
0.045368955,
-0.007735814,
0.024029246,
0.012299877,
0.046102464,
0.002282031,
0.006044666,
-0.0026385984,
0.05400807,
0.030508583,
0.00016438181,
-0.010017845,
-0.013142055,
0.004682918,
-0.0017658575,
0.014031775,
0.028742727,
0.04449961,
-0.0023312715,
0.019886272,
-0.00043509708,
0.008122944,
-0.026419945,
-0.045341786,
-0.0006329071,
-0.04246208,
-0.073677,
0.035154145,
-0.025577767,
-0.006268794,
-0.02512951,
0.008177279,
0.0017072785,
0.033795796,
-0.017577073,
0.020062858,
0.054986086,
-0.03308945,
-0.051916208,
-0.010941524,
0.045314617,
-0.022874646,
0.029720739,
0.004431623,
-0.0291774,
-0.0014228736,
0.011056985,
0.023254985,
0.05455141,
-0.0018660359,
-0.04520595,
-0.013576727,
-0.03759918,
0.0342848,
0.010160472,
0.019777603,
-0.001099416,
0.027954882,
-0.006815531,
0.07264466,
0.007375851,
0.0014933381,
0.016096469,
0.01169541,
-0.004204099,
-0.011158861,
0.008163695,
0.042081743,
0.031160593,
0.017821576,
-0.008442157,
-0.0009525443,
-0.035724655,
0.006099,
0.016517559,
-0.0036234036,
-0.058409132,
0.025048008,
-0.0056677232,
0.021271791,
-0.021679297,
-0.014520782,
0.00953563,
0.04072339,
-0.03053575,
0.011403364,
0.023404403,
-0.009936344,
0.005165133,
0.02512951,
0.045613457,
0.06416854,
0.005698286,
-0.029584905,
0.011776911,
-0.07345967,
-0.011505241,
-0.029557737,
-0.07981676,
-0.003647175,
-0.03539865,
-0.009508464,
0.04338576,
-0.02470842,
0.012557963,
-0.011919538,
0.021855881,
0.0019339535,
-0.0057220575,
0.032518946,
0.011994247,
0.00012914956,
-0.0538179,
0.017210318,
-0.058191795,
-0.026732365,
-0.021027287,
-0.008639118,
-0.019709686,
-0.00058876065,
-0.022154719,
-0.007620354,
-0.023608156,
-0.014724535,
-0.045531955,
0.0064793387,
-0.017101651,
-0.028661225,
-0.0416199,
0.023024065,
-0.036947172,
0.0024823882,
0.028036384,
-0.03713734,
0.07324234,
0.061125834,
-0.02825372,
0.048846334,
0.012883968,
0.0315681,
-0.03759918,
0.06748292,
0.07036263,
-0.014289862,
-0.00436031,
-0.014493614,
-0.03531715,
0.01687073,
-0.018161165,
-0.023037648,
-0.04971568,
0.0065404642,
0.018894674,
-0.072155654,
0.0106698545,
-0.015335793,
-0.03257328,
-0.052785553,
-0.013800855,
0.024341665,
0.02343157,
0.023282152,
-0.07231866,
-0.01879959,
-0.026080357,
0.02586302,
-0.029775074,
-0.028036384,
0.018256249,
0.016585477,
-0.0170609,
0.0054877414,
0.039093368,
-0.0511827,
0.015417294,
-0.0113354465,
0.016748479,
0.014873954,
-0.0061974805,
-0.0134341,
-0.030291248,
0.02806355,
-0.021529878,
0.0056303684,
0.038957532,
-0.012496837,
-0.016762063,
0.015267875,
-0.0291774,
0.0023227818,
-0.017740076,
-0.056833442,
0.00032940033,
0.027533792,
0.011654659,
-0.04604813,
0.0066457368,
-0.058735136,
-0.02269806,
-0.0069513656,
-0.0010281026,
0.0064997138,
0.07144931,
0.034637973,
0.06259286,
-0.0017132213,
-0.020062858,
0.0391477,
-0.03455647,
0.033524126,
0.038468525,
-0.0013065648,
-0.053247396,
0.0017200131,
-0.054714415,
-0.017740076,
-0.00706343,
0.027819047,
-0.0023974911,
0.0013192992,
-0.023866244,
-0.049471177,
0.035914823,
0.039392203,
0.02146196,
0.028117884,
-0.007369059,
-0.036077827,
0.033252455,
0.018432835,
-0.036267996,
0.01632739,
-0.010119721,
0.03933787,
0.00872062,
0.0043059755,
-0.029693572,
-0.025930937,
0.003976575,
0.03531715,
-0.037354678,
0.031676766,
-0.07144931,
-0.016164387,
-0.031894103,
0.08030576,
-0.014154026,
-0.0033738066,
-0.017984578,
-0.014738118,
0.03211144,
-0.01242892,
-0.00042257478,
-0.020674115,
0.046455633,
0.01382123,
-0.06509222,
-0.0056847027,
-0.0125851305,
-0.044282272,
0.0120417895,
0.081935786,
0.044092104,
-0.0031887311,
0.032220107,
-0.0013226952,
0.020796368,
0.00876137,
-0.00083156605,
-0.025428347,
-0.014792453,
-0.017509155,
0.022276971,
0.033062287,
-0.016612643,
-0.021244623,
0.035452984,
-0.03439347,
-0.011376197,
-0.042326245,
-0.029204566,
-0.014887537,
0.032681946,
0.006183897,
-0.004710085,
0.010574769,
0.0017981183,
-0.021326125,
0.03135076,
-0.032437444,
-0.011172445,
0.036267996,
-0.0065947985,
0.034257635,
0.010785314,
0.013243931,
-0.018541504,
0.03656683,
0.025346845,
-0.08242479,
0.022209054,
-0.0031649598,
-0.0073215165,
-0.035181314,
-0.026949702,
0.019913439,
-0.059984818,
0.010982275,
-0.025265345,
0.034692306,
-0.040017046,
-0.03716451,
-0.023580989,
0.022806728,
0.009583172,
0.01617797,
-0.003983367,
0.017672159,
-0.0078037316,
0.009073791,
-0.062158182,
-0.035941992,
-0.073622674,
0.03026408,
0.023322903,
-0.053165894,
0.048357327,
-0.03762635,
-0.047922656,
0.03512698,
-0.0033568272,
0.005270405,
-0.02852539,
0.014982621,
-0.02775113,
0.0122930845,
-0.032899283,
0.015879134,
-0.035615988,
-0.0011894068,
0.017305404,
-0.009562797,
0.020633366,
-0.06373387,
-0.0389847,
0.03583332,
-0.0066864872,
-0.044526774,
-0.00942017,
0.021747215,
0.03586049,
-0.0026793492,
0.02825372,
-0.030155413,
-0.027927715,
-0.03512698,
0.00020216097,
-0.05759412,
0.005986936,
-0.011838037,
-0.03327962,
0.002203926,
0.022439973,
0.065798566,
-0.048900668,
-0.007172098,
-0.017318986,
0.0038882822,
-0.048846334,
-0.039093368,
-0.00047797008,
-0.0013617477,
-0.048628997,
0.071883984,
-0.00054164283,
-0.04172857,
-0.001410139,
0.013094512,
-0.0024993676,
-0.01022839,
-0.03960954,
-0.02080995,
-0.013243931,
0.013855189,
-0.03879453,
0.01879959,
-0.026161857,
0.031703934,
-0.033496957,
0.043766096,
-0.0043908725,
-0.010330266,
-0.023445154,
-0.02944907,
0.04849316,
-0.017305404,
0.0032787218,
-0.005141362,
0.03743618,
0.0011639377,
0.024613336,
-0.032491777,
-0.007029471,
-0.050748028,
-0.039962713,
0.03235594,
-0.041484065,
-0.01752274,
0.016028553,
0.038278356,
0.046075296,
-0.016205138,
0.040967893,
0.06759159,
0.006859677,
-0.01852792,
-0.04574929,
0.040397387,
0.05987615,
0.0051074033,
-0.023866244,
-0.0035249232,
0.014941871,
0.009820884,
-0.016381724,
-0.0682436,
-0.020103607,
0.007817315,
0.041973073,
0.018147582,
0.023037648,
-0.0030613856,
-0.06541823,
0.0014220247,
-0.0023227818,
0.027262123,
-0.0052738013,
-0.00044273783,
0.016762063,
0.014031775,
0.03466514,
-0.04767815,
-0.024260165,
-0.006129563,
0.042271912,
0.023214234,
-0.070960306,
0.035806157,
0.027927715,
-0.0021563836,
-0.04064189,
0.0006469151,
-0.0059937276,
-0.035154145,
-0.010595145,
-0.015458045,
0.007559228,
-0.043521594,
-0.0032838157,
0.0027319852,
0.009834467,
0.017740076,
0.0051277783,
0.018609421,
-0.045070115,
-0.026324859,
0.025441932,
-0.030780254,
-0.0085712,
-0.07900175,
-0.022372056,
-0.01764499,
0.010404975,
0.042299077,
-0.0037456553,
0.03501831,
0.043983433,
0.028335221,
0.02879706,
0.03615933,
0.021950966,
0.011294696,
-0.016395308,
-0.03385013,
-0.0055998056,
0.05531209,
0.0171424,
0.012979052,
-0.029041564,
0.008476116,
0.055964097,
0.025998855,
-0.0046523553,
-0.048601832,
-0.045559123,
-0.030508583,
0.018690921,
-0.007919191,
-0.0066796956,
-0.008863246,
0.01084644,
-0.03466514,
-0.0041735363,
0.00891758,
0.018147582,
-0.01586555,
-0.032899283,
-0.030997591,
0.000009716726,
-0.030753087,
-0.061560508,
-0.026827449,
-0.008992289,
0.040967893,
-0.00025150733,
-0.059767485,
-0.019098427,
0.010663062,
-0.009012665,
0.0049308175,
0.022032468,
-0.013121679,
0.033361122,
0.015064122,
0.020008523,
-0.005531888,
0.032138605,
0.061506175,
-0.03053575,
0.019016927,
-0.01930218,
0.035969157,
-0.018677339,
0.047650985,
-0.0039629918,
-0.022304138,
-0.01949235,
-0.0017361435,
0.011559575,
-0.015811216,
-0.0058001624,
-0.027384374,
-0.0244775,
0.016042136,
0.030590085,
-0.039962713,
0.055638094,
0.052106377,
0.007844483,
-0.029775074,
0.03613216,
-0.0007857217,
0.032410275,
0.019424433,
0.00814332,
-0.01196708,
-0.028552556,
0.04849316,
0.044363774,
-0.038033854,
0.023526656,
-0.007117764,
-0.022290554,
-0.011016234,
-0.0006851187,
0.026841033,
0.00586808,
0.010072179,
0.021896632,
0.009732591,
0.03284495,
-0.0048357327,
-0.02261656,
-0.049905848,
-0.017577073,
0.050585024,
-0.02906873,
0.009284335,
-0.031758267,
-0.012089332,
0.030128244,
-0.004394268,
0.015254292,
0.01605572,
0.017074483,
0.0033772024,
0.021326125,
-0.08101211,
0.024722004,
0.031106258,
0.025523432,
-0.024830673,
-0.0315681,
0.039120536,
0.030753087,
-0.014099693,
-0.011124902,
-0.044635445,
-0.029340401,
0.021108788,
0.0109211495,
0.0018269833,
0.018242666,
-0.0059224144,
0.038740195,
-0.01844642,
-0.0056847027,
0.001835473,
0.007151723,
-0.000059427894,
-0.007973526,
-0.00445879,
0.00677478,
0.014670201,
0.0075796037,
0.033252455,
0.010045012,
0.02787338,
-0.0056099934,
-0.0087138275,
0.0054639704,
0.07161231,
0.044336606,
0.022263387,
-0.031432264,
0.049471177,
0.022480724,
-0.02211397,
0.0012743039,
0.05732245,
-0.040859226,
-0.0009092468,
0.0055149086,
-0.04088639,
0.027071953,
0.0022175096,
0.016680561,
-0.0018133997,
0.0086730765,
0.010798898,
-0.032192938,
0.01702015,
0.026678031,
-0.03154093,
-0.03941937,
-0.019179929,
0.0107106045,
0.017590657,
-0.004659147,
0.014072525,
-0.019668935,
0.01605572,
0.021380458,
-0.021706464,
0.023445154,
-0.00079760724,
0.0150369555,
-0.042326245,
0.027506625,
-0.028226553,
-0.051943377,
-0.0195331,
-0.022018883,
-0.023553822,
0.013583519,
0.02609394,
-0.05338323,
0.009454129,
-0.026976869,
-0.0026487862,
-0.062484186,
-0.018297,
-0.02108162,
0.025835853,
0.04550479,
-0.04210891,
-0.043847598,
0.061234504,
-0.042434912,
-0.010180848,
0.029041564,
0.045314617,
-0.0053009684,
0.072427325,
0.009698632,
0.005569243,
-0.014575115,
0.0609085,
-0.04219041,
-0.0031140216,
0.006071833,
-0.031405095,
0.008652702,
-0.010567978,
-0.019139178,
0.022059634,
0.015716132,
0.016436057,
-0.0035079438,
-0.011009442,
0.024912173,
-0.008374239,
0.02462692,
0.049036503,
-0.05180754,
0.021054454,
0.020972954,
-0.04449961,
-0.042760916,
0.0068325102,
-0.032600444,
0.06943895,
0.0074641434,
0.010309891,
0.0018728276,
-0.0341218,
-0.01567538,
0.056181435,
-0.019886272,
0.00091688754,
0.061234504,
0.027207788,
0.018650172,
0.027927715,
0.00046566,
-0.007314725,
0.059006806,
0.049036503,
0.0005229655,
0.08296813,
0.042788085,
-0.023594573,
0.024368834,
0.033198122,
-0.003949408,
-0.02462692,
0.02420583,
0.019872688,
0.0073622675,
-0.037381843,
-0.014167611,
0.007688272,
0.05705078,
0.009705424,
-0.011742952,
-0.037925184,
0.011090944,
-0.06286453,
0.030101078,
0.0067849676,
0.044309437,
-0.016734896,
-0.034339137,
0.028416721,
-0.056724776,
0.21342425,
0.07090597,
0.053328894,
0.057757124,
0.0028389555,
0.021339709,
0.023146316,
-0.054062404,
0.01536296,
-0.04705331,
0.052513883,
-0.030101078,
0.011919538,
0.043440092,
0.022548642,
0.0390662,
-0.04778682,
-0.012286293,
0.031242093,
-0.011512033,
-0.064385876,
0.048357327,
0.013237139,
0.06052816,
-0.016884314,
0.042081743,
0.0535734,
-0.017617824,
0.021434793,
0.014778868,
0.014819619,
-0.020253027,
0.03281778,
0.0055183046,
-0.04786832,
0.013440892,
-0.0050157146,
-0.03118776,
0.006672904,
-0.039826877,
-0.0021003515,
-0.01687073,
0.030155413,
-0.01833775,
-0.05824613,
0.007844483,
0.0014169308,
-0.021475544,
0.032763448,
-0.02756096,
0.03963671,
-0.03330679,
0.029394735,
-0.054524247,
-0.09144425,
-0.019886272,
0.016205138,
-0.08057743,
0.026202608,
-0.015050539,
0.030753087,
0.018432835,
-0.013427309,
0.0014143839,
-0.03871303,
0.039310705,
-0.01119282,
0.048846334,
-0.007314725,
-0.00088802254,
0.031051924,
-0.003501152,
-0.003616612,
-0.010140097,
-0.009623923,
-0.002343157,
0.004397664,
0.051508702,
-0.02234489,
-0.040696222,
0.0066762995,
0.008618743,
-0.008360656,
-0.044825613,
0.011905954,
0.010513644,
-0.006917407,
0.021353291,
0.0050089224,
0.01613722,
0.02512951,
0.028308053,
-0.0036879254,
-0.0053519066,
0.029666405
] | MobileViTModel
[[autodoc]] MobileViTModel
- forward
MobileViTForImageClassification
[[autodoc]] MobileViTForImageClassification
- forward
MobileViTForSemanticSegmentation
[[autodoc]] MobileViTForSemanticSegmentation
- forward
TFMobileViTModel
[[autodoc]] TFMobileViTModel
- call
TFMobileViTForImageClassification
[[autodoc]] TFMobileViTForImageClassification
- call
TFMobileViTForSemanticSegmentation
[[autodoc]] TFMobileViTForSemanticSegmentation
- call |