vector
sequencelengths 1.02k
1.02k
| text
stringlengths 2
11.8k
|
---|---|
[
0.017450048,
0.027976139,
-0.013819876,
-0.013910981,
0.009054402,
-0.01927214,
-0.04538414,
-0.01614655,
0.011808566,
0.060213175,
-0.023126569,
0.004418576,
-0.00076212554,
-0.06727729,
-0.0045166886,
0.0008659323,
-0.018347077,
-0.08151765,
-0.044459075,
-0.037002508,
-0.00041544603,
0.007898074,
-0.05115877,
-0.025705531,
-0.008283516,
0.019412301,
0.015543857,
-0.014352488,
0.060269237,
0.024388017,
-0.021416605,
0.009124482,
0.008507774,
-0.040506534,
-0.008542814,
-0.04426285,
0.01589426,
-0.05598031,
-0.012789693,
0.000117275355,
0.014352488,
0.010231755,
0.004390544,
-0.029602008,
-0.065090775,
0.0028645408,
0.017239805,
-0.008185403,
-0.026266174,
0.0069519863,
-0.006619104,
-0.025761595,
0.039749663,
0.01672121,
-0.02455621,
-0.06335278,
0.00769484,
0.0121589685,
-0.010729326,
0.0013306537,
0.017141692,
0.046533458,
-0.033890933,
-0.04260895,
-0.025733562,
0.023575084,
-0.007379478,
-0.01920206,
-0.02092604,
-0.028382607,
-0.090544015,
-0.013091039,
-0.029938394,
-0.02682682,
-0.018935753,
0.009706151,
-0.0070571075,
-0.038628377,
-0.014969197,
0.031087713,
0.005904283,
0.019678608,
-0.01880961,
0.010925552,
0.007912089,
-0.010701294,
0.015165422,
-0.029349718,
0.036553994,
-0.067501545,
-0.031227876,
0.041880112,
-0.021781022,
0.019832784,
0.033414386,
0.018739529,
-0.025579385,
0.050934516,
0.019370252,
0.015249519,
-0.0037212751,
0.062680006,
-0.03562893,
0.06082988,
0.014408553,
-0.0012588211,
0.011367058,
0.011997784,
-0.0414316,
-0.0028067245,
0.013875941,
-0.044459075,
0.020000977,
-0.011745493,
-0.0202813,
0.02887317,
0.011114769,
-0.008360605,
-0.034031097,
0.020575637,
-0.027934091,
-0.00010172624,
-0.00037449272,
-0.038628377,
0.028130317,
-0.06553929,
0.019818768,
0.0036476904,
-0.038600344,
-0.00467437,
0.024135727,
0.025088822,
0.033918966,
0.028340558,
-0.0045902734,
0.004281919,
-0.018220933,
0.0069800187,
0.0067767855,
0.016412856,
-0.018991819,
-0.027457543,
0.025593402,
0.06312852,
-0.0072253007,
0.01341341,
0.0107153095,
-0.009895368,
-0.016510967,
0.041263405,
-0.03599335,
0.025271032,
0.0074425503,
0.023140585,
-0.040366374,
-0.0041662864,
0.012025815,
0.036722187,
-0.038768537,
0.035376642,
0.012698588,
-0.020267284,
-0.008767072,
0.04984126,
0.0005812302,
0.051831543,
-0.017590208,
-0.012025815,
0.010203722,
-0.039385248,
0.025186935,
0.0031028145,
0.047094103,
0.0049967403,
0.0125864595,
0.0144225685,
0.046112977,
0.021767005,
-0.009874344,
-0.013924997,
-0.005473288,
-0.038880665,
-0.009790247,
0.01801069,
-0.013728771,
0.011682421,
-0.0046183057,
0.021388572,
0.0037738355,
-0.022804197,
0.025088822,
0.05505525,
-0.03666612,
-0.011409107,
-0.023785325,
0.0198468,
-0.013567586,
0.021584798,
-0.016482936,
0.0198468,
-0.03526451,
0.055027217,
0.0001655652,
0.0051754457,
-0.03624564,
0.038207892,
0.044459075,
0.060605623,
-0.02675674,
0.027107142,
0.011170833,
0.026294207,
-0.047598682,
-0.004281919,
0.005063317,
-0.013665699,
0.014520681,
0.011500211,
-0.025929788,
0.05026174,
0.015557873,
0.023056488,
0.045496266,
-0.012264089,
-0.0020043026,
-0.023771308,
0.020575637,
0.03285374,
0.047514584,
0.055812117,
0.011093745,
0.008325565,
0.010624206,
0.009201571,
0.008732031,
0.034143224,
0.024976693,
0.052055802,
0.004141758,
0.0061355485,
0.0011221642,
0.0050212685,
0.039273117,
0.016595064,
-0.025635451,
-0.007148212,
-0.014941164,
-0.017379966,
-0.03675022,
-0.010056553,
-0.033190127,
0.050457966,
-0.013707748,
0.0095029175,
-0.04297337,
-0.060998075,
-0.0019640063,
0.016749242,
-0.009558981,
-0.046953943,
0.023378858,
0.04246879,
0.03139607,
0.037955604,
0.039749663,
0.02707911,
0.00247209,
0.02621011,
-0.036946446,
-0.025004726,
-0.029237589,
-0.07047296,
-0.050457966,
0.026980996,
-0.0314241,
-0.050962545,
-0.04678575,
-0.049028326,
-0.0023687212,
-0.013560578,
-0.00064342667,
-0.027527625,
-0.03955344,
0.028845137,
0.0154737765,
0.0027331398,
-0.007435542,
0.03980573,
0.007870041,
0.051439095,
0.0161045,
-0.019131979,
-0.017758401,
-0.015754098,
-0.011773526,
0.0006530628,
-0.008802112,
0.012418266,
-0.03091952,
-0.012306137,
-0.008689983,
-0.0281163,
-0.01028081,
0.051130738,
-0.035909254,
0.013953029,
-0.013742788,
-0.022173474,
0.047010005,
0.066492386,
-0.05446657,
0.02606995,
-0.0004940676,
0.031143779,
-0.0033445924,
0.05160729,
0.048159327,
-0.005199974,
-0.02614003,
0.00043384216,
-0.020982105,
-0.014366505,
-0.01208188,
-0.04283321,
-0.0016600321,
0.07473385,
-0.014177287,
-0.040674727,
-0.017197756,
-0.049785193,
-0.03610548,
-0.017450048,
-0.010995632,
0.039189022,
0.016637113,
0.011710453,
-0.04785097,
0.03498419,
0.0019131979,
0.025214966,
0.017183742,
-0.050990578,
-0.0005409339,
0.030499037,
0.0015803155,
-0.0009758711,
0.039413277,
-0.051579256,
0.0128807975,
-0.021276442,
0.057409953,
0.04283321,
-0.0004949436,
0.013287265,
0.0181929,
0.01409319,
-0.040758826,
0.024135727,
0.011086737,
0.04605691,
0.054354444,
-0.00046910142,
0.0227201,
0.0069414745,
-0.029545942,
-0.02682682,
-0.008591871,
-0.000052724634,
0.06004498,
-0.020898009,
0.03952541,
0.029966425,
-0.02926562,
0.029573975,
-0.04998142,
-0.053625606,
0.049308646,
0.012950879,
0.05634473,
-0.051046643,
0.02887317,
0.008332573,
-0.016595064,
-0.009594021,
0.026448384,
0.031003617,
-0.014366505,
0.009657094,
-0.0009942672,
0.011023664,
-0.0009460869,
-0.008241468,
-0.03801167,
-0.025733562,
-0.030050522,
-0.03215294,
0.04084292,
0.019033866,
0.019117963,
-0.012537403,
0.047514584,
0.014037126,
0.03077936,
0.050962545,
-0.0038824603,
-0.042777143,
-0.029994458,
0.029994458,
-0.01628671,
0.014366505,
-0.005326119,
-0.023238696,
-0.012677564,
0.017183742,
-0.009341732,
0.044206787,
-0.026686657,
-0.005606441,
-0.021052185,
0.025341112,
-0.035684995,
-0.03534861,
-0.046084944,
0.023056488,
0.020813912,
-0.031592295,
-0.018641416,
-0.037422992,
0.0059358194,
0.022355683,
-0.049392745,
-0.011332018,
-0.012278105,
-0.008802112,
-0.0060829883,
0.046505425,
0.021248411,
0.010035529,
0.017407998,
-0.042076338,
-0.029545942,
0.005911291,
-0.010666254,
-0.042272564,
0.00000738446,
0.014969197,
-0.01294387,
0.02937775,
0.018347077,
0.00995844,
-0.010764366,
-0.027457543,
0.025186935,
-0.031984743,
0.0219352,
-0.0025859708,
-0.0018378614,
-0.016693177,
0.031760488,
0.01326624,
-0.040114082,
-0.01132501,
0.06525897,
-0.014037126,
-0.06901529,
-0.00023455071,
0.021458652,
-0.017478079,
-0.00036179062,
0.0052840705,
0.050934516,
-0.020141138,
0.008907232,
-0.01887969,
-0.011374067,
-0.02671469,
-0.02836859,
-0.05166335,
-0.015754098,
0.009741191,
0.0016109757,
0.0025947308,
0.018893706,
-0.055671956,
-0.028494734,
-0.0405626,
0.00006252495,
-0.008409661,
-0.003465481,
-0.016482936,
0.018641416,
-0.00022228662,
0.0067347367,
-0.05404609,
-0.008003194,
-0.014156263,
0.0028137325,
0.024121711,
0.055363603,
-0.016230647,
0.013995077,
-0.011647381,
-0.022636004,
0.031900648,
-0.040898986,
0.010596173,
0.0067908014,
-0.022664037,
0.00070387113,
-0.0314241,
-0.018865673,
0.035376642,
0.015908275,
0.0069204504,
0.05303693,
0.0118646305,
-0.017323902,
-0.020645717,
-0.06643632,
0.032993905,
-0.04541217,
-0.05087845,
-0.019664591,
0.05101861,
-0.003724779,
0.017407998,
0.03523648,
-0.013819876,
-0.022173474,
-0.024261873,
0.05673718,
-0.0380397,
-0.015978357,
-0.04530004,
-0.025537338,
0.010014505,
0.03131197,
-0.007856025,
-0.06823038,
-0.040898986,
-0.052616447,
-0.0052980864,
-0.014899116,
-0.043702208,
0.002487858,
0.012067864,
-0.025467258,
0.018739529,
-0.017506111,
-0.019286156,
0.017982658,
-0.009012354,
0.052588414,
0.050149612,
-0.049392745,
0.027177222,
-0.02531308,
0.00010523026,
0.03689038,
-0.0062722056,
-0.0027699322,
0.030723296,
-0.04684181,
0.019440332,
-0.052980866,
-0.015670002,
-0.040170148,
-0.03675022,
0.021977248,
-0.035460737,
-0.06817432,
-0.014506665,
0.064810455,
0.028817106,
0.048495714,
-0.041655853,
-0.023505002,
-0.063801296,
-0.029489879,
0.00014738807,
0.005329623,
-0.009075426,
-0.01147218,
0.00008404186,
0.033638645,
-0.06957593,
0.027345415,
0.04538414,
0.030555103,
-0.0076457835,
-0.020827927,
0.0074845986,
-0.0093697645,
0.00049932365,
0.010399948,
-0.011808566,
-0.04487956,
0.029798232,
-0.029742168,
-0.07148212,
-0.019888848,
0.024710387,
0.07697643,
-0.055503763,
-0.0024650819,
0.010743342,
-0.013616643,
-0.010070569,
0.008886209,
0.00604094,
0.007428534,
0.018529287,
0.026686657,
0.01344845,
0.01121989,
-0.0562326,
-0.05415822,
0.015978357,
0.046000846,
0.010540108,
-0.03178852,
0.033638645,
0.025915772,
-0.035684995,
-0.0380397,
0.022313634,
-0.0037948596,
-0.024584243,
-0.010918544,
-0.00085060217,
0.0014129983,
-0.02606995,
-0.044711366,
0.01100264,
-0.042328626,
-0.0013508018,
0.034956157,
0.033498485,
-0.015053294,
0.04729033,
0.037703313,
-0.01894977,
0.016875386,
-0.028704977,
0.0152775515,
-0.03711464,
0.015053294,
0.021612829,
0.022411747,
0.017492095,
0.034675837,
0.00014267954,
0.05673718,
-0.010434988,
0.0017187245,
-0.005459272,
-0.010673261,
-0.06772581,
0.005140405,
0.010806414,
-0.019075915,
0.020379413,
-0.058194853,
0.002610499,
0.025411192,
0.037086606,
0.0073304214,
-0.08308745,
0.015754098,
-0.01927214,
-0.023070503,
-0.030695263,
-0.0048670913,
0.00080329785,
0.01456273,
-0.04157176,
-0.029994458,
0.024976693,
-0.019622542,
-0.007400502,
-0.00088651845,
-0.047542617,
0.0067978096,
0.0052840705,
-0.04148766,
-0.010827439,
-0.0314241,
-0.02721927,
0.0010231754,
-0.0006219645,
-0.0044851527,
-0.014716907,
0.014941164,
-0.023617132,
0.02513087,
0.010799406,
-0.0016784281,
-0.015347632,
0.014786988,
-0.017982658,
0.036077447,
0.04426285,
-0.026196094,
0.020617686,
0.025551355,
0.0115702925,
-0.024374,
0.032405227,
0.04070276,
-0.02653248,
0.021122266,
-0.036301702,
0.040534567,
-0.02365918,
-0.028957266,
-0.012607483,
-0.0066786725,
-0.010547116,
0.04092702,
0.021192346,
0.07047296,
0.032629486,
0.042496823,
-0.025635451,
0.017604224,
0.008725024,
-0.0021759998,
0.033918966,
0.0154737765,
-0.0075897193,
-0.06419375,
0.011465171,
-0.0050212685,
-0.04361811,
-0.004902132,
0.0137007395,
-0.034928124,
-0.04426285,
0.05620457,
0.065090775,
0.048748,
0.006037436,
-0.02455621,
-0.012088888,
0.014317448,
-0.012109912,
-0.009425828,
-0.042272564,
-0.05129893,
0.025971837,
-0.008696991,
0.018529287,
-0.029349718,
-0.0077999607,
0.024247857,
-0.0030607663,
0.030807393,
0.022874279,
0.044487108,
0.010266795,
0.0044466085,
-0.030386908,
-0.029041363,
-0.013616643,
0.034591738,
-0.044431042,
-0.01894977,
0.03234916,
0.04720623,
0.012894814,
-0.050345838,
-0.042665016,
0.0018150852,
0.024584243,
0.010406956,
-0.005942827,
0.005070325,
-0.021038169,
0.01876756,
-0.03279768,
-0.0069975387,
0.00018866987,
0.017015548,
-0.0016109757,
0.0065875677,
-0.0022688564,
0.05746602,
0.059204016,
-0.007715864,
-0.032124907,
0.011444147,
0.042328626,
-0.01837511,
0.0037212751,
-0.0073584537,
0.027499592,
0.04092702,
0.033274226,
-0.01660908,
0.056765214,
0.025691515,
-0.0079261055,
-0.0020270788,
0.0061040125,
0.017954627,
-0.035432704,
-0.009881352,
-0.00902637,
0.013252225,
0.0021689918,
0.014730923,
0.015053294,
0.011682421,
-0.024023598,
0.0024545698,
-0.028606864,
0.002608747,
0.032489326,
-0.05853124,
-0.012144952,
0.027639752,
-0.009229603,
0.016777273,
0.025551355,
-0.0152775515,
0.0752945,
0.060773816,
0.0356009,
0.011296978,
-0.0153196,
0.00578865,
-0.0018326053,
0.0014970949,
-0.029097427,
0.00631075,
-0.008542814,
0.031003617,
-0.04493562,
0.016272694,
-0.025971837,
-0.031956714,
0.04196421,
-0.014478633,
-0.026616577,
-0.0686789,
0.03829199,
-0.04274911,
0.022215521,
0.01409319,
-0.035656963,
-0.06671665,
0.028592847,
-0.047094103,
0.049504872,
0.030863456,
0.048635874,
0.015740082,
0.1074194,
0.02843867,
-0.016903419,
0.052756608,
0.045692492,
0.004124238,
-0.052588414,
-0.017548159,
-0.004537713,
-0.005382183,
-0.029938394,
-0.044683333,
0.008612894,
0.02232765,
-0.015305583,
-0.029770201,
0.008528798,
-0.015740082,
0.007877049,
0.0100915935,
0.058082726,
-0.027611721,
0.0040331334,
-0.0039175004,
0.009453861,
-0.054662798,
-0.015655985,
-0.013798852,
0.058587305,
-0.0017493847,
-0.06307246,
-0.007295381,
-0.04479546,
-0.0404785,
0.0112409135,
-0.016314743,
-0.010378923,
0.030162651,
0.019174028,
0.052700542,
0.0052770623,
-0.0065525277,
-0.025579385,
0.044459075,
0.011822582,
0.0021462156,
0.09990677,
0.053401347,
-0.008353597,
0.01545976,
-0.011619348,
0.01438052,
-0.019426318,
-0.012824733,
-0.01449265,
-0.029826265,
-0.013532546,
-0.052868735,
-0.040758826,
0.075126305,
0.038235925,
0.0022793685,
-0.054354444,
0.036273673,
-0.05124287,
0.013658691,
-0.013203168,
0.007246325,
0.010119625,
-0.002752412,
0.03792757,
-0.035432704,
0.23053685,
0.06251182,
0.04185208,
0.034815997,
0.00356009,
0.092954785,
0.0019464862,
-0.01858535,
-0.023953518,
-0.012397242,
0.021360539,
-0.0372548,
-0.035152383,
0.01628671,
-0.011906679,
0.04628117,
-0.013364353,
-0.015067309,
-0.008500766,
-0.009706151,
-0.029966425,
0.04515988,
0.025481272,
0.01233417,
-0.012915838,
0.058811564,
0.009790247,
0.0065315035,
-0.021248411,
-0.046000846,
0.0025439225,
-0.02513087,
-0.0015286311,
-0.0004800515,
-0.019594511,
0.034675837,
0.020813912,
-0.06795006,
-0.0037703314,
0.01424036,
0.0058727465,
-0.04375827,
-0.004513185,
0.009362756,
-0.040730793,
0.02294436,
0.0102878185,
0.049504872,
0.0834799,
-0.08297532,
0.043926463,
-0.052504316,
0.0013087535,
-0.035909254,
-0.056260634,
-0.01646892,
-0.0628482,
-0.019622542,
0.0047444506,
0.02030933,
-0.0065244953,
0.020968089,
0.0077438965,
-0.003728283,
-0.015235503,
0.02621011,
0.031984743,
0.02606995,
-0.03585319,
0.008682976,
-0.00384742,
-0.020841943,
0.014941164,
-0.016300727,
-0.012796701,
0.044627268,
-0.0028084763,
0.04252485,
0.0054522636,
-0.03293784,
-0.00070781313,
0.0066996966,
-0.028564816,
-0.008739039,
0.024458097,
0.064810455,
-0.008689983,
0.0069765146,
-0.013742788,
0.033358324,
0.028634897,
0.019986961,
-0.007968154,
0.0003006892,
0.0012264089
] | Text, use a Tokenizer to convert text into a sequence of tokens, create a numerical representation of the tokens, and assemble them into tensors.
Speech and audio, use a Feature extractor to extract sequential features from audio waveforms and convert them into tensors.
Image inputs use a ImageProcessor to convert images into tensors.
Multimodal inputs, use a Processor to combine a tokenizer and a feature extractor or image processor. |
[
0.02303682,
-0.00828121,
-0.0087192245,
-0.006159578,
-0.034712642,
0.010395998,
0.008397558,
0.025897603,
0.003938708,
0.06800174,
-0.015864335,
-0.0070492947,
0.01496093,
-0.023091573,
-0.008869792,
0.015919087,
0.014317596,
-0.0591867,
-0.06422386,
-0.028744696,
0.015878024,
-0.019313699,
-0.06876826,
-0.023625404,
-0.024296112,
0.0034425196,
0.025226893,
-0.0042672185,
0.042323142,
0.038736902,
-0.035041153,
0.00995114,
0.005201421,
-0.008541281,
-0.031153776,
-0.057325136,
0.010361779,
-0.03126328,
-0.041912504,
-0.034192502,
0.03265945,
0.0024056574,
-0.016357102,
-0.019163132,
-0.040954348,
0.00063777296,
-0.032604698,
-0.027293773,
-0.026801007,
-0.013722171,
0.019560082,
-0.008671317,
0.019327387,
-0.004968726,
-0.045580875,
-0.016603485,
-0.008459154,
0.006029542,
-0.035643425,
-0.010204367,
-0.0020429266,
0.04454059,
-0.03246782,
-0.057215635,
-0.00871238,
0.01229178,
0.034356758,
0.020545615,
0.012031709,
-0.015987527,
-0.06323833,
0.023214765,
-0.030907393,
-0.041228108,
-0.045991514,
0.0018410294,
0.02551434,
-0.016959371,
-0.009855324,
0.04007832,
-0.00008057712,
0.033781864,
0.004671013,
-0.0015963572,
-0.005529932,
-0.039530803,
0.010970892,
0.00905458,
0.01151841,
-0.020956252,
-0.025678596,
0.020997316,
-0.04527974,
0.0028402498,
0.024036042,
0.047716197,
-0.017383697,
0.017192066,
0.023365332,
-0.012168588,
0.025637532,
0.055052936,
-0.0070150746,
0.03706697,
-0.037313353,
-0.005533354,
0.0026879713,
-0.021134196,
-0.045882013,
-0.020928876,
-0.0048147365,
0.006358053,
-0.014030149,
0.039503425,
-0.015330505,
0.025774412,
0.045115486,
-0.025021574,
-0.029155334,
-0.023734907,
0.025185829,
0.02725271,
-0.0005915761,
-0.041967258,
0.0333986,
-0.051001303,
-0.013544227,
0.053656768,
-0.023269515,
-0.0076652523,
0.0023953915,
0.010354935,
0.028224554,
0.046922296,
0.0059405705,
0.012127524,
-0.007802132,
0.00831543,
0.0020275277,
0.010786105,
0.007138266,
-0.019820152,
-0.011580006,
0.060993508,
-0.0083907135,
-0.030031364,
0.02477519,
-0.07309366,
-0.01930001,
0.031482287,
-0.068494506,
0.036464702,
0.010546566,
-0.01069029,
-0.03140016,
-0.016370788,
0.03331647,
0.02611661,
-0.022188168,
0.016904619,
0.006737894,
-0.020737246,
-0.043226548,
0.054478046,
-0.0008093001,
0.047031797,
-0.009697913,
0.020326607,
0.005591528,
-0.063840605,
0.006039808,
-0.00047736728,
-0.010526034,
0.03813463,
0.03775137,
0.050207403,
0.056613363,
0.015659016,
-0.012018021,
-0.041228108,
-0.042460024,
-0.04013307,
-0.05617535,
0.027375901,
0.004759985,
-0.0059919003,
0.021873346,
0.0076720966,
0.008199083,
0.00557784,
0.024761504,
0.01643923,
-0.03367236,
0.016808804,
-0.011860609,
0.04073534,
-0.03468527,
0.020258168,
0.010998269,
0.0057318294,
-0.00168704,
0.068385005,
-0.009075112,
0.01463242,
-0.002510028,
0.026883135,
0.002747856,
0.035698175,
-0.017821712,
0.042049386,
0.02685576,
0.0008289765,
-0.055490952,
-0.043117046,
0.0009727,
-0.017383697,
0.008171706,
0.005006368,
-0.0011771638,
-0.012018021,
0.03331647,
0.024638312,
0.031208528,
-0.021818593,
0.01502937,
-0.00070835144,
-0.015713768,
0.031071648,
0.035424415,
0.031646542,
0.005379365,
0.04202201,
-0.0058789747,
0.051603574,
-0.007275146,
-0.0057386733,
0.026226114,
0.03972243,
-0.04221364,
0.0021866502,
-0.01950533,
0.046566408,
-0.0012746904,
0.03186555,
-0.017287882,
0.0037573425,
-0.004955038,
-0.009430998,
0.00938309,
0.02871732,
-0.021257387,
0.03881903,
0.0035143814,
0.015440009,
-0.022256607,
-0.042377897,
0.030442003,
0.015823271,
-0.02537746,
-0.03974981,
-0.01883462,
0.019122068,
0.015125185,
-0.0032594432,
0.02157221,
0.013147277,
-0.014386036,
0.018930435,
-0.04987889,
-0.037723992,
-0.031235904,
-0.029976612,
-0.037587114,
0.018889371,
-0.0087192245,
-0.05891294,
-0.0048831766,
-0.04935875,
0.014057525,
-0.056284852,
0.0073298975,
-0.0026315085,
-0.0013645176,
0.034302004,
0.02926484,
-0.0118263895,
-0.03493165,
0.014919866,
-0.024104482,
0.04429421,
0.012367063,
-0.014906178,
-0.025678596,
-0.00821277,
0.026404057,
-0.0051329816,
0.047031797,
0.003613619,
-0.04495123,
0.018574549,
0.006200642,
0.026540937,
0.012633978,
0.03673846,
-0.03474002,
-0.014030149,
0.023967601,
-0.020874124,
0.06937054,
0.056120597,
-0.07615976,
0.01542632,
-0.0032320675,
0.05469705,
-0.030305123,
0.025172142,
0.04963251,
-0.010895609,
-0.037641864,
-0.037559737,
-0.04054371,
-0.012606603,
0.0012755459,
-0.008705537,
-0.0043835663,
0.059350956,
-0.016220221,
-0.043774065,
-0.008335962,
-0.03432938,
0.009410466,
-0.011114616,
-0.053410385,
0.05677762,
0.044704847,
0.010827169,
-0.05209634,
0.035424415,
-0.019915968,
0.042104136,
0.0068097557,
0.00070321845,
0.06323833,
0.01682249,
-0.010573942,
-0.021490082,
0.04448584,
-0.05376627,
0.00945153,
-0.015672704,
0.025979731,
0.020011785,
-0.0035143814,
0.01742476,
0.022037601,
0.031099023,
-0.048783857,
0.020162351,
0.025336396,
0.020750932,
0.005211687,
0.03167392,
0.004482804,
0.034028247,
-0.0075831246,
-0.034876898,
-0.0046573253,
0.028279306,
0.056941874,
0.010067488,
0.029210087,
-0.001239615,
-0.03167392,
0.032221437,
-0.034192502,
-0.059624713,
0.04615577,
0.03079789,
0.06915153,
-0.02945647,
-0.0059782127,
-0.0051398254,
-0.0127024185,
0.026089234,
0.0034100108,
0.041529242,
-0.0059234607,
-0.018027032,
-0.04541662,
0.016685612,
0.018916748,
0.004506758,
-0.03219406,
0.016904619,
-0.04976939,
-0.043527685,
0.035013776,
0.030031364,
0.010026424,
-0.01272295,
0.04087222,
-0.015398945,
0.014208093,
0.016548732,
0.020477174,
0.01616547,
-0.016959371,
0.03901066,
-0.0036820588,
0.00614589,
-0.039311793,
-0.017657457,
-0.019710649,
0.026280865,
-0.06367635,
0.02150377,
-0.03005874,
0.023283204,
-0.033754487,
0.0154810725,
-0.063840605,
-0.039558176,
-0.059953224,
0.0016707855,
0.02265356,
-0.019135755,
-0.01910838,
0.00509534,
0.02277675,
0.046237897,
-0.0043938323,
-0.021065757,
0.013407348,
-0.027622284,
-0.025459588,
-0.007980076,
0.038326263,
-0.022037601,
0.014728235,
-0.026951576,
-0.029073207,
0.021804906,
0.0039968817,
-0.019888593,
-0.025459588,
-0.02291363,
0.015125185,
0.03019562,
-0.014180717,
-0.0006925248,
0.009157239,
-0.045115486,
-0.009978516,
-0.029073207,
-0.0013183207,
-0.00395924,
-0.017123627,
-0.04648428,
0.020956252,
0.009684226,
-0.013119901,
0.025007887,
0.07309366,
-0.029292215,
-0.06482614,
-0.02945647,
0.022475615,
-0.0057934253,
0.041693497,
-0.019149443,
-0.017151002,
0.010970892,
-0.0011472214,
-0.035095904,
0.030277748,
-0.020312918,
-0.021722779,
0.013681107,
-0.021804906,
0.007001387,
-0.00073914934,
0.028881576,
0.026061859,
-0.026171362,
-0.018122846,
-0.08223721,
0.0017204043,
-0.0030968988,
-0.012633978,
0.013865894,
0.00037663252,
-0.025035262,
0.002511739,
-0.04949563,
-0.021599587,
-0.039257042,
0.012332844,
0.026280865,
0.031920303,
0.007788444,
0.016398165,
-0.012065928,
-0.040625837,
0.013003553,
-0.047469813,
-0.010450751,
-0.027266398,
-0.025336396,
0.00871238,
0.0030233262,
-0.029182712,
-0.033234343,
0.01542632,
0.00043181208,
0.011141992,
-0.04207676,
-0.012497099,
0.010881921,
-0.047141302,
0.079171106,
-0.025172142,
-0.062417056,
-0.022407176,
0.01332522,
0.0065941704,
-0.0024552762,
0.04708655,
-0.03052413,
-0.03131803,
-0.047743574,
0.04087222,
-0.019560082,
-0.004701811,
-0.028470937,
-0.03654683,
-0.0063033015,
0.03980456,
0.028580442,
-0.04662116,
-0.0071451105,
-0.03747761,
0.0015886577,
-0.06882302,
-0.036820587,
-0.041337613,
0.03660158,
-0.04199463,
0.01275717,
0.0062827696,
-0.021982849,
-0.0026879713,
0.0029839734,
0.021668026,
0.018998876,
-0.06893252,
-0.020312918,
-0.0047736727,
0.012332844,
-0.02344746,
0.03712172,
-0.018875685,
0.026198737,
0.0005667667,
0.042460024,
-0.02263987,
-0.0089177,
-0.026691504,
-0.028334059,
0.05748939,
-0.03400087,
-0.020750932,
-0.006344365,
0.058803435,
0.020353982,
0.017041499,
-0.07052032,
0.023461148,
-0.04421208,
-0.041228108,
0.0067310496,
-0.03367236,
0.012497099,
-0.019519018,
0.014550292,
0.04382882,
-0.06624968,
0.030551506,
0.07172486,
-0.0034134327,
-0.001995019,
-0.059460457,
0.025979731,
0.0067721135,
-0.011778481,
-0.019149443,
0.022680935,
-0.044869103,
0.015576888,
0.008897168,
-0.058420174,
-0.019067315,
0.004537556,
0.062471807,
0.0026434856,
-0.002467253,
0.0018718273,
-0.027882356,
-0.019683274,
0.017712208,
-0.0035862431,
0.018396607,
0.026102923,
0.045799885,
-0.017205754,
0.019560082,
-0.062417056,
-0.02611661,
0.0010479838,
0.047250807,
0.018027032,
-0.04694967,
0.059350956,
0.007494153,
-0.03167392,
-0.050535914,
0.032604698,
-0.0043356586,
-0.036820587,
0.010320715,
0.02398129,
-0.014194405,
-0.014440788,
-0.02017604,
0.019957032,
-0.060336486,
-0.010067488,
0.010115395,
-0.004736031,
-0.009992204,
0.032905832,
0.020586679,
-0.06044599,
0.005286971,
-0.034630515,
-0.012346531,
-0.0071451105,
-0.03520541,
0.041803002,
0.022735687,
0.015576888,
0.010957205,
-0.01570008,
0.05138457,
-0.017753271,
0.020723557,
-0.02170909,
-0.033809237,
-0.08344175,
-0.022297671,
0.03159179,
-0.0020258168,
-0.0014808652,
-0.026130298,
0.042514775,
0.030031364,
0.058803435,
-0.03167392,
-0.07167011,
0.028772073,
0.011381531,
-0.0014877091,
0.024487743,
0.0002215737,
-0.018081782,
-0.0056873434,
0.010279651,
-0.025007887,
-0.019176818,
-0.009191459,
-0.015508448,
-0.031564415,
-0.04267903,
0.011949581,
-0.032549948,
-0.03265945,
-0.0033929008,
0.006672876,
0.023515899,
0.014043838,
-0.026801007,
-0.018820932,
0.001418414,
0.0107997935,
-0.01810916,
0.021161571,
-0.009499438,
0.0016100452,
-0.014043838,
0.005389631,
-0.009800573,
0.06926103,
0.033480726,
-0.075666994,
0.027006326,
-0.01055341,
0.019724337,
-0.028553065,
0.028799448,
0.0072888336,
-0.04574513,
0.028087676,
-0.008000608,
0.02472044,
-0.03364498,
-0.029182712,
0.0073914933,
-0.009472062,
0.009807417,
0.042925414,
-0.007186174,
0.012517631,
0.012380752,
0.029949237,
-0.0007254614,
0.02530902,
0.009800573,
-0.0062553934,
0.023885474,
-0.009068267,
0.0015552934,
-0.00831543,
0.046867542,
0.049194496,
-0.015782207,
0.006453869,
0.018382918,
-0.026349306,
-0.04040683,
0.004072165,
0.043445557,
0.03468527,
0.056449108,
-0.021832282,
0.0025356929,
-0.013564759,
-0.035095904,
0.034630515,
-0.06833025,
-0.04875648,
0.015084121,
-0.04380144,
-0.010156459,
-0.054012652,
-0.009499438,
-0.017055187,
-0.0013422747,
0.008609721,
0.035835054,
0.041501865,
0.04076272,
-0.029867109,
-0.029018456,
-0.069534786,
-0.0009915209,
0.023871787,
-0.016001215,
-0.022338735,
0.03849052,
0.020271854,
0.019874904,
-0.015056746,
-0.065811664,
0.009540502,
-0.0073709614,
0.037723992,
-0.015782207,
0.017684832,
-0.03849052,
0.045799885,
-0.022667246,
0.021832282,
-0.014851427,
0.018519796,
0.019915968,
-0.020258168,
0.013174653,
0.025815476,
0.033973493,
-0.017315257,
0.01108724,
0.026677815,
0.042542152,
0.004232999,
0.013598979,
0.010094863,
0.044704847,
0.058474924,
0.04727818,
0.016644549,
0.060555495,
0.03966768,
-0.03200243,
-0.01563164,
0.0075215288,
0.030770514,
-0.00828121,
-0.005245907,
0.045526125,
-0.0067652697,
0.015357881,
-0.0137084825,
0.02038136,
0.006443603,
-0.019012563,
-0.020600365,
-0.026157673,
-0.017493201,
0.040844847,
-0.015207313,
-0.008158019,
0.021079443,
0.0106013175,
0.021681715,
0.049577758,
-0.02799186,
0.03994144,
0.06712571,
0.026691504,
0.02931959,
0.011005112,
0.0003411294,
-0.018396607,
-0.0059679467,
-0.008520749,
-0.009629473,
-0.006727628,
-0.016890932,
-0.034575764,
0.03922967,
0.0054991343,
-0.05404003,
0.0038702681,
-0.005882397,
-0.016206535,
-0.05204159,
0.039558176,
-0.050946552,
0.024036042,
0.041255485,
-0.031016896,
-0.029839732,
-0.01108724,
0.0024604092,
0.04955038,
0.015576888,
0.057270385,
0.025363773,
0.086672105,
0.04489648,
0.002501473,
0.02437824,
0.026554624,
-0.005074808,
-0.059022445,
0.011990645,
-0.008082735,
0.02618505,
-0.016740363,
-0.054122157,
0.02678732,
0.002178095,
-0.012599759,
-0.050399035,
-0.0036786369,
0.014372348,
0.010224899,
-0.006334099,
0.05436854,
0.026568312,
0.0002523716,
-0.015221002,
-0.013612667,
-0.04913974,
0.030140867,
-0.007500997,
0.06789224,
-0.020627743,
-0.030688386,
0.014221781,
-0.019464266,
-0.009656849,
0.0017657457,
-0.021490082,
-0.03205718,
0.037094347,
0.030688386,
0.01570008,
0.031975053,
0.030113492,
-0.007870572,
0.019587457,
0.048044708,
0.033453353,
0.07807607,
0.036300447,
-0.047387686,
0.029237462,
0.023502212,
0.0038976439,
-0.018944124,
-0.024391929,
0.004653903,
0.007473621,
-0.020395046,
-0.043336052,
0.0089177,
0.068713516,
0.02083306,
-0.018889371,
-0.04295279,
0.0032252234,
-0.06833025,
0.014947242,
-0.024391929,
0.019669585,
0.019683274,
-0.02057299,
0.009328338,
-0.07824033,
0.21966423,
0.050426412,
-0.00951997,
0.08470104,
0.020750932,
0.051603574,
0.040598463,
-0.014249157,
0.015932774,
-0.043664563,
0.012887206,
-0.039640304,
-0.013229405,
0.014317596,
-0.032358315,
0.0020857016,
-0.040379453,
0.03134541,
0.014071213,
0.0018838042,
-0.044650096,
0.046977047,
0.0070492947,
0.06624968,
-0.0068542412,
0.007473621,
0.0037333886,
-0.050399035,
0.010170148,
-0.055354074,
0.041693497,
-0.021982849,
0.029292215,
-0.029757604,
-0.00014800097,
0.03553392,
-0.0074257134,
-0.041830376,
-0.0031413848,
0.024364552,
-0.045170236,
-0.030578882,
0.019258946,
0.0053998968,
-0.060938757,
0.059350956,
-0.038682148,
0.02685576,
0.07468146,
-0.03594456,
0.03928442,
-0.029346967,
-0.00506112,
-0.04300754,
-0.045142863,
-0.054614924,
-0.048975486,
-0.042049386,
-0.011251495,
0.020860437,
0.0009992204,
-0.011018801,
-0.010402842,
0.012202808,
-0.036026686,
0.014372348,
0.015289441,
0.031975053,
-0.04161137,
0.0042603747,
0.036409948,
0.018150223,
0.003072945,
0.01683618,
0.016247598,
0.027663348,
-0.006032964,
0.056941874,
0.02177753,
-0.045443997,
0.006135624,
-0.009786885,
-0.029675478,
-0.016918307,
0.044376336,
0.05390315,
-0.018998876,
0.014974618,
-0.018259726,
0.02057299,
0.035287537,
0.0037641865,
-0.009191459,
0.010067488,
-0.0045409775
] | AutoProcessor always works and automatically chooses the correct class for the model you're using, whether you're using a tokenizer, image processor, feature extractor or processor.
Before you begin, install 🤗 Datasets so you can load some datasets to experiment with:
pip install datasets
Natural Language Processing |
[
0.0074918536,
-0.023553181,
-0.004722405,
0.010636446,
-0.026936837,
0.0021699527,
0.014696832,
-0.009275628,
0.00054616603,
0.061435405,
0.011666254,
0.0053329347,
0.0037992562,
-0.050401747,
-0.007826541,
0.032836165,
0.00027354277,
-0.029702606,
-0.072204255,
0.005939786,
-0.022229142,
0.021008084,
-0.07579387,
-0.013799428,
-0.0021442075,
-0.008554762,
0.00076591974,
0.006796733,
0.064024635,
0.045046747,
-0.001628384,
0.03707309,
0.00023699377,
0.018521832,
-0.048224438,
-0.0438404,
-0.028172605,
-0.031394433,
-0.032365397,
-0.03839713,
-0.010121542,
-0.014814524,
0.05184348,
-0.033571742,
-0.04263405,
0.028437413,
0.0073925504,
-0.01657991,
-0.029599626,
-0.04213386,
0.012534235,
-0.0074624303,
0.052314248,
0.022317411,
-0.005903007,
-0.036808282,
-0.029202413,
-0.031600393,
-0.061965022,
-0.00078292994,
-0.001936407,
0.0615531,
-0.02736347,
-0.040368475,
0.002287645,
-0.001318522,
-0.009761109,
0.01744789,
-0.020728564,
-0.045546938,
-0.08303195,
0.009209426,
-0.025024336,
-0.024112219,
-0.0058993287,
-0.013277167,
0.022567507,
-0.04810675,
-0.013681735,
0.04745944,
-0.00016366591,
0.035248857,
0.055727325,
0.015476543,
-0.008517983,
-0.031953473,
0.0069990167,
-0.05025463,
0.010070051,
-0.017462602,
-0.028819913,
0.031776935,
-0.05669829,
-0.0051600737,
0.046076555,
0.026260104,
0.0018849164,
0.045223285,
0.009555147,
0.0033027416,
0.017138949,
0.08061926,
0.019080872,
0.04778309,
-0.029467221,
-0.01659462,
0.0019400847,
-0.017624428,
-0.006535603,
-0.017124236,
-0.024627123,
0.0012477228,
0.019463371,
-0.02545097,
0.017330198,
0.008672454,
0.008201686,
0.0005135248,
-0.068261564,
-0.01477039,
0.005697045,
-0.006160459,
-0.046253093,
-0.06979156,
0.032483086,
-0.029584914,
-0.021375872,
0.032541934,
-0.039338667,
-0.010643802,
0.0056418767,
-0.019125007,
0.02372972,
0.05587444,
0.022037892,
0.0107835615,
-0.011747167,
0.020802122,
0.018330583,
-0.042192705,
0.0038176456,
0.035690203,
0.003773511,
0.049842708,
0.011680965,
-0.029570201,
0.025392124,
-0.064318866,
-0.031188471,
0.029599626,
-0.06208271,
0.03366001,
0.018242314,
0.013416927,
-0.051137324,
0.0031298809,
0.009665484,
0.030835396,
-0.018654237,
0.0063627423,
-0.0054432712,
0.004056708,
-0.051137324,
0.047518287,
-0.013600822,
0.05001925,
-0.015417698,
-0.02545097,
0.047606554,
-0.042369246,
-0.0034700853,
-0.006855579,
0.011526494,
0.025406836,
0.02715751,
0.037896935,
0.04507617,
0.03374828,
0.028613951,
-0.011842793,
0.010827696,
-0.043045975,
0.02849626,
0.0033652654,
0.008723945,
-0.009437455,
-0.047165208,
-0.0032696405,
-0.014086302,
0.02392097,
0.0015088527,
0.03754386,
-0.006031733,
0.03621982,
-0.037043665,
-0.0026554335,
-0.014417312,
0.03660232,
0.017080102,
-0.016079716,
-0.011372023,
0.06820271,
-0.043634437,
0.04810675,
-0.018742505,
0.00002919322,
0.0034535348,
0.022170296,
-0.017565582,
0.029496644,
0.04595886,
0.033865973,
-0.032071166,
-0.042810593,
0.009680196,
-0.0149763515,
-0.039838858,
0.01581491,
0.007841253,
-0.019507507,
0.0056639444,
0.023376642,
0.037514437,
-0.011232263,
-0.0027345081,
-0.01424813,
0.005553608,
0.053049825,
0.032247704,
0.022538085,
0.024774238,
0.018242314,
0.0058073816,
0.06508387,
0.015726639,
0.030923665,
0.033924818,
0.04754771,
0.00488791,
-0.01715366,
0.0013608178,
0.04395809,
0.014196639,
0.03833828,
-0.028334433,
0.014637985,
-0.0016017193,
0.016035583,
-0.012747552,
0.00857683,
-0.058081172,
0.017094813,
0.015417698,
-0.0067525986,
-0.052667323,
-0.024759527,
0.01783039,
0.020581448,
-0.029599626,
-0.03851482,
-0.0015382757,
0.035690203,
0.016241543,
-0.011732456,
0.0488129,
0.029776163,
0.030452894,
0.027142797,
-0.010047984,
-0.06184733,
-0.00056041783,
-0.025627509,
-0.064024635,
-0.0022527052,
-0.022891162,
-0.027790105,
-0.03595501,
-0.05490348,
-0.02297943,
-0.020978661,
0.011136638,
-0.020360775,
-0.046753284,
0.044723094,
0.007870676,
0.007797118,
-0.03672001,
0.004582646,
-0.00791481,
0.03233597,
0.014660053,
-0.026274817,
0.011761879,
-0.01619741,
0.018860199,
0.03639636,
0.02050789,
-0.007157166,
-0.07355772,
0.021655392,
-0.02202318,
0.017786255,
-0.016270967,
0.043810975,
-0.023155969,
0.03012924,
0.023214815,
-0.01534414,
0.061141174,
0.038779628,
-0.022332123,
0.033100974,
0.022199718,
0.021243468,
-0.027701836,
0.0326302,
0.057904635,
0.0014150665,
-0.050872516,
-0.012997649,
-0.082384646,
0.00495779,
-0.021361161,
-0.05022521,
-0.009680196,
0.05128444,
-0.04489963,
-0.057404444,
0.0010481975,
-0.049901556,
-0.015682505,
-0.06325964,
-0.0070983195,
0.036102127,
0.016609332,
-0.006679041,
-0.06331848,
-0.0037771887,
0.018580679,
0.03804405,
0.031453278,
-0.008061926,
0.05796348,
0.02078741,
-0.010128898,
-0.049254246,
0.0040346407,
-0.035425395,
-0.017653853,
-0.008929906,
0.04242809,
0.024788952,
0.007311637,
0.02487722,
0.0059728865,
0.01743318,
-0.019095583,
0.068967715,
0.033336356,
-0.0073300265,
0.024229912,
0.0026057821,
0.0061678146,
-0.0072380793,
-0.0200077,
-0.008451781,
0.01602087,
0.031453278,
0.025039047,
-0.04592944,
0.026745586,
0.01129111,
-0.011842793,
0.040103666,
-0.036808282,
-0.046282515,
0.03536655,
0.021787796,
0.04213386,
-0.0148733705,
-0.0056161317,
0.013615534,
0.038161743,
0.041457128,
0.033218663,
0.025053758,
-0.019845871,
-0.001963991,
0.018095199,
-0.0064399783,
0.027687125,
-0.008422359,
0.00915058,
-0.009893513,
-0.030658856,
-0.05699252,
0.027334047,
0.04128059,
0.03592559,
-0.009091734,
0.04907771,
0.00541017,
0.0049026217,
0.045017324,
0.01791866,
-0.0056308433,
-0.030953087,
0.03995655,
-0.014476159,
0.008039858,
-0.03830886,
-0.017492024,
-0.03424847,
0.011967841,
-0.04507617,
0.035042897,
-0.037985206,
0.012100245,
-0.013181543,
0.054697517,
-0.029364241,
-0.038544245,
-0.04966617,
0.022802893,
0.027437028,
-0.021125777,
-0.02021366,
-0.023685586,
0.019757602,
0.007833897,
-0.0015860882,
-0.02364145,
-0.029584914,
-0.032865588,
-0.03233597,
0.04748886,
0.021714238,
-0.03510174,
0.003350554,
-0.05825771,
0.0067673097,
-0.017521448,
-0.035042897,
-0.009562504,
0.011717744,
-0.022199718,
-0.0073925504,
0.01791866,
-0.012328274,
-0.02593645,
0.02889347,
-0.022861738,
0.0013516231,
-0.025156738,
0.00810606,
-0.058757905,
0.008135484,
0.0025322244,
0.0021442075,
0.0046598813,
-0.03813232,
-0.0049798572,
0.0438404,
-0.0242152,
-0.027216354,
-0.017286064,
0.026642606,
-0.04966617,
0.032806743,
-0.00069282175,
-0.005991276,
0.021434719,
-0.008253176,
0.01943395,
-0.018168757,
-0.03012924,
0.0035565156,
0.008495917,
-0.016079716,
0.008672454,
-0.040486168,
0.02420049,
-0.019787027,
-0.009503657,
-0.015285294,
-0.044281747,
-0.014704187,
-0.04507617,
-0.024068085,
0.046459053,
0.034483857,
-0.037102513,
-0.027569432,
0.002934953,
0.0060096653,
-0.043045975,
-0.012423898,
-0.011680965,
0.029055297,
0.017800968,
0.05243194,
-0.026274817,
-0.021037508,
0.025186162,
0.009540436,
0.004409785,
0.0016522902,
-0.0101951,
0.028702222,
0.006068512,
-0.018168757,
0.023185393,
-0.00509755,
-0.0033928496,
0.027481163,
-0.03507232,
-0.00986409,
-0.03669059,
-0.017006544,
0.03424847,
0.00065834157,
-0.04648848,
-0.03424847,
0.020831546,
-0.00031882673,
0.02050789,
0.0488129,
-0.03460155,
-0.041221745,
-0.015388275,
0.036572896,
0.0021809863,
-0.0070688967,
-0.030158663,
-0.02898174,
0.020625584,
0.03336578,
0.013438995,
-0.02649549,
0.014476159,
-0.03583732,
0.03233597,
-0.02659847,
-0.027378183,
-0.0035178978,
0.0052446653,
-0.030099818,
0.00895933,
-0.0026646282,
0.006469401,
-0.01687414,
-0.004825386,
0.013431639,
0.013821495,
-0.058228288,
-0.0055609634,
0.0056418767,
-0.012703418,
0.0010849764,
0.05154925,
-0.011879572,
0.06278887,
-0.024318181,
0.025759913,
-0.029011164,
-0.009032887,
-0.059905406,
0.012938802,
0.022376258,
-0.0076500024,
-0.037131935,
-0.021979045,
0.017241929,
0.016432794,
0.025892315,
-0.024744816,
0.018139333,
-0.014689476,
-0.062259253,
-0.0046819486,
-0.021008084,
0.013505197,
0.0032310227,
0.023906259,
0.04072155,
-0.04013309,
0.0064914683,
0.053785402,
-0.005388103,
0.02002241,
-0.060493868,
0.041810207,
0.0015741352,
0.017845102,
-0.019787027,
0.014711543,
-0.0491954,
0.03698482,
0.001997092,
-0.04072155,
-0.040868666,
0.03557251,
0.026554335,
-0.0045569004,
0.026392508,
0.03204174,
-0.017756833,
-0.02783424,
0.0047775735,
0.050695978,
0.010378994,
-0.0027473806,
0.039426938,
-0.03939751,
-0.008415002,
-0.046959247,
-0.016388658,
0.0082237525,
0.057021942,
-0.0013755293,
-0.007936877,
0.02249395,
-0.0051159393,
-0.017227218,
-0.057316173,
0.0084812045,
-0.0022802893,
-0.035601936,
0.002933114,
0.007642647,
0.0051122615,
-0.033071548,
0.01581491,
-0.011504427,
-0.040486168,
-0.03421905,
0.015726639,
-0.035778474,
0.0051711076,
0.015726639,
0.034189627,
-0.036749434,
-0.0046120686,
-0.04660617,
0.0009006223,
-0.02593645,
-0.012026687,
0.07102733,
-0.0017892915,
0.00767207,
-0.025524527,
0.013975966,
0.052314248,
-0.007664714,
-0.02030193,
0.039868284,
-0.07314579,
-0.062612325,
0.011107216,
0.04260463,
-0.032718472,
0.0064841127,
-0.020184238,
0.02172895,
0.020596161,
0.028510971,
-0.02030193,
-0.091093875,
0.033100974,
-0.010607023,
0.0078118294,
0.044399437,
0.0023372965,
-0.024391739,
0.050872516,
0.02297943,
-0.035690203,
0.0071534878,
0.043075398,
-0.03992713,
-0.028393278,
-0.044752516,
0.03374828,
-0.04478194,
-0.025083182,
-0.002032032,
-0.017344909,
0.0024292436,
0.03736732,
0.0066275503,
0.006679041,
0.00424428,
0.023891546,
0.011452937,
0.0031482703,
-0.05043117,
0.013115341,
-0.00086154474,
-0.00071856694,
-0.02164068,
0.027598856,
0.03460155,
-0.04678271,
0.026775008,
0.0119016385,
-0.0010868153,
-0.04425232,
0.0070762523,
0.0415454,
-0.024524143,
0.036867127,
-0.02011068,
-0.004406107,
-0.03060001,
-0.026863279,
-0.010702648,
-0.03213001,
0.035131164,
0.04004482,
0.020198949,
0.053638287,
0.008267887,
0.021596545,
0.009363897,
0.04707694,
0.027951932,
-0.0015217253,
0.020272506,
-0.012578369,
0.0067673097,
-0.047106363,
0.007995724,
0.024730105,
-0.033807125,
0.029849721,
0.008643032,
-0.026333662,
-0.016741736,
0.037602704,
0.01506462,
0.015608948,
0.0507254,
-0.038220588,
-0.013122696,
-0.02764299,
-0.0066201943,
0.0005378908,
-0.056874827,
-0.04642963,
-0.013093273,
-0.029658472,
-0.018242314,
-0.03536655,
-0.052020017,
-0.008856349,
-0.015932601,
-0.009805243,
0.0021497242,
0.013902408,
-0.003098619,
-0.020360775,
-0.0015870078,
-0.032777317,
-0.0050056027,
-0.002250866,
-0.034454435,
-0.007116709,
0.015138178,
0.02030193,
0.022538085,
-0.0053917808,
-0.03992713,
-0.00015768936,
0.005766925,
0.03889732,
-0.001626545,
0.006164137,
-0.040074244,
0.006414233,
-0.00095900876,
0.011754523,
-0.014777745,
0.0075764447,
0.018801352,
0.010114186,
0.045517515,
0.03165924,
0.048018478,
-0.022243854,
-0.015285294,
0.017138949,
0.018639525,
-0.021096352,
0.0032972246,
0.011298466,
0.042310398,
0.05843425,
0.024744816,
-0.0025267075,
0.02726049,
0.010173032,
-0.026848566,
-0.043899246,
0.02296472,
0.0051380065,
-0.0006730531,
-0.0051600737,
0.0029533424,
-0.030541165,
0.0226852,
-0.011445581,
0.017800968,
-0.019639911,
0.013218322,
-0.013880341,
-0.026186546,
-0.00043491,
0.05260848,
-0.029364241,
0.0017718215,
-0.0046856264,
0.042545784,
0.007936877,
0.036808282,
0.0039537274,
0.06443656,
0.050490018,
0.0012495617,
0.0128726,
0.0149763515,
0.024950778,
0.01915443,
0.02402395,
-0.022052603,
-0.005347646,
-0.067143485,
-0.015079332,
-0.034542702,
0.050313476,
0.0034094001,
-0.051725786,
0.0121076,
-0.018315872,
0.003543643,
-0.054844633,
0.001529081,
-0.053873673,
0.019845871,
0.047871362,
-0.009187358,
-0.04489963,
0.017477313,
-0.0014224224,
0.010710004,
0.0068960357,
0.04557636,
0.03192405,
0.037720397,
0.024759527,
0.020316642,
0.007907455,
0.0006183446,
-0.025318567,
-0.057875212,
0.0026260104,
-0.023876835,
-0.002736347,
-0.033777703,
-0.04754771,
-0.0028319722,
0.016535774,
-0.010643802,
-0.013438995,
0.01868366,
-0.007995724,
-0.01888962,
-0.021596545,
0.09438926,
0.012666639,
0.012718129,
-0.042781167,
-0.0063664205,
-0.036543474,
-0.032718472,
-0.015520678,
0.068967715,
-0.029305395,
-0.06567233,
0.017786255,
-0.026995681,
-0.009886157,
0.011379379,
-0.009268273,
-0.042163283,
0.02917299,
0.0070394734,
0.04557636,
0.017035967,
-0.015859043,
-0.033100974,
0.08815157,
0.02927597,
0.027304625,
0.10009734,
0.05001925,
-0.017035967,
0.010173032,
0.026083566,
0.014888082,
0.025274431,
-0.007032118,
-0.013902408,
-0.0063222856,
-0.023597315,
-0.07061541,
-0.032541934,
0.03012924,
-0.0053954585,
-0.008966685,
-0.02458299,
0.010710004,
-0.06473079,
-0.028466836,
0.0040346407,
0.006796733,
-0.01621212,
-0.018948467,
0.039338667,
-0.050166365,
0.25892317,
0.01687414,
-0.013122696,
0.029084722,
0.019948853,
0.0707331,
0.047341745,
-0.01415986,
0.0033836549,
-0.041957323,
0.031041356,
-0.045546938,
-0.015358851,
0.03451328,
-0.029982125,
0.027113374,
-0.050166365,
0.011776591,
-0.009893513,
0.012997649,
-0.03910328,
0.05755156,
-0.0017653852,
0.084208876,
0.03204174,
-0.036337513,
0.011975196,
-0.04719463,
-0.004450242,
-0.034277897,
0.022950009,
-0.003387333,
0.010128898,
-0.03477809,
-0.009113801,
0.018404141,
0.01224736,
-0.04395809,
-0.022538085,
0.012475389,
-0.047341745,
-0.05481521,
0.032483086,
0.018065775,
0.006256084,
-0.0028172606,
-0.008032503,
0.03724963,
0.01887491,
-0.04813617,
0.046282515,
-0.023008853,
0.01753616,
-0.025877604,
-0.037426166,
-0.010393705,
-0.034454435,
-0.06320079,
-0.019919429,
-0.0004684707,
0.012526879,
0.013667024,
0.0013929993,
0.053608865,
0.018521832,
0.023111835,
0.002484412,
0.049695592,
-0.003315614,
0.013461062,
0.03919155,
0.0039794724,
-0.0038470686,
-0.04813617,
-0.0061052907,
0.0120561095,
-0.011666254,
0.040927514,
0.025289143,
-0.04325194,
0.0111439945,
-0.04222213,
-0.009842022,
-0.053138096,
0.023817988,
0.088681184,
-0.012784331,
-0.02021366,
0.010915965,
0.035984434,
0.013740581,
0.008709233,
0.042928282,
0.017300775,
-0.000909817
] | If you plan on using a pretrained model, it's important to use the associated pretrained tokenizer. This ensures the text is split the same way as the pretraining corpus, and uses the same corresponding tokens-to-index (usually referred to as the vocab) during pretraining.
Get started by loading a pretrained tokenizer with the [AutoTokenizer.from_pretrained] method. This downloads the vocab a model was pretrained with: |
[
0.035197075,
-0.010226371,
-0.024511736,
0.012829578,
-0.021514105,
-0.00440322,
0.021327648,
0.0032737295,
0.00053471513,
0.029173125,
0.024884647,
-0.029603407,
0.012341924,
-0.04015966,
0.01929098,
0.030291859,
0.0061781337,
-0.03964332,
-0.042913467,
-0.0046362896,
-0.0422537,
0.01310926,
-0.07154157,
-0.030377915,
-0.0041809077,
0.003029903,
0.0104271695,
0.0075514503,
0.0560801,
0.03906961,
-0.0068020425,
0.027150799,
-0.020467084,
0.00917218,
-0.031640075,
-0.061616395,
-0.035197075,
-0.027179485,
-0.051777277,
-0.023005748,
-0.022389011,
0.007465394,
0.032471955,
-0.027408969,
-0.05441634,
0.010319599,
-0.018157903,
-0.019319665,
-0.007049455,
-0.018100534,
-0.009301264,
0.03244327,
0.038151678,
0.009925174,
-0.016365062,
-0.030463971,
-0.0319843,
-0.030033689,
-0.05714146,
0.004198836,
0.018430416,
0.06425545,
-0.014507677,
-0.04598281,
-0.008957039,
0.02118422,
0.0071426826,
0.0104271695,
-0.041909475,
-0.029115753,
-0.06924673,
0.014106081,
-0.020610511,
-0.03250064,
-0.016838372,
-0.009129152,
0.010541911,
-0.0015633582,
-0.0031482305,
0.06500128,
0.009846289,
0.027538054,
0.055276904,
0.025085445,
-0.017871048,
-0.036660034,
0.045409102,
-0.03680346,
-0.011072592,
-0.021141192,
-0.034422565,
0.029947633,
-0.051260937,
0.001305189,
0.05295338,
0.03250064,
-0.021370677,
0.035139702,
-0.0075299363,
0.009408834,
0.0074367085,
0.08485162,
-0.0093299495,
0.03809431,
0.00084711786,
-0.0028308975,
0.011832757,
-0.028455988,
-0.029201811,
0.021428047,
-0.04345849,
-0.016910085,
0.04110628,
-0.028843243,
0.0015077802,
0.014916445,
-0.008713212,
0.023292603,
-0.06551762,
-0.012901291,
0.012987347,
-0.0045323046,
-0.009996887,
-0.06746823,
0.013102089,
-0.050515115,
-0.03370543,
0.009372978,
-0.006547459,
-0.02663446,
0.0016538968,
-0.022102157,
0.04885136,
0.053412348,
0.01368297,
0.005945064,
-0.006916784,
-0.028126106,
0.011524389,
-0.039614636,
-0.017397739,
0.026820917,
-0.0031607805,
0.071426824,
0.039040927,
-0.01640809,
0.007737906,
-0.054703195,
-0.035569984,
0.029976318,
-0.070279405,
-0.004241864,
0.0031679517,
0.009846289,
-0.043429803,
0.021930043,
0.0017838778,
0.019434407,
-0.018071847,
-0.009344293,
0.0008063307,
0.0025476285,
-0.04997009,
0.025028074,
0.003221737,
0.0045789187,
-0.0015319835,
-0.01913321,
0.022302955,
-0.030062374,
-0.030119745,
0.02264718,
0.010792909,
0.023206547,
0.048736617,
-0.0069598127,
0.058719162,
0.007020769,
0.017268654,
-0.007092483,
-0.0010138522,
-0.032844864,
-0.0040087947,
0.026204178,
-0.0029008184,
-0.0030998238,
-0.019721262,
0.009573776,
-0.014235166,
0.008103645,
0.014414449,
0.044577222,
-0.000285286,
-0.0010255056,
-0.07389378,
0.031066366,
-0.008827954,
0.00812516,
-0.0010927372,
-0.009932345,
-0.004439077,
0.061731137,
-0.038926184,
0.022819294,
-0.01409891,
0.006411203,
0.006353832,
0.0130805755,
-0.023837628,
0.019678233,
0.025257558,
0.022675866,
-0.013310059,
-0.02438265,
0.021829644,
-0.015690953,
-0.014959474,
0.0124064665,
0.013467829,
-0.0059845066,
-0.0033813,
0.011538731,
0.04750314,
0.016953114,
0.007996075,
0.016235977,
0.018659899,
0.033619374,
0.0034171569,
0.00775942,
0.017182598,
0.018200932,
0.012858263,
0.07113997,
0.008792097,
0.022790607,
0.047933422,
0.032902237,
0.04523699,
-0.0016090757,
-0.022245584,
0.01420648,
0.041393135,
0.0236942,
-0.029574722,
0.017268654,
-0.014550705,
-0.010828766,
-0.051088825,
0.012413638,
-0.042081587,
0.019735605,
0.014959474,
-0.009731546,
-0.053957373,
-0.038725387,
0.030033689,
0.035053648,
0.008067789,
-0.028771529,
0.034365196,
0.024927676,
0.03832379,
-0.0077235634,
0.03143928,
0.0304066,
0.01897544,
0.047589198,
-0.051719908,
-0.085195854,
-0.015318042,
-0.0556785,
-0.077393405,
0.017942762,
-0.061157428,
-0.034508623,
-0.0021765102,
-0.064198084,
0.012392124,
-0.013453486,
0.015561868,
-0.024698192,
-0.043716658,
0.045925442,
0.04299952,
0.012901291,
-0.0341644,
0.021571474,
-0.0252719,
0.022632837,
-0.009444691,
0.010125971,
0.0040805084,
-0.0069490555,
0.021040794,
0.027495025,
-0.0024974288,
-0.015102901,
-0.052350987,
0.03602895,
-0.032127727,
0.020954737,
0.017110884,
0.04277004,
-0.0236942,
0.010921993,
0.0339636,
-0.032959606,
0.046327036,
0.048621874,
0.0040123803,
0.035397872,
0.028097419,
0.025257558,
-0.023938026,
0.037606653,
0.058260195,
0.005988092,
-0.051863335,
-0.020782625,
-0.081294626,
0.025859954,
-0.059206814,
-0.045064878,
0.010843108,
0.056280896,
-0.03694689,
-0.04365929,
0.0019165481,
-0.034738105,
-0.035254445,
-0.07211528,
0.012456666,
0.038668018,
0.020524455,
-0.010943508,
-0.0693041,
-0.0047904737,
0.011402475,
0.011832757,
0.013295717,
-0.017799335,
0.0438314,
0.033791486,
0.012643122,
-0.019061496,
-0.0020277044,
-0.028527701,
0.010061429,
-0.025472699,
0.009007238,
0.03298829,
0.0049231444,
0.013381773,
-0.0054753395,
0.015404099,
-0.0056653805,
0.041192338,
0.017598538,
-0.0036789118,
0.013690142,
0.029402608,
0.006454231,
0.010183343,
-0.008218388,
-0.020467084,
-0.026146809,
0.026290234,
0.025429672,
-0.050457746,
0.017268654,
0.019004125,
-0.007795277,
0.026175493,
-0.021528447,
-0.038868815,
0.030263172,
0.03169745,
0.037319798,
0.00030366261,
-0.01048454,
0.0009555848,
0.012191325,
0.026448006,
0.072975844,
0.037664026,
0.009846289,
0.016322033,
0.0074940794,
-0.030349229,
0.015877409,
0.01122319,
0.0074582226,
0.013697313,
-0.0076805353,
-0.06494391,
0.00017569851,
0.00589845,
0.04251187,
0.005005615,
0.04997009,
-0.001997226,
-0.020137202,
0.034996275,
-0.0089928955,
-0.0065761446,
-0.03809431,
0.054846622,
0.014672619,
-0.0011106656,
-0.012506866,
-0.010914822,
-0.012678979,
0.017698936,
-0.023364317,
0.007113997,
-0.02888627,
0.036459234,
0.00985346,
0.029660778,
-0.035168387,
-0.023378659,
-0.054760568,
-0.006059806,
0.041966844,
-0.019319665,
0.012427981,
-0.0168814,
0.010685339,
0.0113522755,
0.034738105,
-0.04807685,
0.004596847,
-0.0062498474,
-0.062017992,
0.05891996,
0.027695823,
-0.012872606,
0.006253433,
-0.057313573,
0.0058052223,
-0.0041844933,
-0.018530814,
-0.00092421006,
0.023565115,
-0.029130097,
-0.027337255,
0.017584193,
-0.02280495,
-0.02138502,
0.015174614,
-0.022274269,
0.023550773,
-0.021815302,
-0.037807453,
-0.07332007,
0.033934914,
-0.00026287546,
0.016537175,
-0.0007718185,
-0.04721629,
-0.004711589,
0.033217777,
-0.031209793,
-0.062419586,
-0.010506054,
0.02286232,
-0.031467963,
0.015547526,
0.005027129,
-0.009831945,
0.044204313,
-0.0033418576,
0.00285779,
-0.01436425,
-0.02018023,
0.0046793176,
0.0006490088,
-0.020825652,
0.01666626,
-0.030062374,
0.015404099,
-0.01567661,
-0.024411337,
0.0032647653,
-0.05346972,
-0.024755562,
-0.023938026,
-0.022790607,
0.02464082,
0.032127727,
-0.018459102,
-0.013238345,
0.008928353,
-0.011502874,
-0.004704417,
-0.017182598,
-0.013195317,
0.043802716,
0.03809431,
0.041278396,
-0.031525332,
-0.015490155,
0.019061496,
0.023794599,
0.016766658,
0.009215208,
-0.01871727,
0.021614503,
0.011359447,
-0.0034673563,
0.042913467,
-0.0097530605,
-0.016781,
0.036487922,
-0.010082943,
-0.009200865,
-0.033275146,
-0.031410594,
0.037119,
-0.03749191,
-0.03502496,
-0.05258047,
0.0253723,
0.02039537,
0.01173953,
0.07664758,
-0.01080008,
-0.027021715,
-0.00073730625,
0.032615382,
-0.021471076,
0.005274541,
-0.03496759,
-0.006120763,
0.02312049,
0.01814356,
0.014486163,
-0.03984412,
0.004048237,
-0.021255935,
0.019190582,
-0.028484674,
-0.033217777,
-0.0069490555,
0.003176916,
-0.04850713,
0.0321851,
0.0061171767,
0.014565049,
-0.033160407,
-0.0026175494,
0.023005748,
0.040389143,
-0.04256924,
-0.005787294,
-0.014407278,
-0.020983422,
0.0075729648,
0.05263784,
0.007486908,
0.06132954,
-0.0076733637,
0.03338989,
-0.052293617,
-0.0220161,
-0.052867323,
0.022044785,
0.012356267,
-0.026548404,
-0.014844731,
-0.01954915,
0.016279005,
-0.004231107,
0.035627358,
-0.02819782,
-0.0026300992,
-0.028126106,
-0.07154157,
0.021026451,
-0.019161895,
0.00785982,
0.017254312,
0.018889382,
0.052322302,
-0.019764291,
-0.0029295038,
0.04681469,
0.0008103646,
-0.0051884847,
-0.07165631,
0.056108784,
-0.006651444,
-0.017024828,
-0.047876053,
0.00054323114,
-0.0337628,
0.020911708,
-0.011072592,
-0.039557267,
-0.01897544,
0.01777065,
0.02977552,
-0.004188079,
0.045753326,
0.020782625,
-0.025917323,
-0.061157428,
-0.00043341954,
0.06677978,
0.018014476,
0.017326025,
0.010068601,
0.011000878,
0.012937148,
-0.034451254,
-0.024712535,
-0.023106148,
0.035426557,
-0.021313306,
-0.007902848,
0.009043095,
0.019592177,
-0.022460725,
-0.039385155,
0.021270277,
-0.0048191594,
-0.06895988,
0.0011017014,
-0.010090115,
0.013345916,
-0.00886381,
0.025200186,
0.019391378,
-0.040704686,
-0.030033689,
0.015361071,
-0.033791486,
-0.011459846,
-0.007737906,
0.035770785,
-0.006558216,
-0.0015032981,
-0.03978675,
0.021169879,
-0.053297605,
-0.004198836,
0.08158148,
0.0009681347,
0.018043162,
-0.022302955,
0.019850347,
0.054645825,
-0.001209272,
-0.004955415,
0.016737973,
-0.040934168,
-0.05473188,
0.020753939,
0.015260671,
-0.012277382,
-0.00020427194,
-0.041766047,
-0.0056223525,
0.034565993,
0.03809431,
0.0010192307,
-0.089556046,
0.033160407,
-0.011897299,
-0.01577701,
0.018229617,
-0.016035179,
0.0011599688,
0.04308558,
0.002518943,
-0.032529324,
0.025917323,
0.034680735,
-0.035971582,
-0.0113953035,
-0.03186956,
0.032615382,
-0.035139702,
-0.05226493,
-0.00492673,
-0.036717404,
0.012800892,
0.03579947,
-0.021141192,
-0.0022643595,
0.0006561802,
0.0304066,
-0.0068629994,
0.01703917,
-0.035914212,
-0.0005651934,
0.015949123,
-0.004844259,
-0.013704484,
0.031209793,
0.03293092,
-0.03364806,
0.00028954397,
0.0044354913,
0.010176172,
0.0009618597,
0.017641565,
0.05243704,
-0.03737717,
0.041249707,
-0.017024828,
-0.004980515,
-0.031840876,
-0.020294972,
-0.01216264,
-0.014715647,
-0.0053928685,
0.052867323,
0.022661522,
0.047876053,
0.004654218,
0.007522765,
0.00775942,
0.0404752,
0.04681469,
0.0076088216,
0.012973005,
-0.039672006,
0.024626479,
-0.0053713545,
-0.010075772,
0.019678233,
-0.014012853,
0.020567484,
0.02106948,
-0.0049231444,
-0.02515716,
0.016953114,
0.027925307,
0.0028990256,
0.026964344,
-0.028470332,
0.020481426,
-0.027667137,
-0.0071068257,
0.018071847,
-0.054903995,
-0.04661389,
0.012607265,
-0.022259926,
-0.006888099,
-0.024138825,
-0.013016033,
-0.0025386643,
0.0091219805,
0.01074988,
0.013016033,
0.013718827,
0.011674987,
-0.020266285,
-0.0038832957,
-0.0170822,
-0.011388132,
0.0034297067,
-0.017713279,
0.007737906,
0.032213785,
0.020854339,
0.022159528,
-0.026691832,
-0.040848114,
-0.0051203566,
0.002655199,
0.055334274,
-0.029130097,
-0.0041020224,
-0.029804206,
0.033045664,
-0.06023949,
0.019592177,
-0.025515728,
0.00066379976,
0.0321851,
0.012427981,
0.038553275,
0.043745346,
0.048162907,
0.005539882,
0.00022298473,
0.021930043,
-0.0034978348,
-0.009989715,
-0.016221635,
-0.0018878626,
0.03413571,
0.061272167,
0.013066232,
-0.022704551,
0.04251187,
0.0037398685,
-0.04015966,
-0.027480682,
0.030349229,
0.024970703,
0.0018295953,
-0.0073578237,
-0.018745955,
-0.035627358,
-0.003472735,
-0.0063287322,
0.03447994,
-0.024038425,
-0.020223258,
0.005296055,
-0.040130977,
-0.0032880723,
0.018229617,
-0.02831256,
0.02327826,
0.012571408,
0.03166876,
0.016279005,
0.017584193,
-0.018903727,
0.034565993,
0.032328527,
0.031209793,
0.006353832,
-0.0068486566,
0.020667883,
0.019907717,
0.040102288,
-0.026376292,
-0.020510113,
-0.048220277,
-0.015547526,
-0.08422054,
0.04606887,
0.038409848,
-0.042626612,
0.009946687,
-0.0048621874,
-0.005772951,
-0.046212297,
-0.02049577,
-0.032357212,
-0.004152222,
0.016680602,
-0.013274202,
-0.057313573,
0.019491779,
-0.010871794,
0.039299097,
0.014608077,
0.041794732,
0.036401864,
0.030205801,
0.025487041,
0.007250253,
0.02332129,
0.015561868,
-0.0187603,
-0.030550027,
0.02274758,
-0.03496759,
-0.008347472,
-0.06809931,
-0.05696935,
0.002676713,
0.021141192,
-0.022317298,
-0.019463092,
0.020194571,
-0.017440766,
-0.010993707,
0.005855422,
0.11147174,
0.00642196,
-0.040905483,
-0.026663147,
0.023421688,
-0.025142817,
-0.0053498405,
-0.038438533,
0.04721629,
-0.047474455,
-0.07561491,
0.0022804951,
-0.033475947,
0.011603273,
0.0018295953,
-0.0003928565,
-0.02857073,
0.025859954,
0.016479803,
0.025558755,
0.013267031,
-0.021786615,
-0.026433662,
0.07102523,
0.030148432,
0.039930176,
0.10171869,
0.042081587,
-0.012829578,
-0.016938772,
-0.0037111829,
0.011502874,
0.012047898,
-0.014844731,
-0.024196196,
-0.0011447297,
-0.017914077,
-0.084105805,
-0.030693455,
0.005808808,
0.02819782,
-0.014543534,
-0.015361071,
0.028140448,
-0.04664258,
-0.044462483,
-0.008584128,
0.026964344,
-0.019491779,
-0.036918204,
0.025874296,
-0.05909207,
0.24554764,
0.02773885,
-0.00006112471,
0.021083822,
0.0072215674,
0.064198084,
0.041020226,
-0.013353087,
-0.00545024,
-0.0030675526,
-0.016121235,
-0.03637318,
-0.004980515,
0.024784248,
-0.035914212,
0.040102288,
-0.048306335,
0.013804884,
-0.032959606,
-0.002133482,
-0.033447262,
0.056940664,
0.021872673,
0.08100777,
0.05593667,
-0.033160407,
-0.0022302954,
-0.05777254,
-0.016895743,
-0.028298218,
0.04242581,
-0.0119403275,
0.030951625,
-0.01830133,
-0.016953114,
0.021026451,
0.00812516,
-0.06884513,
0.0012738142,
0.044204313,
-0.03224247,
-0.05243704,
0.04796211,
0.016608888,
0.015576212,
-0.004460591,
-0.034565993,
0.04687206,
0.026347606,
-0.027423311,
0.03465205,
-0.029976318,
0.023364317,
-0.067124,
-0.012341924,
-0.010670995,
-0.06482916,
-0.057543058,
-0.0438314,
0.00020438399,
0.013460658,
0.023407346,
0.013446315,
0.018932411,
0.021973072,
0.039241727,
-0.016178606,
0.06643555,
-0.026878288,
0.008906839,
0.012040727,
-0.005296055,
-0.031123737,
-0.042913467,
-0.009236722,
0.028499017,
-0.010125971,
0.051490422,
-0.0018134597,
-0.050601173,
0.03737717,
-0.030205801,
-0.0033490288,
-0.044864077,
0.01662323,
0.08823651,
-0.040675998,
-0.0034637707,
-0.0043852916,
0.023177862,
0.020266285,
0.016322033,
0.042913467,
0.0035569984,
-0.006615587
] | Get started by loading a pretrained tokenizer with the [AutoTokenizer.from_pretrained] method. This downloads the vocab a model was pretrained with:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-cased")
Then pass your text to the tokenizer: |
[
0.013469498,
-0.019460663,
-0.004574814,
-0.01667045,
0.015084138,
0.0032629187,
-0.0076766224,
-0.024941942,
-0.0063842023,
0.03631524,
-0.033057634,
-0.016996212,
0.009220445,
-0.031244703,
-0.0007896157,
0.00016310166,
-0.035295468,
-0.045946427,
-0.04056429,
-0.021046976,
-0.018185947,
0.03447398,
-0.07308371,
-0.022576636,
-0.026216658,
0.0059380517,
0.015834805,
0.0142839,
0.0827149,
0.01778937,
-0.015197447,
0.0154240625,
0.006826812,
-0.016514653,
-0.009815313,
-0.046173044,
0.008547679,
-0.025437664,
-0.033114288,
-0.025777588,
0.015183283,
0.023908004,
0.028553637,
-0.03135801,
-0.061752904,
0.015594024,
-0.01662796,
-0.03688178,
-0.032576073,
0.0036223177,
0.005686649,
-0.014156428,
0.041980643,
0.002917683,
-0.031641282,
-0.044756692,
-0.019404009,
0.034530636,
-0.03458729,
-0.017152011,
-0.000102464146,
0.05858028,
-0.0019545644,
-0.03821315,
0.0011994722,
0.015169119,
-0.02723643,
-0.021981768,
-0.028907724,
-0.03251942,
-0.07727611,
0.027392229,
-0.035153832,
-0.039601173,
-0.038156494,
0.01464507,
0.029885007,
-0.022548309,
-0.011904431,
0.01610391,
0.012810895,
0.048835784,
0.0046385494,
0.021797642,
-0.011054619,
-0.019588135,
0.01985724,
0.021556862,
0.048920766,
-0.050592057,
-0.029261813,
0.013844831,
-0.039884444,
0.01000652,
0.051583502,
0.035238814,
-0.027774643,
0.064868875,
-0.008703477,
0.037589956,
0.029120177,
0.07948562,
-0.010679287,
0.042235587,
0.0056335363,
-0.005860152,
0.046088062,
-0.008066119,
-0.044076845,
0.0075845597,
0.025253538,
-0.0037179214,
0.014758377,
-0.0263158,
-0.016613798,
0.021684334,
0.005640618,
-0.008165264,
-0.03212284,
-0.022704106,
-0.010594306,
0.014333473,
-0.0021563943,
-0.046059735,
0.005605209,
-0.05370803,
-0.026160004,
0.031301357,
-0.016174728,
-0.023497263,
0.021783479,
0.007577478,
0.038269803,
0.026075022,
0.0050209644,
-0.008696395,
-0.012364744,
0.020239657,
0.00798822,
-0.012485134,
0.0035922201,
-0.0062284037,
-0.0060619824,
0.06469891,
-0.0027247053,
-0.011047537,
0.0059947055,
-0.040450986,
-0.0075916415,
0.05750385,
-0.07710615,
0.011444116,
0.016840413,
-0.01444678,
-0.02828453,
-0.018086802,
0.0039834874,
0.0074995784,
0.0083281435,
-0.0049536875,
-0.033284247,
-0.024729488,
-0.023922168,
0.030819798,
0.014064365,
0.0029088308,
-0.046541292,
0.01852587,
0.00589202,
-0.04419015,
0.014220164,
0.0051236497,
0.010105665,
0.013774013,
0.030876452,
0.023638899,
0.04022437,
-0.017038703,
-0.008611415,
-0.026131677,
0.002034234,
-0.024729488,
0.009227526,
0.0027937524,
-0.05322647,
0.0067807804,
0.026556581,
-0.0044367197,
-0.004146368,
0.008823867,
0.023695553,
0.018823305,
-0.009029238,
0.01028979,
-0.031301357,
0.016160564,
-0.01521161,
0.0033195727,
0.004893493,
-0.006504592,
-0.026344128,
0.025083575,
-0.005371511,
-0.016599635,
-0.029120177,
0.015919786,
0.007053428,
0.03498387,
-0.025607627,
0.026386619,
0.05600252,
0.036343567,
-0.03671182,
-0.002163476,
-0.004468587,
-0.041697375,
0.004362361,
0.022165893,
-0.035408776,
-0.024276257,
0.01872416,
0.018908286,
0.04580479,
0.00038064434,
0.030479874,
0.011911512,
-0.0039091287,
0.05960005,
0.04189566,
0.049260687,
0.03546543,
0.04540821,
-0.00009090096,
0.03450231,
0.021500207,
0.027902115,
0.047759354,
0.04620137,
-0.037986536,
0.0154240625,
0.0066603906,
0.024304584,
-0.006876384,
0.0070180194,
-0.0155515345,
-0.019729769,
0.0052511212,
-0.017137848,
-0.00069755287,
0.018030148,
-0.08600083,
0.030876452,
0.02424793,
0.0048368387,
-0.037986536,
-0.047617722,
-0.004213644,
0.023823025,
-0.0011118356,
-0.021698497,
-0.00025073838,
0.062885985,
0.054416206,
-0.012138128,
0.010261463,
0.0833381,
0.013327863,
0.012945448,
-0.04971392,
-0.027618844,
-0.037136722,
-0.04846753,
-0.029346792,
0.019234046,
-0.01577815,
-0.006146963,
-0.06271602,
-0.054614495,
-0.014984993,
-0.046031408,
-0.0072800443,
-0.0054564923,
-0.032661054,
0.019687278,
0.023440609,
-0.0024839255,
-0.01662796,
0.0054883603,
0.015324918,
0.035777025,
-0.015707333,
-0.015806478,
-0.030678162,
-0.029743372,
-0.012973775,
-0.003195642,
0.01811513,
0.0051909266,
-0.02909185,
-0.0063417116,
-0.014290982,
-0.006005328,
0.013065838,
0.04744776,
-0.03079147,
0.0234831,
0.012690505,
0.0012304549,
0.03708007,
0.04809928,
-0.04685289,
0.0024467465,
0.008845112,
0.02005553,
-0.018242601,
0.008016546,
0.03458729,
-0.009864884,
-0.03991277,
-0.009185037,
-0.049458977,
-0.026287474,
-0.01997055,
-0.0385814,
-0.019588135,
0.069514506,
-0.04076258,
-0.07523657,
-0.015990604,
-0.039601173,
-0.0029513214,
-0.020508762,
-0.00915671,
0.067305,
0.015112465,
0.0084556155,
-0.044076845,
0.045974754,
-0.0033124909,
0.037419993,
0.016415508,
-0.047702704,
0.058240354,
0.007170277,
0.00078518956,
-0.026938995,
0.024021313,
-0.017987657,
-0.01287463,
-0.017279482,
0.052121717,
0.036768474,
0.015154956,
0.019021595,
-0.0015287739,
-0.002227212,
-0.05512438,
0.03385079,
0.03022493,
0.0013924501,
0.017180339,
0.0007245521,
0.010445588,
-0.018228438,
-0.030734817,
-0.011734468,
-0.0055308505,
-0.0060301144,
0.03849642,
-0.030451547,
0.043396994,
0.038723037,
-0.00601241,
0.011762795,
-0.042717148,
-0.030111622,
0.029771699,
0.03249109,
0.042915434,
-0.045379885,
-0.008979665,
-0.017449444,
0.0043163295,
0.029318465,
0.023780534,
0.066341884,
0.0070321825,
0.0009303656,
-0.010339363,
0.0028663403,
0.042348895,
0.016911231,
-0.01997055,
0.026754871,
-0.028482819,
-0.06441564,
0.05200841,
0.04107418,
0.04809928,
-0.0063771205,
0.074953295,
0.014673396,
0.016769595,
0.055662595,
0.033284247,
0.0064939694,
-0.043595284,
0.01981475,
-0.004050764,
0.04059262,
-0.048042625,
-0.052065063,
-0.0077616037,
0.008243163,
-0.04402019,
0.03804319,
-0.005959297,
0.0052440395,
-0.052461643,
0.017194502,
-0.04656962,
-0.044813346,
-0.044558402,
-0.0023316678,
0.031839572,
-0.01795933,
0.012817977,
-0.036910105,
0.047617722,
0.017137848,
-0.035323795,
-0.038553074,
-0.010133991,
0.0028751926,
-0.03249109,
0.036910105,
0.04790099,
-0.03251942,
-0.00282385,
-0.061073054,
-0.04419015,
-0.012293926,
-0.006717045,
0.00032730986,
0.015353245,
-0.010587224,
0.024998596,
0.018865796,
0.03555041,
0.0050847,
-0.0019722688,
-0.024361238,
0.0101694,
-0.05829701,
0.031103069,
-0.015990604,
-0.02057958,
-0.036286913,
0.018653343,
0.018455053,
-0.0112033365,
0.03424737,
0.050082173,
-0.020126348,
-0.031103069,
0.013943976,
0.013342027,
-0.0059486744,
0.03013995,
0.014900013,
0.0118761035,
-0.0097657405,
0.0318679,
0.010990884,
0.00034390774,
-0.0347006,
0.004018896,
-0.02271827,
-0.005895561,
-0.012633851,
0.009248772,
-0.0025264162,
0.0028663403,
-0.020452108,
0.0011127208,
-0.0707609,
-0.026485763,
-0.01844089,
-0.0025281867,
0.028624455,
0.031839572,
-0.015197447,
-0.01872416,
-0.066851765,
-0.0018501085,
-0.006862221,
0.0035497297,
-0.021174448,
0.035295468,
0.00072366686,
0.042745475,
-0.020437945,
-0.017166175,
0.024672834,
-0.0050669955,
-0.01872416,
-0.044926655,
0.002473303,
0.021613516,
-0.026655726,
-0.0058247433,
-0.007287126,
-0.019899732,
0.030508202,
0.013943976,
-0.009857803,
-0.01492834,
-0.013278291,
-0.052348334,
0.03860973,
-0.009277099,
-0.05282989,
-0.006394825,
0.037873227,
-0.012244354,
0.010558897,
0.037278358,
-0.0034116355,
0.0010773119,
-0.019843077,
0.04260384,
-0.03926125,
0.00093390647,
-0.024602016,
-0.045096617,
0.005318398,
0.024927778,
0.0087742945,
-0.053679705,
-0.021939278,
-0.042037297,
0.0016482784,
-0.00988613,
-0.0029265352,
0.011373298,
-0.002308652,
-0.0336525,
0.049572285,
-0.020183003,
0.007797012,
-0.016273873,
-0.011975247,
0.049402323,
0.06226279,
-0.04240555,
0.0028681108,
-0.00629568,
-0.025961714,
0.027123122,
0.02723643,
-0.009857803,
0.045889772,
-0.06209283,
0.010488079,
-0.027576353,
-0.033170942,
-0.04818426,
0.022491654,
0.03611695,
-0.050082173,
-0.03441733,
-0.008498106,
0.068721354,
0.032349456,
0.041300796,
-0.03212284,
0.0022820956,
-0.027023977,
-0.039516192,
0.030678162,
-0.019956386,
-0.025508482,
-0.018979104,
0.003958701,
0.05373636,
-0.06435899,
0.031726263,
0.06401907,
0.0058212024,
0.010233136,
-0.033765808,
-0.0016119845,
-0.021896787,
-0.035748698,
-0.014234328,
-0.0074500064,
-0.06775823,
0.010049011,
-0.06719169,
-0.06815481,
-0.035295468,
0.032066185,
0.06968447,
-0.021698497,
0.02409213,
0.013462416,
0.002227212,
-0.052433316,
0.005895561,
0.019460663,
0.017180339,
0.005927429,
0.044926655,
0.011656568,
0.022548309,
-0.041045852,
-0.020607907,
0.009163791,
0.053254798,
0.0044190153,
-0.04563483,
0.009864884,
0.0057078945,
-0.023171503,
-0.028242039,
0.05569092,
-0.021089466,
0.0014676937,
-0.013547397,
0.0074216793,
0.038723037,
-0.036938433,
-0.006681636,
0.027123122,
-0.02324232,
-0.017647734,
0.027548026,
0.0137952585,
0.031726263,
0.034955543,
0.039147943,
-0.051753465,
0.029913332,
-0.041952316,
-0.023355627,
-0.025834242,
-0.031074742,
0.03659851,
-0.000107166874,
0.030593181,
0.038836345,
-0.0031779376,
0.03447398,
-0.013469498,
-0.0018049623,
0.032774363,
-0.04107418,
-0.070987515,
-0.02666989,
0.024318747,
-0.016174728,
-0.007945729,
-0.027250594,
0.025593463,
0.022279201,
0.053821336,
-0.007889075,
-0.09143962,
0.026202494,
-0.0019085329,
-0.026046695,
0.01081384,
-0.027633008,
-0.032434437,
0.0071596545,
-0.03821315,
-0.0075916415,
-0.021117793,
-0.0069188746,
-0.040932544,
0.012038983,
-0.033142615,
0.014135183,
-0.024177112,
-0.032916,
-0.017548589,
-0.008427288,
-0.0015305443,
0.025366846,
-0.014326391,
-0.01295253,
-0.0053325617,
0.012768405,
-0.017534425,
0.012846303,
-0.029233485,
-0.028242039,
0.005498983,
-0.011670732,
0.004103877,
0.02186846,
0.044813346,
-0.04427513,
0.0004895263,
0.04115916,
-0.0021015108,
-0.042518858,
0.031216376,
0.06362249,
-0.03591866,
0.03841144,
-0.04744776,
0.011727386,
-0.03447398,
-0.04515327,
0.002251998,
-0.0125134615,
0.009631187,
0.03393577,
0.012031902,
0.04438844,
0.016089747,
0.019276537,
0.016401345,
0.033907443,
0.0033602929,
-0.005831825,
0.038751364,
0.0058495295,
-0.029035196,
-0.018015984,
0.023709716,
-0.003700217,
-0.010976721,
0.0047553987,
0.03319927,
-0.02817122,
-0.010325199,
0.021401064,
0.0077616037,
0.03809984,
0.03232113,
-0.028256202,
0.02021133,
0.0143051455,
-0.02723643,
0.011642405,
-0.020367127,
-0.05846697,
0.042632166,
-0.005120109,
-0.0021617056,
-0.02812873,
-0.036173604,
-0.008568924,
-0.008285654,
0.03138634,
-0.0074995784,
0.02574926,
0.013837749,
-0.0058459886,
-0.009673677,
-0.050308786,
-0.006614359,
0.01444678,
-0.029545082,
-0.014956666,
0.00843437,
0.047617722,
0.02699565,
-0.0125134615,
-0.06758827,
-0.027392229,
0.0054777376,
0.032859344,
0.00061965355,
-0.0001783717,
-0.031584628,
0.022109238,
-0.034558963,
0.010027765,
-0.033709154,
0.043566957,
0.01662796,
0.004326952,
0.033709154,
0.032434437,
0.012534707,
-0.0005081159,
-0.038439766,
0.057107273,
0.0066356044,
-0.0063842023,
0.0014951355,
0.039062962,
0.023185667,
0.0396295,
0.002037775,
0.010792594,
0.014347636,
0.020098021,
0.006472724,
-0.020466272,
0.01375985,
0.02651409,
0.016783759,
-0.02247749,
-0.0012995021,
-0.03716505,
0.0042915437,
-0.0050563733,
0.03135801,
0.035012197,
-0.0125134615,
-0.02985668,
-0.039657827,
-0.0049855555,
0.023143176,
-0.03308596,
-0.018455053,
0.06129967,
0.017874349,
0.018143456,
0.06254606,
0.0042065624,
0.039572846,
0.03232113,
0.021967605,
0.022364182,
0.021542698,
0.0024361238,
-0.0031779376,
0.025862569,
-0.06889132,
-0.0020607908,
-0.010594306,
0.010133991,
-0.027717989,
0.05654073,
-0.0022573094,
-0.021585189,
0.022321692,
-0.010480997,
-0.038524747,
-0.033680826,
0.026698217,
-0.04931734,
0.038071513,
0.042575512,
-0.04107418,
-0.026627399,
0.020707052,
-0.008533515,
0.04458673,
0.006292139,
0.06741831,
0.012640933,
0.07144074,
0.039487865,
-0.012123965,
0.023695553,
-0.008491024,
0.02784546,
-0.058127046,
-0.029488428,
0.00024542707,
0.018894123,
-0.0275197,
-0.019304864,
0.009652432,
0.042717148,
-0.040734254,
-0.021896787,
0.004245512,
0.021131957,
0.032009535,
-0.0057433033,
0.044076845,
-0.008306899,
-0.0006448823,
-0.0263158,
0.030678162,
-0.027491374,
-0.020692889,
-0.057617158,
0.04713616,
-0.008894685,
-0.060676478,
0.008413125,
-0.02804375,
-0.011344971,
-0.014659232,
-0.022675779,
-0.03795821,
0.03954452,
0.004475669,
0.060336553,
0.024077967,
-0.036825128,
-0.024134621,
0.07886242,
0.01295253,
-0.017010376,
0.09500883,
0.037589956,
-0.021160284,
-0.0033638335,
0.0118761035,
-0.00011341873,
-0.01610391,
-0.026981486,
0.0024998595,
-0.005814121,
-0.032547746,
-0.08685064,
-0.0025157935,
0.099881075,
0.03280269,
-0.013646542,
-0.007839503,
0.021202775,
-0.066851765,
0.0015871983,
-0.017208666,
0.019800587,
0.010176482,
-0.006709963,
0.023851352,
-0.060109936,
0.23545419,
0.0466546,
0.03373748,
0.03631524,
0.031046415,
0.04458673,
-0.0019545644,
-0.008937174,
0.024686998,
-0.06413237,
0.04334034,
-0.01569317,
-0.021287756,
0.00004614206,
-0.044445094,
0.06084644,
-0.028666945,
0.04059262,
-0.009376244,
0.010728858,
-0.018752487,
0.047391105,
0.0047872663,
0.04611639,
-0.011337889,
-0.0031442991,
0.011026293,
-0.026896505,
-0.003239903,
-0.055181034,
0.011691977,
-0.05475613,
0.008788458,
-0.006072605,
-0.0036825126,
0.02852531,
0.005357348,
-0.060676478,
-0.008441452,
0.011479525,
-0.030536527,
-0.023298973,
0.039657827,
0.015197447,
-0.037278358,
0.020792034,
-0.0016845724,
0.0072163083,
0.05455784,
-0.06345253,
0.036655165,
-0.02461618,
0.008632659,
-0.055237688,
-0.039799463,
-0.039204597,
-0.032944325,
-0.049062397,
-0.0035320253,
0.028270366,
0.0010967868,
0.0038029025,
-0.009220445,
0.006511674,
-0.025026923,
0.014319309,
0.005346725,
0.047277797,
-0.051781792,
-0.030309912,
0.041414104,
-0.0032009534,
-0.009220445,
-0.012888794,
-0.023539754,
0.035352122,
0.013490743,
0.049289014,
0.01166365,
-0.048354223,
0.017973494,
0.010431425,
-0.02828453,
-0.0132499635,
0.011245827,
0.06345253,
-0.02130192,
0.025352683,
-0.01706703,
0.011649487,
0.026953159,
0.0013712049,
0.029148504,
-0.012216028,
0.007910321
] | Before you begin, install 🤗 Datasets so you can load some datasets to experiment with:
pip install datasets
Natural Language Processing
The main tool for preprocessing textual data is a tokenizer. A tokenizer splits text into tokens according to a set of rules. The tokens are converted into numbers and then tensors, which become the model inputs. Any additional inputs required by the model are added by the tokenizer. |
[
0.009508875,
0.00023022221,
0.012187825,
0.008811232,
-0.010129777,
-0.052797627,
0.027794098,
-0.0011929696,
-0.027417373,
0.056732334,
-0.0047509493,
0.026691822,
-0.0019534004,
-0.017678276,
-0.022129238,
-0.047969937,
-0.025101198,
-0.050007053,
-0.026147662,
-0.011818074,
0.004492821,
0.019492147,
-0.07099216,
-0.032203205,
-0.022087378,
0.03834246,
-0.009571663,
0.004245158,
0.044314288,
0.029607972,
0.013115689,
0.032147393,
0.004939313,
-0.033542678,
-0.023998922,
-0.029189385,
0.02437565,
-0.042807378,
-0.031226503,
-0.011036713,
0.009648403,
0.0068787606,
0.0047090906,
-0.031142786,
-0.04769088,
-0.021431595,
-0.018934032,
0.007436875,
-0.00955771,
-0.043616645,
-0.016506234,
0.005085818,
0.07300137,
0.029859122,
-0.032510165,
-0.0088600665,
-0.0028882422,
0.004210276,
-0.024515176,
-0.0028708011,
0.015152807,
0.024082638,
-0.023510572,
-0.031812523,
-0.013638922,
0.011378558,
0.0014231919,
0.011308794,
-0.031784616,
-0.0153341945,
-0.027584806,
0.03131022,
-0.0061008884,
-0.009787932,
-0.05544867,
-0.014183084,
0.0110227605,
-0.011504134,
-0.04213764,
0.0648529,
-0.024794234,
0.017678276,
-0.018027097,
0.002886498,
0.009662356,
-0.059662435,
0.029970746,
-0.0038684306,
0.016101602,
-0.04774669,
0.006659003,
0.03164509,
-0.020217696,
0.0124808345,
0.04526308,
0.0507047,
-0.0016891683,
0.0507326,
-0.014127272,
-0.010897185,
0.041188847,
0.043225963,
-0.04135628,
0.038788956,
0.019324712,
0.018710786,
0.05048145,
0.012201777,
-0.053634796,
0.013757521,
-0.019534005,
-0.03398917,
0.0072833933,
-0.013436605,
-0.03652859,
0.033933356,
0.015417911,
0.01545977,
-0.03150556,
-0.00094879454,
0.018501494,
-0.024487272,
-0.012529669,
-0.0399889,
-0.02501748,
-0.064685464,
0.019631676,
0.033486865,
-0.0473002,
0.00906936,
0.041663244,
0.009976296,
0.03013818,
0.003207414,
-0.0016481817,
0.032231107,
-0.008797279,
-0.027654571,
0.036444873,
-0.04130047,
0.00379169,
-0.024543082,
-0.020636281,
0.08008942,
0.027682476,
-0.028854517,
0.014552834,
0.072443254,
-0.024445413,
0.02736156,
-0.071159594,
-0.017524794,
0.012578504,
0.031533465,
-0.032147393,
-0.0031585789,
0.012878491,
-0.017887568,
-0.025715124,
0.013541251,
0.036975082,
0.022017615,
0.0067985314,
0.044091042,
-0.010499528,
0.044593345,
-0.03627744,
-0.052379042,
0.01131577,
-0.045374703,
0.035858855,
-0.012487811,
0.03136603,
0.026942974,
0.030835822,
-0.0043498045,
0.04428638,
0.0071996762,
0.015934167,
0.046993237,
-0.009111218,
0.019282853,
-0.013415676,
0.039877277,
0.011106477,
0.01270408,
0.014887703,
-0.034910057,
-0.029133573,
-0.002103394,
0.05865783,
0.046881612,
-0.0012461649,
0.0089368075,
0.00699736,
0.004489333,
-0.025673265,
0.010834397,
-0.009669333,
-0.072889745,
-0.026398813,
0.029301008,
-0.008190329,
0.04163534,
-0.010555339,
-0.011880862,
0.025491877,
0.06368086,
-0.057709035,
0.0009365858,
0.005134653,
0.019101467,
-0.016576,
0.02282688,
-0.00029628028,
-0.015278383,
-0.038398273,
0.046407215,
-0.012494787,
0.004810249,
-0.033738017,
0.018250342,
0.017357359,
0.036110006,
-0.047439728,
-0.06948525,
0.010959973,
0.04618397,
0.01858521,
0.029859122,
0.02585465,
0.03502168,
0.015278383,
0.05480684,
0.0028551042,
0.0497559,
0.054555688,
0.03691927,
-0.00037999745,
-0.008148471,
-0.013492417,
0.02955216,
0.042053923,
0.016338801,
-0.013234288,
0.035440266,
-0.0025132592,
0.019059608,
-0.041384187,
0.029580066,
-0.020022355,
0.061560024,
0.035049587,
0.006299717,
-0.038007595,
-0.043142248,
0.027389467,
0.07082472,
-0.028142922,
-0.028561506,
0.02511515,
0.024403553,
0.03814712,
-0.0004486717,
0.040351674,
-0.0058706664,
0.026412766,
0.020608377,
-0.023691958,
-0.037393667,
-0.01663181,
-0.050258204,
-0.057541598,
0.0011301817,
-0.03541236,
-0.045039836,
-0.011615757,
-0.052490663,
-0.017594557,
-0.04559795,
-0.008741467,
-0.029440537,
-0.024026826,
0.060778663,
0.03156137,
0.0068857367,
-0.044091042,
0.0021749022,
-0.028142922,
0.060778663,
-0.040212147,
0.029384725,
-0.029384725,
-0.008315905,
0.013687757,
0.0011310538,
0.009194936,
-0.010478599,
-0.0216967,
0.0053892927,
-0.024626799,
0.019422382,
-0.008999595,
-0.0071996762,
-0.02784991,
0.022324577,
0.058992695,
-0.04350502,
0.036779743,
0.035719324,
-0.020259554,
0.027249938,
-0.007632215,
0.008315905,
-0.031617183,
0.029914934,
0.025715124,
0.014427259,
-0.002605697,
-0.023915203,
-0.028770799,
0.02058047,
-0.017413171,
-0.031338125,
-0.0080926595,
0.023622194,
0.0147063155,
-0.054695215,
0.022073425,
-0.036110006,
-0.022840833,
-0.005117212,
-0.0051276763,
0.042556226,
0.018250342,
0.0015339426,
-0.009194936,
-0.06150421,
0.008197306,
0.03633325,
0.02136183,
-0.049979147,
0.015864404,
0.019924685,
-0.0027923163,
0.014748174,
0.024250073,
-0.018487541,
-0.009767002,
-0.011783191,
0.019464241,
0.02531049,
0.039877277,
0.01614346,
0.048639674,
0.039821465,
-0.04741182,
0.021250207,
0.045430515,
0.02263154,
0.016771339,
0.00846241,
0.0058392724,
-0.0070775887,
-0.0027522019,
-0.037923876,
-0.003535306,
0.026622059,
0.02750109,
-0.029468443,
0.025924416,
0.024947716,
-0.018780552,
0.0060694944,
-0.020915339,
-0.010353023,
0.05759741,
-0.023817534,
0.06390411,
-0.029607972,
-0.0024347743,
-0.013318006,
0.011525063,
0.026859257,
0.029607972,
0.063178554,
0.009278652,
-0.004747461,
-0.013931932,
-0.012292471,
0.014029602,
0.00024548316,
-0.015306288,
-0.007827555,
-0.057820655,
-0.04403523,
0.011406464,
0.021501359,
0.056704428,
0.00987165,
0.03351477,
-0.010513481,
0.012543622,
0.031393938,
0.0044160807,
-0.0011764006,
-0.025924416,
0.07171771,
0.013122666,
0.0056474204,
-0.043365493,
0.018878222,
-0.03516121,
0.021808323,
0.036975082,
0.0031672996,
-0.009055407,
0.018780552,
0.033124093,
0.010283259,
-0.035775136,
-0.019617723,
-0.012145965,
0.012738962,
0.05271391,
-0.035858855,
0.0031795083,
0.0142668,
-0.0011136127,
0.036612306,
-0.0055497503,
-0.033738017,
-0.008818208,
-0.026984833,
-0.06742022,
-0.005326505,
0.052490663,
0.005253252,
0.021808323,
-0.030110274,
0.025254678,
-0.027961534,
-0.014085413,
-0.008915878,
0.005075353,
-0.025143055,
-0.026133709,
0.027194126,
-0.02292455,
-0.054695215,
0.035775136,
-0.052686002,
0.003941683,
-0.010018154,
0.022324577,
-0.02136183,
-0.022561776,
0.024947716,
0.03457519,
0.0062613464,
-0.036305346,
0.005357899,
0.0018260807,
-0.017664323,
-0.062285572,
0.013938908,
0.014845844,
-0.02224086,
0.01702249,
-0.026608106,
0.0038544778,
0.0029196362,
-0.007206653,
0.01999445,
-0.026203474,
-0.028770799,
0.014762127,
-0.023022221,
-0.0057241614,
0.025589548,
-0.008887973,
0.03993309,
0.010220471,
-0.034212414,
-0.04071445,
-0.051123284,
0.019366572,
-0.017971285,
-0.028714988,
0.006446222,
0.008964714,
-0.022743164,
-0.0031202086,
-0.061615836,
0.0028394072,
-0.00635204,
-0.032007862,
-0.03384964,
0.057011392,
0.049225695,
0.027319701,
-0.010471622,
-0.047774598,
0.027626665,
-0.020245602,
0.016841104,
-0.026370907,
-0.028659176,
-0.0019534004,
-0.010862302,
-0.007841508,
0.017971285,
-0.021403689,
-0.0030835823,
0.015669063,
0.001750212,
0.017106207,
-0.002886498,
-0.04370036,
0.0643506,
-0.020008402,
-0.06976431,
-0.009836767,
0.026468577,
0.016785292,
0.02028746,
0.019129373,
-0.037589006,
-0.034212414,
-0.02955216,
0.019952592,
-0.020650234,
-0.007674074,
-0.05257438,
-0.025296537,
0.00009685248,
0.031338125,
-0.02955216,
-0.11541807,
0.0061043766,
-0.03940288,
0.024947716,
0.0015801615,
0.008427528,
-0.011797144,
-0.022464106,
-0.0033783366,
0.024836093,
0.018110814,
0.014929561,
-0.0014537137,
-0.025715124,
0.0044125924,
0.06379248,
-0.06591331,
0.012292471,
-0.0059264777,
-0.002736505,
-0.022394342,
0.00214002,
-0.016296942,
0.025561642,
-0.036500685,
0.0037812253,
-0.05955081,
-0.013352888,
-0.043616645,
0.010443716,
0.018710786,
-0.031617183,
-0.049337316,
-0.045877006,
0.045877006,
0.03711461,
0.0414679,
-0.014162154,
-0.021054868,
-0.07830346,
-0.05871364,
0.01516676,
-0.013904026,
0.00006529503,
0.008155447,
0.0056264913,
0.07969874,
-0.03306828,
0.010485576,
0.06937362,
-0.009097265,
0.021431595,
-0.041579526,
0.034017075,
0.0010316396,
-0.038649425,
0.032203205,
-0.00020002734,
-0.047439728,
0.0065508685,
-0.008455434,
-0.008274047,
-0.041858584,
0.019492147,
0.07813602,
-0.056202125,
0.0507326,
-0.020357225,
-0.049532656,
-0.0468258,
0.03566351,
0.0113297235,
0.027640618,
0.045067742,
0.0063380874,
0.022757117,
-0.005877643,
-0.0056788144,
-0.019338666,
-0.009285629,
0.05062098,
0.0115599455,
0.009997225,
0.033570584,
0.023482665,
-0.05251857,
-0.041719053,
0.019687487,
-0.0029301008,
-0.041970205,
-0.03959822,
0.020259554,
-0.0062962286,
-0.042053923,
0.008225212,
0.03281713,
-0.025268631,
0.015501629,
-0.009125171,
0.008908901,
-0.026663918,
0.059606623,
0.032928754,
-0.0013917979,
0.015710922,
-0.0794755,
0.005186976,
-0.017692229,
0.018557305,
0.05569982,
0.03131022,
0.03931916,
0.034268226,
0.005574168,
0.08812627,
-0.05569982,
-0.03287294,
0.017929427,
-0.044398002,
-0.022952456,
-0.008790302,
0.008441481,
0.0035056563,
0.007014801,
-0.010025131,
-0.01965958,
-0.015138854,
0.0502303,
-0.0025150033,
-0.06116934,
0.0531604,
-0.025240725,
-0.048639674,
-0.008908901,
-0.044509627,
-0.0297475,
0.014664457,
-0.020343272,
-0.039626125,
-0.03834246,
-0.00975305,
-0.057764843,
-0.03058467,
-0.031282313,
0.009006572,
-0.049588468,
-0.0014694107,
-0.018613117,
-0.01868288,
-0.0103948815,
-0.028115015,
-0.012264565,
-0.018501494,
-0.042193454,
0.034631003,
-0.0010229191,
0.006753185,
-0.0068962015,
-0.035775136,
-0.005996242,
-0.0044858446,
-0.0059857774,
0.0036347203,
0.033431057,
-0.023524525,
0.0036033264,
-0.020273507,
-0.005909037,
-0.020524658,
0.009648403,
0.035189115,
-0.024696564,
0.013652874,
-0.029719595,
0.0041405116,
-0.06211814,
-0.02394311,
-0.037477385,
-0.007471757,
0.019324712,
0.013848214,
0.032398544,
0.030780012,
0.016701575,
0.019394478,
-0.0031620672,
0.018836362,
0.02745923,
-0.000078212324,
-0.0011764006,
-0.012920349,
0.032984562,
-0.0011223332,
0.010715798,
0.007339205,
-0.028798705,
0.024654705,
-0.01350637,
-0.032845035,
-0.05849039,
0.030054463,
-0.0027626664,
0.020789763,
0.013722639,
-0.0443701,
-0.0043916632,
0.020106073,
-0.01598998,
0.019882826,
-0.041942302,
-0.030110274,
0.013945885,
-0.031868335,
0.0106251035,
-0.03273341,
-0.027961534,
-0.011532039,
0.0040847003,
0.020594424,
0.014071461,
0.06496452,
-0.00086943764,
0.034463566,
-0.03443566,
0.01799919,
-0.0059718248,
0.021236254,
-0.021250207,
-0.025045386,
0.018278249,
0.033235714,
-0.002446983,
-0.010255353,
-0.04788622,
0.014252848,
0.009480969,
0.02482214,
-0.012690127,
0.019520052,
-0.05982987,
0.0226734,
-0.042305075,
-0.000019089803,
-0.01061115,
0.025952322,
0.0035387943,
0.033877548,
0.0018557305,
0.025715124,
0.04724439,
-0.015431864,
0.021250207,
0.031086974,
0.02609185,
-0.017817803,
-0.00048050165,
-0.016827151,
0.016869009,
0.049253598,
0.040212147,
-0.022589682,
0.033375245,
0.021822276,
-0.034937963,
-0.007422922,
0.022199001,
-0.02282688,
-0.00560905,
0.0040951646,
-0.025380254,
-0.020203743,
-0.021278113,
0.0000074942127,
0.009878626,
-0.0011153568,
-0.015696969,
-0.013666827,
-0.061615836,
0.006310181,
0.0038788954,
-0.017789898,
-0.009348417,
-0.031393938,
0.03111488,
0.04866758,
0.012166895,
-0.020706046,
0.04169115,
0.016171366,
0.0057416023,
0.033738017,
-0.027626665,
0.036305346,
0.0071194475,
0.024473319,
-0.03262179,
-0.019185184,
0.019157277,
-0.009487946,
-0.0697085,
0.030556766,
-0.012927325,
-0.011832026,
0.027738288,
-0.048807107,
-0.009585615,
-0.026496483,
0.034351945,
-0.009571663,
-0.0075415215,
0.019966545,
-0.032119486,
-0.03175671,
0.021515312,
-0.0321753,
0.025589548,
-0.0030696294,
0.06887132,
0.045877006,
0.073559485,
0.038788956,
-0.004569562,
0.02916148,
0.0050265184,
0.0041684173,
-0.023887299,
0.011573899,
-0.013318006,
0.0049811713,
-0.034882154,
-0.02067814,
-0.022031568,
0.035049587,
-0.032649696,
-0.025491877,
0.010401858,
-0.01272501,
-0.029189385,
0.006397387,
0.06892713,
-0.019840969,
0.014176107,
-0.017315501,
0.03717042,
-0.037589006,
-0.019087514,
-0.024222167,
0.023510572,
-0.006711326,
-0.08120565,
-0.0090135485,
-0.040798165,
-0.004112606,
-0.0234129,
0.002818478,
-0.0053718514,
0.026622059,
0.027054599,
-0.010708821,
0.018334059,
-0.0050334944,
-0.006857831,
0.072052576,
0.028170826,
-0.0039277305,
0.08265675,
0.0517093,
-0.028714988,
0.035970476,
0.00010017718,
0.03778435,
-0.0012984881,
0.041663244,
-0.016771339,
-0.00031045117,
-0.035914663,
-0.050202396,
-0.037672725,
0.047830407,
0.030612577,
-0.012731986,
-0.044398002,
-0.0021592053,
-0.04989543,
-0.027208079,
-0.039709844,
0.026691822,
0.014315636,
0.021110678,
0.008971689,
-0.053327836,
0.23038964,
0.05715092,
0.035607703,
0.010973926,
-0.00049837877,
0.048946638,
0.012585481,
-0.038314555,
-0.003320781,
-0.008504269,
0.0153621,
-0.010799514,
0.028324308,
0.040435392,
0.019757252,
0.033961263,
-0.048360616,
-0.0077089556,
-0.016227178,
-0.033933356,
-0.04526308,
0.042639945,
0.014720269,
0.026566248,
0.03750529,
-0.03404498,
0.04704905,
-0.01960377,
-0.039960995,
-0.030696295,
0.04180277,
0.0076043094,
0.012857562,
-0.026942974,
-0.010939043,
0.012822679,
-0.026510436,
-0.03876105,
-0.0013970302,
0.009460039,
0.008155447,
-0.027905723,
-0.0037289022,
-0.0074159456,
-0.028491743,
0.013534275,
-0.0019673535,
0.04545842,
0.034351945,
-0.059271753,
-0.015208619,
-0.006934572,
0.053578988,
-0.022212954,
-0.053244118,
0.02652439,
-0.010366975,
-0.015738828,
-0.03175671,
0.0399889,
-0.026649965,
0.041579526,
0.02165484,
-0.04325387,
-0.048053652,
0.054639403,
-0.0050439592,
0.052602287,
-0.031672996,
0.014817938,
-0.022073425,
0.012222706,
0.00052061613,
-0.037282046,
0.027752241,
0.04325387,
-0.008929831,
0.0351054,
0.05179302,
-0.03273341,
0.007911272,
-0.011525063,
-0.05081632,
-0.023887299,
-0.009160053,
0.07969874,
-0.038398273,
0.03058467,
0.01594812,
0.023719864,
0.014762127,
0.030780012,
0.008148471,
-0.026929023,
-0.0027260403
] | Then pass your text to the tokenizer:
encoded_input = tokenizer("Do not meddle in the affairs of wizards, for they are subtle and quick to anger.")
print(encoded_input)
{'input_ids': [101, 2079, 2025, 19960, 10362, 1999, 1996, 3821, 1997, 16657, 1010, 2005, 2027, 2024, 11259, 1998, 4248, 2000, 4963, 1012, 102],
'token_type_ids': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'attention_mask': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} |
[
0.030563097,
-0.0011147205,
-0.00519615,
-0.022153307,
0.025864339,
-0.015055782,
0.0047587277,
0.0020266043,
-0.013461309,
0.033074744,
0.013863455,
0.011528186,
0.032312784,
-0.048765495,
0.001670317,
0.028277215,
-0.006197987,
-0.019063132,
-0.05000721,
-0.01828706,
0.0030213865,
0.017722646,
-0.058924973,
-0.03428824,
-0.05150291,
-0.014166828,
0.030083343,
-0.002456971,
0.056893077,
0.027952675,
-0.03502198,
-0.00839568,
-0.003901522,
-0.015069893,
-0.017637983,
-0.020742267,
0.04083546,
-0.045125015,
-0.031607267,
-0.024199313,
0.012692292,
0.022181528,
0.03180481,
-0.016325718,
-0.065980166,
0.017976632,
0.011104874,
-0.032284565,
-0.0422465,
-0.0038168596,
-0.02191343,
0.013665909,
0.027966786,
0.015479094,
-0.008557949,
-0.030421993,
0.004861028,
0.004617624,
-0.0068082614,
-0.032820757,
-0.005270229,
0.026866175,
-0.026795624,
-0.027430592,
0.0044800476,
-0.010046595,
-0.044814587,
-0.03620725,
-0.036348354,
-0.022957599,
-0.06281944,
-0.016988905,
0.0062897047,
-0.01897847,
-0.019796873,
0.009439848,
0.029885799,
-0.009658559,
0.008106417,
0.0244533,
0.017750867,
0.028432429,
0.027289487,
-0.024749618,
-0.0036933937,
-0.029377826,
0.04018638,
-0.019458223,
-0.0052525913,
-0.043036677,
-0.039226875,
0.05522805,
-0.06558508,
0.0207846,
0.046959367,
0.062650114,
-0.009404573,
0.056385104,
0.013616523,
0.008967151,
0.029772915,
0.10927083,
-0.018371724,
0.042641588,
0.0017708535,
-0.003035497,
0.014858237,
-0.015182775,
-0.05813479,
-0.019274788,
0.023818333,
-0.004233116,
0.030252669,
-0.029970462,
-0.0029331965,
0.017680313,
-0.03104285,
0.016537372,
-0.06101331,
-0.04588698,
-0.013447198,
0.01571897,
-0.0010485781,
-0.046818264,
0.014660692,
-0.034147136,
-0.012247816,
0.048059978,
0.0030390245,
0.017242892,
0.023141034,
0.0006182113,
0.024622625,
0.04597164,
-0.03061954,
-0.011972663,
-0.026499305,
0.026202988,
0.0040108776,
-0.0154226525,
-0.014420815,
0.014900568,
-0.017285224,
0.052857507,
0.007922982,
-0.036630563,
0.029293163,
-0.084154345,
0.0039226874,
0.034824435,
-0.050571624,
-0.017299334,
-0.024707288,
-0.009863161,
-0.081501596,
0.0061697667,
-0.022491956,
0.030139785,
-0.010956715,
0.023818333,
-0.011429413,
-0.014209159,
-0.026047774,
0.036912773,
0.057457495,
0.059320066,
-0.033046525,
-0.006444919,
0.0060357177,
-0.044617042,
0.0119585525,
-0.00804292,
0.0051044323,
0.00029433385,
0.039085772,
0.022110976,
0.031889472,
-0.0009127656,
-0.017906081,
-0.0104557965,
-0.004039098,
-0.029293163,
0.041456316,
0.007781878,
-0.041512758,
-0.014209159,
0.01441376,
0.030196227,
0.03389315,
0.02112325,
0.014872347,
0.044419497,
-0.012925114,
0.008303963,
-0.03358272,
-0.016918354,
-0.047552,
-0.0018766813,
0.02009319,
-0.013877565,
-0.032679655,
0.004367165,
-0.031776592,
0.00009381202,
-0.027769241,
0.0025892558,
-0.0108579425,
0.040299263,
-0.019190125,
0.039311536,
0.024933053,
0.015930627,
-0.0074714497,
0.0034940843,
0.0036404796,
-0.045717653,
-0.0105969,
0.01858338,
0.00078224455,
-0.00612038,
0.0270355,
-0.00893893,
0.059320066,
0.0006340855,
0.042190056,
0.052264873,
0.00858617,
0.041343432,
0.053958118,
0.048313964,
0.008092307,
0.056780197,
0.023959436,
0.04309312,
0.018329391,
0.027882123,
0.07969546,
0.026329981,
-0.0026792097,
0.007972368,
0.005072684,
0.02772691,
0.012353644,
0.038944665,
-0.029123837,
-0.024298085,
0.0021553615,
-0.0040814294,
-0.009348131,
-0.004134343,
-0.017271113,
0.013715296,
0.043290667,
-0.010342914,
-0.017017126,
-0.034006033,
-0.012078491,
0.013207322,
0.0009577425,
-0.029406045,
0.029293163,
0.050204754,
0.013785847,
-0.0029349604,
0.034767993,
0.057711482,
0.009122365,
0.01825884,
-0.024298085,
-0.022506066,
-0.023253918,
-0.045040354,
-0.053817015,
0.005263174,
-0.01241714,
0.012043214,
-0.014759464,
-0.061972816,
0.002936724,
-0.0021130303,
-0.036009707,
-0.0014066291,
-0.04261337,
0.07326113,
0.049075924,
0.0042789746,
-0.036037926,
-0.014576029,
0.032284565,
0.031494383,
0.009439848,
-0.06462557,
-0.027543474,
-0.02299993,
-0.010815611,
0.0024552073,
0.014533698,
-0.0013845817,
-0.04707225,
0.025949001,
-0.020544723,
0.01279812,
-0.015239217,
0.034175355,
0.0039332705,
0.029406045,
0.0017549794,
-0.036940992,
0.024650846,
0.030450214,
-0.0124947475,
0.029462487,
-0.0023987656,
0.039537303,
-0.0038274424,
0.033413395,
0.028234884,
-0.014773575,
-0.030901747,
-0.013567137,
-0.03442934,
-0.015239217,
-0.020544723,
-0.030026902,
-0.01604351,
0.08460588,
-0.0408919,
-0.07969546,
-0.032002356,
-0.036940992,
-0.00933402,
-0.028545313,
-0.0060286624,
0.04492747,
0.026781514,
0.030591318,
-0.039255094,
0.066375256,
-0.006197987,
0.0321999,
0.014357318,
-0.02005086,
0.055651363,
0.03366738,
-0.0164386,
-0.028531201,
0.03753363,
-0.022844715,
0.023126923,
0.0077959886,
0.023874775,
0.0059828036,
-0.009983098,
0.018202398,
0.00066054246,
0.008854267,
-0.07083414,
0.034401122,
-0.010476962,
0.022491956,
0.06236791,
-0.0029349604,
0.005594768,
0.003086647,
-0.051615793,
-0.003121923,
0.0011067834,
-0.006070994,
0.05288573,
-0.005647682,
0.021645334,
0.026485195,
-0.02410054,
-0.002684501,
-0.046931144,
-0.019415893,
0.050317638,
0.007887706,
0.036320135,
-0.06406116,
-0.027134273,
0.002423459,
0.002432278,
0.023649007,
0.033752043,
0.04811642,
0.0057817306,
0.031155733,
-0.016551483,
0.011634014,
0.058078352,
-0.005873448,
0.009983098,
-0.052857507,
-0.025356365,
-0.06648814,
0.028150221,
0.08009055,
0.027331818,
-0.015027561,
0.0452379,
-0.01093555,
0.006374367,
0.03462689,
0.0062473738,
-0.026809735,
-0.045040354,
0.028982734,
0.0070199175,
0.029462487,
-0.004617624,
-0.021179691,
-0.003689866,
0.02371956,
-0.04814464,
0.013926951,
0.017666204,
0.017313445,
-0.00016502538,
0.043770418,
-0.06835071,
-0.044080846,
-0.042048953,
0.007668995,
0.019161904,
-0.010836776,
-0.02294349,
-0.043206003,
0.01259352,
0.022844715,
-0.03502198,
-0.048088197,
-0.050120093,
-0.0034446982,
-0.038436692,
0.01792019,
0.032679655,
-0.028206663,
-0.028686415,
-0.05215199,
-0.006190932,
0.01205027,
0.010716839,
-0.013108549,
-0.0076196087,
-0.009679725,
0.016184613,
0.02149012,
0.049753223,
-0.001957816,
-0.015845964,
-0.051728677,
0.025793787,
-0.035614617,
0.009898436,
-0.02260484,
-0.01439965,
-0.035642836,
-0.0012205484,
0.01244536,
-0.009700891,
-0.00060410093,
0.039650187,
-0.049104147,
-0.06846359,
0.029152058,
0.028728748,
-0.03361094,
0.065641515,
0.024791948,
-0.017990742,
0.011669289,
0.023437353,
-0.0050762114,
-0.0059263622,
-0.037759393,
-0.0064837225,
0.008430956,
-0.006392005,
0.016932463,
-0.022435514,
0.02666863,
-0.031325057,
-0.026753293,
-0.012769899,
-0.054296765,
-0.02482017,
-0.0186116,
-0.009171751,
0.03358272,
0.039142214,
-0.017708534,
0.0023387966,
-0.027190715,
0.018526938,
0.0065966058,
-0.007457339,
-0.00195958,
0.0577397,
-0.01134475,
0.043036677,
-0.04487103,
-0.018710373,
0.014244435,
-0.031861253,
0.024961274,
-0.005869921,
-0.0036440073,
0.011739842,
-0.040496808,
-0.0005406042,
0.0004696113,
-0.023578456,
0.0012037924,
0.032736097,
-0.029010955,
0.023987656,
-0.032594994,
-0.0489066,
0.017849639,
-0.019133683,
-0.05147469,
-0.039001107,
0.011133095,
-0.029829357,
0.021137359,
0.031212175,
-0.04552011,
-0.026188876,
-0.059997365,
0.066544585,
-0.04210539,
0.017680313,
-0.041117664,
-0.013687075,
-0.012395974,
0.02668274,
0.01601529,
-0.006349674,
0.018202398,
-0.028065559,
0.022463735,
-0.068237826,
-0.0059616384,
-0.0030143312,
0.026456974,
-0.06406116,
0.005421916,
0.015507314,
-0.017976632,
0.010413465,
0.035501733,
0.023578456,
0.031917695,
-0.02884163,
-0.012642906,
-0.022082755,
-0.030591318,
0.035896823,
0.034034252,
-0.022096865,
0.028615864,
-0.02339502,
0.024495631,
-0.025384584,
-0.02954715,
-0.016029399,
-0.011323585,
0.021617113,
-0.025285812,
-0.0037886389,
-0.010046595,
0.039932393,
0.01828706,
0.02189932,
-0.037759393,
0.009510401,
-0.016692588,
-0.057118844,
0.04964034,
-0.045040354,
-0.021518338,
-0.017595652,
0.012134932,
0.04865261,
-0.04278269,
-0.003989712,
0.034090694,
0.006875286,
-0.0030478435,
-0.0029578898,
0.0089530405,
-0.014202104,
0.002587492,
-0.009418683,
0.02627354,
-0.02112325,
0.023874775,
-0.05618756,
-0.053421922,
-0.00014286766,
-0.004801059,
0.058642767,
0.000010796375,
0.01974043,
0.015182775,
-0.0047622556,
-0.032594994,
0.010921439,
0.017666204,
-0.006173294,
0.011782173,
0.03648946,
-0.028432429,
0.045858756,
-0.043629315,
-0.04814464,
0.009002427,
0.08296907,
0.011993828,
-0.03801338,
-0.013941062,
0.029095616,
-0.016819581,
-0.050402302,
0.023465572,
-0.004635262,
-0.021010365,
0.00021948265,
0.014844127,
-0.0059157796,
-0.037844058,
0.04447594,
0.054353207,
-0.028517092,
-0.0038591907,
0.070664816,
0.005852283,
-0.020911593,
-0.037082095,
0.054071,
-0.046620715,
-0.0025910197,
-0.0321999,
0.013454254,
-0.04526612,
-0.049075924,
0.033836707,
-0.0106180655,
0.0136235785,
0.038182706,
-0.021687664,
0.04196429,
-0.0061874045,
0.0010732713,
0.0074926154,
-0.051700454,
-0.05847344,
0.005965166,
0.008141693,
-0.010427576,
-0.0051996773,
-0.036997434,
-0.00035738962,
0.029321384,
0.057909027,
-0.043939743,
-0.0721323,
0.022435514,
-0.032905422,
-0.017637983,
0.021137359,
0.0033423977,
0.015041672,
0.048680834,
-0.019034911,
-0.06027957,
0.02115147,
-0.004801059,
-0.019683989,
-0.0022929378,
-0.030083343,
0.0027338874,
-0.038831785,
-0.011323585,
-0.03140972,
-0.05632866,
0.016706698,
0.019952087,
-0.022576619,
0.02738826,
0.0025733816,
0.011648124,
-0.005947528,
0.010491072,
-0.013030942,
-0.00031968844,
-0.02005086,
0.0207846,
-0.031494383,
0.00949629,
0.0009815538,
-0.034147136,
0.022350851,
0.030817084,
0.019952087,
-0.04701581,
0.018950248,
0.053139716,
-0.007478505,
-0.0034200049,
-0.016410379,
0.0086567225,
-0.06242435,
-0.03643302,
-0.028248994,
-0.048031755,
-0.012925114,
0.027261266,
0.041117664,
0.04642317,
-0.024876611,
0.029123837,
0.0014392594,
0.017849639,
-0.0029755277,
-0.021800548,
0.06281944,
-0.010314693,
-0.017285224,
-0.034401122,
-0.013863455,
0.029293163,
-0.017722646,
0.022576619,
0.019387672,
-0.021137359,
0.0017408689,
0.025807897,
0.02882752,
0.031240396,
0.039565522,
-0.04707225,
0.014180939,
-0.007746602,
-0.0030108036,
0.0099196015,
-0.049104147,
-0.04309312,
0.03719498,
-0.019176016,
-0.019514665,
-0.008840157,
0.020135522,
0.02191343,
-0.001880209,
0.010095982,
0.020968035,
-0.0065436917,
0.00877666,
-0.013835234,
-0.03874712,
-0.05582069,
-0.024156982,
0.034598667,
-0.035671055,
0.0033159407,
0.03431646,
0.027698688,
0.02373367,
-0.025807897,
-0.042895574,
-0.02046006,
0.038606018,
0.030421993,
-0.0050938497,
0.0076125534,
-0.05881209,
0.046253845,
0.013306094,
-0.0070869415,
-0.035558175,
0.032453887,
0.012233705,
-0.012276037,
0.011069599,
0.04560477,
0.046253845,
-0.017101789,
-0.037364304,
0.039650187,
-0.004381275,
-0.023479683,
0.0038627184,
0.026612189,
0.033272292,
0.036179032,
-0.00893893,
0.010385244,
0.062311467,
0.0218711,
-0.015789522,
0.002229441,
0.02298582,
0.015662529,
0.014307932,
-0.03104285,
-0.00666363,
0.000097835684,
-0.0037392525,
0.022534287,
0.031466164,
-0.003024914,
-0.040299263,
-0.016452711,
-0.0277128,
0.0038344974,
0.025243482,
-0.06389183,
0.009030648,
0.030958189,
0.004536489,
0.024749618,
0.041738525,
-0.010963771,
0.038182706,
0.034514006,
0.016311606,
0.005718234,
0.0034482258,
0.0313815,
-0.021631222,
0.05367591,
-0.03606615,
0.001267289,
-0.00092687603,
-0.008536784,
-0.010533404,
0.04636673,
0.00912942,
-0.023860663,
0.0023846554,
0.009637394,
-0.038577795,
-0.051164262,
0.01441376,
-0.09092733,
0.046169184,
0.022421405,
-0.020149631,
-0.028234884,
0.019966196,
-0.012438306,
0.000962152,
-0.011175426,
0.06863292,
-0.0010962007,
0.081162944,
0.044080846,
0.007337401,
0.019246567,
0.050938495,
-0.030139785,
-0.0577397,
-0.026358202,
-0.015493204,
-0.026753293,
-0.050515182,
-0.028234884,
0.028756967,
0.017835528,
-0.03510664,
-0.016664367,
0.03358272,
0.017271113,
-0.005404278,
-0.014477257,
0.057485715,
0.0046987585,
-0.011528186,
0.00556302,
0.035191305,
-0.027063722,
-0.04715691,
-0.043544654,
0.025045935,
-0.007894761,
-0.040383928,
-0.00026853828,
-0.041033003,
-0.013785847,
0.030421993,
0.0000152541,
-0.02191343,
0.0634403,
0.025483359,
0.03770295,
0.0045047407,
-0.022421405,
-0.013990448,
0.05110782,
0.041004784,
0.015239217,
0.07580099,
0.03406247,
-0.012057325,
0.010004264,
0.024876611,
0.0015009923,
0.004042626,
-0.01828706,
0.009722056,
0.0093551865,
-0.050853834,
-0.054804742,
0.0011879181,
0.038831785,
-0.033441614,
-0.00059351814,
-0.05294217,
-0.0030795918,
-0.03183303,
0.0018678624,
-0.015225107,
0.005647682,
-0.0020777544,
-0.025751455,
0.039170433,
-0.038549576,
0.2343453,
0.03798516,
0.03183303,
0.027077831,
0.020544723,
0.036094368,
0.01571897,
-0.0019913283,
0.0073444564,
-0.020530613,
0.021306684,
-0.0096232835,
0.014286767,
-0.010166533,
-0.028545313,
0.032651436,
-0.054212105,
0.013108549,
-0.016269276,
0.027148383,
-0.0630452,
0.044814587,
-0.02665452,
0.015831854,
-0.0029772916,
0.004645845,
0.0056370995,
-0.018117737,
-0.02261895,
-0.05960227,
0.03180481,
-0.04351643,
0.014688913,
-0.022887047,
-0.0030055123,
0.042048953,
-0.013073273,
-0.038549576,
-0.00104946,
-0.0025786732,
-0.022548398,
-0.03499376,
0.061972816,
-0.00437422,
0.0058134794,
0.025088267,
-0.019839203,
0.012748734,
0.027162494,
-0.06552863,
0.03685633,
-0.046931144,
-0.0056794304,
-0.011210702,
-0.028531201,
-0.013792903,
-0.06857648,
-0.033102967,
0.0007019917,
0.05215199,
-0.002056589,
0.01646682,
-0.020714046,
0.022209749,
-0.021786436,
-0.037787616,
-0.013475419,
0.04520968,
-0.0038450803,
-0.026442865,
0.0044765202,
0.008049975,
0.025074156,
-0.020629385,
0.0059933867,
0.05074095,
-0.0071645486,
0.034965537,
0.009954877,
-0.061069753,
0.013955172,
-0.0088189915,
0.0072456836,
-0.020770488,
0.02007908,
0.033018306,
-0.034006033,
0.0031060488,
0.029603591,
0.019599326,
0.052744623,
0.011605793,
0.015239217,
0.011570517,
0.0116834
] | Preprocess
[[open-in-colab]]
Before you can train a model on a dataset, it needs to be preprocessed into the expected model input format. Whether your data is text, images, or audio, they need to be converted and assembled into batches of tensors. 🤗 Transformers provides a set of preprocessing classes to help prepare your data for the model. In this tutorial, you'll learn that for: |
[
0.033140212,
0.008717748,
-0.007880731,
-0.004493648,
-0.02241504,
-0.054590553,
0.0045965016,
-0.0030182276,
-0.007476409,
0.072919816,
-0.022117117,
0.028855817,
0.018527875,
-0.036999002,
-0.051668085,
-0.00897311,
-0.033111837,
-0.07064994,
-0.022840641,
-0.0015552207,
0.015406793,
0.036034305,
-0.076551616,
-0.025451,
-0.03918376,
0.030075876,
0.006777712,
0.008455293,
0.040630806,
0.030983826,
0.0034119096,
0.033140212,
0.0003921302,
-0.06713162,
0.015562847,
-0.023918834,
0.07201186,
-0.004025486,
0.0032753623,
-0.026004283,
0.01266166,
-0.0240607,
0.009760473,
-0.03470075,
-0.06191091,
-0.03912701,
-0.01959188,
-0.0051497845,
-0.020201908,
-0.011931043,
0.027947865,
-0.012704221,
0.0694015,
0.011774989,
-0.029309792,
-0.007987131,
-0.007632463,
-0.012058724,
-0.043553274,
-0.010207355,
-0.021336848,
0.04108478,
-0.022301545,
-0.055924106,
-0.044943575,
0.011455787,
0.02454305,
0.014626523,
-0.014612336,
-0.046106886,
-0.028586268,
0.012115471,
-0.030302864,
-0.028955124,
-0.054023083,
-0.011235894,
-0.016314745,
-0.008292146,
-0.0212801,
0.07632463,
-0.012278618,
0.02180501,
0.0022751975,
-0.010767731,
-0.006582645,
-0.053739347,
0.03765159,
-0.020911247,
0.013867533,
-0.026543379,
0.0012643926,
0.013406464,
-0.028912565,
0.030785212,
0.054448687,
0.045028694,
-0.0010631183,
0.057456274,
0.0065932847,
-0.0076608364,
0.056973923,
0.06667765,
-0.014598149,
0.043581646,
0.007845264,
0.025862416,
0.04687297,
0.022131305,
-0.058023743,
0.037765086,
-0.0039403653,
-0.007206861,
-0.0012546392,
-0.0342184,
-0.04312767,
0.03470075,
0.025451,
0.0075828093,
-0.031608045,
0.0034722032,
-0.015236552,
-0.0006947066,
0.017038267,
-0.010285382,
0.012945395,
-0.07280632,
-0.0007403702,
0.030047502,
-0.041255023,
0.0006273196,
0.028713949,
0.017733417,
0.02011679,
0.029338166,
-0.024770038,
0.010753544,
-0.00634147,
-0.010221542,
0.031778283,
0.0060825623,
0.01409452,
-0.020755192,
-0.019563505,
0.079956435,
0.0079729445,
-0.014938631,
0.0041638063,
0.0042773,
-0.016442426,
0.0005453026,
-0.06111645,
0.01767667,
-0.015747275,
0.0023603179,
-0.02993401,
0.011455787,
-0.000847214,
0.0020038763,
-0.02650082,
-0.0050043706,
0.013257503,
-0.026741993,
-0.009831407,
0.05981127,
-0.03084196,
0.05907356,
-0.04860375,
-0.011540908,
0.0054725325,
-0.025919164,
0.02970702,
0.010058395,
0.021237541,
0.033509064,
0.03192015,
0.037452977,
0.024386996,
-0.018556248,
0.005827201,
0.008575881,
-0.025110519,
-0.014342788,
-0.00853332,
0.004383701,
0.0017822084,
0.014541402,
0.011065653,
-0.025663802,
-0.029253045,
-0.012555259,
0.05737115,
0.04187924,
-0.035693824,
0.013193662,
0.00568888,
0.02328043,
-0.03271461,
0.0056534135,
-0.011321014,
-0.047241826,
-0.021734076,
0.04369514,
0.043893754,
0.009725006,
-0.0052242647,
-0.005266825,
0.051043868,
0.03901352,
-0.04409237,
0.0012253792,
0.02658594,
-0.007518969,
-0.02319531,
0.02359254,
0.008242493,
-0.016754532,
-0.026146151,
0.03027449,
-0.0016563012,
0.040942915,
-0.019336518,
0.017421309,
0.03470075,
0.023748593,
-0.018669741,
-0.02896931,
0.0069444063,
0.029735394,
0.020840311,
0.05152622,
0.027791811,
0.02024447,
0.0048093027,
0.07343054,
-0.012938301,
0.025451,
0.03983635,
0.03697063,
0.0038375116,
-0.018556248,
-0.01264038,
0.00061845296,
0.04434773,
-0.0021581568,
0.017974593,
0.03943912,
-0.011845923,
-0.0014842871,
-0.033083465,
0.036318038,
-0.024202568,
0.06707488,
0.020060042,
0.0064726975,
-0.012306992,
-0.05490266,
0.0017591551,
0.03214714,
-0.03501286,
-0.037765086,
0.026883861,
0.012179311,
0.03714087,
-0.023067629,
0.017180135,
0.049057726,
0.001813242,
-0.005706614,
-0.024982838,
-0.018797422,
-0.042929057,
-0.0657697,
-0.05850609,
0.003461563,
-0.037424605,
-0.023337178,
-0.014867697,
-0.03932563,
-0.0011810457,
0.004458181,
-0.014754203,
0.010051301,
-0.020953806,
0.04704321,
-0.0022947043,
-0.011746616,
-0.048405137,
0.009441271,
0.0028674935,
0.047639053,
-0.010093861,
0.020499831,
-0.023237871,
-0.051923446,
-0.020698445,
-0.008895082,
0.024897719,
-0.008937642,
-0.023053443,
-0.017165948,
-0.0050575705,
0.00912207,
-0.0031618683,
0.0013752265,
-0.027181782,
0.048405137,
0.06962849,
-0.01257654,
0.026316391,
0.043496527,
-0.044659838,
0.054789167,
0.007859451,
0.0013237996,
-0.012888648,
0.02528076,
0.0361478,
0.031068947,
-0.01040597,
-0.015534474,
-0.039240506,
0.01794622,
-0.014200921,
-0.04786604,
0.00560376,
0.039354,
-0.046248753,
-0.059527535,
0.030898707,
-0.068947524,
-0.041510385,
-0.0026316391,
0.022244798,
0.03844605,
0.012399206,
0.0049689035,
-0.026642686,
-0.024770038,
0.0064585106,
0.05033453,
0.019946547,
-0.013725665,
-0.022684587,
0.006611018,
-0.009242658,
0.015222366,
0.03762322,
-0.024358623,
-0.00352895,
-0.0071323807,
0.03813394,
0.03123919,
0.022344107,
-0.008817055,
0.012917021,
0.042929057,
-0.038360927,
0.028089734,
0.047270197,
0.02189013,
0.024727477,
0.010207355,
-0.0024525316,
0.0033533892,
-0.01607357,
-0.028770696,
0.0013388731,
0.0074905953,
0.035807315,
-0.037339482,
0.030529851,
0.012846088,
-0.018953476,
0.023748593,
-0.013668918,
-0.05385284,
0.0435249,
0.008902175,
0.06185416,
-0.02418838,
0.012789341,
0.005930055,
-0.010845758,
0.017534804,
0.037339482,
0.060946207,
0.0067386986,
-0.0150804985,
-0.031976897,
0.025294947,
0.0038126847,
-0.023776967,
-0.02528076,
-0.01811646,
-0.038729783,
-0.030614972,
0.016045196,
0.00775305,
0.0430993,
0.00043313872,
0.016087756,
-0.017932031,
0.018173207,
0.040120084,
0.008277959,
-0.02515308,
-0.03126756,
0.05243417,
0.0073345415,
0.0026635593,
-0.06838006,
0.0019116624,
-0.03722599,
0.024074888,
0.009419992,
0.0004477688,
-0.050022423,
0.013527051,
0.006820272,
-0.009781753,
-0.0043198606,
-0.025138892,
-0.0049157036,
0.006196056,
0.061967652,
-0.03126756,
-0.011562188,
-0.0013388731,
-0.0003673034,
0.019733747,
-0.012236058,
-0.018485315,
-0.040205203,
-0.0439505,
-0.045057066,
0.006015175,
0.05180995,
0.0041212463,
0.03084196,
-0.038843278,
0.028557895,
0.0076821162,
-0.016584292,
-0.016442426,
0.0061357627,
-0.016683599,
-0.00019650844,
0.036630146,
-0.017775977,
-0.030075876,
0.027791811,
-0.049313087,
0.00282316,
-0.04460309,
0.017492242,
-0.0171092,
-0.020201908,
0.017662484,
0.045681283,
0.004653249,
-0.0266285,
0.0048554097,
0.028955124,
-0.023053443,
-0.06531572,
0.0127255,
0.026968982,
-0.014498842,
0.010874132,
-0.021478714,
0.004021939,
0.023961393,
0.02110986,
-0.0029774408,
0.0007195334,
0.00017999418,
0.03035961,
-0.01607357,
-0.0076821162,
0.030785212,
-0.023635099,
0.021209167,
0.0065258974,
-0.015378419,
-0.030955454,
-0.06264862,
0.0041389796,
0.0060825623,
-0.0010852851,
0.035466835,
0.02285483,
-0.01200907,
0.01042725,
-0.050221037,
-0.023096003,
-0.021634769,
-0.0029614808,
-0.037935328,
0.067188375,
0.00838436,
0.028387655,
-0.019024411,
-0.02601847,
0.012612007,
-0.014555589,
0.024897719,
-0.018088086,
-0.0134419305,
-0.0031778284,
-0.019535134,
-0.0068096323,
0.02332299,
-0.00035821504,
-0.0250254,
0.0015170939,
-0.007788517,
0.022230612,
0.0010604584,
-0.033594187,
0.06792608,
0.010377596,
-0.061570425,
0.000839234,
0.007767237,
0.005465439,
0.016598478,
0.034870993,
-0.03274298,
-0.015747275,
-0.06412404,
0.030983826,
-0.03396304,
0.010313756,
-0.06497524,
-0.03248762,
-0.03909864,
0.033480693,
-0.023436485,
-0.07252258,
-0.008632627,
-0.04973869,
0.013888813,
0.01266166,
-0.02736621,
-0.025748922,
-0.0056214933,
-0.010285382,
0.026855487,
0.0006618998,
0.0041992734,
0.0131723825,
-0.022315733,
0.008001318,
0.07570041,
-0.07116066,
0.013739852,
0.00062953634,
-0.0017440816,
-0.024557237,
0.006958593,
-0.019024411,
0.021663142,
-0.03674364,
-0.0074054752,
-0.061570425,
-0.04917122,
-0.054789167,
-0.008242493,
0.06826656,
-0.05146947,
-0.04656086,
-0.035466835,
0.044489596,
0.04000659,
0.037254363,
-0.031154068,
-0.024472116,
-0.06928801,
-0.044546343,
0.035410088,
-0.0054867193,
0.016286371,
0.014981191,
-0.0128957415,
0.04599339,
-0.03665852,
0.038644664,
0.09527811,
-0.012306992,
0.024911905,
-0.05246254,
0.024330249,
-0.007653743,
-0.040375445,
0.03166479,
-0.014555589,
-0.019450013,
-0.0007957871,
-0.0356087,
-0.056832056,
-0.014669083,
-0.0023071177,
0.0411699,
-0.03932563,
0.02892675,
-0.009512206,
-0.03762322,
-0.028643016,
0.050788507,
0.017052455,
0.028529523,
0.0504764,
-0.0031671883,
0.00064017635,
-0.017775977,
-0.018627182,
-0.007284888,
-0.013477397,
0.035864063,
-0.016087756,
-0.027962053,
0.03132431,
0.022911575,
-0.042418335,
-0.054221697,
0.026387325,
-0.01042725,
-0.009136257,
-0.034076534,
-0.02302507,
0.034899365,
-0.032686234,
-0.00209609,
0.02345067,
-0.03067172,
-0.0014248801,
0.01615869,
-0.007937478,
-0.030700093,
0.049369834,
0.048064657,
-0.020471457,
0.0029171472,
-0.0741115,
-0.0020038763,
-0.023351364,
-0.0014177867,
0.054874286,
0.006206696,
0.01959188,
0.02993401,
0.0037630312,
0.079729445,
-0.040772673,
-0.0004091986,
0.0040290323,
-0.022599468,
-0.04057406,
-0.016428238,
0.020953806,
-0.003445603,
0.010242822,
0.0020375696,
-0.018130645,
-0.0047631958,
0.0546473,
-0.014165454,
-0.089773655,
0.023734406,
-0.03237413,
-0.04287231,
-0.037339482,
-0.0425602,
-0.010874132,
0.020088416,
-0.012278618,
-0.040460564,
-0.024372809,
-0.0036566306,
-0.068947524,
-0.02606103,
-0.051015496,
-0.005458346,
-0.056605067,
-0.006802539,
-0.017960405,
0.010122235,
0.0006282063,
-0.0020978632,
-0.026401512,
-0.024245128,
-0.050760135,
0.04082942,
-0.028898377,
0.008001318,
0.008668095,
-0.014420815,
0.030955454,
-0.004518475,
-0.0030661079,
-0.025380068,
0.032118767,
-0.012498513,
-0.015406793,
-0.0055505596,
0.0027061196,
-0.019492572,
0.03166479,
0.04378026,
-0.021776637,
0.030444732,
0.01485351,
0.044234235,
-0.051724833,
-0.03436027,
-0.018272514,
0.0033870828,
0.022897389,
0.021492902,
0.02159221,
0.0620244,
0.013278783,
0.025635429,
-0.007192674,
0.02793368,
0.010455623,
-0.0034065896,
-0.016669413,
-0.0008387907,
0.02093962,
0.00011404804,
0.0016474344,
0.016924774,
-0.034275148,
0.025607055,
0.00350235,
-0.041226648,
-0.03526822,
0.023776967,
-0.0074693155,
0.02159221,
0.02576311,
-0.05056152,
0.0026795194,
0.030955454,
-0.019293958,
0.008100625,
-0.026968982,
-0.03739623,
0.014640709,
-0.015832394,
-0.003165415,
-0.053881217,
-0.033253703,
-0.0076466496,
0.025096333,
0.022315733,
-0.012434673,
0.04162388,
0.008114812,
0.034303524,
-0.018953476,
-0.02298251,
-0.0144491885,
-0.006625205,
-0.02515308,
-0.02450049,
0.024599796,
0.03532497,
0.02045727,
-0.029650275,
-0.05237742,
0.0074480353,
0.014470468,
0.01754899,
0.0066358447,
0.021734076,
-0.051043868,
0.034558885,
-0.049114473,
-0.00912207,
0.0055044526,
0.031040573,
-0.008504947,
0.021336848,
-0.012122564,
0.019989109,
0.030075876,
-0.01179627,
0.0067209653,
0.02262784,
0.019577693,
-0.0051249578,
0.01885417,
-0.038048822,
0.052803025,
0.06293235,
0.02875651,
-0.020670071,
0.022812268,
0.033338826,
-0.04400725,
-0.019889802,
0.02896931,
-0.010505277,
-0.009086603,
0.0024631717,
-0.027252717,
-0.02093962,
-0.0070082466,
-0.009554765,
0.012292805,
0.01040597,
-0.005805921,
0.0049724504,
-0.054618925,
0.020528205,
-0.009845593,
-0.018683929,
-0.0022503706,
-0.011484161,
0.036913883,
0.047610678,
0.0034881632,
-0.030387985,
0.061570425,
0.026131963,
0.02536588,
0.028089734,
-0.023096003,
0.025422627,
0.022173865,
0.0003571067,
-0.0310122,
-0.008809961,
0.00034181162,
-0.015307486,
-0.07269283,
-0.00017755585,
0.0036956442,
-0.01893929,
0.05759814,
-0.035949185,
-0.017194321,
-0.037906952,
0.030473104,
-0.0076608364,
0.036346413,
0.028302534,
-0.061740667,
-0.03682876,
0.04633387,
-0.013782412,
0.009973274,
0.01542098,
0.09278124,
0.02766413,
0.08960341,
-0.0055966666,
-0.002200717,
0.03010425,
0.0017972819,
-0.0052951984,
-0.028955124,
0.008327613,
-0.00977466,
0.02197525,
-0.040460564,
-0.045681283,
-0.00096292456,
0.025351694,
-0.027820185,
-0.036459908,
0.017279442,
0.007788517,
-0.012299898,
0.014293134,
0.06145693,
0.0082495855,
0.006582645,
-0.006731605,
0.006231523,
-0.01959188,
-0.0051072245,
-0.01046981,
0.030870333,
-0.042162973,
-0.04287231,
-0.018102273,
-0.047724172,
-0.030614972,
0.019946547,
-0.007894917,
-0.034842618,
0.030643346,
0.03206202,
0.015350047,
0.019293958,
-0.017080829,
-0.010136422,
0.0666209,
0.034644004,
-0.006242163,
0.04017683,
0.02896931,
-0.0023337177,
0.041709,
0.0016518679,
0.039524242,
0.033764426,
0.016385678,
0.01750643,
0.009654072,
-0.035977557,
-0.05532826,
-0.021124046,
0.04917122,
0.014023586,
-0.020882873,
-0.067188375,
-0.0149953775,
-0.073827766,
0.02393302,
-0.014144174,
0.06429428,
-0.016215436,
-0.0049724504,
-0.023564165,
-0.060946207,
0.23924509,
0.09465389,
0.053086758,
-0.0003551117,
0.016967334,
0.026898047,
0.01980468,
-0.030785212,
0.003943912,
-0.014669083,
0.030160997,
-0.03467238,
0.014435002,
0.038673036,
-0.0063237366,
0.031636417,
-0.06412404,
0.004770289,
-0.013555424,
-0.01910953,
-0.058789827,
0.011633122,
0.021578023,
0.028330907,
0.0059123216,
0.004355327,
0.035864063,
-0.027039915,
-0.0074835024,
-0.02311019,
0.004681622,
-0.009590232,
0.026415698,
0.001613741,
0.017052455,
0.03467238,
-0.016045196,
-0.0602085,
-0.011335201,
0.0125127,
0.0042879405,
-0.018059712,
-0.010746451,
-0.018882543,
-0.029196298,
0.041765746,
-0.003809138,
0.038304184,
0.06367006,
-0.07513294,
0.015137245,
-0.0031317216,
0.035864063,
-0.021138234,
-0.039070267,
0.005174611,
-0.00634147,
-0.0075544356,
-0.027649945,
0.027564824,
-0.017591551,
0.012782248,
0.052888144,
0.0012244924,
-0.02993401,
0.03237413,
0.010363409,
0.061513677,
-0.027337836,
0.008370173,
0.03223226,
-0.00842692,
-0.021379407,
0.0059655216,
0.018400194,
0.02993401,
-0.00043003538,
0.015704714,
0.030302864,
-0.04786604,
0.028259974,
-0.00013211396,
-0.04378026,
-0.011122399,
-0.0073629147,
0.065145485,
-0.013179475,
0.020627512,
-0.01405196,
0.025294947,
0.0051710648,
-0.022216426,
0.00024427782,
-0.014392442,
0.0031530017
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_inputs = tokenizer(batch_sentences)
print(encoded_inputs)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1]]} |
[
0.003307359,
0.00770276,
0.0037937355,
-0.0025543766,
-0.02315872,
-0.030839862,
-0.00025489723,
0.0029074496,
-0.03810308,
0.06646423,
-0.01766807,
0.04744151,
-0.035768475,
-0.01652959,
-0.045251016,
-0.01477143,
-0.010159861,
-0.031070441,
-0.035595544,
-0.0027056935,
0.02555097,
0.033145647,
-0.03043635,
-0.005530279,
-0.019080363,
0.018921841,
-0.0033884218,
-0.003177659,
0.056145843,
0.048190888,
-0.0024733138,
0.040005356,
-0.015261409,
-0.05012198,
-0.030349884,
-0.03421207,
0.023317242,
-0.06882766,
-0.019555932,
-0.035364963,
-0.01439674,
0.025983306,
-0.026588574,
-0.05136134,
-0.058739852,
-0.012155806,
-0.028807892,
-0.014648935,
-0.03164689,
-0.0122422725,
0.010224711,
0.0025147458,
0.02743883,
0.0021796867,
-0.03458676,
-0.024628656,
0.0074721817,
0.029773438,
-0.022942552,
-0.03043635,
0.0019887388,
0.02315872,
-0.029196993,
-0.021357326,
-0.025032168,
0.01358251,
-0.018258927,
-0.026948852,
-0.025089813,
-0.044386346,
-0.050727252,
0.0013951795,
-0.0017869828,
-0.015117297,
-0.04631744,
0.004816927,
-0.0005651873,
0.0041143834,
-0.0009790575,
0.04372343,
-0.0009155584,
0.03602788,
-0.009532976,
-0.0036856518,
0.01239359,
-0.04657684,
0.01446159,
-0.03403914,
-0.00025242032,
-0.028217034,
0.006398551,
0.030695751,
-0.004110781,
0.012191834,
0.052370124,
0.06825121,
0.013906761,
0.030638106,
0.0037216798,
-0.011125408,
0.018345395,
0.045481592,
-0.024470134,
0.048335,
-0.005512265,
0.03006166,
0.05496413,
0.037209593,
-0.065080754,
0.029326692,
-0.014476001,
-0.027698232,
-0.015376698,
-0.01701957,
-0.050179627,
0.057010513,
0.00889168,
-0.0146561405,
-0.030609285,
0.011312754,
-0.0033235718,
-0.0033001537,
0.0074721817,
-0.01952711,
0.019945033,
-0.067905344,
0.0035361361,
0.012818718,
-0.053494193,
0.035854943,
0.02716502,
0.00876198,
0.026516518,
0.0002578245,
-0.0010267945,
0.0041828365,
-0.023346065,
-0.011283931,
0.020651178,
-0.022106705,
0.0054077846,
-0.027611766,
0.0009727527,
0.06548427,
0.031906288,
-0.0077820215,
0.0005368154,
0.029096114,
-0.02178966,
0.0239081,
-0.05159192,
-0.011139819,
0.004957436,
0.0160252,
-0.018359806,
-0.0312722,
0.012191834,
-0.012350356,
0.009057408,
-0.0069389693,
0.023965744,
0.00783246,
0.01039044,
0.064331375,
-0.018619208,
0.034385007,
-0.018143639,
-0.061276212,
0.033203293,
-0.01665929,
0.056549355,
0.013042091,
0.031473953,
0.047873843,
0.015419931,
-0.0014690367,
0.045106903,
-0.00482053,
0.0060526836,
0.0515631,
0.017437493,
-0.02768382,
0.0058581326,
0.024643067,
0.008351262,
-0.0044062096,
0.020463834,
-0.025378037,
-0.022683151,
-0.030897507,
0.05925865,
0.053292435,
-0.01133437,
-0.0054185926,
0.0037072685,
0.03144513,
-0.02854849,
0.017235737,
0.011377604,
-0.0438099,
-0.0080126,
0.046548016,
-0.008733157,
0.016068432,
-0.020233257,
-0.017307792,
0.04545277,
0.062140882,
-0.047009174,
-0.0064742095,
0.013827499,
0.014915541,
-0.0237784,
0.010051778,
-0.01157936,
-0.03092633,
0.0020193625,
0.026891207,
-0.010966886,
0.026977675,
-0.00023001547,
0.03504792,
0.049689647,
-0.006895736,
-0.043636966,
-0.051908966,
-0.008495374,
0.03772839,
0.033232115,
0.03081104,
0.030638106,
0.027582943,
0.00029317685,
0.041014135,
-0.025334803,
0.011809939,
0.041100603,
0.04095649,
-0.008466551,
-0.00017980163,
0.026502106,
0.016371068,
0.05384006,
0.0063697286,
-0.0052312477,
0.015679331,
0.019512698,
0.026040949,
-0.06375493,
0.030032838,
-0.044616923,
0.04879616,
0.0014708381,
-0.012213451,
-0.020636769,
-0.064677246,
0.013921171,
0.029096114,
-0.013978817,
-0.025723904,
0.023850454,
0.01691869,
0.055886444,
-0.017509548,
0.00838729,
0.03493263,
0.040725913,
0.021948183,
-0.046922706,
-0.019339764,
-0.001081737,
-0.04611568,
-0.032886248,
0.031618066,
-0.016861046,
-0.042887583,
-0.031790998,
-0.054301217,
-0.0037252826,
-0.018114816,
-0.0068849274,
-0.009979722,
-0.057298735,
0.03504792,
0.016126078,
0.019094774,
-0.065772496,
0.0006615619,
0.0016779983,
0.048680868,
-0.006045478,
0.011500099,
-0.02354782,
-0.035595544,
0.0048421468,
-0.0026930838,
0.014367918,
-0.03545143,
0.0009070018,
0.0019419026,
-0.029946372,
0.02053589,
-0.015376698,
0.020651178,
-0.030839862,
0.03669079,
0.030321062,
-0.00951136,
0.015160531,
0.072689846,
-0.0202909,
0.015794622,
-0.0068849274,
0.007745994,
-0.024888057,
0.049804937,
0.009388865,
-0.010916447,
0.019109186,
-0.026185062,
-0.0333474,
0.0071191085,
0.004971847,
-0.045049258,
0.00838729,
0.051793676,
-0.02640123,
-0.048162065,
0.013236642,
-0.06012332,
-0.013251053,
0.01727897,
0.031992756,
0.044933967,
0.032915067,
0.017480725,
-0.03934244,
-0.04796031,
-0.010095011,
0.03640257,
0.008610663,
-0.024354845,
0.014476001,
-0.0036802476,
0.01866244,
0.019181242,
0.045279834,
-0.02078088,
0.015679331,
-0.030839862,
0.018547151,
0.054906484,
0.008459345,
-0.009179903,
0.018950664,
0.016140489,
-0.032598022,
0.025882427,
0.010433673,
0.03144513,
0.038016617,
-0.0066579515,
0.0008457544,
-0.003700063,
-0.01716368,
-0.02591125,
-0.027698232,
0.01866244,
0.056145843,
-0.0320504,
0.007616293,
0.029355515,
0.0021346516,
0.024008978,
-0.026617397,
-0.030090483,
0.02941316,
0.002291373,
0.058653384,
-0.049487893,
0.0016014392,
-0.005461826,
0.021443792,
0.016212545,
0.0016068433,
0.04444399,
-0.01364736,
-0.0001170906,
-0.017999528,
0.024326023,
0.016226957,
-0.011802733,
0.0014537248,
-0.0059662163,
-0.062198527,
-0.04519337,
0.026343584,
0.03772839,
0.03594141,
-0.013986022,
0.039227154,
-0.03317447,
0.018590385,
0.033779737,
0.010592196,
-0.013351931,
-0.02766941,
0.056837577,
0.002226523,
-0.0067624324,
-0.05649171,
0.027107375,
-0.038160726,
0.030868685,
0.020060321,
0.018734496,
-0.03055164,
0.0064453874,
0.017855415,
0.00058770477,
-0.013315903,
-0.033750914,
-0.041129425,
0.0118892,
0.039255977,
-0.018806553,
-0.0004629582,
0.0070722722,
0.0015816238,
0.033088002,
-0.007486593,
-0.04343521,
-0.0093384255,
-0.024700712,
-0.057125803,
0.039688308,
0.044905145,
0.0069389693,
0.038016617,
-0.026934441,
0.031128086,
-0.024873646,
-0.024383668,
-0.012328739,
-0.006095917,
-0.0076090875,
-0.021631138,
0.02239493,
0.0018095002,
-0.033203293,
0.012220656,
-0.030205773,
0.029269047,
-0.016861046,
0.012638579,
-0.009273576,
-0.016500767,
-0.010808364,
0.056289956,
-0.006211206,
-0.00018970929,
0.0055086627,
0.015823444,
-0.022077883,
-0.04507808,
-0.0017635647,
0.03421207,
-0.0070326417,
0.0059590107,
-0.007335276,
0.037641928,
-0.004989861,
0.022611097,
-0.004906997,
-0.02392251,
-0.011211876,
-0.019008309,
0.0007610889,
-0.009936488,
0.029341104,
-0.016039612,
0.026559751,
0.025695082,
-0.019656809,
-0.07695555,
-0.040293578,
-0.0044926764,
-0.012386384,
-0.017696893,
0.037353702,
0.020117966,
-0.0072956453,
0.015419931,
-0.04718211,
-0.016140489,
-0.047153287,
-0.03130102,
-0.039688308,
0.057068158,
0.013279876,
0.0710758,
-0.025608616,
-0.015246998,
0.01763925,
0.00036140464,
0.013186203,
-0.018460684,
-0.013258259,
0.0057428437,
-0.03432736,
0.00022258473,
0.033491515,
-0.00058094953,
0.0022697563,
0.006193192,
0.0074433596,
0.025940072,
-0.007227192,
-0.03268449,
0.0392848,
-0.020305311,
-0.07574501,
-0.0021184392,
0.012854747,
-0.0016248573,
0.012494468,
0.0162846,
-0.022193173,
-0.0060562864,
-0.018835375,
0.028980825,
-0.032252155,
-0.009439304,
-0.05046785,
-0.014468796,
0.0098212,
0.04845029,
-0.02905288,
-0.08785038,
-0.0057104183,
-0.046749774,
0.030205773,
0.0018464287,
-0.033203293,
-0.04317581,
-0.033981495,
-0.0109740915,
0.028649367,
0.013049297,
0.0009439304,
-0.003462279,
-0.024354845,
0.041215893,
0.075802654,
-0.06634894,
0.03421207,
-0.007745994,
-0.0063409065,
-0.005580718,
-0.016875457,
-0.034730874,
0.037641928,
-0.03859306,
0.016616058,
-0.039976534,
-0.014829074,
-0.051995434,
0.020233257,
0.027813522,
-0.06202559,
-0.062140882,
-0.049026735,
0.060930345,
0.021227626,
0.060642123,
-0.03945773,
-0.045049258,
-0.06657952,
-0.022121117,
0.015592866,
-0.024210734,
0.017048392,
0.017495137,
-0.003397429,
0.063697286,
-0.028274678,
0.024037799,
0.03481734,
-0.000029610412,
-0.010693074,
-0.036489036,
0.0320504,
0.005433004,
-0.016111666,
0.0050114775,
0.005703213,
-0.049804937,
-0.0034226484,
-0.027337953,
-0.033895027,
-0.018575974,
0.036834903,
0.09153963,
-0.06289026,
0.04167705,
-0.0117306765,
-0.051303696,
-0.021991417,
0.051649563,
0.0018464287,
0.0523413,
0.032252155,
0.0034280524,
-0.007918928,
-0.016471945,
-0.025176281,
0.008480962,
-0.030205773,
0.04173469,
-0.0119756665,
0.0058761467,
0.037411347,
0.011413632,
-0.014209394,
-0.046548016,
0.044847503,
-0.02040619,
-0.008365673,
-0.033895027,
0.021977006,
-0.012451234,
-0.025176281,
-0.011615388,
0.01954152,
-0.012775485,
-0.006142753,
0.0037721188,
0.007825255,
-0.0128763635,
0.07649439,
0.04686506,
-0.01439674,
0.019339764,
-0.05796165,
0.019325353,
-0.013986022,
-0.010058983,
0.07874253,
0.0019689235,
-0.0034136414,
0.026876796,
0.007021833,
0.080587156,
-0.07205576,
-0.020089144,
0.015981967,
-0.038881287,
-0.02741001,
0.00032132363,
0.033952672,
-0.014158956,
-0.002350819,
-0.002021164,
-0.0070182304,
0.009107848,
0.038506594,
0.001685204,
-0.06098799,
0.03268449,
-0.02415309,
-0.04847911,
-0.02354782,
-0.014519234,
0.009914872,
0.012588141,
-0.020449422,
-0.03957302,
-0.017322203,
-0.030868685,
-0.05758696,
-0.032857426,
-0.058739852,
0.01439674,
-0.034010317,
-0.019613577,
-0.011420837,
-0.04395401,
-0.0042296727,
-0.006355318,
0.00034654315,
-0.035624366,
-0.030638106,
0.045423947,
-0.051015474,
0.0012069339,
-0.02415309,
-0.025493326,
0.020953814,
0.01791306,
-0.01208375,
0.018965075,
0.04896909,
-0.01126952,
-0.023879277,
0.007947749,
-0.026502106,
0.00622922,
-0.008063039,
0.023735166,
-0.024095444,
0.0435505,
-0.00304976,
0.021314092,
-0.062313817,
-0.033376224,
-0.0080486275,
-0.0038441746,
0.040178288,
0.018172462,
0.04718211,
0.050237272,
0.010923652,
0.035019096,
-0.016861046,
0.03916951,
0.03432736,
0.010152656,
-0.008596252,
0.0023814426,
0.031704534,
0.013705005,
-0.013849116,
-0.010368823,
-0.044616923,
0.023187542,
0.002276962,
-0.024326023,
-0.07326629,
0.03343387,
0.0012952022,
-0.008790802,
0.015578454,
-0.034529116,
0.029326692,
0.020276489,
-0.02229405,
0.012544907,
-0.031618066,
-0.029744616,
0.02506099,
-0.023504587,
-0.016486356,
-0.06438902,
-0.043492854,
0.0028227842,
0.026141828,
0.036517855,
0.02216435,
0.072574556,
0.014310272,
0.002276962,
-0.017653659,
-0.024571013,
0.003676645,
0.009251959,
-0.02579596,
-0.009850021,
0.026876796,
0.0138779385,
-0.014512029,
-0.026113005,
-0.041360002,
-0.007025436,
0.04496279,
0.0022715577,
-0.007302851,
-0.01082998,
-0.07672497,
0.015794622,
-0.032713313,
-0.034067962,
0.021717604,
0.03755546,
0.034471475,
0.01384191,
0.00036590814,
-0.022207584,
0.06012332,
-0.0161549,
0.0013150175,
0.03354916,
0.025839193,
-0.040610623,
0.0043917983,
-0.0031488365,
0.028779069,
0.056924045,
0.02568067,
-0.011608182,
0.03602788,
0.004629582,
-0.026819153,
-0.016803402,
0.048075598,
-0.01089483,
-0.015131708,
-0.0051159584,
0.007450565,
0.011910817,
-0.002995718,
0.0061715753,
0.010642635,
0.015189353,
-0.008113478,
-0.014447179,
-0.035768475,
-0.012825924,
0.018417452,
-0.021487026,
-0.0360567,
-0.022971375,
0.057068158,
0.036979012,
0.01815805,
-0.022077883,
0.04983376,
0.009345631,
0.008603457,
0.03167571,
-0.014598496,
0.03156042,
0.004499882,
0.015419931,
-0.010368823,
-0.008862858,
0.009878844,
-0.013625743,
-0.047527976,
0.0052168365,
-0.033606805,
-0.021270858,
0.02592566,
-0.05159192,
-0.0325692,
-0.020146789,
0.039227154,
-0.0071371226,
-0.033635627,
0.015261409,
-0.030724574,
-0.037094302,
0.020752057,
-0.026084183,
0.017754538,
0.0080486275,
0.047873843,
0.03533614,
0.09142434,
0.014591291,
-0.0059986417,
0.0320504,
0.014540851,
0.017423082,
-0.021011459,
-0.015938733,
-0.020564713,
-0.0053429343,
-0.03859306,
-0.036287278,
0.008495374,
0.022366107,
-0.0061175334,
-0.043694608,
0.0074937986,
0.0012114374,
0.010902036,
0.011745088,
0.07372745,
-0.03732488,
0.020607946,
-0.022697562,
0.045049258,
-0.03706548,
-0.040264755,
-0.044126943,
-0.0035055124,
-0.010188684,
-0.08266236,
-0.0008281908,
-0.048335,
-0.015304643,
0.005224042,
-0.027885577,
-0.021890538,
0.028851124,
0.040495332,
0.00926637,
0.026934441,
-0.013135764,
0.0052204393,
0.058566917,
0.03156042,
-0.022077883,
0.060642123,
0.05309068,
-0.021141158,
0.030868685,
0.031214552,
0.027943222,
0.011226286,
0.015996378,
0.001985136,
-0.001099751,
-0.042916406,
-0.047124464,
-0.0107074855,
0.060008034,
0.019238887,
-0.017812183,
-0.01729338,
-0.004701638,
-0.05948923,
0.00653906,
-0.044501632,
0.01070028,
-0.034500293,
0.008992558,
-0.006906544,
-0.057154626,
0.2467189,
0.08150947,
0.06450431,
0.0023382092,
0.030004017,
0.061160926,
0.0014780436,
-0.04882498,
0.011824349,
-0.022423752,
0.01327267,
-0.016817814,
0.017653659,
0.021602316,
0.033405047,
0.03317447,
-0.03081104,
0.010527345,
-0.019253297,
-0.03279978,
-0.06415845,
0.0435505,
0.008625073,
0.0037505021,
0.0073749064,
-0.014360712,
0.019887388,
-0.006755227,
-0.02379281,
-0.033088002,
0.0078108436,
-0.0047953106,
0.014987597,
-0.003934244,
-0.000407115,
0.016788991,
-0.019584754,
-0.062717326,
0.003384819,
0.04280112,
0.0035289305,
-0.04971847,
0.00028236848,
-0.00020254422,
-0.013265464,
0.034846164,
-0.02367752,
0.013106942,
0.022337284,
-0.05309068,
-0.0024913277,
-0.018388629,
0.052571878,
-0.03602788,
-0.037641928,
0.020809703,
-0.021069102,
-0.011355987,
-0.034990273,
0.0333474,
-0.058048114,
0.029946372,
-0.0045214985,
-0.020852935,
-0.019728865,
0.02617065,
0.026040949,
0.050150804,
-0.033750914,
0.028649367,
0.021890538,
-0.026040949,
0.0131213525,
0.0037216798,
0.0017293381,
0.037411347,
0.011233492,
0.042916406,
0.013503249,
-0.04882498,
0.012415206,
-0.0094609205,
-0.079376616,
-0.032108042,
0.010289562,
0.04919967,
-0.028462023,
0.016544001,
0.014684963,
0.037641928,
-0.0078108436,
-0.0005570811,
0.032165688,
-0.025767138,
-0.0012780889
] | The tokenizer returns a dictionary with three important items:
input_ids are the indices corresponding to each token in the sentence.
attention_mask indicates whether a token should be attended to or not.
token_type_ids identifies which sequence a token belongs to when there is more than one sequence.
Return your input by decoding the input_ids:
tokenizer.decode(encoded_input["input_ids"])
'[CLS] Do not meddle in the affairs of wizards, for they are subtle and quick to anger. [SEP]' |
[
0.025511455,
-0.019959738,
0.0076372805,
0.016229222,
-0.023411203,
-0.027009536,
0.0061832597,
0.032693435,
-0.037863288,
0.06233196,
0.009157393,
0.02382244,
-0.040183846,
-0.032340948,
-0.05161039,
-0.033985898,
0.007046126,
-0.046411168,
-0.051698513,
-0.01382054,
0.0330753,
0.011749662,
-0.039478865,
-0.027479524,
-0.025261775,
0.00774009,
0.000955578,
-0.0061685727,
0.060628258,
0.04036009,
-0.022441855,
0.034455884,
-0.005401173,
-0.041858174,
-0.0230734,
-0.029286033,
0.020077236,
-0.058425196,
-0.013475394,
0.0021241186,
0.010780315,
-0.012777758,
0.02508553,
-0.063213184,
-0.06632684,
-0.0028951901,
-0.014371306,
-0.00159263,
-0.036130212,
-0.020033175,
-0.01950444,
-0.0062089623,
0.059100803,
-0.009620036,
-0.040036976,
-0.038891383,
-0.008716781,
0.027127033,
-0.030930987,
-0.029550401,
-0.0023168866,
0.024688978,
-0.03845077,
-0.045471195,
-0.031606592,
0.0011052026,
-0.02794951,
-0.00691027,
-0.014319901,
-0.044061232,
-0.04532432,
0.016684521,
-0.015347997,
0.00318526,
-0.05210975,
-0.013541486,
0.021472508,
-0.009656753,
-0.006113496,
0.05469468,
0.010148771,
0.024806475,
0.020840963,
-0.029286033,
0.0045933835,
-0.03754017,
0.035160866,
-0.009825655,
0.011147493,
-0.03201783,
0.014584268,
0.046616785,
-0.018035732,
-0.017756678,
0.05951204,
0.04021322,
0.019871617,
0.019842243,
0.0031411988,
-0.009495196,
0.026231121,
0.039185125,
-0.023514012,
0.05780834,
-0.00952457,
0.029711958,
0.049583577,
0.023998685,
-0.02558489,
0.031107232,
-0.006638559,
-0.030196633,
-0.0061869314,
-0.043796867,
-0.06650309,
0.046264295,
0.0122930845,
-0.01105937,
-0.052286,
-0.034661505,
0.038568266,
-0.014980819,
0.009884403,
-0.046910528,
0.000843589,
-0.072495416,
0.014224435,
0.022911841,
-0.04062446,
0.026950788,
0.054224692,
-0.001528374,
0.025555516,
0.010949217,
0.0067927735,
-0.0011198897,
-0.029344782,
-0.0118891895,
0.025320522,
-0.022999965,
0.023969311,
0.0062089623,
0.0013613085,
0.05351971,
0.022280298,
-0.028918857,
0.014518176,
0.008011801,
-0.040125098,
0.027376713,
-0.07772402,
0.003266039,
0.0103397025,
0.035953965,
-0.022250922,
-0.0031008094,
0.009686128,
-0.0148633225,
0.006550437,
0.0029667898,
-0.010861094,
0.0026675405,
-0.012116839,
0.06938176,
0.020385664,
0.024498045,
-0.007872274,
-0.033721533,
0.033369042,
-0.028918857,
0.03971386,
-0.018711338,
0.005467265,
0.030989734,
0.015450806,
0.032252822,
0.031870957,
0.01359289,
0.010420482,
0.02935947,
0.01653765,
-0.007042454,
0.019871617,
0.007864931,
0.031606592,
0.012241679,
0.0069359727,
0.0018817818,
-0.022720909,
0.0067119948,
0.06644434,
0.06309569,
0.011566074,
-0.0011042847,
-0.025496768,
0.02081159,
-0.017213255,
0.05628088,
0.010883125,
-0.021340324,
-0.0226181,
0.06309569,
-0.032693435,
0.037628293,
-0.033134047,
-0.022647474,
0.03780454,
0.056721494,
-0.05075854,
-0.018579153,
0.056927115,
0.0072407294,
-0.03392715,
-0.010721567,
-0.0057426477,
-0.037657667,
-0.009098644,
0.029241972,
-0.007593219,
0.01058204,
-0.002023145,
0.020121297,
0.025438018,
0.0028456214,
-0.03548398,
-0.038568266,
0.006994721,
0.034514632,
0.00063934684,
0.020870337,
0.02166344,
0.023646196,
0.0025610593,
0.03900888,
-0.00060492405,
0.014833949,
0.055869646,
0.051081657,
-0.009686128,
-0.004824705,
0.0040866793,
0.026407367,
0.020840963,
0.029006978,
-0.010200175,
0.013108217,
-0.0038112968,
0.010501261,
-0.03618896,
0.03886201,
-0.047791753,
0.038068905,
0.03231157,
-0.0021296262,
-0.050876036,
-0.027024223,
0.039772607,
0.033604033,
-0.01608235,
-0.0067156665,
0.03542523,
0.04532432,
0.02618706,
-0.035748348,
0.01929882,
0.00881959,
0.033104673,
0.02332308,
-0.03131285,
-0.03157722,
0.003583647,
-0.043003764,
-0.052638486,
0.010883125,
0.0068405066,
-0.03066662,
-0.034749627,
-0.061861973,
-0.0057096016,
-0.036512077,
-0.007886961,
-0.032252822,
-0.02492397,
0.049172338,
0.018476345,
0.011096087,
-0.05895393,
0.010684849,
0.0071012024,
0.06714932,
-0.013130248,
-0.0032036188,
-0.023352453,
-0.021780936,
-0.017697928,
-0.015671112,
0.007894305,
-0.01603829,
-0.033956524,
0.007071828,
-0.013886632,
0.021149393,
0.007024095,
0.034162145,
-0.014224435,
0.024013372,
0.041681927,
-0.010471887,
0.038157027,
0.0600114,
-0.022309672,
0.024468672,
-0.012704322,
0.022764971,
-0.025614263,
0.038744513,
0.027993571,
-0.008973804,
-0.0055884332,
-0.030314129,
-0.019063827,
0.0024747727,
0.0012410581,
-0.013203683,
0.017227942,
0.059423916,
-0.024336489,
-0.029065728,
0.0064329403,
-0.033457164,
0.01392335,
0.009245516,
-0.014635673,
0.024747726,
0.037892662,
0.00541586,
-0.031283475,
-0.06256695,
-0.015274561,
0.03668832,
-0.0040719924,
-0.027112346,
0.01382054,
0.025540829,
0.012520734,
0.017697928,
0.020885024,
-0.027435461,
-0.01392335,
-0.020018488,
0.0030365533,
0.020091923,
0.026157686,
0.027993571,
0.03181221,
0.04282752,
-0.025261775,
-0.01854978,
0.02990289,
0.016699208,
0.023514012,
0.013100874,
-0.0101854885,
-0.0009473165,
-0.021340324,
-0.02236842,
-0.031136606,
0.0011033667,
0.052139126,
-0.0043400316,
-0.00083532755,
0.03192971,
-0.02311746,
0.02537927,
-0.05604589,
-0.037569545,
0.051492896,
0.017154507,
0.049172338,
-0.016346717,
-0.006759728,
-0.0080632055,
-0.0045419787,
0.016816704,
0.03695269,
0.045030583,
-0.008613971,
-0.004200504,
0.002660197,
0.007009408,
0.032987177,
-0.014584268,
0.025364583,
-0.013482737,
-0.04714552,
-0.038832635,
0.008562567,
0.035454605,
0.034720253,
0.0019533813,
0.03366278,
-0.013938037,
0.016757956,
0.04723364,
0.0070644845,
-0.0054562497,
-0.04085945,
0.049730446,
0.008951774,
0.023749005,
-0.032194074,
0.011118118,
-0.010376421,
0.037128933,
0.010721567,
-0.0026381663,
0.007196668,
-0.009216142,
0.033134047,
0.019416317,
-0.036130212,
-0.05061167,
-0.027729204,
0.009289577,
0.028272625,
-0.032752182,
0.00095007033,
-0.022339046,
0.04232816,
0.04282752,
0.0045529944,
-0.044501845,
-0.012939315,
-0.025349896,
-0.055957768,
0.012763071,
0.057690844,
0.0074610356,
0.030196633,
-0.02840481,
0.012660261,
0.007953052,
-0.028889483,
-0.0031650653,
-0.0077841515,
-0.012131526,
-0.024013372,
0.03419152,
0.007457364,
-0.0538722,
0.0045162765,
-0.021222828,
-0.009003179,
-0.039038252,
-0.012748384,
-0.022456542,
-0.025041468,
-0.0052139126,
0.037305176,
0.009436447,
-0.0028419497,
0.002309543,
0.027861387,
-0.009678785,
-0.04232816,
-0.0013310164,
0.045911808,
-0.02583457,
0.01334321,
-0.0032935773,
0.018652588,
-0.012454642,
0.020679405,
-0.015803296,
-0.0019919348,
-0.016684521,
-0.00404629,
0.0034147457,
-0.024248365,
0.022001242,
-0.030637244,
0.050641045,
0.03492587,
-0.026994849,
-0.04975982,
-0.05804333,
-0.011007965,
0.00535344,
-0.022588726,
0.029095102,
0.009186767,
-0.025364583,
0.023602134,
-0.041799422,
0.029388843,
-0.031724088,
-0.028536992,
-0.04156443,
0.05628088,
0.043943737,
0.058895182,
-0.007820869,
-0.010515948,
0.030284755,
-0.025658324,
-0.015450806,
-0.019005079,
-0.007024095,
0.030754741,
-0.015700486,
-0.016596397,
0.03257594,
0.0029539384,
-0.014855979,
0.022853093,
-0.019019766,
0.0142905265,
-0.018755399,
-0.032899056,
0.04814424,
-0.00018186733,
-0.084832564,
-0.02814044,
0.0049128276,
0.012432612,
0.0048540793,
0.019078514,
-0.031635966,
-0.016992949,
-0.03527836,
0.04473684,
-0.029462278,
0.0003678654,
-0.05413657,
-0.028889483,
-0.02181031,
0.048878595,
-0.01201403,
-0.08113142,
-0.01047923,
-0.039566986,
0.028816046,
-0.0057903803,
-0.04232816,
-0.03366278,
-0.014833949,
-0.036218334,
0.021854373,
-0.005827098,
0.01763918,
-0.0029612822,
-0.017257316,
0.01935757,
0.035102118,
-0.049436703,
0.03689394,
-0.029109789,
-0.00975222,
-0.0043583903,
-0.008555223,
-0.026143,
0.027611706,
-0.043855615,
0.009377699,
-0.044443097,
-0.006895583,
-0.03116598,
0.008467101,
0.013482737,
-0.033339668,
-0.032957803,
-0.039625738,
0.06855928,
0.004810018,
0.047733005,
-0.034103394,
0.008364291,
-0.056075264,
-0.036218334,
0.006686292,
0.0027685142,
0.010971247,
0.010611414,
0.0009831163,
0.0678543,
-0.021634066,
0.025702387,
0.05604589,
-0.0058711595,
-0.00529102,
-0.07314165,
0.033369042,
-0.007820869,
-0.027523585,
-0.016552337,
0.036482703,
-0.059600163,
0.0031467064,
-0.0321647,
-0.027420774,
-0.03316342,
0.025981441,
0.08489131,
-0.052227248,
0.05266786,
0.004428154,
-0.0478505,
-0.01664046,
0.03483775,
-0.0072223707,
0.03201783,
0.035953965,
0.010486574,
0.0022709894,
-0.011485295,
-0.022250922,
-0.003807625,
-0.029241972,
0.030461,
0.025511455,
0.015597677,
0.028918857,
0.027699828,
-0.039126378,
-0.050200433,
0.023499325,
-0.02322027,
-0.03610084,
-0.029021665,
0.021208141,
-0.0036075136,
-0.05645713,
0.02186906,
0.049994815,
-0.045265574,
-0.0013842571,
0.0072076833,
-0.0000272801,
-0.022544665,
0.041388188,
0.0496717,
-0.03392715,
0.010170802,
-0.056868367,
0.008430383,
-0.017727302,
0.0030237022,
0.07061547,
0.03704081,
0.043268133,
0.023837127,
-0.006524734,
0.065504365,
-0.062919445,
-0.019798182,
0.0005392911,
-0.059629537,
-0.04232816,
-0.00264551,
0.0002268465,
-0.031959083,
0.01130905,
0.0071893246,
0.009598006,
0.020752842,
0.0763728,
-0.0034202533,
-0.039273247,
0.02935947,
-0.008716781,
-0.035307735,
-0.03251719,
-0.018109167,
-0.0064916885,
0.02060597,
-0.00433636,
-0.036570825,
0.01788886,
-0.023190897,
-0.050053563,
-0.015318622,
-0.07014549,
-0.0067450404,
-0.021795623,
-0.006190603,
-0.022515291,
-0.047028024,
0.0050890725,
-0.0009858701,
-0.0074279895,
-0.0067450404,
-0.02463023,
0.03192971,
-0.01603829,
-0.012689635,
-0.016420154,
-0.02709766,
0.006436612,
-0.005320394,
-0.021237515,
0.034808375,
0.0435325,
-0.009509883,
0.004887125,
0.0029704615,
0.0037048154,
0.0061428705,
0.0065063755,
0.0435325,
-0.018755399,
0.03745205,
-0.011969969,
0.0070938584,
-0.049436703,
-0.004094023,
-0.0024343831,
-0.019122576,
0.057573345,
0.031489097,
0.055722773,
0.04579431,
0.017609807,
0.011426547,
-0.002214077,
0.054489058,
0.022691535,
0.009083957,
0.0004192702,
-0.027920134,
-0.000764646,
-0.0032880695,
0.00043717006,
0.031048482,
-0.027053598,
0.025158964,
0.019945052,
-0.017756678,
-0.07108546,
-0.00019299738,
-0.03272281,
0.0040573054,
0.041241314,
-0.025305836,
0.016846078,
0.031342223,
-0.012109496,
0.019254759,
-0.036982063,
-0.02689204,
0.01950444,
-0.01985693,
-0.02487991,
-0.04884922,
-0.039772607,
0.02311746,
0.016757956,
0.024600856,
0.02749421,
0.043003764,
0.02176625,
-0.020591283,
-0.02628987,
-0.03242907,
-0.02653955,
0.0008174277,
0.0020341603,
-0.013607577,
0.03950824,
0.026730482,
-0.0035506012,
-0.01683139,
-0.037481423,
-0.015920792,
-0.0003469822,
0.026480801,
-0.0012061762,
0.00452362,
-0.07173169,
0.006862537,
-0.04226941,
-0.010244237,
-0.039390743,
0.01940163,
0.032899056,
0.00053240656,
-0.0005314886,
0.014055533,
0.04664616,
-0.023587447,
-0.012887911,
0.029447591,
0.0050156373,
-0.034749627,
0.005221256,
0.004905484,
0.035102118,
0.055370282,
0.023793066,
0.0011373305,
0.032399695,
0.017580433,
-0.011338424,
-0.028213877,
0.048291113,
0.01548018,
-0.008151328,
-0.020047862,
-0.020415038,
-0.0023774707,
-0.008467101,
0.01603829,
0.00684785,
0.0029025339,
-0.013952724,
-0.019768806,
-0.050729167,
-0.000019434561,
0.011771693,
-0.016390778,
-0.031136606,
-0.0136957,
0.020282855,
0.07155544,
0.024483358,
-0.0022416152,
0.037422676,
0.0104645435,
0.020503161,
0.019783493,
-0.021590004,
0.028566366,
0.00029397104,
0.05880706,
-0.03759892,
-0.0020304886,
-0.013291806,
-0.006675277,
-0.021957181,
0.019783493,
-0.022882467,
-0.03986073,
-0.013504768,
-0.017477622,
-0.0045823683,
-0.0100312745,
0.022236235,
-0.013629609,
-0.014055533,
0.019460378,
-0.032487817,
-0.021722188,
0.01587673,
-0.011250301,
0.012425268,
0.004799003,
0.058425196,
0.024292426,
0.081542656,
0.03604209,
-0.021604693,
0.02678923,
0.017918235,
0.009216142,
-0.03131285,
0.00821742,
-0.02186906,
-0.009575975,
-0.027626393,
-0.04514808,
0.02257404,
0.054048445,
-0.0026400022,
-0.016464215,
0.03774579,
-0.014628329,
0.014312558,
0.012329802,
0.05795521,
-0.021736875,
0.011867159,
-0.013519456,
0.030343503,
-0.04644054,
-0.050082937,
-0.053666584,
-0.012102152,
-0.0033486537,
-0.09781594,
-0.012146213,
-0.032899056,
-0.027905447,
-0.011397173,
-0.0003249516,
-0.023029339,
0.022250922,
0.019621937,
0.012689635,
0.0032843978,
0.0082027335,
-0.020282855,
0.056927115,
0.024968032,
-0.008760842,
0.053255346,
0.04382624,
-0.04538307,
0.04805612,
0.028390123,
0.02156063,
0.018637901,
0.0038149685,
0.000103727485,
-0.0005149657,
-0.043209385,
-0.06297819,
-0.008577254,
0.07555033,
0.043708745,
-0.008136641,
-0.040125098,
-0.0059335795,
-0.065210626,
-0.012329802,
-0.02975602,
0.020650031,
-0.023910563,
0.011154836,
-0.0076739984,
-0.075021595,
0.2577876,
0.040918197,
0.047263015,
0.005691243,
0.034867123,
0.06162698,
-0.015568303,
-0.02940353,
0.016655147,
-0.034220893,
0.018417595,
-0.015773922,
-0.0014521849,
0.025247088,
-0.004846736,
0.0487611,
-0.045030583,
0.0043216725,
-0.008019145,
-0.017947609,
-0.06938176,
0.037305176,
-0.005243287,
0.062919445,
0.0071012024,
0.00280156,
0.05745585,
-0.033692155,
-0.03237032,
-0.039831355,
0.03378028,
-0.004064649,
-0.006069435,
-0.022897154,
-0.016023602,
0.015171751,
-0.014980819,
-0.07161419,
-0.004508933,
0.044942457,
0.022206862,
-0.044149358,
-0.007864931,
-0.011933251,
-0.045265574,
0.02819919,
-0.03527836,
0.041329436,
0.044208106,
-0.058337074,
-0.00008594235,
-0.028169816,
0.05193351,
-0.043268133,
-0.05152227,
0.008415695,
-0.049877316,
-0.028977605,
-0.014936758,
-0.00014354324,
-0.0626257,
0.022809032,
-0.02266216,
-0.008371634,
-0.019989112,
0.023088086,
0.02452742,
0.02890417,
-0.042533778,
0.021634066,
0.026275182,
-0.013453363,
0.010361734,
-0.01548018,
-0.000068386704,
0.016978262,
-0.014951445,
0.036012717,
0.026554236,
-0.06021702,
0.00088030676,
-0.0086360015,
-0.047321767,
-0.04306251,
0.004846736,
0.04550057,
-0.007938365,
-0.0022342717,
0.0072774473,
0.03201783,
0.025658324,
0.03704081,
0.023734318,
-0.021648753,
0.014870667
] | Return your input by decoding the input_ids:
tokenizer.decode(encoded_input["input_ids"])
'[CLS] Do not meddle in the affairs of wizards, for they are subtle and quick to anger. [SEP]'
As you can see, the tokenizer added two special tokens - CLS and SEP (classifier and separator) - to the sentence. Not all models need
special tokens, but if they do, the tokenizer automatically adds them for you.
If there are several sentences you want to preprocess, pass them as a list to the tokenizer: |
[
0.029753411,
0.0062574334,
-0.0029865024,
-0.0020468072,
-0.027449178,
-0.050088268,
0.0074023493,
-0.0012682284,
-0.0077839876,
0.07223771,
-0.021458171,
0.022466274,
0.017555377,
-0.024050433,
-0.057749845,
-0.0091377245,
-0.035110753,
-0.08036013,
-0.02085331,
0.0072511337,
0.011175531,
0.032172855,
-0.07569406,
-0.022855112,
-0.04061211,
0.030099045,
0.0074815573,
0.014142231,
0.045393392,
0.03130877,
-0.000029196704,
0.035312373,
-0.005850592,
-0.0681477,
0.015596778,
-0.027089141,
0.06878136,
-0.003251129,
0.007567966,
-0.017872209,
0.016633684,
-0.027103543,
0.013983815,
-0.03505315,
-0.05798027,
-0.046487905,
-0.02212064,
-0.006934302,
-0.014567074,
-0.017137734,
0.021112537,
-0.005800187,
0.07183447,
0.013191735,
-0.032835323,
0.0015643584,
-0.008093619,
-0.003587763,
-0.039431192,
-0.006837092,
-0.030012637,
0.03934478,
-0.023560785,
-0.05406307,
-0.045479804,
0.010873101,
0.022754302,
0.014567074,
-0.013638181,
-0.04467332,
-0.022005428,
0.012162031,
-0.033613,
-0.030502288,
-0.06567065,
-0.013803797,
-0.014437461,
-0.007755185,
-0.014876706,
0.080475345,
-0.0148191,
0.02302793,
0.00049460004,
-0.01165798,
-0.01067148,
-0.053285394,
0.042081058,
-0.020046828,
0.015063925,
-0.025735404,
0.0055697635,
0.010995513,
-0.025721002,
0.027348367,
0.046487905,
0.040842533,
-0.0024914523,
0.060486123,
0.012457261,
-0.009656177,
0.062156692,
0.060428515,
-0.006945103,
0.04378043,
0.0023726402,
0.030703908,
0.04654551,
0.020176442,
-0.055791248,
0.03706935,
-0.0034041444,
-0.0052457307,
0.0013780395,
-0.03865351,
-0.040295277,
0.03130877,
0.021991026,
0.010196232,
-0.027391572,
0.0030783114,
-0.0076399734,
-0.0031359175,
0.01965799,
-0.0167921,
0.017324954,
-0.07033672,
0.0031503187,
0.029436579,
-0.038106255,
-0.0024320462,
0.033843424,
0.011830797,
0.021486975,
0.030444682,
-0.016619282,
0.015841603,
-0.0012070221,
-0.011477961,
0.033440184,
0.0051233186,
0.015294348,
-0.017411362,
-0.024165645,
0.074369125,
0.011017115,
-0.017756997,
-0.0002826286,
0.006117019,
-0.012918107,
-0.0009032414,
-0.06711079,
0.02153018,
-0.008914502,
-0.0023168344,
-0.037818227,
0.011089122,
-0.012039619,
-0.0001817059,
-0.0296382,
-0.006574265,
0.011427556,
-0.030271864,
-0.0070603145,
0.067398824,
-0.03833668,
0.05870034,
-0.049051363,
-0.012104425,
0.004435649,
-0.02599463,
0.02707474,
0.004860492,
0.01561118,
0.034045044,
0.03292173,
0.041159365,
0.02638347,
-0.022264654,
0.007971207,
0.008367247,
-0.024439273,
-0.011002714,
-0.008482458,
0.00028240358,
-0.004820888,
0.010052217,
0.009908203,
-0.031049542,
-0.037789423,
-0.009836195,
0.058239494,
0.04651671,
-0.04113056,
0.0147398915,
0.00840325,
0.01788661,
-0.03577322,
0.008432053,
-0.010772291,
-0.0523925,
-0.017973019,
0.04723678,
0.041850634,
0.013105326,
-0.008669677,
-0.011290743,
0.059737246,
0.04228268,
-0.046372693,
0.0022178246,
0.025216952,
-0.012831699,
-0.018318653,
0.0246985,
0.0073375427,
-0.019153938,
-0.015251144,
0.03724217,
-0.0011161129,
0.04424128,
-0.0246985,
0.017843407,
0.038365483,
0.022653492,
-0.013472564,
-0.029695805,
0.008036014,
0.022379866,
0.020810107,
0.049397,
0.023877617,
0.021170143,
0.008583269,
0.0740811,
-0.015323151,
0.032028843,
0.03505315,
0.04138979,
-0.0017875809,
-0.017051326,
-0.010196232,
-0.0015760595,
0.041879438,
-0.015467165,
0.022941522,
0.040554505,
-0.012334849,
-0.0050333096,
-0.036320478,
0.03439068,
-0.023258355,
0.064921774,
0.022711098,
0.0043852436,
-0.010160228,
-0.053775042,
-0.005296136,
0.026426675,
-0.039776824,
-0.03545639,
0.027578792,
0.008878498,
0.034246664,
-0.028140448,
0.020234048,
0.04951221,
0.008734484,
-0.005663373,
-0.021486975,
-0.016777698,
-0.044932548,
-0.06515219,
-0.052507713,
0.00021815958,
-0.031366374,
-0.021558981,
-0.016230443,
-0.034160256,
-0.00078487943,
0.0032889328,
-0.017540975,
0.017728195,
-0.022955922,
0.045825437,
-0.0035445588,
-0.010829896,
-0.05118278,
0.010145827,
0.008921703,
0.055589627,
-0.0066606742,
0.019513976,
-0.03174081,
-0.045364592,
-0.026109843,
-0.00375518,
0.02695953,
-0.004860492,
-0.014790297,
-0.0147758955,
0.003863191,
0.0022088236,
-0.008208831,
0.008381648,
-0.019211544,
0.049022563,
0.07137363,
-0.00968498,
0.02341677,
0.04524938,
-0.04424128,
0.052882154,
0.010678681,
0.004702076,
-0.012730888,
0.020306055,
0.040266477,
0.03081912,
-0.012320447,
-0.02363279,
-0.03508195,
0.010880301,
-0.011413155,
-0.047668826,
0.0005031509,
0.033670608,
-0.0434636,
-0.05259412,
0.025576988,
-0.06503698,
-0.03320976,
-0.000027719992,
0.014991918,
0.045422196,
0.009872199,
-0.0040252074,
-0.029206157,
-0.026498681,
0.00869848,
0.049944256,
0.018793901,
-0.011132327,
-0.026844317,
0.00948336,
-0.0058145886,
0.012702085,
0.036982942,
-0.019845208,
-0.0016462667,
-0.009454557,
0.036205266,
0.033065747,
0.026325865,
0.0012268241,
0.014156633,
0.04585424,
-0.04257071,
0.020939719,
0.046948753,
0.01808823,
0.032432083,
0.009411353,
-0.004370842,
0.0049649025,
-0.01669129,
-0.023359165,
0.006394247,
0.009101721,
0.032057643,
-0.035513993,
0.028889325,
0.010592272,
-0.016446464,
0.025346566,
-0.017152136,
-0.05711618,
0.044730928,
0.008936104,
0.060486123,
-0.02243747,
0.011297943,
0.0013015317,
-0.012219637,
0.024180047,
0.037299775,
0.06284796,
-0.00058145885,
-0.024885718,
-0.027607594,
0.026613893,
0.00045972152,
-0.017944217,
-0.024583288,
-0.016777698,
-0.040266477,
-0.024453675,
0.015841603,
0.011614775,
0.0444717,
-0.002194422,
0.014574275,
-0.022855112,
0.016072027,
0.041620214,
0.006808289,
-0.027535588,
-0.03012785,
0.0543223,
0.00086228724,
0.0070603145,
-0.06509459,
-0.0033951437,
-0.03980563,
0.024367265,
0.0025166548,
-0.0013681385,
-0.044356488,
0.009022513,
0.01274529,
-0.01739696,
-0.0064482526,
-0.020997325,
-0.0066930773,
0.005062112,
0.060889363,
-0.03675252,
-0.00978579,
-0.0011512166,
0.0018793902,
0.015740793,
-0.002846088,
-0.016763296,
-0.049368195,
-0.04118817,
-0.046171073,
0.0006314139,
0.047784038,
0.0019675991,
0.036781322,
-0.03871112,
0.02528896,
0.009238535,
-0.015135932,
-0.020478873,
0.007517561,
-0.016676888,
0.0050369096,
0.038163863,
-0.024669698,
-0.029782213,
0.029782213,
-0.046775933,
0.005540961,
-0.042340286,
0.016288048,
-0.019931618,
-0.028471682,
0.011175531,
0.049454603,
0.0077911885,
-0.026138645,
0.0003625117,
0.02549058,
-0.020594085,
-0.06878136,
0.011038717,
0.027708404,
-0.0133429505,
0.0092097325,
-0.017728195,
0.006153023,
0.020608487,
0.022207048,
0.0022196246,
0.0027632797,
0.003427547,
0.035312373,
-0.019974822,
-0.008187229,
0.031567995,
-0.023964025,
0.018405063,
0.006084616,
-0.006955904,
-0.028774112,
-0.06832051,
0.0035715615,
0.007467156,
0.0014707488,
0.036003646,
0.02479931,
-0.010138626,
0.012723688,
-0.05060672,
-0.02163099,
-0.026138645,
0.000055974415,
-0.039373584,
0.06474895,
0.01116833,
0.027780412,
-0.019744398,
-0.01798742,
0.018145837,
-0.01205402,
0.016547274,
-0.02341677,
-0.014315049,
-0.0059081977,
-0.01957158,
-0.0066858768,
0.022912718,
0.003468951,
-0.022898318,
0.004266432,
-0.0070279115,
0.018304253,
0.0072475336,
-0.038970344,
0.069415025,
0.00770478,
-0.05466793,
0.0043240376,
0.004457251,
0.007625572,
0.01224844,
0.030156652,
-0.024640894,
-0.016446464,
-0.06077415,
0.028774112,
-0.035485193,
0.006185426,
-0.06273275,
-0.029522987,
-0.042541906,
0.030991936,
-0.023589587,
-0.078401536,
-0.0025814613,
-0.044903744,
0.015049523,
0.015366355,
-0.025317762,
-0.025476178,
0.0014365454,
-0.01176599,
0.02904774,
-0.0018685891,
-0.0020918117,
0.009519364,
-0.028788514,
0.011888403,
0.07402349,
-0.07338983,
0.013407757,
-0.0010756089,
0.000071669754,
-0.016561676,
0.0038271872,
-0.017555377,
0.020190844,
-0.037501395,
-0.012766892,
-0.056424912,
-0.043434795,
-0.050923552,
-0.010743488,
0.06659234,
-0.056280896,
-0.04801446,
-0.037414987,
0.0405257,
0.04041049,
0.033872228,
-0.02706034,
-0.019643588,
-0.06987587,
-0.0395176,
0.033958636,
0.003647169,
0.014538271,
0.018246647,
-0.012853301,
0.050462708,
-0.040698517,
0.037414987,
0.09827555,
-0.016964916,
0.023359165,
-0.04614227,
0.028025236,
-0.00632584,
-0.040295277,
0.035888433,
-0.014660683,
-0.015783997,
-0.004158421,
-0.03804865,
-0.05504237,
-0.009310543,
0.00081503246,
0.03922957,
-0.042628314,
0.036435686,
-0.009800192,
-0.0355716,
-0.027838018,
0.04951221,
0.02500093,
0.027521186,
0.0563385,
-0.006563464,
-0.0012574273,
-0.019413164,
-0.023820011,
-0.0014392457,
-0.020075632,
0.037674215,
-0.01491991,
-0.03231687,
0.0315968,
0.020003624,
-0.04098655,
-0.05247891,
0.032633703,
-0.013508568,
-0.012579673,
-0.039402388,
-0.027348367,
0.03332497,
-0.033641804,
0.0035301573,
0.030387076,
-0.028313266,
-0.0035607603,
0.012082823,
-0.010721885,
-0.026455477,
0.047006357,
0.044529308,
-0.02134296,
0.010268239,
-0.07431152,
-0.0068190903,
-0.018333055,
-0.0021476173,
0.055272795,
0.0053861453,
0.021659791,
0.026930725,
0.008129623,
0.075521246,
-0.03773182,
0.0036507696,
0.003072911,
-0.017944217,
-0.043146767,
-0.017310552,
0.024468075,
-0.0062898365,
0.015539173,
-0.0033501391,
-0.019197144,
-0.0104698595,
0.04507656,
-0.017454566,
-0.085832685,
0.021386165,
-0.022984726,
-0.0415338,
-0.04357881,
-0.04752481,
-0.007906401,
0.023834413,
-0.014307848,
-0.041735426,
-0.018894712,
-0.0060486123,
-0.07125841,
-0.02806844,
-0.050145876,
-0.008230433,
-0.05204687,
-0.009051316,
-0.017123332,
0.0048640925,
0.0069307014,
-0.006707479,
-0.027276361,
-0.02716115,
-0.04853291,
0.046574313,
-0.029753411,
0.010916305,
0.006613869,
-0.015827201,
0.029782213,
-0.0023186347,
-0.0044752527,
-0.02886052,
0.034016244,
-0.015366355,
-0.019211544,
-0.004230428,
-0.007135922,
-0.019053128,
0.029609397,
0.040439293,
-0.020133238,
0.03341138,
0.012608476,
0.04386684,
-0.05374624,
-0.039776824,
-0.01935556,
-0.00025112543,
0.025965828,
0.018189041,
0.015107129,
0.060025275,
0.011636377,
0.019830806,
-0.009461758,
0.02351758,
0.011384352,
0.0044536507,
-0.012932509,
-0.009029713,
0.022639092,
-0.0029883024,
0.005922599,
0.02046447,
-0.036982942,
0.028385272,
0.0076399734,
-0.040468097,
-0.03200004,
0.02132856,
-0.01462468,
0.016633684,
0.021011727,
-0.044990152,
-0.0045580612,
0.034304272,
-0.019413164,
0.0064482526,
-0.025677798,
-0.029580593,
0.015856005,
-0.013904607,
-0.0014797498,
-0.054984763,
-0.03407385,
-0.0062178294,
0.026023434,
0.016849706,
-0.008820892,
0.03885513,
0.010959509,
0.031481586,
-0.020320456,
-0.018549077,
-0.0066282707,
-0.0052997363,
-0.02490012,
-0.023359165,
0.025937025,
0.030415878,
0.0133141475,
-0.024568887,
-0.05198926,
0.010016214,
0.018016223,
0.02124215,
0.009944206,
0.022653492,
-0.05391906,
0.03488033,
-0.045134168,
-0.009368148,
0.012111626,
0.029580593,
-0.008216032,
0.02243747,
-0.019053128,
0.022711098,
0.026066639,
-0.010124224,
0.009159327,
0.020493275,
0.015337552,
-0.004367242,
0.012608476,
-0.043089163,
0.04611347,
0.06267514,
0.02559139,
-0.024036033,
0.018145837,
0.039373584,
-0.04090014,
-0.022048632,
0.025130544,
-0.014379855,
-0.011441958,
0.004882094,
-0.025951426,
-0.023157544,
-0.003978403,
-0.010721885,
0.016158435,
0.018923515,
-0.0042952346,
0.006541862,
-0.050894752,
0.023474377,
-0.015726391,
-0.018678691,
0.0010648078,
-0.017080128,
0.03479392,
0.045710225,
0.0013915409,
-0.034016244,
0.064518526,
0.022941522,
0.025360966,
0.025375368,
-0.018635485,
0.030300668,
0.020075632,
0.0021026128,
-0.02886052,
-0.009548167,
-0.004406846,
-0.025937025,
-0.06924221,
-0.0028208855,
0.0016120631,
-0.015668785,
0.05452392,
-0.030156652,
-0.024280857,
-0.038106255,
0.030963134,
-0.01215483,
0.036723718,
0.029753411,
-0.06106218,
-0.03813506,
0.041360985,
-0.012111626,
0.010397852,
0.012198035,
0.08341324,
0.027506784,
0.08220352,
-0.011377151,
0.004039609,
0.030070243,
-0.00424843,
-0.0045328587,
-0.02639787,
0.010793893,
-0.0070819166,
0.032662507,
-0.027377171,
-0.04133218,
-0.0026822714,
0.02429526,
-0.023085536,
-0.03683893,
0.016273648,
0.0118956035,
-0.008453656,
0.014307848,
0.05979485,
0.0148191,
0.006552663,
-0.019600384,
0.00464087,
-0.012493265,
-0.00967778,
-0.0047272784,
0.0356004,
-0.051096372,
-0.04118817,
-0.016518472,
-0.04772643,
-0.02935017,
0.020147638,
-0.009202532,
-0.0335842,
0.035542797,
0.028846119,
0.019197144,
0.02746358,
-0.017829005,
-0.015395158,
0.06474895,
0.036147658,
-0.0068298914,
0.033670608,
0.028903725,
0.0033429384,
0.0444429,
0.0035535595,
0.035513993,
0.038221467,
0.014552672,
0.01204682,
0.0041944245,
-0.038797528,
-0.051297992,
-0.022163844,
0.05020348,
0.017036924,
-0.026613893,
-0.07258335,
-0.014084625,
-0.07385068,
0.023589587,
-0.014639081,
0.05979485,
-0.0066678748,
-0.0035643608,
-0.017368158,
-0.056453712,
0.24724422,
0.09458877,
0.046084665,
-0.0008357346,
0.012867702,
0.028774112,
0.018102633,
-0.039488796,
0.0028028837,
-0.018750697,
0.028673302,
-0.037559003,
0.018361859,
0.033699412,
-0.0021584185,
0.027996434,
-0.06284796,
0.009411353,
-0.01166518,
-0.021645391,
-0.06019809,
0.014833502,
0.024424871,
0.039056752,
0.0038595905,
-0.0011926207,
0.029278163,
-0.021170143,
-0.0132781435,
-0.020968523,
-0.001036905,
-0.008165627,
0.034966737,
-0.003101714,
0.019024326,
0.03902795,
-0.008972108,
-0.064576134,
-0.011578772,
0.0072583347,
0.0065958677,
-0.013580575,
-0.0071791266,
-0.027722806,
-0.029522987,
0.04654551,
-0.006531061,
0.038999148,
0.060831755,
-0.0780559,
0.018707493,
-0.0052781343,
0.038970344,
-0.0147758955,
-0.04467332,
0.005148521,
-0.008338444,
-0.003526557,
-0.022379866,
0.03073271,
-0.014891107,
0.010145827,
0.050088268,
0.0019441968,
-0.022711098,
0.036291674,
0.006541862,
0.05700097,
-0.021501375,
0.0027326765,
0.034909133,
-0.007193528,
-0.020478873,
0.0043348386,
0.019830806,
0.022567084,
-0.002115214,
0.011125126,
0.028730908,
-0.04078493,
0.03081912,
-0.004028808,
-0.047870446,
-0.007913601,
-0.013825399,
0.061753448,
-0.015438362,
0.01739696,
-0.0133285485,
0.020219646,
0.0019928017,
-0.01996042,
-0.0011179132,
-0.020824507,
0.0060090083
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True, truncation=True)
print(encoded_input)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102, 0, 0, 0, 0, 0, 0, 0],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102, 0, 0, 0, 0, 0, 0, 0, 0]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]} |
[
0.03756829,
-0.013209988,
0.0003731145,
-0.0015592715,
-0.025656395,
0.0050674155,
-0.03282019,
0.016160196,
-0.014577497,
0.045120824,
0.016535046,
-0.0018482184,
-0.03368096,
-0.032209326,
-0.021088779,
0.026836477,
-0.008371648,
-0.043704722,
-0.021727411,
0.020241896,
-0.011710589,
-0.018117746,
-0.06253052,
-0.011294089,
-0.01575758,
-0.002868643,
0.0070145526,
0.02397651,
0.04595382,
0.033542126,
-0.026128428,
0.03243146,
0.006608465,
-0.058421053,
-0.013182222,
-0.023171278,
-0.0038387408,
-0.023337878,
-0.01546603,
0.0037068492,
0.047147788,
0.0068236566,
0.020977711,
-0.039511956,
-0.03898439,
0.0011809508,
-0.02776666,
0.03018236,
0.012682422,
-0.011266323,
-0.009975173,
0.03168176,
0.013404355,
-0.0017675215,
-0.08007905,
0.006917369,
-0.018742496,
0.03034896,
-0.022671478,
-0.017617946,
0.018284345,
-0.011349622,
-0.026975311,
-0.032875724,
0.015826996,
0.020269662,
-0.0023757848,
0.022324394,
-0.011446806,
0.0049632904,
-0.03915099,
-0.0003392739,
-0.05003552,
-0.03715179,
0.0012928852,
0.02884956,
0.02310186,
-0.024309712,
-0.025906295,
0.024406895,
0.021297028,
0.05753252,
0.01609078,
0.0016425715,
-0.005497799,
-0.06369672,
0.039206523,
-0.022699244,
0.017354162,
-0.024184762,
-0.024934461,
0.009392072,
-0.0030734222,
0.0074900566,
0.023337878,
0.03543026,
-0.016368447,
0.042371925,
-0.0028547598,
-0.04115019,
0.05814339,
0.056255255,
-0.0068479525,
0.027863843,
-0.038706724,
0.046092656,
0.03717956,
-0.0065390486,
-0.012286747,
0.019395012,
-0.026725411,
0.0036374326,
0.01542438,
0.0058171153,
-0.03998399,
0.04823069,
-0.015868647,
-0.015951946,
-0.01629903,
-0.0055220947,
0.02601736,
-0.005650515,
0.0038040325,
-0.037040725,
0.04048379,
-0.04823069,
0.011731414,
0.015438263,
0.013598722,
-0.035874527,
0.018617546,
-0.032459226,
0.021394212,
0.040511556,
0.01575758,
-0.0088228565,
-0.052895486,
0.024684561,
0.00022213328,
-0.010586039,
0.019728212,
-0.01492458,
0.021185962,
0.068250455,
0.011106664,
-0.02664211,
0.02476786,
-0.038956624,
-0.025059411,
0.02818316,
-0.04853612,
0.03043226,
0.0028374055,
0.017145913,
-0.031404093,
-0.029987993,
-0.0026881597,
0.0014542788,
0.015327197,
0.0024209057,
0.026378328,
-0.020352961,
-0.025114944,
0.058754254,
-0.020547329,
0.04795302,
-0.00966974,
-0.007149915,
0.03157069,
-0.04564839,
0.0128351385,
-0.021394212,
0.03193166,
0.018575896,
0.03481939,
0.08130078,
0.05306209,
-0.011835539,
0.008892273,
0.01663223,
-0.00011193435,
-0.004373249,
-0.01496623,
0.009156057,
0.00825364,
-0.017020963,
-0.00008373384,
0.008690964,
-0.00608784,
0.011030306,
0.020172479,
0.037623826,
-0.06486292,
-0.00916994,
-0.051173955,
0.0030612743,
-0.022421578,
0.06597359,
-0.0074553485,
-0.020727811,
-0.023018561,
0.04656469,
-0.05969832,
0.009058873,
-0.024559611,
0.019978112,
0.019978112,
0.04731439,
0.009829398,
-0.004230945,
0.038762257,
0.038706724,
-0.01804833,
-0.0015202246,
-0.01604913,
-0.014285947,
-0.009877989,
0.017395813,
-0.015105063,
0.0063134446,
-0.011266323,
-0.00010087107,
0.034763858,
0.006844482,
0.02693366,
-0.049369123,
-0.0004950275,
0.0038144449,
0.038290225,
-0.00991964,
-0.01425818,
0.028169276,
0.002613537,
0.05603312,
0.017631829,
0.0113079725,
0.05481139,
0.046287023,
-0.004914699,
0.01958938,
0.009836339,
-0.010141773,
-0.021644112,
-0.00036942674,
0.010377789,
-0.009468432,
-0.0019922578,
-0.009246298,
-0.081911646,
-0.002309839,
-0.05769912,
0.037540525,
0.015826996,
-0.0036825533,
-0.06863918,
-0.022949144,
-0.01659058,
-0.02347671,
-0.040317193,
0.0047133905,
0.03731839,
0.032736894,
-0.005497799,
-0.022032846,
0.07036072,
0.043676957,
0.00074232434,
0.034125227,
0.012404756,
-0.006861836,
-0.016701646,
-0.024309712,
-0.048674956,
0.00027658197,
-0.013251639,
-0.018256579,
0.005157657,
-0.03892886,
-0.0046543865,
-0.022615945,
-0.017812314,
0.0034378597,
-0.04645362,
0.044204522,
0.03201496,
0.016729413,
-0.052340154,
0.040122826,
-0.021102661,
0.043427058,
0.0023914035,
-0.026975311,
-0.002330664,
0.0065147527,
0.02651716,
0.01117608,
-0.007448407,
-0.017604062,
-0.013452947,
-0.010690164,
0.032709125,
0.0016712059,
0.00746229,
0.02780831,
-0.018159395,
0.041455623,
0.042427458,
-0.009704448,
0.04531519,
0.068028316,
-0.0059420653,
0.028655194,
0.008808973,
0.045093056,
-0.028405294,
0.013765322,
0.056338552,
-0.023740495,
-0.05953172,
-0.06319692,
-0.038373526,
0.0120090805,
0.042427458,
-0.044204522,
-0.0063585653,
0.043343756,
-0.028044326,
-0.033625428,
-0.022324394,
-0.04389909,
-0.0015618746,
0.018770263,
-0.027947145,
0.054922454,
-0.010370848,
0.013321055,
-0.039539725,
-0.033958625,
-0.0020807642,
0.00787879,
0.013369647,
-0.028710727,
-0.010329198,
0.03301456,
0.021533046,
0.03359766,
0.045870524,
-0.056088652,
0.029154994,
-0.0015176216,
0.06119772,
0.030820994,
0.00904499,
0.0072470983,
-0.010794289,
0.030126827,
-0.031209726,
0.02926606,
-0.0072262734,
0.025406495,
0.04406569,
0.009815514,
0.018242696,
-0.037873726,
-0.036485393,
0.0053589656,
-0.0035124826,
0.0024833807,
0.05886532,
-0.019297829,
0.003139368,
0.0031237493,
-0.0048591658,
0.0069486066,
-0.02200508,
-0.02876626,
0.037373926,
0.042566292,
0.028988393,
-0.0076566567,
-0.05703272,
-0.014910697,
0.0035541325,
0.04595382,
0.07119372,
0.015035647,
-0.000031834043,
0.013050331,
-0.009308773,
-0.010009881,
-0.0014898549,
0.0023254578,
-0.008475773,
-0.028460827,
-0.05406169,
-0.0075802985,
0.0018916037,
0.060142588,
0.045426257,
-0.005976774,
0.0037658534,
-0.021602461,
0.042760655,
0.022824194,
-0.0109886555,
-0.06564038,
-0.04670352,
0.07857965,
-0.010232015,
0.011967431,
-0.012724072,
-0.033125624,
-0.02360166,
0.03309786,
-0.025711928,
0.014438664,
-0.020311313,
-0.0043003615,
0.024712328,
0.003484716,
-0.035874527,
-0.071526915,
-0.025947943,
-0.019283945,
0.077191316,
-0.026350562,
0.004498199,
-0.005365907,
0.0078718485,
0.03207049,
0.0017041788,
-0.05381179,
-0.036041126,
0.0018534246,
-0.06275265,
0.030321194,
0.017617946,
-0.015479913,
0.013945805,
-0.033208925,
-0.006362036,
0.025545327,
-0.040317193,
0.004477374,
-0.03606889,
0.023171278,
0.005348553,
0.04550956,
-0.04595382,
-0.012460289,
0.0047307448,
-0.026836477,
0.057254855,
-0.02655881,
-0.004022695,
-0.023587778,
-0.01704873,
0.02260206,
0.055922054,
0.027822195,
-0.021269262,
0.00034404628,
0.060420252,
-0.019061813,
-0.039845157,
-0.0019124288,
0.04498199,
-0.0031567223,
0.01459138,
-0.009024165,
0.018978512,
-0.0018794559,
0.031653993,
-0.008906157,
-0.006157257,
0.0060218945,
0.010037648,
-0.07630278,
-0.03093206,
0.019186763,
-0.012078498,
0.011585639,
0.013300231,
-0.014535847,
-0.0037693242,
-0.05181259,
-0.01579923,
-0.008343881,
-0.0062127905,
0.030654393,
0.0027211327,
-0.0032938202,
-0.0042830072,
-0.04448219,
0.010912297,
0.013168339,
-0.040095057,
-0.003939395,
0.05464479,
0.053895086,
-0.0020911766,
-0.035291426,
-0.05178482,
0.058309987,
-0.02730851,
-0.004623149,
0.0042413576,
-0.013605664,
0.018506479,
-0.02851636,
-0.023448944,
-0.0040539326,
0.00011399516,
0.0022872787,
0.0065876404,
-0.027961027,
0.00039936267,
-0.0025337078,
-0.024948344,
0.021963429,
-0.048647188,
-0.018034445,
-0.019270062,
0.013314114,
0.032126024,
-0.005247899,
0.02780831,
0.0004902551,
-0.05869872,
0.003047391,
0.028905094,
-0.040206123,
-0.020158596,
-0.057976786,
-0.060920052,
0.044287823,
0.021421978,
-0.004147645,
-0.07113818,
0.01613243,
-0.03531919,
0.021671878,
-0.025045527,
-0.02200508,
-0.03151516,
-0.009683623,
-0.028419176,
0.062308386,
-0.021477511,
0.007007611,
-0.0023237225,
-0.01908958,
0.03157069,
0.07802431,
-0.04481539,
0.025670277,
-0.021074895,
-0.013786147,
0.035041526,
-0.027252978,
0.010710989,
0.032653593,
-0.03898439,
0.03257029,
-0.06686212,
-0.032237094,
-0.044926457,
-0.007573357,
0.012855964,
-0.058809787,
-0.023684962,
0.010051531,
-0.009232415,
-0.009676681,
0.04845282,
-0.018062213,
-0.00024404291,
-0.026100662,
-0.028571894,
0.022588179,
-0.019867046,
-0.021894012,
-0.016659996,
-0.027502878,
0.073970385,
-0.06591805,
0.054172754,
0.06425205,
-0.011405156,
0.010301431,
-0.03617996,
0.060920052,
0.016187962,
-0.026864244,
0.015618746,
0.002417435,
-0.047647588,
0.008947806,
-0.04581499,
-0.012842081,
-0.019075695,
0.02818316,
0.03126526,
-0.04401016,
0.057310387,
0.020450145,
-0.019408897,
-0.048619423,
0.035791226,
0.026961427,
0.030515559,
-0.00804539,
-0.0055220947,
-0.015160597,
0.045093056,
-0.04706449,
-0.018659195,
-0.033708725,
0.06991645,
0.0006781139,
-0.027377928,
0.013300231,
0.0040886407,
-0.015160597,
-0.064085454,
0.020838879,
-0.0026083307,
-0.03068216,
-0.037373926,
-0.0006208452,
0.0010716196,
-0.044870924,
0.017062614,
0.044537723,
-0.014140172,
-0.007483115,
0.016909895,
0.006841011,
-0.044176757,
0.031737294,
0.02639221,
-0.02851636,
0.0034482721,
-0.046536922,
-0.01579923,
-0.035791226,
0.0047307448,
0.062808186,
0.0018239225,
0.018270463,
0.041844357,
-0.020908296,
0.07758005,
-0.047592055,
0.0009605529,
0.009836339,
-0.03740169,
-0.040344957,
-0.022796428,
0.03207049,
-0.02033908,
0.0023948743,
-0.026864244,
-0.0029363243,
0.002976239,
0.036263257,
-0.00767054,
-0.07774665,
0.023809912,
0.016312912,
-0.05586652,
-0.0028877326,
-0.018950745,
-0.0064349235,
0.055561088,
-0.02718356,
-0.013098922,
0.004373249,
-0.04731439,
-0.01205073,
0.006743828,
-0.040289424,
0.025698043,
-0.019519962,
-0.001284208,
-0.019311713,
-0.05869872,
-0.011543989,
0.0069347234,
-0.0015896413,
-0.00071933004,
-0.021394212,
0.049507957,
-0.01858978,
0.01933948,
-0.01375838,
0.00291897,
-0.01621573,
-0.0021987725,
-0.02826646,
-0.0048626363,
0.043788023,
-0.05106289,
0.0017727277,
0.025850762,
-0.042205323,
-0.023837678,
0.01546603,
0.05006329,
-0.015230013,
0.045176357,
0.004605795,
0.02410146,
-0.03301456,
-0.0050708866,
-0.032736894,
-0.021685762,
0.017118147,
0.02826646,
0.038234692,
0.037373926,
-0.0021710058,
0.017437464,
0.011953548,
0.015410497,
0.0010655456,
0.03293126,
0.027169676,
-0.00028200514,
-0.0038769199,
-0.031376325,
0.027072493,
0.010870648,
-0.047175556,
0.032292627,
-0.0067472984,
-0.018201046,
-0.015604863,
0.02884956,
0.0054665613,
0.013661197,
-0.008232815,
-0.018742496,
-0.0076635983,
0.020241896,
-0.03068216,
0.034985993,
-0.039511956,
-0.037762657,
0.0068340693,
-0.038234692,
-0.011842481,
-0.023087978,
-0.031237492,
0.04656469,
0.015327197,
-0.042510755,
0.014771863,
0.010266723,
0.038373526,
-0.0130919805,
-0.03790149,
-0.027225211,
0.0069971983,
-0.005775465,
-0.025101062,
-0.0010802966,
0.03318116,
0.024490194,
-0.016118547,
-0.0015375789,
-0.0012165268,
-0.007913498,
0.028072095,
0.04748099,
-0.023337878,
0.0063759196,
-0.02372661,
0.042566292,
-0.0066397027,
0.026059011,
-0.011280206,
0.03109866,
0.021408096,
0.026753178,
0.01250888,
0.05714379,
0.010197306,
-0.035235893,
-0.0032834075,
0.024809511,
0.018242696,
-0.032292627,
-0.006452278,
0.0006742092,
0.03334776,
0.035208125,
0.05536672,
0.00612949,
0.023060212,
0.02851636,
-0.028988393,
-0.040872525,
0.010967831,
0.034291826,
-0.004480845,
-0.006257911,
-0.01346683,
-0.004494728,
-0.003076893,
0.024309712,
-0.0019367245,
0.016951546,
0.031070894,
-0.039206523,
-0.013459888,
0.02539261,
0.019506078,
-0.029987993,
0.013452947,
-0.018187163,
0.03543026,
0.04042826,
0.03093206,
0.037373926,
0.04173329,
0.013938864,
0.027919376,
0.03201496,
-0.015188363,
0.043427058,
-0.039206523,
0.037790425,
-0.05056309,
0.00013134933,
-0.04706449,
-0.021644112,
0.0028859973,
0.021283146,
-0.04042826,
-0.032709125,
-0.021657996,
-0.037262857,
-0.04339929,
-0.035791226,
0.022449344,
-0.058421053,
0.010634631,
-0.0060218945,
0.002488587,
-0.028488593,
0.0022195973,
-0.018631428,
0.032292627,
0.029238293,
0.038123626,
0.009711389,
0.07730238,
0.018381529,
0.00027050803,
0.05253452,
0.03381979,
-0.027280744,
-0.0054387944,
0.017159795,
-0.004897345,
0.0037832074,
-0.017201446,
-0.04048379,
0.017659595,
0.03001576,
0.005900415,
-0.054172754,
0.008704848,
0.03084876,
-0.007573357,
0.0039289827,
0.10429157,
0.021505278,
-0.023629429,
-0.019228412,
-0.002059939,
-0.037235092,
-0.047925256,
0.022879729,
0.02739181,
-0.033875328,
-0.05714379,
-0.009628089,
-0.02951596,
0.00771219,
-0.0033528241,
-0.01746523,
-0.0074761733,
0.027461227,
-0.026031245,
0.040456023,
0.008677081,
-0.021185962,
-0.015285547,
0.049674556,
0.019506078,
0.010773464,
0.07674705,
0.080912046,
0.0068132444,
0.02851636,
-0.0111830225,
0.012245097,
-0.017354162,
-0.01958938,
-0.006469632,
-0.00921159,
-0.018478712,
-0.04731439,
-0.038790025,
0.039067693,
0.012751839,
-0.01554933,
-0.026669877,
-0.042316392,
-0.06019812,
-0.0068375403,
-0.017756779,
-0.011592581,
-0.0039359243,
0.012800431,
0.037762657,
-0.041066892,
0.22635381,
0.058476586,
0.02664211,
-0.025462028,
0.03606889,
0.055450022,
-0.03642986,
-0.023379529,
-0.019519962,
-0.05486692,
0.037207324,
-0.040761456,
-0.015910296,
0.025031645,
-0.016243497,
0.021588579,
-0.02789161,
-0.0051437737,
-0.018062213,
-0.053339753,
-0.018228812,
0.06369672,
0.040955823,
0.054450423,
0.02884956,
-0.012147914,
0.0005280004,
-0.03059886,
-0.013869447,
-0.058421053,
0.012432522,
-0.021838479,
0.015146714,
-0.008802031,
-0.009864106,
0.04015059,
-0.013439064,
-0.05456149,
0.0020373787,
-0.012613006,
-0.029710326,
-0.03856789,
0.022393811,
0.0008247566,
-0.005119478,
-0.008288348,
0.0005136832,
0.058920853,
0.015951946,
-0.08468831,
0.031209726,
-0.053423055,
0.008906157,
-0.049452424,
-0.067250855,
-0.01854813,
-0.03948419,
-0.02310186,
0.0093990145,
0.031209726,
-0.040872525,
0.016243497,
-0.04773089,
0.01484128,
-0.007906556,
0.03276466,
-0.023212928,
0.0007037113,
-0.0095239645,
0.0047550406,
0.0120090805,
-0.025781345,
-0.03831799,
-0.012321455,
0.0034968639,
0.034458425,
-0.0009969966,
0.019644912,
-0.033625428,
-0.024851162,
0.018853562,
0.012078498,
0.0008937394,
-0.013869447,
-0.0034795096,
0.05886532,
-0.024906695,
0.00729569,
0.006917369,
0.045759458,
0.04042826,
0.09279618,
-0.008198107,
0.009905756,
-0.013279405
] | Check out the Padding and truncation concept guide to learn more different padding and truncation arguments.
Build tensors
Finally, you want the tokenizer to return the actual tensors that get fed to the model.
Set the return_tensors parameter to either pt for PyTorch, or tf for TensorFlow: |
[
0.041654207,
0.017644791,
0.040205117,
0.03486338,
-0.0077142683,
-0.003881996,
0.0052103275,
-0.024904443,
-0.046001475,
0.061543666,
0.008509846,
0.02920909,
-0.01440565,
-0.04242137,
-0.06290752,
0.0070181373,
-0.0052564996,
-0.044950176,
-0.03293126,
0.026509807,
0.007728475,
0.010044176,
-0.08319476,
-0.015201229,
-0.015201229,
0.041057523,
0.034920204,
-0.008779775,
0.071147434,
0.023966797,
-0.010207554,
0.044239838,
0.011926571,
-0.043557912,
-0.005650737,
-0.043728393,
0.02342694,
-0.050689705,
-0.009795558,
-0.0035676714,
0.06324848,
-0.005309775,
0.022588741,
-0.0393243,
-0.04767787,
-0.023341699,
-0.005274258,
-0.015400123,
-0.030601352,
-0.036937565,
-0.001712802,
-0.02067083,
0.009689007,
-0.0036209468,
-0.06796512,
0.0045177485,
-0.022844464,
0.029692119,
-0.017488517,
-0.015599018,
0.006858311,
-0.013965241,
0.005377257,
-0.053133264,
0.038386654,
0.0075650974,
-0.01488868,
0.00449999,
-0.009319631,
-0.01987525,
-0.048160903,
-0.023569008,
-0.021878405,
-0.038386654,
-0.031879958,
0.019335395,
0.029152263,
0.0003105508,
-0.027958894,
0.025913123,
0.029550051,
0.052309275,
0.027958894,
-0.010697687,
-0.0068334495,
-0.044069357,
0.03835824,
0.008346469,
0.022148332,
-0.046086714,
-0.0005873605,
0.01905126,
0.013396971,
-0.0059561823,
0.007074964,
0.042194065,
-0.010264381,
0.08376303,
0.04173945,
0.004155476,
0.016934453,
0.06785146,
-0.014703992,
0.029010195,
-0.013127042,
0.03480655,
0.027177524,
0.003539258,
-0.022034679,
0.025288025,
-0.008744258,
-0.010228864,
0.027220143,
-0.03537482,
-0.06694223,
0.016650317,
0.0125303585,
0.027348004,
-0.034948617,
0.021722129,
0.026140431,
-0.002773869,
0.032419816,
0.005686254,
0.012018915,
-0.01926436,
0.016806591,
0.0235548,
-0.042847574,
-0.03307333,
0.0054163258,
0.0032409162,
0.04387046,
0.047081187,
0.01488868,
0.025373265,
0.004180338,
0.023526387,
0.018795537,
0.017886305,
0.011109683,
0.0028164892,
-0.0180852,
0.054525528,
0.007280962,
-0.007309376,
0.029663706,
-0.034749724,
-0.003105952,
0.0016266735,
-0.05688385,
0.013986551,
0.0031467963,
-0.011905261,
-0.049155373,
-0.01852561,
-0.0072703073,
0.013411177,
-0.00012364317,
-0.012501945,
0.011450645,
-0.033698425,
-0.029663706,
0.056997504,
-0.028470337,
0.05955472,
-0.037022807,
-0.00020832875,
-0.016011013,
-0.006549314,
0.008850809,
-0.023895763,
0.019647943,
0.0030065046,
0.034948617,
0.057253227,
0.014718199,
-0.0057643913,
0.026467185,
-0.011564299,
0.019037053,
-0.021437995,
0.018312508,
-0.022134125,
-0.010022867,
-0.014007861,
-0.026353532,
0.005160604,
-0.01057693,
0.010584033,
0.015613224,
0.035175927,
-0.0093622515,
-0.019520082,
0.020244626,
-0.0037399284,
-0.034238283,
0.05688385,
-0.0009998004,
-0.022588741,
-0.017374862,
0.021707922,
-0.028612405,
-0.0111025795,
-0.03972209,
0.0041057523,
-0.0052991197,
0.027887862,
-0.010449069,
-0.0084104,
0.03219251,
0.0038571341,
0.011805814,
0.03219251,
0.026396152,
-0.026069397,
-0.037420593,
0.00020455508,
-0.028697647,
0.05455394,
-0.015130195,
0.02422252,
-0.0129565615,
0.009667697,
0.016224114,
-0.0168208,
0.024293551,
0.023157012,
0.032107268,
0.052309275,
0.012850011,
0.018880779,
0.018312508,
0.02837089,
0.0035712232,
0.02500389,
0.060009334,
0.022872876,
0.009731628,
0.022091504,
0.023881556,
-0.054582354,
0.007217032,
-0.006219007,
0.019477462,
-0.01751693,
-0.005377257,
0.0021540993,
-0.037477423,
-0.027660552,
-0.036681842,
0.05162735,
0.010498793,
-0.04011988,
-0.025586367,
-0.025628988,
-0.004507093,
0.009468802,
-0.04068815,
-0.026254084,
0.019633736,
0.028441925,
0.014178342,
-0.034096215,
0.02241826,
0.03810252,
0.028768681,
0.042705506,
-0.009248598,
0.0063681784,
-0.031368516,
-0.07535263,
-0.041228004,
0.010697687,
-0.00010649517,
-0.008673225,
-0.011557195,
-0.07597773,
-0.0042158547,
0.009198874,
-0.032817606,
0.019576909,
-0.023824729,
0.024336172,
-0.033527944,
0.014505098,
-0.05372995,
0.04014829,
0.015769498,
0.06239607,
-0.010974718,
-0.039096992,
-0.043501087,
-0.030146735,
0.013205179,
-0.021224894,
0.0020830655,
-0.0047770217,
-0.0014348823,
-0.0039352714,
0.0022357882,
-0.012580082,
-0.017957339,
0.020926552,
-0.0043650256,
0.032505058,
0.04611513,
-0.009404873,
0.035914678,
0.06103222,
-0.022844464,
0.024847616,
0.028171996,
0.047081187,
-0.020969171,
0.01331173,
0.043842047,
-0.019449048,
-0.012729253,
-0.033726837,
-0.044353493,
-0.0063184546,
0.02557216,
-0.021111239,
0.013041802,
0.062168762,
-0.022929704,
-0.05495173,
-0.00035472494,
-0.035460062,
-0.018724503,
-0.033783663,
0.00064196775,
0.03844348,
0.0025518886,
0.027930481,
-0.024407206,
-0.049098548,
0.021253306,
0.038812857,
0.017445896,
0.006758864,
0.011592712,
0.023014944,
-0.010164933,
0.022347227,
0.024989683,
-0.05767943,
-0.0025589918,
-0.009440389,
0.06017982,
0.03568737,
0.03148217,
-0.032647125,
-0.010129416,
0.02666608,
-0.050831772,
0.018326715,
-0.03835824,
0.0044715763,
0.042392958,
0.041654207,
0.049752057,
0.0049155373,
-0.03520434,
-0.018113613,
0.010889478,
-0.002409821,
0.045092244,
0.007273859,
0.021892611,
0.015073367,
-0.018113613,
-0.0054482906,
-0.03375525,
-0.027731586,
0.087797746,
0.0097103175,
0.0069009317,
-0.041313246,
-0.027177524,
0.030658178,
-0.021437995,
0.031936787,
0.036767084,
0.038812857,
0.009887902,
-0.01173478,
0.012075743,
0.028626613,
-0.01878133,
-0.020486142,
-0.01743169,
-0.013865793,
-0.060009334,
-0.0018681884,
0.022659775,
0.09387824,
0.027944688,
-0.005352395,
0.012075743,
0.0033936386,
0.055179037,
0.024208311,
-0.002374304,
-0.07756889,
-0.06563521,
0.061145876,
-0.023370113,
0.047308497,
-0.047052775,
-0.004507093,
-0.034124628,
0.027007043,
-0.014114412,
0.025032304,
-0.038557135,
-0.013084422,
0.0336416,
0.008836602,
-0.028669233,
-0.051570524,
-0.022745015,
-0.012317257,
0.043245364,
-0.058077216,
0.0032604504,
-0.03131169,
0.038244586,
-0.00075517787,
-0.006549314,
-0.045433205,
-0.040489253,
-0.019505875,
-0.02067083,
0.05128639,
0.023014944,
0.0024275794,
0.021977851,
-0.030459285,
0.012999182,
0.0023458905,
-0.03472131,
-0.011876848,
-0.013830276,
0.036454536,
0.013020491,
0.045433205,
-0.0129565615,
-0.04304647,
0.025273819,
-0.016167289,
-0.0018344473,
-0.054639183,
-0.008715845,
-0.0050895703,
0.011301474,
0.0034859828,
0.05350264,
-0.0009296546,
-0.008055231,
0.01979001,
0.025032304,
-0.016565077,
-0.008232815,
0.025827881,
0.017374862,
-0.041085936,
0.0029194884,
0.005686254,
0.011116786,
-0.005252948,
0.070692815,
-0.0084743295,
0.021793162,
-0.007000379,
0.0212391,
-0.056912262,
-0.028754473,
0.008318055,
-0.020571383,
0.02277343,
-0.02601257,
-0.009497216,
-0.0061479737,
-0.05202514,
-0.031368516,
-0.003288864,
-0.017445896,
0.052820716,
0.027035456,
-0.008957359,
0.012004709,
-0.037818383,
0.00021565412,
0.0105982395,
-0.021963645,
0.010690584,
0.06972676,
0.016934453,
0.011706366,
0.00449999,
-0.0020493246,
0.029891014,
-0.028427718,
-0.036539774,
0.0006908035,
-0.0021629785,
0.026978629,
-0.026722908,
-0.023526387,
0.008403296,
-0.010349621,
-0.014703992,
0.057167985,
0.020358281,
0.02929433,
-0.040006224,
-0.035829436,
0.047706284,
-0.010605343,
-0.040517665,
0.016835006,
0.022475088,
0.013681105,
0.032419816,
-0.025984157,
-0.0114861615,
-0.056116685,
-0.024265138,
0.0445808,
-0.017900512,
-0.033300634,
-0.053957257,
-0.032561883,
0.009262805,
0.039608434,
0.0071779634,
-0.061373185,
-0.037420593,
-0.060975395,
0.050462395,
0.0024169243,
-0.012303051,
-0.002271305,
-0.00214522,
-0.04137007,
0.071715705,
0.0000615996,
-0.009078117,
0.033670012,
-0.0021540993,
0.018227268,
0.0744434,
-0.004460921,
0.0346929,
-0.027376419,
0.0030437973,
0.015527984,
-0.049780473,
0.0066239,
0.037022807,
-0.049212202,
0.01381607,
-0.036681842,
-0.0067624156,
-0.048359796,
-0.021750543,
0.054099325,
-0.055633657,
-0.044069357,
-0.033385877,
0.019718977,
0.0008381986,
0.0424782,
-0.01690604,
-0.01638039,
-0.044012528,
-0.025032304,
0.052707065,
-0.031851545,
-0.014561924,
-0.006758864,
-0.029436398,
0.06569204,
-0.06091857,
0.03392573,
0.050689705,
-0.015556398,
-0.026524013,
-0.0025589918,
0.0072880657,
-0.029578466,
-0.029663706,
0.02140958,
-0.010726101,
-0.045433205,
-0.0057040122,
-0.09103689,
-0.065578386,
-0.0016062513,
0.04554686,
0.033385877,
-0.042677093,
0.052053552,
-0.018980226,
-0.0041377177,
-0.028512958,
0.04085863,
-0.00004589448,
0.0040808907,
0.02824303,
-0.014157032,
-0.032817606,
-0.0074514435,
-0.04111435,
-0.028797094,
-0.021608476,
0.055235866,
0.035744198,
-0.025018096,
0.03906858,
0.0004350819,
-0.031993613,
-0.07029503,
-0.0020830655,
-0.00956825,
-0.035573717,
-0.031084381,
-0.0054518427,
-0.000026304697,
-0.04387046,
0.01015783,
0.030658178,
-0.007984197,
0.008808188,
0.035545304,
0.008957359,
-0.00068370014,
0.05242293,
0.057480533,
-0.011138096,
0.011202027,
-0.03432352,
0.010953409,
-0.04264868,
0.011336991,
0.052167207,
-0.0021221342,
-0.036369294,
0.03472131,
0.014100205,
0.051087495,
-0.021551648,
0.051911484,
-0.0036014125,
-0.051570524,
-0.031709477,
-0.0105982395,
0.04537638,
-0.022972323,
0.03810252,
-0.01804258,
-0.033527944,
-0.01112389,
0.032817606,
-0.0041625793,
-0.07614821,
0.017971545,
-0.005618772,
-0.023327492,
-0.046541333,
-0.035914678,
0.0424782,
0.0445808,
-0.041398484,
-0.033670012,
0.0009385338,
0.030658178,
-0.02824303,
0.023711076,
-0.008374883,
0.04929744,
-0.048359796,
0.012026018,
-0.019775804,
-0.031283274,
-0.014647165,
0.020429315,
0.024080452,
0.011386715,
-0.06069126,
0.037676316,
-0.04117118,
0.034124628,
-0.0073804096,
0.017957339,
-0.017644791,
-0.0075508906,
-0.042392958,
0.015329089,
0.027291177,
-0.012686633,
-0.02447824,
0.035147514,
-0.027859448,
-0.050149847,
0.0028005068,
0.057310052,
-0.0041483724,
0.02464872,
-0.014689785,
0.026325118,
-0.028953368,
-0.0049972264,
-0.020429315,
-0.058872797,
-0.012345671,
0.026680287,
-0.018156234,
0.038784444,
0.013482211,
0.0004133278,
0.012359877,
0.01385869,
0.026325118,
0.024620308,
0.0049403994,
0.0044005425,
0.012352774,
-0.035346407,
-0.005522876,
-0.004805435,
-0.039835744,
0.0010530758,
0.0090923235,
-0.008147574,
-0.019420635,
0.06268021,
-0.013645588,
-0.00094741303,
-0.013595865,
-0.049098548,
-0.017204382,
0.011685057,
-0.01388,
-0.0038287207,
-0.046314023,
-0.012999182,
-0.0079913,
0.020074146,
-0.045745753,
-0.017204382,
-0.038869683,
0.049070135,
0.010853961,
-0.021011792,
-0.013091525,
0.056855436,
0.029464811,
-0.0014339944,
-0.0654079,
0.010541413,
-0.0023725282,
-0.023924176,
-0.042677093,
-0.020130973,
0.04208041,
0.029834187,
-0.0058354246,
-0.0140362745,
-0.028001515,
0.003583654,
-0.027177524,
-0.002088393,
-0.003732825,
0.01581212,
-0.040744975,
0.01377345,
-0.0012626254,
0.013794759,
0.014661372,
0.0498373,
0.023142805,
-0.0018344473,
0.0004648273,
0.024876028,
0.024989683,
-0.055860963,
-0.0022215815,
0.0006202137,
0.051513694,
-0.033442702,
0.0075864075,
-0.017360656,
0.048331384,
0.03560213,
-0.010804238,
-0.029976254,
0.024066243,
0.0060343193,
-0.017318035,
-0.03796045,
0.041966755,
-0.0005904683,
-0.023341699,
-0.0121822925,
0.0039849947,
0.00080889714,
-0.027703173,
-0.0013443142,
0.0017669653,
-0.005444739,
-0.010463276,
-0.017715825,
-0.06307799,
0.05819087,
0.039920982,
-0.02977736,
-0.0037399284,
-0.0014579683,
0.051570524,
0.03034563,
-0.048842825,
0.018099407,
0.010143624,
0.022816049,
0.02618305,
0.044154596,
-0.001791827,
0.016295148,
-0.011386715,
0.05253658,
0.008467226,
0.015826326,
-0.024776582,
-0.008616397,
0.01436303,
0.011386715,
-0.031226449,
-0.0046314024,
-0.0022411158,
-0.03293126,
-0.0011152303,
-0.03844348,
-0.00449999,
-0.07410244,
0.011855538,
0.029436398,
-0.024662929,
-0.028484546,
0.031425342,
-0.0038287207,
0.0055086697,
0.028029928,
0.008573777,
0.026992835,
0.05713957,
-0.022347227,
-0.00639304,
0.047194842,
0.016110461,
-0.007913163,
-0.004475128,
-0.029123848,
0.0028964023,
-0.029265916,
-0.018426161,
-0.039665263,
-0.007827923,
0.019633736,
-0.011905261,
-0.053360574,
-0.006801484,
0.03940954,
-0.013155456,
-0.013808967,
0.074272916,
0.006542211,
-0.030061495,
-0.011514575,
-0.014703992,
0.0033190532,
-0.020159386,
-0.038159344,
-0.0017909391,
-0.05171259,
-0.05091701,
-0.038898095,
-0.042165652,
-0.02023042,
0.0009802661,
-0.021921024,
-0.037449006,
0.028271444,
0.009340942,
0.057082742,
0.011585609,
-0.04492176,
0.013553245,
0.01852561,
0.017857892,
-0.018596644,
0.026211465,
0.059213758,
0.04426825,
0.017971545,
-0.008460123,
0.01173478,
-0.008992876,
0.008559571,
-0.009383562,
0.014547718,
-0.011287267,
-0.004741505,
-0.003322605,
0.017914718,
0.027035456,
-0.01615308,
-0.03773314,
-0.021722129,
-0.030658178,
0.012899734,
-0.003640481,
0.019988906,
-0.0011658419,
0.011223337,
0.031027554,
-0.015954187,
0.23753695,
0.05242293,
0.0618278,
-0.04068815,
0.063418955,
0.07631869,
-0.0026868526,
-0.028512958,
-0.0063397647,
0.0008648363,
0.04006305,
-0.049780473,
0.0023991659,
-0.03179472,
-0.010243071,
-0.006073388,
-0.039381128,
0.014746612,
-0.035829436,
-0.029891014,
-0.027163317,
0.017303828,
0.031368516,
0.01917912,
0.030800246,
0.042364545,
0.013041802,
-0.017829478,
-0.020258833,
-0.051513694,
0.027873654,
-0.026566632,
0.021835783,
-0.011130993,
-0.031368516,
0.049780473,
-0.027134903,
-0.053190093,
-0.0117205735,
0.016252529,
-0.0043330602,
-0.04864393,
-0.0021576511,
0.008865016,
0.01074741,
0.017374862,
0.009461699,
0.024023624,
0.02584209,
-0.08518371,
0.049950954,
-0.03276078,
-0.006780174,
-0.03861396,
-0.052309275,
-0.028939161,
-0.018198853,
-0.014434064,
0.02246088,
0.03375525,
0.006243869,
0.004734401,
0.01768741,
-0.004404094,
-0.0087087415,
0.050490808,
0.027305385,
-0.0028591095,
0.0026016121,
-0.0006317567,
0.003654688,
0.0016435441,
0.00046260748,
0.04063132,
0.017005486,
-0.00065040303,
0.0019427738,
-0.0022357882,
-0.0027756449,
-0.015243849,
-0.021182273,
-0.025302231,
-0.03324381,
-0.019164914,
-0.014561924,
0.07955783,
-0.042932816,
-0.015513777,
0.002134565,
0.052962784,
0.011670849,
0.057764668,
-0.02237564,
0.008239918,
0.0013549693
] | Pad
Sentences aren't always the same length which can be an issue because tensors, the model inputs, need to have a uniform shape. Padding is a strategy for ensuring tensors are rectangular by adding a special padding token to shorter sentences.
Set the padding parameter to True to pad the shorter sequences in the batch to match the longest sequence: |
[
0.032342672,
0.006755882,
-0.006727361,
-0.0035009373,
-0.024242742,
-0.051423136,
0.0057719117,
-0.0025989646,
-0.0051373225,
0.07295639,
-0.02250297,
0.024855942,
0.020506509,
-0.029832834,
-0.054389305,
-0.011714948,
-0.03530884,
-0.07712044,
-0.019394195,
0.0037041483,
0.01567222,
0.0340254,
-0.0784324,
-0.02223202,
-0.04300948,
0.032171544,
0.0098753525,
0.014873636,
0.04805767,
0.03428209,
0.0029412152,
0.036364112,
-0.0026470935,
-0.07056064,
0.0140893115,
-0.027508382,
0.07324161,
-0.0039002295,
0.0076649846,
-0.01990757,
0.019679403,
-0.026224943,
0.012649007,
-0.038075365,
-0.058524832,
-0.047544297,
-0.02321599,
-0.009697097,
-0.014873636,
-0.016071511,
0.023016345,
-0.009903873,
0.06936277,
0.011529563,
-0.028948687,
-0.0014349564,
-0.007921672,
-0.006463543,
-0.036677845,
-0.008570522,
-0.024100138,
0.039929222,
-0.023900492,
-0.056670975,
-0.04606121,
0.010046477,
0.022631314,
0.015529616,
-0.012641877,
-0.043209124,
-0.023016345,
0.014845114,
-0.031914856,
-0.029775793,
-0.062860005,
-0.014859375,
-0.019978872,
-0.007130218,
-0.016684711,
0.07854649,
-0.013098211,
0.02127657,
0.004741595,
-0.010303166,
-0.009112419,
-0.053048823,
0.041640475,
-0.017440515,
0.01696992,
-0.027522642,
0.0064492826,
0.0134975035,
-0.026196422,
0.025811391,
0.044321436,
0.04335173,
-0.0025223147,
0.05812554,
0.0074510784,
-0.007051786,
0.05744104,
0.06206142,
-0.008085668,
0.04600417,
0.0015659742,
0.025255233,
0.043636937,
0.019322893,
-0.053761847,
0.036050383,
-0.0017540337,
-0.0049127205,
-0.00042179698,
-0.03687749,
-0.041298226,
0.032171544,
0.02449943,
0.0102247335,
-0.026310505,
0.007173,
-0.009012596,
-0.0008525067,
0.021604562,
-0.011814772,
0.011536693,
-0.068507135,
-0.00040040634,
0.027921936,
-0.042809833,
-0.0030677766,
0.030431772,
0.015187365,
0.021376394,
0.028763302,
-0.018467266,
0.017526077,
0.003037473,
-0.013796972,
0.036478195,
0.0063173734,
0.01628542,
-0.022046635,
-0.022274802,
0.077462696,
0.00978979,
-0.0150305005,
0.0022941479,
0.005301317,
-0.014916417,
-0.0019019857,
-0.06382971,
0.020649113,
-0.010210473,
-0.0011550954,
-0.03653524,
0.012677528,
-0.008256793,
0.001860987,
-0.031059232,
-0.0070624813,
0.00782185,
-0.029005729,
-0.012028678,
0.06411492,
-0.03875987,
0.05781181,
-0.047458734,
-0.00879869,
0.0005441248,
-0.029162593,
0.03037473,
0.008748778,
0.018410224,
0.033397943,
0.030431772,
0.03987218,
0.025098369,
-0.023700846,
0.006206855,
0.006238941,
-0.024841681,
-0.015600918,
-0.0110589685,
0.002668484,
-0.0049376762,
0.010246124,
0.0117506,
-0.028763302,
-0.03428209,
-0.01209998,
0.0549312,
0.044378478,
-0.04015739,
0.014410172,
0.008955554,
0.02121953,
-0.03522328,
0.0054688775,
-0.011044708,
-0.050396383,
-0.020392425,
0.04728761,
0.04571896,
0.015429793,
-0.007126653,
-0.011158791,
0.058268145,
0.04115562,
-0.04643198,
-0.0012228325,
0.026795361,
-0.0095616225,
-0.019151766,
0.024841681,
0.011287136,
-0.015843345,
-0.021961072,
0.03824649,
-0.0016542106,
0.04412179,
-0.024328304,
0.019137505,
0.03405392,
0.025226712,
-0.013632977,
-0.031087752,
0.0075865523,
0.026609976,
0.019051943,
0.047544297,
0.02481316,
0.02285948,
0.0064884988,
0.073869064,
-0.010788021,
0.027921936,
0.036706366,
0.037020095,
-0.001532997,
-0.021119706,
-0.01336203,
-0.0025401402,
0.04221089,
-0.009739879,
0.023529721,
0.03821797,
-0.014317478,
-0.0040107477,
-0.032827526,
0.032285627,
-0.016071511,
0.065769136,
0.02154752,
0.004855679,
-0.011130271,
-0.050453424,
-0.0013422637,
0.031971898,
-0.037362345,
-0.038702827,
0.027037788,
0.012485012,
0.034196526,
-0.024684817,
0.018823776,
0.050453424,
0.0058432138,
-0.0047202045,
-0.022174979,
-0.020050174,
-0.047116484,
-0.066111386,
-0.056642454,
0.004474212,
-0.035508487,
-0.021290831,
-0.011893204,
-0.03987218,
-0.0054973983,
0.0012130284,
-0.018467266,
0.019123245,
-0.021604562,
0.045547836,
-0.0035918476,
-0.010944885,
-0.047858026,
0.010916364,
0.010181952,
0.048485484,
-0.009654316,
0.017084002,
-0.030061001,
-0.04928407,
-0.022702616,
-0.005818258,
0.024613515,
-0.0030000394,
-0.017911108,
-0.013804102,
0.0012754179,
0.0025312274,
-0.008320965,
0.0007580313,
-0.021576041,
0.04996857,
0.07113106,
-0.010238994,
0.025953995,
0.043266166,
-0.0483714,
0.055159368,
0.012378059,
-0.0014171309,
-0.0147167705,
0.025098369,
0.039758097,
0.033483505,
-0.009533102,
-0.019536799,
-0.037390865,
0.0076222033,
-0.009404758,
-0.04640346,
-0.0007932368,
0.03436765,
-0.04377954,
-0.055701267,
0.028321227,
-0.06588322,
-0.036991574,
-0.0040998757,
0.015044761,
0.04443552,
0.009832571,
-0.00017290779,
-0.024485169,
-0.02579713,
0.0122425845,
0.051993553,
0.018324662,
-0.008670346,
-0.021091186,
0.013918187,
-0.0054047056,
0.01275596,
0.03519476,
-0.02024982,
-0.0042674355,
-0.006830749,
0.03459582,
0.03459582,
0.025896953,
-0.0034991547,
0.01699844,
0.04999709,
-0.04346581,
0.021918291,
0.042724267,
0.019094724,
0.026396068,
0.010616895,
-0.002140848,
0.006242506,
-0.015287188,
-0.025212452,
0.0067095356,
0.0043458682,
0.0326564,
-0.03627855,
0.02516967,
0.00912668,
-0.01565796,
0.023629544,
-0.021062665,
-0.055073805,
0.04794359,
0.0066667544,
0.058638915,
-0.024028836,
0.01667045,
0.0012050068,
-0.011558084,
0.019836267,
0.034795467,
0.060977627,
-0.000085395506,
-0.019108985,
-0.029547624,
0.026567193,
0.0012968085,
-0.022959303,
-0.023458418,
-0.015515355,
-0.04212533,
-0.028135842,
0.022146458,
0.012064329,
0.043922145,
0.002053503,
0.01725513,
-0.022645574,
0.021789948,
0.040414076,
0.0039002295,
-0.023458418,
-0.029946918,
0.053134385,
0.0020196342,
0.01142261,
-0.06879234,
0.0036756275,
-0.042781312,
0.020349644,
0.0054260963,
-0.0019447671,
-0.04731613,
0.012306757,
0.011073229,
-0.015757782,
-0.005939472,
-0.024955764,
-0.0022460187,
0.010246124,
0.06046425,
-0.036763407,
-0.011258615,
-0.0017629465,
0.0014180222,
0.018039452,
-0.0043565636,
-0.018139275,
-0.04608973,
-0.047059443,
-0.044349957,
-0.00016421784,
0.04962632,
0.004139092,
0.03522328,
-0.040385555,
0.027579684,
0.010367338,
-0.018652651,
-0.023786409,
0.008171231,
-0.017155305,
0.0052157547,
0.03984366,
-0.02251723,
-0.029661708,
0.030146563,
-0.05099532,
0.002500924,
-0.041611955,
0.016370982,
-0.0138112325,
-0.02419996,
0.0127417,
0.045604877,
0.0040000523,
-0.029690228,
0.0041925684,
0.02613938,
-0.023087647,
-0.066453636,
0.01239945,
0.028036019,
-0.015044761,
0.010345947,
-0.019365674,
0.002905564,
0.021005623,
0.02546914,
-0.00014928894,
0.0046845535,
0.0012032243,
0.03331238,
-0.018453006,
-0.0058039976,
0.026866663,
-0.021034144,
0.02323025,
0.0054011405,
-0.009290675,
-0.028677737,
-0.06827897,
0.005030369,
0.0044599515,
-0.0011096402,
0.035451446,
0.024955764,
-0.010966276,
0.012206933,
-0.048114713,
-0.023415636,
-0.025298014,
-0.0024064486,
-0.038645785,
0.06565505,
0.01403227,
0.026196422,
-0.01957958,
-0.016256899,
0.018766735,
-0.015215886,
0.015073282,
-0.024214221,
-0.011472521,
-0.006492064,
-0.019465497,
-0.0029037814,
0.024071617,
0.0018948555,
-0.024713337,
0.009176591,
-0.008235402,
0.018780995,
0.005451052,
-0.036050383,
0.072443016,
0.00949032,
-0.05715583,
0.0007067829,
0.008292444,
0.009397628,
0.018909339,
0.0293765,
-0.027665248,
-0.01537275,
-0.060635377,
0.031572606,
-0.034681384,
0.006720231,
-0.064229004,
-0.029519103,
-0.04149787,
0.034168005,
-0.021019883,
-0.07483877,
-0.007386906,
-0.04571896,
0.014260436,
0.012848654,
-0.026039558,
-0.028820343,
-0.0009777312,
-0.012299627,
0.029633187,
-0.00027005703,
0.00034670686,
0.01174347,
-0.022773918,
0.006855705,
0.07346977,
-0.07147331,
0.011322787,
-0.00065107807,
0.003329812,
-0.01957958,
0.005932342,
-0.018481527,
0.022816699,
-0.034624342,
-0.009818311,
-0.061890297,
-0.04797211,
-0.051480178,
-0.008249663,
0.07038952,
-0.053362556,
-0.043608416,
-0.034110963,
0.0385317,
0.042638704,
0.03750495,
-0.028806083,
-0.02575435,
-0.07027543,
-0.041269705,
0.032770485,
-0.00062344846,
0.015158844,
0.01798241,
-0.014759552,
0.046175294,
-0.038617264,
0.035166238,
0.09879631,
-0.016756013,
0.018866558,
-0.048514005,
0.024028836,
-0.008670346,
-0.036478195,
0.03205746,
-0.01665619,
-0.015287188,
-0.0050945412,
-0.039358806,
-0.057070266,
-0.011237225,
-0.0018413789,
0.04107006,
-0.041925684,
0.03433913,
-0.010952015,
-0.033027172,
-0.02648163,
0.047145005,
0.023672326,
0.025683047,
0.054817118,
-0.0013351333,
-0.0023601023,
-0.019722184,
-0.020335382,
-0.0052121896,
-0.01698418,
0.03858874,
-0.012292497,
-0.0340254,
0.036991574,
0.01702696,
-0.045120023,
-0.052136157,
0.031572606,
-0.015401272,
-0.015087542,
-0.03590778,
-0.024756119,
0.03653524,
-0.030203605,
0.0009251458,
0.0307455,
-0.026239203,
-0.0031462088,
0.013526024,
-0.0117577305,
-0.025340796,
0.045205586,
0.04671719,
-0.02121953,
0.0071480437,
-0.07312752,
-0.0075936825,
-0.020420946,
-0.001278983,
0.054474868,
0.008420788,
0.022702616,
0.028777562,
0.0066988403,
0.07227189,
-0.03944437,
-0.00030882758,
0.003345855,
-0.019166026,
-0.042638704,
-0.017383473,
0.021176748,
-0.0049127205,
0.014645468,
-0.003429635,
-0.019194547,
-0.009369107,
0.04600417,
-0.0176259,
-0.08864287,
0.022132197,
-0.026581453,
-0.041013017,
-0.041925684,
-0.047743943,
-0.008570522,
0.025084108,
-0.00913381,
-0.0418116,
-0.019736445,
-0.004017878,
-0.069305725,
-0.023943273,
-0.049740404,
-0.0072942134,
-0.05521641,
-0.009105288,
-0.017055482,
0.006263897,
0.006456413,
-0.009661446,
-0.025896953,
-0.027337257,
-0.051793907,
0.045861565,
-0.027479861,
0.009611534,
0.010388728,
-0.013105341,
0.027536903,
-0.0039394456,
-0.0036203684,
-0.025953995,
0.032342672,
-0.016584888,
-0.017340692,
-0.008064277,
-0.0012718528,
-0.018852297,
0.0326564,
0.040898934,
-0.021319352,
0.03037473,
0.012599096,
0.042581663,
-0.053105865,
-0.03625003,
-0.021048404,
-0.0007018809,
0.022260541,
0.018666912,
0.011394089,
0.06308817,
0.011044708,
0.024756119,
-0.010424379,
0.023886232,
0.010395858,
0.0037255392,
-0.01699844,
-0.007055351,
0.023401376,
-0.00032108265,
0.00912668,
0.01989331,
-0.037077136,
0.027066309,
0.005896691,
-0.040984496,
-0.033084214,
0.023429897,
-0.011465391,
0.01896638,
0.02449943,
-0.050481945,
-0.0033315946,
0.032342672,
-0.017839806,
0.010103519,
-0.025668787,
-0.03297013,
0.016542107,
-0.013012649,
-0.0038610133,
-0.054788597,
-0.030659938,
-0.004930546,
0.025369316,
0.01664193,
-0.01043864,
0.038360573,
0.012050069,
0.032485276,
-0.021476218,
-0.021818468,
-0.011700688,
-0.004606121,
-0.026895184,
-0.026524412,
0.024356825,
0.029290937,
0.014253306,
-0.024385346,
-0.051394615,
0.011187312,
0.013675759,
0.019622361,
0.009682837,
0.021005623,
-0.05222172,
0.037134178,
-0.047173526,
-0.008206882,
0.012228324,
0.028235665,
-0.008114189,
0.016171336,
-0.01989331,
0.022289062,
0.027593944,
-0.014139223,
0.011237225,
0.019793486,
0.019180287,
0.0009037552,
0.0137755815,
-0.042610183,
0.048257317,
0.06194734,
0.02579713,
-0.02224628,
0.02126231,
0.036734886,
-0.041355267,
-0.01956532,
0.025711568,
-0.014524255,
-0.0070446557,
0.005347664,
-0.026852403,
-0.023016345,
-0.0036399765,
-0.009169461,
0.011451131,
0.01336916,
-0.006987614,
0.006014339,
-0.05068159,
0.023287293,
-0.014581297,
-0.018738214,
-0.0021568912,
-0.013832624,
0.036991574,
0.047030922,
0.00068182714,
-0.029804314,
0.0653128,
0.026410328,
0.025226712,
0.027593944,
-0.023059126,
0.02708057,
0.019108985,
-0.0018164231,
-0.024214221,
-0.013561675,
-0.0028467397,
-0.020991363,
-0.06941981,
-0.00037968412,
0.0040891804,
-0.016756013,
0.05618612,
-0.03368315,
-0.021091186,
-0.04144083,
0.033112735,
-0.015486835,
0.040642243,
0.03200042,
-0.060122002,
-0.035166238,
0.04480629,
-0.011365568,
0.011629386,
0.01013917,
0.088699915,
0.029191114,
0.08493516,
-0.006894921,
0.004934111,
0.028264185,
-0.0028645652,
-0.009497451,
-0.025383577,
0.011786251,
-0.007893152,
0.026552932,
-0.030517334,
-0.04409327,
-0.0016622321,
0.026937965,
-0.0274656,
-0.036164466,
0.014445823,
0.008071407,
-0.01276309,
0.015829084,
0.05841075,
0.015871866,
0.003281683,
-0.017126784,
0.0015757782,
-0.014452953,
-0.0063565895,
-0.0054653124,
0.035736654,
-0.05253545,
-0.043579895,
-0.020078694,
-0.050481945,
-0.029975438,
0.020706154,
-0.009568753,
-0.03368315,
0.032827526,
0.03202894,
0.016413763,
0.025055587,
-0.01664193,
-0.012271106,
0.06474239,
0.038503177,
-0.005550875,
0.035137717,
0.029889876,
0.0018627696,
0.04403623,
0.0018698998,
0.0352518,
0.034624342,
0.014859375,
0.012492143,
0.00784324,
-0.033454984,
-0.05521641,
-0.01729791,
0.05222172,
0.017511817,
-0.024428127,
-0.07181556,
-0.012962737,
-0.07369794,
0.021647343,
-0.012962737,
0.061548047,
-0.0057255654,
-0.003721974,
-0.023387115,
-0.057013225,
0.24208517,
0.092293546,
0.046546064,
0.0020624157,
0.015158844,
0.024941504,
0.021590302,
-0.036449675,
0.0030624287,
-0.012955607,
0.030859586,
-0.036021862,
0.016256899,
0.033740193,
-0.0034314175,
0.03291309,
-0.065769136,
0.0071694343,
-0.011579474,
-0.019194547,
-0.060236085,
0.0126276165,
0.024584994,
0.03530884,
0.006082076,
-0.0011845075,
0.033569068,
-0.026039558,
-0.011900335,
-0.019622361,
0.00051114755,
-0.01012491,
0.031629648,
-0.0013128514,
0.016556367,
0.037276782,
-0.011080359,
-0.062917046,
-0.008763039,
0.00637085,
0.0019946785,
-0.013825494,
-0.0059145163,
-0.02414292,
-0.031487044,
0.047458734,
-0.0047594206,
0.037020095,
0.06228959,
-0.07803311,
0.018367443,
-0.0039002295,
0.037134178,
-0.01629968,
-0.041954204,
0.0020624157,
-0.00441004,
-0.0038075366,
-0.022374624,
0.028777562,
-0.011850423,
0.014253306,
0.051337574,
0.0015187365,
-0.026438849,
0.036963053,
0.008092798,
0.056670975,
-0.023458418,
0.007151609,
0.031572606,
-0.0073940363,
-0.021105446,
0.0050232387,
0.022745397,
0.022602793,
-0.0051088016,
0.0101890825,
0.028962947,
-0.042667225,
0.023957534,
-0.0060214694,
-0.04531967,
-0.006641798,
-0.009739879,
0.06331634,
-0.012984128,
0.014802333,
-0.015843345,
0.025183931,
0.0039358805,
-0.021633083,
-0.005033934,
-0.018453006,
0.0039394456
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True)
print(encoded_input)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102, 0, 0, 0, 0, 0, 0, 0],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102, 0, 0, 0, 0, 0, 0, 0, 0]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]} |
[
0.045902483,
-0.018098537,
0.06036491,
0.024659941,
-0.020818785,
-0.021980701,
0.0016950291,
-0.0052593746,
-0.029280262,
0.06933216,
0.04161023,
0.0005805304,
-0.0055532707,
-0.011386768,
-0.03127602,
0.029170904,
0.003311458,
-0.0606383,
-0.026190935,
0.049374558,
0.012610197,
-0.0011687499,
-0.0965073,
-0.0073063956,
-0.035841666,
0.025589472,
0.024782967,
-0.0073269,
0.05872456,
0.05134298,
-0.009958296,
0.0011721674,
0.01399766,
-0.037755407,
-0.005365314,
-0.01017701,
0.0014165113,
0.0035882674,
-0.01596608,
0.0013763568,
0.036716517,
-0.03463874,
0.034283333,
-0.030920612,
-0.03472076,
-0.024509575,
-0.0035609282,
0.0030380664,
-0.03231491,
-0.036415786,
-0.013772111,
-0.004592982,
0.042867836,
0.009329495,
-0.045875143,
0.011933552,
-0.0075114397,
0.004384521,
-0.049210522,
0.0033029146,
-0.0005412303,
0.02835073,
0.025521124,
-0.046558622,
0.016266812,
0.053694148,
-0.029580992,
-0.019287791,
0.0090355985,
-0.010416227,
-0.028569443,
-0.024618931,
-0.011209063,
0.0012652914,
-0.04243041,
-0.013122806,
0.041500874,
-0.003738633,
0.0014370156,
0.038739618,
0.012664875,
0.0419383,
0.045793127,
-0.014134356,
-0.038930994,
-0.049811985,
0.035513595,
-0.008283772,
0.00034665226,
-0.0051773572,
-0.026942762,
0.020272002,
-0.016389837,
0.0064007854,
0.0043811034,
0.03294371,
-0.018727338,
0.038739618,
0.04890979,
-0.016690569,
0.030756578,
0.06271608,
0.0063221855,
0.015952412,
-0.06424707,
0.031494737,
0.05932602,
-0.0117080035,
-0.025985891,
0.009117616,
0.010149671,
0.016840935,
0.025849195,
-0.017989181,
-0.066379525,
0.033873245,
0.010744298,
0.002200804,
-0.03764605,
0.0071491953,
0.03067456,
0.009206469,
0.013389363,
-0.028432747,
0.046914034,
-0.021461256,
0.0050919224,
0.03064722,
-0.002234978,
0.024495905,
-0.0070535084,
-0.009179129,
0.042840496,
0.01265804,
0.024468565,
0.012610197,
-0.0103752185,
0.051917102,
0.009370504,
-0.016034428,
-0.0021222038,
0.014312061,
-0.03168611,
0.06621549,
0.017292032,
-0.009896783,
0.03201418,
-0.020217324,
-0.019123755,
0.04133684,
-0.066488884,
0.03630643,
0.0004570769,
-0.0034669498,
-0.02300592,
-0.021187864,
-0.0071286913,
-0.01533728,
0.0063563595,
-0.019684209,
0.022869224,
-0.0071491953,
-0.0075456137,
0.06227865,
-0.029717688,
0.046804674,
-0.03759137,
0.0017685032,
-0.009281651,
-0.021898683,
0.0030619882,
-0.005881341,
-0.019957602,
0.009267982,
0.020627411,
0.07775263,
-0.0064930553,
-0.0196432,
0.029827045,
-0.0073542395,
-0.020066958,
0.031494737,
0.03636111,
-0.006260672,
0.004787774,
-0.022527484,
0.011270577,
0.008762207,
-0.026874414,
0.0059565236,
0.012774232,
0.040188596,
-0.026436986,
0.013594407,
-0.007627631,
-0.0071833692,
-0.0372633,
0.061458476,
0.025726167,
-0.0427038,
-0.04735146,
0.029827045,
-0.044016078,
0.013109136,
-0.03466608,
-0.0011414108,
0.013286841,
0.053830843,
0.027735598,
0.014640131,
0.018399268,
0.0060556284,
-0.020641081,
0.015514985,
-0.021037498,
-0.052901313,
-0.017510744,
0.02269152,
-0.0013404741,
0.04776155,
-0.004152138,
0.028159356,
0.0026758222,
0.0066912645,
0.029198244,
-0.015173244,
0.024099488,
0.04267646,
-0.01566535,
0.03701725,
0.019492835,
0.019943932,
0.037427336,
0.047843564,
0.021994371,
0.024714619,
0.08896169,
0.066816956,
-0.021037498,
0.027516885,
0.007955701,
0.016034428,
0.0150228795,
0.013444042,
0.02434554,
0.018125877,
-0.0034549888,
-0.01633516,
-0.0120019,
-0.015077557,
-0.019520175,
0.04699605,
0.032533623,
0.006059046,
-0.045738447,
-0.015747368,
-0.012630701,
-0.022978581,
-0.046421926,
-0.05301067,
0.01696396,
0.032369588,
0.0066434206,
-0.04166491,
0.03567763,
0.028678799,
0.014148026,
0.022431796,
0.0030722404,
-0.015145905,
-0.02630029,
-0.064739175,
-0.04502763,
-0.012541848,
-0.01398399,
0.015405628,
0.023853434,
-0.054924414,
0.005590862,
-0.0067117685,
-0.041145466,
-0.01332785,
-0.011284246,
0.044972952,
-0.02900687,
-0.012104422,
-0.054569002,
0.049456578,
0.005529349,
0.06900409,
-0.014271052,
-0.03198684,
-0.013259502,
-0.041555554,
0.005273044,
-0.00041585456,
0.021187864,
0.0060077845,
-0.022076387,
-0.0096644005,
0.002841566,
0.011496125,
-0.024195174,
0.0143667385,
0.016389837,
0.037919443,
0.031412717,
-0.024605261,
0.016854605,
0.051561695,
-0.0053789834,
0.026929092,
0.00216663,
0.07507339,
-0.015405628,
-0.026204605,
0.039450437,
0.012261622,
-0.01997127,
-0.045246344,
-0.012712719,
0.009267982,
0.009172295,
0.015296271,
0.002932127,
0.017934501,
-0.011543969,
-0.03996988,
0.008468311,
-0.044426166,
0.020531723,
-0.0083726235,
-0.04095409,
0.04341462,
0.049183186,
-0.001301174,
-0.05257324,
-0.046749998,
-0.01181736,
0.017278362,
0.012261622,
-0.0051773572,
-0.033135086,
0.042731136,
0.004548556,
0.023306651,
0.030127777,
-0.04368801,
-0.010703289,
0.020941813,
0.030838594,
0.019547513,
0.012514509,
0.0055498537,
-0.0074909353,
0.038411546,
-0.03931374,
-0.02895219,
-0.022459136,
-0.020545393,
0.0392864,
0.012705884,
0.0019410817,
-0.008099232,
-0.027284501,
-0.023443347,
0.030565202,
0.009172295,
0.064903215,
0.026450656,
0.038876314,
0.0038309025,
-0.040872075,
0.03130336,
-0.007477266,
-0.004798026,
0.05692017,
0.017866153,
0.040872075,
-0.061403796,
-0.04735146,
0.0222951,
-0.008912573,
0.062770754,
0.041227482,
0.036197074,
-0.03436535,
-0.055553213,
0.0054883403,
0.02933494,
0.00523887,
-0.0037317981,
0.00057583145,
-0.01997127,
-0.024249852,
-0.03707193,
-0.035923682,
0.08404064,
0.01217277,
0.027161475,
0.006585325,
-0.019205773,
0.004141886,
0.02936228,
0.0064964727,
-0.028678799,
-0.045765787,
0.054514326,
-0.016676899,
-0.0025322915,
-0.017456066,
-0.060036838,
0.0035062497,
0.023812426,
-0.03165877,
0.003940259,
-0.0150365485,
-0.0018744426,
0.046777338,
-0.033599854,
-0.025247732,
-0.023839764,
-0.0073200655,
0.015856724,
0.0380288,
-0.06780116,
0.019902922,
-0.049210522,
0.030756578,
0.034283333,
0.015569663,
-0.020900803,
-0.054842394,
-0.066926315,
-0.04428947,
0.037208624,
0.028296052,
-0.030701898,
0.034584064,
-0.057302922,
-0.0069680735,
0.024277192,
-0.020750437,
0.011954056,
-0.017606432,
0.009575548,
0.039368417,
0.024646271,
-0.02900687,
-0.0679652,
-0.008577667,
-0.042266373,
0.0043811034,
-0.07939298,
0.007586622,
-0.021980701,
-0.004985983,
-0.028542103,
0.044234794,
0.0123299705,
0.027940642,
-0.04729678,
0.012446161,
-0.01466747,
-0.024646271,
0.041172806,
0.033299122,
-0.023087937,
0.039450437,
0.004558808,
0.0047399304,
0.023853434,
0.051151603,
0.009158625,
0.018112207,
0.0020726516,
0.029280262,
-0.025029019,
-0.021994371,
0.013621747,
-0.05899795,
0.044152774,
-0.013608077,
-0.02966301,
-0.009794261,
-0.07408918,
-0.04557441,
0.00023921783,
-0.007832675,
0.03559561,
0.033435818,
0.014024999,
0.016854605,
-0.021775657,
-0.0150228795,
-0.010040314,
-0.012446161,
0.0009466191,
0.033763885,
0.04601184,
0.03031915,
-0.01314331,
0.012384648,
0.046914034,
0.0058369148,
-0.0634269,
-0.0130202845,
-0.008078728,
0.035568275,
-0.017497076,
-0.013204824,
0.0073542395,
0.016854605,
-0.01868633,
0.021474926,
-0.021789325,
0.043086547,
-0.034064617,
0.0036361108,
0.037782747,
-0.01533728,
-0.0137037635,
0.008297441,
0.0010371801,
-0.021406578,
0.0146538,
-0.027885964,
-0.03540424,
-0.060528945,
-0.04196564,
0.033873245,
-0.0022640259,
-0.014558113,
-0.04560175,
-0.03925906,
-0.0039846855,
0.028596781,
0.030373828,
-0.036962572,
-0.0031440058,
-0.05888859,
0.050304092,
-0.054815054,
-0.002557922,
-0.029088886,
0.02265051,
0.0046408256,
0.0593807,
0.0020555647,
-0.006947569,
0.043715347,
-0.012596527,
0.04896447,
0.030455846,
-0.03365453,
0.007224378,
0.002132456,
-0.033080406,
0.003318293,
-0.0008206026,
-0.029498976,
0.04161023,
-0.047433477,
0.01734671,
-0.004442617,
-0.02835073,
-0.014394078,
-0.027052118,
0.039395757,
-0.05702953,
-0.0049244696,
-0.013184319,
-0.0056011146,
0.0163625,
0.013594407,
-0.010751133,
0.025179384,
-0.021761987,
-0.009883113,
0.025931211,
-0.027243493,
-0.020873465,
-0.023074267,
-0.021187864,
0.072175436,
-0.0687307,
0.04992134,
0.075565495,
-0.037208624,
0.0076139616,
-0.025821855,
0.036907893,
-0.011311586,
-0.0042273207,
0.029252922,
0.025507454,
-0.052217834,
-0.011352594,
-0.05265526,
-0.047788884,
-0.030893274,
0.028159356,
0.05396754,
-0.021488596,
0.07813538,
0.00458273,
-0.042074997,
-0.046886694,
0.060255554,
0.008591337,
-0.013177484,
0.035540935,
-0.04439883,
-0.026395978,
0.013915642,
-0.027147805,
-0.03267032,
-0.038220175,
0.075620174,
0.023744078,
-0.025548464,
0.014886184,
0.038192835,
-0.049839325,
-0.07939298,
-0.01349872,
-0.015104896,
-0.049894,
-0.050276753,
-0.029526314,
0.0021239126,
-0.04554707,
0.044754237,
0.017100656,
-0.028706139,
-0.0018539381,
0.032451607,
0.005115844,
-0.029225582,
0.039532453,
0.056537423,
-0.03165877,
0.019916592,
-0.051835086,
0.0035199195,
-0.015692689,
0.011523465,
0.057138886,
-0.011434612,
-0.0039095026,
0.023539035,
-0.004668165,
0.051425,
-0.031850144,
0.04964795,
0.024154166,
-0.02895219,
-0.03805614,
-0.025985891,
0.03444737,
0.006387116,
0.037782747,
-0.021789325,
-0.019397149,
-0.0059120976,
0.022103727,
-0.006130811,
-0.054158915,
0.012377813,
0.0110040195,
-0.004152138,
-0.01867266,
-0.01399766,
0.0136764245,
0.036251754,
-0.0050269915,
-0.048144296,
-0.029280262,
0.017018639,
-0.028432747,
0.019697879,
-0.033135086,
0.030045759,
-0.050577484,
-0.0057788193,
-0.022008039,
-0.02565782,
-0.033873245,
0.013273172,
0.005269627,
0.0096712345,
-0.05631871,
0.042813156,
-0.0065408987,
0.0027322092,
-0.012425657,
0.012241118,
0.016909283,
-0.014216374,
-0.05363947,
0.040434647,
0.009329495,
-0.0034789105,
-0.015706358,
0.03824751,
-0.013840459,
-0.03800146,
0.0059189326,
0.043523975,
-0.012541848,
0.0004171361,
0.0077916663,
0.029225582,
-0.059763446,
0.008003545,
-0.005819828,
-0.03373655,
0.0024571088,
0.019451827,
0.03565029,
0.063098826,
-0.011721673,
0.0012089043,
-0.01734671,
-0.0020043035,
0.030783916,
0.020600071,
0.020107966,
-0.0067356904,
-0.010737463,
-0.03966915,
0.0090150945,
0.0096644005,
-0.01695029,
-0.009855774,
-0.022623172,
-0.008570833,
-0.017620102,
-0.013054458,
-0.023238303,
0.018426606,
0.032478947,
-0.0130339535,
-0.020682089,
0.0007539633,
-0.021201534,
0.025220394,
-0.094812274,
-0.021078508,
-0.012555518,
0.03761871,
0.006653673,
-0.015050218,
-0.03808348,
0.03827485,
-0.0016907573,
-0.0016856313,
0.00882372,
0.02798165,
0.018946052,
0.01997127,
-0.039805844,
-0.0039675985,
0.005457584,
-0.0123299705,
-0.049374558,
-0.009978801,
0.02832339,
0.03171345,
-0.015132236,
-0.012664875,
-0.029416958,
-0.0006151315,
-0.010429897,
0.0072722216,
0.0016728161,
0.0038411547,
-0.016526533,
-0.0060043675,
-0.006301681,
0.006352942,
-0.03127602,
0.019192103,
0.026477996,
-0.0123163005,
0.0025032437,
0.011181724,
0.038930994,
-0.021720978,
0.003704459,
0.014558113,
-0.0024964088,
-0.025439106,
-0.0014327439,
-0.024400217,
0.039833184,
0.031385377,
0.015460306,
0.005146601,
0.0058437497,
0.013580738,
-0.025917543,
-0.037864763,
0.054459646,
0.024864985,
0.0054712533,
0.006035124,
-0.007429422,
-0.014435087,
-0.009172295,
-0.021037498,
0.024755627,
0.020914473,
0.0024707783,
-0.009329495,
-0.045437716,
0.07868216,
-0.0024366044,
-0.047624853,
-0.012097587,
-0.005324305,
0.015214253,
0.038110815,
-0.023265641,
0.013785781,
0.026190935,
0.03756403,
0.053912863,
0.03168611,
0.027694589,
0.035759646,
-0.026409648,
0.01315698,
0.007812171,
0.012152266,
-0.040407307,
-0.045219004,
-0.0117080035,
-0.007566118,
-0.034857456,
0.010703289,
-0.0053277225,
-0.03830219,
-0.015802046,
-0.005802741,
0.018877704,
-0.06134912,
-0.016471855,
0.017756797,
-0.032834355,
-0.027270831,
0.027489545,
0.043469295,
0.010265862,
-0.0027099962,
0.021830335,
0.0136764245,
0.04874576,
0.028706139,
0.00035519575,
0.030537864,
0.03400994,
0.0014148025,
-0.0173057,
0.0067698644,
-0.007333735,
0.0008782711,
0.021857673,
-0.049811985,
-0.017961841,
0.009725913,
0.0036190238,
-0.057248242,
-0.01965687,
0.026710378,
-0.017251022,
0.014640131,
0.042211693,
0.029252922,
-0.00055789016,
-0.04100877,
-0.019861914,
-0.006561403,
0.019820906,
-0.030264473,
0.0062299157,
-0.052163154,
-0.040461987,
-0.051233623,
-0.036033038,
-0.03368187,
-0.011796856,
-0.0065169767,
-0.061950583,
0.015214253,
0.011571308,
0.03231491,
0.01965687,
-0.020121636,
0.0006766447,
0.012193274,
0.024085818,
-0.037399996,
0.036716517,
0.03904035,
0.017251022,
0.0096712345,
0.0021222038,
0.027516885,
0.03231491,
-0.019192103,
-0.010498245,
0.0035301715,
-0.06627017,
-0.02699744,
-0.040544003,
0.042102337,
0.006923647,
-0.027407527,
-0.061458476,
-0.012863084,
-0.064793855,
0.0048629567,
-0.01218644,
0.04456286,
-0.0313307,
0.027106797,
0.026136255,
-0.06260672,
0.21871343,
0.059107307,
0.018535964,
-0.0024912828,
0.037810087,
0.070152335,
0.013122806,
-0.024823975,
-0.003697624,
-0.06348158,
0.004350347,
-0.050276753,
0.027352849,
0.039833184,
-0.0045007123,
0.009903618,
-0.06435643,
-0.018563302,
-0.008119737,
-0.05888859,
-0.023060597,
0.045410376,
0.00063905335,
0.0801038,
0.013867799,
0.011981395,
0.010634941,
-0.023894442,
-0.040489323,
-0.046832014,
0.016253142,
-0.05495175,
0.024769297,
0.014038669,
-0.044262134,
0.0034003104,
0.023785086,
-0.022541154,
-0.002103408,
0.0049073827,
-0.012945102,
-0.015747368,
-0.005994115,
-0.022035379,
-0.015528654,
0.0021392908,
-0.018139545,
0.039915204,
0.021078508,
-0.079010226,
0.048800435,
-0.018262573,
0.020682089,
-0.032096196,
-0.048062276,
-0.03901301,
-0.02933494,
-0.0065477337,
0.0005027846,
0.012480335,
0.0066673425,
-0.0027407529,
-0.044207454,
0.04024327,
-0.023757746,
0.05265526,
-0.016389837,
-0.008106067,
0.010245358,
-0.012418822,
0.014899853,
0.0032550711,
-0.019807236,
0.011386768,
-0.01366959,
0.01904174,
-0.0049552266,
-0.0045280517,
0.026956432,
0.002076069,
-0.0012114674,
-0.03895833,
-0.011434612,
-0.04166491,
0.019287791,
0.0720114,
-0.047105405,
0.0037898938,
-0.005529349,
0.031822804,
0.028214034,
0.03977851,
-0.0071286913,
-0.010826315,
-0.002041895
] | The first and third sentences are now padded with 0's because they are shorter.
Truncation
On the other end of the spectrum, sometimes a sequence may be too long for a model to handle. In this case, you'll need to truncate the sequence to a shorter length.
Set the truncation parameter to True to truncate a sequence to the maximum length accepted by the model: |
[
0.03646979,
0.016353406,
0.0026931483,
0.031037519,
-0.03491367,
-0.010503809,
0.0121943215,
0.010404783,
-0.041732308,
0.07044979,
-0.013361411,
0.0072324206,
0.017442688,
-0.018475387,
-0.03324438,
0.02215349,
-0.025888177,
-0.03177314,
-0.012081149,
0.022931548,
-0.012102368,
-0.009265986,
-0.05251197,
-0.009676237,
-0.01936662,
-0.00058531325,
-0.000024493967,
0.0015897179,
0.049795836,
0.041732308,
-0.038252257,
0.032565344,
-0.006143137,
-0.019168567,
-0.017159758,
-0.034970257,
0.020413464,
-0.008304021,
-0.04416551,
-0.017584154,
0.04048741,
-0.0038513967,
0.050701216,
-0.021927144,
-0.023653023,
-0.018645145,
-0.028236503,
-0.0077310866,
-0.02116323,
-0.017371956,
-0.024742305,
0.0036020637,
0.009930874,
0.006716072,
-0.059585243,
0.0073632766,
-0.012265054,
0.0039044463,
-0.037063945,
-0.0142597165,
-0.018249042,
0.028915538,
-0.027684787,
-0.022733497,
0.014061665,
0.023836927,
-0.005821303,
0.0015269426,
-0.023921806,
-0.0059309388,
-0.028887244,
0.06213162,
-0.019918334,
-0.033668775,
0.00046197308,
-0.023978394,
0.029849209,
-0.029339934,
-0.0058142296,
0.08018261,
0.011310162,
0.024855478,
-0.03446098,
-0.0261994,
-0.020979324,
-0.035479534,
0.03655467,
-0.034319516,
0.0034888915,
-0.0010777898,
-0.02632672,
0.017951965,
0.0020229558,
0.022931548,
0.025562806,
0.07593865,
-0.021630066,
0.05616178,
-0.035988808,
-0.05488859,
0.024487669,
0.05828376,
-0.027585762,
-0.0024225956,
-0.01000868,
0.05330418,
0.04425039,
0.03095264,
-0.014768993,
0.033866826,
-0.0050856825,
-0.004880558,
0.027896985,
-0.027189659,
-0.062697485,
0.045127477,
0.030896053,
-0.006143137,
-0.062414553,
0.000961965,
0.0139626395,
0.02153104,
0.009591357,
-0.010206732,
0.018150017,
-0.07299617,
-0.009379159,
0.034828793,
-0.030726295,
-0.009067935,
0.0071581514,
-0.0033934023,
0.009754042,
0.07169469,
0.012463106,
0.02423303,
0.008813297,
0.021403722,
0.0018991736,
-0.013969713,
-0.009329646,
-0.029934088,
0.010921132,
0.07888113,
0.010411857,
0.021007618,
0.018843196,
-0.0023553995,
-0.0089547625,
0.0038337135,
-0.039808378,
0.024459375,
0.00068257074,
0.0067408285,
0.00040074508,
-0.012788476,
-0.004632993,
-0.03955374,
0.014104105,
0.011387968,
-0.0007917644,
-0.01915442,
0.015037777,
0.06846927,
-0.025987202,
0.023879366,
-0.022224221,
0.009909654,
-0.0026312573,
-0.038054205,
0.01197505,
-0.020625662,
0.0146275265,
0.0048734844,
0.01785294,
0.045127477,
0.042156704,
-0.0437977,
0.017697327,
-0.007589621,
0.006967173,
0.0032201072,
-0.02738771,
0.021630066,
0.00032205493,
0.032282416,
0.0048699477,
0.025279874,
-0.009188181,
-0.009400379,
-0.004555187,
0.025789151,
-0.04962608,
-0.00620326,
-0.024218883,
0.0392991,
-0.015702665,
0.015702665,
0.02693502,
-0.015320707,
0.012399446,
0.058849625,
-0.011034304,
-0.0010998938,
-0.01316336,
0.011762852,
-0.005181172,
0.049682662,
-0.005181172,
0.00771694,
0.027034046,
0.0360171,
-0.018645145,
0.026411599,
0.009096228,
-0.0028717485,
-0.0037488344,
0.0061006974,
-0.010800887,
0.024148151,
-0.013460437,
0.035507828,
0.061622348,
0.009874288,
-0.0031511427,
-0.046825062,
-0.008572806,
0.03536636,
0.008961836,
0.014783138,
0.01707488,
-0.016777802,
-0.005227148,
0.05121049,
-0.011692119,
0.015900716,
0.08465292,
0.021488601,
-0.03774298,
0.033272672,
-0.033838533,
0.027401857,
0.026312573,
-0.0061148438,
0.020894445,
-0.005269588,
-0.020286145,
-0.029028708,
-0.015221681,
0.041704014,
-0.08295534,
0.060830142,
0.006567533,
0.013113847,
-0.02751503,
-0.026355011,
-0.024515962,
0.0006715188,
-0.033583898,
-0.018319774,
0.06728096,
0.028349675,
-0.009421598,
-0.04385429,
0.027854545,
0.053162713,
0.0026330256,
0.035394654,
-0.037460048,
-0.0270199,
-0.007667427,
-0.049512904,
-0.032310706,
-0.005821303,
0.0077310866,
-0.0082898745,
0.042184994,
-0.052710023,
-0.0050998293,
0.0009769957,
-0.03992155,
0.011395042,
-0.038535185,
0.016650483,
-0.00057072466,
0.009973314,
-0.06869562,
0.06530045,
-0.021488601,
0.07565572,
-0.013219946,
-0.0075966944,
-0.00012709785,
-0.031546794,
0.009541844,
0.033018034,
0.0053226375,
-0.021417867,
-0.03216924,
0.0023147282,
-0.0033226695,
-0.019267593,
0.005499469,
0.008502074,
-0.01301482,
0.028561873,
0.024034979,
-0.01633926,
0.050503165,
0.04809825,
-0.020088093,
0.01387776,
0.022422273,
0.054718833,
-0.035140015,
0.033866826,
0.036582965,
0.035621,
-0.048579235,
-0.026510624,
-0.013792881,
0.006022891,
0.011571873,
-0.009039642,
-0.015207536,
0.04430698,
-0.020399317,
-0.06281066,
0.0010486126,
0.0046683596,
0.011267723,
0.017343663,
-0.03332926,
0.020144679,
0.015122656,
-0.019522231,
-0.057208624,
-0.023228627,
-0.0055136154,
0.0413362,
-0.0104613695,
-0.018800758,
-0.009046715,
0.03324438,
0.026086228,
0.011967977,
0.025690125,
-0.04526894,
-0.0034729766,
-0.01682024,
0.01928174,
0.01543388,
0.037969325,
0.02079542,
0.017414397,
0.03033019,
-0.03398,
-0.0008960952,
0.01592901,
0.030811174,
0.0013996237,
0.032763395,
-0.01387776,
-0.03873324,
-0.011960903,
-0.02185641,
-0.031546794,
0.019706136,
0.04113815,
-0.021630066,
0.021785678,
0.017117318,
-0.036101982,
0.027189659,
-0.0038655433,
-0.032452174,
0.070619546,
0.02440279,
0.041505963,
-0.033018034,
-0.031037519,
-0.002268752,
0.0039009096,
0.018630998,
0.04031765,
0.012845063,
0.013453363,
0.019720282,
0.0025622929,
0.0010981255,
0.006153747,
0.018956369,
-0.020583222,
0.0038620066,
-0.0462592,
0.00541459,
-0.008650612,
0.038535185,
0.025973056,
0.009372085,
0.007278397,
-0.0028063208,
0.034828793,
0.033216085,
-0.0270199,
-0.0029513228,
-0.063037,
0.08318168,
-0.011762852,
0.006054721,
-0.028462848,
-0.03364048,
-0.010411857,
0.023681315,
-0.0384786,
0.0064472877,
-0.008240362,
-0.007872552,
0.046315785,
0.009011349,
-0.04224158,
-0.042100117,
0.0012192553,
0.0015101436,
0.04982413,
-0.04597627,
0.043995753,
-0.01344629,
0.0050821463,
-0.029057002,
-0.011317235,
0.0006582564,
-0.03013214,
-0.040742047,
-0.052087575,
0.034064878,
0.036130276,
-0.013354338,
0.028137477,
-0.045495287,
-0.016579749,
0.020540783,
-0.01119699,
-0.0029672377,
-0.008438414,
0.035621,
0.02353985,
-0.0035843807,
-0.047928493,
-0.036809307,
0.02931164,
-0.04147767,
0.022507152,
-0.036696136,
0.011939683,
-0.031009225,
-0.018814905,
-0.0060122814,
0.031490207,
0.035677586,
-0.05330418,
-0.014599234,
0.029000416,
-0.023766195,
-0.048635818,
0.034772206,
-0.0022086292,
-0.0012245602,
0.019267593,
0.009053788,
0.013326045,
0.016975854,
0.020130532,
0.0049300706,
-0.0110908905,
-0.009782336,
0.027967717,
-0.017923672,
-0.028434554,
0.0049017775,
0.0019522231,
0.041251324,
-0.025393046,
-0.043995753,
-0.025718417,
-0.05624666,
0.028646752,
-0.016890975,
-0.016777802,
-0.0007678921,
-0.007377423,
-0.019833455,
0.011147477,
-0.060603797,
0.0070909555,
-0.03638491,
-0.007646207,
-0.020314438,
0.05981159,
0.04065717,
0.05726521,
-0.025407193,
-0.0115648,
0.032027777,
-0.03536636,
-0.02185641,
-0.009202327,
0.018192455,
0.007037906,
-0.0077310866,
-0.018899783,
0.009379159,
0.0018744172,
-0.017867085,
-0.00010228615,
-0.018220749,
0.032650225,
0.025124263,
0.0029831526,
0.011465774,
-0.011147477,
-0.022181781,
-0.00087045453,
0.03921422,
-0.02259203,
-0.013538243,
0.021106644,
-0.03615857,
-0.017753914,
0.000103446604,
0.05398321,
-0.040515702,
0.0009557759,
-0.04815484,
-0.019875895,
0.024784746,
0.017329518,
0.013417997,
-0.08951933,
-0.01752757,
-0.021785678,
0.014684113,
-0.022450566,
-0.03845031,
-0.017442688,
-0.026538918,
-0.041647427,
0.056105196,
0.0039433492,
0.0027391247,
-0.019126128,
-0.036894187,
0.0122792,
0.048692405,
-0.02345497,
0.0076532806,
-0.011776998,
-0.009916727,
0.019706136,
-0.013170433,
-0.0038372502,
0.022846669,
-0.048069958,
-0.0018673439,
-0.061848693,
-0.029792622,
-0.025180848,
-0.005626788,
0.02509597,
-0.037516635,
-0.018984662,
-0.039525446,
0.024614988,
-0.0017258785,
0.053700283,
-0.028604312,
0.006111307,
-0.05907597,
-0.0022528372,
0.04526894,
-0.03132045,
-0.016848534,
0.027996011,
-0.003041507,
0.071977615,
-0.049993888,
0.03364048,
0.0520027,
-0.010730154,
0.058793038,
-0.051267076,
0.05302125,
0.013686782,
-0.048437767,
-0.0028204673,
0.015844129,
-0.012845063,
0.010694788,
-0.048437767,
-0.033414137,
0.018715879,
0.027642347,
0.059302315,
-0.045693338,
0.02885895,
-0.010567469,
-0.025675979,
-0.06530045,
0.079446994,
0.016310966,
0.008968909,
0.03910105,
0.021997876,
0.029736036,
0.03782786,
-0.045014303,
-0.029368225,
-0.051691473,
0.04866411,
-0.03279169,
-0.039780084,
0.019451499,
0.0030609586,
-0.028547727,
-0.06897855,
0.04068546,
-0.0008762016,
-0.031801432,
-0.03618686,
0.0036091371,
0.022521298,
-0.03627174,
-0.0058248397,
0.029113589,
0.01277433,
0.0026984534,
-0.0031033983,
-0.018730024,
-0.015872423,
0.060490623,
0.04900363,
-0.048635818,
0.012852135,
-0.027981864,
0.001957528,
-0.05231392,
-0.00422628,
0.059755005,
0.01121821,
-0.0011697424,
0.008700125,
-0.020526636,
0.08674661,
-0.023808634,
0.0031882774,
0.03267852,
-0.037460048,
-0.035507828,
0.002240459,
0.018843196,
0.021078352,
-0.00015163327,
0.01604218,
-0.011006012,
0.0068150978,
0.040628877,
0.009421598,
-0.07480693,
0.047871906,
0.027430149,
-0.031659964,
-0.023016429,
-0.04515577,
0.031207277,
0.033216085,
-0.050107062,
-0.017103173,
0.0039787157,
0.005916792,
-0.028038451,
0.008742564,
-0.012809696,
0.0063199685,
-0.014196057,
-0.031801432,
-0.022549592,
-0.052625146,
0.0059945984,
-0.012852135,
-0.049201682,
-0.013771661,
-0.02189885,
0.034630742,
-0.003925666,
-0.010001607,
-0.029849209,
-0.054520782,
0.025732564,
-0.004371282,
-0.010150146,
0.02734527,
0.030386778,
0.0024986335,
-0.00005280087,
0.026581356,
-0.03717712,
-0.019550525,
0.0008713387,
0.05140854,
-0.018673439,
0.037403464,
-0.004859338,
0.022507152,
-0.010015753,
-0.009718676,
-0.025902323,
-0.0132270185,
-0.009732823,
0.01314214,
0.0028063208,
0.052596852,
0.031377036,
-0.016452432,
0.036130276,
0.0020653955,
0.03344243,
0.026439892,
0.0030768735,
-0.024204737,
0.00847378,
-0.067167796,
0.025124263,
0.02215349,
-0.0036073688,
0.02349741,
0.025166702,
-0.028547727,
-0.052596852,
-0.020710541,
-0.017739767,
0.015037777,
-0.006793878,
-0.014712406,
0.014104105,
-0.0024367422,
-0.018673439,
0.015532905,
-0.058906212,
-0.03941227,
0.021403722,
-0.035621,
0.013828247,
-0.03434781,
-0.015518759,
0.001968138,
0.017654886,
0.02079542,
0.008721344,
0.021361282,
-0.02481304,
-0.006931807,
-0.04077034,
0.014556794,
0.013771661,
-0.00957721,
-0.03004726,
-0.022096902,
0.05121049,
0.041364495,
-0.032027777,
-0.019762723,
-0.051634885,
-0.017004147,
0.0011626692,
0.033923414,
-0.047673855,
-0.020809567,
-0.0826724,
0.004254573,
-0.014910458,
0.03253705,
0.008197922,
0.02321448,
0.0078088925,
0.016466578,
0.00046285725,
0.047504097,
0.02628428,
-0.027331123,
0.02189885,
0.01690512,
0.02038517,
-0.040911805,
-0.015674371,
-0.011225283,
-0.011529434,
0.020073947,
0.05367199,
-0.0034093172,
0.029736036,
0.014910458,
-0.026015496,
-0.0092094,
0.03921422,
0.042100117,
-0.039836667,
-0.022563739,
0.0017921904,
-0.009166961,
-0.0075542545,
0.0062704557,
0.030245312,
0.01000868,
0.014613381,
-0.008226216,
-0.020880299,
-0.011727485,
0.012590424,
-0.032310706,
-0.010616981,
-0.022620324,
0.036950774,
0.00998746,
0.00540398,
-0.014443622,
0.0231296,
0.0030874833,
0.062357966,
0.007936211,
0.011798218,
0.06739414,
0.0029424813,
0.015702665,
-0.031094104,
-0.0024756452,
-0.046117734,
-0.015617785,
-0.02243642,
0.044759665,
-0.00886281,
-0.0100581935,
-0.028363822,
-0.026524771,
-0.0073066903,
-0.0675639,
0.031942897,
-0.067224376,
-0.008728418,
0.024049126,
-0.000010720428,
-0.042524513,
0.022252515,
-0.04113815,
0.029622864,
0.06331993,
0.033159498,
-0.023101307,
0.02349741,
-0.010843326,
0.012265054,
0.05763302,
0.026255986,
-0.02615696,
-0.024218883,
0.0019646015,
0.011734558,
-0.00541459,
-0.014146544,
-0.027034046,
0.008381828,
0.037884444,
-0.03884641,
-0.038535185,
-0.03895958,
0.013410924,
-0.0039433492,
0.0030326655,
0.06620583,
-0.024346203,
-0.013071407,
-0.05002218,
0.013764587,
0.0014084653,
-0.02226666,
0.011939683,
0.039355688,
-0.025477927,
-0.06399897,
-0.0068858303,
-0.024388643,
0.017329518,
-0.014019226,
-0.025916468,
-0.059698418,
0.038025912,
-0.00074313564,
0.06128283,
0.01800855,
-0.03324438,
-0.011982123,
0.028561873,
-0.0033456578,
-0.017089026,
0.061678935,
0.050786093,
-0.017216345,
-0.0050184866,
-0.045834802,
0.029934088,
0.0040565217,
-0.00052784296,
0.024459375,
0.0004020713,
-0.047136284,
-0.059585243,
-0.050814386,
0.022563739,
0.04003472,
-0.058453523,
-0.047475804,
0.008898176,
-0.069487825,
-0.0019310033,
-0.016848534,
0.007179371,
0.0057965466,
-0.015235828,
0.018829051,
-0.07310934,
0.23585118,
0.06416872,
0.015900716,
0.026553065,
-0.007356203,
0.06688486,
-0.0045834803,
-0.03434781,
0.009166961,
-0.05350223,
0.01891393,
-0.054096386,
-0.004007009,
0.028349675,
0.0032961448,
0.014924604,
-0.045014303,
-0.0022192392,
-0.036215153,
-0.034687325,
-0.014528501,
0.014153617,
0.031433623,
0.071977615,
0.023073014,
0.024247177,
-0.023101307,
0.014337523,
0.00033332795,
-0.04204353,
0.000025253792,
-0.020852007,
0.031122398,
-0.020710541,
-0.016438285,
0.06671511,
-0.00066975044,
-0.061396003,
-0.012236761,
0.016806094,
0.012335787,
-0.028476994,
0.017923672,
-0.019578818,
-0.0097257495,
0.007837186,
-0.008516219,
0.026015496,
0.04331672,
-0.06479117,
0.016098768,
-0.0253789,
0.020752981,
-0.035140015,
-0.031575087,
-0.010220878,
-0.019437352,
-0.042637683,
-0.013623122,
0.018065138,
0.015221681,
0.0053120274,
0.036498085,
0.024190592,
-0.005849596,
0.06462141,
-0.0002129718,
0.018517826,
-0.050984144,
-0.025760857,
0.02570427,
-0.019635404,
0.017470982,
-0.07361861,
-0.011034304,
0.0499373,
0.049993888,
0.07090248,
-0.003186509,
-0.0062739924,
0.044108924,
0.0059804516,
-0.0143304495,
-0.046400666,
0.0018761854,
0.076051824,
-0.040742047,
0.0178105,
-0.0011776998,
0.020187119,
0.008685978,
0.0609999,
0.00078911195,
-0.015900716,
-0.014542648
] | Different pipelines support tokenizer arguments in their __call__() differently. text-2-text-generation pipelines support (i.e. pass on)
only truncation. text-generation pipelines support max_length, truncation, padding and add_special_tokens.
In fill-mask pipelines, tokenizer arguments can be passed in the tokenizer_kwargs argument (dictionary). |
[
0.02768331,
0.023942322,
-0.009948256,
0.009470241,
-0.021628452,
-0.04810633,
-0.0035019803,
-0.006120672,
-0.021531463,
0.07204866,
-0.02416401,
0.026962824,
0.022390505,
-0.044919565,
-0.052540097,
-0.017360955,
-0.02089411,
-0.08191378,
-0.01694529,
0.002151068,
0.013329001,
0.033973712,
-0.08252342,
-0.029983325,
-0.028819462,
0.028071264,
0.008819032,
0.0047905426,
0.041372556,
0.02157303,
0.0008815569,
0.037631568,
-0.0044961134,
-0.07099564,
0.017125411,
-0.017111555,
0.072325766,
-0.008375656,
0.028376086,
-0.013633822,
0.02851464,
-0.011139831,
0.0070940214,
-0.040652066,
-0.06550886,
-0.039238807,
-0.016737457,
-0.0053309076,
-0.019425426,
-0.021891708,
0.023429668,
0.0049256342,
0.065564275,
-0.0060825692,
-0.040818334,
-0.007502759,
-0.018885061,
-0.0021476042,
-0.03804723,
-0.0057604285,
-0.015268773,
0.032311052,
-0.020686278,
-0.057195548,
-0.030426702,
0.008645839,
0.029235126,
0.030426702,
-0.012608515,
-0.03558095,
-0.036107462,
0.0015457554,
-0.046221983,
-0.029567659,
-0.054424446,
0.0040492727,
-0.017762765,
-0.010786515,
-0.03389058,
0.05162563,
-0.0070836297,
0.02981706,
0.0053274436,
-0.009761207,
0.003200623,
-0.061463047,
0.04012556,
-0.015254918,
0.014617563,
-0.04286895,
-0.0070905574,
0.01256002,
-0.018940482,
0.014977807,
0.034056846,
0.03907254,
-0.004638132,
0.07071853,
0.012975685,
-0.020963388,
0.059800383,
0.05691844,
-0.006376999,
0.048771396,
0.009996751,
0.039211094,
0.045723185,
0.021240497,
-0.05317745,
0.037880965,
-0.004052737,
-0.00345695,
0.009539519,
-0.03170141,
-0.046554517,
0.029927904,
0.012947975,
-0.005486782,
-0.029179705,
0.0059578693,
-0.014991662,
-0.00413587,
0.019176027,
-0.021822428,
0.015892271,
-0.07980774,
0.024953775,
0.031590562,
-0.03499902,
-0.010384705,
0.02851464,
0.017638065,
0.01956398,
0.031923097,
-0.025507996,
0.011028986,
-0.020727843,
-0.005701543,
0.021115799,
0.007994629,
0.015587449,
-0.021115799,
-0.009685002,
0.0706631,
0.0020921822,
-0.013959427,
0.005999436,
-0.018067585,
-0.0026550621,
0.015435039,
-0.05991123,
0.021074232,
-0.014167259,
-0.007454265,
-0.05312203,
0.0032924158,
-0.01493624,
0.013031107,
-0.028140541,
0.008541922,
0.025632694,
-0.037908677,
-0.0066610365,
0.070496835,
-0.020256756,
0.07105106,
-0.051403943,
-0.011285313,
0.004780151,
-0.027433911,
0.027641743,
0.006712995,
0.026339326,
0.030537546,
0.04200991,
0.04372799,
0.027863432,
-0.00984434,
0.0064497404,
0.008070835,
-0.015365762,
-0.029761637,
-0.0103639215,
0.0023277258,
-0.0038968623,
0.0146868415,
0.010599466,
-0.036162883,
-0.010959709,
-0.016973,
0.042702682,
0.0450027,
-0.051431656,
0.020935677,
0.0013093457,
0.013543761,
-0.036717102,
0.008403367,
-0.008555777,
-0.041427977,
-0.020021213,
0.055754576,
0.020838687,
0.016335648,
-0.014215753,
0.0071355877,
0.05963412,
0.042203885,
-0.02336039,
-0.00084821705,
0.027018245,
-0.011707907,
-0.014056415,
0.010959709,
0.015088651,
-0.018635662,
-0.022570627,
0.036689393,
-0.01601697,
0.039709892,
-0.026658002,
0.009359397,
0.029539948,
0.021309774,
0.0031382733,
-0.031230321,
0.0035816494,
0.023041714,
0.023789912,
0.048743688,
0.038629163,
0.02117122,
0.011486218,
0.07382216,
-0.0003593773,
0.022238094,
0.03801952,
0.05209672,
0.0041705086,
-0.0044787936,
-0.014880818,
-0.01107748,
0.032144785,
-0.0062141963,
0.016003115,
0.037077345,
-0.008618128,
-0.023789912,
-0.0445039,
0.026713425,
-0.01737481,
0.05071117,
0.016779024,
-0.0035608662,
-0.029068861,
-0.051431656,
-0.0055179573,
0.020270612,
-0.029927904,
-0.022515204,
0.03256045,
0.018538672,
0.042702682,
-0.012483815,
0.029373683,
0.054202758,
0.003598969,
-0.0025095793,
-0.0029252446,
-0.012359115,
-0.046748493,
-0.07160528,
-0.05697386,
0.00081314525,
-0.0382135,
-0.014188043,
-0.013211229,
-0.037880965,
0.0129895415,
0.013135024,
-0.02524474,
0.012934119,
-0.032477316,
0.05350998,
0.011001276,
-0.0076066754,
-0.04694247,
-0.0018254635,
-0.0034863928,
0.061518468,
-0.025161607,
-0.0064670597,
-0.029456815,
-0.03452793,
-0.019633258,
-0.0079461355,
0.016779024,
-0.015019373,
-0.017859753,
-0.008375656,
0.012324477,
-0.0064151012,
-0.010329283,
0.02771102,
-0.022584483,
0.04478101,
0.05780519,
-0.0041289423,
0.029096572,
0.05048948,
-0.04370028,
0.061961845,
-0.0013084798,
0.012151283,
-0.012123572,
0.03064839,
0.061407622,
0.02046459,
-0.017139267,
-0.027392345,
-0.035303842,
0.006480915,
0.0021527999,
-0.047940068,
-0.004167045,
0.026616435,
-0.04453161,
-0.05151479,
0.019300727,
-0.07143901,
-0.02629776,
-0.0042051473,
0.011964234,
0.050350927,
-0.0034708055,
0.0009846073,
-0.036052037,
-0.015268773,
0.008812104,
0.037437588,
0.02169773,
-0.01876036,
-0.02373449,
0.014028705,
-0.004139334,
0.021226643,
0.04342317,
-0.02524474,
0.0064497404,
-0.012379899,
0.043284614,
0.04178822,
0.015850704,
-0.002014245,
0.0067545613,
0.047025602,
-0.03691108,
0.028597774,
0.030454412,
0.022459783,
0.03413998,
0.0007988568,
0.016876012,
0.0021406764,
-0.02811283,
-0.018372407,
0.014575997,
0.0009958649,
0.044282213,
-0.03613517,
0.029678503,
0.006376999,
-0.01364075,
0.0045723184,
-0.02333268,
-0.055671442,
0.039737605,
0.012691648,
0.047108736,
-0.024261,
-0.0032750964,
0.0072879987,
-0.011624773,
0.03062068,
0.036772527,
0.05489553,
0.00073477504,
-0.0039141816,
-0.023401957,
0.025563417,
-0.0059925085,
-0.025757395,
-0.026907401,
-0.015241061,
-0.035968907,
-0.017430233,
0.035137575,
0.02481522,
0.036966503,
-0.004835573,
0.020700132,
-0.0053863297,
0.018358551,
0.042674974,
0.013495267,
-0.046028007,
-0.043312326,
0.057638925,
0.012913336,
0.0207417,
-0.044587035,
-0.0040631285,
-0.0309255,
0.024759797,
0.0063042575,
-0.0007702798,
-0.03879543,
0.011811823,
0.019827235,
-0.021115799,
-0.00181334,
-0.027600177,
-0.0029356363,
0.0003115325,
0.06295944,
-0.018289274,
-0.0115485685,
-0.008354872,
0.004021562,
0.025258595,
-0.0087705385,
-0.028985728,
-0.044919565,
-0.031784542,
-0.034611065,
0.012428393,
0.050877433,
-0.0047905426,
0.0203676,
-0.032117072,
0.008029268,
0.012629298,
-0.016806735,
-0.026464025,
-0.001754454,
-0.0076343864,
0.002916585,
0.041095443,
-0.01092507,
-0.021559175,
0.01493624,
-0.028334519,
0.0073434208,
-0.05425818,
0.0036301438,
-0.020907965,
-0.02725379,
0.024219433,
0.055338908,
0.00786993,
-0.018386263,
0.0021441402,
0.031008633,
-0.016973,
-0.06800284,
0.01546275,
0.03280985,
-0.00532398,
-0.0032733644,
-0.017416377,
0.0127817085,
0.010502477,
0.033502623,
0.006290402,
0.009809702,
0.0055595236,
0.025965227,
-0.037825543,
-0.010502477,
0.02645017,
-0.040541224,
0.014769974,
0.0028334518,
-0.0044926493,
-0.017139267,
-0.071549855,
0.0056391926,
-0.0023744882,
-0.002177047,
0.044642456,
0.023207981,
-0.010945854,
-0.0021995623,
-0.029456815,
-0.025397152,
-0.02009049,
-0.0003479032,
-0.024912208,
0.0693884,
0.00808469,
0.0025355585,
-0.025743539,
-0.027489332,
0.022750748,
-0.021351341,
0.014589853,
-0.013322073,
-0.028223675,
-0.012241344,
-0.026976679,
-0.016515769,
0.026713425,
-0.011001276,
-0.028182108,
0.011119047,
-0.015005518,
0.008694333,
-0.0025009196,
-0.053648535,
0.070496835,
-0.002601372,
-0.05190274,
0.0085142115,
0.013259724,
0.020520011,
0.0146868415,
0.0276556,
-0.020035068,
-0.025383295,
-0.068723336,
0.029151995,
-0.043284614,
0.010315428,
-0.059855808,
-0.022695327,
-0.03713277,
0.032477316,
-0.013917861,
-0.074210115,
-0.0087705385,
-0.049852125,
0.009982895,
0.024787508,
-0.026824268,
-0.041871354,
0.009982895,
-0.030509835,
0.040014714,
-0.005750037,
0.0035158359,
0.015836848,
-0.023000147,
0.011285313,
0.092998184,
-0.061518468,
0.01916217,
-0.004672771,
-0.00085990765,
-0.013273579,
-0.008555777,
-0.00651209,
0.017028423,
-0.045390654,
0.004960273,
-0.06966551,
-0.043201484,
-0.046194274,
-0.0028940698,
0.064622104,
-0.05863652,
-0.046859335,
-0.024524253,
0.043201484,
0.031174898,
0.042896662,
-0.043617148,
-0.0238869,
-0.075263135,
-0.049685862,
0.042785816,
-0.011139831,
0.0014028704,
0.016917579,
-0.011652485,
0.053205162,
-0.05190274,
0.03200623,
0.090060815,
-0.009040721,
0.011493146,
-0.026602581,
0.024053166,
-0.008313307,
-0.03361347,
0.023651356,
-0.013516051,
-0.0107241655,
0.004606957,
-0.053011183,
-0.05181961,
-0.0129895415,
0.00725336,
0.031923097,
-0.04234244,
0.041372556,
-0.00746812,
-0.013086529,
-0.05162563,
0.038906273,
0.024441121,
0.023152558,
0.04672078,
0.004787079,
-0.0036959574,
-0.02441341,
-0.014340454,
-0.014562142,
-0.02552185,
0.036467705,
-0.004361022,
-0.045723185,
0.022002552,
0.02981706,
-0.027212223,
-0.058802787,
0.018386263,
-0.008375656,
-0.011797967,
-0.039266516,
-0.0207417,
0.037908677,
-0.03585806,
-0.0058955196,
0.02771102,
-0.038435187,
-0.0029893264,
0.030288147,
-0.0026100317,
-0.025480283,
0.044947278,
0.039987005,
-0.012643154,
0.0129895415,
-0.0754294,
0.004406052,
-0.024053166,
0.003538351,
0.049990684,
0.0025996403,
0.0069173635,
0.028348375,
0.0027329994,
0.084851146,
-0.041566532,
0.0068342304,
-0.0040631285,
-0.021503752,
-0.045141254,
-0.026228482,
0.012178994,
-0.013065746,
0.008846744,
-0.0148392515,
-0.014084127,
-0.0031607884,
0.04206533,
-0.01900976,
-0.10169945,
0.011465435,
-0.0309255,
-0.041372556,
-0.035719506,
-0.025272451,
-0.014825396,
0.03389058,
-0.022792315,
-0.048605133,
-0.008160896,
-0.0036336076,
-0.038407475,
-0.018635662,
-0.049741283,
0.0014556946,
-0.045418363,
-0.006941611,
-0.0100036785,
0.0055595236,
0.00808469,
0.0035747217,
-0.005427896,
-0.014368164,
-0.041677374,
0.033946,
-0.033973712,
0.01398021,
0.0070074243,
-0.0023675603,
0.023623645,
-0.0029598835,
-0.0062141963,
-0.035941195,
0.024108589,
-0.019286871,
-0.016876012,
-0.01342599,
-0.0082578845,
-0.03125803,
0.03413998,
0.05725097,
-0.007495831,
0.03912796,
-0.00198307,
0.048771396,
-0.035359263,
-0.041427977,
-0.031590562,
-0.0012625834,
0.01092507,
0.030066459,
0.00827174,
0.053371426,
0.009892834,
0.021129653,
-0.011998872,
0.03660626,
-0.0038656874,
0.00037020192,
-0.0057292534,
-0.0035192997,
0.02929055,
-0.014769974,
0.009802774,
0.010273861,
-0.04430992,
0.033779737,
0.014368164,
-0.03585806,
-0.021808574,
0.03663397,
0.0042882804,
0.021933272,
0.02456582,
-0.04511354,
-0.010017534,
0.036107462,
-0.022917014,
0.007281071,
-0.022570627,
-0.024635097,
0.022778459,
-0.018885061,
0.002377952,
-0.035691794,
-0.035109863,
-0.00023381175,
0.02416401,
0.01925916,
-0.0016098372,
0.027863432,
0.02725379,
0.04231473,
-0.02820982,
-0.021988695,
-0.0072602876,
0.0019380396,
-0.040014714,
-0.024593532,
0.03441709,
0.027600177,
0.008555777,
-0.023000147,
-0.050378636,
0.01752722,
0.0135784,
0.020326033,
0.014174188,
0.01749951,
-0.04253642,
0.042841237,
-0.04181593,
-0.01611396,
0.0072879987,
0.027433911,
-0.0015665387,
0.026270049,
-0.02904115,
0.02987248,
0.019799525,
-0.021032665,
0.013329001,
0.0075997477,
0.008680478,
-0.007412698,
0.01916217,
-0.045446075,
0.054646134,
0.052734073,
0.021032665,
-0.021531463,
0.017139267,
0.03549782,
-0.028902596,
-0.044393055,
0.026796557,
-0.0062349797,
-0.0061830217,
0.013405207,
-0.031839963,
-0.025009196,
-0.014188043,
0.0083063785,
0.011874173,
0.0075997477,
-0.0037964098,
-0.004080448,
-0.041344844,
0.01752722,
-0.00913771,
-0.014575997,
0.003256045,
-0.020242902,
0.036994215,
0.04153882,
0.008534995,
-0.02820982,
0.06312571,
0.019619403,
0.027336922,
0.026685713,
-0.032976117,
0.04040267,
0.0041809003,
0.012490743,
-0.022390505,
-0.0018722259,
-0.004378341,
-0.021863995,
-0.052734073,
0.0033564975,
-0.0035504745,
-0.018483251,
0.03879543,
-0.02536944,
-0.01870494,
-0.043589436,
0.028320665,
-0.01749951,
0.045446075,
0.01916217,
-0.06024376,
-0.04040267,
0.030897789,
-0.019647114,
0.025965227,
0.027226077,
0.07437638,
0.025147751,
0.09543676,
0.00037453178,
0.0030343567,
0.027503189,
-0.000052824133,
-0.015836848,
-0.024551965,
0.012428393,
-0.012123572,
0.03522071,
-0.033530336,
-0.043229192,
-0.004780151,
0.027073668,
-0.031562854,
-0.04638825,
0.019591693,
0.013280507,
-0.007641314,
0.019203737,
0.07853303,
0.023526657,
0.007218721,
-0.011507002,
0.008798249,
-0.02685198,
-0.008417223,
-0.01172869,
0.037825543,
-0.039460495,
-0.047108736,
-0.013613039,
-0.059301585,
-0.022695327,
0.015324195,
-0.015019373,
-0.03522071,
0.035719506,
0.03181225,
0.022626048,
0.01993808,
-0.016446492,
-0.020242902,
0.05511722,
0.03195081,
-0.004641596,
0.03688337,
0.047579825,
0.012504598,
0.049879838,
0.007863002,
0.037021924,
0.020991098,
0.009491025,
0.011105192,
-0.0031019025,
-0.019924223,
-0.044642456,
-0.022265805,
0.05109912,
0.027392345,
-0.016363358,
-0.07143901,
-0.031119477,
-0.070219725,
0.020824833,
-0.008119329,
0.054867823,
-0.0068688695,
-0.019342292,
0.0019432354,
-0.044947278,
0.22612193,
0.099759676,
0.054563,
-0.011125975,
0.01465913,
0.033752024,
0.0101838,
-0.028736329,
-0.0027918853,
-0.016640468,
0.034333955,
-0.036994215,
0.008867526,
0.017042277,
-0.0070905574,
0.03472191,
-0.06672814,
0.0025043834,
-0.020409167,
-0.01956398,
-0.044919565,
0.009615724,
0.034029134,
0.020963388,
0.008929877,
0.01626637,
0.025757395,
-0.027184512,
-0.02385919,
-0.028043553,
-0.00276937,
-0.018552529,
0.011624773,
0.004187828,
0.014977807,
0.0379641,
0.00022428608,
-0.065287165,
-0.008375656,
0.008403367,
0.002431642,
-0.029207416,
-0.002518239,
-0.02552185,
-0.024080878,
0.042841237,
0.002750319,
0.045723185,
0.06733778,
-0.08917407,
0.025743539,
-0.023263402,
0.03275443,
-0.02934597,
-0.043367747,
0.000060563736,
-0.027489332,
0.00048624183,
-0.004336775,
0.035192996,
-0.03153514,
0.015033229,
0.040846046,
0.007371132,
-0.022168817,
0.037021924,
0.006764953,
0.04314606,
-0.016030826,
0.00990669,
0.025909806,
-0.010578683,
-0.035968907,
0.006266155,
0.026990535,
0.029124284,
0.004045809,
0.016224803,
0.006962394,
-0.03688337,
0.023651356,
0.0051161475,
-0.050600324,
-0.014922385,
-0.023512801,
0.062128108,
-0.014243465,
0.018774217,
-0.0203676,
0.02466281,
0.01641878,
-0.000935247,
-0.0074611926,
-0.015684439,
0.0056946147
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True, truncation=True, return_tensors="pt")
print(encoded_input)
{'input_ids': tensor([[101, 1252, 1184, 1164, 1248, 6462, 136, 102, 0, 0, 0, 0, 0, 0, 0],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102, 0, 0, 0, 0, 0, 0, 0, 0]]),
'token_type_ids': tensor([[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]),
'attention_mask': tensor([[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]])}
</pt>
<tf>py
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True, truncation=True, return_tensors="tf")
print(encoded_input)
{'input_ids': ,
'token_type_ids': ,
'attention_mask': } |
[
0.009285121,
0.048445396,
-0.0024378067,
0.0093073165,
-0.029327666,
-0.0598095,
-0.030718584,
-0.04566356,
0.024326278,
0.07256452,
0.0543642,
0.005737539,
0.044450205,
-0.040928517,
-0.0054933885,
0.033382047,
-0.035009716,
-0.03577916,
-0.044509392,
-0.013502268,
0.0056672534,
-0.015995564,
-0.021825584,
-0.00331083,
-0.079252765,
0.018244708,
-0.0197688,
0.0073689087,
0.05421623,
0.054334607,
0.03554241,
-0.011356702,
-0.03524647,
-0.060904477,
0.046965696,
-0.04959956,
0.056968473,
-0.04323685,
-0.011896793,
-0.040780548,
-0.023630818,
-0.009396099,
0.02999353,
-0.024918158,
-0.033174887,
-0.027256085,
0.0004827523,
-0.008537873,
-0.026131513,
-0.00007936051,
-0.0013659486,
-0.014175531,
-0.014634239,
-0.040602986,
0.025332473,
-0.025702398,
-0.02342366,
0.007294924,
-0.014478871,
0.007254232,
-0.015921578,
0.013309907,
-0.0044686957,
-0.053653944,
0.0040987707,
0.053890694,
-0.01512254,
-0.03885694,
-0.011105153,
-0.059128836,
-0.06723759,
0.03202072,
-0.0018459265,
-0.005911404,
-0.02040507,
0.0044945907,
-0.01793397,
-0.012192733,
0.0040210863,
0.042585783,
0.012244523,
0.030748177,
0.012902989,
0.008123556,
-0.0033811159,
-0.017327294,
-0.00044321656,
-0.055784713,
0.014086749,
-0.018200317,
0.012481274,
0.05767873,
-0.0081827445,
-0.010158145,
0.0029205591,
0.032139096,
-0.026826972,
0.039004907,
0.021485252,
0.012954779,
0.010890597,
0.0681846,
-0.015581247,
0.0059964866,
-0.021381674,
0.028084718,
0.0025339872,
0.0032830858,
-0.07309721,
-0.03276057,
0.023512442,
0.011904191,
0.0033811159,
-0.032967728,
-0.009706836,
0.03746602,
0.020286694,
-0.0044058086,
0.00010490846,
0.0012716177,
0.013272914,
0.0129991695,
0.04477574,
-0.035512812,
-0.0045130868,
-0.052854907,
0.0124886725,
0.009721633,
-0.023882367,
0.016143532,
0.008626655,
0.033825956,
0.013265516,
0.013761216,
0.0121557405,
0.016587444,
-0.024784984,
-0.002382318,
0.010121152,
-0.021263298,
-0.008019977,
-0.0005960419,
-0.023704803,
0.059276804,
-0.044213455,
0.043118477,
-0.0064958856,
-0.008634053,
-0.027404055,
0.0032793863,
-0.014094148,
0.016025158,
-0.004431703,
-0.018644227,
-0.0039212066,
0.013021365,
-0.014656435,
0.008315917,
-0.013946178,
0.020982154,
-0.031369653,
-0.021514846,
-0.031251278,
0.04847499,
-0.030570613,
0.022032741,
-0.0022454457,
-0.018274302,
0.031576812,
-0.003153612,
0.027418852,
0.00050957187,
0.010949784,
0.0022602426,
0.014767412,
0.012333305,
0.0039027103,
0.02120411,
0.01571442,
-0.008227135,
-0.015300104,
-0.0045278836,
0.022728201,
-0.038324244,
-0.026205497,
0.021825584,
-0.012022567,
0.0149671715,
-0.025539633,
-0.014752615,
0.03128087,
0.07173588,
-0.063627124,
0.007605661,
-0.052706935,
0.015921578,
-0.023053735,
-0.012673636,
-0.032109503,
-0.06309443,
-0.04516046,
-0.0212485,
0.01744567,
0.035216875,
-0.04749839,
0.014693427,
0.046610568,
0.05637659,
0.0006034404,
0.008049571,
0.020227507,
0.01626191,
-0.058536954,
0.029963937,
0.012991771,
0.007531676,
0.0121557405,
0.020582635,
0.04527884,
0.01892537,
0.018067144,
0.0060075843,
0.057945076,
0.02604273,
-0.0055118846,
-0.019443266,
-0.006222141,
0.03764358,
0.037051704,
0.0069212993,
-0.008478684,
0.04021826,
-0.010957182,
0.0062776296,
-0.014145938,
0.070788875,
0.010653844,
0.038057897,
0.0068880063,
-0.0027485439,
-0.0073504127,
0.03068899,
0.031754375,
-0.019413672,
0.007909,
0.026826972,
0.022698607,
-0.018999355,
-0.028499033,
0.060223814,
-0.044953305,
0.0845205,
0.00271895,
0.033293262,
-0.017268106,
-0.06984187,
-0.020242304,
0.027048927,
-0.028928146,
-0.054127447,
0.03651901,
0.016765008,
-0.0071284575,
-0.013568854,
0.017549248,
0.015803203,
0.0028650702,
-0.0046240645,
-0.010069363,
0.012044763,
-0.02397115,
-0.040750954,
-0.063627124,
0.01862943,
-0.024873767,
-0.025110519,
0.009137151,
-0.066586524,
0.014397487,
0.019827988,
-0.011852401,
-0.02500694,
0.014249517,
0.0028521228,
0.005456396,
-0.023897164,
-0.048504584,
0.022328682,
0.041106082,
0.054778516,
0.018229911,
-0.035601597,
0.007945992,
-0.015995564,
-0.007931195,
-0.027936747,
0.017756406,
0.040188666,
0.010735228,
-0.03341164,
0.012592252,
-0.016735414,
-0.042378623,
0.008619256,
-0.033470828,
0.035719972,
0.011808011,
-0.027655603,
0.0068177204,
0.05208546,
-0.030777773,
0.031843156,
0.02777398,
0.02386757,
-0.0013946178,
0.05613984,
0.051138453,
-0.0007786924,
-0.019990755,
-0.030289471,
-0.031458434,
-0.03799871,
-0.041224457,
-0.03400352,
0.01808194,
0.06220661,
0.0056709526,
-0.059306398,
0.042141873,
-0.07380746,
-0.034329053,
-0.020183116,
0.036045507,
0.00415056,
0.0276704,
0.008086564,
-0.03637104,
0.0036419132,
-0.019206513,
0.013849998,
0.033470828,
-0.013213727,
-0.026545828,
0.03207991,
0.017179323,
0.032109503,
0.016587444,
-0.03320448,
-0.004428004,
0.013849998,
-0.030422645,
0.020922966,
-0.002104874,
0.0047424403,
0.017800799,
0.013657636,
-0.019502454,
0.054926485,
0.020434665,
0.03681495,
0.037613988,
-0.008086564,
0.023897164,
0.008937391,
0.0094478885,
0.011955981,
-0.0064366977,
-0.024252292,
0.05460095,
-0.070552126,
0.03746602,
-0.0032349953,
-0.029786373,
0.013761216,
0.008907798,
-0.028676597,
0.051700737,
-0.03429946,
0.02120411,
-0.054867297,
-0.0123555,
0.008574865,
0.041135676,
0.049658753,
0.021337282,
0.03651901,
0.012422087,
-0.027359664,
0.0033422736,
-0.019842785,
-0.013398689,
0.0063183215,
-0.0011856101,
-0.04462777,
-0.0011199483,
-0.034240272,
0.017652828,
0.030481832,
0.037081297,
0.00676963,
0.025983542,
-0.030511426,
0.059099242,
0.02935726,
-0.020937763,
-0.032642193,
-0.0054711928,
0.07072969,
-0.011667439,
0.046196252,
-0.03829465,
0.011800612,
-0.049422,
0.011541665,
0.02925368,
0.034329053,
-0.03829465,
0.008116158,
-0.030452238,
-0.003275687,
0.016853789,
-0.023749195,
-0.02475539,
0.049422,
0.043059286,
-0.060283,
-0.006725239,
-0.049392406,
0.021633223,
0.05045779,
-0.050516978,
-0.029756779,
-0.004220846,
-0.04601869,
-0.038560998,
0.020893373,
0.04690651,
0.036134288,
-0.007620458,
-0.043769542,
-0.02490336,
0.009521874,
-0.02855822,
-0.011541665,
-0.029135305,
-0.008315917,
-0.021411268,
-0.019739205,
-0.002456303,
-0.035305656,
0.02040507,
-0.06196986,
0.040099885,
-0.014308705,
-0.0087450305,
0.023645615,
0.038028304,
-0.0011541664,
0.028720988,
0.04181634,
-0.031162495,
-0.0035327852,
-0.0002018404,
-0.05371313,
-0.036548603,
0.0035938227,
-0.0039618984,
-0.02110053,
0.024637016,
0.03672617,
0.013827802,
0.03450662,
0.0093073165,
-0.012695831,
0.0004087673,
-0.034565806,
-0.026752986,
0.004324425,
-0.00039027102,
0.0033237773,
-0.016883384,
0.02332008,
-0.022358276,
-0.0105724605,
-0.010838807,
-0.05164155,
-0.0064219004,
-0.026960144,
-0.002411912,
0.041697964,
0.016365489,
-0.0340923,
0.025184505,
-0.04190512,
-0.0051234635,
-0.02312772,
-0.033796363,
-0.011393694,
0.042497,
0.020301493,
0.038886532,
-0.01848146,
-0.0015240916,
0.03252382,
-0.020419868,
0.008959587,
-0.018407475,
0.012784613,
0.03178397,
-0.05451217,
-0.000059361424,
0.0008767226,
0.021337282,
0.027566822,
-0.006196246,
-0.0073430142,
0.040543795,
-0.02021271,
0.00090862863,
0.036933325,
0.001887543,
-0.05859614,
-0.03083696,
0.0031092209,
-0.015610841,
0.036785357,
0.020774996,
-0.035572004,
-0.035394438,
-0.026974943,
0.045693155,
0.00017929809,
-0.042082686,
-0.04664016,
-0.07854251,
-0.048001487,
0.0286618,
0.019458063,
-0.007842413,
0.0043577184,
-0.037081297,
0.03172478,
-0.06102285,
0.0007047074,
-0.012792012,
0.03717008,
0.023527239,
0.029327666,
-0.014508464,
-0.010720431,
0.0132803125,
0.024311481,
0.047557577,
0.03438824,
-0.034565806,
-0.011008972,
-0.017800799,
0.039419223,
0.016025158,
-0.022402667,
-0.026397858,
0.020434665,
-0.013724223,
0.02016832,
-0.023985947,
-0.0058226218,
-0.0036178678,
-0.009055767,
0.062739305,
-0.04382873,
-0.04308888,
0.0040284847,
0.0419939,
0.03643023,
0.02758162,
-0.012636643,
-0.021381674,
-0.04729123,
-0.04294091,
0.030171094,
0.014700825,
0.006617961,
0.001092204,
0.02184038,
0.034624994,
-0.005722742,
0.03968557,
0.056554157,
0.0051234635,
-0.014671232,
-0.0948784,
0.008123556,
0.021396471,
-0.03859059,
-0.0016988813,
-0.024592623,
-0.019354483,
-0.050398603,
-0.019990755,
-0.060164627,
-0.012296312,
-0.027241288,
0.02036068,
-0.005870712,
0.011719229,
0.020049943,
-0.021426065,
-0.041520398,
0.045752343,
-0.02234348,
0.0006681773,
0.016128736,
0.0021326186,
0.01270323,
0.024148714,
-0.06800704,
-0.030659396,
0.008893001,
0.032790165,
-0.03207991,
-0.017060949,
0.01645427,
-0.024104323,
-0.066349775,
-0.031813562,
-0.03400352,
-0.027892357,
0.019591236,
-0.04572275,
0.03628226,
0.05619903,
0.00008092113,
0.008841211,
0.015847594,
-0.032790165,
-0.0006464442,
0.03302692,
-0.0039914926,
-0.024252292,
0.023778789,
0.054985672,
-0.046521787,
-0.010594656,
-0.03216869,
-0.022032741,
-0.039212067,
-0.0109423855,
0.034240272,
-0.052795716,
0.02931287,
0.01575881,
0.031014524,
0.00065800437,
0.03563119,
0.02426709,
0.03542403,
-0.01567003,
-0.032405443,
0.023201706,
0.02758162,
-0.012185334,
0.040159073,
-0.01008416,
0.019073341,
-0.01324332,
0.019857582,
0.04276335,
-0.051404797,
0.007916398,
-0.0652252,
-0.03400352,
-0.009336911,
-0.029090913,
0.0041098683,
0.033145294,
-0.03651901,
-0.05406826,
-0.025228895,
-0.022373073,
-0.010757423,
-0.0043762145,
-0.055518366,
0.020286694,
-0.07422178,
-0.0010450386,
0.007135856,
-0.03187275,
-0.015847594,
-0.0017830392,
0.017416077,
-0.021588832,
-0.022846578,
0.011238326,
0.015655233,
0.011045964,
0.0008124481,
0.01956164,
0.01947286,
0.007058172,
-0.0148265995,
0.031399246,
0.027152507,
-0.0044391016,
-0.034713775,
0.019813191,
0.000032917556,
-0.0038657177,
0.006262833,
0.042378623,
0.018318694,
-0.01279941,
0.0012864147,
0.036874138,
-0.06167392,
-0.037318047,
0.01156386,
0.0016073248,
0.033145294,
0.027463242,
0.0012124297,
0.03586794,
0.0008332564,
0.052706935,
-0.008315917,
0.0008864331,
0.008360309,
0.031014524,
0.0103800995,
0.03663739,
-0.0026283183,
-0.029224087,
0.0084638875,
0.0056820503,
-0.038472217,
-0.0005234441,
-0.046285033,
0.008190143,
-0.030008327,
0.0068066227,
0.018022753,
0.02179599,
0.010121152,
-0.035276063,
-0.015041157,
-0.015492465,
-0.022624621,
-0.03237585,
-0.06729678,
-0.052263025,
0.03128087,
-0.02016832,
0.0038139282,
-0.02184038,
-0.012673636,
-0.021766396,
0.0014445577,
-0.01541848,
-0.00087857223,
0.016158331,
0.011238326,
0.023911962,
-0.020567838,
0.0028502732,
-0.007402202,
0.0013567004,
-0.020730605,
0.0015046705,
0.010298716,
0.05223343,
0.008404699,
-0.031813562,
-0.030748177,
0.0028391755,
0.017549248,
-0.008079166,
-0.025184505,
0.0119263865,
0.01868862,
-0.0077832253,
-0.025628414,
-0.047084074,
0.034181084,
0.022905765,
0.033589203,
0.011156943,
0.010727829,
0.0011772867,
-0.0212485,
-0.026057526,
-0.010017573,
0.0045389817,
0.033293262,
-0.00066725246,
0.024992144,
0.01586239,
0.015610841,
0.06279849,
0.021322485,
-0.021115327,
0.045456402,
0.018762603,
0.02169241,
-0.009965783,
0.061141226,
0.033382047,
-0.027300475,
0.00010687369,
-0.001339129,
-0.030156298,
-0.0006806623,
-0.020878576,
0.011334507,
0.021411268,
0.0024433555,
0.020331087,
-0.01962083,
0.035216875,
0.007557571,
-0.057737917,
-0.038708966,
0.021514846,
0.024207901,
0.027374461,
0.016942572,
0.009595858,
0.056702126,
0.055784713,
0.024444655,
0.0024396563,
0.0014750765,
0.04373995,
-0.0032849354,
-0.001191159,
-0.003884214,
-0.021366876,
-0.035749566,
0.0074835857,
-0.028410252,
-0.0059335995,
0.02332008,
-0.014907983,
0.021677613,
-0.046433005,
0.025184505,
-0.049185246,
0.023645615,
-0.05267734,
-0.02110053,
0.025140112,
-0.0202571,
-0.02910571,
0.07037456,
-0.024829376,
-0.0051900498,
0.015655233,
0.08238973,
0.0024581526,
0.08765746,
0.006458893,
-0.0025469346,
-0.019354483,
0.039951917,
-0.04811986,
-0.024400262,
0.007931195,
-0.00079672626,
-0.029638402,
-0.02574679,
-0.04160918,
-0.026323874,
0.017490061,
-0.025036534,
-0.0326126,
0.0028650702,
-0.00087487296,
-0.040188666,
0.001452881,
0.039448816,
0.009899197,
0.012222327,
-0.04477574,
-0.022003148,
-0.007091465,
-0.016469067,
0.0047461395,
0.023290487,
-0.062739305,
-0.032494225,
0.017312497,
-0.038472217,
-0.060667723,
-0.0023083328,
0.032287065,
-0.00024900585,
0.022506246,
0.0027448446,
0.011978176,
0.05812264,
-0.06729678,
0.028188296,
0.0043762145,
0.054867297,
0.03651901,
0.047883112,
-0.012865997,
0.0013742719,
-0.0030648299,
0.017416077,
0.009950986,
-0.0028410251,
-0.018984558,
-0.023690006,
0.024104323,
-0.050339416,
-0.052410994,
-0.011282717,
0.027418852,
-0.0048571173,
-0.014760014,
-0.055784713,
0.0077166385,
-0.037702773,
0.02574679,
-0.022816982,
0.02984556,
0.0006815871,
0.01161565,
-0.026649408,
-0.01814113,
0.2609008,
0.029815966,
0.06800704,
0.0075982623,
0.041224457,
0.058892082,
0.028972538,
-0.05362435,
-0.014027562,
-0.021766396,
0.01458245,
-0.027463242,
-0.000877185,
0.038057897,
0.003603071,
0.038768154,
-0.018747807,
-0.006384908,
0.01507075,
-0.054245822,
-0.054630544,
0.008308519,
-0.02234348,
0.030748177,
0.02110053,
0.024252292,
0.023837976,
-0.02105614,
0.03503931,
-0.016661428,
-0.02703413,
-0.0558439,
0.036104694,
0.0021770096,
0.0066253594,
0.00864885,
-0.007605661,
-0.030925741,
-0.017327294,
0.0013613246,
0.027463242,
0.002994544,
-0.030896148,
-0.013672434,
-0.038442623,
0.030807367,
0.0010959032,
0.0439767,
0.08676964,
-0.057708323,
0.06924999,
-0.009314715,
0.009122354,
-0.004997689,
-0.04859337,
-0.025243692,
-0.0062739304,
-0.022757795,
-0.024637016,
0.010209934,
0.009950986,
0.06735597,
-0.009499677,
0.030008327,
0.00281698,
0.032316662,
-0.027463242,
-0.0061444566,
-0.03341164,
0.041964307,
-0.005297328,
-0.009906596,
-0.015936375,
-0.038679373,
0.0005225193,
0.07357071,
-0.02016832,
0.05901046,
-0.013827802,
-0.019887175,
-0.018866183,
0.0080421725,
0.03495053,
0.013864795,
0.02405993,
0.077773064,
-0.025850369,
-0.025214098,
-0.030511426,
-0.019206513,
-0.0111347465,
0.038087495,
0.019990755,
-0.0078054206,
-0.038472217
] | This returns three items:
array is the speech signal loaded - and potentially resampled - as a 1D array.
path points to the location of the audio file.
sampling_rate refers to how many data points in the speech signal are measured per second. |
[
-0.002371704,
0.032904346,
-0.033043653,
-0.019809473,
-0.0054329783,
-0.013443138,
-0.019112939,
-0.021578675,
0.0079196105,
0.036080547,
0.00996046,
-0.00017805192,
0.038504492,
-0.059902065,
-0.0052692923,
0.033684466,
-0.004231454,
-0.019767681,
-0.046584304,
-0.048172407,
0.0031465997,
0.031093352,
-0.043770302,
0.00050977705,
-0.029560974,
-0.0017813899,
0.019698028,
0.006362853,
0.06787043,
0.051682945,
-0.012558538,
-0.01638252,
-0.026259394,
-0.053438216,
0.022776715,
-0.009424128,
0.03967467,
-0.035606902,
-0.008455942,
-0.024713084,
0.013206316,
0.035634764,
0.010030113,
-0.0386438,
-0.041764278,
0.025242452,
0.00026272456,
0.001488845,
-0.036219854,
0.00050107035,
0.016103905,
0.0025075283,
0.05026201,
0.006087722,
-0.001604644,
-0.0648614,
0.006603158,
0.01600639,
-0.017887035,
-0.029226637,
0.026969861,
-0.0051334677,
-0.03989756,
-0.03496609,
-0.021216476,
0.02638477,
-0.02464343,
-0.05349394,
-0.034130245,
-0.0066553983,
-0.074111395,
0.014390427,
-0.035411872,
-0.024545917,
-0.02382152,
0.009681846,
-0.007599204,
-0.020408494,
0.010183351,
-0.0048339576,
0.044884756,
0.047225118,
0.022916023,
0.0010848542,
0.024782738,
0.0084211165,
0.025521066,
-0.041541386,
0.00073919847,
-0.03847663,
-0.05722737,
0.055249207,
-0.059121948,
0.0033538193,
0.027192753,
-0.010865957,
0.017065123,
0.02287423,
0.0059797587,
-0.02011595,
0.030424677,
0.091162585,
-0.019642305,
0.024894184,
0.012126686,
-0.012663018,
0.00043402877,
0.014306842,
-0.031371966,
-0.028864438,
0.0304804,
-0.012391369,
0.03357302,
-0.017106915,
0.0025789232,
0.023292152,
0.0041513527,
-0.0119037945,
-0.03220781,
0.00006323238,
-0.032068502,
0.014404357,
0.017315876,
-0.037975125,
-0.0052344655,
-0.055834297,
-0.012851083,
0.021717982,
0.00996046,
-0.0212722,
0.011290843,
0.034158107,
0.03881097,
0.032681454,
-0.0064116106,
-0.03162272,
-0.02872513,
-0.0072787977,
-0.01464118,
-0.009563435,
0.014362565,
-0.0058717956,
0.02130006,
0.06235387,
-0.003670743,
-0.004315038,
0.005540941,
-0.041095603,
-0.020882139,
0.022344863,
-0.045246955,
0.03984184,
-0.007794234,
-0.019614443,
-0.054803424,
-0.00032519508,
-0.014557595,
0.012245097,
-0.015323784,
0.03479892,
0.017496975,
-0.014404357,
-0.041541386,
0.03708356,
0.039786115,
0.034325276,
-0.0011283878,
-0.013004321,
0.023905104,
-0.04338024,
0.030898321,
0.003512281,
0.024740946,
0.038504492,
0.024545917,
0.011722695,
0.020185603,
0.011228154,
0.002376928,
-0.029756004,
0.0037090525,
-0.029783865,
0.035662625,
0.008644007,
-0.052212313,
0.035049673,
0.017274084,
0.03786368,
-0.044466835,
-0.009772395,
0.030257508,
0.055750713,
-0.03477106,
-0.022414517,
-0.04240509,
-0.0014662076,
-0.043630995,
0.042683706,
0.0034426274,
0.0077872686,
-0.0051160543,
0.049732644,
-0.019614443,
0.017371599,
-0.014613318,
0.060626462,
0.02638477,
0.071603864,
-0.012189374,
0.036191992,
0.049370445,
0.057004478,
-0.0421822,
-0.032096364,
0.02793108,
-0.030313231,
0.011102778,
-0.011033124,
0.00005735536,
0.0013739166,
0.01025997,
0.0073484513,
0.011687868,
0.017106915,
0.032486424,
-0.01759449,
0.028557962,
0.05823038,
0.06229815,
0.06135086,
0.013568515,
0.04351955,
0.010197282,
0.035523318,
0.0041966275,
0.015964597,
0.044829033,
0.013819267,
0.028307209,
0.0042802114,
0.0029689833,
0.001006494,
0.009263924,
0.04474545,
-0.022707062,
-0.029003745,
0.0024082721,
0.0053459113,
-0.015769567,
-0.00625489,
-0.03337799,
0.036470607,
-0.01308094,
0.0132899005,
-0.052992433,
-0.050317734,
0.014905863,
0.01054555,
-0.01464118,
-0.042432953,
0.0050359527,
0.04318521,
0.010726649,
0.026886277,
0.04025976,
0.04009259,
-0.033712327,
0.003799602,
-0.029616697,
-0.011005264,
-0.053048156,
-0.063356884,
-0.08246982,
0.010824164,
-0.022832438,
-0.027513158,
-0.01855571,
-0.0648614,
-0.010991333,
-0.037612926,
0.023696143,
-0.0019468172,
-0.02559072,
0.05589002,
0.004513551,
0.004081699,
-0.03337799,
-0.0016742976,
0.005746419,
0.018318888,
0.0067424653,
-0.02756888,
-0.0004906223,
-0.039591085,
-0.0016690736,
0.01893184,
0.0035366598,
0.027234543,
-0.0027704705,
-0.001717831,
-0.028808715,
0.015365576,
-0.030814737,
0.048283853,
-0.035133258,
0.009277855,
0.015337715,
0.008818141,
0.03911744,
0.054357644,
-0.054608393,
0.020840347,
0.044466835,
-0.00066388556,
-0.023375737,
0.01739946,
0.049342584,
-0.030814737,
-0.029338082,
-0.02500563,
-0.06653309,
-0.02578575,
-0.0015672052,
-0.016368588,
-0.03708356,
0.07288549,
-0.04806096,
-0.046194244,
0.01678651,
-0.054608393,
0.004879232,
-0.0019172144,
-0.022024458,
0.027805703,
0.027722118,
0.03259787,
-0.07349844,
0.03385163,
-0.01446008,
0.038755246,
-0.000098440076,
-0.040733404,
0.008448977,
0.04354741,
-0.0002655542,
-0.008253948,
0.04825599,
-0.01678651,
0.010009217,
0.003876221,
0.04903611,
0.013484931,
0.008267879,
0.00678774,
0.040956296,
0.030201785,
-0.06541863,
0.0030612743,
0.028752992,
0.05251879,
0.04650072,
-0.008623111,
0.05006698,
0.0087275915,
-0.01760842,
-0.029756004,
0.020673178,
0.0049419203,
0.041708555,
-0.055416375,
0.03457603,
0.018249234,
-0.030341092,
0.00997439,
-0.018026343,
-0.026635524,
0.06614303,
0.019210454,
0.037975125,
-0.0629111,
0.040371206,
0.017441252,
0.014557595,
0.011611249,
-0.0061469274,
0.040594097,
-0.024086203,
-0.0027182305,
0.0055235275,
0.0016168334,
0.011868968,
-0.0065439525,
-0.024977768,
-0.0133665195,
-0.027443504,
-0.0324307,
0.035996962,
0.044801172,
0.055778574,
-0.015463091,
0.05839755,
-0.0003804826,
-0.0047503733,
0.039618947,
-0.018193511,
-0.019071147,
-0.01873681,
0.031371966,
-0.0020425909,
0.023180706,
0.014933724,
-0.00977936,
-0.013429208,
0.011792349,
0.02344539,
0.02795894,
-0.0301182,
-0.02500563,
-0.058676165,
0.0129625285,
-0.043686718,
-0.038727384,
-0.05589002,
0.016034251,
0.018625364,
0.0063454397,
-0.001117069,
-0.06920778,
0.035077535,
0.02616188,
-0.04009259,
-0.043881748,
-0.018527849,
0.00010224926,
-0.03162272,
0.029867448,
0.014063055,
-0.009640054,
0.0027164891,
-0.019363692,
-0.013199351,
-0.009605227,
0.012433161,
-0.019684097,
-0.009061929,
0.02071497,
-0.0031291863,
0.022916023,
0.019906988,
0.029198775,
-0.0004793036,
-0.004457828,
0.03786368,
-0.027276335,
0.0024988216,
0.028307209,
-0.0083444975,
-0.0013321245,
0.0017439511,
0.04045479,
-0.022916023,
0.030201785,
0.040120453,
-0.009584331,
-0.07115808,
-0.010197282,
0.04666789,
0.0027269372,
0.036414884,
0.030508261,
0.021620467,
0.0009046257,
0.025521066,
-0.049955536,
0.0007470345,
-0.047308702,
-0.020185603,
-0.028181832,
-0.012760533,
0.006223546,
-0.029059468,
0.010921679,
0.012656053,
-0.018416403,
-0.027986802,
-0.047531594,
-0.03477106,
-0.0075574117,
-0.01378444,
0.039730392,
-0.014216293,
0.006801671,
0.010134594,
-0.045274816,
-0.013422242,
-0.012126686,
-0.009988321,
0.015546676,
0.05761743,
-0.018095996,
-0.0020756763,
-0.01123512,
-0.0068539106,
0.05572285,
-0.02892016,
0.011012229,
-0.00022680942,
-0.0012476695,
0.042627983,
-0.044271804,
-0.0064429548,
0.025688235,
-0.012718741,
0.04198717,
0.01702333,
-0.010134594,
-0.022985676,
-0.04647286,
-0.073387,
0.026691247,
-0.022317002,
-0.021021446,
-0.018304957,
0.03257001,
0.014627249,
0.03730645,
0.034297414,
-0.03440886,
-0.028237555,
-0.03257001,
0.06525146,
-0.026774831,
-0.008957448,
-0.025562858,
-0.05956773,
0.011026159,
0.055611406,
0.0014183207,
-0.035690486,
0.010900783,
-0.018527849,
-0.004328969,
-0.044884756,
-0.047531594,
-0.009006206,
0.020171672,
-0.015421299,
0.027722118,
-0.012238132,
-0.018137788,
0.011179397,
-0.00869973,
0.04441111,
-0.0025127523,
-0.041736417,
-0.0065230564,
-0.023724005,
0.025242452,
0.010719684,
0.0027617638,
-0.01620142,
0.031371966,
-0.053466078,
0.013101836,
-0.0457206,
-0.0065996754,
0.0113396,
-0.01621535,
0.04987195,
-0.03694425,
-0.035300426,
0.012676949,
0.027527088,
0.0059379665,
0.028780853,
-0.021704052,
-0.027680326,
-0.055249207,
-0.04806096,
0.003841394,
-0.028808715,
-0.014780487,
-0.014334704,
0.029393805,
0.03457603,
-0.055973604,
0.026036503,
0.007243971,
0.022623478,
-0.028585823,
-0.04064982,
-0.00032062407,
0.023556836,
0.0060250335,
-0.009514677,
-0.0078081647,
-0.045274816,
0.006084239,
-0.01816565,
-0.054496948,
-0.027485296,
-0.005262327,
0.05984634,
-0.051627222,
0.03399094,
0.018499987,
0.020074157,
-0.050540626,
0.013638168,
0.019447276,
0.026649455,
0.012203305,
0.03499395,
-0.008525596,
0.04691864,
-0.042823013,
-0.040538374,
-0.0010770182,
0.06564152,
-0.013345623,
-0.020617455,
0.03825374,
0.025562858,
-0.02146723,
-0.052435204,
-0.018903978,
-0.017831312,
-0.012112755,
-0.0030194821,
0.024977768,
-0.0060772737,
-0.027345989,
-0.019015424,
0.020088088,
-0.0382816,
0.0035767106,
0.03674922,
0.021425437,
-0.017705936,
0.0155606065,
0.022247348,
-0.037055697,
-0.0043428997,
-0.03496609,
0.0041513527,
-0.040761266,
0.006484747,
0.03555118,
-0.016730787,
-0.014028228,
0.016730787,
-0.020046296,
0.02908733,
-0.009598262,
0.016117835,
0.013610307,
-0.0331551,
-0.05895478,
0.0013904592,
0.021132892,
-0.021634398,
-0.0023351358,
-0.043881748,
0.032737177,
0.037807956,
0.06257676,
-0.0047155465,
-0.07037796,
0.0005076004,
-0.01200131,
-0.01973982,
0.016034251,
0.0042871768,
0.024044411,
0.007989264,
-0.018040273,
-0.036442745,
-0.002376928,
-0.017859174,
0.0030508263,
0.007968368,
-0.07282977,
-0.019475136,
-0.012481919,
-0.031789888,
-0.028042525,
0.0038553248,
-0.008365394,
0.026649455,
-0.013457069,
-0.006700673,
-0.006711121,
0.040510513,
-0.009215167,
0.012948598,
-0.008135537,
0.00016771273,
-0.024364818,
0.015421299,
-0.036080547,
0.043240935,
0.030954044,
-0.031093352,
0.052463066,
0.002674697,
0.011437115,
-0.018583572,
0.012983425,
0.040733404,
-0.0041757314,
-0.007188248,
-0.048339576,
0.034074523,
-0.03766865,
-0.028279347,
-0.020993585,
-0.029700281,
-0.0034548168,
0.027666396,
0.0071290424,
0.05566713,
0.0062061325,
0.025660373,
0.0123844035,
0.008776349,
-0.006547435,
0.007285763,
0.051097855,
-0.012767498,
-0.010148524,
-0.028557962,
0.008128571,
0.007947472,
-0.06402556,
-0.0056698,
-0.0071046636,
-0.01289984,
-0.016312866,
0.029505251,
0.054859146,
0.04221006,
0.04705795,
0.013032182,
0.00056114653,
-0.006989735,
-0.018402472,
-0.00879028,
-0.06781471,
-0.052240174,
0.0363313,
-0.032263532,
-0.0069618737,
-0.029533112,
-0.018012412,
-0.0062827514,
0.0382816,
0.009695777,
0.04393747,
0.029143052,
0.0020443322,
-0.00609817,
-0.0021592604,
-0.04028762,
0.0026120087,
0.025298174,
-0.059233394,
-0.026203671,
0.004025976,
0.038337324,
0.040399067,
-0.052295897,
-0.062799655,
-0.04747587,
0.016702926,
0.010468931,
-0.008950483,
0.009096756,
-0.011409254,
-0.010531619,
-0.0093823355,
-0.0022881196,
-0.010629134,
0.028084317,
0.018625364,
-0.0015245425,
0.00059162,
0.031093352,
0.0068852548,
-0.00009022313,
-0.024671292,
0.04418822,
0.028836576,
-0.031037629,
0.0073136245,
-0.004318521,
0.016884023,
0.015574537,
-0.006376784,
-0.015769567,
0.044243943,
0.026496217,
0.012844117,
-0.03382377,
0.04312949,
0.019210454,
-0.023765797,
0.015142685,
-0.009549504,
0.010677892,
0.026008641,
-0.0018284061,
0.0005298024,
0.015281992,
-0.030257508,
-0.023877243,
-0.014056089,
-0.029560974,
0.032876484,
-0.04627783,
0.0053842207,
0.018820394,
0.033043653,
0.025743958,
0.036804944,
-0.00056375854,
0.06229815,
0.04221006,
0.011834141,
0.021717982,
-0.006220063,
0.0519337,
-0.027596742,
0.023528975,
-0.010016182,
0.013693891,
-0.007975333,
0.004764304,
-0.026273325,
0.009758464,
0.01837461,
-0.004861819,
0.010900783,
-0.017315876,
-0.03711142,
-0.033963077,
0.0010735355,
-0.049119696,
-0.00073005643,
0.012865013,
-0.012530676,
-0.04260012,
0.014404357,
-0.03340585,
0.0140978815,
-0.007522585,
0.07951651,
0.029170914,
0.09355867,
0.080408074,
-0.003075205,
-0.02230307,
0.02656587,
-0.023083191,
-0.04390961,
-0.00016662439,
-0.013888921,
-0.017831312,
-0.022052318,
-0.027861426,
0.010057975,
0.015672052,
-0.0029045537,
-0.03204064,
0.0039005997,
-0.014237189,
-0.009758464,
-0.0008310541,
0.07472435,
-0.012377438,
0.0036533296,
0.002618974,
-0.0075922385,
-0.06402556,
-0.021063238,
-0.05349394,
0.04215434,
-0.0042558326,
-0.072941214,
0.005391186,
-0.05271382,
-0.027833564,
0.04374244,
-0.023960827,
-0.024922045,
0.026315117,
0.008302705,
0.05667014,
-0.004987195,
-0.024977768,
-0.02812611,
0.046027075,
0.021216476,
0.0012389628,
0.07288549,
0.015407369,
-0.008866899,
-0.009208201,
0.019238316,
0.00161248,
-0.03067543,
-0.05605719,
-0.01855571,
-0.003496609,
-0.047949515,
-0.049983397,
0.021439368,
0.06296682,
0.0023403598,
0.020617455,
-0.024323026,
0.03844877,
-0.07204965,
0.020882139,
-0.0016830043,
0.02167619,
-0.006233994,
-0.022539893,
-0.013241143,
-0.05686517,
0.22812936,
0.04574846,
0.055555683,
0.031678442,
0.01702333,
0.07054513,
0.026398702,
-0.02247024,
0.005607112,
-0.042098615,
0.012844117,
-0.01992092,
-0.046166383,
0.00028274994,
0.004513551,
0.05917767,
-0.022999607,
0.01699547,
0.005976276,
-0.034548167,
-0.037195005,
0.042711567,
0.004370761,
0.024922045,
-0.032932207,
0.019670166,
0.008846003,
-0.012377438,
0.027443504,
-0.06302255,
-0.008051952,
-0.02464343,
-0.0065126084,
0.005833486,
-0.0023037917,
0.030368954,
0.0074459664,
-0.0547477,
-0.0077036843,
0.014244154,
0.0015976786,
-0.047225118,
-0.00091159105,
0.010914714,
-0.036387023,
0.035439733,
0.0074598966,
0.039340332,
0.08988096,
-0.051543638,
0.026997723,
-0.05081924,
0.00027709058,
-0.07667465,
-0.037417896,
-0.028836576,
-0.08687193,
-0.04552557,
0.00023464544,
0.017887035,
-0.006108618,
0.03321082,
-0.040399067,
0.02931022,
-0.0015106117,
0.01006494,
0.0075504463,
0.042098615,
0.008839037,
0.00937537,
0.0040573203,
-0.037390035,
-0.004722512,
-0.03808657,
0.0041548354,
0.04351955,
-0.00820519,
0.024671292,
-0.02228914,
-0.024866322,
-0.015922805,
0.013192385,
-0.03181775,
0.016744718,
0.019043285,
0.047921654,
-0.030452538,
0.031762026,
-0.020018434,
0.032179948,
0.051543638,
0.00683998,
0.037195005,
0.0015663345,
0.042070754
] | Audio
For audio tasks, you'll need a feature extractor to prepare your dataset for the model. The feature extractor is designed to extract features from raw audio data, and convert them into tensors.
Load the MInDS-14 dataset (see the 🤗 Datasets tutorial for more details on how to load a dataset) to see how you can use a feature extractor with audio datasets:
from datasets import load_dataset, Audio
dataset = load_dataset("PolyAI/minds14", name="en-US", split="train") |
[
-0.0028434377,
0.025320303,
0.009714786,
0.005736082,
-0.016505295,
-0.018332968,
-0.023408275,
-0.042767555,
0.006512843,
0.04496076,
0.03500697,
0.009532019,
0.032504465,
-0.033263654,
-0.024195582,
0.015942933,
-0.0172926,
-0.021650897,
-0.03759383,
-0.0067237285,
-0.019766988,
0.03978704,
-0.046957143,
-0.0023865195,
-0.055561267,
0.019570163,
-0.005588462,
0.013503693,
0.04265508,
0.028877236,
0.02578425,
-0.012315705,
0.0009428333,
-0.04153036,
0.010452885,
-0.03720018,
0.06360303,
-0.013208454,
-0.028610116,
-0.033826012,
-0.0015482501,
0.01326469,
0.027710337,
-0.032926235,
-0.026304435,
0.018389205,
-0.010966039,
0.008168293,
-0.036553465,
0.0019419028,
0.009236779,
0.005577918,
0.034950737,
-0.0030016017,
-0.0076481095,
-0.05558938,
-0.026445026,
-0.020427763,
-0.04307685,
-0.020301232,
0.0094757825,
-0.008498681,
0.0012046826,
-0.039702684,
0.005117485,
0.035569333,
0.013876257,
-0.06067875,
-0.049206585,
-0.020371526,
-0.036525346,
0.032954354,
-0.007549696,
-0.02707768,
-0.016252233,
0.03576616,
-0.01008735,
-0.02191802,
0.021538425,
-0.01872662,
0.03039561,
0.05291817,
0.029130299,
-0.006182456,
0.010347442,
-0.029777015,
0.021735253,
-0.041474123,
-0.020230936,
0.0045867567,
-0.028877236,
0.04048999,
-0.07153232,
-0.008097998,
0.03357295,
0.0050507043,
0.0081050275,
0.039140325,
0.009503901,
-0.017840901,
0.041305415,
0.112978324,
-0.039449625,
0.014073083,
0.0044777994,
0.0131522175,
0.0020192275,
0.03455708,
-0.046451017,
-0.031211035,
0.019345218,
0.006196515,
0.022606911,
-0.032532584,
0.019612338,
0.04712585,
0.00012905746,
0.008112057,
-0.029045945,
-0.021946138,
-0.031913985,
0.04018069,
0.015464927,
-0.0426832,
-0.014382382,
-0.039421506,
-0.035991102,
0.018206436,
-0.0031685526,
-0.008906392,
-0.007936319,
0.010544268,
0.014115261,
0.028427348,
-0.007978496,
-0.02650126,
-0.027710337,
-0.021552484,
0.03185775,
-0.03056432,
0.034050956,
0.009581225,
-0.018347027,
0.04974083,
-0.017095774,
0.006558535,
0.014804153,
-0.047210205,
0.0042880024,
0.025165655,
-0.046591606,
0.016898947,
-0.012842919,
-0.016603708,
-0.03531627,
-0.005300252,
-0.015043156,
0.006312502,
-0.022761561,
0.03503509,
0.0072896043,
-0.006038351,
-0.043920394,
0.02610761,
0.017658135,
0.022888092,
-0.0062176036,
-0.03573804,
0.020132523,
-0.027583806,
0.008815008,
0.013890317,
0.022016432,
0.030957973,
0.010909803,
0.020962005,
0.00808394,
-0.019429572,
0.007240398,
-0.018093964,
-0.025924841,
-0.017573781,
0.061747234,
-0.022536617,
-0.02797746,
0.00807691,
0.018459499,
0.014958803,
-0.039815158,
0.0040595434,
0.038156193,
0.06399668,
-0.02682462,
-0.006196515,
-0.03287,
0.0019770504,
-0.03779066,
-0.007866024,
0.015886698,
-0.04037752,
-0.035513096,
0.022536617,
-0.0059118196,
0.017939316,
0.0011792007,
0.046957143,
0.023042742,
0.044623345,
-0.0054900493,
0.020498058,
0.07141984,
0.03185775,
-0.03703147,
0.0144667365,
0.01973887,
-0.004917144,
-0.03014255,
0.0055673737,
0.0029629394,
-0.0034339167,
0.03157657,
0.021299422,
0.027147977,
0.03126727,
-0.012013436,
0.012259469,
0.024547057,
0.07850559,
0.054295953,
0.040405635,
0.0057958327,
0.036694054,
-0.012526591,
0.06568376,
0.028778823,
0.02927089,
0.041839655,
0.013995759,
0.027569747,
-0.029439598,
-0.01498692,
0.01370052,
0.035260033,
0.017840901,
0.00016354599,
0.0029313066,
0.028722588,
0.024589233,
0.00055533147,
0.008836097,
-0.039140325,
0.04451087,
0.010614564,
0.015900757,
-0.029945722,
-0.06669601,
0.027316684,
0.027850928,
-0.019963816,
-0.033657305,
0.0107903015,
0.018628208,
-0.0033196872,
-0.0022512013,
0.039871395,
0.016181936,
-0.02810399,
0.005444357,
-0.014044966,
0.0016545715,
-0.032954354,
-0.05362112,
-0.06905793,
-0.0007815939,
-0.020793298,
-0.0052088685,
0.0015684599,
-0.043189324,
0.016069464,
0.0050928816,
-0.0038978646,
0.0033917397,
-0.039449625,
0.047688212,
0.019373335,
0.00027898376,
-0.057754472,
-0.0065093283,
0.014804153,
0.048531752,
0.0033249594,
-0.019485809,
0.024589233,
-0.0054092095,
-0.02463141,
0.0035305726,
-0.0070295124,
0.03284188,
0.012603915,
0.013637254,
-0.0504719,
0.0366097,
-0.036075458,
0.005106941,
-0.04524194,
0.055814326,
0.029580187,
-0.009785081,
0.01860009,
0.031435978,
-0.005641184,
0.028581997,
0.05075308,
0.005201839,
-0.03070491,
-9.1301285e-7,
0.025840487,
0.0060805283,
-0.023084918,
-0.034669556,
-0.07732464,
-0.050696842,
-0.008737684,
-0.005026101,
-0.037425123,
0.05404289,
-0.05736082,
-0.0602851,
0.026220081,
-0.08502898,
-0.04467958,
-0.02623414,
0.03303871,
0.05432407,
0.03750948,
0.010923862,
-0.043892276,
0.038549844,
-0.0045762127,
0.018037729,
-0.0016712665,
-0.00634062,
0.0025956475,
0.017081715,
-0.011774433,
-0.0010324597,
0.023886282,
-0.03374166,
0.0069381287,
0.042823788,
0.036497228,
-0.0151134515,
0.022536617,
0.029664543,
0.010354471,
0.032673173,
-0.053789828,
0.020244995,
0.041755304,
0.042458255,
0.038015604,
0.0096093435,
0.032898117,
-0.011366721,
0.023844106,
-0.03301059,
0.0045024026,
0.009841317,
0.025728015,
-0.062028416,
0.03199834,
0.012955391,
-0.03056432,
0.00062518724,
0.032223284,
-0.008590064,
0.07603121,
-0.008379179,
0.05474584,
-0.052412044,
0.0024076079,
-0.008414326,
0.0049768947,
0.02709174,
-0.0036377725,
0.048531752,
-0.01268124,
-0.0250813,
-0.022564735,
-0.013166277,
0.007655139,
0.013489634,
0.007177132,
-0.0116479015,
-0.03745324,
-0.045045115,
0.026908973,
0.019584222,
0.039590213,
0.015661754,
0.05300252,
-0.022944327,
0.051821563,
0.024111228,
-0.006994365,
-0.0035253004,
-0.017362894,
0.055842444,
0.0098764645,
0.025474953,
-0.021510307,
-0.013728637,
-0.040658697,
-0.00023329194,
0.016744299,
0.037650067,
-0.006614771,
-0.0026097065,
-0.017658135,
0.023591043,
-0.017180128,
-0.026416907,
-0.014494854,
0.008421356,
0.05148415,
-0.0076199914,
0.033179298,
-0.051709093,
0.035400625,
0.053536765,
-0.05449278,
-0.05033131,
-0.023225509,
-0.02955207,
-0.03343236,
0.024518939,
0.06197218,
-0.02408311,
0.00081542344,
-0.021608721,
0.016097583,
0.012315705,
0.0072544566,
0.01253362,
-0.0073458403,
-0.03703147,
-0.01598511,
-0.0037572742,
0.03171716,
-0.0014419287,
-0.0010526695,
-0.030873617,
0.068439335,
-0.041446004,
0.004133353,
0.046338543,
-0.014382382,
-0.004326665,
0.019429572,
0.015169688,
-0.034107193,
0.009300045,
0.015802344,
0.005577918,
-0.045466885,
0.018065847,
-0.011879875,
0.019288981,
0.043554857,
0.033938486,
0.020273114,
0.03486638,
0.005131544,
-0.032813765,
0.010424767,
-0.06214089,
0.006270325,
-0.02797746,
-0.0230568,
-0.004077117,
-0.04082741,
0.0081050275,
-0.0011185711,
-0.016463118,
-0.014136349,
-0.06900169,
-0.007627021,
-0.038802907,
-0.027935281,
0.06506517,
-0.0106567405,
-0.0016238174,
-0.0015104664,
-0.07080125,
-0.008758772,
-0.010473973,
-0.020315291,
-0.0027204212,
0.05882296,
-0.018839093,
0.025742074,
-0.046507254,
-0.019654516,
0.027358862,
-0.03793125,
0.026979268,
-0.026135726,
-0.01889533,
0.01800961,
-0.03315118,
0.01138781,
-0.00007238201,
-0.011155836,
0.05769824,
-0.015577399,
-0.0027221786,
0.0020860077,
-0.047210205,
0.0027959885,
0.041277297,
-0.005665787,
-0.022157023,
0.014438618,
0.009728845,
-0.015478986,
0.016969243,
0.028750705,
-0.04020881,
-0.040630583,
-0.0677645,
0.06304067,
0.0012196203,
-0.009616373,
-0.04884105,
-0.06787697,
-0.028567938,
0.0464229,
0.005001498,
-0.029861368,
0.05938532,
-0.018473558,
-0.010270118,
-0.043133087,
-0.02838517,
-0.015605518,
0.0058731576,
-0.02176337,
0.008351061,
-0.025685837,
0.034641437,
0.03793125,
-0.016997362,
0.030592438,
0.01370052,
-0.047266442,
-0.036918998,
-0.012899155,
0.027597865,
0.00583801,
-0.021693075,
-0.013025686,
0.035063207,
-0.021102596,
0.012674211,
-0.015774226,
-0.012449266,
-0.005504108,
-0.002839923,
0.07400671,
-0.04926282,
-0.02927089,
0.012006407,
0.056039274,
0.028497642,
0.033404242,
-0.018571971,
-0.036581583,
-0.0045375503,
-0.06911416,
-0.0005693905,
-0.02553119,
-0.020652708,
0.0035903235,
0.019190568,
0.04684467,
-0.03430402,
0.008604123,
0.028877236,
0.000025427064,
-0.007584844,
-0.06304067,
0.001887424,
0.014649504,
-0.012456296,
-0.0066920957,
-0.019682635,
-0.0012934302,
-0.007134955,
-0.019190568,
-0.060453806,
-0.04119294,
-0.031492215,
0.0559268,
-0.012132938,
0.024575176,
-0.004193104,
0.0041474123,
-0.05033131,
0.01987946,
0.018993743,
0.030339375,
-0.0084283855,
0.030901736,
-0.010544268,
0.040630583,
-0.06708966,
-0.012456296,
0.021721194,
0.052693225,
-0.035850514,
-0.029045945,
0.025643662,
0.030170666,
-0.05508326,
-0.055561267,
-0.041839655,
-0.025404658,
0.0090751005,
-0.03354483,
0.03461332,
0.024392407,
-0.019064037,
-0.004484829,
0.030058194,
-0.03790313,
0.020793298,
0.025095358,
-0.008491651,
-0.028821,
0.026740264,
0.026923032,
-0.050921787,
-0.0068362006,
-0.044707697,
-0.021538425,
-0.045495003,
-0.011071482,
0.049206585,
-0.033488598,
0.024434585,
0.02595296,
0.0011343876,
0.04296438,
-0.012266499,
0.009623403,
-0.0028557393,
-0.02707768,
-0.048672345,
0.008189382,
0.019542044,
-0.0071701026,
0.0059293937,
-0.02263503,
0.04018069,
-0.0036940088,
0.060172625,
0.020582411,
-0.07310693,
0.013679431,
-0.041417886,
-0.017953373,
0.025404658,
-0.0020016537,
0.0133420145,
0.041417886,
-0.013756756,
-0.038549844,
-0.03154845,
-0.06489646,
-0.0065339315,
-0.028272698,
-0.06140982,
-0.03140786,
-0.03705959,
-0.033994723,
-0.027190154,
-0.007423165,
0.021932079,
-0.007830877,
0.009243809,
-0.010178734,
-0.022241376,
0.03447273,
0.0045621535,
0.004945262,
-0.028905354,
0.013820021,
0.02148219,
-0.0029998443,
0.0023460998,
0.03750948,
0.06214089,
-0.03056432,
0.009489842,
-0.0013531811,
0.0015693386,
-0.014958803,
0.022114845,
0.04670408,
0.004351268,
-0.015197805,
-0.02062459,
0.031885866,
-0.063490555,
-0.03239199,
-0.016463118,
-0.0048644226,
0.009756963,
0.016898947,
-0.00749346,
0.06748332,
-0.006171912,
0.043611094,
0.02262097,
-0.018065847,
-0.023042742,
0.013566959,
0.033263654,
0.012027496,
-0.011732256,
-0.018108023,
-0.0005939938,
0.0044180485,
-0.009925671,
-0.028061813,
-0.020230936,
-0.038859144,
-0.022719383,
0.014494854,
0.03531627,
0.01340528,
0.033291772,
0.0013751483,
-0.0056552426,
-0.02090577,
-0.021257246,
-0.0210323,
-0.056995284,
-0.061184876,
0.019232746,
-0.03615981,
-0.022438204,
-0.043329913,
-0.021861782,
0.007180647,
0.036272284,
-0.02321145,
0.0121610565,
0.04827869,
-0.018361086,
-0.007669198,
0.0151134515,
-0.023225509,
0.01297648,
0.017601898,
-0.018642267,
-0.023872225,
-0.00066341023,
0.03287,
0.053536765,
-0.04088364,
-0.04667596,
-0.037846893,
0.0017740731,
0.0066674924,
-0.0115284,
0.027583806,
-0.003105287,
-0.01772843,
-0.021454072,
-0.012997569,
0.009061041,
0.035119444,
0.019907579,
0.017503485,
0.002036801,
0.039871395,
-0.021932079,
-0.0030789264,
-0.0047203177,
0.052777577,
0.0048046717,
-0.017573781,
-0.014059025,
0.0076621682,
0.04091176,
0.05820436,
-0.023717575,
-0.032054577,
0.027049564,
0.0072825747,
0.0075286077,
-0.015225924,
0.053874183,
0.0069732764,
-0.00082069554,
0.009588255,
-0.03199834,
-0.021004183,
0.0084283855,
-0.008189382,
-0.0011422958,
0.0085619455,
-0.0035727497,
-0.01022091,
-0.033291772,
0.0024515423,
0.0023109522,
-0.033994723,
0.024308054,
0.024279935,
0.05415536,
0.02075112,
0.047941275,
-0.011092571,
0.036216047,
0.029299008,
-0.013032716,
0.026290376,
0.021369718,
0.04167095,
-0.019190568,
0.03790313,
-0.031014208,
-0.024828237,
-0.029158417,
0.007957408,
-0.048109982,
0.026430966,
0.04108047,
0.006062954,
0.011366721,
-0.035934865,
0.003416343,
0.010930891,
0.0478288,
-0.042767555,
0.015647694,
0.010502092,
0.006140279,
-0.026135726,
0.049094114,
-0.035484977,
-0.013215483,
0.004326665,
0.10206852,
0.03419155,
0.091271184,
0.053086877,
0.006256266,
-0.039280914,
0.031211035,
-0.029608306,
-0.041727185,
-0.0001948493,
-0.02766816,
0.009342222,
-0.03829678,
-0.058766723,
0.005131544,
0.035091326,
-0.00439696,
-0.01800961,
0.013855169,
0.0025921327,
-0.037115823,
0.015493045,
0.07485025,
0.0041157794,
-0.022874033,
-0.011212072,
-0.024251817,
-0.05075308,
-0.01802367,
-0.051202968,
0.029130299,
-0.01858603,
-0.0559268,
0.021664957,
-0.045073234,
-0.026993327,
0.049065996,
0.008836097,
-0.03517568,
0.0045937863,
0.01325063,
0.041417886,
0.017784666,
-0.050556254,
0.02825864,
0.03992763,
0.027935281,
0.0075918734,
0.068832986,
0.008660359,
-0.039421506,
0.01687083,
0.011802551,
-0.0057149935,
-0.026177904,
-0.017911198,
-0.01933116,
0.02623414,
-0.06585247,
-0.052440163,
0.018051788,
0.037987486,
-0.033966605,
-0.0074442537,
-0.016533412,
0.024589233,
-0.06337808,
0.012639063,
-0.004572698,
0.026599675,
-0.02969266,
0.016069464,
-0.041867774,
-0.045073234,
0.23259251,
0.051512267,
0.0637155,
-0.00063485286,
-0.005613066,
0.033938486,
0.022705324,
-0.060060155,
-0.03343236,
-0.051512267,
0.0047906125,
0.003978704,
-0.023675397,
0.017953373,
0.011289396,
0.050528135,
-0.013482604,
0.020919828,
0.01616788,
-0.039140325,
-0.061297346,
0.015127511,
-0.02075112,
0.037959367,
-0.012899155,
0.014452677,
0.017376954,
-0.051540386,
0.021116655,
-0.05086555,
0.007683257,
-0.02811805,
0.02983325,
-0.00028930837,
0.023000564,
-0.009967849,
-0.019120274,
-0.051652856,
-0.003393497,
-0.006231663,
-0.005026101,
-0.014164467,
-0.0063757678,
0.011521371,
-0.04988142,
0.0053529735,
0.00045428224,
0.038437374,
0.03202646,
-0.06101617,
0.025699897,
-0.006794024,
0.01426288,
-0.054858316,
-0.028413288,
0.0021229128,
-0.045045115,
-0.044060983,
-0.02190396,
0.058429305,
-0.0037432152,
0.047631975,
-0.013637254,
0.0018294306,
-0.010024085,
0.016913006,
0.024532998,
0.023253627,
-0.020230936,
0.036497228,
0.0072896043,
-0.022733442,
-0.0033179298,
-0.014691681,
-0.032954354,
0.049234703,
-0.0023671882,
0.021130715,
-0.0084283855,
-0.03675029,
0.012878067,
0.030620556,
0.009524989,
0.016125701,
0.0028100475,
0.059610263,
-0.034219667,
0.025573365,
-0.009953789,
0.022663148,
0.016392823,
0.018417323,
0.05837307,
0.022677207,
-0.011753345
] | from datasets import load_dataset, Audio
dataset = load_dataset("PolyAI/minds14", name="en-US", split="train")
Access the first element of the audio column to take a look at the input. Calling the audio column automatically loads and resamples the audio file: |
[
0.0006378204,
0.031709842,
-0.006929133,
0.023649272,
-0.019478481,
-0.0135107,
-0.014974914,
-0.028367294,
0.0138286855,
0.055580962,
0.044163056,
-0.0195968,
0.020055292,
-0.013917426,
-0.017333925,
-0.0025660717,
-0.020144032,
-0.032419764,
-0.036265172,
0.0005199623,
-0.0074209017,
0.009805796,
-0.029964617,
-0.011824636,
-0.05750367,
0.034164988,
-0.025335336,
0.0030264116,
0.037034255,
0.027967962,
0.011284799,
-0.013813896,
-0.015130209,
-0.043778513,
0.02740594,
-0.0319169,
0.04555332,
-0.0048585273,
-0.019212259,
-0.028234184,
-0.005993663,
0.0153668495,
0.025660716,
-0.0065926597,
-0.037330057,
-0.013976586,
-0.024684574,
0.025113486,
-0.029935038,
-0.024388773,
-0.0029395202,
-0.0078091403,
0.026355848,
-0.012002116,
0.005934503,
-0.028515194,
-0.026666438,
-0.016905013,
-0.048511326,
-0.003022714,
0.008541247,
-0.0047845775,
0.007446784,
-0.02319078,
0.013414565,
0.044518016,
0.005867948,
-0.066673495,
-0.036945514,
-0.0016037947,
-0.020676473,
0.039045703,
-0.028603934,
-0.032981787,
-0.040199324,
0.03076328,
-0.024152132,
-0.025986098,
0.020824375,
0.016135931,
-0.0048955027,
0.036265172,
0.036413074,
0.0062450934,
0.020824375,
-0.042329088,
0.01555912,
-0.044725075,
-0.0046995347,
0.018472757,
-0.006655517,
0.045701217,
-0.04688442,
0.010094201,
0.042684052,
0.01981865,
-0.0200405,
0.03537777,
0.024092972,
-0.022125898,
0.03866116,
0.092289835,
-0.03413541,
0.023516161,
0.0064484566,
0.04147127,
0.018531919,
0.0140579315,
-0.052593376,
-0.040228903,
0.03449037,
-0.0057237446,
0.015721811,
-0.025941728,
-0.01946369,
0.06158572,
0.016816273,
0.017467035,
-0.013592045,
-0.014893568,
-0.009672685,
0.021667406,
0.028618723,
-0.052593376,
-0.024004232,
-0.040790927,
-0.0023627086,
-0.0075872894,
-0.020558152,
0.00674056,
-0.031857744,
0.004307599,
0.014708693,
0.03487491,
-0.0029376713,
-0.0066924924,
-0.021415975,
-0.04564206,
0.0464703,
-0.031621102,
0.021371605,
-0.0019023686,
-0.03475659,
0.051380593,
-0.03105908,
-0.0015492565,
0.009243774,
-0.02745031,
0.006659215,
0.037448376,
-0.032922626,
0.025852988,
-0.01524853,
-0.023811962,
-0.021800516,
-0.017999476,
-0.011913376,
0.0060343356,
-0.029668817,
0.021046225,
-0.013518095,
-0.0035533067,
-0.03422415,
0.019966552,
0.0036124669,
0.03404667,
0.016919803,
-0.052386314,
0.03410583,
-0.02359011,
0.017038124,
0.009155034,
0.01995176,
0.03070412,
0.016106352,
0.017511405,
0.009236379,
-0.036413074,
0.00397852,
-0.0109816035,
-0.03886822,
-0.011018579,
0.060639158,
-0.02725804,
-0.04262489,
0.0071509834,
0.003536668,
-0.0037400308,
-0.048777547,
0.0064558517,
0.03094076,
0.065431125,
-0.025719877,
-0.004673652,
-0.03990352,
-0.0024348102,
-0.03404667,
-0.002540189,
-0.016269041,
-0.067028455,
-0.048185945,
0.020425042,
0.007986621,
0.016905013,
-0.007727795,
0.028411664,
0.053569518,
0.037655436,
0.005886435,
0.013850871,
0.05862771,
0.009657895,
-0.05498936,
0.021164544,
0.0062524886,
0.008097546,
-0.017112074,
0.012408842,
0.020558152,
0.021164544,
0.022111107,
0.01340717,
0.042151608,
0.041678328,
-0.024181712,
-0.0012608508,
0.009687475,
0.048807126,
0.048955027,
0.0100424355,
0.010567483,
0.059219312,
-0.008578222,
0.047328122,
0.0195968,
0.047209803,
0.028411664,
0.0268735,
0.019670751,
-0.015071049,
-0.01539643,
0.014642138,
0.008607802,
0.006444759,
0.017038124,
0.01150665,
0.02676997,
0.024921214,
-0.020129243,
0.03395793,
-0.029373016,
0.065253645,
0.007742585,
0.033159267,
-0.020188402,
-0.079925366,
0.017526194,
0.022466067,
-0.033277586,
-0.040495124,
0.014642138,
0.014257597,
-0.0016527867,
-0.0054094563,
0.032419764,
0.0078091403,
-0.03105908,
-0.0063449265,
-0.010508322,
-0.025512816,
-0.038602,
-0.05007907,
-0.057385348,
-0.0019411925,
-0.032893047,
-0.0075946846,
0.010656223,
-0.03200564,
0.031621102,
0.018117797,
-0.004455499,
-0.016328203,
-0.025675507,
0.03105908,
0.020469412,
0.0111442935,
-0.048629645,
-0.0045590294,
0.0019874114,
0.053776577,
0.000036888436,
-0.039134443,
0.03564399,
-0.0069919904,
-0.0153668495,
-0.021844886,
-0.0073469514,
0.01968554,
0.056852907,
0.01340717,
-0.046677362,
0.02645938,
-0.05913057,
-0.010781938,
-0.055255584,
0.033543807,
0.018103007,
-0.023826752,
0.027376361,
0.051025633,
-0.0076094745,
0.01933058,
0.03836536,
-0.009413859,
-0.004791972,
0.02668123,
0.034164988,
0.019833442,
-0.009362094,
-0.03487491,
-0.049043767,
-0.050670672,
-0.020809583,
-0.027627792,
-0.024714153,
0.06188152,
-0.044725075,
-0.055669703,
0.022007577,
-0.09329556,
-0.049605787,
-0.024063392,
0.036679294,
0.053510357,
0.03079286,
0.011196059,
-0.048895866,
0.03138446,
0.018428387,
0.03481575,
0.011573205,
-0.009177219,
-0.01002025,
0.021563876,
-0.0136438105,
0.009946301,
0.031976063,
-0.03440163,
0.00674056,
0.045523737,
0.00795704,
-0.003649442,
0.018206537,
0.041205045,
0.026577698,
0.021001855,
-0.044902556,
0.024551464,
0.045494158,
0.025631135,
0.06448457,
-0.00061471097,
0.01547038,
-0.005971478,
0.030526638,
-0.02756863,
-0.0058531575,
0.0060934955,
0.030068148,
-0.060077135,
0.028367294,
0.008356372,
-0.025202226,
0.004004403,
0.012578928,
0.011240429,
0.08767535,
-0.03827662,
0.038335778,
-0.04297985,
0.019123519,
-0.0035422142,
0.025675507,
0.055640124,
0.010870678,
0.05087773,
0.011099923,
-0.031798583,
-0.036649715,
-0.028899735,
-0.002065059,
-0.010582272,
0.008726123,
-0.014827013,
-0.018354438,
-0.033662125,
0.023915492,
0.020632103,
0.03880906,
0.025468446,
0.04620408,
-0.0012072369,
0.055403482,
0.01566265,
-0.016579634,
-0.022362538,
0.00084072124,
0.05327372,
-0.0026548118,
0.049250826,
-0.032715563,
-0.002518004,
-0.058568552,
0.004747602,
0.017718466,
0.0380104,
-0.021637825,
-0.0026048955,
-0.0030707817,
-0.009118059,
-0.004544239,
-0.023708431,
-0.024625413,
0.016269041,
0.040761344,
-0.032271862,
0.03049706,
-0.04262489,
0.008348976,
0.053214557,
-0.04259531,
-0.043393973,
-0.03898654,
-0.028589144,
-0.025202226,
-0.0074393894,
0.051439755,
-0.0036291056,
-0.002691787,
-0.044843394,
0.0022074133,
0.022525229,
0.0003764527,
-0.012830358,
-0.0034035575,
-0.042772792,
-0.025246596,
0.017230395,
0.022318168,
-0.0058309725,
0.0023682548,
-0.02691787,
0.07164294,
-0.042950273,
-0.011114714,
0.041116305,
-0.013377589,
-0.020809583,
0.028263763,
0.020055292,
-0.017452246,
0.0055906344,
-0.007176866,
-0.0059899655,
-0.063064724,
0.014316757,
-0.0066740047,
0.0233091,
0.036738455,
0.049250826,
0.021534296,
0.051735554,
0.03150278,
-0.026015677,
0.01575139,
-0.03827662,
0.014553398,
-0.047505602,
-0.01922705,
0.006130471,
-0.029890668,
0.016372573,
-0.00484004,
-0.0041670934,
-0.01909394,
-0.06767921,
-0.009317724,
-0.03111824,
-0.024817685,
0.044281375,
-0.0020317815,
-0.0016574087,
0.025705086,
-0.0774998,
-0.016757114,
-0.0047845775,
-0.015144999,
0.0012238757,
0.06300556,
-0.022451278,
0.017526194,
-0.038602,
-0.03792166,
0.06554945,
-0.032538082,
0.023782382,
-0.033336747,
-0.020498993,
0.012970864,
-0.04715064,
-0.0011600936,
-0.005753325,
-0.0026788458,
0.026193157,
-0.030378738,
0.0040117977,
0.030556219,
-0.0060121506,
0.010279076,
0.055521805,
0.01348112,
-0.04280237,
0.009044108,
0.01999613,
-0.028648304,
0.02348658,
0.022791449,
-0.04519836,
-0.03487491,
-0.04892545,
0.051617235,
-0.020410253,
-0.025098694,
-0.044458855,
-0.079392925,
-0.02682913,
0.039311923,
0.006500222,
-0.030245628,
0.039400663,
-0.030142099,
-0.0010889166,
-0.048185945,
-0.010064621,
-0.03777376,
0.010552692,
0.00080282177,
0.021623036,
-0.03138446,
0.01570702,
0.031680264,
-0.02295414,
0.03404667,
0.01937495,
-0.033484645,
-0.035762314,
0.0037104508,
0.041412108,
0.018753769,
-0.01910873,
-0.022318168,
0.041293785,
-0.026000887,
0.029846298,
-0.005072983,
-0.010101596,
-0.012638087,
-0.0013727004,
0.07276699,
-0.049783267,
-0.035436932,
0.012682457,
0.040347226,
0.05365826,
0.055344325,
-0.020439833,
-0.03111824,
-0.016431732,
-0.06927654,
0.013983981,
-0.013592045,
-0.010197732,
0.015019284,
0.00012005351,
0.045020875,
-0.014753063,
0.00022820567,
0.036501814,
-0.0059825704,
0.00069328304,
-0.0623548,
0.01604719,
0.033632547,
-0.015884502,
-0.003054143,
-0.017363505,
-0.0062783714,
-0.021652617,
-0.018842509,
-0.055728864,
-0.036383495,
-0.03546651,
0.06696929,
0.006152656,
0.033810027,
-0.0022037157,
-0.026193157,
-0.036442652,
0.027583422,
0.010005461,
0.026281899,
0.0018552254,
0.014886173,
0.010781938,
0.04176707,
-0.06945402,
-0.016668374,
0.0030393528,
0.064307086,
-0.038602,
-0.039755624,
0.026385428,
0.012763803,
-0.066318534,
-0.0464703,
-0.048481744,
-0.040495124,
0.0040524704,
-0.040997986,
0.03517071,
0.033602968,
-0.010182941,
0.013103974,
0.018561497,
-0.012904309,
0.017718466,
0.010116386,
0.007210144,
-0.029846298,
0.032745145,
0.05031571,
-0.06957234,
0.00795704,
-0.01896083,
-0.01566265,
-0.035407353,
-0.0026141393,
0.056054246,
-0.029151166,
0.028515194,
0.037004676,
0.013251875,
0.040258486,
0.01545559,
0.016372573,
0.01566265,
0.015721811,
-0.04700274,
0.012911703,
0.006655517,
0.014028351,
0.016860643,
-0.027938383,
0.03490449,
-0.01896083,
0.050936893,
-0.00472172,
-0.070637226,
0.009088478,
-0.03945982,
-0.030053359,
0.01533727,
-0.0152929,
0.0015326177,
0.046233658,
-0.01549996,
-0.061289918,
-0.03907528,
-0.042062867,
-0.003960033,
-0.031946484,
-0.057474088,
-0.025719877,
-0.022451278,
-0.033159267,
-0.015899291,
-0.011994721,
0.0268735,
-0.00677014,
0.0008809317,
-0.026193157,
-0.021445556,
0.04191497,
-0.012615902,
0.008940578,
-0.025261385,
0.036945514,
0.020025712,
-0.0026751482,
-0.008275026,
0.03410583,
0.049073346,
-0.03070412,
-0.012882124,
0.029905457,
-0.01940453,
0.005368784,
0.020572944,
0.041441686,
-0.010234706,
-0.0152929,
-0.006884763,
0.04164875,
-0.08382994,
-0.032331023,
-0.025187435,
0.0012969015,
0.0270214,
0.008556037,
-0.010434372,
0.046766102,
0.0031817069,
0.030526638,
0.0014170705,
-0.024743734,
-0.007102916,
0.008748308,
0.016550053,
0.00035727187,
0.002615988,
-0.023841541,
-0.00050517224,
0.025054324,
-0.0062450934,
-0.00057034084,
-0.018132586,
-0.029964617,
-0.014294572,
0.0056645847,
0.024166923,
0.03165068,
0.018576289,
-0.015026679,
-0.0015834585,
-0.022673128,
-0.01937495,
-0.00774998,
-0.059248894,
-0.05061151,
0.03608769,
-0.036235593,
-0.018857298,
-0.045671638,
-0.004130118,
0.0022499345,
0.037034255,
-0.036265172,
0.033810027,
0.04688442,
-0.0200405,
0.010227311,
0.0030134702,
0.008947973,
0.0048437375,
0.01943411,
-0.027420731,
-0.00981319,
0.026784759,
0.03150278,
0.04629282,
-0.033159267,
-0.03520029,
-0.02730241,
0.014612557,
-0.024566254,
-0.011314379,
0.026207948,
0.014398103,
-0.0011748837,
-0.017748047,
-0.033928346,
0.0039008725,
0.03141404,
0.016476102,
0.008763097,
0.003581038,
0.030008988,
-0.018724188,
-0.008814863,
0.0074615744,
0.05472314,
0.019655962,
-0.033070527,
-0.028603934,
0.017259974,
0.05436818,
0.07625744,
-0.025261385,
-0.023989443,
0.03502281,
-0.012793383,
0.019301,
-0.014294572,
0.046144918,
0.02685871,
-0.0011656398,
0.01343675,
-0.014442473,
-0.03803998,
0.0048511326,
-0.01563307,
0.0023848936,
0.040169742,
-0.020070082,
0.010574877,
-0.025172645,
0.022377327,
-0.0025660717,
-0.06211816,
0.00589383,
0.019034779,
0.049132507,
0.009583944,
0.029742766,
-0.017511405,
0.056142986,
0.028589144,
-0.013488515,
0.020765213,
0.01524853,
0.029092005,
-0.009731845,
0.012164806,
-0.016490893,
-0.021164544,
-0.04371935,
-0.029772347,
-0.03108866,
0.02344221,
0.039341502,
0.009983276,
0.012623298,
-0.041234627,
0.004237346,
-0.004351969,
0.026488958,
-0.05371742,
0.016653582,
0.019522851,
-0.004281716,
-0.03774418,
0.05800653,
-0.01986302,
-0.0007251741,
-0.010626642,
0.087557025,
0.021578666,
0.08276505,
0.012453212,
-0.00095765496,
-0.04259531,
0.035851054,
-0.043748934,
-0.047830984,
-0.0083193965,
-0.006936528,
0.009731845,
-0.0085264575,
-0.038956963,
-0.023072459,
0.018014267,
-0.008637383,
-0.033129685,
-0.0025679204,
0.0016065679,
-0.039400663,
0.013089184,
0.06608189,
0.021120174,
-0.0151597895,
-0.032449342,
-0.025409285,
-0.04292069,
-0.02709535,
-0.018398808,
0.036768034,
-0.018635448,
-0.030038567,
0.0044037336,
-0.033070527,
-0.02299851,
0.04271363,
0.01355507,
-0.02715451,
0.00795704,
0.0074356915,
0.03082244,
0.028115863,
-0.05037487,
0.020617314,
0.025157856,
0.05013823,
0.029905457,
0.059160154,
-0.0028896036,
-0.016683163,
0.004418524,
0.014183647,
0.0075577097,
-0.03821746,
-0.0029746464,
-0.025335336,
0.017969897,
-0.055314742,
-0.043305233,
0.012564138,
0.022939349,
-0.027509471,
-0.021578666,
-0.037152577,
0.011928166,
-0.056793746,
-0.0012885821,
-0.021134965,
0.021859676,
-0.01943411,
0.029831506,
-0.024418354,
-0.055551384,
0.26054132,
0.05096647,
0.0766124,
0.009702265,
-0.008260236,
0.01949327,
0.03792166,
-0.06194068,
-0.040347226,
-0.052445475,
-0.0020151427,
-0.021208914,
-0.011528835,
0.031443622,
0.010582272,
0.029446967,
-0.017496616,
-0.0012756408,
0.0074615744,
-0.051794715,
-0.044547595,
0.015988031,
-0.031946484,
0.029269485,
-0.0008208471,
0.021637825,
0.03910486,
-0.049398728,
0.014375918,
-0.028899735,
-0.003715997,
-0.033573385,
0.028293343,
0.020291932,
0.014804828,
-0.0071509834,
-0.033307165,
-0.04297985,
-0.011277404,
-0.004470289,
0.00380104,
-0.0045849117,
-0.018162167,
0.014582978,
-0.056793746,
-0.009613525,
-0.00484004,
0.02354574,
0.033425488,
-0.05833191,
0.017200815,
-0.020528574,
0.0065926597,
-0.039045703,
-0.04212203,
-0.00012895065,
-0.014915753,
-0.028456034,
-0.017910736,
0.052179255,
-0.0069254353,
0.047949303,
-0.011491859,
0.0011702618,
-0.0037825522,
0.027598212,
0.006966108,
0.03386919,
-0.009406464,
0.027760902,
0.0038491075,
-0.026415009,
-0.006526104,
-0.0019190075,
-0.032685984,
0.05422028,
-0.0041596983,
0.034431208,
-0.010841098,
-0.028751835,
0.0039082677,
0.027923591,
0.0052800435,
0.0056128195,
0.010486137,
0.04629282,
-0.041293785,
-0.01928621,
0.010449162,
-0.003867595,
0.017230395,
0.016313411,
0.017570565,
0.0010408489,
-0.014693903
] | Access the first element of the audio column to take a look at the input. Calling the audio column automatically loads and resamples the audio file:
dataset[0]["audio"]
{'array': array([ 0. , 0.00024414, -0.00024414, , -0.00024414,
0. , 0. ], dtype=float32),
'path': '/root/.cache/huggingface/datasets/downloads/extracted/f14948e0e84be638dd7943ac36518a4cf3324e8b7aa331c5ab11541518e9368c/en-US~JOINT_ACCOUNT/602ba55abb1e6d0fbce92065.wav',
'sampling_rate': 8000} |
[
-0.0046843844,
0.06405948,
0.013201446,
0.00066844973,
-0.021976814,
-0.039094713,
-0.037363376,
-0.012628988,
-0.00016918499,
0.057162054,
0.024392309,
-0.026765915,
0.05970321,
-0.06428288,
0.0063982685,
0.022633046,
-0.023736075,
-0.05213559,
-0.05679903,
-0.05573789,
-0.017760169,
-0.012328797,
-0.067410454,
-0.0137529615,
-0.018681688,
0.011023313,
0.0053231637,
0.00024150584,
0.06243984,
0.052638236,
0.056240536,
0.002551628,
-0.011365391,
-0.022325873,
-0.018039417,
-0.04467967,
0.01869565,
0.031052371,
-0.032057665,
-0.03512939,
0.0018587441,
-0.0062586446,
0.0035045617,
-0.026179494,
-0.012998992,
-0.0118401125,
-0.00820989,
-0.0006592869,
-0.01794168,
0.0007753494,
0.014409194,
-0.013355033,
0.037279602,
-0.024448158,
0.011023313,
-0.02247946,
-0.00390249,
-0.009976133,
-0.026765915,
-0.009689904,
0.0011684782,
0.02976783,
0.007846867,
-0.042333987,
-0.0046739127,
0.010806896,
-0.016084682,
-0.04118907,
-0.034291647,
-0.00815404,
-0.0539507,
0.012140304,
-0.0269195,
-0.037893947,
-0.005661752,
-0.0021833698,
-0.00066015957,
-0.021180956,
0.044875145,
0.034291647,
-0.0056233555,
0.039150562,
0.03755885,
0.009215182,
-0.024992691,
-0.0471929,
0.03272786,
-0.056882806,
0.025593074,
0.017983567,
-0.012866349,
0.043702304,
-0.035324864,
0.011267655,
0.004946179,
0.040044155,
0.02295418,
0.036860727,
0.0610436,
0.011267655,
0.019770755,
0.06886254,
-0.0024189854,
0.039401885,
-0.035967134,
-0.0012548704,
0.007825923,
-0.029376883,
-0.023568526,
-0.03635808,
0.0015332458,
0.034626745,
0.039346036,
-0.044484198,
0.0138227735,
0.043869853,
0.0272546,
0.017718282,
-0.04694158,
-0.0131386155,
-0.00008208362,
0.037810173,
-0.024224758,
-0.0077142245,
0.01456278,
-0.07662564,
0.017480921,
0.01426957,
-0.04361853,
0.021292655,
-0.003797772,
0.00867763,
-0.0023247392,
0.03116407,
0.009319901,
0.005539581,
-0.034961842,
0.024797218,
-0.015693733,
-0.02183719,
-0.004391174,
0.00015336821,
-0.01660129,
0.043897778,
-0.032532386,
-0.00483448,
0.03337013,
-0.05283371,
-0.0021048314,
0.010639346,
-0.033090882,
0.0071312943,
-0.013725037,
0.0016152748,
-0.03406825,
0.009033671,
-0.016391855,
0.00087788573,
-0.040742274,
0.0037384317,
0.009815565,
0.007141766,
-0.06891839,
0.025425525,
-0.013054841,
0.016098645,
0.021111144,
0.008070266,
0.0061120396,
-0.056072988,
-0.016587328,
0.016545441,
0.001572515,
0.026556479,
-0.0038047533,
0.017746206,
-0.007393089,
0.01334107,
0.020468874,
-0.0013177012,
-0.021055294,
-0.042724933,
0.031052371,
0.0084891375,
-0.017676394,
-0.0041782474,
-0.019365845,
-0.014122965,
-0.018304702,
0.011686526,
0.0055884495,
0.05400655,
-0.008963859,
0.024727406,
-0.0752294,
0.0023229937,
-0.015540148,
0.019240184,
-0.013592394,
-0.032644086,
-0.010395004,
0.03395655,
-0.011274636,
0.037251677,
-0.011456147,
0.024643632,
0.020426987,
0.039764907,
0.008768385,
0.053811077,
0.017816018,
0.008370457,
-0.014199758,
0.032420687,
0.043478906,
-0.012782575,
-0.047025353,
-0.0002794661,
0.03507354,
0.01799753,
0.033174656,
0.026402893,
0.043953627,
-0.0067892154,
0.0013299183,
0.006516949,
0.027268562,
0.028622914,
0.046913654,
0.030354252,
-0.00010820858,
0.047555923,
-0.0010847037,
0.04571289,
0.040853973,
0.020482836,
0.067354605,
0.0541741,
-0.0065797796,
0.015456374,
-0.0137529615,
0.02504854,
0.03641393,
0.057525076,
-0.010562553,
-0.030158779,
-0.0041014543,
-0.006126002,
-0.015540148,
0.0030874352,
-0.04677403,
0.042333987,
0.0026860163,
0.056463934,
-0.047974795,
-0.03471052,
0.0033963532,
0.041663792,
-0.045210242,
-0.051632944,
0.021111144,
0.023051918,
-0.017955642,
-0.01974283,
0.0074419575,
0.008377438,
-0.015707696,
0.019561319,
0.024671556,
-0.0012496345,
-0.014632592,
-0.049650285,
-0.09136993,
-0.01812319,
-0.024490045,
-0.012363703,
0.010785952,
-0.027827058,
0.013613338,
0.009892358,
-0.035269015,
-0.03652563,
-0.017257523,
0.013229371,
0.030856898,
0.0068276124,
-0.007888755,
0.03954151,
0.0020716707,
0.018416401,
0.012391628,
-0.029963303,
0.02207455,
-0.013417863,
0.014122965,
-0.026640253,
-0.01200068,
0.0404351,
-0.0036511668,
0.009047633,
-0.015847322,
-0.003227059,
-0.025676848,
-0.0085031,
-0.03565996,
0.031694643,
0.00040534584,
-0.04060265,
0.031890117,
0.038759615,
-0.043590605,
0.027799133,
0.021641716,
0.029432733,
-0.014192777,
0.03652563,
0.060708504,
0.0058467537,
-0.06534402,
-0.021083219,
-0.035520338,
-0.038396593,
-0.014032209,
-0.031052371,
0.0051765586,
0.046494782,
-0.03688865,
-0.085561566,
0.013306164,
-0.043367207,
-0.03571581,
-0.042194363,
0.0006706314,
0.030605575,
0.061825495,
-0.01782998,
-0.036804877,
0.017313372,
-0.013773905,
0.033621453,
0.029013861,
0.015805434,
-0.002487052,
0.03406825,
-0.023694187,
0.01577751,
0.010045945,
-0.009892358,
0.005438354,
0.02620742,
0.046383083,
0.020189626,
0.019128485,
0.0073302584,
0.0015114294,
0.020664347,
-0.03646978,
0.05358768,
0.05515147,
-0.0012164739,
0.016503554,
0.042166438,
0.025369676,
0.018542062,
0.005148634,
0.0048938203,
0.03507354,
0.03512939,
0.013885604,
-0.033816926,
0.002190351,
0.0058048666,
-0.029209334,
0.010723121,
0.00087832205,
0.017201673,
0.05724583,
0.029348958,
0.014492968,
-0.060708504,
0.0016379637,
0.021111144,
0.022898331,
0.044986844,
0.031359542,
0.050348405,
-0.021055294,
0.0013639517,
0.010066888,
-0.0038291875,
-0.005218446,
-0.008300645,
-0.014660517,
-0.043981552,
0.021530017,
-0.064897224,
-0.0045761755,
0.009836509,
0.024168909,
0.022270024,
0.04532194,
0.007839886,
0.031582944,
0.041161146,
-0.026011946,
-0.04886839,
-0.02394551,
0.019226221,
-0.0026633271,
0.031694643,
-0.035743736,
-0.03010293,
-0.05020878,
0.01898886,
-0.017076012,
0.023428902,
-0.025620999,
-0.017676394,
-0.028064419,
0.031890117,
0.0005288258,
-0.009885377,
-0.035157315,
0.037586775,
0.04984576,
-0.054425426,
-0.0057699606,
-0.092766166,
0.025495337,
0.033509754,
-0.04962236,
-0.05085105,
-0.023135692,
-0.029991228,
-0.013487675,
-0.003710507,
0.040965673,
0.011218786,
0.011456147,
-0.047695547,
-0.012789556,
-0.009075558,
-0.0220187,
-0.005543072,
-0.0016091663,
-0.039038863,
0.0048484425,
0.0038431499,
0.0026580913,
-0.03325843,
0.033705227,
-0.033705227,
0.03948566,
-0.016154494,
0.0055011846,
-0.013759943,
0.032169364,
-0.013711074,
-0.011421241,
0.042501535,
-0.03214144,
-0.01287333,
0.016880538,
-0.025788547,
-0.050515953,
-0.0026458742,
0.0015637885,
0.009710847,
0.01322239,
0.0074000703,
0.018974898,
0.02585836,
-0.012684838,
-0.013026916,
-0.005002029,
-0.023819849,
-0.0002759755,
-0.004632025,
-0.0070440294,
0.017173748,
-0.028553102,
0.018933011,
-0.015568073,
-0.052554462,
0.02073416,
-0.050348405,
-0.010974444,
0.0055954307,
-0.04973406,
0.0543975,
0.018653763,
-0.020608498,
0.005888641,
-0.040518876,
-0.01595902,
0.021990776,
-0.013285221,
0.0098225465,
0.062104743,
-0.010988407,
0.015819397,
-0.0270312,
-0.022674933,
0.035799585,
-0.026305156,
-0.0061469455,
-0.033984475,
-0.011979736,
0.009410656,
-0.040155854,
-0.009654998,
0.0058223195,
-0.02388966,
0.033509754,
-0.0021484639,
-0.015972983,
0.034878068,
-0.057301678,
-0.0408819,
0.05020878,
-0.012014642,
-0.01676884,
-0.023373052,
0.015693733,
0.01216823,
0.05685488,
0.021907002,
-0.024978729,
-0.06299834,
-0.03437542,
0.03984868,
-0.028790463,
-0.017452996,
-0.022633046,
-0.05336428,
-0.061602097,
0.04532194,
-0.033509754,
-0.043814003,
0.025285902,
-0.035324864,
0.013773905,
-0.091537476,
-0.01426957,
-0.002865782,
0.058977164,
-0.0074349763,
-0.00061914505,
-0.022870407,
-0.010995388,
0.038815465,
0.0016004398,
0.026668178,
0.024978729,
-0.0089917835,
-0.036665253,
0.022982106,
0.0027802624,
0.008391401,
-0.0127057815,
-0.020008115,
0.05931226,
-0.043869853,
0.03820112,
-0.026402893,
-0.00093199,
0.0221304,
-0.028413478,
0.05020878,
-0.057469226,
-0.0021746433,
-0.023442864,
-0.011002369,
0.038871314,
0.006167889,
-0.028902162,
-0.002935594,
-0.04724875,
-0.03996038,
0.02778517,
-0.013634281,
-0.005853735,
-0.011456147,
0.02330324,
0.034905992,
-0.00372796,
0.026905539,
0.04319966,
-0.026598366,
0.021292655,
-0.046103835,
0.008377438,
-0.0056163743,
-0.008028379,
0.00015009577,
-0.020175664,
-0.0038012627,
-0.0011745867,
-0.033035032,
-0.049175564,
-0.021097181,
-0.0046215532,
0.004380702,
-0.01304786,
0.016503554,
0.018388476,
-0.0029687546,
-0.032169364,
-0.029209334,
0.035324864,
0.008635743,
0.007211578,
0.03565996,
0.018360551,
0.042026814,
-0.04269701,
-0.028106306,
0.018514138,
0.049175564,
-0.01933792,
-0.029404808,
0.02021755,
-0.010171606,
-0.049594436,
-0.072269365,
-0.030745199,
-0.03314673,
-0.0044958917,
-0.01939377,
0.04892424,
0.0050125006,
-0.017760169,
0.0068974243,
0.0023509187,
-0.00028077507,
0.02719875,
0.021571904,
-0.0005427882,
-0.019030748,
0.023694187,
0.026542516,
-0.058530368,
-0.009096501,
-0.045796663,
-0.015470336,
-0.040798124,
-0.0076862997,
0.03901094,
-0.022884369,
0.019170372,
0.04909179,
0.008251777,
0.017662432,
0.0509069,
0.025886284,
0.010569534,
-0.044930995,
-0.054816373,
0.015344675,
0.0091732945,
-0.012363703,
0.033035032,
-0.035492413,
0.021125106,
-0.014311457,
0.053783152,
-0.0027069598,
-0.0441491,
0.0045657037,
-0.031834267,
-0.01676884,
0.0111559555,
0.019589243,
0.026402893,
0.04314381,
-0.0011248456,
-0.046047986,
0.013543525,
0.0032759274,
0.01829074,
-0.025900247,
-0.055458643,
0.022046626,
-0.06551157,
-0.017634507,
-0.012175211,
0.0009808583,
0.011086144,
0.012691819,
0.0056128837,
0.02708705,
-0.015456374,
0.0138227735,
0.009864434,
0.028106306,
-0.0016580346,
0.033761077,
-0.0060457177,
0.00083294424,
-0.03663733,
0.049706135,
0.01625223,
-0.050404254,
-0.019840566,
0.0122729475,
0.009194238,
-0.036832802,
-0.012496346,
0.0011710961,
0.004670422,
-0.04694158,
-0.021432279,
-0.007288371,
-0.058642067,
-0.0058327913,
-0.024643632,
-0.015037502,
0.020426987,
0.026067795,
0.0059095845,
0.03803357,
-0.021404354,
0.06400363,
-0.018193003,
0.013082766,
-0.006010812,
0.04495892,
0.033286355,
0.0075327135,
-0.014367307,
-0.019547356,
0.050125007,
0.044288725,
-0.043283433,
0.019463582,
-0.038927164,
-0.016266193,
-0.014185796,
-0.034682594,
0.0039129616,
0.02848329,
0.014730329,
-0.040211704,
-0.022549272,
-0.021432279,
-0.030186703,
-0.011525959,
-0.0748943,
-0.07249276,
0.030130854,
-0.034822218,
0.023750037,
-0.008649705,
-0.03540864,
-0.015763547,
0.041607942,
-0.036693178,
0.020957557,
0.013292202,
0.020008115,
-0.0021694074,
0.004286456,
-0.007054501,
-0.0018220928,
0.0009529336,
-0.052275214,
-0.0040386235,
-0.0026633271,
0.075006,
0.012321816,
-0.010080851,
-0.05691073,
0.011400297,
0.006482043,
-0.00844725,
-0.04023963,
0.018486213,
-0.012866349,
0.00028622913,
0.003850131,
-0.03630223,
0.015693733,
-0.011204824,
0.028008569,
0.013473713,
-0.0030647463,
0.041524168,
-0.0037663567,
-0.04018378,
0.010932557,
0.03459882,
0.010443873,
-0.017676394,
0.008140078,
0.013955416,
0.045042694,
0.030382177,
0.03582751,
-0.018905086,
0.023079842,
0.014716366,
-0.0025027597,
-0.018556025,
0.048198193,
0.018193003,
-0.011728413,
0.025732698,
-0.039457735,
-0.0032549838,
0.0011326994,
0.003459184,
-0.0075396947,
0.025257977,
-0.010785952,
-0.0019721887,
-0.028706688,
0.03926226,
0.03325843,
-0.07081728,
-0.0002783753,
0.015358637,
-0.0031764454,
-0.007309315,
0.033761077,
-0.000045623223,
0.029991228,
0.039820757,
0.057580926,
0.020524723,
-0.0073442208,
0.04007208,
0.012601064,
0.019309996,
-0.03996038,
-0.035045616,
-0.05073935,
0.014590705,
-0.03314673,
0.025062503,
0.0012531251,
-0.01950547,
-0.010876708,
0.019659055,
0.009187257,
-0.03588336,
-0.0082378145,
-0.068527445,
0.022060588,
0.022619084,
0.019714905,
-0.023079842,
0.064785525,
-0.021753415,
0.0042969277,
0.024531933,
0.07629054,
0.012028605,
0.07891547,
0.0071836533,
0.023177579,
-0.0037000352,
0.03540864,
-0.05048803,
-0.042445686,
-0.008614799,
0.015595998,
-0.01147709,
-0.041272845,
-0.05808357,
-0.028148193,
0.018109228,
-0.006419212,
-0.0377264,
0.036274306,
-0.023973435,
-0.06808065,
0.027045162,
0.10360099,
0.030075004,
-0.009284994,
-0.05649186,
0.0059444904,
-0.047025353,
-0.022339836,
-0.027212713,
0.073498055,
-0.027338374,
-0.041580018,
0.0015393543,
-0.011051238,
-0.034263723,
0.029572356,
0.02266097,
-0.029572356,
0.03901094,
0.0075327135,
0.047500074,
0.029209334,
-0.034096174,
0.022549272,
0.036441855,
0.020790009,
0.026402893,
0.05649186,
0.004625044,
-0.013522581,
0.03256031,
0.008894047,
0.028846312,
-0.022493422,
-0.026905539,
-0.009075558,
0.017927717,
-0.068694994,
-0.038536217,
-0.0048309895,
0.03004708,
-0.03937396,
-0.014074096,
-0.042557385,
0.04258531,
-0.0737773,
-0.011511996,
0.022605121,
0.011428222,
-0.028455365,
-0.022493422,
-0.0013316636,
-0.0105067035,
0.22842482,
0.025579112,
0.07629054,
0.037866022,
0.032811634,
0.0809819,
0.052805785,
-0.030158779,
0.013564468,
-0.022688895,
-0.021879077,
-0.043953627,
0.008719517,
-0.00698818,
-0.028162155,
0.034096174,
-0.032951258,
0.013892585,
-0.0007648776,
-0.02754781,
-0.045796663,
0.037921872,
-0.017285448,
0.0679131,
0.028455365,
-0.00093199,
0.020133777,
-0.029432733,
0.0068939338,
-0.014311457,
0.0029146504,
-0.030186703,
0.0255093,
-0.004827499,
-0.008565931,
0.025369676,
0.0005327527,
-0.014129946,
-0.011302561,
-0.024643632,
0.0115887895,
0.0015123021,
0.020399062,
-0.009166313,
-0.047555923,
0.013466732,
0.040211704,
0.025411563,
0.0547326,
-0.06299834,
0.031052371,
-0.027938757,
0.043004185,
-0.035687886,
-0.026905539,
-0.013040879,
-0.05707828,
-0.010122738,
0.018611876,
0.020426987,
-0.007005633,
0.067410454,
-0.020399062,
0.0040840013,
-0.020720197,
-0.016112607,
-0.0049287262,
0.034152023,
-0.0369445,
-0.0019233202,
-0.0049706134,
-0.024839105,
-0.017816018,
-0.01915641,
-0.004206172,
0.083160035,
-0.00780498,
0.04183134,
-0.02126473,
-0.030549726,
-0.008635743,
0.00028971973,
0.06523232,
-0.016377892,
0.026570441,
0.024643632,
-0.045852512,
0.011553884,
-0.023093805,
0.03225314,
0.013292202,
0.011965774,
0.03878754,
0.0024783255,
-0.01695035
] | For this tutorial, you'll use the Wav2Vec2 model. Take a look at the model card, and you'll learn Wav2Vec2 is pretrained on 16kHz sampled speech audio. It is important your audio data's sampling rate matches the sampling rate of the dataset used to pretrain the model. If your data's sampling rate isn't the same, then you need to resample your data.
Use 🤗 Datasets' [~datasets.Dataset.cast_column] method to upsample the sampling rate to 16kHz: |
[
0.007432604,
0.029239906,
-0.002450852,
0.014892459,
-0.020683214,
-0.034499273,
-0.017304137,
-0.015246717,
0.009312896,
0.038941123,
0.04245645,
-0.032727983,
0.047198057,
-0.040794164,
0.013495865,
0.0004394161,
-0.02560195,
-0.0624039,
-0.041148424,
-0.027345989,
-0.002672263,
-0.0025564479,
-0.053302195,
-0.027822874,
-0.047906574,
0.026773725,
-0.005092458,
-0.008931388,
0.056953777,
0.0423202,
0.021269102,
-0.02254988,
-0.024157668,
-0.042756207,
0.033600003,
-0.015859855,
0.048042826,
0.018530415,
-0.013570804,
-0.0335455,
-0.0005616181,
-0.014006814,
0.028694894,
-0.024471048,
-0.01579173,
-0.0041591246,
-0.016186863,
0.015628226,
-0.01181314,
0.000991241,
0.016173238,
-0.018067155,
0.028286135,
-0.0003342458,
0.03294599,
0.006437957,
-0.025506573,
-0.001622263,
-0.03711533,
0.0005675791,
0.0025717765,
-0.011956206,
0.02072409,
-0.036733825,
0.011240877,
0.035725553,
-0.012433091,
-0.06006035,
-0.03736059,
0.012596595,
-0.0072486624,
0.026828228,
-0.0077800495,
-0.011963018,
-0.004499757,
0.025070563,
0.011404381,
-0.044582002,
0.020437958,
0.030466184,
-0.0067683705,
0.05204867,
0.027563993,
0.009258395,
-0.005773723,
-0.04866959,
0.043927986,
-0.05439222,
0.0073304144,
0.020219954,
-0.00407056,
0.049759615,
-0.016145987,
0.0020267642,
-0.008972264,
0.024157668,
0.0134549895,
0.022072995,
0.043927986,
0.01735864,
0.027441366,
0.061313875,
-0.028640393,
0.0059406334,
0.029512413,
0.021691486,
0.019347934,
-0.0072963513,
-0.015900731,
-0.015287593,
0.012855476,
0.012944041,
0.045454018,
-0.04777032,
-0.001982482,
0.061150372,
0.005228711,
0.02853139,
-0.0063391733,
-0.006053042,
-0.0051128957,
0.03425402,
0.01851679,
-0.026433093,
-0.03035718,
-0.050577134,
0.023639906,
0.00069531635,
-0.035998058,
-0.010007787,
-0.024934309,
0.005865694,
0.02945791,
0.025615575,
0.023231147,
-0.0031355235,
-0.015709978,
-0.011404381,
0.03736059,
-0.047116306,
0.008454503,
-0.015900731,
-0.034008764,
0.07156011,
-0.017999029,
-0.01191533,
0.045699276,
-0.02603796,
-0.0095036505,
0.030275429,
-0.041121174,
0.0067785894,
-0.0051469593,
0.00021225671,
-0.016200488,
-0.015600975,
-0.028340636,
-0.006373237,
-0.040303655,
0.03177421,
0.0069659376,
0.0011973238,
-0.05294794,
0.026814602,
0.013495865,
0.028286135,
0.01759027,
-0.026433093,
-0.0009844283,
-0.023871535,
0.0036686135,
0.018503165,
0.0027846717,
0.019511437,
0.0023878347,
0.0047245747,
0.0051946477,
-0.028177133,
0.0013412411,
0.019961072,
-0.018189782,
0.009483213,
0.052566428,
-0.022836013,
-0.014292946,
0.00430219,
-0.0029873482,
-0.020138202,
-0.033027742,
-0.0016469589,
0.046271536,
0.06883504,
-0.027713872,
-0.013407301,
-0.05439222,
-0.028722145,
-0.0059031635,
-0.023708032,
-0.024062289,
-0.055236988,
-0.031474456,
0.02159611,
-0.0103688575,
0.035480294,
-0.011186376,
-0.000064879874,
0.028313385,
0.029621415,
-0.010273481,
0.03474453,
0.022372752,
0.012909977,
-0.041175675,
0.045808278,
0.019674942,
0.0128418505,
-0.039813142,
0.015219467,
0.025819954,
0.023817034,
0.037142582,
-0.00031125307,
0.046053533,
0.024389297,
0.0062982976,
0.017317763,
0.021269102,
0.08300536,
0.06578298,
0.019456936,
-0.024689054,
0.050686136,
0.043028716,
0.010212166,
0.03294599,
0.013502678,
0.055127986,
0.030057425,
-0.00019958944,
0.006335767,
-0.027291488,
0.005695378,
0.03523504,
0.019811194,
0.009197081,
0.010293919,
0.029239906,
-0.014211194,
-0.007023845,
-0.00026718373,
-0.030929444,
0.057716794,
0.008842823,
0.049350858,
-0.041856937,
-0.06829003,
0.045426767,
0.05207592,
-0.026623847,
-0.03700633,
0.030956695,
0.03259173,
-0.016854502,
-0.0019024333,
0.01979757,
0.0023742095,
-0.026392218,
0.04422774,
0.0042613144,
0.025683701,
-0.029730417,
-0.060332853,
-0.047143556,
-0.0050549884,
-0.029757667,
-0.006877373,
0.019538688,
-0.048724093,
0.021378104,
0.009803408,
-0.04142093,
-0.013516303,
-0.030493435,
0.004809733,
0.035507545,
0.009817033,
-0.034063265,
0.024907058,
0.03439027,
0.053383946,
0.006039417,
-0.0020335768,
0.022045745,
0.011779076,
-0.0029396596,
-0.012773724,
-0.022127496,
0.010518736,
0.050250128,
0.010511924,
-0.02719611,
0.042047694,
-0.043927986,
-0.018993676,
-0.028258884,
0.0021323604,
0.016377617,
-0.03744234,
0.021718737,
0.030166427,
-0.034199517,
-0.0018002435,
0.039077375,
0.0074666673,
-0.019892946,
0.005082239,
0.03177421,
0.008175183,
-0.021950368,
-0.014388323,
-0.039567888,
-0.03700633,
-0.04063066,
0.00088990276,
-0.012283213,
0.034172267,
-0.017249636,
-0.068944044,
0.025738202,
-0.059406333,
-0.008529441,
-0.024743555,
0.014429199,
0.043846235,
0.039976645,
-0.003716302,
-0.023163019,
0.018612167,
-0.00003249316,
0.030275429,
0.011847204,
-0.01648662,
-0.021568859,
0.052838936,
0.0022243313,
0.0068262783,
0.023013141,
-0.026542095,
0.0011394162,
0.021636985,
0.017508518,
0.010770804,
0.011077373,
0.03646132,
0.028667644,
0.029812168,
-0.035725553,
0.023694407,
0.062240396,
0.028204383,
0.05657227,
0.021241851,
0.03207397,
0.010178103,
0.0063664243,
-0.0026416061,
0.041039422,
0.00022077253,
0.028585892,
-0.049623363,
0.03561655,
0.019906571,
-0.029321657,
0.025152314,
0.019892946,
0.011956206,
0.06006035,
0.011104624,
0.02650122,
-0.05117665,
-0.011390756,
0.018843798,
-0.0015643555,
0.016472995,
0.021705111,
0.05837081,
-0.0067377137,
-0.04229295,
-0.033054993,
-0.047933824,
-0.0061586383,
0.0045985407,
-0.00793674,
-0.03703358,
-0.024907058,
-0.02478443,
0.003913869,
0.014660829,
0.03975864,
0.029130904,
0.049868617,
-0.00991241,
0.05924283,
0.058152806,
-0.019865695,
-0.028831147,
-0.0060564484,
0.030411683,
-0.007146473,
0.037742097,
-0.046080783,
-0.018312411,
-0.055236988,
-0.0055148425,
-0.0029277375,
0.041829687,
-0.0044827256,
0.002086375,
-0.010287106,
0.020437958,
0.010586862,
-0.0063187354,
0.022359127,
0.037224334,
0.019715818,
-0.03561655,
0.01124769,
-0.05624526,
0.008611193,
0.043055966,
-0.049759615,
-0.06512896,
-0.014129442,
-0.018871048,
-0.026610222,
-0.007221412,
0.066109985,
0.017958153,
0.010654989,
-0.022141121,
-0.017317763,
-0.014878834,
-0.028013628,
0.026950855,
-0.006431144,
-0.042919714,
-0.012569345,
0.0074121663,
0.035916306,
-0.01828516,
0.014292946,
-0.029703166,
0.05984234,
-0.03210122,
-0.013666182,
0.013393676,
-0.018475914,
-0.018993676,
0.00082688575,
0.048696842,
-0.018366912,
-0.017903652,
0.003288808,
-0.020219954,
-0.07172361,
0.011022872,
-0.019184431,
0.020274455,
0.010913869,
0.029076403,
0.031365454,
0.01808078,
0.0016733578,
-0.010539174,
0.014974211,
-0.021568859,
0.0046598543,
-0.02475718,
0.0014357666,
0.0005083942,
-0.027155234,
0.03918638,
-0.00008558395,
-0.030493435,
0.00423747,
-0.05918833,
-0.013066668,
0.025479322,
-0.034036014,
0.052375674,
0.0022311439,
-0.0069659376,
-0.0014340634,
-0.06442045,
0.0042136256,
0.0064243316,
-0.0032751828,
0.0039172755,
0.05886132,
0.0060564484,
-0.00014381084,
-0.046189785,
-0.027018981,
0.03466278,
-0.025356693,
0.0074462295,
-0.043382972,
-0.02719611,
0.0006489052,
-0.056354266,
-0.0021596109,
-0.014837958,
-0.046598546,
0.046435043,
0.009612653,
0.008999514,
0.02339465,
-0.023326524,
-0.023571778,
0.036652073,
0.0017133822,
-0.011356692,
-0.0014119223,
0.034962535,
0.0036277375,
0.038913872,
0.0014068128,
-0.019402435,
-0.058534313,
-0.054037962,
0.04063066,
-0.029158155,
-0.038069103,
0.0061211684,
-0.08126132,
-0.06632799,
0.055400494,
0.010818493,
-0.010689052,
0.060768865,
-0.037333336,
0.00837275,
-0.08638444,
0.009319709,
0.0032121658,
0.057280786,
0.0012126522,
0.010041851,
-0.024471048,
0.013489053,
0.031283703,
-0.044472996,
0.03828711,
-0.008468128,
-0.013856936,
-0.05349295,
0.005668127,
0.02208662,
-0.0005198906,
-0.019089052,
-0.015042338,
0.035861805,
-0.040276404,
0.022563506,
0.008127495,
0.017944528,
-0.021418981,
-0.031147448,
0.06507446,
-0.04049441,
0.0000015634506,
0.0069182487,
0.027781999,
0.051694408,
0.038368862,
-0.018966425,
-0.013209734,
-0.021527983,
-0.05398346,
0.013877374,
-0.0074939183,
-0.016881755,
0.01779465,
0.02809538,
0.049241856,
-0.017031632,
-0.0006156935,
0.03199222,
-0.021296352,
0.009891972,
-0.05831631,
-0.003920682,
0.0153693445,
-0.05387446,
-0.004118249,
-0.042129446,
-0.0212146,
-0.033300247,
-0.033245746,
-0.05924283,
-0.0156146,
-0.016568372,
0.033109494,
-0.010981997,
0.041720685,
-0.007861801,
-0.022222873,
-0.050686136,
-0.01024623,
0.010184916,
0.03877762,
0.012657909,
-0.0033007304,
0.019702192,
0.065455966,
-0.044472996,
-0.024062289,
0.01361168,
0.03787835,
-0.036706574,
-0.058697816,
0.026146961,
-0.006890998,
-0.08763797,
-0.036025308,
-0.039431635,
-0.050740637,
-0.014810707,
-0.034826282,
0.022917764,
0.010763992,
-0.012944041,
0.0070783463,
0.015219467,
-0.028231634,
0.020110952,
-0.002609246,
-0.0021596109,
-0.030602437,
0.023776159,
-0.009101704,
-0.078590766,
-0.008795135,
-0.028940149,
-0.024362046,
-0.056735773,
-0.00028336377,
0.023544528,
-0.042674456,
0.061749887,
0.037633095,
0.029730417,
0.037769347,
0.03825986,
0.03297324,
0.017685646,
-0.019988323,
-0.059896845,
-0.003462531,
-0.0040433095,
0.0013863748,
0.0032649639,
-0.054201465,
0.017058883,
-0.01625499,
0.039949395,
0.011997081,
-0.034553774,
-0.0037605844,
-0.021691486,
-0.03518054,
0.01371387,
-0.001982482,
0.005477373,
0.050250128,
-0.0014110707,
-0.08000779,
-0.0011283456,
-0.038205355,
0.006615086,
-0.03264623,
-0.025520198,
-0.024130417,
-0.036842827,
-0.03163796,
-0.031310953,
-0.009817033,
0.0016776158,
-0.01962044,
-0.019525062,
0.0072145993,
-0.012092459,
0.03346375,
-0.0050209253,
0.021636985,
-0.01810803,
0.012446716,
-0.0020182484,
-0.010198541,
-0.024798056,
0.06283991,
0.03885937,
-0.03082044,
-0.023926036,
-0.00713966,
-0.011826766,
-0.0100146,
0.013175671,
0.033272997,
0.0072077867,
-0.033027742,
-0.027209735,
0.013434552,
-0.071396604,
-0.0066082734,
-0.039022874,
-0.007023845,
0.016377617,
0.019811194,
-0.023013141,
0.040712412,
-0.0035664237,
0.056354266,
-0.010661801,
-0.027046232,
-0.033218496,
0.051094897,
0.033245746,
-0.01404769,
-0.005324088,
-0.039404385,
0.027264237,
0.014442824,
0.011717763,
0.0054603415,
-0.021500733,
-0.022590756,
-0.016636498,
-0.022004869,
-0.000060728413,
0.04321947,
0.014728955,
-0.01677275,
-0.027250612,
-0.037714846,
-0.024798056,
-0.012726036,
-0.058261808,
-0.07488468,
0.03700633,
-0.020683214,
0.00423747,
-0.005429684,
-0.008290999,
-0.02652847,
0.031310953,
-0.036733825,
0.028013628,
0.05123115,
0.0090880785,
0.028340636,
0.0031951342,
0.0072895386,
0.0031985405,
0.032836985,
-0.03207397,
-0.019497812,
-0.011261315,
0.048996598,
0.017917277,
-0.033382,
-0.04597178,
0.016963506,
0.028885648,
0.019061802,
-0.035780054,
-0.015451097,
0.03531679,
0.0050311442,
-0.010035038,
-0.023149393,
0.03264623,
-0.0053206817,
0.012467154,
-0.010178103,
-0.011663262,
0.07036108,
-0.023285648,
-0.030902194,
0.02211387,
0.053438447,
0.010695865,
-0.013693432,
-0.013127982,
0.009769344,
0.031883214,
0.047334313,
-0.0012373481,
-0.05038638,
-0.014224819,
-0.012780537,
0.008876886,
-0.0049630175,
0.049241856,
0.025111439,
-0.018584916,
0.02026083,
-0.028068129,
-0.0104233585,
-0.013162045,
-0.014252069,
0.029076403,
0.033736255,
-0.014810707,
-0.004322628,
-0.0334365,
0.027318738,
-0.01587348,
-0.08251485,
0.0088360105,
0.040358156,
0.009224332,
0.0032121658,
0.02989392,
-0.02429392,
0.020642338,
0.02611971,
0.017113384,
0.03076594,
0.030602437,
0.014224819,
-0.010825305,
0.015641851,
-0.031283703,
-0.037633095,
-0.05711728,
-0.013420926,
-0.04316497,
-0.00077153294,
-0.0016478105,
0.0035562047,
0.00019841851,
-0.01630949,
0.0042408765,
-0.004268127,
0.024634553,
-0.067908525,
0.01325061,
-0.008733821,
0.0008362531,
-0.011404381,
0.05929733,
-0.04940536,
-0.0018428226,
0.002316302,
0.08398639,
0.0008298663,
0.071941614,
0.018762046,
-0.0050447695,
-0.008107057,
0.039050125,
-0.041802436,
-0.063657425,
-0.020410707,
-0.011499758,
0.014129442,
-0.0065605845,
-0.03199222,
-0.0015975671,
0.02693723,
0.017849151,
-0.03978589,
0.03648857,
0.012514844,
-0.04321947,
0.027482241,
0.06932556,
0.026787352,
-0.004247689,
-0.011949393,
-0.027822874,
-0.052702684,
-0.01602336,
-0.02005645,
0.053383946,
-0.025438447,
-0.053792708,
0.010089539,
-0.017113384,
-0.020737715,
0.017249636,
0.026228713,
-0.025397569,
0.018094406,
0.0135639915,
0.019184431,
0.034172267,
-0.042865213,
0.039404385,
0.017454017,
0.043028716,
0.023408275,
0.054528475,
0.009258395,
-0.008965451,
0.004915329,
0.021200975,
0.012153773,
-0.052920688,
-0.01587348,
-0.012187836,
0.056899276,
-0.07477568,
-0.04856059,
0.0076301713,
0.032455478,
-0.027741123,
-0.020873968,
-0.014333822,
0.029839419,
-0.06278541,
-0.012555719,
0.0076778596,
0.028722145,
-0.029076403,
0.0014996352,
-0.016677374,
-0.021582484,
0.2140808,
0.03700633,
0.10905695,
0.0009750609,
0.0014212898,
0.043955237,
0.040385406,
-0.048805844,
-0.028476888,
-0.033027742,
-0.023517277,
-0.007882239,
0.007534794,
0.0189528,
-0.036025308,
0.030711439,
-0.027577618,
0.006822872,
0.010382483,
-0.061259374,
-0.051885165,
0.02652847,
-0.023966912,
0.05837081,
0.01692263,
0.0028425795,
0.037742097,
-0.03161071,
-0.011131874,
-0.0025547447,
0.0047927015,
-0.057716794,
0.033327498,
-0.005555718,
-0.0020931875,
-0.009231145,
-0.04150268,
-0.064801954,
0.021814113,
-0.022658883,
-0.00026143555,
0.008692945,
-0.03201947,
-0.0057260348,
-0.066982,
-0.0011291972,
0.025956208,
0.020533336,
0.047061805,
-0.07265013,
0.00373674,
-0.015478347,
0.035698302,
-0.03120195,
-0.04316497,
-0.012419466,
-0.034008764,
-0.011894892,
0.016445745,
0.03973139,
0.024103167,
0.06501996,
-0.0008362531,
-0.004383942,
-0.034581024,
-0.025901707,
-0.006635524,
0.010872994,
-0.045644775,
0.02426667,
-0.011022872,
-0.034799032,
0.01517859,
-0.004915329,
-0.013325549,
0.054582976,
0.0089245755,
0.036652073,
0.0026654503,
-0.030847693,
0.013693432,
0.01979757,
0.03340925,
0.0031184917,
0.007119222,
0.043382972,
-0.07722823,
0.02139173,
-0.0020829686,
0.018625792,
0.018407788,
0.036325064,
0.049732365,
-0.0014110707,
-0.0002548358
] | Use 🤗 Datasets' [~datasets.Dataset.cast_column] method to upsample the sampling rate to 16kHz:
dataset = dataset.cast_column("audio", Audio(sampling_rate=16_000))
Call the audio column again to resample the audio file: |
[
0.008681731,
0.038638245,
-0.0033612899,
0.028608505,
-0.00813694,
-0.044058215,
-0.032268383,
-0.027602738,
0.0035830475,
0.059954934,
0.051433846,
-0.034419607,
0.041962866,
-0.027812272,
-0.0050672535,
0.007501351,
-0.029334892,
-0.04453316,
-0.039029375,
0.0013846768,
-0.010749143,
0.0052418658,
-0.03953226,
-0.0169863,
-0.061966468,
0.027937993,
-0.0087934835,
0.0056749047,
0.033078585,
0.02714176,
0.012069213,
-0.021791635,
-0.02004551,
-0.054786403,
0.048835613,
-0.026513156,
0.048640046,
0.005269804,
-0.02729542,
-0.022224674,
-0.012404469,
-0.00529425,
0.04143204,
-0.0124603445,
-0.02866438,
0.004990424,
-0.01864861,
0.014087733,
-0.016064346,
0.00074821437,
0.006883223,
-0.018732425,
0.03911319,
-0.018606704,
0.015114455,
-0.005224405,
-0.024026673,
-0.0009856874,
-0.04634913,
-0.0014702369,
-0.006663211,
0.0057237963,
0.010770096,
-0.035425376,
0.024250178,
0.026331559,
0.0035970167,
-0.048109222,
-0.037101656,
-0.0017688242,
0.0002776338,
0.029251078,
-0.014583632,
-0.02825928,
-0.028636442,
0.011468546,
-0.0029492043,
-0.03173756,
0.012474313,
0.035620943,
-0.0023293302,
0.048388604,
0.03173756,
0.008178848,
0.00933129,
-0.042102557,
0.028552629,
-0.042717192,
-0.0080950335,
0.0002726137,
-0.00807408,
0.052271985,
-0.035145994,
-0.012830523,
0.016665014,
0.014541726,
0.00043194756,
0.025940426,
0.027239542,
-0.0057936413,
0.044449348,
0.07895277,
-0.037073717,
0.005437432,
0.02589852,
0.031150863,
0.019514687,
0.0100646615,
-0.07196827,
-0.017712688,
0.027463047,
0.02005948,
0.039336693,
-0.05445115,
-0.005912378,
0.0559598,
0.007850576,
0.03254776,
-0.006568921,
-0.008367429,
0.011824756,
0.019542625,
0.02005948,
-0.053166002,
-0.02894376,
-0.052076418,
0.0056853816,
-0.000033176366,
-0.026094085,
0.004697075,
-0.019081648,
-0.0010363249,
0.019668346,
0.026876349,
0.015812904,
0.011559345,
-0.022881215,
-0.04132029,
0.04302451,
-0.035816506,
0.019277215,
-0.0012921322,
-0.048528295,
0.057608142,
-0.025688984,
-0.006911161,
0.030955296,
-0.002971904,
-0.00055483106,
0.031961065,
-0.043890588,
-0.0028793593,
-0.0104977,
-0.0072988006,
-0.021651944,
-0.020017572,
-0.03034066,
0.006219696,
-0.03687815,
0.02211292,
-0.0044945246,
-0.0159945,
-0.04132029,
0.024306053,
0.015631307,
0.04481254,
0.013563896,
-0.05445115,
-0.0073476923,
-0.020534424,
0.025144193,
-0.0013768192,
0.009799251,
0.015421772,
0.02323044,
0.012097151,
0.008360445,
-0.038358863,
0.004417695,
-0.0050393157,
-0.031206738,
0.005517754,
0.05023251,
-0.042130493,
-0.036654647,
-0.00038829446,
-0.02046458,
-0.007340708,
-0.04254956,
0.010525639,
0.053361565,
0.074370936,
-0.032659512,
0.0048821643,
-0.036095887,
-0.025465481,
-0.032240443,
-0.008122971,
-0.02992159,
-0.06258111,
-0.058166903,
0.0036738461,
-0.0064362152,
0.019682316,
-0.023761263,
0.011887616,
0.041962866,
0.02967015,
0.0017862854,
0.028161496,
0.024864813,
0.024822908,
-0.03869412,
0.05302631,
0.009198585,
0.0076899324,
-0.02283931,
0.011678081,
0.0201852,
0.019374998,
0.03020097,
0.008060111,
0.051964667,
0.049562,
-0.0099249715,
0.0056958585,
-0.0022699619,
0.0839816,
0.053529195,
0.02939077,
0.0024847353,
0.057384636,
0.01793619,
0.036291454,
0.027770365,
0.03729722,
0.038163297,
0.04344358,
0.018033974,
-0.013626756,
-0.030536227,
0.014346159,
0.014031857,
0.004082439,
0.011112337,
0.014863012,
0.022252612,
0.005004393,
-0.013396268,
0.04009102,
-0.028426908,
0.054395273,
0.012662895,
0.033469714,
-0.023048844,
-0.072303526,
0.022294518,
0.039923392,
-0.041962866,
-0.033832908,
0.020003604,
0.022699619,
-0.004651676,
-0.0030225415,
0.027951961,
-0.0041208537,
-0.008807452,
0.01627388,
0.004616753,
-0.010351026,
-0.038749997,
-0.07627072,
-0.062301725,
-0.0056050597,
-0.04414203,
-0.0047040596,
0.01127298,
-0.054479085,
0.023747293,
0.015854811,
-0.026834441,
-0.021959262,
-0.025730891,
0.020576332,
0.033385903,
0.0036074934,
-0.041404106,
0.008479181,
0.027868148,
0.053138062,
-0.009303352,
-0.017195834,
0.033050645,
0.0027553847,
-0.018718455,
-0.01849495,
-0.017782532,
0.007106727,
0.048388604,
0.020674115,
-0.042130493,
0.039476383,
-0.059116792,
-0.018858146,
-0.032631576,
0.03369322,
0.03285508,
-0.033469714,
0.015673215,
0.036291454,
-0.02005948,
0.015770998,
0.04579037,
0.0048193038,
-0.007221971,
0.0058949166,
0.04288482,
0.013473097,
-0.027127791,
-0.031011172,
-0.045147795,
-0.04665645,
-0.03243601,
-0.019640408,
-0.024250178,
0.03852649,
-0.03229632,
-0.065654285,
0.030815607,
-0.0693421,
-0.02672269,
-0.030647978,
0.020282982,
0.03623558,
0.025828674,
-0.0057412577,
-0.046153564,
0.01793619,
0.0020394735,
0.0545629,
0.009631623,
-0.0025406112,
-0.016916454,
0.036123823,
0.0072988006,
0.00891222,
0.020115355,
-0.042968635,
-0.010260228,
0.027574798,
0.017209804,
0.002283931,
0.026694752,
0.039588135,
0.036012072,
0.01920737,
-0.024068581,
0.025451511,
0.063531,
0.022531992,
0.059675552,
0.008185832,
0.018955927,
-0.011866663,
0.012502252,
-0.02701604,
0.01962644,
-0.0057237963,
0.039727826,
-0.050847147,
0.029837776,
0.018341292,
-0.03134643,
0.0071870484,
0.023649512,
-0.001093947,
0.074370936,
-0.016972331,
0.028231341,
-0.058390405,
-0.005399017,
0.014066779,
0.013941059,
0.032352194,
0.021735758,
0.058055148,
0.01398995,
-0.04020277,
-0.05470259,
-0.040482152,
-0.008081065,
-0.0014099956,
0.015296051,
-0.02967015,
-0.018285416,
-0.03841474,
0.01755903,
0.00431642,
0.043611206,
0.028315155,
0.04148792,
0.011580298,
0.061407708,
0.042801004,
-0.023272349,
-0.026596969,
-0.013396268,
0.051964667,
0.006673688,
0.058558032,
-0.03690609,
-0.008067096,
-0.053836513,
-0.0036319392,
0.0049520093,
0.030564165,
-0.03564888,
0.02074396,
-0.017908253,
0.002257739,
0.021232875,
-0.01035801,
0.008102018,
0.026289651,
0.028412938,
-0.037520725,
0.010812003,
-0.04665645,
0.004697075,
0.044868417,
-0.022252612,
-0.059731428,
-0.007361661,
-0.028273249,
-0.024808938,
-0.006478122,
0.054060016,
0.011161228,
0.0038030592,
-0.040146895,
-0.017014237,
0.005580614,
-0.017517122,
0.004665645,
-0.0039881486,
-0.018522888,
-0.004222129,
-0.0039078267,
0.012278748,
-0.009904019,
0.017475214,
-0.022783434,
0.052411675,
-0.035844445,
-0.017489184,
0.03048035,
-0.018830208,
-0.009554793,
0.035537127,
0.0345593,
-0.014946826,
-0.01877433,
-0.002830468,
-0.030173032,
-0.060904823,
0.019081648,
-0.006520029,
0.015184299,
0.018872114,
0.029726025,
0.025800737,
0.03673846,
0.013906136,
0.00020014953,
0.0040999004,
-0.018173665,
0.016064346,
-0.04148792,
-0.01043484,
-0.0019259754,
-0.030871483,
0.027756397,
-0.002917774,
-0.0029649194,
0.0048123193,
-0.06364275,
-0.014499818,
-0.0013567387,
-0.03520187,
0.019919788,
-0.005538707,
-0.010455794,
0.02310472,
-0.057440512,
-0.00877253,
-0.005004393,
-0.0041802223,
-0.003715753,
0.05288662,
-0.01043484,
0.016120221,
-0.040007208,
-0.041096788,
0.050511893,
-0.03159787,
0.024096519,
-0.033274148,
-0.013528973,
0.000995291,
-0.029614272,
-0.0014597601,
-0.0031622315,
-0.037632477,
0.013501035,
-0.0046621524,
-0.00022012083,
0.025800737,
-0.017028207,
-0.0075502424,
0.037828043,
0.012006353,
-0.02939077,
-0.0013584848,
0.018969897,
-0.016259912,
0.013403252,
0.0155474935,
-0.020366797,
-0.056881752,
-0.050903022,
0.053166002,
-0.040314525,
-0.03701784,
-0.026219806,
-0.07900865,
-0.04232606,
0.057943396,
-0.0006386451,
-0.040314525,
0.046544697,
-0.04355533,
0.020087417,
-0.05732876,
0.005255835,
-0.023342192,
0.039280817,
0.00070456124,
0.030396536,
-0.024361929,
0.01672089,
0.022978999,
-0.025744861,
0.04011896,
0.017740626,
-0.017908253,
-0.03715753,
0.00044176952,
0.028594535,
0.021484317,
-0.018578766,
-0.022601835,
0.026261713,
-0.028021807,
0.016651044,
0.005524738,
0.0023240917,
-0.02046458,
-0.010050693,
0.077667624,
-0.035620943,
-0.021302719,
-0.007106727,
0.051545598,
0.060625445,
0.04623738,
-0.019877883,
-0.019095618,
-0.013528973,
-0.08113193,
0.032100752,
-0.0026995086,
-0.0088004675,
0.02645728,
0.01461157,
0.054618776,
-0.006544475,
-0.0008123845,
0.038610306,
0.0053256797,
0.01161522,
-0.050847147,
0.00925446,
0.026401402,
-0.05065158,
-0.0016596913,
-0.026666814,
-0.014087733,
-0.0317655,
-0.03344178,
-0.058166903,
-0.011950476,
-0.031094987,
0.04721521,
0.0022909155,
0.04606975,
-0.0048472416,
-0.023984767,
-0.047103457,
0.0077877156,
0.012753693,
0.027169699,
0.01990582,
-0.0024847353,
0.025102286,
0.05386445,
-0.043331828,
-0.009016987,
0.006268587,
0.052132294,
-0.021093184,
-0.04009102,
0.015240175,
-0.0016806449,
-0.08046142,
-0.03313446,
-0.03810742,
-0.04310832,
-0.012411454,
-0.044896353,
0.025996303,
0.030117156,
-0.019877883,
0.020799836,
0.030033343,
-0.037492786,
0.013515004,
-0.0066701956,
-0.005943808,
-0.03592826,
0.01920737,
0.015282082,
-0.070739,
-0.011105352,
-0.049813442,
-0.02866438,
-0.037492786,
0.012194934,
0.04341564,
-0.02420827,
0.039280817,
0.03355353,
0.027518922,
0.051433846,
0.04173936,
0.027477017,
0.004452618,
-0.0033350978,
-0.060346063,
0.014388067,
0.008674746,
0.0068483003,
0.0043199123,
-0.037241343,
0.011147259,
-0.024389869,
0.045734495,
0.024641309,
-0.064425014,
-0.0013497543,
-0.0425775,
-0.036710523,
0.01544971,
-0.014849043,
-0.003963703,
0.05067952,
-0.015100485,
-0.07850576,
-0.024389869,
-0.032771267,
-0.0018735917,
-0.017335525,
-0.041934926,
-0.022238642,
-0.031961065,
-0.01793619,
-0.024515588,
-0.0061079436,
0.021903386,
0.0013095934,
0.0025056887,
-0.013172763,
-0.022252612,
0.031150863,
0.0077458085,
0.017014237,
-0.0038309973,
0.013731523,
0.0134381745,
-0.008479181,
-0.028385,
0.05162941,
0.028608505,
-0.03914113,
-0.024543528,
0.001163792,
-0.013116888,
-0.014988733,
0.014010903,
0.040035143,
-0.011573314,
-0.015687183,
-0.028357062,
0.027043978,
-0.09040734,
-0.025828674,
-0.024389869,
0.00563649,
0.04302451,
0.0043408656,
-0.021107154,
0.043080386,
0.005133606,
0.048667982,
0.0050986838,
-0.01169205,
-0.02967015,
0.031486116,
0.020841742,
-0.0126000345,
-0.013256578,
-0.019109586,
0.028971698,
0.013116888,
0.009568763,
0.010113553,
-0.02212689,
-0.027532892,
-0.005748242,
-0.009757344,
0.010672313,
0.02212689,
0.013521989,
-0.028273249,
-0.010399918,
-0.029055513,
-0.023649512,
-0.022057045,
-0.05878154,
-0.041515857,
0.023453945,
-0.032044876,
0.007920421,
-0.023607604,
-0.0022996461,
-0.031486116,
0.04106885,
-0.039699886,
0.034978367,
0.03866618,
-0.009205569,
0.021540193,
0.0018194618,
0.010644375,
0.015002702,
0.031849314,
-0.03131849,
0.0088004675,
-0.0013829307,
0.044086155,
0.040314525,
-0.023873014,
-0.044477284,
-0.0062755714,
0.024082549,
0.0065793972,
-0.006080006,
0.0066457503,
0.032771267,
0.008877297,
-0.02114906,
-0.036626708,
0.024278115,
0.005943808,
0.0077178706,
-0.0016090538,
-0.020129323,
0.040538028,
-0.03453136,
-0.008639825,
0.017531091,
0.053277753,
0.015798936,
-0.020688083,
-0.0126000345,
0.01712599,
0.04606975,
0.06861571,
-0.012977198,
-0.042493686,
-0.0013087203,
-0.01489095,
0.030145094,
-0.03254776,
0.046824075,
0.030312723,
0.013731523,
0.0233841,
-0.018816238,
-0.04911499,
-0.009512886,
-0.010965662,
0.039923392,
0.034335792,
-0.010895818,
0.0024760047,
-0.022098953,
0.025549294,
-0.0045783385,
-0.08945745,
0.016218005,
0.029977467,
0.016176097,
0.017251711,
0.03022891,
-0.0317655,
0.026233776,
0.015044609,
-0.00038567526,
0.020422673,
0.016120221,
0.03103911,
-0.015002702,
0.0067260717,
-0.029586334,
-0.028999636,
-0.04179524,
-0.02589852,
-0.034866616,
0.015477648,
0.031625807,
0.009708453,
0.0070718043,
-0.03995133,
-0.0013663424,
-0.009003018,
0.031262614,
-0.049198806,
0.024948627,
0.00012855841,
-0.015100485,
-0.022601835,
0.07280641,
-0.035704754,
0.0022507545,
-0.007613103,
0.098509364,
0.0040021176,
0.078729264,
0.010043709,
0.0017714434,
-0.03810742,
0.04900324,
-0.03771629,
-0.0595638,
-0.0024358437,
0.0022420238,
0.020478548,
-0.020394735,
-0.04414203,
-0.019919788,
0.01850892,
-0.007221971,
-0.02967015,
0.0141436085,
0.014835075,
-0.035565063,
0.023356162,
0.08062905,
0.035565063,
-0.01363374,
-0.02240627,
-0.012411454,
-0.06392213,
-0.017475214,
-0.008409336,
0.052663118,
-0.021973232,
-0.03900144,
-0.00009259917,
-0.028357062,
-0.01755903,
0.029837776,
0.020967463,
-0.03531362,
0.02782624,
0.01266988,
0.037101656,
0.026569031,
-0.04967375,
0.020590302,
0.02616393,
0.05065158,
0.023817139,
0.049562,
0.002718716,
-0.0077597774,
-0.004924071,
0.019458812,
0.0040265634,
-0.025200069,
-0.003995133,
-0.01644151,
0.026610939,
-0.06604542,
-0.047969535,
0.013766446,
0.018341292,
-0.010525639,
-0.012118105,
-0.0375766,
0.03344178,
-0.064536765,
-0.004511986,
-0.010141491,
0.03453136,
-0.037269283,
0.012537174,
-0.011259011,
-0.027085884,
0.22853278,
0.043331828,
0.08962508,
-0.0041278386,
-0.012676864,
0.030843545,
0.03380497,
-0.059731428,
-0.03358147,
-0.028133558,
-0.02128875,
-0.02088365,
0.00068884616,
0.026080117,
-0.022336425,
0.024836875,
-0.034307856,
-0.0019853436,
0.009687499,
-0.055987738,
-0.05012076,
0.018201603,
-0.016497385,
0.063307494,
0.019109586,
0.010078631,
0.041851114,
-0.040007208,
0.014793167,
-0.0052069435,
-0.001779301,
-0.052691054,
0.03732516,
0.009429073,
0.015687183,
-0.01571512,
-0.024739092,
-0.058166903,
0.011370763,
-0.01091677,
0.008996034,
0.02156813,
-0.017447276,
0.007445475,
-0.073421046,
-0.013745492,
0.012292717,
0.030536227,
0.036934026,
-0.073309295,
0.014457911,
-0.020771898,
0.0131518105,
-0.03587238,
-0.048612107,
-0.009596701,
-0.017461246,
-0.022294518,
0.0053466335,
0.037185468,
0.00096822606,
0.057552267,
0.012641942,
0.011699035,
-0.0090798475,
-0.01091677,
-0.017894285,
0.0071730795,
-0.01754506,
0.022043077,
0.00007835734,
-0.01811779,
0.0016439763,
-0.004361819,
-0.036542896,
0.042605437,
-0.011286949,
0.047271084,
-0.016637074,
-0.02784021,
0.00014558314,
0.011161228,
0.025800737,
0.013396268,
0.014234408,
0.04313626,
-0.05635093,
0.003546379,
-0.0032862064,
0.00044198777,
0.025283884,
0.032938894,
0.031206738,
0.01349405,
0.0033595436
] | dataset = dataset.cast_column("audio", Audio(sampling_rate=16_000))
Call the audio column again to resample the audio file:
dataset[0]["audio"]
{'array': array([ 2.3443763e-05, 2.1729663e-04, 2.2145823e-04, ,
3.8356509e-05, -7.3497440e-06, -2.1754686e-05], dtype=float32),
'path': '/root/.cache/huggingface/datasets/downloads/extracted/f14948e0e84be638dd7943ac36518a4cf3324e8b7aa331c5ab11541518e9368c/en-US~JOINT_ACCOUNT/602ba55abb1e6d0fbce92065.wav',
'sampling_rate': 16000} |
[
-0.009352801,
0.06317553,
0.025720203,
-0.008308699,
-0.034528896,
-0.033764202,
-0.0244114,
0.006709459,
-0.026499605,
0.041440558,
0.009698384,
-0.0023308476,
0.0007757237,
-0.046087548,
-0.01651446,
0.038470015,
-0.02122027,
-0.041969962,
-0.025940789,
-0.035881817,
-0.0032885538,
-0.0031856142,
-0.06976366,
-0.03752885,
-0.038352367,
0.038440604,
-0.0039778817,
-0.027543707,
0.06194025,
0.07558711,
-0.0027113566,
-0.0020367343,
-0.040675864,
-0.036028873,
0.00029733012,
-0.048440453,
0.039999403,
-0.02298495,
-0.006455786,
-0.023984935,
0.016720338,
0.017882086,
0.0019540149,
-0.042675834,
-0.03441125,
-0.008639577,
-0.019573238,
0.021117331,
-0.029411325,
-0.031793643,
-0.019220302,
-0.024058463,
0.041028798,
0.014654193,
-0.009963087,
-0.052058045,
0.014838014,
-0.01324245,
-0.0024613603,
0.01708798,
0.023470238,
0.017308565,
-0.005441095,
-0.035175946,
-0.016602693,
0.032117166,
-0.022234961,
-0.026161375,
-0.040911153,
0.0038602364,
-0.07305773,
0.008904278,
-0.03752885,
-0.02373494,
-0.039411176,
0.008183701,
-0.016029172,
-0.009955734,
0.016117407,
0.021382034,
-0.022632014,
0.040764097,
0.034028903,
0.04926397,
-0.024543751,
-0.04058763,
0.03135247,
-0.035205357,
0.007933705,
-0.025999611,
-0.041646436,
0.03555829,
-0.057616785,
0.010374845,
0.010220435,
0.031440705,
0.0066579888,
0.02508786,
-0.0088601615,
-0.010727781,
0.04305818,
0.07823412,
-0.023014361,
0.024249637,
-0.021646736,
0.012764515,
0.012845396,
-0.004503609,
-0.03135247,
-0.030352488,
-0.022896716,
-0.004433757,
0.045675788,
0.021014392,
-0.023293769,
0.016411519,
0.023161419,
-0.0060440274,
-0.032293636,
-0.010786603,
-0.0041139093,
0.00366171,
0.015749764,
-0.03991117,
-0.017176215,
-0.052263923,
-0.00644108,
0.003023852,
-0.0023051125,
0.027852524,
-0.010360139,
0.02610255,
0.06746958,
0.039617054,
0.02220555,
-0.023632,
-0.014588017,
-0.025558442,
-0.011404241,
-0.003483404,
0.008735163,
-0.0015597193,
-0.038499426,
0.07594004,
-0.004404346,
0.0020845276,
0.03241128,
-0.034940653,
0.010352787,
0.012617459,
-0.02451434,
0.02854369,
0.008271935,
-0.030293666,
-0.03502889,
-0.021102626,
-0.013338036,
-0.002538565,
-0.0074263597,
-0.0017821424,
0.023205535,
0.015396829,
-0.057146206,
0.0412935,
-0.024631985,
0.037587672,
-0.02474963,
-0.012360109,
0.04708753,
-0.04973455,
-0.008705752,
0.018735014,
-0.019235007,
0.008683694,
0.01620564,
-0.033881847,
0.04546991,
-0.0026378282,
0.016558576,
-0.02085263,
-0.015779177,
-0.0044999328,
0.01994088,
0.023308475,
-0.021234976,
-0.009411624,
0.0036506807,
0.0021065862,
-0.029587792,
-0.022896716,
0.04038175,
0.041558202,
-0.012499813,
-0.012065996,
-0.05991087,
0.008110173,
-0.06282259,
0.0040440573,
0.016940923,
-0.037352383,
-0.027264299,
0.051469818,
-0.029367208,
0.03994058,
-0.04111703,
0.031264238,
0.05552858,
0.07899882,
0.0065771076,
0.012815985,
0.026631955,
0.032028932,
-0.03723474,
0.022058494,
-0.0036580337,
-0.050411012,
0.010580724,
0.031881876,
0.021940848,
0.020896746,
0.003952147,
0.0076101804,
0.026323136,
0.009830736,
0.047616936,
-0.01874972,
0.014999776,
0.018396784,
0.046087548,
0.029484853,
-0.02861722,
0.025029037,
-0.00009191039,
0.025058448,
-0.0051065413,
0.022676133,
0.057587374,
0.036764156,
0.014940953,
0.02085263,
0.0074594473,
0.028808393,
0.038940594,
0.026161375,
-0.021382034,
-0.012286581,
-0.0039558234,
-0.007896941,
-0.044058166,
-0.023176124,
-0.034764186,
0.04173467,
0.020455576,
0.0074631236,
-0.052940384,
-0.044293456,
0.012036585,
0.035117123,
-0.0065587256,
-0.005595505,
0.02861722,
0.041675847,
0.03908765,
-0.010191024,
0.014610075,
0.0072462154,
0.010624841,
0.009301332,
-0.031264238,
-0.034470074,
-0.04088174,
-0.058646183,
-0.051322762,
0.010249847,
-0.038028844,
-0.0581756,
0.0039778817,
-0.06458727,
0.01861737,
-0.00042830242,
-0.016587988,
-0.02027911,
-0.0046543423,
0.032234814,
0.010338081,
0.005441095,
-0.068646036,
0.045911077,
0.026543722,
0.043234646,
-0.028705454,
-0.015308594,
-0.0027922378,
-0.060881443,
-0.00036396514,
-0.01630858,
0.0074079777,
0.013521857,
-0.02794076,
0.008448403,
-0.0033492146,
0.0053565376,
-0.03373479,
0.01749974,
-0.038028844,
0.009235156,
0.017705617,
-0.00981603,
0.01976441,
0.062999055,
-0.034793597,
0.01986735,
0.046587538,
0.031587765,
-0.029720144,
0.023808468,
0.0522051,
-0.00624623,
-0.028176049,
-0.0107057225,
-0.054763887,
-0.031823054,
-0.038352367,
-0.01324245,
0.014110084,
0.062763765,
-0.013014511,
-0.034734774,
0.0063565224,
-0.05520506,
-0.01742621,
-0.016396813,
0.0022536428,
0.05058748,
0.0363524,
0.008566048,
-0.042469952,
0.012999806,
-0.017161509,
0.038028844,
0.016558576,
-0.03017602,
0.0024374635,
0.05546976,
0.020323226,
-0.011757177,
0.009183686,
-0.03573476,
-0.008301347,
0.008838103,
0.00086349814,
0.010345434,
0.000906696,
-0.015279183,
0.010191024,
0.04661695,
-0.063587286,
-0.00546683,
0.056087397,
0.009073393,
0.025029037,
0.0018547517,
0.021440856,
0.013257155,
0.0027995906,
-0.020970276,
0.025940789,
0.017646795,
0.023749646,
-0.031205416,
0.025587853,
0.036087696,
-0.045205206,
0.02651431,
-0.00013786559,
-0.0114263,
0.06552843,
-0.00005391119,
0.052940384,
-0.061646137,
-0.010786603,
0.0154409455,
0.037146505,
0.036293574,
0.036734745,
0.024573162,
-0.03499948,
0.0013804941,
-0.0071947454,
-0.009198392,
0.0032039962,
0.0041727317,
-0.005988881,
0.0063822577,
-0.041675847,
-0.028161343,
-0.008948396,
0.05232275,
0.022029083,
0.021646736,
0.04238172,
-0.010492491,
-0.011580709,
0.036411222,
-0.024676101,
-0.019926174,
0.0033951697,
0.04344053,
-0.009771912,
0.0032793628,
0.0060256454,
-0.010477785,
-0.040264104,
0.03329362,
0.018396784,
0.015411534,
-0.014021849,
-0.030646602,
-0.023749646,
-0.0047719874,
-0.013896851,
-0.037852377,
-0.06446963,
0.014183612,
0.036322985,
-0.062763765,
0.029234856,
-0.051881578,
0.012198347,
0.015073304,
-0.019852644,
-0.03591123,
-0.016749749,
-0.02952897,
-0.026190786,
0.039705288,
0.02542609,
-0.0095219165,
0.029499559,
-0.036705334,
0.009448389,
0.018367372,
-0.033352442,
-0.020573221,
0.00041244787,
-0.006955778,
0.011043953,
0.029028978,
-0.0021304828,
-0.0181762,
0.030323077,
-0.035617113,
0.033852436,
-0.01677916,
0.004529344,
-0.0006847324,
0.034793597,
-0.0259702,
0.019646766,
0.020426165,
-0.03597005,
0.01137483,
-0.009874852,
-0.009404271,
-0.08193995,
0.01303657,
0.05455801,
-0.014470372,
0.021014392,
0.0381759,
0.048499275,
-0.007499888,
0.043646406,
-0.01508801,
0.013448329,
-0.03499948,
0.008095467,
0.016161524,
-0.042911123,
0.04261701,
-0.009073393,
0.013764501,
0.008816045,
-0.04308759,
-0.024234932,
-0.057352085,
-0.0534992,
-0.0017665178,
-0.017043862,
0.05638151,
0.017602678,
-0.0038859714,
0.013771853,
-0.014705663,
-0.004466845,
0.00033501338,
-0.035852406,
-0.014830661,
0.058322657,
0.0142571395,
0.071763635,
-0.04482286,
-0.018235022,
0.03499948,
0.017514445,
0.0036396515,
-0.004808752,
-0.022661425,
0.021896731,
-0.05785208,
0.019573238,
0.005573446,
-0.04120527,
0.014874778,
-0.0064962264,
0.0023841555,
0.017602678,
-0.0044080224,
-0.015588002,
0.035999462,
-0.029440736,
-0.047264,
-0.019117361,
0.047234587,
-0.014977718,
0.0017738706,
0.04573461,
-0.053175677,
-0.031852465,
-0.00454405,
0.048293397,
-0.018470312,
-0.0060550566,
-0.056028575,
-0.053205088,
0.00047609583,
0.05685209,
-0.024896687,
-0.059293233,
-0.011080717,
-0.011713061,
-0.013014511,
-0.061763782,
-0.02874957,
0.005566093,
-0.009514564,
0.012330698,
0.037470028,
-0.010330728,
-0.023955524,
0.035999462,
-0.02627902,
0.043264057,
0.039646465,
-0.045352265,
0.0031562028,
0.0026580484,
-0.0026635632,
0.010926307,
0.01288216,
-0.031234827,
0.024190815,
-0.043205235,
0.015985055,
-0.024470223,
-0.013382153,
-0.0028676041,
-0.0070072482,
0.0444111,
-0.038264133,
-0.031911287,
0.00047609583,
0.00026906768,
0.0012168936,
0.0350583,
-0.010477785,
-0.017485034,
-0.07870471,
-0.036470044,
0.004360229,
-0.02007323,
-0.021573206,
0.008183701,
0.023617294,
0.07235186,
-0.030043669,
0.020573221,
0.040234692,
0.00288231,
-0.011779236,
-0.026161375,
0.027749585,
-0.01119101,
-0.012823338,
0.020705573,
0.002742606,
-0.0117498245,
-0.007396948,
-0.039852347,
-0.030293666,
0.00015854543,
0.0027903994,
0.0547933,
-0.030087786,
0.013021864,
-0.013367447,
-0.032558337,
-0.04858751,
0.039587643,
0.035411235,
-0.005900647,
0.051440407,
0.007165334,
0.031793643,
0.0724695,
-0.018940894,
-0.013102746,
-0.0063454933,
0.07182246,
-0.00595947,
-0.05620504,
0.02041146,
0.01597035,
-0.050205134,
-0.03794061,
0.0061249086,
0.008073409,
-0.038234722,
-0.026881952,
-0.006176378,
0.009073393,
-0.01745562,
0.016882101,
0.030234842,
-0.0007339045,
0.022029083,
0.04529344,
0.017926203,
-0.015338006,
0.031117182,
0.070646,
-0.03129365,
0.012860102,
-0.041999374,
0.0020275433,
-0.0625873,
-0.00079042936,
0.042999357,
0.0057793255,
0.023764351,
0.046587538,
0.004540373,
0.059999105,
0.0026231227,
0.05258745,
0.019823233,
-0.012418932,
-0.05223451,
0.03438184,
0.032734804,
-0.02272025,
0.03241128,
-0.034675952,
0.0034521543,
-0.002909883,
0.04841104,
-0.024808453,
-0.053058032,
0.027117241,
-0.0068932795,
-0.019984996,
-0.0011001674,
-0.019984996,
0.0036929594,
0.02919074,
-0.01877913,
-0.016146818,
-0.026396664,
0.0014181774,
-0.03955823,
0.008396934,
-0.03926412,
0.024014346,
-0.03373479,
-0.027837818,
-0.024117287,
-0.008411639,
0.027720174,
-0.012360109,
-0.0024981245,
0.0017977672,
-0.012161583,
0.02617608,
-0.028661337,
0.034146547,
-0.010764545,
0.0075734165,
0.0038197958,
-0.0011332551,
-0.032823037,
0.03908765,
0.02241143,
0.0028602513,
-0.009610151,
0.023808468,
0.03861707,
-0.011830705,
-0.0001827868,
0.01810267,
-0.0040992033,
0.010749839,
-0.013065981,
0.03929353,
-0.023676116,
-0.013610091,
-0.02041146,
-0.019073244,
0.020779101,
0.014293904,
0.03461713,
0.0607638,
0.0011185495,
-0.0057719727,
-0.020161463,
0.008602813,
0.011676296,
0.011985115,
0.038470015,
-0.03949941,
0.01732327,
-0.023911407,
0.013926262,
0.017911498,
-0.04682283,
0.0029429707,
-0.035881817,
-0.013286566,
-0.02352906,
0.0142571395,
0.040675864,
0.056293275,
-0.0018207448,
-0.0532345,
0.0069815135,
0.027514294,
-0.035175946,
-0.005499918,
-0.08964572,
-0.02698489,
0.043940518,
-0.021264387,
0.00064521097,
-0.03302892,
0.002378641,
0.025455503,
0.046293426,
0.014610075,
0.022043789,
0.025940789,
-0.002981573,
0.025176095,
-0.005676386,
0.012198347,
-0.0076395916,
0.010757192,
-0.04058763,
-0.0033179652,
0.03302892,
0.04967573,
0.004919044,
-0.039852347,
-0.045381676,
-0.025220212,
0.0016093509,
0.021176154,
0.019793821,
0.008080762,
-0.010904249,
0.017367387,
-0.045528732,
0.008132231,
-0.0038271486,
0.035146534,
0.008801339,
-0.0052756565,
0.0022040112,
-0.0067462227,
0.047116943,
-0.004757282,
0.003715018,
0.02142615,
-0.002448493,
-0.032528926,
0.018499723,
-0.008963102,
0.051410995,
0.014514489,
-0.012242464,
-0.02064675,
0.07305773,
0.0032499514,
-0.020984981,
-0.017176215,
0.04108762,
0.013727736,
-0.020720279,
0.012499813,
-0.013786559,
-0.020558516,
-0.009235156,
-0.0051506585,
-0.010014556,
0.012852749,
-0.053058032,
-0.01088219,
-0.029014273,
0.013396858,
0.030823069,
-0.044558156,
0.008227819,
0.043411117,
0.05746973,
0.023514355,
-0.02095557,
-0.03041131,
0.05970499,
0.036087696,
0.00883075,
0.03923471,
-0.019323241,
0.038999416,
-0.007933705,
-0.012293934,
0.008441051,
-0.012786574,
-0.013146862,
-0.0104630785,
-0.03729356,
0.0038050902,
0.010235141,
-0.014043908,
0.031852465,
-0.0135953855,
-0.010036615,
-0.05082277,
0.030028963,
-0.068881325,
-0.023102596,
0.042911123,
-0.033852436,
-0.044469923,
0.05370508,
-0.004794046,
0.0030128227,
-0.009793972,
0.038940594,
0.019220302,
0.08170466,
0.023117302,
-0.016955629,
-0.006385934,
0.023337886,
-0.021661442,
-0.046881653,
-0.02973485,
-0.0028492222,
-0.03858766,
-0.04152879,
-0.005588152,
-0.007400625,
-0.021676147,
-0.014683604,
-0.04082292,
0.01654387,
-0.01464684,
-0.045175795,
-0.008249877,
0.06170496,
-0.01620564,
-0.01599976,
-0.015793882,
0.0040624393,
-0.022867305,
-0.005062424,
-0.041146442,
0.04949926,
-0.025337856,
-0.07870471,
0.010257199,
-0.047381643,
-0.03573476,
0.020426165,
-0.01976441,
-0.015926233,
0.01644093,
-0.004617578,
0.036440633,
0.042499363,
-0.03949941,
0.03285245,
0.026911363,
0.024896687,
0.003014661,
0.076763555,
0.026734894,
0.002360259,
0.013007158,
0.0215585,
0.017735029,
-0.022999655,
-0.00888222,
-0.013955674,
0.011573357,
-0.04767576,
-0.04770517,
0.0022003348,
0.015779177,
0.0051285997,
0.009411624,
-0.02892604,
0.03355832,
-0.08482226,
-0.01797032,
-0.025587853,
0.05749914,
-0.0044705216,
-0.026823128,
-0.007669003,
-0.057557963,
0.25858438,
0.06652842,
0.037675906,
0.025396679,
0.019132067,
0.047852226,
0.040322926,
-0.05811678,
-0.016823279,
0.0070109246,
0.009985145,
-0.046440482,
0.044999328,
0.015896821,
0.011249832,
0.04438169,
-0.0251908,
-0.008345463,
-0.019058539,
-0.056969736,
-0.0397347,
0.048940446,
0.000079272715,
0.05752855,
0.0055844756,
-0.001689313,
-0.028587809,
0.003431934,
-0.012176288,
-0.0366171,
0.012705692,
-0.0076395916,
0.032587748,
0.012110113,
-0.0070881294,
0.013264508,
-0.009646915,
-0.042940535,
-0.0034282575,
0.004227878,
-0.0005441095,
-0.02807311,
0.0034686981,
-0.011264537,
-0.033587735,
0.025440795,
0.0075219464,
0.015646825,
0.060940266,
-0.036028873,
0.027926054,
-0.05170511,
0.026543722,
-0.028264284,
-0.032175988,
-0.011911587,
-0.04614637,
-0.0220732,
-0.007349155,
0.0022536428,
-0.014404196,
0.04661695,
-0.025337856,
-0.034705363,
-0.036411222,
0.026529016,
-0.011051306,
0.075410634,
-0.008992513,
0.027617235,
-0.011146892,
-0.017602678,
-0.0034631835,
-0.018926188,
0.022940833,
0.051763933,
-0.0149188945,
-0.01010279,
-0.0032076726,
-0.04123468,
-0.0025514325,
-0.04176408,
-0.0139777325,
-0.03905824,
0.04576402,
0.053205088,
-0.039617054,
0.03979352,
-0.038234722,
0.03888177,
0.034293607,
0.029499559,
0.0117498245,
-0.017176215,
0.0050477185
] | Next, load a feature extractor to normalize and pad the input. When padding textual data, a 0 is added for shorter sequences. The same idea applies to audio data. The feature extractor adds a 0 - interpreted as silence - to array.
Load the feature extractor with [AutoFeatureExtractor.from_pretrained]:
from transformers import AutoFeatureExtractor
feature_extractor = AutoFeatureExtractor.from_pretrained("facebook/wav2vec2-base") |
[
0.0008575161,
0.06924586,
-0.0059180562,
-0.004912235,
-0.03527459,
-0.00038183152,
-0.038872883,
0.027483014,
0.023544727,
0.026434693,
0.020640593,
-0.03929788,
0.053719375,
-0.042981166,
0.0063572177,
0.055306025,
-0.017963124,
-0.042357843,
-0.035217926,
-0.062219277,
-0.005570977,
-0.022340573,
-0.046154466,
-0.02943799,
-0.043066166,
0.0021816413,
0.0012563916,
-0.007664078,
0.0630126,
0.05723267,
-0.0016486268,
-0.019974768,
-0.055221025,
-0.025499703,
0.026193863,
-0.023714725,
0.04431282,
-0.010568211,
-0.038957883,
-0.041762847,
0.009576555,
0.014959826,
-0.010908207,
-0.039071213,
-0.018487286,
0.009286142,
0.0012546208,
0.013621092,
-0.014421499,
-0.0315063,
0.014124003,
-0.014308168,
0.023587227,
-0.020938091,
0.0051282737,
-0.050092753,
-0.012409856,
-0.041564517,
-0.0046678623,
0.013408595,
0.015299822,
0.012431106,
-0.018048124,
-0.043434497,
-0.013111098,
0.027171351,
-0.0055284775,
-0.051084407,
-0.02668969,
-0.0009712908,
-0.06833921,
0.048789434,
-0.03348961,
-0.02786551,
-0.03127964,
-0.0014538373,
-0.013734424,
-0.019323109,
0.014633996,
0.06425925,
-0.0067680464,
0.033546276,
0.017056469,
0.014393167,
0.0114607,
0.0017982604,
0.0071824165,
-0.03782456,
-0.033716276,
-0.018572284,
-0.042357843,
0.050007753,
-0.0517644,
0.019393941,
0.030712977,
0.0088257305,
0.003906413,
0.009378225,
0.015455654,
-0.010993206,
0.028021341,
0.06595924,
-0.014039004,
0.033262946,
-0.012204442,
0.022538906,
-0.0151439905,
-0.018218122,
-0.034962926,
-0.053011052,
0.010412379,
0.035529587,
0.03462293,
0.0118998615,
-0.0104690455,
0.015923148,
0.004164952,
0.0052097314,
-0.030146318,
-0.012792352,
-0.009505723,
0.01603648,
0.0011333202,
-0.06346593,
0.0039418293,
-0.07621578,
-0.00092082267,
0.001664564,
-0.017637296,
0.023133898,
-0.023403062,
0.022538906,
0.046692792,
0.06833921,
-0.0025570537,
-0.0027943426,
-0.03317795,
-0.036946237,
-0.020272264,
-0.004540364,
0.009137394,
-0.0068034627,
-0.016673973,
0.07955908,
-0.029097995,
-0.020782258,
0.02207141,
-0.044057824,
0.0022772653,
0.020343097,
-0.024918878,
0.007982824,
-0.025853867,
-0.022935567,
-0.03535959,
-0.025301373,
-0.022864735,
0.0121336095,
0.02126392,
0.035897918,
0.012140692,
0.0074444967,
-0.08227905,
0.026463026,
-0.016858138,
0.039751206,
0.011326118,
-0.030542979,
0.06544924,
-0.019974768,
0.0036797489,
0.019280609,
0.00773491,
0.024975544,
0.04544614,
-0.02049893,
0.03357461,
-0.008832814,
0.011751113,
-0.03280962,
-0.02904133,
-0.014633996,
0.007394914,
0.0069451276,
-0.0136706745,
0.0057161837,
-0.009186977,
0.016008148,
-0.01782146,
-0.014230251,
0.03368794,
0.04337783,
-0.040657863,
-0.020753926,
-0.064655915,
0.029154662,
-0.035954583,
0.009038229,
0.0012076943,
-0.03127964,
-0.0018664367,
0.05026275,
-0.01231069,
0.022978067,
-0.016376477,
0.0401762,
0.043717828,
0.07666911,
-0.009385307,
0.035812918,
0.023332229,
0.041904513,
-0.051396072,
-0.00069770025,
0.016348144,
-0.03479293,
0.008259071,
0.009385307,
0.051226072,
0.01960644,
-0.004986609,
-0.020442262,
0.03822122,
-0.008443235,
0.018416453,
-0.015923148,
-0.004720987,
0.036634576,
0.03198796,
0.034282934,
-0.0044518234,
0.018968947,
-0.020640593,
0.021108089,
-0.0085707335,
0.0173398,
0.011042789,
0.0119423615,
0.03289462,
-0.00095800974,
-0.016631473,
0.0519344,
0.01235319,
0.041054524,
-0.05904598,
-0.02498971,
-0.00016059059,
-0.009441974,
-0.03921288,
-0.0034566266,
-0.02786551,
0.07496913,
-0.027270516,
0.033744607,
-0.03368794,
-0.06255928,
0.008011157,
0.020952256,
-0.019974768,
0.0035044386,
0.0054363953,
0.026675524,
0.0075294957,
0.0038037058,
0.02466388,
-0.005078691,
-0.0172973,
0.005999514,
-0.02357306,
-0.03017465,
-0.03839122,
-0.056354348,
-0.07213583,
0.017594796,
-0.024054721,
-0.051226072,
0.01579565,
-0.06255928,
0.0115032,
0.020895591,
0.02697302,
-0.030854642,
-0.011000289,
0.023927223,
0.049469426,
0.008485734,
-0.01960644,
0.02377139,
0.01923811,
0.03008965,
-0.006300552,
-0.027964676,
0.035784584,
-0.03997787,
0.00051752006,
-0.0012316003,
-0.011262369,
-0.0043561994,
-0.0061270124,
-0.0015724817,
-0.011545699,
0.00951989,
-0.028304672,
0.018685617,
-0.03754123,
-0.016858138,
0.027426349,
-0.014648164,
0.030882975,
0.053237714,
-0.05343605,
0.029636323,
0.029806321,
0.016716473,
-0.028290505,
0.053521045,
0.065279245,
-0.012119443,
-0.03365961,
-0.018359788,
-0.048591103,
-0.011361535,
-0.054512702,
-0.02154725,
-0.008662816,
0.077349104,
-0.022496406,
-0.034169603,
0.0012457668,
-0.054371037,
-0.014648164,
-0.032639623,
-0.020102266,
0.018473119,
0.03507626,
-0.0012926933,
-0.07224916,
0.026746357,
-0.010178632,
0.0200031,
0.009930718,
-0.03187463,
0.022128077,
0.049072765,
0.018232288,
-0.016829805,
0.032667954,
-0.04196118,
0.029494658,
0.0060207634,
0.0008132458,
0.016532307,
-0.005372646,
0.009094895,
0.009215309,
0.026576359,
-0.032639623,
0.0346796,
0.05403104,
0.0259247,
0.014244418,
0.001764615,
0.017693961,
-0.0011722781,
0.005854307,
-0.037286233,
-0.007564912,
0.019408109,
0.030514646,
-0.0460128,
-0.0026013239,
0.019053945,
-0.035954583,
0.01648981,
-0.0013590988,
-0.021235587,
0.046182796,
0.0047918195,
0.038532887,
-0.034821264,
0.011446534,
0.026873855,
0.04329283,
0.040261198,
0.03499126,
0.017155634,
-0.009264893,
0.007132834,
-0.032781288,
-0.023233064,
-0.0029076745,
-0.005652434,
-0.0024260136,
0.00078314194,
0.0057728495,
-0.026888022,
-0.010617794,
-0.00244018,
0.026378028,
0.0040162033,
0.03462293,
-0.0042605754,
-0.008329904,
0.021788081,
-0.044001155,
-0.0039772457,
0.01030613,
0.049299426,
0.02126392,
0.0030192358,
0.002629657,
0.017084802,
-0.032129627,
0.027284684,
0.012339024,
0.0200031,
-0.04394449,
-0.005354938,
-0.054342702,
-0.0030599644,
-0.009243643,
-0.035699587,
-0.060802627,
0.018416453,
0.022992233,
-0.027497182,
0.016716473,
-0.077462435,
0.011751113,
0.028049674,
-0.024451382,
-0.03771123,
-0.011708614,
0.0058578486,
-0.02923966,
0.033716276,
0.019875603,
0.0020098726,
0.02126392,
-0.032611288,
0.00518494,
-0.0016619078,
-0.018359788,
-0.022283908,
-0.016248979,
-0.00633951,
-0.009201143,
-0.0003388893,
-0.002686323,
-0.0020700803,
0.033631276,
-0.03093964,
0.021405585,
-0.0067007556,
-0.0151014915,
-0.030769642,
0.04434115,
0.0070230435,
0.003906413,
0.051736068,
-0.036634576,
0.027398016,
0.009201143,
-0.012020277,
-0.11287869,
-0.0021851829,
0.04714612,
-0.01919561,
0.027766345,
0.04932776,
0.00913031,
0.0121123595,
0.0025092417,
-0.04623946,
0.007805743,
-0.011552783,
-0.010058217,
0.028814666,
-0.019974768,
0.05876265,
-0.018983113,
-0.016390644,
0.022737237,
-0.00947739,
-0.02620803,
-0.059725974,
-0.022411406,
-0.00090842694,
-0.032554623,
0.023842223,
0.0012935788,
-0.0027323642,
0.0022205992,
-0.007727827,
-0.016631473,
-0.0025960116,
-0.012516105,
-0.0031803797,
0.051311072,
-0.015710652,
0.049922753,
-0.026052197,
-0.020881424,
0.03697457,
0.00054585305,
0.019875603,
0.021292252,
-0.027922176,
0.037654564,
-0.033631276,
-0.029919652,
0.0011342056,
-0.02158975,
0.023672225,
-0.028616335,
-0.0014352438,
0.0143365,
-0.005326605,
-0.03292295,
0.025641369,
-0.021603916,
-0.043689493,
-0.040261198,
0.050291084,
-0.018359788,
0.008259071,
0.071795836,
-0.027369682,
-0.010214048,
-0.021093922,
0.034056272,
-0.021646416,
-0.00014487462,
-0.040884525,
-0.037002902,
0.0058401404,
0.046522792,
-0.0026597609,
-0.03952454,
-0.0010288422,
-0.016475642,
-0.025811367,
-0.045672804,
-0.049101096,
-0.0036726657,
0.02503221,
0.010107799,
0.038561217,
0.0052274396,
-0.03779623,
0.0052238978,
-0.011219869,
0.050007753,
0.0032246502,
-0.026477193,
-0.014251501,
-0.005305355,
0.020073934,
0.0143365,
0.021108089,
-0.027426349,
0.02065476,
-0.041791182,
0.028262172,
-0.036832906,
-0.004409324,
0.014747329,
-0.0024437218,
0.0458428,
-0.023176398,
-0.016617307,
-0.003150276,
0.011970694,
0.014017754,
0.040119536,
-0.03292295,
-0.0021409127,
-0.08261904,
-0.060405966,
0.029834654,
-0.011744031,
-0.023445562,
-0.011191537,
0.031364635,
0.057317667,
-0.020994756,
0.03289462,
0.030429646,
0.017155634,
-0.014803994,
-0.036861237,
0.029211327,
0.00803949,
0.020782258,
-0.018742282,
-0.0060774293,
0.011673198,
0.026661357,
0.014173586,
-0.02211391,
0.0037328734,
-0.02620803,
0.02701552,
0.0075294957,
0.010546961,
-0.0064563835,
-0.037484564,
-0.049186096,
-0.00040772965,
0.06136929,
0.00703721,
0.023077233,
0.037937894,
0.052699387,
0.05703434,
-0.034169603,
-0.032696288,
-0.01673064,
0.061085958,
-0.03320628,
-0.04071453,
0.015398988,
0.030486314,
-0.026859688,
-0.03652124,
-0.018473119,
-0.010816124,
-0.01782146,
-0.012140692,
0.0021249754,
0.007749077,
-0.017155634,
0.0076853274,
0.0065484657,
-0.01644731,
0.011120704,
0.026052197,
0.014534831,
-0.03518959,
0.024026388,
0.058819316,
-0.028219672,
-0.0150589915,
-0.01648981,
-0.0035327715,
-0.059272647,
-0.0031715257,
0.060859293,
0.0041472437,
0.011694448,
0.02952299,
0.011226953,
0.05675101,
0.031052973,
0.053719375,
0.0037682897,
-0.015908983,
-0.060405966,
0.0287155,
0.030231316,
-0.015767317,
0.014747329,
-0.05023442,
0.016985636,
0.037371233,
0.054201037,
-0.013932755,
-0.06533591,
0.026491359,
-0.024196386,
-0.033432946,
0.016943136,
0.0047776527,
0.037937894,
0.024593048,
-0.019252276,
-0.022368908,
-0.0017956041,
0.008216571,
-0.011439451,
0.0060668048,
-0.05556102,
-0.00014232908,
-0.0152714895,
-0.046806123,
-0.024678048,
0.007579079,
0.0053797294,
0.0022223701,
-0.0430945,
0.0018522702,
0.01636231,
0.034197938,
-0.03527459,
0.00801824,
0.0016096688,
0.011892779,
-0.0005830401,
0.0076569943,
-0.03997787,
0.04762778,
0.010114883,
-0.020966424,
0.023417229,
0.018742282,
0.03190296,
-0.005574519,
0.007302832,
0.014166502,
-0.003291941,
-0.0099803,
-0.0016955532,
0.03439627,
-0.0040055783,
-0.03941121,
-0.017198134,
-0.0076144948,
0.026746357,
0.024196386,
0.010376963,
0.07020918,
0.0050645247,
0.020428097,
-0.00949864,
0.026293028,
0.015625652,
0.018770615,
0.028021341,
-0.0545977,
0.01680147,
-0.0077065774,
0.033886272,
0.035047926,
-0.057770997,
0.01575315,
-0.008917813,
-0.0052238978,
-0.033886272,
0.0005569206,
0.06369259,
0.05046108,
0.01030613,
-0.0050361915,
0.0009376454,
0.0049228594,
-0.022623904,
-0.0038462053,
-0.087152325,
-0.033347946,
0.04881777,
-0.071512505,
0.0021586209,
-0.024876378,
0.010178632,
-0.013146514,
0.056184348,
-0.012169026,
0.040062867,
0.023587227,
0.01376984,
0.0052097314,
0.0042889086,
0.0051141074,
0.001054519,
0.029097995,
-0.06187928,
0.0025641369,
0.023388896,
0.044737816,
0.022878902,
-0.035416257,
-0.048874434,
-0.018855615,
0.015370655,
-0.0033273571,
-0.014003588,
-0.0028031967,
-0.025103042,
0.035699587,
-0.050319415,
0.028120507,
0.00079243875,
0.007387831,
0.008712399,
0.009222393,
-0.010334464,
0.025825534,
0.0047174455,
0.004908693,
0.0062474273,
0.03779623,
0.014471082,
-0.01838812,
0.011007372,
-0.011666114,
0.044086155,
0.0010474358,
0.009031145,
-0.012891517,
0.06380592,
0.002089559,
-0.038731217,
-0.015299822,
0.047486115,
0.018529786,
-0.02065476,
0.02668969,
-0.009930718,
0.0011961841,
0.006590965,
-0.024012221,
-0.00044513805,
0.003793081,
-0.057799328,
0.008421985,
-0.01782146,
0.005978264,
0.029579656,
-0.0635226,
-0.0120911095,
0.02790801,
0.04961109,
0.026335528,
0.01498816,
-0.03782456,
0.083582364,
0.020583928,
0.00054850924,
0.013642342,
-0.023686392,
0.052869387,
-0.01903978,
-0.013366095,
-0.000226332,
-0.0064740917,
-0.028885499,
-0.009668638,
-0.034027938,
0.009909469,
0.04402949,
-0.005723267,
0.012799434,
-0.007246166,
0.0087407315,
-0.047656115,
-0.0038249556,
-0.07944574,
-0.025159707,
0.034452934,
-0.024111386,
-0.048251107,
0.03139297,
-0.035387922,
0.0119636115,
-0.007338248,
0.06578924,
-0.0025198667,
0.083809026,
0.017127302,
-0.011467784,
-0.023643892,
0.03629458,
-0.03340461,
-0.05374771,
-0.020484762,
-0.007727827,
-0.013040265,
-0.041904513,
-0.03972287,
0.0056418097,
-0.0153564885,
-0.012020277,
-0.04924276,
0.0054718116,
-0.022694737,
-0.06159595,
0.0090594785,
0.084262356,
-0.0019921644,
-0.024819711,
-0.019408109,
-0.020385597,
-0.042867836,
-0.014704829,
-0.047174454,
0.07100251,
-0.01668814,
-0.053804375,
-0.0024295552,
-0.017651461,
-0.02276557,
0.02943799,
-0.022468073,
-0.0060313884,
0.04130952,
0.00080217817,
0.020867258,
0.0287155,
-0.010886957,
0.018685617,
0.02211391,
0.040487863,
0.030656312,
0.08261904,
0.01875645,
-0.0118148625,
-0.0152714895,
0.027100518,
-0.004682029,
-0.025443038,
-0.028871331,
-0.008025324,
0.02219891,
-0.0601793,
-0.025825534,
0.010901123,
0.022836402,
-0.00026739272,
0.01644731,
-0.022822235,
0.034339603,
-0.08862564,
-0.015554819,
-0.014733163,
0.023516394,
0.011644864,
-0.017750628,
-0.011793613,
-0.05638268,
0.23731725,
0.0490161,
0.044992812,
0.04094119,
-0.012530271,
0.05686434,
0.05966931,
-0.053011052,
0.00919406,
-0.012728603,
-0.018501451,
-0.050036088,
0.026576359,
0.03017465,
0.0005215044,
0.053096052,
-0.021844747,
-0.017948959,
-0.013359012,
-0.03499126,
-0.036152914,
0.038561217,
0.0029271536,
0.03609625,
0.024224719,
0.02997632,
0.0020559137,
-0.009767803,
0.029211327,
-0.02814884,
0.009959051,
0.009052395,
0.026803022,
0.0052168146,
-0.010192798,
0.032186292,
0.008917813,
-0.05553269,
-0.024635548,
0.009647388,
0.030032985,
-0.032611288,
-0.01660314,
0.010971956,
-0.04099786,
0.017113134,
0.016900638,
0.024593048,
0.077632435,
-0.03139297,
0.014187752,
-0.051821064,
0.0153564885,
-0.037767895,
-0.015030659,
-0.02187308,
-0.07610245,
-0.04224451,
-0.0133944275,
-0.008209488,
-0.014803994,
0.024876378,
0.0001646856,
0.008181155,
-0.017438965,
0.011226953,
-0.0072815823,
0.0690192,
-0.030996308,
0.0012316003,
0.009364058,
-0.027553847,
-0.020683093,
-0.035416257,
-0.017835626,
0.07100251,
-0.032412957,
0.049781088,
-0.027143018,
-0.04102619,
-0.00200456,
-0.013266929,
0.01684397,
-0.033942938,
0.042216178,
0.045021143,
-0.042017847,
0.03969454,
-0.04099786,
0.0037753729,
0.03810789,
0.01376984,
0.0069947103,
0.0038178724,
0.017424798
] | from transformers import AutoFeatureExtractor
feature_extractor = AutoFeatureExtractor.from_pretrained("facebook/wav2vec2-base")
Pass the audio array to the feature extractor. We also recommend adding the sampling_rate argument in the feature extractor in order to better debug any silent errors that may occur. |
[
0.018265022,
0.07965656,
-0.013199874,
0.005498215,
-0.035116516,
-0.024431894,
-0.013788844,
0.00068770995,
0.01872234,
0.046840496,
0.033702984,
-0.009659121,
0.034007866,
-0.04102008,
-0.022380888,
0.02384985,
-0.0050755423,
-0.047089946,
-0.05188486,
-0.059589982,
0.012500038,
-0.004302951,
-0.038303886,
-0.016851492,
-0.051108804,
0.016269451,
-0.011654692,
0.006606866,
0.06607559,
0.029794991,
-0.0063262386,
-0.019595403,
-0.024043866,
-0.05238375,
0.042156447,
-0.016394174,
0.054961365,
-0.023655837,
-0.035698555,
-0.012908853,
0.0058966368,
0.015521112,
0.01560426,
-0.006198051,
-0.010892495,
-0.016588189,
-0.014675765,
0.015493396,
-0.02318466,
-0.016338741,
0.02013587,
-0.007053791,
0.054351605,
-0.012028862,
-0.00017950615,
-0.0036377606,
-0.0038109873,
-0.015146942,
-0.023378674,
-0.020219019,
-0.010587616,
0.0007847169,
-0.010358957,
-0.04681278,
-0.005293808,
0.035753988,
-0.0020302169,
-0.056264028,
-0.030571047,
-0.008335669,
-0.0744459,
0.057095516,
-0.022685768,
-0.024653623,
-0.03367527,
0.00018275416,
0.0020613975,
-0.010074864,
-0.0042925575,
0.056818355,
-0.00635742,
0.03386928,
0.0016456536,
0.01538253,
0.022824349,
0.007781343,
0.024792204,
-0.05493365,
-0.0151608,
-0.009035504,
-0.045814995,
0.0631931,
-0.04994472,
0.029600978,
0.02475063,
0.008439604,
0.0027802885,
0.024279453,
0.044346035,
-0.006797415,
0.038996793,
0.0703439,
-0.028991219,
0.03076506,
0.041075513,
0.051469114,
0.0020267523,
0.01924895,
-0.05886936,
-0.031457968,
0.017572116,
0.010248091,
0.03580942,
-0.010532183,
-0.021050507,
0.049612124,
0.018389747,
0.0079476405,
-0.027134228,
-0.0010740055,
0.0070433975,
0.0095898295,
0.029767275,
-0.050554477,
-0.011197373,
-0.07172971,
0.013809632,
-0.010130297,
-0.020482324,
0.00076869346,
-0.008044648,
0.028215164,
0.036363747,
0.029711843,
0.025221806,
-0.009894709,
-0.032538902,
-0.042987935,
-0.0020804526,
-0.008522754,
0.004988929,
-0.00301068,
-0.032067724,
0.07500023,
-0.023891425,
-0.015812133,
0.004898851,
-0.012375315,
0.00029881604,
0.011516111,
-0.040964648,
0.0071369396,
-0.023974575,
-0.017197946,
-0.02608101,
-0.023059938,
-0.014086795,
0.0057545905,
-0.008557399,
0.04636932,
0.0048642056,
-0.0036412252,
-0.019082652,
0.017779987,
0.028963502,
0.03256662,
0.019276666,
-0.043292817,
0.034035582,
-0.03716752,
0.03398015,
-0.0014187266,
0.03447904,
0.012617832,
0.028201306,
-0.005730339,
0.031402536,
-0.022990646,
0.003121545,
-0.008792987,
-0.008169371,
0.008855348,
0.025000077,
-0.02660762,
-0.009181014,
0.03982828,
-0.0030453252,
0.020080438,
-0.052411467,
-0.022921355,
0.05498908,
0.048780635,
-0.02594243,
-0.02289364,
-0.05997801,
-0.008418817,
-0.00460783,
0.0052349106,
-0.022089867,
-0.037361532,
-0.019817134,
0.019318242,
0.018500611,
0.016505038,
-0.015881423,
0.031263955,
0.041297242,
0.0700113,
-0.0019436035,
0.02667691,
0.021355387,
0.03963427,
-0.047311675,
0.029046651,
0.0054393183,
-0.013033576,
-0.000087912544,
0.009846205,
0.036918074,
0.02645518,
-0.0071230815,
-0.019553829,
0.02749454,
0.001687228,
0.025679125,
-0.04035489,
0.003497447,
0.04578728,
0.04880835,
0.04246133,
-0.0075388257,
0.03240032,
-0.015008361,
0.029462395,
0.016269451,
0.02459819,
0.04318195,
0.02391914,
0.030959075,
-0.0014654978,
-0.017946286,
0.021452393,
-0.011335955,
0.003128474,
-0.046258457,
-0.013234519,
0.025277238,
-0.004912709,
-0.053326104,
0.026261166,
-0.024764488,
0.084867224,
-0.02044075,
0.055016797,
-0.031125372,
-0.06873635,
0.0396897,
0.017156372,
-0.033896998,
-0.019706268,
0.021771131,
0.020967359,
0.006818203,
0.021868138,
0.03046018,
0.0002985995,
-0.01723952,
0.003518234,
-0.011834848,
-0.0008410156,
-0.033204094,
-0.07089822,
-0.07261663,
0.0064405682,
-0.024584332,
-0.050443612,
0.017793845,
-0.056541193,
0.011564614,
0.00093109347,
0.012382244,
-0.04473406,
-0.00014063843,
0.027397534,
0.039939146,
-0.0042994865,
-0.024986219,
0.016879208,
0.017142514,
0.03722295,
0.015881423,
-0.024431894,
0.029989004,
-0.019512255,
-0.0070052873,
0.006929068,
-0.0015988824,
0.02066248,
0.0040777563,
-0.0071161524,
-0.008938497,
0.0072893794,
-0.0362806,
0.0143570285,
-0.030016722,
-0.0041297246,
0.012548542,
0.00620498,
0.0021289561,
0.051773995,
-0.06829289,
0.033702984,
0.056264028,
-0.01606158,
-0.0040084654,
0.0408815,
0.04052119,
-0.016227877,
-0.017669123,
-0.018750057,
-0.025914714,
-0.008654405,
-0.043902572,
-0.028547758,
-0.008141655,
0.08248362,
-0.02401615,
-0.043320533,
0.0067142667,
-0.081652135,
-0.006444033,
-0.0012186498,
-0.015590402,
0.01121816,
0.02935153,
0.00028993818,
-0.056513477,
-0.0023454893,
0.006703873,
0.036502328,
0.00034104005,
-0.054268457,
-0.0073863864,
0.05609773,
0.033065513,
-0.003518234,
0.0395234,
-0.041214094,
-0.0083218105,
0.034395892,
0.017017791,
0.0038248454,
0.020537756,
0.019969573,
0.04711766,
0.0121535845,
-0.047228526,
0.021798847,
0.06773856,
0.050138734,
0.0350888,
-0.013580972,
0.031845994,
-0.00423366,
0.010234233,
-0.03256662,
0.008702909,
0.003109419,
0.029490111,
-0.03544911,
0.011003359,
0.019415248,
-0.04459548,
0.0072616627,
-0.0068909577,
-0.001564237,
0.07710666,
0.0075249677,
0.035282813,
-0.058315035,
-0.0032531973,
0.026801635,
0.00594514,
0.023628121,
0.035615407,
0.042433612,
-0.0045870426,
-0.026954073,
-0.0062846644,
-0.016172444,
0.0033242202,
-0.02408544,
-0.03500565,
-0.03159655,
-0.009617546,
-0.011536898,
0.0043133446,
-0.0020631298,
0.05892479,
0.0085088955,
0.032511186,
-0.029074367,
0.023018362,
0.025249522,
-0.029185234,
-0.052605484,
0.007753627,
0.059035655,
0.0041609053,
0.031180805,
-0.014176873,
-0.000095058145,
-0.04645247,
0.034867067,
0.014495609,
0.025110941,
-0.016435748,
-0.017585974,
-0.031485684,
-0.007559613,
0.024847636,
-0.03500565,
-0.029684126,
0.024625907,
0.015105368,
-0.03381385,
-0.0021514755,
-0.057649843,
-0.0015391192,
-0.011703195,
-0.044041153,
-0.051773995,
-0.020731771,
-0.010982572,
-0.04481721,
0.0029777668,
0.046424754,
-0.0028391855,
0.01099643,
-0.027175803,
-0.006419781,
0.0037001222,
-0.016699053,
-0.017558258,
-0.0065964726,
-0.012015004,
-0.01582599,
0.0057476615,
0.0063886005,
-0.013497824,
0.006994894,
-0.0303216,
0.06374742,
-0.016615905,
-0.010199588,
0.0015477805,
0.010746984,
0.0034939824,
0.030404748,
0.060698632,
-0.051441398,
0.021272238,
-0.0030020187,
-0.017863136,
-0.09728411,
0.0021965145,
0.0014005378,
0.0035996507,
0.04844804,
0.03159655,
0.0350888,
0.02326781,
0.024362601,
-0.04783828,
-0.0023056474,
0.0036135088,
0.0022536793,
-0.015770558,
-0.008377243,
0.0362806,
-0.029102085,
0.018251164,
0.016602047,
-0.04398572,
-0.032816064,
-0.0548505,
-0.014128369,
-0.006000573,
-0.022491753,
0.0245289,
0.007164656,
-0.016823776,
0.021050507,
-0.053298388,
-0.0069914293,
0.0045212167,
0.0073863864,
-0.0066934796,
0.07294922,
-0.027009506,
0.030848209,
-0.02020516,
-0.026247308,
0.07089822,
-0.03018302,
-0.0069879647,
0.005834275,
-0.017876994,
0.028353745,
-0.045066655,
-0.015812133,
-0.00042981873,
-0.014800489,
0.021452393,
-0.02364198,
0.0012073901,
0.0065375753,
-0.0072339466,
-0.026870925,
0.04185157,
-0.014648049,
-0.037943576,
-0.020620905,
0.047145378,
0.021008933,
0.022768917,
0.027411392,
-0.019595403,
-0.03137482,
-0.031762846,
0.06596472,
-0.009014717,
-0.016906925,
-0.050277315,
-0.07039933,
-0.020163586,
0.02965641,
-0.020523898,
-0.060532335,
0.013497824,
-0.022755058,
0.010899424,
-0.057760708,
-0.023059938,
-0.017724555,
0.018542185,
0.00520373,
0.034312744,
-0.013262236,
-0.03234489,
0.01710094,
-0.00765662,
0.03572627,
0.021881996,
-0.032234024,
-0.011204302,
-0.008786058,
0.03680721,
0.018971788,
-0.016782202,
-0.034285028,
0.015798274,
-0.047893714,
0.023669695,
-0.016643621,
-0.007691265,
0.015895281,
-0.0052522332,
0.0480323,
-0.01686535,
-0.024445752,
-0.004517752,
0.033702984,
0.03456219,
0.03916309,
-0.025235664,
-0.029490111,
-0.056679774,
-0.05870306,
0.022048293,
-0.010539112,
-0.0036758704,
-0.009375028,
0.022699626,
0.046009008,
-0.021466251,
0.023420248,
0.040548906,
0.0076289037,
0.0052868784,
-0.05643033,
0.009742269,
0.04221188,
-0.016809918,
0.0071300105,
-0.0103173815,
-0.02497236,
-0.02533267,
0.005744197,
-0.04927953,
-0.0021913177,
-0.019664694,
0.034007866,
0.009437391,
0.013580972,
0.007836776,
-0.047505688,
-0.053547837,
0.019429106,
0.01872234,
0.00028669016,
0.03483935,
0.04598129,
0.04226731,
0.055044513,
-0.039495684,
-0.019138085,
0.008370314,
0.070565626,
-0.018777773,
-0.038082156,
0.015119226,
0.018168015,
-0.06723967,
-0.05521081,
-0.041657556,
-0.03284378,
-0.01278413,
-0.02698179,
0.0009501484,
0.019803276,
-0.033010077,
0.02497236,
-0.0039149234,
-0.018126441,
0.030737344,
0.003946104,
0.018569902,
-0.04459548,
0.057871573,
0.04132496,
-0.034174163,
-0.01493907,
-0.026690768,
-0.014703481,
-0.05753898,
0.0058758496,
0.040853783,
-0.0125277545,
0.0014490413,
0.024279453,
0.0020388782,
0.061363824,
0.031679697,
0.03647461,
0.034174163,
0.008148584,
-0.059257388,
0.016712911,
0.024196304,
0.0011978626,
0.01606158,
-0.032372605,
0.014966786,
0.007822918,
0.07211774,
0.017863136,
-0.07261663,
0.041934717,
-0.003518234,
-0.05077621,
0.014731198,
-0.020038864,
0.023350958,
0.018403605,
-0.029794991,
-0.052688632,
0.0087722,
-0.0132553065,
0.013428533,
0.0051101875,
-0.07233947,
-0.010123368,
-0.024584332,
-0.069068946,
-0.041574407,
0.0019418712,
-0.0052418397,
-0.0074348897,
-0.020288311,
-0.021507826,
-0.015479538,
0.036530044,
0.00012916216,
0.00505129,
0.0072339466,
0.01703165,
0.0016014808,
0.0065514334,
-0.02660762,
0.06679621,
0.024570474,
-0.02876949,
0.010830133,
-0.0062396256,
0.01010258,
-0.0027144623,
0.0039876783,
0.032788347,
-0.024113156,
-0.010497537,
0.0034350853,
0.0362806,
-0.035282813,
-0.024515042,
-0.035144232,
-0.01703165,
0.014980644,
0.0134423915,
-0.0070191454,
0.0386642,
0.015784416,
0.039190806,
0.011100367,
-0.008744484,
0.01872234,
0.023905283,
0.007608116,
-0.04584271,
0.0033709914,
-0.034673054,
0.03314866,
0.031153088,
-0.016740628,
0.016186303,
-0.016851492,
-0.01776613,
-0.030432465,
-0.007899137,
0.024639765,
0.03888593,
0.018736199,
-0.018362029,
0.006308916,
0.0010540844,
-0.0021289561,
0.01739196,
-0.06213988,
-0.06496694,
0.043958005,
-0.05188486,
-0.0073032374,
-0.027522257,
0.022644194,
0.0005898369,
0.052272886,
-0.027660837,
0.05886936,
0.043126516,
0.02326781,
0.0103173815,
0.0014897495,
0.008453462,
-0.0058758496,
0.020634763,
-0.06585386,
0.0002808438,
0.0014204589,
0.052827213,
0.036585476,
-0.03536596,
-0.05493365,
-0.01107958,
0.01843132,
-0.016532756,
-0.007809059,
-0.0017721091,
0.012500038,
-0.008404959,
-0.043680843,
-0.012160514,
0.0063435617,
0.0004127126,
-0.0041505117,
-0.011349813,
-0.004846883,
0.031263955,
-0.012105081,
-0.011536898,
-0.0041366536,
0.04431832,
0.047976866,
-0.026399748,
-0.0019574617,
0.008287165,
0.021979002,
0.024833778,
0.018833205,
-0.01999729,
0.03500565,
-0.0070122164,
-0.015853707,
-0.005827346,
0.044928074,
0.022491753,
-0.032594334,
0.01843132,
-0.035199665,
-0.011044933,
0.004302951,
-0.024237879,
0.005650655,
0.016685195,
-0.043320533,
-0.0013364439,
-0.030044438,
0.0021237594,
0.0052418397,
-0.0882486,
-0.0007574337,
0.032538902,
0.055848286,
0.032040007,
0.020981217,
-0.034534473,
0.049695272,
0.022353172,
0.0175444,
0.013352313,
-0.02645518,
0.054739635,
-0.026898641,
0.00735867,
-0.027965717,
-0.0004334998,
-0.0029379248,
-0.02965641,
-0.027536115,
-0.007462606,
0.03805444,
-0.005359634,
0.0043202736,
-0.015299382,
0.026579903,
-0.020925784,
0.015188516,
-0.06396915,
-0.023683554,
0.023738986,
-0.01099643,
-0.046701916,
0.038470183,
-0.035033368,
0.0017738413,
0.008127796,
0.07217317,
-0.010525254,
0.08675193,
0.035698555,
-0.023420248,
-0.008792987,
0.04102008,
-0.009839276,
-0.046258457,
-0.011176586,
0.0019955714,
0.027674695,
-0.023059938,
-0.022103727,
-0.0056541194,
0.0029985541,
-0.014814347,
-0.04334825,
0.009575971,
-0.036890358,
-0.048254028,
-0.0032913073,
0.06629732,
0.0048919218,
0.0020527362,
-0.0114191035,
-0.031568833,
-0.062472474,
-0.0092364475,
-0.015576544,
0.05121967,
-0.029794991,
-0.0512751,
-0.03791586,
-0.025291096,
-0.016962357,
0.04584271,
-0.01568741,
-0.008633618,
0.03999458,
-0.004029253,
0.025845423,
0.02563755,
-0.001694157,
0.010746984,
0.03716752,
0.038303886,
0.015881423,
0.04853119,
0.016297167,
-0.016629763,
-0.014842063,
0.016879208,
-0.0014421123,
-0.04074292,
-0.013574043,
-0.002400922,
0.025401963,
-0.061363824,
-0.046258457,
-0.013809632,
0.026690768,
-0.021757273,
0.009984787,
-0.026773918,
0.02074563,
-0.075221956,
0.009472036,
-0.017197946,
0.016033862,
-0.023059938,
0.003199497,
-0.022491753,
-0.07500023,
0.2238366,
0.038525615,
0.07588715,
0.018736199,
-0.010843991,
0.057040084,
0.034395892,
-0.049750704,
0.0042579123,
-0.040632054,
-0.009472036,
-0.038220737,
-0.004102008,
0.03187371,
0.003464534,
0.022699626,
-0.041685272,
-0.016615905,
0.0047048368,
-0.03425731,
-0.0362806,
0.061973583,
-0.0064544263,
0.038359318,
0.0007253868,
0.03483935,
0.008592044,
-0.017876994,
0.022644194,
-0.017350385,
0.0074418187,
-0.012222876,
0.01820959,
-0.0015754967,
-0.0048953863,
0.015049935,
-0.0048122373,
-0.030571047,
-0.008792987,
-0.009257235,
0.02921295,
-0.014620333,
-0.030654196,
0.010767771,
-0.042350464,
0.0013684909,
0.02408544,
0.058093302,
0.082372755,
-0.048337176,
0.01374727,
-0.026593762,
0.0097769145,
-0.052550048,
-0.057927005,
0.0047810567,
-0.050332747,
-0.03517195,
-0.025318813,
0.009451249,
-0.014814347,
0.027023364,
-0.008155513,
0.00081936223,
-0.019290524,
0.029767275,
-0.014661907,
0.044346035,
-0.025138658,
0.016144728,
-0.003024538,
-0.039467968,
-0.0033796527,
-0.030986791,
-0.008987001,
0.056014583,
-0.026801635,
0.04783828,
-0.010497537,
-0.010296594,
-0.023281667,
0.019817134,
0.019720126,
-0.0024355673,
0.014689623,
0.06175185,
-0.033037797,
0.035615407,
-0.018944072,
-0.017045507,
0.025152516,
0.029323814,
0.016214019,
-0.020011147,
0.029157517
] | Pass the audio array to the feature extractor. We also recommend adding the sampling_rate argument in the feature extractor in order to better debug any silent errors that may occur.
audio_input = [dataset[0]["audio"]["array"]]
feature_extractor(audio_input, sampling_rate=16000)
{'input_values': [array([ 3.8106556e-04, 2.7506407e-03, 2.8015103e-03, ,
5.6335266e-04, 4.6588284e-06, -1.7142107e-04], dtype=float32)]} |
[
0.017320957,
0.042829487,
0.027357794,
0.016516317,
-0.004160841,
-0.013368335,
-0.036872324,
-0.009232197,
-0.007587624,
0.05423563,
0.031169252,
-0.012429587,
0.0008818407,
-0.062451437,
-0.039610926,
0.04678211,
-0.010276819,
-0.07837486,
-0.029475272,
-0.026016727,
-0.011293207,
-0.0053713317,
-0.061491515,
-0.007855837,
-0.011815518,
0.015754024,
0.0049654823,
0.0027791876,
0.104236305,
0.03946976,
-0.000029391013,
-0.04209543,
-0.004870196,
-0.025480298,
0.005523084,
-0.048476093,
0.036053564,
-0.0034391345,
-0.011900217,
-0.010121537,
0.016911577,
-0.02296756,
0.049040753,
-0.036307663,
-0.03170568,
-0.016615132,
-0.0023680443,
0.037013486,
-0.01091912,
-0.022501716,
-0.031225719,
-0.021217113,
0.035743,
0.009154556,
-0.006705342,
0.0005955402,
0.0072347107,
-0.006825332,
-0.018633792,
-0.018789073,
-0.024167463,
0.02305226,
-0.014067101,
-0.04302712,
-0.0011857868,
0.037352283,
0.01023447,
-0.051497027,
-0.0065924097,
-0.03385139,
-0.054207396,
0.014377665,
-0.021245345,
-0.018676141,
-0.030294029,
-0.012055499,
0.0067124,
-0.0060559823,
0.024054531,
0.052033454,
0.021315929,
0.044495236,
0.017927967,
0.005025477,
-0.03218564,
-0.025875561,
0.06668639,
-0.046471547,
0.023518104,
-0.015217597,
-0.061322115,
0.041022576,
-0.020807734,
-0.010375634,
-0.00035357443,
0.0065924097,
-0.010940295,
0.04808083,
0.041107275,
-0.0013437152,
0.034133717,
0.07154247,
-0.013234227,
0.031762145,
-0.023673385,
0.019367851,
0.016389268,
-0.006910031,
-0.021640608,
-0.003252091,
-0.008222867,
-0.023729851,
0.054376792,
-0.010982644,
-0.029475272,
0.04305535,
0.020497171,
0.020920666,
-0.03376669,
-0.0067229876,
0.017137442,
0.018902006,
0.036900554,
-0.03218564,
0.003065047,
-0.062169105,
-0.014737636,
-0.011554363,
-0.012726033,
-0.00028806503,
0.01087677,
0.03077399,
0.047685567,
0.030519893,
0.039808556,
-0.004887841,
-0.0076017403,
-0.0047854967,
0.0064159534,
-0.00093698327,
0.007404109,
0.0030474013,
-0.049266618,
0.078826584,
-0.008201692,
0.006539473,
0.038961567,
-0.0129660135,
-0.003271501,
0.00009346673,
-0.07837486,
0.040740244,
-0.011970799,
-0.021400629,
-0.036702923,
0.0045984527,
0.011279091,
-0.033823155,
-0.00695591,
0.03704172,
0.03537597,
-0.008709886,
-0.034528982,
0.047092676,
-0.01856321,
0.04966188,
0.0000075476455,
-0.0016966279,
0.057482425,
-0.03314556,
-0.0020557167,
-0.0010825598,
0.0098886145,
0.022275852,
0.031282183,
0.049633645,
0.03486778,
0.009683926,
0.03870747,
-0.007771138,
-0.025847329,
-0.005875997,
0.016445734,
-0.035291273,
-0.0142365,
0.0013657722,
0.008526372,
0.026242591,
-0.06646053,
-0.0014019458,
0.025028571,
0.043450616,
-0.0006881798,
-0.017165676,
-0.03478308,
-0.015090548,
0.0067300457,
0.009613343,
-0.0047572637,
-0.014878801,
-0.022459365,
0.03695702,
-0.036364127,
-0.0027068406,
-0.032467972,
0.013643607,
0.033032633,
0.06397602,
-0.020426588,
0.029927,
0.002745661,
0.042123664,
-0.029503504,
0.024689775,
-0.009105149,
-0.048391394,
0.0092533715,
0.033794925,
0.019226685,
0.03263737,
-0.0062536136,
0.0042596566,
0.011469664,
0.0074111675,
0.0053995647,
-0.025692048,
0.014250616,
0.04582219,
0.05144056,
0.050650034,
-0.0072276527,
0.034585446,
0.0015660502,
0.04452347,
-0.0067229876,
0.062507905,
0.055139083,
0.04105081,
-0.009895673,
-0.0063594873,
0.017335074,
-0.003177979,
0.00084478484,
0.034754846,
-0.020977132,
-0.0047255014,
0.013410684,
-0.0013754774,
-0.02459096,
-0.014596471,
-0.04658448,
0.07662441,
0.0016913343,
0.036985256,
-0.035347737,
-0.04218013,
0.007517041,
0.005512497,
-0.0037302875,
-0.055054385,
0.0010534445,
0.026454339,
-0.019438433,
-0.01771622,
0.029672902,
0.016925694,
0.017137442,
0.03817104,
-0.010093304,
0.0083146235,
-0.04229306,
-0.08340034,
-0.062903166,
0.0145117715,
-0.018887889,
-0.050565336,
0.0048948997,
-0.051299393,
-0.0042314236,
-0.007340585,
0.0043125935,
0.017448006,
-0.029390572,
0.013968286,
0.0040832004,
-0.030237563,
-0.052541647,
0.048701957,
0.024012182,
0.07933478,
0.019974861,
-0.03622296,
-0.017702103,
-0.035601836,
-0.00030063753,
0.017165676,
0.010015664,
0.030802224,
-0.005152526,
0.02450626,
-0.01002978,
0.0012528402,
-0.03537597,
-0.001534288,
-0.020228958,
0.0005717186,
0.05033947,
-0.021104181,
0.034754846,
0.03921566,
-0.05225932,
0.0253109,
0.02810597,
0.030294029,
-0.011907276,
0.008519313,
0.03946976,
-0.008067585,
-0.02734368,
-0.014525888,
-0.031959776,
-0.02107595,
-0.007968769,
-0.004721972,
-0.0045808074,
0.096218124,
-0.017532704,
-0.039639156,
-0.0035891226,
-0.04791143,
0.0033367898,
-0.019029055,
-0.03359729,
0.012789558,
0.03930036,
-0.00009054417,
-0.033738457,
-0.021217113,
0.004912545,
0.05304984,
0.0068218033,
-0.030237563,
-0.028218903,
0.03825574,
0.02871298,
0.0076934975,
0.024195697,
-0.05911994,
-0.00038004288,
0.000119438904,
0.049040753,
0.010488566,
0.028600048,
0.02749896,
0.02305226,
0.019198453,
-0.074309304,
0.010573265,
0.017066859,
0.026030842,
0.03619473,
0.014949383,
0.02179589,
0.024421562,
0.0052548707,
-0.02511327,
0.033286728,
0.005794827,
0.037719313,
-0.018055016,
0.0048631374,
0.01148378,
-0.010297993,
0.024393328,
-0.0058089434,
-0.022840511,
0.09187024,
0.00009214331,
0.04695151,
-0.054969687,
-0.011173217,
0.0016145757,
0.00849108,
0.0063489,
0.031875078,
0.051214695,
-0.016276335,
-0.027654242,
0.0037232293,
-0.014222383,
-0.011879043,
0.0077499636,
-0.03159275,
-0.042518925,
-0.040627312,
-0.014081218,
-0.00950041,
0.03910273,
0.04556809,
0.016558666,
0.02329224,
-0.057200097,
0.046725646,
0.014405898,
0.0022215857,
-0.030604592,
-0.021132415,
0.044862267,
-0.011836693,
0.025480298,
-0.015655208,
-0.020440705,
-0.03622296,
0.056183707,
-0.0036667632,
0.015951656,
-0.042123664,
-0.005738361,
-0.024322744,
-0.004270244,
-0.004418467,
-0.008575779,
-0.058950543,
0.01621987,
0.021725308,
-0.0688321,
0.006853565,
-0.055788442,
0.018958472,
0.018944355,
-0.011935509,
-0.016318684,
-0.005385448,
-0.025452066,
-0.031479817,
0.047431473,
0.019833695,
-0.0057842396,
0.025960261,
-0.026087308,
-0.006257143,
-0.021330046,
-0.035771236,
0.007848779,
-0.0022586414,
0.022092337,
0.0142082665,
0.031959776,
0.0069488515,
-0.017236257,
0.006320667,
-0.006680638,
0.0138765285,
-0.031959776,
-0.024746241,
0.00091316167,
0.0051419386,
-0.011497897,
0.031084552,
0.034670148,
-0.028120086,
-0.009302779,
0.016601015,
-0.0012448997,
-0.0982509,
-0.0059501086,
0.027033115,
-0.027964804,
0.027950687,
0.004273773,
0.032298572,
0.013664781,
0.022205269,
-0.033681992,
-0.004556103,
-0.011095576,
0.008865167,
-0.03517834,
-0.030548126,
0.036702923,
-0.0358277,
0.030745758,
0.017942084,
-0.03946976,
-0.035291273,
-0.03788871,
-0.028317718,
-0.011970799,
-0.02029954,
0.03235504,
0.0104956245,
-0.0023345177,
0.016939811,
-0.048024364,
0.005385448,
-0.013361276,
-0.015570509,
-0.011448489,
0.03376669,
0.028769447,
0.03365376,
-0.045878656,
-0.0067759245,
0.051948752,
0.0003560007,
-0.0062536136,
-0.01823853,
-0.01026976,
0.03424665,
-0.032016244,
-0.049464248,
0.029108241,
0.0031850373,
0.016078703,
-0.018182063,
0.010001547,
-0.01674218,
-0.016939811,
-0.0421519,
0.019748997,
-0.022289967,
-0.06527474,
-0.011046168,
0.054292094,
-0.025155619,
0.004566691,
0.034528982,
-0.00039680625,
-0.033230264,
-0.031310417,
0.063750155,
-0.016840996,
-0.011370848,
-0.034726612,
-0.041191973,
0.0011910804,
0.026680203,
-0.013650664,
-0.04023205,
-0.017038627,
-0.05872468,
0.018619675,
-0.04059908,
-0.02543795,
0.00044841974,
0.036505293,
0.015175248,
0.014483538,
-0.018153831,
-0.008836934,
0.017885618,
-0.014215325,
0.03946976,
0.03255267,
-0.043789413,
0.0026856659,
-0.0066418177,
0.016812762,
0.0164175,
-0.025381483,
0.007940536,
0.04234953,
-0.0596846,
0.013368335,
-0.023038143,
0.017335074,
-0.0069523808,
-0.026976649,
0.053896833,
-0.034952477,
-0.03421842,
0.022177037,
0.042885955,
-0.0065465313,
0.04844786,
0.011935509,
0.019904278,
-0.062056173,
-0.022515832,
-0.015697557,
-0.0061689145,
0.002200411,
-0.004979599,
0.01290249,
0.07662441,
-0.052795745,
0.03537597,
0.043224752,
0.010086246,
0.0027721296,
-0.040824946,
0.0047749095,
-0.0149635,
-0.021259462,
0.0019427845,
-0.0095992265,
-0.064484216,
0.0083146235,
-0.04209543,
-0.044382304,
-0.014109451,
0.0012731326,
0.03396432,
-0.036307663,
0.042885955,
-0.009683926,
-0.028938843,
-0.04153077,
0.02450626,
-0.015161131,
0.003206212,
0.030237563,
-0.008985158,
0.021640608,
0.035404205,
-0.07538216,
-0.021485327,
-0.026793135,
0.07323645,
-0.0089498665,
-0.030209329,
0.044015277,
-0.0015731085,
-0.041022576,
-0.04731854,
-0.007100604,
-0.02029954,
-0.041982498,
-0.042067196,
-0.00077155547,
-0.0149635,
-0.008215808,
-0.009655693,
0.0024280397,
-0.04424114,
0.028882379,
-0.014045927,
0.014582354,
-0.06053159,
0.074704565,
0.051751122,
-0.027004883,
-0.00012043147,
-0.045144595,
-0.016558666,
-0.03946976,
0.023941599,
0.02543795,
0.009302779,
0.02212057,
0.042575393,
0.023560453,
0.043224752,
0.0020045443,
0.05782122,
0.013502441,
-0.01900082,
-0.054009765,
0.00008298963,
0.023602804,
-0.028995309,
0.026539037,
-0.023278123,
0.0040832004,
-0.020878317,
0.054489724,
-0.0015439932,
-0.08023824,
0.03554537,
-0.016121054,
-0.024209814,
-0.00808876,
-0.0053395694,
0.022840511,
0.013248344,
-0.021979405,
-0.064992405,
-0.015838724,
0.0037338168,
-0.031084552,
0.0041184914,
-0.043281216,
0.01225313,
-0.021160647,
-0.02936234,
-0.019720763,
-0.018704375,
-0.019480783,
0.013114237,
0.026073193,
0.00070361973,
-0.040994342,
0.030322261,
-0.004513754,
0.009810974,
0.003959681,
0.008060527,
0.007700556,
0.006906502,
-0.0194102,
0.049718346,
0.051497027,
-0.0083569735,
0.009768625,
0.035404205,
0.021485327,
-0.032129176,
0.015979888,
0.040288515,
-0.0076087983,
0.024266278,
-0.017151559,
0.015739908,
-0.04601982,
0.0011354967,
-0.002839183,
-0.01091912,
-0.004566691,
0.023151075,
0.017546821,
0.071034275,
-0.0020645396,
0.0596846,
-0.020878317,
-0.009211022,
0.006461832,
0.031366885,
0.0046160985,
-0.0032626782,
-0.0097051,
-0.060023397,
0.008914576,
0.0067194584,
-0.038679235,
0.005466618,
-0.007495866,
-0.0072770603,
-0.03639236,
0.0023098139,
0.035517137,
0.04432584,
0.015217597,
0.0020698332,
0.008222867,
0.0071676574,
-0.039046265,
-0.0027791876,
-0.06307256,
-0.06109625,
0.028360067,
-0.013664781,
0.015994005,
-0.033060864,
-0.034528982,
0.021541793,
0.024266278,
0.00078787765,
0.022247618,
0.060475126,
0.034528982,
0.02268523,
-0.0089216335,
0.00055363186,
0.00030328438,
0.009945081,
-0.059515204,
-0.007968769,
0.0020468938,
0.043168284,
0.015514043,
-0.009013391,
-0.054856755,
0.0194102,
0.011497897,
0.010093304,
-0.014448247,
0.027287213,
-0.02296756,
-0.008152284,
0.003211506,
-0.0024280397,
-0.008611071,
0.03012463,
0.023729851,
-0.014045927,
-0.026397873,
0.04424114,
0.0025550881,
-0.032609135,
-0.008462847,
0.0034426637,
0.04548339,
-0.031310417,
-0.0074676336,
-0.025494415,
0.02511327,
0.020934783,
0.026948417,
-0.03658999,
0.040006187,
0.020200724,
0.008851051,
-0.011843751,
0.042518925,
0.015739908,
-0.040203817,
-0.0030191685,
-0.0007989062,
-0.005625429,
-0.004467875,
0.0017989726,
-0.0151328975,
-0.0070264926,
-0.014391781,
0.007989944,
-0.036110032,
0.013248344,
0.012944839,
-0.07340585,
-0.008053469,
0.014187092,
0.0033367898,
0.021908822,
0.005007832,
-0.012224897,
0.040401448,
0.047939666,
0.02450626,
0.016643364,
0.0018263233,
0.04477757,
-0.013205994,
0.014554121,
-0.010820304,
-0.017702103,
-0.04339415,
-0.00448905,
-0.02773894,
-0.005353686,
-0.012620159,
-0.035008945,
0.025254436,
-0.027400143,
-0.026595503,
-0.033456128,
0.012641334,
-0.06871916,
-0.020779502,
0.021979405,
-0.021682959,
-0.039413292,
0.01880319,
-0.025409717,
0.0129377805,
0.027527193,
0.051017065,
0.006412424,
0.0721636,
0.029051775,
-0.0015139956,
0.002523326,
0.044551704,
-0.007517041,
-0.06403249,
-0.043083586,
0.00084699056,
-0.026581386,
-0.040712014,
-0.028967077,
-0.01832323,
0.016869228,
-0.027329562,
-0.045906886,
-0.016685713,
0.004457288,
-0.024026299,
-0.00024108351,
0.07289765,
0.011462606,
-0.034839544,
-0.001856321,
-0.027611893,
-0.04011912,
0.0043620015,
-0.027936572,
0.021499444,
-0.023264008,
-0.06386309,
-0.031028086,
-0.03639236,
-0.01524583,
0.0011222624,
-0.016431617,
0.002936234,
0.04088141,
-0.0010719724,
0.05928934,
0.024012182,
-0.032242108,
0.02216292,
0.014779985,
0.011624945,
0.016121054,
0.062451437,
0.015231714,
0.024026299,
-0.004319652,
-0.006878269,
-0.01589519,
-0.013975344,
0.002256877,
0.003942035,
0.018873774,
-0.05135586,
-0.03506541,
-0.028515348,
0.025028571,
0.006401837,
-0.0037373458,
-0.043987043,
0.057115395,
-0.06482301,
0.011575538,
-0.029503504,
0.013728305,
-0.015372879,
-0.00032004772,
-0.004577278,
-0.029757602,
0.23489872,
0.048306696,
0.04305535,
0.016121054,
0.013551849,
0.04751617,
0.0055266134,
-0.07323645,
-0.013791829,
-0.018210297,
-0.0053995647,
-0.044043507,
0.011744936,
0.033371426,
0.0017725042,
0.037380517,
-0.028642397,
-0.019551365,
0.009062799,
-0.07357524,
-0.040768478,
0.045596324,
0.022854628,
0.043450616,
-0.017532704,
0.04714914,
0.016996277,
0.0021968817,
-0.005018419,
-0.061378583,
0.03910273,
-0.036928788,
0.019833695,
-0.001656043,
-0.016008122,
0.051101763,
0.015076431,
-0.055167317,
0.002329224,
-0.005438385,
-0.003712642,
-0.0015386995,
-0.039356828,
0.009690983,
-0.053727433,
0.020101909,
0.03179038,
0.040203817,
0.07493043,
-0.09802504,
0.033258494,
-0.035488904,
0.044636402,
-0.03732405,
-0.062451437,
-0.02908001,
-0.065331206,
-0.023461638,
0.012443703,
0.022177037,
0.017377423,
0.015669325,
0.0019180807,
0.033286728,
-0.016855111,
0.021739423,
0.006239497,
-0.01108146,
-0.014412956,
0.019057287,
0.0069170897,
-0.017927967,
0.010297993,
-0.012443703,
-0.0014513537,
0.053925063,
-0.013537732,
0.030068165,
0.010552091,
0.00043430322,
0.010848537,
-0.017476238,
0.009987431,
-0.010185061,
-0.0016048707,
0.063016094,
-0.054037996,
0.039413292,
-0.014737636,
0.02357457,
0.038396906,
0.021174764,
-0.008773411,
-0.00052451657,
-0.0013984167
] | Just like the tokenizer, you can apply padding or truncation to handle variable sequences in a batch. Take a look at the sequence length of these two audio samples:
dataset[0]["audio"]["array"].shape
(173398,)
dataset[1]["audio"]["array"].shape
(106496,)
Create a function to preprocess the dataset so the audio samples are the same lengths. Specify a maximum sample length, and the feature extractor will either pad or truncate the sequences to match it: |
[
0.013053682,
0.045512784,
0.0206277,
-0.007937957,
-0.026642969,
-0.038865775,
-0.06037242,
-0.0007347417,
-0.013994426,
0.04814961,
0.050429374,
0.0017098194,
0.013259684,
-0.024541745,
-0.031669427,
0.061745767,
-0.050319504,
-0.06872238,
-0.053478207,
-0.03271317,
0.0051225913,
-0.015972048,
-0.054769155,
-0.02853819,
-0.018979682,
0.0019450054,
0.01668619,
-0.002029123,
0.07740194,
0.030158741,
-0.027549379,
-0.016232984,
-0.025558023,
-0.037602294,
0.008913035,
-0.010554186,
0.060207617,
-0.018677546,
-0.024569212,
-0.03397665,
-0.008157693,
0.033866785,
0.022646524,
-0.022330653,
-0.055208627,
-0.0051706587,
0.027659247,
0.020105828,
-0.033125177,
0.015587511,
-0.022207052,
0.0013802156,
0.034745727,
-0.013843357,
0.01885608,
-0.016864724,
0.003708042,
-0.014887102,
-0.033674516,
-0.009922446,
0.00557923,
0.04727067,
-0.033015307,
-0.05073151,
0.015202972,
0.028071253,
-0.03480066,
-0.0382615,
-0.03279557,
-0.024019873,
-0.048863754,
0.014749767,
-0.024898816,
-0.02550309,
-0.031889163,
-0.004786121,
0.030708082,
-0.04342529,
-0.008748232,
0.031944096,
0.015711112,
0.021575311,
0.003210203,
0.005053924,
-0.0029509836,
-0.009585976,
0.037272688,
-0.015354041,
-0.0041166134,
-0.025654158,
-0.038591105,
0.05927374,
-0.061965503,
0.0017956537,
0.037464958,
0.033235043,
-0.009991113,
0.012277739,
0.018347941,
-0.0033990385,
0.057625722,
0.1027265,
-0.027714182,
0.019542756,
-0.019185685,
0.044139434,
0.03026861,
0.011755867,
-0.044771176,
-0.0009278689,
0.04345276,
0.004243648,
0.040074322,
-0.016466454,
-0.022687724,
0.008864967,
-0.010760189,
0.00060813606,
-0.029966474,
-0.02286626,
-0.017867269,
0.033509713,
0.018210607,
-0.034745727,
-0.0028050651,
-0.058229994,
-0.03416892,
0.03164196,
-0.015752312,
0.03699802,
-0.0039415113,
0.032877974,
0.049605362,
0.037135355,
0.025695357,
0.005229026,
-0.037327625,
-0.028071253,
-0.0054281615,
-0.023676535,
0.006114836,
0.019020883,
-0.042875953,
0.0792697,
0.0044942843,
-0.017208062,
0.010780789,
-0.021781314,
0.00059654843,
0.010018581,
-0.055703033,
0.004243648,
-0.027727915,
-0.028084986,
0.0013441653,
-0.027714182,
-0.018238073,
0.010197116,
0.021753848,
0.031944096,
0.010361917,
-0.011130993,
-0.043040756,
0.025324553,
0.009489841,
0.016164316,
-0.02763178,
-0.02086117,
0.023484267,
-0.04345276,
-0.0038316434,
0.005016157,
0.028084986,
-0.009647776,
0.03425132,
0.01778487,
0.037135355,
-0.007580886,
-0.008109625,
-0.015065637,
-0.01562871,
0.0016334269,
0.06460233,
-0.022797592,
-0.032575835,
0.0055620633,
-0.008713899,
0.043315426,
-0.026052428,
0.017276729,
0.061416164,
0.06125136,
-0.0014265662,
-0.042216744,
-0.055291027,
-0.02680777,
-0.015093105,
0.020421699,
-0.009441773,
-0.022522923,
-0.03463586,
0.0056581977,
-0.01944662,
0.014736034,
0.010979924,
0.02208345,
0.012662277,
0.04183221,
-0.032301165,
0.019927293,
0.02570909,
0.01928182,
-0.028428322,
0.026629236,
-0.00023840478,
-0.053038735,
0.016823525,
-0.010622853,
0.053670477,
0.038014296,
0.023855072,
-0.0055002626,
0.022371855,
-0.0051260246,
0.005781799,
0.002396494,
0.008123359,
0.06982106,
0.030790484,
0.04361756,
-0.0048822556,
0.013218483,
0.00093902735,
0.004161247,
0.030405944,
0.026121097,
0.04435917,
0.032548368,
-0.0016806357,
0.010094115,
-0.021534111,
0.025187219,
0.02908753,
0.03556974,
-0.031587023,
0.03636628,
0.025558023,
-0.009531042,
-0.024184674,
0.00042251937,
-0.042463947,
0.06026255,
-0.022646524,
0.03054328,
-0.026272165,
-0.043123156,
0.02467908,
0.022413054,
0.011041725,
-0.0012883729,
0.021341842,
0.030872883,
0.012648543,
0.0099087125,
0.012181605,
0.03952498,
0.02184998,
0.0064032394,
0.0014694834,
0.0124768745,
-0.03353718,
-0.07245789,
-0.043782365,
0.009579109,
-0.011041725,
-0.006990346,
-0.041145533,
-0.04356263,
0.023717735,
0.015189239,
-0.009716444,
-0.005174092,
-0.021094639,
0.020613967,
0.045293048,
-0.022495456,
-0.045238115,
0.0028582825,
0.041585006,
0.05144565,
0.023154663,
-0.023456799,
0.001058337,
-0.037739627,
0.008185159,
-0.0019862058,
0.01865008,
0.02743951,
-0.012167871,
0.019693824,
-0.03565214,
0.0045320513,
-0.05353314,
-0.027137375,
-0.031037685,
0.028950196,
0.03180676,
0.005963768,
0.011316395,
0.024747748,
-0.024926282,
0.0029733004,
0.02971927,
0.0014626166,
-0.027878983,
0.030378478,
0.04298582,
-0.013754089,
-0.023017328,
-0.048479218,
-0.04773761,
-0.032877974,
-0.040046856,
-0.029499535,
-0.021698913,
0.096958436,
-0.030982751,
-0.05927374,
-0.008301894,
-0.05735105,
-0.010574787,
-0.032026496,
-0.013582421,
0.03191663,
0.049715232,
-0.0047826874,
-0.05735105,
0.036695883,
-0.029224865,
0.038673505,
0.0022574423,
-0.0674589,
0.013664822,
0.038206566,
0.016178051,
0.027892716,
0.023676535,
-0.0412554,
-0.009846912,
0.010361917,
0.029691804,
0.013932625,
0.0062659043,
0.042409014,
0.02172638,
-0.00382821,
-0.0674589,
0.009805711,
0.015738579,
0.033152644,
0.010080381,
-0.030103808,
0.0064684735,
-0.0012094054,
-0.01499697,
-0.022976127,
-0.0044942843,
0.008143959,
0.030323545,
-0.0556481,
0.002384477,
0.05089631,
-0.037657227,
-0.00997738,
0.0110142585,
0.005318294,
0.054384615,
-0.002029123,
0.056691844,
-0.061141495,
-0.044111967,
0.001050612,
-0.0014531749,
0.026890172,
0.02381387,
0.017029526,
0.005369794,
0.00090555195,
-0.013424486,
-0.02176758,
0.012277739,
0.027288442,
-0.014612433,
-0.044029567,
-0.01858141,
-0.01712566,
-0.008123359,
0.040486325,
0.04018419,
0.020723835,
0.01586218,
-0.01731793,
0.02172638,
0.031037685,
-0.0098331785,
-0.022976127,
-0.033152644,
0.045595184,
0.02963687,
0.030927818,
0.005064224,
-0.0081645595,
0.002887466,
0.031229954,
-0.0088169,
0.023388132,
-0.035322536,
-0.013616755,
-0.002231692,
0.010107848,
-0.017853536,
-0.027851516,
-0.04672133,
0.0063242717,
0.019474087,
-0.032740638,
0.0053800945,
-0.084378555,
0.038151633,
0.015518842,
-0.016411519,
-0.0324385,
-0.027700448,
0.005229026,
-0.027096175,
0.016672457,
0.01562871,
-0.011350729,
0.0056856647,
-0.049385626,
-0.026890172,
0.016013248,
-0.0175926,
0.0051431917,
-0.02168518,
-0.008260693,
0.01200307,
0.02554429,
0.059493475,
0.00060255686,
0.013809023,
-0.009366239,
0.042573817,
-0.045677584,
-0.031944096,
-0.039854586,
-0.0078280885,
-0.019213151,
-0.011021125,
0.042189278,
-0.029032595,
0.0028325322,
0.00852163,
0.0015956598,
-0.09624429,
-0.00765642,
0.012161004,
-0.021506645,
0.0351028,
0.03864604,
0.037739627,
0.007100214,
0.027796581,
-0.00013003897,
-0.030296078,
-0.049248293,
0.00051500584,
0.029527001,
-0.03691562,
0.025997495,
-0.018320475,
-0.0005514854,
0.01326655,
-0.03771216,
-0.02554429,
-0.052819,
-0.045979723,
0.014530032,
-0.033701982,
0.033564646,
0.030955285,
-0.019611422,
0.004233348,
-0.055373427,
0.0063792057,
0.0020102395,
0.0023621602,
-0.027933916,
0.06592075,
-0.008157693,
0.04927576,
-0.03556974,
0.010911257,
0.038151633,
-0.010876924,
0.011206527,
-0.027769115,
-0.0047346205,
0.0355148,
-0.029884072,
-0.028428322,
0.00053431856,
-0.014008159,
0.023360666,
-0.003320071,
-0.009153371,
-0.016384052,
-0.045457847,
-0.033207577,
0.016480187,
-0.026423233,
-0.048698954,
-0.053423274,
0.042875953,
-0.034333725,
0.014104294,
0.015244173,
0.0037458092,
-0.03026861,
-0.049303226,
0.056224905,
-0.045952253,
-0.0116322655,
-0.06465726,
-0.043864764,
0.005239326,
0.017468998,
0.0012918063,
-0.05526356,
-0.014337762,
-0.046199456,
-0.0014531749,
-0.04743547,
-0.015161772,
0.0235392,
0.019460354,
-0.021904916,
0.0067568766,
-0.020517834,
-0.030790484,
0.027329644,
0.02550309,
0.050484307,
0.0020308397,
-0.046913598,
-0.0069491453,
-0.02873046,
-0.0012488891,
0.033509713,
0.013603021,
-0.03345478,
0.03480066,
-0.06690956,
0.047517873,
-0.0293622,
-0.007937957,
0.003642808,
-0.015614977,
0.04202448,
-0.027741648,
-0.022399321,
0.017935937,
0.042656217,
0.014488831,
0.03372945,
0.022879994,
-0.023978673,
-0.07130428,
-0.05707638,
0.04224421,
0.008844367,
-0.006300238,
0.010876924,
0.010615987,
0.03565214,
-0.053862743,
0.03392172,
0.055593163,
0.017523931,
0.0037217755,
-0.018485276,
0.0030986185,
0.008631498,
-0.02018823,
0.00097078603,
0.01794967,
-0.02873046,
-0.009510442,
-0.023168396,
-0.05707638,
0.0020480065,
-0.029884072,
0.05108858,
-0.016425254,
0.012360141,
0.008095892,
-0.052104857,
-0.044853576,
0.0033921718,
0.017716201,
-0.010464919,
-0.004003312,
0.00615947,
0.036283877,
0.035487335,
-0.05235206,
-0.05400008,
-0.00089782686,
0.070150666,
-0.04880882,
-0.06443753,
-0.022399321,
0.03144969,
-0.048918687,
-0.047600273,
0.004741487,
-0.030021407,
-0.0072993496,
-0.035926808,
0.039662316,
0.025681624,
-0.07438058,
0.051747788,
0.021712646,
-0.062240172,
0.012854545,
0.021314375,
0.010245183,
-0.028702993,
0.03480066,
0.052489396,
-0.016878458,
-0.0011218544,
0.0033990385,
-0.008452962,
-0.030158741,
0.0075465525,
0.026780304,
0.024788948,
0.016644988,
0.049440563,
0.010705255,
0.03870097,
-0.0026436967,
0.025970029,
0.027535645,
-0.007738821,
-0.05188512,
0.03271317,
0.008198893,
0.0024582946,
0.021863714,
-0.012799612,
-0.010018581,
0.023786403,
0.074765116,
-0.002291776,
-0.04644666,
0.029114997,
-0.01877368,
-0.037684694,
0.008260693,
-0.013232217,
0.0083705615,
0.023704002,
-0.0055483296,
-0.054494485,
-0.007670154,
-0.021094639,
-0.026024962,
0.022825059,
-0.031779293,
-0.0016823524,
-0.0321913,
-0.032740638,
-0.02507735,
-0.001528709,
-0.009160237,
-0.0034144886,
0.00044977176,
0.007416084,
0.027343377,
0.0033870218,
-0.0054453285,
-0.014269095,
-0.0014969503,
-0.012140404,
-0.018636344,
-0.0069113784,
-0.02767298,
0.047957346,
0.009489841,
-0.013843357,
-0.008020357,
0.01913075,
0.024074806,
-0.008253827,
0.025255887,
0.05380781,
-0.025571756,
-0.019542756,
-0.019707557,
0.02200105,
-0.035212666,
-0.008514763,
-0.025805226,
-0.006015268,
0.025915094,
0.01858141,
0.044221833,
0.06284445,
0.00094761077,
0.002133841,
0.0049577896,
-0.015038171,
0.016905924,
0.000008315198,
0.033756915,
-0.03845377,
-0.01708446,
-0.028675525,
0.021383043,
-0.010437451,
-0.002423961,
-0.02334693,
-0.01704326,
0.011886335,
-0.02763178,
0.016384052,
0.03916791,
0.062295105,
0.014845902,
-0.04820455,
-0.0019896391,
0.009098437,
-0.026038695,
-0.00824696,
-0.062240172,
-0.04023912,
0.026670435,
-0.062295105,
0.025915094,
-0.014736034,
0.016837258,
-0.012703477,
0.011268328,
-0.00470372,
0.020037161,
0.026272165,
0.022577856,
0.00085877226,
-0.018444076,
-0.03381185,
0.015093105,
0.026629236,
-0.04510078,
0.010135315,
0.03026861,
0.053093668,
0.045375448,
-0.026285898,
-0.055236094,
0.0036908751,
0.011529264,
0.019460354,
-0.009366239,
0.0034745727,
-0.011680333,
0.009187704,
-0.03798683,
0.008363695,
-0.006437573,
0.013142949,
0.020971037,
-0.00793109,
-0.01566991,
0.05652704,
-0.004964656,
-0.0057028313,
-0.0381791,
0.031477157,
-0.014337762,
-0.029307267,
0.002187058,
0.030351011,
0.03944258,
0.017606333,
-0.021314375,
-0.024541745,
0.016123116,
0.016287917,
0.0041303467,
0.0054006944,
0.030982751,
0.013307751,
-0.006986913,
-0.019501554,
-0.010945591,
-0.032548368,
-0.008288161,
-0.02613483,
0.04144767,
0.003040251,
-0.026327098,
-0.00016340706,
-0.02294866,
-0.0028977662,
-0.0026282466,
-0.09261865,
0.012483742,
0.035020396,
0.027892716,
0.029472068,
0.055510763,
-0.022069717,
0.07075494,
0.03318011,
0.051775254,
0.03499293,
0.010519853,
0.030570747,
-0.010334451,
0.052022457,
-0.017427798,
-0.0014531749,
-0.004315749,
0.00018583128,
-0.0075602857,
-0.0035192065,
-0.001671194,
-0.00040385043,
-0.0015218423,
-0.0024806114,
0.0031569859,
-0.011378196,
0.038234033,
-0.055428363,
0.015463909,
0.057131317,
-0.02873046,
-0.037657227,
0.040678594,
0.01649392,
-0.011062326,
0.0046281856,
0.08190653,
0.0034986064,
0.08448842,
0.059054002,
0.009531042,
-0.006104536,
0.05180272,
-0.030653147,
-0.079928905,
-0.023099728,
0.013115482,
0.0021630246,
-0.016397785,
-0.017867269,
0.018045805,
0.011591065,
-0.007416084,
-0.022467988,
0.012593609,
0.003184453,
-0.012861413,
0.0030539846,
0.07778648,
-0.01586218,
0.0092701055,
-0.0034471059,
-0.023594134,
-0.06262471,
0.0018900714,
-0.049577896,
0.037135355,
-0.035157733,
-0.026821503,
-0.04746294,
-0.024857616,
-0.032740638,
-0.0015922264,
-0.014818435,
-0.011323262,
0.043150622,
0.003057418,
0.032960374,
0.028236054,
-0.03716282,
0.0040616794,
0.03109262,
0.029142464,
0.009180837,
0.061196428,
0.023195863,
-0.00852163,
-0.004895989,
0.023209596,
-0.022028517,
-0.060207617,
-0.0066264085,
0.011378196,
0.033207577,
-0.04562265,
-0.03845377,
-0.025516823,
0.041118067,
-0.017262995,
-0.009984246,
-0.009029769,
0.030735549,
-0.07778648,
-0.0126828775,
-0.0060633356,
0.015697379,
-0.0019810558,
0.024857616,
-0.016713656,
-0.04062366,
0.21797794,
0.073391765,
0.030213676,
0.03133982,
0.0175926,
0.027054973,
0.0047620875,
-0.05133578,
-0.00006003037,
-0.03562467,
0.0012033969,
-0.017716201,
0.02101224,
0.02467908,
0.00095533585,
0.03232863,
-0.024225876,
-0.0071345475,
0.0035106232,
-0.024528012,
-0.041777276,
0.04227168,
0.0030591348,
0.014626166,
-0.015244173,
0.02727471,
0.029664336,
-0.0025767458,
0.00019259073,
-0.05471422,
0.036064144,
-0.036283877,
0.036036674,
0.00024441318,
0.014667367,
0.03353718,
0.0049406225,
-0.024706546,
-0.0040513794,
-0.042381547,
0.01936422,
0.007999757,
-0.02314093,
-0.0046831197,
-0.038316436,
0.026931372,
0.0016111099,
0.04301329,
0.089762084,
-0.05380781,
0.009173971,
-0.06245991,
-0.0015759179,
-0.022055984,
-0.035734538,
-0.007223815,
-0.0531486,
-0.022330653,
0.0076220864,
0.060152683,
-0.014516298,
0.021657713,
0.0076220864,
0.022770125,
-0.02743951,
0.0072924825,
0.004508018,
0.020229429,
-0.009352506,
0.0017630367,
0.014859635,
-0.02294866,
0.02027063,
-0.012511209,
0.013156682,
0.05998788,
-0.00020171062,
0.035322536,
0.0007248707,
-0.06553621,
0.018911015,
0.01029325,
-0.004260815,
-0.01913075,
0.0031878862,
0.029527001,
-0.052324593,
0.053285938,
-0.011076059,
-0.0010085531,
0.045183178,
0.031422224,
0.019982226,
-0.0264919,
0.036805753
] | def preprocess_function(examples):
audio_arrays = [x["array"] for x in examples["audio"]]
inputs = feature_extractor(
audio_arrays,
sampling_rate=16000,
padding=True,
max_length=100000,
truncation=True,
)
return inputs
Apply the preprocess_function to the first few examples in the dataset:
processed_dataset = preprocess_function(dataset[:5]) |
[
0.01623439,
-0.033418316,
0.021232631,
-0.040302437,
0.021746961,
-0.018212587,
-0.03774397,
-0.012225248,
0.014269384,
0.039748542,
0.023751533,
0.00782706,
0.02292069,
-0.037110947,
0.022445925,
0.032811668,
-0.019333564,
-0.03241603,
-0.036082286,
-0.022393173,
-0.017302616,
0.009211797,
-0.052118856,
-0.035238255,
-0.025558285,
-0.013689113,
0.05027254,
0.01012836,
0.05443994,
0.03592403,
-0.043098286,
0.012423067,
-0.018370843,
0.02714084,
-0.03099173,
-0.0077479323,
0.030147698,
-0.02566379,
-0.05306839,
-0.022432737,
0.012350533,
0.030279579,
0.0100953905,
-0.039801292,
-0.05781606,
0.013108842,
0.016682781,
-0.013728676,
-0.0137023,
0.0016163505,
-0.007523737,
-0.035897654,
0.0020375412,
0.01123615,
-0.017645504,
-0.0035739397,
0.038588,
-0.025294526,
0.05190785,
0.012495602,
0.0026590244,
0.029936692,
-0.029435549,
-0.02682433,
0.014308947,
0.0049388944,
-0.045366615,
-0.036003157,
-0.011552662,
0.0066830036,
-0.05560048,
-0.015350796,
0.022801999,
0.022300856,
0.026943022,
-0.005980744,
-0.0037420865,
-0.042834524,
-0.008479864,
-0.0011374623,
-0.033339188,
0.02753648,
-0.0011885657,
0.0063730865,
-0.008882098,
-0.00961403,
0.021390887,
0.0026458364,
0.029910315,
-0.043599427,
-0.03663618,
0.034051336,
-0.018871985,
-0.00081641774,
0.022353608,
0.06535958,
-0.013530857,
0.071004026,
0.02402848,
0.009996481,
0.019148933,
0.06820818,
-0.0112427445,
0.09089149,
-0.05066818,
-0.015429924,
0.013227534,
-0.013478105,
-0.035000872,
-0.043757685,
0.063249506,
-0.018463157,
0.0011720808,
0.01163179,
0.0028898139,
0.013557233,
-0.014889218,
0.0030480695,
-0.04956039,
-0.039669413,
-0.0044806125,
-0.022234917,
0.008341391,
-0.021100752,
0.0133857895,
-0.03136099,
-0.029198164,
0.04051344,
-0.03215227,
0.010214083,
0.0036926316,
-0.008295233,
-0.022749247,
0.050430797,
-0.05760505,
0.0067522405,
-0.0075830827,
0.04489185,
-0.026969397,
-0.0017061936,
-0.006837962,
-0.0058356766,
-0.013108842,
0.051934224,
-0.00011086137,
0.0062708794,
0.018542286,
-0.01295718,
-0.030886225,
-0.005166387,
-0.018753292,
-0.003468436,
0.014506767,
-0.003837699,
-0.023527337,
0.014757338,
-0.017751006,
0.021575518,
-0.02748373,
0.0059675565,
-0.01941269,
0.020349037,
-0.014058376,
0.04961314,
0.029461924,
0.03832424,
-0.025571473,
-0.012528571,
-0.006162079,
-0.015693683,
0.026296811,
-0.012719797,
-0.015878316,
-0.0025090112,
0.019570947,
0.034974497,
0.023922976,
0.0036069097,
0.010814135,
0.0006705258,
-0.028591517,
-0.059926134,
-0.011328466,
0.005159793,
-0.00600712,
0.011526286,
-0.0054598195,
-0.005492789,
0.054545444,
-0.018225774,
0.024714256,
0.019307187,
0.0037387894,
0.023105323,
-0.0038739662,
0.031572,
-0.026098993,
-0.037954975,
-0.004325654,
-0.04156848,
-0.03476349,
-0.014519955,
-0.01689379,
0.006811586,
0.006165376,
-0.023909789,
-0.025993489,
0.0871461,
-0.0358449,
0.06462105,
0.024846135,
0.008347984,
-0.008222699,
0.003890451,
0.021812903,
0.010853699,
0.025426406,
-0.000883594,
-0.020823805,
0.027299097,
0.03832424,
0.018819233,
0.06229997,
0.0006515681,
0.019214872,
0.032495156,
-0.011790045,
0.07775627,
0.01630033,
0.019663263,
-0.010807541,
0.022485489,
0.018278526,
-0.015258481,
0.014084752,
0.021153504,
0.029330045,
0.010708631,
-0.013544044,
0.015878316,
0.007945752,
0.06841919,
0.024384556,
0.04681729,
0.0037354925,
-0.031730253,
0.018304901,
0.015311233,
0.0120274285,
0.0045564435,
-0.058501832,
0.012983556,
-0.0020622688,
0.023817474,
0.0032079737,
-0.012383504,
-0.010833917,
0.042069625,
-0.015548617,
-0.02748373,
-0.04280815,
0.0050411015,
0.041937742,
-0.008730436,
0.04312466,
0.033761203,
0.04942851,
-0.013860556,
-0.04605239,
-0.04370493,
-0.043810435,
-0.061666947,
-0.024753818,
-0.025650602,
0.0086315265,
-0.007029188,
0.0012948938,
-0.068946704,
0.027905744,
-0.024648316,
-0.038086858,
0.021140315,
-0.03877263,
0.00792597,
0.030807097,
0.007312729,
-0.040381562,
0.04618427,
0.033180933,
0.035897654,
-0.010972391,
-0.035607517,
-0.010919639,
0.002584842,
-0.03663618,
-0.006557718,
0.022590993,
-0.0010641043,
-0.023092136,
0.0009338731,
0.0071280976,
-0.005624669,
-0.03877263,
0.018502722,
0.015100225,
0.003033233,
0.0013394032,
-0.0119746765,
0.051433083,
0.031730253,
-0.06915771,
0.027299097,
-0.016986106,
0.05924036,
-0.009198609,
0.057077534,
0.03006857,
-0.010926233,
0.012594511,
-0.025426406,
-0.022881128,
0.028143127,
-0.02578248,
-0.022089848,
-0.056761023,
0.06119218,
-0.0055653234,
-0.062194467,
-0.01184939,
-0.022894315,
-0.012561541,
-0.03948478,
-0.016537715,
0.050879188,
0.041594855,
0.0033645807,
0.008011691,
0.04742394,
-0.01149991,
0.019043429,
-0.0039662817,
-0.043995067,
0.091102496,
-0.008908474,
0.03020045,
0.037823096,
0.03806048,
-0.018660977,
0.016273955,
-0.023435023,
0.02584842,
0.02611218,
-0.021720586,
-0.000813945,
-0.01631352,
-0.005591699,
-0.06071741,
0.046738166,
0.011671353,
-0.020889744,
0.059029352,
0.019847894,
-0.02416036,
-0.021812903,
-0.007893,
-0.03787585,
-0.018977487,
-0.0060005262,
0.053226646,
-0.008196323,
-0.011809827,
-0.011915331,
-0.06013714,
0.028354134,
-0.017830135,
-0.016735533,
0.054650947,
-0.023685593,
0.03326006,
-0.100861594,
-0.024094421,
-0.012831895,
-0.013623172,
0.008473271,
-0.036979068,
0.03943203,
-0.007958939,
0.031413745,
0.004671838,
-0.015179353,
0.05161771,
-0.011763669,
-0.020058902,
-0.034578856,
-0.05132758,
-0.03740108,
0.014757338,
0.042887278,
0.00344206,
-0.018476345,
0.008651308,
0.011763669,
0.02526815,
0.030701593,
0.005278485,
-0.028459638,
-0.010036045,
0.041542105,
-0.0016320113,
-0.004774045,
-0.020612797,
-0.005166387,
0.0036629585,
0.011546068,
-0.036715306,
0.042069625,
-0.013596796,
0.001757297,
-0.04014418,
0.0855108,
-0.062458225,
0.024450496,
-0.04599964,
0.0027513402,
0.020533668,
-0.051723216,
0.011928518,
-0.06630911,
0.027694736,
0.004727887,
-0.064515546,
-0.000548125,
-0.022643743,
0.006930278,
-0.029250916,
0.032969926,
0.029699307,
-0.0029392687,
0.018107083,
-0.038139608,
-0.008526023,
0.019188495,
0.00028127467,
0.0060104174,
-0.03099173,
0.02462194,
0.04539299,
0.035027247,
0.059662376,
-0.020058902,
0.026151745,
-0.0770705,
0.019610511,
-0.042333383,
0.035449263,
-0.007912782,
0.01604976,
-0.07132054,
0.019874271,
-0.00974591,
-0.00974591,
0.009264548,
0.025808856,
-0.09632493,
-0.0010913045,
0.030859848,
-0.030701593,
0.0036036128,
0.04104096,
0.007985315,
0.000012015992,
0.002133154,
0.022841563,
-0.033893082,
0.018766481,
-0.046026014,
-0.00560159,
0.0427554,
0.013168188,
-0.020428166,
-0.008849127,
0.004022331,
-0.065676086,
-0.016392646,
-0.007365481,
-0.03344469,
-0.009066729,
0.041146465,
-0.025386842,
0.01481009,
0.017764196,
-0.009679969,
0.005693906,
-0.01947863,
0.005143308,
-0.03130824,
-0.04053982,
0.022366796,
0.02909266,
0.0004661123,
0.018238962,
-0.045577623,
-0.02877615,
-0.022656932,
-0.029672932,
0.009046948,
-0.021193067,
-0.026072616,
-0.02351415,
-0.010517406,
-0.051301204,
-0.008301827,
-0.03246878,
0.027747488,
0.051512208,
-0.020968871,
0.058554586,
-0.050114285,
-0.03099173,
0.04676454,
-0.018265339,
-0.08893967,
-0.036794435,
0.014203443,
-0.008051256,
0.02058642,
0.0100690145,
-0.04449621,
0.01709161,
-0.067838915,
0.024846135,
-0.061614193,
-0.011869173,
-0.04462809,
-0.026230872,
0.01383418,
0.0527255,
0.042649895,
-0.01012836,
-0.0016559145,
-0.05169684,
-0.0007624295,
-0.040566195,
-0.028697021,
0.0133594135,
-0.023395458,
-0.0071742553,
0.029672932,
-0.013675924,
-0.058238074,
0.0058686463,
0.028486015,
0.034710735,
0.006969842,
-0.05132758,
-0.06694213,
-0.01656409,
-0.0036860376,
0.010563564,
0.0075896764,
-0.05066818,
0.023909789,
-0.059926134,
0.027879369,
0.019636886,
0.032785293,
0.000664344,
-0.028855277,
-0.015047474,
-0.04383681,
-0.008407331,
-0.025360465,
0.025624225,
0.02748373,
0.02240636,
-0.026309999,
-0.003560752,
-0.052408993,
-0.062247217,
0.04177949,
-0.0294883,
-0.03059609,
-0.024068044,
0.017157549,
0.03695269,
-0.011605414,
0.023355894,
0.046843667,
0.03260066,
-0.003837699,
-0.004767451,
0.015258481,
-0.005133417,
0.0036926316,
-0.011730699,
0.056391757,
-0.044548962,
-0.032046765,
-0.02520221,
-0.04032881,
-0.016036572,
0.008875503,
0.042307008,
-0.039801292,
0.010345962,
-0.023329519,
-0.03513275,
-0.0014721071,
0.016537715,
0.014889218,
-0.0024677988,
0.0026260545,
0.011387812,
-0.0023062462,
0.02293388,
-0.042069625,
-0.07670123,
0.004760857,
0.033866707,
0.0053806915,
-0.055494975,
-0.0061060297,
-0.010655879,
-0.022960255,
-0.047740452,
0.019874271,
-0.011592225,
-0.009086511,
-0.009759097,
0.02909266,
0.02059961,
-0.018595038,
-0.015667308,
0.0014943618,
0.028802525,
-0.005209248,
0.05924036,
0.010530594,
0.021390887,
0.0045003947,
0.06725865,
-0.055231217,
-0.031809382,
-0.0021282085,
-0.02369878,
-0.038799006,
0.000764078,
0.029119037,
0.009027165,
0.012132932,
0.017816948,
0.014388075,
0.03415684,
-0.017131172,
0.01045806,
0.012192278,
-0.010833917,
-0.047212932,
0.025676977,
0.010101985,
-0.0046355715,
0.0037618685,
-0.029752059,
0.0041970713,
0.025452781,
0.040434316,
-0.039985925,
-0.020639172,
0.000707617,
-0.06145594,
0.02129857,
-0.015931068,
-0.0043289512,
-0.03151925,
0.014968346,
-0.0031486277,
0.00022316517,
0.013154999,
-0.00013445548,
-0.013497887,
-0.004750966,
-0.017698254,
-0.011486721,
-0.027008962,
-0.0040553007,
0.004230041,
-0.051301204,
-0.0016963026,
0.016920164,
-0.01980833,
0.019373128,
0.008479864,
-0.034077715,
-0.009277737,
0.03344469,
-0.028723398,
-0.03616141,
-0.011407594,
0.06699488,
0.0066797067,
0.029936692,
0.04710743,
-0.014401263,
0.027510105,
0.015931068,
-0.025386842,
-0.024701066,
0.0018660977,
-0.00056131295,
-0.017513623,
0.012449443,
-0.013141812,
-0.0004990822,
-0.042623516,
-0.040434316,
0.010926233,
0.00094953383,
0.022867939,
0.020560045,
0.0027249642,
0.049270254,
0.012278,
0.030094948,
0.013860556,
0.032363277,
-0.01390012,
-0.0033794171,
0.020401789,
0.007385263,
-0.0358449,
-0.022775624,
-0.006890714,
0.030807097,
-0.008499647,
0.0068577444,
0.0018364248,
-0.050378043,
-0.01760594,
0.021311758,
0.049059246,
0.025057143,
-0.0061455937,
0.0017177331,
0.040249683,
-0.010444872,
-0.005479601,
0.028090375,
-0.028538767,
-0.03117636,
0.024542812,
-0.013029714,
-0.012383504,
-0.005505977,
-0.010306398,
-0.0019485225,
-0.014704586,
0.013781428,
-0.010484436,
0.011058113,
0.0027348553,
0.016076135,
-0.046342526,
-0.011612007,
-0.003930015,
0.008183135,
-0.03663618,
-0.05027254,
0.028090375,
-0.024173548,
-0.015640931,
-0.0016995996,
-0.010161331,
0.034473352,
0.04333567,
0.019597324,
0.005604887,
0.017632315,
-0.041014586,
0.04681729,
0.01136803,
-0.00010766741,
-0.015997007,
0.0589766,
0.026138555,
-0.04468084,
0.01012836,
0.039247397,
0.045102857,
-0.0745384,
-0.034710735,
0.054123428,
0.025439594,
0.02611218,
0.036214165,
0.018924737,
0.0019748984,
0.058027066,
0.023224015,
0.008110601,
0.031651128,
0.06720589,
0.0146650225,
0.05280463,
0.024054857,
-0.022208542,
-0.005664233,
-0.028406886,
0.023646029,
-0.001608108,
-0.0068049924,
-0.0065643117,
0.051670466,
0.011612007,
0.02176015,
-0.016537715,
-0.015258481,
0.030701593,
0.0030678515,
-0.026019864,
-0.028723398,
0.020731488,
0.041858617,
-0.008090819,
0.010385526,
-0.006607173,
0.019913834,
0.035976782,
-0.025294526,
0.0021644756,
-0.0059873383,
-0.0000069996695,
0.010576752,
0.016920164,
-0.0004265484,
0.009126075,
0.016550902,
-0.015825564,
-0.01416388,
0.015799187,
0.0058389734,
0.005074071,
0.035185505,
-0.019992962,
-0.013939684,
-0.043441173,
0.063513264,
-0.06398803,
0.023131698,
0.04694917,
-0.051512208,
-0.04734481,
0.021206256,
-0.03903639,
-0.018608226,
0.0099898875,
0.07063477,
0.0024859323,
0.092157535,
0.005242218,
0.025874797,
0.029171789,
0.031070856,
0.0026557273,
-0.031809382,
-0.021786526,
0.012963775,
-0.006570906,
-0.040249683,
0.010339368,
0.014295759,
0.02033585,
0.011262526,
-0.011473534,
0.028697021,
0.036082286,
-0.019821519,
-0.02793212,
0.016577277,
-0.046659037,
0.017764196,
0.016616842,
-0.038139608,
0.0077347443,
-0.030437835,
-0.056602765,
0.046606284,
0.03423597,
0.0041014585,
-0.006495075,
-0.0125747295,
-0.034578856,
0.010036045,
-0.009053541,
0.018674165,
0.060242645,
0.035475638,
-0.000504852,
0.043678556,
-0.0015454652,
0.017263053,
0.021140315,
0.05839633,
0.0040322216,
0.090152964,
0.06578159,
-0.026085803,
0.009323895,
0.015535428,
-0.0046949172,
0.008189729,
0.0003342326,
-0.0018726917,
0.02189203,
-0.05496746,
-0.041805863,
0.021522766,
0.10270791,
-0.019280812,
-0.0018512612,
-0.08514153,
-0.015166165,
-0.035976782,
0.01674872,
-0.0435203,
0.026903458,
-0.0055521354,
-0.0058323797,
0.059504118,
-0.014269384,
0.19486544,
0.03286442,
0.027905744,
0.01967645,
0.047793202,
0.08830664,
-0.0053345338,
-0.04832072,
0.043309294,
-0.016260767,
0.06483206,
0.00033031742,
0.020705113,
-0.039643038,
0.0063038496,
0.017487248,
-0.010055827,
0.009930541,
-0.00974591,
0.010115173,
-0.04734481,
0.026428692,
-0.03676806,
0.042913653,
-0.023553714,
0.020428166,
0.011130647,
-0.017328992,
-0.012007646,
-0.003209622,
-0.01631352,
-0.013148406,
0.023013007,
-0.00954809,
-0.0358449,
0.05230349,
-0.020902932,
-0.06129768,
-0.01870054,
-0.017355368,
-0.024463683,
-0.049718644,
0.003412387,
-0.03196764,
-0.03291717,
0.05702478,
0.008130384,
-0.047951456,
0.01889836,
-0.0730086,
0.039827667,
-0.057130285,
-0.015746435,
-0.010365744,
-0.019346751,
-0.05929311,
-0.0029672931,
-0.0067588342,
0.07163705,
0.04104096,
0.060295396,
0.048848238,
-0.014335323,
-0.008756812,
-0.012284594,
-0.030411458,
-0.015917879,
0.01779057,
-0.00083413906,
-0.0026755093,
0.0064423233,
-0.008136977,
0.039405655,
0.018937925,
-0.008216105,
-0.008196323,
-0.023289954,
0.048610855,
0.0044344547,
-0.034526106,
-0.005219139,
-0.041462976,
-0.048426226,
-0.024912074,
0.0036893345,
0.031097233,
-0.041014586,
-0.007108316,
-0.0100162625,
0.01941269,
0.005357613,
0.0049784584,
-0.026283624,
-0.00029240202,
-0.017816948
] | Image preprocessing often follows some form of image augmentation. Both image preprocessing and image augmentation
transform image data, but they serve different purposes: |
[
0.02244043,
-0.004057625,
0.01138252,
-0.021396032,
-0.0062240437,
-0.015101422,
0.013132591,
-0.004438689,
-0.0061570047,
0.023597734,
-0.014776811,
-0.019631848,
0.06622044,
-0.025220785,
0.006562767,
0.038191073,
0.011072024,
-0.035848234,
-0.063002564,
-0.01235635,
-0.011516598,
0.010655676,
-0.052925542,
-0.014550996,
-0.044344548,
-0.023640076,
0.0055818805,
0.0059841145,
0.0671237,
0.03525547,
-0.041691214,
-0.0006818574,
0.01110025,
-0.022934401,
-0.032432772,
-0.011890605,
0.028170502,
-0.026222842,
-0.05332072,
-0.0386427,
0.01603291,
0.030823836,
0.011636563,
-0.0037577134,
-0.03421107,
0.020972628,
-0.023357807,
-0.01733135,
-0.043695327,
-0.012003513,
-0.010260498,
0.04163476,
0.0379088,
0.017416032,
-0.006227572,
-0.03559419,
-0.031868234,
0.027281353,
-0.030654473,
0.00006477866,
0.0092796115,
0.02008348,
0.0021258425,
-0.048550364,
0.0010055853,
0.037146673,
0.005797111,
-0.026787382,
-0.027747098,
-0.011333123,
-0.052897315,
0.03257391,
-0.019758869,
-0.024218729,
-0.03943306,
0.032291636,
-0.005377235,
0.001261392,
0.0002454422,
0.0043681213,
-0.003505435,
0.02280738,
0.014431031,
0.019264897,
-0.014889719,
-0.013259612,
0.01105791,
-0.027789438,
-0.013859435,
-0.02341426,
-0.052727953,
0.043525964,
-0.06870441,
0.021325465,
0.03932015,
0.011925889,
-0.03144483,
0.036186956,
0.01789589,
-0.019674188,
0.029638303,
0.11443208,
-0.017825322,
0.051796462,
0.012829151,
-0.0047915257,
-0.007303725,
-0.0015613035,
-0.059220154,
0.014508655,
0.0073884055,
-0.027789438,
0.028749155,
-0.022623906,
0.036864404,
0.03782412,
-0.008108193,
0.012652732,
-0.051683556,
-0.033674758,
0.0047386,
0.019942345,
0.0053595933,
-0.04030809,
0.016625676,
-0.048522137,
-0.042820293,
0.056256324,
0.00057027274,
-0.011234328,
0.0036077579,
-0.011213158,
0.029158445,
0.04702611,
-0.0047033164,
-0.032489225,
-0.010874434,
-0.005119664,
0.0076706754,
-0.014078194,
0.018573336,
0.013880606,
-0.05481675,
0.07542243,
0.017952343,
-0.005394877,
-0.005034983,
-0.053715896,
-0.055127244,
0.017444259,
-0.056707952,
-0.0043504797,
-0.024246955,
-0.014106421,
-0.07107548,
-0.0050279265,
-0.009209044,
0.03254568,
-0.055776466,
0.018813265,
0.018700358,
-0.028297523,
-0.04654625,
0.050554477,
0.037061993,
0.04589703,
-0.045642987,
-0.016343407,
-0.007840037,
-0.015750641,
0.0052784407,
-0.0013090251,
-0.0051126075,
0.0036589191,
0.020789152,
0.0021611264,
0.053828806,
0.0053701783,
-0.023964684,
-0.013097308,
-0.047788236,
-0.025305465,
0.0057230154,
-0.015341351,
-0.030654473,
-0.018107591,
0.005959416,
0.006199345,
-0.02045043,
0.017091421,
0.026547452,
0.035622418,
-0.020718586,
0.020266954,
-0.029468942,
0.0067921113,
-0.027860004,
-0.017782982,
-0.007981172,
-0.03226341,
-0.025898231,
0.045388944,
0.013534825,
-0.0016018797,
0.01639986,
-0.002205231,
0.014776811,
0.039207242,
-0.049030222,
0.021918232,
0.022835607,
0.005465444,
0.0074872,
0.016343407,
0.017712414,
-0.0077412426,
-0.018460428,
0.017994685,
0.0015736527,
-0.0071414197,
0.047195468,
0.013513655,
0.04059036,
0.018658018,
0.03793703,
0.011869435,
-0.016540997,
0.063680016,
0.043102562,
0.05024398,
-0.04338483,
0.06684143,
0.02808582,
0.020520996,
0.025051422,
0.05368767,
-0.0071802316,
0.0005376353,
0.024924401,
0.008559824,
-0.038614474,
0.016258726,
0.036582135,
-0.007451916,
0.01798057,
0.018093478,
0.006171118,
0.01042986,
0.0038635645,
0.039800007,
-0.02066213,
0.0030044066,
-0.0024134046,
-0.017754756,
-0.058203984,
-0.04829632,
0.008291668,
0.047505967,
-0.0024875004,
-0.003304318,
0.0147485845,
-0.0089056045,
0.027140219,
0.015637733,
0.06407519,
0.03884029,
-0.0011008512,
0.023908231,
-0.021198444,
-0.03700554,
-0.02747894,
-0.029977027,
-0.06176058,
-0.008312838,
-0.040844403,
-0.043497737,
-0.009632449,
-0.03912256,
0.019335466,
-0.015778868,
0.00006891347,
0.0031684758,
-0.036582135,
0.053151358,
0.05600228,
0.0067074304,
-0.015680075,
0.006474558,
-0.005521898,
0.004202288,
-0.008644505,
-0.013831208,
0.014833265,
-0.02512199,
-0.007903548,
-0.008341066,
-0.015764754,
-0.0062663844,
-0.009244328,
0.024275182,
-0.028184615,
0.013795924,
-0.0286927,
0.044570364,
-0.02787412,
0.006174647,
0.02609582,
0.011664789,
0.044005822,
0.008270498,
-0.024571564,
0.0049009053,
0.024246955,
-0.0010743885,
-0.015553053,
0.0222005,
0.043525964,
0.011206102,
-0.05453448,
-0.025263125,
-0.061986394,
0.009957058,
-0.01858745,
-0.047505967,
-0.028876176,
0.027380148,
-0.054478023,
-0.02304731,
-0.012433974,
-0.050498024,
-0.0092796115,
-0.05106256,
0.01635752,
0.07056739,
0.017232556,
0.026999082,
-0.04728015,
0.045586534,
-0.0009605986,
0.0018056431,
0.006435746,
-0.0073390086,
0.049199585,
0.04979235,
-0.02613816,
-0.019914117,
0.06593817,
0.0036553908,
0.020831494,
-0.018248728,
0.055663556,
0.010479257,
0.047788236,
0.034832064,
0.0057089017,
0.029779438,
-0.043074336,
0.061647672,
0.052135188,
0.00037952024,
0.03915079,
-0.018516883,
-0.020972628,
-0.00033762085,
-0.02735192,
-0.035453055,
0.012920889,
-0.007039097,
0.024642132,
-0.039941143,
0.00746603,
0.015002627,
-0.031388376,
0.01010525,
0.027789438,
-0.040110502,
0.0346627,
0.014282839,
0.07931775,
-0.044852633,
-0.0043963483,
-0.017416032,
0.014833265,
0.021311352,
0.026999082,
0.039461285,
0.003581295,
0.023809437,
-0.0371749,
-0.033251353,
0.03206582,
0.017754756,
-0.008552767,
-0.0043398943,
-0.028876176,
-0.051965825,
0.017303124,
0.030089935,
0.050187528,
-0.0032831477,
0.036045823,
-0.025912344,
-0.006089966,
0.026152274,
0.006633335,
0.021014968,
-0.026265182,
0.024769153,
0.015680075,
-0.006485143,
-0.015736528,
-0.008835037,
-0.005380763,
-0.025912344,
-0.035820007,
0.037711214,
-0.009801811,
0.013054967,
-0.03279972,
0.015877662,
-0.026420431,
0.00035746794,
-0.04812696,
0.0051549478,
0.025418373,
-0.026307523,
-0.007734186,
-0.029158445,
0.02211582,
0.0132313855,
-0.03206582,
-0.0584298,
-0.02260979,
0.008348122,
-0.035283696,
0.031388376,
0.04951008,
-0.043723553,
-0.0044281036,
-0.031190787,
-0.0005319017,
0.0024592734,
0.0026709756,
-0.023301352,
-0.01776887,
0.0056136358,
0.009223158,
0.017345464,
0.0022105235,
0.007825923,
-0.026773268,
-0.046320435,
0.041465398,
-0.013160818,
-0.0379088,
0.011530711,
0.021692416,
-0.018756812,
0.011269612,
-0.0010355765,
-0.040421,
-0.018079365,
0.017387806,
-0.032150503,
-0.06915604,
0.020182272,
0.005102022,
0.008341066,
0.06322838,
-0.0022087593,
-0.0010832094,
0.050215755,
0.012306953,
-0.054844975,
-0.006439274,
-0.057470083,
-0.0045304266,
0.025390146,
-0.0041599474,
-0.0016574515,
-0.035368375,
0.01798057,
0.00815759,
-0.024359863,
0.009046739,
-0.0436671,
0.006827395,
0.009575995,
-0.024571564,
0.023343692,
0.049764123,
-0.048409227,
-0.0076636183,
-0.010782697,
0.010952059,
-0.009646562,
-0.014875606,
0.014678017,
0.07880966,
-0.021311352,
0.0061922884,
-0.038416885,
-0.025714757,
-0.021720642,
-0.056736182,
0.030823836,
-0.0028897347,
-0.028198728,
0.012349294,
-0.018841492,
-0.014494542,
-0.011107307,
-0.010994399,
-0.005356065,
0.024035253,
-0.0066545047,
-0.021692416,
-0.021946458,
0.019914117,
0.04747774,
-0.018643904,
-0.075704694,
-0.045925256,
0.03198114,
-0.0078188665,
0.009011456,
0.032461,
-0.0379088,
-0.024077592,
-0.06277675,
0.049735896,
-0.035283696,
-0.0088491505,
-0.044993766,
-0.06576881,
-0.018996742,
0.044767953,
0.010676846,
-0.010465144,
0.022454543,
-0.024275182,
-0.0047491854,
-0.030767381,
-0.034436885,
-0.020549223,
0.0059347176,
-0.03279972,
0.008750356,
-0.051090788,
0.0041387775,
0.015440145,
0.02860802,
0.0339288,
0.017387806,
-0.055127244,
-0.041126676,
-0.024134047,
-0.010761526,
-0.00815759,
0.057357173,
-0.015680075,
0.0241905,
-0.017557167,
0.052304547,
-0.012610393,
-0.01659745,
-0.0033184316,
-0.0066262777,
0.03088029,
-0.03810639,
0.012278725,
0.0021946458,
0.043187242,
0.010627449,
0.04970767,
-0.0147485845,
-0.009463087,
-0.033364262,
-0.11335945,
0.0299488,
-0.026928516,
-0.0026515697,
-0.0014616271,
0.018770926,
0.038586248,
-0.02845277,
0.03457802,
0.04600994,
0.007402519,
-0.026392203,
-0.04516313,
-0.010570995,
0.02373887,
-0.02730958,
-0.0057371287,
-0.00908908,
-0.041041993,
0.00839752,
-0.009724186,
-0.043892916,
-0.022976741,
-0.008672732,
0.01776887,
-0.0067286007,
0.030372204,
-0.016174046,
-0.027662417,
-0.05202228,
0.015680075,
0.05137306,
0.026124047,
0.015849436,
0.036582135,
0.017952343,
0.071809374,
-0.049622986,
-0.022694472,
-0.013817095,
0.049933486,
-0.014593336,
-0.050498024,
0.016611563,
0.011050853,
-0.06249448,
-0.030513339,
0.017839435,
-0.0008794461,
-0.018432202,
-0.00011445148,
-0.0007841801,
0.020393975,
-0.029892346,
0.019702416,
0.017218443,
-0.029638303,
-0.010324009,
0.03494497,
0.0021734757,
-0.031501282,
-0.00057336,
0.033618305,
-0.021904118,
-0.022892062,
-0.03579178,
-0.022835607,
-0.03505788,
-0.039545964,
0.05388526,
-0.011664789,
0.017274898,
0.008997343,
0.01733135,
0.055578876,
-0.00584298,
0.0030485112,
0.010098194,
0.0058323946,
-0.04152185,
-0.0013831208,
0.011897662,
0.018601565,
0.012582165,
-0.02555951,
0.024359863,
0.017825322,
0.02304731,
-0.02536192,
-0.08942299,
0.011333123,
-0.043638874,
-0.008270498,
0.022412203,
0.00051690615,
-0.011304895,
0.043074336,
-0.00571243,
-0.0149744,
-0.0015524826,
-0.01081798,
-0.025009083,
-0.016809152,
-0.054478023,
-0.00043487153,
-0.03206582,
-0.045981713,
-0.010422803,
-0.025390146,
0.032150503,
0.049143128,
-0.034182843,
-0.028791495,
-0.00085166015,
0.011523655,
0.017839435,
0.039207242,
-0.039207242,
0.003276091,
0.00018755489,
0.014790925,
-0.014268726,
0.016752698,
0.05360299,
-0.07485788,
0.003524841,
0.014988514,
0.0026021725,
-0.036215182,
0.01493206,
0.0292149,
-0.004537483,
0.0002809464,
-0.00010574082,
0.03311022,
-0.06091377,
-0.030823836,
-0.032856178,
-0.026180502,
0.014374577,
0.039179016,
0.0031437771,
0.04569944,
0.008284612,
-0.0001685899,
-0.011954116,
0.0018312237,
0.010563938,
-0.010119364,
0.020408088,
-0.018629791,
-0.0147485845,
-0.010020569,
0.03615873,
0.04905845,
-0.006523955,
0.004135249,
0.038529795,
-0.012328123,
0.026194615,
0.021650076,
0.021523053,
0.06373647,
0.034436885,
-0.009074966,
0.010542768,
-0.045981713,
-0.027323693,
-0.0072331573,
-0.048324548,
-0.05063916,
0.042961426,
-0.064922,
-0.0023269597,
-0.045671213,
-0.009272555,
-0.0023234312,
0.0147485845,
-0.004572767,
0.016851492,
0.024162274,
0.0011440738,
0.014706244,
-0.036836177,
-0.06847859,
0.015059081,
0.0067568277,
-0.033364262,
0.0006095258,
0.030259296,
0.011107307,
0.03680795,
-0.009258442,
-0.053518306,
-0.028565679,
0.027493054,
0.021085536,
0.00880681,
0.038247526,
-0.040421,
0.027337806,
-0.072430365,
0.0035495397,
0.030118162,
0.0292149,
-0.0076847887,
0.0031667117,
0.03522724,
0.029807664,
0.030936744,
0.012363407,
0.01858745,
0.028960856,
0.011354293,
-0.0011193752,
0.004907962,
0.016216386,
0.06627689,
0.06396228,
0.011326066,
-0.011255499,
0.043554194,
0.030061707,
-0.008016455,
0.03985646,
0.01891206,
0.00075595314,
0.021297239,
-0.006869735,
-0.017712414,
-0.029073764,
0.019758869,
-0.014875606,
0.02653334,
-0.0041670045,
-0.00069288356,
-0.0093925195,
-0.0063651786,
-0.01501674,
-0.009632449,
-0.015637733,
0.03265859,
0.031303693,
0.042820293,
0.02211582,
0.03347717,
-0.020520996,
0.020873833,
0.028339863,
-0.0036518625,
0.046066392,
-0.0037788837,
0.031755324,
-0.014466315,
0.04152185,
-0.032150503,
0.0017209622,
0.0019264898,
-0.0656559,
-0.023357807,
0.01655511,
0.027860004,
-0.0029020838,
0.045642987,
-0.00064304535,
-0.009194931,
-0.038614474,
0.026039368,
-0.046066392,
0.021212557,
0.031755324,
-0.030541565,
-0.02215816,
0.012151704,
-0.034098163,
0.004689203,
0.02901731,
0.09574583,
0.02358362,
0.05645391,
0.034069937,
0.0056101074,
0.00006891347,
0.0234566,
-0.02702731,
-0.040533908,
-0.011671846,
-0.016428089,
0.0007056739,
-0.078414485,
-0.04674384,
0.03867093,
0.030259296,
0.0010064674,
-0.017670074,
0.022906175,
0.022581564,
-0.020520996,
-0.013788868,
0.037231356,
-0.00015083779,
-0.033505395,
0.0032972612,
-0.011375464,
-0.050272208,
-0.0089056045,
-0.034916744,
0.06497845,
-0.020506883,
-0.010613335,
0.019039081,
-0.048917316,
-0.002815639,
0.03327958,
-0.007353122,
0.008383405,
0.02049277,
0.025023196,
-0.025700644,
0.021932345,
-0.011594222,
0.002071153,
0.047195468,
0.043441284,
0.030936744,
0.08185817,
0.039912917,
-0.01635752,
0.019434258,
0.029751211,
-0.0059841145,
-0.019250784,
-0.025615962,
0.003198467,
0.02142426,
-0.030710928,
-0.05044157,
0.021988798,
0.0382193,
-0.040844403,
-0.016625676,
-0.0656559,
0.04406228,
-0.05258682,
-0.010726243,
-0.02066213,
0.026674474,
-0.018234614,
-0.026561566,
-0.00096765533,
-0.051909372,
0.23552571,
0.054365117,
0.030259296,
0.04431632,
0.019307237,
0.06514782,
0.008263442,
-0.02893263,
-0.039461285,
-0.025333693,
0.018107591,
0.0026674473,
0.010507484,
-0.010959116,
-0.008256384,
0.02109965,
-0.03627164,
0.024289295,
-0.0020482184,
-0.021212557,
-0.060970224,
0.05227632,
-0.0040258695,
0.0066439197,
-0.009964115,
0.013894719,
-0.01793823,
-0.062381573,
-0.008820924,
-0.040844403,
0.032235183,
-0.017387806,
0.044372775,
-0.017133761,
0.0010144062,
0.024599792,
-0.001633635,
-0.06091377,
-0.015073194,
-0.04756242,
-0.03802171,
-0.02085972,
0.022835607,
-0.0016874427,
-0.009554825,
0.036497455,
-0.02698497,
-0.0014766227,
0.046066392,
-0.038247526,
0.03494497,
-0.02516433,
0.0036077579,
-0.072430365,
-0.022496883,
-0.022327522,
-0.057244267,
-0.049622986,
-0.0008895901,
0.032122277,
0.034888517,
0.036920857,
0.021311352,
-0.023498941,
-0.0038282808,
0.016145818,
0.008757413,
0.06452682,
0.008263442,
0.021537168,
0.03040043,
-0.011664789,
0.008249328,
-0.016978513,
0.025940573,
0.00908908,
-0.0142405,
0.040562134,
0.031670645,
-0.06599462,
0.029694756,
-0.010867378,
-0.01529901,
-0.01558128,
0.036102276,
0.06311547,
-0.031303693,
0.003733015,
-0.04005405,
0.0259688,
0.009216101,
0.037993483,
0.008616278,
0.016329294,
0.032235183
] | from datasets import load_dataset
dataset = load_dataset("food101", split="train[:100]")
Next, take a look at the image with 🤗 Datasets Image feature:
dataset[0]["image"]
Load the image processor with [AutoImageProcessor.from_pretrained]:
from transformers import AutoImageProcessor
image_processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224") |
[
0.02051123,
-0.0039160997,
-0.0005110247,
-0.0011107323,
0.017926253,
-0.01147786,
-0.0048433198,
-0.008661078,
-0.040629096,
0.034166653,
0.017940303,
-0.027254649,
0.018586546,
-0.033885676,
-0.012117079,
0.02712821,
-0.006241174,
-0.032171726,
-0.043270268,
-0.034588117,
-0.0020915132,
-0.017448595,
-0.04416939,
-0.043298364,
-0.03663924,
-0.01574869,
0.027774455,
-0.015144594,
0.05377876,
0.017322157,
-0.07114306,
-0.0156363,
0.003120587,
0.00334888,
-0.018179132,
-0.010634933,
0.017308107,
-0.042399243,
-0.026861284,
-0.016170155,
0.034503825,
0.033913776,
0.02341933,
-0.023686256,
-0.058723934,
0.01680235,
0.015369374,
-0.015327228,
-0.023011915,
-0.0025884893,
0.002848392,
0.0104593225,
0.013465763,
-0.004990832,
-0.001391708,
-0.013079422,
-0.022590451,
0.019274937,
-0.016633766,
-0.014793374,
0.0062446864,
0.022323525,
-0.018965865,
-0.05355398,
0.020103816,
0.014638837,
-0.050884712,
-0.040179536,
-0.01971045,
-0.00032882945,
-0.032593187,
-0.028153772,
0.0036456606,
0.00055185397,
0.006964687,
0.011843128,
0.012650934,
-0.008836688,
-0.027043918,
0.01680235,
-0.012103031,
0.014238447,
0.019513767,
-0.033576604,
0.030064406,
-0.018221278,
0.01889562,
0.00852059,
0.035768215,
-0.018727034,
-0.028603332,
0.045293294,
-0.061927058,
0.022281379,
0.03326753,
0.031019725,
-0.016844498,
0.052092906,
0.026186941,
0.026566258,
0.02514733,
0.08822639,
0.005791613,
0.067883745,
-0.016788302,
-0.01507435,
0.015341276,
-0.0071789306,
-0.102556154,
0.001907123,
0.04745681,
-0.023264794,
0.017898155,
-0.01993523,
-0.029024797,
0.028996699,
-0.0067328815,
0.027858747,
-0.034728605,
-0.008703224,
-0.018263424,
0.029614845,
0.027619917,
-0.0255126,
0.0068382476,
-0.04995749,
-0.037510265,
0.035318654,
-0.014140105,
0.018263424,
0.034279045,
-0.0039055631,
0.0030696602,
0.037650753,
-0.023812696,
0.00078541506,
-0.021241767,
0.0147231305,
0.006184979,
-0.00007573175,
0.007277272,
-0.000024900928,
-0.021845866,
0.05321681,
-0.0034805874,
0.009869274,
-0.008225566,
-0.014442154,
-0.02701582,
0.010698152,
-0.06299476,
-0.0012354153,
-0.019808792,
-0.009946542,
-0.011119616,
-0.020440986,
-0.009342444,
0.025259722,
-0.014217374,
0.00944781,
0.002923904,
-0.013142642,
-0.008703224,
0.032508895,
0.032087434,
0.025133282,
-0.03326753,
0.007041955,
-0.018291522,
-0.02667865,
0.05181193,
-0.031019725,
0.013388495,
-0.013212886,
0.026243137,
0.013135617,
0.03989856,
0.003584197,
-0.00044100024,
0.0012696593,
-0.003761563,
-0.052711055,
0.040994365,
0.015158642,
-0.03498148,
0.004846832,
0.012131128,
0.014350837,
0.02190206,
0.018755132,
0.031581677,
0.0021108305,
-0.025077088,
-0.0023268305,
-0.0313007,
0.008675126,
-0.032396507,
-0.038100313,
0.0052296612,
0.015200789,
-0.008661078,
0.00042321975,
-0.015467715,
-0.006792589,
-0.019036109,
-0.006578345,
0.023433378,
0.024430843,
-0.042146366,
0.059510667,
0.0039687827,
-0.019654255,
-0.0065045888,
0.021775622,
0.0019773669,
0.0009842932,
0.019963328,
0.002010733,
-0.014596691,
0.019443523,
0.052823443,
0.0049767834,
0.050378956,
-0.013353373,
0.026383623,
0.02840665,
0.012538544,
0.04964842,
0.05167144,
0.056082763,
-0.015889179,
0.062095642,
0.023138354,
0.016984984,
0.043326464,
0.034503825,
0.02908099,
0.035065774,
-0.025765477,
0.028729772,
-0.0032206846,
0.031975042,
0.04093817,
0.018221278,
0.012461275,
-0.022323525,
0.015397472,
-0.0071016625,
-0.0018737571,
0.0029871236,
-0.040179536,
0.023040013,
-0.018403912,
-0.015439618,
0.0138240075,
-0.0089842,
0.015355325,
0.030963529,
0.006216589,
-0.023433378,
0.0037580507,
0.043635536,
0.056981884,
0.012278641,
0.021171523,
0.06276999,
0.019387327,
0.004369173,
-0.045209,
-0.033070847,
-0.016268497,
-0.034840994,
-0.023391232,
-0.016549472,
0.037173092,
-0.03675163,
-0.05262676,
-0.0440289,
0.013212886,
-0.03860607,
-0.041331533,
-0.029361967,
-0.044057,
0.038999435,
0.034250945,
-0.0008820005,
-0.03026109,
0.0096234195,
0.028504992,
0.026172893,
-0.0030503431,
-0.05990403,
-0.043663632,
-0.0475411,
-0.010705177,
-0.03304275,
0.021536792,
-0.03779124,
-0.015594155,
-0.023939135,
-0.025920015,
-0.008183419,
-0.0301487,
0.0048081977,
-0.011997665,
0.030626358,
-0.023292892,
0.025217574,
0.0130091775,
0.035683922,
-0.058948714,
0.0027043917,
-0.0033348312,
0.038493678,
0.00090878096,
0.035543434,
0.018108888,
-0.028687626,
-0.0011809763,
-0.00829581,
-0.029249577,
-0.0077338577,
-0.040432412,
-0.03189075,
-0.012306739,
0.06737799,
-0.030851139,
-0.050407052,
-0.008703224,
-0.020258352,
0.007698736,
-0.02481016,
-0.015425569,
0.047035344,
0.06187086,
-0.0005922442,
-0.03616158,
0.05765623,
0.012341861,
0.05192432,
0.028490942,
-0.03071065,
0.04324217,
0.024262257,
-0.0014935618,
-0.0034015628,
0.04127534,
-0.021143427,
0.033576604,
-0.029333869,
0.04079768,
0.03498148,
0.00047897588,
0.029024797,
0.007445858,
0.008267712,
-0.06782755,
0.03082304,
0.018221278,
-0.019148499,
0.04380412,
-0.016942838,
-0.029418163,
0.00083326874,
-0.059173495,
-0.0475411,
0.027268698,
-0.029614845,
0.03779124,
-0.021326061,
0.0191204,
0.029586747,
-0.027928991,
-0.0147231305,
-0.012482348,
-0.011843128,
0.025231624,
0.018277474,
0.053525884,
-0.07968473,
0.009307322,
-0.01994928,
-0.016844498,
0.013788885,
0.011716689,
0.02004762,
0.010002737,
0.025063038,
0.016380887,
0.0010624396,
0.05009798,
0.007235126,
-0.0289686,
-0.021382255,
-0.05226149,
-0.054902665,
0.029783431,
0.047709685,
0.024093673,
-0.010803518,
0.018937767,
0.0059075155,
0.014231423,
0.048496418,
-0.013929374,
-0.014175227,
-0.029586747,
0.044113196,
-0.03408236,
-0.0014364886,
-0.016774254,
-0.0138521055,
0.017687425,
0.018038644,
-0.041556317,
0.026467917,
-0.01787006,
0.014154154,
-0.04683866,
0.021831816,
-0.04787827,
-0.02180372,
-0.055267934,
0.02398128,
0.021382255,
-0.033941872,
-0.0005733662,
-0.045377586,
0.034363337,
-0.0010668299,
-0.08491088,
-0.03026109,
-0.046417195,
0.005721369,
-0.014400008,
0.007108687,
0.040910073,
-0.009230054,
0.002160001,
-0.034279045,
-0.031918846,
-0.02062362,
0.012707129,
-0.040263828,
-0.028800016,
0.0336328,
0.032621287,
0.02573738,
0.031132115,
-0.0023145378,
-0.0036140508,
-0.04790637,
0.030963529,
-0.027732307,
0.020244304,
-0.0034120993,
-0.0020599035,
-0.0706935,
0.016282545,
-0.0063886866,
-0.023208598,
0.005011905,
0.022239232,
-0.05436881,
-0.04742871,
0.0036667336,
0.0018439034,
0.02422011,
0.059173495,
-0.004263807,
-0.0002689026,
0.008773468,
0.03200314,
-0.038100313,
-0.0041443924,
-0.053132515,
-0.024206063,
0.025793575,
-0.024992794,
0.003870441,
-0.0092722,
0.0048749293,
-0.019036109,
-0.04947983,
-0.040010948,
-0.044225585,
-0.0020546352,
0.032087434,
-0.009777957,
0.024739916,
0.043776024,
-0.036892116,
0.017308107,
-0.005735418,
-0.0016191228,
0.028800016,
-0.0025077087,
0.0063149305,
0.033576604,
-0.029137187,
0.022239232,
-0.021888012,
-0.04947983,
0.001764879,
-0.06052218,
-0.016338741,
-0.032424603,
0.005082149,
0.02354577,
-0.024852306,
-0.007923516,
-0.020778159,
-0.025596892,
0.0015927814,
0.036021095,
-0.001712196,
0.004256783,
-0.015509862,
-0.006343028,
0.052233394,
-0.0155801065,
-0.06591691,
-0.019555913,
0.024163915,
-0.016605668,
0.023672208,
0.008183419,
-0.030232992,
-0.015509862,
-0.045827147,
0.029755333,
-0.053385396,
-0.03801602,
-0.018052693,
-0.07693116,
-0.011639421,
0.0014154154,
0.0037123922,
0.001087903,
-0.011569177,
-0.05425642,
0.027999235,
-0.034250945,
-0.013992593,
-0.0056757103,
0.0095602,
-0.06389389,
-0.0002563904,
-0.006796101,
-0.046641976,
0.0336047,
0.03385758,
0.06591691,
0.02711416,
-0.014090935,
-0.0405729,
-0.036245875,
-0.007375614,
-0.0024111234,
0.0087804925,
-0.03444763,
0.034503825,
-0.03908373,
0.04245544,
0.009237078,
-0.044057,
0.0032189286,
-0.032284115,
0.03604919,
-0.037032604,
0.020764109,
-0.0032680994,
0.04416939,
0.024402745,
0.037819337,
-0.034644313,
-0.026959624,
-0.043045487,
-0.071367845,
0.046529587,
-0.016338741,
-0.02561094,
-0.028617382,
-0.015706545,
0.016324691,
-0.043045487,
0.05206481,
0.050828516,
-0.004797661,
0.0033559042,
-0.003909075,
-0.0072140526,
0.011555129,
-0.02573738,
-0.021817768,
0.023124306,
-0.042792607,
-0.013634349,
-0.05341349,
-0.06664745,
-0.018530352,
-0.014287618,
0.022070646,
-0.03551534,
0.027985185,
-0.0043761977,
-0.021663232,
-0.019148499,
0.03189075,
-0.0053736614,
-0.011084494,
0.005475515,
0.040010948,
-0.016732106,
0.04695105,
-0.0707497,
-0.064062476,
-0.016423034,
0.051334273,
-0.0021898549,
-0.07277273,
0.00085434195,
0.0104242,
-0.019555913,
-0.044309877,
0.0707497,
-0.06973819,
0.0024971722,
-0.0043024416,
0.023461476,
-0.00509971,
-0.044000804,
-0.01235591,
0.03919612,
-0.0073053697,
-0.0033611725,
0.033717092,
0.040769584,
-0.01154108,
-0.030064406,
0.04253973,
-0.038746558,
0.00025902453,
-0.040769584,
-0.033295628,
-0.017294059,
-0.031132115,
0.04093817,
0.007740882,
-0.0011607811,
0.02840665,
-0.012812495,
0.027437283,
-0.0034823434,
-0.0006436101,
0.0067855646,
-0.018122938,
-0.041303437,
-0.0023320988,
0.032143626,
0.012791421,
0.0063360035,
-0.038746558,
-0.02353172,
0.01611396,
0.05878013,
-0.028434748,
-0.058386765,
0.034588117,
-0.02039884,
-0.008436297,
-0.014835521,
-0.009019322,
-0.031047821,
0.009489956,
-0.048889782,
-0.023896988,
0.004653661,
-0.0024813672,
-0.004246246,
0.0055036126,
-0.02863143,
-0.022000402,
-0.019303035,
-0.015987521,
-0.01154108,
-0.05689759,
0.0052647833,
0.04647339,
-0.03026109,
-0.013781861,
-0.014807423,
0.0040003923,
0.0130302515,
0.058723934,
-0.0048222467,
-0.008773468,
-0.023166452,
0.026032405,
-0.02805543,
0.03026109,
0.01565035,
-0.055408422,
-0.007698736,
0.035206262,
-0.0037685875,
-0.029249577,
0.03430714,
0.05644803,
-0.024880404,
-0.0043270267,
0.0077619553,
0.007235126,
-0.053638272,
-0.03672353,
0.020258352,
-0.029052895,
-0.00030051236,
0.017209766,
0.026524112,
0.06619789,
0.001980879,
0.038634166,
-0.014378935,
-0.0028905382,
0.014877667,
-0.009567224,
0.020792207,
0.0033980506,
-0.013402544,
-0.019794744,
0.011962543,
0.024444891,
-0.006645077,
0.029390065,
0.028139723,
-0.03293036,
0.0027957088,
0.00712976,
-0.009180883,
0.07119926,
0.0162404,
-0.018165084,
0.04821544,
0.004095222,
-0.03225602,
0.013753763,
-0.04647339,
-0.062151838,
0.029052895,
-0.027802551,
-0.02399533,
-0.0155239105,
-0.020581475,
-0.017308107,
0.004112783,
0.028420698,
0.05495886,
0.004579905,
0.013655422,
0.021986354,
-0.036217775,
-0.06366911,
0.00904742,
0.055043153,
-0.019050157,
-0.011934445,
0.03186265,
0.020665767,
0.02690343,
-0.015256984,
-0.04695105,
0.008281761,
0.024262257,
-0.0028097576,
0.008078054,
0.046782464,
-0.057600033,
0.03278987,
0.0052296612,
-0.004098734,
0.000097573226,
0.024978746,
0.007874345,
-0.038915142,
-0.008443322,
0.023166452,
0.048665002,
-0.021522744,
-0.024908502,
0.031132115,
0.018923718,
0.0044078073,
0.00509971,
0.047344416,
0.0138872275,
0.057206664,
0.02052528,
0.033885676,
0.0382408,
0.045293294,
0.028013283,
0.037959825,
0.013191812,
0.013198837,
-0.0007046345,
-0.01657757,
-0.009223029,
0.0033278067,
-0.015285081,
0.012060884,
0.032958455,
0.01315669,
-0.022295427,
-0.021536792,
-0.02111533,
0.0074177603,
0.0013135617,
-0.052008614,
-0.0096585415,
0.05240198,
0.020370742,
0.018628692,
0.046501487,
-0.006578345,
0.018628692,
0.03515007,
0.020609573,
0.00944781,
0.027282747,
0.004727417,
0.0059847836,
0.035318654,
-0.028701674,
-0.0077689798,
0.025119234,
-0.024234159,
0.024430843,
0.030457772,
-0.000057018326,
0.024023429,
0.030345382,
-0.011857177,
-0.038634166,
-0.03883085,
0.050407052,
-0.05018227,
0.05091281,
0.04796256,
-0.050800417,
-0.021930158,
0.04346695,
-0.019569961,
0.005844296,
0.010789469,
0.06827711,
0.013550056,
0.09266581,
0.046641976,
-0.002799221,
0.0416968,
0.017139522,
-0.010529567,
-0.037735045,
-0.037201192,
0.039814267,
-0.0029695625,
-0.018979913,
-0.02422011,
0.020721963,
0.049536027,
0.002065172,
-0.00011919519,
0.000944781,
0.020019524,
0.017237863,
-0.021171523,
0.030738749,
-0.020497182,
-0.0003918295,
-0.0030608797,
0.02471182,
-0.025428306,
-0.024374647,
-0.034560017,
0.06293857,
0.038802754,
-0.019626157,
-0.017195717,
-0.02410772,
-0.016338741,
0.041303437,
-0.02156489,
-0.02818187,
0.07164882,
0.03026109,
-0.0020423427,
0.032199822,
0.0025340503,
-0.023152404,
0.05577369,
0.055801786,
0.012103031,
0.06850189,
0.058892522,
-0.013472788,
0.003312002,
0.036948312,
0.00004659149,
0.011674543,
-0.00033190261,
0.028378552,
0.042961195,
-0.013866154,
-0.030766847,
-0.005377174,
0.08440512,
-0.03663924,
0.003117075,
-0.06990677,
0.009763908,
-0.035768215,
0.01867084,
-0.016563522,
0.046108123,
-0.0020950255,
-0.012903812,
0.03467241,
-0.047175832,
0.23107447,
0.048749294,
0.029839626,
0.037060704,
0.06158989,
0.034391433,
-0.02377055,
-0.0070454674,
-0.00009170127,
-0.021002939,
0.036077287,
-0.0072070286,
0.001870245,
-0.015790839,
0.00021325621,
0.039814267,
-0.03152548,
0.010065957,
-0.000050460392,
0.008956103,
-0.04928315,
0.036330167,
-0.017884107,
-0.017589083,
-0.034279045,
0.022295427,
-0.00938459,
-0.026608406,
-0.02110128,
-0.048917882,
0.027802551,
-0.05009798,
-0.010353957,
-0.017195717,
-0.007200004,
0.0707497,
0.004063612,
-0.058049593,
-0.024374647,
-0.0231805,
-0.011716689,
-0.034026165,
0.01948567,
0.0056230277,
-0.036920216,
0.0509971,
-0.020932695,
-0.014048788,
0.03382948,
-0.054115932,
0.010866738,
-0.056026567,
-0.011871226,
0.00032136604,
-0.048187345,
-0.01808079,
-0.048833586,
-0.019696401,
0.028027333,
0.07018775,
0.020089768,
0.020778159,
-0.01541152,
-0.0038599046,
-0.029333869,
-0.011611324,
-0.0214525,
0.05065993,
-0.006258735,
-0.024543233,
0.050350856,
-0.018698936,
0.045518074,
0.003011709,
-0.0023461476,
0.044057,
-0.019569961,
0.06552355,
0.029952016,
-0.08788922,
0.00452371,
-0.0044078073,
-0.029109089,
-0.010325859,
0.015046252,
0.024388697,
-0.050856613,
-0.0017499522,
-0.005939125,
-0.0060971742,
0.030654456,
0.027760405,
-0.01310752,
-0.021185573,
0.00090526877
] | processed_dataset["input_values"][0].shape
(100000,)
processed_dataset["input_values"][1].shape
(100000,)
Computer vision
For computer vision tasks, you'll need an image processor to prepare your dataset for the model.
Image preprocessing consists of several steps that convert images into the input expected by the model. These steps
include but are not limited to resizing, normalizing, color channel correction, and converting images to tensors. |
[
0.04506913,
0.014515445,
0.029422065,
0.019614711,
-0.011812136,
-0.01656912,
-0.0032953133,
0.01346765,
-0.015758827,
0.059905898,
0.044705894,
0.0045683836,
0.012852944,
-0.018958094,
-0.035317656,
0.07834708,
-0.017421328,
-0.055100013,
-0.053926483,
0.009988973,
-0.0106595615,
-0.00886434,
-0.07873826,
-0.043588247,
-0.018147798,
-0.0021444857,
0.012035665,
-0.0156191215,
0.087176494,
0.025300741,
-0.0510206,
-0.014305886,
-0.009018017,
-0.008298531,
-0.018720593,
-0.012594488,
0.034144126,
-0.025328683,
-0.038866185,
-0.015060298,
0.02007574,
0.0019384196,
0.049232364,
-0.012769121,
-0.039732363,
0.008466179,
0.00092380535,
0.011833091,
-0.0252728,
-0.004949082,
-0.008829414,
0.019433092,
0.023722064,
-0.00932537,
-0.0035153502,
0.009115811,
-0.021207359,
-0.0064718765,
-0.04819854,
0.013768018,
-0.009073899,
0.018455151,
-0.016541181,
-0.064823546,
0.034367654,
0.030288244,
-0.03369707,
-0.045013245,
-0.0006919809,
-0.03489854,
-0.012566547,
0.0017541824,
-0.008396326,
-0.0008172796,
-0.013125371,
0.008522061,
0.048086777,
-0.02784339,
-0.009849267,
0.025230888,
-0.01462721,
0.012901842,
0.00966765,
-0.019167652,
-0.022297064,
-0.025454419,
0.035122067,
0.014305886,
0.013537504,
0.008857355,
-0.020019857,
0.04551619,
-0.018776475,
-0.011064708,
0.03565295,
0.053200014,
-0.0033791368,
0.037636776,
0.019167652,
-0.004229597,
0.044286776,
0.092820615,
-0.0015856621,
0.036100008,
-0.021612504,
0.05286472,
0.041157365,
-0.015381621,
-0.064488254,
0.0020676476,
0.027424272,
-0.0012320315,
0.04601913,
-0.026376477,
-0.033669125,
0.011644488,
-0.007572061,
0.03431177,
-0.041967656,
-0.025454419,
0.010673532,
0.04344854,
0.012699268,
-0.031517655,
-0.0009255517,
-0.060073543,
-0.04230295,
0.034172066,
-0.018315446,
0.026711771,
-0.0076069874,
-0.026558096,
0.031322066,
0.060632367,
0.014934562,
0.023638241,
-0.04884119,
-0.01725368,
0.02008971,
-0.01792427,
0.025384566,
0.0022108462,
-0.04221913,
0.061750013,
0.011064708,
-0.008703679,
0.03637942,
-0.03660295,
0.0062937518,
0.021710299,
-0.09025002,
-0.004355332,
-0.036686774,
-0.0073275752,
0.012322062,
-0.021123534,
-0.0020327212,
-0.02340074,
0.008703679,
0.020969858,
0.0026509198,
-0.018008092,
-0.026823536,
0.027186772,
0.038391188,
-0.01015662,
-0.033920597,
0.013425739,
-0.009835296,
-0.02880736,
0.023093387,
-0.012685297,
0.016247798,
-0.013740077,
0.05381472,
0.05571472,
0.026348537,
-0.0058397073,
0.009479047,
-0.0037545965,
-0.020732358,
0.012440812,
0.063147075,
-0.016499268,
-0.017561033,
-0.021361034,
-0.030595595,
0.015898533,
0.0017105243,
0.026879419,
0.036435302,
0.013635297,
0.0029460485,
-0.000312592,
-0.03665883,
-0.03067942,
-0.03330589,
0.007844487,
-0.0013420499,
-0.00025845596,
-0.047444128,
0.005864156,
-0.04465001,
0.02173824,
-0.006405516,
-0.0012372705,
-0.0011822613,
0.015325739,
-0.021472799,
0.019726476,
0.023680152,
-0.005137685,
0.023316918,
0.012007724,
-0.011735297,
-0.027438242,
-0.02831839,
0.018608829,
0.0054555163,
0.008305517,
0.057726484,
0.002560111,
0.017644858,
-0.012894856,
0.029533831,
0.004641729,
0.013132356,
0.077788256,
0.022101477,
0.05901178,
-0.014431621,
0.056552954,
0.04819854,
0.020830153,
0.033082362,
0.034786772,
0.072814725,
0.022883829,
-0.028472066,
0.018329415,
0.003089247,
0.012063606,
0.006450921,
0.028178683,
-0.009038973,
0.018455151,
0.010324268,
-0.008836399,
0.004690626,
0.022632359,
-0.040458832,
0.059626486,
0.00236103,
0.008550002,
-0.03330589,
-0.015479416,
0.016247798,
0.03710589,
0.021836035,
-0.008913238,
0.005532354,
0.024881624,
0.01015662,
-0.007250737,
0.011742283,
0.042191185,
0.038335305,
0.037664715,
-0.016471328,
-0.010009929,
-0.014571327,
-0.032886773,
-0.04107354,
-0.026278682,
-0.017658828,
-0.01866471,
-0.009283458,
-0.03612795,
0.011113605,
-0.004554413,
-0.029002948,
-0.03380883,
-0.031825006,
0.028304419,
0.056273542,
-0.015884563,
-0.073820606,
0.021151476,
0.010603679,
0.050098542,
-0.009884194,
-0.005273898,
0.014976474,
-0.049288247,
0.009101841,
-0.020634564,
0.0008526427,
-0.021584565,
-0.006953862,
0.017756622,
-0.0321603,
0.018958094,
-0.049483836,
-0.04107354,
-0.024616182,
0.044426482,
0.039732363,
0.0142639745,
0.029170595,
0.025384566,
-0.007893384,
-0.011574635,
0.027494125,
0.04797501,
-0.034367654,
0.021067653,
0.0472206,
-0.0288353,
-0.0022772064,
-0.027116919,
-0.05504413,
-0.006782722,
-0.0209978,
-0.029701479,
-0.006856068,
0.082817666,
-0.0274103,
-0.053702954,
-0.01842721,
-0.048282366,
-0.0062762885,
-0.030316183,
-0.025608094,
0.052752953,
0.056552954,
-0.0025478867,
-0.053283837,
-0.0050852955,
-0.0069468766,
0.035820596,
0.03260736,
-0.02877942,
0.027019124,
0.038838245,
0.008298531,
0.0060946704,
0.04364413,
-0.05579854,
-0.029170595,
0.017183827,
0.023987506,
0.024588242,
0.028975008,
0.051607367,
-0.008661767,
0.0049944865,
-0.053423543,
0.0082147075,
0.013383827,
-0.0054799644,
0.02903089,
-0.0008316868,
-0.018944122,
-0.0035083648,
-0.04794707,
-0.054457366,
0.004645222,
-0.008871325,
0.03140589,
-0.048282366,
-0.0013228405,
0.03305442,
-0.022869859,
-0.022646328,
0.013265077,
0.027941184,
0.048002955,
0.02928236,
0.034255892,
-0.053675015,
-0.062867664,
0.0063147075,
-0.019000005,
0.055435307,
0.045935307,
0.047639716,
0.015213975,
0.011120591,
-0.0040619494,
-0.0030124087,
0.014976474,
0.019558828,
-0.0138239,
-0.034339715,
-0.051523544,
-0.06638825,
-0.0034909016,
0.06834413,
0.030036772,
0.009486032,
0.010554782,
-0.015968386,
0.036714714,
0.04017942,
-0.022380888,
-0.006377575,
-0.0491206,
0.06443237,
0.023037506,
0.038866185,
-0.0025042286,
-0.017072063,
0.015395592,
0.0071180165,
-0.025454419,
0.0005142924,
-0.025761772,
0.016820593,
0.008836399,
0.0269353,
-0.014738974,
-0.007683825,
-0.030819125,
-0.0074323546,
0.043280892,
-0.026725741,
0.009527943,
-0.06348237,
0.04504119,
0.019265447,
-0.0120147085,
-0.042442657,
-0.03917354,
0.0025112138,
-0.05806178,
0.03431177,
0.046186775,
-0.036407363,
0.015172062,
-0.04182795,
-0.041883834,
-0.011253311,
-0.036714714,
0.00074524374,
-0.011148532,
0.019461034,
0.025216918,
0.005218016,
0.011784194,
-0.014864709,
0.02053677,
-0.019013975,
0.024490448,
-0.030064713,
-0.03204854,
-0.006496325,
-0.022939712,
-0.026739713,
0.018734563,
0.027480153,
-0.012322062,
-0.019195594,
-0.0022737137,
-0.02481177,
-0.056804426,
0.03045589,
0.021780152,
-0.017463239,
0.06566178,
-0.015758827,
0.0112114,
0.033836775,
0.047248542,
-0.011595591,
-0.017994123,
-0.026655888,
0.0073764725,
0.012231253,
-0.0359603,
0.04065442,
-0.010009929,
0.007851472,
-0.025929417,
-0.033110302,
-0.013320959,
-0.056245603,
-0.040961776,
0.014361768,
-0.042554423,
0.050377954,
0.033194125,
-0.03780442,
-0.017323533,
-0.010450003,
0.018580887,
-0.005595222,
0.0077117668,
-0.02173824,
0.029897066,
0.010806252,
0.043280892,
-0.024043389,
-0.006737318,
0.033669125,
-0.027675742,
-0.016820593,
-0.020913975,
-0.0045893393,
0.020983828,
-0.02925442,
-0.016247798,
0.0071319873,
-0.025314713,
-0.0009892925,
-0.012049635,
-0.020718388,
0.011246326,
-0.025105154,
0.00215671,
0.021891918,
-0.031517655,
-0.04984707,
-0.017910298,
0.04065442,
-0.009604782,
-0.02126324,
0.0042191185,
-0.0326353,
-0.061414722,
-0.05599413,
0.011204414,
-0.025468389,
-0.018525004,
-0.05901178,
-0.068847075,
0.0065417294,
0.016946327,
0.0118191205,
-0.032076478,
0.008480149,
-0.06068825,
0.0113650765,
-0.049455896,
0.003407078,
-0.017281622,
0.027494125,
-0.03702207,
0.012545591,
-0.0063426485,
-0.015688974,
0.016625004,
0.0138797825,
0.049176484,
0.02316324,
-0.018678682,
-0.03232795,
-0.017197799,
-0.011511767,
-0.002872703,
-0.0027068022,
-0.024658095,
0.031070596,
-0.027088977,
0.06264413,
-0.0126364,
-0.053423543,
-0.0057174647,
-0.036295597,
0.056804426,
-0.044230893,
0.01774265,
0.005525369,
0.016038239,
0.006339156,
0.026697801,
0.02950589,
0.003779045,
-0.048086777,
-0.0849412,
0.049008835,
-0.016708829,
-0.02810883,
-0.008445223,
-0.01602427,
0.039117657,
-0.031713244,
0.034842655,
0.06538237,
-0.016191917,
0.03023236,
-0.01464118,
0.013921695,
-0.017784564,
-0.041185305,
-0.0051935674,
0.027200742,
-0.043727953,
-0.0006727713,
-0.04249854,
-0.05599413,
-0.021584565,
-0.01628971,
0.030120596,
0.018091917,
0.040011775,
-0.008424267,
-0.048701484,
-0.03515001,
0.0209978,
0.008710664,
-0.007009744,
0.0031276662,
0.0233728,
0.02027133,
0.015912503,
-0.029897066,
-0.040067658,
-0.0033215082,
0.077508844,
-0.01841324,
-0.041772068,
0.0037511038,
0.021402946,
-0.03185295,
-0.07566472,
0.0017061585,
-0.033417657,
-0.028527949,
-0.0274103,
0.027787507,
0.015549269,
-0.07968826,
0.05811766,
0.036798537,
-0.044258833,
0.0017227486,
0.0018091917,
0.0026823536,
-0.016205886,
-0.013726106,
0.056916192,
-0.039145596,
-0.0038838245,
-0.008885296,
-0.03232795,
-0.031433832,
-0.005057354,
0.040682364,
0.011930886,
0.007208825,
0.0257478,
0.018804416,
0.047080893,
-0.008948164,
0.040570598,
0.031741183,
-0.022283094,
-0.048254423,
-0.006663972,
0.0269353,
0.014277944,
0.0091786785,
-0.012070592,
-0.025286771,
0.009171694,
0.057279427,
-0.022366917,
-0.078514725,
0.060744133,
-0.025957359,
-0.010820223,
-0.008913238,
-0.015227945,
-0.016974268,
0.04163236,
-0.018986033,
-0.058229428,
-0.017910298,
0.00908787,
0.00007645624,
0.027815448,
-0.0316853,
-0.006377575,
-0.0138797825,
-0.014543386,
-0.015772797,
-0.024127211,
0.00013108345,
0.021151476,
0.009793385,
-0.007460296,
-0.0066744504,
-0.0054136044,
0.026138976,
0.010561767,
-0.011965812,
-0.012657356,
-0.007411399,
0.0005029413,
-0.02928236,
0.038530894,
0.024588242,
-0.032383833,
-0.014222062,
0.03280295,
0.025957359,
-0.028416183,
0.043811776,
0.04509707,
-0.01770074,
-0.0074952226,
0.006723347,
-0.0025705888,
-0.0633706,
-0.022213241,
-0.03847501,
-0.04585148,
0.00943015,
0.01890221,
0.020830153,
0.03685442,
-0.035317656,
0.02763383,
0.00068630534,
-0.0005252069,
0.026600007,
-0.003056067,
0.009737503,
-0.03302648,
-0.005923531,
-0.025356624,
0.01631765,
0.019251475,
-0.008941179,
-0.009297429,
0.006307722,
-0.007935296,
-0.0027731624,
0.00089411787,
-0.012643386,
0.054960307,
0.015702944,
-0.027214713,
0.010554782,
-0.010841179,
-0.03327795,
0.015144122,
-0.07007649,
-0.0467456,
0.02998089,
-0.04417501,
0.0154235335,
0.003562501,
-0.027955154,
-0.0029512874,
0.017672798,
-0.02950589,
0.022981623,
0.020927947,
0.009674635,
0.019530887,
-0.017547064,
-0.047360305,
0.0029285853,
0.035541184,
-0.039508834,
0.011413974,
0.0022789529,
0.012929782,
0.038754422,
0.004271508,
-0.022129416,
0.008410296,
-0.016163975,
0.023540447,
-0.0047185672,
0.029394126,
-0.020299269,
0.011784194,
-0.03948089,
-0.010862135,
-0.01357243,
0.0032761036,
-0.0018982542,
-0.024225006,
0.002818567,
0.04082207,
-0.0017899821,
-0.025859565,
-0.021891918,
0.03964854,
0.022534564,
-0.014431621,
-0.0029495412,
0.015004415,
0.04652207,
0.036072068,
-0.0026421882,
0.00123989,
0.006782722,
0.01581471,
0.035066184,
-0.00062125473,
0.02880736,
0.0135864,
0.0018039526,
0.0032376847,
0.010519856,
-0.06772943,
-0.017840445,
-0.010666546,
0.036407363,
-0.006140075,
-0.014752945,
-0.019433092,
-0.046354424,
0.009814341,
0.020900005,
-0.058452956,
0.0041387877,
0.054960307,
0.019293386,
0.024686035,
0.044482365,
-0.0066290456,
0.013481621,
0.03235589,
0.042582363,
0.02409927,
0.025370594,
0.026823536,
0.0056685675,
0.057055898,
-0.021528682,
-0.010771326,
-0.020187505,
-0.044007365,
0.010945959,
0.01958677,
-0.031601477,
0.015884563,
-0.015661033,
-0.015283828,
-0.02810883,
-0.00037567795,
0.039788246,
-0.0713059,
0.02482574,
0.06068825,
-0.026837507,
-0.011022797,
0.04585148,
0.03428383,
-0.012559562,
0.01584265,
0.06823237,
0.011679415,
0.048729423,
0.06856766,
0.009954046,
0.04082207,
0.026627949,
-0.028863242,
-0.038167655,
-0.039313246,
0.021905888,
-0.0017445777,
-0.029002948,
-0.03872648,
0.020480888,
0.00021316067,
-0.029897066,
-0.04230295,
0.015241915,
0.017351475,
-0.022688242,
-0.029394126,
0.069852956,
0.014934562,
-0.0032568942,
0.0042610303,
-0.024853682,
-0.028192654,
0.0207603,
-0.060744133,
-0.001029458,
0.00779559,
-0.031098537,
-0.028919125,
-0.005291362,
-0.0121404445,
-0.019209564,
-0.014250004,
-0.034060303,
0.057782367,
0.010310297,
0.02998089,
0.0074463254,
-0.033557363,
-0.013761032,
0.0316853,
0.048310306,
-0.002689339,
0.058229428,
0.06046472,
-0.0056196707,
-0.028486036,
0.021780152,
-0.011539709,
-0.0039816187,
-0.004100369,
0.013733092,
0.04934413,
-0.039927952,
-0.045683835,
-0.02998089,
0.0022283094,
-0.029813243,
-0.025677947,
-0.03827942,
-0.017533092,
-0.06990884,
-0.014256989,
-0.021668388,
0.02478383,
-0.019069858,
0.014243018,
0.0067617665,
-0.07063531,
0.22889417,
0.03118236,
0.0146551505,
0.019922065,
0.052026484,
0.04350442,
-0.004582354,
-0.048813246,
-0.023484565,
-0.03604413,
0.008738605,
-0.015898533,
0.013425739,
-0.009038973,
0.002306894,
0.034814715,
-0.049902953,
-0.005417097,
0.0013699911,
-0.017826475,
-0.04750001,
0.05761472,
0.012356988,
0.061079428,
0.04439854,
0.0453206,
0.025650006,
-0.04738825,
-0.027829418,
-0.048785307,
0.04562795,
-0.034842655,
0.026348537,
-0.014361768,
0.014557357,
0.023288976,
0.007600002,
-0.034060303,
0.002781894,
-0.030847067,
0.008123899,
-0.0006059744,
0.013320959,
0.002113052,
-0.041883834,
0.0047988985,
-0.012804047,
0.033389714,
0.003262133,
-0.059626486,
0.025622064,
-0.053451482,
0.011127576,
-0.02314927,
-0.073541194,
-0.009653679,
-0.042582363,
-0.028947067,
0.020788241,
0.06236472,
0.018832358,
0.011476841,
0.00018270915,
0.018036034,
-0.041911773,
0.011253311,
-0.022786034,
-0.0016686126,
0.0071669137,
-0.0002146887,
0.025929417,
-0.0018720593,
0.016471328,
-0.005259928,
-0.008522061,
0.056301486,
-0.023568388,
0.048226483,
0.034172066,
-0.055407368,
0.01723971,
-0.014711033,
0.010303311,
-0.038922068,
0.0019977947,
0.058173545,
-0.053758837,
0.021053681,
0.026306624,
-0.012377944,
0.05314413,
0.044007365,
0.0038174642,
0.00022025511,
0.0129786795
] | Apply the preprocess_function to the first few examples in the dataset:
processed_dataset = preprocess_function(dataset[:5])
The sample lengths are now the same and match the specified maximum length. You can pass your processed dataset to the model now!
processed_dataset["input_values"][0].shape
(100000,)
processed_dataset["input_values"][1].shape
(100000,) |
[
0.02749786,
-0.013604059,
-0.00056784187,
-0.03512772,
0.027856588,
-0.0193575,
-0.020392291,
-0.0030595337,
0.013576465,
0.04213671,
0.032533847,
-0.020061158,
0.025842194,
-0.033968758,
0.035569232,
0.04164001,
-0.0072090477,
-0.023786407,
-0.045999933,
-0.02620092,
-0.039735995,
-0.015066564,
-0.055630393,
-0.014556067,
-0.024710821,
-0.0006441577,
0.039046135,
-0.009044078,
0.056209873,
0.03965321,
-0.046524227,
0.06523326,
-0.01732931,
0.02913973,
-0.03394116,
-0.019040164,
0.03449305,
-0.008305927,
-0.050056316,
-0.018571058,
0.020171536,
-0.018998772,
0.020378495,
-0.029746806,
-0.046717387,
0.00210925,
-0.004739345,
-0.01721893,
-0.014224934,
-0.0027301249,
-0.008278332,
-0.0056292657,
0.022254916,
0.0015720208,
-0.026269907,
0.022310104,
0.0079334015,
-0.003126795,
0.0012676195,
0.008333521,
-0.0040287883,
0.012762428,
-0.029194918,
-0.046275876,
0.020557858,
0.01121714,
-0.0153839,
-0.016598055,
-0.014818215,
0.024227919,
-0.02119253,
-0.029112134,
0.03791476,
-0.017039567,
0.025248913,
0.0077195447,
0.005377467,
0.010458292,
-0.029774401,
0.009796026,
-0.018874597,
0.025290305,
0.01181042,
0.013355709,
-0.015604656,
0.008243839,
0.049559616,
-0.005205001,
0.047324464,
-0.07152479,
-0.05927286,
0.05151882,
-0.03628669,
0.009271732,
0.00983052,
0.051353253,
-0.012900401,
0.059603993,
0.026118137,
0.0044634007,
0.0079816915,
0.07329083,
0.008609465,
0.06423986,
-0.054443832,
0.020888992,
0.02809114,
0.011341315,
-0.045696393,
-0.047434844,
0.052677788,
0.013093562,
-0.0061190673,
0.018226128,
0.007022785,
0.024034757,
-0.021247718,
0.008402507,
-0.03032629,
-0.020930383,
0.012093264,
0.010568671,
-0.011210241,
-0.007816126,
0.013769626,
0.0033941162,
-0.030409073,
0.03777679,
-0.017826008,
0.023579448,
-0.0024041657,
-0.027208118,
0.0010287552,
0.05761719,
-0.066226654,
-0.011030878,
-0.026490662,
0.04139166,
-0.025428277,
-0.014418095,
0.005901761,
0.024531458,
-0.03841146,
0.04208152,
-0.0061811544,
0.0028818944,
0.009057875,
-0.012996982,
-0.012217439,
0.0039425557,
-0.011624158,
0.007919604,
0.012741732,
0.028725812,
-0.019578256,
-0.020764817,
-0.03957043,
0.015659845,
-0.017356902,
-0.015659845,
0.025248913,
0.022103148,
-0.0153839,
0.028311895,
0.018722828,
0.036755793,
-0.0322579,
-0.015521873,
-0.023193127,
-0.019743823,
0.02938808,
-0.022061756,
-0.009057875,
-0.009858114,
0.022254916,
0.054830153,
0.03082299,
0.00050704787,
0.0036045238,
-0.041915953,
-0.041612417,
-0.027622035,
0.02491778,
0.01047209,
-0.007960996,
0.011568969,
-0.0052532917,
0.03512772,
0.040122315,
0.012562369,
0.02094418,
0.0074573974,
-0.0054464526,
0.0079816915,
-0.026559649,
0.014942389,
-0.040812176,
-0.029746806,
-0.0046289675,
-0.031264503,
0.011396504,
-0.017977778,
-0.02858784,
0.0106790485,
-0.019743823,
-0.00010859921,
-0.020309508,
0.04337846,
-0.030960962,
0.05587874,
0.016460083,
-0.0034906967,
-0.023372492,
0.010161652,
0.037997544,
0.0010235813,
0.0037011043,
-0.006702,
-0.003939106,
0.04064661,
0.022213524,
-0.028505057,
0.04497894,
-0.008071374,
-0.004591025,
0.022213524,
0.017991574,
0.045723986,
0.02793937,
0.001057212,
-0.020419886,
0.043737188,
0.013493681,
-0.012983184,
0.019826606,
0.023400085,
0.030657424,
0.004077079,
-0.023055155,
-0.0030336638,
0.015632251,
0.039266888,
0.03981878,
0.03231309,
-0.010092666,
-0.020419886,
0.021965174,
0.0124037005,
0.04031548,
0.012445092,
-0.05816908,
0.022406686,
0.009892607,
0.020668237,
-0.024697024,
0.0020799309,
-0.002461079,
0.008871612,
-0.031485256,
-0.03940486,
-0.057562,
0.045972336,
0.042550627,
-0.03512772,
0.055023313,
0.012327816,
0.018778017,
0.0062846337,
-0.018184736,
-0.024697024,
-0.040977743,
-0.061425224,
-0.017343106,
-0.019840403,
-0.007202149,
-0.015963383,
-0.021054558,
-0.07533282,
0.016115153,
-0.01712235,
-0.020433683,
-0.008216244,
-0.04208152,
0.035017345,
0.01905396,
0.013824815,
-0.037390467,
0.038632218,
0.005249842,
0.02317933,
0.021233922,
-0.037887167,
-0.031181717,
-0.015176943,
-0.024434878,
-0.029912373,
0.033527244,
-0.018198533,
-0.03463102,
0.0089061055,
0.001469404,
-0.012727936,
-0.04075699,
0.02293098,
-0.012445092,
0.019012569,
0.0044944445,
0.001461643,
0.03319611,
0.041584823,
-0.06208749,
0.05008391,
-0.023496665,
0.059493612,
-0.00853358,
-0.011203343,
0.011989784,
-0.017908791,
-0.008864714,
-0.030105535,
-0.030795395,
0.02506955,
-0.014376704,
-0.0049669994,
-0.06931724,
0.053422835,
-0.004722099,
-0.064295046,
-0.021137342,
-0.008257636,
-0.000058260917,
-0.032175116,
-0.032037146,
0.02902935,
0.048124705,
-0.010099566,
0.0032233757,
0.03716971,
0.010092666,
0.033968758,
-0.0040322375,
-0.013817916,
0.071138464,
-0.0038425259,
-0.018281316,
0.035431262,
0.014183543,
-0.03330649,
0.03634188,
-0.03510013,
0.05554761,
0.015466684,
-0.027442671,
-0.011782826,
0.006046632,
-0.014583662,
-0.04895254,
0.04809711,
0.03256144,
-0.041750386,
0.034548238,
0.013321216,
-0.006646811,
-0.002849126,
-0.024903983,
0.00382183,
0.015232131,
0.0132798245,
0.045061722,
-0.0009451096,
-0.00012406718,
-0.01731551,
-0.06059739,
0.0106307585,
-0.01265895,
-0.0079816915,
0.05196033,
-0.045199692,
0.051353253,
-0.09122722,
-0.01721893,
0.017205134,
-0.017729428,
0.015301117,
-0.03319611,
0.018543463,
-0.011355112,
0.037142117,
0.005370568,
-0.006339823,
0.04426148,
-0.00080627506,
-0.031098934,
-0.021468475,
-0.057948325,
-0.03910132,
0.008023083,
0.056954924,
0.006139763,
-0.013383304,
0.025938774,
0.012383005,
-0.010389307,
0.001747073,
0.0046427646,
-0.03810792,
-0.029884778,
0.033223707,
-0.017108552,
-0.029719213,
-0.017343106,
-0.002700806,
0.021675432,
0.0006657159,
-0.033913568,
0.037004143,
-0.024641836,
-0.0132798245,
-0.026380286,
0.0779267,
-0.06440543,
0.016501475,
-0.052539814,
-0.0069917412,
0.031954363,
-0.03667301,
0.0039287587,
-0.047269277,
0.054140292,
-0.0052636396,
-0.07472575,
-0.019936983,
-0.017025769,
0.0046841563,
-0.019150542,
-0.0090509765,
0.01479062,
-0.008340419,
0.021661635,
-0.012334715,
-0.004594474,
0.025179926,
0.022406686,
0.0012796922,
-0.04006713,
0.034824185,
0.0327546,
0.043433648,
0.04953202,
-0.021206327,
0.042605817,
-0.064681366,
0.033030543,
-0.024007164,
0.022530861,
0.009658054,
0.038687404,
-0.056099497,
0.0095614735,
0.0074780933,
-0.0066330135,
-0.009402806,
0.009720142,
-0.09569752,
0.0104858875,
-0.0022610195,
-0.012465788,
-0.000935624,
0.058445025,
0.013031474,
0.011334416,
0.0005721535,
0.030657424,
-0.039735995,
0.003538987,
-0.06975874,
-0.030381478,
0.016087558,
-0.01037551,
-0.016708434,
-0.020033564,
0.021703027,
-0.035376072,
-0.022103148,
-0.052843355,
-0.01851587,
0.01568744,
0.05469218,
-0.021123543,
0.043488838,
0.009506284,
-0.016860204,
-0.000045864977,
-0.022020364,
0.011293025,
-0.012900401,
-0.015521873,
0.041308876,
0.008209346,
-0.028063545,
0.009996086,
-0.040149912,
-0.05524407,
-0.014969984,
-0.027966965,
0.0008644821,
-0.00878193,
-0.030960962,
0.007988591,
0.0008291267,
-0.05151882,
-0.016639447,
-0.04909051,
0.021013167,
0.046137903,
-0.04760041,
0.031788796,
-0.039487645,
-0.01811575,
0.05033226,
-0.045282476,
-0.094814494,
-0.05314689,
0.01846068,
-0.021758216,
0.016363503,
0.005208451,
-0.026435474,
0.017798414,
-0.052346654,
0.03250625,
-0.040287882,
-0.03910132,
-0.028422274,
-0.018239925,
-0.00669855,
0.039901562,
0.011265431,
-0.028215315,
0.009947795,
-0.0382183,
0.032589033,
-0.05587874,
-0.028284302,
-0.016322112,
-0.0322579,
-0.028422274,
0.027125334,
0.010954993,
-0.03647985,
0.038025137,
0.005877616,
0.032451063,
0.00908547,
-0.021206327,
-0.0203509,
-0.038301084,
-0.018446883,
0.0028094589,
0.0006639912,
-0.0060086893,
0.022420483,
-0.056099497,
0.064184666,
0.005098073,
0.042964544,
0.002536964,
-0.034355078,
-0.009658054,
-0.045310073,
0.023413884,
-0.026863188,
0.025883585,
0.017646644,
-0.0072849323,
-0.017039567,
0.024255512,
-0.037086926,
-0.08300408,
0.061314847,
-0.051132496,
-0.01647388,
-0.050249476,
0.029194918,
0.028367085,
-0.014680242,
0.019136744,
0.05127047,
0.04045345,
-0.019095352,
-0.008547378,
0.02620092,
0.019536864,
-0.0144456895,
-0.02069583,
0.05317449,
-0.037997544,
-0.052043114,
-0.034520645,
-0.046965737,
-0.02199277,
0.032202713,
0.017453484,
-0.030960962,
0.019067759,
0.0117966235,
0.0022575702,
0.01379722,
0.022958575,
0.000041364714,
-0.016004775,
0.023068951,
0.024655633,
-0.028670624,
0.025055751,
-0.02933289,
-0.07516725,
-0.005236045,
0.036948957,
0.02516613,
-0.044647805,
0.009595967,
0.006094922,
-0.043102514,
-0.056789357,
0.025745614,
-0.010437597,
0.012665848,
-0.010002985,
0.049228482,
-0.027760006,
-0.030133128,
0.00491526,
0.017881198,
-0.01746728,
0.024738416,
0.03954283,
0.003047461,
-0.015135551,
0.012610659,
0.04194355,
-0.030905774,
-0.017246526,
-0.026656229,
-0.008699147,
-0.018902192,
-0.017743224,
0.041860767,
-0.023565652,
-0.02740128,
0.001910915,
0.01151378,
0.028132532,
-0.019923186,
0.030547045,
0.012976286,
-0.018667638,
-0.047324464,
0.01712235,
0.01876422,
-0.010658353,
-0.010354814,
-0.016749825,
-0.018157141,
0.010051275,
0.061259657,
-0.025469668,
-0.03443786,
0.021565055,
-0.046689793,
-0.0101202605,
-0.006381214,
-0.0024886737,
0.010154754,
0.02610434,
-0.0148596065,
-0.0075470796,
0.014556067,
0.017715631,
0.010748034,
-0.035210505,
-0.009471792,
-0.015356306,
-0.01851587,
-0.027525455,
0.024310702,
-0.05499572,
-0.011886305,
0.030547045,
0.00042922288,
0.019095352,
-0.025138535,
0.010734238,
-0.0050946237,
0.035458855,
-0.016349707,
-0.025731815,
-0.0031336937,
0.027663426,
-0.039432455,
0.04064661,
0.061480414,
-0.028422274,
-0.0043357764,
0.00028025603,
-0.017591456,
-0.015204537,
0.0015789194,
0.016197937,
0.0083473185,
0.011037776,
0.024586646,
0.011037776,
-0.043709595,
-0.033830784,
-0.0043219794,
-0.018446883,
0.04431667,
0.04442705,
0.008457696,
0.02982959,
0.03910132,
0.021827202,
0.017536268,
0.0016073762,
0.013390202,
-0.016515272,
0.025207521,
0.014197339,
-0.02635269,
-0.026532054,
-0.0074298033,
0.04685536,
-0.026876984,
0.0044875457,
0.014873403,
-0.034051538,
-0.009499386,
0.013928294,
-0.016308315,
0.039735995,
-0.00073383964,
0.03438267,
0.0317612,
0.0021799607,
-0.019633444,
0.032837383,
-0.04238506,
-0.031733606,
0.03137488,
-0.024379687,
-0.032975357,
0.00769195,
-0.023041358,
-0.008699147,
0.0065743756,
0.005449902,
0.014652648,
0.008678451,
0.010527279,
0.044095915,
-0.047628004,
-0.02362084,
0.0026266458,
0.012327816,
-0.0645158,
-0.029746806,
0.040536232,
-0.003687307,
-0.0033320286,
-0.021909986,
-0.014266326,
0.0402051,
0.029250106,
0.023455273,
-0.024641836,
0.035900366,
-0.06385353,
0.035955556,
0.010837716,
0.0024283107,
0.008954396,
0.06837902,
0.012286425,
-0.025428277,
0.009982289,
0.03678339,
0.028049748,
-0.06109409,
-0.020640641,
0.044151105,
0.05380916,
-0.0013262578,
0.026987363,
0.03294776,
0.01112056,
0.05052542,
-0.0049566515,
0.030850584,
-0.0022799906,
0.045751583,
0.004273689,
0.03846665,
0.024296904,
0.0032130277,
0.016887797,
-0.0061811544,
-0.0051946533,
-0.0099753905,
-0.025028158,
-0.017715631,
0.025041955,
0.017881198,
0.019095352,
-0.026049152,
-0.043295678,
0.01116885,
0.0056223674,
-0.022751616,
0.014818215,
0.045751583,
0.0411985,
-0.009540778,
0.00059586746,
0.0029698517,
-0.0058983117,
0.049366456,
-0.025552452,
0.023386288,
-0.016749825,
-0.011341315,
0.0208476,
0.023496665,
-0.02958124,
0.003811482,
0.05568558,
-0.051298063,
0.0077057476,
0.043654405,
0.020999368,
-0.0150527675,
0.0015754701,
-0.050001126,
0.014763026,
-0.039018538,
0.029250106,
-0.07279413,
0.0072642365,
0.044785775,
-0.05425067,
-0.046331067,
0.033610027,
-0.03380319,
0.0068710158,
0.004749693,
0.059052102,
0.0342447,
0.09382109,
0.02069583,
0.011900103,
0.0004139166,
0.032671817,
-0.00883712,
-0.019440284,
0.006853769,
0.0018746973,
0.012527876,
-0.04605512,
-0.037445657,
0.020916585,
0.01817094,
-0.003269941,
-0.024048556,
0.0077816322,
0.028477462,
-0.010644555,
-0.015646048,
0.008678451,
-0.06727525,
0.0014495704,
0.011975987,
-0.04586196,
-0.023013763,
-0.040039532,
-0.05877616,
0.029939968,
0.0013064243,
0.004611721,
0.012320918,
0.00012417499,
-0.0114309965,
0.029912373,
-0.0066123176,
-0.0032354482,
0.060542203,
0.05317449,
0.014914795,
0.013673045,
-0.0072642365,
0.020902788,
0.027677223,
0.038990945,
0.009444198,
0.080575764,
0.053533215,
-0.023151735,
0.025469668,
0.026821796,
0.019743823,
-0.01905396,
-0.019495472,
-0.018433087,
0.0158806,
-0.03647985,
-0.035955556,
0.023096547,
0.09387629,
-0.033858377,
0.018929787,
-0.071855925,
-0.011975987,
-0.025248913,
0.032920167,
-0.04685536,
0.01528732,
0.0009718417,
-0.009844316,
0.025704222,
-0.035320885,
0.2218593,
0.021316705,
0.041115716,
0.053064108,
0.051436037,
0.09520082,
0.039487645,
-0.0048255776,
0.0114172,
-0.03463102,
0.052788164,
-0.019026367,
0.04448224,
-0.04404073,
-0.010203044,
0.0049876953,
-0.008009287,
0.005518888,
0.005384365,
0.010610063,
-0.044896156,
-0.000898544,
-0.020337103,
0.05033226,
-0.023303505,
0.0037252496,
0.008499088,
-0.03957043,
-0.020544061,
-0.029360484,
0.020461278,
-0.0060569798,
0.026394082,
-0.033610027,
-0.020902788,
0.07053139,
-0.02620092,
-0.061314847,
-0.021054558,
-0.00868535,
-0.0044978936,
-0.04183317,
-0.0029129381,
-0.036507446,
-0.006332924,
0.06269457,
0.014680242,
-0.020475075,
0.038521837,
-0.05121528,
0.050442636,
-0.08002388,
-0.018819408,
-0.029498456,
-0.037390467,
-0.02635269,
-0.040867366,
-0.014569865,
0.060321447,
0.057506815,
0.009871911,
0.024172729,
-0.05077377,
-0.027484063,
-0.0038942653,
-0.025193725,
0.023469072,
0.041032933,
0.011258531,
-0.020199131,
-0.0040218895,
-0.01454227,
0.029250106,
-0.005198103,
0.0022351497,
0.009761534,
-0.016998176,
0.050415043,
0.009699446,
-0.06661298,
-0.0079816915,
-0.02883619,
-0.025814598,
-0.04050864,
0.024724618,
0.039929155,
-0.041308876,
0.016115153,
-0.024407282,
0.03932208,
0.0307678,
0.023938177,
-0.017991574,
0.018529667,
-0.0056706574
] |
Image augmentation alters images in a way that can help prevent overfitting and increase the robustness of the model. You can get creative in how you augment your data - adjust brightness and colors, crop, rotate, resize, zoom, etc. However, be mindful not to change the meaning of the images with your augmentations.
Image preprocessing guarantees that the images match the model’s expected input format. When fine-tuning a computer vision model, images must be preprocessed exactly as when the model was initially trained. |
[
0.059289575,
-0.005713524,
-0.0038624676,
-0.03544546,
-0.014975777,
0.00113643,
0.0068394956,
-0.0061178976,
0.01680243,
0.034218393,
-0.002999687,
-0.048887406,
0.04969615,
-0.03854101,
0.020093197,
0.048887406,
0.03299133,
-0.050978996,
-0.07563186,
-0.03522236,
0.011357328,
0.009460954,
-0.066819295,
-0.045373537,
-0.035389684,
-0.025489498,
0.02741376,
-0.020957721,
0.049138397,
0.031987365,
-0.0463775,
-0.008791645,
0.026521347,
-0.020678842,
-0.031318057,
-0.0058006733,
0.040409498,
-0.016537497,
-0.054213986,
-0.028348003,
0.039684415,
-0.0056926077,
0.016258618,
-0.010688019,
-0.019089235,
0.024039328,
0.006212019,
0.0024994488,
-0.020664899,
0.007989869,
0.00412043,
0.016537497,
0.056640226,
0.024248488,
-0.037341833,
0.006208533,
0.002093332,
0.010925066,
0.013142151,
-0.013734767,
0.009948991,
0.04113458,
-0.005640318,
-0.058843367,
0.02355129,
0.038680453,
0.0063479724,
-0.013909066,
-0.02226845,
-0.0052359444,
-0.027190655,
-0.0034650657,
-0.012082412,
-0.015003664,
0.006201561,
-0.012026636,
0.00029870504,
-0.01015815,
0.003411033,
0.036170546,
-0.03182004,
0.02897548,
0.008659178,
0.02244972,
-0.0068952716,
-0.024318207,
0.033353873,
0.0023826684,
0.017625123,
-0.009635253,
-0.06832524,
0.03516658,
-0.04802288,
0.02010714,
0.013651104,
0.013407085,
-0.018099217,
0.07724935,
0.047186248,
0.0008745456,
0.0038415517,
0.08511373,
0.004904776,
0.056891218,
0.0063305423,
0.013448916,
-0.029031254,
0.01896374,
-0.04740935,
-0.030843964,
0.018057384,
-0.025364002,
0.00049065193,
0.0031565563,
0.016816376,
0.010848375,
-0.004664243,
0.029114919,
-0.059401125,
-0.044369575,
0.012821441,
0.0027643833,
-0.0043958225,
-0.049082622,
0.0016157525,
-0.049724042,
-0.026200637,
0.059958883,
-0.018866133,
0.007850431,
-0.002851533,
-0.02415088,
-0.026437685,
0.056054585,
-0.044620562,
-0.009698001,
-0.018531477,
0.01648172,
-0.01239615,
-0.016927926,
0.011852337,
0.032015253,
-0.068994544,
0.05867604,
-0.01843387,
0.010011739,
-0.008931085,
-0.06408629,
-0.034831926,
0.016900038,
-0.028361946,
-0.010667103,
-0.020650955,
0.013337365,
-0.051285762,
0.019758543,
0.011510711,
0.036588863,
-0.0030763787,
-0.0020009533,
0.03299133,
-0.0012131216,
-0.0445369,
0.041274022,
0.048273873,
0.04947305,
-0.046823703,
0.020051366,
-0.010959926,
-0.02897548,
0.024945684,
-0.007731907,
0.019577272,
0.0013630188,
0.0098792715,
0.03960075,
0.015463814,
0.00040764196,
0.00795501,
-0.023258468,
-0.03402318,
-0.039795965,
0.007202038,
0.017694842,
-0.00042768635,
0.010660131,
-0.014864225,
-0.0037474302,
0.013902094,
0.02077645,
0.027497422,
0.025907815,
-0.022840152,
0.033827964,
-0.03881989,
0.017639067,
-0.01708131,
0.012424038,
-0.010332449,
-0.01914501,
-0.02741376,
0.030843964,
-0.014236748,
0.0098792715,
0.015143104,
0.013421029,
-0.005845991,
0.04805077,
-0.07245264,
0.019186843,
0.038317908,
-0.005249888,
-0.009955963,
0.015073384,
0.032879777,
0.0057344395,
-0.026130918,
0.00795501,
-0.028069124,
0.013295534,
0.036449425,
0.003245449,
0.030341983,
-0.016119178,
0.016398057,
0.008317552,
-0.025210619,
0.063807406,
0.034051068,
0.01623073,
-0.023132974,
0.036533087,
0.018001609,
0.0048280843,
0.027678693,
0.056054585,
0.012835384,
-0.009035665,
-0.007334505,
0.009572505,
-0.045401424,
0.036393646,
0.018419927,
0.03234991,
-0.0029439114,
-0.01981432,
0.009900187,
0.047046807,
0.026660787,
0.022366058,
-0.073512375,
0.032712452,
-0.021961683,
0.016718768,
-0.037286058,
-0.017346244,
-0.00022767817,
0.03299133,
-0.027706582,
-0.034051068,
-0.015659029,
0.029784227,
0.024318207,
-0.013532581,
0.05387933,
0.048385423,
0.026842058,
0.0046747015,
-0.014920001,
-0.0191729,
-0.026367964,
-0.03633787,
-0.047967106,
-0.00919602,
0.0039984207,
-0.03801114,
-0.02208718,
-0.06079552,
-0.0046119536,
-0.039656527,
-0.014557459,
-0.0014118225,
-0.053962994,
0.031959478,
0.0316806,
-0.012751721,
-0.03363275,
0.026409796,
0.005689122,
0.030871853,
-0.013720823,
-0.017876113,
0.009440038,
0.0049466076,
-0.006612907,
-0.01591002,
-0.0061388137,
0.014104282,
-0.025503442,
0.025043292,
0.015491702,
0.011071477,
-0.013400113,
0.0365052,
-0.011259721,
-0.003911271,
0.013218842,
-0.006239907,
0.05686333,
-0.0032419628,
-0.061687928,
0.044760004,
-0.024708638,
-0.007181122,
0.004908262,
0.006058636,
0.025447665,
0.00951673,
-0.023634955,
-0.025043292,
-0.027748413,
0.0091541875,
-0.025684712,
-0.026981497,
-0.06073974,
0.043811817,
-0.041915443,
-0.06414206,
-0.024457647,
-0.038317908,
-0.0080944495,
-0.038234245,
-0.03154116,
0.047632452,
0.01889402,
-0.0015582338,
-0.013811459,
0.026367964,
-0.0061283554,
0.025740488,
0.014975777,
-0.026228525,
0.1010098,
0.023816226,
0.009223907,
-0.022979591,
0.035389684,
-0.012410094,
0.015031553,
-0.024583142,
0.032433573,
0.013476805,
-0.0019068319,
0.054213986,
0.027218545,
0.03324232,
-0.052512825,
0.05014236,
0.03248935,
0.0118244495,
0.016007626,
-0.029059142,
-0.02897548,
-0.009969907,
-0.0010675818,
-0.023091141,
-0.015617197,
-0.0054032714,
-0.00067017996,
-0.036309984,
0.009307571,
-0.011712898,
-0.063918956,
0.01161529,
-0.00009068999,
-0.0095446175,
0.055217948,
0.023007479,
0.070165835,
-0.05401877,
0.0037578882,
-0.015742693,
0.021780413,
-0.0013830632,
-0.014125197,
0.027622918,
0.0015957081,
0.024875965,
0.014892113,
-0.012807496,
0.033074994,
0.0033395702,
-0.012682001,
-0.0346646,
-0.023132974,
-0.037564937,
0.004176206,
0.040604714,
0.05153675,
-0.008958973,
0.03817847,
-0.013929983,
0.00966314,
0.010945982,
0.012863272,
-0.028138842,
-0.025405833,
0.050086584,
-0.004078598,
-0.018991627,
-0.026284302,
0.00036384934,
-0.0029648272,
0.011901141,
-0.050839555,
0.030565087,
0.007411197,
-0.01019301,
-0.047855556,
0.06698662,
-0.04626595,
0.005479963,
-0.028320113,
0.009133272,
0.03142961,
-0.038596787,
-0.018949796,
-0.06988696,
0.029923666,
-0.017527515,
-0.0631381,
-0.04378393,
-0.03633787,
-0.0001841034,
-0.026326133,
0.024387928,
0.042807855,
-0.037341833,
0.032879777,
-0.025489498,
-0.030704526,
-0.012932992,
0.00788529,
-0.0383458,
-0.012709889,
0.028180676,
0.025977535,
0.03934976,
0.009460954,
-0.012946935,
0.008945028,
-0.05114632,
0.0093772905,
-0.030760301,
0.024652861,
0.00873587,
0.02091589,
-0.05362834,
-0.005110449,
0.013713852,
-0.032433573,
-0.0044271965,
0.020943778,
-0.061520603,
-0.039879628,
0.0039042993,
-0.024987515,
-0.011392187,
0.08109788,
-0.0053614397,
-0.017555403,
0.016133122,
0.03661675,
-0.03154116,
-0.029059142,
-0.057616305,
-0.023021422,
0.047074694,
-0.011238804,
0.00031221323,
-0.046433274,
0.01818288,
-0.024513422,
-0.020302357,
0.0018562851,
-0.035947442,
-0.008289664,
0.00873587,
-0.033465423,
0.017067365,
0.0062747668,
-0.040046956,
-0.0051662247,
-0.02681417,
-0.00025600177,
-0.032907665,
0.0026685188,
0.012919048,
0.040799927,
-0.00069109583,
0.005905253,
-0.02897548,
-0.021933796,
-0.0050511872,
-0.037676487,
0.0007839101,
-0.026730506,
-0.010555552,
0.0055392245,
-0.026521347,
-0.04250109,
-0.0075854957,
-0.034831926,
-0.0067035425,
0.041636564,
-0.027079105,
0.024624974,
-0.03416262,
-0.027316151,
0.07094669,
-0.013183982,
-0.057337426,
-0.04699103,
0.009969907,
0.012403122,
0.009307571,
0.03388374,
-0.017248636,
-0.018141048,
-0.055413164,
0.050923217,
-0.031206507,
-0.02525245,
-0.045791853,
-0.06408629,
-0.026270358,
0.04894318,
0.024820188,
-0.008101421,
0.032628786,
-0.05686333,
0.018880077,
-0.03569645,
-0.04626595,
-0.01761118,
0.018670917,
-0.022115067,
0.030760301,
-0.010186038,
-0.020093197,
0.018838244,
0.04950094,
0.03854101,
-0.0056054583,
-0.04478789,
-0.058731817,
-0.00834544,
0.011608318,
-0.015868189,
0.042361647,
-0.020943778,
0.024597086,
-0.020051366,
0.050923217,
0.00973286,
-0.019842207,
0.031987365,
-0.0367283,
0.042417422,
-0.036058992,
0.015101272,
-0.0068638977,
0.041497126,
-0.000056374858,
0.007439085,
-0.006170187,
0.00639329,
-0.038847778,
-0.10089825,
0.03285189,
-0.031764265,
-0.010785627,
-0.028543217,
0.020051366,
0.011231832,
-0.023621012,
0.012312487,
0.042417422,
0.0023512945,
0.0065397015,
-0.019158954,
0.014906057,
0.020218693,
-0.018308375,
-0.0039287014,
0.03781593,
-0.05178774,
-0.027539255,
0.0057239817,
-0.035250247,
-0.04858064,
0.020832226,
0.03962864,
-0.038792003,
0.012849328,
0.007313589,
-0.032656673,
-0.015477758,
0.018796412,
0.030816076,
0.018545423,
0.0093772905,
0.056556564,
-0.002611,
0.011545571,
-0.05728165,
-0.0385689,
0.014431964,
0.026939666,
0.012626225,
-0.043811817,
0.00093685754,
0.012723832,
-0.054492865,
-0.03661675,
0.032935552,
-0.0022955188,
-0.007153234,
0.009823496,
0.018921908,
-0.0053370376,
-0.030063106,
0.003974019,
0.0057937014,
-0.036421534,
-0.011210917,
0.045038883,
-0.0025499954,
-0.013072431,
0.0009786893,
0.024583142,
-0.047325686,
-0.027120937,
0.008917141,
-0.021933796,
-0.038875666,
-0.008366356,
0.049445163,
-0.022923814,
-0.0000015523511,
0.023704674,
0.009000804,
0.026800226,
0.012647141,
-0.013093347,
0.028027292,
-0.0086522065,
-0.04961249,
-0.018029496,
0.01999559,
-0.007836486,
-0.017025534,
-0.012528618,
0.01992587,
0.0132746175,
0.06319387,
-0.038736228,
-0.062134136,
0.027385872,
-0.061520603,
0.008359384,
0.027804188,
-0.004371421,
-0.017485684,
0.03586378,
-0.0028497898,
-0.054046657,
0.0067488602,
-0.018127104,
-0.014431964,
-0.023300301,
-0.04066049,
-0.006044692,
-0.05638924,
-0.041357685,
0.01999559,
-0.039126657,
-0.01207544,
0.025614992,
-0.005462533,
-0.011357328,
-0.031708486,
-0.0049779816,
0.013755683,
0.052317612,
-0.043811817,
-0.004713047,
-0.027511366,
0.019730655,
-0.0036951404,
0.03622632,
0.026744451,
-0.056082472,
0.030314095,
0.011963889,
0.029421683,
-0.04467634,
0.010039627,
0.038039032,
0.0049431217,
0.01715103,
0.03842946,
0.0012540818,
-0.040967256,
-0.00756458,
-0.017429907,
-0.024680749,
0.027176712,
0.063695855,
0.026228525,
0.046823703,
0.008206001,
0.017904,
0.0088753095,
0.024513422,
-0.01935417,
-0.025196675,
0.01370688,
0.027190655,
-0.013400113,
-0.058229838,
0.018168936,
0.05750475,
-0.02162703,
0.014961833,
0.05415821,
0.00089851173,
-0.0059261685,
0.014090338,
0.00073859235,
0.04938939,
-0.00262843,
-0.0015591052,
0.004911748,
-0.015617197,
-0.033437535,
0.009314543,
-0.045150433,
-0.047716115,
0.040604714,
-0.045010995,
-0.008303608,
-0.049779817,
-0.030955516,
-0.012584394,
-0.0067453743,
0.0019957244,
0.038847778,
-0.00983744,
-0.039042994,
0.012863272,
-0.04782767,
-0.07033316,
-0.006598963,
-0.008143253,
-0.056249797,
-0.017318357,
0.026772339,
0.008387271,
0.0028480468,
-0.0025465095,
-0.0305372,
0.013699908,
0.036811966,
0.008080505,
-0.004343533,
0.031206507,
-0.06419784,
0.027232489,
-0.009983852,
0.0015425468,
-0.020344188,
0.04378393,
-0.004078598,
0.0013551753,
0.0523455,
0.023467628,
0.028501386,
-0.041776,
0.012668057,
0.04049316,
0.04819021,
0.015672972,
0.026214581,
0.034078956,
0.02447159,
0.053767778,
0.02635402,
0.015993683,
0.03299133,
0.037760153,
0.010444,
0.019953758,
0.015617197,
-0.002102047,
0.001231423,
-0.010625272,
-0.02511301,
-0.04570819,
0.008896225,
0.0035975329,
0.044369575,
0.0019713226,
0.040437385,
-0.007906206,
-0.023160862,
0.027622918,
-0.030788189,
-0.0121103,
0.023258468,
0.047353573,
0.046767928,
-0.010966898,
0.042640526,
0.0316806,
0.023676787,
0.042891517,
-0.0015800211,
0.008080505,
-0.030174656,
0.021473646,
0.020288413,
0.026646843,
-0.039154544,
0.008136281,
0.01793189,
-0.0218083,
0.017415963,
0.023077197,
0.03299133,
-0.0016802431,
0.031792153,
-0.014174001,
0.0003566595,
-0.027176712,
0.039656527,
-0.0711698,
0.030341983,
0.023035366,
-0.021138992,
-0.034441497,
0.02851533,
-0.02286804,
-0.0024837619,
0.04222221,
0.08455597,
-0.0025430236,
0.0711698,
0.011475851,
0.016844263,
0.018029496,
0.03349331,
0.00040785983,
-0.021738581,
-0.009070524,
0.014404076,
0.016188899,
-0.061464828,
-0.030314095,
0.016997647,
0.021529421,
-0.00420758,
-0.029310133,
0.03209892,
0.012695945,
-0.008812562,
-0.040995143,
0.043309834,
-0.03801114,
0.010471889,
-0.012166075,
-0.039656527,
-0.036560975,
-0.025461609,
-0.0025569675,
0.055273723,
-0.003048491,
0.0034511217,
-0.00980258,
-0.028097011,
0.013874207,
0.029254356,
0.007871347,
-0.00834544,
0.02986789,
0.047353573,
-0.0038624676,
0.007927122,
0.024527365,
-0.015617197,
0.037704375,
0.04685159,
0.042277984,
0.07602228,
0.04869219,
-0.019186843,
0.03246146,
0.042919405,
-0.00680115,
-0.013546525,
-0.03103918,
0.0125495335,
0.035082918,
-0.015143104,
-0.062245686,
-0.00093598606,
0.06620576,
-0.025377946,
-0.0064769536,
-0.06570378,
0.019897982,
-0.048106544,
0.021278432,
-0.02013503,
-0.007334505,
-0.00048803742,
-0.024834132,
0.012800524,
-0.04428591,
0.22745332,
0.025601048,
0.041636564,
0.053405236,
0.054241873,
0.062413014,
0.016439889,
-0.021682804,
-0.026200637,
-0.040437385,
0.04272419,
-0.0061841314,
0.00983744,
-0.03636576,
-0.012877216,
0.0100465985,
-0.019298393,
0.0045910375,
0.021501534,
0.00685344,
-0.05114632,
0.030760301,
-0.016969759,
0.023872001,
0.005452075,
-0.011587403,
-0.010444,
-0.050839555,
-0.019897982,
-0.04386759,
0.03234991,
-0.0055287667,
0.025935702,
-0.048720077,
-0.01715103,
0.037760153,
0.0028933648,
-0.059178025,
-0.024555255,
-0.04623806,
-0.009628281,
-0.023844114,
0.00076648017,
-0.0038729254,
-0.022881983,
0.041246135,
0.0064769536,
0.0055601406,
0.04648905,
-0.06442094,
0.04894318,
-0.051453087,
-0.0007738879,
-0.050198134,
-0.05117421,
-0.055134285,
-0.024513422,
-0.02134815,
0.00076648017,
0.03154116,
0.03036987,
0.041776,
-0.013044543,
0.0043226173,
-0.014362244,
-0.022686768,
0.0124379825,
0.05675178,
0.018810356,
0.019800374,
0.013929983,
-0.0011791333,
0.023774395,
-0.013630188,
0.030843964,
0.019884039,
-0.014180973,
0.043532938,
0.033911627,
-0.06944075,
0.017750619,
-0.015561421,
-0.025601048,
0.00958645,
-0.007982898,
0.061353274,
-0.045680303,
0.0056054583,
-0.007571552,
0.032266244,
0.015798468,
0.015408038,
-0.004399309,
-0.00029129733,
0.011427048
] | You can use any library you like for image augmentation. For image preprocessing, use the ImageProcessor associated with the model.
Load the food101 dataset (see the 🤗 Datasets tutorial for more details on how to load a dataset) to see how you can use an image processor with computer vision datasets:
Use 🤗 Datasets split parameter to only load a small sample from the training split since the dataset is quite large!
from datasets import load_dataset
dataset = load_dataset("food101", split="train[:100]") |
[
0.030926632,
-0.02010665,
0.002307202,
-0.022059454,
0.000844859,
-0.005843947,
-0.014602635,
0.012816181,
0.009858045,
0.05757156,
0.03882464,
-0.035931595,
0.01325737,
-0.04032902,
0.008831014,
0.041254796,
-0.038535334,
-0.05366595,
-0.03266246,
0.016215507,
0.012548575,
-0.02446068,
-0.049962856,
-0.030029789,
-0.013676861,
0.0044552865,
0.021639964,
-0.006769721,
0.07249966,
0.013452651,
-0.024706589,
0.02759963,
0.014378425,
0.007977567,
-0.02545878,
-0.04877671,
0.020858841,
0.0072832364,
-0.036568064,
-0.056616854,
0.050888628,
-0.018269567,
0.0034192153,
-0.010689794,
-0.024171375,
-0.0031479925,
0.01569476,
-0.030608397,
-0.02684744,
-0.023115415,
-0.024909101,
0.011405823,
-0.019253202,
-0.015014894,
-0.007782286,
0.023448115,
0.0071168863,
-0.0036976708,
-0.009170947,
0.010349862,
0.039923996,
0.04692516,
-0.027744284,
-0.06636641,
0.017907938,
0.029436715,
-0.02216071,
-0.003236592,
-0.0028478394,
-0.016953234,
-0.02146638,
-0.034571867,
-0.0017810297,
-0.028713454,
0.0013371283,
0.010190745,
0.03014551,
-0.026992092,
-0.009626601,
0.065556355,
-0.004571008,
-0.0054172236,
-0.029364388,
-0.01272939,
-0.03147631,
-0.033212136,
0.051351517,
-0.028438615,
0.01569476,
-0.009648299,
-0.05502568,
0.038477473,
-0.01040049,
0.025834875,
0.017690958,
0.04695409,
-0.01675072,
0.06891229,
0.0045746244,
-0.0022222188,
0.044552866,
0.07678136,
-0.0050375112,
0.036394484,
-0.05363702,
-0.02210285,
0.009315599,
-0.008910573,
-0.04084977,
-0.028554335,
0.02778768,
-0.0035946062,
0.03295176,
0.035931595,
-0.0069505363,
0.02715121,
0.01123224,
0.02013558,
-0.04084977,
-0.02279718,
-0.01677965,
-0.0153041985,
-0.010863377,
-0.04099442,
0.033154275,
-0.046520133,
-0.009915905,
0.034600798,
-0.022580203,
-0.03081091,
0.019875206,
-0.057311185,
-0.005098989,
0.04900815,
-0.02146638,
0.0032221267,
-0.058555193,
0.014089121,
0.014233773,
-0.016345695,
0.0046288692,
-0.02016451,
0.015824946,
0.06613497,
-0.0019202573,
0.014870242,
0.008136684,
-0.024287097,
-0.039866135,
-0.002831566,
0.0142844,
-0.009510879,
-0.035671223,
0.0328939,
0.014660496,
-0.02518394,
-0.021451915,
0.0049904995,
0.012599203,
0.0043938095,
0.035729084,
-0.0011581214,
-0.015882807,
0.027310327,
-0.04142838,
0.06544064,
-0.040415812,
0.0068709776,
-0.015709225,
0.00525449,
0.010284768,
-0.039287526,
0.016794115,
0.0049434877,
0.04492896,
0.023216672,
0.03081091,
0.02082991,
0.02177015,
0.0069179893,
0.012996997,
-0.013879375,
0.026008459,
0.028380753,
-0.032402083,
0.005131535,
0.016229972,
-0.0019455715,
0.020092186,
-0.026659394,
0.0031299111,
0.014566473,
-0.033269998,
0.0077388906,
-0.0047771377,
0.039952926,
-0.01599853,
-0.024041189,
0.008642967,
-0.036018386,
-0.037088815,
0.025444314,
-0.033125345,
0.009250506,
-0.03616304,
-0.000785642,
0.020757584,
0.030405883,
-0.021856941,
0.04814024,
0.02116261,
0.013944468,
-0.031100214,
0.015506712,
0.017879007,
0.022883972,
0.023317927,
0.0063321483,
0.0064551025,
0.019933067,
0.034108978,
0.04492896,
0.04903708,
-0.017040024,
0.026804045,
0.0448711,
-0.0008055317,
0.056530062,
0.02503929,
0.035439778,
-0.03147631,
0.033385716,
-0.021379588,
0.03815924,
0.041196935,
0.017329328,
0.030261232,
0.015593503,
-0.010002697,
-0.012215875,
0.0011373276,
0.04973141,
-0.003663316,
0.028670058,
0.03147631,
0.0032691387,
0.009098621,
0.013199509,
-0.020887772,
0.039374318,
-0.076607786,
0.058005515,
0.029653693,
-0.008281336,
-0.039808273,
-0.01259197,
-0.014523077,
0.029856205,
-0.014335029,
-0.022912903,
-0.017040024,
0.012020594,
-0.021148145,
-0.011405823,
0.007413423,
0.038622126,
-0.017633097,
0.028583266,
-0.015911737,
-0.04032902,
-0.045767944,
-0.035873733,
-0.07440907,
-0.033067483,
0.012223108,
0.009525345,
0.020034324,
-0.017618634,
0.01614318,
-0.0030865155,
-0.030608397,
-0.01375642,
-0.024330493,
0.0112033095,
0.021148145,
-0.0075942385,
-0.052740175,
0.037869934,
-0.005720993,
0.041978057,
0.016562672,
-0.018515477,
-0.01040049,
0.0024174992,
-0.012295433,
-0.008143917,
-0.037667423,
-0.014580937,
-0.008592338,
-0.0022113698,
0.005757156,
-0.019339994,
-0.005326816,
0.010335397,
-0.028727919,
0.03775421,
-0.002714036,
-0.04429249,
0.05013644,
0.034456145,
-0.020424886,
0.011543242,
-0.023173276,
0.049586758,
-0.012830647,
0.026427949,
0.045681152,
-0.013163347,
-0.018067054,
0.0011273827,
-0.021567637,
0.0023867607,
-0.0077967513,
-0.015767084,
-0.049962856,
0.05644327,
-0.0024608949,
-0.050830767,
-0.023245601,
-0.028033588,
-0.043077413,
0.000702015,
-0.029711554,
0.04032902,
0.04209378,
0.02340472,
-0.0064984984,
0.030781979,
-0.007963101,
0.00058900553,
0.031071283,
-0.024793379,
0.0011391358,
0.020858841,
0.008122219,
0.020641863,
0.031707752,
-0.03839068,
0.014074655,
-0.014457983,
0.033675022,
0.058005515,
-0.0025838492,
0.017965797,
-0.010971867,
0.022363223,
-0.057860862,
0.0068095005,
0.0009646491,
-0.027585167,
0.05835268,
0.0070771067,
0.009742323,
-0.026644928,
-0.054447073,
-0.032778177,
-0.004097272,
0.039258596,
0.065209195,
-0.058960218,
-0.0070988047,
0.015709225,
-0.05563322,
0.008447686,
0.0044118906,
-0.04816917,
0.027469445,
0.03813031,
0.057976585,
-0.05971241,
-0.023505976,
-0.0011526969,
-0.01711235,
0.033906467,
0.0129608335,
0.0057860864,
-0.021856941,
0.0033161507,
-0.056703646,
-0.029407784,
-0.008020963,
-0.013250138,
-0.038014587,
-0.058786638,
-0.086559854,
-0.017170211,
0.0066720806,
0.056703646,
0.0382171,
-0.004223843,
-0.0118108485,
0.027498376,
0.041833404,
0.037812073,
-0.03153417,
0.007294085,
-0.059596688,
0.04432142,
-0.012722157,
-0.032604598,
-0.018602267,
0.0033468893,
0.008686362,
0.013402022,
0.0028514557,
0.019484647,
-0.04093656,
0.015448851,
-0.006813117,
0.034542937,
-0.021234937,
-0.0022583818,
-0.02518394,
0.022565737,
0.027339257,
-0.055922523,
-0.022204107,
-0.024301562,
0.008165615,
0.056703646,
-0.052769106,
-0.02312988,
0.003829666,
-0.01808152,
-0.02584934,
0.03940325,
0.04961569,
-0.0020377873,
-0.012266503,
0.012454551,
-0.024055654,
0.012823414,
-0.033212136,
0.0070626414,
-0.018168312,
0.021524241,
0.027657492,
0.020916702,
0.026832975,
-0.012649831,
0.01478345,
-0.04689623,
0.018009193,
-0.015463316,
0.03963469,
-0.010089488,
-0.016837511,
-0.03008765,
0.051554028,
0.019123016,
-0.010819982,
-0.027990192,
0.026008459,
-0.07417763,
-0.015839411,
0.021697823,
0.0057065277,
0.0008733374,
0.06486203,
-0.002652559,
-0.01136966,
0.028322892,
0.036973093,
-0.051120073,
0.012490714,
-0.009489181,
0.016649464,
0.0057282257,
-0.029914066,
0.016519276,
-0.026239902,
0.03972148,
-0.00065590715,
-0.007380876,
-0.018486546,
-0.0428749,
0.027614096,
0.017372724,
-0.03940325,
0.014197609,
0.013040392,
-0.012902972,
0.057253323,
-0.04012651,
-0.012382225,
-0.007753356,
-0.036973093,
0.014024027,
0.042469874,
-0.005710144,
0.019007294,
0.015333129,
-0.030348023,
0.004748207,
-0.02503929,
0.008657431,
-0.0145303095,
0.009865277,
-0.047040883,
0.02911848,
-0.0032040454,
-0.02781661,
0.005804168,
-0.027888937,
-0.0050953724,
0.003844131,
0.026022924,
-0.037204534,
-0.012664297,
0.05436028,
-0.037233464,
-0.07620276,
-0.008346429,
0.039142873,
-0.009727858,
0.008990131,
0.01811045,
-0.016316764,
-0.038043518,
-0.028207172,
-0.0048277657,
-0.030897701,
-0.039866135,
-0.042412013,
-0.042759176,
0.012288201,
0.01356114,
0.029653693,
-0.009858045,
0.011311798,
-0.054707445,
-0.006010297,
-0.06098535,
-0.023679558,
-0.037320256,
0.017690958,
-0.013307999,
0.03746491,
-0.023361323,
-0.020960098,
-0.010877842,
0.029104015,
0.03839068,
0.060522463,
-0.021003494,
-0.045276124,
-0.03159203,
-0.024576401,
0.042730246,
-0.012606435,
-0.0328939,
0.04680944,
-0.060638186,
0.039085012,
-0.017662028,
-0.0028514557,
-0.0055148634,
-0.007753356,
0.0024663194,
-0.044061046,
0.0060030646,
-0.003996016,
-0.008259638,
0.022666993,
0.031302728,
-0.008823781,
-0.00095380016,
-0.05499675,
-0.024287097,
0.021611033,
-0.028944897,
0.0046397178,
-0.045015752,
-0.035266194,
0.052624457,
-0.03347251,
0.036741648,
0.049789272,
0.030724118,
0.039952926,
-0.026297763,
-0.0029689856,
0.007731658,
-0.023997793,
-0.035410848,
0.010089488,
-0.04137052,
-0.005413607,
-0.023722954,
-0.062431872,
-0.027469445,
0.037696354,
-0.009221575,
-0.03283604,
0.024113515,
-0.01971609,
-0.044495005,
-0.021900337,
0.051264726,
0.02379528,
-0.016736254,
-0.009858045,
0.0017973031,
0.015390989,
0.014776218,
-0.030492675,
-0.021683358,
-0.008187312,
0.038274962,
-0.0037175606,
-0.029914066,
0.046491202,
0.008968433,
-0.051351517,
-0.058699846,
-0.0028044437,
-0.010270303,
-0.03746491,
-0.049789272,
0.012837879,
0.0018208091,
0.00020420816,
0.029552436,
0.044147838,
-0.033819675,
-0.0023759117,
0.0014835887,
0.025878271,
-0.025227336,
-0.006089856,
0.07122672,
-0.05042574,
-0.061448235,
-0.04235415,
-0.009858045,
-0.015058289,
0.03141845,
0.033241067,
0.011463683,
0.0025766166,
0.016172111,
0.029856205,
0.08846926,
-0.026471345,
0.018906036,
0.0071819797,
-0.052566595,
-0.048660986,
-0.06729218,
0.032604598,
0.024258167,
0.014306098,
-0.03217064,
0.0004533941,
-0.01611425,
0.06104321,
-0.022898437,
-0.070821695,
0.029046154,
-0.058960218,
0.0039164573,
-0.036625925,
0.0010423997,
0.03396433,
0.00084033865,
-0.013322464,
-0.044350352,
-0.0096555315,
0.010870609,
0.013105486,
0.0012584737,
-0.012649831,
-0.012939136,
-0.0062634386,
-0.022999693,
0.022753784,
-0.054070976,
0.0016680202,
0.012266503,
-0.015463316,
-0.013669629,
-0.01741612,
0.017285934,
-0.0011156298,
0.029885136,
0.004571008,
-0.021061353,
-0.023780815,
0.011883175,
-0.038043518,
0.026963163,
0.04842954,
-0.045305055,
-0.021639964,
0.027744284,
-0.0032998773,
-0.036712717,
0.005471468,
0.014486914,
0.0047879866,
-0.009301133,
0.029769415,
-0.017329328,
-0.05042574,
-0.023867605,
0.014985964,
-0.013958933,
0.010277536,
0.04628869,
0.026572602,
0.05077291,
0.0043250998,
0.028771315,
0.0032221267,
-0.044437144,
-0.004191296,
-0.021596568,
0.025429849,
0.033414647,
0.0051930123,
-0.053781673,
0.02104689,
0.030897701,
-0.033009622,
0.04365602,
-0.012280968,
-0.012273735,
-0.0009700735,
-0.006997548,
0.010668097,
0.061216794,
-0.015911737,
0.014855777,
0.00504836,
-0.022782715,
-0.012497947,
0.028467545,
-0.07863291,
-0.060580324,
0.0056703645,
-0.023954397,
0.022565737,
-0.0059054242,
0.012628133,
-0.0121869445,
-0.004260006,
0.0041840635,
0.052132636,
0.021639964,
0.008201777,
0.03879571,
-0.040618327,
-0.041168004,
0.023694023,
0.04270132,
-0.047706284,
-0.050020717,
0.004708428,
0.054620653,
0.0016047349,
-0.037175603,
-0.028800245,
-0.0015685719,
0.025241802,
0.014768985,
-0.02612418,
0.028583266,
-0.0368863,
0.03164989,
-0.03005872,
-0.02249341,
0.007753356,
0.010921238,
-0.00087017316,
0.00054877414,
0.006701011,
0.04949997,
0.052479804,
-0.024388354,
0.030261232,
0.028033588,
0.06358909,
0.0021950966,
-0.0063827764,
-0.01611425,
0.026210971,
0.052595526,
0.028207172,
0.02412798,
0.020656329,
0.058960218,
0.0289015,
0.019976463,
0.02512608,
0.027628561,
-0.01747398,
-0.041833404,
-0.015868342,
0.030492675,
0.021206006,
0.03885357,
0.017459515,
0.0013696752,
0.00041316272,
0.004057493,
0.0010360711,
-0.0017620442,
-0.031215936,
-0.035092615,
-0.005829482,
0.032807108,
0.004202145,
0.014262703,
-0.004209378,
0.0074568186,
0.041081212,
0.044552866,
0.031678822,
0.01220141,
0.017546307,
0.008715292,
-0.013619001,
0.016403554,
0.0015848452,
-0.010277536,
-0.01805259,
-0.02080098,
-0.016244438,
0.01711235,
-0.018992828,
-0.019788416,
0.01641802,
-0.034369353,
-0.03199706,
-0.053203065,
0.02179908,
-0.030434813,
0.004249157,
0.024981428,
-0.03940325,
-0.03677058,
0.028467545,
-0.014349494,
0.02179908,
0.039808273,
0.06833368,
-0.0067371745,
0.10715832,
0.0078112166,
0.0061477167,
0.027353723,
0.041196935,
-0.014262703,
-0.019904137,
-0.020641863,
-0.02019344,
0.038564265,
-0.053376645,
-0.037812073,
0.022204107,
0.01838529,
-0.033761814,
-0.02243555,
-0.007912473,
0.037002023,
-0.044147838,
-0.009055225,
0.052711245,
0.005655899,
-0.027295861,
0.009503647,
-0.0061657983,
-0.030521605,
-0.021683358,
-0.05106221,
0.020916702,
0.006089856,
0.019426785,
-0.0059994482,
0.0054316884,
-0.028944897,
0.0043287156,
0.014841312,
0.0039779344,
0.04973141,
0.03416684,
0.012555807,
0.0069433036,
-0.023173276,
-0.009879743,
0.028293962,
0.082625315,
0.02407012,
0.08355109,
0.08459258,
-0.0027176524,
-0.0014410971,
0.053289857,
-0.0027520072,
-0.0037139442,
0.007236224,
-0.028742384,
0.03494796,
-0.04712767,
-0.015231872,
0.00081457244,
0.06677143,
0.007492982,
-0.03873785,
-0.04949997,
-0.02615311,
-0.060811765,
-0.0016436102,
-0.047156602,
0.0062706713,
0.016577138,
0.0015161354,
-0.008664664,
-0.040647257,
0.24949604,
0.032459944,
0.023838677,
0.04967355,
0.025907202,
0.06463058,
0.010306466,
-0.029292062,
0.0110369595,
-0.050657187,
0.005344897,
-0.0031461844,
0.01986074,
0.018573336,
-0.028062519,
0.014038492,
-0.042817038,
-0.01841422,
0.012765553,
-0.045449708,
-0.056558993,
0.0078980075,
-0.008114986,
0.0154922465,
-0.0071205026,
0.01971609,
0.01774882,
-0.030724118,
-0.012505179,
-0.025415383,
0.010624701,
-0.025777014,
0.019094085,
-0.022782715,
-0.026326694,
0.053145204,
0.0005284324,
-0.051235795,
-0.022695923,
0.003486117,
-0.0076810294,
0.00445167,
0.0033939013,
-0.0020070488,
0.00027574316,
0.038332824,
-0.02310095,
0.021278333,
0.010349862,
-0.05977027,
0.030637328,
-0.03266246,
0.004317867,
-0.011405823,
-0.05841054,
-0.03164989,
-0.021061353,
-0.009648299,
0.046606924,
0.0005080907,
-0.0026127796,
0.009308366,
-0.04030009,
0.06295262,
-0.023014158,
0.0050158137,
-0.022565737,
-0.013828746,
-0.026543671,
-0.019933067,
0.015043825,
-0.041515168,
0.02914741,
-0.021032425,
0.009995464,
0.039895065,
-0.02651474,
0.056732576,
0.03083984,
-0.026268832,
0.013930003,
-0.0018488354,
-0.0036615077,
-0.009113086,
0.03882464,
0.034456145,
-0.09020509,
-0.0033595464,
-0.036394484,
0.044697516,
0.017054489,
0.06272118,
0.000832654,
0.022030523,
-0.034629725
] | Here we use Compose to chain together a couple of
transforms - RandomResizedCrop and ColorJitter.
Note that for resizing, we can get the image size requirements from the image_processor. For some models, an exact height and
width are expected, for others only the shortest_edge is defined. |
[
0.008760514,
0.0014564445,
0.0073077106,
-0.028750215,
0.0040744036,
-0.025575167,
0.0002958403,
0.0008725013,
0.012066643,
0.041625183,
0.012918663,
-0.023070082,
0.062860146,
-0.026259694,
0.00061034126,
0.0247013,
0.0049519115,
-0.046897516,
-0.022924436,
-0.0018842751,
-0.00854933,
-0.010078596,
-0.0703754,
-0.029857112,
-0.031197041,
-0.0045841592,
0.013646885,
-0.03233307,
0.062743634,
0.041945603,
-0.046285808,
0.0266675,
0.0108796405,
0.0068817004,
0.0008788732,
-0.002450468,
0.0020717923,
-0.016530646,
-0.055286635,
-0.03076011,
0.039527904,
0.0049628345,
0.028225895,
-0.0010604737,
-0.003069457,
0.024672171,
-0.0053160223,
0.01228511,
-0.03722672,
-0.009809154,
-0.0017459128,
0.035042055,
-0.004158149,
0.01586068,
-0.01877357,
0.02349245,
-0.025677117,
-0.012423472,
-0.024075028,
-0.001825107,
0.0091173425,
0.028706523,
-0.016851064,
-0.07538557,
0.024584783,
0.036294598,
-0.03827536,
-0.04226602,
-0.028488055,
-0.019662002,
-0.033818644,
0.0030803801,
0.023346806,
0.004402104,
-0.04782964,
0.014739219,
-0.014389672,
-0.009831001,
-0.0025560602,
0.010661174,
-0.023710918,
0.0070382683,
-0.017608415,
-0.0091756005,
-0.010792254,
-0.030381434,
0.048412215,
-0.04625668,
0.03177962,
0.007719156,
-0.051325105,
0.03879968,
-0.03728498,
0.02189036,
0.0017195148,
0.061928023,
-0.035100315,
0.032915648,
0.029493002,
0.006007834,
0.027104434,
0.10096073,
-0.024934331,
0.043402046,
0.008381838,
0.017317126,
0.03020666,
0.011061696,
-0.06787032,
-0.033702128,
0.029187148,
-0.004190919,
0.05068427,
0.01484117,
0.009896541,
0.05828691,
0.015569392,
0.023288548,
-0.035886794,
-0.023332242,
-0.0014619062,
0.008920723,
0.0039433236,
-0.054733187,
0.01877357,
-0.042440794,
-0.014200334,
0.052169845,
0.00013221786,
0.004380257,
-0.0020845362,
-0.042615566,
-0.007675463,
0.035799406,
-0.045033265,
-0.0007277671,
-0.052402873,
0.011702532,
0.026201436,
-0.013625039,
0.025050847,
0.012976921,
-0.02955126,
0.04989779,
0.009583405,
-0.029449308,
0.04625668,
-0.055053603,
-0.03515857,
0.0141493585,
-0.036673274,
-0.0017459128,
-0.02191949,
0.021191267,
-0.040110484,
-0.030381434,
-0.008826054,
0.009823718,
-0.053451516,
-0.0046970337,
0.028779345,
-0.015336361,
-0.028750215,
0.034954667,
0.046693612,
0.03230394,
-0.031138783,
0.0027472186,
-0.010901487,
-0.034080803,
0.021613637,
-0.0031805108,
0.015846116,
0.00035978731,
0.06035506,
0.0005916806,
0.034226447,
0.0077337204,
-0.0027617828,
0.015525699,
-0.01939984,
-0.009976645,
0.032740872,
-0.0022665919,
0.0009098227,
-0.019356148,
0.02309921,
-0.016501516,
0.0031295351,
0.020579562,
0.009750896,
0.0380132,
-0.03725585,
0.0015210742,
-0.048412215,
0.0028255023,
-0.028080251,
-0.02532757,
0.024497397,
-0.03853752,
-0.016093712,
0.018540539,
-0.013158976,
0.0428486,
-0.020302838,
0.024788685,
0.025094539,
0.028968683,
0.0068234424,
0.061287187,
0.0021955902,
-0.018759005,
-0.0054507437,
-0.014768347,
0.008476507,
-0.0024777763,
0.015292668,
-0.0045368248,
-0.0006840738,
-0.020230014,
0.05825778,
0.0067761084,
0.038770553,
0.00027012496,
0.028036557,
0.014571727,
-0.008199783,
0.05729653,
0.042615566,
0.01549657,
-0.03646937,
0.064549625,
0.025939276,
0.029798856,
0.027599623,
0.045324553,
-0.015205281,
0.012984203,
-0.025400393,
-0.021802975,
0.00033657523,
0.014782912,
0.04223689,
0.0010313448,
0.019064859,
0.0059313704,
0.036352854,
0.01320267,
0.0075371005,
0.03259523,
-0.06221931,
0.025924712,
0.0052104304,
-0.0028728368,
-0.02244381,
-0.02296813,
0.024686735,
0.025997534,
-0.0031186119,
-0.036294598,
-0.0033425402,
0.016181098,
0.026084922,
-0.013239081,
0.051849425,
0.023827432,
-0.014163923,
0.014265874,
-0.054179735,
-0.03748888,
-0.049489986,
-0.047654863,
-0.048761763,
-0.027264642,
-0.02312834,
-0.03361474,
-0.0065576416,
-0.039731808,
0.03017753,
-0.02676945,
-0.009758178,
-0.030294046,
-0.047421835,
0.051354233,
0.046489708,
-0.0038705014,
-0.048441347,
0.029667776,
-0.0025797274,
0.048732635,
-0.016894756,
-0.03384777,
-0.00848379,
-0.031663105,
-0.010508248,
0.0009262077,
0.0049628345,
-0.045295425,
-0.009831001,
0.013763401,
-0.026754886,
0.017113224,
-0.035100315,
-0.022560326,
-0.0047334447,
0.022225343,
0.028225895,
-0.010173265,
0.02611405,
0.07165707,
-0.020069806,
-0.005468949,
0.0024795968,
0.053626288,
-0.005221354,
0.02215252,
0.056510046,
0.003397157,
-0.014265874,
0.0016357693,
-0.056102242,
-0.017506463,
-0.013231799,
-0.046577096,
-0.03702282,
0.048441347,
-0.034692507,
-0.0349838,
-0.03099314,
-0.044479817,
-0.020317402,
-0.025691682,
-0.008374556,
0.050771657,
0.07055017,
0.0043329224,
-0.036673274,
0.0292891,
0.015380055,
0.038654037,
0.025254749,
-0.006379227,
0.027133562,
0.007952187,
0.012867687,
0.0075662294,
0.046314936,
-0.04549933,
0.021045623,
-0.0090954965,
0.05482057,
-0.011054414,
-0.008046856,
0.038304493,
0.006677798,
0.019603744,
-0.029405614,
0.05147075,
0.010085878,
-0.02787635,
0.053480644,
-0.0074788425,
-0.013188105,
-0.01942897,
-0.037168466,
-0.038129717,
0.012816712,
0.019749388,
0.035886794,
-0.024075028,
0.0060041924,
0.0091828825,
-0.023332242,
-0.0023175674,
0.00044421558,
-0.012743889,
0.04756748,
0.0040707625,
0.077657625,
-0.04911131,
-0.031138783,
-0.018278379,
-0.01762298,
0.031575717,
0.013493959,
0.024293495,
-0.011345703,
0.014193052,
-0.0017358998,
-0.019880468,
0.025997534,
0.0077264383,
-0.034488607,
-0.002614318,
-0.06565652,
-0.05694698,
0.010937898,
0.05487883,
0.038217105,
0.010333474,
0.0061571193,
0.0062044538,
0.004995605,
0.04549933,
-0.047917023,
-0.009983927,
-0.033964287,
0.0494026,
-0.0054471027,
-0.01775406,
-0.012663785,
0.012306957,
0.008534765,
-0.017521027,
-0.010486401,
0.05359716,
-0.008491072,
0.0142221805,
0.01667629,
0.043198146,
-0.0040379926,
0.01221957,
-0.046344064,
-0.008010445,
0.037343238,
-0.031051397,
0.028444361,
-0.028327847,
0.02231273,
0.007777414,
-0.04774225,
-0.029347358,
-0.039557032,
0.025007153,
-0.030235788,
0.044275913,
0.038450137,
-0.023536144,
-0.021948619,
-0.009459607,
-0.0031440996,
0.015409183,
-0.021599073,
-0.001225234,
-0.037372366,
-0.015642215,
0.033906028,
0.0063610217,
0.013282774,
0.015656779,
-0.010916051,
-0.038974456,
0.060238548,
-0.033469096,
0.007329557,
-0.01339929,
0.02037566,
-0.06577303,
0.033323452,
0.0017013092,
-0.01680737,
-0.012059361,
0.0047370857,
-0.057180014,
-0.04118825,
0.010566505,
0.016093712,
0.019720258,
0.038217105,
0.0036848048,
-0.009932952,
0.050480366,
0.0047662146,
-0.03702282,
-0.008338145,
-0.04276121,
-0.014171205,
0.018453153,
-0.019487228,
0.018103605,
-0.011782636,
0.02050674,
-0.009947516,
-0.018948343,
-0.0349838,
-0.038217105,
-0.0037102925,
0.031167913,
-0.03440122,
0.029493002,
0.039819192,
-0.032391325,
0.015715037,
-0.028531749,
0.024846943,
0.026842272,
-0.014360543,
0.007416944,
0.041363023,
-0.03594505,
0.009059085,
-0.026944224,
-0.0651322,
0.018161863,
-0.047072288,
0.018977473,
-0.034168188,
-0.019152246,
0.010959745,
-0.033003032,
-0.043198146,
-0.03836275,
-0.011105389,
-0.023375934,
0.018045347,
-0.011316574,
0.027730703,
-0.026623806,
0.030264918,
0.04704316,
-0.039819192,
-0.07095798,
-0.038042333,
0.024613913,
0.02336137,
-0.0069181114,
0.0060915793,
-0.040780447,
-0.01339929,
-0.054966215,
0.018322073,
-0.024584783,
-0.007107449,
-0.034954667,
-0.04619842,
-0.0091100605,
0.03046882,
0.0011087185,
-0.056422662,
0.031633977,
-0.009627098,
0.0025251107,
-0.07305526,
-0.016530646,
-0.02663837,
0.000029470244,
-0.02089998,
0.01733169,
-0.020885415,
-0.020827157,
0.02417698,
0.01333375,
0.012037514,
0.035624634,
-0.04171257,
-0.04465459,
-0.012969638,
-0.018365765,
0.0037685502,
0.023419628,
-0.035042055,
0.021802975,
-0.030905753,
0.050218206,
-0.021438863,
-0.024978023,
0.013406572,
-0.039265744,
0.01709866,
-0.05359716,
0.026987918,
-0.032682616,
0.0066486695,
-0.021438863,
0.0214243,
-0.0003568289,
-0.013938175,
-0.039324004,
-0.08278431,
0.03335258,
-0.04800441,
-0.03836275,
-0.027832655,
-0.013180823,
0.03198352,
-0.00068680465,
0.041304767,
0.07684201,
0.011680685,
0.0108505115,
-0.008724103,
-0.006805237,
0.016341308,
-0.033439968,
-0.027046176,
0.029230842,
-0.06058809,
-0.0023776458,
-0.0031149706,
-0.025691682,
-0.0070346273,
0.0031277146,
-0.019443534,
-0.0174919,
0.04101348,
-0.015409183,
-0.015642215,
-0.037168466,
0.018598797,
0.02024458,
0.005257765,
0.02417698,
0.057325657,
0.018496845,
0.04229515,
-0.03888707,
-0.06565652,
0.008512918,
0.060471576,
0.0014564445,
-0.060238548,
0.0063100457,
-0.013938175,
-0.039615292,
-0.04378072,
0.01258368,
-0.031663105,
-0.026987918,
-0.0015929862,
0.011724379,
0.013355596,
-0.059189904,
0.041566927,
0.03303216,
-0.024672171,
-0.008607587,
0.02506541,
-0.02270597,
-0.010974309,
0.007289505,
0.053888448,
-0.04570323,
-0.03378951,
-0.037081078,
-0.032216553,
-0.0140838185,
-0.011535041,
0.036585886,
-0.0030020962,
0.0014446109,
0.0075735115,
-0.014593574,
0.057442173,
0.0005803021,
0.023638096,
0.026973352,
-0.0070819617,
-0.033236064,
-0.049548242,
0.008359992,
0.028284153,
-0.005330587,
-0.026594678,
0.0043948214,
0.019181374,
0.061287187,
-0.04777138,
-0.07835671,
0.04226602,
-0.021234961,
-0.015350926,
-0.0030585334,
-0.01149863,
0.0011196417,
0.0266675,
0.0028509903,
-0.05913165,
-0.01215403,
0.006138914,
0.027235514,
-0.016690854,
-0.03073098,
-0.044188526,
-0.015059637,
-0.03728498,
0.0007696399,
-0.031633977,
0.008709539,
0.029755162,
-0.008425532,
-0.009583405,
-0.03571202,
0.043518562,
0.032624356,
0.01549657,
-0.032391325,
-0.014345978,
-0.0107412785,
0.0038195257,
-0.027148126,
0.0456741,
0.05385932,
-0.05860733,
0.022647712,
0.008425532,
-0.0064374846,
-0.025283877,
0.03378951,
0.020171756,
-0.015380055,
0.018496845,
0.030061016,
0.011185494,
-0.030148402,
-0.028298717,
-0.013086154,
-0.026463598,
-0.00086840504,
0.024541091,
0.021060187,
0.03751801,
0.021569943,
0.04383898,
-0.042615566,
-0.039090972,
0.01746277,
-0.011331138,
0.02050674,
-0.0033279757,
-0.015802423,
-0.043052502,
0.024322623,
0.045470197,
-0.005130326,
0.010522812,
0.0033825925,
-0.026361646,
0.018161863,
-0.00081242295,
0.008345427,
0.060238548,
0.040867835,
0.026230566,
0.0077992603,
-0.05094643,
-0.0025724452,
0.019079423,
-0.0718901,
-0.046285808,
0.01798709,
-0.050713398,
0.022924436,
-0.010755843,
-0.016501516,
-0.008105114,
-0.0011569632,
-0.009947516,
0.021934055,
0.015321797,
0.024497397,
0.034168188,
-0.026434468,
-0.06064635,
-0.01120734,
-0.0022756946,
-0.027046176,
-0.008578458,
0.031896137,
0.022137957,
0.019123117,
-0.028153073,
-0.03859578,
0.012423472,
-0.0007714605,
-0.002810938,
0.016749112,
0.051558137,
-0.06431659,
0.022108829,
-0.054762315,
-0.004187278,
-0.0076390514,
0.0061644013,
0.01149863,
-0.040518288,
0.04101348,
0.04491675,
0.032012653,
-0.035624634,
0.000214598,
0.043169014,
0.035915922,
-0.0142221805,
0.0005803021,
0.0030111992,
0.005884036,
0.05703437,
0.014433365,
0.018190993,
0.037867557,
0.019851338,
0.010238805,
0.048120927,
0.013632321,
0.021671895,
0.041916475,
-0.009248422,
-0.0070382683,
-0.030497948,
-0.026463598,
-0.0071256547,
0.024395445,
0.028517185,
0.011090825,
-0.013916328,
-0.009423196,
-0.015059637,
-0.0028418873,
-0.033177808,
-0.022036007,
0.033527352,
0.008600305,
0.004478567,
0.022516632,
0.015482006,
-0.0010149598,
0.06472439,
-0.0044203093,
0.029667776,
0.02939105,
-0.008294452,
-0.002749039,
0.032682616,
0.00023155192,
-0.00943776,
0.0071256547,
-0.047946155,
-0.028662829,
-0.003384413,
-0.024162415,
-0.023317678,
0.012904098,
-0.005694698,
-0.016821934,
-0.030119274,
0.037925817,
-0.031342685,
0.0222836,
0.018598797,
-0.04177083,
-0.03827536,
0.018598797,
-0.0062299413,
0.032420456,
0.0053123813,
0.059481196,
0.01890465,
0.05936468,
0.055286635,
-0.0108359475,
0.0039178357,
0.047363576,
0.008840619,
-0.019924162,
-0.008556612,
0.0043656924,
0.054733187,
-0.020725206,
-0.054529283,
0.03577028,
0.025152797,
-0.012816712,
-0.02312834,
0.03626547,
0.014047408,
-0.028196767,
-0.0063646627,
0.062161054,
0.022866178,
-0.006073374,
0.009867412,
-0.037430625,
-0.04013961,
-0.007850236,
-0.046897516,
0.037139334,
0.0090954965,
-0.012292392,
-0.02542952,
-0.03466338,
-0.012976921,
0.022385553,
-0.020914543,
-0.01942897,
0.056539178,
0.028895859,
0.013938175,
0.010544659,
-0.0022265397,
0.011527758,
0.048645247,
0.051499877,
0.033236064,
0.054529283,
0.072589196,
-0.036352854,
0.005133967,
0.036702402,
0.022341859,
-0.020069806,
0.007828389,
0.016064582,
0.017899703,
-0.048237443,
-0.04509152,
-0.025123669,
0.062394083,
-0.05560705,
0.010573788,
-0.05438364,
-0.010653892,
-0.04753835,
-0.0051485314,
-0.01654521,
0.030789237,
-0.017972525,
0.0077264383,
0.016224792,
-0.06163673,
0.2523727,
0.03361474,
0.03463425,
0.0141857695,
0.04593626,
0.07748285,
0.00091664976,
-0.008243476,
0.00055982085,
-0.057442173,
0.018030783,
-0.0006212646,
-0.0049810405,
0.009226576,
-0.03405167,
0.006481178,
-0.011032567,
0.004773497,
0.011833612,
-0.039003585,
-0.028793909,
0.074686475,
0.023273984,
0.057092626,
-0.008119678,
0.0064993836,
0.028517185,
-0.07841498,
-0.02771614,
-0.046810128,
0.04386811,
-0.035100315,
0.009284833,
-0.031837877,
-0.012743889,
0.0325661,
0.0091173425,
-0.031430073,
-0.021380605,
-0.021278655,
-0.006572206,
0.0028255023,
0.018220121,
0.016370436,
-0.033527352,
0.032973904,
-0.0038741424,
-0.0024450063,
0.012620091,
-0.03177962,
0.031633977,
-0.036673274,
0.0061826073,
-0.06711297,
-0.046664484,
-0.0015447414,
-0.028327847,
-0.024133286,
0.028954117,
0.032187425,
0.01942897,
0.03906184,
-0.010362603,
-0.0027290129,
-0.012984203,
0.03597418,
-0.031226171,
0.011622427,
-0.0107631255,
-0.026565548,
-0.017521027,
-0.0076608984,
0.041100863,
-0.036148954,
-0.011090825,
0.045557585,
-0.023448758,
0.059889,
0.024075028,
-0.054179735,
0.013712426,
-0.020055242,
0.005982346,
-0.047917023,
0.012751172,
0.028182201,
-0.04651884,
0.019924162,
-0.0039178357,
-0.0041617905,
0.04302337,
0.036615014,
-0.00014200334,
0.038828813,
0.037372366
] | Then use 🤗 Datasets[~datasets.Dataset.set_transform] to apply the transforms on the fly:
dataset.set_transform(transforms)
Now when you access the image, you'll notice the image processor has added pixel_values. You can pass your processed dataset to the model now!
dataset[0].keys()
Here is what the image looks like after the transforms are applied. The image has been randomly cropped and it's color properties are different. |
[
0.024120841,
-0.02079778,
-0.0020983987,
-0.039590266,
-0.015985072,
0.011910024,
-0.028589787,
-0.014115849,
0.007920918,
0.016930424,
-0.019308133,
-0.026255049,
0.045548856,
-0.03394679,
0.046465565,
0.06365381,
0.00890208,
-0.040163208,
-0.056463394,
-0.026670432,
-0.025639137,
-0.01683016,
-0.05620557,
-0.045405623,
-0.012690657,
-0.0397335,
0.017259866,
-0.0041860547,
0.047124445,
0.050504804,
-0.049187038,
0.013428319,
0.0039031648,
0.01339251,
-0.041566912,
-0.032743614,
-0.01153045,
-0.015727248,
-0.0735657,
-0.023848694,
0.0318842,
0.012418509,
-0.022287428,
-0.010133904,
-0.052023098,
0.014359349,
-0.0025030386,
-0.033918142,
-0.009073962,
-0.026770696,
-0.028203052,
0.014738923,
0.0063954606,
0.013113201,
-0.009295978,
-0.013199142,
-0.019723514,
-0.023877341,
-0.011702333,
0.013385348,
0.00051072374,
0.03512132,
-0.006159122,
-0.02614046,
0.007412432,
0.0446608,
0.020869398,
-0.005425041,
-0.0041645695,
0.0032210061,
-0.07872218,
0.0027626527,
-0.008436565,
-0.01331373,
0.008150094,
0.032514438,
-0.030881552,
-0.0124758035,
-0.007999697,
0.019551633,
-0.014796217,
0.009360434,
0.0017197201,
0.0043471945,
-0.004669474,
-0.021456663,
-0.008422242,
-0.020769134,
-0.028331963,
-0.034978084,
-0.0372985,
0.038129263,
-0.016414776,
0.026856638,
0.04907245,
0.035894793,
-0.036324497,
0.03738444,
0.041079912,
0.00089343084,
0.00047804817,
0.08468077,
-0.018348455,
0.06703417,
0.003491363,
-0.030394552,
-0.020898046,
-0.014165982,
-0.038043324,
-0.014495423,
0.02545293,
-0.036525026,
0.011036288,
0.0128840245,
0.03580885,
-0.008916404,
-0.018090632,
0.007476888,
-0.050963156,
-0.026613139,
0.029506493,
-0.007885109,
-0.015025394,
-0.0382725,
0.03148314,
-0.053913806,
-0.049788624,
0.04171015,
-0.009217198,
-0.020253485,
0.00045768186,
-0.020482663,
0.014667305,
0.069154054,
-0.035551026,
-0.02139937,
0.0058833943,
0.007999697,
-0.0023114614,
0.0034322783,
-0.0032031017,
-0.016500719,
-0.036926087,
0.072648995,
0.03050914,
-0.0031637119,
-0.006094666,
-0.048442215,
-0.08382136,
0.00065485435,
-0.047697388,
-0.035722908,
-0.0018656411,
0.014316378,
-0.028346285,
0.0064026224,
-0.0053856513,
0.041767444,
-0.02472243,
0.027572814,
0.03936109,
-0.010642391,
-0.039676208,
0.048213035,
0.025753725,
0.05093451,
-0.039189205,
-0.030251317,
-0.002742958,
-0.013707628,
0.0023687554,
-0.02212987,
-0.0115949055,
-0.002775186,
0.05878381,
-0.0088949185,
0.04746821,
0.014953776,
-0.017202571,
-0.00299362,
-0.039504323,
-0.021700164,
0.007190417,
0.0063668136,
0.017489042,
0.008801815,
-0.009568125,
-0.002479763,
0.04357221,
0.01771822,
0.011272626,
0.040564265,
-0.01853466,
0.027529845,
-0.042884678,
0.035064027,
-0.03394679,
-0.04603586,
-0.007963888,
-0.022731459,
-0.00077212835,
0.034949437,
-0.015225924,
0.0043973266,
0.028876256,
0.008995183,
0.0043364516,
0.05574722,
-0.03228526,
0.037155263,
0.030795611,
-0.0019641155,
-0.018477367,
0.027329315,
0.027601462,
0.025739402,
-0.00030236098,
0.011559097,
-0.0009569915,
0.021012634,
0.054400805,
0.018147925,
0.051937155,
-0.011365729,
-0.00014961386,
0.013872349,
-0.029191375,
0.053226277,
0.019035986,
0.02157125,
-0.053913806,
0.027157431,
0.035465084,
0.017045014,
-0.008236036,
0.029506493,
0.0017993947,
0.002277443,
0.014867835,
0.009324625,
-0.043629505,
0.024206784,
0.03678285,
0.023705458,
0.000750643,
0.012654847,
0.0053104525,
0.004762577,
-0.0014413062,
0.02811711,
-0.04208256,
0.032342553,
-0.030194024,
-0.046494212,
-0.04030644,
-0.023132518,
0.033373848,
0.054228924,
-0.0028056235,
0.0043436135,
-0.001853108,
-0.004082209,
0.014051393,
-0.01096467,
0.053455453,
0.040678855,
0.0130057745,
0.02022484,
-0.03847303,
-0.041796092,
-0.036754206,
-0.033688966,
-0.04526239,
0.007190417,
-0.030451847,
-0.0456348,
0.012690657,
-0.030365905,
0.029850258,
-0.022230135,
0.002084075,
-0.0048449375,
-0.02516646,
0.027486874,
0.06663311,
0.024307048,
-0.010592258,
0.029792964,
-0.010141066,
0.011766789,
-0.0067857774,
0.0007457193,
0.0020787038,
-0.000447163,
0.01108642,
-0.020382397,
-0.015111335,
-0.029764317,
-0.027930904,
0.031740963,
0.006291615,
0.01634316,
-0.012354054,
0.026842315,
-0.022989282,
-0.010850082,
0.0027465387,
-0.017532013,
0.057150926,
-0.007108057,
-0.035894793,
0.019193543,
0.008157256,
0.034892146,
-0.018663572,
0.034605674,
0.028074138,
0.0011763207,
-0.043228444,
-0.027644433,
-0.041337736,
0.040850736,
-0.042225797,
-0.013578716,
-0.04328574,
0.03787144,
-0.01678719,
-0.034405142,
-0.0069039464,
-0.029964846,
-0.018219544,
-0.06680499,
-0.0010859034,
0.06989887,
0.027415255,
0.02942055,
-0.044402976,
0.06290899,
0.0021252553,
-0.008107124,
-0.005074114,
-0.0034376497,
0.091040425,
0.023920313,
-0.008329139,
-0.0031672928,
0.05712228,
-0.018319808,
0.030824259,
-0.020368075,
0.03050914,
0.006753549,
0.016414776,
0.029592434,
0.019723514,
0.025596166,
-0.014516908,
0.041251797,
0.0240349,
-0.010040802,
0.029191375,
0.005729416,
-0.008286168,
0.017861454,
-0.01638613,
-0.013557231,
-0.010606581,
0.00071304373,
0.05216633,
-0.025567519,
-0.0041932166,
0.005915622,
-0.06193499,
0.020482663,
0.016013717,
-0.03472026,
0.054486748,
0.009424889,
0.05958593,
-0.030795611,
-0.019121926,
-0.0014860673,
0.018104956,
0.02973567,
0.0013535746,
0.009689875,
0.00041336843,
0.032944143,
-0.026126137,
-0.037441734,
0.028575463,
0.026885284,
-0.009553801,
-0.031225318,
-0.05308304,
-0.033402495,
0.0046587316,
0.012619039,
0.024135165,
-0.018792484,
0.025023224,
-0.003989106,
-0.007193998,
0.019651897,
0.00052907574,
0.0015863321,
-0.03265767,
0.039275147,
0.008923566,
-0.029592434,
-0.004698121,
0.021814752,
-0.0029631823,
0.00094356324,
-0.055174276,
0.02856114,
-0.017145278,
0.03248579,
-0.051192332,
0.024392989,
-0.05806763,
-0.010004993,
-0.06222146,
0.00030191336,
0.02621208,
-0.043199796,
-0.010391728,
-0.047754683,
-0.007863624,
0.011351406,
-0.038215205,
-0.03532185,
-0.011057773,
0.006066019,
-0.030251317,
0.0309102,
0.05554669,
-0.021542605,
-0.0063489093,
-0.041767444,
-0.00829333,
0.012031774,
0.004049981,
-0.045176446,
-0.0036328079,
0.020539956,
0.0031529693,
-0.0032102636,
0.026183432,
0.005389232,
0.016042365,
-0.06989887,
0.042512268,
-0.009596772,
-0.003996268,
-0.014667305,
0.027186079,
-0.028360609,
0.015598335,
-0.014896482,
-0.06646123,
-0.019250838,
0.029621081,
-0.048929214,
-0.0421685,
-0.0054393644,
-0.016529365,
0.021513958,
0.032313906,
-0.0020052956,
-0.015268894,
0.04867139,
-0.009432051,
-0.056348808,
0.009897566,
-0.062164165,
0.009768655,
0.040249147,
-0.008035506,
0.02071184,
-0.041967973,
0.008844786,
-0.026770696,
0.00416815,
0.019709192,
-0.048642743,
0.015426453,
0.02197231,
-0.043514915,
-0.013485613,
0.061648518,
-0.06365381,
-0.008056992,
-0.0049631065,
0.026126137,
-0.032743614,
-0.03325926,
0.027372286,
0.08702983,
0.0021180934,
0.0121821705,
-0.054715924,
-0.035894793,
-0.012812407,
-0.04993186,
0.013299407,
-0.008737359,
-0.030365905,
-0.015111335,
-0.0008048039,
-0.045405623,
-0.015641306,
-0.014302055,
0.0049022315,
0.045348328,
-0.027243374,
0.0011073888,
-0.032800905,
0.02265984,
0.088748656,
-0.019279486,
-0.07608665,
-0.035092674,
0.023920313,
0.0021019795,
0.0020446854,
0.03277226,
-0.022273105,
-0.03328791,
-0.028174404,
0.055460747,
-0.04345762,
-0.008372109,
-0.030050788,
-0.05325492,
-0.008973698,
0.035350498,
0.045520213,
-0.04268415,
0.01258323,
-0.030136729,
0.0010867986,
-0.0490438,
-0.031998787,
-0.016156953,
-0.014968099,
-0.03225661,
0.005206607,
-0.0034483923,
-0.017345807,
-0.0025030386,
0.029506493,
0.013657495,
-0.0034537637,
-0.044861328,
-0.046752036,
-0.004089371,
-0.0032442817,
-0.018821131,
0.05992969,
-0.011036288,
0.034204613,
-0.00821455,
0.07115935,
-0.020597251,
0.0048270333,
-0.007963888,
-0.019967016,
0.015068364,
-0.026255049,
0.0036471314,
0.00095341064,
0.034090027,
0.0225739,
0.044918623,
-0.0164291,
0.003047333,
-0.049101096,
-0.10662443,
0.020038633,
-0.02374843,
-0.006015887,
-0.003330223,
0.019924045,
0.024178136,
-0.040191855,
0.028174404,
0.035694264,
0.032428496,
0.000447163,
-0.04228309,
0.01011242,
0.0032800906,
-0.004060724,
-0.031168023,
0.01658666,
-0.015813189,
0.0095394775,
0.014087202,
-0.040163208,
-0.03176961,
0.020382397,
0.015641306,
-0.00352001,
0.008615609,
-0.008150094,
-0.03254308,
-0.027844962,
0.019351102,
0.050390214,
0.015626982,
-0.003806481,
0.020983987,
-0.007125961,
0.04680933,
-0.035722908,
-0.04623639,
-0.016314512,
0.041796092,
-0.009009507,
-0.04405921,
0.016801512,
0.02350493,
-0.04073615,
-0.018835455,
0.018921396,
0.00078242336,
-0.035780203,
-0.010885891,
0.017947396,
-0.019351102,
-0.01946569,
-0.006019468,
0.02104128,
-0.013091716,
-0.018634927,
0.048814625,
-0.018348455,
-0.022674164,
0.01153045,
0.034175966,
-0.036439087,
-0.030308612,
-0.020983987,
-0.032142024,
-0.055689923,
-0.03641044,
0.047067154,
-0.0062701297,
0.027587138,
0.011995965,
0.034892146,
0.061533928,
-0.027988197,
-0.0015218762,
-0.013807893,
-0.009611095,
-0.04374409,
0.0030437524,
0.0111866845,
0.0017089774,
0.028260345,
-0.044202443,
0.021227486,
0.046494212,
0.028775992,
-0.011902862,
-0.073852174,
0.004042819,
-0.039418384,
-0.003928231,
0.036324497,
0.008006859,
-0.013822217,
0.03257173,
-0.011559097,
-0.0026981968,
0.033488438,
0.006015887,
-0.021385046,
-0.033545732,
-0.027730374,
-0.0057759676,
-0.035293203,
-0.045835327,
-0.014373672,
-0.04700986,
0.006137637,
0.033373848,
-0.03434785,
-0.007870785,
0.032113377,
0.004551305,
0.0058583277,
0.053226277,
-0.03798603,
0.02374843,
-0.004028496,
0.01683016,
-0.022430664,
0.015927777,
0.044402976,
-0.06846652,
0.036954734,
0.0017582146,
0.011236818,
-0.019394074,
-0.0028432228,
0.027186079,
-0.02022484,
0.0017331484,
0.013292246,
0.005389232,
-0.039618913,
-0.026083166,
0.00053981843,
-0.02933461,
0.009238684,
0.045348328,
0.010835758,
0.021227486,
0.027214726,
-0.010126743,
0.009668389,
0.03171232,
0.01120817,
0.0074410792,
0.011766789,
-0.013678981,
-0.015297541,
-0.0145885255,
0.04996051,
0.037241206,
-0.015369158,
0.024421636,
0.012432833,
-0.016472071,
-0.014473937,
0.024163812,
0.03532185,
0.053025745,
0.004171731,
-0.012375539,
0.0026104653,
-0.041853383,
-0.045949917,
0.009682713,
-0.05623422,
-0.02904814,
0.030108081,
-0.07969618,
0.007476888,
-0.014380834,
0.009016668,
0.006126894,
0.011573421,
-0.005081276,
0.010928861,
0.013077392,
0.012160686,
0.014008422,
-0.028360609,
-0.04425974,
-0.0042719957,
0.023075223,
-0.031970143,
-0.021771781,
0.022430664,
0.0027733955,
-0.0073837847,
-0.0051600556,
-0.030136729,
-0.03176961,
0.023290077,
0.028690051,
-0.028016845,
0.010384567,
-0.05377057,
0.05571857,
-0.058325455,
0.03434785,
0.015440776,
0.027014196,
-0.009532316,
0.019265162,
0.030279964,
0.042569563,
0.04858545,
-0.013965452,
-0.0068287477,
0.040879384,
0.036038026,
0.015354835,
0.015340512,
0.021413693,
0.0392465,
0.047926564,
0.030365905,
-0.0035056865,
0.08078477,
0.024221107,
-0.017904425,
0.06691958,
-0.002071542,
0.006664027,
0.011473156,
-0.008407918,
-0.030681023,
-0.021771781,
0.012733627,
0.0139439665,
0.035235908,
0.00566496,
-0.0024027738,
-0.010821435,
0.0017635858,
0.00712238,
0.003896003,
0.011659361,
0.011981641,
0.007505535,
0.0716177,
0.008422242,
0.03560832,
-0.019666221,
0.012869701,
0.037413087,
-0.023232782,
0.0068430714,
-0.0072942628,
0.014559879,
0.007258454,
0.023204135,
-0.024077872,
0.014867835,
0.008680065,
-0.056062337,
-0.04523374,
0.03176961,
0.04279874,
0.0017179296,
0.011874215,
-0.00080167066,
0.0042934814,
-0.03844438,
0.031826906,
-0.060273457,
0.03492079,
0.028690051,
-0.02197231,
-0.03620991,
0.015054041,
-0.044861328,
0.0028915647,
0.025424283,
0.07975347,
0.01039889,
0.069039464,
-0.0067392257,
-0.004264834,
0.031168023,
0.026255049,
-0.02698555,
-0.03345979,
0.0063274237,
0.007906594,
-0.0028611273,
-0.06617475,
-0.03795738,
0.045090504,
0.019150574,
0.002479763,
-0.010699685,
0.011623553,
0.002075123,
-0.017574985,
-0.00061277894,
0.04325709,
0.004021334,
-0.015354835,
-0.013628849,
0.00006686184,
-0.03563697,
-0.015283218,
-0.036983382,
0.058296807,
0.0043006428,
-0.0012819568,
0.018276837,
-0.018176572,
-0.007655932,
0.028217373,
0.010577935,
0.019150574,
0.022459311,
0.04425974,
-0.009167066,
0.039618913,
0.013098878,
-0.0016454167,
0.040592913,
0.04268415,
0.037814148,
0.106223375,
0.055947747,
0.0038995838,
0.017431749,
0.034462437,
0.0036417602,
-0.019938368,
-0.01683016,
0.014695953,
0.016199924,
-0.013012936,
-0.048356272,
-0.004264834,
0.04050697,
-0.043428972,
-0.029678375,
-0.06995617,
0.019780809,
-0.053111687,
-0.016400453,
-0.039103266,
-0.0023598033,
-0.011000479,
-0.03111073,
0.0020375235,
-0.027544167,
0.24315642,
0.044087857,
0.009002345,
0.048785977,
0.015684277,
0.096483365,
0.00991189,
-0.027988197,
-0.0069325934,
-0.0372985,
-0.0011073888,
-0.0036507123,
0.049903214,
0.0027805571,
-0.010484831,
0.01844872,
-0.033517085,
0.019723514,
-0.0030920943,
-0.010971832,
-0.0510491,
0.025338342,
-0.01844872,
0.02840358,
0.027601462,
0.002816366,
0.011910024,
-0.054916453,
-0.011143714,
-0.01003364,
0.043056563,
0.006638961,
0.033373848,
-0.027300667,
-0.011064935,
0.042827386,
-0.013994099,
-0.06508616,
-0.034662966,
-0.009446375,
-0.009976346,
-0.05053345,
0.014853511,
0.012253788,
-0.013621687,
0.0510491,
-0.026613139,
-0.02621208,
0.028288992,
-0.03858762,
0.034949437,
-0.07413864,
-0.0237914,
-0.055031043,
-0.02545293,
-0.027945226,
-0.059127573,
-0.03297279,
0.024622167,
0.049874566,
0.034319203,
0.0042612534,
-0.008472374,
-0.02864708,
-0.008766007,
-0.0048485184,
-0.01319198,
0.068810284,
-0.015311864,
0.012805245,
0.042225797,
0.0015630564,
0.012103392,
-0.016959071,
0.025180783,
0.013077392,
-0.0053713275,
0.0426555,
0.00032877,
-0.07574288,
0.030766964,
-0.029363258,
-0.004118018,
-0.02942055,
0.011079258,
0.041280445,
-0.022803076,
-0.0007202055,
-0.021585574,
0.033517085,
0.012038936,
0.03735579,
-0.02467946,
-0.007158189,
-0.0015863321
] | Load the image processor with [AutoImageProcessor.from_pretrained]:
from transformers import AutoImageProcessor
image_processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224")
First, let's add some image augmentation. You can use any library you prefer, but in this tutorial, we'll use torchvision's transforms module. If you're interested in using another data augmentation library, learn how in the Albumentations or Kornia notebooks. |
[
0.013163187,
-0.027901834,
-0.0028840483,
-0.012824536,
-0.017285885,
-0.0144957015,
-0.020966865,
0.011646623,
-0.0014696316,
0.068319,
0.029977906,
-0.037074838,
0.032569315,
-0.0321276,
0.006603679,
0.025840484,
-0.033953365,
-0.05630428,
-0.027990177,
0.004571778,
0.005532514,
0.0073288325,
-0.048058882,
-0.040520236,
0.010026991,
0.030419623,
0.012552144,
-0.005757054,
0.0696736,
0.0125226965,
-0.041492015,
0.016049076,
0.02192392,
-0.0060036792,
-0.0046564406,
-0.029109195,
0.030419623,
0.0177865,
-0.039754592,
-0.055008575,
0.05589201,
0.0032263796,
-0.005374232,
-0.016284658,
-0.04526134,
-0.00953374,
0.018640487,
-0.0273276,
0.0043509193,
-0.00015563646,
-0.03333496,
0.0036791402,
0.0061987713,
0.00013021468,
-0.021806128,
0.006603679,
0.021776682,
-0.005642943,
-0.022733737,
0.0115656415,
0.03321717,
0.065256424,
-0.033511646,
-0.05206379,
0.016844166,
0.042552136,
-0.006666256,
0.011057666,
0.015474843,
-0.026709195,
-0.013766867,
-0.020053983,
-0.0030865022,
-0.033040483,
-0.005731287,
0.01591656,
0.031656433,
-0.016049076,
-0.020746008,
0.054419618,
-0.025869932,
-0.007811041,
-0.02068711,
-0.003495091,
-0.026826987,
-0.0167411,
0.030272385,
-0.020849075,
-0.018934965,
-0.023631895,
-0.050061338,
0.03277545,
-0.008768096,
0.014996315,
0.040755816,
0.03460122,
-0.026399992,
0.029212262,
0.0018082818,
0.0029889562,
0.04319999,
0.056098145,
-0.012515334,
0.046851523,
-0.026561957,
-0.014377911,
0.012404905,
0.0011742328,
-0.053182807,
-0.021850301,
0.03498404,
-0.018257665,
0.04278772,
0.055420846,
0.017182818,
0.012412267,
-0.012066254,
0.010314108,
-0.053506736,
-0.024618398,
-0.0055803666,
-0.024898153,
0.0034822077,
-0.05112146,
0.029860115,
-0.041020848,
0.000777147,
0.026959501,
-0.02999263,
-0.031626984,
0.034218397,
-0.033865023,
0.016431898,
0.037811033,
-0.024206128,
0.010019629,
-0.03795827,
0.0099092,
0.0020355822,
-0.011013494,
-0.0009579752,
-0.033423305,
-0.01069693,
0.06201716,
0.008981593,
0.006139876,
0.0036552139,
0.0051128822,
-0.055126365,
-0.0129055185,
0.0028895698,
-0.0321276,
-0.037369315,
0.028858889,
0.030979132,
-0.020348461,
-0.0070858877,
0.018714106,
0.019023309,
0.010299384,
0.05288833,
0.0018138032,
-0.018861344,
0.026473613,
-0.026930055,
0.07338403,
-0.048736185,
-0.038841706,
-0.023028215,
0.014031898,
0.021408584,
-0.04617422,
0.028211035,
0.010711653,
0.051946,
-0.003495091,
0.044731278,
0.017963186,
-0.0044503054,
0.0067730043,
-0.012213494,
0.0001092216,
0.008856439,
0.0614871,
-0.015563186,
0.03604416,
0.010137421,
-0.014046622,
-0.003149079,
-0.019420853,
0.028726373,
0.04894232,
-0.050090786,
0.012507972,
-0.007877299,
0.03306993,
-0.017447848,
-0.028328827,
-0.016534965,
-0.06260612,
-0.002931901,
0.016785271,
-0.04387729,
-0.008922697,
0.0036460112,
-0.013568095,
0.03209815,
0.046939865,
-0.0037251525,
0.044878516,
0.022247847,
0.018110424,
-0.02548711,
0.031626984,
0.014274843,
0.034100603,
0.019303063,
0.020215945,
-0.00093404885,
0.019229442,
0.020466253,
0.040638026,
0.05821839,
-0.0071852743,
0.024647847,
0.0273276,
-0.024603674,
0.061369307,
0.025928827,
0.036544777,
-0.02672392,
0.0361914,
-0.030184042,
0.055950906,
-0.008974231,
0.026193859,
0.006485888,
-0.0058269924,
0.0013527604,
-0.019715331,
-0.020215945,
0.03321717,
0.016976682,
0.024706742,
0.018684657,
0.025310423,
0.0017337418,
0.01632883,
-0.048883423,
0.06708219,
-0.0983558,
0.07491532,
0.03174478,
-0.030272385,
-0.028799992,
-0.011617175,
-0.020701835,
0.036368087,
0.0023319013,
0.0065705506,
0.0009588954,
0.015533738,
-0.028770545,
-0.028137416,
0.008304292,
0.052299373,
-0.016461344,
0.014363186,
-0.006979139,
-0.031155821,
-0.05916072,
-0.031479746,
-0.070321456,
-0.010630672,
-0.011359506,
-0.0035411033,
0.0228957,
-0.0112417145,
0.028858889,
0.015224536,
-0.008311654,
-0.011919015,
-0.0228957,
0.0059742318,
0.021541098,
0.013317788,
-0.027651526,
0.031391405,
-0.026694471,
0.030154593,
-0.018890793,
0.01996564,
-0.017683432,
-0.0065889554,
0.006283434,
0.0055987714,
-0.036574222,
-0.0321276,
-0.0060110413,
-0.0022380361,
0.0018975455,
-0.011573003,
0.010152144,
0.003927606,
-0.03047852,
0.023690792,
0.010107973,
-0.041668702,
0.034365635,
0.031626984,
-0.020245394,
0.007365642,
0.00013746163,
0.018964412,
-0.03265766,
0.023808584,
0.021158276,
0.016711652,
-0.025619626,
0.00874601,
-0.034807354,
0.02071656,
-0.02308711,
0.006298158,
-0.039842933,
0.058365628,
0.0015561345,
-0.044024527,
0.0027423305,
-0.0355141,
-0.063312866,
-0.0065595075,
-0.0023098153,
0.045526367,
0.040667474,
0.033011034,
-0.025310423,
0.030655207,
0.0050245384,
0.011006132,
0.014885886,
-0.032510422,
0.0050171767,
0.027047846,
0.027916556,
0.022218399,
0.0341595,
-0.032893244,
0.013052757,
-0.03309938,
0.009850305,
0.022733737,
0.011528831,
0.002538036,
-0.010858892,
0.028211035,
-0.05427238,
-0.0026134963,
0.011609813,
-0.020348461,
0.062370535,
-0.011830672,
0.022262571,
-0.030979132,
-0.03103803,
-0.04275827,
0.0068098144,
0.04526134,
0.046763178,
-0.040284652,
-0.0067435564,
0.022939872,
-0.037663795,
-0.0041595083,
0.013788953,
-0.028461343,
0.019730056,
0.034748457,
0.065668695,
-0.039754592,
-0.037192628,
-0.013523923,
0.011771776,
-0.0008314415,
0.021025762,
0.00074677897,
-0.006272391,
0.03563189,
-0.049649067,
-0.069084644,
-0.010844169,
-0.0050282194,
-0.01659386,
-0.06348956,
-0.089933716,
0.013339873,
-0.004163189,
0.026105514,
0.04479017,
0.010446623,
0.011219629,
0.0046711643,
0.027504288,
0.019847848,
-0.028549686,
0.020922694,
-0.048412256,
0.037516553,
-0.0024883428,
-0.042669926,
-0.020525148,
0.027710423,
0.004384048,
0.028269932,
0.034453977,
0.0013306745,
-0.04004907,
0.02068711,
-0.015312879,
0.032009806,
-0.018493246,
-0.009283433,
-0.0242503,
0.011131286,
0.02890306,
-0.047411032,
-0.02095214,
-0.023602448,
-0.002057668,
0.04711655,
-0.04190428,
-0.025192631,
0.009069936,
-0.03772269,
-0.020554597,
0.037369315,
0.05424293,
-0.01523926,
-0.018522695,
0.017359504,
-0.03757545,
0.020053983,
-0.02323435,
-0.012301837,
0.0077300593,
0.009732513,
0.022424534,
-0.0027239257,
0.019023309,
0.0046711643,
0.0035723918,
-0.058954585,
0.027018398,
-0.011698157,
0.046409804,
-0.03103803,
-0.01212515,
0.0085693225,
0.05768833,
0.0055582807,
-0.03990183,
-0.01654969,
0.0063570538,
-0.059455197,
-0.026355822,
0.009040489,
0.013207358,
0.019833123,
0.0682601,
-0.021791406,
-0.0061251516,
0.061958265,
0.012294475,
-0.06985029,
-0.0005981593,
-0.035838027,
0.00379141,
-0.0004177913,
-0.034247845,
0.021982817,
-0.035190176,
0.036662567,
-0.030272385,
0.0054625752,
0.012530058,
-0.041992627,
0.03651533,
0.031950913,
-0.03183312,
-0.017948462,
0.02143803,
-0.013685886,
0.038164407,
-0.054419618,
0.0019214719,
-0.0063938634,
-0.053241704,
-0.006489569,
0.05344784,
-0.0060441704,
-0.0048073605,
-0.0029539869,
-0.05830673,
0.003798772,
-0.013825763,
0.045997534,
-0.008363188,
0.015003677,
-0.030360729,
0.023072386,
-0.011536193,
-0.0009920243,
0.003787729,
-0.031980358,
0.00013769168,
-0.0076858876,
-0.011212267,
-0.03999017,
-0.0037693242,
0.074797526,
-0.04770551,
-0.09117053,
0.012625763,
0.05477299,
-0.0075460104,
0.0074907956,
0.012434352,
-0.0110503035,
-0.027577907,
0.011528831,
0.010719015,
-0.049119007,
-0.012809813,
-0.05394845,
-0.04576195,
-0.00006786808,
0.015195088,
0.001662883,
-0.0443779,
0.013943555,
-0.05100367,
-0.049531274,
-0.041109193,
-0.021290792,
-0.04131533,
0.0067030657,
-0.027710423,
0.04096195,
-0.024073614,
0.0022251527,
-0.0024478522,
0.02458895,
0.025590178,
0.046822075,
-0.021423306,
-0.0328049,
-0.03810551,
-0.014326377,
0.03171533,
-0.011646623,
-0.0061545996,
0.019641712,
-0.046350908,
0.0485006,
-0.028255207,
-0.0103509175,
-0.008341102,
0.017271161,
0.030566864,
-0.024574226,
0.010895703,
0.019759504,
-0.0054625752,
0.048736185,
0.042552136,
0.012971776,
-0.02023067,
-0.028225759,
-0.07002698,
0.028947232,
-0.021835577,
0.0030846617,
-0.030714102,
-0.02882944,
0.054566856,
-0.026252754,
0.044849068,
0.03468956,
0.047499374,
0.03839999,
-0.051680967,
0.007943557,
-0.0021625762,
-0.022498153,
-0.024662571,
-0.005841716,
-0.039312873,
-0.0023171774,
-0.020083431,
-0.037811033,
-0.04414232,
0.023278521,
-0.021334963,
-0.042846613,
0.027239257,
-0.02698895,
-0.054449067,
-0.027548458,
0.04811778,
0.039018396,
0.0019343554,
-0.0050871153,
-0.00026963183,
0.03227484,
0.017506745,
-0.010387727,
-0.029138643,
-0.010748464,
0.032451525,
0.0015092021,
-0.026282202,
0.045290787,
0.02553128,
-0.052505508,
-0.049649067,
-0.0063202437,
-0.026532508,
0.016711652,
-0.043229435,
-0.0132220825,
-0.007604906,
-0.02095214,
0.0065852744,
0.045496922,
-0.021276068,
-0.0036809805,
-0.0006358894,
0.0286822,
-0.050385263,
0.003438036,
0.06602207,
-0.048736185,
-0.06661102,
-0.0614871,
-0.027312877,
-0.016034352,
0.024279749,
0.039253976,
0.025958275,
-0.0033276065,
0.030979132,
0.0228957,
0.075092,
-0.024942325,
0.013641714,
0.0021257664,
-0.040284652,
-0.046910416,
-0.07038035,
0.04137422,
0.021717785,
0.007442943,
-0.044878516,
-0.02582576,
-0.007262575,
0.05274109,
-0.02330797,
-0.07538648,
0.020392632,
-0.053212255,
-0.007387728,
-0.038782813,
-0.00180184,
0.02698895,
-0.00056226976,
-0.012434352,
-0.015990179,
0.0083779115,
0.0046343547,
-0.014591407,
-0.000593098,
-0.01872883,
-0.022468707,
-0.02323435,
-0.010932513,
-0.0070527587,
-0.042080972,
0.00010795626,
0.017315334,
-0.022969319,
-0.004715336,
-0.022115331,
0.02931533,
0.0024773,
0.047234345,
-0.007803679,
-0.005377913,
-0.011315335,
0.013980364,
-0.011771776,
0.012014721,
0.061663788,
-0.03769324,
-0.010446623,
0.010645396,
0.0002578987,
-0.04590919,
0.01933251,
0.021187725,
-0.014046622,
-0.0146871125,
0.037280973,
-0.018478522,
-0.057305507,
-0.0131558245,
0.010343555,
-0.0017337418,
0.0020024534,
0.07214722,
0.021423306,
0.020319013,
0.0025766864,
0.01332515,
0.011528831,
0.000092542155,
-0.016534965,
-0.029462568,
0.0067472374,
0.03866502,
-0.0071521453,
-0.023293246,
0.04823557,
0.013008585,
0.0013196316,
0.058365628,
-0.031774227,
-0.013428218,
0.0029263797,
-0.0012653371,
0.009253985,
0.056392625,
-0.0184638,
-0.026076067,
0.009629445,
-0.014944782,
-0.022660118,
0.028755821,
-0.06066256,
-0.027960729,
0.0020171774,
-0.054125138,
0.034660112,
-0.024942325,
0.01523926,
-0.019199995,
-0.015533738,
0.010498157,
0.036721464,
0.0132220825,
-0.0039055205,
0.04908956,
-0.04264048,
-0.00994601,
0.01952392,
0.017712878,
-0.039224528,
-0.04237545,
-0.012309199,
0.06219385,
0.024338644,
-0.031892017,
-0.030537415,
-0.031391405,
0.009555826,
0.021114105,
-0.023514105,
-0.0009069016,
-0.047057655,
0.031391405,
-0.03716318,
0.012750917,
0.0044650296,
0.0013131899,
-0.026076067,
0.016490793,
-0.0072883414,
0.050296918,
0.061251517,
-0.012471163,
0.012323923,
0.022498153,
0.061958265,
-0.00792147,
-0.011919015,
-0.02112883,
0.037251525,
0.04428956,
0.030390177,
0.017050302,
0.010152144,
0.037398763,
0.016947234,
0.030802445,
0.023366865,
0.01824294,
-0.021482203,
-0.023543552,
-0.03784048,
0.004222085,
0.023926374,
0.046645388,
0.028269932,
0.016490793,
0.008120243,
0.025634348,
0.00983558,
-0.0137300575,
-0.032834347,
0.010748464,
0.009084661,
0.012058892,
0.0046601216,
0.028093245,
0.013141101,
0.012684659,
0.034100603,
0.02304294,
-0.007218403,
-0.0024386498,
0.003029447,
-0.002510429,
-0.0026797538,
0.03881226,
0.0071889553,
0.009128832,
-0.025546005,
-0.0044539864,
-0.02556073,
0.026414717,
-0.008355826,
-0.006279753,
0.028976679,
-0.055921458,
-0.014068708,
-0.05506747,
0.010976684,
-0.016225763,
-0.015739873,
0.015887113,
-0.030802445,
-0.021511652,
0.016019627,
-0.043936186,
0.024088338,
0.003765643,
0.08457421,
-0.0065484648,
0.10942819,
-0.024706742,
-0.006500612,
0.009857666,
0.013369322,
-0.0107999975,
-0.014907972,
-0.020510424,
-0.012780365,
0.016049076,
-0.059808575,
-0.03253987,
0.0009634967,
0.02570797,
-0.04140367,
-0.04699876,
0.011322697,
0.030655207,
-0.030272385,
-0.0013453984,
0.053624526,
0.016608585,
0.0046306737,
0.01467975,
-0.0028306742,
-0.02747484,
-0.015327604,
-0.031096924,
0.012213494,
-0.013015947,
0.010402451,
-0.007803679,
0.018036805,
-0.039106738,
-0.009084661,
0.022395086,
-0.00589325,
0.020245394,
0.046763178,
-0.0021441712,
0.003495091,
-0.01565153,
-0.02601717,
0.021055209,
0.06613986,
0.026635576,
0.080392614,
0.091465004,
-0.006857667,
0.0017171775,
0.036161955,
-0.019435577,
-0.01227239,
0.010137421,
-0.010726377,
0.00889325,
-0.049649067,
-0.002188343,
-0.012375457,
0.06602207,
-0.019096928,
-0.022984043,
-0.041197535,
-0.021467479,
-0.04797054,
-0.0129055185,
-0.041492015,
0.0005056747,
0.002650306,
-0.0012230058,
-0.007262575,
-0.025060115,
0.25866988,
0.03047852,
0.041462567,
0.051739864,
-0.0035153364,
0.065904275,
0.013384045,
-0.040903058,
-0.009857666,
-0.02076073,
-0.021305516,
0.0040601217,
0.040755816,
0.03622085,
-0.035307966,
0.02601717,
-0.060603663,
0.00073297526,
0.04608588,
-0.05715827,
-0.059779126,
0.01933251,
0.0044392627,
0.0058527594,
-0.004174232,
0.009342329,
0.03239263,
-0.024986496,
-0.012154598,
-0.021364411,
0.0027239257,
-0.024662571,
0.016682204,
-0.026959501,
-0.014907972,
0.039106738,
0.010159506,
-0.04808833,
-0.009548464,
-0.007222084,
0.012080979,
0.014399996,
-0.0026834349,
0.006055213,
-0.011204905,
0.014157051,
-0.022100607,
0.0025987723,
0.0026963183,
-0.05106256,
0.030949686,
-0.0437595,
0.015769321,
-0.009150918,
-0.055980355,
-0.028579134,
-0.029477293,
0.000044718163,
0.03881226,
0.028255207,
0.017815946,
0.021099381,
-0.020878522,
0.023366865,
-0.022792632,
0.01325153,
-0.028696924,
0.028844165,
-0.04346502,
-0.02192392,
0.019170547,
-0.055303052,
0.030802445,
-0.003033128,
0.017963186,
0.04711655,
-0.02098159,
0.05100367,
0.036839254,
-0.04125643,
0.044878516,
-0.021555822,
0.0045975447,
0.0022251527,
0.011388954,
0.03209815,
-0.056657653,
-0.005565643,
-0.0321276,
0.039195083,
0.008885887,
0.070969306,
-0.018287111,
0.0019950916,
-0.026709195
] | from torchvision.transforms import RandomResizedCrop, ColorJitter, Compose
size = (
image_processor.size["shortest_edge"]
if "shortest_edge" in image_processor.size
else (image_processor.size["height"], image_processor.size["width"])
)
_transforms = Compose([RandomResizedCrop(size), ColorJitter(brightness=0.5, hue=0.5)]) |
[
0.03953887,
0.00283312,
0.011596357,
-0.020411301,
-0.012359464,
-0.05097833,
-0.026416304,
0.0027136619,
-0.028926708,
0.052632917,
0.006229655,
-0.010669219,
0.06093437,
-0.040794075,
-0.0036497146,
0.04575783,
-0.012637605,
-0.057197288,
-0.037085522,
-0.037827235,
-0.0027172277,
-0.02091053,
-0.06755271,
-0.07753727,
-0.016417475,
-0.01312257,
0.043760918,
-0.022465268,
0.055485647,
0.025046991,
-0.05802458,
0.026730103,
-0.00018397896,
-0.01845718,
-0.010191387,
-0.010883175,
0.015447547,
-0.04704156,
-0.020767894,
-0.031722385,
0.060021494,
0.0056091854,
0.01362893,
-0.012659,
-0.06481408,
-0.0039510345,
0.0020842778,
0.011025812,
-0.009592313,
-0.054886576,
-0.03243557,
0.0023160623,
0.009064558,
0.017672678,
-0.026858477,
-0.003676459,
-0.013942731,
-0.024661873,
0.00070828,
0.009164403,
-0.0040366165,
0.027985306,
-0.020867739,
-0.07805076,
0.015561656,
0.00549151,
-0.015661502,
0.003006067,
-0.0009115372,
0.011111394,
-0.04972313,
-0.016303366,
-0.013357921,
-0.011082866,
-0.0055485647,
0.021823404,
-0.009499599,
-0.04073702,
-0.025660329,
0.009542391,
-0.022850387,
0.001714314,
0.009984564,
-0.0061975615,
-0.026744368,
-0.006037095,
0.037684597,
0.006860822,
0.04053733,
-0.009535259,
-0.027971042,
0.051120967,
-0.025032729,
0.01892788,
0.01195295,
0.07023428,
-0.011903026,
0.051691514,
0.03454659,
-0.0005036856,
0.008494011,
0.08649485,
-0.011731863,
0.06258895,
-0.009043162,
0.029269036,
0.004867475,
0.012780242,
-0.05651263,
-0.00825866,
0.021580921,
-0.012480705,
0.0076239277,
-0.0075526093,
-0.0057553877,
0.038283672,
-0.0007073885,
-0.01919889,
-0.04490201,
-0.014934055,
-0.012430782,
0.0006284926,
-0.0054629827,
-0.026815686,
-0.0027243595,
-0.062132515,
-0.0017811749,
0.033120226,
-0.038255144,
0.014413431,
0.023820316,
-0.024875827,
-0.004564372,
0.058423962,
-0.034717754,
0.0018195085,
-0.020068973,
0.020097502,
0.012002872,
0.0052561597,
0.01881377,
-0.019712381,
-0.040679965,
0.07816487,
-0.0036033578,
-0.008900526,
0.022736277,
-0.050407782,
-0.05003693,
0.01647453,
-0.049038474,
-0.016132202,
-0.016617168,
0.03457512,
-0.0042505716,
-0.019227417,
-0.010925965,
0.025189629,
-0.03306317,
-0.0048460793,
0.047269776,
-0.0111898435,
-0.015433283,
0.05728287,
0.017900897,
0.045900468,
-0.045586664,
-0.0010243093,
-0.020083237,
-0.024248227,
0.031265948,
7.3477366e-7,
0.0073243906,
0.0049245297,
0.049894292,
0.017187713,
0.04127904,
0.025318,
-0.0014691573,
-0.010911702,
-0.022807596,
-0.035487995,
0.026601732,
0.004863909,
0.006211825,
-0.0055200374,
-0.007071211,
-0.0004446251,
0.026216611,
0.014199477,
0.019769436,
0.023306824,
-0.01775826,
0.011154184,
-0.032292932,
0.02063952,
-0.004008089,
-0.040480275,
-0.01753004,
-0.042505715,
-0.016417475,
0.025246684,
-0.033434026,
0.021124484,
-0.017230505,
0.016460266,
-0.007923464,
0.07382872,
-0.0015663285,
0.047269776,
0.015932512,
-0.0006891132,
-0.023535043,
0.0053096483,
0.02005471,
0.04872467,
-0.012166904,
0.011125657,
-0.010790461,
0.025189629,
0.04513023,
-0.0095209945,
0.044759374,
-0.0118531035,
0.031123312,
-0.015575919,
0.0030684704,
0.04490201,
0.027015377,
0.0078022233,
-0.028727017,
0.027486078,
0.023149924,
0.005366703,
0.045101702,
0.03474628,
0.021352703,
0.023206979,
-0.0089433165,
0.003129091,
-0.03234999,
0.018171906,
0.03540241,
0.0053524394,
0.0045001856,
0.013464898,
0.012708924,
0.021666504,
-0.03691436,
0.012309541,
-0.050179567,
0.030638348,
-0.030238966,
-0.004090105,
-0.041878115,
-0.020882003,
0.033633716,
0.028969498,
-0.018557025,
-0.024818772,
-0.012872956,
0.01183884,
0.014470486,
0.026744368,
0.03965298,
0.042790987,
0.018200433,
-0.00934983,
-0.017872369,
-0.05448719,
-0.013215284,
-0.025945602,
-0.03272084,
-0.010697747,
0.018143378,
-0.013293734,
0.0050101117,
-0.02441939,
0.023763262,
-0.040822603,
-0.027585924,
-0.016759804,
-0.03976709,
0.0343469,
0.06909318,
0.0026726539,
-0.053174935,
0.020468356,
-0.004617861,
0.040366165,
0.000010154502,
-0.041250512,
0.018171906,
-0.032777898,
-0.01620352,
-0.00543089,
0.0021645108,
-0.019170363,
-0.029754,
0.00887913,
-0.00009767266,
-0.0024640476,
-0.0240628,
-0.0048139864,
-0.03999531,
0.025731647,
0.020339983,
0.010212783,
0.034603644,
0.047640633,
-0.028441744,
0.035545047,
-0.013579007,
0.046585124,
0.0076809824,
0.030324547,
0.041107874,
-0.0016724145,
-0.0037121181,
-0.024562027,
-0.022151468,
0.0009253551,
-0.026188085,
-0.04373239,
-0.044987593,
0.060649093,
0.007228111,
-0.06937846,
-0.020996112,
-0.02838469,
0.0003652835,
-0.017387405,
-0.014285058,
0.05214795,
0.04010942,
0.0013809009,
-0.030638348,
0.038483363,
0.005912288,
0.025717383,
0.018157642,
-0.010162859,
0.03283495,
0.026587468,
0.011418062,
0.024519237,
0.03266379,
-0.028070888,
-0.0021128051,
-0.015419019,
0.042248968,
0.025089784,
0.0006949078,
0.02757166,
0.006300973,
0.009299908,
-0.031151839,
0.0352883,
0.014948319,
-0.01865687,
0.055057738,
-0.0072530727,
-0.0131867565,
-0.00027814144,
-0.027928252,
-0.014477618,
-0.020882003,
-0.0063295,
0.028085152,
-0.03234999,
0.0120171355,
0.01176039,
-0.055656813,
0.0134363705,
0.006336632,
-0.00004577187,
0.055770922,
0.024362335,
0.09767756,
-0.033091698,
-0.03286348,
0.0071781883,
-0.031180367,
0.018357335,
-0.012972801,
0.042106334,
-0.005202671,
0.013971258,
-0.010754801,
-0.017430196,
-0.0031487036,
0.02441939,
-0.02822779,
-0.017658414,
-0.08324274,
-0.01775826,
-0.0002710096,
0.06082026,
0.03500303,
-0.0050422046,
-0.0023428067,
-0.003252115,
-0.0055521308,
0.04960902,
-0.011617754,
-0.044331465,
-0.034147207,
0.05502921,
-0.005113523,
-0.034603644,
-0.00066370604,
-0.006482835,
0.0068857833,
0.022408213,
-0.040023837,
0.049865764,
-0.00473197,
0.005805311,
-0.02005471,
0.06407237,
-0.025945602,
-0.0056484104,
-0.020197347,
0.023435198,
0.016531585,
-0.041849587,
-0.011403798,
-0.047497995,
0.011731863,
0.00092892104,
-0.06093437,
-0.016075147,
-0.05046484,
0.0047533656,
0.0010867128,
0.016831122,
0.035487995,
0.016859649,
0.012002872,
-0.034632172,
0.008123156,
0.014819945,
-0.0031790137,
-0.02730065,
-0.028013833,
-0.0059372494,
0.043247424,
0.03871158,
0.013571875,
-0.020882003,
-0.002537149,
-0.046784814,
0.031836495,
-0.03294906,
0.018970672,
-0.022950234,
-0.012901483,
-0.06749565,
0.008822075,
0.0057339924,
-0.056912012,
-0.008565329,
0.02593134,
-0.05622736,
-0.025902811,
-0.011025812,
-0.015205065,
0.018870825,
0.04883878,
0.018585553,
-0.0060228314,
0.033462554,
0.02059673,
-0.049780183,
0.017929424,
-0.0243766,
-0.006457873,
0.006732449,
-0.02624514,
0.02617382,
-0.009948905,
0.0086937025,
-0.035773266,
-0.03234999,
0.00046356904,
-0.043076262,
-0.0066326032,
0.027072432,
-0.028413216,
0.011425193,
0.042733934,
-0.05865218,
0.022165732,
-0.024619082,
0.010248441,
-0.012637605,
-0.028070888,
0.02608824,
0.070690714,
-0.020282928,
0.028170735,
-0.0009106457,
-0.05910862,
-0.000081737475,
-0.07628207,
0.021481076,
-0.037941344,
-0.023378143,
0.00938549,
-0.036001485,
-0.041963696,
-0.030695403,
-0.015447547,
-0.010519451,
0.011282558,
-0.013992653,
0.031807967,
-0.044103246,
-0.010005959,
0.06972078,
-0.048154127,
-0.072060026,
-0.029925164,
0.025032729,
0.0021359834,
-0.010141464,
0.0060157,
-0.004464526,
-0.033548135,
-0.068864964,
0.03976709,
-0.056598213,
-0.022137204,
-0.044816427,
-0.04829676,
0.00092357217,
0.020097502,
0.0054843784,
-0.067666814,
-0.012680396,
-0.040508803,
0.01106147,
-0.039738566,
-0.03220735,
-0.016246311,
0.00049432507,
-0.0552289,
0.01039821,
-0.02083921,
-0.030752458,
0.029725473,
0.027700033,
0.012530628,
0.045073174,
-0.01834307,
-0.02963989,
-0.03785576,
-0.023734735,
-0.0021003243,
0.0012311324,
-0.021595186,
0.04202075,
-0.04213486,
0.04983724,
-0.023606362,
-0.025018465,
0.0048032883,
-0.04960902,
0.012452178,
-0.040508803,
0.015903983,
-0.030153383,
0.018072061,
0.0032021923,
0.015818402,
0.007695246,
-0.011475117,
-0.09704996,
-0.0846691,
0.04995135,
-0.021794876,
-0.030638348,
-0.008009046,
-0.0026494754,
0.021880459,
-0.052946717,
0.013158229,
0.07371461,
0.024020009,
0.02932609,
0.0069107446,
0.01530491,
0.02293597,
0.005534301,
-0.014484749,
0.036087066,
-0.028883917,
-0.0020022616,
-0.030524239,
-0.045158755,
-0.0019559048,
0.013835752,
0.026929796,
-0.03979562,
0.029839583,
-0.021481076,
-0.030010747,
-0.014634518,
0.01958401,
0.030838039,
-0.0037691728,
0.0019345093,
0.03474628,
0.01861408,
0.03976709,
-0.012202564,
-0.0500084,
-0.0054415874,
0.03948182,
0.01047666,
-0.066183396,
0.020397037,
0.017858105,
-0.04578636,
-0.026059711,
0.01733035,
-0.012338068,
-0.04809707,
-0.03699994,
0.0197837,
-0.008572461,
-0.068237364,
0.010647824,
0.022679225,
-0.008850602,
0.027928252,
0.01514801,
-0.02111022,
-0.0349745,
0.002918702,
0.014862737,
-0.040765546,
-0.022550851,
-0.028142206,
-0.018899353,
-0.03314875,
-0.002328543,
0.03796987,
0.018015007,
0.017986478,
0.053174935,
0.0076239277,
0.09003224,
-0.018086324,
0.024362335,
-0.0010635344,
-0.025146838,
-0.042905096,
-0.021566657,
0.0072602043,
0.014249399,
0.04627132,
-0.022194259,
-0.00973495,
0.025046991,
0.057454035,
-0.022108678,
-0.05725434,
0.0294402,
-0.038083978,
-0.028912444,
-0.013871412,
0.0069998926,
-0.024205435,
0.012530628,
-0.025375055,
-0.042077806,
0.007873542,
0.0068679536,
0.026344985,
-0.0052704234,
-0.037684597,
-0.025474902,
-0.0076239277,
-0.028898181,
-0.0038369254,
-0.055685338,
0.0139284665,
0.031750914,
-0.010968757,
0.015975302,
-0.010412474,
0.003961732,
-0.006682526,
0.0073743137,
0.015989566,
0.0042042146,
-0.022522323,
0.021210067,
-0.04798296,
0.017159186,
0.033120226,
-0.052518807,
0.00015366868,
-0.015190801,
0.0029347485,
-0.028170735,
0.018314542,
0.032920532,
-0.021680767,
0.0072245453,
0.029925164,
-0.004136462,
-0.022793332,
-0.009135876,
-0.016617168,
-0.013536216,
0.017030813,
0.05739698,
0.01636042,
0.048068542,
0.025503429,
0.029383145,
-0.006518494,
-0.000029585957,
0.032378513,
0.015533129,
0.003177231,
-0.011674808,
-0.012958538,
-0.04895289,
0.031665333,
0.033861935,
-0.03314875,
0.02172356,
0.0017437327,
-0.029468726,
-0.011425193,
0.02324977,
0.03979562,
0.06692511,
-0.010098673,
-0.030153383,
0.0143421125,
0.019370055,
-0.038454834,
0.020739365,
-0.081873424,
-0.03317728,
0.03326286,
-0.06812325,
-0.0001313817,
-0.017872369,
0.005794613,
0.032378513,
0.0023909465,
0.004022353,
0.024191173,
0.008950449,
-0.012466441,
0.03668614,
-0.060078546,
-0.05736845,
-0.01631763,
0.040508803,
-0.024875827,
-0.022693487,
0.022964496,
0.025061255,
0.019113308,
-0.03209324,
-0.024162645,
0.0011321782,
0.006265314,
0.016574375,
-0.0061904294,
0.02874128,
-0.044217356,
0.035744738,
-0.033348445,
0.004275533,
0.0059408154,
0.032806423,
0.012437914,
-0.0248473,
-0.011910158,
0.061162587,
0.03745638,
-0.058053106,
-0.014748627,
0.03254968,
0.032036185,
0.0037263818,
0.02597413,
-0.012223959,
0.015561656,
0.043789446,
0.034603644,
0.015062428,
0.040023837,
0.04130757,
-0.0053346097,
0.029953692,
0.0006797527,
0.02862717,
0.023734735,
-0.017715469,
-0.040565856,
-0.020553937,
0.006208259,
0.0026031185,
-0.0033323483,
-0.002287535,
0.0057161627,
-0.006382989,
-0.032178823,
0.002918702,
0.0057125967,
-0.04949491,
-0.0072495067,
0.030780984,
0.035659157,
-0.0050600343,
0.009742081,
-0.011282558,
0.013115438,
0.04310479,
0.03762754,
0.02149534,
-0.026787158,
0.017501514,
0.0020076106,
0.018471444,
-0.014734363,
-0.016574375,
0.044930536,
-0.048696145,
-0.008757889,
0.0048460793,
-0.0079448605,
0.002118154,
-0.01573282,
-0.00457507,
-0.0013291951,
-0.040423222,
0.051976785,
-0.041878115,
0.05075011,
0.042363077,
-0.04010942,
-0.01869966,
0.044417046,
-0.020539675,
0.012166904,
0.04202075,
0.05494363,
0.010704879,
0.0999027,
0.043275952,
-0.005766086,
0.047298305,
0.055086266,
-0.015233592,
-0.020782156,
-0.0077594323,
0.0048318156,
0.03049571,
-0.027243596,
-0.031151839,
0.033006117,
0.012844428,
0.02169503,
-0.027956778,
0.02640204,
-0.0010608599,
-0.003207541,
-0.007146095,
0.066183396,
-0.014063971,
-0.0048532113,
0.002492575,
-0.020111764,
-0.015618711,
0.005455851,
-0.034603644,
0.050093982,
0.016888177,
-0.0010198519,
-0.019755173,
-0.008130288,
-0.016574375,
0.014071103,
-0.013771567,
-0.00405088,
0.043675337,
0.06196135,
0.010120069,
0.026644522,
-0.0028366859,
-0.005616317,
0.017144922,
0.055285957,
0.012380859,
0.07605385,
0.079420075,
-0.017587095,
0.012387991,
0.022836125,
0.036030013,
-0.011075734,
0.016417475,
0.022322632,
0.016132202,
0.0020504014,
-0.047013033,
-0.038483363,
0.035801794,
-0.022436742,
-0.0023927295,
-0.05462983,
0.00498515,
-0.048353817,
-0.0019683854,
-0.031180367,
0.015205065,
-0.0046249926,
0.0028634302,
0.0107690655,
-0.06036382,
0.24122706,
0.033205807,
0.02250806,
0.030210437,
0.043875027,
0.07565447,
0.013272339,
-0.035345357,
0.011289689,
-0.03965298,
0.0346607,
-0.025246684,
0.013621798,
0.011724731,
0.012402255,
0.022836125,
-0.0500084,
-0.005288253,
0.0025924207,
-0.0044716583,
-0.022179995,
0.026116766,
-0.0116819395,
0.0389398,
0.00016514647,
0.038454834,
0.02352078,
-0.049181107,
-0.020040447,
-0.03571621,
0.022108678,
-0.009777741,
0.009421149,
-0.019541217,
-0.014962582,
0.02593134,
-0.028085152,
-0.03682878,
-0.021452548,
-0.03520272,
-0.022094414,
-0.018642608,
0.015889721,
-0.01082612,
-0.055770922,
0.027771352,
0.009485336,
0.0033376971,
0.036286756,
-0.056284413,
0.026430568,
-0.06789503,
-0.007188886,
-0.028441744,
-0.05246175,
0.006978497,
-0.04584341,
-0.012994196,
0.055057738,
0.057425506,
-0.011788917,
0.011624885,
0.008864867,
-0.014420563,
-0.013108306,
0.03742785,
-0.0117675215,
0.024191173,
-0.01106147,
-0.019655326,
0.010184255,
-0.006058491,
0.034004573,
-0.0248473,
0.0086937025,
0.01865687,
0.0010189604,
0.043675337,
0.0012712489,
-0.08763594,
-0.012281014,
-0.0041685556,
-0.0051848413,
-0.026516149,
0.022094414,
0.03734227,
-0.029269036,
0.03839778,
0.011796049,
0.025574747,
0.031265948,
0.069949,
-0.012837296,
0.022921706,
-0.009934641
] | The model accepts pixel_values
as its input. ImageProcessor can take care of normalizing the images, and generating appropriate tensors.
Create a function that combines image augmentation and image preprocessing for a batch of images and generates pixel_values:
def transforms(examples):
images = [_transforms(img.convert("RGB")) for img in examples["image"]]
examples["pixel_values"] = image_processor(images, do_resize=False, return_tensors="pt")["pixel_values"]
return examples |
[
0.027429866,
-0.013405263,
0.009482779,
-0.019846397,
-0.017809456,
-0.04291336,
-0.012524425,
-0.001959522,
-0.030251304,
0.06798974,
0.03027883,
-0.013095594,
0.057309564,
-0.005116434,
-0.0046037585,
0.03738059,
0.009083649,
-0.036417175,
-0.053400844,
0.012214755,
-0.047234975,
-0.02053455,
-0.07498139,
-0.014588891,
-0.02474606,
-0.027457392,
0.028682308,
0.0071155247,
0.0694211,
0.014231049,
-0.07993611,
0.027994154,
0.0008021309,
0.0131781725,
-0.037270486,
-0.029783357,
0.018855453,
-0.0108659705,
-0.03861927,
-0.046326607,
0.032921344,
-0.011457784,
0.015511018,
-0.034435287,
-0.04332625,
0.00900107,
-0.02478735,
-0.00084256,
-0.039197322,
-0.04588619,
0.00088169886,
-0.014836626,
-0.036114383,
0.027278472,
-0.04899665,
0.0270445,
-0.008106468,
-0.018167298,
-0.01019846,
0.01915824,
-0.012951081,
0.025434216,
-0.009296977,
-0.033279184,
0.02123647,
0.011327035,
-0.0046932185,
-0.00014085676,
-0.01219411,
0.026012266,
-0.014437497,
0.0023878985,
0.009675462,
-0.00957912,
0.016694644,
0.007693575,
0.0118569145,
-0.041344363,
-0.0023741354,
0.02624624,
-0.009737397,
0.035178494,
0.014822863,
-0.006575323,
-0.025103902,
-0.0131781725,
0.0058940495,
-0.023934038,
0.010521893,
-0.0066751055,
-0.047757972,
0.05422663,
-0.014712758,
0.02873736,
0.014850389,
0.05480468,
-0.011327035,
0.04638166,
0.045748558,
-0.051198747,
0.06518206,
0.07162319,
-0.018855453,
0.02660408,
-0.027016973,
0.02336975,
0.04150952,
0.018593954,
-0.02500756,
-0.028517151,
0.02127776,
0.026672896,
0.0006180494,
0.026383871,
-0.010618235,
0.047372606,
0.026796764,
-0.03157256,
-0.05351095,
-0.033334237,
0.01915824,
-0.0173828,
-0.01564865,
-0.004362904,
0.0052024536,
-0.033003923,
-0.000051772928,
0.039087217,
0.007032946,
-0.039610215,
0.00678521,
-0.028462099,
-0.030471513,
0.048115812,
-0.029590674,
0.013542894,
-0.023521146,
0.03660986,
0.0068437033,
-0.021263996,
0.0009642775,
-0.024512088,
-0.002580582,
0.04819839,
0.001968124,
0.026301293,
0.03435271,
-0.027030736,
-0.07993611,
-0.010755866,
-0.037353065,
0.01219411,
-0.028489625,
0.024704771,
-0.00789314,
-0.006055766,
-0.0077761537,
-0.000068707996,
-0.016680881,
-0.011327035,
0.05400642,
0.010838444,
-0.023934038,
0.07035699,
-0.0016257666,
0.063200176,
-0.021842046,
0.01498802,
0.00359217,
-0.03286629,
-0.0010047066,
-0.033802185,
-0.021319048,
-0.026507739,
0.033224132,
0.02323212,
0.033279184,
0.0046484885,
-0.011044891,
0.0032033625,
-0.02824189,
-0.014478786,
0.023906512,
-0.0028816499,
0.028462099,
-0.021429153,
-0.007989482,
0.019887686,
0.061658707,
0.0039156033,
0.015290809,
0.017341511,
-0.011134352,
0.030884406,
-0.016419383,
0.021745704,
-0.052685164,
-0.020782286,
0.006423929,
-0.0432712,
-0.036940172,
0.021718178,
-0.032921344,
0.035729017,
-0.015662413,
-0.0009204076,
-0.007108643,
0.06876047,
0.0071774586,
0.03259103,
0.011547244,
-0.00032257274,
-0.028517151,
0.016956145,
0.029865935,
0.058465667,
-0.005670399,
0.013446553,
-0.01654325,
0.044152036,
0.038509164,
0.0143962065,
0.026039792,
0.008010127,
0.029232834,
-0.008932254,
0.03809627,
0.029370464,
0.043161094,
0.0023122015,
-0.034793127,
0.018277403,
-0.0028214364,
0.0059663057,
0.039307427,
0.02221365,
0.015634887,
0.036637384,
-0.043876775,
0.021181418,
-0.014520075,
0.0650169,
-0.0021934947,
-0.0020162947,
0.0069950977,
-0.0032274479,
0.016240463,
-0.009675462,
0.019006846,
0.0033547566,
-0.07134793,
0.017272696,
-0.012737753,
0.010232868,
-0.025282823,
-0.01778193,
0.0077830353,
0.02837952,
-0.07327477,
-0.023163304,
-0.028049206,
0.020864867,
-0.019323397,
-0.011898204,
0.06567753,
0.026741711,
0.034215078,
-0.011643586,
-0.016598303,
-0.0718434,
-0.0022898365,
-0.016804751,
-0.024415746,
-0.02881994,
0.01791956,
-0.05161164,
0.01986016,
-0.019309634,
0.019805107,
-0.025214007,
-0.034297656,
0.0076866937,
-0.042417888,
0.050978538,
0.030471513,
-0.010074592,
-0.038206376,
0.032618556,
-0.046051346,
0.054749627,
-0.01858019,
-0.024085432,
0.003050248,
0.003932807,
0.014203523,
-0.013604828,
0.008264744,
-0.0030468071,
-0.03344434,
0.00168512,
0.021071313,
0.0004748271,
-0.019392213,
0.03506839,
-0.041096628,
0.015744992,
0.003963774,
-0.037408117,
0.031600088,
0.040463526,
-0.04007816,
0.039913002,
-0.02975583,
0.06765942,
-0.018924268,
0.03027883,
0.037710905,
-0.01524952,
-0.013019896,
-0.048115812,
-0.02425059,
0.02904015,
0.007961956,
-0.04962975,
-0.068870574,
0.047372606,
-0.008560651,
-0.034325182,
-0.007872496,
-0.019240819,
-0.022158599,
-0.01919953,
-0.04756529,
0.04508793,
0.03063667,
0.018359981,
0.011595415,
0.020493262,
-0.032838766,
0.014327391,
-0.0019715647,
0.008698282,
0.036857594,
-0.015676176,
0.0013496444,
0.029177781,
0.031545036,
-0.04833602,
0.034215078,
-0.011285746,
0.040023107,
0.02660408,
0.008684519,
0.03583912,
0.029150255,
0.00789314,
-0.060612712,
0.036857594,
0.008574414,
-0.015813807,
0.04362904,
0.0120977685,
-0.009235043,
-0.0076591675,
-0.043573987,
-0.0038330245,
-0.01383192,
0.029095203,
0.049409542,
-0.011409613,
-0.011044891,
-0.0034166905,
-0.048253443,
0.02824189,
-0.0044420417,
0.01884169,
0.063640594,
-0.020451972,
0.08268873,
-0.056153465,
-0.037545748,
-0.009558476,
-0.047895603,
0.04792313,
-0.0076454044,
0.027870286,
-0.02540669,
0.024112958,
-0.010769629,
0.024622193,
0.019942738,
-0.029012624,
-0.016873566,
-0.024057906,
-0.05874093,
-0.016034016,
-0.013597947,
0.069366045,
0.015813807,
-0.004118609,
-0.026590317,
-0.0010692212,
0.025296586,
0.02407167,
-0.013102476,
-0.020121658,
-0.024498325,
0.059291452,
-0.006609731,
-0.010810918,
0.002150485,
-0.0069194008,
-0.0026752034,
0.010501249,
-0.036857594,
0.053621054,
-0.04982244,
-0.020644655,
-0.017713115,
0.045280613,
-0.02385146,
-0.022103544,
-0.0341325,
-0.018772874,
0.03286629,
-0.026081081,
-0.016612066,
-0.027058262,
0.0094690155,
0.035949226,
-0.077623904,
0.0064858627,
-0.008299151,
0.012496899,
-0.017176354,
0.021663126,
0.036417175,
0.0040945234,
0.016267989,
-0.0038054984,
-0.0015715745,
0.016515724,
-0.015414677,
-0.006317265,
-0.018070955,
0.033581976,
0.030966984,
0.013886972,
-0.002425747,
-0.006833381,
0.051776797,
-0.03099451,
0.030746775,
-0.05243743,
0.010631998,
0.024635956,
-0.009097412,
-0.053593528,
0.044234615,
0.021484205,
-0.05075833,
0.0036300188,
-0.0034338944,
-0.07586223,
0.008746453,
-0.012166584,
-0.009723633,
-0.014533838,
0.058465667,
-0.0027388576,
-0.012379912,
0.02314954,
0.024993798,
-0.046051346,
0.052409902,
-0.013873209,
0.0059972727,
0.00029762712,
-0.008918491,
-0.0029779917,
-0.021511732,
-0.0007311649,
0.009744278,
-0.03905969,
-0.025915924,
-0.06347544,
-0.018938031,
0.024085432,
-0.012090887,
0.030746775,
-0.014217286,
-0.007666049,
0.03972032,
-0.04368409,
0.003010679,
-0.044152036,
-0.016102832,
0.0049856845,
0.026810527,
-0.0026975684,
0.005759859,
-0.02700321,
-0.051006064,
0.011388969,
-0.048253443,
-0.028627256,
-0.018139772,
-0.017754404,
-0.0050923484,
0.006392962,
-0.043216147,
-0.01688733,
-0.03165514,
0.011946375,
0.0039121625,
-0.05634615,
0.06573258,
-0.013549776,
-0.003480345,
0.084340304,
-0.014602654,
-0.078669906,
-0.01963995,
-0.0013246988,
-0.014726521,
-0.01072834,
0.003094978,
-0.026204951,
-0.020300578,
-0.049849965,
0.02602603,
-0.021759467,
-0.05466705,
-0.03440776,
-0.009462134,
-0.0341325,
0.041867364,
0.014437497,
-0.026672896,
0.037518222,
-0.030581618,
0.019144477,
-0.08511104,
-0.0056635174,
-0.030058619,
0.006712954,
-0.030223778,
0.00957912,
0.022571491,
-0.051941954,
0.038481638,
0.005192131,
0.03564644,
0.02997604,
-0.03889453,
-0.052134637,
-0.042720675,
-0.01937845,
-0.010232868,
0.011794981,
-0.03201298,
0.035811596,
-0.00851248,
0.08191799,
0.016267989,
-0.0088840835,
-0.0036609857,
-0.052079584,
0.01636433,
-0.04087642,
0.030719249,
0.03449034,
0.014643943,
0.0056497543,
-0.015125652,
-0.017451616,
0.008175284,
-0.05329074,
-0.06077787,
0.048308495,
-0.04913428,
-0.013542894,
-0.023424802,
-0.016391857,
0.030306356,
-0.024980035,
-0.002136722,
0.049409542,
-0.0059731873,
0.022323756,
0.0026235918,
0.041647155,
0.018415034,
0.0016739375,
0.014588891,
0.020520788,
-0.016598303,
-0.051666692,
-0.026315056,
-0.044702563,
-0.030113671,
0.0043525817,
0.029370464,
0.00332551,
0.00385711,
-0.005567176,
-0.036912646,
-0.013315803,
0.033747133,
-0.01600649,
-0.002248547,
0.031242246,
0.0014201803,
-0.011788099,
0.062374387,
-0.030361408,
-0.020548314,
-0.018635243,
0.062154178,
0.01746538,
-0.05458447,
0.030719249,
-0.0049237506,
-0.03845411,
-0.042417888,
0.005126756,
-0.010528775,
-0.045198034,
-0.029645726,
-0.00948966,
-0.008299151,
-0.05075833,
0.020699708,
0.014685232,
0.019901449,
0.023713829,
0.017534195,
0.001414159,
0.0007174018,
0.020507025,
0.03418755,
-0.035591386,
-0.0011036289,
-0.038013693,
-0.010631998,
-0.03922485,
0.0039534518,
0.029865935,
0.0018941473,
-0.0021487647,
-0.015263283,
0.031902876,
0.05320816,
-0.022172362,
0.02752621,
-0.0148916785,
-0.040105686,
-0.045831136,
-0.008209691,
-0.0022451063,
0.005832115,
0.025516795,
-0.00793443,
-0.018043429,
-0.012324859,
0.06309007,
-0.019213293,
-0.036499754,
0.04522556,
-0.03548128,
0.029893462,
-0.007824325,
0.021208944,
-0.014960494,
0.037848536,
-0.046271555,
-0.025860872,
-0.008450546,
-0.009173109,
0.0415921,
-0.009090531,
-0.028627256,
-0.02141539,
-0.045253087,
-0.04057363,
-0.027085789,
-0.05852072,
-0.008952899,
0.0086432295,
0.019075662,
0.026177425,
-0.00851248,
-0.009758041,
0.011554126,
0.037545748,
-0.019227056,
-0.014299865,
0.007466484,
0.004466127,
-0.022117307,
0.025998503,
0.060887974,
-0.006726717,
0.0024670365,
-0.023080725,
-0.02881994,
-0.0005870824,
0.018607717,
0.005635991,
-0.0025220888,
-0.009290095,
0.033361763,
-0.013040541,
-0.045198034,
-0.012696464,
0.00381238,
0.014465023,
0.0042218324,
0.030168723,
-0.021883335,
0.05232732,
0.040628683,
0.001148359,
0.026700422,
-0.027030736,
0.014533838,
0.024525851,
0.026769238,
-0.017933324,
0.00045504264,
-0.02127776,
0.04486772,
0.06986152,
-0.02504885,
-0.0027612227,
0.027264709,
-0.043794196,
-0.0047654747,
0.019295871,
0.0074114315,
0.054529417,
-0.015084362,
0.01720388,
0.028517151,
0.0018735025,
-0.031902876,
0.048391074,
-0.04921686,
-0.031132141,
0.019172003,
-0.06286986,
-0.010315446,
-0.020107895,
0.0014606094,
0.003671308,
0.002203817,
-0.028930046,
0.018428797,
0.036279544,
0.002274353,
0.03548128,
-0.03746317,
-0.07321972,
0.0035267954,
0.016488198,
-0.04269315,
-0.041206732,
0.001476093,
-0.016667118,
-0.003826143,
-0.024264352,
-0.019529846,
0.043821722,
-0.013308922,
0.050565645,
-0.04093147,
0.02425059,
-0.023658777,
0.011870678,
-0.011760573,
0.0028592849,
-0.008278507,
0.0026235918,
0.0047379485,
-0.01742409,
0.00678521,
0.035508808,
0.03817885,
-0.066723526,
-0.00010854573,
0.037215434,
0.0694211,
0.019034373,
0.013033659,
0.030223778,
-0.0008451406,
0.045142982,
0.0075697075,
0.009758041,
0.025172718,
0.03936248,
-0.010721458,
0.036362123,
0.014354917,
0.0036988342,
-0.021511732,
0.011726164,
-0.007755509,
-0.020740997,
0.004906547,
0.0040601157,
0.011891322,
0.0042527993,
0.034297656,
-0.019213293,
-0.039445058,
0.007851851,
-0.01210465,
-0.040243316,
-0.002797351,
0.022943094,
0.06105313,
0.003100139,
0.0028988537,
0.025778294,
0.0043422594,
0.04756529,
-0.014478786,
0.011671112,
-0.00669575,
-0.0055602943,
-0.012476254,
-0.00975116,
-0.012799687,
-0.024401983,
0.027058262,
-0.053758685,
0.030168723,
-0.0012206153,
-0.006317265,
-0.008175284,
0.0010356735,
-0.04572103,
0.01840127,
-0.035618912,
0.06727406,
-0.053318266,
0.021566784,
0.04797818,
-0.010631998,
-0.029232834,
0.020672182,
-0.003626578,
0.021690652,
0.03972032,
0.041839838,
0.027085789,
0.0865424,
0.009290095,
-0.0044282787,
0.015634887,
0.062319335,
-0.008003245,
-0.017671825,
0.00078578724,
-0.0122629255,
0.027085789,
-0.01445126,
-0.02526906,
0.016061543,
0.018649006,
0.022516439,
-0.028104259,
0.02057584,
0.0242093,
-0.014423733,
-0.0027681042,
0.039472584,
-0.0077830353,
-0.031985454,
0.01658454,
-0.0054089,
-0.023452329,
-0.030333882,
0.0020816694,
0.024539614,
0.009682343,
0.0028971334,
-0.014960494,
0.00037224896,
-0.0007509494,
0.0030898168,
0.002327685,
-0.02975583,
0.037270486,
0.04269315,
0.012579477,
0.038564216,
0.035508808,
0.031049563,
0.0015861978,
0.07922043,
0.0065684416,
0.073880345,
0.07189845,
-0.014313628,
0.03330671,
0.05852072,
0.020121658,
-0.025324112,
0.018511375,
-0.0012627648,
0.02145668,
0.0023001588,
-0.02438822,
-0.04101405,
0.06540227,
-0.036031805,
-0.016942382,
-0.05874093,
0.0048790206,
-0.05763988,
-0.015001783,
-0.048721388,
-0.005904372,
-0.0017582366,
-0.006224364,
0.065292165,
-0.04638166,
0.2208703,
0.02904015,
0.017492905,
0.052877847,
0.026452687,
0.10867347,
0.022777937,
-0.019984027,
-0.009441489,
-0.088909656,
0.03900464,
-0.028957572,
0.01830493,
-0.023218356,
-0.010618235,
0.012049598,
-0.03440776,
-0.004483331,
0.002642516,
-0.019061899,
-0.028930046,
0.026769238,
-0.030086145,
0.04376667,
0.0019750055,
0.029563148,
0.017988376,
-0.038371533,
-0.040601157,
-0.046436712,
0.020906156,
-0.0023431685,
0.007008861,
-0.04420709,
-0.013233225,
0.03484818,
-0.03179277,
-0.040160738,
-0.016336804,
-0.017658062,
0.011024246,
-0.004851494,
-0.01440997,
-0.041922417,
-0.047179922,
0.024057906,
0.01352225,
0.009214398,
-0.0033530362,
-0.041041575,
0.05852072,
-0.031627614,
-0.0026493976,
-0.00071267074,
-0.06127334,
-0.025076376,
-0.014038366,
0.004889343,
0.04079384,
0.014726521,
-0.003980978,
0.012166584,
-0.025516795,
-0.0060007134,
-0.02385146,
0.018690296,
-0.022282466,
-0.0073082084,
-0.01600649,
-0.026012266,
-0.010005777,
-0.026989447,
0.019006846,
-0.0025238092,
0.026893105,
0.0009986853,
0.010136526,
0.05852072,
0.026493976,
-0.028957572,
0.009296977,
0.013226343,
0.0020730675,
-0.0752016,
0.043463882,
0.030141197,
-0.059566714,
0.0047826786,
0.014162234,
0.0063998434,
0.039390005,
0.05618099,
-0.028930046,
-0.013026778,
-0.042445414
] | In the example above we set do_resize=False because we have already resized the images in the image augmentation transformation,
and leveraged the size attribute from the appropriate image_processor. If you do not resize images during image augmentation,
leave this parameter out. By default, ImageProcessor will handle the resizing.
If you wish to normalize images as a part of the augmentation transformation, use the image_processor.image_mean,
and image_processor.image_std values. |
[
0.014887261,
0.010367656,
0.029254695,
-0.01965234,
-0.03823615,
-0.03734089,
-0.034684,
-0.0028373878,
-0.02752194,
0.07768522,
0.008403867,
-0.001256248,
0.017038766,
-0.022251474,
-0.009306343,
0.041528385,
-0.009638455,
-0.05972232,
-0.050249923,
0.0021767747,
-0.010959681,
0.015912475,
-0.07034989,
-0.012844053,
0.015667,
-0.007912919,
0.03852494,
0.011667224,
0.08577142,
0.0044329674,
-0.055563707,
0.00093767367,
0.016302345,
-0.024922807,
0.005021382,
-0.044127516,
0.036387876,
-0.026280131,
-0.03185383,
-0.042279243,
0.043087862,
-0.0031243756,
0.034741756,
-0.029601246,
-0.054004226,
-0.006927414,
-0.0126924375,
-0.022973455,
-0.009161947,
-0.046206824,
-0.021876043,
-0.0002964637,
-0.029659005,
0.0039456296,
-0.027594138,
0.047304235,
-0.0047325897,
-0.0487482,
-0.007042931,
-0.030467626,
-0.009219705,
-0.011522827,
-0.0057722433,
-0.043116745,
0.03783184,
0.01729868,
-0.003732645,
-0.020865269,
-0.00023216222,
-0.019291349,
-0.024937246,
-0.012425303,
0.021067424,
-0.00021117963,
-0.029976677,
0.007310064,
0.01493058,
0.008382207,
0.0086565595,
0.06087749,
0.05388871,
0.03349995,
-0.016432302,
-0.0048156176,
-0.021731647,
-0.031391762,
0.07023437,
-0.0050141625,
-0.00023893079,
-0.026872156,
0.0018221012,
0.024431858,
-0.002079307,
0.010938021,
0.0046531716,
0.043347776,
-0.013082307,
0.056805514,
0.019305788,
-0.010403755,
0.01536377,
0.062263697,
-0.008216151,
0.026410088,
-0.040344335,
0.014656227,
0.051347334,
-0.0057505835,
-0.013963125,
0.0039203605,
0.040373214,
-0.004472676,
0.043347776,
0.02396979,
-0.010584251,
0.019854495,
-0.0006506859,
-0.014454072,
-0.038727093,
-0.023406645,
0.02241031,
-0.029081421,
0.00393841,
-0.02396979,
-0.015840277,
-0.02749306,
0.006811897,
0.014259137,
-0.012143731,
-0.019897813,
0.009392981,
0.0056856056,
-0.0016298735,
0.07901367,
0.022063758,
0.012331447,
-0.024345221,
0.014959459,
-0.0070573706,
-0.025298236,
0.03416417,
0.021702768,
-0.032546934,
0.06393869,
-0.0018022467,
0.004006998,
0.039506834,
-0.06047318,
-0.0024023938,
-0.016403422,
-0.04831501,
0.021269578,
0.025211599,
0.011609465,
-0.03191159,
-0.002481812,
0.014663447,
0.012468623,
-0.019089194,
0.024605135,
0.03338443,
0.013197824,
-0.029196937,
0.04123959,
-0.0010694353,
0.049961127,
-0.044098638,
0.026309012,
-0.021543931,
-0.03659003,
0.040344335,
0.011854938,
-0.03488615,
-0.0021803845,
0.044243034,
0.0534844,
0.040315453,
0.009725093,
0.053686555,
0.005732534,
-0.020634236,
-0.007342553,
-0.01882928,
-0.028287241,
-0.011335111,
-0.010475953,
-0.011869378,
0.001965595,
0.011963235,
0.01060591,
0.031016331,
0.008606021,
-0.016129069,
0.036387876,
-0.025052764,
0.0014710376,
-0.021746086,
0.013522716,
-0.014367434,
-0.054293018,
-0.018453851,
0.007775742,
-0.05189604,
0.0023897593,
-0.011486728,
-0.011176276,
0.027695216,
0.04369433,
-0.026554484,
-0.010100523,
0.019594582,
0.017024327,
-0.012042654,
0.043058984,
-0.0061404537,
0.011089638,
0.022959016,
-0.032835726,
-0.008959792,
0.029832281,
0.0061548934,
-0.004053927,
0.034539603,
-0.0105770305,
0.039044768,
-0.02158725,
0.015970234,
0.02122626,
0.036849942,
0.0013690577,
-0.03814951,
0.05651672,
-0.011558926,
0.03104521,
0.005934689,
-0.0052849054,
0.044531826,
0.020316564,
-0.026106857,
0.049470183,
-0.01059869,
-0.01376097,
-0.022179276,
0.01374653,
0.031276245,
0.01768855,
-0.0025323506,
0.00354493,
-0.02944241,
-0.003812063,
-0.042943466,
0.041124076,
0.018800402,
-0.031478398,
-0.025615908,
-0.0063823177,
0.018280575,
0.020663114,
-0.02989004,
-0.01615795,
-0.034481842,
-0.00016661982,
-0.021904923,
-0.03107409,
0.06567145,
0.04297235,
0.020114409,
0.040199935,
0.015609243,
-0.03332667,
-0.040228818,
-0.055563707,
-0.050596472,
-0.01649006,
-0.0014611103,
-0.023767635,
0.015291571,
-0.0463801,
0.012093192,
0.019132514,
-0.015898036,
0.019753417,
-0.055274915,
0.036416754,
0.02749306,
0.024258584,
-0.049470183,
0.026207933,
0.02835944,
0.041528385,
0.011818839,
-0.035637014,
-0.030323228,
0.020316564,
0.028460516,
0.012851273,
0.043030106,
-0.03144952,
-0.005414862,
-0.024301901,
0.0031279854,
-0.00902477,
-0.033240035,
0.012627459,
0.017414197,
0.01295235,
0.056343447,
-0.02085083,
0.049296904,
0.042914588,
-0.017659672,
0.012844053,
0.013970344,
0.03806287,
-0.01965234,
0.06555593,
0.017760748,
-0.02313229,
-0.013854828,
-0.046235703,
-0.040979676,
0.008880374,
-0.023146732,
-0.023233369,
-0.03497279,
0.07277575,
-0.01770299,
-0.064689554,
0.02280018,
-0.025413753,
-0.02516828,
-0.028041767,
-0.015594803,
0.02125514,
-0.009609575,
0.0022164837,
-0.018020662,
-0.032546934,
-0.030525383,
0.036416754,
-0.012930691,
-0.014121961,
0.027651897,
0.042192608,
0.013183384,
-0.026670001,
0.02954349,
-0.060357664,
-0.00021050277,
-0.014815063,
0.061570592,
0.010035545,
0.011602245,
0.032344777,
-0.009277464,
0.020634236,
-0.060357664,
0.012049873,
0.001356423,
-0.014186939,
0.06006887,
0.018453851,
-0.024287462,
0.021038545,
-0.021110743,
-0.0123531055,
0.060704216,
-0.029947799,
0.04675553,
0.0009746752,
0.0004873376,
0.014237477,
-0.0072559156,
0.008411086,
0.0012670778,
-0.047477514,
0.06965679,
0.004992503,
0.082825735,
-0.04603355,
-0.021861603,
0.02119738,
-0.024532937,
0.030380987,
0.009862269,
0.026049098,
-0.013674332,
-0.0036243477,
0.0076313457,
0.013197824,
-0.0117971795,
-0.022857938,
-0.0007707154,
-0.031593915,
-0.058249477,
-0.025081642,
0.013854828,
0.07266023,
0.018988118,
-0.018280575,
0.033933137,
-0.03569477,
0.046149068,
0.029168058,
0.014728425,
-0.036012445,
-0.013840388,
0.055159397,
-0.014685106,
-0.000482374,
-0.01099578,
-0.02519716,
-0.064343005,
-0.010273798,
-0.011089638,
0.03153616,
-0.041759416,
0.0016000918,
-0.011356771,
-0.010151062,
0.015421527,
-0.028157284,
-0.012425303,
-0.027016552,
0.064227484,
-0.089930035,
-0.0011669028,
-0.04363657,
0.027391983,
0.027348664,
-0.01965234,
-0.00747251,
0.0052524162,
-0.044185277,
0.0030088585,
0.03783184,
0.02635233,
0.019305788,
0.0052921255,
-0.00511163,
0.005617017,
0.0026171834,
-0.015580364,
-0.006508664,
-0.026857717,
0.030698659,
0.02238143,
0.034366325,
0.008533823,
-0.026799958,
0.0110607585,
-0.029168058,
-0.011941576,
-0.020331003,
-0.008815396,
-0.016735535,
0.015681442,
-0.026843278,
0.08727314,
0.018699324,
-0.030900814,
-0.0024962516,
0.03182495,
-0.06359214,
0.003073837,
0.019681219,
0.019074755,
-0.02280018,
0.03179607,
0.008006777,
-0.014829502,
0.0110968575,
0.050885264,
-0.017601913,
0.019522384,
-0.0065411534,
0.022222595,
-0.017197603,
-0.015421527,
-0.00039799238,
-0.031218486,
0.025861382,
-0.024836168,
0.007320894,
0.012613019,
-0.037312012,
-0.007898479,
0.013125626,
-0.04756415,
0.025124962,
0.018670445,
-0.030785296,
0.0009466984,
-0.03390426,
0.021298459,
0.044936135,
-0.026121296,
0.0134649575,
0.03456848,
0.0047831284,
-0.019450186,
-0.030438745,
-0.043001227,
0.036618907,
-0.045802515,
-0.00904643,
-0.028937023,
0.014959459,
-0.0007910211,
-0.008151173,
-0.07733867,
-0.022641344,
-0.017616352,
-0.005819172,
0.0049564037,
-0.004162224,
0.0026514775,
-0.08386539,
-0.016215708,
0.051260695,
-0.0259769,
-0.07375764,
-0.030178832,
0.015493725,
0.024273023,
0.013154506,
-0.0054581813,
0.0025612297,
-0.033846498,
-0.0558525,
0.07375764,
-0.021327337,
-0.03783184,
-0.032027107,
-0.061570592,
-0.008822615,
0.02082195,
0.017573033,
-0.036416754,
0.0013266413,
-0.03664779,
0.025096081,
-0.051058542,
-0.032893483,
-0.0038373324,
-0.006822726,
-0.025009444,
0.03107409,
-0.02480729,
-0.026366768,
0.04161502,
0.036041323,
0.037514165,
0.033730984,
-0.050452076,
-0.03505943,
-0.00049455743,
0.0067144292,
0.019204712,
-0.011956016,
-0.004996113,
0.036012445,
-0.03887149,
0.039593473,
-0.02515384,
0.00032128184,
-0.012013774,
-0.038409423,
0.024850607,
-0.053022332,
-0.0042488617,
0.0041189054,
0.022150397,
-0.0054329117,
0.054090865,
0.036618907,
-0.01695213,
-0.03696546,
-0.07138954,
0.0105409315,
-0.0267422,
0.008800956,
0.009356882,
-0.003732645,
0.059549045,
-0.050943024,
0.038582698,
0.057209823,
0.022453628,
-0.027724095,
-0.015926914,
-0.0031514498,
0.019074755,
-0.011183496,
0.024330782,
0.009378541,
-0.03647451,
-0.016244587,
-0.05071199,
-0.03901589,
-0.005064701,
0.021168502,
0.02362324,
-0.036416754,
0.04606243,
-0.0038806512,
-0.048055097,
-0.022338111,
0.029182497,
-0.021803845,
0.028532714,
0.019291349,
-0.011104077,
0.005389593,
0.019103633,
-0.07537488,
-0.034135293,
-0.017082086,
-0.0038048432,
0.04756415,
-0.06590249,
0.025659228,
-0.0019042266,
-0.018569367,
-0.050163284,
-0.0049239146,
-0.00016368677,
-0.045744754,
-0.011551706,
0.025818063,
-0.02392647,
-0.013710431,
0.027348664,
0.018511608,
-0.045369327,
0.044127516,
0.0037398648,
0.007790182,
-0.031998225,
0.026785519,
0.02905254,
-0.020691993,
-0.022713542,
-0.058740426,
-0.037225373,
-0.057469737,
0.019161392,
0.008995892,
0.0050177723,
0.011739422,
0.01809286,
0.063245595,
0.027637457,
-0.010678109,
0.054206382,
0.00077477656,
-0.012887372,
-0.06272577,
-0.029687885,
0.026612243,
-0.029601246,
0.040199935,
0.0062270914,
-0.02002777,
0.0024691771,
0.05423526,
-0.0076457853,
-0.06168611,
0.028576033,
-0.005819172,
-0.019998891,
0.0023699047,
-0.008338888,
0.02747862,
0.027854051,
-0.029659005,
-0.06711541,
-0.0015964819,
0.014815063,
-0.014006443,
-0.045311566,
-0.007551928,
-0.0012797124,
-0.025211599,
-0.05076975,
0.005743364,
-0.020388762,
-0.011082418,
0.0022922917,
0.026236812,
-0.0027363105,
-0.006194602,
-0.012338666,
0.021529492,
0.022987895,
-0.0027669945,
-0.00054419367,
-0.018569367,
-0.012829614,
-0.013840388,
0.038033992,
0.053657673,
-0.014598468,
0.02677108,
0.0016190438,
-0.03725425,
-0.057643015,
0.039218042,
0.042221487,
0.010158282,
0.0042235926,
0.0275075,
0.008281129,
-0.040633127,
0.017067647,
-0.01533489,
-0.03272021,
-0.0050899703,
0.054697327,
-0.014742865,
0.029168058,
0.03191159,
0.025052764,
0.0016298735,
-0.011566145,
-0.01258414,
0.017905144,
0.042625796,
0.0030792516,
0.0026568924,
-0.023825394,
0.024865048,
0.025514832,
-0.02638121,
0.039044768,
-0.008671,
0.0073172837,
0.017197603,
0.024735091,
0.026525605,
0.03309564,
-0.009616795,
-0.024215264,
-0.036127962,
-0.013833168,
-0.04482062,
0.017385317,
-0.04678441,
-0.013508276,
0.014584029,
-0.030496504,
-0.010887483,
-0.030149953,
-0.037485287,
0.020345442,
0.0008866837,
-0.04744863,
-0.02356548,
0.028893705,
0.037138734,
0.04961458,
-0.017616352,
-0.021962682,
-0.0019313009,
0.00788404,
-0.042914588,
-0.014620128,
0.0054329117,
0.03777408,
0.0121726105,
-0.001042361,
-0.0020071089,
0.011421749,
0.0035575645,
-0.0019421306,
0.01768855,
-0.0027308955,
-0.025615908,
0.01809286,
-0.0047686887,
-0.0098406095,
-0.02795513,
0.046004668,
-0.009400201,
-0.03214262,
0.026453407,
0.026121296,
0.008107854,
-0.060011115,
0.018266136,
-0.027233148,
0.062610246,
-0.02044652,
0.011031879,
0.0041080755,
0.0408064,
0.024244143,
-0.0025359604,
-0.035637014,
0.06798179,
0.03887149,
-0.019204712,
-0.0063065095,
0.017269801,
0.01610019,
-0.009602356,
0.0036622519,
-0.039968904,
0.0042669117,
0.0052704657,
-0.012057093,
-0.0034763415,
0.022987895,
0.008086194,
-0.009631235,
-0.013118406,
0.03933356,
-0.010519273,
-0.054061987,
0.010735867,
0.020923028,
0.0043788184,
0.008714318,
0.019103633,
-0.014771745,
0.02752194,
0.049383543,
0.0012679802,
0.01646118,
-0.0053968127,
0.0073172837,
-0.0066241813,
0.022150397,
0.011934357,
-0.007949018,
-0.021731647,
-0.02717539,
0.015594803,
0.0069815624,
-0.013024549,
-0.01376819,
-0.006100745,
-0.028388318,
-0.010526492,
-0.089814514,
0.03540598,
-0.0887171,
0.0070718103,
0.03884261,
-0.024446297,
-0.019161392,
0.009941687,
-0.032835726,
-0.00392758,
0.037571926,
0.052069314,
0.039102525,
0.07693436,
0.00548706,
-0.01571032,
0.009992226,
0.056776635,
-0.030380987,
-0.03546374,
-0.021962682,
0.004988893,
0.030612022,
-0.050105527,
-0.02788293,
0.045831393,
0.009551817,
-0.0071801073,
-0.004761469,
0.030756418,
0.0022959015,
-0.05146285,
-0.02194824,
0.068155065,
0.029153619,
-0.016663335,
0.01923359,
-0.04557148,
-0.020980787,
-0.029153619,
-0.012490282,
0.04762191,
-0.019753417,
-0.014973899,
-0.04005554,
-0.06174387,
-0.024143066,
0.026857717,
-0.04880596,
-0.0146490075,
0.053195607,
0.010692548,
0.026092416,
0.030438745,
-0.008165612,
0.031391762,
0.03578141,
0.06313007,
0.07219816,
0.055505946,
0.06803955,
-0.023652118,
-0.0011732201,
0.00022753702,
-0.013602134,
-0.01804954,
0.007999556,
0.011623904,
0.017630791,
0.00008150496,
-0.04092192,
-0.017616352,
0.043780968,
-0.015017218,
0.008671,
-0.057556376,
0.021312898,
-0.031622797,
0.015132735,
-0.021731647,
-0.00028789017,
-0.0025467903,
-0.026265692,
0.058682665,
-0.020634236,
0.2478996,
0.03771632,
0.028099526,
0.00629568,
0.044502947,
0.05036544,
0.00901755,
-0.012829614,
-0.01101022,
-0.03745641,
0.01654782,
-0.023680998,
0.00985505,
-0.006923804,
-0.00031564134,
0.017515274,
-0.011753861,
0.032460295,
0.028821507,
-0.051145177,
-0.030092195,
0.03736977,
-0.014259137,
0.060242146,
-0.01654782,
-0.00549789,
0.006241531,
-0.020793071,
-0.019724539,
-0.03260469,
0.04207709,
-0.008894814,
0.025615908,
-0.036618907,
-0.014887261,
0.059895597,
-0.024186384,
-0.07803178,
-0.0056097973,
-0.023045653,
0.0041477843,
-0.032171503,
-0.003220038,
-0.028402757,
-0.019912254,
0.028431637,
0.0008763052,
-0.0038048432,
0.03332667,
-0.06376542,
0.04207709,
-0.07543264,
0.020331003,
0.0022507778,
-0.085078314,
-0.013161725,
-0.069425754,
-0.007681885,
0.024532937,
0.00706459,
0.042625796,
0.011522827,
-0.016648896,
0.030438745,
0.012049873,
-0.004497946,
0.024850607,
-0.022886818,
-0.0024258583,
0.0099128075,
0.013587695,
-0.0028933415,
-0.018179497,
-0.009522938,
0.037167616,
-0.006905754,
-0.00825947,
0.0033951185,
0.0042488617,
-0.028561594,
0.012750195,
-0.035608135,
0.038755976,
-0.030554263,
0.023074534,
0.021977121,
-0.030352108,
-0.0072956244,
-0.031247364,
0.011270133,
0.007920139,
0.07473954,
-0.01695213,
-0.010071644,
0.013703211
] | Pad
In some cases, for instance, when fine-tuning DETR, the model applies scale augmentation at training
time. This may cause images to be different sizes in a batch. You can use [DetrImageProcessor.pad]
from [DetrImageProcessor] and define a custom collate_fn to batch images together. |
[
0.009403085,
-0.012607254,
0.026080124,
0.024502471,
0.002834189,
-0.06841146,
0.011413544,
-0.022827089,
-0.0069947224,
0.02934712,
0.012816678,
-0.014052272,
0.022422204,
-0.039008494,
-0.015204098,
0.02064909,
-0.021961475,
-0.06913746,
-0.026540853,
-0.013221562,
-0.0040313895,
-0.0051518017,
-0.09298374,
-0.038673416,
-0.023902126,
-0.0009546191,
0.036998034,
0.011699756,
0.07259992,
0.0076439334,
-0.0017800941,
0.026485007,
0.031162117,
-0.023581011,
0.018820131,
-0.009305354,
0.040600106,
-0.041521568,
-0.027434392,
-0.031608887,
0.058917623,
-0.007144809,
0.00981495,
-0.0464081,
-0.05612532,
-0.031776424,
0.021123784,
0.011713717,
0.00051264965,
-0.074610375,
-0.02522847,
0.008090702,
0.006373435,
-0.0025898623,
-0.014108119,
0.01788471,
-0.0071692416,
-0.029291274,
-0.0041675144,
-0.008383894,
-0.01431056,
0.025396008,
-0.0067085116,
-0.036132418,
0.01421981,
-0.005664888,
0.01449206,
0.021821858,
-0.0030680445,
-0.015608982,
-0.010764333,
0.00578007,
-0.018122056,
-0.0029964917,
-0.02742043,
0.005396128,
-0.021053975,
-0.005155292,
-0.039148107,
0.036160342,
0.012607254,
0.00880274,
0.0015628178,
-0.02476774,
-0.015539174,
-0.029319197,
0.04961925,
-0.004045351,
0.035797343,
-0.03632788,
-0.020341938,
0.024656048,
-0.01833148,
-0.0007744282,
0.014268676,
0.06908161,
0.0027556554,
0.056795474,
0.0016230269,
0.00880972,
0.014198869,
0.08695236,
-0.029877657,
0.05009394,
0.011064506,
0.019643862,
0.006034868,
-0.00067713385,
-0.031636808,
0.039650723,
0.011176199,
-0.021151707,
0.04917248,
-0.026024278,
-0.0059510986,
0.018373363,
-0.011294872,
0.0055846088,
-0.04006957,
-0.027923044,
0.0007011302,
-0.025340162,
0.0264152,
-0.01495279,
-0.01375908,
-0.05098748,
0.036272034,
-0.00086517807,
-0.022045244,
0.0049737925,
0.033535577,
-0.007846376,
-0.015553135,
0.043420333,
0.010492084,
0.024544356,
0.0017940556,
-0.009340258,
0.011985967,
0.027406469,
0.020314015,
-0.0036299957,
-0.04537495,
0.08170283,
-0.026987622,
-0.035071343,
0.027950967,
-0.0032704866,
-0.011127333,
0.011252987,
-0.060090393,
0.007455453,
0.020970207,
0.0008507803,
-0.038282495,
-0.007364703,
0.010066258,
0.027001584,
-0.06243593,
0.049228325,
0.04886533,
-0.01054793,
0.00057198614,
0.03487588,
0.026596699,
0.064055465,
-0.053305093,
-0.010987718,
-0.038673416,
-0.020858515,
0.047580868,
0.007019155,
0.0028935254,
-0.00033464024,
0.032418653,
0.029123735,
0.017898671,
-0.009514777,
0.03669088,
0.024111548,
0.019141247,
-0.012397831,
-0.02704347,
-0.015245982,
0.00403488,
-0.025451856,
-0.021989398,
0.00568932,
0.0046736198,
-0.031888116,
0.067908846,
0.045319103,
-0.027504198,
0.043867104,
-0.042526796,
-0.0015846328,
-0.005218119,
-0.036467496,
-0.006411829,
-0.030799119,
-0.02210109,
-0.014436214,
-0.016307058,
-0.0043490143,
-0.053221323,
0.024614163,
0.057744857,
0.050764095,
-0.021416975,
0.026485007,
-0.01567879,
-0.04961925,
-0.031329654,
0.03292127,
0.029095812,
0.019001631,
-0.025535624,
0.016460635,
-0.013877753,
0.018289594,
0.012649139,
0.01954613,
0.026261624,
-0.010708488,
-0.0055427244,
-0.037193496,
0.028551312,
0.03789157,
0.021151707,
0.0328375,
-0.025437893,
0.031580962,
0.005741676,
0.045933407,
0.004066293,
0.019615939,
0.029821811,
0.021221513,
0.001935416,
0.03473627,
-0.040292952,
-0.027211007,
0.0328375,
-0.0001916437,
0.023706665,
0.011252987,
-0.0005562794,
0.02843962,
-0.031888116,
0.01567879,
-0.046547715,
0.055874012,
0.0072809337,
-0.019015593,
-0.031050425,
-0.062603466,
0.010464161,
0.06874654,
-0.027839275,
0.0040593124,
0.019280862,
0.00030148163,
0.010436238,
0.0028219726,
0.01651648,
0.017088903,
0.001118667,
0.00054231787,
0.025842778,
0.0055357437,
-0.037388958,
-0.050680324,
-0.045682102,
0.010289642,
-0.03702596,
-0.009682315,
0.0010418786,
-0.012921389,
0.011148276,
0.005979022,
-0.017814903,
0.011546179,
-0.050959557,
0.0071901837,
0.08309898,
-0.008837644,
-0.02136113,
-0.010450199,
0.04705033,
0.050149787,
0.004513062,
-0.021249438,
-0.031776424,
-0.008335029,
-0.025158662,
0.012691024,
-0.03180435,
-0.039957877,
-0.014296599,
-0.006027887,
-0.024837548,
-0.006980761,
-0.042778105,
-0.01238387,
-0.016572326,
-0.0033263327,
0.044872332,
-0.024739817,
0.0106735835,
0.026959699,
-0.02228259,
-0.009773065,
0.026722353,
0.02310632,
-0.009954565,
0.04129818,
0.023427434,
0.005574138,
-0.0072879144,
-0.01696325,
-0.046826944,
0.016823635,
-0.029654274,
-0.016111597,
-0.010533969,
0.038645495,
-0.008684067,
-0.07131545,
0.03219527,
-0.023148203,
-0.035797343,
-0.020034784,
-0.0022809636,
0.0066003096,
-0.023148203,
-0.0097242,
-0.05835916,
0.009926642,
0.02439078,
0.04082349,
0.014994675,
-0.03680257,
0.0045444756,
0.025423933,
0.022980666,
0.0143803675,
0.045626253,
-0.047022406,
-0.011266949,
-0.03448496,
0.06344116,
0.012355947,
0.012830639,
0.03934357,
-0.01394756,
-0.0014546161,
-0.03870134,
0.038003262,
0.024083626,
0.013403062,
0.049423788,
0.02219882,
0.0055915895,
-0.0062233484,
-0.025675239,
-0.012460658,
0.03300504,
-0.018722402,
0.049367942,
-0.044453487,
-0.011490333,
-0.0033769433,
-0.0022216272,
0.001609938,
0.0063524926,
-0.029961426,
0.061542388,
0.011266949,
0.095776044,
-0.016935326,
-0.009835892,
0.038450032,
-0.021682244,
-0.00047469174,
0.056711704,
0.0317485,
0.007088963,
0.03585319,
-0.024460588,
-0.03336804,
-0.00029319196,
-0.027476275,
-0.012041813,
-0.03091081,
-0.030799119,
0.012558389,
0.023692703,
0.002924939,
0.033228423,
0.0038114956,
0.025242433,
-0.01513429,
0.03677465,
0.027629852,
-0.008404836,
-0.016893443,
-0.0022303532,
0.07120376,
-0.0048935134,
0.005116898,
-0.019127285,
0.016251212,
-0.029458812,
-0.008034856,
-0.01743794,
0.027127238,
-0.026582738,
0.005211138,
0.024893394,
0.049563404,
0.03054781,
-0.01549729,
-0.005036619,
0.0030244146,
0.04358787,
-0.07125961,
-0.013326273,
-0.0009040086,
0.0032547798,
0.0038882839,
-0.011204122,
-0.008837644,
-0.03825457,
-0.031329654,
-0.025996353,
0.06170993,
0.02807662,
-0.0011335011,
0.012272178,
-0.0025095837,
-0.018303556,
-0.046826944,
-0.013130812,
-0.003062809,
-0.028593197,
-0.013780022,
-0.0037521592,
0.011595044,
0.011029603,
-0.024781702,
0.015148251,
-0.0128376195,
0.033088807,
-0.019406516,
-0.03666296,
-0.014143022,
0.02633143,
-0.012586312,
0.055818167,
-0.011113372,
-0.038645495,
-0.026834046,
0.032977115,
-0.040404644,
-0.047915943,
0.019741593,
0.015357674,
0.0009511287,
0.011546179,
-0.012753851,
-0.02154263,
0.027839275,
0.045654178,
-0.02834189,
-0.019504247,
-0.019699708,
0.0017451902,
-0.025172625,
-0.04319695,
0.017773017,
-0.009465912,
0.026247662,
-0.010855083,
-0.014519983,
0.014910906,
-0.042638488,
0.014561867,
0.007081982,
-0.023134243,
-0.010980737,
0.021472821,
-0.011483352,
0.004516552,
0.0016352433,
0.016711943,
0.012160486,
-0.038450032,
-0.020900398,
0.066289306,
-0.012998177,
-0.0055601764,
-0.015888212,
-0.039371494,
0.06025793,
-0.03364727,
0.05026148,
-0.015734635,
0.0061744833,
0.018610708,
-0.01146939,
-0.05942024,
-0.032977115,
-0.02081663,
-0.0007530496,
0.011720698,
-0.019588016,
0.0038952646,
-0.048753634,
-0.017130788,
0.061877467,
-0.041940413,
-0.050121866,
-0.038450032,
0.0143803675,
0.017731134,
0.0030488474,
0.03414988,
0.035406422,
-0.04844648,
-0.054785013,
0.032139424,
-0.026540853,
-0.030380271,
-0.03244658,
-0.045179486,
0.0011596789,
0.026205776,
-0.0064711655,
-0.07941314,
-0.018931825,
-0.052216094,
0.017479826,
-0.035741497,
-0.04411841,
-0.005081994,
0.005567157,
-0.061151467,
0.028313966,
-0.022436166,
-0.045291178,
0.027992852,
0.053165477,
0.012614235,
0.050792016,
-0.04367164,
0.010226815,
-0.014533944,
0.015078444,
0.0046422062,
0.016767789,
0.015762558,
0.0388968,
-0.03680257,
0.017144749,
-0.048558176,
-0.008935374,
-0.027923044,
-0.052607015,
0.027029507,
-0.049647175,
-0.00094065757,
-0.06601008,
0.01743794,
0.017689249,
0.034792114,
0.030687425,
-0.046184715,
-0.06377623,
-0.05648832,
0.0097172195,
-0.04154949,
-0.0036893322,
0.0317485,
-0.015999904,
0.056348704,
-0.059196856,
0.0027224969,
0.06690361,
0.030240657,
0.002054089,
-0.02870489,
-0.034708343,
0.0031099292,
-0.01633498,
0.0009118619,
-0.0018952766,
-0.019322747,
-0.0031867174,
-0.027169121,
-0.05266286,
0.005787051,
0.044341795,
0.024265125,
-0.048027635,
0.04392295,
-0.006349002,
-0.01761944,
-0.026820084,
-0.019434439,
0.02330178,
-0.0051867054,
0.009954565,
-0.005190196,
0.034429114,
0.04439764,
-0.040711798,
-0.00357764,
-0.0084187975,
0.020593245,
0.038561724,
-0.0460451,
0.007818452,
-0.011539198,
-0.03677465,
-0.018191863,
-0.021779975,
-0.02440474,
-0.038170803,
-0.011092429,
0.02027213,
-0.014254714,
-0.0053158496,
0.01137864,
0.016265173,
-0.05632078,
0.015539174,
-0.009361201,
0.0044781584,
-0.024502471,
0.025354125,
0.04961925,
-0.021891667,
-0.01925294,
-0.038170803,
-0.04009749,
-0.030408196,
0.007266972,
0.004987754,
0.057912394,
0.060760543,
0.035713572,
0.046296407,
0.08840436,
0.030854965,
0.00926347,
-0.007951087,
-0.01888994,
-0.066345155,
-0.015818404,
0.01412208,
-0.010848103,
0.014184906,
0.0092215855,
-0.015539174,
0.029933503,
0.021109821,
0.013235523,
-0.08404836,
0.03825457,
-0.017954517,
-0.033982344,
-0.033814806,
-0.0101500265,
-0.0027678718,
0.0012408303,
-0.045207407,
-0.03953903,
-0.00010618392,
0.030128965,
-0.011888236,
-0.003909226,
-0.025800893,
-0.02760193,
-0.014841098,
-0.028676966,
-0.007071511,
-0.052355707,
0.03336804,
0.009410066,
-0.0018184882,
-0.027434392,
0.0123419855,
-0.017270403,
-0.0019109834,
-0.026387276,
0.0045235334,
-0.04383918,
-0.03705388,
0.0021500743,
-0.046743177,
0.028956197,
0.047385406,
-0.013647388,
-0.023985894,
-0.014617714,
-0.01431056,
-0.0339265,
0.0027102805,
0.053305093,
-0.010478122,
0.017759057,
0.03208358,
0.011937101,
-0.032418653,
-0.03384273,
0.00028904714,
-0.026652547,
0.0018743344,
0.03979034,
0.019685747,
0.057102624,
0.027085353,
0.026652547,
0.0040558223,
0.014938829,
0.0014502531,
0.028104544,
-0.008649163,
0.03180435,
0.017759057,
-0.018694479,
0.002010459,
0.015176174,
-0.047385406,
0.025814855,
-0.004111668,
-0.021291321,
-0.013040062,
0.00596157,
0.015818404,
0.012858562,
0.0016282626,
-0.045067795,
0.006293156,
0.023636857,
-0.014198869,
-0.02430701,
-0.041158568,
-0.053053785,
0.035294726,
-0.05835916,
0.020314015,
0.0069842516,
-0.011797486,
0.010268699,
0.027001584,
0.021123784,
-0.00962647,
0.008481625,
0.03970657,
0.032530345,
-0.05880593,
-0.041242335,
0.0043699564,
0.022673512,
-0.035741497,
-0.029095812,
0.01513429,
0.044537257,
0.002357752,
-0.020020822,
-0.025423933,
-0.0080488175,
0.032725807,
0.004041861,
0.025814855,
0.021040013,
-0.058135778,
0.022436166,
-0.05274663,
-0.022603704,
0.011622967,
0.047162022,
0.008328048,
-0.0060104355,
0.02705743,
0.07723514,
0.0141360415,
-0.029821811,
-0.0020122044,
-0.007225088,
0.014910906,
0.012635178,
-0.009584585,
-0.04476064,
0.0335635,
0.04515156,
0.050233558,
-0.030938733,
0.049675096,
-0.0053402823,
-0.012921389,
0.020774744,
0.007015665,
0.0007508681,
0.054785013,
-0.053975243,
-0.044956103,
-0.01707494,
-0.02458624,
0.0010898713,
0.021137744,
-0.012649139,
-0.031385504,
0.03172058,
-0.012146524,
0.006303627,
-0.045710023,
-0.07695591,
0.013284388,
0.01485506,
0.008041836,
0.050121866,
0.016027827,
-0.00037041664,
0.024795663,
0.02596843,
-0.011867294,
0.04099103,
-0.021319244,
0.04515156,
0.0043490143,
0.014247733,
-0.024265125,
-0.0016867263,
-0.008446721,
-0.01678175,
-0.019015593,
-0.0049284175,
0.017689249,
-0.0072599915,
-0.0010907439,
-0.0027277323,
-0.028676966,
-0.064725615,
0.045347024,
-0.04090726,
0.06450223,
0.032502424,
-0.06813223,
-0.022450129,
0.02824416,
-0.03724934,
-0.0049284175,
0.04286187,
0.067127,
0.015371636,
0.081479445,
0.014533944,
-0.009940604,
0.017856786,
0.028118506,
0.00316403,
0.003926678,
-0.03420573,
-0.01357758,
0.036886342,
-0.02733666,
-0.025284316,
0.060928084,
0.019462362,
-0.008237298,
-0.023860242,
0.039148107,
0.009612508,
-0.057186395,
-0.019951016,
0.07801699,
0.014017369,
0.014813175,
-0.0038010245,
-0.031190041,
-0.031692654,
-0.018233748,
-0.035294726,
0.047022406,
-0.015413521,
-0.024083626,
-0.023553088,
-0.048083484,
-0.02807662,
0.025256393,
-0.022338435,
-0.016488558,
0.048474405,
0.04439764,
0.0058743106,
0.01725644,
-0.017689249,
-0.011811447,
0.055706475,
0.067071155,
0.02440474,
0.045095716,
0.06986345,
-0.0137939835,
0.028816583,
-0.012551408,
0.02816039,
0.013061004,
0.014813175,
0.024544356,
0.02045363,
-0.013954542,
-0.058582548,
-0.03414988,
0.043895025,
-0.011252987,
-0.035825267,
-0.032614116,
0.032139424,
-0.04917248,
0.018736362,
-0.00697378,
0.025731085,
-0.008886509,
0.010422276,
0.04330864,
-0.00742753,
0.22796373,
0.06684777,
0.06807638,
0.028383775,
0.033982344,
0.04548664,
-0.015999904,
-0.03007312,
-0.008914432,
-0.019197093,
0.009968527,
-0.023971934,
-0.0146595985,
0.04082349,
-0.010603776,
0.038813032,
-0.040209185,
0.01485506,
0.0007390881,
-0.03604865,
-0.03970657,
-0.0007526133,
0.020942284,
0.013605503,
0.005458955,
0.014177926,
0.033340115,
-0.013165715,
-0.04046049,
-0.024265125,
0.038198724,
-0.012691024,
0.048390634,
-0.027322698,
-0.0095915655,
0.03448496,
-0.038533803,
-0.051685557,
-0.007930145,
-0.017549634,
0.022324475,
-0.018568825,
0.011720698,
-0.0055462145,
-0.007902222,
0.03716557,
-0.011343737,
0.012956292,
0.039566953,
-0.063329466,
0.01587425,
-0.042303413,
0.013444946,
-0.012251236,
-0.06489316,
0.014743367,
-0.071650535,
-0.028495466,
0.033088807,
0.03981826,
-0.0009886503,
0.02613597,
0.030408196,
-0.02219882,
-0.009800988,
0.044704795,
0.017312288,
0.058917623,
-0.035546035,
-0.008565394,
0.008355971,
0.0010418786,
-0.0028167372,
-0.014631676,
0.024237202,
0.030882888,
-0.019336708,
-0.005895253,
0.008914432,
-0.06662438,
0.0026474537,
-0.018485056,
0.028760735,
-0.0032582702,
0.0008132587,
0.033060886,
-0.023553088,
-0.0032879384,
-0.021249438,
-0.013430985,
0.022841051,
0.05785655,
0.00021564007,
-0.014080195,
0.008705009
] | def collate_fn(batch):
pixel_values = [item["pixel_values"] for item in batch]
encoding = image_processor.pad(pixel_values, return_tensors="pt")
labels = [item["labels"] for item in batch]
batch = {}
batch["pixel_values"] = encoding["pixel_values"]
batch["pixel_mask"] = encoding["pixel_mask"]
batch["labels"] = labels
return batch |
[
0.020244436,
0.024027914,
0.011039853,
0.010573977,
-0.006698734,
-0.05127461,
-0.02322322,
-0.018310344,
-0.014138635,
0.02566554,
0.012783359,
0.0035470114,
0.004256414,
-0.052516945,
-0.018945629,
0.026159652,
-0.029872542,
-0.040601812,
-0.025594953,
-0.010637505,
-0.024310265,
0.0022640876,
-0.07753308,
-0.009352816,
-0.046898197,
0.025538484,
-0.023660861,
0.023025576,
0.069909655,
0.033373673,
0.009938691,
-0.024747904,
-0.0063916794,
-0.031510167,
0.012381012,
-0.038004197,
0.02933608,
-0.0058199223,
-0.022093823,
-0.016291548,
-0.0059752143,
-0.012875122,
0.015006859,
-0.023209102,
-0.045825273,
0.031764284,
-0.007912836,
0.034700714,
-0.04622056,
0.0018987982,
-0.021613829,
0.03131252,
0.026950229,
-0.011209263,
-0.01655978,
-0.047942888,
-0.00049146404,
0.023505569,
-0.022531465,
-0.01661625,
0.005431692,
0.047745246,
-0.00035293648,
-0.034305423,
-0.0008144009,
0.020625608,
-0.014322162,
-0.00021540154,
-0.047321722,
-0.033740725,
-0.047942888,
0.031171348,
0.00074557826,
-0.05850275,
-0.023378512,
0.011011618,
-0.01788682,
-0.019595033,
0.010933972,
0.017406827,
0.009028114,
0.076798975,
0.07182963,
-0.015839789,
0.011908077,
-0.029590193,
0.03244192,
0.008569297,
0.020413846,
-0.00030087834,
-0.06488384,
0.039670058,
-0.074257836,
-0.014032754,
0.01567038,
0.016686836,
0.013115119,
0.060140375,
0.045966446,
-0.040799454,
0.025580835,
0.07860601,
-0.0422112,
0.022347936,
0.015938612,
-0.0040799454,
0.021627946,
-0.010030454,
-0.027161991,
0.006734028,
0.01756212,
-0.020569138,
0.050766382,
-0.012402187,
0.004288178,
0.030747825,
0.035745405,
0.033034854,
-0.051839307,
-0.0065152072,
0.0273314,
-0.010369274,
0.017308004,
-0.03690304,
0.0059893318,
-0.033401906,
-0.00241585,
0.017350357,
0.0048916996,
0.009148113,
0.011985722,
0.013291587,
0.016009199,
0.017872702,
0.01094103,
-0.015063329,
-0.040460635,
0.008809295,
0.012211602,
-0.006070507,
0.028743146,
0.030691355,
-0.01538803,
0.046474673,
-0.019580916,
0.0151197985,
0.019058568,
-0.009797516,
-0.027359635,
-0.014837449,
-0.069909655,
0.038343016,
0.011357496,
-0.019580916,
-0.04438529,
0.0094445795,
-0.008301065,
-0.020230317,
-0.006314033,
0.0036017166,
-0.01538803,
-0.023590274,
-0.05850275,
0.018239757,
0.02494555,
0.037354797,
-0.013432762,
-0.007799896,
0.047208782,
-0.030154891,
0.005622278,
-0.0010949854,
-0.0075528403,
0.0076516625,
0.0067481454,
0.020089144,
-0.008124597,
0.02222088,
0.048535824,
0.025482014,
-0.011675138,
-0.0041222977,
0.050653443,
-0.012959827,
-0.024747904,
-0.012197484,
0.013115119,
0.024296146,
-0.030154891,
0.019044451,
0.049241696,
0.048197005,
0.016249195,
0.0067375572,
-0.018211521,
0.009451639,
-0.03537835,
0.021910297,
0.008343418,
-0.005643454,
-0.041590035,
0.015458617,
-0.036931273,
0.018042112,
-0.007235198,
0.029872542,
0.034192484,
0.063189745,
-0.014653922,
0.063810915,
0.053731047,
0.031481933,
-0.01849387,
0.024592614,
0.01472451,
-0.00040102407,
-0.020639725,
0.0037693614,
-0.004803465,
0.016192725,
0.039020658,
0.00466582,
0.022474995,
0.03690304,
0.013898638,
-0.028093742,
0.015952729,
0.038314782,
0.06686028,
0.031679578,
-0.0071222577,
0.013531584,
0.0228844,
0.044752344,
-0.0023893798,
0.037354797,
0.072620206,
0.053843986,
0.02933608,
-0.0172233,
-0.0075246054,
0.026413765,
0.031792518,
0.00096969295,
-0.018733868,
0.016348017,
-0.003899948,
0.006384621,
-0.012818652,
-0.0036740687,
-0.042013556,
0.01927033,
0.0013199823,
0.047519367,
-0.04209826,
-0.057740405,
0.025651423,
0.030521946,
-0.036310103,
0.003917595,
0.0051669898,
0.044893518,
-0.0076304865,
0.0061305063,
0.01521862,
0.038597133,
-0.024705553,
0.00072528445,
0.011837489,
-0.021952648,
-0.069683775,
-0.082897715,
-0.057486292,
0.018649163,
-0.017533883,
-0.038314782,
-0.012642184,
-0.053363994,
0.03532188,
0.0047081723,
-0.0127763,
-0.027049052,
0.0077857785,
0.031510167,
0.041590035,
-0.013863345,
-0.021232657,
0.024860844,
0.015458617,
0.037072446,
-0.0051034614,
-0.03416425,
-0.009966926,
-0.0075598992,
0.0039952407,
-0.022474995,
0.012635126,
0.027006699,
-0.03760891,
0.0020152673,
-0.017590353,
0.03933124,
-0.029420784,
0.009522226,
-0.03676186,
0.005558749,
0.03455954,
-0.03261133,
0.028107861,
0.03950065,
-0.03588658,
0.022418525,
0.039528884,
0.009790458,
-0.016009199,
-0.010284569,
0.020653842,
0.025764363,
-0.038032435,
-0.040347695,
-0.080356576,
-0.0070975525,
-0.015345678,
-0.0036564218,
0.008597532,
0.07166022,
-0.05855922,
-0.05070991,
0.024917314,
-0.062003877,
-0.017985642,
-0.03498306,
-0.026357295,
0.03049371,
0.0048422883,
0.02848903,
-0.04362295,
-0.009148113,
-0.0044364114,
0.042408846,
0.015260973,
0.0059505086,
0.008858705,
0.025736127,
-0.001308512,
0.012846887,
-0.007425783,
-0.026032593,
-0.0052905176,
0.01777388,
0.03594305,
-0.007072847,
0.028997261,
0.020738548,
0.041533563,
0.042493552,
-0.03732656,
0.039359476,
0.03283721,
0.036027756,
0.03215957,
0.016630366,
0.043142952,
-0.015472734,
0.016955068,
-0.039415944,
0.0016173314,
0.008908116,
0.03944418,
-0.05816393,
0.04681349,
0.024126736,
-0.04483705,
0.028418444,
0.0023293807,
-0.011470435,
0.07883189,
0.007432842,
0.06347209,
-0.04387706,
0.019637385,
0.016940951,
0.01382805,
0.02193853,
0.013503349,
0.08735883,
-0.010806914,
-0.0039634765,
-0.0054140454,
-0.0046517025,
-0.010009279,
0.0035805404,
0.008774,
-0.00811048,
-0.046135854,
-0.042380612,
0.02216441,
0.035406586,
0.0303243,
0.02222088,
0.047124077,
-0.013312764,
0.017519766,
0.035039533,
-0.0055693374,
0.003093488,
-0.01433628,
0.037778318,
-0.0011488082,
0.015938612,
0.021515006,
-0.015035094,
-0.005403457,
0.044300586,
0.033260733,
0.023406746,
-0.063359156,
0.0070587294,
-0.035971284,
-0.010418684,
-0.03278074,
-0.015232738,
-0.010948089,
-0.00038448017,
0.050879322,
-0.067763805,
0.014286868,
-0.00789166,
0.037637144,
0.03639481,
-0.016263312,
-0.036027756,
0.017632706,
-0.039980642,
-0.029533723,
0.05805099,
0.019453859,
0.006734028,
-0.0031076055,
-0.014978624,
0.0061093303,
-0.017406827,
0.034728948,
0.02038561,
-0.040855926,
-0.006455208,
-0.009818693,
0.0011699843,
-0.0010376332,
-0.004132886,
0.020696195,
-0.010813973,
0.037354797,
-0.031397227,
0.027529044,
-0.019524446,
-0.018013878,
-0.0074751945,
0.024874963,
0.00074160774,
-0.022785578,
0.005865804,
-0.0116680795,
-0.03537835,
-0.0636415,
-0.0014426279,
0.016489191,
-0.012811594,
0.014837449,
0.00028433444,
0.021529125,
0.03749597,
0.016122138,
-0.017195065,
-0.001642037,
-0.07109552,
0.019651502,
-0.050540503,
-0.03854066,
0.012578656,
-0.045684095,
0.028785499,
-0.012818652,
0.006066978,
-0.013143354,
-0.060196843,
-0.038117137,
-0.013460997,
-0.030521946,
0.04094063,
-0.004672879,
-0.0013393939,
-0.016926832,
-0.07064376,
0.020752665,
-0.0024864373,
-0.018479753,
-0.02778316,
0.06409326,
-0.023307925,
0.04565586,
-0.04514763,
-0.013785698,
0.044131175,
-0.016743306,
0.023293806,
-0.021303246,
-0.020075027,
0.02939255,
0.00069219666,
-0.021656182,
0.0066069704,
-0.03134076,
0.043905295,
-0.02316675,
-0.02944902,
-0.0022234998,
-0.05655454,
-0.008519886,
0.043227658,
-0.01250101,
-0.04850759,
-0.01966562,
-0.0065963827,
-0.0045669978,
0.0045917034,
0.040460635,
-0.024479674,
-0.038286548,
-0.034926593,
0.0683285,
0.01654566,
0.00383289,
-0.052686356,
-0.029731369,
-0.018084465,
0.048535824,
0.01860681,
-0.044046473,
0.026357295,
-0.026357295,
-0.023646744,
-0.051613428,
-0.016108021,
-0.00087925297,
0.0016182137,
-0.00838577,
0.029307844,
0.012006898,
-0.003988182,
0.038484193,
-0.050032273,
0.021684416,
0.02683729,
-0.030041952,
-0.01860681,
-0.012705713,
0.025637304,
-0.004517587,
-0.0061093303,
-0.024564378,
0.026117299,
-0.04031946,
0.050342858,
-0.008463416,
-0.0018617399,
-0.0083293,
-0.043566477,
0.070079066,
-0.04548645,
-0.03701598,
-0.00855518,
0.039133597,
-0.009995161,
0.030239597,
-0.020187967,
0.019764442,
-0.028912555,
-0.046305265,
0.011456318,
-0.036366574,
-0.045627628,
0.015006859,
0.034700714,
0.03701598,
-0.052742824,
0.042267673,
0.035688937,
0.008646944,
-0.010461037,
-0.04506293,
0.02759963,
-0.009543402,
-0.021995,
0.0166586,
-0.021995,
-0.04209826,
-0.0030581944,
-0.027994921,
-0.041194744,
-0.03427719,
-0.03320426,
0.06629559,
-0.009621048,
0.049862865,
0.044921752,
-0.04054534,
-0.054578096,
0.011103381,
-0.011308084,
0.05322282,
0.0037764201,
0.012155132,
0.011703373,
0.033994842,
-0.049524046,
-0.022460876,
-0.0009352816,
0.052291065,
-0.04351001,
-0.03938771,
0.010475154,
0.053420465,
-0.07550017,
-0.03365602,
-0.019030334,
-0.0048317,
-0.0101857465,
0.0067693214,
0.026244355,
0.009141055,
-0.010715151,
-0.032526623,
-0.008188126,
-0.032583095,
0.031848986,
0.026823172,
0.0014090989,
-0.008392829,
0.004701114,
0.0367901,
-0.043453537,
-0.010750445,
-0.025044372,
-0.009204583,
-0.013044531,
0.015345678,
0.01744918,
-0.01244454,
0.012098663,
-0.0075034294,
-0.0043446478,
0.028234918,
-0.018747985,
0.01744918,
-0.017759763,
-0.027317282,
-0.06844144,
-0.00013918932,
0.015020976,
0.007362255,
-0.010242216,
-0.0014329221,
0.019256214,
-0.021529125,
0.04839465,
0.03727009,
-0.05099226,
0.035745405,
-0.03427719,
-0.014315103,
-0.015303325,
-0.04232414,
0.012211602,
0.038286548,
0.019016217,
-0.031651344,
0.009917514,
-0.026343178,
-0.023660861,
0.001241454,
-0.03156664,
0.0056469836,
-0.036310103,
-0.026766703,
-0.005078756,
0.009529284,
0.008548121,
0.02761375,
0.026583174,
0.002322322,
-0.0054811034,
0.027924333,
0.021670299,
0.009585754,
-0.0031693694,
0.024013797,
0.00766578,
-0.009105761,
0.015317443,
0.043594714,
0.046672318,
-0.018479753,
0.0070693176,
0.017138595,
0.01622096,
-0.0076234275,
0.0094304625,
0.038597133,
-0.0061975643,
0.0020082085,
-0.031030174,
0.035096,
-0.048564058,
-0.016573897,
0.00053822814,
0.011011618,
-0.01433628,
0.03049371,
0.008788118,
0.057627466,
0.00977634,
-0.000031626416,
0.0083293,
0.026907876,
-0.016192725,
0.0012370424,
0.029364314,
-0.008364595,
-0.030211361,
0.0042493553,
-0.0039634765,
0.02572201,
-0.03371249,
-0.01016457,
-0.022926753,
-0.019990321,
-0.032921914,
0.014209222,
0.03427719,
0.038964186,
0.040912393,
-0.049862865,
0.0019252684,
-0.03244192,
-0.03461601,
-0.007425783,
-0.048253473,
-0.028856086,
0.018296227,
-0.044582933,
0.0048634647,
-0.051076967,
-0.032950148,
-0.032131337,
0.011413965,
0.009966926,
-0.027091403,
0.024592614,
-0.0036017166,
0.026879642,
-0.008039893,
-0.03077606,
-0.011908077,
-0.0038399487,
-0.02844668,
-0.0009785163,
0.015910376,
0.034841888,
0.03467248,
-0.017082125,
-0.058954507,
-0.015359795,
-0.027585514,
0.03365602,
-0.029957248,
-0.028234918,
-0.018959748,
-0.014004519,
-0.033034854,
-0.010828091,
-0.031256054,
-0.002017032,
0.009070467,
0.028573737,
0.0074469596,
0.028870203,
-0.008435181,
-0.009543402,
-0.023914974,
0.02383027,
0.018790338,
-0.020879721,
-0.0020593842,
0.00027109933,
0.024070267,
0.04461117,
0.0049975803,
-0.054747503,
0.025086723,
-0.02371733,
0.02399968,
-0.021133836,
0.016192725,
0.013969226,
-0.0014867448,
-0.02460673,
0.009246935,
-0.054578096,
0.008738707,
0.0002038208,
-0.011039853,
0.0010826326,
-0.025072606,
-0.02055502,
-0.028319621,
-0.0026417295,
-0.00077778375,
-0.07335432,
0.029138435,
-0.0011091029,
0.034305423,
0.029759603,
0.01877622,
0.0013879227,
0.039670058,
0.040601812,
0.023618508,
0.040347695,
0.0073199025,
0.019058568,
-0.027966686,
0.04514763,
-0.044018235,
-0.010813973,
-0.054013398,
-0.00009705753,
-0.0404324,
0.019595033,
0.005061109,
0.008258713,
0.025016136,
-0.03664892,
-0.02933608,
-0.012486892,
0.0067446157,
-0.055961605,
-0.0107786795,
0.056074545,
-0.019002099,
-0.067368515,
0.036479514,
-0.029759603,
-0.0009538108,
-0.004358765,
0.066126175,
0.070079066,
0.06793321,
0.0011064558,
-0.029844308,
-0.031171348,
0.036479514,
-0.018126817,
-0.062963866,
-0.021345597,
-0.0075740167,
-0.037919495,
-0.023237336,
-0.027105521,
-0.011406907,
0.040037114,
-0.015980963,
-0.0046587614,
0.036535982,
-0.010962207,
-0.06804615,
0.0005329341,
0.051020496,
0.0029964305,
-0.00023492334,
0.03359955,
0.014908036,
-0.054916915,
-0.0028834909,
-0.033373673,
0.021684416,
0.018070348,
-0.07267668,
0.011364554,
-0.06810262,
-0.012042192,
0.041448858,
-0.004471705,
-0.018804455,
-0.009882221,
0.026978463,
0.06872379,
0.029900778,
-0.044639405,
0.003755244,
0.0246632,
-0.0036528925,
0.021825591,
0.06126977,
0.026089063,
-0.023194985,
0.0056858063,
0.014978624,
0.031679578,
-0.03215957,
-0.030465476,
-0.01788682,
0.017675059,
-0.04232414,
-0.08493063,
0.021035014,
0.047237016,
0.0018423283,
0.026526704,
-0.021980884,
0.062116817,
-0.050964028,
-0.01444216,
-0.01927033,
0.042239435,
-0.0356607,
-0.0037305385,
-0.03283721,
-0.04006535,
0.23491451,
0.07838013,
0.0743143,
-0.0022199703,
0.017251534,
0.035406586,
0.008357535,
-0.05438045,
-0.023350276,
-0.00383289,
0.007037553,
-0.02944902,
-0.003921124,
0.010298686,
-0.029590193,
0.027769042,
-0.02188206,
0.041251216,
-0.018070348,
-0.055255733,
-0.046587612,
0.01966562,
-0.006670499,
0.042352375,
-0.008844588,
-0.011209263,
0.0049199346,
-0.00073851953,
0.0072634327,
-0.039528884,
0.01783035,
-0.03227251,
-0.0044364114,
-0.028079625,
-0.010976324,
-0.009571637,
-0.023971444,
-0.059067447,
0.011392789,
-0.011406907,
-0.00827283,
-0.019143274,
-0.0011814549,
-0.005728159,
-0.041702975,
0.010432802,
0.027303165,
0.051076967,
0.053843986,
-0.064206205,
0.05545338,
-0.021458536,
0.02759963,
-0.06894967,
-0.065505005,
0.0051352256,
-0.054465156,
-0.031284288,
0.010129277,
0.031171348,
0.02956196,
0.049636986,
0.00044359703,
0.014484513,
-0.03543482,
0.015345678,
0.0062999157,
0.0063740327,
-0.014350397,
0.014498631,
0.0039987704,
0.0038293607,
-0.051020496,
0.0047575836,
-0.013764522,
0.018267991,
0.013686876,
0.010249275,
0.011590433,
-0.012973945,
0.01833858,
-0.013326881,
-0.0065222657,
-0.010150453,
0.014978624,
0.07437077,
-0.039754763,
0.042352375,
-0.003956418,
0.040630046,
0.019792678,
0.009049291,
0.044865284,
-0.035999518,
0.019595033
] | from datasets import load_dataset
lj_speech = load_dataset("lj_speech", split="train")
For ASR, you're mainly focused on audio and text so you can remove the other columns:
lj_speech = lj_speech.map(remove_columns=["file", "id", "normalized_text"])
Now take a look at the audio and text columns: |
[
0.02890135,
0.001114153,
0.019425496,
-0.022890106,
-0.0029463978,
-0.059520196,
-0.036659703,
0.0083135795,
-0.0050710617,
0.062836744,
0.011970666,
-0.032750916,
0.046224393,
-0.0051006735,
-0.010460452,
0.02223864,
-0.011304395,
-0.034912594,
-0.014295211,
0.013280999,
0.010127317,
0.0131625505,
-0.07485923,
-0.047853053,
-0.015139154,
0.035949014,
0.018285433,
-0.021039354,
0.03997625,
0.028738482,
-0.013895449,
0.036245134,
0.004101267,
-0.04053888,
0.004253029,
0.010112511,
0.055611406,
0.008750358,
-0.033520825,
-0.049689,
0.014398853,
0.020624785,
0.01387324,
0.0074992487,
-0.01202989,
0.010430841,
-0.013466074,
0.013310611,
-0.03162566,
-0.007003247,
0.002728009,
0.0041123717,
0.010564094,
-0.002250515,
-0.02275685,
0.021883296,
-0.024785277,
-0.0074030096,
-0.03704466,
-0.007143904,
0.008513461,
0.016982503,
-0.011718964,
-0.0701213,
0.021261442,
0.019692006,
-0.01658274,
-0.020032544,
-0.03390578,
-0.036778152,
-0.01606453,
0.013473477,
0.01104529,
-0.0010169884,
-0.06188916,
0.011948457,
0.0005714198,
0.0063962,
-0.010949051,
0.010275377,
0.016493905,
0.008891014,
-0.014324823,
-0.0063480805,
-0.017574744,
-0.03414268,
0.033313543,
-0.021513145,
0.019543946,
-0.0072512478,
-0.035564058,
0.035860177,
-0.060497392,
0.0038828785,
0.01493187,
0.06875915,
-0.020994935,
0.034261126,
0.025259068,
0.005844676,
0.042759784,
0.097660504,
-0.026547192,
0.03819953,
0.016686384,
0.029360335,
0.042759784,
0.014680168,
-0.091086626,
-0.021631593,
0.029493589,
-0.019440303,
0.055996362,
0.015457484,
0.01119335,
0.06425812,
-0.005059957,
0.008061877,
-0.021394698,
-0.023289869,
-0.021365086,
0.016242202,
0.016775219,
-0.036985435,
0.0074696364,
-0.025051784,
-0.028916156,
0.049007922,
-0.00038171766,
-0.008121101,
0.020328663,
-0.0010179138,
0.0017813492,
0.032336347,
-0.039443236,
-0.002331948,
-0.03968013,
0.018418688,
0.0065146484,
-0.008839194,
0.015975695,
0.01362894,
-0.035860177,
0.04764577,
0.013821418,
-0.022431118,
0.04518797,
-0.02893096,
-0.0292715,
-0.019099765,
-0.038466036,
0.0029500993,
-0.013369835,
0.014968885,
-0.020950517,
-0.02056556,
-0.016271815,
0.03286936,
-0.043470472,
-0.019721618,
0.028694065,
-0.027420748,
-0.0028649648,
0.016864056,
0.056736663,
0.037548065,
-0.05392352,
-0.03686699,
-0.007092083,
-0.0067219324,
0.020017738,
-0.006422111,
0.03831798,
-0.0070661725,
0.04885986,
-0.0041123717,
0.033787336,
-0.007802772,
-0.00809149,
0.0013205118,
-0.029730486,
-0.0050044344,
0.022993747,
-0.0061259903,
-0.041930646,
-0.012940461,
0.008476445,
-0.02149834,
-0.013910254,
-0.015161363,
0.012784997,
0.027346717,
-0.034498025,
0.00014216092,
-0.037873797,
0.006892202,
-0.05419003,
-0.025244262,
0.0029945173,
-0.05738813,
-0.045395255,
-0.0017646924,
0.0009276896,
0.0069514257,
0.0191886,
0.011252575,
0.016301427,
0.005470824,
0.0014796766,
0.040450044,
0.0152501995,
-0.012015085,
0.0060963784,
0.011822606,
0.015901664,
-0.018122567,
-0.00096701813,
0.0025151726,
-0.014428466,
-0.0007615846,
0.0376369,
0.02235709,
0.024681633,
0.007891608,
0.039887413,
0.0255848,
-0.005148793,
0.059934765,
0.06449502,
0.03808108,
-0.030470787,
0.066863984,
0.031744104,
0.031063028,
0.010504871,
0.05664783,
-0.013251387,
0.0030611444,
-0.013777001,
0.0068070674,
-0.02993777,
0.011141529,
0.033431992,
0.0030815026,
0.025540384,
-0.0021431712,
0.021764848,
0.025629219,
0.007399308,
0.055522572,
-0.061296917,
0.036718927,
0.023423122,
0.002988965,
-0.014739392,
-0.01478381,
0.011334008,
0.01751552,
-0.02993777,
-0.0021783356,
-0.014161957,
0.011178545,
0.040450044,
-0.0072179344,
0.026265878,
0.03212906,
-0.0021561265,
0.018581554,
-0.037962634,
-0.026265878,
-0.099614896,
-0.041397627,
-0.027776092,
-0.033461604,
-0.035090264,
-0.010630721,
-0.017426684,
-0.04113112,
0.037311167,
-0.040005863,
-0.015457484,
-0.003379474,
-0.02201655,
0.021838877,
0.04376659,
0.012015085,
-0.030530011,
0.028694065,
-0.0021098577,
0.044506893,
-0.056588605,
-0.00087355514,
-0.020906098,
-0.035978626,
-0.0016804831,
-0.0069403215,
0.019662393,
-0.04616517,
0.0023041868,
0.013399447,
-0.03808108,
0.033224706,
-0.026399132,
-0.01136362,
-0.028235078,
0.027124627,
0.0592833,
0.024874112,
0.018848062,
0.05578908,
-0.03926556,
-0.023822885,
0.024474349,
0.02919747,
-0.015738798,
0.032158673,
0.038584486,
0.021113383,
-0.026458357,
-0.00017686252,
-0.06840381,
0.004253029,
-0.026769282,
-0.05087348,
-0.022771657,
0.03168488,
-0.039147113,
-0.04909676,
0.0031203686,
-0.05946097,
-0.04734965,
-0.011548695,
0.0017628416,
0.061000798,
0.03790341,
0.023423122,
-0.037725735,
0.04634284,
0.0020746933,
0.047912277,
0.03559367,
-0.019558752,
0.00900206,
-0.009098299,
0.0287829,
0.020165797,
0.030974193,
-0.0068625896,
0.0083950125,
-0.0042197155,
0.06520571,
-0.015960889,
-0.00084949535,
0.033876173,
-0.0015870201,
0.013155147,
-0.056588605,
0.05380507,
0.027272686,
-0.016345846,
0.040835,
0.005822467,
-0.008084087,
-0.03908789,
-0.014191569,
-0.06425812,
-0.011533889,
0.017352654,
0.024859305,
-0.026265878,
0.021587176,
0.018433494,
-0.02317142,
-0.0064147078,
0.03269169,
-0.025599606,
0.039324787,
0.00555966,
0.06277752,
-0.03831798,
-0.03514949,
-0.02863484,
0.0015786918,
0.05143611,
0.030322727,
0.040983062,
0.003856968,
-0.00017501177,
-0.022890106,
-0.04071655,
0.018018926,
-0.017100953,
-0.013007088,
-0.01507993,
-0.06988441,
-0.035682507,
-0.0012908998,
0.05578908,
0.03864371,
0.021779655,
0.00030352338,
0.005911303,
0.0044603134,
0.028457168,
-0.036067463,
0.0067996643,
-0.03822914,
0.059668258,
0.014080524,
-0.0016721548,
-0.051465724,
0.014361839,
0.0020154694,
-0.0044158953,
0.01748591,
0.063843556,
-0.015190976,
0.012555504,
0.00079073396,
0.03183294,
0.012688758,
0.0054449136,
0.009631315,
0.00034423993,
0.030618846,
-0.03030792,
0.03414268,
-0.034261126,
0.010830603,
0.008676327,
-0.0068736942,
-0.016804831,
-0.0137473885,
0.0048970906,
-0.024311483,
0.035356775,
0.04175297,
-0.027198657,
-0.035534445,
-0.022519955,
0.0011132276,
0.02339351,
-0.0027409643,
0.01547229,
-0.04868219,
0.005685511,
0.027465165,
0.0055707647,
-0.00079443544,
0.0036089672,
-0.0066182907,
-0.04983706,
0.04856374,
-0.007861996,
0.031211087,
0.011674546,
0.044506893,
-0.05247253,
0.05463421,
-0.011311798,
0.004560254,
-0.00082774897,
-0.012222368,
-0.05525606,
-0.03686699,
0.04127918,
0.001935887,
0.017249012,
0.035504833,
-0.020595172,
0.02093571,
0.03283975,
0.0008888238,
-0.024311483,
-0.019484721,
-0.041486464,
-0.0025022172,
-0.006014945,
-0.009623912,
0.0098386,
-0.02696176,
0.03559367,
-0.014591332,
-0.026088206,
-0.024267064,
-0.045809824,
-0.01915899,
0.01989929,
-0.029908158,
0.014458078,
0.014850437,
-0.016168173,
0.031359147,
-0.061593037,
0.037992246,
0.016760413,
-0.0075658755,
-0.013340223,
0.026769282,
-0.008187729,
-0.0013038551,
-0.026724864,
-0.07710975,
0.0030796519,
-0.015487096,
0.027909346,
-0.03997625,
-0.010290183,
0.004508433,
-0.03310626,
-0.04042043,
-0.010216153,
-0.018581554,
-0.008172923,
0.0018581554,
0.012392638,
0.02752439,
-0.029360335,
0.025259068,
0.044862237,
-0.043055903,
-0.07598449,
-0.013362432,
0.021527952,
-0.0038310573,
0.0109934695,
0.0064147078,
-0.043796204,
-0.020387888,
-0.055996362,
0.013984285,
-0.05519684,
-0.0013482731,
-0.054308478,
-0.05084387,
-0.015294618,
0.049067147,
-0.026946954,
-0.035386384,
0.02585131,
-0.02651758,
-0.005815064,
-0.040598106,
-0.00067737536,
0.003281384,
-0.013702971,
-0.03236596,
0.018329851,
-0.038110692,
-0.0045935675,
0.03633397,
-0.0015842441,
-0.004737926,
0.043914653,
-0.05507839,
-0.033343155,
-0.026458357,
-0.004971121,
0.029982189,
0.015516708,
-0.030322727,
0.017323041,
-0.036778152,
0.06188916,
0.009712748,
-0.013680762,
-0.015457484,
-0.011748576,
0.027776092,
-0.044625342,
-0.001001257,
-0.025895728,
0.010645527,
-0.0016194084,
0.03358005,
0.0129108485,
-0.035564058,
-0.022445925,
-0.10761014,
0.055167228,
-0.028916156,
-0.03485337,
-0.02413381,
-0.0075362637,
0.044269998,
-0.026784088,
0.0536274,
0.05451576,
0.03574173,
0.0041123717,
-0.0074844426,
-0.012607325,
0.02595495,
-0.06810769,
0.010689946,
0.01151168,
-0.05712162,
0.007539965,
-0.012659146,
-0.009883017,
-0.01562035,
0.0062666475,
0.0134142535,
-0.013051506,
0.031744104,
-0.0106529305,
-0.011474664,
-0.023674825,
0.01234822,
0.04856374,
0.024829693,
0.013754792,
0.021735236,
0.014806019,
0.021676011,
-0.032514017,
-0.042078707,
0.02856081,
0.07930104,
-0.028812513,
-0.056055587,
-0.0012983028,
-0.0012233473,
-0.043203965,
-0.048830252,
0.0109046325,
-0.027302299,
0.012918252,
-0.011134126,
0.0018803644,
0.020684008,
-0.050814256,
0.027095014,
0.004819359,
-0.013044103,
-0.0042123124,
0.008587491,
-0.0036404298,
-0.024222648,
0.01729343,
0.06372511,
-0.052650202,
-0.04459573,
-0.05173223,
-0.00829137,
-0.01926263,
-0.00011613471,
0.030011801,
-0.018315045,
0.015827633,
-0.005156196,
0.003923595,
0.054130804,
0.013266193,
0.044447668,
0.017160175,
-0.015738798,
-0.028279496,
-0.04616517,
0.015279812,
0.018996123,
-0.0052450323,
-0.017663581,
-0.027790898,
0.0125777135,
0.035978626,
-0.031181475,
-0.089013785,
-0.009897823,
-0.04415155,
-0.0054967348,
0.013051506,
-0.014702377,
0.002659531,
0.011252575,
-0.013532701,
-0.036807764,
-0.009727554,
0.002122813,
-0.014946676,
0.013577119,
-0.044269998,
-0.013140342,
-0.028842125,
-0.013710374,
-0.024814887,
-0.03082613,
0.0038384604,
0.016612353,
-0.015590738,
-0.0025614414,
-0.04050927,
0.04258211,
0.008631909,
0.02223864,
-0.04175297,
-0.050903093,
-0.0017369312,
0.0024781574,
-0.013399447,
0.0359194,
0.04808995,
-0.045809824,
0.003153682,
0.018848062,
-0.018862868,
-0.030041413,
0.034409188,
0.025688443,
-0.01431742,
0.017604357,
0.014361839,
0.0011011977,
-0.040775776,
-0.024489155,
-0.0025244262,
-0.012703564,
0.02368963,
0.0053227637,
-0.0014787512,
0.024207842,
0.028546004,
0.01510214,
-0.036393195,
-0.04909676,
-0.021409504,
-0.024415126,
0.007684324,
0.010912036,
-0.019084958,
-0.0044047907,
0.02629549,
0.034113068,
0.015960889,
-0.01424339,
-0.010090302,
-0.04344086,
0.0029334426,
0.038140304,
-0.00905388,
0.047556933,
0.038436424,
-0.01837427,
0.002757621,
-0.030100636,
-0.03725194,
0.008631909,
-0.045424867,
-0.034912594,
-0.012015085,
-0.04314474,
0.007240143,
-0.04471418,
-0.019647587,
0.003930998,
0.007377099,
0.0050858674,
-0.012177951,
0.0007810175,
0.004560254,
0.04050927,
0.006166707,
-0.040331595,
0.0042493274,
0.025259068,
0.0046750004,
-0.010704752,
0.002728009,
0.03094458,
0.029700873,
-0.022519955,
-0.045424867,
-0.024193035,
0.0008652267,
-0.0010595557,
0.008135907,
0.019055346,
-0.055463348,
0.021276249,
-0.061237693,
-0.020891292,
-0.00305004,
0.028605228,
0.016123755,
-0.02622146,
0.01606453,
0.03621552,
0.03686699,
-0.016775219,
0.0011086006,
0.058927957,
0.027938958,
-0.03035234,
-0.017767223,
0.006388797,
0.007943429,
0.0801894,
0.0019155287,
0.011941054,
0.011815203,
0.03745923,
0.0056633023,
0.040627714,
0.0012020636,
-0.012947864,
0.056677442,
-0.025347905,
0.02056556,
-0.055404123,
-0.019203406,
-0.010615916,
0.03209945,
0.015975695,
-0.008158117,
-0.011652336,
0.018018926,
-0.016138561,
-0.023852497,
-0.030737296,
-0.009387016,
0.02978971,
0.035119876,
0.009846003,
0.012681355,
0.020358276,
-0.0049748225,
0.05170262,
-0.0191886,
0.03399462,
0.040894225,
0.00024082915,
-0.040627714,
0.029182663,
-0.017900476,
-0.00090871943,
0.015664767,
-0.041516077,
-0.03571212,
0.0150873335,
0.010467855,
0.0026262177,
0.019010928,
-0.019321855,
0.007588085,
-0.031418372,
0.04909676,
0.0049193,
0.015946083,
0.01569438,
-0.042641334,
-0.04942249,
0.010941648,
-0.017189788,
0.0109934695,
0.0029593532,
0.100325584,
0.007817578,
0.09262645,
0.03834759,
0.0007055993,
0.0072919643,
0.0400947,
0.013436462,
-0.036363583,
-0.010719557,
0.011904039,
0.056884725,
-0.05128805,
-0.031477597,
0.040331595,
0.03621552,
-0.014480286,
-0.014791213,
0.028146243,
0.03283975,
-0.022371894,
0.001876663,
0.057003174,
0.03831798,
-0.00036182208,
0.007758354,
-0.021587176,
-0.049333654,
0.008024862,
-0.047023915,
0.012437056,
-0.0049859267,
-0.010660334,
-0.03432035,
-0.042641334,
-0.0016527219,
0.014228584,
-0.012103921,
-0.04835646,
0.028856931,
0.016627159,
0.040835,
-0.009113105,
-0.032336347,
0.0010540035,
0.025555188,
0.041368015,
0.022786463,
0.05522645,
0.07337863,
-0.01202989,
0.038673323,
0.026502773,
0.0052043158,
-0.009971853,
0.019692006,
0.010830603,
0.02056556,
-0.058898345,
-0.028916156,
-0.008135907,
0.0701213,
-0.041308794,
0.00408276,
-0.07029898,
-0.018418688,
-0.042256378,
0.006570171,
-0.012318607,
0.039502457,
-0.055285674,
0.0064258124,
-0.0009466598,
-0.06899605,
0.26058593,
0.045395255,
0.07639906,
0.012044696,
0.014398853,
0.036422808,
-0.0004159566,
-0.016938087,
-0.025377516,
-0.03600824,
0.024740858,
0.0006149125,
0.0007384502,
0.028205466,
-0.01439145,
0.009564688,
-0.025244262,
-0.0034720115,
0.018700002,
-0.055759467,
-0.037873797,
0.051347274,
0.024163423,
0.042670947,
-0.007684324,
-0.022816075,
0.044388443,
-0.06325132,
-0.015383454,
-0.021927714,
-0.003116667,
-0.03600824,
0.027850121,
-0.016464293,
-0.02275685,
0.039917026,
-0.003633027,
-0.046224393,
-0.00001448792,
-0.012859028,
0.0021117085,
-0.0018146627,
0.024563186,
0.0066701113,
-0.02841275,
0.007151307,
-0.0043973876,
-0.022268252,
0.036778152,
-0.058809508,
0.012918252,
-0.028664453,
-0.0050784643,
-0.063962005,
-0.060941573,
0.0018674091,
-0.011126723,
0.0033868768,
0.047912277,
0.035356775,
0.028442362,
0.043648142,
0.0056262873,
0.00021526564,
-0.008861402,
0.042493273,
0.023896914,
0.012318607,
-0.012585117,
-0.010179138,
-0.012851625,
-0.020254634,
0.029389948,
-0.009438837,
-0.019469915,
0.033668887,
-0.0042567304,
0.03402423,
0.02514062,
-0.052650202,
0.031122252,
-0.005441212,
-0.061296917,
-0.025229456,
0.02019541,
0.040598106,
-0.040568493,
0.012614728,
-0.034823757,
0.010838006,
0.036482032,
0.017915282,
0.030411564,
0.047853053,
0.020743232
] | dataset[0].keys()
Here is what the image looks like after the transforms are applied. The image has been randomly cropped and it's color properties are different.
import numpy as np
import matplotlib.pyplot as plt
img = dataset[0]["pixel_values"]
plt.imshow(img.permute(1, 2, 0)) |
[
0.03153459,
-0.0034034895,
-0.003471452,
-0.047988664,
-0.0030261187,
-0.054427214,
-0.03837376,
0.004739489,
0.003530472,
0.061695624,
-0.012404941,
-0.01967335,
0.029789029,
-0.007504489,
0.0019870084,
0.017598705,
-0.013771345,
-0.061466698,
-0.049676996,
0.0015497234,
-0.009536209,
0.028873323,
-0.057603568,
-0.04332429,
-0.04375353,
0.0020442398,
0.03682851,
-0.006123777,
0.056802325,
0.011238848,
-0.043639068,
0.022735238,
0.020245666,
-0.018571641,
0.002409091,
-0.012862793,
0.051651485,
-0.031505976,
-0.013735575,
-0.028715936,
0.034310322,
0.020031046,
-0.0050506853,
-0.025267735,
-0.053940747,
0.0058090035,
-0.001007812,
-0.036198962,
-0.002806135,
-0.027614228,
-0.040176556,
0.0049862997,
-0.0071145985,
-0.0040169405,
-0.015209287,
0.008169806,
-0.019701965,
-0.011396235,
-0.017169468,
0.0050900322,
0.014443816,
0.025897281,
-0.027370995,
-0.049562532,
0.02272093,
0.009314436,
0.012061552,
-0.019458732,
0.0027524803,
-0.005369036,
-0.032335833,
0.012641021,
-0.027385302,
-0.0009970812,
-0.022363232,
0.0088279685,
0.004456908,
-0.0005360988,
-0.01791348,
0.008599042,
0.023064319,
0.009579132,
-0.042236894,
0.007153945,
-0.018500103,
-0.06518675,
0.028072082,
0.004485524,
0.0022373963,
-0.015266519,
-0.023293246,
0.028472703,
-0.031563208,
0.029417023,
0.0033695083,
0.032106906,
-0.017241009,
0.042151045,
-0.007318486,
0.00895674,
0.023050012,
0.08962463,
0.0020549707,
0.030819196,
-0.041750424,
0.019043803,
0.0045141396,
0.010058447,
-0.06541567,
-0.03004657,
0.016196532,
-0.008055342,
-0.02292124,
0.011088615,
0.010666532,
0.053625975,
0.0004869154,
-0.007733415,
-0.011653777,
0.0012179592,
0.0015863874,
-0.015481138,
0.011703854,
-0.02618344,
0.010380374,
-0.04919053,
-0.020188434,
0.044411693,
-0.019272728,
-0.017827632,
0.02312155,
0.025654048,
-0.0194015,
0.031792134,
-0.006653169,
-0.0058447733,
-0.009972599,
-0.03079058,
0.017040698,
0.04212243,
0.0027936157,
-0.02264939,
-0.025997438,
0.072741315,
0.03113397,
-0.004828913,
-0.00432456,
-0.033795238,
-0.061409466,
0.0062239324,
-0.056888174,
0.007568874,
0.0005311804,
0.015853142,
0.008870892,
-0.019501654,
-0.019215496,
0.033337384,
-0.016353918,
0.022205846,
0.0007703905,
-0.026913142,
-0.01407181,
0.06701816,
0.032936763,
0.061752856,
-0.062153477,
-0.0051472634,
-0.016711617,
-0.014400892,
0.01579591,
-0.00912128,
0.007164676,
0.013134643,
0.02292124,
0.014644126,
0.054541677,
-0.02000243,
-0.036027268,
0.0019995277,
-0.018600257,
-0.040262405,
-0.006123777,
0.025639739,
-0.026770063,
0.012226093,
-0.012991564,
0.0043567526,
0.0030279073,
-0.005183033,
0.03419586,
0.03322292,
-0.056344472,
-0.008284269,
-0.02692745,
-0.000474396,
-0.027771616,
-0.033022612,
-0.025525277,
-0.004957684,
-0.047244653,
0.02359371,
0.004485524,
0.003923939,
-0.004725181,
0.01688331,
-0.006592361,
0.04355322,
-0.046300333,
0.020045355,
0.00717183,
-0.020574747,
-0.023193091,
0.005369036,
0.042637512,
-0.009114127,
0.008577581,
0.007461565,
0.007747723,
0.01593899,
0.08573288,
0.025196195,
0.008134035,
-0.0014450969,
0.014737127,
-0.022077074,
-0.014522509,
0.03745806,
0.011310387,
0.055228457,
-0.028372547,
0.0019709119,
0.010509145,
0.02034582,
0.036799893,
0.031734902,
0.012583789,
0.007983803,
-0.026011745,
0.0067569013,
0.0110599995,
0.024652496,
0.034424786,
0.00043549642,
0.00756172,
0.024838498,
0.012526558,
0.024309106,
-0.011153,
0.034625094,
-0.05757495,
0.042895056,
-0.0011517851,
-0.021590607,
0.00018164315,
-0.033022612,
0.02543943,
0.01417912,
-0.023879869,
-0.011997166,
-0.0023375517,
0.022034151,
0.029445639,
0.013148951,
0.03325154,
0.07245516,
0.041750424,
-0.02712776,
-0.040548563,
-0.041664578,
-0.03222137,
-0.020231357,
-0.032936763,
-0.0015157422,
-0.0056623477,
-0.025181888,
-0.028730243,
-0.028243776,
-0.008863738,
-0.038946077,
-0.027585613,
-0.014372276,
-0.024437876,
0.035168793,
0.055858005,
-0.012898563,
-0.025868665,
0.030189648,
-0.00705379,
0.02183384,
-0.052338265,
-0.005315381,
-0.034625094,
-0.027170684,
0.007057367,
-0.0026415943,
0.030905044,
-0.030990891,
-0.025167579,
0.005354728,
-0.025739895,
0.020331513,
-0.023350477,
0.012755484,
-0.052624423,
0.017555783,
0.05969252,
0.027585613,
0.027743,
0.008284269,
-0.05508538,
0.014851591,
-0.0020674902,
0.023565095,
-0.009514747,
0.05514261,
0.03805899,
-0.005315381,
0.005887697,
-0.0109026125,
-0.04558494,
0.03356631,
-0.0139215775,
-0.041263957,
-0.01492313,
0.045956943,
-0.006792671,
-0.051937643,
0.018843492,
-0.04083472,
-0.012662483,
-0.0076261056,
-0.0008325404,
0.060608223,
0.047359116,
0.036714047,
-0.067590475,
0.09116988,
0.0032926034,
0.038259298,
0.023092935,
-0.04129257,
0.05540015,
0.019172573,
0.00058930623,
-0.0063205105,
0.03162044,
-0.0046536415,
0.025811434,
-0.01091692,
0.026340827,
0.03365216,
0.001394125,
0.008255653,
-0.015681447,
0.021533376,
-0.06226794,
0.019143958,
0.021390297,
-0.009314436,
0.021418912,
-0.023050012,
0.00027855675,
-0.0023232438,
-0.023007087,
-0.035769727,
0.0019279883,
-0.0015005401,
0.02482419,
-0.061638393,
0.023922794,
0.031992443,
-0.0087492755,
0.018986572,
0.04361045,
-0.022949856,
0.039318085,
0.011939934,
0.07503058,
-0.00321391,
-0.020102587,
0.00708956,
-0.005658771,
0.007690491,
0.007690491,
0.009793751,
0.005508538,
0.01837133,
-0.046157256,
-0.0071253297,
0.0045248703,
-0.012605252,
-0.024580956,
0.017341163,
-0.06822002,
-0.008355808,
0.032507528,
0.029474255,
0.016024837,
-0.018013634,
0.027113453,
-0.02895917,
0.009958291,
0.058175884,
0.017613012,
0.0057946956,
-0.035054334,
0.05339705,
0.019158265,
-0.00012608829,
-0.045728017,
0.012562328,
-0.00970075,
0.010780996,
-0.015309443,
0.053540125,
-0.04197935,
0.002287474,
-0.0360845,
0.0040598637,
-0.03196383,
-0.011811163,
0.022034151,
0.026612677,
0.016182223,
-0.004403253,
-0.004313829,
-0.038001757,
0.030847812,
0.0014781839,
-0.034739558,
-0.029145174,
-0.0029635218,
-0.0025915166,
-0.03920362,
0.021747993,
0.052338265,
-0.03202106,
-0.0062239324,
-0.041464265,
-0.0067175548,
0.011424851,
0.038001757,
-0.020274282,
-0.025754202,
0.018671798,
0.052252416,
0.001176824,
-0.03167767,
0.00045293415,
-0.008234191,
-0.08132605,
0.05093609,
0.0026863064,
0.019043803,
0.0066853617,
0.013542418,
-0.06507228,
0.021147063,
0.024495108,
-0.028572857,
0.008606196,
0.04258028,
-0.0404341,
-0.049419455,
0.0029295406,
0.00057946955,
0.031849366,
0.03425309,
-0.032307215,
0.0025754203,
0.010473376,
0.01091692,
-0.051279478,
-0.018557334,
-0.0495053,
-0.022706622,
0.02088952,
-0.0009926099,
0.031391513,
-0.0076618753,
0.015896067,
0.0014576163,
-0.042980902,
-0.0030976583,
-0.061638393,
0.005397652,
-0.000044376815,
-0.0076189516,
0.0029885606,
0.016353918,
-0.031019507,
0.046472028,
-0.055972468,
0.035082947,
-0.055829387,
-0.009836675,
-0.013148951,
0.053769052,
-0.0046357564,
0.0056623477,
-0.008763583,
-0.031248434,
-0.03133428,
-0.043495987,
-0.011231694,
-0.049619764,
-0.0014647703,
-0.0072397925,
-0.02705622,
-0.03459648,
-0.02930256,
-0.016640076,
0.0085918885,
0.034482017,
-0.006095161,
0.015967606,
-0.012934333,
0.013106028,
0.065358445,
-0.029331176,
-0.046643723,
-0.02604036,
0.027442534,
0.014808667,
0.007890802,
0.04667234,
-0.07079544,
-0.019287037,
-0.054713372,
0.025382198,
-0.06530121,
-0.0039060542,
-0.019759197,
-0.046557877,
-0.009822367,
0.0592919,
0.034710944,
-0.051308095,
0.0012376325,
-0.05568631,
-0.0027417496,
-0.04464062,
-0.008534657,
0.018915031,
0.013199029,
-0.0144724315,
0.004181481,
-0.0037379365,
-0.013513803,
-0.008548965,
0.025611125,
0.02143322,
0.0015273673,
-0.045613553,
-0.04361045,
-0.04652926,
0.032793686,
0.031563208,
0.015581293,
-0.04332429,
0.036799893,
-0.015380982,
0.048618212,
-0.0032335832,
-0.033966932,
-0.03350908,
-0.06123777,
0.049047448,
-0.011811163,
-0.002210569,
-0.029617334,
0.057546336,
0.00039950313,
0.021461835,
-0.011074307,
-0.005969967,
-0.05010623,
-0.047044344,
0.052796114,
-0.020388745,
-0.008627658,
-0.02272093,
0.031391513,
0.046643723,
-0.04549909,
0.04564217,
0.042294126,
0.03059027,
-0.018342715,
0.0031173315,
-0.0034499902,
0.016053453,
-0.011997166,
-0.0015658197,
0.009328744,
-0.005916313,
-0.0019959507,
-0.016597154,
-0.0710816,
-0.01048053,
0.0020871635,
0.03940393,
-0.028401162,
0.006502936,
-0.034281705,
-0.021762302,
-0.018557334,
0.011975705,
0.03785868,
0.020388745,
0.017713169,
0.031048123,
0.024967268,
0.01811379,
-0.03974732,
-0.040405482,
0.021061216,
0.0678194,
-0.0068856725,
-0.081097126,
0.02767146,
0.016997773,
-0.0022034151,
-0.053282585,
0.018571641,
-0.029388407,
0.000945215,
-0.020631978,
-0.0060987384,
-0.0013118547,
-0.03350908,
-0.005708848,
0.03651374,
-0.010466222,
0.008742121,
0.03162044,
-0.012462173,
-0.021075523,
0.015695756,
0.016840387,
-0.043123983,
-0.004177904,
-0.036198962,
-0.011346158,
-0.022935549,
-0.017026389,
0.047673892,
0.022506312,
0.04790282,
0.0076404135,
0.0013207971,
0.07354256,
-0.010294527,
0.024523724,
-0.04564217,
-0.039117772,
-0.042952288,
-0.008978201,
0.02699899,
0.01254802,
0.012898563,
-0.037229132,
-0.0120043205,
0.044096917,
0.040548563,
-0.054970916,
-0.06942189,
0.0018689682,
-0.04890437,
0.015309443,
-0.028873323,
-0.02475265,
-0.043639068,
-0.015323751,
-0.031362895,
-0.008126882,
0.013613958,
-0.013613958,
-0.0039954786,
-0.011954242,
-0.04658649,
-0.028701628,
-0.0061130463,
-0.022821086,
-0.029932108,
-0.046300333,
0.021461835,
0.02299278,
-0.004821759,
-0.014951746,
0.018829184,
0.007883647,
-0.010831073,
0.0024949384,
-0.03837376,
-0.01695485,
-0.035168793,
0.03133428,
-0.019515963,
0.025754202,
0.02754269,
-0.050678547,
0.0045069857,
0.015252211,
-0.015495446,
-0.019616118,
0.009271513,
0.038030375,
-0.026483905,
0.03202106,
0.025210503,
-0.0012465749,
0.0020174126,
-0.028186545,
0.020259973,
-0.0005615847,
0.02522481,
0.015710063,
0.008169806,
0.054885067,
0.030389959,
0.03287953,
-0.010308835,
-0.00029331175,
-0.018915031,
0.013857192,
-0.00534042,
-0.00025038808,
-0.018686105,
0.006932173,
0.049047448,
0.049390838,
-0.008806506,
0.0094289,
0.020474592,
-0.036313426,
-0.0060844305,
0.0051687253,
0.009815213,
0.06701816,
0.026469598,
-0.03222137,
-0.0041063647,
-0.0058483505,
-0.02739961,
0.00522238,
-0.043524604,
-0.06449997,
0.0009335899,
-0.04163596,
-0.0126481755,
-0.017212393,
-0.010308835,
-0.0041349805,
0.00077307323,
0.014665588,
0.013320646,
0.010058447,
0.023092935,
0.013406494,
-0.03113397,
-0.047301885,
0.020660594,
0.023693867,
-0.0064993594,
-0.03579834,
0.0004931751,
0.03908916,
0.017341163,
-0.042007968,
-0.06747601,
-0.041492883,
0.012111629,
0.011882703,
0.004346022,
0.003276507,
-0.04755943,
0.02101829,
-0.054770604,
0.007332794,
0.003938247,
0.03831653,
-0.0015577716,
-0.016182223,
-0.007990957,
0.03702882,
0.021519067,
-0.02252062,
-0.0051615713,
0.042551666,
0.031420127,
0.021561991,
0.009886753,
0.008813661,
-0.0032210639,
0.067762166,
0.039976247,
0.02232031,
0.04212243,
0.05139394,
-0.011052845,
0.03622758,
-0.015166364,
-0.035712495,
0.047931433,
-0.020703517,
0.009235743,
-0.026684215,
-0.0089066615,
-0.023193091,
0.022835393,
-0.006835595,
-0.0071217525,
-0.020803673,
-0.0072362158,
0.00005292802,
-0.014257813,
-0.042179663,
-0.026269287,
0.036027268,
0.04549909,
0.013220491,
0.029002095,
0.0073900255,
0.025553893,
0.061695624,
-0.00619174,
0.033108458,
0.009021125,
0.00034696635,
-0.025453737,
0.003530472,
-0.0072505237,
-0.029202405,
0.0007855926,
-0.024666803,
-0.017985018,
0.030618886,
0.015366674,
0.019859351,
0.027170684,
-0.029960724,
-0.033423234,
-0.061008845,
0.05786111,
-0.021118447,
0.064671665,
0.029731797,
-0.05339705,
-0.037658367,
0.046500646,
-0.01960181,
0.016167916,
-0.0010435818,
0.07800662,
-0.0020710672,
0.07880786,
0.04163596,
0.013964501,
0.030618886,
0.031505976,
-0.014365122,
-0.036456507,
-0.033051226,
0.040748872,
0.027485458,
-0.041120876,
-0.03737221,
0.0453274,
0.03994763,
0.033366002,
-0.019644734,
-0.0011240636,
0.022434773,
0.0014334718,
-0.028315315,
0.0484179,
-0.010129986,
0.0183141,
-0.009013971,
-0.022348925,
-0.024180334,
0.0018439294,
-0.04212243,
0.0625541,
-0.001401279,
-0.012934333,
-0.011339003,
-0.04355322,
-0.014300737,
0.017641628,
-0.026068976,
-0.046300333,
0.012390633,
0.043181214,
0.007697645,
0.014028886,
-0.03287953,
0.0003225982,
0.03290815,
0.04549909,
0.030561654,
0.07949464,
0.0850461,
-0.047301885,
0.018543025,
0.036256194,
0.006266856,
0.018213945,
0.0013887596,
0.04029102,
0.017641628,
-0.031391513,
-0.057946958,
-0.03004657,
0.05210934,
-0.01020868,
-0.019773506,
-0.062153477,
-0.021676455,
-0.0710816,
0.05053547,
0.0014611933,
0.029731797,
-0.01329203,
-0.020674901,
-0.0053869206,
-0.0656446,
0.24197504,
0.05763218,
0.02915948,
0.046443414,
0.030561654,
0.02705622,
0.00086741586,
-0.028429778,
-0.0035161641,
-0.029474255,
0.03865992,
-0.009135588,
-0.008019573,
0.014150504,
-0.010959844,
0.052137952,
-0.049018834,
0.022606468,
0.0092214355,
-0.018299792,
-0.04919053,
0.06261133,
0.0032407371,
0.022005536,
-0.018185329,
0.024666803,
0.017355472,
-0.05468476,
0.0046429103,
-0.024666803,
0.0024412838,
-0.025482353,
0.035025716,
-0.01648269,
0.0014531452,
0.06449997,
0.012190322,
-0.03579834,
-0.0021247217,
-0.018915031,
0.000886195,
-0.032450296,
0.009400284,
0.008041034,
-0.0602076,
0.0484179,
-0.009757982,
-0.032078292,
0.05173733,
-0.05703125,
0.034052778,
-0.033137076,
-0.011088615,
0.009929676,
-0.062325172,
-0.038831614,
-0.025825743,
-0.0150519,
0.019845044,
0.06226794,
0.030876428,
0.014365122,
0.0026433829,
-0.014386584,
-0.0024144566,
0.0047573736,
-0.025167579,
0.055314306,
-0.033480465,
-0.0092214355,
0.057288792,
0.0025968822,
0.025668355,
-0.00077799155,
-0.035626646,
0.023851253,
0.008427347,
0.028458394,
0.01176824,
-0.07955187,
-0.0139215775,
0.018543025,
-0.021132754,
0.0210326,
0.018571641,
0.037229132,
-0.019587502,
0.008398732,
-0.030533038,
0.0024359184,
0.009042587,
0.0082771145,
-0.02984626,
0.026126208,
0.02007397
] | import numpy as np
import matplotlib.pyplot as plt
img = dataset[0]["pixel_values"]
plt.imshow(img.permute(1, 2, 0))
For tasks like object detection, semantic segmentation, instance segmentation, and panoptic segmentation, ImageProcessor
offers post processing methods. These methods convert model's raw outputs into meaningful predictions such as bounding boxes,
or segmentation maps. |
[
0.005672576,
0.014628069,
0.0030996846,
0.019682234,
-0.0088257035,
-0.06865115,
0.0062222737,
-0.023072038,
0.025179213,
0.057229646,
0.0050885216,
0.011925388,
0.033501025,
-0.039333932,
-0.043395586,
-0.019865466,
-0.01609393,
-0.00050245813,
-0.029118713,
0.0052068597,
-0.01978912,
0.009184534,
-0.057535034,
-0.006424593,
-0.035272274,
0.060711067,
-0.0016042396,
0.046449464,
0.04409798,
0.054633852,
0.026186991,
-0.008382891,
-0.02575945,
-0.06107753,
0.035211198,
-0.017101709,
0.061932616,
-0.025591485,
0.0030538766,
-0.044861447,
0.013406518,
-0.027561236,
0.04727401,
-0.02250707,
-0.02549987,
-0.0053366493,
-0.005012175,
-0.0030195205,
0.0031989357,
-0.021881025,
0.013803522,
-0.028034586,
0.024186702,
-0.027545966,
-0.0035692183,
-0.02597322,
-0.0088027995,
-0.00001063936,
-0.020476243,
-0.003605483,
-0.006966656,
0.038692616,
0.034661498,
-0.04825125,
-0.0010812632,
0.007440007,
-0.004989271,
-0.009871656,
-0.04776263,
-0.032707017,
-0.070178084,
0.03618844,
-0.0008889644,
-0.057443418,
-0.036096822,
-0.02203372,
-0.008016426,
-0.0071422537,
-0.045105755,
0.046877004,
0.0070735416,
0.0410441,
0.015391538,
-0.008298909,
-0.012360565,
-0.04177703,
0.013918042,
-0.026034297,
0.009818213,
-0.014024928,
0.007146071,
0.043700974,
-0.04086087,
-0.018674456,
0.05637456,
0.025545677,
-0.0018418693,
0.039517164,
0.0047754995,
0.0037619942,
0.025301367,
0.07292657,
-0.02003343,
0.03337887,
-0.015956504,
0.036951907,
0.010367911,
-0.0050388966,
-0.040921945,
-0.03289025,
0.014086005,
-0.009398305,
0.035027966,
-0.0024870008,
0.0048518465,
0.035547122,
0.0400974,
0.01858284,
-0.019819658,
0.0042677927,
0.0021625264,
0.019132536,
0.004935828,
-0.033256717,
0.006264264,
-0.031790856,
0.033012405,
0.024782209,
-0.008840973,
0.015895428,
0.031073194,
0.023621736,
0.012039908,
-0.0039585875,
0.0018294629,
0.028156742,
-0.00073197606,
-0.014887649,
0.0002760418,
-0.0047945864,
-0.00015138161,
0.01809422,
-0.03197409,
0.0766523,
-0.038020764,
0.009886925,
-0.008650105,
0.026813036,
-0.034661498,
0.009818213,
-0.03018757,
0.0003605006,
-0.0042830617,
-0.014253969,
-0.028996559,
0.011009225,
-0.036707595,
-0.015444981,
-0.007879002,
0.036035743,
-0.016613089,
-0.00020315437,
-0.03021811,
0.012780474,
-0.0069055785,
0.054847624,
-0.008634836,
-0.02670615,
0.03569982,
-0.008100407,
0.0145593565,
0.028736979,
-0.020063968,
0.0053175627,
0.020919055,
0.016506203,
0.010047254,
-0.004183811,
0.04568599,
0.013818791,
0.010742011,
0.016246624,
0.009596807,
-0.020735823,
-0.020231932,
0.012894994,
-0.024675323,
-0.016781053,
-0.020369356,
-0.0046647964,
0.03640221,
0.07653014,
-0.045350067,
0.017697215,
0.010490066,
0.009444113,
-0.026583996,
-0.000972946,
0.0013637467,
-0.06895653,
-0.052312907,
0.035944127,
0.013956216,
0.038967464,
-0.010467162,
-0.003752451,
0.038967464,
0.083187595,
0.004924376,
0.034508806,
0.033226177,
0.011703982,
-0.031821392,
0.00605431,
0.028141472,
-0.014849475,
-0.014383758,
0.029836373,
-0.0068712225,
0.026446572,
0.021957373,
0.05393146,
0.060039215,
0.022827728,
-0.02372862,
-0.018766072,
0.017132247,
0.04473929,
0.018033141,
-0.014734955,
-0.009993811,
0.056008097,
0.02968368,
0.041593798,
0.017376557,
0.043120738,
0.037959687,
0.04455606,
-0.00680251,
0.012917898,
-0.027729198,
0.02844686,
0.029240869,
0.013238555,
0.006390237,
0.023698082,
-0.0106503945,
-0.0008937361,
-0.003966222,
0.048709333,
-0.0029851643,
0.0687733,
0.023835506,
0.057962578,
-0.024079816,
-0.06400925,
0.011413864,
0.019514272,
-0.046632696,
-0.046877004,
0.024812747,
0.039486624,
-0.0017206686,
-0.011474941,
0.024644785,
-0.020476243,
-0.009176899,
0.0050847046,
-0.013185112,
-0.008268371,
-0.066513434,
-0.071094245,
-0.06773498,
0.01928523,
-0.04971711,
-0.015025073,
0.025820527,
-0.0742092,
0.07048347,
-0.0037333642,
-0.0031225889,
-0.016185546,
0.023438502,
0.0146662425,
0.020598397,
-0.0002387034,
-0.03197409,
0.025316637,
0.022003181,
0.05264883,
-0.023056768,
-0.028141472,
-0.017223865,
-0.017452905,
0.026171722,
0.0044777463,
-0.0036016656,
0.023591196,
-0.021438213,
-0.001534573,
-0.027622314,
-0.015895428,
-0.06153561,
-0.009757136,
-0.018216373,
0.027118424,
-0.011597096,
-0.023789698,
0.03637167,
0.031546544,
-0.041929726,
0.016399316,
0.009016571,
-0.0088257035,
-0.025148673,
0.043700974,
0.0016319153,
0.01905619,
-0.03631059,
-0.019712774,
-0.051763207,
-0.033989646,
-0.030126492,
-0.019712774,
0.017544521,
0.047365624,
0.007451459,
-0.061505076,
0.04034171,
-0.077690616,
-0.020720553,
-0.028355245,
0.004878568,
0.014963996,
0.040494405,
-0.0066498164,
-0.005000723,
-0.0030653286,
-0.0008837155,
0.022155875,
0.017681945,
-0.037471067,
-0.018842418,
0.049381185,
-0.02574418,
0.031225888,
0.0052183117,
-0.05170213,
0.0011280257,
-0.00414182,
0.014345585,
-0.0034279765,
0.006970473,
0.0020441886,
0.027011538,
0.034478266,
-0.024324127,
0.012100986,
0.00021818516,
0.04849556,
0.03832615,
0.026293878,
0.050541658,
-0.009734232,
-0.003832615,
-0.054023076,
-0.02204899,
-0.004657162,
0.06590266,
-0.05390092,
0.03563874,
0.009810578,
-0.051274586,
0.0012950345,
0.003676104,
-0.028370513,
0.08007264,
-0.0050198096,
0.060711067,
-0.055030856,
-0.0024144712,
-0.0015870614,
0.009871656,
0.04974765,
0.032248937,
0.062726624,
0.010436623,
-0.011627635,
-0.016674167,
-0.049564417,
-0.006569652,
-0.024675323,
-0.010535874,
-0.040311173,
-0.017529251,
-0.020980133,
0.030615112,
0.002380115,
0.024278319,
0.008405795,
0.037501603,
-0.008963128,
0.0126125105,
0.025469331,
-0.02276665,
0.0032084791,
-0.038051303,
0.053290147,
-0.007848463,
0.021102287,
-0.01038318,
-0.010978687,
-0.055153012,
0.019911274,
0.020567859,
0.016643627,
-0.048678793,
0.013673732,
0.0019201249,
0.0044395733,
-0.019468464,
-0.009253246,
-0.0014782671,
0.013689002,
0.06058891,
-0.048678793,
0.03163816,
-0.025866335,
0.0047754995,
0.01978912,
-0.008443968,
-0.038448308,
-0.0016595911,
-0.054023076,
-0.054084156,
0.009604442,
0.03780699,
0.04281535,
0.035058502,
-0.04086087,
0.014757859,
0.028966019,
-0.03313456,
-0.010337372,
-0.016765783,
-0.025698371,
0.0065314784,
0.036005206,
-0.028813325,
-0.053564996,
0.028034586,
-0.056466177,
0.01583435,
-0.038814772,
-0.0076919515,
-0.0009352497,
-0.019453194,
-0.0037314554,
0.04577761,
0.0088027995,
-0.038784232,
0.026767228,
0.005764192,
-0.036524363,
-0.030767806,
0.039242312,
0.026522918,
-0.024385205,
0.013864599,
0.0033172735,
0.027286388,
0.01681159,
0.013353075,
-0.011887214,
0.009230342,
-0.011520749,
-0.007531623,
-0.04086087,
-0.0076575954,
0.006936117,
-0.020964863,
0.05988652,
-0.02324,
-0.016429856,
-0.007157523,
-0.049839266,
-0.036463287,
-0.01731548,
-0.025469331,
0.03359264,
0.00073961075,
0.0004475838,
0.009795309,
-0.06394818,
-0.016765783,
-0.010039619,
-0.024415743,
-0.02078163,
0.04354828,
0.018521762,
0.024415743,
-0.016216084,
-0.03612736,
0.047579397,
-0.016155006,
-0.0023533937,
-0.032737557,
-0.013589751,
0.02841632,
-0.015551866,
0.0034566065,
-0.017422365,
0.008512681,
0.010803089,
-0.032859713,
0.016032852,
0.031577084,
-0.0185523,
-0.050541658,
0.09357078,
0.0033268167,
-0.053045835,
-0.042662654,
0.031134272,
0.0037791722,
0.032096244,
0.018750802,
-0.03582197,
-0.019025652,
-0.072193645,
0.0077453945,
-0.027851354,
-0.015727464,
-0.032096244,
-0.016445125,
-0.0247364,
0.035608202,
-0.010085427,
-0.023392694,
0.018231643,
-0.03044715,
-0.0087417215,
-0.022155875,
-0.01681159,
-0.035974666,
0.007543075,
-0.035608202,
0.04089141,
0.011765059,
0.004061656,
0.0107191065,
-0.012169698,
0.0020041065,
0.020796899,
-0.0069322996,
-0.02226276,
0.0042563407,
0.06584158,
0.017208595,
-0.014032563,
-0.028233089,
0.036524363,
-0.05145782,
0.013887504,
-0.0316687,
-0.005985598,
-0.01298661,
-0.016964285,
0.06156615,
-0.062146388,
-0.038692616,
-0.02325527,
0.044678215,
0.04431175,
-0.001248272,
-0.040921945,
0.009673154,
-0.05365661,
-0.047426704,
0.018613378,
-0.003920414,
-0.04183811,
0.013933312,
-0.0028019317,
0.058756586,
-0.055030856,
0.018246913,
0.06480326,
0.0045999014,
-0.016139738,
-0.057229646,
0.021178635,
0.009970907,
-0.043395586,
-0.010184678,
-0.023911854,
-0.0011862402,
-0.014872379,
-0.014750224,
-0.041593798,
-0.006959021,
-0.020338818,
0.08434807,
-0.008550854,
0.003366899,
0.027408542,
-0.058756586,
-0.034478266,
0.017407097,
0.009864021,
0.007474363,
0.03460042,
-0.00790954,
0.00927615,
0.0030195205,
-0.032981865,
-0.0410441,
0.0051534167,
0.069384076,
-0.023117846,
-0.0509692,
0.02574418,
0.016704705,
-0.048098557,
-0.021316059,
-0.03618844,
-0.030813614,
-0.00550843,
-0.014475375,
0.021178635,
0.021743601,
-0.022827728,
-0.00749345,
0.032584865,
-0.0021300789,
0.005454987,
0.011001591,
0.019392116,
-0.019896006,
0.010322103,
0.060466755,
-0.05316799,
-0.004867116,
-0.035180658,
-0.033073485,
-0.02695046,
-0.008512681,
0.068406835,
-0.03046242,
0.037196215,
0.028752249,
-0.01781937,
0.045319527,
0.007695769,
0.018674456,
0.02597322,
-0.006791058,
-0.035577662,
-0.028614823,
0.033531565,
0.01114665,
0.004076925,
-0.029821105,
-0.006207004,
0.0038383412,
0.031851932,
0.025469331,
-0.0341118,
-0.025072327,
-0.04452552,
-0.01730021,
-0.021361867,
-0.03218786,
0.0023553022,
0.013994389,
-0.018002603,
-0.052129675,
-0.005764192,
0.033073485,
-0.007783568,
0.018659186,
-0.038998004,
0.012085716,
-0.06755175,
0.0026587814,
-0.0007324532,
-0.016857399,
-0.014521183,
0.001738801,
-0.005718384,
-0.022736112,
-0.0068406835,
0.04455606,
-0.0042792447,
0.011520749,
0.018995112,
0.00026816854,
0.017468173,
-0.00009614939,
-0.019193614,
0.02075109,
0.023133116,
-0.0005477891,
-0.004065473,
0.022812458,
-0.029286677,
-0.008978397,
0.013146939,
0.035974666,
-0.011955927,
0.007615605,
-0.017437635,
0.04776263,
-0.042906966,
-0.03267648,
0.0021625264,
-0.0126125105,
0.015269383,
0.002748489,
0.014154718,
0.030615112,
0.030599844,
0.04079979,
-0.0033478122,
0.027286388,
0.015971774,
0.009864021,
0.011642904,
0.0018065588,
0.017544521,
-0.045350067,
0.022491802,
0.03808184,
-0.03664652,
0.022445993,
-0.0515189,
-0.031103732,
-0.04993088,
0.009444113,
0.013887504,
0.019086728,
0.0170559,
-0.057993118,
-0.013521039,
-0.020796899,
-0.010459527,
0.009100553,
-0.077507384,
-0.029622603,
0.031821392,
-0.013208016,
0.01682686,
-0.024186702,
-0.024828017,
-0.022186413,
0.021942103,
-0.010375545,
-0.015910696,
0.011971196,
-0.012093351,
0.0419908,
-0.030309726,
0.0037619942,
-0.011902484,
0.039517164,
-0.018292721,
-0.019575348,
0.03936447,
0.06620804,
0.024293588,
0.016185546,
-0.05570271,
-0.018017871,
0.016903207,
-0.019269962,
-0.021163365,
-0.005496978,
0.012284218,
0.02101067,
-0.00581,
0.0034451545,
0.013162208,
0.029821105,
0.018979844,
-0.009718962,
-0.0046724314,
0.01905619,
0.022552878,
0.0021377136,
0.0020060153,
0.018460684,
0.010574047,
-0.021514561,
0.017407097,
-0.013689002,
0.019361578,
0.03936447,
0.023560658,
-0.022125335,
0.06290986,
0.015666386,
-0.017636137,
0.017147517,
0.0376543,
0.0059359726,
0.0009500419,
-0.020873247,
-0.028523207,
-0.014299777,
-0.01002435,
-0.029225599,
0.0020728188,
-0.011787964,
-0.038784232,
-0.0005363371,
-0.033989646,
0.040463865,
-0.02895075,
-0.059214666,
-0.027912432,
-0.013887504,
0.034692038,
0.03536389,
0.031088464,
0.013299633,
0.04993088,
0.0200487,
0.035516586,
0.02177414,
0.004351774,
0.02895075,
-0.024873825,
0.025347175,
0.0019850198,
0.006390237,
-0.008123312,
-0.022598688,
-0.01484184,
0.03814292,
0.026629804,
0.017452905,
0.01806368,
-0.04131895,
0.031363312,
-0.032829173,
0.033226177,
-0.032279477,
-0.00024204358,
0.0044739293,
-0.018414875,
-0.054297924,
0.05295422,
-0.04501414,
0.016704705,
0.008344717,
0.07262118,
0.004546459,
0.07243795,
-0.017987333,
-0.006142109,
-0.021422945,
0.042876426,
-0.009039475,
-0.025469331,
-0.012322392,
-0.022736112,
-0.0035902136,
-0.033012405,
-0.013139304,
-0.02102594,
0.024186702,
-0.032707017,
-0.00012477949,
-0.030050145,
-0.002462188,
-0.04782371,
-0.014681512,
0.04993088,
0.011406229,
0.028645363,
-0.003832615,
-0.023316348,
-0.015925966,
-0.0016653171,
-0.025255559,
0.024308857,
-0.035089042,
-0.061230224,
0.007012464,
-0.0790954,
-0.044433903,
0.02227803,
0.009360132,
-0.03246271,
0.03243217,
0.0012301396,
0.026874114,
0.036768675,
-0.038417768,
-0.0049778186,
0.023652274,
0.022873536,
0.025683101,
0.047548857,
0.029332485,
-0.0301723,
0.029821105,
-0.006680355,
0.021300789,
-0.007760664,
-0.013765349,
-0.025118135,
0.019651696,
-0.049350645,
-0.052251827,
0.016765783,
0.021590907,
0.023682812,
-0.026981,
-0.07616368,
-0.0023304895,
-0.042906966,
-0.006936117,
-0.031607624,
0.029927991,
-0.009321958,
0.021422945,
-0.005027444,
-0.073048726,
0.28095666,
0.06251285,
0.06596373,
0.009772405,
0.0011461581,
0.04623569,
0.0331651,
-0.05292368,
-0.024828017,
0.017941525,
0.0015946962,
-0.017666675,
0.019132536,
0.043181814,
0.003038607,
0.022980422,
-0.046815928,
-0.020690015,
0.004668614,
-0.053778768,
-0.04574707,
-0.007825559,
-0.015528962,
0.018766072,
0.02178941,
-0.005485526,
0.02375916,
-0.034753114,
-0.01977385,
-0.02348431,
0.0038994187,
-0.043975823,
0.031546544,
-0.0031302236,
-0.012223141,
-0.006825414,
-0.028889673,
-0.033501025,
0.0072682262,
0.030065415,
-0.022812458,
-0.02575945,
0.009718962,
0.009115822,
-0.0440369,
0.009299054,
0.012398738,
0.055275165,
0.04409798,
-0.061230224,
0.039486624,
-0.004218167,
0.02846213,
-0.06504757,
-0.049839266,
-0.017269673,
-0.0035081408,
-0.045838688,
0.007596518,
0.017269673,
-0.005180138,
0.016628359,
0.033256717,
0.020888515,
-0.06284878,
0.039517164,
0.00013289135,
0.015315191,
-0.024644785,
0.027316926,
-0.012833917,
0.011955927,
-0.034264494,
0.0075774314,
0.016643627,
0.054297924,
-0.014956361,
0.030019607,
-0.0077453945,
-0.036707595,
-0.0029679863,
0.0050999736,
-0.0014849475,
-0.00050484395,
0.024598977,
0.06626912,
-0.042571038,
-0.02201845,
-0.02820255,
0.016857399,
0.030798346,
0.037990224,
-0.0016462303,
-0.014895283,
-0.020705283
] |
lj_speech[0]["audio"]
{'array': array([-7.3242188e-04, -7.6293945e-04, -6.4086914e-04, ,
7.3242188e-04, 2.1362305e-04, 6.1035156e-05], dtype=float32),
'path': '/root/.cache/huggingface/datasets/downloads/extracted/917ece08c95cf0c4115e45294e3cd0dee724a1165b7fc11798369308a465bd26/LJSpeech-1.1/wavs/LJ001-0001.wav',
'sampling_rate': 22050}
lj_speech[0]["text"]
'Printing, in the only sense with which we are at present concerned, differs from most if not from all the arts and crafts represented in the Exhibition' |
[
0.02149738,
0.050280064,
-0.008640542,
0.0025455537,
-0.024580728,
-0.03983971,
-0.002896912,
-0.012476799,
0.0058870413,
0.025570268,
0.008518642,
-0.027936555,
0.038405593,
-0.045518804,
0.014728359,
0.038176134,
-0.05770878,
-0.041044366,
-0.03820482,
-0.037172254,
-0.014929135,
-0.009020582,
-0.060691737,
-0.016449297,
-0.044400193,
0.015388052,
-0.0027893533,
0.00076904404,
0.07440188,
0.056389395,
0.0069375304,
-0.017553566,
-0.027520662,
-0.012828157,
-0.009407793,
-0.054725822,
0.0063638845,
-0.02511135,
-0.047038965,
-0.039036606,
0.025053985,
-0.00887,
0.01673612,
-0.0209811,
-0.04712501,
0.02323266,
-0.01796946,
-0.01738147,
-0.032841228,
-0.010834738,
-0.014599289,
0.0062634964,
0.0034203639,
-0.008396742,
0.0072996444,
-0.03860637,
-0.030030364,
-0.0060268673,
-0.0294854,
0.026860971,
0.0043561235,
0.024681116,
-0.006794119,
-0.067690216,
-0.0018267038,
0.024838869,
-0.01599038,
-0.01874388,
-0.0332141,
-0.017711317,
-0.05030875,
0.032812547,
-0.0202497,
-0.03344356,
0.00024223095,
0.012161293,
-0.027334228,
-0.037917994,
0.01910241,
0.01361692,
-0.011594818,
0.045432758,
0.04273662,
-0.0057687266,
-0.013796184,
-0.037917994,
0.029428035,
-0.044629652,
-0.012570016,
-0.012096758,
-0.03160789,
0.053148296,
-0.030202458,
-0.028897414,
0.043654453,
0.020321406,
0.012211488,
0.05033743,
0.024810186,
0.0017630649,
0.008805465,
0.083752304,
-0.02012063,
0.030173775,
0.0053241514,
-0.011386871,
0.00054003386,
-0.033615652,
-0.053693257,
-0.032410994,
0.013208197,
-0.010813226,
0.05033743,
-0.028008262,
0.03424666,
0.01611945,
0.02423654,
0.047182377,
-0.029571448,
-0.007658173,
0.015258982,
0.00961574,
-0.016764803,
-0.046694778,
0.025771042,
-0.064248346,
-0.0007170574,
0.0013310378,
-0.0020095534,
0.0077227084,
0.008683565,
0.0085401535,
0.03794668,
0.06287159,
0.013731649,
-0.0027893533,
-0.022056686,
-0.015201617,
0.0058225063,
-0.02273072,
0.014176224,
0.011286483,
-0.020550866,
0.06728867,
-0.0017209378,
-0.012950056,
0.03347224,
-0.04233507,
-0.010798885,
0.022831108,
-0.06442044,
0.016205497,
-0.010088998,
-0.0009348636,
-0.026746241,
0.000838509,
-0.027664075,
0.0033432802,
-0.0392087,
0.035365272,
-0.00032939823,
-0.018213257,
-0.10428883,
0.016305886,
-0.0026136742,
0.029212918,
-0.016922554,
-0.026531124,
0.038893193,
-0.042880032,
-0.017696977,
0.019446597,
-0.023548165,
0.015158594,
0.0071060387,
-0.003504618,
0.012942886,
0.0005610974,
0.026990041,
-0.015933016,
-0.031435795,
-0.015316346,
0.014506071,
-0.016664414,
-0.029514082,
-0.020794665,
-0.005306225,
0.013186686,
-0.014420024,
0.044945158,
0.0372583,
0.073656134,
-0.023290025,
0.011315166,
-0.044572286,
0.010533573,
-0.029657494,
-0.022071026,
-0.008260502,
-0.025971819,
-0.0014269443,
0.025369491,
-0.00974481,
0.036541246,
-0.023648553,
0.015402393,
0.033644333,
0.050251383,
-0.025168715,
0.041933518,
0.024265222,
0.03226758,
-0.03846296,
0.011042684,
0.032927275,
0.018012483,
-0.02548422,
0.017281083,
0.05656149,
0.014412854,
0.05845452,
0.0057794824,
0.0745166,
0.014900452,
0.008654883,
0.0022945837,
0.004908258,
0.054955278,
0.03900792,
0.027764462,
-0.032181535,
0.025254762,
0.024179175,
0.020149313,
0.00032917416,
0.014233589,
0.04247848,
0.039524205,
0.033558287,
-0.012154123,
-0.044773065,
0.023376072,
0.051140536,
0.03570946,
-0.024322586,
0.0069375304,
-0.008454107,
0.003449046,
-0.018801246,
0.010153533,
-0.038921874,
0.042765304,
-0.0005714051,
0.023160955,
-0.040011805,
-0.07187784,
0.030345868,
0.060404915,
-0.018198917,
-0.028266402,
0.028725319,
0.039065287,
0.0009115592,
-0.016779143,
0.041044366,
-0.0032016614,
-0.0023501557,
0.039065287,
0.008102749,
-0.040987,
-0.028381132,
-0.06510881,
-0.05532815,
0.008310695,
-0.03473426,
-0.021583429,
0.006819216,
-0.052976202,
0.038061406,
0.020307066,
-0.022056686,
-0.028725319,
-0.0014529376,
0.0237346,
0.040011805,
0.00068971957,
-0.012620211,
0.025684996,
0.032525722,
0.038577687,
0.017180696,
-0.025555925,
0.03797536,
-0.021181876,
0.016434956,
-0.01885861,
-0.031866033,
0.044658333,
-0.026688876,
0.034131933,
0.008719418,
0.05062425,
-0.020895053,
0.0030492865,
-0.058024283,
0.011429895,
0.00048715086,
-0.026072208,
0.041187778,
0.029542765,
-0.026502442,
0.020522183,
0.014957817,
0.022558626,
-0.0067546805,
0.021382652,
0.053922717,
0.030374551,
-0.05435295,
-0.039524205,
-0.062125854,
-0.040556766,
-0.0674034,
-0.0103256265,
0.0019073727,
0.046436638,
-0.0372583,
-0.035393953,
-0.007579297,
-0.049419597,
-0.031521842,
-0.056934357,
-0.0019575667,
0.042822666,
0.073656134,
0.0034884843,
-0.04537539,
0.033185415,
-0.0029076678,
0.0372583,
0.030575328,
0.028969118,
0.028754001,
0.039151333,
-0.013401803,
-0.0047756024,
0.03309937,
-0.04285135,
0.020923736,
0.015015182,
0.02187025,
-0.013839208,
0.022773743,
0.03622574,
0.01599038,
0.017768683,
-0.01634891,
0.043797866,
0.05730723,
0.023992741,
0.048243623,
0.0152159585,
0.023519482,
0.037803266,
-0.01049772,
-0.030431917,
-0.007220768,
0.01049055,
0.03748776,
-0.056245983,
0.025771042,
0.04170406,
-0.05111185,
0.014728359,
-0.010461868,
-0.022042345,
0.052029684,
-0.009207017,
0.025742361,
-0.024666775,
0.0007345357,
0.024150493,
0.023017542,
0.06281423,
0.040556766,
0.032038126,
-0.011594818,
-0.000042659314,
-0.021554746,
-0.00799519,
-0.0107343495,
0.019045044,
0.013158003,
-0.023290025,
-0.01950396,
-0.037086207,
0.0029399353,
-0.010727178,
0.025197398,
-0.021210559,
0.044256784,
0.0005037328,
0.030001681,
0.023318706,
-0.011207608,
-0.00029713067,
-0.027119111,
0.030690057,
-0.0086979065,
0.024552045,
0.020794665,
0.0057615563,
-0.028065627,
0.0021852325,
-0.016062086,
0.028653614,
-0.031894714,
0.020292724,
-0.041331187,
0.034045886,
-0.037344348,
-0.008726588,
-0.032783866,
0.028510202,
0.045289345,
-0.0359676,
0.0030887248,
-0.05033743,
0.025312126,
0.034877673,
-0.018586127,
-0.0442281,
0.007937825,
-0.018686516,
-0.021798545,
0.04735447,
0.057536688,
-0.0007022681,
-0.010146362,
-0.04247848,
0.0093576,
0.029212918,
-0.009644422,
-0.013315756,
0.0058727,
-0.028969118,
-0.018084187,
-0.010777373,
0.008776783,
-0.016148133,
0.026631512,
-0.04896068,
0.030202458,
-0.021626452,
-0.0349924,
-0.026774924,
0.0060627204,
0.0017603759,
0.003796819,
0.01924582,
-0.044801746,
-0.029399354,
0.013495021,
-0.025297785,
-0.071189456,
-0.026860971,
0.034533486,
-0.0069805537,
0.0060412087,
0.017166354,
0.028452838,
0.049247503,
0.007586467,
-0.009156823,
0.003259026,
-0.008826977,
0.014233589,
-0.0070128213,
-0.011974859,
0.01675046,
-0.04597772,
0.0029506912,
-0.0027785974,
-0.0021009783,
0.011917494,
-0.061380114,
-0.01999156,
-0.0098882215,
-0.030288504,
0.04247848,
0.0327265,
-0.009070776,
-0.012225829,
-0.039552886,
0.00034329123,
-0.012785134,
-0.022300486,
0.011953346,
0.06797704,
0.008934535,
0.046522684,
-0.02898346,
-0.022085369,
0.024265222,
-0.0377459,
0.0021941958,
0.012978739,
-0.047928117,
0.011049855,
-0.020565206,
-0.006109329,
-0.0070988685,
-0.014126031,
0.017553566,
-0.0067009013,
-0.043826547,
0.020264043,
-0.045776945,
-0.014032814,
0.045404073,
-0.0016850849,
-0.03444744,
-0.028883072,
0.032382313,
-0.029069507,
0.018442716,
0.025641972,
-0.021454357,
-0.054209538,
-0.041531965,
0.035049766,
-0.025426855,
-0.0022354263,
-0.01675046,
-0.03869242,
-0.037889313,
0.041388553,
0.009658763,
-0.027004382,
0.030087728,
-0.0075291027,
0.002031065,
-0.07153364,
-0.0170086,
-0.015230299,
0.038835827,
-0.002886156,
-0.0207373,
0.010017292,
-0.011788424,
0.006837142,
-0.022687696,
0.044170737,
0.014972159,
-0.04660873,
-0.055528924,
0.0052632014,
0.0089919,
0.0037179426,
0.01924582,
-0.003459802,
0.05521342,
0.0041517625,
0.040671498,
-0.041187778,
-0.013753161,
-0.015904333,
-0.028581908,
0.05661885,
-0.01898768,
-0.017926436,
0.002554517,
0.030087728,
0.037889313,
0.0312637,
-0.024422975,
0.016951237,
-0.03395984,
-0.08380967,
0.017137673,
-0.0013839208,
-0.010648303,
-0.010906443,
0.02410747,
0.03576682,
-0.04222034,
0.022386532,
0.041130412,
-0.009967098,
-0.0008053451,
-0.064649895,
0.033902474,
0.0076079792,
-0.021024123,
-0.017195037,
-0.009393452,
0.010282603,
0.004800699,
-0.01675046,
-0.035164494,
-0.01660705,
-0.01848574,
0.021583429,
-0.011530283,
0.020966759,
-0.00800236,
-0.037373032,
-0.05811033,
-0.014011302,
0.06006073,
0.038118772,
0.0061882054,
0.028051285,
-0.008282013,
0.06310105,
-0.043424997,
-0.04835835,
-0.014197737,
0.018657833,
-0.027291205,
-0.049276184,
0.015187276,
0.020708617,
-0.055270784,
-0.03324278,
-0.011207608,
-0.005958747,
-0.03086215,
-0.024595069,
0.0024846038,
0.016822167,
-0.0059408206,
-0.01610511,
0.009063605,
-0.031034244,
-0.0033092198,
0.011193266,
-0.012075246,
-0.019919856,
-0.0076008085,
0.0337017,
-0.04236375,
0.0013579275,
-0.021956299,
-0.025097009,
-0.04772734,
-0.012347728,
0.0452033,
-0.017940776,
0.04061413,
0.034935035,
-0.00050462916,
0.046895552,
0.028352449,
0.025269102,
-0.006632781,
-0.013789014,
-0.05920026,
0.00048625455,
0.017410154,
0.006220473,
0.022472579,
-0.046494003,
0.022816766,
0.005345663,
0.04460097,
-0.0007385691,
-0.058913436,
0.029714858,
-0.026201278,
-0.0044134883,
0.0057758973,
0.0043131,
0.024509022,
0.06338787,
0.0012207902,
-0.03573814,
0.019962879,
-0.021884592,
-0.026574148,
-0.04434283,
-0.037516445,
-0.0018338743,
-0.028581908,
-0.0237346,
0.006345958,
-0.028209038,
0.011781253,
0.01511557,
0.0026835874,
-0.006697316,
0.01697992,
0.00973764,
0.0032446848,
0.021640792,
0.0045425585,
0.042507164,
0.0072996444,
-0.0053313216,
-0.02898346,
0.04732579,
0.019532643,
-0.01723806,
-0.018198917,
0.024408635,
0.027090428,
-0.019546986,
0.005424539,
0.025885772,
0.0029058752,
-0.00068792695,
-0.026990041,
0.020708617,
-0.052918836,
-0.025914455,
-0.018385353,
-0.024379952,
-0.0014000545,
0.053750623,
0.022673355,
0.05134131,
-0.0017612722,
0.029514082,
0.008353719,
0.025986161,
0.010275433,
0.021396993,
0.026588488,
-0.027664075,
-0.020651253,
-0.037315667,
0.034418754,
0.032869913,
-0.015961697,
0.028295085,
-0.025340809,
-0.0038541835,
-0.004772017,
-0.016420614,
0.051283944,
0.03522186,
0.010347138,
-0.047526564,
-0.033529606,
-0.043539725,
-0.03146448,
-0.0102969445,
-0.07233675,
-0.024853209,
0.04709633,
-0.035623413,
0.0043166857,
-0.0038505984,
0.005173569,
-0.040413354,
0.0108275665,
-0.035336588,
-0.008805465,
0.01111439,
0.0036820897,
0.007131136,
-0.016019063,
-0.025943136,
0.0108275665,
0.042134292,
-0.014097349,
0.020938076,
0.026043525,
0.04135987,
0.031005561,
-0.0071813297,
-0.04887463,
-0.0057006064,
0.009257211,
0.01997722,
-0.03309937,
-0.0018661419,
-0.0040155216,
0.005474733,
-0.017711317,
-0.0017935399,
0.030087728,
0.004660873,
-0.008913023,
0.014011302,
0.011688036,
0.034418754,
0.010935125,
-0.024537705,
-0.010763031,
0.014757041,
-0.02172684,
-0.019188456,
0.022917155,
-0.004309515,
0.042880032,
0.045031205,
0.000095962445,
-0.0037502102,
0.03545132,
-0.017539224,
-0.013172344,
0.010963808,
0.034877673,
0.015660534,
0.0009913319,
0.0009402415,
-0.03221022,
-0.012132611,
-0.014111689,
-0.0066148546,
0.008382401,
-0.007507591,
-0.013193856,
-0.015760921,
-0.035135813,
0.01611945,
0.026961358,
-0.07084527,
0.012570016,
0.026545465,
0.033128053,
0.0150295235,
0.051771544,
-0.025900112,
0.053980082,
0.013172344,
0.025469879,
0.01987683,
0.0012575394,
0.017065967,
0.010382991,
0.025928795,
-0.02085203,
-0.021411333,
-0.037659854,
-0.016908213,
-0.044285465,
0.013244051,
0.029886952,
0.001061245,
-0.01274211,
-0.016578367,
0.00014733289,
-0.03200944,
0.020550866,
-0.081859276,
0.0017352789,
0.008848488,
-0.016678754,
-0.024336929,
0.058196377,
-0.023806306,
0.0119892,
0.00071974634,
0.07032899,
0.028926095,
0.077671655,
-0.0020687105,
-0.0077370494,
-0.035135813,
0.0345048,
-0.03995444,
-0.05808165,
-0.010010121,
-0.0133659495,
-0.030661374,
-0.04445756,
-0.04832967,
-0.015689217,
0.012462458,
0.0030277749,
-0.04448624,
0.046379272,
-0.029829588,
-0.043166857,
0.0052560307,
0.07870422,
0.033902474,
-0.03476294,
-0.009823686,
0.016521003,
-0.034791626,
-0.010712838,
-0.032898594,
0.0469816,
-0.024552045,
-0.0729104,
0.033414874,
-0.0414746,
-0.03209549,
0.029313307,
0.012383581,
-0.009013412,
0.031894714,
0.012577187,
0.026072208,
0.04322422,
-0.046494003,
0.0023662895,
0.03843428,
0.031292386,
0.02211405,
0.07704065,
0.026129572,
-0.021712499,
0.0062527405,
0.03651256,
-0.001573941,
-0.025254762,
-0.01786907,
-0.015201617,
0.027319888,
-0.06556773,
-0.07055845,
0.04070018,
0.023046225,
0.0053671747,
-0.0064965403,
-0.052746743,
0.046924237,
-0.068665415,
-0.047899436,
-0.021081487,
0.035881553,
-0.019948537,
-0.0042880033,
-0.013760331,
-0.031550527,
0.24506153,
0.03525054,
0.056733582,
0.011444236,
-0.002342985,
0.049735103,
0.047928117,
-0.029298965,
-0.015273322,
-0.0034938622,
-0.026803605,
-0.014570606,
0.034189295,
-0.0028879486,
-0.031837348,
0.031665254,
-0.01634891,
0.02111017,
-0.021569086,
-0.04534671,
-0.05412349,
0.035279226,
-0.01524464,
0.05733591,
0.038835827,
-0.004671629,
-0.017840387,
-0.028969118,
0.023777623,
-0.0038326718,
0.034131933,
-0.032152854,
0.04812889,
-0.010418844,
0.0050301575,
0.00823899,
-0.0089919,
-0.0372583,
-0.008719418,
0.008468448,
-0.0066650487,
-0.017682636,
-0.014398512,
0.00026755204,
-0.07199256,
0.021526063,
0.016320227,
0.0447157,
0.039151333,
-0.04787075,
0.033070687,
-0.04508857,
0.035164494,
-0.034189295,
-0.034676895,
-0.012075246,
-0.07055845,
-0.03794668,
-0.02323266,
0.03160789,
0.018069847,
0.039925758,
0.015129911,
0.0044744383,
-0.01971908,
-0.0058762855,
-0.014556265,
0.029026484,
-0.046666097,
0.021038463,
0.011716718,
0.0089919,
-0.0020436137,
-0.022443896,
0.01074869,
0.05283279,
-0.0014421816,
0.039811026,
0.021841569,
-0.06338787,
-0.0046788,
-0.020134972,
0.041302506,
-0.040987,
0.025670655,
0.03651256,
-0.043654453,
0.015947357,
-0.013071956,
0.04270794,
0.020464819,
0.032927275,
0.0377459,
-0.017080307,
-0.0019037874
] | Remember you should always resample your audio dataset's sampling rate to match the sampling rate of the dataset used to pretrain a model!
lj_speech = lj_speech.cast_column("audio", Audio(sampling_rate=16_000))
Load a processor with [AutoProcessor.from_pretrained]:
from transformers import AutoProcessor
processor = AutoProcessor.from_pretrained("facebook/wav2vec2-base-960h") |
[
-0.00040875748,
0.028110147,
-0.00417942,
-0.0009902933,
-0.016004741,
-0.01792531,
0.00014015516,
-0.020224174,
-0.0071512097,
0.028168345,
-0.013429433,
-0.03422105,
0.035181332,
-0.026960716,
0.009020855,
0.051651668,
-0.045540765,
-0.061574608,
-0.061574608,
-0.050400387,
-0.016281188,
-0.007864148,
-0.065997735,
-0.029419625,
-0.045482565,
-0.016019292,
-0.016324837,
-0.010657703,
0.06366977,
0.060934417,
-0.009486447,
0.012287277,
-0.020878913,
-0.0087880585,
-0.026029529,
-0.06262219,
0.002793555,
-0.022566685,
-0.040011853,
-0.014047799,
0.027673654,
0.016935926,
-0.009224551,
-0.015931994,
-0.051069677,
-0.0027335372,
-0.009799267,
-0.025651235,
-0.028139247,
-0.013218462,
-0.015975643,
0.0071730344,
0.024865549,
0.008191518,
0.014040523,
-0.053601336,
-0.035908822,
-0.016237538,
-0.036781806,
0.02412351,
-0.004499515,
0.028124696,
-0.00513243,
-0.06460096,
-0.01422967,
0.01796896,
-0.007922347,
-0.023687018,
-0.0435038,
-0.027993748,
-0.06716172,
0.032591473,
-0.047548633,
-0.034337446,
-0.0044631404,
0.009566471,
-0.02352697,
-0.028852185,
0.005579835,
0.020195074,
0.00072839763,
0.018274505,
0.0121345045,
0.013240286,
0.007675001,
-0.044900574,
0.0009930215,
-0.03328986,
-0.007253058,
-0.018914694,
-0.016426684,
0.03276607,
-0.046064556,
-0.0031936734,
0.052728347,
0.032795172,
-0.003997548,
0.024952848,
0.011916257,
0.0072094086,
0.04155413,
0.09538826,
-0.015233604,
0.03902247,
-0.015219054,
-0.002831748,
-0.0048014224,
-0.009799267,
-0.07239963,
-0.008053295,
0.0017923492,
-0.02111171,
0.035094034,
-0.0021042598,
0.013509457,
0.020180523,
0.020573368,
0.017779812,
-0.02982702,
-0.013254836,
0.0035719674,
0.01679043,
-0.028895834,
-0.06075982,
0.01860915,
-0.07018807,
-0.021257207,
0.038003985,
-0.014375168,
0.015146306,
0.029012231,
0.016848627,
0.031834885,
0.05395053,
0.006547394,
0.004383117,
-0.020791614,
-0.004379479,
0.0028026486,
-0.0039102496,
0.012010831,
-0.011807134,
-0.019467587,
0.08369025,
0.020340571,
-0.0015231785,
0.020675216,
-0.049847495,
-0.0134076085,
0.028954033,
-0.066637926,
0.012250902,
-0.018681899,
-0.013116613,
-0.024530904,
-0.0053615887,
0.002813561,
0.013145713,
-0.03640351,
0.030496309,
-0.0054525244,
-0.022202943,
-0.07239963,
0.039866358,
-0.0034173762,
0.01984588,
-0.035443228,
-0.0033773642,
0.02472005,
-0.044434983,
-0.01360403,
0.01208358,
-0.0055325483,
0.016892277,
0.037509296,
-0.008598912,
0.057937164,
0.021548202,
0.009100878,
-0.015422751,
-0.023163226,
-0.027106212,
0.020544268,
0.0002750815,
-0.015902894,
0.010097537,
-0.011079647,
0.019744031,
-0.005561648,
0.033202562,
0.025112895,
0.0432128,
-0.017779812,
-0.0071512097,
-0.052262757,
0.0145861395,
-0.02979792,
-0.022421189,
-0.008315191,
-0.0068602143,
0.0011521595,
0.038062185,
-0.019540334,
0.01612114,
-0.004466778,
0.038498677,
0.028837634,
0.058053564,
-0.030234411,
0.057471573,
0.027993748,
0.015539149,
-0.036869105,
0.024894647,
0.02355607,
-0.006587406,
-0.006445546,
0.021562751,
0.038120385,
0.004823247,
0.03163119,
0.00680929,
0.062331192,
0.011872608,
0.002962696,
-0.016979575,
0.0023807054,
0.044493183,
0.038149484,
0.033057068,
-0.014455192,
0.020878913,
0.004524977,
0.029303227,
0.022144742,
0.0105485795,
0.039604463,
0.029943416,
0.022202943,
-0.0038702376,
-0.030030716,
0.0028954032,
0.056860484,
0.030467208,
-0.024938298,
0.016004741,
0.016615832,
-0.011028722,
-0.025040146,
-0.014047799,
-0.036927305,
0.03340626,
-0.0024261733,
-0.018463653,
-0.04600636,
-0.063495174,
0.02666972,
0.06925688,
-0.0047686854,
-0.016630381,
0.04757773,
0.017881662,
0.027819151,
0.009450072,
0.03951716,
0.03032171,
0.010810476,
0.020937111,
-0.047956027,
-0.012883817,
-0.017677965,
-0.043649297,
-0.049090907,
0.010315783,
-0.019598534,
-0.032067683,
-0.015320903,
-0.04143773,
0.030758204,
-0.008955381,
0.0055252733,
-0.01727057,
-0.023657918,
0.028022848,
0.043678395,
-0.016135689,
-0.030845502,
0.020747965,
0.024108961,
0.047548633,
0.003932074,
-0.019496685,
0.012483698,
-0.060061432,
-0.0033591771,
-0.014695263,
-0.011421566,
-0.0011539783,
-0.018987443,
0.029885218,
-0.016892277,
0.039953656,
-0.018347254,
0.009100878,
-0.06378617,
0.019147491,
0.0043976665,
-0.0054670745,
0.04044835,
0.017910762,
-0.030758204,
0.028677586,
0.008962655,
0.018696448,
-0.025287492,
0.028939484,
0.059304845,
0.0040521096,
-0.04280541,
-0.025156545,
-0.060061432,
-0.03788759,
-0.02912863,
-0.03579242,
0.0013494907,
0.049847495,
-0.02909953,
-0.03401735,
-0.014164196,
-0.05208816,
-0.021140808,
-0.06430996,
0.0037902137,
0.052932046,
0.058402758,
0.0032918844,
-0.05322304,
0.06320418,
-0.0029663334,
0.012389125,
0.0154809505,
0.007267608,
0.047286738,
0.04009915,
-0.007682276,
0.0071584843,
0.04600636,
-0.016848627,
0.013138438,
-0.0028062859,
0.035123132,
0.0013458533,
0.00015084015,
0.018929245,
-0.0017750714,
0.026102278,
-0.028153796,
0.038673274,
0.0433583,
0.028168345,
-0.003581061,
-0.0058308183,
0.0029954328,
0.030991,
-0.014826211,
-0.032795172,
-0.009253651,
0.015000808,
0.028837634,
-0.040622946,
-0.004877809,
0.02978337,
-0.046559248,
0.013283935,
-0.02726626,
-0.034337446,
0.0496438,
-0.0006874764,
0.060003232,
-0.033027966,
-0.018187206,
0.009493722,
0.031194696,
0.039429862,
0.039749958,
0.02923048,
-0.010526755,
0.024108961,
-0.012585547,
0.004444953,
0.025476638,
0.03215498,
0.0033955513,
-0.019685833,
-0.018478202,
-0.054125126,
0.016921377,
0.012272727,
0.006758366,
-0.010788651,
0.04533707,
-0.015000808,
0.018972894,
0.03358086,
-0.0052233655,
0.0027862801,
-0.02912863,
0.029332327,
0.020718865,
0.018812846,
0.004830522,
0.007493129,
-0.035559624,
0.020209624,
-0.047315836,
0.0371601,
-0.025360242,
0.007980546,
-0.038207684,
0.018740097,
-0.071410246,
-0.042572614,
-0.071293846,
0.009588296,
0.035908822,
-0.020151425,
0.0038156759,
-0.033522658,
0.03401735,
0.039895456,
-0.045366168,
-0.030118015,
-0.02534569,
0.0136113055,
-0.029565122,
0.02730991,
0.05456162,
-0.040506545,
0.023687018,
-0.06692892,
-0.0049723824,
0.035064936,
-0.015422751,
-0.0495565,
-0.00052197283,
-0.023134127,
-0.006929326,
-0.0098574655,
0.018216306,
-0.004750498,
0.011392466,
-0.05936304,
0.03844048,
-0.012942016,
-0.005052406,
0.004484965,
0.01269467,
-0.011166945,
0.0014604327,
-0.0037974888,
-0.050662283,
-0.015946543,
0.03651991,
-0.013589481,
-0.065066546,
-0.018449102,
0.024618203,
-0.017256021,
0.021504553,
0.019729482,
0.0010366708,
0.0217519,
0.0032864283,
-0.026422374,
0.012076305,
-0.043678395,
0.0031918548,
0.026247777,
-0.022159293,
0.0112396935,
-0.019744031,
0.007885973,
0.015640998,
-0.021693699,
0.0028153795,
-0.07071186,
-0.0030718192,
0.003273697,
-0.026335075,
0.029608773,
0.03651991,
-0.020500619,
-0.0028499353,
-0.015655547,
0.012178154,
-0.017648865,
-0.01732877,
0.0020660667,
0.057355173,
0.022406638,
0.061982,
-0.044725977,
-0.039749958,
0.01729967,
-0.027499055,
0.00402301,
0.004237619,
-0.03151479,
0.022450287,
-0.029274128,
0.009842916,
-0.0053143017,
-0.014680713,
0.026727919,
0.011377917,
0.0063837096,
-0.019438487,
-0.018318154,
0.0023534244,
0.045366168,
0.002357062,
-0.043707494,
-0.029303227,
0.01793986,
-0.010410357,
0.0008161509,
0.054270625,
-0.0433583,
-0.05010939,
-0.01988953,
0.041932423,
-0.0108614,
0.0126219215,
-0.036316212,
-0.04513337,
-0.009784717,
0.020777065,
0.010584954,
-0.039808158,
-0.0057726195,
-0.012389125,
-0.00032145888,
-0.05453252,
-0.0073621813,
-0.0310492,
0.021097159,
-0.02237754,
-0.009122703,
0.0065292073,
-0.020544268,
0.00078068586,
0.0092682,
0.05505631,
0.023934364,
-0.04833432,
-0.023250524,
-0.010483106,
0.0037611143,
-0.0061036265,
0.050662283,
-0.01056313,
0.042281616,
-0.0013540376,
0.034308348,
-0.062331192,
-0.027920999,
-0.015961092,
-0.016310288,
0.06302958,
-0.03599612,
-0.019060193,
-0.004030285,
0.04039015,
0.025243843,
0.03462844,
-0.04900361,
-0.004739586,
-0.05639489,
-0.07053726,
0.013465808,
-0.008504338,
-0.011908983,
-0.016572183,
0.019482136,
0.030147113,
-0.05031309,
0.013785902,
0.061516408,
-0.019409386,
-0.002180646,
-0.058140863,
0.00959557,
0.007074823,
-0.005579835,
-0.0216646,
-0.007856873,
-0.0030027078,
0.011690737,
-0.0009675594,
-0.058722854,
-0.020369671,
-0.022668535,
0.034337446,
-0.025258392,
0.004746861,
-0.02111171,
-0.020165974,
-0.041932423,
0.008642561,
0.04903271,
-0.006991162,
-0.0046304627,
0.04143773,
0.0066892547,
0.04638465,
-0.063611574,
-0.04778143,
-0.006049065,
0.032649674,
-0.028823085,
-0.034948535,
0.01671768,
0.030554507,
-0.038353182,
-0.045046072,
0.007147572,
-0.0047759605,
-0.046704747,
-0.035821524,
0.013393058,
0.004121221,
-0.02538934,
-0.0002803103,
0.048043326,
-0.028823085,
-0.014607964,
0.020238724,
-0.008271541,
-0.024036212,
0.013349409,
0.036228914,
-0.019482136,
0.02231934,
-0.021620952,
-0.009901116,
-0.031107398,
-0.030525407,
0.05988683,
0.016499434,
0.025825834,
0.02042787,
0.005488899,
0.051186074,
-0.0025771272,
0.007078461,
-0.011916257,
-0.009573746,
-0.05342674,
0.013553106,
0.027106212,
-0.0021424529,
0.033697255,
-0.041088536,
0.037683893,
0.03032171,
0.049236406,
-0.01670313,
-0.07117745,
0.04024465,
-0.025432989,
-0.00987929,
0.016834078,
0.0034592068,
-0.0020406046,
0.043038204,
-0.00649647,
-0.012636471,
-0.0015204505,
-0.015902894,
-0.027324459,
-0.011385191,
-0.04455138,
-0.009668319,
-0.01208358,
-0.044202186,
-0.02294498,
-0.028677586,
0.009973864,
0.0147898365,
-0.02601498,
-0.008104219,
0.001986043,
0.023716116,
-0.009886566,
0.020500619,
-0.0072494205,
0.030525407,
0.0046341,
0.011683461,
-0.022071993,
0.030554507,
0.031543892,
-0.059945032,
0.0050051194,
0.021460904,
0.024560004,
-0.04097214,
0.010905049,
0.026204128,
-0.017867113,
0.0026462385,
-0.02354152,
0.025636686,
-0.030438108,
-0.028983133,
-0.027731853,
-0.01056313,
0.0028681224,
0.031165596,
0.035181332,
0.051593468,
-0.004750498,
0.0011958089,
0.004765048,
0.006059977,
0.024661852,
0.00036124338,
0.026858866,
-0.026727919,
0.0036938216,
-0.03238778,
0.01792531,
0.0310201,
-0.016877728,
0.017285122,
0.0077113756,
-0.0025480276,
-0.013029315,
-0.001842364,
0.06302958,
0.0557838,
0.02287223,
-0.041612327,
-0.0045031523,
-0.009711969,
-0.024399957,
-0.01916204,
-0.06727812,
-0.052815646,
0.047956027,
-0.04632645,
-0.0010803201,
-0.022290241,
0.015771946,
-0.016033841,
0.025229292,
-0.013574931,
-0.0012694671,
0.020035027,
0.018507302,
-0.008249717,
-0.02908498,
-0.05380503,
0.006692892,
0.05438702,
-0.012447324,
0.008169693,
0.0495565,
0.03596702,
0.012701945,
-0.033842754,
-0.054910813,
-0.0075949775,
0.0043394673,
0.016572183,
-0.024676401,
0.020995311,
-0.03343536,
0.0041248584,
-0.038236782,
0.005252465,
0.0030900063,
-0.000009285422,
-0.0040084603,
0.026771568,
0.0075222286,
0.041146737,
0.022421189,
-0.012403674,
-0.028546639,
0.008758958,
-0.0014349706,
-0.0073585436,
0.02100986,
0.004379479,
0.06716172,
0.038702376,
0.01489896,
-0.003306434,
0.065590344,
0.00022245228,
-0.023148676,
0.00287176,
0.01983133,
0.0064600958,
0.002395255,
0.0007725016,
-0.032475077,
-0.01615024,
-0.009362774,
0.012309101,
0.015553699,
-0.0075804275,
-0.02355607,
-0.011312443,
-0.017605215,
-0.008948105,
0.04207792,
-0.025534838,
0.019933179,
0.0309328,
0.03215498,
0.025185643,
0.037480194,
-0.039342564,
0.054765318,
0.033668157,
0.028735787,
0.0108905,
-0.0026607884,
0.041175835,
0.010635878,
0.020689767,
-0.019991377,
-0.009166352,
-0.010723177,
-0.02230479,
-0.0495274,
0.009049954,
0.02290133,
-0.03238778,
0.007813224,
0.008904456,
0.0039866357,
-0.04885811,
0.028008297,
-0.061691005,
0.036869105,
0.033930052,
-0.035617825,
-0.032329578,
0.046151854,
-0.00989384,
0.031951286,
0.000909815,
0.07146845,
0.022799483,
0.10283774,
0.017736163,
-0.0062272996,
-0.010432182,
0.023483321,
-0.029419625,
-0.05409603,
0.0014395174,
-0.012760144,
-0.025869483,
-0.06064342,
-0.056103896,
0.037305597,
0.002155184,
0.0015386377,
-0.019874979,
0.046239153,
-0.011712561,
-0.009129978,
-0.009100878,
0.066754326,
-0.000074397045,
-0.03160209,
-0.025738535,
0.033318963,
-0.06716172,
0.0035883358,
-0.03148569,
0.045569863,
-0.028808534,
-0.044929676,
0.023075927,
-0.024487255,
-0.02352697,
0.02661152,
-0.0049651074,
-0.012774694,
0.018318154,
0.015655547,
0.017736163,
0.049963895,
-0.021999246,
-0.007071186,
0.058664653,
0.035908822,
0.013771352,
0.10365253,
0.0152918035,
-0.01208358,
0.004110309,
0.024967397,
0.008540712,
-0.020122325,
0.004910546,
-0.014004149,
0.011268793,
-0.028211994,
-0.06122541,
0.015262703,
0.042863607,
0.00033828203,
-0.020107776,
-0.055463705,
0.0372765,
-0.08497063,
-0.017561566,
-0.0040593846,
0.04152503,
-0.0031791236,
-0.00480506,
0.00496147,
-0.055230908,
0.2532823,
0.04463868,
0.019016543,
0.05467802,
0.0035428677,
0.06430996,
0.028226545,
-0.013960499,
-0.019176591,
-0.018929245,
-0.011283343,
-0.022115642,
0.016237538,
0.017474268,
-0.020267824,
0.05400873,
-0.024298107,
0.015611898,
-0.020980762,
-0.026917066,
-0.052262757,
0.04527887,
0.010395807,
0.054037828,
0.021431804,
0.009770167,
0.001312207,
-0.028648488,
0.009348224,
-0.010381257,
0.048014224,
-0.027644554,
0.047257636,
-0.0040593846,
0.011312443,
0.037014604,
0.0150881065,
-0.03416285,
-0.028837634,
-0.0127164945,
-0.006467371,
-0.038091287,
0.02597133,
0.0046631997,
-0.052437354,
0.04254351,
-0.017750714,
0.04210702,
0.05511451,
-0.026305975,
0.030292612,
-0.06535754,
0.0064891954,
-0.041321333,
-0.019700382,
-0.000594267,
-0.071002856,
-0.036898203,
-0.036228914,
0.04091394,
0.0018205394,
0.008184243,
0.008002371,
0.0038011263,
-0.0048996336,
-0.0034537504,
-0.0010084806,
0.061458208,
-0.021591851,
0.003692003,
0.015684647,
0.00013413065,
0.025316592,
-0.05764617,
0.015684647,
0.047344934,
0.0023606995,
0.036898203,
0.010766827,
-0.08467963,
0.023905264,
-0.015437301,
0.021431804,
-0.042194318,
0.038178585,
0.0433001,
-0.03413375,
0.014986258,
-0.013211187,
0.027615454,
0.029405076,
0.008780783,
-0.0035592364,
0.0012394581,
-0.0036083418
] | Load a processor with [AutoProcessor.from_pretrained]:
from transformers import AutoProcessor
processor = AutoProcessor.from_pretrained("facebook/wav2vec2-base-960h")
Create a function to process the audio data contained in array to input_values, and tokenize text to labels. These are the inputs to the model:
def prepare_dataset(example):
audio = example["audio"]
example.update(processor(audio=audio["array"], text=example["text"], sampling_rate=16000))
return example |
[
0.025646754,
0.031142486,
-0.037325185,
-0.0053848163,
0.002407961,
-0.011077336,
0.001782714,
-0.009402855,
0.022698522,
0.034147963,
-0.01776095,
-0.013939697,
-0.010683762,
-0.050950024,
0.012365399,
0.048831876,
-0.0364951,
-0.067379974,
-0.043536507,
-0.042305693,
0.005681786,
-0.007155902,
-0.065719806,
-0.017260035,
-0.03452007,
0.009073684,
0.022383662,
0.011785771,
0.058735643,
0.04482457,
-0.011048713,
-0.01737453,
0.00700205,
-0.022555403,
-0.014089971,
-0.049375724,
0.01114174,
-0.040674146,
-0.046627857,
-0.03935746,
0.015299318,
0.0061540757,
0.0233998,
-0.02166807,
-0.06234222,
0.028723791,
0.004905371,
0.0068159965,
-0.03260229,
-0.0062327906,
-0.00034169434,
0.010003951,
0.015857479,
0.015843168,
-0.005628117,
-0.05109314,
-0.019163506,
0.03251642,
-0.0020197534,
-0.023571542,
0.0007330327,
0.026963439,
-0.044252098,
-0.059537105,
-0.023814842,
0.037439678,
-0.0045726215,
-0.0058535277,
-0.045397043,
-0.041590102,
-0.08449689,
0.036924455,
-0.020694869,
-0.044051733,
-0.025102904,
-0.0008443964,
-0.015900414,
-0.0063115056,
-0.011442288,
0.0055637136,
0.033031642,
0.04156148,
0.03277403,
-0.007084343,
0.023929337,
-0.01864828,
0.016716188,
-0.026276473,
0.04087451,
-0.03300302,
-0.0596516,
0.04262055,
-0.057390336,
0.011807239,
0.055014573,
0.032659538,
-0.0017174165,
0.0617125,
0.022168985,
0.010254407,
0.0050985804,
0.08730201,
-0.022827327,
0.02919608,
0.0043651,
-0.023843465,
-0.0046906937,
-0.020766428,
-0.054928705,
-0.015070329,
0.022970445,
-0.030770378,
0.023915024,
-0.012687414,
0.0055672918,
0.02823719,
0.058907386,
0.009245425,
-0.052724686,
0.0006176438,
0.012501361,
-0.00091282476,
0.010812568,
-0.018719839,
0.0417046,
-0.018834334,
-0.04791592,
0.020966792,
0.028909843,
0.0017925535,
0.007671127,
0.020766428,
0.033604115,
0.04150423,
-0.019578548,
-0.006576274,
0.0051450934,
0.033833105,
0.019177817,
0.0074922293,
0.011599718,
0.02973993,
0.01683068,
0.052581567,
-0.014025568,
0.016716188,
0.0042613395,
-0.031543218,
-0.053125415,
0.013517499,
-0.044881817,
0.011907421,
-0.003363274,
0.0014705379,
-0.022712832,
0.013753643,
0.0030841937,
-0.0011198986,
-0.0028766727,
0.021911371,
-0.020451568,
-0.031600464,
-0.060510308,
0.011728523,
0.03529291,
0.015327943,
-0.02285595,
0.020265514,
0.047887295,
-0.040731393,
0.012766129,
-0.009259737,
0.0132527305,
0.031714957,
0.0075351647,
0.031943947,
0.04147561,
0.037954904,
-0.0064081103,
-0.005910775,
-0.0050270213,
-0.017918378,
-0.004021617,
0.020909546,
-0.024702175,
-0.00021668966,
0.037153445,
0.033375125,
-0.010104134,
0.02991167,
0.015413813,
0.037954904,
-0.02172532,
0.008973502,
-0.025503635,
0.036294736,
-0.019564236,
0.008028922,
-0.005599493,
0.03426246,
-0.0116641205,
0.03125698,
-0.00021512431,
0.0015725095,
0.012995118,
0.03680996,
0.058907386,
0.032172937,
-0.022083113,
0.061826993,
0.04594089,
0.021753943,
-0.041532855,
-0.013889606,
0.009102307,
-0.026920503,
0.0022702098,
0.009159555,
-0.0018909471,
0.04244881,
0.04276367,
0.016644629,
0.057304464,
0.0037174912,
0.0076997504,
-0.027235363,
-0.011406508,
0.03452007,
0.053812385,
0.062628455,
-0.013403005,
0.029768553,
0.017031047,
0.044481087,
0.007392047,
0.018848646,
0.04124662,
0.04047378,
0.032115687,
-0.019406807,
0.028036823,
0.019235065,
0.017274348,
0.019821849,
-0.0019911297,
-0.0069770045,
-0.03386173,
-0.02427282,
-0.0030269464,
-0.010032575,
-0.021954307,
0.05475696,
-0.009932392,
0.022870263,
-0.03575089,
-0.07568082,
0.010404682,
0.018676905,
-0.0138752945,
-0.05530081,
0.010891283,
0.059537105,
-0.00008078342,
0.008350938,
0.01547106,
0.051980473,
0.0028820396,
0.0177037,
-0.031543218,
-0.012343931,
-0.059537105,
-0.038985353,
-0.036953077,
0.020136708,
-0.009875145,
-0.037439678,
-0.051694237,
-0.055272188,
0.010991465,
-0.030426895,
0.023199435,
0.0014132906,
-0.01138504,
0.037668668,
0.018519474,
-0.030054789,
0.0060395813,
0.028895533,
0.025188776,
0.016415639,
0.024430249,
-0.050663788,
-0.036437854,
-0.042906787,
0.00090477435,
-0.008472588,
0.0029696994,
0.016544446,
-0.02458768,
0.005835638,
-0.020136708,
0.019850472,
-0.007155902,
0.037468303,
-0.035493273,
-0.007950207,
-0.021539265,
-0.020122396,
0.0534689,
0.034376953,
-0.07854318,
0.014640976,
0.024501808,
-0.008179196,
-0.02879535,
0.029167457,
0.021195782,
0.0033167605,
-0.022626963,
-0.03134285,
-0.050406173,
-0.0043293205,
-0.018204615,
-0.02292751,
0.019278,
0.092626,
-0.07367717,
-0.028924156,
-0.0036996014,
-0.04150423,
-0.0037067572,
-0.030570013,
-0.02736417,
0.0339476,
0.03243055,
0.030827627,
-0.0417046,
0.045883644,
0.0024473185,
0.045110807,
0.03340375,
-0.013767956,
0.043736875,
0.027564535,
0.003207633,
-0.031199733,
0.04087451,
-0.028823974,
0.00026230855,
-0.027850771,
0.03784041,
-0.01094853,
0.014533637,
0.026319407,
0.018476538,
0.047629684,
-0.05490008,
0.0137608,
0.032344677,
0.031514592,
0.037153445,
0.0031020835,
0.003735381,
0.020050837,
-0.0058034365,
-0.039529204,
0.00071201223,
0.02285595,
0.06623503,
-0.050492045,
0.048974995,
0.0025421341,
-0.03887086,
0.013825202,
-0.0254607,
-0.05925087,
0.06331542,
0.02458768,
0.05593053,
-0.023313928,
0.04831665,
-0.014254557,
-0.011127427,
0.042935412,
0.007112967,
0.04966196,
-0.015513996,
-0.0038105177,
0.009581753,
0.00450464,
-0.0073562674,
0.0018784243,
-0.0053955503,
-0.0078643365,
-0.012637323,
-0.0280082,
0.065261826,
0.004436659,
0.009932392,
-0.024101079,
0.045511536,
-0.0033096047,
0.028981403,
0.015757296,
-0.0172171,
-0.0023596587,
-0.014419142,
0.02198293,
-0.047314823,
0.0023990162,
0.008157728,
-0.03354687,
-0.025131527,
0.0073562674,
-0.0039035445,
0.02022258,
-0.030140659,
0.023915024,
-0.05418449,
0.017073981,
-0.05862115,
-0.034720436,
-0.036781337,
0.01627252,
0.05229533,
-0.025203086,
0.0023203013,
-0.0005912564,
0.053440277,
0.013982632,
-0.033833105,
0.005399128,
-0.00084037124,
-0.009631844,
-0.026906192,
0.03640923,
0.0360085,
-0.008100481,
0.00670508,
-0.036781337,
-0.025346205,
-0.006744438,
0.040187545,
-0.03895673,
-0.024015207,
0.00076925947,
-0.013381537,
-0.0027317656,
-0.011277702,
0.03386173,
0.025589505,
-0.02743573,
0.03998718,
-0.011707055,
0.012243749,
-0.007592412,
-0.0076925945,
-0.020437256,
0.0032684582,
0.008000298,
-0.028466178,
-0.009803586,
0.050978646,
-0.0048517017,
-0.061197273,
-0.016916553,
0.013767956,
-0.013746488,
0.032487795,
-0.020337073,
0.018075809,
0.011785771,
0.015599866,
-0.028938469,
-0.0072453506,
-0.031027991,
-0.02617629,
-0.0057533453,
-0.017360218,
0.021124223,
-0.043765496,
0.018304797,
0.006962693,
-0.008214976,
-0.024072455,
-0.04814491,
0.0061612315,
-0.0028086915,
0.0030752488,
0.05006269,
0.005968022,
-0.0005009131,
-0.011435132,
-0.06371615,
0.001320264,
-0.027478663,
-0.0073562674,
-0.0079788305,
0.049862325,
0.0076138796,
0.045912266,
-0.024802357,
0.0041718907,
0.020694869,
-0.0626857,
0.013360069,
-0.005599493,
-0.02427282,
0.012909248,
-0.005492155,
-0.033918977,
0.005910775,
-0.008622862,
0.03824114,
0.022898886,
-0.019235065,
-0.014354739,
-0.034605943,
-0.050320305,
0.028437555,
-0.012637323,
-0.05530081,
-0.03838426,
0.022669898,
-0.0046370244,
-0.00004125825,
0.0339476,
-0.020880923,
-0.041418362,
-0.032001194,
0.0509214,
0.02198293,
0.020895233,
-0.048831876,
-0.048431143,
0.004229138,
0.039615072,
0.022154672,
-0.023757596,
-0.0008327681,
-0.012487049,
-0.00422556,
-0.0452253,
-0.02498841,
-0.02491685,
0.01313108,
-0.029596811,
-0.0012844844,
0.021625135,
-0.021353211,
0.0018077597,
-0.036065746,
0.061655253,
0.008429653,
-0.06543357,
-0.0172171,
-0.005162983,
0.033518244,
-0.00034952108,
0.010912751,
-0.017832508,
0.02172532,
-0.025045658,
0.030255154,
-0.04459558,
-0.034405578,
-0.028838284,
-0.056789238,
0.06795245,
-0.035722263,
-0.03626611,
-0.010955686,
0.05378376,
0.02951094,
0.025646754,
-0.04751519,
-0.0073240655,
-0.03117111,
-0.042248446,
-0.0021575044,
-0.030999368,
-0.012658791,
-0.023328241,
-0.011234766,
0.02402952,
-0.05449935,
0.032888524,
0.04877463,
-0.0012558608,
-0.00021982037,
-0.057619322,
0.02538914,
-0.011406508,
-0.0050484887,
-0.023099251,
-0.013281354,
-0.035178415,
-0.0011512057,
-0.02886691,
-0.07459312,
-0.026348032,
-0.0065226047,
0.039872687,
-0.030684508,
-0.00066997134,
0.02181119,
-0.013589058,
-0.037325185,
0.0075852564,
-0.0077069066,
0.003431255,
0.017803885,
0.03909985,
-0.002994745,
0.024000896,
-0.088160716,
-0.03864187,
0.0049304166,
0.02420126,
-0.019335248,
-0.028351683,
0.043193024,
0.013481719,
-0.060510308,
-0.03449145,
0.010683762,
-0.023142187,
-0.0059823343,
0.021310275,
-0.01288778,
-0.012186501,
0.014827029,
-0.054298986,
0.010082666,
-0.035464652,
-0.006064627,
0.04276367,
0.028437555,
-0.025832806,
0.019893408,
0.052552946,
-0.037897658,
0.007606724,
-0.0060968287,
0.016601693,
-0.029625434,
-0.01610078,
0.032573666,
0.010240096,
0.005649585,
0.029296262,
-0.02181119,
0.034691814,
-0.009860833,
0.005914353,
0.00044590214,
-0.015070329,
-0.048001792,
-0.002484887,
0.0360085,
0.012630167,
-0.00829369,
-0.013331446,
0.025303269,
0.020766428,
0.064803846,
0.0017290448,
-0.07379166,
0.026376655,
-0.017489025,
0.012794753,
0.006075361,
0.005556558,
0.012501361,
0.005828482,
-0.018605346,
-0.01990772,
0.006136186,
-0.021295965,
-0.03117111,
-0.013868138,
-0.029968917,
0.0037640044,
-0.024129702,
-0.022440908,
0.0024562634,
0.0022970445,
-0.015642801,
0.034634564,
-0.006433156,
-0.029367821,
-0.01531363,
0.018347733,
0.001096642,
0.038985353,
0.0013703553,
0.023285305,
-0.012093474,
0.0053705047,
-0.005105736,
0.05584466,
0.028365996,
-0.032802656,
0.033088893,
0.033747233,
0.026161978,
-0.0126086995,
0.014505014,
0.028494801,
-0.008966345,
-0.0077140625,
-0.02110991,
0.043021284,
-0.02792233,
-0.04284954,
-0.0044187694,
-0.012458425,
-0.030570013,
0.066177785,
0.02173963,
0.056989603,
0.023814842,
0.030570013,
-0.005925087,
0.029625434,
-0.0020662667,
0.00063553354,
0.03165771,
-0.01864828,
-0.039844062,
-0.04880325,
0.023042005,
0.03354687,
-0.031027991,
-0.011284857,
-0.009538817,
-0.020666245,
-0.053096794,
-0.0036369872,
0.046685103,
0.046198502,
0.05615952,
-0.009760651,
-0.0027460775,
-0.022469532,
-0.020809364,
-0.005270322,
-0.060166825,
-0.056045026,
0.023213746,
-0.019535612,
-0.005706832,
-0.022698522,
-0.035235662,
-0.019278,
0.014626664,
0.001898103,
-0.006365175,
0.0016378071,
-0.0028140584,
0.007799933,
-0.014097127,
-0.07671127,
-0.015843168,
0.024845293,
-0.03935746,
-0.023915024,
0.023514295,
0.03094212,
0.021753943,
-0.020351386,
-0.058163173,
0.011943201,
-0.033689987,
0.01864828,
-0.039328836,
-0.0037067572,
-0.020694869,
-0.015528307,
-0.046112634,
0.0001233275,
-0.0034008424,
0.003917856,
0.0040717083,
0.011091649,
0.020108085,
0.024687862,
0.025475012,
-0.041446984,
-0.04325027,
0.025002722,
0.0023024115,
-0.0063508633,
0.009245425,
0.008372406,
0.008157728,
0.033518244,
0.024144014,
-0.0048302338,
0.06543357,
0.00626857,
0.009939548,
0.005259588,
0.020265514,
0.03864187,
-0.013424472,
-0.021582201,
0.0067587495,
-0.0044080354,
0.008529835,
0.0038212517,
-0.025274646,
0.008615706,
-0.004672804,
-0.025117217,
-0.005470687,
-0.011635496,
0.033432376,
-0.045425665,
-0.009989639,
0.030913496,
0.025217399,
0.014268869,
0.046914093,
-0.011585405,
0.05687511,
0.060338564,
0.04333614,
0.0076210354,
0.012129254,
0.015771609,
-0.0050950022,
0.038298387,
-0.037496928,
-0.017102607,
-0.027564535,
0.011284857,
-0.01705967,
0.011320637,
0.005123626,
-0.0030859828,
0.029968917,
-0.033460997,
-0.030369649,
-0.0421912,
0.021625135,
-0.05673199,
0.015428125,
0.04307853,
-0.006501137,
-0.04877463,
0.038269766,
-0.024530433,
0.031199733,
0.0027085089,
0.0493471,
0.044710077,
0.068353176,
0.016930865,
-0.0061111404,
-0.015499684,
0.016243897,
-0.0150273945,
-0.061998736,
0.0009508405,
0.025975924,
-0.04920398,
-0.031228356,
-0.05166561,
0.013367225,
0.0077784657,
-0.014612352,
-0.028337372,
0.0169738,
-0.006665723,
-0.02633372,
-0.007842869,
0.035321534,
-0.01499877,
-0.0039107003,
-0.0052059186,
0.0355219,
-0.03824114,
-0.006934069,
-0.032001194,
0.04828803,
0.014712535,
-0.06760896,
0.04410898,
-0.061197273,
-0.020723492,
0.052724686,
-0.004465283,
0.011198986,
0.023127876,
0.004891059,
0.038412884,
0.024687862,
-0.03380448,
-0.03377586,
0.044681452,
0.011728523,
0.0047872984,
0.088103466,
0.041132126,
-0.007850025,
-0.00071693194,
0.022813017,
-0.009667624,
-0.0075351647,
-0.01975029,
-0.0021056242,
0.016930865,
-0.008501211,
-0.0842679,
0.017102607,
0.06360166,
0.023270993,
0.0070378296,
-0.053211287,
0.044710077,
-0.059193622,
0.022183297,
-0.008551303,
0.03721069,
-0.008150573,
-0.0052774777,
0.014089971,
-0.043651003,
0.2427282,
0.040073052,
0.040674146,
0.031285603,
0.023528606,
0.07115829,
-0.0013730387,
-0.026362343,
0.0093599195,
-0.027750589,
0.013803735,
-0.018419292,
0.0010107711,
0.005835638,
-0.033460997,
0.02451612,
-0.028065449,
0.040302042,
-0.015585555,
-0.031027991,
-0.039328836,
0.034634564,
-0.018161679,
0.02285595,
-0.03738243,
0.011413664,
-0.017961314,
-0.010147069,
0.009159555,
-0.07877217,
0.019793225,
-0.043135777,
-0.013352913,
-0.030827627,
-0.00006350863,
0.061655253,
0.011513846,
-0.058334913,
-0.01594335,
0.0063902205,
-0.022999069,
-0.036323357,
-0.00888763,
0.014483546,
-0.06400239,
0.041361112,
-0.00015575268,
0.034319706,
0.06869666,
-0.056817863,
0.054556597,
-0.030884873,
0.026963439,
-0.06560531,
-0.04857426,
-0.018591033,
-0.041847713,
-0.07070031,
-0.036752712,
-0.010891283,
0.043679625,
0.0074850735,
-0.013030898,
-0.0008855429,
-0.013853827,
0.032459173,
0.024172638,
0.020122396,
-0.017073981,
0.019106258,
0.024186948,
0.009782118,
-0.020294137,
-0.012744661,
0.015900414,
0.010054043,
0.021567889,
0.034720436,
0.051236257,
-0.048202157,
0.00013998733,
-0.002406172,
-0.010991465,
-0.0140828155,
0.009553129,
0.0550432,
-0.006358019,
-0.0049375724,
-0.0030913497,
0.032487795,
0.031915322,
-0.012794753,
-0.006447468,
-0.024745109,
0.010783944
] | Multimodal
For tasks involving multimodal inputs, you'll need a processor to prepare your dataset for the model. A processor couples together two processing objects such as as tokenizer and feature extractor.
Load the LJ Speech dataset (see the 🤗 Datasets tutorial for more details on how to load a dataset) to see how you can use a processor for automatic speech recognition (ASR):
from datasets import load_dataset
lj_speech = load_dataset("lj_speech", split="train") |
[
0.02089943,
0.04717095,
0.004772396,
0.0004991445,
-0.030279038,
-0.04372362,
-0.0087332325,
-0.0027291353,
0.0034545108,
0.03050886,
0.009753068,
-0.0096884305,
0.031198325,
-0.010629264,
-0.019103946,
0.048377514,
-0.053720873,
-0.059294056,
-0.049009524,
-0.04435563,
-0.01439978,
-0.007612851,
-0.07354301,
-0.044039626,
-0.037690796,
0.016647724,
-0.005874823,
0.002750681,
0.065556705,
0.038667537,
0.0012343951,
-0.0020845567,
-0.0086973235,
-0.03559367,
0.0038100164,
-0.02565387,
0.038207892,
-0.024318032,
-0.027707905,
-0.021560168,
-0.0057922304,
-0.004944762,
0.055272173,
-0.009142603,
-0.046941128,
0.0065427427,
-0.0010377896,
0.013265034,
-0.036685325,
0.0014588305,
0.005206903,
0.012424747,
0.046108022,
0.0063596033,
0.033381633,
-0.01544116,
-0.046740033,
-0.005178175,
-0.04383853,
-0.010844721,
-0.01692064,
0.019319406,
0.0114336405,
-0.061477363,
-0.0020540333,
0.042402145,
-0.049038254,
-0.043407615,
-0.052428126,
-0.024662765,
-0.061937008,
0.02772227,
0.0059969155,
-0.033525273,
-0.021373438,
-0.00016585781,
-0.0038243805,
-0.03421474,
0.002027101,
0.04119558,
0.015182611,
0.040276293,
0.028383007,
-0.012216471,
0.0037417882,
-0.02186181,
0.032002702,
-0.03545003,
0.032146342,
-0.0071424344,
-0.026802981,
0.050014995,
-0.035162754,
0.005835322,
0.00408293,
0.025266048,
-0.0018116431,
0.037518427,
0.022536911,
0.04435563,
0.041396674,
0.08767706,
-0.012259563,
0.019865232,
0.015484252,
0.038322806,
0.00749794,
-0.0033054855,
-0.049871355,
0.006399104,
0.015900804,
-0.018313935,
0.054697618,
-0.049268074,
-0.025064953,
0.026099151,
0.028785195,
0.04395344,
-0.016432267,
-0.003032572,
0.009293424,
0.021588897,
0.012065651,
-0.044269446,
-0.00883378,
-0.04283306,
0.002806341,
0.017495194,
-0.01562789,
-0.004197841,
0.011620371,
0.009121058,
0.061190087,
0.039328277,
0.011843011,
-0.0056845015,
-0.020008871,
0.0036125132,
0.021617625,
-0.01874485,
-0.0066791996,
0.0086973235,
-0.041655224,
0.07227899,
0.012302655,
-0.018730486,
0.019247586,
-0.026846074,
-0.007971948,
0.024246212,
-0.06831457,
0.0053792694,
-0.015570435,
0.0057275933,
-0.014895333,
-0.0003557302,
-0.017523922,
-0.016030079,
-0.03496166,
0.012934665,
-0.030997232,
-0.026386429,
-0.046797488,
0.0045964383,
0.008043767,
-0.009767432,
-0.016978094,
0.008043767,
-0.001412148,
-0.052284487,
0.00861114,
0.0117640095,
-0.0053864513,
0.0070993425,
-0.0042373417,
-0.0030487315,
0.015828984,
-0.018845398,
0.026960984,
0.0027578631,
0.023499291,
-0.00060103816,
0.0484637,
-0.019060856,
-0.0073614833,
0.006847975,
0.018960308,
0.037259877,
-0.007020341,
0.03786316,
0.046309117,
0.050417185,
-0.0037669248,
0.012424747,
-0.026731161,
-0.0072178445,
-0.016417904,
-0.003856699,
-0.011297184,
-0.03343909,
-0.007813945,
0.014011955,
-0.008230497,
0.022608731,
0.023082739,
0.010212711,
0.01191483,
0.012977757,
-0.005619864,
0.04243087,
0.006833611,
0.0036699688,
-0.022594368,
0.03418601,
0.014442871,
-0.03088232,
-0.008137132,
-0.004212205,
0.048348784,
0.023686022,
0.04159777,
0.0043666163,
0.060730442,
0.041655224,
0.018084113,
0.010701083,
0.014019137,
0.061592273,
0.027190806,
0.013961681,
-0.013200397,
0.05211212,
0.035651125,
0.021244163,
0.03596713,
0.026515704,
0.05199721,
0.050532095,
0.001829598,
0.0023359244,
-0.014198685,
0.019836504,
0.031169597,
0.0345882,
0.0017694492,
0.008589595,
0.02921611,
-0.0046933945,
-0.020770157,
-0.0001518306,
-0.05797258,
0.0374897,
0.013243488,
0.019132676,
-0.040391203,
-0.05771403,
0.03636932,
0.039644282,
-0.01684882,
-0.03470311,
0.04510255,
0.035047844,
-0.0016338902,
0.008912781,
0.023729114,
0.030135399,
0.00070921605,
0.027075894,
-0.022263998,
-0.011713736,
-0.01588644,
-0.055875454,
-0.05455398,
-0.0032318707,
-0.004215796,
-0.03455947,
-0.02565387,
-0.04854988,
0.012676115,
-0.01258275,
-0.02776536,
-0.004111658,
-0.030135399,
0.0009255719,
0.040592298,
-0.010736993,
-0.0073614833,
0.006765383,
0.031686697,
0.054237973,
0.021991085,
-0.03674278,
0.009918252,
-0.029675756,
-0.00063694787,
-0.021430895,
-0.004161931,
0.01792611,
-0.017509557,
0.01666209,
-0.019032128,
0.013229124,
-0.030020488,
-0.014981517,
-0.04946917,
0.01867303,
-0.002045056,
0.0010063687,
-0.0030792546,
0.017538285,
-0.040506113,
-0.017251007,
0.030106671,
-0.0144644175,
-0.00071998895,
0.029963033,
0.02605606,
0.0046826215,
-0.03596713,
-0.017322827,
-0.054697618,
-0.035047844,
-0.05130774,
-0.017710652,
0.009121058,
0.07222154,
-0.04398217,
-0.051279016,
-0.011957922,
-0.049153164,
-0.0050668553,
-0.04969899,
-0.0067546098,
0.02066961,
0.07676052,
-0.0009085148,
-0.054697618,
0.024691492,
0.010435351,
0.044642907,
0.010521535,
-0.02097125,
-0.005318223,
0.05604782,
0.0119291935,
0.0046754396,
0.014909697,
-0.025438413,
-0.007821127,
0.005145856,
0.05466889,
0.0037310151,
0.013818043,
0.045964383,
0.026917892,
0.025337867,
-0.039874103,
0.01874485,
0.05705329,
0.01261866,
0.028756468,
-0.0036538094,
0.018845398,
0.0120943785,
-0.036311865,
-0.02828246,
0.019563591,
0.009006146,
0.036398046,
-0.061707184,
0.022019813,
0.022450728,
-0.033611454,
-0.01035635,
-0.017653197,
-0.03332418,
0.04243087,
0.019721594,
0.04280433,
-0.052715402,
-0.026889164,
0.011182273,
-0.01736592,
0.03711624,
0.04205741,
0.043752346,
-0.006636108,
0.01146955,
0.006104645,
-0.02642952,
0.021430895,
0.009839251,
-0.003856699,
-0.032261252,
-0.008467501,
-0.05196848,
0.017538285,
0.043895986,
0.047458228,
0.024806403,
0.04768805,
-0.0009098614,
0.027822817,
0.046050567,
-0.018629938,
-0.026458248,
-0.046941128,
0.02441858,
0.008122768,
0.019290678,
0.009034874,
-0.00530745,
-0.013114213,
-0.014406961,
-0.014428508,
0.035162754,
-0.010830358,
0.025108045,
-0.024806403,
0.0049483534,
-0.0374897,
-0.047314588,
-0.032950718,
0.004043429,
0.042631965,
-0.03025031,
0.018055385,
-0.05056082,
0.025194228,
0.0133440355,
-0.041741405,
-0.029589573,
-0.019764684,
0.0052428124,
-0.02935975,
0.024763312,
0.054582704,
-0.000817394,
-0.009286242,
-0.041109394,
-0.017006822,
-0.004521028,
-0.021890538,
-0.0049268072,
0.004043429,
-0.026228426,
0.002827887,
-0.014766058,
0.016733909,
-0.00027493344,
0.021258527,
-0.03447329,
0.061592273,
-0.022019813,
-0.024361124,
-0.015182611,
-0.0070275236,
-0.016935002,
-0.009322152,
0.0369726,
-0.04323525,
-0.019261949,
0.028483555,
-0.027032804,
-0.06756765,
0.0037238332,
0.011275638,
-0.00004687896,
0.019965779,
0.0050381273,
0.024734585,
0.026874801,
0.015814621,
0.01740901,
-0.026673706,
-0.015541707,
-0.020583425,
0.019994507,
-0.015125155,
0.014909697,
-0.027090259,
0.033726368,
0.0022874463,
-0.027075894,
-0.005095583,
-0.058776956,
-0.02809573,
0.02167508,
-0.04108067,
0.05234194,
0.041741405,
-0.01659027,
-0.032634713,
-0.03556494,
-0.009013329,
-0.020439787,
0.017796835,
-0.026099151,
0.059179146,
0.00038580457,
0.033151813,
-0.038581356,
-0.0032605985,
0.051393926,
-0.032232523,
-0.0113043655,
-0.00463953,
-0.009939798,
0.032864533,
-0.029115565,
0.0051350836,
-0.014148412,
-0.028411735,
0.027966455,
0.006205192,
-0.0061405543,
-0.015110791,
-0.024705857,
-0.020008871,
0.053060137,
-0.0070167505,
-0.023958934,
-0.039069727,
0.015024608,
0.013207578,
0.02148835,
-0.0013448173,
0.0006620846,
-0.06050062,
-0.06779747,
0.03444456,
-0.0045964383,
-0.014234595,
-0.029503388,
-0.053605963,
-0.0064637414,
0.015010244,
-0.008086858,
-0.01480915,
0.013911408,
-0.028555373,
0.0061764643,
-0.08532139,
0.010341986,
-0.018500665,
0.053605963,
-0.044527996,
-0.0026627025,
-0.00660738,
-0.020569062,
0.027894635,
-0.006294966,
0.05894932,
-0.0057096384,
-0.015369341,
-0.038696267,
-0.005390042,
0.023298196,
0.0051530385,
-0.0010692106,
-0.013351217,
0.041626494,
-0.040276293,
0.040247563,
-0.036943875,
-0.033898734,
-0.0011571893,
-0.03952937,
0.05906423,
-0.046337843,
0.011297184,
0.0036143088,
0.024935678,
0.01841448,
0.018572483,
-0.014119684,
-0.033381633,
-0.044413086,
-0.06572907,
0.041109394,
-0.007113707,
-0.010657991,
-0.017983565,
0.00026999586,
0.017681925,
-0.04116685,
0.010880631,
0.07273864,
-0.029790666,
0.009013329,
-0.07790963,
0.016130626,
-0.007742126,
-0.041999955,
-0.031686697,
-0.015943896,
-0.045820747,
-0.03481802,
-0.042373415,
-0.05998352,
-0.0051530385,
-0.006079508,
0.027549902,
0.00397161,
0.026328973,
0.0013448173,
-0.025596416,
-0.052399397,
0.01792611,
0.019434316,
-0.0133799445,
-0.017796835,
0.046222933,
0.006636108,
0.03076741,
-0.050532095,
-0.033352908,
0.003603536,
0.04197123,
-0.012489385,
-0.06952113,
0.019678501,
0.017265372,
-0.08020785,
-0.033726368,
-0.0053505413,
-0.032175068,
-0.010995543,
-0.020238692,
0.023571111,
0.020195602,
-0.044384357,
0.03599586,
0.013164487,
-0.046280388,
0.0007752001,
0.008769142,
-0.0032965082,
-0.019779049,
-0.009609429,
0.041109394,
-0.05817367,
0.006715109,
-0.011361822,
-0.048521154,
-0.038351532,
-0.016676454,
0.022623096,
-0.00025608088,
0.025179865,
0.034760565,
-0.0047436683,
0.051537566,
0.03343909,
0.028684648,
0.018945944,
-0.023743477,
-0.055387083,
-0.008445956,
0.008632686,
-0.0101839835,
-0.0027417038,
-0.038782448,
0.022694914,
0.0032641895,
0.07354301,
0.016274264,
-0.04909571,
0.023197649,
-0.030049216,
-0.00408293,
0.008955873,
-0.022091633,
0.015326249,
0.051422656,
0.008029403,
-0.061937008,
-0.001078188,
-0.017567012,
-0.0032803488,
0.021359075,
-0.0212298,
-0.017394647,
-0.04041993,
-0.013681586,
-0.009587883,
-0.0126832975,
0.0002538365,
0.018629938,
-0.009889524,
-0.012963393,
-0.008970236,
0.0239733,
0.016978094,
0.032146342,
-0.016446631,
0.0064745145,
0.002475972,
-0.031887792,
-0.039127182,
0.05808749,
0.017610105,
-0.037575882,
-0.024030754,
0.019405589,
-0.0052392217,
-0.01276948,
0.018945944,
0.0691764,
-0.01146955,
-0.009013329,
-0.014521873,
0.030595044,
-0.060730442,
-0.01551298,
-0.0239733,
-0.022867281,
-0.0010270167,
0.04717095,
0.025079317,
0.044527996,
0.014658329,
0.026702434,
0.0093580615,
-0.02441858,
0.02999176,
0.04309161,
0.020324877,
-0.04185632,
-0.025251683,
-0.010334805,
0.015369341,
0.02835428,
0.005088401,
0.0031223462,
-0.01087345,
0.018270843,
-0.00046458142,
-0.03318054,
0.008776325,
0.056105275,
0.032146342,
-0.022852916,
-0.02572569,
-0.036254406,
-0.010349168,
-0.002493927,
-0.089688,
-0.0881367,
0.046165477,
-0.024634037,
0.009925434,
0.00022735313,
-0.008876871,
-0.029374113,
0.020813247,
-0.029790666,
0.032060158,
0.017495194,
0.0057886397,
0.008122768,
-0.016532814,
-0.049612805,
-0.0079073105,
0.031054687,
-0.024045119,
-0.0047257133,
0.011584461,
0.04234469,
0.023686022,
-0.02015251,
-0.0592366,
0.008718869,
-0.014521873,
0.0027847954,
-0.035794765,
-0.0033557592,
0.010097801,
-0.009171331,
-0.014349506,
-0.0009327538,
0.015541707,
-0.002034283,
0.0038926087,
0.0028889333,
0.008151496,
0.054381613,
-0.010959633,
-0.0013546925,
-0.01659027,
0.023341289,
-0.0003094965,
0.00055211125,
-0.014069411,
0.032318708,
0.04056357,
0.04093703,
-0.007178344,
-0.013667222,
0.036168225,
-0.01717919,
-0.009709976,
0.022709278,
0.04510255,
0.014478781,
0.031887792,
-0.014837878,
-0.044010896,
-0.025898058,
0.0018996218,
0.008912781,
0.027923362,
0.007713398,
-0.014256141,
-0.01273357,
-0.03573731,
0.004334298,
0.018213388,
-0.08963055,
0.009164149,
0.063258484,
0.03447329,
0.031887792,
0.04791787,
0.001738926,
0.046395298,
0.03619695,
0.05794385,
0.034530744,
0.014579328,
0.016159354,
-0.012870028,
0.041770134,
-0.031341963,
-0.03545003,
-0.027492447,
-0.020324877,
-0.014485963,
-0.01766756,
0.010291712,
0.007404575,
0.0048262603,
-0.0071244794,
-0.016116261,
-0.01696373,
0.024662765,
-0.064924695,
0.0492968,
0.039184637,
-0.024246212,
-0.018658668,
0.043637436,
0.011871738,
0.0012586341,
0.011131999,
0.07337065,
0.029158656,
0.0707277,
0.023154559,
-0.008266407,
-0.0004194699,
0.052686676,
-0.028512282,
-0.03952937,
-0.0026680888,
0.0137103135,
0.010162438,
-0.008431592,
-0.050331,
0.0239733,
0.024145665,
0.012575568,
-0.038035527,
0.048636064,
-0.02642952,
-0.03409983,
0.013415854,
0.064407595,
0.014055047,
0.0023107876,
0.0046969852,
0.007214254,
-0.053376142,
0.00861114,
-0.062339194,
0.058489677,
-0.028454827,
-0.05894932,
0.002650134,
-0.045476012,
-0.03306563,
0.037662067,
-0.009738704,
-0.026113516,
0.019276313,
0.0056019095,
0.04294797,
0.039270822,
-0.029503388,
0.0019642592,
0.05208339,
0.03418601,
0.002827887,
0.07572632,
0.014952788,
-0.014651148,
0.00820177,
0.014414144,
-0.01124691,
-0.031428147,
-0.015757166,
0.0095017,
0.033209268,
-0.064235225,
-0.079403475,
-0.012941847,
0.039500643,
-0.010550262,
-0.0032623939,
-0.027636087,
0.029273568,
-0.054237973,
-0.024964405,
-0.011936376,
0.046079293,
-0.021804355,
0.015685346,
-0.0055480446,
-0.041367944,
0.24476035,
0.04958408,
0.05133647,
0.027233897,
0.027736632,
0.039816648,
0.0414254,
-0.02041106,
-0.00024822564,
-0.029417206,
-0.01759574,
-0.0036017403,
-0.0010000844,
-0.0044923,
-0.047831688,
0.032404892,
-0.02776536,
0.030853592,
-0.0044815275,
-0.026027333,
-0.030853592,
0.057024565,
-0.019046491,
0.05667983,
0.0011562916,
-0.010686719,
0.033237994,
-0.039902832,
-0.01414123,
-0.033525273,
0.026328973,
-0.06911894,
0.02497877,
-0.0056773196,
0.00972434,
0.014852242,
0.0011042225,
-0.044154536,
0.0017335395,
-0.026127879,
-0.015182611,
0.012870028,
-0.004075748,
0.012403201,
-0.077967085,
0.041138124,
0.0038171983,
0.065671615,
0.04921062,
-0.04495891,
0.0106149,
-0.047860414,
0.040075198,
-0.031198325,
-0.04205741,
-0.01239602,
-0.04067848,
-0.030365221,
-0.009896707,
0.037834432,
0.0019283495,
0.03430092,
-0.009408335,
-0.0047041676,
-0.03266344,
0.009264696,
-0.011325912,
0.002479563,
-0.026932256,
0.0000032648347,
-0.010593354,
-0.007885764,
0.01016962,
-0.027291352,
0.025309138,
0.044815276,
-0.013329672,
0.05173866,
0.027707905,
-0.0739452,
-0.00030859877,
-0.0016150377,
0.013322489,
-0.028110094,
0.014062229,
0.047372043,
-0.0592366,
0.0062446925,
-0.0066935634,
-0.0013493061,
0.019405589,
0.008596776,
0.012467839,
-0.028009547,
0.03254853
] | def prepare_dataset(example):
audio = example["audio"]
example.update(processor(audio=audio["array"], text=example["text"], sampling_rate=16000))
return example
Apply the prepare_dataset function to a sample:
prepare_dataset(lj_speech[0])
The processor has now added input_values and labels, and the sampling rate has also been correctly downsampled to 16kHz. You can pass your processed dataset to the model now! |
[
0.040347125,
0.014080681,
-0.03203865,
-0.0069346623,
-0.0006158476,
-0.012462715,
0.021339666,
-0.020275597,
-0.022010174,
0.043495603,
-0.0035875854,
-0.027199328,
0.036440685,
-0.078420356,
0.0070549166,
0.047985096,
-0.0002564513,
-0.03486645,
-0.05489425,
-0.024400683,
0.019707123,
0.0035128822,
-0.07690442,
-0.050492212,
-0.01435763,
0.029881362,
0.042825095,
-0.05501086,
0.08734103,
0.037606787,
-0.03649899,
-0.009722375,
0.02109187,
-0.033729497,
-0.017812207,
-0.032009497,
-0.014481529,
-0.03142645,
-0.049355265,
-0.035187125,
0.040930178,
-0.01756441,
0.014940681,
-0.06897493,
-0.058946453,
0.025304412,
-0.0012444494,
-0.011223732,
0.0074120355,
-0.028788142,
-0.018599326,
0.03133899,
-0.020567123,
0.032417633,
-0.050054926,
-0.02018814,
-0.013147799,
0.03442916,
-0.037781704,
0.0031521192,
0.048772212,
0.039151873,
-0.0070439847,
-0.035886787,
0.0054515265,
0.04174645,
-0.008651019,
-0.0018138351,
-0.006621273,
-0.009642205,
-0.026426785,
-0.0006286018,
-0.030814243,
-0.0549234,
0.0036386026,
0.029254582,
0.0038554245,
-0.017681021,
0.013825596,
0.026849497,
0.009795256,
0.059995946,
0.0019477546,
0.026791193,
0.021077292,
-0.02351153,
0.066467814,
-0.0036003396,
-0.029269159,
-0.052445434,
-0.0053021195,
0.024794243,
0.0050579673,
0.043116618,
0.008658307,
0.038627125,
-0.008242883,
0.034633227,
-0.0151301725,
-0.033933565,
0.0043364414,
0.05527323,
-0.01588814,
0.025829159,
-0.0050834757,
0.000054461743,
0.0024233055,
-0.0070840693,
0.0016015681,
-0.030551871,
-0.010035764,
-0.026864074,
0.0051308484,
0.0147657655,
0.01670441,
0.006176696,
-0.023832208,
0.016500343,
-0.014831359,
-0.0394434,
-0.017885089,
0.004402035,
-0.025348142,
-0.023759328,
0.050725434,
-0.03501221,
0.04028882,
0.040113907,
0.025581362,
0.00048238356,
0.021427123,
0.015611189,
0.047781028,
0.053028487,
-0.017739326,
-0.0663512,
-0.025945768,
0.017418647,
-0.014459664,
0.012214918,
-0.010305426,
-0.03422509,
0.03947255,
0.065593235,
0.0026947886,
-0.0077691544,
0.038014922,
-0.076029845,
-0.013402884,
-0.012579325,
0.0035748312,
0.027563734,
-0.013490342,
0.017360343,
-0.0549234,
0.011879664,
-0.028831871,
0.032009497,
0.006078306,
0.030522719,
-0.0051745772,
-0.0036823312,
-0.037490178,
0.062094927,
0.010735426,
0.02190814,
-0.029560683,
-0.0049267807,
0.027928142,
-0.038393907,
-0.023176275,
-0.005797713,
-0.014277461,
0.01306763,
0.06349425,
0.048305772,
0.020115258,
0.01807458,
-0.011872375,
0.017229157,
-0.007842036,
0.0062459335,
0.0044494076,
0.037256956,
-0.0028113988,
-0.00989729,
0.001911314,
-0.012156612,
0.03579933,
-0.009525595,
0.00573212,
0.032650854,
-0.05571052,
0.01189424,
-0.029779328,
-0.0063880524,
-0.047285434,
0.006657713,
0.01995492,
-0.035303738,
-0.031280685,
0.062444758,
-0.029050514,
0.029910514,
-0.004566018,
0.008002374,
0.0009793434,
-0.0027111871,
-0.02257865,
0.015902715,
0.024473565,
-0.020158987,
-0.0045915265,
-0.03387526,
0.01330085,
-0.004893984,
-0.018861698,
0.043670516,
-0.024182038,
0.016092207,
0.019590512,
-0.0011487926,
0.05652679,
0.005017882,
0.036877975,
0.0011351274,
0.007437544,
0.019503055,
0.015363393,
-0.018249495,
0.022170514,
0.03501221,
0.04932611,
0.025595937,
0.02996882,
0.019925768,
0.038714584,
0.025479328,
0.029764753,
-0.014299325,
0.019473903,
0.0038882212,
0.031863734,
0.019925768,
0.016165089,
-0.026776616,
-0.02163119,
0.010115935,
-0.007601527,
0.011223732,
-0.051978994,
0.042242043,
0.02128136,
-0.016602376,
-0.0503173,
0.0034327125,
-0.0147001725,
0.0406095,
-0.014190003,
-0.004037628,
0.027097294,
-0.009518307,
-0.0072626285,
0.009051866,
0.03993899,
0.042854246,
-0.020916954,
0.016296275,
-0.013803732,
-0.040522043,
-0.02085865,
-0.016689833,
-0.07836205,
0.008942544,
-0.04985086,
-0.0020844073,
0.002547204,
-0.03224272,
0.005797713,
-0.01201085,
-0.010808308,
0.015538309,
-0.01158085,
0.009153901,
0.068100356,
0.025129497,
-0.076671205,
0.038685434,
-0.040113907,
0.012506443,
0.019298987,
-0.023584412,
0.025610514,
-0.002501653,
0.020742038,
0.023015937,
-0.0428834,
-0.03297153,
-0.038364753,
0.016456613,
-0.0002301457,
-0.007557798,
0.016602376,
0.030901702,
0.005375001,
0.019984072,
-0.019196954,
-0.041950516,
0.0423295,
0.024386106,
0.0029680938,
0.0248817,
-0.014066105,
0.03958916,
-0.023803055,
0.047402043,
0.075213574,
-0.012273223,
-0.041892212,
-0.022214241,
-0.024852548,
0.008512544,
0.008884239,
-0.0320678,
-0.013053054,
0.0446034,
-0.026922379,
-0.03043526,
-0.029691871,
-0.023030514,
-0.023598988,
-0.006256866,
-0.031834584,
0.0406095,
0.030464413,
0.02421119,
-0.04585696,
0.0037351702,
-0.0027986446,
0.029035939,
-0.0055863573,
-0.024007123,
0.048713908,
0.03923933,
0.0231617,
0.004194323,
0.03728611,
-0.05410713,
0.021572886,
-0.0026000428,
0.0038372043,
-0.0021700428,
0.005426018,
0.006526527,
-0.016427461,
0.04244611,
-0.02139797,
0.021368818,
0.006326103,
0.002284831,
0.047781028,
0.03935594,
-0.00018060915,
-0.008009663,
-0.07031595,
0.0024706784,
0.005812289,
0.005371357,
0.047081366,
-0.020071529,
0.040055603,
-0.015086444,
-0.055040013,
-0.003722416,
0.009328815,
-0.023249157,
0.038627125,
0.06839188,
0.018264072,
-0.028307125,
-0.03556611,
0.025129497,
0.00860729,
0.02527526,
0.03649899,
0.0020880513,
-0.03568272,
0.010064918,
-0.04827662,
0.0021591105,
-0.011821358,
0.0064463574,
-0.038714584,
-0.042504415,
-0.018686784,
-0.012878139,
0.0071022897,
0.059879333,
0.03775255,
0.0057503404,
0.0628529,
-0.005061611,
-0.015450851,
0.010429325,
-0.0053567807,
-0.042154584,
-0.048538994,
0.019386444,
0.024794243,
-0.0013683478,
0.009270511,
-0.013257122,
-0.015392546,
0.02253492,
-0.030493565,
-0.019255258,
-0.022360004,
-0.023059666,
-0.0070767812,
0.024342379,
-0.0457695,
-0.032009497,
-0.065709844,
0.006577544,
0.05871323,
-0.016296275,
-0.0045623737,
-0.050812893,
-0.035187125,
0.022462038,
-0.008046104,
-0.055972893,
-0.018438987,
0.0103491545,
-0.05993764,
0.047285434,
0.052970182,
-0.0248817,
0.0098025445,
-0.063960694,
0.007987798,
-0.002293941,
-0.023336615,
-0.026907802,
0.014845936,
0.0030719498,
-0.020392207,
0.025056615,
0.009809832,
-0.0013774579,
0.004930425,
-0.010713561,
-0.002290297,
-0.05606035,
-0.041425772,
-0.026747463,
-0.008381357,
-0.0015432631,
0.029502379,
0.015407122,
-0.011318477,
0.012098308,
0.02225797,
-0.047635265,
-0.0492095,
0.00021613881,
0.05410713,
0.017724749,
0.047460347,
-0.005735764,
-0.020975258,
0.03224272,
0.009613053,
-0.014270172,
0.013468477,
-0.02167492,
-0.013453901,
-0.014233732,
-0.004766442,
0.020567123,
-0.048305772,
0.040667806,
-0.014000512,
0.026907802,
-0.0063078827,
-0.047985096,
-0.02539187,
0.00989729,
0.00012856729,
0.02190814,
0.02492543,
0.034808144,
0.010917629,
0.009460002,
0.0027731361,
-0.02641221,
-0.031980347,
0.01905119,
0.069849506,
0.005090764,
0.03579933,
-0.014896953,
-0.025829159,
-0.0027002548,
-0.012812545,
0.033991873,
-0.003771611,
-0.026572548,
-0.0022611446,
-0.038714584,
-0.017753903,
-0.015625766,
-0.015990173,
-0.011668308,
0.0028223312,
-0.036994584,
-0.00989729,
-0.0053567807,
-0.046614926,
0.036615603,
-0.022666106,
-0.04037628,
0.009853561,
-0.001965975,
0.050054926,
0.02030475,
0.032330178,
-0.026674582,
-0.06349425,
-0.03268001,
0.042504415,
-0.05950035,
-0.01255746,
-0.04623594,
-0.04037628,
0.00010305882,
0.021339666,
0.011362206,
-0.04678984,
0.015494579,
-0.0388895,
0.0019222462,
-0.053698994,
-0.036003396,
-0.026732886,
0.03142645,
-0.032184415,
0.055564757,
0.01631085,
-0.023963396,
-0.0032122463,
0.008381357,
0.028030176,
0.04541967,
-0.012572036,
-0.029502379,
0.039647467,
-0.0071533066,
-0.007958646,
0.040230516,
-0.0059872046,
0.029065091,
0.022753565,
0.0589173,
-0.062386453,
-0.048101705,
-0.02441526,
-0.022214241,
0.043320686,
-0.021558309,
0.03189289,
-0.01909492,
0.0016534961,
-0.0010294494,
0.067284085,
-0.019022038,
-0.0088259345,
-0.049355265,
-0.052795265,
0.047110517,
-0.037140347,
0.01944475,
-0.023307463,
-0.020567123,
0.04334984,
-0.026120683,
-0.016500343,
0.04713967,
-0.014087969,
0.014955257,
-0.010924918,
0.04848069,
0.017753903,
0.014270172,
-0.019459326,
0.030027125,
-0.01823492,
0.021543734,
-0.022913903,
-0.03956001,
0.007645256,
0.025712548,
0.022680683,
-0.020158987,
0.025377294,
-0.005149069,
-0.0320678,
-0.042941704,
0.030114582,
0.01510102,
0.029371193,
-0.0011925214,
0.028613226,
-0.010647968,
0.021572886,
0.005968984,
0.0040740687,
-0.014343054,
0.062444758,
0.006362544,
-0.03594509,
0.0013592376,
0.035303738,
-0.03168882,
-0.031513903,
-0.04206713,
0.020800343,
-0.053698994,
-0.007922205,
0.01670441,
-0.018264072,
-0.021485427,
0.051221028,
0.05183323,
0.0123169515,
-0.04644001,
0.04369967,
0.013439325,
-0.03125153,
0.010064918,
0.027534582,
-0.01072085,
-0.031164074,
-0.0019386444,
0.023074241,
-0.031047463,
-0.024152886,
0.06780883,
-0.023496954,
0.038743738,
0.07643798,
0.0017746614,
0.039414246,
0.00004822697,
-0.00164803,
-0.0008276591,
-0.025406446,
-0.037082043,
-0.04107594,
0.013993223,
0.004092289,
0.019809157,
-0.056235265,
-0.0024196615,
0.02225797,
0.06302781,
-0.011719325,
-0.061745096,
0.03066848,
-0.05489425,
-0.03440001,
0.04839323,
0.013176952,
-0.0055572046,
0.03821899,
-0.011260171,
-0.069907814,
0.008534408,
0.019896613,
-0.0053349165,
-0.01737492,
-0.036324076,
-0.021820683,
-0.038860347,
-0.01956136,
-0.015756952,
-0.027388819,
0.029881362,
0.019736275,
0.014889664,
-0.004303645,
0.003088348,
-0.0070476285,
-0.03387526,
0.032563396,
-0.00073018024,
0.013002037,
-0.031018311,
-0.0063406792,
-0.027534582,
0.001059513,
-0.009795256,
-0.022957632,
0.0084615275,
0.008279324,
-0.008497968,
0.0034746195,
0.01392763,
0.054136284,
-0.010531358,
-0.019357292,
-0.029196277,
0.019240681,
-0.04588611,
0.0064755096,
-0.03270916,
-0.038014922,
-0.031134922,
0.049705096,
-0.00541873,
0.014299325,
-0.019634241,
0.03512882,
-0.01201085,
0.028700683,
0.004624323,
-0.0029097886,
0.029531531,
0.01909492,
0.017578987,
-0.03856882,
0.016442038,
0.05661425,
-0.049471874,
0.05993764,
0.02797187,
-0.014233732,
0.006741527,
0.023234582,
0.04839323,
0.076962724,
0.0144523755,
-0.044370178,
-0.017258309,
-0.0059252554,
-0.020829495,
0.0144523755,
-0.06431052,
-0.023948818,
0.031397294,
-0.022243394,
0.009066443,
-0.034924753,
0.018949157,
0.02464848,
0.01819119,
0.010815595,
0.04463255,
-0.021602038,
0.005156357,
-0.0046498314,
-0.043553907,
-0.05880069,
-0.018045427,
0.026674582,
-0.0320678,
-0.034283396,
0.028831871,
0.016952207,
-0.0011460596,
0.002820509,
-0.013650681,
-0.013854749,
0.013155088,
0.01819119,
-0.04244611,
0.0050142384,
-0.053407468,
0.019984072,
-0.021689497,
-0.004187035,
-0.0043838145,
0.018963734,
0.0011779452,
0.018089157,
0.0070476285,
0.049909163,
0.0008946188,
-0.02425492,
0.029881362,
-0.008964408,
0.041134246,
-0.0066249166,
0.007215256,
-0.00070239423,
0.047547806,
0.010917629,
0.013373732,
0.010494918,
0.040143058,
0.0031630516,
-0.0061366116,
-0.004085001,
0.019634241,
0.01865763,
0.0121347485,
-0.013760003,
-0.02429865,
-0.0071897474,
0.011515257,
0.03853967,
0.05524408,
-0.002241102,
-0.016252546,
0.00223017,
-0.043291535,
0.025056615,
-0.021776954,
-0.07037425,
-0.015348817,
0.037606787,
0.046002723,
0.007951357,
0.03982238,
0.0314556,
0.029254582,
0.028890176,
-0.0022502122,
0.018570174,
-0.020844072,
0.037810855,
-0.0007137819,
0.024152886,
-0.03909357,
-0.018060004,
0.0033142804,
-0.003084704,
-0.027213903,
0.041134246,
-0.0065155947,
-0.016369157,
-0.012280511,
-0.022797292,
-0.014080681,
-0.06005425,
0.036178313,
-0.04813086,
-0.012018139,
-0.006745171,
-0.011194578,
-0.05104611,
0.017681021,
-0.017389495,
0.044749163,
0.008257459,
0.03329221,
0.0033580093,
0.062444758,
0.056468487,
0.011376782,
0.04256272,
0.0062823743,
-0.05273696,
0.008366781,
-0.013519495,
-0.006005425,
0.014824071,
-0.04795594,
-0.075913236,
0.031134922,
-0.006286018,
-0.04037628,
-0.05888815,
0.0018411656,
0.015407122,
-0.023147123,
-0.013468477,
0.088040695,
0.0039027974,
-0.016718987,
-0.0028751702,
0.018453563,
-0.056585096,
-0.039181024,
-0.012586613,
0.029793905,
-0.00064135605,
-0.02899221,
0.013176952,
-0.048538994,
0.033729497,
0.009460002,
-0.0015642165,
0.019415597,
0.007761866,
0.035857633,
0.01865763,
0.018205766,
-0.03990984,
-0.024050852,
0.044428483,
0.046177637,
-0.0035711871,
0.06880002,
0.06186171,
0.027403396,
-0.008395934,
0.013074918,
0.00042316745,
-0.0059762723,
-0.013235257,
-0.008942544,
0.009030002,
0.0037078396,
-0.039793227,
0.013235257,
0.024940005,
-0.012907291,
-0.027374243,
-0.02985221,
-0.038743738,
-0.056847468,
-0.0031776277,
-0.04641086,
-0.019546784,
-0.0072188997,
-0.019867461,
0.02899221,
-0.055389844,
0.25234446,
0.03784001,
0.014707461,
-0.0061949166,
0.027243057,
0.034953907,
0.0029680938,
0.01533424,
0.032446787,
-0.039647467,
-0.004569662,
-0.036003396,
0.013176952,
0.02023187,
-0.015742376,
0.025610514,
-0.06267798,
-0.006369832,
-0.0417173,
-0.025537632,
-0.051162723,
0.028686108,
0.01846814,
0.035362042,
0.06005425,
0.009015426,
-0.04623594,
-0.029021362,
-0.013286274,
-0.052532893,
0.010422036,
-0.013176952,
0.011916104,
-0.028205091,
-0.012703223,
-0.0049850857,
-0.0054661026,
-0.03845221,
-0.02808848,
0.030755939,
0.020669157,
-0.039705772,
0.041892212,
-0.0011979876,
0.011486104,
0.03947255,
-0.026470514,
0.02014441,
-0.01255746,
-0.056760013,
0.0005907946,
-0.075213574,
0.03203865,
-0.059675265,
-0.048713908,
-0.017651869,
-0.0628529,
-0.0446034,
0.012834409,
-0.004689916,
-0.0039538145,
0.040113907,
-0.036353227,
0.013519495,
-0.04413696,
0.011223732,
-0.014802206,
0.03845221,
-0.013949495,
-0.0016689834,
-0.02018814,
-0.007754578,
-0.010516782,
-0.009868138,
0.03830645,
0.023015937,
0.021704072,
0.036615603,
0.0024324157,
-0.05139594,
0.0046862722,
0.015567461,
0.022287123,
-0.029196277,
0.017739326,
0.027213903,
-0.04358306,
0.006745171,
0.02281187,
0.02636848,
0.023409497,
0.050346453,
0.012535596,
-0.002924365,
-0.033117294
] |
How to convert a 🤗 Transformers model to TensorFlow?
Having multiple frameworks available to use with 🤗 Transformers gives you flexibility to play their strengths when
designing your application, but it implies that compatibility must be added on a per-model basis. The good news is that
adding TensorFlow compatibility to an existing model is simpler than adding a new model from scratch!
Whether you wish to have a deeper understanding of large TensorFlow models, make a major open-source contribution, or
enable TensorFlow for your model of choice, this guide is for you.
This guide empowers you, a member of our community, to contribute TensorFlow model weights and/or
architectures to be used in 🤗 Transformers, with minimal supervision from the Hugging Face team. Writing a new model
is no small feat, but hopefully this guide will make it less of a rollercoaster 🎢 and more of a walk in the park 🚶.
Harnessing our collective experiences is absolutely critical to make this process increasingly easier, and thus we
highly encourage that you suggest improvements to this guide!
Before you dive deeper, it is recommended that you check the following resources if you're new to 🤗 Transformers:
- General overview of 🤗 Transformers
- Hugging Face's TensorFlow Philosophy
In the remainder of this guide, you will learn what's needed to add a new TensorFlow model architecture, the
procedure to convert PyTorch into TensorFlow model weights, and how to efficiently debug mismatches across ML
frameworks. Let's get started! |
[
0.037053388,
0.01340011,
-0.04199566,
-0.0269504,
0.018635916,
-0.025025371,
0.03262992,
-0.01418514,
0.00036691592,
0.07132163,
0.0015461666,
-0.02049268,
0.042323325,
-0.04718368,
0.021530284,
0.029653631,
0.022199266,
-0.019414118,
-0.051006433,
0.0029831117,
0.016123822,
-0.0038568836,
-0.08098773,
-0.033394467,
-0.035879258,
0.03773602,
0.0132567575,
-0.034240935,
0.092346765,
0.06482295,
-0.038063686,
0.0042698774,
0.007898078,
-0.0077137672,
-0.037845243,
-0.028588723,
-0.0032339797,
-0.039674703,
-0.035114706,
-0.050706074,
0.02913483,
-0.046856016,
0.023796631,
-0.07050247,
-0.04071231,
0.02385124,
-0.0033005367,
-0.045272302,
0.0020854475,
-0.051989425,
0.0075021503,
0.035988476,
-0.0025428126,
0.0075908927,
-0.057177447,
-0.032520697,
-0.0041777217,
0.05166176,
-0.03361291,
-0.005498619,
0.03415902,
0.00765233,
-0.012963224,
-0.052344393,
0.020683818,
0.064440675,
-0.008321311,
0.0006544756,
-0.012963224,
0.004184548,
-0.06269313,
-0.012785739,
-0.044726197,
-0.034186322,
0.0066078994,
0.0012381278,
0.033940576,
-0.019004537,
-0.008055084,
0.0118983155,
-0.009980113,
0.04185913,
-0.035005484,
0.026226807,
0.017652921,
-0.00043261945,
0.05903421,
-0.023482619,
-0.043715898,
-0.019769087,
-0.016082862,
0.055839483,
0.033176024,
0.023987768,
0.009208736,
0.034186322,
-0.009461311,
0.050433017,
0.002940447,
-0.028561417,
0.020479027,
0.058597323,
-0.041012667,
0.021694116,
0.0019079627,
0.0022748786,
0.003665746,
0.010737836,
0.010908496,
-0.05201673,
0.003925147,
-0.012731129,
-0.019455077,
0.03273914,
-0.008628497,
-0.019455077,
0.0024557768,
0.028452195,
-0.0539008,
-0.019182023,
0.019714477,
-0.013277236,
-0.042678293,
-0.004658979,
0.00045992484,
-0.023168607,
0.03885554,
0.061928578,
0.020001184,
-0.0020359566,
-0.009079035,
0.018321903,
0.03320333,
0.05261745,
-0.02460214,
-0.027906088,
-0.02806992,
0.027045969,
0.010539873,
-0.019086454,
-0.008048258,
-0.020588249,
0.029107524,
0.058378883,
0.017216036,
0.014772206,
0.025230162,
-0.09895466,
0.0006425295,
-0.00044925866,
0.021462021,
0.0022049088,
-0.018949928,
0.021584895,
-0.0427056,
0.011024543,
-0.016410528,
0.020369805,
0.014212445,
0.044616975,
0.003966105,
0.021298189,
-0.041094583,
0.0467741,
0.01312023,
0.06531444,
-0.021025134,
0.01454011,
0.030800458,
-0.020506334,
-0.0033346682,
0.01993292,
-0.0139803495,
-0.018622262,
0.077874914,
0.033722132,
0.049176972,
0.0133454995,
0.018431125,
0.001981346,
-0.019086454,
-0.000996646,
0.005129996,
0.01707951,
0.009679753,
0.010840232,
0.0010495501,
-0.0062324507,
0.050405715,
-0.020765735,
-0.01509987,
0.054173853,
-0.05220787,
0.015700588,
-0.04300596,
-0.0071813124,
-0.020069446,
0.004501973,
0.03533315,
-0.032548003,
-0.033995185,
0.04352476,
-0.02913483,
0.026458904,
-0.020861303,
0.022363098,
-0.037845243,
0.034650516,
-0.009515922,
0.01535927,
0.03279375,
0.008778676,
-0.01987831,
-0.02460214,
0.0018687113,
-0.026267767,
-0.010608137,
-0.0032681115,
-0.0068263425,
-0.0060242475,
0.06110942,
-0.0041674823,
0.034759738,
-0.00498323,
0.015331965,
0.004781853,
0.020984177,
0.028397584,
-0.006676163,
0.01657436,
-0.020328848,
0.01545484,
0.05444691,
0.024342738,
0.029680938,
-0.0069901748,
0.011181549,
0.02715519,
0.0132567575,
0.0052938284,
0.013277236,
0.026841179,
-0.011918794,
0.027592076,
-0.010560352,
-0.01937316,
-0.030090518,
-0.0028414652,
-0.016847413,
-0.028807165,
-0.03148309,
0.049450025,
0.029953992,
-0.014690289,
-0.033285245,
-0.03391327,
-0.011618435,
-0.008683108,
-0.018922621,
0.00026729397,
0.04382512,
0.0023789804,
-0.0074202344,
-0.0113522075,
0.05125218,
0.03519662,
-0.024547528,
0.020833997,
-0.027373634,
-0.015796157,
-0.027919741,
-0.04174991,
-0.07541743,
-0.015331965,
-0.029298661,
-0.02842489,
0.00006997001,
-0.025216509,
0.009003946,
-0.020383459,
0.017475437,
0.010273646,
-0.0082667,
0.023441661,
0.037107997,
0.029899381,
-0.031046206,
0.06383996,
-0.055511817,
0.016137473,
0.011768615,
-0.039674703,
-0.02232214,
-0.000024278846,
0.050569545,
0.026513515,
0.0070038275,
-0.04254177,
-0.04428931,
0.00575802,
-0.02471136,
-0.004744308,
-0.029517105,
0.03232956,
0.015577714,
-0.0006903139,
-0.03970201,
-0.057068225,
0.04876739,
0.037708715,
0.0039968234,
0.013447895,
-0.010608137,
0.025284773,
-0.0136458585,
0.03265722,
0.059634928,
-0.0004846703,
-0.0048125717,
-0.02801531,
-0.023250522,
0.021994475,
-0.0058877203,
-0.033940576,
-0.036944166,
0.026704652,
-0.014622026,
-0.045736495,
-0.034705125,
-0.033012193,
-0.01095628,
0.010888017,
-0.021325493,
0.04723829,
0.016451485,
-0.0051948465,
-0.011010891,
0.017325258,
-0.025557827,
0.02105244,
0.013727775,
0.0008942509,
0.046309907,
0.023277828,
-0.008689934,
-0.023905851,
0.035060097,
-0.08628497,
0.011004064,
-0.007311013,
0.026445251,
0.011857357,
-0.037708715,
-0.0048330505,
-0.016069211,
0.041558772,
-0.03732644,
0.016615318,
-0.011543346,
0.021462021,
0.03975662,
0.031046206,
0.009679753,
-0.0029063153,
-0.084537424,
0.017270647,
0.022131003,
-0.010969932,
0.05603062,
0.0069901748,
0.055757567,
-0.009638796,
-0.043743204,
0.02334609,
-0.022390403,
-0.04551805,
0.06061792,
0.056358285,
0.009556879,
-0.029353272,
-0.059361875,
0.011345381,
-0.006280235,
0.056522116,
0.026991358,
0.0080073,
-0.031455785,
0.0009932328,
-0.01886801,
0.06493217,
-0.009399874,
-0.025994712,
-0.024397349,
-0.019891962,
-0.014335319,
-0.055129543,
0.038364045,
0.057232056,
0.025380341,
-0.025161898,
0.043552067,
0.023018427,
0.011399992,
-0.0032390996,
0.013284063,
-0.0376268,
-0.04871278,
0.034759738,
0.061600916,
-0.0061539477,
0.0030445487,
-0.012307895,
0.0096934065,
0.005160715,
-0.027988004,
-0.007898078,
-0.02801531,
-0.02842489,
-0.012362506,
0.04183183,
-0.062092412,
-0.009502268,
-0.039374344,
0.02730537,
0.03350369,
-0.027059622,
-0.0022748786,
-0.03533315,
-0.02460214,
0.056412894,
-0.009850413,
-0.021516632,
-0.03492357,
-0.006150535,
-0.036425363,
0.039783925,
0.046801403,
-0.073178396,
-0.026718305,
-0.05548451,
0.00428353,
0.02241771,
0.0062256246,
-0.017052203,
-0.010389693,
-0.044480447,
0.02404238,
0.045326915,
0.012649213,
0.049859606,
0.024998067,
-0.022049086,
-0.024424654,
-0.053163555,
0.006256343,
-0.02282729,
0.002479669,
-0.022704415,
0.03716261,
0.037135303,
0.003237393,
0.0008319605,
0.03899207,
-0.06400379,
-0.032466084,
0.0070857434,
0.009338437,
-0.010341909,
0.052753974,
0.014826816,
-0.034978177,
0.0025359862,
0.0012202087,
-0.0062256246,
0.05037841,
-0.0045565837,
0.020943219,
0.0066078994,
-0.022171961,
0.024342738,
-0.057286665,
0.013994002,
0.010430652,
0.018431125,
-0.006938977,
-0.023974115,
-0.047320206,
0.008874245,
-0.048139367,
0.021270884,
0.019700825,
0.0028926625,
-0.010253167,
-0.027673993,
-0.013038314,
-0.010826579,
0.013140709,
0.030800458,
0.032984886,
0.009843586,
0.028643332,
-0.005522511,
-0.009720712,
-0.017448131,
-0.027919741,
0.01299053,
0.0095705325,
-0.014717595,
0.02461579,
0.002800507,
-0.056522116,
-0.0022509864,
-0.011509214,
-0.004071913,
0.029298661,
-0.04805745,
0.019823698,
-0.03415902,
-0.046255298,
0.0005674397,
-0.016451485,
-0.060945585,
0.009495443,
-0.002252693,
0.045463443,
0.006379217,
0.041367635,
-0.07416139,
-0.036998775,
-0.041094583,
0.037299134,
-0.056959003,
0.007898078,
-0.021571243,
-0.023810282,
0.0015376337,
0.026404293,
0.03727183,
-0.0048398767,
-0.006894606,
-0.015468492,
-0.0139803495,
-0.058924988,
-0.018881664,
-0.008949335,
0.013168015,
-0.00046760446,
0.047429428,
0.04205027,
-0.04153147,
-0.008928856,
0.0006668483,
0.03615231,
0.009474964,
-0.024629444,
-0.054283075,
0.010048376,
0.011010891,
-0.02211735,
0.057341278,
-0.03019974,
0.014949691,
0.0075362823,
0.03148309,
-0.043060567,
-0.036889557,
-0.018731484,
-0.00793221,
0.035469677,
-0.051170263,
0.03243878,
-0.018949928,
0.025844533,
-0.02196717,
0.032984886,
-0.040220812,
0.004061674,
-0.028861776,
-0.04412548,
0.051279485,
-0.043033265,
-0.0012219154,
-0.020042142,
0.015058911,
0.07842103,
-0.018007891,
-0.01403496,
0.0712124,
-0.014922385,
0.0064611332,
0.015086217,
0.031237343,
-0.00007743632,
0.0096934065,
-0.02170777,
0.039347038,
-0.024574833,
0.022281183,
-0.022909205,
-0.03243878,
-0.0026964054,
0.026650041,
0.03691686,
-0.001276526,
0.011754962,
0.0018840706,
-0.019919267,
-0.043442845,
0.012628734,
0.0009480083,
0.012423944,
-0.0044541885,
0.052808587,
-0.014813163,
0.0029950577,
0.017093161,
-0.030773152,
-0.027592076,
0.062256243,
-0.006140295,
-0.045217693,
-0.0017006126,
0.048822,
-0.011242986,
-0.047593262,
-0.018212682,
0.048876613,
-0.018635916,
0.0017987413,
0.012246459,
-0.018881664,
0.0043995776,
0.06826343,
0.028889082,
0.025516868,
-0.034841653,
0.05278128,
-0.0136458585,
-0.010410172,
0.006157361,
0.04174991,
-0.0256807,
-0.01698394,
-0.019004537,
0.058488104,
-0.042323325,
-0.03437746,
0.034240935,
-0.035469677,
0.010546699,
0.0075635877,
-0.010683226,
0.043306317,
0.0020171842,
0.004805745,
0.016082862,
-0.027906088,
-0.037817936,
-0.0401662,
0.013229452,
0.000108368185,
0.019755436,
-0.005153889,
0.016178431,
0.009386221,
0.04669218,
-0.010655921,
-0.05914343,
0.011304423,
-0.022608846,
-0.0037169436,
0.059798762,
-0.00023508217,
0.028861776,
0.012382985,
-0.010232688,
-0.06831804,
0.004071913,
0.022212919,
0.01200071,
-0.029325968,
-0.04740212,
-0.0077615515,
-0.038063686,
0.013516158,
-0.01550945,
0.0045326916,
-0.030227045,
0.003479728,
0.019755436,
-0.007904905,
0.02176238,
0.017885018,
-0.021543937,
0.029189441,
-0.02460214,
0.0001599924,
-0.027005011,
-0.010075682,
-0.026923096,
0.044180088,
-0.0054713134,
-0.025803575,
0.039729312,
0.0083008325,
-0.004904727,
-0.013516158,
0.02725076,
0.05048763,
-0.040138893,
-0.00058109243,
-0.014075918,
0.027783215,
-0.00448832,
0.016274001,
-0.0132567575,
-0.0067410134,
-0.036698416,
0.01312023,
0.009980113,
0.022158308,
-0.009195084,
0.009563706,
0.02760573,
0.039538175,
-0.0017373041,
0.0033005367,
0.04540883,
0.020055795,
-0.01192562,
-0.046856016,
-0.001087095,
0.0335583,
-0.015741546,
0.0178031,
0.035961173,
-0.012717476,
0.0013976936,
0.039592788,
-0.0013994002,
0.05349122,
0.039210513,
0.021857949,
-0.04245985,
-0.03396788,
-0.014335319,
0.01535927,
-0.072031565,
-0.03874632,
0.018676873,
-0.039592788,
0.0118641835,
0.015837114,
-0.01017125,
0.022049086,
0.0009727538,
0.017844059,
0.0026964054,
-0.0047852662,
0.018758789,
-0.011727656,
-0.06733504,
-0.050815295,
0.02913483,
0.027141538,
-0.04316979,
-0.03445938,
0.052399006,
-0.016765498,
0.0061471215,
-0.019536993,
-0.025202857,
-0.007734246,
-0.0013712415,
0.0190728,
-0.05537529,
0.0056692776,
-0.044453144,
0.038009074,
-0.016765498,
-0.0021758967,
-0.00048253709,
0.021926213,
-0.008457839,
0.012096279,
0.0113180755,
0.056412894,
0.02715519,
-0.025776269,
0.04682871,
-0.004365446,
0.028288364,
-0.01713412,
0.013284063,
0.01185053,
0.03344908,
-0.00024233515,
0.026841179,
-0.021421064,
0.030063212,
-0.004805745,
-0.022103697,
0.0004091539,
0.031455785,
0.012901788,
0.01703855,
-0.004897901,
0.014417236,
0.03238417,
0.0021485912,
0.029107524,
0.035305843,
-0.017366216,
-0.020888608,
0.010000592,
-0.03402249,
0.010799274,
-0.01586442,
-0.0681542,
-0.03486896,
0.035223927,
0.03385866,
0.0051334095,
0.03579734,
-0.009877718,
-0.0014898493,
0.04876739,
0.0068809534,
-0.0034455964,
-0.02323687,
0.03492357,
0.0023789804,
0.022008128,
-0.00091558316,
-0.006932151,
-0.00008719586,
-0.021939864,
-0.013700469,
0.061491694,
0.010232688,
-0.018840706,
-0.0100825075,
-0.03320333,
-0.004897901,
-0.066788934,
0.036125004,
-0.054337688,
0.0003603029,
0.008997119,
0.0031452372,
-0.053573135,
0.036125004,
-0.04183183,
0.005020775,
0.026349682,
0.01550945,
-0.0013678283,
0.0757451,
0.04215949,
0.01327041,
0.031701535,
0.037135303,
-0.035415065,
-0.01228059,
0.02562609,
-0.016751844,
-0.0039899973,
-0.05589409,
-0.049804997,
0.02624046,
-0.0048876614,
-0.014826816,
-0.045326915,
-0.044480447,
0.027018664,
-0.027400939,
-0.030117823,
0.0712124,
-0.008102869,
-0.016588012,
0.0031657163,
-0.008464665,
-0.009952808,
-0.06181936,
-0.0043927515,
0.034104407,
0.00076796353,
-0.028151836,
-0.014758552,
-0.05059685,
0.034350157,
0.009222389,
-0.05024188,
0.019127412,
-0.0050651464,
0.011181549,
0.033230636,
0.0131338835,
0.000029998575,
0.009106341,
0.042787515,
0.044098172,
0.016751844,
0.060344867,
0.059252653,
0.019154716,
-0.016028251,
0.033885963,
-0.011372686,
-0.009727539,
-0.015058911,
-0.00095739454,
-0.00597305,
-0.01636957,
-0.073178396,
0.028233754,
0.0077001145,
-0.017093161,
0.0056078406,
-0.011741309,
-0.034896262,
-0.04598224,
0.000039758113,
-0.046091463,
-0.019345855,
-0.005375745,
-0.029544411,
0.07159468,
-0.046255298,
0.21571243,
0.043197095,
0.01845843,
0.013686817,
0.019127412,
0.06717121,
0.04205027,
0.011345381,
0.0080346055,
-0.06738965,
-0.012731129,
-0.038910154,
-0.02120262,
0.02553052,
-0.04245985,
0.039510872,
-0.048467033,
-0.015017954,
-0.06351229,
-0.022909205,
-0.063020796,
0.04595494,
0.022240223,
0.038964763,
0.02680022,
0.010710532,
-0.027182495,
-0.040685,
-0.008328138,
-0.07732881,
0.011891489,
-0.018199028,
-0.0030240698,
-0.022731721,
-0.043552067,
0.0040514343,
0.0028397585,
-0.0147039415,
0.018881664,
0.026690999,
0.016956635,
-0.03899207,
0.0039387997,
0.00834179,
0.014594721,
0.037845243,
-0.027237106,
-0.008464665,
-0.017475437,
-0.056959003,
0.007276881,
-0.046856016,
0.02715519,
-0.061710138,
-0.0216122,
-0.0031827823,
-0.029271357,
-0.032056503,
0.026813874,
-0.0044678412,
-0.025079982,
-0.014649331,
-0.043743204,
0.0320292,
-0.006915085,
-0.01489508,
-0.009495443,
0.02562609,
0.030800458,
0.009474964,
0.0015717654,
0.02633603,
-0.028861776,
-0.02786513,
0.024875192,
0.008150653,
0.009529574,
0.037381053,
-0.016956635,
-0.018622262,
0.009174604,
-0.016424181,
0.025366688,
-0.06198319,
0.022526931,
0.0188134,
-0.06307541,
-0.016287653,
0.024629444,
0.024465611,
0.030500099,
0.050924517,
0.0033500276,
-0.0104169985,
-0.011242986
] | Step-by-step guide to add TensorFlow model architecture code
There are many ways to design a large model architecture, and multiple ways of implementing said design. However,
you might recall from our general overview of 🤗 Transformers
that we are an opinionated bunch - the ease of use of 🤗 Transformers relies on consistent design choices. From
experience, we can tell you a few important things about adding TensorFlow models: |
[
0.042111203,
-0.0053033167,
-0.047242522,
-0.0051384843,
0.021370934,
-0.03752455,
0.0065968963,
-0.0009666012,
0.03141857,
0.049793847,
0.021141602,
-0.016812949,
0.06105981,
-0.06358247,
-0.016110618,
0.018805275,
0.018403944,
-0.0016456407,
-0.07367311,
0.032622565,
0.016755614,
-0.010907633,
-0.061690476,
-0.016239617,
-0.023019262,
0.030959904,
0.017988278,
-0.04431853,
0.072411776,
0.03677922,
-0.03973188,
-0.0108144665,
0.00024836903,
-0.038900547,
-0.010520634,
-0.04698452,
0.006005648,
-0.025083255,
-0.049879845,
-0.037094552,
0.030730572,
-0.0051313173,
0.029469242,
-0.08588507,
-0.05621516,
0.025556255,
0.021327933,
-0.007446144,
0.0041387375,
-0.0423692,
-0.0032823232,
0.03202057,
-0.003869988,
-0.0002041374,
-0.048131187,
0.02052527,
0.0021410352,
0.017629946,
-0.03067324,
-0.013860291,
0.040505875,
0.028379912,
-0.025283922,
-0.04566586,
0.029354576,
0.03643522,
-0.0015040996,
0.015221953,
-0.008642973,
-0.025283922,
-0.038900547,
-0.014483789,
-0.034055896,
-0.024194593,
0.00326799,
0.020539604,
0.014720288,
-0.0069122287,
-0.03626322,
0.00434657,
-0.005862315,
0.036750555,
-0.033826564,
0.017328946,
0.009287971,
-0.03485856,
0.042827867,
-0.006561063,
-0.007840309,
-0.034313895,
-0.01409679,
0.03124657,
0.0028379913,
0.013623791,
0.022890262,
0.049707845,
-0.012785294,
0.036578555,
0.025455922,
-0.026960917,
0.007904809,
0.083878405,
0.0029383244,
0.04715652,
-0.049363848,
-0.023076596,
0.018375278,
-0.027405249,
-0.042598534,
-0.0331099,
-0.007969309,
0.029354576,
-0.024251925,
0.04130854,
0.0129286265,
0.016640948,
-0.011179966,
0.02514059,
-0.0213996,
-0.038499214,
0.032479234,
-0.0040276544,
-0.024165925,
-0.027032584,
0.053606503,
-0.0043752366,
0.031275235,
0.049191847,
0.029841907,
-0.02575692,
-0.0012971626,
-0.0035779474,
0.033797897,
0.03652122,
-0.008893806,
-0.037008554,
-0.017271614,
0.013917624,
0.006281564,
-0.0036603636,
-0.009753803,
-0.011452298,
0.019407274,
0.07201044,
-0.0114092985,
-0.028766911,
0.059913147,
-0.052230507,
-0.017629946,
0.003479406,
-0.00982547,
0.0219156,
-0.0060773147,
-0.0026140336,
-0.00031264487,
-0.0050883177,
-0.0072418945,
0.007467644,
0.023062263,
0.023062263,
0.010334302,
0.01383879,
-0.016182283,
0.060715813,
0.004801652,
0.054323167,
0.013501958,
-0.018317943,
0.021299267,
-0.0019332024,
0.028752578,
0.009409804,
-0.031103237,
0.007306394,
0.0869744,
0.068513125,
0.038413215,
0.009646304,
0.0094743045,
0.005281817,
-0.01864761,
-0.0215716,
0.014605622,
0.03465789,
0.01913494,
0.0076754764,
-0.022732597,
-0.013939124,
0.045579858,
0.03141857,
0.009502971,
0.03617722,
-0.043171868,
0.029354576,
-0.02065427,
-0.029526576,
-0.015207619,
0.017730279,
0.029927908,
-0.046611857,
-0.01668395,
0.04807385,
-0.05865182,
0.03485856,
-0.0071093114,
0.006381897,
-0.0210986,
0.043171868,
0.013036126,
0.0319059,
0.013573625,
-0.012871293,
0.000025363202,
-0.019306941,
-0.0027896164,
-0.00042372785,
-0.016511949,
0.023721593,
0.010398801,
-0.028222246,
0.031877235,
0.011810631,
0.024595924,
-0.019077608,
0.03058724,
-0.022847263,
-0.0039058214,
0.0068513122,
0.03525989,
-0.033023898,
0.0070663113,
0.056587826,
0.014655788,
0.017658612,
0.01977994,
-0.0039201546,
0.026631251,
0.06191981,
0.0029383244,
0.0072418945,
0.025283922,
0.014627121,
-0.0031318236,
0.042942535,
-0.008026642,
-0.011910963,
-0.007969309,
0.012684961,
-0.024151592,
0.024079926,
-0.05696049,
0.05839382,
-0.0029168243,
-0.0032590316,
-0.056845825,
-0.004034821,
-0.030787906,
0.0053499,
-0.04064921,
0.008126975,
0.0062349807,
0.03007124,
-0.024939923,
-0.015967283,
0.059053153,
0.024022592,
-0.012971627,
0.04632519,
0.010183802,
-0.022890262,
-0.049736515,
-0.047844518,
-0.061002478,
-0.029641243,
-0.034485895,
0.017357614,
0.0017182031,
-0.025111923,
0.010126469,
0.00052898796,
-0.022589264,
0.039989877,
0.0108503,
0.02889591,
0.044662528,
0.01808861,
-0.047213852,
0.024380924,
-0.0543805,
0.012391129,
0.0062779807,
-0.038327213,
0.0008886639,
0.0061668977,
0.04105054,
-0.00046941522,
-0.00025934295,
-0.030730572,
-0.03133257,
0.0051958174,
-0.0033593646,
-0.008915306,
-0.005772732,
-0.0036388638,
-0.0023488677,
0.026559584,
-0.012118796,
-0.06140381,
0.05016651,
0.056329828,
-0.029698575,
0.037065886,
-0.013086293,
0.039273214,
-0.026588252,
0.035976555,
0.06042915,
-0.014447955,
-0.028594911,
-0.042025205,
-0.01952194,
0.022560596,
0.025298255,
-0.058766484,
-0.04985118,
0.045035195,
-0.037409883,
-0.030271906,
-0.0012577461,
-0.049879845,
-0.022632264,
-0.013888957,
-0.01185363,
0.07373044,
0.031303905,
0.01717128,
-0.012133129,
0.025484588,
-0.0059088985,
0.031934567,
0.007127228,
-0.00978247,
0.034887224,
0.016612282,
0.009832636,
0.0012237045,
0.006994645,
-0.059511818,
0.04139454,
0.006295897,
0.023406262,
0.031217903,
0.0007018832,
0.0011197882,
0.024724923,
0.021786598,
-0.043687865,
0.0008653723,
-0.008721806,
0.019249607,
0.037381217,
0.017357614,
0.035001893,
0.00865014,
-0.06289447,
0.0055648996,
-0.00006444381,
0.0015641202,
0.05059651,
-0.0119754635,
0.03116057,
-0.017056614,
-0.04414653,
0.023606926,
-0.01646895,
-0.030959904,
0.039817877,
0.029182576,
0.03411323,
-0.029254243,
-0.037438553,
0.017687278,
0.013229626,
0.040993206,
-0.001264017,
0.00969647,
-0.029354576,
0.025054589,
-0.03202057,
0.023606926,
0.0013625583,
-0.005948315,
-0.04122254,
-0.03669322,
-0.029168243,
-0.039072547,
0.0325079,
0.06409847,
0.015823951,
0.0031963235,
0.03402723,
0.017500946,
0.0035098642,
0.00843514,
0.012534461,
-0.041652538,
-0.05739049,
-0.009115972,
0.053119168,
-0.018446943,
0.004038404,
-0.0041208207,
0.022589264,
0.011136966,
-0.029297242,
-0.02840858,
-0.009302305,
-0.0038950713,
0.013480458,
0.041337207,
-0.028580578,
-0.04205387,
-0.06862779,
0.029340243,
0.032622565,
-0.041795872,
-0.021585934,
-0.026315918,
-0.0010696216,
0.034371227,
-0.0069086454,
-0.012111629,
0.0023345344,
0.00006690735,
-0.06868512,
0.019679606,
0.03912988,
-0.042283203,
-0.00046807146,
-0.07063445,
0.014584121,
0.031389903,
-0.009409804,
-0.008220141,
-0.011710297,
0.029669909,
0.0034435727,
0.03434256,
-0.005482483,
0.0327659,
0.0030691156,
-0.04841785,
0.026616918,
-0.03184857,
-0.008191475,
-0.009352471,
-0.002463534,
-0.007596643,
0.031504568,
0.02541292,
-0.022990596,
0.0023417012,
0.036291886,
-0.0536925,
-0.06117448,
-0.0075106435,
0.0039022379,
-0.0214856,
0.04732852,
0.00024075447,
-0.019335607,
0.009553137,
0.023262927,
-0.035976555,
0.047873184,
-0.038843215,
-0.0076324763,
-0.025197921,
-0.021815266,
0.02789258,
-0.04506386,
0.03551789,
0.011280298,
0.002008452,
-0.0022861597,
-0.06369714,
-0.032909233,
0.01943594,
-0.01939294,
0.035403226,
0.026459252,
-0.002975949,
-0.04489186,
0.0039631543,
-0.0024384507,
0.0052459836,
0.009424138,
0.009588971,
0.06323847,
0.023907926,
-0.0046834024,
-0.022904595,
-0.04130854,
-0.0055756494,
-0.008958305,
0.008807806,
0.007596643,
-0.025670921,
-0.013351459,
0.0053534834,
-0.050883178,
-0.008728973,
0.018289277,
0.0072669773,
0.015422619,
-0.03485856,
0.02449559,
-0.005271067,
-0.040419877,
0.029053576,
-0.03007124,
-0.057935156,
-0.029254243,
-0.0061095646,
0.037323885,
0.0050990675,
0.022560596,
-0.040505875,
-0.060085148,
-0.03786855,
0.017013615,
-0.0542085,
-0.0059984815,
-0.028594911,
-0.041537873,
0.006335314,
0.020195605,
0.016067617,
-0.04985118,
-0.013380125,
-0.054065168,
0.0024886173,
-0.056931823,
-0.009359638,
0.00217866,
0.029927908,
-0.030701905,
0.042598534,
0.010341468,
0.003981071,
0.008370641,
0.007739976,
0.018618943,
0.0662198,
-0.03617722,
-0.015623285,
0.026201252,
0.012871293,
-0.013057627,
0.0011663714,
-0.019808605,
0.010757133,
-0.013000294,
0.042111203,
-0.05028118,
-0.01168163,
-0.02099827,
-0.0108718,
0.05002318,
-0.044949196,
0.026516585,
-0.025828587,
-0.009753803,
0.0117819635,
0.011839297,
-0.0075106435,
-0.0016357866,
-0.03411323,
-0.054065168,
0.033281896,
-0.03465789,
0.022918928,
-0.031017238,
-0.018547276,
0.063009135,
-0.031131905,
0.01193963,
0.07155178,
-0.009854136,
0.019005941,
-0.022173598,
0.027706249,
0.02257493,
0.008743307,
-0.0033235315,
0.052402504,
-0.03485856,
-0.0074891434,
0.010800133,
-0.019923272,
-0.01183213,
0.013530625,
0.010499135,
-0.026487919,
0.04199654,
0.023406262,
-0.011796297,
-0.048962515,
0.02676025,
0.00008756744,
0.0037266552,
-0.008198641,
0.04371653,
-0.060830478,
-0.005324817,
-0.0038090716,
-0.007990808,
-0.021141602,
0.082961075,
-0.020138271,
-0.035546556,
0.005281817,
0.051284507,
-0.02601492,
-0.06902912,
-0.018690608,
0.052631836,
-0.011538298,
-0.00988997,
0.012075796,
-0.021499934,
-0.05137051,
0.031963233,
0.034571894,
-0.004712069,
-0.013143626,
0.02061127,
0.004636819,
-0.051628508,
0.026186919,
0.025283922,
-0.061862476,
-0.005159984,
-0.031791236,
0.00073726854,
-0.013150793,
-0.05713249,
0.05956915,
-0.02501159,
0.022302598,
0.059454482,
-0.03769655,
0.051771842,
-0.025083255,
-0.0030279073,
0.0033235315,
-0.037065886,
-0.061117146,
-0.03778255,
-0.010671134,
-0.025398588,
0.05521183,
-0.0016823699,
0.015795285,
-0.012211963,
0.041107874,
-0.013688291,
-0.04256987,
0.0009119555,
-0.05286117,
-0.04990851,
0.036406554,
0.013466125,
-0.01791661,
0.0047013187,
0.014705955,
-0.053405836,
-0.035460558,
0.010198135,
-0.0059769815,
0.0052280673,
-0.044031866,
0.010628134,
-0.051915172,
-0.0058909818,
-0.01800261,
0.00040491542,
0.0065323967,
0.022904595,
0.0133442925,
0.000103356455,
0.0031551153,
0.00052854005,
-0.021929933,
0.04130854,
-0.01760128,
0.01730028,
-0.023277262,
0.006625563,
-0.05621516,
0.0051098177,
0.008155641,
-0.041767206,
0.02614392,
-0.033138566,
-0.009861303,
-0.010921966,
-0.022460263,
0.030787906,
-0.04474853,
-0.014705955,
0.008485307,
0.0535205,
-0.066678464,
0.004880485,
0.013580792,
-0.0015793493,
-0.037553217,
0.03804055,
0.012821127,
0.02776358,
-0.03944521,
0.03637789,
0.013286959,
0.03643522,
-0.006862062,
0.009588971,
0.018719276,
0.030615905,
-0.01851861,
-0.024767924,
0.02501159,
0.0135234585,
-0.051628508,
0.04036254,
-0.0077543096,
-0.011495298,
-0.016182283,
0.013731291,
-0.022560596,
0.051399175,
0.025957586,
-0.0027340748,
-0.016440282,
-0.013544958,
-0.04858985,
0.046783857,
-0.075450435,
-0.023477927,
-0.006790396,
-0.051055174,
0.008399308,
-0.0109148,
-0.011301799,
0.04036254,
0.0060701477,
0.012785294,
-0.0059805647,
-0.00553265,
0.009990303,
0.01409679,
-0.034801226,
-0.033453897,
-0.006815479,
0.023019262,
-0.047385853,
-0.02575692,
-0.027562914,
0.016884614,
-0.020252937,
-0.0040276544,
-0.015795285,
0.0013419542,
0.009029972,
0.0003325771,
-0.033654563,
0.04107921,
-0.039588545,
0.036033887,
-0.015479952,
0.026444918,
-0.028365579,
0.039244544,
0.02257493,
0.010133635,
-0.021944266,
0.0433152,
0.017973945,
-0.02375026,
0.02541292,
-0.0004161133,
0.05529783,
-0.0009379346,
0.02514059,
0.013243959,
0.026788916,
-0.000914643,
0.023119595,
0.009624803,
0.02387926,
0.028910244,
-0.011566964,
-0.017199947,
0.02349226,
0.014046623,
0.01612495,
-0.008836472,
-0.03359723,
0.016311282,
-0.014720288,
0.031447235,
0.019106274,
-0.0144909555,
0.022044599,
-0.014978287,
-0.040133208,
-0.009180471,
0.012527294,
-0.020869268,
-0.019378606,
0.0022557015,
0.06065848,
0.03660722,
0.02274693,
0.010921966,
0.035001893,
0.033023898,
-0.010570801,
0.013960623,
-0.022918928,
0.011495298,
-0.029254243,
0.033969894,
0.011000799,
0.011523965,
-0.022560596,
-0.036205888,
0.005005901,
0.069659784,
-0.019306941,
-0.024567258,
-0.003991821,
-0.052001175,
0.013824457,
-0.06593313,
0.019292608,
-0.059454482,
-0.0114092985,
0.0010660384,
0.008814973,
-0.06616246,
0.015479952,
-0.005134901,
0.04004721,
0.025498921,
0.05664516,
-0.014068123,
0.08164241,
0.048045184,
-0.0009379346,
0.042770535,
0.026831917,
-0.039817877,
-0.0113806315,
0.008900972,
0.00766831,
0.015709285,
-0.008986972,
-0.07309978,
0.032450568,
-0.00020256969,
-0.017744612,
-0.068742454,
0.006263647,
0.02562792,
-0.0662198,
0.02257493,
0.08410774,
0.024610257,
0.010857467,
0.008234475,
-0.022460263,
-0.057849154,
0.011867964,
-0.018790942,
0.054323167,
-0.029497908,
-0.06065848,
-0.002579992,
-0.03795455,
0.009108805,
-0.016497616,
-0.023119595,
-0.00057557115,
0.0115741305,
0.016454617,
0.051485173,
0.015651952,
-0.008564141,
-0.014483789,
0.023277262,
0.029669909,
-0.022058932,
0.05595716,
0.047213852,
0.012154629,
0.0063639805,
-0.0029060743,
0.023262927,
-0.019708272,
-0.025728254,
-0.00427132,
-0.0004689673,
-0.021757932,
-0.024997257,
0.0019815771,
0.029469242,
-0.017343279,
-0.017844945,
-0.04701319,
-0.05443783,
-0.04070654,
-0.0022216598,
-0.051284507,
0.0016931198,
-0.017887944,
-0.029497908,
0.0068441457,
-0.03460056,
0.24423924,
0.038241215,
0.025197921,
-0.021786598,
0.07195311,
0.02667425,
0.013552125,
-0.0043644863,
0.014598455,
-0.00658973,
0.019636607,
-0.034829892,
-0.0065252297,
0.0100261355,
-0.018317943,
0.010047636,
-0.03720922,
-0.008571307,
-0.003156907,
-0.05111251,
-0.021800933,
0.036320556,
0.017328946,
0.028609244,
0.057505157,
-0.03583322,
0.015881285,
-0.06685046,
-0.006389064,
-0.043200534,
0.013587958,
-0.004436153,
0.020940935,
-0.03677922,
-0.0045436528,
0.027777914,
0.00042932678,
-0.007206061,
0.0072418945,
0.0074533103,
0.008112642,
-0.022460263,
-0.0007999767,
0.012469961,
-0.018805275,
0.041652538,
-0.0034543227,
0.008048141,
0.0011923505,
-0.06782512,
0.0017549321,
-0.061747808,
0.03402723,
-0.028379912,
-0.045608524,
-0.0015892034,
-0.045350526,
-0.04039121,
0.004805235,
0.024380924,
-0.0104418015,
0.019450273,
-0.0319059,
0.0314759,
-0.02614392,
-0.020467937,
-0.012957294,
-0.014498122,
-0.0148636205,
-0.0006982999,
0.015279287,
0.0071343947,
-0.022159265,
-0.01838961,
0.022589264,
0.047701187,
0.010061969,
0.045465194,
-0.01529362,
-0.03611989,
-0.018145943,
-0.0067975624,
-0.008177142,
-0.04741452,
0.032364566,
0.009975969,
-0.032479234,
0.018762276,
0.010843134,
0.0217006,
0.047385853,
0.09035706,
0.0326799,
0.043286532,
-0.01633995
] |
Don't reinvent the wheel! More often than not, there are at least two reference implementations you should check: the
PyTorch equivalent of the model you are implementing and other TensorFlow models for the same class of problems.
Great model implementations survive the test of time. This doesn't happen because the code is pretty, but rather
because the code is clear, easy to debug and build upon. If you make the life of the maintainers easy with your
TensorFlow implementation, by replicating the same patterns as in other TensorFlow models and minimizing the mismatch
to the PyTorch implementation, you ensure your contribution will be long lived.
Ask for help when you're stuck! The 🤗 Transformers team is here to help, and we've probably found solutions to the same
problems you're facing. |
[
0.037669968,
0.021248985,
-0.068632774,
0.010841318,
-0.0034746425,
0.003149403,
0.008817606,
0.00912839,
0.036976125,
-0.014245492,
-0.038508363,
-0.034229655,
0.03769888,
-0.061405227,
0.0047340426,
-0.01225069,
0.0009793325,
-0.03128082,
-0.03631119,
-0.013269774,
0.021986194,
-0.03301543,
-0.051171023,
-0.05857203,
-0.026496183,
0.023662984,
0.006634887,
-0.011889312,
0.076901086,
0.022839045,
-0.051980507,
-0.018733798,
0.008434546,
-0.017736398,
0.00023489524,
-0.00871642,
-0.0010236012,
-0.00067984103,
-0.062503815,
-0.05070846,
0.0006224724,
0.008347815,
0.032755237,
-0.043567646,
-0.05258762,
-0.0045750365,
-0.015438038,
-0.010234205,
-0.025773428,
-0.02620708,
-0.015250121,
0.017129283,
-0.03289979,
0.014773103,
-0.016507715,
-0.01893617,
-0.003595704,
-0.0346344,
-0.015177846,
0.048713658,
0.051055383,
0.03446094,
-0.013320367,
-0.05218288,
0.004936414,
0.016493259,
0.013573331,
-0.0054495693,
-0.021942828,
-0.018155595,
0.0013506477,
0.034432027,
-0.013262547,
-0.029632937,
-0.009851145,
-0.004293162,
0.02771041,
-0.016218612,
-0.00435821,
0.032061394,
-0.00995233,
0.035414975,
0.018473607,
0.035472795,
0.006414447,
-0.04773071,
0.056230307,
-0.020974338,
-0.004213659,
-0.035732985,
-0.012380785,
0.028100697,
-0.036050998,
0.04414585,
0.010942504,
0.05438005,
-0.000024661176,
0.07898262,
-0.019687835,
0.046776675,
0.03347799,
0.06325548,
-0.016348708,
0.049378593,
-0.04298944,
-0.04252688,
0.0037185722,
-0.030904986,
-0.004072722,
-0.029459476,
0.0051821503,
-0.015741594,
0.010740133,
0.00948254,
0.0204395,
-0.009504222,
0.0007629578,
-0.004426872,
-0.020193763,
-0.032581776,
-0.027753776,
-0.037467595,
0.015148936,
-0.049985707,
0.015351307,
-0.01893617,
0.01663781,
0.019471008,
-0.003310216,
-0.0017906245,
-0.006808348,
0.01578496,
0.020453954,
0.0584853,
0.005232743,
-0.03451876,
0.019601103,
0.010834091,
0.027508039,
-0.04093682,
-0.0040329704,
-0.029632937,
0.008832061,
0.092628226,
-0.010422121,
-0.025195224,
-0.00611089,
-0.036108818,
-0.03949131,
0.015943965,
-0.02052623,
0.011744762,
-0.0001805757,
0.007588923,
-0.069847,
-0.010783498,
-0.02146581,
0.023214877,
0.010241432,
0.014324996,
-0.038421635,
0.023807535,
-0.05750235,
0.031974662,
-0.020092577,
0.0346344,
-0.005633872,
-0.03194575,
0.032552864,
-0.06354458,
-0.050072435,
0.0005759451,
-0.010002923,
0.0026055302,
0.02847653,
0.020338314,
0.057820365,
0.0064867223,
-0.0011582142,
-0.023070326,
-0.014845379,
-0.019268638,
-0.00027012953,
0.028968003,
-0.024313463,
-0.015279031,
0.021783823,
-0.0013551648,
0.017042553,
0.0029127009,
0.0009332568,
0.05539191,
-0.023243787,
0.007148043,
-0.0028115152,
0.015409128,
-0.05582556,
-0.022680039,
0.022549942,
-0.0377567,
-0.009612636,
0.09465194,
-0.035386063,
0.013197498,
0.054437876,
-0.038566183,
-0.0067071626,
-0.006725231,
0.0008867295,
0.009786096,
0.054755885,
0.021335715,
-0.029806398,
0.00036228073,
0.02941611,
-0.021393536,
-0.059121322,
0.035993177,
-0.0036228073,
-0.008752557,
0.0054784794,
-0.0042859344,
0.03836381,
0.04278707,
0.031974662,
0.014426181,
0.03475004,
-0.00091835,
0.013515511,
0.0053267013,
0.02458811,
0.0021610362,
0.051460125,
0.004264252,
-0.004369051,
-0.0038053028,
0.04446386,
-0.01970229,
0.05050609,
-0.006790279,
0.0027121366,
-0.027450219,
0.032234855,
0.019297548,
0.0029452248,
-0.010147474,
0.004043812,
-0.01746175,
-0.06903752,
0.025874613,
-0.08337697,
0.020656325,
-0.0058651534,
0.023605164,
-0.05108429,
-0.008477911,
-0.015033295,
0.046632126,
-0.03642683,
0.0013108961,
0.011325564,
0.0023670213,
-0.014397271,
0.030876076,
0.04466623,
-0.013891343,
-0.021726003,
0.02320042,
0.032234855,
-0.078346595,
-0.020425044,
-0.037380867,
-0.034547668,
0.0045244438,
-0.042382326,
0.0522407,
-0.008897109,
-0.05744453,
0.0072130905,
-0.02853435,
0.013320367,
0.049667694,
-0.02320042,
-0.002419421,
0.060884845,
0.02638054,
-0.054958258,
-0.030818256,
-0.038826376,
-0.0009693946,
0.013920253,
-0.02305587,
-0.014180444,
-0.016218612,
0.035299335,
0.027522493,
-0.010783498,
-0.019803476,
-0.046458665,
0.013537193,
-0.030586973,
-0.047036868,
0.019572193,
0.03133864,
-0.060653564,
0.01033539,
-0.0082466295,
-0.042411238,
0.06539483,
0.055681013,
-0.025310865,
0.03631119,
0.0025061516,
0.041515023,
-0.042179957,
0.062099073,
0.049494233,
-0.014563505,
-0.020873152,
-0.050361536,
-0.060827024,
0.004058267,
0.0106028095,
-0.021856098,
-0.021899464,
0.059323695,
-0.04267143,
-0.06932662,
-0.011137648,
0.010328162,
-0.012142276,
-0.012539792,
-0.0040185153,
0.0332178,
-0.0049002757,
0.032177035,
-0.02067078,
-0.019124085,
0.0315121,
0.03324671,
-0.016160792,
0.00008537538,
0.07111905,
0.032813057,
-0.05091083,
0.0027934464,
0.0214369,
-0.02140799,
-0.0090488875,
0.0022495736,
-0.016825726,
-0.003707731,
-0.016493259,
-0.0397515,
0.010891912,
0.02953175,
-0.050303716,
0.030529153,
0.0042064316,
0.029748578,
0.043307453,
0.041948676,
0.010508851,
0.009106708,
-0.046516486,
-0.012424151,
0.01219287,
0.0052580396,
0.027045475,
-0.03506805,
0.05432223,
0.011231606,
-0.050188076,
0.006909534,
-0.019485462,
-0.02220302,
0.015943965,
0.041717395,
0.03674484,
0.0060494556,
0.011751989,
0.005135171,
0.017042553,
0.027204482,
-0.005008689,
0.015192301,
-0.021754913,
0.015105571,
-0.016363163,
-0.010364301,
-0.004296776,
-0.001145566,
-0.02152363,
-0.0012828894,
-0.0057061473,
-0.024342373,
0.01145566,
0.05669287,
0.043596555,
0.021653727,
0.061463047,
-0.026423907,
0.0055905064,
0.0055435277,
0.011520708,
0.010039061,
-0.049667694,
0.03177229,
0.025310865,
-0.022651128,
0.016738996,
-0.011137648,
-0.0009228672,
0.028780086,
-0.01822787,
-0.023417247,
-0.03784343,
-0.015336852,
-0.0092946235,
0.041948676,
-0.035675164,
-0.050014615,
-0.0425847,
0.02930047,
0.056027934,
-0.01834351,
-0.0079792105,
-0.03793016,
-0.0332178,
-0.010971414,
-0.0032867263,
-0.023821991,
-0.01592951,
0.01564041,
-0.05119993,
0.03639792,
0.02853435,
0.0074082343,
0.0058254017,
-0.0559412,
0.004054653,
-0.008933246,
-0.00034647048,
0.013790157,
0.058109466,
-0.00029203802,
-0.013645606,
0.039086565,
0.038913105,
-0.007841887,
0.023475068,
0.013717881,
-0.02773932,
-0.03339126,
-0.030962806,
-0.03174338,
-0.0047629527,
-0.0014193093,
0.031078447,
0.05432223,
-0.0366292,
0.057791457,
0.069095336,
-0.0043835063,
-0.030355692,
0.017577391,
-0.0022947458,
0.017707488,
0.054582424,
0.0018105002,
-0.0013849784,
0.00951145,
-0.0033373192,
-0.0037330273,
-0.025469871,
-0.030933896,
0.0020616574,
-0.009012749,
0.009272941,
0.013804613,
-0.051402304,
0.028201884,
0.0021032158,
0.0005226419,
-0.00075618195,
-0.013905798,
-0.032813057,
0.017982133,
-0.009193438,
0.00992342,
0.020107033,
0.026582913,
0.03148319,
0.015972875,
-0.02155254,
-0.043191813,
-0.012135049,
0.0114050675,
0.07614942,
0.024689296,
0.0366292,
-0.05686633,
-0.04160175,
0.0090488875,
-0.028259704,
0.027753776,
-0.028794542,
0.019572193,
-0.0061614825,
-0.0031439823,
0.0020399748,
-0.011419523,
-0.009475312,
-0.019976936,
-0.030153321,
-0.020352768,
-0.0056085754,
0.0095548155,
-0.008441773,
0.058051646,
-0.0057061473,
-0.046429753,
-0.017360564,
0.0013072824,
0.0132264085,
0.012828894,
0.027305668,
-0.016738996,
-0.041919764,
-0.05241416,
0.038219262,
-0.006454198,
-0.022130745,
-0.02223193,
-0.010494396,
0.021595906,
0.038739644,
0.014845379,
0.035732985,
0.01884944,
-0.03000877,
0.019716745,
-0.06759201,
0.002227891,
0.0113761565,
0.012547019,
-0.050188076,
0.013110768,
0.00077244395,
-0.004878593,
0.0064975633,
-0.0030301486,
0.021364626,
0.019803476,
0.0026651574,
0.005377294,
0.047875263,
-0.0134793725,
-0.00032772403,
0.039231118,
0.0053556114,
-0.014708055,
-0.014541822,
0.020728601,
-0.05050609,
-0.02470375,
-0.054640245,
0.0036715933,
0.054842617,
-0.027218938,
0.010906367,
-0.007173339,
0.012893941,
0.020930972,
0.0661465,
-0.053021275,
-0.00042778035,
-0.051402304,
-0.06620432,
0.016984733,
-0.03460549,
-0.041659575,
0.023229333,
-0.028346434,
0.022752313,
-0.03778561,
0.03284197,
0.057473443,
-0.027262302,
-0.020786421,
-0.023865355,
0.03810362,
0.005966339,
0.03154101,
-0.033709273,
0.010393211,
0.011947133,
0.03200357,
-0.029040279,
-0.035154782,
-0.004893048,
-0.0040907906,
-0.001074194,
-0.03307325,
0.028057333,
0.017201558,
-0.043423094,
-0.021422446,
0.039144386,
0.014830924,
0.02476157,
0.014202127,
0.022593308,
-0.028852362,
0.03824817,
0.0021068295,
0.023214877,
-0.02137908,
0.07412571,
-0.033709273,
-0.045157705,
-0.023807535,
0.040069513,
-0.03194575,
-0.02603362,
-0.0027446605,
0.041572843,
-0.022752313,
0.023460614,
-0.011614666,
-0.008542959,
-0.024544746,
0.014708055,
0.0007878025,
-0.00022970044,
-0.011788127,
-0.0043365275,
0.007827432,
-0.062388174,
-0.0074515995,
0.030268962,
-0.021913918,
-0.037265226,
0.0025043446,
0.018430242,
-0.04440604,
-0.03483677,
0.044955336,
-0.016478805,
0.046979047,
0.077016726,
-0.031974662,
0.045331165,
0.017143738,
-0.045244437,
0.0052110604,
-0.032205943,
-0.0245592,
-0.006071138,
0.025137404,
-0.0034638012,
0.017085917,
-0.037380867,
-0.048077635,
0.004369051,
0.010935277,
-0.007429917,
-0.062619455,
0.029950948,
-0.00083975046,
0.003149403,
0.0051423986,
0.026279356,
-0.02685756,
-0.0055615962,
-0.011029235,
-0.053310376,
0.01663781,
0.040734448,
-0.013327594,
-0.023012506,
-0.025469871,
0.013833523,
-0.028303068,
0.014433409,
0.013277002,
-0.0045461264,
0.05701088,
0.01811223,
0.0015159777,
0.00983669,
0.035646256,
0.032350495,
-0.0034421186,
0.0315121,
0.0037836202,
0.04906058,
-0.0036083523,
-0.009706594,
-0.011029235,
-0.0228535,
0.03819035,
-0.02208738,
0.028852362,
0.04131265,
-0.009677684,
-0.049985707,
0.00909948,
0.04105246,
-0.021827187,
-0.03139646,
0.0071335877,
0.037525415,
-0.03156992,
-0.0057206023,
-0.012590384,
0.0048280004,
-0.050188076,
0.057299983,
-0.023908721,
0.028982459,
0.005619417,
-0.016999187,
0.010002923,
0.01475142,
-0.0059627253,
-0.015943965,
0.006710776,
0.0018845826,
0.031251907,
-0.0638915,
0.04773071,
0.015452493,
-0.0004194235,
0.040156245,
0.039057657,
0.01999139,
0.018444696,
0.0063096476,
0.02753695,
0.0570687,
-0.0077407015,
-0.032726325,
-0.0024844687,
0.03622446,
-0.029488387,
0.0262649,
-0.048598018,
-0.011115965,
0.040387526,
-0.025701152,
-0.007429917,
-0.02520968,
0.0228535,
-0.0041449973,
0.010472714,
0.0020128714,
0.03657138,
0.006154255,
-0.02924265,
0.02620708,
-0.013515511,
-0.041919764,
-0.07418353,
0.053368196,
0.0028205498,
-0.060711384,
0.04426149,
0.036715932,
0.056403767,
0.011506253,
-0.010111337,
-0.014541822,
-0.015163391,
0.015177846,
-0.054842617,
0.020800875,
-0.06660906,
0.025831249,
-0.012843349,
0.028216338,
-0.0030644794,
0.028924638,
-0.016898002,
-0.00591936,
0.004766566,
0.035472795,
0.017548481,
-0.034027286,
-0.014122624,
0.014050349,
0.01160021,
-0.040069513,
-0.0085212765,
-0.012539792,
0.021668183,
-0.004553354,
0.010364301,
0.00084155734,
0.03489459,
0.014469546,
-0.021451356,
-0.030326782,
0.037178494,
0.012041091,
-0.014115397,
-0.01666672,
-0.028288614,
0.03310216,
-0.014072032,
0.0039209435,
0.05385967,
-0.0077407015,
-0.06793893,
-0.037120674,
-0.022318661,
0.038624004,
0.010357073,
-0.04275816,
0.0029127009,
0.024804937,
0.040416434,
0.0065011773,
0.028086243,
0.008673055,
0.04567809,
0.031222997,
0.0016108393,
0.003626421,
0.00348187,
0.029459476,
-0.05388858,
0.009330762,
-0.03006659,
-0.009229576,
-0.0019008445,
-0.01569823,
-0.023185967,
0.02773932,
0.007870797,
-0.016175248,
0.014643008,
-0.033853825,
-0.06400714,
-0.045042064,
0.00833336,
-0.03972259,
-0.030182231,
0.010328162,
-0.024009908,
-0.02458811,
0.0010561252,
-0.0028711425,
0.0262649,
-0.009771641,
0.0346344,
0.0065734526,
0.07146597,
0.029069189,
0.013204726,
0.027363488,
-0.0072600697,
-0.04417476,
-0.026452817,
0.01071845,
-0.011361701,
-0.043336365,
-0.044810783,
-0.056172486,
-0.018979535,
-0.022448758,
-0.010588354,
-0.0221452,
0.018300146,
-0.018863894,
-0.0315121,
-0.0018177277,
0.07169725,
-0.020699691,
-0.051778138,
0.0077696117,
0.002623599,
-0.0279706,
-0.04640084,
-0.014592415,
0.0070396294,
0.015076661,
-0.0054820934,
-0.005091806,
-0.050274808,
0.020396134,
0.008369498,
-0.015452493,
0.011253289,
-0.023590708,
0.05079519,
0.05383076,
0.021913918,
-0.024197822,
-0.029025823,
0.021928374,
0.065510474,
0.028649991,
0.08580542,
0.08557414,
-0.018011045,
-0.030211141,
-0.008795923,
0.029922038,
-0.04611174,
0.018589247,
-0.030962806,
0.020338314,
-0.023749715,
-0.026337177,
0.0018647067,
0.018054409,
0.008297223,
-0.04564918,
-0.03006659,
-0.04403021,
-0.037727788,
-0.0231426,
-0.031309728,
-0.0068986923,
0.0011302074,
-0.062503815,
0.017967679,
-0.06533701,
0.24747117,
0.0411681,
0.02311369,
0.01908072,
0.00008881976,
0.050881922,
0.022549942,
0.04923404,
0.03963586,
-0.04596719,
0.007093836,
-0.045186616,
0.027161116,
0.010740133,
-0.030240051,
0.016941367,
-0.029950948,
0.0007223028,
-0.03006659,
-0.042295597,
-0.025686698,
-0.024862757,
0.008969384,
0.06412279,
0.03347799,
-0.050043527,
0.0061795516,
0.011311109,
-0.022506578,
-0.025253044,
0.011209924,
0.005077351,
0.013204726,
-0.019066265,
-0.03602209,
0.075108655,
0.010646175,
-0.032870878,
-0.021798277,
0.015799414,
-0.011686942,
0.00391733,
0.046545394,
-0.007487737,
-0.014122624,
0.010147474,
-0.0010236012,
0.013262547,
0.032234855,
-0.0346344,
-0.008087624,
-0.0760916,
0.015987331,
-0.010508851,
-0.021364626,
0.010783498,
-0.014961019,
-0.034114014,
-0.019803476,
0.0016334254,
0.015524768,
0.015293486,
-0.016247522,
0.024313463,
-0.038826376,
0.011882085,
0.0076395157,
0.03607991,
-0.0056700096,
-0.020063667,
0.0051171025,
0.0300955,
-0.024125548,
-0.027103296,
0.008492366,
-0.0071299737,
0.019890206,
-0.010964187,
0.008109306,
-0.0332178,
0.014975474,
0.012590384,
-0.022839045,
-0.028462075,
0.04634302,
0.027869416,
-0.01905181,
0.010104109,
0.014946564,
0.041977584,
0.02158145,
0.047094688,
0.029690757,
0.033824913,
0.029835308
] | Run training on Amazon SageMaker
The documentation has been moved to hf.co/docs/sagemaker. This page will be removed in transformers 5.0.
Table of Content
Train Hugging Face models on Amazon SageMaker with the SageMaker Python SDK
Deploy Hugging Face models to Amazon SageMaker with the SageMaker Python SDK |
[
0.017345842,
0.014235553,
-0.0428861,
-0.045248725,
0.03436271,
-0.02613839,
0.023222495,
-0.011170125,
-0.03783188,
0.054160897,
-0.0032093546,
-0.0196337,
0.0731516,
-0.04022441,
0.009764513,
0.021996323,
-0.0013962656,
0.011222461,
-0.06776841,
-0.019289773,
0.0034037477,
0.0126804095,
-0.052157152,
-0.02839634,
-0.029413166,
0.030863637,
0.000968227,
-0.01900566,
0.085114256,
0.050721638,
-0.029517839,
-0.03056457,
0.0004292068,
0.0073458147,
-0.03286738,
-0.05565623,
0.033076726,
-0.06956281,
-0.03944684,
-0.036127202,
-0.007166375,
-0.025390726,
0.012508446,
-0.048000135,
-0.048687987,
0.01401873,
-0.014893499,
-0.016134623,
-0.007394413,
-0.05963381,
-0.017091636,
0.043813206,
-0.007925255,
0.027215028,
-0.015357052,
-0.066213265,
-0.011334611,
0.0286655,
-0.04716275,
0.015117799,
0.04946556,
0.0005822446,
0.021772023,
-0.047910415,
0.008343948,
0.04387302,
0.0044187037,
0.021054264,
-0.010392552,
-0.00617198,
-0.036007576,
0.027558954,
-0.038669266,
-0.031222517,
0.023192588,
0.011237415,
0.051259954,
-0.02518138,
0.038878612,
-0.004239264,
0.018347714,
0.026886055,
0.015259855,
0.017988835,
0.0047439383,
-0.005218706,
0.051618833,
-0.022579502,
-0.01433275,
-0.039745905,
-0.009263577,
0.04094217,
-0.0011364517,
0.02423932,
-0.00075841334,
0.028859893,
-0.0365758,
0.061428208,
-0.002200006,
-0.0053046877,
-0.0052112294,
0.09946944,
-0.030310364,
-0.0038579546,
0.0052673044,
-0.027334655,
0.017644908,
-0.0039140293,
0.01864678,
-0.03606739,
0.031910367,
-0.00346543,
-0.006893477,
0.0032317846,
-0.01437761,
-0.029039333,
0.005469174,
0.019783232,
-0.058497358,
-0.021368284,
-0.00089766603,
-0.0051215095,
-0.019394446,
-0.039566465,
-0.021921556,
-0.009398157,
0.0047364617,
0.032837473,
0.04094217,
0.010026196,
0.019738372,
-0.0070504867,
0.01882622,
0.04414218,
0.007678526,
-0.03525991,
-0.03854964,
0.018945847,
-0.025241192,
-0.02897952,
-0.008441145,
0.0026168297,
0.0388188,
0.08038901,
-0.0003429916,
-0.0050654346,
0.025540257,
-0.060650636,
-0.022758942,
0.020815011,
-0.021682303,
0.00067289907,
-0.020949591,
0.02207109,
-0.035200097,
0.052755285,
-0.0077981525,
-0.01232153,
0.018796314,
0.04049357,
-0.027932787,
0.02130847,
-0.05120014,
0.075544134,
0.023312215,
0.031760834,
-0.008037405,
0.007678526,
0.019349586,
-0.05882633,
-0.027304748,
0.016717803,
-0.020186972,
0.002723372,
0.040523477,
0.017943975,
0.059484277,
0.034691684,
-0.012919662,
0.02193651,
0.018542107,
-0.032299154,
0.024388853,
0.045966484,
-0.034930937,
0.012261717,
0.0514693,
0.011813117,
0.00062243163,
-0.0010355168,
-0.008007498,
0.033256166,
-0.014714059,
0.027185122,
-0.040284224,
-0.009241147,
-0.05036276,
0.021099124,
0.025405679,
-0.01589537,
-0.028456153,
0.0061084284,
-0.036725335,
0.03223934,
-0.01638883,
-0.009495353,
-0.01954398,
-0.0016392568,
-0.008919651,
-0.023641188,
0.020500991,
0.031940274,
-0.01571593,
-0.022145856,
0.01238882,
-0.04776088,
-0.020216879,
0.008986941,
0.033106633,
-0.037801974,
0.02604867,
-0.029816905,
0.049256213,
0.039058052,
0.045517884,
0.010908442,
0.01460191,
0.034751497,
0.02495708,
-0.0025121565,
0.0013542094,
0.048359014,
0.019304726,
0.03693468,
0.06866561,
-0.0004420573,
0.038758986,
0.017375749,
-0.0056523522,
0.010153299,
0.027095402,
-0.00704301,
-0.019379493,
0.041271143,
-0.028381387,
-0.027170168,
-0.030549617,
-0.028545873,
-0.01223181,
-0.0028841202,
-0.024747733,
0.03890852,
0.035020657,
-0.02577951,
-0.03810104,
-0.017839301,
-0.035289817,
0.017943975,
0.007805629,
-0.00091822684,
0.020770151,
0.00026121567,
-0.012037417,
-0.030190738,
0.0519179,
0.04734219,
-0.029233726,
0.038669266,
-0.0023289784,
-0.044441245,
-0.009689746,
-0.0329571,
-0.10897974,
0.021024358,
-0.06429924,
0.0045495452,
0.012441156,
-0.048987053,
-0.0061794566,
-0.037502907,
-0.01688229,
-0.013016858,
-0.028157087,
0.029323446,
0.014811256,
0.026930915,
-0.017899115,
-0.021054264,
-0.034422524,
0.00066402054,
-0.013831814,
-0.0143850865,
-0.028859893,
-0.017600048,
0.046564616,
0.011289751,
-0.018272948,
-0.02383558,
-0.062744096,
0.018093508,
-0.030220645,
0.018527154,
0.012583213,
0.03170102,
0.010669189,
-0.005525249,
-0.017046776,
-0.031760834,
0.06944318,
0.013846767,
-0.012792558,
0.02242997,
-0.005013098,
0.008919651,
-0.009742083,
0.007031795,
0.056403894,
0.008231798,
-0.034392618,
-0.009286007,
-0.03197018,
-0.025809417,
0.013001905,
-0.042766474,
-0.02555521,
0.0500936,
-0.03409355,
-0.0446805,
-0.033345886,
-0.020411272,
-0.0032691678,
-0.029263632,
0.0053944075,
0.06717028,
-0.0142206,
0.03152158,
0.0029289802,
0.022848662,
-0.029218772,
-0.01437761,
0.03367486,
-0.02211595,
0.044800125,
0.03331598,
-0.0189608,
-0.032807566,
0.0050729113,
-0.040792637,
0.014878546,
-0.0045084236,
0.029757092,
-0.01259069,
-0.014751443,
0.0034579535,
0.002757017,
0.020500991,
-0.020919684,
0.04369358,
-0.0115439575,
0.023985114,
0.012044894,
0.022729035,
0.005128986,
-0.007211235,
-0.059484277,
-0.007865442,
-0.0052897343,
-0.003588795,
0.07895349,
-0.05182818,
0.01585051,
-0.010983208,
-0.030071111,
-0.026527176,
-0.023072962,
-0.036396362,
0.026542129,
0.023162682,
0.023701001,
-0.013831814,
-0.03552907,
0.00458319,
0.008149555,
0.0740488,
0.021742117,
0.017600048,
-0.029308492,
-0.0031813174,
-0.046325363,
0.014115927,
0.014414993,
-0.037443094,
0.010071056,
0.024568293,
-0.029921578,
-0.041899182,
0.05359267,
0.056493614,
0.037981413,
0.011865454,
0.068964675,
-0.011506574,
-0.02450848,
0.0051439395,
-0.0077981525,
-0.017016869,
-0.06615345,
0.05475903,
0.024074834,
0.0034785143,
-0.0024990723,
0.0026953346,
0.011028068,
0.017779488,
-0.040194504,
-0.011970127,
-0.04946556,
0.015401912,
-0.01905052,
0.031910367,
-0.056403894,
-0.03669543,
-0.043902926,
0.0041233758,
0.036994494,
-0.008441145,
0.0109981615,
-0.03561879,
0.010041149,
0.055506695,
-0.0052822577,
-0.06956281,
0.026826242,
-0.000023466771,
-0.05544688,
0.06405999,
0.05580576,
-0.0500936,
-0.044560872,
-0.04396274,
-0.0017710329,
0.022280436,
-0.02135333,
-0.025704743,
-0.004295339,
-0.023327168,
0.0016439297,
0.045308538,
-0.007887872,
0.0555366,
-0.010893488,
-0.007835535,
0.005614969,
-0.013345831,
-0.032628126,
-0.016777616,
0.03436271,
-0.00362244,
0.044201992,
0.022310343,
-0.0036056174,
-0.020545851,
0.020276692,
-0.077218905,
-0.0681871,
0.03863936,
0.0279926,
-0.010392552,
0.011693491,
0.045966484,
-0.017330889,
0.033704765,
0.043573953,
-0.029054286,
0.0036972065,
0.008059835,
0.006986935,
-0.0042654322,
0.015020602,
0.026572036,
-0.050063692,
0.041450582,
0.0035476733,
-0.005491604,
0.00082383404,
-0.03047485,
-0.045517884,
-0.026542129,
-0.0320599,
0.040254317,
0.01225424,
0.017929021,
-0.010018719,
-0.0028280453,
0.0020000055,
-0.00043878626,
-0.029398212,
0.014856116,
0.038519733,
0.0024915957,
0.042287968,
-0.02225053,
-0.018153321,
0.0392674,
0.0011308442,
0.0051439395,
-0.017106589,
-0.03525991,
-0.0045383302,
-0.0026056147,
-0.0077084326,
-0.0074131046,
-0.035289817,
-0.023686048,
0.027215028,
-0.03367486,
0.019469213,
-0.007188805,
-0.041600116,
0.026482316,
-0.024837453,
-0.04608611,
-0.024882313,
0.013742094,
0.0066280556,
0.020471085,
0.055177722,
-0.04644499,
-0.041271143,
-0.020635571,
0.039985158,
-0.079611436,
0.0063140364,
-0.023192588,
-0.018183228,
0.0073532914,
0.04049357,
0.028022507,
-0.0076187127,
0.010340216,
-0.025360819,
-0.020844918,
-0.061787087,
0.0050878646,
-0.011327134,
0.028994473,
-0.018900987,
0.03286738,
0.03358514,
-0.027274841,
-0.029996345,
0.02242997,
0.035858043,
0.026676709,
-0.01665799,
-0.012306577,
-0.010803768,
-0.004844873,
0.0043962738,
0.039805718,
0.008994417,
0.0419889,
0.015611258,
0.057181466,
-0.053712297,
-0.048149668,
-0.025106613,
-0.01241125,
0.0286655,
-0.010856105,
0.0071065617,
0.031282328,
0.024254274,
0.011843024,
0.011678537,
-0.013286018,
0.012919662,
-0.040104784,
-0.05164874,
0.046923496,
-0.03669543,
0.00916638,
-0.023611281,
-0.016463596,
0.039117865,
-0.011237415,
-0.023656141,
0.03810104,
-0.017585095,
0.0041682357,
-0.054370243,
-0.004590667,
0.011028068,
0.018362667,
0.005487866,
0.0073869363,
-0.031132797,
0.032807566,
-0.0007336469,
-0.017106589,
-0.016717803,
0.045876764,
0.016239297,
0.00015151911,
0.03765244,
-0.011521528,
-0.034572057,
-0.04324498,
0.028157087,
0.018766407,
0.03110289,
0.017166402,
0.049166493,
-0.015020602,
0.04892724,
-0.0030205692,
-0.004011226,
-0.019977625,
0.056822587,
0.010758908,
-0.017300982,
-0.01958884,
0.019379493,
-0.035588883,
-0.031162703,
-0.007678526,
0.062564656,
-0.018751454,
0.026586989,
0.010519655,
0.005147678,
-0.009891616,
0.07129739,
0.039626278,
-0.004059824,
0.00040934692,
0.012269193,
0.010033673,
0.008672921,
-0.00027172972,
0.025390726,
-0.026168296,
-0.010878535,
-0.04174965,
0.010467319,
-0.05033285,
-0.014983219,
0.061428208,
-0.0006976655,
0.04644499,
0.05831792,
-0.027215028,
0.06633289,
-0.009158904,
-0.011656107,
0.011237415,
-0.019768279,
-0.0419889,
-0.017884161,
0.0061869333,
-0.0016345839,
-0.0033102895,
-0.066751584,
0.005274781,
0.029547745,
0.025196332,
-0.0033084203,
-0.047013216,
-0.0027271104,
-0.005024313,
-0.007611236,
0.057839412,
-0.009988813,
0.0036542157,
-0.0043701055,
0.006418709,
-0.0185122,
-0.0055962773,
0.0015682287,
0.0004985995,
-0.031551488,
-0.04838892,
-0.020351458,
-0.048149668,
-0.030579524,
-0.024044927,
-0.010370122,
-0.018018741,
0.03642627,
-0.003214962,
-0.007203758,
0.017884161,
-0.007783199,
-0.026915962,
0.022878569,
-0.01562621,
0.011514051,
-0.045936577,
-0.012949568,
-0.04121133,
0.02518138,
-0.010818722,
-0.025884183,
0.050392665,
0.012538353,
0.016822476,
-0.02586923,
0.005820577,
0.03188046,
-0.026063623,
-0.018228088,
-0.014145833,
0.023701001,
-0.034302898,
0.025570164,
0.027678581,
-0.034243084,
-0.013091625,
0.029458025,
0.01674771,
0.002837391,
-0.001565425,
-0.014661723,
0.018347714,
0.038400106,
0.00047616955,
-0.011371994,
0.07022075,
0.027753348,
0.0025813156,
-0.028276714,
0.011162648,
0.054968376,
-0.017629955,
0.0085084345,
0.026018763,
0.014280413,
-0.043723486,
-0.00228038,
-0.00058972125,
0.042557128,
0.02234025,
0.000629441,
-0.008343948,
-0.025271099,
-0.005125248,
0.014549573,
-0.05679268,
-0.042916007,
0.046235643,
-0.03932721,
-0.0068560936,
-0.0316113,
0.019618746,
0.024089787,
0.022355203,
0.00941311,
0.0016056119,
-0.00005356323,
0.026751475,
0.02108417,
-0.055686135,
-0.04004497,
0.010818722,
0.019618746,
0.008411238,
-0.0126579795,
0.03349542,
0.014564526,
0.02817204,
-0.01200751,
-0.047043122,
-0.03606739,
-0.00066916074,
0.020381365,
-0.017226215,
0.019110333,
-0.04183937,
0.055865575,
-0.015207519,
-0.016358923,
-0.03819076,
0.022415016,
0.042228155,
0.012583213,
0.032089807,
0.02486736,
0.02162249,
-0.023207542,
0.017196309,
-0.013001905,
0.03534963,
-0.02117389,
0.0023663617,
0.032897286,
0.07590301,
0.031132797,
-0.0013355177,
0.02126361,
0.027843067,
0.0010542085,
-0.021143984,
-0.02857578,
0.026886055,
0.016134623,
-0.029039333,
-0.012702839,
0.026392596,
0.036276735,
-0.020411272,
0.0286655,
0.012852372,
-0.002857952,
-0.034661777,
-0.016463596,
-0.0277683,
0.018257994,
0.002721503,
-0.044351526,
-0.017450515,
0.026078576,
0.04441134,
0.022654269,
0.038878612,
0.0075701145,
0.025749603,
0.022803802,
-0.002620568,
0.049345933,
-0.0016691635,
0.0121121835,
-0.026646802,
0.03729356,
-0.009046754,
-0.006743944,
-0.0060859984,
-0.01824304,
0.019469213,
0.015252379,
-0.009353297,
-0.040643103,
0.015506585,
-0.03463187,
-0.025271099,
-0.068605796,
0.001361686,
-0.06459831,
0.012807512,
0.0027252412,
-0.008396285,
-0.031760834,
0.0033458036,
-0.011506574,
0.016867336,
0.022818755,
0.027977647,
0.025480445,
0.07040019,
0.015327145,
0.011835547,
0.0022878568,
0.021143984,
-0.04360386,
-0.013360784,
0.027259888,
-0.046833776,
-0.011768257,
-0.058856238,
-0.04165993,
0.012515923,
-0.0035682342,
-0.029906625,
-0.037861787,
0.0076037594,
-0.00041144973,
-0.011588817,
-0.016777616,
0.06609364,
0.047043122,
-0.03669543,
0.008179462,
0.02880008,
-0.039626278,
-0.033794485,
-0.029772045,
0.043573953,
-0.0046990784,
-0.056284267,
0.00299627,
-0.0717759,
0.046773963,
0.017973881,
-0.074946,
-0.0020785104,
0.0392674,
0.023536514,
0.047043122,
-0.0048224432,
-0.023357075,
-0.002097202,
0.01958884,
0.01887108,
0.034213178,
0.057570253,
0.01882622,
-0.014743966,
0.0014457984,
0.021951463,
-0.0032280462,
-0.03508047,
-0.019259866,
-0.038669266,
0.015581352,
0.008822454,
-0.05625436,
0.016358923,
0.030026251,
0.0041308524,
0.0007855162,
0.0039850576,
-0.014729013,
-0.05087117,
-0.0487478,
-0.035230003,
-0.015342099,
-0.015229949,
-0.03669543,
0.026945869,
-0.057390813,
0.26652783,
0.04758144,
-0.008007498,
-0.012994428,
0.04252722,
0.02121875,
-0.008201892,
0.030071111,
-0.008919651,
-0.040433757,
-0.0019383231,
-0.01589537,
-0.02853092,
0.0039738426,
-0.07028057,
0.062564656,
-0.07034038,
-0.008299088,
-0.051529113,
-0.040164597,
-0.027334655,
0.071895525,
0.010527132,
0.031940274,
0.0020803795,
0.018063601,
-0.023117822,
0.010272926,
-0.00070560945,
-0.037173934,
0.032897286,
-0.017719675,
-0.0020672954,
-0.023656141,
-0.015700977,
0.005581324,
0.014796303,
-0.0007878527,
0.0113047045,
0.0025495398,
-0.017689768,
-0.03047485,
0.035858043,
-0.015304715,
0.026527176,
0.043035634,
-0.028456153,
0.010213112,
0.015155182,
-0.03950665,
0.035858043,
-0.03624683,
0.026751475,
-0.0329571,
-0.008702828,
0.017465468,
-0.064000174,
-0.032119714,
0.016508456,
-0.022773895,
-0.024343994,
0.010332739,
-0.0077757225,
0.0011906575,
0.010646759,
-0.0017654254,
0.004321507,
-0.009039277,
-0.010444889,
-0.0015074809,
-0.014938359,
-0.0016289764,
-0.042856194,
-0.03854964,
0.0126579795,
0.025196332,
0.0082691815,
0.010422459,
-0.019125286,
-0.03570851,
-0.026078576,
0.006986935,
0.011521528,
-0.043723486,
0.021951463,
0.01431032,
-0.03454215,
0.014975742,
0.009046754,
0.023701001,
0.047820695,
0.012979475,
0.008844884,
0.0035532808,
0.031132797
] | Before starting the work on a TensorFlow model architecture, double-check that there is no ongoing effort to do so.
You can search for BrandNewBert on the
pull request GitHub page to confirm that there is no
TensorFlow-related pull request.
2. Prepare transformers dev environment
Having selected the model architecture, open a draft PR to signal your intention to work on it. Follow the
instructions below to set up your environment and open a draft PR. |
[
0.01693165,
0.00961685,
-0.037077997,
0.00039970884,
-0.0014736869,
-0.009732634,
0.035361674,
-0.014275437,
-0.014956517,
0.072630376,
0.028714333,
0.008813175,
0.05617548,
-0.036478646,
-0.018034998,
0.035443403,
0.005438424,
-0.000015377509,
-0.051980026,
-0.027978767,
0.0053226403,
0.01845727,
-0.06238693,
-0.030948276,
-0.02017359,
-0.0043112366,
0.016986135,
-0.04198177,
0.052715592,
0.051135488,
-0.033917785,
0.020146348,
0.005540586,
-0.012783872,
-0.028305685,
-0.011585171,
0.024777692,
-0.038249455,
-0.020119105,
-0.06685481,
-0.0013357681,
-0.002537023,
0.011353604,
-0.056066506,
-0.052061755,
0.003252157,
-0.017476514,
-0.015528625,
-0.006306801,
-0.068979785,
0.014329923,
0.009548742,
-0.006088855,
-0.0002309287,
-0.06364012,
-0.029586116,
-0.028196713,
0.01949251,
-0.028659847,
-0.020609481,
0.02909574,
0.016727325,
-0.03081206,
-0.04928295,
0.013485384,
0.024409909,
0.01975132,
0.033509135,
0.0042533446,
-0.00059168827,
-0.062604874,
0.01897489,
-0.04023821,
-0.0362607,
-0.006620098,
0.0042363177,
0.020732075,
-0.028469145,
-0.014030248,
0.00075599883,
0.008983445,
0.07066886,
0.010318362,
0.008847229,
0.029831305,
-0.023415532,
0.031765573,
-0.029395415,
-0.015719326,
-0.03778632,
-0.021236075,
0.05982607,
0.001600538,
0.009037931,
-0.014929274,
0.053505648,
-0.008186582,
0.045850307,
0.0016116056,
-0.033345677,
0.014629599,
0.091537155,
-0.00651453,
0.0155967325,
-0.018784188,
-0.02297964,
-0.0046415604,
0.0049344245,
-0.03389054,
-0.03642416,
0.0038481022,
-0.01684992,
-0.011156091,
0.011210578,
-0.014520626,
0.015433273,
-0.0035007512,
-0.003831075,
-0.041055504,
-0.053832565,
-0.016318677,
0.008942581,
-0.025758447,
-0.025554122,
0.034762323,
-0.0231431,
0.027897038,
0.03686005,
0.043262202,
0.023156721,
0.0255405,
-0.031138979,
0.048956033,
0.041082747,
-0.032038003,
-0.026671093,
-0.012402467,
0.02442353,
-0.03718697,
-0.019533375,
-0.009719012,
-0.00030457048,
0.014398032,
0.06609201,
0.003059752,
-0.015555868,
0.061460663,
-0.09366213,
-0.034707837,
0.0006291477,
-0.015528625,
0.018661592,
-0.032283194,
0.040129233,
-0.06483882,
0.016359542,
-0.0035177784,
0.008029933,
0.0038072374,
0.014738572,
0.012572737,
-0.0018882944,
-0.007021935,
0.070886806,
0.0059594503,
0.05405051,
-0.017299432,
-0.007267124,
0.003161914,
-0.026139852,
-0.034925785,
0.048356682,
0.0102502545,
0.04342566,
0.06358563,
0.035688594,
0.031792816,
0.036206216,
-0.0019274565,
0.0026919688,
-0.00042610068,
-0.0010539714,
0.01778981,
0.0255405,
0.015569489,
-0.0077847447,
-0.0015188084,
0.00065511384,
0.031901788,
0.009739445,
-0.006351071,
0.056447912,
-0.041246206,
0.010134471,
-0.04824771,
-0.015610354,
-0.06456639,
0.019655969,
0.014357166,
-0.031629357,
-0.025090989,
0.051952783,
-0.0689253,
0.010079985,
-0.0061910176,
0.019083861,
0.004750533,
0.03854913,
0.030076494,
0.023456397,
0.03609724,
-0.0028401036,
-0.004866317,
-0.019887537,
0.024300935,
-0.037404913,
0.0015000787,
0.013138033,
-0.0065928544,
-0.006732476,
0.028659847,
0.012191332,
0.038630858,
0.04010199,
0.02766547,
-0.024818556,
-0.0017214298,
0.022407532,
0.025840176,
0.0068414486,
-0.009153715,
0.039284695,
0.019383537,
0.034871295,
0.03642416,
-0.020037374,
0.03089379,
0.04023821,
-0.0047471276,
0.0016950379,
0.027610984,
0.019451646,
-0.0089221485,
0.030757574,
-0.008193392,
-0.036069997,
-0.008949392,
-0.008118474,
-0.011537495,
0.010658902,
-0.007839231,
0.02537704,
0.018375538,
-0.0008517757,
-0.034326434,
-0.026453149,
-0.038794316,
0.011040307,
-0.025390662,
0.00030542183,
0.050999273,
-0.005421397,
-0.045632362,
-0.04078307,
0.042226963,
0.056393426,
-0.012783872,
0.016223326,
-0.019546997,
-0.050236464,
-0.00885404,
-0.029041251,
-0.08276484,
0.0018508349,
-0.037077997,
-0.03481681,
0.016918028,
-0.032828055,
0.031956274,
-0.006953827,
-0.02953163,
0.012368413,
-0.03797702,
0.017381161,
0.02748839,
0.01881143,
-0.042172473,
-0.0037731833,
-0.054949537,
0.006783557,
-0.024791313,
-0.07072335,
-0.0014626193,
-0.027897038,
0.044379175,
0.009003878,
0.017694458,
-0.064893305,
-0.010515875,
0.011135658,
-0.0277472,
0.004631344,
-0.031275194,
0.01991478,
-0.014575113,
-0.007158151,
0.005584856,
-0.033046003,
0.033046003,
0.08009501,
0.0011765658,
0.007873285,
0.008615662,
0.040047504,
-0.029177468,
0.037132483,
0.07927772,
-0.028305685,
-0.004842479,
-0.019369915,
-0.019655969,
0.0144661395,
0.0050978838,
-0.028060496,
-0.00506383,
0.05753764,
-0.031956274,
-0.055221967,
-0.0248458,
-0.0657106,
0.016618352,
-0.0018831863,
-0.0013953627,
0.059008773,
0.016032623,
0.011278685,
-0.045577876,
-0.047702845,
-0.0079618255,
0.038903292,
0.0031380763,
0.0024876448,
0.035470646,
0.024273692,
-0.027106985,
0.0081593385,
0.026820932,
-0.05546716,
0.014697707,
-0.02808774,
0.051952783,
0.0043759393,
-0.023401909,
0.0032657788,
-0.013267439,
0.028523631,
-0.004110318,
0.011101604,
-0.020050995,
0.014615977,
0.027815308,
0.020922778,
0.024777692,
-0.008969824,
-0.03873983,
0.0042601554,
0.00035203324,
-0.018947646,
0.045141984,
-0.023034126,
0.042935286,
-0.020663967,
-0.042581122,
0.02740666,
-0.021290561,
-0.050127488,
0.0362607,
0.028932279,
0.013138033,
-0.03797702,
-0.049092248,
0.035361674,
-0.0043282635,
0.043970525,
0.017149596,
0.0068312325,
-0.026752824,
-0.017748944,
-0.024314556,
0.022312181,
-0.02588104,
-0.032800812,
0.00077941094,
0.011094794,
-0.045986522,
-0.05369635,
0.019097485,
0.06996054,
0.02103175,
-0.0129950065,
0.040292695,
0.05437743,
0.014057492,
0.00010705727,
-0.017844297,
-0.027774444,
-0.06413049,
0.023987638,
0.04059237,
0.008104852,
-0.007464637,
-0.036369674,
-0.03021271,
0.011374036,
-0.013900843,
-0.0012736196,
-0.031683844,
-0.031711087,
-0.0028707522,
0.015119976,
-0.011517063,
-0.04500577,
-0.07377459,
0.004335074,
0.03301876,
0.0046892357,
-0.0062012337,
-0.034162972,
0.000052624073,
0.032882545,
0.0022322398,
-0.03337292,
-0.010856415,
-0.011074361,
-0.027461147,
0.049582627,
0.064620875,
-0.047702845,
-0.01114928,
-0.07241243,
-0.008016312,
0.004798209,
-0.009208201,
-0.03438092,
-0.03759562,
-0.010563551,
-0.001123782,
0.048492897,
-0.030294439,
0.019301808,
0.0047777765,
-0.027788065,
0.009174148,
-0.046858307,
-0.023415532,
0.012647656,
-0.0013749303,
-0.038440157,
0.030076494,
-0.0038719398,
0.005632532,
-0.011952954,
0.016700082,
-0.06767211,
-0.046422414,
0.013941708,
0.01420733,
0.0054009645,
0.04391604,
0.020119105,
-0.028305685,
0.017721701,
0.010338794,
-0.02758374,
0.036369674,
0.008956202,
-0.012613602,
-0.014139221,
-0.033073246,
0.019887537,
-0.055385426,
0.04110999,
0.023865044,
0.044133984,
-0.005823234,
-0.044542633,
-0.034789566,
-0.034953028,
-0.022911532,
0.022312181,
0.011053929,
0.028469145,
-0.028441902,
0.009793931,
-0.011040307,
-0.012988196,
-0.03192903,
0.029177468,
0.05819148,
0.008561176,
0.01345133,
-0.04228145,
-0.009582796,
0.008608852,
-0.017898783,
0.025063744,
0.0013757816,
-0.0014370788,
-0.0030682655,
-0.008431771,
-0.050318193,
-0.01778981,
0.009010688,
-0.014003005,
0.013628411,
-0.051135488,
0.0062420983,
-0.0046245335,
-0.017599108,
0.012375224,
-0.0382767,
-0.035034757,
0.008213825,
-0.0026425906,
0.028823307,
0.008888095,
0.05617548,
-0.05497678,
-0.04939192,
-0.03566135,
0.04459712,
-0.051108245,
0.018920403,
-0.015950894,
0.00842496,
0.0039093993,
0.016277812,
-0.0030103738,
-0.015623976,
0.019029375,
-0.017149596,
-0.009419337,
-0.05524921,
-0.037840806,
-0.05301527,
0.033645354,
-0.029477144,
0.02698439,
-0.010774686,
-0.018252945,
-0.019288186,
0.0028809684,
0.019383537,
0.021740073,
-0.041436907,
-0.022816181,
0.011278685,
0.020282563,
-0.012027873,
0.02085467,
-0.021998884,
0.03642416,
-0.011925711,
0.029150225,
-0.021590237,
-0.04707625,
0.0009645796,
0.010236633,
0.03533443,
-0.047811817,
0.009228635,
-0.0126272235,
0.023306558,
-0.0070696105,
0.009753066,
-0.037214212,
-0.024573367,
-0.02035067,
-0.06838043,
0.059608124,
-0.03770459,
0.010829172,
-0.04800252,
-0.014970139,
0.07524572,
-0.0025812932,
-0.0013170384,
0.075354695,
-0.01941078,
-0.025295312,
-0.025908284,
0.023088614,
0.043861553,
-0.006279558,
-0.020800184,
0.042444907,
-0.036996268,
0.04195453,
0.00391621,
-0.050999273,
0.00319086,
0.016754568,
0.016890785,
0.010658902,
0.027079742,
0.00638172,
-0.0135330595,
-0.05241592,
0.028278442,
0.02766547,
0.0030921032,
0.022066992,
0.029994763,
-0.0098279845,
0.026316931,
-0.020228077,
-0.02307499,
-0.028632604,
0.07377459,
-0.006068423,
-0.057428665,
0.0022782127,
0.047675602,
-0.016114354,
-0.04696728,
-0.02885055,
0.03429919,
-0.02001013,
-0.009201391,
-0.0010675929,
-0.008908527,
-0.01378506,
0.057592127,
0.014752193,
0.008479446,
-0.012613602,
0.04568685,
-0.0014396328,
-0.014220951,
-0.023510883,
0.031602114,
-0.035116486,
-0.009269499,
-0.04568685,
0.018825052,
-0.03389054,
-0.03702351,
0.06511125,
0.0033270759,
0.024546124,
0.041001018,
-0.023361044,
0.06576509,
0.013948519,
0.020527752,
0.012879224,
-0.038331185,
-0.05617548,
-0.022543749,
0.0046449658,
-0.0050093434,
-0.0008777419,
-0.0277472,
0.006163774,
0.049855057,
0.055031266,
-0.02586742,
-0.06385806,
0.0048969653,
-0.035034757,
0.009793931,
0.054023266,
0.04170934,
0.033590868,
0.025159096,
0.01379187,
-0.0544864,
0.014425275,
0.0066609625,
0.0052136676,
-0.007737069,
-0.04500577,
0.02502288,
-0.05048165,
0.030675843,
-0.013921276,
0.030158224,
0.0018440242,
0.006647341,
0.015991759,
-0.0140983565,
0.03574308,
-0.006827827,
-0.00268005,
0.023429153,
-0.017531,
0.030321682,
-0.008465825,
0.016046245,
-0.019506132,
0.029477144,
0.0009058364,
-0.024491638,
0.01310398,
-0.004886749,
-0.029422658,
-0.031111736,
0.0067699356,
0.05217073,
-0.03152038,
0.0074578263,
-0.005939018,
0.046231713,
-0.06407601,
-0.0057415045,
-0.017639972,
0.02401488,
-0.010318362,
0.04146415,
-0.020405157,
0.0115511175,
-0.010154903,
0.005336262,
-0.03217422,
0.031547625,
-0.0008705054,
-0.022748072,
0.03222871,
0.019397158,
0.0011271874,
-0.012123224,
0.0137578165,
0.027052497,
-0.03337292,
0.03429919,
0.012552305,
0.0062523144,
-0.014738572,
-0.0054758834,
0.028469145,
0.023047747,
0.052279703,
-0.016223326,
0.005778964,
-0.028223956,
-0.045441657,
0.032800812,
-0.049718842,
-0.022094237,
0.039693344,
-0.027215958,
-0.015024625,
-0.011006253,
-0.0073420424,
0.020650346,
0.018021377,
0.0012591467,
0.030267196,
0.0055371807,
0.010134471,
0.0032027788,
-0.065983035,
-0.0464769,
-0.0022339425,
0.02620796,
0.0055337753,
-0.0031414817,
0.064893305,
-0.0060207476,
0.0030069682,
-0.010488632,
-0.0051796134,
-0.01506549,
0.0025864013,
-0.005925396,
0.011346793,
-0.0155967325,
-0.035062,
0.056665856,
-0.012266251,
-0.01378506,
0.005489505,
0.010904091,
0.032473896,
-0.010161714,
0.015692083,
0.024723204,
0.035470646,
-0.03557962,
0.008908527,
0.012211765,
0.036396917,
-0.020309806,
0.022094237,
0.007594042,
0.026330553,
0.037731834,
0.043807067,
0.013669276,
0.043125987,
0.005717667,
-0.036996268,
-0.03004925,
0.046694845,
0.015801057,
0.019179214,
0.01983305,
0.040728584,
0.036533132,
0.0059628556,
0.019737698,
0.03541616,
-0.023061369,
-0.037132483,
-0.021385912,
0.0026442932,
-0.013587547,
0.02544515,
-0.057483155,
-0.053178728,
0.007805177,
0.051380675,
-0.006061612,
0.019260943,
-0.013035872,
0.049228463,
0.033754326,
-0.004655182,
0.04595928,
0.006960638,
0.059989527,
-0.018034998,
0.045305442,
0.0049752896,
-0.021004507,
-0.0063102064,
-0.023088614,
-0.004590479,
0.010066363,
-0.011687333,
0.004059237,
0.0054792888,
-0.025486015,
0.0016337407,
-0.07421048,
0.035770323,
-0.040537883,
0.018402781,
0.024137476,
-0.02119521,
-0.017490136,
0.023088614,
-0.0017129163,
0.020623103,
0.048901547,
0.043943282,
0.024818556,
0.0745374,
0.023905909,
0.025009258,
0.046613116,
0.032800812,
-0.076716855,
-0.027542876,
0.039093994,
-0.036396917,
0.008874472,
-0.026357796,
-0.039529886,
0.02416472,
-0.013178898,
-0.017340297,
-0.06271385,
0.010652091,
0.018566241,
-0.010427335,
0.0052783703,
0.09981909,
0.027869795,
-0.004450858,
-0.0077438797,
0.0012744709,
-0.032038003,
-0.06314974,
0.0017759162,
0.034762323,
-0.022707207,
0.00295759,
0.017653594,
-0.06189655,
0.0114966305,
0.027188715,
-0.015583111,
0.017721701,
0.027706334,
0.0067188544,
0.027679091,
-0.00020943211,
-0.02860536,
-0.0007972893,
0.025758447,
0.051081,
-0.018838674,
0.059717096,
0.05584856,
-0.0079890685,
0.007028746,
0.012865601,
-0.0005112357,
-0.006429395,
-0.010849604,
-0.0052375053,
-0.0046688034,
0.015038247,
-0.022284938,
0.012143657,
0.024995636,
-0.021631101,
0.014942896,
-0.031711087,
-0.059117746,
-0.04743041,
-0.0133900335,
-0.03762286,
0.0015358354,
-0.014956517,
-0.023115857,
0.049827814,
-0.049909543,
0.21511231,
0.048547383,
0.013035872,
0.018157594,
0.042935286,
0.044406418,
0.014752193,
-0.0034530757,
0.01430268,
-0.05132619,
0.016781813,
-0.054350186,
-0.00023901652,
0.011469387,
-0.028986765,
0.048574626,
-0.07393805,
-0.017517379,
-0.030948276,
-0.023429153,
-0.028114984,
0.042090744,
-0.015378787,
0.069797084,
0.03549789,
0.032800812,
-0.0122594405,
-0.05301527,
-0.00022922599,
-0.06799903,
-0.012552305,
-0.014847544,
-0.01795327,
-0.00404221,
-0.027270444,
-0.025417907,
0.006351071,
-0.022761695,
0.015419652,
0.034190215,
-0.008145717,
-0.014425275,
0.038794316,
0.0059798826,
0.007852852,
0.03369984,
-0.018348295,
0.009793931,
0.017599108,
-0.044760577,
0.037077997,
-0.027379416,
0.008717824,
-0.05481332,
-0.029885791,
0.0051081004,
-0.06042542,
-0.036151726,
0.016318677,
-0.010209389,
-0.017435648,
0.017394783,
-0.046531387,
0.004372534,
-0.04091929,
0.01777619,
-0.017531,
0.019628726,
0.03378157,
-0.014820301,
0.015882786,
-0.024273692,
-0.050236464,
-0.008023122,
0.0003399015,
0.022966018,
0.03173833,
0.0306486,
-0.017926026,
-0.024546124,
-0.028659847,
-0.0048322626,
-0.0118644135,
-0.03157487,
0.025458772,
0.011196955,
-0.040864803,
-0.012109603,
0.006885719,
0.010577173,
0.04443366,
0.06271385,
0.032119732,
0.028278442,
-0.027978767
] | Are you unsure whether the model you wish to use already has a corresponding TensorFlow architecture?
Check the model_type field of the config.json of your model of choice
(example). If the corresponding model folder in
🤗 Transformers has a file whose name starts with "modeling_tf", it means that it has a corresponding TensorFlow
architecture (example). |
[
0.013112683,
0.048459914,
-0.031983543,
-0.06510732,
-0.0014350904,
-0.033209294,
0.024429498,
0.0040371385,
0.012278887,
0.008694279,
-0.026481919,
0.0053020846,
0.063282944,
-0.035746314,
0.015535679,
0.020267647,
0.0025637434,
-0.027579393,
-0.07645264,
-0.011088769,
0.0031071356,
-0.0037307008,
-0.054275103,
-0.02058121,
-0.005861512,
0.022206044,
0.01744557,
-0.02698077,
0.072860904,
0.034663092,
-0.05165257,
-0.016262578,
-0.010839343,
-0.003930242,
0.0023909267,
-0.03015917,
0.0077250805,
-0.0077820923,
-0.07018136,
-0.056783617,
0.01456648,
0.005305648,
-0.000080284,
-0.048374396,
-0.03748517,
0.032924235,
0.023716852,
-0.027009277,
0.003470585,
-0.022220297,
-0.009699109,
0.08089955,
-0.0043898984,
0.034292515,
-0.018842354,
-0.018885113,
-0.0166189,
-0.019626265,
0.0007839104,
0.026881,
0.01092486,
0.031384923,
-0.0052201306,
-0.006182202,
0.025683755,
0.07930323,
-0.021635927,
-0.046977613,
-0.010768078,
-0.028078245,
-0.040535294,
0.042559206,
-0.0037592067,
-0.02927549,
0.0075184135,
-0.0042224266,
0.037627697,
-0.012948775,
0.055358328,
0.033608377,
0.030130664,
0.067900896,
-0.006748756,
0.055415336,
-0.031384923,
-0.008045771,
0.04623646,
0.0027579393,
-0.04159001,
-0.0484029,
0.00091396825,
0.022861678,
-0.008188301,
0.028220775,
0.027650658,
0.024899844,
-0.007789219,
0.006958986,
-0.018557297,
0.019227184,
-0.0008458215,
0.07936024,
-0.021094317,
0.0046393243,
0.0138324555,
-0.0261541,
0.0089080725,
-0.007675195,
0.010041179,
-0.002232363,
0.027308587,
-0.035233207,
0.03141343,
0.020338912,
0.024557775,
-0.016234072,
0.0035436312,
0.053106364,
-0.07417218,
-0.042701736,
0.024572028,
-0.023830876,
-0.027579393,
-0.017402811,
0.028178016,
-0.01647637,
-0.013526018,
0.017431317,
0.06123053,
-0.0061893286,
0.015136597,
-0.017830398,
0.035062175,
0.038140804,
0.010048306,
-0.0156069435,
-0.02086627,
-0.004040702,
0.02698077,
-0.05190912,
-0.011901185,
-0.02038167,
0.023517312,
0.0811276,
0.031042852,
0.0017156948,
-0.004015759,
-0.025683755,
0.020296153,
0.015649702,
-0.0053769127,
-0.05835144,
-0.0120579675,
0.019098908,
-0.022733402,
0.055044763,
-0.054873727,
0.029389514,
0.026581688,
0.054075565,
0.016533382,
0.018557297,
0.0005331481,
0.03329481,
-0.02927549,
0.040934376,
-0.047433704,
-0.025256168,
-0.0032104694,
-0.022149032,
0.00762531,
0.02810675,
-0.009228763,
-0.05746776,
0.039851155,
-0.025983065,
0.023859382,
0.02619686,
-0.007561172,
0.0040050694,
-0.0035739187,
0.053448435,
0.024543522,
0.038682416,
-0.05267878,
-0.025184903,
-0.009734741,
0.013682799,
0.004543117,
-0.01275636,
-0.022833172,
0.03973713,
-0.06596249,
0.006905538,
-0.04238817,
0.010197962,
0.02927549,
-0.023645587,
0.00477829,
-0.01764511,
-0.015022574,
0.012157737,
0.016120048,
0.016675912,
0.000089915855,
-0.063568,
-0.013191074,
0.0030216181,
-0.03759919,
0.005041969,
0.05900707,
0.042359665,
0.0046571405,
0.02311823,
-0.0120437145,
-0.03788425,
-0.017317293,
0.003522252,
-0.0084306,
0.024529269,
0.045466803,
0.025569731,
0.036031373,
0.05116797,
0.02140788,
0.039309543,
0.0001592318,
0.025384443,
-0.018101204,
-0.019569254,
0.012492681,
0.01690396,
0.042758748,
0.019355461,
0.013611535,
-0.0035133439,
0.032667685,
0.05421809,
0.015507173,
0.0100910645,
0.0229757,
0.0050811647,
0.022605125,
0.014573607,
-0.029004684,
0.0070694466,
0.016305337,
-0.011594747,
-0.0108892275,
0.018343503,
-0.05649856,
0.02042443,
0.0022394895,
-0.019383965,
-0.060204316,
-0.05649856,
-0.010518652,
0.010654055,
-0.025184903,
-0.018742586,
0.031441934,
0.012300267,
-0.016305337,
0.018314997,
0.020623969,
0.023517312,
-0.025113638,
0.0576673,
-0.023246506,
-0.026182607,
-0.032838717,
-0.0040656445,
-0.07554045,
-0.018528791,
-0.06887009,
0.011929691,
0.040592305,
-0.02830629,
0.011680265,
-0.008202553,
0.036173902,
-0.006834273,
0.0065599047,
-0.014545101,
0.044412088,
0.049885206,
-0.0011241988,
-0.016105795,
-0.0138324555,
0.04027874,
-0.029218478,
0.016291084,
0.0059790984,
-0.020980293,
0.011523482,
0.009813133,
-0.047234163,
-0.008936578,
-0.043585416,
0.0047854166,
-0.05267878,
-0.0031089173,
0.016604647,
0.038710922,
0.011416586,
0.007817725,
-0.036744017,
-0.035888843,
0.037029076,
0.00009153045,
0.0102977315,
0.01380395,
-0.021635927,
0.00063113694,
-0.015051079,
0.024871338,
0.024885591,
0.032325614,
-0.04384197,
0.014060502,
-0.044013005,
-0.0152363675,
-0.008851061,
-0.03680103,
-0.047148645,
0.03514769,
-0.022405583,
-0.07417218,
-0.018699827,
-0.017801892,
-0.029674571,
-0.0042865644,
0.03050124,
0.04047828,
-0.0061073746,
-0.022248803,
-0.012963027,
0.027493875,
-0.013647167,
-0.029788595,
0.016918212,
-0.014074755,
0.052422225,
0.036458958,
-0.0089080725,
-0.057638794,
0.029104454,
-0.05792385,
0.044269558,
-0.029332502,
0.017388558,
0.012029462,
-0.0096919825,
0.022590872,
0.033950448,
0.044583123,
-0.03953759,
0.013974984,
-0.015649702,
0.016775683,
0.008145542,
0.028334796,
-0.037399653,
-0.026239619,
-0.04198909,
-0.010376123,
0.0011660667,
-0.0051631187,
0.066019505,
-0.042502195,
0.013846708,
0.0078889895,
-0.013889466,
0.022761907,
-0.010076812,
-0.034435045,
0.032753203,
0.06408111,
0.022305815,
-0.010283479,
-0.08318002,
-0.027394105,
0.0070765726,
0.035005163,
0.065164335,
-0.0062463405,
0.0035561025,
0.021664433,
-0.042416677,
-0.044953696,
0.005426798,
-0.03680103,
0.010354743,
-0.028534338,
-0.015863495,
-0.037371147,
0.009064855,
0.02786445,
0.03611689,
0.007689448,
0.0011250896,
0.015079585,
-0.029503535,
0.016818441,
-0.023061218,
0.023004206,
-0.03269619,
0.02223455,
0.04535278,
-0.025911802,
-0.016789936,
-0.007561172,
0.020481441,
0.030957334,
-0.02995963,
0.018956378,
-0.018200973,
-0.01036187,
0.0014814124,
0.0092929015,
-0.025926054,
-0.028320543,
-0.08705681,
0.006506456,
0.058180403,
-0.013469006,
0.00706232,
-0.025227662,
-0.028577097,
0.054759704,
0.002893342,
-0.033608377,
0.0152221145,
-0.0019669025,
-0.05430361,
0.04062081,
0.072632864,
-0.02380237,
-0.060204316,
-0.03352286,
-0.0057332357,
-0.015549932,
0.0032692626,
-0.02438674,
-0.014894297,
0.004040702,
0.014324181,
0.018585803,
-0.01877109,
-0.0031819635,
0.007311746,
-0.0018181376,
0.012065093,
0.012065093,
-0.0070908256,
-0.038625404,
0.032867223,
0.00060307654,
0.034577575,
0.019212931,
-0.0200396,
-0.018243732,
-0.00019686841,
-0.0484029,
-0.08061449,
0.021037305,
0.03132791,
0.0017522179,
0.012742107,
0.03426401,
-0.038055286,
0.048431408,
0.0237026,
0.005113234,
-0.010718193,
-0.047918305,
0.023788117,
0.01915592,
-0.010732446,
0.018015686,
-0.031213887,
0.035803325,
0.009107613,
0.02307547,
-0.019170173,
-0.04623646,
0.017687868,
0.008858187,
0.0013602626,
0.033266306,
0.012806245,
0.012870383,
-0.029845607,
0.022719149,
-0.019754542,
-0.0004547571,
-0.045523815,
0.010760952,
0.035176195,
-0.0041475985,
0.012585325,
0.0072868033,
-0.016148554,
-0.014017743,
-0.009449683,
0.023531564,
-0.01104601,
-0.06037535,
-0.012015209,
-0.012955901,
-0.037456665,
0.0023036276,
-0.044839673,
0.028534338,
-0.002357076,
0.061173517,
-0.021051558,
-0.011259804,
-0.028562844,
0.027280081,
-0.01671867,
-0.007425769,
-0.042245645,
0.0068699056,
-0.009463936,
0.025498467,
0.037941262,
-0.04136196,
-0.023203747,
-0.021536157,
0.0096777305,
-0.07913219,
-0.029161466,
-0.02800698,
-0.05493074,
-0.010497273,
-0.002389145,
0.005024153,
-0.052222684,
0.012563946,
-0.019583507,
-0.035176195,
-0.040022187,
0.024686052,
-0.010390376,
0.009827386,
-0.009606466,
0.031156875,
-0.007953127,
0.009043476,
-0.017032234,
0.037200112,
0.028520085,
0.041219432,
0.017388558,
-0.03454907,
0.011316815,
-0.035062175,
0.0029681697,
0.050597854,
-0.030586759,
0.01999684,
0.0013932226,
-0.0022270181,
-0.03700057,
-0.017873157,
-0.024130186,
0.025113638,
-0.037770227,
-0.012528313,
0.049486123,
0.008879567,
0.033266306,
0.002417651,
0.01891362,
0.018528791,
0.014580733,
-0.018970631,
-0.055016257,
0.017217522,
-0.018243732,
-0.0020256958,
-0.008665773,
-0.026125595,
0.030444229,
-0.026681459,
0.0371431,
0.04238817,
0.053733494,
0.03426401,
-0.049628653,
0.03802678,
0.035575278,
-0.02732284,
0.0035044358,
-0.0013513546,
-0.0024158694,
0.031555958,
0.00467852,
0.008822555,
-0.012343026,
0.0371431,
0.027778933,
-0.017217522,
0.018785343,
-0.03728563,
-0.061800644,
-0.046749566,
0.019070402,
0.034976657,
0.021008799,
0.013910846,
0.016533382,
0.02199225,
0.04178955,
-0.01163038,
-0.015692461,
-0.014138893,
0.039566096,
0.043955993,
-0.014274295,
0.0051346133,
0.02434398,
-0.07930323,
-0.033608377,
-0.061344553,
0.037855744,
-0.039366554,
0.0044861054,
-0.012863257,
-0.000069371614,
-0.02854859,
0.054161083,
0.045751862,
-0.0061679496,
-0.038197815,
-0.004136909,
-0.0332378,
-0.024058923,
0.018172467,
0.03352286,
0.0058436957,
-0.05704017,
-0.026923759,
0.0070231245,
-0.06162961,
-0.010960492,
0.018828101,
-0.019170173,
0.034149986,
0.043670934,
0.024301222,
0.065164335,
-0.00055675453,
0.04951463,
0.018699827,
-0.012913142,
-0.05396154,
0.020125117,
-0.03281021,
-0.028719626,
0.017431317,
-0.050569348,
-0.0108892275,
-0.018443273,
0.01058279,
-0.011715897,
-0.042587712,
0.007974506,
-0.0046108183,
0.0071620904,
0.0041654147,
-0.010076812,
0.014637745,
-0.011231298,
0.021920985,
0.0042046104,
-0.024073176,
0.009599339,
-0.013461879,
-0.032382626,
-0.036544476,
-0.027237322,
-0.047547728,
-0.0679579,
-0.010247847,
0.009592213,
-0.039794143,
0.015122344,
-0.021678686,
-0.012357279,
-0.0074471487,
0.023517312,
0.0074115163,
0.043585416,
-0.0229757,
-0.033950448,
0.017032234,
0.0035970798,
-0.042587712,
0.0070516304,
0.012243255,
-0.02899043,
0.047861293,
0.0061536967,
-0.0009558362,
-0.0088938195,
0.027436864,
0.02941802,
-0.020224888,
-0.011787161,
0.015079585,
0.008366462,
-0.020666728,
0.0005019699,
0.004664267,
0.031755496,
-0.03876793,
0.004539554,
-0.030415723,
0.03891046,
-0.027237322,
-0.018628562,
0.023132483,
0.04324335,
0.029931124,
0.008922325,
-0.013718432,
-0.028092498,
0.0068378365,
-0.008238185,
-0.008879567,
0.05738224,
0.0040086326,
0.011708771,
-0.004874497,
0.012371531,
0.018457526,
0.007268987,
-0.013697052,
0.07211976,
0.016547635,
0.03620241,
-0.0063247317,
-0.027821692,
0.012107852,
0.027992727,
-0.045894388,
-0.038853448,
0.0089080725,
-0.04803233,
0.042844266,
-0.029303996,
0.032439638,
-0.005718983,
0.011815667,
-0.0022109835,
0.01676143,
-0.015549932,
0.04803233,
0.04173254,
-0.052906826,
-0.020980293,
-0.024728809,
0.03386493,
-0.0071941596,
-0.03708609,
0.018756839,
0.064879276,
-0.008174048,
-0.019269943,
-0.011138654,
-0.01422441,
0.0037413905,
0.028876409,
-0.03494815,
0.017189017,
-0.0120864725,
0.0303017,
-0.04569485,
0.040164717,
-0.019626265,
0.046607036,
-0.00064761686,
0.036829535,
0.008010139,
0.043214843,
0.014017743,
0.020609716,
0.030130664,
0.009841639,
0.0042153,
0.007532666,
0.007158527,
0.0025102948,
0.094183266,
0.018272238,
0.02110857,
0.016604647,
0.024030417,
0.0019152357,
-0.0054695564,
-0.011331068,
-0.01014095,
0.021935238,
-0.012906016,
0.023745358,
-0.048801985,
-0.0047533475,
-0.0234603,
0.036972065,
0.022989953,
-0.030130664,
0.014823033,
0.008865314,
-0.012777739,
0.03822632,
-0.027066289,
-0.006100248,
0.006577721,
0.015264873,
0.02521341,
0.020110864,
0.022961447,
0.003105354,
0.026709964,
-0.008394968,
-0.0045538065,
0.013853834,
0.014979815,
-0.011637506,
-0.033693895,
0.05732523,
-0.02830629,
0.02643916,
-0.06123053,
0.009827386,
-0.033750907,
0.0031160438,
0.01706074,
-0.008851061,
0.008266691,
-0.016362349,
-0.033152282,
-0.075939536,
0.011701644,
-0.046664048,
0.020552704,
-0.013369235,
-0.0028256406,
-0.07542643,
0.011074516,
-0.0012934521,
0.041675527,
0.008209679,
0.030900322,
0.011737277,
0.019626265,
0.038881954,
0.023873635,
0.02150765,
0.025940306,
-0.039623108,
-0.020695234,
0.013483259,
-0.027080541,
-0.011445092,
-0.034235504,
-0.016975224,
0.02790721,
0.0038696667,
-0.043414384,
-0.051937625,
0.045295767,
-0.0074614016,
-0.06584847,
0.025142144,
0.038340345,
-0.011366701,
-0.027123298,
0.011124401,
0.044440594,
-0.026125595,
-0.0337224,
-0.032867223,
0.015207862,
0.029061696,
-0.049457617,
0.009813133,
-0.0055728904,
-0.0065848473,
-0.01515085,
-0.027294334,
-0.0020773625,
0.012563946,
-0.004607255,
0.021279603,
0.010411755,
-0.031156875,
0.03845437,
0.038397357,
0.03529022,
0.013618661,
0.057439253,
0.061116505,
-0.0124570485,
-0.019982588,
0.0049421987,
0.027664911,
-0.04486818,
-0.00943543,
-0.0014947746,
0.00524151,
-0.026823988,
-0.06590548,
-0.02380237,
0.039224025,
-0.022961447,
0.019412471,
-0.018813848,
0.0025388007,
-0.063111916,
-0.10062559,
-0.065506406,
-0.009186004,
-0.016333843,
-0.064537205,
0.03281021,
-0.047234163,
0.23967704,
0.020737993,
0.01744557,
0.0075825513,
-0.014516595,
0.072860904,
0.004340013,
0.0020221325,
-0.014751768,
-0.027337093,
0.015450161,
-0.036145397,
0.008487612,
0.0234603,
-0.03911,
0.059691213,
-0.04369944,
0.021023052,
-0.034862634,
-0.060489375,
-0.057781324,
0.012000956,
0.012371531,
0.020438682,
0.015407402,
0.028933419,
-0.02140788,
0.0055265683,
-0.03782724,
-0.047205657,
0.03440654,
-0.000561654,
0.022291562,
-0.011723024,
-0.0061323172,
0.032981247,
0.019269943,
-0.0042153,
0.0136400405,
-0.0010965838,
0.020609716,
-0.026168354,
0.004511048,
-0.00047480027,
-0.0041654147,
0.06066041,
-0.029902618,
-0.010946239,
0.0091004865,
-0.023716852,
0.019726036,
-0.015179356,
0.034577575,
-0.032040555,
-0.02786445,
0.01857155,
-0.029118707,
-0.026353642,
-0.0042723115,
-0.0444691,
0.06607652,
-0.00032447654,
0.016960971,
0.015877748,
-0.013939352,
0.0021325925,
0.0014591423,
0.08449129,
-0.030187676,
-0.012307393,
-0.028676867,
-0.01414602,
-0.034206998,
-0.082780935,
0.019726036,
0.038824942,
-0.030558253,
0.0073972633,
0.0072761136,
-0.040193222,
0.028406061,
0.0144524565,
0.015179356,
-0.055643383,
0.031384923,
0.0084804855,
-0.030586759,
-0.024358233,
0.01744557,
0.011188539,
0.033779413,
0.048060834,
-0.037998274,
0.022647884,
0.014502342
] | Fork the repository by clicking on the 'Fork' button on the
repository's page. This creates a copy of the code under your GitHub user account.
Clone your transformers fork to your local disk, and add the base repository as a remote:
git clone https://github.com/[your Github handle]/transformers.git
cd transformers
git remote add upstream https://github.com/huggingface/transformers.git
Set up a development environment, for instance by running the following command: |
[
0.034099646,
0.018769253,
-0.036180303,
-0.033146013,
0.030371802,
-0.016703047,
0.0062455814,
-0.005389478,
-0.034301933,
0.05528188,
0.0026784837,
-0.020445338,
0.057853807,
-0.054906208,
0.02635498,
0.054328248,
-0.003778414,
-0.030660782,
-0.046265706,
-0.0347643,
0.012534509,
-0.003574322,
-0.07091571,
-0.023132853,
0.0030794437,
0.03300152,
0.030516293,
-0.028002167,
0.09114431,
0.032221276,
-0.024418814,
-0.01361096,
0.012491163,
-0.041468635,
-0.02924478,
-0.033232704,
-0.011226875,
-0.061726138,
-0.041844312,
-0.01797456,
0.02927368,
-0.016573006,
0.017035374,
-0.03592022,
-0.06525169,
0.032481357,
-0.011739815,
-0.0268029,
0.013806022,
-0.04360709,
-0.0062347446,
0.028305596,
0.004508089,
0.024563303,
-0.024375467,
-0.05112057,
-0.04392497,
0.037596304,
-0.048722036,
0.0084960135,
0.06796811,
0.017512191,
0.021268932,
-0.03589132,
0.0011884305,
0.05418376,
-0.006534561,
0.011551977,
-0.00882834,
-0.016255127,
-0.039474674,
-0.0103021385,
-0.03704724,
-0.029504864,
0.00926181,
0.03155662,
0.030053925,
-0.041092962,
-0.007159481,
0.007867482,
0.023176199,
0.032047886,
0.00955079,
0.03138323,
0.013394225,
0.004797069,
0.065136105,
-0.003485822,
-0.017425496,
-0.041468635,
-0.0010349097,
0.03300152,
0.014925819,
0.02996723,
-0.02144232,
0.028739065,
-0.03242356,
0.03996594,
0.022916118,
-0.019925173,
-0.0012435173,
0.05487731,
-0.03704724,
0.0061227647,
0.023046158,
-0.017396599,
0.011226875,
-0.012028795,
0.020532032,
-0.01910158,
0.027814329,
-0.01635627,
0.0143984305,
0.0066248677,
0.008922259,
-0.0155182285,
-0.012129937,
0.027626492,
-0.062361892,
-0.0013085378,
-0.0017934825,
-0.012252754,
-0.040341616,
-0.029996129,
-0.009435198,
-0.050166935,
0.01564827,
0.03213458,
0.007853033,
0.008344299,
0.016717495,
0.00919679,
0.02996723,
0.044474028,
-0.02129783,
-0.06634982,
-0.05114947,
0.016139535,
0.017584436,
-0.004934334,
0.010085404,
-0.006809092,
0.02157236,
0.07403669,
0.012057693,
0.021066645,
0.004168537,
-0.074788034,
-0.02434657,
0.014716309,
-0.004833191,
0.018277988,
0.00550507,
0.028276697,
-0.030314006,
0.046525788,
-0.024664447,
0.020329745,
0.011313569,
0.029317025,
0.00043866268,
0.028016616,
-0.051698532,
0.053230125,
0.03253915,
0.029504864,
-0.036006913,
-0.007903604,
-0.007090848,
-0.040428307,
-0.0318456,
-0.000453789,
-0.019202724,
-0.0022594628,
0.054935105,
0.047306035,
0.039763656,
0.023103954,
-0.009666382,
-0.009716954,
-0.0060288464,
-0.016688598,
0.03386846,
0.033810664,
-0.010439404,
-0.0011938488,
-0.002176381,
-0.0058482336,
0.02447661,
-0.024144283,
0.02303171,
0.038723327,
-0.04068839,
0.02722192,
-0.04227778,
-0.006541786,
-0.045283172,
-0.006010785,
0.02012746,
-0.013936062,
-0.036035813,
0.023551874,
-0.037596304,
0.036555976,
-0.015836107,
0.0195495,
0.001038522,
0.0045622727,
-0.03129654,
-0.004063782,
0.012324999,
0.0005964729,
0.0036519854,
-0.009781974,
0.009377402,
-0.017208762,
-0.010757282,
0.0047934563,
0.02271383,
-0.009810872,
0.022034729,
-0.017858967,
0.049068812,
0.037596304,
0.048577547,
-0.007065562,
0.0146007165,
0.05302784,
-0.018668111,
0.004443068,
-0.010475527,
0.029736046,
0.044560723,
0.03652708,
0.0608014,
-0.0010565832,
0.031180946,
0.032885928,
0.020387542,
0.006140826,
0.030978661,
0.012296101,
0.024245426,
0.017252108,
0.0037748017,
-0.015503779,
-0.017179864,
-0.009601362,
-0.009008953,
-0.005349743,
-0.04721934,
0.03941688,
0.021037748,
-0.019621745,
-0.045832235,
-0.011797611,
-0.004746497,
0.029504864,
-0.005013804,
-0.009861444,
0.037451815,
-0.008055319,
0.0017076915,
-0.0027651777,
0.035111077,
0.037133936,
-0.03563124,
0.026340531,
0.004695926,
-0.024534406,
0.0039156796,
-0.04302913,
-0.09334055,
0.007990298,
-0.05545527,
-0.011710917,
-0.008373197,
-0.024202079,
-0.009218464,
-0.041064065,
-0.004240782,
-0.018292436,
-0.00717393,
0.032047886,
0.051033877,
0.016284026,
-0.04646799,
0.010294914,
-0.070857905,
-0.001110767,
0.023638567,
0.004450293,
0.01383492,
-0.011573651,
0.023017261,
0.010323812,
-0.029374821,
-0.033203807,
-0.04753722,
0.0032510255,
-0.012606755,
0.0018070283,
0.016861986,
0.024852283,
0.011551977,
0.012700673,
-0.030631885,
-0.045456562,
0.047103748,
0.023436282,
-0.004695926,
0.02795882,
0.010229894,
0.010388833,
-0.013054674,
0.021630157,
0.06450035,
0.008344299,
-0.040515002,
-0.034301933,
-0.04548546,
-0.0063683977,
0.006577908,
-0.028493432,
0.003485822,
0.044098355,
-0.037162833,
-0.009500219,
-0.033781767,
-0.021066645,
-0.017483292,
-0.049502283,
-0.016153984,
0.041613128,
0.017252108,
0.00942075,
-0.012830714,
0.019217173,
-0.015026962,
0.016284026,
0.026976287,
-0.018740356,
0.02129783,
0.03635369,
0.003317852,
-0.0051221712,
0.009912016,
-0.057622623,
0.02027195,
0.004825967,
0.019506153,
-0.0111329565,
-0.003473179,
0.007332869,
0.01405888,
0.0043347008,
-0.008604381,
0.042624556,
0.0026405551,
0.003272699,
0.022656035,
0.012845163,
-0.004583946,
-0.01382047,
-0.07935392,
0.0031047293,
0.027872125,
0.0058229477,
0.053923678,
-0.04935779,
0.029447068,
0.0154026365,
-0.03826096,
-0.016255127,
-0.010836752,
-0.03303042,
0.021355625,
0.05054261,
0.011812059,
-0.036006913,
-0.028594576,
0.011739815,
0.002089687,
0.03632479,
0.06981758,
-0.01913048,
-0.03834765,
0.0069138478,
-0.02519906,
0.027120776,
-0.0067115617,
0.002452718,
-0.02171685,
-0.01064169,
-0.008719973,
-0.032105684,
0.029461516,
0.04811518,
0.048722036,
0.0059385397,
0.044069458,
0.02521351,
-0.028464535,
0.016731944,
-0.025097918,
-0.022973914,
-0.06455814,
0.040283818,
0.010706711,
0.00677297,
0.012440591,
-0.02113889,
0.0143695325,
0.0060649686,
-0.020387542,
-0.007340093,
-0.028580127,
-0.022800526,
-0.02171685,
0.027250819,
-0.044300642,
-0.027294165,
-0.050138038,
0.0012128131,
0.06455814,
-0.029591557,
0.009608586,
-0.06565627,
-0.009521892,
0.050947182,
-0.015445983,
-0.06022344,
-0.0217313,
0.010114302,
-0.021904688,
0.05906752,
0.06184173,
-0.02144232,
-0.011551977,
-0.045861132,
0.0013293083,
-0.0030216477,
-0.01781562,
-0.03953247,
0.0042046597,
-0.003431638,
0.012187733,
0.02434657,
0.017483292,
0.042740148,
-0.02128338,
-0.002709188,
0.0145429205,
-0.052681062,
-0.008373197,
-0.02329179,
-0.0056242743,
0.008221482,
0.052045304,
0.018884845,
-0.008878912,
-0.036613774,
0.022511546,
-0.06733235,
-0.045832235,
0.015879454,
0.049039915,
-0.0013907164,
0.026051551,
0.006155275,
-0.013329204,
0.020011868,
0.013069122,
-0.010937895,
0.018335784,
-0.000140652,
0.014528472,
-0.020503134,
-0.008712748,
0.01369043,
-0.052478775,
0.03710504,
-0.0016200944,
0.003749516,
0.0024725855,
-0.054646127,
-0.042046595,
0.00021921846,
-0.041208554,
0.016977578,
0.036440384,
0.017194312,
-0.015041411,
0.015561575,
-0.0011288283,
-0.0056278864,
-0.020893257,
0.017454395,
0.04354929,
-0.022554893,
0.03652708,
-0.018220192,
-0.025545835,
0.009716954,
-0.004378048,
0.03025621,
-0.0036248935,
-0.030891966,
0.010280465,
-0.011486957,
-0.030429598,
-0.0022106974,
-0.048490852,
-0.020474236,
0.016428515,
-0.04883763,
-0.008300952,
-0.01231055,
-0.056524497,
0.027337512,
-0.045716643,
-0.030285109,
-0.00948577,
0.0063647856,
0.02782878,
0.020459788,
0.0579116,
-0.055426374,
-0.042797945,
-0.034793198,
0.041035168,
-0.060974788,
-0.0092690345,
-0.032828134,
-0.047768403,
0.00031900688,
0.017425496,
0.028970249,
-0.024158731,
0.019318316,
-0.031672213,
-0.007303971,
-0.06340222,
-0.023580771,
-0.006957195,
0.032972623,
-0.009529117,
0.03461981,
0.016847536,
-0.03606471,
-0.011544753,
0.0103599345,
0.040803984,
0.03115205,
-0.015850555,
-0.031614415,
0.009167892,
-0.0062455814,
-0.018711457,
0.062188506,
0.022323709,
0.057449233,
0.030978661,
0.07588616,
-0.078082405,
-0.057824906,
-0.017786723,
-0.027034083,
0.021601258,
-0.02534355,
0.0118770795,
-0.018032355,
0.0029620454,
-0.0008132079,
0.026456123,
-0.026961839,
-0.014470676,
-0.05114947,
-0.047826197,
0.03635369,
-0.02967825,
0.0014178084,
-0.010771731,
-0.02402869,
0.025372447,
0.008568258,
-0.027872125,
0.06253528,
-0.028276697,
0.02012746,
-0.023884201,
0.013191939,
0.0056387233,
0.01202157,
0.011111283,
0.0057073557,
-0.027438655,
0.008994504,
-0.029013596,
-0.03840545,
-0.004919885,
0.04375158,
0.023638567,
-0.008149237,
0.011927651,
-0.012707897,
-0.02329179,
-0.026961839,
0.011970999,
0.04531207,
0.006617643,
0.0017989008,
0.05837397,
0.03736512,
0.03776969,
0.0166597,
-0.014239492,
0.0001308312,
0.041959904,
0.017916763,
-0.042942435,
0.018942641,
0.050889388,
-0.03953247,
0.004323864,
-0.036151405,
0.017309904,
-0.035111077,
0.009890342,
0.022352606,
-0.002337126,
-0.029880537,
0.07178264,
0.03201899,
-0.019751785,
-0.039272387,
0.0144851245,
0.0014837319,
-0.003388291,
0.00086242484,
0.016457414,
-0.019433908,
-0.0145718185,
-0.0463235,
0.010410506,
-0.040197123,
0.003763965,
0.062477484,
-0.011754263,
0.04354929,
0.035573445,
0.011421937,
0.043404803,
0.00550507,
-0.0060469075,
0.013842144,
-0.012274427,
-0.050138038,
-0.048317462,
-0.0033232705,
-0.021052197,
0.03892561,
-0.05606213,
-0.0111907525,
0.028970249,
0.05114947,
0.03461981,
-0.07132027,
0.003157107,
-0.035602342,
-0.008705524,
0.021659054,
-0.008676626,
0.0061010914,
0.04328921,
-0.004616456,
-0.056842376,
0.0038831693,
0.0057290294,
0.03967696,
-0.02635498,
-0.032510255,
-0.034128543,
-0.028291147,
-0.0463813,
-0.016731944,
0.001830508,
-0.0035363934,
0.041959904,
0.014983615,
-0.017035374,
0.02967825,
-0.0058301724,
-0.0246211,
0.029418169,
-0.0010430374,
0.0012633846,
-0.050340325,
-0.019361664,
-0.021124441,
0.025242407,
-0.01367598,
-0.050195836,
0.027857676,
0.00027904636,
-0.0086982995,
-0.0023587996,
0.010836752,
0.039705858,
-0.02316175,
-0.029504864,
-0.035660136,
0.024982326,
-0.013603736,
0.026094899,
-0.012375571,
-0.037827488,
-0.039590266,
0.0362092,
0.021919137,
0.0048223543,
-0.010771731,
0.010027608,
-0.024592202,
0.04285574,
-0.004786232,
0.013697654,
0.046294603,
0.037422914,
0.0054581105,
-0.021109993,
0.01353149,
0.067101166,
-0.033521686,
0.020459788,
0.022684934,
-0.018957091,
-0.0012362928,
0.025661428,
0.0246211,
0.063980184,
-0.0059240907,
-0.007307583,
-0.036440384,
-0.017541088,
-0.008691075,
-0.012339448,
-0.05947209,
-0.04285574,
0.017136516,
-0.036238097,
0.037914183,
0.007181154,
0.014868023,
0.017295456,
0.034273032,
-0.0056026005,
0.020821013,
-0.005476172,
0.026658408,
0.012996878,
-0.05010914,
-0.064615935,
0.02635498,
0.027843228,
-0.025430243,
0.0026188816,
0.015966147,
0.025401346,
0.036671568,
-0.026152695,
-0.028146656,
-0.045196477,
-0.008091441,
0.030920865,
-0.044820804,
0.025516938,
-0.041006267,
0.039012305,
-0.033926256,
-0.02332069,
-0.003991537,
0.012722347,
0.031065354,
0.015359289,
0.037567407,
0.067563534,
0.002653198,
-0.025126815,
0.00818536,
-0.03155662,
0.03245246,
0.008337074,
0.007585726,
0.0029620454,
0.08149237,
0.032972623,
0.01797456,
-0.0059204786,
0.016601903,
-0.0067982557,
0.003359393,
-0.004482803,
0.032683644,
0.029577108,
0.02202028,
-0.0014783136,
-0.015041411,
-0.020141909,
-0.017512191,
0.021471217,
0.030025026,
-0.008351523,
-0.01939056,
0.009138994,
-0.03274144,
0.02373971,
-0.034706503,
-0.061726138,
0.0017094975,
0.027236369,
0.034677606,
0.0086694015,
0.027770983,
0.025083467,
-0.014499574,
0.029938333,
0.009218464,
0.018032355,
-0.024418814,
-0.0019867378,
0.011436385,
0.0053136204,
-0.03852104,
-0.019592848,
0.0060577444,
-0.0007951467,
-0.014073328,
0.018335784,
-0.017020924,
-0.03646928,
0.009521892,
-0.014506798,
-0.0030108108,
-0.04230668,
0.034533117,
-0.044647418,
0.03866553,
-0.0032347704,
-0.013300306,
-0.04542766,
0.049444485,
-0.028175555,
0.034706503,
0.0056206617,
0.030314006,
0.024144283,
0.07970069,
0.048866525,
-0.0027687901,
0.030949762,
0.030487394,
-0.037914183,
-0.009688056,
0.0054400493,
-0.037249528,
0.007542379,
-0.04979126,
-0.06652321,
0.048577547,
0.01796011,
-0.036266997,
-0.05155404,
0.013437572,
0.01823464,
-0.025415795,
-0.005418376,
0.08652063,
0.0333194,
-0.037654098,
-0.012101039,
0.032192376,
-0.04458962,
-0.028334493,
-0.030342905,
0.06241969,
-0.0044322317,
-0.040341616,
-0.026875144,
-0.06340222,
0.02866682,
0.020546481,
-0.040486105,
0.0060721934,
0.0035689035,
0.025603632,
0.029707149,
0.004385272,
-0.024866734,
-0.015503779,
0.047912892,
0.037336223,
0.020344196,
0.055050697,
0.050080243,
0.02707743,
-0.004742885,
0.036613774,
-0.012924633,
-0.034099646,
-0.003404546,
-0.022381505,
0.0102732405,
0.020170808,
-0.06571406,
-0.0057543153,
0.036758263,
-0.023219546,
0.014318962,
-0.0015054054,
-0.011140181,
-0.051380653,
-0.050773796,
-0.03895451,
-0.013163041,
-0.018610315,
-0.04123745,
0.058113888,
-0.024519958,
0.24782929,
0.0347643,
-0.0031462703,
-0.015980596,
0.031990092,
0.045283172,
0.01767113,
0.015417085,
0.004052945,
-0.046410196,
-0.014672962,
-0.027453104,
-0.0056856824,
0.0063250507,
-0.054212656,
0.04155533,
-0.06779472,
-0.020011868,
-0.044705212,
-0.033232704,
-0.06750574,
0.04646799,
0.010952344,
0.040197123,
0.03461981,
0.03852104,
-0.029331475,
-0.014672962,
-0.0032058724,
-0.053663593,
-0.0037314547,
0.0006479474,
-0.01274402,
-0.03664267,
-0.0026604226,
-0.016052842,
0.019477256,
-0.010916221,
-0.020459788,
-0.000036066063,
0.022381505,
-0.03083417,
0.020300848,
-0.013372552,
0.037278425,
0.04542766,
-0.034504216,
0.045283172,
-0.011999897,
-0.036729366,
0.033203807,
-0.053114533,
0.04068839,
-0.04869314,
-0.022323709,
0.010894548,
-0.07866037,
-0.015503779,
0.040775083,
0.007903604,
-0.020633176,
0.017425496,
-0.024780039,
-0.01317749,
-0.012346673,
0.0057687643,
-0.0057868254,
0.021933585,
0.002248626,
0.004323864,
-0.011862631,
-0.035689037,
-0.044156153,
-0.03950357,
0.02402869,
0.04115076,
0.0037170057,
0.02924478,
-0.0079614,
-0.035400055,
-0.008026421,
-0.007202828,
0.032307968,
-0.037422914,
0.045832235,
0.015677167,
-0.03935908,
-0.0028645147,
0.022482647,
0.013105245,
0.04574554,
0.03953247,
0.0014196144,
-0.016442964,
0.008423768
] |
Here's an overview of the steps needed to add a TensorFlow model architecture:
1. Select the model you wish to convert
2. Prepare transformers dev environment
3. (Optional) Understand theoretical aspects and the existing implementation
4. Implement the model architecture
5. Implement model tests
6. Submit the pull request
7. (Optional) Build demos and share with the world
1.-3. Prepare your model contribution
1. Select the model you wish to convert
Let's start off with the basics: the first thing you need to know is the architecture you want to convert. If you
don't have your eyes set on a specific architecture, asking the 🤗 Transformers team for suggestions is a great way to
maximize your impact - we will guide you towards the most prominent architectures that are missing on the TensorFlow
side. If the specific model you want to use with TensorFlow already has a TensorFlow architecture implementation in
🤗 Transformers but is lacking weights, feel free to jump straight into the
weight conversion section
of this page.
For simplicity, the remainder of this guide assumes you've decided to contribute with the TensorFlow version of
BrandNewBert (the same example as in the guide to add a new model from scratch). |
[
0.011439422,
0.003467687,
-0.039159402,
-0.008584945,
0.00060693483,
-0.036692217,
0.042716738,
0.009273463,
-0.011317497,
0.04220035,
-0.015161716,
0.00003678478,
0.041540522,
-0.020497723,
-0.0048160325,
0.009875915,
0.01471705,
-0.049228963,
-0.028128786,
0.008183311,
-0.03072507,
0.009746818,
-0.06047474,
-0.0493724,
-0.0142723825,
0.03804056,
0.0074159014,
-0.015778514,
0.09897431,
0.024657512,
-0.026005859,
0.0015679897,
-0.009352355,
-0.0054902053,
-0.008219171,
-0.058638692,
-0.0024474626,
0.0076023745,
-0.049228963,
-0.06483535,
0.02804272,
-0.02223336,
0.023180071,
-0.0045614247,
-0.07085987,
0.011833885,
-0.033134878,
-0.015204749,
0.032934062,
-0.057319034,
0.015477287,
0.043720827,
0.001106289,
0.036491398,
-0.01534819,
-0.009610549,
-0.037954498,
-0.031929974,
-0.037983183,
0.052843675,
0.044839665,
0.016839977,
-0.00083688874,
-0.024729233,
0.016223181,
0.048741262,
-0.0008090971,
-0.021731315,
-0.010191485,
-0.047765862,
-0.029462788,
0.025059149,
-0.017528493,
-0.03213079,
-0.0005813844,
-0.0016970867,
0.007674095,
0.003790429,
-0.014946556,
0.015678104,
-0.005687437,
0.01576417,
0.019163722,
0.029462788,
-0.009015269,
-0.016581783,
0.031241456,
-0.015979331,
-0.02391162,
-0.04905683,
0.00015475943,
0.015161716,
-0.022405488,
-0.017643247,
0.02607758,
0.03677828,
-0.005995835,
0.013720134,
-0.013741651,
-0.025819385,
0.0028741995,
0.022606306,
0.029376723,
0.019794863,
0.011166885,
0.0083913,
0.02422719,
0.00208886,
0.013167886,
-0.030438187,
0.003202321,
-0.036893032,
0.023094006,
-0.009065473,
-0.009345183,
0.0149322115,
-0.023954652,
0.02325179,
-0.031843908,
-0.047278162,
0.029075496,
-0.0020422416,
-0.0062396848,
-0.038097937,
-0.0059599746,
-0.02597717,
0.027382893,
0.021516154,
0.018532582,
0.016725224,
-0.007882085,
-0.021257961,
0.0140930815,
0.04234379,
0.026794784,
-0.007982493,
-0.021587875,
-0.032159477,
0.02503046,
-0.040852007,
-0.023022285,
0.011066476,
0.03310619,
0.04495442,
0.0061141737,
0.04331919,
-0.013497801,
-0.03439716,
0.02366777,
-0.009897431,
-0.028329603,
0.011948638,
0.00013156232,
0.02688085,
-0.02342392,
0.028516077,
-0.05453628,
-0.006745314,
-0.0025460783,
0.021960821,
-0.010700701,
0.047106035,
-0.022921877,
0.05677396,
-0.0021731316,
0.047565047,
-0.020612476,
-0.04802406,
-0.02520259,
-0.030839821,
-0.003205907,
-0.017485462,
-0.022878844,
-0.021315336,
0.019048968,
0.03594632,
0.028516077,
0.017327676,
-0.0024205674,
0.02751199,
-0.0044036396,
0.05040518,
0.047249474,
0.056974776,
-0.045327365,
0.000030088997,
0.026522247,
-0.015792858,
-0.0029764015,
-0.032417674,
-0.020583788,
0.024915706,
-0.0271247,
0.021487467,
-0.014659673,
-0.017671935,
-0.015391222,
-0.018618645,
0.019034624,
-0.02087067,
-0.044065084,
0.031126704,
-0.038815144,
0.034597978,
-0.015505975,
-0.037151225,
0.010736561,
-0.016667848,
-0.022735404,
-0.027913624,
0.047048658,
0.023839898,
-0.027770184,
-0.0076023745,
-0.032216854,
-0.030897198,
-0.0064763627,
0.034511913,
-0.013576694,
-0.0045470805,
0.0074589336,
0.020784605,
0.040880695,
0.058638692,
0.0018736984,
0.021085832,
0.012170971,
0.026149299,
-0.018618645,
-0.031155393,
0.002370363,
0.020454692,
0.03198735,
0.04988879,
0.037495486,
-0.0070752287,
0.025718976,
0.041827403,
0.01856127,
-0.016051052,
0.028960744,
-0.042028222,
0.053675633,
0.00022524725,
-0.014336931,
-0.0077314717,
0.02527431,
-0.013892264,
0.028544765,
0.047421604,
-0.050146986,
0.0406225,
0.013791855,
-0.0124793695,
-0.048540443,
-0.009868743,
0.007276046,
0.054937914,
-0.0052176677,
0.016223181,
-0.004572183,
0.012931209,
0.016180148,
0.016337933,
0.035544686,
0.016022364,
-0.038815144,
0.03488486,
-0.019694453,
-0.072409034,
0.005264286,
-0.04397902,
-0.03565944,
-0.0144516835,
-0.031212768,
0.017456774,
-0.020010024,
-0.021057144,
0.01692604,
-0.023653425,
-0.017915785,
0.005533238,
-0.0030355707,
0.0135551775,
0.020684196,
0.004905683,
-0.032159477,
-0.024356287,
-0.031270143,
0.043720827,
0.004425156,
0.031872597,
0.011547003,
-0.0059241145,
0.025216933,
0.013892264,
-0.048683885,
-0.019938303,
-0.041683964,
-0.016194493,
-0.030839821,
0.0028168233,
0.04254461,
-0.00669511,
-0.01115254,
-0.012881004,
-0.0372086,
-0.014917867,
0.0401348,
-0.010858486,
0.008541914,
0.012457853,
-0.007473278,
-0.027382893,
-0.03261849,
0.005031194,
0.056257572,
0.05054862,
-0.05551168,
-0.0013662758,
-0.049028143,
-0.019106345,
0.020225186,
-0.009416903,
-0.010535744,
0.045040485,
0.02422719,
-0.05680265,
0.003467687,
-0.0172703,
-0.05166746,
-0.04383558,
-0.011159712,
0.04828225,
0.03775368,
0.0057806736,
0.015462943,
-0.0042386823,
0.018417828,
-0.0144732,
0.054765787,
-0.017370708,
0.06426158,
0.015147373,
-0.022104263,
0.008556257,
0.0073334225,
-0.04813881,
-0.0020261046,
-0.009990668,
0.020999767,
0.01219966,
0.023811212,
0.039073337,
0.035085674,
0.039876606,
-0.030753756,
-0.007946633,
0.004686936,
0.00093864225,
-0.008204827,
-0.007014266,
-0.0058990126,
-0.019450603,
-0.039073337,
0.0013483457,
-0.025432095,
0.015434255,
0.066671394,
-0.049142897,
0.012572606,
0.009180225,
-0.016051052,
-0.0131965745,
-0.010858486,
-0.012995757,
0.021487467,
0.034425847,
0.01227138,
-0.031843908,
-0.045470808,
0.0039374563,
0.006440502,
0.042286415,
0.06730253,
0.0011851816,
-0.053847764,
0.010363614,
-0.024413664,
-0.05341744,
-0.0060316953,
-0.047450293,
0.0028562695,
-0.016596127,
-0.032962747,
-0.032159477,
0.028272226,
0.008470193,
0.07189264,
0.029061154,
0.052814987,
-0.01639531,
-0.0186043,
0.00071048137,
0.0067202123,
0.0052248393,
-0.054909226,
0.024327599,
0.009459936,
0.009990668,
0.018231355,
0.022290736,
0.021100175,
0.03849957,
-0.024384975,
-0.013225263,
-0.026493559,
-0.0030929472,
0.02223336,
0.018145291,
-0.0629993,
-0.046675712,
-0.04093807,
0.016768256,
0.043892954,
-0.04237248,
0.01960839,
-0.046302766,
0.0058882544,
0.04750767,
-0.014688361,
-0.06454846,
0.024413664,
-0.043692138,
-0.054134645,
0.053360064,
0.06523698,
-0.011948638,
0.0127160475,
-0.028329603,
0.019565357,
0.005676679,
-0.012701703,
-0.02632143,
-0.009560345,
0.005705367,
-0.020440347,
0.007430245,
0.03789712,
0.0044359136,
-0.021444434,
0.0064835344,
0.032388985,
-0.019464947,
-0.004651075,
-0.018403484,
0.037638925,
0.026278397,
0.050978944,
0.018532582,
-0.008161794,
0.007932289,
0.017801031,
0.0015473701,
-0.05932721,
0.020038713,
0.044868354,
0.030266058,
0.030897198,
0.026637,
-0.023022285,
0.03677828,
0.010822626,
-0.0033834153,
0.009524484,
-0.028114442,
0.030639004,
0.00023129866,
-0.014301071,
0.023266135,
-0.02957754,
0.025317341,
-0.0143297585,
-0.005942045,
-0.047421604,
-0.041454457,
0.022319425,
0.004579355,
-0.004866237,
0.039102025,
0.009352355,
0.022591962,
-0.0075880303,
0.020397315,
-0.030151304,
0.023639081,
-0.0588682,
0.03465535,
0.02569029,
-0.020469034,
0.014258038,
0.0044036396,
-0.02807141,
-0.0018988006,
-0.03849957,
0.023825554,
-0.055913314,
-0.05419202,
-0.019938303,
-0.0017186028,
-0.021860413,
0.003905182,
-0.017083827,
-0.0014532369,
0.012041874,
0.017757999,
-0.025374718,
-0.017112514,
-0.020841982,
0.04879864,
-0.05261417,
-0.0345406,
-0.03330701,
-0.009818538,
-0.0041059996,
0.049315024,
0.049831413,
-0.02534603,
-0.004188478,
-0.031069327,
0.013060306,
-0.0503478,
-0.016811289,
-0.06259766,
-0.03583157,
0.00035658543,
0.06024523,
0.0035609235,
-0.05803624,
0.01688301,
-0.032704554,
-0.007659751,
-0.023122694,
-0.03072507,
0.02828657,
-0.008176139,
-0.008721215,
0.04905683,
-0.010392303,
0.0090080965,
-0.015692448,
0.0064727766,
0.027841903,
0.05680265,
-0.0027289656,
-0.0406225,
0.025934137,
0.022003854,
0.017614558,
0.021645252,
-0.0043821232,
0.060359985,
-0.025647257,
0.07034348,
-0.050921567,
-0.05866738,
-0.029204594,
-0.0050419522,
0.0015518527,
-0.020856326,
0.030266058,
0.00024788402,
0.0051925653,
0.019393228,
0.035802882,
0.008821623,
0.032417674,
-0.0651796,
-0.037380733,
0.019307163,
-0.022520242,
-0.0061930665,
-0.023237446,
-0.023725146,
0.064491086,
-0.031356208,
0.03740942,
0.059556715,
0.0002806065,
0.013827715,
-0.06873694,
0.0690812,
0.026737409,
0.024628825,
-0.0031359794,
0.010220174,
-0.025016116,
-0.0006360713,
-0.023581706,
-0.008835968,
-0.034167655,
0.024671856,
0.017356364,
-0.02804272,
0.0325898,
-0.040679876,
-0.05453628,
-0.0493724,
0.022907533,
0.04544212,
0.012802112,
0.030122615,
0.028688205,
0.05295843,
0.0162949,
-0.0024582206,
-0.0056444043,
-0.03534387,
0.07332706,
0.018676022,
-0.044524096,
0.022577617,
0.04876995,
-0.045069173,
-0.05485185,
-0.0904826,
0.0022215429,
-0.011166885,
-0.0060747275,
0.010471195,
0.02398334,
-0.036548775,
0.057921488,
0.016739568,
-0.042946246,
0.027942313,
-0.017356364,
-0.0029710224,
0.025518158,
-0.0016845356,
0.020999767,
0.004417984,
-0.013978329,
-0.04813881,
0.002494081,
-0.040852007,
0.006444088,
0.068220556,
-0.002926197,
0.027196418,
0.05611413,
0.007623891,
0.039675787,
-0.0037079507,
0.0026877264,
-0.02233377,
0.0057735015,
-0.04443803,
-0.015549008,
-0.004346263,
-0.033192255,
0.009897431,
-0.058466565,
-0.012859488,
0.014279555,
0.022577617,
0.0028777856,
-0.046962593,
0.046331454,
-0.017083827,
-0.023710802,
-0.0045434944,
0.009208914,
-0.001954384,
0.020225186,
-0.01366993,
-0.032188166,
-0.019048968,
-0.011805196,
0.00012181281,
-0.044552784,
-0.04461016,
-0.013347188,
-0.0023147797,
-0.070630364,
-0.037495486,
-0.0012183522,
-0.008785763,
0.015692448,
0.009029613,
0.016495718,
-0.01311051,
0.0036702973,
0.027253795,
0.017241612,
-0.0064261584,
-0.028128786,
0.0033887944,
0.010449679,
-0.010657668,
-0.00557627,
-0.001111668,
-0.02272106,
0.033163566,
0.010600292,
-0.013870748,
-0.024958739,
0.025073493,
0.003887252,
0.0043857093,
-0.03534387,
-0.017600214,
0.0036129209,
-0.035315182,
0.0021229272,
-0.030983262,
-0.009086989,
-0.026837816,
0.039733164,
-0.054622345,
0.02132968,
0.01583589,
0.008090074,
-0.0073083206,
0.02957754,
0.042630672,
-0.004565011,
0.012780596,
0.008305236,
0.043405257,
-0.014322586,
0.02541775,
0.046933904,
-0.017155547,
0.01583589,
-0.01758587,
0.027296828,
-0.012751907,
0.021645252,
0.007118261,
0.073786065,
0.001945419,
0.00968227,
-0.006741728,
-0.008061386,
0.02233377,
-0.00919457,
-0.06477797,
-0.034741417,
0.048253562,
-0.030122615,
0.026292741,
-0.030610316,
0.02877427,
-0.023524329,
0.022046886,
-0.031270143,
0.029132873,
-0.011080819,
0.0452413,
0.07189264,
-0.03310619,
-0.030151304,
-0.02087067,
0.007932289,
0.0079896655,
-0.028731238,
0.04802406,
0.037495486,
0.010880002,
-0.015964987,
-0.020282561,
0.010657668,
-0.0093666995,
0.00070555054,
-0.027827559,
0.047737174,
-0.02702429,
0.03534387,
0.0016253662,
0.008757075,
-0.035114363,
0.039847918,
-0.0042530266,
0.042774115,
-0.015190405,
0.061278008,
-0.031069327,
0.014731394,
0.05017567,
0.018977249,
0.019708797,
-0.047077347,
-0.000004062295,
0.0031395655,
0.09863005,
0.0087068705,
0.018475205,
0.024370631,
-0.024915706,
-0.038815144,
0.014128941,
-0.013548005,
-0.02373949,
-0.01454492,
-0.005755571,
0.029950486,
-0.0049451296,
-0.014480372,
-0.046962593,
-0.0013635863,
0.010471195,
-0.028645173,
0.0039410423,
-0.029663606,
-0.0049666455,
0.026192332,
-0.021401402,
-0.0056121303,
0.01836045,
-0.011475283,
0.03660615,
0.034196343,
0.009086989,
0.030667692,
0.03537256,
-0.009775506,
0.025876762,
0.048827328,
-0.008757075,
0.025403406,
-0.03933153,
0.029118529,
-0.0070680566,
-0.009266291,
-0.039159402,
0.015706792,
-0.022921877,
-0.0123431,
-0.0037187086,
0.020669851,
0.0109230345,
-0.027784528,
-0.003342176,
-0.044036396,
0.039675787,
-0.008470193,
0.0009359527,
0.00056300603,
-0.04472491,
-0.053646944,
0.021975165,
0.013447597,
0.057778046,
-0.0066090454,
0.04799537,
0.008556257,
-0.020971078,
0.0629993,
-0.020770261,
0.020913702,
0.0014102046,
-0.010564432,
-0.025331685,
0.012543918,
-0.053130556,
0.0052463557,
-0.018776432,
-0.025001772,
0.015649416,
0.033163566,
-0.049028143,
-0.082679406,
0.036806967,
-0.017241612,
-0.03339307,
-0.0017463946,
0.028544765,
0.0015948849,
-0.05663052,
0.004274543,
0.019034624,
-0.0128308,
-0.029276313,
-0.03709385,
0.01782972,
0.045987193,
-0.060073104,
-0.008211999,
-0.05390514,
0.037294667,
0.019823551,
-0.0325898,
-0.000098951896,
0.051896963,
0.0031037054,
0.01797316,
-0.014846146,
-0.048397005,
0.036290582,
0.019551013,
0.060818996,
0.013842059,
0.08434333,
0.04681915,
-0.03101195,
-0.009667926,
-0.01950798,
0.02520259,
-0.02765543,
0.02300794,
-0.020096088,
-0.008061386,
-0.023997685,
-0.06483535,
-0.014760082,
0.071031995,
0.009969152,
-0.018374795,
-0.013060306,
0.0042566126,
-0.05944196,
-0.08617937,
-0.058466565,
0.00863515,
-0.013476285,
0.010334926,
0.03726598,
-0.065122224,
0.24488252,
0.06024523,
0.009818538,
0.0024869088,
0.009660753,
0.042974934,
-0.0048016883,
0.022003854,
-0.025647257,
-0.021587875,
0.013712962,
-0.00613569,
0.026751753,
0.009797023,
-0.020712884,
0.05528217,
-0.066097625,
-0.008283719,
-0.034110278,
-0.028989432,
-0.053589568,
0.019852238,
-0.007093159,
0.036692217,
0.0060030073,
0.047909304,
-0.024829643,
-0.040421683,
-0.019866582,
-0.037839744,
0.058810823,
-0.008498881,
0.016366621,
-0.019106345,
-0.032044727,
0.021903446,
-0.0022036128,
-0.04555687,
-0.010750906,
0.015721137,
0.010722217,
0.029376723,
0.005307318,
0.0051638773,
-0.0010005012,
0.030839821,
-0.0420856,
0.028200507,
-0.008929204,
-0.04446672,
0.033020124,
-0.006139276,
0.04174134,
-0.032647178,
-0.03261849,
-0.015792858,
-0.038585637,
-0.06604025,
0.028229194,
0.011833885,
0.011697616,
0.040077426,
0.021716973,
-0.026378805,
-0.009373872,
0.013447597,
-0.0073298365,
0.058007553,
-0.01768628,
-0.013081822,
-0.028745582,
-0.03178653,
-0.02405506,
-0.027038634,
0.017370708,
-0.0035501656,
-0.042429857,
0.014803114,
0.03230292,
-0.073613934,
-0.0020117604,
0.02038297,
0.0038047733,
-0.046560958,
0.018503893,
0.029979175,
-0.016653504,
-0.01583589,
0.02919025,
0.0340529,
0.04859782,
0.037581548,
-0.024126781,
0.034597978,
-0.018891184
] | Push the changes to your account using:
git add .
git commit -m "initial commit"
git push -u origin add_tf_brand_new_bert
Once you are satisfied, go to the webpage of your fork on GitHub. Click on “Pull request”. Make sure to add the
GitHub handle of some members of the Hugging Face team as reviewers, so that the Hugging Face team gets notified for
future changes.
Change the PR into a draft by clicking on “Convert to draft” on the right of the GitHub pull request web page. |
[
0.04810554,
-0.018664712,
-0.024767209,
-0.0074048596,
0.017786548,
-0.012882223,
0.0069322884,
-0.006601116,
-0.027476123,
0.06525207,
0.005886677,
-0.030036194,
0.059119806,
-0.043491457,
0.034382362,
0.02631516,
-0.0027907763,
-0.038222473,
-0.04066347,
-0.017622821,
0.0027963577,
-0.0051722387,
-0.06721678,
-0.021477815,
-0.0020930823,
0.0044168686,
0.011639398,
-0.021418277,
0.08739967,
0.03786525,
0.002783334,
-0.025660258,
-0.011460788,
-0.030988779,
-0.012495236,
-0.01790562,
-0.005562947,
-0.044563115,
-0.032626037,
-0.023561593,
0.021150364,
-0.011096126,
0.022415515,
-0.057065792,
-0.057482548,
0.024112307,
-0.004751762,
0.0011060777,
0.021314088,
-0.055934597,
0.0035256806,
0.0063294806,
0.00014384126,
0.008409539,
-0.014541805,
-0.035215877,
-0.016074872,
0.02103129,
-0.051558662,
-0.012071038,
0.06971731,
-0.008915599,
0.026687263,
-0.04239003,
0.0113491565,
0.032209277,
-0.009176073,
0.025347691,
-0.013425495,
-0.02822033,
-0.020450808,
-0.0099202795,
-0.057571854,
-0.019572644,
-0.018530754,
0.024454642,
0.027535658,
-0.0199894,
-0.01988521,
0.023710435,
0.0061099394,
0.018322377,
-0.010009584,
0.0017386536,
-0.005116423,
-0.015613463,
0.08430377,
-0.0031052036,
-0.013142696,
-0.044563115,
0.01722095,
0.017518632,
-0.0015060889,
-0.008870947,
-0.00873699,
0.04295563,
-0.042538874,
0.045307323,
-0.010418898,
-0.013819924,
-0.0038401082,
0.08358933,
-0.01211569,
0.024395106,
-0.0038847604,
-0.0029079888,
0.018113999,
-0.012316626,
-0.0031145064,
-0.016625585,
0.01276315,
0.010002142,
0.008044878,
-0.0033842814,
-0.004919208,
-0.011237525,
-0.015464622,
0.0011739866,
-0.032149743,
-0.008074646,
0.012004059,
-0.025541184,
0.0052578226,
-0.04947488,
0.02941106,
-0.05522016,
0.003685685,
0.03878807,
0.011572419,
-0.029425945,
0.02171596,
-0.004896882,
0.0053843376,
0.037240118,
0.026955178,
-0.044592883,
-0.04036579,
-0.0009860743,
0.00014779485,
0.0013870158,
0.00046396654,
-0.010865422,
-0.004904324,
0.07061036,
-0.016372554,
-0.000794441,
0.01193708,
-0.06566883,
-0.03372746,
0.0068467045,
-0.034560975,
0.022341095,
0.014988329,
0.024707673,
-0.036585215,
0.0041563963,
-0.007110898,
-0.011066359,
0.0010595648,
0.013165022,
-0.021522466,
0.0109919375,
-0.031941365,
0.06477578,
0.009875627,
0.018992163,
-0.011691492,
-0.020361504,
-0.011311946,
-0.041050456,
-0.00075769576,
0.008670012,
-0.016298134,
0.03426329,
0.06245385,
0.04033602,
0.060816597,
-0.00582342,
-0.026344927,
0.01671489,
0.0016130686,
-0.031345997,
0.009667248,
0.03527541,
-0.015762305,
0.00176191,
0.010619834,
0.004986187,
-0.004788972,
0.022995997,
0.035364717,
0.031048317,
-0.03149484,
0.024782093,
-0.061918024,
0.0034717256,
-0.05742301,
0.0055517843,
0.018218188,
-0.039055984,
-0.032119974,
0.02656819,
-0.036108922,
0.03548379,
-0.013105486,
0.027982183,
0.0058308616,
0.0243058,
-0.013127811,
0.012398489,
0.022683429,
0.009391893,
-0.008119298,
-0.018962394,
0.012413373,
-0.0122943,
-0.003242882,
0.011438462,
0.013827366,
-0.024424873,
0.030125499,
-0.02070384,
0.03462051,
0.023144837,
0.04468219,
-0.016953036,
-0.0110738,
0.04328308,
0.007330439,
-0.032447424,
0.0010707278,
0.05396989,
-0.0036354512,
0.055101085,
0.035692167,
-0.002560072,
0.03616846,
0.031465072,
0.034799118,
0.017012572,
0.030125499,
-0.020629417,
0.020495461,
0.02415696,
0.0036224276,
-0.0062290127,
-0.017890736,
0.00038559226,
-0.019200541,
0.026404465,
-0.052481476,
0.031286463,
0.021433162,
-0.015286012,
-0.06906241,
0.020212661,
-0.019691717,
0.033013023,
-0.007237413,
-0.0055927155,
0.014437616,
0.023769971,
-0.009183514,
-0.0026977505,
0.04935581,
0.024782093,
-0.03235812,
0.062096633,
0.008722106,
-0.036823362,
-0.020629417,
-0.047986466,
-0.088947624,
0.0057862094,
-0.064061336,
-0.004580594,
0.032745108,
-0.022966228,
0.013023622,
-0.0021972712,
0.0030456672,
0.03328094,
0.012048711,
0.04325331,
0.044205897,
0.027818458,
-0.050100014,
0.01675954,
-0.043312848,
-0.00037489427,
-0.0019833117,
0.0091314195,
-0.019141003,
-0.026017476,
0.024335569,
0.03063156,
-0.012621751,
-0.05519039,
-0.028205445,
0.017340023,
-0.022102948,
-0.012450583,
0.009235609,
0.009548176,
-0.02699983,
0.017697243,
-0.011594745,
-0.043015163,
0.048939053,
0.022162484,
-0.03959181,
0.03691267,
0.009280262,
0.011148221,
-0.0245886,
0.020644302,
0.04518825,
0.044354737,
-0.045098945,
-0.044414274,
-0.02257924,
0.016268365,
0.010753791,
-0.02725286,
-0.015464622,
0.038996447,
-0.015494389,
-0.028503127,
-0.017354907,
-0.03685313,
-0.022460166,
-0.040246714,
-0.015025539,
0.036674522,
0.0018093532,
0.0091314195,
-0.03325117,
0.0064411117,
0.0038549923,
0.011066359,
0.032209277,
-0.045039408,
0.022966228,
0.049593955,
0.01790562,
-0.0050494443,
0.019929864,
-0.07227738,
0.001639116,
0.009853301,
0.014251564,
0.02448441,
-0.0045024524,
0.018039579,
0.011483114,
0.0056857415,
-0.025868636,
0.017459096,
0.006389017,
0.01955776,
0.03530518,
0.026374696,
0.02146293,
-0.017607938,
-0.07977899,
0.010121215,
0.010523087,
0.005183402,
0.061203584,
-0.062215704,
0.0106719285,
0.012033828,
-0.035751704,
-0.019215425,
0.0012502677,
-0.051439587,
0.017488865,
0.038014095,
0.02819056,
-0.0245886,
-0.029068725,
-0.0050680498,
0.0056782993,
0.049832102,
0.045575235,
0.037627105,
-0.02042104,
0.016015334,
-0.019364266,
0.00650809,
-0.010225404,
0.0072522974,
-0.013872018,
0.015494389,
-0.0019107515,
-0.008796527,
0.034799118,
0.04742087,
0.032923717,
0.018352145,
0.059983086,
-0.009697017,
-0.021686193,
0.02103129,
-0.019364266,
-0.015836725,
-0.046140835,
0.032090206,
0.04206258,
0.0044057053,
0.01930473,
0.015792072,
0.0053545693,
-0.00035117267,
-0.040901616,
-0.011966849,
-0.015159497,
-0.012525003,
-0.008000225,
0.030006425,
-0.03530518,
-0.03634707,
-0.029812932,
0.0224304,
0.056916952,
-0.044890568,
0.015300896,
-0.04691481,
0.01488414,
0.03950251,
0.014564131,
-0.05087399,
0.013760387,
0.00085769856,
-0.054446183,
0.052421942,
0.04774832,
-0.017950272,
0.005827141,
-0.04313424,
-0.021224784,
-0.006798331,
-0.02905384,
0.001010261,
0.009570502,
0.02613655,
-0.009213283,
0.021552235,
-0.01038913,
0.04227096,
-0.029619439,
-0.035394486,
0.052302867,
-0.03518611,
-0.013298979,
-0.015598578,
-0.0011870102,
0.030438066,
0.04030625,
0.010433782,
-0.03515634,
-0.0045471047,
0.03426329,
-0.044622652,
-0.065192536,
0.0046364097,
0.052689854,
-0.0018502846,
0.022355977,
0.0038587132,
0.0009572363,
0.024365338,
0.028771043,
-0.034650277,
0.021328973,
0.0055331793,
0.009763996,
-0.028309634,
0.0067313523,
0.0326558,
-0.060667753,
0.045456164,
-0.018277723,
0.012480351,
0.020927101,
-0.052719623,
-0.03360839,
-0.00019593575,
-0.017206065,
0.027297514,
0.035662398,
0.009912837,
0.013403168,
-0.0060504028,
-0.0062290127,
-0.014601341,
-0.0350968,
0.011356599,
0.06882426,
0.0063220384,
0.026121665,
-0.056023903,
-0.018932626,
0.011364041,
-0.0019051699,
0.039383434,
-0.01582184,
-0.0320009,
0.008677454,
-0.0061397078,
-0.0088114105,
0.0026903083,
0.0132096745,
-0.011155663,
0.0020037773,
-0.035692167,
0.009339798,
-0.017354907,
-0.041794665,
0.046230137,
-0.046170603,
-0.06233478,
-0.05694672,
0.025943056,
0.010805885,
0.014973445,
0.075373285,
-0.052362405,
-0.049772564,
-0.04500964,
0.039085753,
-0.057065792,
0.012599424,
-0.024841629,
-0.034531206,
0.028324518,
0.0044205897,
0.02232621,
-0.051558662,
0.014653436,
-0.0455157,
-0.01488414,
-0.063465975,
-0.009592828,
-0.018679596,
-0.0025507696,
-0.0029507808,
0.036614984,
0.009354682,
-0.027386818,
-0.049653493,
-0.0026977505,
0.040812314,
0.043402154,
-0.00816395,
-0.013298979,
0.008900716,
0.009012347,
-0.0016651632,
0.047688786,
0.02207318,
0.059060268,
0.00837977,
0.06924102,
-0.048224613,
-0.05974494,
-0.02024243,
-0.014221796,
0.04411659,
-0.029649207,
0.027133787,
-0.03152461,
0.0072560185,
0.0122794155,
0.018381912,
-0.016774425,
0.0007158341,
-0.06179895,
-0.05021909,
0.025198849,
-0.04325331,
-0.001887495,
-0.007762079,
-0.01851587,
0.04122907,
-0.0061285445,
0.006809494,
0.04727203,
-0.0075127697,
-0.01815865,
-0.024916051,
0.033161864,
0.0032521845,
0.014028302,
0.0068429834,
-0.024990471,
-0.0031572983,
0.0080969725,
-0.0010437503,
-0.022564357,
-0.0163279,
0.018798668,
0.012644077,
-0.028324518,
0.06108451,
0.0113863675,
-0.026196087,
-0.05209449,
0.006485764,
0.029619439,
-0.002930315,
0.017191181,
0.008803969,
0.026240738,
0.031286463,
-0.0155688105,
-0.0221476,
-0.016938152,
0.056619268,
-0.013023622,
-0.04149698,
-0.012041269,
0.01851587,
-0.02717844,
-0.02405277,
-0.017340023,
0.022921575,
-0.035662398,
-0.007896036,
0.029128263,
0.02034662,
-0.022653662,
0.06340644,
0.05399966,
-0.017354907,
-0.012591982,
0.011617071,
-0.003674522,
-0.020019168,
0.018887974,
0.019855443,
-0.05867328,
-0.0124580255,
-0.04361053,
-0.00618436,
-0.026285391,
-0.0112077575,
0.071324795,
0.01276315,
0.04310447,
0.0491772,
-0.01592603,
0.033935837,
-0.0077025425,
-0.025243502,
-0.009027231,
-0.01082077,
-0.04605153,
-0.043372385,
-0.010322151,
-0.002329368,
0.0121008055,
-0.04899859,
0.0025303038,
0.045366857,
0.04295563,
0.0034773073,
-0.062275242,
-0.006582511,
-0.056887183,
-0.021775497,
0.03286418,
0.006485764,
-0.016268365,
0.026806336,
0.010143542,
-0.03616846,
-0.010381687,
0.015166938,
0.007799289,
0.013343631,
-0.044711955,
-0.000008205173,
-0.044324968,
-0.03497773,
-0.014735298,
-0.017444212,
-0.0067127473,
0.026181202,
0.01021052,
0.0034661442,
-0.008216045,
-0.017741894,
-0.014564131,
0.030661328,
-0.0023461126,
0.0142813325,
-0.021343857,
-0.012577098,
-0.03426329,
0.0030512486,
0.011773354,
-0.041675594,
0.023710435,
-0.009793764,
0.01600045,
-0.006638326,
-0.0041377908,
0.029396176,
-0.024529062,
-0.017235834,
0.0028242655,
0.031137621,
-0.0640018,
0.010113773,
-0.0016874893,
-0.017593054,
-0.030482719,
0.046081297,
0.014147375,
0.009845858,
-0.021983875,
0.034769353,
-0.016298134,
0.040812314,
0.012227321,
-0.0002476814,
0.030929243,
0.023963466,
-0.0064076222,
0.0063220384,
-0.0027870552,
0.008297908,
-0.059447255,
0.02933664,
0.026478885,
0.010203078,
-0.022534588,
0.030259456,
0.021373626,
0.049266502,
0.007814174,
-0.017563285,
-0.00029721766,
-0.020659186,
-0.014363195,
-0.005090376,
-0.06394227,
-0.025645373,
0.03792479,
-0.07150341,
0.013656198,
-0.012033828,
0.015985567,
0.015152055,
0.055607148,
0.014482268,
0.000098026016,
-0.0118849855,
0.014750183,
0.01082077,
-0.04944511,
-0.04667666,
-0.013261769,
0.026062129,
-0.012271973,
-0.029664092,
-0.010753791,
0.017250719,
0.013313863,
-0.019081468,
-0.04209235,
-0.03786525,
0.008908158,
0.038103398,
-0.034918193,
0.032774877,
-0.020078706,
0.044176128,
-0.05626205,
-0.016521396,
-0.03447167,
0.031911597,
0.040812314,
0.034858655,
-0.0028949652,
0.07162248,
-0.021269437,
-0.013328748,
0.018277723,
-0.014125049,
0.040812314,
-0.012391047,
-0.011438462,
0.012926876,
0.053195916,
0.03634707,
0.006340644,
0.00024140214,
0.021671308,
0.011877543,
-0.030869706,
-0.040752776,
0.037537802,
0.0344419,
0.007043919,
0.01366364,
-0.015553926,
0.0038922026,
-0.0005697835,
0.030988779,
0.030423183,
-0.0070699663,
-0.008491402,
-0.0049526975,
-0.030423183,
0.008945368,
-0.015524158,
-0.056678806,
-0.0048410664,
0.017414443,
0.022921575,
0.033876304,
0.018456334,
0.007814174,
0.01765259,
0.024320684,
0.006828099,
0.03703174,
-0.03718058,
0.0067648417,
-0.008803969,
0.028711505,
-0.0002693099,
0.015018097,
0.0085955905,
-0.02685099,
-0.03423352,
0.03771641,
-0.020912217,
-0.040812314,
-0.002016801,
-0.024454642,
-0.02786311,
-0.042449567,
0.018530754,
-0.045753848,
0.021328973,
-0.011416135,
-0.052332636,
-0.061024975,
0.023769971,
-0.024186727,
0.03414422,
0.011222642,
0.040723007,
0.014325985,
0.09847347,
0.026255623,
-0.003408468,
0.028711505,
0.024112307,
-0.033013023,
0.0028838022,
0.00812674,
-0.032149743,
0.008297908,
-0.034769353,
-0.0719797,
0.038401082,
-0.0026270507,
-0.030750634,
-0.054952245,
0.009979816,
0.027029598,
-0.038817838,
-0.0067573995,
0.08906669,
0.035781473,
-0.024514178,
0.006612279,
0.023859276,
-0.07519467,
0.0038512712,
-0.03893691,
0.045098945,
-0.026181202,
-0.055041548,
-0.033489317,
-0.06287061,
0.033013023,
0.013053391,
-0.029381292,
0.0048633926,
0.0363173,
0.03337024,
0.050516773,
-0.0014260866,
-0.025436996,
-0.028518012,
0.025645373,
0.025154196,
0.0368829,
0.09049557,
0.045902688,
0.024409989,
-0.011341714,
-0.023650898,
0.013150138,
-0.009830974,
-0.027044483,
-0.02804172,
0.009109094,
0.0050457236,
-0.044622652,
-0.0267468,
0.040187176,
-0.011259852,
-0.035245642,
-0.032626037,
-0.020956868,
-0.058643512,
-0.027118903,
-0.03152461,
0.018768901,
-0.030229688,
-0.032477193,
0.009421661,
-0.025943056,
0.2652949,
0.051320516,
0.024350453,
-0.034025144,
0.052511245,
0.043044932,
0.006575069,
0.012465468,
-0.0072820657,
-0.022742966,
-0.009481197,
-0.026642611,
0.000026396092,
0.024380222,
-0.029545018,
0.034054913,
-0.049891636,
-0.0108505385,
-0.044741724,
-0.053880587,
-0.029693859,
0.009860743,
0.032209277,
0.02987247,
0.03634707,
0.0026289113,
-0.0112077575,
-0.03152461,
0.014690646,
-0.044324968,
0.0022847154,
-0.032149743,
0.03494796,
-0.010188194,
0.010299825,
0.009056999,
-0.0014335287,
-0.00737137,
-0.0037656873,
0.016342785,
-0.017846083,
-0.052124258,
0.028830579,
-0.015405085,
0.021864802,
0.027312396,
-0.03616846,
0.03878807,
0.009630038,
-0.05456526,
0.034858655,
-0.0609059,
0.040425323,
-0.067276314,
0.002275413,
0.0066420473,
-0.08275582,
-0.0442952,
0.01790562,
0.002537746,
-0.010337035,
0.016967919,
-0.034054913,
0.016506512,
-0.005756441,
0.001650279,
-0.018739132,
0.0033452106,
0.015702767,
-0.011088684,
0.02024243,
0.0014716693,
-0.030542254,
-0.0093844505,
0.006057845,
0.069598235,
0.002494954,
0.04831392,
0.0020242431,
-0.03965135,
-0.018456334,
0.007136945,
0.024290916,
-0.031197157,
0.024782093,
0.016774425,
-0.04640875,
0.008469076,
0.0059908666,
0.023784855,
0.060280766,
0.05551784,
0.038282007,
-0.00023349495,
0.01358922
] |
Now you have set up a development environment to port BrandNewBert to TensorFlow in 🤗 Transformers.
3. (Optional) Understand theoretical aspects and the existing implementation
You should take some time to read BrandNewBert's paper, if such descriptive work exists. There might be large
sections of the paper that are difficult to understand. If this is the case, this is fine - don't worry! The goal is
not to get a deep theoretical understanding of the paper, but to extract the necessary information required to
effectively re-implement the model in 🤗 Transformers using TensorFlow. That being said, you don't have to spend too
much time on the theoretical aspects, but rather focus on the practical ones, namely the existing model documentation
page (e.g. model docs for BERT).
After you've grasped the basics of the models you are about to implement, it's important to understand the existing
implementation. This is a great chance to confirm that a working implementation matches your expectations for the
model, as well as to foresee technical challenges on the TensorFlow side.
It's perfectly natural that you feel overwhelmed with the amount of information that you've just absorbed. It is
definitely not a requirement that you understand all facets of the model at this stage. Nevertheless, we highly
encourage you to clear any pressing questions in our forum.
4. Model implementation
Now it's time to finally start coding. Our suggested starting point is the PyTorch file itself: copy the contents of
modeling_brand_new_bert.py inside src/transformers/models/brand_new_bert/ into
modeling_tf_brand_new_bert.py. The goal of this section is to modify the file and update the import structure of
🤗 Transformers such that you can import TFBrandNewBert and
TFBrandNewBert.from_pretrained(model_repo, from_pt=True) successfully loads a working TensorFlow BrandNewBert model.
Sadly, there is no prescription to convert a PyTorch model into TensorFlow. You can, however, follow our selection of
tips to make the process as smooth as possible:
- Prepend TF to the name of all classes (e.g. BrandNewBert becomes TFBrandNewBert).
- Most PyTorch operations have a direct TensorFlow replacement. For example, torch.nn.Linear corresponds to
tf.keras.layers.Dense, torch.nn.Dropout corresponds to tf.keras.layers.Dropout, etc. If you're not sure
about a specific operation, you can use the TensorFlow documentation
or the PyTorch documentation.
- Look for patterns in the 🤗 Transformers codebase. If you come across a certain operation that doesn't have a direct
replacement, the odds are that someone else already had the same problem.
- By default, keep the same variable names and structure as in PyTorch. This will make it easier to debug, track
issues, and add fixes down the line.
- Some layers have different default values in each framework. A notable example is the batch normalization layer's
epsilon (1e-5 in PyTorch
and 1e-3 in TensorFlow).
Double-check the documentation!
- PyTorch's nn.Parameter variables typically need to be initialized within TF Layer's build(). See the following
example: PyTorch /
TensorFlow
- If the PyTorch model has a #copied from on top of a function, the odds are that your TensorFlow model can also
borrow that function from the architecture it was copied from, assuming it has a TensorFlow architecture.
- Assigning the name attribute correctly in TensorFlow functions is critical to do the from_pt=True weight
cross-loading. name is almost always the name of the corresponding variable in the PyTorch code. If name is not
properly set, you will see it in the error message when loading the model weights.
- The logic of the base model class, BrandNewBertModel, will actually reside in TFBrandNewBertMainLayer, a Keras
layer subclass (example).
TFBrandNewBertModel will simply be a wrapper around this layer.
- Keras models need to be built in order to load pretrained weights. For that reason, TFBrandNewBertPreTrainedModel
will need to hold an example of inputs to the model, the dummy_inputs
(example).
- If you get stuck, ask for help - we're here to help you! 🤗
In addition to the model file itself, you will also need to add the pointers to the model classes and related
documentation pages. You can complete this part entirely following the patterns in other PRs
(example). Here's a list of the needed manual
changes:
- Include all public classes of BrandNewBert in src/transformers/__init__.py
- Add BrandNewBert classes to the corresponding Auto classes in src/transformers/models/auto/modeling_tf_auto.py
- Add the lazy loading classes related to BrandNewBert in src/transformers/utils/dummy_tf_objects.py
- Update the import structures for the public classes in src/transformers/models/brand_new_bert/__init__.py
- Add the documentation pointers to the public methods of BrandNewBert in docs/source/en/model_doc/brand_new_bert.md
- Add yourself to the list of contributors to BrandNewBert in docs/source/en/model_doc/brand_new_bert.md
- Finally, add a green tick ✅ to the TensorFlow column of BrandNewBert in docs/source/en/index.md
When you're happy with your implementation, run the following checklist to confirm that your model architecture is
ready:
1. All layers that behave differently at train time (e.g. Dropout) are called with a training argument, which is
propagated all the way from the top-level classes
2. You have used #copied from whenever possible
3. TFBrandNewBertMainLayer and all classes that use it have their call function decorated with @unpack_inputs
4. TFBrandNewBertMainLayer is decorated with @keras_serializable
5. A TensorFlow model can be loaded from PyTorch weights using TFBrandNewBert.from_pretrained(model_repo, from_pt=True)
6. You can call the TensorFlow model using the expected input format
5. Add model tests
Hurray, you've implemented a TensorFlow model! Now it's time to add tests to make sure that your model behaves as
expected. As in the previous section, we suggest you start by copying the test_modeling_brand_new_bert.py file in
tests/models/brand_new_bert/ into test_modeling_tf_brand_new_bert.py, and continue by making the necessary
TensorFlow replacements. For now, in all .from_pretrained() calls, you should use the from_pt=True flag to load
the existing PyTorch weights.
After you're done, it's time for the moment of truth: run the tests! 😬 |
[
0.005167406,
0.015900806,
-0.054549586,
-0.0117013985,
-0.03271267,
-0.024399268,
0.019317273,
0.00364779,
-0.019075273,
0.039147016,
-0.0070962864,
-0.01380822,
0.066165574,
-0.04094066,
0.025395736,
0.04355995,
-0.011801045,
-0.036641605,
-0.05585923,
0.006338258,
0.022406328,
-0.011352634,
-0.049453355,
-0.016541393,
-0.019160684,
0.02076927,
0.029951025,
-0.005633611,
0.07715521,
0.0378089,
-0.031317614,
-0.017039629,
0.0019662478,
-0.02686197,
0.01817845,
-0.03237102,
-0.027445616,
0.013737043,
-0.058706287,
-0.024086092,
0.0067368452,
-0.018548567,
0.018050333,
-0.040029604,
-0.050819945,
0.019986331,
-0.014662337,
-0.026449148,
0.03276961,
-0.029922554,
0.00041148852,
0.036527723,
0.0018363509,
0.039716426,
-0.05893405,
-0.030463496,
-0.010448694,
0.041310776,
-0.040485132,
-0.011317046,
0.027189381,
0.02565197,
0.01558763,
-0.03533196,
0.0219508,
0.027089735,
-0.019616213,
0.040769838,
0.0034591726,
0.030093377,
-0.04096913,
0.03231408,
-0.01688304,
-0.04039972,
-0.0073454035,
0.00880452,
-0.0041744956,
-0.019046802,
0.017623274,
0.018434685,
0.04193713,
0.051360883,
0.004025025,
0.029381614,
-0.049880415,
0.007751109,
-0.0031282024,
-0.019274566,
-0.013979043,
-0.012064398,
-0.0011121312,
0.022050446,
-0.010861517,
0.019630449,
0.008719108,
0.05469194,
-0.029580908,
0.046720184,
0.0063204635,
-0.021623388,
-0.015473748,
0.106024355,
-0.014413219,
0.024128797,
0.01766598,
-0.0044307304,
0.0054272,
-0.014463043,
-0.03362373,
-0.01380822,
0.039033134,
-0.004850671,
-0.017779863,
0.012754809,
0.014035984,
0.0041709365,
-0.012462986,
0.04290513,
-0.08142579,
-0.026776558,
0.023587856,
-0.017139275,
-0.009067873,
-0.044641834,
-0.014064455,
-0.054236412,
-0.018861745,
0.026278324,
0.0405136,
0.016014688,
-0.0043524364,
-0.0025178648,
-0.012690751,
0.05426488,
-0.017352805,
-0.05175947,
-0.03689784,
0.038207486,
0.017167745,
-0.010050107,
0.00022187016,
-0.03174467,
0.015245983,
0.07863568,
0.036556195,
-0.0027100411,
0.0461223,
-0.075333096,
0.0341362,
0.042762775,
-0.02155221,
0.0030125408,
-0.013523514,
0.052869823,
-0.02119633,
0.040143486,
-0.015245983,
0.019260332,
0.012028811,
0.05323994,
0.048798535,
0.014747748,
-0.026491852,
0.030064907,
0.012648045,
0.036015254,
-0.03689784,
-0.01039887,
0.010042989,
-0.046207715,
0.015701512,
0.029865613,
-0.0583077,
-0.017537862,
0.04746042,
-0.0005284847,
0.056627937,
0.031146789,
-0.020100214,
0.012719221,
-0.017751392,
-0.021053977,
0.0027901146,
0.036129136,
0.014555572,
-0.007822285,
0.012939868,
-0.026221383,
0.0028239232,
0.022135857,
-0.005210112,
0.024498913,
-0.026420677,
0.0382929,
-0.056542527,
0.0050428472,
0.0047972887,
0.019587742,
0.007494874,
-0.017722921,
-0.024940208,
0.031260673,
-0.014875866,
-0.0033452904,
0.013694338,
0.006569581,
-0.03985878,
0.027217852,
-0.0148189245,
-0.019416919,
0.039289366,
0.021395624,
-0.018434685,
0.00019028563,
0.026876206,
-0.017594803,
-0.0012998588,
0.015929276,
0.024883267,
-0.008242226,
0.023957973,
0.009694224,
0.04703336,
0.012256575,
0.021409858,
0.017708687,
-0.011174694,
0.032000907,
0.008961108,
-0.0068329335,
0.022634093,
0.04395854,
0.010811694,
0.020598447,
-0.0024253356,
0.008825872,
0.03536043,
0.04959571,
-0.0146053955,
0.01820692,
0.008704873,
0.008889931,
0.008783166,
0.01688304,
-0.029495496,
-0.018320803,
-0.021836916,
0.00039547382,
-0.051987235,
0.03479102,
-0.032968905,
0.024456209,
-0.0017927553,
-0.018847508,
-0.04384466,
-0.029096909,
0.002535659,
0.06360322,
-0.014505749,
-0.05520441,
0.038150545,
0.026164442,
-0.0031620113,
0.00057030085,
0.03484796,
0.043303717,
-0.06195193,
0.02511103,
-0.017082334,
-0.02400068,
-0.008847225,
-0.0025641294,
-0.0685571,
0.019730095,
-0.06138252,
0.0035712754,
0.033965375,
-0.043446068,
0.0067795515,
-0.013487926,
-0.0141213965,
-0.0085269315,
0.0047510243,
0.018733626,
0.04663477,
0.028356675,
-0.029239262,
0.004412936,
-0.037894312,
0.006416552,
-0.041567013,
0.012790398,
0.0009599916,
-0.024683973,
0.037581135,
-0.0322002,
-0.0064592576,
0.012890045,
-0.0475743,
0.018534333,
-0.01326728,
0.010669341,
0.033168197,
0.008797402,
0.005441435,
-0.008747579,
0.008064285,
-0.017438216,
0.053894762,
-0.00054183026,
-0.028541733,
0.019004097,
-0.0033417316,
0.04720418,
-0.0405136,
0.017737158,
0.02297574,
-0.004060613,
-0.078977324,
-0.017281627,
0.007274227,
-0.029837143,
-0.0030303348,
-0.022776445,
-0.0027242764,
0.026990088,
-0.0024217768,
-0.052442767,
-0.005633611,
-0.027260559,
0.003443158,
-0.025381502,
-0.03237102,
0.028983027,
0.014619631,
-0.0099789305,
-0.0015987997,
0.017438216,
-0.03889078,
-0.018577037,
0.04000113,
-0.027630676,
0.05466347,
0.032000907,
-0.019701624,
-0.030064907,
0.07311239,
-0.03578749,
0.0106764585,
0.007270668,
0.01531716,
-0.026335265,
0.0021246152,
0.019616213,
0.0485423,
0.031773143,
-0.026491852,
0.0036727018,
-0.028854908,
-0.016954217,
0.019986331,
0.018306568,
0.0070357863,
0.03160232,
-0.016213981,
-0.015630336,
0.0048613474,
0.0032100552,
0.053524647,
-0.0018416891,
0.025509618,
0.00036833782,
-0.056912642,
-0.01244875,
-0.007993109,
-0.010171106,
0.05005124,
0.029922554,
0.040485132,
-0.02306115,
-0.033111256,
-0.018918686,
0.022691034,
0.056030054,
-0.008690638,
0.021395624,
0.0017856377,
0.016555628,
-0.042107955,
-0.014747748,
0.0030143203,
-0.038065135,
0.007099845,
0.0038008194,
-0.021836916,
-0.054094058,
0.02454162,
0.034961842,
0.034876432,
-0.020641154,
0.04959571,
-0.003807937,
-0.0050179358,
-0.0068151397,
0.00651264,
-0.03983031,
-0.045154303,
0.048371475,
0.068727925,
0.004530377,
-0.055175938,
-0.014662337,
0.014206808,
-0.0053346707,
-0.03783737,
0.013487926,
0.007509109,
0.02761644,
-0.01486163,
-0.0073240506,
-0.05736817,
-0.05477735,
-0.04714724,
0.014676572,
0.06462816,
-0.0170681,
-0.020342212,
-0.04142466,
-0.004299054,
0.031516906,
0.014313572,
-0.038577605,
0.00008418832,
0.029780202,
-0.028598674,
0.014420337,
0.033111256,
-0.021537976,
-0.030406555,
-0.037552666,
-0.019103743,
0.019858213,
-0.01787951,
-0.04968112,
0.0015142778,
0.019957861,
0.025381502,
0.019488096,
-0.033509847,
0.011829516,
0.05944652,
-0.04031431,
0.008363226,
-0.013352691,
-0.022577152,
-0.030520437,
-0.016612569,
-0.02095433,
0.046264656,
0.0055375234,
-0.03692631,
-0.017708687,
0.004722554,
-0.074934505,
-0.051247,
0.017139275,
0.006829375,
-0.0069005513,
0.023587856,
0.032968905,
-0.0048044063,
0.057766758,
0.025424207,
0.008961108,
-0.006313346,
-0.021182094,
-0.022078916,
0.012099987,
0.00066549925,
0.005736817,
-0.033395965,
0.038776897,
0.04800136,
0.019231861,
0.016527157,
-0.08410203,
-0.00467273,
0.0073809917,
-0.048172183,
0.021324446,
0.016968451,
0.026790794,
0.0016504026,
0.00846999,
0.017082334,
-0.016512923,
-0.016427511,
0.0022634093,
0.06383099,
0.019516567,
0.0038008194,
-0.02429962,
-0.0020214096,
0.0419656,
-0.04896936,
-0.010640871,
-0.015715748,
-0.018007627,
-0.0054877,
-0.033936903,
-0.026776558,
-0.037524194,
-0.015900806,
-0.021566447,
0.0027064823,
-0.014890101,
-0.00651264,
-0.014463043,
-0.04643548,
0.07943285,
-0.00054049573,
-0.038606074,
-0.03282655,
0.0120786335,
0.022890327,
0.014491513,
0.020456094,
-0.04353148,
-0.023046916,
-0.028598674,
0.04569524,
-0.076358035,
-0.014171219,
-0.0029840702,
-0.045268185,
-0.016797628,
0.01871939,
0.019986331,
-0.07345404,
0.0031282024,
-0.027787263,
-0.015971983,
-0.07482062,
-0.0053738174,
-0.005053524,
0.0033452904,
-0.010932693,
0.03698325,
-0.020456094,
0.0033684226,
-0.01760904,
0.029751731,
0.008099874,
0.040342778,
-0.024555854,
-0.027943851,
0.0003307478,
-0.0003901356,
-0.015658807,
0.024683973,
-0.012854456,
0.0017936451,
0.009423754,
0.035872903,
-0.028741026,
-0.035559725,
-0.0023808503,
0.0037118488,
0.045211244,
-0.008163932,
0.02101127,
0.0032385257,
0.015231748,
0.053097587,
0.013416749,
0.00054138544,
0.019630449,
-0.038093604,
-0.04751736,
0.034876432,
-0.034961842,
0.0047403476,
-0.03174467,
-0.016356334,
0.019616213,
-0.01254128,
-0.01564457,
0.05580229,
-0.013886514,
0.000096310556,
-0.035075724,
-0.020114448,
0.017623274,
-0.00044974583,
0.01380822,
-0.0046656122,
-0.022449033,
0.0037794665,
-0.032541845,
-0.051275473,
-0.0061282874,
0.028513262,
0.008519814,
-0.008370344,
0.030036436,
-0.010235165,
-0.028769497,
-0.04706183,
0.008768931,
0.05281288,
0.030093377,
0.034734078,
0.06508369,
-0.021395624,
0.0768705,
0.004224319,
0.029381614,
-0.002306115,
0.028983027,
0.01911798,
-0.024100326,
0.014576925,
0.021139389,
-0.049254064,
-0.067304395,
-0.018021863,
0.010640871,
-0.047802065,
-0.015075159,
0.031118318,
0.0028986586,
0.00051691855,
0.052044176,
0.053980175,
-0.008455755,
0.01664104,
0.027516793,
-0.024313856,
-0.0008825873,
-0.001661079,
0.03217173,
-0.04151007,
-0.040171955,
-0.0363569,
-0.007473521,
-0.040570542,
-0.036698546,
0.04597995,
0.004722554,
0.04301901,
0.05210112,
-0.017537862,
0.036641605,
0.016726453,
0.0028417173,
-0.0050001414,
-0.048343007,
-0.06462816,
-0.02176574,
-0.0051389355,
-0.03533196,
-0.00853405,
-0.001615704,
-0.0035178931,
-0.007601639,
0.01782257,
-0.033481374,
-0.055432174,
-0.01148787,
-0.016285159,
-0.005071318,
0.057909112,
-0.007067816,
0.0018381303,
-0.011843751,
-0.0083134025,
-0.02079774,
-0.041253835,
0.0074450504,
-0.012121339,
-0.02966632,
-0.07476368,
-0.0037403193,
-0.07675662,
-0.040627483,
-0.053524647,
-0.029267732,
0.01456269,
0.06519757,
0.0038114958,
-0.028299734,
0.008398814,
0.028214322,
-0.028143145,
0.0076799328,
-0.009188872,
-0.015673041,
-0.018192686,
-0.0021192771,
-0.02508256,
0.020171389,
0.02360209,
-0.0397449,
0.036470782,
-0.001962689,
0.05218653,
-0.017680215,
-0.010185341,
0.017737158,
-0.038691487,
-0.04711877,
-0.019758565,
0.033367492,
-0.040485132,
0.04247807,
0.013253044,
-0.01709657,
-0.023530915,
0.0141783375,
-0.03160232,
0.012527045,
-0.021239035,
0.009089225,
0.020513035,
0.033851493,
0.008605226,
0.003122864,
0.01368722,
0.012213869,
-0.018861745,
-0.002891541,
0.050848413,
0.08700602,
-0.0156161,
0.006135405,
0.022961505,
-0.017196216,
0.018463155,
-0.020299507,
0.0016112556,
0.06741828,
0.044869598,
-0.014705042,
-0.0017954245,
-0.032513376,
-0.026990088,
0.035673607,
-0.0504783,
-0.042734306,
-0.0058435816,
-0.05383782,
0.014875866,
-0.00059165375,
0.011345517,
0.01914645,
0.0030730406,
-0.0015463071,
0.044727243,
-0.015473748,
0.030178789,
0.0022456152,
-0.06753216,
-0.02484056,
-0.0058862874,
0.021723034,
-0.0024395708,
-0.024612796,
-0.010982517,
0.041225366,
0.0060072877,
-0.02866985,
-0.04145313,
-0.020071743,
-0.021068212,
0.045809124,
-0.014676572,
0.00678311,
-0.0202568,
0.029523967,
-0.033908434,
-0.005722582,
-0.017537862,
0.034022316,
0.036015254,
0.016569864,
0.017594803,
0.027659146,
0.025609266,
-0.014633866,
0.012007457,
0.014156984,
0.057510525,
-0.0102992235,
0.03946019,
0.0108544,
0.04851383,
0.016000453,
0.030406555,
0.02791538,
0.04395854,
0.044300187,
-0.022392092,
-0.021253271,
-0.0056122583,
0.005345347,
0.005235024,
-0.0023132327,
0.006555346,
0.01058393,
-0.024441972,
0.030719731,
0.0142281605,
-0.0007531352,
0.014206808,
0.015431042,
-0.017779863,
0.025509618,
-0.01664104,
-0.037011724,
-0.017509392,
0.0026780118,
0.05779523,
-0.0031993787,
0.023687502,
-0.0029840702,
0.004178054,
0.04037125,
-0.010996752,
0.021965034,
0.0017918657,
0.000324075,
-0.026790794,
0.029951025,
0.019046802,
-0.009359695,
0.002617512,
-0.016242452,
-0.051076178,
0.016669512,
-0.00880452,
-0.03980184,
-0.017082334,
-0.021153623,
-0.0012304619,
-0.059788167,
0.037324898,
-0.083418734,
0.04361689,
-0.0031780258,
0.021865387,
-0.042762775,
0.007017992,
-0.002526762,
0.037495725,
0.048684653,
0.0326842,
-0.018676685,
0.10687847,
0.047175713,
0.004473436,
0.0378089,
0.025950912,
-0.07470674,
-0.012491456,
0.04000113,
-0.013302867,
-0.017110804,
-0.042107955,
-0.012498574,
0.04962418,
0.0170681,
-0.061097816,
-0.00892552,
-0.0256235,
0.007850756,
-0.02656303,
-0.010605282,
0.08142579,
0.06679193,
-0.014028867,
0.019858213,
0.024797855,
-0.0434176,
-0.01836351,
-0.0045695244,
0.033595257,
0.004199407,
-0.04865618,
0.0034805255,
-0.045752183,
0.0058115525,
-0.0003538801,
-0.044670302,
0.006035758,
0.024698207,
0.04039972,
0.039602544,
0.041054543,
-0.015416807,
-0.002418218,
0.022007741,
0.033566788,
0.027217852,
0.0013336677,
0.021481035,
-0.011537693,
0.0033328345,
0.03382302,
-0.0072635505,
-0.04865618,
-0.026107501,
0.012050163,
0.015744219,
-0.003361305,
-0.02222127,
-0.014676572,
0.012206751,
-0.011473634,
-0.027716087,
-0.0258655,
-0.015843865,
-0.057083465,
-0.058279227,
-0.040485132,
-0.03069126,
-0.004498348,
-0.052471235,
-0.005761729,
-0.042620424,
0.23915267,
0.04259195,
0.0010373959,
-0.014847395,
0.044214774,
0.04765971,
-0.033566788,
-0.003590849,
0.0066514337,
-0.06263523,
-0.037040193,
0.0025160855,
-0.025039855,
0.04290513,
-0.07749686,
0.016242452,
-0.06519757,
-0.018021863,
-0.025381502,
-0.013430985,
-0.035189606,
0.009936225,
0.02454162,
0.034022316,
-0.00832052,
0.019345744,
-0.0024217768,
-0.034477845,
-0.004323966,
-0.04242113,
0.014776219,
-0.037211016,
0.023089621,
-0.0322002,
0.004925406,
0.03069126,
0.010954047,
0.03160232,
-0.016868806,
0.00062457286,
0.0062884344,
-0.003864878,
0.029267732,
0.00071799185,
-0.023445504,
0.050933827,
-0.02321774,
0.027474087,
0.04706183,
-0.050706062,
0.036072195,
-0.0568557,
0.002053439,
-0.0054699057,
-0.0461223,
0.018320803,
-0.041196894,
-0.012797515,
-0.009231578,
-0.011345517,
0.0059894933,
-0.03530349,
-0.0026958059,
0.034107726,
0.009295637,
-0.015217513,
-0.016356334,
0.05882017,
-0.037467252,
-0.018349273,
-0.014420337,
-0.0011672928,
-0.011252987,
-0.038008194,
0.0248975,
0.07322627,
0.028442087,
0.010242282,
-0.02152374,
-0.05005124,
-0.01893292,
0.02152374,
0.03573055,
-0.008911285,
0.014164102,
-0.011779693,
-0.014776219,
0.014021749,
0.036499254,
0.016655276,
0.052328885,
0.05332535,
-0.009437989,
0.006316905,
0.0059894933
] | Set up a development environment, for instance by running the following command:
python -m venv .env
source .env/bin/activate
pip install -e ".[dev]"
Depending on your OS, and since the number of optional dependencies of Transformers is growing, you might get a
failure with this command. If that's the case make sure to install TensorFlow then do:
pip install -e ".[quality]"
Note: You don't need to have CUDA installed. Making the new model work on CPU is sufficient. |
[
0.024456663,
0.011299948,
-0.027311096,
-0.007091047,
0.022655323,
-0.02995768,
0.028599747,
-0.0005412682,
-0.027144818,
0.04883019,
-0.0018602306,
-0.007967468,
0.052765425,
-0.050659243,
0.01121681,
0.015948793,
0.0057123285,
-0.038520977,
-0.033976056,
-0.02560675,
-0.006006778,
0.007274645,
-0.0687835,
-0.033754352,
0.013593193,
0.02325115,
-0.026202578,
-0.020978691,
0.06423858,
0.018609235,
-0.029929968,
-0.00020091876,
-0.014258304,
-0.022267342,
-0.013281423,
-0.019274345,
-0.008965134,
-0.029431134,
-0.04450697,
-0.04359244,
0.036913626,
-0.02513563,
0.022101063,
-0.017639281,
-0.057033215,
0.011223738,
-0.023749983,
0.009429325,
0.012567815,
-0.057199493,
0.021435954,
0.01772242,
0.008258454,
0.017195875,
-0.0415694,
-0.04359244,
-0.04592033,
0.004188117,
-0.051823184,
0.011493939,
0.06712072,
0.025329622,
0.030872207,
-0.033477224,
0.009664886,
0.031010771,
-0.009249192,
0.027408091,
-0.015145117,
0.00945011,
-0.0045379926,
0.0080436785,
-0.029458847,
-0.014299873,
0.0020109196,
0.021144968,
0.028488895,
-0.02415182,
-0.028045489,
0.013122073,
-0.010662551,
0.021089543,
0.01121681,
0.034973722,
-0.0012262972,
-0.022766175,
0.059638232,
0.009907373,
-0.036885913,
-0.046363737,
-0.022128778,
0.028987728,
-0.022696892,
-0.013717902,
-0.0006906582,
0.032230143,
-0.0327844,
0.043010473,
-0.011681002,
-0.034447175,
0.0102052875,
0.0767094,
0.016558478,
0.020895552,
0.028281048,
-0.0031973796,
0.031869873,
-0.009429325,
-0.032174714,
-0.010475488,
0.025620606,
-0.0020680777,
0.025897736,
0.01757,
-0.010946608,
-0.01592108,
-0.027158674,
0.011029747,
-0.05129664,
-0.03929694,
0.017112736,
-0.018526096,
0.01086347,
-0.07016914,
-0.019579187,
-0.03175902,
0.0053070267,
0.04129227,
0.028516607,
0.008223813,
0.012408466,
-0.023195725,
0.042289935,
0.011805709,
-0.0070529412,
-0.048525345,
-0.055481292,
-0.0024473984,
0.014327587,
-0.037357032,
-0.0028388435,
0.015616238,
0.0012687327,
0.069005206,
0.007995181,
0.026576703,
0.02007802,
-0.07560088,
-0.0011630772,
0.021893216,
-0.041791104,
0.003297839,
0.010371565,
0.03827156,
-0.052709997,
0.03477973,
-0.017182019,
-0.00026868554,
0.011819566,
0.015075835,
-0.007219219,
0.028599747,
-0.017334439,
0.06008164,
0.017680852,
0.043121323,
-0.03023481,
-0.015269826,
-0.027823785,
-0.04461782,
-0.018969502,
0.002849236,
0.0015285414,
0.005615333,
0.04622517,
0.031121623,
0.04589262,
0.022364337,
0.003976806,
-0.006838166,
0.019496048,
0.0009405077,
0.04120913,
0.02007802,
-0.025121775,
-0.004212366,
0.010787259,
-0.0051442133,
-0.0073716403,
-0.00796054,
0.011341518,
0.031149337,
-0.022683036,
0.017320583,
-0.06673274,
-0.009900445,
-0.025329622,
-0.005022969,
0.020091876,
-0.021837791,
-0.027269525,
0.031010771,
-0.07659855,
0.022544472,
-0.005016041,
0.0039005952,
-0.009457039,
0.01497884,
0.013419988,
0.0016134123,
0.061578136,
0.0058370363,
-0.0055183377,
-0.00297048,
0.0097203115,
-0.032590408,
-0.01450772,
0.011549365,
0.0020750058,
-0.021740796,
0.031426467,
-0.00074391905,
0.030013107,
0.07948069,
0.047693957,
-0.004420213,
-0.009879661,
0.046142034,
-0.030733643,
-0.011771068,
-0.005497553,
0.022738462,
-0.00055902184,
0.06019249,
0.02607787,
0.014535434,
0.01666933,
0.026521277,
0.01133459,
0.027421948,
0.027352665,
-0.028599747,
0.00854944,
0.009505536,
-0.015158975,
-0.001605618,
0.0010375029,
0.0027609009,
-0.027269525,
-0.000056237768,
-0.064460285,
0.041042853,
0.022918595,
-0.016835608,
-0.0749912,
-0.00017602043,
0.016142784,
0.021851648,
0.008653363,
0.016891032,
-0.0014731156,
0.02873831,
0.014673998,
-0.010059794,
0.04603118,
0.0152144,
-0.030262522,
0.057864603,
0.012082838,
-0.02513563,
0.0077457647,
-0.049107317,
-0.057753753,
-0.02102026,
-0.032285567,
-0.0030917241,
0.01984246,
-0.03126019,
0.030595077,
-0.02556518,
-0.026923114,
-0.0043751793,
-0.008085248,
0.04442383,
0.035389416,
0.01945448,
-0.05451134,
-0.0184291,
-0.049938705,
0.009886589,
-0.010558628,
-0.0030449585,
-0.011805709,
-0.014687855,
0.017583856,
0.019412909,
-0.003987198,
-0.05453905,
-0.037939005,
0.008577153,
-0.042317647,
0.01172257,
0.021283533,
0.037745014,
-0.026826119,
-0.020493714,
-0.000060189028,
-0.01851224,
0.05575842,
0.029514274,
-0.015200544,
0.032396417,
0.0016186085,
-0.009110627,
-0.04137541,
0.006682281,
0.085854664,
0.03372664,
-0.056368105,
-0.025953162,
-0.042262223,
0.008729574,
0.0012600725,
0.008923564,
-0.0021789293,
0.021629944,
-0.00748942,
-0.037467886,
-0.034059193,
-0.04015604,
-0.007094511,
-0.06678817,
-0.010669479,
0.039075237,
0.005996386,
-0.001931245,
-0.011902705,
-0.01415438,
0.0046176673,
0.011971987,
0.051518343,
-0.011625575,
0.06756413,
0.062243246,
-0.022724604,
0.0005854357,
0.021629944,
-0.06313006,
-0.019038785,
0.005698472,
0.046613153,
0.0060795248,
0.010877326,
0.021629944,
0.0065471805,
0.027408091,
-0.0055287303,
0.029708264,
0.013773328,
0.019773178,
-0.014867988,
-0.0025651783,
0.02513563,
-0.024733793,
-0.057421196,
0.012955796,
-0.0008192636,
-0.00843166,
0.061744414,
-0.054927032,
0.013821825,
0.017708564,
-0.045227505,
-0.020964833,
-0.015228257,
-0.026119439,
0.012082838,
0.027948493,
0.014590859,
-0.017348297,
-0.04883019,
0.007849689,
-0.026812263,
0.05974908,
0.07665397,
0.0108219,
-0.036054526,
0.008022894,
-0.019315915,
-0.0013180964,
-0.028184053,
-0.0081961,
-0.008791928,
0.00392138,
-0.018207397,
-0.02976369,
0.04101514,
0.055786133,
0.05564757,
0.032147,
0.050825518,
-0.013426916,
-0.03333866,
0.014992697,
-0.0121590495,
-0.010329995,
-0.06606763,
0.04298276,
0.037384745,
0.013406131,
0.02380541,
0.0057296488,
0.004188117,
0.03333866,
-0.027823785,
0.0022984415,
-0.015200544,
-0.009768809,
-0.01587951,
0.008965134,
-0.04619746,
-0.025204912,
-0.020008737,
0.015824085,
0.0383547,
-0.0385764,
0.018068831,
-0.026701411,
0.005106108,
0.045504637,
0.029264858,
-0.052682284,
-0.0013103021,
-0.0005378041,
-0.043343026,
0.058917694,
0.038493264,
-0.028184053,
0.006564501,
-0.03799443,
-0.0021165751,
0.011327662,
-0.019828603,
-0.025066348,
-0.0049121175,
-0.0010600197,
-0.013419988,
0.028516607,
0.020258155,
0.018955646,
-0.015394534,
-0.010932752,
0.019773178,
-0.026285717,
-0.004482567,
-0.016475338,
0.010336924,
0.03616538,
0.059361104,
0.018442957,
-0.019412909,
-0.004874012,
0.010316139,
-0.055592142,
-0.045476925,
0.023846978,
0.043176748,
0.0049536866,
0.029902255,
0.014701711,
-0.0196069,
0.020479858,
0.03015167,
-0.013274495,
0.036220804,
-0.0051511414,
0.022031782,
-0.0330061,
-0.009623316,
0.030872207,
-0.06712072,
0.047666244,
0.002049025,
0.01478485,
0.0092284065,
-0.04816508,
-0.023971686,
-0.023888549,
-0.0272141,
0.045615487,
0.031537317,
0.018013407,
-0.017556144,
0.005435199,
0.019080354,
0.010378493,
-0.05753205,
0.026673699,
0.059028547,
-0.01478485,
-0.010094436,
-0.03976806,
-0.044534683,
0.025315763,
-0.027712934,
0.057199493,
-0.03411462,
-0.0424285,
-0.011306876,
0.0063531897,
-0.02356985,
-0.0075725587,
-0.038770393,
-0.003325552,
0.011092101,
-0.013932677,
-0.0033099635,
-0.017639281,
-0.023278864,
0.026756836,
-0.06695445,
-0.025773028,
-0.026438138,
0.023542136,
0.04447926,
0.018789368,
0.062464952,
-0.048386782,
-0.03929694,
-0.021047972,
0.044285268,
-0.046058893,
0.013246782,
-0.028987728,
-0.036082238,
0.022627609,
0.027671363,
0.0049571507,
-0.06734243,
0.025052492,
-0.015713234,
-0.034280896,
-0.06712072,
-0.011521651,
0.000107225234,
0.0015865654,
-0.010849614,
0.054067932,
-0.025412759,
-0.0011500868,
-0.020840125,
0.009657958,
0.026673699,
0.04866391,
-0.00032800855,
-0.02717253,
-0.00043777775,
-0.00010267858,
0.0061903764,
0.05265457,
0.02352828,
0.034807444,
-0.00707719,
0.042761054,
-0.06850637,
-0.060247917,
-0.026147151,
-0.010787259,
0.025482042,
-0.056728374,
0.028488895,
-0.00807832,
0.020382863,
0.005698472,
0.03597139,
-0.003145418,
0.0051546055,
-0.07061255,
-0.0623541,
0.03874268,
-0.044756386,
-0.022364337,
-0.022281198,
-0.027421948,
0.04015604,
-0.018650804,
-0.00031047146,
0.0471397,
-0.03356036,
-0.000011244847,
-0.02258604,
0.046308313,
0.02380541,
0.0005819716,
0.0005767754,
0.004447926,
-0.025731457,
0.02223963,
-0.020244297,
-0.01587951,
-0.019828603,
0.035860535,
0.010669479,
-0.009145268,
0.0385764,
-0.011223738,
-0.030484226,
-0.06645561,
0.017556144,
0.028876876,
0.010309211,
0.019662326,
0.03619309,
0.034253184,
0.034003768,
0.018207397,
-0.028059345,
-0.015560811,
0.045975756,
0.010260713,
-0.045033514,
0.015117405,
0.050298974,
-0.044063564,
-0.034447175,
-0.0400729,
0.022516757,
-0.043176748,
-0.0029219824,
0.013461557,
0.01984246,
-0.06573508,
0.09766038,
0.037273895,
-0.028682886,
0.0042989687,
0.0008049741,
0.0006573161,
-0.014590859,
-0.0059894575,
0.0049987203,
-0.041403122,
-0.009353115,
-0.04816508,
0.0012713308,
-0.046142034,
0.01278259,
0.034724306,
0.028184053,
0.014590859,
0.031980723,
0.010329995,
0.06967031,
0.009664886,
-0.0039109876,
-0.010565556,
-0.0055910842,
-0.0432876,
-0.039851196,
-0.021338958,
-0.034613453,
0.0088127125,
-0.05980451,
0.0013925749,
0.04289962,
0.05415107,
-0.00462806,
-0.057809178,
0.0058127875,
-0.024927784,
-0.021976355,
0.025191056,
-0.00023729198,
0.00002166426,
0.051435202,
0.0069871233,
-0.048885614,
-0.004849763,
0.0035437914,
0.016212067,
-0.03126019,
-0.05611869,
-0.0019208527,
-0.030844495,
-0.035832822,
-0.023403572,
-0.010932752,
-0.013904965,
0.017847128,
0.0027124034,
0.007392425,
-0.00772498,
-0.0012730629,
-0.01600422,
0.031620458,
0.011500867,
0.026022444,
-0.022613753,
-0.015976505,
-0.029431134,
0.013939605,
0.02823948,
-0.04827593,
0.04725055,
-0.020923264,
-0.012346111,
-0.028516607,
0.020798557,
0.024262672,
-0.0004516342,
-0.025010921,
-0.032534983,
0.016600046,
-0.02768522,
0.0054213423,
-0.039906625,
-0.008660291,
-0.03195301,
0.0655688,
-0.02447052,
0.0013129002,
-0.015061979,
-0.021907074,
-0.013939605,
0.039851196,
0.011833423,
-0.01332992,
0.041403122,
0.02125582,
0.040183753,
-0.01890022,
0.008708789,
0.023597563,
-0.03591596,
0.032063864,
0.013911893,
0.026327286,
0.0016463214,
0.018844794,
0.015934937,
0.05054839,
-0.001098125,
0.013392275,
0.007884329,
-0.016018076,
-0.0067931325,
-0.014881845,
-0.05736577,
-0.015158975,
0.037828155,
-0.050770093,
0.024816932,
0.008785,
0.016225923,
0.006834702,
0.01752843,
-0.024983209,
0.039740346,
-0.0046211313,
0.01666933,
0.038520977,
-0.036054526,
-0.05004956,
0.010246857,
0.019191206,
-0.009082913,
-0.02372227,
0.023611419,
0.039435502,
0.031509604,
-0.025967019,
-0.036802776,
-0.031869873,
-0.0061938404,
0.018387532,
-0.021394385,
0.03563883,
-0.023652988,
0.04234536,
-0.03383749,
0.00890278,
-0.017071167,
0.037745014,
0.013911893,
0.026839975,
0.013267566,
0.053984795,
-0.03203615,
-0.0040876577,
0.00037564014,
0.005019505,
0.013891107,
-0.042650204,
-0.0025409295,
-0.008854282,
0.09156353,
0.031398755,
0.017791703,
0.004991792,
0.005265457,
-0.0053693806,
-0.02215649,
-0.023472855,
0.033283234,
0.04356473,
0.018678516,
0.04675172,
-0.013163643,
-0.01544996,
-0.026798407,
0.026119439,
0.011487011,
0.008985919,
-0.007877401,
-0.009671814,
-0.025994731,
-0.0061280224,
-0.018526096,
-0.061467286,
0.026216434,
0.011868063,
0.02764365,
0.025717601,
0.023555992,
-0.0020299724,
0.020396719,
0.016988028,
0.01478485,
0.03286754,
-0.021463666,
0.021435954,
-0.02717253,
0.04583719,
-0.0049398304,
-0.031703595,
-0.005667295,
-0.010142934,
-0.034918297,
-0.00033515328,
0.009429325,
-0.020410575,
0.01694646,
-0.020438287,
-0.003329016,
-0.048913326,
0.020673849,
-0.040599447,
0.035361703,
-0.0055183377,
-0.0520726,
-0.039629493,
0.015699377,
-0.031509604,
0.042927332,
-0.006387831,
0.027546655,
0.024165677,
0.05622954,
0.031620458,
-0.018678516,
0.028225623,
0.018262822,
-0.049550723,
-0.023417428,
0.029264858,
-0.05282085,
0.015422247,
-0.058418863,
-0.06673274,
0.012623241,
0.005424807,
-0.021047972,
-0.060026214,
0.031426467,
0.011618647,
-0.02744966,
0.0069455537,
0.09012246,
0.024636798,
-0.038022146,
0.004600347,
0.035029147,
-0.04051631,
-0.024124108,
-0.027657507,
0.05642353,
0.012131336,
-0.031703595,
-0.012394609,
-0.050991796,
0.03126019,
0.018886363,
-0.037855867,
-0.0018255895,
0.02451209,
0.02556518,
0.03890896,
-0.0058058593,
-0.02537119,
-0.008306951,
0.013101289,
0.0503544,
0.025288051,
0.08081091,
0.037079904,
-0.0074409223,
0.0006793999,
-0.00019431529,
0.0053000986,
-0.027061678,
-0.008189172,
-0.027186386,
-0.01866466,
0.011168312,
-0.0638506,
-0.009159124,
0.030761356,
0.0035264706,
-0.016142784,
0.0014055653,
-0.024913928,
-0.0764877,
-0.064460285,
-0.033976056,
0.020091876,
-0.0011457566,
-0.026285717,
0.05537044,
-0.04298276,
0.22525072,
0.045255218,
0.034364037,
-0.013558553,
0.05004956,
0.05320883,
0.014798706,
0.021532949,
-0.026396569,
-0.033310946,
-0.013925749,
-0.008355449,
0.011320733,
0.024110252,
-0.04761082,
0.033477224,
-0.057254918,
-0.01815197,
-0.043925,
-0.032202426,
-0.04960615,
0.022447476,
0.022932451,
0.06867265,
0.036331654,
0.0114592975,
-0.015491529,
-0.0471397,
-0.00796054,
-0.036054526,
0.028544322,
-0.01454929,
-0.0034589204,
-0.01630906,
-0.0134130595,
0.0059548165,
0.024595227,
-0.00582318,
0.0037516383,
0.0018065368,
-0.008722645,
-0.02901544,
-0.0028336474,
-0.008708789,
0.023902405,
0.0037654948,
-0.029070867,
0.03616538,
0.01615664,
-0.034170046,
0.04262249,
-0.043980423,
0.03818842,
-0.056534383,
-0.031038485,
0.03843784,
-0.0754346,
-0.04744454,
0.026867688,
0.003386174,
-0.0155746685,
0.02059071,
-0.014182094,
-0.006855487,
0.0073854965,
0.004995256,
-0.016960315,
0.054622192,
0.015782515,
-0.015339108,
-0.0061314865,
-0.020798557,
-0.051379777,
-0.037578736,
0.010517058,
0.032091577,
-0.004208902,
0.044534683,
-0.005106108,
-0.03893667,
-0.007066798,
-0.0018792832,
0.0081961,
-0.051185787,
0.024054825,
0.03126019,
-0.035278562,
0.007912043,
0.031232476,
0.01709888,
0.05451134,
0.05196175,
0.0026327285,
0.0024231495,
0.0055114096
] | Add an empty .py file in transformers/src/models/brandnewbert/ named modeling_tf_brandnewbert.py. This will
be your TensorFlow model file.
Push the changes to your account using:
git add .
git commit -m "initial commit"
git push -u origin add_tf_brand_new_bert |
[
0.02181908,
0.013665483,
-0.045494493,
0.008831872,
0.0010611454,
-0.02694542,
0.02578878,
-0.0064364853,
-0.025603145,
0.052577123,
-0.023875326,
-0.012773015,
0.06739925,
-0.05269136,
0.022790084,
0.01976283,
-0.002116936,
-0.04523746,
-0.045494493,
-0.03472775,
0.014607931,
-0.0081178965,
-0.058031894,
-0.013872536,
0.008938968,
0.0038161967,
0.0050263847,
-0.023689693,
0.062372863,
0.037098143,
-0.0350419,
-0.008267831,
-0.025446072,
-0.024118079,
0.008681937,
-0.019791389,
-0.01949152,
-0.0025399663,
-0.040753696,
-0.04192462,
0.011637794,
-0.020119818,
0.024103798,
-0.013965352,
-0.056918092,
0.015893085,
-0.02004842,
-0.008282111,
0.040553786,
-0.05363381,
0.009652943,
0.03835474,
0.00011423601,
0.022276022,
-0.055690058,
-0.032842852,
-0.041239202,
0.005561866,
-0.058545955,
0.005219158,
0.066656716,
0.017135402,
0.03472775,
-0.039382864,
0.028687518,
0.02554603,
-0.012487425,
0.031957526,
-0.0073539433,
0.029958393,
-0.04586576,
0.022018991,
-0.032014642,
-0.023989562,
-0.0123017905,
0.028730357,
0.018991737,
-0.017506668,
-0.019620035,
0.01809213,
0.021833358,
0.03207176,
0.0015002402,
0.029958393,
-0.016749855,
-0.0016055515,
0.046636853,
-0.0034734888,
-0.02551747,
-0.045408815,
-0.016264353,
0.015336185,
-0.022590172,
-0.017592346,
-0.016121557,
0.045180343,
-0.039697014,
0.04523746,
0.02554603,
-0.023332706,
-0.0056047044,
0.082078576,
0.015250508,
0.03409945,
0.02748804,
0.0015778849,
0.035955787,
-0.019077415,
-0.02289004,
-0.0018438406,
0.030415338,
-0.0006885397,
-0.0045730104,
0.011473579,
-0.008324949,
-0.020662438,
-0.04412366,
0.014215244,
-0.066028416,
-0.01432948,
0.02547463,
-0.024732096,
0.016835533,
-0.07556712,
-0.009203139,
-0.059745435,
0.0060509387,
0.028601842,
0.0069434075,
0.005244147,
-0.00659356,
-0.013415592,
-0.0007505663,
0.031386346,
-0.005704661,
-0.051720355,
-0.04406654,
0.009381632,
0.025603145,
-0.015678892,
-0.0058010477,
-0.019891346,
-0.0019937754,
0.07762337,
0.015864527,
0.014936359,
0.036755435,
-0.072140045,
-0.00040808137,
0.054804727,
-0.03152914,
0.02321847,
0.010452596,
0.052834157,
-0.042295884,
0.037954915,
-0.023346985,
0.0052512866,
-0.009317375,
0.030501015,
0.017078284,
0.030986518,
-0.0066649574,
0.053462453,
0.030843724,
0.056946654,
-0.032014642,
-0.03124355,
-0.02634568,
-0.04929284,
0.006822032,
0.024546463,
-0.04355248,
0.0063686576,
0.03438504,
0.029901275,
0.0452089,
0.023018556,
-0.0054583396,
0.00057341123,
-0.0038804545,
-0.0076966514,
0.040925052,
0.022190345,
-0.015978763,
0.0077537694,
-0.003612714,
-0.024860613,
-0.011702051,
0.012173275,
-0.0081321765,
0.014143846,
-0.023689693,
0.03235735,
-0.06100203,
-0.013279936,
-0.025931574,
-0.020076979,
0.017221078,
-0.018649029,
-0.021233618,
0.048236158,
-0.04580864,
0.008260692,
0.0025078375,
0.0039946907,
-0.032300234,
0.021019427,
-0.012280371,
-0.015164831,
0.0688272,
0.0011816288,
-0.0041446253,
0.0042552915,
0.024703538,
-0.0047943424,
0.008239272,
0.0017545938,
-0.005954552,
-0.017563786,
0.034242246,
0.0060295197,
0.036983907,
0.061458975,
0.020176936,
0.004148195,
-0.0069469777,
0.040211078,
-0.019248769,
-0.0046515474,
0.002748804,
0.033328358,
-0.0122875115,
0.043780953,
0.014593651,
-0.007396782,
0.015993042,
0.036012903,
0.0064579044,
0.018463396,
-0.004615849,
-0.037555087,
0.026188606,
-0.004405226,
-0.013594085,
-0.017249638,
-0.008510583,
-0.003321769,
-0.031671934,
0.014143846,
-0.045751523,
0.008396347,
-0.0017412067,
-0.018434836,
-0.064371996,
-0.01517911,
0.0051192013,
0.024632141,
0.005950982,
-0.0052905553,
0.02775935,
0.029958393,
0.015164831,
-0.020105539,
0.03744085,
0.041153524,
-0.033071324,
0.053719483,
0.011195129,
-0.013237098,
0.00658999,
-0.03924007,
-0.04809336,
-0.010709627,
-0.033157002,
-0.013765439,
0.024889171,
-0.043038417,
0.011537837,
-0.037469413,
-0.021690562,
0.01974855,
-0.017121123,
0.046779647,
0.03521325,
0.013622644,
-0.04963555,
-0.011080893,
-0.049349956,
0.021019427,
-0.019677153,
0.015907364,
0.01462221,
-0.021047985,
0.031329226,
-0.019705713,
0.00025970844,
-0.03801203,
-0.017906494,
0.009117462,
-0.025617426,
0.006336529,
0.044866193,
0.029644245,
-0.018249203,
-0.025274718,
0.0031914685,
-0.018748986,
0.05757495,
0.01920593,
-0.016964048,
0.024475066,
-0.005322684,
0.01345843,
-0.035698753,
0.006957687,
0.05643259,
0.014058169,
-0.074596114,
-0.029415773,
-0.019148812,
-0.028616121,
-0.0029023087,
-0.019848507,
-0.0066613876,
0.021990431,
-0.009017506,
-0.044523485,
-0.016821252,
-0.026602712,
-0.00030522436,
-0.054833286,
-0.033014208,
0.036526967,
0.003898304,
-0.0023382683,
-0.018706147,
0.010331219,
0.0006653355,
-0.0025096224,
0.046522617,
-0.01144502,
0.06939838,
0.047465064,
-0.008167875,
-0.0123446295,
0.034042332,
-0.04415222,
-0.014015331,
-0.0025149772,
0.030843724,
-0.011266527,
0.0026470625,
0.037555087,
0.036898233,
0.020105539,
-0.0031165013,
0.026845463,
-0.017563786,
0.013779719,
-0.00027153364,
0.013536967,
0.043124095,
-0.008446326,
-0.03695535,
0.018363439,
-0.0051334808,
0.0061294762,
0.05183459,
-0.025017686,
0.028259134,
0.009388772,
-0.06254422,
-0.02865896,
-0.0065721404,
-0.03701247,
-0.0014172405,
0.050863586,
0.009060344,
0.0056618224,
-0.032385908,
0.0011914459,
0.011437881,
0.05420499,
0.052862715,
0.017335314,
-0.02891599,
0.0029629965,
-0.022875762,
-0.005494038,
-0.0252176,
0.009674362,
-0.010488294,
0.018192085,
-0.017406713,
-0.042324442,
0.04161047,
0.049835462,
0.043152653,
0.0043017,
0.05757495,
-0.0074895984,
-0.0120447595,
0.009574406,
-0.00014792671,
-0.026417078,
-0.07608119,
0.04406654,
0.034356482,
0.025288997,
-0.017820818,
-0.008267831,
0.0045694406,
0.004751504,
-0.032443028,
0.0070290845,
0.0038840245,
-0.013586946,
-0.029729921,
0.00744676,
-0.06625689,
-0.043866627,
-0.03355683,
0.012501704,
0.051063497,
-0.032385908,
-0.0020616031,
-0.032157436,
0.011023775,
0.027116774,
0.028816035,
-0.064771816,
0.013622644,
-0.009938533,
-0.049349956,
0.03924007,
0.013943933,
0.0018599051,
-0.007818027,
-0.035013337,
-0.020491084,
0.013322775,
-0.018277762,
-0.061801683,
-0.019105973,
0.0018652598,
0.011302225,
0.009224558,
0.0028880292,
0.032814294,
-0.0031165013,
-0.022561612,
0.0060509387,
-0.03415657,
-0.010274101,
-0.023646854,
-0.004605139,
0.026131488,
0.047465064,
0.006068788,
-0.018677589,
-0.009717201,
0.0026006543,
-0.04129632,
-0.045437373,
-0.00058769074,
0.030558133,
0.014179545,
0.028401928,
0.026988259,
-0.015793128,
0.04526602,
0.026488476,
0.009881415,
0.021162221,
-0.007675232,
0.009360213,
-0.022561612,
0.0069148485,
0.009474449,
-0.039325748,
0.054661933,
0.025703102,
0.035384607,
0.016449986,
-0.054233547,
-0.020848073,
-0.007653813,
-0.03121499,
0.048236158,
0.018520514,
0.014807843,
0.0019080983,
0.018948898,
0.015236228,
0.0034003062,
-0.044180777,
0.047208034,
0.064886056,
-0.006957687,
-0.012730176,
-0.03641273,
-0.019105973,
0.038269065,
-0.050006814,
0.016392868,
-0.044837635,
-0.026702669,
-0.016078718,
-0.016535662,
-0.0298156,
-0.025089085,
-0.0075538564,
-0.0009959952,
-0.0011271882,
-0.000852754,
0.0045337416,
0.010288381,
-0.04323833,
0.039439984,
-0.042067412,
-0.021362135,
-0.048893012,
0.008346369,
0.047436506,
-0.0021722692,
0.04749362,
-0.043409687,
-0.025860177,
-0.029387213,
0.044580605,
-0.05186315,
-0.01347271,
-0.016864091,
-0.052034505,
0.013722601,
0.01974855,
0.018577632,
-0.07425341,
0.006557861,
-0.021433532,
-0.036155697,
-0.063743696,
-0.017720861,
-0.019020297,
0.004355248,
-0.009588685,
0.048493188,
-0.04161047,
-0.0023079244,
-0.038554654,
0.031814728,
0.017992172,
0.052320093,
0.014836402,
-0.029986953,
-0.017920775,
0.011823427,
-0.0052405773,
0.06614265,
0.0102384025,
0.039697014,
0.0032557263,
0.05554726,
-0.04812192,
-0.053776603,
-0.0035912946,
-0.00023114943,
0.029472891,
-0.032243114,
0.030529574,
-0.007960822,
0.017963612,
0.031814728,
0.02434655,
0.0041803243,
0.00078091025,
-0.059745435,
-0.044809077,
0.043752395,
-0.03981125,
-0.026674109,
-0.022304581,
-0.023818208,
0.01173061,
0.007129041,
0.0013271011,
0.056232676,
-0.013422731,
-0.011366483,
-0.02150493,
0.013586946,
0.028102059,
0.007100482,
0.0065150224,
-0.014864961,
-0.034813426,
0.009046065,
-0.027131053,
-0.030529574,
0.00035274832,
0.03695535,
-0.002240097,
-0.01605016,
0.03007263,
-0.02778791,
-0.014200964,
-0.055147436,
0.01288011,
0.033699624,
0.016121557,
0.032443028,
0.03578443,
0.017606625,
0.045580167,
0.000959404,
-0.004262431,
-0.010859561,
0.022747247,
-0.010081328,
-0.037326615,
0.027602276,
0.031928964,
-0.056889534,
-0.051377647,
-0.03835474,
0.003812627,
-0.048350394,
-0.0066328286,
0.019434402,
0.011345064,
-0.04675109,
0.07773761,
0.061630327,
-0.032300234,
-0.0030183296,
-0.0074039213,
-0.009345934,
-0.010245542,
-0.009260257,
0.0031522,
-0.037640765,
-0.01862047,
-0.04306698,
-0.0061366158,
-0.05069223,
0.010538273,
0.053091187,
0.013437011,
0.019405842,
0.044866193,
-0.0005198631,
0.057746306,
0.024575023,
0.00045694405,
-0.019348724,
-0.018277762,
-0.06100203,
-0.048864454,
-0.029330095,
-0.036269933,
0.0028523304,
-0.021162221,
0.015336185,
0.040753696,
0.048350394,
-0.010709627,
-0.05906002,
-0.012637359,
-0.031100754,
-0.012944368,
0.050663672,
0.0124303065,
-0.009353073,
0.023975283,
-0.00048818046,
-0.04586576,
-0.010802443,
-0.009674362,
0.016007321,
-0.036584083,
-0.048921574,
-0.009467309,
-0.037098143,
-0.044037983,
-0.026788345,
-0.020491084,
0.011380763,
0.03781212,
0.0039375727,
-0.005094212,
-0.008324949,
-0.012808713,
-0.0309294,
0.007860865,
0.0073039653,
0.012715897,
-0.032728616,
-0.015022036,
-0.01687837,
0.02497485,
0.019077415,
-0.0532911,
0.05109206,
-0.012544543,
0.0038911642,
-0.03758365,
0.017720861,
0.040353872,
-0.01203762,
-0.042638592,
-0.03841186,
0.025303276,
-0.009253117,
0.014443716,
-0.012337489,
-0.02607437,
-0.0366412,
0.058603074,
-0.0394971,
-0.009988511,
-0.003923293,
-0.007982241,
-0.0037412294,
0.049178604,
0.009938533,
-0.0143152,
0.027987823,
0.023532618,
0.01402961,
-0.0051084915,
0.02093375,
0.03412801,
-0.039754134,
0.026174325,
0.033785302,
0.023646854,
0.013229958,
0.015964482,
0.011395042,
0.06825602,
0.030529574,
0.0010156295,
0.00629726,
-0.029001668,
-0.026888302,
0.001229822,
-0.06043085,
-0.019577196,
0.027359525,
-0.05234865,
0.050577994,
-0.0048835897,
0.025446072,
-0.004412366,
0.018963179,
0.00032106566,
0.043152653,
-0.020776674,
0.03144346,
0.040410988,
-0.046779647,
-0.037669323,
0.00091299566,
0.025931574,
-0.0062901205,
-0.024674978,
0.0104240365,
0.03207176,
0.024317991,
-0.034556393,
-0.051120616,
-0.040039722,
0.0048586004,
0.030501015,
-0.031186432,
0.027302407,
-0.028116338,
0.052320093,
-0.060830675,
-0.011951943,
-0.010866701,
0.032642942,
0.0309294,
0.043409687,
0.017178241,
0.061630327,
-0.020905191,
-0.0073753623,
0.017935054,
0.0026113638,
0.026217164,
-0.042067412,
0.010816722,
0.0144080175,
0.07545289,
0.014750725,
0.0366412,
0.0023150642,
0.019691432,
-0.0041910335,
-0.019977022,
-0.021919034,
0.014393738,
0.027316686,
0.015307626,
0.022447376,
-0.009253117,
-0.012687338,
-0.036526967,
0.023832489,
0.0068327417,
-0.0017126477,
0.0009906404,
-0.003698391,
-0.022761526,
-0.010980937,
-0.024889171,
-0.037383735,
0.008503444,
0.009810017,
0.028758917,
0.016192954,
0.006190164,
0.015550377,
0.015164831,
0.03384242,
0.037755,
0.02547463,
-0.024232315,
0.015921645,
-0.028301973,
0.031871848,
0.01889178,
-0.019363005,
0.009467309,
-0.013322775,
-0.043409687,
0.018549072,
-0.012444586,
-0.027616557,
-0.0073468033,
-0.005640403,
-0.0014422296,
-0.04546593,
0.019105973,
-0.055118877,
0.046008553,
0.0036769717,
-0.025617426,
-0.034270804,
0.020362569,
-0.014515113,
0.053776603,
0.03472775,
0.029272977,
-0.0019330875,
0.0986428,
0.04358104,
-0.000272203,
0.039725572,
0.010745325,
-0.0618588,
-0.030415338,
0.043780953,
-0.02720245,
0.01460079,
-0.034270804,
-0.039354306,
0.053119745,
0.008667657,
-0.033956654,
-0.037954915,
0.006672097,
-0.0024275153,
-0.0046586874,
0.0000019383308,
0.11475007,
0.040867932,
-0.029301537,
0.0039125835,
0.026388519,
-0.04612279,
-0.017049724,
-0.0076038344,
0.04243868,
0.015993042,
-0.03809771,
-0.0014395523,
-0.051149175,
0.00020392913,
0.016221514,
-0.03858321,
-0.020733837,
0.02777363,
0.03866889,
0.03695535,
0.027573718,
-0.0067720534,
-0.020533923,
0.020805234,
0.04957843,
0.025674544,
0.06659959,
0.0475793,
0.0075752754,
-0.011245107,
0.0022775806,
-0.0062829806,
-0.03635561,
-0.02263301,
-0.009403052,
-0.015279067,
-0.00038978577,
-0.041410554,
-0.022447376,
0.040525224,
0.011130871,
-0.026831184,
-0.011616374,
-0.026160046,
-0.057660628,
-0.06614265,
-0.041324876,
-0.013115722,
0.0064864634,
-0.034584954,
0.026588432,
-0.02891599,
0.24126646,
0.06282981,
0.026188606,
-0.009331654,
0.05269136,
0.049521312,
-0.01806357,
0.016150117,
-0.039354306,
-0.049150046,
-0.025460351,
-0.035584517,
0.0014431222,
0.031700492,
-0.06500029,
0.03121499,
-0.060602203,
-0.017592346,
-0.054576255,
-0.023104234,
-0.034185126,
0.002861255,
0.007853726,
0.045380257,
0.029330095,
0.024789214,
-0.030243983,
-0.048607424,
0.0009968877,
-0.05103494,
0.021919034,
-0.018420557,
0.009752899,
-0.036327053,
0.0101527255,
0.02091947,
0.016735576,
-0.0027166752,
-0.0024560743,
-0.007868005,
-0.016892651,
-0.017692303,
-0.0011530698,
0.0101955645,
0.012408887,
0.028830314,
-0.033870976,
0.030758046,
0.048179038,
-0.048207596,
0.03915439,
-0.057460714,
0.019634314,
-0.042295884,
-0.011145151,
0.0025578158,
-0.07887997,
-0.03581299,
0.02723101,
0.008532003,
-0.008667657,
0.0071397508,
-0.011602095,
0.015079154,
0.018863222,
0.010945238,
-0.024375109,
0.050320964,
-0.003319984,
-0.03355683,
0.0003732751,
-0.005340534,
-0.03144346,
-0.0372695,
0.028459046,
0.062315743,
0.017863657,
0.030501015,
0.00011568627,
-0.03864033,
-0.026702669,
0.013979632,
0.013387033,
-0.017535228,
0.02923014,
0.022575893,
-0.021276457,
0.0008759582,
0.036841113,
0.025274718,
0.050863586,
0.059688315,
-0.0006001853,
0.02203327,
-0.0014672187
] | pip install -e ".[quality]"
Note: You don't need to have CUDA installed. Making the new model work on CPU is sufficient.
Create a branch with a descriptive name from your main branch
git checkout -b add_tf_brand_new_bert
Fetch and rebase to current main
git fetch upstream
git rebase upstream/main
Add an empty .py file in transformers/src/models/brandnewbert/ named modeling_tf_brandnewbert.py. This will
be your TensorFlow model file.
Push the changes to your account using: |
[
0.041332193,
0.026902437,
-0.03838198,
-0.0019388158,
-0.008653471,
-0.012246305,
0.019351644,
-0.001751689,
-0.0054549733,
0.020636886,
-0.0011601859,
0.002440863,
0.02734059,
-0.053337514,
0.007996246,
0.03654175,
0.015890256,
-0.05459355,
-0.058945842,
-0.012808599,
0.012129465,
0.0244634,
-0.07588766,
-0.030758161,
-0.001565475,
0.010128578,
0.05450592,
-0.03137157,
0.06916935,
0.021016616,
-0.04720341,
0.008777614,
0.016562087,
-0.020841356,
-0.020972801,
-0.015057771,
-0.0074412553,
-0.021571608,
-0.10194301,
-0.06706623,
0.0235871,
-0.008704589,
0.043464527,
-0.043493737,
-0.028757274,
0.016080122,
0.026537312,
-0.009558982,
0.02507681,
-0.02827531,
-0.0011820934,
0.044077937,
-0.013020371,
0.042179283,
-0.025062205,
0.000256957,
-0.029195426,
-0.0049547516,
-0.033766795,
-0.01179355,
0.06618993,
0.013473126,
-0.023032108,
-0.039579593,
0.035431765,
0.013502336,
-0.019293224,
-0.042412963,
-0.040339053,
-0.030845791,
-0.014159562,
-0.011654802,
0.009157345,
-0.05506091,
0.009617402,
-0.015744206,
0.00923037,
0.010654358,
0.025967717,
0.046005797,
0.044808187,
0.05742692,
0.02754506,
0.032773655,
-0.043931887,
-0.05465197,
0.080035485,
-0.0154667115,
-0.028202284,
-0.0369799,
-0.008689984,
0.026683362,
-0.021016616,
0.04875154,
0.060581602,
0.042675853,
-0.0020538303,
0.051877014,
-0.008361371,
0.0030743557,
0.040660363,
0.06706623,
0.009507865,
0.031868145,
-0.060932122,
0.01191039,
0.012626036,
-0.021410951,
0.017160892,
-0.053191464,
-0.0149409305,
-0.00034207685,
0.021031221,
0.0034905986,
0.00307253,
0.010705476,
-0.0030013307,
0.012071045,
-0.01860679,
0.0051701753,
-0.011888483,
-0.0155981565,
-0.0046809074,
-0.035139665,
0.042967953,
0.00923037,
0.009617402,
0.033825215,
-0.015130796,
-0.013013069,
-0.010588636,
-0.0146488305,
0.020213341,
0.07261614,
0.008332161,
-0.015802626,
0.009931411,
0.0011373656,
0.039754853,
-0.006072035,
0.010289233,
0.012596825,
0.0029666438,
0.06630677,
0.0148971155,
0.0067913323,
0.0049803103,
-0.039550383,
-0.0018950007,
0.01199802,
0.0053162253,
0.053220674,
-0.015904862,
0.017978774,
-0.042997167,
0.0044764373,
-0.033679165,
0.02807084,
0.0062947613,
0.02522286,
-0.018358504,
0.02713612,
-0.02804163,
0.034088105,
-0.0025960414,
0.020417811,
-0.020709911,
-0.02516444,
0.03922907,
-0.04694052,
-0.020607676,
-0.0154813165,
-0.00012596826,
0.010479098,
0.00591138,
0.03803146,
0.017467597,
-0.00969773,
0.026362052,
0.012458078,
-0.007828288,
-0.0030560994,
0.04679447,
0.044691347,
-0.004096707,
-0.034234155,
-0.022462513,
0.021410951,
-0.021235691,
0.022535538,
0.0017434737,
0.06560573,
-0.052636474,
0.0146342255,
-0.015890256,
-0.008587749,
-0.021965943,
0.006933731,
0.02792479,
-0.043435317,
-0.021644633,
0.062275786,
-0.030057121,
0.02760348,
0.029224636,
-0.045333967,
-0.013962395,
-0.017058657,
-0.028961744,
0.0090259,
0.045888957,
-0.0064919293,
-0.011873878,
-0.06437891,
0.032802865,
0.0074777678,
-0.020052686,
0.008507421,
-0.025325097,
0.019059544,
0.03695069,
0.023689335,
0.009106227,
0.017482203,
-0.0057507246,
-0.018971914,
0.0070396173,
0.010990274,
0.0017005715,
-0.009332605,
0.027033882,
0.017745093,
0.009303395,
0.010113973,
0.060406342,
0.023236578,
0.040981673,
0.014144957,
0.040572733,
-0.0057069096,
0.028903324,
-0.017701278,
0.021221086,
0.029940281,
0.040689573,
-0.02379157,
0.03645412,
0.040163793,
0.003381061,
0.02402525,
-0.084533826,
0.04924811,
0.013348984,
0.01919099,
-0.04904364,
0.030962633,
0.044311617,
0.033007335,
-0.022009758,
0.0049218903,
-0.010537518,
0.01356806,
-0.01811022,
-0.013173724,
0.033182595,
0.045158707,
-0.010763897,
-0.0030816582,
-0.0030469713,
-0.046560787,
-0.022783823,
-0.013195631,
-0.06437891,
-0.032481555,
-0.014020815,
0.016196962,
-0.0057945396,
-0.03578229,
0.015262241,
-0.00920116,
0.006648933,
0.014568503,
-0.031955775,
0.02484313,
0.061633162,
0.030699741,
-0.07653028,
0.017467597,
-0.02862583,
0.024974575,
-0.006933731,
-0.018416924,
0.040485103,
0.004852516,
0.01840232,
0.016007097,
-0.026289027,
0.0005997184,
-0.043230847,
0.008470909,
-0.01884047,
-0.003704197,
0.010230813,
0.010347653,
-0.020636886,
0.020227946,
-0.017861934,
-0.030173961,
0.03572387,
0.032744445,
0.0074485578,
0.006601467,
0.0025577033,
0.022082783,
-0.033007335,
0.05032888,
0.07582924,
0.0059478926,
-0.02734059,
-0.030582901,
-0.0626263,
0.0022290905,
-0.0042098956,
-0.033445485,
-0.040864833,
0.05523617,
-0.011267769,
-0.06776727,
-0.01380174,
-0.023265788,
-0.051818594,
0.009989831,
-0.009748847,
0.059062682,
0.032656815,
0.023251183,
-0.03169288,
-0.0006535744,
0.001795504,
0.032773655,
0.01415226,
-0.0005075243,
0.06829305,
0.021279506,
-0.0036129155,
-0.021162666,
0.033299435,
-0.035110455,
0.012187885,
-0.01377253,
0.0066270255,
-0.041215353,
0.008397884,
0.0066854456,
-0.014699948,
0.032978125,
-0.06846831,
0.010595938,
0.012509195,
0.0014979269,
0.011450332,
0.024799315,
-0.014407847,
0.017365362,
-0.02754506,
0.0149263255,
0.012472683,
-0.00057872373,
0.025909297,
-0.03741805,
0.027033882,
-0.029808836,
-0.044720557,
-0.0032185803,
-0.014086537,
-0.03823593,
0.023207368,
0.030875003,
0.034000475,
-0.027004672,
-0.029969491,
0.015320661,
0.017117077,
0.02891793,
0.007623818,
0.00034892294,
-0.05774823,
0.009091622,
-0.028173074,
-0.010260023,
0.0042646644,
-0.0076457253,
-0.013882067,
-0.020067291,
-0.017569833,
-0.044895817,
0.028932534,
0.03686306,
0.061282642,
0.0076019103,
0.082956485,
-0.009361815,
-0.0010068333,
0.02716533,
0.016824977,
-0.007945128,
-0.06478785,
0.03683385,
0.030641321,
-0.015963282,
-0.007981641,
-0.0071308985,
-0.0015052294,
0.022462513,
-0.013779832,
-0.014553898,
-0.03806067,
-0.045071077,
-0.027851764,
0.03642491,
-0.07156458,
-0.03823593,
-0.058536902,
0.021002011,
0.044778977,
-0.041449033,
0.012998464,
-0.053454354,
-0.0026489845,
-0.02411288,
-0.014787578,
-0.020315576,
-0.0053162253,
-0.000106057516,
-0.041887183,
0.030027911,
0.020622281,
-0.03163446,
-0.0014276402,
-0.06391155,
0.016518272,
0.030612111,
-0.007408394,
0.0047283736,
0.01916178,
-0.0050715916,
-0.021002011,
0.031108683,
0.021250296,
-0.014583108,
0.023923015,
0.0058894726,
-0.028976351,
-0.032802865,
-0.02769111,
-0.028728064,
0.041974813,
0.0154813165,
0.028319124,
0.03169288,
-0.004837911,
0.024331955,
0.02777874,
-0.022214228,
-0.03788541,
0.0013427485,
0.043522947,
0.0021706703,
0.04781682,
0.022345673,
-0.0069811973,
0.025368912,
0.021381741,
-0.0017133509,
-0.0066562355,
-0.029078586,
-0.016416037,
0.00704692,
-0.0069519873,
0.007393789,
-0.034643095,
0.05579116,
-0.015306056,
-0.0056484896,
-0.0149409305,
-0.050650194,
-0.04708657,
0.027121514,
0.012019928,
0.020680701,
0.0018238013,
0.004012728,
0.0069118235,
0.012801296,
-0.0028844904,
-0.009734242,
-0.015977887,
0.031196313,
0.07431032,
0.021892918,
0.04883917,
-0.008952875,
-0.02728217,
0.01199802,
-0.016153147,
0.040777203,
-0.027077697,
0.010194301,
0.004155127,
-0.025281282,
-0.014276402,
-0.013896672,
-0.01822706,
-0.0030086332,
-0.010442586,
-0.030320011,
-0.021440161,
-0.010902644,
-0.025208255,
0.053863294,
-0.029326871,
-0.050474934,
-0.005148268,
0.003943354,
0.018825864,
0.01916178,
-0.008529329,
-0.018913494,
-0.044457667,
-0.059792932,
0.026902437,
-0.051468074,
-0.022097388,
-0.034526255,
-0.02493076,
0.00004629676,
0.060581602,
0.00958089,
-0.013465824,
0.021206481,
-0.051409654,
0.01942467,
-0.042033233,
-0.059091892,
-0.02414209,
0.005192083,
-0.03151762,
0.046064217,
-0.0023568843,
-0.022959083,
0.009266882,
0.034350995,
0.01784733,
0.0053819483,
-0.018650604,
-0.012180583,
0.03677543,
0.008952875,
0.0014331171,
0.04968626,
-0.01957072,
0.0136849,
0.014919023,
0.026303632,
-0.021031221,
0.0022601262,
-0.027325984,
-0.035402555,
0.044895817,
-0.02891793,
0.018913494,
-0.043931887,
-0.01816864,
-0.000963931,
0.04840102,
-0.012268213,
-0.0072039235,
-0.03677543,
-0.07506978,
0.040543523,
-0.009799965,
-0.031868145,
-0.012531103,
-0.011340794,
0.03642491,
-0.059822142,
0.013495034,
0.044136357,
-0.010603241,
-0.0011181965,
-0.052870154,
0.082021765,
0.034672305,
0.023630915,
-0.046531577,
0.0037717451,
-0.016269987,
-0.032160245,
-0.020067291,
-0.03128394,
0.009318,
0.027647294,
0.034467835,
-0.025368912,
0.05789428,
-0.0072331335,
-0.06823463,
-0.027501244,
0.018446134,
-0.0028662342,
0.01781812,
0.0063203205,
0.021118851,
-0.010143183,
0.0077844732,
0.0042391056,
-0.04679447,
-0.017599043,
0.06911093,
-0.011501449,
-0.04764156,
-0.005611977,
0.030436851,
-0.05646299,
-0.04977389,
-0.04784603,
0.018007984,
-0.007225831,
0.0038922366,
0.010070158,
-0.035344135,
-0.051906224,
0.033182595,
0.043552157,
-0.001517096,
-0.014743763,
0.02839215,
0.021805288,
-0.043084797,
0.0149701405,
0.035431765,
-0.004867121,
-0.02845057,
-0.00040871222,
0.0073134615,
-0.03169288,
-0.035402555,
0.06817621,
-0.052490424,
0.0024080018,
0.0626263,
0.0020976453,
0.040806413,
0.0056740483,
0.03803146,
0.009946016,
-0.0317513,
-0.022740008,
-0.021323321,
0.052139904,
0.0032843028,
0.023090528,
-0.030612111,
-0.00021930343,
0.0015892083,
0.032072615,
-0.040339053,
-0.05605405,
0.029443711,
-0.051672544,
-0.020593071,
0.020943591,
0.014933628,
0.01886968,
0.01924941,
0.009515167,
-0.0564922,
-0.012881624,
0.005641187,
0.0013637433,
-0.02402525,
-0.032189455,
0.00227108,
-0.044545297,
-0.021016616,
-0.0034084455,
-0.02349947,
0.027077697,
0.03887855,
-0.009997133,
-0.007225831,
-0.017496808,
0.021337926,
0.016459852,
0.0189281,
-0.035227295,
0.02390841,
-0.01936625,
0.003171114,
-0.032744445,
0.020300971,
-0.008222624,
-0.019585324,
0.018533764,
0.02472629,
-0.03817751,
-0.034993615,
0.010537518,
0.039754853,
0.0018320166,
-0.023397235,
0.0042208494,
0.0036713358,
-0.03759331,
0.007930523,
-0.041069303,
-0.044574507,
-0.031108683,
0.041828763,
0.0032623953,
0.019965056,
0.003004982,
0.01790575,
-0.02827531,
0.020096501,
0.011318887,
-0.00058693904,
0.022871453,
-0.0119396,
0.012684456,
-0.041098513,
-0.009887596,
0.04910206,
-0.041186143,
0.03753489,
0.028874114,
-0.000105943414,
0.030933423,
0.030261591,
-0.0073171128,
0.085293286,
0.012896229,
-0.020987406,
-0.0033007334,
-0.027077697,
-0.04734946,
0.001042433,
-0.060698442,
-0.00054038555,
0.016284592,
-0.014539293,
-0.00024235198,
-0.0072988565,
0.000155977,
0.005893124,
0.02731138,
0.004560416,
0.03867408,
-0.01948309,
-0.016795767,
0.026142977,
-0.005695956,
-0.03899539,
-0.051497284,
0.02487234,
-0.010888039,
-0.021936733,
-0.0003324923,
0.03148841,
0.010595938,
0.0026197745,
0.007959734,
-0.0011966984,
0.008040061,
0.0010113973,
-0.059938982,
0.03160525,
-0.05742692,
0.00792322,
0.004929193,
0.043347687,
-0.0471742,
0.051263604,
-0.022900663,
0.0016558436,
0.030962633,
0.041156933,
-0.015802626,
-0.03709674,
0.029224636,
0.028085444,
0.03654175,
0.008332161,
0.026084557,
-0.0067730756,
0.04769998,
0.00037858938,
-0.009960621,
0.022404093,
0.035081245,
0.026756387,
-0.0010515611,
-0.015247636,
0.018942704,
0.021367136,
-0.026099162,
0.0028114654,
-0.022798428,
0.013458521,
0.00068780495,
0.011713223,
0.03689227,
-0.019950451,
-0.008916362,
-0.022462513,
-0.041799553,
0.0147218555,
0.011632894,
-0.04866391,
0.026026137,
0.042646643,
0.03557782,
-0.018621394,
0.051730964,
0.03919986,
0.026917042,
0.006532093,
0.0031692884,
-0.0033153384,
0.00062801567,
0.015948677,
-0.034789145,
0.01356806,
-0.022842243,
-0.01881126,
-0.011632894,
-0.008222624,
-0.008186111,
0.059646882,
0.010866132,
0.0035745774,
-0.007653028,
-0.040601943,
-0.012158675,
-0.05573274,
0.010829619,
-0.083131745,
-0.02716533,
0.009975226,
-0.00969773,
-0.029998701,
0.03771015,
0.009500562,
0.02885951,
0.019789796,
0.024069065,
0.019293224,
0.03709674,
0.07355086,
0.013100699,
-0.0065101855,
-0.014305612,
-0.030086331,
0.014371335,
-0.011282374,
0.016576692,
0.008989387,
-0.02716533,
-0.04737867,
0.020417811,
-0.0068826135,
-0.0068826135,
-0.044107147,
0.022214228,
0.010230813,
-0.040543523,
-0.016313802,
0.07816604,
-0.022783823,
0.0060063126,
-0.013422009,
-0.01778891,
-0.05704719,
-0.027588874,
-0.034584675,
0.019322434,
0.029458316,
-0.060347922,
-0.01587565,
-0.041799553,
0.0050533353,
-0.0040784506,
-0.010771199,
-0.0096101,
0.03633728,
0.023075923,
0.015393686,
0.017526018,
-0.043376897,
-0.031225523,
0.03689227,
0.06560573,
0.0154813165,
0.07062985,
0.081846505,
-0.009091622,
-0.044399247,
0.0037261045,
0.023207368,
0.009500562,
-0.0023313256,
-0.015656576,
0.012472683,
-0.026610337,
-0.05564511,
0.00020698045,
0.016269987,
-0.005451322,
-0.05768981,
-0.039784063,
-0.0314592,
-0.05541143,
-0.0147948805,
-0.034029685,
-0.012713666,
0.00468821,
-0.044253197,
-0.0061961776,
-0.043873467,
0.25471148,
0.0626263,
0.029998701,
0.030641321,
0.028669644,
0.022228833,
0.012326633,
0.05459355,
0.026537312,
-0.022710798,
-0.0031930215,
-0.015831836,
0.04848865,
0.008689984,
0.005831052,
0.0019004776,
-0.05786507,
0.016036307,
-0.0238792,
-0.03797304,
-0.053512774,
0.009829176,
-0.004896331,
0.013487731,
0.010442586,
-0.025807062,
-0.004334038,
-0.045538437,
-0.007981641,
-0.019059544,
0.0550317,
0.013166421,
0.032569185,
-0.044749767,
-0.013210236,
0.03592834,
-0.03163446,
-0.053454354,
0.003983518,
-0.005104453,
-0.010968367,
0.0016987459,
0.028435964,
-0.006528442,
0.0015645622,
0.012392355,
-0.0001770858,
-0.017642858,
-0.0195123,
-0.030290801,
0.01962914,
-0.10807711,
-0.0074156965,
-0.016824977,
-0.051117554,
-0.02856741,
-0.021016616,
-0.061457902,
0.0029173517,
0.012158675,
0.030466061,
0.006473673,
-0.030962633,
0.005447671,
-0.021878313,
-0.0149847455,
-0.01933704,
0.050796244,
-0.008061969,
-0.013487731,
-0.03917065,
0.0285382,
0.013619177,
-0.004129568,
0.01412305,
-0.019906636,
-0.005089848,
0.043493737,
-0.005783586,
-0.03665859,
0.026946252,
-0.00053445227,
-0.0034084455,
-0.004443576,
0.032364715,
0.01898652,
-0.05517775,
-0.0031236475,
-0.006692748,
0.035431765,
0.014400545,
0.016255382,
0.0046955124,
0.0005358215,
-0.019351644
] |
Share a model
The last two tutorials showed how you can fine-tune a model with PyTorch, Keras, and 🤗 Accelerate for distributed setups. The next step is to share your model with the community! At Hugging Face, we believe in openly sharing knowledge and resources to democratize artificial intelligence for everyone. We encourage you to consider sharing your model with the community to help others save time and resources.
In this tutorial, you will learn two methods for sharing a trained or fine-tuned model on the Model Hub: |
[
0.044118397,
0.019598352,
-0.022398116,
0.017373277,
0.007905651,
0.010985392,
0.023797998,
0.017388012,
0.02611149,
0.008509811,
-0.019082606,
0.01575236,
0.012694722,
-0.04662345,
-0.010027578,
0.015958657,
0.03126895,
-0.028690219,
-0.030885825,
-0.0018152421,
0.010219141,
-0.0024774233,
-0.07132032,
-0.050985187,
-0.0041001816,
0.044088926,
0.017933229,
-0.028984932,
0.07049513,
0.02332646,
-0.06300944,
0.0075962036,
0.012864182,
-0.025831513,
-0.0151482,
-0.020290926,
-0.029205965,
0.0046232953,
-0.06731223,
-0.059060298,
-0.00095228833,
-0.008274041,
0.057115197,
-0.041524928,
-0.035483334,
0.0123336995,
0.04573931,
0.01196531,
0.010219141,
-0.03863675,
-0.011641126,
0.042939547,
-0.024505308,
0.030856352,
-0.009681291,
0.0027168768,
-0.024711607,
-0.0097844405,
0.00267267,
0.024844227,
0.047713883,
0.01893525,
-0.010167566,
-0.011066438,
0.014013559,
0.024726342,
-0.029869068,
-0.033685587,
0.00024359794,
-0.010049681,
-0.015413441,
0.0074783186,
0.0021274528,
-0.035807516,
0.003455499,
-0.021263475,
-0.02480002,
-0.001893525,
0.057763565,
0.057350967,
0.027629256,
0.041171275,
0.0357191,
0.041377574,
-0.029441735,
-0.016061807,
0.023400137,
-0.011132748,
0.003974929,
-0.04612244,
0.007795134,
0.040729206,
-0.031858373,
0.038253624,
0.019878328,
0.039403003,
-0.0043617385,
0.03568963,
-0.0031423673,
0.011383253,
0.026229374,
0.048686434,
0.009312902,
0.01447773,
-0.027098775,
0.011316943,
-0.02138136,
-0.02124874,
0.0041554403,
-0.042202767,
-0.010034946,
-0.03669165,
0.01296733,
-0.011029599,
0.017785873,
0.0160176,
-0.0114643,
0.017004887,
-0.008878201,
-0.028970195,
0.0022563892,
0.008281409,
0.0054337536,
-0.04467835,
-0.007268336,
-0.03669165,
0.013630433,
0.041937526,
0.021410832,
-0.0045938245,
-0.017446954,
-0.018611066,
0.04296902,
0.057793036,
-0.011898999,
-0.0036194324,
0.0010462279,
-0.011405357,
0.063657805,
-0.026568292,
-0.0028476552,
-0.0033247205,
0.024240067,
0.066487044,
-0.0037704725,
0.041554403,
-0.0104622785,
-0.05522904,
-0.016385991,
0.013041009,
0.007353066,
0.034834966,
0.012201079,
0.0031755224,
-0.052871343,
0.019392055,
-0.03468761,
0.029264908,
0.02356223,
0.02285492,
-0.01564921,
0.04470782,
-0.03013431,
0.012068459,
-0.015413441,
0.028277623,
-0.0033284044,
-0.00052127196,
0.026023075,
-0.015207143,
-0.024520043,
-0.00035342423,
-0.004689606,
-0.002670828,
0.022339175,
0.027865026,
0.014072501,
-0.013424135,
0.032771982,
-0.014617719,
-0.011132748,
0.026892476,
0.03542439,
0.041082863,
-0.028454449,
-0.002558469,
-0.0020500908,
0.0063842,
0.0016982782,
-0.027142981,
0.013733583,
0.042644836,
-0.055759523,
0.014308271,
-0.031652074,
0.008502443,
-0.030414285,
-0.00653524,
0.009850751,
-0.05231139,
-0.022191819,
0.046711862,
-0.03056164,
-0.013460973,
0.025197882,
-0.018714216,
0.027408222,
-0.0320352,
-0.02540418,
-0.027025096,
0.06813743,
-0.00274819,
-0.022545474,
-0.05964972,
0.016916472,
0.007246233,
-0.021528715,
0.0030723733,
-0.024254803,
-0.0031349997,
-0.024019033,
0.030325871,
0.003820205,
0.037251607,
-0.026052546,
0.022810714,
-0.0033541918,
-0.025860984,
-0.009614981,
-0.0076183067,
0.02174975,
0.012842078,
0.0049622143,
0.048185423,
0.057203613,
0.037281077,
0.028159738,
0.023547493,
0.012171608,
-0.0031884161,
-0.0041775433,
-0.02027619,
0.040522907,
0.004560669,
0.025492594,
-0.027098775,
0.038224153,
0.036013816,
0.015103993,
0.054786973,
-0.08611486,
0.049305327,
-0.010005474,
0.046034023,
-0.043646857,
-0.01759431,
0.03834204,
0.054521732,
-0.046034023,
-0.022427589,
-0.01508189,
0.03566016,
0.027187187,
0.01930364,
0.048185423,
0.008937144,
-0.020747729,
-0.001447773,
-0.030090101,
-0.058559287,
-0.019716237,
0.0006428407,
-0.039962955,
0.0038423084,
-0.02238338,
0.002374274,
0.02724613,
-0.032388855,
0.016562818,
-0.0123558035,
0.030885825,
-0.013527283,
-0.0033063008,
-0.013976719,
0.034333955,
0.017903758,
-0.0703183,
0.010270716,
-0.026155695,
0.05204615,
0.008134053,
0.0031331577,
0.033243522,
0.008428765,
0.0076330425,
0.015487119,
-0.015899716,
-0.01116222,
-0.027231395,
-0.013785156,
-0.024652664,
0.000176597,
0.0051022028,
0.012694722,
-0.033155106,
0.0034683926,
-0.05245875,
-0.035866458,
0.019937271,
0.02261915,
0.0039896644,
-0.0030244826,
-0.00975497,
-0.0059642354,
-0.014219857,
0.06937522,
0.08422871,
0.015826037,
-0.040640794,
0.012053723,
-0.05449226,
-0.0025713628,
-0.0010471488,
-0.004262273,
-0.015619739,
0.044118397,
0.0037023204,
-0.06760695,
0.004262273,
-0.012444217,
-0.040817622,
-0.033508763,
0.008038271,
0.03707478,
0.016813323,
0.03589593,
-0.016813323,
-0.03053217,
-0.0071541355,
0.0123336995,
0.00645051,
-0.0030981605,
0.042644836,
0.023576966,
-0.024077976,
-0.017844815,
0.043882627,
-0.0396093,
0.016754381,
-0.0015334237,
-0.051692497,
-0.033449817,
0.0002802067,
0.010852772,
0.006829952,
0.036308527,
-0.077862926,
0.01491243,
-0.016533347,
-0.0070362506,
0.018640539,
0.03837151,
-0.00623316,
0.0038459925,
-0.029706975,
-0.02393062,
0.02188237,
0.015693417,
0.07084878,
-0.027629256,
0.020335132,
-0.031858373,
-0.013210468,
0.00062073726,
-0.019288905,
-0.037487373,
0.01893525,
0.031092122,
0.033744533,
-0.028911253,
-0.035778046,
-0.014941902,
0.017329069,
0.055995293,
0.0007897362,
-0.0058058277,
-0.057586737,
0.0000906585,
-0.012407378,
-0.03710425,
0.03247727,
-0.035365447,
-0.021838164,
-0.009069764,
0.011722173,
-0.059060298,
0.009548671,
0.04429522,
0.05835299,
0.011339047,
0.053578652,
0.027806083,
0.0023503287,
0.026789326,
0.027923968,
0.0049548466,
-0.05331341,
0.010086521,
0.016636496,
-0.02342961,
-0.03542439,
-0.0032068356,
-0.027806083,
0.037516847,
0.007979329,
0.015826037,
-0.047743354,
-0.0091066025,
-0.010617002,
0.025684156,
-0.055523753,
-0.00928343,
-0.06707647,
-0.0031847323,
0.06672281,
-0.049983166,
-0.0095192,
-0.04520883,
-0.003158945,
0.0016651232,
-0.02345908,
-0.042910077,
-0.020010948,
0.018183734,
-0.033420347,
0.047006574,
0.016371256,
0.0065057687,
0.01330625,
-0.056820486,
0.031416304,
-0.010454911,
0.0034020825,
0.014234592,
-0.0007934201,
0.01967203,
-0.008318248,
0.02871969,
0.017889023,
-0.0361317,
0.0024037452,
0.040169254,
-0.009747601,
-0.028896518,
-0.029161759,
-0.023974827,
0.026229374,
0.042438537,
0.050159995,
-0.003492338,
0.01116222,
0.079749085,
0.031799432,
0.012562102,
-0.038459923,
0.04423628,
0.03792944,
0.01069068,
0.03716319,
0.05908977,
-0.03247727,
0.040463965,
0.01890578,
-0.011906368,
0.0011364834,
-0.027364016,
-0.014153547,
-0.0138293635,
-0.009320269,
0.0039565093,
-0.034186598,
0.06259684,
-0.016150221,
-0.009880221,
-0.03371506,
-0.03901988,
-0.018419504,
-0.0059605516,
0.026199901,
0.02955962,
0.009762337,
0.016076542,
0.0014625086,
0.0013492287,
-0.032801453,
-0.0007128348,
-0.050955717,
0.045267772,
0.034275014,
0.0065904986,
0.055671107,
0.0003384584,
-0.027820818,
0.015133465,
-0.011036967,
0.054079663,
-0.028410243,
0.014020926,
0.006421039,
-0.026568292,
-0.01142746,
-0.0071430835,
-0.0014680345,
-0.016665967,
-0.004829594,
0.042173296,
-0.03598434,
-0.005267978,
-0.017137507,
0.02443163,
-0.016931208,
-0.027526107,
-0.0046306634,
0.005942132,
0.007165187,
0.029073345,
0.027408222,
-0.003414976,
-0.042939547,
-0.032123614,
0.020909822,
-0.061653763,
-0.051486198,
-0.0216466,
-0.030414285,
-0.0066973316,
0.05372601,
0.015501855,
-0.033950828,
0.018728951,
-0.023856942,
0.0072241295,
-0.04444258,
-0.03910829,
-0.012149504,
0.0216466,
-0.004936427,
0.05944342,
-0.034982324,
-0.04886326,
0.009946533,
0.0549638,
0.039137762,
-0.010410704,
0.00011702141,
-0.0115158735,
0.037958913,
-0.027673462,
-0.024696872,
0.05817616,
-0.040228195,
0.017034357,
0.007028883,
0.009836015,
-0.020939292,
-0.021661337,
-0.041996468,
0.0014422472,
0.020850878,
-0.043853156,
0.012989434,
-0.040434495,
-0.0039565093,
0.017491162,
0.05130937,
-0.020998234,
0.012252654,
-0.034628667,
-0.027820818,
0.022648621,
-0.01964256,
-0.018773159,
-0.020364603,
-0.02235391,
0.0147650745,
-0.028056588,
0.008775052,
0.057468854,
-0.019922536,
-0.0048480136,
-0.039491415,
0.069787815,
0.02593466,
0.023134897,
-0.027260866,
-0.017019622,
-0.036514826,
-0.016503876,
-0.031121593,
-0.040198725,
-0.029500678,
0.030620584,
0.02600834,
-0.053401824,
0.024873698,
0.021278212,
-0.047566526,
-0.03053217,
0.033597175,
-0.025065262,
0.001113459,
0.01484612,
0.04305743,
0.023812735,
0.006310522,
-0.03598434,
-0.015811302,
-0.03371506,
0.075564176,
-0.014956637,
-0.032771982,
0.01950994,
0.022560209,
-0.039491415,
-0.039874543,
-0.0761536,
0.0032105194,
-0.014595615,
0.0023963775,
0.041023917,
-0.018920515,
-0.03984507,
0.03672112,
0.037958913,
0.005083783,
-0.029913275,
-0.008104581,
0.018213205,
-0.02989854,
-0.0004694671,
0.05231139,
0.024858963,
-0.028793368,
0.011898999,
0.018507918,
-0.042585894,
0.003486812,
0.053136583,
-0.03804733,
0.028262887,
0.048715904,
0.033066694,
0.028646013,
0.010499117,
0.012598941,
-0.011479035,
-0.02211814,
-0.026818797,
-0.034068715,
0.036809538,
-0.006141063,
0.0007363197,
-0.075033695,
0.006538924,
0.003641536,
0.041583873,
-0.014389317,
-0.047006574,
0.038017858,
-0.032565683,
-0.025595743,
-0.022545474,
0.0062184245,
0.012510527,
-0.007714088,
0.0019303641,
-0.062125303,
-0.025595743,
0.030826882,
0.010543324,
-0.02214761,
-0.0052200872,
-0.003864412,
-0.05328394,
-0.03957983,
0.0052458746,
-0.0072536008,
0.027688198,
-0.0025382077,
-0.031887844,
-0.04688869,
-0.035041265,
0.039638773,
0.02882284,
0.01575236,
-0.014669293,
-0.001706567,
-0.010373864,
0.0036102228,
-0.005831615,
0.014404052,
0.0010268873,
-0.008878201,
0.031239478,
0.028483922,
-0.05349024,
-0.020438282,
0.026951417,
0.017579574,
0.01953941,
-0.033331934,
-0.021867635,
-0.0030852668,
-0.03144578,
-0.021970784,
-0.008421397,
-0.026214639,
-0.008627696,
0.052429277,
-0.00077546114,
0.009474993,
0.00014631993,
-0.00084269233,
-0.03907882,
0.016341783,
0.022663357,
-0.018242676,
-0.018183734,
-0.017122772,
0.034805495,
-0.02232444,
-0.0062552635,
0.01685753,
-0.034009773,
0.019524675,
-0.0142272245,
0.01153061,
0.031062651,
0.008296144,
0.050896775,
0.08416977,
-0.01491243,
-0.0077361916,
0.012510527,
-0.030473227,
0.0062589473,
-0.011095909,
-0.082990915,
-0.031327892,
0.046711862,
-0.015575533,
0.010683312,
-0.02322331,
0.009998106,
0.01528082,
0.043086905,
-0.012223183,
0.035866458,
0.010941185,
0.024151653,
0.015693417,
-0.014986108,
-0.02064458,
-0.02617043,
0.033538233,
-0.014278799,
-0.051957738,
0.04450152,
-0.0042843767,
0.0035752258,
-0.025330503,
0.0216466,
-0.009239223,
-0.0043580546,
-0.022648621,
-0.038695693,
0.027688198,
-0.06872685,
0.021322418,
0.021278212,
0.04302796,
-0.027761877,
0.043882627,
0.0028384456,
0.004781703,
0.02214761,
0.049658984,
-0.016651232,
-0.013777789,
0.049747396,
0.022103405,
0.043204788,
0.026730385,
0.010263348,
-0.0045827725,
0.05198721,
0.024844227,
0.009327637,
-0.0012801555,
0.03878411,
0.022766506,
0.04812648,
-0.04983581,
0.022236025,
0.012068459,
-0.025463123,
-0.012731561,
-0.013350456,
0.011611655,
0.015708152,
0.002412955,
0.026052546,
-0.01859633,
-0.044324696,
-0.035807516,
-0.045032002,
0.03781156,
-0.019834122,
-0.04644662,
0.004715393,
0.014787178,
0.00041351788,
-0.021396095,
0.009335005,
0.067960605,
0.0011539819,
0.02821868,
-0.02138136,
0.00071421626,
-0.012458952,
0.03542439,
-0.0005350866,
-0.01927417,
-0.051191486,
-0.0066310214,
-0.009998106,
0.019333111,
-0.0007653304,
0.010484382,
0.013844099,
-0.02211814,
0.029810125,
-0.05354918,
-0.048391722,
-0.056407887,
0.006793113,
-0.067901656,
-0.040935505,
0.017402748,
0.001670649,
-0.041465987,
0.026214639,
0.023267517,
0.027865026,
0.0022766506,
0.008502443,
0.011876896,
0.024033768,
0.070730895,
-0.051692497,
-0.011685333,
-0.011442196,
-0.000518509,
0.012178976,
-0.0049216915,
-0.0041443883,
-0.028808104,
-0.039255645,
-0.03663271,
0.00558111,
0.0011991097,
0.0035052316,
-0.051427256,
0.008752949,
0.019112077,
-0.06860897,
-0.009511832,
0.06849109,
-0.04296902,
-0.035630688,
-0.015236613,
0.025860984,
-0.016400727,
-0.033302464,
-0.03079741,
0.011073805,
0.038459923,
-0.033449817,
-0.028012382,
-0.00764041,
0.010071785,
0.0021329785,
0.007971961,
0.009541303,
0.03760526,
0.013682008,
0.0051943003,
-0.0069920435,
-0.04588667,
-0.033243522,
0.033479292,
0.08623275,
0.02992801,
0.109515004,
0.06825531,
-0.004332267,
-0.019716237,
0.008517179,
0.049747396,
-0.02148451,
0.014742971,
-0.011368518,
0.007132032,
-0.008126685,
-0.02393062,
-0.055847935,
0.033950828,
-0.0046527665,
-0.06501348,
-0.014315639,
-0.010764358,
-0.052930288,
-0.024623193,
-0.012009516,
-0.00982128,
0.032447796,
-0.02650935,
0.021897106,
-0.05198721,
0.2593466,
0.022648621,
0.035630688,
0.006896262,
-0.0011281946,
0.039756656,
0.028292358,
0.044383638,
0.027997646,
-0.056378417,
0.0065978663,
-0.04668239,
0.024077976,
-0.0048443293,
0.010830669,
0.026391465,
-0.035365447,
-0.0063252575,
0.0023226994,
-0.0586477,
-0.09177334,
-0.009158177,
0.008524546,
0.03595487,
0.0074783186,
0.004424365,
-0.008539282,
-0.014345109,
-0.03692742,
-0.036337998,
0.076389365,
0.022044463,
0.030016424,
-0.05770462,
-0.024858963,
0.055995293,
-0.023002276,
-0.021189798,
-0.032418326,
0.00089380646,
0.01525135,
0.025227353,
0.019362582,
0.00024935402,
0.0227223,
0.03126895,
-0.020128833,
0.00911397,
-0.029279644,
-0.019112077,
0.036072757,
-0.033096164,
0.010366497,
-0.017889023,
-0.040847093,
-0.03784103,
0.004044923,
-0.0508673,
-0.01769746,
-0.015310292,
0.030414285,
0.006653125,
-0.015192407,
-0.0028273938,
-0.040375553,
0.00915081,
-0.018390033,
0.057056256,
-0.0075814677,
-0.016444933,
-0.06890368,
-0.0011281946,
0.001223976,
-0.019627823,
0.0039491416,
-0.01612075,
-0.019244697,
0.034422368,
0.03648535,
-0.026332524,
-0.0028789684,
-0.006093172,
-0.012414746,
-0.022884391,
0.016842794,
0.0266125,
-0.044560462,
-0.03006063,
0.02664197,
0.0014542198,
0.02603781,
-0.008973982,
-0.041082863,
0.0033818209,
0.0018714216
] | Programmatically push your files to the Hub.
Drag-and-drop your files to the Hub with the web interface.
To share a model with the community, you need an account on huggingface.co. You can also join an existing organization or create a new one. |
[
0.011685023,
-0.009253959,
-0.029635822,
0.0027457995,
0.0109759625,
-0.009080312,
0.027074523,
-0.009579548,
-0.013993086,
0.079472624,
-0.021257335,
0.006359836,
0.03779725,
-0.07663638,
0.02135863,
0.02229922,
0.035163596,
-0.030619824,
-0.051370688,
-0.024122518,
-0.0055024517,
-0.008906664,
-0.054988343,
-0.006493689,
-0.024238283,
0.0124374945,
0.005951041,
-0.042543612,
0.07356861,
0.05064716,
0.0062187472,
0.0016984886,
-0.022964869,
-0.015150735,
-0.02043251,
-0.047376797,
0.0027259025,
-0.0054337163,
-0.021069217,
-0.034526892,
0.016091326,
-0.025656402,
0.006403248,
-0.05278881,
-0.05634858,
-0.008089075,
-0.0059727468,
0.009507195,
0.003964949,
-0.053801753,
0.007152102,
0.026886405,
-0.013255085,
0.007676662,
-0.07246885,
-0.0074089556,
-0.05707211,
0.011887612,
-0.051283866,
0.008045663,
0.06355495,
0.019680038,
0.03458477,
-0.08115122,
0.02843476,
0.035308305,
-0.018160624,
0.020114157,
-0.02415146,
0.01266179,
-0.060429294,
0.020967923,
-0.03964949,
-0.022747809,
-0.026683817,
0.044974677,
0.02606158,
0.018855212,
-0.029201703,
0.021416511,
0.022038748,
0.041385964,
0.01737921,
-0.001673165,
-0.0016867312,
-0.047289975,
0.06037141,
0.010845727,
-0.015715089,
-0.006016159,
-0.021170512,
0.008248251,
-0.03264571,
0.018826272,
-0.00527454,
0.03597395,
-0.006222365,
0.005965512,
0.024788165,
-0.03360077,
0.025497226,
0.08589758,
-0.030127823,
0.004684862,
-0.043961734,
0.013797733,
0.01244473,
-0.011475199,
-0.018681565,
-0.031285472,
0.0038636546,
0.025265696,
-0.01643862,
0.015223089,
0.0041168905,
0.020172039,
-0.02232816,
0.007958839,
-0.04465632,
-0.030764531,
0.036552776,
0.0068626897,
0.011033845,
-0.024773695,
0.026944287,
-0.016091326,
0.02347134,
0.049200095,
-0.007814133,
-0.00857384,
0.008052898,
-0.006001688,
0.017958036,
0.009991961,
-0.008827076,
-0.06563871,
-0.029476646,
-0.009890666,
0.01020902,
0.0037876838,
-0.0037298014,
0.01455744,
0.006927808,
0.067548834,
-0.0009867152,
-0.01875392,
0.03027253,
-0.053859632,
-0.012386847,
0.016018972,
-0.045842912,
0.013927968,
-0.025410403,
0.016510973,
-0.02462899,
-0.013776027,
-0.023572635,
0.010520138,
0.02371734,
0.0024545784,
0.0018576654,
0.052267868,
-0.022834633,
0.05513305,
-0.0026499317,
0.04184902,
-0.01255326,
-0.031285472,
-0.024108047,
-0.02912935,
0.017234504,
-0.0021832543,
-0.010064314,
0.020345686,
0.053830694,
-0.01762521,
0.056203876,
-0.002456387,
-0.0018992684,
0.03310877,
-0.009803843,
0.003440389,
0.0020005626,
0.033456065,
-0.0028326232,
0.0050791865,
0.027045581,
-0.023630517,
-0.0047861566,
-0.009594019,
-0.00073890586,
0.0044280086,
-0.023731811,
0.017306857,
-0.03513466,
-0.00516601,
-0.047289975,
0.046653267,
0.023760753,
-0.031025002,
-0.019983921,
0.040054668,
-0.036002893,
0.0155848535,
-0.04818715,
0.023167457,
0.0023388134,
0.011692258,
-0.024817107,
-0.00094511214,
0.04694268,
-0.0052130395,
-0.0122132,
-0.007332985,
-0.0029520057,
-0.032472063,
-0.0026029022,
0.0011223772,
0.024354048,
-0.0027023875,
-0.0032305652,
-0.0022881662,
0.05406222,
0.028782057,
0.059676822,
-0.002208578,
0.009145429,
0.032472063,
0.021763807,
-0.012379613,
0.026394404,
0.06060294,
-0.004417156,
0.043643378,
0.050270922,
-0.027378406,
0.015469089,
0.012300024,
0.038636547,
0.034353245,
0.016250502,
0.022791222,
0.011424552,
0.03921537,
-0.022964869,
-0.009840019,
-0.014702146,
-0.028622879,
-0.015758501,
0.014861323,
-0.012010612,
0.05655117,
0.01761074,
-0.03264571,
-0.06511778,
-0.014340381,
0.01735027,
0.03802878,
-0.0067541604,
0.01804486,
0.01858027,
0.010035372,
-0.023051692,
-0.037652545,
0.035597716,
0.05892435,
-0.025410403,
0.023066163,
0.0115330815,
-0.050328802,
-0.0076621915,
-0.037189484,
-0.10297291,
-0.015223089,
-0.035105716,
-0.014108851,
-0.0070435726,
-0.033861242,
0.03148806,
-0.025902404,
-0.02371734,
0.0052636866,
-0.008132487,
0.045929737,
0.04109655,
0.026741698,
-0.046190206,
0.021691455,
-0.031372298,
0.011670552,
-0.013906263,
-0.012242141,
-0.008588311,
-0.006388777,
0.007799662,
-0.0055892756,
-0.008038428,
-0.033021946,
-0.023427928,
0.014644264,
-0.019086743,
-0.0034964627,
0.011004903,
0.014948146,
-0.024122518,
-0.011439023,
0.0070146313,
-0.009485489,
0.049836803,
0.042543612,
-0.014419969,
0.01879733,
0.015309912,
0.03640807,
-0.0516601,
0.042398907,
0.07929898,
-0.02371734,
-0.023427928,
-0.03733419,
-0.04734786,
-0.0009695313,
-0.005032157,
-0.025395932,
-0.014781735,
0.060139883,
-0.0033843154,
-0.04179114,
-0.019853685,
-0.049894687,
-0.016713561,
0.0015176059,
-0.018015917,
0.044309027,
0.020707453,
0.014962617,
-0.034816302,
-0.0014226425,
-0.0063345125,
-0.014977088,
0.026886405,
0.0003538518,
0.016062384,
0.029751588,
0.016250502,
-0.00066067406,
0.02789935,
-0.058403406,
0.016510973,
0.01313932,
0.0091164885,
0.036552776,
0.0112943165,
-0.010889139,
0.014000322,
0.05846129,
-0.005053863,
-0.0060270117,
0.0011902082,
0.018261919,
-0.0074523673,
0.017885681,
0.052701984,
0.009651901,
-0.0653493,
-0.009073077,
-0.0021090924,
0.017205562,
0.05024198,
-0.022718867,
0.008725782,
-0.0122132,
-0.026698288,
-0.04208055,
-0.00650816,
-0.02228475,
0.013573438,
0.023167457,
0.044714205,
-0.024657931,
-0.026973229,
0.019998392,
-0.012300024,
0.06147118,
0.043788087,
0.024947343,
-0.0422542,
0.00136476,
-0.019462978,
0.008154192,
-0.0071195434,
-0.014499557,
-0.026929816,
-0.016322855,
-0.021922983,
-0.03597395,
0.043527614,
0.033861242,
0.042167377,
0.014210145,
0.048708096,
-0.03525042,
-0.024715813,
0.029056998,
-0.0071159257,
-0.045669265,
-0.07594179,
0.038433958,
0.0020439746,
0.02629311,
-0.0029646675,
-0.015555913,
0.008494251,
0.009225018,
-0.004001125,
-0.025236756,
-0.02297934,
0.010968727,
0.027826995,
0.013573438,
-0.028536055,
-0.042833023,
-0.021228394,
-0.0006719793,
0.029838411,
-0.027566524,
0.025193343,
-0.031748533,
0.0072642495,
0.05956106,
-0.035539836,
-0.0394469,
-0.026379934,
-0.032327358,
-0.051515393,
0.04057561,
0.070095666,
-0.039128546,
-0.005636305,
-0.05255728,
-0.023326633,
0.021503337,
-0.02371734,
-0.058634937,
-0.006558807,
-0.0059727468,
0.013761556,
0.018189564,
0.011981671,
0.0015275545,
0.016018972,
-0.03568454,
0.02724817,
-0.039389018,
-0.020982394,
-0.03921537,
0.014036498,
-0.010194549,
0.044193264,
0.01596109,
-0.0044678026,
-0.009015194,
0.017929094,
-0.037392072,
-0.04980786,
0.03759466,
0.03258783,
0.008581076,
0.04080714,
-0.0015013264,
-0.017726505,
0.02769676,
0.016771445,
-0.015686149,
0.020721924,
-0.0025287403,
0.0017039151,
-0.019303802,
-0.004822333,
0.016814856,
-0.062860355,
0.044222202,
0.011308786,
-0.031053944,
-0.0123362,
-0.050791863,
-0.0389549,
-0.0038925959,
-0.013472144,
0.0488528,
0.025641933,
-0.00868237,
0.0012381421,
0.015526972,
-0.026596993,
0.007224455,
-0.0075536617,
0.033890184,
0.07356861,
0.009188841,
0.0066890423,
-0.023268752,
-0.04766621,
0.03362971,
-0.019651096,
0.018840743,
-0.018739449,
-0.029230645,
-0.0019680038,
0.002803682,
-0.03478736,
-0.020258863,
-0.0059908354,
0.0031817267,
0.008986252,
-0.017408151,
0.014456145,
-0.016293915,
-0.03878125,
0.044077497,
-0.033658653,
-0.038607605,
-0.052673046,
0.016814856,
0.022689927,
0.015063912,
0.03244312,
-0.047261033,
-0.061529063,
-0.023181928,
0.022878045,
-0.01927486,
0.011605434,
-0.031025002,
-0.036350187,
0.0035724335,
0.026871935,
0.023818634,
-0.072005786,
0.025178872,
-0.03730525,
0.028304527,
-0.057216816,
-0.00022519896,
-0.027624406,
0.024382988,
-0.034555834,
0.050849747,
-0.0052021868,
0.014890265,
-0.007101455,
0.026119463,
0.028188761,
0.07675215,
-0.02441193,
-0.041443847,
-0.0015329809,
0.014304204,
0.012625613,
-0.0033246242,
-0.027523112,
0.017900152,
-0.032703593,
0.07808345,
-0.042369965,
-0.033890184,
-0.0084001925,
-0.020273333,
0.02959241,
-0.023789693,
0.04297773,
0.0027783583,
0.003755125,
0.0072461613,
0.033456065,
-0.013530026,
0.042109493,
-0.031169707,
-0.051978454,
0.05704317,
-0.053714927,
-0.0029755204,
-0.015599324,
-0.019564273,
0.051283866,
-0.03478736,
0.03545301,
0.072584614,
0.0015302676,
-0.0012318112,
-0.041646436,
0.013522791,
-0.005451805,
0.012242141,
-0.010274137,
0.016554385,
-0.018551331,
-0.0036484043,
-0.007416191,
-0.007416191,
-0.028926762,
0.018985448,
0.012003376,
0.0064466596,
0.039591607,
-0.006504542,
-0.06054506,
-0.07403167,
0.02041804,
0.02720476,
0.014817911,
0.019115685,
0.030561943,
-0.0047933916,
0.023066163,
-0.010860197,
-0.018377682,
-0.010824021,
0.047753032,
0.0007836743,
-0.041009728,
0.010824021,
0.02183616,
-0.022400513,
-0.059040114,
-0.03707372,
0.026481228,
-0.004851274,
-0.015642736,
-0.0049742744,
0.009753196,
-0.03406383,
0.054149047,
0.06511778,
-0.033166654,
0.018276388,
-0.003597757,
0.00587507,
-0.024961812,
0.012683495,
0.02933194,
-0.041820083,
0.0055892756,
-0.050820805,
-0.007749015,
-0.0422542,
-0.038289253,
0.07767827,
-0.004692097,
0.013023554,
0.05047351,
0.015165206,
0.041646436,
0.001349385,
-0.005979982,
0.019347213,
-0.014427205,
-0.04303561,
-0.052644104,
0.012198729,
0.02300828,
0.024397459,
-0.02367393,
0.01875392,
0.04691374,
0.031111825,
-0.003983037,
-0.060950235,
-0.017162152,
-0.028564997,
-0.042341024,
0.044974677,
0.024108047,
-0.013407026,
0.034816302,
-0.025468284,
-0.033571832,
-0.0036755365,
-0.031372298,
0.002937535,
-0.02205322,
-0.05302034,
0.0035434922,
-0.04361444,
-0.05064716,
-0.049894687,
-0.03692901,
0.024064636,
0.021170512,
-0.011467963,
0.0075681326,
0.0071376315,
-0.0007393581,
-0.020953452,
0.014427205,
-0.020852158,
-0.000033717668,
-0.033456065,
-0.0015393118,
-0.037623603,
0.026785111,
0.035771362,
-0.037102662,
0.010505668,
-0.0024744754,
0.01114961,
-0.017321328,
-0.0029158292,
0.05281775,
-0.040720314,
-0.046595383,
-0.018985448,
0.02980947,
-0.040083606,
0.0064068655,
-0.021662513,
-0.032906182,
-0.007900957,
0.03374548,
-0.033977006,
0.027638877,
0.006453895,
0.03782619,
0.0068554543,
0.04815821,
0.021344159,
0.016959563,
0.035366185,
0.008971782,
0.012039552,
-0.016930621,
0.034903128,
0.02538146,
-0.03374548,
0.031748533,
0.02885441,
-0.00022169437,
-0.025772167,
-0.0277257,
-0.00036357425,
0.053917516,
0.041704316,
-0.0068771606,
-0.0030243588,
-0.012068494,
0.002573961,
0.03756572,
-0.054814696,
-0.03707372,
0.007372779,
-0.027190289,
0.038202427,
-0.01480344,
0.006927808,
0.017552858,
0.035713483,
-0.023196397,
0.019651096,
0.0043990673,
0.034961008,
0.030619824,
-0.0366396,
-0.020548275,
-0.0062187472,
0.015338853,
-0.031980064,
-0.02980947,
-0.0076404857,
0.049923625,
0.03759466,
0.008899429,
-0.042109493,
-0.009868961,
-0.037421014,
0.023630517,
-0.039360076,
-0.0035597717,
-0.026206287,
0.01327679,
-0.04387491,
0.002499799,
-0.0009984726,
0.016785916,
0.02111263,
0.031864297,
-0.009420372,
0.0183198,
-0.014145028,
-0.01761074,
0.054785755,
0.009782136,
0.024918402,
-0.049113274,
-0.0028868879,
-0.002176019,
0.055075165,
-0.01642415,
0.044482674,
0.022993809,
0.02040357,
0.019448508,
-0.026177345,
-0.021705925,
0.012965673,
0.0013665688,
0.005032157,
0.019347213,
-0.006913337,
0.009825548,
0.015295441,
-0.018348742,
0.027146876,
-0.025135461,
0.013501085,
-0.006182571,
-0.039389018,
0.017277917,
0.0031600208,
-0.017986976,
-0.010216255,
0.016959563,
0.0653493,
0.03244312,
-0.014680441,
0.0077924267,
0.024961812,
0.020273333,
0.021517806,
0.030504059,
-0.010201785,
0.045842912,
-0.024585577,
0.053628106,
0.010657609,
-0.013269555,
-0.015121794,
-0.009897902,
-0.039823137,
0.027783584,
0.002666211,
-0.022704396,
0.0023333868,
-0.019057801,
0.02347134,
-0.03458477,
0.015642736,
-0.057216816,
-0.0034168742,
-0.0075391913,
-0.025164401,
-0.034816302,
-0.0073366025,
-0.0007266963,
0.024918402,
0.020635098,
0.043556556,
0.007202749,
0.052267868,
0.048418682,
0.01574403,
0.013009084,
0.014369322,
-0.06314977,
-0.0058605997,
0.02720476,
-0.02062063,
0.03498995,
-0.04251467,
-0.06615966,
0.031285472,
0.033571832,
-0.036494896,
-0.07796768,
0.03498995,
0.010599727,
-0.048476566,
-0.0015718708,
0.10117855,
0.044511616,
0.010766138,
0.005607364,
-0.022226866,
-0.053483397,
-0.021199454,
-0.04572715,
0.033369243,
-0.017205562,
-0.04595868,
0.0032396093,
-0.06413377,
-0.00028443805,
0.007459603,
0.0007565419,
-0.025989227,
0.03866549,
0.024310635,
0.036060777,
0.011127904,
-0.004297773,
0.023152987,
0.017943565,
0.07704156,
0.0033535655,
0.061008118,
0.040025726,
-0.019983921,
-0.010947022,
-0.0077562504,
0.019636627,
-0.024440872,
-0.01899992,
-0.012849907,
-0.014752793,
-0.014130557,
-0.026625935,
-0.011822494,
0.027378406,
-0.01808827,
-0.04040196,
-0.02464346,
-0.03360077,
-0.038694426,
-0.03750784,
-0.04017043,
0.006471983,
-0.009883431,
0.008320604,
0.012010612,
-0.059503175,
0.24935766,
0.03756572,
0.012097435,
0.027754642,
0.05186269,
0.0483608,
0.011424552,
-0.0017310475,
-0.008870488,
-0.002646314,
-0.019303802,
-0.019376155,
-0.0017012019,
0.020606158,
-0.03189324,
0.02397781,
-0.097126774,
-0.009514431,
-0.01594662,
-0.040633492,
-0.019173566,
0.010708256,
-0.004475038,
0.01875392,
0.032964066,
0.015121794,
-0.0043665087,
-0.077157326,
0.013189967,
-0.03542407,
0.037623603,
-0.015599324,
0.00558204,
-0.011742905,
-0.009955784,
0.008689605,
0.016945092,
-0.035308305,
-0.008262722,
0.013819438,
0.022718867,
-0.032327358,
0.021546748,
-0.0044605676,
0.017798858,
0.01455744,
-0.028970174,
0.009442077,
0.03475842,
-0.04700056,
0.047174208,
-0.03215371,
0.063902244,
-0.05139963,
-0.042775143,
0.019651096,
-0.07136908,
-0.031748533,
0.009225018,
0.018985448,
0.010845727,
0.013457674,
-0.052933514,
0.01127261,
-0.007152102,
0.009232253,
-0.011417316,
0.020996865,
-0.0020222687,
-0.016076855,
0.024513224,
0.0029357262,
-0.043122437,
-0.0056652464,
0.010447785,
0.061355412,
-0.004692097,
0.05869282,
-0.0057918644,
-0.036494896,
0.023731811,
0.029896293,
-0.003335477,
-0.058750704,
0.050357744,
0.03872337,
-0.03962055,
0.027161347,
-0.0062983357,
0.022009807,
0.014072674,
0.04601656,
0.015541442,
0.008769194,
-0.017798858
] |
NVIDIA_TF32_OVERRIDE=0 RUN_SLOW=1 RUN_PT_TF_CROSS_TESTS=1 \
py.test -vv tests/models/brand_new_bert/test_modeling_tf_brand_new_bert.py
The most likely outcome is that you'll see a bunch of errors. Don't worry, this is expected! Debugging ML models is
notoriously hard, and the key ingredient to success is patience (and breakpoint()). In our experience, the hardest
problems arise from subtle mismatches between ML frameworks, for which we have a few pointers at the end of this guide.
In other cases, a general test might not be directly applicable to your model, in which case we suggest an override
at the model test class level. Regardless of the issue, don't hesitate to ask for help in your draft pull request if
you're stuck.
When all tests pass, congratulations, your model is nearly ready to be added to the 🤗 Transformers library! 🎉
6.-7. Ensure everyone can use your model
6. Submit the pull request
Once you're done with the implementation and the tests, it's time to submit a pull request. Before pushing your code,
run our code formatting utility, make fixup 🪄. This will automatically fix any formatting issues, which would cause
our automatic checks to fail.
It's now time to convert your draft pull request into a real pull request. To do so, click on the "Ready for
review" button and add Joao (@gante) and Matt (@Rocketknight1) as reviewers. A model pull request will need
at least 3 reviewers, but they will take care of finding appropriate additional reviewers for your model.
After all reviewers are happy with the state of your PR, the final action point is to remove the from_pt=True flag in
.from_pretrained() calls. Since there are no TensorFlow weights, you will have to add them! Check the section
below for instructions on how to do it.
Finally, when the TensorFlow weights get merged, you have at least 3 reviewer approvals, and all CI checks are
green, double-check the tests locally one last time |
[
0.019108849,
-0.000013756134,
-0.0016236748,
-0.061540883,
-0.010304923,
0.036456913,
0.00087362726,
-0.041883595,
-0.0054338984,
0.035879605,
-0.026916921,
-0.000093699564,
0.027537525,
-0.024275742,
-0.015818201,
0.025863336,
0.0090997955,
0.025242731,
-0.07539624,
0.014613073,
0.024607694,
0.017694447,
-0.052794687,
-0.019310907,
-0.03120342,
0.06714076,
0.017290333,
-0.019512963,
0.09092579,
0.06240684,
-0.06125223,
-0.02945707,
0.0008113864,
-0.04505878,
-0.027176708,
-0.02366957,
-0.007490553,
-0.022558255,
-0.013227537,
-0.06869949,
0.027263304,
-0.027090112,
0.0020909323,
-0.047396872,
-0.07048914,
0.009171959,
0.017391361,
-0.041739266,
0.026613833,
-0.026180854,
-0.0133646475,
0.0446258,
0.020884067,
0.009323502,
-0.0001660884,
-0.008782277,
-0.0036749174,
0.0066318098,
-0.03206938,
0.014396584,
0.029067388,
-0.0031373005,
0.0009814212,
-0.02642621,
0.022760313,
0.03065498,
-0.030828172,
-0.04315367,
0.017189303,
-0.052881286,
-0.052823555,
0.024116984,
-0.00798848,
-0.036976486,
-0.012404876,
0.018560408,
0.04624226,
-0.0071513853,
0.016409941,
-0.013465676,
0.037467197,
0.04878241,
-0.009013199,
-0.010333789,
-0.027970504,
0.015096568,
0.03256009,
-0.024535531,
0.0014622094,
-0.0068338667,
-0.019079983,
0.026281882,
-0.009518343,
0.050658654,
0.030019943,
0.027118977,
-0.0035937335,
0.008536922,
0.014201743,
-0.004517424,
0.0066101607,
0.09335048,
0.014490396,
0.02626745,
-0.049042195,
0.011264695,
0.029789021,
0.008486407,
0.0052246246,
-0.021576835,
0.014721318,
-0.0071513853,
-0.009475045,
-0.0138120605,
0.007403957,
-0.010514196,
0.009756481,
-0.021302614,
-0.027205573,
-0.023525244,
0.014937809,
0.012996615,
0.007577149,
-0.001497389,
0.009590506,
0.0072740633,
0.014533694,
0.036428045,
0.020003675,
-0.04090217,
0.016395507,
0.005816364,
0.0068302588,
0.06107904,
0.022933505,
-0.01151005,
0.010968826,
0.034782723,
0.05637399,
-0.029255012,
0.028980792,
-0.011409022,
0.028677706,
0.047627795,
0.024073685,
-0.0034602315,
-0.015024404,
-0.07395297,
-0.02030676,
0.026556104,
-0.005448331,
0.0075266347,
0.008435893,
-0.00885444,
-0.01867587,
0.031867325,
-0.04006508,
0.032473497,
0.020220164,
0.016539834,
-0.021980949,
0.02252939,
-0.022240737,
0.020884067,
-0.050081346,
0.02404482,
-0.019541828,
0.015284192,
-0.029283877,
-0.031838458,
0.013090427,
0.009511126,
-0.022558255,
0.023063399,
0.043240264,
0.046473183,
-0.02020573,
-0.0056503885,
0.0144038,
-0.00033961865,
-0.0007225353,
0.025690144,
0.06211819,
0.04808964,
-0.06038627,
0.008060643,
0.009576073,
-0.0033700273,
-0.023698436,
0.0070792222,
-0.051524613,
0.06361919,
-0.007887451,
0.031261154,
-0.02225517,
0.009626588,
-0.043413457,
0.02209641,
-0.00611945,
0.02837462,
-0.009633804,
0.028533379,
-0.027696284,
0.00000414023,
-0.00651274,
-0.036428045,
-0.037726987,
0.007270455,
-0.03368584,
0.006722014,
0.0683531,
-0.008486407,
-0.03567755,
-0.017348064,
0.02594993,
-0.026599402,
-0.03307967,
0.024030387,
-0.036889892,
-0.0046473183,
0.031722996,
0.011611079,
0.03244463,
0.052246246,
0.026671564,
-0.005466372,
0.003646052,
0.025271596,
0.02778288,
-0.029485935,
0.030741576,
0.047368005,
0.028360186,
0.01792537,
0.059173927,
0.013350215,
0.053804975,
0.065639764,
0.02042222,
0.047483467,
0.041133095,
-0.009951322,
-0.02003254,
0.010853364,
0.010651307,
-0.013775979,
0.01389144,
-0.026729295,
0.030019943,
0.0072524142,
-0.07966831,
0.041017633,
-0.0105358455,
-0.009879159,
-0.03449407,
-0.02594993,
0.0063900626,
-0.011906949,
-0.01916658,
-0.016669728,
0.019960376,
0.036254853,
-0.005415858,
-0.05389157,
0.006794177,
0.062291384,
0.014172877,
0.031174557,
-0.011026556,
-0.05354519,
-0.0511205,
-0.012419309,
-0.057701796,
-0.04041146,
-0.01857484,
0.05660491,
0.0036640929,
-0.029067388,
0.038275428,
0.0029190064,
0.00010136692,
0.027220007,
-0.0097925635,
0.008197754,
0.0034999212,
0.03357038,
-0.062695496,
-0.0038751706,
-0.049215388,
0.037438333,
0.015558413,
0.00013260011,
-0.01194303,
0.01058636,
0.0048313346,
0.020754172,
-0.029933346,
0.0028847288,
-0.03258896,
-0.022298468,
-0.031347748,
-0.0092008235,
-0.01835835,
0.041306287,
-0.023366485,
0.033021938,
-0.028345754,
-0.010095649,
0.04000735,
0.035821874,
-0.03195392,
0.002042222,
-0.019541828,
0.010658523,
-0.0051993676,
0.016337777,
0.054613203,
-0.018647004,
-0.012448174,
-0.00008828732,
-0.045087647,
0.017781043,
0.01867587,
0.001322393,
-0.043730974,
0.07597355,
-0.036485776,
-0.050629787,
-0.015154298,
-0.016424373,
-0.062291384,
-0.02648394,
0.0010995887,
0.012780125,
-0.0038318725,
0.020378923,
0.0025545817,
-0.031261154,
-0.0020674793,
0.04635772,
0.019339772,
0.023005668,
0.055738952,
-0.003036272,
-0.027277736,
-0.013898657,
0.023453081,
-0.054901857,
-0.0044596936,
-0.03152094,
0.005513278,
0.017319199,
-0.028475648,
0.013407946,
-0.0098935915,
0.017131573,
-0.035966203,
0.021345912,
-0.039401177,
-0.0008880599,
0.030741576,
0.022976803,
-0.039834157,
-0.004051971,
-0.026556104,
0.0076781777,
-0.028114831,
0.029283877,
0.038968194,
-0.040093943,
0.036601238,
-0.022385063,
-0.0040447544,
0.028605541,
-0.02052325,
-0.056951296,
0.048551485,
0.0136100035,
0.026657132,
-0.001019307,
-0.021201584,
0.020609846,
0.010167813,
0.015803767,
0.066736646,
-0.020479951,
-0.03411882,
0.008161672,
-0.026123123,
-0.00025933696,
0.002715145,
-0.011279128,
-0.046992756,
-0.038073372,
-0.06991183,
-0.06575522,
0.030135404,
0.09005983,
0.047945313,
0.0033050803,
0.06754487,
-0.0075049857,
-0.03417655,
0.043297995,
0.021028392,
0.016135719,
-0.04933085,
0.020075837,
0.017853206,
-0.035995066,
-0.017348064,
-0.015096568,
0.0026339614,
-0.0064983075,
-0.022861341,
0.006815826,
-0.023424216,
-0.03553322,
-0.013970819,
0.029875617,
-0.051957592,
-0.03634145,
-0.050687518,
-0.009489478,
0.036485776,
-0.02312113,
0.034320876,
-0.021634566,
-0.012938884,
0.04531857,
-0.0165687,
-0.020003675,
0.0023308755,
-0.025516951,
-0.052996747,
0.07874462,
-0.010875013,
0.012289414,
-0.022601554,
-0.03157867,
0.036254853,
0.020927364,
0.0022875774,
-0.015067702,
0.0031282802,
0.02128818,
0.022514958,
0.047512334,
-0.01324197,
0.013696599,
0.003431366,
-0.038564082,
-0.008356513,
-0.07932193,
-0.012015194,
-0.037929043,
0.038362022,
-0.0076998267,
0.022471659,
0.0030885902,
0.009756481,
0.008046211,
0.019700589,
-0.0006990822,
-0.00814724,
0.038044505,
0.030424058,
-0.004769996,
0.046011336,
0.048869003,
-0.025646845,
0.02252939,
-0.009568857,
-0.03795791,
0.029586963,
-0.044827856,
0.018300619,
0.018459378,
0.010781201,
-0.0036352274,
-0.01835835,
0.058394562,
-0.016106853,
0.049965885,
-0.04511651,
-0.0059534744,
-0.04240317,
0.0056323474,
-0.004917931,
0.03417655,
-0.02437677,
0.00019089454,
-0.004539073,
-0.005033392,
-0.06575522,
-0.011445103,
-0.009280204,
0.019787183,
0.043471187,
0.027364332,
0.0330508,
-0.005859662,
-0.022284035,
-0.024174714,
-0.011142017,
0.010319356,
0.008666815,
0.006029246,
0.011784271,
0.009763698,
-0.029962212,
0.0066137686,
-0.00006866791,
0.010225543,
-0.0019592342,
-0.013429595,
0.005661213,
-0.052361708,
-0.02003254,
0.039170254,
-0.0009678906,
-0.026714863,
-0.029846752,
-0.0073895245,
0.008103942,
0.05568122,
0.002624941,
-0.021519104,
-0.009677102,
-0.01597696,
0.011163667,
-0.02892306,
-0.030279731,
-0.01733363,
-0.044539206,
-0.0008573905,
0.032848746,
0.026902488,
-0.011387372,
-0.018502677,
-0.011885299,
-0.039343446,
-0.03764039,
-0.045145378,
0.018040832,
-0.014086281,
0.012087357,
0.036601238,
-0.024434501,
-0.00036284621,
-0.023467513,
-0.0024409245,
0.026151989,
-0.0038030073,
-0.031347748,
0.00011100749,
0.017665582,
0.008609084,
-0.019238742,
0.014100714,
-0.021302614,
0.054180223,
-0.013148158,
-0.014374934,
0.014706885,
-0.011676026,
-0.022572689,
0.019484097,
0.005231841,
-0.056980163,
0.060039885,
0.0033880682,
0.0058307964,
-0.04722368,
0.018343918,
-0.025863336,
0.01770888,
-0.009908024,
-0.038968194,
0.022919072,
-0.03498478,
-0.013126509,
-0.02150467,
-0.037091948,
0.02030676,
-0.012419309,
0.047310274,
0.03720741,
0.036889892,
0.020075837,
-0.008623517,
0.044885587,
0.021677863,
0.010571927,
0.009381232,
0.018776897,
-0.04116196,
0.012195602,
-0.0105358455,
0.012664664,
0.009388449,
0.038564082,
0.041796997,
-0.0058524455,
0.002715145,
0.0031210638,
-0.043961897,
-0.033772435,
0.042865016,
-0.009013199,
0.02333762,
0.00036938602,
0.04000735,
0.0023092264,
0.0069132466,
0.0032166801,
-0.052765824,
-0.03276215,
0.07678178,
0.018444946,
-0.039689828,
0.008674032,
0.023366485,
-0.051784404,
-0.059982155,
-0.06569749,
0.012094573,
-0.03585074,
0.020263461,
0.028244724,
-0.032848746,
-0.026628267,
0.027205573,
0.0064369687,
-0.013227537,
-0.011004907,
-0.017506823,
-0.041219693,
-0.04260523,
0.026599402,
0.0568647,
-0.029875617,
-0.016929517,
0.033801302,
0.024448935,
-0.011387372,
-0.00525349,
0.03357038,
-0.07147056,
-0.0033988927,
0.017882071,
0.017954236,
0.03634145,
-0.01629448,
0.036399182,
0.025603548,
0.010333789,
-0.086249605,
-0.0052426658,
-0.00065172504,
0.015832633,
0.016713027,
-0.01922431,
0.020436654,
0.030395193,
0.010831716,
-0.026007662,
-0.03504251,
0.015053269,
-0.019484097,
0.027436497,
-0.010146163,
-0.0029821494,
0.004777212,
-0.0014504829,
-0.0062168706,
-0.018387215,
-0.013588354,
0.023380917,
0.01759342,
-0.02073974,
-0.0075555,
-0.024867482,
-0.06944998,
-0.024939645,
-0.04468353,
-0.010817283,
0.001474838,
0.041306287,
-0.0281004,
0.012202818,
-0.052708093,
0.03980529,
-0.0030976108,
0.054295685,
-0.014569775,
-0.03299307,
-0.021259315,
-0.046530914,
-0.03536003,
0.01324197,
0.024189146,
0.035504356,
0.032271437,
0.006014813,
-0.042865016,
-0.015962528,
0.02154797,
0.010976042,
-0.031665266,
-0.03579301,
-0.028259158,
0.008428676,
-0.044394877,
0.014634722,
-0.004813294,
-0.0016832096,
-0.013256403,
0.025329327,
-0.040584654,
0.03406109,
0.04257636,
0.036861025,
-0.030799307,
0.017853206,
0.0141584445,
-0.023857195,
0.00081905373,
-0.018560408,
-0.014641939,
-0.027754014,
0.0008695681,
0.013530623,
-0.036370315,
0.008486407,
-0.023438647,
0.025199434,
-0.0044380445,
0.009691535,
-0.0050297836,
0.054786395,
0.055594627,
0.02827359,
-0.0025221081,
-0.042922746,
-0.032242574,
-0.018517109,
-0.022486093,
-0.03195392,
0.020090269,
-0.019758318,
0.03406109,
0.0035558478,
0.0056503885,
-0.023294322,
0.019830482,
0.050658654,
0.014071848,
0.0005340086,
0.0051199878,
0.01949853,
-0.04315367,
-0.07499213,
0.018315053,
0.015673874,
-0.01912328,
-0.03325286,
-0.0024174715,
0.07620447,
0.008573003,
-0.0024553572,
0.004535465,
-0.0044380445,
-0.00026339613,
-0.014281122,
-0.05204419,
0.01066574,
-0.027003516,
-0.004907106,
-0.009677102,
0.008002913,
-0.064254224,
0.012686312,
0.025170568,
-0.013682166,
0.01202241,
0.016063556,
-0.020754172,
0.005441115,
0.018704735,
0.044279415,
-0.011574998,
-0.012419309,
0.016539834,
0.039343446,
0.07678178,
0.017622285,
0.00611945,
0.01755012,
0.0155439805,
0.030135404,
0.012679096,
-0.026902488,
0.018647004,
0.009929674,
-0.021086123,
-0.0015253522,
-0.042749554,
0.0076998267,
0.015919229,
-0.0017174871,
0.0061086253,
0.014598641,
0.006812218,
-0.021576835,
-0.033021938,
0.026440643,
-0.044221684,
-0.03524457,
-0.008868872,
-0.008688465,
0.02388606,
0.0013404337,
0.0041349586,
0.02290464,
-0.0055060615,
0.04580928,
0.022067545,
0.007743125,
0.021519104,
0.040093943,
-0.0030236433,
0.02778288,
-0.004246812,
0.00239041,
-0.06598614,
-0.019599559,
0.02935604,
0.011279128,
-0.0071549937,
0.0019899036,
0.007685394,
-0.013992469,
-0.04309594,
-0.08469088,
-0.011271912,
-0.04315367,
-0.012534769,
0.026815891,
0.012953317,
-0.05377611,
0.044798993,
0.013978036,
0.010182245,
0.0295148,
0.021403642,
0.027667418,
0.016308911,
0.054872993,
0.0028576676,
0.0028378228,
-0.0087028975,
-0.02703238,
0.01603469,
0.043673243,
-0.006819434,
-0.007815288,
0.0014874665,
-0.032791015,
0.02333762,
0.0027530307,
-0.033426054,
-0.06027081,
0.044048492,
0.00020713129,
-0.053141072,
0.010831716,
0.011178099,
-0.07799412,
0.01151005,
-0.00814724,
-0.013436811,
-0.017088275,
-0.023092264,
-0.05140915,
-0.008392595,
0.011625512,
-0.051524613,
-0.013422378,
-0.028966358,
-0.017723313,
-0.031636402,
-0.021244884,
-0.0045282487,
0.019527396,
0.016828487,
0.08578776,
0.007533851,
-0.021952083,
-0.013545056,
0.02496851,
0.0117265405,
0.011654377,
0.054382283,
0.080592,
0.0022623201,
-0.023900494,
-0.00029925228,
0.026527239,
-0.010283274,
-0.05080298,
-0.022919072,
-0.013140941,
0.0021612917,
-0.07516532,
-0.006516348,
0.008731762,
-0.009381232,
-0.007371484,
0.02670043,
-0.013011048,
-0.028836465,
-0.054180223,
-0.053487457,
0.012419309,
0.021244884,
-0.042114515,
0.03764039,
-0.08740422,
0.2468563,
0.02463656,
0.052650362,
0.02913955,
0.029558098,
0.04950404,
0.04306707,
0.055594627,
0.035764143,
-0.07020048,
0.012585284,
-0.014865645,
-0.030395193,
-0.008435893,
-0.0030470963,
0.02388606,
-0.027191142,
0.062233653,
0.016366642,
-0.0546998,
-0.020537682,
-0.0006138393,
-0.0122389,
0.049908157,
0.0005493433,
0.013545056,
0.011791487,
-0.019108849,
0.044972185,
-0.053747244,
-0.004972053,
0.010146163,
-0.02030676,
-0.009532775,
-0.019354204,
0.0063936706,
-0.010110082,
-0.034378607,
0.0065235645,
0.035879605,
0.005599874,
-0.028201427,
0.0114306705,
-0.0015803769,
0.0032509577,
0.019585127,
0.0058271885,
-0.02274588,
0.030222,
-0.005877703,
0.06431196,
0.000057646095,
-0.012094573,
-0.04240317,
-0.047137085,
-0.043326862,
-0.022168573,
-0.049244255,
-0.0020133567,
-0.034955915,
0.048118506,
0.016958382,
-0.03472499,
0.038564082,
-0.015183164,
-0.0117265405,
-0.028288024,
0.053862706,
-0.0060220296,
-0.060097616,
-0.00095616403,
0.04023827,
-0.03613939,
-0.053054478,
0.00203681,
-0.029125119,
-0.04505878,
0.015024404,
0.017578986,
-0.013602787,
0.0042865016,
0.021908786,
-0.012736827,
-0.047252547,
0.05042773,
0.03541776,
-0.044452608,
-0.034927048,
0.03714968,
0.010773985,
0.04401963,
0.05241944,
0.013970819,
0.04352892,
0.01938307
] |
Repository features
Each repository on the Model Hub behaves like a typical GitHub repository. Our repositories offer versioning, commit history, and the ability to visualize differences.
The Model Hub's built-in versioning is based on git and git-lfs. In other words, you can treat one model as one repository, enabling greater access control and scalability. Version control allows revisions, a method for pinning a specific version of a model with a commit hash, tag or branch.
As a result, you can load a specific model version with the revision parameter: |
[
-0.0054698433,
-0.011221675,
0.0018781121,
-0.022992864,
-0.03126451,
-0.019984992,
-0.0058458275,
-0.02148893,
0.007975198,
0.0659418,
0.028430171,
0.012834067,
0.02605858,
-0.031524807,
-0.00263008,
0.022168592,
0.013918636,
0.00039677153,
-0.082890004,
-0.0026246572,
0.013990941,
0.011677193,
-0.09150871,
-0.049080368,
-0.0033802404,
-8.120146e-7,
0.0069557033,
-0.026318876,
0.062991776,
0.06727221,
-0.014670605,
-0.013238973,
-0.007360609,
-0.0069990857,
-0.020592352,
-0.025089698,
-0.006370036,
-0.03331796,
-0.005271006,
-0.07473404,
0.02999195,
0.009023615,
0.037309177,
-0.07236245,
-0.09625189,
0.0047974107,
-0.031293433,
-0.033693947,
0.005386693,
-0.04130039,
0.013137747,
0.031958636,
0.050931364,
-0.023137474,
-0.0011559699,
-0.0044973465,
0.0036387292,
-0.018770276,
-0.03748271,
0.021344319,
0.043556295,
0.022848256,
0.014786292,
-0.039131254,
0.017078348,
0.017946003,
-0.020028375,
-0.02526323,
0.00023160069,
-0.034301303,
-0.047345057,
0.010744465,
-0.0020191062,
-0.014721218,
-0.037916534,
0.0024384728,
0.045118075,
-0.011988103,
-0.016282998,
0.030541465,
-0.030830683,
0.038032223,
0.041849907,
-0.03059931,
-0.02653579,
-0.04572543,
0.017006043,
-0.0012291783,
-0.022472272,
0.020968337,
0.0069014747,
0.030339012,
-0.002841571,
0.016123926,
0.062413335,
0.037887614,
-0.011836264,
0.006153122,
0.007967968,
-0.0364126,
0.026463486,
0.08867437,
0.040577345,
0.019666852,
-0.041445002,
-0.0076715187,
0.036325835,
-0.03594985,
0.006015743,
-0.010780617,
0.0038899877,
0.0047395667,
0.02432327,
-0.017642323,
-0.01882812,
0.0172808,
-0.00021533215,
0.010983069,
-0.045638666,
-0.046043575,
0.026564712,
-0.002883146,
-0.028459093,
-0.054546595,
0.018625667,
-0.01587809,
0.0047937953,
0.067387894,
-0.037106723,
0.0051625487,
-0.0074762963,
-0.029211061,
0.011865186,
0.036267992,
-0.003461583,
-0.0013276933,
-0.013774027,
0.010216641,
0.0050613224,
-0.040259205,
0.023498997,
0.0070099314,
0.009095919,
0.04239942,
0.020809265,
0.013361891,
0.024655871,
-0.04080872,
-0.023846058,
0.020664657,
-0.0430357,
-0.014865827,
-0.01804723,
-0.019160721,
-0.017194035,
0.026420103,
-0.025610292,
0.035458177,
-0.0013322124,
0.016846973,
-0.0037598396,
0.0345616,
-0.043122467,
0.04300678,
-0.027764969,
0.04627495,
-0.032855213,
-0.028762773,
-0.0057084486,
-0.053650018,
0.030570388,
-0.0041936673,
-0.0017696553,
0.01020218,
0.053765707,
0.021257553,
-0.009826196,
0.012371318,
0.0304547,
0.026767164,
-0.028473554,
-0.00911038,
0.053650018,
-0.011330131,
-0.02887846,
0.019247485,
0.0057373703,
-0.0071979235,
-0.040693033,
-0.0026228495,
-0.010766156,
0.057814762,
0.020346517,
0.044655323,
0.007349763,
0.0020624888,
-0.058451045,
0.01161212,
0.017222958,
-0.011778421,
-0.025899509,
0.040577345,
-0.024467878,
0.015574412,
-0.02102618,
-0.015574412,
-0.013629418,
0.044828855,
-0.015820248,
0.034272384,
0.07369285,
-0.007939045,
-0.030657154,
-0.018119534,
-0.004605803,
-0.048183788,
-0.010607086,
0.022284279,
-0.008864544,
-0.012703919,
0.037309177,
0.034416992,
0.029601505,
0.008018581,
0.011923029,
-0.008365643,
0.015733482,
0.05246422,
0.009009154,
-0.0010466091,
-0.015256272,
0.0364126,
0.021011718,
0.036499366,
0.03872635,
0.023065168,
0.05116274,
0.052869126,
-0.004519038,
0.053736784,
0.004316585,
0.024467878,
0.016731286,
0.043382764,
-0.019666852,
-0.003241054,
0.028112032,
-0.01898719,
0.022992864,
0.012790685,
-0.06218196,
0.04158961,
0.006966549,
-0.048183788,
-0.0295292,
-0.015588873,
0.035284646,
0.03424346,
-0.024381112,
0.019088415,
-0.001122529,
0.009645434,
0.019016111,
-0.052984815,
0.030888528,
0.042139124,
-0.009464673,
0.037453786,
-0.009016384,
-0.061950587,
-0.0011622965,
-0.040606268,
-0.09561561,
-0.007830589,
-0.04665093,
0.04508915,
-0.0019630701,
-0.051856864,
0.018321987,
-0.029297827,
-0.0031506731,
0.028285561,
-0.046506323,
0.033346884,
0.013990941,
0.022515655,
-0.033636104,
0.012993137,
-0.033954244,
0.012096561,
0.009515286,
-0.041387156,
-0.024872784,
-0.021373242,
0.032392465,
0.014251238,
0.016557755,
-0.029543662,
-0.044539638,
-0.0076715187,
-0.062355492,
-0.007967968,
-0.023412231,
0.02825664,
-0.033231195,
0.040288128,
0.013788489,
-0.00785951,
0.056976028,
0.056773577,
-0.010469707,
0.01019495,
0.014807983,
0.06247118,
-0.03331796,
0.021127407,
0.041820984,
0.0036568055,
-0.034821898,
-0.01272561,
-0.037714083,
0.007028008,
-0.010426324,
-0.018640127,
0.0005806964,
0.062413335,
-0.012436392,
-0.052232847,
-0.007772745,
-0.021604616,
-0.030078717,
-0.06958595,
-0.006543567,
0.05573239,
0.044134732,
0.00286507,
-0.054835815,
0.014779061,
0.00651826,
0.035544943,
0.0067930175,
0.014533225,
0.083294906,
0.026926234,
-0.028285561,
-0.020100681,
-0.03169834,
-0.047316134,
-0.0016810821,
-0.013455887,
0.026868392,
0.02183599,
0.008286108,
0.007628136,
-0.023817137,
0.035834163,
-0.006608641,
0.004508192,
-0.0015183968,
-0.0078088976,
0.055327486,
0.015183968,
-0.013043751,
0.001263523,
-0.018148456,
-0.055934843,
-0.02056343,
-0.008033042,
0.018032769,
-0.02148893,
0.014995975,
0.024742637,
-0.04552298,
0.007548601,
-0.017685706,
-0.045378372,
0.039507236,
0.009580361,
0.047200445,
-0.013766797,
-0.051683333,
0.020216368,
0.003579078,
0.008018581,
0.05318727,
0.020100681,
-0.03175618,
-0.015444264,
-0.04928282,
-0.022862716,
-0.014547687,
0.0257549,
0.0012508697,
-0.050555382,
-0.038986642,
-0.086591996,
0.067387894,
0.067619264,
0.037511628,
0.030975293,
0.031842947,
-0.022703646,
-0.004414196,
0.025349995,
0.016066084,
0.06380159,
-0.047026917,
0.05318727,
0.016991582,
0.008719935,
0.013774027,
0.015400881,
0.0172808,
0.011735038,
-0.027085306,
-0.006796633,
-0.028632624,
0.0020751422,
-0.021807069,
0.012111021,
-0.04474209,
-0.0028632623,
-0.057814762,
0.009269451,
0.016716825,
-0.04318031,
0.030570388,
-0.035834163,
0.019016111,
0.03765624,
-0.03594985,
-0.04728721,
-0.002691539,
-0.029138757,
-0.05246422,
0.044481795,
0.0041213627,
-0.020823726,
-0.0040273666,
-0.03467729,
0.028372327,
0.0014379579,
-0.050468616,
-0.008691014,
0.005683142,
0.028835077,
0.014113859,
0.029239982,
0.04694015,
0.0021998677,
0.002268557,
-0.041647453,
-0.009717739,
-0.07635366,
-0.008821161,
-0.009681587,
0.013629418,
-0.03644152,
0.0065688733,
-0.009515286,
0.006265194,
-0.012884681,
0.004414196,
-0.024858324,
-0.0069014747,
0.021966139,
0.02276149,
-0.036383677,
0.028198797,
0.008813932,
0.008879006,
0.036817506,
0.01618177,
-0.0047178757,
0.02008622,
-0.043845512,
0.036383677,
0.0009408637,
0.007758284,
0.0044973465,
-0.06866045,
0.044366106,
-0.0254223,
0.028271101,
-0.036759663,
-0.032710604,
-0.053563252,
-0.024352191,
-0.015502107,
0.04130039,
0.04049058,
-0.029124295,
0.0006064549,
0.005350541,
-0.0407798,
-0.011857956,
-0.041069016,
-0.01538642,
0.04378767,
0.023629146,
0.0021835992,
-0.010867382,
-0.037395943,
-0.0024222042,
0.010809539,
0.010346789,
-0.009956344,
-0.004786565,
0.028227719,
0.046101417,
-0.048791148,
0.0014985129,
0.0021799838,
0.009840657,
0.0013602304,
-0.043816593,
0.023498997,
-0.06125646,
0.01287022,
0.060157433,
-0.0015491262,
-0.030657154,
-0.025306612,
-0.0087416265,
-0.0027909577,
0.0120821,
0.026868392,
-0.050324004,
-0.039796457,
-0.028025266,
0.0323057,
-0.04390336,
-0.0045479597,
-0.012674998,
-0.046246026,
0.012103791,
0.040606268,
0.058595654,
-0.022877177,
0.00349412,
-0.03609446,
0.015791327,
-0.048791148,
-0.017165113,
0.008192112,
-0.0054987655,
-0.019175181,
0.05367894,
-0.02027421,
0.04335384,
-0.0172808,
0.015675638,
0.035516024,
-0.005263775,
-0.031842947,
-0.022125209,
0.00029893435,
-0.032276776,
-0.034301303,
0.011098757,
-0.027967421,
0.048415165,
-0.016687904,
0.0037779156,
-0.0017976733,
-0.009876809,
-0.04265972,
-0.0084307175,
0.017165113,
-0.049196053,
0.019666852,
0.013998171,
0.033173352,
-0.014019863,
0.0034091622,
-0.02322424,
-0.0126026925,
-0.03910233,
-0.051799018,
0.007548601,
-0.0053758477,
-0.01665898,
0.0029319518,
-0.0043093543,
0.03939155,
-0.055009343,
0.036267992,
0.063049614,
-0.00037643584,
0.015791327,
-0.045898963,
0.029673811,
0.008423487,
0.013802949,
-0.002964489,
0.023614684,
-0.032103244,
0.027056383,
0.00831503,
-0.0080475025,
0.0064748772,
0.005853058,
0.04265972,
0.007020777,
0.01554549,
-0.005303543,
-0.05992606,
-0.013665571,
0.044626404,
0.04508915,
0.027013,
0.013014829,
0.010274485,
0.024135277,
-0.011069835,
0.006171198,
-0.04023028,
-0.011113218,
0.066346705,
0.01615285,
-0.016196232,
-0.0011749498,
0.048270553,
-0.056918185,
-0.06200843,
-0.0148369055,
0.025075238,
-0.0407798,
-0.013072672,
0.03629691,
0.0019522244,
-0.05963684,
0.020259751,
0.0052203927,
-0.02401959,
0.019175181,
0.0048154867,
-0.04679554,
-0.021286476,
0.011735038,
0.04130039,
-0.03155373,
0.01349927,
-0.0590584,
-0.02777943,
-0.014713988,
0.0037236873,
0.061314307,
-0.032218933,
0.016832512,
0.021633537,
0.028676007,
0.031148825,
-0.015357498,
0.03062823,
-0.0020552585,
-0.015198428,
-0.055501014,
-0.008105346,
-0.0000017899627,
0.0059940517,
0.025002932,
-0.01992715,
0.021532312,
0.06027312,
0.011091527,
-0.007356994,
-0.042688638,
-0.013774027,
-0.014323543,
0.022660263,
0.019493321,
-0.009876809,
-0.030975293,
0.027880656,
0.010795077,
-0.03655721,
0.0029464127,
0.050468616,
-0.02229874,
-0.006612256,
-0.039073408,
0.008886236,
-0.030339012,
-0.029615967,
-0.038639583,
-0.004804641,
0.00073524745,
0.007982428,
0.015429803,
-0.0106721595,
-0.010722773,
0.03438807,
-0.0059940517,
0.045812197,
0.008416256,
-0.0009354408,
0.0025053546,
-0.037771925,
-0.043990124,
0.0013972865,
0.022371044,
-0.0030313707,
0.06073587,
-0.006915936,
-0.01271115,
-0.041358236,
0.0122917835,
0.051249504,
-0.020433282,
-0.020172985,
-0.03250815,
-0.029283365,
-0.02887846,
0.0026770781,
-0.009146533,
-0.016080545,
0.010021418,
0.0029699118,
-0.03438807,
0.051278427,
0.024901707,
0.0030982525,
0.0036333064,
0.034908663,
0.018466596,
-0.04708476,
0.020303134,
0.015458724,
0.024222042,
0.044944543,
0.02529215,
0.01631192,
-0.03062823,
0.0041249776,
-0.030367935,
0.031119902,
-0.0071690017,
-0.003288052,
0.006959318,
0.016413145,
0.020982796,
-0.0023354387,
-0.027302219,
-0.02556691,
-0.03233462,
-0.004584112,
-0.02513308,
0.026810547,
0.01649991,
-0.04364306,
0.0046347254,
-0.03939155,
0.022862716,
-0.0006850861,
0.049224976,
-0.014728448,
0.024988472,
0.044134732,
-0.012212248,
0.02604412,
-0.03435915,
-0.04882007,
0.015979318,
-0.0015843747,
-0.01882812,
-0.035834163,
0.023889441,
0.07519679,
0.01538642,
-0.0147646,
-0.038899876,
-0.008568096,
0.011604889,
0.020679118,
-0.013607726,
0.015617795,
-0.022963943,
0.032884136,
-0.034706213,
0.002212521,
-0.044250418,
0.020230828,
0.036152303,
0.0022052904,
-0.0038393745,
0.0063158073,
0.009160994,
0.007270228,
0.009334525,
0.021546772,
0.0033856633,
-0.025957353,
0.03109098,
0.025870588,
0.08358412,
0.028820615,
0.009038076,
0.00090199994,
0.04205236,
0.0121760955,
-0.027764969,
-0.033578258,
0.015183968,
0.02999195,
-0.02213967,
-0.0039659077,
0.00020369563,
0.009132071,
-0.004804641,
-0.019811463,
0.024250966,
-0.000055301727,
-0.022125209,
-0.005148088,
-0.021864913,
0.029124295,
-0.031495888,
0.019435478,
0.013745106,
-0.034098852,
0.03817683,
0.0029373746,
-0.018857041,
0.0007361513,
-0.0004354093,
0.022747029,
0.010896304,
0.03973861,
0.025176464,
0.044510715,
-0.012154404,
0.033896398,
-0.010505859,
-0.008242725,
-0.06669377,
-0.045175917,
0.010614316,
0.006673715,
-0.013419735,
-0.006247118,
0.028459093,
-0.022674724,
0.0081993425,
-0.04994802,
-0.0036459598,
-0.013614957,
0.031148825,
0.038205754,
-0.011518124,
-0.0320454,
0.01255931,
0.0001724013,
0.01962347,
-0.0148007525,
0.059087325,
0.016037162,
0.04523376,
0.00176604,
-0.004594958,
0.0067207133,
0.017049426,
-0.007613675,
-0.044308264,
0.022183053,
-0.020042837,
0.016789129,
-0.03175618,
-0.06044665,
0.004500962,
0.01976808,
-0.03817683,
-0.03817683,
0.045436215,
-0.014894749,
-0.06848692,
-0.011886877,
0.05226177,
-0.0103250975,
0.013925867,
0.0063844966,
0.008821161,
-0.039507236,
-0.008054733,
-0.0574677,
0.027446829,
-0.0054517672,
-0.01884258,
-0.0077149016,
-0.019247485,
-0.024207583,
-0.015762404,
-0.010079262,
-0.035660632,
0.036267992,
-0.016601138,
0.055877,
0.027649282,
-0.036586132,
0.017946003,
0.051104896,
0.041994516,
0.0013358276,
0.06119862,
0.064900614,
-0.029673811,
0.004331046,
0.021561233,
-0.023253161,
0.000040191193,
-0.0017353105,
0.00329709,
-0.008372873,
-0.018929346,
-0.060330965,
0.009486364,
0.034619447,
-0.03169834,
-0.008669322,
0.0066773305,
-0.017483253,
-0.06999086,
-0.08005566,
-0.05726525,
0.02996303,
0.014497073,
-0.018076152,
0.02478602,
-0.07658504,
0.24965334,
0.06466924,
0.0014099398,
0.048935756,
0.017700167,
0.056773577,
0.015270732,
0.014525996,
0.010137105,
-0.036586132,
0.025060777,
-0.017136192,
-0.0032952824,
0.004175591,
0.010006958,
0.017946003,
-0.060099587,
0.0116338115,
0.013896945,
-0.046679854,
-0.037019957,
0.033896398,
-0.020071758,
0.035082195,
0.03169834,
0.025610292,
-0.012465314,
-0.032421384,
0.052984815,
-0.00082924345,
0.012458083,
0.015082741,
-0.003358549,
-0.01130121,
-0.022501193,
0.0026752704,
0.023744833,
-0.056397595,
0.008351182,
0.04722937,
-0.02448234,
-0.015097202,
0.011272288,
-0.016919278,
0.009609282,
0.07114773,
-0.006796633,
0.01255208,
0.020346517,
-0.022327662,
0.026391182,
-0.016384223,
0.023759294,
-0.04694015,
-0.035255726,
0.013311278,
-0.03074392,
-0.02558137,
0.013108825,
-0.0241642,
0.009522516,
0.014403078,
-0.007295535,
0.017063888,
-0.016861435,
0.008423487,
-0.044828855,
0.04708476,
-0.026955158,
-0.021011718,
0.01709281,
-0.013716184,
-0.038986642,
-0.024771558,
0.012631615,
-0.0194644,
-0.04552298,
0.018972728,
-0.0015599718,
-0.05764123,
0.009074228,
-0.027331142,
-0.025942892,
-0.055674545,
0.02494509,
0.025162002,
-0.022240898,
0.014851366,
0.000056657438,
0.024207583,
-0.012609923,
0.041994516,
0.027070845,
0.03326012,
0.008842853
] | model = AutoModel.from_pretrained(
"julien-c/EsperBERTo-small", revision="v2.0.1" # tag name, or branch name, or commit hash
)
Files are also easily edited in a repository, and you can view the commit history as well as the difference: |
[
0.021852514,
0.0070612393,
-0.006341895,
0.0016875429,
0.0023835571,
-0.0066374093,
0.008717676,
-0.017264264,
0.027000686,
0.00071156764,
-0.0016817104,
0.0027471175,
0.055027895,
-0.058014147,
-0.011937227,
0.0362394,
0.004716566,
-0.0071701133,
-0.05362809,
-0.012924868,
0.01357811,
0.0022863485,
-0.069990255,
-0.036861535,
0.0041799736,
0.043269534,
0.0013959168,
-0.01252048,
0.0922005,
0.02972253,
-0.045167048,
0.010366335,
0.0083210645,
-0.003713372,
0.007080681,
-0.030982355,
-0.015856681,
-0.017030964,
-0.05421912,
-0.062462416,
0.01532009,
0.016953196,
0.025492007,
-0.07036354,
-0.062275775,
0.0036803212,
0.0061202594,
0.0016039434,
0.028229404,
-0.051263977,
-0.013321479,
0.050486308,
-0.006886264,
0.046722386,
-0.020561583,
-0.013663654,
-0.0057780845,
-0.014130255,
-0.03431078,
0.03664379,
0.052943744,
0.03767031,
-0.02165032,
-0.008904316,
0.01802638,
0.03219552,
-0.015164556,
-0.005498124,
-0.028587133,
-0.016113313,
0.001274406,
0.02922482,
0.012100538,
-0.05210386,
-0.012901538,
-0.031355634,
0.012193859,
0.0016651849,
0.047624484,
0.041029844,
0.0021055404,
0.029504782,
0.009052074,
0.0012131645,
-0.016548809,
-0.031231208,
0.046753492,
-0.023330087,
0.0050509637,
-0.041994154,
-0.002426329,
0.016719894,
-0.011906121,
0.026518531,
0.03188445,
0.0504552,
-0.027078453,
0.027233988,
-0.020110535,
-0.012069431,
0.034341887,
0.06575973,
-0.01360144,
0.03443521,
-0.0031670593,
0.011175111,
0.016844323,
-0.015358973,
-0.0050665173,
-0.019021796,
0.026440764,
-0.04407831,
0.021308145,
-0.017077623,
0.0033478674,
0.019395078,
-0.009300928,
0.034839597,
-0.04059435,
-0.050984014,
0.027871676,
-0.027685035,
0.008437715,
-0.06252463,
0.019363971,
-0.006085264,
0.040438816,
0.027685035,
0.04022107,
-0.032413267,
0.0057741962,
0.016922088,
0.038199127,
0.049521998,
-0.0053192596,
-0.0032292728,
0.01986168,
-0.012123868,
0.03770142,
-0.05652102,
-0.025803076,
0.023625601,
0.041620873,
0.07950893,
0.03521288,
-0.004316066,
0.010296345,
-0.065199815,
-0.01990834,
0.02146368,
-0.0055059004,
0.023112338,
0.01440244,
-0.0018071096,
-0.03574169,
0.015957778,
-0.051668365,
0.023967775,
-0.0069640307,
0.002861824,
0.0075939433,
0.035150662,
-0.051606152,
0.046473533,
-0.00014909383,
0.013197052,
-0.008367724,
-0.02160366,
0.03412414,
-0.042056367,
-0.012442713,
-0.005101512,
-0.0181197,
-0.009090957,
0.019503953,
0.006967919,
0.038821265,
0.0071973316,
0.013873625,
0.010459655,
-0.0095031215,
0.0047243424,
0.039225653,
0.04697124,
-0.0272962,
-0.022303563,
-0.019332865,
-0.010094151,
-0.009627549,
-0.02508762,
-0.02073267,
0.054436866,
-0.026347443,
0.011657266,
-0.020421602,
0.004662129,
-0.04510483,
0.011462849,
0.014620188,
-0.05026856,
-0.020748224,
0.04087431,
-0.007978889,
0.029738083,
0.021401465,
-0.056738768,
0.023781134,
0.0026226905,
-0.018555196,
-0.0019334808,
0.050610732,
-0.007302317,
-0.010840713,
-0.044980407,
0.0058208564,
-0.012862654,
0.01917733,
0.04491819,
-0.012131644,
0.011283985,
-0.010545199,
0.021992495,
0.02807387,
0.01541341,
0.011112898,
0.031946663,
-0.011532839,
-0.0024438265,
0.010039714,
-0.02560088,
0.017404243,
0.05278821,
0.045695864,
0.027778355,
0.03132453,
0.055059005,
0.04582029,
0.03605276,
0.01007082,
0.012987081,
0.015654488,
-0.014596857,
0.016408827,
0.0137258675,
0.030282453,
-0.03297319,
0.01369476,
0.0036472701,
0.0011878902,
0.025849735,
-0.09425355,
0.04591361,
0.00008007566,
0.006299123,
-0.043922774,
-0.02802721,
-0.00898986,
0.04106095,
-0.0033264814,
-0.053410344,
0.00038616153,
0.016626574,
0.027031792,
-0.015631158,
0.031588938,
0.02701624,
-0.004638799,
0.022676844,
-0.02357894,
-0.052632675,
-0.038261343,
-0.00077426725,
-0.06887042,
0.014464653,
-0.047593378,
0.026487425,
0.028649345,
-0.05695652,
-0.017901953,
-0.042118583,
0.026705172,
-0.00156506,
-0.021261485,
0.03200888,
0.041589767,
0.0330354,
-0.04485598,
0.025663095,
-0.036581576,
0.026207464,
-0.013881401,
0.0036142191,
0.0018722394,
-0.021945834,
0.016579915,
0.0058908467,
-0.019472845,
-0.027825017,
-0.026549637,
0.018275235,
-0.03183779,
0.021868067,
0.0015358974,
0.034155246,
-0.021805855,
0.0011723369,
-0.022241348,
-0.033408683,
0.028462704,
0.0633023,
0.031433403,
0.009479792,
0.0017244822,
0.028540472,
-0.03739035,
0.066568516,
0.07496735,
0.034995127,
-0.05356588,
-0.002103596,
-0.025289813,
0.003588945,
0.01169615,
-0.033377577,
0.0035714475,
0.051917218,
-0.025569774,
-0.052134965,
-0.01894403,
-0.017497564,
-0.042771824,
-0.015180109,
-0.012691567,
0.053285915,
0.0025954721,
0.011175111,
-0.052321605,
-0.031822238,
-0.015452294,
0.022770165,
0.005132619,
-0.0103507815,
0.05344145,
0.00035311058,
-0.05023745,
-0.0011645601,
0.037950274,
-0.07173224,
0.020608243,
-0.03219552,
0.006656851,
-0.021992495,
0.0115639465,
0.00993084,
0.014752391,
0.045167048,
-0.05210386,
0.014029158,
-0.0038727943,
0.0078233555,
0.043114,
0.041092057,
0.0010819328,
0.009160947,
-0.072292164,
-0.006575196,
-0.052321605,
-0.02986251,
0.066133015,
-0.03412414,
0.017124284,
-0.01061519,
-0.009821966,
0.014581304,
-0.0149234785,
-0.035492837,
0.04242965,
0.013966945,
0.036488254,
-0.014192469,
-0.039101224,
-0.004273294,
0.023890007,
0.04476266,
0.005303706,
-0.00056186627,
-0.047593378,
0.015802246,
-0.022723503,
-0.029395908,
0.022350222,
-0.023983328,
-0.013881401,
0.0040944302,
-0.017964166,
-0.060938183,
0.03155783,
0.058200788,
0.057858612,
0.018539641,
0.0628357,
0.00501208,
-0.0026324114,
0.0145735275,
0.020981524,
0.015701149,
-0.04849547,
0.021588106,
0.039350078,
-0.00061144267,
0.0050704055,
0.020110535,
-0.035057344,
0.017870845,
-0.008842102,
0.016579915,
-0.030717947,
-0.0013618937,
-0.016455488,
-0.0029104282,
-0.052912634,
-0.035306197,
-0.06943034,
0.032693226,
0.05316149,
-0.03633272,
0.00074316043,
-0.009192054,
-0.021914728,
0.020312728,
-0.019939447,
-0.05297485,
-0.0127615575,
0.009262044,
-0.053690303,
0.05123287,
-0.0014270236,
0.0056419927,
-0.026223017,
-0.055929992,
0.042554077,
0.006757948,
-0.032319944,
-0.008274404,
0.016766556,
0.02508762,
-0.028229404,
0.026160803,
0.022101369,
0.0036861536,
0.019068457,
0.0143246725,
-0.0137258675,
-0.028696006,
-0.07079904,
-0.047997765,
0.04233633,
-0.006617968,
0.054188013,
-0.018228574,
-0.00391751,
0.044793766,
0.0076989285,
-0.026316337,
-0.037079282,
0.018912923,
0.04302068,
-0.023003465,
0.013780304,
0.016564362,
-0.0046815705,
0.05652102,
-0.004253852,
-0.006240798,
0.0011013745,
-0.019301757,
-0.017233158,
-0.018881816,
0.01061519,
0.012403829,
-0.028384939,
0.078078024,
0.0033498115,
0.018741837,
-0.03701707,
-0.020701563,
-0.005307595,
-0.006050269,
0.009658656,
0.03732814,
0.02885154,
0.009433132,
-0.0039777798,
-0.007166225,
-0.013103732,
-0.0017769749,
-0.0610004,
0.008741005,
0.05599221,
0.01779308,
0.024574358,
-0.021899175,
-0.01075517,
0.009324258,
0.022256901,
0.034093034,
-0.031122334,
-0.01894403,
0.011556169,
-0.0117972465,
-0.030717947,
-0.019830573,
-0.021805855,
-0.008398831,
-0.0181197,
0.0015601995,
-0.0012569084,
-0.016859876,
-0.0010887374,
0.0504552,
0.0036744885,
-0.040625457,
-0.016471041,
0.015802246,
-0.012302732,
0.032942083,
0.020577136,
-0.0217903,
-0.013165945,
-0.026223017,
0.007523953,
-0.07316315,
0.00045566575,
-0.01539008,
-0.022490203,
-0.002927926,
0.051357295,
0.007092346,
-0.06426661,
-0.010031937,
-0.023298979,
-0.019690592,
-0.032599907,
-0.011353975,
-0.0049265367,
-0.005828633,
-0.008025549,
0.047593378,
-0.024589911,
-0.013710314,
-0.011758364,
0.016299954,
0.044607125,
0.027327308,
-0.045633648,
-0.012691567,
0.03770142,
-0.006186361,
-0.04330064,
0.040469922,
-0.03527509,
0.023361193,
0.00981419,
0.0072867638,
-0.021681426,
-0.01986168,
-0.064515464,
0.011898344,
0.018057486,
-0.057765294,
0.03325315,
-0.027685035,
-0.007570613,
-0.006567419,
0.045260366,
-0.018135253,
0.012574917,
-0.04457602,
-0.044109415,
0.03633272,
-0.012839324,
-0.01073184,
-0.030873481,
-0.046909027,
0.031822238,
-0.027249541,
0.019099563,
0.06268016,
-0.0015077068,
-0.011159558,
-0.05151283,
0.06538645,
0.02101263,
0.007570613,
-0.032102197,
0.028338278,
-0.06286681,
0.015864458,
-0.029660316,
-0.006252463,
0.008149977,
0.019255098,
0.0037639206,
-0.020001661,
0.027793908,
-0.011750586,
-0.03508845,
-0.02710956,
0.046286892,
-0.020281622,
0.0162844,
0.03810581,
0.025118725,
-0.007329535,
0.014487984,
0.0016496315,
0.0058986233,
-0.039972216,
0.08560586,
0.015234546,
-0.019923894,
-0.014192469,
-0.0027471175,
-0.061902497,
-0.040967632,
-0.04106095,
0.008748782,
-0.0394434,
0.010078597,
0.026580745,
0.010584082,
-0.055401176,
0.030764608,
0.031728916,
0.019379525,
-0.030158024,
-0.010008607,
-0.006641298,
-0.011190665,
0.0055875555,
0.064515464,
-0.016782109,
-0.02642521,
-0.011859461,
0.01461241,
-0.025103172,
-0.005622551,
0.04078099,
-0.03462185,
0.046286892,
0.03835466,
0.013756974,
0.06930591,
0.031542275,
0.027436182,
0.0018294676,
-0.031853344,
-0.052912634,
-0.006789055,
0.01273045,
-0.012917091,
-0.00898986,
-0.054965682,
0.006979584,
-0.009145394,
0.018275235,
-0.011159558,
-0.0747807,
0.03297319,
-0.01857075,
0.0038222459,
0.02280127,
-0.0063924436,
-0.008181084,
0.010934033,
-0.0017517006,
-0.031573385,
-0.020608243,
0.039567824,
-0.019799467,
-0.05770308,
-0.02536758,
-0.006194138,
-0.039661147,
-0.02903818,
-0.01449576,
-0.06955476,
0.023501173,
0.011237325,
0.009876403,
-0.03183779,
-0.010724063,
0.043238427,
0.013103732,
0.030982355,
-0.0038864035,
-0.0132281585,
0.01953506,
-0.011408412,
-0.027949443,
-0.023936668,
0.018306341,
0.033968605,
0.04270961,
0.028151637,
-0.02435661,
0.0023077345,
0.005805303,
0.030469092,
-0.00032248982,
0.0015631157,
-0.016268848,
0.0012248295,
-0.027871676,
0.006442992,
-0.024869872,
-0.017264264,
-0.0054514636,
0.047997765,
-0.031308975,
0.030298006,
-0.015273429,
-0.01715539,
-0.022054708,
0.019690592,
0.03907012,
-0.026627405,
0.012403829,
-0.0032273286,
0.031293422,
-0.006855157,
0.008157753,
0.01715539,
-0.018244127,
0.017170943,
-0.007139006,
0.017357584,
0.012380499,
-0.0072362153,
0.034559634,
0.056987625,
0.015514507,
0.009332035,
0.019970553,
-0.025803076,
-0.02073267,
-0.0030620738,
-0.046597958,
-0.026985133,
0.035990547,
-0.053192597,
0.018866263,
-0.030531306,
0.013585887,
0.024574358,
0.030982355,
-0.008235521,
0.020857098,
0.015942225,
0.014767945,
0.039505612,
-0.039039012,
-0.05816968,
-0.017450904,
0.02110595,
-0.02678294,
-0.03278655,
0.032039985,
0.04697124,
-0.015180109,
-0.015436741,
-0.02026607,
-0.0065052058,
0.04009664,
0.01642438,
-0.007457851,
-0.0065168706,
-0.032164413,
0.050797373,
-0.01748201,
0.014736838,
-0.01633106,
0.011906121,
0.030375773,
0.011812801,
-0.00060755434,
0.026471872,
-0.010762947,
-0.009456461,
0.030997908,
0.03040688,
0.02880488,
-0.011758364,
0.024558805,
0.0060230508,
0.046038035,
0.024341056,
0.0012617689,
0.0021988605,
0.04028328,
-0.002550756,
0.0031592825,
-0.02325232,
0.020374943,
0.009409801,
-0.03412414,
0.011455072,
0.013998052,
0.0067501715,
0.0040866532,
0.01642438,
0.034372993,
0.0034411878,
-0.016222186,
-0.018104147,
-0.052041646,
0.013772528,
-0.020359388,
-0.015110119,
0.024076648,
0.00079030666,
0.03925676,
-0.029784743,
0.03188445,
0.008982083,
0.016035546,
0.02633189,
-0.029878063,
0.02270795,
0.013834741,
0.01857075,
-0.005793638,
0.0065363124,
-0.033377577,
-0.008134424,
-0.031682257,
-0.041309807,
-0.019410633,
0.032133304,
-0.0033070396,
-0.0054436866,
0.036457147,
-0.047593378,
-0.034093034,
-0.06495096,
0.0015864458,
-0.07366086,
-0.030437985,
0.024745444,
0.014130255,
-0.06675515,
0.039972216,
0.007617273,
0.03829245,
0.021479232,
-0.0052142744,
0.03527509,
0.020670457,
0.040749885,
-0.029644763,
0.01353145,
-0.00061873335,
-0.05023745,
0.0040516583,
0.0061435895,
-0.009409801,
-0.028696006,
-0.031215655,
-0.043829456,
-0.0051170657,
-0.0027762803,
-0.0270629,
-0.0254609,
0.029738083,
-0.01885071,
-0.046909027,
0.016735448,
0.052539352,
-0.0013055127,
-0.011595053,
-0.012854878,
0.032942083,
-0.016890982,
-0.07278987,
-0.018041933,
-0.0032195519,
0.028944861,
-0.025320921,
-0.019363971,
-0.038976796,
0.0056303274,
-0.021961387,
-0.024807658,
0.02600527,
0.05695652,
0.0044677113,
0.054063585,
0.023236766,
-0.04414052,
-0.0016826824,
0.005727536,
0.047593378,
-0.01435578,
0.07714482,
0.054499082,
0.0053503662,
0.002962921,
0.01070851,
0.02633189,
-0.026736278,
0.0077339234,
-0.016688788,
-0.024869872,
-0.031168995,
-0.034528527,
-0.018197468,
0.022163581,
-0.013686984,
-0.033097617,
-0.022832377,
-0.019955,
-0.049148716,
-0.052632675,
-0.07179445,
-0.027498394,
0.021168165,
-0.037172604,
0.01779308,
-0.051108442,
0.2894175,
0.042180795,
0.012489373,
0.016642129,
0.01536675,
0.06264906,
0.036114972,
0.024558805,
0.026378551,
-0.03692375,
-0.002494375,
-0.002148312,
0.005560337,
0.019068457,
-0.013889178,
0.04183862,
-0.034528527,
-0.0108329365,
0.010008607,
-0.06324009,
-0.06638187,
0.0039447285,
0.0022202465,
0.04687792,
0.038821265,
-0.028867094,
-0.035897225,
-0.007905011,
-0.03788806,
-0.0165177,
0.03574169,
-0.01769976,
0.030313559,
-0.034061927,
-0.022303563,
0.049833063,
0.008717676,
-0.019690592,
0.0010829049,
0.009658656,
0.0021988605,
0.01007082,
0.014884595,
-0.020374943,
-0.012139422,
0.03885237,
-0.016362168,
0.00014617757,
0.008297734,
-0.033564217,
0.028384939,
-0.040967632,
0.003064018,
-0.026207464,
-0.05005081,
-0.016128866,
-0.021494785,
-0.04009664,
-0.003378974,
0.0034178577,
0.029566996,
0.017030964,
0.0038591851,
-0.02228801,
-0.04871322,
0.022770165,
-0.039350078,
0.07372307,
-0.016455488,
-0.046597958,
-0.023905562,
-0.017901953,
-0.0091765,
-0.043145105,
0.013811411,
-0.022101369,
-0.008935423,
0.030811267,
0.0081422,
-0.042056367,
0.019115116,
-0.009168724,
-0.01268379,
-0.047313415,
0.028556025,
0.034995127,
-0.032164413,
-0.022132475,
0.036954857,
0.030422432,
0.004732119,
0.027856123,
-0.019146224,
0.00076551846,
-0.00039393821
] | Files are also easily edited in a repository, and you can view the commit history as well as the difference:
Setup
Before sharing a model to the Hub, you will need your Hugging Face credentials. If you have access to a terminal, run the following command in the virtual environment where 🤗 Transformers is installed. This will store your access token in your Hugging Face cache folder (~/.cache/ by default): |
[
0.023343457,
0.0019197857,
-0.050957058,
0.011429753,
0.0016902655,
-0.018276218,
0.0018085841,
-0.0009154122,
-0.016397355,
0.038260493,
-0.010291048,
0.0036829996,
0.05246584,
-0.073047936,
0.0071489336,
0.054942526,
-0.0011662832,
-0.046174496,
-0.060920727,
-0.018219283,
-0.003145673,
0.0060600466,
-0.07412971,
-0.026659936,
0.003779078,
0.01981347,
0.034445833,
-0.033307128,
0.062514916,
0.012298016,
-0.014248049,
-0.010212762,
-0.008625692,
-0.034331962,
-0.0001857068,
-0.022489427,
0.015244416,
-0.011643261,
-0.04779715,
-0.050387707,
0.018190816,
-0.008789381,
0.011508039,
-0.056650583,
-0.061717823,
0.011102376,
0.002917932,
-0.0039570006,
0.029207788,
-0.042957652,
0.0057397857,
0.043527007,
-0.008383717,
0.01567143,
-0.0590988,
-0.014931272,
-0.06968876,
-0.0033698557,
-0.049932223,
-0.000024547771,
0.056280505,
0.034303494,
0.001976721,
-0.06741135,
0.014162646,
0.04435257,
0.0033022452,
-0.0054088496,
-0.031513665,
0.0048608477,
-0.02899428,
0.019372223,
-0.034645107,
-0.031086652,
-0.0016075314,
0.035499133,
0.022375558,
0.01850396,
-0.009913852,
0.025948245,
0.018461257,
0.054088496,
0.008839199,
0.0077289613,
-0.0076506757,
-0.041164193,
0.07788744,
-0.008312548,
-0.024638733,
-0.04756941,
0.0047967955,
0.0059177084,
0.001737415,
0.031143587,
0.005828747,
0.042075157,
-0.016183848,
0.02310148,
0.008718211,
-0.02786981,
0.034502767,
0.07338955,
-0.01843279,
0.022674467,
-0.015529092,
0.016440056,
0.022603298,
-0.019244118,
0.020767136,
-0.022005478,
0.0072450116,
-0.0010283932,
0.015998809,
0.049391337,
0.029891012,
0.018546661,
-0.027129652,
0.009437019,
-0.025051514,
-0.026403727,
-0.023998212,
-0.019016378,
-0.023571197,
-0.03481591,
0.041192662,
-0.026517598,
0.028965814,
0.033933416,
-0.008020755,
-0.0026990871,
0.016013041,
-0.000646749,
0.027357392,
0.05357608,
-0.009814216,
-0.051412538,
-0.03063117,
-0.002015864,
0.021222617,
-0.017963074,
-0.0023574757,
-0.00071925245,
0.011593442,
0.07099827,
-0.0022934235,
0.012184146,
0.016596628,
-0.04563361,
-0.0050387704,
-0.0035673499,
-0.01449714,
0.022033945,
-0.025862841,
0.025805907,
-0.03100125,
0.011273181,
-0.02448216,
0.03182681,
0.0094939545,
0.019016378,
0.008597224,
0.017507592,
-0.022446726,
0.034645107,
0.0067005684,
0.04033863,
-0.0177638,
-0.05033077,
-0.005028095,
-0.020397056,
0.015287117,
-0.003026465,
-0.010483204,
0.007252129,
0.043441605,
0.019571496,
0.039683875,
-0.01656816,
0.0065048533,
0.026346792,
-0.018447025,
-0.004750536,
-0.004220326,
0.044608776,
-0.0035157523,
-0.0030495948,
-0.016795902,
-0.026275622,
0.008255613,
-0.018973675,
0.020824071,
0.02683074,
-0.0482811,
0.024766838,
-0.022645999,
-0.00876803,
-0.03589768,
0.015230182,
-0.009486837,
-0.06581716,
-0.017820736,
0.06422298,
-0.035641473,
0.031542134,
-0.0014482907,
0.018233517,
0.003725701,
0.01272503,
-0.011145077,
0.010205645,
0.055625748,
-0.021820439,
0.015956106,
-0.028866177,
0.029236255,
-0.0136217605,
-0.008504705,
0.022247452,
-0.0040424033,
0.019044844,
0.005241602,
0.008056339,
0.0502169,
0.017820736,
0.047256265,
-0.01663933,
-0.012774849,
0.028197188,
0.019059079,
-0.022361323,
0.012625393,
0.059782024,
-0.0055333953,
0.043555472,
0.048451904,
-0.025136918,
0.034787443,
0.026432194,
0.023599666,
0.012952772,
0.015771067,
-0.006077839,
0.00904559,
0.018888272,
0.012226847,
-0.013799683,
0.017208682,
-0.004722068,
-0.017977308,
0.045377403,
-0.060863793,
0.043185394,
0.008006521,
-0.030517299,
-0.06336895,
-0.00078463904,
0.010952921,
0.03882985,
-0.00059470657,
0.015828002,
0.022731403,
-0.010041957,
-0.023798939,
0.005718435,
0.043384667,
0.057590015,
-0.026033647,
0.018646298,
0.00048661855,
-0.03282318,
-0.03362027,
-0.035641473,
-0.1004338,
-0.0072877132,
-0.057476144,
-0.010283931,
0.005334122,
-0.029136619,
0.006931868,
-0.024866475,
-0.008647042,
0.025777439,
-0.003097634,
0.04648764,
0.060863793,
0.026361026,
-0.062514916,
0.02432559,
-0.05596736,
0.019827705,
-0.0016342199,
-0.016397355,
0.009052706,
0.003939208,
0.016169613,
0.010654011,
-0.04514966,
-0.041192662,
-0.017792268,
0.017493358,
-0.03256697,
0.009444136,
0.025350424,
0.012539991,
-0.019799236,
0.01240477,
-0.0034570377,
-0.02828259,
0.05092859,
0.04312846,
-0.010162944,
0.030061817,
0.027471263,
0.029919479,
-0.04085105,
0.054942526,
0.07230778,
0.0022560596,
-0.045434337,
-0.043811683,
-0.042189028,
0.016055744,
-0.011109493,
-0.04865118,
-0.008127509,
0.035100587,
-0.027072717,
-0.046288367,
-0.01638312,
-0.035698406,
-0.041021854,
0.0062877876,
-0.02354273,
0.05633744,
0.014788934,
0.017521827,
-0.04682925,
-0.00462599,
0.012938538,
-0.00906694,
0.0010230554,
-0.019059079,
0.04358394,
0.036381632,
0.010952921,
0.010646894,
0.027414327,
-0.052408908,
0.014646595,
-0.009543773,
0.013515008,
0.010504555,
0.014888571,
-0.004483652,
0.00070635305,
0.03529986,
-0.03401882,
0.010511672,
0.020838305,
0.008703978,
0.005294979,
0.018333154,
0.0355276,
-0.0177638,
-0.06655732,
-0.010177177,
-0.012774849,
0.01764993,
0.057020664,
-0.02678804,
0.024055148,
-0.0064728274,
-0.04506426,
-0.030488832,
0.010113126,
-0.015315585,
0.027884044,
0.03495825,
0.030488832,
-0.020397056,
-0.046800785,
0.021948542,
-0.0057113185,
0.04816723,
0.03191221,
0.023158416,
-0.041989755,
0.0092662135,
-0.037292596,
-0.01014871,
-0.021735035,
0.0067005684,
-0.03771961,
-0.022147816,
-0.027129652,
-0.014675063,
0.052778985,
0.045918286,
0.044722646,
0.019457625,
0.06194556,
-0.008106157,
-0.011081025,
0.022404024,
-0.0056081233,
-0.037861947,
-0.06735441,
0.035954617,
0.02156423,
0.0038146623,
-0.0022987612,
-0.014717764,
-0.007757429,
0.0059426175,
-0.008874783,
-0.008981537,
-0.028723838,
-0.0055938894,
0.013707164,
0.017564528,
-0.0109458035,
-0.049989156,
-0.054230835,
0.0020318772,
0.060123634,
-0.018247752,
0.026133284,
-0.029748673,
-0.014945506,
0.044381034,
-0.041021854,
-0.029834077,
-0.014454439,
-0.0029036982,
-0.053149063,
0.062173303,
0.04887892,
-0.008333899,
0.00552272,
-0.06883473,
-0.0051811086,
0.0035228692,
-0.03268084,
-0.037121788,
-0.012547107,
0.00280762,
-0.0014224919,
0.04264451,
0.018119646,
0.017521827,
0.009899618,
-0.016596628,
0.0049462505,
-0.038288962,
-0.03159907,
-0.038288962,
-0.0061454494,
0.0034499208,
0.05596736,
0.019671133,
-0.02626139,
-0.019628432,
0.020083914,
-0.042502172,
-0.056138165,
0.018176582,
0.023813173,
0.0037043504,
0.04224596,
0.0023485795,
-0.009415668,
0.026417961,
0.014482907,
-0.01668203,
0.013344201,
-0.0023183327,
-0.0065760226,
-0.03256697,
0.002006968,
0.013657345,
-0.045576677,
0.060123634,
0.004134923,
-0.009280447,
-0.010454737,
-0.074243575,
-0.045861352,
0.010938686,
-0.0033769726,
0.03794735,
0.027670536,
-0.0005773591,
-0.0061134235,
-0.0073232977,
-0.006330489,
-0.011358584,
-0.02529349,
0.019172948,
0.07208004,
0.013322851,
0.0041206894,
-0.026631467,
-0.062059432,
0.018546661,
-0.023343457,
0.042701446,
-0.015201714,
-0.033022452,
-0.0025976712,
-0.016852837,
-0.036950983,
-0.024681436,
-0.04623143,
0.020624798,
-0.01003484,
-0.004455184,
0.0017107266,
-0.009671877,
-0.04697159,
0.04782562,
-0.044267163,
-0.052038826,
-0.018703233,
0.011095258,
0.048366502,
0.01074653,
0.030602703,
-0.024667202,
-0.05380382,
-0.035755344,
0.01389932,
-0.06427991,
0.0016466745,
-0.04876505,
-0.05366148,
0.009173694,
0.03481591,
0.008568756,
-0.08312548,
0.028980047,
-0.057390742,
-0.00030157896,
-0.04779715,
-0.021521527,
-0.029720206,
0.028666902,
-0.031513665,
0.059838958,
-0.0040815463,
0.020496694,
0.006241528,
0.038288962,
0.0033983232,
0.06615877,
-0.010205645,
-0.02443946,
0.026361026,
0.015087844,
0.0007014602,
0.017564528,
-0.029976415,
0.030688105,
-0.00966476,
0.06388136,
-0.07168149,
-0.021777736,
-0.02653183,
-0.018105412,
0.023927042,
-0.025065748,
0.024225952,
-0.013835268,
-0.0049213413,
0.0069994787,
0.021891607,
-0.0004314625,
-0.0063411645,
-0.03749187,
-0.059554283,
0.048850454,
-0.04096492,
-0.020098146,
-0.016966708,
-0.009671877,
0.04865118,
-0.038345896,
0.008931719,
0.06627264,
0.012967005,
0.008782264,
-0.046886187,
0.038972184,
0.02823989,
0.014333451,
-0.0011440428,
-0.002149306,
-0.029919479,
0.005120615,
-0.025051514,
-0.022560596,
-0.005081472,
-0.00096612016,
0.021663867,
-0.013977606,
0.023699302,
-0.0060209036,
-0.054800186,
-0.05047311,
0.029606335,
0.02312995,
0.014376153,
0.014511375,
0.022973377,
0.005095706,
0.023400392,
0.014675063,
-0.014917038,
0.0020123057,
0.059041865,
0.014411737,
-0.04130653,
0.012974123,
0.029264724,
-0.03951307,
-0.0423029,
-0.045348935,
0.027926745,
-0.024524864,
-0.013344201,
-0.0009260876,
0.011814066,
-0.034161154,
0.05383229,
0.047882553,
0.00835525,
-0.007622208,
0.0027862692,
0.017450657,
-0.044694178,
0.012490173,
0.022546362,
-0.03276624,
-0.0066080485,
-0.03256697,
-0.00065253145,
-0.026731104,
-0.021877373,
0.066842,
-0.018119646,
0.03672324,
0.06803764,
0.0084264185,
0.04227443,
0.0023983978,
0.023386158,
0.021108748,
-0.021023344,
-0.0531206,
-0.0423883,
0.0074442853,
-0.019286819,
0.03675171,
-0.028026382,
0.012518641,
0.02906545,
0.03495825,
-0.011273181,
-0.061717823,
0.0027328925,
-0.04224596,
-0.034303494,
0.031798344,
0.019244118,
-0.015941873,
0.040310163,
-0.017749567,
-0.052152697,
-0.010141593,
-0.0076506757,
0.0080421055,
-0.01005619,
-0.043754745,
-0.0037933118,
-0.03902912,
-0.038516704,
-0.027513964,
-0.03626776,
0.025464294,
0.0018806428,
0.0033271543,
-0.0034944015,
0.020909473,
-0.0040281694,
-0.00409578,
0.025179619,
-0.021407658,
0.0098782675,
-0.03660937,
0.017849203,
-0.024240186,
-0.0019180066,
0.0134296045,
-0.030232623,
0.024311356,
0.016055744,
-0.017550293,
-0.019728068,
0.0015336935,
0.045861352,
-0.025378892,
-0.031769875,
-0.028481863,
0.017906139,
-0.04130653,
-0.010312399,
-0.0355276,
-0.025535464,
-0.025265021,
0.035840746,
-0.021179916,
0.010205645,
0.008034988,
0.025122683,
-0.009308915,
0.03396188,
0.017265618,
0.0033449465,
0.03831743,
0.00174898,
0.023144184,
-0.0071418164,
0.039000653,
0.05599583,
-0.03336406,
0.041733544,
0.012767732,
-0.014326335,
0.0012668095,
0.012098743,
0.032168422,
0.069233276,
0.008597224,
-0.011806949,
-0.02335769,
-0.0029499582,
-0.012774849,
0.034616638,
-0.06763909,
-0.011287415,
0.022147816,
-0.039911617,
0.037861947,
-0.0018966559,
0.015756832,
0.023001844,
0.030431896,
-0.023898575,
0.03211149,
-0.021806205,
0.02425442,
0.048338037,
-0.04620296,
-0.029520933,
-0.020881006,
0.02589131,
-0.032737773,
-0.029606335,
-0.0018032464,
0.060977664,
0.022247452,
-0.0068571405,
-0.027457029,
-0.025649335,
-0.00605293,
0.024297122,
-0.056735985,
0.019286819,
-0.034616638,
0.021820439,
-0.044978853,
0.019386455,
-0.0049035493,
0.027442794,
0.001974942,
0.041477337,
-0.0004167839,
0.07111214,
-0.017137513,
-0.024709903,
0.057077598,
-0.016838603,
0.023983978,
-0.013408254,
0.012511523,
-0.0051811086,
0.05858638,
-0.010226996,
0.030061817,
0.00009190819,
0.012945655,
0.01668203,
-0.015571794,
0.002791607,
0.020567862,
0.010981388,
0.0075937402,
0.024368292,
-0.02626139,
-0.01378545,
0.0009598929,
0.009501072,
0.03601155,
-0.0064336844,
-0.004181183,
-0.011088142,
-0.057504613,
0.008917485,
-0.026133284,
-0.027599366,
0.010476088,
0.027884044,
0.048907388,
0.017493358,
0.005138407,
0.037292596,
0.033791076,
0.019970043,
0.0021670982,
0.017066345,
-0.015301351,
0.04825263,
-0.024681436,
0.03962694,
-0.0077289613,
-0.018930973,
-0.01700941,
-0.013379786,
-0.0246245,
0.035641473,
-0.004547704,
-0.013614644,
0.008568756,
-0.04085105,
0.030346494,
-0.04073718,
0.016966708,
-0.05018843,
0.00044903238,
0.0034463624,
-0.028182954,
-0.035100587,
0.010312399,
-0.011742897,
0.041107256,
0.017222917,
0.045462806,
-0.0071382583,
0.06689893,
0.048679646,
0.009835566,
0.030801976,
-0.008390834,
-0.055084866,
0.004540587,
0.030545767,
-0.009237746,
0.022959143,
-0.023556964,
-0.073047936,
0.028595734,
0.030118752,
-0.020952176,
-0.062514916,
0.034645107,
0.016610863,
-0.04705699,
-0.008184443,
0.11250407,
0.012959888,
0.0027898278,
-0.0011271402,
-0.015159013,
-0.058927994,
-0.031997617,
-0.02275987,
0.03891525,
0.00051464135,
-0.04640224,
-0.001859292,
-0.056138165,
0.0115578575,
0.012554225,
0.008867667,
-0.0015826223,
0.010419153,
0.01910178,
0.02932166,
0.022702934,
-0.013550592,
-0.019158715,
0.030574234,
0.060123634,
-0.017678399,
0.071624555,
0.06655732,
0.00876803,
-0.008540289,
-0.015472157,
0.010774998,
-0.009244863,
-0.0050458875,
-0.024183251,
-0.00285388,
-0.010497439,
-0.039883148,
-0.022717169,
0.035100587,
-0.015244416,
-0.022688702,
-0.039570004,
-0.040452503,
-0.04623143,
-0.04560514,
-0.052408908,
-0.0067539453,
0.002266735,
-0.012696563,
0.025748972,
-0.05670752,
0.24117775,
0.037264127,
0.032282293,
0.0051277317,
0.028809242,
0.03854517,
0.0088819,
-0.003953442,
-0.004547704,
-0.00798517,
0.0074300515,
-0.029891012,
0.011650378,
0.024097849,
-0.00004498108,
0.017322553,
-0.0758947,
-0.018788636,
-0.0061668004,
-0.041249596,
-0.03817509,
0.006679218,
0.015842237,
0.017450657,
0.045548208,
0.0067717372,
-0.019543028,
-0.07270633,
-0.0053768237,
-0.017607229,
0.014112827,
-0.01272503,
0.018489726,
-0.02648913,
-0.009892501,
0.017877672,
-0.017493358,
-0.042701446,
-0.0045192363,
0.011408403,
0.009102524,
-0.002894802,
0.02485224,
0.010696712,
0.025649335,
0.022119349,
-0.007700494,
0.00043390895,
0.012525757,
-0.04697159,
0.030915845,
-0.077147275,
0.040167827,
-0.041932818,
-0.036239292,
0.028538799,
-0.062059432,
-0.03470204,
0.013180513,
0.031769875,
-0.0034143364,
0.017194448,
-0.023215352,
-0.025748972,
-0.029976415,
0.017094811,
-0.036694776,
0.04865118,
-0.0053554727,
0.0007210317,
-0.026617235,
-0.018347388,
-0.018148115,
-0.024183251,
0.011728664,
0.03868751,
0.01951456,
0.03473051,
-0.003065608,
-0.027328925,
0.00007061307,
0.038374364,
-0.0053697065,
-0.03196915,
0.024567565,
0.033791076,
-0.030318025,
0.0127962,
0.0031474524,
0.026318323,
0.017678399,
0.07441439,
0.004629548,
-0.009002888,
-0.0285815
] |
NVIDIA_TF32_OVERRIDE=0 RUN_SLOW=1 RUN_PT_TF_CROSS_TESTS=1 \
py.test -vv tests/models/brand_new_bert/test_modeling_tf_brand_new_bert.py
and we will merge your PR! Congratulations on the milestone 🎉
7. (Optional) Build demos and share with the world
One of the hardest parts about open-source is discovery. How can the other users learn about the existence of your
fabulous TensorFlow contribution? With proper communication, of course! 📣
There are two main ways to share your model with the community:
- Build demos. These include Gradio demos, notebooks, and other fun ways to show off your model. We highly
encourage you to add a notebook to our community-driven demos.
- Share stories on social media like Twitter and LinkedIn. You should be proud of your work and share
your achievement with the community - your model can now be used by thousands of engineers and researchers around
the world 🌍! We will be happy to retweet your posts and help you share your work with the community.
Adding TensorFlow weights to 🤗 Hub
Assuming that the TensorFlow model architecture is available in 🤗 Transformers, converting PyTorch weights into
TensorFlow weights is a breeze!
Here's how to do it:
1. Make sure you are logged into your Hugging Face account in your terminal. You can log in using the command
huggingface-cli login (you can find your access tokens here)
2. Run transformers-cli pt-to-tf --model-name foo/bar, where foo/bar is the name of the model repository
containing the PyTorch weights you want to convert
3. Tag @joaogante and @Rocketknight1 in the 🤗 Hub PR the command above has just created
That's it! 🎉
Debugging mismatches across ML frameworks 🐛
At some point, when adding a new architecture or when creating TensorFlow weights for an existing architecture, you
might come across errors complaining about mismatches between PyTorch and TensorFlow. You might even decide to open the
model architecture code for the two frameworks, and find that they look identical. What's going on? 🤔
First of all, let's talk about why understanding these mismatches matters. Many community members will use 🤗
Transformers models out of the box, and trust that our models behave as expected. When there is a large mismatch
between the two frameworks, it implies that the model is not following the reference implementation for at least one
of the frameworks. This might lead to silent failures, in which the model runs but has poor performance. This is
arguably worse than a model that fails to run at all! To that end, we aim at having a framework mismatch smaller than
1e-5 at all stages of the model.
As in other numerical problems, the devil is in the details. And as in any detail-oriented craft, the secret
ingredient here is patience. Here is our suggested workflow for when you come across this type of issues:
1. Locate the source of mismatches. The model you're converting probably has near identical inner variables up to a
certain point. Place breakpoint() statements in the two frameworks' architectures, and compare the values of the
numerical variables in a top-down fashion until you find the source of the problems.
2. Now that you've pinpointed the source of the issue, get in touch with the 🤗 Transformers team. It is possible
that we've seen a similar problem before and can promptly provide a solution. As a fallback, scan popular pages
like StackOverflow and GitHub issues.
3. If there is no solution in sight, it means you'll have to go deeper. The good news is that you've located the
issue, so you can focus on the problematic instruction, abstracting away the rest of the model! The bad news is
that you'll have to venture into the source implementation of said instruction. In some cases, you might find an
issue with a reference implementation - don't abstain from opening an issue in the upstream repository.
In some cases, in discussion with the 🤗 Transformers team, we might find that fixing the mismatch is infeasible.
When the mismatch is very small in the output layers of the model (but potentially large in the hidden states), we
might decide to ignore it in favor of distributing the model. The pt-to-tf CLI mentioned above has a --max-error
flag to override the error message at weight conversion time. |
[
0.050954986,
-0.010324491,
-0.010246383,
0.012916266,
0.003603631,
-0.009436898,
0.04720579,
0.010246383,
-0.018774385,
0.0036639874,
-0.039508577,
0.009372991,
-0.01758146,
-0.038060024,
-0.039991427,
-0.013889069,
0.00044934437,
-0.036554664,
-0.004622589,
0.03348714,
0.016132906,
0.027778137,
-0.06782637,
-0.038344055,
-0.016686764,
0.08566346,
0.015195606,
-0.015209808,
0.056834407,
0.03473687,
-0.047234192,
0.005694802,
0.010750537,
-0.034538053,
-0.012625135,
-0.044763133,
-0.0040935827,
-0.021586282,
-0.050358523,
-0.013590837,
0.000378115,
0.020691589,
0.02033655,
-0.04294534,
-0.03908253,
0.00935879,
-0.0048853164,
-0.0057374067,
0.041581996,
-0.019910505,
-0.032010183,
0.025704717,
-0.0036675378,
0.027550913,
-0.0643044,
-0.0059823827,
-0.022495179,
-0.01616131,
0.0012026896,
-0.015451234,
0.028346198,
0.049307615,
-0.008151662,
-0.0069906893,
-0.017482048,
-0.024142552,
0.009117364,
-0.0024178056,
-0.039139338,
-0.008556405,
-0.02260879,
0.030533228,
0.0058403676,
-0.06788318,
-0.0024852627,
-0.0052865087,
0.007690113,
-0.020975618,
0.026840838,
0.082311906,
0.075779215,
0.04328618,
0.008158763,
0.036554664,
-0.027011257,
-0.008286576,
0.039139338,
-0.023744911,
-0.0029485868,
-0.06311147,
0.013186094,
0.027309487,
-0.01966908,
-0.016388532,
0.041383177,
0.03857128,
-0.020691589,
0.03195338,
-0.007910237,
0.015209808,
0.019697482,
0.032862276,
0.0094653005,
0.04339979,
-0.017993303,
0.029993571,
0.022963827,
0.0066924575,
-0.016331727,
-0.031811364,
-0.0034527401,
-0.027820742,
0.014450028,
-0.007988345,
0.027494106,
0.016970795,
-0.021955522,
0.01749625,
-0.04104234,
-0.04615488,
-0.010565917,
0.02062058,
0.027295286,
-0.049392823,
0.0074770907,
-0.032123797,
0.0067315116,
-0.010182477,
-0.004462822,
-0.029283496,
-0.021018222,
0.0014281385,
0.00088848145,
0.049421225,
-0.025236068,
-0.01314349,
-0.02667042,
-0.0040829317,
0.051977497,
-0.021302253,
-0.012547026,
-0.01238371,
0.021387462,
0.10117149,
0.024043143,
0.00775402,
-0.006458133,
-0.034282424,
-0.0070723477,
-0.0050379825,
-0.03698071,
0.004842712,
0.01911522,
-0.016005091,
-0.05021651,
0.022836015,
-0.008648714,
0.03431083,
-0.021032423,
-0.009671222,
-0.012838157,
0.027735533,
-0.020464364,
0.023531888,
0.034282424,
0.034935694,
-0.029198287,
-0.029681139,
0.04283173,
-0.04416667,
-0.032294214,
-0.0055918414,
0.007235665,
0.006074692,
0.040786713,
0.025122456,
0.037321545,
-0.012191989,
0.0026468048,
0.008471196,
-0.025889337,
-0.008464095,
0.011268891,
0.041979637,
-0.007320874,
0.013534031,
0.012326904,
0.0014023982,
0.00089824497,
0.004682945,
-0.006348071,
0.03979261,
-0.063054666,
0.02194132,
0.0030621989,
0.011616828,
-0.02147267,
-0.008329181,
0.011133977,
-0.046751343,
-0.031158093,
0.084300116,
-0.018959004,
-0.0068025193,
0.049194,
-0.047291,
0.020393357,
-0.0011636355,
-0.03717953,
-0.03896892,
0.07532477,
-0.009543409,
-0.017226422,
-0.01938505,
0.02695445,
-0.002971664,
0.0016580253,
0.035674173,
-0.017183816,
0.0116097275,
-0.02250938,
0.014336416,
0.0032876476,
0.032294214,
-0.038031623,
0.0052084005,
-0.034282424,
-0.025463292,
0.006163452,
-0.011716239,
0.042150058,
0.028871652,
-0.018461952,
0.07458629,
0.018192124,
0.01580627,
0.04641051,
0.008719722,
0.015124599,
-0.019555468,
-0.032407828,
-0.0035059957,
0.023716507,
0.022679798,
0.015493838,
-0.04368382,
0.0068735266,
0.038542874,
0.001835544,
0.04030386,
-0.05975992,
0.047120582,
-0.023290463,
0.034481246,
-0.040616293,
-0.0012009145,
-0.0045160777,
0.039934624,
-0.012589631,
-0.008506699,
-0.02979475,
0.025434889,
-0.010750537,
0.011403806,
0.00907476,
0.016629959,
-0.002432007,
0.0020751944,
-0.012504422,
-0.04521758,
-0.0397358,
0.0052723074,
-0.04521758,
0.014400323,
-0.04558682,
-0.009010852,
0.024270367,
-0.039678995,
-0.018760184,
-0.025193464,
0.014194401,
0.02344668,
0.0034935693,
0.018674975,
0.04683655,
0.029624332,
-0.05069936,
-0.0054782294,
-0.014201501,
0.013697349,
-0.0042036446,
0.023574492,
0.023049036,
-0.01654475,
0.02336147,
-0.04027546,
-0.02165729,
-0.0026237273,
-0.04464952,
-0.007626206,
-0.017070204,
0.029681139,
0.031243304,
-0.0128310565,
-0.047631837,
0.025434889,
-0.0054143225,
-0.047376208,
0.026159165,
0.017084407,
-0.018405145,
0.026329584,
-0.034026798,
-0.009735129,
-0.024653807,
0.05126742,
0.044990357,
0.024668008,
-0.03507771,
-0.008165863,
-0.030703647,
0.0026911846,
0.0035201972,
0.0064084274,
-0.014308013,
0.057942126,
-0.03558896,
-0.06316828,
0.028857451,
-0.04055949,
-0.025832532,
-0.03081726,
0.01192216,
0.044024654,
-0.004132637,
0.018405145,
-0.033458736,
0.002439108,
0.005797763,
0.0312149,
0.015465435,
0.00434921,
0.047120582,
-0.012419213,
-0.02780654,
0.0061528003,
0.051097002,
-0.03672508,
0.013548233,
-0.007441587,
-0.028417204,
-0.040701505,
0.017609863,
0.009422696,
0.0028136724,
0.045359597,
-0.08884459,
0.025903538,
-0.011418007,
0.009216774,
-0.01163813,
0.03462326,
0.015948286,
0.021131834,
-0.0076191057,
-0.012660638,
-0.013278404,
0.04953484,
0.041013937,
-0.037577175,
0.056323156,
0.010068865,
-0.014322214,
-0.01599089,
-0.023972135,
-0.020379154,
0.017908093,
0.026244374,
0.019356646,
0.032606646,
0.0012213291,
-0.029823152,
-0.012596732,
0.0331179,
0.014812166,
-0.020506969,
-0.03323151,
0.016700966,
-0.017084407,
-0.033004288,
0.016473742,
-0.02818998,
-0.019470258,
-0.01749625,
0.002847401,
-0.003081726,
0.017325832,
0.05152305,
0.06157771,
0.019654877,
0.04851233,
0.007846329,
0.013853565,
0.023602895,
0.01097066,
-0.010700831,
-0.05731726,
0.024057344,
-0.017141212,
0.0057196547,
-0.065042876,
0.021316454,
-0.06384995,
0.055726692,
-0.019569669,
0.0032769965,
-0.03604341,
0.007874733,
-0.011375403,
-0.0010775389,
-0.059930336,
-0.023304664,
-0.02733789,
0.011993168,
0.05816935,
-0.035702575,
-0.012092578,
-0.011602627,
-0.026116561,
-0.029169884,
-0.03130011,
-0.06413398,
-0.03280547,
-0.01457074,
-0.035219725,
0.018987408,
0.007711415,
-0.023702307,
0.03360075,
-0.05706163,
0.047433015,
-0.0036213829,
0.002146202,
-0.013832263,
0.007782423,
0.03624223,
-0.0066178995,
0.022622991,
-0.014499733,
-0.038514473,
0.014641748,
-0.0044592717,
-0.006202506,
-0.031640947,
0.0007766446,
-0.038344055,
-0.0016029945,
0.033458736,
0.05666399,
-0.012880762,
-0.0052261525,
0.08163023,
0.04842712,
0.012128082,
0.0125683285,
0.033316724,
0.04530279,
0.0031136791,
0.022963827,
0.04717739,
-0.021401662,
0.07316613,
0.029169884,
0.0032698957,
-0.015593248,
-0.036838695,
-0.008158763,
-0.025051448,
-0.0028616025,
0.03544695,
-0.01540863,
0.021401662,
-0.009493704,
0.0019686832,
-0.0125115225,
-0.07015542,
0.028616026,
-0.022438372,
0.009763532,
0.02865863,
-0.028672831,
0.0052261525,
0.0036249333,
-0.02128805,
-0.018973205,
-0.01173044,
-0.04135477,
0.0073350756,
0.036441054,
0.007313773,
0.027281085,
0.024170956,
-0.040502682,
0.046240088,
-0.020506969,
0.0010819769,
-0.055101827,
0.02581833,
-0.029766347,
-0.06288425,
-0.04189443,
-0.0069232318,
-0.010146973,
-0.02922669,
-0.028331995,
0.01560745,
-0.0042497995,
0.034452844,
-0.020265542,
0.053852092,
-0.004512527,
-0.04890997,
0.0022562635,
0.03641265,
-0.03081726,
0.03743516,
0.028260987,
0.010054663,
-0.0141873,
0.000112668946,
0.045473207,
-0.06100965,
-0.018177923,
-0.03473687,
-0.030760452,
-0.0051941993,
0.012646437,
0.0041006836,
-0.06657664,
0.005815515,
-0.04814309,
0.0067137596,
-0.009096062,
-0.032294214,
-0.005843918,
-0.021912917,
-0.02675563,
0.046694536,
-0.00001637888,
-0.010146973,
0.011694936,
0.029283496,
0.002091171,
0.021075029,
-0.021202842,
-0.00034904628,
0.019598072,
0.031129692,
-0.0047823554,
0.078278676,
-0.017709272,
0.0039622188,
0.009720928,
0.054732587,
-0.022850215,
-0.033373527,
-0.060668815,
0.07259808,
0.05317042,
-0.031385317,
-0.043002147,
-0.009507906,
-0.009735129,
0.054420155,
0.06419079,
-0.010502011,
0.0051586954,
-0.026528405,
-0.023120044,
0.034680065,
0.004693596,
-0.008180065,
-0.011971866,
0.0032219656,
0.026428994,
0.006046289,
0.0089966515,
0.05220472,
0.013008575,
0.0007788636,
-0.06583816,
0.048995182,
0.026059756,
-0.008613211,
-0.015252412,
-0.033629157,
-0.01684298,
0.024753217,
-0.019640677,
-0.038457666,
-0.013605039,
0.016658362,
0.021202842,
-0.03706592,
0.04964845,
0.008393087,
-0.049421225,
-0.023688104,
-0.000303779,
-0.018987408,
0.021572081,
0.031754557,
0.00472555,
0.025704717,
0.014954181,
-0.036270633,
0.0138464635,
0.010196678,
0.06686067,
-0.014073688,
-0.033799574,
0.039394964,
0.034112006,
-0.056891214,
-0.06941694,
-0.017652467,
-0.022438372,
-0.02005252,
-0.016672563,
0.014883174,
0.0021302253,
-0.045643624,
0.014130494,
0.027053861,
-0.030163988,
-0.015536442,
-0.030675244,
-0.01011857,
-0.053568065,
0.03641265,
0.044791535,
-0.011815649,
-0.016587354,
-0.035049304,
0.014954181,
-0.020876206,
-0.0038450565,
0.050273314,
-0.041979637,
0.010949357,
0.06492926,
0.0066924575,
0.054107722,
0.033004288,
-0.024071544,
-0.006479435,
-0.017141212,
-0.03717953,
-0.019569669,
0.0010615622,
-0.0138464635,
0.0013873092,
-0.0331179,
-0.024426583,
-0.013952975,
0.042377282,
-0.019072616,
-0.06742873,
0.020847805,
-0.025690516,
-0.020024117,
0.004420217,
-0.0058510187,
0.008648714,
0.005790662,
-0.008158763,
-0.016289122,
-0.0416104,
0.0041077845,
-0.02601715,
-0.035730977,
-0.04334298,
0.0107434355,
-0.06771276,
-0.00927358,
-0.023759112,
-0.024327172,
0.01532342,
-0.016132906,
-0.028800646,
-0.02279341,
-0.028743839,
0.050528944,
-0.003262795,
0.018987408,
-0.012376608,
-0.0040829317,
-0.009706726,
-0.0062380093,
0.009912648,
-0.012902064,
-0.02676983,
0.008371785,
0.043939445,
0.0026681072,
-0.029539123,
-0.023631299,
0.002856277,
0.0128878625,
-0.012788452,
-0.009415596,
-0.03942337,
-0.012816855,
-0.00870552,
-0.012909165,
-0.018802788,
-0.034935694,
-0.004647441,
0.049392823,
0.036895502,
0.008485397,
0.02914148,
0.026855038,
-0.014158897,
0.00321664,
0.012128082,
-0.0015772543,
-0.0236597,
-0.001881699,
0.040161844,
-0.03394159,
0.012369508,
0.025094053,
-0.038258843,
0.047802255,
0.008222669,
0.00435276,
-0.0041752416,
0.033515543,
0.033998396,
0.065042876,
0.022338962,
-0.060612008,
0.018674975,
-0.0029379355,
-0.010516211,
0.0019189779,
-0.05666399,
-0.047546625,
0.03743516,
-0.027749734,
-0.011702037,
-0.04967685,
-0.010019159,
0.038003217,
0.026215972,
-0.004239148,
-0.00604984,
-0.006074692,
0.03166935,
-0.013704449,
-0.02638639,
-0.015934085,
-0.01929984,
0.025008844,
0.0020503418,
-0.036923904,
0.03422562,
0.025960345,
0.02581833,
-0.016757771,
-0.006078243,
-0.029397108,
0.016189711,
-0.014925778,
-0.038514473,
0.01645954,
-0.07237085,
0.032294214,
0.008045151,
0.041951235,
-0.02544909,
0.057714902,
-0.023730708,
0.015493838,
-0.0011130427,
0.04143998,
-0.012405012,
-0.02789175,
0.049762063,
0.030391213,
0.06691747,
0.018319936,
-0.03669668,
-0.011297295,
0.04141158,
0.025108255,
0.031839766,
0.016601555,
0.07009861,
0.021401662,
-0.020364953,
-0.028019562,
0.030703647,
-0.010225081,
-0.02013773,
0.009131566,
-0.005733856,
0.0094653005,
0.021117633,
0.007320874,
0.0145991435,
-0.0089966515,
-0.022935424,
-0.043627013,
-0.01976849,
0.03422562,
0.0088830395,
-0.014343517,
0.018660773,
-0.019598072,
0.046268493,
-0.009443998,
0.03232262,
0.076290466,
0.055243842,
-0.0067102094,
-0.027465703,
0.004324357,
-0.04947803,
-0.0045444807,
-0.015763666,
-0.004434419,
-0.0718596,
0.033430334,
0.008123259,
0.00964992,
-0.025974546,
0.053710077,
-0.0022917674,
-0.014613345,
0.01814952,
-0.023063239,
-0.022054931,
-0.056493573,
0.035532158,
-0.047433015,
-0.042718116,
-0.0040722806,
-0.007825027,
-0.049336016,
0.03130011,
-0.008180065,
0.06498607,
0.025406485,
0.030163988,
0.029198287,
0.023759112,
0.0709507,
-0.018433549,
0.009443998,
-0.020862006,
-0.00444862,
-0.0010846397,
-0.0064652334,
0.040758308,
-0.0050770366,
-0.04152519,
-0.030419616,
0.010288988,
0.012376608,
-0.017893892,
-0.016516346,
-0.004480574,
-0.0076191057,
-0.022140142,
0.008350483,
0.06862166,
0.0032574695,
-0.0014387897,
-0.007349277,
0.034594856,
-0.020577976,
-0.037690785,
0.010622723,
0.015621652,
0.043854237,
-0.058794215,
-0.021231245,
-0.041581996,
0.026840838,
0.013455923,
0.010061764,
0.021316454,
0.017936496,
0.018177923,
0.042320475,
0.0005658411,
-0.039650593,
-0.026471598,
0.03666828,
0.05146624,
0.011858254,
0.07765381,
0.023290463,
0.004832061,
0.033430334,
0.00030644177,
0.039281353,
-0.017808683,
0.025079852,
0.0053575165,
-0.018660773,
-0.00072827074,
-0.04217846,
-0.034538053,
0.004775255,
0.008528002,
-0.035645768,
-0.027394697,
-0.032691855,
-0.06742873,
-0.014556539,
-0.020308146,
-0.028047966,
0.008641614,
-0.018845392,
0.0036959408,
-0.05515863,
0.23744911,
0.047830656,
0.035759382,
0.02384432,
0.01314349,
0.032010183,
0.0057090037,
-0.017467847,
0.029595928,
-0.04132637,
-0.0128310565,
-0.003179361,
0.01580627,
0.032379422,
0.0003900975,
0.030391213,
-0.06260022,
-0.011006163,
0.0023609996,
-0.009784834,
-0.07060987,
0.008066453,
0.027664525,
0.0017432343,
0.025946144,
-0.007846329,
-0.01654475,
-0.009621517,
-0.039394964,
-0.044251878,
0.06174813,
-0.0078676315,
0.0132642025,
-0.0709507,
0.012277198,
0.048483927,
-0.036100216,
-0.019796893,
-0.016033495,
0.03093087,
0.02439818,
-0.005002479,
0.020933013,
0.007612005,
0.02732369,
0.012440516,
-0.03243623,
0.041979637,
0.030135587,
-0.06487246,
0.022722403,
-0.039281353,
-0.03198178,
-0.021160237,
-0.034452844,
-0.043144163,
0.007683012,
-0.050528944,
-0.041553594,
0.015834674,
0.008151662,
-0.00870552,
0.013377815,
-0.044393893,
-0.016771974,
0.067031085,
0.00955051,
0.07288211,
-0.06436121,
0.008748125,
-0.03169775,
-0.0050060293,
-0.01759566,
0.007398982,
0.03632744,
0.02675563,
0.009436898,
0.011595526,
0.015934085,
-0.028431406,
0.016885586,
0.051665064,
-0.04890997,
-0.0044592717,
-0.011808548,
0.05691962,
-0.025108255,
-0.015650054,
0.027976958,
0.014868972,
0.048654344,
-0.01853296,
-0.036071815,
0.014400323,
-0.010154073
] | huggingface-cli login
If you are using a notebook like Jupyter or Colaboratory, make sure you have the huggingface_hub library installed. This library allows you to programmatically interact with the Hub.
pip install huggingface_hub
Then use notebook_login to sign-in to the Hub, and follow the link here to generate a token to login with:
from huggingface_hub import notebook_login
notebook_login() |
[
0.017685587,
-0.02947598,
-0.013213865,
0.033990838,
-0.013472679,
-0.010431621,
-0.010489135,
-0.016334007,
0.0012374519,
0.07465331,
0.007714079,
-0.035975073,
0.060964953,
-0.039655976,
-0.0021370086,
0.00819576,
-0.030770047,
0.004996538,
-0.062345292,
-0.035428688,
-0.013206677,
0.013587708,
-0.074480765,
-0.014090956,
-0.0029637737,
-0.019454146,
0.014853017,
-0.008921876,
0.06470337,
0.056651395,
-0.02371019,
-0.012523697,
-0.00829641,
0.0016229762,
-0.024529766,
-0.039943546,
0.0042955847,
-0.018879006,
-0.017872509,
0.0017496869,
0.04440089,
0.021812225,
0.05757162,
-0.05190648,
-0.07781658,
0.02106454,
-0.025004258,
0.016463412,
-0.024788579,
-0.035371173,
-0.012854403,
0.025291828,
0.04724784,
0.014026253,
-0.03844818,
-0.03367451,
-0.047161568,
0.006844179,
-0.010791084,
-0.016736604,
-0.0032585335,
-0.0016903755,
-0.00687653,
-0.021539032,
0.00975583,
0.024558524,
-0.034077108,
0.0034184947,
-0.028052505,
-0.0097486405,
-0.031776544,
0.0067399344,
-0.037039082,
-0.04187027,
-0.020561293,
0.05696772,
-0.007404941,
-0.013745871,
-0.019554796,
0.023192564,
0.005560895,
0.024055274,
0.008073542,
0.001402805,
-0.021524655,
-0.04724784,
0.035687502,
-0.020705078,
-0.024141546,
-0.059584614,
-0.020331236,
0.0275205,
0.0027930287,
-0.025924483,
0.03192033,
-0.001912344,
0.0044753165,
0.02947598,
0.014205984,
-0.016866012,
-0.0072072363,
0.073790595,
0.013918414,
0.019396633,
-0.012027637,
-0.0069304495,
0.0011233224,
-0.012595589,
-0.035486203,
-0.03249547,
0.0012491345,
-0.016377142,
0.015888272,
-0.0075199693,
0.0019986152,
0.015571944,
-0.022042282,
0.0005679518,
-0.004946213,
-0.02703163,
0.0017541802,
-0.045838743,
0.032351684,
-0.047679193,
0.025493128,
-0.06625625,
0.025449991,
0.0118622845,
-0.024802959,
-0.018490786,
0.039167106,
-0.03307061,
0.02839759,
0.020546915,
0.024846094,
-0.025090529,
-0.014809882,
0.009259771,
-0.024098411,
0.017167961,
0.013681168,
-0.029418465,
0.025320586,
0.07367557,
0.01434258,
-0.00800165,
0.00780754,
0.0023401051,
-0.038390666,
0.019468525,
-0.036722757,
0.028570132,
0.0131132165,
-0.004482506,
0.008425817,
0.008663062,
0.0011377009,
0.028670782,
-0.04048993,
0.030511234,
-0.011948556,
0.013803385,
-0.03171903,
0.045033544,
0.028066883,
0.051331338,
-0.014378526,
-0.036205128,
0.008210138,
-0.0000750941,
0.018418893,
0.014321012,
0.018692084,
0.032754283,
0.066601336,
0.012854403,
0.037527952,
-0.02614016,
0.0014423459,
0.023149427,
-0.022387365,
-0.004662237,
0.036061343,
0.006078522,
0.016147085,
-0.015241238,
-0.039857276,
0.014910532,
0.0017011594,
0.027074765,
0.010978005,
0.0636106,
-0.0018728031,
0.030511234,
-0.022186067,
-0.02146714,
-0.08063477,
-0.017139204,
-0.015385023,
-0.0061971447,
-0.026672166,
0.067406535,
-0.058233034,
0.0044034235,
-0.045119815,
0.005675923,
0.036147617,
0.04549366,
0.03102886,
-0.0016885782,
0.0047269408,
-0.010251889,
0.00497497,
-0.0012311613,
0.010776705,
-0.0070993975,
-0.014867396,
0.04399829,
-0.006175577,
-0.02976355,
0.0035532934,
0.03258174,
0.044861004,
0.022718072,
0.012940674,
-0.02176909,
0.010366918,
0.054207046,
0.024515387,
-0.009964319,
-0.0085911695,
0.03678027,
0.003289088,
0.019137818,
0.02614016,
-0.0011107412,
0.018447649,
0.027304823,
0.017024176,
0.013372029,
0.0010891734,
0.015600701,
0.029504737,
0.034709763,
-0.0081598135,
-0.0122001795,
0.0029637737,
0.0027103522,
-0.036722757,
0.025823833,
-0.0766663,
0.039282136,
-0.016377142,
-0.018059429,
-0.04831185,
-0.015011182,
0.018792734,
0.026039511,
-0.02224358,
0.025866969,
0.045234844,
0.010920491,
-0.019295983,
-0.031373944,
0.030338692,
0.044429645,
-0.008778091,
0.03232293,
0.035026092,
-0.04362445,
0.0028990705,
-0.035457447,
-0.05639258,
-0.029202787,
-0.038591966,
-0.026197676,
-0.0066392845,
-0.039943546,
0.029907335,
-0.010582595,
-0.02059005,
0.017584939,
-0.018965276,
0.01649217,
0.001021774,
0.01092768,
-0.066601336,
0.011330279,
-0.02976355,
0.03971349,
0.021912875,
-0.015571944,
0.0098421015,
-0.017038554,
0.021251462,
-0.0016247735,
-0.011351846,
-0.049318347,
0.00025005155,
0.03289807,
0.009295717,
-0.005258946,
-0.01122244,
0.02888646,
-0.01522686,
0.021984767,
0.037930552,
-0.05475343,
0.048915748,
0.07384811,
0.024170304,
0.00074723404,
0.034278408,
0.023853974,
-0.029591007,
0.031172646,
0.042215355,
-0.020661943,
-0.068154216,
-0.048340607,
-0.014924911,
0.035629988,
-0.02010118,
-0.022574287,
-0.009763019,
0.044142075,
-0.00033812004,
-0.0006178273,
0.021970388,
-0.049922243,
-0.004363883,
-0.016679091,
-0.026585896,
0.06637128,
0.036032587,
0.040144846,
-0.041726485,
-0.022574287,
0.01688039,
0.04753541,
-0.002253834,
-0.037182868,
0.03005112,
0.034767278,
0.04109383,
0.01630525,
0.026398975,
-0.04615507,
-0.012739374,
0.0058484655,
0.032754283,
0.04086377,
0.028411968,
0.013925603,
0.0070778294,
0.017843751,
-0.004281206,
0.02234423,
0.031604,
0.04362445,
-0.00197525,
-0.009813344,
0.020043666,
0.016578441,
-0.025996376,
-0.0022789964,
-0.019094683,
0.0051367288,
0.025809456,
-0.07902438,
0.016535304,
0.0044249916,
0.0061791716,
-0.023278834,
-0.012451804,
-0.017886886,
0.025795076,
0.012696239,
0.033128124,
-0.00492824,
-0.039569706,
0.026370218,
0.030942589,
0.012890349,
0.049807217,
-0.006617717,
-0.025334964,
0.043969534,
-0.040346146,
-0.024012139,
0.00044685765,
-0.013868089,
-0.012983809,
-0.034508463,
-0.046126314,
-0.0028307724,
0.018116944,
0.023408242,
0.01971296,
0.004791644,
0.02059005,
0.00526973,
-0.0022322661,
0.024831716,
-0.009101607,
-0.0036683215,
-0.055271056,
0.03473852,
0.030309934,
0.051733937,
0.016060814,
-0.016966661,
-0.009137553,
-0.02956225,
0.007354616,
0.0025252288,
-0.04235914,
-0.008152625,
0.012250504,
0.027232928,
-0.016147085,
-0.051561397,
-0.043883264,
0.0020183856,
0.039080836,
-0.03522739,
-0.0010020036,
-0.013983117,
0.0053524063,
0.014134091,
0.0000359744,
-0.048656933,
-0.004500479,
0.0024713092,
-0.0884567,
0.049720943,
0.036578972,
-0.04109383,
0.0026366622,
-0.067579076,
-0.005453056,
0.032150384,
-0.071777605,
-0.048139308,
-0.016463412,
0.040748745,
-0.026902223,
-0.0010154834,
-0.034911063,
0.011761635,
0.017973159,
-0.026787195,
0.04166897,
-0.06274789,
-0.021409625,
0.009209447,
-0.014471987,
0.011855095,
0.019770473,
-0.027276065,
-0.020014908,
-0.012408668,
0.070339754,
-0.039857276,
-0.019540418,
0.013005377,
0.05728405,
-0.01307008,
0.03853445,
-0.027836828,
0.019396633,
0.028368833,
-0.0023976192,
-0.03979976,
0.027534878,
-0.015672594,
0.029504737,
-0.048656933,
-0.0040259873,
0.010654488,
-0.061425064,
0.023681434,
-0.002994328,
0.0065817703,
-0.006301389,
-0.096738726,
-0.024069654,
-0.008425817,
-0.014083766,
-0.011100222,
0.033875808,
0.0055860574,
-0.0005724451,
0.023767704,
-0.0037312277,
-0.018073808,
-0.06683139,
0.005093593,
0.06568111,
0.037125356,
-0.031776544,
-0.034882303,
-0.06050484,
0.06694642,
-0.018390136,
0.0154712945,
-0.0002871212,
-0.035658747,
0.0049318345,
-0.0046083177,
-0.044343375,
-0.0100434,
-0.0033681698,
0.016449034,
0.047161568,
-0.052165292,
0.015658215,
-0.010021833,
-0.00702391,
0.048053034,
-0.020618808,
-0.073503025,
0.010424431,
0.0039936355,
0.02839759,
-0.025550641,
0.05239535,
-0.024501009,
-0.056248795,
-0.022559907,
0.05785919,
-0.072180204,
0.027966235,
-0.03163276,
-0.055673655,
0.049059533,
0.0150399385,
0.0046873996,
-0.04379699,
0.021495897,
-0.019396633,
0.009410745,
-0.045119815,
-0.004234476,
-0.036118858,
-0.00094269216,
-0.028642025,
0.045234844,
-0.039454676,
0.018648949,
0.0037312277,
0.0071856687,
0.0123942895,
0.032524228,
-0.034853548,
0.008763712,
-0.01327138,
0.014126902,
0.0018018091,
0.005647166,
0.013228244,
0.008598358,
-0.020518158,
0.036866542,
-0.06608371,
-0.024544144,
0.0018512353,
0.009669559,
0.02869954,
-0.022603044,
-0.0020651158,
-0.014141281,
0.013681168,
-0.024975501,
0.055961225,
0.005492597,
-0.012351154,
-0.03841942,
-0.07327297,
0.06654382,
-0.01951166,
-0.0005926649,
-0.0012796889,
-0.014471987,
0.0725828,
-0.05757162,
0.012538075,
0.049088288,
-0.0018584245,
-0.012732185,
-0.039569706,
0.04302055,
0.015198102,
0.0063085784,
-0.022559907,
0.039253376,
-0.024342846,
-0.000121318815,
-0.010237511,
-0.02371019,
-0.011581903,
0.0018458433,
-0.013487058,
-0.01932474,
0.06395569,
-0.014658907,
-0.026686545,
-0.021452762,
0.019928638,
0.0072647505,
-0.0060857115,
0.0071353437,
-0.010704813,
-0.01122244,
-0.0044213966,
-0.0069016926,
-0.04471722,
0.0030752074,
0.04379699,
0.025493128,
-0.029993607,
-0.0034508463,
0.02205666,
-0.04471722,
-0.062230263,
-0.0015196305,
-0.0053236494,
-0.021093298,
-0.027664285,
-0.017311746,
0.014234741,
-0.024889229,
-0.006567392,
0.04304931,
0.007210831,
-0.016477792,
-0.014996803,
-0.007599051,
-0.02652838,
-0.007599051,
0.035026092,
-0.03902332,
-0.002020183,
-0.061942693,
-0.05834806,
-0.03813185,
0.026744058,
0.04733411,
0.008900308,
0.038764507,
0.028325697,
0.0019824393,
0.04762168,
0.012955053,
0.02713228,
-0.0059347367,
-0.03298434,
-0.024270952,
-0.0055393274,
0.016722227,
-0.0275205,
-0.006545824,
-0.025061771,
0.009403557,
0.039052077,
0.04419959,
-0.027923098,
-0.06619874,
0.020518158,
-0.031862814,
-0.00672915,
-0.005841276,
0.015557566,
0.009137553,
0.038563207,
-0.03134519,
-0.007045478,
0.008145435,
-0.02126584,
-0.002167563,
0.019295983,
-0.051791452,
-0.0073330486,
-0.016089572,
-0.013523004,
-0.036924057,
-0.020518158,
0.0126818605,
0.022962507,
0.01434977,
-0.00034261332,
-0.009734263,
0.018016294,
0.008051975,
0.03795931,
-0.007106587,
0.01892214,
-0.004673021,
0.0134583,
-0.02215731,
0.038390666,
0.032150384,
-0.05043987,
0.013688358,
-0.0014917721,
-0.028900838,
-0.023393862,
0.023465754,
0.044947274,
0.00565795,
0.0018638165,
-0.0036629296,
0.0029332193,
-0.043681964,
-0.019137818,
-0.03962722,
-0.02762115,
0.0017398017,
0.069879636,
-0.006563797,
0.012142666,
0.01601768,
0.027879963,
0.013422354,
0.022042282,
0.008224517,
0.0032082086,
0.011006762,
0.028512618,
-0.031143889,
0.02507615,
0.032236658,
0.03367451,
-0.029792307,
0.053603146,
0.0009858278,
-0.0094538815,
0.0006070434,
0.0462701,
0.011409361,
0.0232357,
0.013156352,
-0.0019446957,
0.003659335,
-0.016679091,
-0.030309934,
0.023365105,
-0.024184681,
-0.024673551,
0.009798965,
-0.03991479,
-0.0104675675,
-0.0042488547,
-0.0068262056,
-0.022042282,
0.035457447,
-0.01688039,
0.021352112,
-0.015241238,
0.013609275,
0.051791452,
-0.021409625,
-0.031460214,
-0.004342315,
-0.0010810854,
-0.037039082,
-0.0055680843,
0.016089572,
0.04839812,
-0.013034134,
-0.007584673,
-0.018936519,
-0.029533492,
0.012724996,
0.015341887,
-0.0017308152,
0.009238203,
-0.032668013,
0.019051548,
-0.033990838,
-0.008231706,
-0.0009049485,
0.021050163,
-0.000443937,
0.012962242,
-0.024601659,
0.02703163,
-0.02967728,
0.005219405,
0.005675923,
0.003265723,
0.015571944,
-0.024184681,
0.014177227,
0.010381296,
0.039972305,
0.03347321,
0.05529981,
-0.021711575,
0.021035785,
0.003210006,
-0.029332194,
-0.005959899,
0.049778458,
0.030885074,
0.01483864,
0.01932474,
-0.017699966,
-0.04215784,
-0.026801573,
0.023293212,
0.030655019,
0.00026555342,
0.00055806653,
-0.04175524,
-0.008267652,
-0.008188571,
0.0056435717,
0.005151107,
0.0054027312,
0.008095111,
0.036895297,
0.052711677,
-0.021035785,
0.05846309,
0.05670891,
0.025234314,
-0.03229417,
0.04325061,
-0.015873894,
0.041611455,
-0.033616994,
0.04106507,
-0.038218122,
0.016449034,
-0.037125356,
-0.039339647,
-0.010942059,
0.010970816,
-0.027347958,
-0.022027902,
-0.022976885,
-0.029202787,
0.008023217,
-0.04126637,
0.0033088585,
-0.040029816,
0.020863242,
-0.005765789,
-0.007548726,
-0.00751278,
0.02839759,
-0.022401744,
0.051015012,
0.0134583,
0.059699643,
0.009137553,
0.04675897,
0.021639682,
-0.026700923,
0.014795504,
0.0012006069,
-0.045809984,
0.0009678546,
0.004252449,
-0.007534348,
0.021510275,
-0.014385716,
-0.06527851,
0.04187027,
0.0067255558,
0.008576791,
-0.066888906,
0.019137818,
-0.025205556,
-0.059182014,
0.0049534026,
0.08184257,
0.044659704,
-0.019684203,
0.013314515,
-0.019137818,
-0.074883364,
0.038275637,
-0.033300668,
0.02741985,
-0.0070598563,
-0.05688145,
0.05374693,
-0.03163276,
-0.018160079,
-0.0047017783,
-0.01932474,
0.0112368185,
0.030338692,
0.02020183,
0.016578441,
0.013393598,
-0.04302055,
-0.0415827,
0.018936519,
0.036722757,
0.02556502,
0.08862924,
0.055846196,
-0.017814994,
0.00994994,
0.028915217,
0.012502129,
0.008756523,
-0.03893705,
-0.027534878,
-0.037384167,
-0.046528913,
-0.021035785,
0.0027103522,
0.027462985,
0.002748096,
-0.034019593,
-0.0085911695,
-0.036032587,
-0.055558626,
-0.032639254,
-0.021409625,
-0.0038786074,
-0.00790819,
0.005593247,
0.019051548,
-0.023149427,
0.24639043,
0.01355895,
0.02809564,
-0.004996538,
0.035687502,
0.065048456,
-0.032351684,
0.0029835443,
-0.013328894,
-0.04342315,
0.011136169,
-0.049749702,
0.0008663062,
0.023350727,
-0.008368302,
-0.005413515,
-0.072352745,
-0.0077068903,
-0.0020848864,
-0.08310788,
-0.04281925,
0.047362868,
0.01882149,
0.035313662,
0.003785147,
0.010165618,
0.019051548,
-0.068384275,
0.03151773,
0.004611912,
0.011359036,
-0.009964319,
0.026082646,
-0.027046008,
0.025061771,
-0.008540845,
0.01053946,
-0.025881348,
-0.009065661,
0.024270952,
0.01873522,
0.013990306,
0.030079877,
-0.019540418,
-0.01053227,
0.009223824,
-0.019497281,
0.038793266,
0.028900838,
-0.059182014,
0.031143889,
-0.065048456,
0.05981467,
-0.053229306,
-0.074595794,
0.007778783,
-0.073100425,
-0.033300668,
0.0031848436,
0.039771006,
-0.014457609,
0.0591245,
-0.02662903,
-0.005082809,
0.0052625407,
0.03249547,
-0.015154967,
0.029907335,
0.026370218,
-0.015068696,
0.023897111,
-0.045148574,
-0.02419906,
-0.023652676,
-0.0021495896,
0.024802959,
-0.018936519,
0.030568747,
-0.00062007393,
-0.048513148,
0.02419906,
-0.01376025,
0.006987964,
-0.03309937,
0.032150384,
0.04831185,
0.023969004,
0.019094683,
0.01444323,
0.012502129,
0.028814567,
0.08650122,
0.0010433418,
0.031287674,
0.0038678236
] | Specify from_tf=True to convert a checkpoint from TensorFlow to PyTorch:
pt_model = DistilBertForSequenceClassification.from_pretrained("path/to/awesome-name-you-picked", from_tf=True)
pt_model.save_pretrained("path/to/awesome-name-you-picked")
``
</pt>
<tf>
Specifyfrom_pt=True` to convert a checkpoint from PyTorch to TensorFlow:
tf_model = TFDistilBertForSequenceClassification.from_pretrained("path/to/awesome-name-you-picked", from_pt=True) |
[
0.026408978,
-0.011429219,
-0.018574314,
0.023562675,
-0.014605631,
-0.03301122,
-0.01613882,
-0.0064775352,
0.001909149,
0.046450455,
0.01898512,
-0.011275166,
0.05384497,
-0.041109975,
-0.014723005,
0.012492913,
-0.009815336,
-0.02120054,
-0.054197088,
-0.022344928,
-0.00000890472,
0.03254173,
-0.063909724,
-0.0260862,
0.011319181,
-0.01197207,
-0.011231151,
-0.038791854,
0.041726183,
0.04621571,
-0.027083874,
-0.016681671,
-0.0073358268,
-0.012177473,
-0.064790025,
-0.016300207,
-0.033422027,
-0.007167103,
-0.034361012,
-0.053933,
0.018060805,
-0.024692394,
0.062853366,
-0.051585536,
-0.057688944,
0.020995136,
-0.020745719,
0.029401993,
-0.012045428,
-0.03761812,
-0.003222262,
0.025954155,
0.029211262,
0.020144181,
-0.04603965,
-0.044572484,
-0.05073458,
0.018603656,
-0.020114837,
0.0028151236,
0.023870781,
0.03849842,
-0.022653034,
-0.038879883,
0.01277901,
0.037940897,
-0.039789524,
0.0008174862,
-0.0076952823,
-0.025293931,
-0.02928462,
-0.023093183,
-0.02032024,
-0.026922485,
0.004449179,
0.01694576,
-0.004401496,
-0.0071854424,
-0.021728719,
0.0031599074,
-0.010328844,
0.009609933,
0.026863798,
-0.00296184,
0.01499443,
-0.058158435,
0.051878966,
-0.014436907,
-0.004449179,
-0.0306931,
-0.026262261,
0.012646966,
-0.0026922484,
-0.019909434,
-0.015331878,
0.0005194682,
-0.0046692537,
0.037060596,
0.023709392,
-0.010468225,
-0.024120199,
0.048768576,
0.053639565,
0.0015487764,
-0.007959372,
-0.0037926226,
0.00048645702,
0.0052377805,
-0.012316854,
-0.031456027,
0.02040827,
-0.023342602,
0.0018522963,
-0.02429626,
0.036943223,
0.0064775352,
-0.016711013,
0.021229884,
-0.019909434,
-0.03060507,
0.0030241946,
-0.016725685,
0.016622983,
-0.075881794,
0.017151164,
-0.045452785,
0.029974189,
0.019982792,
-0.026262261,
0.017796716,
0.01933724,
-0.0455995,
0.0037431058,
0.032864504,
0.010094098,
-0.017694015,
-0.013255839,
0.018016791,
-0.018867746,
-0.00081565225,
-0.0057916353,
0.007027722,
0.020144181,
0.07335827,
-0.002884814,
-0.018941104,
0.026687738,
-0.038175642,
-0.030839816,
0.024032168,
-0.038645137,
0.040523108,
0.006613248,
-0.009279821,
-0.020525644,
0.0039320034,
0.0055899,
0.029255278,
-0.010475561,
0.04659717,
-0.010050083,
0.03236567,
-0.040757854,
0.063498914,
0.033862177,
0.039818868,
-0.0038439734,
-0.023518661,
0.0012663471,
0.01246357,
0.036972567,
0.0042694514,
0.026849126,
0.03700191,
0.051585536,
0.021860763,
0.034566417,
-0.008458208,
0.014972423,
0.016960433,
-0.0115906065,
-0.019087821,
0.03823433,
0.007002047,
0.01153192,
-0.02563138,
-0.030458353,
-0.000508006,
0.005498202,
0.026717082,
-0.002708754,
0.0855064,
-0.0025638714,
0.017371237,
-0.021699376,
-0.019381255,
-0.056016374,
0.0056926017,
-0.0020668693,
-0.014598296,
-0.055576224,
0.03770615,
-0.054431837,
0.015639983,
-0.024795095,
0.024428304,
0.020554988,
0.012338861,
0.01685773,
-0.013028429,
0.0056669265,
-0.03708994,
-0.019131837,
-0.031896174,
0.009808,
-0.01033618,
-0.015551953,
0.02724526,
0.011099106,
-0.037999585,
0.013035764,
0.018324895,
0.041315377,
0.038116958,
0.018471612,
-0.02076039,
-0.016901745,
0.033334,
0.01845694,
-0.021523315,
-0.009338507,
0.032600414,
-0.0036624116,
0.044953946,
0.022697048,
0.022814421,
0.0014176485,
0.04515935,
-0.0013956411,
0.008040066,
0.044836573,
-0.008172112,
0.015331878,
0.0521724,
-0.025587365,
-0.0073945136,
0.006272132,
0.021317912,
-0.032160264,
0.02252099,
-0.08081147,
0.041491438,
-0.0047316086,
-0.01854497,
-0.029123234,
0.0025693735,
0.024809767,
0.012999086,
-0.013453906,
-0.01942527,
0.027347963,
0.03591621,
-0.0039283354,
-0.059214793,
0.041579466,
0.061444886,
-0.013512593,
0.035534747,
0.028639069,
-0.037764836,
0.0031140586,
-0.039085288,
-0.06420316,
-0.032659102,
-0.028272277,
-0.004988362,
0.013710661,
-0.06660931,
0.033862177,
-0.017899418,
-0.018867746,
-0.0010792835,
-0.033920866,
0.03993624,
0.027157232,
-0.012514921,
-0.058686614,
-0.0072734724,
-0.046773233,
0.034126267,
0.030399667,
-0.043838903,
-0.0024061513,
-0.009162447,
0.014224169,
0.016490938,
-0.015493266,
-0.05534148,
-0.034801163,
0.02431093,
-0.0014066448,
0.0072514648,
-0.011062427,
0.023650706,
-0.009250478,
0.019102493,
0.0251032,
-0.043398753,
0.037177972,
0.07998986,
0.02040827,
0.033832833,
0.0059200125,
0.021699376,
-0.041374065,
0.021259226,
0.06267731,
-0.003774283,
-0.06649193,
-0.05164422,
-0.04331072,
-0.003429499,
-0.006352826,
-0.0078126555,
0.0017431759,
0.03477182,
-0.024252243,
-0.041726183,
-0.0037596114,
-0.0346251,
-0.013505258,
-0.040757854,
-0.018148836,
0.02271172,
0.03849842,
0.028668411,
-0.047946963,
-0.0075082188,
0.013916064,
0.05900939,
0.028551038,
-0.041286033,
0.03292319,
0.06608113,
0.026717082,
-0.0030315304,
0.034449045,
-0.039965585,
-0.018559642,
0.0021090503,
0.056720614,
0.014745012,
-0.001984341,
-0.005307471,
0.013923399,
0.030810473,
0.0068553304,
0.034801163,
0.022154197,
0.021273898,
0.0029728438,
-0.013695989,
0.047800247,
0.017694015,
-0.020437613,
-0.029211262,
0.0052414485,
0.016725685,
0.008641604,
-0.07705553,
0.021229884,
-0.003909996,
0.021934122,
-0.043193348,
-0.024780422,
-0.040611137,
0.0127936825,
0.005138747,
0.046890605,
0.005509206,
-0.04595162,
0.027934829,
0.01970403,
0.022154197,
0.028697755,
0.00035739233,
-0.04169684,
0.02909389,
-0.026159558,
-0.011150457,
0.006829655,
-0.024222901,
-0.023870781,
-0.037236657,
-0.020525644,
-0.030575726,
0.053082045,
0.050059684,
0.046010308,
0.0029104892,
0.030546384,
0.0039613466,
-0.02404684,
0.020731047,
0.0026042187,
-0.015199834,
-0.074532,
0.047272068,
0.040933914,
0.027626725,
0.021875435,
0.0007496298,
-0.0003578508,
-0.006268464,
-0.0011957398,
-0.018633,
-0.035681464,
-0.02475108,
-0.017782044,
0.021992808,
-0.02012951,
-0.018368911,
-0.045834247,
0.0062941397,
0.026805112,
-0.014319534,
0.0222569,
-0.04489526,
0.003007689,
0.029827472,
0.017796716,
-0.036473732,
-0.03254173,
-0.0063344864,
-0.039496094,
0.052759267,
-0.0011544757,
-0.053287446,
-0.0022961139,
-0.048123024,
0.0023548005,
0.014891729,
-0.064907394,
-0.046949293,
-0.023900123,
0.01854497,
-0.0042107645,
0.011678636,
-0.029651413,
-0.00321676,
0.015962759,
-0.028624397,
0.02359202,
-0.070130505,
0.007167103,
-0.02253566,
-0.0047756233,
0.01889709,
0.006554561,
0.0007363336,
-0.007636596,
-0.014833042,
0.06807648,
-0.0039906898,
-0.027362633,
0.0075925807,
0.05240715,
-0.0127863465,
0.03494788,
0.010446218,
-0.0038293016,
0.027920157,
0.02767074,
-0.028580382,
0.04862186,
-0.023900123,
0.033950206,
-0.039613467,
0.0035377026,
0.036737822,
-0.06537689,
0.038175642,
0.00033125843,
0.006066729,
-0.023826767,
-0.072419286,
-0.024516333,
-0.00812076,
-0.023665378,
0.007412853,
0.023826767,
-0.015507938,
-0.0131311305,
0.023489317,
-0.003306624,
-0.0086709475,
-0.052113716,
-0.015229177,
0.06655062,
0.009653948,
-0.0026152222,
-0.03468379,
-0.04542344,
0.07423857,
-0.024633707,
0.029783458,
-0.0035046914,
-0.027127888,
-0.0007496298,
0.0117519945,
-0.038116958,
-0.022917124,
0.006158427,
0.029387323,
0.05270058,
-0.038028926,
0.0009619103,
-0.0401123,
-0.0204963,
0.047712218,
-0.032130923,
-0.051761594,
-0.0023401289,
0.02164069,
0.029563382,
-0.0018036964,
0.03345137,
-0.055429507,
-0.051350787,
-0.014348878,
0.058275808,
-0.042195678,
0.014055444,
-0.039378718,
-0.045276724,
0.02102448,
0.0072257896,
0.007427525,
-0.0762926,
-0.0035743816,
-0.026673067,
0.0056155757,
-0.036737822,
-0.017356567,
-0.052495178,
0.011121114,
-0.021772735,
0.033686116,
-0.03051704,
0.017782044,
-0.003976018,
0.024677722,
0.027201246,
0.02174339,
-0.051937655,
-0.0018321228,
-0.008619596,
0.0027729427,
-0.004408832,
0.01214813,
0.0024373285,
-0.0077246255,
-0.0068773376,
0.025763424,
-0.059831005,
-0.03691388,
0.009543911,
-0.00397235,
0.032512385,
-0.024164215,
0.0071377596,
-0.00829682,
0.009624605,
-0.008450872,
0.031367995,
-0.010761658,
0.0058796653,
-0.06056459,
-0.06320549,
0.039642807,
-0.03424364,
0.00022190876,
0.0036660796,
-0.027934829,
0.049150042,
-0.041726183,
0.007343163,
0.0548133,
-0.0078126555,
-0.010901039,
-0.03248304,
0.02838965,
0.029607397,
-0.0037559434,
-0.031632084,
0.034918536,
-0.03797024,
0.0035560422,
-0.026276931,
-0.01854497,
-0.006382169,
0.021699376,
0.015507938,
-0.02935798,
0.06508346,
-0.012074771,
-0.00030879246,
-0.034830507,
0.0088396715,
0.01508246,
-0.013505258,
0.013813362,
0.0012525924,
-0.0012195812,
-0.02067236,
-0.012757003,
-0.03210158,
0.028668411,
0.0317788,
0.021083167,
0.0014038939,
-0.008986388,
0.038909227,
-0.029959517,
-0.056339152,
-0.02244763,
-0.017253865,
-0.029578054,
-0.0122801745,
0.000048341954,
0.006646259,
-0.048064336,
0.018324895,
0.049120698,
-0.024090856,
-0.01499443,
-0.020041479,
-0.015683997,
-0.034184955,
0.010343516,
0.04152078,
-0.04885661,
-0.0029893494,
-0.080635406,
-0.02297581,
-0.03635636,
0.04542344,
0.030986533,
0.006723285,
0.002116386,
0.047066666,
0.016006775,
0.0550187,
0.022697048,
0.029504696,
-0.00031016793,
-0.026746426,
-0.030282294,
-0.020554988,
0.030106233,
-0.032600414,
0.0029911834,
-0.029196592,
0.029225934,
0.061855692,
0.043780215,
-0.026497006,
-0.083335,
0.016916417,
-0.005333146,
-0.015317206,
-0.0064775352,
0.029020531,
-0.0062207812,
0.03758878,
-0.0100427475,
-0.01095239,
0.009426538,
-0.012221487,
-0.013380548,
-0.0025913808,
-0.04507132,
0.007834664,
-0.041256692,
-0.026027514,
-0.011172464,
-0.037295345,
0.0016037952,
0.023503989,
0.009947381,
-0.016373565,
-0.0010783665,
0.02837498,
0.014114131,
0.027788112,
-0.0051864297,
0.058921363,
-0.02812556,
-0.0098666875,
-0.024501663,
0.017165834,
0.047007978,
-0.038410388,
0.04744813,
-0.019674689,
-0.010020739,
-0.013255839,
0.00013582742,
0.050969325,
-0.00042501948,
0.002085209,
-0.0011939058,
0.015038446,
-0.016799044,
-0.0011508078,
-0.030076891,
-0.031338654,
0.009998732,
0.0596256,
-0.025249917,
0.019586658,
0.0066756024,
0.011377867,
0.009052411,
0.035417374,
0.021039153,
-0.01889709,
0.019366583,
0.019205194,
-0.007152431,
0.021860763,
-0.0024281587,
0.02571941,
-0.031896174,
0.019616,
0.0026629053,
0.022374272,
-0.004709601,
0.03122128,
0.010820345,
0.019219866,
0.01924921,
-0.0055202097,
0.014891729,
-0.029005859,
-0.014084788,
0.022432959,
-0.04331072,
-0.014649646,
0.0011242154,
-0.034302328,
-0.0043281377,
0.006147423,
-0.014319534,
-0.023078512,
0.025954155,
-0.0072771404,
0.012705652,
-0.028272277,
0.025572693,
0.043868244,
-0.015728014,
-0.03060507,
-0.0122728385,
-0.010622277,
-0.02343063,
0.007203782,
0.010879031,
0.05340482,
0.018603656,
-0.027465336,
0.0034276652,
-0.010116105,
-0.0020063487,
0.021449957,
0.02244763,
0.0059420196,
-0.028228262,
-0.009125769,
0.0069323564,
-0.023518661,
-0.01613882,
0.038087614,
0.0048673213,
0.02174339,
-0.0115832705,
0.019821404,
-0.0122801745,
0.0045555485,
0.017987447,
0.0065068784,
0.01747394,
-0.017503284,
0.028257605,
-0.0034148274,
0.054519866,
0.027201246,
0.038439732,
-0.0023603023,
0.035710804,
-0.015918745,
-0.024765752,
-0.014356214,
0.062501244,
0.02545532,
0.01933724,
0.004364817,
-0.01260295,
-0.04401496,
-0.017239193,
0.046010308,
0.016446924,
-0.004566552,
0.033656772,
-0.012544264,
-0.0056632585,
0.022476973,
-0.036708478,
-0.012522257,
0.006917685,
-0.01624152,
0.03122128,
0.022579676,
-0.011106442,
0.04982494,
0.045218036,
0.035828177,
-0.020012137,
0.03016492,
-0.0083335,
0.036855195,
-0.027039858,
0.07382776,
-0.031162594,
0.001909149,
-0.059302825,
0.0037229322,
0.001100374,
-0.0081501035,
-0.020951122,
-0.039173316,
0.0049223397,
-0.011656629,
0.00077805616,
-0.0521724,
-0.012720324,
-0.031749457,
0.033920866,
0.026218245,
-0.008355507,
-0.039906897,
0.029504696,
0.012243495,
0.050235745,
0.009910702,
0.041638155,
0.009221135,
0.014965087,
0.023650706,
-0.036062926,
0.025690066,
0.000528638,
-0.04122735,
-0.019748047,
0.021009808,
-0.0033616426,
0.020863092,
-0.0059713633,
-0.07758371,
0.02341596,
0.0036330682,
-0.0034826838,
-0.06907415,
0.047858935,
-0.028771114,
-0.03893857,
0.00026867466,
0.07834663,
0.040229674,
0.009969389,
0.0024373285,
-0.0007280808,
-0.060153782,
0.029842144,
-0.02582211,
0.08145702,
0.0032057564,
-0.043428097,
0.023195885,
-0.036855195,
-0.020687032,
0.028140232,
-0.019953448,
-0.00762926,
0.037236657,
0.0028609724,
0.041139316,
0.00771729,
-0.022550331,
-0.05120407,
0.05915611,
0.042283706,
0.010028075,
0.05625112,
0.040787198,
-0.02439896,
0.009375187,
0.024442974,
0.030751787,
0.0067709684,
-0.019762717,
-0.0001449972,
-0.027788112,
-0.024472319,
-0.03688454,
-0.00019543101,
0.007431193,
-0.006561897,
-0.042987946,
0.0057439525,
-0.016637655,
-0.050587863,
-0.045834247,
0.00006183873,
0.0020081827,
0.008905694,
0.0034606764,
0.038527764,
-0.042958602,
0.2572821,
0.026511678,
0.019953448,
0.014913736,
0.049179383,
0.08151571,
-0.015419908,
-0.00024827188,
-0.018324895,
-0.05534148,
-0.006437188,
-0.051849626,
-0.02093645,
0.023049168,
-0.009896031,
0.014216833,
-0.07511887,
-0.021317912,
0.0015157652,
-0.06907415,
-0.056573898,
0.05463724,
0.007416521,
0.04709601,
0.013065108,
-0.0011764832,
-0.017972777,
-0.07124555,
0.018735701,
0.0015295199,
0.040082958,
-0.014092123,
0.015728014,
-0.033099253,
-0.007864007,
-0.0060007065,
0.015390565,
-0.0335394,
0.0024685059,
-0.0044675185,
0.01024815,
0.027538694,
0.03201355,
-0.0031195604,
0.009162447,
0.009910702,
-0.014451579,
0.051790938,
0.020775061,
-0.06807648,
0.046685204,
-0.0692502,
0.050851952,
-0.010262822,
-0.08087016,
0.02021754,
-0.06461396,
-0.030986533,
-0.0007033224,
0.031808145,
-0.007878678,
0.035798836,
-0.025528677,
0.029666085,
0.0063674976,
0.06473134,
-0.016960433,
0.031456027,
0.008362843,
-0.03664979,
0.032981876,
-0.013373213,
-0.03274713,
-0.023181213,
0.0025180227,
0.012654302,
-0.012492913,
0.0054908665,
-0.021083167,
-0.056397837,
0.021053823,
-0.04477789,
-0.02174339,
-0.042694513,
0.011363196,
0.025132542,
0.026819782,
0.011722651,
0.030722443,
0.0047206045,
0.03424364,
0.06473134,
0.031925518,
0.04515935,
0.02527926
] | tf_model = TFDistilBertForSequenceClassification.from_pretrained("path/to/awesome-name-you-picked", from_pt=True)
Then you can save your new TensorFlow model with its new checkpoint:
tf_model.save_pretrained("path/to/awesome-name-you-picked")
If a model is available in Flax, you can also convert a checkpoint from PyTorch to Flax:
flax_model = FlaxDistilBertForSequenceClassification.from_pretrained(
"path/to/awesome-name-you-picked", from_pt=True
)
Push a model during training |
[
0.053487755,
0.043280814,
-0.032284386,
0.0013084693,
-0.028153677,
-0.0032566346,
0.01063693,
0.0024794831,
0.0012952525,
0.03352501,
0.018454263,
0.02596849,
0.014062741,
-0.040771373,
0.005498214,
0.032030623,
0.007471932,
-0.007880774,
-0.060621336,
-0.0054488713,
-0.00037337633,
0.0016036459,
-0.07144859,
-0.051626824,
-0.047566604,
0.009558435,
-0.025023924,
-0.02093551,
0.05424905,
0.029070046,
-0.058591228,
0.014661905,
0.0057766493,
0.0022680133,
-0.029577574,
-0.059719067,
-0.01574745,
-0.030790001,
-0.07144859,
-0.052670073,
0.026447821,
0.006523843,
0.032791913,
-0.059606284,
-0.015521882,
0.021584015,
0.0329047,
-0.0237974,
0.01015055,
-0.027279602,
-0.0038381766,
0.048102327,
0.00346458,
0.017171346,
-0.006347618,
0.030254276,
-0.03659837,
-0.028520225,
-0.030028708,
0.05032981,
0.015239922,
0.0010873071,
-0.012568354,
-0.04610041,
0.017058562,
0.0026433724,
-0.0074507855,
-0.015197628,
-0.056927666,
-0.009438601,
-0.046185,
0.004913148,
0.017974932,
-0.024262633,
-0.005579278,
-0.00039936948,
0.023910183,
0.01911687,
0.011158556,
0.056955863,
0.046720725,
0.031156547,
0.024319025,
0.008226175,
-0.03659837,
-0.016367761,
0.048948206,
-0.017326424,
-0.028308755,
-0.017368719,
-0.020244706,
0.017171346,
-0.032087017,
0.037134092,
0.03547053,
0.025714725,
-0.008409448,
0.036711153,
0.00074190646,
-0.0066577736,
0.040630393,
0.06462517,
0.0154654905,
-0.014069789,
-0.035639707,
0.010940037,
0.013280302,
0.021654505,
-0.0067635085,
-0.005311416,
0.007852578,
0.019483415,
0.026447821,
-0.015592372,
0.012547207,
-0.017411012,
-0.016410055,
-0.010002521,
-0.052388113,
0.01567696,
0.035639707,
-0.014295357,
0.0023490768,
-0.023811497,
0.006767033,
-0.0084658405,
0.0022556777,
0.047989544,
-0.005589851,
-0.016832994,
0.006767033,
-0.03234078,
-0.026067175,
0.033835165,
0.0067564594,
-0.0049025742,
0.010996428,
0.03445548,
0.030479845,
-0.05193698,
0.018256892,
0.029126437,
0.014647807,
0.048750833,
0.0042857877,
0.008479938,
-0.03177686,
-0.039446164,
-0.01154625,
-0.004352753,
-0.020061433,
0.01742511,
-0.025164904,
-0.011292486,
-0.058534835,
-0.0045043062,
-0.01805952,
0.069023736,
0.028661205,
0.039981887,
-0.028365146,
0.047200054,
-0.03420171,
0.027660247,
0.0028988982,
0.058591228,
-0.054051675,
-0.017650679,
0.0071335807,
-0.04514175,
-0.020413883,
0.0027526317,
0.023783302,
-0.0037606377,
0.03589347,
0.026645193,
0.024403613,
0.024516396,
0.030649021,
-0.006185491,
0.0013586933,
0.015578274,
0.065865785,
0.019229652,
0.030790001,
-0.0010071249,
-0.007130056,
0.014365847,
0.00053131784,
0.03910781,
-0.0004665552,
0.025954392,
-0.028562518,
0.03806456,
-0.037613425,
-0.011511005,
-0.030085102,
0.019906355,
0.022556776,
-0.010319726,
0.014344701,
0.05004785,
-0.05016063,
0.028477931,
0.011426417,
-0.017537894,
-0.030592628,
0.0061890157,
0.000002873979,
-0.019159162,
0.058083702,
0.011306585,
-0.019539807,
-0.016254976,
0.015169432,
0.023980673,
-0.07184333,
-0.0035244965,
0.009065005,
0.010439558,
0.025883902,
-0.008106342,
0.02946479,
0.036288213,
0.0067071165,
-0.0482997,
-0.002669806,
0.0019983894,
-0.007866676,
0.013900613,
0.02708223,
-0.009784002,
-0.0029588146,
0.042350348,
0.019864062,
-0.0067564594,
0.056673903,
0.038431108,
0.04528273,
0.0108484,
-0.007923068,
0.0038311277,
0.017580189,
0.025531452,
-0.012829167,
-0.020949606,
0.02596849,
0.03933338,
-0.024756063,
0.038995028,
-0.06738837,
0.039079614,
-0.0041871015,
0.02268366,
-0.039643534,
0.002733247,
0.054277245,
-0.0027314846,
-0.048807226,
-0.040348433,
0.014006348,
0.047115467,
0.011137408,
-0.012441472,
0.032312583,
0.042914268,
-0.0016283173,
0.008162733,
0.0036584272,
-0.054051675,
0.008578625,
-0.015564176,
-0.04325262,
-0.04579026,
-0.02610947,
-0.00048593993,
0.0065414654,
-0.02204925,
0.04934295,
-0.0033976145,
0.013675046,
0.011814112,
-0.02261317,
0.056222767,
0.050076045,
0.0067282636,
-0.076580256,
-0.0021411316,
-0.0664861,
0.047115467,
-0.018172303,
-0.05954989,
0.025700627,
0.032876503,
0.00888878,
0.039417967,
0.0035227342,
-0.0092271315,
-0.06417403,
0.017678874,
0.011595593,
0.023896085,
0.015169432,
0.022711854,
-0.014619611,
0.02960577,
-0.015973018,
-0.03310207,
0.040574003,
0.04674892,
0.007753892,
0.040292043,
-0.0007084238,
0.0027667296,
-0.048807226,
0.0482997,
0.06265145,
-0.016269075,
-0.028054992,
-0.02065355,
-0.059944633,
0.022133837,
-0.014690101,
-0.013132273,
0.003239012,
0.07889233,
-0.05591261,
-0.062764235,
-0.002060068,
-0.03823374,
-0.042575914,
-0.04226576,
-0.008183881,
0.039502554,
-0.01378783,
0.02204925,
-0.01917326,
-0.028590715,
-0.008078146,
0.02400887,
0.017453305,
-0.0019208505,
0.06248227,
0.02289513,
-0.002840744,
-0.017862147,
0.019793572,
-0.020709941,
0.0032707327,
-0.014845178,
-0.016198585,
-0.0440985,
-0.013872418,
0.029521182,
0.020907313,
0.015691059,
-0.045733865,
0.013724389,
0.024375416,
0.015014354,
-0.02337446,
0.009093201,
-0.010164647,
0.014090937,
-0.039728124,
0.023571832,
-0.007549471,
0.007063091,
0.040010083,
-0.053487755,
0.033130266,
-0.040855963,
-0.023332166,
0.0023103075,
-0.05264188,
-0.028562518,
0.010263333,
0.006781131,
0.028336952,
-0.007098336,
-0.022458091,
0.022373503,
-0.004983638,
0.037416052,
0.029549377,
-0.0057625514,
-0.015733352,
0.036288213,
0.010129402,
0.011377075,
0.018172303,
-0.032030623,
0.021090586,
-0.009826296,
-0.011327731,
-0.060226593,
0.022387601,
0.036654763,
0.044972572,
0.020893214,
0.03795178,
-0.031043764,
-0.0112572415,
0.015634665,
0.05450281,
0.00060357,
-0.06552744,
0.017946735,
0.01848246,
0.001107573,
-0.01931424,
-0.033440422,
-0.007655206,
0.048271503,
0.016395956,
-0.0009251803,
-0.03631641,
-0.033581402,
-0.021809584,
0.026588801,
-0.024460005,
-0.058760405,
-0.04218117,
0.0174956,
0.029070046,
-0.030677216,
-0.0040566954,
-0.037500642,
-0.006767033,
0.000898306,
-0.0384875,
-0.016720211,
-0.00010507405,
0.014647807,
-0.045874845,
0.03366599,
0.025460962,
-0.04164545,
-0.024615083,
-0.0552923,
0.014704199,
0.015860233,
0.0041271853,
0.022923324,
-0.013400136,
0.005367808,
-0.029126437,
-0.030423453,
-0.006809327,
-0.013005392,
-0.013978153,
-0.0142319165,
0.025179002,
-0.044972572,
0.011701328,
-0.045169946,
0.032594543,
0.043562774,
0.0059599234,
0.032143407,
-0.0013102315,
0.005864762,
0.035103984,
-0.020963704,
-0.0035403566,
0.02226072,
0.013054735,
-0.009022711,
0.054953948,
0.038600285,
-0.01700217,
0.019271946,
0.028576616,
-0.008775996,
0.008881731,
-0.016043508,
0.00016972653,
0.016776603,
0.011609691,
0.025009826,
-0.07635469,
0.050893728,
-0.011807063,
-0.007859627,
-0.027589757,
-0.036767546,
0.005032981,
-0.0073450506,
-0.011207898,
0.031297527,
0.0036549028,
-0.0104254605,
-0.014605513,
0.018581145,
0.019680787,
-0.0020177742,
-0.023036107,
0.035357747,
0.053346775,
0.039784513,
0.038431108,
-0.014161427,
-0.03366599,
0.03924879,
-0.047566604,
-0.020766333,
0.025785215,
0.014915668,
0.04443685,
-0.015479588,
-0.029211026,
-0.0237974,
-0.04423948,
0.0002462742,
-0.009889737,
-0.024897043,
-0.03840291,
-0.013618654,
0.017255934,
0.04536732,
-0.014224867,
-0.023783302,
0.00035861752,
-0.0069044884,
0.028083187,
0.01841197,
0.032453563,
-0.021640407,
-0.03823374,
-0.013167518,
0.059324324,
-0.008064047,
-0.0066013816,
-0.02113288,
-0.028985457,
-0.014415191,
0.046833508,
0.007052517,
-0.048102327,
0.047566604,
-0.04892001,
-0.0049554417,
-0.066711664,
-0.035442337,
-0.016254976,
0.040714983,
-0.030902784,
0.03211521,
0.019582102,
-0.019568004,
0.0062242607,
0.033355832,
0.010376117,
-0.0045254533,
-0.035244964,
0.0038734216,
-0.0053924792,
0.0029376678,
-0.036203627,
0.041673645,
-0.00535371,
0.017608384,
0.021894172,
0.013047686,
-0.045395512,
0.000033207365,
-0.019469319,
-0.015352706,
0.03338403,
-0.03800817,
0.039502554,
-0.025912097,
0.005099946,
-0.04150447,
0.027054034,
-0.047284644,
0.05095012,
-0.021020096,
-0.065301865,
0.020117825,
-0.030959176,
-0.010037766,
-0.0032830683,
-0.025517354,
0.017396914,
-0.047341034,
0.028308755,
0.060282987,
-0.030902784,
0.028900871,
-0.047538407,
0.070038795,
0.05114749,
0.017058562,
-0.011102163,
0.0012467906,
-0.0011903987,
-0.028421538,
-0.011919847,
-0.03352501,
0.004765119,
0.0073661976,
-0.004310459,
-0.0008053474,
0.030790001,
0.014577317,
-0.037754405,
-0.039925493,
0.03406073,
-0.0058964826,
0.006481549,
0.027702542,
0.047989544,
0.026476016,
0.015719254,
0.003244299,
-0.06095969,
-0.010982331,
0.059437107,
0.0003183061,
-0.01903228,
0.004694629,
0.03820554,
-0.036711153,
-0.04556469,
-0.0658094,
0.00804995,
-0.009093201,
-0.01063693,
-0.011348878,
-0.038036365,
-0.061467215,
0.032002427,
0.0055264104,
-0.03688033,
0.007123007,
-0.0092271315,
-0.02023061,
-0.07026436,
-0.013682095,
0.05354415,
0.0034522442,
-0.04522634,
-0.028985457,
-0.0059704967,
-0.005064701,
-0.020385686,
0.044606026,
-0.047820367,
-0.013336694,
0.008360106,
0.008656163,
0.042237565,
-0.004074318,
0.040489413,
0.013808977,
-0.030479845,
-0.024882944,
-0.025630137,
0.004821511,
-0.01938473,
0.015169432,
-0.0140486425,
0.009579581,
0.010538245,
0.0329047,
-0.014464533,
-0.06541465,
0.037077703,
-0.014633709,
-0.01938473,
0.027406484,
0.010813155,
0.04330901,
0.05430544,
-0.0002995822,
-0.040827766,
0.0062172115,
0.025009826,
0.005159863,
-0.04215298,
-0.033214852,
-0.012786873,
-0.052444506,
-0.042012,
-0.058816794,
0.0044408655,
0.006731788,
0.010728567,
-0.028181873,
0.016367761,
-0.01673431,
0.032509953,
0.04215298,
0.01022104,
-0.028576616,
0.0013745535,
-0.017833952,
-0.011377075,
-0.04500077,
0.024671474,
-0.008585673,
-0.023924282,
0.020399785,
0.018087715,
-0.040827766,
-0.04604402,
-0.01624088,
0.04246313,
0.01673431,
-0.03267913,
-0.0035315454,
-0.01029153,
-0.03668296,
0.026518311,
-0.027307797,
-0.03197423,
-0.0075917654,
0.023360362,
0.026504213,
0.03724688,
0.01770707,
0.01000957,
-0.030790001,
0.043083444,
0.01666382,
0.012244101,
-0.013463576,
-0.010312676,
-0.014119132,
-0.048948206,
0.013294401,
0.047679387,
-0.029070046,
0.0329047,
0.0067353128,
0.037416052,
0.011560348,
0.0047756927,
-0.00087804015,
0.02750517,
0.005857713,
-0.021598114,
0.021682702,
-0.04122251,
-0.008085195,
0.009255327,
-0.037613425,
-0.018595243,
0.02351544,
-0.0112572415,
-0.0336096,
0.031100156,
-0.016551035,
0.011623789,
0.010136452,
-0.03403254,
0.014760591,
0.0023138318,
0.023416754,
0.0031068434,
-0.014506827,
-0.07432458,
-0.022866933,
0.0056109983,
-0.02233121,
-0.007690451,
-0.0053219893,
0.06400485,
0.005075275,
-0.014718297,
-0.00847289,
0.012194757,
0.00005515286,
0.016677916,
-0.059719067,
0.006597857,
-0.03352501,
-0.01113036,
-0.019849963,
0.026814368,
-0.06310258,
0.0016935205,
0.01617039,
0.0033412226,
0.037359662,
0.029126437,
0.021231566,
-0.040912353,
0.0108484,
0.036513783,
0.031100156,
-0.008099292,
0.0045360266,
0.024206242,
0.04793315,
-0.003543881,
0.013745536,
0.018792614,
0.02715272,
-0.008656163,
-0.03597806,
-0.028435636,
0.034878418,
0.024699671,
-0.007214644,
0.043985713,
-0.05312121,
-0.016762504,
-0.018327381,
-0.0012873223,
0.023755105,
-0.023839694,
0.00833191,
-0.03332764,
-0.027265504,
0.034737438,
-0.0016344852,
-0.03442728,
0.035498727,
-0.0023772728,
0.05534869,
0.011236095,
0.034117125,
0.01560647,
0.0046170903,
0.03406073,
0.010672175,
-0.00008155905,
0.006354667,
0.06620414,
-0.033158462,
0.028731694,
-0.041278902,
0.016931681,
-0.012406227,
-0.0023702239,
0.03267913,
0.013238008,
0.04595943,
-0.029803142,
-0.026772074,
-0.013837173,
-0.0011260766,
-0.07494489,
0.036288213,
-0.081148006,
-0.014986158,
0.028872674,
-0.015803842,
-0.026927153,
0.049117383,
-0.0027050509,
0.022852834,
0.026983544,
0.032876503,
0.031664077,
0.02596849,
0.070320755,
-0.0391924,
0.008719604,
0.004761595,
-0.0216968,
-0.004338655,
0.0068058027,
-0.020977803,
-0.018651634,
-0.0279986,
-0.048609853,
0.0054770675,
-0.013498821,
0.0045325025,
-0.053769715,
0.03420171,
-0.014386994,
-0.058534835,
-0.00993908,
0.10787778,
-0.008099292,
0.027773032,
-0.01973718,
-0.00135605,
-0.03121294,
-0.018961791,
-0.049822282,
0.032227997,
0.013174567,
-0.05095012,
-0.024516396,
-0.022218425,
0.030226082,
0.027378287,
-0.01904638,
-0.013555213,
0.021499427,
0.0043985713,
0.060339376,
-0.0054347734,
-0.042575914,
-0.016917583,
0.023614125,
0.045480102,
0.019694885,
0.053600542,
0.047200054,
-0.053008426,
-0.026391428,
0.0054347734,
0.023332166,
-0.012124267,
-0.013816026,
0.020413883,
-0.0041130874,
-0.04150447,
-0.08052769,
-0.030197885,
-0.01966669,
-0.031579487,
-0.0039862054,
-0.006513269,
0.0018873678,
-0.052049764,
-0.06417403,
-0.0071970215,
0.015352706,
-0.0049801134,
-0.04522634,
0.021189272,
-0.05520771,
0.23413934,
0.013893565,
0.028322853,
-0.026997643,
-0.0036408047,
0.06800868,
0.03626002,
0.041673645,
0.026898956,
-0.047256447,
-0.0070666154,
-0.052331723,
0.021964662,
-0.023924282,
0.022641364,
0.032425366,
-0.03527316,
0.004599468,
-0.002754394,
-0.03304568,
-0.049935065,
0.000678025,
-0.011807063,
0.057096843,
0.030959176,
-0.0109682325,
-0.020343393,
-0.053769715,
-0.002229244,
-0.018722124,
0.031466704,
0.028957263,
0.018158205,
-0.011539201,
-0.0046276636,
0.0510911,
0.0064498284,
-0.04344999,
-0.017270032,
-0.019145064,
0.026518311,
-0.028548421,
-0.0076058633,
0.009269426,
-0.014330602,
-0.00068243063,
0.015338608,
0.03408893,
0.0070348945,
-0.017833952,
0.06817786,
-0.03905142,
0.0022169081,
-0.009184837,
-0.06236949,
-0.005529935,
-0.01266704,
-0.046551548,
-0.053008426,
0.008458791,
0.043647364,
0.00065555633,
-0.019469319,
0.03456826,
0.04353458,
-0.022218425,
-0.025038023,
0.06265145,
-0.033412226,
0.018256892,
-0.039840907,
0.009628925,
-0.030677216,
-0.04373195,
0.027815325,
-0.009220082,
-0.016988073,
0.008874682,
0.028111383,
-0.03800817,
0.021541722,
0.026278645,
0.025023924,
-0.054277245,
0.06738837,
0.046495155,
-0.04175823,
-0.021865975,
0.00853633,
0.01077791,
0.015310412,
0.028506126,
0.030564433,
0.0048814276,
0.033355832
] | Push a model during training
Sharing a model to the Hub is as simple as adding an extra parameter or callback. Remember from the fine-tuning tutorial, the [TrainingArguments] class is where you specify hyperparameters and additional training options. One of these training options includes the ability to push a model directly to the Hub. Set push_to_hub=True in your [TrainingArguments]:
training_args = TrainingArguments(output_dir="my-awesome-model", push_to_hub=True) |
[
0.025300452,
-0.015794996,
-0.029128248,
0.018769009,
-0.0054072957,
-0.016463792,
0.00026791907,
-0.020063912,
0.010850166,
0.073311545,
0.0044147726,
-0.01868363,
0.048580285,
-0.068359606,
-0.010031956,
0.028658668,
0.004525053,
-0.008196322,
-0.0477265,
-0.0143862525,
0.021529576,
-0.015453482,
-0.062212363,
-0.012657342,
-0.011668375,
0.021657642,
0.02956937,
-0.0436568,
0.07160398,
0.0426038,
-0.07758047,
-0.032073803,
0.0003166114,
-0.011412241,
-0.04194923,
-0.0332691,
-0.0021504674,
-0.023109075,
-0.040241666,
-0.0070188125,
0.038192585,
0.007584444,
0.012088152,
-0.06608285,
-0.08179247,
0.017787157,
0.005343262,
-0.023550196,
-0.012820983,
-0.0064602955,
-0.02339367,
0.039786313,
-0.013432861,
0.03534664,
-0.037509557,
0.002152246,
-0.01139801,
0.018555563,
-0.014058969,
-0.02752029,
0.025983479,
0.015467712,
-0.0041942117,
-0.022112994,
0.028943263,
0.025641967,
-0.050600905,
-0.021543805,
0.020946156,
-0.017246427,
-0.0041266205,
-0.0030362678,
-0.026808804,
-0.04254688,
0.00053317007,
0.061073985,
0.01505505,
-0.021586495,
0.018527104,
0.04684426,
0.014912752,
0.028658668,
-0.015610009,
0.006438951,
-0.014571239,
-0.035118964,
0.062212363,
-0.035403557,
0.0023817003,
-0.048381068,
-0.028217547,
0.017346036,
-0.0028868557,
0.018783238,
-0.011739524,
0.029740127,
-0.003785107,
0.022070305,
0.012515044,
-0.025599277,
-0.0070188125,
0.04718577,
-0.0063891467,
0.020718481,
-0.0043009347,
-0.0049981913,
-0.0060725356,
-0.016392644,
-0.020889238,
-0.04499439,
-0.00015975091,
-0.022070305,
0.0031714502,
-0.005699005,
0.016250348,
-0.014009165,
-0.026524208,
0.035944287,
0.0027374434,
-0.026922641,
0.010352125,
-0.003952306,
0.005094242,
-0.041123908,
0.048011094,
-0.0394448,
0.021643413,
0.025528127,
0.03318372,
-0.019309739,
0.04004245,
-0.00067413325,
0.019864697,
0.031333856,
-0.011952969,
-0.02803256,
0.015225806,
0.028872114,
0.001026319,
0.011867591,
-0.024034007,
-0.0046922523,
0.023521736,
0.060049444,
0.027676817,
-0.034862828,
0.03435056,
-0.0704656,
-0.040213205,
0.022198372,
-0.0021059995,
0.024005547,
0.012017003,
-0.00095250225,
-0.030906964,
0.016705697,
-0.023792101,
0.016990293,
0.011284173,
0.05763039,
-0.03013856,
-0.00078041153,
-0.05085704,
0.07245776,
0.011611456,
0.017516792,
-0.026638046,
0.014798915,
0.012287368,
-0.022938319,
0.010074646,
0.010444619,
-0.018825928,
0.039188664,
0.075360626,
0.023720954,
0.016805306,
0.0058235154,
0.011462044,
0.020846548,
-0.004297377,
0.021885319,
0.015325415,
0.03224456,
0.038249504,
-0.01717528,
-0.0118106725,
-0.0035841123,
0.042916853,
0.0239344,
0.0012379861,
0.051540066,
-0.019807778,
0.038534097,
-0.041892312,
0.0024030448,
-0.071945496,
0.013575158,
0.01662032,
-0.011597226,
-0.024674345,
0.041863855,
-0.025770033,
0.015197347,
-0.0075417547,
-0.00595514,
0.026680736,
0.01139801,
0.004098161,
0.0043898704,
0.029768586,
-0.019964306,
-0.02290986,
-0.03164691,
0.005343262,
0.01324076,
0.0070615015,
0.051141635,
-0.021913778,
-0.016677238,
0.04812493,
0.004329394,
0.0581142,
-0.006339343,
0.042376123,
0.0069939103,
0.0035200785,
0.042433042,
0.06494447,
-0.007641363,
0.0010627826,
0.021899547,
0.0022358457,
0.04297377,
0.03793645,
0.017260658,
0.044965934,
0.02956937,
-0.0069547785,
0.015994212,
0.029910883,
0.027292615,
0.028630208,
-0.002877962,
-0.0058911066,
-0.02756298,
-0.03321218,
0.0007515074,
-0.026310762,
0.003959421,
-0.06420452,
0.017488332,
0.022426048,
-0.023237143,
-0.034578234,
0.0057345796,
-0.0035325293,
0.025328912,
-0.028601749,
0.007790775,
0.043286826,
0.029797046,
-0.023237143,
-0.04468134,
0.024617426,
0.05609358,
-0.0213019,
0.026353452,
0.03699729,
-0.0142653,
-0.02851637,
-0.010437503,
-0.058967985,
-0.008886464,
-0.023294061,
0.021074224,
0.008616099,
-0.0239344,
0.030707749,
0.004955502,
-0.021230752,
0.02290986,
-0.009925234,
0.06175701,
0.038591016,
0.032927584,
-0.068814956,
0.04929177,
-0.019765088,
0.017787157,
0.026709195,
-0.022027615,
0.020675791,
-0.021259211,
0.013304793,
-0.0035752186,
-0.014585469,
-0.06261079,
-0.034862828,
0.030935423,
0.013390172,
0.004560627,
-0.0017191288,
0.02750606,
0.009839855,
0.015837684,
0.019395117,
-0.07069328,
0.04823877,
0.05410142,
0.006463853,
0.008523606,
-0.012031233,
0.048011094,
-0.022611035,
0.05341839,
0.06716431,
-0.012507929,
-0.050145555,
-0.0071433224,
-0.024816642,
0.0029757915,
-0.016719928,
-0.007726741,
-0.025741573,
0.059366416,
-0.04297377,
-0.026780345,
-0.018399036,
-0.027577208,
-0.01324076,
-0.01558155,
-0.06357841,
0.043685257,
0.011504733,
0.02080386,
-0.014272415,
0.0059266808,
-0.010458848,
0.05763039,
-0.005385951,
-0.032329936,
0.033468314,
0.025314683,
0.032557614,
-0.013938016,
0.030195478,
-0.04624661,
0.02333675,
-0.009178173,
0.02850214,
-0.0047705155,
-0.022824481,
0.024275912,
0.013333253,
0.06135858,
-0.03745264,
0.023222912,
-0.010594031,
0.03827796,
0.04516515,
-0.009533917,
-0.014009165,
0.015880374,
-0.05239385,
0.0028637324,
-0.006784022,
0.00054161897,
0.051625445,
-0.026879951,
0.044026773,
-0.032301478,
-0.014414712,
-0.00035351975,
-0.016648779,
-0.01662032,
0.026794573,
0.04052626,
0.015965752,
-0.012116612,
-0.034322098,
-0.0070935185,
0.016392644,
0.016421104,
0.033468314,
-0.009946578,
-0.0149554415,
0.038733315,
-0.039274044,
0.0132265305,
0.0027872475,
-0.0006612376,
-0.028843654,
-0.051426228,
-0.04248996,
-0.012116612,
0.03935942,
0.06892879,
0.027932951,
-0.015866144,
0.04616123,
-0.0034898403,
-0.015254266,
0.0051476033,
-0.020049684,
-0.028246006,
-0.046986554,
0.031106181,
-0.0033030752,
0.006538559,
0.0065741334,
-0.016378414,
-0.013134037,
0.026225384,
-0.0290571,
-0.021942237,
-0.03534664,
-0.0049661743,
-0.015154658,
0.024147844,
-0.048608743,
-0.052080795,
-0.06261079,
0.022426048,
0.061472416,
-0.016990293,
-0.003429364,
-0.041095447,
-0.024204765,
0.045108233,
0.00047891922,
-0.041835394,
-0.026011938,
-0.020505035,
-0.06870112,
0.058199577,
0.07023793,
-0.035204343,
0.013148267,
-0.078605,
-0.014350679,
0.02596925,
-0.027577208,
-0.046388905,
0.0054891165,
0.016321495,
-0.018413264,
0.003824239,
-0.031020802,
0.04359988,
0.0058199577,
-0.047498826,
0.012493699,
-0.05646355,
-0.024090925,
-0.034435935,
-0.006474525,
-0.0066737416,
0.038989447,
0.0043578534,
-0.0331268,
0.008943383,
0.0539022,
-0.052564606,
-0.030992342,
-0.01065095,
0.040412422,
-0.028701358,
0.03802183,
-0.013560928,
0.0059907148,
0.0301101,
0.00806114,
-0.019452035,
0.025215074,
-0.032386854,
0.010181369,
-0.013283449,
-0.0021380163,
0.034322098,
-0.049519446,
0.036086585,
-0.023109075,
0.04317299,
-0.010067531,
-0.062041603,
-0.024788182,
0.016890684,
0.026196925,
0.037623394,
0.0075915586,
0.02700802,
-0.018327886,
0.0099536935,
0.024247453,
0.0013278113,
-0.032130722,
-0.004461019,
0.09385927,
0.0014203045,
-0.033411395,
-0.020590413,
-0.043002233,
0.007982876,
-0.012913476,
0.028416762,
0.0066488395,
-0.036115043,
0.024631655,
-0.027235696,
-0.032073803,
0.004190654,
-0.0031003016,
0.021842629,
0.044282906,
-0.054812904,
0.031903047,
-0.011141876,
-0.026140006,
0.05646355,
-0.04092469,
-0.047413446,
0.009448538,
0.004211999,
0.05856955,
-0.0052649984,
0.021657642,
-0.0352328,
-0.0662536,
-0.03269991,
0.040013988,
-0.05919566,
0.0073923427,
-0.015183117,
-0.052280013,
-0.0018062858,
0.025784263,
0.037907988,
-0.06539982,
0.014756226,
-0.04621815,
0.013859753,
-0.071490146,
-0.02436129,
0.010245402,
0.02134459,
-0.021671873,
0.022426048,
-0.012266024,
-0.008153633,
-0.007015255,
0.021700332,
0.026823033,
0.028929032,
-0.028786736,
-0.034521315,
0.021501116,
0.008196322,
-0.034862828,
0.01504082,
0.00037086222,
0.013987821,
0.01757371,
0.034521315,
-0.057658847,
-0.03796491,
-0.012892132,
-0.02756298,
0.028800964,
-0.050202474,
0.036655772,
-0.026040398,
0.0064674104,
-0.0001549706,
0.059992526,
-0.015353874,
0.00908568,
-0.038647935,
-0.045876637,
0.042205367,
-0.035972748,
0.008950498,
-0.032899126,
-0.020106602,
0.045449745,
-0.035716612,
-0.01711836,
0.047811877,
-0.000024707473,
0.0065421164,
-0.035261262,
0.05253615,
0.053389933,
-0.008409768,
-0.024645885,
0.0331268,
-0.023464818,
-0.007413687,
-0.016719928,
-0.01192451,
-0.00452861,
0.034379017,
0.008224782,
-0.016648779,
0.023066385,
0.0061899307,
-0.038448717,
-0.04004245,
0.032016885,
0.03785107,
0.052137714,
0.0111134155,
0.0018534218,
-0.031020802,
0.008423998,
-0.02080386,
-0.039530177,
-0.015923062,
0.034862828,
0.019452035,
-0.031333856,
0.015723847,
0.01666301,
-0.031789206,
-0.044965934,
-0.021558035,
0.013589388,
-0.045990475,
0.013112692,
0.011518963,
-0.0466735,
-0.008815316,
0.012507929,
0.052137714,
0.004222671,
-0.058967985,
0.052137714,
0.0010796804,
-0.014507205,
-0.0020099487,
0.02804679,
-0.04715731,
-0.017232198,
-0.028943263,
0.009704673,
-0.027932951,
0.007911728,
0.046901178,
-0.013304793,
0.020348508,
0.059537172,
-0.007982876,
0.013070003,
0.0060832077,
0.0477265,
-0.0020241784,
-0.046047393,
-0.033695992,
-0.044709798,
-0.006940549,
-0.013496895,
0.009839855,
-0.013511125,
0.034720533,
0.031533074,
0.03847718,
-0.036029667,
-0.047015015,
0.029341694,
-0.028345615,
-0.015254266,
0.025641967,
0.012657342,
-0.0027516733,
0.02335098,
-0.0017120139,
-0.04812493,
0.015282726,
-0.0028939706,
0.0077480855,
0.0024190533,
-0.013432861,
-0.008680133,
-0.051283933,
-0.048694123,
-0.035090502,
-0.047527283,
0.009526801,
0.008865119,
-0.0009649533,
-0.013539584,
-0.011020923,
0.019025143,
-0.023664035,
0.032073803,
-0.024190534,
-0.009740247,
-0.014115888,
-0.00049670634,
-0.029427074,
0.02387748,
0.028231775,
-0.008950498,
0.028559059,
-0.005343262,
0.0021059995,
0.002221616,
0.03785107,
0.055410553,
-0.0034613807,
-0.013916672,
-0.012571963,
0.013027314,
-0.03469207,
0.011362436,
-0.015994212,
-0.025883872,
-0.030593911,
0.03580199,
-0.02959783,
0.0085805245,
-0.011931625,
0.041693095,
-0.013418632,
0.039814774,
-0.005876877,
-0.0018694302,
0.0374811,
0.04160772,
-0.030565452,
-0.017815616,
0.00016908917,
0.042376123,
-0.03435056,
0.0144716315,
0.014436057,
-0.030480072,
0.0075061806,
0.027947182,
0.016307266,
0.052735362,
0.016762616,
-0.009050106,
-0.017772928,
-0.04149388,
-0.025770033,
0.025143925,
-0.06209852,
-0.021586495,
0.0091924025,
-0.030963883,
0.027648358,
-0.020818088,
-0.008900694,
-0.008680133,
0.003397347,
-0.026125778,
0.024218993,
-0.026879951,
0.039558638,
0.016449563,
-0.04940561,
-0.050458606,
-0.003923847,
0.016449563,
-0.024660114,
0.0036463672,
0.009462767,
0.02491625,
-0.020633103,
0.014009165,
-0.031817667,
-0.022112994,
0.024218993,
0.013895327,
0.016349955,
-0.022283752,
-0.05506904,
0.008153633,
-0.028758276,
-0.023464818,
-0.04721423,
-0.0041764244,
0.0048025325,
0.0025506783,
-0.0014967893,
0.034322098,
0.034435935,
-0.014372023,
0.005549593,
0.019793548,
0.012273138,
-0.020021224,
0.015666928,
0.01767332,
0.0561505,
0.016449563,
0.037708774,
0.029427074,
0.045876637,
-0.0028957492,
-0.005129816,
0.0027890264,
-0.01865517,
0.016705697,
0.00089202594,
-0.016036902,
-0.0023745855,
-0.012258909,
0.0061223395,
0.011753754,
0.04194923,
-0.004304492,
0.010885741,
-0.015723847,
-0.036086585,
0.010380585,
-0.024745494,
-0.014393368,
0.0031020802,
-0.009135484,
0.014898523,
0.013511125,
0.017189508,
0.015794996,
0.06374917,
0.043229908,
0.0040092254,
0.014044739,
-0.00441833,
0.042319205,
-0.007114863,
0.025030088,
-0.026054628,
-0.009832741,
-0.027634127,
-0.009676213,
-0.021614954,
0.02488779,
-0.03415134,
-0.024261683,
-0.020846548,
-0.016862225,
-0.010238288,
-0.06261079,
0.02962629,
-0.053646065,
0.016847996,
-0.003103859,
-0.011611456,
-0.065969005,
0.02494471,
-0.015809225,
0.028189087,
-0.01605113,
0.048921797,
0.015012361,
0.06938414,
0.017972143,
-0.020448117,
0.03170383,
0.019565873,
-0.049064096,
-0.003297739,
-0.023009466,
-0.014436057,
0.03324064,
0.01192451,
-0.08469533,
0.047413446,
0.0038491408,
-0.028800964,
-0.0788896,
0.04303069,
0.011348207,
-0.050999336,
0.008914923,
0.05965101,
0.028843654,
0.020277359,
-0.02290986,
-0.0026253844,
-0.06574133,
-0.0086872475,
-0.011213024,
0.015823456,
-0.0048523364,
-0.04516515,
0.006406934,
-0.058797225,
0.018498644,
0.0013082455,
-0.032813746,
0.022184143,
-0.0031180887,
0.019452035,
0.02908556,
0.021017306,
-0.028174857,
-0.031333856,
0.048921797,
0.044225987,
0.014400482,
0.05808574,
0.06306615,
0.010380585,
-0.017360266,
0.0070294845,
-0.0059017786,
-0.0015581549,
-0.029128248,
-0.0069547785,
0.0026200484,
-0.01812867,
-0.0529915,
0.0023621344,
0.0456205,
-0.041351583,
-0.038249504,
0.021515345,
-0.04895026,
-0.008388423,
-0.012628881,
-0.026182696,
-0.02653844,
-0.004560627,
-0.022112994,
0.04101007,
-0.046360448,
0.24042545,
0.040355504,
-0.003359994,
-0.0032176967,
0.03688345,
0.06892879,
-0.011419355,
0.021472657,
0.019608563,
-0.034521315,
-0.01452855,
-0.0426038,
0.0008969174,
0.008502261,
-0.04826723,
0.014798915,
-0.05381682,
-0.009370275,
-0.0093204705,
-0.065229066,
-0.04507977,
0.049604826,
0.025257763,
0.047441907,
0.029099789,
0.0060085016,
-0.018256739,
-0.039245583,
0.0012513265,
-0.013126922,
0.011013808,
-0.0028797407,
0.018555563,
-0.02276756,
-0.0018071752,
0.0017689328,
-0.026154237,
-0.024603195,
-0.030963883,
0.063009225,
0.001933464,
-0.025300452,
0.036598854,
-0.017900996,
0.010665179,
0.028644439,
-0.044396743,
0.029967804,
0.017061442,
-0.0457628,
0.036001205,
-0.06335074,
0.050800122,
-0.0435145,
-0.053702984,
0.001451432,
-0.065684415,
-0.03731034,
0.010707868,
0.0051404885,
0.009377389,
0.03406596,
-0.030707749,
0.031333856,
-0.040241666,
-0.0076982817,
-0.02330829,
0.04297377,
-0.028231775,
-0.011469159,
0.021771481,
-0.012678686,
-0.00637136,
-0.01818559,
0.0043222792,
0.014613928,
-0.002733886,
0.034094423,
-0.027207235,
-0.03176075,
0.0035094062,
0.0064994274,
0.017886765,
-0.02851637,
0.023592886,
0.031589992,
-0.037566476,
-0.003959421,
0.031390775,
0.01425107,
0.041237745,
0.062041603,
0.022426048,
0.0054891165,
-0.0015528188
] |
Convert a model for all frameworks
To ensure your model can be used by someone working with a different framework, we recommend you convert and upload your model with both PyTorch and TensorFlow checkpoints. While users are still able to load your model from a different framework if you skip this step, it will be slower because 🤗 Transformers will need to convert the checkpoint on-the-fly.
Converting a checkpoint for another framework is easy. Make sure you have PyTorch and TensorFlow installed (see here for installation instructions), and then find the specific model for your task in the other framework. |
[
0.032237727,
0.03910541,
-0.001568795,
-0.0009098001,
-0.052571464,
-0.025531633,
0.032587845,
0.019606572,
-0.017559731,
0.026043342,
0.00714374,
0.04942041,
0.004423598,
-0.053648748,
0.004938674,
0.032749437,
0.018057974,
-0.005113733,
-0.06776117,
0.013694975,
-0.008039232,
0.018367695,
-0.076648764,
-0.021976596,
-0.04239113,
-0.01588994,
-0.038863026,
-0.009352173,
0.022218985,
-0.00002623513,
-0.04255272,
-0.006393008,
0.008019034,
-0.019606572,
-0.032857165,
-0.026326131,
0.020131746,
-0.011520207,
-0.08031153,
-0.039482463,
0.02516805,
0.035658102,
0.018502355,
-0.023902241,
-0.038108926,
0.012341636,
0.026151072,
-0.010422723,
-0.015459027,
-0.015768746,
0.014408675,
0.060435638,
0.035792764,
-0.007965169,
-0.006689261,
0.0018835639,
-0.033530466,
-0.009803286,
-0.028521096,
0.036627658,
-0.0138296345,
0.032614775,
-0.02806325,
-0.063452035,
0.008045966,
-0.033261146,
0.0012994739,
-0.03996724,
-0.07287827,
-0.020643456,
-0.05596491,
0.0445457,
0.04330682,
-0.044168647,
-0.032264657,
0.029113604,
0.040963728,
0.0020704053,
-0.010611248,
0.05006678,
0.014462539,
0.04354921,
0.0138161685,
-0.011836659,
-0.001923962,
-0.027686201,
0.039563257,
-0.006399741,
-0.03546958,
-0.02970611,
-0.007110075,
0.031752948,
-0.023902241,
0.0150819775,
0.053837273,
0.022798024,
0.005107,
0.03113351,
0.008853929,
-0.026851306,
0.042579655,
0.07815696,
0.027376482,
0.013728639,
-0.022932686,
0.009325241,
0.0023717084,
0.011311483,
-0.04306443,
-0.0018549486,
0.005335923,
0.020858914,
0.06366749,
-0.019014064,
0.010139937,
0.042418063,
-0.023861842,
-0.014435607,
-0.07153167,
-0.0039152545,
0.0065074693,
-0.0077227806,
0.015203172,
-0.036627658,
0.02830564,
-0.026178004,
-0.025666295,
0.04072134,
-0.02093971,
-0.021464886,
-0.023309736,
-0.028601892,
-0.00620785,
0.0096080275,
-0.0043293354,
0.008153694,
-0.035900492,
0.023807978,
0.020912778,
-0.05507615,
0.030810326,
0.023242405,
0.010018742,
0.046700265,
-0.00422834,
0.004167743,
-0.008382617,
-0.02441395,
-0.033665128,
-0.011055628,
-0.06706093,
-0.02285189,
-0.0320492,
0.0050632353,
-0.04481502,
-0.030783392,
-0.0059688273,
0.043656938,
0.022878822,
0.03522719,
0.00044900866,
0.010032209,
-0.048450854,
0.02465634,
0.040021103,
0.04204101,
-0.043630008,
-0.0021714007,
-0.010139937,
-0.036493,
0.020037483,
-0.0022420976,
0.023673318,
-0.012536894,
0.039051548,
0.05548013,
0.025396973,
0.015459027,
0.028844282,
0.0042923037,
-0.008988589,
-0.0064940033,
0.020037483,
-0.008631739,
0.0021680342,
0.020885846,
0.0072447355,
0.011614469,
-0.004366367,
0.03692391,
0.019660436,
0.03291103,
-0.029598381,
-0.0061337864,
-0.028844282,
-0.005632176,
-0.010261131,
0.028844282,
0.021922732,
-0.044518765,
0.00013886865,
0.03713937,
-0.031833746,
-0.008476879,
0.036816183,
-0.015162773,
-0.03215693,
0.02240751,
0.0035988023,
-0.00036779154,
0.015512891,
0.025491236,
0.017936781,
0.010409257,
0.023107745,
0.009951412,
-0.068353675,
-0.0050228373,
0.019269919,
-0.016038068,
0.023646386,
-0.010934434,
0.028494164,
0.061135873,
0.04204101,
-0.062159292,
-0.011574071,
0.02957145,
-0.0056490083,
0.051170994,
0.029005874,
0.013802703,
0.016495913,
0.06878459,
-0.0008685603,
0.01889287,
0.06926937,
0.031860676,
0.042175673,
0.006591632,
-0.027659269,
-0.0012329853,
0.01644205,
0.014772259,
-0.032345455,
0.008793332,
0.0045313262,
0.026851306,
-0.009432969,
0.036789253,
-0.04494968,
0.022798024,
-0.0010747592,
-0.0066320305,
-0.062967256,
-0.011789528,
0.01364111,
0.02932906,
-0.048343126,
-0.023525191,
0.018138772,
0.020858914,
0.017559731,
0.005490782,
0.038216654,
0.04494968,
0.014489471,
0.045407526,
0.001982876,
-0.047589026,
-0.0063290442,
-0.038782228,
-0.044680357,
-0.0423642,
-0.011365348,
-0.01786945,
0.022946151,
-0.003558404,
-0.0069686817,
-0.023794513,
-0.0005933479,
0.015499425,
-0.011271085,
0.0379204,
0.046457876,
0.017950246,
-0.054483645,
0.0015351298,
-0.04637708,
0.012052116,
0.0037031642,
-0.046161626,
0.021586081,
0.012348369,
0.005305624,
0.022569101,
0.020966642,
-0.01568795,
-0.03598129,
0.018946733,
-0.023767581,
0.043495346,
0.015566755,
0.029221332,
-0.017371206,
0.051682703,
0.021841936,
-0.031483628,
0.053056244,
0.0335574,
-0.0089818565,
0.039024618,
0.031079646,
-0.008443214,
-0.055911046,
0.037570283,
0.03598129,
-0.027686201,
-0.053594884,
-0.03765108,
-0.025437372,
0.03215693,
0.004049915,
-0.031752948,
0.004389933,
0.081927456,
-0.049985982,
-0.07212417,
-0.03048714,
-0.047373567,
-0.021828469,
-0.06151292,
-0.01524357,
0.017182682,
-0.0108469045,
0.0009796552,
-0.046781063,
-0.023525191,
0.015849542,
0.01838116,
0.0019845592,
-0.022919219,
0.081011765,
0.03406911,
-0.0029844136,
-0.0049992716,
0.020118281,
0.0026124138,
-0.0044269646,
0.03598129,
0.0012616006,
-0.029032806,
0.012072315,
0.023511726,
0.038485974,
0.014422141,
-0.03818972,
0.023511726,
0.046080828,
0.0012127863,
-0.008921259,
0.009365639,
0.012072315,
-0.030163955,
-0.036062084,
-0.024319688,
-0.015216638,
0.027847795,
-0.0039152545,
-0.055641726,
0.03932087,
-0.01702109,
-0.02414463,
-0.0033008659,
-0.010671846,
-0.018663947,
0.037381757,
0.044491835,
0.031995337,
-0.021289827,
-0.03420377,
0.011136425,
-0.0073861293,
0.008840463,
0.042418063,
0.0072649345,
0.015849542,
0.028009387,
0.008039232,
0.011601003,
0.013136133,
-0.012355102,
-0.0021326859,
-0.032749437,
-0.008820264,
-0.048612446,
0.023794513,
0.026555054,
0.048127666,
0.026662782,
-0.0069013513,
-0.052302144,
0.0035213723,
0.028386436,
0.0077833775,
0.0014677995,
-0.033368874,
0.034769345,
0.03455389,
0.043333754,
-0.019189123,
-0.00043217608,
-0.031995337,
0.034365363,
0.022461373,
-0.00561871,
0.0035819695,
0.02127636,
-0.027847795,
0.0070225457,
0.015216638,
-0.05224828,
-0.027982455,
0.019754697,
0.024939127,
-0.02441395,
-0.014449073,
-0.06264407,
0.039913375,
-0.010348661,
-0.032210793,
-0.04314523,
-0.042606585,
0.0138161685,
-0.057742428,
0.00028867848,
0.03880916,
-0.041421574,
0.010941166,
-0.034122974,
-0.011277818,
-0.0029625313,
-0.008490345,
0.024615942,
-0.027228355,
-0.0074534593,
-0.025598964,
-0.03692391,
-0.0069552157,
-0.04764289,
0.0005394837,
-0.048046872,
0.014058557,
-0.05736538,
0.020414533,
-0.0656066,
0.012355102,
0.060274046,
0.022569101,
0.033907518,
-0.034257635,
0.020145213,
0.041421574,
-0.0394286,
-0.0023144775,
0.034607753,
-0.00357187,
-0.004857878,
0.0583888,
-0.007271668,
-0.0003191875,
0.027053297,
0.014300946,
-0.030406345,
-0.005881298,
-0.049716663,
0.0036392005,
0.011284551,
-0.0013802702,
0.022959618,
-0.052086685,
0.008894327,
-0.024817932,
-0.010752642,
0.00002893097,
-0.04586537,
0.032614775,
-0.0048040138,
-0.038351312,
0.02349826,
-0.005342656,
-0.009156914,
-0.01473186,
-0.0011572387,
0.016549777,
0.0015780529,
-0.030514073,
0.0012750668,
0.05020144,
0.036870047,
0.013089002,
-0.062320884,
-0.038081992,
0.035792764,
-0.054914556,
0.0052180947,
0.030702597,
0.013560314,
0.03932087,
0.0084095495,
-0.04546139,
0.035307985,
-0.04915109,
0.008793332,
-0.021868868,
-0.034796275,
-0.019364182,
-0.021195564,
0.01766746,
0.036196746,
0.0071706725,
-0.031187374,
0.010584316,
0.006807089,
0.043603074,
0.032991827,
0.038728364,
-0.022461373,
-0.0160246,
-0.029032806,
0.067976624,
0.002381808,
-0.00047804482,
-0.04508434,
-0.038135856,
-0.004416865,
0.02305388,
0.00787764,
-0.049528137,
0.033341944,
-0.0416101,
-0.015283968,
-0.06716866,
-0.014745326,
0.007985368,
0.017936781,
-0.04766982,
0.053379428,
-0.011284551,
-0.0037469289,
0.0065411343,
0.03557731,
0.0019273286,
0.009554164,
-0.029921565,
-0.011755863,
-0.0138431005,
-0.014745326,
-0.012927409,
0.024427418,
0.0038108926,
-0.00400615,
-0.0030483773,
0.0313759,
-0.010415991,
-0.0074063283,
-0.036439136,
0.0074467263,
0.036466066,
-0.0075409887,
0.031726018,
-0.03802813,
0.014368277,
-0.024117697,
0.019754697,
-0.048504718,
0.0055446466,
-0.024117697,
-0.08930685,
0.038863026,
-0.031672154,
-0.02792859,
0.015539823,
0.0052416604,
0.022259383,
-0.025935614,
0.055264674,
0.06506796,
0.0051170997,
0.051440317,
-0.056180365,
0.029733041,
0.036062084,
0.010368859,
-0.009628227,
-0.010631448,
-0.03164522,
0.008254689,
0.0015965687,
-0.041044526,
-0.0077699115,
-0.026851306,
-0.012260839,
0.012705219,
0.038351312,
0.010045675,
-0.019431513,
-0.060435638,
0.03560424,
0.003105608,
0.0115000075,
0.025221914,
0.05828107,
0.043010566,
0.0150146475,
-0.010483321,
-0.043199092,
0.0026056808,
0.06916164,
-0.009877348,
-0.0116818,
0.0008264789,
0.043926258,
-0.0262588,
-0.05596491,
-0.021397555,
0.0054066195,
-0.0021899166,
-0.0055177147,
-0.017505867,
0.022259383,
-0.066899344,
0.027551541,
0.002173084,
-0.029490652,
0.01998362,
0.0009762887,
-0.035631172,
-0.07546375,
-0.019108327,
0.027026365,
-0.005844266,
-0.029302128,
-0.034769345,
0.00809983,
-0.0029322326,
-0.018313829,
0.019606572,
-0.012489762,
-0.028413368,
-0.011021963,
0.015782213,
0.056503553,
-0.011075827,
-0.009614761,
-0.012887011,
-0.01524357,
-0.040909864,
-0.0022437808,
0.0041408106,
-0.024185028,
0.006406474,
-0.005803868,
0.00196941,
0.0061472524,
0.05009371,
-0.027686201,
-0.058496527,
0.032749437,
-0.02492566,
-0.016994156,
0.010941166,
-0.00015833131,
0.007931504,
0.06673775,
0.024050368,
-0.029975431,
0.030083159,
0.0132438615,
-0.011399012,
0.0020114915,
-0.04907029,
0.035146393,
-0.037354827,
-0.012523428,
-0.039132345,
0.023242405,
-0.0078641735,
-0.001994659,
-0.019997086,
0.014799191,
0.000029772598,
0.050255302,
0.02107437,
-0.011378814,
-0.0481546,
-0.027470745,
0.016293922,
0.0014745326,
-0.021788072,
0.022420976,
0.0019189123,
-0.018044509,
0.031052714,
-0.00093336566,
-0.008591341,
-0.043656938,
0.0009762887,
0.031968407,
0.013378522,
-0.012664821,
-0.021639945,
0.015741814,
-0.045676846,
-0.0014097273,
-0.031429764,
-0.018286897,
-0.016172728,
0.042471927,
0.019646969,
0.044384107,
0.019835494,
-0.0032806667,
-0.0071774055,
0.049204953,
0.023444396,
0.0029810471,
-0.036600728,
-0.0017320708,
-0.021963129,
-0.009170381,
0.042498857,
0.05671901,
-0.024602477,
0.011493275,
-0.0003488549,
-0.0011572387,
0.0008142753,
-0.015324366,
0.0027538075,
0.011096027,
-0.004423598,
-0.004558258,
0.011924189,
-0.023282804,
-0.018152237,
0.04637708,
-0.06566047,
-0.02984077,
0.019727765,
-0.025572032,
-0.00546385,
-0.006234782,
-0.032830235,
-0.0126580885,
0.016253524,
-0.0009703973,
-0.016886428,
0.010759375,
0.014354811,
-0.003807526,
-0.022124723,
-0.044141717,
0.018152237,
-0.013008205,
-0.025760556,
-0.02374065,
-0.01341892,
0.0422834,
0.011035429,
-0.022326713,
-0.017505867,
-0.006598365,
0.012974541,
0.017384673,
-0.028709622,
0.013041871,
-0.029086672,
-0.031429764,
-0.021478351,
0.05351409,
-0.053487156,
0.009345439,
0.0019340616,
-0.015297434,
0.038216654,
0.051386453,
0.008806798,
-0.031160442,
-0.014879987,
0.036196746,
0.045407526,
0.0065041026,
0.00037978473,
0.018152237,
0.04828926,
0.026285732,
0.040856,
-0.0043360684,
0.0394286,
0.014745326,
-0.032937963,
-0.048208464,
0.0415293,
0.024252359,
-0.009628227,
0.03945553,
-0.0576347,
-0.02421196,
-0.011001764,
0.015485959,
0.035173327,
-0.012833147,
-0.014637598,
-0.017034555,
-0.013991227,
0.03802813,
0.032830235,
-0.06366749,
0.041717827,
-0.007096609,
0.037704945,
0.01123742,
0.031348966,
-0.0025114187,
-0.011284551,
0.027766997,
0.0042653717,
0.0055446466,
0.015593687,
0.07287827,
-0.023350133,
0.028898146,
-0.04791221,
0.0150550455,
-0.0445457,
-0.030567937,
-0.0069080843,
0.029355992,
0.03689698,
-0.029275196,
0.044249445,
-0.010577584,
0.02076465,
-0.06566047,
0.026339596,
-0.046457876,
-0.0019306951,
-0.0026831108,
-0.0039421865,
-0.0328033,
0.041960217,
-0.031968407,
-0.027766997,
0.030352479,
0.054510575,
0.03161829,
0.049716663,
0.04433024,
-0.015620619,
0.008638472,
0.0124157,
-0.007648717,
-0.020926245,
0.0059755603,
-0.0095003,
0.0049992716,
-0.074171014,
-0.07207031,
0.02394264,
0.00641994,
-0.010732443,
-0.0040667476,
0.0226095,
-0.011910723,
-0.052706126,
0.010113005,
0.094046906,
0.006605098,
0.04109839,
0.011533673,
0.01588994,
-0.036493,
-0.014879987,
-0.042660452,
0.0474813,
-0.002895201,
-0.036546864,
-0.03985951,
-0.022878822,
0.035819698,
0.028978942,
0.003669499,
-0.014422141,
0.017330809,
0.036681525,
0.024050368,
-0.008934725,
-0.016953759,
-0.043199092,
0.04497661,
0.048450854,
0.0017421704,
0.07309373,
0.048962563,
-0.023929173,
-0.02734955,
-0.0016167678,
0.015984204,
-0.0065007363,
-0.000781031,
0.020481864,
0.0034607751,
-0.043495346,
-0.03743562,
-0.05548013,
0.0050901673,
-0.025558565,
0.024104232,
-0.022111256,
-0.0090491865,
-0.09000709,
-0.047615957,
-0.0018162336,
0.052706126,
-0.030406345,
-0.062536344,
-0.010335194,
-0.06388295,
0.2085622,
0.01653631,
0.022016995,
-0.0036324672,
-0.008692336,
0.053998865,
0.027161026,
0.0051844297,
0.0211821,
-0.05623423,
0.0018296997,
-0.053110108,
0.0074467263,
-0.014179752,
0.006396374,
0.04842392,
-0.054133527,
-0.035038665,
0.019822028,
0.0015073561,
-0.06436773,
0.035200257,
0.009985077,
0.07772605,
0.028655756,
-0.040074967,
-0.02080505,
-0.070238926,
0.04037122,
-0.030137023,
0.012092514,
0.02394264,
-0.0012540261,
-0.016011136,
0.014260548,
0.033692062,
0.023228938,
-0.016657505,
-0.024427418,
-0.009729222,
0.014166286,
-0.03291103,
-0.008921259,
-0.003662766,
-0.0010469855,
0.0015107227,
-0.018165704,
0.06097428,
0.03767801,
-0.033988312,
0.06442159,
-0.03549651,
0.03673539,
-0.03843211,
-0.026447324,
0.008362418,
-0.021922732,
-0.05098247,
-0.054375917,
0.017438537,
0.04279511,
-0.00057735696,
0.01422015,
0.0328841,
0.0048343125,
0.0077025816,
-0.007985368,
0.03474241,
-0.030083159,
0.0009501983,
-0.016347786,
-0.018152237,
-0.0335574,
-0.064960234,
0.013089002,
0.009358905,
0.0033395807,
0.008180626,
0.00055589544,
-0.024804467,
0.011089293,
-0.0023228938,
0.026649315,
-0.036977775,
0.044276375,
0.061782245,
-0.024023436,
0.004339435,
0.0057129725,
0.018461956,
0.015876474,
0.038378246,
0.02690517,
0.025841352,
0.02537004
] | training_args = TrainingArguments(output_dir="my-awesome-model", push_to_hub=True)
Pass your training arguments as usual to [Trainer]:
trainer = Trainer(
model=model,
args=training_args,
train_dataset=small_train_dataset,
eval_dataset=small_eval_dataset,
compute_metrics=compute_metrics,
) |
[
0.024827756,
0.02485698,
-0.017345818,
0.0067074397,
0.0010329676,
-0.00063932565,
0.00967391,
-0.0019581632,
0.017243527,
0.041852083,
-0.008855574,
0.015022326,
-0.0077011343,
-0.019800829,
0.0043474142,
0.041384462,
0.0138971135,
-0.027677322,
-0.0644148,
-0.0070764218,
0.016732065,
-0.01249425,
-0.059241742,
-0.045622278,
-0.026742078,
0.032002814,
-0.027048955,
-0.035334617,
0.032382756,
0.04044922,
-0.07306579,
-0.0018494778,
0.013451411,
-0.0066855196,
-0.031564422,
-0.054068685,
-0.032324307,
-0.03594837,
-0.05965091,
-0.05757584,
-0.003697129,
0.00690837,
-0.004829649,
-0.04448245,
-0.02753119,
0.033318,
0.018617162,
0.011836658,
0.018997105,
-0.060089305,
-0.02003464,
0.04299191,
-0.015709145,
0.043284174,
-0.030161558,
-0.0046396777,
-0.026815144,
-0.0031016427,
-0.041998215,
0.047697347,
0.031827457,
0.02582145,
-0.016790519,
-0.05956323,
-0.0075403894,
0.0081468355,
-0.005289963,
0.000049633363,
-0.02549996,
-0.000090932655,
-0.040390767,
0.021495955,
-0.0073504183,
-0.04649907,
0.010711445,
0.03545152,
0.017360432,
-0.000114336544,
0.012318892,
0.0449793,
0.010755284,
0.050649203,
0.00075349095,
0.008914026,
-0.030599952,
-0.018967878,
0.049977,
-0.024535492,
-0.021276757,
-0.03133061,
-0.0071750605,
0.0108210435,
-0.009732363,
0.052081294,
0.045388468,
0.043985605,
-0.014846968,
0.01947934,
-0.03895868,
-0.021086786,
0.052139748,
0.08767895,
-0.013188375,
-0.0105287805,
-0.011719753,
-0.008431792,
0.02142289,
0.015051553,
-0.011537088,
-0.008738669,
0.004657944,
-0.019610858,
0.029810842,
-0.02471085,
0.013780208,
-0.0015426015,
-0.020136932,
0.015489947,
-0.03325955,
-0.015431494,
0.048720267,
0.0048990613,
0.0108210435,
-0.022621168,
0.0056845183,
-0.003357373,
0.018295674,
0.03372717,
0.008877493,
-0.017185073,
0.0310968,
-0.0161037,
0.015183071,
0.027589642,
-0.005439748,
0.008738669,
0.023205694,
0.022138935,
0.065642305,
-0.055588454,
0.000016282826,
0.034457825,
0.029869294,
0.07026006,
0.006159446,
0.0073796446,
-0.015124618,
-0.036795933,
-0.015183071,
-0.016834358,
-0.022241225,
0.022957271,
0.00033838593,
0.0006530255,
-0.027282765,
0.006272698,
-0.018456418,
0.06301194,
0.009469327,
0.028817147,
-0.029606258,
0.030190784,
-0.031067574,
0.0305415,
0.0014558359,
0.033990204,
-0.01864639,
-0.01251617,
0.0032605608,
-0.028524885,
-0.02868563,
-0.006221552,
0.015007713,
-0.001807465,
0.04632371,
0.016922036,
0.04743431,
0.04100452,
0.003901713,
-0.0028879254,
0.009630071,
0.03854951,
0.02855411,
0.012479637,
-0.021832058,
-0.0177696,
-0.010141532,
-0.015533787,
-0.0013434972,
-0.01163938,
0.0021225612,
0.03849106,
-0.030483047,
0.021948963,
-0.05155522,
-0.009388954,
-0.027984198,
-0.0138971135,
0.006283658,
-0.009009012,
-0.0039053664,
0.050941467,
-0.038520284,
0.021729765,
0.0006498289,
-0.023775607,
0.012048549,
0.011800125,
-0.021671314,
-0.009089384,
0.04381025,
-0.0102365175,
-0.018982492,
-0.0067695454,
-0.00026691848,
0.0010092212,
-0.029328607,
0.010916029,
-0.0026395016,
0.010287663,
0.0037099156,
0.004679864,
0.060089305,
0.0238779,
-0.024769302,
-0.016892811,
-0.008132222,
-0.009951561,
-0.009191676,
0.004771196,
0.019128624,
-0.01136173,
0.01809109,
0.043138042,
0.023702541,
0.028466431,
0.05401023,
0.049918547,
0.047931157,
-0.008212594,
-0.004150137,
-0.019961573,
0.015475335,
-0.0048881015,
-0.0048881015,
-0.018675616,
0.041384462,
-0.009052851,
-0.051058374,
0.0355392,
-0.07148757,
0.043167267,
-0.013590237,
-0.0043583745,
-0.062544316,
-0.021452116,
0.020195384,
0.0067257057,
-0.02590913,
-0.035276163,
0.052315105,
0.027721161,
0.04103375,
-0.02253349,
0.01362677,
0.02202203,
0.0031801886,
0.03849106,
-0.0038688336,
-0.06669445,
-0.0067183995,
-0.023658702,
-0.0449793,
-0.034165565,
-0.057721972,
-0.024725463,
0.028524885,
-0.013750982,
0.011544394,
-0.013356427,
-0.006827998,
-0.020852976,
0.006539388,
0.04267042,
0.037146647,
0.010192677,
-0.08265202,
-0.008168755,
-0.044131737,
0.05538387,
0.012114308,
-0.020575326,
0.017126622,
-0.020356128,
-0.0083660325,
0.042699646,
-0.015519174,
-0.025105406,
-0.054770116,
0.006016968,
-0.018471032,
0.0355392,
-0.0072371666,
0.016176766,
-0.035071578,
0.015679918,
-0.004263389,
-0.04267042,
0.054916248,
0.06681136,
0.043167267,
0.022942659,
0.019654697,
0.0006662687,
-0.040244635,
0.06464861,
0.07791736,
0.022869593,
-0.06622683,
-0.0032715206,
-0.081658326,
0.022591943,
0.003978432,
-0.011295971,
0.0117343655,
0.07405949,
-0.022299679,
-0.04585609,
0.0068572243,
-0.028992506,
-0.050327715,
-0.04091684,
0.009016318,
0.046674427,
0.0075330827,
0.005984088,
-0.012888805,
-0.019976187,
-0.030044653,
0.009849268,
0.014357428,
0.0061046467,
0.029270155,
0.035100807,
-0.027706547,
-0.018061863,
0.046206806,
-0.03197359,
-0.017097395,
-0.007913025,
-0.009893108,
-0.052636594,
-0.0032057615,
0.027911132,
0.023074176,
0.04471626,
-0.035831463,
0.006955863,
0.009103998,
0.028334914,
-0.002093335,
0.02614294,
-0.016951263,
-0.0022504262,
-0.0644148,
-0.01934782,
-0.025558414,
0.020619165,
0.05640679,
-0.037088193,
0.020940656,
-0.01674668,
-0.018441806,
0.035100807,
-0.055179283,
-0.046148352,
0.028203394,
0.018471032,
0.035656106,
0.014415881,
-0.012472331,
0.023059564,
0.0048552216,
0.028466431,
0.04103375,
0.006638027,
-0.013955566,
0.01901172,
0.0050123134,
0.0299862,
0.019318596,
-0.023161855,
0.0053484156,
-0.026362136,
-0.015183071,
-0.047901932,
0.024637785,
0.047112823,
0.05553,
0.022504263,
0.029810842,
-0.008102996,
-0.010813737,
0.01586989,
0.0057466244,
0.0038469138,
-0.07259817,
0.023731768,
0.021919737,
-0.026040647,
-0.014635078,
-0.0061046467,
-0.018807134,
0.045972995,
0.022372745,
0.013743675,
-0.02739967,
-0.026040647,
-0.028174167,
0.034954675,
-0.03524694,
-0.057692748,
-0.05678673,
-0.004504506,
0.042115122,
-0.00802993,
0.025689932,
-0.008614456,
-0.00090053584,
0.03916326,
-0.01550456,
-0.035831463,
-0.012881499,
0.004551999,
-0.045037754,
0.046674427,
0.016308283,
-0.04155982,
0.000667182,
-0.08592537,
0.02919709,
0.013173762,
-0.008855574,
0.0065576546,
-0.02573377,
-0.012998404,
-0.047872704,
-0.0007754107,
-0.040098507,
-0.022825753,
0.021481343,
-0.006612454,
0.020049253,
-0.023381053,
-0.008278354,
-0.056523696,
0.014328201,
0.061609074,
0.023746382,
0.0004509529,
-0.002761887,
0.007635375,
0.027311992,
-0.0070362356,
-0.024550105,
0.025383055,
0.025748383,
-0.0025426894,
0.03513003,
0.038812548,
-0.026625173,
0.03854951,
0.025470734,
-0.0032313345,
-0.00884096,
-0.009067465,
0.00026783178,
-0.006751279,
0.0019070171,
0.05401023,
-0.047375858,
0.05085379,
-0.0033336265,
-0.005607799,
-0.03323032,
-0.063596465,
0.006875491,
0.0043328013,
-0.002051322,
0.029416287,
0.018953266,
0.005567613,
-0.024140937,
0.028758695,
0.02174438,
-0.009710443,
-0.058686443,
0.050327715,
0.046615973,
0.033756394,
0.05900793,
-0.011164453,
-0.04322572,
0.019493952,
-0.012384651,
-0.0025262497,
0.013889806,
-0.0016878197,
0.026639787,
0.007898412,
-0.027268153,
0.0022613863,
-0.046762105,
-0.0015581279,
0.0022449463,
-0.0034012124,
-0.030687632,
0.0001753579,
0.008935946,
0.02383406,
-0.026522882,
-0.01864639,
-0.010024627,
-0.0058343033,
0.056114525,
0.011851271,
0.05132141,
-0.025017727,
-0.048369553,
0.0244332,
0.024418587,
-0.049070984,
-0.006451709,
-0.03615295,
-0.010879496,
-0.011975483,
0.038286474,
0.0033427598,
-0.08937407,
0.04345953,
-0.024214003,
0.0019782563,
-0.06833113,
-0.037731174,
-0.017375045,
0.0505323,
-0.0115151685,
0.041062973,
-0.007956864,
-0.021262145,
-0.021758992,
0.033434905,
0.0012640381,
0.024886208,
-0.045972995,
0.0037775014,
-0.01031689,
-0.0087313615,
-0.040712256,
0.028291075,
-0.0054945475,
0.022460423,
0.035159256,
-0.009367034,
-0.04904176,
-0.03410711,
-0.028422592,
-0.00063019246,
0.032616567,
-0.039864693,
0.0227673,
-0.019303981,
0.0035546506,
-0.032032043,
0.034224015,
-0.010448408,
0.0047675427,
-0.04670365,
-0.039338622,
0.03314264,
-0.014576625,
-0.0020622818,
-0.024009418,
-0.043576438,
0.036065273,
-0.04424864,
0.01920169,
0.06242741,
0.0037519282,
0.028656403,
-0.057312805,
0.06429789,
0.049538605,
-0.0030358837,
-0.025076179,
0.004351068,
-0.021452116,
-0.0013252308,
-0.032090496,
-0.016410576,
-0.007408871,
0.003192975,
-0.0058269966,
0.011471329,
0.046060674,
-0.0011818392,
-0.04880795,
-0.04419019,
0.05658215,
-0.013655996,
0.0071860203,
0.050678432,
0.047814254,
0.029109411,
0.030658405,
-0.013356427,
-0.02637675,
-0.035743784,
0.043196496,
0.010609153,
0.009432794,
0.035656106,
0.04170595,
-0.040975295,
-0.05585149,
-0.06938327,
0.009666604,
-0.03548075,
-0.006864531,
-0.012421184,
-0.018514872,
-0.0427581,
0.030220011,
0.019903122,
-0.01670284,
-0.015884502,
-0.0294309,
-0.002909845,
-0.061024547,
-0.011924337,
0.07405949,
0.017243527,
-0.008336807,
-0.020093093,
0.011281358,
-0.045651507,
0.0018723109,
0.03790653,
-0.03729278,
0.014277055,
0.015256137,
0.023731768,
0.07458556,
0.020370742,
0.04182286,
0.00138825,
-0.017199688,
-0.016074473,
-0.008387953,
0.02956242,
-0.035597652,
0.0299862,
-0.03475009,
0.018661002,
0.017301979,
0.016688226,
-0.012757286,
-0.06295349,
0.0460899,
-0.01744811,
-0.028247233,
-0.011507862,
0.006225205,
0.010536087,
0.039777014,
0.011822045,
-0.018719455,
0.0032422943,
0.04117988,
-0.0065941876,
-0.026873598,
-0.019260142,
-0.010156144,
-0.04126756,
-0.027443511,
-0.04760967,
-0.013078776,
0.017754987,
-0.0115151685,
-0.02462317,
-0.0114786355,
-0.019172464,
0.035422295,
0.011434796,
-0.0034487052,
-0.017038941,
-0.013341813,
-0.014467026,
-0.0010731538,
-0.023176469,
0.01864639,
0.008687522,
-0.021758992,
0.031447515,
0.020136932,
-0.026479041,
-0.014642384,
-0.00028084664,
0.028568724,
-0.006057154,
0.0025883557,
-0.017301979,
0.007942251,
-0.036445215,
-0.0052278573,
0.016907424,
-0.023293374,
-0.0114055695,
0.051029146,
0.006904717,
0.0061521395,
0.02026845,
-0.02479853,
-0.041384462,
0.05561768,
0.034019433,
-0.015153845,
-0.0019198036,
-0.021758992,
0.019333208,
-0.025280762,
0.024462426,
0.05187671,
-0.02530999,
0.019099398,
-0.007397911,
0.008044544,
0.0040040053,
-0.0065211216,
0.035042353,
0.040244635,
-0.006093687,
-0.02193435,
0.020020027,
-0.028291075,
-0.016352125,
-0.01527075,
-0.040507674,
-0.0065576546,
0.045359243,
-0.021583633,
0.0025152897,
0.009228209,
0.018675616,
0.026289072,
0.005187671,
0.0032002816,
0.0067257057,
-0.020166159,
0.03673748,
0.0060242745,
-0.050152358,
-0.031769004,
-0.016089087,
0.04299191,
-0.010441101,
-0.011873191,
0.018178768,
0.03916326,
-0.015563013,
-0.051525995,
0.0062398184,
-0.018661002,
0.0112594385,
0.009608151,
-0.022577329,
-0.0056625986,
-0.03317187,
0.030512273,
-0.020926042,
0.018544096,
-0.047346633,
0.007445404,
0.012698834,
0.011646687,
0.027911132,
0.037497364,
0.021539794,
-0.015475335,
0.0007955038,
0.013809434,
-0.0076207616,
-0.009454713,
0.00045940114,
-0.007649988,
0.048135743,
0.010704138,
0.014825049,
0.010536087,
0.03802344,
-0.012443104,
-0.0120631615,
-0.012691528,
0.03293806,
0.0064078695,
0.0020787218,
0.06131681,
-0.026669012,
-0.022109708,
0.010309583,
0.028174167,
0.03337645,
-0.0008069203,
0.015314589,
-0.04170595,
-0.0054105218,
0.0049757804,
0.0067585856,
-0.041998215,
0.048340328,
-0.03419479,
0.0416475,
0.007244473,
-0.006133873,
-0.0054580146,
0.002385598,
0.018704843,
0.0048990613,
0.0077376673,
0.013612157,
0.046674427,
-0.025236923,
0.030658405,
-0.038607962,
-0.014905421,
-0.025762998,
-0.022591943,
-0.024097098,
0.02471085,
0.028802535,
-0.03600682,
0.0145547055,
-0.003368333,
-0.02360025,
-0.07610533,
0.027604256,
-0.06850649,
0.0067183995,
0.018500257,
-0.023702541,
-0.052695047,
0.07031851,
-0.0011407397,
0.021773605,
0.0076572946,
0.023264147,
0.014094391,
0.01657132,
0.043050364,
-0.055968396,
0.02142289,
-0.0227673,
-0.033347227,
-0.008168755,
0.018967878,
-0.03349336,
-0.02142289,
-0.034545504,
-0.05354261,
0.023015724,
0.0058744894,
0.0021864937,
-0.0560853,
0.035743784,
-0.013144536,
-0.039221715,
0.025689932,
0.101766035,
-0.005202284,
0.013772901,
-0.00556396,
0.0110402405,
-0.015840663,
-0.008241821,
-0.031593647,
0.017141234,
0.001917977,
-0.053717967,
-0.012874192,
-0.03814034,
0.0127719,
0.013013017,
-0.00585257,
0.013159148,
0.025573026,
-0.0038688336,
0.059387874,
0.009089384,
-0.036854383,
-0.03524694,
0.043985605,
0.034837767,
-0.008599844,
0.07043542,
0.0427581,
-0.03396098,
-0.042348932,
0.0110767735,
0.03688361,
-0.0017919384,
0.0041830163,
0.0014037765,
-0.039075583,
-0.033113416,
-0.07078613,
-0.0466452,
-0.020765297,
0.002107948,
-0.0036587694,
-0.0054214816,
-0.014627771,
-0.05436095,
-0.06353801,
-0.009483939,
0.034954675,
0.002235813,
-0.029650098,
0.039718565,
-0.050824564,
0.2555549,
0.040040053,
0.019420886,
-0.022621168,
0.011069467,
0.07739128,
0.02086759,
0.027925745,
0.007847265,
-0.01975699,
-0.01768192,
-0.047580443,
0.013553704,
0.008826347,
-0.005213244,
0.0505323,
-0.059534006,
-0.01390442,
-0.020253837,
-0.06792196,
-0.070143156,
0.010499554,
0.023804834,
0.051701352,
0.053484157,
0.00083842996,
-0.02313263,
-0.03594837,
-0.00749655,
-0.0118074315,
0.05006468,
0.021627475,
0.024871595,
-0.0288756,
-0.030161558,
0.020575326,
0.004679864,
-0.03673748,
-0.0037884612,
-0.014613158,
0.022869593,
-0.02202203,
0.019683924,
-0.0051182588,
-0.009659298,
0.004544692,
-0.013319894,
0.0310968,
-0.0010457541,
-0.02415555,
0.046148352,
-0.021159852,
0.026303684,
-0.02462317,
-0.0544194,
0.011171759,
-0.022182774,
-0.045651507,
-0.05099992,
-0.0075038564,
0.04378102,
-0.0003940986,
-0.018704843,
0.023731768,
-0.009038238,
0.0054616677,
-0.0360945,
0.055471547,
-0.023892513,
0.01975699,
-0.043605663,
0.0030998162,
-0.01883636,
-0.067103624,
0.017813439,
-0.014890808,
-0.010090386,
0.021159852,
0.027545802,
-0.028860986,
0.015197684,
0.00093615544,
-0.019040944,
-0.076163776,
0.04307959,
0.047317404,
-0.0360945,
-0.029109411,
0.034077883,
0.010674912,
0.027370445,
0.04103375,
0.010696831,
0.00065713545,
-0.00005976553
] | trainer.push_to_hub()
``
</pt>
<tf>
Share a model to the Hub with [PushToHubCallback]. In the [PushToHubCallback`] function, add:
An output directory for your model.
A tokenizer.
The hub_model_id, which is your Hub username and model name.
from transformers import PushToHubCallback
push_to_hub_callback = PushToHubCallback(
output_dir="./your_model_save_path", tokenizer=tokenizer, hub_model_id="your-username/my-awesome-model"
) |
[
0.037854344,
0.03420848,
-0.029907497,
0.015124648,
-0.002745081,
0.00410516,
0.00056210073,
-0.0054723597,
0.023299364,
0.040959027,
-0.0017606259,
0.013465494,
0.019781671,
-0.044206128,
0.004525289,
0.044775795,
0.035547197,
-0.013593669,
-0.050928194,
-0.003156309,
-0.009862353,
-0.022416381,
-0.081861086,
-0.06260636,
-0.03813918,
0.014740123,
0.0089366445,
-0.04363646,
0.049760375,
0.025022605,
-0.05015914,
-0.014882539,
-0.009143149,
-0.025991037,
-0.025435613,
-0.044946693,
-0.00847379,
-0.017246656,
-0.04423461,
-0.045402426,
-0.005725149,
0.0056112157,
0.005347745,
-0.05850476,
-0.026318597,
0.021447947,
0.0119060315,
0.0012381347,
0.009705694,
-0.04394978,
-0.027158855,
0.054517094,
-0.013130815,
0.020892521,
-0.03053413,
0.010766699,
-0.030163845,
0.005294339,
-0.046855077,
0.022914838,
0.06049859,
0.022615764,
-0.00058479834,
-0.042668026,
0.009570398,
0.002070382,
-0.0032898246,
0.020621931,
-0.027870938,
0.021590363,
-0.036800463,
0.010624282,
-0.0018202628,
-0.03697136,
-0.005525766,
0.034664214,
0.008053661,
0.016890615,
-0.00074234675,
0.02002378,
0.0096985735,
0.07268946,
0.021704298,
0.017602697,
-0.016862132,
-0.039563343,
0.039563343,
-0.003927139,
-0.020636173,
-0.053149894,
-0.01906959,
0.017716631,
-0.01669123,
0.020166198,
0.017146964,
0.03412303,
-0.022444863,
0.028369397,
-0.023997204,
-0.028511813,
0.031929813,
0.09718512,
0.0072774906,
0.004482564,
-0.01881324,
0.018044189,
0.021860955,
-0.0023018091,
-0.035148427,
-0.027999112,
0.004785199,
-0.013145057,
0.029010272,
-0.013308836,
0.016961822,
-0.009192995,
-0.021803988,
-0.0088013485,
-0.014683156,
-0.030619578,
0.03241403,
-0.00014964874,
0.009598882,
-0.030904412,
0.008851195,
-0.023171188,
0.015580381,
0.04004756,
0.004414916,
0.009392378,
0.006978416,
-0.03241403,
0.041898977,
0.033496395,
-0.035575677,
-0.017773598,
-0.010410657,
-0.0041300827,
0.02507957,
-0.030477162,
0.0109375985,
0.014198939,
0.011400453,
0.058732625,
-0.012126777,
0.0068502408,
0.015680073,
-0.05782116,
-0.016648507,
-0.0050486703,
-0.04078813,
0.012197986,
-0.01710424,
-0.021604605,
-0.050928194,
0.017773598,
-0.020137714,
0.043066796,
0.012141019,
0.011913152,
-0.0038381286,
0.023569955,
-0.044861242,
0.039221544,
0.010161428,
0.041272346,
-0.04115841,
-0.0044362787,
0.010054615,
-0.021234322,
-0.014697398,
-0.0015380998,
0.021889439,
0.00023943798,
0.06243546,
0.045801193,
0.04437703,
0.016805165,
0.0068324385,
-0.009171632,
0.001744604,
0.007555203,
0.010788061,
0.024994122,
-0.012603873,
-0.0043579494,
0.022658488,
-0.009826749,
0.018798998,
0.010852149,
0.008124869,
0.030220812,
-0.03600293,
0.030220812,
-0.055457044,
-0.024139622,
-0.032043744,
-0.01479709,
0.0020846238,
-0.0066757803,
-0.0048386054,
0.04688356,
-0.048535593,
-0.0074483906,
-0.010040374,
0.00068226474,
0.009264203,
0.012376007,
-0.023854788,
-0.006647297,
0.043778878,
-0.00795397,
0.0037954038,
0.019838639,
-0.0022127987,
-0.009029215,
-0.035148427,
-0.008060782,
0.015281307,
-0.0071742386,
-0.0016618243,
-0.0070781074,
0.04628541,
0.026731605,
0.008231682,
-0.017033031,
0.0013734306,
0.018898688,
-0.008352736,
-0.011193949,
0.007170678,
0.0015523415,
0.015637347,
0.043750394,
0.034350894,
0.02762883,
0.04098751,
0.035860512,
0.03868036,
0.0057358304,
0.007932607,
-0.0023427538,
0.019966815,
0.024609597,
-0.015580381,
-0.025862863,
0.025649238,
0.011920273,
-0.04722536,
0.042411678,
-0.07354396,
0.023925997,
-0.010446261,
0.00086874154,
-0.06630919,
-0.0145977065,
0.0033734944,
0.014156215,
-0.03198678,
-0.015452206,
0.041557178,
0.033581845,
0.02540713,
-0.021433705,
0.026133455,
0.034778144,
-0.010282482,
0.02351299,
0.009399499,
-0.061637927,
-0.0109375985,
-0.029309345,
-0.05653941,
-0.035034496,
-0.049817342,
-0.017189689,
0.013664877,
-0.011792098,
0.017844805,
-0.009306928,
-0.022231238,
-0.0105957985,
0.017403314,
0.047937445,
0.059587125,
0.0132874735,
-0.081234455,
-0.0027343996,
-0.061011292,
0.033553362,
0.01120107,
-0.04269651,
0.011357727,
-0.0065760887,
0.009235719,
0.03284128,
-0.01402804,
-0.03027778,
-0.05713756,
0.026204662,
-0.014740123,
0.01694758,
-0.0040268307,
-0.009506311,
-0.019710464,
0.019254731,
-0.0020810633,
-0.037256196,
0.02822698,
0.06289119,
0.043095276,
0.027429447,
0.0057002264,
0.0028625745,
-0.029537212,
0.054032877,
0.09103272,
-0.00967009,
-0.056738794,
-0.014782848,
-0.07263249,
0.026574947,
0.007989574,
-0.0063232994,
-0.007266809,
0.06311906,
-0.040959027,
-0.028782405,
0.0022127987,
-0.030249296,
-0.043152243,
-0.061296124,
0.023498747,
0.06716369,
0.026859779,
0.005123439,
-0.029067237,
-0.017688148,
-0.024595356,
0.010503228,
0.0046321014,
0.004859968,
0.03096138,
0.04087358,
-0.016976064,
-0.006259212,
0.047937445,
-0.043066796,
0.008715899,
-0.01120107,
-0.02386903,
-0.015637347,
-0.005105637,
0.018343264,
-0.0014161555,
0.02532168,
-0.01985288,
0.013387165,
0.009741299,
0.02668888,
0.011336365,
0.03395213,
0.000018692184,
0.0050842743,
-0.07559475,
-0.013714723,
-0.0057678744,
0.007861399,
0.05047246,
-0.03583203,
0.00984099,
-0.017844805,
-0.022359414,
0.0051376806,
-0.012753411,
-0.04671266,
0.012796136,
0.020621931,
0.031246213,
-0.0051020766,
-0.022900596,
-0.00872302,
0.007533841,
0.038110696,
0.05260871,
-0.002207458,
-0.018841723,
0.01633519,
-0.014220302,
0.0064799576,
0.014782848,
-0.0026151256,
0.002618686,
-0.03218616,
-0.014006677,
-0.05884656,
0.016634265,
0.06881572,
0.037854344,
0.040417846,
0.028583022,
-0.01744604,
-0.022259722,
0.019026864,
0.021262806,
-0.0039306995,
-0.06887269,
0.016506089,
0.03335398,
-0.014683156,
-0.019938331,
-0.028511813,
-0.005525766,
0.018172365,
0.029010272,
0.009620245,
-0.0145977065,
-0.010909115,
-0.0038523704,
0.029565696,
-0.015551898,
-0.051868144,
-0.04500366,
-0.017517248,
0.064941995,
-0.014441048,
0.009086182,
-0.033297013,
-0.028440604,
0.04132931,
0.0005207109,
-0.06733459,
-0.0077973115,
0.011742253,
-0.07485419,
0.053833492,
0.020493755,
-0.038623396,
-0.0025510383,
-0.06442929,
0.018571131,
0.003626284,
-0.019995298,
-0.010075978,
-0.018784756,
0.009392378,
-0.024139622,
0.015964907,
-0.044946693,
-0.024395972,
0.010823665,
-0.008601965,
0.057507843,
-0.04602906,
-0.0021326893,
-0.044975176,
0.00239616,
0.07012596,
0.026817055,
0.014505136,
-0.00616308,
-0.0004225769,
0.01864234,
-0.014854057,
-0.032556444,
0.048108343,
0.033410944,
0.024410214,
0.038025245,
0.023769338,
-0.009577519,
0.034293927,
0.007117272,
-0.008915282,
0.001514067,
-0.018571131,
0.0070033385,
-0.009128907,
-0.008139111,
0.031132279,
-0.051811177,
0.047595643,
-0.011158344,
0.0003900881,
-0.010488986,
-0.05474496,
-0.014234544,
-0.0069000865,
-0.007031822,
0.045544844,
0.02711613,
0.0136292735,
-0.032869764,
0.02308574,
0.017759357,
-0.00401971,
-0.048564076,
0.041557178,
0.045487877,
0.040845096,
0.025934072,
-0.020650415,
-0.07337306,
0.029708114,
-0.030591097,
0.0010022571,
0.016349431,
-0.020650415,
0.023897514,
-0.012817498,
-0.012867345,
-0.010602919,
-0.032271612,
-0.008445308,
-0.020750105,
-0.010681248,
-0.02378358,
-0.00992644,
0.0053441846,
0.033410944,
-0.044206128,
-0.028981788,
-0.020977972,
-0.0012995519,
0.043835845,
0.0026275872,
0.04924768,
-0.02207458,
-0.04480428,
-0.010887752,
0.050415494,
-0.04713991,
0.0009461806,
-0.036942877,
-0.020693138,
-0.00013640845,
0.04773806,
0.0044612014,
-0.071493156,
0.03936396,
-0.030078396,
0.020194681,
-0.062150624,
-0.024851706,
-0.01548069,
0.035575677,
-0.026375564,
0.05243781,
-0.0150107145,
-0.01667699,
0.0075836866,
0.032442514,
0.010325207,
0.048734978,
-0.040446326,
-0.009819628,
-0.00239616,
-0.01710424,
-0.026646154,
0.02028013,
0.018984139,
0.004653464,
0.018613856,
0.02557803,
-0.064543225,
-0.042611063,
0.00427606,
-0.010253998,
0.04278196,
-0.047937445,
0.035945963,
-0.0068146368,
0.007056745,
-0.036373213,
0.04338011,
-0.02507957,
0.01051747,
-0.023925997,
-0.07120832,
0.047111426,
-0.027643071,
-0.00090212043,
-0.005621897,
-0.04158566,
0.036373213,
-0.03813918,
0.025948314,
0.05662486,
-0.00050869444,
0.00924284,
-0.033923645,
0.05790661,
0.019126555,
-0.0032114955,
-0.014768606,
-0.01095184,
-0.002857234,
-0.0037669204,
-0.035091463,
-0.0073202155,
-0.0008251265,
-0.0055969744,
-0.013230506,
0.00007070764,
0.03936396,
0.011030169,
-0.039050646,
-0.05440316,
0.03378123,
0.0010307404,
-0.013052486,
0.027785487,
0.058903527,
0.026375564,
0.027600346,
-0.016050356,
-0.030477162,
-0.024011446,
0.06636616,
-0.004977462,
-0.022786664,
0.017161205,
0.047054462,
-0.032442514,
-0.048734978,
-0.06260636,
0.017303623,
-0.01821509,
-0.015366756,
-0.00384881,
-0.02190368,
-0.025278956,
0.03865188,
0.035746578,
-0.025221989,
0.001035191,
-0.017360589,
0.000710303,
-0.06220759,
-0.017517248,
0.06591042,
0.030163845,
-0.025521062,
-0.03198678,
-0.0013164639,
-0.055941258,
-0.01496799,
0.03252796,
-0.034949046,
-0.0005661062,
0.048222277,
0.011101378,
0.058105994,
0.020664655,
0.04380736,
-0.0074697533,
-0.0016342311,
-0.03412303,
-0.021006456,
0.036715012,
-0.026147697,
0.037370127,
-0.029992945,
0.008751503,
0.03463573,
0.024139622,
-0.010154307,
-0.08140536,
0.030875929,
-0.029708114,
-0.040446326,
0.0011099598,
0.017716631,
0.015808247,
0.04551636,
0.003695712,
-0.04201291,
-0.0034660653,
0.020166198,
0.0043365867,
-0.032584928,
-0.02703068,
-0.007177799,
-0.04480428,
-0.029480247,
-0.048136827,
-0.0063090576,
0.02925238,
-0.00069517124,
-0.013757448,
-0.002155832,
-0.024082655,
0.033838194,
0.0020045142,
0.021106146,
0.0009257082,
-0.0018095815,
-0.0034179995,
-0.004610739,
-0.008117749,
0.013743207,
0.014768606,
-0.02506533,
0.0044540805,
0.020579206,
-0.016648507,
-0.0058105993,
0.0094208615,
0.03856643,
0.027144613,
-0.004557333,
-0.0104605025,
0.028981788,
-0.042611063,
-0.00967009,
-0.004226214,
-0.019781671,
-0.008886799,
0.05935926,
0.018428715,
0.021747023,
0.014925265,
-0.015324031,
-0.026389806,
0.035718095,
0.025478339,
-0.011108498,
0.0019172841,
-0.022444863,
0.01667699,
-0.025378646,
0.012283436,
0.057194527,
-0.044946693,
0.023655405,
0.0022644247,
0.02181823,
0.013486857,
-0.0044327183,
0.030391712,
0.031160763,
-0.012781894,
-0.007313095,
0.03053413,
-0.012504182,
-0.030391712,
-0.008395461,
-0.03899368,
-0.006579649,
0.061296124,
-0.014911023,
-0.015964907,
0.027215822,
-0.013807294,
0.01805843,
0.012561148,
-0.018200848,
0.023598438,
-0.025506822,
0.035376295,
-0.011507265,
-0.04967493,
-0.045032144,
-0.022986047,
0.03412303,
-0.034179997,
-0.015124648,
0.022872113,
0.04021846,
0.00030419306,
-0.022188514,
0.00256706,
-0.014412565,
-0.002488731,
0.0019012622,
-0.025207747,
0.01992409,
-0.05260871,
0.027500656,
-0.008160474,
0.011001686,
-0.031246213,
0.033154596,
0.009598882,
-0.002333853,
0.025207747,
0.035290845,
0.0034909882,
-0.025051089,
0.0033467913,
0.016634265,
-0.001974251,
-0.0034269006,
0.008559241,
-0.016178532,
0.063688725,
0.014362719,
0.0084595485,
-0.008032299,
0.045744225,
-0.0024798298,
0.003122485,
-0.02507957,
0.041756563,
0.0035728777,
0.027529137,
0.035888996,
-0.058134474,
-0.033012178,
-0.013294594,
0.008082145,
0.033069145,
-0.0012844201,
-0.00014742349,
-0.049845826,
-0.014825573,
0.011101378,
-0.016748197,
-0.044462476,
0.031588014,
-0.0024193027,
0.049931277,
0.021020697,
0.0062841345,
0.024709288,
-0.005757193,
0.0065582865,
-0.011507265,
0.026332838,
-0.0079041235,
0.053605627,
-0.017602697,
0.037512545,
-0.03155953,
-0.021447947,
-0.010118702,
-0.0055649304,
-0.008587724,
0.014141973,
0.027899422,
-0.048051376,
0.012205107,
0.0023997205,
-0.022444863,
-0.07627836,
0.045146078,
-0.047538675,
-0.0017606259,
0.018072672,
-0.026332838,
-0.056995142,
0.046997495,
-0.0042653787,
0.03662956,
0.022530314,
0.062150624,
0.019539565,
0.04565878,
0.06756246,
-0.05124151,
0.02147643,
-0.019838639,
-0.03600293,
0.003199034,
0.012931432,
-0.01949684,
-0.016548814,
-0.05827689,
-0.062834226,
0.0046997494,
-0.004073116,
-0.020992214,
-0.06374569,
0.03198678,
0.019653497,
-0.047624126,
0.017645422,
0.11769312,
0.00615596,
-0.017075757,
0.009363894,
0.005682424,
-0.0106598865,
-0.01667699,
-0.027173096,
0.019283215,
0.001838955,
-0.033012178,
-0.0045751347,
-0.029765079,
0.01753149,
0.016349431,
0.0030174528,
0.017773598,
0.016890615,
0.010075978,
0.04295286,
-0.019041106,
-0.03825311,
-0.009470707,
0.04662721,
0.032898247,
0.014811331,
0.09342532,
0.06465716,
-0.02301453,
-0.016135806,
0.006939251,
0.034151513,
-0.013508219,
-0.008708778,
0.020094989,
-0.008893919,
-0.029537212,
-0.05448861,
-0.05238084,
-0.02993598,
-0.005372668,
-0.02309998,
-0.024253555,
-0.0067007034,
-0.061125226,
-0.056340028,
-0.0030014308,
0.028753921,
-0.0018567571,
-0.024524147,
0.033325497,
-0.059758026,
0.2410829,
0.033297013,
0.02703068,
-0.034094546,
0.033838194,
0.06534076,
0.016150048,
0.024538388,
-0.007961091,
-0.015680073,
-0.0035230317,
-0.056653343,
0.029223897,
-0.021305531,
0.003884414,
0.045032144,
-0.04380736,
-0.035632644,
-0.010916236,
-0.06397356,
-0.07542386,
0.025193505,
0.020479513,
0.054431643,
0.062378492,
0.017431797,
-0.03218616,
-0.034863595,
-0.011151223,
-0.04235471,
0.034806628,
0.02197489,
0.0086589325,
-0.017545732,
-0.007911244,
0.032812797,
0.022373656,
-0.027956387,
-0.023712372,
-0.013828657,
0.036515627,
-0.027671555,
0.031103795,
0.005237372,
-0.0095561575,
0.003259561,
-0.002146931,
0.015623107,
-0.0028643548,
-0.022345172,
0.044975176,
-0.029964462,
0.04201291,
-0.029366313,
-0.053178377,
-0.005703787,
-0.03361033,
-0.048791945,
-0.03446483,
-0.001779318,
0.036885913,
0.014533618,
-0.028682712,
0.013842898,
-0.00915739,
-0.0037419975,
-0.051554825,
0.03560416,
0.012760531,
0.011898911,
-0.05089971,
0.005739391,
-0.023256639,
-0.05013066,
0.024025688,
0.020664655,
-0.023384813,
0.026859779,
0.027486414,
-0.039136093,
0.013807294,
0.017417556,
0.0041728076,
-0.060783423,
0.03748406,
0.046342377,
-0.03232858,
-0.021547638,
0.010602919,
0.014312873,
0.04480428,
0.06055556,
-0.008836953,
0.028939063,
0.0074483906
] | from transformers import PushToHubCallback
push_to_hub_callback = PushToHubCallback(
output_dir="./your_model_save_path", tokenizer=tokenizer, hub_model_id="your-username/my-awesome-model"
)
Add the callback to fit, and 🤗 Transformers will push the trained model to the Hub:
model.fit(tf_train_dataset, validation_data=tf_validation_dataset, epochs=3, callbacks=push_to_hub_callback) |
[
0.019149734,
0.0020418605,
-0.028483953,
-0.017093288,
-0.018230896,
0.029213188,
-0.005046312,
-0.0040946594,
0.019703953,
0.028031826,
0.0131772915,
0.008167442,
0.0018431436,
-0.026631694,
0.0010619498,
0.04588352,
0.026062889,
0.00062030624,
-0.065689564,
-0.010763521,
0.0049114036,
0.00080534985,
-0.087799996,
-0.050754815,
-0.03042372,
0.006038073,
-0.008860216,
-0.034390762,
0.06685634,
0.05889309,
-0.032232225,
-0.0021111378,
-0.006913156,
0.00061985047,
-0.024954451,
-0.06843149,
-0.026442092,
-0.02683588,
-0.028469367,
-0.064056076,
0.016728671,
-0.008955017,
0.011915714,
-0.058805577,
-0.06370605,
0.030832091,
0.019485181,
0.0010136379,
0.020039402,
-0.052855015,
0.0046051242,
0.06300598,
0.000074518786,
0.032698937,
-0.019747706,
-0.02603372,
-0.011616727,
-0.027156742,
-0.022402126,
0.022402126,
0.025056545,
0.017968372,
-0.012754335,
-0.03608259,
0.009071694,
0.027375514,
-0.019966478,
-0.007146511,
-0.024998205,
-0.0079778405,
-0.044570897,
0.0063297674,
-0.011332325,
-0.011055215,
0.01026764,
0.0014457101,
0.03194053,
-0.013709634,
0.0315905,
0.03144465,
0.0038357805,
0.039932955,
0.028586045,
0.00850289,
-0.015168106,
-0.0058922255,
0.03614093,
-0.0109749995,
-0.033078138,
-0.04477508,
-0.0036753486,
0.026077474,
-0.025858704,
0.047166973,
0.051279865,
0.038445313,
-0.013753388,
0.026427507,
0.0025760257,
-0.033603188,
0.007810116,
0.07829076,
-0.016539069,
0.0060089035,
-0.0026070182,
0.001596115,
-0.0078319935,
-0.0032159302,
0.008422674,
-0.015138936,
0.0198498,
0.01932475,
0.02965073,
-0.009370681,
0.0037956727,
0.004594186,
-0.011449003,
0.013024152,
-0.03459495,
-0.040020462,
0.046116874,
-0.03246558,
-0.014438869,
-0.045591824,
0.005698978,
-0.014103421,
0.033778206,
0.04853794,
0.017166212,
0.0030427366,
0.028454782,
-0.044133354,
0.026952557,
0.047254484,
-0.008101811,
0.0020728528,
-0.01082186,
0.010741645,
0.05256332,
-0.047254484,
0.01855176,
0.048129566,
0.019937309,
0.05504272,
0.02211043,
0.011237524,
-0.0018887209,
-0.044104185,
-0.0076496843,
0.0023700164,
-0.008553936,
0.00565887,
-0.0047327406,
0.013695049,
-0.05046312,
0.026325414,
-0.030073687,
0.045066774,
0.028833985,
0.0323489,
-0.021993753,
0.034769967,
-0.036286775,
0.027652623,
-0.022154186,
0.057930496,
-0.031094616,
0.013425232,
-0.022737574,
-0.02810475,
-0.002359078,
0.02860063,
-0.013702341,
0.00023563433,
0.051134016,
0.019835215,
0.023641827,
0.044075016,
0.016772425,
-0.013286677,
-0.00364071,
0.015503555,
0.039612092,
0.036753487,
-0.018405912,
0.010041578,
-0.022095846,
0.008984186,
0.008510183,
-0.015124352,
-0.0038102574,
0.02269382,
-0.003376362,
0.054867707,
-0.044512555,
0.0034492856,
-0.030277872,
0.022810498,
-0.011244817,
0.024837773,
-0.00503902,
0.036403455,
-0.040516343,
0.014125299,
-0.03249475,
-0.028979832,
-0.0007447321,
0.0050025578,
-0.03441993,
0.008809169,
0.103726506,
0.012601196,
-0.0031047217,
0.004776495,
0.0006362583,
-0.02164372,
-0.02015608,
0.026471261,
-0.010041578,
-0.009195664,
0.0071100495,
0.006552184,
0.03392405,
0.020929068,
0.02133744,
-0.011850082,
-0.012046976,
0.016189035,
-0.02727342,
0.016568238,
0.0010883845,
-0.0029771053,
0.027915148,
0.04535847,
0.028921494,
-0.0042186296,
0.05463435,
0.07222352,
0.015605647,
0.00715745,
0.0017802471,
0.02451691,
0.02263548,
0.033661526,
-0.026631694,
-0.005775548,
0.0286298,
-0.005567716,
-0.02321887,
0.027988072,
-0.04944219,
0.062539265,
0.0078247,
0.007817408,
-0.064114414,
-0.022343786,
0.039845448,
0.0070881727,
-0.012630365,
-0.020331096,
0.033223987,
0.025712857,
0.02343764,
-0.024254385,
0.028060995,
0.029563222,
0.0048968187,
0.0344491,
-0.025712857,
-0.05819302,
-0.0131772915,
-0.0156494,
-0.051717408,
-0.030861262,
-0.03150299,
-0.007037126,
-0.0060490114,
-0.03296146,
0.042003985,
-0.020229002,
0.0023718397,
-0.004707217,
-0.05011309,
0.025596179,
0.0024757558,
0.0072668353,
-0.08511641,
-0.0015177222,
-0.051221527,
0.025917042,
0.012353255,
-0.002931528,
-0.0013162707,
0.0028750123,
0.0072121425,
0.05784299,
-0.027667208,
-0.042995747,
-0.03564505,
0.0061693355,
-0.032786444,
0.03252392,
-0.005454684,
0.034799136,
-0.024473155,
-0.0031284217,
-0.01626196,
-0.029796576,
0.057055414,
0.049238004,
0.02111867,
0.009159203,
0.019062225,
0.009815515,
-0.02989867,
0.041420598,
0.07210684,
0.020972824,
-0.054955214,
-0.012192824,
-0.061780863,
0.04737116,
-0.02501279,
-0.020199833,
0.0034675165,
0.06224757,
-0.017647509,
-0.060089033,
0.012506395,
-0.026937973,
-0.04527096,
-0.05938897,
0.000024697167,
0.05731794,
-0.011755282,
0.0036334177,
-0.02531907,
-0.016830763,
-0.024137707,
0.015416046,
0.00010944235,
0.010099917,
0.0720485,
0.033865713,
-0.049354684,
-0.0069240946,
0.030336212,
-0.029665314,
-0.0029534053,
-0.028236013,
-0.0021913538,
-0.008218488,
-0.013483571,
0.025669102,
-0.0044264616,
0.017268306,
-0.0309196,
0.024093952,
-0.0072522503,
0.028717307,
-0.000055946064,
0.022489633,
-0.025391992,
-0.0010719767,
-0.04681694,
-0.002216877,
-0.04226651,
0.006282367,
0.040953886,
-0.042208172,
0.027375514,
-0.03768691,
-0.016889103,
0.01694744,
-0.049792223,
-0.048304584,
0.016189035,
0.025581595,
0.028221428,
-0.001361848,
-0.0618392,
0.012345963,
0.00041612022,
0.03182385,
0.03719103,
0.011762574,
-0.033865713,
0.006916802,
-0.014818072,
-0.0053708223,
0.016378637,
-0.0033508388,
0.0002509027,
-0.024312723,
-0.016816178,
-0.062130895,
0.043083254,
0.053438403,
0.03911621,
0.017253721,
0.045066774,
0.020185249,
-0.01877053,
0.017982956,
0.02934445,
0.019776877,
-0.045533486,
0.019733122,
0.01524103,
0.005268729,
-0.016932856,
-0.033865713,
-0.0099249,
0.040458005,
0.009334219,
0.015678572,
-0.028192258,
-0.021162424,
-0.02316053,
0.030132025,
-0.044045847,
-0.025917042,
-0.063297674,
-0.00024976328,
0.05253415,
-0.027492192,
0.010136378,
-0.014613886,
-0.020914484,
0.024560664,
-0.0058047175,
-0.062539265,
0.0018686668,
0.015168106,
-0.054955214,
0.051629897,
0.019120565,
-0.060030695,
0.018187143,
-0.073973686,
0.016626578,
0.015576478,
-0.013840896,
-0.02421063,
-0.019003887,
-0.007620515,
-0.015955681,
0.0010400726,
-0.023043852,
-0.022066677,
0.026690032,
-0.013673172,
-0.0010136379,
-0.027710963,
0.02059362,
-0.038503654,
0.01858093,
0.020331096,
0.02059362,
-0.0048858803,
-0.00045850704,
-0.0063334135,
0.02291259,
-0.033340663,
-0.021016577,
0.049383853,
0.016378637,
-0.012046976,
0.051338203,
0.04296658,
-0.050083917,
0.031123785,
0.0028567815,
-0.0101217935,
0.007810116,
-0.044541728,
0.010894784,
0.00094344886,
0.00439,
0.035440862,
-0.07076505,
0.04792538,
-0.00047126866,
0.006811063,
-0.015226444,
-0.0646978,
-0.006982433,
-0.00875083,
-0.020608205,
0.031648837,
0.022314617,
0.012739751,
-0.0298695,
0.030627906,
0.00002219042,
-0.02272299,
-0.05262166,
0.043579135,
0.051775746,
0.038328636,
0.034653287,
-0.008677906,
-0.047721196,
0.020491527,
0.00007919045,
0.01122294,
0.0053817607,
-0.014227391,
0.0026179566,
0.009881146,
-0.051309034,
-0.005290606,
-0.023904352,
0.030219534,
0.015095182,
-0.011923006,
-0.012834551,
-0.045679335,
0.014220099,
0.02890691,
-0.038416144,
-0.020564452,
-0.030569566,
-0.0080945175,
0.04486259,
0.011835498,
0.05568445,
-0.03497415,
-0.053700928,
-0.0056333467,
0.04745867,
-0.05728877,
0.006409983,
-0.028017242,
-0.036374286,
0.0016526307,
0.032261394,
0.024196045,
-0.07029834,
0.027900564,
0.0047910796,
-0.005695332,
-0.054284316,
-0.024473155,
0.0032924998,
0.015955681,
-0.0073725744,
0.032232225,
-0.0023280855,
-0.026850464,
-0.021031162,
0.024035614,
0.018887209,
-0.0013399709,
-0.022810498,
-0.00995407,
-0.004430108,
-0.035820067,
-0.027171329,
0.07029834,
-0.02343764,
0.03354485,
0.012783504,
-0.01722455,
-0.040633023,
-0.037803587,
-0.04264571,
-0.0051739286,
0.014540963,
-0.054955214,
0.003095606,
0.002216877,
0.022300033,
-0.0061948583,
0.025669102,
-0.0050353734,
0.022854252,
-0.03707435,
-0.06971495,
0.011500049,
-0.012054268,
-0.014373239,
-0.023233455,
-0.01877053,
0.023758505,
-0.03404073,
0.002563264,
0.054225978,
-0.003963397,
-0.005822948,
-0.019456012,
0.0607891,
0.022475049,
0.0091519095,
-0.017618338,
0.040516343,
-0.029767407,
0.012725166,
-0.016334884,
-0.049733885,
-0.0088748,
0.024954451,
0.010070747,
0.0061729816,
0.0165099,
0.00045987437,
-0.030890431,
-0.05253415,
0.04842126,
-0.012827259,
-0.018843455,
0.02269382,
0.04541681,
0.023364717,
0.0068985713,
0.015532724,
-0.049733885,
-0.0092102485,
0.046058536,
0.018683022,
-0.008590398,
0.010056162,
0.054838534,
-0.031678006,
-0.03815362,
-0.059972357,
0.046525247,
-0.038999535,
0.012827259,
0.0029752823,
-0.0026051952,
-0.032232225,
0.050725646,
0.037920263,
-0.014497208,
-0.02736093,
-0.028761063,
-0.012834551,
-0.041362256,
-0.0010728883,
0.060905777,
0.0037665032,
-0.011077093,
-0.026267076,
0.0032596842,
-0.025056545,
0.0050536045,
0.063531026,
-0.020010231,
0.031269632,
-0.007099111,
0.029475713,
0.040983055,
-0.009341511,
0.01982063,
-0.0022095847,
-0.009728006,
-0.056822058,
-0.022256278,
0.010530165,
-0.042354017,
0.016436975,
-0.049121328,
0.0044191694,
0.04433754,
0.014643056,
-0.037336875,
-0.07648226,
0.029169435,
-0.0003119762,
-0.0013664056,
0.011733405,
-0.0031776452,
0.0064282143,
0.020579036,
0.019018471,
-0.043024916,
-0.0014101599,
0.029592391,
-0.004776495,
-0.042003985,
-0.028498538,
-0.025202392,
-0.0407497,
-0.044279203,
-0.046204384,
0.0019342981,
0.022547973,
0.0023262624,
-0.030861262,
-0.0035495555,
-0.009538405,
0.028279766,
0.007904917,
0.042354017,
-0.020987408,
-0.009691545,
-0.014694102,
-0.025304483,
-0.01728289,
0.01932475,
0.023014683,
0.0010938537,
0.05244664,
0.014241977,
-0.01598485,
-0.021235349,
-0.009093571,
0.03754106,
-0.026544185,
0.0030245057,
-0.007361636,
-0.008663322,
-0.033719867,
-0.029723654,
0.010595797,
0.0035349708,
0.008400797,
0.02501279,
-0.015255614,
0.024969036,
0.007365282,
-0.05991402,
-0.013104368,
0.060147375,
0.049354684,
-0.0044374,
0.007562176,
-0.017428737,
-0.008495598,
-0.020666543,
0.01468681,
0.044600066,
-0.02937362,
0.014241977,
-0.0014201868,
0.0132648,
-0.040516343,
-0.018391328,
0.014380531,
0.049325515,
-0.015270199,
0.0025814949,
0.009181079,
-0.028221428,
0.013133538,
-0.0033818313,
-0.04699196,
-0.02804641,
0.04384166,
-0.025464917,
0.0037737954,
0.0006690739,
0.0062130895,
0.024443986,
0.010522873,
-0.022314617,
0.0018796055,
-0.0061583966,
0.0165099,
0.02371475,
-0.033865713,
-0.054313485,
-0.0064573833,
0.020549865,
-0.027900564,
-0.0186101,
0.024079368,
0.04950053,
0.027667208,
-0.01827465,
0.0005897695,
0.0038394267,
-0.010931245,
0.028469367,
-0.032407243,
-0.0012779859,
-0.012105315,
0.026602523,
-0.05416764,
0.031561326,
-0.03296146,
0.0109749995,
0.05049229,
0.02402103,
0.018712193,
0.027696379,
-0.0044629234,
-0.005797425,
0.013629418,
0.03564505,
0.003680818,
-0.0050937124,
0.0011184654,
-0.012375132,
0.056442857,
0.0315905,
0.0092102485,
0.012513687,
0.034507442,
-0.017093288,
-0.019543521,
-0.028265182,
0.025144052,
0.024385648,
-0.000008246632,
0.02934445,
-0.0013654941,
-0.025304483,
0.013221046,
-0.011244817,
0.023539733,
-0.009618621,
0.012316793,
-0.020199833,
-0.029475713,
0.027346345,
0.012054268,
-0.047750365,
0.012280332,
-0.008320581,
0.027098404,
0.002220523,
0.020564452,
0.0016945618,
0.0088310465,
0.04436671,
-0.008466428,
0.019310165,
0.013169999,
0.062189233,
-0.003194053,
0.028060995,
-0.035907574,
-0.008641445,
-0.021001993,
-0.012149069,
0.033661526,
0.024371061,
0.043549966,
-0.037803587,
0.02346681,
-0.018099634,
-0.02426897,
-0.08039096,
0.041012224,
-0.06819814,
0.03100711,
0.020914484,
-0.016684916,
-0.04850877,
0.05979734,
0.00007748131,
0.008444551,
0.0198498,
0.029023588,
0.038824517,
0.016932856,
0.025289899,
-0.033982392,
0.013840896,
-0.0082111955,
-0.031357143,
-0.01579525,
0.007569468,
-0.04019548,
-0.04022465,
-0.03806611,
-0.03821196,
0.0032177533,
-0.004940573,
0.015372292,
-0.05034644,
0.0323489,
0.020506112,
-0.038036942,
0.021074915,
0.06971495,
0.009611328,
0.0068985713,
-0.008422674,
0.026704617,
-0.04066219,
-0.014300315,
-0.060905777,
0.018595515,
-0.0011412541,
-0.03100711,
-0.011616727,
-0.0028020889,
0.021614552,
0.01827465,
-0.010953123,
0.0060599498,
0.03404073,
0.01196676,
0.04579601,
0.01493475,
-0.011128139,
-0.019878969,
0.020360265,
0.050754815,
-0.004969742,
0.097192556,
0.035878405,
-0.034303255,
-0.02288342,
0.0070480644,
0.012688704,
-0.011485465,
-0.012265747,
-0.017866278,
-0.021804152,
-0.021891661,
-0.066681325,
-0.035032492,
0.0061292276,
-0.011521926,
-0.016159866,
-0.0023864242,
-0.00386495,
-0.061780863,
-0.07368199,
-0.047808703,
-0.02263548,
0.012440763,
-0.012739751,
0.0407497,
-0.05253415,
0.2536574,
0.01904764,
0.012156362,
-0.004021736,
0.023554318,
0.08663322,
0.021629136,
0.004856711,
0.012754335,
-0.055917807,
0.005469269,
-0.031240463,
0.013439816,
-0.014978505,
-0.0035513786,
0.061022457,
-0.05416764,
0.0045686625,
-0.008109103,
-0.052825846,
-0.088033356,
0.0072887125,
0.0035677864,
0.08820837,
0.039466243,
-0.006245905,
0.006570415,
-0.027740132,
-0.013396063,
-0.003378185,
0.040983055,
0.0119740525,
0.019266412,
-0.01004887,
-0.035907574,
0.021541627,
-0.007339759,
-0.037891094,
-0.016582822,
0.03512,
0.051892422,
-0.031036278,
0.03564505,
-0.027098404,
0.00038079784,
0.023262624,
-0.017866278,
0.019193487,
0.0053124833,
-0.029300697,
0.077940725,
-0.029227773,
0.018449668,
-0.033165645,
-0.046787772,
0.020506112,
-0.039437074,
-0.053700928,
-0.020214418,
-0.017414153,
0.050579797,
0.010165548,
-0.044570897,
0.015386877,
0.01982063,
-0.0012551972,
-0.032815613,
0.05979734,
0.010705182,
0.022518802,
-0.02683588,
-0.011850082,
-0.04022465,
-0.06242259,
0.012265747,
-0.01258661,
-0.0021074917,
0.0138554815,
0.01376068,
-0.0375994,
0.011543804,
0.006825648,
-0.025858704,
-0.0741487,
0.04430837,
0.04022465,
-0.042616542,
-0.01756,
0.032844782,
0.0058010714,
0.0074272673,
0.013687757,
-0.0045868936,
-0.008845631,
0.016670331
] | from transformers import AutoModel
model = AutoModel.from_pretrained("your_username/my-awesome-model")
If you belong to an organization and want to push your model under the organization name instead, just add it to the repo_id:
pt_model.push_to_hub("my-awesome-org/my-awesome-model")
The push_to_hub function can also be used to add other files to a model repository. For example, add a tokenizer to a model repository:
tokenizer.push_to_hub("my-awesome-model") |
[
0.038222916,
0.012724614,
-0.04147593,
0.018059837,
-0.013250424,
0.010340939,
0.0004469389,
0.0065025226,
0.013818299,
0.05294561,
0.005191502,
-0.0036911895,
0.011518755,
-0.045261767,
-0.015003125,
0.017092345,
0.018859068,
-0.025603464,
-0.0490476,
-0.013005045,
0.011764133,
-0.004641154,
-0.08670965,
-0.044560686,
-0.010817674,
0.017807448,
-0.027258014,
-0.032417968,
0.05911512,
0.05460016,
-0.038587477,
0.02357033,
-0.02851996,
-0.030370813,
-0.0046797134,
-0.059507724,
-0.024664016,
-0.0073613464,
-0.01869081,
-0.05431973,
0.010207734,
-0.011084084,
0.020289274,
-0.07033241,
-0.050393675,
0.016601589,
0.01922363,
0.006895128,
0.055273198,
-0.026108243,
-0.0022872756,
0.056479055,
0.010404036,
0.001938488,
-0.03401643,
0.019083414,
-0.017947664,
-0.004634143,
-0.0037262435,
0.0013478275,
0.021102527,
0.006453447,
-0.03443708,
-0.026500847,
0.017372778,
0.041980706,
-0.0050582965,
-0.006818009,
-0.020233186,
-0.0033441547,
-0.04147593,
-0.014862909,
-0.021004375,
-0.043102436,
0.0072982493,
0.011708046,
0.011273377,
-0.012107663,
-0.012717603,
0.028996695,
0.01756908,
0.039344646,
-0.012654506,
0.014288023,
-0.004928597,
-0.02113057,
0.04809413,
-0.034745555,
-0.021340894,
-0.039344646,
-0.022546753,
0.008062427,
0.0024345026,
0.028533982,
0.026795302,
0.044476554,
-0.019532107,
0.029221041,
-0.015774313,
-0.030651245,
0.011918371,
0.07790408,
-0.0011672992,
-0.016419308,
-0.0022399526,
0.004164419,
0.0042064837,
-0.01783549,
0.0040136864,
-0.0032337343,
0.017625166,
0.023682503,
0.011322452,
-0.0040732785,
-0.011455657,
0.0070633874,
-0.009927302,
-0.011413593,
-0.025631508,
-0.043158524,
0.03452121,
-0.010593329,
0.0046131103,
-0.047112618,
0.007746941,
-0.030146467,
0.04085898,
0.053198,
0.022546753,
-0.020597748,
0.006183531,
-0.0038384164,
0.009513664,
0.05260909,
-0.015956596,
-0.015620076,
-0.0293893,
0.01834027,
0.048066087,
-0.035278376,
0.007200098,
-0.00047060038,
0.016012682,
0.061639007,
-0.007585692,
0.009611815,
-0.002260985,
-0.06764026,
-0.0163492,
0.0048584887,
0.0022539743,
0.019097436,
-0.015634097,
-0.0098361615,
-0.047589354,
0.022967402,
-0.010726534,
0.0467761,
0.050561935,
0.029669732,
-0.009008886,
0.026711171,
-0.011967447,
0.03982138,
-0.009015897,
0.041167453,
-0.025519336,
0.019433955,
-0.019532107,
-0.023009466,
-0.009268286,
0.024285432,
0.02111655,
0.0059171203,
0.08626096,
0.045878716,
0.02487434,
0.023317942,
0.016980173,
0.026388675,
-0.00895981,
0.01999482,
0.0293893,
0.025575422,
-0.011672992,
0.027440296,
-0.022154149,
-0.008202643,
0.017092345,
0.001036723,
-0.010277842,
0.024159238,
-0.04338287,
0.03539055,
-0.06477985,
0.009794096,
-0.032025363,
0.0028796887,
0.017400822,
0.00044452894,
-0.015788335,
0.0544319,
-0.045682415,
-0.017639188,
-0.014140796,
0.0052581048,
0.01860668,
0.02111655,
0.0017807448,
-0.0042485488,
0.08435402,
-0.0022276838,
-0.04122354,
-0.012002501,
0.0007852103,
-0.0037718138,
-0.007347325,
0.02800116,
-0.02964169,
0.0012575634,
-0.0045745512,
0.0047428105,
0.029221041,
0.010908814,
0.02286925,
-0.029781904,
-0.027917031,
-0.012577387,
-0.00041626662,
-0.0201771,
-0.007122979,
0.008567206,
0.000469724,
0.07251978,
0.029753862,
0.0005464047,
0.036904883,
0.060741626,
0.008419978,
0.004034719,
-0.0145684555,
0.012079619,
-0.017092345,
0.013544878,
-0.00860226,
-0.0255614,
0.026360631,
-0.0011024493,
-0.038363133,
0.024916405,
-0.07364151,
0.0424294,
-0.0052405777,
0.017793426,
-0.0467761,
-0.03401643,
0.0016037219,
0.0024870834,
-0.012808743,
-0.029585602,
0.032474056,
0.06348986,
0.019167544,
-0.009506653,
0.042653747,
0.059339464,
-0.029108867,
0.019265696,
-0.0038208894,
-0.019504063,
-0.023374029,
-0.0045009376,
-0.022294363,
-0.027706707,
-0.021621326,
0.0008653964,
0.018452441,
-0.029697776,
0.036652494,
-0.0034142626,
-0.006292199,
0.005443891,
-0.03471751,
0.03898008,
0.02164937,
-0.000050773575,
-0.08996267,
0.008118514,
-0.04520568,
0.040382244,
-0.007319282,
-0.027005626,
-0.009892248,
0.014792801,
0.023065552,
0.06287291,
-0.02591194,
-0.06147075,
-0.008027373,
0.005450902,
-0.017092345,
0.024509778,
0.011701035,
0.016994195,
-0.015970618,
-0.0023678998,
-0.025463248,
-0.04537394,
0.03199732,
0.06270465,
0.0031373359,
0.027103776,
-0.0006581394,
0.042148966,
-0.032586228,
0.030454943,
0.06466768,
0.019658301,
-0.06735983,
-0.014372153,
-0.047112618,
0.03182906,
-0.006765428,
-0.026332589,
-0.011266366,
0.060124673,
-0.043607216,
-0.060124673,
-0.004704251,
-0.025673572,
-0.031352326,
-0.040746804,
-0.010845717,
0.06034902,
-0.027033668,
0.026879432,
-0.03191319,
-0.021004375,
-0.039372686,
0.052216485,
0.015339644,
0.0035930383,
0.054572117,
0.034829687,
-0.009660891,
0.009100026,
0.030454943,
-0.056731444,
-0.008286773,
-0.032025363,
0.006218585,
-0.0037332543,
-0.029277127,
0.04419612,
0.0045710457,
0.03095972,
-0.05479646,
0.04010181,
0.016853979,
0.03208145,
0.0124932565,
0.024481736,
0.018536571,
-0.017106367,
-0.044560686,
-0.0026570957,
-0.016251048,
-0.025729658,
0.06309725,
-0.02460793,
0.035502724,
-0.03766205,
-0.0061695096,
0.0034510694,
-0.036764666,
-0.05129106,
0.031436455,
0.040606588,
0.01581638,
0.00071466406,
-0.06096597,
-0.0053352234,
0.0033406492,
0.031324282,
0.030903634,
0.016391264,
-0.028744306,
0.04585067,
-0.0046797134,
0.008791551,
0.0066707823,
-0.018228097,
-0.0027867954,
-0.03216558,
-0.01496106,
-0.044224165,
0.040746804,
0.0699398,
0.042485487,
0.019924711,
0.05703992,
0.0034493166,
0.0026185361,
0.007936233,
0.020415468,
-0.038727693,
-0.05468429,
0.012710592,
0.016419308,
-0.0018771434,
-0.025337053,
-0.01121729,
-0.02896865,
0.05070215,
-0.00013123352,
0.017681254,
-0.01608279,
-0.012570376,
-0.021270785,
0.012072609,
-0.041447885,
-0.039540946,
-0.029894078,
-0.006372823,
0.06606984,
-0.02955756,
-0.002837624,
-0.02208404,
-0.032389924,
0.025309011,
-0.027790835,
-0.043691345,
-0.011245334,
0.028660176,
-0.06472376,
0.043467,
0.03583924,
-0.030987764,
0.019854603,
-0.074482806,
0.0022276838,
0.0131873265,
0.0025869876,
-0.0072842278,
-0.032446012,
0.0064990176,
-0.016377244,
0.018312225,
-0.026304545,
-0.005454407,
0.010572296,
-0.017555058,
0.029417343,
-0.03418469,
0.030539071,
-0.044644814,
-0.0028902048,
0.031099936,
0.03920443,
0.035783157,
-0.0043431944,
0.017807448,
0.052665178,
-0.010663437,
-0.009534696,
0.020008842,
-0.0018859069,
0.013629007,
0.053422343,
0.02686541,
-0.022939358,
0.020709923,
0.019546127,
-0.029108867,
0.025140751,
-0.0047252835,
0.003817384,
-0.0053948155,
0.007235152,
0.03783031,
-0.053057782,
0.06051728,
-0.007382379,
0.023500223,
-0.023472179,
-0.06461159,
0.0104881665,
0.02748236,
-0.0011944661,
0.034465123,
0.01017268,
-0.0036315976,
-0.01904135,
-0.023864785,
-0.012219835,
-0.0064849956,
-0.03460534,
0.03990551,
0.08216665,
0.062031616,
-0.014764758,
-0.020022864,
-0.056535143,
0.021368938,
-0.018256139,
0.012731624,
-0.005478945,
0.004304635,
0.02286925,
-0.015381709,
-0.064892024,
-0.005678753,
-0.01800375,
-0.0015309848,
-0.0050372644,
-0.02495847,
-0.016138876,
-0.04276592,
-0.018480485,
0.044560686,
-0.048598908,
-0.025519336,
-0.03157667,
0.00930334,
0.048626952,
-0.002525643,
0.040718764,
-0.03112798,
-0.043242652,
0.008335848,
0.029277127,
-0.054487985,
0.016152898,
-0.025168795,
-0.05106671,
0.0072491737,
0.02860409,
0.016910065,
-0.060573366,
0.016924087,
-0.011427614,
-0.019237652,
-0.06225596,
-0.030146467,
-0.0016405287,
0.0057278285,
-0.026234437,
0.05530124,
-0.0036911895,
-0.02129883,
-0.0044308295,
0.017709296,
0.013972537,
0.03182906,
-0.04436438,
0.023121638,
0.0040206974,
-0.020275252,
-0.026164329,
0.031352326,
-0.021607304,
0.009261275,
-0.0206959,
-0.0026833862,
-0.065284625,
-0.041700277,
-0.015409752,
-0.012416138,
0.027243992,
-0.05905903,
0.02816942,
-0.002643074,
0.010572296,
-0.025182815,
0.053057782,
-0.014918996,
0.010530231,
-0.040971152,
-0.05939555,
0.03443708,
-0.012962981,
-0.0008991359,
-0.030398857,
-0.023542287,
0.04484112,
-0.043607216,
0.020499598,
0.05277735,
-0.010446101,
0.00160898,
-0.015073233,
0.078296684,
0.03059516,
0.0050933505,
-0.02781888,
0.029361257,
-0.03401643,
0.00027013512,
-0.015690185,
-0.04868304,
-0.008118514,
0.019321783,
0.013958516,
-0.03962508,
0.01199549,
0.0347736,
-0.018746896,
-0.047841743,
0.048598908,
-0.025280967,
0.0071720546,
0.0097800745,
0.041784406,
0.016138876,
0.010025453,
-0.0053176964,
-0.054880593,
0.005016232,
0.055357326,
0.0048584887,
-0.04010181,
0.016461372,
0.03923247,
-0.017527016,
-0.07027632,
-0.054487985,
0.007922211,
-0.014196883,
-0.002096231,
0.0076277573,
-0.039961595,
-0.025112707,
0.03945682,
0.029697776,
-0.026486825,
-0.01390944,
-0.02435554,
-0.010971912,
-0.065228544,
-0.0011813209,
0.049075644,
-0.026935518,
-0.015017147,
-0.023514245,
0.02242056,
-0.019013306,
-0.010032464,
0.058273822,
-0.03712923,
0.03407252,
0.02034536,
0.012640484,
0.046944357,
-0.029809948,
0.020471554,
-0.010600339,
-0.016867999,
-0.02591194,
-0.026809324,
-0.0010709007,
-0.025982048,
0.014428239,
-0.022574795,
0.009604804,
0.009688934,
0.029501474,
-0.028674198,
-0.060573366,
0.017344736,
0.00034769217,
-0.022616861,
0.026921496,
-0.0057944315,
-0.0061344556,
0.0019157028,
-0.01260543,
-0.03505403,
-0.017625166,
0.022588817,
0.0035316937,
-0.018256139,
-0.03766205,
-0.023472179,
-0.05087041,
-0.02739823,
-0.050730195,
-0.0008675873,
0.027089756,
-0.0050758235,
-0.018901134,
-0.011105117,
-0.031548627,
0.052496918,
0.021705456,
0.045878716,
-0.02547727,
-0.0027464833,
0.00825873,
0.003757792,
0.0022276838,
0.019013306,
0.015928552,
-0.0008347241,
0.03721336,
0.002695655,
-0.036512278,
-0.01756908,
-0.023710547,
0.0467761,
-0.014414217,
-0.0092122,
-0.017793426,
0.014933017,
-0.023640439,
-0.009205189,
-0.026528891,
-0.003635103,
-0.0173868,
0.05058998,
0.012465213,
0.026122265,
-0.0046656914,
-0.00764879,
-0.0111682145,
0.04730892,
0.022658926,
0.006309726,
0.02278512,
0.019153522,
-0.011630927,
-0.05173975,
0.015521925,
0.016419308,
-0.04088702,
0.026613021,
-0.009036929,
0.01529758,
-0.01235304,
0.020373402,
0.019447977,
0.03903617,
-0.007831071,
0.007781995,
0.007585692,
-0.011525765,
-0.0037542868,
0.006807493,
-0.037605964,
-0.02825355,
0.034128606,
-0.021453068,
0.0025168795,
-0.011343485,
-0.017162453,
0.026893454,
0.017765382,
-0.019952755,
0.019896667,
-0.031857103,
0.04111137,
0.037185315,
-0.04444851,
-0.045261767,
-0.03059516,
0.032642312,
-0.04164419,
-0.0026448267,
0.019700365,
0.05667536,
0.009878226,
-0.02964169,
0.010214745,
0.020555684,
-0.01182723,
0.001084046,
-0.036820754,
-0.0065971687,
-0.021354916,
0.04660784,
-0.02860409,
0.008980843,
-0.03443708,
0.01512932,
0.022616861,
0.028562024,
0.0033932303,
0.04399982,
-0.021957844,
-0.013629007,
0.019686343,
0.048963472,
0.0026413212,
-0.0024870834,
0.010544253,
0.0067619225,
0.023864785,
0.011574841,
0.032305796,
0.010747566,
0.023598373,
-0.012991024,
-0.019938733,
-0.036512278,
0.022448601,
0.029164953,
0.020092972,
0.043354824,
-0.02052764,
-0.02547727,
0.016026704,
0.035250332,
0.026066178,
0.0019244663,
0.03696097,
-0.041195497,
-0.017064303,
0.018550593,
0.0046376484,
-0.05558167,
0.013516834,
-0.0074735195,
0.032558184,
-0.023289898,
0.03233384,
0.029950164,
0.00764879,
0.050618023,
-0.0063237473,
0.008791551,
-0.03589533,
0.07588497,
-0.0049321023,
0.016110832,
-0.05409538,
-0.0044553676,
0.0003667528,
0.017162453,
0.012339019,
0.029333213,
0.03625989,
-0.049776725,
-0.0038839867,
-0.025407162,
-0.01529758,
-0.08188622,
0.03513816,
-0.07835277,
0.0029655711,
0.035082076,
-0.008728454,
-0.04478503,
0.03659641,
-0.01365004,
0.02321979,
0.019069392,
0.04200875,
0.033006877,
0.037718136,
0.065172456,
-0.014042645,
0.031268194,
-0.0035544788,
-0.034801643,
-0.00513191,
0.016405286,
-0.024033044,
-0.02007895,
-0.032586228,
-0.039681163,
0.030987764,
-0.019532107,
0.017232561,
-0.055862103,
0.027538447,
0.03555881,
-0.03749379,
0.01043909,
0.11901545,
-0.0013820052,
0.0062571447,
-0.009723988,
-0.012191792,
-0.032642312,
-0.01981254,
-0.015802357,
0.043523084,
-0.02591194,
-0.04702849,
0.01765321,
-0.0075786817,
0.03059516,
0.020850139,
-0.017667232,
0.018564615,
0.015872465,
-0.013089175,
0.049328033,
0.010726534,
-0.02678128,
-0.019588193,
0.019840581,
0.028856479,
0.0055350317,
0.07891364,
0.057096004,
-0.02469206,
-0.009436545,
0.007066893,
0.028197464,
-0.033539698,
-0.012030544,
-0.016966151,
-0.030202553,
-0.0035281882,
-0.06191944,
-0.05202018,
0.008595249,
-0.023584353,
-0.032586228,
-0.008118514,
-0.026192373,
-0.04094311,
-0.03886791,
-0.022588817,
-0.00656562,
0.013229392,
-0.014652585,
0.05244083,
-0.06864981,
0.23152487,
0.025014557,
0.03701706,
-0.012430159,
0.03199732,
0.077062786,
0.015521925,
0.013257435,
0.010186701,
-0.08143753,
-0.006828525,
-0.05617058,
-0.018031795,
0.012899883,
-0.010228766,
0.06584549,
-0.043579172,
-0.027468339,
-0.008132535,
-0.048795212,
-0.06018076,
-0.009499642,
0.020569706,
0.061807267,
0.02992212,
0.0005661226,
0.0044728946,
-0.033539698,
0.005184491,
-0.026795302,
0.016054746,
0.0011059546,
0.0075015626,
-0.011532776,
-0.031240152,
0.036568366,
-0.0030444425,
-0.03323122,
0.019447977,
-0.0006261526,
0.029866034,
-0.03659641,
0.028365722,
0.0045920783,
-0.0034931342,
0.017148431,
0.0051073725,
0.034296863,
0.0044904216,
-0.034044474,
0.07257587,
-0.02800116,
-0.0066883094,
-0.02992212,
-0.070837185,
-0.0026746227,
-0.026893454,
-0.04871108,
-0.019560149,
0.010039475,
0.0227711,
0.028548002,
-0.049496293,
0.032025363,
0.010151647,
-0.02521086,
-0.035699025,
0.03494186,
-0.014736715,
-0.0018526056,
-0.01425998,
-0.00033104152,
-0.039849423,
-0.032053407,
0.004399281,
0.011294409,
0.0012628215,
0.019461999,
0.00513191,
-0.037605964,
0.012577387,
0.023233812,
-0.01199549,
-0.05297365,
0.02260284,
0.051375188,
-0.048851296,
-0.017751362,
0.028548002,
0.0064148875,
0.016755827,
0.04296222,
0.015115298,
0.023247834,
0.02209806
] | The push_to_hub function can also be used to add other files to a model repository. For example, add a tokenizer to a model repository:
tokenizer.push_to_hub("my-awesome-model")
Or perhaps you'd like to add the TensorFlow version of your fine-tuned PyTorch model:
tf_model.push_to_hub("my-awesome-model") |
[
0.01220403,
0.022172738,
-0.021214742,
-0.014841989,
-0.036292758,
0.000790086,
-0.011433468,
0.008406758,
-0.00046598152,
0.008531714,
0.025602084,
0.037042495,
-0.00851783,
-0.0477054,
0.019076606,
0.036792584,
0.017535483,
-0.02297801,
-0.07680625,
0.007448762,
-0.0053314534,
-0.0069940616,
-0.07908323,
-0.034932125,
-0.035376415,
0.014182499,
-0.02583811,
-0.013918703,
0.051259704,
0.024644088,
-0.0793609,
0.008628902,
0.002335982,
0.01272468,
-0.056341246,
-0.05803509,
-0.010364401,
-0.0033876942,
-0.06953104,
-0.02896201,
0.0032210865,
0.004116604,
0.010600429,
-0.052231584,
-0.04409556,
0.03595954,
0.03173881,
-0.034154624,
0.004460233,
-0.056757763,
-0.025185565,
0.054119807,
-0.0003991648,
0.016160969,
0.0049912957,
0.018632319,
-0.014647613,
-0.0025442417,
-0.0525648,
0.047399953,
0.021117553,
0.051537383,
-0.010156141,
-0.04703897,
0.014536541,
-0.017160615,
-0.0027073787,
-0.02249207,
-0.039291702,
-0.016744096,
-0.04812192,
-0.0007445291,
0.017285572,
-0.03021157,
-0.011384875,
0.025893647,
0.037264638,
0.0032922418,
0.031877648,
0.03520981,
0.03251631,
0.07041962,
0.0036896712,
0.0017528541,
-0.03429346,
-0.022575373,
0.054230876,
-0.03545972,
-0.026754456,
-0.047344416,
-0.027365351,
0.05087095,
-0.002065244,
0.0364316,
0.049621392,
0.027934594,
-0.017368875,
0.012356754,
-0.018243568,
-0.0048941076,
0.058868133,
0.06581013,
-0.0022197035,
-0.019159911,
-0.0315722,
-0.0047830357,
0.0231585,
0.0067406786,
-0.033849176,
-0.0054668225,
-0.0021884644,
0.040902246,
0.03748678,
-0.018201916,
0.025629852,
0.023089081,
-0.023588905,
0.001680831,
-0.05228712,
-0.013654907,
0.041707516,
-0.006077718,
-0.0044984138,
-0.02868433,
0.013238387,
-0.028739866,
0.013641023,
0.034126855,
-0.004258915,
-0.0105518345,
-0.004057597,
-0.014342165,
0.026129676,
0.01999295,
0.0018951651,
0.0009328308,
-0.0108017465,
0.019395938,
0.023824932,
-0.06875353,
0.016730212,
0.024047077,
0.021048134,
0.053064622,
0.012349812,
-0.009052363,
-0.026962714,
-0.062144753,
-0.038125444,
-0.012252624,
-0.03048925,
-0.0024435828,
-0.000041001167,
-0.0051336065,
-0.047483258,
-0.0126899695,
-0.03837536,
0.03834759,
0.026796106,
0.03118345,
-0.017813163,
0.014675381,
-0.027823523,
0.027837407,
0.012919055,
0.032877296,
-0.011530656,
0.0012816661,
-0.01237758,
-0.04012474,
-0.021547958,
-0.006133254,
0.015105785,
-0.011815278,
0.053064622,
0.03740348,
0.057812948,
0.06680977,
0.012023538,
-0.0043248637,
-0.011051659,
0.012676086,
-0.004547008,
0.009600781,
-0.014800337,
0.026643382,
0.01606378,
-0.001999295,
0.018104726,
0.023422297,
0.011489005,
0.01523074,
-0.03396025,
0.015091901,
-0.05459186,
-0.014869757,
-0.023824932,
0.00765008,
0.02854549,
-0.021547958,
-0.0032627385,
0.03793107,
-0.026601732,
-0.00827486,
0.011065543,
-0.015938824,
-0.035376415,
0.0030128264,
-0.0080943685,
-0.001559346,
0.039791524,
0.020881526,
-0.000533666,
0.008698322,
0.019062722,
0.015494537,
-0.03423793,
-0.008802452,
0.02020121,
0.0036931422,
0.049149334,
-0.022367112,
0.048316296,
0.021270277,
0.025491012,
-0.029711746,
-0.006240855,
0.027323699,
0.011968002,
0.0175216,
0.006331101,
0.020117907,
0.032905065,
0.056924373,
0.0012530304,
0.016327577,
0.047760937,
0.039763756,
0.024283104,
-0.0027125853,
0.008767742,
-0.010058953,
0.03423793,
0.012738564,
-0.027809639,
-0.0002644467,
0.008628902,
0.015702797,
-0.0525648,
0.036653742,
-0.040596798,
0.010357459,
0.009649375,
-0.005834748,
-0.057313126,
-0.013890935,
0.017021775,
0.019534778,
-0.027712451,
-0.027684683,
0.049343713,
0.015799984,
0.023741629,
-0.012974592,
0.04304038,
0.031350058,
0.009100958,
0.027976247,
-0.001680831,
-0.0694755,
0.0056195464,
-0.035154272,
-0.025963068,
-0.032905065,
-0.062089216,
-0.008989885,
0.028420534,
-0.02572704,
0.013870109,
-0.025879763,
0.004140901,
-0.0016513275,
-0.005550126,
0.07375177,
0.05559151,
0.024949536,
-0.06597674,
0.012197088,
-0.037042495,
0.02468574,
0.00834428,
-0.031905416,
0.014342165,
-0.0037278521,
0.01161396,
0.026587848,
0.006435231,
-0.026310166,
-0.06369976,
0.004911463,
-0.020173442,
0.037347943,
0.02276975,
0.042151805,
0.0014326546,
0.027767986,
0.004675435,
-0.03048925,
0.04576164,
0.040624563,
0.0052446784,
0.01530016,
0.0120999,
0.028351115,
-0.054925077,
0.052481495,
0.05925688,
-0.036070615,
-0.06880907,
-0.04795531,
-0.064477265,
0.019867994,
-0.004394284,
-0.01599436,
0.005709792,
0.07402945,
-0.045678336,
-0.068031564,
-0.011079427,
-0.018132495,
-0.035598557,
-0.029434066,
-0.013481357,
0.05139854,
-0.022686444,
0.026268516,
-0.003028446,
-0.014022833,
0.0039222282,
0.0067545627,
0.015452884,
-0.01393953,
0.05228712,
0.03473775,
-0.006376224,
-0.020381702,
0.042540554,
-0.0070010037,
-0.0031724924,
0.0007605825,
-0.024519132,
-0.04673352,
-0.011190498,
-0.004269328,
0.01860455,
0.011301571,
-0.03962492,
-0.003974293,
0.035598557,
0.0055848365,
0.013467473,
0.025990834,
0.00150381,
-0.030294873,
-0.06469941,
-0.020562194,
-0.0027663857,
0.021103669,
0.056480084,
-0.03048925,
0.029156385,
-0.039069556,
-0.016424764,
0.021103669,
-0.014869757,
-0.034099087,
0.01738276,
0.021117553,
0.02923969,
-0.0021329285,
-0.03309944,
-0.0013814573,
-0.013731269,
-0.0050190636,
0.034515608,
-0.010392169,
-0.02034005,
0.025768692,
-0.02371386,
0.0003288771,
0.032877296,
-0.002854896,
0.008503946,
-0.018312987,
0.0004750929,
-0.06331101,
0.017410528,
0.06897568,
0.04814969,
0.036653742,
0.035487488,
-0.04056903,
-0.011711149,
0.030128265,
0.015175205,
-0.0069003445,
-0.054175343,
-0.0020045014,
0.04895496,
-0.0008243621,
-0.024102611,
-0.019909646,
-0.01668856,
0.036875885,
0.012780216,
-0.01943759,
-0.00027269032,
0.0118708145,
-0.02753196,
0.04054126,
-0.011523714,
-0.06930889,
-0.04842737,
-0.0018170676,
0.05500838,
0.0028115087,
0.0008955176,
-0.038541965,
-0.0055015325,
0.0124400575,
-0.031794343,
-0.045872714,
-0.021714566,
0.020381702,
-0.035154272,
0.021409117,
0.03654267,
-0.021603493,
-0.006393579,
-0.04565057,
0.008434526,
0.0062200287,
-0.0016270304,
0.03865304,
-0.00033082953,
0.00018331209,
-0.011877757,
-0.004217263,
0.004442878,
-0.021367466,
0.02962844,
-0.029267458,
0.02962844,
-0.02951737,
-0.010121431,
-0.059812244,
0.016521951,
0.04801085,
0.01536958,
0.027712451,
-0.0028010956,
0.018201916,
0.04384565,
-0.036376063,
-0.01811861,
0.017646555,
0.004085365,
0.009774331,
0.04565057,
0.042124037,
-0.0004872414,
0.03060032,
0.0144948885,
-0.006233913,
0.009218971,
-0.014564309,
0.011475121,
0.012634434,
0.009781273,
0.022894705,
-0.06769835,
0.02288082,
-0.023283457,
-0.004272799,
-0.009413348,
-0.055952493,
0.012814926,
0.0161332,
-0.03654267,
0.056230173,
0.017549368,
-0.01189164,
-0.021825638,
0.025629852,
0.02131193,
-0.003762562,
-0.033043902,
0.04134653,
0.050815415,
0.03862527,
0.034821056,
-0.039791524,
-0.036098383,
0.006011769,
-0.049593624,
-0.006310275,
0.006490767,
0.013286982,
0.014439353,
-0.0020635084,
-0.023727745,
0.010482415,
-0.015133552,
0.025227215,
0.00023776338,
-0.034182392,
-0.031211216,
-0.009989534,
-0.0048212167,
0.04976023,
-0.04523405,
-0.0420685,
-0.018549016,
0.0005319305,
0.054647397,
0.025379939,
0.047622096,
-0.0035508312,
-0.01936817,
-0.018049192,
0.049315944,
-0.0011150582,
-0.0125233615,
-0.043095917,
-0.015591725,
0.012662202,
0.0420685,
0.004057597,
-0.061145104,
0.0068968735,
-0.043456897,
0.014703149,
-0.08241539,
-0.02896201,
0.006147138,
0.027767986,
-0.025074491,
0.03423793,
-0.000509369,
-0.004665022,
0.02406096,
0.035487488,
0.01763267,
0.004543537,
-0.06880907,
-0.026587848,
-0.0037313232,
-0.0071849665,
-0.022505954,
0.035626326,
0.006195732,
-0.0069454676,
0.015952708,
0.031350058,
-0.03251631,
-0.0051822006,
-0.058923665,
-0.0033425714,
0.023630556,
-0.028878706,
0.06092296,
-0.019451475,
0.014286629,
0.00094237603,
0.039014023,
-0.039125092,
0.019409822,
-0.031794343,
-0.06675424,
0.026837759,
-0.021534074,
-0.015841637,
-0.008976001,
-0.01376598,
0.036209453,
-0.025907531,
0.043206986,
0.0518706,
-0.004543537,
0.0148281045,
-0.049538087,
0.03818098,
0.025921416,
0.01675798,
-0.0073724003,
-0.014015892,
-0.0016591372,
-0.008809393,
-0.027837407,
-0.05500838,
0.009878461,
0.01137099,
-0.012565014,
0.011530656,
0.047372185,
0.0020565665,
-0.028795402,
-0.052064974,
0.032877296,
-0.0026553138,
-0.0034154623,
0.033710334,
0.049343713,
0.015688913,
0.055674814,
-0.01918768,
-0.026601732,
-0.014078369,
0.057313126,
0.0032245575,
-0.0073862844,
0.006226971,
0.033460423,
-0.017410528,
-0.055619277,
-0.036209453,
0.05598026,
-0.056146868,
-0.009295333,
-0.009579956,
0.0011515036,
-0.02378328,
0.04948255,
0.02572704,
-0.038847413,
-0.0025164739,
0.0007853134,
-0.01846571,
-0.0665321,
-0.03307167,
0.052898016,
-0.009864577,
-0.05364775,
-0.023727745,
0.017688207,
-0.023102965,
-0.056369014,
0.027587494,
-0.04190189,
-0.0037972722,
0.019909646,
0.024602436,
0.04467869,
0.0033633974,
0.020603847,
-0.009482767,
-0.016494185,
-0.03129452,
-0.02089541,
0.027309814,
-0.026976598,
0.030100496,
-0.042984843,
0.0049878247,
0.017424412,
0.03640383,
-0.037819996,
-0.06014546,
0.009399463,
-0.023977656,
-0.016882936,
0.017702091,
0.017646555,
0.009191204,
0.061533857,
0.01710508,
-0.030405946,
0.0235056,
0.042457253,
-0.0075528924,
-0.022172738,
-0.015244625,
0.021922825,
-0.039236166,
-0.021464653,
-0.026226863,
-0.020312281,
0.021686798,
0.0017858286,
-0.033738103,
-0.0025893648,
-0.008108252,
0.025213331,
0.011246035,
0.02951737,
-0.028351115,
-0.0117528,
-0.0013137729,
-0.0047691516,
-0.046178162,
0.016785748,
0.027170975,
-0.02812897,
0.02642124,
0.012960708,
-0.015938824,
-0.021214742,
-0.01376598,
0.027129322,
-0.0008217589,
-0.03404355,
-0.011537598,
0.009364753,
-0.057424195,
-0.012752448,
-0.031627737,
-0.026032487,
-0.022172738,
0.033627033,
0.03518204,
0.026587848,
0.013564661,
-0.010850341,
-0.022519836,
0.054814007,
0.03035041,
0.008038832,
0.0051787295,
-0.015133552,
-0.03490436,
-0.01763267,
0.029211922,
0.060867425,
-0.009517478,
0.00601524,
-0.0051891427,
0.0050468314,
0.015952708,
-0.011190498,
0.0055050035,
0.033904713,
0.016633024,
-0.008601134,
0.00813602,
-0.041457605,
-0.017507715,
0.029822817,
-0.04798308,
-0.03987483,
0.027823523,
0.00065124605,
-0.02621298,
0.018049192,
-0.017216152,
0.025254983,
0.0003620685,
0.0029954715,
0.020603847,
0.016702443,
0.021464653,
-0.012703854,
-0.02993389,
-0.056341246,
-0.022575373,
0.023214037,
-0.034876592,
-0.021506306,
-0.019590314,
0.014647613,
0.019659735,
-0.011148847,
0.0034779403,
-0.0059805303,
0.02572704,
0.043623507,
-0.03376587,
-0.002924316,
-0.03956938,
0.017910352,
-0.03837536,
0.020506658,
-0.03268292,
0.022505954,
0.02399154,
0.003991648,
0.038541965,
0.04037465,
0.040513493,
-0.014300513,
-0.003195054,
0.030267105,
0.016633024,
0.0025043252,
-0.003142989,
0.00017170595,
0.06481048,
0.016633024,
0.028031783,
0.0033790169,
0.049871303,
0.019159911,
-0.02923969,
-0.015119669,
0.024894,
0.016022129,
0.017118964,
0.031266753,
-0.05925688,
-0.008184614,
-0.00827486,
0.017368875,
0.02667115,
-0.011322397,
0.0033252165,
-0.01234287,
-0.015341813,
0.032183096,
0.009343928,
-0.05475847,
0.033460423,
0.0014448031,
0.052592568,
0.0011974945,
0.02787906,
-0.020465005,
-0.025157796,
0.029961657,
0.0032592674,
0.01870174,
0.0029677036,
0.05506392,
-0.020562194,
0.011919408,
-0.042207338,
-0.019534778,
-0.030156033,
-0.03240524,
-0.0021954065,
0.02138135,
0.040707868,
-0.05725759,
-0.0049704695,
-0.016244272,
-0.017702091,
-0.061978146,
0.037736695,
-0.062866725,
-0.011419584,
0.009385579,
-0.029156385,
-0.03962492,
0.054675166,
-0.026546195,
0.0054008733,
0.024449712,
0.043928955,
0.039958134,
0.038236517,
0.07191908,
-0.026823875,
0.014703149,
0.018174147,
-0.032349706,
-0.015091901,
0.0055362424,
-0.03351596,
-0.02729593,
-0.06525477,
-0.038791876,
-0.000856035,
-0.014689265,
0.0037521492,
-0.030933537,
0.03421016,
0.00046077502,
-0.05059327,
0.0080943685,
0.09507759,
0.021603493,
0.0047309706,
0.0013658379,
0.013550777,
-0.023283457,
-0.035237573,
-0.040624563,
0.028240042,
-0.016452532,
-0.02583811,
-0.03048925,
-0.011016949,
0.027032135,
0.020187326,
-0.003122163,
0.016160969,
0.011725033,
0.00046945253,
0.03640383,
-0.0034709983,
-0.027823523,
-0.0164803,
0.03779223,
0.039763756,
0.004550479,
0.064144045,
0.064088516,
-0.026796106,
-0.052731406,
0.0049565854,
0.0016695502,
-0.022950241,
0.02020121,
0.012217914,
-0.019048838,
-0.029822817,
-0.052064974,
-0.059812244,
-0.008267918,
-0.034821056,
0.008573365,
-0.004245031,
0.0044463486,
-0.059534565,
-0.051898368,
-0.015175205,
0.036181685,
-0.02701825,
-0.056868836,
0.029656209,
-0.054925077,
0.22558711,
0.01807696,
0.02787906,
-0.009288391,
0.016938472,
0.0807493,
0.03740348,
0.03557079,
0.04384565,
-0.048843887,
-0.016605256,
-0.039819293,
0.025976952,
-0.0068135695,
-0.016744096,
0.04506744,
-0.056868836,
-0.017354991,
0.00011183123,
-0.039652683,
-0.077861436,
0.028573258,
0.006032595,
0.055535972,
0.042818233,
-0.038403124,
-0.04467869,
-0.05406427,
0.0071919085,
-0.02288082,
0.024019308,
0.013259213,
0.021950593,
-0.006313746,
0.0048385714,
0.041596442,
0.0019732625,
-0.022575373,
-0.015175205,
-0.015480652,
0.029739514,
-0.04823299,
0.009954823,
-0.0048663397,
-0.0026535783,
0.023547253,
-0.011252977,
0.028878706,
0.015078017,
-0.015938824,
0.04373458,
-0.052342653,
0.039069556,
-0.021978362,
-0.04134653,
-0.004557421,
-0.036848117,
-0.062033683,
-0.055369366,
0.008705264,
0.034682214,
0.006331101,
-0.05575812,
0.041985195,
-0.009260624,
-0.008149904,
-0.021700682,
0.04453985,
-0.018535132,
0.018965535,
-0.033432655,
0.0048073325,
-0.027809639,
-0.045178514,
0.009864577,
-0.021200858,
-0.0047448548,
0.009357812,
0.006438702,
-0.044178866,
0.023588905,
0.00004970578,
0.020631613,
-0.053175695,
0.071363725,
0.041596442,
-0.04920487,
-0.0084970035,
0.0069211707,
0.0238527,
0.0019906175,
0.039125092,
0.046261467,
0.0033790169,
0.019451475
] | trainer = Trainer(
model=model,
args=training_args,
train_dataset=small_train_dataset,
eval_dataset=small_eval_dataset,
compute_metrics=compute_metrics,
)
After you fine-tune your model, call [~transformers.Trainer.push_to_hub] on [Trainer] to push the trained model to the Hub. 🤗 Transformers will even automatically add training hyperparameters, training results and framework versions to your model card! |
[
0.01807214,
0.014556898,
-0.014272469,
-0.00488998,
-0.033022862,
-0.02679461,
0.0415703,
0.01441833,
0.030163992,
0.014002627,
-0.0052072266,
-0.0036410475,
0.020055845,
-0.016336398,
-0.0076285144,
0.017765833,
0.044487514,
-0.027844807,
-0.059802886,
-0.0052765105,
0.003136005,
0.02979934,
-0.07596425,
-0.055572923,
-0.003404024,
0.050351113,
0.022506306,
-0.023235608,
0.07123836,
0.020945596,
-0.051897235,
0.0069903736,
-0.0015780304,
-0.03640683,
-0.009575754,
-0.024023257,
-0.025802758,
-0.0023027756,
-0.04040341,
-0.07240525,
0.011873061,
-0.01155946,
0.04483758,
-0.049709324,
-0.05431852,
-0.009094414,
0.023716949,
0.0007958524,
0.035239942,
-0.025890274,
-0.0007990431,
0.05347253,
-0.019807883,
0.01091038,
-0.013441063,
0.0059511163,
-0.018276345,
-0.007457128,
-0.019457817,
0.011574046,
0.052072268,
0.026021548,
-0.008204664,
-0.019239025,
0.0016482258,
0.016423915,
-0.03503574,
-0.04142444,
0.005356734,
-0.0074097235,
-0.01610302,
0.0064397496,
0.004003876,
-0.050234422,
-0.012069972,
-0.029536791,
-0.015855057,
-0.025175557,
0.04827989,
0.035502493,
0.04305808,
0.05154717,
0.035123255,
0.029813927,
-0.0037176243,
-0.016817737,
0.022841785,
-0.001945417,
-0.0021623848,
-0.025671482,
-0.0030029071,
0.033314582,
-0.022316687,
0.059511162,
0.0357067,
0.047083832,
-0.021368591,
0.020318395,
0.00041524717,
0.014447502,
0.036377657,
0.07923153,
0.020974768,
0.010297765,
-0.022681339,
-0.0048863334,
-0.026284097,
-0.024737975,
0.02715926,
-0.030309852,
0.036465175,
-0.030193163,
-0.008277594,
-0.025613138,
-0.01807214,
0.016905254,
-0.0043502953,
0.013397305,
-0.026021548,
-0.046179496,
0.0045326212,
0.009699736,
0.0036957453,
-0.040607616,
-0.0038251968,
0.005305683,
0.03503574,
0.052830745,
0.015490406,
-0.0030393722,
-0.044691715,
-0.032877002,
0.024096187,
0.046033636,
-0.014148488,
-0.0099112345,
-0.001399351,
-0.008263009,
0.047288038,
-0.04483758,
-0.0055244737,
-0.00047769377,
0.03191432,
0.05032194,
0.020274637,
0.042153742,
0.0026236693,
-0.056944016,
-0.015081996,
0.002023817,
0.006786169,
0.02619658,
0.01165427,
0.026429959,
-0.026546646,
0.0415703,
-0.018218001,
0.00062492193,
0.007599342,
0.0026893066,
-0.01458607,
0.047783963,
-0.041249406,
0.015927987,
-0.0116761485,
0.0005096008,
0.00269113,
0.026780024,
0.01278469,
-0.057614975,
-0.033898026,
0.013127463,
-0.009014191,
0.022798026,
0.0149507215,
0.02626951,
0.01862641,
0.004332063,
0.041511953,
0.004328416,
0.019326542,
0.012471089,
0.04746307,
0.06581234,
-0.028603282,
-0.00463837,
-0.00488998,
-0.018145071,
-0.003909067,
-0.019662023,
-0.013732784,
0.04938843,
-0.023833638,
0.028953347,
-0.014731931,
0.027144676,
-0.039878312,
-0.005962056,
0.00886833,
-0.05032194,
-0.030047303,
0.041307747,
-0.032089353,
0.0005054985,
0.023804465,
-0.028647041,
0.018509721,
-0.02597779,
-0.012281471,
-0.026575819,
0.06592903,
-0.0074899467,
-0.037019443,
-0.045625225,
0.018320104,
-0.017678317,
-0.020041259,
0.030747434,
-0.03436478,
0.007891064,
-0.028180286,
0.025044281,
0.007041425,
0.051226277,
-0.023644019,
0.021106042,
0.012507554,
-0.013280616,
-0.01862641,
-0.023891982,
0.019399472,
0.0059875813,
0.019078579,
0.028574111,
0.061144803,
0.0216749,
0.047492243,
0.041074373,
0.014243297,
0.03871143,
0.0024960411,
-0.007548291,
0.00538226,
0.0016217886,
0.016482258,
-0.027319709,
0.03150591,
0.020245465,
0.0030357258,
0.022054138,
-0.06820446,
0.04746307,
0.035269115,
0.015125754,
-0.075030744,
-0.020901838,
0.033577133,
0.03217687,
-0.03001813,
0.0025744413,
0.0055354135,
0.04011169,
0.02564231,
-0.0044378117,
0.013791129,
0.02797608,
-0.019063992,
0.010202955,
-0.03532746,
-0.07129671,
-0.031447567,
0.0000042732627,
-0.056652293,
0.00797858,
-0.007056011,
0.0073914905,
0.028705385,
-0.027567672,
0.0022790735,
-0.012587778,
0.021733243,
-0.0043502953,
-0.028690798,
-0.007898357,
0.020143362,
0.0316226,
-0.062136658,
0.0052400455,
-0.03138922,
0.03276031,
-0.0019709426,
0.008277594,
0.011989749,
-0.001945417,
0.0175908,
0.016117606,
-0.017940866,
-0.012150195,
-0.023483573,
-0.009072536,
-0.027523912,
-0.011938698,
-0.004466984,
0.009291327,
-0.018713927,
0.014790274,
-0.030659918,
-0.008671419,
-0.00036328429,
0.044079103,
-0.012026214,
-0.004791524,
-0.0010119085,
-0.0062246053,
-0.022652166,
0.06435374,
0.08553271,
0.02422746,
-0.040082518,
-0.0018232587,
-0.0369611,
-0.009838304,
0.02074139,
-0.010706175,
-0.020814322,
0.045887776,
-0.010684296,
-0.04475006,
-0.012179368,
-0.008591195,
-0.049038365,
-0.03150591,
-0.0115667535,
0.042737182,
0.016438501,
0.012361694,
-0.022243757,
-0.03258528,
-0.012762811,
0.013966162,
0.018261759,
-0.00013400952,
0.044137448,
0.026138237,
-0.048863333,
-0.009736202,
0.027538499,
-0.040607616,
0.011238567,
-0.008190078,
-0.033810508,
-0.010414453,
0.011362548,
-0.0042263134,
-0.019005649,
0.04378738,
-0.07386386,
0.0048097563,
-0.010027923,
-0.0044998024,
0.05032194,
0.042445462,
-0.011493823,
-0.0007694152,
-0.03859474,
-0.04827989,
-0.000035012265,
0.016876083,
0.04813403,
-0.03967411,
0.041511953,
-0.030339025,
-0.010319645,
0.010662417,
-0.011836596,
-0.049125884,
0.038682256,
0.029857684,
0.04081182,
-0.015388303,
-0.04790065,
-0.0067387642,
0.00094080146,
0.045654397,
0.014965307,
0.0056156367,
-0.0357067,
-0.014877791,
-0.006067805,
-0.027917737,
0.025438106,
-0.036581863,
-0.02979934,
-0.038536396,
-0.015607094,
-0.057352424,
0.020128775,
0.08395742,
0.049417604,
0.019997502,
0.057439942,
0.017649144,
-0.006301182,
0.02616741,
0.013995334,
0.03439395,
-0.04652956,
0.011588632,
0.021033112,
-0.021616556,
-0.0064543355,
-0.0046274303,
-0.011005189,
0.030047303,
0.0069101504,
0.0053093294,
-0.045450192,
-0.013893231,
-0.032293558,
0.0067569967,
-0.06954638,
-0.0062209587,
-0.040840995,
-0.00057341484,
0.043408144,
-0.06295348,
0.008999605,
-0.031855974,
-0.009116294,
0.008671419,
-0.01703653,
-0.05020525,
-0.005597404,
-0.0035845265,
-0.04568357,
0.04606281,
0.010574901,
-0.005597404,
0.018086726,
-0.05084704,
0.03725282,
-0.005108771,
-0.029142966,
-0.004208081,
-0.012296056,
0.012478382,
-0.007096123,
0.05055532,
0.0428247,
-0.006549145,
-0.0015443001,
0.03328541,
-0.027334293,
-0.038973976,
-0.016876083,
-0.022943888,
0.036611035,
0.013061825,
0.042095397,
0.006829927,
0.020172535,
0.06534559,
0.016613534,
0.010275886,
-0.039090667,
0.026079893,
0.05796504,
0.018713927,
0.035794213,
0.03588173,
-0.031710114,
0.04801734,
0.002543446,
-0.016934427,
0.003445959,
-0.03911984,
0.016205123,
0.012668001,
-0.0025890274,
0.02333771,
-0.04174533,
0.058402624,
0.004069513,
0.0011860298,
-0.03754454,
-0.039907485,
-0.014834032,
-0.00002383056,
0.019530747,
0.04364152,
0.0009257596,
-0.0059255906,
0.009014191,
-0.0028588697,
-0.039615765,
-0.020391325,
-0.04664625,
0.024431666,
0.045741916,
0.010472798,
0.012828448,
0.008649539,
-0.018845202,
0.014133901,
0.015388303,
0.04119106,
-0.044691715,
0.032351904,
0.006253777,
-0.01985164,
-0.029420102,
0.023891982,
-0.014352692,
-0.02341064,
-0.011369841,
0.024840076,
-0.01896189,
-0.024985937,
-0.0068408665,
0.037048616,
-0.022127068,
-0.036056764,
-0.011333376,
0.00032112145,
0.012821155,
0.053764254,
0.013484822,
-0.016190536,
-0.031885147,
-0.035123255,
0.030864123,
-0.058140073,
-0.0446042,
-0.03150591,
-0.047929823,
0.0041971416,
0.04635453,
0.01670105,
-0.023585675,
-0.000058914047,
-0.03739868,
0.013834887,
-0.04895085,
-0.02679461,
-0.0064543355,
0.018320104,
-0.008773521,
0.072463594,
-0.04445834,
-0.035298288,
-0.0005934707,
0.03599842,
0.039090667,
0.001490514,
0.006443396,
0.00011349785,
0.04040341,
-0.040082518,
-0.028953347,
0.059919573,
-0.028296975,
0.024810905,
-0.008394283,
0.014936135,
-0.003785085,
-0.0387406,
-0.024431666,
-0.0011896763,
0.0392657,
-0.050817866,
0.030718263,
-0.008948553,
0.019764123,
-0.0045143883,
0.04352483,
0.00093350845,
0.012164782,
-0.031039156,
-0.036611035,
0.01035611,
-0.02074139,
-0.033431273,
-0.013105583,
-0.036902755,
0.0058745393,
-0.041541126,
0.035648353,
0.04323311,
-0.03083495,
-0.02809277,
-0.027990667,
0.0446042,
0.002078515,
0.041686986,
-0.020901838,
0.009823718,
-0.054581072,
0.005404139,
-0.037457027,
-0.04635453,
-0.033752166,
0.03841971,
0.04089934,
-0.03818633,
0.022039551,
0.012325229,
-0.06056136,
-0.023819052,
0.041220233,
-0.017532455,
0.019662023,
0.007464421,
0.0446042,
0.017503284,
-0.009845597,
-0.03068909,
-0.02241879,
-0.031710114,
0.08955847,
-0.011296911,
-0.029376345,
0.015855057,
0.0446042,
-0.059277788,
-0.0374862,
-0.045245986,
0.0015133047,
-0.021952035,
0.013557752,
0.037515372,
-0.015577923,
-0.047433898,
0.042153742,
0.040928513,
-0.0028771022,
-0.021966621,
-0.023250194,
-0.0021222732,
-0.013543165,
-0.0045545003,
0.060619704,
-0.0003981541,
-0.02415453,
-0.0037668524,
0.009116294,
-0.024475425,
0.0066220756,
0.059569508,
-0.028938761,
0.038215503,
0.040695135,
0.017051116,
0.029697238,
-0.0039345925,
0.0124492105,
-0.0021751476,
-0.023221023,
-0.045771085,
-0.02263758,
0.021178972,
0.0061699073,
-0.014600656,
-0.053764254,
-0.013280616,
0.027611429,
0.035823386,
-0.012215833,
-0.04119106,
0.026138237,
-0.017605387,
0.010064388,
-0.016205123,
0.023921154,
-0.013929697,
-0.015359132,
0.021106042,
-0.048484094,
-0.013287909,
0.03996583,
0.010086267,
0.0029172138,
-0.041016027,
-0.007635807,
-0.05904441,
-0.04612115,
0.009437187,
-0.010983311,
0.02783022,
0.011785544,
-0.020157948,
-0.046996314,
-0.04760893,
0.030659918,
-0.00030585163,
0.056710638,
-0.004583672,
0.012697173,
0.010341523,
-0.023789879,
-0.01268988,
0.009437187,
0.0046675424,
0.012682588,
0.039528247,
0.033898026,
-0.04877582,
0.012332521,
0.011114585,
0.03871143,
0.0051817014,
-0.034744017,
0.008766227,
-0.004981143,
-0.06056136,
0.015709197,
-0.020347567,
-0.02152904,
-0.0019581798,
0.04396241,
-0.035794213,
0.015257029,
-0.002953679,
-0.018422205,
-0.02160197,
0.0014923372,
0.017065702,
-0.039615765,
-0.0013127462,
-0.013907817,
0.03083495,
0.0008268478,
0.01391511,
0.022258341,
-0.04148278,
0.011595925,
-0.029784754,
0.034744017,
0.015986333,
0.0047149467,
0.042591322,
0.07351379,
-0.0038944806,
0.006498094,
0.01778042,
-0.031972665,
-0.019472403,
-0.008226543,
-0.058052555,
-0.032118525,
0.048863333,
-0.009021484,
-0.0012015274,
-0.054785278,
-0.003651987,
0.016832324,
0.031826805,
-0.008773521,
0.018188829,
0.011887646,
0.0150236515,
0.015388303,
-0.040286724,
-0.040053345,
-0.020245465,
0.021777002,
0.015111168,
-0.04186202,
0.03246859,
0.01677398,
0.024577526,
-0.022097895,
0.023002231,
0.0016072026,
-0.009575754,
0.004328416,
-0.0102613,
0.021441523,
-0.051868062,
0.024825491,
-0.0035498848,
0.028486595,
-0.0446042,
0.024169117,
0.008022338,
0.0021751476,
0.010407161,
0.02074139,
-0.015344545,
0.008372404,
0.047258865,
0.020128775,
0.050146908,
0.0027822927,
0.017124046,
0.030368196,
0.06849618,
0.015081996,
-0.00937155,
-0.0058016093,
0.060094606,
0.022112481,
0.03436478,
-0.056827325,
0.037807092,
0.018174242,
-0.03299369,
-0.0240816,
-0.018903546,
0.012755518,
0.033664647,
0.012274178,
0.03354796,
0.011581339,
-0.040082518,
-0.022345858,
-0.049330086,
0.02924507,
-0.03453981,
-0.027626015,
-0.004729533,
0.0004031681,
0.04197871,
-0.019982915,
0.023994084,
0.080456756,
0.0107572265,
0.044224963,
-0.009167344,
0.028034426,
-0.0070086066,
0.0092111025,
-0.00407316,
0.0022189058,
-0.018524308,
-0.0064506894,
-0.034131404,
-0.007110709,
0.014746516,
0.0125221405,
0.005757851,
-0.004321123,
0.024475425,
-0.040461756,
-0.03941156,
-0.06884625,
-0.017021943,
-0.06587069,
-0.029274242,
0.021441523,
0.012427331,
-0.051226277,
0.03669855,
0.03284783,
0.027261363,
0.00805151,
0.013783836,
0.04119106,
0.02018712,
0.06872956,
-0.029011693,
0.005943823,
-0.016073849,
-0.009553876,
-0.002897158,
0.0010593133,
-0.0043940535,
-0.013185807,
-0.011041654,
-0.053209983,
0.0053530876,
-0.0153153725,
-0.011625097,
-0.060327984,
0.016117606,
-0.021178972,
-0.057235736,
-0.008160906,
0.018115899,
-0.03410223,
-0.026298683,
-0.0107936915,
0.012719053,
-0.0135139935,
-0.043729037,
-0.047433898,
-0.01163239,
0.028384492,
-0.030163992,
-0.028369905,
-0.02415453,
0.023366883,
-0.003044842,
-0.009590341,
0.019880813,
0.020683046,
0.023439813,
0.03451064,
-0.00092074566,
-0.04475006,
-0.00092439214,
0.035269115,
0.07993166,
0.036611035,
0.10186911,
0.07415558,
0.0057469113,
-0.009181931,
-0.0069867275,
0.046296183,
-0.025671482,
0.010399868,
-0.016307225,
-0.011063534,
-0.01576754,
-0.046937972,
-0.05332667,
0.04892168,
-0.010924966,
-0.05431852,
-0.02556938,
-0.0031031864,
-0.063478574,
-0.03453981,
-0.04349566,
0.0018086726,
0.028632455,
-0.020508014,
0.0068773315,
-0.088566616,
0.25344753,
0.042708013,
0.036756895,
0.03328541,
0.0054661296,
0.05484362,
0.03573587,
0.033868853,
0.017430354,
-0.06855453,
0.003967411,
-0.04159947,
0.0116761485,
0.00073705235,
-0.011092706,
0.053764254,
-0.0405201,
-0.012296056,
0.025846515,
-0.047083832,
-0.06283679,
0.0038543688,
-0.0141776595,
0.05309329,
0.013375426,
-0.02508804,
-0.012551312,
-0.0006313033,
-0.018174242,
-0.05070118,
0.036290143,
0.03147674,
0.013827594,
-0.04025755,
-0.028719971,
0.04095768,
-0.0099841645,
-0.014622535,
-0.015519578,
0.006377759,
0.017692903,
0.0055645853,
0.025467277,
-0.015432062,
0.010246714,
0.02222917,
-0.046471216,
-0.0023428875,
-0.013893231,
-0.019603677,
0.03684441,
-0.042708013,
-0.009116294,
-0.034277264,
-0.049855184,
-0.028311562,
-0.009437187,
-0.03996583,
-0.0057833767,
-0.01689067,
0.0316226,
0.0117490785,
-0.02727595,
0.008525558,
-0.048338234,
0.01398804,
-0.024446253,
0.07176346,
0.003672043,
-0.01896189,
-0.04349566,
0.014206831,
-0.0013555929,
-0.029332586,
0.0020456961,
-0.014374572,
-0.027509326,
0.03138922,
0.025525622,
-0.036056764,
-0.0055791717,
0.0010957784,
0.009933113,
-0.030543229,
0.029959787,
0.0034496055,
-0.044487514,
-0.031272534,
0.025058867,
0.032439418,
0.016307225,
0.0013209509,
-0.026371613,
0.032001838,
0.0010264947
] | Now when you navigate to your Hugging Face profile, you should see your newly created model repository. Clicking on the Files tab will display all the files you've uploaded to the repository.
For more details on how to create and upload files to a repository, refer to the Hub documentation here.
Upload with the web interface
Users who prefer a no-code approach are able to upload a model through the Hub's web interface. Visit huggingface.co/new to create a new repository: |
[
0.022303859,
0.0026159072,
-0.029699426,
-0.015669815,
-0.019228475,
0.002418204,
0.0066926223,
-0.0047412175,
0.038720552,
0.024031932,
0.025701426,
-0.0058542136,
0.014842391,
-0.019667815,
-0.0071722358,
0.053043056,
0.02152769,
-0.00877949,
-0.079315625,
-0.01287268,
0.006645027,
0.0038771809,
-0.092202954,
-0.045252085,
-0.023753682,
0.004836408,
-0.015625881,
-0.029875163,
0.049528334,
0.057846516,
-0.049791936,
0.0013381583,
-0.0038039575,
0.02059043,
-0.034034252,
-0.06273784,
-0.024105156,
-0.021439822,
-0.04443198,
-0.041561622,
0.022816423,
0.011166574,
0.011305698,
-0.040975835,
-0.044607718,
0.028718231,
0.018774489,
0.009087029,
0.0155233685,
-0.03315557,
-0.015977355,
0.049791936,
0.0029673798,
0.030255925,
-0.007864197,
-0.022875002,
-0.034766488,
-0.03092958,
-0.037080348,
0.025218152,
0.021937741,
0.017749362,
-0.015830906,
-0.036377404,
0.0047888127,
0.015494079,
-0.013268087,
-0.02665333,
-0.012718911,
0.014036933,
-0.033009127,
0.011510724,
-0.0032675958,
-0.024354115,
-0.006114157,
0.030607397,
-0.003943082,
0.0071099955,
0.04633579,
0.039657813,
0.023006804,
0.03546943,
0.02133731,
0.005986016,
-0.030958869,
-0.014571464,
0.04457843,
-0.028967192,
-0.027912773,
-0.036201667,
-0.010068223,
0.01899416,
-0.017441822,
0.045017768,
0.05846159,
0.033624202,
-0.01821799,
0.024764167,
0.0007294885,
-0.018789133,
0.021425178,
0.10221992,
0.010405051,
0.00145257,
-0.0017363108,
-0.007886164,
0.0020411033,
0.0032401371,
-0.013231475,
-0.012982516,
0.017017126,
0.0033298358,
0.030607397,
-0.011071384,
0.017427178,
-0.008911292,
-0.025979675,
0.035879485,
-0.040067863,
-0.042908933,
0.031632524,
-0.019579947,
-0.00771775,
-0.058666617,
0.005773668,
-0.027517367,
0.004887664,
0.046511527,
0.009431179,
0.0035092332,
0.022596752,
-0.038193345,
0.021879163,
0.038281213,
-0.0045435145,
-0.0049096313,
-0.0071319626,
0.015625881,
0.03602593,
-0.041473754,
0.029318664,
0.02836676,
0.029509045,
0.05813941,
0.027561301,
-0.008493919,
0.008969871,
-0.045105636,
-0.015420856,
0.015494079,
-0.0067219115,
0.0051219794,
-0.004349472,
0.003602593,
-0.019418856,
0.020502562,
-0.021513045,
0.039862838,
0.01009019,
0.035381563,
-0.002987516,
0.037724715,
-0.04648224,
0.024705587,
0.00087868125,
0.03593806,
-0.033126283,
0.0015175557,
-0.012089189,
-0.03274552,
-0.020854035,
0.019931419,
0.0030222973,
0.0074211955,
0.061976317,
0.005564981,
0.036728878,
0.034356438,
0.022757845,
-0.020326827,
0.0027696765,
0.032979835,
0.041122284,
0.033624202,
-0.01643134,
-0.0006608415,
-0.019257763,
0.007179558,
0.016445983,
0.0011486927,
0.012338149,
0.015625881,
0.0016136615,
0.042733196,
-0.06666262,
0.0067804903,
-0.041444466,
0.0025957709,
-0.008047256,
0.0051476075,
0.005261104,
0.03412212,
-0.05345311,
0.0076591712,
-0.012858035,
-0.031691104,
-0.011393567,
0.016636364,
-0.013004483,
-0.004726573,
0.07269623,
-0.00073406496,
-0.0034451627,
-0.01689997,
0.010932259,
-0.007900809,
-0.03825192,
0.0350008,
0.00843534,
-0.0070001604,
0.020561142,
0.008135124,
0.037226796,
0.002196703,
-0.008735556,
0.008786812,
0.007479774,
0.019946065,
-0.0070843673,
-0.002621399,
0.017837228,
0.003774668,
0.012125801,
0.03649456,
0.029933741,
-0.010016966,
0.070060186,
0.046072185,
0.017998321,
0.0058505526,
-0.008098512,
-0.006059239,
0.017471112,
0.017573625,
-0.029860517,
-0.010859036,
0.019828906,
0.014571464,
-0.052398693,
0.030255925,
-0.043846194,
0.031163896,
-0.011642527,
-0.019096673,
-0.077558264,
-0.014637365,
0.039599236,
0.021644847,
-0.004459307,
-0.016211668,
0.039628524,
0.020722233,
0.03570375,
-0.012272248,
0.03801761,
0.022259925,
0.012023289,
0.035322987,
-0.006846391,
-0.07123176,
-0.011034772,
-0.006304538,
-0.055561945,
-0.03230618,
-0.05163717,
-0.014835068,
0.010134123,
-0.025393888,
0.055122603,
-0.0075713033,
0.018950226,
-0.0087502,
-0.038984157,
0.03889629,
0.026785133,
0.021923097,
-0.084880605,
-0.001768346,
-0.05058275,
0.026594752,
0.007142946,
-0.0072161695,
0.02268462,
0.0018644518,
-0.0038698586,
0.02781026,
-0.007908131,
-0.020722233,
-0.050377723,
0.012426017,
-0.029889807,
0.040565785,
-0.0005532946,
0.034912936,
-0.008691622,
-0.00024186616,
-0.00075282843,
-0.029142927,
0.053189505,
0.051695745,
0.016065221,
0.017734716,
0.022172056,
0.008501241,
-0.032452628,
0.055444784,
0.0843534,
0.004854714,
-0.06361652,
-0.01440305,
-0.06976729,
0.021015126,
-0.02852785,
-0.009094351,
-0.004408051,
0.05371671,
-0.042733196,
-0.051373564,
-0.0049096313,
-0.03459075,
-0.03315557,
-0.06467094,
-0.004426357,
0.03842766,
0.006161752,
0.008120479,
-0.0044922577,
-0.015171896,
-0.029787295,
-0.006787813,
0.0040346114,
-0.012133123,
0.049850516,
0.05149072,
-0.033507045,
-0.01102745,
0.04721447,
-0.035498723,
-0.01706106,
-0.026301859,
-0.011100673,
-0.02395871,
-0.01380994,
0.015801618,
-0.00039220304,
0.023944063,
-0.034092832,
0.01678281,
0.013165574,
0.025789294,
0.001324429,
0.028688943,
-0.016914614,
0.011876841,
-0.041883804,
-0.015289053,
-0.03602593,
0.018891647,
0.04633579,
-0.04856178,
0.014425017,
-0.034356438,
-0.014359116,
0.021835228,
-0.034971513,
-0.031046737,
0.01896487,
0.0055100634,
0.017075706,
0.00853053,
-0.060101796,
0.021513045,
0.0045544975,
0.033624202,
0.02018038,
0.0008283401,
-0.020048577,
0.022157412,
-0.02277249,
-0.0007752531,
0.025437823,
0.001127641,
-0.007245459,
-0.022084188,
-0.025042415,
-0.050670616,
0.017632203,
0.045017768,
0.034942225,
0.009233476,
0.045750003,
0.0029655492,
-0.022289215,
0.020487918,
0.012286893,
0.0133706,
-0.056850675,
0.016709588,
0.037959028,
-0.007542014,
-0.0048693586,
-0.023973353,
-0.016284892,
0.02833747,
0.010697944,
0.00927741,
-0.026536174,
0.004345811,
-0.022172056,
0.054097474,
-0.050641328,
-0.023856197,
-0.062152054,
-0.011313021,
0.03520583,
-0.01971175,
0.0069708712,
-0.020136446,
0.0021472774,
0.03602593,
0.004367778,
-0.06361652,
0.0043018768,
0.0048473915,
-0.050875645,
0.048591074,
0.028791456,
-0.069122925,
0.01418338,
-0.072520494,
0.015830906,
0.012396728,
-0.02265533,
-0.011210508,
-0.022157412,
0.0044190343,
-0.028923258,
0.013114317,
-0.03318486,
-0.016548498,
0.015816262,
-0.02455914,
0.008054578,
-0.015347633,
-0.00049380056,
-0.03842766,
0.026199346,
0.02577465,
0.014388406,
0.010339149,
-0.0076811383,
0.00078303315,
0.02180594,
-0.033009127,
-0.038164057,
0.024632365,
0.029948385,
0.0069708712,
0.03043166,
0.04109299,
-0.044256244,
0.055913415,
0.003792974,
-0.014549497,
0.0069928383,
-0.032394048,
0.023534013,
0.020795455,
0.008486596,
0.033917096,
-0.06783419,
0.044666298,
0.009072384,
-0.007161252,
-0.016607076,
-0.06695551,
0.0015587439,
-0.007878842,
-0.015728394,
0.051871482,
0.016314182,
-0.008764845,
-0.048005287,
0.022406371,
0.01968246,
-0.021952387,
-0.04873752,
0.050729197,
0.04349472,
0.045603555,
0.03933563,
0.0029234458,
-0.041444466,
0.032452628,
-0.0013610406,
0.010112156,
-0.00084344245,
-0.01665101,
0.015845552,
-0.0072344756,
-0.047243763,
-0.004177397,
-0.051256407,
0.014886324,
0.022435661,
-0.016197024,
-0.01915525,
-0.031544656,
0.0127482,
0.03136892,
-0.04258675,
-0.033594914,
-0.030548818,
-0.0026287213,
0.03690461,
0.019448144,
0.0482396,
-0.040829387,
-0.075097956,
-0.017412534,
0.04870823,
-0.05283803,
-0.008479274,
-0.045720715,
-0.04873752,
-0.0035128943,
0.04039005,
0.016519208,
-0.054068185,
0.036348116,
-0.014959548,
0.0007798296,
-0.071993284,
-0.028630363,
0.00041920418,
0.029670136,
-0.013890486,
0.046863,
-0.025335308,
-0.0077616842,
-0.013443823,
0.03710964,
0.014952226,
0.0056089154,
-0.027942063,
-0.023563301,
-0.0101853805,
-0.019023448,
-0.042264566,
0.05046559,
-0.017046416,
0.025188861,
0.024925258,
0.009365277,
-0.04736092,
-0.034532174,
-0.022626042,
0.002877681,
0.017954387,
-0.06461236,
0.013846552,
-0.012491918,
0.021967031,
-0.015991999,
0.0117596835,
0.0045215474,
0.020736877,
-0.02783955,
-0.063967995,
0.02737092,
-0.020912614,
0.0056382045,
-0.025935741,
-0.011386245,
0.0131509295,
-0.05157859,
0.002652519,
0.049967673,
0.008625721,
-0.011400889,
-0.03514725,
0.04873752,
0.04449056,
0.012045255,
-0.021220151,
0.03702177,
-0.027136605,
0.018100834,
-0.018774489,
-0.04258675,
-0.009204186,
0.015581948,
0.02368046,
0.0066413656,
0.03236476,
0.009101673,
-0.036348116,
-0.039130606,
0.033536334,
0.0041224794,
0.007549336,
0.0361138,
0.04015573,
0.0069159535,
0.030548818,
-0.0012585279,
-0.04308467,
-0.019038094,
0.051842194,
-0.0047119283,
0.009130962,
0.021439822,
0.035176538,
-0.020985836,
-0.056879964,
-0.07667958,
0.037314665,
-0.044871323,
-0.0034177038,
-0.004755862,
-0.021366598,
-0.018862357,
0.020165734,
0.027722392,
-0.024969192,
-0.025115639,
-0.025672138,
-0.013897808,
-0.026389727,
-0.0013628713,
0.07082171,
0.0010910293,
-0.015669815,
-0.0314275,
0.0047009448,
-0.033067703,
0.0029893469,
0.068712875,
-0.03221831,
0.03338989,
0.0051439465,
0.03315557,
0.045339953,
0.0028428999,
0.036201667,
-0.003677647,
-0.027722392,
-0.052164376,
-0.011693783,
0.012177058,
-0.037490398,
0.014637365,
-0.047975995,
0.01477649,
0.039013445,
0.026536174,
-0.042469595,
-0.07146607,
0.035791617,
-0.011313021,
-0.014285892,
0.01871591,
0.018481595,
-0.011598593,
0.024573786,
0.016577786,
-0.028542496,
0.00049974996,
0.030548818,
-0.0076445267,
-0.015157252,
-0.024793455,
-0.009350633,
-0.05248656,
-0.045750003,
-0.042088833,
-0.01731002,
0.011510724,
-0.0064875963,
-0.032599073,
-0.0127555225,
-0.009797296,
0.014893647,
0.0173686,
0.035996642,
-0.014110156,
0.0025481756,
-0.017676137,
-0.02599432,
-0.029465111,
0.020649008,
0.012799457,
-0.028937902,
0.049440466,
0.01927241,
-0.012711588,
-0.003736226,
-0.00020502563,
0.027546657,
-0.0039247763,
-0.0120599,
0.0032419676,
-0.007413873,
-0.051754326,
-0.00038968597,
-0.002643366,
-0.019858196,
-0.0137367165,
0.026990158,
-0.014952226,
0.01331202,
0.010200025,
-0.037197504,
-0.006798796,
0.04267462,
0.04308467,
-0.022113478,
0.01984355,
-0.027121961,
-0.0066120764,
-0.0088014575,
0.0281178,
0.045193505,
-0.03467862,
0.022845712,
-0.018437661,
0.0137513615,
-0.023460789,
0.0015797956,
0.03980426,
0.045603555,
-0.015450145,
-0.013883163,
0.0055869482,
-0.055474076,
-0.0053123604,
0.00684273,
-0.048503205,
-0.01218438,
0.042908933,
-0.035498723,
-0.009533691,
0.023314342,
0.004836408,
0.031076027,
0.011049417,
-0.014761845,
0.0109835155,
0.007205186,
0.020795455,
0.011876841,
-0.046247922,
-0.049967673,
-0.001971541,
0.029684782,
-0.013077706,
-0.005429518,
0.004019967,
0.02883539,
0.0035604895,
-0.02930402,
-0.0024365098,
-0.010280571,
0.00912364,
0.036260247,
-0.018628042,
-0.0014351794,
-0.022479596,
0.03046095,
-0.04369975,
0.025672138,
-0.050904933,
0.025364598,
0.032891966,
0.012631043,
0.030402372,
0.031310342,
0.01440305,
0.0055723037,
0.015816262,
0.023973353,
0.0034103815,
0.0052757487,
0.014168735,
0.0029033092,
0.054243922,
0.029230796,
0.0065937703,
0.0051915417,
0.05488829,
-0.009335988,
-0.014036933,
-0.01124712,
0.010243959,
0.010104834,
-0.012250281,
0.035264406,
-0.011679138,
-0.028732877,
0.013787973,
0.007893487,
0.02395871,
-0.019052738,
-0.0019532351,
-0.0350008,
-0.026887646,
0.016021287,
0.011737717,
-0.010917614,
0.047185183,
-0.0149302585,
0.036758166,
0.005370939,
-0.0014571464,
-0.006930598,
0.015801618,
0.03292126,
0.0037527012,
0.032042574,
0.021659493,
0.05614773,
-0.018510886,
0.031515367,
-0.03570375,
-0.0026946224,
-0.014315181,
-0.036201667,
0.0030717233,
0.015054738,
0.051842194,
-0.027751682,
-0.0048437305,
-0.004173736,
-0.010668655,
-0.062386367,
0.017134285,
-0.059193827,
0.025803939,
0.036143087,
-0.009160252,
-0.051314984,
0.057231437,
0.012426017,
0.011261765,
0.0086843,
0.04214741,
0.038779132,
0.0435533,
0.044314824,
-0.03848624,
0.008157091,
-0.0023632864,
-0.0383105,
-0.0149375815,
0.03511796,
-0.035908774,
-0.029509045,
-0.02792742,
-0.041883804,
-0.0060409335,
0.007578626,
0.012301537,
-0.04782955,
0.036143087,
-0.002727573,
-0.062152054,
0.017676137,
0.0705874,
0.012880002,
-0.0022113477,
-0.010390406,
0.00912364,
-0.051754326,
-0.010741878,
-0.060687583,
0.010961548,
0.006681639,
-0.036846034,
-0.008838069,
-0.016636364,
0.013443823,
0.036318824,
-0.0015907792,
0.011781651,
0.028234957,
0.01574304,
0.048093155,
0.004005322,
-0.02646295,
-0.027283052,
0.025598913,
0.046775132,
0.017134285,
0.09337453,
0.04258675,
-0.037666135,
-0.03798832,
0.007629882,
0.016709588,
-0.01124712,
-0.013641526,
-0.02293358,
-0.017925097,
-0.02158627,
-0.074277855,
-0.032950547,
-0.004089529,
-0.015303698,
-0.025130283,
0.0035769648,
-0.0016768167,
-0.052340113,
-0.07515653,
-0.021996321,
0.008362116,
-0.013985677,
-0.02792742,
0.02414909,
-0.07088029,
0.25680923,
0.024764167,
0.005008483,
-0.009526369,
0.020561142,
0.085817866,
0.02783955,
0.013568303,
0.0035696425,
-0.04926473,
-0.00045833294,
-0.04815173,
0.017851874,
-0.00006172507,
-0.008113157,
0.044344112,
-0.04170807,
-0.01043434,
-0.009189541,
-0.054390367,
-0.07257907,
0.016768167,
0.010793135,
0.072520494,
0.0408001,
-0.017266087,
-0.0063374885,
-0.049879804,
-0.021791294,
-0.009965709,
0.048532493,
0.03505938,
0.03652385,
-0.013787973,
-0.030841712,
0.02577465,
-0.007563981,
-0.01808619,
-0.019257763,
0.015596592,
0.02365117,
-0.039072026,
0.042030253,
-0.027737038,
-0.0035934402,
0.017104995,
-0.03377065,
0.03371207,
0.0068061184,
-0.01465201,
0.05767078,
-0.042381726,
0.0147472005,
-0.04577929,
-0.055884127,
0.029699426,
-0.045750003,
-0.052310824,
-0.049381886,
-0.0019989999,
0.043348275,
0.013766006,
-0.039218474,
0.017002482,
0.015084028,
0.0015715581,
-0.038193345,
0.069943026,
0.0088087795,
0.031134605,
-0.022977514,
0.0036172378,
-0.024793455,
-0.07609379,
0.013692782,
-0.003899148,
-0.008325505,
0.023739038,
0.021542335,
-0.042791776,
0.004990177,
0.0011029281,
-0.0042799097,
-0.08183451,
0.056909256,
0.04967478,
-0.023094673,
-0.009819263,
0.02808851,
0.038222633,
0.021278732,
0.03798832,
-0.0017491248,
0.017441822,
0.0046057543
] | Use the push_to_hub function
You can also call push_to_hub directly on your model to upload it to the Hub.
Specify your model name in push_to_hub:
pt_model.push_to_hub("my-awesome-model")
This creates a repository under your username with the model name my-awesome-model. Users can now load your model with the from_pretrained function:
from transformers import AutoModel
model = AutoModel.from_pretrained("your_username/my-awesome-model") |
[
0.019242387,
0.0038754994,
-0.019654825,
-0.029809346,
0.013390028,
0.00514837,
-0.0139233535,
-0.008668318,
0.029439574,
0.043348704,
0.01742197,
-0.0072958944,
0.054185882,
-0.019100167,
0.009649638,
0.06206488,
0.026424507,
-0.044315804,
-0.06928966,
-0.016796201,
0.026253842,
0.01170472,
-0.081805035,
-0.039025214,
-0.0031715096,
0.014463791,
0.019299276,
-0.02857203,
0.08351168,
0.033478625,
-0.029894678,
0.030662667,
-0.0058630263,
-0.028700028,
-0.006101245,
-0.008305658,
0.0048212633,
-0.040191416,
-0.038626995,
-0.022243233,
0.057855163,
-0.009898523,
0.042922046,
-0.058082715,
-0.04681888,
0.006339464,
0.03746079,
-0.013887798,
0.016810423,
-0.023295661,
0.026140066,
0.06382841,
0.03413284,
-0.020451259,
-0.019740159,
-0.018161515,
-0.0207357,
-0.001476423,
-0.035384376,
0.006730569,
0.023124998,
-0.0050061494,
0.00775811,
-0.016412206,
0.03416128,
0.056148518,
-0.028870692,
-0.011022062,
0.012273599,
-0.027761376,
-0.024291204,
0.009692304,
0.0003719946,
0.0037332792,
-0.0064923503,
-0.0087038735,
0.047444645,
-0.03450261,
0.022655671,
0.042722937,
-0.00994119,
0.032824412,
0.030520447,
0.004028386,
-0.027704487,
0.0016559759,
0.04366159,
-0.017791742,
0.017734854,
-0.010403405,
-0.005354589,
0.032056425,
-0.01884417,
0.047871307,
0.033706177,
0.03788745,
-0.011185615,
0.024916973,
0.008846094,
-0.0034328392,
0.015174891,
0.074750915,
0.022257455,
0.023366772,
0.010481626,
0.011590943,
-0.01708064,
-0.023110775,
0.012174046,
-0.041812725,
0.03831411,
-0.018474398,
0.005031038,
-0.032056425,
-0.0034755052,
-0.0037866118,
0.01891528,
0.050260603,
-0.03851322,
-0.03444572,
0.040504303,
-0.024148984,
-0.00881765,
-0.054697875,
-0.024447646,
0.0051981467,
0.024575643,
0.075149134,
0.0074381144,
-0.00084221,
-0.0011297615,
-0.034872383,
0.014357125,
0.034019064,
-0.014079796,
0.008974092,
0.0063536856,
0.014748231,
0.07321494,
-0.023267219,
0.004366159,
0.02504497,
0.015359777,
0.042097166,
0.029667126,
0.025500074,
-0.0011795384,
-0.040674966,
-0.024163205,
0.03774523,
0.007857664,
-0.00056532514,
0.021333024,
0.045766447,
-0.01551622,
0.056148518,
-0.0040781633,
0.004494157,
0.028159592,
0.013482471,
-0.0029564016,
0.048696183,
-0.03578259,
-0.012038937,
-0.00952164,
0.018417511,
-0.017336637,
0.02257034,
-0.033535514,
-0.028031593,
0.0012577595,
0.010972286,
-0.008298546,
-0.000008784595,
0.04471402,
-0.0021901904,
-0.003964387,
0.05176814,
0.03492927,
-0.003621281,
-0.017393526,
0.03797278,
0.075718015,
0.047643755,
-0.007249673,
0.02926891,
-0.025144525,
0.022172123,
-0.021859238,
-0.024717864,
-0.0051945914,
0.039281208,
-0.003978609,
0.054157436,
-0.031003995,
0.01651176,
-0.041442953,
0.033450183,
-0.009080757,
-0.0049634837,
-0.030747999,
0.01001941,
-0.01890106,
0.02855781,
0.004241716,
-0.019228166,
-0.0032923967,
0.0068123457,
-0.020906363,
0.0075163357,
0.0781642,
0.02695072,
-0.019157056,
-0.0352706,
0.014705565,
-0.03461639,
-0.03273908,
0.009208756,
-0.038996767,
-0.008881649,
-0.0019804158,
0.0033848397,
-0.011690497,
0.022698337,
-0.0062470203,
-0.0065065725,
0.009500307,
0.02292589,
-0.029866233,
-0.004860374,
0.01029674,
0.009222978,
0.018815728,
0.043064263,
0.043405592,
0.019725936,
0.06650215,
0.05333256,
0.005244368,
0.035355933,
-0.008376768,
0.026509838,
-0.0020124153,
0.014499346,
0.015260223,
-0.010666512,
0.01722286,
-0.017877074,
0.00980608,
-0.010645179,
-0.05213791,
0.050601933,
0.008981203,
-0.010261185,
-0.04852552,
-0.0069012335,
0.056888063,
0.0015404221,
-0.03936654,
-0.023096554,
0.02257034,
0.0331373,
-0.020579258,
-0.006915455,
-0.004295049,
0.030861774,
-0.04113007,
0.022968557,
-0.021475244,
-0.004853263,
-0.00047199315,
0.001841751,
-0.08976936,
0.014485124,
-0.027676044,
0.0063323528,
0.029894678,
-0.031999536,
-0.0027412935,
-0.041869614,
0.036579024,
-0.008725207,
-0.04445802,
0.020636145,
-0.014030019,
0.016853089,
-0.07019987,
0.013731357,
-0.0762869,
0.015260223,
-0.002988401,
0.012565151,
0.0038115003,
-0.006030135,
0.032966632,
0.0037332792,
-0.019071724,
-0.028685806,
-0.02998001,
-0.007793665,
-0.018502843,
-0.013098476,
0.0031910648,
0.021361468,
-0.0009448752,
-0.016710868,
-0.02511608,
-0.011014951,
0.014691343,
0.0075092246,
-0.008142104,
-0.00050354825,
0.012337599,
-0.0016559759,
-0.036835022,
0.025073415,
0.07685577,
0.0038079447,
-0.019270832,
-0.0046221553,
-0.040475857,
0.003031067,
-0.008867427,
0.008149215,
-0.010417627,
0.04556734,
0.035242155,
-0.06951722,
-0.01171183,
-0.0037475012,
-0.041926503,
-0.043690033,
-0.015928658,
0.023779212,
0.022513451,
0.009279866,
-0.024888529,
-0.033819955,
-0.03760301,
0.016838867,
0.029041357,
0.008710985,
0.065648824,
0.04161362,
-0.047871307,
-0.019370386,
-0.008803428,
-0.040106084,
-0.022769447,
-0.018531287,
0.00642124,
-0.012870925,
-0.023053888,
0.009606971,
-0.021546355,
0.03259686,
-0.023437882,
-0.010168741,
-0.0076230005,
0.008910093,
0.018246846,
0.02941113,
-0.023764988,
-0.01114295,
-0.025912514,
-0.033592403,
-0.007729666,
-0.018431732,
0.036920354,
-0.06934655,
0.023850322,
0.0042346055,
-0.02244234,
0.011811384,
-0.023153443,
-0.033279516,
0.06650215,
0.017365081,
0.038115002,
-0.016753536,
-0.06559194,
0.026239619,
-0.012750037,
0.039025214,
0.07497847,
-0.0018879726,
-0.046961095,
0.024419202,
-0.017905518,
-0.021745462,
-0.0014257571,
-0.012878035,
-0.032426197,
-0.040390525,
-0.034019064,
-0.06473862,
0.04329182,
0.061154667,
0.04167051,
0.009443419,
0.06024446,
0.020095708,
-0.035327487,
0.031914204,
0.010574069,
0.02757649,
-0.050772596,
0.025983624,
-0.002172413,
0.012600706,
-0.018175736,
-0.014990005,
0.0074950024,
0.026438728,
0.0031092882,
0.011334946,
-0.022655671,
-0.021333024,
-0.020721477,
0.015672661,
-0.05848093,
-0.029183578,
-0.037091017,
0.008319879,
0.033563957,
-0.027988927,
0.011477167,
-0.0352706,
-0.011434501,
0.032909743,
-0.021759685,
-0.072475396,
0.0060479124,
-0.0047785975,
-0.033450183,
0.045026902,
0.009777636,
-0.020323262,
0.028188035,
-0.024774753,
0.011910939,
0.008831872,
-0.011633609,
-0.030378226,
-0.013795355,
-0.0025208523,
0.022157902,
0.027846707,
-0.015629996,
-0.031515986,
0.015900213,
-0.0035395043,
-0.03441728,
-0.03945187,
-0.0140371295,
0.008369656,
0.049293507,
-0.015317111,
0.013070033,
0.007864775,
-0.009237199,
0.0022381898,
0.0222859,
-0.029752458,
-0.03131688,
0.024788974,
0.037091017,
0.0020159709,
0.07258917,
0.019029057,
-0.030605778,
0.045937113,
0.014300237,
0.016341096,
0.010339405,
-0.06519372,
0.011754496,
-0.00645324,
-0.023878764,
0.030207561,
-0.050744154,
0.06855012,
-0.012750037,
0.024632532,
0.0025279634,
-0.03703413,
-0.023892988,
-0.017322415,
-0.028202258,
0.041954946,
0.0044906014,
-0.004700376,
-0.03569726,
-0.016042434,
-0.030634223,
-0.008106549,
-0.042438496,
0.017165974,
0.035640374,
0.014421124,
-0.009749192,
0.013958909,
-0.04332026,
0.04332026,
0.0067199026,
0.030150674,
-0.016113544,
0.005087926,
0.04152829,
0.029041357,
-0.053787664,
0.010467404,
-0.012373154,
-0.010965174,
0.036835022,
-0.010958063,
-0.004494157,
-0.06468173,
0.0047643753,
0.022584561,
-0.018801505,
-0.020181041,
-0.041158516,
-0.00018188625,
0.03125999,
0.011605165,
0.035185266,
-0.020152597,
-0.04346248,
-0.027277827,
0.026794279,
-0.03336485,
-0.02921202,
-0.035953257,
-0.06058579,
-0.0007973218,
0.028842248,
0.055608083,
-0.048923735,
0.02335255,
-0.015103781,
0.0046541546,
-0.050345935,
-0.009599861,
-0.009407864,
0.029923122,
0.022797892,
0.047302425,
-0.017109085,
-0.019697493,
-0.031089326,
0.036152367,
0.009272754,
0.021119693,
-0.0018915281,
-0.020991696,
0.011057617,
-0.012223823,
-0.016810423,
0.050801042,
-0.013596247,
0.056120075,
-0.0074594473,
-0.031658206,
-0.028017372,
-0.036863465,
-0.01156961,
-0.015501997,
0.014129573,
-0.054498766,
0.0445718,
-0.022854779,
0.012095825,
-0.023523215,
-0.008198992,
-0.021119693,
0.011697608,
-0.027107162,
-0.044202026,
0.001010652,
-0.015217558,
-0.057968937,
-0.025727628,
-0.024717864,
0.008895871,
-0.045766447,
0.013013145,
0.07230473,
-0.003383062,
0.000015583108,
-0.055494305,
0.056034744,
0.019341942,
-0.021887682,
-0.03413284,
0.009656749,
-0.036579024,
-0.023466326,
0.0027981817,
-0.03316574,
-0.03555504,
0.05705873,
0.019925045,
-0.001598199,
0.013112699,
-0.023651212,
-0.036721244,
-0.02328144,
0.057542276,
-0.0087607615,
-0.012529596,
0.01932772,
0.03484394,
0.029439574,
-0.0015208669,
0.0126647055,
-0.03632303,
-0.03959409,
0.056176964,
0.033251073,
-0.006186577,
0.011526944,
0.06263376,
-0.059732467,
-0.01284248,
-0.048497073,
0.018502843,
-0.041642062,
-0.00076398894,
0.034730162,
-0.007736777,
-0.050345935,
0.051455256,
0.029809346,
-0.042495385,
-0.007857664,
-0.002867514,
-0.030662667,
0.00011977604,
0.004867485,
0.040305194,
-0.008547432,
-0.026964942,
-0.025926735,
0.007935885,
-0.02855781,
0.03350707,
0.037147906,
-0.029240465,
0.015957102,
0.030150674,
0.020309038,
0.047160204,
-0.0026204064,
0.040788744,
0.01220249,
-0.04994772,
-0.055892523,
-0.04542512,
0.0019537495,
-0.010588291,
-0.0027484046,
-0.028984468,
0.0044052694,
0.040049195,
0.03111777,
0.011896716,
-0.06024446,
0.0034132837,
-0.024703642,
0.018815728,
0.010026521,
-0.018758839,
0.015857548,
-0.005176814,
0.038769215,
-0.03450261,
-0.02575607,
0.037147906,
0.0029866234,
-0.003505727,
-0.035043046,
-0.023537437,
-0.042154055,
-0.05876537,
-0.02158902,
0.03302352,
0.008597209,
0.014158017,
-0.012394487,
-0.034673274,
-0.047956638,
0.05996002,
0.00980608,
0.02399254,
0.02335255,
0.009514528,
-0.009372309,
-0.043946028,
-0.028045816,
0.022257455,
0.0047359313,
-0.0072567835,
0.053702332,
-0.0015733105,
-0.012742926,
-0.02855781,
0.012110047,
0.031857315,
-0.010531403,
-0.02046548,
-0.007061231,
-0.024703642,
-0.03268219,
-0.0047110426,
-0.023295661,
-0.0087038735,
-0.032966632,
0.027178273,
-0.015018449,
0.012408709,
0.009336754,
-0.035725705,
-0.015843326,
0.013084255,
0.035498153,
-0.019797046,
0.023793433,
0.01333314,
0.02828759,
-0.00888876,
-0.0028372922,
0.023252996,
-0.03498616,
-0.015359777,
-0.049122844,
0.011043396,
-0.023949875,
-0.029240465,
-0.0002186635,
0.070711866,
0.018730395,
-0.001211538,
-0.02399254,
-0.058594707,
-0.007950107,
-0.024148984,
-0.047814418,
-0.043690033,
0.023978319,
-0.014150906,
0.048212633,
0.00075154466,
0.013838022,
0.012216711,
0.0390821,
-0.051682808,
0.035213713,
0.006143911,
0.018517066,
0.026609393,
-0.052109465,
-0.058111157,
-0.0055892523,
0.008831872,
-0.02757649,
-0.009023869,
0.021830795,
0.07566112,
0.03620925,
-0.010566958,
-0.00009305421,
-0.014058463,
-0.024390757,
-0.00034132838,
-0.013532248,
0.019171277,
-0.017393526,
0.0012924257,
-0.028657362,
0.03956565,
-0.04861085,
-0.008938537,
-0.0020906364,
-0.0033883953,
0.028486699,
0.038683884,
0.006303909,
-0.009955411,
0.02087792,
0.007942996,
0.036977243,
0.0046897097,
0.030378226,
0.017891295,
0.08157749,
0.03783056,
0.03865544,
0.013724245,
0.035611928,
0.009080757,
0.0074594473,
-0.021958793,
0.029041357,
0.01791974,
-0.024803195,
0.03441728,
-0.029581793,
-0.015914436,
0.010495848,
-0.020565035,
0.022940112,
-0.010225629,
0.00026466284,
-0.011206948,
-0.026396062,
0.031971093,
-0.020152597,
-0.0011359835,
0.021318803,
-0.026637835,
0.015715327,
-0.016767757,
0.049549505,
0.042097166,
-0.0068585672,
0.05404366,
0.009528751,
-0.0005284368,
0.0074096704,
0.027292049,
-0.014549122,
-0.0058168047,
-0.014904673,
-0.021048583,
-0.04161362,
-0.000048860402,
0.027747152,
-0.012963368,
-0.002895958,
-0.013169587,
-0.008547432,
-0.023124998,
-0.01818996,
-0.054356545,
0.026908055,
-0.06752613,
0.03760301,
0.03893988,
-0.010716289,
-0.03592481,
0.07128075,
0.012166935,
0.027732931,
0.0122522665,
0.03760301,
0.04451491,
-0.0067199026,
0.04309271,
-0.030036898,
0.040788744,
-0.0015884214,
-0.025485853,
0.009542973,
0.049464174,
0.0016230876,
-0.007210562,
-0.014542012,
-0.047814418,
-0.001003541,
-0.0066630146,
-0.017820187,
-0.0521948,
0.030662667,
0.0006088801,
-0.049065955,
-0.03436039,
0.024291204,
-0.007274561,
0.0065990156,
-0.009265644,
0.012515374,
-0.031800427,
-0.005919914,
-0.052564573,
0.030634223,
0.020223707,
-0.01946994,
-0.03231242,
-0.03083333,
-0.00012410931,
0.0081776595,
-0.018389067,
-0.0026844055,
0.021418355,
-0.0058025825,
0.043149598,
-0.009222978,
0.010737622,
-0.019413052,
0.03817189,
0.054555655,
0.024518756,
0.086811185,
0.05319034,
-0.019242387,
-0.02419165,
-0.0025208523,
0.017948184,
-0.025400521,
-0.012422931,
-0.029667126,
-0.009486085,
-0.013311807,
-0.07839175,
-0.05452721,
0.051682808,
-0.0045403787,
0.0130415885,
0.0013750911,
-0.0029137356,
-0.06712791,
-0.062178653,
-0.05996002,
-0.03470172,
0.006094134,
-0.012806925,
0.05375922,
-0.06280442,
0.23961252,
0.0130415885,
0.015644217,
0.025599629,
0.011014951,
0.076912664,
0.045624226,
0.037204795,
-0.015004227,
-0.0791313,
-0.007964329,
-0.016525982,
0.0030843997,
0.0019039724,
-0.049919277,
0.03930965,
-0.059675578,
-0.0012079825,
0.0073812264,
-0.05179658,
-0.06763991,
0.023736544,
0.01029674,
0.09796125,
0.014421124,
0.00966386,
0.028074259,
-0.023025444,
0.01799085,
-0.01877306,
0.009478973,
-0.00336884,
0.018687729,
-0.04093096,
-0.029098244,
-0.004753709,
-0.0048354855,
-0.014115351,
-0.021005917,
0.020650368,
0.015061115,
0.02340944,
-0.0014373125,
-0.0010719844,
-0.020764144,
0.026467172,
-0.01961216,
0.054072104,
0.009272754,
-0.007992773,
0.04676199,
-0.012422931,
0.02340944,
-0.042068724,
-0.06604704,
0.025087636,
-0.017052198,
-0.03893988,
0.0033777289,
-0.019725936,
0.0034719496,
0.0059519135,
-0.031146215,
-0.0023732989,
0.0025670738,
0.0075661126,
-0.018374845,
0.04303582,
0.02645295,
-0.026324952,
-0.019555273,
-0.007864775,
-0.04846863,
-0.097676806,
0.03245464,
-0.017549967,
-0.05489698,
0.03268219,
0.028159592,
-0.034730162,
-0.016540205,
-0.030150674,
0.013496693,
-0.018517066,
0.011036284,
0.013361584,
-0.021404134,
-0.022172123,
0.02687961,
-0.006936788,
0.010965174,
0.017549967,
-0.015288667,
-0.009194533,
0.026054733
] | From here, add some information about your model:
Select the owner of the repository. This can be yourself or any of the organizations you belong to.
Pick a name for your model, which will also be the repository name.
Choose whether your model is public or private.
Specify the license usage for your model.
Now click on the Files tab and click on the Add file button to upload a new file to your repository. Then drag-and-drop a file to upload and add a commit message. |
[
0.035997156,
0.028516324,
-0.04115155,
0.015588553,
0.008267923,
0.007870896,
0.003611557,
-0.013979547,
0.02227533,
0.029588996,
0.015296006,
0.014529812,
0.00813558,
-0.044912864,
0.004482231,
0.03889476,
0.042711798,
-0.020269297,
-0.05901082,
-0.002798347,
-0.019837443,
-0.0160622,
-0.10375651,
-0.055918187,
-0.038086776,
0.00280183,
0.0052693207,
-0.030619873,
0.054190766,
0.028669562,
-0.041708782,
-0.010176441,
-0.00073093106,
-0.018137887,
-0.037028037,
-0.03906193,
-0.009869964,
-0.011033185,
-0.049537886,
-0.032625906,
0.0057464503,
0.0073554562,
0.035022,
-0.043714814,
-0.029059624,
0.024072403,
0.010148579,
0.008546539,
0.0021975818,
-0.034381185,
-0.021119075,
0.070044,
-0.018012509,
0.015825376,
-0.03268163,
0.014752705,
-0.03527276,
0.008219165,
-0.03092635,
0.020631498,
0.05107027,
0.006119099,
0.003122238,
-0.0434362,
0.012642191,
-0.00014213758,
0.0023403724,
0.004576264,
-0.029031763,
0.013568588,
-0.04028784,
-0.0026921248,
0.0132760415,
-0.02492218,
-0.008309715,
0.038783316,
0.0006177434,
0.017413486,
0.010434161,
0.007856965,
0.027805854,
0.06892954,
0.021077283,
0.024128126,
-0.010650088,
-0.03109352,
0.0463338,
-0.006080789,
-0.0072579407,
-0.055611707,
-0.024838597,
0.028195916,
-0.023013663,
0.027861577,
0.013255145,
0.022372846,
-0.025493342,
0.02632919,
-0.00033172691,
-0.018054303,
0.033322446,
0.09400496,
-0.0022742013,
0.00051848654,
-0.006171339,
0.031232828,
0.014042235,
0.0008637089,
-0.031037796,
-0.039145514,
0.0070246,
0.012293921,
0.03343389,
-0.0046180566,
0.016521916,
-0.00786393,
-0.030842766,
-0.0030386532,
-0.021885268,
-0.034938417,
0.022804702,
-0.013018322,
0.0090480475,
-0.03869973,
0.005314596,
-0.033963263,
0.027457584,
0.045581542,
0.019753858,
0.01607613,
-0.010559537,
-0.03426974,
0.035439927,
0.042377457,
-0.024448534,
-0.026273467,
-0.0441606,
-0.006697227,
0.021063352,
-0.032820936,
0.031009935,
0.021077283,
0.01571393,
0.043603368,
0.002397837,
0.008205234,
0.011144631,
-0.075672045,
-0.010246095,
0.0072579407,
-0.019489173,
0.022094231,
-0.033768233,
-0.014989529,
-0.05917799,
0.016925909,
-0.029644718,
0.03109352,
0.026008783,
0.019280212,
0.009821206,
0.04273966,
-0.04324117,
0.024281364,
0.03181792,
0.035802126,
-0.034548357,
-0.001972948,
-0.003231943,
-0.028335225,
-0.010350576,
0.017079147,
0.017998578,
-0.01501739,
0.06692351,
0.05594605,
0.047113925,
-0.0001977519,
0.024768943,
-0.0059066545,
-0.0023455964,
0.010935669,
0.024406742,
0.024657495,
-0.013213353,
0.004008584,
0.013060114,
0.0009673191,
0.030257672,
0.00006905536,
0.0039284825,
0.006899223,
-0.025465481,
0.032765213,
-0.072662994,
-0.025716236,
-0.025827682,
-0.007856965,
0.017552793,
0.0035836953,
-0.012412333,
0.03936841,
-0.054302216,
-0.009897825,
-0.020617567,
-0.0025301795,
-0.004541437,
0.003437422,
-0.014070096,
-0.0025946093,
0.04661242,
-0.00910377,
0.020352881,
0.0033033383,
-0.0022115128,
-0.015323867,
-0.039312687,
0.008435093,
0.0105804335,
-0.016173646,
0.005934516,
-0.007327595,
0.031372137,
0.026357053,
0.032848798,
-0.010030168,
0.0023873888,
0.016911978,
0.0041444097,
-0.0021749444,
0.002657298,
0.015087044,
0.014794498,
0.0406779,
0.05157178,
-0.0006987161,
0.035551373,
0.041067965,
0.03056415,
0.0069967387,
0.007473868,
-0.013025288,
0.0132760415,
0.026733182,
-0.027332207,
-0.014627328,
0.033656783,
0.016675154,
-0.04312972,
0.051655363,
-0.06519609,
0.023919163,
-0.006213132,
-0.005791725,
-0.073053055,
-0.016410468,
0.018318987,
0.026370984,
-0.018012509,
-0.008177373,
0.03711162,
0.037167344,
0.0122103365,
0.00366728,
0.04591588,
0.044773553,
-0.0028366568,
0.018221471,
0.011074977,
-0.0536614,
-0.010559537,
-0.030536288,
-0.058007803,
-0.037418097,
-0.041040104,
-0.017956786,
0.0020913596,
-0.022762908,
0.03975847,
0.0023804235,
-0.015198491,
-0.004092169,
-0.01748314,
0.060181007,
0.048256252,
0.0036394184,
-0.07756663,
0.00437775,
-0.064081624,
0.0286417,
0.003322493,
-0.04664028,
0.016507985,
0.017329901,
0.0054225596,
0.028223777,
-0.00830275,
-0.038978346,
-0.05296486,
0.023793787,
-0.00795448,
0.026050575,
0.002307287,
0.011095873,
-0.019921027,
0.012892945,
-0.009528659,
-0.025897335,
0.02670532,
0.054023597,
0.021759892,
0.02614809,
0.008024134,
-0.0036777281,
-0.02931038,
0.046723865,
0.09043868,
-0.018040372,
-0.057896357,
-0.026384914,
-0.07639644,
0.038253944,
-0.009758517,
-0.0028314327,
-0.01820754,
0.053633537,
-0.03532848,
-0.0314,
-0.00631413,
-0.03906193,
-0.028307362,
-0.049454298,
0.01448802,
0.058787927,
0.0046285046,
0.0053076306,
-0.014599467,
-0.023348002,
-0.023180831,
0.012405368,
0.013457142,
-0.0084281275,
0.03374037,
0.04750399,
-0.024782874,
-0.0043046135,
0.041959535,
-0.051460333,
-0.0069897734,
-0.009967479,
-0.016772669,
-0.0036637974,
-0.008274889,
0.01643833,
-0.012071028,
0.022888286,
-0.022567878,
0.0029846714,
0.01909911,
0.026942145,
0.009960514,
0.0222614,
0.01069188,
0.007313664,
-0.08854409,
-0.010977461,
0.008024134,
-0.00437775,
0.041095827,
-0.04006495,
0.008880878,
-0.026914284,
-0.0044578523,
0.0010038875,
-0.010761534,
-0.028669562,
0.023222625,
0.038114637,
0.014794498,
-0.009772448,
-0.051655363,
-0.0022759426,
-0.0068017077,
0.039424133,
0.046946757,
0.0039180345,
-0.029979058,
0.028404878,
-0.0043881983,
-0.0025806786,
0.016995562,
-0.005819587,
-0.008957497,
-0.030006919,
-0.012314817,
-0.048702035,
0.01255164,
0.06514037,
0.032765213,
0.030257672,
0.042823244,
-0.0083306115,
-0.022985801,
0.02667746,
0.02157879,
-0.010615261,
-0.06976539,
0.009737621,
0.046055187,
0.0037508649,
-0.009403282,
-0.036944453,
-0.015532829,
0.016048267,
0.0268307,
-0.009479902,
-0.013150664,
-0.0084281275,
-0.0037090725,
0.04151375,
-0.009904791,
-0.03998136,
-0.04065004,
-0.02047826,
0.054023597,
-0.017455278,
0.009445075,
-0.033294585,
-0.016995562,
0.03457622,
-0.0050081187,
-0.07890399,
-0.004419543,
0.026663529,
-0.07550488,
0.05318775,
0.029756164,
-0.049398575,
0.014418366,
-0.06335723,
0.0019607586,
0.0033816989,
-0.010733672,
-0.011820274,
-0.020729013,
0.023598757,
0.0037021071,
0.019712066,
-0.030146226,
-0.017692102,
0.0039424133,
-0.0031657717,
0.05951233,
-0.037418097,
-0.012837222,
-0.049175683,
0.0072300793,
0.050847378,
0.030842766,
0.026106298,
0.0046981582,
-0.0027582962,
0.022651462,
-0.015296006,
-0.047253236,
0.05123744,
0.033823956,
0.036080744,
0.04042715,
0.01554676,
-0.020450398,
0.025744097,
0.012252129,
-0.0069410154,
0.011715793,
-0.016368676,
-0.0012450642,
-0.0014609915,
-0.0036986244,
0.029366102,
-0.06045962,
0.04978864,
-0.008351508,
-0.0035035934,
-0.017817479,
-0.04098438,
-0.016312953,
-0.012398402,
-0.020366812,
0.05639183,
0.017622447,
0.009389351,
-0.03109352,
0.0138681,
0.0056071426,
0.0013573812,
-0.043213308,
0.03708376,
0.035077725,
0.037863884,
0.014961667,
-0.01766424,
-0.06976539,
0.040566456,
-0.04151375,
0.0063071647,
-0.0038936555,
-0.018820494,
0.02581375,
-0.021286245,
-0.0226236,
-0.009424179,
-0.04221029,
-0.010336645,
-0.00054330076,
-0.031734336,
-0.030146226,
-0.016312953,
-0.00081756315,
0.024782874,
-0.061184023,
-0.039814193,
-0.015518898,
0.009479902,
0.0509031,
0.0010213009,
0.048813485,
-0.023556963,
-0.060348175,
-0.028349156,
0.05424649,
-0.038253944,
0.005119565,
-0.038616147,
-0.031204967,
0.019642413,
0.053132027,
0.010531676,
-0.051683225,
0.04324117,
-0.023069385,
0.025312243,
-0.07015545,
-0.023459448,
-0.0013617346,
0.02332014,
-0.035829987,
0.053104166,
-0.020533983,
-0.018695118,
0.0222614,
0.03641508,
0.01840257,
0.047643296,
-0.026301328,
-0.025061488,
0.0047782604,
-0.013108872,
-0.019475242,
0.019517034,
0.005669831,
0.006045962,
0.0041792365,
0.039284825,
-0.05703265,
-0.045860156,
0.007223114,
-0.013902927,
0.043965567,
-0.050624486,
0.02841881,
-0.018012509,
0.0116670355,
-0.025660513,
0.03390754,
-0.029421825,
0.017594585,
-0.00015813622,
-0.077065125,
0.04485714,
-0.03836539,
-0.0012302628,
-0.00089766516,
-0.015532829,
0.03231943,
-0.044494938,
0.02437888,
0.036331497,
-0.0012920806,
0.0008719803,
-0.024309225,
0.054218628,
0.021940991,
0.009549555,
-0.032960247,
-0.0047469162,
-0.017873202,
0.0002313817,
-0.036136467,
-0.042711798,
0.011687932,
0.0016055234,
-0.005004636,
-0.013812377,
0.024476396,
0.009730656,
-0.018611534,
-0.05569529,
0.040594317,
-0.0058578965,
-0.017747825,
0.023111178,
0.05157178,
0.019503104,
0.028195916,
-0.003467025,
-0.03839325,
-0.019544896,
0.06814942,
-0.009041082,
-0.03229157,
0.011151596,
0.042377457,
-0.012614329,
-0.041458026,
-0.061908424,
0.015282075,
-0.015644275,
-0.007787311,
-0.0054643517,
-0.020589706,
-0.024699287,
0.040789347,
0.038755454,
-0.03337817,
0.0059310333,
-0.027847646,
-0.00095338834,
-0.05460869,
-0.0043638195,
0.05594605,
0.01659157,
-0.022651462,
-0.03301597,
-0.0011527728,
-0.037167344,
-0.019182695,
0.03231943,
-0.029839749,
-0.0025145074,
0.040371425,
0.0015794032,
0.043046135,
0.0013321317,
0.02437888,
0.00534594,
0.006484782,
-0.040204257,
-0.03457622,
0.026231674,
-0.023947025,
0.02772227,
-0.023027593,
-0.0011397126,
0.0399535,
0.03527276,
-0.02157879,
-0.0801299,
0.03022981,
-0.020547913,
-0.041095827,
0.01572786,
0.021133006,
0.0039737574,
0.033823956,
-0.0011823757,
-0.048256252,
-0.012663087,
0.0049593607,
0.013192457,
-0.024323156,
-0.031121382,
-0.016577639,
-0.050234422,
-0.03201295,
-0.050401594,
-0.012607364,
0.025326174,
0.011026219,
-0.013659138,
-0.007933584,
-0.022498224,
0.019405589,
0.008901774,
0.048813485,
-0.003921517,
0.008045031,
-0.0065265745,
-0.007843034,
-0.0058578965,
0.030118365,
0.01659157,
-0.025381897,
0.009856033,
0.014975598,
-0.024796804,
-0.0035471271,
0.008866947,
0.037362374,
0.029644718,
-0.014237266,
-0.025953058,
0.022721115,
-0.044467077,
-0.0057673464,
-0.026217744,
-0.024476396,
-0.012057098,
0.045080032,
0.013707896,
0.02669139,
0.009835137,
0.0053946977,
-0.0090480475,
0.022916147,
0.020213574,
0.0007008928,
0.01466912,
-0.012203371,
0.010051064,
-0.025117211,
0.008511712,
0.050819516,
-0.05020656,
0.02155093,
-0.00019143951,
0.013638242,
0.0056071426,
0.0013652173,
0.027666546,
0.021968853,
-0.018012509,
0.006394232,
0.027694408,
-0.03518917,
-0.021300176,
0.0024692323,
-0.05600177,
-0.02315297,
0.059233714,
-0.009661002,
-0.0018649843,
0.031762198,
-0.047559712,
0.017608516,
0.025660513,
-0.035969295,
0.034186155,
-0.007292768,
0.035356343,
-0.0049698087,
-0.041430164,
-0.05349423,
-0.023292279,
0.021286245,
-0.045637265,
-0.00936149,
-0.0007844775,
0.023710202,
0.019266281,
-0.009897825,
-0.0010099822,
-0.0061260643,
-0.011889928,
0.014432297,
-0.024406742,
0.027262554,
-0.04310186,
0.016494054,
-0.025562998,
0.015922891,
-0.030424843,
0.039647024,
0.009786379,
0.0023995782,
0.022442501,
0.028000886,
-0.000038418504,
-0.025159003,
0.015783584,
0.024086334,
0.010838154,
0.006380301,
0.007933584,
-0.009055013,
0.051265303,
0.0060564103,
0.014070096,
-0.0020722048,
0.038588285,
-0.008045031,
0.01175062,
-0.022707185,
0.033823956,
0.0026712287,
0.021425553,
0.03747382,
-0.04859059,
-0.020993698,
-0.019670274,
0.011214285,
0.025702305,
-0.008734604,
0.010921738,
-0.040594317,
-0.024490327,
0.009661002,
-0.0073415255,
-0.04505217,
0.02775013,
0.009828172,
0.03546779,
0.01979565,
0.033796094,
0.032403015,
-0.014822359,
0.016842324,
-0.020951906,
0.022651462,
-0.0010038875,
0.059790943,
-0.01335266,
0.03496628,
-0.045135755,
-0.020937975,
-0.011910824,
-0.015658207,
0.007975376,
0.0077246223,
0.037418097,
-0.044885002,
0.009250044,
0.00406779,
-0.022442501,
-0.06842803,
0.039702747,
-0.05424649,
0.0025841612,
0.017246317,
-0.018291125,
-0.05249121,
0.047838327,
-0.005854414,
0.020157851,
0.021857407,
0.05745057,
0.019948889,
0.038811177,
0.08430913,
-0.035439927,
0.0012111079,
-0.002012999,
-0.026050575,
0.0026555567,
0.016312953,
-0.010364506,
-0.0109287035,
-0.05210115,
-0.05845359,
-0.0014749223,
-0.002742624,
-0.0011327473,
-0.062075593,
0.04028784,
0.029561134,
-0.049008515,
0.0033764748,
0.10871588,
0.020074267,
-0.014279058,
0.0035262308,
-0.008511712,
-0.03956344,
-0.024295295,
-0.026120229,
0.013046184,
0.01554676,
-0.041764505,
-0.011994409,
-0.026872491,
0.033461753,
0.027527237,
-0.010427196,
0.01925235,
0.027680477,
0.012426264,
0.047364682,
-0.028000886,
-0.031344276,
0.00026773234,
0.033991124,
0.039619163,
0.012844187,
0.09422785,
0.054441523,
-0.019725997,
-0.0072300793,
0.00009501233,
0.023278348,
-0.02933824,
0.003352096,
0.0022358915,
-0.0008245286,
-0.028028747,
-0.054887306,
-0.049900085,
-0.015393522,
-0.01096353,
-0.03903407,
-0.0057534156,
-0.009528659,
-0.056308247,
-0.045358647,
0.0024448533,
0.0342976,
-0.027262554,
-0.031845782,
0.040037088,
-0.065474704,
0.2281306,
0.01625723,
0.029616857,
-0.034436908,
0.029393964,
0.06536326,
0.0064882645,
0.018305056,
-0.0061922357,
-0.03251446,
0.0007535686,
-0.044996448,
0.017469209,
-0.025075419,
0.011249112,
0.043993432,
-0.034214016,
-0.030898489,
0.021871338,
-0.057116233,
-0.07478047,
0.03992564,
0.008964462,
0.0618527,
0.04296255,
0.0055061444,
-0.020882253,
-0.029198933,
-0.03622005,
-0.055026613,
0.041625198,
0.016145784,
0.017998578,
-0.002993378,
-0.013673069,
0.043547645,
0.012544675,
-0.018848358,
-0.026106298,
-0.030090503,
0.043018274,
-0.03179006,
0.031316414,
0.013025288,
-0.009124666,
-0.021871338,
-0.006669365,
0.03371251,
-0.020701151,
-0.037613127,
0.050457317,
-0.034520496,
0.048311975,
-0.039842054,
-0.0695425,
0.0013060115,
-0.043185443,
-0.06045962,
-0.026566014,
0.014292989,
0.042321734,
0.016898047,
-0.04895279,
0.011903859,
-0.0055479365,
0.0037996226,
-0.044885002,
0.03229157,
0.02933824,
0.032040812,
-0.040399287,
-0.0026851594,
-0.024657495,
-0.04290683,
0.023919163,
0.020756874,
-0.02578589,
0.017873202,
0.01943345,
-0.044801418,
0.000836718,
0.035607096,
0.010698846,
-0.05524951,
0.042405322,
0.050290145,
-0.034214016,
-0.0016238076,
0.0034060779,
0.020074267,
0.0388669,
0.067257844,
0.0045727813,
0.023180831,
0.0045275064
] | Add the callback to fit, and 🤗 Transformers will push the trained model to the Hub:
model.fit(tf_train_dataset, validation_data=tf_validation_dataset, epochs=3, callbacks=push_to_hub_callback)
Use the push_to_hub function
You can also call push_to_hub directly on your model to upload it to the Hub.
Specify your model name in push_to_hub:
pt_model.push_to_hub("my-awesome-model") |
[
-0.014890342,
0.035165075,
-0.01937271,
-0.01849844,
-0.032445125,
-0.029919457,
-0.01983066,
0.007923938,
0.0019740458,
0.054593295,
0.0029419875,
-0.00585622,
0.019344956,
-0.034054894,
-0.012579772,
0.024687715,
-0.0039029904,
-0.050430104,
-0.0017710903,
0.0055058184,
0.032278597,
-0.0031050458,
-0.07754635,
-0.009839005,
0.015709102,
0.013086293,
0.030363532,
-0.017610293,
0.088759206,
0.033277765,
-0.013918932,
-0.020233102,
-0.00976268,
0.002759848,
-0.024784857,
-0.03844012,
0.02914233,
0.0019306793,
-0.026117077,
-0.05414922,
0.02661666,
0.008263932,
-0.0009809516,
-0.041909445,
-0.06877589,
-0.017416012,
0.0097904345,
-0.05117948,
-0.04274208,
-0.042825345,
0.0008924838,
0.0093533,
-0.016680514,
-0.012905888,
-0.0013990053,
0.0032386146,
-0.021898378,
0.024063237,
0.012593649,
0.03247288,
0.051318254,
0.02081595,
-0.0056862235,
-0.06583391,
0.02471547,
0.041271087,
0.0041250275,
-0.03549813,
-0.024937507,
0.0076880236,
-0.034304682,
0.010088797,
0.007965569,
-0.03885644,
-0.023466513,
0.01187203,
-0.0072855824,
0.017443765,
0.02116288,
0.016014403,
-0.015029116,
-0.01910904,
-0.055925515,
0.012996091,
-0.044740412,
-0.063835576,
0.06627798,
-0.039911114,
-0.0084929075,
-0.038551137,
-0.014210355,
0.00703926,
0.0062031527,
0.036191996,
0.008763514,
0.018068245,
-0.011865091,
0.046405688,
0.023952218,
-0.0062309075,
0.03397163,
0.057563037,
-0.010373281,
0.06427965,
-0.046405688,
0.011157349,
0.025978304,
0.019497605,
-0.012121821,
-0.06749918,
0.010928373,
0.023355495,
0.0015230336,
0.0049195024,
-0.051817834,
0.045656316,
-0.013863422,
0.039855603,
-0.03236186,
-0.013447103,
0.024909751,
-0.022800403,
0.0077643488,
0.0193172,
0.004697466,
-0.045045715,
0.017152341,
-0.015903385,
-0.05625857,
-0.0043852264,
-0.026422378,
0.019705765,
-0.018928636,
0.06583391,
-0.01618093,
-0.005328883,
0.029364366,
0.04635018,
0.012295287,
-0.05045786,
0.002034759,
-0.0056341835,
0.0026297483,
0.09286689,
0.008402705,
0.029308856,
-0.007646392,
0.007459048,
-0.055203896,
0.028587237,
-0.020677175,
0.025187299,
-0.0061233584,
0.01967801,
0.009075753,
-0.034387946,
0.00096360495,
0.0033184092,
0.0120524345,
0.021731852,
0.028587237,
0.0325839,
-0.040466204,
0.030641077,
-0.017332748,
0.036525052,
-0.026755434,
-0.03211207,
0.017762944,
-0.013322207,
0.03782952,
0.008139036,
0.012552017,
0.020718807,
0.0509852,
0.040882524,
0.012753238,
-0.041881688,
0.008256993,
0.031251676,
0.0045933863,
-0.004742567,
0.007514558,
0.041881688,
-0.011684686,
0.02502077,
0.016930304,
-0.01756866,
-0.013232005,
-0.013030784,
-0.015750734,
0.03694137,
-0.00436788,
0.051012952,
-0.031362697,
0.05548144,
-0.052289665,
-0.015306661,
0.0061615207,
-0.07116279,
0.0012836502,
0.07016362,
0.013766281,
0.0004713945,
-0.031418204,
-0.0036427912,
0.022800403,
0.06022748,
-0.02091309,
-0.030890869,
0.04374125,
0.031917788,
-0.025478723,
0.02404936,
0.02688033,
-0.0015282376,
0.027477052,
-0.0037017695,
0.022286942,
0.04471266,
0.01566747,
-0.009492073,
0.032639407,
0.0154454345,
-0.011747134,
-0.040493958,
0.014557287,
0.045351014,
-0.0007966437,
0.025534231,
0.0027650518,
0.03705239,
-0.029947212,
0.031779017,
0.0029315795,
-0.023244476,
0.021468183,
0.02317509,
-0.025645249,
0.013016907,
-0.0021006763,
0.01356506,
0.050485615,
0.02502077,
0.020469017,
0.017110711,
0.027143998,
0.0012810482,
-0.039078474,
-0.0108589865,
-0.023716304,
0.05548144,
-0.017443765,
-0.028032145,
-0.019261692,
-0.020802071,
0.018179262,
0.013662201,
-0.017901717,
-0.020829827,
-0.03247288,
0.032639407,
0.0007224869,
-0.04623916,
-0.019622501,
0.070108116,
-0.015154011,
0.031667996,
0.017943349,
-0.004846647,
-0.05745202,
-0.06777673,
-0.06805427,
-0.009922269,
-0.02085758,
-0.03760748,
0.01665276,
-0.035997715,
0.021454304,
-0.011504281,
-0.012246717,
-0.0077782264,
-0.015861753,
0.06644451,
0.019247815,
0.0054294933,
-0.034970794,
0.039522547,
-0.026061568,
0.04510122,
0.012954459,
-0.025201175,
-0.020982476,
0.0028188264,
0.0006500647,
0.005401739,
0.0026401563,
-0.020149838,
-0.035470378,
-0.025867285,
0.004152782,
-0.023494268,
-0.0008538876,
-0.0087426985,
-0.029059066,
0.021426551,
0.06489025,
-0.01402995,
0.033388782,
0.05004154,
-0.0334998,
0.024993015,
-0.0019965963,
0.04748812,
-0.030530058,
0.059283823,
0.023910588,
0.018012734,
0.011157349,
-0.034721002,
0.001343496,
-0.022522857,
-0.021967765,
-0.04371349,
-0.047571383,
0.048931357,
-0.03785727,
-0.07976671,
0.022647753,
-0.001477065,
-0.05728549,
0.007930877,
-0.04140986,
0.0016062974,
0.04412981,
0.030585568,
-0.015861753,
0.026130954,
-0.011962232,
0.034138158,
0.012926704,
-0.04338044,
0.015847877,
0.0120524345,
0.012357735,
0.015223397,
0.06322498,
-0.050596632,
0.019566992,
0.0042672697,
0.006355803,
-0.0040313555,
-0.0098112505,
0.012225901,
0.021079618,
0.02450731,
-0.040521715,
0.009124325,
0.035886697,
0.01505687,
0.016278071,
0.042880856,
0.03474876,
0.0209686,
-0.020344121,
-0.012468753,
0.021953888,
-0.013911992,
0.02116288,
-0.021079618,
0.013835668,
0.0030807604,
-0.009950024,
0.0032871852,
-0.00837495,
-0.006536208,
0.036053225,
-0.008395766,
0.04918115,
-0.024285274,
-0.005818058,
0.03674709,
0.013197312,
0.016902551,
0.025728513,
0.008673312,
-0.029114574,
0.05867322,
-0.029253347,
0.028892538,
0.021246145,
0.0131209865,
-0.02214817,
-0.00858311,
-0.057063457,
-0.03474876,
0.047210574,
0.018095998,
0.02450731,
-0.014321373,
0.04918115,
-0.065389834,
0.031307187,
0.04152088,
0.022689385,
-0.071662374,
-0.037135653,
0.037524216,
0.006227438,
0.010130429,
-0.020205349,
0.042991873,
-0.06161521,
0.0209686,
0.03633077,
-0.010567564,
-0.07865653,
-0.01623644,
0.0075978213,
0.0029211715,
0.018484563,
-0.012135698,
-0.009478196,
0.01844293,
0.036247507,
-0.023369372,
0.010317772,
-0.08037732,
-0.011289183,
0.01823477,
-0.0006201418,
-0.015098502,
-0.008173729,
-0.0096586,
-0.07893408,
0.061670717,
0.0054850024,
0.027823985,
-0.013384655,
-0.04371349,
0.004131966,
0.016125422,
0.0008647292,
0.01665276,
-0.00005016969,
-0.0010451342,
0.0044580824,
-0.00056810194,
0.011476527,
0.032250844,
0.030363532,
-0.046822008,
0.04218699,
-0.042298008,
-0.008825962,
-0.02266163,
0.0020538403,
-0.01922006,
0.04424083,
-0.0023678143,
-0.012489569,
-0.0012376816,
0.03699688,
-0.008645558,
-0.031890035,
0.018401299,
0.012635281,
-0.01366914,
0.007472926,
0.023313863,
-0.004943788,
0.00878433,
0.0076810853,
-0.018775987,
0.036663827,
0.0077712876,
0.02980844,
0.0374132,
0.0055474504,
-0.005325414,
-0.017638048,
0.01500136,
0.02028861,
-0.011247551,
-0.019206183,
-0.0109422505,
-0.02178736,
-0.0036080978,
-0.026713802,
0.021815114,
0.0071259933,
-0.027671335,
0.008236177,
-0.01891476,
-0.07332765,
-0.030835358,
-0.0277546,
0.015459311,
0.0057937726,
0.0041042115,
0.0065743704,
-0.0235359,
-0.030224757,
0.014321373,
-0.030946378,
-0.027532563,
-0.056147553,
-0.03963357,
-0.008381889,
-0.003443305,
-0.054399014,
0.02081595,
-0.011594484,
0.001068552,
0.042825345,
0.006501515,
0.03572017,
-0.04984726,
-0.030946378,
0.05498186,
-0.028184796,
-0.04965298,
-0.018789863,
0.044102058,
-0.016333582,
-0.017402133,
0.02055228,
-0.04424083,
-0.037968293,
-0.05328883,
0.049347676,
-0.03621975,
0.021468183,
-0.046572216,
-0.023771813,
0.013537305,
0.03782952,
0.02039963,
-0.011795704,
0.01469606,
-0.034415703,
0.022731015,
-0.015889509,
-0.023161212,
-0.0133915935,
-0.02039963,
0.0017207852,
0.037774008,
0.009256159,
0.009103509,
-0.014071582,
0.053510867,
0.012669974,
0.04512898,
-0.05201212,
-0.05800711,
0.019247815,
-0.023952218,
0.013412409,
0.0011188573,
-0.04235352,
0.023077948,
-0.038467873,
0.05353862,
-0.013363839,
-0.01284344,
-0.019719642,
-0.06239234,
0.018998023,
-0.027032979,
0.0153621705,
0.01171244,
0.013814852,
0.017304992,
0.028254181,
-0.013981379,
-0.007979447,
-0.06433516,
-0.051623553,
0.029614156,
-0.018692723,
-0.011323877,
-0.01053287,
0.02049677,
0.060505025,
-0.03960581,
0.053066794,
0.052289665,
0.007972509,
0.0076325145,
0.0040521715,
0.013315269,
0.005384392,
0.0061233584,
0.0004904758,
-0.021856746,
-0.03844012,
-0.039022967,
-0.059672385,
-0.041187823,
-0.023979973,
0.010463484,
0.055037368,
-0.048320755,
0.018109875,
-0.044462867,
-0.020538403,
-0.037080143,
0.06477924,
-0.027171751,
0.022106538,
0.05722998,
-0.004836239,
-0.014203416,
0.011636116,
0.0028240304,
-0.05298353,
-0.035775676,
0.05376066,
-0.010088797,
-0.038356856,
0.056952436,
-0.0068727327,
-0.0011899784,
-0.04876483,
0.008590048,
-0.0026835229,
0.004392165,
-0.011892846,
-0.028379077,
-0.029419875,
-0.0120524345,
-0.035165075,
0.018456807,
-0.044573884,
0.017693557,
0.03646954,
-0.009089631,
-0.017027447,
0.0062933555,
0.028864782,
0.017873961,
0.034193665,
-0.016777655,
0.0005876169,
-0.026394624,
-0.006792938,
0.04476817,
-0.024548942,
-0.026172586,
0.042409025,
0.026450133,
0.04449062,
-0.023757936,
0.016944183,
-0.004242984,
-0.030169249,
-0.012545079,
-0.047404855,
0.019247815,
-0.018220894,
0.01922006,
0.019539237,
-0.01202468,
0.04140986,
0.019622501,
-0.028254181,
-0.05237293,
0.0062968247,
-0.04418532,
-0.013856484,
-0.001212529,
-0.02538158,
0.01813763,
0.008624742,
0.013509551,
-0.032556143,
-0.019913925,
0.03560915,
-0.012649158,
-0.05376066,
-0.039161738,
0.002482302,
-0.021967765,
-0.014807078,
0.00971411,
-0.030224757,
-0.013058539,
-0.014474023,
-0.0035768738,
0.034804266,
-0.0022897543,
0.045656316,
-0.01505687,
0.024576697,
-0.00986676,
-0.03216758,
-0.07205094,
0.0006370548,
0.0044788984,
0.030169249,
0.021842869,
-0.0008230973,
-0.0033045318,
-0.0033773878,
-0.014363005,
-0.0011448772,
0.012447937,
0.023522023,
-0.020538403,
-0.022384085,
0.0027199506,
0.023730181,
-0.04279759,
-0.03469325,
0.01623644,
-0.010366343,
-0.05056888,
0.016874796,
0.045961615,
0.049569715,
0.059561368,
0.023008563,
0.00863168,
0.007889245,
0.01684704,
0.033166744,
-0.0067408984,
0.003226472,
-0.00037512076,
-0.010456545,
0.0029732115,
-0.004635018,
-0.019344956,
0.007389662,
-0.016569495,
-0.0020538403,
-0.029947212,
0.04973624,
0.02435466,
0.06100461,
0.022203678,
0.022175925,
-0.005745202,
0.00042022197,
-0.04973624,
-0.0209686,
-0.04665548,
0.0077643488,
0.008562294,
-0.05600878,
0.027588071,
-0.009700232,
-0.009707171,
0.00070036994,
0.06583391,
0.01654174,
-0.057563037,
0.036663827,
0.040521715,
0.038967457,
-0.034360193,
-0.012309165,
0.0022498572,
-0.00045881822,
-0.07471538,
-0.036774844,
-0.0055682664,
0.04804321,
-0.029503139,
-0.03535936,
-0.06416863,
0.016375214,
0.039383776,
0.02435466,
-0.04629467,
-0.001728591,
-0.06738816,
0.022953054,
-0.07976671,
-0.036858108,
0.009276975,
0.034221422,
0.009013306,
-0.0010433994,
-0.014376882,
0.011927539,
0.031140659,
-0.036525052,
0.015195643,
0.018734355,
0.01397444,
0.0016557353,
0.028018268,
0.0012324776,
0.029974967,
0.015098502,
0.032667164,
-0.0061407047,
0.028476218,
0.014349127,
-0.030752094,
0.063724555,
0.04260331,
-0.023299986,
-0.03807931,
0.012198146,
0.0022672038,
0.030224757,
-0.028864782,
-0.0030668832,
-0.016028281,
-0.011365508,
0.0017615497,
-0.02085758,
-0.014050766,
0.0066611036,
-0.04454613,
-0.03735769,
-0.009256159,
0.012739361,
0.025395459,
-0.0061441744,
-0.01099776,
0.0003185274,
0.038190328,
0.031362697,
0.011053269,
0.030446794,
0.015653593,
0.0054815332,
0.013023846,
-0.006432128,
0.03549813,
-0.030280268,
0.011316937,
-0.02019147,
-0.028531728,
0.022689385,
-0.021135127,
-0.030946378,
0.010442668,
-0.027810108,
-0.04024417,
-0.024701593,
0.045489788,
-0.036774844,
0.029836193,
0.064668216,
-0.024229765,
-0.017846206,
0.029281102,
-0.066055946,
0.020205349,
0.010768784,
0.016902551,
-0.004121558,
0.081820555,
0.027102366,
0.021135127,
0.026894206,
0.0049507264,
-0.029308856,
-0.015806245,
0.008076589,
-0.019303324,
0.0040833955,
-0.0023973035,
-0.052705985,
-0.01505687,
0.034138158,
-0.05045786,
-0.047876682,
0.019622501,
-0.00025868154,
-0.053039037,
-0.01865109,
0.07577006,
0.0119691705,
0.022009397,
-0.02399385,
-0.01762417,
-0.021717973,
0.010005533,
-0.03247288,
0.013148741,
-0.017610293,
-0.054787576,
-0.05323332,
-0.054287996,
-0.011608361,
0.0341104,
-0.04865381,
-0.034387946,
0.049042378,
0.0364973,
0.024104869,
0.04374125,
0.009228404,
-0.0023105703,
0.018095998,
0.042464536,
-0.023619164,
0.056758154,
0.051262744,
0.004978481,
-0.0030079046,
0.016583372,
0.00976268,
-0.017513152,
-0.003771156,
-0.0004852718,
0.020316366,
-0.03608098,
-0.0062309075,
0.015292784,
0.031140659,
-0.020829827,
-0.03144596,
-0.035331603,
0.00945738,
-0.03524834,
0.00024740622,
-0.04449062,
-0.00012001696,
0.019386588,
0.014918096,
0.021190636,
-0.030890869,
0.22658855,
0.06083808,
0.058340166,
0.00441992,
-0.013752404,
0.041742917,
0.045434278,
-0.037996046,
0.0038474812,
-0.026144832,
0.001628848,
-0.023757936,
0.043047383,
-0.0039827847,
0.030502304,
0.03674709,
-0.037524216,
-0.006279478,
0.012739361,
-0.05867322,
-0.00375034,
0.000817026,
-0.025756268,
0.0057417327,
-0.003401673,
0.011309999,
-0.012725484,
-0.004756444,
0.0075770053,
-0.015639717,
0.021981642,
0.0086802505,
0.030030476,
-0.01792947,
0.00014386856,
0.054621052,
-0.014779324,
-0.07477089,
0.045351014,
-0.022189802,
0.0012610996,
-0.012107944,
-0.028476218,
0.002660972,
-0.0045656315,
0.065944925,
0.03585894,
0.02055228,
0.007958631,
-0.10169285,
0.03535936,
-0.038329102,
0.022536734,
-0.017027447,
-0.0627809,
-0.01716622,
-0.034027137,
-0.038662154,
0.028503973,
0.042769838,
0.030280268,
0.010782662,
-0.016513987,
-0.007958631,
0.002595055,
-0.0015915527,
0.009568398,
0.019872293,
-0.017998857,
0.027782353,
0.024881998,
-0.01285038,
-0.0038474812,
0.039439283,
0.016097667,
0.047571383,
0.009318607,
0.0071468093,
0.0419372,
-0.024451802,
-0.019636378,
-0.035775676,
-0.037385445,
-0.037746254,
0.013287514,
0.02975293,
-0.05606429,
0.0028153572,
-0.038606647,
0.016874796,
0.0045274687,
0.03238962,
0.006522331,
-0.037690744,
0.017818453
] | The majority of the optimizations described here also apply to multi-GPU setups!
FlashAttention-2
FlashAttention-2 is experimental and may change considerably in future versions.
FlashAttention-2 is a faster and more efficient implementation of the standard attention mechanism that can significantly speedup inference by:
additionally parallelizing the attention computation over sequence length
partitioning the work between GPU threads to reduce communication and shared memory reads/writes between them |
[
0.006421833,
0.03563803,
-0.025505649,
-0.010894056,
-0.018364066,
0.0032895298,
-0.029628478,
0.015596879,
0.04044567,
0.062219806,
-0.029460771,
0.025323965,
0.008811677,
-0.030746534,
-0.0026745992,
0.08256842,
0.008070965,
-0.027588027,
-0.0008699872,
-0.002117318,
0.052408867,
-0.014450871,
-0.09196009,
-0.045784384,
0.025785161,
0.018978998,
0.014604604,
-0.0275461,
0.07792849,
0.02816103,
-0.013689196,
-0.037538722,
0.043799836,
-0.015303389,
-0.04284949,
-0.05232501,
-0.0049159518,
0.0022151482,
-0.0014857914,
-0.06440002,
0.024457471,
0.0085112,
0.02776971,
-0.048859037,
-0.04265383,
-0.018587679,
-0.020027176,
-0.020544276,
-0.026917193,
-0.039663028,
-0.03323421,
0.009845879,
0.008609029,
-0.0255336,
-0.033737335,
-0.0210474,
-0.007344229,
0.008357467,
-0.026553825,
0.026945146,
0.0331224,
0.022430995,
-0.022584727,
-0.029460771,
0.003885244,
0.045309212,
0.008930471,
0.027755735,
-0.0064113513,
0.034212507,
0.0035882604,
0.052045498,
-0.011949222,
-0.059256956,
-0.044526573,
-0.004524632,
-0.025156256,
0.015960246,
0.031696882,
-0.0006551108,
-0.03700765,
-0.013360767,
-0.043212857,
0.02082379,
-0.047377616,
-0.031361464,
0.055986643,
-0.0320882,
-0.01896502,
-0.027266586,
-0.025771186,
0.047573276,
-0.017343841,
0.059256956,
-0.004266082,
0.021941844,
-0.0320882,
0.034016848,
-0.0018832253,
-0.006467254,
0.016714934,
0.021983773,
-0.0037070538,
0.04142397,
-0.032535423,
-0.019118754,
0.012885593,
0.017273962,
-0.0071380874,
-0.049166504,
-0.017749136,
0.019985247,
-0.027783686,
0.028873792,
0.0048914943,
0.000052545347,
0.0071485694,
0.07451842,
-0.04388369,
-0.0154850725,
0.0050696842,
-0.0073372414,
-0.013353779,
0.0019216584,
-0.007064715,
-0.039383516,
0.030187506,
0.007476998,
-0.030411119,
-0.0035533211,
0.012815715,
0.031696882,
0.04164758,
0.04273768,
-0.00906324,
-0.004437284,
0.057216506,
0.0430731,
0.024443494,
-0.020488372,
0.025896968,
0.009859854,
0.012207772,
0.07876703,
-0.0012141387,
0.0066594197,
0.002498156,
-0.012263674,
-0.069263555,
-0.0012560658,
0.031305563,
0.017986722,
0.005723048,
0.048579525,
0.025813114,
-0.00906324,
0.029125353,
0.026511898,
0.021913894,
0.0460639,
-0.014674483,
0.023283511,
-0.025799138,
0.029376917,
-0.00628557,
0.030578826,
0.00064419233,
-0.012012112,
0.03370938,
-0.011208509,
0.0018395511,
0.029069452,
0.0046364376,
0.025170231,
0.034408167,
0.020278737,
0.022500873,
-0.022850266,
-0.004440778,
0.010733336,
0.012109942,
0.03085834,
0.009112155,
0.042010948,
0.0029453782,
0.027671881,
0.025603479,
-0.035973445,
-0.003752475,
-0.044219106,
-0.021690283,
0.04108855,
-0.0059012384,
0.032311812,
-0.08581078,
0.022920145,
-0.04746147,
-0.020166932,
-0.021578478,
-0.0115509145,
-0.010908032,
0.100289606,
-0.0025243603,
-0.012333553,
-0.0045141503,
-0.014744361,
0.04969758,
0.017777087,
0.0083015645,
-0.024709033,
0.034855388,
0.0038188593,
-0.03124966,
0.004454754,
0.026414068,
-0.034687683,
0.015163632,
0.038712684,
0.012284638,
0.0510672,
0.014576653,
0.03647657,
0.039411467,
0.04687449,
-0.010880081,
-0.017371792,
0.009475523,
0.026232384,
-0.025519624,
0.027112853,
-0.015680732,
0.024345664,
-0.0110338135,
0.021480648,
0.041004695,
-0.022920145,
0.033932995,
0.032759037,
0.0016578671,
-0.0054889554,
0.0054610036,
0.01893707,
0.019244535,
0.010642494,
0.035693932,
-0.021857992,
-0.02361893,
-0.014003649,
-0.0118583795,
0.011068752,
-0.048998795,
0.07910245,
0.0079242205,
-0.024429519,
-0.007019294,
0.0012656741,
-0.0045875227,
-0.024695057,
-0.0280632,
0.021927869,
0.05531581,
-0.0068341163,
-0.018601654,
-0.015219535,
0.0085112,
0.049446017,
-0.015023875,
0.019216584,
0.015499049,
-0.05791529,
-0.044302963,
-0.059983693,
-0.07440662,
-0.0035306106,
-0.03686789,
-0.06110175,
0.000012010365,
-0.040110253,
0.031389415,
-0.044610426,
0.013780038,
-0.0042556,
-0.019607903,
0.043548275,
0.010188283,
0.043715984,
-0.014492799,
0.048411816,
-0.03781824,
0.03027136,
0.019258512,
0.012892581,
0.0028510422,
0.011355254,
0.0070507396,
0.024303738,
-0.010852129,
0.0035410924,
-0.03809775,
0.00133992,
-0.020278737,
-0.0014988936,
0.015415194,
0.017623354,
-0.009119143,
0.013891843,
0.010307077,
-0.035610076,
0.04628751,
0.037175357,
-0.030215459,
0.0070053185,
0.02644202,
0.043184906,
-0.01916068,
0.057859387,
0.044638377,
0.024750961,
-0.076027796,
-0.039830737,
0.00021236509,
0.0039481344,
0.003700066,
-0.024555301,
-0.038517024,
0.06328196,
-0.020781862,
-0.057971194,
0.0155549515,
0.03407275,
-0.026400093,
-0.011432121,
-0.04466633,
0.017148182,
0.070158005,
0.06523856,
-0.0073232655,
-0.002503397,
-0.0023968322,
0.061604876,
-0.012955472,
-0.0038957256,
-0.0010158585,
0.026358165,
0.002449241,
0.030187506,
0.004161264,
-0.038153656,
0.040110253,
0.026162505,
-0.026106603,
-0.045616675,
-0.0048914943,
0.00935673,
0.04047362,
0.05196164,
-0.01893707,
0.010642494,
0.0330665,
0.020474397,
0.0033943476,
0.04189914,
0.003280795,
-0.017763112,
0.002961101,
-0.008539151,
0.035805736,
0.039746884,
0.02124306,
-0.02793742,
0.032731082,
-0.01682674,
-0.040809035,
0.00059833453,
-0.013402694,
0.0064462903,
0.0190349,
0.011390193,
0.019621879,
-0.0082806,
-0.012361504,
0.015345316,
-0.01886719,
0.004818122,
0.014087503,
-0.054952443,
-0.010369968,
0.028678132,
-0.06959897,
0.001042063,
0.003462479,
-0.0114810355,
-0.0330665,
-0.024695057,
-0.010593579,
-0.019118754,
0.016155906,
0.021508599,
0.016169881,
-0.0015058814,
0.056182303,
0.018000698,
0.012005124,
0.012054039,
-0.020292712,
-0.049054697,
-0.021298964,
0.021229085,
-0.003188206,
-0.0057999147,
-0.017218059,
0.015848441,
-0.05587484,
0.054393414,
0.012759812,
0.0090073375,
-0.074742034,
-0.0077006095,
0.0036756084,
0.024150005,
-0.0054260646,
-0.039858688,
-0.036784034,
0.025296012,
0.035526223,
-0.014178345,
0.0031672425,
-0.05730036,
-0.047824837,
-0.0027759229,
-0.022612678,
0.020208858,
-0.02556155,
-0.0073651928,
-0.029740285,
0.05506425,
0.018769361,
0.034519974,
0.0036301874,
-0.053331263,
0.036308862,
0.019859467,
0.0070577273,
-0.0029244148,
0.01712023,
-0.035023097,
0.011446096,
0.010153344,
-0.025491672,
0.039020147,
0.029376917,
-0.03751077,
0.027042976,
-0.036504522,
-0.03781824,
-0.03689584,
-0.0070437514,
-0.026469972,
0.04570053,
0.0056461818,
0.012424395,
-0.011488023,
0.047796886,
-0.02364688,
-0.02085174,
0.0022238828,
0.009608292,
0.01682674,
0.034939244,
0.0035742847,
0.0060340073,
0.015694708,
-0.028678132,
-0.03063473,
-0.0036825964,
-0.027671881,
-0.018084552,
0.026847316,
-0.024233859,
0.00648123,
-0.038349316,
0.029321013,
0.0137171475,
-0.025477696,
-0.0023444232,
0.014604604,
-0.033597577,
-0.005764975,
-0.017413719,
-0.015275437,
0.02764393,
0.0068515856,
0.037985947,
-0.009182033,
-0.07781669,
-0.054365464,
-0.012969447,
0.005352692,
0.04245817,
0.0008634361,
0.0075189252,
-0.014073527,
-0.039020147,
0.011299351,
-0.029069452,
-0.00030768372,
-0.05548352,
-0.012787763,
-0.021005474,
0.023758685,
-0.034575876,
0.028929694,
-0.019524049,
-0.022752436,
0.031193757,
-0.041535772,
0.020264762,
-0.028761985,
-0.047181956,
0.053974144,
0.0106564695,
-0.029768236,
-0.022668581,
-0.013409682,
0.03261928,
-0.012459334,
0.028608253,
-0.008448309,
-0.05123491,
-0.021802088,
0.044834036,
-0.06540626,
-0.0001931485,
-0.04329671,
-0.023381341,
0.01286463,
0.039551225,
0.006082922,
-0.059201054,
0.029600527,
-0.019272488,
0.019454172,
-0.049501922,
-0.04947397,
-0.0124942735,
0.01773516,
-0.011089716,
0.043352615,
-0.004933421,
0.012081991,
-0.024555301,
0.037790287,
-0.016086027,
-0.00083723164,
-0.046008,
-0.07876703,
0.058642026,
-0.00083548465,
-0.031081952,
0.021312939,
-0.024261812,
0.049334213,
-0.032535423,
0.03644862,
-0.036923792,
-0.010013588,
-0.040557474,
-0.0480764,
0.01854575,
-0.008923483,
0.024359642,
0.015177608,
0.025687331,
0.008259637,
0.040222056,
-0.027015023,
-0.012836678,
-0.038824487,
-0.038628828,
0.03166893,
-0.029376917,
0.035386465,
-0.036001395,
0.0151077295,
0.030075701,
-0.012263674,
-0.010181296,
0.053862337,
-0.05109515,
0.037147403,
-0.022235336,
0.045141503,
0.04248612,
-0.011376218,
-0.0068480917,
0.028734034,
-0.034296364,
-0.00018506881,
-0.038572926,
-0.03085834,
-0.038572926,
0.058027096,
0.03888039,
-0.057020847,
-0.011634768,
-0.03566598,
-0.021969797,
-0.021508599,
0.060822237,
-0.018797314,
0.00545751,
0.070158005,
0.027420318,
-0.009838891,
0.058865637,
-0.0075608524,
-0.028049225,
0.006016538,
0.0420948,
-0.021382818,
-0.019510074,
0.03161303,
-0.014038588,
0.0019199115,
-0.05548352,
-0.02293412,
0.025016498,
-0.029516673,
0.030075701,
0.011613805,
-0.039439417,
-0.0021120773,
-0.017693233,
-0.004314997,
-0.008650957,
0.016938545,
-0.0046923403,
-0.012815715,
-0.016365541,
-0.01835009,
0.058082998,
0.0054784734,
0.0019251524,
-0.0119981365,
0.03141737,
-0.04326876,
0.0028423076,
0.039299663,
0.009782989,
0.035945494,
0.03826546,
-0.0065860474,
0.06378508,
0.02183004,
-0.008245662,
-0.004294033,
-0.029488722,
-0.022137504,
-0.0450856,
0.024513373,
-0.019579953,
0.024904693,
-0.0017190108,
0.007064715,
0.028077176,
0.022375092,
-0.023577001,
-0.043352615,
-0.008448309,
-0.007826391,
-0.02173221,
0.007868318,
0.0047028223,
0.04966963,
0.017343841,
-0.005324741,
-0.052045498,
-0.005530882,
0.017385768,
0.0012779029,
-0.024303738,
-0.047740985,
-0.029265111,
-0.035134904,
0.010335028,
-0.026162505,
-0.014618579,
0.031165805,
-0.0142132845,
0.016365541,
0.0032196513,
0.0042311423,
0.06322606,
-0.007428083,
0.018657556,
0.027224658,
-0.06831321,
-0.0860903,
-0.034855388,
-0.016281689,
0.062275708,
0.026567802,
-0.0147303855,
0.046790637,
-0.0016569936,
-0.011411157,
0.015610854,
0.019538024,
0.03027136,
-0.014981948,
-0.029628478,
-0.011334291,
0.03787414,
-0.02835669,
0.020166932,
0.009838891,
0.012759812,
-0.06378508,
0.031696882,
-0.016253736,
0.026288288,
0.055371713,
0.027490197,
-0.026847316,
0.008664932,
0.006984355,
0.026595753,
0.024723008,
0.014576653,
0.00018768925,
-0.0068061645,
0.011201521,
0.036504522,
0.00031205112,
-0.004849567,
0.004031989,
0.014101479,
-0.0076097674,
0.010349004,
0.0053806435,
0.028510423,
0.005055709,
0.021746185,
-0.0011556156,
0.012382468,
-0.04206685,
-0.032731082,
-0.056405917,
-0.010034551,
-0.00479017,
-0.0530797,
0.03720331,
-0.019090803,
-0.0061108735,
-0.02592492,
0.03189254,
0.0011163088,
-0.0025645406,
0.01513568,
-0.008364455,
0.025296012,
-0.06317015,
-0.011334291,
-0.010488761,
0.020907644,
-0.044806086,
-0.03345782,
0.029796187,
0.0640646,
-0.04108855,
-0.008811677,
-0.007840366,
-0.013304864,
-0.017581427,
0.016882643,
-0.047629178,
0.028342715,
-0.09626461,
0.029181257,
-0.023213634,
-0.020041151,
-0.01296246,
0.010195271,
-0.008224698,
-0.01396871,
0.0062191854,
0.027602002,
0.010698397,
-0.04528126,
-0.0028580301,
0.03024341,
0.0057754572,
-0.0064358087,
0.0027374898,
-0.0015382002,
0.006568578,
0.0003900093,
0.045924142,
-0.023577001,
0.03781824,
-0.009838891,
-0.014192321,
0.012075002,
0.031976394,
0.0035306106,
-0.034995146,
0.005534376,
0.007075197,
0.023479171,
0.008532164,
0.009769012,
-0.028286813,
0.0012761559,
-0.019915368,
0.0033594084,
0.017819015,
0.0050941417,
-0.052576575,
-0.058474317,
-0.014248224,
0.0056985905,
0.03644862,
0.010852129,
0.027588027,
0.0170224,
0.040948793,
0.02614853,
0.014856166,
0.0011975425,
-0.009776001,
0.014940021,
0.028985597,
-0.019999223,
-0.019314414,
-0.035526223,
-0.02744827,
0.0054435343,
-0.017483598,
0.015750611,
-0.054728832,
-0.071779184,
0.047154002,
-0.03787414,
-0.040753134,
-0.040501572,
0.03846112,
-0.026987072,
0.017623354,
0.016393494,
-0.052548625,
-0.0119981365,
0.02816103,
-0.050396364,
0.0022500872,
0.002681587,
0.020935595,
-0.05092744,
0.06305835,
-0.023171706,
0.012207772,
0.030578826,
-0.004528126,
-0.058530223,
-0.03765053,
0.002227377,
-0.014716409,
-0.00087610155,
0.005723048,
-0.062443417,
-0.005988586,
0.036169104,
-0.038153656,
-0.026749486,
-0.00023452968,
0.0150378505,
-0.03832136,
-0.020278737,
0.08374238,
-0.016896619,
-0.0007420222,
-0.022752436,
-0.038908344,
-0.043352615,
0.0054295585,
-0.021676308,
0.022165457,
-0.038908344,
-0.020809814,
-0.01682674,
-0.038013898,
0.014185333,
0.040529523,
-0.022011723,
0.02273846,
0.026637679,
0.049781434,
0.04667883,
0.042010948,
0.020907644,
-0.032535423,
0.00058741606,
0.023828564,
-0.009894794,
0.040781084,
0.020250786,
0.016882643,
0.021760162,
0.004992818,
0.019244535,
-0.05092744,
-0.018671531,
0.007120618,
0.03284289,
-0.03823751,
-0.012179821,
0.008979386,
0.022207383,
-0.0076866336,
-0.013207034,
-0.032367714,
0.012501261,
-0.05486859,
-0.019873442,
-0.047796886,
-0.042597927,
0.016183857,
-0.03647657,
0.047964595,
-0.03147327,
0.2284188,
0.050116852,
0.036197055,
0.02982414,
-0.013696183,
-0.006980861,
0.035749834,
-0.016197834,
0.029069452,
-0.058586124,
-0.027406342,
-0.038405217,
0.045980044,
0.015387243,
-0.012654995,
0.021871967,
-0.047936644,
-0.02264063,
0.031724833,
-0.08463682,
-0.044917893,
0.007728561,
-0.017134205,
0.047405567,
0.01036298,
0.0017233782,
-0.011991149,
-0.0036127178,
0.015443146,
-0.021354865,
-0.012815715,
0.0320323,
0.041144453,
-0.038405217,
-0.017665282,
0.053191505,
-0.017469622,
-0.052408867,
0.002449241,
0.012613067,
0.010013588,
0.010132381,
-0.029880041,
-0.006372918,
-0.022011723,
0.016700959,
0.05064793,
-0.000947727,
0.023856515,
-0.06781009,
0.009154082,
-0.041982997,
0.061660778,
-0.046958342,
-0.057356264,
0.009035288,
-0.03228386,
-0.014339066,
0.05551147,
0.026078653,
-0.016253736,
0.027406342,
-0.02825886,
-0.014122442,
-0.009755037,
0.0160441,
0.015443146,
0.04550487,
0.0041962033,
-0.023339415,
-0.0023287006,
-0.0154850725,
-0.013374743,
0.020376567,
0.016952522,
0.044330914,
0.027993321,
-0.005922202,
0.01299041,
-0.016840715,
-0.035162855,
-0.036979698,
-0.029069452,
-0.010740324,
0.026847316,
0.024750961,
-0.03303855,
-0.017162157,
0.00086605654,
0.029684382,
0.013297876,
0.03809775,
-0.0016080787,
-0.0032668193,
-0.007351217
] | FlashAttention-2 is currently supported for the following architectures:
* Bark
* Bart
* DistilBert
* Gemma
* GPTBigCode
* GPTNeo
* GPTNeoX
* Falcon
* Llama
* Llava
* VipLlava
* MBart
* Mistral
* Mixtral
* OPT
* Phi
* StableLm
* Starcoder2
* Qwen2
* Whisper
You can request to add FlashAttention-2 support for another model by opening a GitHub Issue or Pull Request.
Before you begin, make sure you have FlashAttention-2 installed. |
[
0.021045055,
0.04345049,
0.0023364502,
-0.022419037,
-0.019113319,
-0.0022395232,
0.010760594,
-0.0009913759,
0.016106881,
0.06388337,
0.00977432,
0.002375561,
0.0478037,
-0.017589694,
0.0042681876,
0.028731193,
0.051449515,
-0.052347366,
-0.05925809,
-0.019494224,
0.012386247,
0.015113805,
-0.08510528,
-0.027588475,
0.004434834,
0.025507098,
0.024622852,
-0.011685652,
0.079119615,
0.023629775,
-0.025398267,
0.037464824,
-0.013175266,
-0.027792534,
-0.02307202,
-0.03267629,
-0.0070467605,
-0.033220444,
-0.02149398,
-0.03838988,
0.043205623,
-0.035913993,
0.06981462,
-0.028649572,
-0.04072973,
-0.009944367,
0.03741041,
-0.024840511,
0.007944611,
-0.033438105,
0.02756127,
0.039450977,
-0.008332319,
-0.012413454,
-0.01157002,
-0.014229559,
-0.012780756,
-0.008284705,
-0.030880593,
0.008237092,
0.019725488,
-0.011195915,
0.017902581,
-0.007896997,
0.015209032,
0.050334007,
-0.047504418,
-0.02022883,
-0.0040369234,
0.0013391227,
-0.019507827,
-0.014324786,
0.021698037,
-0.016841486,
-0.012862379,
-0.02386104,
0.026391344,
-0.034091085,
-0.002979229,
0.0078017707,
0.030445272,
0.05610201,
0.0022871364,
0.0056115612,
-0.025711155,
0.0025098983,
0.047885325,
-0.01854196,
0.046225663,
-0.019671073,
-0.009046517,
0.0618156,
0.009645084,
0.05675499,
0.034988936,
0.03741041,
-0.009855943,
0.016732655,
-0.0017871973,
-0.007672535,
0.009699499,
0.08363607,
-0.010223244,
0.019031696,
0.007339242,
-0.016691845,
-0.00073332904,
-0.013134454,
0.025615927,
-0.034526408,
0.03145195,
0.0060264766,
-0.0319961,
-0.02357536,
-0.036703013,
0.0008740432,
0.013175266,
0.04257985,
-0.030635724,
-0.028431911,
0.036703013,
-0.005682981,
-0.0355875,
-0.01937179,
-0.052565027,
0.012345435,
0.022582283,
0.06801893,
0.0006848656,
0.02293598,
-0.010196037,
-0.029601837,
0.023942662,
0.03561471,
-0.0172496,
-0.01735843,
-0.008760838,
0.0012532487,
0.07590912,
-0.03460803,
0.015181825,
0.0072712232,
0.01814745,
0.043831397,
0.03011878,
0.04655215,
-0.021113075,
-0.041600376,
-0.022949586,
0.03493452,
0.009862744,
-0.018337902,
0.0052680657,
0.040185582,
-0.015372277,
0.04734117,
-0.03134312,
0.014351994,
0.01534507,
0.015984448,
-0.00977432,
0.06192443,
-0.014977767,
-0.020174414,
-0.023643378,
0.021140283,
-0.0172496,
0.0008366328,
-0.040403243,
-0.07150149,
0.01779375,
0.016583014,
-0.0049993913,
0.004237579,
0.027057929,
0.02016081,
0.024241945,
0.057299145,
0.020868206,
-0.0067474777,
-0.022867963,
0.034662444,
0.06573349,
0.037927352,
-0.030037157,
0.038444296,
-0.017372034,
0.013685408,
-0.021140283,
-0.017671317,
-0.011563217,
0.01052933,
-0.011916916,
0.03403667,
0.0028618963,
0.035070557,
-0.06801893,
-0.010787802,
0.016800676,
-0.0327035,
-0.04647053,
0.010706179,
0.0006457547,
-0.0005041903,
-0.008305111,
-0.0009947768,
-0.029057685,
0.01663743,
-0.0047885324,
-0.03841709,
0.06970579,
0.008495564,
-0.039233316,
-0.028431911,
0.02274553,
-0.04086577,
-0.015004975,
0.0037750504,
-0.040702526,
0.025343852,
-0.0062169298,
0.0025575117,
-0.0065400195,
0.042253356,
-0.025044568,
-0.006210128,
0.009638282,
0.040838562,
-0.017820958,
-0.0014283975,
-0.030091573,
0.0059924675,
0.011263934,
0.036621388,
0.058496278,
0.028921647,
0.062414166,
0.040348828,
-0.010502122,
0.034335952,
-0.0043838196,
0.009100933,
0.015331466,
0.013644597,
0.004747721,
-0.0021732047,
-0.011202717,
-0.018514752,
0.006584232,
-0.012257011,
-0.05052446,
0.034417577,
0.03123429,
-0.03863475,
-0.06350247,
-0.021902094,
0.052129705,
0.013780635,
-0.054796048,
-0.01394388,
0.019086111,
0.03795456,
-0.024677265,
0.01656941,
0.0013289198,
0.058441862,
-0.030145988,
0.016977524,
-0.014624069,
-0.0035029748,
0.014760107,
-0.02016081,
-0.07846663,
0.021208301,
-0.005699986,
0.0048599523,
0.018650789,
-0.019031696,
-0.03490731,
-0.057299145,
0.018201865,
-0.024622852,
-0.024636455,
0.031016631,
-0.011053075,
0.029901119,
-0.07857546,
0.03474407,
-0.071827985,
0.026241701,
0.0028720992,
0.014828126,
-0.00030991124,
-0.004176362,
0.026160078,
0.0036560174,
-0.015657958,
-0.01965747,
-0.010971453,
-0.02493574,
-0.032757916,
-0.018732412,
-0.012161784,
-0.015943637,
0.015072994,
-0.009815131,
0.0036458145,
-0.0020728768,
0.048075777,
0.015249843,
-0.019058904,
-0.002756467,
0.030173196,
0.02357536,
-0.04712351,
0.031016631,
0.08439788,
-0.022201378,
-0.016120486,
0.012488275,
-0.052347366,
-0.0132024735,
0.016446976,
-0.002594922,
-0.0035335831,
0.062196504,
0.01265152,
-0.047640454,
-0.02727559,
0.007862988,
-0.022446245,
0.0011010563,
-0.027506854,
0.021902094,
0.028159834,
0.017018335,
-0.031778444,
-0.046198454,
-0.012073359,
0.038852412,
0.022949586,
-0.018650789,
0.046905853,
0.044157885,
-0.058169786,
-0.014787314,
0.014882541,
-0.036703013,
-0.013835049,
-0.011488397,
0.02613287,
-0.01591643,
0.0031832857,
-0.00029566977,
-0.0011240127,
0.047096305,
-0.02328968,
-0.009889952,
-0.0051456317,
0.01534507,
0.020487301,
0.03939656,
-0.015399485,
-0.02285436,
-0.015481108,
-0.04840227,
0.025520701,
-0.021085868,
0.036322106,
-0.029629044,
0.040348828,
0.005523137,
-0.01969828,
0.034580823,
-0.007896997,
-0.017834563,
0.074494325,
0.0011741767,
0.036131654,
-0.0046456927,
-0.07139266,
0.019711886,
-0.0011087084,
0.022555076,
0.06045522,
0.0044994517,
-0.032621875,
-0.004305598,
-0.0110122645,
-0.014624069,
-0.0055197356,
-0.028812816,
-0.014243163,
-0.044293925,
-0.031615198,
-0.071719155,
0.028159834,
0.06546141,
0.06012873,
0.01110749,
0.04502853,
0.002892505,
-0.010855821,
0.03863475,
0.003928093,
0.019603055,
-0.077704825,
0.033982255,
-0.017412845,
-0.0025388065,
0.0010491919,
-0.01599805,
-0.006247538,
0.023371303,
0.022187773,
0.021357942,
-0.013821445,
-0.019956753,
-0.043504905,
-0.006060486,
-0.046524946,
-0.04366815,
-0.013277294,
0.0003079982,
0.03463524,
-0.034281537,
-0.001160573,
-0.03762807,
-0.016038863,
0.016419768,
-0.025888003,
-0.06404662,
-0.014066314,
0.0022259194,
-0.023112832,
0.045300603,
-0.0017974001,
0.019113319,
0.015834806,
-0.018405922,
0.029601837,
-0.0063155573,
-0.018786827,
-0.021698037,
-0.009257376,
-0.000862565,
0.070630856,
0.02979229,
0.0066794585,
-0.02278634,
0.0067644822,
0.010624556,
-0.033546936,
-0.010059999,
0.007862988,
0.037573654,
-0.0009250574,
-0.008094252,
0.0019215347,
0.012093765,
0.0010321873,
0.002353455,
0.030499686,
-0.01825628,
-0.0075909123,
0.0355875,
0.008754035,
0.010087207,
0.063230395,
0.00044254813,
-0.015521919,
0.030309234,
0.008468356,
0.01584841,
0.030336441,
-0.029574629,
0.023031209,
0.0065468214,
-0.020623337,
0.03281233,
-0.05308197,
0.07525614,
0.029520214,
0.007658931,
-0.010094008,
-0.056210842,
-0.014624069,
-0.005200047,
-0.03313882,
0.034662444,
0.015168221,
-0.036104444,
-0.033329275,
-0.021317132,
-0.019330978,
-0.00531908,
-0.04442996,
0.02109947,
0.013678606,
0.00690052,
-0.032649085,
0.010780999,
-0.03896124,
0.0006138708,
-0.011093887,
0.014120729,
-0.022201378,
0.013916672,
0.042933546,
0.021942906,
-0.06573349,
0.0011206118,
0.012018944,
-0.012304624,
0.024377983,
-0.00032266477,
0.015521919,
-0.054170273,
-0.027153155,
0.037301578,
-0.01027766,
-0.03874358,
-0.051939253,
-0.007516091,
0.039260525,
0.038797997,
0.016623825,
-0.023398511,
-0.029601837,
-0.042144526,
0.0391789,
-0.023194455,
-0.023330491,
-0.04481087,
-0.064645186,
-0.005706788,
0.015753184,
0.038471505,
-0.039532598,
0.004186565,
-0.0036254087,
-0.0020677755,
-0.02526223,
-0.024119511,
-0.018718809,
0.0018501148,
-0.00022658805,
0.050415628,
-0.026364136,
-0.012127775,
-0.027751721,
0.035560295,
0.025724757,
0.023425719,
0.006142109,
-0.025724757,
-0.0005458519,
-0.015902825,
-0.025738362,
0.046797022,
-0.03259467,
0.07699742,
-0.03338369,
-0.01433839,
-0.036703013,
-0.01344054,
-0.025030965,
-0.018460337,
0.040484864,
-0.04861993,
0.050442837,
-0.018705204,
-0.001089153,
-0.00761812,
0.036566973,
-0.03202331,
0.017630506,
-0.036131654,
-0.028812816,
0.0026289315,
-0.04715072,
-0.052918725,
-0.034553614,
-0.017671317,
0.009223366,
-0.04848389,
0.005880236,
0.07950052,
-0.041954074,
-0.022092547,
-0.032458633,
0.040294413,
0.005060608,
0.0011308147,
-0.0067950906,
0.014596862,
-0.017916186,
-0.020541716,
-0.007522893,
-0.033764593,
-0.02692189,
0.055040915,
0.035913993,
0.0019249356,
0.014692088,
-0.034553614,
-0.04546385,
0.0007673385,
0.05305476,
0.0017123765,
0.009651885,
0.02322166,
0.035641916,
0.031071045,
0.009862744,
-0.00009049706,
-0.03471686,
-0.03022761,
0.034281537,
0.04524619,
-0.01523624,
0.044185095,
0.065407,
-0.036458146,
-0.035750747,
-0.03395505,
0.020922622,
-0.038036183,
-0.0044416357,
0.022582283,
-0.017902581,
-0.035261013,
0.062958315,
0.03281233,
-0.05664616,
0.0052952734,
-0.0069345296,
-0.015535522,
-0.009658688,
-0.022038132,
0.049082458,
-0.0004370216,
-0.030254818,
-0.028295873,
0.013229681,
-0.047858115,
0.03335648,
0.029982742,
-0.041818034,
0.0024673864,
0.020283245,
0.0021017848,
0.04587196,
0.0045946785,
0.044402756,
0.006407383,
-0.040185582,
-0.03708392,
-0.027125947,
0.016514996,
-0.011080283,
0.0013034127,
-0.015739579,
-0.0046592965,
0.0499531,
0.04791253,
0.016514996,
-0.044103473,
0.0056727785,
-0.020446489,
0.034852896,
-0.0057169907,
-0.015304258,
-0.006023076,
0.012984813,
0.019398998,
-0.052456196,
-0.01692311,
0.05501371,
-0.009209762,
-0.016174901,
-0.04043045,
-0.007638525,
-0.047994155,
-0.045953587,
-0.03605003,
0.016610222,
0.030744554,
0.008502366,
-0.030200403,
-0.033764593,
-0.041137848,
0.062087677,
0.016528599,
0.034961727,
0.005771406,
0.009896753,
-0.010699377,
-0.040838562,
-0.045627095,
0.02620089,
0.009026111,
-0.021711642,
0.046606567,
0.020881811,
-0.021983717,
-0.029084893,
0.009679093,
0.04521898,
-0.03145195,
-0.03248584,
0.0109782545,
-0.0024826908,
-0.04826623,
0.011794481,
-0.039913505,
-0.032349803,
-0.025561512,
0.012481472,
-0.033682972,
0.013154861,
0.053027555,
-0.017548883,
-0.009073725,
0.0070671663,
0.009767517,
-0.01013482,
0.02307202,
0.016800676,
0.0005760353,
-0.035451464,
0.01882764,
0.025275832,
-0.03357414,
-0.01013482,
-0.0607273,
0.02145317,
-0.015154617,
-0.022759132,
-0.0016647632,
0.06976021,
0.020011168,
0.021004245,
-0.03313882,
-0.046035208,
-0.003392444,
-0.01948062,
-0.062523,
-0.034091085,
0.011039471,
-0.009604272,
0.0063087554,
-0.026500173,
0.012814766,
0.026241701,
0.053789366,
-0.04140992,
0.045327812,
0.013324908,
0.0018501148,
-0.0013076639,
-0.063339226,
-0.05887718,
0.012624312,
0.017453656,
-0.020868206,
0.0034995738,
0.02493574,
0.0664953,
0.036458146,
-0.0319961,
-0.019222148,
0.011808085,
0.0027615684,
-0.015222636,
-0.00571359,
0.03975026,
-0.030064365,
0.03860754,
-0.036131654,
0.028703988,
-0.03626769,
-0.0021732047,
0.0010253853,
0.019317375,
0.008039837,
0.013855455,
0.024037888,
-0.005142231,
0.04353211,
0.019535035,
0.020446489,
-0.032295387,
0.04402185,
0.014501635,
0.043015167,
0.017372034,
0.031506367,
0.005655774,
0.070249945,
0.002181707,
-0.016433373,
0.0104545085,
0.035777956,
0.021412358,
-0.019684678,
0.015018579,
-0.024677265,
0.0132024735,
0.014651277,
-0.011916916,
0.0247997,
-0.0085431775,
-0.012590303,
0.028840024,
-0.026663419,
0.052592233,
-0.038444296,
-0.037383202,
-0.0015856912,
0.020473696,
0.04244381,
-0.033519726,
0.019167732,
0.062849484,
-0.0037682485,
0.06981462,
0.007971819,
0.02239183,
-0.00003751669,
0.016215712,
-0.012746747,
-0.018773224,
0.005264665,
-0.044293925,
-0.049517777,
-0.009529452,
0.017222391,
-0.0006372523,
-0.019494224,
-0.0062169298,
-0.01290319,
-0.007175997,
-0.019058904,
-0.059203673,
0.02637774,
-0.07737833,
0.04056649,
0.03313882,
-0.0043260036,
-0.021942906,
0.036566973,
0.0075024874,
0.033900633,
-0.0059924675,
0.017956996,
0.057462387,
0.02037847,
0.07095734,
-0.018555563,
0.017372034,
0.02109947,
-0.03425433,
-0.0018977281,
0.04500132,
-0.0055469433,
-0.017290412,
-0.03686626,
-0.031288706,
-0.012501879,
-0.021045055,
-0.03134312,
-0.028105421,
0.005047004,
-0.010141622,
-0.02677225,
-0.034526408,
0.00046380406,
-0.008583988,
-0.0043124,
-0.0049721836,
-0.032240972,
-0.023208058,
-0.03237701,
-0.031397536,
0.013753427,
0.0035743946,
-0.0063767745,
-0.049681023,
-0.008713224,
-0.011277538,
0.013828248,
-0.031424742,
0.019181337,
0.0074548745,
-0.0058564297,
0.042171735,
-0.0017616901,
0.01692311,
0.0018093034,
0.041491546,
0.04949057,
0.021834075,
0.06094496,
0.068671905,
-0.018378714,
-0.03683905,
0.025860796,
0.004308999,
-0.016773468,
0.014868937,
-0.029629044,
-0.021902094,
0.0077541578,
-0.07101176,
-0.03697509,
0.049028043,
0.010284462,
0.01161083,
0.008529574,
-0.017195184,
-0.04064811,
-0.017984204,
-0.06584232,
-0.0036866257,
0.021970114,
-0.008080648,
0.048919212,
-0.05577552,
0.21374267,
0.017276807,
0.026853872,
0.032948367,
0.014569654,
0.06714828,
0.0549865,
-0.0041457536,
-0.0049755843,
-0.10491239,
0.017440053,
0.0040777344,
-0.009896753,
0.01567156,
-0.02932976,
0.04478366,
-0.07253538,
-0.0062509393,
-0.010692575,
-0.044593208,
-0.031370327,
0.019058904,
-0.039124485,
0.08156829,
0.011182311,
0.009570263,
0.028404703,
-0.015358673,
0.008937687,
-0.038797997,
0.022976793,
0.0007579859,
-0.0024265752,
-0.04500132,
-0.022228586,
0.018120242,
-0.0137738325,
-0.027534062,
-0.019317375,
0.007522893,
-0.006771284,
0.003156078,
-0.0009539654,
0.0039723055,
-0.01584841,
0.051095817,
-0.017916186,
0.03648535,
0.013052832,
-0.01994315,
0.03550588,
-0.016038863,
0.0012626013,
-0.0309078,
-0.073406026,
0.019847922,
-0.0068801143,
-0.05397982,
0.03000995,
-0.006659053,
0.012338633,
0.00492457,
-0.050334007,
0.0076793367,
-0.0074548745,
0.033057198,
0.0043532113,
0.04211732,
0.01433839,
-0.018093035,
-0.02749325,
-0.0055639483,
-0.031370327,
-0.06823659,
0.008611196,
-0.016419768,
-0.031860065,
0.005142231,
0.019045299,
-0.03999513,
-0.024745286,
-0.011678849,
0.015494712,
-0.027860552,
0.047586042,
0.030826177,
-0.037029505,
-0.012052953,
0.016324542,
0.009447829,
0.012522284,
0.04761325,
-0.014528843,
-0.017045543,
0.020936225
] | Now click on the Files tab and click on the Add file button to upload a new file to your repository. Then drag-and-drop a file to upload and add a commit message.
Add a model card
To make sure users understand your model's capabilities, limitations, potential biases and ethical considerations, please add a model card to your repository. The model card is defined in the README.md file. You can add a model card by: |
[
-0.0018647657,
0.01523428,
0.022616142,
-0.037409276,
-0.0061209165,
0.019395769,
0.030292103,
-0.021483865,
0.01448433,
0.09228798,
0.039026815,
0.0072090793,
0.061584137,
-0.010602236,
0.017248852,
0.02123388,
0.015101937,
-0.032586068,
-0.08087697,
-0.003823275,
0.014256405,
0.013352053,
-0.051320117,
-0.037262227,
-0.008609721,
-0.013285881,
0.019263424,
-0.014763724,
0.079053566,
0.029527448,
-0.024968928,
0.015793066,
0.009242033,
0.005481253,
-0.02374842,
-0.022822011,
-0.017425312,
-0.058613747,
-0.011190432,
-0.027895203,
0.021101538,
-0.01688123,
0.07964176,
-0.017881162,
-0.034497704,
-0.013263823,
-0.037173998,
0.0066061784,
-0.024968928,
-0.025542418,
0.0120580215,
0.028483398,
-0.0056025684,
0.007175993,
-0.016234213,
-0.034468297,
-0.03990911,
-0.0029225997,
-0.043732386,
0.02533655,
0.026939385,
-0.0023987375,
0.013197651,
0.0028729707,
0.017057689,
0.048173267,
-0.07199521,
-0.014006421,
-0.045408744,
0.006234879,
-0.004959229,
-0.019204605,
0.0057643224,
-0.03967383,
-0.021469159,
-0.0068708663,
0.020395702,
-0.04008557,
-0.0042680986,
0.034350656,
0.0150284115,
0.046673365,
0.00028628611,
0.0051614214,
-0.02611591,
0.0019704571,
0.069289505,
-0.0428795,
0.06617207,
-0.008558254,
-0.0097714085,
0.06487804,
0.004360004,
0.032586068,
0.032674298,
0.030115644,
0.011036031,
0.057525586,
-0.032674298,
-0.00013912217,
0.013138832,
0.078818284,
0.02545419,
0.012771209,
-0.0109772105,
-0.017792935,
0.019807506,
0.011116908,
-0.007411272,
-0.033233084,
0.017954689,
0.00036348685,
-0.045644023,
-0.036056425,
-0.031674363,
0.0066944077,
0.031321447,
0.045202874,
-0.0269835,
0.0032405932,
0.0070987926,
-0.014822544,
-0.036203474,
-0.022689667,
-0.045467563,
-0.012896201,
0.0058819614,
0.06764256,
-0.03955619,
0.009653769,
-0.011741866,
-0.042203076,
0.044732317,
0.022527913,
0.01196244,
0.008639131,
0.015675427,
0.019704571,
0.04743802,
-0.015881296,
0.04255599,
0.014616675,
0.024748353,
0.06864249,
-0.007095116,
0.026954088,
-0.028101072,
-0.016557721,
-0.023601372,
0.03679167,
-0.009815523,
-0.028674563,
0.034909442,
0.047702707,
0.0020531723,
0.017101804,
-0.011161022,
0.02596886,
0.002847237,
-0.012256538,
-0.03532118,
0.04270304,
-0.0042166314,
0.0051687737,
-0.024101337,
0.011925677,
-0.0134623395,
-0.0104919495,
-0.016748887,
-0.05058487,
-0.0050878967,
0.0020127338,
-0.0072936323,
0.0056724166,
-0.01262416,
0.010536063,
0.03235079,
0.050878968,
0.05199654,
-0.00091032544,
0.007275251,
0.027233481,
0.08764123,
0.034409475,
-0.031233216,
0.017337082,
0.02392488,
0.0019906764,
-0.038173933,
0.026939385,
0.034762394,
0.03223315,
0.00012832327,
-0.009587597,
-0.00422766,
0.02386606,
-0.07428917,
0.01864582,
0.039144456,
-0.040467896,
-0.03385069,
0.037703373,
-0.021072127,
-0.011712456,
0.0012591074,
0.018984031,
-0.03805629,
0.037821013,
-0.019086966,
-0.028615743,
0.053025883,
0.027733449,
-0.02983625,
-0.043879434,
0.034497704,
-0.002996124,
-0.017498836,
-0.019631047,
-0.034174196,
-0.01076399,
0.014050536,
-0.011808038,
0.02213088,
0.02371901,
-0.038997404,
0.010197851,
0.016410673,
0.05567277,
-0.022542618,
0.014646084,
-0.020160424,
0.016366558,
0.023983698,
0.01916049,
0.046085168,
0.031497903,
0.05811378,
0.02914512,
-0.018116442,
0.012991782,
0.013727028,
0.040673766,
0.027365826,
0.040467896,
0.019057555,
-0.023424912,
-0.010006688,
0.017072394,
0.0019373711,
-0.006216498,
-0.05640801,
0.01826349,
0.011815391,
-0.037879832,
-0.039203275,
0.0044666147,
0.027762858,
0.012999135,
-0.022601437,
-0.015440149,
0.034821212,
0.030145053,
-0.027601104,
0.0059885723,
0.014550502,
0.038967997,
0.002909733,
0.0020623629,
0.027954023,
-0.04126196,
0.033115443,
-0.03223315,
-0.078641824,
0.016278328,
-0.015396034,
0.012300652,
-0.013977012,
-0.065701514,
-0.010050802,
-0.043585334,
0.027909908,
-0.030792069,
-0.019719277,
0.03343895,
0.026821746,
0.051467165,
-0.07464209,
0.012072726,
-0.05643742,
0.02071921,
0.0107345795,
-0.0058268183,
-0.004683512,
-0.016895935,
0.016513607,
-0.020925079,
0.0009852286,
-0.03517413,
-0.011947734,
-0.032880165,
-0.07275987,
-0.018131146,
-0.0040401723,
-0.011116908,
-0.0019722953,
-0.0010550768,
0.008624426,
0.017969392,
0.048173267,
0.044938188,
-0.007528911,
-0.0079259435,
0.0266894,
0.031409673,
-0.052290637,
0.010433129,
0.076347865,
-0.033086035,
-0.03370364,
-0.015454854,
-0.029292168,
-0.027748154,
-0.0036192446,
-0.0032589743,
-0.024218976,
0.0668779,
0.014881363,
-0.07370098,
-0.015248986,
-0.0074259765,
-0.0025439484,
0.020469226,
-0.009822876,
0.02314552,
0.02602768,
0.016469492,
-0.028556924,
-0.04111491,
-0.013352053,
0.022086766,
0.0005969272,
-0.008536197,
0.021954421,
0.039467964,
-0.02911571,
-0.0019759715,
0.0013932897,
-0.015690133,
-0.020233948,
-0.009087631,
-0.0051871547,
-0.017072394,
0.009514073,
0.0014704904,
0.011477178,
0.03532118,
-0.048643824,
-0.022557322,
0.010197851,
0.021601504,
0.015050469,
0.024630714,
0.00033063057,
-0.0035990253,
0.012116841,
-0.029277464,
0.03873272,
0.023013175,
0.010506654,
-0.046938054,
0.024660124,
0.01142571,
-0.0320861,
0.03361541,
-0.0023619751,
-0.017939983,
0.04261481,
0.0059076953,
0.06787784,
-0.0266894,
-0.035556458,
-0.0040769344,
0.022616142,
0.0029501715,
0.025292436,
-0.0016239728,
-0.035821147,
-0.031792004,
-0.014094651,
0.00076649315,
-0.002343594,
-0.0040401723,
-0.00021436992,
-0.023248453,
-0.054437555,
-0.06976006,
0.012837381,
0.044291172,
0.06002542,
0.023469027,
0.0704659,
0.007006887,
-0.002812313,
0.011719809,
-0.012080079,
0.013535865,
-0.04867323,
0.01843995,
0.016807705,
-0.018969325,
0.004146783,
-0.012094784,
0.008492082,
0.01846936,
0.010925744,
-0.0033030892,
-0.031762592,
-0.029703906,
-0.05523162,
0.03526236,
-0.06905423,
-0.016837114,
-0.043291237,
-0.0030347246,
0.030527381,
-0.023189634,
0.0016157014,
-0.011550702,
-0.006150326,
-0.00325346,
-0.00052294316,
-0.04911438,
-0.051673032,
-0.029733315,
-0.026586467,
0.015043117,
0.011675694,
0.000927328,
0.023130814,
-0.007859771,
0.010234613,
-0.012050669,
-0.021189766,
0.016690066,
0.012859439,
-0.00007185873,
0.066583805,
0.025115976,
-0.0016763591,
-0.0041100206,
0.003771808,
0.025704172,
-0.01982221,
-0.0014631379,
0.0031964786,
0.061407678,
-0.016440082,
-0.009183212,
-0.018131146,
0.00011763923,
0.0022388217,
0.031556726,
0.010683113,
-0.03673285,
-0.03882095,
0.046614546,
0.008572959,
0.0069738007,
0.06440748,
0.025645353,
-0.006826752,
0.039615013,
0.016645951,
-0.015837181,
0.0053856713,
-0.022601437,
0.003008991,
-0.022263225,
-0.024454255,
0.043850023,
-0.03235079,
0.06540741,
-0.00556213,
0.0061687073,
0.0044629383,
-0.06340755,
-0.023351388,
0.0037754842,
-0.03720341,
0.025807107,
0.019925145,
-0.045026418,
-0.01604305,
-0.033909507,
-0.003690931,
-0.039615013,
-0.052820016,
0.021336816,
0.0063194325,
0.0010275051,
-0.010462539,
-0.010661055,
-0.02836576,
0.015072526,
0.024733648,
-0.0068230755,
-0.031762592,
0.028645152,
0.04323242,
0.0027148928,
-0.025792401,
0.014491683,
0.045820482,
-0.004087963,
0.024865992,
-0.02707173,
0.023983698,
-0.070877634,
-0.016278328,
0.034821212,
-0.009756704,
-0.06405456,
-0.03976206,
0.014528445,
0.036321115,
0.021895602,
0.043350056,
-0.008933229,
-0.018660523,
-0.039320912,
0.042056024,
-0.031292036,
-0.033115443,
-0.0356741,
-0.05670211,
-0.0002042603,
0.026821746,
0.01769,
-0.04264422,
0.052496508,
-0.011381595,
0.011969792,
-0.021248586,
-0.035644688,
-0.03532118,
-0.015006355,
-0.016998868,
0.032762527,
-0.054819882,
-0.0075068534,
-0.030292103,
0.014175528,
0.033291902,
-0.0017269072,
-0.027836384,
-0.014351986,
-0.021307405,
0.015425445,
-0.023704305,
0.003415214,
-0.013234413,
0.10905157,
-0.05558454,
-0.0016037537,
-0.020822145,
-0.0064150146,
-0.024454255,
-0.029630382,
0.030115644,
-0.048496775,
0.02510127,
-0.03205669,
-0.0056356546,
-0.0104551865,
0.019954555,
-0.023160225,
-0.025924746,
-0.060878303,
-0.02143975,
0.027924612,
-0.011984496,
-0.04135019,
-0.022527913,
-0.014896068,
0.0076539028,
-0.026924679,
-0.002878485,
0.052555326,
-0.03964442,
-0.029571561,
-0.061054762,
0.014454921,
0.008161222,
0.0068745427,
0.0044041188,
0.024336616,
-0.017513542,
-0.021954421,
0.008977344,
-0.0154695595,
-0.021469159,
0.049496707,
0.046585135,
0.011411006,
0.02377783,
-0.030821478,
-0.05802555,
0.013535865,
0.022866126,
0.0014272948,
-0.0013298747,
-0.008822942,
0.043850023,
0.02893925,
0.0065289773,
0.009447901,
-0.01927813,
-0.037556324,
0.04570284,
0.026336484,
-0.030233283,
0.0055216914,
0.051231887,
-0.020616276,
-0.040967863,
-0.014418159,
0.01696946,
-0.052849427,
-0.018454654,
0.03823275,
-0.01421229,
-0.04432058,
0.04926143,
0.0042975084,
-0.02663058,
0.016587133,
-0.023542551,
-0.000092652386,
-0.020454522,
-0.021513274,
0.034468297,
-0.016866526,
0.0041431068,
-0.057907913,
-0.020675095,
-0.02123388,
0.045202874,
0.035791736,
-0.025836516,
-0.008462672,
0.025410075,
-0.02671881,
0.057584405,
0.029600972,
0.04164429,
-0.008911172,
-0.030615611,
-0.052672967,
-0.025057156,
0.028159892,
0.015822478,
0.0053489087,
-0.006216498,
0.022351455,
0.034291837,
0.056260962,
-0.009609655,
-0.024013108,
0.019748686,
-0.030997938,
0.026645286,
-0.007014239,
-0.022086766,
0.018660523,
0.025145385,
-0.0059444574,
-0.027233481,
-0.022145586,
0.042203076,
0.017145919,
-0.00670176,
-0.024616009,
0.00530847,
-0.025351254,
-0.02896866,
-0.019057555,
-0.004815856,
0.011690399,
0.011087498,
-0.01621951,
-0.039085634,
-0.03829157,
0.022277929,
0.013477044,
0.012080079,
0.01691064,
-0.0034391095,
-0.006062097,
-0.061878238,
-0.06887777,
0.051055428,
0.030939119,
-0.023380797,
0.031292036,
0.0036027015,
-0.008565607,
-0.024630714,
0.014190232,
0.06587797,
-0.017778229,
-0.02842458,
0.01295502,
-0.025954155,
-0.05182008,
0.047114514,
-0.05793732,
-0.02063098,
0.016734181,
0.032586068,
-0.04152665,
0.0087273605,
0.030056823,
0.0008119864,
0.017307673,
-0.008345033,
0.019336948,
-0.007940648,
0.022072062,
0.017219443,
-0.01157276,
-0.01004345,
0.008631779,
0.0018950945,
-0.036379933,
-0.00715026,
-0.02599827,
0.0009135422,
-0.0338801,
-0.03538,
-0.0131020695,
0.04867323,
0.023233749,
0.0154695595,
-0.0140652405,
-0.040761992,
-0.026218845,
0.01702828,
-0.03673285,
-0.033380132,
0.019719277,
-0.0236896,
0.0046320446,
-0.034585934,
0.004573225,
0.0049482,
-0.005477577,
0.009830228,
0.045379333,
0.0365858,
-0.029483333,
0.016704772,
-0.038173933,
-0.023704305,
0.01343293,
0.007992116,
-0.025557123,
-0.016631246,
0.046879236,
0.06581915,
0.035968196,
-0.037968062,
0.018881097,
-0.015410739,
-0.0053489087,
0.01295502,
0.00034993075,
0.026439417,
-0.0021855163,
0.034585934,
0.011315424,
0.010911039,
-0.060407747,
0.0044813193,
-0.004150459,
0.009315557,
0.012925611,
0.024101337,
0.015513673,
-0.012888849,
0.045320515,
0.011940382,
0.012205071,
-0.02132211,
0.016778296,
0.0083670905,
0.015543084,
0.019483998,
0.04417353,
0.026042385,
0.046085168,
0.027998138,
-0.024248388,
-0.010308138,
0.019807506,
0.022057356,
0.0010385339,
-0.00800682,
-0.008837648,
0.043879434,
0.005984896,
0.017072394,
0.018513475,
0.028630449,
-0.014991649,
0.010425777,
-0.037732784,
0.03073325,
0.004749684,
-0.034468297,
0.011822742,
0.018734047,
0.03729164,
-0.010366958,
0.01115367,
0.04170311,
0.017454721,
0.05346703,
0.042497173,
0.035027083,
0.004080611,
0.020586865,
-0.02830694,
0.01157276,
0.0058010845,
-0.027145253,
-0.036350522,
-0.035850555,
0.010366958,
0.035438817,
-0.06628971,
-0.020557456,
-0.02521891,
-0.011491883,
-0.019704571,
-0.05687857,
0.01682241,
-0.043526515,
0.02905689,
0.021013308,
-0.0041578114,
-0.031086167,
0.045085236,
-0.013910839,
0.030233283,
0.0054922816,
0.029645087,
0.037762195,
0.018998737,
0.029850956,
-0.017778229,
0.022572028,
0.01936636,
-0.03826216,
0.018660523,
0.055437487,
-0.027718743,
-0.016778296,
-0.019866325,
-0.046673365,
-0.00020219243,
-0.016704772,
-0.024277797,
-0.017131213,
-0.004786446,
-0.05346703,
-0.026851155,
-0.05346703,
0.0050989254,
-0.010499301,
-0.002295803,
0.011888915,
-0.027057024,
-0.003463005,
-0.025513008,
-0.028777497,
0.030909708,
-0.009514073,
-0.002457557,
-0.018175261,
-0.023998404,
-0.038762126,
0.0046099876,
-0.028836317,
0.023983698,
0.019395769,
0.0055878637,
0.039526783,
-0.033086035,
-0.0015862915,
-0.008734713,
0.035556458,
0.05534926,
0.03343895,
0.040114976,
0.064936854,
-0.019763391,
-0.049614348,
0.03004212,
-0.018822277,
-0.040526714,
-0.0061098877,
-0.034027148,
-0.046085168,
0.026292369,
-0.0611724,
-0.029880365,
0.033468362,
0.009903753,
0.013829962,
0.013800552,
-0.020042785,
-0.058849026,
0.014976945,
-0.061407678,
-0.011286014,
0.013241766,
-0.011624226,
0.039967928,
-0.059878368,
0.25739464,
0.027954023,
0.0013298747,
0.050320182,
0.03843862,
0.0440853,
0.018910507,
-0.016895935,
0.01430052,
-0.09517014,
0.012925611,
-0.012432996,
0.013138832,
0.027101139,
-0.031380266,
0.034732983,
-0.07875947,
0.025939452,
0.008197984,
-0.037350457,
-0.031497903,
0.027998138,
-0.06346636,
0.050967198,
0.0049739336,
0.012168308,
0.02677763,
-0.024630714,
0.025704172,
-0.05058487,
0.015675427,
-0.0048011513,
0.0031909642,
-0.024336616,
-0.032615475,
0.0020366292,
-0.036085833,
-0.011999202,
-0.006411338,
0.007124526,
-0.019689867,
0.003885771,
-0.008705303,
0.0012921934,
-0.028924547,
0.0551728,
-0.0007563835,
0.04002675,
0.034438886,
-0.028380465,
0.040791404,
-0.057466764,
0.015896002,
-0.04570284,
-0.07393626,
0.0023344036,
-0.022513209,
-0.05664329,
0.024116043,
0.026851155,
0.0013271176,
-0.007194374,
-0.046732184,
-0.0046577784,
-0.03823275,
0.014418159,
0.03064502,
0.051202476,
0.03379187,
-0.037791602,
0.00034280808,
-0.009367024,
-0.029512743,
-0.055555128,
0.04146783,
-0.00715026,
-0.013925544,
0.0055400725,
-0.016895935,
-0.05223182,
0.007903886,
-0.03538,
-0.0032608125,
-0.04470291,
0.051878903,
0.0151460515,
-0.026998203,
0.02276319,
0.012859439,
0.017969392,
-0.0035365294,
0.054378737,
0.0016239728,
-0.001902447,
0.02524832
] | Manually creating and uploading a README.md file.
Clicking on the Edit model card button in your model repository.
Take a look at the DistilBert model card for a good example of the type of information a model card should include. For more details about other options you can control in the README.md file such as a model's carbon footprint or widget examples, refer to the documentation here. |
[
0.028287435,
0.010595685,
-0.038398985,
-0.0250368,
0.008465482,
0.002617798,
0.0049209073,
-0.005757773,
0.011902855,
0.053144414,
0.031565733,
-0.038924616,
0.0128642125,
-0.031455074,
0.0027198128,
0.048275378,
0.0030310436,
-0.044789594,
-0.008368654,
0.015976522,
0.0055917827,
0.0065773474,
-0.08365888,
-0.015008248,
0.00085199473,
-0.00789835,
0.03781802,
-0.009378426,
0.08028375,
0.011287309,
-0.045038577,
-0.011536294,
-0.021149872,
-0.039892893,
-0.016737308,
-0.006878204,
-0.01001472,
0.004775666,
-0.06479137,
-0.034276903,
0.018604694,
-0.012400825,
0.024677156,
-0.009399175,
-0.069217764,
-0.02542411,
-0.0047964146,
-0.06351878,
-0.018507868,
-0.034055583,
-0.016571319,
-0.0056955265,
-0.009883312,
0.0018570113,
-0.00596526,
0.0107685905,
-0.0033215259,
0.027097842,
0.014800761,
-0.001633098,
0.06219086,
-0.011833692,
-0.01830038,
-0.071043655,
0.023376903,
0.013341433,
-0.0052736355,
-0.016419161,
-0.02030609,
0.019296318,
-0.03817766,
-0.0062661166,
-0.0053185914,
-0.038675632,
-0.018715354,
0.028176775,
0.027886294,
0.033751268,
-0.032451015,
0.023625888,
0.03131675,
-0.00025741392,
-0.04144213,
0.01712462,
-0.028854568,
-0.070767,
0.06163756,
-0.028079947,
-0.00937151,
-0.050267257,
-0.012608312,
0.015782867,
0.02380571,
0.029739846,
0.015921192,
0.024276014,
-0.017954567,
0.051401522,
0.03566015,
-0.027900126,
-0.0013633645,
0.07303553,
-0.013977728,
0.04584086,
-0.03131675,
0.04155279,
0.041635785,
0.0064632297,
-0.03148274,
-0.054029692,
0.026669035,
0.017885406,
-0.018812181,
0.015105075,
-0.039505582,
0.02765114,
-0.03187005,
0.021799998,
0.000093207185,
-0.028688578,
-0.007766941,
-0.04761142,
0.01652982,
-0.0024241433,
-0.009509834,
-0.03081878,
-0.02008477,
-0.0025399905,
-0.07867918,
-0.006390609,
-0.0046200505,
0.0014688371,
-0.014897589,
0.07707462,
0.017193781,
-0.029490862,
0.003956091,
0.038288325,
-0.015174238,
-0.021426521,
0.01601802,
-0.024898477,
0.0006998374,
0.0827736,
-0.025783755,
0.007358883,
0.0024483502,
-0.03009949,
-0.057709135,
0.033446953,
-0.040197205,
0.013763324,
-0.0034857867,
0.028384263,
-0.012635977,
-0.029767511,
-0.028467258,
0.016446827,
0.026682867,
-0.009101776,
0.04437462,
-0.005107646,
-0.03444289,
0.008880457,
-0.0077738576,
0.027983122,
-0.025507106,
-0.01262906,
0.01629467,
0.005456916,
0.057487816,
-0.009883312,
0.016363831,
0.014427284,
0.04938198,
0.044180963,
0.042853042,
-0.02224264,
0.0043261102,
-0.017664086,
-0.004554346,
-0.015118908,
-0.024372842,
0.004709962,
0.0029013641,
0.037928678,
0.002870241,
-0.0074280454,
-0.021108374,
0.010049301,
-0.008154251,
0.031565733,
-0.027803298,
0.039062943,
-0.045923855,
0.04122081,
-0.04210609,
0.001747216,
-0.010415862,
-0.06030964,
0.016820304,
0.02586675,
-0.014074556,
-0.042853042,
-0.0012302268,
0.059037052,
0.01507741,
0.061194923,
-0.02498147,
-0.011923604,
0.04288071,
0.017567258,
-0.02708401,
-0.017000126,
0.052037816,
0.010706345,
0.023791878,
-0.0030293146,
0.0037071065,
0.024165355,
0.048828676,
-0.01181986,
0.030542132,
-0.008458566,
-0.022270303,
-0.05018426,
0.028190607,
0.046366494,
0.03264467,
0.043157358,
0.007531789,
0.06368477,
-0.022367131,
0.024677156,
0.0072274744,
-0.014828426,
0.00800901,
0.0061243335,
-0.037098728,
0.038620304,
-0.015616878,
-0.0033422746,
-0.0019555679,
0.029933501,
0.025700761,
-0.025161294,
-0.0047030454,
-0.010664848,
-0.0663406,
0.007919098,
-0.01040203,
0.026862688,
-0.004907075,
-0.023224745,
-0.049769286,
-0.014745431,
0.004685755,
-0.009433756,
-0.010996827,
-0.020236928,
-0.0058753486,
0.03115076,
-0.036573093,
-0.026295558,
0.023764212,
0.07823654,
-0.0022685279,
0.020015609,
0.011889023,
0.011958185,
-0.019835787,
-0.053144414,
-0.03945025,
-0.017041624,
-0.04155279,
-0.027208501,
-0.0022529662,
-0.05635355,
-0.008956535,
-0.026323222,
0.0059825503,
0.022892766,
0.0066361353,
0.06528934,
0.024967639,
0.015990354,
-0.030486802,
0.041912436,
-0.043157358,
0.036351774,
-0.0050453995,
-0.02759581,
-0.013666497,
-0.012781218,
0.052535783,
-0.02446967,
-0.0031901172,
0.004938198,
-0.016792638,
-0.02391637,
-0.024953807,
-0.010872334,
-0.0029981914,
0.008693718,
-0.025396446,
0.0015181154,
0.046172842,
-0.0060690036,
0.023335405,
0.029297207,
-0.053919032,
0.009226269,
-0.004682297,
0.052535783,
-0.012193337,
0.057709135,
0.012546065,
-0.03817766,
-0.0006103585,
-0.028688578,
-0.020790227,
-0.04935431,
-0.035521828,
-0.0566302,
-0.046809137,
0.07176294,
-0.04913299,
-0.059811674,
0.035577156,
-0.0058061862,
-0.029269543,
0.02159251,
-0.009821066,
0.040363196,
0.038232993,
0.025700761,
-0.021758502,
0.01623934,
-0.019669795,
0.013203109,
0.00887354,
-0.042327408,
0.04426396,
0.021799998,
0.014192131,
0.03471954,
0.03676675,
-0.046062183,
0.006684549,
-0.020347588,
0.038149998,
0.009987055,
-0.0124423215,
0.0049243653,
0.0007568964,
-0.0053912117,
-0.057321824,
0.034857865,
0.007338134,
-0.0070338193,
0.052259136,
0.06617462,
0.043240353,
0.027374491,
0.00756637,
0.0070891497,
-0.0075802025,
-0.020707233,
0.038620304,
-0.020665735,
0.030403806,
-0.039173603,
-0.0052943844,
-0.018936675,
0.028411929,
-0.018203553,
0.008970368,
0.009973223,
0.042327408,
-0.020845557,
-0.02229797,
0.025949745,
-0.0043434007,
0.012034263,
0.039394923,
0.03560482,
0.0019106122,
0.042327408,
-0.0076217004,
0.0012310913,
0.03164873,
0.010837753,
-0.021426521,
0.009655076,
-0.055772588,
-0.03297665,
0.04426396,
0.012096509,
0.009357677,
-0.018328045,
0.0713203,
-0.041137815,
0.04365533,
0.024137689,
0.028605582,
-0.09815533,
-0.013472842,
0.015035913,
0.00006802774,
0.012933375,
-0.04772208,
-0.002700793,
-0.043821316,
0.009537499,
0.008845875,
-0.0069162436,
-0.043682992,
0.0056229057,
-0.005311675,
0.033114973,
-0.004035628,
-0.011031408,
-0.038758628,
0.025673095,
0.047251776,
-0.032782994,
0.0072897207,
-0.058926392,
-0.000042551106,
0.039201267,
-0.0124284895,
-0.05355939,
-0.035632487,
0.03004416,
-0.057045177,
0.041027155,
0.023390735,
0.0201401,
-0.004281155,
-0.039671574,
-0.03330863,
0.013818654,
0.050377917,
0.005681694,
-0.013597335,
0.0041912436,
0.0005796676,
-0.00688512,
0.019766623,
0.025852919,
0.020292258,
-0.052259136,
0.05947969,
-0.044429947,
0.0031123096,
0.017290609,
-0.018162055,
-0.055689592,
0.01758109,
0.016419161,
-0.016930964,
-0.012061928,
0.036628425,
-0.02041675,
-0.009184771,
0.009129441,
-0.0022477792,
-0.018812181,
0.048994668,
0.020167766,
0.007241307,
0.02691802,
0.035632487,
-0.031621065,
0.025963578,
0.00430882,
0.039284263,
-0.0037866433,
-0.0047618337,
-0.0027682264,
-0.02725,
0.011591624,
-0.0039422587,
0.017996065,
0.021758502,
-0.0441533,
-0.027319161,
0.0315934,
-0.011543211,
0.05472132,
-0.014095304,
-0.028093781,
0.006390609,
-0.0124354055,
-0.019144163,
-0.001333106,
-0.0315934,
0.010962246,
0.043959644,
0.019199492,
-0.007441878,
-0.034387562,
-0.029241877,
0.03092944,
-0.06766853,
-0.026793526,
-0.026904186,
0.0017532677,
0.027388323,
0.011972018,
-0.057155836,
-0.017788578,
0.016336167,
0.015271066,
0.015284898,
-0.03037614,
0.008638388,
-0.039920557,
-0.051871825,
0.07198426,
-0.009385343,
-0.056159895,
-0.049326647,
0.025797587,
-0.0120065985,
-0.015492385,
-0.0010469464,
-0.024442004,
-0.04310203,
-0.043738324,
0.054914974,
-0.010159962,
0.024442004,
-0.018079061,
-0.021896826,
-0.012933375,
-0.0018276173,
0.04099949,
0.0024085818,
0.010941497,
-0.021288197,
0.01607335,
-0.028826902,
-0.016515989,
-0.052978422,
-0.02625406,
-0.0042431154,
0.004754917,
-0.032561675,
-0.011702284,
-0.00013994586,
0.053172078,
0.035687815,
0.052369796,
-0.046034515,
-0.028743908,
0.0047203363,
-0.027720304,
0.006051713,
0.0063767764,
-0.051373854,
0.04077817,
-0.051982485,
0.043821316,
-0.02019543,
-0.03137208,
-0.010782423,
-0.054776646,
0.015229568,
-0.033336293,
-0.0024103108,
0.018203553,
-0.01023604,
0.029020557,
-0.024538832,
-0.007849936,
0.0064943526,
-0.033142637,
-0.06396142,
0.0348302,
-0.03153807,
-0.024704821,
-0.00045647207,
0.012469986,
0.0566302,
-0.042963702,
0.028799238,
0.052203804,
0.022325633,
-0.010886167,
-0.008368654,
0.024594162,
0.012926459,
-0.015755203,
-0.010574936,
-0.021730836,
-0.048137054,
-0.036407106,
-0.05101421,
-0.05591091,
-0.026696699,
0.020015609,
0.04199543,
-0.025686927,
0.0090741115,
-0.02224264,
-0.025327284,
-0.057709135,
0.018037563,
0.00059350015,
0.032727662,
0.048828676,
-0.026876522,
-0.0103467,
0.053587053,
-0.03264467,
-0.054306343,
-0.037126396,
0.057819795,
-0.011231979,
-0.054112688,
0.0620802,
-0.019254822,
-0.017304441,
-0.04833071,
0.042438067,
-0.0007335541,
0.012718972,
-0.0007979616,
0.004609676,
-0.05212081,
0.0040702093,
-0.024594162,
0.03947792,
-0.031399745,
-0.005135311,
0.06053096,
0.00026951736,
-0.040141877,
0.012767386,
0.016502157,
0.013956979,
0.011391053,
-0.0011619289,
0.0015397287,
-0.034415226,
-0.036075126,
0.060143653,
-0.042410403,
-0.027346827,
0.033861928,
0.030735785,
0.04996294,
0.0013495319,
-0.00005119641,
-0.008423984,
-0.022602282,
-0.0468368,
-0.033917256,
0.006912785,
-0.0020005235,
-0.0032523635,
0.008002094,
-0.009164022,
0.059701014,
0.06174822,
-0.042963702,
-0.03527284,
0.0015509676,
-0.039394923,
-0.0017774745,
0.010561104,
-0.023888705,
-0.017843908,
0.007213642,
0.008672969,
-0.028079947,
0.02159251,
0.01301637,
-0.012214086,
-0.06174822,
-0.057543144,
0.015561547,
-0.029048223,
-0.012144923,
0.012241751,
-0.0413868,
-0.00025827845,
0.044789594,
-0.0024915766,
0.046587814,
-0.002868512,
0.04866269,
-0.014247461,
0.007974429,
-0.025783755,
0.012117258,
-0.052342128,
0.017954567,
-0.033751268,
0.025686927,
0.028660912,
-0.0128642125,
-0.029850507,
0.011557043,
-0.017954567,
-0.009281599,
-0.012656725,
0.03900761,
-0.010478109,
0.016834136,
-0.021039212,
0.025064467,
-0.06053096,
-0.038149998,
0.00009147813,
-0.022726776,
-0.024151523,
0.04238274,
0.03726472,
0.03175939,
0.036019795,
0.033834264,
0.0028996351,
0.014233629,
0.014302791,
0.024621826,
0.027443653,
0.037790354,
-0.034304567,
-0.05405736,
0.0067710024,
0.021426521,
-0.039865226,
-0.008797461,
-0.005225222,
0.008202665,
-0.018037563,
0.041469794,
0.014800761,
0.05585558,
0.044402283,
0.025686927,
-0.01857703,
-0.019891117,
-0.041414466,
0.0013823841,
-0.06805584,
0.02196599,
0.010374365,
-0.044734262,
0.012200253,
-0.011017576,
-0.012138007,
0.003207408,
0.06844314,
0.0119996825,
-0.03660076,
0.030459136,
0.017290609,
0.035577156,
-0.032008376,
-0.04166345,
-0.008728299,
-0.0012103426,
-0.06528934,
-0.010941497,
0.016308501,
0.037624363,
0.0013841132,
-0.01706929,
-0.07873452,
-0.02697335,
0.01752576,
0.03770736,
-0.047860403,
0.004516307,
-0.028190607,
0.055578932,
-0.087753296,
-0.030680455,
-0.03654543,
0.04182944,
0.029767511,
-0.0030604377,
-0.011356472,
0.013479758,
0.05101421,
-0.050045937,
0.01874302,
0.019116497,
0.01846637,
0.016626649,
0.037015736,
0.010706345,
0.027609643,
0.011951269,
0.024193019,
-0.0026229853,
0.027734136,
0.041137815,
-0.007995177,
0.025935913,
0.027858628,
-0.013894733,
-0.023376903,
-0.0086522205,
-0.013811738,
0.024013197,
-0.0402802,
-0.017332105,
-0.016930964,
-0.01018071,
-0.013901649,
-0.015727537,
-0.0015933296,
0.0068954946,
0.008832043,
-0.031565733,
0.004263864,
0.01601802,
0.039533246,
-0.03726472,
0.019697461,
0.00014751051,
0.045121573,
0.012656725,
0.0364901,
0.03566015,
0.011128236,
0.036019795,
-0.0077461926,
0.025742257,
0.014033058,
0.009696573,
0.021094542,
-0.028093781,
-0.0023117543,
0.02474632,
-0.028245937,
-0.024525,
0.0053531723,
-0.049575634,
-0.012808883,
-0.0496033,
0.036185786,
-0.035217512,
0.02091472,
0.038067,
-0.0015890069,
-0.007044194,
0.018673858,
-0.0094752535,
0.0413868,
0.028965227,
0.0026627537,
0.0009587642,
0.097823344,
0.033751268,
0.036739085,
0.028411929,
0.0033491908,
-0.0250368,
-0.0017377061,
0.025175126,
0.004090958,
0.018092893,
-0.0074349614,
-0.044291623,
0.008181916,
0.023791878,
-0.019614466,
-0.030348476,
0.005889181,
-0.0035134517,
-0.019171827,
-0.016612817,
0.08199898,
0.023432232,
0.012601395,
-0.01652982,
-0.013873984,
-0.0137218265,
0.0038143082,
-0.029407866,
0.04005888,
-0.021703172,
-0.03137208,
-0.012843464,
-0.048247714,
-0.028633248,
-0.00024185238,
-0.015824364,
-0.009565164,
0.039062943,
0.040916495,
-0.0058096442,
0.027429821,
0.021661675,
-0.01723528,
0.025327284,
0.033225633,
-0.017511928,
0.05156751,
0.043821316,
0.023501394,
0.00386618,
0.022934264,
-0.01296104,
-0.026835024,
-0.0026385467,
-0.032838322,
0.013728743,
-0.0065289335,
-0.0052736355,
-0.018328045,
0.03032081,
-0.009606662,
-0.01023604,
-0.027180836,
-0.008340989,
-0.02196599,
0.021855328,
-0.026862688,
0.005059232,
-0.0037451459,
-0.01540939,
-0.010222208,
-0.03192538,
0.2237543,
0.052591115,
0.061526902,
0.010837753,
0.03671142,
0.059203044,
0.03037614,
-0.031178426,
0.02113604,
-0.027167004,
-0.005737024,
-0.046283502,
0.010277538,
0.007663198,
-0.019697461,
0.041193146,
-0.025673095,
-0.0000034175969,
0.002131932,
-0.016170178,
0.014441116,
0.017401269,
-0.0037451459,
0.018079061,
-0.0020091687,
0.014634771,
-0.0025330742,
-0.020942384,
0.01051269,
-0.033917256,
0.03115076,
-0.0013356995,
0.02253312,
0.021205202,
0.012608312,
0.04689213,
-0.014662436,
-0.043738324,
0.007275888,
0.0076009515,
-0.0029636102,
-0.055606596,
0.00088311784,
0.022214973,
-0.020997714,
0.04611751,
-0.0120065985,
0.019987943,
0.039975885,
-0.07414213,
0.06340812,
-0.052757103,
-0.04160812,
0.0001183326,
-0.028232105,
0.0076493653,
-0.06694923,
-0.024137689,
0.011577792,
0.052535783,
0.038952284,
0.0013720097,
-0.05217614,
-0.03170406,
0.03983756,
0.028494922,
0.012255583,
0.015063578,
0.0021371192,
-0.021509517,
0.018258883,
0.0012302268,
-0.030293146,
0.0032834865,
0.010505774,
0.025700761,
0.008825126,
0.002019543,
-0.023874871,
-0.016930964,
-0.017442767,
-0.0116123725,
-0.010111548,
-0.01640533,
0.005311675,
0.019462308,
-0.06717055,
-0.0012241751,
0.0066326773,
0.017954567,
0.018079061,
0.05519162,
0.021827664,
-0.014109137,
0.02770647
] |
GPU inference
GPUs are the standard choice of hardware for machine learning, unlike CPUs, because they are optimized for memory bandwidth and parallelism. To keep up with the larger sizes of modern models or to run these large models on existing and older hardware, there are several optimizations you can use to speed up GPU inference. In this guide, you'll learn how to use FlashAttention-2 (a more memory-efficient attention mechanism), BetterTransformer (a PyTorch native fastpath execution), and bitsandbytes to quantize your model to a lower precision. Finally, learn how to use 🤗 Optimum to accelerate inference with ONNX Runtime on Nvidia and AMD GPUs. |
[
-0.006410152,
0.07333648,
-0.04068817,
-0.025328249,
-0.04823911,
-0.036722567,
0.0029606211,
0.026591266,
0.033816267,
0.063721254,
-0.037021343,
0.012630172,
0.031290233,
-0.02045273,
0.017234074,
0.030937131,
0.01568586,
-0.03487557,
-0.010178832,
-0.025056632,
0.05130838,
-0.017206913,
-0.06524231,
-0.049895972,
0.010925778,
-0.00073039404,
0.019828012,
-0.0055409786,
0.060135916,
0.020846575,
-0.018048923,
-0.051960256,
0.00047575348,
-0.00997512,
-0.03941157,
-0.034250855,
-0.005102997,
0.0013215846,
-0.019719366,
-0.039818995,
0.015251272,
0.0059314277,
0.014463585,
-0.016636517,
-0.059972946,
-0.0073472294,
0.008521971,
0.0047838474,
-0.05301956,
-0.04935274,
0.011957921,
0.02467637,
0.0011127793,
-0.028492583,
-0.029334594,
-0.036070686,
-0.018823031,
-0.0012698077,
-0.0076935403,
0.022612082,
0.023807196,
0.003809423,
0.008114547,
-0.012569059,
0.038352266,
0.038162135,
-0.0075916843,
0.03829794,
0.006674978,
0.05296524,
-0.026292488,
0.03433234,
-0.016745163,
-0.039601702,
-0.017913116,
0.0014412657,
0.004349261,
0.02470353,
0.035962038,
-0.023766452,
-0.010559096,
0.019895917,
-0.04823911,
0.0010482704,
-0.065513924,
-0.06687201,
-0.0021220047,
-0.025477638,
0.020181114,
-0.019990982,
-0.018266218,
0.02534183,
-0.028030833,
0.025491219,
-0.004318704,
0.016989619,
-0.021186095,
0.021810813,
0.019963821,
-0.054187514,
0.013275262,
0.056387607,
-0.010857874,
0.031426042,
-0.00083055266,
0.019081067,
0.0020642863,
0.031507526,
0.003968998,
-0.06692633,
0.004892494,
0.031100102,
-0.01504756,
0.017981019,
-0.025613446,
0.01290858,
0.01030106,
0.04120424,
-0.040633846,
-0.008922606,
0.025436895,
-0.025450476,
0.0034427405,
-0.01914897,
-0.025980128,
-0.061548322,
0.016134027,
-0.0074626664,
-0.00072063284,
0.00045877742,
-0.01651429,
0.0019658252,
0.021077449,
0.06518798,
-0.035853393,
-0.01242646,
0.029850665,
0.024947986,
0.02043915,
-0.015563631,
0.026183842,
-0.016826648,
0.038542397,
0.07094626,
0.030393898,
0.025885062,
-0.0041828956,
-0.034142207,
-0.04348582,
0.03289277,
-0.015590793,
0.0008084838,
0.015563631,
0.0323767,
0.0408783,
0.019407006,
-0.00964239,
0.00964239,
0.040498037,
0.0696425,
0.027148081,
0.0176415,
-0.024146717,
0.038216457,
-0.0021406785,
0.056659225,
0.017410625,
-0.01830696,
0.05331834,
-0.0031100102,
0.04772304,
-0.00060052733,
0.0016212116,
0.0037177524,
0.065839864,
0.033816267,
0.01389998,
-0.03188779,
-0.0071027745,
0.019176133,
-0.0063082958,
0.02535541,
-0.020860156,
0.056659225,
0.017872373,
0.050629336,
0.050194748,
-0.053671442,
-0.026536943,
-0.05932107,
-0.026170261,
0.01013809,
-0.00719105,
0.04677238,
-0.038814012,
0.046039015,
-0.042480838,
-0.009907216,
-0.019216875,
-0.013377118,
0.0024496424,
0.05524682,
0.005184482,
-0.010097347,
0.00036774343,
-0.014219129,
0.031208748,
0.05329118,
0.022652825,
-0.013791333,
0.051905934,
-0.003303537,
-0.029877827,
-0.021335484,
0.054676425,
-0.018415606,
0.01832054,
0.044382155,
-0.015129046,
0.043214202,
0.007605265,
-0.007618846,
0.024757855,
0.035092864,
0.00023129852,
-0.044164862,
0.009180642,
0.005703949,
-0.014694459,
0.015916733,
-0.005697158,
0.039493054,
-0.026306069,
0.024146717,
0.012962903,
-0.0007643461,
-0.006063841,
0.020208275,
-0.011856065,
0.03283845,
-0.00050758355,
0.022177497,
0.023060251,
0.017790888,
0.0073472294,
-0.02372571,
-0.020873737,
-0.011747418,
-0.024133136,
0.007163888,
-0.038705368,
0.04432783,
0.007313277,
-0.0048687276,
-0.024133136,
-0.044436477,
0.038189296,
0.016948877,
-0.04237219,
0.03300142,
0.018130409,
0.0028944146,
-0.03865104,
-0.021050287,
-0.0036328721,
0.042209223,
-0.03664108,
-0.013499346,
0.010375755,
-0.017111847,
-0.056496255,
-0.043730274,
-0.08941619,
-0.019746527,
-0.05068366,
-0.04332285,
0.01292216,
-0.016853811,
0.036559597,
-0.071924075,
-0.0014854033,
0.020235438,
-0.020941641,
0.063721254,
0.024431914,
0.044137698,
0.0029164834,
0.026876463,
-0.047994655,
0.044436477,
0.007496618,
-0.016813068,
-0.001234158,
-0.008039852,
0.034440987,
-0.004906075,
-0.019963821,
0.004973979,
-0.05790866,
-0.0073540197,
0.010029444,
0.013764172,
0.0023511813,
0.0094862105,
-0.016745163,
-0.010559096,
0.024051651,
-0.030230928,
0.056550577,
0.021009544,
-0.03009512,
0.022489855,
0.02337261,
0.05087379,
-0.045821723,
0.046364956,
0.03759174,
-0.002690702,
-0.054730747,
-0.013716639,
0.018266218,
0.0035751536,
-0.012677705,
-0.027514763,
-0.061874263,
0.018442769,
-0.0066138646,
-0.068936296,
0.0549752,
-0.0009031252,
-0.03846091,
0.014463585,
-0.04120424,
0.027392535,
0.03729296,
0.06632878,
-0.023033088,
-0.004104806,
0.0014989842,
0.019990982,
-0.020249018,
-0.035283,
0.030529708,
-0.010212785,
-0.02258492,
0.010851083,
0.029823504,
-0.03645095,
0.05769137,
-0.003873932,
0.0070552416,
-0.0340064,
-0.045061197,
0.011081957,
0.048700858,
0.064373136,
-0.048347756,
0.023834357,
0.03550029,
0.013784543,
0.018999582,
0.036586758,
0.03449531,
0.0010431776,
-0.0030539893,
-0.02467637,
0.020792251,
0.036369465,
0.054051705,
0.013329585,
0.051960256,
-0.01766866,
-0.009907216,
0.015604374,
0.019828012,
0.024717111,
0.026835721,
0.0026143098,
0.03332736,
-0.010355383,
-0.028057996,
0.0142462915,
0.022992346,
0.006216625,
0.015808087,
0.0023511813,
-0.0029402499,
0.0039452314,
-0.048836667,
-0.024581304,
-0.0040470874,
-0.029524725,
-0.031643335,
-0.025491219,
-0.023481255,
-0.02747402,
0.02860123,
0.014300615,
0.016459966,
0.0029792946,
0.044572286,
-0.020031724,
-0.0010092255,
0.018239055,
-0.012188795,
-0.050221913,
-0.019352684,
0.03468544,
0.015509308,
0.001435324,
-0.046337795,
-0.00027288983,
-0.033245873,
0.015631536,
-0.01291537,
-0.009601647,
-0.040633846,
0.014287034,
-0.015957477,
0.0027093757,
0.00408783,
-0.05331834,
-0.031507526,
0.0147895245,
0.06714363,
0.0010898616,
0.020344084,
-0.057637043,
-0.012440041,
0.004274566,
-0.019434169,
0.010423288,
-0.01650071,
0.02027618,
-0.049814485,
0.025097374,
0.020968802,
0.028220966,
-0.019420588,
-0.0477502,
-0.0008093326,
0.015875991,
0.010253527,
-0.014151226,
-0.033816267,
-0.018402025,
0.054703586,
-0.010538724,
-0.025952967,
0.029470403,
0.04527849,
-0.0070891934,
0.03335452,
-0.038134973,
-0.012283861,
0.009377563,
-0.023521999,
0.00055426767,
0.037646063,
-0.015020398,
-0.013716639,
-0.010586257,
0.035744745,
-0.013146244,
-0.035799067,
-0.00042991817,
-0.01995024,
-0.006899062,
0.032186568,
-0.008433696,
-0.010368964,
-0.0047193384,
-0.010239946,
0.005578326,
0.0028129295,
0.010267108,
0.0069737565,
0.017913116,
-0.016894553,
-0.0068311575,
-0.0356361,
0.005262572,
0.007978738,
0.0035479919,
-0.0026041241,
-0.020018144,
-0.012582639,
-0.01947491,
-0.0206157,
0.031697657,
-0.010810341,
-0.0045869253,
0.005089416,
0.0064712656,
-0.047804523,
-0.005517212,
-0.028709875,
0.008990509,
0.01963788,
-0.0069941278,
-0.019339103,
0.0033239082,
-0.057148136,
0.03495706,
-0.029714856,
0.005466284,
-0.0736081,
-0.031235911,
-0.006868505,
0.00011596756,
-0.028329613,
0.007992319,
-0.027582666,
0.03699418,
0.044354994,
-0.042915422,
0.035799067,
-0.014993236,
-0.05579005,
0.06448178,
0.0046039014,
-0.02172933,
-0.02485292,
0.0036226865,
0.04076965,
-0.013587621,
0.02270715,
-0.07545509,
-0.08382089,
-0.028030833,
0.05888648,
-0.02794935,
-0.0049196556,
-0.028275289,
-0.045550104,
-0.006814182,
0.035771906,
0.030230928,
-0.03316439,
0.028302452,
-0.00532029,
-0.00032572774,
-0.02732463,
-0.04690819,
-0.047179803,
0.02043915,
-0.03531016,
0.056822196,
-0.028438259,
0.006512008,
-0.005252386,
0.04533281,
-0.01652787,
0.040959783,
-0.057962984,
-0.07784532,
0.03875969,
-0.0113467835,
-0.04986881,
0.014015417,
-0.047831684,
0.03957454,
-0.03666824,
0.049271252,
-0.043540142,
0.00070026156,
-0.020629281,
-0.053997383,
0.029225947,
-0.01390677,
0.009880054,
0.017206913,
0.0061079785,
0.026849302,
0.020547796,
-0.03449531,
-0.010932568,
-0.029660534,
-0.06176562,
0.041149918,
-0.030258091,
-0.0051810867,
-0.02732463,
0.018184733,
0.00055002363,
-0.041910443,
0.012603011,
0.04508836,
-0.0023681573,
0.00866457,
-0.0005865221,
0.0065459604,
0.036885537,
-0.007163888,
0.0019861965,
-0.0075441515,
-0.03696702,
0.016867392,
-0.019977402,
-0.036722567,
-0.02027618,
0.049814485,
0.044056214,
-0.059266742,
0.008440486,
-0.04663657,
-0.022802215,
-0.023250382,
0.032974258,
-0.0126165915,
0.024065232,
0.05741975,
0.017139008,
0.024717111,
0.050493527,
-0.018021762,
-0.013933932,
0.0062234155,
0.03498422,
-0.006705535,
-0.018958839,
0.040280744,
0.006063841,
-0.03332736,
-0.04690819,
-0.029117301,
0.028248128,
-0.036125008,
-0.0010779784,
0.019732947,
-0.05329118,
0.011306041,
-0.028981492,
0.028275289,
0.009567695,
0.011550496,
-0.020683605,
0.0047872425,
0.019257618,
0.012535106,
0.041584503,
0.026890045,
-0.00458353,
0.00931645,
0.012548687,
-0.05163432,
0.011856065,
0.025450476,
0.008942977,
0.022354048,
0.046853866,
-0.01602538,
0.042100575,
0.021675006,
0.019081067,
-0.027039433,
-0.027066596,
-0.029144462,
-0.0546221,
0.020547796,
-0.03875969,
0.01602538,
0.011625191,
0.0065154033,
0.0392486,
0.011747418,
-0.009357193,
-0.070077084,
-0.0033052347,
-0.036695402,
-0.012786352,
0.030040797,
-0.002673726,
0.04090546,
-0.0016500709,
0.015454985,
-0.041964766,
-0.03742877,
0.0020863551,
0.059755653,
-0.046419278,
-0.05266646,
-0.017600756,
-0.037890516,
-0.013186987,
-0.0376189,
0.0032084712,
0.015278434,
-0.002485292,
0.009234965,
-0.011788161,
-0.007768235,
0.05980998,
-0.020153953,
0.036396626,
0.02846542,
-0.054676425,
-0.059266742,
-0.025043052,
-0.0058974754,
0.045848884,
0.04595753,
-0.013804914,
0.022938022,
-0.01390677,
-0.014626554,
-0.011964711,
0.0030794533,
0.02551838,
-0.021050287,
-0.06975114,
-0.014436423,
0.0448439,
-0.0021882113,
-0.0023766453,
0.024975147,
-0.006264158,
-0.03715715,
0.020249018,
-0.025735674,
0.017858792,
0.03715715,
0.010776389,
-0.0007342136,
0.0046005063,
0.0055477694,
0.044708095,
0.01832054,
0.008094175,
0.024798596,
-0.003778866,
0.036559597,
0.033843428,
0.0024785015,
0.024350429,
0.024798596,
-0.021308323,
-0.044110537,
0.02339977,
0.009357193,
0.041448694,
-0.016541451,
0.03137172,
-0.016541451,
-0.0035106447,
-0.047478583,
-0.012582639,
-0.044083375,
0.013268472,
0.035962038,
-0.07273893,
-0.002760304,
-0.046555087,
0.02258492,
-0.008291097,
0.021837976,
-0.013166615,
-0.043540142,
-0.012059777,
0.031045778,
0.025138117,
-0.061711293,
-0.011020844,
0.0017773912,
0.024431914,
-0.03438666,
-0.05397022,
0.029090138,
0.06486204,
-0.058125954,
-0.027378954,
-0.053888734,
-0.04155734,
-0.009554114,
0.013010436,
-0.036097847,
0.014490746,
-0.06160265,
0.03289277,
-0.048456404,
-0.013309214,
-0.030312413,
0.0068922713,
0.0049807695,
-0.017424205,
-0.016066123,
0.02143055,
0.020642862,
-0.0248665,
0.011713467,
0.018836612,
0.02077867,
-0.027419697,
0.03368046,
-0.0012867837,
0.03009512,
0.03878685,
0.055328302,
0.015577213,
0.06290641,
-0.009961539,
-0.025491219,
0.014178387,
0.013621573,
0.0044443267,
-0.032268055,
-0.028411098,
-0.015495728,
0.04679954,
-0.015998218,
-0.010110929,
-0.02258492,
-0.008447276,
-0.021036707,
0.00645429,
0.020371245,
0.009927587,
-0.043947566,
-0.011312832,
-0.0173563,
-0.015156207,
0.080181226,
0.010552306,
-0.0049468176,
0.025301088,
0.05464926,
0.019121809,
0.004220243,
-0.0015804692,
-0.022150334,
0.043567304,
0.015292015,
-0.010715275,
0.0143821,
-0.037836194,
0.01176779,
0.021702167,
-0.0034087885,
0.016758746,
-0.04267097,
-0.024350429,
0.026699912,
-0.021539196,
-0.03699418,
-0.061548322,
0.062200204,
-0.01734272,
0.0046853865,
0.03463112,
-0.015672278,
0.010321431,
0.020520635,
-0.07355378,
0.018741546,
-0.0018571785,
0.040470876,
-0.03465828,
0.04905396,
-0.0038467702,
0.008617037,
0.028383935,
0.0032492138,
-0.060787797,
-0.01963788,
0.028492583,
0.017981019,
0.0063422476,
-0.009947958,
-0.033082902,
0.014422842,
0.0444908,
-0.051770125,
-0.015101884,
-0.0010516655,
0.016229093,
-0.020534215,
-0.04104127,
0.056441933,
-0.0012774469,
0.015441405,
-0.025287507,
-0.03259399,
-0.023603484,
0.002361367,
-0.046011854,
0.03156185,
0.0134450225,
-0.03957454,
-0.01963788,
-0.029850665,
0.00056402886,
0.007802187,
-0.017722983,
-0.010097347,
0.035364483,
0.03351749,
0.033626135,
0.054241836,
0.011856065,
-0.017872373,
-0.0032661897,
0.011835693,
0.0044714883,
0.052449167,
0.042127736,
0.0018707594,
0.027541924,
0.0134450225,
-0.0044748834,
-0.025165278,
-0.00019724034,
0.01732914,
0.02356274,
-0.04022642,
-0.004709153,
0.0074626664,
0.011306041,
-0.0061623016,
-0.013791333,
0.014001836,
-0.00011830177,
-0.058343247,
-0.005282943,
-0.05168864,
-0.04807614,
0.0238751,
-0.040986948,
0.056115992,
-0.024622045,
0.2119696,
0.058234602,
0.03243102,
0.0051233685,
-0.023046669,
0.025735674,
-0.001397128,
0.0013962791,
0.0023443908,
-0.068610355,
0.02141697,
-0.0145043265,
0.016894553,
0.032159407,
0.016283415,
0.030692676,
-0.04679954,
0.010328221,
0.033979237,
-0.06670904,
-0.04533281,
0.009010881,
-0.01947491,
0.03661392,
-0.007870091,
0.020520635,
-0.03267548,
0.013641944,
0.013044388,
-0.048266273,
-0.0013589319,
0.010049814,
0.015808087,
-0.037048504,
0.028411098,
0.060081594,
-0.043431494,
-0.039357245,
-0.01064058,
-0.0023359028,
0.025545541,
-0.017600756,
-0.0066953492,
0.0053101047,
-0.0011187209,
0.008589875,
0.04288826,
0.01961072,
0.019828012,
-0.07214137,
0.010572677,
-0.031426042,
0.026455458,
-0.0153327575,
-0.07415134,
0.02341335,
-0.053698603,
0.005496841,
0.08876431,
0.042046253,
-0.014083321,
0.020262599,
-0.02746044,
-0.0139610935,
0.009886845,
0.033653297,
0.0119171785,
0.049760163,
-0.011978293,
-0.016555032,
-0.00081782066,
-0.02058854,
-0.027134499,
0.016256254,
0.02892717,
0.04530565,
0.04068817,
-0.02944324,
0.01621551,
-0.029416079,
-0.04677238,
-0.014124064,
-0.023780035,
-0.011068377,
0.03221373,
-0.00018419001,
-0.017777307,
-0.020832993,
0.026170261,
0.046011854,
0.024119554,
0.057148136,
-0.013309214,
-0.009622019,
-0.030529708
] | pip install flash-attn --no-build-isolation
We strongly suggest referring to the detailed installation instructions to learn more about supported hardware and data types!
FlashAttention-2 is also supported on AMD GPUs and current support is limited to Instinct MI210 and Instinct MI250. We strongly suggest using this Dockerfile to use FlashAttention-2 on AMD GPUs. |
[
0.002726124,
0.03491721,
-0.01720186,
-0.0073742634,
-0.041421395,
0.008130232,
-0.009692092,
0.018742325,
0.0020093797,
0.049893953,
0.0015627518,
-0.011660465,
0.023934262,
-0.032577984,
0.019983254,
0.0716031,
-0.0069071315,
-0.019084651,
-0.00598,
-0.020311316,
-0.0007581976,
-0.016930852,
-0.09060217,
-0.06076279,
0.014534573,
0.00453938,
0.019469766,
-0.017458605,
0.05785302,
0.05785302,
-0.022950077,
-0.019013332,
0.0055342633,
0.027571471,
-0.05231876,
-0.038454574,
0.007980465,
-0.0535169,
-0.022194108,
-0.026102325,
0.034860153,
0.025988216,
0.018899225,
-0.0636155,
-0.04655628,
-0.009727752,
0.007852092,
-0.027628526,
-0.019141704,
-0.023577673,
-0.025061084,
0.012623255,
0.02216558,
-0.014527441,
-0.039139222,
-0.032349765,
-0.01452031,
-0.028912246,
-0.009806201,
-0.0035908525,
0.02336372,
0.044131473,
-0.032150075,
-0.006864341,
-0.0054130233,
0.03868279,
0.0060834107,
0.029354418,
-0.0016937983,
0.036857054,
-0.043703564,
0.048096742,
-0.0038689922,
-0.035173953,
-0.016617054,
0.029297363,
-0.00060040696,
-0.0054344186,
0.015276278,
0.030866355,
-0.025303565,
0.018713798,
-0.005402325,
0.020453952,
-0.014056744,
-0.029012091,
0.04464496,
-0.021195658,
-0.033062946,
-0.04621395,
-0.01944124,
0.023349456,
-0.0458431,
0.030295813,
0.0492093,
0.03660031,
-0.020254264,
0.018756589,
-0.004689147,
-0.029183256,
0.029183256,
0.07280124,
-0.013065426,
0.018927751,
-0.02608806,
-0.010398139,
0.0020664341,
0.012673178,
-0.014342015,
-0.06076279,
-0.0072137984,
0.014277829,
0.027200619,
0.0016813178,
-0.030666666,
0.014748527,
0.0070854262,
0.030809302,
-0.06304496,
-0.021666355,
0.017273178,
-0.016816743,
-0.026145115,
-0.04515845,
0.018585425,
-0.03491721,
0.011589147,
0.011018604,
-0.034146976,
-0.013586046,
-0.015818294,
-0.008429768,
0.038711317,
0.08027535,
-0.008715038,
-0.0034999223,
0.0057196897,
0.012887131,
0.020068837,
-0.036257982,
0.005776744,
0.010861705,
-0.008814883,
0.08946108,
0.029611161,
-0.012045581,
0.011910077,
-0.025745736,
-0.057082787,
-0.0010287596,
-0.03160806,
-0.0032289147,
-0.010276899,
0.018128991,
0.01755845,
-0.014349147,
0.016488682,
0.027571471,
0.019498294,
0.025774263,
0.027371783,
0.031950388,
-0.040508527,
0.041193176,
0.021110076,
0.020140154,
-0.02236527,
-0.040394418,
0.036799997,
-0.02068217,
-0.009884651,
0.0051027904,
0.0113751935,
0.02232248,
0.054429766,
0.0061689923,
0.047668837,
-0.0136145735,
-0.007652403,
0.024048371,
-0.016103566,
0.0019612403,
-0.00054513564,
0.04909519,
0.022536434,
0.013200929,
0.0026387596,
-0.0060834107,
0.0005286434,
-0.01268031,
0.015262015,
0.04144992,
-0.0119386045,
0.04872434,
-0.05191938,
0.048752867,
-0.052432865,
-0.011346666,
-0.015005271,
-0.023777364,
0.0020111627,
0.05927938,
-0.04821085,
-0.007987597,
0.0066004647,
0.01444186,
0.038454574,
0.052518446,
0.0068893023,
-0.009028837,
0.02256496,
0.03457488,
-0.03580155,
0.024205271,
0.007909147,
-0.0022928682,
-0.029411472,
0.027756898,
0.030210232,
0.021352557,
-0.012345116,
0.008130232,
0.05260403,
0.04176372,
-0.0055235657,
-0.025560308,
-0.028013643,
0.045700464,
-0.0137714725,
0.012052713,
-0.008066046,
0.018927751,
-0.014128062,
0.04769736,
0.008772093,
0.016046511,
0.03140837,
0.028270386,
0.02449054,
-0.0068322476,
0.0020058139,
0.037342016,
0.040936433,
0.059735812,
0.000918217,
0.010597829,
0.0017865115,
-0.0023071317,
-0.028099224,
0.009848992,
-0.041820772,
0.09385426,
0.0049423254,
-0.038368993,
-0.03169364,
0.000984186,
0.02449054,
0.03189333,
-0.0034375193,
-0.024576124,
0.030609611,
0.019983254,
-0.01591814,
-0.043988835,
0.0030934107,
0.034061395,
-0.028056433,
0.027157828,
-0.010433798,
-0.07411349,
-0.05100651,
-0.04980837,
-0.07565395,
0.0081801545,
-0.0334338,
-0.044359688,
0.03640062,
-0.034118447,
0.033776123,
0.0015850387,
0.0004283527,
-0.017915038,
-0.040109146,
0.06412899,
0.029268837,
0.0528893,
-0.025831318,
0.024904186,
-0.043018915,
0.015404651,
-0.0095423255,
-0.021866046,
0.0005549418,
-0.017515657,
0.028455812,
0.028142015,
-0.009035968,
-0.057510696,
-0.05808124,
0.0056947283,
0.009050232,
0.008130232,
-0.00089860463,
0.037227906,
-0.011175503,
-0.006532713,
0.01788651,
-0.058480617,
0.03183628,
0.026715659,
-0.0015395735,
0.01904186,
0.02227969,
0.02595969,
-0.04544372,
0.048410542,
0.048781395,
0.016859535,
-0.037028216,
-0.036257982,
-0.024918448,
0.047240928,
-0.03868279,
-0.0029632556,
-0.03132279,
0.05836651,
-0.030409921,
-0.043817673,
0.0068393797,
-0.022351006,
-0.03292031,
-0.04544372,
-0.025660153,
0.048382014,
0.052718136,
0.03611535,
-0.03323411,
0.022707596,
0.00014207848,
0.0565693,
-0.004004496,
-0.02848434,
0.035145424,
0.024961239,
-0.00009471899,
0.020211471,
0.036429144,
-0.055142943,
0.028555658,
0.0010760077,
0.0027029456,
-0.021709146,
-0.000101237885,
0.013464806,
0.011917209,
0.03919628,
-0.0031326355,
0.023948526,
0.029054882,
0.012430698,
-0.0075026355,
0.025018293,
0.006008527,
0.0033947285,
-0.02332093,
0.006785891,
0.026544495,
0.019141704,
0.035944186,
-0.048296433,
0.0020147285,
0.0070069763,
-0.022379534,
-0.009463876,
-0.0044181393,
-0.0021252711,
0.045985736,
0.0042469767,
0.03631504,
-0.0076310076,
-0.018528372,
-0.0014120929,
0.026501704,
0.03203597,
0.035459224,
-0.018856434,
0.00400093,
0.0407938,
-0.042904805,
-0.01232372,
0.015903875,
-0.008173023,
-0.010426667,
-0.018713798,
-0.0361724,
-0.027300464,
0.0014477519,
0.030723719,
0.047240928,
0.028056433,
0.019327132,
-0.057054263,
-0.014006821,
0.009827596,
-0.021224186,
-0.017986355,
-0.030267285,
0.053003408,
0.018913487,
-0.020311316,
-0.013735813,
0.027571471,
-0.051120616,
0.035715967,
0.024633177,
0.0036693022,
-0.065441236,
0.017130543,
-0.023035659,
0.013250852,
-0.033547904,
-0.030409921,
-0.024219533,
0.01872806,
0.050093643,
-0.041906357,
0.017857984,
-0.033062946,
-0.020040309,
-0.0009752713,
0.010169922,
-0.017130543,
0.0016055426,
0.016075037,
-0.06076279,
0.043589454,
0.021509457,
-0.010005891,
0.024376433,
-0.041335814,
0.0063151936,
0.01091876,
-0.018770851,
-0.0018506976,
0.018471317,
-0.022065736,
-0.014185116,
-0.033376742,
-0.038540155,
0.014056744,
0.03640062,
-0.0435324,
0.05893705,
-0.027571471,
-0.016745426,
-0.05448682,
0.0040472867,
0.048068214,
0.023235347,
-0.0182431,
-0.0508924,
-0.010490852,
0.047982633,
-0.03796961,
-0.02307845,
-0.006924961,
0.015533023,
0.007438449,
0.04227721,
-0.002925814,
-0.0030559688,
0.051833797,
-0.022821704,
-0.03896806,
-0.016788216,
-0.024062635,
0.0035962015,
0.019626666,
-0.026401859,
0.015875349,
-0.054372713,
0.02227969,
-0.023349456,
-0.029211782,
0.01952682,
-0.037313487,
0.012466356,
0.0034963565,
-0.032235656,
-0.009371162,
0.028940775,
-0.00472124,
-0.018913487,
-0.011039999,
-0.03728496,
-0.044702012,
-0.061447438,
-0.012238139,
0.04164961,
0.00022019379,
0.011567752,
-0.050863873,
-0.058537673,
0.03637209,
-0.014933953,
0.02436217,
-0.018713798,
-0.039538603,
-0.0010528294,
0.002888372,
-0.06053457,
0.011646201,
-0.02675845,
-0.00936403,
0.015903875,
-0.035915658,
0.002654806,
-0.01815752,
-0.010226976,
0.06612589,
-0.018699534,
-0.037855502,
-0.02604527,
0.047383565,
-0.0010572867,
-0.02604527,
0.037028216,
-0.036143873,
-0.029026356,
-0.012587597,
0.05636961,
-0.03043845,
0.037826974,
-0.0532031,
-0.04005209,
0.038454574,
0.027143564,
0.004917364,
-0.065213025,
0.036828525,
-0.016517209,
-0.0056662015,
-0.05517147,
-0.048439067,
-0.0069071315,
-0.0041471315,
-0.009421085,
0.048581704,
0.015319069,
0.03180775,
-0.029211782,
0.009877519,
0.016517209,
0.018585425,
-0.047183875,
-0.028184805,
0.024376433,
0.015903875,
-0.00952093,
0.053631008,
0.01744434,
0.012052713,
0.009071628,
0.056312557,
-0.047269456,
-0.018599689,
-0.060591627,
-0.019812092,
0.039624184,
-0.047183875,
0.021595038,
0.019213023,
0.0256031,
0.017044961,
0.052689612,
-0.040936433,
0.008230077,
-0.041421395,
-0.074626975,
0.03708527,
-0.029111937,
0.024504805,
-0.027257673,
-0.000042762837,
0.05756775,
-0.042733643,
-0.0028117052,
0.057025734,
-0.0064186044,
0.014470387,
-0.039766822,
0.054629456,
0.020782014,
0.014662946,
-0.0099417055,
0.021965891,
-0.01163907,
-0.006004961,
-0.01675969,
-0.021994418,
-0.039338913,
0.033975814,
0.00030198644,
0.0018132557,
0.006857209,
-0.010155658,
-0.019854883,
-0.035373643,
0.04067969,
0.03149395,
0.0032734883,
0.03757023,
0.037056744,
0.009385426,
0.030210232,
-0.0042220154,
-0.044502325,
-0.0050742636,
0.040508527,
-0.01596093,
-0.020453952,
0.01260186,
0.03611535,
-0.027057983,
-0.04475907,
0.0068857362,
-0.007688062,
-0.015533023,
0.011432247,
-0.041906357,
-0.027015192,
-0.019098913,
-0.020910386,
-0.004985116,
-0.02152372,
-0.0055913175,
0.003708527,
-0.031864803,
-0.0435324,
0.012009922,
0.054943252,
-0.015718449,
0.011004341,
-0.0505786,
-0.014406201,
-0.054201547,
-0.011168372,
0.06743814,
-0.0015493798,
0.03605829,
0.038368993,
0.013279379,
0.06880744,
-0.0010777906,
0.015547287,
0.021780465,
-0.022393798,
-0.03765581,
-0.028869456,
0.0051384494,
-0.0031736433,
0.011125581,
-0.01728744,
-0.008551007,
0.017758138,
0.033633485,
-0.026430387,
-0.060021084,
0.025788527,
-0.015390387,
-0.039823875,
0.01948403,
-0.009963101,
0.03771287,
0.05428713,
0.0069748834,
-0.024918448,
-0.0037584496,
0.039110698,
-0.017173333,
-0.027614262,
-0.038739845,
-0.007474108,
-0.061675657,
0.005437984,
-0.046271008,
-0.0033020154,
-0.0077165887,
0.010205581,
0.02024,
0.012872868,
-0.01336496,
0.07029085,
-0.006029922,
0.019655192,
0.025788527,
-0.012616124,
0.0027867442,
-0.009877519,
-0.020140154,
0.050949454,
0.031779222,
-0.052746665,
0.026858294,
-0.01024124,
-0.005452248,
0.0002950775,
0.017572712,
0.04504434,
-0.017315969,
-0.009085891,
0.006368682,
0.01444186,
-0.027970852,
-0.012608992,
-0.01452031,
0.018300155,
-0.029668216,
0.039424494,
0.02536062,
0.029696744,
0.047383565,
0.000046440164,
-0.00030087208,
0.013985426,
0.009734883,
0.03577302,
-0.0064899223,
-0.029012091,
0.018656744,
0.018856434,
0.021195658,
0.020553797,
-0.035145424,
0.033062946,
-0.014448992,
-0.023549147,
-0.030894883,
0.02444775,
0.01304403,
0.04173519,
0.011860155,
-0.021195658,
-0.008950387,
-0.018371472,
-0.046755966,
-0.0024087597,
-0.05217612,
-0.0010055813,
-0.008650852,
-0.09077333,
0.0091429455,
-0.018713798,
-0.007417054,
-0.011952868,
0.05020775,
-0.022736123,
-0.026387597,
0.024690231,
-0.0055913175,
0.011902945,
-0.05348837,
-0.009870388,
-0.0070996895,
-0.011574883,
-0.035459224,
-0.032264184,
0.017415814,
0.060420465,
-0.007156744,
-0.027871007,
-0.022850232,
-0.009335504,
0.0011580233,
0.055342633,
-0.030980464,
-0.0068144184,
-0.06201798,
0.04316155,
-0.07000558,
0.022622015,
-0.021224186,
0.0014673643,
0.0026512402,
0.018471317,
0.006051318,
0.011325271,
0.036714416,
-0.039595656,
-0.010604961,
0.043617982,
0.010383876,
0.0076024802,
-0.0021145735,
-0.017758138,
0.047668837,
0.021965891,
0.030295813,
0.00828,
0.023677519,
-0.030837828,
-0.036628835,
0.016531473,
0.05368806,
0.024946976,
-0.010048682,
0.016431628,
-0.016845271,
0.004214884,
-0.006461395,
0.027457364,
0.012024186,
-0.0033394573,
0.018271627,
-0.0334338,
0.007417054,
0.011089922,
-0.035345115,
-0.032463875,
0.029297363,
-0.0031094572,
0.052062012,
0.009157209,
0.008914729,
0.0058623254,
0.03588713,
0.03300589,
-0.010690542,
0.0033073642,
-0.0007171899,
0.030752247,
0.039424494,
0.013978294,
-0.01720186,
-0.022650542,
-0.029197518,
-0.0182431,
-0.03896806,
0.029097673,
0.01116124,
-0.031436898,
0.0152049605,
-0.025517518,
-0.0237631,
-0.07536868,
0.034004338,
-0.031465426,
0.030409921,
0.044502325,
-0.046784494,
-0.029696744,
0.03317705,
-0.058822945,
0.035316586,
-0.016346047,
0.010654883,
0.016888062,
0.069948524,
-0.029012091,
-0.0100986045,
0.02868403,
0.0031558138,
-0.060705733,
-0.030866355,
0.005748217,
-0.032264184,
-0.030894883,
-0.042334262,
-0.055998757,
-0.025089612,
0.0076452713,
-0.065041855,
-0.0351169,
0.014513178,
0.0156043405,
-0.06064868,
0.0017134108,
0.0622462,
0.007113953,
-0.010426667,
-0.013557519,
-0.013200929,
-0.03956713,
0.0058266665,
-0.022878759,
0.036429144,
-0.03948155,
-0.038112246,
-0.014013953,
-0.002692248,
0.024675969,
0.028298914,
-0.014413333,
0.018342946,
0.02524651,
0.029439999,
0.03876837,
0.044302635,
-0.0017775969,
-0.016488682,
0.020140154,
0.03628651,
0.009264186,
0.08780651,
0.07108961,
-0.0069998447,
0.0038012401,
0.023064185,
0.026302015,
-0.016930852,
-0.021224186,
0.010005891,
-0.0053310078,
-0.045301083,
-0.032235656,
-0.017487131,
-0.031379845,
-0.022151317,
-0.009050232,
-0.006668217,
0.02868403,
-0.06481364,
-0.048524648,
-0.013479069,
-0.008950387,
0.010768992,
-0.02899783,
0.034660462,
-0.009692092,
0.24145363,
0.051035035,
0.027471626,
0.006589767,
0.00015377907,
0.04795411,
0.02304992,
-0.021338293,
0.0013871317,
-0.04493023,
-0.026786976,
-0.0311231,
0.062474415,
0.026387597,
-0.016431628,
0.03477457,
-0.055599377,
-0.007516899,
0.020710697,
-0.062474415,
-0.039823875,
0.002162713,
-0.016231937,
0.049580153,
0.026287751,
0.00795907,
0.0077165887,
-0.019726511,
0.004692713,
-0.021338293,
-0.00022498546,
0.00025496123,
0.02660155,
-0.02296434,
0.0046534883,
0.042020462,
-0.0030720155,
-0.034460776,
0.005224031,
0.00558062,
0.021209922,
-0.020953178,
0.0041114725,
0.0037655812,
0.012109767,
0.019355658,
0.04792558,
0.022579225,
0.0036514727,
-0.04136434,
0.024747286,
-0.04356093,
0.03488868,
-0.009585116,
-0.05799566,
0.015718449,
-0.041050542,
-0.04464496,
-0.0059550386,
0.01928434,
-0.007331473,
0.0030327905,
-0.009784806,
-0.012038449,
-0.0055021704,
0.0152049605,
-0.013450542,
0.05000806,
-0.033662014,
0.014349147,
0.0016670543,
-0.028569922,
-0.043418292,
0.0045821704,
0.035173953,
0.058309454,
0.010013022,
0.013450542,
-0.0072494573,
-0.06213209,
0.020368371,
-0.030609611,
0.0075311624,
-0.047782943,
0.011332403,
0.02844155,
-0.028498603,
-0.0032556588,
-0.009356899,
0.0075739534,
0.0077165887,
0.03468899,
0.0068144184,
-0.036657363,
0.0122524025
] | To enable FlashAttention-2, pass the argument attn_implementation="flash_attention_2" to [~AutoModelForCausalLM.from_pretrained]:
thon
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, LlamaForCausalLM
model_id = "tiiuae/falcon-7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
attn_implementation="flash_attention_2",
) |
[
-0.020741273,
0.0046292427,
0.0072608623,
0.01996206,
-0.05601844,
-0.0027608986,
-0.0037118946,
0.021251304,
0.024892362,
0.059843674,
-0.010767328,
-0.00836593,
0.05182485,
-0.01406128,
0.028080057,
0.06262051,
0.019168677,
-0.051796515,
-0.028320905,
-0.008769705,
0.04323932,
-0.022823902,
-0.086932,
-0.0450811,
0.017397735,
-0.0035100072,
0.021733,
-0.020571264,
0.06823085,
0.06562403,
-0.013324568,
-0.01765275,
-0.010916087,
0.010455642,
-0.025374057,
-0.01161738,
-0.003391354,
-0.020259578,
0.00032098324,
0.009017637,
0.018531138,
0.01569763,
0.013416657,
-0.050323088,
-0.02904345,
-0.04590282,
0.02180384,
-0.005950365,
-0.052363213,
-0.021931347,
0.02265389,
0.006201839,
-0.00253776,
-0.013593751,
-0.04629951,
-0.014351714,
-0.007515878,
-0.018701147,
0.02139298,
0.004986973,
-0.0038606536,
0.014372965,
-0.014734237,
-0.013267898,
0.012715364,
0.006594988,
-0.016462678,
0.02161966,
0.010087286,
0.045874484,
-0.048963007,
0.0072891973,
-0.0043246406,
-0.042757627,
-0.0018222993,
0.008054244,
-0.017851096,
-0.0072891973,
0.04216259,
0.020911284,
-0.06233716,
-0.010087286,
0.0149042485,
0.00545096,
-0.015995149,
-0.05658514,
0.061033748,
-0.05956032,
-0.0068075014,
-0.0089893015,
-0.02708833,
0.018701147,
-0.053071592,
0.033435386,
-0.012410762,
0.049926396,
0.0026387037,
0.026535796,
0.014167536,
-0.02887344,
0.04105752,
0.05848359,
-0.011525291,
0.051173143,
-0.010491061,
0.016760195,
-0.003428544,
0.01719939,
-0.041709226,
-0.095035836,
-0.0154992845,
0.020401252,
0.024013974,
0.008238423,
-0.026479125,
0.026507461,
0.0293268,
0.042077582,
-0.04624284,
-0.020372918,
0.012602024,
-0.012566605,
0.009513501,
-0.02639412,
0.023659786,
-0.01857364,
0.035617188,
0.034597125,
-0.023149755,
-0.011950317,
0.000028196719,
-0.00027626695,
0.020613765,
0.050238084,
-0.042190924,
-0.0058830697,
0.0038712793,
0.018474467,
0.010526479,
-0.016235996,
0.011029427,
-0.0010652216,
-0.025572402,
0.05463002,
0.01799277,
-0.023447273,
0.03830902,
-0.074464574,
-0.026422456,
0.018488634,
-0.0049090516,
0.015428447,
0.009123893,
0.026535796,
-0.010823998,
-0.0068677133,
0.029496811,
0.018531138,
0.00136274,
0.016590185,
0.036722254,
0.027400015,
-0.018644478,
0.041142527,
0.018332792,
0.047517918,
-0.005744936,
-0.012184082,
0.01455006,
-0.014975086,
0.001755889,
0.029496811,
0.01787943,
0.045959488,
0.047007885,
0.022129692,
0.028887607,
-0.012304505,
-0.008684699,
0.050578106,
-0.013607918,
0.015315107,
0.035900537,
0.05111647,
0.016462678,
-0.0063045537,
0.0032532206,
-0.034597125,
-0.0064745643,
-0.022880571,
-0.0004715133,
0.025671575,
-0.00802591,
0.040349144,
-0.056046773,
0.05205153,
-0.08511856,
0.03485214,
-0.0073317,
-0.02782504,
-0.010738992,
0.07044099,
-0.045336116,
0.008096747,
-0.015754301,
-0.0091805635,
0.047999613,
0.04814129,
0.038847383,
0.013707091,
0.002629849,
-0.022866404,
-0.029921837,
-0.0040767086,
0.014018777,
-0.003084981,
-0.0020560636,
0.0009350574,
-0.01276495,
0.047772933,
0.0062833023,
-0.01915451,
0.022271367,
0.024736518,
-0.015598457,
-0.02656413,
-0.015895976,
-0.0023163923,
0.0020684602,
-0.0004825817,
-0.024254823,
0.034257103,
-0.015966814,
0.055763423,
-0.0015070717,
-0.016661024,
0.028037554,
0.034427114,
-0.022299703,
0.021152131,
0.014358798,
0.02449567,
0.034767136,
0.043692682,
0.015003421,
-0.024637345,
-0.0057095173,
-0.004402562,
-0.010703574,
0.005280949,
-0.02564324,
0.059787005,
-0.002507654,
-0.015130929,
-0.05026642,
-0.0013645109,
0.004335266,
0.011086097,
-0.02599743,
-0.02851925,
0.0027006867,
0.036892265,
-0.041709226,
-0.032500327,
0.00064019556,
0.040915847,
-0.029468475,
0.011716553,
0.009421412,
-0.048849665,
-0.020174572,
-0.04624284,
-0.065114,
0.0040094126,
-0.03624056,
-0.0396691,
0.03992412,
-0.031366926,
0.06330055,
0.0023447273,
-0.0015424906,
-0.0091805635,
-0.035220496,
0.0618838,
0.0004777116,
0.043777686,
-0.030431869,
0.038790714,
-0.018786153,
0.035277165,
-0.008713035,
-0.04720623,
0.008401349,
0.013345819,
0.001637236,
0.0038571118,
-0.0012493996,
-0.03352039,
-0.0483113,
-0.0004113013,
-0.020160405,
0.020967955,
-0.016916038,
0.017695254,
-0.010540647,
-0.009966861,
0.024651513,
-0.07010097,
0.044542734,
0.045931153,
-0.051711507,
0.012772034,
0.00738837,
0.017071882,
-0.045024432,
0.045789476,
0.06284719,
-0.015371777,
-0.023603115,
-0.024297325,
-0.0044840253,
0.028575921,
-0.012793286,
0.01026438,
-0.05151316,
0.05497004,
-0.012729531,
-0.04952971,
0.030885229,
-0.027102496,
-0.0074096215,
-0.010774411,
-0.04853798,
0.029185126,
0.061600447,
0.024750685,
0.019055337,
-0.004767376,
0.0004874518,
0.058001895,
0.008458019,
-0.0027892338,
0.008181753,
0.033038694,
0.016604353,
0.02421232,
0.023362268,
-0.066644095,
0.034483783,
0.0006038912,
0.009577255,
-0.019537034,
-0.027924214,
0.022809733,
0.020982122,
0.08942549,
-0.014932583,
0.026493292,
0.036552243,
0.004979889,
0.03782732,
0.02817923,
0.021265471,
0.015485117,
-0.017128551,
-0.013019966,
0.036042213,
0.035333835,
0.016590185,
-0.005741394,
0.023560613,
-0.008578443,
-0.0053340774,
0.013119139,
-0.010937338,
0.019296184,
0.06607739,
0.014620897,
0.05712351,
-0.030375198,
0.0146634,
-0.006414352,
0.02885927,
0.027329179,
0.0075583807,
0.013324568,
-0.03969744,
0.027513355,
-0.026436623,
0.027612528,
-0.007643386,
-0.027895879,
-0.011603212,
-0.03524883,
-0.011001092,
-0.02599743,
-0.0008146333,
0.057860218,
0.04374935,
-0.0066410326,
0.039470755,
-0.019678708,
0.0030761263,
0.044174377,
-0.018786153,
-0.05726518,
-0.0053978316,
0.044344388,
-0.011468621,
-0.0009412557,
-0.018205285,
0.022710562,
-0.058766942,
0.028561754,
0.018261954,
0.01075316,
-0.050068073,
0.0060672476,
0.0032603042,
0.030686883,
-0.0028494457,
-0.0412842,
0.002110963,
-0.015640961,
0.04567614,
-0.017978603,
-0.009130977,
-0.03468213,
-0.035872202,
-0.009038888,
0.026549963,
-0.014677567,
-0.024878195,
-0.013218312,
-0.046667866,
0.01216283,
0.023036415,
0.031480268,
0.015513453,
-0.02910012,
-0.01656185,
0.008210087,
-0.01265161,
0.0029131996,
-0.010852333,
-0.018984498,
0.0049303025,
0.0022189904,
-0.044259384,
0.009683511,
0.037742317,
-0.02069877,
0.059787005,
-0.023957305,
-0.023008078,
-0.006818127,
0.012786201,
-0.024056477,
0.014450887,
0.013664589,
-0.006687077,
-0.004062541,
0.03592887,
-0.018644478,
-0.036948934,
-0.014734237,
0.024439,
0.008387182,
0.02944014,
0.011723637,
-0.021492153,
0.025714079,
-0.016788531,
-0.0369206,
0.023773126,
-0.0055678417,
0.008110914,
0.020953786,
-0.018375294,
0.010299799,
-0.039499093,
0.049019676,
-0.008295093,
-0.050408095,
0.004795711,
-0.043267656,
-0.017440237,
-0.016491013,
-0.020982122,
0.019083671,
0.002107421,
-0.0076292185,
-0.006722496,
-0.022413043,
-0.061317097,
-0.027513355,
-0.04213425,
0.015244269,
0.02616744,
-0.0039917035,
0.002902574,
0.01926785,
-0.038195677,
0.026096603,
-0.04590282,
-0.0036693919,
-0.04658286,
-0.031876955,
-0.014110866,
-0.011270275,
-0.06647408,
0.009952694,
-0.017638583,
-0.014188788,
0.03386041,
-0.045222778,
0.055536743,
-0.024566509,
-0.04383436,
0.03876238,
-0.010611485,
-0.010349385,
-0.030545209,
0.025274886,
0.028845103,
0.0034993815,
-0.0034993815,
-0.036892265,
-0.07140438,
-0.038337354,
0.039754108,
-0.023773126,
0.0168452,
-0.045251112,
-0.024198152,
-0.0005631596,
0.03726062,
0.02541656,
-0.02966682,
0.05250489,
-0.015754301,
0.0004174996,
-0.057010166,
-0.037940662,
-0.009995197,
-0.010916087,
-0.033832077,
0.042077582,
0.025912425,
-0.01708605,
-0.0031203998,
0.01823362,
0.03629723,
0.036778923,
-0.043551005,
-0.07548463,
0.03261367,
0.004739041,
-0.0341721,
0.010880668,
-0.03847903,
0.027300842,
-0.021775503,
0.061147086,
-0.013204144,
-0.040037457,
0.0086634485,
-0.082228385,
0.06364057,
-0.0656807,
0.04743291,
-0.01259494,
0.002291599,
0.0071333544,
0.019508697,
-0.02910012,
0.008670532,
-0.04221926,
-0.074861266,
0.02616744,
-0.024042308,
0.023050582,
-0.039300747,
0.00040864488,
0.04904801,
-0.018984498,
0.022611389,
0.027895879,
-0.021888843,
-0.00836593,
0.008443852,
0.023263095,
0.019777881,
-0.0054190825,
-0.000042917673,
0.04077417,
-0.031281922,
0.0071404385,
-0.025232382,
-0.038450696,
-0.028604256,
0.014918416,
0.0028671552,
-0.013615003,
0.037912328,
0.004087334,
-0.025586572,
-0.009385993,
0.03859237,
-0.01193615,
0.020868782,
0.050181415,
0.024793189,
0.00945683,
0.034937143,
-0.00998103,
-0.021945514,
0.007055433,
0.048056282,
-0.028136726,
-0.031876955,
0.04088751,
-0.0032585333,
-0.005479295,
-0.06573737,
-0.011801558,
-0.017638583,
0.0004104158,
0.01167405,
-0.016646855,
-0.048679654,
-0.027272508,
-0.0064958152,
0.021988016,
-0.023008078,
0.005047185,
0.0016912497,
-0.01210616,
0.004012955,
-0.0024208778,
0.03822401,
-0.030431869,
0.017751923,
-0.04692288,
-0.0026422455,
-0.046016157,
-0.008302176,
0.061997138,
0.015853474,
0.025090707,
0.040462483,
0.00610975,
0.05933364,
0.0043246406,
-0.005309284,
0.0069208415,
-0.048878,
-0.018545305,
-0.045024432,
0.0123965945,
-0.0033824993,
0.0044486066,
-0.008684699,
-0.008599695,
0.014734237,
0.04921802,
-0.036042213,
-0.05837025,
0.019933723,
-0.04468441,
-0.03785566,
0.009966861,
-0.008210087,
0.0341721,
0.010547731,
0.022413043,
-0.06828753,
-0.032216977,
0.044769414,
0.028420078,
-0.02731501,
-0.055536743,
-0.037912328,
-0.049246356,
-0.017043546,
-0.05111647,
-0.004239635,
-0.018361127,
-0.012658694,
0.015910143,
0.010781495,
-0.020797944,
0.05468669,
0.009428496,
0.0035348004,
-0.0067685405,
-0.042077582,
-0.018247787,
-0.013785013,
-0.0255299,
0.059276972,
0.025728246,
-0.030743554,
0.010859417,
-0.022016352,
0.0052455305,
-0.023078917,
-0.013452075,
-0.0044521485,
-0.005716601,
-0.04479775,
0.035730526,
0.023928968,
-0.034738798,
0.023900634,
-0.015017589,
-0.010356469,
-0.041029185,
0.028618423,
0.03785566,
0.011475705,
0.019296184,
0.040490817,
-0.043437667,
-0.01351583,
-0.01080983,
0.049926396,
0.010193543,
0.026804978,
0.022809733,
0.00082747266,
0.03346372,
-0.008592611,
-0.064490624,
0.029695157,
-0.010115621,
-0.0056988914,
-0.039952453,
0.019735377,
0.024028141,
0.057690207,
0.009591422,
-0.00906014,
-0.011744888,
-0.011851144,
-0.027329179,
0.00605308,
-0.06454729,
-0.02966682,
0.023758959,
-0.06364057,
0.015074259,
-0.029355135,
-0.030006843,
-0.018077776,
0.04998307,
-0.04760292,
0.014705903,
-0.006148711,
-0.017341064,
0.023503942,
-0.036127217,
-0.030063512,
0.027853377,
0.009428496,
-0.045647804,
-0.04009413,
0.010363553,
0.04737624,
-0.037713982,
-0.034823805,
-0.033265375,
0.0038571118,
-0.007983407,
0.009152229,
-0.0073812865,
-0.007855899,
-0.07032765,
0.03686393,
-0.022129692,
0.0020064774,
-0.021052958,
0.005780355,
0.010469809,
-0.0051782345,
0.026819147,
0.012545354,
0.017029379,
-0.050464764,
0.034115426,
0.060013685,
0.016009316,
-0.02460901,
0.014932583,
-0.01983455,
0.0071156453,
0.009279736,
0.05295825,
0.021973848,
0.0105973175,
-0.038054004,
-0.04646952,
0.021024624,
0.02295141,
0.008705951,
-0.0061310013,
0.027513355,
0.018219452,
0.022668058,
0.0011351738,
0.019593703,
-0.010703574,
-0.028930109,
0.024254823,
-0.031763617,
-0.0019197012,
0.025600739,
-0.023532279,
-0.033775408,
0.012403678,
0.0051463577,
0.041255865,
-0.014946751,
0.005468669,
0.018091943,
0.051428158,
0.053723298,
-0.02483569,
0.038620703,
-0.012687028,
0.016122656,
0.021180468,
0.009754349,
0.013749594,
-0.031706948,
-0.020911284,
-0.011624464,
-0.019069504,
-0.011971569,
-0.012488684,
-0.008535941,
0.011723637,
-0.013282065,
-0.030120183,
-0.025487399,
0.06636074,
-0.039187405,
0.023560613,
0.024566509,
-0.034285437,
-0.026464958,
0.027116664,
-0.06845754,
0.0015044153,
-0.022823902,
0.03422877,
0.027995052,
0.079451546,
-0.01834696,
0.008295093,
0.02944014,
0.030970234,
-0.063413896,
-0.011433202,
0.008061328,
-0.0065737367,
0.014691736,
-0.02127964,
-0.048254628,
0.0149042485,
0.009315155,
-0.031083575,
-0.05284491,
0.036212225,
0.011234856,
-0.037883993,
-0.021988016,
0.05681182,
0.005897237,
0.03306703,
-0.024141481,
-0.05641513,
-0.028023386,
-0.01204949,
-0.040235803,
0.021761335,
-0.030998569,
-0.026464958,
-0.03601388,
-0.02759836,
0.030233523,
0.045222778,
-0.040859174,
-0.023206424,
0.020174572,
0.038960725,
0.045392785,
0.030516874,
0.025402393,
-0.023277262,
0.0028583005,
0.052816577,
0.009385993,
0.036098883,
0.050691444,
-0.02329143,
0.05188152,
0.014578395,
0.026365785,
0.007841731,
-0.01938119,
-0.020826278,
0.0011210063,
-0.019097839,
-0.007250237,
0.005071978,
-0.014578395,
-0.07622135,
-0.022469712,
-0.02460901,
0.010930254,
-0.0580869,
-0.0037437715,
0.010413139,
-0.037118945,
-0.025232382,
-0.0050861454,
0.04590282,
-0.022894738,
0.23778793,
0.039782442,
0.046639528,
0.029468475,
0.008514689,
0.031905293,
0.046157833,
-0.036722254,
-0.00836593,
-0.07021431,
-0.025699912,
-0.021733,
0.04255928,
0.015088426,
0.017355232,
0.014521725,
-0.03524883,
-0.01960787,
0.03859237,
-0.05273157,
-0.013345819,
0.024127314,
-0.038620703,
0.05573509,
0.017567744,
0.0037508553,
0.009860605,
-0.022668058,
-0.017071882,
-0.038337354,
0.01592431,
-0.0076292185,
0.02220053,
-0.013565416,
-0.0016717693,
0.022087188,
-0.0028352782,
-0.030261857,
-0.009088474,
-0.018375294,
0.0025200506,
-0.024566509,
0.00051091675,
0.013005799,
-0.010299799,
0.0069350093,
0.0483113,
0.029695157,
0.01026438,
-0.08500522,
0.034710463,
-0.025614906,
0.027414182,
-0.0255299,
-0.060807068,
0.00847927,
-0.027059995,
-0.03624056,
0.047461245,
0.028689262,
-0.006414352,
0.035418842,
-0.057010166,
-0.01880032,
-0.025572402,
-0.020089567,
0.036722254,
0.049898062,
-0.01547095,
0.012176998,
-0.0057661873,
-0.009123893,
-0.013395405,
0.041029185,
0.031253584,
0.059730332,
0.03519216,
0.022979744,
0.022710562,
-0.0570385,
-0.008429684,
-0.014372965,
-0.005408457,
-0.03629723,
0.031196915,
0.037430633,
-0.039725773,
0.004526528,
0.0032479076,
0.013735427,
0.024623178,
0.011886563,
0.003786274,
-0.037345625,
0.0027148542
] | FlashAttention-2 can only be used when the model's dtype is fp16 or bf16. Make sure to cast your model to the appropriate dtype and load them on a supported device before using FlashAttention-2.
You can also set use_flash_attention_2=True to enable FlashAttention-2 but it is deprecated in favor of attn_implementation="flash_attention_2". |
[
-0.007223572,
0.03991496,
-0.019090371,
-0.015635923,
-0.037845086,
-0.021160241,
-0.006597716,
0.011657014,
0.0026327928,
0.07093506,
0.013621993,
-0.025383899,
0.026866375,
-0.029873284,
-0.010426279,
0.05918714,
0.010146567,
-0.05666973,
0.00885989,
0.0071326657,
0.031299815,
-0.014174425,
-0.09202538,
-0.00801376,
0.021915466,
-0.0073494427,
0.032894175,
-0.025146144,
0.09118624,
0.05378869,
-0.01794355,
-0.0232441,
0.004880981,
0.018810658,
-0.038963936,
-0.022223148,
0.015733821,
-0.0030943183,
-0.029761398,
-0.026097165,
0.013006626,
-0.003057606,
0.0006324122,
-0.06120107,
-0.084640965,
-0.027621599,
0.0005310165,
-0.01557998,
-0.030097052,
-0.045537177,
-0.024726575,
0.024600705,
0.0042795995,
0.0065103057,
-0.007922853,
-0.005769068,
0.0149506265,
-0.003090822,
0.013817792,
0.019453997,
0.028181022,
0.012314337,
0.00809068,
-0.03275432,
0.016321218,
0.043439332,
-0.00038897502,
-0.0010244466,
-0.016405132,
0.02429302,
-0.031299815,
-0.0047516143,
0.0029334836,
-0.031355757,
-0.01401359,
0.0069928095,
-0.010118595,
0.006891414,
0.033929113,
0.04274005,
-0.05132722,
-0.024558747,
-0.016167376,
0.037145805,
-0.04022264,
-0.05717321,
0.04880981,
-0.04925735,
-0.01774775,
-0.028195009,
-0.029034145,
0.025244042,
-0.02123017,
0.014174425,
0.01580375,
0.008915832,
-0.0008627379,
0.020740673,
0.05510334,
-0.006398421,
0.016894627,
0.051103454,
0.0012735655,
0.059019312,
-0.01717434,
0.00092392496,
0.010097617,
0.018684788,
-0.01841906,
-0.057676695,
0.0070382627,
0.0045383335,
0.0011721697,
0.003964923,
-0.06069759,
0.013601014,
0.016754773,
0.03636261,
-0.049397208,
-0.022167206,
0.027719498,
-0.02394338,
0.0071291695,
0.0058599743,
0.0059438883,
-0.030152995,
0.0037201748,
-0.014810771,
-0.05535508,
-0.0030698434,
-0.041453376,
0.018614858,
0.008230537,
0.04967692,
-0.015384181,
-0.0065103057,
0.022013364,
0.016894627,
-0.0020663752,
-0.050963596,
0.018698772,
-0.002590836,
-0.026195064,
0.074906975,
0.003505146,
0.029985167,
0.010111603,
-0.013608008,
-0.03451651,
0.013083546,
-0.017957535,
0.00565019,
0.008356407,
0.030097052,
0.0035296206,
-0.022279091,
-0.0067061046,
0.0132723525,
0.01080389,
0.010545157,
0.067186914,
0.057900462,
-0.031579528,
0.03278229,
0.00096763,
0.03728566,
-0.022782573,
-0.03932756,
0.04545326,
-0.0040663187,
0.009104638,
0.014489101,
0.006349471,
0.022670688,
0.03339766,
0.042124685,
0.03434868,
-0.038740166,
-0.011978683,
0.032670405,
-0.014880699,
0.0008671084,
0.005041816,
0.053285208,
0.012712928,
0.008006767,
0.014824756,
-0.0051432117,
-0.020600818,
-0.008664091,
0.0051606935,
0.045705006,
-0.0155100515,
0.050683886,
-0.046460226,
0.029453713,
-0.053453036,
-0.021761624,
-0.010559143,
-0.033985056,
0.00087453827,
0.07076723,
-0.023341998,
0.00057472155,
-0.015104469,
-0.0015113209,
0.041817002,
0.06394225,
0.0067340755,
-0.017314197,
0.017957535,
0.027747469,
-0.04522949,
0.035775214,
0.009629099,
-0.0024544762,
0.02441889,
0.004276103,
0.021314085,
0.037537403,
0.006468349,
0.0040033837,
0.026390864,
0.019202255,
0.003818074,
-0.014684901,
0.0029509657,
0.028894288,
0.0034841674,
0.02541187,
-0.022516847,
0.027355872,
-0.03026488,
0.055047397,
-0.002358325,
0.00070496264,
0.019244213,
0.04150932,
-0.013258367,
0.0028390808,
0.004681686,
0.027845368,
0.047299363,
0.045705006,
0.012559086,
0.0015340477,
0.0019614832,
0.008328436,
-0.06797011,
-0.035103906,
-0.038656253,
0.07093506,
-0.0110346535,
-0.019593854,
-0.0354955,
0.010272438,
0.007713069,
0.027971238,
-0.027397828,
-0.027006231,
-0.022670688,
0.048669957,
-0.02541187,
-0.03823668,
0.0014606231,
0.042516284,
-0.033034034,
0.021845538,
0.033537515,
-0.031299815,
-0.030348795,
-0.04489384,
-0.047802847,
0.010034682,
-0.028432764,
-0.0354955,
0.010929761,
-0.05694944,
0.024950344,
0.009062681,
0.009125616,
-0.02232105,
-0.024027294,
0.07580206,
-0.0030541096,
0.023761567,
-0.014489101,
0.04061424,
-0.03515985,
0.032866206,
0.0039509377,
-0.032838233,
-0.018405074,
-0.0008317073,
0.014083519,
0.007713069,
0.0033932608,
-0.0046362327,
-0.05350898,
0.0056362045,
-0.011293388,
-0.024600705,
-0.0025191596,
0.015286282,
-0.012705935,
-0.009244494,
0.028041167,
-0.040670183,
0.03661435,
0.029621542,
-0.030572563,
0.029034145,
-0.0087549975,
0.05420826,
-0.024446862,
0.046544142,
0.033117946,
0.01122346,
-0.008160609,
-0.0250902,
0.005034823,
0.039383505,
-0.020530889,
-0.03901988,
-0.049984604,
0.05756481,
-0.036474496,
-0.061480783,
0.025327956,
0.01393667,
-0.037313633,
-0.010873819,
-0.03292215,
0.025439842,
0.05490754,
0.028894288,
-0.006954349,
0.005433413,
-0.027663555,
0.063159056,
-0.0014431411,
-0.0137898205,
0.02030712,
0.010440265,
0.023216128,
0.025789483,
0.039859015,
-0.05985845,
0.026880361,
-0.0074053854,
0.020349076,
-0.013146482,
-0.026964273,
0.026628619,
0.03429274,
0.04743922,
-0.031076046,
0.025020273,
0.056725673,
0.014405188,
0.032250836,
0.0358871,
0.025355928,
0.010300409,
-0.015076498,
0.004992866,
0.045341376,
0.0045383335,
0.033733312,
-0.009489243,
0.014698885,
-0.0026799943,
-0.001589116,
0.016139405,
0.011866798,
-0.008559199,
0.059746567,
0.0004455731,
0.05879554,
-0.028810376,
-0.0055068377,
-0.006814493,
0.00983189,
0.021705681,
0.011810855,
-0.0022971379,
-0.020922486,
0.026614634,
-0.016894627,
0.00885989,
0.0075172703,
-0.0065103057,
-0.020544875,
-0.025929337,
-0.022460904,
-0.029565599,
0.008943804,
0.016656872,
0.03348157,
-0.010559143,
0.02959357,
-0.054795656,
0.01806942,
0.0650611,
0.01998545,
-0.055886533,
-0.0038250668,
0.043159623,
0.004293585,
0.011719949,
-0.023901423,
0.043299478,
-0.054515943,
0.016880643,
0.016461074,
0.0019142816,
-0.074179724,
-0.021831552,
-0.0036922034,
0.01577578,
0.000061678766,
-0.012971662,
-0.017440068,
0.004835528,
0.048026618,
-0.037453488,
-0.010426279,
-0.06209615,
-0.021300098,
0.0027394332,
0.0099158045,
-0.002185253,
-0.015006569,
-0.007685098,
-0.0799418,
0.039215676,
0.030404735,
0.020223206,
-0.0035943042,
-0.018502975,
-0.009636092,
0.002367066,
-0.00062673056,
0.020293133,
-0.0060557732,
-0.02023719,
0.0060557732,
0.007115184,
-0.007090709,
0.020195235,
0.04673994,
-0.01787362,
0.072165795,
-0.03250258,
-0.010118595,
-0.029174002,
0.020740673,
-0.033062004,
0.04634834,
0.023733595,
-0.0038320597,
-0.008643113,
0.036026955,
-0.011950712,
-0.013964641,
-0.007943831,
0.0030873255,
-0.0056012403,
0.008419342,
0.009489243,
0.012398251,
0.022642717,
-0.016712815,
-0.0460966,
0.03658638,
-0.014545044,
0.019398054,
0.036698263,
0.0016826448,
-0.011538136,
-0.045928773,
0.0078039756,
0.017412096,
-0.038516395,
0.0069718314,
-0.0021030875,
-0.009384351,
0.0019632312,
-0.017677823,
0.006968335,
0.017775722,
0.0031572536,
0.01998545,
-0.045677032,
-0.06052976,
-0.020181248,
-0.038684223,
-0.005181672,
0.042292513,
0.005433413,
0.004915945,
-0.021439955,
-0.037705228,
0.0049963626,
-0.04352325,
0.0008907091,
-0.06371848,
-0.04103381,
0.0009798674,
0.004975384,
-0.064949214,
0.0251881,
-0.010789906,
-0.014517073,
0.046795882,
-0.027062174,
0.04072612,
-0.038460452,
-0.049285322,
0.06623589,
-0.021971408,
-0.041928887,
-0.009817905,
0.04427847,
-0.028041167,
-0.0026223036,
0.0057900464,
-0.06573241,
-0.05694944,
-0.034013025,
0.050655913,
-0.02180358,
-0.010524179,
-0.04587283,
-0.019384068,
-0.0025366417,
0.045257464,
0.025299985,
-0.02381751,
0.034880135,
-0.02055886,
0.003894995,
-0.036642324,
-0.020027407,
-0.007468321,
-0.015845707,
0.029062117,
0.026223036,
0.024880417,
-0.009580149,
-0.004846017,
0.0377332,
0.006831975,
0.028530663,
-0.062711515,
-0.064445734,
0.047746904,
-0.010859833,
-0.02155184,
0.022390977,
-0.02078263,
-0.0006494572,
-0.029285887,
0.07026375,
-0.037789144,
-0.017356154,
-0.011978683,
-0.063159056,
0.02854465,
-0.04136946,
0.025845425,
0.008328436,
0.024153164,
-0.0034964047,
0.04520152,
-0.03278229,
0.0126499925,
-0.039551333,
-0.056362044,
0.020838574,
-0.006884421,
0.023789538,
-0.019705737,
0.008608148,
0.04990069,
-0.02416715,
0.02653072,
0.03974713,
-0.013195432,
0.0016031016,
0.0104542505,
0.03451651,
-0.012663978,
-0.012496151,
0.011048639,
0.017384125,
-0.030460678,
-0.023649681,
-0.061984263,
-0.034041,
-0.037397545,
0.0127339065,
0.027649568,
-0.033285774,
0.031243874,
-0.01015356,
-0.03115996,
-0.01829319,
0.044110645,
-0.012538108,
0.017957535,
0.04763502,
0.014125476,
0.0040033837,
0.029201973,
-0.010244466,
-0.02232105,
-0.012139518,
0.05851583,
-0.03096416,
-0.03888002,
0.058403946,
-0.008230537,
-0.032810263,
-0.052334186,
0.004164218,
-0.02359374,
0.01015356,
0.00087104185,
-0.025355928,
-0.046460226,
0.014754828,
-0.026488762,
0.026111152,
-0.041956857,
0.011062625,
0.01806942,
-0.009761962,
-0.029453713,
0.0045732977,
0.045537177,
0.0036502467,
0.010985704,
-0.029929224,
0.005950881,
-0.053285208,
-0.0008688566,
0.048306327,
0.0009396588,
0.016880643,
0.04402673,
0.015538023,
0.07048752,
-0.013866741,
0.028488707,
0.013426195,
-0.031243874,
-0.012761878,
-0.030824305,
0.015062512,
-0.017118398,
0.012601043,
0.01281782,
-0.019551896,
0.0014781051,
0.029174002,
-0.0190624,
-0.048530098,
0.02560767,
-0.04606863,
-0.03155156,
-0.0054194275,
-0.022810545,
0.012258396,
0.01819529,
0.010643057,
-0.046432257,
-0.038572337,
0.037313633,
0.0020628788,
-0.05258593,
-0.055438995,
-0.025299985,
-0.04520152,
-0.0021974905,
-0.02269866,
-0.031467643,
-0.022936415,
-0.017649852,
0.020796616,
0.02404128,
-0.0022656703,
0.06785823,
-0.009300437,
0.0001357042,
0.0023425913,
-0.016307233,
-0.03476825,
0.005234118,
-0.02030712,
0.07222174,
0.02269866,
0.008692062,
-0.0002419075,
-0.016083462,
0.003083829,
-0.004052333,
-0.011852812,
-0.008594163,
-0.0017936557,
-0.026572676,
0.025495784,
0.0012219935,
-0.05468377,
-0.0066641476,
0.0016826448,
-0.005978852,
-0.043663103,
0.024125192,
0.056725673,
0.056529872,
0.036082897,
0.027090145,
-0.01774775,
-0.015412153,
0.025216071,
0.03932756,
-0.0038215704,
0.018950514,
-0.009006739,
-0.0020908501,
0.009391343,
0.019691752,
-0.039607275,
0.010188524,
-0.031355757,
0.003954434,
-0.047718935,
0.059802506,
0.0076151695,
0.06080947,
0.006548766,
0.0024002818,
-0.030600535,
0.004674693,
-0.024320992,
-0.012328323,
-0.064669505,
-0.013062568,
0.013104525,
-0.06864142,
0.014964612,
-0.0105381645,
-0.029705456,
-0.0021223177,
0.05756481,
-0.01602752,
-0.028208993,
0.04377499,
0.01704847,
0.039215676,
-0.036222752,
-0.02892226,
-0.008615142,
-0.018600874,
-0.04785879,
-0.049341265,
0.010594106,
0.04925735,
-0.012656986,
-0.04539732,
-0.046656027,
0.020642774,
0.011866798,
0.050068516,
-0.044781953,
0.011943718,
-0.0703197,
0.041173663,
-0.059075255,
-0.008041731,
-0.0014466374,
0.011335344,
0.011999661,
-0.014628958,
0.015593966,
-0.0018530946,
0.030656477,
-0.040949892,
0.0023828,
0.038040884,
0.01826522,
0.01841906,
0.019328127,
-0.0041817003,
0.037173778,
-0.011335344,
0.043327447,
-0.0066536586,
0.0012997885,
-0.018237248,
-0.03406897,
0.038572337,
0.025034258,
-0.009006739,
-0.015565994,
0.028013196,
-0.008880869,
0.021314085,
-0.045928773,
0.025048245,
-0.0381248,
-0.019593854,
0.011740928,
-0.033593457,
-0.018055435,
0.037341602,
-0.04153729,
-0.05493551,
-0.0005144086,
0.0087549975,
0.038180742,
-0.010915776,
-0.013824784,
-0.000008980024,
0.051634908,
0.0399709,
-0.0314117,
0.019342111,
-0.012524122,
0.018013477,
0.02675449,
0.009279459,
0.02620905,
-0.013503116,
0.0190624,
-0.0076571265,
-0.014405188,
-0.0018408571,
-0.015943605,
-0.036502466,
-0.00057297334,
-0.039831042,
-0.043635134,
-0.035215788,
0.04850213,
-0.031104017,
0.012286367,
0.047495164,
-0.03163547,
-0.01695057,
0.028055152,
-0.055634793,
0.013223403,
-0.0010471733,
0.017985506,
0.022111263,
0.08290675,
0.024446862,
-0.0052795713,
0.039831042,
0.009041703,
-0.02959357,
-0.021579811,
0.012510137,
-0.019453997,
-0.0020663752,
-0.015538023,
-0.044390354,
0.009440293,
0.0024492317,
-0.03932756,
-0.04198483,
0.015733821,
0.0046152542,
-0.041900914,
-0.011041647,
0.07630554,
0.011055632,
0.009999718,
-0.035215788,
-0.020768644,
-0.021397997,
0.0063215,
-0.043327447,
0.023272071,
-0.030292852,
-0.037425518,
-0.017258255,
-0.03451651,
0.0078109684,
0.038516395,
-0.046180516,
-0.019342111,
0.006209615,
0.047998644,
0.0037935993,
0.03837654,
0.014726857,
0.02959357,
0.0109717185,
0.030768363,
-0.01806942,
0.059522796,
0.062263977,
-0.01864283,
0.042180628,
0.03683812,
0.030880248,
-0.031943154,
-0.0040243617,
0.012915719,
0.028838348,
-0.03543956,
0.012300353,
-0.0042201607,
-0.012188467,
-0.048306327,
-0.043019764,
-0.037621316,
0.0168247,
-0.060194105,
-0.025258029,
-0.023677653,
-0.0058005354,
-0.032390695,
0.0060417876,
0.036082897,
-0.007384407,
0.23048301,
0.048865754,
0.042823967,
0.015244325,
0.0031590017,
0.031943154,
0.031691413,
-0.045173552,
0.018908557,
-0.028950231,
-0.011684985,
-0.034152884,
0.064445734,
0.0007661497,
0.010125589,
0.006779529,
-0.014922656,
-0.032166924,
0.017859636,
-0.053369123,
-0.0056257155,
0.014628958,
-0.042572226,
0.020460961,
-0.009300437,
0.022530833,
0.018656816,
-0.005297053,
-0.0019055406,
-0.037061892,
0.034264766,
0.0035453546,
0.03658638,
-0.03728566,
-0.01577578,
0.041061778,
-0.010118595,
-0.054767687,
0.03776117,
-0.04310368,
0.015887663,
0.0074753133,
-0.04377499,
-0.005950881,
-0.016293246,
0.043719046,
0.052697815,
0.012580064,
0.0056292117,
-0.1133954,
0.017454052,
-0.025146144,
0.030292852,
-0.013615,
-0.055019427,
-0.010048668,
-0.030348795,
-0.03317389,
0.039859015,
0.040977865,
-0.0046956716,
0.03026488,
-0.04128555,
-0.030348795,
-0.005660679,
-0.018810658,
0.01411149,
0.05194259,
-0.038068857,
0.036502466,
0.00471665,
-0.005122233,
-0.010573128,
0.039159734,
0.020335091,
0.03678218,
-0.0057410966,
0.018768702,
0.04313165,
-0.057396982,
-0.017104411,
-0.05171882,
-0.005181672,
-0.04287991,
0.020824587,
0.02854465,
-0.054991454,
0.01657296,
-0.024698604,
0.021649739,
0.016419116,
-0.0021223177,
0.015300267,
-0.048669957,
0.012796842
] | You can also set use_flash_attention_2=True to enable FlashAttention-2 but it is deprecated in favor of attn_implementation="flash_attention_2".
FlashAttention-2 can be combined with other optimization techniques like quantization to further speedup inference. For example, you can combine FlashAttention-2 with 8-bit or 4-bit quantization: |
[
0.048175175,
0.045190345,
0.013536209,
0.04778715,
-0.042653237,
0.00409295,
-0.0059062345,
-0.0011640842,
-0.025012886,
0.058323603,
0.026908252,
0.042862177,
-0.005227186,
-0.05074213,
-0.042832326,
0.017461263,
0.01343174,
-0.0707405,
-0.0019289472,
0.0014392483,
-0.020371472,
-0.0006664568,
-0.05372696,
0.018774588,
-0.0069173463,
0.032594357,
0.018729815,
0.0198939,
0.092887945,
0.029296119,
0.023207063,
-0.0022852614,
0.027161963,
-0.008685859,
-0.024356222,
-0.031370576,
0.005753262,
-0.002624786,
-0.013782458,
-0.04354869,
0.041847333,
0.00091876835,
0.030743761,
-0.034922525,
-0.064054474,
-0.021490784,
-0.020058066,
-0.023027973,
-0.009588771,
-0.045488827,
-0.0512794,
-0.008170975,
0.00011029884,
-0.0016836313,
-0.010208122,
0.0051973374,
-0.0030482588,
-0.0031620555,
-0.025848638,
0.024296526,
0.036176153,
0.014565976,
-0.0019289472,
-0.027878324,
0.0011006565,
0.019953597,
-0.031728756,
-0.032654054,
0.0015707674,
-0.05360757,
-0.0027199273,
0.02349062,
-0.03059452,
-0.011558759,
-0.03781781,
-0.01731202,
0.025341216,
0.022460856,
-0.022714565,
0.05342848,
0.016222557,
0.024520388,
0.019655114,
-0.01892383,
-0.03450465,
-0.07700864,
0.03593737,
-0.04722003,
-0.008588851,
-0.031728756,
-0.0049660127,
0.037967052,
0.006618863,
0.014879383,
-0.019192465,
0.06966596,
0.014297341,
0.033698745,
0.0126631465,
0.009723088,
-0.00021826578,
0.0012788136,
-0.0026303825,
0.0057681864,
-0.034206167,
0.0011771428,
0.013043712,
-0.005354041,
0.005943545,
-0.013595906,
-0.027893247,
0.005518207,
-0.012484057,
-0.039459467,
-0.07229261,
0.012834774,
0.014222721,
0.022938428,
-0.051249553,
0.01910292,
0.017520959,
0.010461833,
0.011610993,
0.021610178,
-0.017983608,
-0.049458653,
-0.0016183382,
0.026460528,
-0.043339748,
-0.008469459,
0.006238297,
0.027788779,
0.013872003,
0.06345751,
0.004484709,
0.043220356,
0.01565544,
0.020087915,
0.06518871,
-0.025221823,
0.0015819605,
0.003813122,
0.017058311,
0.08972403,
-0.023833876,
-0.02201313,
0.022490703,
-0.02890809,
-0.015744984,
0.0040854877,
-0.032027237,
0.04402626,
0.007939651,
-0.0013870137,
0.001626733,
-0.010760317,
-0.002869169,
-0.008424686,
-0.016118089,
-0.022565324,
-0.004216074,
0.008932107,
-0.04581716,
0.05814451,
-0.01037975,
0.03169891,
-0.0076710163,
-0.0021285578,
0.027206736,
-0.05587604,
0.026729163,
-0.0028132035,
0.027355978,
0.0020390127,
0.019132769,
0.040444463,
0.057517696,
-0.005555517,
0.025191976,
0.01228258,
-0.023296608,
0.0066673667,
0.013401892,
0.036653727,
0.012864622,
-0.008163514,
0.00046474754,
0.014297341,
0.0028299931,
-0.016312102,
0.011036414,
0.013349658,
0.012901933,
0.012730305,
0.002240489,
0.014439121,
-0.024609933,
-0.012185574,
-0.01562559,
-0.055010438,
-0.01555097,
0.03745963,
-0.012707919,
0.04471277,
-0.039340075,
0.013939162,
0.023132442,
0.01925216,
-0.014237645,
-0.0059510074,
0.040563855,
0.028460365,
0.0014952138,
0.025624776,
-0.011834856,
-0.006152483,
-0.026296362,
0.004029522,
0.02502781,
0.012864622,
-0.02078935,
0.011409517,
0.030027403,
-0.0060629384,
0.025356142,
-0.043877017,
0.011245351,
0.010491681,
0.01573006,
0.019655114,
-0.025132278,
0.013685451,
-0.00843961,
0.0019643921,
0.023102593,
0.011021489,
0.033937532,
0.0142824175,
-0.00016649762,
0.003361666,
0.014155562,
-0.014707755,
0.033340566,
0.019938672,
0.029340891,
0.020237155,
-0.0008660674,
-0.026759012,
-0.018073153,
-0.011663228,
-0.034713585,
0.06906899,
0.022565324,
0.00545851,
0.0037683493,
-0.03537025,
0.016386723,
0.029743843,
-0.004581716,
-0.021625102,
0.018252242,
0.04593655,
0.04029522,
-0.048205025,
0.004686185,
0.015968846,
0.011028951,
0.054920893,
0.029236421,
-0.024714403,
-0.021968357,
-0.05563725,
-0.049279563,
-0.0034269593,
0.024445767,
-0.0065405113,
0.021729572,
-0.04139961,
0.0010204392,
-0.0020949785,
-0.0018552592,
-0.009215666,
-0.011073723,
0.059607077,
-0.024699477,
-0.019147692,
-0.034415103,
0.021102756,
0.02775893,
0.07724743,
0.025580004,
0.010051419,
-0.030176643,
-0.049458653,
0.018103002,
-0.015998695,
0.037220843,
0.0198939,
0.002441965,
-0.0021770613,
0.034594193,
-0.0026658273,
-0.00057318085,
-0.023714485,
-0.035967216,
-0.010812551,
0.04593655,
-0.05250318,
0.027370902,
0.078560755,
-0.042115968,
0.013148181,
0.015416653,
0.07115837,
-0.033639047,
0.03993704,
0.030266188,
-0.026326211,
-0.0030352003,
-0.06978536,
-0.03734024,
-0.012379588,
0.030863155,
-0.008170975,
0.029460283,
0.03271375,
-0.018774588,
-0.060950253,
0.0118796285,
-0.02111768,
-0.01741649,
-0.00368067,
-0.034803133,
0.021281846,
0.034176316,
0.030863155,
-0.03734024,
-0.030266188,
-0.025535231,
0.051518187,
-0.0021807924,
-0.01662551,
0.03235557,
0.04053401,
0.013551134,
0.006809146,
0.07700864,
-0.03375844,
-0.023147365,
0.020401321,
0.023102593,
0.019819278,
0.017147856,
-0.0048354263,
0.02962445,
-0.00235242,
-0.021804191,
0.031937692,
-0.00610398,
0.03548964,
-0.002229296,
0.036295548,
0.03784766,
0.028490214,
-0.02589341,
-0.0081112785,
0.029311042,
-0.004507095,
0.04223536,
-0.006611401,
0.010797627,
-0.012506443,
0.0062905317,
-0.00804412,
-0.04405611,
-0.0030426623,
0.04047431,
-0.064293265,
0.017804518,
-0.059666775,
-0.012125877,
0.021595255,
-0.018371636,
0.018267168,
0.017177703,
0.016565813,
-0.010424523,
0.013409354,
-0.010939406,
0.032236177,
0.008454534,
-0.00373477,
0.002309513,
-0.007738175,
-0.044682924,
-0.0018963006,
0.006615132,
0.072531395,
0.009999185,
0.0111558065,
0.032594357,
-0.05056304,
0.05521938,
0.01856565,
0.01928201,
-0.063935086,
-0.014073479,
0.06172631,
-0.029057331,
0.02456516,
0.0021565405,
0.01152891,
-0.024908416,
0.010409599,
0.0071300156,
0.009051501,
-0.03913114,
-0.00994695,
0.0221176,
0.029325966,
-0.007879955,
-0.048234873,
-0.031907845,
0.015162942,
0.044473983,
-0.057159517,
-0.00614129,
-0.018535802,
-0.017938836,
0.010029033,
-0.014588363,
-0.023714485,
-0.02811711,
-0.059547383,
-0.0053316546,
0.035668734,
0.05515968,
0.023147365,
0.0038429701,
-0.012297505,
0.022565324,
-0.01555097,
-0.019684961,
0.01008873,
0.02696795,
0.0029792346,
0.021669874,
0.024475615,
0.0005396015,
-0.015700212,
0.06608416,
-0.036713425,
0.010961792,
-0.012148263,
-0.032146633,
-0.02732613,
-0.009864867,
0.002678886,
0.010939406,
0.00053633685,
-0.028564835,
0.013133258,
0.009305211,
-0.015461425,
-0.034415103,
-0.01565544,
0.018476104,
-0.0030799727,
0.029012559,
0.00026140592,
0.00015169005,
0.015670363,
0.07545653,
-0.0017881005,
0.0035631421,
0.031549666,
0.05092122,
-0.030102022,
-0.0080291955,
-0.0068278015,
-0.032773446,
0.032594357,
0.006700946,
-0.034206167,
-0.015849454,
-0.035788126,
-0.029490132,
0.0051600267,
-0.028027564,
0.056114826,
0.0029046137,
-0.014409273,
0.006641249,
-0.035429947,
-0.021565406,
-0.015983772,
-0.028206654,
-0.011028951,
0.07408351,
0.0198939,
0.020267004,
-0.036862664,
0.015834529,
0.043697927,
-0.029848311,
-0.017371718,
-0.0040631015,
-0.03659403,
-0.011424442,
-0.04295172,
-0.02158033,
0.027206736,
-0.00016171722,
0.018192546,
0.014163024,
0.005559248,
0.035519492,
-0.030654216,
-0.03531055,
0.061248735,
-0.023938347,
-0.05056304,
-0.02862453,
0.043727778,
0.0062942626,
0.021699723,
0.008469459,
-0.03357935,
-0.04068325,
-0.07020323,
0.015953923,
0.02423683,
-0.0041675707,
-0.0318183,
-0.06047268,
-0.030982548,
0.030833306,
0.00689496,
-0.06626325,
0.0013972741,
-0.05166743,
0.055010438,
-0.028355896,
-0.0327436,
0.017013539,
0.0030221415,
0.027818626,
0.03593737,
0.026759012,
-0.03414647,
0.049458653,
0.0050480957,
0.021610178,
0.069546565,
-0.045787312,
-0.017968684,
0.0035780664,
0.0096186185,
0.00976786,
-0.02158033,
-0.011655766,
0.038235687,
-0.039041594,
0.046593215,
-0.047936387,
-0.019729733,
-0.04829457,
-0.024953188,
0.060711466,
-0.03408677,
-0.012461671,
0.013663065,
0.018401485,
0.014662983,
0.037190996,
-0.0153718805,
-0.009349984,
-0.018968603,
-0.028893165,
0.007656092,
-0.020356549,
0.014267493,
-0.0059845867,
-0.0004892325,
0.06292024,
-0.023789104,
0.053100146,
0.0672184,
-0.03925053,
-0.038653564,
-0.03575828,
0.0058875796,
0.008417224,
-0.032325722,
0.024012966,
0.0015343898,
-0.012894471,
-0.04593655,
-0.040086284,
-0.03217648,
-0.0379969,
0.029654298,
0.03199739,
-0.01777467,
0.023177214,
-0.0068651116,
-0.060711466,
-0.053697113,
0.046443973,
-0.014215259,
0.019684961,
0.0326839,
0.024818871,
-0.035101615,
0.022401158,
-0.068233244,
-0.034564346,
-0.035609037,
0.04668276,
-0.016729979,
-0.053846356,
0.035638884,
0.020490866,
-0.021669874,
-0.09444006,
0.0024979305,
-0.025654623,
-0.009044038,
-0.0000036618108,
-0.024281602,
0.016312102,
-0.013327272,
-0.038802806,
0.001312393,
-0.026594846,
0.0110588,
-0.0018972333,
0.0030575865,
-0.015267411,
0.022132523,
0.059338443,
-0.021938508,
0.017147856,
-0.024729326,
0.002236758,
-0.055995435,
-0.00046451436,
0.032027237,
-0.0070852432,
0.021625102,
0.033191323,
0.015939,
0.01303625,
-0.026027728,
0.02147586,
0.039578862,
-0.023565242,
-0.02898271,
-0.021669874,
0.051160008,
-0.0198939,
0.023789104,
-0.008245596,
0.0030184106,
-0.029848311,
0.005909966,
-0.01590915,
-0.06948687,
0.025415838,
0.0035202352,
-0.049846683,
-0.06853172,
-0.039459467,
0.0072158296,
0.05515968,
-0.049398955,
-0.03644479,
-0.006771836,
0.035280704,
-0.03569858,
-0.042026423,
0.013118333,
-0.0075926646,
-0.04313081,
-0.029505055,
-0.0054100067,
-0.060174197,
0.011767697,
-0.014133176,
-0.0086709345,
-0.019386478,
-0.0040668324,
-0.0054883584,
-0.025072582,
0.023580166,
-0.009514149,
-0.0011286393,
-0.025221823,
-0.011924401,
0.0061002485,
0.01996852,
0.03641494,
-0.0198939,
0.009999185,
0.02668439,
0.03375844,
0.00018655194,
0.005357772,
0.03396738,
-0.0137526095,
-0.006723332,
-0.012230346,
0.018192546,
-0.02998263,
-0.023789104,
-0.045399282,
-0.027445523,
-0.004801847,
0.016103163,
-0.0044473982,
0.08035166,
0.014424196,
-0.005324193,
0.015215177,
0.009529074,
0.033818137,
0.028281275,
0.010909558,
-0.0024941997,
0.024759175,
-0.058741476,
-0.008544079,
-0.009133584,
-0.021998206,
0.008081431,
0.00024601538,
0.025550155,
-0.024356222,
0.037190996,
-0.016162861,
0.016073316,
0.0032777179,
-0.02334138,
-0.015640516,
0.01547635,
0.0031825763,
-0.018177621,
-0.060233895,
-0.036355242,
-0.0068651116,
-0.03763872,
-0.015006239,
-0.00915597,
-0.025251672,
0.012439284,
0.023639863,
-0.012446746,
-0.020565487,
0.054532867,
0.016685206,
-0.0010903962,
-0.062442668,
-0.018774588,
0.012372125,
-0.012409436,
-0.0424443,
-0.04068325,
0.026594846,
0.040593702,
0.0062793386,
-0.015506198,
-0.029952781,
0.02438607,
0.022460856,
0.025699396,
-0.024400994,
0.026624694,
-0.058681782,
0.033728592,
-0.002430772,
-0.028087262,
0.021804191,
0.026908252,
0.04453368,
0.02086397,
-0.016894145,
0.007663554,
0.01670013,
-0.06626325,
0.009245515,
0.03253466,
0.05110031,
-0.0066673667,
0.024221905,
0.01339443,
0.017819442,
0.019476024,
0.00488393,
0.001316124,
0.015103246,
-0.017565731,
-0.024162209,
-0.008215748,
0.0397878,
0.0084470725,
-0.05695058,
0.012148263,
0.017177703,
0.029042408,
-0.024296526,
0.015819605,
-0.017371718,
0.0076934025,
-0.011976635,
-0.026191894,
-0.07485957,
0.034116622,
-0.026236666,
-0.0451008,
-0.012618374,
-0.002438234,
0.035459794,
0.0256397,
-0.023416001,
0.0042235362,
0.06032344,
0.05423438,
0.011902015,
0.04319051,
-0.022475779,
0.019237237,
0.022087751,
0.024221905,
0.0002942857,
-0.05674164,
-0.022460856,
-0.0067345253,
-0.03131088,
0.019640189,
-0.019774506,
-0.026266515,
-0.019774506,
-0.019640189,
-0.033310715,
-0.016894145,
0.023281684,
-0.08148589,
-0.020640107,
0.055816345,
-0.02122215,
-0.053876203,
0.02068488,
-0.00039502376,
0.009611157,
0.015401729,
0.04136976,
-0.012722843,
0.07987408,
-0.00263971,
-0.010215585,
0.03605676,
0.00026047317,
-0.018416408,
-0.0017032193,
-0.01296163,
-0.029460283,
-0.016461344,
-0.025221823,
-0.0054920893,
-0.04525004,
-0.0059062345,
0.009835019,
-0.06262176,
0.012618374,
-0.025490459,
-0.045369435,
-0.023968194,
0.06572598,
0.009103735,
-0.021759419,
-0.018849209,
-0.019938672,
-0.015580819,
-0.015789757,
0.014819687,
-0.022072827,
-0.060054805,
-0.05835345,
-0.045011256,
-0.040086284,
-0.019505871,
-0.009103735,
-0.038772956,
-0.03489268,
0.05563725,
0.002721793,
0.041966725,
0.032236177,
-0.01899845,
-0.017506035,
0.053279236,
0.07336715,
-0.020744577,
0.011663228,
0.07408351,
0.025520306,
-0.02678886,
-0.010625999,
0.010864786,
-0.008947032,
0.01493908,
-0.015021163,
0.0068054153,
-0.029385664,
-0.041638397,
-0.0014896173,
0.014013782,
0.035041917,
-0.015894227,
-0.057905726,
-0.022341462,
-0.049936228,
0.009484301,
-0.02061026,
0.04011613,
-0.01242436,
-0.0099544125,
0.011752773,
-0.035250857,
0.2669633,
0.06608416,
0.046235036,
-0.00621218,
0.0020744577,
0.017894063,
0.02122215,
-0.034564346,
0.0045444053,
0.0008506769,
0.014349576,
-0.01325265,
0.02898271,
-0.007297912,
0.009745474,
0.023207063,
-0.012476594,
-0.027549991,
0.012319891,
-0.05372696,
-0.04205627,
0.007066588,
-0.004473516,
0.01831194,
0.009932025,
0.026669467,
0.023296608,
-0.0004887661,
-0.018714892,
0.0037590219,
0.041966725,
-0.024759175,
0.0530106,
-0.01741649,
-0.022699641,
0.06644234,
-0.014685369,
-0.044682924,
0.005462241,
-0.04704094,
0.03623585,
0.011073723,
-0.020520715,
-0.029475208,
-0.050443646,
0.06202479,
0.014118251,
0.029579677,
0.047339424,
-0.07002414,
0.0055853655,
-0.009932025,
0.04190703,
-0.011782621,
-0.067636274,
-0.011506524,
-0.020669956,
-0.025624776,
-0.016237482,
0.04919002,
0.0037571562,
0.011342359,
-0.02484872,
0.0029866968,
-0.055249225,
0.028773773,
-0.016133012,
0.021520633,
-0.02898271,
0.020058066,
0.02668439,
0.026475452,
0.010715544,
-0.01077524,
0.0016994883,
0.03698206,
0.020849045,
0.028176807,
0.0103722885,
-0.019610342,
0.0072195604,
-0.055368617,
-0.031758603,
-0.03766857,
-0.0023076476,
0.038922198,
-0.033489805,
0.0022348925,
-0.024953188,
0.025326293,
0.026415756,
0.021460935,
-0.0018412677,
-0.0051824134,
0.0009141046
] | For a single forward pass on meta-llama/Llama-7b-hf with a sequence length of 4096 and various batch sizes without padding tokens, the expected speedup is:
For sequences with padding tokens (generating with padding tokens), you need to unpad/pad the input sequences to correctly compute the attention scores. With a relatively small sequence length, a single forward pass creates overhead leading to a small speedup (in the example below, 30% of the input is filled with padding tokens): |
[
0.030163357,
0.009900024,
-0.0051531442,
-0.008823779,
-0.02647134,
0.006222261,
-0.0077404077,
-0.0031663685,
-0.017918402,
0.048038993,
0.028096396,
-0.013385346,
0.002809996,
-0.051659737,
0.00003939585,
0.04675605,
-0.012829405,
-0.031759903,
-0.03221606,
-0.020954695,
-0.005709085,
-0.016649716,
-0.08991987,
-0.05262907,
-0.00042564224,
0.047383267,
0.0471837,
0.00027529764,
0.054596245,
0.04618586,
-0.026072202,
-0.0057732323,
0.02886616,
-0.021140007,
-0.04823856,
-0.03130375,
0.016022502,
-0.023406537,
-0.03107567,
-0.03643551,
0.032757748,
-0.0037062725,
0.0123803755,
-0.04604331,
-0.06477424,
-0.009500887,
-0.016692482,
-0.03643551,
0.024375869,
-0.03241563,
-0.03409771,
-0.0054703155,
0.04612884,
0.0039486056,
-0.04989213,
-0.04821005,
-0.0036563803,
-0.009351211,
-0.046870094,
-0.009458123,
0.032045003,
0.042023428,
-0.034468334,
-0.032045003,
-0.013028974,
0.0538835,
0.004315669,
0.043990605,
0.0061688055,
0.005684139,
-0.034953002,
0.043876566,
-0.028794887,
-0.052229933,
-0.021539146,
0.01826052,
0.038231626,
-0.011097435,
-0.023420792,
0.04860919,
-0.003909405,
0.025430731,
0.011033288,
0.015837187,
0.005527335,
-0.020455774,
0.043562956,
-0.0017586976,
-0.049008325,
-0.034525353,
-0.027982358,
0.025473496,
-0.030362925,
0.016692482,
0.043990605,
0.04433272,
-0.009108878,
0.01878795,
-0.007604986,
-0.02166744,
0.029137004,
0.08438897,
-0.030191867,
-0.0023271115,
-0.028880415,
-0.01948644,
0.011097435,
-0.008659848,
-0.027355142,
-0.022052322,
-0.00056039554,
0.00042653317,
0.0068601677,
0.011703269,
0.008225074,
0.009821622,
-0.0024589694,
0.025758594,
-0.045501623,
-0.021781478,
0.018488597,
-0.0033695006,
-0.01488211,
-0.061353065,
0.0031984418,
-0.028723612,
-0.009201534,
0.030448454,
-0.030448454,
-0.000991606,
-0.011931347,
0.0021970356,
0.05288566,
0.06534444,
0.013499385,
-0.0009221135,
0.0027013025,
0.016421638,
0.027241103,
-0.0022861287,
-0.005256492,
-0.005659193,
-0.010434583,
0.0935121,
0.023263987,
-0.03806057,
0.006389756,
-0.035523195,
-0.045302056,
0.01044171,
-0.04570119,
0.0008312385,
0.010334798,
0.010092465,
0.004654223,
-0.0069813346,
0.0037347823,
0.038630765,
0.0067496924,
0.012373248,
0.024660967,
-0.007982741,
-0.016934814,
0.04823856,
-0.0073555256,
0.01446159,
-0.040056255,
-0.021453615,
0.01619356,
-0.022422949,
0.0037347823,
-0.008346241,
0.0002430014,
0.023976732,
0.04467484,
0.010976269,
0.054368168,
0.013898522,
-0.0035940153,
0.0052315462,
-0.018460087,
0.011567847,
-0.024760751,
0.036007863,
0.027212594,
0.011396788,
-0.011902837,
-0.003966424,
-0.023705889,
-0.0012392849,
0.03652104,
0.046670523,
-0.020569813,
0.030505475,
-0.034382805,
0.021909773,
-0.03749037,
0.0033908829,
-0.01828903,
-0.043990605,
0.007947103,
0.03241563,
-0.04188088,
-0.004679169,
0.0013034319,
0.02761173,
0.012772385,
0.04441825,
-0.0048324093,
0.0023253297,
0.038203117,
0.030733552,
-0.041567273,
-0.008887926,
-0.0018237355,
0.015651874,
-0.023378026,
0.029194023,
0.013435238,
0.014810835,
0.0026015183,
0.025302438,
0.05131762,
0.015979737,
0.006706928,
-0.026699416,
-0.036036372,
0.042650644,
0.020142166,
0.007141702,
0.002075869,
0.026599633,
0.012986208,
0.05798891,
-0.0014254894,
0.032444138,
0.03221606,
0.03218755,
0.020669596,
-0.017775852,
-0.008666975,
0.034953002,
0.03110418,
0.04333488,
0.0046756053,
0.013834375,
-0.016606951,
-0.0110903075,
-0.016279088,
0.04302127,
-0.038630765,
0.081195876,
0.004294287,
-0.020826401,
-0.043676995,
-0.015309757,
0.020527048,
0.029507631,
-0.009957043,
-0.030705042,
0.031930964,
0.011631994,
-0.006842349,
-0.03472492,
0.020783637,
0.064090006,
-0.015452306,
0.0010299161,
0.0014076708,
-0.04826707,
-0.043762524,
-0.02085491,
-0.06608569,
0.020099401,
-0.048096012,
-0.014112345,
0.031617355,
-0.009686201,
0.028139161,
-0.011026161,
0.019372402,
0.0020259768,
-0.022522733,
0.035352137,
0.04042688,
0.046841584,
-0.043990605,
0.021966793,
-0.029251043,
0.011396788,
-0.02979273,
0.01549507,
-0.0050497963,
-0.044161662,
0.034496844,
0.014283404,
-0.00026393827,
-0.04957852,
-0.01831754,
0.0053776586,
0.021895517,
0.013100248,
0.0057803597,
0.010021191,
-0.02219487,
0.00301491,
0.0163076,
-0.041624293,
0.04712668,
0.03791802,
-0.029022966,
0.022793576,
0.015723148,
0.038117588,
-0.047782406,
0.041367702,
0.05428264,
-0.0009835877,
-0.043078292,
-0.050519343,
-0.03643551,
0.048381113,
-0.036977194,
0.015694639,
0.00067488017,
0.054824322,
-0.02819618,
-0.05644938,
0.009843005,
-0.03791802,
-0.02982124,
-0.039628606,
-0.011218602,
0.047981974,
0.007932848,
0.025787104,
-0.04974958,
0.013812993,
-0.008274966,
0.04182386,
0.014497227,
-0.024860535,
0.024447143,
0.035808295,
-0.005256492,
0.010919249,
0.045302056,
-0.043876566,
-0.014319042,
-0.019443676,
-0.008895054,
-0.014597012,
0.019842813,
0.00032563525,
-0.003093312,
0.029022966,
0.00425865,
0.015053168,
0.030591004,
0.02982124,
0.015452306,
0.01957197,
0.005117507,
0.011076053,
-0.0037526009,
-0.0109691415,
-0.0014201439,
0.019586224,
0.035352137,
-0.03409771,
0.018702421,
-0.0110903075,
-0.03107567,
0.0026460649,
-0.009009093,
-0.036948685,
0.034525353,
0.030562494,
0.049036838,
0.01491062,
-0.012957699,
-0.01619356,
0.020313224,
0.031588845,
0.03469641,
-0.008845162,
0.02577285,
0.018346049,
-0.043648485,
-0.019871322,
0.0039022772,
-0.007113192,
-0.0109335035,
-0.005684139,
-0.031959474,
-0.039600097,
0.0033980105,
0.038687784,
0.03940053,
0.028381495,
0.033413474,
-0.041624293,
-0.022180615,
-0.0065821973,
-0.008125289,
0.0012081023,
-0.036920175,
0.045587152,
0.0015644747,
-0.021895517,
-0.011311258,
-0.015195717,
-0.03657806,
0.0337841,
0.004960703,
0.0023948222,
-0.057561263,
0.012900679,
-0.034012176,
0.018174991,
-0.060269695,
-0.027369397,
-0.023121439,
0.026927495,
0.05647789,
-0.07218678,
0.006461031,
-0.035494685,
-0.023819929,
0.029279552,
0.011396788,
-0.0148535995,
-0.0024518417,
-0.017020343,
-0.04296425,
0.046813074,
0.030277396,
-0.012016876,
0.023278242,
-0.037262294,
0.017205657,
0.009215789,
0.007847319,
-0.020142166,
0.052201424,
-0.033499002,
-0.00781881,
-0.018631147,
-0.029707199,
-0.008802397,
0.04330637,
-0.055594087,
0.034810454,
-0.031189708,
-0.010398946,
-0.046014797,
-0.0139484145,
0.060440753,
0.03472492,
-0.0062080063,
-0.04564417,
-0.021895517,
0.031788412,
-0.026400065,
-0.034610882,
0.00090830406,
0.027055789,
0.016478658,
0.050832953,
-0.005031978,
-0.002398386,
0.068309456,
0.005302821,
-0.022209125,
-0.020569813,
-0.031360768,
0.016906304,
-0.0024803516,
-0.024190556,
0.005994183,
-0.058502086,
0.04322084,
-0.030533984,
-0.03760441,
0.015309757,
-0.066484824,
-0.0013907431,
0.02630028,
-0.0115963565,
0.012964826,
0.019928342,
-0.02630028,
-0.016792266,
-0.019158578,
-0.006763947,
-0.046014797,
-0.070533216,
-0.015993992,
0.07007706,
0.015666129,
0.03942904,
-0.047896445,
-0.03478194,
0.031731393,
-0.013841502,
0.046584994,
0.0025836995,
-0.023976732,
-0.0037739833,
0.0037169636,
-0.048780248,
0.008745378,
-0.0024055133,
-0.019885577,
-0.00940823,
-0.0014531083,
-0.02094044,
-0.028039377,
-0.04726923,
0.065572515,
-0.034211747,
-0.061809223,
-0.029022966,
0.03270073,
0.008453152,
-0.012736748,
0.02306442,
-0.029906768,
-0.026357299,
-0.01610803,
0.044161662,
-0.028181925,
0.04761135,
-0.0445608,
-0.060839888,
0.035694256,
0.022608262,
0.008624211,
-0.077660665,
0.0035031403,
-0.02571583,
-0.010113847,
-0.03606488,
-0.028965944,
-0.041681312,
0.008168055,
0.015338266,
0.022522733,
0.009536524,
0.022708047,
0.0010521894,
0.0053669675,
0.039600097,
0.016065266,
-0.051859304,
-0.004882301,
0.0020936877,
0.012751003,
0.00024255594,
0.058616124,
0.010006935,
0.016179305,
0.01948644,
0.027255358,
-0.05539452,
-0.029251043,
-0.0643751,
0.012644092,
0.05787487,
-0.043819547,
-0.00027930684,
0.020512793,
0.031474806,
0.044817388,
0.045130994,
-0.027654495,
-0.003444339,
-0.017775852,
-0.06882263,
0.036806136,
-0.03788951,
0.0121879345,
-0.010798083,
-0.014269149,
0.048751738,
-0.040597938,
-0.0008944946,
0.08153799,
0.017462246,
0.0060797124,
-0.08296348,
0.050319776,
0.01686354,
0.014425953,
0.010605642,
0.007968486,
-0.018517107,
-0.019087303,
-0.013934159,
-0.033955157,
-0.04729774,
0.029251043,
0.021040224,
0.006806712,
0.020826401,
0.0027654495,
-0.042308528,
-0.027740024,
0.037376333,
0.053284794,
0.011888582,
0.01948644,
0.03506704,
-0.012138043,
0.031788412,
-0.014041071,
-0.026114967,
0.00012718038,
0.047981974,
-0.0051852176,
-0.013171522,
0.008880799,
0.041681312,
-0.04872323,
-0.048951305,
-0.009486632,
0.010156612,
-0.035409156,
-0.014397443,
-0.017148638,
-0.035380647,
-0.020170676,
-0.017661814,
-0.00059870555,
-0.013143012,
-0.01878795,
0.0074196723,
-0.019600479,
-0.046499465,
0.013257052,
0.055166442,
-0.02688473,
-0.007811682,
-0.064090006,
-0.016706737,
-0.039657116,
-0.018944755,
0.06300663,
-0.011838689,
0.04079751,
0.0337841,
0.01443308,
0.05265758,
-0.0073056333,
0.021211283,
0.016478658,
-0.018916246,
-0.054795813,
-0.033955157,
0.024689477,
-0.0047860807,
0.014511483,
-0.027397906,
0.004821718,
0.0043905075,
0.023321006,
-0.013135885,
-0.059756517,
0.01808946,
-0.03894437,
-0.034468334,
0.026628142,
-0.024033751,
0.00023654215,
0.06865157,
0.0133211985,
-0.013684698,
0.019030284,
0.030305905,
-0.050376795,
-0.024917556,
-0.028025122,
0.024646712,
-0.07965635,
-0.0054988256,
-0.043876566,
-0.022465713,
0.0023894766,
0.0170346,
0.0019440112,
-0.0010005154,
-0.0056520654,
0.05813146,
-0.0010129884,
0.01488211,
0.021824243,
0.028880415,
0.006571506,
-0.0052529285,
-0.038659275,
0.03503853,
0.031674374,
-0.048409622,
0.030391434,
-0.010612769,
0.012644092,
-0.0018201718,
0.01616505,
0.052686088,
-0.031189708,
0.015053168,
-0.0034817578,
0.023021655,
-0.053398833,
0.004319233,
-0.04034135,
-0.008595701,
-0.0045580026,
0.028552553,
-0.002357403,
0.027968103,
0.025231162,
-0.00018297494,
-0.0012330484,
0.038602255,
0.016393129,
0.0013372872,
0.017718833,
-0.020569813,
0.004796772,
0.0043905075,
0.02641432,
0.036777627,
-0.030419944,
0.013677571,
-0.023321006,
-0.029151259,
-0.024418633,
0.009151642,
0.032985825,
0.05282864,
0.034582373,
-0.04590076,
-0.019030284,
-0.01083372,
-0.034012176,
0.009230044,
-0.06585761,
-0.01409809,
-0.018346049,
-0.084160894,
0.018645402,
-0.019614734,
-0.0039806794,
0.013748845,
0.029935278,
-0.005619992,
0.0027654495,
0.0059086536,
-0.010256397,
0.0016696044,
-0.060383733,
-0.013071738,
-0.0049321936,
-0.0019760847,
-0.031161198,
-0.026086457,
0.014782325,
0.06289259,
0.029707199,
-0.018445833,
-0.018303284,
-0.0036064882,
-0.015993992,
0.065059334,
-0.03751888,
-0.02431885,
-0.04296425,
0.043448918,
-0.050775934,
0.04139621,
-0.021938283,
0.017234167,
0.0005897962,
0.04142472,
0.008353368,
0.012038258,
0.04986362,
-0.035922334,
0.0020687415,
0.04151025,
0.01080521,
0.01141817,
0.0021613983,
-0.015723148,
0.07304208,
0.037775468,
0.01945793,
-0.018274775,
0.010434583,
-0.0026995207,
-0.043420408,
-0.010584259,
0.033128373,
0.03999923,
-0.008944946,
0.003987807,
-0.0141266,
-0.016606951,
0.0123803755,
-0.0059656734,
0.024432888,
-0.0040769,
-0.003298226,
-0.013934159,
-0.015666129,
0.016606951,
-0.023748653,
-0.016207814,
0.02504585,
0.0043869438,
0.03626445,
-0.0039628604,
0.033156883,
-0.013649061,
0.031560335,
0.034268767,
0.007362653,
-0.0020366681,
-0.011318386,
0.04316382,
0.021524891,
0.015993992,
-0.010783828,
-0.023378026,
-0.031446297,
-0.03227308,
-0.06528742,
0.035580218,
0.01733395,
-0.033356454,
-0.001805026,
-0.036720607,
-0.019743029,
-0.06454616,
0.012130915,
-0.035580218,
0.02283634,
0.05003468,
-0.038459703,
-0.051916324,
0.048295584,
-0.016207814,
0.039600097,
-0.00078669196,
0.03409771,
0.01948644,
0.07999846,
-0.010904994,
-0.018616892,
0.030790571,
-0.00005640706,
-0.05958546,
-0.027355142,
-0.0055130804,
-0.008331986,
-0.021852752,
-0.04564417,
-0.034838963,
-0.010313416,
-0.0114395525,
-0.048324093,
-0.042280015,
0.011332641,
0.011738906,
-0.047782406,
0.026813457,
0.061809223,
0.022551242,
0.0060761487,
-0.014967639,
-0.0034354294,
-0.061809223,
0.009622053,
-0.0007657551,
0.04706966,
-0.056192793,
-0.029507631,
-0.0053847865,
0.013606297,
-0.0077118976,
0.002100815,
0.0015546744,
0.015053168,
0.013606297,
0.034354296,
0.027483435,
0.041367702,
-0.0057589775,
-0.026086457,
0.045615662,
0.031617355,
0.021624675,
0.06682695,
0.07674835,
0.009728965,
-0.016549932,
0.0024785697,
0.018830715,
-0.018174991,
-0.026100712,
0.0035922334,
-0.019600479,
-0.024304595,
-0.057447225,
-0.00910175,
0.0012588854,
-0.008374751,
-0.00031472134,
-0.016564187,
0.008745378,
-0.06540146,
-0.017661814,
-0.014276276,
0.02362036,
0.0027494128,
-0.023149949,
0.015780168,
-0.03127524,
0.24267532,
0.048096012,
0.02219487,
0.02618624,
0.02967869,
0.05810295,
0.027326632,
-0.025915397,
0.0056485017,
-0.03660657,
-0.028352985,
-0.06101095,
0.049293425,
0.0404839,
-0.04612884,
0.062379416,
-0.06055479,
0.00330179,
-0.0040305713,
-0.04424719,
-0.047810916,
0.006329173,
0.017847128,
0.04287872,
0.036891665,
0.007947103,
0.014568502,
-0.022793576,
0.0035352139,
-0.01013523,
0.002927599,
-0.018887734,
0.034582373,
-0.0059621097,
0.0013078866,
0.014319042,
-0.022879105,
-0.034553863,
-0.005994183,
0.01831754,
-0.005737595,
-0.0041196644,
0.0033178267,
-0.0034817578,
-0.012358993,
0.020926185,
0.00055460446,
0.020256205,
0.04858068,
-0.022651028,
0.042793192,
-0.04139621,
0.023477811,
-0.006322046,
-0.050889973,
0.0074980743,
-0.041681312,
-0.054539226,
-0.038545232,
0.024162047,
-0.0007773372,
-0.017405227,
-0.0051281983,
0.007882956,
-0.028281711,
0.030419944,
-0.018616892,
0.03130375,
-0.027982358,
-0.004344179,
-0.0072272313,
-0.00425865,
-0.053370323,
-0.026357299,
0.032843277,
0.029878259,
0.004803899,
0.019358147,
-0.0125371795,
-0.041282173,
0.026286025,
-0.017148638,
0.008260711,
-0.035637237,
0.02210934,
0.028082142,
-0.013499385,
0.00013887385,
0.012016876,
0.0073270155,
0.000889149,
0.05348436,
0.0063755014,
-0.04285021,
0.010562876
] | import torch
from transformers import AutoModelForCausalLM, AutoTokenizer, LlamaForCausalLM
model_id = "tiiuae/falcon-7b"
tokenizer = AutoTokenizer.from_pretrained(model_id)
load in 8bit
model = AutoModelForCausalLM.from_pretrained(
model_id,
load_in_8bit=True,
attn_implementation="flash_attention_2",
)
load in 4bit
model = AutoModelForCausalLM.from_pretrained(
model_id,
load_in_4bit=True,
attn_implementation="flash_attention_2",
) |
[
-0.02306838,
0.0351465,
-0.013821501,
0.008228744,
-0.032189734,
-0.016861953,
-0.0006990946,
-0.0037691835,
0.016666695,
0.06432368,
-0.00505231,
0.0058298563,
0.008709917,
-0.049762983,
-0.00042887102,
-0.003277551,
0.0036366868,
-0.045550983,
-0.028870342,
-0.007168771,
0.0264854,
-0.018270602,
-0.07603918,
-0.037015405,
0.015313833,
-0.004114372,
0.018507702,
0.014602535,
0.075592875,
0.03545334,
-0.008821493,
-0.056597028,
-0.005631111,
-0.009253851,
-0.03333339,
-0.023947041,
-0.011025123,
0.010718289,
-0.012266409,
-0.025885679,
0.022008406,
-0.005794989,
0.030432409,
-0.06075324,
-0.10761525,
-0.0031049564,
0.009421215,
-0.0314087,
-0.043542612,
-0.03271972,
0.011610898,
0.014588588,
-0.018689014,
-0.014163204,
0.018479807,
0.009735024,
-0.011373798,
0.006663191,
0.017587198,
0.027266433,
0.027405905,
0.012454693,
0.0025610225,
-0.05902381,
0.021687623,
0.058242775,
-0.010348693,
-0.0496793,
0.0019194593,
-0.024895439,
-0.03762907,
-0.030460302,
0.02432361,
-0.013654137,
-0.019958192,
0.011847998,
0.014839634,
0.020711333,
0.0053033563,
0.009532792,
-0.03277551,
0.0062238597,
-0.017601145,
0.0067433864,
-0.080279075,
-0.05442129,
0.027224593,
-0.054783914,
-0.0048117237,
-0.05779647,
-0.012350091,
0.0379638,
-0.029930316,
0.026122777,
0.008626235,
0.013877289,
-0.011513269,
0.021534206,
0.0080195395,
-0.024086513,
0.012573243,
0.028228778,
0.0099721225,
0.05481181,
-0.037099086,
-0.0015141239,
0.01832639,
-0.0072175856,
-0.018535595,
-0.07676443,
-0.014379383,
0.016973529,
0.027726686,
0.009902388,
-0.07765704,
0.028354302,
0.01997214,
0.047085155,
-0.032942872,
0.00947003,
0.030878713,
-0.022287346,
0.012064177,
-0.016178548,
0.026875917,
-0.024463082,
-0.0009823935,
0.008947017,
-0.02620646,
0.016513277,
-0.031157654,
0.003591359,
-0.024100458,
0.05539758,
-0.0067015453,
0.018675067,
0.01757325,
0.038689047,
0.019581623,
-0.050850853,
0.006534181,
-0.013061388,
-0.006541155,
0.07581603,
-0.00996515,
-0.0116318185,
0.004002796,
-0.025774103,
-0.017377993,
-0.007998618,
-0.028563507,
0.039219033,
0.004776856,
0.010774077,
0.027322222,
-0.030265044,
-0.0113110375,
0.035648596,
0.0069456184,
0.017587198,
0.027489586,
0.048173025,
-0.03952587,
0.032608144,
-0.00794283,
0.038605366,
0.00044761234,
-0.000095940275,
0.029567692,
0.026053043,
0.0267225,
0.0072036386,
0.023682049,
-0.015983291,
0.058968022,
0.06767096,
0.054644443,
-0.04022322,
0.017838245,
0.038047485,
0.006366817,
0.010306851,
0.014121363,
0.015355675,
0.0076150754,
-0.0039958227,
0.011841024,
0.007580208,
0.0003992336,
-0.0005517792,
-0.004877972,
0.05684807,
-0.011715501,
0.020571861,
-0.011025123,
0.045495193,
-0.034393363,
-0.007956778,
-0.0052963826,
-0.044463117,
0.018061398,
0.047280416,
-0.0004510991,
-0.02235708,
-0.038186952,
-0.026778288,
0.022901015,
0.06616469,
0.028758766,
-0.001676258,
0.033947058,
0.026401717,
-0.02432361,
0.042454742,
-0.0005844675,
0.008117168,
0.012168779,
0.008152036,
0.010223169,
0.016304072,
0.03760118,
-0.015118575,
0.020278974,
-0.0008586137,
0.027782474,
-0.03369601,
0.0021286646,
0.017126946,
-0.021631835,
0.036596995,
0.015955396,
0.02404467,
0.00028809323,
0.02493728,
-0.027601162,
0.030962395,
0.0037273425,
0.039023776,
-0.01673643,
0.019330576,
0.012064177,
0.034142315,
0.029511904,
0.0060181413,
-0.013995839,
0.012210621,
-0.0036645809,
0.011959574,
-0.048730906,
0.018340338,
-0.04527204,
0.037154876,
-0.0081659835,
-0.03740592,
-0.008451897,
0.015662508,
0.0156206675,
0.024072565,
-0.030125573,
-0.024602551,
-0.013716899,
0.051018216,
-0.021729466,
-0.025481215,
0.015467251,
0.054867595,
-0.01129709,
0.06454683,
0.022942856,
-0.022566287,
-0.06995828,
-0.08357057,
-0.04131109,
-0.0051813195,
0.0022507012,
-0.030432409,
0.013765713,
-0.08089274,
0.030069785,
-0.015299886,
0.0077963867,
-0.022482604,
-0.008563473,
0.0332776,
-0.0239052,
0.02118553,
-0.016415648,
0.043961022,
0.005045336,
0.05274765,
0.015258045,
-0.027266433,
-0.04415628,
-0.01481174,
0.037573285,
0.008444924,
0.0116597125,
0.003024761,
-0.028200883,
-0.035648596,
0.0262483,
0.0052859224,
-0.013793607,
0.019107424,
-0.02934454,
0.0043549584,
0.027364062,
-0.05048823,
0.028814554,
0.051576097,
-0.0360949,
0.020585809,
0.0128242895,
0.054504972,
-0.028200883,
0.014755952,
0.034532834,
0.017461674,
-0.01701537,
-0.045495193,
-0.0014932033,
0.0038075377,
-0.0036297133,
-0.015732244,
-0.028382195,
0.06694572,
-0.03383548,
-0.07006985,
0.03815906,
-0.029232964,
-0.010871706,
-0.006474906,
-0.022119982,
0.0007644713,
0.058019623,
0.039442185,
-0.023974936,
-0.0069909464,
-0.00018479807,
0.041227404,
0.020557914,
-0.037740648,
0.016708536,
0.045885712,
0.027768526,
0.014365436,
0.030962395,
-0.054700233,
0.017712722,
-0.0044351537,
0.010767103,
0.00045850844,
-0.015788032,
0.020306868,
0.043431036,
-0.0072873207,
-0.03623437,
0.040195327,
0.012921918,
0.022984697,
0.055286005,
0.018926112,
0.050599806,
0.0028887775,
-0.031966582,
0.0035373142,
0.035564914,
-0.0014592075,
0.027113017,
-0.046025183,
0.032691825,
-0.013138098,
-0.009818706,
0.020167397,
-0.017099053,
-0.0029219016,
0.050237183,
-0.030153468,
0.04278947,
-0.06013957,
-0.01691774,
-0.008228744,
0.010669474,
0.018954007,
0.044825736,
-0.0031485409,
-0.002351817,
0.010781051,
-0.03581596,
0.038131166,
0.015104628,
0.04100425,
-0.015760139,
-0.046750426,
-0.036290158,
-0.045299936,
0.022343135,
0.031855006,
0.012859157,
-0.030320833,
0.009274771,
-0.08686207,
0.0168759,
0.015397515,
0.009463056,
-0.07224559,
-0.04237106,
0.020265028,
0.0143096475,
0.022845227,
-0.0003249221,
0.032914978,
-0.052663967,
0.019846616,
0.01842402,
-0.010878679,
-0.040334795,
0.0036959616,
0.010739209,
0.032524463,
-0.0014304417,
-0.0071896915,
-0.044239964,
0.000027594406,
0.0168759,
-0.023249691,
-0.02475597,
-0.042036332,
-0.00845887,
0.009672262,
0.023403108,
-0.0022907988,
-0.012371011,
-0.0070850886,
-0.06276161,
0.045439407,
0.028507719,
0.004891919,
-0.014044654,
-0.031018183,
-0.015788032,
-0.02499307,
-0.008110195,
0.0407811,
-0.012698766,
0.013165992,
0.032887086,
-0.0031189034,
0.012601137,
0.0060251146,
0.02934454,
-0.074700266,
0.0604743,
-0.0501535,
0.011994441,
0.00015821157,
-0.005683413,
-0.013793607,
0.05160399,
0.050125606,
-0.0062831347,
-0.017991662,
0.023514684,
-0.011603924,
-0.019149264,
0.019107424,
0.014407277,
-0.029037707,
0.037238557,
0.001023363,
-0.005034876,
0.005993734,
0.019037688,
-0.014191098,
0.032998662,
-0.014937264,
0.011729448,
0.034616515,
-0.010362639,
-0.036318053,
-0.04131109,
-0.0075313933,
-0.015718296,
-0.03221763,
-0.036122795,
0.007873096,
-0.045132574,
-0.005610191,
-0.010718289,
-0.0018758748,
0.034002848,
0.014030707,
-0.007866122,
-0.009093461,
-0.04044637,
-0.0156206675,
-0.03369601,
0.03905167,
0.024714127,
0.0072664,
-0.012126938,
-0.033807587,
-0.010599739,
0.021757359,
-0.0076011284,
-0.015969343,
-0.047057264,
-0.037322238,
0.006321489,
0.0022541878,
-0.027391957,
0.04468627,
-0.035592806,
0.029735057,
0.05930275,
-0.013458879,
0.012440746,
-0.019888457,
-0.037824333,
0.045774136,
-0.028619295,
-0.036680676,
-0.027461693,
0.034281787,
-0.019832669,
-0.0026237841,
-0.010369613,
-0.041115828,
-0.061255332,
-0.06767096,
0.05104611,
0.009532792,
-0.0063110287,
-0.053835515,
-0.049065635,
0.0062587275,
0.025578843,
0.031520277,
0.010202249,
0.042398956,
-0.03333339,
0.026373824,
-0.05087875,
-0.016443543,
0.008389136,
-0.009121355,
-0.0036576074,
0.04767093,
0.025885679,
0.0054323664,
-0.00025540488,
0.032608144,
0.031910792,
0.05517443,
-0.073640294,
-0.058633294,
0.033500753,
-0.039832704,
0.016973529,
-0.020474233,
-0.04133898,
0.019163212,
-0.045076784,
0.057908047,
0.008570447,
-0.016652748,
-0.0067154923,
-0.05570442,
0.021882882,
-0.029093495,
0.014518853,
0.004996522,
0.04753146,
0.015983291,
0.023277584,
-0.050683487,
0.026094884,
-0.021841042,
-0.052133977,
-0.010062778,
-0.03277551,
0.007594155,
-0.025062803,
0.013075336,
0.053668153,
-0.04490942,
0.03450494,
0.045216255,
-0.0067329262,
-0.003324622,
0.043709975,
0.010083699,
-0.0062378068,
-0.01490937,
-0.00031860234,
-0.016066972,
-0.023514684,
-0.002710953,
-0.031213442,
-0.066778354,
-0.024742022,
0.020223185,
0.043096308,
-0.052440815,
0.04518836,
-0.0036506339,
-0.0077266516,
-0.043096308,
0.046108864,
-0.017824298,
-0.0005626753,
0.06990249,
-0.017517462,
-0.025983308,
0.00015047532,
-0.03478388,
-0.0044072596,
0.016527224,
0.075592875,
-0.0036715544,
-0.022259451,
0.02499307,
0.021966564,
-0.009721076,
-0.05662492,
0.02878666,
-0.0061192573,
0.012196673,
0.002010115,
-0.021255266,
-0.036596995,
0.0051534255,
-0.0548397,
-0.0008006464,
-0.033026554,
0.0096513415,
0.017880086,
-0.020655544,
-0.021060007,
-0.008075328,
0.026359877,
-0.008995831,
0.039163247,
-0.020460285,
-0.0056136777,
-0.05902381,
-0.0062901084,
0.0501535,
-0.007496526,
0.0008978397,
0.0067015453,
0.025537003,
0.045718346,
-0.018633226,
0.017085105,
0.016415648,
-0.03994428,
0.0035582348,
-0.011408666,
0.01207115,
-0.023319425,
0.04415628,
0.018061398,
-0.016973529,
0.013591376,
-0.007391923,
-0.01467227,
-0.039972175,
0.03333339,
-0.035871748,
0.0030055838,
0.0048988922,
-0.018577438,
0.04326367,
0.012357064,
0.037099086,
-0.05841014,
-0.020571861,
0.064937346,
-0.012629031,
-0.021603942,
-0.039442185,
0.024769915,
-0.037378028,
-0.018382179,
-0.014365436,
-0.01852165,
-0.026039096,
-0.02011161,
0.007123443,
0.016569065,
-0.017712722,
0.032273415,
-0.0220363,
0.03458862,
-0.01852165,
-0.02076712,
-0.012015362,
-0.0035495178,
0.030013997,
0.031659745,
0.04002796,
0.0027859183,
0.015160416,
-0.0037447761,
-0.007977698,
-0.025718315,
0.008305454,
0.03548123,
0.008765705,
-0.010606713,
0.009909362,
0.03885641,
-0.06488156,
-0.0056276247,
-0.0014853581,
-0.02531385,
-0.03810327,
0.030906606,
0.071799286,
0.055899676,
0.010557897,
0.010048832,
0.0030020971,
0.010404481,
0.011241302,
0.02428177,
0.016527224,
0.025202274,
-0.0061122836,
-0.012252461,
0.0069142375,
-0.018744802,
-0.047866188,
0.01179221,
-0.0018078831,
-0.003591359,
-0.029288752,
0.05199451,
0.02311022,
0.034755986,
-0.0061157704,
-0.0017712722,
-0.010620659,
-0.00493376,
-0.0022123468,
-0.03545334,
-0.056569133,
-0.006638784,
-0.0038737862,
-0.055090748,
-0.005038363,
-0.03768486,
-0.012545349,
-0.016094867,
0.03210605,
-0.013424012,
-0.058968022,
0.008807546,
0.014574641,
0.038689047,
-0.045774136,
-0.015927503,
0.008730837,
-0.028563507,
-0.053751834,
-0.03352865,
-0.009435162,
0.037852224,
-0.040948465,
-0.03754539,
-0.009993044,
0.014965158,
0.027559321,
0.017921926,
-0.03665278,
0.03472809,
-0.043040518,
0.007838228,
-0.033779696,
-0.05199451,
0.012266409,
0.0066283233,
0.032133944,
-0.0053207898,
-0.022775492,
-0.0059553795,
0.04379366,
-0.036875933,
-0.00947003,
0.030292938,
0.04945615,
0.000919632,
0.011373798,
0.01691774,
0.029679269,
0.024253877,
0.016262231,
0.003978389,
-0.00021868499,
-0.03408653,
-0.037489604,
0.017043265,
0.034393363,
0.004044637,
-0.04131109,
-0.024198089,
0.033723906,
0.029986104,
-0.018954007,
-0.0045083757,
-0.00635287,
-0.0034640923,
-0.015090681,
-0.015104628,
-0.06108797,
-0.019958192,
-0.025355691,
-0.05818699,
0.013633217,
-0.008089274,
0.035983324,
0.027824314,
-0.016164603,
-0.020376604,
0.069735125,
0.033919163,
0.0038737862,
0.021854987,
0.015774084,
0.0044386405,
0.013507694,
0.0070327874,
0.032133944,
0.0026656252,
-0.0054498,
-0.008256638,
0.005864724,
0.020808961,
-0.04223159,
-0.024825703,
0.023012592,
-0.021394735,
-0.051241368,
-0.043514717,
0.04616465,
-0.059470113,
-0.011645766,
0.058577504,
-0.026359877,
-0.030153468,
-0.008751758,
-0.048173025,
-0.015760139,
-0.0128242895,
0.0027772014,
-0.021325001,
0.07330556,
-0.0021879396,
-0.02138079,
0.01715484,
0.022998644,
-0.012712713,
-0.017615093,
-0.0045014024,
-0.029902421,
-0.04027901,
-0.019330576,
-0.04468627,
-0.01608092,
0.026750393,
-0.011994441,
-0.07587182,
0.017921926,
0.005948406,
-0.051576097,
-0.04382155,
0.034421258,
0.0052859224,
0.035732277,
-0.03126923,
-0.027322222,
-0.01622039,
0.010411454,
-0.020516073,
0.020850802,
-0.02170157,
-0.06159006,
-0.021073954,
-0.0501535,
-0.002043239,
0.008375188,
-0.036345948,
-0.046276227,
0.032970767,
0.034421258,
0.036039114,
0.041087937,
0.0022977723,
-0.032887086,
0.023988882,
0.045857817,
-0.0108159175,
0.040753208,
0.03492335,
0.02545332,
0.016806165,
0.03801959,
0.014965158,
0.014421224,
-0.022719704,
-0.008396109,
0.033249706,
-0.04912142,
-0.0134937465,
0.018033503,
0.0220363,
-0.045857817,
-0.02025108,
-0.029679269,
-0.01115762,
-0.042594213,
0.024225982,
-0.03472809,
0.020181345,
0.017071158,
0.012538375,
0.033779696,
-0.033974953,
0.22850806,
0.055007067,
0.024016777,
-0.012412852,
-0.0062831347,
0.07112983,
0.032747615,
-0.019790828,
-0.004891919,
-0.027126964,
0.014742006,
-0.019107424,
0.04557888,
-0.010188302,
0.043988917,
0.016666695,
-0.009044645,
-0.035899643,
0.011143673,
-0.062873185,
-0.035034925,
0.0026603949,
-0.028479824,
0.035871748,
0.0022297807,
-0.0060913633,
0.007831254,
0.0022489578,
-0.017099053,
-0.05207819,
0.011722474,
0.016471436,
0.021520259,
-0.0025505621,
-0.0068898303,
0.06320792,
0.0023779678,
-0.07129719,
0.01612276,
-0.016666695,
0.014379383,
-0.036373843,
-0.009198063,
-0.017280364,
0.007350082,
0.049818773,
0.020641597,
0.048535645,
-0.0052092136,
-0.068452,
0.06822885,
-0.008242692,
0.038465895,
-0.005700846,
-0.06371001,
-0.0083124265,
-0.029595587,
-0.045216255,
0.05662492,
0.06828463,
0.032412887,
0.012343117,
-0.012956786,
0.031325016,
-0.023096273,
0.004972114,
-0.0021652756,
0.038186952,
0.002046726,
0.014993052,
0.04365419,
-0.008988857,
-0.017866138,
0.03202237,
0.025885679,
0.040948465,
0.01439333,
0.04379366,
0.04580203,
-0.031882897,
-0.028075362,
-0.047921978,
-0.029149283,
-0.016471436,
0.016610907,
0.034198105,
-0.06371001,
0.017866138,
-0.03665278,
0.019707147,
0.024923334,
0.021576047,
0.013375197,
0.006565562,
0.026318036
] | But for larger sequence lengths, you can expect even more speedup benefits:
FlashAttention is more memory efficient, meaning you can train on much larger sequence lengths without running into out-of-memory issues. You can potentially reduce memory usage up to 20x for larger sequence lengths. Take a look at the flash-attention repository for more details. |
[
0.029516954,
0.025507761,
-0.03454297,
-0.011323064,
0.0048553357,
0.019334186,
-0.026059752,
-0.03248027,
-0.00252935,
0.038581215,
-0.009558148,
0.015455728,
0.03126008,
-0.0236339,
-0.010509605,
0.064728126,
-0.004288819,
-0.0048117572,
0.00013493348,
-0.0017358642,
0.018448096,
0.009158681,
-0.07024803,
-0.045321308,
-0.02890686,
0.043142397,
0.014918264,
-0.026466481,
0.05729078,
-0.0037804071,
-0.028485604,
-0.03959804,
0.021353308,
-0.014874686,
-0.025101032,
-0.04038245,
0.04317145,
-0.01622561,
-0.012267258,
-0.032857947,
0.035501692,
0.024795985,
0.03590842,
-0.027933614,
-0.06687798,
-0.0020027806,
0.005505377,
-0.04601856,
-0.020539848,
-0.034368657,
-0.030998612,
0.027163733,
-0.002148041,
-0.0063769403,
-0.0404696,
-0.02068511,
0.008577638,
-0.025115557,
-0.03454297,
-0.026916789,
0.02960411,
-0.0071976627,
-0.013545551,
-0.042212732,
0.002883423,
0.021338783,
-0.0009650751,
-0.015920563,
-0.0062207854,
-0.032102592,
-0.010705707,
0.055286184,
-0.014751214,
-0.046425287,
-0.0356179,
0.026989419,
-0.016022244,
0.023256222,
-0.001804863,
0.004851704,
-0.0058140554,
0.0101900315,
-0.044072066,
-0.0048044943,
-0.0301561,
-0.049795333,
0.03753534,
-0.02768667,
-0.03521117,
-0.017605584,
-0.012804722,
0.009035209,
0.01452606,
0.03727387,
0.045582775,
0.051770877,
-0.0013363975,
0.032393113,
0.020380063,
-0.018448096,
0.033787616,
0.057697512,
-0.014366274,
0.032887,
-0.041341167,
0.012492412,
0.020699635,
0.0016632339,
-0.027352571,
-0.030562831,
0.016458025,
0.025943544,
-0.0153685715,
-0.0043106084,
-0.026205013,
0.017445799,
-0.010429711,
0.027497832,
-0.012797459,
-0.002365932,
0.015165207,
-0.028776126,
-0.020045962,
-0.0066166203,
0.018898405,
-0.04947576,
0.032073542,
0.009514569,
-0.004256136,
-0.0068490375,
0.016385395,
0.002861634,
0.0335552,
0.07681381,
-0.0021208047,
-0.014351747,
-0.0046083927,
0.0020409115,
0.03837785,
-0.019610181,
0.008301644,
-0.008577638,
-0.014794792,
0.0807649,
-0.0046991804,
-0.008359748,
-0.010182768,
-0.0236339,
-0.06397277,
-0.0044486057,
-0.030039892,
0.019813547,
-0.009768776,
0.0053927996,
-0.0030595514,
-0.051306043,
0.023038331,
0.029516954,
0.021600252,
0.027439728,
0.0019937018,
-0.023343379,
-0.04015003,
0.048865665,
-0.0060900506,
0.073153235,
-0.01095265,
-0.031579655,
0.019711863,
-0.024273047,
0.0024167732,
0.020656057,
-0.0053129066,
0.03303226,
0.029836528,
0.013334923,
0.069841295,
-0.020496272,
-0.00024217665,
0.012572305,
0.0014217382,
-0.0114102205,
-0.0076624965,
0.07082907,
0.0124343075,
0.026306694,
-0.009558148,
-0.009957614,
0.019435868,
-0.010916335,
0.036779985,
0.021135418,
-0.04398491,
0.039685197,
-0.047906946,
0.015906036,
-0.03509496,
0.00037540786,
0.015818879,
-0.07733674,
0.0004829915,
0.058743387,
-0.005788635,
0.005309275,
-0.007568077,
0.012020315,
0.00079711754,
0.04575709,
0.008977105,
0.0043687127,
0.05548955,
0.016138453,
-0.023270749,
-0.02868897,
0.0066783563,
0.0027417939,
-0.0067727757,
0.050986473,
0.016414449,
0.03524022,
0.010734758,
0.015048998,
0.040643916,
0.031579655,
0.0006346073,
-0.026263116,
-0.008839107,
0.047790736,
0.012891878,
-0.025798284,
-0.028340343,
0.04915619,
0.0056324797,
0.020176698,
-0.00305592,
0.021149943,
0.04026624,
0.00052611576,
-0.02020575,
-0.013560077,
-0.0075898664,
0.009739723,
0.01157727,
0.0033282836,
0.04604761,
0.021614777,
0.0123108355,
0.019145347,
-0.065657794,
0.028107926,
-0.066529356,
0.05496661,
-0.0013527394,
-0.016937386,
-0.0071468214,
-0.016559709,
-0.010807388,
0.012804722,
-0.025057454,
0.014671321,
0.023052858,
0.037448183,
-0.008592164,
-0.002701847,
0.022776863,
0.05894675,
0.007106875,
0.0008334327,
0.0023713794,
-0.029313589,
-0.07733674,
-0.052816756,
-0.048546094,
0.006627515,
-0.07344376,
-0.032276906,
0.009906773,
-0.017315064,
0.051741827,
-0.015760776,
0.009136892,
0.00007285727,
-0.0047282325,
0.04918524,
0.056477323,
0.03204449,
-0.048749458,
0.061822914,
-0.019886177,
0.009696146,
-0.010131927,
0.0007830454,
-0.016487079,
-0.022617076,
0.025028402,
0.018012315,
0.009456465,
-0.031085769,
-0.039075103,
0.0062643634,
-0.014235539,
0.009449203,
-0.016356343,
0.0012347151,
-0.012477886,
0.013407554,
0.028340343,
-0.028950438,
0.03160871,
0.05917917,
-0.008468693,
0.02850013,
0.009863195,
0.022253925,
-0.039656144,
0.041893158,
0.03727387,
0.0052184872,
-0.036576618,
-0.057232678,
0.0022061453,
0.023314327,
-0.027178258,
-0.014874686,
-0.03866837,
0.06374035,
-0.0397433,
-0.059905473,
0.016428974,
-0.03233501,
-0.045292255,
0.02219582,
-0.0020336483,
0.02964769,
0.030388517,
0.07216547,
-0.009507306,
0.022515394,
0.02061248,
0.028035296,
0.018709565,
-0.03794207,
0.02797719,
0.017010016,
0.028964965,
0.03384572,
0.014250065,
-0.028601812,
0.008606691,
0.0004291997,
-0.031231029,
-0.016399922,
0.012412518,
-0.028078875,
0.042212732,
0.008781004,
-0.029734844,
-0.0006709224,
0.023735583,
0.03521117,
0.020031437,
0.017271485,
0.011933158,
-0.0072593987,
-0.015659092,
0.023416009,
0.026016174,
-0.0055598496,
0.030359466,
-0.042299885,
-0.0007558091,
-0.0012846484,
-0.037651546,
-0.006445939,
-0.030359466,
-0.036925245,
0.049940594,
-0.032887,
0.02466525,
-0.024679776,
-0.033642355,
-0.0010395212,
0.00039697,
0.004103612,
0.005861265,
-0.027628567,
0.023038331,
0.06042841,
-0.03067904,
-0.001714983,
0.021876246,
0.012601357,
-0.02370653,
0.006671093,
-0.044740263,
-0.033526145,
0.008592164,
0.023735583,
0.010596761,
-0.0030904193,
0.054734193,
-0.022805914,
0.024795985,
0.02308191,
-0.0010177321,
-0.047558323,
-0.038406905,
0.047209695,
-0.0022769598,
-0.015252363,
-0.0022933017,
0.032160696,
-0.06042841,
0.05615775,
0.018651461,
0.0109671755,
-0.035269275,
0.012441571,
-0.014874686,
0.007836809,
-0.0023132751,
-0.037913017,
-0.047296852,
0.019624706,
0.033787616,
-0.038987946,
0.0018339151,
-0.009412887,
-0.047906946,
0.054472726,
-0.032305956,
-0.010277187,
0.0037168555,
0.0017086278,
-0.046802964,
0.061822914,
0.023764635,
0.0068090907,
0.0046519707,
-0.04889472,
0.030243257,
0.053891685,
-0.0017422193,
0.004535762,
0.04575709,
0.010756548,
0.0022261187,
-0.01212926,
-0.016356343,
0.005262065,
0.014489745,
-0.067459024,
0.057348885,
-0.01637087,
0.004604761,
-0.023096435,
-0.00611184,
-0.008112805,
0.047325905,
0.01931966,
-0.043781545,
0.00007138197,
0.034078136,
-0.024694303,
-0.010219083,
0.016138453,
0.013407554,
0.028267713,
0.049388606,
0.025391553,
-0.029415272,
0.049214292,
0.009906773,
-0.0589177,
0.026146907,
0.0032247854,
-0.016167505,
0.02130973,
-0.00018168923,
-0.0027871877,
-0.017823476,
0.004848073,
0.0063624145,
-0.00017692287,
0.03846501,
-0.039685197,
-0.06222964,
0.039568987,
-0.020104067,
-0.02197793,
0.042939033,
-0.03782586,
0.0019610182,
-0.009311205,
-0.0016677732,
-0.040585812,
-0.016341818,
0.008919001,
0.05906296,
0.04715159,
0.04209652,
-0.049214292,
-0.049911544,
0.033903826,
-0.025594918,
0.021280678,
0.005788635,
0.0028434764,
-0.009703408,
-0.02061248,
-0.02850013,
0.018128524,
-0.013066191,
-0.016937386,
0.01373439,
-0.022457289,
0.015571936,
-0.013865124,
-0.042822827,
0.04918524,
-0.016196556,
-0.051741827,
-0.019363238,
0.014773003,
-0.0003159418,
-0.0137779685,
0.01965376,
-0.028776126,
-0.02621954,
-0.062113434,
0.051596567,
-0.053543057,
0.03797112,
-0.046396237,
-0.03329373,
0.015935088,
0.025638497,
0.02286402,
-0.021135418,
0.02621954,
-0.031027663,
-0.00997214,
-0.063914664,
-0.051422253,
-0.011548217,
-0.0067582494,
0.003969246,
0.024127785,
0.023328852,
0.009957614,
-0.006289784,
0.025609445,
0.018971035,
0.010052034,
-0.0698994,
-0.039568987,
0.03189923,
0.021251626,
0.046686757,
-0.0153685715,
-0.03826164,
0.03904605,
-0.0063260994,
0.047703583,
-0.022951175,
-0.007771442,
-0.04038245,
-0.032422166,
0.03547264,
-0.017445799,
-0.0043106084,
0.02850013,
0.02507198,
0.024345677,
0.045321308,
-0.009725197,
-0.039917614,
-0.016341818,
-0.07570983,
0.02629217,
-0.02912475,
0.0061263656,
0.0069543514,
0.01373439,
0.02274781,
-0.040440552,
0.024897667,
0.044072066,
-0.014751214,
-0.0007249412,
-0.009717934,
0.04026624,
0.046280026,
-0.027279941,
-0.019929754,
-0.009107839,
-0.00853406,
-0.015223311,
-0.06426329,
-0.030185154,
0.0023187224,
0.0060537355,
0.040847283,
-0.041486427,
0.015223311,
-0.0105604455,
-0.052177608,
-0.031085769,
0.064786226,
-0.014315432,
0.020002386,
0.035792213,
0.02138236,
-0.061706703,
0.03794207,
0.001991886,
-0.03245122,
-0.007677023,
0.04328766,
-0.0493305,
-0.05400789,
0.00040128242,
0.019493973,
-0.015034473,
-0.03875553,
0.030911457,
0.010945386,
-0.00690351,
-0.011402957,
-0.0068853525,
-0.012318099,
-0.02986558,
-0.048139364,
0.004463132,
0.011344853,
-0.016196556,
0.011235908,
-0.0036787246,
-0.071003385,
-0.014322695,
0.03439771,
-0.030620934,
0.017692741,
-0.009558148,
-0.003765881,
-0.05906296,
-0.030737143,
0.041573584,
-0.0058431076,
0.0025057453,
0.04000477,
0.037767757,
0.058046136,
-0.022994753,
-0.013669022,
0.037709653,
-0.028514655,
-0.02919738,
-0.029313589,
0.03274174,
-0.011911369,
0.016675917,
-0.012811985,
-0.014816581,
-0.002215224,
0.021469517,
-0.020714162,
-0.06873731,
-0.012383467,
-0.029211907,
-0.02912475,
-0.010582235,
-0.017445799,
0.01725696,
0.032364063,
-0.030475674,
-0.036140837,
-0.0030522884,
0.01836094,
-0.041922208,
-0.0335552,
-0.02687321,
-0.012782933,
-0.050637845,
-0.003646041,
-0.023793686,
-0.013937755,
0.015949614,
0.0056433743,
-0.007288451,
0.034426764,
0.011272223,
0.028195083,
-0.027221836,
0.024839563,
-0.029981788,
-0.054995663,
-0.06002168,
0.011882317,
-0.00001257554,
0.010872756,
0.034920648,
-0.021876246,
0.004575709,
0.012746618,
-0.0037005139,
0.00040400604,
0.000041195,
0.06635504,
-0.019392291,
0.009688882,
-0.0054981136,
0.040789176,
-0.043520074,
-0.01069118,
-0.004372344,
-0.010400659,
-0.027701197,
0.018782197,
0.034920648,
0.032276906,
0.027744776,
0.041602638,
0.0053637475,
0.015048998,
-0.000546543,
0.07681381,
0.028107926,
-0.004993333,
0.016022244,
-0.019276083,
0.012891878,
0.03001084,
-0.0015324993,
0.04903998,
0.010582235,
-0.015092577,
-0.028151505,
0.022733284,
0.019464921,
0.048429884,
0.0070632966,
-0.007509973,
-0.012499675,
0.0038276168,
-0.047877893,
-0.022006981,
-0.04947576,
0.0069979294,
0.010880019,
-0.06542537,
-0.009470991,
0.010219083,
0.0036333308,
-0.030185154,
0.0011584533,
0.030853352,
0.014518797,
0.011010754,
-0.034078136,
0.030795248,
-0.028877808,
-0.021542147,
-0.010683917,
0.0506669,
-0.055024717,
-0.04674486,
-0.025086505,
0.060602725,
0.001175703,
-0.020249328,
-0.035124015,
0.0011339405,
0.028253186,
0.006311573,
-0.046396237,
0.014141119,
-0.05121889,
0.027672144,
-0.07141011,
0.013058928,
0.020045962,
0.020075016,
0.0054835877,
0.0045139734,
-0.01795421,
0.031318184,
0.018389992,
-0.0575232,
0.0047572847,
0.01965376,
0.020220276,
0.005676058,
0.010480552,
0.0086865835,
0.00836701,
0.046977278,
0.024723355,
-0.026408378,
0.016792126,
0.0025420606,
-0.040585812,
0.054559883,
0.009725197,
0.01876767,
-0.00989951,
0.03465918,
0.0028035296,
0.04715159,
-0.014685847,
0.0097833015,
-0.0048989137,
0.0071105063,
-0.006493149,
0.004848073,
0.018506201,
-0.016603287,
-0.04889472,
-0.032799844,
-0.00822175,
0.02562397,
0.022544445,
0.005309275,
0.0140612265,
-0.025914492,
0.035501692,
0.030620934,
0.037738703,
0.00467376,
-0.011141488,
0.016167505,
0.006587568,
-0.013705337,
0.0078004943,
-0.018782197,
0.028238662,
-0.015876984,
0.00037903938,
0.06286879,
0.006910773,
-0.04988249,
0.0072702933,
-0.04032434,
-0.04026624,
-0.055431444,
0.015920563,
-0.049272396,
0.017779898,
0.005534429,
-0.055547655,
-0.06501865,
0.014809318,
-0.05357211,
0.0012601357,
0.016196556,
0.028122453,
-0.03933657,
0.11859076,
0.007393765,
-0.008672058,
0.017227907,
0.021818142,
-0.04877851,
0.021484043,
-0.016980965,
-0.0155283585,
-0.031986386,
-0.019552076,
-0.035937473,
-0.013240504,
0.021033736,
0.004877125,
-0.045553725,
0.040760126,
0.027410675,
-0.041573584,
-0.030940508,
0.06100945,
0.02584186,
0.0052148555,
0.0065621478,
-0.025580391,
-0.05946969,
-0.024868615,
0.008577638,
0.03262553,
-0.034775387,
-0.05400789,
-0.029371694,
-0.029923683,
0.011402957,
0.02001691,
-0.036402307,
-0.018825773,
0.019828072,
0.042009365,
0.03739008,
0.06902784,
-0.021730985,
-0.031986386,
0.01548478,
0.029008541,
-0.008497745,
0.06362414,
0.08523892,
0.013581866,
-0.0092531005,
0.015441202,
-0.012419782,
-0.03483349,
-0.013828809,
0.0014444351,
0.005258434,
-0.05394979,
-0.031347238,
0.01766369,
0.0007253951,
-0.023953473,
-0.0002741794,
-0.010160979,
-0.021251626,
-0.038145434,
-0.00070859934,
-0.05386263,
0.011976737,
-0.022602549,
-0.05209045,
0.038203537,
-0.052148554,
0.25124273,
0.07007372,
0.04465311,
0.014388063,
0.008860896,
0.021251626,
0.041341167,
-0.021730985,
0.004125401,
-0.035588846,
-0.032247853,
0.0046519707,
0.04331671,
0.011758845,
-0.025101032,
-0.0013836073,
-0.025391553,
0.011853265,
0.0011747951,
-0.0767557,
-0.009173207,
0.0079094395,
-0.008657532,
0.042009365,
0.003892984,
-0.00028416605,
0.0032411271,
-0.021919824,
0.016123926,
-0.026931316,
0.0052366448,
0.02418589,
0.055315237,
-0.0057486882,
0.005712373,
0.025594918,
-0.045931403,
-0.0616486,
0.02116447,
-0.0068199853,
0.018825773,
0.024708828,
0.0012074787,
-0.020844895,
-0.008178172,
0.020307433,
0.02226845,
-0.02197793,
-0.00034000058,
-0.062287744,
0.056477323,
-0.095465265,
0.024534516,
-0.00065367273,
-0.055257134,
-0.004782705,
-0.01366176,
-0.019769968,
0.034920648,
0.030853352,
0.009696146,
0.015876984,
-0.022036033,
-0.02905212,
-0.03001084,
0.0056651635,
-0.0073574493,
0.019639233,
-0.010959912,
0.00044213695,
-0.009746986,
-0.0027054788,
0.0015679066,
-0.01692286,
0.022326555,
0.04122496,
0.027338045,
0.002823503,
-0.020002386,
-0.020321958,
-0.0075971293,
0.0033882034,
-0.011773372,
-0.019668285,
0.031434394,
0.025754705,
-0.046541497,
-0.013414817,
-0.000057508445,
0.008584902,
0.030417569,
0.050870262,
0.017649163,
-0.034368657,
0.010981701
] |
PyTorch scaled dot product attention
PyTorch's torch.nn.functional.scaled_dot_product_attention (SDPA) can also call FlashAttention and memory-efficient attention kernels under the hood. SDPA support is currently being added natively in Transformers and is used by default for torch>=2.1.1 when an implementation is available.
For now, Transformers supports SDPA inference and training for the following architectures:
* Bart
* GPTBigCode
* Falcon
* Gemma
* Llama
* Phi
* Idefics
* Whisper
* Mistral
* Mixtral
* StableLm
* Starcoder2
* Qwen2 |
[
0.0004482085,
0.060546618,
0.00994299,
-0.007415358,
-0.05483577,
-0.01882248,
-0.011662071,
0.012259379,
0.0077504334,
0.06654883,
-0.008588121,
0.018327152,
0.004519872,
-0.035197455,
-0.032895636,
0.022114959,
0.0050261267,
-0.059148043,
0.0006838082,
-0.00081902195,
0.019390652,
-0.019332377,
-0.07744606,
-0.019201262,
0.0012884003,
0.011137606,
0.032779086,
0.015923353,
0.089042574,
0.040879164,
-0.006777987,
-0.015457161,
0.011866029,
0.006683292,
-0.01402945,
-0.03149706,
0.013570542,
0.009892,
-0.0050771167,
-0.036945675,
0.04111226,
-0.008704669,
0.011771334,
-0.038868714,
-0.096967824,
-0.035780195,
0.007451779,
-0.034906086,
-0.04361804,
-0.026674893,
-0.023746628,
0.0024274737,
-0.0069018193,
-0.017613297,
-0.004530798,
0.026500072,
0.0033361828,
-0.002436579,
-0.011472681,
0.012230242,
0.015428024,
0.00048713366,
0.0026623905,
-0.047901172,
0.018414563,
0.013169909,
-0.004665557,
-0.0069127455,
-0.021168007,
-0.010846236,
-0.03706222,
-0.012303084,
-0.023163889,
-0.035984155,
-0.049707666,
0.011166743,
-0.004304987,
0.03324528,
0.005896594,
0.042161193,
-0.018021215,
-0.00059457624,
0.011807756,
-0.009214566,
-0.05495232,
-0.086245425,
0.05227172,
-0.05629262,
0.0006328185,
-0.038402524,
-0.012929529,
0.03295391,
-0.014808863,
0.008697385,
-0.00020065809,
0.04361804,
-0.0050406954,
0.038373385,
0.016491523,
-0.01373808,
0.032400306,
0.023688354,
-0.0021834516,
0.048717007,
-0.024547895,
0.012405064,
0.031642746,
-0.004727473,
0.006548533,
-0.03484781,
-0.004319555,
0.02641266,
0.008748374,
-0.005179096,
-0.07464891,
0.023032773,
0.023746628,
0.03825684,
-0.044171643,
-0.0022144094,
0.028117172,
-0.024912106,
0.015311476,
-0.005871099,
-0.0041228808,
-0.030302446,
0.0023910524,
-0.01267458,
-0.04073348,
0.0029082336,
-0.0035474256,
0.02076009,
-0.002385589,
0.07284242,
0.004279492,
0.022595719,
0.03671258,
0.032196347,
0.03910181,
-0.03997592,
0.010824383,
0.010278065,
-0.018807912,
0.087469175,
-0.00801995,
0.0018920818,
0.017627865,
-0.0363338,
-0.027986057,
-0.004119239,
-0.061828643,
0.026718598,
0.01210641,
0.003401741,
-0.013541405,
0.0020395876,
0.013672521,
0.007743149,
-0.0034290568,
-0.0025513056,
0.018414563,
0.014881706,
-0.048454776,
0.044637833,
-0.032983046,
0.036945675,
-0.01988598,
0.007480916,
0.042831343,
-0.027345043,
0.03429421,
0.00047711784,
0.025305456,
0.0072988104,
0.03391543,
0.03948059,
0.040121604,
-0.03467299,
0.012995088,
0.02094948,
-0.007954392,
0.018225173,
0.011968009,
0.015063812,
0.0073534423,
0.007648454,
0.020293897,
-0.010176086,
-0.0123322215,
-0.017147105,
0.0020432298,
0.024839265,
0.011123037,
0.024635306,
-0.028452247,
0.042161193,
-0.044725243,
-0.0014987327,
-0.006541249,
-0.0248684,
0.02574251,
0.029413769,
-0.005849246,
0.01854568,
-0.021095164,
-0.005543308,
0.033653196,
0.047609802,
-0.009571494,
-0.028423112,
0.044608697,
0.046444327,
-0.0015333329,
0.044025958,
0.0072113993,
-0.0095277885,
0.018851617,
0.008828501,
0.038693894,
0.03621725,
-0.0010398255,
-0.019230397,
0.015194928,
-0.008304035,
0.028568797,
-0.03927663,
-0.004862231,
0.031060006,
-0.0052045905,
0.017831825,
-0.019390652,
0.029326357,
-0.021896431,
0.030389857,
0.00898147,
0.011800472,
0.012448769,
0.025713373,
-0.02363008,
0.01691401,
0.01921583,
-0.009447661,
0.041928094,
0.02931179,
0.005273791,
0.0019357873,
-0.027315907,
-0.0008950512,
-0.045307983,
-0.011968009,
-0.038402524,
0.07389135,
0.00018256131,
-0.012973235,
-0.018851617,
-0.011188596,
0.02411084,
0.012113694,
-0.015733963,
-0.022391759,
-0.0070365774,
0.046764832,
0.0038096583,
-0.06981217,
-0.016287565,
0.050669186,
0.0024675368,
0.035110045,
0.015719393,
-0.015792236,
-0.05661313,
-0.06730639,
-0.07103593,
0.003886143,
0.010795246,
-0.012252094,
0.010889942,
-0.06450924,
0.016972283,
-0.020891204,
-0.020439582,
-0.011188596,
-0.0085808365,
0.07202658,
-0.029719707,
0.030826911,
-0.03583847,
0.055301964,
0.0074882004,
0.050494365,
0.020162782,
-0.011895167,
-0.045482807,
-0.030156761,
0.0248684,
-0.0015442593,
0.019274104,
0.016782893,
-0.022887088,
-0.006453838,
0.033944566,
-0.007932539,
-0.002376484,
0.0025094212,
-0.02679144,
-0.004640062,
0.057021044,
-0.045541078,
0.00980459,
0.05011558,
-0.04064607,
0.011166743,
-0.004731115,
0.047493257,
-0.03228376,
0.045424532,
0.028787324,
-0.010066822,
0.002412905,
-0.047376707,
-0.024183683,
0.008296751,
0.010321771,
-0.045045752,
-0.01325732,
0.06998699,
-0.044754382,
-0.07354171,
0.019172125,
-0.0048330943,
-0.04236515,
0.0068253344,
-0.050552636,
0.02709738,
0.04906665,
0.03484781,
-0.01979857,
-0.007083925,
0.002045051,
0.06206174,
-0.012033568,
-0.019915117,
-0.009141724,
0.020337602,
0.019565474,
0.015588277,
0.048571322,
-0.06380996,
0.019638315,
0.018691365,
0.027141085,
0.022318916,
0.0013803638,
0.02151765,
0.033012185,
0.02440221,
-0.05090228,
0.030185897,
0.011305143,
0.014087724,
0.019638315,
0.045774177,
0.042452563,
0.0138036385,
-0.025727943,
0.02419825,
0.031205691,
-0.0047493256,
0.03196325,
-0.0061916057,
0.015602846,
-0.008850354,
0.025786215,
0.020133644,
-0.019157555,
-0.014787011,
0.05853617,
-0.033274416,
0.029078692,
-0.035022635,
-0.021707041,
-0.0074190004,
-0.0072769574,
0.022697696,
0.009178145,
0.030622952,
-0.0040536807,
0.03353665,
0.0038825008,
0.028117172,
0.0006009499,
-0.009739031,
-0.010736972,
-0.010088675,
-0.06992872,
-0.023790333,
0.023280436,
0.06765604,
0.024606168,
-0.0028754545,
0.035896745,
-0.07330861,
0.031351376,
0.021153439,
0.015996195,
-0.089159116,
-0.02900585,
0.04044211,
-0.02295993,
0.01518036,
-0.016025333,
0.02392145,
-0.06445097,
0.007925255,
0.018123193,
-0.00874109,
-0.06660711,
0.0052810754,
-0.0002462984,
-0.0026915274,
-0.003614805,
-0.038111154,
-0.013971176,
0.002562232,
0.0403547,
-0.052184306,
-0.005481392,
-0.04015074,
-0.03158447,
0.0057144878,
0.019652884,
-0.02457703,
-0.010518445,
-0.01595249,
-0.043414082,
0.03228376,
0.045541078,
0.03950973,
-0.0046036406,
-0.029952802,
0.024373073,
0.02065811,
-0.017365633,
0.028393975,
0.016025333,
-0.0034144884,
0.010299918,
0.03726618,
-0.0040573226,
-0.000014120332,
0.049212337,
-0.02641266,
0.05101883,
-0.012018999,
-0.01614188,
-0.016651778,
-0.0066140913,
-0.016943146,
0.045133162,
0.018094057,
-0.037790645,
0.013053361,
0.043472353,
-0.00066058966,
-0.04198637,
-0.009892,
0.012769275,
-0.0031486135,
-0.008129214,
-0.0122375265,
-0.004366903,
0.027257632,
0.03449817,
-0.022246074,
0.042161193,
0.021066027,
0.046939652,
-0.020323034,
-0.0017045125,
-0.0007748612,
-0.031846706,
-0.0027079168,
-0.0005777314,
-0.04064607,
-0.03796547,
-0.0022034831,
-0.030593816,
-0.0036694368,
-0.026966263,
0.060255248,
0.016389543,
-0.0045271562,
0.024154546,
-0.03883958,
-0.05670054,
-0.021095164,
-0.026470935,
-0.00578733,
0.05189294,
-0.005925731,
0.0041665863,
-0.02641266,
0.004942358,
0.021153439,
-0.031555336,
-0.02670403,
-0.058361344,
-0.02690799,
-0.014430083,
-0.025145203,
-0.033944566,
0.033973705,
0.0015096591,
0.008777511,
0.030506404,
-0.0034909728,
0.051251926,
-0.031555336,
-0.03237117,
0.061071083,
-0.0129003925,
-0.027942352,
-0.009811874,
0.034527306,
0.010161517,
0.008231193,
0.016564365,
-0.035576236,
-0.048367366,
-0.07325034,
0.059060633,
-0.00035146467,
0.006574028,
-0.042102918,
-0.03913095,
-0.030797774,
0.028131742,
0.009039744,
-0.036654305,
0.0025731584,
-0.041695,
0.041345358,
-0.03382802,
-0.019623747,
0.011479965,
-0.009768168,
0.012565317,
0.013082498,
0.025334593,
-0.007866981,
0.0009301066,
0.020862069,
0.009098018,
0.05938114,
-0.07284242,
-0.043064438,
0.027068242,
-0.029646864,
-0.009367535,
-0.03668344,
-0.004334124,
0.04006333,
-0.060080428,
0.030302446,
-0.021109732,
-0.027752962,
-0.04822168,
-0.044317327,
0.07371653,
-0.05378684,
0.018327152,
0.027213927,
0.015267771,
-0.008806649,
0.046531737,
-0.032808226,
0.0017700708,
-0.042598248,
-0.010642277,
0.006020426,
-0.022916224,
-0.0013912902,
-0.007371653,
-0.0067051444,
0.04897924,
-0.0361007,
0.05302928,
0.05763292,
-0.027024537,
-0.0014058587,
-0.0043778294,
0.02979255,
-0.015209497,
-0.031234829,
0.019244967,
-0.0070074406,
-0.022027547,
-0.040383834,
-0.04755153,
-0.018866187,
-0.02776753,
0.02708281,
0.029253514,
-0.029049557,
0.045686763,
-0.022333486,
-0.03103087,
-0.05757465,
0.062120013,
-0.02457703,
0.026864283,
0.040675204,
-0.021022322,
-0.014022165,
0.03196325,
-0.042132054,
-0.027403317,
-0.03534314,
0.039568,
-0.009367535,
-0.046152957,
0.047901172,
-0.014204271,
-0.02920981,
-0.062178288,
0.0139493225,
-0.020599836,
-0.0121428305,
-0.013002371,
-0.03006935,
-0.011560092,
0.001190063,
-0.046706557,
0.019478062,
-0.0491832,
0.009841011,
0.021983841,
-0.014721452,
0.004068249,
0.023571806,
0.049999036,
-0.0014868958,
0.018662227,
-0.030768637,
0.0038897851,
-0.062003467,
0.0038970693,
0.043501493,
0.0041738707,
-0.006115121,
0.046502598,
0.016404113,
0.04044211,
-0.014677747,
0.015063812,
0.019332377,
-0.031234829,
-0.015457161,
-0.030593816,
0.022479171,
-0.031730156,
0.016564365,
0.001897545,
0.009476799,
0.01585051,
0.022610286,
-0.011501818,
-0.0722014,
0.041461904,
0.0069673774,
-0.01882248,
-0.00980459,
-0.04274393,
0.013971176,
0.039626274,
-0.0036694368,
-0.07138557,
-0.009841011,
0.061886918,
0.005324781,
-0.06462579,
0.00036671603,
0.010700551,
-0.028088037,
-0.007684875,
-0.020585267,
-0.051834665,
-0.011443544,
-0.012412348,
0.01633127,
0.022610286,
0.0016954073,
0.038489934,
-0.0021761672,
0.02545114,
0.006694218,
-0.01205542,
-0.025727943,
-0.007903403,
0.0077504334,
0.0134248575,
0.032691676,
-0.009469515,
0.00078851916,
0.0045999987,
0.009811874,
0.01354869,
0.030797774,
0.050494365,
-0.022129526,
0.03353665,
0.007998098,
0.017948372,
-0.028743617,
-0.040296424,
-0.005244654,
-0.03516832,
-0.01344671,
0.023542669,
0.020206487,
0.057807744,
0.042889614,
0.021779884,
-0.0013448531,
-0.010154233,
0.027709255,
0.035605375,
-0.008704669,
0.0097536,
0.0012355895,
-0.05515628,
0.014160566,
-0.0015879647,
-0.030215034,
0.03170102,
-0.011749482,
0.015267771,
-0.046852242,
0.04006333,
-0.009666189,
0.028510522,
-0.0014340851,
-0.0029155177,
-0.02756357,
0.019288672,
-0.024999518,
-0.0026405377,
-0.05600125,
0.00035783838,
0.0015606488,
-0.052883595,
-0.01786096,
-0.020454152,
-0.0070729987,
0.0280589,
0.044025958,
-0.004079175,
-0.06678193,
0.031060006,
0.05168898,
0.013701659,
-0.054311305,
-0.025888195,
0.0057436246,
-0.043705452,
-0.050377816,
-0.043210123,
0.012616307,
0.04361804,
-0.014451936,
-0.032429446,
-0.03612984,
0.009637052,
0.02709738,
0.030564679,
-0.018705932,
0.0048075994,
-0.05600125,
0.039247494,
-0.028262857,
-0.030885184,
0.030418994,
0.002021377,
0.04842564,
-0.011640218,
-0.027636413,
-0.0050479793,
0.01940522,
-0.052126035,
-0.0052883597,
0.01787553,
0.03863562,
-0.0042831344,
0.024416778,
-0.0031558978,
0.030098487,
0.004009975,
0.024431346,
-0.0024347578,
0.015777668,
-0.016258428,
-0.03889785,
0.007801423,
0.040587794,
0.0013922007,
-0.059614234,
-0.0016507913,
-0.014976401,
0.044637833,
-0.021765314,
0.009571494,
-0.01834172,
0.00082266406,
-0.011057479,
-0.008835785,
-0.06445097,
0.02553855,
-0.02891844,
-0.04009247,
0.012230242,
-0.0111448895,
0.031934116,
0.028408542,
-0.008558984,
0.0047092624,
0.05110624,
0.026354387,
0.0035237519,
0.042423423,
-0.030826911,
0.020730952,
0.030506404,
0.013942039,
0.021794451,
-0.03199239,
-0.007269673,
-0.0061697527,
-0.0119534405,
0.0089596175,
-0.018705932,
-0.015690256,
-0.0033015825,
-0.01756959,
-0.05198035,
-0.037732374,
0.04877528,
-0.058565304,
0.018487405,
0.056176074,
-0.039334904,
-0.011006489,
0.01574853,
-0.014379093,
-0.0009296514,
0.0046291356,
0.012062704,
0.0001803988,
0.08333173,
0.0023163888,
-0.0041119545,
0.03825684,
0.019055577,
-0.022362622,
-0.013832775,
-0.026864283,
-0.023193026,
-0.01018337,
-0.03735359,
-0.03132224,
-0.032429446,
0.017729845,
-0.012273948,
-0.055680744,
0.009374819,
-0.015806805,
-0.03350751,
-0.012128263,
0.06934598,
0.032225486,
-0.008653679,
-0.024795558,
-0.007142199,
-0.0083404565,
-0.01325732,
-0.0035456046,
-0.0009551462,
-0.03784892,
-0.06934598,
-0.025713373,
-0.047464117,
-0.0009000591,
0.019565474,
-0.03516832,
-0.04667742,
0.044055093,
0.024504188,
0.061828643,
0.02958859,
-0.017540455,
0.026092153,
0.03735359,
0.048454776,
-0.01612731,
0.03988851,
0.023615511,
0.008231193,
0.02180902,
-0.0050844005,
0.0041775126,
0.00049396267,
0.011844177,
0.015690256,
0.007317021,
-0.017147105,
-0.017700708,
0.0034290568,
0.0008021771,
-0.020964047,
-0.016491523,
-0.0334201,
0.016870303,
-0.05955596,
-0.015151223,
-0.029238947,
0.01595249,
-0.008194772,
0.022522876,
0.01320633,
-0.026864283,
0.25360817,
0.060663164,
0.05273791,
-0.018895322,
0.013242751,
0.020162782,
0.028408542,
-0.03592588,
0.020060802,
-0.023091046,
-0.0029373704,
-0.032196347,
0.038985264,
-0.03537228,
0.016491523,
0.009331114,
-0.013089783,
-0.023571806,
0.022639424,
-0.057428963,
-0.023790333,
0.00096060935,
-0.012711002,
0.029340927,
0.005605224,
-0.00024083524,
0.01988598,
0.0015715752,
0.0015870542,
-0.014051302,
0.040908303,
-0.0094330935,
0.03371147,
-0.030564679,
0.012011714,
0.054253034,
-0.012514328,
-0.0740079,
0.017015988,
-0.0355471,
0.03006935,
0.0014377272,
-0.012368643,
-0.018997302,
-0.021182574,
0.0587984,
0.03274995,
0.0355471,
0.029413769,
-0.10366933,
0.03216721,
-0.02612129,
0.031234829,
-0.012492474,
-0.054894045,
-0.02641266,
-0.03379888,
-0.02613586,
0.016112743,
0.06311067,
0.004767536,
0.00031686452,
-0.014095007,
-0.017977508,
-0.03315787,
0.024649873,
-0.0014805221,
0.02534916,
-0.026383523,
0.0059148045,
0.014874422,
0.0129513815,
-0.008515279,
0.04052952,
0.03851907,
0.02430023,
0.005550592,
0.014211556,
0.016171016,
-0.0430353,
-0.0060131415,
-0.065733,
-0.0061916057,
-0.032779086,
-0.008617258,
0.037237044,
-0.034702126,
-0.009593346,
-0.025320025,
0.037819784,
0.026980832,
0.017758982,
0.00398448,
-0.012747423,
-0.0075100535
] |
Expected speedups
You can benefit from considerable speedups for inference, especially for inputs with long sequences. However, since FlashAttention-2 does not support computing attention scores with padding tokens, you must manually pad/unpad the attention scores for batched inference when the sequence contains padding tokens. This leads to a significant slowdown for batched generations with padding tokens.
To overcome this, you should use FlashAttention-2 without padding tokens in the sequence during training (by packing a dataset or concatenating sequences until reaching the maximum sequence length).
For a single forward pass on tiiuae/falcon-7b with a sequence length of 4096 and various batch sizes without padding tokens, the expected speedup is: |