vector
sequencelengths 1.02k
1.02k
| text
stringlengths 2
11.8k
|
---|---|
[
-0.00008505015,
-0.010700855,
0.0029312235,
-0.01863887,
0.011319402,
0.044370405,
-0.034528643,
-0.034088787,
0.0029432506,
0.06432884,
0.046679646,
-0.027147321,
0.038597304,
-0.043105822,
-0.013683625,
0.038074978,
-0.019683527,
-0.044892736,
-0.049126342,
-0.020205854,
-0.00017396623,
0.013339987,
-0.06806761,
-0.071861364,
-0.042665966,
-0.000066257504,
0.051902927,
-0.017924104,
0.073070966,
0.047779284,
0.0031975422,
-0.055366788,
0.004944936,
-0.022473859,
-0.041868728,
-0.021470439,
0.0051167547,
-0.005346991,
-0.039229598,
-0.03818494,
0.02426077,
-0.00767685,
0.027765868,
-0.050665837,
-0.054981917,
0.018226504,
-0.010391582,
-0.005151118,
-0.0053951005,
-0.010144164,
-0.019930944,
0.026460048,
0.019889709,
-0.0068624304,
-0.008391615,
-0.014872609,
-0.02383466,
0.0033573334,
-0.042116147,
0.019229924,
0.0310098,
0.054432098,
-0.0075325225,
-0.03845985,
0.011553075,
0.039257087,
-0.020714438,
-0.02797205,
-0.01638461,
-0.048604015,
-0.0453051,
0.003355615,
0.0019501399,
0.00010808457,
-0.044892736,
0.0364805,
0.045882408,
0.018308979,
-0.021415457,
0.061469782,
-0.0062198294,
0.031532127,
0.03326406,
0.0027353503,
-0.04068662,
-0.051545545,
0.06575837,
-0.021539165,
-0.041098982,
-0.026185138,
-0.036095627,
0.03411628,
-0.011305656,
0.00014078377,
0.02724354,
0.019862218,
-0.009752417,
0.03964196,
0.04079658,
-0.0073950677,
-0.0059621017,
0.029085433,
0.028865505,
0.03216442,
-0.027298521,
0.014570207,
0.032879185,
-0.0018728215,
-0.009099507,
-0.020480763,
-0.011669911,
0.0019346762,
-0.0052954457,
-0.005109882,
-0.012529004,
0.023793424,
0.003242215,
0.039449524,
-0.038322397,
0.017044393,
0.016741993,
-0.006525666,
0.034308717,
-0.050665837,
0.02410957,
-0.048384085,
-0.013807334,
0.027229793,
-0.03843236,
-0.001412348,
-0.0023710951,
0.0049586818,
0.01638461,
0.0364805,
0.047229465,
-0.0070720487,
0.02927787,
0.019312399,
0.00852907,
-0.011181947,
0.009800526,
0.009243835,
-0.042363565,
0.09836265,
-0.03873476,
-0.018047813,
-0.01261835,
-0.03186202,
-0.046102338,
0.0071064127,
-0.061029926,
0.00097077445,
0.000042390842,
0.022542585,
-0.024631899,
-0.02498928,
0.008398487,
0.016948177,
-0.010707729,
0.0055841007,
-0.024054589,
-0.011436239,
-0.033346534,
0.033071622,
-0.0063813385,
0.050748307,
-0.032576784,
-0.021429202,
0.014817626,
-0.035655774,
0.011436239,
-0.007388195,
0.008817725,
0.02192404,
0.027174812,
0.0047937357,
0.056686357,
0.0059552286,
0.042281095,
0.01906498,
-0.019628543,
-0.016920684,
0.031889513,
0.01681072,
0.021896549,
-0.009092635,
-0.016590793,
-0.019037489,
-0.034913518,
0.022487603,
0.05102322,
0.049731143,
-0.012240349,
-0.0067971395,
-0.033483986,
-0.015188755,
-0.029772708,
0.017607959,
-0.010522164,
-0.03362144,
-0.018446432,
0.05363486,
-0.047999214,
0.0038246796,
-0.017772904,
0.024769353,
-0.0031064784,
0.040604144,
-0.014955081,
0.012453404,
-0.0030652417,
0.035765737,
-0.013566787,
0.03186202,
-0.003821243,
0.006178593,
-0.0632292,
0.038569815,
-0.0051786094,
-0.012185367,
0.0032868877,
-0.0051717367,
0.038927197,
-0.003365924,
0.048191648,
-0.00598272,
-0.003773134,
0.056356464,
0.0040411707,
0.024095824,
0.028480632,
0.01751174,
-0.0010867519,
0.036865376,
-0.024796844,
0.033099115,
0.037992503,
0.038542323,
0.015092536,
0.019161198,
-0.003920898,
0.013065077,
0.04354568,
0.06834252,
-0.059545416,
-0.0006163988,
-0.0040755346,
0.029222889,
-0.008748997,
0.04786176,
-0.05679632,
0.036562975,
-0.015312464,
0.014419007,
-0.021415457,
0.006663121,
0.039504506,
0.024192043,
-0.008061724,
-0.015614864,
0.0153537,
0.023422297,
-0.012790169,
-0.038294904,
0.016714502,
0.050033543,
0.012370931,
0.046982046,
0.010219764,
-0.042583495,
-0.01718185,
-0.06168971,
-0.07301599,
0.008467215,
-0.04307833,
0.0009656199,
0.009044525,
-0.0602052,
0.016123448,
0.019202434,
-0.008590925,
-0.01748425,
-0.029415324,
0.035985664,
0.037690103,
0.026721211,
-0.04879645,
0.057236176,
-0.041263927,
0.010261,
-0.020467019,
-0.0053779185,
-0.016013483,
-0.03155962,
0.026185138,
0.015642354,
0.009573726,
-0.042830914,
-0.023051169,
-0.00048839406,
-0.006773085,
0.008226669,
0.028205723,
0.013711115,
-0.029167907,
-0.00047550767,
0.023889642,
-0.023491023,
0.047586847,
0.03843236,
-0.0077455775,
0.046569683,
0.024054589,
0.04184124,
-0.034886025,
-0.000780915,
0.013408715,
0.0022181766,
-0.035188425,
-0.032549296,
-0.017552977,
0.025759028,
-0.03988938,
0.0024226406,
-0.014226571,
0.072136275,
0.0026047684,
-0.07829425,
0.014652681,
-0.030817363,
-0.014446499,
-0.0255391,
-0.011882966,
0.033703916,
0.023999607,
-0.008261033,
-0.055284318,
-0.008212924,
-0.00555661,
0.037662614,
0.0034191879,
-0.013367479,
0.037167776,
0.06531852,
0.05509188,
-0.01138813,
0.022446368,
-0.012185367,
-0.00097506994,
0.013738606,
0.028838014,
-0.007202631,
0.01404788,
-0.013202532,
0.054074716,
-0.00196904,
-0.013676751,
0.009491254,
0.046019863,
0.023284841,
0.030542454,
0.012707695,
-0.002518859,
0.025676554,
-0.008446597,
-0.0019638853,
0.019779744,
0.0045978627,
0.025058009,
-0.054679517,
0.03326406,
-0.0062301382,
-0.042033676,
0.013113187,
-0.0038796614,
-0.027600922,
0.024453208,
-0.0016219665,
0.06542848,
-0.016398357,
-0.0024054588,
0.030899838,
-0.0066459393,
0.0060170833,
0.05102322,
0.00563221,
-0.009676817,
-0.010432819,
-0.056411445,
-0.0061854655,
-0.019711018,
0.033126604,
-0.0047524995,
-0.005120191,
-0.048109178,
-0.022515094,
0.0075943773,
0.01419908,
0.024563171,
0.014054752,
0.062129565,
-0.05448708,
-0.007518777,
-0.008549688,
0.040906545,
0.015683591,
-0.044095498,
0.033044133,
0.035848208,
-0.003680352,
-0.010893292,
-0.023092404,
-0.0035463336,
0.020384545,
-0.042913385,
-0.023188623,
-0.033429004,
0.0124259135,
-0.03235686,
0.025195463,
-0.009511871,
0.0010472337,
-0.03612312,
0.027037358,
-0.0012242068,
-0.0665831,
-0.009704309,
-0.045112662,
0.0012559931,
0.008096087,
-0.0086252885,
-0.044397898,
0.014034134,
-0.032549296,
-0.0352709,
0.015271227,
0.043683134,
-0.03675541,
0.031779546,
-0.023064913,
0.008322887,
-0.021910293,
-0.024178298,
-0.008047978,
0.040274255,
0.0023676588,
-0.0066425027,
0.014955081,
-0.014061625,
-0.025525354,
0.0034518335,
-0.027009867,
0.027532194,
-0.042253602,
-0.0051820455,
-0.0036288064,
0.027903322,
0.004092716,
0.017992832,
0.024329498,
-0.026212629,
-0.017319303,
0.021841567,
-0.052755147,
-0.059215523,
0.000081345315,
0.02551161,
-0.008927689,
0.044590335,
-0.002276595,
0.006962085,
0.022034002,
0.04706452,
-0.061524764,
0.005223282,
0.012831405,
0.0052198456,
-0.015312464,
-0.017772904,
0.03898218,
-0.08131825,
0.031889513,
-0.057181194,
-0.017855378,
0.014941336,
-0.06773772,
-0.03472108,
0.005749047,
-0.054322135,
0.0030411873,
0.05193042,
-0.0077455775,
-0.01284515,
0.0053298096,
-0.005690628,
0.005309191,
-0.034226242,
-0.0044122986,
0.036507994,
0.042858403,
0.026336338,
-0.07505032,
-0.023298588,
0.029387834,
0.0013461978,
-0.011250675,
-0.016948177,
-0.01876258,
-0.0077180862,
-0.013724861,
-0.046294775,
0.004525699,
0.015023809,
0.009862381,
-0.018322723,
-0.028233213,
-0.0061064293,
-0.025401644,
0.0041992436,
0.06713292,
-0.028892998,
-0.08533193,
-0.019422362,
0.048961397,
-0.004900263,
-0.0028521868,
0.04736692,
-0.039147124,
-0.034693588,
-0.03878974,
0.06916725,
-0.035490826,
-0.010061691,
-0.008041105,
-0.069222234,
-0.0014003207,
0.0401368,
0.017951595,
-0.05396475,
0.013504934,
-0.034611117,
-0.0012989477,
-0.04739441,
-0.038322397,
-0.0067696483,
0.045470044,
-0.000023557925,
0.043820586,
-0.009236962,
-0.0021271128,
-0.0005914851,
0.0077180862,
0.018006578,
0.0104122,
-0.09462388,
-0.013951661,
0.0051236274,
0.015999738,
0.018707598,
0.0063950843,
0.0073744496,
0.02338106,
-0.0030910147,
0.000557551,
-0.02952529,
-0.038652286,
-0.014721408,
-0.020054653,
0.049841106,
-0.016741993,
0.02426077,
0.02009589,
0.02799954,
-0.001914058,
0.027559685,
-0.032934166,
0.0063366657,
-0.027408484,
-0.020467019,
0.02039829,
-0.025607828,
0.018886289,
0.014652681,
-0.001310975,
0.05597159,
-0.038872216,
0.021429202,
0.05341493,
-0.00609612,
0.0022800313,
-0.022308912,
0.02298244,
0.0014578799,
-0.007889905,
0.016068464,
0.0036631702,
-0.014941336,
-0.004859027,
0.00362537,
-0.04901638,
-0.020123381,
0.016563302,
0.0008616697,
0.021415457,
0.043270767,
0.021016838,
-0.045992374,
-0.04706452,
-0.005371046,
-0.0003984041,
0.0036631702,
0.010295364,
0.010144164,
-0.0049311905,
0.03615061,
-0.003096169,
-0.02636383,
-0.011718021,
0.07768945,
-0.009883,
-0.03037751,
-0.03125722,
0.025951464,
-0.020700691,
-0.032521803,
0.012144131,
0.01246715,
-0.03582072,
-0.039971855,
-0.024494443,
0.01146373,
-0.038817234,
0.007814305,
-0.01118882,
-0.040714107,
0.010941401,
0.009078889,
-0.017580468,
-0.07466544,
0.03329155,
0.019422362,
-0.015876029,
-0.0021700675,
-0.07653483,
-0.028068269,
-0.009676817,
-0.010089181,
0.05905058,
-0.012529004,
0.019051233,
0.052975077,
-0.000460044,
0.060700037,
0.010748965,
0.011834857,
0.011649294,
-0.015985992,
-0.04997856,
-0.01126442,
0.03477606,
-0.0036631702,
0.02192404,
-0.0062198294,
0.012549622,
0.048109178,
0.039806906,
0.0028418778,
-0.06278935,
0.030817363,
-0.01076271,
-0.018927524,
0.003979316,
0.014226571,
-0.002017149,
0.043243278,
0.00080883555,
-0.03675541,
-0.0003563086,
0.050940745,
-0.040906545,
-0.02423328,
-0.033401515,
0.008639034,
-0.044645317,
-0.044287935,
-0.040356725,
-0.020522,
0.020934364,
0.050748307,
0.022432622,
0.033401515,
0.012948241,
0.00045703718,
0.011635548,
0.030157581,
-0.0017156076,
0.02709234,
-0.012240349,
-0.02666623,
-0.04478277,
0.029745217,
0.02280375,
-0.0453051,
-0.0014656117,
-0.009642454,
0.020357054,
-0.0077661956,
-0.013869189,
0.06190964,
-0.008673397,
0.0022886223,
-0.008116705,
0.019229924,
-0.031367183,
0.01833647,
-0.06135982,
-0.044562843,
0.001979349,
0.031147255,
0.024123315,
0.05789596,
-0.02566281,
0.054761987,
-0.0021941222,
0.033401515,
0.015683591,
0.03243933,
0.008192305,
-0.004518826,
-0.021195529,
-0.008233542,
0.034583624,
0.02900296,
-0.033181585,
0.02468688,
-0.02894798,
0.007408813,
-0.0021735039,
0.00787616,
0.012219731,
0.036865376,
0.0074500497,
-0.022336403,
-0.015848538,
-0.017869122,
-0.039696943,
0.03788254,
-0.061799675,
-0.048576523,
0.0031477148,
-0.035215918,
-0.014102861,
-0.030405,
-0.027339758,
0.006718103,
0.015876029,
0.025003027,
0.054377116,
0.0093056895,
-0.0076905955,
0.017745413,
-0.011168201,
-0.013793589,
-0.023339823,
-0.033483986,
-0.04365564,
-0.0067455936,
0.03958698,
0.082033016,
0.013504934,
-0.020054653,
-0.011972312,
-0.0005296305,
-0.011944821,
0.04335324,
-0.03562828,
0.0068005756,
-0.029305361,
-0.0011949976,
-0.008419106,
-0.0050789546,
0.00068254897,
0.033978824,
0.0067833937,
-0.0009183698,
-0.021442948,
0.021456692,
0.026102664,
-0.035463337,
0.030872345,
0.019133708,
0.0140753705,
0.00027383573,
-0.0067146667,
-0.00042696894,
0.07021191,
0.024013352,
0.045442555,
0.012144131,
0.019807234,
0.008652779,
-0.04184124,
-0.03645301,
0.053222496,
0.023477279,
0.026253864,
0.016013483,
-0.023119895,
-0.023339823,
-0.027903322,
0.027710885,
0.0075875046,
0.00455319,
-0.007944887,
0.0027765867,
-0.048356596,
0.031367183,
-0.011133838,
-0.06300928,
-0.0032130056,
0.013374351,
0.03125722,
-0.0026408501,
0.007182013,
-0.029635252,
0.042308584,
0.01921618,
0.020618219,
0.033758897,
0.004281717,
0.033951335,
-0.029800199,
0.043573167,
-0.004804045,
0.0006559171,
-0.032026965,
-0.049703654,
-0.011573694,
0.047174484,
-0.0074775405,
-0.05454206,
-0.011951694,
-0.029690234,
0.00030734032,
-0.039202105,
-0.006828067,
-0.03697534,
-0.00051330775,
0.009319435,
-0.028315688,
-0.027834594,
0.052452747,
-0.04354568,
0.019422362,
0.01851516,
0.028260704,
0.025649063,
0.069937,
0.0153537,
-0.021168038,
0.045497537,
0.02757343,
-0.03067991,
-0.016164683,
-0.00825416,
0.00991049,
-0.016714502,
-0.022460112,
-0.050143506,
-0.00007484843,
-0.022597568,
-0.03727774,
-0.017704178,
0.012680205,
-0.032054458,
-0.05943545,
-0.010398455,
0.07961381,
0.06196462,
-0.03155962,
-0.004264535,
0.007704341,
-0.046267282,
0.028343178,
-0.04307833,
0.018446432,
-0.020013418,
-0.053497404,
-0.0128932595,
-0.033703916,
-0.023216113,
-0.015518646,
0.0021735039,
-0.009367544,
0.04159382,
0.026858667,
0.0131406775,
0.032989148,
-0.026171392,
-0.007896777,
0.040714107,
0.044892736,
0.031037292,
0.05132562,
0.0547345,
-0.013408715,
-0.0256903,
0.0076356134,
-0.021154292,
-0.033923842,
-0.023064913,
0.01951858,
0.0071682674,
-0.048411578,
-0.040961526,
0.011896712,
0.0036356791,
-0.022432622,
-0.008247287,
-0.03675541,
0.02079691,
-0.08060349,
-0.0053676097,
-0.02094811,
0.022872478,
-0.03845985,
-0.027161067,
-0.019271161,
-0.04189622,
0.22058745,
0.043105822,
0.044397898,
0.01354617,
0.07312595,
0.057071228,
0.00466659,
-0.007656232,
-0.0057284283,
-0.019271161,
-0.0026666229,
-0.06493364,
0.055229336,
0.03727774,
-0.039202105,
-0.0051648635,
-0.05217784,
0.011951694,
0.017113121,
-0.046102338,
-0.061194874,
0.031944495,
-0.012075404,
0.034253735,
0.051435582,
0.0029535599,
0.04299586,
-0.034006316,
0.034253735,
0.02435699,
0.0049105724,
0.0042954623,
0.0025583773,
-0.015216245,
0.0107764555,
0.003800625,
-0.029332852,
-0.03876225,
-0.018748833,
0.022322658,
0.035545807,
0.0024329498,
0.008467215,
-0.030734891,
-0.054349624,
0.022748768,
0.021305492,
0.020040909,
0.037250247,
-0.036507994,
0.02295495,
-0.06823256,
0.0135736605,
-0.038322397,
-0.03590319,
0.007704341,
-0.049813617,
-0.052397765,
-0.008501579,
0.028054522,
0.0029209142,
0.01766294,
0.0057593556,
0.011608057,
-0.015876029,
-0.014597699,
0.01708563,
0.05281013,
-0.014515226,
0.012233476,
0.019587308,
0.006690612,
-0.021855311,
0.009669945,
0.039806906,
0.03964196,
-0.021360474,
0.037112795,
-0.0058005922,
-0.07059678,
0.011120092,
-0.039202105,
0.04354568,
-0.02039829,
0.011223184,
0.019051233,
-0.016315883,
0.036315557,
-0.01733305,
0.007027376,
-0.0029054505,
0.053854786,
0.036920357,
-0.032686748,
-0.000002208136
] | You'll start with a [PreTrainedModel] or a torch.nn.Module:
from transformers import AutoModelForSequenceClassification
model = AutoModelForSequenceClassification.from_pretrained("distilbert/distilbert-base-uncased")
[TrainingArguments] contains the model hyperparameters you can change like learning rate, batch size, and the number of epochs to train for. The default values are used if you don't specify any training arguments: |
[
0.032283105,
0.029651014,
0.008783331,
0.0021322118,
-0.019529823,
-0.0033191976,
-0.0035573218,
-0.0034900655,
-0.019587992,
0.049297173,
0.02032963,
-0.0003946773,
0.0373437,
-0.03652935,
0.0062966594,
0.05557929,
-0.013414939,
-0.033271957,
-0.05107129,
-0.008943292,
-0.02355794,
0.01140088,
-0.054590438,
-0.030857995,
-0.032981116,
-0.0037772686,
0.0072164373,
0.019442573,
0.06474071,
0.026524497,
-0.02595736,
0.0077508534,
-0.008332531,
-0.020227836,
-0.013989345,
-0.040921018,
0.016243346,
-0.022627257,
-0.05226373,
-0.015778003,
0.012549694,
0.023601567,
0.031032497,
-0.03135242,
-0.0497916,
0.002553928,
-0.0056713563,
-0.028618535,
-0.03158509,
0.005089679,
-0.019282611,
0.020038791,
0.023296187,
0.004853372,
-0.0004646604,
-0.036209427,
-0.021245772,
-0.002277631,
-0.028487658,
0.024139619,
-0.002412144,
0.056509975,
-0.028487658,
-0.05153663,
-0.011982557,
0.022118289,
-0.00577315,
-0.00885604,
-0.05054778,
-0.016592352,
-0.06631124,
0.034231726,
0.003499154,
-0.033737298,
-0.04284055,
0.022816302,
0.024125077,
-0.013909365,
-0.00023835147,
0.040397506,
0.005784056,
0.010193899,
0.004802475,
-0.0011869858,
-0.0100193955,
-0.032166768,
0.03687836,
-0.020533217,
-0.016635979,
-0.022060122,
-0.023717903,
0.032486692,
-0.07073199,
0.0027284313,
0.054648608,
0.02256909,
-0.01611247,
0.03748912,
-0.0035155138,
-0.021478444,
0.033213787,
0.076955944,
0.008579744,
0.041677196,
-0.016926818,
-0.0037590913,
0.0005375973,
-0.00022153735,
-0.049849767,
0.019238986,
0.0119752865,
-0.0280514,
0.041589946,
-0.011677177,
0.0017868407,
0.010441112,
-0.0020304183,
0.014185661,
-0.05938928,
-0.014301997,
0.012426087,
0.0014351076,
0.028400406,
-0.052670904,
0.01755212,
-0.058371343,
-0.03711103,
0.03330104,
-0.022859927,
-0.006358463,
0.020954935,
0.007838105,
0.024241412,
0.039554074,
0.007532724,
-0.0053223497,
0.011379067,
-0.017959295,
-0.0026975297,
-0.03539508,
-0.0033828185,
0.013073203,
-0.016214263,
0.08178387,
-0.0062493985,
-0.01492003,
-0.015167242,
-0.042433377,
-0.053747006,
0.012404274,
-0.07521091,
0.00028129562,
-0.008652453,
-0.0077363118,
-0.034464397,
-0.03254486,
-0.008121673,
0.061366983,
-0.004493459,
0.0062348563,
-0.0031028863,
-0.023223476,
-0.051362127,
0.035046075,
0.030479904,
0.035278745,
-0.04656329,
-0.019951541,
0.018759102,
-0.04775573,
-0.008652453,
0.004627972,
0.024910342,
0.014767339,
0.028240446,
0.013000494,
0.0712555,
0.037838124,
0.0021249407,
-0.013022306,
-0.019224443,
-0.03396997,
0.0116408225,
-0.00074073,
-0.00809986,
0.0043007783,
0.017610287,
-0.0019704327,
-0.02947651,
0.027935065,
0.013669423,
0.03126517,
-0.0014278366,
-0.013247706,
-0.036122177,
0.0049478947,
-0.020445967,
-0.0029683732,
-0.0006498429,
-0.030276317,
-0.006667479,
0.04746489,
-0.010252067,
-0.008637912,
0.010942809,
0.0060639884,
0.030625323,
0.034667984,
-0.0044062077,
-0.0019304424,
0.021580238,
0.052380063,
0.0009352284,
0.024561334,
0.004119004,
-0.0084779505,
-0.024794007,
0.00817257,
0.020838598,
-0.0008670631,
0.0119971,
-0.0091032535,
0.05107129,
0.006285753,
0.021056728,
-0.006594769,
-0.012818719,
0.038565222,
0.013843926,
0.050809536,
0.013284061,
0.035220575,
0.0271498,
0.055084866,
0.001587798,
0.028385865,
0.039903082,
0.025099387,
0.013305875,
0.00915415,
-0.041793533,
0.03923415,
0.051623885,
0.008150756,
-0.026422704,
-0.00032446702,
-0.03568592,
0.013582171,
-0.010564718,
0.025157554,
-0.046941377,
0.031439673,
-0.0046388786,
-0.017333992,
-0.04138636,
-0.022467297,
0.01897723,
0.020256922,
0.018642766,
-0.02661175,
0.02152207,
0.02984006,
0.021914702,
0.004627972,
0.04417841,
0.045341767,
0.018846354,
0.03315562,
0.0012787818,
-0.03929232,
-0.009510428,
-0.03533691,
-0.08032967,
0.015850713,
-0.020809514,
-0.032806613,
-0.0107683055,
-0.05857493,
-0.00023857868,
-0.031905014,
0.019689785,
-0.01410568,
-0.015530791,
0.025012136,
0.065438725,
0.018540973,
-0.018511888,
0.022147372,
-0.008630641,
0.0067256466,
-0.021929244,
-0.03600584,
-0.017232198,
-0.016970443,
-0.014825507,
0.004191714,
0.015094533,
-0.028618535,
-0.013771216,
0.028429491,
0.0008338893,
0.016708689,
0.0077799372,
0.042549714,
-0.034173556,
0.0110591445,
0.016316056,
-0.004853372,
0.06084347,
0.029636472,
-0.029592846,
0.025855567,
0.010542906,
0.027804187,
-0.05235098,
0.03923415,
0.04033934,
-0.00033832729,
-0.048162904,
-0.03219585,
-0.024212329,
0.021740198,
-0.015879797,
-0.052787237,
0.009183235,
0.07224435,
-0.029258382,
-0.05639364,
-0.016970443,
-0.03923415,
-0.014730984,
-0.038477972,
-0.0096849315,
0.025186637,
0.0026975297,
0.0032683008,
-0.06817261,
0.0033319218,
-0.007532724,
0.005482311,
0.0012097076,
-0.030043647,
0.02451771,
0.0532235,
0.031119749,
0.0041517233,
0.03667477,
-0.018700933,
-0.005129669,
0.010870099,
0.03411539,
-0.0037772686,
0.033708215,
0.023034431,
0.029491052,
0.00352642,
-0.05182747,
0.022889012,
0.059796453,
0.013611255,
0.031788677,
0.017930211,
0.00735095,
-0.011262732,
-0.024575876,
-0.022598173,
-0.010186628,
0.0055768336,
0.035656836,
-0.049762513,
0.036267597,
0.016694145,
-0.029461969,
0.00176321,
0.00982308,
-0.037547287,
0.034755234,
0.019951541,
0.07358221,
-0.03719828,
-0.010870099,
-0.019253528,
-0.016548727,
0.020867683,
0.06613674,
0.031032497,
0.008594286,
0.019122649,
-0.025404768,
-0.007619976,
0.026713543,
0.03519149,
-0.009168693,
0.0146001065,
-0.02557927,
-0.06613674,
0.011379067,
0.009641306,
0.042927805,
-0.008427054,
0.02992731,
-0.06037813,
0.0029974573,
0.0077508534,
0.00019813392,
-0.0008706986,
-0.037634537,
0.047290385,
0.013560358,
0.0049878852,
-0.024634045,
-0.020780431,
-0.02040234,
0.031701427,
-0.029781891,
0.020009708,
-0.022598173,
0.014200203,
-0.01567621,
0.011648093,
-0.023761528,
-0.020256922,
-0.05310716,
0.025666522,
0.01665052,
-0.02707709,
-0.014534668,
-0.03577317,
0.016679604,
-0.0066493014,
-0.017333992,
-0.024430458,
-0.0031410588,
0.00723825,
-0.0366166,
0.023543399,
0.051478464,
0.00076890504,
0.0035355089,
-0.02242367,
0.01409841,
-0.003273754,
-0.0054059657,
-0.010731951,
-0.006743824,
-0.013371313,
-0.03591859,
0.0011751704,
0.034929737,
-0.0017986561,
-0.0062821177,
-0.036413014,
0.031614177,
-0.025302975,
-0.039408654,
-0.015763462,
-0.0034046315,
0.02144936,
0.028444033,
0.015690751,
-0.0561028,
-0.0026120958,
0.029461969,
-0.047813896,
-0.06741643,
-0.012287938,
0.00024971235,
-0.0053368914,
0.018991772,
-0.015210868,
0.018090172,
0.032893866,
0.03382455,
-0.043131392,
-0.0021267587,
-0.03524966,
-0.0043480396,
-0.0013951173,
-0.02834224,
0.029491052,
-0.033999052,
0.03164326,
-0.021812908,
-0.03818713,
-0.013007765,
-0.047203135,
0.03743095,
-0.0005403239,
-0.018221049,
0.021958329,
0.028545827,
-0.031177917,
-0.006103979,
-0.029578304,
0.02984006,
-0.022249166,
-0.026073696,
-0.0119752865,
0.055753794,
0.01777025,
0.033650048,
-0.05642272,
-0.006314837,
0.0116844475,
-0.028720329,
0.024634045,
0.006700198,
-0.00502424,
0.01117548,
-0.010608344,
-0.024634045,
0.02738247,
-0.019093566,
-0.0005121489,
-0.0046897754,
-0.0012315204,
-0.02070772,
-0.019747954,
-0.010688325,
0.031759594,
-0.011611738,
-0.074454725,
-0.041822616,
0.055143032,
-0.00892148,
0.0024448636,
0.058633097,
-0.025753774,
-0.033795465,
-0.024939425,
0.051565714,
-0.013691235,
-0.007845376,
-0.031439673,
-0.07061566,
0.018293759,
0.014345623,
0.0041808076,
-0.051129457,
0.011204564,
-0.039932165,
-0.012658758,
-0.024052367,
-0.027993232,
-0.031439673,
0.004438927,
-0.0472613,
0.035569582,
-0.0035173316,
-0.01417112,
-0.0006584772,
0.018570056,
0.017028611,
0.052554566,
-0.08952018,
-0.031294253,
-0.032893866,
-0.03388272,
-0.006082166,
0.010317505,
-0.010455654,
0.03245761,
-0.025971903,
0.022249166,
-0.04702863,
-0.01665052,
-0.039873995,
0.001115185,
0.016912276,
-0.016010676,
-0.005635001,
-0.0044861883,
0.057818748,
0.0043153204,
0.05377609,
-0.049849767,
0.006772908,
-0.06532239,
-0.065904066,
0.00884877,
-0.026960755,
0.0005494126,
-0.002786599,
-0.0016259706,
0.055317536,
-0.035802253,
0.03545325,
0.058458596,
-0.0068274406,
0.0015132705,
-0.05272907,
0.017523037,
0.0070019434,
-0.0043771234,
-0.004522543,
-0.015719837,
-0.034755234,
0.0066965627,
-0.010586532,
-0.05272907,
-0.027775103,
0.001995881,
0.021929244,
0.0027138893,
0.02661175,
-0.005355069,
-0.023877865,
-0.074280225,
0.0126442155,
0.0330102,
0.03173051,
0.008797873,
0.030625323,
0.015850713,
0.0373437,
-0.041153688,
-0.017668456,
-0.00033832729,
0.074745566,
-0.018046547,
-0.027426098,
0.0122225,
0.012607861,
-0.036354847,
-0.027324304,
0.033591878,
-0.012658758,
-0.039873995,
-0.038128965,
0.0028593089,
0.03539508,
-0.03780904,
0.0073145954,
0.035831336,
-0.05511395,
0.008390699,
0.004555262,
-0.019282611,
-0.038012628,
0.005551385,
0.031788677,
-0.033097453,
-0.012207958,
-0.05691715,
-0.010557448,
-0.046592373,
-0.023470689,
0.036093093,
0.025913736,
0.021958329,
-0.0030883444,
0.0013015035,
0.09667481,
-0.0052532754,
-0.009997583,
-0.009677661,
-0.03818713,
-0.05738249,
0.018773643,
0.020518675,
-0.006067624,
-0.0022103747,
-0.030683491,
0.016301513,
0.016781397,
0.06218133,
0.006540237,
-0.08789148,
0.040746514,
-0.010579261,
-0.015574417,
0.019966083,
-0.025622897,
-0.009575867,
0.058778517,
-0.004627972,
-0.008877854,
0.026364535,
0.0054277787,
-0.037925377,
-0.024648586,
-0.05025694,
0.0069110566,
-0.03676202,
-0.056742646,
-0.017755708,
-0.022976264,
0.02144936,
0.016912276,
-0.008354344,
0.003126517,
0.003999033,
0.009648576,
0.0063984534,
-0.0072782403,
-0.017741166,
-0.0049260817,
0.021798367,
0.0007039207,
-0.020969477,
0.0068056276,
0.026291825,
-0.060203627,
-0.023790613,
0.016432391,
0.018061088,
-0.038565222,
0.045632605,
0.028284071,
0.012593319,
0.0135749,
-0.024532251,
0.020605927,
-0.02924384,
-0.009066899,
-0.050198775,
-0.01904994,
0.003408267,
0.044963676,
0.02076589,
0.06508972,
-0.0000753227,
0.009939415,
-0.00075118203,
0.02601553,
0.02475038,
0.018846354,
0.0017768432,
-0.01529812,
-0.028414948,
-0.010928267,
0.035802253,
0.031701427,
-0.01957345,
0.01973341,
0.015778003,
-0.0026629926,
-0.012164332,
0.013247706,
0.04926809,
0.03269028,
0.029578304,
-0.026262742,
0.019995166,
0.0013451293,
-0.024197787,
0.003831801,
-0.03972858,
-0.07701411,
0.0046461495,
-0.03952499,
-0.0070019434,
-0.02648087,
-0.022990806,
0.0070455694,
0.0046388786,
-0.0024830361,
0.0022758134,
0.024241412,
0.021100353,
-0.0022885376,
-0.03545325,
-0.039932165,
0.008441595,
-0.0029611024,
-0.011837139,
-0.013364042,
0.03231219,
0.070150316,
0.032719363,
-0.0138075715,
-0.034987904,
-0.0032846604,
0.02429958,
0.07119733,
-0.023194393,
0.00071300945,
-0.0409501,
0.0071219145,
-0.01814834,
0.0142511,
0.012498797,
0.0040281173,
-0.016374223,
0.0016686874,
0.010688325,
0.047086798,
0.031905014,
-0.016737772,
-0.009328654,
0.026451787,
0.009088712,
-0.004344404,
0.010942809,
0.0025448394,
0.06171599,
0.025622897,
0.044091158,
-0.012011642,
0.05406693,
0.013676694,
-0.029054794,
-0.016490558,
0.03530783,
0.014963655,
-0.0015369012,
-0.009873977,
-0.020227836,
-0.027920524,
-0.001446014,
0.010128461,
0.026219117,
0.009045086,
-0.012586048,
-0.022220083,
-0.03231219,
0.0131241,
0.004846101,
-0.03868156,
0.037750874,
0.019369863,
0.029287465,
0.014127494,
0.060552634,
-0.0004748852,
0.050169688,
0.05272907,
0.016708689,
0.012535151,
0.008441595,
0.042346127,
-0.01784296,
0.017392159,
-0.030421736,
-0.004344404,
0.00040308438,
-0.021841992,
-0.03524966,
0.037983544,
0.0124769835,
-0.042666048,
0.0053841528,
-0.013378584,
-0.012578777,
-0.064973384,
0.017508494,
-0.05301991,
0.004002669,
0.01192439,
-0.0135749,
-0.04612703,
0.055433873,
-0.05595738,
0.014709171,
0.02137665,
0.049995188,
0.050286025,
0.08411057,
0.026000988,
0.0014741891,
0.040746514,
0.02947651,
-0.028545827,
-0.04452742,
-0.004831559,
-0.01777025,
-0.022467297,
-0.07945716,
-0.06287935,
0.025666522,
0.011575383,
-0.026539039,
-0.008514306,
0.014571023,
-0.018759102,
-0.013916636,
-0.004587982,
0.08666996,
0.019936997,
-0.014185661,
0.011786241,
0.044003908,
-0.046825044,
-0.0076563307,
-0.03338829,
0.046970464,
-0.020751348,
-0.039030563,
-0.0006448441,
-0.056858983,
-0.009968499,
0.019907914,
-0.008405241,
0.013494919,
0.03853614,
0.010993706,
-0.0019976988,
0.013378584,
-0.016476016,
-0.005242369,
0.061541487,
0.033591878,
0.023805154,
0.070150316,
0.05296174,
-0.0053368914,
0.013596713,
0.01132817,
-0.0154726235,
-0.04333498,
-0.025826484,
0.0019231715,
0.020940391,
-0.04531268,
-0.06805628,
-0.0030083635,
0.015632585,
-0.006380276,
0.011168209,
-0.054328684,
0.039699495,
-0.08684446,
-0.0129350545,
-0.012091623,
0.014541939,
-0.018657308,
-0.03533691,
-0.0019413489,
-0.048744578,
0.25314608,
0.038943313,
0.028298613,
0.040746514,
0.012251584,
0.04199712,
0.005438685,
-0.050664116,
0.004140817,
-0.018104713,
-0.0060458113,
-0.051652968,
0.022031037,
0.0062457626,
-0.026277283,
0.04580711,
-0.033504628,
0.0116408225,
0.00352642,
-0.009881248,
-0.06165782,
0.040891934,
-0.012258855,
0.061076142,
0.01784296,
-0.009161421,
-0.009779454,
-0.047232218,
-0.002970191,
-0.01800292,
0.015836172,
0.00008282089,
0.037983544,
-0.0151817845,
0.033039287,
0.04289872,
0.016679604,
-0.045254514,
-0.019777037,
-0.0071110083,
0.0014005705,
-0.03876881,
0.008354344,
-0.030159982,
-0.03222494,
0.020387799,
-0.017348533,
0.039495908,
0.064333536,
-0.059563782,
0.046621457,
-0.04854099,
-0.0009979405,
-0.040891934,
-0.024081452,
-0.023281645,
-0.049297173,
-0.043538567,
-0.008085318,
0.020140585,
0.02774602,
0.0054932176,
0.05985462,
0.011575383,
0.001107914,
0.021856533,
0.045341767,
0.05834226,
-0.034435313,
0.023427064,
0.02099856,
-0.025782857,
-0.014207474,
-0.028589452,
0.04889,
0.06119248,
0.0144328745,
0.041706283,
-0.0007852647,
-0.037314616,
0.033620965,
-0.04574894,
0.016446933,
-0.024575876,
0.019980624,
0.05991279,
-0.010382945,
0.018846354,
-0.019297153,
0.01987883,
0.0037627267,
0.052060142,
0.0064457143,
-0.027556974,
0.032573942
] | from transformers import TrainingArguments
training_args = TrainingArguments(
output_dir="path/to/save/folder/",
learning_rate=2e-5,
per_device_train_batch_size=8,
per_device_eval_batch_size=8,
num_train_epochs=2,
)
Load a preprocessing class like a tokenizer, image processor, feature extractor, or processor:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased")
Load a dataset: |
[
0.0005789264,
-0.009732367,
0.0023797343,
-0.006683888,
-0.0048732976,
-0.0134744905,
0.009696796,
-0.01097737,
-0.020133479,
0.050568465,
-0.00790399,
-0.006075615,
0.033864085,
-0.010159225,
-0.0059013143,
0.013289519,
-0.041917473,
-0.043567993,
-0.068752624,
-0.0036709805,
-0.013872891,
0.010486483,
-0.054040246,
-0.02481469,
-0.023164172,
0.0039555524,
-0.0053926418,
0.021172166,
0.0812738,
0.04297039,
-0.003413087,
0.035998374,
-0.02124331,
-0.014463378,
0.010209025,
-0.05421099,
0.008544278,
0.006118301,
-0.034917,
-0.008999594,
-0.018411817,
0.038104206,
0.018838674,
-0.0102588255,
-0.04561691,
0.017828444,
-0.021584796,
-0.017928043,
-0.05330036,
-0.0010004488,
-0.012222373,
0.016305983,
0.024928518,
0.024743546,
-0.013310861,
-0.02828647,
-0.031103734,
0.014363778,
-0.048434176,
0.019009419,
0.007462904,
0.054893963,
-0.026948981,
-0.054267906,
-0.0069898027,
0.020887595,
-0.0020933836,
0.005413985,
-0.054381732,
-0.019151704,
-0.037848093,
0.029965445,
-0.018198388,
-0.047495086,
-0.045645367,
0.010372654,
0.02696321,
0.007462904,
0.00770479,
0.041860558,
0.007370418,
0.016704384,
0.030392302,
0.04316959,
-0.022168169,
-0.036083747,
0.047921944,
-0.031928994,
-0.010223254,
-0.017615015,
-0.012393116,
0.0028706214,
-0.056999795,
-0.015196151,
0.03918558,
0.044336338,
-0.019749306,
0.04980012,
-0.024373602,
-0.01000271,
0.0404377,
0.09407955,
-0.03705129,
0.032526594,
0.004489125,
0.024729317,
0.014022292,
-0.0074131037,
-0.042401247,
0.038559522,
-0.025355376,
-0.01634867,
0.03093299,
-0.01684667,
0.0022285555,
0.03423403,
0.021755539,
0.03756352,
-0.06562233,
-0.024330916,
0.020603022,
-0.0013952927,
0.02369063,
-0.062093638,
-0.012023172,
-0.055719223,
-0.027333153,
0.04726743,
-0.0063744155,
-0.014925808,
0.034917,
0.020972965,
0.047836576,
0.05204824,
0.018397588,
-0.0012503387,
0.012884003,
-0.0124215735,
0.020716852,
-0.03676672,
0.0008181449,
0.030648418,
-0.018625246,
0.08263975,
0.03338031,
-0.039640896,
0.0056380853,
-0.034660883,
-0.03716512,
0.0422305,
-0.07882648,
0.0064882445,
0.015352666,
-0.019749306,
-0.029481672,
-0.034347855,
0.010358426,
0.014826207,
-0.019208618,
-0.009234365,
-0.026408292,
-0.01888136,
-0.037705805,
0.027489668,
0.022893827,
0.028627956,
-0.0418321,
-0.016789755,
-0.0028154855,
-0.027205095,
-0.021926282,
0.008793279,
0.015694153,
0.012208144,
0.05113761,
-0.0039270953,
0.070289314,
0.010956027,
-0.004848398,
0.0017714615,
-0.0045246966,
-0.010628769,
0.0036674233,
0.0032476794,
-0.024956975,
-0.022637712,
0.0111054275,
-0.018810218,
-0.03693746,
0.0045567113,
0.017586557,
0.01602141,
0.022068568,
-0.0018212616,
-0.041433703,
0.011005827,
-0.029040586,
0.009568738,
-0.006363744,
-0.014107663,
-0.02236737,
0.05563385,
-0.030506132,
-0.0067514735,
0.009824852,
-0.003923538,
0.028542584,
0.041632902,
-0.024217088,
0.019123247,
0.037136663,
0.03468934,
-0.000991556,
0.023263771,
0.009269937,
-0.019848906,
-0.03113219,
0.03033539,
-0.0017438936,
-0.006872417,
0.0039093094,
0.001618504,
0.05318653,
0.015978726,
0.020062335,
0.026266007,
-0.0075482754,
0.050881498,
0.012755945,
0.03338031,
0.024017887,
0.056914426,
0.017814215,
0.059475575,
0.0047061117,
0.0077403616,
0.05031235,
0.020546107,
0.0057483567,
0.0067728166,
-0.0073063895,
0.054580934,
0.043681823,
0.00403381,
-0.0034006368,
0.026877837,
-0.0039093094,
-0.0073135034,
-0.018056102,
0.031075276,
-0.03605529,
0.037677348,
0.019436276,
-0.005883529,
-0.066020735,
-0.035998374,
-0.0043575107,
0.030022359,
0.028656414,
-0.024288232,
0.035258487,
0.025739549,
0.032298937,
-0.01816993,
0.0063922014,
0.029125957,
0.008088963,
0.032071277,
-0.02746121,
-0.051109154,
-0.007676333,
-0.055605393,
-0.06989092,
0.003085829,
-0.05085304,
-0.035002373,
-0.026920523,
-0.068752624,
0.0036425232,
-0.020517651,
0.006573616,
-0.016718613,
-0.034461685,
0.039783183,
0.06254895,
0.02572532,
-0.028030355,
0.021812454,
0.0008950683,
0.033209566,
-0.00014684367,
0.0006358408,
-0.013382005,
-0.013702148,
-0.013367776,
0.024956975,
0.0007541161,
-0.032953452,
-0.01950742,
0.035030827,
-0.029339386,
0.034774713,
-0.007975134,
0.042031303,
-0.022210855,
0.007932448,
0.036396775,
-0.0060436004,
0.051905956,
0.022637712,
-0.003450437,
-0.0013170354,
0.031672876,
0.030477675,
-0.043141134,
0.032611966,
0.043681823,
0.0062107868,
-0.05981706,
-0.03298191,
-0.04245816,
0.016803984,
-0.036083747,
-0.054893963,
0.00008587186,
0.04849109,
-0.051308353,
-0.066020735,
-0.0072921608,
-0.03736432,
-0.025753777,
-0.018312216,
-0.009326851,
0.041889016,
0.008544278,
-0.0071036317,
-0.05776814,
0.010927569,
-0.010301511,
0.0011516279,
0.0035020157,
-0.01254963,
0.010493597,
0.052418184,
0.02470086,
0.01899519,
0.023562571,
-0.023149943,
0.0061574294,
-0.00007364415,
0.034347855,
-0.008608307,
0.02390406,
0.018326445,
-0.006360187,
0.003404194,
-0.049970865,
0.04450708,
0.05256047,
0.019948507,
0.024330916,
0.028329154,
-0.020346906,
-0.0021787554,
-0.031502135,
-0.019649705,
-0.0041369675,
0.0039021953,
0.046641372,
-0.03662443,
0.019066332,
0.02858527,
-0.026579037,
0.020972965,
-0.005349956,
-0.03807575,
0.025298461,
0.011418456,
0.056971338,
-0.02031845,
-0.014712378,
-0.010778169,
-0.003530473,
0.016391354,
0.053243443,
0.055406194,
0.0051009553,
0.0013677247,
-0.031160647,
-0.029453214,
0.011361542,
0.032412764,
-0.0018835118,
0.030107731,
-0.022523884,
-0.05902026,
0.013858663,
0.030961446,
0.04971475,
0.024985433,
0.044677824,
-0.031388305,
0.003277915,
0.005648757,
0.006054272,
0.0025291347,
-0.019891592,
0.042600445,
0.022324683,
0.0000067460824,
-0.014299749,
-0.01582221,
-0.014555864,
0.006573616,
-0.017543871,
0.017842673,
-0.017316213,
0.010891998,
0.0012654567,
0.047921944,
-0.041405246,
-0.020033877,
-0.032355852,
-0.023804458,
0.031786706,
-0.048861034,
0.0009711024,
0.0001800808,
0.0119876005,
0.005115184,
0.020190392,
-0.021869367,
-0.020859137,
0.011446914,
-0.04316959,
0.024217088,
0.060158547,
-0.017088557,
0.021172166,
-0.048035774,
0.007747476,
-0.015751068,
-0.010984484,
0.0031765364,
0.008017819,
-0.03898638,
-0.014520293,
0.015751068,
0.020033877,
-0.011283285,
0.015167695,
-0.0077617047,
0.04174673,
-0.018411817,
-0.04826343,
-0.038360324,
-0.0049479976,
-0.00975371,
0.034347855,
0.011318856,
-0.02622332,
-0.011190799,
0.030790703,
-0.03582763,
-0.06829731,
0.02481469,
0.025070805,
0.0016024967,
0.028855614,
-0.009113423,
0.0046029543,
0.034632426,
0.025469204,
0.0016985398,
-0.017928043,
-0.041092213,
-0.013951149,
-0.009163222,
-0.03329494,
0.026493665,
-0.03258351,
0.027361609,
-0.014897351,
-0.045218512,
0.0020062334,
-0.08189986,
0.016106782,
-0.0024722202,
-0.021285996,
0.01301206,
0.023149943,
-0.011119655,
-0.021912053,
-0.028912527,
0.0038915237,
-0.0059013143,
-0.012407345,
-0.020460736,
0.026280235,
0.026280235,
0.053015787,
-0.05509316,
-0.03326648,
0.009775053,
0.0017563435,
0.032099735,
-0.018127244,
-0.008323735,
0.0071890033,
-0.016078325,
-0.005193441,
0.01061454,
-0.029794702,
0.02623755,
0.011923572,
0.01868216,
-0.022936514,
-0.019521648,
-0.019735077,
0.023861373,
-0.024672404,
-0.046214513,
-0.04860492,
0.04388102,
-0.0040942812,
-0.006193001,
0.073818006,
-0.010144996,
-0.015295751,
-0.00048199404,
0.044990852,
-0.014306864,
-0.0051258556,
-0.049259435,
-0.033750255,
0.034177113,
0.036595974,
0.0018301544,
-0.05022698,
0.028827157,
-0.034376312,
-0.009924453,
-0.016049867,
-0.012044515,
-0.013830205,
-0.010173453,
-0.03818958,
0.03574226,
-0.005865743,
0.022196626,
-0.012777288,
-0.034860086,
0.026721323,
0.04257199,
-0.069834,
-0.010891998,
-0.024530116,
-0.030876076,
0.024715088,
0.032782707,
-0.0072850464,
0.024857376,
-0.028499898,
0.015637238,
-0.050568465,
-0.036709804,
-0.067671254,
-0.003848838,
0.014079206,
-0.04194593,
-0.00811742,
-0.021414053,
0.050511554,
0.018184159,
0.058735687,
-0.038673352,
-0.008053391,
-0.03633986,
-0.062093638,
0.029140186,
-0.031416763,
0.00530727,
-0.0021698624,
0.0021894267,
0.0655085,
-0.032355852,
0.010820855,
0.041860558,
0.0042152246,
0.0039342097,
-0.06454096,
0.035457686,
-0.00882885,
-0.03275425,
-0.008821736,
-0.020474965,
-0.049174063,
0.0012085423,
-0.020019649,
-0.04388102,
-0.024131715,
0.03890101,
0.035998374,
-0.019649705,
0.0347178,
-0.0070716175,
-0.022125483,
-0.078428075,
0.020546107,
0.024330916,
0.00934108,
0.026806694,
0.016106782,
0.02144251,
0.06829731,
-0.034575514,
-0.0021449623,
-0.0019475404,
0.048462633,
-0.013609662,
-0.036965918,
0.007626533,
-0.016803984,
-0.070289314,
-0.039669354,
0.035998374,
0.0000013200367,
-0.044933937,
-0.02438783,
-0.0048377262,
0.03972627,
-0.030904533,
0.0145843215,
0.051649842,
-0.040295415,
-0.020432279,
0.0094691375,
-0.0119876005,
-0.0115394,
0.0045567113,
0.038616437,
-0.0351162,
-0.009141879,
-0.053613387,
0.014420693,
-0.03523003,
-0.0072139036,
0.047011316,
0.010742597,
0.043653365,
-0.0036194017,
0.024416288,
0.06641913,
-0.008594078,
-0.016988955,
0.020873366,
-0.0345186,
-0.06374416,
0.021997426,
0.026123721,
-0.005378413,
-0.0071783317,
-0.03483163,
0.0006989803,
0.0059226574,
0.049970865,
-0.0013312639,
-0.08514398,
0.03534386,
-0.0001564035,
-0.01787113,
0.025967207,
-0.02868487,
-0.006434887,
0.05828037,
-0.0037385663,
-0.02041805,
-0.009782167,
0.0031961007,
-0.020432279,
-0.0124215735,
-0.023462972,
0.008658106,
-0.041718274,
-0.027831154,
-0.013246832,
-0.024871605,
0.019393591,
0.012691917,
-0.013958262,
-0.021698624,
0.0063317297,
0.02278,
0.011027169,
0.014883122,
-0.01816993,
-0.027816925,
0.01633444,
-0.0027959212,
0.00398401,
0.02970933,
0.04624297,
-0.07979403,
-0.02236737,
0.0054388847,
0.006072058,
-0.01694627,
0.025768006,
0.049373265,
-0.023861373,
0.018482959,
-0.03184362,
0.011034284,
-0.042799648,
-0.020233078,
-0.039470155,
-0.0072637033,
0.011553628,
0.048548006,
0.02021885,
0.03329494,
-0.006523816,
-0.005118741,
0.011532285,
0.0031658649,
0.014121892,
0.006822617,
0.016803984,
-0.025469204,
-0.00410851,
0.007025374,
0.015281523,
0.025141947,
0.024757775,
0.015395352,
0.037193578,
-0.023050342,
-0.030506132,
0.024316687,
0.02408903,
0.045645367,
0.045218512,
-0.0287987,
0.015025408,
-0.020403821,
-0.024473203,
-0.002424199,
-0.023960972,
-0.05930483,
0.011454028,
-0.04217359,
-0.0011818636,
-0.057853512,
-0.019066332,
0.005588285,
-0.011973372,
0.02552612,
-0.012755945,
0.019564334,
0.01530998,
-0.016305983,
-0.033920996,
-0.0398401,
0.011966258,
0.000580705,
-0.013944034,
-0.00477014,
0.035030827,
0.05828037,
0.031530593,
-0.008636764,
-0.034575514,
-0.0020951622,
0.004723897,
0.07666373,
-0.016007181,
-0.008380649,
-0.022495426,
0.014570093,
-0.060329292,
-0.00045664934,
0.010187682,
0.036282945,
-0.0035873873,
0.032611966,
0.0130049465,
0.040067755,
0.015893353,
0.0042365673,
0.0072921608,
0.03215665,
-0.009810624,
-0.0155234095,
-0.018525645,
0.007811505,
0.07649299,
0.062435124,
0.024316687,
-0.04379565,
0.03033539,
0.0134744905,
-0.026735552,
-0.016305983,
0.019251304,
0.009234365,
0.016476726,
0.0046563116,
-0.0034451012,
-0.04288502,
0.012912461,
0.0289979,
0.028115725,
0.0040764958,
0.00064073195,
-0.011432685,
-0.035087742,
0.0054531135,
-0.0016771969,
-0.02623755,
0.028756013,
0.035969917,
0.05014161,
0.040181585,
0.036795177,
-0.017074328,
0.027916525,
0.02684938,
-0.00469544,
0.005253913,
-0.0041938815,
0.023619486,
-0.0069293315,
0.029794702,
-0.046783656,
-0.0034557728,
-0.017942272,
-0.03326648,
-0.06152449,
0.042998847,
0.001961769,
-0.051194526,
0.023505658,
-0.01980622,
-0.03429094,
-0.046470627,
0.014228607,
-0.03633986,
0.0024828918,
0.006200115,
-0.04399485,
-0.04154753,
0.022025883,
-0.03830341,
0.026394065,
-0.005534928,
0.060329292,
0.04877566,
0.044364795,
-0.010956027,
0.01230063,
0.014043635,
0.016462497,
-0.013993834,
-0.056971338,
-0.014982723,
-0.02225354,
-0.02440206,
-0.05734128,
-0.040864557,
0.014698151,
0.022338912,
-0.018539874,
-0.0050547123,
0.013566976,
0.013894234,
-0.017017413,
0.007064503,
0.07666373,
0.020901823,
-0.016860899,
0.010358426,
0.025056576,
-0.06954943,
-0.0066910023,
-0.0345186,
0.01580798,
-0.027617725,
-0.050796125,
-0.0037136662,
-0.04684057,
0.009099194,
-0.005140084,
-0.0021947625,
-0.0014691036,
0.042116676,
0.011752829,
0.0229792,
0.02726201,
-0.032384306,
-0.01235043,
0.039441697,
0.02152788,
0.034860086,
0.07461481,
0.030278474,
-0.01449895,
0.020603022,
0.026564809,
0.01240023,
-0.025597263,
-0.028841386,
-0.013083204,
-0.0051507554,
-0.048234977,
-0.080306254,
-0.0015864896,
0.0142072635,
0.016377125,
-0.0064420016,
-0.02408903,
0.040750727,
-0.05748357,
-0.03164442,
-0.020076564,
-0.0012467817,
-0.027333153,
-0.014840436,
0.035884544,
-0.026692865,
0.2394959,
0.05270276,
0.037819635,
0.026152179,
0.0172593,
0.021015652,
0.004126296,
-0.05617454,
0.0045602685,
0.004346839,
-0.0058550714,
-0.019521648,
0.01634867,
0.030591503,
-0.04797886,
0.03309574,
-0.04501931,
0.03807575,
-0.02000542,
-0.044080224,
-0.062719695,
0.0418321,
0.010216139,
0.060272377,
0.031388305,
-0.027703097,
0.015253066,
-0.05258893,
-0.019422047,
-0.032412764,
0.016775526,
-0.032498136,
0.033238024,
-0.0038595095,
0.012969375,
0.015366895,
0.0031587505,
-0.05073921,
0.0026091707,
-0.0035589302,
-0.028457213,
-0.044791654,
0.055975337,
-0.011133884,
-0.027646182,
-0.003966224,
-0.016875127,
0.022509655,
0.046072226,
-0.05603225,
0.024772003,
-0.022040112,
0.03733586,
-0.08981096,
-0.039270952,
-0.0036158445,
-0.05318653,
-0.044336338,
-0.021727081,
0.027361609,
0.01633444,
0.03756352,
0.03022156,
0.012884003,
-0.0019973407,
0.028571041,
0.019521648,
0.051649842,
-0.029225558,
-0.00024522113,
0.0014842214,
0.00045509308,
-0.020033877,
-0.03227048,
0.033209566,
0.037905008,
-0.0048412834,
0.049942408,
-0.010578969,
-0.04001084,
0.060044717,
-0.042515077,
-0.012044515,
-0.047039773,
0.024587031,
0.067329764,
-0.03081916,
0.03673826,
-0.0024668847,
0.020844908,
0.0044464394,
0.017572328,
0.011418456,
-0.00985331,
0.027375838
] | from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased")
Load a dataset:
from datasets import load_dataset
dataset = load_dataset("rotten_tomatoes") # doctest: +IGNORE_RESULT
Create a function to tokenize the dataset:
def tokenize_dataset(dataset):
return tokenizer(dataset["text"])
Then apply it over the entire dataset with [~datasets.Dataset.map]:
dataset = dataset.map(tokenize_dataset, batched=True) |
[
0.017454915,
0.017568259,
0.041030385,
0.01659067,
-0.011036833,
-0.032019567,
0.009768802,
0.0067156083,
-0.018786702,
0.050126206,
-0.005529043,
0.015060531,
0.015117203,
-0.012949507,
-0.020288505,
0.0022208262,
-0.027599167,
-0.07129312,
-0.06483254,
0.0041866293,
-0.020883558,
0.0041122474,
-0.083817594,
-0.05363986,
-0.032982986,
0.024326371,
0.011270604,
0.012290697,
0.06670271,
0.016944868,
-0.03524986,
0.00978297,
0.0068077003,
-0.018701695,
-0.018545847,
-0.025105609,
0.028222557,
-0.012779491,
-0.023178767,
-0.021322764,
0.018489175,
0.008925809,
0.03683667,
-0.044118997,
-0.039641924,
0.0040520336,
-0.001129894,
0.007172525,
-0.0427022,
-0.033153005,
-0.0024971012,
0.014692164,
0.019126732,
0.014621325,
-0.021336934,
0.010540955,
-0.019438427,
0.01081723,
-0.035136517,
-0.02958268,
-0.016845692,
0.044600707,
-0.00036903084,
-0.05474496,
0.025077272,
0.022243682,
-0.018219983,
-0.0060497145,
-0.047179274,
-0.03836681,
-0.05910869,
0.023221271,
-0.023235438,
-0.04131374,
-0.04836938,
0.0052102637,
0.016264807,
-0.024014676,
-0.0007300922,
0.046272524,
0.013183278,
0.031481184,
0.011773567,
0.021577789,
-0.032926317,
-0.047859337,
0.067099415,
-0.017242396,
0.03986861,
-0.029015962,
-0.018163312,
0.020628536,
-0.004863149,
0.02819422,
0.025587318,
0.04610251,
-0.028420908,
0.04576248,
-0.014550485,
-0.008720374,
0.04870941,
0.11221016,
-0.032586284,
0.024383042,
-0.0100309085,
0.0133957965,
0.0057344777,
-0.011504375,
-0.0085786935,
0.035816576,
-0.019778458,
0.00739567,
0.056700137,
-0.009280007,
-0.012814911,
0.03439978,
0.028945122,
0.012949507,
-0.049672835,
-0.027726678,
-0.0040732855,
0.0014265355,
0.023887165,
-0.042277165,
0.027315808,
-0.081607394,
-0.002838903,
0.021549452,
-0.0008766419,
-0.005436951,
0.014465477,
0.006488921,
0.025275623,
0.036468305,
0.023150431,
0.013431217,
0.0053058974,
-0.011695643,
0.022116171,
-0.02156362,
0.003400308,
0.017724106,
-0.032444607,
0.07985057,
0.01195775,
-0.04168211,
0.024524722,
-0.04499741,
-0.03760174,
0.015740592,
-0.08115402,
0.010222176,
0.012644895,
-0.003442812,
-0.040123634,
-0.031849552,
-0.008082815,
0.0061807684,
-0.03683667,
0.008699122,
0.0014495584,
-0.03539154,
-0.031906225,
0.04318391,
0.0069883415,
0.054433264,
-0.046839245,
-0.013069934,
-0.021662796,
-0.04035032,
-0.00912416,
-0.0028619259,
0.019934306,
-0.021181086,
0.04610251,
0.015783096,
0.041512094,
0.014890515,
0.0013300163,
0.015131371,
0.019155068,
-0.042900555,
-0.024708904,
-0.028860115,
-0.023093758,
-0.02924265,
0.017794946,
-0.0033046743,
-0.017299067,
0.026281547,
0.04071869,
0.056983497,
-0.013034514,
-0.011631887,
-0.01409711,
0.005320065,
-0.034598134,
0.005653012,
-0.0023164598,
-0.02521895,
-0.015627248,
0.05060792,
-0.030376086,
-0.0035968884,
-0.016916532,
-0.016973205,
0.027542496,
0.02190365,
-0.010647215,
-0.0072752424,
0.037686747,
0.008458266,
0.0035685524,
0.01589644,
0.013466637,
-0.02876094,
-0.012446544,
0.013218697,
0.0066058068,
-0.0072327387,
0.017851617,
0.0032143537,
0.044827394,
0.0061666,
0.06704274,
0.015145538,
-0.014196286,
0.035901587,
0.024411378,
0.026876602,
0.008684954,
0.051259644,
0.009478359,
0.049672835,
0.005727394,
0.03040442,
0.02598402,
0.027868358,
-0.0075656855,
0.009882146,
0.018786702,
0.015570577,
0.015754761,
0.0067687384,
-0.0016257723,
0.031991232,
-0.016151464,
-0.0049481564,
-0.03414476,
0.012857415,
-0.055878397,
0.03391807,
0.01673235,
-0.016491493,
-0.047916006,
-0.0147205,
0.005348401,
0.03612827,
-0.0041689193,
-0.003097468,
0.047462635,
0.041795455,
-0.013452468,
-0.024496386,
0.010342604,
0.04278721,
0.014019187,
0.021521116,
-0.025558982,
-0.029441,
-0.039216887,
-0.07112311,
-0.060298797,
0.011100589,
-0.034173097,
-0.021237757,
-0.025516478,
-0.06386912,
-0.000499863,
-0.020345176,
-0.013232865,
0.012574056,
-0.023221271,
0.024213027,
0.06007211,
0.016250638,
-0.044118997,
0.015797265,
0.016760685,
0.028845947,
0.024978096,
-0.039018534,
-0.03848015,
-0.005964707,
-0.0038961864,
0.0044451943,
0.026054861,
-0.035986595,
-0.032926317,
0.023717148,
-0.009584619,
0.019693451,
-0.0067404024,
0.008238663,
-0.008344922,
0.0121631855,
0.03295465,
-0.033748057,
0.009726298,
0.03641163,
-0.010059245,
-0.012127765,
0.029639352,
0.026862433,
-0.043013897,
0.03961359,
0.04029365,
-0.007002509,
-0.03289798,
-0.02349046,
-0.06347242,
0.007076891,
-0.020968566,
-0.031424515,
-0.006630601,
0.06443584,
-0.034966502,
-0.069592975,
-0.00798364,
-0.022102002,
-0.020217665,
-0.020869391,
-0.013643736,
0.03193456,
0.01839,
0.013332041,
-0.055538364,
-0.014415889,
0.00037810716,
0.027004113,
0.006917502,
-0.028038373,
0.0073035783,
0.033238012,
0.02129443,
-0.026664082,
0.028605092,
-0.039896946,
-0.00014677111,
0.00007936266,
0.048397716,
-0.013388713,
0.013537477,
0.0014752378,
0.0106188785,
0.01644899,
-0.056501787,
0.018205816,
0.02184698,
0.018021632,
0.036043264,
0.02336295,
-0.0013521537,
-0.033153005,
-0.058371954,
-0.03241627,
0.015839769,
0.01406169,
0.047519304,
-0.029894374,
0.016916532,
0.037970107,
0.0021588414,
0.008550358,
-0.01700154,
-0.06755279,
0.05499998,
0.030461093,
0.06392579,
-0.016293142,
-0.02288124,
-0.015159707,
-0.00056229054,
-0.0022084292,
0.06035547,
0.04020864,
0.013629568,
0.017582426,
-0.00908874,
-0.02446805,
0.017922457,
0.011454788,
0.001161772,
-0.02910097,
-0.043013897,
-0.032642957,
0.031509522,
0.06942295,
0.049446147,
0.031821217,
0.059958767,
-0.0127511555,
0.023943836,
0.04777433,
0.0027592082,
-0.0056671803,
-0.038395144,
0.050976284,
0.024623897,
0.015797265,
-0.021620292,
0.00006397715,
-0.027698342,
0.023320446,
0.002307605,
0.0043672705,
-0.022144506,
0.015372226,
-0.0002979697,
0.05369653,
-0.009457107,
-0.043240584,
-0.034824822,
0.0067970743,
0.056020074,
-0.0647192,
0.00686083,
-0.02523312,
-0.0008274968,
0.0018807953,
0.019225908,
-0.027981702,
-0.014677997,
0.014805508,
-0.0235613,
0.027542496,
0.06602265,
-0.013013262,
-0.015159707,
-0.04734929,
-0.015698088,
-0.009315427,
-0.015556409,
0.009244587,
0.009265839,
-0.01844667,
-0.010037993,
0.028307565,
0.01438047,
-0.033861402,
0.008309503,
-0.0010679093,
0.034201432,
-0.023532966,
-0.013990851,
-0.047660984,
-0.0075019295,
0.00912416,
0.025247287,
0.021181086,
-0.0400953,
0.00689625,
0.052506424,
-0.028010037,
-0.07208653,
0.014748836,
0.020501023,
-0.019891802,
0.019721787,
-0.002828277,
-0.014224622,
0.009697962,
0.011128925,
0.013091186,
0.0043672705,
-0.046810906,
-0.0033843692,
-0.004331851,
-0.012935339,
0.024793914,
-0.024198858,
0.013920011,
-0.0105834585,
-0.030461093,
-0.01178065,
-0.062735684,
-0.008288251,
-0.019296749,
-0.033266347,
0.011185597,
0.024439715,
-0.0058017755,
-0.014175034,
-0.028505916,
0.04870941,
0.021096079,
-0.005235058,
-0.025332294,
0.046810906,
0.011213932,
0.024963928,
-0.042532187,
-0.02398634,
0.025006432,
-0.032529615,
0.033719722,
-0.022555377,
-0.0021446734,
0.0026086739,
0.00024616814,
-0.026508234,
0.004884401,
-0.023589637,
0.008068647,
0.009336679,
0.003952858,
-0.014139614,
-0.021988658,
-0.042900555,
0.024099683,
-0.016973205,
-0.05233641,
-0.033578042,
0.038310137,
0.029185977,
0.012106514,
0.04831271,
0.009960069,
-0.021421941,
-0.015882272,
0.049531154,
-0.010958909,
0.006283486,
-0.047292616,
-0.043977316,
0.035476547,
0.0040591178,
0.023731317,
-0.049247794,
0.0020968567,
-0.04437402,
0.023858828,
-0.05009787,
0.0018666275,
0.015868105,
0.011716895,
-0.0522514,
0.040662017,
0.014507981,
-0.009648374,
0.032104574,
-0.023830492,
0.021039406,
0.041172065,
-0.057691894,
-0.016378151,
-0.021365268,
0.0011688559,
0.021606125,
0.013849171,
0.015315554,
0.010703886,
-0.022597881,
0.039075207,
-0.05327149,
-0.004788767,
-0.061545577,
-0.005125256,
0.012255277,
-0.059958767,
0.0128999185,
-0.025884844,
0.036808334,
-0.010392192,
0.05820194,
-0.010115917,
-0.0014167951,
-0.040775362,
-0.04788767,
0.022002827,
-0.02861926,
0.009017901,
0.01956594,
-0.0008965656,
0.09407519,
-0.043948982,
0.05120297,
0.05080627,
0.009527947,
0.011383948,
-0.050267886,
-0.03505151,
-0.021790307,
-0.023263775,
-0.009109992,
-0.024595562,
-0.048284374,
-0.00012895049,
-0.025884844,
-0.04700926,
0.012106514,
0.024864752,
0.033861402,
-0.022852903,
0.048057687,
-0.02460973,
-0.018432504,
-0.08172074,
-0.0114831235,
-0.01659067,
0.022286186,
0.0014929478,
0.011022666,
0.021790307,
0.06171559,
-0.074013375,
-0.013367461,
-0.001965803,
0.05454661,
0.016902365,
-0.051996376,
-0.013735828,
-0.0026015898,
-0.051854696,
-0.03774342,
0.024028843,
0.008224495,
-0.032387935,
0.0071866927,
-0.0066978983,
0.022087835,
-0.024822248,
0.01783745,
0.04734929,
-0.01948093,
0.0077002808,
0.039216887,
-0.0024917882,
-0.023334613,
0.028350068,
0.04437402,
-0.016463159,
-0.0055715465,
-0.041568767,
-0.024198858,
-0.03439978,
-0.023759652,
0.02238536,
0.018432504,
0.031764545,
0.018290823,
0.016746517,
0.05624676,
0.0026759715,
-0.004466446,
0.023093758,
-0.024453882,
-0.04825604,
-0.010158421,
0.011532712,
-0.0038040946,
0.010753474,
-0.026706586,
-0.0047852253,
0.011320192,
0.025799837,
-0.0056494703,
-0.11391032,
0.022824569,
-0.0044699884,
-0.023518797,
0.005759272,
-0.04494074,
0.0019587192,
0.047575977,
-0.0023111468,
-0.041767117,
0.003120491,
0.016973205,
-0.02183281,
0.004037866,
-0.009549199,
0.023547133,
-0.035504885,
0.009875061,
-0.0128999185,
-0.009138328,
0.03740339,
-0.0018896504,
-0.016193967,
-0.000098013435,
0.0024209486,
0.02591318,
0.0030266284,
0.00066855014,
-0.029384328,
-0.033634715,
-0.0019126732,
-0.010399275,
-0.007834877,
0.034484793,
0.0647192,
-0.061545577,
0.014805508,
0.024241364,
-0.005465287,
-0.059902094,
0.036609985,
0.0647192,
-0.01894255,
0.021988658,
-0.010356772,
0.029639352,
-0.04499741,
-0.027159961,
0.0009063061,
-0.0008766419,
-0.024298035,
0.021889484,
0.016321478,
0.050692927,
0.0003692522,
0.021946155,
-0.0015044592,
-0.008203243,
-0.003077987,
0.023773821,
0.018163312,
-0.021436108,
-0.0064393333,
-0.027131625,
0.018630855,
0.025034769,
0.013558729,
0.007771121,
0.026635746,
-0.031084483,
-0.028845947,
0.03116949,
0.003435728,
0.06987633,
0.020968566,
-0.045705806,
0.004813561,
-0.012708651,
-0.0063755778,
-0.019381756,
-0.047462635,
-0.054574944,
0.015853936,
-0.011426452,
0.0039174384,
-0.04389231,
-0.025332294,
0.0097192135,
0.009117076,
0.010137169,
-0.02929932,
0.05757855,
0.019211741,
-0.0115752155,
-0.04947448,
-0.021322764,
0.006053257,
-0.0038891023,
-0.031679537,
-0.02530396,
0.0026777426,
0.022682888,
0.01734157,
-0.0067581125,
0.011702727,
-0.0056671803,
-0.004572706,
0.05786191,
0.0005428096,
0.007976556,
-0.041767117,
0.0067510284,
-0.043778967,
-0.005500707,
-0.0029522467,
0.037573405,
0.012219857,
0.004523118,
0.028916785,
0.042362172,
0.029015962,
-0.009768802,
-0.0019144443,
0.028024206,
0.01464966,
-0.024269698,
-0.035589892,
-0.0023890706,
0.05369653,
0.044685714,
0.01493302,
-0.039981954,
0.03269963,
0.02847758,
-0.022215346,
-0.022087835,
0.037290044,
0.01666151,
0.009138328,
-0.02929932,
-0.0153438905,
-0.022031162,
0.01236862,
0.022612048,
0.04624419,
-0.0041760034,
-0.00891164,
-0.0111714285,
-0.0042610113,
0.013353293,
0.014692164,
-0.07304995,
0.0060780505,
0.033124667,
0.012503216,
0.059052017,
0.039925285,
-0.019098397,
0.038905192,
0.011582299,
0.0069139595,
0.008791213,
0.015839769,
0.019735955,
-0.02336295,
0.039528582,
-0.031622864,
-0.018064136,
-0.06279235,
-0.019211741,
-0.049389474,
0.028831778,
-0.010016741,
-0.047094267,
0.007154815,
-0.009315427,
-0.030716116,
-0.05502832,
0.04700926,
-0.06579596,
0.021974491,
0.028633427,
-0.0356749,
-0.031509522,
0.024340538,
-0.010236344,
-0.009237504,
0.021266093,
0.037091695,
0.028647596,
0.039925285,
-0.0002964201,
-0.0047923094,
0.04148376,
0.052421417,
-0.025502311,
-0.045677472,
-0.030574437,
-0.01541473,
-0.008380342,
-0.05687015,
-0.04768932,
0.044572372,
0.039075207,
0.002822964,
-0.01610896,
0.027174128,
0.032926317,
-0.03746006,
-0.002537834,
0.06262234,
0.042390507,
0.00068980205,
0.018885877,
0.0033542623,
-0.0584853,
-0.006226814,
-0.035221525,
0.05168468,
-0.019169237,
-0.06313238,
-0.027344143,
-0.062679015,
-0.0041653775,
-0.008932892,
-0.028180053,
0.0044416524,
0.04596083,
0.017596595,
0.048567735,
0.028350068,
-0.011029749,
-0.02986604,
0.08404428,
0.010647215,
0.009301259,
0.04921946,
0.035986595,
0.016902365,
0.019041725,
-0.004919821,
-0.012255277,
-0.026876602,
0.0136154005,
0.016704014,
0.0022243683,
-0.041228734,
-0.071236454,
-0.018219983,
0.008040312,
0.008954144,
-0.014890515,
-0.0035349035,
0.028732603,
-0.055481695,
-0.023702981,
-0.02425553,
0.02986604,
-0.003715545,
0.0021836353,
0.036581647,
-0.0061099287,
0.23734151,
0.045649137,
0.044544034,
0.00014732455,
0.010562207,
0.052903127,
-0.0003074888,
-0.044742387,
-0.004558538,
-0.0019286122,
-0.022059498,
-0.005111088,
0.0063543255,
0.006520799,
-0.04292889,
0.019580107,
-0.052223064,
0.016874028,
-0.009889229,
-0.054829966,
-0.05599174,
0.05854197,
0.01609479,
0.05916536,
0.021124413,
-0.027726678,
0.017029876,
-0.04649921,
-0.028236724,
-0.03726171,
0.027216632,
-0.03269963,
0.041512094,
-0.021421941,
0.0068927077,
0.019155068,
-0.023518797,
-0.051599674,
0.005036706,
-0.015754761,
0.002546689,
-0.015443066,
0.03981194,
-0.024283867,
-0.008422846,
0.018531678,
-0.017440747,
0.026791593,
0.03414476,
-0.07786705,
0.0024422004,
-0.023377119,
0.03913188,
-0.051457994,
-0.046810906,
-0.024850585,
-0.023731317,
-0.044572372,
-0.011086421,
0.021322764,
0.016831525,
0.031509522,
0.027967533,
0.03799844,
-0.01707238,
0.034796488,
0.012304865,
0.009867977,
-0.03173621,
0.01817748,
0.014635492,
-0.009173748,
0.004303515,
-0.013551644,
0.04023698,
0.03564656,
0.0003632751,
0.032246254,
-0.016023953,
-0.04638587,
0.050636254,
-0.016874028,
-0.0024280325,
-0.010654299,
0.002543147,
0.051628012,
-0.05176969,
0.0018772534,
-0.013749995,
0.011929414,
0.009683794,
0.052761447,
0.009853809,
-0.004848981,
0.033889737
] | Then apply it over the entire dataset with [~datasets.Dataset.map]:
dataset = dataset.map(tokenize_dataset, batched=True)
A [DataCollatorWithPadding] to create a batch of examples from your dataset:
from transformers import DataCollatorWithPadding
data_collator = DataCollatorWithPadding(tokenizer=tokenizer)
Now gather all these classes in [Trainer]: |
[
0.023188729,
0.02015469,
0.015632527,
-0.0036968323,
-0.021036007,
-0.016297126,
0.012143381,
0.00938385,
-0.021281619,
0.055624053,
0.00069575215,
0.0382,
0.013819327,
-0.027161876,
0.002159947,
0.0041392967,
-0.027812026,
-0.07108321,
-0.08576218,
0.0045907903,
-0.031207262,
-0.011002004,
-0.072123446,
-0.03392345,
-0.037073072,
0.014137179,
-0.010322957,
0.012540696,
0.044412557,
0.024387898,
-0.015719213,
0.01962012,
0.0059308247,
-0.021570574,
-0.022567473,
-0.021166036,
0.007809039,
-0.019085553,
-0.038835704,
-0.023390999,
0.00703247,
-0.011681051,
0.010763615,
-0.052156582,
-0.047331013,
-0.0010763615,
-0.008184683,
0.0058405255,
-0.03912466,
-0.038893495,
0.021787291,
0.014924584,
0.02015469,
0.0050278367,
-0.03135174,
-0.018955521,
-0.014483926,
0.010171256,
-0.039471406,
-0.02028472,
-0.009831732,
0.05056732,
-0.01936006,
-0.05426596,
0.0062920195,
0.00657014,
-0.015141301,
0.0071733356,
-0.04366127,
-0.024619061,
-0.066864446,
0.03305658,
-0.0074984115,
-0.030600453,
-0.031062784,
0.029097881,
0.024749093,
-0.030253706,
-0.007455068,
0.060045082,
0.017048411,
0.044152495,
0.0150835095,
0.015430257,
-0.026526172,
-0.03788215,
0.044412557,
-0.022422995,
0.008683132,
-0.044354767,
-0.019461196,
0.02378109,
-0.012020575,
0.042447656,
0.042129803,
0.024908017,
-0.016210439,
0.03666853,
-0.015170197,
-0.020515885,
0.044874888,
0.100152194,
-0.04432587,
0.017958622,
-0.01738071,
0.006194497,
-0.009997882,
-0.01056857,
-0.02219183,
0.029083434,
-0.018189788,
0.007137216,
0.043747958,
-0.005157867,
-0.008177458,
0.04551059,
0.005504614,
0.0036878025,
-0.067095615,
-0.034877006,
-0.0010962273,
-0.0063678706,
0.004782224,
-0.030658245,
0.043314524,
-0.06773131,
-0.014700643,
0.01824758,
0.0079390695,
0.0068988274,
0.01758298,
-0.012685174,
0.014642851,
0.015386914,
0.00490503,
0.018478744,
-0.0027956506,
0.0022845594,
0.011854425,
-0.026063843,
0.0085964445,
0.010026777,
-0.014332224,
0.08842058,
0.028317701,
-0.051809832,
0.0012244516,
-0.047388803,
-0.033750076,
0.006541244,
-0.08576218,
0.001491736,
0.015097957,
0.0072708586,
-0.04577065,
-0.01534357,
-0.0125118,
0.02430121,
-0.004782224,
0.028361043,
-0.013183624,
-0.017770803,
-0.024243418,
0.029227912,
0.0035252648,
0.05952496,
-0.03476142,
-0.031698488,
-0.0066929464,
-0.038171105,
-0.001414079,
-0.004915866,
0.015386914,
-0.021570574,
0.04103177,
-0.0018231325,
0.04886248,
0.024922466,
-0.0000046560313,
0.0073936647,
0.0133281015,
-0.043430105,
-0.043574583,
-0.017828593,
-0.009506657,
-0.014664523,
0.023549924,
-0.006851872,
-0.02693071,
0.028361043,
0.031091679,
0.054641604,
-0.02002466,
-0.021483889,
-0.010229046,
0.020096898,
-0.032478668,
0.011616036,
-0.008870953,
-0.016759455,
-0.010944214,
0.07119879,
-0.021223828,
0.013660401,
0.0002695419,
-0.04062723,
0.024070045,
0.035599396,
-0.008502534,
-0.0039984304,
0.04227428,
0.010698601,
-0.0045149396,
0.011868873,
0.016441604,
-0.021310514,
-0.024879122,
0.003973147,
0.01327031,
-0.000031181302,
0.031265054,
-0.010250718,
0.053110138,
0.023463238,
0.057184417,
-0.003893684,
-0.012475681,
0.021166036,
0.023940016,
0.020140242,
0.016354917,
0.04984493,
0.015791452,
0.060218457,
-0.016672768,
0.011406543,
0.041522995,
0.03924024,
0.0184354,
0.017048411,
0.018608775,
0.008784266,
0.02093487,
0.022711951,
-0.011760514,
0.016557187,
-0.045134947,
-0.006024735,
-0.056346446,
0.0158059,
-0.036957487,
0.034327988,
0.02120938,
-0.025529273,
-0.038749017,
-0.0004372719,
0.0027793967,
0.04577065,
-0.009318835,
0.010532451,
0.054034796,
0.037564296,
-0.016701665,
-0.018175341,
0.019923525,
0.021036007,
0.0014357507,
0.024272315,
0.0055515696,
-0.0487469,
0.00034155516,
-0.043256734,
-0.07449289,
0.0042006997,
-0.03973147,
-0.020645915,
-0.0055660172,
-0.053427987,
-0.015762556,
-0.009398298,
0.016340468,
0.0040056542,
-0.004464372,
0.03840227,
0.04418139,
0.025066944,
-0.054699395,
0.006739902,
0.0030087556,
0.018233132,
0.0110597955,
-0.034096822,
-0.035137065,
0.00032010922,
-0.012822428,
0.010684153,
0.037448715,
-0.03944251,
-0.035281543,
0.020125793,
-0.014852345,
0.025861572,
0.0154013615,
0.029401286,
-0.008321936,
0.031467322,
0.02615053,
-0.03403903,
0.026164977,
0.035917245,
-0.018839939,
-0.00464497,
0.031033888,
0.015964827,
-0.046464145,
0.04426808,
0.04114735,
-0.009398298,
-0.03663964,
-0.03181407,
-0.044152495,
0.017337367,
-0.014310552,
-0.016369365,
-0.001563975,
0.072007865,
-0.019345613,
-0.067211196,
-0.002531978,
-0.027869819,
-0.019345613,
-0.022350756,
-0.020862631,
0.018464297,
-0.0048111193,
0.0075489786,
-0.050191678,
-0.014267209,
-0.00047452014,
0.024489032,
0.013342549,
-0.028202118,
0.02311649,
0.04946929,
0.009145461,
-0.021339409,
0.02100711,
-0.042447656,
0.0048183436,
0.0019937973,
0.032825414,
-0.017828593,
0.024619061,
-0.0022303802,
0.007621218,
0.02061702,
-0.029068986,
0.005049508,
0.019345613,
0.024546823,
0.033345535,
0.04186974,
0.008126891,
-0.02726301,
-0.06605537,
-0.030195914,
-0.021657262,
0.03346112,
0.04360348,
-0.05834024,
0.028534418,
0.019114448,
-0.010727496,
0.0024163956,
-0.026092738,
-0.06357035,
0.06368593,
0.053427987,
0.056404237,
-0.006801305,
-0.0055660172,
-0.025384795,
-0.012728517,
-0.010467435,
0.064379424,
0.024676854,
0.013003025,
0.021498336,
-0.0141805215,
-0.026381694,
0.01639826,
-0.0018926626,
0.005605749,
-0.03221861,
-0.020010212,
-0.034356885,
0.023174282,
0.06778911,
0.048631314,
0.0164705,
0.038344476,
-0.029155673,
-0.0011224139,
0.038084418,
-0.0078162635,
0.015777005,
-0.041378517,
0.047591075,
0.010843079,
0.03253646,
-0.02713298,
0.005544346,
-0.048284568,
0.021281619,
0.018262027,
-0.0016127364,
-0.008755371,
0.014772882,
-0.01340034,
0.025196973,
-0.028173223,
-0.070563085,
-0.046984266,
0.014129954,
0.05735779,
-0.041898638,
0.0049664336,
-0.032709833,
-0.00051244564,
0.0027252175,
0.013263086,
-0.032565355,
-0.03068714,
0.0022610817,
-0.025052495,
0.010135137,
0.060334038,
-0.009109342,
-0.013819327,
-0.042505447,
-0.008343608,
-0.014346671,
-0.0017030352,
-0.0051289713,
0.022885324,
-0.0045113275,
-0.00009515235,
0.018854387,
0.0030954424,
-0.02944463,
0.004634134,
-0.024344554,
0.02463351,
-0.027956504,
0.001713871,
-0.051520877,
-0.009311611,
0.028967852,
0.03944251,
0.002829964,
-0.045250528,
0.019201135,
0.058455825,
-0.04944039,
-0.061663236,
0.019201135,
0.017799698,
-0.009448865,
0.01389879,
0.0033934284,
-0.019432299,
0.0056274207,
0.017279577,
0.009824508,
0.0020696484,
-0.04288109,
-0.0126201585,
-0.0012208397,
-0.019071104,
0.02107935,
-0.048920274,
0.012829652,
-0.01995242,
-0.031091679,
-0.003133368,
-0.072239034,
0.0048689106,
-0.031236157,
-0.012410666,
0.0001715677,
0.008943192,
0.0023748581,
0.0063173035,
-0.016614977,
0.048255675,
0.015256884,
-0.023622163,
-0.027248563,
0.034356885,
0.022841983,
0.01441891,
-0.047908925,
-0.015069062,
0.024387898,
-0.021556128,
0.022538578,
-0.0125479195,
-0.004832791,
-0.0058621974,
0.0009391074,
-0.012323978,
0.03172738,
-0.01869546,
0.009586119,
0.010857526,
-0.00915991,
-0.005952496,
-0.0022791415,
-0.012323978,
0.03221861,
-0.0030141736,
-0.040829502,
-0.035743874,
0.009831732,
0.029126778,
0.040164903,
0.05435265,
-0.0006799499,
-0.024705749,
-0.0102073755,
0.03793994,
-0.0039984304,
0.011153706,
-0.06183661,
-0.015560287,
0.03727534,
-0.0018240355,
0.02378109,
-0.05458381,
0.0022105144,
-0.048631314,
0.042100906,
-0.063165806,
-0.0022285741,
-0.0044427007,
0.005594913,
-0.051809832,
0.036524054,
0.018565431,
0.015126853,
0.005370972,
-0.0042404314,
0.022220725,
0.023174282,
-0.050885174,
-0.018160893,
-0.0053926436,
0.007086649,
0.00051109114,
0.028635552,
0.013450908,
0.010756392,
-0.009795613,
0.024792435,
-0.05750227,
-0.004370461,
-0.063512556,
0.014520045,
0.0009273686,
-0.04004932,
-0.0018348714,
-0.034877006,
0.054641604,
0.013039146,
0.044239182,
-0.027306354,
0.017958622,
-0.031322844,
-0.05296566,
0.00955,
-0.01574811,
0.002385694,
0.004529387,
0.002904009,
0.08969198,
-0.03799773,
0.0493826,
0.052127685,
-0.0019089164,
0.020761497,
-0.07299032,
-0.0133281015,
-0.013039146,
-0.0032254728,
0.013971029,
-0.028967852,
-0.016513843,
0.00507118,
-0.0073467097,
-0.049093645,
0.0019576778,
0.023636611,
0.026092738,
0.0008822192,
0.058455825,
-0.01982239,
-0.02265416,
-0.051029652,
-0.0013499669,
0.01567587,
0.01652829,
0.019909076,
0.013017474,
0.013624282,
0.06513071,
-0.05816687,
-0.016918382,
-0.0036914146,
0.0599295,
0.010611914,
-0.045597278,
-0.009210477,
0.024416793,
-0.036235098,
-0.036177307,
0.0025139183,
0.0068879914,
-0.025803782,
0.007924622,
-0.0246913,
0.02213404,
-0.021873979,
0.03351891,
0.048313465,
-0.03325885,
0.002452515,
0.01639826,
-0.037650984,
-0.05302345,
0.026309455,
0.046521936,
-0.025832677,
-0.014765658,
-0.03860454,
-0.014577837,
-0.042245384,
-0.034674734,
0.02996475,
0.014700643,
0.032969896,
0.016932828,
0.015112406,
0.061200906,
0.013999924,
-0.029025642,
0.012323978,
-0.032045234,
-0.0467531,
-0.004551059,
0.010597466,
-0.0031947712,
0.014787329,
-0.01930227,
-0.0011874291,
0.024850227,
0.02752307,
0.0022990073,
-0.10754947,
0.0055298978,
-0.017843042,
-0.016600529,
0.010091793,
-0.02219183,
0.010756392,
0.062414523,
0.0052590016,
-0.012829652,
0.029935855,
0.0116954995,
-0.039558094,
-0.0009896747,
-0.025673753,
0.052214373,
-0.041002873,
-0.00964391,
-0.010192927,
-0.023246521,
0.023289863,
0.0008795102,
-0.032420877,
-0.0049664336,
0.006100586,
0.04030938,
-0.006360647,
0.0017861101,
-0.017091755,
-0.019779047,
-0.0021184096,
-0.011124811,
-0.0022719176,
0.032420877,
0.062298942,
-0.06593979,
0.017366264,
0.022957563,
-0.005605749,
-0.062183358,
0.032825414,
0.05761785,
-0.023333207,
0.006519573,
-0.010431316,
0.013992701,
-0.052156582,
-0.02278419,
-0.002987084,
-0.006140318,
-0.020414751,
0.020313615,
0.026468381,
0.0573,
0.0027396653,
0.012114486,
0.0051398072,
0.0061367056,
0.0068988274,
0.014093835,
0.0012100037,
-0.02417118,
-0.010821407,
-0.0028678896,
0.0073394855,
0.030311497,
0.002987084,
0.024460137,
0.015025718,
-0.040540546,
-0.029560212,
0.01995242,
-0.0040489975,
0.0441236,
0.014628404,
-0.057791226,
0.026453933,
0.0028606656,
-0.017973071,
-0.0003431354,
-0.038864598,
-0.0573,
0.003274234,
-0.025847126,
-0.0055479575,
-0.032594252,
-0.01870991,
0.0024543211,
0.023824433,
0.017033964,
-0.021816187,
0.042909984,
0.017308472,
-0.025529273,
-0.0421587,
-0.033027686,
-0.0017770801,
-0.018030861,
-0.023622163,
-0.03655295,
0.01191944,
0.012988578,
0.019865735,
-0.027320802,
0.0057104956,
-0.03166959,
0.006707394,
0.06420605,
-0.013819327,
0.0005138001,
-0.05504614,
-0.0013707356,
-0.04715764,
0.004854463,
0.006721842,
0.028736686,
0.0181031,
0.0015025719,
0.04169637,
0.039471406,
0.04366127,
-0.017192889,
-0.009759493,
0.03548381,
0.030744933,
-0.013219743,
-0.025370348,
-0.0039225793,
0.056519818,
0.025384795,
0.034559153,
-0.036928594,
0.031091679,
0.032767624,
-0.043487895,
-0.034992587,
0.029227912,
0.02615053,
-0.009578896,
-0.023492133,
-0.021064902,
-0.0048255674,
0.030311497,
0.0068265884,
0.043256734,
-0.00032326966,
-0.0106697045,
-0.019966869,
-0.0064726174,
0.032045234,
0.030658245,
-0.047764447,
0.0164705,
0.008148563,
0.027624205,
0.05565295,
0.026092738,
-0.022422995,
0.020111347,
-0.00081720407,
-0.018565431,
-0.0074984115,
0.024055598,
0.02060257,
-0.03213192,
0.04062723,
-0.04114735,
0.014982375,
-0.07749803,
-0.033432223,
-0.053948108,
0.021498336,
-0.011247617,
-0.05834024,
0.010294062,
-0.018493192,
-0.029791376,
-0.060622994,
0.03305658,
-0.055017248,
0.010395196,
0.012013351,
-0.021021558,
-0.016008168,
0.012966906,
-0.022928668,
-0.0043740734,
0.012410666,
0.048920274,
0.02620832,
0.05328351,
-0.012750189,
-0.0041031768,
0.05487277,
0.036350682,
-0.030658245,
-0.047851134,
-0.005797182,
-0.029618002,
-0.008625341,
-0.07749803,
-0.0698118,
0.046608623,
0.03288321,
-0.0045727305,
-0.0032995178,
0.021064902,
0.0071155448,
-0.0414941,
0.012562367,
0.056404237,
0.05703994,
0.0039839824,
0.0026240828,
0.01995242,
-0.039009076,
-0.017438503,
-0.045799546,
0.06836702,
-0.023174282,
-0.037853252,
-0.011384872,
-0.042072013,
-0.013371444,
0.0095716715,
-0.01376876,
0.00046549024,
0.039760362,
0.012923563,
0.046868682,
0.02087708,
-0.0005896511,
-0.027104085,
0.0829882,
0.021122692,
0.009723374,
0.063165806,
0.037362028,
0.0011061601,
0.01043854,
-0.019518986,
0.00094271934,
-0.004262103,
0.011500454,
0.0073611573,
-0.005974168,
-0.03398124,
-0.057271104,
-0.041118458,
0.019851286,
-0.0028064863,
0.010886422,
-0.021989562,
0.007953517,
-0.08483752,
-0.019504538,
-0.019490091,
0.02818767,
-0.0034114881,
-0.008134115,
0.027306354,
-0.019071104,
0.2489646,
0.050625112,
0.039558094,
0.01745295,
0.0058333017,
0.06969622,
-0.002694516,
-0.031640697,
0.03305658,
0.0036047276,
-0.030571558,
-0.019518986,
0.022119591,
0.015069062,
-0.03216082,
0.040164903,
-0.05637534,
0.007166112,
-0.02437345,
-0.04756218,
-0.06357035,
0.053254616,
0.008892625,
0.05643313,
0.018955521,
-0.029675795,
-0.0030069498,
-0.039529197,
-0.0019974092,
-0.039009076,
0.009210477,
-0.007895726,
0.01863767,
-0.016571634,
0.013747088,
0.03392345,
-0.027710892,
-0.033605598,
-0.023174282,
0.006942171,
0.0002898591,
-0.032478668,
0.03906687,
-0.028418835,
0.014866793,
0.023492133,
-0.035657186,
0.02700295,
0.04380575,
-0.06871377,
0.010698601,
-0.029184569,
0.05623086,
-0.027638653,
-0.035743874,
-0.00433073,
-0.029646898,
-0.044008017,
-0.03305658,
0.024460137,
0.012230068,
0.009615015,
0.019706808,
0.044701513,
-0.0041140127,
0.051925417,
0.022307413,
0.0467531,
-0.038864598,
0.0060716905,
0.024734644,
-0.012114486,
-0.014476702,
-0.022625264,
0.033143267,
0.050422844,
-0.0039081317,
0.0131330555,
-0.020804841,
-0.051087443,
0.05056732,
-0.0008352638,
0.010648034,
-0.011673828,
0.025760438,
0.049180333,
-0.014924584,
0.004244043,
-0.003568608,
0.02555817,
0.0065954234,
0.04062723,
0.028606657,
-0.010178479,
0.018074205
] | from transformers import DataCollatorWithPadding
data_collator = DataCollatorWithPadding(tokenizer=tokenizer)
Now gather all these classes in [Trainer]:
from transformers import Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=dataset["train"],
eval_dataset=dataset["test"],
tokenizer=tokenizer,
data_collator=data_collator,
) # doctest: +SKIP
When you're ready, call [~Trainer.train] to start training:
trainer.train() # doctest: +SKIP |
[
0.060958896,
-0.0085241515,
-0.05655662,
-0.029722368,
-0.002744412,
0.005870869,
-0.024226535,
-0.0059444737,
0.014917265,
0.043489996,
0.056472503,
0.005551914,
0.034180723,
-0.04923819,
0.0065087783,
0.0405458,
-0.010465919,
-0.008348902,
-0.077670716,
0.018436281,
-0.015618264,
-0.010080369,
-0.08658743,
-0.044359233,
-0.06550137,
-0.01840824,
-0.027212791,
-0.014160185,
0.022950716,
0.022782477,
-0.036620203,
-0.022011377,
-0.0053346045,
-0.03785396,
-0.02773153,
-0.020567318,
-0.013115697,
-0.017132422,
-0.0953359,
-0.023118956,
0.005026165,
-0.03748944,
0.017454881,
-0.042788997,
-0.044891994,
0.008075512,
0.01797362,
-0.023679756,
0.008734451,
-0.033423644,
0.019992499,
0.051004708,
0.0038239511,
-0.012351607,
-0.00910598,
-0.012968486,
0.005839324,
-0.0074235825,
-0.054649904,
-0.03042337,
0.0062248735,
0.018674621,
-0.022277758,
-0.02902137,
0.016655743,
0.008383951,
0.009028871,
0.01896904,
-0.007739032,
-0.02885313,
-0.045536913,
0.013585366,
-0.01995044,
-0.03594724,
0.011405258,
0.052322585,
0.043097436,
0.027633391,
-0.0199224,
0.01930552,
-0.00011413144,
0.034741525,
-0.026750132,
-0.021450577,
-0.02924569,
-0.025530394,
0.054425582,
-0.03779788,
-0.034601323,
-0.024380755,
-0.017090362,
0.020539278,
0.0031860417,
0.013241876,
0.03861104,
0.008783521,
-0.0043707304,
0.04015324,
-0.0036031362,
-0.011531438,
0.051537465,
0.07862408,
-0.007661922,
0.021759018,
-0.02932981,
-0.013466196,
0.023918096,
-0.01001728,
-0.02844655,
-0.026343552,
-0.01005934,
0.027507212,
0.00253937,
0.0183802,
-0.0056640743,
0.034461126,
-0.035526644,
0.00899382,
-0.040433638,
-0.0100313,
0.003869516,
-0.020539278,
-0.023763875,
-0.045845352,
0.063650735,
-0.032414205,
-0.035274282,
0.01854844,
-0.016291223,
-0.044219036,
0.00236412,
0.014650885,
0.021632837,
0.050584108,
0.03875124,
-0.0054152193,
-0.0016289471,
0.015702384,
0.03005885,
-0.0150995245,
0.014230285,
-0.008958771,
0.0023308226,
0.09191503,
0.0061232285,
-0.052182388,
-0.0032351117,
-0.046013594,
-0.06331425,
-0.0049806,
-0.03003081,
-0.018254021,
-0.003792406,
0.02065144,
0.014026996,
-0.009905119,
-0.025768733,
0.04775207,
0.017230563,
0.031993605,
-0.026287472,
-0.005765719,
-0.0070310226,
0.045228474,
0.0058498387,
0.022908656,
0.014678924,
-0.035666842,
0.001871668,
-0.0376016,
0.02924569,
-0.02066546,
0.0020293929,
-0.026918372,
0.069875605,
0.041639358,
0.07161409,
0.017539002,
-0.005636034,
-0.00900083,
-0.02904941,
-0.012561907,
-0.006838248,
0.01854844,
0.011622568,
0.022502076,
-0.03981676,
-0.012036158,
-0.005068225,
0.030114928,
0.0118048275,
0.036227643,
-0.05585562,
-0.01912326,
-0.05821098,
-0.011594528,
-0.013865765,
0.016010823,
0.014636865,
-0.043910593,
0.011377218,
0.052098267,
-0.033199325,
0.013606396,
0.032049686,
0.0073114224,
-0.01933356,
0.035414483,
0.01995044,
0.025614513,
0.032806765,
-0.008313851,
-0.015618264,
0.002958217,
0.024689194,
0.0077460418,
-0.017370762,
-0.010521999,
-0.0102135595,
-0.025249993,
0.04988311,
-0.013634436,
0.042873114,
-0.020385059,
0.008355911,
-0.012828287,
-0.0191513,
0.012267487,
0.031264566,
0.045873392,
0.0044863955,
0.04727539,
0.021927258,
0.040826198,
-0.010276649,
0.010676219,
-0.008433022,
0.0062774485,
0.023076896,
0.01022057,
0.02837645,
0.001456326,
-0.00977894,
0.031881448,
-0.0199224,
-0.011300108,
-0.016094944,
0.017006243,
-0.062473055,
0.0070450427,
-0.06561353,
0.04881759,
0.014973344,
-0.0383026,
-0.021941276,
0.016725842,
-0.024675174,
0.010339739,
0.0127021065,
0.01842226,
0.04766795,
0.0024727748,
-0.03905968,
0.0070660724,
0.035526644,
0.02902137,
0.0062599233,
0.024689194,
-0.0009516065,
-0.024675174,
-0.032750685,
-0.04646223,
-0.05518266,
-0.01891296,
-0.023245135,
-0.016249163,
0.045284554,
-0.024296634,
0.012337587,
-0.035863124,
0.03642392,
0.01937562,
-0.01854844,
0.035891164,
0.038078282,
0.033059124,
-0.04688283,
0.023847995,
-0.033171285,
-0.002605965,
0.021324398,
-0.0065157884,
0.021478618,
-0.041751515,
0.06264129,
0.02775957,
0.026497772,
-0.04822875,
-0.027661432,
0.008411991,
-0.013669486,
0.035750963,
0.013452176,
0.02969433,
-0.01947376,
0.020160738,
0.0039080707,
-0.041667398,
0.034909762,
0.030675728,
-0.003809931,
0.03154497,
0.034096606,
0.04949055,
-0.053780664,
0.0176091,
0.02913353,
0.0011329901,
-0.062136576,
-0.03709688,
-0.01990838,
0.01888492,
-0.02893725,
-0.01954386,
-0.0075567723,
0.06404329,
-0.021913238,
-0.066062175,
0.0057061343,
-0.030843968,
-0.008881661,
0.007661922,
-0.016389363,
0.014650885,
-0.031432807,
0.044050794,
-0.033283446,
0.006620938,
-0.0150995245,
0.0062809535,
0.017188502,
-0.0020469178,
0.06494057,
0.04679871,
0.008397971,
-0.003454174,
0.03757356,
-0.054201264,
-0.013431146,
-0.030086888,
0.0070835976,
-0.025950992,
0.024899494,
0.005530884,
0.02011868,
0.020623399,
-0.003697771,
0.01780538,
0.022740416,
0.00052268256,
0.0185204,
0.03712492,
-0.004174451,
-0.024647135,
-0.034012485,
-0.011783797,
-0.022207657,
0.029526088,
0.051789828,
-0.03670432,
0.052659065,
-0.022544136,
-0.02924569,
0.00975791,
-0.014735005,
-0.02941393,
0.022053437,
0.07957744,
0.026007073,
0.0003327556,
-0.043882553,
0.021632837,
0.015730424,
0.023203077,
0.034012485,
-0.017132422,
-0.016122984,
0.02084772,
-0.014034006,
-0.00020109916,
0.025404213,
0.031769287,
-0.004633605,
-0.017188502,
-0.031853408,
-0.011307118,
0.030731808,
0.0380222,
0.024857434,
0.016151024,
0.07284784,
-0.02024486,
-0.012744167,
0.0035365412,
-0.014749025,
-0.014223275,
-0.046237912,
0.022123536,
0.040461678,
0.00011314567,
-0.022488056,
0.008517141,
-0.022389917,
0.026722092,
-0.034993883,
-0.017440861,
-0.0067996928,
-0.027633391,
-0.0567529,
0.022389917,
-0.030283168,
-0.085577995,
-0.06415545,
0.04062992,
0.050471947,
-0.023006797,
-0.00045608764,
-0.034152683,
0.014678924,
0.019431699,
-0.007718002,
-0.033788163,
-0.016263183,
-0.0055203694,
-0.033928365,
-0.013977925,
0.05624818,
-0.03819044,
-0.016277203,
-0.059949458,
-0.015786504,
0.03673236,
-0.0051558497,
0.007984382,
0.0099612,
0.017286642,
-0.033507764,
-0.0034471639,
-0.007493682,
0.03847084,
0.036480002,
-0.07952136,
0.011447318,
-0.034405045,
-0.0065122833,
-0.052490827,
0.023161016,
0.03639588,
0.021590777,
0.0096107,
-0.027170733,
0.012863337,
0.046770673,
-0.052434746,
-0.014307396,
-0.0059479787,
0.0025761724,
-0.00930226,
0.053500265,
0.0142022455,
0.0031159418,
0.003869516,
0.0068943277,
-0.051845904,
0.0031825367,
-0.013297956,
0.010760339,
-0.004787825,
-0.004843905,
0.029582169,
-0.0601177,
0.030900048,
-0.028039971,
-0.00959668,
0.025404213,
-0.08658743,
-0.046770673,
0.032498326,
-0.024941554,
-0.0043461956,
0.007661922,
-0.036059402,
0.0032316067,
-0.011587518,
0.0100313,
0.0070695775,
0.003247379,
0.022109518,
0.057594102,
0.054453623,
0.013788655,
-0.039928917,
-0.053920865,
0.030956129,
-0.017482921,
0.027829671,
-0.0072343126,
0.023469456,
0.007577802,
0.014160185,
-0.031292606,
0.0060356036,
0.0052715144,
-0.014959324,
0.0024517449,
-0.060622416,
-0.021310378,
0.021983337,
-0.021366458,
0.055603262,
-0.010753329,
-0.06611825,
-0.015520124,
0.016964182,
0.022922676,
0.0014869947,
0.044219036,
-0.0155902235,
-0.04578927,
-0.0026865797,
0.03765768,
-0.06264129,
0.03905968,
-0.03877928,
-0.014328425,
-0.003816941,
0.016964182,
0.01798764,
-0.032386165,
-0.013886795,
-0.049406428,
0.01952984,
-0.0601177,
0.0102416,
-0.0004836895,
-0.015744444,
-0.025740692,
0.014622845,
0.0046651503,
-0.008692391,
0.023637695,
0.0119099775,
-0.0029757419,
0.015071484,
-0.07290392,
0.010837449,
0.023062875,
0.015730424,
-0.0099612,
0.024282616,
0.022754436,
0.021128118,
-0.011089808,
0.032834806,
-0.024058295,
0.016866043,
-0.013732576,
0.011215989,
0.014426565,
-0.014167195,
0.03779788,
-0.016038863,
-0.008475081,
0.008706411,
0.02893725,
-0.014111116,
-0.0087134205,
0.020160738,
-0.07049248,
0.034685444,
-0.011783797,
0.003764366,
-0.00937236,
0.014244305,
0.05748194,
-0.0402654,
0.026427673,
0.04856523,
0.023890056,
0.037265122,
-0.031629086,
0.026469732,
0.024142414,
0.020342998,
-0.00245525,
0.030872008,
-0.042480554,
-0.0011680401,
0.03953636,
-0.04845307,
0.0014265336,
0.020819679,
0.001924243,
-0.016459463,
0.04713519,
-0.008292821,
-0.03827456,
-0.014384505,
0.025824813,
-0.0044653653,
0.0018436281,
0.01840824,
0.010662199,
-0.0062809535,
0.032975007,
0.013227856,
-0.010956619,
-0.011293098,
0.061183218,
-0.020819679,
-0.026525812,
-0.012723137,
0.021310378,
-0.021955296,
-0.045284554,
-0.011839878,
0.04539671,
0.00013516142,
0.013087656,
-0.027605351,
-0.01902512,
-0.024577035,
-0.0005073482,
0.021927258,
-0.016585642,
-0.018029701,
0.015996803,
-0.027703492,
-0.078455836,
0.00977193,
0.01944572,
-0.04988311,
-0.020581339,
-0.023175037,
-0.0010374789,
-0.019810239,
-0.048957787,
0.044723753,
-0.024268596,
0.03005885,
0.04015324,
-0.004836895,
0.072343126,
-0.012772207,
0.02871293,
-0.024002215,
-0.03594724,
-0.055294823,
-0.015225704,
0.006698048,
-0.02795585,
0.026077174,
1.711424e-8,
0.012575927,
0.017693222,
0.06314602,
-0.033423644,
-0.07099721,
-0.023189057,
-0.026609933,
-0.0383026,
0.05624818,
0.0014904997,
-0.014412545,
0.023006797,
0.001695542,
-0.017328702,
0.019627979,
0.025081754,
-0.03821848,
0.017567042,
-0.054397542,
0.039255958,
-0.050163507,
0.02893725,
-0.044527475,
-0.02004858,
0.0017621369,
0.032722645,
0.0073534823,
0.020342998,
0.020020539,
0.041667398,
-0.026231393,
0.03866712,
-0.034741525,
0.007521722,
0.00484741,
0.018436281,
-0.032021645,
0.017651161,
0.026988473,
-0.02777359,
0.013262906,
0.00454598,
-0.017384782,
0.00004770081,
0.0069889626,
0.01889894,
-0.01032572,
-0.001445811,
-0.0020837204,
0.031488888,
-0.05854746,
-0.01840824,
-0.015085504,
-0.005926949,
-0.0014983859,
0.020931838,
0.022754436,
0.051677667,
-0.03715296,
0.04834091,
0.02848861,
0.061687935,
-0.0020539279,
0.026259433,
0.04088228,
0.023483476,
-0.041218758,
-0.031292606,
0.022417957,
0.027296912,
-0.033563845,
0.03905968,
0.024520954,
-0.0144966645,
-0.020693498,
0.021576758,
-0.006873298,
0.032077726,
0.01940366,
-0.012891376,
-0.0069328826,
0.0015965259,
-0.03990088,
0.020146718,
-0.05145335,
-0.0060881786,
0.016795943,
-0.042312317,
0.00988409,
-0.03754552,
-0.013066626,
0.0041989856,
-0.008306841,
0.037293162,
-0.012653037,
-0.006617433,
-0.020931838,
-0.013592375,
-0.02796987,
-0.02944197,
-0.003988686,
0.0181699,
-0.02718475,
-0.035162125,
-0.012582937,
0.050051346,
-0.026133252,
-0.009337311,
-0.0076479022,
-0.024352714,
-0.014608825,
0.02927373,
-0.04856523,
0.0067996928,
-0.032105766,
0.024717234,
-0.053584386,
0.024240555,
-0.032610487,
0.030703768,
0.0050401846,
-0.016515544,
-0.0014019986,
0.04808855,
0.030255128,
-0.026820231,
0.0102135595,
0.022838557,
0.022431977,
0.0016578633,
0.008657341,
0.0193616,
0.022684336,
0.02924569,
0.046322033,
0.0004766795,
0.024422815,
0.04749971,
-0.04093836,
-0.024745274,
0.015646303,
0.04864935,
-0.0001245369,
0.034152683,
-0.042003877,
0.02011868,
0.013571346,
0.04993919,
0.052266505,
-0.008383951,
0.023020817,
-0.015674343,
-0.003384074,
0.016347302,
0.016137004,
-0.044415314,
0.0052609993,
-0.0043321755,
0.03841476,
0.0025604,
0.03681648,
-0.0053310995,
0.03645196,
0.0397046,
0.0075497623,
0.003915081,
-0.00966678,
0.02834841,
-0.0049034897,
0.030563569,
-0.04688283,
0.012344597,
-0.036059402,
-0.07015601,
-0.006834743,
0.04733147,
-0.004675665,
-0.02792781,
-0.016207103,
-0.0145948045,
0.0026147272,
-0.052995544,
0.015814543,
-0.06965129,
-0.027479172,
0.022768456,
-0.0062423986,
-0.01920738,
0.006578878,
-0.013571346,
-0.0062459037,
0.004076311,
0.041835636,
0.010718279,
0.069034405,
0.020188779,
-0.00463711,
0.030171009,
-0.010921569,
-0.021114098,
-0.00909897,
0.0028548196,
0.014146165,
-0.016866043,
-0.023932114,
-0.04699499,
0.034152683,
0.0073184324,
0.0019189855,
-0.00929525,
0.009435451,
0.032638527,
-0.022698356,
0.004030746,
0.09595278,
0.031881448,
0.010395819,
0.0008311223,
-0.02833439,
-0.024633115,
-0.028053991,
-0.023876036,
0.053275943,
-0.032834806,
-0.021534698,
-0.011468348,
-0.01905316,
0.0031264566,
-0.007970362,
-0.011538448,
0.0051979097,
0.004216511,
0.013564336,
0.061631855,
0.021184199,
-0.017524982,
-0.052350625,
0.020342998,
0.030984167,
-0.0026007073,
0.061575778,
0.06252913,
0.0151976645,
-0.043237634,
-0.005583459,
-0.0028828594,
0.0018944505,
-0.029357849,
-0.011566488,
-0.015113545,
-0.020763598,
-0.04884563,
-0.032694604,
0.011895957,
-0.023595635,
-0.010381799,
-0.01877276,
-0.017777342,
-0.06796889,
0.0073675024,
-0.054453623,
0.02966629,
-0.040826198,
-0.034489166,
0.014440585,
-0.051930025,
0.23127368,
0.036143523,
0.0036732361,
0.008510131,
0.02882509,
0.050584108,
-0.00227299,
0.02851665,
0.023315236,
-0.07038033,
-0.0028513146,
-0.051958065,
0.014861184,
0.045116313,
-0.037265122,
0.051397268,
-0.042312317,
-0.013325996,
-0.0120081175,
-0.02941393,
-0.03670432,
0.04651831,
0.026834251,
0.061856177,
0.015337864,
-0.035330363,
-0.035919204,
-0.07195056,
0.055238742,
-0.008825581,
-0.01938964,
-0.006620938,
0.036900602,
0.016403383,
-0.003883536,
0.04797639,
-0.01012243,
-0.005653559,
-0.013613406,
0.006620938,
-0.0012802,
-0.030928088,
0.021520678,
0.0054748044,
-0.0035926213,
0.015576203,
-0.023525536,
-0.0003965027,
0.033928365,
-0.032386165,
0.062865615,
-0.09146638,
-0.033479724,
-0.019964458,
-0.04957467,
0.008124582,
-0.04772403,
-0.06740809,
-0.03782592,
0.044527475,
0.0022467026,
0.0043076407,
-0.03934008,
0.048593268,
-0.016739862,
-0.002374635,
-0.016964182,
0.037321202,
-0.011615558,
0.008482091,
0.030591609,
0.020399079,
-0.035666842,
-0.0183802,
0.0138026755,
0.011096818,
-0.012078217,
0.024759294,
-0.0026199848,
-0.04808855,
-0.0017244582,
0.007774082,
0.023413375,
-0.016319264,
0.011054759,
0.043209594,
-0.025922952,
-0.017707242,
0.0016394621,
0.020833699,
-0.009042891,
0.07116544,
0.03905968,
0.0197121,
0.036143523
] |
Take a look at the Create a custom architecture guide for more information about building custom configurations.
Trainer - a PyTorch optimized training loop
All models are a standard torch.nn.Module so you can use them in any typical training loop. While you can write your own training loop, 🤗 Transformers provides a [Trainer] class for PyTorch, which contains the basic training loop and adds additional functionality for features like distributed training, mixed precision, and more.
Depending on your task, you'll typically pass the following parameters to [Trainer]: |
[
0.01768105,
0.026697122,
-0.050894458,
-0.02661286,
0.013727741,
-0.026346028,
-0.027511658,
-0.0057473946,
-0.03699117,
0.04460287,
0.024590563,
0.0059053865,
0.04097959,
-0.06931983,
-0.017807443,
0.0014517701,
-0.0026402203,
-0.042131174,
-0.083700605,
0.009296946,
-0.011895035,
-0.013088752,
-0.06903895,
-0.055444628,
-0.047215004,
-0.019043291,
-0.0048801946,
-0.04892834,
0.07179152,
0.023705808,
-0.0038023386,
0.0098095415,
-0.029267123,
-0.018902853,
-0.00087729393,
0.011010281,
0.022722747,
-0.008299842,
-0.051961783,
-0.03336789,
0.01123498,
-0.029969309,
-0.0038936227,
-0.04395686,
-0.055894025,
0.01153692,
-0.01206356,
0.003314319,
-0.01202845,
-0.047664404,
0.0022118867,
0.050585497,
-0.0028456098,
-0.007927683,
-0.06168004,
0.0008465733,
0.0045606997,
-0.0025980892,
-0.04887216,
0.0025787791,
0.006375851,
0.013102796,
-0.011150718,
-0.037609097,
0.042580575,
0.029239036,
-0.0073799775,
0.0016466267,
-0.021163894,
-0.054208778,
-0.073308244,
-0.017329957,
-0.028719418,
-0.015012742,
0.0039603305,
0.050613586,
0.024745043,
0.005178624,
-0.030811932,
-0.014759955,
0.0029509377,
0.016009847,
-0.010813668,
-0.006842805,
-0.015504273,
-0.021402637,
0.0566243,
-0.0028894965,
-0.000008859615,
-0.035502538,
-0.042468224,
0.012007385,
-0.04176604,
-0.03921008,
-0.0014719579,
0.024646737,
0.0056525995,
0.05982627,
-0.0043044016,
-0.036766473,
0.0080470545,
0.07656639,
-0.0037180763,
0.018383237,
-0.008854569,
0.037581008,
0.044462435,
0.0039989506,
-0.0358115,
-0.023944551,
0.0065303324,
0.00019386923,
0.014858261,
0.012702549,
-0.02699204,
0.046990305,
-0.008763284,
-0.011677357,
-0.032665703,
-0.021669468,
0.014163096,
-0.0362609,
-0.017315913,
-0.04777675,
0.04406921,
-0.037131608,
0.008819459,
0.030559145,
0.0042166286,
-0.02334067,
-0.024688868,
0.020335315,
0.027764445,
0.034688,
0.015602578,
0.024323732,
-0.048507027,
0.001747566,
-0.015490228,
-0.025138268,
0.020714495,
0.015546404,
-0.012274216,
0.070780374,
-0.011916101,
-0.018186623,
0.010911974,
-0.05266397,
0.007850442,
0.00938823,
-0.03272188,
0.011206892,
-0.0018818591,
-0.025475318,
-0.006790141,
-0.025138268,
-0.051400032,
0.025124224,
-0.011220937,
0.031879257,
0.012505937,
0.036850736,
-0.026317941,
0.032749966,
0.014942523,
0.053506594,
-0.028536849,
-0.042496312,
0.0052418206,
-0.04791719,
-0.0035003985,
-0.006361807,
0.011242002,
-0.041681778,
0.060668893,
0.03831128,
0.05538845,
0.008847547,
0.0026138884,
0.0015553426,
-0.04659708,
-0.014900392,
0.013657522,
-0.0035583288,
-0.0042236503,
-0.006017736,
0.018860722,
0.0036619012,
-0.007801289,
0.01884668,
0.0061511514,
0.034182426,
-0.040726803,
-0.018298974,
-0.043142322,
-0.03555871,
-0.0048872163,
-0.008208557,
0.03943478,
-0.01492848,
-0.007941727,
0.050473146,
-0.046934128,
0.023481108,
0.008377082,
0.01164927,
-0.02334067,
0.04053019,
-0.00016556235,
0.045501668,
0.012351456,
0.0037882947,
-0.026289854,
0.0219363,
-0.0020732048,
-0.0078293765,
-0.008959897,
-0.016810339,
-0.0015018008,
0.004350044,
0.028564937,
-0.024084989,
0.012393587,
0.014619518,
0.025250617,
-0.018762417,
-0.010055307,
0.027989144,
0.00987976,
-0.00535417,
0.021823948,
0.030980457,
0.0362609,
0.049068775,
0.002677085,
0.009542711,
0.018256843,
0.021894168,
0.045361232,
0.02846663,
0.00444835,
-0.021290287,
0.010448531,
0.046007242,
-0.040782977,
0.03303084,
-0.0040235273,
0.009360143,
-0.060837418,
0.0034670446,
-0.08398148,
0.05176517,
0.0146335615,
-0.0075133927,
-0.010202766,
0.009570799,
-0.02732909,
-0.0039743744,
0.0031528163,
0.013622413,
0.024407994,
0.018973073,
-0.014802086,
0.0017291337,
0.04890025,
0.049518175,
-0.024267556,
0.014731867,
0.041063853,
-0.07690344,
-0.0010295806,
-0.05243927,
-0.029491823,
-0.011923122,
0.011726511,
-0.010750472,
0.015785147,
-0.042018827,
0.024520343,
0.012470827,
-0.0061511514,
0.0019766544,
-0.0065794853,
0.08021776,
0.02985696,
0.0050943615,
-0.052607793,
-0.0006938478,
-0.048984513,
-0.0066145947,
-0.005519184,
-0.062466487,
0.000074003845,
-0.017105257,
0.040586367,
0.012913205,
0.042664837,
-0.049770962,
-0.08420618,
0.0055999355,
-0.006379362,
0.00787853,
0.005484075,
0.01768105,
-0.036850736,
0.0018116406,
0.019183729,
-0.0063407416,
0.040445928,
0.03303084,
-0.0016676923,
0.033648767,
-0.014008616,
0.02209078,
-0.046625167,
0.013432823,
0.064713486,
-0.033311717,
-0.009549733,
-0.04595107,
-0.008854569,
0.010729406,
0.0028192778,
-0.0025313816,
0.023158103,
0.05903982,
-0.0018151514,
-0.06606168,
-0.011768642,
-0.044097297,
0.0012428697,
-0.0242816,
0.015588535,
0.010287029,
0.006895469,
-0.02721674,
-0.045192707,
-0.0023839222,
-0.009676127,
0.029014336,
0.02367772,
0.007625743,
0.037721444,
0.04640047,
-0.006277545,
0.006267012,
0.034519475,
-0.057129875,
-0.026851602,
-0.009893804,
0.017751269,
0.008847547,
0.0046168747,
0.009542711,
0.042608663,
0.022863185,
-0.004543145,
0.02567193,
0.02808745,
0.007759158,
0.019520778,
-0.025643842,
0.013243233,
-0.009240771,
-0.052804407,
-0.012196975,
0.017175475,
0.019450558,
0.06999393,
-0.051596645,
0.03367685,
0.0018449944,
-0.017217606,
-0.005473542,
-0.022034604,
-0.028368324,
0.047411617,
0.057803974,
0.059545394,
-0.035221662,
-0.006856849,
0.025405098,
0.027441438,
0.026711166,
0.06448878,
-0.010371291,
-0.008089186,
0.02974461,
0.011094543,
0.026317941,
0.020040395,
0.03336789,
-0.022736792,
-0.008889678,
-0.029351385,
0.02612133,
0.036317073,
0.054910965,
0.011656292,
-0.0125902,
0.04673752,
-0.016178371,
-0.048647463,
0.004764334,
-0.0073238024,
-0.011754598,
-0.034884613,
0.022554222,
0.054939054,
0.01662777,
0.00044917976,
-0.015448097,
0.0012042494,
-0.012569134,
-0.025910674,
-0.00633372,
-0.011087521,
-0.02522253,
-0.008103229,
0.009598886,
-0.020307226,
-0.04845085,
-0.03193543,
0.020644275,
0.040782977,
-0.023115972,
0.01579919,
-0.04033358,
0.018383237,
0.010336182,
0.001198983,
-0.033227455,
-0.033339802,
-0.010287029,
-0.055894025,
0.020868976,
0.054545827,
-0.062129438,
-0.0027209718,
-0.030924283,
-0.006175728,
0.012035472,
-0.002368123,
-0.025236573,
-0.011895035,
0.019296078,
0.0112490235,
0.03845172,
0.0017633652,
-0.023130015,
0.03449139,
-0.03578341,
0.023621546,
-0.048057627,
0.026191548,
-0.058478072,
0.037103523,
0.01296938,
0.0075695678,
0.033536416,
-0.0017142122,
0.011656292,
0.032188218,
-0.010897931,
-0.024492256,
0.014619518,
0.02329854,
0.013910309,
0.012583178,
0.029828873,
-0.01059599,
-0.019267991,
0.029547997,
-0.0154621415,
0.011614161,
-0.03800232,
-0.0019134575,
-0.012407631,
-0.009212684,
0.03381729,
-0.0704995,
0.010476619,
0.00987976,
-0.023467064,
-0.005979116,
-0.06387086,
-0.0434232,
0.0045677214,
-0.027062258,
0.03516549,
-0.01293427,
-0.016880557,
-0.020335315,
-0.019253947,
-0.017428262,
0.027581876,
0.00501361,
0.02589663,
0.05361894,
0.010280007,
0.0043711094,
-0.055613153,
-0.02009657,
0.063477635,
-0.041794125,
0.016206458,
-0.021079632,
-0.046091504,
-0.012618287,
-0.019141598,
-0.038844943,
0.0067234333,
0.015995802,
-0.0027262382,
0.009760389,
0.0005301506,
0.00017038989,
-0.0046344292,
0.010574925,
0.02555958,
-0.04659708,
-0.061399166,
-0.017442307,
0.02114985,
0.015391923,
0.0029684925,
0.011712466,
-0.04350746,
-0.020461708,
-0.036513686,
0.047748666,
-0.010680253,
0.013165993,
-0.07572377,
-0.01341878,
-0.0038128714,
0.0062354137,
0.02985696,
-0.052467357,
0.0035793944,
-0.01624859,
0.013088752,
-0.0566243,
-0.022259304,
0.016712032,
-0.014394818,
-0.011986319,
0.04451861,
0.018425368,
0.0042657815,
0.02831215,
0.007885552,
0.009444405,
0.05319763,
-0.053562768,
0.007053461,
-0.006400428,
0.03623281,
0.023438977,
0.013664545,
0.037861884,
0.003886601,
-0.033985816,
0.06780311,
-0.033424065,
0.02307384,
0.010666209,
-0.033171277,
0.018916897,
-0.012196975,
0.014914436,
-0.015391923,
0.0075836116,
-0.033508327,
0.017652962,
0.0046238964,
0.032356743,
-0.026037067,
-0.01881859,
0.046653256,
-0.03788997,
-0.018593892,
0.021346463,
-0.0039041555,
0.09016071,
-0.039968442,
0.037861884,
0.060219493,
0.025756191,
0.021514988,
0.0050100987,
0.010806646,
0.014844217,
0.033508327,
0.01884668,
-0.009465471,
-0.0002483984,
-0.004234183,
-0.002069694,
-0.04912495,
0.015279572,
0.03381729,
0.008208557,
-0.020180833,
0.06448878,
-0.0012042494,
-0.018495586,
-0.06533141,
0.0064109606,
0.00512596,
-0.011087521,
0.011712466,
0.028733462,
0.0035565733,
0.011017302,
-0.0138049815,
-0.0129061835,
-0.031092808,
0.09965427,
-0.016557552,
-0.07156682,
-0.004286847,
0.03699117,
-0.0008724664,
-0.02963226,
-0.02197843,
0.043788336,
0.012913205,
-0.017386131,
-0.02065832,
0.007134212,
-0.0042131175,
0.021641381,
0.0217116,
-0.04176604,
0.004325467,
-0.005364703,
0.007457218,
-0.07718431,
0.02737122,
0.020082526,
-0.036850736,
0.02680947,
-0.036513686,
0.015939629,
-0.006737477,
-0.04429391,
0.015448097,
-0.0013490753,
-0.023635589,
0.042075,
-0.00047704778,
0.07061185,
-0.012709571,
0.052046046,
-0.0049433913,
-0.02898625,
-0.038816854,
0.0045677214,
0.019352254,
0.0016413603,
0.038732592,
0.018650066,
-0.0018327062,
0.03407008,
0.06752223,
-0.04491183,
-0.08319503,
0.009409295,
-0.0492373,
-0.02352324,
0.024070945,
0.023930507,
-0.021388594,
0.03482844,
-0.0018239288,
-0.028480675,
0.009156508,
0.0022592843,
-0.010125526,
-0.014773998,
-0.041934565,
0.029070511,
-0.042608663,
0.009985088,
-0.021304332,
-0.02367772,
0.008061098,
0.03668221,
0.015209354,
0.04890025,
-0.0064179823,
0.02676734,
-0.043984946,
0.03370494,
-0.005666643,
0.028817724,
-0.013664545,
0.0051716017,
-0.023101928,
0.04033358,
0.037384395,
-0.014661649,
0.015391923,
0.0050487192,
-0.039238166,
-0.01368561,
0.0013903287,
0.019085422,
0.03482844,
-0.011333286,
-0.0022101311,
0.049040686,
-0.03788997,
-0.008194514,
-0.05266397,
-0.030474883,
-0.0013227434,
0.015953671,
0.018298974,
0.051596645,
-0.0033582058,
0.022610398,
0.004694115,
0.039181992,
0.015181267,
-0.017990012,
0.023832202,
0.0212622,
-0.0086930655,
-0.042327788,
0.023172146,
0.02661286,
-0.034940787,
0.012793833,
0.003672434,
-0.0071552778,
-0.006733966,
-0.0010585458,
-0.0035091757,
0.033508327,
0.010294051,
-0.049096864,
0.00047573118,
-0.014914436,
-0.022118866,
0.02974461,
-0.049770962,
-0.030334447,
0.0177934,
-0.04263675,
0.017091213,
-0.018018099,
-0.04064254,
-0.00908629,
-0.011017302,
0.022554222,
0.005322572,
-0.025306793,
0.02197843,
0.030896194,
0.0106381215,
-0.036513686,
-0.0056525995,
-0.0014491369,
-0.046512816,
-0.038901117,
0.01817258,
0.04451861,
0.010539816,
-0.020602144,
-0.024829306,
0.009928914,
0.011417548,
0.011986319,
-0.03516549,
-0.012126757,
-0.060219493,
-0.016655859,
0.011066455,
-0.0058632554,
-0.0021522008,
0.04373216,
-0.019394385,
-0.022329522,
-0.012372522,
0.038704507,
-0.0012639352,
-0.035418276,
-0.010834734,
0.035193574,
0.006073911,
-0.033508327,
0.022512091,
0.017287826,
0.04780484,
-0.005322572,
0.06611786,
0.011333286,
0.02318619,
0.028494718,
-0.026977995,
-0.052692056,
0.023467064,
0.015391923,
0.0054384326,
0.039631393,
-0.037159696,
-0.004402708,
-0.050810196,
0.052776318,
0.007773202,
-0.01741422,
0.029210947,
-0.010244898,
-0.030250184,
0.027778488,
0.021894168,
-0.046934128,
0.013917332,
-0.004746779,
0.051231507,
0.01662777,
0.010476619,
-0.008791372,
0.000065610526,
0.013629436,
-0.002936894,
0.03735631,
-0.02477313,
0.033985816,
-0.014717824,
0.054602005,
-0.038564067,
0.02589663,
-0.037075434,
-0.048198063,
0.008721153,
0.009261836,
-0.017498482,
-0.03679456,
-0.01266744,
0.012070581,
0.016599683,
-0.051034898,
0.01519531,
-0.042777188,
-0.0045080357,
0.03005357,
0.0024365862,
-0.04659708,
0.0077310707,
-0.02231548,
0.0058386787,
0.035334013,
0.048001453,
-0.0011735287,
0.047411617,
0.067915455,
-0.010834734,
0.0062108375,
0.010336182,
-0.01828493,
-0.030474883,
0.010181701,
0.025994936,
-0.016782252,
-0.03654177,
-0.021739686,
0.02047575,
0.008805416,
-0.021206025,
-0.012927249,
0.030531058,
0.021332419,
-0.020560013,
-0.016599683,
0.08488028,
0.02548936,
-0.012070581,
0.009374186,
-0.028930074,
-0.0065268213,
-0.022512091,
-0.034266688,
0.04199074,
-0.018930942,
-0.04491183,
-0.012864052,
-0.07448792,
0.014282469,
0.017638918,
-0.018018099,
-0.011993341,
0.043114237,
-0.0101325475,
0.05361894,
-0.011242002,
-0.031148981,
-0.011698423,
0.04701839,
0.02119198,
-0.0027192163,
0.060612716,
0.039181992,
-0.022329522,
-0.010560881,
0.0019239903,
0.0014324599,
-0.049714785,
-0.014956567,
0.0422997,
-0.014689736,
-0.009591864,
-0.026977995,
-0.070443325,
0.007857464,
-0.028073406,
0.003967352,
-0.024688868,
-0.03524975,
-0.10296859,
0.0012577911,
-0.013334517,
0.041232377,
-0.028677287,
-0.005936985,
0.0177934,
-0.06201709,
0.2312159,
0.07218475,
0.053703204,
0.015939629,
0.059938617,
0.07690344,
-0.0023611013,
0.007158789,
0.018692197,
-0.04493992,
0.01956291,
-0.08038628,
-0.002103048,
-0.016178371,
-0.030671496,
0.031233244,
-0.034519475,
-0.015883453,
-0.015841322,
-0.012864052,
-0.045473583,
0.050950635,
0.01850963,
0.034968875,
0.0043324893,
0.016613727,
-0.0030509993,
-0.06909513,
0.018313017,
-0.024295645,
-0.007625743,
-0.02721674,
0.0008478899,
-0.009002028,
-0.0034178917,
0.05825337,
0.03381729,
-0.009079268,
-0.014394818,
-0.039041556,
0.039041556,
-0.008700088,
-0.004802954,
-0.0018713264,
-0.006175728,
-0.018228754,
0.0050311643,
0.021318374,
0.039687566,
-0.0242816,
0.026921822,
-0.06089359,
0.02605111,
0.00652331,
-0.058141023,
0.01629072,
-0.06111829,
-0.06651108,
-0.017891705,
0.060219493,
0.009135443,
-0.005680687,
-0.009971045,
0.04347937,
-0.035277836,
0.027427396,
-0.005122449,
0.044996094,
0.013264298,
0.0057860147,
0.00026266155,
0.004908282,
-0.02390242,
0.010666209,
0.041541338,
0.0072254967,
-0.0051716017,
0.051989872,
-0.0068708924,
-0.047861014,
0.0067164116,
0.016192416,
0.002986047,
-0.039490953,
0.016908646,
0.0033582058,
-0.025742147,
0.014900392,
-0.039153904,
0.01002722,
0.00735189,
0.06814016,
0.016389027,
-0.012913205,
0.018874766
] |
You can customize the training loop behavior by subclassing the methods inside [Trainer]. This allows you to customize features such as the loss function, optimizer, and scheduler. Take a look at the [Trainer] reference for which methods can be subclassed.
The other way to customize the training loop is by using Callbacks. You can use callbacks to integrate with other libraries and inspect the training loop to report on progress or stop the training early. Callbacks do not modify anything in the training loop itself. To customize something like the loss function, you need to subclass the [Trainer] instead.
Train with TensorFlow
All models are a standard tf.keras.Model so they can be trained in TensorFlow with the Keras API. 🤗 Transformers provides the [~TFPreTrainedModel.prepare_tf_dataset] method to easily load your dataset as a tf.data.Dataset so you can start training right away with Keras' compile and fit methods. |
[
0.0051692375,
-0.002034255,
-0.0014882457,
0.0034676387,
0.01695677,
-0.0026647348,
-0.015047914,
-0.008248487,
-0.025065925,
0.04820906,
-0.0069283107,
-0.021373613,
0.038204983,
-0.033328343,
-0.022516139,
0.02505199,
-0.0236308,
-0.07468224,
-0.048487723,
-0.025177391,
-0.006064449,
0.010401174,
-0.069666274,
-0.0529185,
-0.0032743148,
0.018684493,
0.049518786,
0.0059634326,
0.08348806,
0.040016305,
0.008582884,
-0.005068221,
0.00016447771,
-0.018447628,
-0.03279888,
-0.04380615,
0.01631584,
-0.011683034,
-0.032018617,
-0.019882753,
-0.009683612,
0.01807143,
0.04419628,
-0.040350705,
-0.046648536,
-0.0037933285,
0.010261842,
-0.00038838945,
-0.019896686,
-0.020091753,
-0.020746615,
0.012323963,
0.021164613,
0.00527722,
-0.023602933,
-0.035864197,
-0.022766937,
0.0048278724,
-0.033328343,
-0.0002479684,
0.015730644,
0.05851967,
-0.007914089,
-0.04982532,
0.0001748188,
0.026821515,
-0.01235183,
-0.005534985,
-0.04196696,
-0.031099023,
-0.04979745,
-0.011982598,
-0.023505399,
-0.008269386,
-0.059522863,
0.007955888,
0.015619178,
0.0056534177,
0.02881397,
0.012553862,
-0.0036853456,
0.031266224,
0.016650239,
0.01867056,
-0.033161145,
-0.06732549,
0.05668048,
-0.022112075,
0.015674911,
-0.05222184,
-0.04388975,
0.018210763,
-0.056541145,
-0.0067959446,
0.009690578,
0.016970703,
-0.013222658,
0.04620267,
-0.000016450493,
0.019882753,
0.007440358,
0.051775973,
-0.0052632866,
0.05506422,
-0.024717594,
0.006332664,
0.018614827,
-0.0026299017,
-0.017890299,
-0.0059529827,
-0.007907121,
-0.03391354,
0.0232964,
-0.024801193,
-0.018015698,
0.027643576,
0.006228165,
0.027755043,
-0.035334732,
-0.0034537055,
-0.0034746053,
-0.01293006,
0.042412825,
-0.048905723,
0.007147759,
-0.06347991,
0.016552705,
0.021847343,
-0.02003602,
0.04508801,
0.035780597,
-0.0074055246,
0.030458095,
0.028200906,
0.00819972,
-0.021248212,
-0.0070955097,
0.012393629,
0.0057126344,
-0.0058902833,
-0.008687384,
0.01350829,
-0.019506555,
0.094133064,
-0.009293481,
-0.016385507,
-0.008561985,
-0.036978856,
-0.0178485,
0.012358797,
-0.05785087,
0.0076423897,
0.008130054,
0.0055733016,
-0.038985245,
-0.020649083,
-0.0048069726,
0.007454291,
-0.018475495,
-0.00038229366,
-0.019673755,
-0.020342551,
-0.025762588,
0.048654925,
0.026877247,
0.036923125,
-0.0048766388,
-0.019938488,
0.013543123,
-0.045506008,
-0.010456908,
0.01063804,
0.016037175,
0.01231003,
0.014964315,
0.008171854,
0.05729354,
0.022934137,
0.031349823,
0.012449362,
0.0023930364,
-0.038288582,
0.013877521,
0.0020307717,
-0.021025281,
-0.040824436,
0.00414166,
-0.0055628517,
-0.042802956,
0.0012357055,
0.02501019,
0.041130967,
0.004855739,
-0.001131206,
-0.040685102,
-0.0049741715,
-0.031823553,
-0.0064928965,
-0.01947869,
0.0071686595,
-0.030151563,
0.068663076,
-0.05029905,
-0.016803505,
-0.042580023,
0.026849382,
0.047178,
0.061975114,
-0.021903075,
0.00707461,
-0.00824152,
0.005531502,
0.004476058,
0.016176509,
-0.0033108895,
-0.04316522,
0.0050229384,
0.039960574,
-0.003612196,
-0.013139059,
0.026152719,
0.01627404,
0.047038667,
0.017374769,
0.016441239,
0.0090008825,
-0.00088302,
0.048181195,
0.007941955,
0.0055036354,
0.027030513,
0.037619784,
0.02530279,
0.048710655,
0.026152719,
0.035000335,
0.022279274,
0.042357095,
0.008687384,
-0.000104662686,
-0.003810745,
0.012296096,
0.05010398,
0.03160062,
-0.026877247,
-0.016148642,
-0.017054303,
0.00321684,
-0.030374493,
0.015995376,
-0.06743695,
0.024926592,
-0.0025689437,
0.009056616,
-0.032213684,
-0.027880441,
0.005291153,
0.026877247,
0.014560251,
-0.04046217,
0.027253445,
0.03639366,
0.009627879,
-0.026431384,
0.028423838,
0.051664505,
0.031572755,
0.028423838,
-0.019896686,
-0.052946366,
-0.019840954,
-0.0587426,
-0.10271595,
0.018573027,
-0.019743422,
-0.024759393,
-0.010958505,
-0.067715615,
0.0053956527,
-0.011313803,
-0.026278118,
-0.011515834,
-0.039458975,
0.0468436,
0.031795684,
-0.00466764,
-0.036783792,
0.057042744,
-0.0047059567,
0.016385507,
-0.014420918,
-0.03656086,
-0.026919046,
-0.017681299,
0.009481579,
-0.006851678,
-0.028479572,
-0.06191938,
-0.02774111,
0.01922789,
-0.0096487785,
0.011146603,
0.015396246,
0.036337927,
-0.037229653,
0.008645584,
0.033662744,
-0.019827021,
0.05066131,
0.047373064,
-0.0117526995,
0.0354462,
0.027141979,
0.04508801,
-0.039068844,
0.036728058,
0.04820906,
-0.0009370113,
-0.02641745,
-0.027211646,
-0.044502813,
0.0153126465,
-0.030458095,
-0.035223268,
0.0054061026,
0.06297831,
-0.0038978278,
-0.053420097,
-0.006750662,
-0.039709773,
-0.026222384,
-0.019576222,
-0.019116424,
0.033244744,
0.037536185,
-0.0065939124,
-0.05746074,
-0.013814822,
0.0048000063,
0.059021264,
0.014838915,
-0.03472167,
0.02650105,
0.055733018,
0.024090597,
0.006451097,
0.030764624,
-0.02067695,
0.01350829,
0.0021091464,
0.032854613,
0.036282193,
0.029176235,
0.024954459,
0.02482906,
0.011334702,
-0.045115877,
0.028981168,
0.042078428,
0.016218308,
0.031043291,
0.005155304,
0.0051169875,
0.008993915,
-0.02166621,
-0.023366068,
0.0061236653,
-0.005176204,
0.038818046,
-0.050076116,
0.032464482,
0.04383402,
-0.023491466,
0.029009035,
-0.021359678,
-0.056457546,
0.05985726,
0.008805817,
0.055259287,
-0.028925436,
-0.032436617,
-0.00096226536,
-0.0031941985,
0.021164613,
0.06136205,
0.027908308,
-0.02577652,
-0.010735572,
-0.04483721,
-0.013480423,
-0.0060191657,
0.05105144,
-0.005064738,
0.017946031,
-0.04037857,
-0.028089441,
0.011543701,
0.04294229,
0.034220073,
0.010317575,
0.05068918,
-0.023909464,
0.021373613,
0.028507438,
0.00084818684,
-0.018851694,
-0.025024125,
0.055426486,
0.035056066,
-0.003932661,
-0.0041939095,
-0.024299596,
-0.006510313,
0.0050055217,
-0.024355328,
0.0048174225,
-0.02662645,
0.021429345,
-0.011641234,
0.04478148,
-0.021694077,
0.010707706,
-0.039375376,
-0.0051239543,
0.011515834,
-0.04731733,
0.009349214,
-0.026710048,
0.026180584,
0.0010380275,
-0.008680417,
-0.032492347,
0.035557665,
-0.012407563,
-0.013166925,
0.045032278,
0.014337319,
-0.013933254,
0.024550393,
-0.028786102,
0.00019571868,
-0.023825865,
-0.02825664,
-0.046230536,
0.00095616956,
-0.011982598,
-0.0074194577,
0.046174806,
0.020022087,
-0.0088963825,
0.0065381797,
-0.024341395,
0.013243558,
-0.02501019,
-0.051135045,
-0.019882753,
0.037759118,
-0.030123696,
0.03575273,
0.01918609,
-0.02873037,
-0.02701658,
0.03438727,
-0.043220956,
-0.082039,
0.0015796827,
0.022669405,
-0.0074612577,
0.027991908,
0.023770131,
0.009488546,
0.020885948,
0.053587295,
-0.029789297,
-0.0035477548,
-0.01956229,
-0.01536838,
-0.033829942,
-0.03185142,
0.044140548,
-0.039096713,
0.033802073,
-0.014267652,
-0.033857808,
-0.024647927,
-0.05851967,
-0.00585545,
-0.01119537,
-0.03695099,
0.021345746,
0.032771014,
-0.006144565,
0.007767789,
-0.015633112,
0.0035912963,
-0.011627301,
-0.044725746,
0.005332953,
0.034777403,
0.01943689,
0.0584082,
-0.0411031,
-0.02406273,
0.048404124,
-0.008150954,
0.013640656,
-0.0414375,
-0.021206412,
-0.023923397,
-0.034108605,
-0.025553588,
0.010080709,
0.0036818625,
0.019116424,
0.011369536,
-0.00037053748,
-0.0016206116,
-0.023059536,
-0.015145447,
0.032882478,
-0.047930393,
-0.06732549,
-0.055315018,
0.05835247,
0.000908274,
-0.004455158,
0.07574117,
-0.016051108,
-0.02501019,
-0.036783792,
0.047038667,
-0.027559977,
-0.005698701,
-0.034861002,
-0.048320524,
0.042719357,
0.022780871,
-0.006318731,
-0.048794255,
-0.0049288888,
-0.045478143,
-0.0049811383,
-0.026556782,
-0.051775973,
-0.012630495,
0.024982324,
-0.024355328,
0.042635757,
-0.009098415,
0.014218885,
-0.009119315,
-0.0032586397,
0.04007204,
0.051413707,
-0.06871881,
-0.034972467,
-0.007851388,
-0.00077373104,
0.018963158,
0.011474035,
-0.00092394894,
0.037313256,
-0.031712085,
0.0034240973,
-0.05066131,
-0.037257522,
-0.015159381,
-0.033161145,
0.043694686,
-0.03814925,
-0.02003602,
-0.01627404,
0.05105144,
-0.008436586,
0.035083935,
-0.02470366,
-0.022557938,
-0.054144625,
-0.026877247,
0.02804764,
-0.02119248,
0.013988988,
-0.0014891166,
0.020969547,
0.057795137,
-0.034443006,
0.027364912,
0.043861885,
-0.0175141,
-0.028953303,
-0.022335006,
0.013689422,
-0.0127140945,
0.007586657,
-0.024759393,
-0.027991908,
-0.050800644,
0.021415412,
-0.035808463,
-0.057126343,
-0.0113625685,
0.023742266,
0.033829942,
-0.020217152,
0.04884999,
0.0137799885,
-0.011292903,
-0.05386596,
0.01828043,
0.012003498,
0.013731222,
0.03583633,
-0.00066966703,
0.0005059513,
0.014281586,
-0.021206412,
-0.025456056,
-0.009600013,
0.0712268,
-0.0035164051,
-0.03742472,
-0.012240364,
0.02119248,
-0.032771014,
-0.04302589,
0.03391354,
-0.004618874,
-0.059522863,
-0.025790453,
-0.00040362895,
0.02038435,
-0.046732135,
0.007078093,
0.04486508,
-0.03990484,
-0.0069596604,
0.0059738825,
-0.0026926014,
-0.027169846,
0.012519029,
0.014163153,
-0.021136746,
0.021889143,
-0.06609936,
-0.0003522501,
-0.028382039,
-0.0057962337,
0.035334732,
0.014797116,
0.037842717,
0.03583633,
-0.014309452,
0.07869502,
0.0065172794,
0.01536838,
-0.0013915838,
-0.016733838,
-0.049212255,
0.001816548,
0.03218582,
0.0071129263,
0.0071616927,
-0.032436617,
0.00071364385,
0.04533881,
0.06258818,
-0.00094833213,
-0.08371099,
0.035167534,
-0.021735877,
-0.0098299105,
-0.013048492,
-0.012316997,
-0.03254808,
0.031712085,
-0.018949226,
-0.024968391,
-0.011947765,
0.0006596525,
-0.028159106,
0.0004632807,
-0.052890632,
0.017263303,
-0.019854886,
-0.031544887,
-0.008986949,
-0.033077545,
0.022697272,
0.057126343,
0.014434852,
-0.0028911503,
0.007363725,
0.006458063,
0.01708217,
0.019924553,
-0.0032046484,
-0.0048696725,
-0.026389584,
0.008478385,
-0.0033822975,
0.040211372,
0.03806565,
-0.05603955,
-0.012797694,
0.006896961,
0.0022449957,
-0.022669405,
0.017360834,
0.03313328,
-0.0007267063,
0.016469106,
-0.018740227,
0.014142253,
-0.020690883,
-0.0117945,
-0.025609322,
-0.042106293,
-0.005702184,
0.03583633,
0.019924553,
0.047986127,
-0.008952116,
0.034693804,
-0.012094065,
0.015229047,
0.026570715,
0.01883776,
0.014309452,
-0.030430228,
0.0074055246,
-0.002161396,
0.00527722,
0.016260108,
-0.033662744,
0.020704815,
0.02586012,
-0.014657783,
-0.03472167,
-0.0044272915,
0.035780597,
0.025623254,
0.012860394,
-0.035864197,
0.014936448,
-0.0046362905,
-0.029622098,
0.008053421,
-0.044335615,
-0.051580906,
0.009342247,
-0.036337927,
0.012205531,
-0.055677284,
-0.026598582,
0.016023243,
0.0154937785,
0.025330655,
0.02239074,
0.017319035,
0.026737915,
0.010415108,
-0.021471145,
-0.016441239,
-0.014009887,
-0.008575918,
-0.04255216,
0.0038525448,
0.04341602,
0.06152925,
0.02089988,
-0.01819683,
-0.031962886,
-0.0011242394,
0.012386663,
0.04837626,
-0.030067962,
0.0108958045,
-0.044642147,
0.0047965227,
-0.018377962,
-0.02513559,
0.008659517,
0.034359407,
0.015020048,
-0.019130358,
-0.026793648,
0.03121049,
0.012484196,
-0.006764595,
0.026194518,
-0.003171557,
0.003911761,
-0.0037793953,
-0.01871236,
0.00057474675,
0.06347991,
0.048738524,
0.040991634,
-0.019548357,
0.07735743,
0.0022955036,
-0.0058659,
-0.0034380304,
0.058854066,
0.014964315,
0.029566366,
0.0064127804,
0.010791305,
-0.02191701,
-0.007851388,
0.028925436,
0.014964315,
-0.007698123,
-0.008952116,
-0.013194792,
-0.04046217,
0.009600013,
0.0151315145,
-0.062866844,
-0.019492622,
0.040239237,
0.024982324,
0.026598582,
0.026194518,
0.0047268565,
0.04988105,
0.040044174,
0.0056151017,
0.041158833,
-0.017653434,
0.020537617,
-0.0120383315,
0.022251407,
-0.025428189,
-0.014393051,
-0.0023216284,
-0.012198564,
-0.052389037,
0.034582336,
-0.009662712,
-0.049017187,
0.024940524,
-0.014393051,
-0.046982933,
-0.049017187,
-0.003145432,
-0.024202062,
0.007732956,
-0.00046240987,
-0.019409023,
-0.037536185,
0.06554203,
-0.037926316,
0.034833137,
0.0071825925,
0.024299596,
0.030318761,
0.07496091,
0.025999453,
0.012386663,
0.037146054,
0.029315567,
-0.012567795,
-0.03199075,
-0.006844711,
0.008638618,
-0.0135988565,
-0.032380883,
-0.04645347,
0.015897842,
0.02076055,
-0.020579416,
-0.010115542,
0.026222384,
-0.013313225,
-0.015953576,
-0.0042148093,
0.09725411,
0.023449667,
-0.046314135,
0.013912355,
0.019032825,
-0.06715828,
0.011564601,
-0.038678713,
0.04932372,
0.008680417,
-0.080478474,
-0.0102479085,
-0.059132732,
-0.01350829,
-0.011425269,
-0.00937708,
-0.019659821,
0.05509209,
0.032492347,
0.023505399,
0.0047338232,
-0.03904098,
-0.014866782,
0.053587295,
0.05322503,
0.021248212,
0.0768001,
0.052305438,
-0.01288826,
0.023268534,
0.027768975,
-0.009063582,
-0.03664446,
0.0015248205,
-0.000079898506,
-0.0010388982,
-0.045784675,
-0.06359137,
-0.01999422,
0.0068272944,
0.012567795,
-0.027072312,
-0.02676578,
0.04525521,
-0.05355943,
0.006987527,
-0.012539929,
-0.001380263,
0.001613645,
-0.00760059,
-0.0013576215,
-0.02821484,
0.22850537,
0.058129538,
0.05252837,
0.032771014,
0.040824436,
0.024383195,
0.0011172728,
-0.027337044,
0.0022397707,
0.0009352697,
-0.01059624,
-0.02338,
0.018099297,
0.0064963796,
-0.03870658,
0.029594231,
-0.04422415,
0.018141096,
-0.00060304865,
-0.02650105,
-0.07468224,
0.04924012,
-0.016538773,
0.043666817,
0.02261367,
-0.01584211,
0.0086107515,
-0.020300752,
-0.022195674,
-0.0016624114,
0.0129230935,
-0.023226734,
0.03742472,
-0.01233093,
-0.0078304885,
0.018001765,
0.025665054,
-0.042719357,
-0.007088543,
0.003338756,
-0.018168963,
-0.0128952265,
0.045617472,
-0.042830825,
-0.03767552,
0.019088559,
0.014184053,
0.012644428,
0.054562625,
-0.07379051,
0.029009035,
-0.05202677,
0.008680417,
-0.04285869,
-0.04884999,
-0.0016214824,
-0.07390198,
-0.04302589,
0.021499012,
0.006134115,
-0.016329775,
0.028019775,
0.013988988,
-0.009836878,
-0.013661556,
0.029510632,
0.027699308,
0.044140548,
-0.0153126465,
0.0010484774,
0.01532658,
-0.009983176,
-0.0035529798,
-0.00056081347,
0.015730644,
0.066768155,
-0.008513219,
0.056959145,
0.003166332,
-0.05729354,
0.024731526,
-0.04829266,
0.0016885363,
-0.026528915,
0.014079553,
0.039793372,
-0.0048940554,
0.037146054,
-0.03608713,
0.019102491,
0.030290894,
0.03664446,
0.02637565,
-0.0020168386,
0.017890299
] | You'll start with a [TFPreTrainedModel] or a tf.keras.Model:
from transformers import TFAutoModelForSequenceClassification
model = TFAutoModelForSequenceClassification.from_pretrained("distilbert/distilbert-base-uncased")
Load a preprocessing class like a tokenizer, image processor, feature extractor, or processor:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased")
Create a function to tokenize the dataset: |
[
0.033671256,
0.021065202,
-0.026520938,
-0.002417883,
-0.007446528,
-0.033340607,
0.010208839,
-0.010139953,
-0.044692945,
0.043645885,
0.014341972,
0.0029259138,
0.04761369,
-0.03981585,
-0.013653116,
0.023558859,
-0.019907925,
-0.030915836,
-0.0926924,
-0.017455598,
-0.012302959,
-0.00610326,
-0.082111575,
-0.038879007,
-0.03507652,
-0.010567044,
0.0046359976,
0.00006926227,
0.07252271,
0.015747238,
-0.023297094,
-0.0034942196,
-0.0156232435,
-0.012420065,
-0.0019787375,
0.0029827445,
0.033450823,
0.0029465794,
-0.02464725,
-0.02683781,
0.009086004,
-0.009196221,
0.022801118,
-0.018461328,
-0.035985813,
0.0070538805,
-0.014934388,
-0.010704814,
-0.044637837,
-0.028628835,
-0.00337367,
0.027595552,
-0.004877097,
0.0065234615,
-0.01368067,
-0.00045076982,
-0.020858545,
0.007846064,
-0.046373755,
-0.027595552,
0.036674667,
0.016463647,
-0.01978393,
-0.05725767,
0.018557768,
0.011593439,
-0.010002182,
0.009561314,
-0.041882414,
-0.008727799,
-0.055852406,
0.02107898,
-0.018571544,
-0.012261628,
-0.027278678,
0.020348791,
0.038493246,
-0.008224935,
-0.0339468,
0.0385208,
0.032927293,
0.04882608,
0.02559787,
0.049514934,
-0.008149161,
-0.058855817,
0.048605647,
-0.0059620445,
-0.0045946664,
-0.030392306,
-0.025639202,
0.017428044,
-0.04609821,
0.0011977475,
0.00677145,
0.04576756,
-0.012984927,
0.04582267,
-0.00053300196,
-0.026920473,
0.027375119,
0.08701623,
-0.04042204,
0.03303751,
0.0018254671,
0.034828536,
0.0060998155,
-0.029538125,
-0.034883644,
-0.00027747962,
-0.020100804,
-0.018364888,
0.017607147,
0.00058724935,
-0.012330513,
0.014700177,
-0.0016455036,
0.02135452,
-0.044830717,
-0.01931551,
0.010133064,
-0.0035148852,
0.019425726,
-0.03447033,
0.020762105,
-0.05293166,
0.010511935,
0.042020187,
0.0043122354,
-0.022332696,
0.014217977,
0.011083685,
0.04196508,
0.058470055,
-0.0029224695,
-0.0048082117,
-0.035682715,
-0.008686468,
-0.011428113,
-0.04496849,
0.005872493,
0.007852953,
-0.021450961,
0.0992503,
0.0075842994,
-0.012254739,
0.012964261,
-0.05607284,
-0.023917064,
0.03923721,
-0.08084408,
0.030833174,
-0.026424497,
0.0018512992,
-0.052573454,
-0.0059379344,
-0.018296003,
0.016312098,
-0.013184695,
0.020762105,
0.006926442,
-0.0034563325,
-0.026245395,
0.03976074,
0.018626653,
0.04954249,
-0.038245257,
0.0037887054,
0.011999863,
-0.030144317,
-0.0015051493,
0.0019649602,
0.017579593,
0.00781851,
0.03347838,
0.027499111,
0.083709724,
-0.010456827,
0.0076256306,
0.013412016,
-0.011125017,
-0.020266129,
-0.0036543785,
0.023972172,
-0.03347838,
-0.0323211,
0.004563668,
0.0074258624,
-0.008844905,
0.00089120684,
0.0042123515,
0.013556677,
-0.024109943,
-0.009816191,
-0.027402673,
-0.013797776,
-0.030144317,
-0.005421293,
-0.00039867513,
-0.018337334,
-0.0118138725,
0.044169415,
-0.036647115,
0.009705974,
0.024495702,
-0.0018323556,
0.0261214,
0.007632519,
-0.0006858418,
0.008603806,
0.019081298,
0.025804527,
-0.00052783557,
0.040504705,
0.019232847,
-0.02274601,
-0.0034942196,
0.009733529,
0.008624471,
-0.03055763,
0.01368067,
-0.0034391112,
0.03741863,
-0.0026469273,
0.0724676,
0.012805824,
0.00061609515,
0.05020379,
0.031053606,
0.019963033,
-0.011407447,
0.041744646,
0.016380984,
0.06083972,
0.031687353,
0.002219837,
0.05348274,
0.022043377,
0.016367206,
0.04061492,
0.034167234,
0.012289182,
0.042075295,
0.033698812,
-0.011600327,
0.022484245,
-0.0057726093,
-0.014851725,
-0.043618333,
0.0332855,
-0.043783657,
0.03736352,
0.00087699917,
0.0035751602,
-0.062107213,
-0.033698812,
-0.009712863,
0.05764343,
0.0055074,
-0.0058483835,
0.031632245,
0.03075051,
0.006499352,
-0.01840622,
0.0401465,
0.063540034,
-0.0058104964,
0.030530076,
0.016504979,
-0.036784884,
-0.008162938,
-0.024068613,
-0.078253984,
-0.020321237,
-0.041854862,
-0.02187805,
-0.008231823,
-0.045188922,
0.0066302344,
-0.001600728,
-0.02817419,
-0.020486563,
-0.027926203,
0.07395553,
0.06293384,
0.020555448,
-0.03604092,
0.011049243,
-0.027209792,
0.006978106,
-0.0120687485,
-0.03752885,
-0.016174328,
-0.011758763,
0.014341972,
0.02249802,
0.028601281,
-0.03356104,
-0.03174246,
0.048605647,
-0.0236553,
0.018915972,
-0.00022107956,
0.025639202,
-0.022057153,
-0.0041744644,
0.030888282,
-0.01802046,
0.03956786,
0.02817419,
0.0039540306,
0.032651752,
0.015926339,
0.026865365,
-0.030530076,
0.05425426,
0.05582485,
-0.02917992,
-0.039843403,
-0.018612877,
-0.032927293,
0.020858545,
-0.017152503,
-0.025611648,
0.0015473417,
0.06045396,
-0.05273878,
-0.057422996,
-0.0391821,
-0.025308551,
-0.03171491,
-0.024702359,
-0.0019666825,
0.027333787,
-0.006251364,
-0.016808074,
-0.04758614,
0.003795594,
-0.0112627875,
0.030144317,
-0.0007706571,
-0.04954249,
0.032624196,
0.05698213,
0.014355749,
0.003299618,
0.038493246,
-0.047971897,
0.000589402,
0.0123994,
0.04295703,
0.011600327,
0.031577136,
0.009981517,
-0.0030585185,
0.009320215,
-0.023806846,
0.030502522,
0.02121675,
0.020293683,
0.0300341,
-0.0026331502,
0.01458996,
0.0065716817,
-0.06794871,
-0.022870002,
0.010201951,
-0.011035466,
0.07257782,
-0.07323912,
0.017097393,
0.010484381,
0.0019821818,
-0.02160251,
0.008472923,
-0.049983356,
0.03736352,
0.041551765,
0.03146692,
-0.040174052,
-0.029097257,
-0.015085936,
0.006427022,
0.04033938,
0.07996235,
0.025928522,
0.012833378,
0.026328057,
0.00092392747,
-0.027099576,
0.008941345,
0.0024884907,
0.0048426543,
0.0020252352,
-0.020335015,
-0.051471286,
0.03518674,
0.06662611,
0.040973127,
0.0192604,
0.02098254,
-0.029069703,
0.005745055,
0.029069703,
0.005321409,
-0.020183466,
-0.07169608,
0.029427908,
0.022511799,
0.028325738,
-0.008865571,
-0.02160251,
-0.014741508,
-0.00077883725,
-0.009795525,
0.008135384,
-0.011731209,
0.013907993,
0.0027123685,
0.02216737,
0.002791587,
-0.041221116,
-0.03108116,
-0.024853908,
0.037831943,
-0.03402946,
-0.00786673,
-0.031384256,
0.018943526,
0.039016776,
0.006678454,
-0.056431044,
-0.026520938,
0.018488882,
-0.03934743,
0.028325738,
0.06414623,
-0.05169172,
0.01821334,
-0.036536895,
0.0013475736,
-0.01768981,
-0.026796479,
-0.0057416107,
0.012592278,
-0.0023266096,
-0.0025435989,
0.010828809,
-0.0046222205,
0.0039368095,
0.014534852,
0.0022973332,
0.031962898,
-0.03551739,
-0.031632245,
-0.03447033,
0.0025005455,
0.025625424,
0.026810257,
0.0059344904,
-0.02650716,
-0.015099713,
0.046153318,
-0.03342327,
-0.05568708,
0.04196508,
0.01978393,
0.019343063,
0.024895238,
-0.01840622,
-0.0032049003,
0.012213408,
0.028601281,
-0.014617514,
-0.021134088,
0.012606056,
-0.020335015,
-0.029923884,
-0.015843676,
-0.008720911,
-0.07026326,
0.04314991,
0.0051044193,
-0.032734413,
0.0054832897,
-0.03967808,
-0.015003273,
-0.019797707,
-0.027347565,
0.020018142,
0.020293683,
0.011317896,
-0.018089347,
-0.026135178,
0.0018082458,
0.011579662,
-0.04601555,
0.010036625,
0.038961668,
0.030915836,
0.012716273,
-0.07566389,
-0.0545298,
0.031880233,
-0.0025229333,
0.022332696,
-0.0065820143,
-0.04113845,
-0.025157003,
-0.029758558,
-0.011235233,
-0.012268517,
-0.027182238,
0.014810394,
0.004601555,
0.006120481,
-0.022952667,
-0.0146864,
-0.012840267,
0.03504897,
-0.04981803,
-0.03637157,
-0.008321375,
0.019301731,
0.0147966165,
-0.008100941,
0.023228208,
-0.013370685,
-0.046676848,
-0.020858545,
0.040256716,
-0.021271858,
0.015485472,
-0.042378392,
-0.029427908,
0.017000955,
0.02278734,
0.017000955,
-0.040284272,
0.04529914,
-0.029868776,
0.017469376,
-0.061996996,
0.0012761048,
-0.013949324,
0.019701269,
-0.0058483835,
0.060949937,
0.018392442,
0.012502728,
-0.009161779,
-0.012557836,
0.037831943,
0.059296682,
-0.054584913,
-0.018571544,
0.0052663004,
-0.00107892,
0.03551739,
0.015416587,
0.003733597,
0.02212604,
-0.0076945163,
0.027154684,
-0.034635656,
-0.048522983,
-0.05086509,
0.004625665,
0.026452051,
-0.0460431,
0.011214567,
0.0023610522,
0.045602236,
0.00023485668,
0.033340607,
-0.024757467,
0.0068678893,
-0.0076876273,
-0.07219206,
0.04838521,
-0.034057017,
-0.0020286795,
-0.015389033,
-0.020651888,
0.07015304,
-0.04086291,
0.024537034,
0.047283042,
-0.012530282,
0.0031584026,
-0.035104077,
0.019494612,
-0.012137634,
-0.0220296,
-0.0026365945,
-0.014700177,
-0.005979266,
-0.0027640327,
-0.05392361,
-0.043425452,
-0.026383167,
0.013618673,
-0.014273087,
0.006075706,
0.03728086,
0.0015860898,
0.008369595,
-0.0926924,
0.014245532,
0.0077634016,
0.008831128,
0.010036625,
0.032210883,
0.00082576554,
0.029069703,
-0.034745872,
-0.017552039,
-0.017069839,
0.100187145,
-0.015843676,
-0.06783849,
-0.014121538,
0.006898888,
-0.026148956,
-0.0447205,
0.008300709,
0.01768981,
-0.027926203,
-0.02340731,
-0.017800026,
0.030667847,
-0.0300341,
0.051801935,
0.04582267,
-0.03171491,
-0.015692128,
0.004081469,
-0.006947108,
-0.049404718,
-0.018585322,
0.024661027,
-0.024302823,
0.013198472,
-0.034442775,
0.017083617,
-0.04686973,
-0.021450961,
0.012716273,
0.01879198,
-0.0049563153,
0.028766606,
0.024895238,
0.050809983,
0.014052653,
0.005645171,
0.03810749,
-0.029813666,
-0.038603462,
-0.017868912,
0.031825125,
-0.0042640157,
0.010146841,
-0.024178829,
-0.007143432,
0.016532533,
0.048330102,
-0.014837948,
-0.08955122,
0.017744917,
-0.026713816,
-0.014093984,
0.021588732,
-0.008528031,
-0.011435001,
0.06613013,
0.0023145545,
-0.038245257,
0.013067589,
0.013405128,
-0.004763436,
-0.029786112,
-0.023035329,
0.03245887,
-0.04609821,
-0.02445437,
-0.016422316,
-0.036922656,
0.0077978442,
0.026479606,
-0.0019925146,
0.00037671786,
0.0277471,
0.033588596,
0.013398239,
0.027182238,
-0.043039694,
-0.0018667985,
0.007852953,
0.006051596,
0.017042285,
0.0052628564,
0.042874366,
-0.04248861,
0.009168667,
0.027113354,
0.0037163754,
-0.051140632,
0.044830717,
0.055879958,
-0.009561314,
0.013391351,
-0.0058518276,
0.0042399056,
-0.0724676,
-0.0045808894,
-0.042901922,
-0.021630064,
0.004257127,
0.036592007,
0.027016914,
0.02670004,
0.0045843334,
0.024165051,
0.023806846,
0.004143466,
-0.02608007,
0.009540649,
0.019632382,
0.003289285,
0.0076738503,
-0.0023765515,
0.0042226845,
0.031163823,
0.0050596436,
0.03970563,
0.008996453,
-0.008920679,
0.003571716,
0.023669075,
0.035820488,
0.047283042,
0.022801118,
-0.021933159,
0.016932068,
-0.04557468,
-0.028050197,
0.018654207,
-0.053592958,
-0.057422996,
0.031439364,
-0.05984777,
0.0010401718,
0.002691703,
-0.029758558,
-0.020927431,
0.013845996,
-0.0026331502,
0.014341972,
0.034167234,
0.04033938,
0.009120447,
-0.029290136,
-0.04328768,
0.008714022,
0.0020321237,
-0.020486563,
-0.023352202,
0.013315577,
0.031026052,
0.030860728,
-0.0007146876,
-0.046676848,
-0.012358068,
-0.0004766019,
0.04761369,
-0.018392442,
-0.009402878,
-0.03871368,
0.02164384,
-0.0034184456,
-0.018764425,
0.01906752,
0.023476196,
0.018185785,
0.0014388469,
0.007660073,
0.026727594,
0.023255762,
-0.044610284,
0.014162869,
0.030199425,
0.021065202,
-0.028146636,
0.0068885554,
0.019219069,
0.057918973,
0.025184557,
0.023751738,
-0.035958257,
0.0018185786,
0.016987177,
-0.009375324,
-0.020706996,
0.043315236,
0.029538125,
0.0056486153,
0.0026865364,
0.011097462,
-0.013949324,
-0.013405128,
0.026824033,
0.019301731,
0.008231823,
0.015802346,
-0.023875732,
-0.031218931,
0.0047324374,
-0.022429135,
-0.04477561,
0.017662255,
0.035489835,
0.027664438,
0.03171491,
0.031825125,
-0.008004501,
0.0043087914,
0.017221387,
-0.016863182,
0.010890806,
-0.00042493775,
0.03904433,
-0.03303751,
0.075112805,
-0.06083972,
-0.02073455,
-0.049570043,
-0.031163823,
-0.016436093,
0.013005592,
-0.009871299,
-0.032348655,
-0.0015197875,
-0.009258218,
-0.03408457,
-0.07202673,
-0.008190492,
-0.04425208,
0.008142272,
0.018612877,
-0.021822942,
-0.036399126,
0.020762105,
-0.020224798,
0.016091665,
0.016918292,
0.048164777,
0.020362569,
0.062658295,
0.025928522,
-0.01520993,
-0.004246794,
0.023393534,
-0.040807802,
-0.035875596,
0.0057726093,
0.002333498,
-0.013742668,
-0.06872023,
-0.019232847,
0.011992974,
0.040256716,
-0.013639339,
-0.03956786,
0.027099576,
0.017469376,
-0.041083343,
0.0037577068,
0.110161774,
0.03871368,
-0.019122628,
0.009182444,
0.011414336,
-0.05315209,
-0.014121538,
-0.033313055,
0.0060825944,
-0.030254534,
-0.029648341,
-0.018626653,
-0.054667573,
0.023338424,
0.012723162,
-0.012364957,
-0.014631291,
0.03455299,
-0.0076118535,
0.019136406,
0.013026258,
-0.034167234,
-0.003571716,
0.06271341,
0.022594461,
0.021547401,
0.08321375,
0.05802919,
-0.006909221,
0.017676033,
0.026865365,
0.012302959,
-0.025294775,
-0.0063168053,
0.009278884,
-0.015926339,
-0.019811485,
-0.029345244,
-0.038024824,
-0.01335002,
0.0054281815,
-0.014782839,
-0.026948027,
-0.0011753597,
-0.06414623,
-0.013625562,
0.0023128325,
0.033671256,
-0.04163443,
-0.026383167,
0.033395715,
-0.03560005,
0.22241767,
0.058084298,
0.06078461,
0.013660005,
0.036178693,
0.041606873,
-0.013384462,
-0.022690902,
0.012743827,
-0.009382213,
-0.009933297,
-0.02112031,
-0.00953376,
-0.01935684,
-0.05692702,
0.020803437,
-0.04367344,
-0.003771484,
-0.034911197,
-0.050010912,
-0.06579948,
0.09643977,
0.010959691,
0.05797408,
0.016560087,
-0.009265107,
0.0254601,
-0.04562979,
-0.025294775,
-0.041689537,
0.020803437,
-0.054309368,
-0.0071089887,
-0.022966443,
0.022084707,
0.043866318,
0.0128953755,
-0.054364476,
0.00939599,
-0.033175282,
0.0050320895,
-0.013584231,
0.03758396,
0.0047978787,
-0.016243214,
-0.0059344904,
-0.0037680396,
0.015278815,
0.034249898,
-0.06579948,
0.024096167,
-0.034442775,
0.04844032,
-0.03507652,
-0.0685549,
-0.024509478,
-0.057092346,
-0.04268149,
-0.015885008,
0.027815986,
-0.006688787,
0.01868176,
0.010387941,
0.019852815,
-0.033065066,
0.026810257,
-0.0036991541,
0.019081298,
-0.0057829423,
0.015223707,
-0.0059034918,
-0.0055762855,
-0.042653933,
-0.012330513,
0.0051285294,
0.031577136,
0.0000064714745,
0.06431155,
-0.0064959074,
-0.062492974,
0.03904433,
0.0005446264,
0.0055108443,
-0.034580547,
0.014920611,
0.03970563,
-0.04725549,
0.03041986,
-0.005063088,
0.020403901,
0.028959487,
0.039457645,
0.01687696,
0.0025866525,
0.026865365
] | dataset = dataset.map(tokenize_dataset) # doctest: +SKIP
tf_dataset = model.prepare_tf_dataset(
dataset["train"], batch_size=16, shuffle=True, tokenizer=tokenizer
) # doctest: +SKIP
When you're ready, you can call compile and fit to start training. Note that Transformers models all have a default task-relevant loss function, so you don't need to specify one unless you want to: |
[
0.009134762,
-0.008586254,
-0.010745124,
0.022502879,
-0.015667628,
-0.0115116285,
0.014837835,
-0.0017369409,
-0.036201503,
0.05037832,
0.0049717296,
0.007587689,
0.035779577,
-0.020379169,
-0.024682844,
0.018789902,
-0.020336976,
-0.055610236,
-0.056257196,
-0.015808271,
-0.044386927,
-0.003101178,
-0.08612976,
-0.04134904,
-0.02689094,
0.013016509,
-0.013656434,
0.013339987,
0.0797727,
0.037804835,
0.00029710832,
0.028381756,
-0.017130315,
-0.012545355,
-0.002216885,
-0.039801966,
0.016863095,
-0.0022010629,
-0.02143399,
-0.015175378,
0.007341564,
0.014296359,
0.03527326,
-0.018072624,
-0.04677786,
0.004954149,
-0.03209473,
-0.005752298,
-0.0300976,
-0.011792915,
-0.0034475112,
0.014626871,
0.026187724,
0.0096903015,
-0.031757187,
-0.017003737,
-0.044077512,
-0.0012104088,
-0.04230541,
-0.00025513518,
-0.0019988886,
0.05077212,
-0.030941457,
-0.05493515,
0.00997862,
0.031335257,
0.0007810081,
0.0121234255,
-0.055244565,
-0.023051385,
-0.051587846,
0.019211832,
-0.020801097,
-0.035638932,
-0.055075794,
0.016581807,
0.02604708,
0.00049181096,
-0.010224746,
0.033613674,
0.0033789477,
0.02516103,
0.021813728,
0.028663041,
-0.02299513,
-0.05091276,
0.052600477,
-0.031869702,
0.00938792,
-0.016863095,
-0.016666194,
0.005657364,
-0.04914066,
-0.024823487,
0.018803967,
0.048043646,
-0.008051811,
0.056454096,
-0.017256895,
0.0016244265,
0.033191744,
0.063795656,
-0.0077213002,
0.03890185,
0.008389354,
0.022488814,
0.007573625,
-0.006743831,
-0.017763209,
0.028297368,
-0.0094652735,
-0.01907119,
0.03274169,
-0.016736515,
-0.010252873,
0.026004888,
0.0077916216,
0.031363387,
-0.050997145,
-0.010070038,
0.023515508,
-0.0023698343,
0.025006324,
-0.04956259,
-0.013136055,
-0.08146042,
0.012875865,
0.028550526,
-0.001036363,
-0.019211832,
0.025807988,
0.005404207,
0.049225047,
0.048015516,
0.030857071,
0.009556691,
0.0086917365,
-0.011792915,
0.015119121,
-0.031447772,
-0.0011884333,
0.027706668,
-0.0055940747,
0.08146042,
0.0096903015,
-0.025315737,
0.022179399,
-0.04213664,
-0.019014932,
0.028761491,
-0.08843631,
0.0096903015,
0.014542485,
-0.004672863,
-0.034429405,
-0.02289668,
0.005843716,
0.010801381,
-0.03288233,
-0.0039731646,
-0.022516942,
-0.022277849,
-0.024204658,
0.021349605,
0.028972456,
0.022826357,
-0.041489683,
-0.013529856,
-0.0025772827,
-0.033219874,
-0.011434275,
0.014148684,
0.018705517,
0.015316022,
0.03735478,
0.00981688,
0.050068904,
0.00528466,
0.024289044,
0.022291914,
-0.0016551921,
-0.011131893,
0.0035881542,
0.0029798732,
-0.015372278,
-0.026905004,
-0.00074013375,
-0.016483359,
-0.011933558,
-0.0020463555,
0.027003454,
0.026736232,
0.0061460985,
0.00084957154,
-0.043824356,
0.0007023359,
-0.027439447,
0.017552245,
-0.008607351,
-0.0018881321,
-0.012439872,
0.06694606,
-0.050237674,
-0.0015725644,
-0.0237546,
0.009767655,
0.032207243,
0.04314927,
0.007658011,
0.015569178,
0.037467293,
0.026187724,
-0.005502657,
0.023698343,
-0.00076298823,
-0.03485133,
-0.015611372,
0.031138357,
0.0007704599,
-0.015611372,
-0.008621415,
0.002361044,
0.048606217,
0.015189443,
0.018382039,
0.035723317,
0.009845009,
0.04773423,
0.008642511,
0.014254167,
0.015428536,
0.047593586,
0.028606784,
0.070659034,
0.025807988,
0.011307696,
0.036117118,
0.022179399,
-0.0069829244,
0.0023241253,
0.0013369874,
0.025231352,
0.031532157,
0.028663041,
-0.013705659,
0.0063324505,
-0.0013888495,
-0.0059070056,
-0.024725037,
0.023402993,
-0.050490834,
0.03870495,
0.008593286,
-0.0070602777,
-0.05636971,
-0.037636064,
0.0008377048,
0.02646901,
0.010745124,
-0.022404429,
0.052403577,
0.031222744,
0.017031865,
-0.029647542,
0.02617366,
0.042614825,
0.008108068,
0.035413906,
-0.024232786,
-0.044077512,
-0.006736799,
-0.0613766,
-0.061882913,
-0.00048302076,
-0.044977628,
-0.012854769,
-0.015667628,
-0.07077155,
0.028719299,
-0.0038782305,
-0.010119263,
-0.024064016,
-0.039351907,
0.05057522,
0.052037906,
0.027270675,
-0.023796793,
0.027819183,
-0.0027196838,
0.030519528,
-0.0023698343,
-0.016989673,
-0.0021254672,
-0.025625153,
-0.0047467006,
0.015597307,
0.0014547759,
-0.05974514,
-0.013768949,
0.03392309,
-0.02807234,
0.026511203,
-0.006441449,
0.021926241,
-0.041095883,
0.005646816,
0.024598459,
-0.0001284466,
0.044049382,
0.033782445,
-0.0008526481,
0.008262776,
0.030857071,
0.03991448,
-0.040420793,
0.031110229,
0.06115157,
0.0033051101,
-0.043233655,
-0.029563155,
-0.043402426,
0.031813443,
-0.04272734,
-0.043205526,
0.0014565339,
0.05440071,
-0.03386683,
-0.05918257,
-0.009331662,
-0.0316728,
-0.022798229,
-0.020758905,
-0.011588982,
0.040898982,
0.0059632626,
-0.017777273,
-0.06036397,
-0.008262776,
-0.008171357,
0.023599893,
0.006831733,
-0.020983934,
0.0073696924,
0.036088992,
0.020013496,
0.003109968,
0.025709538,
-0.035357647,
-0.009233212,
-0.01249613,
0.05631345,
0.0065188026,
0.019690018,
0.026201788,
-0.0008420999,
0.0011822801,
-0.050265804,
0.03772045,
0.05172849,
0.010618545,
0.02538606,
0.016005171,
0.0044267382,
0.0023821406,
-0.03932378,
-0.042586695,
0.014261199,
0.008958958,
0.064020686,
-0.028325498,
0.013368116,
0.03352929,
-0.013726756,
-0.001974276,
-0.0147815775,
-0.04371184,
0.037270393,
0.014612806,
0.03971758,
-0.032066602,
-0.04193974,
-0.003818457,
0.0009326388,
0.031982217,
0.08522965,
0.04253044,
-0.007151696,
0.00096516253,
-0.009029279,
-0.019872854,
-0.005460464,
0.031391516,
-0.0039204233,
0.03291046,
-0.014486228,
-0.057888653,
0.031363387,
0.04151781,
0.045877744,
0.033641804,
0.058113683,
-0.017777273,
0.020955805,
0.010063006,
0.0064871577,
-0.017186573,
-0.030350756,
0.053022407,
0.014401842,
0.008860508,
-0.009570755,
-0.020716712,
-0.019155575,
0.009507466,
-0.023037322,
0.014809706,
-0.03530139,
0.03288233,
-0.0028919715,
0.052769247,
-0.03409186,
-0.021898113,
-0.023304543,
-0.025006324,
0.028438011,
-0.048746858,
0.0073907888,
-0.008614383,
0.014683128,
0.0058683287,
0.0035547514,
-0.02506258,
-0.017791338,
0.004061066,
-0.03735478,
0.038564306,
0.04871873,
-0.025146967,
0.013536887,
-0.036398403,
-0.0012534807,
-0.015709821,
-0.03507636,
-0.01279148,
0.017721016,
-0.03929565,
-0.026708104,
0.022924807,
0.020618262,
-0.013881463,
0.010857639,
0.0047185724,
0.033810575,
-0.043430556,
-0.048493702,
-0.038001735,
-0.0013572049,
0.009191019,
0.042052254,
0.010618545,
-0.03968945,
-0.014880028,
0.03392309,
-0.037439164,
-0.071109094,
0.020730777,
0.021490248,
0.00038852624,
0.021898113,
0.011378017,
0.007932264,
0.023051385,
0.024739102,
-0.012024975,
-0.017313153,
-0.019999433,
-0.02182779,
-0.032066602,
-0.03735478,
0.035217006,
-0.03350116,
0.030350756,
-0.002209853,
-0.032038473,
0.0013686321,
-0.06621472,
0.004957665,
0.008642511,
-0.03271356,
0.024598459,
0.030772686,
-0.01279148,
-0.011863236,
-0.029197484,
-0.0028972456,
-0.0019039544,
-0.025793923,
-0.01675058,
0.02153244,
0.031616542,
0.036370277,
-0.04590587,
-0.05110966,
0.044668213,
0.00093967095,
0.016975608,
-0.02146212,
-0.026581524,
-0.01302354,
-0.02787544,
-0.022840422,
0.0027073775,
-0.023417057,
0.008733929,
0.005270596,
0.0020674518,
-0.011209246,
-0.023796793,
-0.021912178,
0.03330426,
-0.039633192,
-0.03693285,
-0.024429686,
0.047059145,
0.022024691,
-0.0011216279,
0.06070151,
-0.0034035603,
-0.034598175,
-0.002399721,
0.044949498,
-0.014725321,
-0.0075244,
-0.031194614,
-0.040223893,
0.043796226,
0.024781294,
-0.007735364,
-0.05631345,
0.043205526,
-0.03445753,
-0.009345726,
-0.03352929,
-0.019746276,
-0.0105130635,
0.0017343039,
-0.044611957,
0.05777614,
-0.022095013,
0.0065258346,
-0.0011937073,
-0.039773837,
0.028831812,
0.06688981,
-0.05454135,
-0.026961261,
-0.018888352,
-0.0005928981,
0.022277849,
0.012798511,
0.014486228,
0.02947877,
-0.036651563,
0.01318528,
-0.04390874,
-0.03735478,
-0.052009776,
-0.020857355,
0.028972456,
-0.047256045,
0.00046368234,
-0.010344292,
0.04629967,
0.024415623,
0.06666478,
-0.022488814,
0.00001012245,
-0.0302945,
-0.057832398,
0.030997714,
-0.037467293,
0.0125101935,
0.007341564,
0.001553226,
0.07409073,
-0.03735478,
0.019690018,
0.04736856,
-0.022910742,
-0.0060511646,
-0.059632625,
0.030772686,
-0.019675953,
-0.025822053,
-0.026792489,
-0.02005569,
-0.040280152,
0.0070286333,
-0.032966718,
-0.04334617,
-0.026567461,
0.03510449,
0.018199202,
-0.008522965,
0.030322628,
0.0057874587,
-0.0082416795,
-0.08556719,
0.012819609,
0.024500009,
0.010822478,
-0.00038720772,
0.02182779,
0.012186714,
0.038395535,
-0.034148116,
-0.007988522,
-0.012552387,
0.056988537,
0.010611514,
-0.055666495,
0.0038395536,
-0.007207953,
-0.059857655,
-0.057072923,
0.028353626,
-0.005129953,
-0.039155006,
-0.022559134,
-0.0023329156,
0.039408166,
-0.037214134,
0.016131751,
0.041799095,
-0.018410167,
-0.017580373,
-0.01102641,
-0.0054006907,
-0.011652271,
-0.006585608,
0.025906438,
-0.033444904,
0.015681693,
-0.06902758,
-0.023543635,
-0.045877744,
-0.0018740678,
0.03507636,
0.017622566,
0.049421947,
0.009022248,
0.007250146,
0.080672815,
0.005277628,
0.009535595,
0.010484935,
-0.026679974,
-0.05991391,
0.002589589,
0.025118837,
-0.019014932,
-0.0031363387,
-0.031363387,
-0.013051669,
0.005238951,
0.05476638,
-0.009901267,
-0.09586226,
0.030913329,
-0.009015216,
-0.021518378,
0.02646901,
-0.022840422,
-0.008319032,
0.060420226,
-0.011898397,
-0.025597023,
-0.0059702946,
-0.0034088343,
0.007672075,
-0.008009618,
-0.0013387455,
0.007763493,
-0.029028712,
-0.01887429,
-0.014922221,
-0.014683128,
0.013347019,
0.0143948095,
0.002313577,
-0.0010521853,
-0.0037868125,
0.021377735,
0.019310283,
0.013325923,
-0.014542485,
-0.020351041,
0.013480631,
-0.0058155875,
-0.0054288195,
0.03352929,
0.048943758,
-0.06030771,
-0.016005171,
-0.0012402954,
-0.00018294576,
-0.03026637,
0.052206676,
0.054119423,
-0.011131893,
-0.001788803,
-0.021518378,
0.023248285,
-0.03932378,
-0.019690018,
-0.054907024,
-0.01374082,
0.012299229,
0.04236167,
0.004490027,
0.04236167,
0.0033015942,
0.018227331,
0.014162749,
0.011061571,
0.015316022,
0.019282153,
0.008663608,
-0.020238526,
0.0040645823,
-0.001037242,
0.025034452,
0.023445185,
-0.00043599325,
0.03847992,
0.030322628,
-0.024303108,
-0.02947877,
0.021588698,
0.02538606,
0.023796793,
0.03288233,
-0.029000584,
0.013684562,
-0.015400407,
-0.014064299,
0.016075494,
-0.01773508,
-0.056032166,
0.0074962713,
-0.035329517,
0.015780143,
-0.031841572,
-0.037636064,
-0.007897104,
-0.012446905,
0.0111248605,
0.009430112,
0.034007475,
0.036539048,
0.004061066,
-0.032657303,
-0.018227331,
0.006163679,
-0.001414341,
-0.031729057,
-0.01635678,
0.041489683,
0.052628607,
0.027228482,
-0.0032787398,
-0.025020387,
0.0034281728,
-0.0033683996,
0.064920805,
-0.023107642,
-0.025470445,
-0.024260916,
0.016089559,
-0.044049382,
-0.013044637,
0.011392082,
0.0152457,
0.0061425823,
0.011518661,
-0.0036004605,
0.06525835,
0.018269524,
-0.024387494,
0.009760623,
0.0116804,
-0.0013941237,
-0.02163089,
-0.021701213,
0.003479156,
0.05895754,
0.03923939,
0.036454663,
-0.033951215,
0.034738816,
-0.007257178,
-0.008790187,
-0.0141205555,
0.037073493,
0.024795359,
0.011349889,
0.002501687,
0.011279567,
-0.027594155,
-0.011420211,
0.035020106,
0.024176529,
0.0125101935,
0.00085308764,
-0.022924807,
-0.045455813,
-0.0030273404,
0.0040294216,
-0.05037832,
0.019183703,
0.032769818,
0.025203224,
0.040252022,
0.040420793,
-0.010020813,
0.04208038,
0.024753166,
-0.0015927819,
0.009957523,
-0.0034527853,
0.03549829,
-0.0074681425,
0.05074399,
-0.045062013,
-0.017074058,
-0.026539331,
-0.020280719,
-0.036145248,
0.043993127,
-0.02627211,
-0.04390874,
-0.0045146397,
-0.014127588,
-0.036088992,
-0.058001168,
0.0043388363,
-0.03026637,
0.027228482,
0.0017923191,
-0.03504823,
-0.03431689,
0.03524513,
-0.028395819,
0.028086405,
-0.0001658049,
0.036623433,
0.044555698,
0.072571784,
0.0020287752,
0.004001293,
0.017974174,
0.016483359,
-0.014085395,
-0.05212229,
-0.01734128,
-0.012749286,
-0.010780285,
-0.040252022,
-0.03732665,
0.016961545,
0.030210113,
-0.020182269,
-0.0152175715,
0.021504313,
0.012805544,
-0.024696909,
-0.01495035,
0.10897019,
0.047593586,
-0.023810858,
0.015301957,
0.024064016,
-0.06987143,
-0.0136704985,
-0.025667345,
0.025273545,
-0.017214702,
-0.06925261,
-0.0042157737,
-0.050687734,
-0.00024744376,
-0.0038922946,
-0.013874431,
-0.0034457531,
0.052797377,
0.019296218,
0.031644672,
0.024542201,
-0.035413906,
-0.007861943,
0.059463855,
0.038564306,
0.040589567,
0.072403006,
0.056088425,
-0.01773508,
0.01704593,
0.024725037,
0.00095373526,
-0.04956259,
-0.014795642,
-0.010541192,
-0.015456664,
-0.04933756,
-0.061882913,
-0.014366681,
0.008684704,
0.021785598,
-0.02738319,
-0.01936654,
0.027706668,
-0.05170036,
-0.032122858,
-0.019704083,
-0.016103622,
-0.009845009,
-0.0021817244,
0.05113779,
-0.032601044,
0.23402993,
0.05918257,
0.051869135,
0.035217006,
0.019647826,
0.03715788,
-0.011174086,
-0.050012648,
0.0062797093,
-0.013923656,
-0.023473315,
-0.030744556,
0.026665911,
0.0036918784,
-0.054653864,
0.033641804,
-0.041799095,
0.03229163,
-0.021518378,
-0.038620565,
-0.050800245,
0.05077212,
0.00060564384,
0.07577844,
0.030041343,
-0.022249721,
0.030322628,
-0.041011494,
-0.031616542,
-0.029450642,
0.012151554,
-0.040083252,
0.021208962,
-0.013114959,
0.00044038836,
0.023543635,
0.008150261,
-0.064020686,
0.016145814,
-0.0046377024,
-0.006490674,
-0.018325781,
0.038986236,
-0.017763209,
-0.024542201,
0.0066137365,
0.008382322,
0.031110229,
0.037973605,
-0.06885881,
0.021602763,
-0.02614553,
0.040477052,
-0.06936512,
-0.05234732,
-0.0053584976,
-0.06666478,
-0.046215285,
-0.0028163758,
0.01753818,
0.000634212,
0.028620848,
0.028803684,
0.01864926,
-0.01249613,
0.019802533,
0.010358356,
0.033557415,
-0.031897828,
-0.009493401,
0.0026704588,
-0.020196334,
-0.022882614,
-0.014022106,
0.030913329,
0.052966148,
0.00065662694,
0.04992826,
-0.0018617616,
-0.05130656,
0.056904152,
-0.04191161,
-0.001972518,
-0.055047665,
-0.00023755479,
0.053528722,
-0.033388644,
0.024106208,
-0.006441449,
0.008368257,
0.010688867,
0.05192539,
0.011096732,
-0.0030414045,
0.015766079
] | from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("distilbert/distilbert-base-uncased")
Create a function to tokenize the dataset:
def tokenize_dataset(dataset):
return tokenizer(dataset["text"]) # doctest: +SKIP
Apply the tokenizer over the entire dataset with [~datasets.Dataset.map] and then pass the dataset and tokenizer to [~TFPreTrainedModel.prepare_tf_dataset]. You can also change the batch size and shuffle the dataset here if you'd like: |
[
0.019627674,
-0.004363604,
0.003018985,
0.0071280166,
0.012055438,
-0.019627674,
-0.00082949473,
-0.016319945,
0.0077089192,
0.07583171,
-0.013750306,
0.013880155,
0.019395312,
-0.020352094,
0.014051009,
0.028211365,
-0.015677536,
-0.05642273,
-0.077253215,
0.00019829709,
-0.018752903,
0.007141685,
-0.059812468,
-0.016989693,
-0.04196167,
-0.007831934,
-0.028949453,
0.0130532235,
0.07200459,
0.041524284,
-0.016757332,
-0.016866678,
0.011392525,
-0.0071690218,
-0.035100184,
-0.052294903,
-0.006427516,
0.0071348506,
-0.05970312,
-0.024411578,
-0.019203957,
-0.023249773,
0.050900735,
-0.02222465,
-0.07342609,
0.007374046,
0.0017580846,
-0.038298566,
-0.06500642,
-0.025477706,
0.011857247,
0.03458079,
0.0034905411,
0.009185095,
0.030480301,
-0.01420136,
-0.0025508457,
0.01774145,
-0.042317048,
0.019477323,
0.016593313,
0.060031157,
0.0028498399,
-0.06057789,
0.0126910135,
-0.007893441,
-0.019272298,
-0.02021541,
-0.042016342,
-0.037560478,
-0.05297832,
0.0027763727,
0.0053648064,
0.0077567585,
-0.013299253,
0.012964379,
0.057024132,
-0.012410813,
0.0075790705,
0.06795877,
0.014748092,
0.0259971,
0.024165548,
0.010292227,
-0.047374316,
-0.04365654,
0.041278254,
-0.03715043,
-0.017782453,
-0.02848473,
-0.024138212,
0.04904185,
-0.041278254,
-0.00623616,
0.0130395545,
0.017071702,
0.009964189,
0.024274895,
0.014816433,
0.022716708,
0.020051392,
0.04226237,
0.007059675,
0.039282683,
-0.048167076,
-0.02238867,
-0.0021732592,
-0.06265547,
-0.012581667,
-0.005668926,
-0.03072633,
-0.022484347,
0.037505805,
-0.024138212,
0.0125064915,
0.031819794,
-0.0051529477,
-0.01685301,
-0.06681063,
0.003543506,
0.010422076,
-0.027213579,
0.0032974766,
-0.035264205,
0.04909652,
-0.009478964,
-0.020584455,
0.02085782,
-0.024056202,
0.016237937,
0.019955713,
-0.0015479346,
0.007087012,
0.033678684,
0.0070391726,
-0.002808835,
-0.008604193,
0.016073916,
0.0139621645,
-0.043519855,
0.0086793685,
0.0057201823,
-0.007360378,
0.09075749,
0.034143403,
-0.00092261,
-0.019791692,
-0.020639127,
-0.038052537,
0.03643968,
-0.085126154,
0.0048009893,
-0.004199584,
-0.0015838138,
-0.05489188,
-0.007558568,
-0.023222435,
0.0259971,
0.0008376103,
0.036412343,
-0.006782892,
0.035045512,
-0.042399056,
0.033323307,
0.0057441015,
0.0494519,
-0.0053613894,
-0.008904895,
0.025094993,
-0.027350262,
0.011474535,
-0.000932007,
-0.011419862,
-0.006307919,
0.0357836,
0.022730377,
0.04844044,
0.022498015,
0.012745687,
0.02576474,
-0.015062463,
-0.0259971,
0.007852436,
0.024698611,
-0.01692135,
-0.0023594897,
0.021650583,
0.017440746,
-0.017399741,
0.034635462,
0.014078345,
0.06271014,
-0.0031795874,
0.019299636,
-0.01741341,
0.01548618,
-0.035974957,
0.016620649,
0.022744045,
-0.042481065,
-0.0313004,
0.061179295,
-0.0226347,
0.034307424,
0.021349879,
-0.037970528,
0.009034744,
0.02143189,
-0.015117136,
-0.0009234643,
-0.0035708426,
0.029824223,
-0.03089035,
0.039419368,
0.027746642,
-0.03657636,
-0.0360843,
0.0031607936,
-0.0005416063,
-0.01087313,
0.064842395,
-0.0029284325,
0.04499603,
0.0078045973,
0.03105437,
0.0038817963,
-0.003775867,
0.03589295,
0.009014241,
0.031491756,
0.023632485,
0.032366525,
-0.0016632609,
0.0709658,
0.009342281,
0.009677154,
0.05696946,
0.05407178,
0.01436538,
0.004090238,
0.040485494,
0.019162951,
0.04365654,
0.05817227,
-0.021267869,
0.010292227,
-0.03963806,
-0.021349879,
-0.029796887,
0.005901287,
-0.04759301,
0.0009866802,
-0.0044387793,
-0.018274512,
-0.026844535,
-0.0033965716,
0.01364096,
0.063803606,
-0.007141685,
-0.030781005,
-0.0037997866,
0.033405315,
0.01589623,
0.0002579891,
0.055165246,
0.032284517,
-0.022839723,
0.048358433,
0.03105437,
-0.04171564,
0.0072236946,
-0.007148519,
-0.082501836,
-0.02230666,
-0.052404247,
-0.018711898,
0.005580082,
-0.019176621,
-0.043793224,
-0.026994886,
-0.008200978,
-0.008788715,
-0.03682239,
0.06910691,
0.001046479,
-0.0060721408,
-0.035920285,
-0.000909796,
-0.014775429,
0.025395695,
0.0039877254,
-0.035592243,
-0.039146002,
0.00090381614,
0.023796504,
0.0092192665,
0.0028686337,
-0.014023672,
-0.03080834,
0.03515486,
-0.026598506,
-0.017686775,
0.026543831,
0.01782346,
-0.0008226606,
0.034006722,
0.040594842,
-0.05866433,
0.06287416,
0.0136067895,
-0.007196358,
0.033870038,
0.0301796,
0.041606296,
-0.031737786,
0.027022222,
0.0046267183,
-0.016907683,
-0.023782836,
-0.013914326,
-0.04341051,
0.0034734558,
-0.008986905,
-0.02471228,
0.0034495364,
0.053607058,
-0.031409744,
-0.096716866,
0.0027473276,
-0.031245725,
-0.039419368,
-0.032721903,
-0.0056313383,
0.03408873,
-0.008392334,
0.00947213,
-0.0486318,
0.0073945485,
0.00006423031,
0.02927749,
-0.0045891306,
-0.018001147,
0.054427158,
0.043519855,
0.011358354,
-0.007729422,
0.012048603,
-0.03507285,
0.0027695387,
-0.00910992,
0.0058397795,
0.020816816,
0.01821984,
0.050818726,
0.006492441,
0.044175934,
-0.0117752375,
0.0011541168,
0.02342746,
0.016251605,
0.0033487326,
0.007155353,
0.0018571798,
0.0035776766,
-0.005621087,
-0.008939066,
0.0034478279,
0.024643939,
0.040102784,
-0.06298351,
0.012643174,
0.0094037885,
-0.029878896,
0.009335446,
-0.009253437,
-0.033979386,
0.04685492,
0.03408873,
0.061124623,
-0.009253437,
-0.0054194797,
-0.029878896,
0.0008312033,
0.01741341,
0.029988242,
0.022771383,
-0.017536424,
0.025053987,
-0.014310706,
0.000049974708,
0.01685301,
0.001937481,
0.026680514,
-0.0036733546,
-0.026270466,
-0.071676545,
0.0058124433,
0.044722665,
0.04100489,
0.016183263,
-0.009807003,
-0.06265547,
-0.010551925,
0.015691204,
0.0035366716,
-0.01428337,
-0.053333692,
0.021677919,
0.0061028944,
0.034116067,
-0.01299855,
-0.018971596,
-0.034690138,
0.025628056,
-0.029031461,
-0.019067274,
-0.01934064,
0.0083103245,
-0.0121374475,
0.0023492384,
-0.022005957,
-0.02191028,
-0.0346628,
0.009089417,
0.04524206,
-0.007524397,
-0.014474726,
-0.04885049,
0.024493588,
0.012499657,
-0.008638363,
-0.039610725,
-0.025737403,
-0.01375714,
-0.057844233,
0.020912495,
0.03939203,
-0.04895984,
0.023318114,
-0.04341051,
-0.010586096,
-0.0316011,
0.0003047603,
0.018985264,
0.012793525,
-0.0042576743,
0.011727398,
-0.0027951666,
0.02077581,
-0.013476941,
0.030316282,
-0.041032225,
0.02639348,
-0.037205104,
0.01965501,
-0.057188153,
0.015513517,
0.031901803,
0.028840106,
0.028676087,
-0.029468847,
-0.011419862,
0.08364998,
-0.022046963,
-0.03097236,
0.031163717,
0.022375,
-0.044558648,
0.040102784,
-0.007141685,
0.00970449,
0.0013856236,
0.027008554,
0.015226482,
-0.016593313,
-0.00063984713,
0.004568628,
-0.008611027,
-0.007271534,
-0.029086135,
-0.08348595,
0.021677919,
-0.017358737,
-0.027869657,
0.0015359748,
-0.046362862,
-0.022210982,
-0.023413792,
-0.032421198,
0.005125611,
0.020803148,
0.007148519,
0.012226291,
-0.029796887,
-0.007975451,
-0.017194716,
-0.023222435,
0.010709111,
0.010367403,
0.04844044,
0.020283751,
-0.0617807,
0.0132240765,
0.03299527,
-0.018725567,
-0.016497634,
-0.015458844,
-0.019504659,
0.0015821053,
0.023181431,
-0.021199528,
0.03080834,
-0.0053545553,
0.011508706,
0.055848658,
-0.024261227,
0.006991334,
-0.017755117,
-0.0072236946,
0.056860115,
-0.041906998,
-0.068778865,
-0.007011836,
0.00341024,
0.022935402,
0.033186626,
0.038735952,
-0.021814601,
-0.046909593,
-0.050271995,
0.02534102,
0.0054639014,
0.010579262,
-0.03179246,
-0.0053374697,
0.0022757715,
0.04245373,
0.033514664,
-0.035209533,
0.024343235,
-0.06812279,
0.04275443,
-0.06981766,
0.010005193,
-0.0017427078,
0.014051009,
-0.009444793,
0.02238867,
0.024507256,
0.030042917,
-0.013176238,
0.041906998,
0.016620649,
0.021527568,
-0.054837205,
-0.02527268,
0.03564692,
0.010825291,
0.011023481,
0.008132637,
-0.0039877254,
0.033979386,
0.00497526,
0.007893441,
-0.028840106,
-0.032475874,
-0.05464585,
0.022498015,
0.01476176,
-0.014297038,
-0.0039569717,
-0.03972007,
0.05625871,
0.026844535,
0.023810172,
-0.03794319,
0.0020809982,
-0.0077635925,
-0.044804677,
0.008850222,
-0.014734424,
-0.012397145,
-0.00061806326,
0.015841555,
0.06686531,
-0.039692733,
0.038462587,
0.057570864,
-0.031163717,
0.022962738,
-0.0634209,
0.018957928,
-0.015267488,
0.040102784,
-0.01828818,
-0.0031693364,
-0.008296656,
0.023782836,
-0.020447772,
-0.04846778,
-0.028266037,
0.016962357,
-0.004978677,
-0.020762142,
0.05850031,
0.010784286,
-0.027199911,
-0.030671658,
0.047128286,
0.015390502,
-0.01990104,
0.040348813,
0.015035126,
-0.0017085371,
0.011372022,
-0.059265733,
-0.024343235,
0.013299253,
0.09288974,
0.0067487215,
-0.033979386,
0.00010390041,
0.032831248,
-0.007155353,
-0.06199939,
0.0452694,
0.012362975,
-0.026475491,
-0.01589623,
-0.04002077,
0.026461823,
0.0026226044,
0.02648916,
0.039146002,
-0.040868208,
-0.0035605913,
-0.008330827,
-0.039337356,
-0.060960602,
-0.00710068,
0.029632866,
-0.003868128,
-0.016757332,
-0.059265733,
0.03146442,
-0.029140808,
0.012431316,
0.051502142,
0.017358737,
-0.008276153,
0.03143708,
0.055411275,
0.028621413,
0.0052417917,
-0.030261608,
0.028976789,
-0.052404247,
-0.01573221,
0.012889204,
0.04680025,
-0.0156091945,
0.026325138,
-0.011980262,
-0.0040253135,
0.02584675,
0.024370573,
0.0035298376,
-0.051884852,
-0.0028515484,
-0.018452201,
0.02166425,
0.00074364076,
0.006676963,
0.023837509,
0.029140808,
0.01692135,
-0.009724993,
0.0031385827,
0.031136379,
-0.037505805,
-0.02696755,
-0.05144747,
0.056532074,
-0.03195648,
-0.025723735,
-0.022894397,
-0.015855225,
-0.024302231,
0.033678684,
-0.00011970438,
-0.008570022,
0.029660204,
0.053634394,
0.053333692,
0.016429292,
-0.030124925,
-0.00012749957,
0.0051802844,
-0.0063386727,
0.0052657113,
0.04166097,
0.02976955,
-0.039282683,
0.016702658,
0.039665397,
0.012677345,
-0.08709439,
0.010586096,
0.031737786,
-0.03838058,
0.0002872478,
-0.018014815,
-0.037205104,
-0.05751619,
0.010832125,
0.004469533,
-0.03184713,
-0.009683988,
0.05327902,
0.04576146,
0.067084,
-0.0013437644,
0.0095883105,
0.027022222,
0.033077277,
0.010326398,
0.0041449107,
0.007415051,
0.035756264,
-0.012069106,
-0.0019494408,
0.012390311,
0.013927994,
-0.003089035,
0.029988242,
-0.01573221,
-0.01087313,
-0.010538257,
-0.00020502445,
-0.009991525,
0.0023492384,
0.021445557,
-0.022744045,
-0.0044285282,
-0.014939448,
-0.025135998,
0.016743664,
-0.050217323,
-0.064897075,
-0.0028361715,
-0.028102018,
-0.003406823,
-0.006215658,
-0.039692733,
-0.016729996,
-0.015171809,
-0.0011703479,
-0.011276345,
0.017946474,
0.0360843,
-0.008214646,
-0.007189524,
-0.050900735,
0.005105109,
-0.0148711065,
-0.013893823,
-0.020297421,
0.0019101445,
0.016306277,
-0.0011524083,
-0.0043225987,
-0.03089035,
-0.027227247,
0.009861676,
0.029250154,
-0.038161885,
0.025532378,
-0.058773674,
-0.017058033,
-0.00045703366,
0.004565211,
-0.01853421,
0.021404553,
0.03403406,
-0.0024842129,
0.018233508,
0.010401574,
0.047921047,
-0.011843579,
-0.0031471252,
0.016388288,
0.025259012,
0.0004651492,
-0.00910992,
0.0075038946,
0.04021213,
0.041360267,
0.047155622,
-0.03529154,
0.044257943,
0.02078948,
-0.027145237,
-0.037915856,
0.055301927,
-0.0028771765,
-0.024999315,
-0.0027370765,
-0.028676087,
0.010148711,
-0.010961974,
0.022197314,
0.018247176,
-0.019299636,
-0.0069776652,
-0.038544595,
-0.016839342,
0.04540608,
0.048823155,
-0.033651344,
-0.00019701567,
-0.017454416,
0.008378666,
0.028676087,
-0.0036220986,
0.00067700783,
0.019996718,
0.042098355,
-0.025723735,
0.010770618,
0.0032855168,
0.010025696,
-0.01869823,
0.022402339,
-0.04540608,
-0.0028054179,
-0.0595391,
-0.01741341,
-0.057297498,
0.03179246,
0.00774309,
-0.054919217,
0.041906998,
-0.00091321307,
-0.018971596,
-0.037751835,
-0.02215631,
-0.049916618,
0.01981903,
-0.0025218008,
-0.01637462,
-0.043984577,
0.007510729,
-0.036220986,
-0.008563188,
0.016538639,
0.07107514,
0.013183072,
0.037587814,
0.008980071,
0.00062916876,
-0.022744045,
0.012335638,
-0.0023577812,
-0.04155162,
0.03345999,
-0.029304828,
-0.033569336,
-0.05521992,
-0.05079139,
0.03922801,
0.04300046,
-0.000053658743,
-0.024015198,
0.00023150677,
-0.03843525,
-0.029332165,
0.009267105,
0.08047893,
0.04237172,
-0.010838959,
-0.037615154,
0.012725184,
-0.054755196,
0.004291845,
-0.059921812,
0.04395724,
-0.011495037,
-0.029660204,
-0.022771383,
-0.03370602,
-0.009150924,
0.0016239645,
-0.01467975,
-0.058773674,
0.011303681,
-0.0027849155,
0.043191817,
-0.006027719,
-0.018342854,
-0.020734806,
0.07758125,
0.039009318,
0.014816433,
0.082228474,
0.027596291,
-0.015581858,
-0.02479429,
0.020611791,
0.007551734,
0.015636532,
0.002930141,
0.014023672,
0.0057953577,
-0.057024132,
-0.03764249,
-0.050572697,
0.02566906,
-0.033733357,
-0.019805362,
-0.01821984,
-0.0013087394,
-0.09830239,
-0.005901287,
-0.005686011,
0.04510538,
-0.052650277,
-0.021281539,
0.0001137245,
-0.03868128,
0.21759929,
0.042180363,
0.02672152,
-0.011344686,
0.023482133,
0.048987176,
-0.019531995,
-0.023687158,
0.04453131,
-0.03859927,
-0.00087818806,
-0.033733357,
-0.00967032,
0.029496184,
-0.015281156,
0.021773597,
-0.060851257,
-0.0009764289,
-0.051146764,
-0.021650583,
-0.066154554,
0.08321259,
0.010668105,
0.041360267,
-0.023782836,
-0.03482682,
0.05248626,
-0.042699758,
0.016319945,
-0.034170743,
0.035455562,
-0.016005576,
0.0059217894,
-0.028047344,
-0.0054536504,
0.03225718,
0.018916922,
-0.022457011,
-0.030753667,
0.0034256168,
-0.0058363625,
0.0037997866,
0.029086135,
-0.01467975,
-0.004021896,
0.023905851,
-0.009813837,
0.02848473,
0.035018176,
-0.05070938,
0.0425084,
-0.023864847,
0.06369426,
-0.031901803,
-0.059812468,
-0.035510235,
-0.014133018,
-0.03723244,
-0.025628056,
0.011809409,
-0.016306277,
0.021308875,
-0.0074765584,
0.035209533,
-0.00986851,
0.019449987,
0.027555285,
0.004654055,
-0.015349497,
0.011700062,
0.017727781,
-0.012390311,
-0.032421198,
-0.01336076,
-0.02479429,
0.039774742,
0.00645827,
0.010927803,
0.020119732,
-0.060632564,
0.0035366716,
-0.006424099,
-0.00127884,
-0.014092014,
0.039665397,
0.042973123,
-0.0061541507,
0.038161885,
0.012909706,
0.04157896,
0.029441511,
0.016702658,
0.023468465,
0.009198763,
0.005809026
] | When you're ready, call [~Trainer.train] to start training:
trainer.train() # doctest: +SKIP
For tasks - like translation or summarization - that use a sequence-to-sequence model, use the [Seq2SeqTrainer] and [Seq2SeqTrainingArguments] classes instead. |
[
0.056493573,
0.012435112,
-0.043866932,
-0.05564234,
0.009519636,
-0.03197803,
-0.0015357683,
0.037965044,
0.02443042,
0.03751105,
0.028260974,
0.0041072047,
0.043810185,
-0.044037182,
0.018826462,
0.041568603,
0.026033578,
-0.010697176,
-0.072354905,
-0.022727951,
-0.028289348,
0.049768824,
-0.055528842,
-0.051159173,
-0.06055112,
-0.011974027,
-0.015109407,
-0.055273473,
0.060380876,
0.02427436,
-0.04815148,
-0.007519235,
0.006597065,
-0.0067176563,
-0.056635447,
-0.029112209,
0.040093128,
-0.03705706,
-0.046278764,
-0.023550812,
-0.011427819,
-0.03609233,
0.02936758,
-0.025905892,
-0.026984124,
-0.015903892,
0.005681988,
-0.049229708,
-0.0125557035,
-0.026288949,
-0.0051109516,
0.05430874,
-0.012052057,
-0.023040071,
-0.0048201135,
0.016513944,
-0.012576985,
0.003507794,
-0.008647121,
0.008909584,
0.017804982,
0.03362375,
-0.0031176452,
-0.014123393,
-0.0010241411,
0.012839449,
-0.03291439,
-0.0042277966,
-0.019663509,
0.009406137,
-0.04029175,
0.0114490995,
0.0027806982,
-0.008044163,
-0.008022882,
-0.0014196103,
0.045711275,
-0.02346569,
0.002003947,
0.034418236,
0.0044654324,
0.05362775,
-0.0076185456,
0.030190438,
-0.023167757,
-0.0051960754,
0.045342408,
-0.014697976,
-0.009519636,
-0.039298642,
0.0030147876,
0.041909095,
-0.01786173,
0.015265466,
0.04378181,
0.03203478,
-0.035184346,
0.023891306,
-0.012938759,
0.013307627,
0.0020748833,
0.07019845,
-0.036177453,
0.01662744,
-0.039241895,
-0.003463459,
-0.0053060264,
-0.03362375,
-0.0038341004,
-0.07025519,
0.01529384,
-0.012016589,
0.010668801,
0.013243785,
-0.025877519,
0.07434112,
0.017748233,
0.013711964,
-0.035638336,
-0.017677296,
0.016755126,
-0.0127756065,
-0.06719075,
-0.053060263,
0.046988126,
-0.027282055,
0.0015783301,
0.013080631,
-0.014272359,
-0.0017929119,
0.017436113,
0.034219615,
0.05430874,
0.07178742,
0.008037069,
0.020231,
-0.018415032,
0.024316922,
-0.029679697,
-0.019890506,
-0.007817167,
0.0024224706,
0.015010096,
0.08552066,
0.033481877,
-0.014180142,
0.0057458305,
-0.04117136,
-0.03910002,
0.019734446,
0.003415577,
-0.020046564,
-0.02350825,
0.048832465,
-0.04014988,
-0.025735646,
-0.012612453,
0.046278764,
-0.015393151,
0.021025484,
-0.011129887,
0.011108606,
-0.022954948,
0.03481548,
0.004437058,
0.034049366,
-0.016130887,
0.00032165126,
0.021167357,
-0.0672475,
-0.02654432,
0.0040681898,
0.0030538025,
-0.020401245,
0.040121503,
0.048435222,
0.04486004,
0.038163666,
0.032971136,
0.00034581387,
-0.02560796,
-0.012867823,
-0.02252933,
0.0013398071,
-0.012584078,
-0.008370469,
-0.0024561652,
-0.004344841,
-0.021436913,
0.01955001,
-0.025295842,
0.05544372,
-0.032715768,
-0.002248677,
-0.04505866,
0.02674294,
-0.047527242,
0.020316122,
0.0047456305,
-0.05467761,
-0.023749433,
0.012534423,
-0.0019755727,
0.01899671,
0.020699177,
0.004511541,
-0.038986526,
0.028147476,
-0.026260573,
0.0031140982,
0.020316122,
0.03197803,
-0.009122393,
-0.019989816,
0.039610762,
-0.029963443,
0.014478074,
0.011924372,
-0.012357082,
0.01786173,
0.03983776,
-0.019138582,
0.04415068,
0.002454392,
-0.0040965644,
0.030757928,
0.03248877,
0.03521272,
-0.025068846,
0.015421526,
-0.0025572493,
0.009916878,
0.055074852,
0.046477385,
0.029594574,
0.048293352,
0.038362287,
0.012144274,
0.043185946,
-0.009767912,
0.045200534,
-0.000037823393,
-0.0062423837,
0.031126795,
-0.009172048,
-0.034247987,
-0.04091599,
-0.02217465,
-0.013499155,
-0.032261774,
-0.03033231,
0.016670002,
0.03038906,
-0.040887613,
-0.03038906,
0.006114699,
-0.0035875973,
0.016301135,
-0.02001819,
-0.01576202,
0.03376562,
0.029935068,
-0.01170447,
-0.012321615,
0.037908293,
0.049314834,
-0.0041320324,
0.027055059,
-0.01884065,
-0.046590883,
-0.041341607,
-0.08137798,
-0.076157086,
0.0047775516,
-0.035808586,
0.013726151,
0.03438986,
-0.0750221,
-0.027750233,
-0.012392551,
0.019904692,
-0.044320926,
-0.0075476095,
0.08342095,
0.063161574,
0.05260627,
-0.05958639,
0.036915187,
-0.012761419,
0.005593318,
-0.023181943,
-0.011193729,
-0.011512942,
-0.01370487,
-0.0044441517,
0.028941961,
0.008264065,
-0.038106915,
-0.035496466,
0.010924172,
-0.03007694,
0.025451902,
-0.018088726,
0.061515857,
0.01452773,
0.04256171,
0.025565399,
-0.04270358,
0.024926974,
0.013286347,
-0.012576985,
0.04480329,
0.015719458,
0.025324216,
-0.03311301,
0.06282108,
0.041994218,
0.023323815,
-0.004043362,
-0.0010622693,
-0.041596975,
0.01852853,
0.01852853,
-0.0149817215,
-0.008320814,
0.057401557,
-0.01396024,
-0.057940673,
-0.0029651322,
-0.0135842785,
0.0016891678,
0.0121158995,
0.010917078,
0.026218012,
-0.04219284,
0.03183616,
-0.037028685,
-0.0030573495,
-0.015577585,
0.013633934,
0.01319413,
0.007533422,
0.007866822,
0.05184016,
-0.016386257,
-0.017308429,
0.02038706,
-0.06304808,
0.025168156,
-0.024288548,
-0.019564198,
-0.026359884,
-0.024827663,
-0.012832355,
0.0135133425,
0.052861642,
-0.04224959,
0.019564198,
-0.017365176,
0.016655816,
0.040263377,
0.047952857,
-0.018670402,
0.0064906604,
-0.029679697,
-0.010661708,
0.011300134,
0.014570291,
0.04897434,
-0.055301845,
0.054904602,
0.008916678,
-0.016584879,
0.03325488,
-0.027906293,
-0.04449117,
0.029197332,
0.008781899,
0.015222904,
0.006483567,
-0.023167757,
-0.018102914,
0.027452301,
0.02740974,
0.004383856,
0.022983322,
-0.022046965,
0.0062494776,
-0.010555304,
0.008051257,
0.05615308,
-0.02464323,
-0.0013717284,
-0.008193129,
-0.015889704,
-0.056947567,
0.04670438,
0.07320614,
0.04962695,
0.0016696603,
0.021068046,
0.013165755,
-0.039639138,
0.021720659,
-0.0068276073,
-0.004014988,
-0.028090727,
0.0025927173,
0.061686102,
-0.013201223,
-0.02750905,
0.0020518291,
-0.02586333,
0.02601939,
-0.022273961,
-0.0066218926,
-0.045200534,
-0.013506249,
-0.049201336,
0.034219615,
-0.09607596,
0.00597992,
-0.049116213,
0.03782317,
0.043696687,
-0.0020199078,
-0.020826863,
-0.037766423,
0.03419124,
0.01519453,
-0.014300734,
-0.051244296,
-0.018415032,
-0.010682989,
-0.086201645,
0.010739738,
0.048633844,
-0.03027556,
-0.030247187,
-0.026501756,
-0.005550756,
0.046392262,
0.0141163,
0.02058568,
-0.02443042,
-0.028800089,
-0.02166391,
0.0040965644,
-0.005142873,
-0.013045164,
0.030729553,
-0.059813388,
0.002644146,
-0.013201223,
0.03782317,
-0.056380074,
0.010690083,
0.029112209,
0.02448717,
0.025678897,
0.021990215,
0.0038660218,
0.03484385,
-0.05462086,
-0.01662744,
0.019323016,
0.025409339,
-0.021720659,
0.021138981,
0.029424328,
-0.022727951,
0.027551612,
0.012264865,
-0.03603558,
0.01029284,
-0.018954147,
0.008122193,
0.037766423,
0.01801779,
0.0006357655,
-0.04599502,
0.026601067,
-0.008923772,
0.03782317,
-0.015889704,
-0.020571493,
-0.014201423,
0.008959239,
-0.017521236,
0.010377963,
0.01054821,
0.021834156,
0.01570527,
0.017180743,
-0.0107184565,
0.011434913,
-0.029083833,
0.039894506,
0.012236491,
0.03484385,
0.005309573,
-0.04239146,
-0.0014196103,
0.0008968993,
-0.036574695,
0.014180142,
-0.011356883,
0.03444661,
0.021238292,
0.027579987,
-0.035836957,
-0.0048910496,
-0.016045764,
0.0037276964,
0.03578021,
-0.02479929,
-0.01874134,
-0.0026796141,
-0.0121868355,
0.015492462,
-0.025749834,
-0.053968247,
-0.020741738,
0.015010096,
0.00017711878,
0.04522891,
0.047215123,
-0.053883124,
0.001768971,
-0.06242384,
0.010080031,
-0.066396266,
0.0096118525,
-0.014024083,
0.002385229,
-0.018202225,
0.0144497,
0.021053858,
-0.010519835,
-0.0008769485,
-0.023167757,
-0.0044725263,
-0.057202935,
-0.0033127195,
0.004759818,
-0.0051357793,
-0.01740774,
0.012541517,
0.045824774,
-0.008129287,
-0.009966534,
-0.00795904,
0.03058768,
0.0014666056,
-0.032403648,
-0.027055059,
-0.0060508563,
0.03978101,
-0.009931065,
0.040206626,
-0.0019826663,
0.014768912,
-0.027579987,
0.037113808,
-0.014300734,
-0.025068846,
-0.04224959,
-0.006738937,
0.041994218,
-0.053003512,
0.011413631,
0.019067645,
0.025040472,
0.007909385,
0.035354592,
-0.025239093,
-0.0020908439,
-0.019110207,
-0.029424328,
0.020713365,
-0.009590572,
-0.023366379,
-0.016116701,
0.025792396,
0.05799742,
-0.018883212,
0.013612653,
0.062083345,
0.0054691797,
0.020798488,
-0.038419034,
0.04080249,
0.02458648,
0.022401646,
-0.01429364,
0.028970337,
0.013165755,
0.0042136093,
-0.0034936068,
-0.002880009,
-0.021053858,
0.043753438,
0.04060387,
-0.022557706,
0.022046965,
0.016896999,
-0.06588552,
-0.023210319,
0.006831154,
0.019152768,
0.02962295,
0.0021316323,
0.03470198,
-0.018457593,
0.016187636,
-0.0018922226,
-0.031041672,
-0.030786302,
0.07354663,
0.020642428,
-0.02001819,
-0.038929775,
0.019039271,
0.013385657,
-0.03146729,
-0.0024029631,
0.052436024,
-0.05266302,
0.016173448,
0.0025483824,
-0.041795596,
0.0016004975,
0.01827316,
0.036007207,
-0.0035680898,
-0.002191928,
0.06015388,
-0.0042065154,
-0.035836957,
-0.020869425,
0.03782317,
-0.017180743,
-0.022188837,
-0.0361207,
0.029395953,
-0.02858728,
-0.030984923,
0.048321728,
-0.043072447,
0.010526929,
0.036149077,
-0.012839449,
0.050393064,
-0.0016084779,
0.008342095,
0.03495735,
-0.037000313,
-0.032715768,
-0.014144674,
0.007263865,
0.00780298,
0.035326216,
-0.032006405,
0.016655816,
0.010583678,
0.02119573,
-0.052549522,
-0.03978101,
-0.015265466,
-0.051442917,
0.0041533136,
0.032857638,
-0.017577985,
0.0035964644,
0.0295662,
0.0016696603,
-0.037284058,
0.016286947,
0.037284058,
-0.015478275,
-0.00085433765,
-0.025310028,
0.05805417,
-0.02119573,
0.023139382,
-0.0012174422,
-0.02550865,
-0.009668602,
0.03419124,
-0.030814677,
0.00049211975,
0.00929264,
0.035439715,
-0.0069481987,
0.005533022,
-0.05918915,
0.010122593,
0.021578787,
0.009604759,
-0.022855638,
0.037113808,
0.0126266405,
-0.012924572,
0.010597865,
0.027055059,
0.009335201,
-0.03038906,
0.0551316,
0.049258083,
-0.019947253,
0.0092429845,
0.008654214,
0.02103967,
-0.010278652,
0.014726351,
0.010207716,
0.0039830664,
-0.024359485,
0.011136981,
0.026927374,
0.051301047,
0.048491973,
0.03643282,
-0.00290661,
0.031268667,
-0.005160607,
-0.04962695,
0.021848343,
0.009952346,
0.016755126,
-0.019663509,
-0.0035680898,
0.040178254,
-0.04758399,
0.044235803,
0.021649722,
-0.031268667,
-0.004756271,
0.011399444,
-0.032886013,
0.041965846,
0.05354263,
-0.01021481,
-0.020415433,
-0.011853436,
-0.009250078,
0.036631443,
-0.050421435,
-0.041852348,
0.011810874,
-0.00921461,
0.0050400156,
-0.0021937015,
-0.0030360685,
-0.013236691,
-0.009668602,
0.05311701,
-0.04982557,
-0.008441405,
0.033198133,
0.01852853,
-0.03027556,
-0.038050167,
0.017308429,
0.055216722,
-0.027849544,
-0.01468379,
0.01576202,
-0.041398354,
0.00054221845,
-0.03399262,
0.010399244,
0.009108205,
0.022912387,
0.03183616,
-0.0013300534,
0.013889304,
-0.05896215,
0.049002714,
0.005352135,
-0.008022882,
-0.033538625,
0.05436549,
0.003827007,
0.02464323,
0.012903291,
0.061005116,
0.03038906,
-0.0017920253,
0.0029793195,
0.012101713,
-0.010406338,
-0.01566271,
0.0067531243,
0.018670402,
0.011945653,
0.07019845,
0.037198935,
0.033822373,
0.011839248,
0.03387912,
-0.054024994,
0.008987614,
0.038390663,
0.01468379,
-0.000052426272,
-0.023040071,
-0.012662108,
0.007902291,
0.012349989,
0.015066844,
0.03152404,
-0.046676006,
-0.013201223,
0.0018478875,
-0.0048981435,
0.04250496,
0.00084414054,
-0.050222814,
-0.007795886,
-0.011207917,
-0.013655215,
0.035099223,
0.024983723,
0.00023564113,
0.035524838,
0.037766423,
0.005511741,
0.0060934178,
-0.016244385,
0.019904692,
0.021167357,
-0.0015588226,
-0.00980338,
-0.029339204,
-0.03856091,
-0.026842251,
-0.035496466,
0.057259686,
0.0010534023,
-0.032715768,
0.009264265,
-0.03322651,
-0.03135379,
-0.06452355,
0.006589971,
-0.060494374,
0.0004743857,
0.0047633643,
-0.044065554,
-0.03515597,
-0.010988015,
0.009874316,
0.0045931176,
-0.026317323,
0.038078543,
0.0077675115,
0.072354905,
0.05121592,
0.012789793,
-0.0147831,
0.034900602,
-0.044689793,
-0.005795486,
0.026601067,
-0.044831667,
-0.04854872,
-0.070709184,
-0.020500556,
0.033141382,
0.018627841,
-0.01560596,
-0.034758728,
0.0023373473,
0.050336313,
-0.01560596,
-0.008491061,
0.04259008,
-0.017790794,
0.0004956666,
0.018613653,
0.0006508395,
-0.017265866,
-0.07820004,
-0.05703269,
0.01005875,
-0.018415032,
-0.006444552,
-0.029083833,
-0.04769749,
0.00035711934,
-0.0429022,
-0.01162644,
0.0008734017,
0.009257171,
-0.012718857,
0.020670803,
-0.019677697,
0.0056145987,
0.00076522405,
0.018755525,
0.011172448,
0.004415777,
0.028161664,
0.02858728,
-0.008214409,
-0.028629843,
-0.012094619,
0.017705671,
-0.00022367065,
-0.027182745,
-0.008483967,
0.012044963,
-0.035836957,
-0.07144692,
-0.019521637,
0.030814677,
-0.03294276,
0.020543117,
-0.038475785,
-0.040575497,
-0.062140092,
0.0034439515,
-0.044065554,
0.04747049,
-0.023834556,
-0.055613965,
0.04224959,
-0.03782317,
0.23811857,
0.055472095,
0.025196532,
0.015747832,
-0.0016129114,
0.035184346,
0.031268667,
0.023040071,
0.022713766,
-0.06338857,
-0.014201423,
-0.023054259,
-0.006831154,
0.03177941,
-0.027963042,
0.057202935,
-0.027466489,
0.009257171,
-0.042277962,
-0.011803781,
-0.04270358,
0.062083345,
-0.041029487,
0.021068046,
0.011988214,
-0.00028241466,
-0.005923171,
-0.01054821,
-0.017634735,
-0.04321432,
0.0126266405,
-0.03217665,
-0.009526729,
-0.009207516,
-0.051868536,
0.022969136,
0.010455993,
-0.06304808,
0.016045764,
0.020188438,
-0.029537825,
-0.043185946,
0.030020192,
0.017308429,
0.0069481987,
0.009696976,
-0.033340003,
-0.021224106,
0.0006198049,
-0.03464523,
0.025083033,
-0.056011207,
-0.01029284,
-0.042675205,
-0.026203824,
-0.035184346,
0.011136981,
-0.051244296,
-0.031240294,
-0.0028392207,
0.03819204,
0.0016891678,
-0.05189691,
0.025451902,
-0.067361,
0.012541517,
-0.014336202,
0.018074539,
0.032715768,
-0.026303135,
-0.014924972,
0.022756327,
-0.010505648,
-0.019393953,
0.023706872,
-0.046562508,
-0.0037276964,
-0.0227847,
-0.015251279,
-0.051301047,
0.01935139,
-0.022344897,
-0.013499155,
-0.018088726,
0.032687392,
0.057089437,
-0.056578696,
-0.016230198,
-0.03115517,
0.0429022,
0.008115099,
0.015591772,
-0.0038376474,
-0.016641628,
0.03217665
] | What's next?
Now that you've completed the 🤗 Transformers quick tour, check out our guides and learn how to do more specific things like writing a custom model, fine-tuning a model for a task, and how to train a model with a script. If you're interested in learning more about 🤗 Transformers core concepts, grab a cup of coffee and take a look at our Conceptual Guides! |
[
0.064445704,
0.027309341,
-0.038276512,
-0.030675504,
-0.020169822,
-0.030105427,
0.0034034878,
-0.0014548808,
-0.037950754,
0.02855808,
0.029101009,
-0.0123516405,
0.043732952,
-0.059830803,
-0.0052630208,
0.03800505,
-0.011679766,
-0.015432765,
-0.08605429,
0.006501578,
-0.00006595742,
-0.0114015145,
-0.063468434,
-0.019056818,
-0.015690656,
-0.031951386,
0.028910983,
-0.026467802,
0.050248105,
0.028585225,
-0.04628472,
-0.014849115,
-0.027146462,
-0.0054903724,
-0.019708332,
0.0034306343,
0.022192234,
-0.025775567,
-0.062979795,
-0.03162563,
0.014496211,
-0.01953188,
-0.0015711016,
-0.023916034,
-0.051632572,
0.01469981,
0.0023651356,
-0.018364582,
-0.03205997,
-0.029345326,
-0.011985163,
0.028422346,
-0.010017045,
-0.011163983,
-0.027268622,
-0.010682133,
0.0025568574,
0.026304923,
-0.045497473,
-0.01742803,
0.029671084,
0.013016729,
-0.025952019,
-0.055595957,
0.020346275,
-0.012243055,
-0.016315024,
0.01646433,
-0.021024935,
0.01738731,
-0.06857197,
0.01898895,
-0.017292297,
-0.009514836,
-0.012243055,
0.008089646,
0.032820076,
-0.01060748,
-0.004136442,
0.005178188,
-0.0020139283,
0.04921654,
0.010919665,
0.008238952,
-0.0060638413,
-0.0452803,
0.042782824,
0.0051272884,
-0.021160668,
-0.022450125,
-0.03344444,
0.019138256,
-0.031136993,
-0.008171085,
0.046854794,
0.04834785,
-0.016179292,
0.047614895,
-0.018120265,
-0.03830366,
0.010098484,
0.08230808,
-0.030132575,
0.013695391,
-0.006070628,
0.017034406,
-0.010546401,
-0.03469318,
-0.030376893,
-0.010661773,
0.0051272884,
-0.017278723,
0.0056498577,
0.023332385,
-0.0016135179,
0.0024720249,
-0.00093146303,
0.018011678,
-0.026630681,
0.01203267,
0.003759785,
0.0021157274,
0.004275568,
-0.012439867,
0.028693812,
-0.022232953,
-0.0055887783,
0.025463382,
-0.0062776194,
0.0026569602,
0.0033899145,
-0.0086868685,
0.029616792,
0.06656313,
-0.031272724,
0.011055397,
-0.041561235,
0.010641414,
-0.02931818,
-0.036674872,
0.017075125,
-0.0239839,
-0.000117599324,
0.09126641,
0.010383522,
-0.004190735,
0.013980429,
-0.045687497,
-0.021147095,
0.044248734,
-0.034828912,
0.025816286,
-0.05502588,
0.0038310445,
-0.029236741,
-0.01165262,
-0.032575756,
0.014007575,
0.018649621,
0.02683428,
0.031109847,
0.010261363,
-0.036267675,
0.033824492,
0.023495264,
0.046556186,
-0.03982386,
-0.016600063,
0.028042296,
-0.0391452,
-0.004838857,
0.00751957,
0.026019884,
0.009616635,
0.06308838,
0.048863634,
0.086217165,
0.0056905774,
0.00798106,
-0.0030234375,
-0.01503914,
-0.019369002,
-0.0033152618,
0.03852083,
-0.02045486,
-0.009419823,
0.0212964,
0.0113132885,
-0.011218276,
0.00663731,
0.00091364817,
0.010797506,
-0.03789646,
0.00012936986,
-0.04061111,
-0.011917298,
-0.004801531,
-0.005534485,
0.00026001222,
-0.03393308,
0.014184027,
0.0403125,
-0.033580177,
-0.0047065183,
0.0027876024,
0.0070173605,
0.008205019,
0.009657354,
0.0017730034,
-0.007906407,
0.013966856,
0.034557447,
-0.008076073,
0.032820076,
-0.0022277066,
-0.0000073565857,
-0.0150662875,
-0.0012232875,
0.018513888,
-0.014482638,
0.021893622,
-0.025056185,
0.027879417,
0.0059654354,
0.060808077,
-0.02582986,
-0.00041652855,
0.06656313,
0.0018120264,
-0.016315024,
0.007872474,
0.0020173215,
0.0061011678,
0.0675404,
0.018120265,
0.017618055,
0.0583106,
0.028259467,
0.025843432,
0.031109847,
0.04737058,
-0.0050288825,
0.047832068,
0.035561867,
-0.039280932,
0.00447238,
-0.020332702,
0.020726325,
-0.058202017,
0.0031914061,
-0.05282702,
0.03599621,
-0.0012758838,
-0.006172427,
-0.053152774,
-0.022327965,
0.02540909,
0.039769568,
-0.009582701,
-0.0061215274,
0.00084408536,
0.021649305,
-0.017156566,
-0.017753787,
0.06922348,
0.064445704,
-0.029643938,
0.012181975,
0.038032196,
-0.07079798,
0.0072481055,
-0.009005839,
-0.07763889,
-0.008673295,
-0.023373105,
-0.003702099,
0.014726956,
-0.03523611,
-0.009684501,
-0.011021464,
-0.015867108,
-0.017943813,
-0.025952019,
0.064228535,
0.045334592,
0.009969539,
-0.019423295,
-0.0032423057,
-0.029643938,
0.013661457,
-0.031517044,
-0.0713409,
-0.008272884,
-0.009094065,
0.027200757,
0.016654355,
0.02855808,
-0.027431501,
-0.069874994,
0.032575756,
0.013132102,
0.027879417,
0.0051306817,
0.01058712,
-0.029345326,
0.01110969,
0.008544349,
-0.0452803,
0.031028407,
0.013349273,
0.016749367,
0.05019381,
-0.01570423,
0.032114267,
-0.04614899,
0.03344444,
0.059233584,
-0.032657195,
-0.029453913,
-0.033363003,
-0.017441602,
0.016328597,
0.0065151514,
-0.023780301,
-0.00445202,
0.049189392,
-0.03225,
-0.042782824,
-0.024730427,
-0.027540088,
-0.042647094,
-0.046827648,
0.0012165009,
0.023997473,
0.0025263177,
-0.016396463,
-0.031354167,
0.031218432,
0.0041025095,
0.012711331,
-0.0022633364,
-0.047723483,
0.065694444,
0.046963383,
0.00047675977,
-0.007811395,
0.045931816,
-0.0518226,
0.02482544,
0.015093434,
0.021622159,
0.013722537,
0.013030303,
0.015595643,
0.02448611,
0.020712752,
-0.007818181,
0.024784721,
-0.00025746724,
-0.010980745,
0.030946968,
-0.005178188,
0.0049202964,
0.021635732,
-0.049705174,
-0.015785668,
0.009379103,
0.0068375156,
0.06895202,
-0.059450753,
0.048320703,
-0.009182291,
-0.017672347,
-0.025965592,
-0.007845328,
-0.020142676,
0.04245707,
0.031136993,
0.037109215,
-0.05111679,
-0.008184658,
0.009908459,
-0.0011859611,
0.03830366,
0.0506553,
0.0057788035,
0.011123263,
0.033498734,
-0.020549873,
0.0031947994,
0.00087717007,
0.0064269253,
0.022857321,
-0.016790088,
-0.039253786,
-0.046474744,
0.032874368,
0.042511363,
0.03629482,
-0.0062538665,
0.021404987,
-0.044791665,
-0.006549084,
0.0065999837,
0.0291553,
-0.030512625,
-0.055921715,
0.027200757,
0.055161614,
0.011245422,
-0.0030980902,
-0.01427904,
-0.01503914,
-0.012161615,
-0.025734847,
0.00624708,
-0.02209722,
0.017835226,
0.009569128,
0.034937497,
0.0015049321,
-0.026101325,
-0.039715275,
-0.00074525527,
0.03944381,
-0.027417928,
-0.0050390624,
-0.045253154,
0.009949178,
0.04283712,
0.012222695,
-0.050329544,
-0.016600063,
0.012643465,
-0.05657323,
0.021567864,
0.04821212,
-0.050899617,
0.02117424,
-0.035181817,
-0.008076073,
-0.013457859,
-0.009474115,
-0.017726641,
0.0041296557,
0.008123579,
0.00066720915,
0.03906376,
-0.008076073,
-0.009148358,
0.037923608,
-0.01965404,
0.030159721,
-0.018649621,
-0.023413824,
-0.02709217,
0.015297032,
0.00036287186,
0.017278723,
-0.00031663803,
-0.02221938,
-0.022613004,
0.047180552,
-0.06748611,
-0.05464583,
0.01058712,
-0.020101955,
0.0058602425,
0.011788351,
-0.008910826,
0.0069053816,
0.007044507,
0.0498952,
-0.028123736,
0.003637626,
0.018798925,
-0.01658649,
-0.03637626,
-0.007947127,
0.014862688,
-0.0997904,
0.0065999837,
-0.006535511,
-0.023630997,
-0.001590613,
-0.034584593,
-0.02314236,
-0.01478125,
-0.0155413505,
0.0075874366,
0.0045436393,
0.025544822,
0.0015583767,
-0.025843432,
0.001512567,
-0.019803345,
-0.03268434,
0.001325935,
0.0472077,
0.03254861,
0.026386362,
-0.07552146,
-0.049297977,
0.06759469,
-0.026983585,
0.0073974114,
-0.012148042,
-0.04590467,
-0.011829072,
-0.030214014,
-0.023821022,
-0.023861742,
-0.02107923,
0.0141976,
-0.002088581,
-0.0082118055,
0.00016616605,
0.011055397,
-0.0003522678,
0.042999998,
-0.025436236,
-0.070906565,
-0.008008206,
0.011890151,
-0.008076073,
-0.0036172662,
0.0072684656,
-0.039633837,
-0.06716035,
-0.042185605,
0.06314267,
-0.029833963,
-0.01894823,
-0.036186237,
-0.030458331,
0.016328597,
0.045334592,
0.011326862,
-0.021472853,
0.030675504,
-0.024038194,
0.013383206,
-0.07622727,
-0.0035833332,
-0.032955807,
0.02755366,
0.0026976797,
0.049379416,
0.044845957,
0.010872158,
-0.00928409,
0.008469696,
0.04044823,
0.061839644,
-0.07036363,
-0.030105427,
0.020807764,
0.008510416,
0.0011325165,
-0.003868371,
0.01165262,
0.015364898,
0.009847379,
0.053777143,
-0.03599621,
-0.028123736,
-0.049325123,
-0.023739582,
0.02713289,
-0.03537184,
0.016192865,
-0.007913194,
0.046474744,
-0.006359059,
0.0004010466,
-0.051171083,
0.021160668,
-0.027689392,
-0.03170707,
0.043271463,
-0.04166982,
0.016247159,
-0.020862058,
-0.03808649,
0.023766728,
-0.03770644,
-0.0061554606,
0.0705808,
-0.005476799,
-0.0068476954,
-0.0498952,
0.020862058,
0.0139397085,
0.03368876,
0.0082864575,
-0.031571336,
0.00400071,
-0.00356976,
-0.02448611,
-0.033824492,
-0.01869034,
0.003491714,
-0.0043298607,
0.007858901,
0.07248106,
0.03993245,
-0.020224115,
-0.06477146,
0.02045486,
0.013512152,
-0.0077571017,
0.0022158301,
0.057224743,
-0.0076010097,
0.038113635,
-0.0372178,
-0.012704545,
-0.017957386,
0.10722853,
-0.018703913,
-0.032440025,
0.0010909485,
0.01676294,
-0.022884468,
-0.019816918,
0.029535351,
0.033607323,
-0.019341854,
-0.025205491,
-0.021825757,
-0.004241635,
-0.032141414,
0.051279668,
0.03770644,
-0.02083491,
0.0001050865,
0.007187026,
-0.015202019,
-0.05803914,
0.013518939,
0.016491476,
-0.02083491,
0.014007575,
-0.01672222,
0.038113635,
-0.043570075,
-0.033091538,
0.026386362,
0.0043128943,
-0.01058712,
0.06211111,
-0.005914536,
0.058093432,
0.010173137,
0.0060536615,
0.021147095,
-0.019124683,
-0.0403125,
-0.013647884,
0.032412875,
0.017631628,
0.008252525,
-0.00530374,
0.017088698,
0.044845957,
0.068191916,
-0.0038751576,
-0.060808077,
0.030268306,
-0.03007828,
-0.017509468,
0.030105427,
0.015609216,
-0.013254261,
0.044004418,
-0.0027316129,
-0.052229796,
-0.0056702173,
0.010071338,
-0.010173137,
-0.027390782,
-0.06308838,
0.0054903724,
-0.05489015,
-0.03577904,
0.0072548925,
-0.052528407,
-0.016396463,
0.057604793,
-0.00031409305,
0.010973957,
0.008130366,
0.01898895,
-0.016138572,
0.023250945,
0.000110176465,
0.04006818,
0.019803345,
0.012562026,
0.0075874366,
0.009216224,
0.023155933,
-0.023807447,
0.0018866792,
0.023766728,
0.031869948,
-0.03439457,
0.025476955,
0.03048548,
0.0007414378,
-0.0002555585,
0.0057041505,
0.008707228,
-0.04590467,
0.017903093,
-0.030566918,
-0.0249476,
-0.01676294,
0.024201073,
0.031815656,
0.05057386,
0.018785352,
0.018676767,
0.0024245186,
0.027580807,
-0.005520912,
-0.0011401514,
0.006885022,
0.02612847,
0.010044191,
-0.03062121,
-0.012670612,
0.03998674,
-0.03205997,
0.06162247,
0.0016805357,
0.030132575,
-0.005201941,
-0.008544349,
0.054075755,
0.047479164,
0.04981376,
0.009772726,
-0.0054835854,
-0.043407194,
-0.042891413,
0.0410726,
-0.07769318,
-0.05136111,
0.027404355,
-0.04851073,
-0.021445706,
0.0053003468,
-0.031055555,
0.00053826347,
0.012365214,
-0.021934342,
0.023617422,
0.015595643,
0.042375628,
0.025816286,
-0.03325442,
-0.04313573,
-0.000018411347,
-0.01898895,
-0.031517044,
-0.036566287,
0.006722143,
0.03998674,
0.018934658,
-0.007173453,
-0.0291553,
-0.00798106,
0.02041414,
0.05296275,
-0.045307446,
0.020726325,
-0.056138884,
0.0074245576,
0.049379416,
-0.0086122155,
-0.008245738,
0.034503154,
0.00312354,
-0.029209595,
0.018595327,
0.002397372,
0.021242108,
-0.039009467,
0.0018425662,
0.021119948,
0.058527775,
-0.012419507,
0.017115844,
0.013003156,
0.04245707,
0.015826387,
0.053831436,
0.0000560426,
0.045931816,
0.03154419,
-0.004255208,
-0.022110794,
0.0147405295,
0.036430553,
-0.009372316,
0.0018883758,
0.009840593,
0.012976009,
-0.03423169,
0.024784721,
0.006050268,
-0.0035731532,
0.030349746,
-0.043542925,
-0.039633837,
0.020441286,
-0.019450441,
-0.020183396,
0.023468118,
0.007187026,
0.03746212,
0.009772726,
-0.0046250788,
-0.007791035,
0.009209437,
0.0094130365,
-0.0054191127,
0.02234154,
-0.010417455,
0.04082828,
-0.032955807,
0.033037245,
-0.008659721,
0.0151613,
0.0010578637,
-0.051931184,
-0.0055310917,
-0.0063556656,
0.0022955728,
-0.01742803,
-0.0035494,
-0.009664141,
-0.042402774,
-0.05841919,
-0.0067730425,
-0.0403125,
0.006457465,
0.024784721,
0.0004975438,
-0.039552398,
0.028856691,
-0.001647451,
0.03485606,
0.038059343,
0.04305429,
0.019586174,
0.073621206,
0.048402146,
-0.027499367,
0.0058772094,
0.036430553,
-0.040665403,
-0.025897726,
0.021119948,
-0.0070988,
-0.040719695,
-0.07096086,
-0.029481059,
0.011503314,
0.005072995,
-0.012127683,
-0.046230428,
0.0002311691,
0.0010069641,
-0.020807764,
-0.012697758,
0.117164135,
0.047180552,
-0.027526515,
-0.0059552556,
0.03814078,
-0.053071335,
-0.021011362,
-0.028965276,
0.022124367,
-0.0149034085,
-0.025612688,
0.0022344931,
-0.060590904,
0.035317548,
0.020862058,
-0.03691919,
-0.008110006,
0.036566287,
0.006433712,
0.0053003468,
0.018486742,
-0.025341224,
-0.013810763,
0.046230428,
0.022748737,
0.02671212,
0.066943176,
0.055867422,
-0.018771779,
0.0029335148,
0.014224747,
0.018554607,
-0.03132702,
-0.0078860475,
0.036267675,
0.009032985,
-0.022463698,
-0.03461174,
-0.025219064,
-0.013620738,
-0.025422662,
-0.00942661,
-0.026766412,
-0.0069053816,
-0.078073226,
-0.041778408,
-0.008666509,
0.025463382,
-0.019178975,
-0.031761363,
0.00667803,
-0.049569443,
0.21434848,
0.04574179,
0.044954542,
0.0026060604,
0.056464642,
0.042022724,
-0.013281407,
-0.027499367,
0.01596212,
-0.022694442,
0.00982702,
-0.027322914,
-0.006820549,
-0.01291493,
-0.049705174,
0.011055397,
-0.0418327,
-0.027648672,
-0.056138884,
-0.04750631,
-0.052066915,
0.07850757,
0.013362846,
0.033824492,
0.019776199,
0.020563446,
-0.012100536,
-0.049623735,
-0.0029538746,
-0.031517044,
0.021676451,
-0.015337752,
-0.0044011204,
-0.028069442,
0.0044316603,
0.04742487,
0.02801515,
-0.022029355,
-0.023210226,
-0.022083648,
-0.012059816,
-0.009453756,
0.01898895,
-0.01469981,
-0.0036613792,
0.017523043,
-0.0008020932,
0.02785227,
0.013613951,
-0.056627523,
0.01856818,
-0.067648984,
0.021540718,
0.0017984532,
-0.052066915,
-0.0017814867,
-0.036484845,
-0.043542925,
-0.0011079151,
0.019016098,
0.0061418875,
-0.008116793,
-0.0019867818,
0.035561867,
-0.025029039,
0.028802397,
-0.0133357,
0.03368876,
0.009922032,
0.00444184,
-0.029291034,
-0.0022514598,
-0.021947915,
-0.020129103,
0.022694442,
0.041235477,
0.03116414,
0.062979795,
-0.0068307286,
-0.058147725,
0.0049949493,
-0.011326862,
0.012562026,
-0.039660983,
0.01662721,
0.0014022845,
-0.026902145,
0.03208712,
0.00713952,
0.043027144,
0.044248734,
0.051605426,
-0.0004703973,
-0.0024431816,
-0.0053749997
] | When you're ready, you can call compile and fit to start training. Note that Transformers models all have a default task-relevant loss function, so you don't need to specify one unless you want to:
from tensorflow.keras.optimizers import Adam
model.compile(optimizer=Adam(3e-5)) # No loss argument!
model.fit(tf_dataset) # doctest: +SKIP |
[
0.05051779,
0.007601644,
-0.0449047,
-0.029870652,
0.016162308,
-0.028121851,
0.0044107866,
-0.0010092627,
-0.0019638755,
0.038501833,
0.048007414,
0.009004916,
0.03587863,
-0.055200063,
0.0020625982,
0.0125307245,
-0.014695571,
-0.009456219,
-0.062110648,
0.0070410403,
-0.0059762457,
-0.000835176,
-0.06605955,
-0.023637023,
-0.06628521,
-0.031139944,
-0.042366117,
0.024680661,
0.013242938,
0.03452472,
-0.040363457,
0.0016209906,
0.0019656385,
-0.032945156,
-0.022593383,
-0.026669217,
-0.025823023,
-0.00793307,
-0.08772212,
-0.045017526,
0.008052947,
-0.0156969,
0.016627714,
-0.04019422,
-0.067074984,
-0.0031873311,
0.017121328,
-0.026866663,
-0.021239473,
-0.029419348,
0.020266348,
0.040363457,
0.015922552,
-0.020689446,
-0.0018351835,
0.0015081647,
-0.011451827,
-0.022621589,
-0.043240517,
-0.016670024,
-0.01138131,
0.032634888,
-0.014921223,
-0.03539912,
0.0009140659,
-0.0006011504,
-0.011564652,
0.0018669157,
-0.023961397,
-0.03627352,
-0.057146307,
-0.0012551879,
0.013433332,
-0.05017931,
-0.026951283,
0.065156944,
0.039912157,
0.030039892,
-0.033819556,
0.027303863,
0.0121076275,
0.0383608,
-0.015569972,
-0.014737881,
-0.025047345,
-0.035906836,
0.058782283,
-0.039545473,
-0.034242656,
-0.030970704,
-0.016585404,
0.007175021,
-0.004847987,
0.016754644,
0.050715234,
0.010513961,
0.0012225742,
0.029306524,
-0.015753314,
-0.007418302,
0.06261837,
0.07988072,
0.00068312546,
0.008483096,
-0.04363541,
-0.018108554,
0.035681184,
0.009385703,
-0.07203933,
-0.025174275,
-0.0063570333,
0.04002498,
0.0120864725,
0.004364951,
-0.008729902,
0.057146307,
-0.017882902,
-0.0018792561,
-0.0636338,
-0.010690252,
0.0016668261,
-0.007157392,
-0.010796026,
-0.042789217,
0.07756779,
-0.04377644,
-0.020872789,
0.03652738,
-0.006660253,
-0.01992787,
0.008222186,
0.02053431,
0.017488012,
0.019899664,
0.032098964,
0.008179876,
-0.009406858,
0.01530201,
0.046032958,
-0.030519402,
0.032070756,
-0.0041921865,
0.0015416599,
0.070629,
-0.0017338165,
-0.055341095,
-0.013750655,
-0.04346617,
-0.039037757,
-0.008927348,
-0.039742917,
-0.00159631,
-0.0018581012,
0.014737881,
0.0059656682,
-0.012749325,
-0.030321956,
0.0653826,
0.024722971,
0.016966192,
-0.02389088,
-0.008574767,
0.0014526332,
0.03714792,
0.0060855458,
0.012093524,
0.0196176,
-0.054635935,
0.009145948,
-0.032183584,
0.022790829,
-0.019476568,
0.0124884145,
-0.034411892,
0.0762703,
0.008243341,
0.07361889,
0.011444775,
0.017361082,
-0.005912781,
-0.02341137,
-0.029645,
-0.033452872,
-0.0021648465,
-0.002360529,
0.01490712,
-0.0074253534,
-0.013391022,
-0.011071039,
0.028276986,
0.00682244,
0.015809726,
-0.046230406,
-0.019166296,
-0.018799612,
0.018954748,
-0.022790829,
0.017530322,
0.03156304,
-0.035794012,
0.019166296,
0.060136195,
-0.028883426,
-0.001732935,
0.029927066,
-0.004925555,
-0.011966595,
0.047330458,
0.015048152,
0.021606157,
0.01346859,
-0.0052640326,
-0.009061328,
0.013242938,
0.0218036,
-0.010577426,
-0.018080348,
-0.003709151,
0.007784986,
-0.005249929,
0.049502354,
0.002563263,
0.036583792,
0.019039368,
0.03709151,
-0.024511423,
-0.017163638,
0.027162831,
0.022001047,
0.030857878,
0.012953822,
0.05855663,
0.013158319,
0.040560905,
-0.017389288,
0.019123986,
0.0047140066,
0.019815044,
0.037712052,
0.005323971,
0.006804811,
0.004058206,
0.02384857,
0.014808397,
-0.03692227,
0.0014182566,
-0.0070375144,
-0.0034182717,
-0.07920377,
0.03889672,
-0.0466535,
0.04363541,
0.017459804,
-0.038304385,
-0.034722164,
0.017022604,
-0.025921745,
0.016331546,
-0.010598581,
0.0119172335,
0.02157795,
-0.0030145666,
-0.0006769553,
-0.0069246884,
0.052435827,
0.018559858,
0.012037111,
0.050320342,
-0.011867872,
-0.0509973,
-0.019406052,
-0.038953137,
-0.03692227,
-0.02681025,
-0.01590845,
-0.00924467,
0.0031062376,
-0.025752507,
0.011592859,
-0.033875972,
0.016275134,
0.033960592,
-0.0440303,
0.020492,
0.02645767,
0.036611997,
-0.045158558,
-0.0018404722,
-0.0037197282,
0.007799089,
0.023834467,
-0.026514081,
-0.022579279,
-0.015640488,
0.04219688,
0.014180803,
0.041322477,
-0.051335774,
-0.025442237,
0.018432928,
0.0062970943,
0.045412418,
-0.0016183462,
0.051476806,
-0.017981624,
0.052576862,
0.0024486743,
-0.027134625,
0.042873833,
0.039460853,
-0.003744409,
0.02372164,
0.034778576,
0.06177217,
-0.049925454,
0.02649998,
0.03821977,
-0.011592859,
-0.062449124,
-0.03813515,
-0.0041780835,
0.0036915217,
-0.034863196,
-0.03985574,
-0.0025297678,
0.062674776,
-0.02750131,
-0.056948863,
0.004072309,
-0.062054235,
-0.016966192,
-0.018320102,
-0.030998912,
0.004611758,
-0.01730467,
0.025710197,
-0.03429907,
0.009992142,
0.01997018,
0.0014887728,
0.002894689,
-0.016966192,
0.062110648,
0.059402827,
0.006491014,
-0.0029810714,
0.00837027,
-0.012241608,
-0.000086878135,
0.001843998,
-0.007947173,
-0.011811459,
0.027924405,
-0.019730426,
0.004238022,
0.03204255,
-0.019744528,
0.026358947,
0.03525809,
-0.0039735865,
0.036076076,
0.027317967,
0.0045482935,
-0.03469396,
-0.018686786,
-0.021916427,
-0.037627432,
0.03404521,
0.026076881,
-0.0557924,
0.033819556,
-0.025724301,
0.0058140587,
0.013574364,
-0.023975499,
-0.052548654,
0.036668412,
0.05170246,
0.024144739,
0.0015469486,
-0.022522867,
0.0122909695,
0.0318169,
0.002563263,
0.024003707,
0.0026619856,
-0.0077708825,
0.023030583,
-0.016994398,
0.0035998507,
0.010937059,
0.036724824,
-0.0066532013,
-0.010908852,
-0.02053431,
-0.0038043477,
0.03892493,
0.04290204,
0.0392352,
0.0045764996,
0.047274046,
-0.03164766,
-0.024779385,
0.0021842385,
-0.02384857,
-0.026429463,
-0.049812626,
0.00077964447,
0.03427086,
0.0033230747,
-0.031845104,
0.022593383,
-0.02925011,
-0.0034217974,
-0.0054614777,
-0.018630374,
0.025146069,
-0.019236812,
-0.060023367,
0.0052992906,
-0.02232542,
-0.09951243,
-0.043268725,
0.029757826,
0.05221018,
-0.029193697,
0.009378651,
-0.011811459,
0.024398597,
0.012580086,
-0.0064099203,
-0.02933473,
-0.015457146,
-0.005680078,
-0.0076298504,
-0.023566507,
0.05410001,
-0.018757302,
-0.013673087,
-0.06854172,
-0.0008986405,
0.013116009,
-0.01246726,
-0.0010965265,
-0.009477374,
0.008842728,
-0.0353145,
0.0054473747,
-0.00372678,
0.009428013,
0.023989603,
-0.078244746,
0.007968328,
-0.020999717,
0.00880747,
-0.050658822,
0.021281783,
0.03322722,
0.023143409,
0.012805738,
-0.0125518795,
0.032578472,
0.051561426,
-0.024328081,
-0.020224039,
0.009710077,
0.00086690823,
0.0052781356,
0.040081393,
0.024920417,
-0.002840039,
0.011261433,
0.013235887,
-0.034552924,
-0.0059586167,
-0.033593904,
-0.015555868,
-0.0015584074,
0.0053310227,
0.03164766,
-0.051758874,
0.013807067,
-0.0209292,
-0.020759962,
-0.0038501832,
-0.08146029,
-0.015259701,
0.008271547,
-0.023439577,
0.029080871,
0.0033054457,
-0.013539106,
0.0018369464,
0.007044566,
0.012904461,
0.000899522,
-0.0076227984,
0.019913768,
0.04913567,
0.04171737,
0.014272474,
-0.05962848,
-0.028939838,
0.017234154,
-0.02554096,
0.010309465,
-0.021295885,
0.033199016,
0.02197284,
0.021042027,
-0.015711004,
0.028798806,
-0.01717774,
-0.0024028388,
-0.009837006,
-0.024821693,
-0.020548414,
0.0015319639,
0.002156032,
0.033847764,
-0.013856429,
-0.07435226,
-0.035060644,
0.01586614,
0.0318169,
0.012911512,
0.05226659,
-0.007488818,
-0.021676673,
0.0008298872,
0.021733085,
-0.032268204,
0.04081476,
-0.06656727,
-0.010147277,
0.0187432,
-0.0017188318,
0.02097151,
-0.021648467,
-0.014307732,
-0.04411492,
0.0326913,
-0.05009469,
0.004040577,
0.0071855984,
-0.019321432,
-0.03548374,
0.02384857,
0.004372003,
0.021394609,
0.026161501,
0.030039892,
0.010034452,
0.0034394264,
-0.067244224,
0.0015980728,
0.0024751178,
0.016796952,
0.010104968,
0.038389005,
0.0050066486,
0.0029387616,
-0.023383163,
0.041519925,
-0.030068098,
-0.0017047286,
-0.0436072,
0.014378248,
0.017939314,
-0.01734698,
0.02228311,
-0.044086713,
0.0025720776,
0.019518878,
0.06024902,
-0.028544948,
-0.00085412717,
0.0139481,
-0.07728573,
0.044312365,
-0.011451827,
-0.00538391,
-0.01848934,
0.01076782,
0.08168594,
-0.0213664,
0.040532697,
0.05026393,
0.02602047,
0.032578472,
-0.040504493,
0.027571825,
0.016528992,
0.036696617,
-0.006515695,
0.0109018,
-0.03469396,
-0.0049819676,
0.035737596,
-0.06797759,
-0.011339001,
0.020830479,
-0.007777934,
-0.011783253,
0.072490625,
-0.015076359,
-0.01717774,
-0.02205746,
0.035370912,
0.008518354,
0.006843595,
0.041294273,
0.008405528,
-0.004477777,
0.037824877,
-0.0063887653,
-0.006642624,
-0.0018052141,
0.056243703,
-0.021592053,
-0.026880765,
0.0004592366,
0.040955793,
-0.010951162,
-0.050122898,
-0.004696377,
0.029616794,
-0.0013424517,
0.010217794,
-0.026302533,
-0.0072913724,
-0.033452872,
-0.0006073206,
0.026739733,
-0.010097916,
-0.00902607,
0.036414552,
-0.018362412,
-0.08591691,
-0.0061807428,
0.03638635,
-0.053479467,
-0.019208606,
-0.005126526,
0.009540838,
-0.00061040564,
-0.06978281,
0.04171737,
-0.046540678,
-0.0026796146,
0.028968045,
-0.008137567,
0.050545994,
-0.012037111,
0.011825562,
-0.022522867,
-0.016937986,
-0.050376754,
-0.011127452,
0.0012666468,
-0.02868598,
0.04115324,
-0.0077144695,
-0.013708345,
0.0044671996,
0.05985413,
-0.05192811,
-0.07835758,
-0.0135109,
-0.038389005,
-0.023510093,
0.032945156,
0.010499858,
-0.014194906,
0.034383688,
0.0014684993,
-0.01817907,
0.019194502,
0.038868517,
-0.038473625,
0.03940444,
-0.084732234,
0.08422452,
-0.03365032,
0.010097916,
-0.01722005,
-0.025823023,
0.018249586,
0.02925011,
-0.02885522,
0.015894346,
0.020506104,
0.052379414,
-0.053338435,
0.030575814,
-0.024962727,
0.01277048,
-0.0058881007,
0.032127168,
-0.04188661,
0.017332876,
0.034242656,
-0.04817665,
0.002984597,
0.017727766,
-0.0200548,
0.002653171,
0.0063499818,
0.019349638,
-0.0073336824,
-0.0075522824,
-0.0074606114,
0.026485875,
-0.05793609,
-0.039206993,
-0.0012313888,
-0.020266348,
-0.027233347,
0.03931982,
0.020492,
0.035117056,
-0.0123473825,
0.027402585,
0.047894586,
0.04634323,
-0.009872264,
0.00036646376,
0.03827618,
0.017389288,
-0.03802232,
-0.010281258,
0.015584075,
0.028911632,
-0.020209936,
0.03235282,
0.024088325,
-0.029221904,
-0.0056836037,
0.020717653,
-0.01674054,
0.027839785,
0.010048555,
-0.0030692166,
0.030039892,
-0.019786838,
-0.050715234,
0.023002377,
-0.04938953,
-0.004223919,
-0.00324727,
-0.029419348,
0.015626384,
-0.053423055,
0.0031644134,
0.0032790022,
0.00186339,
0.03116815,
-0.033283636,
-0.019109884,
-0.01076782,
-0.0121992985,
0.0029405246,
-0.029927066,
-0.019674012,
0.024426803,
-0.013045493,
-0.01805214,
-0.021239473,
0.0436072,
-0.007509973,
-0.015584075,
-0.005799955,
-0.024074223,
0.02319982,
0.010598581,
-0.038614657,
-0.00090084417,
-0.039742917,
0.013419229,
-0.04569448,
0.024962727,
-0.03147842,
0.044396985,
-0.006572108,
-0.0066884593,
0.00420629,
0.047838174,
0.03979933,
-0.005179413,
-0.020830479,
0.019152192,
0.014836604,
-0.009047225,
0.0009043699,
0.025075551,
0.034863196,
0.008490148,
0.04259177,
-0.0005883693,
0.022734415,
0.040504493,
-0.038304385,
-0.013771809,
0.024652455,
0.05043317,
0.012876254,
0.031139944,
-0.04293025,
0.0023129305,
0.02013942,
0.046625294,
0.069500744,
0.022029253,
0.013997461,
0.0040088445,
0.010640891,
-0.0043614255,
0.030998912,
-0.06560825,
0.030039892,
-0.008426683,
0.03435548,
0.006402869,
0.009773542,
-0.021606157,
0.011564652,
0.03900955,
-0.016528992,
-0.0060996492,
0.01386348,
0.032409236,
-0.029701414,
0.013828222,
-0.037571017,
0.0062477333,
-0.04639964,
-0.086650275,
-0.033001572,
0.049107466,
0.013066648,
-0.02241004,
0.0064310753,
-0.02798082,
0.00044954062,
-0.050404962,
0.027741063,
-0.040391665,
-0.03813515,
0.008877986,
-0.013094854,
-0.007601644,
0.006952895,
-0.030886086,
-0.013179474,
-0.0071468144,
0.042422533,
0.0060608652,
0.039827537,
0.0022759095,
-0.009364548,
0.038558245,
0.0015293196,
-0.02188822,
-0.040730145,
0.0005046314,
0.005606036,
-0.0126082925,
-0.029757826,
-0.061038803,
0.032550268,
0.023383163,
-0.007926018,
-0.0057400167,
0.009554942,
0.028996252,
-0.014596849,
0.011501188,
0.061320867,
0.0044107866,
0.00682244,
-0.021042027,
0.0057400167,
-0.04264818,
-0.04081476,
-0.03491961,
0.05545392,
-0.046145786,
-0.024638351,
-0.036950476,
-0.017403392,
0.005288713,
0.02284724,
-0.0012287444,
-0.0013301114,
0.0037690897,
0.02493452,
0.059797715,
0.01098642,
-0.022311319,
-0.04594834,
0.038530037,
0.033029776,
-0.01638796,
0.08055768,
0.050715234,
0.009456219,
-0.04476367,
-0.0031467844,
0.015330217,
0.01028831,
-0.041519925,
-0.005323971,
-0.011698633,
-0.032070756,
-0.02981424,
-0.03810694,
0.020689446,
-0.0064099203,
0.0042873835,
-0.026429463,
-0.044143125,
-0.07153161,
-0.0062301042,
-0.041519925,
0.05985413,
-0.024426803,
-0.027882095,
0.0055531487,
-0.059007935,
0.23400088,
0.040955793,
0.020774065,
0.023975499,
0.029306524,
0.04851513,
0.00208199,
0.02380626,
0.027050005,
-0.04298666,
-0.007100979,
-0.05051779,
0.011529394,
0.0200548,
-0.018376516,
0.03909417,
-0.031224562,
-0.0028717713,
-0.023524197,
-0.02724745,
-0.03700689,
0.0041604545,
0.034101624,
0.042366117,
0.013722448,
-0.052464034,
-0.019815044,
-0.056328323,
0.060192607,
0.008264496,
-0.026246121,
-0.011402465,
0.030068098,
0.029475762,
0.0038290282,
0.054438487,
-0.001272817,
-0.00096078287,
-0.02633074,
0.024201151,
-0.025216585,
-0.04092759,
0.03613249,
-0.0045412416,
-0.009963935,
0.028544948,
-0.030660434,
0.004185135,
0.031196356,
-0.027148727,
0.049671594,
-0.090147875,
-0.011846717,
-0.025597371,
-0.04388927,
0.008137567,
-0.019688116,
-0.058161743,
-0.063577384,
0.03931982,
0.0020731755,
0.0095902,
-0.013997461,
0.051646046,
0.007397147,
0.02916549,
-0.010231897,
0.0283334,
-0.02837571,
-0.0021154853,
0.025301203,
0.01102873,
-0.020365072,
-0.016599508,
-0.0043437965,
0.013574364,
0.0020167627,
0.026485875,
-0.03917879,
-0.037768465,
0.018982954,
0.0024839323,
-0.0013142452,
-0.022071563,
0.033283636,
0.046202198,
-0.023594713,
0.0014878913,
-0.0011996564,
0.03692227,
-0.005990349,
0.045666274,
0.061941408,
0.020477897,
0.02654229
] |
Trainer
The [Trainer] is a complete training and evaluation loop for PyTorch models implemented in the Transformers library. You only need to pass it the necessary pieces for training (model, tokenizer, dataset, evaluation function, training hyperparameters, etc.), and the [Trainer] class takes care of the rest. This makes it easier to start training faster without manually writing your own training loop. But at the same time, [Trainer] is very customizable and offers a ton of training options so you can tailor it to your exact training needs. |
[
0.04448272,
0.044621207,
-0.00392963,
-0.011958539,
0.001300067,
0.006398199,
-0.028390277,
-0.02388938,
-0.011612316,
0.036367252,
-0.001784779,
0.018363662,
0.0019388482,
-0.04805574,
0.029802866,
0.014035876,
-0.0024564515,
-0.03994027,
-0.052210413,
-0.024277149,
-0.024249451,
-0.0014247072,
-0.061544582,
-0.022282906,
-0.02798866,
-0.0054322374,
0.0005643433,
-0.009562677,
0.07982515,
0.06708415,
0.015995497,
-0.04049423,
0.023778588,
-0.0434025,
-0.026492976,
-0.03154783,
-0.0048955916,
0.008122389,
-0.053096745,
-0.054897103,
-0.0035297424,
-0.03470538,
0.039774086,
-0.05456473,
-0.06475753,
-0.007423019,
0.03002445,
-0.041546747,
-0.03855538,
-0.060104296,
-0.020205569,
0.025578948,
0.0017250556,
-0.009050267,
0.014472117,
-0.015801612,
-0.008614026,
0.0012446713,
-0.036311857,
0.01828057,
0.022033624,
0.0562266,
-0.023958625,
-0.065200694,
-0.005394153,
0.026520673,
0.011965463,
0.020911863,
0.012858719,
-0.04686473,
-0.07201436,
0.017158806,
-0.008350897,
-0.034179125,
-0.040466532,
0.018571395,
0.04395646,
0.022047473,
0.022559883,
0.045424443,
0.023778588,
0.012768701,
-0.03132625,
-0.027864018,
-0.056005016,
-0.031963296,
0.040715814,
-0.0059827315,
-0.038139913,
-0.035425525,
-0.042848546,
0.04611689,
-0.007623828,
0.0070594847,
0.023723193,
0.0074299434,
0.012934888,
0.02747625,
-0.0041512125,
-0.032101788,
0.0152753545,
0.050160773,
-0.01992859,
0.024138661,
-0.035453223,
-0.019069957,
-0.0050583165,
-0.03971869,
-0.015344598,
0.007956202,
-0.03309891,
0.013107999,
0.047529478,
-0.018557547,
-0.0038153762,
0.04777876,
-0.018709885,
-0.0003988055,
-0.049025163,
-0.029193515,
0.00018869148,
-0.021396575,
-0.0007595265,
-0.029802866,
0.06276329,
-0.0344838,
-0.0017544845,
0.041158978,
-0.00843399,
0.0293874,
0.021105748,
0.008856381,
0.029719774,
0.050437752,
0.021825891,
0.013308808,
-0.011563845,
0.035203945,
-0.008662497,
-0.025731286,
0.006910609,
-0.009569601,
-0.008406292,
0.08907623,
0.0053110593,
-0.018959166,
0.0111691505,
-0.041574445,
-0.04739099,
0.00018328175,
-0.020593338,
0.0018228636,
-0.000328479,
0.0051725702,
-0.006789431,
-0.03880466,
-0.009985068,
0.019513123,
0.0051033255,
0.024955746,
-0.00970809,
-0.015247656,
-0.05916257,
0.0599935,
0.0030467615,
0.044510417,
-0.020884166,
-0.023861682,
0.014015103,
-0.043153223,
-0.019970136,
-0.0076446016,
0.018709885,
0.018945318,
0.04608919,
0.020122474,
0.058996383,
-0.010871399,
-0.0013277648,
0.0036768871,
-0.0132049415,
-0.019014562,
-0.018986864,
-0.011972387,
-0.021659704,
-0.00023975935,
0.030883083,
0.0014446151,
-0.009223378,
0.00084478385,
-0.0005197671,
0.06436976,
-0.015593879,
-0.0057369135,
-0.025509704,
0.0031056195,
-0.045756817,
-0.010864475,
0.004905978,
-0.018585244,
-0.041851424,
0.06785969,
-0.019069957,
0.01828057,
-0.0059031006,
-0.0067963554,
0.011217622,
0.051628757,
-0.016189383,
0.024097113,
0.006169692,
0.022878408,
-0.036865816,
0.019707007,
0.015427692,
-0.037890635,
-0.038306102,
0.031464737,
-0.002934239,
0.00874559,
-0.00096423074,
0.0013165126,
0.046061493,
0.010684439,
0.03370826,
-0.010483629,
-0.006862138,
0.063151054,
0.011203773,
0.035176247,
0.025980566,
0.029442795,
0.008094692,
0.03002445,
-0.00038344186,
0.0408543,
0.036976606,
0.026077509,
0.03780754,
-0.0038292252,
0.018585244,
-0.019388482,
0.017989742,
0.05711293,
-0.019374633,
0.01321879,
-0.022282906,
-0.04445502,
-0.05633739,
0.0014247072,
-0.032406464,
0.053567607,
0.022269057,
-0.030993873,
-0.02580053,
-0.0026814963,
0.0058026956,
0.04392876,
0.010996039,
-0.029747471,
0.013807369,
0.0040438836,
0.026769955,
-0.0037011227,
0.03284963,
0.030107543,
0.00396079,
0.04891437,
-0.012117801,
-0.056946743,
-0.04689243,
-0.07118343,
-0.07206976,
-0.01213165,
-0.0062216255,
-0.0332097,
0.022407547,
-0.05453703,
-0.0049648364,
-0.0018055524,
-0.019610064,
0.030079845,
-0.019554669,
0.025606645,
0.010996039,
0.016133986,
-0.018516,
0.016494058,
-0.013904312,
0.018058985,
0.018696036,
-0.027407004,
-0.02861186,
-0.006986778,
0.015012225,
0.020136323,
-0.025883624,
-0.02593902,
-0.037004303,
0.01776816,
-0.004234306,
0.006851751,
0.004930214,
0.024374092,
-0.022629129,
0.032129485,
0.009438036,
-0.037502863,
0.05029926,
0.039386317,
-0.02643758,
0.017906649,
0.0064778305,
0.049357537,
-0.029470492,
0.033154305,
0.02899963,
-0.0034812712,
-0.047307897,
-0.031520132,
-0.02899963,
0.03982948,
0.009237227,
0.0066924887,
0.026783803,
0.08702659,
-0.027393155,
-0.051047105,
-0.026659163,
-0.024138661,
-0.034373008,
-0.012692532,
-0.039690994,
0.0071252673,
0.025703589,
0.057943866,
-0.052487392,
0.0019873194,
-0.016715642,
0.0281133,
0.0019128815,
-0.0020669508,
0.060879834,
0.060104296,
0.0077969395,
0.023570854,
0.040715814,
-0.035591714,
-0.030190637,
0.00019864539,
0.0019042259,
0.03869387,
0.0045943777,
0.01348192,
-0.012941812,
0.033043515,
-0.0022158264,
0.0048955916,
0.057445303,
0.037087396,
0.040438835,
0.018308267,
0.0098327305,
-0.0009997186,
-0.040438835,
0.0080185225,
-0.0068725245,
0.02210287,
0.053844586,
-0.047972646,
0.02555125,
0.0039227055,
-0.037752144,
0.0396356,
-0.03345898,
-0.06581005,
0.06675177,
0.009576526,
0.035203945,
-0.021341179,
-0.0159678,
0.008025447,
0.009922748,
0.00093999517,
0.033431284,
0.0071460404,
-0.013869689,
-0.012616362,
-0.038416892,
0.031658623,
-0.0045597553,
0.021742798,
-0.004767489,
-0.0345115,
-0.004957912,
-0.018169777,
0.0013095881,
0.04766797,
0.012207819,
0.0054668593,
0.01991474,
-0.037336677,
0.007073334,
0.010449007,
-0.008586328,
-0.042599265,
-0.024484884,
0.013655031,
0.019610064,
0.004812498,
0.03168632,
0.007665375,
-0.021230388,
0.025218876,
-0.009382641,
-0.030938478,
-0.026548373,
-0.0025655117,
-0.014333628,
-0.0075199613,
-0.014264383,
-0.023016898,
-0.041740634,
0.030993873,
0.03741977,
-0.0048886673,
0.00041481832,
-0.040438835,
-0.011162226,
0.04198991,
0.021521214,
-0.013904312,
-0.014485966,
-0.014292081,
-0.048111133,
0.04290394,
0.036976606,
-0.0012152423,
-0.0151645625,
-0.07184818,
-0.00399195,
-0.019457728,
-0.01941618,
0.0063635767,
0.014375174,
-0.019457728,
-0.009901975,
0.0013459416,
0.053096745,
-0.012540193,
0.036976606,
-0.06436976,
0.011605391,
-0.023086142,
-0.031880204,
-0.061987747,
0.00849631,
0.0058477046,
0.044122647,
0.055617247,
-0.0051344857,
-0.027171573,
0.057168324,
-0.0031644772,
-0.06747192,
0.028667256,
0.027877867,
-0.019526972,
0.032905024,
0.007166814,
-0.00051933434,
0.021091899,
0.01699262,
0.016009348,
-0.0075476593,
-0.00052322936,
-0.010816003,
0.0021846665,
-0.02019172,
0.008025447,
-0.06298487,
0.015123016,
-0.010158179,
-0.011231471,
-0.011930841,
-0.028030206,
-0.028584162,
-0.005504944,
-0.026742257,
-0.004320862,
0.014444419,
0.016133986,
0.02886114,
-0.0061939275,
0.0033289331,
-0.006017354,
-0.019693159,
-0.0004189297,
0.05503559,
0.05988271,
0.06204314,
-0.07439638,
0.0005002921,
0.026631465,
-0.032267973,
-0.020344058,
-0.014063574,
-0.018031288,
0.0012940081,
0.012152424,
-0.020994956,
0.019983986,
-0.004352022,
-0.017103411,
0.02771168,
-0.022047473,
-0.015026074,
-0.04484279,
-0.02337697,
0.048277322,
-0.005532642,
-0.059605733,
-0.00804622,
0.028944233,
-0.014098196,
0.030052148,
0.053955376,
0.025066538,
-0.019554669,
-0.03883236,
0.022629129,
-0.015233807,
0.042128403,
-0.05392768,
-0.0114946,
0.028417975,
0.021950532,
0.02886114,
-0.0010274164,
-0.035176247,
-0.03999567,
0.010365914,
-0.06337264,
-0.031990994,
0.0002185532,
0.02170125,
-0.006862138,
0.050520845,
-0.0010040464,
0.011113755,
-0.0030277192,
0.02861186,
0.021119596,
0.022047473,
-0.057500698,
-0.023667797,
0.03218488,
0.021908985,
0.03143704,
0.0026486053,
-0.020316359,
0.023044595,
-0.02056564,
0.015413843,
-0.04916365,
-0.00855863,
-0.043347105,
-0.008814835,
0.018446757,
-0.033265095,
0.00033345592,
-0.031243155,
0.049357537,
0.01826672,
0.052681275,
-0.015233807,
0.014118969,
-0.028778046,
-0.022601431,
0.016452512,
-0.03982948,
0.040189553,
-0.00010684222,
-0.005397615,
0.092787735,
-0.053706095,
0.06791508,
0.054730915,
-0.011342262,
0.012374006,
-0.03127085,
0.0370597,
-0.0012230324,
0.010047388,
-0.025329666,
-0.005231428,
-0.025260422,
0.02963668,
-0.01852985,
-0.07749853,
0.006695951,
0.005473784,
0.060602855,
-0.025897473,
0.027005386,
0.003766905,
-0.046283077,
-0.044261135,
0.053678397,
-0.003884621,
-0.0033323953,
0.048083436,
0.01112068,
0.0011390733,
0.042682357,
-0.03282193,
-0.026091358,
-0.011570769,
0.06985393,
-0.028916536,
-0.04304243,
-0.009174907,
0.019499274,
-0.005006383,
-0.03243416,
-0.023557005,
0.029719774,
-0.04384567,
0.0005020232,
-0.033182003,
0.008551706,
-0.00037089127,
0.014174365,
0.020067079,
-0.029470492,
-0.012865643,
0.04448272,
-0.0047744135,
-0.08154242,
0.006318568,
0.032877326,
-0.020496396,
-0.008579403,
-0.011958539,
0.038361497,
-0.029470492,
-0.022365998,
0.05287516,
-0.008669421,
0.017200353,
0.020717978,
0.015178412,
0.052542787,
-0.0140428,
-0.012796398,
0.008690194,
-0.024457185,
-0.039137036,
0.00734685,
0.056558974,
0.0039261677,
0.04179603,
-0.02452643,
0.009424187,
0.044233438,
0.017837403,
0.0029982904,
-0.08409062,
0.014776793,
-0.009050267,
-0.021313481,
-0.018571395,
-0.011723108,
0.014389023,
0.039774086,
-0.025301969,
-0.043596387,
0.0136065595,
0.045646027,
-0.05071473,
0.0062181633,
-0.012900265,
0.026091358,
-0.02300305,
0.0062181633,
0.009161058,
-0.015663125,
-0.0015034729,
0.038361497,
-0.01584316,
0.007852335,
0.03525934,
0.021950532,
-0.0036422648,
0.016798735,
0.0020531018,
0.02275377,
-0.0357302,
0.0025585871,
0.0058026956,
0.040161856,
0.014610606,
-0.01828057,
0.011875445,
0.045839913,
0.007886957,
-0.05606041,
-0.0019111504,
0.043762576,
-0.012927963,
0.010365914,
-0.04495358,
0.023626251,
-0.058165446,
-0.01545539,
0.010490553,
0.00341722,
-0.044759694,
0.021604309,
0.016798735,
0.057057533,
0.032406464,
0.0016627355,
0.009251076,
0.02747625,
0.017172655,
0.0036007182,
0.019111505,
-0.018612944,
-0.011577694,
-0.03356977,
0.044150345,
0.022005927,
-0.027808623,
0.036838118,
0.0014324973,
-0.0048436583,
-0.04611689,
-0.0025880162,
0.015649274,
0.02272607,
0.01888992,
-0.0357302,
-0.019208446,
0.004642849,
-0.034428407,
-0.005792309,
-0.046449263,
-0.034954663,
0.02861186,
-0.031187758,
-0.0009529785,
-0.03345898,
-0.008510158,
0.0064189723,
0.00078289653,
-0.00045268645,
0.0026503364,
0.008877155,
-0.0041754483,
0.0010248198,
-0.044815093,
-0.033154305,
-0.014998375,
0.013260337,
-0.059716526,
-0.04700322,
0.034400705,
0.06287408,
-0.02503884,
0.0015484819,
-0.051684152,
-0.01826672,
-0.009403414,
0.055617247,
-0.058054656,
0.027240818,
-0.033292793,
0.0036388026,
-0.021105748,
0.0012152423,
0.016549455,
0.03822301,
0.019554669,
-0.002887499,
-0.010462856,
0.02235215,
0.028528767,
-0.016314022,
0.004746716,
0.013835067,
0.026908444,
-0.0033497065,
-0.008704044,
-0.011065284,
0.046698544,
0.013938934,
0.07699997,
-0.018405208,
0.048498902,
0.009022568,
-0.025260422,
-0.01879298,
0.061544582,
0.017463483,
0.00047908592,
0.017020317,
-0.04060502,
0.034566894,
0.013724276,
0.02757319,
0.0107675325,
-0.017283447,
-0.01749118,
0.006183541,
-0.013828143,
0.04714171,
0.017685065,
-0.05822084,
-0.012567891,
0.012339384,
0.0036630381,
0.023224631,
0.007914656,
-0.028944233,
0.042682357,
0.021784345,
0.030467615,
0.010012766,
0.009631921,
0.024194056,
-0.009514205,
0.040632717,
-0.018543698,
-0.01929154,
-0.041380562,
-0.044759694,
-0.074064,
0.019139202,
-0.007118343,
-0.039330922,
0.037502863,
-0.0045909155,
-0.031963296,
-0.06974314,
-0.005816545,
-0.037918333,
-0.017782008,
0.024734164,
-0.031520132,
-0.023667797,
0.009728864,
-0.040078763,
-0.016674094,
0.00868327,
0.054149263,
-0.017061865,
0.049856097,
0.0071321917,
0.008330123,
0.0019076881,
0.032323368,
-0.009292622,
-0.035065453,
-0.0049821474,
-0.010082011,
-0.022795316,
-0.060325876,
-0.048332717,
0.020828769,
0.018225173,
-0.0022868023,
-0.019056108,
0.008295501,
0.024844956,
-0.034760777,
0.03257265,
0.06403739,
0.00341722,
-0.020717978,
-0.019983986,
0.004687858,
-0.06182156,
-0.0027490098,
-0.049496025,
0.06015969,
-0.04442732,
-0.039164733,
0.01283102,
-0.010040464,
-0.017962044,
-0.020967258,
-0.001814208,
-0.023224631,
0.039303225,
0.007277605,
0.05860861,
0.015676973,
-0.03897085,
-0.046338473,
0.040549625,
0.023584703,
-0.021382727,
0.06364962,
0.05196113,
0.019831648,
-0.031492434,
0.0014125895,
-0.003718434,
0.01697877,
-0.0071252673,
-0.0017865101,
0.01520611,
-0.05905178,
-0.045535237,
-0.014652153,
-0.0030865772,
0.022061324,
-0.047224805,
-0.033680562,
-0.0019752015,
-0.064203575,
-0.01775431,
-0.0281133,
0.038139913,
0.00007551987,
-0.016784886,
0.00804622,
-0.036311857,
0.22446322,
0.05520178,
0.0498284,
0.00849631,
-0.010102784,
0.070795655,
0.0003159284,
0.00944496,
0.04066042,
-0.022449093,
-0.010622119,
-0.048498902,
0.026396034,
0.010878324,
-0.03384675,
0.02999675,
-0.05287516,
-0.011522298,
-0.032406464,
-0.039026245,
-0.053955376,
0.023113841,
0.00734685,
0.003856923,
0.02631294,
-0.024789559,
-0.0028771122,
-0.009728864,
0.05401077,
-0.020662582,
-0.0115361465,
-0.04880358,
0.021091899,
-0.010760607,
-0.020787222,
0.050687034,
0.0032925797,
-0.04392876,
-0.018723734,
0.040798906,
-0.016064743,
-0.008627875,
0.0085309325,
-0.023653949,
-0.023695495,
0.05672516,
-0.009271849,
-0.0016133987,
0.03994027,
-0.03498236,
0.011750805,
-0.039441712,
0.034012936,
-0.034262218,
-0.04841581,
-0.0044108797,
-0.058996383,
-0.04381797,
-0.023570854,
0.003659576,
-0.016397117,
0.024083264,
-0.022629129,
0.059605733,
-0.0151645625,
0.012886416,
-0.003206024,
0.013163394,
-0.030439917,
0.0049198275,
0.02861186,
0.00036937656,
-0.02030251,
-0.006650942,
-0.026548373,
0.030467615,
-0.0061800787,
0.03218488,
-0.012380931,
-0.009818882,
0.01800359,
-0.026589919,
-0.0082747275,
-0.009368791,
0.04381797,
0.04589531,
-0.029581284,
0.033680562,
-0.019582367,
0.047612574,
0.015635425,
0.051407177,
0.054260053,
-0.0006452729,
-0.01585701
] | In addition to the [Trainer] class, Transformers also provides a [Seq2SeqTrainer] class for sequence-to-sequence tasks like translation or summarization. There is also the [~trl.SFTTrainer] class from the TRL library which wraps the [Trainer] class and is optimized for training language models like Llama-2 and Mistral with autoregressive techniques. [~trl.SFTTrainer] also supports features like sequence packing, LoRA, quantization, and DeepSpeed for efficiently scaling to any model size. |
[
0.03692462,
0.02436363,
-0.00034104084,
0.01288501,
-0.033477586,
-0.018558826,
-0.016725006,
-0.02783824,
0.0043294737,
0.056365885,
-0.0020509847,
0.009258731,
0.015029064,
-0.036979772,
0.02000658,
-0.0037882894,
-0.018214123,
-0.03948921,
-0.06298419,
-0.021178572,
-0.002395688,
0.0057634395,
-0.07583473,
-0.011230434,
-0.021799037,
-0.016849099,
-0.01615969,
0.008479701,
0.058075614,
0.05603497,
0.00291619,
-0.033615466,
0.003850336,
-0.032374535,
-0.06188114,
-0.036373094,
-0.019000046,
0.018572614,
-0.06463876,
-0.04417718,
0.0014727449,
-0.02185419,
0.028817197,
-0.06276358,
-0.053911597,
-0.012243861,
0.02075114,
-0.050602447,
-0.053553108,
-0.040812872,
-0.004563872,
0.022047224,
0.007976434,
-0.0078247655,
0.0041192044,
-0.004050264,
-0.010244583,
0.0137605565,
-0.02517713,
0.028844774,
-0.018145183,
0.046989955,
-0.008714099,
-0.05005092,
0.020764928,
-0.00010912014,
0.00081048365,
-0.013491687,
-0.00291619,
-0.06033687,
-0.07627595,
0.026293969,
-0.0020992432,
-0.042577755,
-0.028031273,
0.023412248,
0.056696802,
0.019675665,
0.008920922,
0.042632904,
0.010044655,
0.030526925,
-0.020585682,
-0.033036366,
-0.044397786,
-0.02053053,
0.029258417,
-0.014229353,
-0.012650612,
-0.038579196,
-0.014739513,
0.046907227,
-0.015166946,
-0.013381382,
0.022116164,
0.009631011,
0.015194522,
0.029865095,
-0.010513451,
-0.011912947,
0.035021856,
0.025935477,
-0.00426398,
0.02724535,
-0.062873885,
-0.015773624,
-0.005742757,
-0.011092553,
-0.04494931,
-0.015994234,
-0.032402113,
0.013257289,
0.03416699,
-0.01668364,
-0.019000046,
0.05013365,
-0.015029064,
0.012492048,
-0.071698286,
-0.014739513,
0.003850336,
-0.012595459,
0.016973192,
-0.027865816,
0.08256334,
-0.036345515,
-0.014043213,
0.03204362,
-0.0154427085,
0.03107845,
0.016862886,
0.019413691,
0.03063723,
0.04097833,
0.024666969,
0.063701175,
-0.0059909434,
0.04318443,
-0.02975479,
-0.042550176,
0.023164062,
-0.0031488647,
-0.006242577,
0.07004371,
-0.006473528,
-0.039378908,
-0.0019923851,
-0.025342587,
-0.030995721,
-0.008038482,
-0.022709055,
0.02531501,
-0.005953026,
0.008583113,
-0.0019975556,
-0.027410807,
0.01118907,
0.015180734,
0.018324427,
0.03587672,
-0.01535998,
0.013098726,
-0.020640835,
0.042715635,
0.010892625,
0.031299062,
0.011616502,
-0.0050499034,
0.0360146,
-0.013684722,
0.000752315,
-0.0058392743,
0.02400514,
0.015966658,
0.03943406,
0.04539053,
0.05476646,
0.019951427,
0.005853062,
0.01771775,
-0.028031273,
-0.030361468,
0.00044897606,
-0.010079125,
-0.0032936402,
0.00089536683,
0.029175688,
-0.013264184,
-0.019165505,
0.015842564,
-0.01100293,
0.064363,
-0.004901681,
-0.0045087193,
-0.019661877,
0.031133603,
-0.038937688,
0.005005092,
0.018586403,
-0.040647414,
-0.033477586,
0.089291945,
-0.011030506,
0.017896997,
0.02400514,
-0.011340739,
-0.0010668568,
0.064804226,
-0.01587014,
0.026445638,
-0.006673456,
0.018558826,
-0.05476646,
0.035849143,
0.01875186,
-0.05928897,
-0.019813547,
0.03402911,
-0.010906413,
0.012533412,
0.0397374,
0.004377732,
0.07103646,
0.0035642323,
0.007604155,
-0.023315731,
0.0013926014,
0.046190243,
0.007707566,
0.04955455,
0.033863652,
0.029065384,
0.006769973,
0.0587926,
-0.01727653,
0.010616862,
0.036593705,
0.03582157,
0.020020368,
0.012947056,
0.016076963,
-0.0029454897,
0.016642276,
0.052394904,
-0.019841123,
-0.017841844,
-0.0030816477,
-0.021054478,
-0.077875376,
0.0047465647,
-0.04836877,
0.017841844,
0.012878115,
-0.034883976,
-0.012505836,
0.0034677153,
0.008031587,
0.027562477,
-0.02266769,
-0.0067044795,
0.024639392,
-0.00074283563,
0.010099807,
0.0054497593,
0.046383277,
0.010472086,
0.016793946,
0.04916848,
0.0016959403,
-0.0425226,
-0.026293969,
-0.057634395,
-0.045638718,
-0.025163341,
0.0073283925,
-0.024542876,
0.025011672,
-0.023150275,
-0.010830578,
-0.04417718,
-0.0076110493,
0.03904799,
-0.026307756,
0.015594378,
-0.016490607,
0.021040691,
-0.014670573,
-0.010975353,
-0.0043122387,
0.036731586,
0.007797189,
-0.03844131,
-0.02599063,
-0.0050430093,
0.045942057,
-0.012843645,
-0.0027352208,
-0.021964494,
-0.018779436,
0.0042984504,
-0.010478981,
0.017952148,
0.017207589,
0.025273647,
-0.013271078,
0.04630055,
0.012609247,
-0.040730145,
0.060998697,
0.037779484,
-0.02229541,
0.01632515,
0.01912414,
0.036235213,
-0.04075772,
0.038717076,
0.015084217,
-0.02945145,
-0.050106075,
-0.040233772,
-0.026473215,
0.007397333,
0.0135606285,
-0.0025852749,
0.011968099,
0.07770991,
-0.028651739,
-0.07671717,
-0.014656785,
-0.058406528,
-0.015539225,
-0.002959278,
-0.030168435,
0.0039399588,
0.012016358,
0.03965467,
-0.023494978,
-0.013719192,
-0.007597261,
0.026197452,
0.0146292085,
-0.0033815396,
0.06276358,
0.04202623,
0.023743164,
0.01354684,
0.031905737,
-0.036510974,
-0.034304872,
-0.0078799175,
0.018820802,
0.02746596,
-0.0014985977,
0.005918556,
-0.0068113375,
0.050299108,
-0.0060909074,
0.0029317017,
0.043763533,
0.02199207,
0.027410807,
0.017814267,
0.0046362597,
-0.010830578,
-0.0253288,
-0.012547201,
-0.018779436,
0.036952194,
0.052974004,
-0.04754148,
0.019220656,
-0.0074869557,
-0.024446359,
0.024942731,
-0.022267833,
-0.054242514,
0.054297667,
0.035545807,
0.031216333,
-0.03204362,
-0.018131394,
0.028155366,
0.020682199,
-0.0019372326,
0.020047944,
0.0163803,
-0.019427478,
0.0026473214,
-0.026900647,
0.01971703,
0.018848376,
0.022819359,
0.025011672,
-0.0045328485,
0.0052670664,
-0.01868292,
0.015525437,
0.045087192,
0.0093276715,
0.030196011,
0.009775786,
-0.03824828,
0.018283064,
-0.0005411842,
-0.0050636916,
-0.056448616,
-0.014642997,
-0.009961925,
0.026445638,
0.038110398,
-0.016490607,
-0.008610689,
-0.025935477,
0.03367062,
-0.01676637,
-0.027300503,
-0.016642276,
-0.021661157,
-0.009948137,
0.017524716,
0.0047431174,
-0.036345515,
-0.041226517,
0.018076241,
0.046107516,
-0.019813547,
-0.00022664243,
-0.04431506,
0.012505836,
0.0253288,
-0.0020561554,
-0.026473215,
-0.013009103,
-0.029037807,
-0.055290412,
0.017166225,
0.031216333,
-0.014112154,
-0.019648088,
-0.06976795,
-0.017841844,
-0.015759835,
-0.032402113,
0.0038675712,
-0.008872664,
-0.014642997,
-0.01018943,
-0.00041795278,
0.018724283,
-0.007852341,
0.031023297,
-0.06121931,
-0.0006364085,
-0.03491155,
-0.014932548,
-0.052008837,
0.011264904,
0.0146292085,
0.04991304,
0.038827382,
0.0016442348,
-0.0047086473,
0.081625745,
0.0015606442,
-0.028375976,
0.014422387,
-0.0135606285,
-0.01698698,
0.04172289,
0.01615969,
0.009086379,
-0.0032539992,
0.015759835,
-0.012588565,
-0.0052808546,
-0.022709055,
-0.016132114,
-0.011519984,
-0.008231515,
0.0027852028,
-0.0774893,
0.002392241,
-0.003836548,
-0.01166476,
-0.0035573381,
-0.045638718,
-0.014043213,
-0.03609733,
-0.033477586,
-0.008521066,
-0.0015727088,
0.01181643,
0.025190918,
-0.00623913,
-0.0052636196,
-0.0005131771,
-0.020047944,
0.017814267,
0.031354215,
0.06392178,
0.055621326,
-0.05256036,
0.009610328,
0.0261423,
-0.038827382,
-0.023012392,
-0.04260533,
-0.006208107,
-0.0033522397,
0.025053037,
-0.033256974,
0.050023343,
0.008948498,
0.018076241,
0.03154725,
-0.021013115,
-0.01654576,
-0.052367326,
-0.020034157,
0.016876673,
-0.023370884,
-0.055042226,
0.011974993,
-0.0015063535,
0.029285993,
0.024818638,
0.038799804,
0.02953418,
-0.017759115,
-0.034387603,
0.029120537,
-0.003853783,
0.033560313,
-0.05846168,
-0.027121257,
0.024529088,
0.014532692,
0.006749291,
0.010334205,
-0.028844774,
-0.07462137,
0.03521489,
-0.042274415,
-0.015125581,
-0.0078109773,
0.014794666,
-0.01993764,
0.03309152,
-0.0062873885,
0.029120537,
-0.00013605009,
0.04983031,
0.03772433,
0.03416699,
-0.044397786,
-0.041833196,
0.027893392,
0.036704008,
0.008052269,
-0.0013564075,
-0.04820331,
0.003079924,
-0.024763485,
0.038579196,
-0.0112097515,
-0.016476817,
-0.04489416,
0.024680758,
0.038937688,
-0.024928944,
0.016780157,
-0.064804226,
0.041171364,
0.0332294,
0.05027153,
-0.047817245,
-0.0014977359,
-0.018407157,
-0.031464517,
0.022033436,
-0.013229713,
0.021426758,
0.012064616,
0.008252197,
0.08041239,
-0.06921642,
0.05757924,
0.05846168,
-0.029285993,
0.026514579,
-0.033725772,
0.015952868,
-0.005811698,
0.03138179,
-0.022943452,
-0.017290318,
-0.0069526657,
0.014739513,
-0.022267833,
-0.0774893,
0.0026180216,
0.010451404,
0.02575623,
-0.015456497,
0.059344124,
0.009472447,
-0.04660389,
-0.051209126,
0.048534226,
-0.024598029,
-0.003162653,
0.06254297,
0.0099963965,
0.0006872522,
0.017111072,
-0.037476145,
0.0010005013,
0.00039059194,
0.06833398,
-0.009217367,
-0.035600957,
0.009520706,
0.031464517,
-0.018338216,
-0.07660686,
0.011912947,
0.038413737,
-0.015125581,
0.0105754975,
-0.007941964,
0.0073214984,
0.0009427636,
-0.0075490028,
0.0054635475,
-0.010320418,
-0.009534494,
0.023122698,
-0.013822603,
-0.06463876,
0.020516742,
0.03262272,
-0.0055393823,
-0.01846231,
-0.007631731,
0.04938909,
0.0017278254,
-0.009065697,
0.03907557,
-0.011706124,
-0.020806292,
0.006339094,
-0.0013710575,
0.028403552,
-0.006139166,
-0.008500383,
-0.011064976,
-0.05176065,
-0.02244708,
0.0057944627,
0.055262834,
-0.019648088,
0.028238095,
0.011726807,
0.0049223634,
0.040785298,
0.04599721,
-0.012119768,
-0.074180156,
0.007997117,
-0.02909296,
0.00338671,
-0.01676637,
0.030830264,
0.022750419,
0.031712703,
-0.02385347,
-0.03477367,
0.0029385958,
0.028513858,
-0.029120537,
0.016104538,
-0.052229445,
0.06166053,
-0.0051464206,
0.026528368,
0.0074455915,
-0.007597261,
-0.014973911,
0.021495698,
-0.021730097,
-0.013891543,
0.008851981,
0.037531298,
-0.018503673,
0.04186077,
-0.027231561,
0.01860019,
-0.015484073,
0.005660028,
0.012795387,
0.042053804,
0.025439104,
-0.021509487,
0.010982247,
0.022529809,
-0.006890619,
-0.063976936,
0.011313163,
0.031326637,
0.0067182677,
-0.024708334,
-0.028486282,
0.020640835,
-0.064914525,
-0.018186547,
0.013078043,
-0.011437256,
-0.030499348,
0.031299062,
0.010451404,
0.042246837,
0.025163341,
0.018738072,
0.04392899,
0.043239582,
0.028624164,
-0.017359259,
0.0022578067,
0.030747535,
-0.020392649,
-0.007797189,
0.044232327,
0.019399902,
-0.036952194,
0.035407923,
0.009162214,
0.015139369,
-0.050216377,
0.00019841985,
-0.00030096908,
-0.004781035,
0.014050107,
-0.025411528,
0.019827334,
-0.0014529245,
-0.023053758,
0.018724283,
-0.050850634,
-0.061991442,
0.039406482,
-0.023798317,
-0.012878115,
-0.06248782,
-0.047596633,
0.014367234,
-0.019027622,
0.0010651333,
0.0065148924,
0.02738323,
0.0069354307,
-0.0020044497,
-0.007817871,
-0.038882535,
0.00019227981,
0.0041812514,
-0.05708287,
-0.05818592,
0.011961205,
0.031850588,
-0.021399181,
0.021523274,
-0.0364834,
-0.013484794,
0.0149877,
0.03640067,
-0.034277298,
0.013981166,
-0.05211914,
-0.023894833,
-0.019910064,
-0.017883208,
-0.019137928,
0.052091565,
0.022819359,
-0.0063632233,
-0.016476817,
0.0054876767,
0.024818638,
-0.01793836,
0.014918759,
0.01793836,
0.034222145,
0.016366513,
-0.023756953,
0.0046052365,
0.018944895,
0.014119048,
0.08057784,
0.0054635475,
0.05573163,
0.015111793,
-0.013436535,
-0.028982654,
0.06149507,
0.01469815,
-0.018848376,
0.015746048,
-0.033284552,
0.021275088,
-0.007280134,
0.024928944,
0.01690425,
-0.019137928,
-0.00016341092,
-0.0050533507,
0.0027300501,
0.037669178,
0.05664165,
-0.06557636,
0.0032712345,
-0.018476097,
-0.0019510208,
0.03041662,
0.0023164062,
-0.022240257,
0.034222145,
0.014642997,
0.04075772,
0.028155366,
0.012140451,
0.0275349,
-0.009844727,
0.026569732,
-0.03874465,
-0.0041743573,
-0.066569105,
-0.052174293,
-0.05928897,
0.0010151513,
0.0053739245,
-0.03535277,
0.030444197,
-0.005660028,
-0.02037886,
-0.046079937,
-0.006969901,
-0.04119894,
-0.034056686,
0.023825893,
-0.016132114,
-0.03491155,
0.012540307,
-0.039902855,
-0.021881767,
0.023467401,
0.04660389,
-0.01786942,
0.032098774,
0.008851981,
0.028458705,
0.0012960845,
0.032870907,
0.017993513,
-0.03138179,
0.009362142,
0.009527599,
-0.021867977,
-0.059178665,
-0.062598124,
0.017841844,
0.02015825,
0.015277251,
-0.016793946,
-0.024308478,
0.00031583442,
-0.053608257,
0.011409679,
0.07434561,
0.014325869,
-0.011968099,
-0.03551823,
-0.0077282484,
-0.057689548,
-0.010740955,
-0.03794494,
0.02665246,
-0.02022719,
-0.027976122,
-0.02059947,
-0.021647368,
0.0018631214,
-0.0112993745,
-0.013498582,
-0.023343308,
0.02037886,
-0.014932548,
0.06734124,
-0.00095310464,
-0.011313163,
-0.07826144,
0.039296176,
0.0408956,
-0.02400514,
0.063149646,
0.039103143,
-0.0023336415,
-0.035270043,
0.01078232,
-0.013808815,
0.017386835,
-0.017248955,
-0.018489886,
0.0028713786,
-0.06430785,
-0.020902809,
-0.041309245,
0.015553013,
0.0046741767,
-0.019979004,
-0.018669132,
-0.009355248,
-0.08405246,
0.0044156495,
-0.016669853,
0.03278818,
-0.016338937,
-0.030444197,
0.001586497,
-0.023963774,
0.22105134,
0.050823055,
0.044976886,
0.019317174,
-0.016449243,
0.07462137,
0.023233004,
0.01380192,
0.036428247,
-0.0518158,
0.0010263541,
-0.044480514,
-0.005529041,
0.012464472,
0.0038779122,
0.039682247,
-0.05167792,
-0.022722842,
-0.040647414,
-0.026349122,
-0.05413221,
0.0386895,
0.026362909,
0.02975479,
0.006152954,
-0.03138179,
-0.009955032,
-0.028141579,
0.056228004,
-0.007190511,
-0.007156041,
-0.02605957,
0.023756953,
0.0023008946,
-0.017855631,
0.042632904,
0.0086934175,
-0.024087867,
-0.02568729,
0.03493913,
-0.009369036,
-0.011120128,
-0.006059884,
0.00072775484,
-0.02717641,
0.04431506,
-0.019468844,
0.004377732,
0.048561804,
-0.05140216,
0.035766415,
-0.07164314,
0.03358789,
-0.043018974,
-0.04842392,
-0.012567882,
-0.046631463,
-0.054159783,
-0.030030552,
0.00014445223,
-0.0010823684,
0.035490654,
-0.033836078,
0.056972563,
-0.00827288,
0.014960124,
0.038717076,
0.0075214263,
-0.013567522,
-0.006166742,
0.038386162,
-0.0015994234,
-0.012347273,
-0.012609247,
-0.014077683,
0.023894833,
0.010458299,
0.048865143,
-0.0108650485,
-0.02878962,
0.0013667486,
-0.018296853,
-0.02229541,
-0.006763079,
0.04213653,
0.041391972,
-0.021316452,
0.022405716,
-0.024860002,
0.038854957,
0.0060736723,
0.053442802,
0.0589029,
0.003833101,
-0.04111621
] | Feel free to check out the API reference for these other [Trainer]-type classes to learn more about when to use which one. In general, [Trainer] is the most versatile option and is appropriate for a broad spectrum of tasks. [Seq2SeqTrainer] is designed for sequence-to-sequence tasks and [~trl.SFTTrainer] is designed for training language models. |
[
0.030153887,
0.0035863998,
-0.07279689,
0.00072035653,
-0.015105072,
-0.020885505,
-0.018072642,
-0.01881805,
0.022910766,
0.055385265,
-0.011089711,
0.016905304,
0.05015334,
-0.03150406,
0.036314055,
0.02419062,
-0.026764387,
-0.039914522,
-0.05018147,
0.017453812,
-0.0027513313,
0.020322932,
-0.07032157,
-0.025948659,
-0.025836144,
-0.0051897317,
-0.013382194,
0.0019373591,
0.03808616,
0.050434627,
-0.008494846,
0.02099802,
-0.017425684,
-0.019760361,
-0.020815184,
-0.048015565,
-0.01881805,
-0.0185227,
-0.07206554,
-0.036989145,
-0.0145425,
-0.015962996,
0.011799959,
-0.021968458,
-0.08371079,
0.019760361,
0.039492592,
-0.013656449,
0.026131494,
-0.008438588,
0.014781593,
0.048803166,
0.013122004,
-0.029225644,
-0.032488562,
0.02037919,
-0.00510183,
-0.017341299,
-0.026806582,
-0.006103912,
0.012643818,
0.047481123,
-0.0020094388,
-0.033219907,
0.008445621,
0.02057609,
-0.008333106,
-0.009268383,
-0.02742541,
-0.02168717,
-0.03502014,
0.017664777,
-0.009830955,
-0.048268724,
-0.017074076,
0.05245989,
0.01376193,
0.005066669,
-0.026680002,
0.048803166,
0.029197514,
0.04832498,
-0.0031785348,
0.008825356,
-0.01803045,
-0.017988257,
0.032629207,
-0.02089957,
-0.039802007,
-0.023262374,
-0.0063500376,
0.015414488,
-0.024725063,
0.011392094,
0.026047109,
0.0020481157,
-0.008101044,
0.025793951,
0.023163924,
0.019282173,
0.031588446,
0.06739619,
-0.005555404,
0.042952415,
-0.03094149,
0.0019619716,
0.003187325,
-0.0041560046,
-0.03251669,
-0.025357956,
-0.010372431,
0.027115997,
0.0042790673,
-0.007840855,
0.0006056445,
0.013480645,
-0.0041735847,
-0.024035912,
-0.03791739,
0.016216153,
0.003997781,
-0.031672835,
-0.000031809523,
-0.04835311,
0.018691473,
-0.029281901,
-0.025976786,
0.019450946,
-0.017960127,
-0.043880656,
-0.019619716,
-0.0029869084,
0.0045603537,
0.033726223,
0.0032646786,
-0.009373865,
-0.008058852,
-0.0038852666,
0.040899023,
-0.04238984,
0.016778726,
-0.014683143,
-0.002870878,
0.09574985,
0.021560593,
-0.012594593,
-0.01933843,
-0.04832498,
-0.029760087,
0.01157493,
-0.057157367,
0.017425684,
0.010520106,
0.008994129,
0.0036074964,
0.019071208,
-0.026244009,
0.060701575,
0.017875742,
0.006279716,
-0.0067614187,
0.0017545231,
-0.03150406,
0.022066908,
0.012552399,
0.01023882,
-0.020435447,
-0.05389445,
0.034120023,
-0.022559159,
0.023388954,
0.008319042,
0.010871714,
-0.00890271,
0.06222052,
0.024345327,
0.07465337,
0.012946201,
0.012404724,
0.006677033,
-0.021757493,
-0.027439475,
0.014950365,
0.011167064,
0.0075736325,
0.017285042,
-0.023698367,
0.016609954,
-0.04160224,
0.013860381,
0.0107592,
0.025962722,
-0.044133816,
0.01800232,
-0.0053796,
-0.016891241,
-0.013550966,
0.00041204042,
0.029197514,
-0.047002934,
-0.003899331,
0.028606813,
-0.014050249,
0.014401857,
0.07532846,
-0.009563733,
0.020969892,
0.034710724,
0.023796817,
-0.040702123,
0.046159077,
-0.021138662,
-0.0023065475,
0.011167064,
0.020421382,
0.036201544,
-0.035132654,
0.008150269,
0.031082133,
-0.00942309,
0.03071646,
0.014169795,
0.033669967,
0.009401994,
0.024767255,
-0.03563897,
-0.042333584,
0.051925443,
0.036735985,
0.014640951,
-0.010625589,
0.052094217,
-0.020210419,
0.0651459,
-0.030350788,
0.006234007,
0.0068036118,
0.04714358,
-0.011392094,
0.02040732,
0.016722469,
0.002965812,
0.0009985663,
0.017721035,
0.008888646,
-0.021855943,
0.012531303,
-0.010449785,
-0.042671125,
0.0128969755,
-0.07302191,
0.04503393,
0.0033613709,
-0.039408207,
-0.039745748,
0.00019008799,
0.004788899,
0.029563187,
-0.018536765,
0.020308869,
-0.0027355088,
0.0356671,
-0.016525568,
0.012003891,
0.0368485,
0.033304293,
-0.004574418,
0.038986277,
0.043261826,
-0.022784188,
-0.024795385,
-0.019971324,
-0.04320557,
-0.018016385,
-0.038620606,
-0.0006632203,
0.013079812,
-0.027537925,
-0.012826654,
-0.04953451,
0.05096907,
0.034120023,
0.010070048,
0.034345053,
0.0063465214,
-0.010717006,
-0.035976514,
-0.017932,
-0.02846617,
0.006778999,
-0.031391546,
0.00539718,
0.0077916295,
-0.02158872,
0.031419676,
0.00020733874,
0.025653308,
-0.019985389,
-0.03729856,
0.020716734,
-0.012067181,
-0.02807237,
0.026694067,
-0.0154285515,
-0.0219122,
0.008853485,
0.037833,
-0.0508003,
0.038226802,
0.026201816,
-0.009739537,
0.031982247,
0.024514098,
0.0015787191,
-0.05918263,
0.027397282,
0.023684304,
-0.016103638,
-0.06047655,
-0.06357069,
0.0024313682,
-0.021532463,
-0.019366559,
-0.06289561,
-0.03113839,
0.049872056,
-0.036201544,
-0.05445702,
0.0254986,
-0.028156755,
-0.04365563,
-0.02663781,
-0.007313443,
0.018367993,
-0.007313443,
0.02817082,
-0.034795113,
0.020843312,
0.00009097852,
0.025189186,
0.009352769,
-0.009212125,
0.07718495,
0.031588446,
0.014472178,
-0.015470745,
0.019521266,
-0.017355362,
0.005249505,
-0.015470745,
0.022460708,
-0.019169658,
0.0348795,
0.04196791,
0.020815184,
0.043064926,
-0.03482324,
0.029394414,
0.028016113,
0.02755199,
-0.02386714,
-0.002021745,
0.03831119,
-0.029281901,
-0.01627241,
-0.011870281,
-0.008874582,
0.019000888,
0.039633233,
-0.058732573,
0.040392708,
-0.025948659,
-0.0023188537,
-0.008797228,
-0.008375298,
-0.012172664,
0.037186045,
0.057523042,
0.043289956,
-0.01711627,
-0.021659043,
-0.010168498,
0.026145559,
0.031222776,
0.035751484,
0.000022414999,
0.021659043,
0.034091894,
0.010583396,
-0.034176283,
0.01743975,
0.0032875333,
0.017130334,
-0.01555513,
-0.016328668,
-0.046581004,
0.032432307,
0.04438697,
0.0442182,
0.0026757356,
0.018508635,
-0.052178603,
-0.00063948677,
-0.013839284,
0.024021847,
-0.022263808,
-0.061545435,
0.035976514,
0.03622967,
0.021068342,
-0.03603277,
0.015962996,
-0.0181289,
0.030547688,
-0.0007537593,
-0.0072009284,
-0.022559159,
-0.013705674,
-0.06098286,
0.010273981,
-0.021574657,
-0.08793008,
-0.014978494,
0.020885505,
0.07583478,
-0.028634941,
-0.010674814,
-0.016061446,
0.012503174,
0.0056362734,
-0.043318085,
-0.009029289,
-0.011420222,
-0.004817027,
-0.04134908,
-0.004352905,
0.04101154,
-0.0070708334,
0.010463849,
-0.065652214,
-0.03195412,
0.0065926467,
0.003097665,
-0.004584966,
-0.029197514,
-0.006684065,
-0.007777565,
-0.0054428894,
0.011560866,
-0.0031486482,
0.034570083,
-0.040195808,
0.023388954,
-0.016244281,
-0.0032049054,
-0.04959077,
0.008544071,
0.058226258,
0.03237605,
0.04222107,
-0.0506034,
0.017917935,
0.040448964,
-0.05878883,
-0.008304977,
0.016525568,
-0.032010376,
-0.017285042,
0.027959855,
-0.016258346,
-0.01516133,
0.04241797,
-0.010555267,
-0.023135796,
-0.0053514712,
-0.039295692,
0.002964054,
0.003913395,
0.011378029,
0.01731317,
-0.038930018,
0.03316365,
-0.028634941,
0.010175531,
0.019000888,
-0.11071427,
-0.0071587353,
-0.0058050454,
-0.002019987,
0.041658495,
-0.0015180669,
-0.00046983597,
-0.01881805,
-0.022587286,
0.006286748,
0.0002309624,
-0.0022239196,
0.0021606302,
0.06390824,
0.02833959,
-0.036342185,
-0.067452446,
-0.019155595,
0.03670786,
-0.06019526,
0.00029095548,
-0.030857103,
0.00683174,
0.007805694,
0.008874582,
-0.014978494,
-0.014415921,
-0.008262784,
0.0039239433,
0.01284775,
-0.049281355,
-0.0032470983,
0.00727125,
-0.025568921,
0.07650986,
0.004483,
-0.06548344,
-0.021771558,
0.00932464,
0.013515805,
0.025259506,
0.068127535,
-0.020913634,
0.0041735847,
-0.033557452,
0.023121731,
-0.045849662,
0.012200791,
-0.046834163,
-0.044161946,
0.012271114,
0.026609682,
0.04871878,
-0.058395028,
0.032797977,
-0.067902505,
0.0221091,
-0.080616646,
0.01014037,
0.0037411074,
-0.0040540383,
-0.041742884,
0.025456406,
-0.0010557026,
0.006286748,
0.004219294,
0.05369755,
-0.012784461,
0.024303133,
-0.060926605,
-0.0030712944,
0.01604738,
0.014247149,
-0.020590154,
0.0073837643,
0.01555513,
0.024795385,
0.006251587,
0.023121731,
-0.04154598,
0.014472178,
-0.030744588,
0.014683143,
0.033079267,
-0.020533897,
0.019704103,
-0.026595617,
0.018157028,
0.026469037,
0.03127903,
-0.033473067,
0.018367993,
-0.0021360177,
-0.093330786,
0.015119137,
-0.0016103638,
-0.019197788,
-0.000538839,
0.0080729155,
0.050434627,
-0.0352733,
0.03296675,
0.06424578,
0.008487813,
0.0016833225,
-0.06441455,
0.039042532,
0.023923397,
0.04317744,
0.0008082585,
-0.0012464498,
-0.02742541,
0.00042698375,
0.039830137,
-0.047002934,
-0.020055711,
0.014190892,
0.01555513,
-0.02243258,
0.049872056,
-0.024218747,
-0.039070662,
-0.02970383,
0.0020815183,
0.031616576,
-0.005794497,
0.024204683,
0.027833275,
0.012446918,
0.025920529,
-0.011272547,
-0.0027073803,
0.013993992,
0.04871878,
-0.022221616,
-0.028494298,
0.016736533,
0.04098341,
-0.037748616,
-0.07594729,
0.012833686,
0.0049576703,
0.009627023,
-0.017791357,
-0.0034703694,
0.009134771,
-0.030407045,
-0.016356796,
0.0119124735,
-0.023613982,
-0.009978631,
0.017932,
-0.017594457,
-0.046159077,
-0.02386714,
0.05693234,
-0.052206732,
-0.026876902,
-0.0175382,
-0.02240445,
-0.029197514,
-0.05389445,
0.04123657,
-0.016469311,
0.02673626,
0.033473067,
0.013550966,
0.034682598,
-0.009120707,
0.015597324,
0.017060012,
-0.045680888,
-0.050659657,
-0.029760087,
0.0010873473,
-0.02856462,
0.027777018,
-0.0028075885,
0.002513996,
0.0051299585,
0.014064313,
-0.019408753,
-0.090349145,
-0.036567215,
-0.048803166,
-0.051391,
0.047790535,
0.00029117524,
-0.015498873,
-0.015372294,
0.005703079,
-0.028100498,
-0.023796817,
0.0050068954,
-0.052178603,
-0.0039661364,
-0.07589103,
0.025428278,
-0.07656612,
-0.008966,
-0.05243176,
-0.026286202,
0.007049737,
0.029619444,
-0.016356796,
0.004011845,
-0.011385062,
0.027172253,
-0.00792524,
0.016792791,
-0.0213215,
-0.0016033318,
0.0016015737,
0.058282513,
-0.023487404,
0.03831119,
0.029675702,
-0.026398716,
0.023431147,
-0.00922619,
0.0085089095,
-0.023079539,
0.0187196,
0.056763567,
-0.01258756,
-0.040420838,
-0.0015075186,
0.020196354,
-0.052375503,
0.0016938708,
-0.016244281,
-0.012756332,
-0.041658495,
0.051334742,
0.0004671989,
0.024303133,
-0.012882911,
0.044583872,
0.027214447,
0.037354816,
-0.016933434,
0.039380077,
0.005203796,
0.016258346,
-0.04163037,
-0.0031820508,
0.04790305,
0.042305455,
-0.015484809,
0.042868026,
-0.008459684,
-0.019000888,
-0.003284017,
0.016638083,
-0.01803045,
0.020547962,
0.0044654193,
-0.0076087937,
-0.005376084,
-0.012889943,
-0.08174179,
0.019380623,
-0.052403633,
0.020013519,
-0.012017956,
-0.039126918,
-0.017130334,
-0.033416808,
-0.0143807605,
0.022123165,
-0.01545668,
0.004897897,
-0.02520325,
-0.019633781,
-0.013937734,
0.00188286,
-0.022165358,
-0.038873762,
-0.0041032634,
0.0037551716,
-0.012664914,
-0.032010376,
-0.028859971,
0.046862293,
-0.0034826756,
0.005369052,
-0.02262948,
-0.045821533,
-0.0046060625,
0.039464463,
-0.05712924,
0.030688332,
-0.04154598,
0.02040732,
-0.04157411,
0.02537202,
-0.04120844,
0.036314055,
0.016525568,
0.0032629208,
0.017988257,
0.04182727,
0.00060388644,
-0.023318632,
0.0038325253,
0.010351335,
0.032601077,
0.012214856,
0.018466443,
-0.019704103,
0.03170096,
0.020266676,
0.04871878,
0.0152035225,
0.048606265,
0.0189165,
-0.046384104,
-0.025737694,
-0.013192326,
0.019493138,
0.027805148,
0.03769236,
-0.06840882,
-0.0013739076,
0.013220455,
0.043121185,
0.06261432,
-0.011363965,
0.0187196,
-0.014486243,
-0.013649416,
0.025386086,
0.0022379837,
-0.029478801,
0.018593023,
-0.021251177,
0.080841675,
0.01079436,
0.040617738,
0.0035793677,
0.04056148,
0.067621216,
-0.031813476,
-0.0066735167,
0.011153,
0.02272793,
-0.02765044,
0.02188407,
-0.028423978,
0.01568171,
-0.025329828,
-0.022685736,
-0.013543934,
0.037186045,
0.020055711,
-0.035385814,
0.006866901,
-0.0108154565,
-0.0008399032,
-0.04714358,
0.017974192,
-0.03462634,
-0.010196627,
0.013614255,
-0.02188407,
-0.0047853827,
0.0054815663,
-0.026469037,
-0.00070321566,
0.019366559,
0.06970274,
0.020041646,
0.06250181,
0.025118863,
0.01627241,
0.02846617,
-0.019324366,
-0.035526454,
-0.029535057,
-0.012242985,
0.028213013,
-0.008213559,
-0.03850809,
-0.04838124,
0.043880656,
0.03727043,
-0.013185293,
-0.0012860056,
0.023824947,
0.008199494,
-0.00084517733,
0.0016042107,
0.09884399,
0.04143347,
0.019718166,
-0.020238547,
-0.023051409,
-0.046777908,
0.0014029152,
-0.0069864476,
0.051362872,
-0.012960264,
-0.034063768,
0.02188407,
-0.04587779,
-0.004486516,
-0.0026792516,
-0.027017545,
-0.010027856,
-0.031982247,
0.039830137,
0.03828306,
0.041855395,
-0.0021870008,
-0.026370587,
0.02817082,
0.03209476,
0.02129337,
0.05608848,
0.029591314,
0.0005159845,
-0.005390148,
0.007236089,
-0.0131712295,
0.004669352,
-0.025822079,
0.022671673,
-0.0025421246,
-0.03867686,
-0.024134362,
-0.014008056,
0.024204683,
-0.019085273,
0.008522973,
-0.026004916,
-0.02833959,
-0.06390824,
-0.027144125,
-0.06351444,
-0.0018582474,
-0.017270977,
-0.03870499,
-0.024317198,
-0.012524271,
0.23268,
0.02804424,
0.00077090017,
-0.0042017135,
0.04016768,
0.04894381,
0.029056871,
-0.00029513083,
0.025976786,
-0.06824005,
0.010442752,
-0.016975626,
0.036398444,
0.043121185,
-0.029253772,
0.028803714,
-0.02478132,
0.0143807605,
-0.008220592,
-0.033023007,
-0.009022257,
-0.00094670407,
-0.006677033,
0.051869188,
0.0071517034,
-0.046130948,
0.015597324,
-0.093724586,
0.068521336,
-0.01565358,
-0.0035617873,
-0.00071244536,
0.022137228,
-0.016525568,
0.014141667,
0.05918263,
-0.0049400902,
-0.008565167,
-0.0050490885,
-0.005783949,
0.009837987,
-0.043064926,
-0.003860654,
-0.016117703,
0.0053831157,
0.05530088,
-0.0049682185,
0.009957534,
0.025217313,
-0.021799685,
0.049815796,
-0.077691264,
0.0054077283,
-0.015175394,
-0.03648283,
0.011160033,
0.006764935,
-0.03589213,
-0.013853349,
0.052600533,
0.02950693,
0.01565358,
-0.015189459,
0.03729856,
0.010182563,
0.020562027,
0.010576364,
0.030238274,
-0.021335563,
-0.013023554,
0.0039802007,
-0.015301973,
-0.032066636,
-0.04404943,
0.0132837435,
0.026722195,
0.034992013,
0.030632075,
-0.006736806,
-0.04914071,
0.027087867,
0.011870281,
-0.0127493,
-0.0010970164,
0.013058715,
0.033641838,
-0.018832115,
0.0013334727,
-0.00058279,
0.030350788,
0.0031767767,
0.055413395,
0.015583259,
0.019929131,
0.018171092
] | Before you start, make sure Accelerate - a library for enabling and running PyTorch training across distributed environments - is installed.
```bash
pip install accelerate
upgrade
pip install accelerate --upgrade
This guide provides an overview of the [Trainer] class.
Basic usage
[Trainer] includes all the code you'll find in a basic training loop: |
[
0.025514327,
-0.0063169706,
-0.03018229,
-0.0025025061,
0.0027362667,
-0.01627988,
0.009676599,
-0.011097283,
0.015439068,
0.032675736,
0.017686067,
0.015163629,
0.02361525,
-0.051202618,
-0.010560902,
0.024861973,
-0.002073039,
-0.013228309,
-0.08930015,
0.0058277044,
0.007835508,
-0.020237502,
-0.05995867,
-0.05888591,
-0.06720706,
-0.020875359,
-0.03566207,
0.020483946,
0.027848309,
0.039924122,
-0.045664847,
0.004388899,
-0.025238888,
-0.024861973,
-0.023803707,
-0.015453564,
-0.025398353,
-0.007994972,
-0.071962,
-0.04119984,
-0.009618612,
0.005182598,
0.029558929,
-0.06912063,
-0.053145185,
0.03505321,
0.0050303815,
-0.014917184,
0.01362697,
-0.041808706,
0.027282935,
0.053087197,
0.03189291,
-0.005537769,
-0.02271645,
0.018294932,
-0.012539712,
-0.0018573996,
-0.041228835,
-0.0031240555,
-0.003131304,
0.012423738,
-0.018990777,
-0.05563863,
0.003375937,
0.008038463,
-0.008937263,
-0.01115527,
-0.051173624,
-0.020425959,
-0.0499269,
-0.010778354,
-0.01475047,
-0.04421517,
-0.036473893,
0.030327259,
0.022165572,
0.021716172,
-0.022948397,
0.025746277,
0.027543876,
0.04119984,
-0.00045438335,
-0.015497055,
-0.012691928,
-0.04436014,
0.04349033,
-0.014960674,
-0.021658186,
-0.02500694,
-0.012220783,
0.025064928,
-0.031718947,
0.015569539,
0.03206687,
0.0050231335,
-0.007034561,
0.029138522,
0.01137997,
-0.013916906,
0.063089974,
0.07352766,
0.006697511,
0.006697511,
-0.029892355,
-0.003356004,
0.001735989,
-0.0007026407,
-0.035024215,
-0.0024952576,
-0.009415656,
0.03792357,
-0.012496222,
-0.041402794,
-0.021730669,
0.034125414,
0.0029808998,
0.00081997394,
-0.04847722,
0.012249777,
0.039460227,
-0.011901854,
0.012481725,
-0.047056537,
0.03638691,
-0.023122359,
-0.011017551,
0.049549986,
-0.0026927763,
-0.028196232,
-0.021817649,
-0.018947288,
-0.019860584,
0.030530212,
0.0074658403,
-0.020367973,
0.014402548,
0.012554209,
0.029080534,
-0.03557509,
0.027050987,
-0.014627248,
0.006490932,
0.07526727,
0.021223282,
-0.01993307,
-0.014489529,
-0.045867804,
-0.027050987,
0.00085530983,
-0.04830326,
-0.011394467,
0.0116191665,
0.00067183503,
-0.018164461,
-0.032936677,
-0.025398353,
0.036154963,
0.01651183,
0.02402116,
-0.014141606,
0.0111625185,
-0.016308874,
0.026079701,
0.020701397,
0.046447676,
0.0009495389,
-0.023513772,
-0.008437124,
-0.058769934,
0.020353476,
-0.009944789,
0.03409642,
-0.027877303,
0.07497733,
0.03859042,
0.062394127,
0.018091979,
0.012452732,
0.009415656,
-0.004062722,
-0.0041895686,
0.007835508,
0.005389177,
0.025615806,
0.0014786712,
-0.008408131,
0.0048999107,
-0.0065489192,
0.04088091,
0.0088865245,
0.012938374,
-0.039025325,
0.01812097,
-0.024253108,
-0.0021437109,
-0.040735945,
0.025383856,
0.01286589,
-0.018251443,
0.0123150125,
0.04308442,
-0.049984887,
0.018483391,
0.03189291,
0.008248666,
-0.008582092,
0.058277044,
0.034560315,
0.012300516,
0.036821812,
0.014612751,
-0.029631412,
0.020411462,
-0.008234169,
-0.0059871688,
-0.05830604,
-0.027268438,
0.009575121,
-0.025180902,
0.025528824,
-0.001193266,
0.027601864,
0.0013482003,
0.036966782,
-0.04349033,
-0.022194566,
0.014351809,
0.01974461,
0.029297987,
0.012191789,
0.048651185,
0.008429876,
0.07584714,
-0.004178696,
-0.016453842,
0.044070203,
0.036966782,
0.02605071,
0.015555042,
0.001008432,
0.003113183,
0.019309707,
0.021846643,
-0.012836896,
-0.0119743375,
0.016758274,
0.010843589,
-0.050419793,
0.027369915,
-0.046737608,
0.054681845,
-0.007726782,
-0.004722325,
-0.039460227,
-0.0052695787,
0.0077340305,
0.008647327,
-0.045635853,
-0.0027181457,
0.017729558,
0.04366429,
0.010647883,
0.016990222,
0.031689953,
0.028558651,
-0.011466951,
0.018903797,
0.01952716,
-0.052391354,
-0.023368804,
-0.03108109,
-0.049202062,
-0.03574905,
0.0021328384,
0.010350699,
0.01160467,
-0.015192622,
-0.0006278917,
-0.04354832,
0.014098116,
0.022687456,
-0.0116191665,
0.049057093,
0.034038432,
0.00627348,
-0.012075815,
0.021817649,
-0.040475003,
0.006846103,
-0.001735989,
-0.046708617,
-0.01264119,
-0.016294377,
0.04111286,
0.023818204,
0.036357917,
-0.06714907,
-0.048825145,
0.023948675,
-0.0039793653,
0.025035935,
0.0008679945,
0.016743777,
-0.0088720275,
0.049231056,
-0.0005708106,
-0.046534654,
0.025673792,
0.045664847,
-0.006690263,
0.04380926,
0.016395856,
0.022919405,
-0.049057093,
0.02455754,
0.029645909,
-0.025021438,
-0.04038802,
-0.03345856,
-0.00953888,
0.012351254,
-0.0096113635,
-0.04494001,
0.007034561,
0.066105306,
-0.024398075,
-0.06796089,
0.0025822385,
-0.052014437,
-0.032762717,
-0.024383578,
-0.023412295,
0.028181735,
-0.026021715,
0.032994665,
-0.038822368,
-0.000559485,
-0.0009160151,
0.0211363,
0.018874804,
-0.010604393,
0.067728944,
0.045345917,
-0.0021002206,
-0.020643411,
0.02028099,
-0.022339534,
-0.008248666,
0.002406465,
0.014402548,
-0.008016718,
0.004776688,
0.0058675706,
0.05210142,
0.010386941,
-0.042852473,
0.017251166,
0.022035101,
0.030936122,
0.0006790834,
0.023557262,
0.02307887,
-0.0296894,
-0.04282348,
-0.00014723289,
0.00069448625,
0.011343728,
0.047201507,
-0.043577313,
0.040417016,
-0.04030104,
-0.03450233,
-0.0036278185,
-0.030791154,
-0.037140742,
0.02838469,
0.061234385,
0.060886465,
-0.012945622,
-0.027021993,
0.005628374,
0.02055643,
0.019672127,
0.029747387,
0.020223005,
0.019962061,
0.041605752,
-0.0048419237,
0.015424571,
0.033081647,
-0.029254496,
0.016700286,
-0.023325315,
-0.016337868,
-0.05157953,
0.0341834,
0.06946856,
0.037488665,
0.030646186,
0.029805373,
-0.040098086,
-0.009517134,
-0.0021183416,
0.007335369,
-0.029544432,
-0.04169273,
0.025296876,
0.026152186,
0.005447164,
-0.021716172,
0.017686067,
-0.019150242,
0.019266216,
-0.0038561428,
-0.012025077,
-0.017555596,
0.002335793,
-0.028471671,
0.023948675,
-0.031718947,
-0.06975849,
-0.028457174,
0.04354832,
0.045664847,
-0.00548703,
-0.02361525,
-0.019048765,
0.015540545,
0.027993277,
-0.024601031,
-0.028616639,
-0.013213812,
0.008176182,
-0.047607414,
-0.01480121,
0.0427365,
-0.029355973,
0.0046752105,
-0.03427038,
0.0064836834,
0.00544354,
-0.012822399,
0.011314735,
-0.020991333,
0.009263441,
-0.021266771,
-0.006733753,
0.0016299813,
0.007313624,
0.007610808,
-0.055522658,
0.035720058,
-0.022064095,
0.01880232,
-0.03548811,
-0.00035041428,
0.02605071,
0.013684957,
0.022412017,
-0.015989944,
0.03108109,
0.04650566,
-0.01758459,
-0.0152941,
0.017193178,
0.022122081,
-0.01736714,
0.040996887,
0.0016689415,
-0.01115527,
-0.010169489,
0.021353753,
-0.033545543,
-0.020396965,
-0.03702477,
-0.005128235,
0.0036260064,
0.009205453,
0.051173624,
-0.05932081,
0.03769162,
-0.023716727,
-0.03131304,
-0.0170917,
-0.064887576,
-0.014917184,
0.013271799,
-0.022470005,
0.03531415,
0.01875883,
-0.032530766,
-0.01488819,
-0.016265383,
0.0046135993,
0.0027743208,
-0.014721477,
0.012264273,
0.047607414,
0.024644522,
0.036183957,
-0.05514574,
-0.024383578,
0.028341198,
-0.040040098,
0.016250888,
0.0028341198,
0.010154992,
0.03287869,
0.0009377603,
-0.01066238,
0.018918294,
-0.031458005,
-0.007900744,
-0.007404229,
-0.011285741,
0.0014079994,
-0.014453287,
0.014395299,
0.060480554,
-0.009683847,
-0.04983992,
-0.0056066285,
-0.0016625992,
0.042214613,
0.0066830143,
0.042997442,
-0.024224114,
-0.02667407,
-0.0065126773,
0.053957004,
-0.009190957,
0.0115321865,
-0.035517104,
-0.028776102,
0.026500108,
0.020875359,
0.023194844,
-0.024861973,
0.022513496,
-0.040590975,
0.03360353,
-0.069294594,
0.00080457114,
0.0015339402,
-0.00065869733,
-0.031544987,
0.04296845,
0.001697935,
-0.0055667623,
0.007864501,
0.039112303,
0.029645909,
0.01182937,
-0.053725056,
0.0055885077,
0.0045556123,
0.0065380465,
-0.021310262,
0.043113414,
0.005226088,
0.0010646071,
0.01974461,
0.043258384,
-0.0011416211,
-0.028152741,
-0.03270473,
0.005722603,
0.049086086,
-0.025746277,
0.042881466,
-0.041083865,
-0.000019947225,
-0.017889023,
0.031689953,
-0.03563308,
0.0064401934,
0.028761607,
-0.060190618,
0.020875359,
-0.022426514,
-0.021020327,
0.0059980415,
-0.011756886,
0.057204284,
-0.046273712,
0.05955276,
0.07532525,
0.009328676,
0.0328207,
-0.03850344,
0.04291046,
0.034038432,
0.021165295,
0.000485189,
0.010640634,
-0.04836125,
-0.0054761576,
0.010829093,
-0.03287869,
-0.0211363,
-0.005407298,
-0.024528546,
-0.0080892015,
0.05537769,
0.022151075,
-0.020715894,
-0.022861417,
0.029254496,
-0.020643411,
0.01290938,
0.018570371,
0.02896456,
-0.001773137,
0.037111748,
-0.03832948,
-0.007705037,
-0.006469187,
0.085473,
-0.02244101,
-0.042446565,
-0.01290938,
0.043693285,
-0.021498721,
-0.05473983,
-0.011133525,
0.00980707,
-0.016294377,
0.0003205147,
-0.023977669,
0.0029374096,
-0.043200396,
0.028341198,
0.021701675,
-0.01897628,
0.0059219333,
0.0025025061,
-0.042707507,
-0.0827476,
-0.016613306,
0.039286267,
-0.028718116,
-0.030298265,
-0.0063713337,
0.02703649,
-0.010582647,
-0.047259495,
0.042069647,
-0.029529935,
0.002776133,
0.012090312,
-0.015163629,
0.042852473,
-0.017918017,
0.015714506,
0.0050847447,
-0.038648408,
-0.03795256,
-0.010408686,
-0.0055848835,
-0.018700842,
0.011032048,
0.0073969807,
-0.010314457,
0.006527174,
0.071962,
-0.036270935,
-0.08089202,
-0.0022868665,
-0.0152941,
-0.035024215,
0.050767712,
0.012967367,
-0.008879276,
0.029312484,
0.010582647,
-0.020730391,
-0.012742667,
0.014808458,
-0.01942568,
0.013612473,
-0.06535147,
0.036328923,
-0.053783044,
0.003925002,
-0.051492553,
-0.017439622,
-0.0150186615,
0.020309985,
-0.014547516,
0.00294647,
0.0016182028,
0.048825145,
-0.009343172,
0.03557509,
-0.009886802,
0.003939499,
0.0063568368,
0.022470005,
-0.044853028,
0.038213503,
0.0092416955,
-0.04505598,
0.023963172,
0.008582092,
-0.027456896,
-0.025079424,
0.0058530737,
0.04412819,
0.0006609624,
-0.028283212,
0.015946455,
0.024717005,
-0.07335369,
-0.019730113,
-0.017410628,
-0.004976019,
-0.014627248,
0.015902964,
0.024499554,
0.039924122,
-0.015888467,
0.040185068,
0.0019534407,
0.039112303,
-0.011894606,
0.01457651,
0.0014841076,
0.022238055,
-0.04111286,
0.0070997966,
0.024818482,
0.026877025,
-0.036995776,
0.024180625,
0.0039793653,
0.0000014971037,
-0.011611919,
0.039373245,
0.018512385,
0.042707507,
0.006922211,
-0.019759107,
0.013699454,
-0.031602975,
-0.021701675,
0.05311619,
-0.05766818,
-0.026079701,
0.0075890627,
-0.056073535,
-0.027775824,
-0.035343144,
-0.019686623,
0.022209063,
0.0043744026,
0.012887635,
-0.015946455,
0.000021504497,
0.00656704,
-0.011727893,
-0.0296894,
-0.054913793,
-0.025108417,
0.003823525,
-0.012938374,
-0.03629993,
-0.015685514,
0.04012708,
-0.00701644,
-0.0053384383,
-0.0014034692,
-0.010183986,
-0.0033849974,
0.035546098,
-0.012242529,
0.0092561925,
-0.03827149,
0.003167546,
-0.02950094,
0.024311095,
-0.046128746,
0.010060763,
0.015439068,
0.0012757163,
0.00016648642,
0.056566425,
0.02028099,
-0.0233833,
-0.007092548,
0.048970114,
0.043345362,
0.006099519,
0.0018039427,
0.045954783,
0.035720058,
0.013409519,
0.037662625,
0.005284075,
0.04592579,
0.010879831,
-0.033052653,
-0.056421455,
0.02712347,
0.035459116,
0.01970112,
0.024325592,
-0.031052096,
-0.014040128,
0.0020386092,
0.03458931,
0.033371583,
-0.0039684926,
0.0058313287,
-0.045403905,
-0.010328954,
0.017874526,
0.012249777,
-0.043345362,
0.013815428,
-0.0139459,
0.045867804,
0.013931403,
0.017019216,
-0.0015031346,
0.029892355,
0.03702477,
0.01178588,
0.0005554078,
0.00045596896,
0.051869467,
-0.03890935,
0.004867293,
-0.032936677,
0.020585423,
-0.033632524,
-0.060886465,
-0.0060197865,
0.026964005,
0.018106475,
-0.021281268,
-0.0019914948,
-0.008270412,
-0.010191235,
-0.04740446,
0.0019733738,
-0.06685913,
-0.02055643,
0.031023104,
-0.016439345,
-0.042359583,
0.040822923,
0.0027561998,
-0.020092534,
0.007726782,
0.038619414,
0.022035101,
0.078862466,
0.03638691,
-0.023586256,
0.045461893,
0.005689985,
-0.021716172,
-0.039924122,
0.00985056,
0.004736822,
-0.041924678,
-0.016700286,
-0.053058203,
0.027804818,
-0.003747417,
-0.000764705,
-0.04143179,
0.028558651,
0.005929182,
-0.05097067,
0.005882067,
0.07033836,
0.01462,
0.0007039997,
0.004671586,
-0.017555596,
-0.055116747,
0.0016662233,
-0.029863361,
0.045316923,
-0.021484224,
-0.040967893,
-0.042533543,
-0.0463317,
0.028558651,
0.012286019,
-0.020991333,
-0.0023738472,
0.020802876,
0.036270935,
0.06999044,
0.015801487,
-0.038706396,
-0.04088091,
0.053232167,
0.037169736,
0.0055957558,
0.095330805,
0.05227538,
0.031863917,
-0.008669073,
0.0065960335,
0.014127109,
-0.010350699,
-0.023513772,
0.029341476,
-0.014830203,
-0.023745721,
-0.03908331,
-0.03563308,
0.022470005,
-0.048651185,
0.0053638075,
-0.026210172,
-0.021585701,
-0.06813485,
-0.023977669,
-0.045722835,
0.03656087,
-0.029428458,
-0.0413738,
-0.014475032,
-0.059494775,
0.24934457,
0.025427347,
0.026500108,
-0.0055450173,
0.043751273,
0.063379906,
0.017294655,
0.016975725,
0.02487647,
-0.060074646,
0.012996361,
-0.069642514,
0.0074513434,
0.014112612,
0.000049945927,
0.0386774,
-0.05033281,
-0.019309707,
-0.018381914,
-0.038126525,
-0.036270935,
0.012583203,
0.011626415,
0.057001326,
0.03296567,
-0.06900466,
-0.0074513434,
-0.07352766,
0.066453226,
-0.03180593,
-0.016482836,
-0.020396965,
0.008487863,
-0.019454675,
0.0045918543,
0.055870578,
0.012481725,
-0.018860307,
-0.018483391,
-0.02716696,
-0.007893495,
-0.024992444,
0.033835478,
0.00059300876,
-0.0119453445,
0.003263587,
-0.024601031,
0.040272046,
0.025876747,
-0.04830326,
0.044418126,
-0.063437894,
0.010118751,
-0.019353198,
-0.05537769,
-0.010843589,
-0.0012612196,
-0.045461893,
-0.061814256,
0.033545543,
-0.00061837817,
0.017671572,
-0.02960242,
0.06796089,
-0.025021438,
-0.02937047,
-0.040503994,
0.034560315,
0.00079007435,
0.00009309649,
-0.0032690233,
-0.00064963684,
-0.023397798,
0.0028576772,
0.016946733,
0.019266216,
-0.019788101,
0.018555874,
0.0011425272,
-0.0463317,
0.017758552,
0.00084262516,
0.0032708354,
-0.022542488,
0.031052096,
0.034821257,
-0.04076494,
-0.00175411,
0.018700842,
0.0119888345,
0.0057515963,
0.048100308,
0.041982666,
0.05311619,
0.037749607
] |
The [Trainer] class abstracts all of this code away so you don't have to worry about manually writing a training loop every time or if you're just getting started with PyTorch and training. You only need to provide the essential components required for training, such as a model and a dataset, and the [Trainer] class handles everything else.
If you want to specify any training options or hyperparameters, you can find them in the [TrainingArguments] class. For example, let's define where to save the model in output_dir and push the model to the Hub after training with push_to_hub=True. |
[
0.046964582,
0.04606033,
-0.000981078,
0.0059094275,
-0.045749493,
-0.023383388,
0.010978183,
-0.0050510946,
-0.005496156,
0.035689693,
0.0326661,
0.01102057,
0.025545117,
-0.05137281,
-0.010222285,
0.049818628,
0.0016742789,
-0.006283844,
-0.054622464,
0.0016062834,
0.0053230766,
0.027141685,
-0.068440564,
-0.048377477,
-0.05470724,
-0.0015921544,
-0.0064392625,
-0.0064604557,
0.06612342,
0.013754519,
-0.039787084,
-0.016290663,
-0.000071527735,
-0.04617336,
-0.005414915,
-0.018607808,
0.026830848,
-0.006163748,
-0.046455942,
-0.028455677,
0.029105607,
0.008901229,
0.0028416822,
-0.04012618,
-0.03540711,
-0.009975028,
0.016417824,
-0.032327004,
-0.008258363,
-0.021136887,
-0.017081883,
0.036198333,
0.020924954,
-0.011133601,
-0.020656504,
-0.0049910466,
-0.025347311,
-0.022012882,
-0.023920288,
0.008449104,
0.033711642,
0.035802722,
-0.008314879,
-0.06307157,
-0.004556582,
0.004044408,
0.012885589,
0.007234015,
-0.031394497,
-0.009424,
-0.072679244,
0.028060066,
0.03201617,
-0.052277062,
-0.031790104,
0.031168431,
0.030688047,
0.004182165,
-0.020161992,
0.03170533,
0.01473648,
0.036198333,
0.011486825,
-0.011183052,
-0.014383256,
-0.038317673,
0.04817967,
-0.0045212596,
-0.05985017,
-0.01699711,
-0.029981602,
0.036989555,
-0.05216403,
0.017618783,
0.041115202,
0.018494777,
-0.0022023479,
0.02457022,
0.013048072,
-0.05292699,
0.04354538,
0.09946771,
-0.007841559,
0.016516726,
-0.021221662,
0.020260893,
0.009727772,
0.0032514213,
-0.05287048,
0.0002121548,
0.011663436,
0.0023171455,
0.04275416,
0.0056833643,
0.00790514,
0.019441415,
-0.024499575,
-0.008774069,
-0.05021424,
-0.011296084,
-0.002808126,
-0.012970363,
0.002990036,
-0.035520144,
0.03292042,
-0.04444963,
-0.023934416,
0.045212593,
-0.011267826,
-0.015895052,
-0.010596702,
0.0133306505,
0.0122074,
0.02574292,
-0.0014411515,
-0.0019868815,
-0.013090459,
-0.012073175,
-0.0044117603,
-0.024443058,
0.0099609,
0.00594475,
-0.027311232,
0.08143918,
-0.022606296,
-0.004440018,
-0.010095124,
-0.046286393,
-0.046512455,
-0.012101433,
-0.060415328,
-0.010201092,
-0.02616679,
0.00083758094,
-0.037582967,
-0.015160348,
-0.02841329,
0.07460078,
0.020303281,
0.026491754,
0.039928373,
-0.000097136435,
-0.052785702,
0.038571995,
0.0049345307,
0.056628775,
-0.057419993,
-0.027523167,
0.003987892,
-0.04447789,
-0.013231748,
0.0109499255,
0.018183941,
-0.009042519,
0.046145104,
0.017901361,
0.043460608,
0.018268714,
0.02351055,
0.002308315,
-0.019427286,
-0.0037088457,
0.0076013673,
0.0073964978,
0.0013634423,
0.019059934,
0.02043044,
0.007869817,
-0.017463364,
0.031111917,
0.016446082,
0.065219164,
-0.035378855,
-0.00069982384,
-0.03119669,
-0.016884077,
-0.009699514,
0.014990801,
0.0031013014,
-0.040380497,
-0.0166015,
0.03478544,
-0.018282842,
0.0026350466,
0.027311232,
-0.008110009,
-0.017505752,
0.023213841,
0.00055456074,
0.010865152,
0.009395742,
0.049196955,
0.0176753,
0.03198791,
0.022394363,
0.016827563,
-0.06651903,
-0.012172078,
0.031677075,
0.0042492775,
-0.0046731452,
-0.025530986,
0.027579682,
0.035237566,
0.054057308,
-0.043262802,
-0.011508018,
0.03145101,
0.0006110765,
0.05507459,
0.03746994,
0.014284354,
0.0260255,
0.04196294,
-0.008929487,
0.015951568,
0.054565948,
0.028201355,
0.044703953,
0.027424265,
-0.024598477,
0.0041609714,
0.043064997,
-0.007339982,
-0.03679175,
0.0054608337,
-0.030179406,
0.02139121,
-0.029501218,
0.04071959,
-0.03557666,
0.036057044,
0.009289775,
-0.022069398,
-0.061489128,
-0.019681606,
0.034841955,
0.031507526,
-0.026392851,
-0.020105476,
0.0029264558,
0.02310081,
-0.011938951,
0.0088164555,
0.043347575,
0.05561149,
-0.0070256134,
0.026336337,
0.022083526,
-0.025799436,
-0.015160348,
-0.03201617,
-0.09229021,
-0.013189361,
-0.039645795,
-0.026986267,
0.011797661,
-0.018565422,
-0.0015427031,
-0.009869061,
0.004637823,
0.011854177,
0.011727016,
0.008314879,
0.057278704,
0.033768155,
-0.04142604,
0.013479005,
-0.055102848,
-0.0006437496,
-0.035011504,
-0.049790367,
0.0049133375,
-0.0029176252,
0.0064427946,
0.010511928,
0.032807387,
-0.01819807,
-0.023256227,
0.015612474,
-0.011133601,
0.0044930014,
0.006181409,
0.016855821,
-0.018226327,
0.02468325,
0.033118226,
-0.014418579,
0.043884475,
0.031111917,
-0.00040973912,
0.049027406,
0.0017043028,
0.010059802,
-0.055300653,
0.033203,
0.046653744,
-0.013662681,
-0.024259383,
-0.02986857,
-0.023143196,
0.044506148,
-0.0056056553,
-0.045721237,
0.014679964,
0.06188474,
-0.025191892,
-0.05507459,
-0.011917757,
-0.06555826,
-0.027141685,
-0.040606562,
0.0021846867,
0.029246897,
-0.010596702,
0.0129350405,
-0.056091875,
-0.021744432,
-0.017081883,
-0.0046872743,
0.021136887,
-0.028088324,
0.028738255,
0.036283106,
0.0042386805,
0.0033485577,
0.03133798,
-0.02004896,
0.0041362457,
0.025968984,
0.014051227,
0.0035216373,
0.027396007,
-0.01016577,
0.03184662,
0.017435107,
-0.019738123,
0.021066243,
0.040437013,
0.023920288,
0.012737235,
0.0040691337,
0.013853421,
-0.00041879047,
-0.02735362,
-0.00869636,
-0.015428797,
0.01566899,
0.021673787,
-0.059398044,
0.028074196,
-0.011119473,
-0.03170533,
-0.007113919,
0.012963299,
-0.007170435,
0.04419531,
0.03676349,
0.061263066,
-0.016248276,
-0.029388186,
0.008046429,
-0.010504863,
0.021461854,
0.05125978,
0.003276147,
0.012454657,
0.026082015,
-0.029529475,
0.010660282,
0.006054249,
0.008477361,
-0.008562135,
-0.017053625,
-0.0171384,
-0.038148127,
0.006114297,
0.030179406,
0.029162124,
-0.0034386297,
0.0049027405,
-0.061828222,
-0.006463988,
0.0035216373,
0.00401615,
0.0081594605,
-0.047755804,
0.04620162,
0.037780773,
0.009911449,
-0.020190248,
-0.0030147617,
-0.037809033,
0.045043048,
-0.009424,
0.013111652,
-0.0155842155,
0.008858843,
0.0047473223,
-0.0089577455,
0.03902412,
-0.030857595,
-0.03518105,
0.04566472,
0.02362358,
-0.014347934,
-0.022253074,
-0.06346718,
-0.00317018,
0.0065982128,
-0.0045424527,
-0.028003551,
-0.011274891,
0.0035993464,
-0.06341066,
0.04331932,
0.051457584,
-0.013182297,
-0.02084018,
-0.027537296,
0.031761847,
0.0009466387,
0.0058670407,
0.003624072,
-0.01805678,
-0.016530855,
-0.03913715,
-0.025432084,
0.007954591,
-0.035802722,
0.0034792505,
-0.044703953,
0.01937077,
-0.04603207,
-0.021603143,
-0.018480647,
0.014241967,
0.07595716,
0.018862128,
0.0348137,
-0.043234542,
-0.009162615,
0.0036487975,
-0.044280086,
-0.035463627,
0.00010188287,
-0.002356,
-0.011133601,
0.023962675,
-0.002354234,
-0.000041696916,
0.030292438,
0.02776336,
-0.033259515,
0.0008777601,
-0.025149506,
0.014482159,
0.01029293,
-0.01579615,
0.018565422,
-0.05668529,
0.036678717,
-0.008385523,
-0.007841559,
0.016417824,
-0.04925347,
0.0074812714,
0.0023206777,
-0.041652102,
0.018664325,
0.015047316,
-0.012200336,
-0.01459519,
0.00026557985,
0.019851154,
-0.00836433,
-0.02882303,
-0.0015179776,
0.06504962,
0.025389697,
0.019399028,
-0.05482027,
-0.008795262,
0.035463627,
-0.03958928,
0.008449104,
0.03080108,
-0.014058291,
0.025771178,
-0.015895052,
-0.046258137,
0.016502596,
-0.036678717,
-0.012454657,
-0.029049091,
-0.012037853,
-0.030320697,
-0.01607873,
-0.011840048,
0.043771442,
-0.0028187227,
-0.055046335,
-0.00770027,
0.033711642,
0.0038713284,
0.022578038,
0.041849907,
-0.026774334,
-0.047162388,
-0.039391473,
0.059115466,
-0.02139121,
0.0030677451,
-0.041199975,
-0.037046067,
-0.012376947,
0.014948414,
0.013373038,
-0.04699284,
0.022747586,
-0.029246897,
-0.01021522,
-0.047897093,
-0.009565289,
-0.015372282,
0.020077217,
-0.05346389,
0.04422357,
0.010794506,
-0.02643524,
0.022606296,
0.023708355,
-0.009579418,
0.033174742,
-0.059398044,
-0.026901493,
-0.021786818,
-0.01634718,
-0.019808767,
-0.002248267,
0.0009846102,
0.017166657,
-0.006329763,
0.03944799,
-0.03173359,
-0.010299994,
-0.0150614455,
-0.00043667242,
0.040973913,
-0.017364461,
0.01751988,
0.0032567196,
0.031535786,
-0.008251298,
0.034728922,
-0.05962411,
0.038656767,
-0.04815141,
-0.08019584,
0.02670369,
-0.03000986,
0.0021175742,
0.0022588635,
-0.012595946,
0.042895447,
-0.039221924,
0.039928373,
0.079856746,
0.011055892,
0.03916541,
-0.034587633,
0.032327004,
0.023227971,
-0.01500493,
0.008562135,
-0.012165014,
-0.008653973,
0.009197937,
-0.005457301,
-0.049055666,
0.0026350466,
-0.018438261,
-0.0025149505,
0.021603143,
0.025545117,
-0.009332162,
-0.035774466,
-0.076239735,
0.017957877,
0.03328777,
0.017915491,
0.007686141,
0.025163634,
0.022253074,
0.034559377,
-0.015499443,
-0.012023725,
-0.0070008878,
0.080874026,
-0.009113164,
-0.018014394,
0.005241835,
0.031931393,
-0.036283106,
-0.029218638,
-0.020868437,
0.013245877,
-0.023680096,
-0.030772822,
-0.021546626,
0.020797793,
-0.052531384,
0.02814484,
0.0035604918,
-0.025206022,
0.018621936,
0.012645397,
-0.02043044,
-0.0725097,
0.0003775075,
0.031083658,
0.0024566688,
-0.027367748,
-0.056204908,
0.007255208,
-0.04170862,
-0.033089966,
0.037582967,
-0.0029388187,
-0.0016981214,
0.0147929955,
0.016756918,
0.09952422,
-0.006690051,
-0.008434975,
-0.0020310346,
-0.025319053,
-0.04976211,
0.011783532,
0.023114938,
-0.0020169055,
0.02814484,
-0.013436617,
0.0030995354,
0.010822765,
0.03690478,
0.005001643,
-0.051288035,
0.03851548,
-0.023072552,
-0.020826051,
0.01513209,
-0.005164126,
0.004606033,
0.063523695,
0.006446327,
-0.0232421,
0.035802722,
0.029275155,
-0.021207532,
-0.021574885,
-0.048349217,
0.027396007,
-0.080534935,
-0.026731946,
-0.053520408,
0.005983604,
0.010836894,
0.010971119,
0.011423244,
0.024089836,
0.008618651,
0.032948676,
-0.009650063,
-0.00184206,
-0.0089506805,
0.001313991,
0.029642507,
-0.002629748,
-0.054226857,
-0.018749097,
0.0076508187,
-0.010172834,
-0.013351845,
-0.010222285,
-0.0009872593,
-0.050892428,
0.021447724,
0.046258137,
0.027452521,
-0.0035375322,
-0.023906158,
0.034983244,
-0.037724257,
0.024485445,
-0.050129462,
-0.014566933,
-0.01313991,
0.03693304,
0.015598345,
0.056374453,
0.005146465,
-0.00062034855,
-0.013189361,
0.051203262,
0.010639088,
0.01804265,
-0.019992445,
-0.0052948184,
-0.025389697,
-0.023425775,
0.052898735,
0.033203,
-0.01698298,
0.021871593,
-0.016290663,
0.008717554,
0.010384767,
-0.0028363839,
0.031790104,
0.028370902,
0.010208156,
-0.024005061,
0.0025714664,
-0.011995466,
-0.051061973,
0.026929751,
-0.052107513,
-0.038685028,
0.025149506,
-0.03342906,
-0.018113295,
0.0062661828,
-0.020543473,
-0.0016636822,
0.021998752,
-0.011161859,
0.0028681739,
0.00006462884,
-0.006312102,
0.021405337,
-0.045184337,
-0.030094633,
0.015965696,
0.0012689551,
-0.024909314,
-0.026576528,
0.015372282,
0.070531644,
0.02297365,
-0.0132034905,
-0.048518766,
-0.018099166,
0.01228511,
0.031394497,
-0.029246897,
-0.0037229746,
-0.028074196,
-0.0068913884,
-0.0015656627,
0.027410135,
-0.007177499,
0.000028064702,
0.0005029018,
-0.0018703179,
0.018678453,
0.03399422,
0.030490244,
-0.04724716,
-0.012659526,
0.02044457,
0.02961425,
-0.002793997,
0.021094501,
0.004750855,
0.07550503,
-0.01540054,
0.040973913,
-0.01162105,
0.03119669,
0.012610075,
-0.057306964,
-0.03690478,
0.037215617,
-0.004302261,
0.005181787,
0.027622068,
-0.074826844,
-0.02414635,
-0.015202735,
0.011917757,
0.033937704,
-0.014581062,
-0.010045673,
-0.010794506,
-0.04088914,
0.03730039,
-0.01805678,
-0.06160216,
0.038148127,
0.0061072325,
0.05693961,
0.005630381,
0.03385293,
-0.030094633,
0.007883946,
0.04922521,
0.010257607,
0.013698003,
0.02137708,
0.066745095,
-0.035068016,
0.033909444,
-0.012786686,
-0.0021528965,
-0.010095124,
-0.053294346,
-0.020769535,
0.033344287,
0.030659791,
-0.01873497,
-0.0040726657,
-0.018918645,
0.026873235,
-0.086469084,
0.006478117,
-0.055470202,
-0.00975603,
0.006393343,
-0.012320432,
-0.035152793,
0.053181313,
-0.048518766,
0.009332162,
0.03693304,
0.06256293,
0.027113428,
0.07183151,
0.037582967,
-0.030094633,
0.032185715,
0.037413422,
-0.04461918,
-0.0101516405,
-0.0062661828,
-0.007982848,
-0.019808767,
-0.082626015,
-0.057165675,
0.0025661679,
0.0013113419,
-0.016205888,
-0.021998752,
0.021744432,
-0.01513209,
-0.039928373,
0.023779,
0.09596373,
0.00969245,
0.006255586,
0.010709733,
0.020515215,
-0.031140175,
-0.0037477002,
-0.022012882,
0.05219229,
-0.0254886,
-0.022323718,
-0.036339622,
-0.056544002,
0.011034699,
0.024994086,
-0.0023507017,
0.0029087947,
0.02123579,
0.034983244,
0.018226327,
0.0003662485,
-0.005665703,
0.007834495,
0.026449367,
0.017689427,
0.008533877,
0.05111849,
0.06273247,
0.02004896,
-0.003263784,
-0.009699514,
0.010243478,
-0.016643886,
-0.020190248,
0.02230959,
0.019865284,
-0.025714662,
-0.051740162,
-0.014623448,
-0.014164258,
-0.03450286,
0.0038642639,
-0.031677075,
-0.00033710757,
-0.07364001,
-0.028752385,
-0.0032196313,
0.041115202,
-0.04049353,
-0.053887762,
-0.0232421,
-0.05470724,
0.23646186,
0.033118226,
0.030094633,
-0.0053230766,
0.013987646,
0.03755471,
0.029049091,
-0.029783797,
0.006612342,
-0.011861241,
-0.01029293,
-0.07245318,
-0.0014817722,
0.008230105,
0.0036735232,
0.04337583,
-0.03557666,
-0.026378723,
0.012836138,
-0.008307815,
-0.054396402,
0.024103964,
0.0035128067,
0.06680161,
0.0337399,
-0.008456168,
-0.0147929955,
-0.064201884,
0.013888744,
-0.028116582,
0.020939082,
0.026830848,
0.013486069,
-0.0067430343,
0.015782021,
0.027692715,
0.03000986,
-0.031281464,
-0.03450286,
-0.024019191,
0.05241835,
-0.037102584,
-0.0031595833,
-0.026604787,
-0.002278291,
-0.0052488996,
-0.0023789594,
0.044816982,
0.050101206,
-0.05072288,
0.053068284,
-0.04620162,
0.013380102,
-0.023256227,
-0.03399422,
-0.007502465,
-0.022860618,
-0.04860354,
-0.021673787,
0.026449367,
0.04846225,
-0.01102057,
0.042358547,
0.027169943,
0.000724991,
0.021094501,
0.0015206267,
0.059567593,
-0.031903137,
0.031535786,
-0.009840803,
-0.026746076,
-0.053435635,
-0.039193667,
0.03277913,
0.05391602,
0.011642243,
0.027184073,
-0.01832523,
-0.03594401,
0.012087304,
0.00915555,
0.048010122,
-0.017152527,
0.032298747,
0.04792535,
-0.034587633,
0.019158836,
-0.026195047,
0.017915491,
0.020783665,
0.05428337,
0.0072410796,
-0.013683874,
0.013634423
] | from transformers import TrainingArguments
training_args = TrainingArguments(
output_dir="your-model",
learning_rate=2e-5,
per_device_train_batch_size=16,
per_device_eval_batch_size=16,
num_train_epochs=2,
weight_decay=0.01,
evaluation_strategy="epoch",
save_strategy="epoch",
load_best_model_at_end=True,
push_to_hub=True,
) |
[
0.017904155,
0.017398313,
-0.025119064,
-0.013631119,
-0.042810235,
-0.023881081,
0.013378198,
0.00953779,
-0.0044627273,
0.033225853,
0.0059037125,
0.018689543,
0.016280135,
-0.039801802,
0.015188581,
0.027874574,
-0.03253365,
-0.039562196,
-0.086525664,
-0.00937805,
-0.009670907,
0.01042967,
-0.089134745,
-0.028779766,
-0.04480698,
-0.0017438248,
0.0057240054,
-0.0012879012,
0.04131933,
0.012453039,
-0.029099245,
-0.004229774,
-0.0056707584,
-0.026476853,
-0.0074877976,
-0.03176157,
0.019261943,
-0.0062331753,
-0.060328353,
-0.012206774,
0.012512942,
0.0018802691,
0.018835971,
-0.04001479,
-0.06320367,
0.0077806534,
0.017784351,
-0.014216832,
-0.035036236,
-0.027395355,
0.010130158,
0.047203075,
0.038896613,
0.005021816,
-0.012839077,
-0.03237391,
-0.01947493,
0.00042451653,
-0.05047774,
-0.00075377163,
-0.02192427,
0.04975891,
-0.02257654,
-0.06607898,
-0.007441207,
-0.013977222,
0.022470048,
-0.0048321253,
-0.040786866,
-0.034051176,
-0.052288122,
0.042916726,
0.007873835,
-0.027208991,
-0.025278805,
0.048827097,
0.030403785,
-0.012299956,
0.0042697084,
0.051143322,
0.015108711,
0.060914066,
0.004106641,
0.0073413695,
-0.027248926,
-0.021311935,
0.044460878,
-0.012373169,
-0.042490754,
-0.032906376,
-0.044034906,
0.037645318,
-0.027954444,
0.019661292,
0.058411475,
0.0028420351,
-0.02402751,
0.032666765,
-0.018689543,
-0.0120071,
0.07720751,
0.10377754,
-0.016453188,
0.02297589,
-0.015681112,
0.0077939653,
0.0021697974,
-0.00019551472,
-0.061978996,
0.02257654,
-0.013624463,
0.022922644,
0.039881673,
-0.017731104,
0.005025144,
0.047362816,
-0.024200562,
0.00466573,
-0.068315335,
-0.038124535,
-0.021045703,
-0.009970418,
0.013631119,
-0.024480106,
0.044540748,
-0.05495045,
-0.019661292,
0.030457033,
0.0047256323,
-0.017584676,
0.011654341,
-0.009611004,
0.041771926,
0.016985653,
-0.0044194646,
-0.0039335894,
-0.018942464,
0.0008090981,
0.012519597,
-0.044593994,
0.0104429815,
0.015228516,
0.0013860745,
0.093607455,
0.03588818,
-0.02418725,
0.011887294,
-0.05276734,
-0.03743233,
0.011700932,
-0.06938027,
-0.01632007,
-0.014656115,
0.030164177,
-0.03596805,
-0.010609377,
-0.038444016,
0.03562195,
0.007893803,
0.021844402,
-0.010835675,
-0.0023578242,
-0.031202484,
0.03003106,
0.019275256,
0.025744712,
-0.050264753,
-0.019541487,
-0.002812084,
-0.0156678,
-0.013065374,
0.0123931365,
0.021325247,
-0.011248336,
0.053699154,
0.024080757,
0.06533353,
0.041026473,
-0.007407928,
0.006665804,
-0.016533056,
-0.022283686,
-0.035462208,
-0.009484543,
-0.02125869,
0.0064528175,
0.014349948,
0.004539269,
-0.027927822,
0.026170684,
0.025758024,
0.029471971,
-0.036260907,
-0.020965833,
-0.026490163,
0.003690652,
-0.024067445,
0.016173642,
0.012739239,
-0.026609968,
-0.016865848,
0.05915693,
-0.022669723,
-0.024746338,
0.026809644,
-0.039508946,
-0.003770522,
0.03303949,
-0.0136710545,
0.03256027,
0.026104126,
0.030217422,
0.009045259,
0.008532762,
0.024040822,
-0.0061932406,
-0.040893357,
0.011108563,
0.003218089,
-0.010935512,
0.036793374,
-0.016519746,
0.04568555,
0.043449193,
0.04901346,
-0.032507025,
-0.004243085,
0.05942316,
-0.00450599,
0.03921609,
0.026969383,
0.036314152,
0.029658334,
0.056121875,
-0.0058604497,
0.02068629,
0.041053098,
0.036793374,
0.03375832,
0.009071883,
0.011028694,
0.015894098,
0.038124535,
0.020220382,
-0.02125869,
0.0004409481,
-0.025638219,
0.0046391063,
-0.051808905,
0.031042745,
-0.04765567,
0.029152492,
0.024120692,
-0.024120692,
-0.061180297,
-0.026716461,
-0.0032779914,
0.045099836,
-0.0073147463,
-0.0054145097,
0.035994675,
0.016759355,
0.005990238,
0.0032014495,
0.032320663,
0.027208991,
0.0013003808,
0.034344032,
0.002625721,
-0.05308682,
-0.010183404,
-0.041692056,
-0.060914066,
-0.019355124,
-0.03612779,
-0.026876202,
-0.010689247,
-0.027262239,
-0.017118769,
-0.028300546,
0.016439876,
0.0056840703,
0.0018802691,
0.037139475,
0.056281615,
0.02856678,
-0.033252478,
0.00339946,
0.0009767415,
0.010403046,
-0.0010948824,
-0.02654341,
0.013990534,
-0.005850466,
0.006249815,
0.044567373,
0.034450524,
-0.03138885,
-0.0316817,
0.028620025,
-0.036899865,
0.036660258,
0.007514421,
0.042650495,
-0.009185032,
0.034237538,
0.042251144,
-0.022656411,
0.05058423,
0.042091407,
-0.009843958,
0.0057473006,
0.02711581,
0.016546369,
-0.054524478,
0.032320663,
0.035595324,
-0.033997927,
-0.052234877,
-0.04171868,
-0.029418724,
0.020233693,
-0.004722304,
-0.03383819,
-0.010835675,
0.06341665,
-0.052155007,
-0.057879012,
-0.010569442,
-0.04187842,
-0.008186659,
-0.03272001,
-0.014536311,
0.021378495,
-0.007973673,
-0.0015308385,
-0.030696642,
-0.004329611,
0.019581422,
0.005983582,
-0.0011273295,
-0.029179115,
0.05266085,
0.058145244,
0.006183257,
-0.007980328,
0.024932701,
-0.008213282,
0.0020150496,
0.023069073,
0.0061566336,
-0.0072614998,
0.020220382,
0.0031215795,
-0.011268304,
0.029099245,
-0.014576246,
0.008818962,
0.04243751,
0.0073879603,
0.033066113,
0.03074989,
0.0020766158,
-0.039508946,
-0.07007247,
-0.041665435,
-0.033385593,
0.034077797,
0.026889512,
-0.052208252,
0.03894986,
-0.0048887,
-0.01963467,
0.018929152,
-0.0064628012,
-0.035755064,
0.060168613,
0.063949116,
0.051915396,
-0.015374945,
-0.012699304,
0.0027904524,
0.0012837413,
-0.03471676,
0.06160627,
0.020247005,
0.0144165065,
0.012872356,
-0.03815116,
-0.016133707,
0.00377385,
0.021019079,
0.004875388,
-0.016546369,
-0.011035349,
-0.04302322,
0.0043429225,
0.044940095,
0.0491732,
0.0063330126,
0.03343884,
-0.0391096,
-0.022709658,
0.027555095,
-0.022762904,
-0.00111069,
-0.029285608,
0.018702853,
0.047469307,
0.021192132,
-0.016759355,
-0.0034543707,
-0.03176157,
0.005547626,
0.04041414,
-0.005021816,
0.014389883,
0.014576246,
-0.018902529,
0.01241976,
0.0041931667,
-0.066398464,
-0.045312822,
0.012326579,
0.038364146,
-0.02428043,
-0.0015949009,
-0.039003104,
0.012639402,
-0.006030173,
0.0023461767,
-0.04725632,
-0.035302468,
0.017984025,
-0.045898534,
-0.007660849,
0.060488094,
-0.028380416,
-0.014775921,
-0.05825174,
-0.0025791302,
-0.021032391,
0.0014825839,
0.015441502,
0.0120736575,
-0.014349948,
-0.011095252,
0.00034111078,
0.0127126165,
-0.019767785,
-0.00005137461,
-0.038896613,
0.023867771,
-0.042197898,
-0.019874278,
-0.06820884,
0.008672534,
0.049652416,
0.028114183,
0.025638219,
-0.0293921,
0.013378198,
0.04374205,
-0.04416802,
-0.035329092,
0.04121284,
0.0058304984,
0.0028021003,
0.027634965,
0.007654193,
-0.0071483506,
0.021644726,
-0.013737612,
0.0006031837,
-0.004805502,
-0.042064782,
-0.01550806,
0.00028266435,
-0.009051915,
0.0020100577,
-0.06512054,
-0.0038803432,
-0.014536311,
-0.013451412,
0.021325247,
-0.07773998,
0.014536311,
-0.0047988463,
-0.04975891,
0.026570033,
0.009930483,
-0.005258098,
0.013790859,
0.01241976,
0.027169058,
0.0038370802,
-0.013012128,
-0.018796036,
0.041984912,
0.019195385,
0.017251885,
-0.064481586,
-0.023548292,
0.027555095,
-0.038257655,
0.031042745,
0.0069686435,
-0.004326283,
0.01233989,
-0.0062597985,
-0.032054428,
0.026330424,
-0.034051176,
0.009850614,
0.0018952447,
-0.018822659,
-0.018396687,
-0.01687916,
-0.0039036383,
0.026609968,
-0.019581422,
-0.055536162,
-0.011873983,
-0.004469383,
0.03447715,
0.01963467,
0.0704452,
-0.0009584381,
-0.016732732,
-0.025784647,
0.045605678,
-0.012765863,
0.0034576985,
-0.06022186,
-0.01420352,
0.02329537,
0.014815856,
0.011567815,
-0.044407632,
0.0017438248,
-0.036979735,
0.009943795,
-0.044114776,
0.0021614775,
0.007947049,
0.022470048,
-0.045445938,
0.047602426,
0.003517601,
0.01590741,
-0.0016123723,
0.025664842,
0.013484691,
0.015920721,
-0.057932258,
-0.02361485,
-0.0048953556,
-0.011567815,
0.0058937287,
0.039322585,
0.0047123204,
0.012732584,
-0.0077939653,
0.017198639,
-0.029924566,
-0.0040567224,
-0.066824436,
0.007680816,
0.027248926,
-0.013724301,
0.015534684,
-0.032906376,
0.0433427,
0.00059735985,
0.05151605,
-0.038444016,
0.008299808,
-0.026796332,
-0.10159443,
0.04595178,
-0.008133412,
-0.0176113,
-0.00843958,
0.003036718,
0.06900754,
-0.0406005,
0.03596805,
0.055429667,
0.023974264,
0.03237391,
-0.050211508,
0.008992013,
-0.00013582033,
0.01124168,
-0.0026456884,
-0.03237391,
-0.019900901,
0.002662328,
-0.0014742641,
-0.05867771,
-0.021604791,
-0.0018153749,
-0.0031115958,
0.0016847544,
0.04478036,
-0.026743084,
-0.030536903,
-0.045632303,
0.017664546,
0.04286348,
-0.0022030764,
0.04983878,
0.025638219,
0.031149238,
0.04699009,
-0.029285608,
-0.01980772,
0.009817335,
0.05681408,
-0.007867179,
-0.022044076,
-0.008858897,
0.048427746,
-0.034237538,
-0.03490312,
-0.003329574,
0.03514273,
-0.02077947,
-0.006279766,
-0.03969531,
0.022776216,
-0.034849875,
0.027182369,
0.031601835,
-0.020912586,
-0.007947049,
0.015361632,
-0.024573287,
-0.061553024,
-0.0026556721,
0.03157521,
-0.00775403,
-0.02703594,
-0.032027807,
0.002361152,
-0.022416802,
-0.05990238,
0.027009318,
0.0064428337,
0.017584676,
0.0074944533,
0.0127126165,
0.073054284,
0.01584085,
-0.011554504,
-0.002559163,
-0.017970715,
-0.052714095,
-0.0036074545,
0.020646354,
-0.007740719,
0.012033722,
-0.03253365,
-0.008013607,
0.021032391,
0.051649164,
-0.011281615,
-0.08114776,
0.0067523294,
-0.03455702,
-0.018862594,
0.020366808,
0.005514347,
0.011408076,
0.0603816,
0.016253512,
-0.020034019,
0.02711581,
0.009051915,
-0.044194646,
-0.0037106196,
-0.041159593,
0.04706996,
-0.042410884,
-0.0028786422,
-0.010968791,
-0.013571217,
0.013657743,
0.020459991,
-0.013298328,
0.0010482917,
-0.021045703,
0.04068037,
-0.017864222,
0.002845363,
-0.02428043,
-0.016093772,
0.007394616,
0.009870581,
-0.021724597,
0.010389735,
0.04065375,
-0.043875165,
-0.0014817519,
0.0037072918,
-0.004865404,
-0.04084011,
0.013724301,
0.028779766,
-0.0051615885,
0.0041598873,
-0.02068629,
0.01996746,
-0.06149978,
-0.023401864,
-0.03287975,
-0.0014925676,
-0.017744416,
0.04041414,
0.038204405,
0.04195829,
-0.0020549844,
0.0010632672,
-0.0052747373,
0.020366808,
0.0056141843,
0.007095104,
0.008972045,
-0.006422866,
-0.016599616,
0.009950451,
0.02816743,
0.03676675,
0.0024510056,
0.016493121,
0.008992013,
-0.03138885,
-0.00077207515,
-0.010036977,
0.0025258837,
0.021365182,
0.03141547,
-0.022350244,
0.022802839,
-0.012213429,
-0.04515308,
0.016706109,
-0.054338116,
-0.04374205,
0.022869397,
-0.026876202,
-0.01205369,
-0.018383374,
-0.009431297,
-0.002143174,
0.0023544964,
0.0061566336,
-0.0001997786,
-0.0014942316,
-0.010183404,
-0.03229404,
-0.04818814,
-0.059103683,
0.008719124,
0.0032646798,
-0.02800769,
-0.03074989,
-0.011973821,
0.046138145,
0.027142433,
-0.008319775,
-0.026064191,
-0.029844698,
0.029338855,
0.056707587,
-0.033332348,
-0.00679892,
-0.043129712,
0.0051482767,
-0.06256471,
0.028220678,
-0.002996783,
0.026570033,
0.009058571,
0.0008619287,
0.039082974,
0.043795295,
0.029205738,
-0.009125129,
-0.029205738,
0.030723264,
0.020406744,
-0.0032463763,
0.0009542782,
-0.0023029137,
0.06522704,
0.020273628,
0.060434844,
-0.014483064,
0.026676526,
0.026809644,
-0.047469307,
-0.037618693,
0.027315486,
0.0313356,
0.005258098,
0.015987279,
-0.06480107,
-0.021165507,
0.016253512,
0.011660997,
0.039828427,
-0.008512794,
-0.005364591,
0.004106641,
-0.011068629,
0.011873983,
0.029152492,
-0.06022186,
0.043688804,
0.030776512,
0.037059605,
0.006283094,
0.026716461,
-0.03791155,
-0.0011007063,
0.031521965,
-0.016666174,
-0.0022746264,
0.01181408,
0.031628456,
-0.01996746,
0.035408963,
-0.039988168,
0.007973673,
-0.059263423,
-0.06485431,
-0.0750244,
0.012047035,
0.012539565,
-0.028992752,
0.036154415,
-0.017970715,
-0.016173642,
-0.05431149,
0.030670019,
-0.04084011,
-0.0030716609,
0.003554208,
-0.023947641,
-0.013291673,
0.022070698,
-0.04595178,
-0.0040500667,
0.02369472,
0.060754325,
0.03229404,
0.047602426,
0.015028842,
0.0016706109,
0.016679484,
0.026716461,
-0.023987575,
-0.04275699,
-0.017704481,
-0.0006248151,
0.014895725,
-0.084395796,
-0.07395947,
0.022776216,
0.011621062,
-0.01404378,
0.0041299365,
0.041106343,
0.0054977075,
-0.027395355,
0.0074145836,
0.070711434,
0.029019374,
0.010968791,
0.015321698,
0.025545036,
-0.055323176,
-0.015707735,
-0.04627126,
0.06096731,
-0.0008286496,
-0.00937805,
-0.009271557,
-0.028273923,
0.010749149,
0.0042630527,
-0.0102299955,
0.008193314,
0.02159148,
0.027102498,
0.035675194,
0.006246487,
-0.021724597,
-0.029738205,
0.054471232,
0.029525217,
-0.01233989,
0.09222304,
0.05015826,
-0.019208696,
-0.022709658,
-0.0101967165,
-0.0072681555,
-0.0008411293,
-0.0023694718,
0.01947493,
-0.02038012,
-0.03383819,
-0.04392841,
-0.03719272,
0.009744121,
0.0014709362,
0.014376571,
-0.027129123,
0.0028420351,
-0.10196716,
-0.029045999,
-0.0181837,
0.04611152,
-0.021019079,
-0.042410884,
0.028966129,
-0.044061527,
0.2013785,
0.03926934,
0.035515457,
0.0061200266,
0.016506433,
0.06437509,
0.015335009,
-0.007214909,
0.040041413,
-0.014017157,
-0.0131385885,
-0.023601538,
0.006472785,
0.018489867,
-0.03604792,
0.05713356,
-0.049306314,
-0.00031635945,
-0.017198639,
-0.0152684515,
-0.064055614,
0.03791155,
0.025292115,
0.06922053,
0.042544,
-0.03807129,
-0.025678154,
-0.054178376,
0.040733617,
-0.04515308,
0.003397796,
-0.007201597,
0.017172016,
0.010263274,
0.029471971,
0.03287975,
0.01679929,
-0.0037805059,
-0.029498594,
0.008639255,
0.00775403,
-0.038976483,
0.014456441,
-0.009311493,
0.0008253217,
0.008519449,
-0.02549179,
0.019022334,
0.038018044,
-0.025212247,
0.022190504,
-0.04717645,
0.055642657,
-0.03684662,
-0.035408963,
-0.00071508466,
-0.0375122,
-0.0534063,
-0.034770004,
0.015760982,
0.031069368,
0.012213429,
0.0058171866,
0.0564946,
0.0028387073,
0.03847064,
0.015800918,
0.035275847,
-0.01915545,
0.007614258,
0.0067523294,
-0.012599467,
-0.020566484,
-0.05984913,
0.0007417079,
0.019022334,
0.0031232436,
0.03375832,
-0.0036107823,
-0.042890105,
0.040387515,
-0.005394542,
0.02028694,
-0.012413104,
0.061553024,
0.047868658,
-0.008093477,
0.020073954,
0.007168318,
0.023921017,
0.0026706478,
0.025584972,
0.029285608,
0.002291266,
0.028593402
] | from transformers import Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=dataset["train"],
eval_dataset=dataset["test"],
tokenizer=tokenizer,
data_collator=data_collator,
compute_metrics=compute_metrics,
)
trainer.train() |
[
0.033726703,
0.011437243,
0.0023912906,
0.02979241,
-0.043467373,
-0.032790665,
0.0090020755,
-0.0075029484,
-0.0076053278,
0.06850646,
-0.011773633,
0.022947615,
0.030977085,
-0.015444666,
0.0041756174,
0.021704435,
0.03416547,
-0.0011069775,
-0.060667116,
-0.0060842624,
-0.00052423746,
-0.006409683,
-0.04937613,
-0.012673109,
-0.038611665,
-0.032849167,
-0.02018337,
-0.023020742,
0.0067789797,
0.008841194,
-0.026794156,
-0.0077150203,
-0.019963985,
-0.034721248,
-0.026370011,
-0.008343922,
-0.009060578,
-0.034370232,
-0.02212858,
-0.027642442,
0.03501376,
-0.030918583,
0.038172897,
-0.060374603,
-0.0741812,
-0.010318383,
-0.003058585,
-0.020724518,
0.0061829854,
-0.023401009,
0.023854403,
0.043467373,
0.0013025953,
-0.009872301,
-0.019218078,
0.02085615,
-0.021631308,
0.013046063,
-0.022918364,
-0.030479815,
0.015093651,
0.04220957,
-0.00092964165,
-0.017477628,
0.017199742,
0.009067891,
-0.026004372,
-0.0036820024,
-0.04226807,
-0.012329407,
-0.034487236,
-0.010896095,
0.021441175,
-0.028841743,
-0.027832575,
0.0498734,
0.035364777,
-0.0024808727,
0.0002655466,
0.03363895,
-0.015590922,
0.03062607,
0.0013419016,
-0.018954817,
-0.0144793745,
-0.053091038,
0.040864013,
-0.008424363,
-0.036856588,
-0.025375469,
0.0107279,
0.03182537,
0.0023437573,
0.018135782,
0.033931464,
0.0132727595,
-0.028125089,
0.037938885,
0.019393586,
-0.013419016,
0.01880856,
0.091907464,
0.008153789,
0.015327661,
-0.012168525,
-0.02691116,
-0.008395112,
-0.017009608,
-0.050867945,
-0.0382899,
0.03428248,
0.026530894,
0.00046185,
-0.013945539,
0.0024040882,
0.04472518,
0.014940082,
-0.0070422413,
-0.020680642,
0.006665631,
0.00042322918,
-0.011554249,
0.021894569,
-0.06452828,
0.03314168,
-0.035774294,
-0.022435717,
0.039547704,
-0.013484832,
-0.024015285,
-0.013704216,
-0.0243663,
-0.0073859436,
-0.0040147356,
-0.027393807,
-0.016205199,
0.02168981,
0.0026838032,
0.02119254,
-0.033346437,
0.019744601,
0.03062607,
0.031591363,
0.06833094,
0.0033035644,
-0.03592055,
0.009864988,
-0.014823076,
-0.040981017,
0.0008619981,
-0.057127714,
0.015737178,
0.0034498207,
0.009528599,
0.011780946,
-0.0031627927,
-0.026691776,
0.039489202,
0.020534385,
0.043496627,
-0.01259998,
-0.007086118,
-0.031094091,
0.032381147,
0.022318712,
0.024746567,
0.004658263,
0.0069215796,
-0.007086118,
-0.044315662,
0.024073789,
-0.0021993292,
0.026852658,
0.0043255305,
0.020007864,
0.025887366,
0.031913128,
-0.0035741385,
0.017857894,
0.0048483964,
-0.010567018,
-0.011108167,
0.032819916,
0.006983739,
-0.0061025443,
0.0030805236,
-0.030304307,
0.024775818,
-0.026808782,
0.053442053,
0.0040257047,
0.10068284,
-0.031562112,
-0.004215838,
-0.0004529375,
-0.037675623,
-0.062071178,
0.007444446,
0.027803324,
-0.030304307,
0.00072625396,
0.031415854,
-0.011327551,
0.0132435085,
0.017814018,
0.010479264,
-0.0002977687,
0.033697452,
0.00911908,
-0.003614359,
0.042736094,
-0.033200182,
-0.012110022,
-0.028812492,
0.023415634,
-0.029178133,
-0.0025850802,
-0.00007455644,
0.010771777,
-0.01763851,
0.015430041,
0.0039342945,
0.010793716,
0.035657287,
0.012395222,
-0.04340887,
-0.020271124,
0.023825152,
-0.030772327,
0.021982323,
0.024176167,
0.022201708,
0.04566122,
0.030011794,
0.01888169,
0.026823407,
0.0284176,
0.035598785,
0.016746348,
0.04343812,
0.016249076,
-0.003139026,
0.023444885,
-0.00024337963,
0.010998474,
-0.012512227,
-0.014991271,
-0.0019872575,
-0.018384418,
-0.003371208,
-0.084009625,
0.052037995,
-0.044140153,
-0.052944783,
-0.043672133,
-0.012088084,
0.03896268,
0.024351675,
-0.08213754,
-0.010852218,
0.07026153,
0.047855064,
0.00083183276,
-0.058327015,
0.006296334,
0.08453614,
0.025624106,
0.062305186,
0.041361284,
-0.05396858,
0.013104565,
-0.03656408,
-0.06821394,
-0.022011574,
0.012139274,
0.007832025,
0.043204114,
-0.027057417,
-0.014172236,
-0.05446585,
0.013046063,
-0.013309324,
0.026618648,
0.02168981,
0.004179274,
0.009448158,
-0.033814456,
0.007634579,
-0.028125089,
-0.014238051,
0.0069618,
-0.054846115,
-0.011283674,
0.008402425,
-0.003930638,
-0.010771777,
0.036827337,
-0.028636985,
-0.006501093,
-0.0030329903,
-0.0018976756,
0.025419347,
-0.010567018,
0.010574331,
-0.026399264,
0.04642175,
0.015269158,
-0.040308237,
0.032732163,
0.08675924,
0.0035942488,
0.006797262,
0.030743076,
0.0061391084,
-0.046772767,
0.05546039,
0.05241826,
-0.0078174,
-0.05513863,
-0.043730635,
-0.033521947,
0.03384371,
0.013462893,
-0.014091795,
0.00086748274,
0.09436457,
-0.013762718,
-0.04106877,
-0.014296554,
-0.03875792,
0.00006255885,
-0.015956564,
-0.02119254,
0.02644314,
0.013543334,
0.018428294,
-0.062305186,
0.0010274505,
-0.0021627652,
0.03989872,
0.03129885,
-0.033200182,
0.02634076,
0.036359318,
-0.026092125,
-0.016965732,
0.020080991,
-0.038436156,
0.0005813688,
0.020592889,
-0.0014378823,
0.016980357,
0.031474356,
-0.008738814,
0.041653797,
0.047211535,
-0.0046399813,
0.024805069,
-0.010742526,
0.0078174,
0.014486687,
-0.016746348,
-0.012636545,
0.01059627,
-0.040337488,
-0.020490509,
-0.038406905,
-0.0057442165,
0.010735213,
-0.055577397,
0.06166166,
-0.011269049,
0.016219825,
-0.020739144,
-0.031913128,
-0.054904617,
0.029850911,
0.043467373,
0.063416734,
0.010939972,
-0.023137748,
0.015927311,
0.002736821,
0.0019506935,
0.01623445,
0.0007203123,
-0.012029581,
-0.0026783186,
0.0031262285,
0.019086448,
0.005813688,
-0.03135735,
0.015473917,
-0.041829303,
-0.0049398066,
-0.04004498,
0.065756835,
0.063767746,
0.021265667,
-0.0001511696,
-0.00088667887,
-0.017360624,
-0.007970968,
0.008826568,
0.0042194943,
0.004073238,
-0.03416547,
0.033375688,
0.0014086311,
0.030479815,
-0.028856369,
-0.0070349285,
-0.0068996414,
0.02142655,
0.010296444,
-0.0019049884,
-0.044432666,
-0.017726265,
-0.0787444,
-0.024717316,
-0.0035558564,
-0.05098495,
-0.01670247,
0.051277462,
0.01657084,
-0.01794565,
0.009726045,
-0.035072263,
0.02945602,
0.008022158,
0.014574441,
-0.03036281,
-0.06932549,
-0.00027605877,
-0.0625392,
-0.001533863,
0.008877758,
-0.056016166,
0.016380707,
-0.080616474,
0.0032304362,
0.012643858,
-0.027218299,
-0.031649865,
-0.007371318,
0.01200033,
-0.012307468,
-0.011203233,
-0.00893626,
-0.022084702,
0.004877648,
-0.043876894,
-0.022216333,
-0.049697895,
0.0029269543,
-0.031562112,
0.012066145,
0.005641837,
0.009645604,
0.0043803765,
-0.015298409,
0.01831129,
0.05098495,
-0.017755516,
0.007810087,
0.022274835,
0.015254533,
-0.024220044,
0.013616462,
0.0015960219,
-0.0155177945,
0.0007518488,
0.0062817084,
-0.029836286,
0.0075468253,
-0.05513863,
0.016951106,
-0.0038465408,
0.0044352226,
0.030977085,
-0.06593234,
0.03963546,
0.00013802938,
-0.0014040605,
-0.03758787,
-0.043876894,
-0.0010804684,
0.009426219,
-0.0074407896,
0.009989305,
0.026223756,
-0.029909415,
-0.01997861,
0.009945429,
0.03015805,
0.0031627927,
-0.054436598,
0.010866843,
0.05151147,
0.026604023,
0.0051811296,
-0.019876232,
-0.030216552,
0.041800052,
-0.047855064,
0.0101575,
0.008446301,
0.023401009,
0.029163508,
0.023708148,
-0.0544951,
0.0020622138,
-0.019276582,
-0.0009808313,
0.03521852,
-0.037880383,
-0.012592668,
-0.01807728,
0.032381147,
0.042004813,
0.009316526,
-0.030509066,
0.013258134,
0.0008555994,
0.014091795,
0.008183041,
-0.008197666,
-0.033989966,
-0.02353264,
-0.0090020755,
0.048878856,
-0.026121376,
0.028212842,
-0.012965621,
-0.052769277,
0.011378741,
0.0015685989,
0.04060075,
-0.0155177945,
-0.0062085805,
-0.01491083,
0.04226807,
-0.0625977,
-0.002996426,
-0.004362094,
0.000699288,
-0.0452517,
0.028446851,
-0.019803103,
0.007612641,
0.043291867,
0.046041485,
0.0070349285,
-0.00053063617,
-0.05048768,
-0.009492034,
-0.009418906,
-0.011561561,
-0.010450013,
-0.00049270096,
0.012014955,
-0.001892191,
0.008395112,
0.006914267,
-0.023371758,
0.0123732835,
-0.0014991271,
0.013594524,
0.037851132,
-0.012073458,
0.027335303,
-0.033053927,
0.014852328,
-0.047270037,
0.030947834,
-0.036915094,
-0.007203123,
-0.016044317,
-0.055928413,
0.0371491,
-0.016643967,
-0.022245584,
0.009960054,
-0.04337962,
0.044315662,
-0.034194723,
0.07312816,
0.07617029,
0.0037441615,
0.014099108,
-0.05262302,
0.027115919,
0.03249815,
0.0038355717,
0.0093969675,
0.005166504,
-0.05151147,
0.018033402,
-0.023225501,
-0.018457547,
-0.00066957966,
0.0009561506,
0.014252678,
0.022508845,
0.059731077,
-0.029909415,
-0.032176387,
-0.011532309,
0.048849605,
-0.008636435,
0.024892824,
-0.0002575482,
-0.0014845015,
0.022143206,
-0.01623445,
-0.030099548,
-0.0077881482,
-0.0058246576,
0.059701823,
0.011071603,
-0.015985815,
-0.0070422413,
0.012899807,
-0.012724299,
-0.025492474,
0.004654607,
0.015327661,
0.0073055024,
0.010618208,
-0.016044317,
0.018603802,
-0.0532958,
0.028666236,
-0.0015174092,
-0.012797426,
0.0003937494,
-0.032322645,
-0.018954817,
-0.060608614,
0.025316967,
0.04340887,
-0.04688977,
-0.01077909,
-0.0810845,
-0.03665183,
-0.021031657,
-0.003705769,
0.02122179,
-0.0035119795,
-0.027232924,
0.0033035644,
-0.0026673493,
0.028607734,
0.02179219,
0.029002625,
-0.011035038,
-0.02293299,
-0.0112983,
-0.0101575,
0.020110242,
-0.03015805,
0.021499677,
-0.042034063,
0.019276582,
0.01519603,
0.029836286,
-0.031181844,
-0.0997468,
0.035774294,
-0.00052789383,
0.011166669,
-0.011378741,
-0.007956343,
-0.009872301,
0.036330067,
0.009279963,
-0.031181844,
0.02698429,
0.0002637184,
-0.026033623,
-0.00043442694,
-0.038845677,
0.055782154,
-0.041683048,
0.01807728,
-0.050692435,
-0.01228553,
-0.0123440325,
0.00011557676,
0.006698539,
0.0003379892,
0.029836286,
0.0718996,
-0.020973155,
-0.0313281,
-0.022918364,
0.019159576,
0.023444885,
-0.01703886,
-0.064118765,
0.0278472,
0.050633933,
-0.001390349,
0.041858554,
-0.020490509,
-0.027891077,
-0.05566515,
0.051774733,
0.04226807,
0.003407772,
-0.012673109,
0.039810967,
0.04457892,
-0.03182537,
0.008029471,
-0.018004151,
0.023108497,
-0.012578042,
0.02698429,
0.0048739915,
0.04238508,
0.03548178,
-0.010296444,
-0.01270236,
0.045807477,
0.039840218,
0.0034004592,
-0.019890858,
0.022581974,
-0.01760926,
0.032293394,
0.02002249,
0.004530289,
-0.05332505,
0.013770032,
-0.0017559897,
0.029953292,
0.0023474137,
0.0054370784,
-0.016629342,
0.0065157185,
0.008928947,
-0.004815489,
-0.0000092481405,
-0.0021134035,
-0.012007643,
0.018296665,
-0.04688977,
-0.039547704,
0.00039946253,
-0.0336097,
-0.016848726,
-0.015927311,
-0.030977085,
0.0060074776,
-0.013938226,
-0.01703886,
-0.016687844,
-0.0015530592,
0.032205638,
0.012680422,
-0.020446632,
-0.035569534,
0.009082517,
-0.02179219,
0.0168341,
-0.024688065,
0.017653136,
0.07359617,
0.010742526,
-0.034809,
-0.002376665,
-0.038845677,
-0.0026892878,
0.0071409643,
0.021982323,
0.0027423059,
-0.02724755,
-0.033024672,
-0.0073859436,
0.043789137,
-0.018135782,
0.0020073678,
-0.011239797,
-0.027232924,
0.028212842,
-0.006574221,
0.02698429,
0.0008816513,
-0.017214367,
0.038670167,
0.035774294,
-0.024775818,
0.056688946,
0.024658814,
0.052535266,
0.030011794,
0.05054618,
-0.023752024,
0.044169404,
0.020666016,
-0.06335823,
-0.038523912,
0.044374164,
0.048557095,
-0.027569314,
-0.0075468253,
-0.030889332,
-0.03805589,
0.022567349,
-0.01472801,
0.030333558,
0.0015667707,
-0.0018309462,
-0.013565272,
-0.0020256499,
0.04054225,
-0.009104455,
-0.028988,
0.010866843,
-0.03899193,
0.008190353,
0.028490728,
-0.0067789797,
0.0038063205,
0.023254752,
0.021850692,
-0.0017797564,
0.041595295,
0.019466715,
0.031123342,
-0.031679116,
0.028168965,
-0.014150297,
0.03173762,
-0.07266013,
-0.019525217,
0.0016069912,
-0.011239797,
-0.034809,
-0.017316747,
0.044140153,
-0.021777565,
-0.023927532,
-0.07681381,
-0.0138065955,
-0.052593768,
0.011846761,
0.023561891,
0.0027752134,
-0.0093384655,
0.040220484,
0.019598344,
-0.017667761,
0.012036894,
0.03548178,
0.01807728,
0.0045851353,
0.00013483003,
-0.02283061,
0.027232924,
0.0020384472,
-0.04940538,
-0.040395994,
-0.002627129,
0.013206945,
0.0065522827,
-0.040278986,
-0.07839338,
0.029265886,
0.027379181,
0.025068332,
-0.01750688,
0.03662258,
-0.0371491,
-0.033814456,
0.03015805,
0.021894569,
0.019203452,
0.030538317,
0.0054663294,
0.012190463,
0.015430041,
-0.03521852,
-0.0417123,
0.061193638,
-0.0045997608,
-0.049054366,
-0.022669727,
-0.06353374,
-0.035364777,
0.04036674,
-0.028958749,
-0.0136384005,
0.039489202,
0.013894349,
0.03176687,
0.017448377,
-0.004215838,
-0.029836286,
0.07277714,
0.043262616,
0.017228993,
0.030772327,
0.037383113,
0.008204979,
-0.003912356,
0.019291207,
0.03849466,
0.019554468,
-0.0062926775,
0.011122792,
-0.019335084,
-0.05747873,
-0.050955698,
-0.03618381,
0.010998474,
-0.0020421038,
-0.024556434,
0.019071823,
-0.030011794,
-0.06897447,
-0.016395332,
-0.0009077032,
0.03179612,
0.0022998804,
-0.04109802,
-0.019627597,
-0.042589836,
0.25483698,
0.043087106,
0.0055906475,
0.018618427,
0.0313281,
0.070671044,
0.004888617,
0.034223977,
-0.00072853925,
-0.06569833,
0.005342012,
-0.03425323,
-0.025667982,
-0.012578042,
0.017799392,
0.04642175,
-0.060374603,
-0.005426109,
0.03922594,
-0.063826256,
-0.04288235,
0.058239263,
-0.0075833895,
0.05469986,
-0.007166559,
-0.041361284,
0.008036784,
-0.070671044,
0.056981456,
0.0042341202,
0.016629342,
-0.03129885,
-0.020739144,
-0.031035589,
0.020783022,
-0.004073238,
0.020826899,
-0.013024124,
-0.036739584,
0.010040496,
-0.008548681,
0.032790665,
0.0030549285,
-0.03922594,
0.012760863,
0.008066035,
-0.011378741,
0.012921745,
0.06359224,
-0.03311243,
0.041390534,
-0.050282918,
0.047855064,
0.002367524,
-0.06698539,
-0.007005677,
-0.009821111,
-0.027452309,
-0.004852053,
0.031854622,
0.01317038,
-0.011832135,
0.0065961597,
0.047182284,
-0.013338575,
0.014069857,
-0.01600044,
0.02179219,
-0.002537547,
-0.036505572,
0.03665183,
-0.050195165,
-0.057654236,
-0.07693082,
-0.0070970873,
0.019335084,
0.0032505465,
0.0036838308,
-0.018223535,
-0.05686445,
0.014808451,
-0.018486798,
-0.00031513663,
-0.03249815,
0.043759886,
0.064762294,
0.0071044,
-0.008585245,
0.027101293,
0.027335303,
0.030977085,
0.048089072,
0.0417123,
0.019993236,
0.025565602
] | Checkpoints
The [Trainer] class saves your model checkpoints to the directory specified in the output_dir parameter of [TrainingArguments]. You'll find the checkpoints saved in a checkpoint-000 subfolder where the numbers at the end correspond to the training step. Saving checkpoints are useful for resuming training later. |
[
0.043890666,
0.021464678,
-0.011206127,
0.00143424,
-0.033673313,
-0.0343325,
0.01041648,
0.029004093,
0.00018582464,
0.02638109,
0.0027311502,
0.03452476,
0.016204938,
-0.028125182,
-0.00479625,
0.054437608,
-0.012737356,
-0.038067874,
-0.069708705,
-0.009070646,
-0.0010969233,
0.011899644,
-0.07739918,
-0.040704608,
-0.04345121,
-0.036941767,
-0.004858048,
0.00038903012,
0.03268454,
0.016534531,
-0.012984551,
-0.012806022,
-0.015875347,
-0.030047802,
-0.03993556,
-0.019761786,
0.014598178,
-0.036392447,
-0.06992843,
-0.004507857,
0.018017694,
0.014776707,
0.035156477,
-0.021849202,
-0.06108438,
0.026957877,
0.0008943616,
-0.008960782,
-0.020860426,
-0.022096395,
0.02088789,
0.049795855,
0.027191337,
-0.016493332,
-0.013643734,
-0.0027122672,
-0.030706985,
0.018141292,
-0.022000264,
0.0040100357,
-0.024142612,
0.0315035,
-0.0144059155,
-0.060699854,
0.030487258,
-0.0035259475,
0.003766275,
-0.04987825,
-0.04331388,
-0.048971873,
-0.059106827,
0.027960386,
0.018100092,
0.011281659,
-0.02797412,
0.021547075,
0.012284167,
-0.017825432,
-0.005527532,
0.04776337,
0.020585766,
0.03128377,
-0.00038366567,
0.008425195,
0.0018745543,
-0.029937938,
0.032821868,
-0.0027877989,
-0.019088868,
-0.023607025,
-0.011796646,
0.034552224,
-0.037353758,
-0.010450812,
0.05221286,
-0.002236762,
-0.015930278,
0.046499934,
0.032409877,
0.0017612571,
0.024582068,
0.08020072,
0.005843391,
0.018937806,
0.004490691,
0.03381064,
0.0008943616,
-0.02514512,
-0.05421788,
0.014213654,
0.006310313,
0.010375281,
0.052789647,
-0.015010168,
-0.024389805,
0.05029024,
-0.0013767332,
-0.01987165,
-0.064709894,
0.0119202435,
-0.009839694,
0.0032821868,
0.011206127,
-0.047406312,
0.03383811,
-0.044494916,
-0.030844316,
0.019404728,
-0.03581566,
-0.0032238215,
-0.0028118314,
-0.03348105,
0.0040512346,
0.02820758,
-0.015875347,
0.0001911891,
-0.03946864,
-0.0033869008,
-0.00076733134,
-0.043423742,
-0.0043258946,
0.024238743,
-0.022371056,
0.07761891,
0.0021148818,
0.016383467,
-0.014804173,
-0.027685726,
-0.02514512,
0.0037868745,
-0.0657536,
0.007683613,
-0.013307276,
0.02303024,
-0.03114644,
-0.03581566,
-0.008953915,
0.022796778,
0.012751089,
0.046005547,
-0.000697808,
0.0245958,
-0.027232537,
0.037188962,
0.042846955,
0.035788193,
-0.06141397,
-0.012895286,
0.018553281,
-0.032904264,
0.011453321,
-0.006365245,
0.014502047,
-0.013520137,
0.03644738,
0.047186583,
0.04254483,
0.01300515,
0.024678199,
0.003838373,
-0.005541265,
-0.038177736,
-0.010217351,
0.002494256,
-0.017523307,
0.019583257,
-0.0069111316,
0.019171266,
-0.011247326,
0.019693121,
0.026889212,
0.02720507,
-0.012737356,
-0.018525815,
-0.006217615,
0.001436815,
-0.0039516706,
0.013410273,
0.02793292,
-0.032739468,
-0.028701968,
0.028125182,
-0.0423251,
0.0038315067,
0.022934109,
0.008116202,
0.006584973,
0.030047802,
-0.001697742,
0.014474581,
0.012105638,
0.020599497,
0.00601162,
0.007724812,
-0.00019912848,
-0.022384789,
-0.02000898,
0.009530702,
0.0016934504,
-0.030185131,
0.0017870065,
-0.027342401,
0.02903156,
0.030212598,
0.05828285,
-0.06498455,
-0.025859237,
0.0560581,
-0.0048443154,
0.06817061,
-0.0072372905,
0.03746362,
0.016781725,
0.07976126,
0.015271095,
0.038864385,
0.05718421,
0.03238241,
0.018896606,
0.01950086,
0.016479598,
0.025419781,
0.031256307,
0.018718077,
-0.023483427,
-0.018979004,
-0.011075663,
0.027644526,
-0.012634359,
0.03488182,
-0.0631718,
0.025708174,
0.01055381,
0.0013732999,
-0.03900172,
0.0053936355,
0.0030967912,
0.055536248,
-0.00013797372,
-0.011158061,
0.006049386,
0.022631982,
0.034634624,
0.005397069,
0.03452476,
0.049274,
-0.004040935,
0.03669457,
0.018319821,
-0.055124257,
-0.011851578,
-0.04688446,
-0.052405123,
-0.021670673,
0.0013329592,
-0.019157533,
0.017413443,
-0.024609534,
-0.045950614,
-0.03685937,
-0.009290374,
-0.011837845,
-0.031942956,
0.06399578,
0.058667373,
-0.013389674,
-0.02037977,
-0.0034006338,
-0.010526343,
0.00725789,
0.017028918,
-0.035431135,
-0.006351512,
-0.0042640963,
0.00260412,
0.026298692,
0.039441172,
-0.032437343,
-0.035650864,
0.04419279,
-0.030459791,
0.039990492,
-0.013870329,
0.029883005,
-0.016630663,
0.018512083,
0.03754602,
-0.01818249,
0.025612043,
0.03779321,
-0.028083982,
0.017070118,
0.03933131,
0.019088868,
-0.05262485,
0.049493726,
0.030212598,
-0.039715834,
-0.021780536,
-0.022522118,
-0.012208636,
-0.0021904134,
-0.012764823,
-0.041198995,
-0.011707381,
0.069818564,
-0.052185398,
-0.059875876,
-0.019102601,
-0.04364347,
0.00046477618,
-0.041171532,
-0.013760465,
0.010958933,
-0.010052555,
-0.013705533,
-0.0369143,
0.011549452,
0.014502047,
0.031942956,
0.002937145,
-0.035980456,
0.08926449,
0.044989303,
0.013492672,
0.013870329,
0.00007799914,
-0.031311236,
-0.008212334,
0.04298429,
0.007930807,
0.0023861085,
0.02024244,
0.019102601,
0.034085304,
0.028564638,
-0.051581144,
0.033755712,
0.045950614,
-0.004030635,
0.0052151065,
-0.013705533,
0.017646903,
-0.037079096,
-0.03301413,
-0.03268454,
-0.021286149,
0.0033336855,
0.036007922,
-0.067236766,
0.010629341,
-0.0004712135,
-0.024582068,
-0.021711871,
-0.033398654,
-0.034497295,
0.033069063,
0.05839271,
0.067346625,
-0.055151723,
-0.0035104977,
-0.002544038,
-0.010361548,
0.0025148555,
0.0685002,
0.024554603,
0.007408953,
0.031750694,
0.0013449755,
-0.00575756,
0.033123992,
0.013588803,
-0.011844711,
-0.009709231,
-0.029113958,
-0.05023531,
0.015683085,
0.06190836,
0.061523836,
-0.0040066023,
0.0002765912,
-0.0465274,
-0.01557322,
0.019514592,
-0.010286016,
-0.013547603,
-0.02583177,
0.04353361,
0.0070450283,
0.025900437,
-0.045318898,
0.0072098244,
-0.021959065,
0.022535851,
0.006516308,
-0.0051464415,
-0.017976496,
0.03081685,
-0.047131654,
0.004696686,
-0.0070724944,
-0.03199789,
-0.043945596,
0.024623267,
0.033261325,
-0.01749584,
-0.0017097584,
-0.049795855,
0.032300014,
-0.0019397861,
-0.033288788,
-0.04707672,
-0.039853163,
0.028921695,
-0.0315859,
-0.0022024298,
0.044934373,
-0.051855803,
0.021533342,
-0.055783443,
-0.007793477,
-0.011988908,
0.0032118051,
0.0033663013,
-0.023730623,
0.0040203356,
0.008322197,
-0.026024032,
0.026532155,
-0.020723095,
-0.01520243,
-0.036145255,
0.022233725,
-0.04446745,
-0.017839165,
-0.043670937,
0.0147217745,
0.025969101,
0.03589806,
0.029388618,
-0.047378846,
0.004027202,
0.057129275,
-0.03452476,
-0.008686122,
0.03609032,
-0.0043499274,
-0.00847326,
0.05916176,
-0.001562987,
0.00396197,
0.004961046,
0.030047802,
-0.029059026,
-0.02930622,
-0.05723914,
-0.018402219,
0.0057335272,
-0.018745543,
0.008226066,
-0.07316942,
0.01355447,
-0.013101281,
-0.039029185,
-0.016864123,
-0.054602403,
0.012071306,
-0.024458472,
-0.03746362,
0.03348105,
0.00833593,
-0.015435891,
0.011453321,
0.00024140037,
0.004027202,
0.021519609,
-0.009242308,
0.000607256,
0.05938149,
-0.010107487,
-0.0009767596,
-0.06553387,
-0.024005283,
0.050400104,
-0.040841937,
0.023469696,
0.024856728,
-0.007752278,
-0.0028272811,
-0.009516968,
-0.048971873,
0.011528852,
-0.03026753,
0.011164928,
0.036255118,
-0.019473393,
0.011384656,
-0.015820414,
-0.0011132312,
0.033398654,
-0.020736828,
-0.06476482,
-0.028647035,
0.02014631,
0.02092909,
0.023140103,
0.043478675,
-0.015257361,
-0.02340103,
-0.0341677,
0.038864385,
0.008823452,
-0.014556979,
-0.05182834,
-0.051004358,
0.0015681369,
0.019912848,
0.045730885,
-0.056305297,
0.006076852,
-0.030899247,
0.022398522,
-0.05408055,
-0.0035070647,
-0.008322197,
0.025474712,
-0.038836922,
0.040814474,
0.0011132312,
-0.010114354,
-0.01202324,
0.060370263,
0.04963106,
0.015944012,
-0.046499934,
-0.049164135,
-0.0023964082,
0.0015243628,
0.0088646505,
0.023744356,
-0.003266737,
0.010052555,
-0.0060150535,
0.052954443,
-0.013684933,
-0.015600687,
-0.060754787,
-0.011364057,
0.024664465,
-0.011295391,
0.0133210085,
-0.019679388,
0.05718421,
-0.0163972,
0.035403673,
-0.030761918,
-0.004277829,
-0.037848145,
-0.08289238,
0.015985211,
-0.015243629,
-0.03342612,
0.017152516,
0.010148686,
0.060205467,
-0.020984022,
0.033096526,
0.0655888,
-0.0021663806,
0.009262907,
-0.06553387,
0.006406444,
-0.0018093226,
0.01987165,
-0.016108807,
0.0005518949,
-0.030487258,
-0.004277829,
-0.004356794,
-0.060919583,
-0.024431005,
0.014419649,
-0.0044529247,
0.0025818038,
0.04180325,
0.018621946,
-0.004411726,
-0.062842205,
0.0205171,
0.026092699,
0.014041991,
0.023277434,
0.044357587,
0.029690744,
0.0059463885,
-0.041638453,
-0.02563951,
0.0131630795,
0.06190836,
-0.0071411594,
-0.04400053,
-0.017028918,
0.03210775,
-0.026339892,
-0.025584577,
0.039688367,
-0.030624587,
-0.010615608,
0.001972402,
0.0057266606,
0.021505876,
-0.058118053,
0.043835733,
0.027040275,
-0.04064968,
-0.009338439,
-0.02930622,
-0.031860556,
-0.068445265,
-0.011521986,
0.042187773,
-0.021780536,
-0.014529513,
-0.04674713,
0.004895814,
-0.037491087,
-0.019720586,
0.043698404,
0.027136406,
-0.00845266,
0.00507091,
0.02344223,
0.057129275,
-0.00699353,
-0.014254853,
0.004552489,
-0.02638109,
-0.026257494,
-0.006639905,
0.035293806,
-0.0031860557,
0.014062591,
0.0022436287,
0.0065643736,
0.03603539,
0.062512614,
-0.021299882,
-0.07448778,
0.03081685,
-0.008658656,
-0.040814474,
0.011370923,
-0.013918394,
-0.02138228,
0.027507197,
0.0011801796,
-0.032849334,
0.021808002,
-0.009132444,
-0.013341608,
0.010560676,
-0.062073156,
0.03054219,
-0.039166514,
-0.02642229,
-0.0205583,
-0.021519609,
0.008644923,
0.048422553,
0.024376074,
-0.0040890006,
-0.029471016,
0.033123992,
0.009276641,
-0.0068459,
-0.037353758,
-0.022041462,
-0.011700515,
0.022824245,
-0.013087548,
0.024060214,
0.017042652,
-0.035183944,
0.016767992,
0.010093754,
-0.0006480259,
-0.05427281,
0.0030693254,
0.03911158,
0.0027792156,
0.017028918,
-0.0066467714,
0.022508385,
-0.031750694,
-0.010725472,
-0.027067741,
-0.044027995,
-0.006763502,
0.034222633,
0.057678595,
0.05018038,
0.022343589,
0.022920376,
-0.021025222,
0.022412254,
0.02116255,
0.0136162685,
0.000026258997,
0.002348343,
-0.026188828,
-0.0008136802,
0.0424075,
0.024609534,
-0.02353836,
0.009249175,
-0.004851182,
-0.0061798496,
-0.006471676,
-0.03378318,
0.0073059555,
0.009640565,
0.0043602274,
0.011666182,
0.0044048596,
-0.006694837,
-0.0040752674,
0.027781857,
-0.084210746,
-0.07630054,
0.025351116,
-0.0077316784,
-0.014488314,
0.008857784,
-0.028180113,
-0.0035156477,
0.038315065,
-0.013705533,
0.0024084246,
0.012757956,
-0.0040787007,
-0.0043842597,
0.007896475,
-0.04578582,
0.007999472,
-0.026243761,
-0.022769311,
-0.004027202,
-0.016081342,
0.024554603,
0.019116335,
-0.03493675,
-0.042489897,
-0.011528852,
0.026326159,
0.027287468,
0.004679519,
0.02289291,
-0.059875876,
-0.005046877,
-0.03315146,
0.036200184,
-0.0315035,
0.019665655,
-0.0076286807,
-0.03919398,
0.067841016,
0.032519743,
0.017385976,
-0.028317444,
-0.025982834,
0.042517364,
0.039166514,
-0.0049747787,
0.005898323,
0.026669484,
0.045373827,
0.021093886,
0.059216693,
-0.0017466658,
0.03501915,
0.009468903,
-0.036062855,
-0.028056517,
0.029937938,
0.009036314,
0.020874158,
-0.004123333,
-0.023510894,
-0.02303024,
-0.017784234,
0.0147217745,
0.025296183,
0.004991945,
-0.0020925656,
-0.023140103,
-0.009523835,
0.019418461,
0.041363794,
-0.05119662,
0.03466209,
0.013032616,
0.01121986,
0.007051895,
0.0437808,
-0.017427176,
0.024485936,
0.037628416,
-0.0016900172,
-0.005925789,
0.0074158194,
0.051910736,
-0.009338439,
0.019802984,
-0.025749372,
0.000541166,
-0.03114644,
-0.019912848,
-0.0014110657,
0.022906642,
0.021505876,
-0.015532021,
0.043423742,
-0.01492777,
0.010073155,
-0.047571108,
0.013835996,
-0.0700383,
0.013973326,
0.010457679,
-0.0055034994,
-0.009874026,
0.03782068,
-0.039084114,
-0.019020204,
0.0077591445,
0.05971108,
0.02271438,
0.040155288,
0.058557507,
-0.006887099,
0.001807606,
0.03438743,
-0.0052322727,
-0.04529143,
-0.023098905,
0.01108253,
0.019761786,
-0.08761653,
-0.0863531,
0.027589595,
0.027987853,
-0.0015458207,
-0.01069114,
0.019693121,
0.0023140104,
-0.026202561,
-0.013012016,
0.06591839,
0.0052906377,
0.02175307,
0.0076286807,
0.017454641,
-0.027850522,
-0.010897134,
-0.05509679,
0.0561405,
-0.012146838,
-0.043588538,
-0.029443549,
-0.037710816,
0.011254192,
0.026902946,
-0.017523307,
-0.023826754,
0.027163872,
0.019445926,
0.021560809,
0.0059566884,
-0.010052555,
-0.027356135,
0.06888472,
0.045181565,
0.008026938,
0.06278727,
0.047516175,
-0.029004093,
-0.009214843,
-0.01041648,
-0.027713193,
-0.009098112,
0.024032747,
0.048257757,
0.014845372,
-0.031201374,
-0.04185818,
-0.057349004,
0.041253928,
-0.033508517,
0.022865443,
-0.037106562,
0.0065540737,
-0.115137465,
-0.0015200713,
0.003134557,
0.014762973,
-0.01767437,
-0.034140237,
0.009839694,
-0.0533939,
0.21983784,
0.04213284,
0.023977816,
0.020750562,
0.026710683,
0.05408055,
0.01314248,
-0.019624455,
0.019239932,
-0.036612175,
0.033535983,
-0.028427308,
-0.016150007,
-0.013705533,
0.010134953,
0.028976629,
-0.034002904,
-0.018855408,
0.006420177,
-0.016507065,
-0.052872047,
0.05462987,
0.013108147,
0.07130173,
0.0037971742,
-0.023977816,
-0.005167041,
-0.059656147,
0.03356345,
-0.041830715,
0.020118844,
-0.0035362472,
0.008020071,
-0.012792288,
0.009716096,
0.057898324,
0.02399155,
-0.031118976,
-0.036502313,
-0.024856728,
0.0043087285,
-0.026518421,
-0.008741054,
0.0052631716,
0.00065017166,
0.02724627,
-0.010814737,
0.03952357,
0.05092196,
-0.047598574,
0.024842994,
-0.05441014,
0.031338703,
-0.01588908,
-0.044165324,
0.0019123201,
-0.018264888,
-0.0411166,
-0.021450944,
0.045538623,
0.0016822923,
0.0076286807,
-0.007024429,
0.03782068,
0.00013110723,
0.042846955,
0.012524495,
0.024527136,
-0.022810511,
0.012751089,
0.007367754,
-0.013355342,
-0.0027706325,
-0.06004067,
-0.0062450813,
0.041473657,
-0.01763317,
0.02120375,
-0.008459527,
-0.058557507,
0.015875347,
-0.012215503,
-0.008933316,
-0.020750562,
0.03891932,
0.041885648,
-0.0063446453,
-0.002983494,
0.005980721,
0.008535059,
0.017303579,
0.012030107,
0.020956557,
0.004178265,
0.0341677
] | Pass training_args to the [Trainer] along with a model, dataset, something to preprocess the dataset with (depending on your data type it could be a tokenizer, feature extractor or image processor), a data collator, and a function to compute the metrics you want to track during training.
Finally, call [~Trainer.train] to start training! |
[
0.036901545,
0.047238596,
-0.036930416,
0.00366525,
-0.0076300725,
-0.04602587,
0.0022341604,
-0.0072041745,
0.009088232,
0.059308115,
0.017642288,
0.012776943,
0.023691483,
-0.030549165,
0.0032880777,
-0.0038655666,
-0.018133152,
-0.06265755,
-0.10129156,
0.018725079,
-0.005807373,
0.0019652671,
-0.04902881,
-0.021670273,
-0.02340274,
-0.0024561326,
-0.033609856,
-0.028398018,
0.030722411,
0.043946907,
-0.039904486,
0.0028838355,
-0.007839412,
-0.015635513,
-0.025496136,
-0.018609582,
-0.035342325,
-0.013094561,
-0.072936855,
-0.02652118,
-0.017165858,
-0.025120769,
0.025294015,
-0.021164969,
-0.09020377,
0.018811703,
0.016443998,
-0.011123881,
0.00899439,
-0.016400686,
0.014004107,
0.03459159,
-0.0021800208,
-0.065314,
-0.00046560046,
0.0137081435,
0.0053923028,
0.010257647,
-0.04284968,
0.025120769,
0.022088952,
0.071666375,
-0.00074306584,
-0.013246153,
0.028051525,
0.02730079,
-0.029105442,
-0.005850685,
-0.019793434,
-0.04986617,
-0.043946907,
-0.012704757,
0.0049555767,
-0.03135765,
-0.009781219,
0.02802265,
0.017223608,
0.015115773,
-0.040481973,
0.037623405,
0.019822307,
0.043282796,
0.035746567,
0.017252482,
-0.00036882595,
-0.036843795,
0.038605135,
-0.025698258,
-0.024254534,
-0.053475477,
-0.021410402,
0.03479371,
-0.0094491625,
0.001539369,
0.01762785,
-0.0034125987,
-0.01700705,
0.018378586,
0.0064750947,
-0.0016277969,
0.0340141,
0.06889443,
-0.0127191935,
0.0163285,
-0.022117827,
0.0016783272,
0.014588814,
-0.0058939965,
-0.05546781,
-0.050183788,
-0.028325832,
0.014581596,
0.011463155,
-0.0070995046,
0.005955355,
0.044639897,
0.0074857003,
-0.004674051,
-0.058210883,
0.018652892,
0.0157077,
-0.0022864952,
-0.0036111106,
-0.02652118,
0.03811427,
-0.019432502,
-0.026073625,
0.037767775,
-0.04149258,
-0.018609582,
-0.037276912,
0.0050313724,
0.0012443082,
0.023474926,
-0.0031328774,
0.006695262,
0.004067688,
-0.006785495,
0.0007466751,
-0.043542664,
0.042301066,
0.005677438,
-0.0085973665,
0.09268697,
-0.0054969727,
-0.00051342376,
-0.021915706,
-0.015866509,
-0.032454878,
0.019677935,
-0.07230161,
-0.007067021,
-0.01808984,
0.023879167,
0.02006774,
-0.016039755,
-0.05460158,
0.06098283,
0.0018984949,
-0.014588814,
-0.0019977507,
0.009283135,
0.0052768053,
0.052205,
-0.017902156,
0.04030873,
-0.026347933,
-0.06433227,
0.028051525,
-0.033436608,
0.022218887,
-0.02054417,
0.04897106,
-0.031588644,
0.042214442,
0.04897106,
0.07617079,
0.045535002,
-0.006789104,
-0.008496306,
0.0042048413,
-0.045535002,
0.00053056795,
0.02018324,
-0.03765228,
-0.0037717246,
-0.002277472,
0.016155252,
-0.054399457,
0.033090115,
0.01445166,
0.015563327,
-0.03701704,
0.008568492,
-0.015953131,
-0.02454328,
-0.016631681,
-0.016155252,
0.018003218,
-0.037681155,
0.013549334,
0.045506127,
-0.027849404,
0.035226826,
0.024398908,
0.00040830273,
0.032945745,
0.02132378,
-0.002495835,
-0.0031238543,
0.009550223,
-0.013072906,
-0.017093673,
0.026448993,
0.016314063,
0.020818476,
-0.02584263,
-0.002932561,
0.02120828,
0.017497914,
0.056334045,
-0.006222443,
-0.00011211406,
0.0146970935,
0.03669942,
-0.023316115,
0.0029451936,
0.020630792,
-0.0015745597,
0.03225276,
0.008741739,
0.048075955,
0.010892885,
0.057633396,
-0.01305125,
0.010539173,
-0.025135206,
0.07264811,
0.03889388,
0.002907296,
0.023994666,
-0.0006054611,
0.043022927,
0.01772891,
-0.007832194,
0.014054637,
-0.0038330827,
-0.013022375,
-0.07022265,
0.013722581,
-0.03441834,
0.016314063,
-0.014227884,
-0.03831639,
-0.054341707,
0.020991722,
-0.0028044307,
0.015447829,
-0.021020597,
-0.002064523,
0.01107335,
0.012495417,
0.023879167,
0.0013399548,
0.03765228,
0.005143261,
0.035024703,
0.025712695,
0.032166135,
-0.06317729,
0.0020735462,
-0.04674773,
-0.042387687,
-0.03837414,
-0.011982895,
-0.012675882,
-0.007388249,
-0.037681155,
-0.023994666,
-0.06254205,
0.03225276,
-0.009492475,
0.0034775662,
0.03369648,
0.0010331637,
0.01964906,
-0.0146970935,
-0.02844133,
-0.008171468,
0.02937975,
0.020674104,
0.0023225883,
0.004980842,
-0.023330553,
0.04336942,
-0.0060744616,
0.030722411,
-0.00863346,
-0.049404178,
0.0027051747,
-0.039846737,
-0.007731133,
0.0143506,
0.038836133,
-0.0059409174,
0.041117214,
-0.011217723,
-0.045477252,
0.040568598,
0.03026042,
-0.01346993,
0.02328724,
0.02120828,
-0.0074496074,
-0.050963398,
0.03863401,
0.034504965,
-0.0011594895,
-0.03303237,
-0.051714133,
-0.043658163,
-0.029524121,
0.02542395,
-0.04518851,
-0.02142484,
0.045419503,
-0.011044476,
-0.07888499,
0.011477592,
-0.04975067,
-0.035169076,
-0.05162751,
0.008294185,
-0.0035317058,
-0.019086009,
-0.007247486,
-0.020024428,
0.015086899,
-0.00410739,
0.024658777,
0.024167912,
-0.0047354093,
0.043889157,
0.07085789,
0.007962129,
-0.0023731187,
0.009174855,
-0.03846076,
0.00020945253,
0.008301403,
-0.0035948686,
0.01778666,
0.015274582,
0.03187739,
0.043802537,
0.011650839,
-0.00085224735,
0.05526569,
0.017035924,
0.0074857003,
0.018522957,
-0.0073377187,
0.030549165,
-0.0523205,
-0.044004656,
-0.023648173,
-0.01424954,
0.051078897,
0.035688818,
-0.050299287,
0.035544444,
0.002459742,
-0.011015601,
0.024499968,
-0.0033025148,
-0.017844409,
0.052493744,
0.08177243,
0.065140754,
-0.021280468,
-0.004930312,
0.009860624,
0.018941637,
-0.0063523785,
0.031328775,
0.0030967845,
-0.0050494187,
0.003181603,
-0.0003126561,
-0.0074496074,
0.019533563,
-0.008034315,
0.017281357,
-0.034909207,
0.0024471094,
-0.039269246,
0.027170854,
0.04481314,
0.012849129,
-0.0037969898,
-0.0032934917,
-0.038056523,
-0.03395635,
0.021857956,
-0.0032682265,
-0.010019433,
-0.047382966,
-0.010308177,
0.011939583,
-0.00821478,
-0.03317674,
0.008907767,
0.009008828,
-0.0114415,
-0.0073485468,
0.005110777,
0.008402464,
-0.015635513,
-0.04830695,
0.019504689,
-0.025091894,
-0.05188738,
-0.03889388,
0.022478757,
0.05292686,
-0.0209051,
-0.0017595366,
-0.06115608,
0.022522068,
0.03395635,
-0.027445162,
-0.0076878215,
-0.033927474,
-0.04819145,
-0.008084845,
-0.015216834,
0.04648786,
-0.01102282,
0.03187739,
-0.042243317,
-0.0014004107,
-0.0028621797,
-0.0008256287,
-0.01616969,
-0.017685598,
-0.011196067,
-0.0026492304,
0.009607973,
0.019548,
-0.009283135,
0.036786046,
-0.04325392,
0.014884777,
-0.030664662,
0.0028333052,
-0.038200893,
0.03225276,
0.022637567,
0.012957408,
0.037363533,
-0.013376088,
0.0009212753,
0.033263363,
-0.042301066,
-0.03719029,
-0.0007223123,
0.0061177732,
0.0025680212,
0.02922094,
-0.029062131,
-0.009687377,
0.031935137,
0.02298406,
-0.012986283,
-0.0009510521,
-0.044957515,
-0.0051613073,
-0.009290353,
-0.0068612904,
0.024297846,
-0.051829632,
0.019475814,
-0.027127543,
-0.039760113,
-0.018378586,
-0.08968403,
-0.009420289,
-0.023619298,
-0.016934862,
0.03384085,
0.0010891081,
-0.025192956,
-0.00045454694,
-0.005377866,
0.0026600584,
0.00795491,
-0.05203175,
0.016184127,
0.05006829,
-0.0009826336,
0.007615635,
-0.047123097,
0.0026636678,
0.011484811,
-0.053013485,
0.013542116,
-0.02438447,
-0.019403629,
-0.011116662,
0.05797989,
-0.011881835,
0.041521456,
-0.015621075,
0.018263087,
0.047498465,
-0.025294015,
-0.0008269822,
-0.00014335712,
-0.02890332,
0.06797045,
0.007492919,
-0.04596812,
-0.027733905,
0.006987616,
0.01642956,
0.03358098,
0.030809036,
-0.024355596,
0.01191071,
-0.039644614,
0.0013697316,
-0.015953131,
-0.024139037,
-0.077903256,
-0.056189675,
0.014827029,
0.020269861,
0.009593535,
-0.009889498,
0.016862677,
-0.057748895,
0.05780664,
-0.04764284,
0.02574157,
-0.021641398,
-0.015086899,
-0.04732522,
0.025669383,
0.02292631,
-0.01487034,
0.020471983,
0.033321112,
0.008236436,
0.019374754,
-0.06306179,
-0.01050308,
0.019057134,
0.019028261,
-0.0051649166,
0.012185017,
-0.01996668,
0.01690599,
0.007983784,
0.062311057,
-0.0087128645,
0.007362984,
-0.046776604,
0.0010827917,
0.023532674,
-0.034245092,
0.015447829,
-0.04108834,
0.014393912,
0.003963018,
0.019620186,
-0.03453384,
0.012055081,
0.005785717,
-0.08650784,
0.020240987,
0.0023009325,
0.018032093,
0.0062621455,
0.00400272,
0.06606474,
-0.023749232,
0.059077118,
0.06877893,
0.03369648,
0.019634623,
-0.038287517,
0.011564216,
0.023619298,
0.08015546,
0.016833803,
-0.025885941,
-0.017801097,
-0.009889498,
0.013823641,
-0.04891331,
-0.0060564154,
0.046314612,
0.01019268,
-0.023388302,
0.051916257,
-0.046083618,
-0.02640568,
-0.036324054,
-0.015722137,
0.038345266,
0.016747179,
0.0069443043,
0.0065292343,
0.018378586,
0.030837908,
-0.031184403,
0.012668664,
0.013549334,
0.054168463,
-0.026059188,
-0.03473596,
0.014235103,
0.02496196,
-0.012408794,
-0.026448993,
-0.009492475,
0.021049472,
0.005085512,
-0.0072619235,
-0.026910985,
0.019663498,
-0.0024615466,
0.016761616,
-0.008770613,
-0.05786439,
-0.029625183,
0.007236658,
-0.017757785,
-0.060694087,
-0.042243317,
0.033552106,
-0.004020767,
-0.023619298,
-0.004392525,
0.023936916,
-0.01996668,
-0.0481337,
0.036208555,
0.012589259,
-0.009210949,
-0.002797212,
0.014256758,
0.04637236,
-0.008619023,
0.025900379,
0.010344271,
-0.051916257,
-0.039557993,
-0.0024056023,
0.028989945,
-0.033263363,
0.033465482,
-0.016833803,
-0.0127191935,
0.034273967,
0.03874951,
-0.01616969,
-0.087374076,
-0.04397578,
-0.071608625,
-0.042618684,
0.01960575,
0.011564216,
-0.017902156,
0.023677045,
0.020573044,
-0.03150202,
0.030953407,
0.02937975,
-0.022421008,
-0.0005806471,
-0.06762396,
0.050790153,
-0.033263363,
-0.059943352,
-0.03147315,
-0.055554435,
-0.003966627,
0.019533563,
-0.003908878,
0.0064750947,
-0.015505578,
0.028008213,
-0.03384085,
0.0069443043,
-0.008741739,
0.009810093,
-0.005746015,
0.045794874,
-0.025799317,
0.07542005,
0.023561548,
-0.01720917,
0.0032772496,
0.004861735,
-0.019692373,
-0.011333221,
0.034129597,
0.04195457,
0.011239379,
-0.031530894,
0.011636402,
0.015115773,
-0.05387972,
-0.0071355975,
-0.00072727515,
-0.010322615,
-0.020111052,
0.029235378,
0.0035082453,
0.06462101,
0.0009700009,
0.027416287,
0.013289464,
0.0085973665,
0.005818201,
0.010719638,
0.017194733,
0.020197675,
-0.0169493,
-0.0046812696,
0.020529732,
0.03104003,
-0.019129321,
-0.0011946802,
0.024196787,
-0.014971401,
-0.00972347,
0.011224941,
-0.009376977,
0.03869176,
-0.0034486917,
-0.02860014,
-0.019071572,
-0.0020988113,
-0.043918032,
0.011224941,
-0.054514956,
-0.038836133,
0.003775334,
-0.022319948,
0.013087343,
-0.04888444,
-0.016458435,
0.004847298,
-0.015765447,
0.043918032,
-0.036381803,
-0.020861788,
0.0046993163,
-0.037392408,
-0.010084401,
-0.045101885,
0.0029776774,
0.007150035,
-0.013022375,
-0.032512628,
-0.00769504,
0.017324667,
0.010106056,
-0.03707479,
0.0025463654,
-0.05364872,
0.020702979,
0.044639897,
-0.047758333,
0.013498804,
-0.05188738,
0.015014713,
0.0007173495,
0.0050891214,
-0.022117827,
0.049404178,
-0.008301403,
-0.01762785,
0.029206503,
0.02074629,
0.018681766,
-0.0021872392,
0.0261025,
0.0046668323,
0.035659943,
0.022247761,
-0.014097949,
0.014928089,
0.058528505,
0.015187959,
0.046112493,
-0.013794767,
0.022709752,
0.027676158,
-0.042127818,
-0.032310504,
0.028989945,
0.01539008,
0.030347044,
0.030693537,
-0.060694087,
-0.03811427,
0.018450772,
0.02562607,
0.06606474,
-0.021294905,
0.00081209384,
-0.0058362475,
-0.009709033,
0.050732404,
0.030058298,
-0.046920978,
0.028167022,
-0.02210339,
0.06629573,
0.008388027,
0.008691208,
-0.0030949798,
0.01590982,
0.031213276,
-0.0379699,
0.016776053,
0.007471263,
0.022276636,
-0.020991722,
0.028426893,
-0.030751286,
-0.00020031647,
-0.05953911,
-0.039904486,
-0.02464434,
0.009506912,
0.0016647923,
-0.039384745,
0.018941637,
0.010575267,
0.010618578,
-0.023489362,
0.009499693,
-0.015476704,
-0.027907154,
0.0209051,
-0.016256314,
-0.033349987,
0.013975232,
-0.013607083,
-0.017440166,
0.0019002996,
0.05292686,
0.011867397,
0.03915375,
0.024167912,
0.011881835,
0.0050927307,
-0.005262368,
-0.004659614,
-0.034216218,
0.012242765,
0.04876894,
-0.027791655,
-0.044120155,
-0.038922753,
0.010120493,
0.0071825185,
0.03000055,
-0.015375643,
0.027127543,
-0.003394552,
-0.0040063295,
0.015303457,
0.03540007,
-0.0040171575,
-0.010207117,
-0.034764834,
-0.0038763946,
-0.023200618,
-0.03603531,
-0.04591037,
0.05272474,
-0.0063992995,
0.009319228,
-0.000026463544,
-0.045332883,
0.013166748,
0.037103664,
-0.006893774,
-0.032454878,
0.0043131206,
0.03207951,
0.024875335,
0.019851182,
0.00016286992,
-0.04830695,
0.068316944,
0.029596308,
0.0089655155,
0.061271574,
0.03753678,
0.038922753,
-0.018393023,
0.03311899,
0.021294905,
0.009037701,
0.016241876,
0.002642012,
-0.024730964,
-0.016241876,
-0.04342717,
-0.06560274,
0.046227988,
-0.01814759,
0.014653781,
-0.014733187,
-0.017440166,
-0.08252317,
-0.0009898521,
-0.05350435,
0.056680538,
-0.040424224,
-0.034995828,
-0.007796101,
-0.036612798,
0.24785826,
0.035169076,
0.016963737,
0.026781049,
0.009781219,
0.055121318,
0.050876774,
0.012040644,
-0.0012452105,
-0.039962236,
0.024456656,
-0.06566049,
0.0062440992,
0.027286353,
-0.011340439,
0.048740067,
-0.03395635,
-0.008676771,
-0.0036778827,
-0.0014608665,
-0.045015264,
0.040337604,
-0.0021619743,
0.026679989,
0.018219776,
-0.033725355,
-0.00097090326,
-0.09164749,
0.044726517,
-0.0039882828,
-0.019490251,
0.0004610888,
0.02812371,
0.009037701,
0.004475539,
0.06872118,
0.022161137,
0.028686764,
-0.039096,
-0.031704143,
-0.005074684,
-0.027676158,
-0.015159084,
-0.016660556,
-0.0021439276,
0.03046254,
-0.02574157,
0.036381803,
0.02454328,
-0.018364148,
0.06421677,
-0.04498639,
-0.007283579,
-0.018306399,
-0.011672495,
-0.0006663681,
0.013794767,
-0.04487089,
-0.035890937,
0.087431826,
0.026001438,
0.016718304,
-0.020284299,
0.05286911,
-0.0012668663,
0.02693986,
0.009225386,
0.02979843,
0.0037320224,
-0.02402354,
0.0034396686,
0.008416901,
-0.018710641,
-0.017425729,
0.027012045,
-0.009247041,
-0.007767226,
0.032223884,
-0.012618133,
-0.0508479,
0.030809036,
-0.007265533,
0.00494114,
-0.039846737,
0.049461927,
0.025958128,
0.011376532,
-0.010459769,
-0.015794322,
0.028282521,
0.0054608798,
0.034562714,
0.030895658,
-0.002329807,
-0.003109417
] | This guide provides an overview of the [Trainer] class.
Basic usage
[Trainer] includes all the code you'll find in a basic training loop:
perform a training step to calculate the loss
calculate the gradients with the [~accelerate.Accelerator.backward] method
update the weights based on the gradients
repeat this process until you've reached a predetermined number of epochs |
[
0.022226408,
-0.0038946467,
-0.027567638,
0.054503515,
-0.031989947,
-0.04758289,
-0.025413916,
-0.013676133,
0.014365324,
0.020919817,
-0.006902678,
0.016741596,
0.015750885,
-0.022226408,
0.0022973032,
-0.00843541,
0.010323506,
0.0046699867,
-0.10067931,
0.009691748,
-0.01424328,
-0.012254677,
-0.039341316,
-0.02623233,
-0.060304206,
0.0045946063,
-0.04327545,
-0.033598058,
0.039169017,
0.028098889,
-0.05771974,
-0.019311704,
-0.04094943,
-0.0074734143,
-0.018694304,
-0.048185933,
-0.018421499,
0.0011701888,
-0.061223127,
-0.03707273,
-0.00951945,
-0.015722169,
0.04675012,
-0.060935967,
-0.08396643,
-0.0016610578,
-0.04186835,
-0.017057477,
0.0063498896,
-0.03405752,
-0.0050397087,
0.041294023,
0.0036003047,
-0.002591645,
0.005545833,
0.017287206,
-0.0005334948,
0.014674024,
-0.024552427,
-0.0013685107,
0.02522726,
0.05516399,
-0.0071467664,
-0.031989947,
0.014042266,
-0.002972136,
-0.014817606,
0.0042894958,
-0.04364876,
-0.02143671,
-0.05209135,
0.0007865571,
0.003783371,
-0.04967918,
0.003049311,
0.023432491,
0.029577779,
0.0031552024,
0.0021537216,
0.02732355,
0.01826356,
0.042815987,
0.0114290835,
-0.015133484,
-0.041581187,
-0.03730246,
0.029233182,
-0.036871716,
-0.036871716,
-0.045687616,
0.0005227262,
0.017071834,
0.00097096956,
0.019440928,
0.049564317,
0.0020227036,
-0.04247139,
0.026562568,
0.0145519795,
0.0074159815,
0.035550766,
0.07770628,
0.002474985,
0.003460313,
-0.027668145,
-0.023360701,
0.0070534386,
-0.024279622,
-0.02794095,
-0.00835644,
0.025528781,
0.0176318,
0.007182662,
-0.024006817,
0.012484407,
0.026806656,
-0.014508905,
-0.03181765,
-0.011644456,
0.008765647,
0.025571855,
0.004465383,
-0.0012051867,
-0.021867454,
0.04643424,
-0.03638354,
0.022800734,
0.00858617,
-0.037359893,
-0.029376764,
-0.008076456,
-0.023820162,
0.022341274,
0.016956968,
0.007089334,
0.026203614,
0.028228112,
0.022886883,
-0.0021842327,
-0.046003494,
0.03994436,
0.02940548,
0.029161392,
0.07500695,
0.039513614,
-0.016655447,
-0.0059693987,
0.008686678,
-0.022168975,
0.018206127,
-0.062314346,
0.01819177,
-0.0073657283,
-0.033368327,
-0.017890248,
0.0027657377,
-0.039657194,
0.06880423,
-0.015765242,
0.038623407,
-0.012247497,
0.052723106,
-0.052723106,
0.043677475,
0.0029613674,
0.026347196,
-0.0018324582,
-0.0010104544,
0.01509041,
-0.029290615,
0.0066514104,
-0.015994973,
0.039657194,
0.011457799,
0.032305826,
0.016124196,
0.058093052,
0.0037690129,
0.0139202215,
0.007444698,
-0.015908824,
-0.012161349,
0.040748414,
0.018665588,
-0.004612554,
-0.012376721,
-0.0010966033,
0.028299903,
-0.010072239,
0.03460313,
0.001794768,
0.09895633,
-0.002474985,
0.012269035,
-0.015994973,
-0.03744604,
-0.016684163,
-0.031989947,
0.010467088,
-0.0072724004,
0.0027406109,
0.041581187,
-0.011551128,
0.018895319,
0.022068469,
-0.019929105,
0.0012958226,
0.024308339,
0.0015129895,
-0.03853726,
0.05898326,
-0.02073316,
-0.01446583,
-0.019239914,
0.02035985,
-0.0036182525,
-0.00035132584,
0.009239466,
0.03836496,
-0.004479741,
0.021379277,
-0.007954412,
0.011149099,
0.02887423,
0.007746219,
0.0032592989,
-0.011149099,
-0.00328981,
-0.029434197,
0.03583793,
0.0063570687,
0.0024480636,
0.032908868,
0.026878446,
0.008011845,
0.03744604,
0.028902946,
0.045544036,
0.042126797,
0.007304706,
0.021192621,
-0.005771974,
0.047066,
0.01918248,
0.00090680656,
0.013647417,
-0.0068308874,
-0.009734822,
-0.046922415,
0.027969666,
-0.07672992,
0.041724768,
-0.06168259,
-0.019685017,
-0.06811504,
-0.010948085,
0.030439267,
0.02577287,
-0.043677475,
-0.0007766859,
0.080979936,
0.047697756,
0.017157983,
-0.07247991,
0.011974692,
0.046003494,
0.0041746306,
0.03583793,
0.044940993,
-0.050885264,
0.021709515,
-0.03546462,
-0.037962936,
-0.040059224,
-0.03219096,
0.004892538,
0.030353118,
-0.046261944,
0.020000895,
-0.031128457,
0.017976398,
-0.0272374,
0.01873738,
0.029721359,
-0.021479784,
0.016368285,
-0.052924123,
-0.02043164,
-0.0112855015,
0.03491901,
0.017847173,
-0.034861576,
0.016081123,
0.0062960465,
0.011673172,
0.0091030635,
0.024006817,
-0.0011217301,
-0.046721403,
0.024739083,
0.013625879,
0.04218423,
0.0112137105,
0.027438415,
-0.0030134155,
0.043763626,
-0.0041136085,
-0.041983213,
0.04272984,
0.06484138,
0.009232287,
0.013367433,
0.0020316774,
0.0176318,
-0.030467983,
0.046003494,
0.048329514,
-0.022815092,
-0.08293264,
-0.019440928,
-0.059385285,
0.018866602,
0.0047166506,
-0.011874186,
-0.0048494632,
0.06375016,
-0.01206802,
-0.03529232,
0.016655447,
-0.04844438,
-0.03692915,
-0.03939875,
-0.021192621,
0.05967245,
-0.0046412703,
0.010438371,
-0.01974245,
-0.014609412,
-0.015808318,
0.020589579,
0.014666845,
-0.0044833305,
0.057288997,
0.022427421,
-0.031358186,
-0.0119531555,
0.043849774,
-0.028529633,
0.009217929,
-0.010100955,
-0.029376764,
0.006030421,
0.038049083,
0.006245793,
0.03201866,
0.01803383,
-0.027754294,
0.031989947,
0.0004554224,
0.004145914,
-0.019282987,
-0.005972988,
-0.012635168,
0.027108178,
-0.040489968,
-0.012118274,
-0.016956968,
0.03580921,
0.03491901,
-0.03150177,
0.06041907,
-0.029520346,
-0.007545205,
-0.042069364,
-0.035493333,
-0.0032287878,
0.021163905,
0.013877147,
0.04634809,
-0.0020837258,
-0.023489924,
-0.00882308,
0.018565081,
-0.009117422,
0.008184142,
-0.0061022113,
-0.0006501547,
0.030582849,
-0.019713733,
0.022728942,
0.014989903,
-0.054130204,
0.022929957,
-0.06386503,
-0.00812671,
-0.051430874,
0.044079505,
0.06472652,
0.020876743,
-0.0016996454,
0.02894602,
-0.038738273,
0.01554987,
0.017373355,
0.030554133,
0.014544801,
-0.031444337,
-0.0065724407,
0.009483554,
0.030554133,
-0.020647012,
-0.008988199,
-0.016655447,
0.03457441,
0.0044689723,
-0.023087896,
-0.047870055,
-0.01277157,
-0.04031767,
-0.012577735,
-0.021680798,
-0.04387849,
-0.045457885,
0.00982815,
0.03959976,
-0.032449406,
-0.005330461,
-0.032995015,
0.009634315,
-0.002306277,
0.021738231,
-0.027337907,
-0.024250906,
-0.0138484305,
-0.07885493,
0.012060842,
0.013446403,
-0.04215551,
0.0034962082,
-0.0911455,
0.020560862,
0.030525416,
-0.020058328,
0.008801542,
-0.017445145,
0.020144477,
-0.039571047,
-0.00781801,
-0.024552427,
-0.007961591,
0.025801586,
-0.015305782,
0.008528738,
-0.048788976,
-0.019484002,
-0.043304164,
0.014523263,
0.019670658,
0.012714137,
-0.0077964724,
-0.011694709,
-0.010057881,
0.05990218,
-0.012484407,
0.0047776727,
0.006816529,
0.020015253,
-0.027452772,
0.019570151,
0.02762507,
0.006051958,
0.04683627,
-0.0024372952,
-0.031760216,
0.0013846636,
-0.033023734,
0.043447744,
0.005334051,
0.011967514,
0.043017,
-0.06897653,
0.043677475,
-0.008937945,
-0.014860679,
-0.039427467,
-0.05642751,
-0.0012204422,
0.022456137,
0.006005294,
0.0113213975,
0.011989051,
0.0030762325,
-0.020761877,
0.025413916,
-0.023432491,
-0.012527482,
-0.041839633,
0.02887423,
0.06254408,
0.042270377,
-0.02034549,
-0.023346344,
-0.043017,
0.049650464,
-0.04993763,
-0.0272374,
-0.008722573,
-0.032650422,
0.016224703,
0.018048188,
-0.041064292,
0.0165693,
-0.012154169,
0.02445192,
0.0483008,
-0.049564317,
-0.026519492,
0.0060663163,
0.019986538,
0.05703055,
-0.0066621793,
-0.04720958,
-0.004680755,
0.008751289,
-0.004691524,
0.028701931,
-0.0342011,
-0.02135056,
-0.023432491,
-0.00033091038,
0.042040646,
-0.03893929,
-0.00048054915,
-0.041179158,
-0.05209135,
-0.011945976,
0.04209808,
0.029692642,
-0.034861576,
0.03233454,
-0.024193473,
0.023662223,
-0.0759833,
0.01222596,
0.00033270512,
-0.021120831,
-0.014946829,
0.03250684,
0.011744962,
0.0038479827,
0.03497644,
0.018780453,
-0.025212903,
-0.005387894,
-0.0636353,
-0.014494547,
-0.0117018875,
0.0009916094,
-0.03552205,
-0.0046017854,
0.020833667,
-0.024121683,
0.018364066,
0.036096375,
-0.036814284,
0.012197244,
-0.039370034,
0.025485707,
0.037359893,
-0.0123839,
0.040748414,
-0.01702876,
0.01934042,
-0.0036272262,
0.06495625,
0.01091219,
0.02894602,
-0.021451069,
-0.06415219,
0.028113248,
0.015277066,
0.009454838,
0.008306187,
-0.049707897,
0.026505135,
-0.03497644,
0.04519944,
0.061567724,
0.005771974,
-0.0051438054,
-0.05525014,
0.03095616,
0.007451877,
0.025658004,
0.008212859,
-0.0024552427,
-0.012319288,
0.0030295686,
-0.060935967,
-0.013058732,
0.015334498,
0.000078969795,
-0.0038479827,
0.005657109,
0.05648494,
-0.018421499,
-0.05137344,
-0.023288911,
0.041179158,
-0.006005294,
0.019067615,
0.007904159,
0.005269439,
0.025442632,
-0.026505135,
-0.018794812,
-0.0033795482,
-0.021810021,
0.054302502,
-0.010747071,
-0.01702876,
0.017014401,
0.009612778,
-0.05246466,
-0.05194777,
-0.019957822,
0.033253465,
-0.023935027,
0.0005945169,
-0.02314533,
-0.009196391,
-0.061337993,
0.0190389,
-0.0025701078,
-0.019713733,
0.0010714765,
-0.036440972,
-0.024466278,
-0.05573832,
0.005434558,
0.0705272,
-0.010495803,
-0.02885987,
-0.051028848,
-0.018306635,
-0.033224747,
0.01114192,
0.0130013,
-0.006694485,
-0.0091030635,
0.012520302,
0.027639428,
0.036096375,
0.0126567045,
0.042385243,
-0.02182438,
-0.018421499,
0.0062422035,
0.007283169,
0.010057881,
-0.024968814,
0.034947723,
-0.033712924,
0.017531294,
0.018464575,
-0.0049212542,
-0.017832816,
-0.059959613,
0.034315966,
0.0030672587,
0.029606495,
-0.027194327,
0.010639385,
-0.013597163,
0.045400452,
0.0092107495,
0.005172522,
0.019024542,
-0.0029075244,
-0.017229773,
-0.039513614,
-0.021580292,
0.04528559,
-0.060878534,
-0.02143671,
-0.059442718,
-0.029692642,
0.0043074433,
0.005276618,
-0.010646564,
0.0039197733,
0.029276257,
0.05593933,
0.015190917,
-0.004224884,
-0.0131807765,
0.007304706,
0.03141562,
-0.0019778344,
-0.046060927,
0.041179158,
0.048415665,
0.026978955,
0.022685869,
0.014946829,
-0.03853726,
-0.02662,
0.010014806,
0.0380778,
0.01873738,
-0.016928252,
0.030697713,
0.014451473,
-0.04264369,
0.0097707175,
-0.00781801,
0.010861936,
0.009332794,
0.03721631,
0.011486515,
0.03233454,
0.014630949,
-0.011579843,
0.007057028,
0.036842998,
0.042528823,
-0.04629066,
-0.031989947,
-0.008528738,
-0.033598058,
0.00087988505,
0.030008523,
0.029807508,
-0.028228112,
0.008176964,
0.006956521,
0.02252793,
-0.013719208,
-0.002640104,
-0.005499169,
0.02506932,
0.040432535,
0.016296495,
0.023116613,
-0.037273742,
-0.018119978,
0.029147035,
-0.012340825,
-0.03288015,
0.012785927,
-0.014228921,
-0.022642795,
0.0048171575,
-0.015277066,
-0.008019024,
0.0076887864,
-0.011464979,
-0.014200205,
-0.019153764,
0.03635482,
0.024810875,
-0.020876743,
-0.061740022,
0.01307309,
-0.008198501,
0.017287206,
-0.026720507,
0.0038443932,
0.047324445,
0.013712028,
-0.01493247,
0.009189213,
-0.009038452,
0.0021016735,
0.038479827,
-0.013209493,
0.010811683,
-0.03018082,
-0.0093543315,
0.0018396373,
0.009505092,
-0.022068469,
0.0144801885,
-0.0023511462,
0.0010930138,
0.02321712,
-0.032707855,
0.011479337,
-0.014760173,
0.006145286,
0.025715437,
0.036239956,
-0.02732355,
0.037044015,
0.046175793,
0.08362184,
0.028357336,
0.05114371,
-0.039025437,
0.06599003,
0.022929957,
-0.054819398,
-0.048013635,
0.030927444,
0.020402923,
-0.029663926,
0.0253852,
-0.00828465,
-0.019383496,
-0.010797325,
0.033167314,
0.017761026,
-0.01346794,
0.015592945,
-0.015348856,
-0.040662266,
0.03474671,
-0.0015928567,
0.0016018305,
0.00851438,
-0.043734908,
0.0171867,
0.010395297,
-0.019641941,
0.0042356527,
0.009067168,
0.0055817286,
-0.035234887,
0.046261944,
0.014408398,
0.025902092,
-0.017761026,
0.016928252,
-0.04163862,
0.037589625,
-0.04542917,
-0.030295685,
-0.0015201686,
-0.0024803695,
0.00059855514,
-0.045084573,
0.012527482,
-0.010237358,
-0.012541839,
-0.07678736,
-0.022499213,
-0.076902226,
-0.036440972,
0.03836496,
0.0046484494,
-0.014717098,
0.05137344,
0.023633506,
0.0020370618,
0.024408845,
0.058782246,
0.014961187,
0.020575222,
0.05757616,
-0.037934218,
-0.031444337,
-0.002717279,
-0.047783904,
-0.03451698,
0.014559159,
-0.005832996,
-0.03457441,
-0.034804143,
-0.060533937,
0.044682547,
-0.0036092787,
0.033454478,
-0.044854842,
0.027538922,
-0.020288058,
-0.031013593,
0.010804504,
0.040748414,
0.036096375,
0.009469196,
-0.00859335,
0.009275362,
-0.0074805934,
0.018019471,
-0.033626776,
0.031846363,
0.008456947,
-0.04201193,
0.00020886614,
-0.025284693,
-0.0003549154,
0.024408845,
-0.05013864,
0.016468791,
0.034287248,
0.0047022924,
0.05054067,
0.032851435,
-0.036584552,
-0.0038120875,
0.06972315,
0.011199353,
0.030812578,
0.050167356,
0.036957864,
0.008966661,
-0.0022147438,
-0.0031821239,
0.022484854,
0.014961187,
0.00085116876,
0.009347152,
-0.03018082,
-0.0659326,
-0.040346388,
-0.038250096,
-0.036957864,
-0.01284336,
-0.029391123,
0.027424056,
-0.02035985,
-0.051430874,
-0.07983129,
-0.010309148,
0.02762507,
0.0005222775,
-0.036182523,
-0.014523263,
-0.048587963,
0.24489251,
0.03201866,
0.011084488,
0.00936869,
0.03379907,
0.0763279,
0.010108134,
0.017832816,
0.030582849,
-0.033023734,
-0.025327766,
-0.0507704,
0.005122268,
-0.015391931,
0.021781305,
0.022757659,
-0.03242069,
-0.02043164,
0.041035578,
-0.06524341,
-0.064209625,
0.07322654,
-0.0013828689,
0.0150760515,
0.011874186,
-0.0052550808,
-0.018593797,
-0.06650693,
0.03181765,
0.010179925,
0.044280518,
-0.0062780986,
-0.002112442,
-0.046922415,
-0.0007219455,
0.041609902,
0.008873333,
-0.00440795,
-0.039714627,
-0.01757437,
0.020919817,
0.02191053,
-0.001091219,
-0.022197692,
0.021723872,
-0.006586799,
-0.010258894,
0.030381834,
0.039370034,
-0.037733205,
0.04123659,
-0.043017,
0.03328218,
-0.017215416,
-0.054273788,
-0.019225556,
0.001126217,
-0.03382779,
-0.026060032,
-0.00018833847,
0.05628393,
-0.01369767,
0.0026042084,
0.042270377,
-0.009605599,
0.015779601,
-0.014846321,
0.030381834,
-0.015750885,
-0.019986538,
0.009576882,
-0.015521155,
-0.04215551,
-0.03520617,
0.0050361194,
-0.015104768,
-0.00804774,
-0.011048593,
0.005430968,
-0.059844747,
0.038422395,
0.004343339,
-0.010567594,
-0.030439267,
0.031559203,
0.054158922,
-0.026634358,
-0.004813568,
0.018277919,
0.03397137,
0.010222999,
0.038795706,
0.02568672,
0.019857313,
0.027984023
] | resume from latest checkpoint
trainer.train(resume_from_checkpoint=True)
resume from specific checkpoint saved in output directory
trainer.train(resume_from_checkpoint="your-model/checkpoint-1000")
You can save your checkpoints (the optimizer state is not saved by default) to the Hub by setting push_to_hub=True in [TrainingArguments] to commit and push them. Other options for deciding how your checkpoints are saved are set up in the hub_strategy parameter: |
[
0.045577683,
0.016611753,
-0.017015861,
0.06615836,
-0.030365879,
-0.042027302,
-0.01185626,
-0.014952021,
-0.0023073882,
0.06032765,
-0.024217654,
0.015644778,
0.010896501,
-0.022962032,
-0.02330841,
-0.0025455237,
0.013559289,
0.026396954,
-0.059634894,
0.0054446426,
0.030683393,
0.010716096,
-0.030337015,
-0.038707837,
-0.036860485,
0.03691821,
-0.059230782,
-0.023178518,
0.05080223,
0.043124165,
-0.06985307,
-0.016698347,
-0.014822128,
-0.01866116,
-0.022832138,
-0.040670652,
0.009893446,
0.023048626,
-0.011805746,
-0.07175815,
-0.0027277335,
-0.0022153815,
0.011899557,
-0.054121695,
-0.076203346,
-0.015125209,
0.0073858076,
-0.0014495595,
0.046992064,
-0.030134961,
-0.002518463,
0.046934333,
-0.002969477,
-0.028215444,
-0.014822128,
0.034118317,
-0.026065009,
0.04173865,
-0.019281756,
0.00020667723,
0.057065915,
0.023395006,
0.0048096147,
-0.029167986,
0.016164346,
0.03307918,
-0.02996177,
-0.02495371,
-0.02277441,
-0.019527107,
-0.06569652,
-0.0017264821,
0.014822128,
-0.037178,
-0.043124165,
0.03371421,
0.02636809,
0.0044235466,
0.0011257313,
0.02860512,
0.04124795,
0.029095823,
-0.009626445,
-0.006675009,
-0.026497982,
-0.04831985,
0.016106617,
-0.009785202,
-0.03550383,
-0.009316148,
-0.011221232,
0.012686126,
0.00350889,
0.032386422,
0.012332531,
0.031520475,
-0.042171624,
0.011040826,
0.019512676,
0.028099984,
0.023972303,
0.077415675,
0.018257052,
0.0035197143,
-0.044769466,
-0.026599009,
-0.0018022525,
-0.01718905,
-0.03325237,
-0.030221555,
0.0273062,
0.021677542,
-0.003191376,
-0.0025978414,
0.041565463,
0.019815756,
-0.004690547,
-0.037351187,
-0.016756076,
0.011286178,
0.029990636,
-0.008702769,
0.016741645,
-0.03336783,
0.013292288,
-0.028330904,
0.015182939,
0.02560317,
0.0021558476,
-0.05654635,
0.0024011992,
-0.018213755,
-0.0006503624,
0.0041060327,
0.007908984,
0.00038110695,
0.03354102,
0.033165775,
0.030827718,
-0.035474967,
0.017910672,
0.023640357,
0.033627614,
0.07603016,
0.009193472,
0.026570145,
-0.021865165,
0.0049611554,
-0.025935117,
0.004203452,
-0.040179946,
0.005960603,
0.007670848,
-0.017910672,
-0.002906335,
-0.0057008187,
-0.026858794,
0.06789026,
-0.0067110904,
0.030769989,
-0.012859315,
0.013754127,
-0.02506917,
0.02925458,
-0.030885447,
0.042748924,
-0.0061410083,
-0.005076615,
-0.01889208,
-0.018430242,
0.010939798,
0.0062384275,
0.006382752,
-0.0015514886,
0.056286562,
0.03671616,
0.0316648,
0.025242358,
0.018877648,
0.01883435,
0.0071729287,
-0.002202753,
0.039342865,
0.029297877,
0.017549861,
-0.00017533175,
0.0016362793,
0.0045534386,
-0.0121882055,
0.011466583,
0.007021388,
0.082553625,
-0.013840722,
0.027638147,
-0.00021355519,
-0.035821345,
-0.05749889,
-0.015471589,
0.027234036,
-0.0140211275,
-0.012837666,
0.028633986,
-0.02371252,
0.0074760104,
-0.0057080346,
-0.03160707,
0.03120296,
0.02506917,
0.0012745659,
-0.018444674,
0.058768947,
-0.05036926,
-0.01606332,
0.000017152632,
0.023755817,
-0.014764398,
-0.01959927,
0.005267845,
0.029110257,
-0.018430242,
-0.010499609,
0.009835716,
0.034233775,
0.031174097,
0.018920945,
-0.022759978,
-0.040670652,
0.014836561,
-0.024564033,
0.025531009,
0.020017812,
0.0039797486,
0.0013810053,
0.021691976,
0.016092185,
0.009200688,
0.040353138,
0.06679339,
0.03195345,
0.02219711,
0.029875176,
-0.013299504,
0.0071945773,
-0.0021287866,
0.029081391,
0.015283966,
0.00019900998,
-0.015875697,
-0.03807281,
0.01707359,
-0.057874132,
0.046357036,
-0.038881026,
-0.0045173573,
-0.04254687,
-0.022832138,
0.01736224,
0.011885124,
-0.06708204,
0.002969477,
0.05862462,
0.02313522,
0.023351708,
-0.07187361,
0.008486282,
0.059808083,
0.0002778247,
0.022918735,
0.027652578,
-0.024376411,
-0.0009060874,
-0.032934856,
-0.016943699,
-0.038996484,
-0.032992586,
0.0056611295,
0.008998634,
-0.011437719,
0.008096606,
-0.03694708,
0.00780074,
0.00069997396,
0.04225822,
0.026873225,
-0.0053760884,
-0.013710829,
-0.074356,
-0.008666688,
-0.038476918,
0.04791574,
-0.0045570466,
-0.03472448,
-0.014980885,
-0.0004722118,
0.009713041,
0.008984202,
0.015904563,
-0.009402743,
-0.013306721,
-0.016092185,
0.0024968141,
-0.0015136034,
-0.009128526,
0.0046147765,
-0.011668637,
0.03279053,
0.018083863,
-0.04130568,
0.039573785,
0.06869847,
-0.0026447468,
0.026151603,
0.006314198,
0.00064314617,
-0.06379144,
0.055045374,
0.028980363,
0.0148076955,
-0.059808083,
-0.03455129,
-0.051870234,
0.02378468,
0.029499933,
-0.012245935,
0.010052203,
0.07551059,
-0.018690025,
-0.043586005,
0.036745023,
-0.050744504,
-0.03688935,
-0.051754773,
-0.012700558,
0.062117275,
-0.013256207,
0.013855154,
-0.049647637,
-0.019339485,
-0.02571863,
0.036109995,
0.027565984,
-0.018257052,
0.028908202,
0.020320892,
-0.041998435,
-0.02212495,
0.030106096,
-0.038188267,
0.0077718757,
-0.0018726107,
-0.002680828,
0.00217028,
0.019021971,
-0.0008979691,
0.021013651,
0.017347807,
-0.070949934,
0.03608113,
-0.0256609,
0.035474967,
-0.014093289,
-0.028475229,
-0.005271453,
0.016222076,
-0.033627614,
-0.006891496,
-0.007082726,
0.03348329,
0.034868803,
-0.021114677,
0.048926014,
-0.039285135,
-0.0022803275,
-0.023799114,
-0.040988166,
-0.02330841,
0.027118579,
-0.002937004,
0.04831985,
0.025285656,
-0.032703936,
0.021100245,
0.014482966,
0.0071007665,
0.019036405,
-0.0088326605,
0.00035246756,
0.004214276,
-0.0020512124,
0.021576516,
-0.0032130247,
-0.047078658,
0.016135482,
-0.025328953,
0.00081859063,
-0.05178364,
0.04924353,
0.089192554,
0.029644256,
0.014713885,
0.00043319908,
-0.027768038,
0.019281756,
0.0076780645,
0.028792743,
0.041623194,
-0.031405017,
0.029586527,
0.0067399554,
0.007111591,
-0.020811597,
-0.018386943,
-0.012859315,
0.04785801,
-0.0034529641,
-0.0048962096,
-0.070949934,
-0.013992262,
-0.03573475,
-0.0076131187,
-0.022153813,
-0.04878169,
-0.01026869,
0.026093874,
0.039746974,
-0.05415056,
-0.01741997,
-0.04373033,
0.0015045832,
0.022456896,
-0.0074182805,
-0.00889039,
-0.016380833,
-0.039342865,
-0.08613288,
0.043383952,
0.012303665,
-0.043816924,
0.014677804,
-0.07447145,
0.012390261,
0.017434401,
-0.012996423,
-0.010261473,
-0.0138118565,
0.00060526095,
-0.009857365,
-0.0059245215,
-0.0409593,
-0.025574306,
0.004434371,
-0.03671616,
0.0016507118,
-0.045664277,
0.023322843,
-0.04439422,
0.031866856,
0.041045893,
0.043210763,
-0.0020909016,
-0.017520998,
0.035821345,
0.03302145,
0.0019285365,
0.009604797,
0.030827718,
0.019151865,
-0.024621764,
0.02065284,
0.017968403,
-0.021619814,
0.012693342,
0.008551228,
-0.039804704,
0.0032400854,
-0.04332622,
0.026873225,
0.024232088,
0.019613702,
0.024448574,
-0.04765596,
0.072912745,
-0.000008942765,
0.0019375567,
-0.031116366,
-0.053919643,
-0.0015451744,
0.0006647948,
0.0028864904,
0.022225976,
0.020292027,
-0.00016146306,
-0.029095823,
0.008154335,
-0.024924845,
-0.028994797,
-0.049128067,
0.04808893,
0.059057593,
0.017261213,
0.030337015,
-0.03778416,
-0.031087503,
0.018170457,
-0.043355085,
-0.036340915,
0.000989525,
-0.0019483811,
-0.0009967412,
0.020089973,
-0.06471512,
-0.0042683976,
-0.011697503,
0.009756338,
0.02172084,
-0.00274397,
-0.03507086,
-0.041594326,
-0.0012384848,
0.05998127,
-0.005772981,
-0.032819398,
0.0047374526,
0.00108514,
0.015154075,
0.027796904,
-0.011942854,
-0.0154860215,
-0.027407227,
0.00709355,
0.035417236,
-0.0370914,
-0.0043261275,
-0.006862631,
-0.04826212,
0.004499317,
0.023568194,
0.039083082,
-0.04673228,
0.012072747,
-0.040179946,
-0.024751656,
-0.07730021,
-0.00002266346,
0.0060760626,
-0.0048745605,
-0.034984265,
0.05192796,
-0.0074182805,
-0.025343386,
0.025949549,
0.03784189,
0.01271499,
-0.008457417,
-0.03714913,
-0.0014721102,
-0.016106617,
-0.012152125,
-0.044509683,
-0.014122155,
0.0039581,
-0.015587049,
0.0044488036,
0.023293978,
-0.03761097,
-0.006988915,
-0.037524376,
0.033165775,
0.03613886,
-0.030106096,
0.050513584,
0.007894551,
0.010340852,
-0.00036261536,
0.04938785,
-0.003030815,
0.01288818,
-0.008897607,
-0.076492,
0.031693663,
-0.011574826,
-0.0058234944,
-0.015327265,
-0.046587955,
0.012924261,
-0.032703936,
0.08757612,
0.07308594,
0.0014576777,
0.0037560456,
-0.057874132,
0.018156026,
0.028821606,
0.00034728087,
0.011704719,
-0.024693925,
-0.025386684,
-0.02059511,
-0.050773367,
-0.036687292,
0.00504775,
-0.010117149,
0.016943699,
-0.012924261,
0.049474448,
-0.020032244,
-0.042229354,
-0.031549342,
0.04419217,
-0.031289555,
0.03126069,
0.019238459,
-0.006115752,
0.03394513,
0.014158236,
-0.054987643,
-0.00606163,
-0.011784097,
0.06789026,
0.013371667,
-0.025747495,
0.015471589,
0.031751394,
-0.04491379,
-0.07579924,
-0.019209594,
0.04621271,
-0.0010734136,
0.012700558,
0.0028648418,
-0.03896762,
-0.052072287,
0.023380572,
0.0031138016,
-0.011004745,
0.006379144,
-0.030452475,
-0.014338641,
-0.06413782,
0.002136003,
0.070199445,
-0.010838771,
-0.017622024,
-0.061193597,
-0.02006111,
-0.04543336,
-0.0029784974,
0.014980885,
0.004333344,
-0.008219281,
-0.0101965275,
0.0316648,
0.04598179,
0.0074471454,
0.068525285,
-0.022529058,
-0.014721101,
-0.013256207,
-0.017376672,
-0.00894812,
-0.015760237,
0.0556804,
-0.043412816,
0.02407333,
0.027926795,
-0.024102194,
-0.021518786,
-0.07949395,
0.015255102,
-0.022355868,
-0.009366661,
-0.030279284,
-0.00923677,
-0.00057684706,
0.012642828,
0.0025581522,
-0.004506533,
0.0077213617,
-0.0090419315,
-0.0011933834,
-0.044221032,
-0.009575932,
0.04739617,
-0.06690885,
-0.016986996,
-0.057960726,
-0.000070358205,
-0.008399687,
-0.018646728,
-0.007714146,
0.000057588866,
0.00079333386,
0.038188267,
-0.0052786693,
0.0046688984,
-0.023972303,
-0.014778831,
0.029471068,
0.0045678713,
-0.023351708,
0.040641785,
0.056604076,
0.028994797,
0.037293456,
-0.015096345,
-0.023871277,
-0.039458323,
0.020898191,
0.06015446,
0.0014152824,
-0.05120634,
0.023625923,
0.023698086,
-0.03890989,
0.015154075,
-0.008435768,
0.0057621566,
-0.0007459774,
0.04560655,
-0.022384733,
0.03137615,
0.015962292,
-0.0032058083,
-0.016164346,
0.06979534,
0.034349237,
0.0043225195,
-0.03573475,
0.0021937327,
-0.04280665,
0.03443583,
0.038159404,
0.028749445,
-0.044047844,
-0.018762188,
-0.0022478544,
0.022529058,
-0.003925627,
0.018791053,
0.030048365,
0.035244048,
-0.0026591793,
0.034695614,
0.008500715,
-0.010059419,
-0.017116887,
0.0063538873,
-0.034464695,
-0.05215888,
0.03042361,
-0.0045534386,
-0.03336783,
-0.014158236,
-0.016452996,
-0.007945065,
-0.0040410864,
0.015384994,
-0.01571694,
0.007053861,
0.061366785,
0.027652578,
-0.0256609,
-0.016972564,
0.010073852,
-0.0015686272,
0.01659732,
-0.029153554,
0.005224548,
0.047280714,
0.015370562,
-0.019238459,
0.0064224415,
0.001179853,
-0.0065703737,
-0.026382523,
-0.019555973,
0.014100506,
0.0057188594,
-0.010896501,
-0.006956442,
0.0141871,
-0.027825767,
0.031058637,
0.020681703,
-0.0019754418,
-0.013768559,
-0.0066136713,
0.024665061,
-0.011214015,
0.01571694,
0.03890989,
0.036109995,
-0.021489922,
0.03149161,
0.040814973,
0.067601606,
0.03556156,
0.04543336,
-0.025357818,
0.046761144,
0.008010011,
-0.030279284,
-0.019931216,
0.062059544,
-0.007670848,
-0.015024182,
0.023077492,
-0.020710569,
-0.030567933,
0.0039039783,
-0.0071584964,
0.03261734,
-0.013941749,
0.029701987,
-0.01765089,
-0.016236508,
0.07793524,
-0.04491379,
-0.03189572,
0.010802691,
-0.061366785,
0.04627044,
0.03948719,
-0.0273062,
-0.0011212211,
0.011545962,
0.02866285,
-0.007930633,
0.0436726,
0.025401115,
0.022673381,
-0.033627614,
0.01906527,
-0.04601066,
0.024506304,
-0.05172591,
-0.011134637,
-0.01648186,
0.0037813024,
0.00085106364,
-0.037986215,
0.028850472,
-0.009085229,
-0.012678909,
-0.06783252,
0.0036081132,
-0.061944086,
-0.015327265,
0.025559872,
0.0004117759,
-0.04107476,
0.0567484,
0.0051884665,
-0.0013782992,
0.02824431,
0.04601066,
0.006808509,
0.012837666,
0.018156026,
-0.040584054,
0.0064693466,
0.0127077745,
-0.03732232,
-0.020046676,
-0.012260368,
-0.0028179362,
-0.016496293,
-0.009676959,
-0.058595754,
0.05998127,
0.016380833,
0.025170196,
-0.030567933,
0.042922113,
-0.00015435959,
-0.053861912,
0.011596476,
0.059173055,
0.0022442464,
0.007468794,
-0.00835639,
0.0020620367,
-0.02518463,
0.017867375,
-0.052130017,
0.03065453,
-0.017232347,
-0.028302038,
-0.02560317,
-0.044942655,
-0.0007500365,
0.019916784,
-0.038881026,
-0.01032642,
0.029297877,
0.025819657,
0.037235726,
0.031289555,
-0.025415549,
-0.0015451744,
0.054698993,
-0.008652255,
0.037062537,
0.03143388,
0.027493821,
-0.0040050056,
-0.022384733,
0.0071296315,
0.03890989,
-0.011278962,
-0.0148076955,
0.015817968,
-0.015413859,
-0.038332593,
-0.03853465,
-0.009604797,
-0.013754127,
-0.02736393,
-0.036283184,
0.017549861,
-0.015861265,
-0.048435308,
-0.035388373,
-0.006664185,
0.024434142,
0.0036099171,
-0.043643735,
-0.001881631,
-0.03879443,
0.24777634,
0.030798852,
0.02931231,
-0.019844621,
0.045577683,
0.06044311,
0.0056611295,
0.0039111944,
0.0041926275,
-0.04984969,
-0.006418833,
-0.042056166,
-0.017217916,
-0.021922896,
0.034753345,
0.052274343,
-0.03665843,
-0.011531529,
0.032386422,
-0.06713977,
-0.082726814,
0.03172253,
-0.003983357,
0.03443583,
0.0024300641,
0.0014152824,
0.011416069,
-0.060039002,
0.037206862,
-0.007367767,
0.033512153,
-0.02059511,
-0.0065234685,
-0.027291767,
-0.009554284,
0.028287606,
-0.008471849,
-0.0056070075,
-0.025704198,
-0.008067741,
0.024333114,
0.016106617,
0.0053796964,
-0.030365879,
0.02112911,
0.020927055,
-0.0062095625,
0.007295605,
0.054698993,
-0.03738005,
0.05155272,
-0.011870692,
0.011127421,
-0.017434401,
-0.033108044,
-0.044307627,
0.017015861,
-0.042633463,
-0.014064425,
-0.0032833829,
0.08711428,
0.00070719013,
-0.009013066,
0.029615391,
-0.00065938267,
0.009965608,
-0.0026303143,
0.011834611,
0.0015027791,
-0.022832138,
-0.001786918,
-0.037495513,
-0.04078611,
-0.016698347,
0.004170979,
0.002105334,
0.0012998227,
0.009280067,
0.022846572,
-0.035821345,
0.014461317,
0.0024932062,
-0.023409437,
-0.036773887,
0.04583747,
0.04898374,
-0.02548771,
-0.038101673,
0.010405798,
0.016929267,
0.028749445,
0.033685345,
0.011603692,
0.044538546,
0.03126069
] | hub_strategy="checkpoint" pushes the latest checkpoint to a subfolder named "last-checkpoint" from which you can resume training
hub_strategy="all_checkpoints" pushes all checkpoints to the directory defined in output_dir (you'll see one checkpoint per folder in your model repository) |
[
0.030767348,
0.0012517904,
-0.010776039,
-0.0010398915,
-0.028317908,
-0.039549485,
-0.0333064,
-0.0071765585,
-0.03249988,
0.07593262,
0.019416288,
0.00749394,
0.022761863,
-0.03181284,
-0.014435262,
-0.012262132,
-0.02624186,
0.0007495807,
-0.06959992,
0.018938348,
-0.006590336,
-0.016444102,
-0.0534396,
-0.026062632,
-0.05774105,
0.015891485,
-0.031544,
0.0106864255,
0.06780765,
0.06559718,
-0.010290632,
-0.010313036,
-0.00016452503,
-0.022000147,
-0.0009866834,
-0.02270212,
-0.0064484477,
0.009693208,
-0.062012635,
-0.013008912,
0.02161182,
0.0034967987,
0.021731306,
-0.05875667,
-0.08991235,
0.00062729546,
-0.020581264,
-0.009715611,
-0.0057278047,
-0.05866706,
-0.00020769826,
0.046569217,
0.022239117,
-0.015488223,
-0.023598257,
0.01763895,
-0.0047196513,
-0.029363401,
-0.02963224,
-0.013987195,
0.022911219,
0.033903826,
0.0010417585,
-0.028885461,
0.028795848,
0.020984527,
-0.012314407,
0.006433512,
-0.013315093,
-0.042476863,
0.0009969517,
-0.0049959603,
-0.025300916,
-0.04020665,
-0.015503159,
0.07264678,
0.022209246,
0.0035005326,
-0.025569757,
0.025076881,
0.01947603,
0.0106864255,
-0.03426228,
-0.045434114,
-0.034740217,
-0.03306743,
0.054783802,
-0.010006856,
-0.0044956175,
-0.043343127,
0.000089146895,
0.016578522,
-0.024628814,
-0.011455609,
0.031155674,
0.022836542,
-0.0006426978,
0.024628814,
0.04050536,
-0.014928138,
0.009401964,
0.06535821,
0.0002051312,
0.028422458,
-0.02161182,
-0.023613192,
0.029542629,
-0.011575094,
-0.04394055,
-0.017579207,
0.0015383674,
0.027914647,
0.004170768,
0.020267617,
0.020865042,
0.04863033,
-0.00937956,
-0.022209246,
-0.00606759,
-0.019655257,
0.047495227,
-0.02616718,
0.0011304386,
-0.027197737,
0.037458498,
-0.012590716,
-0.0046337717,
0.037548114,
-0.033276528,
-0.017534401,
-0.027586063,
0.02579379,
0.016832428,
0.014860927,
0.037816953,
-0.010327972,
-0.016354488,
0.04636012,
0.0046785786,
-0.046569217,
0.04486656,
-0.0002284681,
0.0018996224,
0.0510499,
0.008976299,
-0.03898193,
0.012859557,
-0.015368738,
-0.03285833,
0.0058920966,
-0.04441849,
-0.0037320345,
0.0186247,
-0.0017175947,
0.024464522,
-0.027690614,
-0.023105381,
0.032738846,
-0.037339013,
0.028661428,
-0.02403139,
0.028392587,
-0.023359288,
0.031125803,
0.0005652193,
0.03775721,
-0.004025146,
-0.06816611,
-0.00005250799,
-0.03928064,
0.03605455,
-0.013225479,
0.02477817,
0.006735958,
0.090211056,
0.026211988,
0.06332697,
-0.019490965,
0.02600289,
0.014928138,
-0.05947358,
0.014368053,
0.013068655,
0.017818177,
0.002613731,
0.0015365004,
-0.025659371,
-0.01624994,
-0.0024662418,
0.046808187,
-0.00025763919,
0.020700749,
-0.020446844,
0.04092356,
-0.006665014,
-0.018535087,
-0.029602371,
-0.008759732,
-0.005865959,
-0.04880956,
0.0021245899,
0.023433965,
-0.0048391363,
0.0284822,
0.015323931,
0.009394496,
0.015144704,
0.052872043,
0.001934161,
0.032410264,
0.0035136011,
0.00029264452,
-0.023404093,
-0.00856557,
-0.019744871,
-0.012501102,
0.0018706846,
0.040624846,
0.016473973,
-0.04137163,
-0.003599481,
0.009879903,
0.039370257,
0.013456981,
0.029886147,
0.00839381,
-0.02358332,
0.03503893,
0.0376676,
0.022403408,
0.022030018,
0.046957545,
-0.01179166,
0.05821899,
-0.0073147127,
0.010649087,
-0.0058883624,
0.0075200773,
0.0066575464,
-0.0010464259,
0.028467264,
-0.002568924,
0.012299472,
0.0041035577,
-0.008020421,
0.017952599,
-0.013703418,
0.0016335818,
-0.03826502,
0.030513443,
-0.05550071,
0.03814554,
0.018535087,
0.00018156096,
-0.032708976,
0.0013152667,
0.007266172,
0.017385045,
-0.03226091,
0.01750453,
0.00069777283,
0.02280667,
-0.027182803,
-0.052603204,
0.033216786,
0.03727927,
-0.011873807,
0.048660204,
0.010552005,
-0.022851476,
-0.046658833,
-0.04462759,
-0.022104695,
-0.05176681,
-0.03396357,
-0.018639635,
0.06768817,
-0.04636012,
0.023478772,
-0.05326037,
0.009902307,
0.028661428,
0.010417585,
0.06398413,
-0.008363939,
0.015637578,
-0.04420939,
0.0007920538,
-0.013456981,
0.03252975,
0.0102981,
-0.008050292,
0.006971194,
0.0021115213,
0.034859702,
0.005537376,
0.04830175,
-0.04417952,
-0.009469174,
0.024733363,
0.01614539,
0.033634983,
0.026943833,
0.009536385,
-0.018311052,
0.045463983,
0.037100043,
-0.04435875,
0.03751824,
0.040535234,
-0.029512757,
0.012896895,
0.004891411,
0.04388081,
-0.0409833,
-0.007307245,
0.013710886,
-0.024001518,
-0.039310515,
-0.039609227,
-0.005257333,
0.023045639,
0.009738015,
-0.027630871,
-0.013427109,
0.049197886,
-0.02845233,
-0.044537976,
0.00203871,
-0.06380491,
-0.050034277,
0.000033167547,
-0.03575584,
0.042327505,
-0.004122227,
0.028288037,
-0.042805444,
-0.011978355,
0.0015337,
0.038832575,
0.00046440397,
-0.0033101037,
0.052662946,
0.0055075046,
-0.008304196,
-0.021328045,
0.046987414,
-0.05134861,
-0.004854072,
-0.0028900397,
0.025748985,
-0.00038295827,
0.026286665,
-0.010439988,
0.015047623,
0.02648083,
-0.023015767,
0.0130910585,
0.027630871,
0.021074139,
0.016817492,
0.008423681,
-0.017429851,
-0.0035677429,
-0.032231037,
-0.02134298,
-0.0013003312,
0.044060037,
0.045225013,
-0.028706234,
0.039579354,
-0.02406126,
0.0039542015,
-0.008543166,
-0.00072624383,
-0.021148818,
0.030154988,
0.0070234686,
0.06380491,
-0.032320652,
-0.04883943,
0.012695265,
0.029751725,
-0.016025905,
0.011231575,
0.023911905,
0.0037899099,
0.015196979,
-0.024374908,
-0.0031103399,
0.00022695119,
-0.036592234,
-0.02875104,
-0.039131287,
-0.050034277,
-0.009125655,
0.029363401,
0.05550071,
0.020611135,
0.0005708202,
0.003939266,
-0.039340384,
-0.010873121,
0.00914059,
0.006175873,
-0.014584619,
-0.04244699,
0.031095931,
-0.0070197345,
0.014084276,
-0.019013027,
0.00022776799,
-0.010096469,
-0.0047308533,
-0.001099634,
-0.016130455,
-0.030259537,
0.008998702,
-0.031484257,
-0.004398536,
-0.013837839,
-0.056307234,
-0.023254737,
0.0534396,
0.036263652,
-0.0626698,
0.0011229708,
-0.01964032,
-0.0048391363,
0.02589834,
-0.003750704,
-0.024001518,
-0.036353264,
-0.034411635,
-0.06529847,
-0.018266246,
0.051677193,
-0.06338671,
0.0096782725,
-0.053230498,
-0.004973557,
0.042805444,
-0.06380491,
-0.008311665,
0.0031868848,
0.045523725,
-0.009499045,
-0.0063102935,
-0.0025073148,
0.015398609,
0.04068459,
-0.055620193,
0.042805444,
-0.05305127,
-0.0020909847,
-0.035487,
-0.0010184216,
0.01294917,
0.05272269,
-0.008946428,
-0.0129715735,
0.0021152552,
0.08220557,
-0.038892318,
0.025226237,
0.00060442527,
0.011866339,
-0.011074752,
0.04385094,
-0.0011957819,
0.02331448,
0.020178003,
-0.022642378,
-0.019729935,
0.028332844,
-0.017653886,
0.052125264,
-0.022970961,
0.021940405,
0.017698692,
-0.045523725,
0.034680475,
-0.017190883,
-0.011522819,
-0.0032111553,
-0.062490575,
-0.030707605,
0.024733363,
-0.020058518,
0.01614539,
0.018788991,
-0.025076881,
-0.008946428,
-0.030468635,
0.0032316917,
0.037129916,
-0.034710348,
-0.014465134,
0.06786739,
0.026450958,
-0.020297488,
-0.05998139,
-0.08405759,
0.046658833,
-0.02800426,
0.013464448,
-0.04683806,
-0.048660204,
-0.013105994,
0.021014398,
-0.05296166,
0.027690614,
0.0032298246,
0.02491259,
0.045344498,
-0.031544,
0.02144753,
-0.023941776,
-0.020581264,
0.055112384,
-0.026913961,
-0.084714755,
-0.02443465,
0.0074491333,
-0.0027126793,
0.010387714,
-0.010171147,
-0.03235052,
-0.022478087,
-0.008274325,
0.026047695,
-0.017848048,
0.011321189,
-0.06386465,
-0.04417952,
0.017624015,
0.012150115,
0.013464448,
-0.047465354,
-0.0063102935,
-0.033186916,
0.023165124,
-0.05400715,
0.012157583,
0.016040841,
-0.022582635,
0.017997405,
0.023568386,
0.011440674,
-0.010761104,
0.046718575,
0.026809411,
-0.017295431,
0.03157387,
-0.056605946,
-0.008826943,
-0.010096469,
-0.002122723,
-0.02049165,
0.00839381,
0.009640933,
-0.0017455989,
-0.0009988187,
0.040833946,
-0.045583468,
0.014405391,
-0.020267617,
0.028019195,
0.023224866,
-0.025495078,
0.03157387,
-0.00937956,
-0.0025427868,
0.024703491,
0.064163364,
-0.006138534,
0.034620732,
0.0011379065,
-0.08118995,
0.01937148,
-0.00050314324,
0.009469174,
-0.017534401,
-0.019595515,
0.08089124,
-0.049406983,
0.03895206,
0.04758484,
0.022687186,
0.029901082,
-0.035218157,
0.014935605,
0.03405318,
-0.0037114979,
0.011470545,
0.02205989,
-0.042088535,
0.007811322,
0.0027406837,
-0.050183635,
-0.030677734,
0.02022281,
0.003868322,
-0.0075238114,
0.044030163,
-0.017071398,
-0.04764458,
-0.040117037,
0.030169923,
0.006414843,
0.013837839,
0.011604966,
-0.006560465,
-0.007228833,
0.016160326,
-0.014480069,
0.0056195217,
-0.00089660304,
0.05923461,
0.031603742,
-0.015682386,
0.00992471,
0.005865959,
-0.04068459,
-0.057860535,
-0.0117692575,
0.03229078,
-0.009080848,
-0.006694885,
-0.021671563,
0.0020256415,
-0.007266172,
-0.0019789678,
0.0155927725,
-0.016025905,
-0.026122374,
-0.027287351,
-0.053379856,
-0.100068554,
0.037159786,
0.031603742,
-0.033754468,
-0.023732677,
-0.059772294,
-0.04244699,
-0.021671563,
-0.032470006,
0.039250772,
-0.0045590936,
0.019580578,
0.02083517,
0.0106640225,
0.056337103,
-0.001608378,
0.041789826,
0.021178689,
-0.034322023,
-0.016877234,
-0.002044311,
-0.008670119,
-0.034351893,
0.0074416655,
0.01590642,
0.0063364306,
-0.0043836003,
0.046897803,
-0.022119632,
-0.074678026,
-0.0068367734,
-0.01662333,
0.0044582784,
0.0025110487,
-0.002729482,
-0.024016453,
0.030737476,
-0.008826943,
0.0070682755,
-0.016205132,
-0.017713629,
-0.009357157,
-0.013695951,
-0.025136624,
-0.0053058737,
-0.046778318,
0.017011655,
-0.035905197,
-0.03082709,
0.0076358286,
0.021865727,
0.011724451,
0.0024905123,
0.029826405,
0.0744988,
-0.016339552,
0.029199108,
-0.021417659,
0.010372778,
0.0014048804,
0.011201704,
-0.046927672,
0.04289506,
0.06709074,
-0.035606485,
0.03082709,
-0.035397384,
-0.030886833,
-0.016563587,
-0.021462465,
0.038802702,
-0.023374222,
-0.022403408,
0.021313109,
0.04023652,
-0.06625435,
-0.0114332065,
-0.033396013,
-0.0018193434,
-0.009596126,
0.025196366,
0.0104474565,
0.0077889184,
-0.012702732,
0.04486656,
0.038294893,
0.03572597,
0.028691297,
-0.010208487,
0.020521522,
0.031036189,
-0.043044414,
-0.014950541,
0.040057294,
0.0129939765,
0.005832354,
0.025076881,
-0.019013027,
-0.012560844,
-0.002955383,
0.0205962,
-0.019027961,
0.011873807,
0.021372851,
0.004417205,
-0.0013180672,
-0.032977816,
-0.025271045,
0.050601833,
-0.03799618,
-0.0032652968,
-0.009043509,
-0.042148277,
-0.022418344,
-0.046061408,
-0.045673084,
-0.010514666,
0.0041110255,
0.017056461,
-0.025808726,
0.0060638557,
0.006739692,
0.03396357,
-0.021283237,
-0.02637628,
-0.011522819,
0.016638264,
-0.013270286,
-0.048660204,
-0.004342527,
0.07551442,
-0.014427795,
-0.010850717,
-0.041013174,
-0.033634983,
0.0096782725,
0.040774204,
-0.014995348,
0.022911219,
-0.042118408,
0.011485481,
-0.02810881,
-0.0046487073,
0.0018986888,
0.034112923,
0.017698692,
-0.011127026,
-0.02229886,
0.0034351894,
0.008117502,
-0.050960287,
0.005003428,
0.027197737,
0.04683806,
-0.018788991,
0.029453015,
0.04638999,
0.06380491,
0.032081682,
0.029856276,
0.0016643866,
0.0337246,
0.03951961,
-0.039549485,
-0.0284822,
0.01393492,
0.021910533,
-0.0035304038,
0.032081682,
-0.009215268,
-0.014300843,
-0.009050977,
0.041580725,
-0.008110034,
0.021641692,
0.034710348,
-0.0059331693,
-0.027795162,
0.03258949,
-0.0028246965,
0.002307551,
-0.012568312,
-0.022896284,
0.038384505,
0.012023162,
-0.031992067,
-0.010380246,
0.050004408,
0.04982518,
-0.03871309,
0.0304537,
0.0139573235,
0.016533716,
-0.00431639,
0.0431639,
-0.024852848,
0.04184957,
-0.046061408,
-0.05624749,
-0.012306939,
0.03874296,
-0.019804614,
-0.048929043,
-0.027466578,
-0.019864356,
0.04782381,
-0.040356006,
-0.012486166,
-0.037339013,
-0.039400127,
0.018131826,
0.0024699757,
-0.013173204,
-0.0025651902,
0.0003759572,
0.021029333,
0.0057278047,
0.07222859,
0.00002892315,
0.061594438,
0.033933695,
-0.01947603,
0.02208976,
0.003782442,
-0.024345037,
-0.030767348,
0.0245392,
0.026660057,
0.021671563,
0.0008284594,
-0.054783802,
0.028975075,
-0.009887371,
-0.01627981,
-0.044000294,
0.02008839,
0.0074229958,
-0.02946795,
-0.0025614563,
0.07360266,
0.034919444,
-0.0076619657,
-0.019864356,
-0.011171833,
-0.06141521,
0.03282846,
-0.03229078,
0.042775575,
-0.030976446,
-0.052872043,
-0.019446159,
-0.027556192,
-0.0083266,
-0.018101955,
-0.042357378,
0.0100143235,
-0.0029012414,
0.019311737,
0.045105528,
0.05376818,
-0.031753097,
-0.046748444,
0.029587435,
0.03479996,
0.0021600618,
0.06213212,
0.059802163,
0.00034678608,
-0.009342222,
-0.006631409,
0.009409431,
0.0188338,
-0.003069267,
-0.017385045,
-0.037637725,
-0.05427599,
-0.035218157,
-0.004738321,
0.014218696,
-0.058816414,
-0.018848734,
-0.0019845685,
-0.037607856,
-0.033694725,
-0.0016410496,
-0.034232408,
0.015249253,
0.0040736864,
-0.016712943,
-0.021940405,
-0.034501247,
0.26597327,
0.024345037,
0.019655257,
0.0023299544,
0.061773665,
0.07163116,
0.012545909,
0.019834485,
0.028840654,
-0.024180746,
-0.015114833,
-0.031723227,
0.014017066,
0.012053033,
-0.02083517,
-0.012023162,
-0.031992067,
0.014114147,
0.02824323,
-0.0685843,
-0.025405465,
0.027630871,
0.01114943,
0.051199257,
-0.0026604047,
-0.03898193,
0.0015234317,
-0.04955634,
0.04686793,
-0.0071840263,
0.018072084,
-0.03945987,
0.012553376,
-0.0033941164,
0.0028078938,
0.039579354,
0.0061646714,
-0.0026996108,
-0.0126355225,
-0.008349003,
0.023478772,
0.021238431,
-0.011761789,
-0.022283923,
0.003558408,
0.008319132,
-0.0068853144,
0.02949782,
0.037876695,
-0.044537976,
0.017758435,
-0.058129378,
0.04465746,
-0.025480144,
-0.04444836,
0.0042566475,
-0.036920816,
-0.031364772,
-0.02994589,
0.032649234,
0.006022783,
-0.0008461954,
-0.03082709,
0.039788455,
0.012792346,
0.021268303,
-0.011485481,
0.000045769462,
-0.023911905,
0.0048764753,
0.03226091,
0.024106067,
-0.03426228,
-0.012396553,
0.0035752107,
0.022866413,
-0.0035434724,
0.031245288,
0.003754438,
-0.04044562,
0.0102981,
-0.017967533,
0.022761863,
-0.044269133,
0.031603742,
0.032320652,
-0.008266858,
0.024987267,
-0.010238358,
0.018908476,
-0.007811322,
0.07312472,
0.0455536,
0.02933353,
0.007225099
] |
When you resume training from a checkpoint, the [Trainer] tries to keep the Python, NumPy, and PyTorch RNG states the same as they were when the checkpoint was saved. But because PyTorch has various non-deterministic default settings, the RNG states aren't guaranteed to be the same. If you want to enable full determinism, take a look at the Controlling sources of randomness guide to learn what you can enable to make your training fully deterministic. Keep in mind though that by making certain settings deterministic, training may be slower.
Customize the Trainer
While the [Trainer] class is designed to be accessible and easy-to-use, it also offers a lot of customizability for more adventurous users. Many of the [Trainer]'s method can be subclassed and overridden to support the functionality you want, without having to rewrite the entire training loop from scratch to accommodate it. These methods include: |
[
0.0122832665,
0.033542205,
-0.032114256,
-0.0139079215,
-0.011256018,
-0.029098082,
-0.014002632,
-0.00580286,
-0.0054932283,
0.06253829,
0.03619411,
0.027553568,
0.015853137,
-0.048171386,
0.0090121,
-0.005566083,
-0.0004831163,
-0.057059634,
-0.053475194,
0.031414855,
-0.024245974,
-0.0127058225,
-0.06055665,
-0.043625265,
-0.05944926,
-0.020821812,
0.010185057,
-0.049832467,
0.06411195,
0.009405514,
-0.021069517,
-0.010250626,
-0.009660505,
-0.027305862,
-0.014046345,
-0.017266514,
-0.0059121414,
-0.026081907,
-0.077692024,
-0.038263176,
0.0063856957,
-0.036660377,
0.03310508,
-0.055311125,
-0.0753024,
0.013521792,
-0.006881106,
-0.018126197,
-0.015182875,
-0.06317941,
-0.022686888,
0.037447207,
-0.021506645,
-0.021666924,
-0.021360936,
0.020005843,
0.0188256,
-0.008676969,
-0.044062395,
0.009500225,
0.010432762,
0.012290552,
-0.006844679,
-0.037884332,
0.049016498,
0.016858527,
-0.009070383,
-0.024945376,
-0.020399256,
-0.047938254,
-0.043246422,
0.003923214,
0.010083061,
-0.029462354,
0.0064876922,
0.049074784,
0.020646961,
0.020064125,
-0.03441646,
0.053154632,
0.0091869505,
0.036893513,
-0.008560402,
-0.0052819503,
0.00084647804,
-0.026533604,
0.026854163,
-0.044382952,
-0.026344182,
-0.033658773,
-0.02484338,
0.02615476,
-0.016858527,
-0.029127223,
0.018359331,
0.031269144,
0.0027083654,
0.035174146,
0.0010418191,
-0.029418642,
0.02514937,
0.062421724,
0.0011711359,
0.0033640559,
-0.017324798,
0.02631504,
0.054378588,
0.013682073,
-0.060789783,
-0.042430453,
0.0073801596,
0.004771969,
0.019991271,
0.010789749,
-0.04062366,
0.07285449,
-0.016159125,
-0.020005843,
-0.068716355,
-0.023371719,
0.05277579,
-0.0057008634,
-0.029127223,
-0.03220168,
0.049074784,
0.0067463256,
-0.0007649721,
0.04106079,
-0.01866532,
-0.028180115,
-0.04062366,
0.00869154,
0.017077092,
0.031560563,
0.029156366,
0.030773735,
-0.026708454,
0.00524188,
0.017004237,
-0.04968676,
0.029243791,
0.0380009,
-0.000379754,
0.060265232,
-0.010651326,
-0.025367932,
-0.00669897,
-0.018621607,
-0.043217283,
-0.010738751,
-0.03747635,
0.028209258,
0.00078546244,
-0.009310803,
0.02063239,
-0.04152706,
-0.05161012,
0.042255603,
0.009194236,
0.021579498,
0.013536364,
0.057292767,
-0.047209706,
0.03668952,
0.00036336176,
0.048287954,
-0.006327412,
-0.031414855,
0.024289686,
-0.04499493,
0.006637044,
-0.01413377,
-0.018883882,
-0.024464536,
0.055019706,
0.043887544,
0.07909083,
0.00018976317,
0.008596829,
-0.005904856,
-0.034795303,
0.019787278,
0.009718789,
0.033687916,
-0.0076861484,
-0.0018322903,
0.0069357473,
0.013580076,
-0.030103473,
0.024406252,
0.003908643,
0.021054946,
-0.02564478,
-0.003792076,
-0.03494101,
-0.009791643,
0.029316645,
0.018738175,
0.036922652,
-0.02695616,
-0.011132166,
0.025630208,
-0.02711644,
0.05909956,
0.019845562,
0.02354657,
-0.0054823,
0.03768034,
-0.015518006,
0.033571348,
0.0031964907,
0.0044368384,
-0.03345478,
0.022759741,
-0.0020180694,
-0.010993742,
-0.02466853,
-0.010345337,
-0.0056389375,
0.0028905016,
0.045169782,
0.023677709,
0.017091662,
0.018286476,
-0.029957766,
-0.02224976,
-0.00092707336,
0.004032496,
0.005883,
0.022716029,
0.025732204,
0.052367806,
0.02615476,
0.036456384,
-0.025688492,
0.027699275,
0.02159407,
0.036427245,
0.013980776,
0.008407407,
0.02842782,
-0.015722,
0.0060469224,
0.030482316,
-0.03543642,
-0.0007303662,
-0.0013505401,
0.01589685,
-0.033542205,
0.01900045,
-0.075710386,
0.049599335,
-0.0012467224,
-0.017485077,
-0.023969127,
0.013711214,
-0.009777072,
-0.011234161,
-0.013703929,
0.0013122915,
0.017251942,
0.034270752,
0.009201522,
0.0022257045,
0.038583737,
0.025265936,
0.028835805,
0.019772708,
0.034270752,
-0.0944777,
0.0018723604,
-0.077342324,
-0.03473702,
-0.022541178,
0.0011711359,
-0.016537968,
0.032871943,
-0.042488735,
-0.037767764,
-0.009441941,
0.02857353,
-0.0045789042,
0.011707716,
0.05458258,
0.00019329206,
0.022978306,
-0.05277579,
-0.019393865,
-0.021535786,
0.0036572951,
0.041993327,
-0.011715001,
-0.0073583033,
-0.011591149,
0.044208102,
0.018898454,
0.044208102,
-0.01226141,
-0.059973814,
-0.009609506,
-0.02063239,
0.019364722,
0.0034259823,
0.04659773,
-0.03698094,
0.018082483,
0.02356114,
-0.03429989,
0.06586046,
0.033425637,
-0.014439759,
0.021827204,
-0.013193947,
-0.007970281,
-0.031647988,
0.036135826,
0.041672766,
-0.027014444,
-0.022016626,
-0.05816702,
-0.029156366,
-0.00673904,
-0.0005946747,
-0.005336591,
0.0077662882,
0.052105527,
-0.016450543,
-0.051435266,
0.021521214,
-0.045490343,
-0.013244946,
-0.019772708,
-0.012239554,
0.01589685,
0.020544965,
-0.02679588,
-0.041206498,
0.0046554017,
-0.02418769,
0.039370563,
0.017761923,
0.011168593,
0.07075628,
0.041293923,
-0.00071488466,
0.00066206517,
0.009420085,
-0.04269273,
-0.015984274,
-0.0018923953,
-0.0096677905,
-0.01688767,
0.014767604,
0.011474581,
0.042080753,
0.04237217,
-0.01282239,
-0.008363695,
0.015182875,
-0.011867996,
0.040069968,
-0.023721421,
0.012122987,
-0.008232557,
-0.043129858,
-0.011248733,
0.0056899353,
0.022235189,
0.04790911,
-0.024420824,
0.049745042,
-0.012122987,
-0.016771102,
0.016363118,
-0.014272194,
-0.014068201,
0.03942885,
0.055573404,
0.091038965,
-0.05475743,
0.005340234,
0.04056538,
-0.0034205182,
-0.010556615,
0.016523398,
-0.0106003275,
-0.025921626,
0.031006869,
-0.009944637,
0.031210862,
0.033921048,
0.0025845128,
-0.01688767,
-0.031647988,
-0.023342578,
0.012989955,
0.00040320406,
0.032901086,
0.043479558,
-0.0059922817,
0.009718789,
-0.04371269,
-0.045082357,
0.00092069857,
-0.007292734,
-0.022774313,
-0.04074023,
-0.00974793,
0.038146608,
0.018475898,
-0.019233584,
-0.0043057003,
-0.009150524,
-0.021317223,
0.003198312,
0.0044586947,
-0.04557777,
-0.0054895855,
-0.021725208,
-0.011423583,
-0.0072708777,
-0.04012825,
-0.037709482,
0.029637204,
0.050619297,
-0.04802568,
0.023619425,
-0.042751014,
0.02452282,
0.021827204,
-0.003934142,
-0.055107135,
-0.054611724,
-0.013463509,
-0.0396037,
0.010687754,
0.05053187,
-0.043479558,
0.010083061,
-0.04307157,
-0.000982625,
0.028937802,
0.018956738,
-0.0238817,
-0.019641569,
0.041847616,
0.0040215678,
0.018709032,
-0.010512902,
-0.0048812507,
0.04688915,
-0.07011516,
0.025222223,
-0.05633109,
0.023007447,
-0.054553438,
0.035494708,
-0.011664003,
-0.00036973652,
0.00013819586,
-0.0073910877,
0.02612562,
0.031647988,
0.0031618846,
0.0009516617,
-0.0048338952,
0.013128378,
0.011569292,
0.03768034,
0.00055232807,
-0.01509545,
0.0016984203,
0.03526157,
-0.0016383153,
0.009675076,
-0.056913923,
0.01178057,
-0.029593492,
0.013383369,
0.02305116,
-0.06720098,
0.014257623,
0.0044987644,
-0.017980488,
-0.013674787,
-0.044237245,
-0.033425637,
-0.024333399,
-0.025484499,
0.026679313,
-0.015707428,
-0.017426793,
-0.023459144,
-0.04152706,
-0.0026027265,
0.036747802,
-0.024173118,
-0.011270589,
0.04368355,
0.025469929,
-0.0010509259,
-0.04479094,
-0.011766,
0.033658773,
-0.039195713,
-0.00043485023,
-0.034154184,
-0.03220168,
-0.0031855623,
0.023998268,
-0.02386713,
0.017470505,
0.01768907,
-0.0032219896,
0.0321434,
0.0051835966,
0.011511009,
0.0016173696,
-0.005099814,
0.04039053,
-0.032434817,
-0.066967845,
-0.05405803,
-0.0096386485,
-0.0018796457,
0.0047064,
0.0024005554,
-0.050065603,
-0.010185057,
-0.04257616,
0.03992426,
0.0038795015,
0.0017120804,
-0.073787026,
-0.020748958,
-0.026213044,
0.029826626,
0.037622057,
-0.045169782,
0.012632968,
-0.019845562,
0.059157845,
-0.06953232,
-0.01688767,
0.02615476,
-0.017980488,
0.0125236865,
0.014053631,
0.013383369,
0.0029087153,
0.02096752,
0.024653958,
0.0044222674,
0.014461615,
-0.077342324,
-0.012618397,
-0.01704795,
0.014876886,
0.04729713,
0.011503723,
0.0106003275,
0.021521214,
-0.03263881,
0.07250479,
-0.018577894,
0.027218437,
-0.016960524,
-0.016129984,
0.024158549,
0.008822679,
0.01623198,
-0.023196869,
0.018592466,
-0.0360484,
0.024231402,
-0.023998268,
0.017616214,
-0.02549907,
-0.03429989,
0.01589685,
-0.018767316,
-0.024100265,
-0.0122541245,
-0.004899464,
0.0877168,
-0.036718663,
0.039632842,
0.053300343,
0.052367806,
0.03817575,
-0.008407407,
0.031910267,
0.0060979207,
0.04266359,
0.021608641,
0.010826177,
0.0013942528,
-0.017922204,
0.025469929,
-0.05799217,
-0.0055187275,
0.036252394,
0.0043384847,
-0.020122409,
0.065918736,
0.002498909,
-0.047879968,
-0.04062366,
0.024595674,
0.020166121,
0.0034733377,
0.031764556,
0.03231825,
0.02093838,
0.011336158,
-0.029680917,
-0.011744143,
-0.0152703,
0.066618145,
-0.018621607,
-0.0451115,
-0.005770075,
0.024989089,
-0.01770364,
-0.04158534,
-0.015998846,
0.023532,
0.0110811675,
0.0015809423,
-0.018417614,
0.0062545575,
-0.00064521754,
0.012611112,
0.0002086598,
-0.05277579,
0.010665897,
-0.036631234,
0.0045534056,
-0.079265684,
0.04173105,
0.05050273,
-0.016960524,
-0.003555299,
-0.048491947,
0.02306573,
-0.011554722,
-0.038933437,
0.028821236,
-0.009580365,
-0.024653958,
0.027087297,
0.013944348,
0.026693884,
-0.0108116055,
0.017324798,
-0.0005983175,
-0.011911709,
-0.04012825,
0.0022967376,
0.01818448,
-0.019379294,
0.037097506,
0.019015022,
-0.0076570064,
0.017965917,
0.053941462,
-0.025775917,
-0.067317545,
0.032871943,
-0.035669558,
-0.017995058,
-0.004968676,
0.024245974,
-0.021550357,
0.010301624,
0.016013416,
-0.04922049,
0.030628026,
0.020982092,
-0.008596829,
-0.03167713,
-0.05146441,
0.030161757,
-0.04575262,
-0.01818448,
-0.033833623,
-0.054640863,
0.030249182,
0.023633996,
0.027014444,
0.02241004,
-0.02356114,
0.038408887,
-0.022657745,
0.02305116,
-0.024639387,
0.002107316,
0.010323481,
0.006804609,
-0.017149946,
0.049919896,
0.047617693,
0.0019342867,
0.027145581,
-0.018388472,
-0.024275115,
-0.000081676706,
0.005329306,
0.0077954303,
0.025251364,
-0.015197446,
0.010891746,
0.050561015,
-0.025367932,
-0.015037166,
-0.008480262,
-0.02013698,
0.024027409,
0.018097054,
0.032580525,
0.057729896,
0.005074315,
0.02048668,
0.014723891,
0.041002505,
0.019219013,
-0.0021255296,
0.01419934,
0.037563775,
-0.0052018105,
-0.039195713,
0.029986907,
0.02695616,
-0.025251364,
-0.01088446,
0.012509115,
-0.022701457,
-0.021972913,
-0.006866535,
-0.024741383,
-0.0027229364,
-0.0038030043,
-0.025965339,
-0.0045279064,
-0.009653219,
-0.013463509,
0.023094872,
-0.05828359,
-0.016421402,
0.0015244802,
-0.007227165,
0.011722287,
-0.032726236,
-0.0110520255,
-0.0110811675,
-0.005103457,
0.018738175,
-0.020996664,
-0.0061744177,
0.0020781741,
0.0062472722,
0.0025717635,
-0.03864202,
-0.0007463031,
0.0014525363,
-0.037796907,
-0.03246396,
0.018607035,
0.06964889,
-0.0013177556,
-0.009609506,
-0.032522243,
-0.025047373,
0.010410906,
0.02612562,
-0.011816998,
-0.007926568,
-0.062130306,
0.0051763114,
-0.007402016,
0.03161885,
-0.012698537,
0.04575262,
-0.00021150569,
-0.02322601,
0.02257032,
0.016960524,
0.021725208,
-0.05146441,
0.013813211,
0.013412511,
0.011802427,
-0.013550934,
0.021798063,
0.029928623,
0.028835805,
-0.0009443763,
0.05230952,
0.007241736,
0.03228911,
0.024814239,
-0.043596126,
-0.005784646,
0.0045934753,
0.021666924,
-0.013514508,
0.04307157,
-0.020646961,
-0.0031600634,
-0.009288947,
0.013463509,
0.022337185,
0.0004894911,
0.04869594,
0.0024023766,
-0.021098658,
0.024056552,
0.040361386,
-0.059740677,
0.034970153,
-0.039020862,
0.03846717,
-0.0034678737,
-0.000033865952,
0.01916073,
0.010134059,
0.02630047,
0.009740645,
0.032609668,
0.007547725,
0.03459131,
-0.03220168,
0.01932101,
-0.011503723,
0.0009762501,
-0.041672766,
-0.05927441,
0.02614019,
0.018461326,
-0.014629181,
-0.051056422,
0.024726812,
0.009033957,
0.030744594,
-0.05018217,
0.007402016,
-0.027029015,
-0.04097336,
0.0230803,
0.02791784,
-0.06586046,
0.007649721,
-0.019627,
0.0035024795,
0.007970281,
0.03945799,
-0.00077089155,
-0.0074493713,
0.030161757,
-0.018126197,
-0.018359331,
0.009252519,
-0.0155325765,
-0.03852545,
0.010563901,
0.029156366,
-0.013128378,
-0.031210862,
-0.041119073,
0.009274377,
0.017397651,
-0.0040798513,
-0.011372586,
0.027451571,
-0.000985357,
-0.029200079,
-0.0072089513,
0.0360484,
-0.015445151,
0.007584152,
0.0025681206,
-0.012348835,
0.01623198,
-0.033571348,
-0.044237245,
0.018607035,
-0.03202683,
-0.036922652,
-0.029768344,
-0.07489441,
0.011656717,
0.0150517365,
-0.011256018,
0.019583287,
0.046918288,
-0.0065896884,
0.016843958,
0.0042219176,
-0.0073910877,
0.007096027,
0.048404522,
0.042168178,
-0.0033330927,
0.0536209,
0.02093838,
-0.016392259,
-0.012807819,
0.020107837,
0.01048376,
0.0007572313,
0.0012139379,
0.008793537,
-0.003172813,
-0.028107261,
-0.03931228,
-0.057729896,
0.024158549,
-0.013951634,
0.0048193242,
-0.030249182,
-0.03768034,
-0.106484115,
-0.0044149817,
-0.019991271,
0.042255603,
-0.025615638,
-0.0016802066,
-0.0042328457,
-0.066792995,
0.2524845,
0.043246422,
0.042809296,
0.001581853,
0.05583568,
0.06341255,
-0.0057518617,
0.026431607,
-0.010767893,
-0.04400411,
0.040827654,
-0.044382952,
0.004997818,
0.017805636,
-0.0019925702,
0.020413827,
-0.025134798,
0.005919427,
0.009616792,
-0.022643175,
-0.0301909,
0.06725926,
0.0075550103,
0.044062395,
0.00007416359,
0.010695038,
-0.023648566,
-0.0795571,
0.020603249,
-0.03945799,
0.017324798,
-0.011569292,
-0.006425766,
0.0021983841,
0.0037410778,
0.086959116,
0.029360358,
0.0068191797,
-0.03316336,
-0.045228064,
0.05589396,
-0.033746198,
-0.02631504,
-0.002438804,
-0.009084955,
-0.013412511,
-0.03220168,
0.045432057,
0.048287954,
-0.051872395,
0.05624366,
-0.039545417,
0.041381348,
-0.018082483,
-0.0632377,
0.008735253,
-0.0047209705,
-0.0720968,
-0.048929073,
0.041818473,
0.05816702,
-0.001010856,
-0.019728996,
0.04318814,
-0.027640993,
0.039807692,
-0.002444268,
0.037796907,
-0.01525573,
0.005904856,
0.0010181414,
0.01690224,
-0.045606907,
-0.037068363,
0.041323066,
-0.005467729,
-0.016829386,
0.03983683,
0.014425188,
-0.068716355,
-0.0017148125,
-0.0059667826,
-0.0071178833,
-0.05295064,
0.03362963,
0.015372297,
-0.02860267,
0.012632968,
-0.00227306,
0.01589685,
0.010673182,
0.048754223,
0.0056899353,
0.0067827525,
0.012611112
] |
Callbacks
Another option for customizing the [Trainer] is to use callbacks. Callbacks don't change anything in the training loop. They inspect the training loop state and then execute some action (early stopping, logging results, etc.) depending on the state. In other words, a callback can't be used to implement something like a custom loss function and you'll need to subclass and override the [~Trainer.compute_loss] method for that.
For example, if you want to add an early stopping callback to the training loop after 10 steps. |
[
0.019736707,
-0.008320093,
-0.032556884,
-0.01967883,
-0.016206095,
0.0067645973,
0.0024580448,
-0.000110105575,
-0.003939383,
0.064303465,
0.022847699,
0.0078208875,
0.037765987,
-0.05368269,
0.01692958,
0.035016738,
-0.00767619,
-0.031978097,
-0.06505589,
-0.015931169,
-0.014520371,
0.010273506,
-0.090233214,
-0.03802644,
-0.04560858,
-0.015989048,
0.02966294,
-0.022616183,
0.059788913,
0.010483317,
-0.031862337,
-0.016466549,
0.016640186,
-0.054290414,
-0.0023585656,
-0.010700363,
-0.000068392066,
-0.008833768,
-0.0680656,
-0.019273676,
0.0132615045,
-0.01594564,
-0.015714124,
-0.054666627,
-0.051222835,
0.009108693,
0.00016990624,
-0.02542331,
0.009853884,
-0.035971742,
-0.014679538,
0.018694887,
0.02496028,
-0.024034217,
-0.018275265,
0.011525137,
-0.007531493,
0.0009441497,
-0.042193722,
-0.029474834,
0.032064915,
0.020228678,
-0.0008198005,
-0.045232367,
0.019317085,
0.0027275435,
0.015106395,
0.0084286155,
0.011857941,
-0.031920217,
-0.029373545,
0.024410428,
-0.03973387,
-0.050672982,
0.0053103897,
0.039415535,
0.022572774,
0.03391704,
-0.049515404,
0.052293595,
0.034206435,
0.041499175,
0.004174516,
-0.018694887,
-0.005838535,
-0.0020275705,
0.011807297,
-0.025828462,
-0.05784997,
-0.035884924,
-0.015931169,
0.018608069,
-0.018738296,
-0.014672303,
0.026711116,
0.020431254,
-0.024005277,
0.015989048,
-0.01248014,
-0.038576294,
0.04025478,
0.07703683,
-0.01847784,
0.026826873,
-0.021646712,
0.008486494,
0.006232835,
0.0011946568,
-0.024670884,
-0.026291493,
0.0067175706,
-0.011358736,
0.01322533,
-0.0015102777,
0.02005504,
0.042656753,
-0.030675821,
-0.007589372,
-0.0466504,
-0.0046484,
0.021632241,
-0.014274386,
-0.015960108,
-0.026797934,
0.045261305,
-0.020170799,
0.0034781606,
0.03134143,
-0.024511717,
-0.011373205,
0.010266271,
0.018376553,
0.020344436,
0.035306133,
0.003054921,
0.0012109353,
-0.03817114,
0.006945469,
-0.010628015,
-0.026566418,
0.016003517,
-0.0008012611,
0.018434431,
0.0930114,
-0.012646541,
-0.020344436,
-0.013435141,
-0.008935057,
-0.044190545,
-0.0063992366,
-0.045753278,
0.02653748,
-0.013485786,
0.016133746,
0.0051114312,
-0.02125603,
-0.02496028,
0.023440957,
0.016235033,
0.026277024,
0.027506951,
0.015077456,
-0.018419962,
0.070149235,
-0.008616722,
0.059065424,
-0.0249024,
-0.05020995,
-0.0138547635,
-0.024555126,
0.0046809567,
-0.014643364,
0.0123571465,
-0.0011259256,
0.03290416,
0.028519832,
0.10285082,
0.008283919,
-0.0065403166,
0.00015566261,
-0.014932758,
-0.030386427,
0.013037224,
0.050296772,
0.006504142,
-0.016509958,
-0.015511547,
-0.02119815,
-0.04071781,
0.026653238,
0.025177324,
0.055013902,
-0.051656924,
-0.0023133475,
-0.044451002,
0.010121574,
-0.004764158,
0.018173978,
0.01059184,
-0.05457981,
0.015598366,
0.04818419,
-0.029894456,
0.034814164,
0.006688631,
0.039444476,
0.015453668,
0.047981616,
-0.017826704,
0.023600124,
0.032180674,
0.01325427,
-0.02278982,
-0.005654046,
0.009528316,
0.014325029,
-0.024786642,
0.001993205,
-0.0037585115,
-0.0044856155,
0.005907266,
0.024714293,
0.040399477,
0.014889349,
-0.0062038954,
-0.03492992,
-0.015034046,
0.06621347,
0.012726124,
0.052264653,
0.027680587,
0.036868863,
0.002534011,
0.07692107,
-0.0047135134,
0.012386086,
0.031486128,
0.033482946,
0.030907337,
0.023571186,
0.026277024,
0.00071670365,
0.021979515,
0.022457017,
0.000497849,
-0.014592719,
-0.010454378,
0.026913691,
-0.070264995,
0.0327884,
-0.05455087,
0.0540589,
0.011532373,
-0.0047822446,
-0.050181013,
-0.0009568107,
-0.000995698,
0.030878397,
-0.010157748,
0.013804119,
0.021646712,
0.008645662,
-0.034235373,
-0.00795835,
0.033048857,
0.045261305,
0.0059470576,
0.008030699,
0.017421551,
-0.033656586,
-0.06094649,
-0.06551892,
-0.096194744,
-0.018448902,
-0.029185439,
-0.018955342,
0.06245134,
-0.0029500155,
0.004706279,
-0.016509958,
0.023571186,
0.0102228625,
0.0063341227,
0.049341768,
0.037216138,
0.068239234,
-0.050123133,
0.00076056505,
-0.016032457,
-0.0056251064,
0.0020384227,
0.009644073,
0.018882994,
-0.039502356,
0.04829995,
0.007813653,
0.000033941684,
-0.027926574,
-0.048357826,
0.014194802,
-0.022095272,
0.020387845,
0.033193555,
0.033280373,
-0.031515066,
0.01642314,
0.019809056,
-0.040544175,
0.034553707,
0.027883165,
-0.0004666487,
0.04190433,
0.024236793,
0.0016495489,
-0.057531632,
0.04992056,
0.0340328,
-0.011163394,
-0.044856153,
-0.043264482,
-0.03177552,
0.022022923,
-0.007148045,
-0.000082692226,
0.004348153,
0.025191795,
-0.021342847,
-0.052380413,
0.043727513,
-0.05556375,
-0.03559553,
-0.0010535769,
0.019056631,
0.0017589761,
-0.008826533,
-0.001884682,
-0.055447992,
0.0049884384,
-0.009991347,
0.007632781,
0.0007795565,
-0.038113263,
0.036232196,
0.032180674,
0.01584435,
-0.0029952335,
0.02021421,
-0.028780287,
0.003820008,
0.009455967,
-0.0011666217,
-0.01536685,
0.039675992,
-0.005784273,
0.008168161,
0.02015633,
0.02069171,
0.001960648,
0.026523009,
0.028302785,
0.045840096,
0.0016314617,
0.020199738,
-0.013087868,
-0.052872382,
-0.0051584574,
0.0021614155,
0.026291493,
0.059123304,
-0.030125972,
0.023368608,
-0.006779067,
-0.010743773,
0.00047659664,
0.0008916969,
-0.04824207,
0.026016569,
0.055390116,
0.046534643,
-0.027232027,
-0.03281734,
0.029619532,
0.0043445355,
0.0047135134,
0.01959201,
0.005907266,
0.011894115,
0.004966734,
-0.041962206,
-0.016104806,
0.03345401,
-0.008052403,
-0.013037224,
-0.010078165,
-0.018347614,
0.02005504,
0.016032457,
0.025162855,
0.030675821,
0.025133915,
0.050701924,
-0.014209271,
-0.01805822,
0.012074987,
-0.037245076,
-0.014874879,
-0.056287237,
0.010772712,
0.040052205,
-0.018087158,
-0.02171906,
0.007538728,
-0.008942291,
-0.01167707,
0.009152102,
-0.0036933979,
-0.012899761,
0.0043192133,
-0.013152982,
0.022891108,
0.0033208022,
-0.059007548,
-0.045319185,
0.036174316,
0.05932588,
-0.07148045,
0.02594422,
-0.0488498,
0.0064824377,
0.039907508,
-0.037852805,
-0.028722407,
-0.027506951,
-0.019432843,
-0.05663451,
0.012610367,
0.044624638,
-0.02591528,
-0.0011494389,
-0.02171906,
-0.010642484,
0.0058313,
-0.024236793,
-0.03458265,
0.040949326,
0.025813993,
-0.0013701023,
0.0005046317,
-0.0057698037,
0.009578959,
0.022876639,
-0.054869205,
0.026233615,
-0.04557964,
0.0041455766,
-0.046361007,
0.020908756,
0.01914345,
0.04610055,
-0.0090363445,
-0.03982069,
0.0023024953,
0.03559553,
-0.026783464,
-0.033338252,
0.022630652,
0.003794686,
0.019490723,
0.045984793,
-0.017117687,
-0.01029521,
0.01167707,
0.022645123,
-0.04447994,
0.008804829,
-0.03533507,
0.012009873,
-0.03553765,
-0.036724165,
0.03275946,
-0.06592408,
0.043177664,
-0.013898172,
-0.03602962,
0.02808574,
-0.069686204,
-0.021357317,
0.008095812,
-0.008971231,
-0.00058150216,
0.009065283,
-0.002640725,
-0.017682007,
-0.005487644,
0.022847699,
0.013297679,
-0.03707144,
-0.017595189,
0.054406174,
0.02542331,
0.01635079,
-0.06881802,
-0.02869347,
0.025191795,
0.0003138122,
0.0392419,
-0.016495489,
-0.025582477,
0.0013565369,
0.010367559,
-0.040659934,
0.026117858,
0.007878766,
0.016524429,
-0.002190355,
-0.005397208,
-0.04346706,
-0.01248014,
-0.038489472,
0.06204619,
-0.04126766,
-0.051656924,
-0.032093853,
0.007994524,
0.022616183,
-0.001581722,
0.022587243,
-0.032151733,
-0.015120865,
0.008030699,
0.036145378,
-0.030791579,
0.020749588,
-0.049110252,
-0.03808432,
-0.00005510931,
0.045319185,
0.0030422602,
-0.048068434,
0.016582306,
-0.055419054,
0.034206435,
-0.033338252,
-0.0066307522,
-0.014513136,
0.00018901081,
-0.044045847,
0.048155252,
0.007072079,
0.0052597458,
0.005607019,
-0.008963996,
0.0179714,
0.04135448,
-0.06401407,
-0.008124752,
0.024526186,
0.0006701292,
0.016278442,
0.019317085,
0.009839415,
-0.008247744,
0.01002752,
0.03550871,
-0.041557055,
0.00024666364,
-0.012595898,
-0.008558843,
0.037360836,
-0.023267321,
0.016712535,
-0.019866936,
0.013456846,
0.0026190206,
0.007864296,
-0.013984991,
-0.014332265,
-0.020778527,
-0.07153833,
0.04031266,
-0.009694717,
-0.0070612268,
0.0038055382,
-0.0073542385,
0.0754741,
-0.051512226,
0.018882994,
0.052872382,
0.03177552,
0.021212619,
-0.04986268,
0.03695568,
-0.0017671154,
0.021574363,
0.0053646513,
-0.052264653,
0.0065945783,
-0.012371616,
0.0031236522,
-0.041817512,
-0.005697455,
0.023701413,
0.0067718322,
-0.0069744084,
0.05443511,
-0.0042143078,
-0.03180446,
-0.050557226,
0.030010214,
0.037245076,
0.008674601,
0.032527946,
0.0163942,
0.00950661,
0.03018385,
0.0010951775,
-0.006637987,
-0.0012869013,
0.07321682,
0.002541246,
-0.03284628,
0.005798743,
0.023990808,
-0.03449583,
-0.027203087,
-0.01536685,
0.022167621,
0.008486494,
-0.021299439,
0.007347004,
0.01959201,
-0.015743064,
-0.014107984,
0.019823525,
-0.041614935,
-0.016828293,
-0.02439596,
-0.0025267762,
-0.06696589,
0.017117687,
0.026277024,
-0.022326788,
-0.030125972,
-0.041470237,
0.002794466,
-0.04992056,
-0.041151904,
0.036897805,
0.0066669267,
0.025698235,
0.034669466,
0.025741644,
0.06922317,
0.001884682,
-0.003514335,
-0.013558134,
-0.040341597,
-0.037389774,
-0.030357487,
0.04983374,
-0.022196561,
0.018969811,
-0.018868525,
0.0066199,
0.015280032,
0.020604892,
-0.01597458,
-0.081956536,
0.009694717,
-0.039589174,
-0.044798274,
-0.0027329696,
0.01456378,
-0.0233252,
0.03189128,
-0.010656954,
-0.039907508,
0.028505363,
0.026653238,
-0.0058674742,
0.03296204,
-0.036290076,
0.021067923,
-0.044364184,
0.010852295,
-0.04280145,
-0.019924814,
0.024641944,
0.018347614,
0.026117858,
0.018839585,
0.0026551948,
0.02603104,
-0.02438149,
0.02015633,
-0.028997332,
-0.029518243,
-0.0026551948,
0.020879816,
-0.026465131,
0.009673012,
0.06465074,
-0.036145378,
0.01805822,
-0.004246865,
-0.018694887,
-0.011242978,
-0.007122723,
0.032585826,
0.006945469,
-0.021010043,
0.009723657,
0.04285933,
-0.041585997,
-0.019722238,
-0.02911309,
-0.023093684,
0.014947228,
0.018969811,
0.008580548,
0.0562583,
0.010765477,
0.007524258,
-0.00950661,
0.05020995,
0.010468847,
0.015048516,
0.013767946,
0.021371787,
-0.028780287,
-0.007886001,
0.0260021,
0.021458605,
-0.030125972,
0.020431254,
0.013427907,
-0.022080803,
-0.0027383957,
0.010121574,
0.016177155,
0.007480849,
0.015743064,
-0.030097032,
-0.017855642,
-0.0053574163,
-0.044624638,
0.011192334,
-0.038547352,
0.0024417664,
0.023426488,
-0.046997674,
-0.001235353,
-0.01911451,
-0.013355558,
0.03802644,
0.02221103,
0.041614935,
-0.01957754,
0.0019154301,
-0.009144868,
-0.0005765282,
-0.041499175,
-0.022109743,
-0.002221103,
0.00338049,
-0.02917097,
-0.039531294,
-0.029532712,
0.07917835,
0.008385207,
-0.015569426,
-0.03822902,
-0.038836747,
0.019707767,
0.06140952,
-0.032064915,
-0.010671424,
-0.051685866,
0.007907705,
-0.026088918,
0.015989048,
-0.007734069,
0.062335584,
0.016784884,
0.004290274,
-0.008363502,
0.015468138,
0.012400556,
-0.048618283,
0.0031869574,
-0.0011910395,
0.040862508,
-0.0012235963,
-0.008450321,
-0.011503433,
0.04722919,
-0.0009902719,
0.03982069,
-0.003979175,
0.022312319,
0.03223855,
-0.02493134,
-0.044827215,
0.0291565,
0.012646541,
0.025177324,
0.0327884,
-0.03808432,
-0.017682007,
0.015482608,
0.004615843,
0.006149634,
-0.0010996993,
0.009209981,
0.034148555,
-0.03765023,
0.027680587,
-0.03600068,
-0.032730523,
0.0065801083,
-0.009607899,
0.061756793,
0.027651649,
0.021371787,
0.0025303934,
-0.010425438,
0.0076978947,
0.023715882,
0.04306191,
-0.028852636,
0.026696647,
-0.04016796,
0.026219144,
-0.04123872,
0.0033370808,
-0.0244249,
-0.060714975,
-0.038315836,
0.03487204,
0.008906117,
-0.0381422,
0.0044096494,
-0.019736707,
-0.001361963,
-0.050441466,
-0.00238027,
-0.03539295,
-0.013095103,
0.0062038954,
-0.0280568,
-0.044624638,
0.00021964594,
-0.05512966,
0.022659592,
0.00075152144,
0.043640696,
0.002959059,
0.08814958,
0.0023006867,
-0.012255859,
-0.0032231316,
0.0111416895,
-0.03296204,
-0.0070322873,
-0.0028993716,
0.014411848,
0.0024146356,
-0.06245134,
-0.058949668,
0.023064746,
0.025235204,
-0.007784713,
-0.035566587,
0.013073399,
-0.0005928066,
-0.038431596,
0.018984282,
0.09897293,
0.01853572,
0.010063695,
0.0054912614,
-0.020460194,
-0.055853147,
-0.017551778,
-0.046245247,
0.030878397,
-0.055447992,
-0.018145038,
-0.0105629,
-0.059846792,
0.009767066,
0.008472025,
-0.0001430016,
0.0076038414,
0.046824038,
0.010823356,
0.022095272,
0.024077626,
-0.0062111304,
-0.028143618,
0.035074618,
0.01963542,
-0.016538898,
0.06829711,
0.0718856,
-0.013485786,
-0.017146626,
-0.019230267,
0.028042331,
0.0090218745,
0.005990467,
0.005487644,
-0.017783294,
-0.026884753,
-0.04285933,
-0.05336435,
0.023527777,
-0.026233615,
-0.0185936,
-0.027709527,
-0.014173098,
-0.08380866,
-0.010505022,
-0.038055383,
0.036868863,
-0.0018041941,
-0.014976167,
-0.01478806,
-0.05243829,
0.2504999,
0.0636668,
0.06661862,
0.018694887,
0.04028372,
0.06899166,
0.019490723,
0.015091925,
-0.0053501814,
-0.013717301,
0.0033786811,
-0.029359076,
0.0015781046,
0.030097032,
-0.03235431,
0.05078874,
-0.04873404,
-0.0077702436,
0.003698824,
-0.05457981,
-0.04011008,
0.02169012,
0.034293253,
0.036319014,
0.023238381,
-0.00020992408,
-0.011742183,
-0.06569256,
0.0066669267,
-0.035827044,
-0.003138122,
0.0007289125,
0.048155252,
-0.018130567,
0.032585826,
0.013210861,
0.008023463,
-0.0035758312,
-0.014230977,
-0.013804119,
0.033193555,
-0.03134143,
0.015062986,
-0.023006866,
0.0013384498,
0.022008454,
-0.018304205,
0.012740594,
0.047894794,
-0.037708107,
0.031109912,
-0.07032287,
0.018521251,
-0.022630652,
-0.019259207,
0.014252681,
-0.043495998,
-0.04173069,
-0.01640867,
0.03657947,
0.029460363,
0.012834648,
-0.017768824,
0.016191624,
-0.028404074,
0.045869034,
-0.019939283,
0.06962833,
-0.025799522,
-0.01692958,
-0.0102228625,
-0.010360325,
-0.03174658,
-0.04297509,
0.016828293,
0.029518243,
-0.0014759122,
0.055013902,
-0.03547977,
-0.05718436,
0.0019298998,
-0.0049631163,
0.040023264,
-0.025278613,
0.027622709,
0.045434944,
-0.00066515524,
0.004966734,
-0.011228508,
0.011640895,
0.0059036487,
0.06910741,
0.02171906,
0.004709896,
0.010403734
] |
from torch import nn
from transformers import Trainer
class CustomTrainer(Trainer):
def compute_loss(self, model, inputs, return_outputs=False):
labels = inputs.pop("labels")
# forward pass
outputs = model(**inputs)
logits = outputs.get("logits")
# compute custom loss for 3 labels with different weights
loss_fct = nn.CrossEntropyLoss(weight=torch.tensor([1.0, 2.0, 3.0], device=model.device))
loss = loss_fct(logits.view(-1, self.model.config.num_labels), labels.view(-1))
return (loss, outputs) if return_outputs else loss |
[
0.0019686762,
0.0036140035,
-0.014748992,
-0.007013632,
-0.032613568,
-0.0130268475,
-0.0021848374,
-0.00549157,
-0.011890661,
0.01360566,
0.046019144,
0.00013052305,
0.012512348,
-0.055994723,
0.010683016,
0.007967601,
-0.028254611,
-0.051935893,
-0.057481054,
0.008360621,
0.01007562,
0.02616803,
-0.0645983,
-0.036100734,
-0.0358149,
-0.0099541405,
0.032499235,
-0.05022089,
0.09701178,
0.026596779,
-0.021251697,
0.009096641,
-0.03195615,
-0.016992783,
-0.0017775252,
-0.022509364,
0.0045769042,
-0.009896974,
-0.035271816,
-0.015020534,
0.021408906,
-0.04084556,
0.008439225,
-0.050763976,
-0.05871014,
0.013148327,
-0.026210904,
-0.008153392,
0.02169474,
-0.041788813,
-0.0378729,
0.014027264,
0.009875537,
-0.019793948,
-0.0038444565,
0.032070484,
0.001312153,
0.023038156,
-0.040502563,
0.019693907,
0.012505203,
0.04081698,
-0.039130565,
-0.04979214,
0.044418477,
0.008303454,
0.0065848823,
-0.030155402,
-0.026711112,
-0.06191147,
-0.011919244,
0.017421532,
-0.010954557,
-0.025939362,
-0.004909185,
0.02040849,
0.034843065,
-0.0030548424,
-0.038187314,
0.083063126,
0.013255514,
0.032927983,
-0.0176502,
-0.0124909105,
-0.0010406114,
-0.0069207363,
0.0630548,
-0.0025206914,
-0.016606908,
-0.016978491,
-0.022580823,
0.037958648,
-0.0074602463,
-0.015549325,
0.0031459515,
0.012276536,
0.0021776916,
0.048277225,
0.02212349,
-0.018922158,
0.023038156,
0.044304144,
0.0077032046,
0.005370091,
-0.02308103,
0.052736223,
0.054222558,
-0.013084015,
-0.03710115,
-0.009961287,
0.02042278,
0.013541347,
0.016392533,
-0.006592028,
-0.010404328,
0.054108225,
-0.03927348,
-0.006427674,
-0.043589562,
-0.013169765,
0.0024206499,
-0.008189121,
-0.018321907,
-0.03864465,
0.0630548,
-0.022152072,
0.0030530558,
0.033471067,
-0.06591313,
-0.028254611,
-0.010854515,
0.04364673,
0.008010475,
0.020522824,
0.020865822,
0.03349965,
-0.045304563,
-0.0026796863,
-0.01869349,
-0.018664908,
0.02592507,
0.025210489,
0.015906617,
0.06797113,
-0.038244482,
0.020208407,
0.012340848,
-0.009125224,
-0.052993473,
0.008917996,
-0.022595113,
-0.012841056,
-0.009661162,
0.017950324,
0.0067385174,
-0.029326485,
-0.036129314,
0.018564867,
0.018979324,
0.0111546405,
-0.013534201,
0.033956982,
-0.023281114,
0.052650474,
-0.0016194237,
0.06900013,
-0.052964892,
-0.024210071,
-0.0011397599,
-0.017364366,
-0.007967601,
-0.025253363,
0.0012210436,
-0.033699732,
0.024695989,
0.071915634,
0.044161227,
0.015520742,
0.007188705,
0.041731644,
-0.04193173,
-0.011783473,
0.035414733,
0.030784234,
-0.022938114,
-0.014877617,
-0.00913237,
0.0143631175,
-0.046876643,
0.016821284,
0.034757316,
0.020565698,
-0.035271816,
-0.008775079,
0.0025349832,
0.0038873313,
0.031727485,
0.012912515,
0.013984389,
-0.056680724,
-0.032927983,
0.045333143,
-0.048105728,
0.028769111,
-0.004358956,
0.011790619,
0.020565698,
0.01963674,
-0.03893048,
0.0351289,
0.026768278,
0.0368439,
-0.032499235,
-0.002202702,
0.0169642,
0.04599056,
0.009782641,
0.015635075,
-0.012605244,
-0.00008893209,
0.013498473,
0.028254611,
0.048420142,
-0.0059381844,
0.026353821,
-0.017864574,
0.0011433328,
0.065227136,
0.008646454,
0.014663243,
0.026796862,
0.028140279,
0.01945095,
0.051021226,
-0.006134695,
0.021123072,
0.022309281,
0.031041484,
0.0167927,
-0.014170181,
0.038816147,
0.04393256,
0.013984389,
0.03953073,
-0.014348826,
0.02909782,
-0.0022241396,
0.042074647,
-0.038758982,
-0.0068778615,
-0.04927764,
0.020094074,
0.004873456,
-0.0032424203,
-0.015592201,
-0.013269806,
0.016135285,
0.025210489,
-0.0197082,
-0.022580823,
0.010254266,
0.039845146,
-0.022666572,
0.0053057787,
0.051278476,
0.012169348,
0.027997361,
-0.008039058,
0.019651033,
-0.0635693,
-0.007510267,
-0.056280557,
-0.054308306,
-0.019779656,
0.0054486953,
-0.0005274516,
0.0110188695,
-0.07271597,
0.0032031182,
-0.037158314,
0.027096987,
-0.008389204,
0.0046805185,
0.04684806,
0.039073396,
0.034642983,
-0.04701956,
-0.0073137567,
0.007967601,
0.016849866,
0.012047869,
-0.026768278,
0.025381988,
-0.013019702,
0.027397111,
0.00020968544,
-0.017350076,
-0.044418477,
-0.041560147,
-0.033985566,
-0.059567638,
0.0202227,
0.010261412,
0.0347859,
-0.012555223,
0.008074787,
0.01946524,
-0.058881637,
0.056880806,
0.02402428,
-0.024453029,
0.038616065,
-0.0071815588,
0.02652532,
-0.037587065,
0.025024695,
0.030012485,
-0.04444706,
-0.05156431,
-0.053450808,
-0.007006486,
-0.0030834256,
0.0056630704,
-0.010497224,
0.006256174,
0.027025528,
-0.009446787,
-0.06025364,
0.031727485,
-0.029583735,
-0.011390453,
-0.032413483,
-0.010597265,
0.0034192796,
-0.017793117,
-0.036643814,
-0.017921742,
-0.009704037,
-0.019150823,
0.034328565,
-0.013920076,
-0.03910198,
0.05036381,
0.06539863,
0.029226445,
0.014748992,
-0.015406409,
-0.028254611,
-0.032899402,
-0.007853267,
-0.033985566,
0.017092826,
0.0013175124,
0.046076313,
0.024181489,
0.017664492,
0.008239142,
0.0058417157,
0.04822006,
-0.008524975,
0.032327734,
-0.0034067745,
0.016235325,
-0.039759398,
-0.026153738,
-0.026539613,
-0.0050449558,
0.054193974,
0.053279307,
-0.056051888,
0.04018815,
0.0038909044,
-0.043961145,
0.008982308,
0.023381155,
-0.020851532,
0.032241985,
0.083634794,
0.058424305,
-0.0747168,
-0.02342403,
0.012841056,
0.011318995,
-0.0186792,
-0.001554218,
-0.015192035,
-0.02453878,
-0.007374496,
-0.054737058,
-0.020051198,
0.00024429805,
0.031184401,
-0.0058953096,
-0.030269735,
-0.010582974,
-0.007063653,
0.012862493,
-0.0012049655,
0.02411003,
0.042160396,
0.041188564,
-0.019908281,
-0.01852199,
0.046447895,
-0.03550048,
-0.018050367,
-0.048705976,
-0.0050592474,
0.01257666,
0.007996184,
-0.0344429,
-0.021151656,
-0.013762868,
0.0046090605,
-0.017007075,
0.0046412167,
-0.01592091,
0.010668724,
0.0024081448,
0.022595113,
0.006495559,
-0.0064098095,
-0.037587065,
0.028597612,
0.049992226,
-0.06928597,
0.014313097,
-0.08334896,
0.01566366,
0.022466488,
-0.015906617,
-0.045504645,
-0.042989314,
-0.022952406,
-0.06774247,
0.051935893,
0.06499847,
-0.020651449,
0.039759398,
-0.029412236,
-0.0013845045,
0.004401831,
-0.010197099,
0.0073316214,
-0.0027636497,
0.027711527,
0.010004162,
0.0167927,
-0.015192035,
-0.044618562,
0.012705285,
-0.05562314,
0.007731788,
-0.07940446,
0.020622864,
-0.06980047,
0.0040874146,
-0.04018815,
0.009175246,
0.003647946,
0.00017864574,
0.007263736,
0.0154349925,
-0.015949491,
0.002917285,
0.008231996,
-0.000093789014,
0.009568267,
0.05622339,
0.004591196,
-0.017521575,
0.019994032,
0.004248196,
-0.017978908,
0.026153738,
-0.05459414,
0.004659081,
-0.032356318,
0.016806992,
0.004194602,
-0.06980047,
0.024524488,
-0.0048913206,
-0.016907033,
-0.0103686,
-0.048906058,
-0.050163727,
-0.018050367,
-0.052764807,
0.027325653,
-0.033785485,
-0.00771035,
0.028811986,
-0.067285135,
-0.0024474468,
0.029497985,
-0.032956567,
-0.03349965,
0.05813847,
0.048191477,
-0.0020204834,
-0.05871014,
-0.009296725,
0.020079782,
0.0018382648,
0.0047555496,
-0.04158873,
-0.033270985,
0.0054379767,
0.012819619,
-0.03641515,
0.017936032,
0.017521575,
0.042474814,
0.040502563,
0.0042624874,
-0.00207765,
-0.032785065,
-0.032327734,
0.02729707,
-0.023223948,
-0.058881637,
-0.058109887,
-0.007989038,
0.019079365,
-0.0029583736,
0.0169642,
-0.03867323,
-0.016764117,
-0.020637156,
0.03730123,
0.0169642,
-0.008060496,
-0.0706008,
-0.057738304,
-0.0017462622,
0.023181072,
0.043589562,
-0.04136006,
-0.0013514551,
-0.024710279,
0.032956567,
-0.048277225,
-0.039244898,
0.026282363,
-0.018250449,
-0.0076746214,
0.07763229,
0.014613222,
-0.020637156,
0.009125224,
-0.00030012484,
0.00071056344,
0.023909947,
-0.040331062,
-0.02015124,
-0.014134452,
-0.011254682,
0.034957398,
0.011290411,
-0.010268558,
0.026811153,
-0.04150298,
0.055680305,
-0.02040849,
0.040102396,
-0.027482862,
-0.010525808,
0.0016060253,
-0.020980157,
0.018764948,
-0.033385318,
0.024996113,
-0.014877617,
0.015592201,
-0.023309696,
-0.015249201,
-0.011640557,
-0.062711805,
0.04055973,
0.018207574,
0.004998508,
-0.0013782519,
-0.022166364,
0.05922464,
-0.028926319,
0.010833078,
0.057080887,
0.057280973,
0.019179408,
-0.016435409,
0.0149062015,
0.035786316,
0.02721132,
0.018450532,
-0.011247536,
-0.020036906,
-0.0038230189,
0.003951644,
-0.0676853,
-0.008303454,
0.008632163,
0.013584223,
-0.04590481,
0.03813015,
-0.0033049462,
-0.05107839,
-0.017021367,
0.0046840915,
0.046647977,
0.015606493,
0.007874705,
-0.011276119,
0.022923822,
0.022838073,
-0.008367767,
0.028354652,
0.013991535,
0.060596637,
0.012190785,
-0.027168445,
0.026896903,
0.017350076,
-0.05467989,
-0.01756445,
-0.011712015,
0.010032745,
-0.024753155,
-0.002347405,
0.012569515,
0.047333978,
0.016149575,
0.02643957,
0.022080613,
-0.034299985,
-0.01636395,
-0.044018313,
0.0048091435,
-0.06505564,
0.015049118,
0.008903704,
-0.0061525595,
0.010811641,
-0.02523907,
0.019779656,
0.007910433,
-0.031184401,
0.049477726,
0.023981405,
0.010790203,
0.027096987,
0.047734145,
0.065855965,
-0.024724571,
0.028183153,
0.0036461598,
-0.033299565,
-0.045618977,
-0.014041556,
0.03298515,
-0.011361869,
0.013076869,
-0.014220201,
0.026539613,
0.021408906,
0.07483113,
-0.022866655,
-0.03935923,
0.00981837,
-0.04227473,
-0.022352155,
-0.013033994,
-0.008832246,
-0.020851532,
0.0335854,
-0.00443756,
-0.022623697,
0.021037323,
0.029926736,
0.0017149992,
-0.034242816,
-0.021123072,
0.0008204306,
-0.0048948936,
-0.016564034,
-0.029698068,
-0.05216456,
0.029226445,
0.0072780275,
0.039645065,
0.019165115,
-0.019565282,
0.026225196,
0.0004760909,
0.019751074,
-0.023209656,
-0.037930064,
-0.007088663,
0.0098541,
-0.0346144,
0.04573331,
0.05450839,
0.026911195,
0.0308414,
-0.027511446,
-0.030698486,
-0.0059167473,
-0.021323156,
0.001136187,
0.0107544735,
-0.013412722,
-0.024867488,
0.001397903,
-0.028611902,
0.0207372,
-0.035700567,
-0.024038572,
0.052707642,
0.006048945,
0.022023447,
0.064255305,
-0.01334841,
0.029383652,
-0.011440474,
0.036500897,
0.027168445,
0.013255514,
0.028040236,
0.03833023,
0.015477868,
-0.032584984,
0.02626807,
0.02626807,
-0.017435824,
0.0171357,
0.005909601,
-0.014320243,
-0.01859345,
-0.010340015,
0.01756445,
0.018064657,
-0.018321907,
-0.023009572,
-0.0074888295,
-0.034557234,
-0.0057774032,
0.034157068,
-0.05107839,
-0.0075817253,
0.01093312,
-0.011654848,
0.009203829,
-0.0063526426,
-0.026396696,
-0.026368111,
0.012326556,
0.0167927,
0.016392533,
0.0116977235,
0.014313097,
0.011633411,
-0.03692965,
-0.024224363,
0.00549157,
0.021366032,
-0.047648393,
-0.05099264,
0.009839808,
0.054822806,
0.00891085,
-0.010661578,
-0.021766197,
0.008553558,
0.039759398,
0.055394474,
-0.029926736,
-0.032956567,
-0.05382239,
0.0067849653,
-0.021337448,
0.017192867,
0.007167267,
0.057995554,
-0.0015515384,
-0.014934785,
0.0047662687,
0.036986817,
-0.028383236,
-0.021223115,
0.012891077,
0.0026332382,
0.017435824,
-0.00913237,
0.00788185,
0.0033835503,
0.037015397,
-0.0006873395,
0.06539863,
-0.0006337458,
0.0015685096,
0.053765222,
-0.025296237,
-0.019765366,
-0.004026675,
0.019593865,
0.0356434,
0.031898983,
-0.030355485,
-0.001488119,
0.0036943941,
0.034843065,
0.027582902,
-0.033270985,
0.03738698,
0.02703982,
-0.049906477,
0.04133148,
-0.0066420487,
-0.08123379,
0.0071065277,
0.019651033,
0.031384483,
-0.014734701,
-0.020165531,
-0.0044304146,
0.008074787,
0.026410988,
0.037701398,
0.04150298,
-0.01007562,
0.030727068,
-0.015177743,
0.05113556,
-0.022409322,
-0.00523432,
-0.018064657,
-0.04476148,
0.013512764,
-0.0031691755,
0.009125224,
-0.053250723,
-0.011897807,
-0.018750658,
0.03970223,
-0.030155402,
-0.0032352745,
-0.025996529,
-0.03867323,
0.011819202,
-0.0017480486,
-0.03953073,
0.0095539745,
-0.026739696,
0.02935507,
0.005623768,
0.046076313,
0.0064348197,
0.014527472,
0.04393256,
-0.011168932,
-0.0073887883,
0.0072101424,
0.0014818665,
-0.013405576,
0.022766614,
0.039645065,
0.01600666,
0.0033799775,
-0.034500066,
0.015649367,
0.0009664735,
0.008610725,
0.0023098895,
0.05699514,
0.012505203,
-0.011569099,
-0.0143631175,
0.07683196,
-0.02566782,
0.028140279,
-0.009175246,
-0.017878866,
-0.0346144,
-0.025767863,
-0.039559312,
0.043846812,
-0.010954557,
-0.017978908,
-0.026110861,
-0.048162892,
0.013591369,
0.012083598,
0.006059664,
0.012683848,
0.012555223,
-0.002502827,
-0.008953725,
0.02393853,
-0.009110933,
-0.018193282,
0.048791725,
0.032613568,
-0.027354237,
0.058424305,
0.052507557,
-0.02256653,
-0.013427014,
0.009482516,
-0.035357565,
0.019608157,
-0.002795806,
0.010661578,
-0.0011567312,
-0.02712557,
-0.018436242,
-0.063797966,
0.023652697,
-0.0067778197,
-0.0347859,
-0.009997016,
-0.047162477,
-0.07528846,
0.0026153738,
-0.048248645,
0.025896488,
-0.013226931,
0.018579157,
-0.008796517,
-0.06705647,
0.24101456,
0.009868391,
0.04098848,
0.00546656,
0.053279307,
0.045847643,
-0.009532537,
-0.009260995,
-0.025710696,
-0.06402664,
0.028025944,
-0.03995948,
-0.014248785,
0.056537807,
-0.029640902,
0.003830165,
-0.05279339,
-0.0063812262,
0.043075062,
-0.01722145,
-0.04573331,
0.052736223,
-0.01158339,
0.060939636,
0.0139700975,
0.00064223143,
-0.0100899115,
-0.07277313,
0.015720826,
-0.027096987,
0.017149992,
-0.015963783,
0.014849034,
-0.025639238,
-0.033956982,
0.017535867,
0.007860413,
-0.026096571,
0.00572381,
-0.048448727,
0.025253363,
0.024395863,
-0.039587896,
-0.0015836945,
-0.007967601,
0.010025599,
-0.024438739,
0.044018313,
0.0031548839,
-0.05365089,
0.033785485,
-0.038044397,
0.05922464,
-0.02015124,
-0.05467989,
0.02858332,
-0.04761981,
-0.0829488,
-0.010990286,
0.015777992,
0.029440818,
0.020622864,
-0.02894061,
0.033270985,
-0.031012902,
0.021851948,
0.016578326,
0.03961648,
-0.0017212518,
-0.010568682,
0.0051378515,
0.009353891,
-0.024210071,
0.000062526015,
0.0191937,
-0.015992368,
0.020194115,
0.053765222,
-0.014134452,
-0.04290356,
0.0043160813,
-0.0335854,
0.028254611,
-0.028211737,
0.032670733,
0.02376703,
-0.037329815,
0.020251282,
-0.046876643,
0.008782225,
-0.0038444565,
0.021837655,
0.0103686,
-0.0021616134,
-0.008625017
] | For example, if you want to customize the [~Trainer.compute_loss] method to use a weighted loss instead. |
[
0.000366466,
0.025875608,
-0.02736039,
-0.005092233,
-0.036874544,
-0.01685158,
0.01366578,
0.008180728,
0.015669517,
0.035750143,
0.015467702,
0.028513622,
0.003989456,
-0.040737864,
0.0076906052,
0.021507747,
-0.005283237,
-0.048406847,
-0.07219222,
0.022170855,
-0.018941808,
-0.012570212,
-0.085396715,
-0.03944048,
-0.048233863,
-0.0025154839,
-0.022113193,
-0.022487992,
0.05045383,
0.00669234,
-0.048233863,
-0.032895897,
0.004533637,
-0.016044319,
-0.022805132,
-0.04125682,
0.013874804,
-0.037335835,
-0.06867487,
-0.015092903,
0.00702029,
0.021925794,
0.036528572,
-0.061294194,
-0.028931668,
0.015150565,
0.0063427673,
-0.008440205,
-0.0016703822,
-0.05345223,
-0.01173412,
0.04927177,
0.014775764,
-0.008598775,
-0.019273363,
0.00094961317,
0.0028434338,
-0.012296319,
-0.025947684,
0.012988257,
0.0068725324,
0.031713836,
0.0048940214,
-0.0645809,
0.018639086,
-0.011179127,
0.015655102,
-0.021824885,
-0.026235992,
-0.036182605,
-0.049387094,
0.041227985,
0.0079212515,
-0.016938072,
-0.03609611,
0.046561677,
0.018480517,
0.02256007,
0.006061667,
0.043101985,
0.000008889953,
0.052529644,
-0.005787775,
0.004050722,
-0.008944743,
-0.046504017,
0.0083753355,
-0.022790715,
0.0008302358,
-0.024044855,
-0.041458633,
0.028441545,
-0.0132116955,
0.028254146,
0.04174694,
0.0028938875,
-0.02103204,
0.033357188,
-0.028960498,
-0.015121734,
0.060890567,
0.11117141,
-0.004486787,
-0.0013982919,
-0.027403638,
0.03863322,
0.028888421,
0.018221041,
-0.070462376,
-0.01460278,
-0.017918317,
0.009968235,
0.031656176,
-0.040853187,
-0.025702622,
0.065503486,
-0.00018908925,
-0.0031551663,
-0.06181315,
-0.0153956255,
0.027922591,
-0.0041588373,
0.0044075022,
-0.048291523,
0.023569146,
-0.022343839,
-0.002259611,
0.02489536,
-0.0050778175,
-0.015410041,
-0.020743731,
-0.023727715,
0.028556868,
0.03448159,
0.027576622,
0.009456489,
0.0009928592,
-0.006631075,
-0.0029587569,
-0.036961034,
0.011539511,
0.018653503,
-0.009420451,
0.07017407,
0.017831825,
-0.03946931,
0.01572718,
-0.043447956,
-0.031194882,
0.0034723047,
-0.06106355,
-0.00967272,
-0.03600962,
0.003971437,
-0.036470912,
-0.04785906,
-0.038979188,
0.018797657,
0.0049877213,
0.030041652,
0.003020022,
0.03799894,
-0.05881475,
0.03678805,
0.01204405,
0.027749607,
-0.024189008,
-0.018494932,
0.021608654,
-0.026538715,
0.00097393914,
0.021017624,
0.026264822,
-0.01969141,
0.0690785,
0.010818743,
0.07080834,
0.011215165,
0.01722638,
0.021666316,
-0.021334762,
-0.012296319,
-0.028513622,
-0.00018976496,
0.023252008,
-0.0044723717,
0.016894825,
-0.0016847976,
-0.03797011,
0.023410577,
0.0016929061,
0.04252537,
-0.021075286,
-0.009888951,
-0.037854787,
-0.010400697,
-0.0027623472,
0.00986012,
-0.0032776971,
-0.041516293,
-0.0010910641,
0.03822959,
-0.04125682,
0.039584633,
-0.016620934,
-0.0067824363,
0.021118531,
0.052558474,
-0.021392424,
0.024217838,
-0.0003563302,
0.027072083,
-0.023525901,
0.0278361,
-0.0054526175,
-0.026682869,
-0.03675922,
0.032146297,
0.019576086,
0.003090297,
0.03226162,
-0.0046849987,
0.038777374,
0.026956761,
0.022257347,
-0.026452223,
-0.020642824,
0.010912443,
0.014177526,
0.027504545,
0.014588364,
0.038892694,
0.028513622,
0.035260018,
-0.0033119335,
0.031569682,
0.047599584,
0.031771496,
0.03035879,
-0.015957825,
0.016678594,
-0.015510949,
0.020368932,
0.0045696753,
-0.05763269,
-0.019489594,
-0.009355581,
0.0027749606,
-0.03871971,
0.027663114,
-0.062389765,
0.03794128,
0.034827556,
-0.02336733,
-0.05385586,
-0.011431396,
-0.004375068,
0.029162314,
-0.008685267,
-0.009802459,
0.03142553,
0.028874006,
0.014242396,
-0.010242128,
0.037335835,
0.0015847909,
0.03871971,
0.041141495,
-0.0013505409,
-0.09202778,
0.004558864,
-0.03413562,
-0.04056488,
-0.0021695148,
-0.02995516,
-0.035260018,
0.038517896,
-0.026726115,
-0.039526973,
-0.008959158,
0.0039353985,
-0.026754946,
-0.012051257,
0.062101457,
0.052933276,
0.010905235,
-0.048406847,
0.009449282,
-0.01840844,
0.017932734,
0.018567009,
-0.03145436,
0.0010325016,
-0.017168717,
0.0060364404,
0.0278361,
0.029075822,
-0.034827556,
-0.053971183,
0.034654573,
-0.023252008,
0.03863322,
-0.01650561,
0.03794128,
-0.031713836,
0.031079559,
0.03451042,
-0.03938282,
0.049588908,
0.05996798,
0.01897064,
0.02121944,
0.00474266,
-0.00450841,
-0.03828725,
0.050309677,
0.03231928,
-0.04702297,
-0.013997334,
-0.03981528,
-0.029306468,
-0.012505342,
-0.01001869,
-0.008396959,
-0.007942874,
0.057084907,
-0.032117467,
-0.03675922,
-0.010588096,
-0.054778446,
0.009074482,
-0.031569682,
-0.024145762,
0.03678805,
0.006061667,
-0.013709026,
-0.0788233,
-0.042035248,
-0.010011481,
0.02178164,
0.014934334,
-0.00353357,
0.04621571,
0.049185276,
-0.016087564,
-0.0070166863,
0.044975985,
-0.022041116,
0.0020181532,
0.025486391,
0.003164176,
-0.042784847,
0.013615326,
0.00013942375,
0.014127073,
0.05077097,
-0.011683665,
0.0025064743,
0.030993067,
0.007283371,
0.026452223,
-0.012490927,
-0.003989456,
-0.013132411,
-0.06515752,
-0.04601389,
-0.053682875,
0.0074527515,
0.020455424,
-0.03191565,
0.037364665,
-0.0064112404,
0.0037984527,
0.020786978,
-0.0250251,
-0.011748535,
0.027418053,
0.04019008,
0.06884786,
-0.029075822,
-0.010768289,
0.008858251,
-0.0049444754,
-0.016736256,
0.042929,
0.014847841,
-0.0001614973,
0.030704759,
-0.02124827,
-0.0060580634,
0.026884684,
0.00367412,
0.015265888,
-0.017053396,
-0.016620934,
-0.02992633,
0.00955019,
0.032492265,
0.036182605,
0.019071547,
-0.004807529,
-0.06873253,
-0.035750143,
0.029782176,
-0.008281636,
-0.02178164,
-0.02395836,
0.017716503,
0.035750143,
0.036182605,
-0.003070476,
0.014213565,
-0.025731454,
0.004068741,
0.049012292,
-0.016202888,
-0.005834625,
0.028066745,
0.0037119603,
-0.010184466,
0.010631342,
-0.05800749,
-0.031050729,
0.018797657,
0.033213034,
-0.02309344,
0.040478386,
-0.030906575,
0.02159424,
0.009124936,
-0.0030074087,
-0.06636841,
-0.04886814,
0.022257347,
-0.04690765,
0.0041083833,
0.061178874,
-0.063081704,
-0.017961564,
-0.057517365,
-0.004746264,
0.00097393914,
-0.017716503,
-0.019619333,
-0.00807982,
-0.0019316609,
-0.021940209,
-0.0076617743,
-0.01875441,
-0.022588901,
0.01310358,
-0.06855955,
0.048752815,
-0.055268567,
-0.014429796,
-0.06106355,
0.008887081,
0.043390293,
0.012844103,
0.0038453026,
-0.013456757,
0.012887349,
0.04439937,
-0.020195948,
-0.03442393,
0.023021363,
0.03606728,
0.00929792,
0.033241868,
0.025673792,
0.0010469169,
0.02636573,
-0.007964497,
-0.003209224,
0.0050381753,
-0.031713836,
-0.00497691,
-0.027807267,
-0.019013885,
0.015237057,
-0.07513296,
0.0048003215,
0.0039390028,
-0.02711533,
-0.005838229,
-0.04627337,
0.01307475,
-0.019864393,
-0.024448484,
0.013932465,
0.019143624,
0.004349841,
-0.008159105,
-0.005787775,
0.01647678,
0.0074959975,
-0.04736894,
-0.025875608,
0.049127616,
0.032117467,
0.035231188,
-0.05431715,
-0.018912978,
0.03537534,
-0.061928473,
-0.005113856,
-0.0019839166,
-0.020181533,
-0.00795729,
0.017918317,
-0.0044723717,
0.026279237,
-0.025414316,
0.016952487,
0.00939162,
-0.025082761,
0.011380943,
0.000872581,
0.03110839,
0.033818483,
-0.02561613,
-0.075421266,
-0.030848913,
-0.0067788325,
-0.0021280705,
-0.016620934,
0.059391364,
-0.026019761,
-0.024635885,
-0.02880193,
0.043101985,
0.008598775,
0.021320347,
-0.06360066,
0.013990127,
-0.012966635,
0.012519757,
0.017356118,
-0.050857462,
0.017038979,
-0.0045696753,
0.027951421,
-0.04486066,
-0.0072509362,
0.0015244264,
0.016981319,
-0.00030857924,
0.03984411,
0.022444747,
0.0071500284,
-0.0063643903,
0.0066382824,
0.013370265,
0.030387621,
-0.055931676,
-0.023237593,
-0.014703687,
0.0028182068,
0.017615594,
0.023670055,
0.015208226,
0.0044759754,
-0.0032578758,
0.04102617,
-0.04177577,
-0.011272827,
-0.03528885,
-0.019662578,
0.012108919,
-0.010645758,
0.017111056,
-0.025068346,
0.033357188,
-0.011135881,
0.037105188,
-0.03413562,
0.020167116,
-0.025918853,
-0.0675793,
0.025255745,
-0.021695146,
-0.03794128,
-0.0073194094,
0.000029506482,
0.09064391,
-0.024967438,
0.023352915,
0.04324614,
0.022415916,
0.023035778,
-0.03257876,
0.034625743,
0.0066779247,
0.027749607,
0.0011973775,
-0.010112389,
-0.019114794,
-0.004072345,
0.029191144,
-0.037393495,
-0.01197918,
-0.0043858793,
-0.008822213,
0.013622534,
0.055960506,
-0.0069410056,
-0.055268567,
-0.06256275,
0.024578223,
0.03629793,
0.0113665275,
0.0493006,
0.031627342,
0.023626808,
0.041862264,
-0.030502943,
-0.016822748,
-0.010782705,
0.064292595,
0.00955019,
-0.034625743,
-0.017428195,
0.041948754,
-0.029522698,
-0.027403638,
-0.014400965,
0.006303125,
-0.020008547,
-0.0012982852,
-0.056738935,
0.014429796,
-0.013290981,
0.0006225642,
0.004050722,
-0.0064004287,
0.0065914327,
0.0029407376,
-0.0248377,
-0.075305946,
0.013132411,
0.052587308,
-0.011402566,
0.0048399637,
-0.04356328,
-0.0030632683,
-0.047109462,
-0.028369468,
0.020772563,
0.00028988428,
-0.021550993,
0.019042717,
-0.0013937871,
0.06354299,
0.010667381,
0.016678594,
0.0039353985,
-0.022142023,
-0.04734011,
0.00706714,
-0.0048255483,
0.0026596377,
0.0040363064,
-0.005650829,
-0.0013181063,
0.024780039,
0.05195303,
-0.02770636,
-0.08199468,
0.038431402,
-0.0031065145,
-0.02218527,
-0.0010316006,
0.0046201292,
0.009002405,
0.03422211,
0.007355448,
-0.029897498,
0.048723985,
0.013089165,
-0.0224015,
-0.0038308871,
-0.047513094,
0.0240881,
-0.043015495,
-0.016894825,
-0.036442082,
-0.033299528,
0.031569682,
0.012526966,
-0.014581157,
0.0030794856,
-0.032088637,
0.0530486,
0.008966367,
-0.0021605052,
-0.02368447,
0.005301256,
0.052443154,
0.026423391,
-0.026221577,
0.025890023,
0.027591037,
-0.020080624,
0.017572349,
-0.009110521,
-0.001674887,
-0.012462096,
0.021118531,
0.026135083,
0.02958036,
-0.004447145,
0.002066805,
0.036961034,
-0.027749607,
-0.031569682,
-0.012426058,
-0.013110789,
-0.008915912,
0.025183668,
0.038835034,
0.060890567,
0.0024145762,
0.014891088,
-0.014847841,
0.036470912,
0.024693547,
0.03229045,
0.00908169,
-0.016577687,
0.010602512,
0.009852912,
0.027475715,
0.03035879,
-0.006202217,
0.024707962,
0.007445544,
-0.0242755,
-0.012411642,
-0.025745869,
0.022833962,
-0.0005369729,
0.015424456,
-0.015280303,
0.01628938,
0.0032740931,
0.002373132,
0.025659377,
-0.038892694,
-0.023381747,
0.025601715,
-0.014264018,
-0.003187601,
-0.0069013634,
-0.0043101986,
-0.0044291257,
0.0073338244,
-0.01747144,
0.004349841,
0.009067274,
0.01859584,
-0.011092635,
-0.03032996,
-0.028931668,
-0.016664179,
0.019806731,
-0.04437054,
-0.016822748,
0.010854782,
0.03825842,
0.007294182,
0.0013838764,
-0.025702622,
-0.02062841,
0.02443407,
0.060198627,
-0.0017406571,
-0.030560605,
-0.046763495,
0.0063607865,
-0.03874854,
0.031540852,
-0.030993067,
-0.025255745,
0.014292849,
-0.009968235,
0.03874854,
0.02443407,
0.037883617,
-0.018711163,
-0.014703687,
0.051808875,
0.0040543256,
-0.007387882,
-0.011899896,
-0.002836226,
0.012656704,
0.03716285,
0.021450086,
-0.019475179,
0.044139896,
-0.009434866,
-0.062043797,
-0.001464963,
0.017601179,
0.022098778,
-0.01195035,
0.01101335,
-0.04699414,
-0.008339297,
-0.018739995,
0.0087573435,
0.015136149,
-0.007784305,
0.0023118665,
-0.028182069,
-0.007914044,
0.007092367,
0.041487463,
-0.058122814,
0.033587836,
-0.008022159,
0.05186654,
0.024664715,
0.004699414,
-0.013319811,
0.025673792,
0.00786359,
-0.042929,
0.016577687,
0.020642824,
0.061697826,
-0.0231511,
0.025717039,
-0.012339565,
-0.025515223,
-0.060025644,
-0.080610804,
-0.051808875,
0.012570212,
0.0043858793,
-0.026827022,
0.037105188,
0.0033425663,
-0.0030686741,
-0.051289923,
0.005740925,
-0.06780995,
-0.00725454,
0.028138822,
0.0013658573,
-0.022978116,
0.025529638,
-0.0032704894,
0.016246133,
0.009283504,
0.030099314,
0.024534976,
0.019460764,
0.019388687,
-0.009773628,
-0.003484918,
0.017125472,
-0.026495468,
-0.022358254,
-0.00022265005,
0.0013099976,
0.0053625214,
-0.042006418,
-0.06071758,
-0.016779503,
0.0035083431,
-0.0057805674,
-0.006068875,
0.037681803,
-0.0023154705,
-0.052616138,
-0.009427658,
0.059622012,
0.032895897,
0.029638022,
0.0071536326,
0.008807797,
-0.021911377,
-0.023439407,
-0.03753765,
0.039959434,
-0.0105592655,
-0.040737864,
-0.01899947,
-0.05382703,
0.023915116,
0.008022159,
-0.000031477335,
0.015064072,
0.053942353,
0.002816405,
0.023886284,
-0.004111987,
-0.007142821,
-0.036701556,
0.070289396,
0.02430433,
-0.0020073417,
0.075651914,
0.03560599,
-0.024116931,
-0.024174592,
-0.0006919382,
-0.0073338244,
0.017269624,
0.0016541649,
0.010256543,
-0.0123035265,
-0.048032045,
-0.044889495,
-0.023266423,
-0.01441538,
0.0002419081,
0.019013885,
-0.025846776,
-0.014862257,
-0.10944156,
-0.029479451,
0.00025654872,
0.04811854,
-0.00044462437,
-0.011957558,
0.027201822,
-0.054490138,
0.24609937,
0.04512014,
0.02178164,
-0.018494932,
0.020426594,
0.08712656,
0.010285374,
-0.012382812,
0.01213775,
-0.016966902,
0.01747144,
-0.0057481327,
0.012555796,
0.01747144,
0.003949814,
0.026091838,
-0.036989864,
-0.030820083,
-0.0048111333,
-0.043938078,
-0.056681275,
0.068040594,
0.027850514,
0.071730934,
0.042237062,
-0.007373467,
-0.039959434,
-0.039642297,
0.026798192,
-0.024477316,
0.022142023,
0.0026326089,
0.008980782,
0.0003637631,
0.0006320243,
0.052702628,
0.027922591,
-0.017327286,
-0.03866205,
-0.011496265,
0.027792852,
-0.038777374,
-0.002576749,
-0.012058466,
-0.017745333,
-0.013939672,
-0.02395836,
0.06181315,
0.047282446,
-0.051434077,
0.04811854,
-0.027648699,
0.07605554,
-0.017053396,
-0.056681275,
0.011762951,
-0.0069734403,
-0.046792325,
-0.05688309,
0.03941165,
0.047657248,
0.0083609205,
0.0066779247,
0.04359211,
-0.0018235455,
0.052212507,
-0.040766694,
0.038114265,
-0.026077423,
0.004068741,
0.004533637,
-0.003989456,
-0.036528572,
-0.0493006,
0.017601179,
0.017240794,
-0.019143624,
0.027086498,
-0.000976642,
-0.05841112,
0.02205553,
-0.00939162,
0.029839836,
-0.047224786,
0.038402572,
0.052875616,
-0.016606517,
-0.0015748803,
-0.0010442141,
0.012217035,
0.008187936,
0.05841112,
0.02062841,
0.009427658,
0.03990177
] | Then pass it to the [Trainer]'s callback parameter.
from transformers import Trainer
trainer = Trainer(
model=model,
args=training_args,
train_dataset=dataset["train"],
eval_dataset=dataset["test"],
tokenizer=tokenizer,
data_collator=data_collator,
compute_metrics=compute_metrics,
callback=[EarlyStoppingCallback()],
)
Logging
Check out the logging API reference for more information about the different logging levels. |
[
0.008947883,
0.010365581,
-0.022084743,
-0.024663672,
-0.044596933,
-0.01890739,
-0.014497565,
0.026857898,
-0.01445482,
0.016371205,
0.020075744,
0.021657296,
0.02531909,
-0.033426326,
0.013471693,
0.014233973,
-0.004509562,
-0.032485943,
-0.09135959,
0.017026624,
0.010251596,
0.02483465,
-0.050182234,
-0.014169856,
-0.05132209,
-0.013699665,
-0.020303715,
-0.0019235099,
0.0625212,
0.00034974932,
-0.06257819,
-0.010215974,
-0.010493815,
-0.06377504,
0.016527936,
0.014269593,
0.007708288,
0.02658718,
-0.06178029,
-0.0216288,
0.0038220854,
0.0019146047,
0.029949762,
-0.03989502,
-0.07950508,
-0.03131759,
-0.008776904,
-0.018223476,
-0.015986504,
-0.029408328,
0.0009332585,
0.026658421,
0.0033269597,
-0.051550064,
0.00068480516,
-0.010671917,
-0.015373831,
-0.008035997,
-0.04741808,
0.038242225,
0.01454031,
0.0042851525,
-0.024207728,
-0.08047395,
0.018152233,
0.008969256,
-0.011897265,
-0.031431574,
-0.03259993,
-0.02627372,
-0.07158306,
0.01963405,
0.014269593,
-0.03251444,
-0.003351894,
0.02218448,
0.036475446,
0.00629059,
-0.023609303,
0.0576768,
0.04422648,
0.020431949,
0.009802776,
-0.012666669,
-0.04294414,
-0.02530484,
0.05932959,
-0.017354334,
0.009346833,
-0.02875291,
-0.04984028,
0.028254222,
-0.0072559067,
0.0076370467,
0.031431574,
-0.009681666,
-0.022896891,
0.036104992,
-0.009638921,
-0.011448446,
0.041747287,
0.09734385,
0.026458947,
-0.0009849083,
-0.02516236,
-0.0078080255,
0.033939265,
-0.02122985,
-0.06993027,
-0.010009375,
0.035221603,
0.0155020645,
0.024022501,
-0.023666296,
0.011982754,
0.043571062,
-0.025860522,
0.0015681948,
-0.051863525,
0.0034302592,
-0.004830147,
0.011712038,
-0.020004503,
-0.031118115,
0.031488568,
-0.01445482,
-0.01121335,
0.036332965,
-0.0320585,
-0.017083617,
-0.018807651,
-0.00845632,
0.009453695,
0.0304342,
0.00876978,
0.04414099,
-0.010593552,
0.009425199,
0.027826777,
-0.02138658,
0.055653553,
0.035050623,
0.013535811,
0.07779529,
0.0048550814,
0.005154294,
-0.03322685,
0.0065434957,
-0.06064043,
0.014404952,
-0.037045375,
0.010372705,
0.01454031,
0.027142862,
0.025832025,
-0.04231722,
-0.03715936,
0.04374204,
0.040265474,
0.005777654,
-0.009710163,
0.011405701,
-0.012559807,
0.034395207,
-0.015658796,
0.024321714,
-0.024335962,
-0.05479866,
-0.002646607,
-0.018380206,
0.0042922767,
-0.015587554,
0.008691415,
0.008983503,
0.04542333,
0.025333337,
0.07979004,
0.02331009,
0.0111848535,
-0.0018718601,
-0.0020036562,
-0.029294344,
0.014818151,
0.03909712,
0.020374956,
0.028467946,
0.022540687,
-0.012638172,
-0.045081373,
-0.0036902893,
0.0184372,
0.017796028,
-0.036161985,
-0.01866517,
-0.004787402,
-0.012438697,
-0.020132737,
-0.024763409,
0.011106488,
-0.04126285,
0.0034943763,
0.02916611,
-0.017183354,
-0.009061868,
0.04533784,
-0.014875143,
0.009617549,
0.035136115,
0.0028015566,
0.02859618,
0.024464196,
0.039125614,
-0.012645297,
-0.0040928014,
0.056280475,
0.02018973,
-0.0368744,
-0.028567683,
0.0010125142,
0.008449195,
0.015416576,
-0.025532812,
0.03459468,
-0.0011095803,
0.038299218,
-0.007473192,
-0.030377207,
0.05950057,
0.020203978,
-0.005962881,
0.04334309,
0.026615677,
0.0063333344,
0.08298164,
-0.0038968886,
0.0026448262,
0.050666675,
0.014803902,
0.017325837,
0.0034053249,
0.022398204,
0.014974881,
0.027670046,
0.022212977,
-0.030320214,
0.0060376837,
-0.029579308,
-0.012958758,
-0.04519536,
0.025133863,
-0.03291339,
0.03852719,
0.019591304,
-0.016684666,
-0.057049878,
0.012267718,
0.008292465,
0.015445072,
0.00037958153,
0.011583804,
-0.017525312,
0.025974507,
-0.0058275224,
0.005036746,
0.01857968,
0.043941513,
0.03772929,
-0.014618675,
0.016998127,
-0.04516686,
-0.0014070119,
-0.011954257,
-0.028211478,
-0.007957632,
0.0070493077,
0.0011728067,
-0.0009296964,
-0.040179983,
-0.023609303,
-0.064686924,
0.03958156,
0.011590928,
-0.0027499066,
0.029180357,
0.032485943,
0.04984028,
-0.028952386,
-0.021044623,
-0.016499441,
-0.031089619,
0.017853022,
-0.024079494,
0.013998877,
-0.0058346465,
0.03550657,
-0.011861645,
0.037757788,
0.004965505,
-0.033454824,
0.00038447935,
-0.03884065,
0.029379832,
0.03268542,
0.03701688,
-0.04334309,
0.046990633,
0.0029760972,
0.0101304855,
0.022768658,
0.012766406,
-0.0600705,
0.0017391735,
0.0172261,
-0.0030562435,
-0.05645145,
0.054285724,
0.024421452,
-0.027769784,
-0.041120365,
-0.04334309,
-0.00086424366,
-0.021258347,
0.0037615304,
-0.034167234,
-0.0052112867,
0.038128242,
-0.04573679,
-0.04815899,
-0.0011184854,
-0.034965135,
0.0056316094,
-0.009439447,
0.017183354,
0.0040358086,
0.0101304855,
0.00048221325,
-0.03294189,
-0.0016510127,
-0.02235546,
-0.0020410577,
0.003540683,
-0.009104613,
0.028225726,
0.05645145,
-0.011932885,
0.018237723,
0.046563186,
-0.0130228745,
-0.0007502579,
0.005204163,
-0.019420326,
-0.019904764,
0.03436671,
-0.0025219352,
0.01890739,
0.03051969,
-0.030776158,
0.004912074,
0.043115117,
-0.0004648482,
0.043143615,
0.012866144,
0.025903266,
-0.006636109,
-0.044340465,
-0.04277316,
-0.002895951,
0.044967387,
0.040009007,
-0.09375329,
0.03322685,
-0.010116237,
-0.009660294,
-0.002456037,
0.021728538,
-0.06309112,
0.009973755,
0.06936034,
0.051635552,
-0.028182982,
0.011362957,
0.028824152,
0.002064211,
-0.025404578,
0.03308437,
0.00095552136,
-0.0033679232,
0.028311215,
0.0045416206,
0.03998051,
0.0011879455,
0.020332212,
-0.015202852,
-0.005920136,
-0.046591684,
-0.023495317,
-0.005161418,
0.062350217,
0.02915186,
-0.001998313,
0.02916611,
-0.05377279,
-0.023367083,
0.03348332,
0.0036867273,
-0.00068079785,
-0.036190484,
-0.0015575087,
-0.0033928577,
0.013628423,
-0.010109113,
-0.018009752,
-0.023452573,
-0.0062229107,
0.03188752,
-0.023580806,
-0.02843945,
0.034708668,
-0.0568789,
0.014604427,
0.024777656,
-0.06121036,
-0.025931763,
0.009581929,
0.072096,
-0.036931388,
0.015972257,
-0.04149082,
0.014846646,
0.0028104617,
-0.03747282,
-0.029522315,
-0.04499588,
-0.019904764,
-0.035734538,
0.012039747,
0.050096747,
-0.0072238483,
-0.0063440204,
-0.036048,
0.026003003,
0.026857898,
-0.009795652,
-0.0002698257,
-0.02211324,
0.020317964,
0.025091117,
0.011982754,
0.014062994,
-0.003797151,
0.021244098,
-0.025589805,
0.0056351717,
-0.03180203,
0.040493444,
-0.052063,
0.004046495,
0.021999253,
0.022013502,
0.042231727,
-0.011797527,
0.010785904,
0.022711664,
-0.021600304,
-0.022882644,
0.03941058,
-0.01698388,
0.033511817,
0.031232102,
0.006194414,
0.00462711,
0.010123361,
0.019092616,
-0.058930643,
-0.0052362215,
-0.02531909,
0.004577241,
0.024022501,
0.0030117177,
-0.00087893713,
-0.0392681,
0.005734909,
0.01674166,
-0.05271842,
0.0022993067,
-0.06502888,
0.003212974,
-0.004046495,
-0.028140238,
0.040977884,
0.005100863,
-0.013856395,
-0.009731535,
-0.0071668555,
-0.03462318,
-0.007993252,
-0.004370642,
-0.000061668085,
0.018237723,
0.028311215,
-0.002972535,
-0.046506193,
-0.011263219,
0.012509938,
-0.054257225,
0.011868768,
-0.005492689,
-0.009282717,
0.014746909,
0.020873643,
-0.02395126,
0.055055127,
-0.013350584,
0.008235472,
0.01738283,
0.023053622,
-0.024122238,
-0.008164231,
-0.00015828884,
0.014219725,
0.0020232475,
-0.06588378,
-0.05984253,
0.0053252727,
0.0071205487,
0.03157406,
0.023666296,
-0.020488942,
-0.03621898,
-0.020203978,
0.035905518,
0.007964755,
0.0018967944,
-0.05545408,
-0.05479866,
0.0130442465,
-0.0060875528,
0.027670046,
-0.028368209,
-0.009589053,
-0.03339783,
0.021172857,
-0.04453994,
0.005813274,
0.010885641,
-0.0044276346,
-0.02282565,
0.017610801,
0.00040073122,
0.050666675,
0.03020623,
0.020574432,
0.010258719,
0.0035210918,
-0.06189427,
-0.010579305,
0.0040073125,
0.017511064,
0.0055924268,
0.029052123,
-0.018565433,
0.016356958,
-0.028510692,
0.02282565,
-0.019106865,
-0.0010543683,
-0.039610054,
-0.0022619052,
0.0041676047,
-0.02547582,
0.027413579,
-0.029693292,
0.02419348,
0.006379641,
0.05063818,
-0.02187102,
0.007979004,
-0.03485115,
-0.048671924,
0.0022102552,
-0.0032147549,
0.00096264546,
0.012182229,
-0.042830154,
0.051863525,
-0.047845528,
0.06690965,
0.06554182,
-0.012239222,
0.0069923145,
-0.036190484,
0.00014771399,
-0.007914887,
0.04453994,
-0.0089122625,
-0.017012376,
-0.024050998,
-0.021543311,
0.005845333,
-0.07169705,
-0.003676041,
0.03507912,
-0.018850397,
0.013977505,
0.030377207,
0.0029404766,
-0.030149236,
-0.04188977,
0.060925394,
0.011883017,
-0.0065328097,
-0.010080617,
0.044596933,
0.0011915076,
0.021272594,
-0.03718786,
-0.010144734,
-0.00876978,
0.037130866,
-0.015844023,
-0.053972263,
0.034395207,
0.006710912,
-0.036104992,
-0.05135059,
-0.010401201,
0.009282717,
0.012574055,
-0.007084928,
-0.013357707,
0.012296215,
-0.03670342,
0.008392203,
0.014105739,
-0.011612301,
0.013179605,
0.0062335967,
0.0071953516,
-0.094266236,
-0.0121964775,
0.019349085,
-0.024478445,
-0.010857144,
-0.057705298,
0.014205476,
-0.0124030765,
-0.031631052,
0.024877394,
-0.020047247,
-0.0017543122,
0.027670046,
0.013357707,
0.051778037,
-0.021543311,
-0.012538435,
0.01445482,
-0.016855646,
-0.069474325,
-0.013557183,
0.023267346,
-0.035136115,
0.029465321,
-0.013913388,
0.034224227,
0.031659547,
0.012246346,
-0.013970381,
-0.07882116,
0.0011042372,
-0.060526446,
-0.009824148,
-0.0005436587,
0.026373457,
-0.013386204,
0.005734909,
0.044311967,
-0.047617555,
0.0117832795,
0.044254974,
0.016841397,
0.022968132,
-0.06930335,
0.032143988,
-0.05063818,
-0.021543311,
-0.003230784,
-0.032656923,
0.041348338,
0.0392396,
-0.018992878,
0.018864645,
-0.037358835,
0.050267726,
0.007013687,
0.007323586,
-0.014219725,
0.005072367,
-0.010721787,
0.0025237163,
-0.056593936,
0.011526811,
0.03838471,
-0.04559431,
-0.0030437764,
0.037757788,
0.0013464569,
0.011320212,
0.005595989,
0.04365655,
0.02772704,
-0.016328461,
-0.008185603,
0.03579153,
-0.044083998,
-0.0056921644,
-0.034822654,
-0.024236225,
0.010622049,
0.058047254,
0.024335962,
0.05100863,
-0.000023988216,
0.00131707,
0.004513124,
0.018052496,
0.011206226,
0.006183728,
0.01045107,
0.011305964,
-0.019577056,
-0.012695165,
0.048899896,
0.009603301,
-0.010750283,
-0.0048728916,
-0.024179231,
-0.040664423,
-0.01842295,
0.010892766,
0.019919014,
0.07329285,
0.007822273,
0.0064936266,
-0.014832398,
-0.036646426,
-0.020560183,
-0.0010739596,
-0.035535064,
-0.026387706,
0.018408703,
-0.026986131,
-0.0053965137,
-0.0009483972,
-0.0022814965,
0.020659922,
0.031488568,
0.011776155,
-0.05135059,
-0.00785077,
0.018793404,
0.03154556,
-0.013421824,
-0.03787177,
-0.01249569,
0.013542934,
-0.033939265,
-0.038470197,
0.005332397,
0.109312356,
0.02772704,
-0.013685416,
-0.00812861,
-0.03975254,
0.034081746,
0.049469825,
-0.0392681,
-0.0011273905,
-0.008655795,
0.0014025593,
-0.017582305,
0.018209226,
-0.0045451825,
0.04949832,
0.021571808,
-0.007277279,
0.017867269,
0.0132081015,
0.028980883,
-0.036418453,
-0.0049441326,
0.014875143,
-0.010059244,
-0.0072309724,
0.009752908,
-0.008356581,
0.05645145,
0.02105887,
0.076940395,
-0.019933261,
0.02516236,
0.04254519,
-0.047047626,
-0.042830154,
0.015359582,
0.023965508,
-0.0079006385,
0.015573306,
-0.0737488,
0.0030491194,
0.0050153737,
0.028083244,
0.0078009013,
-0.017610801,
0.0081072375,
0.0304342,
-0.008221224,
0.0400375,
0.033426326,
-0.0440555,
0.039610054,
0.008050245,
0.048529442,
-0.02547582,
-0.006636109,
-0.0059771286,
-0.0049156365,
0.04516686,
-0.021272594,
0.00029320168,
0.015530561,
0.03277091,
-0.04542333,
-0.010964006,
-0.022098992,
-0.0014559901,
-0.054570686,
-0.07067118,
-0.0058880774,
0.03804275,
-0.016214475,
-0.039182607,
0.044653926,
-0.021814026,
0.004441883,
-0.055311594,
-0.0029778783,
-0.041205857,
0.0010267624,
-0.00076717767,
0.005538996,
-0.034708668,
0.01866517,
-0.0018700791,
-0.009175855,
0.02923735,
0.053972263,
0.03579153,
0.04958381,
0.041547813,
-0.017938511,
-0.007736784,
0.000870032,
-0.0057099746,
-0.035050623,
-0.013877767,
0.03701688,
-0.0055104997,
-0.051949013,
-0.051151115,
0.054912645,
0.009125986,
0.0040821154,
-0.03530709,
0.0039396333,
-0.028781407,
-0.010522312,
-0.011156357,
0.026857898,
0.022982381,
0.03180203,
-0.024136487,
0.03262843,
0.0071312347,
-0.020816652,
-0.04117736,
0.0368744,
-0.023595054,
-0.0012921356,
-0.019078368,
-0.042174734,
0.0072416584,
0.027328089,
-0.003861268,
0.014119987,
0.03869817,
0.023181856,
0.02868167,
0.0040785535,
-0.017824525,
-0.060355466,
0.051607057,
0.017938511,
-0.006237159,
0.07260893,
0.04069292,
-0.020118488,
-0.020602928,
-0.012303339,
-0.020275218,
-0.008741284,
0.007651295,
0.007544433,
-0.0060127494,
-0.020617176,
-0.038498692,
-0.08964981,
0.018636674,
-0.012944509,
0.04414099,
-0.04188977,
-0.030690668,
-0.101846285,
-0.0037544062,
-0.035421077,
0.038812153,
-0.014704164,
-0.017853022,
-0.03502213,
-0.063946016,
0.24119389,
0.07562956,
0.04277316,
0.027427826,
0.04436896,
0.044767912,
0.022768658,
-0.03262843,
0.031118115,
-0.0320585,
0.015416576,
-0.051607057,
0.013892015,
0.017496815,
-0.024250472,
0.046278223,
-0.06542783,
0.0146329235,
0.0062763416,
-0.040892396,
-0.07260893,
0.045451827,
0.028553436,
0.04710462,
-0.004502438,
-0.0020499628,
0.003155981,
-0.04773154,
0.02098763,
-0.0009483972,
-0.025247848,
-0.015088866,
-0.0034462886,
0.0097600315,
0.023267346,
0.06799251,
0.00078498793,
0.004139108,
-0.012987253,
-0.03955306,
0.011683541,
-0.022526437,
-0.03220098,
-0.03262843,
-0.012260594,
0.016556432,
-0.021685792,
0.019163858,
0.05357331,
-0.025931763,
0.03316986,
-0.05576754,
0.011968506,
-0.013200977,
-0.050039753,
0.022526437,
-0.0146756675,
-0.034195732,
-0.054998133,
0.05462768,
0.048871398,
-0.007530185,
-0.015231349,
0.053687297,
-0.015388079,
0.0236378,
-0.0008575648,
0.023538062,
-0.041148864,
-0.0029333525,
0.026259473,
-0.0038185234,
-0.027114365,
-0.053715795,
0.034737162,
0.010280091,
0.0075159366,
0.0043385834,
-0.032314967,
-0.028026251,
0.033768285,
-0.005029622,
0.006889015,
-0.028325465,
0.041348338,
0.03316986,
-0.022768658,
-0.00053787034,
-0.0118046515,
0.040721416,
-0.003097207,
0.0304342,
-0.0051044254,
-0.018380206,
0.006461568
] |
[~Trainer.get_train_dataloader] creates a training DataLoader
[~Trainer.get_eval_dataloader] creates an evaluation DataLoader
[~Trainer.get_test_dataloader] creates a test DataLoader
[~Trainer.log] logs information on the various objects that watch training
[~Trainer.create_optimizer_and_scheduler] creates an optimizer and learning rate scheduler if they weren't passed in the __init__; these can also be separately customized with [~Trainer.create_optimizer] and [~Trainer.create_scheduler] respectively
[~Trainer.compute_loss] computes the loss on a batch of training inputs
[~Trainer.training_step] performs the training step
[~Trainer.prediction_step] performs the prediction and test step
[~Trainer.evaluate] evaluates the model and returns the evaluation metrics
[~Trainer.predict] makes predictions (with metrics if labels are available) on the test set |
[
0.003655332,
-0.0011656295,
-0.0023809331,
0.009948532,
-0.009825203,
-0.03480616,
0.0015981371,
-0.0049537113,
0.0043918793,
0.06237702,
0.012826206,
0.0069817863,
0.023569524,
-0.006598097,
0.007927308,
0.00009297844,
-0.030311504,
-0.027968256,
-0.043576214,
0.015936835,
-0.00030982107,
-0.005943768,
-0.097840935,
0.007899902,
-0.077121675,
0.0052654594,
-0.04826271,
0.008687836,
0.08841313,
0.03784827,
-0.012339743,
-0.004011615,
-0.011832723,
-0.0057964586,
-0.020787772,
-0.035135034,
0.008804314,
0.0040287445,
-0.058430497,
-0.06577542,
0.028050475,
0.010935163,
0.053935844,
-0.07301071,
-0.05579948,
0.036669794,
0.008050637,
0.013764877,
0.00028327107,
-0.043548808,
0.01564907,
0.052154426,
0.040890384,
-0.006556987,
-0.015183159,
-0.0026018973,
-0.0166357,
-0.018622665,
-0.039492656,
0.015964242,
0.003943099,
0.0016298258,
0.02192514,
-0.04935897,
0.03132554,
-0.02935228,
-0.013901909,
-0.030448537,
-0.028858965,
-0.014813173,
-0.024597265,
0.039574876,
0.013504515,
-0.034614313,
-0.03132554,
0.03143517,
0.026337573,
0.02277474,
-0.03916378,
0.052921806,
0.026926812,
0.016649403,
0.04483691,
-0.04787902,
-0.046152417,
-0.023473602,
0.02555649,
-0.045741323,
0.009434662,
-0.012086233,
-0.005741646,
0.031627014,
-0.028639713,
0.009763539,
0.015470927,
0.022815848,
-0.013422296,
0.08090376,
-0.03464172,
0.0031568776,
0.080958575,
0.07377809,
0.030640382,
0.034203216,
-0.051030762,
-0.016539777,
0.03480616,
-0.014045793,
-0.075860985,
-0.014648734,
0.022637706,
0.04247996,
0.03212033,
-0.014059495,
-0.0166357,
0.03477875,
0.0040458734,
-0.015539442,
-0.063199215,
-0.0015707307,
0.032394394,
-0.027529754,
-0.0044603953,
-0.0767928,
0.04168517,
-0.0033675644,
0.0026909683,
0.037135705,
0.005148982,
-0.043055493,
-0.022130687,
-0.0036416287,
0.01224382,
0.0053339754,
0.026611637,
0.008715243,
-0.0023929235,
0.0044432664,
0.02525502,
-0.057224613,
0.039958566,
0.022719925,
-0.00028112996,
0.06752943,
0.030475944,
-0.028146397,
-0.000058988047,
-0.0048886207,
-0.0686805,
-0.0020486303,
-0.030777413,
0.0068824384,
-0.002814297,
0.0035731127,
-0.00047490196,
-0.009660765,
-0.04291846,
0.042781428,
-0.00084103463,
0.008852275,
0.025515381,
0.051688515,
-0.05941713,
0.005025653,
-0.022459565,
0.051551484,
-0.033682495,
-0.04039707,
0.003809493,
-0.030612975,
0.02333657,
0.0070708576,
-0.023788776,
0.0036416287,
0.02674867,
-0.017115312,
0.048153087,
0.004987969,
0.01245622,
0.03565576,
-0.015237972,
-0.0070365993,
0.053990655,
0.00445697,
0.025227614,
-0.0048064017,
-0.019787438,
-0.001565592,
-0.056840923,
0.022281423,
0.0035388544,
0.05571726,
-0.015731288,
-0.001294097,
0.00733807,
-0.038368993,
-0.013209896,
0.028831558,
0.040369663,
-0.03403878,
0.02683089,
0.06259628,
-0.04247996,
0.0366972,
0.030558163,
-0.033298805,
-0.013847096,
0.042342924,
-0.013360632,
0.014045793,
0.0017368821,
0.02452875,
-0.026543122,
0.019568186,
0.0053956397,
-0.00032181139,
-0.028721932,
0.025885368,
0.022075875,
0.022021063,
-0.012819354,
-0.0050770403,
0.05892381,
0.032915115,
0.0069475286,
-0.036121666,
0.0039191185,
-0.008434327,
0.016567184,
0.04593317,
0.01220271,
0.044727284,
0.028023068,
0.03814974,
0.008996159,
0.024597265,
0.06215777,
0.038834903,
0.00022396188,
0.020527411,
-0.00789305,
0.0050701885,
-0.0012718294,
0.014867985,
-0.0006564695,
-0.0066118,
0.0044295634,
0.010811835,
-0.029324874,
-0.0044809505,
-0.052236643,
0.076354295,
0.015292784,
-0.030174473,
-0.05182555,
-0.0006500461,
-0.025131691,
0.052154426,
-0.052675147,
-0.018828213,
-0.014703547,
0.04330215,
0.004940008,
-0.012387704,
0.044699878,
0.012606955,
0.010976273,
0.061171137,
0.025076877,
-0.06917381,
-0.026077213,
-0.043165118,
-0.010784428,
-0.044316188,
-0.008009528,
0.019348936,
0.04560429,
-0.048098274,
-0.009681319,
-0.025638709,
0.02777641,
0.022692518,
0.0019629851,
0.037985303,
-0.00275092,
0.015882023,
-0.039437845,
-0.01808824,
-0.056786112,
0.00035928108,
-0.0037375512,
-0.015936835,
0.0064610643,
-0.02073296,
0.052702554,
0.016498668,
0.025762038,
-0.02828343,
-0.03335362,
-0.022815848,
-0.03105148,
0.014470592,
0.01582721,
0.02107554,
-0.055744667,
0.027118657,
-0.0010911182,
-0.033381026,
0.030393725,
0.036395732,
0.004850937,
0.010181487,
-0.005029079,
0.019280419,
-0.05618317,
0.005111298,
0.028941184,
-0.008742649,
-0.03886231,
-0.051030762,
-0.012004014,
-0.00080120965,
0.020294458,
-0.020157425,
-0.00497084,
0.06495322,
0.02935228,
-0.09005751,
0.0043028085,
-0.052401084,
-0.01049666,
-0.024268389,
-0.0191982,
0.02039038,
0.02367915,
0.032010704,
-0.03225736,
-0.039191186,
-0.035217255,
0.016717918,
0.009455216,
0.0037409768,
0.035244662,
0.011675137,
-0.037135705,
-0.012004014,
0.0166357,
0.011784762,
0.008167114,
0.015457223,
0.0041760537,
-0.02355582,
0.034449875,
-0.0018413691,
0.015676474,
0.04006819,
-0.0019047465,
0.009222262,
0.033161774,
-0.032668456,
0.02440542,
-0.013970424,
-0.0005267172,
0.006416529,
-0.03993116,
-0.028201211,
0.0015159178,
0.021171462,
0.06774868,
-0.012853613,
0.05733424,
-0.013641547,
0.009859461,
-0.013038606,
-0.016923467,
-0.024501342,
0.006920122,
0.006207555,
0.06747462,
-0.06347328,
-0.024473937,
0.060348947,
0.014497998,
0.02866712,
0.02226772,
-0.0033298805,
-0.024309497,
0.0033161773,
0.0031020646,
0.00034707668,
-0.008886533,
-0.015306488,
0.007310664,
-0.0005113011,
-0.00511815,
-0.022212908,
0.05327809,
0.04598798,
0.016101275,
0.021596262,
0.04001338,
-0.019403748,
-0.002711523,
-0.018362304,
-0.0017009112,
0.024364311,
-0.048838247,
-0.022541784,
0.020362973,
0.042178486,
-0.013805986,
-0.007824535,
0.0021548301,
0.011496995,
0.024734298,
-0.010681653,
-0.008694688,
-0.0076806503,
-0.020938508,
-0.02905081,
0.018252678,
-0.038834903,
-0.036368325,
0.04206886,
0.033216584,
-0.05555282,
0.023966918,
-0.020143721,
0.060897075,
0.01923931,
-0.018485634,
-0.028913777,
-0.05854012,
-0.031791452,
-0.0460702,
-0.008002676,
0.051633704,
-0.025487974,
-0.009695022,
-0.031078884,
-0.009722429,
-0.0029102196,
-0.029626345,
0.0050016725,
-0.0018310917,
0.018608961,
-0.013333226,
-0.02850268,
0.013504515,
-0.042781428,
0.037163112,
-0.05303143,
-0.02188403,
-0.076737985,
0.00407328,
-0.050921135,
0.037135705,
0.009592248,
0.017992318,
-0.03003744,
0.0065809675,
0.011072195,
0.01719753,
-0.03494319,
0.0071462253,
0.015155752,
0.026556825,
-0.032175142,
0.030558163,
0.008420624,
-0.010380183,
0.019417452,
-0.019266715,
-0.035381693,
0.0023569525,
-0.053195868,
0.0019698367,
-0.010606286,
0.0024614395,
0.032778084,
-0.038067523,
0.032695863,
-0.01612868,
-0.0048954724,
-0.005025653,
-0.056073543,
-0.0069303997,
-0.009283926,
-0.042589583,
0.003201413,
-0.0009849183,
0.020417785,
-0.005875252,
0.009119487,
-0.03387434,
0.036368325,
-0.01796491,
-0.01808824,
0.04826271,
0.058375683,
0.013059161,
-0.044727284,
-0.021719592,
0.037437174,
-0.02456986,
-0.0033281676,
-0.02747494,
0.012531588,
0.051140387,
0.035381693,
-0.024460234,
-0.009201707,
0.009612803,
-0.006522729,
0.0052243494,
-0.043493994,
0.020404084,
0.0011887536,
0.019102277,
0.002716662,
0.019828549,
-0.047193862,
-0.02777641,
-0.006539858,
-0.0063034776,
0.002278159,
0.031791452,
-0.00031346097,
-0.007111967,
0.0013891631,
-0.003043826,
0.018841917,
0.010140377,
-0.002034927,
-0.0004166633,
-0.0028965164,
0.031243324,
0.037163112,
-0.032449204,
0.035683163,
-0.04722127,
-0.0006628929,
-0.038752683,
-0.011442182,
0.040862978,
-0.016443854,
-0.035600945,
0.049715254,
-0.009660765,
-0.01574499,
0.014114308,
-0.016457558,
0.020486303,
0.025433162,
-0.053469934,
-0.011956053,
-0.010380183,
0.014772062,
-0.03631351,
0.009975938,
0.026200542,
0.018828213,
-0.015758693,
0.03976672,
-0.027173469,
0.024638375,
-0.03080482,
0.034696534,
-0.0001105892,
-0.029708564,
0.034285437,
-0.04330215,
-0.022459565,
0.015183159,
0.026118321,
-0.020568522,
0.010140377,
-0.0052586077,
-0.053004023,
0.012922129,
-0.016060164,
-0.05618317,
0.0016623709,
-0.01744419,
0.054209907,
-0.059910443,
0.022089578,
0.05733424,
-0.0062418133,
0.021788107,
-0.03686164,
0.034833565,
0.015717585,
0.021651074,
-0.027543455,
-0.01540241,
-0.02192514,
-0.025364645,
0.02935228,
-0.044699878,
-0.012743987,
-0.014895392,
0.010763873,
0.0018225271,
0.044973943,
-0.00588553,
-0.022377346,
-0.053606965,
0.01612868,
0.01369636,
-0.0063548647,
0.0012221552,
-0.011490143,
0.020678148,
0.06593986,
-0.0016383902,
0.0015287646,
-0.03003744,
0.061664455,
0.040643726,
-0.04705683,
-0.005059911,
0.043822873,
-0.0550321,
-0.045631696,
-0.05440175,
0.019623,
-0.007975269,
-0.01744419,
-0.008865979,
0.019760031,
-0.010907757,
-0.009249669,
-0.003960228,
-0.010647396,
0.034093592,
-0.004936582,
-0.028338242,
-0.0610067,
0.018334897,
0.052455895,
-0.019444859,
0.0065706903,
-0.044508033,
-0.016772732,
0.010530919,
-0.03373731,
0.013024903,
-0.013668954,
-0.027228283,
0.014867985,
0.018252678,
0.060348947,
0.013634696,
0.016389042,
-0.015292784,
-0.02905081,
-0.031215917,
-0.010757022,
-0.008715243,
-0.016334228,
0.016868655,
-0.004710479,
0.024748001,
0.007927308,
0.046042792,
-0.04045188,
-0.07185964,
0.01356618,
-0.03784827,
0.01667681,
-0.0027269393,
-0.0045597437,
0.02222661,
-0.0036450543,
-0.008112301,
-0.029105622,
0.004717331,
-0.006413103,
-0.02077407,
0.0032767805,
-0.029078215,
0.036669794,
-0.034696534,
-0.003216829,
-0.07695724,
-0.01540241,
0.04275402,
0.01297009,
-0.013785431,
0.015923133,
0.0031517388,
0.05508691,
-0.021486636,
0.027488643,
-0.011962905,
0.0010577167,
0.048947874,
-0.023144726,
-0.07925938,
0.03442247,
0.035491318,
0.013943018,
0.027625676,
-0.008626172,
-0.006673464,
-0.028530087,
-0.003340158,
0.012175304,
0.01796491,
-0.06369253,
-0.010907757,
0.04859159,
-0.05508691,
-0.009907423,
-0.039574876,
-0.0031397485,
-0.0025762038,
0.0050873174,
0.00622811,
0.047330894,
-0.0058649746,
0.02990041,
-0.0034360804,
0.04859159,
0.0071941866,
0.039876346,
0.026913108,
0.021856623,
-0.0069098445,
0.014867985,
0.058375683,
0.011812169,
-0.025871664,
0.03195589,
0.01305231,
0.03264105,
0.010633692,
-0.028338242,
-0.0018516466,
0.026680155,
-0.0023038525,
0.011236634,
0.0035217255,
-0.036752015,
-0.00853025,
0.031627014,
-0.07153077,
-0.01643015,
0.012757691,
-0.0073312186,
0.023089912,
-0.042671803,
-0.06906419,
0.0010911182,
-0.03442247,
-0.02495355,
-0.0036998673,
0.041246668,
-0.005426472,
0.04439841,
-0.023103615,
-0.013552477,
0.0025813426,
0.013436,
-0.01049666,
-0.0170605,
-0.01778677,
0.055223946,
-0.0023860717,
0.04360362,
-0.02000669,
-0.02811899,
-0.019403748,
0.016471261,
-0.041411106,
-0.0023192686,
-0.051469263,
0.003148313,
-0.009400403,
0.0051558334,
-0.0324218,
0.014114308,
0.012490477,
-0.0024751427,
-0.011243486,
-0.016265713,
0.0027098102,
-0.018869324,
-0.0077149086,
0.039492656,
0.023459898,
-0.0047584404,
0.01582721,
0.009564842,
0.019020058,
-0.011524402,
0.04519319,
0.019417452,
0.038451213,
0.0041829054,
-0.0490575,
-0.04198664,
0.036066853,
-0.017677143,
-0.011490143,
0.025775742,
-0.026049806,
0.008872829,
0.010167783,
0.01625201,
-0.00546073,
0.013175638,
0.0008838572,
-0.018019725,
-0.0052209236,
0.037437174,
0.037217923,
-0.043493994,
0.038752683,
-0.051551484,
0.046864986,
0.03899934,
0.008564508,
-0.021048134,
0.025323536,
0.0036210737,
-0.016841248,
0.010270557,
0.023254352,
0.050756697,
-0.06544654,
0.025241317,
-0.014169121,
0.024857627,
-0.054840256,
-0.09279815,
-0.018883027,
-0.022884363,
-0.0046316856,
-0.02150034,
0.007639541,
-0.024597265,
0.025693523,
-0.06517248,
0.011428479,
-0.06604948,
-0.02874934,
0.0018345175,
0.005861549,
0.00490575,
0.02141812,
0.012805652,
0.013018051,
0.030640382,
0.034669127,
0.035381693,
-0.0008491709,
0.004450118,
0.009366145,
-0.03557354,
-0.007303812,
-0.01719753,
-0.0243232,
0.0157861,
0.02410395,
0.017896395,
-0.00044749552,
-0.082493335,
-0.007132522,
0.014497998,
0.017567517,
-0.01873229,
0.020938508,
-0.005131853,
-0.05903344,
-0.0017368821,
0.053853624,
0.04069854,
0.01088035,
-0.004792698,
0.011846427,
-0.018608961,
-0.0016195484,
-0.02721458,
0.011853279,
0.016443854,
-0.034751344,
-0.00187734,
-0.044343594,
0.0332714,
-0.0091743,
-0.020321863,
0.023966918,
0.031764045,
0.011401072,
0.036971267,
0.044206563,
-0.015320191,
-0.04453544,
0.0062178327,
0.04363103,
-0.00716678,
0.08643986,
0.033298805,
-0.029763376,
-0.035875008,
-0.011127008,
-0.028228616,
0.0005943768,
0.011551808,
-0.011010531,
-0.040369663,
-0.032668456,
-0.012791948,
0.01501872,
0.032832894,
0.0011887536,
-0.004076706,
-0.02141812,
-0.036286104,
-0.09778612,
-0.047248676,
-0.047659773,
0.063582905,
0.00039696493,
-0.03373731,
-0.003203126,
-0.028639713,
0.217607,
0.059965257,
0.04116445,
0.016786436,
0.027749004,
0.070215255,
0.034751344,
0.018869324,
0.01693717,
-0.0435214,
0.0068241996,
0.0026978198,
0.009194856,
0.04637167,
-0.020280754,
0.029598938,
-0.05634761,
-0.017115312,
0.022158094,
-0.04401472,
-0.045412444,
0.028941184,
0.007447696,
0.045248006,
0.010989976,
-0.06451472,
0.014648734,
-0.06287034,
0.026776077,
-0.01693717,
0.00358339,
-0.031846266,
0.0057245167,
0.0051352787,
0.001417426,
0.023953214,
0.015073533,
-0.0029616067,
-0.026008697,
-0.011962905,
0.011531253,
-0.008482289,
-0.04406953,
0.0032956225,
-0.02418617,
-0.000064180276,
0.024227278,
0.051606297,
0.039328218,
-0.036642388,
0.05541579,
-0.061664455,
0.039711908,
-0.02277474,
-0.027680488,
0.01057888,
-0.040095598,
-0.052428488,
-0.021102946,
-0.010010197,
0.053387713,
-0.0005708244,
-0.0036758867,
0.045357633,
0.018403415,
0.015840912,
-0.011791614,
0.021993656,
-0.005176388,
-0.015169456,
0.029790783,
-0.006574116,
-0.030092254,
-0.024693187,
0.011209227,
0.007564173,
0.0017094756,
0.026282761,
0.012538439,
-0.032832894,
-0.014922798,
-0.007824535,
0.017978614,
-0.048728622,
0.072407775,
0.023994325,
-0.013641547,
-0.006718,
-0.027063845,
0.01885562,
-0.000012766469,
0.05810162,
0.03787568,
0.039108966,
-0.0059746006
] | The [Trainer] is set to logging.INFO by default which reports errors, warnings, and other basic information. A [Trainer] replica - in distributed environments - is set to logging.WARNING which only reports errors and warnings. You can change the logging level with the log_level and log_level_replica parameters in [TrainingArguments].
To configure the log level setting for each node, use the log_on_each_node parameter to determine whether to use the log level on each node or only on the main node. |
[
0.022737468,
0.051879857,
-0.014661699,
-0.006377073,
-0.01124342,
-0.019646397,
0.0011957012,
0.003373026,
0.016137615,
0.05071026,
0.015135106,
0.021679264,
0.01102064,
-0.046087578,
0.0018257505,
0.03792827,
-0.0029396496,
-0.028905684,
-0.050988737,
0.018476803,
-0.023545044,
-0.005827085,
-0.06800354,
-0.0674466,
-0.05226972,
-0.002964016,
-0.018936286,
-0.021762805,
0.060596116,
0.007922608,
-0.02851582,
-0.04617112,
0.033416975,
-0.02021727,
-0.042940814,
-0.03104994,
0.016792031,
-0.036313113,
-0.04851031,
-0.01750214,
0.0060742316,
0.008869423,
0.052548196,
-0.041826915,
-0.040183913,
0.0027186102,
-0.014271834,
-0.004967294,
-0.01686165,
-0.06895036,
-0.030325906,
0.055388637,
-0.0057992376,
-0.017766692,
-0.027541157,
0.01113203,
0.00032133382,
-0.022834934,
-0.025536139,
0.020746373,
-0.009321944,
0.016569251,
0.04143705,
-0.061097372,
0.019521084,
0.018838821,
0.017251514,
-0.00045078108,
-0.017808463,
-0.061598625,
-0.03305496,
0.0425231,
0.008911193,
-0.036229573,
-0.0073726205,
0.07457555,
0.0074074296,
0.010790898,
0.01984133,
0.048872326,
0.0029831612,
0.059259437,
-0.010254835,
0.01016433,
-0.020579288,
-0.052910212,
0.012030112,
-0.003366064,
-0.050543178,
-0.027763937,
-0.026858894,
0.04486229,
-0.018170482,
0.005353678,
0.010101673,
0.014209176,
0.010763051,
0.027917098,
-0.007289078,
-0.021734959,
0.038735844,
0.09234224,
-0.015678132,
-0.018476803,
-0.032553703,
0.0057122144,
0.0139515875,
0.019312227,
-0.093289055,
-0.035978943,
-0.027248759,
-0.0063457447,
0.009927627,
-0.0187692,
-0.025550064,
0.054943077,
-0.016541403,
0.0061960644,
-0.064439066,
0.021860272,
0.02862721,
0.010658623,
0.009356753,
-0.0276247,
0.020078033,
-0.020648906,
-0.002490609,
0.0397662,
0.0021251107,
-0.020746373,
-0.026343716,
-0.017195819,
0.024728563,
0.043720543,
0.010763051,
0.0007427445,
0.018741354,
-0.02341973,
0.021136237,
-0.035310604,
0.024839953,
0.03294357,
-0.019924872,
0.07914254,
0.0057435427,
-0.03934849,
-0.018086938,
-0.029768957,
-0.016569251,
-0.0256893,
-0.06271253,
0.019604625,
-0.01306743,
-0.0062343543,
0.0035749204,
-0.04076871,
-0.036647283,
0.04319144,
-0.008284626,
0.00994155,
0.00041227325,
0.013018697,
-0.037510555,
0.0486217,
-0.0073169256,
0.01165417,
-0.0091827065,
-0.008347282,
0.036340963,
-0.013471219,
-0.0023444097,
0.012357319,
0.0032790408,
-0.030130973,
0.06928453,
-0.0068156705,
0.07981088,
0.012872498,
0.019270455,
0.021303322,
-0.013429447,
-0.0037872572,
-0.019869177,
0.02204128,
0.020245118,
0.0047932477,
-0.017251514,
-0.0039404184,
-0.01057508,
0.0375941,
-0.003209422,
0.035978943,
-0.015733827,
0.0019179952,
-0.028028488,
-0.014104748,
0.023739977,
0.017516065,
0.01057508,
-0.029267702,
-0.027972793,
0.033584062,
-0.032358773,
0.03160689,
-0.01068647,
0.009558648,
-0.0044904063,
0.0475078,
0.004859385,
0.013582609,
-0.017321132,
0.016597098,
-0.018546421,
0.04617112,
-0.019186914,
-0.013248439,
-0.060039166,
0.0168338,
0.025647528,
-0.0041144653,
0.04519646,
0.014661699,
0.036396656,
0.05182416,
0.02159572,
-0.04564202,
-0.010602928,
0.0072542685,
0.012050997,
0.047424257,
0.016583174,
0.04962421,
0.0042362977,
0.043052204,
-0.0062900498,
0.029908193,
0.04377624,
0.04288512,
0.017919853,
-0.032887872,
-0.0039508613,
-0.013304134,
0.031523347,
0.0053258305,
-0.058758184,
-0.0059210705,
-0.013185781,
-0.0020833395,
-0.03890293,
0.017641379,
-0.062378354,
0.06477324,
0.009649152,
-0.024561478,
-0.03603464,
0.012002264,
-0.009001698,
0.00012020104,
-0.026441183,
-0.003369545,
0.046366055,
0.0121971965,
-0.0032355292,
-0.0005504228,
0.04500153,
0.020412203,
0.033194195,
0.050738107,
0.00536064,
-0.095349774,
0.0075257816,
-0.036396656,
-0.047340717,
0.01917299,
-0.026176631,
-0.02840443,
0.051406447,
-0.026705733,
-0.014000321,
0.0037106767,
0.00804096,
-0.015469275,
-0.00080627156,
0.053968415,
0.02475641,
0.008221968,
-0.038151048,
-0.016736336,
-0.028877838,
0.012614909,
-0.020607134,
-0.023043789,
-0.015705978,
-0.020857763,
0.029044922,
0.013185781,
0.027610777,
0.01221112,
-0.054720297,
0.047479954,
-0.003454828,
0.014167406,
0.015705978,
0.04408256,
-0.039292794,
0.041882608,
0.039821897,
-0.046087578,
0.06477324,
0.050292548,
0.0019441022,
0.020259041,
-0.015107258,
-0.0046923,
-0.044388883,
0.019005906,
0.04330283,
-0.032971416,
-0.02144256,
-0.042328168,
-0.053884875,
-0.035728317,
-0.004010037,
-0.011125068,
-0.030520838,
0.03823459,
-0.0066242195,
-0.047229327,
0.02341973,
-0.07201359,
-0.0074143917,
-0.046477444,
-0.0003459179,
0.024853876,
-0.0113756955,
0.009287135,
-0.056196213,
-0.011438352,
-0.03737132,
0.0043546497,
0.005297983,
-0.009433334,
0.05093304,
0.03725993,
-0.014550309,
0.011473162,
0.0049011563,
-0.022389375,
0.010700394,
-0.0020955228,
-0.009433334,
-0.009670038,
0.011842141,
-0.015065487,
0.024436163,
0.047312867,
0.00024388301,
-0.0041492744,
0.008354244,
0.017780615,
-0.004779324,
-0.026162708,
0.00875107,
0.002036347,
-0.020133728,
-0.0190616,
-0.03436379,
0.00971877,
0.0026524724,
-0.017112276,
0.03338913,
0.0034826754,
0.0010616852,
0.008688414,
-0.00002261248,
0.007644133,
0.025146274,
0.05614052,
0.07669196,
-0.01675026,
-0.001161762,
-0.003588844,
0.024853876,
0.009349791,
0.027777862,
-0.01165417,
0.0054789917,
0.038624454,
-0.03511567,
0.0012783734,
0.0077346377,
0.005552091,
0.0009998985,
-0.02364251,
-0.029323397,
-0.0129281925,
-0.009927627,
0.048203986,
0.04068517,
-0.0011443574,
-0.018713506,
-0.0674466,
-0.014995868,
0.0182401,
0.001083441,
-0.013450333,
-0.060373336,
0.028822143,
0.04411041,
0.018671736,
-0.0048454613,
-0.006620738,
-0.018393261,
0.017112276,
0.02204128,
0.0035749204,
-0.026900666,
0.005562534,
-0.007901723,
-0.01835149,
0.0065371958,
-0.046672378,
-0.0077833706,
0.020996999,
0.041269965,
0.023015942,
0.014856631,
-0.022612154,
0.0010512423,
0.031662583,
-0.010157368,
-0.04157629,
-0.04355346,
0.0021198895,
-0.062823914,
-0.003533149,
0.08610441,
-0.06911744,
-0.022431144,
-0.060818896,
-0.0005521633,
-0.0044799633,
0.0069792746,
-0.03592325,
-0.008201083,
0.009064355,
-0.030214516,
0.00005099026,
-0.024491858,
-0.036842216,
0.0314955,
-0.086048715,
0.055165857,
-0.032637246,
0.0045321775,
-0.040713016,
0.011445315,
0.02695636,
0.015789522,
0.008221968,
-0.02397668,
0.014675622,
0.04511292,
-0.022055205,
-0.045140766,
0.0046366053,
0.010902288,
0.014926249,
0.0442218,
0.01846288,
-0.025494369,
0.008855498,
0.0134016,
-0.013206667,
-0.002483647,
-0.03522706,
0.010895327,
-0.017669225,
-0.036090333,
0.053940568,
-0.071011074,
-0.007762485,
-0.008625757,
-0.0060707508,
-0.0044451538,
-0.060930286,
0.0007888669,
-0.030687923,
-0.017836312,
0.030687923,
-0.0038464332,
0.011006717,
-0.020913457,
-0.013109202,
0.019242609,
0.0033034072,
-0.062991,
-0.019743863,
0.04739641,
0.03831813,
0.021651415,
-0.049011566,
-0.023043789,
0.020593211,
-0.04683946,
-0.017543912,
-0.010171292,
-0.030882856,
-0.031773973,
0.014981944,
0.0024296925,
0.025508292,
-0.0032738193,
-0.0022504246,
0.011640247,
-0.026260173,
0.01768315,
0.026301945,
0.016430013,
0.043720543,
-0.027889252,
-0.07596792,
-0.028000642,
0.020537516,
-0.0055138012,
-0.008660566,
0.050403938,
-0.028153801,
-0.023266569,
-0.056725316,
0.02646903,
-0.0139515875,
-0.0066102957,
-0.0574772,
0.016485708,
-0.006310935,
0.009502953,
0.015093334,
-0.052631736,
0.0014115191,
-0.015204724,
0.026065242,
-0.059593607,
0.0075814766,
0.0068295943,
-0.009043469,
-0.01961855,
0.008249816,
0.0221109,
0.0043685734,
-0.004671415,
0.02695636,
-0.0052631735,
0.028599363,
-0.055889893,
-0.024631096,
-0.01984133,
0.01251048,
-0.0007584087,
0.01899198,
0.015719902,
0.022250136,
0.0027934504,
0.050905194,
-0.029824652,
-0.008047922,
-0.007971341,
-0.016040148,
0.03570047,
0.026538648,
0.025814613,
0.010846593,
0.033249892,
-0.008089693,
0.008033998,
-0.0513786,
0.027944947,
-0.03389038,
-0.08137034,
0.032860026,
-0.019089447,
-0.012816803,
-0.011326962,
-0.015218648,
0.084712036,
-0.006972313,
0.03411316,
0.054553214,
0.016555326,
0.025842462,
-0.018518575,
0.04099149,
0.0115567045,
0.025174122,
0.013833236,
-0.0129281925,
0.035644773,
0.02557791,
0.023656433,
-0.031773973,
-0.029768957,
-0.0023827,
-0.017919853,
0.01966032,
0.055416483,
-0.03489289,
-0.07112246,
-0.041604135,
0.0375941,
0.028209496,
0.0003208987,
0.05037609,
0.032692943,
0.025424749,
0.029657567,
-0.03809535,
-0.0034670113,
-0.015650284,
0.04940143,
-0.004382497,
-0.048538156,
-0.01761353,
0.05602913,
-0.027081674,
-0.040267456,
0.012162386,
0.004549582,
-0.004326802,
-0.028320886,
-0.042049695,
0.01727936,
-0.014000321,
0.013944626,
0.011925683,
-0.007839066,
0.015162953,
-0.015037639,
-0.011688979,
-0.08482342,
0.014592079,
0.04032315,
-0.021915967,
-0.028682904,
-0.050459635,
-0.016109766,
-0.054051958,
-0.029351244,
0.041604135,
0.013610456,
0.0028439239,
0.047090087,
-0.0003783341,
0.062991,
-0.016569251,
0.010512424,
-0.024575401,
-0.031579044,
-0.036897913,
0.0015916575,
0.0011704644,
0.013039582,
0.018699583,
0.009628266,
-0.028822143,
0.0025114946,
0.028822143,
-0.0049986225,
-0.07986657,
0.014703469,
-0.010923174,
-0.037844725,
-0.001686513,
0.016360395,
0.021693187,
0.021693187,
-0.0012104951,
-0.015441428,
0.031746127,
-0.008841575,
-0.011361772,
-0.013791464,
-0.062266964,
0.027569005,
-0.0817602,
-0.034614418,
-0.047312867,
-0.036201723,
0.019117296,
0.023322264,
-0.010240911,
0.0071428786,
-0.017836312,
0.054274738,
-0.030492991,
-0.009649152,
0.0066694715,
0.022681773,
0.026705733,
0.022584306,
-0.024951342,
0.04213324,
0.050348245,
-0.0065928907,
-0.0038185858,
-0.032135993,
0.0072542685,
-0.019869177,
0.02255646,
0.0044138255,
0.024686791,
-0.017641379,
0.028014565,
0.041882608,
-0.008319435,
-0.0020154614,
0.0036723865,
0.00863968,
-0.015580665,
0.03338913,
0.0130743915,
0.052631736,
0.001374099,
0.016736336,
0.023656433,
0.050793804,
0.023614664,
0.019298304,
-0.00875107,
0.009809275,
-0.015385733,
-0.01690342,
0.024881722,
0.030465143,
-0.018379336,
0.022542534,
-0.011285191,
-0.009837123,
-0.012413014,
-0.02602347,
-0.009788389,
0.0060289796,
0.010192177,
-0.04288512,
0.020133728,
0.006808709,
-0.029908193,
0.026288021,
-0.034976434,
-0.03467011,
0.013018697,
-0.031662583,
-0.010122559,
-0.044917986,
-0.004922042,
0.010261796,
0.026496878,
-0.0013784503,
-0.04152059,
-0.016611021,
-0.008681452,
0.010547233,
-0.023670359,
-0.042578798,
-0.0028943974,
0.029963888,
0.0041144653,
-0.04023961,
0.010985831,
0.04397117,
0.023837443,
0.0010207841,
-0.019312227,
-0.06382643,
0.01619331,
0.027346225,
0.015218648,
-0.016165461,
-0.060373336,
0.0003119788,
-0.040378846,
0.040518083,
0.0041597174,
0.0025010519,
0.011688979,
-0.005082165,
0.03402962,
0.00003271535,
0.050988737,
-0.028348735,
0.0040587704,
0.030409448,
0.030548686,
-0.0042919926,
0.0029431304,
0.020426126,
0.04388763,
0.027582929,
0.026538648,
0.00031850554,
0.037621945,
-0.005266655,
-0.06722382,
-0.008166273,
0.015650284,
0.015441428,
-0.011236458,
-0.0021320726,
-0.04010037,
-0.008075769,
-0.026343716,
-0.00014880997,
0.015037639,
0.011473162,
0.025633605,
-0.025327284,
-0.015441428,
0.014884478,
0.021331169,
-0.038847234,
0.028599363,
-0.019200837,
0.065775745,
0.021498255,
-0.005673924,
-0.0005569496,
0.017961625,
0.024617173,
-0.033194195,
0.041409202,
0.012155425,
0.043386374,
-0.034865044,
0.029852498,
-0.00004633995,
0.00092766917,
-0.054302584,
-0.0729604,
-0.050014075,
0.044611663,
-0.00014793973,
-0.01381235,
0.03692576,
-0.015023716,
0.000763195,
-0.036173876,
0.0010999754,
-0.030492991,
-0.015023716,
0.01068647,
0.0014010763,
-0.04917865,
0.061431542,
-0.01835149,
0.0065093483,
0.025926003,
0.057087336,
-0.010519385,
0.031662583,
-0.013847159,
-0.021289399,
0.0042014886,
0.01262187,
-0.050738107,
-0.0133667905,
-0.02270962,
-0.017084429,
-0.014042092,
-0.036535893,
-0.048371073,
0.0054859538,
-0.006920099,
-0.008876384,
-0.006380554,
0.014675622,
-0.00551032,
-0.029351244,
0.024937417,
0.044249646,
0.008946003,
-0.0067356094,
-0.0050403937,
0.01772492,
-0.009029546,
0.0049429275,
-0.032776482,
0.04739641,
-0.009043469,
-0.038067505,
-0.014383224,
-0.07368443,
0.012990849,
0.030242363,
-0.030381601,
0.0059872083,
0.026427258,
0.031746127,
0.0221109,
0.0022660887,
-0.007567553,
0.006116003,
0.03898647,
0.06817063,
0.016541403,
0.03402962,
0.036173876,
-0.0100042075,
-0.031077787,
0.022431144,
0.019980567,
0.010790898,
0.022876704,
0.030103127,
0.008611833,
-0.032887872,
-0.054775994,
-0.0024331736,
-0.034725808,
0.001928438,
-0.009078278,
-0.040156066,
-0.028348735,
-0.113506325,
-0.031913213,
0.013492104,
0.037621945,
-0.013895893,
-0.0198831,
0.001660406,
-0.039292794,
0.22712405,
0.0524925,
-0.0005765299,
0.0058549326,
0.043163594,
0.044026867,
0.0018414146,
-0.01868566,
-0.006411882,
-0.007567553,
0.0030980322,
-0.025995623,
0.03104994,
0.029657567,
0.02490957,
0.026482953,
-0.036981452,
0.0009972879,
0.008702338,
-0.030994246,
-0.057644285,
0.051072277,
0.021456484,
0.04489014,
0.011076335,
0.017808463,
-0.026009547,
-0.054525364,
0.03305496,
-0.027318377,
0.003366064,
0.0129281925,
0.004117946,
0.01552497,
0.009426372,
0.058145538,
0.028195573,
0.022236213,
-0.03787257,
-0.038067505,
0.035421994,
-0.032525856,
-0.003310369,
-0.01921476,
-0.002506273,
-0.010679509,
-0.016221156,
0.035087824,
0.04121427,
-0.054636754,
0.059036657,
-0.0014193512,
0.089223325,
-0.006958389,
-0.06566436,
0.0054859538,
0.018518575,
-0.031328414,
-0.040601626,
0.031579044,
0.04191046,
0.0093289055,
0.031328414,
0.039042167,
-0.023057714,
0.025633605,
-0.021637492,
0.037176386,
-0.032581553,
0.011097221,
-0.0016769405,
0.005552091,
-0.047535647,
-0.051211517,
0.009871932,
0.031968907,
0.0011713346,
0.028265191,
-0.013192744,
-0.073517345,
0.028474048,
0.009997245,
0.022250136,
-0.048315376,
0.046644527,
0.022472916,
-0.027708242,
0.010644699,
-0.00031698265,
0.01329021,
0.004462559,
0.073795825,
0.03447518,
0.0004516513,
0.025271589
] | from transformers import TrainerCallback
class EarlyStoppingCallback(TrainerCallback):
def init(self, num_steps=10):
self.num_steps = num_steps
def on_step_end(self, args, state, control, **kwargs):
if state.global_step >= self.num_steps:
return {"should_training_stop": True}
else:
return {}
Then pass it to the [Trainer]'s callback parameter. |
[
0.034670696,
0.026338004,
0.003109057,
-0.028864332,
-0.0039744284,
-0.028236238,
0.008186136,
0.008144263,
-0.014487996,
0.062195096,
0.008018645,
0.025053903,
0.044161867,
-0.031739596,
0.025584294,
0.024691006,
-0.030232176,
-0.013231811,
-0.050470706,
0.023462737,
0.0040407274,
0.01790761,
-0.081568256,
-0.019498777,
-0.08140076,
0.0015074215,
-0.02199719,
-0.008332691,
0.061915945,
0.06576824,
-0.038941722,
-0.0025402845,
-0.008542055,
-0.025374928,
0.005324827,
-0.047511693,
-0.015562732,
0.01638623,
-0.050247386,
-0.044441022,
0.011298683,
-0.0033428469,
0.037797198,
-0.06353503,
-0.053234313,
0.029199313,
0.02023853,
-0.003918598,
-0.00015996725,
-0.058342796,
-0.0015711031,
0.021257436,
-0.0026414772,
0.014990469,
-0.0035347638,
-0.012973595,
0.014795063,
-0.014920682,
-0.049661163,
0.01895443,
0.00092905323,
0.016246654,
-0.0030916098,
-0.028082704,
0.03645727,
-0.006434457,
-0.020182699,
0.002992162,
-0.0010956721,
-0.023434822,
-0.046953388,
0.032381646,
-0.0020692153,
-0.023713974,
-0.03838342,
0.03347034,
0.014376335,
0.004100047,
0.01598146,
0.05225728,
0.018577574,
0.024579346,
-0.016190823,
-0.024188533,
-0.019805845,
-0.018828811,
-0.014487996,
-0.031013802,
-0.032465395,
-0.018591532,
-0.042486954,
0.024998074,
-0.017754076,
0.019791886,
0.045920525,
0.021410968,
-0.014627572,
0.0477071,
-0.025640124,
-0.008409458,
0.089440346,
0.1146757,
-0.0039500026,
0.029534295,
-0.048544556,
-0.016832873,
0.016581638,
0.00974241,
-0.06694068,
-0.0005609213,
0.0300926,
0.029813448,
0.010426332,
0.0031579086,
-0.010161138,
0.041565754,
-0.006668247,
0.00962377,
-0.08262903,
-0.020252487,
0.038439248,
-0.0117313685,
-0.009086402,
-0.040644553,
0.018982345,
-0.00070311443,
0.0051538465,
0.04804208,
0.027789595,
-0.04804208,
0.0044594556,
0.025723869,
0.034559034,
0.014515911,
0.01720973,
0.021592418,
-0.0030235667,
0.017865736,
0.005471382,
-0.053094737,
0.020768918,
0.0011593538,
-0.009965731,
0.083187334,
0.03411239,
-0.05493714,
0.010775273,
-0.047679186,
-0.04234738,
-0.021117859,
-0.026491538,
0.0025978596,
0.02187157,
0.036122285,
-0.018130932,
-0.017405136,
-0.057951983,
0.041565754,
0.022834646,
-0.013545858,
-0.006619395,
0.021550545,
-0.043798972,
0.048907455,
-0.0077464716,
0.051084843,
-0.022248425,
-0.053680956,
0.006584501,
-0.019680226,
-0.013720327,
0.012303631,
-0.014418208,
-0.011710432,
0.06253008,
-0.015520859,
0.058286965,
0.025179522,
0.012275715,
0.022332171,
-0.004975887,
-0.000116349736,
0.0059284936,
0.039639603,
0.020685174,
-0.0018354253,
-0.008402479,
-0.011340556,
-0.03218624,
0.01382501,
0.017586585,
0.038355503,
-0.029673873,
-0.0012430993,
-0.020071039,
-0.016511848,
-0.0067170984,
0.025333056,
-0.014243738,
-0.04212406,
0.014669444,
0.037936777,
-0.020266445,
0.052061874,
0.010719442,
-0.04753961,
-0.0025978596,
0.082573205,
0.00084007345,
0.016874747,
-0.0042082183,
0.018242592,
-0.005984324,
0.045222647,
-0.014613614,
-0.003452763,
-0.015674392,
0.0145577835,
0.025081819,
-0.025444718,
0.026463622,
-0.020071039,
0.07576189,
0.006636842,
0.03067882,
-0.010251862,
-0.026994012,
0.020922452,
0.046813812,
0.046590492,
-0.0010808422,
0.03947211,
0.035898965,
0.04689756,
-0.0429336,
0.011891881,
0.038411334,
0.029366804,
0.012045415,
-0.0085280975,
0.008109369,
0.024704965,
-0.011822093,
0.0135319,
-0.01796344,
-0.0081512425,
-0.014222802,
0.027426697,
-0.051308163,
-0.006985782,
-0.0176145,
0.057170358,
0.051531486,
-0.028501432,
-0.05150357,
-0.0011296938,
-0.005809854,
0.03079048,
0.0012352482,
-0.008730483,
0.018772982,
0.020503724,
0.0048363106,
-0.011570856,
0.03132087,
-0.0035068488,
0.034447372,
0.044050205,
0.00664731,
-0.07012302,
-0.011870945,
-0.01539524,
-0.015911672,
-0.02012687,
-0.017279517,
0.0027042862,
0.05443467,
-0.04081204,
-0.0029153952,
-0.007927921,
0.048488725,
0.001717658,
-0.01440425,
0.028543307,
0.0069543775,
0.04625551,
-0.02689631,
-0.03079048,
-0.0015527838,
0.015297537,
-0.02309984,
-0.03581522,
-0.009218999,
-0.03319119,
0.025626166,
0.04181699,
0.05128025,
-0.05242477,
-0.030706735,
0.021424927,
-0.034866102,
0.019805845,
-0.0017604032,
0.056779545,
-0.020964326,
0.011570856,
0.019694183,
-0.04614385,
0.039723348,
0.05097318,
0.004298943,
-0.012275715,
-0.0061797304,
0.026617156,
-0.038215928,
0.0025402845,
0.010879954,
-0.014948597,
-0.050359044,
-0.03737847,
0.0035138275,
0.004637415,
-0.0018563617,
-0.013385345,
0.023309203,
0.04455268,
0.0035068488,
-0.05178272,
0.0054748715,
-0.079167545,
-0.016190823,
-0.025863446,
-0.018298423,
0.035954796,
-0.019819802,
-0.0018581065,
-0.054462582,
-0.0058691734,
-0.039332535,
-0.0023431333,
0.01259674,
0.00040869619,
0.032688715,
0.05289933,
-0.018759023,
-0.023518568,
0.017042238,
-0.040281653,
-0.0064065414,
-0.0060506226,
0.00039626518,
-0.03469861,
0.015995417,
0.01464153,
0.0029799491,
0.04748378,
0.0024861987,
-0.007704599,
0.042794023,
-0.02840373,
0.021508671,
0.0048363106,
-0.00011286034,
0.0011235874,
-0.06610323,
-0.0313767,
-0.017391179,
0.010070413,
0.06409333,
-0.0040093227,
0.039807096,
0.020071039,
-0.016176866,
0.026310088,
-0.01790761,
-0.040644553,
0.010838082,
0.02781751,
0.04198448,
-0.022695068,
-0.025109734,
0.029171398,
0.004107026,
0.01847987,
0.043408155,
0.019931462,
-0.007139316,
0.0017795949,
-0.023225458,
0.007872091,
0.021159733,
-0.01464153,
0.014906724,
-0.0042535807,
0.022206552,
-0.035201084,
0.02805479,
0.06292089,
0.011214937,
0.0023134733,
0.008353627,
-0.02689631,
-0.022234468,
0.017335348,
-0.025723869,
-0.0023413885,
-0.03860674,
-0.0052934224,
0.016693298,
0.022653196,
-0.028473519,
0.00501427,
-0.037127234,
0.029590126,
0.02420249,
-0.0018598511,
-0.022876518,
0.02106203,
-0.0090933805,
-0.0071742097,
0.019903548,
-0.04700922,
-0.021215562,
0.02169012,
0.047790844,
-0.06141347,
-0.0032643352,
-0.038076352,
0.007879069,
0.04234738,
-0.022429874,
-0.022485705,
-0.053318057,
-0.018354254,
-0.021508671,
-0.009602834,
0.048014168,
-0.030120516,
-0.033498257,
-0.059347745,
0.0057086614,
0.013790116,
-0.02892016,
-0.0017883184,
0.004979376,
-0.0035487216,
-0.026686944,
-0.0070625492,
-0.009212021,
-0.006322796,
0.015423155,
-0.071016304,
-0.008018645,
-0.055495445,
-0.009442321,
-0.0506382,
0.037127234,
0.012931723,
0.044357274,
-0.00956794,
-0.021103902,
0.018103017,
0.008018645,
-0.037713453,
-0.022178637,
0.0059564086,
0.029841363,
-0.009358576,
0.027021926,
0.0125618465,
-0.03645727,
-0.006898547,
-0.008556013,
-0.024942243,
0.013755222,
-0.045306392,
0.0039569815,
-0.017056195,
-0.0030165878,
0.028892247,
-0.054853395,
0.020950368,
-0.009253893,
-0.01510213,
-0.023239415,
-0.061971772,
-0.004881673,
-0.0055551277,
-0.03762971,
0.026728816,
0.025751784,
0.0010407141,
-0.011926775,
-0.011284725,
0.0124781,
-0.00022572068,
-0.030371752,
-0.022360086,
0.063144214,
0.044078123,
0.046060104,
-0.037071403,
-0.03254914,
-0.0041803033,
-0.015074216,
-0.007858133,
-0.008646738,
0.0018005313,
-0.0013704625,
-0.0072509767,
-0.0227509,
0.010544972,
0.016023332,
-0.021662205,
-0.008500183,
-0.031851258,
0.01965231,
-0.006246029,
-0.014348419,
0.022722984,
0.00670663,
-0.062195096,
-0.018759023,
-0.00014099364,
-0.0096586635,
0.022932349,
0.0030462476,
-0.034391545,
-0.047204625,
0.0039569815,
0.0027426698,
0.0023954744,
0.023239415,
-0.024369981,
0.012512995,
-0.020950368,
0.034279883,
0.016791001,
-0.04083996,
-0.0017263815,
-0.029255144,
-0.015144004,
-0.040504973,
-0.012492058,
0.010900891,
0.0032992293,
-0.01697245,
0.026156556,
0.016414145,
-0.020433936,
-0.0063856053,
0.0015798266,
0.00653216,
0.021215562,
-0.056360815,
0.0075022136,
-0.0029485445,
0.0029467999,
-0.030762566,
0.023351077,
0.015144004,
0.0064309672,
-0.0107334,
0.049716994,
-0.014948597,
0.024062915,
-0.031488363,
0.02530514,
0.037797198,
-0.008946826,
0.028096663,
-0.039053384,
-0.016539764,
0.018926514,
0.03483819,
-0.011668559,
0.011417323,
-0.012129161,
-0.08162408,
0.049940318,
-0.019345243,
-0.003691787,
-0.054378837,
0.02596115,
0.048516642,
-0.029841363,
0.013315557,
0.07347284,
0.0451389,
0.02041998,
-0.03249331,
0.038215928,
0.005516744,
0.02928306,
0.0025298162,
0.0036952763,
-0.009868028,
-0.0022663665,
0.03545232,
-0.062139265,
-0.035424408,
0.0060750484,
-0.00072230614,
0.009323682,
0.037015572,
-0.009686579,
-0.04298943,
-0.047316287,
0.032800376,
0.026659029,
0.016009375,
0.03458695,
-0.001242227,
0.016874747,
0.055132546,
-0.013601688,
-0.009302745,
-0.015967501,
0.054378837,
0.021075986,
-0.02875267,
-0.030064685,
0.028250197,
-0.06448414,
-0.052703924,
-0.04502724,
0.020071039,
-0.022025103,
-0.035033595,
-0.033749495,
0.004578095,
-0.018856727,
0.015060258,
0.02104807,
0.010712463,
-0.011117234,
0.014271653,
-0.033219103,
-0.06738733,
0.016107079,
0.06012937,
-0.049940318,
-0.010607781,
-0.010244884,
0.025151607,
-0.012589761,
-0.05418343,
0.041789073,
-0.0089049535,
-0.015004427,
-0.0031073121,
-0.00268335,
0.05295516,
0.019261498,
0.02811062,
-0.013636582,
-0.058454458,
-0.038467165,
0.0043652416,
0.005122442,
0.006326285,
0.047679186,
-0.010865997,
0.018591532,
-0.0275244,
0.039025467,
-0.04968908,
-0.038355503,
0.001478634,
-0.03405656,
-0.007383574,
-0.0083955005,
-0.0077604293,
0.009128275,
-0.011207959,
0.01849383,
-0.044106036,
0.052033957,
0.009826155,
-0.05049862,
0.0036499142,
-0.026310088,
0.051698975,
-0.052731838,
-0.008200094,
-0.04957742,
-0.05404385,
0.023644187,
0.022094892,
-0.009686579,
0.030232176,
-0.0027548827,
0.04310109,
-0.024537472,
0.0027845425,
-0.006678715,
-0.015744181,
0.060799334,
0.007107911,
-0.078441754,
0.028613094,
0.032716632,
0.013169002,
-0.00201164,
-0.02467705,
-0.0022506642,
-0.022653196,
-0.0039430237,
-0.011089318,
0.011933754,
-0.037573878,
0.00038034478,
0.056137495,
-0.050777774,
-0.0071532736,
-0.020950368,
-0.009114318,
-0.011319619,
0.018116973,
0.039081298,
0.06035269,
-0.046674237,
0.010621739,
0.0018232124,
0.039025467,
0.02776168,
0.03232582,
0.0027199886,
0.017893652,
-0.023057966,
0.012917765,
0.0048258426,
0.016414145,
-0.027328994,
0.065712415,
0.0014646763,
0.02053164,
0.013155044,
-0.0062669655,
0.009477215,
0.026966097,
0.02770585,
-0.026728816,
-0.012394355,
-0.027608147,
-0.013301599,
0.03341451,
-0.09206437,
-0.036541015,
0.003883704,
-0.023476694,
-0.006793865,
-0.023923337,
-0.035145253,
0.004742097,
-0.023085881,
-0.0011863966,
0.0010250118,
0.03324702,
-0.008890996,
0.007425447,
-0.022192596,
-0.0020500235,
0.025765743,
0.03656893,
-0.014487996,
-0.03824384,
-0.0006956995,
0.041649498,
-0.016791001,
0.013929691,
-0.03827176,
-0.038467165,
-0.00950513,
0.030064685,
-0.027943129,
-0.029003907,
-0.041956566,
0.020210614,
-0.023127755,
0.028389772,
-0.045976356,
0.009805219,
0.012101245,
-0.022597365,
0.00455018,
0.0042954534,
0.02431415,
0.004414093,
-0.008793293,
0.027189419,
0.008618822,
-0.022136765,
0.016511848,
0.0051992084,
0.034279883,
-0.013573772,
0.03319119,
0.025584294,
0.041035365,
0.020252487,
-0.04273819,
-0.0089049535,
0.026994012,
0.013943649,
0.018521745,
0.025919275,
-0.020015208,
0.016818916,
0.04653466,
0.040225822,
0.019107964,
0.010321651,
-0.00997271,
-0.0148788085,
-0.02682652,
0.014013438,
0.03469861,
-0.04148201,
0.019470861,
-0.034307797,
0.05033113,
0.03818801,
0.008856102,
-0.027873341,
0.021857612,
0.028222281,
-0.024984116,
0.024453728,
0.022834646,
0.035229,
-0.036178116,
0.021313265,
-0.010705484,
0.016721213,
-0.032046665,
-0.10814354,
-0.067610644,
0.009484194,
0.0057365764,
0.0026816053,
0.021718036,
-0.029003907,
0.009512109,
-0.06398167,
0.0087165255,
-0.04689756,
-0.02339295,
0.0039569815,
0.0052689966,
-0.027035885,
0.011270767,
0.0030985887,
0.006985782,
0.012834019,
0.028696839,
0.022485705,
0.02875267,
-0.005883131,
0.0022384513,
-0.021410968,
0.018005313,
-0.034614865,
-0.039025467,
0.002292537,
0.007320765,
-0.010286756,
-0.021843655,
-0.064707465,
0.022234468,
-0.006668247,
0.019428989,
-0.0145019535,
0.02227634,
-0.0022297278,
-0.066438206,
0.0014036119,
0.07492443,
0.041789073,
0.013266705,
0.013566794,
0.02799896,
-0.03388907,
-0.03534066,
-0.037294727,
0.055104632,
-0.026296131,
-0.038774233,
0.019205667,
-0.019094005,
0.022681111,
0.007565023,
-0.038941722,
0.021075986,
0.022681111,
0.026728816,
0.04111911,
0.036875997,
-0.014139055,
-0.028529348,
0.0027391803,
0.018703192,
0.0077255354,
0.10602198,
0.031879175,
-0.02035019,
-0.025012031,
-0.019791886,
-0.019094005,
0.024132702,
0.003370762,
-0.0049375035,
-0.024439769,
-0.031013802,
-0.038941722,
0.005125931,
-0.017125983,
-0.032381646,
0.020210614,
-0.022555493,
-0.013134108,
-0.088882044,
-0.04011416,
-0.031209208,
0.035954796,
-0.047623355,
-0.0244956,
0.023979168,
-0.052006043,
0.22868143,
0.04611593,
0.026449665,
0.018103017,
0.05038696,
0.06509828,
0.024914328,
0.011270767,
0.024942243,
-0.011508047,
-0.010063435,
-0.017405136,
0.010754336,
0.0730262,
-0.021592418,
0.04868413,
-0.040002503,
-0.016428104,
-0.016190823,
-0.035843134,
-0.05342972,
0.047679186,
0.017768033,
0.05733785,
0.030120516,
-0.0313767,
-0.016651426,
-0.05315057,
0.01125681,
-0.03581522,
0.012059372,
-0.019624395,
0.026854435,
0.018898599,
0.024118744,
0.036541015,
-0.0065914798,
0.009477215,
-0.037713453,
0.007418468,
0.00011504121,
-0.04139826,
-0.0036359567,
-0.01836821,
-0.021843655,
-0.01994542,
-0.029115567,
0.029366804,
0.03575939,
-0.044133954,
0.05242477,
-0.06493079,
0.03517317,
-0.030622989,
-0.04555763,
0.030930057,
-0.023993127,
-0.042263635,
-0.039751265,
0.013245769,
0.046925474,
-0.008911932,
-0.0020727047,
0.061245978,
-0.0027444144,
0.009372533,
-0.022820687,
0.046423,
0.0033393574,
0.019791886,
0.0035312746,
0.013573772,
-0.004993334,
-0.020071039,
0.0023518568,
0.006989272,
-0.00070878473,
0.019094005,
0.02280673,
-0.020084996,
0.009602834,
-0.02746857,
0.036178116,
-0.06861559,
0.061022658,
0.041314516,
-0.007551065,
-0.03673642,
0.00530738,
0.030176345,
0.009651685,
0.058007814,
0.019038176,
-0.0062844125,
0.015841885
] | [Trainer] sets the log level separately for each node in the [Trainer.__init__] method, so you may want to consider setting this sooner if you're using other Transformers functionalities before creating the [Trainer] object.
For example, to set your main code and modules to use the same log level according to each node: |
[
0.04283391,
0.033739425,
-0.002966585,
0.0020911705,
-0.006459472,
-0.015466241,
0.011725994,
-0.022553766,
-0.030483373,
0.057289653,
-0.02310112,
0.020616977,
0.030735997,
-0.050524928,
0.0076489127,
0.021613441,
-0.045837335,
-0.027437842,
-0.06338071,
0.01677147,
0.01131197,
0.006392807,
-0.09857975,
-0.009585702,
-0.061864965,
0.03432888,
-0.031774566,
-0.030343026,
0.06613152,
0.04794254,
-0.023634437,
0.012189139,
-0.013704887,
-0.040644497,
0.0046419776,
-0.04754957,
-0.00027389597,
-0.00778926,
-0.06719815,
-0.030988622,
0.023985306,
-0.0021841505,
0.043647923,
-0.070791036,
-0.06310002,
0.014722402,
0.03769721,
0.02384496,
0.020827498,
-0.02378882,
0.0005166525,
0.038286667,
0.021795891,
0.01698199,
-0.0053752908,
-0.0070419116,
-0.010210246,
-0.010350592,
-0.0584405,
0.009690962,
0.009017296,
0.031437732,
-0.024588797,
-0.02561333,
0.05074948,
0.01377506,
-0.008168196,
0.03452537,
-0.028307993,
-0.027325565,
-0.0410094,
0.049261805,
-0.0059261527,
-0.029809708,
-0.031409662,
0.02540281,
0.054061674,
-0.021416955,
0.00067761296,
0.05799139,
-0.007578739,
0.047381155,
-0.016911816,
-0.00036205145,
-0.031746496,
-0.029865846,
0.012701405,
-0.013620678,
-0.023423918,
-0.010287437,
-0.03424467,
0.019466132,
-0.01462416,
0.021571336,
0.024167757,
0.020841533,
-0.002150818,
0.056279156,
-0.029921984,
0.003785861,
0.0410094,
0.12305627,
0.006031413,
0.01901702,
-0.032279816,
0.009845343,
0.03020268,
0.008020832,
-0.07494531,
0.0045682956,
0.011045311,
0.024139687,
0.02116433,
-0.014350483,
0.007557687,
0.016799537,
0.019466132,
0.011578629,
-0.044040896,
0.0074243573,
0.02919218,
-0.030258818,
0.0017534606,
-0.049682844,
-0.0059507135,
-0.0053893253,
-0.020069623,
0.04802675,
-0.0017683725,
-0.055184446,
-0.0032385075,
0.00664894,
0.025318602,
0.008554151,
0.009424303,
0.018455634,
-0.0074875136,
0.004891094,
-0.015424137,
-0.035648145,
0.019915242,
-0.022469558,
-0.031802636,
0.084376626,
0.04089712,
-0.022034481,
0.002935007,
-0.017838106,
-0.012532989,
0.023873027,
-0.0025595787,
-0.04328302,
0.00048551298,
0.025206326,
-0.030876344,
-0.027746607,
-0.03946558,
0.016406566,
0.021234505,
0.0142873265,
0.009929552,
0.016378498,
-0.05984397,
0.019718757,
-0.024546694,
0.07051034,
-0.04485491,
-0.04384441,
-0.0068734954,
-0.028967625,
-0.020153832,
0.009831308,
0.0055401986,
0.0075226002,
0.07129629,
-0.014764506,
0.030735997,
0.038904194,
0.0028753595,
0.015452207,
-0.026441379,
-0.0053998516,
0.0019297715,
0.028799208,
0.011529508,
-0.011718976,
0.012069844,
-0.003184123,
-0.043535646,
0.021445025,
0.025444916,
0.06203338,
-0.016167976,
0.011410213,
-0.0297255,
-0.04328302,
-0.007199802,
0.016434636,
-0.03213947,
-0.042721633,
0.015466241,
0.037416514,
-0.0263291,
0.03331838,
0.0075155827,
-0.03994276,
0.013620678,
0.05226523,
-0.021023983,
0.025936129,
0.011775115,
0.008069954,
-0.016939886,
0.009248869,
0.012532989,
0.0071647153,
-0.04283391,
0.024462486,
0.013711904,
-0.027634328,
0.0150452005,
-0.016869713,
0.064671904,
0.013817164,
0.03059565,
-0.033599075,
-0.033683285,
0.057598416,
0.06135972,
0.050552998,
0.014904854,
0.02408355,
0.038455084,
0.053893257,
-0.032756995,
0.013045255,
0.0714647,
0.019395959,
0.016757434,
-0.00001792714,
0.006912091,
0.015115374,
-0.010666373,
0.011410213,
-0.0029525505,
0.0070419116,
-0.015269755,
0.020364353,
-0.02519229,
-0.05077755,
-0.05327573,
0.06214566,
0.021543268,
0.0048349546,
-0.03626567,
-0.025725609,
-0.003475343,
0.046370655,
-0.0077120685,
-0.0029595678,
0.028799208,
0.008708533,
-0.012287381,
-0.0035683229,
0.038960334,
0.008161179,
0.0058735227,
0.037079684,
0.020224005,
-0.053949393,
0.0071120854,
-0.011052328,
-0.011648803,
-0.016139908,
-0.024280034,
-0.00029143936,
0.017908279,
-0.028560618,
-0.028939556,
-0.018890709,
0.05703703,
0.024743179,
-0.016153943,
0.024111617,
-0.00026841369,
0.016336393,
-0.03910068,
-0.024560729,
-0.045360155,
-0.00009265096,
-0.029332528,
-0.016420601,
0.0018841587,
-0.009557632,
0.024013376,
0.0413743,
0.011347056,
-0.031297386,
-0.03393591,
0.018287217,
-0.062763184,
-0.0033069267,
-0.0033665742,
0.0188065,
-0.021178365,
0.014525916,
0.0064033326,
-0.041683067,
0.04387248,
0.051395077,
0.0067401654,
0.003922699,
0.006368246,
-0.0072278716,
-0.042047966,
0.00582791,
0.010055864,
-0.00950851,
-0.059114166,
-0.018694224,
-0.014666264,
-0.004887585,
-0.001392067,
-0.0073892707,
0.0130242035,
0.060966745,
0.020392422,
-0.06124744,
0.004771799,
-0.04283391,
-0.03107283,
-0.04342337,
-0.006627888,
0.021585371,
-0.018343356,
-0.00075787393,
-0.049991608,
0.0068910387,
-0.021781858,
0.012097913,
0.011578629,
-0.010041829,
0.036125325,
0.026778212,
-0.03663057,
-0.032223675,
0.027199252,
-0.0632123,
-0.01221019,
-0.025206326,
0.009312024,
-0.02853255,
0.025206326,
0.040251527,
0.016855678,
0.026104545,
0.000828486,
-0.00080129376,
0.041739203,
0.0066208704,
0.021248538,
0.001615745,
-0.020013485,
0.010364627,
-0.0471566,
-0.008462925,
-0.007459444,
0.032644715,
0.044461936,
-0.013725938,
0.0475215,
-0.012848769,
-0.024785284,
-0.004585839,
0.0027543101,
-0.035956908,
0.02966936,
0.028588688,
0.04002697,
0.004484087,
-0.016813572,
0.033655215,
-0.012392642,
0.0060279043,
0.028883416,
-0.004305145,
-0.010364627,
-0.0057682623,
-0.04328302,
-0.009564649,
-0.015213617,
-0.01390839,
0.001620131,
-0.011045311,
0.008182231,
-0.020757325,
0.028153611,
0.038904194,
0.0032700857,
0.0114453,
0.026497517,
-0.030735997,
0.0008368191,
0.020308213,
-0.016617088,
0.026637865,
-0.023325674,
0.0061331647,
0.019704722,
0.055689696,
-0.024630902,
-0.004322688,
-0.031213177,
0.029136041,
0.004845481,
0.008406786,
-0.023592334,
0.030876344,
0.01221019,
0.002363093,
0.02590806,
0.006866478,
-0.019536305,
0.051058244,
0.037276167,
-0.052826617,
0.00024034428,
-0.030399164,
0.0031823686,
0.0046454864,
-0.018904744,
-0.0082103005,
-0.028715,
-0.021711685,
-0.03806211,
-0.00042915487,
0.027915021,
-0.04620224,
-0.006680518,
-0.041346233,
-0.0071612066,
-0.022946738,
-0.01401365,
-0.0013008415,
0.01907316,
-0.004891094,
-0.010294454,
-0.011459334,
-0.0093541285,
-0.018610016,
0.023536196,
-0.072587475,
-0.0167434,
-0.056644056,
0.028799208,
-0.039718207,
0.01083479,
0.0045893476,
0.030960552,
0.00008853924,
-0.017276717,
0.004845481,
0.006533154,
-0.039325234,
-0.015775004,
0.02585192,
0.021052053,
-0.015087305,
0.043058466,
0.008098023,
-0.012680354,
0.00096751726,
0.0043297056,
0.004487596,
-0.00487355,
-0.07309273,
0.008098023,
-0.028546583,
0.00021600284,
0.004985828,
-0.032167535,
0.035592005,
0.00061182526,
-0.003122721,
0.005105123,
-0.058159806,
-0.0014885556,
-0.0031086865,
-0.011768098,
0.0081050405,
0.018708257,
-0.0056068636,
-0.021501163,
-0.03303769,
0.016378498,
-0.007719086,
-0.045556642,
-0.03101669,
0.05274241,
0.043563716,
0.054258157,
-0.057598416,
-0.044658422,
0.010434801,
-0.029753568,
0.0029157093,
0.0134101575,
-0.0029893916,
0.009150626,
0.024785284,
-0.038707707,
-0.003750774,
0.0019490692,
-0.021388886,
-0.016827608,
-0.05218102,
0.0075927735,
-0.012006688,
-0.010294454,
0.02164151,
0.006126147,
-0.050468788,
0.01552238,
0.015494311,
-0.00423848,
0.0008455908,
0.020055588,
-0.017206544,
-0.05554935,
-0.0066454313,
0.028574653,
-0.008308544,
-0.006434911,
-0.009459389,
-0.014666264,
-0.015676763,
0.0069436687,
0.03817439,
-0.08409593,
-0.01997138,
-0.013725938,
-0.023199363,
-0.037781417,
0.0007491022,
0.0024016884,
0.011304952,
0.006624379,
0.049682844,
0.02074329,
-0.032756995,
-0.006554206,
-0.01070146,
0.000332447,
0.036013044,
-0.055689696,
0.004638469,
0.007438392,
0.015382034,
-0.027634328,
0.010904963,
0.045416296,
-0.0010508483,
-0.0155644845,
0.016420601,
-0.041570786,
0.020560838,
-0.062931605,
0.019662617,
0.04041994,
-0.02211869,
0.016701296,
-0.031241247,
-0.004631452,
0.007291028,
0.0047612726,
-0.023746716,
0.0035683229,
-0.00964184,
-0.06927529,
0.050552998,
-0.023409883,
-0.012090895,
-0.00823837,
0.047268875,
0.06439121,
-0.04712853,
0.014217153,
0.07399095,
0.06994896,
0.04625838,
-0.060517635,
0.044574212,
0.03281313,
-0.0117610805,
-0.0022016938,
-0.0045156656,
-0.007298045,
0.000023039389,
0.020434527,
-0.04645486,
-0.017024094,
0.011838271,
-0.00030810558,
-0.0071647153,
0.025178256,
-0.006961212,
-0.046595212,
-0.035058685,
0.02312919,
0.017950384,
0.013045255,
0.023774786,
-0.003406924,
0.03766914,
0.059507135,
-0.024434416,
-0.01070146,
-0.010926016,
0.035563935,
0.033178035,
-0.013101394,
-0.00365604,
0.03402012,
-0.061415855,
-0.019353854,
-0.030483373,
0.03295348,
-0.025557192,
-0.04145851,
-0.021557301,
-0.0040455027,
-0.005340204,
-0.0018613524,
0.0108698765,
-0.007838381,
-0.010322523,
-0.00813311,
-0.024195826,
-0.07618036,
0.04892497,
0.03853929,
-0.03208333,
-0.000043529504,
-0.016041664,
-0.0032349988,
-0.02919218,
-0.01973279,
0.031241247,
0.015746936,
-0.0038525257,
0.014041719,
0.015648693,
0.0724752,
0.03472185,
0.04151465,
-0.000823223,
-0.06961212,
-0.03399205,
0.0009850607,
-0.0037823522,
0.020252075,
0.028069403,
0.011290918,
0.009185713,
-0.0040946244,
0.059619416,
-0.02471511,
-0.07241906,
0.01377506,
-0.051872257,
0.005838436,
0.009438337,
-0.032251745,
0.0035174473,
0.0039297165,
0.00025766835,
-0.040307663,
0.0051402096,
-0.011978618,
-0.038960334,
-0.0321114,
-0.02778871,
0.025318602,
-0.031521942,
-0.017810037,
-0.043451436,
0.0017280227,
0.032420162,
0.013220689,
-0.013199638,
-0.00694016,
-0.0036244618,
0.023718646,
-0.014652229,
-0.0026613304,
0.009150626,
-0.0041051502,
0.059675552,
-0.005266522,
-0.06590696,
0.04148658,
0.0040490115,
0.016182011,
-0.006985773,
-0.04148658,
-0.009704997,
-0.052152954,
-0.011676872,
0.002140292,
0.013066308,
-0.030876344,
-0.03205526,
0.055212516,
-0.054005533,
-0.0011438283,
-0.038819987,
0.008947123,
-0.017796002,
0.030904414,
0.020308213,
0.051675774,
-0.014722402,
0.024883527,
-0.0011148816,
0.037809487,
0.011122501,
0.028855348,
-0.0045788214,
0.0018034593,
-0.008259422,
-0.0033683286,
0.044405796,
0.02166958,
-0.028167646,
0.051451217,
-0.022399385,
0.021809926,
0.015803074,
-0.022301141,
0.02418179,
0.047830265,
0.027086975,
-0.043928616,
-0.01788021,
-0.030399164,
-0.016617088,
0.013606643,
-0.06551399,
-0.02322743,
0.018062662,
-0.016280254,
0.018750362,
-0.02074329,
-0.057121236,
-0.035984974,
-0.012273347,
-0.00858222,
0.011241796,
0.022259038,
0.00029341297,
0.022006413,
-0.037921764,
0.0054559903,
0.04754957,
0.04190762,
-0.01650481,
-0.032897342,
0.026272962,
0.06040536,
0.006719114,
-0.013052273,
-0.025978234,
-0.02145906,
-0.03067986,
0.05321959,
-0.026399275,
0.004796359,
-0.033262245,
-0.0044244397,
-0.019129299,
0.028350098,
-0.048279375,
0.004778816,
0.00505951,
0.0036349879,
-0.0069226166,
-0.0037577914,
0.005982292,
-0.00802785,
0.0050524925,
0.018315285,
0.017753897,
0.006617362,
0.00048332004,
-0.0021946765,
0.03472185,
0.014048737,
0.02465897,
-0.0025122117,
0.04665135,
0.013347002,
-0.014539951,
-0.03155001,
0.017781967,
-0.0028578162,
0.023016911,
0.04892497,
-0.030090401,
-0.012455798,
0.0083717,
0.013262793,
0.01931175,
-0.014568021,
0.0022508153,
-0.030399164,
-0.017234614,
0.027915021,
0.031297386,
-0.027830813,
0.054258157,
-0.055212516,
0.06848934,
0.03006233,
0.0130382385,
-0.02405548,
0.009964638,
0.0321114,
-0.026497517,
0.00075348804,
0.021332746,
0.053584494,
-0.014069789,
0.0114453,
-0.010511992,
0.017655656,
-0.02444845,
-0.09173081,
-0.08061533,
0.010848825,
0.008813793,
-0.007262958,
0.022525696,
-0.011192675,
0.03663057,
-0.06854548,
-0.008006797,
-0.064728044,
0.0018069679,
-0.005105123,
0.018469667,
-0.011873358,
0.037416514,
0.00892607,
0.023059016,
0.023115154,
0.03764107,
0.028181681,
0.028827278,
-0.015718866,
0.012125983,
-0.0070138425,
0.015536415,
-0.039746277,
-0.014497847,
0.011354074,
0.05178805,
0.020153832,
-0.023409883,
-0.0694437,
0.021866066,
-0.01533993,
0.0059296614,
-0.006364737,
0.0105962,
-0.00081927574,
-0.041121677,
-0.0014841697,
0.088306345,
0.031241247,
0.00593317,
0.015171513,
0.018708257,
-0.059563275,
0.011101449,
-0.04763378,
0.05599846,
0.009424303,
-0.035451658,
0.030343026,
-0.025051942,
-0.0018631067,
-0.02349409,
-0.038398944,
0.015620624,
0.02116433,
0.024883527,
0.04987933,
0.024350207,
-0.017810037,
-0.038904194,
0.01533993,
0.017894246,
0.007676982,
0.10829176,
0.054707266,
-0.024392312,
-0.04286198,
-0.03205526,
-0.027802745,
0.013585592,
0.0036630572,
0.020153832,
-0.01483468,
-0.008954139,
-0.043956686,
0.020490665,
-0.009361146,
-0.004434966,
0.02405548,
-0.001999945,
-0.017388996,
-0.07404709,
-0.031213177,
-0.040812913,
0.041177817,
-0.032700855,
-0.0522933,
0.020252075,
-0.04103747,
0.23129189,
0.032335952,
0.041205887,
0.007048929,
0.025388775,
0.051395077,
0.013655765,
-0.008287491,
0.0097400835,
-0.024069514,
-0.009241851,
-0.03115704,
-0.008455908,
0.07118401,
-0.042019896,
0.026301032,
-0.047325015,
-0.00940325,
-0.02513615,
-0.038904194,
-0.049093388,
0.04712853,
0.0140347015,
0.056812473,
0.03020268,
-0.019227542,
-0.035956908,
-0.053584494,
0.035900768,
-0.05990011,
0.04740922,
-0.011754063,
0.043704063,
0.0030420218,
0.046118032,
0.012083879,
-0.03256051,
0.0029929,
-0.047072392,
0.008455908,
0.011340039,
-0.005017406,
-0.03766914,
-0.021262573,
-0.037837557,
-0.015606589,
-0.026497517,
0.017417066,
0.041626927,
-0.048279375,
0.051030178,
-0.05232137,
0.029557083,
-0.027858883,
-0.07326114,
0.026230859,
-0.008189249,
-0.05316345,
-0.04291812,
0.022960773,
0.041346233,
0.013599626,
0.035844628,
0.03480606,
0.028616758,
0.013676817,
-0.035928838,
0.04533209,
-0.015746936,
0.0008333104,
0.0043542664,
0.027592223,
-0.007796277,
-0.022427455,
0.00868748,
0.0205047,
-0.00012664126,
0.020041555,
0.041795343,
-0.029444804,
0.029641291,
-0.013080343,
0.00826644,
-0.05888961,
0.03722003,
0.04892497,
-0.02286253,
-0.019480167,
0.0053577474,
0.0130242035,
0.005266522,
0.04721274,
0.005848962,
0.0127715785,
0.03056758
] | For example, to set your main code and modules to use the same log level according to each node:
logger = logging.getLogger(name)
logging.basicConfig(
format="%(asctime)s - %(levelname)s - %(name)s - %(message)s",
datefmt="%m/%d/%Y %H:%M:%S",
handlers=[logging.StreamHandler(sys.stdout)],
)
log_level = training_args.get_process_log_level()
logger.setLevel(log_level)
datasets.utils.logging.set_verbosity(log_level)
transformers.utils.logging.set_verbosity(log_level)
trainer = Trainer() |
[
0.035091415,
-0.0064320695,
-0.017505,
0.00006397933,
0.033897277,
-0.04999102,
-0.0014383952,
0.029853486,
0.031834673,
0.07799902,
-0.01564594,
-0.026257498,
0.03378872,
0.0026562817,
-0.014085418,
-0.014343243,
-0.028686486,
-0.022607232,
-0.03544423,
-0.012497755,
0.03897237,
-0.0064727785,
-0.08044158,
-0.036312696,
-0.07164837,
0.039026648,
-0.019567603,
0.025633289,
0.123973384,
0.05123944,
-0.033897277,
0.0014875856,
-0.014872464,
-0.06383218,
-0.0033042382,
-0.0030124881,
0.025171917,
-0.007565145,
-0.039895114,
-0.07783618,
0.037371136,
0.022960044,
0.08624943,
-0.05351916,
-0.03886381,
0.022430824,
-0.0032245158,
0.026542462,
0.02844223,
-0.0096209645,
0.011500377,
0.02681386,
0.03728972,
-0.0022559736,
-0.01746429,
0.0029378545,
-0.017871382,
0.02608109,
-0.014899604,
-0.017097905,
0.035769906,
-0.032241765,
0.032296043,
-0.047494184,
0.033435903,
-0.007741552,
-0.016188731,
0.006764529,
-0.006733997,
-0.009023895,
-0.00868465,
0.039108068,
-0.010591202,
-0.04179488,
-0.024629125,
0.0113918185,
0.013739388,
-0.021426661,
-0.03324593,
0.02674601,
0.013481563,
0.01979829,
0.031020487,
-0.008080796,
-0.019472614,
-0.027777312,
0.003494215,
-0.01275558,
0.015564522,
-0.01624301,
-0.017898522,
0.007829756,
-0.00065728556,
0.0077211973,
0.015360976,
0.016337998,
-0.010882952,
0.06410357,
-0.01854987,
0.013827592,
0.057047296,
0.061281066,
-0.0020609084,
0.039705135,
-0.039216626,
0.000025761354,
0.07333102,
-0.012131372,
-0.05986981,
-0.035579927,
0.003517962,
0.03899951,
0.026474614,
0.009675244,
-0.017735684,
0.024222033,
0.0022305304,
-0.010625127,
-0.04936681,
0.015008162,
0.054957554,
0.004118424,
-0.0038063196,
-0.075773574,
-0.022132289,
0.00094818743,
-0.015401685,
0.03134616,
-0.022824347,
-0.02561972,
0.003217731,
-0.028740766,
0.01450608,
0.0066729328,
0.032296043,
0.0014570537,
-0.024181323,
0.021589499,
0.04825409,
-0.060901113,
0.037886787,
-0.03074909,
0.0022949867,
0.09781088,
0.028089417,
-0.0060249763,
0.0068459474,
-0.009661674,
-0.05061523,
0.03199751,
0.010910092,
-0.0058485693,
-0.017694976,
0.005828215,
0.015930906,
-0.003972549,
-0.022851488,
0.0272888,
0.025158348,
0.008413255,
0.04714137,
0.05281353,
-0.032024648,
0.01688079,
-0.015388115,
0.063017994,
-0.018441312,
-0.064049296,
-0.01397686,
-0.009451343,
0.019608313,
0.022919336,
-0.039650857,
0.0016699294,
0.046110068,
-0.011595366,
0.0535463,
-0.04478023,
0.007449802,
0.018726278,
-0.02373352,
0.021670917,
0.03655695,
0.021358812,
0.025280476,
-0.01975758,
-0.02963637,
-0.0006437158,
-0.057264414,
-0.019920418,
-0.008854273,
0.04516018,
-0.025294045,
0.026840998,
-0.02613537,
-0.03886381,
-0.027478777,
0.0026053952,
-0.009186732,
-0.03650267,
0.016622964,
0.034630045,
-0.04073644,
0.022403684,
0.004240552,
-0.015618801,
0.0041150316,
0.058295716,
-0.042907603,
-0.0035586713,
0.02034108,
-0.0017691583,
-0.028822184,
-0.003041324,
0.0018030828,
0.009329215,
-0.019269068,
0.028659347,
0.02316359,
0.0032889722,
-0.0061199646,
-0.017586417,
0.06166102,
0.007673703,
0.0055262875,
-0.0360413,
-0.036366973,
-0.009329215,
0.029364975,
0.053763416,
-0.02091101,
0.019554034,
0.03658409,
0.042636205,
0.025131207,
0.02673244,
0.07316818,
0.0032821873,
-0.00044144146,
0.020734603,
0.0034009228,
0.0041286014,
-0.034331508,
-0.009661674,
-0.030667672,
-0.0173693,
-0.0041048545,
0.029527811,
-0.021385953,
0.0033551247,
-0.04117067,
0.090808876,
0.025144776,
-0.000222841,
-0.06361507,
-0.020354649,
-0.0059944442,
0.06964004,
-0.07512223,
0.009566685,
-0.013746173,
0.03728972,
-0.010686191,
-0.016324429,
0.028930742,
0.020843161,
0.030070603,
0.025239766,
0.01453322,
-0.034032974,
-0.025239766,
-0.0055398573,
-0.0026376233,
-0.01390901,
-0.007402308,
0.023706382,
0.04472595,
-0.015401685,
-0.001375635,
-0.029989183,
0.0360413,
-0.0014239773,
-0.0065168804,
0.023190731,
0.009173162,
-0.00815543,
-0.04768416,
0.011859976,
-0.05862139,
-0.000041530908,
-0.032784555,
-0.009193516,
0.01857701,
-0.038239602,
0.028985022,
-0.0096209645,
-0.006170851,
-0.03484716,
-0.020463208,
0.00052837277,
-0.038239602,
0.005285424,
-0.021860894,
-0.00018308584,
-0.05110374,
0.041062113,
0.04060074,
-0.040410765,
0.017586417,
0.04890544,
0.01186676,
-0.004562834,
-0.01918765,
0.042229112,
-0.0372083,
0.020748174,
0.020273231,
0.004569619,
-0.020612475,
-0.024914091,
-0.008528599,
-0.011873546,
-0.009227442,
-0.034412928,
-0.006065686,
0.040899277,
0.043206137,
-0.08049586,
0.012775935,
-0.060304042,
-0.002712257,
-0.01684008,
0.001743715,
0.032648858,
0.0063438658,
0.03587846,
-0.047711298,
-0.029772067,
-0.06524344,
0.041577764,
0.0053125634,
-0.002942943,
0.009213871,
0.0009914411,
-0.027980858,
-0.010971156,
0.0545776,
-0.015374545,
0.007015569,
0.015537383,
0.0001865843,
-0.020666754,
0.04108925,
-0.0009354658,
0.02551116,
0.057915762,
-0.019920418,
0.0046951394,
0.034602903,
-0.005261677,
0.0040709297,
0.0016080174,
-0.0024578238,
0.037886787,
-0.017722115,
-0.041984856,
0.017830674,
0.010211249,
0.07295106,
0.025443312,
0.036801208,
0.009220656,
-0.0011432528,
-0.015754499,
-0.021304533,
-0.040519323,
-0.014777476,
0.018848406,
0.050018158,
-0.0018946787,
-0.0335716,
0.04361323,
0.01218565,
0.048036974,
0.030152021,
-0.009831295,
-0.01689436,
-0.0025714708,
-0.027709464,
-0.00929529,
-0.0072259004,
-0.019336917,
0.011486807,
-0.0043592877,
0.0056144907,
-0.025348324,
0.036421254,
0.028767904,
-0.028197974,
-0.027003836,
0.04632718,
0.013128749,
0.02673244,
-0.0016928284,
0.016446557,
0.035824183,
-0.043206137,
-0.02036822,
0.013155889,
0.017057197,
-0.046679996,
0.00031761735,
0.0012619883,
0.027166672,
0.030450556,
0.0006178484,
-0.03427723,
0.0022780246,
0.011982104,
-0.0061504967,
0.029093578,
-0.0024883559,
0.0120499525,
0.048959717,
0.031726114,
-0.05476758,
0.010625127,
-0.02209158,
0.05531037,
0.028116556,
-0.05455046,
-0.041333508,
-0.03878239,
-0.014153266,
-0.063180834,
0.010781179,
0.04936681,
-0.045431577,
0.0055262875,
-0.055038974,
-0.005767151,
0.02838795,
-0.018753417,
-0.00725304,
-0.025891114,
0.013339081,
0.004678177,
-0.024520569,
0.019988267,
-0.0138615165,
0.017762825,
-0.017952802,
-0.030939067,
-0.05590744,
0.0048986855,
-0.020354649,
0.04882402,
0.011249336,
0.0030701596,
-0.030586254,
0.0324046,
0.013142318,
0.032757416,
-0.043097578,
-0.0055398573,
0.03614986,
0.034060113,
-0.049611066,
0.032458883,
0.030504836,
-0.016405847,
0.037588254,
0.008012947,
-0.02792658,
-0.009668458,
-0.039053787,
0.016473696,
0.002327215,
-0.022607232,
0.016337998,
-0.018115638,
0.049611066,
0.038836673,
-0.012993052,
-0.011961749,
-0.07447088,
-0.004118424,
0.004332148,
-0.022987185,
-0.016432988,
0.0017403226,
0.04586581,
0.00961418,
0.005929988,
-0.026053952,
0.022186568,
-0.00843361,
-0.023597823,
0.026243929,
0.058078602,
0.022539383,
-0.0009049338,
-0.03026058,
0.003326289,
-0.032567438,
0.00054109446,
-0.03026058,
0.027410928,
0.040953554,
0.024588417,
-0.039379463,
-0.014180406,
0.010095906,
-0.02969065,
-0.0075244354,
-0.028197974,
0.008223278,
0.0051429416,
-0.018061358,
-0.015184568,
0.023489267,
-0.04013937,
-0.024439149,
0.017586417,
-0.035579927,
-0.009105314,
0.017233603,
-0.006706857,
-0.015835917,
0.003026058,
-0.008291127,
-0.013888656,
-0.0075176507,
0.023109313,
-0.031536136,
-0.019893277,
0.040437903,
0.061823856,
-0.062638044,
0.028360812,
-0.03302881,
0.017884953,
-0.02732951,
-0.019730441,
0.0057501886,
-0.03026058,
-0.03536281,
0.04586581,
0.004254122,
-0.024656266,
0.011697139,
-0.015211708,
0.03536281,
0.03074909,
-0.04241909,
-0.0009643015,
-0.042093415,
0.014953882,
-0.028170835,
0.019947557,
0.034684323,
-0.010699761,
-0.023543544,
-0.002403545,
-0.052596416,
0.00038991877,
-0.039243765,
0.0072394703,
-0.0014036227,
-0.017274313,
0.03194323,
-0.03880953,
-0.016188731,
0.020259662,
0.028225115,
-0.020436069,
0.0055398573,
-0.017192895,
-0.037615392,
0.039705135,
-0.016012324,
-0.024384871,
-0.00081588223,
0.0030464125,
0.03316451,
-0.042310532,
-0.0016996133,
0.060466878,
-0.0048410143,
0.009010325,
-0.070454225,
0.030640533,
-0.0018454882,
-0.00094733934,
-0.042799044,
0.018997673,
-0.037561115,
-0.029310696,
0.037561115,
-0.026026811,
-0.010509784,
-0.024344161,
0.014913173,
0.007042709,
0.041659184,
0.0006326904,
-0.039162345,
-0.027600905,
0.024805533,
0.0054652235,
0.028116556,
0.010747255,
0.008067226,
0.020137534,
0.042310532,
0.005692517,
0.039135206,
-0.033083092,
0.03199751,
0.024561277,
-0.031590417,
-0.0022186567,
0.052542135,
-0.058078602,
-0.07322246,
-0.037886787,
-0.00019061282,
0.018699137,
-0.03547137,
-0.0063845753,
-0.03541709,
-0.031508997,
0.024805533,
-0.009831295,
0.01307447,
0.03595988,
0.00046688478,
-0.0063710054,
-0.07642493,
0.013895441,
0.06486348,
-0.02846937,
0.017586417,
-0.034684323,
0.007076633,
-0.017559277,
-0.0043219705,
0.023597823,
0.00087609806,
0.01103222,
0.02380137,
0.04581153,
0.083372645,
0.021765905,
0.03077623,
-0.020259662,
-0.008250418,
-0.016066603,
-0.018373463,
0.00031316475,
0.02969065,
0.017233603,
0.007565145,
0.017206464,
0.008168999,
0.008664296,
-0.0535463,
-0.06942292,
0.007938313,
-0.03541709,
-0.0026461044,
-0.010245173,
-0.015415255,
0.0035993806,
-0.034982856,
-0.01977115,
-0.029256416,
-0.003894523,
0.010808319,
-0.03134616,
-0.0071580517,
-0.047792718,
0.018387033,
-0.042093415,
-0.008820348,
-0.0790846,
-0.022444393,
0.035688486,
-0.0049495725,
-0.028143696,
-0.0013298371,
-0.017708546,
0.023638533,
-0.026474614,
-0.024330592,
-0.0017895129,
-0.047819857,
0.027397359,
-0.0043966044,
-0.07599069,
0.025076928,
0.015890196,
0.01793923,
0.021508079,
-0.03962372,
0.0036400899,
-0.035824183,
-0.008297912,
0.020707464,
0.0037825725,
-0.029826347,
-0.014275394,
0.060466878,
-0.025076928,
-0.028170835,
-0.029392114,
-0.012124586,
0.0055703893,
0.017477859,
-0.0057807206,
0.04765702,
0.0028801828,
0.04369465,
0.0027393966,
0.052650694,
-0.00022877778,
0.07018283,
-0.006591514,
-0.0059808744,
-0.02266151,
0.016446557,
0.044481695,
0.038510997,
-0.035579927,
0.051375136,
-0.014003999,
0.031129044,
0.0028886641,
-0.033354487,
-0.0012611402,
0.03311023,
0.0035620637,
0.043124717,
0.0021558967,
-0.013189813,
-0.049312532,
-0.009369924,
-0.074687995,
-0.027424498,
-0.008311482,
-0.021114556,
0.03829388,
-0.020734603,
-0.05463188,
0.010102691,
-0.033408765,
-0.029229278,
-0.009763447,
0.009627749,
-0.015903767,
0.06839162,
-0.035308532,
0.026935987,
0.016555116,
-0.0022627586,
-0.032784555,
-0.010523354,
0.0026308384,
0.03541709,
-0.0054041594,
0.039976534,
-0.03891809,
-0.02442558,
-0.00985165,
-0.012368842,
-0.03712688,
0.012653807,
-0.036204137,
0.022390114,
-0.0013620653,
-0.0094988365,
-0.04298902,
0.007917958,
-0.0037893574,
-0.009770232,
-0.023747092,
-0.03129188,
-0.0011585188,
-0.023394277,
0.02377423,
0.054876134,
0.0063269036,
-0.02781802,
0.016582254,
-0.0020066292,
0.009179947,
-0.0088407025,
0.0031261349,
0.0069612903,
0.02566043,
-0.014085418,
-0.015550952,
-0.025063358,
0.04659858,
-0.011642859,
0.013590121,
0.0033941378,
-0.029202137,
0.0075854994,
0.02781802,
0.0056585926,
-0.037398275,
-0.01340693,
-0.0028767905,
-0.020829592,
0.0073480285,
0.051510833,
-0.029392114,
-0.040790718,
0.004216805,
-0.05395339,
0.055961717,
0.033625882,
0.01564594,
0.00025294893,
0.02666459,
0.020476777,
-0.018916255,
0.013739388,
0.013298371,
0.06252948,
-0.04695139,
0.011052575,
-0.029609231,
0.001029606,
-0.021657348,
-0.070997015,
-0.046707135,
-0.0074090925,
-0.035607066,
-0.021155266,
0.01856344,
-0.05270497,
0.043233275,
-0.057047296,
-0.010299453,
-0.0497739,
-0.010665837,
0.0037791799,
0.017749254,
0.017315023,
0.04255479,
0.039189484,
0.032865975,
0.035281394,
0.026637452,
0.030043462,
-0.02146737,
0.03425009,
0.011215412,
-0.03661123,
-0.013176243,
-0.02795372,
-0.018929824,
0.014234685,
0.03598702,
0.009173162,
0.008521813,
-0.08733502,
0.016989348,
0.008386116,
0.016663672,
-0.041550625,
0.033191647,
0.0030430201,
-0.07213688,
0.018454883,
0.08190711,
0.018373463,
0.021752335,
-0.031319022,
0.010828674,
-0.007151267,
0.021670917,
-0.022973614,
-0.00034899742,
0.019092662,
-0.028089417,
0.015374545,
-0.059218463,
0.043884624,
-0.0071716215,
-0.041333508,
0.035797045,
0.008230063,
0.02559258,
0.034657184,
0.03148186,
-0.04190344,
-0.013854732,
-0.013176243,
0.027193813,
-0.0063811825,
0.07088846,
0.0031329198,
-0.0058519617,
-0.035797045,
-0.0029090187,
0.007029139,
-0.012979481,
0.0049292175,
0.023638533,
-0.025850406,
-0.03270314,
-0.009213871,
0.05227074,
0.01739644,
0.017002918,
0.007375168,
0.011710708,
-0.01966259,
-0.07143125,
-0.02723452,
-0.022267986,
0.036177,
0.009892359,
-0.012728441,
0.01802065,
-0.042120554,
0.21288249,
0.032865975,
0.029256416,
0.0069952146,
0.030070603,
0.0325403,
0.017708546,
-0.0012543553,
-0.0070223543,
-0.01621587,
-0.005268462,
0.007402308,
-0.0030922105,
0.058349997,
-0.02849651,
0.0302063,
-0.05235216,
0.010659051,
0.007897604,
-0.037343998,
-0.039867975,
0.033273067,
0.02442558,
0.042283393,
0.0089628305,
0.00348743,
0.030477695,
-0.02844223,
-0.015917337,
-0.036936905,
0.03639411,
-0.031101905,
0.039026648,
-0.0055500343,
-0.011887115,
0.020585336,
0.006201383,
-0.031210463,
-0.0027309156,
-0.005414337,
-0.00077347667,
-0.014302534,
-0.040437903,
-0.024208464,
-0.038239602,
-0.008562523,
0.004288046,
0.049475368,
0.020056115,
-0.063180834,
0.041034974,
-0.048606902,
0.0337073,
-0.035064276,
-0.07088846,
-0.00785011,
-0.01105936,
-0.036936905,
-0.016446557,
0.008691436,
0.054848995,
-0.0008803386,
0.006737389,
0.035145696,
-0.0044814153,
0.03438579,
-0.016772231,
0.03199751,
0.00021075543,
-0.012416337,
-0.00109067,
-0.002412026,
-0.024086336,
-0.0545776,
-0.0018370071,
0.014886034,
0.018061358,
0.007137697,
0.029853486,
-0.04171346,
-0.020422498,
-0.016080173,
0.011561441,
-0.04578439,
0.05579888,
0.04925825,
-0.029174998,
-0.026922416,
-0.021983022,
0.02901216,
0.036258414,
0.07039995,
0.012830215,
0.051429413,
0.024656266
] | Use different combinations of log_level and log_level_replica to configure what gets logged on each of the nodes.
my_app.py --log_level warning --log_level_replica error
Add the log_on_each_node 0 parameter for multi-node environments.
```bash
my_app.py --log_level warning --log_level_replica error --log_on_each_node 0
set to only report errors
my_app.py --log_level error --log_level_replica error --log_on_each_node 0 |
[
0.0056810463,
0.03621713,
-0.044976488,
0.010034918,
-0.048043735,
-0.008221112,
-0.026720457,
-0.010654266,
-0.031822708,
0.0222523,
0.019081827,
0.020792408,
0.042145178,
-0.022620961,
0.013323362,
0.04884004,
-0.038045682,
-0.044121195,
-0.030554518,
-0.006396246,
-0.01645697,
-0.016692912,
-0.028519517,
-0.024847666,
-0.063350484,
-0.027502015,
-0.03739684,
-0.012836731,
0.026853174,
0.025452267,
-0.011096657,
0.0030709354,
0.008722489,
-0.030672489,
0.002704119,
-0.014060682,
-0.011974067,
0.0034764612,
-0.04822069,
-0.029345313,
0.030967416,
-0.009135388,
-0.0029695542,
-0.048692577,
-0.065650925,
0.0066690543,
0.0021197933,
-0.0089215655,
-0.043649312,
0.006064452,
-0.008228485,
0.04385576,
0.011192509,
-0.038281627,
-0.024729693,
0.009909573,
-0.007325269,
-0.052526638,
-0.034771986,
0.018432986,
-0.0041879746,
0.028445784,
0.010145515,
-0.023373026,
0.0030654056,
-0.012276369,
-0.01731226,
-0.007542778,
-0.05618374,
0.012563923,
-0.03376923,
0.016751898,
-0.0023354592,
-0.03111488,
-0.025702955,
0.0559478,
-0.0008571338,
0.012379593,
0.01006441,
0.020556467,
0.027664226,
0.03580423,
0.0033142508,
-0.0009640452,
-0.01345608,
-0.051051997,
0.011435824,
0.0043575577,
-0.07178542,
-0.0222523,
-0.044416122,
0.042086195,
-0.027251327,
0.0050948774,
0.013839486,
0.0066063823,
-0.0030875253,
0.028755458,
0.018020088,
-0.031026402,
0.06358643,
0.03907793,
-0.012173144,
0.024021868,
-0.060873095,
0.030466039,
0.015085556,
0.028652234,
-0.031380314,
-0.013198018,
-0.0169436,
0.016633926,
0.004482902,
0.00070183596,
-0.022473497,
0.010536294,
-0.028799698,
-0.04385576,
-0.048574604,
-0.0008921565,
-0.00794093,
-0.024877157,
-0.003881987,
-0.02180991,
0.016014578,
-0.036010683,
0.0020202552,
0.027413538,
-0.033621766,
0.00009844366,
-0.0141860265,
0.03261901,
0.003948346,
0.024139838,
-0.002438684,
-0.016162042,
-0.009865334,
0.023417266,
-0.004796263,
-0.033592273,
0.039962713,
0.007889318,
0.020585958,
0.07703514,
-0.009334465,
-0.038075175,
-0.0003592128,
-0.015704904,
-0.046569098,
-0.006458918,
-0.059634395,
-0.0042875125,
-0.008648757,
0.012453325,
-0.01094182,
-0.017784145,
-0.026160093,
0.03421162,
0.031380314,
0.012667148,
-0.016427478,
0.013205391,
-0.031055896,
0.048486125,
0.0040958095,
0.02388915,
-0.033946186,
-0.062347732,
0.04128989,
-0.042764526,
0.0153657375,
0.028268827,
-0.004722531,
-0.009688377,
0.050698087,
-0.008781475,
0.037750755,
0.016958347,
0.02760524,
-0.0064515453,
0.008670877,
0.008884699,
0.010654266,
0.0017990594,
-0.016294759,
0.01804958,
0.035420828,
-0.0044312896,
-0.036806986,
0.030348068,
0.016560195,
0.0145694325,
-0.049518373,
0.006672741,
-0.01345608,
-0.01010865,
-0.050344173,
0.02197212,
0.037957206,
-0.042528585,
0.0014469894,
0.036276117,
-0.050727576,
0.0056552403,
0.039372858,
0.010189755,
-0.005397178,
0.057599396,
0.020099329,
0.029094625,
0.01412704,
0.036865972,
0.0021068903,
0.021308532,
0.025511254,
0.00849392,
-0.025393281,
0.008987924,
0.025997883,
0.018727913,
0.028784951,
-0.007837705,
0.038635537,
0.04639214,
0.028401544,
-0.048250183,
0.009681004,
0.03229459,
0.01327175,
0.017798891,
-0.0077492273,
0.03303191,
0.014488327,
0.033828218,
-0.041437354,
0.003129921,
0.029301075,
0.0071519986,
0.02054172,
0.0198044,
-0.0038008818,
0.0025714017,
0.04361982,
0.035214376,
-0.0075722705,
-0.02298962,
-0.021795163,
0.008648757,
-0.083582535,
0.027398791,
-0.047188446,
0.029153612,
0.010927075,
-0.02670571,
-0.047630835,
0.01804958,
0.0069049965,
0.0053345063,
-0.03574525,
0.026145348,
0.020394256,
0.00088478334,
-0.009474555,
0.0072257305,
0.030023647,
0.050255693,
0.027280819,
0.054001275,
0.00937133,
-0.045330398,
-0.029271582,
-0.04090648,
-0.038458582,
-0.01571965,
-0.022724185,
-0.023653207,
0.050019752,
-0.024228318,
0.0031723168,
-0.006967669,
-0.0059538544,
0.04353134,
0.0036460445,
0.034329593,
0.015778637,
0.04353134,
-0.037101913,
0.0051022507,
-0.023549983,
0.015999831,
-0.03589271,
-0.04479953,
0.0065105306,
-0.010020171,
0.04034612,
0.013448707,
0.037101913,
-0.03421162,
-0.042233657,
0.017503964,
0.0016285543,
-0.010698505,
0.011177762,
0.035774738,
-0.014222892,
0.01237222,
0.028401544,
-0.0152625125,
0.038724016,
0.025304804,
0.0007225731,
0.033061404,
-0.0035022674,
0.04108344,
-0.051523883,
0.003974152,
0.030495532,
-0.051789317,
-0.054974537,
-0.06895412,
0.0070930133,
0.027575748,
-0.014385102,
-0.0645302,
-0.00777872,
0.05246765,
-0.026042122,
-0.05818925,
0.004044197,
-0.042145178,
-0.045389384,
-0.026956398,
-0.02638129,
0.010175008,
-0.0023336161,
0.02185415,
-0.06742049,
0.015078182,
0.0265435,
0.0025068861,
-0.03194068,
-0.017769398,
0.08134108,
0.03724938,
0.024287302,
0.004302259,
0.029654987,
-0.007660749,
-0.004291199,
0.023948135,
-0.00046865866,
-0.015793383,
0.027634732,
-0.011981441,
-0.0012727977,
0.045477863,
-0.0021492862,
0.012254249,
0.047394894,
0.019981356,
-0.0023428325,
-0.0017151893,
0.019612698,
-0.035538796,
-0.018344508,
-0.017017333,
-0.016678166,
0.035627276,
0.019244038,
-0.07078267,
0.034329593,
-0.026440276,
-0.040641047,
0.0153657375,
0.010845969,
-0.02388915,
0.056419685,
0.0151592875,
0.039667785,
-0.042440105,
-0.037013438,
0.0023391459,
0.028372053,
-0.009828468,
0.034034666,
0.0042985724,
0.026956398,
0.040611554,
-0.013397094,
-0.003974152,
0.022606215,
0.027325058,
0.015424723,
0.016486462,
-0.04565482,
-0.01539523,
0.00066312664,
0.0424696,
0.025850419,
-0.0034672446,
-0.0022008985,
-0.056537654,
-0.027354551,
-0.0053234464,
-0.008169499,
-0.054532144,
-0.044976488,
0.045595836,
0.04108344,
0.0029879871,
0.01707632,
0.022385018,
-0.04152583,
0.018801646,
0.032530535,
-0.021677192,
-0.014783255,
-0.0051280567,
-0.006683801,
-0.00061566173,
0.0033750797,
-0.0759734,
-0.023623714,
0.03801619,
0.045949746,
-0.011929829,
0.0036515745,
-0.022738932,
0.0045898133,
-0.011236749,
-0.02818035,
-0.001787078,
-0.00853816,
-0.016530702,
-0.036040176,
0.024302049,
0.027089117,
-0.0075796437,
-0.043383878,
-0.035066914,
-0.014547313,
0.007129879,
-0.015778637,
-0.013588797,
-0.01886063,
0.010676386,
-0.028224587,
-0.019494725,
0.010167635,
0.009732617,
0.0046930383,
-0.06158092,
0.056419685,
-0.04586127,
-0.0051317434,
-0.039903726,
0.02160346,
0.039638292,
0.03332684,
0.052644607,
-0.039992206,
0.0051428033,
0.03164575,
-0.05765838,
-0.020556467,
0.016058818,
-0.0072736563,
0.006455232,
0.024921397,
-0.0031723168,
0.0116938865,
0.027885422,
-0.0026285439,
-0.033385824,
0.020409003,
-0.025717702,
-0.0048589353,
-0.0027299253,
-0.009319718,
0.040375613,
-0.06877716,
-0.00335296,
-0.013891098,
-0.00030898294,
-0.0047557103,
-0.047306415,
0.004851562,
0.008103141,
-0.057982802,
0.026469767,
0.0040626302,
0.014090175,
0.02658774,
0.011907709,
0.021470742,
0.0054745967,
-0.019907625,
-0.020718677,
0.080456294,
0.04568431,
0.009179627,
-0.0792176,
-0.0012119688,
0.045330398,
-0.04320692,
-0.00047603186,
-0.021898387,
0.0021935254,
0.011325227,
-0.009120641,
-0.018477226,
0.012652402,
-0.03238307,
0.011553796,
0.012460698,
-0.03780974,
-0.0029087253,
-0.011634901,
0.012246876,
0.045949746,
0.0017621935,
-0.04872207,
-0.011347346,
0.021411756,
0.016604435,
0.025054114,
0.027678972,
-0.012298488,
-0.039756265,
-0.04544837,
0.036659524,
0.013566677,
-0.0008082864,
-0.059634395,
-0.028357306,
0.010425697,
0.011937202,
0.020969365,
-0.013168525,
0.024611723,
-0.06051918,
-0.0016755584,
-0.04438663,
-0.009120641,
-0.012010934,
-0.020556467,
-0.03288445,
0.072552234,
0.004117929,
-0.016692912,
0.023122339,
0.032589518,
-0.00941557,
-0.000015970454,
-0.07461673,
-0.037013438,
-0.00007632408,
0.009010044,
-0.012055173,
0.019140813,
-0.017046826,
0.012600789,
-0.017002586,
0.02335828,
0.0014092018,
0.03270749,
-0.02813611,
-0.0076312562,
0.019656936,
-0.044681557,
0.018713167,
-0.067361504,
0.0449175,
0.012873597,
0.060460195,
-0.038783003,
0.029949917,
-0.055593885,
-0.10511226,
0.041171916,
-0.02781169,
-0.010993433,
0.0028497397,
0.010057037,
0.055770844,
-0.03312039,
0.032825463,
0.06105005,
0.02026154,
0.02037951,
-0.03176372,
0.06240672,
0.032235608,
0.014370356,
0.020187806,
0.0063667535,
-0.00865613,
0.008213739,
-0.013094793,
-0.047483373,
-0.014473581,
0.025245817,
0.009835841,
-0.0026137973,
0.04479953,
-0.04025764,
-0.03480148,
-0.06665368,
0.044976488,
0.029212596,
0.02204585,
0.038458582,
0.010425697,
0.030112127,
0.03574525,
0.0049400404,
-0.022694692,
-0.00953354,
0.03415264,
-0.022812663,
-0.019052334,
-0.0026377602,
0.021986866,
-0.025260564,
-0.06158092,
-0.002401818,
0.028209843,
0.0043723043,
-0.02621908,
-0.012475445,
0.026366543,
-0.019789653,
0.009695751,
0.024272555,
-0.016412731,
-0.013301243,
0.032530535,
0.008670877,
-0.07762499,
-0.017592441,
0.053381927,
-0.019686429,
-0.027841182,
-0.03270749,
-0.014429341,
-0.012239503,
-0.019833893,
0.041112933,
-0.006388873,
-0.009253359,
0.0074026873,
-0.010875462,
0.070015855,
-0.008036782,
0.019376755,
0.005566762,
-0.02649926,
-0.03916641,
0.00039193136,
-0.0059280484,
-0.017489217,
0.0010451503,
-0.016324252,
-0.010831223,
-0.011642274,
0.037455827,
-0.018182298,
-0.08104616,
-0.0022875336,
-0.023107592,
-0.0124901915,
0.0032663252,
-0.012858851,
-0.0010774081,
0.035509303,
-0.016884616,
-0.022694692,
-0.00867825,
0.0040700035,
-0.028283574,
0.02033527,
-0.052703593,
0.024803426,
-0.029787706,
-0.012401713,
-0.038399596,
0.00023755511,
0.00088662666,
-0.0022193315,
0.0076312562,
0.016221028,
0.007734481,
0.04058206,
-0.032206114,
-0.013161152,
-0.0151592875,
-0.0055962545,
-0.016265268,
0.042086195,
-0.009739989,
0.012217383,
0.042440105,
-0.02282741,
-0.0055040894,
-0.0020220985,
-0.044445615,
-0.015100302,
0.007668122,
0.055357944,
0.031144373,
-0.010772237,
-0.010897581,
0.039431844,
-0.038871482,
0.0012267153,
-0.044740543,
0.019406248,
-0.018152805,
0.022650454,
0.010669013,
0.062465705,
-0.004674605,
0.010610026,
0.018020088,
0.035273362,
0.004328065,
0.03651206,
0.0017345439,
-0.0058358833,
0.0005013772,
-0.0010912328,
0.021750923,
0.03344481,
-0.007904065,
0.054237217,
0.006123438,
0.005647867,
-0.027162848,
-0.012733507,
-0.022178568,
0.018477226,
0.016796136,
-0.040316626,
0.027398791,
0.005625747,
-0.074380785,
0.029713973,
-0.03453604,
0.009135388,
-0.0081768725,
-0.034270607,
-0.028843937,
-0.042970978,
-0.0034174756,
0.007609137,
0.009061656,
0.0013732575,
-0.016545448,
0.011244122,
-0.016221028,
0.020394256,
-0.034978434,
-0.02229654,
-0.01731226,
0.0005691184,
-0.025349043,
-0.045890763,
0.01564592,
0.074557744,
-0.010219247,
0.009120641,
-0.06848223,
-0.044445615,
0.029433792,
0.07107759,
-0.024125092,
-0.009828468,
-0.043177426,
0.0056441803,
-0.02972872,
0.039844744,
-0.02621908,
-0.0058727493,
0.010587907,
0.008943684,
0.034713,
0.027177595,
0.040611554,
-0.014274504,
-0.009975932,
0.041968223,
0.044416122,
0.018875377,
0.020202553,
-0.034683507,
0.042440105,
-0.024847666,
0.037219886,
0.0030764653,
0.066004835,
0.0060460195,
-0.050993014,
-0.027457776,
0.02331404,
0.04128989,
0.0198044,
0.036600538,
-0.042853005,
0.0089731775,
-0.0055225226,
0.022665199,
0.025408028,
-0.01274088,
0.0061418707,
0.0139279645,
0.005876436,
0.005216535,
-0.011804484,
-0.056744106,
0.0029419046,
0.009157508,
0.077742964,
0.0076754955,
0.045153443,
-0.008486547,
0.045595836,
0.05223171,
-0.04512395,
0.021780416,
0.0018128842,
0.06995687,
-0.034889955,
0.040935975,
-0.012917836,
0.011472691,
-0.011317854,
-0.06470715,
0.006746473,
0.007845079,
-0.010794356,
-0.0169436,
-0.011524303,
-0.011295734,
0.013478199,
-0.04937091,
-0.00010403116,
-0.051641855,
-0.03695445,
-0.012460698,
-0.026794188,
-0.0011465318,
0.01858045,
-0.036777493,
0.0022506677,
0.024095599,
0.034595028,
0.011457944,
0.060932077,
0.02846053,
-0.0343001,
0.030495532,
0.0059280484,
-0.0265435,
-0.02324031,
0.01077961,
0.009681004,
-0.00028317675,
-0.050786562,
-0.051228955,
-0.0016691069,
0.017607188,
0.013603544,
-0.05031468,
-0.005172296,
-0.014967585,
-0.008847834,
-0.0010912328,
0.080456294,
0.02049748,
0.0050358917,
-0.011236749,
0.023387773,
-0.040788513,
-0.04067054,
-0.039343365,
0.059309974,
-0.010602654,
-0.04418018,
-0.02442002,
-0.06040121,
0.009046909,
0.037308365,
-0.043147933,
-0.0132864965,
-0.005555702,
0.053794827,
0.031144373,
0.008692997,
0.0036700075,
-0.017385993,
0.04553685,
0.038399596,
-0.004512395,
0.09655935,
0.054620624,
-0.036571044,
0.019288277,
0.0082800975,
0.008036782,
-0.009916946,
-0.016899362,
0.03025959,
-0.006580576,
-0.08558804,
-0.02989093,
0.008117887,
0.0069492357,
-0.018093819,
0.012232129,
-0.028858682,
-0.02363846,
-0.0845263,
-0.0041916613,
-0.037632786,
0.018727913,
-0.0152625125,
-0.0400217,
-0.022797918,
-0.033503797,
0.25859267,
0.062288746,
0.04235163,
0.008862579,
0.010300352,
0.048987504,
0.039962713,
0.003216556,
0.056006785,
-0.038606048,
-0.007896692,
-0.02846053,
0.04279402,
0.0051206835,
-0.004099496,
0.034034666,
-0.025452267,
0.020482734,
-0.019420994,
-0.0371609,
-0.03822264,
0.023107592,
0.0104109505,
0.049931273,
0.022517735,
-0.036335103,
-0.01013077,
-0.05447316,
0.028003393,
-0.01433349,
-0.025614478,
0.02026154,
0.023019113,
0.02037951,
0.017297514,
0.031911187,
0.018403493,
-0.028711218,
-0.030289082,
-0.0009151978,
0.018285522,
-0.026469767,
-0.0033363705,
-0.039048437,
0.008951058,
0.01008653,
-0.01170126,
0.029271582,
0.02638129,
-0.02825408,
0.02340252,
-0.0751476,
0.029964661,
-0.016191535,
-0.034771986,
0.020526974,
-0.030967416,
-0.01555744,
-0.006753846,
0.025673462,
0.015940847,
-0.016914109,
-0.018875377,
0.027103862,
0.03079046,
0.033061404,
0.027428282,
0.052526638,
-0.027855929,
-0.02070393,
0.020615451,
-0.023579476,
-0.024936143,
-0.01894911,
0.0072994623,
0.028357306,
0.021898387,
0.008191619,
-0.038576555,
-0.011833977,
0.033002418,
-0.007122506,
0.0073621348,
-0.038370103,
0.039903726,
0.041673295,
-0.022856902,
0.03129184,
-0.01751871,
0.057363454,
0.022576721,
0.044032715,
0.02340252,
-0.021898387,
0.00018974455
] | from transformers import TrainingArguments, Trainer
training_args = TrainingArguments(, neftune_noise_alpha=0.1)
trainer = Trainer(, args=training_args)
NEFTune is disabled after training to restore the original embedding layer to avoid any unexpected behavior.
Accelerate and Trainer
The [Trainer] class is powered by Accelerate, a library for easily training PyTorch models in distributed environments with support for integrations such as FullyShardedDataParallel (FSDP) and DeepSpeed. |
[
-0.0056334576,
0.03816464,
-0.017512167,
0.012066138,
-0.06540894,
-0.033440035,
-0.008883393,
-0.012681468,
-0.055563647,
0.022703577,
0.062127173,
0.00057996676,
0.032053772,
0.0034409005,
-0.0008823275,
0.028375935,
-0.04025818,
-0.063485146,
-0.023198672,
-0.02984707,
-0.00810539,
-0.02797986,
-0.036608636,
-0.03140308,
-0.04577494,
0.00892583,
-0.02174168,
-0.026013631,
0.0677288,
0.0061815972,
-0.029366123,
0.0032092673,
0.013487764,
-0.035109207,
0.025985342,
-0.020242255,
0.014923535,
0.046906583,
-0.06987892,
-0.03728762,
0.04427551,
-0.01756875,
0.006160379,
-0.06263641,
-0.056129467,
0.00905314,
-0.026041923,
-0.0011767314,
-0.023821075,
-0.0013544346,
-0.010778895,
0.04634076,
0.008253917,
-0.03867388,
-0.027654514,
0.036636926,
0.016946346,
-0.022109466,
-0.029931944,
0.02193972,
-0.0089329025,
0.0031296988,
0.020836368,
-0.018502355,
0.0060755056,
-0.0010388125,
-0.032053772,
-0.021190006,
-0.05992047,
-0.00002527961,
-0.023325982,
0.022859178,
-0.009689689,
-0.005555657,
-0.022675287,
0.024160568,
0.0017558141,
-0.025334647,
-0.018926721,
-0.015234737,
0.025221482,
0.054545168,
-0.005173728,
0.030299727,
-0.0219963,
-0.013508982,
0.012837069,
0.00008697291,
-0.04868892,
-0.00635488,
-0.032506432,
0.038758755,
-0.04102204,
0.009159232,
-0.019874472,
0.016578563,
0.012016629,
0.018714538,
-0.00006061581,
-0.027994007,
0.061335023,
0.04840601,
-0.022222629,
0.023340126,
-0.039296284,
0.030837258,
0.0047069257,
0.0061285514,
-0.022703577,
-0.004045622,
-0.007971006,
-0.00054062455,
0.016394671,
0.0020086654,
-0.02662189,
-0.014555751,
-0.009930163,
-0.015885431,
-0.046991456,
0.0034249867,
0.0011678904,
0.0065635266,
-0.004413406,
-0.0029405023,
0.011620554,
-0.040314764,
0.012158084,
0.0037945388,
-0.012596595,
0.015036699,
-0.008494391,
0.030695803,
0.019379377,
0.038843628,
-0.0019909835,
-0.02000178,
0.014336496,
0.02544781,
-0.023212817,
-0.0039961124,
0.03349662,
0.0065529174,
0.013678729,
0.06337198,
-0.010361602,
-0.028672991,
0.017172676,
-0.02143048,
-0.031261623,
-0.004038549,
-0.021543644,
-0.00012764131,
-0.0087419385,
0.01874283,
0.00007183277,
-0.021727536,
-0.052253593,
0.04959423,
0.017964825,
0.0004183983,
0.008961194,
0.02250554,
-0.047585566,
0.011903465,
-0.0051595825,
0.008494391,
-0.014640625,
-0.055507064,
0.028192043,
-0.038475845,
-0.020412002,
0.037117872,
-0.035618447,
-0.04181419,
0.024867844,
-0.016352234,
0.036127687,
0.03089384,
0.0029139793,
-0.039748944,
0.010354529,
0.03618427,
0.005127755,
0.008154899,
-0.00071169704,
0.00548493,
0.040343054,
0.004045622,
-0.048858665,
0.013516055,
0.0043745055,
0.029422704,
-0.04710462,
0.0031173215,
-0.023693765,
-0.008635847,
-0.03997527,
0.0202564,
0.04854746,
-0.053668145,
-0.013827257,
-0.003833439,
-0.048604045,
-0.018672101,
-0.00024334734,
0.0025709502,
-0.0062947613,
0.03754224,
0.0056016305,
0.053639855,
-0.02140219,
0.05038638,
-0.037400786,
0.044699878,
0.01928036,
-0.000877465,
0.009010703,
-0.0055839485,
0.02693309,
0.04687829,
0.018332608,
0.008487319,
0.027513059,
0.05969414,
-0.0012607204,
-0.026140941,
0.015291319,
0.026395561,
-0.01025551,
0.047330946,
0.0046255887,
0.027541349,
0.029762197,
0.017710205,
-0.018205298,
0.017681913,
0.035024334,
0.013558492,
0.022180192,
0.017101947,
-0.01595616,
0.009272396,
0.04501108,
0.054290548,
-0.015630811,
-0.053894475,
-0.03915483,
0.003914776,
-0.0708974,
0.009972599,
-0.042210266,
0.047727022,
0.014329423,
-0.013211926,
-0.05827959,
-0.0009022197,
0.00436036,
0.016720017,
-0.046171013,
0.007794188,
-0.008911685,
-0.00792857,
-0.011493244,
0.010439402,
0.034713134,
0.04820797,
-0.0028291063,
0.025942905,
-0.01092035,
-0.03921141,
-0.0153761925,
-0.046934873,
-0.033694655,
-0.009336051,
-0.013997003,
-0.0017911779,
0.073047526,
-0.059354648,
-0.00086995016,
0.0070939837,
-0.029111503,
0.028800301,
-0.008048807,
0.011754937,
0.043539945,
0.04076742,
-0.029168086,
0.012674396,
0.0043073143,
0.021388043,
-0.03222352,
-0.06784197,
-0.023113798,
-0.028687138,
0.059637558,
0.022590414,
0.029309541,
-0.024075694,
-0.03276105,
-0.01531961,
-0.0062028156,
-0.026041923,
-0.015305465,
0.009760416,
-0.028036444,
-0.030214855,
0.0021907892,
0.0017513935,
0.004710462,
0.038475845,
-0.00004439818,
-0.005746622,
-0.039890397,
0.057374276,
-0.046765126,
-0.018728683,
0.035505284,
-0.044049185,
-0.02953587,
-0.048858665,
0.026692618,
0.017809223,
-0.016564418,
-0.050273217,
0.011075951,
0.062523246,
-0.014980118,
-0.048604045,
0.017498022,
-0.04362482,
-0.022420667,
-0.026381416,
0.016394671,
-0.002319867,
-0.021331461,
0.004703389,
-0.066087924,
0.021699244,
0.037033,
0.019549124,
-0.012398558,
-0.02785255,
0.05513928,
0.015164009,
0.019534979,
-0.012405631,
0.04345507,
-0.034288768,
-0.012426849,
0.0008372386,
0.003538151,
-0.020680767,
0.030667512,
-0.0048519173,
-0.005969414,
0.021444626,
-0.010694021,
0.029818779,
0.066087924,
-0.0053540836,
0.006846437,
0.0120590655,
0.019195486,
-0.00253205,
-0.0335532,
-0.014407223,
0.00082662946,
0.012561232,
0.02408984,
-0.07101057,
0.013261436,
-0.050018597,
-0.04959423,
0.012837069,
0.02633898,
-0.0006162147,
0.07536739,
-0.016168343,
0.06229692,
-0.075763464,
-0.03327029,
0.027513059,
0.032591306,
0.0100716185,
0.036269143,
-0.011769082,
0.012440994,
0.029705616,
-0.016833182,
0.008749011,
0.028814446,
0.01608347,
-0.0042613414,
0.042125393,
-0.0167766,
-0.024740534,
0.011472026,
0.009442142,
0.012037847,
-0.017639477,
0.03465655,
-0.02519319,
-0.028319353,
0.009866508,
-0.0010388125,
-0.034260478,
-0.03035631,
0.02662189,
0.051518023,
0.001118381,
0.0059269774,
0.008968267,
-0.052847706,
0.0033966957,
0.03222352,
0.001098931,
-0.035222374,
-0.014739644,
0.018162861,
0.0045690066,
0.002300417,
-0.014697207,
-0.040880583,
0.049481068,
0.039635777,
-0.027866697,
0.033779528,
-0.037994895,
0.030299727,
0.0001403502,
-0.024938572,
0.0009450983,
-0.014166749,
-0.009081431,
-0.044303805,
0.017483877,
0.060259964,
-0.027810114,
-0.058449335,
-0.016408816,
-0.0033277362,
-0.007426404,
0.0064786533,
-0.008833884,
-0.04453013,
0.026947238,
-0.0389285,
-0.013445327,
0.009824071,
0.010722313,
-0.021897282,
-0.04257805,
0.013424109,
-0.05969414,
-0.022137756,
-0.035476994,
0.05511099,
0.009930163,
0.0067827823,
0.037994895,
-0.020907095,
0.0008655297,
0.034317058,
-0.037315913,
-0.025999486,
-0.013678729,
-0.00010111844,
0.017667769,
0.043426782,
0.025589267,
0.015234737,
0.0012739819,
0.008543901,
-0.03346833,
0.016253216,
-0.027116984,
0.008812666,
-0.00075148133,
0.0017151457,
0.028588118,
-0.059807304,
-0.0044947425,
0.026706763,
-0.009456287,
-0.014393078,
-0.02693309,
-0.003928921,
0.0077376054,
-0.08702331,
0.04402089,
-0.0060472144,
0.005499075,
0.051857516,
0.010439402,
0.010460621,
0.03191232,
-0.028121317,
-0.027753532,
0.078196496,
0.037627112,
0.026098505,
-0.055224154,
-0.0065635266,
0.016705872,
-0.057826933,
0.028305208,
-0.00019516413,
0.018785266,
0.030582638,
-0.013020962,
-0.04283267,
0.021119278,
-0.038447555,
-0.007659805,
0.030158272,
-0.010630366,
-0.0026133868,
-0.035024334,
0.006050751,
0.019393524,
-0.020044217,
-0.049481068,
-0.0014110167,
0.022562122,
0.014796225,
0.032930795,
0.014994263,
-0.03748566,
-0.045916393,
-0.039296284,
0.012886579,
0.033185415,
-0.013735311,
-0.050018597,
0.015517647,
-0.00943507,
-0.0012439226,
0.010163564,
-0.009378487,
0.02181241,
-0.042436592,
-0.0070939837,
-0.016663436,
0.0101282,
0.005859786,
0.0025019909,
-0.010821331,
0.07225537,
0.02063833,
-0.034798007,
0.0216851,
0.039748944,
0.013204853,
0.010227219,
-0.061731096,
-0.031035295,
-0.0055132206,
0.036269143,
-0.0024153495,
0.0002992664,
-0.03966407,
0.039777234,
-0.04105033,
0.01664929,
-0.004452306,
0.041616153,
-0.01196712,
-0.017922388,
0.034175605,
-0.04204052,
0.03839097,
-0.07078424,
0.059015155,
0.014838662,
0.038730465,
-0.038108062,
-0.008840957,
-0.038447555,
-0.08447711,
0.003925385,
-0.01908232,
0.012936088,
0.009201668,
0.0070161833,
0.07853599,
-0.027994007,
0.017908242,
0.074066,
-0.007539568,
0.022547977,
-0.028390082,
0.02633898,
0.035307247,
0.01145788,
0.011238624,
0.01769606,
0.0036106468,
0.0032658495,
-0.014152604,
-0.0655221,
-0.028163753,
0.015305465,
0.0046892436,
-0.024995154,
0.006485726,
-0.076725364,
-0.026041923,
-0.04982056,
0.079780795,
0.04475646,
-0.013735311,
0.043907728,
0.01674831,
0.03878705,
0.025617557,
0.0041411044,
0.009201668,
-0.017229257,
0.040116727,
-0.0045230337,
-0.035080917,
-0.001274866,
0.013940421,
-0.045944687,
-0.017837515,
-0.012822924,
0.056384087,
0.0029687933,
-0.039069958,
-0.01887014,
-0.0020051291,
-0.006821682,
0.018530646,
0.016918056,
-0.01621078,
-0.009965527,
0.035052627,
0.014046513,
-0.068068296,
-0.007306167,
0.036552053,
0.003798075,
-0.0010282033,
-0.03997527,
-0.0013438255,
-0.015475211,
-0.001127222,
0.052791122,
0.004413406,
-0.024627369,
0.023495728,
-0.027541349,
0.07497132,
0.01877112,
0.03856072,
0.028404227,
-0.039267994,
-0.04105033,
0.0251649,
0.00030921248,
-0.00055211777,
0.0039501395,
-0.020680767,
-0.02902663,
-0.016578563,
0.03677838,
-0.019294504,
-0.07695169,
0.0011572812,
-0.037174456,
-0.0021395115,
-0.014965972,
-0.0049014264,
-0.0026929555,
0.0039218487,
-0.03624085,
-0.018459918,
-0.028460808,
0.022830887,
0.010425257,
0.022816742,
-0.05038638,
-0.0011395994,
-0.02744233,
-0.01946425,
-0.04687829,
0.007419331,
-0.0085014645,
-0.009194595,
0.030724093,
0.0027477695,
-0.010580857,
0.065126024,
-0.050980493,
0.028192043,
-0.011903465,
-0.004353287,
-0.014767935,
0.047500692,
-0.008006371,
0.04071084,
0.012596595,
-0.0024312632,
-0.023722056,
0.003170367,
-0.04817968,
0.007511277,
0.014824517,
0.037655406,
0.033807818,
-0.020397857,
-0.03858901,
0.044077475,
-0.024938572,
0.0061391606,
-0.043539945,
0.022901615,
-0.00951287,
0.028460808,
0.028602265,
0.090474814,
-0.0026063141,
-0.005598094,
0.031318206,
0.010672803,
0.013063398,
0.014251622,
0.017073656,
0.023000633,
0.030724093,
-0.020652475,
0.01092035,
0.019676434,
-0.022845034,
0.032393266,
-0.008006371,
0.0084661,
-0.010545493,
-0.04605785,
-0.0075042043,
0.00805588,
0.029903652,
-0.06229692,
0.013855548,
0.009477505,
-0.01797897,
0.019054031,
-0.043511655,
-0.024896136,
0.005739549,
-0.011090096,
-0.013551419,
-0.046482217,
-0.023538165,
-0.005251528,
-0.024698097,
-0.0025426592,
0.0006458319,
0.03997527,
-0.010368674,
0.026763344,
-0.05361156,
-0.0013243754,
-0.017964825,
0.012313684,
-0.055761684,
-0.024641516,
0.0018212372,
0.073613346,
0.036382306,
-0.010326237,
-0.08147826,
0.00033197794,
0.017229257,
0.0338644,
0.0004259131,
0.008706574,
-0.03061093,
-0.012801706,
-0.044077475,
0.03751395,
0.0040703765,
0.0039112396,
0.03858901,
-0.011174969,
0.040597674,
0.013275581,
0.06495628,
0.0021607298,
-0.026522871,
0.015970305,
0.052904285,
0.017271694,
0.020086654,
-0.020666622,
0.017780934,
-0.02440104,
0.040060144,
0.013275581,
0.043426782,
0.018601373,
-0.040569384,
-0.022293357,
0.04308729,
0.014584043,
0.017101947,
0.03411902,
-0.044077475,
0.019959344,
-0.025221482,
-0.0003483337,
0.0039466033,
-0.018134572,
0.016338088,
0.011719572,
0.010849622,
0.018290171,
-0.012900724,
-0.046708543,
0.0030819576,
0.025603412,
0.06342856,
0.0030236072,
0.04427551,
-0.020086654,
0.014421369,
0.06778538,
-0.017837515,
0.03595794,
0.021670954,
0.046171013,
-0.01769606,
0.05115024,
0.0039041666,
-0.01636638,
-0.0024436405,
-0.04854746,
0.002236762,
-0.015347902,
0.012257103,
-0.011960046,
-0.017738497,
-0.0075607863,
0.059750725,
-0.039239705,
-0.025122464,
-0.07146322,
-0.017922388,
-0.014909389,
-0.017356567,
-0.021529498,
0.026324833,
-0.0067262,
0.02196801,
0.027272584,
0.006170988,
-0.0038864848,
0.033524908,
0.04472817,
-0.03598623,
0.0055379756,
0.005700649,
-0.005845641,
-0.04529399,
-0.013282654,
0.021246588,
0.02186899,
-0.025928758,
-0.031629406,
-0.03298738,
0.021373898,
0.016267361,
-0.06540894,
-0.019124757,
-0.020468583,
-0.025744867,
-0.02621167,
0.064503625,
0.022024592,
-0.029507577,
-0.011174969,
0.008041735,
-0.022010446,
-0.045152534,
-0.02263285,
0.029705616,
-0.012341976,
-0.02700382,
-0.029790489,
-0.0775741,
0.015333756,
0.018714538,
-0.049452778,
-0.0021890209,
0.031233333,
0.041135203,
0.040569384,
-0.045407154,
0.0029882435,
-0.008133681,
0.041672736,
0.019365232,
-0.027668659,
0.079780795,
0.029960236,
-0.06886045,
0.007992225,
0.005736013,
0.017116092,
-0.010976932,
-0.007963934,
-0.00057510426,
0.0006789855,
-0.084873185,
-0.0045972974,
-0.0043249964,
0.017936533,
-0.009406778,
0.017922388,
-0.021727536,
0.0060931877,
-0.085382424,
-0.005488466,
-0.0056334576,
0.030129982,
-0.0049792267,
-0.034854587,
-0.010630366,
-0.018134572,
0.23470265,
0.05109366,
0.04685,
-0.008112462,
0.021515353,
0.0319689,
0.03219523,
0.0014605261,
0.051518023,
-0.02731502,
-0.0019750698,
-0.022038737,
0.038504135,
0.013593855,
0.019124757,
0.040088434,
-0.01902574,
0.035109207,
-0.045180827,
-0.04851917,
-0.024160568,
0.04554861,
0.00402794,
0.021501208,
0.004183541,
-0.008480246,
0.020454438,
-0.043511655,
-0.019266214,
-0.017837515,
-0.015786413,
0.020327128,
0.0386173,
0.032902505,
-0.000693131,
0.0118822465,
0.069086775,
-0.026155086,
-0.044077475,
-0.008869248,
0.064107545,
0.0006303602,
-0.020525165,
-0.018558936,
-0.011705427,
0.008218554,
-0.016140051,
0.014124312,
0.0024330313,
-0.008607556,
0.0107435305,
-0.04073913,
0.04789677,
-0.020539312,
-0.047500692,
0.037570532,
-0.054432005,
0.010170637,
0.010057473,
0.0006361069,
0.037994895,
-0.017130239,
-0.016154196,
0.013261436,
0.013431182,
0.042634632,
0.03329858,
0.049367905,
-0.023495728,
-0.035590157,
0.0028803837,
-0.018629665,
-0.0006613036,
-0.011861028,
0.0015860677,
0.019506687,
-0.006125015,
0.026056068,
-0.011896391,
-0.031318206,
0.022067029,
-0.010580857,
0.019931054,
-0.06925652,
0.04928303,
0.012412704,
-0.011960046,
0.011535681,
-0.060090218,
0.062353503,
0.03776857,
0.05058442,
0.012992671,
-0.029677324,
0.017087802
] | NEFTune
NEFTune is a technique that can improve performance by adding noise to the embedding vectors during training. To enable it in [Trainer], set the neftune_noise_alpha parameter in [TrainingArguments] to control how much noise is added.
from transformers import TrainingArguments, Trainer
training_args = TrainingArguments(, neftune_noise_alpha=0.1)
trainer = Trainer(, args=training_args) |
[
0.030015988,
-0.0076429597,
-0.008403599,
0.04227398,
-0.006929861,
-0.00773804,
0.0076722153,
-0.0054963487,
-0.011285251,
0.059271336,
0.011343761,
-0.017889645,
0.0896969,
-0.002316658,
-0.007229728,
0.028143646,
-0.019396296,
-0.007006656,
-0.076883055,
0.0022636326,
0.011958124,
-0.0129966885,
-0.066058576,
0.0066519347,
-0.043912277,
0.03522344,
-0.0030407277,
0.023448162,
0.075712845,
0.03364365,
-0.03718355,
0.009990701,
0.0014984224,
0.003993355,
-0.018386986,
0.008959451,
0.011672884,
0.0138670355,
-0.02767556,
-0.05227931,
0.0019399953,
0.01408645,
0.02529125,
-0.06974475,
-0.032619715,
0.00933977,
-0.0072077867,
0.015461451,
-0.014664244,
-0.050670262,
-0.015958793,
0.042098448,
0.016821826,
-0.0015441339,
-0.02169284,
0.0039275307,
-0.024311194,
0.027836464,
-0.032736734,
0.009559185,
-0.01320879,
0.03522344,
-0.045199513,
-0.05388835,
0.022614384,
0.0380027,
0.0005800787,
0.047832496,
-0.0034484742,
-0.017670231,
-0.01949869,
0.052659627,
-0.03209312,
-0.06207985,
-0.0089448225,
0.042537276,
0.02647609,
0.0097712865,
0.019235391,
0.04007983,
0.047013346,
0.07378199,
0.03718355,
-0.027222103,
-0.034930885,
-0.049207497,
0.025730079,
-0.025335131,
-0.0052293935,
0.005551202,
-0.005704793,
0.03428727,
-0.010619692,
0.00035380688,
-0.017114379,
0.045638345,
-0.0024812194,
0.062489424,
0.0040152967,
-0.0016446991,
0.03548674,
0.051840477,
-0.013903605,
0.023448162,
-0.056053247,
0.01515427,
0.03490163,
0.0054122396,
-0.05356654,
-0.013420891,
-0.019659594,
-0.013640306,
-0.022321831,
-0.016368367,
0.010509984,
0.0004840846,
0.045316536,
0.0067616426,
-0.027617048,
-0.019337786,
0.018635657,
-0.03577929,
0.00619482,
0.00015987591,
-0.036949504,
-0.028377688,
-0.011299878,
0.03855855,
-0.017787252,
-0.026271302,
0.01698273,
-0.02905056,
0.029196838,
0.0040226104,
0.036130354,
0.0018275451,
-0.0009599411,
0.0052769333,
0.018767307,
-0.009603068,
0.040430892,
-0.018123688,
0.03264897,
0.08121285,
0.019103743,
-0.007002999,
0.033731416,
0.009017961,
-0.055234097,
0.025013324,
-0.0181822,
0.0068091825,
0.035252694,
0.021312522,
0.018021295,
-0.03440429,
-0.034462802,
0.023448162,
-0.033409607,
0.017699486,
-0.013369694,
0.018533263,
-0.04900271,
0.020727415,
-0.010093096,
0.046662282,
0.0034649305,
-0.027894976,
-0.00048545594,
-0.04315164,
0.019045232,
0.008608386,
-0.034433544,
0.014532594,
0.019952148,
-0.02258513,
0.0391144,
0.00082874915,
-0.05932985,
0.05119686,
-0.022102416,
-0.0011638143,
0.033672906,
0.0037081155,
0.033263333,
0.013640306,
-0.010012643,
0.0061326525,
-0.026578484,
-0.01604656,
-0.0088570565,
0.043853767,
-0.004805191,
0.06213836,
-0.015797889,
-0.024106408,
-0.035311207,
-0.022175554,
-0.043824513,
-0.043180894,
-0.04250802,
0.030484073,
-0.026139654,
0.006425206,
0.010919559,
-0.042712808,
-0.023067843,
0.040781956,
-0.01475201,
0.031625032,
0.043356426,
-0.023477416,
-0.047276642,
-0.046954833,
0.020844435,
0.0211955,
-0.040401638,
0.022994705,
0.038090464,
0.008878998,
-0.014444828,
0.026125027,
0.052308563,
0.018445497,
-0.03595482,
-0.021268638,
-0.012550545,
0.06869156,
0.05736974,
0.02270215,
0.015168898,
0.04929526,
0.024662258,
0.035077162,
-0.003368022,
0.0013740872,
0.040957488,
0.034872375,
-0.023433534,
0.016324485,
-0.005668224,
0.00069847144,
0.0059973462,
0.010509984,
0.041425575,
0.0125798,
0.019835126,
0.0020551882,
-0.04906122,
0.017801879,
-0.04528728,
0.035340462,
0.0054085827,
-0.014686185,
-0.05892027,
-0.041308552,
-0.045316536,
0.061377723,
-0.039231423,
-0.04364898,
0.037768655,
0.006736044,
-0.00156059,
-0.022321831,
0.041659616,
0.031917587,
0.018474752,
-0.0031175232,
0.024121035,
-0.066175595,
-0.008067163,
-0.0151103875,
-0.027251357,
-0.01389629,
-0.036335144,
0.008271949,
0.041805893,
-0.023418907,
0.008922881,
0.0063081845,
-0.0024537924,
0.026505345,
0.045141004,
0.010736713,
0.035691526,
0.005525604,
-0.029781945,
0.018913582,
-0.013479402,
-0.013223418,
0.0020972427,
-0.023901619,
-0.009252004,
-0.008776604,
0.013369694,
-0.02132715,
0.004029924,
0.004662571,
-0.023492046,
0.0011473582,
-0.031127691,
0.0028377688,
-0.01214097,
0.0014399117,
-0.042683553,
0.0039787274,
0.022102416,
-0.020522628,
0.034316525,
0.045960154,
-0.0076868427,
0.0070541957,
0.019045232,
0.004944154,
-0.04938303,
0.04590164,
0.040167592,
-0.023565182,
-0.028992051,
-0.045521323,
-0.039026637,
-0.02578859,
0.05140165,
-0.031712797,
-0.030805882,
0.041835148,
-0.0061911633,
-0.07781923,
0.026710134,
-0.03452131,
-0.018825816,
-0.0035563533,
-0.013845094,
0.03750536,
0.011482724,
0.029474763,
-0.06635113,
-0.037651632,
-0.035135675,
0.023550555,
-0.035633016,
-0.0060851127,
0.041718125,
0.03735908,
0.004040895,
0.009383653,
0.048534624,
-0.012009321,
0.015885655,
-0.01616358,
0.0107293995,
-0.016441505,
0.019454807,
0.012206794,
-0.014576477,
0.020142308,
-0.037534613,
-0.002272775,
0.037037272,
-0.013618365,
-0.020727415,
0.0038214799,
-0.011000011,
0.011102404,
-0.03686174,
-0.011424214,
-0.009310515,
0.042683553,
0.05125537,
-0.03402397,
0.005510976,
-0.030805882,
-0.02308247,
0.015505334,
0.018957466,
-0.051460158,
0.034316525,
0.012499347,
0.06746283,
-0.051606435,
-0.036393654,
0.020186191,
0.0026878351,
0.062781975,
0.017231401,
0.010392963,
-0.019396296,
-0.03411174,
-0.05277665,
0.0071602464,
-0.0043846453,
0.021546565,
-0.009610382,
0.025422897,
-0.011029267,
-0.0363644,
0.021663586,
0.020537255,
0.01974736,
-0.0030809538,
0.044409618,
-0.0065641687,
0.0251596,
0.042156957,
0.007913572,
0.009083786,
-0.041922916,
0.02308247,
0.012301874,
-0.003272942,
0.0005398526,
-0.020551883,
0.010392963,
-0.01408645,
-0.02182449,
-0.0025049893,
-0.050845794,
0.009420223,
0.046516005,
0.025335131,
0.03627663,
0.0014545394,
-0.05213303,
0.05836442,
0.022351086,
-0.011724081,
-0.0077307257,
-0.019849755,
-0.014861717,
0.033672906,
-0.037885677,
-0.01584177,
-0.029006679,
-0.011329134,
-0.0640107,
0.02654923,
0.042712808,
-0.019103743,
0.0050940877,
-0.034960143,
0.009347084,
0.035837803,
0.022058534,
-0.022921566,
0.020581137,
-0.027719444,
0.03095216,
-0.0030553555,
-0.0011016467,
-0.01900135,
-0.009595755,
-0.008132987,
0.031566523,
-0.059212826,
-0.021926884,
-0.011409586,
-0.019513318,
-0.012294561,
0.041835148,
-0.009698148,
-0.020186191,
0.026008004,
0.005492692,
-0.06757986,
0.009405594,
0.009464106,
-0.0065495414,
0.027734071,
0.025715452,
0.01736305,
-0.023375023,
0.08238306,
0.05131388,
-0.027690187,
0.0034210472,
-0.023682205,
0.032239392,
-0.009581126,
-0.016953474,
-0.030279286,
-0.026841782,
0.0765905,
0.030981414,
-0.024837792,
0.03750536,
-0.08963839,
-0.037856422,
0.046340473,
-0.006297214,
0.0019655938,
-0.017918902,
-0.021180872,
-0.0026000692,
-0.023667578,
-0.036159612,
-0.017011985,
-0.00943485,
0.0016273288,
0.024047896,
0.025730079,
0.06980326,
-0.0022142641,
-0.03452131,
0.029898966,
-0.032034606,
-0.018855073,
-0.017275283,
0.016909592,
0.0011820989,
-0.020537255,
-0.012872353,
-0.030045243,
-0.020405605,
-0.028465454,
-0.005353729,
-0.024954813,
0.030893648,
-0.041220788,
-0.01311371,
0.014656929,
0.041659616,
-0.074601136,
-0.027836464,
-0.01050267,
0.0005339101,
-0.007840433,
0.015168898,
0.026710134,
-0.024574492,
-0.034462802,
0.026285931,
-0.03621812,
-0.0073028663,
0.0014197986,
-0.01214097,
-0.012557859,
0.0011482724,
0.05081654,
-0.03566227,
0.0053976118,
-0.018694168,
0.010041898,
-0.08437242,
-0.0128211565,
-0.02767556,
-0.023930876,
-0.013406264,
0.041425575,
-0.023316514,
-0.03779791,
-0.007972082,
-0.002623839,
0.006864036,
0.051518667,
-0.03943621,
-0.07664901,
-0.012506662,
-0.0027993713,
0.016894965,
0.0018056035,
-0.059037294,
-0.010539239,
-0.019396296,
0.025042579,
-0.043561213,
-0.029577158,
-0.037008017,
0.0048893,
0.02780721,
-0.01122674,
0.054678246,
0.015461451,
0.026944175,
0.022906939,
0.017450815,
-0.010027271,
0.017787252,
-0.020010658,
-0.07723412,
0.058569208,
-0.035750035,
0.0030114725,
0.011738708,
-0.02365295,
0.010714771,
0.0109268725,
0.0039896984,
0.084840514,
-0.018386986,
-0.013311184,
-0.056053247,
0.030601095,
0.007906258,
-0.016763315,
-0.005532918,
0.019659594,
-0.013815839,
-0.052571863,
-0.026066516,
-0.029723434,
-0.0035051564,
-0.013918232,
0.019147625,
0.008345088,
0.052162286,
-0.026051888,
-0.04277132,
-0.03188833,
0.00802328,
0.01040759,
0.04177664,
0.008498679,
0.023682205,
-0.031127691,
0.08981392,
-0.005353729,
0.0014792236,
-0.021107733,
0.053127714,
-0.0067506717,
-0.07255326,
0.03709578,
0.010890303,
-0.045141004,
-0.06705326,
-0.04938303,
-0.019659594,
-0.003942158,
-0.012009321,
-0.014993366,
0.02251199,
-0.05956389,
0.0045199515,
0.008469423,
0.036715463,
-0.01176065,
-0.03188833,
-0.010575809,
-0.010085781,
0.00011919269,
0.06763837,
-0.026534602,
-0.003550868,
-0.032444183,
-0.024428217,
0.009610382,
-0.030571839,
0.053771332,
-0.00261104,
0.03457982,
-0.0012159254,
0.03572078,
0.08466498,
-0.014795893,
0.0052440213,
0.0031778621,
-0.043853767,
-0.04648675,
-0.031654287,
0.03905589,
0.015754005,
-0.0043297918,
-0.0033168253,
0.04306387,
0.020259328,
-0.005551202,
0.0016794399,
-0.084138386,
-0.0034027628,
-0.06295751,
-0.004143289,
-0.01829922,
-0.0361011,
-0.013684189,
0.014642302,
0.013011317,
-0.0029310202,
-0.03999206,
0.010670888,
-0.0010275941,
-0.017582465,
-0.020478744,
-0.03899738,
-0.055468142,
-0.008959451,
-0.02956253,
-0.0325612,
0.005350072,
0.011095091,
-0.024164919,
-0.01044416,
0.01629523,
0.017670231,
0.008586445,
-0.010107723,
-0.03259046,
-0.00014707669,
-0.054444205,
-0.009668893,
-0.019820498,
0.031390987,
0.011943496,
-0.019776616,
-0.02453061,
-0.04250802,
-0.0023002017,
-0.010641633,
-0.040343124,
0.045579832,
-0.008952137,
-0.05017292,
-0.009807856,
0.045521323,
-0.040138338,
0.009354398,
-0.019147625,
-0.033614397,
0.043766003,
0.028860401,
0.012755332,
0.018811189,
0.010700144,
-0.011782591,
-0.018928211,
0.041835148,
0.02453061,
0.027017314,
-0.006282586,
0.010019957,
0.013325811,
-0.00057825027,
0.092797965,
0.050348453,
0.010180862,
0.024106408,
0.04680856,
-0.011746023,
0.014693499,
-0.010992697,
0.024735397,
0.04856388,
0.019235391,
-0.00386902,
0.007935514,
-0.0008182355,
-0.03259046,
0.038207486,
-0.013859722,
-0.018723423,
0.019922892,
-0.061728787,
-0.018767307,
0.0016136153,
0.01015892,
-0.036803227,
-0.0038836475,
0.013881663,
0.018811189,
-0.008052534,
-0.0075990767,
0.016105069,
-0.0743671,
-0.06576602,
0.012704135,
0.03194684,
-0.05924208,
-0.04107451,
0.032795247,
0.049412284,
0.0013612879,
0.020215446,
-0.035896312,
-0.0021685527,
0.01843087,
0.031712797,
-0.06254794,
-0.012901609,
-0.011519293,
0.013530599,
-0.029577158,
0.03030854,
0.028875029,
0.02975269,
0.0019034261,
-0.009222749,
-0.027631678,
0.024823163,
0.0018604574,
-0.046516005,
0.004037238,
0.0017214944,
0.011658257,
-0.024940185,
-0.0040043257,
-0.001269865,
0.047627706,
0.009069158,
0.04136706,
-0.0090911,
0.03095216,
-0.01797741,
-0.042712808,
-0.021049224,
0.02855322,
-0.03364365,
-0.0033552228,
0.02742689,
-0.011051208,
-0.0025013322,
-0.006640964,
0.031361733,
0.027982742,
0.0024409932,
0.013625679,
0.011402272,
-0.025583802,
0.05125537,
-0.020054542,
-0.04797877,
0.00575599,
0.03200535,
0.042420257,
0.02477928,
-0.010531926,
-0.03206386,
0.036803227,
0.051430903,
0.016821826,
0.017480072,
0.0065787965,
0.03063035,
-0.038851105,
0.045316536,
-0.0033625367,
-0.013142966,
-0.008001338,
-0.08238306,
-0.043883022,
0.0022837457,
-0.024296567,
0.0024391648,
0.018138316,
0.0023203148,
-0.00407015,
-0.034550566,
0.012228736,
-0.010392963,
0.008542562,
0.029343115,
-0.033234075,
-0.005024606,
0.0235213,
-0.010078467,
-0.0064544613,
0.026885666,
0.035018653,
0.033906948,
0.09139371,
-0.0011409586,
0.0033991057,
-0.0067250733,
0.02754391,
-0.030835137,
0.014481397,
0.020156935,
-0.02396013,
0.011263309,
0.0060522,
-0.011329134,
0.007591763,
0.030162264,
0.0060339156,
-0.0013722586,
0.02508646,
0.0138670355,
-0.027690187,
0.017436188,
0.06424475,
0.006107054,
-0.004622345,
0.0023587125,
0.006256988,
-0.05140165,
0.00314495,
0.0036075502,
0.023170236,
-0.0016995529,
-0.013647621,
-0.01875268,
-0.041484084,
0.010466101,
0.011343761,
-0.023053214,
-0.019615712,
0.025130345,
0.043297917,
0.033087797,
0.035194185,
-0.021926884,
-0.041220788,
0.031917587,
0.07302135,
-0.020595765,
0.06430326,
0.020859063,
-0.02258513,
-0.02704657,
0.015563846,
-0.0030864393,
-0.00880586,
0.01761172,
-0.016617037,
-0.025305877,
-0.039231423,
-0.0030663263,
-0.010319824,
0.019030605,
-0.031800564,
-0.043678235,
0.003276599,
-0.022234065,
-0.07770221,
-0.0031906615,
-0.06559049,
-0.007811178,
-0.0128211565,
-0.020625021,
0.017304538,
-0.05131388,
0.25510663,
0.028041251,
0.036130354,
0.024472099,
0.011153602,
0.039582487,
0.015651612,
-0.0075259386,
0.012616369,
-0.059914954,
0.0028889657,
-0.011102404,
-0.0021228413,
0.030718116,
-0.07267029,
0.0029547901,
-0.023769971,
-0.0037209147,
0.003618521,
-0.03370216,
-0.022321831,
0.01604656,
0.03364365,
0.01799204,
0.016148953,
-0.013099083,
0.034930885,
-0.030601095,
0.005064832,
-0.022921566,
0.004315164,
-0.04414632,
0.015885655,
-0.003949472,
-0.0064873737,
0.04025536,
0.0013521457,
0.00038489068,
-0.0010047384,
-0.02434045,
-0.005741362,
0.04397079,
0.020347094,
-0.027602421,
-0.026490718,
0.05421016,
-0.015958793,
-0.0030041586,
0.05736974,
-0.03577929,
0.036188867,
-0.03288301,
0.015242036,
-0.0071127065,
-0.031976096,
0.015285919,
-0.027894976,
-0.029986732,
-0.00517454,
-0.019045232,
0.047159623,
0.005525604,
-0.016368367,
0.03855855,
-0.01267488,
0.026300559,
-0.012170225,
0.03604259,
-0.03182982,
-0.029445508,
0.008908254,
0.020625021,
-0.0062789293,
-0.023492046,
0.012360385,
-0.010612378,
0.034492057,
0.05681389,
-0.01905986,
0.011658257,
-0.0069006053,
0.022102416,
-0.0261104,
-0.031332478,
0.032473437,
0.0076722153,
-0.026724761,
-0.015622356,
0.018811189,
-0.005510976,
0.011621688,
0.046516005,
-0.014503339,
-0.01736305,
0.018562518
] |
yml
compute_environment: LOCAL_MACHINE
distributed_type: FSDP
downcast_bf16: 'no'
fsdp_config:
fsdp_auto_wrap_policy: TRANSFORMER_BASED_WRAP
fsdp_backward_prefetch_policy: BACKWARD_PRE
fsdp_forward_prefetch: true
fsdp_offload_params: false
fsdp_sharding_strategy: 1
fsdp_state_dict_type: FULL_STATE_DICT
fsdp_sync_module_states: true
fsdp_transformer_layer_cls_to_wrap: BertLayer
fsdp_use_orig_params: true
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 2
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false |
[
0.021725202,
0.0046150154,
-0.03200121,
0.023788884,
-0.030983502,
-0.016410513,
0.03106831,
-0.0007358935,
0.0031220259,
0.06157123,
0.0006908388,
0.01966152,
0.08548733,
-0.04432676,
0.010141726,
0.022559155,
-0.014530584,
-0.0386163,
-0.10929035,
0.012466902,
0.0162833,
-0.024792455,
-0.082716905,
0.009498592,
-0.031577162,
0.028651258,
-0.005282885,
0.0004969269,
0.075706035,
0.03502606,
-0.028750202,
0.0052157445,
-0.0064984784,
-0.022700503,
-0.019237475,
0.014728471,
0.005544379,
0.016523592,
-0.041895576,
-0.06598129,
0.013039362,
-0.013293788,
0.012650654,
-0.041160565,
-0.048680283,
-0.008954401,
-0.00443833,
0.021442505,
0.006279389,
-0.021513179,
0.01581685,
0.038050905,
0.04155634,
-0.0021573252,
-0.0033093123,
0.0067953095,
-0.005777603,
0.046814486,
-0.016170222,
0.00051061995,
0.0034506603,
0.045966398,
-0.0078024147,
-0.07056097,
0.041952115,
0.022530885,
-0.0034612613,
0.027463933,
-0.045090042,
0.0040566903,
-0.03932304,
0.02189482,
-0.029739639,
-0.053033803,
-0.016325705,
0.041019216,
0.029174246,
0.040086318,
0.008813053,
0.022007897,
0.046277367,
0.07531026,
0.024792455,
-0.039125152,
-0.05122455,
-0.069034405,
0.023817154,
-0.04296982,
-0.029796178,
-0.014113607,
0.020764034,
0.04511831,
-0.021739336,
0.020862978,
-0.009187626,
0.032990646,
-0.014042933,
0.040793058,
0.004106162,
-0.0064066024,
0.01810669,
0.057528675,
-0.021626258,
0.011321982,
-0.06445473,
-0.003890606,
0.03200121,
0.009434985,
-0.03567626,
0.0020089098,
0.015237324,
0.014912223,
-0.014311494,
0.022431942,
0.013187777,
0.004834105,
0.009328974,
-0.018601408,
-0.04076479,
-0.010127591,
0.038729377,
-0.016565997,
0.011555206,
0.01816323,
-0.02436841,
-0.044694267,
-0.006908388,
0.040510364,
-0.015887525,
-0.007562123,
0.00517334,
-0.03265141,
0.0065938886,
-0.0041591674,
0.020382395,
0.007265292,
-0.0013940455,
-0.0002840213,
0.037061468,
0.00018242738,
0.031407546,
-0.0067246356,
0.016339839,
0.09357244,
-0.004311117,
0.0056645246,
0.026587576,
0.022827717,
-0.03129447,
0.031124849,
-0.014855685,
-0.0003838484,
-0.0072228876,
0.022700503,
0.013385665,
-0.0127708,
-0.03183159,
0.04291328,
-0.00836074,
0.030672535,
0.013300856,
0.03553491,
-0.010226535,
0.036580887,
-0.010975679,
0.07112636,
-0.02665825,
-0.051592052,
-0.011350252,
-0.025244769,
0.028905684,
0.021244619,
-0.007413707,
-0.006650428,
0.0233083,
0.0042227744,
0.019053722,
0.026050454,
-0.011979251,
0.034206238,
-0.034262776,
-0.015025302,
0.041301914,
0.021499045,
0.04223481,
0.010806061,
-0.016481187,
-0.010876736,
-0.047634307,
-0.00868584,
-0.0127708,
0.022983199,
-0.019901812,
0.06145815,
-0.013258451,
-0.039464388,
-0.022516752,
-0.016919367,
-0.033047184,
-0.05789618,
-0.0028587652,
0.042150002,
-0.043224245,
0.012806137,
-0.013336193,
-0.0108413985,
0.0032368712,
0.07237022,
0.0020053762,
0.013032294,
0.071409054,
-0.010862601,
-0.022502616,
-0.0027704225,
0.0062122485,
0.016339839,
-0.02962656,
-0.009293637,
0.04152807,
0.014247888,
0.0104950955,
0.02045307,
0.016452918,
-0.0012571146,
0.018092556,
-0.05388189,
-0.027492205,
0.037711672,
0.0414998,
0.010042782,
-0.0030407507,
0.016057143,
0.0039118086,
0.058235414,
0.011823768,
0.0008878427,
0.025202366,
0.04528793,
-0.04282847,
0.010169995,
-0.024933804,
0.017498894,
0.019378824,
0.014014663,
0.024792455,
0.019689789,
0.0037916626,
-0.009618738,
-0.039464388,
0.014311494,
-0.0376834,
0.027025755,
-0.0092583,
0.016594267,
-0.055832498,
-0.012587047,
-0.027789034,
0.03502606,
-0.018657949,
-0.03474336,
0.009604603,
0.0341497,
-0.005731665,
-0.043535214,
0.02436841,
0.022064436,
0.005551446,
-0.02069336,
0.028396832,
-0.027138833,
0.0060249623,
-0.026757194,
-0.045090042,
-0.03858803,
-0.028326157,
0.0052758176,
0.035902414,
-0.016537726,
0.023265896,
-0.005233413,
0.00194707,
0.00539243,
0.041047487,
0.018813431,
0.024693511,
0.00049516006,
-0.022686368,
-0.009406716,
-0.025838431,
-0.008509155,
-0.02894809,
-0.031577162,
0.0061168387,
-0.016212625,
0.014283225,
-0.013293788,
0.008247661,
-0.0024947939,
-0.016778018,
0.000023590223,
-0.0075833253,
-0.003406489,
-0.007463179,
-0.017527163,
-0.03423451,
0.029824447,
0.037400704,
-0.049895875,
0.03477163,
0.044779077,
-0.024636973,
-0.004993121,
0.0063783326,
0.027647687,
-0.027760765,
0.030926963,
0.029880986,
-0.021795876,
-0.041217104,
-0.04152807,
-0.047917005,
-0.01778159,
0.028622989,
-0.07231368,
-0.014544719,
0.050489537,
0.033414688,
-0.06157123,
0.034969516,
-0.028396832,
0.006519681,
-0.0075055836,
-0.0012792002,
0.02589497,
0.025909105,
0.01807842,
-0.067790546,
-0.004547875,
-0.052327063,
0.01707485,
-0.0169335,
0.008699975,
0.04005805,
0.04743642,
0.016947636,
0.03839014,
0.04378964,
-0.0071663484,
0.03471509,
-0.023506187,
0.025852567,
-0.0031149585,
0.02328003,
0.019166801,
0.021852415,
0.0017253301,
-0.025061017,
-0.0011484532,
0.017230332,
-0.020325856,
-0.027605282,
0.009392581,
0.025032748,
-0.00756919,
-0.01282734,
-0.018474195,
0.012064059,
0.035139136,
0.040510364,
-0.03850322,
0.033867,
-0.009738884,
-0.039068613,
0.0054878397,
0.020142103,
-0.006873051,
0.031237928,
0.012148868,
0.052807648,
-0.025273038,
-0.033527765,
0.0392665,
0.020552013,
0.014643663,
0.030559458,
0.020467203,
-0.004650352,
-0.04288501,
-0.039690543,
0.013604754,
-0.0018781627,
0.009187626,
0.007731741,
-0.00069923134,
-0.016975906,
-0.046814486,
0.023053873,
0.03932304,
0.00398955,
-0.019746328,
0.052072637,
-0.025584005,
0.009583401,
0.059648894,
0.021075001,
0.0005349142,
-0.036665697,
0.02971137,
0.0074278424,
0.009187626,
-0.043535214,
-0.025244769,
0.0011246008,
-0.013541147,
-0.000074539035,
0.0015009401,
-0.030785615,
-0.0258667,
0.031520624,
0.027266046,
0.028114134,
-0.0020848843,
-0.043987527,
0.031577162,
0.020142103,
-0.017329276,
-0.012064059,
-0.045627166,
-0.0101487925,
0.019407094,
-0.041019216,
-0.031464085,
-0.050122034,
-0.015152516,
-0.058970425,
0.024212928,
0.026205936,
0.0030036469,
-0.0043817908,
-0.033867,
-0.0048270375,
0.026177667,
0.019491902,
-0.019166801,
0.007703471,
-0.024933804,
0.043930985,
-0.03632646,
-0.0034471266,
-0.009979175,
0.041867305,
-0.022205785,
0.024326006,
-0.036863584,
-0.0086787725,
-0.025485061,
-0.044100605,
-0.012438632,
0.054701712,
0.021937223,
-0.014982898,
0.00061000534,
0.0056892605,
-0.07237022,
-0.022870122,
0.025852567,
-0.0015539456,
0.022813583,
0.03556318,
0.0027156502,
-0.027958652,
0.06609437,
0.040877867,
-0.009378446,
0.02303974,
-0.025993913,
0.009590468,
0.011159432,
-0.029287325,
-0.0129192155,
-0.01813496,
0.06892133,
0.022205785,
-0.019972485,
0.027082294,
-0.09159356,
-0.049160868,
0.044157144,
-0.019025452,
-0.0002835796,
-0.018728621,
0.0005384479,
0.025456792,
-0.013915719,
-0.038135715,
-0.02110327,
-0.0024859596,
-0.0010645278,
0.04229135,
0.028721932,
0.011590543,
-0.012346756,
-0.029796178,
0.04590986,
-0.040877867,
-0.0207499,
-0.034121428,
0.0054772384,
-0.0064878776,
-0.00015194919,
-0.027082294,
-0.018884106,
-0.023548592,
-0.0076115946,
-0.013032294,
-0.022587424,
0.0129192155,
-0.018559005,
-0.009604603,
0.04223481,
0.02959829,
-0.04670141,
-0.025315443,
-0.016071279,
-0.0048235036,
-0.011809633,
0.0019859406,
-0.02325176,
-0.02368994,
-0.03180332,
0.049189135,
-0.0316337,
-0.008636368,
0.0064596077,
-0.045825053,
-0.026446227,
0.014127742,
0.012396228,
-0.056737125,
0.0062369844,
-0.036524348,
0.008169919,
-0.08243421,
0.0005309388,
-0.041923843,
-0.0055726487,
-0.013675428,
0.033895273,
-0.018587274,
-0.028269619,
0.01998662,
0.028524045,
0.0060850354,
0.03697666,
-0.035421833,
-0.06632052,
-0.01813496,
-0.014671932,
-0.009717681,
0.029287325,
-0.038785916,
0.0010309577,
-0.008643436,
0.02033999,
-0.04313944,
-0.005148604,
-0.031407546,
-0.02156972,
0.02404331,
-0.0091946935,
0.030305032,
0.032142557,
-0.0016661406,
0.021442505,
0.020976057,
-0.0002334452,
0.012071127,
-0.030248491,
-0.06564205,
0.038192254,
-0.031435814,
-0.012021655,
0.006777641,
-0.022120977,
-0.013731967,
-0.0035690393,
0.005123868,
0.08610926,
0.023817154,
-0.01089087,
-0.05639789,
0.0075833253,
0.008593964,
0.002351679,
0.0061627766,
-0.0013622423,
-0.027958652,
-0.022884255,
-0.008961469,
-0.041273642,
-0.009060413,
-0.0009814858,
0.007491449,
0.0012217775,
0.0399167,
-0.03183159,
-0.061231993,
-0.016975906,
0.02333657,
0.000545957,
0.025485061,
0.011067555,
0.0058235414,
0.017498894,
0.062419318,
-0.0055938507,
-0.00296831,
-0.015237324,
0.036920123,
0.0011882074,
-0.0756495,
0.026050454,
0.012106464,
-0.04090614,
-0.09125433,
-0.028354427,
0.0034683289,
0.00833247,
-0.03839014,
-0.01739995,
-0.015604829,
-0.040171128,
0.0029594756,
0.022813583,
0.009703547,
0.0068412474,
-0.025527466,
-0.015095976,
-0.060327366,
0.006466675,
0.06807324,
-0.029145977,
-0.021470776,
-0.030644266,
-0.043817908,
0.01739995,
-0.02959829,
0.039125152,
-0.023124548,
0.029824447,
0.0019612047,
0.036411267,
0.06993903,
-0.019746328,
0.03183159,
0.0144316405,
-0.039040342,
-0.0399167,
-0.047181994,
0.034686822,
0.008353672,
0.019449497,
-0.005494907,
0.051648594,
0.039577466,
0.001538044,
-0.008940266,
-0.04000151,
-0.015067707,
-0.061231993,
-0.021315292,
0.021060865,
-0.035252213,
-0.005304087,
-0.001388745,
0.012799069,
-0.021004327,
-0.03188813,
-0.00039489122,
-0.019364689,
-0.017272737,
-0.032849297,
-0.045655433,
-0.06575513,
-0.01737168,
-0.04588159,
-0.014530584,
0.0013065864,
0.03773994,
-0.022587424,
-0.0040107523,
0.014982898,
0.011371454,
0.015124246,
0.00012776542,
0.00016939685,
-0.0026290745,
-0.06694245,
0.021880684,
-0.0376834,
0.047549497,
0.028198944,
-0.01998662,
-0.021668663,
-0.03248179,
-0.012982822,
-0.0086787725,
-0.011548139,
0.022728773,
0.004463066,
-0.032283906,
-0.020905383,
0.0593662,
-0.024128119,
-0.0055585136,
-0.034291048,
-0.049895875,
0.03788129,
0.0354501,
0.036693964,
0.03177505,
0.010742455,
-0.022855986,
-0.005699862,
0.048425857,
0.010056917,
0.018092556,
-0.009590468,
0.01780986,
-0.008890795,
-0.038785916,
0.0772326,
0.056086924,
-0.017202063,
0.032990646,
0.025258904,
-0.007265292,
-0.017710917,
-0.0533165,
0.020862978,
0.061740845,
0.014657797,
-0.004021353,
-0.013597687,
0.001816323,
-0.028736066,
0.032962374,
-0.034997787,
-0.027322587,
-0.002849931,
-0.057415593,
0.021979628,
-0.025810162,
0.013823844,
0.027393261,
0.012947485,
0.0007036485,
0.017131388,
-0.035761066,
0.023661671,
0.04435503,
-0.09362897,
-0.053797085,
0.03561972,
-0.0028976358,
-0.06055352,
-0.041019216,
0.016990041,
0.08695734,
0.010714185,
0.012565846,
-0.04757777,
-0.018884106,
0.05317515,
0.028297888,
-0.06219316,
0.0068659834,
-0.013943989,
0.017682645,
-0.0016237362,
0.0079437625,
0.032340445,
0.013187777,
0.027195374,
-0.00961167,
-0.033584308,
-0.030502917,
0.015477616,
-0.013880382,
0.023520323,
-0.0019629716,
0.021470776,
-0.031351008,
0.011632948,
-0.0050107897,
0.06518974,
-0.0029718436,
0.04678622,
-0.022530885,
0.023449648,
0.002565468,
-0.05034819,
-0.012693059,
0.014558854,
-0.011675352,
0.004335853,
0.03027676,
-0.028015193,
-0.023322435,
-0.0013216047,
0.01807842,
0.021032596,
-0.0016104848,
-0.013647159,
0.0000030712843,
-0.02597978,
0.027294317,
-0.026248341,
-0.035958953,
0.009526861,
0.01998662,
0.035195675,
0.02045307,
-0.0068765846,
0.011632948,
0.044298492,
0.060157746,
0.004675088,
0.029089438,
0.009145222,
0.041952115,
-0.029089438,
0.023407243,
0.007682269,
-0.027294317,
-0.012940418,
-0.031690244,
-0.012806137,
0.00281106,
-0.023025604,
-0.026177667,
-0.010396152,
-0.002409985,
0.0029771442,
-0.040934406,
0.041725956,
-0.028354427,
-0.0045761443,
0.03983189,
-0.028184809,
-0.0159582,
0.02698335,
0.0063429954,
0.010834332,
0.0648505,
0.037061468,
0.034912977,
0.10148793,
0.015053572,
0.0517334,
-0.012028723,
-0.0016935269,
-0.009632872,
0.0012659489,
0.01366836,
0.025202366,
-0.00020870929,
0.012106464,
-0.02262983,
0.02134356,
0.017159658,
0.010982746,
-0.028849145,
0.020707496,
0.010417354,
-0.016848693,
0.014071203,
0.10974266,
0.04511831,
0.038050905,
0.0046326835,
-0.0043782573,
-0.04234789,
-0.0018604943,
-0.0006484344,
0.029796178,
-0.012700126,
-0.031548895,
-0.0065232143,
-0.05863119,
-0.003286343,
0.014134809,
-0.008014437,
-0.037853017,
0.042743664,
0.056567505,
0.016240895,
0.039294768,
0.019322284,
-0.0122690145,
0.024340142,
0.087635815,
-0.016141953,
0.04955664,
-0.00020881972,
-0.020580282,
-0.025527466,
0.00052342966,
-0.005982558,
-0.027647687,
0.022912527,
-0.0079437625,
-0.018318713,
-0.027294317,
-0.014071203,
-0.014898089,
0.01739995,
-0.013286721,
-0.04141499,
-0.0074349097,
-0.026050454,
-0.0740664,
-0.04752123,
-0.04296982,
-0.00008834256,
-0.009286569,
-0.0032898767,
0.0003357017,
-0.04288501,
0.23701248,
0.069995575,
0.03327334,
0.019604981,
0.03482817,
0.049330484,
0.010685916,
-0.029937526,
-0.012685991,
-0.055578068,
0.00641367,
-0.016000604,
0.0010424422,
0.029909257,
-0.043902718,
0.03923823,
-0.009116952,
-0.0034647952,
0.020523744,
-0.036920123,
-0.03185986,
0.0046962905,
0.018332848,
0.01209233,
0.017922938,
0.0025902037,
0.023675805,
-0.032905836,
0.010198264,
-0.03853149,
-0.02409985,
-0.011067555,
0.017498894,
-0.021329427,
-0.031266198,
0.01927988,
0.013788506,
0.011993386,
-0.012000453,
-0.043167707,
-0.023774749,
-0.0024912602,
-0.012155936,
-0.029287325,
-0.044694267,
0.083169214,
-0.0015680804,
-0.00015647676,
0.047719117,
-0.050122034,
0.052270524,
-0.005046127,
0.025612274,
0.0043853247,
-0.053514387,
0.021753471,
-0.03765513,
-0.012346756,
0.00068200455,
0.005653924,
0.070617504,
-0.0050955988,
-0.02633315,
0.016481187,
-0.023378974,
0.028198944,
-0.02627661,
0.035082597,
-0.062419318,
-0.040086318,
-0.002814594,
0.0067211017,
-0.028820876,
-0.019675653,
0.021258753,
0.033725653,
0.027025755,
0.033047184,
-0.017611973,
-0.013703697,
0.010162928,
0.0137249,
-0.02475005,
-0.018855836,
0.04893471,
-0.0048517734,
-0.014671932,
-0.019845271,
-0.010806061,
-0.002470058,
0.025527466,
0.04520312,
-0.033725653,
-0.03556318,
0.030983502
] |
yml
compute_environment: LOCAL_MACHINE
deepspeed_config:
gradient_accumulation_steps: 1
gradient_clipping: 0.7
offload_optimizer_device: cpu
offload_param_device: cpu
zero3_init_flag: true
zero_stage: 2
distributed_type: DEEPSPEED
downcast_bf16: 'no'
machine_rank: 0
main_training_function: main
mixed_precision: bf16
num_machines: 1
num_processes: 4
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false |
[
0.023899665,
0.03239991,
-0.031497486,
0.052224115,
-0.020391857,
0.008754962,
-0.016272731,
0.0032694654,
0.01518109,
0.034117427,
-0.018223131,
0.012692148,
0.037261352,
-0.014278667,
0.023099128,
0.028266229,
0.0126630375,
-0.029605309,
-0.050215494,
-0.003082067,
0.0023342927,
0.040201508,
-0.08098522,
-0.01989698,
-0.012386489,
-0.0019303855,
-0.02625761,
-0.03996862,
0.041540585,
0.005425457,
-0.022065707,
0.012961419,
-0.0085803,
0.0027782267,
0.003327686,
-0.019416658,
0.007441354,
-0.013987563,
-0.0647416,
-0.027145477,
0.012582984,
0.02157083,
0.02053741,
0.0030529564,
-0.09944124,
0.007219387,
0.01049431,
0.00842747,
-0.023492118,
0.00059403473,
0.019125553,
0.07516313,
0.003995407,
-0.024525538,
-0.061830558,
-0.029983744,
-0.023157349,
-0.010516143,
-0.020770293,
0.036795586,
0.025777288,
0.02430721,
-0.033506107,
0.0010115874,
0.00038048244,
0.04593626,
-0.028411781,
-0.036970247,
-0.043549206,
-0.03839666,
-0.015093759,
0.034699634,
0.011920721,
0.0023433897,
-0.039648406,
0.057667766,
0.016330952,
-0.00047213482,
-0.012794035,
0.021716382,
0.04113304,
0.03501985,
0.012743091,
-0.020027976,
-0.04055083,
-0.03921175,
0.026912594,
-0.018761674,
-0.024772977,
-0.0116223395,
-0.030740615,
0.046081815,
-0.017873805,
0.008492968,
0.0054764,
0.018659787,
-0.008216419,
0.017902916,
0.0078743715,
0.007070196,
0.040026844,
0.07335829,
-0.002123242,
0.025733622,
-0.021599941,
0.02023175,
0.0432581,
-0.014773544,
-0.033447884,
-0.0063642683,
-0.029139541,
0.010960078,
0.0022997241,
0.0013036015,
-0.014067616,
0.003635165,
0.013390798,
0.017116934,
-0.013034196,
0.016141735,
-0.019576766,
-0.011294847,
-0.0046867793,
-0.064450495,
-0.0051743793,
-0.032050584,
-0.039386414,
0.03239991,
-0.03912442,
-0.036562704,
-0.008536634,
-0.02844089,
0.00994849,
0.04180258,
-0.011185683,
0.01989698,
0.031148162,
0.011782447,
0.03589316,
-0.058453746,
0.03155571,
-0.008871404,
0.023171904,
0.09583154,
-0.0076560434,
-0.007837984,
-0.013791067,
-0.029095877,
-0.02589373,
0.044975616,
-0.058890402,
-0.021585384,
0.0011807919,
0.0390662,
0.007168444,
-0.0008646708,
-0.001049795,
0.04456807,
0.014322332,
0.012903199,
-0.025995616,
0.0032476324,
-0.038891535,
0.0069683096,
0.009417225,
0.014402386,
-0.042675894,
-0.010632585,
0.0059276116,
-0.01280859,
0.022123927,
0.026941704,
0.035543837,
0.0015665051,
0.024729311,
0.0035787637,
0.027887793,
0.014991872,
0.00059676386,
0.023171904,
-0.0323708,
-0.010530699,
0.05397074,
-0.0006190515,
0.026970815,
0.03178859,
-0.002394333,
0.029954635,
-0.0390662,
-0.031875923,
0.0011944374,
0.052980985,
-0.045237612,
0.00909701,
-0.01649106,
-0.017233375,
-0.012743091,
-0.022196705,
0.00839836,
-0.06375185,
-0.008281918,
0.019765982,
-0.028819328,
-0.022677027,
0.017335262,
-0.01730615,
0.0145261055,
0.026519604,
0.020129863,
-0.010574364,
0.04657669,
0.009933935,
-0.011309403,
-0.0049342182,
0.045645155,
0.046955127,
-0.042763226,
0.00091925287,
0.025136858,
0.0024052495,
0.0063424353,
0.03912442,
0.032603685,
0.019722318,
0.0432581,
-0.033360556,
-0.011993498,
0.053999852,
0.021352502,
0.033476997,
0.00067272387,
0.03976485,
-0.02863011,
0.037232243,
-0.014584326,
-0.01299053,
0.042151906,
0.04095838,
-0.044830065,
0.033273224,
-0.0118188355,
0.018150354,
0.028702885,
0.04188991,
0.005156185,
-0.0088932365,
0.020260861,
0.0005248975,
-0.02028997,
0.009562776,
-0.07231031,
0.042151906,
0.002095951,
-0.013361688,
-0.05047749,
-0.0036497205,
-0.0010397882,
0.017451704,
-0.018907225,
0.011520454,
0.014409664,
-0.018354127,
-0.016389173,
0.002503497,
0.007976258,
0.04177347,
-0.0024070689,
0.033797212,
0.041948132,
0.00065362017,
-0.008922347,
-0.0072266646,
-0.025224188,
-0.027072702,
-0.031351935,
0.021308836,
0.03036218,
-0.035485618,
0.0037334128,
-0.017277041,
0.053854298,
0.037406903,
0.0005544628,
0.038862426,
0.019460324,
0.0039626574,
-0.01730615,
-0.023754112,
-0.05379608,
0.0022997241,
-0.024540095,
-0.0533012,
0.034728743,
-0.0061677727,
0.038483992,
0.013711013,
0.016301842,
-0.0065971515,
-0.0018812616,
0.013827455,
0.0045521436,
-0.008165476,
0.040521722,
-0.0009943031,
-0.03970663,
0.020828513,
0.003036582,
-0.054145403,
0.021367056,
0.037581567,
-0.0252533,
0.039619297,
0.037348684,
0.014773544,
-0.05318476,
0.048527088,
0.020348191,
-0.04264678,
-0.032516353,
-0.08686553,
-0.011418567,
-0.0020195362,
-0.0069537545,
-0.04183169,
-0.022415033,
0.04442252,
-0.056794453,
-0.08302295,
0.027887793,
-0.018456014,
-0.01794658,
-0.038251106,
0.010297815,
-0.014278667,
-0.01548675,
0.033913653,
-0.06532381,
0.0042428453,
-0.020522853,
-0.0024743867,
-0.033535216,
0.010399702,
0.054785833,
0.04986617,
-0.0013163374,
0.0043483707,
0.03903709,
-0.010683528,
0.0073358286,
-0.027800461,
0.014256834,
-0.048992857,
0.010749027,
0.007510491,
0.009970323,
-0.008995123,
-0.030245738,
0.023564894,
0.008623965,
0.0223277,
-0.01640373,
0.030915279,
0.047420893,
-0.02068296,
-0.021614496,
0.011877056,
0.00056174037,
-0.00447209,
0.032079697,
-0.0376689,
0.029474312,
-0.0020541048,
-0.037843563,
-0.02461287,
-0.0013345313,
-0.0346123,
0.019445768,
0.0471589,
0.04989528,
-0.037319575,
-0.010858191,
0.02056652,
0.035922274,
0.04317077,
0.0153703075,
0.00690645,
0.025631735,
0.028004235,
0.022094818,
-0.02558807,
-0.0065352917,
0.0077506523,
0.032021474,
-0.026970815,
0.00096792186,
-0.06881706,
0.067245096,
0.06276209,
0.028077012,
0.0027327419,
0.005847558,
-0.069166385,
0.010880024,
-0.034786966,
0.02062474,
0.001296324,
-0.04119126,
0.05193301,
0.012539319,
0.031089941,
-0.018237686,
-0.011345791,
-0.0052835434,
0.040725492,
0.018237686,
-0.017830139,
-0.03892065,
0.0012235478,
-0.023463007,
-0.005145269,
0.014773544,
-0.050128162,
-0.03778534,
0.022487808,
0.0432581,
-0.010159541,
-0.03164304,
-0.04384031,
-0.01956221,
-0.035514727,
-0.039473746,
0.008820461,
-0.030827947,
0.03239991,
-0.03635893,
0.01101102,
0.013521795,
-0.025835508,
0.004865081,
-0.041511476,
-0.020406412,
-0.000077779434,
0.009257117,
0.031613927,
-0.015253866,
-0.0068227574,
-0.0071393335,
-0.017684586,
0.031468377,
-0.022982685,
0.012939587,
-0.02352123,
0.02260425,
-0.052311447,
0.02455465,
-0.002670882,
-0.0022451421,
0.03842577,
0.022007486,
0.035340063,
-0.029430646,
0.013943897,
0.00964283,
-0.08238252,
0.0027545746,
0.018849004,
-0.018339572,
-0.01925655,
0.062005218,
-0.022153039,
-0.017015047,
0.024452763,
0.02759669,
-0.01652017,
-0.007324912,
-0.048148654,
0.023055462,
-0.00029974646,
0.023433898,
0.020115308,
-0.06765264,
0.04517939,
-0.017480815,
-0.020974066,
0.011040132,
-0.059967488,
-0.025398852,
0.010923689,
-0.0011671464,
0.0252533,
-0.022225814,
-0.022385921,
-0.022036597,
-0.0223277,
-0.040055953,
-0.013791067,
-0.016272731,
0.027203698,
0.050564818,
0.036300708,
-0.021396168,
-0.063169636,
-0.043054327,
0.06206344,
-0.0605497,
0.0011243904,
-0.01724793,
0.009933935,
0.024729311,
0.0020923123,
-0.042850554,
-0.009395392,
-0.03231258,
0.03507807,
0.01646195,
0.0066590114,
-0.0099994335,
0.019169219,
0.013973007,
0.03496163,
0.0039007978,
-0.04791577,
-0.029925523,
0.025427962,
0.0025689956,
0.013492685,
0.028673775,
-0.036126047,
-0.049429514,
-0.07050546,
0.04095838,
-0.023797778,
-0.0053672357,
-0.03111905,
-0.06159767,
-0.005403624,
-0.00012406048,
0.041395035,
-0.017917471,
0.050069943,
-0.03499074,
0.01649106,
-0.08115988,
-0.0012872269,
-0.016432839,
-0.0012844978,
-0.03892065,
0.065382026,
-0.016229065,
0.019067332,
0.026999926,
0.076676875,
-0.0042028185,
0.025457073,
-0.049400404,
-0.01825224,
0.014948207,
0.007976258,
0.012582984,
-0.020042533,
0.007219387,
0.0031985086,
0.008929625,
0.009002401,
-0.024743866,
-0.0074377153,
-0.03106083,
-0.011513175,
0.03763979,
-0.037319575,
0.025631735,
-0.019110998,
0.0385131,
0.023928775,
0.042559452,
-0.05280632,
0.034117427,
-0.0021941988,
-0.085118905,
0.014125837,
-0.0034332115,
-0.042850554,
0.0041300426,
-0.0135509055,
0.022560585,
-0.05740577,
0.024714757,
0.064508714,
0.002698173,
0.01299053,
-0.057463992,
0.036679145,
0.045645155,
-0.028848438,
0.0011362166,
0.01101102,
-0.028804772,
0.0014018492,
-0.0028400866,
-0.018208575,
-0.034641415,
0.04386942,
0.026228499,
-0.005490955,
0.043025218,
-0.017422594,
-0.035369173,
-0.023492118,
0.044131413,
0.003911714,
0.018470569,
0.009744717,
0.047712,
0.0050579375,
0.028164342,
-0.020217195,
0.006073164,
0.019503988,
0.03996862,
-0.01710238,
-0.011214794,
0.011462232,
0.02263336,
-0.06415939,
-0.06619712,
0.0065098205,
-0.006990142,
0.009446335,
-0.014977317,
-0.0032476324,
-0.00089560065,
-0.047479115,
-0.0070774737,
0.014235001,
-0.026184833,
-0.007448632,
-0.024816643,
0.014919097,
-0.035805833,
-0.027902348,
0.059472613,
-0.009504556,
-0.0118188355,
-0.047508225,
-0.002004981,
-0.029459756,
-0.041482367,
0.029809082,
-0.0064807096,
0.017684586,
0.034757856,
0.027363805,
0.050069943,
-0.02659238,
0.07883105,
-0.0037297742,
-0.056503348,
-0.005425457,
-0.054378286,
-0.00040140556,
-0.0046285586,
0.0070265303,
-0.0036005965,
0.00034727834,
-0.008449303,
0.013303467,
-0.0029074044,
-0.106777065,
0.0025598987,
-0.033884544,
-0.026767042,
0.020915845,
-0.018601567,
-0.001022504,
0.013863843,
0.0009943031,
-0.021250615,
-0.06340252,
-0.0029383341,
-0.025689956,
-0.02290991,
-0.065382026,
0.011345791,
-0.06986503,
-0.01640373,
-0.036912028,
-0.01992609,
0.0153703075,
-0.016360063,
-0.014038506,
-0.0009119752,
-0.013390798,
0.012357378,
0.0039626574,
-0.012240936,
0.008442025,
0.003258549,
0.012204548,
0.0323708,
-0.006455238,
0.058308195,
0.012699426,
-0.004919663,
-0.004530311,
-0.010363313,
-0.03228347,
-0.025064081,
0.03039129,
0.08587577,
0.023288345,
-0.030478623,
0.017146043,
0.035048958,
-0.015020982,
-0.00056901795,
-0.044131413,
0.008034479,
-0.0020177169,
0.05522249,
-0.013456297,
0.027756797,
-0.0074195215,
-0.010290538,
0.03368077,
0.016010737,
-0.004151875,
0.0009224368,
-0.023171904,
0.040521722,
-0.0012508389,
-0.015472194,
0.057085555,
0.022371367,
0.013609127,
0.06544025,
0.021148728,
0.013165193,
0.002941973,
-0.0010406979,
-0.00022947208,
0.036620922,
0.0071793604,
-0.015239311,
-0.003489613,
-0.00037365968,
-0.050855923,
0.0052071284,
-0.032137915,
-0.0026545075,
0.0061932444,
-0.041424144,
-0.015777854,
-0.011716949,
0.0079398705,
0.018921781,
0.011949833,
-0.017597256,
0.00319487,
-0.001694773,
-0.009635553,
-0.008019924,
-0.014722601,
-0.04174436,
0.0044502574,
-0.004610365,
-0.037727118,
-0.022924464,
0.036155157,
0.06468338,
0.013725569,
-0.015967071,
-0.019212885,
-0.029357871,
0.005752949,
0.024772977,
-0.08581755,
0.005490955,
-0.040143285,
0.018921781,
-0.037086688,
0.041045707,
-0.008798628,
0.027436582,
0.0066044293,
0.0033367833,
0.02893577,
-0.007015614,
-0.011112907,
-0.01582152,
0.017422594,
0.0063788234,
0.018266795,
0.00842747,
0.025879174,
-0.027771352,
0.017597256,
0.026112057,
0.062296323,
0.010334203,
0.038076445,
-0.010043099,
-0.054116294,
-0.04439341,
0.0064734323,
0.0050433823,
-0.0044830064,
0.02977997,
-0.0066189845,
-0.007037447,
-0.0027436581,
0.020246305,
0.039648406,
-0.017335262,
-0.0000012330712,
-0.008172753,
0.0058038924,
0.0020431883,
-0.046780463,
-0.039648406,
0.058279082,
-0.0058002537,
0.070971236,
0.016272731,
0.009366281,
0.037261352,
0.034554083,
0.05874485,
-0.019271106,
0.022415033,
0.01210994,
0.036853805,
-0.01691316,
0.034816075,
-0.023171904,
0.005425457,
-0.009875714,
-0.0070228917,
-0.00605497,
0.0049960776,
0.019503988,
-0.039619297,
0.013725569,
0.021017732,
-0.03440853,
-0.038833316,
0.029867303,
-0.03510718,
0.007495936,
-0.002294266,
-0.036329817,
-0.0018976362,
0.021134173,
-0.0024379985,
0.011971665,
0.027029036,
0.051700126,
0.018208575,
0.06596424,
0.019853314,
-0.013652792,
-0.02157083,
0.013630959,
-0.05597936,
-0.010974633,
0.018688897,
-0.0041009323,
-0.012939587,
-0.077608414,
-0.030565953,
-0.014285944,
0.04567427,
-0.0019158303,
-0.05196212,
0.037727118,
0.00064179406,
-0.013536351,
0.0016028931,
0.08989301,
0.021003176,
0.0029219596,
-0.004857803,
-0.024598315,
-0.054960493,
-0.025689956,
-0.036067825,
-0.013194303,
0.015981628,
-0.006382462,
-0.018164909,
-0.023288345,
-0.022167593,
0.025049526,
-0.038716875,
-0.05612491,
-0.0015383044,
0.012233659,
0.044597182,
0.033156782,
0.008165476,
-0.024743866,
0.035398286,
0.07865638,
-0.008798628,
0.02486031,
0.054116294,
-0.038367547,
-0.008740407,
0.03638804,
0.030216629,
-0.00007198009,
0.0065025426,
0.019955201,
0.003032943,
-0.03842577,
-0.02327379,
0.015312087,
0.016753053,
-0.018456014,
0.024743866,
-0.030129297,
-0.02969264,
-0.06549847,
-0.015675968,
-0.06369363,
0.003502349,
-0.033884544,
-0.06252921,
0.011207516,
-0.025442516,
0.25151414,
0.038047332,
0.037494235,
-0.0018576094,
-0.0022160315,
0.015312087,
0.047712,
-0.009715606,
0.009570055,
-0.07091301,
0.022778913,
-0.046809573,
0.041540585,
0.010661695,
-0.010487033,
0.04640203,
-0.033215,
0.0025944673,
-0.004344732,
-0.043694757,
-0.036853805,
-0.0134417415,
-0.010523421,
0.0622381,
0.007070196,
0.014831765,
-0.009409947,
-0.051554576,
0.048992857,
-0.007030169,
0.0034022818,
-0.01858701,
-0.0022869883,
0.0009961226,
-0.0008046305,
0.058395527,
-0.025034972,
0.0006900082,
-0.030478623,
-0.007845261,
0.032021474,
0.0019322049,
0.014744434,
-0.028120676,
-0.005101603,
0.04043439,
0.02017353,
0.04721712,
0.016694833,
-0.022415033,
0.0304204,
-0.04788666,
0.000556737,
-0.012066274,
-0.048148654,
0.03665003,
0.00961372,
-0.0032931175,
0.0042173737,
0.018936336,
0.043694757,
-0.009053344,
-0.023448452,
0.00788165,
0.0035132652,
0.013318023,
0.017087823,
0.031089941,
-0.010159541,
-0.056183133,
-0.00092471106,
-0.05318476,
-0.0075250464,
-0.05595025,
0.013463574,
-0.01180428,
0.033244114,
0.0117096715,
-0.0063751843,
-0.03309856,
0.04657669,
0.003824383,
-0.041540585,
-0.04049261,
-0.003544195,
0.023346566,
-0.036096934,
0.0031512042,
-0.023856,
0.020013422,
-0.003911714,
0.028208008,
-0.019038223,
0.021585384,
0.015108314
] | The accelerate_launch command is the recommended way to launch your training script on a distributed system with Accelerate and [Trainer] with the parameters specified in config_file.yaml. This file is saved to the Accelerate cache folder and automatically loaded when you run accelerate_launch.
For example, to run the run_glue.py training script with the FSDP configuration: |
[
0.0030345838,
0.040029146,
-0.013794217,
0.035680655,
-0.052066687,
-0.0034665528,
-0.03297365,
-0.0011969147,
-0.010648041,
0.057048734,
-0.019337822,
0.020417744,
0.056731958,
-0.030122653,
0.039251603,
0.03916521,
-0.01768194,
-0.023599917,
-0.08023108,
0.0034575535,
-0.015939664,
0.009085752,
-0.06986382,
0.0072174855,
-0.033895183,
-0.01205914,
-0.04043232,
-0.03354961,
0.043801676,
0.019323424,
-0.02063373,
0.014420572,
0.007919435,
-0.010352862,
-0.023124753,
-0.004798458,
-0.001108721,
0.0016756805,
-0.08754576,
-0.023657514,
-0.02551498,
-0.0008526892,
0.023614317,
-0.010691238,
-0.08852489,
0.0041937013,
0.020676926,
-0.0015775876,
-0.056847148,
-0.030813804,
0.011756762,
0.04478081,
0.021108896,
-0.02076332,
-0.028711554,
-0.034989506,
-0.017422758,
0.009992888,
-0.028380377,
0.04279375,
0.006184359,
0.029777078,
-0.032138508,
-0.0054248134,
0.018761862,
0.040893085,
-0.03210971,
-0.034039173,
-0.036918968,
-0.037235744,
-0.03452874,
0.037638918,
0.0017755735,
-0.019424215,
-0.0126279,
0.045385566,
0.017293168,
0.004377288,
0.01234712,
0.047199834,
0.03622782,
0.041584235,
0.012419115,
-0.006483138,
-0.026105339,
-0.019899381,
0.035882242,
-0.04308173,
0.00350975,
-0.031044187,
-0.02764603,
0.0350759,
0.0012869083,
-0.0065875305,
-0.005723592,
0.013196659,
-0.014600559,
0.0141037945,
0.01487414,
0.01753795,
0.03622782,
0.03438475,
-0.001010628,
0.017998718,
-0.027314853,
-0.0048236563,
0.021368077,
-0.0048740525,
-0.029661886,
-0.0057703885,
-0.024579048,
-0.011663169,
0.011058412,
-0.015046927,
-0.003480952,
0.002203043,
0.0021256485,
-0.0017764734,
-0.060302902,
-0.012051941,
-0.013225458,
-0.020720122,
-0.013131864,
-0.04164183,
0.0029067928,
-0.04135385,
-0.017984318,
0.018747464,
-0.038358867,
-0.037926897,
-0.008430599,
-0.008603387,
0.040489916,
0.039625976,
0.009143348,
0.027300455,
0.01221033,
0.023859099,
-0.0047768597,
-0.04336971,
0.023801504,
-0.0013130064,
0.045702342,
0.090310365,
0.00027988004,
-0.011684767,
-0.016961992,
-0.031850528,
-0.05232587,
0.019913781,
-0.04852454,
-0.02217442,
0.0027538037,
0.04518398,
0.016616415,
-0.004658068,
-0.027314853,
0.043744083,
0.0028095997,
0.009157747,
-0.0098273,
0.023916695,
-0.03481672,
0.016889997,
0.020417744,
0.03182173,
-0.044032063,
-0.015478897,
0.0065443334,
-0.022001632,
0.04000035,
0.0006479538,
0.017192375,
-0.006695523,
0.019884983,
0.010777632,
0.055263262,
0.05246986,
-0.013369447,
-0.010698438,
-0.014319779,
0.0028437972,
0.05301702,
0.0038949223,
0.0032721667,
0.021915238,
-0.0033405619,
0.030525824,
-0.04656628,
-0.01850268,
-0.0034737524,
0.039885156,
-0.020648127,
0.007912236,
-0.020576134,
-0.03746613,
-0.01753795,
-0.03743733,
0.01569488,
-0.056904744,
0.0034521539,
0.031332165,
-0.007030299,
-0.007869039,
0.033434417,
-0.027026873,
0.0035745453,
0.037408534,
0.015939664,
-0.0020446542,
0.034010377,
0.011475982,
-0.02061933,
-0.00813542,
0.034067973,
0.050050832,
-0.028668357,
-0.009215343,
0.020705724,
0.0080058295,
0.02161286,
0.001319306,
0.035968635,
0.009035356,
0.021440072,
-0.017365163,
0.01347024,
0.058891803,
0.02581736,
0.031792935,
-0.01627084,
0.028106797,
0.011058412,
0.059726942,
-0.023599917,
0.00799143,
0.030266643,
0.04164183,
-0.015248513,
0.031015389,
0.027487641,
-0.01038886,
0.006857511,
0.048495743,
0.023729509,
-0.008041827,
0.01178556,
0.0020284555,
-0.05416894,
-0.0070230993,
-0.06185799,
0.008034627,
0.0068539116,
-0.03354961,
-0.059554156,
-0.005414014,
0.01024487,
0.0060799667,
-0.0016999788,
-0.014658155,
0.025615774,
0.025025416,
0.0005854083,
0.0041901013,
0.021670455,
0.039885156,
-0.0053852163,
0.01569488,
0.054485716,
-0.013981404,
0.015277311,
-0.053909756,
-0.02313915,
-0.02328314,
0.00168378,
-0.011447184,
-0.002707007,
-0.019870583,
-0.028394775,
-0.021051299,
0.051692314,
0.018747464,
0.012555905,
0.052930627,
0.022332808,
0.009330535,
0.0084162,
-0.021670455,
-0.009784102,
-0.012973475,
0.011339191,
-0.053420193,
0.03856045,
-0.0070914947,
0.046796665,
-0.029373907,
0.014089395,
-0.0051548327,
-0.013275853,
0.011540777,
-0.02048974,
0.017033987,
0.045702342,
0.009704908,
-0.02427667,
0.018545877,
0.02174245,
-0.058431037,
0.027674828,
0.04100828,
-0.008315408,
0.016774805,
0.028063599,
0.004686866,
-0.04115227,
0.020273754,
0.037264545,
-0.064564995,
-0.041296255,
-0.07510505,
-0.013563833,
-0.00024298269,
-0.0077178497,
-0.016285239,
0.007465868,
0.05105876,
-0.05318981,
-0.09555159,
0.017638743,
-0.020259356,
-0.015118922,
-0.036774978,
0.0023632315,
-0.021281684,
-0.02036015,
0.029633088,
-0.06416183,
-0.005683995,
-0.020115366,
0.0011834156,
-0.01837309,
0.019453013,
0.035968635,
0.06381625,
0.01361423,
-0.00898496,
0.04521278,
-0.02145447,
0.010007286,
-0.024780633,
0.009697709,
-0.03657339,
0.0026620103,
0.005723592,
0.037494928,
0.017422758,
-0.037379734,
0.015248513,
0.029575491,
-0.028423574,
-0.008480996,
-0.00046886658,
0.02512621,
-0.016213244,
-0.04106587,
-0.004812857,
0.019712195,
0.026062142,
0.028812347,
-0.040317126,
0.046911858,
-0.014888539,
-0.006270753,
-0.00068575115,
-0.004841655,
-0.054543313,
0.046076715,
0.014132593,
0.04463682,
-0.056731958,
-0.011461583,
0.008193016,
0.017177975,
0.014384574,
0.031994518,
0.004028113,
0.003254168,
0.03072741,
0.002919392,
-0.011821558,
0.011987146,
0.026724495,
0.039453186,
-0.008041827,
0.0056012007,
-0.07516264,
0.05566643,
0.05059799,
0.018488282,
-0.012836685,
0.024737436,
-0.04604792,
0.0043016933,
0.017177975,
0.039107613,
-0.012455112,
-0.030007461,
0.018747464,
0.045126382,
0.034067973,
-0.011972747,
-0.023052758,
-0.00687911,
0.0043664887,
0.013131864,
0.01290148,
-0.024463857,
-0.021540865,
-0.047343824,
0.030957794,
-0.009272939,
-0.06064848,
-0.06502576,
0.020792117,
0.056415178,
-0.0073110787,
-0.017883526,
-0.058056664,
-0.01724997,
-0.007069896,
-0.045817535,
-0.0061807595,
-0.04812137,
0.0038625246,
-0.023196748,
-0.016659612,
0.017725136,
-0.030641016,
-0.005147633,
-0.027127666,
-0.04463682,
0.030957794,
0.019971376,
0.010648041,
-0.0054068146,
0.010489652,
-0.014830943,
-0.0076962514,
0.02554378,
-0.019798588,
0.030007461,
-0.035882242,
0.0155940885,
-0.039625976,
0.012721493,
-0.039683573,
0.016342836,
0.02833718,
0.037955694,
0.03593984,
-0.024435058,
0.023585519,
0.036918968,
-0.058027864,
-0.010540049,
0.012714294,
-0.012699895,
-0.025457386,
0.060130116,
-0.0030039859,
-0.010813629,
0.051721115,
0.047948584,
-0.013715022,
0.03856045,
-0.03282966,
0.042304184,
-0.012296723,
0.005104436,
-0.0124695115,
-0.06934546,
0.022980763,
-0.006522735,
-0.027329251,
0.0057127927,
-0.06623528,
-0.0064435406,
-0.0034341551,
-0.030381834,
0.026033344,
-0.00041149568,
-0.04279375,
-0.019193832,
-0.021483269,
-0.002649411,
-0.0009053355,
-0.01755235,
0.02076332,
0.056616765,
0.019021044,
-0.0055076075,
-0.059554156,
-0.020244958,
0.07280121,
-0.0630675,
-0.012930279,
-0.030525824,
0.02048974,
0.01850268,
-0.001922263,
-0.037667714,
-0.008804972,
-0.017480355,
0.028956337,
0.03196572,
-0.03156255,
-0.010482453,
-0.017062783,
0.017293168,
0.012498309,
0.0006200558,
-0.052930627,
-0.022073627,
0.012671097,
0.032628074,
0.028409176,
0.017033987,
-0.02063373,
-0.02609094,
-0.038790837,
0.01347024,
0.0018736664,
-0.016530022,
-0.03435595,
-0.059150983,
-0.01473015,
0.005360018,
0.042419378,
0.003675338,
0.03913641,
-0.05722152,
0.0002679559,
-0.08547231,
-0.003156975,
-0.02398869,
0.02722846,
-0.007674653,
0.037552524,
-0.029633088,
-0.0060547683,
0.011159205,
0.03729334,
0.0074010724,
0.011303195,
-0.049618863,
-0.039453186,
0.007602658,
0.0077250493,
0.009452926,
-0.0021868441,
-0.031072985,
-0.0016765805,
-0.00996409,
0.006295951,
-0.029028332,
0.010172875,
-0.045270372,
0.022620788,
0.021296082,
-0.029229917,
0.03622782,
-0.029201118,
0.030525824,
0.028999534,
0.05414014,
-0.051404335,
0.04167063,
-0.006900708,
-0.089388825,
0.025558177,
-0.007840241,
-0.031101784,
0.0067711174,
-0.00025558178,
0.011526379,
-0.022908768,
0.0029355907,
0.065486535,
0.0043268916,
0.0020464542,
-0.057307914,
0.019625802,
0.043254517,
0.003392758,
0.017221173,
0.0014299981,
-0.04996444,
-0.016098052,
0.006789116,
-0.029287513,
0.007282281,
0.04797738,
0.0057919873,
-0.00631755,
0.041814618,
-0.028279584,
-0.02989227,
-0.023239944,
0.010129678,
-0.008992159,
0.026033344,
0.0070087006,
0.035709456,
0.03521989,
0.049993236,
-0.021843243,
0.016342836,
0.0025396189,
0.060418095,
-0.014830943,
-0.0037689314,
0.012390316,
0.025572577,
-0.03380879,
-0.06341308,
-0.009013757,
0.019150635,
0.022376005,
-0.005795587,
-0.017307566,
0.016011659,
-0.054917686,
-0.0024838229,
0.02355672,
-0.026047744,
-0.016198846,
-0.014758948,
0.016328435,
-0.061051648,
-0.027703626,
0.0715917,
0.006295951,
-0.0027754023,
-0.03421196,
0.021627259,
-0.021195289,
-0.030612217,
0.014902938,
0.01038886,
0.016069254,
0.012995074,
0.04993564,
0.04406086,
-0.008776175,
0.069518246,
0.016371634,
-0.056847148,
-0.024463857,
-0.046364695,
0.015795674,
-0.02146887,
0.014614958,
-0.027746823,
0.045961525,
-0.0012473111,
0.012267926,
-0.0025072212,
-0.09624274,
0.0007892437,
-0.03467273,
-0.008243413,
0.009409729,
-0.017350763,
-0.02623493,
0.04869733,
0.0019978576,
-0.006508336,
-0.008214614,
-0.01949621,
-0.0294747,
-0.02231841,
-0.035738252,
0.010568847,
-0.05653037,
-0.0019402617,
-0.027876412,
-0.043974467,
0.0055472045,
0.015118922,
-0.0042872946,
-0.008322607,
0.0030921795,
0.007948234,
0.008495394,
-0.010482453,
-0.019841786,
0.00039079715,
-0.009704908,
-0.00058315846,
-0.008473796,
0.042678557,
0.04590393,
-0.028164392,
0.013765419,
0.009748105,
-0.02046094,
-0.055551242,
-0.0045680744,
0.069806226,
0.043801676,
-0.05488889,
-0.006720721,
0.02862516,
-0.026004547,
-0.018272297,
-0.01922263,
-0.020518538,
0.0052304273,
0.032224905,
-0.00575599,
0.023671912,
-0.0009048855,
0.011850355,
0.014118194,
0.034874313,
-0.0032487684,
-0.0053564184,
-0.027574034,
0.031188177,
-0.025025416,
-0.0052520256,
0.06295231,
0.051289145,
0.010619243,
0.032138508,
0.020806517,
0.0072606825,
-0.015061326,
-0.013117465,
0.0041505042,
0.054514516,
0.03182173,
-0.00869698,
-0.01205914,
-0.0070123,
-0.048870116,
-0.0010745234,
-0.041872215,
-0.03899242,
-0.009308936,
-0.016357234,
-0.019553807,
-0.016861198,
-0.01361423,
-0.013477439,
-0.028509967,
-0.013815816,
-0.010288067,
0.00029517896,
-0.0009413329,
-0.024348665,
-0.0252558,
-0.04532797,
0.022519995,
-0.01920823,
-0.06226116,
-0.039510783,
0.034327153,
0.057048734,
0.027127666,
-0.001990658,
0.0035133497,
-0.031216975,
0.0020032572,
0.045529556,
-0.078157626,
-0.0033441617,
-0.038790837,
-0.0039201207,
-0.028639559,
0.042736154,
-0.0078546405,
0.026926082,
-0.013621429,
-0.0074730674,
0.011907951,
0.013628629,
-0.00093143363,
-0.020547336,
0.014946135,
-0.001852068,
0.028956337,
0.019409817,
0.013095867,
-0.028351579,
0.031504955,
-0.00089588616,
0.085414715,
0.0070914947,
0.052210677,
0.004308893,
-0.0364582,
-0.029244315,
0.012102338,
0.014420572,
0.0073434766,
0.03902122,
-0.04264976,
-0.006000772,
0.003970517,
0.044579223,
0.04696945,
-0.0074010724,
-0.007883438,
-0.0034989505,
0.0016198845,
0.022001632,
-0.00040429618,
-0.04938848,
0.04855334,
0.015478897,
0.07343476,
0.007897837,
0.017048385,
0.007941034,
0.04025953,
0.065428935,
-0.005504008,
0.028538765,
0.0018394688,
0.04725743,
-0.025327794,
0.027300455,
-0.021512067,
0.012563105,
-0.034903113,
-0.01668841,
-0.00393092,
-0.0025576176,
0.0006709022,
-0.04276495,
0.009020957,
0.019525008,
-0.031418562,
-0.048294157,
0.028884342,
-0.05707753,
0.008092224,
-0.0049064504,
-0.024075083,
-0.013866211,
0.0015091924,
-0.019381018,
-0.01598286,
0.025601376,
0.04924449,
0.021411274,
0.057480704,
0.024823831,
0.015968462,
-0.010950419,
0.0006101565,
-0.041584235,
-0.012728693,
0.032628074,
0.021425674,
-0.010266468,
-0.06324029,
-0.03311764,
0.025011018,
0.023931094,
0.015637286,
-0.034183163,
0.01907864,
-0.000308903,
0.0038985221,
-0.024809431,
0.0771209,
0.024953421,
0.000021725014,
-0.037667714,
-0.02328314,
-0.057480704,
-0.0030777806,
-0.028279584,
0.030813804,
0.023628715,
-0.020446543,
-0.007458668,
-0.028639559,
-0.0063643465,
-0.0032091714,
-0.036630988,
-0.01835869,
0.0013508038,
0.010187274,
0.02708447,
0.034759123,
0.007336277,
-0.035536665,
0.06070607,
0.08034627,
-0.01879066,
0.04869733,
0.049042903,
-0.024046287,
-0.017134778,
0.06341308,
0.0024874227,
0.008020229,
0.012332721,
0.021684855,
-0.030641016,
-0.034125566,
-0.0060403696,
-0.019323424,
0.00757386,
-0.035133496,
0.01206634,
-0.013621429,
-0.03830127,
-0.07280121,
-0.023095954,
-0.051577125,
0.018344292,
-0.02411828,
-0.037754107,
0.026638102,
-0.0023002361,
0.24604966,
0.028380377,
0.0350759,
0.002761003,
-0.0038589248,
0.05794147,
0.044262446,
-0.0124695115,
0.031936925,
-0.110180944,
-0.006202358,
-0.07418351,
0.008444998,
0.010187274,
-0.0463359,
0.0462783,
-0.02917232,
-0.0015649884,
0.006990702,
-0.020964906,
-0.043110527,
0.056559168,
-0.0048956512,
0.048495743,
0.0107560335,
-0.018027514,
-0.00813542,
-0.052268274,
0.045558352,
0.0072282846,
-0.010835228,
-0.02737245,
0.0012617101,
0.011065612,
0.0018538679,
0.076372154,
0.0076386556,
0.016112452,
-0.02637892,
-0.025039814,
0.012332721,
-0.0029553894,
-0.012239127,
-0.01023047,
-0.0067567183,
0.04812137,
0.03032424,
0.028927539,
0.051145155,
-0.028365979,
0.031360965,
-0.04192981,
0.004053311,
-0.016011659,
-0.04097948,
0.014298181,
0.004701265,
-0.02230401,
0.0072786813,
0.00047021647,
0.07084295,
-0.0024460256,
-0.032138508,
0.01907864,
-0.00034670028,
0.029489098,
0.023067156,
0.033031244,
-0.010309665,
-0.05566643,
-0.001528991,
-0.011612772,
-0.01726437,
-0.056415178,
0.03294485,
-0.0107560335,
0.023686312,
0.02326874,
0.002537819,
-0.02048974,
0.016386032,
-0.019740993,
-0.028567564,
-0.039366793,
0.04823656,
0.015651684,
-0.026983676,
0.0014749948,
0.004341291,
0.0252702,
-0.013275853,
0.049734056,
-0.01627084,
-0.00491005,
0.014269383
] | Learn more about FSDP sharding strategies, CPU offloading, and more with the [Trainer] in the Fully Sharded Data Parallel guide.
To use Accelerate with [Trainer], run the accelerate.config command to set up training for your training environment. This command creates a config_file.yaml that'll be used when you launch your training script. For example, some example configurations you can setup are: |
[
0.025708094,
0.004988561,
-0.015490048,
0.032227237,
-0.025311276,
-0.0369607,
0.03500496,
0.001201081,
-0.01792764,
0.057141695,
0.0067423517,
0.025523858,
0.06745894,
-0.033190936,
-0.007192314,
0.01259895,
-0.0127831865,
-0.033134248,
-0.071994,
-0.01744579,
0.011862004,
-0.007447411,
-0.071257055,
0.01682222,
-0.028145686,
0.031065129,
-0.01605693,
0.009431497,
0.05252161,
0.031235192,
-0.020790394,
0.00837568,
-0.014668069,
-0.008956734,
-0.029109385,
-0.010331423,
-0.0017289898,
0.015787661,
-0.035345085,
-0.046739414,
0.03225558,
0.013335897,
0.0116990255,
-0.030554933,
-0.03494827,
-0.003861883,
-0.004814953,
0.013697284,
-0.0051479964,
-0.030838376,
0.008829186,
0.030724999,
0.029336138,
0.015532564,
-0.041269,
0.008474885,
-0.035741903,
0.03656388,
-0.034182977,
-0.005959346,
-0.00036847324,
0.03656388,
-0.0029247564,
-0.06706213,
0.04214767,
0.032283925,
-0.0153199835,
0.009743283,
-0.036252096,
0.021754093,
-0.04484036,
0.017870951,
-0.041070595,
-0.044188444,
-0.01550422,
0.037924398,
0.04665438,
-0.004173668,
-0.0016120704,
0.0023437024,
0.045463927,
0.075678736,
0.018437834,
-0.023483083,
-0.0424878,
-0.0405604,
0.039256573,
-0.0030930494,
-0.006657319,
0.013541391,
0.0029353853,
0.016921425,
-0.030469902,
0.002650173,
-0.026813515,
0.053485308,
-0.01304537,
0.0585589,
0.0066360612,
-0.009821229,
0.05439232,
0.07930678,
-0.019755835,
0.013236692,
-0.05087765,
0.0013888606,
0.021102179,
0.007652906,
-0.036648914,
-0.019529082,
0.034012914,
-0.0066750343,
-0.013555563,
0.01833863,
0.043593217,
0.01293908,
-0.0046130014,
-0.016893081,
-0.03364444,
-0.017134005,
0.046796102,
-0.028570848,
0.026076568,
0.0057503083,
-0.008148927,
-0.048695154,
-0.019812522,
0.04574737,
-0.022349318,
-0.0021417507,
-0.007964691,
-0.037499238,
0.0024889659,
-0.010055068,
0.0073978086,
-0.008644949,
0.0010620179,
0.0118053155,
0.03253902,
-0.008014292,
0.037952743,
-0.0061294106,
0.0075607873,
0.10578016,
0.006501427,
-0.0008737953,
0.03052659,
0.017417446,
-0.046427626,
0.0403053,
-0.028074825,
0.0009769856,
0.034863237,
0.03066831,
0.006522685,
0.0037945658,
-0.02305792,
0.042034294,
-0.002993845,
0.0035465548,
-0.000828179,
0.060259547,
0.0014552921,
0.021612372,
0.022618588,
0.07165387,
-0.03446642,
-0.057850298,
-0.03687567,
-0.044556916,
0.044528574,
0.021711577,
-0.02117304,
0.0030505331,
0.036025345,
-0.0021506082,
0.0072171153,
0.012790273,
-0.016581295,
0.04532221,
-0.042176012,
0.0011665367,
0.055752836,
0.0113163795,
0.024149168,
0.025112867,
-0.008226873,
-0.03800943,
-0.040248614,
-0.0021754093,
-0.017757576,
0.025311276,
-0.0046307165,
0.080667295,
0.01190452,
-0.031745385,
-0.03197214,
-0.0238799,
-0.015263295,
-0.060372923,
-0.014313768,
0.025949018,
-0.032368958,
0.005651104,
0.020591985,
-0.018948028,
-0.021413963,
0.06519142,
-0.023837384,
0.01142267,
0.049375415,
-0.022335147,
-0.010522746,
-0.027649665,
0.010636122,
0.029449515,
-0.016340371,
0.02070536,
0.042204358,
0.008552831,
0.02464519,
0.02872674,
0.0238799,
0.032368958,
-0.039029818,
-0.06978316,
-0.023993276,
0.039228227,
0.0405604,
0.033531066,
-0.0040496625,
0.02242018,
0.0010806186,
0.05980604,
0.00003515332,
0.0011001052,
0.047703113,
0.06411434,
-0.050282426,
0.016935596,
-0.017346587,
0.014172047,
0.019713318,
0.005583787,
0.043734938,
0.0018317371,
0.014583037,
0.005739679,
-0.02665762,
0.022632759,
-0.010522746,
0.027082782,
-0.00635262,
-0.009892089,
-0.062527075,
-0.020506952,
-0.011741541,
0.040361993,
-0.015348327,
-0.03772599,
0.014278338,
-0.015390843,
-0.0057680234,
-0.049318727,
0.045577306,
0.03931326,
-0.0030487617,
-0.0035624984,
0.029789643,
-0.034636483,
-0.010458971,
-0.01429251,
-0.025240416,
-0.03834956,
-0.03591197,
-0.003961087,
0.051047716,
0.025637234,
0.004690948,
-0.010614864,
-0.0048787273,
0.04166582,
0.029874677,
0.032567367,
0.016297854,
-0.009842487,
-0.028825944,
-0.0073907226,
-0.03372947,
0.006217986,
-0.028854288,
-0.0003399077,
0.020733705,
-0.017360758,
0.008977992,
-0.02090377,
0.010600692,
-0.01529164,
-0.009325207,
-0.015050715,
-0.01750248,
0.0025722266,
-0.021768264,
-0.027833901,
-0.060883116,
0.015461704,
0.04569068,
-0.027352052,
0.046796102,
0.016496263,
-0.008715809,
-0.0073056906,
0.01986921,
0.0069903624,
-0.04713623,
0.05821877,
0.035826936,
-0.034919925,
-0.044556916,
-0.052833393,
-0.031887107,
-0.017771747,
0.022689449,
-0.04838337,
-0.023724008,
0.046030812,
0.03004474,
-0.071483806,
0.046427626,
-0.045152143,
-0.0018299656,
0.0065439427,
-0.016850565,
0.05371206,
0.013250864,
0.0043153884,
-0.036733948,
-0.00039814596,
-0.028414955,
0.00716397,
0.014150789,
-0.03197214,
0.043224744,
0.02353977,
-0.024545986,
0.019330673,
0.053145178,
-0.018253596,
0.027805557,
0.00033149304,
0.018579554,
-0.024786912,
0.03316259,
0.029789643,
-0.027337879,
0.025637234,
-0.0297613,
-0.024801083,
0.017601684,
-0.031348567,
-0.04410341,
0.007830056,
-0.013491789,
0.0123863695,
-0.018593727,
-0.015206607,
-0.004265786,
0.025991535,
0.043621562,
-0.029789643,
0.020662846,
-0.017941812,
-0.032850806,
-0.009488186,
0.045662336,
-0.011961208,
0.0136689395,
0.009771626,
0.036167067,
-0.025552202,
-0.0523232,
0.058445524,
0.008623691,
0.039483324,
0.018522866,
0.04047537,
-0.042119324,
-0.031093473,
-0.053485308,
0.0028273235,
-0.0031036783,
-0.019188952,
-0.012152531,
0.01994007,
-0.016425403,
-0.042686205,
0.029024353,
0.022235943,
0.024390094,
-0.011847831,
0.055327673,
-0.012861134,
0.0041063507,
0.045577306,
0.015490048,
-0.011295122,
-0.04243111,
0.028216546,
0.0030593907,
-0.012924908,
-0.04041868,
-0.026799342,
0.005137367,
-0.021031318,
0.013810661,
0.0111038,
-0.037130766,
-0.0070789377,
0.03474986,
0.020081792,
0.039483324,
-0.01648209,
-0.03611038,
0.039766766,
0.021073835,
-0.034636483,
-0.00008918425,
-0.04540724,
0.0057680234,
0.047986552,
-0.03327597,
-0.014894822,
-0.061223246,
-0.030158117,
-0.059069093,
0.023483083,
0.04007855,
-0.020379404,
-0.0032276837,
-0.038604658,
0.016708843,
0.00026329007,
0.027607149,
-0.04237442,
0.0027405196,
-0.041750852,
0.034551453,
-0.02721033,
-0.0093606375,
0.0019132264,
0.025906503,
-0.0274796,
0.030611623,
-0.04484036,
0.007433239,
-0.014937338,
-0.045860745,
-0.0028645252,
0.066892065,
-0.014427144,
-0.010281821,
0.0075820456,
-0.002696232,
-0.048836876,
0.007411981,
0.019160608,
0.012216305,
0.026941063,
0.02582147,
0.005084222,
-0.024517642,
0.07261757,
0.023568114,
-0.009303949,
0.0128753055,
-0.044670295,
0.022887856,
0.0076245614,
-0.029988052,
0.023242157,
-0.016893081,
0.08565585,
0.02062033,
-0.0051798834,
0.028868461,
-0.06570161,
-0.03724414,
0.03594031,
-0.02118721,
0.03219889,
-0.030611623,
-0.008977992,
0.021470651,
-0.008680379,
-0.02852833,
0.008396938,
-0.014526349,
-0.017006457,
0.027068611,
0.010111756,
0.02582147,
-0.034976613,
-0.05736845,
0.040163584,
-0.055072576,
-0.015589252,
-0.036847323,
0.0055696145,
-0.0058105392,
-0.015773488,
-0.046796102,
-0.034976613,
-0.018749619,
-0.011706111,
-0.022944545,
-0.024347577,
0.0058849426,
-0.036450505,
-0.0058140825,
0.04013524,
0.033531066,
-0.060486298,
-0.023341361,
-0.02774887,
0.014030327,
-0.0022250114,
-0.0010079868,
-0.02380904,
-0.012379283,
-0.036393818,
0.03350272,
-0.029817987,
-0.0015066658,
0.029647924,
-0.03183042,
-0.021413963,
0.025112867,
0.008099325,
-0.057085007,
0.032028828,
-0.041552443,
0.0057042493,
-0.03800943,
0.0034562082,
-0.019840866,
-0.01653878,
-0.020747878,
0.044670295,
-0.033616096,
-0.038604658,
-0.0075395294,
0.030271493,
0.024971148,
0.06456785,
-0.028542504,
-0.074941784,
-0.0011647651,
-0.010111756,
-0.017842608,
0.030271493,
-0.042629518,
0.01293908,
0.004209098,
0.020563642,
-0.032482333,
-0.010806186,
-0.048496746,
-0.013690198,
0.019486565,
-0.01826777,
0.04597412,
0.007780454,
-0.015929382,
0.042119324,
0.008219788,
0.03205717,
-0.005679448,
-0.04478367,
-0.08378515,
0.061223246,
-0.04061709,
-0.028003966,
0.0010088726,
-0.022306804,
-0.01450509,
-0.011642337,
0.010012551,
0.093195386,
0.0067636096,
-0.008418196,
-0.07976028,
0.01855121,
0.008531572,
-0.0026094283,
-0.011656509,
-0.012535176,
-0.011061283,
-0.056914944,
-0.013661854,
-0.031065129,
-0.020464437,
-0.016708843,
0.004666147,
-0.010310165,
0.03993683,
-0.059919417,
-0.035628527,
-0.01750248,
0.019259812,
-0.018607898,
0.010437713,
0.0145405205,
0.005725507,
0.0145405205,
0.064681225,
-0.01256352,
-0.0024960518,
-0.008496143,
0.03874638,
-0.0028627536,
-0.05833215,
0.05342862,
0.016581295,
-0.055441048,
-0.06507804,
-0.058728963,
0.0012223391,
0.0061471257,
-0.030413214,
0.0035412405,
-0.0044500227,
-0.052720018,
0.019429877,
0.014172047,
0.011373068,
-0.011011681,
-0.027975623,
-0.017842608,
-0.028542504,
0.0124218,
0.055441048,
-0.021031318,
-0.01193995,
-0.04577571,
-0.052209824,
0.02013848,
-0.017474135,
0.05371206,
-0.033672784,
-0.0025775412,
0.013534306,
0.041297346,
0.060939804,
0.0076245614,
0.02671431,
-0.009183487,
-0.03364444,
-0.026473384,
-0.06411434,
0.04892191,
0.0034367216,
0.03806612,
0.009027595,
0.04305468,
0.009934605,
0.023483083,
-0.009906261,
-0.0451238,
-0.0067175506,
-0.07312776,
-0.009325207,
0.011755713,
-0.014682241,
-0.034976613,
-0.02097463,
0.02035106,
-0.020747878,
-0.03066831,
-0.01986921,
-0.00019110121,
-0.029789643,
-0.035146676,
-0.049063627,
-0.048128273,
-0.0130808,
-0.046597693,
-0.026756825,
0.020662846,
0.03412629,
-0.001297628,
-0.0058530555,
0.0045527704,
0.0081985295,
-0.005112566,
0.0058530555,
0.0031036783,
-0.04228939,
-0.053201865,
-0.0068699,
-0.07227744,
0.028117342,
0.009679508,
-0.0055554425,
0.010855788,
-0.0441601,
-0.010572348,
-0.0043295603,
-0.0261616,
0.031036785,
-0.01193995,
-0.050339114,
-0.03219889,
0.032709084,
-0.021895813,
0.017970156,
-0.032425646,
-0.039228227,
0.043649904,
0.037499238,
0.018962199,
0.029052697,
0.022278458,
-0.005119652,
-0.018636242,
0.05331524,
0.030951751,
0.022958716,
-0.01716235,
0.038576312,
0.0028290949,
-0.0051692543,
0.0811208,
0.048666812,
-0.015801832,
0.014682241,
0.008609518,
0.0045279693,
-0.0011249062,
-0.05087765,
0.003865426,
0.042119324,
0.0032117402,
-0.000121569596,
-0.0028964123,
-0.021839125,
-0.018593727,
0.04141072,
-0.070406735,
-0.026671793,
0.011472273,
-0.057538513,
0.027068611,
-0.028783428,
-0.012244649,
-0.0020921484,
0.009438584,
-0.011011681,
0.014852306,
0.0069195023,
0.029024353,
0.046427626,
-0.07788958,
-0.035146676,
0.021130523,
0.026558418,
-0.051189434,
-0.036733948,
-0.003295001,
0.0787399,
0.024829427,
0.01883465,
-0.04912032,
-0.007252545,
0.019840866,
0.017970156,
-0.03537343,
-0.0106290355,
-0.0022179254,
-0.0071320827,
-0.02222177,
0.007489927,
0.0038335389,
0.015135746,
0.009736197,
-0.0030682483,
-0.026912719,
-0.00037467352,
0.025934847,
-0.02532545,
0.032680742,
0.014009069,
0.01006924,
-0.042176012,
0.030781686,
-0.0021576942,
0.036620572,
-0.011961208,
0.03392788,
-0.0081985295,
0.04628591,
0.00019641573,
-0.030158117,
-0.012634381,
0.013350069,
-0.030299837,
-0.019699145,
0.024205858,
-0.021853298,
-0.03778268,
-0.0037697647,
0.0046130014,
0.0127831865,
-0.003022189,
0.00310545,
0.019089747,
-0.026218288,
0.035061646,
-0.009601562,
-0.011691939,
0.012074584,
0.006239244,
0.014710586,
0.022689449,
0.007723766,
0.004216184,
0.028131515,
0.03730083,
0.032482333,
0.017417446,
0.018522866,
0.032000482,
-0.04214767,
0.028429126,
-0.013435101,
-0.029052697,
-0.0041205226,
-0.0748851,
-0.032482333,
0.010196788,
-0.015603424,
0.0041524097,
0.008800842,
-0.00049602165,
0.008659121,
-0.029222762,
0.036053687,
-0.024588503,
0.0092685195,
0.0422327,
-0.023894072,
-0.002850353,
0.033956226,
-0.0040496625,
0.01304537,
0.029024353,
0.010593605,
0.04815662,
0.0801571,
0.0067565236,
0.0376693,
-0.009906261,
0.0016909024,
-0.026629277,
-0.0021399793,
0.024900287,
0.019812522,
0.030299837,
-0.00323477,
-0.025963191,
0.01653878,
0.012896563,
0.009863745,
-0.0014331483,
0.018366974,
-0.004549227,
-0.012655638,
0.0006359706,
0.10011134,
0.041637477,
0.048128273,
0.0128753055,
-0.0035943855,
-0.03302087,
0.005371206,
0.00090878253,
0.03004474,
-0.00657583,
-0.03010143,
-0.012301337,
-0.036705602,
0.009084282,
0.012776101,
-0.0067706956,
-0.029336138,
0.043791626,
0.053485308,
0.034353044,
0.028613364,
0.0031745387,
-0.016737187,
0.03806612,
0.07386471,
-0.009686595,
0.054023843,
0.0030629337,
-0.034353044,
-0.020875426,
-0.014795617,
0.005009819,
-0.015830178,
0.03494827,
-0.008722895,
-0.0451238,
-0.017176522,
-0.005087765,
-0.0064057657,
0.051926382,
-0.02297289,
-0.038604658,
-0.0049212435,
-0.028783428,
-0.059295848,
-0.01855121,
-0.043905005,
0.0060266634,
0.0021187211,
-0.012889477,
0.032709084,
-0.04815662,
0.23786364,
0.050565865,
0.024545986,
0.0138531765,
0.0108274445,
0.051302813,
-0.0033463747,
-0.013215435,
0.0018228797,
-0.06167675,
0.00914097,
0.02346891,
0.00576448,
0.062243633,
-0.040957216,
0.03183042,
-0.03129188,
0.0008737953,
0.024446782,
-0.048468404,
-0.008652035,
0.0064801686,
0.012478488,
-0.007447411,
0.0073694647,
-0.008900045,
0.030951751,
-0.06292389,
-0.0058920286,
-0.014937338,
0.005842427,
-0.007879659,
0.010912476,
-0.027848074,
0.009743283,
0.020591985,
0.011436842,
0.0040673777,
-0.026615106,
-0.031065129,
-0.01612779,
0.017672542,
0.0063313623,
0.0032560278,
-0.031235192,
0.040191926,
-0.004737007,
-0.020025102,
0.061223246,
-0.03687567,
0.04977223,
-0.0314336,
0.032652397,
0.018126048,
-0.035458464,
0.028910978,
-0.033757817,
-0.025183728,
-0.017573338,
0.02533962,
0.050764274,
-0.023086265,
-0.016241167,
0.014441316,
0.0085953465,
0.048751842,
0.008878788,
0.014278338,
-0.02560889,
-0.020563642,
0.005130281,
0.017318241,
-0.012620208,
-0.026756825,
0.00343495,
0.01826777,
0.044528574,
0.014320854,
0.00008813242,
0.0028804687,
-0.00023073865,
0.012110014,
-0.04050371,
-0.018522866,
0.028769257,
0.005640475,
-0.0039717164,
-0.009544874,
0.013059542,
-0.0000024462006,
0.029336138,
0.040050205,
-0.03273743,
-0.014682241,
0.018452005
] |
yml
compute_environment: LOCAL_MACHINE
distributed_type: MULTI_GPU
downcast_bf16: 'no'
gpu_ids: all
machine_rank: 0 #change rank as per the node
main_process_ip: 192.168.20.1
main_process_port: 9898
main_training_function: main
mixed_precision: fp16
num_machines: 2
num_processes: 8
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false |
[
0.043284032,
-0.03011648,
-0.02763542,
0.03011648,
0.022045562,
0.01968407,
-0.019205796,
0.008519302,
0.01690409,
0.013952225,
0.011605681,
-0.028666705,
0.027665311,
-0.047468953,
0.038441483,
0.029159926,
-0.008190487,
-0.027545743,
-0.02070041,
-0.0043306453,
0.0015917643,
0.043822095,
-0.07126322,
-0.031536363,
-0.007570222,
0.0061055,
0.01895171,
-0.009528167,
0.06127919,
0.0054067676,
-0.017188065,
-0.013406691,
0.010634181,
0.0059112,
-0.014953617,
-0.02957842,
0.019474825,
0.011471165,
-0.075866625,
-0.06881205,
0.0072675627,
-0.02216513,
0.03712622,
-0.0149087785,
-0.064387985,
0.0103053665,
-0.0062773805,
0.0062960633,
0.025214145,
-0.035601716,
-0.0003479649,
0.03841159,
0.04770809,
-0.00074123533,
-0.02763542,
-0.022852654,
-0.044539507,
0.006931274,
-0.0325527,
-0.008765914,
0.04705046,
0.022957277,
-0.00006264536,
-0.005313354,
-0.010380097,
0.03670773,
0.00054740254,
-0.019175902,
-0.04155028,
-0.024556514,
-0.03084884,
0.044240586,
-0.0003785578,
-0.039876312,
-0.042536724,
0.0013442189,
0.038202345,
0.02697779,
-0.0023895148,
0.048365723,
0.004663197,
0.05186312,
0.009371232,
-0.0020663044,
-0.049830444,
-0.045615632,
0.051325057,
-0.0010200744,
-0.054702885,
0.0045137354,
-0.03670773,
0.03267227,
-0.022284701,
0.02201567,
0.030056695,
0.032433134,
-0.022538785,
0.014370717,
0.018667733,
0.010417462,
0.0472896,
0.09774778,
0.0041849203,
0.022449108,
-0.025692422,
0.03108798,
0.064447775,
-0.01759161,
-0.046811324,
0.007928929,
-0.012853684,
0.007951348,
0.0325527,
0.001408674,
-0.041580174,
-0.012278257,
-0.003770165,
0.016500542,
-0.036199562,
-0.0011190926,
-0.009386178,
-0.0364387,
0.014931198,
-0.057034485,
-0.020401487,
-0.039398037,
-0.021313202,
0.035990313,
-0.011022781,
-0.042805757,
0.0048612333,
0.004237232,
0.0115458965,
0.051922902,
0.024541568,
0.0013582308,
0.00934134,
0.0025688685,
0.044539507,
-0.035063654,
0.007846725,
-0.01798021,
-0.035840854,
0.0856713,
-0.0013619674,
-0.0012097035,
-0.00026249164,
-0.029802611,
-0.02476576,
0.047259707,
-0.038740404,
-0.0019149747,
0.011912077,
0.01627635,
0.02507963,
0.016635058,
0.038202345,
0.008698655,
0.0033441996,
-0.013414164,
0.015454313,
0.0001805214,
-0.03186518,
0.017203012,
0.013600991,
0.0011788771,
-0.0058215233,
-0.01352626,
-0.01972891,
-0.0031891335,
0.021911047,
0.023315985,
0.0010518349,
0.011254447,
0.032193992,
0.012562234,
0.045137353,
-0.0089602135,
0.018966656,
0.018593002,
-0.025064683,
-0.018338919,
0.040862758,
0.022329539,
-0.002327862,
0.03787353,
-0.004199866,
0.03658816,
-0.013862548,
-0.04468897,
0.020222133,
0.059904143,
-0.045525953,
-0.009401125,
-0.03557182,
0.012143742,
-0.020640625,
-0.01306293,
-0.040474158,
-0.055091485,
-0.0011415117,
0.041759524,
-0.06863269,
-0.025064683,
-0.01250245,
-0.00063007337,
-0.0074954913,
0.026081022,
0.025094576,
-0.0011984939,
0.03150647,
0.008937794,
-0.01354868,
0.020939548,
0.048694536,
-0.007786941,
-0.05278978,
-0.010372624,
0.018697627,
-0.03252281,
-0.0063147456,
0.047199924,
0.036259346,
0.008489409,
0.050966352,
-0.035392467,
-0.0054702885,
0.036528375,
0.035422362,
0.030609703,
0.01972891,
0.036139775,
-0.035332683,
0.05264032,
-0.007439443,
0.012255838,
0.048634753,
0.011000362,
-0.007450653,
0.01342911,
-0.016993765,
0.017726127,
0.016933981,
0.01953461,
-0.010903212,
0.011306758,
0.007936402,
-0.007551539,
-0.018667733,
0.021671908,
-0.08118746,
0.05422461,
0.010611762,
0.010148432,
-0.05915684,
-0.021686856,
0.006071871,
0.022523839,
-0.017098388,
0.006841597,
-0.00005307049,
-0.016022267,
-0.023629854,
0.02089471,
0.01992321,
0.049830444,
-0.034286454,
0.0565861,
0.0023689638,
-0.024272537,
-0.019310419,
-0.043194357,
-0.039129004,
-0.0071965684,
-0.05604804,
0.0031816603,
0.024317376,
-0.017486988,
0.013907387,
-0.0114562195,
0.013197445,
0.024212753,
-0.04597434,
0.030475188,
0.039547496,
0.014124106,
-0.028935734,
-0.0077570486,
-0.074312225,
-0.00045095317,
-0.04313457,
-0.025662528,
-0.0048537604,
-0.007884091,
0.03213421,
0.023868991,
-0.00047430652,
-0.020864816,
-0.027022628,
0.023704585,
0.007966295,
-0.039965987,
0.039876312,
0.013204918,
-0.0376045,
0.036946867,
0.016096996,
-0.07317632,
0.04770809,
0.04217802,
-0.032821734,
0.059246514,
0.04558574,
0.047857553,
-0.03228367,
0.02046127,
0.007996187,
-0.017561719,
-0.027784882,
-0.07395352,
-0.026813382,
0.020491164,
-0.0352729,
0.0024922695,
-0.018981602,
0.030355617,
-0.02216513,
-0.05278978,
0.007207778,
-0.039009437,
-0.021298256,
-0.04116168,
-0.0121287955,
0.014243675,
0.013922333,
0.01218858,
-0.0848941,
0.017860642,
-0.014848994,
0.0011284339,
-0.0071704127,
-0.009587951,
0.029952072,
0.061578114,
0.019594396,
0.001066781,
0.05419472,
-0.024705976,
0.0062474883,
-0.01058187,
0.021074062,
-0.015977427,
0.03918879,
0.009176932,
0.012255838,
-0.007921456,
-0.032732055,
0.0021036698,
0.026604136,
0.011680411,
-0.02821832,
0.030011857,
0.046452615,
0.0036001524,
-0.014490287,
0.014004537,
-0.00017012915,
-0.0007407683,
0.022972222,
-0.054822456,
0.02724682,
-0.008108283,
-0.030789057,
-0.018921819,
-0.0041923933,
-0.045944445,
0.02011751,
0.067138076,
0.045914553,
-0.0003416595,
-0.026768543,
0.0240334,
0.012323095,
0.044509616,
0.06803485,
0.020446325,
0.041610066,
0.02058084,
-0.0055823848,
-0.0109779425,
0.0072750356,
-0.0059635113,
0.031536363,
-0.023226308,
-0.020431379,
-0.045824878,
0.03724579,
0.03602021,
0.04244705,
0.014856467,
0.029458849,
-0.04313457,
0.018727519,
-0.009909294,
-0.0047715562,
-0.0035254217,
-0.05267021,
0.05228161,
0.015723344,
0.017158173,
-0.049561415,
0.0045286817,
-0.02612586,
0.018473433,
-0.02522909,
-0.026036182,
-0.024481785,
0.018921819,
0.002126089,
0.037544712,
0.020685462,
-0.041341033,
-0.017995156,
0.007846725,
0.053088702,
0.012734114,
-0.008332475,
-0.04439005,
-0.0073385565,
-0.00714052,
-0.029653149,
-0.046751536,
0.025856828,
-0.0003750548,
-0.028636811,
0.02298717,
0.036916975,
-0.015813021,
0.0010247449,
-0.07030666,
-0.02868165,
0.016425813,
0.009236717,
0.013750453,
0.0024156705,
-0.008220379,
-0.015499151,
-0.0058887806,
-0.028188428,
-0.012995672,
0.0006805166,
-0.01856311,
0.019982994,
-0.034555484,
0.0124053,
0.011755142,
-0.002411934,
0.03826213,
0.045017786,
0.05461321,
-0.022000724,
-0.0028677913,
0.023689639,
-0.03380818,
-0.04104211,
0.02116374,
0.0025707367,
-0.020012887,
0.050547857,
-0.030236049,
-0.011396435,
0.00014128776,
0.04050405,
-0.01428104,
-0.009595424,
0.0016618244,
0.028831111,
-0.039995883,
0.0077570486,
0.009408598,
-0.060173176,
0.046392832,
-0.0126967495,
-0.04232748,
0.021462662,
-0.04977066,
-0.0238391,
0.001429225,
-0.013855075,
-0.009416071,
0.004614622,
-0.009617844,
0.013862548,
-0.019190848,
-0.038112666,
-0.02503479,
-0.027336497,
0.008078391,
0.033001084,
0.005417977,
-0.0061503383,
-0.052999027,
-0.052042473,
0.052999027,
-0.026170697,
0.0097299395,
-0.0030583546,
0.025453283,
0.030818949,
0.02333093,
-0.007618797,
0.02220997,
-0.036109883,
0.034166884,
0.0062998,
-0.0022568677,
-0.009483328,
-0.027426174,
-0.018518273,
0.03658816,
-0.014355771,
-0.03790342,
-0.01887698,
0.04208834,
0.0042260224,
-0.0039420454,
0.03016132,
-0.027471013,
-0.07060558,
-0.035063654,
0.042775866,
-0.036558267,
0.005346983,
-0.02875638,
-0.054254502,
0.0064604706,
0.029115088,
0.025632637,
-0.034166884,
0.024347268,
-0.033359792,
0.015379582,
-0.07144257,
-0.012980726,
-0.017920427,
0.008975159,
-0.033569038,
0.08441582,
-0.0057841577,
0.037395254,
0.025288876,
0.046213478,
0.010574397,
0.05799104,
-0.050667427,
-0.00028210846,
-0.018473433,
-0.010746278,
0.013772871,
0.020431379,
0.0009079782,
0.013481421,
0.0018402439,
0.017935373,
-0.039786637,
-0.06032264,
-0.02515436,
-0.01798021,
0.033778284,
-0.019295473,
0.021567285,
0.000864541,
0.022284701,
0.017486988,
-0.0029873606,
-0.033120655,
0.0028154799,
-0.017337527,
-0.061099835,
0.03491419,
-0.0251992,
-0.047199924,
-0.027142197,
-0.00033418645,
0.026484568,
-0.047887444,
0.032881517,
0.07449158,
0.0034058525,
0.025468228,
-0.027620474,
0.054314286,
0.023958668,
-0.046213478,
-0.028517243,
0.0030378038,
-0.038501266,
0.018578056,
-0.016590219,
-0.05150441,
-0.027201982,
0.007674845,
0.03945782,
0.0047491374,
0.03685719,
0.017666342,
-0.03894965,
-0.059515543,
0.03748493,
-0.015902696,
-0.00061746256,
0.02182137,
-0.0016076446,
0.0131824985,
0.018398704,
-0.013533733,
-0.0228676,
0.004954647,
0.039009437,
-0.0009733676,
-0.03865073,
0.041101895,
0.025946505,
-0.035213117,
-0.05267021,
0.0058813076,
-0.032612488,
-0.0146173285,
-0.019400096,
-0.008982632,
0.0059859306,
-0.05317838,
0.039696958,
0.01077617,
-0.023211362,
0.014019483,
-0.0054702885,
0.015723344,
-0.037036546,
-0.036558267,
0.041639958,
-0.013040511,
0.018383756,
-0.032791838,
0.004704299,
-0.03518322,
-0.028397674,
0.035392467,
-0.021761585,
0.014751844,
0.009296501,
0.03500387,
0.042417157,
-0.007394605,
0.052849565,
0.022180077,
-0.018712573,
-0.012046592,
-0.03174561,
-0.019444933,
-0.017203012,
0.011986807,
-0.016814413,
-0.0075067007,
0.009879401,
0.028233266,
0.011620627,
-0.076882966,
-0.0021690591,
-0.032971192,
-0.025946505,
0.02026697,
-0.018189456,
-0.014273567,
0.0010985415,
-0.022239862,
-0.035063654,
-0.03936814,
0.054672994,
-0.035033762,
0.008026079,
-0.06845334,
0.012472557,
-0.046691753,
-0.024123076,
-0.036289237,
-0.015260013,
0.009856982,
-0.0020980649,
-0.028816165,
0.024586407,
-0.000056281573,
-0.0015282432,
0.0053432463,
0.008922848,
-0.010910685,
0.010282947,
0.0017561719,
0.010230635,
-0.0077645215,
0.018787302,
0.026409836,
-0.0313869,
-0.005290935,
0.03491419,
0.0014348298,
0.01914601,
0.0057355827,
0.072817616,
-0.024601353,
-0.00022232388,
-0.0052199406,
0.026081022,
-0.05305881,
-0.008736021,
-0.027007682,
-0.02821832,
-0.012756534,
0.06408907,
0.013189972,
0.030520026,
-0.006718292,
-0.0059672478,
0.019803641,
0.024780707,
-0.007297455,
0.01333196,
-0.032014642,
0.0019084357,
-0.01459491,
0.0064305784,
0.03530279,
0.018309027,
-0.022583624,
0.05275989,
0.017516881,
-0.0087733865,
0.011792508,
0.021701802,
0.0012209131,
0.03330001,
-0.009946659,
-0.012995672,
0.0057169,
0.0001875274,
-0.048126582,
0.025662528,
-0.032851625,
-0.030609703,
0.0016067105,
-0.04507757,
0.023704585,
-0.002830426,
-0.0043904297,
0.024003508,
0.057423085,
0.006512782,
0.0058103134,
0.0140419025,
0.014751844,
0.015028347,
-0.022105347,
-0.024018453,
-0.0047379276,
-0.0014133448,
-0.04196877,
-0.013511314,
0.028322943,
0.050637536,
0.008818225,
-0.010544505,
-0.043822095,
-0.007943875,
-0.023973614,
0.008825698,
-0.06396949,
0.024795653,
-0.012345515,
0.03697676,
-0.02953358,
0.030071642,
-0.040384483,
0.009625317,
0.027187036,
0.008070918,
-0.0006795825,
0.028666705,
0.0006996664,
-0.0018561243,
0.015977427,
0.020371594,
0.0044801068,
-0.005918673,
-0.009991497,
-0.016201619,
0.023689639,
0.027142197,
0.03697676,
-0.017741073,
0.008093337,
0.027665311,
-0.02914498,
-0.01802505,
0.041072004,
0.031685825,
0.025109522,
0.040055666,
0.0013572967,
-0.025782099,
-0.016366027,
0.009027471,
0.024392108,
-0.006755657,
0.0001850753,
-0.008489409,
-0.010021389,
-0.016141836,
-0.02581199,
-0.07682318,
0.02899552,
-0.0027837192,
0.019803641,
-0.0047304546,
-0.007473072,
0.017516881,
0.0368273,
0.0577519,
0.022389324,
0.004405376,
0.006998532,
0.054254502,
-0.035512038,
0.027007682,
-0.028113697,
-0.018652787,
-0.009707521,
-0.028621865,
-0.05918673,
0.038052883,
0.025378553,
-0.028980574,
0.02259857,
-0.020715356,
-0.025303822,
-0.050219044,
0.0018252978,
-0.047618415,
-0.007375922,
0.03341958,
-0.032014642,
-0.018533219,
0.03186518,
-0.019953102,
0.021313202,
0.0465124,
0.056765456,
0.031596147,
0.08298099,
0.048036907,
-0.023958668,
0.020834925,
0.018279133,
-0.039248575,
0.017098388,
0.0028621866,
0.0026959106,
-0.0039495183,
-0.06785549,
-0.0585291,
0.0061503383,
0.05237129,
-0.02992218,
-0.07120343,
0.0141390525,
-0.016724735,
-0.040384483,
-0.019385148,
0.10916664,
0.035810962,
0.019131064,
0.0048425505,
-0.011867238,
-0.025333714,
0.01992321,
-0.03631913,
-0.012935887,
-0.025273928,
-0.039398037,
-0.0007202173,
-0.01705355,
0.0041027167,
0.00034959964,
-0.0008122295,
-0.032791838,
0.019265579,
0.011149824,
0.031177657,
0.0026099703,
-0.018114727,
-0.036378913,
0.040802974,
0.06486627,
-0.0015656085,
0.054045256,
0.037066437,
-0.02220997,
-0.013264703,
-0.0018168907,
0.015020874,
0.017382365,
-0.010462301,
0.014176417,
0.01685925,
-0.0076524257,
-0.014101687,
0.022822762,
0.0050181677,
0.020296864,
-0.009647736,
-0.04731949,
-0.0069835857,
-0.06707829,
-0.03096841,
-0.01335438,
0.038710512,
-0.03933825,
-0.049053244,
0.019743856,
-0.07269804,
0.2666392,
0.034973975,
0.037843637,
0.018353865,
-0.0066136685,
0.019041387,
0.054463748,
-0.017427204,
-0.020745248,
-0.041370925,
-0.00638574,
-0.040713295,
0.018338919,
0.015118024,
-0.027142197,
0.032761946,
-0.041849203,
-0.01860795,
-0.015005928,
-0.03646859,
-0.043284032,
-0.009998971,
0.011179715,
0.06809463,
0.022120293,
0.011471165,
0.005257306,
-0.049471736,
0.003848632,
-0.032791838,
0.02496006,
-0.06779571,
0.024989953,
-0.0017132018,
-0.011792508,
0.017681288,
-0.011672938,
-0.037036546,
0.014542598,
0.0033124392,
0.027754989,
-0.01067902,
0.040025774,
-0.0071965684,
-0.031327117,
-0.0031611095,
0.0063483748,
0.05799104,
0.02646962,
-0.06982838,
0.009468382,
-0.04516725,
0.011777561,
-0.02717209,
-0.0689914,
-0.0011910208,
-0.049501628,
-0.021059116,
-0.033957638,
0.032761946,
0.016739681,
-0.00924419,
-0.013473948,
-0.0015497283,
-0.011852292,
0.011583261,
-0.0086762365,
0.023271145,
-0.021791479,
-0.04427048,
0.021074062,
-0.041908987,
-0.015364636,
-0.03596042,
0.02259857,
0.03972685,
0.0012592126,
0.044987895,
0.023883939,
-0.019370202,
0.040444266,
0.010813535,
-0.029354226,
-0.0046744067,
-0.016605167,
0.03646859,
-0.07574706,
0.012345515,
0.0122259455,
-0.00228676,
0.0122259455,
0.05802093,
-0.014624801,
0.00032040797,
0.0039980933
] | accelerate launch \
./examples/pytorch/text-classification/run_glue.py \
--model_name_or_path google-bert/bert-base-cased \
--task_name $TASK_NAME \
--do_train \
--do_eval \
--max_seq_length 128 \
--per_device_train_batch_size 16 \
--learning_rate 5e-5 \
--num_train_epochs 3 \
--output_dir /tmp/$TASK_NAME/ \
--overwrite_output_dir
You could also specify the parameters from the config_file.yaml file directly in the command line: |
[
0.020717314,
-0.0043536937,
-0.0126062175,
0.051586874,
0.010328078,
0.019096622,
-0.057763845,
0.017628828,
-0.009211942,
0.028606711,
-0.0045448127,
-0.044767745,
0.059139904,
0.016864352,
0.008088161,
0.057152264,
-0.031374115,
-0.04060899,
-0.038284983,
0.018760253,
0.014395093,
0.0091202045,
-0.058375426,
-0.02989103,
-0.01628335,
0.03189396,
0.006448359,
-0.010442749,
0.09436698,
0.014914936,
-0.021405341,
-0.010503907,
0.012147532,
0.0003275304,
-0.003237558,
-0.019968126,
-0.0056418367,
0.02019747,
-0.05207614,
-0.0662954,
-0.0053704474,
-0.00023244864,
0.011061975,
-0.029814584,
-0.07381785,
0.0053933817,
0.018882569,
0.004827669,
-0.011490081,
-0.02408101,
-0.018637937,
0.033575807,
0.013194865,
-0.022016924,
-0.021176,
-0.025135987,
-0.045685116,
0.0004835314,
-0.049629815,
-0.00044339636,
0.02802571,
0.022689663,
-0.03978336,
-0.015480649,
0.0065592085,
0.07620302,
-0.005466007,
-0.014035788,
-0.006054654,
-0.059139904,
-0.0246773,
0.044125583,
-0.03186338,
-0.035288237,
-0.052137297,
0.019249517,
0.029462924,
0.013508299,
-0.0019608822,
0.024998382,
0.030823693,
0.034921285,
0.005955272,
-0.0011228248,
-0.032994807,
-0.040180884,
0.040761888,
-0.02539591,
-0.04904881,
-0.027582312,
-0.047795072,
0.021497078,
-0.007426889,
0.0017181609,
-0.00086433627,
0.048712444,
-0.032046854,
0.028667869,
0.012438033,
0.015312464,
0.03513534,
0.06543919,
-0.010588,
0.02794926,
-0.039966833,
0.038223825,
0.06568382,
-0.014746752,
-0.049843866,
-0.000011870289,
-0.027826944,
-0.00007997141,
-0.0029145665,
-0.011750004,
-0.052229036,
-0.0015901111,
0.01660443,
0.021955766,
-0.02083963,
0.0061999043,
-0.010221051,
-0.030487323,
0.025090119,
-0.051372822,
-0.017246589,
-0.025640542,
-0.0105268415,
0.03473781,
-0.030181533,
-0.041434627,
0.019096622,
0.013966986,
0.037948612,
0.042841263,
0.03284191,
0.012560349,
0.0074001327,
0.0031897782,
0.022246266,
-0.03764282,
0.008378662,
-0.027475286,
-0.005477474,
0.08721148,
0.00031367427,
0.00699496,
0.006326043,
-0.013126061,
-0.0010310877,
-0.0020507083,
-0.031710487,
-0.0016512693,
0.038835406,
0.017934619,
0.00042356775,
-0.021359473,
0.0072319475,
0.011268384,
-0.046633065,
-0.010289853,
-0.0122545585,
-0.008852638,
-0.039936252,
0.034493178,
0.002377522,
0.029768715,
-0.00027473373,
-0.020396233,
-0.0039179423,
-0.022490898,
0.019448282,
-0.0027005132,
-0.016206902,
0.022964874,
0.015511228,
-0.026802545,
0.045501642,
0.001070267,
-0.032291487,
0.037184138,
-0.030441454,
-0.004628905,
0.019050755,
0.03415681,
0.001493596,
0.012185755,
-0.015365978,
0.03382044,
-0.023102479,
-0.034340285,
0.020258628,
0.051250506,
-0.023698771,
0.027903393,
-0.045134693,
0.0015117523,
-0.022949584,
-0.0198611,
-0.044461954,
-0.036022134,
-0.03117535,
0.022934295,
-0.022720242,
0.0071631446,
-0.005894114,
-0.0055539217,
0.011298963,
0.025732279,
0.0008466577,
0.0052099074,
0.023958694,
0.0062534176,
-0.023607034,
-0.020380944,
0.039538726,
0.014135171,
-0.018806122,
-0.0013034324,
0.033422913,
0.015075477,
-0.005003499,
0.03748993,
0.05336046,
0.006647123,
0.021267736,
-0.0054316055,
-0.010985527,
0.0384073,
0.044217322,
0.021267736,
0.022628505,
0.046327274,
0.014135171,
0.0651334,
-0.024662012,
-0.009494798,
0.040058568,
0.028667869,
-0.005248131,
0.029004239,
0.016191613,
0.0004412463,
0.015083121,
0.0066509456,
0.044033848,
0.026466176,
0.019524729,
-0.024172748,
-0.044003267,
0.015052542,
-0.06568382,
0.03807093,
0.0027597602,
-0.028713737,
-0.050363712,
-0.05048603,
0.0014563277,
0.03317828,
-0.016466824,
0.02794926,
0.022811979,
-0.0056189024,
0.00977001,
-0.01885199,
0.020029284,
0.050547186,
-0.010649158,
0.037306454,
0.009242521,
-0.026496755,
-0.029722847,
-0.038468458,
-0.0283315,
-0.008585071,
-0.074551746,
0.0063489773,
0.014341579,
-0.023622325,
0.0230719,
0.013722354,
0.027108336,
0.03703124,
0.022215687,
0.035655186,
0.027704628,
0.011673556,
-0.01597756,
0.014784976,
-0.04427848,
0.008111096,
-0.03645024,
-0.016329218,
0.0011581819,
-0.020885497,
0.016787903,
0.009984063,
0.002767405,
-0.016986668,
-0.012873785,
0.027200073,
-0.028132735,
-0.027016599,
0.043238793,
0.025579384,
-0.03027327,
0.00024821598,
-0.0006536274,
-0.037367612,
0.05268772,
0.040517256,
-0.020380944,
0.04816202,
0.020319786,
0.019387124,
-0.025074828,
0.033973336,
0.033392332,
-0.011436569,
-0.030854272,
-0.08831233,
-0.029325318,
0.0113907,
-0.0043651606,
-0.017078405,
0.0049805646,
0.0053972043,
-0.034370862,
-0.039875094,
0.033606388,
-0.017108984,
-0.03611387,
-0.03476839,
-0.012101663,
0.0054812967,
0.01480791,
0.013385983,
-0.09883152,
-0.014930226,
-0.04296358,
0.0137758665,
-0.04097594,
0.003929409,
0.0370924,
0.07290048,
0.011971702,
0.0006794285,
0.036175027,
-0.05277946,
0.0031133306,
-0.02567112,
-0.0005561567,
-0.0044836546,
0.022628505,
0.0014152371,
0.01073325,
0.010159893,
-0.03901888,
-0.0106720915,
0.03134354,
0.037153557,
-0.010519196,
0.016054006,
0.03804035,
0.023545876,
-0.05397204,
-0.008470399,
0.020671444,
0.002828563,
0.04329995,
-0.03134354,
-0.0006932846,
-0.005194618,
-0.028362079,
-0.0096476935,
0.012430388,
-0.066601194,
0.015839953,
0.037551086,
0.06146391,
-0.026206255,
-0.017949909,
0.0111995805,
-0.016803194,
0.064827606,
0.038162667,
0.014089302,
-0.008401597,
-0.00040636703,
0.0020258627,
-0.010427459,
-0.014723818,
0.02152766,
-0.007874108,
0.00048711486,
0.00060011406,
-0.03580808,
0.028178604,
0.040119726,
0.018026356,
0.0069720256,
0.05241251,
-0.046969436,
0.007247237,
0.0016904486,
0.014089302,
-0.0033770748,
-0.03320886,
0.06923099,
-0.011627687,
0.012216334,
0.013057259,
-0.015136635,
-0.0068497094,
0.015901111,
-0.029692268,
-0.013577103,
-0.053421617,
0.011031396,
0.01851562,
0.013424207,
0.036083292,
-0.019937547,
-0.018393304,
0.0027253588,
0.052290194,
0.004907939,
-0.029524082,
-0.0357775,
-0.02411159,
0.025273593,
-0.025686411,
-0.0074804025,
-0.016940799,
-0.018148672,
-0.037581664,
0.022811979,
0.038223825,
-0.018270988,
0.02828563,
-0.036878347,
-0.01106962,
0.030854272,
0.0019054577,
-0.00944893,
0.016635008,
-0.015549452,
0.006769439,
0.0070293616,
0.018316858,
-0.0113907,
0.0012776314,
-0.013867604,
0.038560193,
-0.04388095,
-0.029829873,
-0.013630616,
0.013898183,
0.03574692,
0.04874302,
0.024600854,
-0.03090014,
-0.0009441285,
0.026145097,
-0.041037098,
-0.040761888,
-0.0042122654,
0.014249842,
0.011436569,
0.03223033,
-0.007426889,
-0.01597756,
0.03195512,
0.038132086,
-0.014846134,
0.013294246,
-0.00015134245,
0.03908004,
-0.014563277,
0.017659407,
-0.0030101263,
-0.06112754,
0.06550035,
0.0056533036,
-0.05369683,
0.018744964,
-0.058742374,
-0.014249842,
0.033331174,
-0.021160709,
0.0070714075,
0.018286278,
-0.01753709,
0.011505371,
-0.037581664,
-0.023209507,
-0.032413803,
-0.02732239,
0.029447636,
0.04874302,
0.043483425,
0.027750498,
-0.02863729,
-0.02958524,
0.028040998,
-0.05079182,
0.0061884373,
-0.020426812,
0.006306931,
0.018026356,
0.006582143,
-0.007927622,
0.009808234,
0.00911256,
0.0060814107,
0.010366301,
0.0073313294,
0.006585965,
-0.018393304,
-0.0076371203,
0.031083614,
-0.043024737,
-0.05923164,
-0.015602965,
0.04721407,
-0.010794409,
-0.009701206,
0.015855243,
-0.01853091,
-0.06831362,
-0.070331834,
0.030823693,
-0.054430727,
-0.009525377,
-0.030640218,
-0.035594027,
-0.0023660548,
0.017689986,
0.056448944,
-0.028667869,
0.009318968,
-0.028224472,
0.008042293,
-0.08556021,
-0.012820271,
0.0015891555,
-0.0066241887,
-0.022919005,
0.041128837,
-0.007981135,
0.00031797445,
0.0013349671,
0.0185462,
0.004854426,
0.043758634,
-0.05005792,
-0.0331477,
-0.009792944,
0.010045221,
0.033942755,
-0.023484718,
-0.023316532,
-0.014731462,
-0.02273553,
0.006196082,
-0.022506189,
-0.06378792,
-0.021879317,
-0.03963046,
0.04287184,
-0.03871309,
0.03868251,
0.0079199765,
0.039110616,
0.027567023,
0.025931044,
-0.032719593,
0.026481466,
-0.035379972,
-0.07210542,
0.04060899,
-0.0054316055,
-0.0074192444,
0.004598326,
-0.02963111,
0.021665264,
-0.032719593,
0.03999741,
0.0772427,
-0.009089625,
0.008783835,
-0.03550229,
0.04522643,
0.020579707,
-0.03645024,
0.0070905196,
0.01317193,
-0.018744964,
0.0009966863,
-0.05079182,
-0.037551086,
-0.025411198,
0.0077670813,
0.04755044,
0.0033254728,
0.05268772,
-0.014563277,
-0.05595968,
-0.06543919,
0.01123016,
0.011413634,
0.029004239,
0.01920365,
0.009494798,
-0.016176322,
0.06121928,
-0.025304172,
0.013508299,
-0.006475116,
0.063665606,
-0.02183345,
-0.039232936,
0.032750174,
0.021680554,
-0.016726745,
-0.062473018,
0.012644441,
-0.021359473,
-0.01886728,
-0.020702023,
-0.042413156,
0.025411198,
-0.053513356,
0.010626223,
0.029310029,
-0.0045792144,
-0.015098411,
-0.0034841017,
0.04097594,
0.0009985975,
0.01530482,
0.06794667,
-0.024769038,
0.0027712274,
-0.038437877,
0.004976742,
-0.052565403,
-0.031374115,
0.04577685,
-0.005014966,
0.045287587,
0.0119334785,
0.023515297,
0.059751485,
-0.02372935,
0.023668192,
0.00545454,
-0.03703124,
-0.029294739,
-0.041770995,
0.0023832554,
0.0039752778,
0.010771474,
-0.008715032,
0.001864367,
-0.016849061,
-0.015824664,
0.011100199,
-0.1092284,
0.013661195,
-0.025885174,
-0.003098041,
-0.034003913,
-0.024493827,
-0.017277168,
0.03323944,
-0.003766958,
-0.012231624,
-0.044309057,
0.019280097,
-0.010083445,
-0.013561813,
-0.027612891,
0.0010081534,
-0.04755044,
-0.024509117,
-0.03963046,
-0.030028637,
0.020319786,
-0.006543919,
-0.004227555,
0.022659084,
0.027184784,
-0.016054006,
-0.009609469,
-0.020442102,
-0.027108336,
-0.0026202432,
-0.0065209847,
0.011222515,
-0.011620043,
0.019616468,
0.03317828,
-0.024769038,
-0.021283025,
0.010152248,
-0.004120528,
-0.007545383,
-0.0009804411,
0.0658673,
-0.008523913,
-0.019234229,
-0.00415493,
0.050516605,
-0.041495785,
-0.00052032183,
-0.042627208,
-0.03293365,
-0.006746505,
0.053574514,
0.0035204142,
0.024310352,
0.01349301,
0.02181816,
-0.003809004,
0.02828563,
0.009487153,
-0.0018070313,
-0.008401597,
0.003306361,
-0.008241056,
0.016711457,
0.08005598,
0.01623748,
0.02019747,
0.031144772,
0.021848738,
-0.0017334505,
0.013179575,
0.036541976,
0.009533022,
0.07742618,
0.024585564,
-0.01593169,
0.009838813,
-0.0015748215,
-0.039661042,
-0.0006397713,
-0.030410875,
-0.026145097,
0.012116953,
-0.04724465,
0.009250166,
0.004506589,
-0.0021443565,
-0.025946332,
0.029019527,
0.013944051,
0.025273593,
0.01447154,
0.00993055,
0.020013995,
-0.038529616,
-0.029462924,
0.0051143477,
0.0075109815,
-0.037826296,
-0.011039041,
0.06672351,
0.04920171,
0.0075033368,
0.00957889,
-0.05498115,
0.0055997903,
-0.0155035835,
0.030686086,
-0.06342097,
0.020289207,
-0.025839306,
0.042718947,
-0.040058568,
0.034921285,
0.0115512395,
0.03348407,
0.005137282,
0.01447154,
-0.015335399,
0.035318814,
-0.012223979,
-0.02375993,
0.010794409,
0.0113754105,
-0.008241056,
-0.016191613,
0.017414775,
-0.018301567,
0.029906321,
0.032291487,
0.05430841,
-0.0022743177,
0.00957889,
-0.007526271,
-0.0059934957,
-0.00944893,
0.025487646,
0.01691022,
0.0055921455,
0.05369683,
-0.010427459,
-0.013370694,
-0.018760253,
0.02700131,
0.027735207,
-0.0042122654,
0.020426812,
0.019142492,
-0.015778795,
0.010006998,
-0.042443734,
-0.062625915,
0.031098904,
0.019249517,
0.050241396,
0.012308071,
0.006326043,
-0.02018218,
0.026940152,
0.041251153,
0.021741712,
0.01594698,
-0.008844993,
0.055470414,
-0.02475375,
0.038743667,
0.0040440806,
0.005106703,
-0.014119881,
-0.030670797,
-0.058620058,
0.03317828,
-0.0031018634,
-0.010488617,
0.020075154,
-0.0035165919,
-0.04256605,
-0.03354523,
-0.0023029854,
-0.022338003,
-0.024203327,
-0.014318645,
-0.0495075,
-0.030472033,
0.025273593,
-0.014586211,
0.024233906,
0.021298315,
0.057396896,
0.00077928824,
0.07669228,
0.0325667,
-0.017797014,
0.023545876,
0.023209507,
-0.074307114,
0.020686734,
0.021114841,
-0.004598326,
-0.0096476935,
-0.022643793,
-0.026817836,
0.02242974,
0.06274823,
-0.0008098673,
-0.06311518,
0.021405341,
0.010962593,
-0.035257656,
-0.0119028995,
0.08054525,
0.025227724,
-0.03574692,
0.0014630168,
-0.007965845,
-0.044156164,
0.018500332,
-0.025334751,
0.022353293,
-0.014433316,
-0.042382576,
-0.010213406,
-0.05109761,
-0.0056494814,
-0.006268707,
-0.02411159,
-0.030976588,
0.02669552,
0.020885497,
0.017689986,
0.051862087,
-0.0025629075,
-0.06372676,
0.045379326,
0.07241122,
-0.011000817,
0.052534826,
0.06219781,
-0.012827916,
-0.01628335,
0.0036656647,
0.01631393,
0.024050431,
0.0070064273,
-0.011436569,
0.008080517,
-0.028836053,
-0.043238793,
0.027154205,
0.0007826328,
-0.010045221,
-0.015511228,
-0.050669502,
-0.008225767,
-0.07919977,
-0.0075492053,
-0.034646075,
0.008684453,
-0.05565389,
-0.03703124,
0.04067015,
-0.04724465,
0.27985954,
0.041862734,
0.021176,
-0.016130455,
0.0068879332,
0.03195512,
0.04100652,
-0.02501367,
0.0056915274,
-0.023637613,
-0.028622,
-0.03117535,
0.03868251,
0.016894931,
-0.036083292,
0.008676808,
-0.048620705,
-0.0018490775,
-0.010427459,
-0.051862087,
-0.022047503,
0.008256346,
0.030594349,
0.04553222,
0.010228695,
0.022689663,
0.00415493,
-0.057029948,
0.026297992,
-0.015511228,
0.011306607,
-0.048987653,
0.028576132,
0.018026356,
-0.00083996856,
0.025472358,
-0.021512369,
-0.041495785,
0.008883217,
-0.016375087,
0.0227814,
0.014502119,
0.020594997,
-0.043147054,
-0.012973166,
0.021925187,
0.00090924924,
0.022108661,
0.050822396,
-0.07926092,
0.008500978,
-0.06690698,
0.011818807,
-0.030747244,
-0.045807432,
0.006677702,
-0.026297992,
-0.034279127,
-0.011925833,
-0.0029527906,
0.047611598,
-0.01856149,
-0.00667388,
-0.0028954546,
-0.0056838826,
-0.0028113623,
-0.017170142,
0.028224472,
0.0013168107,
-0.033422913,
0.013019035,
-0.009380126,
-0.0015174858,
-0.010756184,
0.03382044,
0.011780583,
0.016803194,
0.042352,
0.008715032,
-0.028255051,
0.006333688,
-0.009219587,
-0.023714062,
-0.054767095,
0.005381915,
0.026894283,
-0.063604444,
-0.01153595,
-0.013057259,
0.0012785869,
-0.0060393643,
0.030548481,
-0.006134924,
-0.015794085,
0.004605971
] |
accelerate launch --num_processes=2 \
--use_fsdp \
--mixed_precision=bf16 \
--fsdp_auto_wrap_policy=TRANSFORMER_BASED_WRAP \
--fsdp_transformer_layer_cls_to_wrap="BertLayer" \
--fsdp_sharding_strategy=1 \
--fsdp_state_dict_type=FULL_STATE_DICT \
./examples/pytorch/text-classification/run_glue.py
--model_name_or_path google-bert/bert-base-cased \
--task_name $TASK_NAME \
--do_train \
--do_eval \
--max_seq_length 128 \
--per_device_train_batch_size 16 \
--learning_rate 5e-5 \
--num_train_epochs 3 \
--output_dir /tmp/$TASK_NAME/ \
--overwrite_output_dir
Check out the Launching your Accelerate scripts tutorial to learn more about accelerate_launch and custom configurations. |
[
0.021152297,
0.010081869,
-0.011942689,
0.0101545565,
-0.033145867,
-0.013454606,
0.020498103,
-0.00084045855,
-0.0036380498,
0.06844331,
-0.0057278387,
0.013679939,
0.08362063,
-0.037274566,
0.0058841184,
0.017619645,
-0.0060658394,
-0.021399438,
-0.08513255,
-0.0006809986,
0.016442096,
-0.014283253,
-0.091005765,
0.01554076,
-0.040560074,
0.032128233,
-0.010597955,
0.0024386928,
0.05503959,
0.026269555,
-0.02089062,
0.017488807,
0.0026167792,
-0.014501317,
-0.014036112,
0.0110195475,
-0.0059277317,
0.0076250033,
-0.044107266,
-0.06350051,
0.02766517,
-0.008250123,
0.005960441,
-0.03276789,
-0.056289826,
-0.020905158,
-0.010939591,
0.035035763,
0.0014937448,
-0.017881325,
0.025717124,
0.050329383,
0.026196865,
-0.0022024557,
-0.0114338705,
-0.0034617807,
-0.020483565,
0.048962843,
-0.028493816,
-0.009732964,
0.005807796,
0.029525992,
-0.00057287473,
-0.047625378,
0.034541484,
0.026022414,
-0.0004238637,
0.02734534,
-0.05457438,
0.00044067285,
-0.024583185,
0.02493209,
-0.025092004,
-0.050969042,
-0.020556254,
0.049951404,
0.028450204,
0.036896586,
-0.011659205,
0.015773363,
0.032622512,
0.095541514,
0.02660392,
-0.03500669,
-0.052248355,
-0.05812157,
0.023303872,
-0.043118704,
-0.013876198,
-0.00007865102,
0.024728563,
0.03922261,
-0.030441863,
0.017401582,
0.009238684,
0.027040051,
-0.008562683,
0.045153975,
0.0062839044,
0.0057133012,
0.028392052,
0.05428363,
-0.02834844,
0.005836871,
-0.05483606,
-0.0041250614,
0.015119168,
0.010874171,
-0.042420898,
0.00057378336,
0.027897773,
-0.0009022436,
-0.005800527,
0.023260258,
0.02182103,
0.016078655,
0.015264545,
-0.01205899,
-0.03561727,
-0.0066727865,
0.042420898,
-0.024074368,
0.008657178,
0.013745359,
-0.034250733,
-0.029555066,
-0.011862732,
0.04992233,
-0.0028130375,
-0.009980105,
0.021530276,
-0.040792678,
0.028900871,
-0.0069744433,
0.02064348,
0.006589195,
-0.00008540876,
-0.00079775415,
0.025775274,
-0.008446381,
0.03413443,
0.0046048043,
0.024277896,
0.0901335,
-0.0053934725,
-0.001330196,
0.023943529,
0.036722135,
-0.05073644,
0.039716892,
-0.013316498,
-0.00708711,
0.009369523,
0.022417074,
0.0017118097,
-0.01237155,
-0.031401347,
0.028319364,
-0.007726767,
0.031808402,
0.008918855,
0.05352767,
-0.017401582,
0.03125597,
-0.013461875,
0.06949002,
-0.023114882,
-0.04954435,
-0.015787901,
-0.03494854,
0.018579131,
0.017227128,
-0.010118213,
0.0026567576,
0.020265501,
-0.023173032,
0.016456634,
0.011542903,
-0.02075978,
0.038117748,
-0.042071994,
-0.0037252759,
0.046694968,
0.021588428,
0.039891344,
-0.0061385278,
-0.017372506,
-0.019727606,
-0.043002404,
-0.001582788,
-0.010205438,
0.023638237,
-0.024176132,
0.06512872,
0.00012550091,
-0.04073453,
-0.029351538,
-0.0149156405,
-0.029642291,
-0.04570641,
-0.009340447,
0.027970461,
-0.048381336,
0.0015973256,
0.00472474,
-0.018797196,
0.0079739075,
0.06251194,
0.005447989,
0.0030638122,
0.0717579,
-0.027825084,
-0.025033854,
-0.004902826,
0.0070653036,
0.010394428,
-0.031982854,
0.008148359,
0.035152066,
-0.014930178,
0.027330805,
0.036634907,
0.0180267,
0.0024823057,
0.0016482074,
-0.04358391,
-0.033291247,
0.045357503,
0.05434178,
0.016369406,
0.0021061436,
0.021370362,
0.011651936,
0.06943187,
-0.0024314239,
0.01591874,
0.036111552,
0.035413742,
-0.04806151,
0.033058643,
-0.02965683,
0.017750485,
0.009558513,
0.021966407,
0.032738812,
0.01641302,
-0.003149221,
0.00894793,
-0.033872753,
-0.0029602314,
-0.04457247,
0.018884422,
-0.0045539225,
0.009551244,
-0.048265036,
-0.02711274,
-0.02717089,
0.035297442,
-0.021065071,
-0.030761693,
0.01205899,
0.021065071,
-0.015933277,
-0.05806342,
0.03276789,
0.010234514,
0.011513828,
-0.018491905,
0.038088672,
-0.0313432,
0.0011611957,
-0.011782775,
-0.039571516,
-0.03413443,
-0.029860357,
0.009427673,
0.03884463,
-0.017794099,
0.024292432,
0.0005274445,
0.012066259,
0.0028929946,
0.040618226,
0.017692335,
0.019465929,
-0.0061494308,
-0.02337656,
-0.004910095,
-0.02940969,
-0.028130375,
-0.03058724,
-0.014443167,
0.0032382642,
-0.0105834175,
0.029671367,
-0.015889663,
0.0139997685,
-0.0004497589,
-0.011390258,
-0.0015582556,
-0.017416118,
-0.009027888,
-0.028057687,
-0.017794099,
-0.046985723,
0.00888978,
0.01673285,
-0.03215731,
0.022664214,
0.0406473,
-0.006825432,
-0.012313399,
0.013483681,
0.02692375,
-0.03276789,
0.040821753,
0.01870997,
-0.041316036,
-0.047102023,
-0.056667805,
-0.04599716,
-0.022460688,
0.012407894,
-0.07100194,
-0.025193768,
0.04134511,
0.029525992,
-0.07425837,
0.037129186,
-0.036227852,
0.009689352,
0.022053633,
0.00029484194,
0.039048158,
0.02903171,
0.020338189,
-0.06425647,
-0.03294234,
-0.053498596,
0.024234282,
-0.011281226,
0.016761923,
0.050474763,
0.037565317,
-0.013229272,
0.0072397557,
0.057103936,
-0.012618691,
0.011295763,
-0.025789812,
0.040065795,
-0.021559352,
0.023580087,
0.015889663,
0.01523547,
0.029162548,
-0.0190298,
0.004139599,
0.026763836,
-0.027330805,
-0.028842721,
0.005887753,
0.009231416,
-0.011739162,
-0.017168978,
-0.022925893,
0.021733804,
0.022562452,
0.047218326,
-0.03430888,
0.037652545,
-0.010714256,
-0.027926847,
0.013818047,
0.025658973,
-0.00833008,
0.035355594,
0.010205438,
0.054719757,
-0.035297442,
-0.03096522,
0.024292432,
0.01305482,
0.022896817,
0.02866827,
0.037216414,
-0.014552199,
-0.05291709,
-0.04407819,
0.0039179,
-0.0017081753,
-0.00044453444,
-0.0009894696,
0.014341403,
-0.011114042,
-0.06489612,
0.03009296,
0.0339309,
0.009442211,
-0.005669688,
0.061581533,
-0.03899001,
0.012451507,
0.046782196,
0.021806492,
0.006062205,
-0.02885726,
0.025833424,
0.018666357,
0.010794214,
-0.027403492,
-0.027737858,
-0.0038015984,
-0.023231184,
0.0026876503,
0.0030165648,
-0.043932814,
-0.019713068,
0.021152297,
0.026473083,
0.016892763,
-0.009812921,
-0.05282986,
0.03413443,
0.015715212,
-0.026807448,
-0.008788017,
-0.029700443,
0.0022805957,
0.022053633,
-0.025150154,
-0.025019316,
-0.070594884,
0.0003098339,
-0.06111633,
0.018491905,
0.047276475,
-0.0022515203,
-0.000089099965,
-0.038495727,
-0.012022646,
0.027447104,
0.026516695,
-0.010786945,
0.013876198,
-0.034250733,
0.0247431,
-0.031575803,
-0.01796855,
-0.015133706,
0.031052446,
-0.009354985,
0.025077466,
-0.039077234,
-0.0030819844,
-0.021588428,
-0.036722135,
0.0017645087,
0.068210706,
0.021602966,
-0.030383714,
0.014472242,
0.0144649735,
-0.07803817,
-0.0118481945,
0.038030524,
-0.007406939,
0.022329848,
0.041199733,
-0.0068726796,
-0.020003822,
0.06681509,
0.039513364,
-0.006062205,
0.020774318,
-0.023725463,
0.0101472875,
-0.0027512524,
-0.024365121,
-0.018259304,
-0.0067163995,
0.09379699,
0.016194955,
-0.014486779,
0.044950448,
-0.0763518,
-0.05041661,
0.029148012,
-0.016369406,
0.0021751977,
-0.03521022,
0.011644667,
0.014159682,
-0.015642524,
-0.042624425,
-0.010939591,
0.0034581462,
-0.0118772695,
0.04463062,
0.027883235,
0.020527178,
-0.01865182,
-0.044223566,
0.049835104,
-0.041083433,
-0.005775086,
-0.042827953,
0.022649677,
0.002834844,
-0.009253222,
0.00017865423,
-0.029744055,
-0.018128464,
-0.005458892,
-0.0017045408,
-0.018884422,
0.02405983,
-0.041752163,
-0.020861544,
0.032680664,
0.041432336,
-0.03861203,
-0.018186614,
-0.025397295,
-0.0007941198,
0.0011384806,
0.011906344,
-0.031168746,
-0.022010019,
-0.037449017,
0.051114418,
-0.030354638,
-0.0101254815,
0.0006464716,
-0.041461412,
-0.04195569,
0.006080377,
0.010547074,
-0.058906604,
0.0008945205,
-0.04378744,
0.014806609,
-0.08676077,
-0.0010058244,
-0.049776953,
-0.016805537,
-0.01715444,
0.029889433,
-0.030674467,
-0.024655875,
0.016587472,
0.0051317946,
-0.003229178,
0.025092004,
-0.042915177,
-0.067919955,
-0.00795937,
-0.020309113,
-0.016878225,
0.036373228,
-0.036198776,
0.00015514411,
-0.006483797,
0.006236657,
-0.03151765,
-0.009529437,
-0.039775044,
0.00019364619,
0.033727374,
-0.01088144,
0.03207008,
0.03183748,
-0.0010557977,
0.028115837,
0.025077466,
-0.004455793,
0.0065383133,
-0.024088906,
-0.07292091,
0.038757406,
-0.03474501,
-0.016122267,
0.016078655,
-0.01654386,
-0.014326866,
-0.0022079074,
0.013323767,
0.080247894,
0.011048622,
-0.025004778,
-0.08100385,
0.0084173065,
0.011462946,
-0.0022787785,
-0.0001060795,
0.010852365,
-0.026400393,
-0.023609163,
-0.0044412557,
-0.03669306,
-0.0030819844,
-0.010459848,
0.026036952,
0.0011493838,
0.039891344,
-0.029802207,
-0.051695924,
-0.027040051,
0.013287423,
-0.0149156405,
0.017852249,
0.021719266,
0.006858142,
0.0190298,
0.07181605,
0.0064002057,
-0.0056115375,
-0.008497263,
0.040385623,
0.011186731,
-0.06262825,
0.021791955,
0.019785758,
-0.04451432,
-0.09269213,
-0.0282176,
0.0018035787,
0.017546957,
-0.025833424,
-0.0013465509,
-0.015279083,
-0.044746924,
0.0034163506,
0.008497263,
0.015598911,
0.0030565434,
-0.031982854,
-0.010597955,
-0.058674004,
0.0033400278,
0.066873245,
-0.030616315,
-0.015613449,
-0.044805072,
-0.052684486,
0.010765138,
-0.03332032,
0.027955923,
-0.022228085,
0.024394196,
0.004844676,
0.03576265,
0.07908488,
-0.006229388,
0.039949495,
0.011172193,
-0.043002404,
-0.036286004,
-0.046956647,
0.034047205,
0.007952101,
0.006745475,
-0.01479934,
0.04855579,
0.018797196,
-0.01336738,
0.0007259745,
-0.042013843,
-0.012611422,
-0.054923285,
-0.020498103,
0.022853205,
-0.02157389,
-0.008199241,
-0.00039433409,
0.00696354,
-0.027519794,
-0.05352767,
-0.012487851,
-0.009841997,
-0.021457588,
-0.031779326,
-0.03680936,
-0.068210706,
0.008969737,
-0.034221657,
-0.0070398627,
0.008700791,
0.025877038,
-0.02094877,
-0.012538733,
0.012386087,
0.019872984,
0.015409921,
0.012357012,
0.0012620507,
0.002633134,
-0.060825575,
0.00083000964,
-0.039338913,
0.05108534,
0.021472126,
-0.022736903,
-0.024088906,
-0.04381651,
-0.0025531768,
-0.0014192392,
-0.014283253,
0.04332223,
0.0016427558,
-0.021559352,
-0.017866787,
0.061000027,
-0.034512408,
-0.0070325937,
-0.049951404,
-0.04227552,
0.049020994,
0.044601545,
0.018535519,
0.014043381,
0.00553158,
-0.022242622,
-0.0056805913,
0.0361697,
0.010503461,
0.01616588,
-0.012945788,
0.025004778,
-0.0026040587,
-0.028755495,
0.0719905,
0.05277171,
-0.0031837479,
0.033058643,
0.024176132,
0.0051136226,
-0.020483565,
-0.051405173,
0.0039033622,
0.041432336,
0.014668501,
0.0064510875,
-0.008213779,
-0.002346015,
-0.036780283,
0.03183748,
-0.035413742,
-0.03233176,
-0.0048046974,
-0.046694968,
0.0038125017,
-0.026589382,
0.008388231,
0.034279805,
0.0016745569,
0.0011820936,
0.016020503,
-0.026473083,
0.012923981,
0.035966177,
-0.084260285,
-0.05259726,
0.016064117,
-0.0022587893,
-0.0360534,
-0.038408503,
0.026778372,
0.089610144,
0.02163204,
0.022969505,
-0.043554835,
-0.012778604,
0.03218638,
0.025295531,
-0.055999074,
0.012989401,
-0.0021933697,
0.009653008,
-0.0014464973,
0.010270858,
0.02337656,
0.0148865655,
0.03096522,
-0.021399438,
-0.016892763,
-0.021980945,
0.000102161146,
-0.019756682,
0.009827459,
-0.0018181163,
0.027069125,
-0.029133474,
0.0073451535,
0.006665518,
0.0721068,
-0.0032073716,
0.052248355,
-0.008264661,
0.03300049,
0.0012129862,
-0.04035655,
-0.018433755,
0.010474385,
-0.012778604,
-0.005920463,
0.0428861,
-0.027010975,
-0.011412065,
-0.008584489,
0.013563639,
0.0258625,
0.018855346,
-0.015133706,
0.010452579,
-0.0313432,
0.04189754,
-0.022606064,
-0.050445687,
0.0015609814,
0.027199965,
0.036373228,
0.02231531,
-0.016820075,
0.0027348977,
0.045531955,
0.056725956,
0.004263169,
0.029191624,
0.0061021834,
0.03922261,
-0.032477137,
0.051812228,
-0.008548145,
-0.039135385,
-0.006600098,
-0.030500013,
-0.022358924,
0.0023587355,
-0.027519794,
-0.0058150645,
-0.006229388,
-0.0083955,
0.013905274,
-0.037710693,
0.03468686,
-0.021980945,
-0.006589195,
0.028362978,
-0.01996021,
0.0051645045,
0.025019316,
0.024946628,
-0.009667545,
0.06018592,
0.017241666,
0.02834844,
0.07832892,
0.015002867,
0.034832235,
-0.0038125017,
-0.009304103,
-0.01666016,
0.010285395,
0.020658018,
0.0046883957,
-0.0097256955,
0.011223075,
-0.028173989,
0.01840468,
0.023405636,
0.021457588,
-0.02176288,
0.032913268,
0.0033145868,
-0.017357968,
0.013745359,
0.11420787,
0.06402386,
0.02605149,
0.00007183649,
-0.008519069,
-0.041083433,
0.0014074274,
0.0023314776,
0.018419217,
-0.016180417,
-0.026342243,
-0.009136921,
-0.048904695,
-0.008366425,
0.0061930437,
-0.0032691567,
-0.034715936,
0.036634907,
0.061523385,
0.018244766,
0.046520516,
0.0049464395,
-0.004884654,
0.010685181,
0.09251768,
-0.019480467,
0.05503959,
-0.0013447338,
-0.036954734,
-0.012546002,
0.00888978,
-0.028915409,
-0.02343471,
0.02411798,
0.0041868463,
-0.027083663,
-0.03172118,
-0.015191857,
-0.012487851,
0.011790044,
-0.012458776,
-0.03462871,
0.009362254,
-0.03500669,
-0.07402577,
-0.03867018,
-0.06117448,
0.0057096668,
-0.02312942,
-0.006254829,
0.020032898,
-0.034250733,
0.2519086,
0.057772666,
0.023987142,
0.015758825,
0.03125597,
0.048439488,
0.0028475644,
0.00005312493,
0.013316498,
-0.06757105,
0.0084173065,
0.0028839086,
0.0035144796,
0.025528133,
-0.04451432,
0.022547914,
-0.004161406,
0.0033999956,
0.019233325,
-0.036663983,
-0.03855388,
-0.005382569,
0.0076395413,
0.026124178,
0.011957226,
-0.0073197125,
0.020977845,
-0.04073453,
0.01405065,
-0.03550097,
-0.013883467,
-0.009536706,
0.022547914,
-0.0153226955,
-0.018928036,
0.008279198,
0.009144189,
0.011608323,
0.006414743,
-0.034337956,
-0.017983088,
0.009071501,
-0.0021879182,
-0.028711881,
-0.031692103,
0.0721068,
-0.00090633234,
-0.011746431,
0.047596306,
-0.03843758,
0.05483606,
-0.006011323,
0.022140859,
0.0016800085,
-0.041374184,
0.029249774,
-0.022228085,
-0.010830558,
-0.0035708132,
-0.006342055,
0.06600098,
-0.01523547,
-0.034337956,
0.007112551,
-0.018869884,
0.037594393,
-0.029482378,
0.02946784,
-0.039077234,
-0.046694968,
0.01094686,
0.01442863,
-0.031110596,
-0.022547914,
0.01312024,
0.006432915,
0.022329848,
0.020192811,
-0.0069671744,
-0.009086039,
0.01586059,
0.013192927,
-0.009951029,
-0.014086994,
0.046346065,
-0.015337233,
-0.015991427,
-0.013767165,
-0.0016445729,
-0.00024486874,
0.020439953,
0.050561987,
-0.020047436,
-0.022344386,
0.018506443
] | yml
compute_environment: LOCAL_MACHINE
deepspeed_config:
deepspeed_config_file: /home/user/configs/ds_zero3_config.json
zero3_init_flag: true
distributed_type: DEEPSPEED
downcast_bf16: 'no'
machine_rank: 0
main_training_function: main
num_machines: 1
num_processes: 4
rdzv_backend: static
same_network: true
tpu_env: []
tpu_use_cluster: false
tpu_use_sudo: false
use_cpu: false |
[
0.07099658,
0.011224846,
-0.01790176,
-0.016970808,
-0.033331156,
-0.028004885,
-0.025028888,
-0.004513594,
0.006161838,
0.05900103,
0.025715657,
0.015933024,
0.049691502,
-0.022174984,
-0.024754182,
0.03562038,
0.014254257,
-0.037024442,
-0.061961763,
0.0012056599,
-0.012346568,
0.017642314,
-0.07655177,
-0.04514357,
-0.048745286,
0.01448318,
-0.016039856,
-0.030584082,
0.06241961,
0.018512221,
-0.03366691,
-0.013086751,
-0.008821157,
-0.030324636,
-0.0042694095,
-0.0500883,
0.020206248,
0.0013735365,
-0.05219439,
-0.036413983,
-0.016543485,
-0.014155057,
0.026906056,
-0.054880418,
-0.06910415,
0.006749406,
0.013598012,
-0.020206248,
-0.027196024,
-0.01840539,
-0.004162579,
0.038581118,
0.02594458,
-0.015269148,
-0.0412061,
-0.020786187,
-0.015276779,
-0.012216845,
-0.034643646,
-0.006699806,
0.010515186,
0.03026359,
-0.02837116,
-0.04276277,
-0.0056505767,
0.012888351,
-0.03681078,
0.017627053,
-0.022190247,
-0.0051622083,
-0.04557089,
0.0283559,
-0.05359845,
-0.043434277,
-0.016589269,
0.019870495,
0.027867531,
-0.026890794,
0.006291561,
0.04615083,
-0.0034643644,
0.024983104,
-0.005398762,
0.016406132,
-0.024616828,
-0.02655504,
0.050759807,
-0.004334271,
-0.020969326,
-0.023869013,
-0.026509255,
0.0073789437,
-0.038489547,
0.013178321,
0.022693876,
0.031927094,
-0.01890902,
0.014773149,
-0.01458238,
-0.018268036,
0.034674168,
0.10817364,
-0.041908126,
0.030950358,
-0.0011121831,
-0.015475179,
0.008363311,
-0.028142238,
-0.034033183,
-0.027562302,
-0.0020030742,
0.0017960898,
0.041877605,
0.024967842,
0.006871498,
0.017932283,
-0.007920728,
-0.017230254,
-0.04053459,
-0.018008592,
0.016665578,
-0.029424205,
-0.021091416,
-0.069409385,
0.06263327,
-0.012239737,
-0.000100869096,
0.023548521,
0.010789893,
-0.013765889,
0.039435763,
0.009362941,
0.0349794,
0.058543183,
-0.027516516,
-0.027440209,
0.004242702,
0.020984586,
0.0074476204,
0.00037891488,
-0.04364794,
-0.020297818,
-0.022541262,
0.100237645,
0.049111564,
-0.02675344,
0.012697583,
-0.06666231,
-0.045479324,
0.015643055,
-0.031041926,
-0.022785446,
-0.005494146,
0.012193953,
-0.032812264,
-0.056650754,
-0.016253516,
0.034918353,
0.027867531,
0.023853753,
-0.018893758,
0.0035559335,
-0.060588226,
0.043037478,
-0.0035616567,
0.050607193,
-0.05372054,
-0.037573855,
0.013536966,
-0.05298799,
0.009416357,
0.009294264,
0.003615072,
0.0097215865,
0.061809145,
0.009866571,
0.037146535,
0.025013627,
-0.015520963,
-0.030431466,
-0.0063983914,
0.007543005,
-0.022983845,
0.03931367,
0.00094096793,
0.003399503,
0.020053634,
0.0035425797,
0.012407614,
0.034674168,
0.009935248,
0.04254911,
-0.031316634,
0.026585564,
-0.016268779,
0.0051164236,
-0.017230254,
0.015871977,
0.02846273,
-0.036993917,
-0.012995183,
0.035956137,
-0.012193953,
-0.0009314295,
0.018206991,
0.0013306135,
-0.009072972,
0.020175727,
0.015597271,
0.005360608,
0.033361677,
0.0044105784,
0.0066616526,
0.017825453,
0.027379163,
-0.027180763,
-0.018451175,
0.004151133,
0.008157281,
0.030843526,
0.009927617,
0.028218545,
0.03427737,
0.021045633,
0.05222491,
-0.017535483,
0.006028299,
0.0322018,
0.0041167946,
0.03598666,
0.034063708,
0.025578303,
-0.0028558115,
0.053476356,
0.013651428,
0.006043561,
0.04975255,
0.026356641,
0.020267295,
-0.00059042993,
0.016802931,
0.024647351,
0.017382868,
0.052163865,
0.0031801187,
0.004364794,
-0.04105348,
-0.0011140908,
-0.020465694,
0.027272332,
-0.056955982,
0.023166984,
0.016055116,
-0.0042999326,
-0.066784404,
-0.0051851007,
-0.020145204,
0.038367454,
0.0042503327,
0.013811673,
-0.0029092268,
0.031072449,
-0.03311749,
0.036566596,
0.040259883,
0.032659646,
-0.013811673,
0.030095713,
0.017962806,
-0.047524367,
-0.059703056,
-0.051767066,
-0.103289954,
-0.014246627,
-0.059764102,
-0.0053796847,
-0.004513594,
-0.057200167,
-0.007859682,
-0.03742124,
-0.0010539986,
0.02132034,
-0.0063640526,
0.033178538,
0.057566445,
0.019351603,
-0.024189506,
0.019992588,
-0.024418429,
0.013117274,
-0.008638019,
-0.03760438,
-0.010011556,
0.0054216543,
0.040565114,
0.028294854,
-0.008882203,
-0.014620534,
-0.04093139,
0.024677875,
0.0037791333,
-0.012140538,
0.016741885,
0.009698695,
-0.025212027,
0.04193865,
0.026005626,
-0.059611488,
0.033544816,
0.043495324,
-0.026387164,
0.021625571,
0.0057955612,
0.029958358,
-0.03620032,
0.048714764,
0.039283145,
-0.012918875,
-0.02434212,
-0.026036149,
-0.009874202,
-0.004937101,
-0.0052919313,
-0.03439946,
-0.022877015,
0.07044716,
-0.06241961,
-0.06013038,
-0.022922799,
-0.033331156,
-0.021396648,
-0.016009333,
-0.005318639,
0.026921317,
-0.0070813443,
0.03879478,
-0.04447206,
0.033025924,
0.004509778,
0.022663353,
-0.00086466037,
0.007966512,
0.015192841,
0.031438727,
0.0168945,
0.0016224901,
0.013620905,
-0.053751066,
0.045815077,
-0.013338567,
0.0068829446,
0.009134018,
-0.013933766,
0.010744108,
0.021869754,
0.036413983,
-0.048714764,
0.0078520505,
-0.026829747,
0.01881745,
0.02202237,
0.038092747,
0.0074705128,
-0.003172488,
-0.031240327,
-0.020068895,
0.0054254695,
0.031896573,
0.02765387,
-0.04083982,
0.03751281,
-0.0043190094,
-0.04789064,
-0.02051148,
0.024357382,
-0.025761442,
0.02876796,
0.030248327,
0.03035516,
-0.0016348901,
-0.051370267,
0.021656094,
0.0003626995,
0.030904572,
0.004204548,
0.011713215,
0.011018815,
0.026783964,
-0.020984586,
0.0054178387,
0.0070050363,
0.017947545,
-0.009210326,
-0.021762924,
-0.025288334,
-0.058360044,
0.025486734,
0.06531929,
0.031102972,
0.016131423,
0.04706652,
0.0028462731,
-0.009034818,
-0.005089716,
0.0074247285,
-0.029195283,
-0.055887677,
0.02373166,
0.053354267,
-0.00080742966,
-0.003529226,
-0.008897465,
-0.000799322,
0.0070813443,
-0.013468289,
0.0034471953,
-0.03348377,
0.0064594373,
0.006116053,
-0.014818934,
-0.030584082,
-0.029561559,
-0.06470884,
0.01166743,
0.06409837,
-0.013384351,
-0.012117645,
-0.040412497,
-0.0082946345,
0.018970067,
-0.0074323593,
-0.011102754,
-0.014811303,
-0.000170619,
-0.05017987,
0.013292782,
0.055674016,
-0.024403166,
-0.018878497,
-0.05091242,
-0.024464212,
0.014445026,
0.009927617,
-0.0034529183,
-0.002298766,
0.0044830707,
-0.0022701507,
-0.0021499663,
0.02241917,
0.01367432,
0.027913315,
-0.030110974,
0.043281663,
-0.038275886,
0.009408725,
-0.039252624,
-0.00281575,
0.030645126,
0.008569342,
0.025257811,
-0.040809296,
0.010881462,
0.027837008,
-0.034124754,
-0.045082524,
0.023411168,
0.014521334,
-0.031743955,
0.015749887,
-0.027852269,
0.0022033816,
0.024983104,
-0.0053758696,
0.0056086075,
0.008271743,
-0.012445767,
-0.0038955023,
-0.011987922,
0.007771928,
0.02263283,
-0.06489197,
0.034765735,
-0.020999849,
0.0074781436,
0.014521334,
-0.05411734,
-0.024922058,
0.0000654576,
-0.041297667,
0.015658317,
0.010843309,
0.0039145793,
-0.008134389,
-0.010568601,
-0.02070988,
-0.026783964,
0.0019572896,
-0.010904354,
0.051217653,
0.023609567,
0.0027070118,
-0.06702858,
-0.013155428,
0.032262847,
-0.020236772,
0.042274404,
-0.0032487956,
0.0073865745,
0.007058452,
0.008111496,
-0.021335602,
0.022144461,
-0.004784486,
0.011171431,
0.022449693,
-0.022785446,
-0.018313821,
-0.02402163,
-0.027928578,
0.06947043,
-0.051950205,
-0.04083982,
-0.03522358,
0.00017169207,
0.00407101,
0.0322018,
0.05579611,
-0.0438616,
-0.05521617,
-0.046791814,
0.027562302,
-0.020557264,
0.00884405,
-0.042274404,
-0.00022188816,
-0.011575861,
0.011079862,
0.025776703,
-0.026036149,
0.024555782,
-0.0384285,
-0.015429394,
-0.07893257,
0.009065341,
0.012987551,
0.008989034,
-0.018847974,
0.005223254,
0.015009702,
0.0113622,
-0.010629647,
0.009019556,
0.021518739,
0.018466435,
-0.034735214,
-0.027562302,
0.032140754,
-0.001819936,
-0.0011541522,
-0.021350862,
-0.03026359,
0.003313657,
-0.013872719,
0.05732226,
-0.038123272,
-0.051553406,
-0.008431989,
0.009408725,
0.04315957,
-0.041297667,
-0.0059100226,
-0.013254628,
0.027394423,
-0.007783374,
0.049844116,
-0.008920357,
0.009675802,
-0.025517257,
-0.069836706,
0.009019556,
-0.0034719952,
-0.015147056,
-0.022938062,
-0.010332047,
0.05982515,
-0.0504851,
0.004032856,
0.06623498,
-0.008767742,
0.027943838,
-0.02515098,
0.040748253,
-0.0041663945,
0.009378202,
-0.023197507,
0.014536596,
-0.03729915,
-0.002004982,
0.0040061483,
-0.033392202,
-0.020297818,
0.042823818,
0.05057667,
-0.047799073,
0.028203284,
0.010484663,
-0.04825692,
-0.041511327,
0.029500514,
0.036017183,
0.0058680535,
0.001985905,
0.024845751,
0.013933766,
0.006406022,
-0.028020145,
-0.016116163,
-0.00069487595,
0.056650754,
-0.022602307,
-0.020572526,
-0.011820045,
0.027867531,
-0.033972137,
-0.00638313,
-0.016909761,
0.06654022,
-0.017428653,
-0.007966512,
-0.018191729,
-0.0079817735,
-0.03821484,
0.029302113,
0.042488065,
-0.016482439,
-0.0030007958,
0.023182245,
-0.003750518,
-0.04746332,
0.0060473764,
0.04636449,
-0.037482288,
-0.0062724836,
-0.025471473,
0.035528813,
-0.025059411,
-0.037543334,
0.055185646,
-0.011324046,
0.01015654,
0.050149348,
-0.015917763,
0.065075114,
0.01860379,
-0.009393464,
0.014170319,
-0.03949681,
-0.06391524,
-0.04273225,
-0.01377352,
-0.010522816,
0.015719363,
-0.03818432,
0.019702619,
0.019290559,
0.050210394,
0.004734886,
-0.06971461,
-0.011820045,
-0.022388646,
0.009240849,
0.050729286,
0.0045326706,
0.009790263,
0.013140166,
0.0039451024,
-0.062114377,
0.0013964289,
0.0069401753,
-0.042060744,
-0.015055487,
-0.051248174,
0.012957028,
-0.04373951,
0.002254889,
-0.03195762,
-0.012346568,
0.0033785184,
0.029546298,
0.018512221,
0.017642314,
0.016833454,
0.006417468,
0.0023540892,
0.025089934,
-0.027837008,
0.009095864,
-0.009614756,
-0.005810823,
-0.007653651,
0.0016005517,
0.021106679,
-0.031347156,
0.018268036,
-0.010019186,
0.021305079,
-0.0077185123,
0.031835526,
0.050149348,
-0.03522358,
0.009584233,
-0.027516516,
0.017566007,
-0.019778926,
-0.0088135265,
0.0021766739,
-0.010499924,
-0.0142924115,
0.05561297,
0.02864587,
0.04654763,
0.0037352564,
0.04352585,
0.002254889,
0.0073140822,
-0.009912356,
0.0027947654,
0.021488216,
-0.0110646,
-0.0044525475,
-0.04444154,
0.04959993,
0.018939544,
0.0004199302,
0.02364009,
0.012056598,
-0.019656835,
0.015040225,
0.003590272,
-0.009401095,
0.058176905,
0.036566596,
-0.017230254,
-0.03516254,
-0.003166765,
-0.028798483,
0.029134236,
-0.067150675,
-0.016024593,
0.030813005,
-0.06104607,
0.010637278,
-0.038123272,
0.02573092,
0.0014212289,
-0.0017731976,
0.012697583,
-0.0416029,
-0.004254148,
-0.0017503053,
0.011995553,
-0.0392221,
-0.045601413,
0.005318639,
0.043281663,
-0.027424946,
-0.028981622,
0.0017436284,
0.047127567,
-0.00062906067,
-0.018176468,
-0.02585301,
-0.021335602,
-0.02515098,
0.044136308,
-0.02655504,
-0.01246866,
-0.03952733,
0.013643797,
-0.023319598,
0.024448952,
-0.010484663,
0.028233808,
0.012590752,
0.011560599,
-0.011407984,
0.06617394,
-0.0077871894,
-0.002231997,
-0.0146281645,
0.0016062747,
0.006173284,
0.007047006,
-0.010576231,
0.02132034,
0.029714175,
0.044685725,
0.033178538,
-0.009897094,
0.03522358,
0.02092354,
-0.024265813,
-0.02493732,
0.03430789,
0.014101642,
0.017733883,
-0.007543005,
-0.04334271,
-0.004254148,
0.014605273,
0.013414874,
0.0412061,
-0.040992435,
-0.004647132,
-0.0027947654,
0.008470142,
0.030217804,
0.0033956876,
-0.011377461,
0.020770926,
0.011659799,
0.019794188,
0.022739662,
0.024693135,
0.0104236165,
0.048745286,
0.041999698,
-0.0013220289,
-0.0065815295,
-0.01739813,
0.04938627,
-0.024296336,
0.010194694,
-0.0098513095,
-0.008599865,
-0.029393682,
0.0019315358,
-0.034033183,
0.029118976,
0.012529706,
-0.028584823,
-0.005765038,
-0.0076078665,
-0.032659646,
-0.06879892,
0.0070317443,
-0.07026403,
0.012010815,
0.0030236882,
-0.020236772,
-0.04557089,
-0.0021976586,
0.010469401,
0.027562302,
-0.025578303,
0.06654022,
0.033056445,
0.09101969,
0.03864216,
0.023136461,
0.015719363,
0.020129941,
-0.046822336,
-0.016879238,
0.008409096,
-0.0045212246,
-0.040198836,
-0.06153444,
-0.06428151,
0.03693287,
0.025379904,
-0.026921317,
-0.06299955,
0.018237513,
0.005169839,
-0.02090828,
0.0029130422,
0.0971243,
0.021686617,
0.0059977765,
-0.0051164236,
0.018954804,
-0.055765584,
-0.0012962752,
-0.021717139,
0.046272922,
-0.0172913,
-0.01518521,
-0.016772408,
-0.0659908,
0.015841456,
-0.01950422,
-0.008821157,
0.0027108272,
-0.0043075634,
0.013407243,
0.07697909,
0.00025896888,
-0.010469401,
-0.022403907,
0.034704693,
0.013544597,
-0.019748405,
0.056894936,
0.018741144,
-0.0076612816,
-0.0060969763,
0.018573267,
0.0015395056,
-0.019733142,
-0.031209804,
0.0009633833,
0.03409423,
-0.01619247,
-0.05503303,
-0.025120458,
0.011026447,
-0.014963918,
0.008638019,
-0.007108052,
-0.03751281,
-0.051034514,
-0.000743999,
-0.027531778,
0.026081933,
-0.029317375,
-0.048745286,
0.028325377,
-0.017672837,
0.27861425,
0.04526566,
0.033789,
0.010988292,
0.010103124,
0.003061842,
0.011514815,
-0.019473696,
0.009378202,
-0.022495477,
-0.0009862756,
-0.023182245,
-0.0037676871,
0.0161009,
-0.05359845,
0.039405238,
-0.06428151,
-0.009805525,
-0.03852007,
-0.019962065,
-0.006161838,
0.047127567,
-0.012224476,
0.06476988,
0.043373235,
-0.023716398,
-0.0008346142,
-0.05692546,
0.011957399,
-0.03247651,
0.027501255,
-0.017550746,
0.013308044,
-0.006570083,
0.008935618,
0.042304926,
0.025501996,
-0.012331306,
-0.012079491,
0.002077474,
0.007012667,
-0.020450434,
0.03391109,
0.013285151,
-0.03238494,
0.04062616,
-0.004051933,
0.03256808,
0.015307302,
-0.07868838,
0.030828265,
-0.06205333,
0.027073933,
-0.0508819,
-0.045815077,
-0.021549262,
-0.016909761,
-0.013689581,
-0.0048340857,
0.017764406,
0.04254911,
0.012888351,
-0.0038783331,
0.024555782,
-0.02434212,
0.030980881,
-0.024586305,
0.014399242,
-0.018237513,
-0.013750628,
-0.0035807337,
-0.008905095,
-0.022663353,
-0.034155276,
0.04715809,
0.04193865,
0.045204613,
0.016726622,
0.011881092,
-0.060069334,
0.012926505,
-0.0037352564,
-0.02876796,
-0.011392723,
0.018542744,
0.046730768,
-0.04355637,
-0.002415135,
0.021869754,
0.05350688,
0.034033183,
0.057780106,
0.0002446612,
0.030614603,
0.03516254
] |
Train with a script
Along with the 🤗 Transformers notebooks, there are also example scripts demonstrating how to train a model for a task with PyTorch, TensorFlow, or JAX/Flax.
You will also find scripts we've used in our research projects and legacy examples which are mostly community contributed. These scripts are not actively maintained and require a specific version of 🤗 Transformers that will most likely be incompatible with the latest version of the library.
The example scripts are not expected to work out-of-the-box on every problem, and you may need to adapt the script to the problem you're trying to solve. To help you with this, most of the scripts fully expose how data is preprocessed, allowing you to edit it as necessary for your use case.
For any feature you'd like to implement in an example script, please discuss it on the forum or in an issue before submitting a Pull Request. While we welcome bug fixes, it is unlikely we will merge a Pull Request that adds more functionality at the cost of readability.
This guide will show you how to run an example summarization training script in PyTorch and TensorFlow. All examples are expected to work with both frameworks unless otherwise specified.
Setup
To successfully run the latest version of the example scripts, you have to install 🤗 Transformers from source in a new virtual environment: |
[
0.053398464,
0.011622019,
0.003526583,
-0.018946461,
-0.011315049,
-0.06253617,
0.02727034,
0.0019060682,
-0.004065565,
0.021973325,
0.0073458585,
-0.00482942,
0.06556304,
-0.0056146914,
-0.02647079,
0.031981967,
0.017832803,
-0.026713511,
-0.038835246,
0.0025200078,
0.020074395,
0.0016695944,
-0.086522646,
-0.049058054,
-0.004693782,
0.06504904,
0.0064784903,
-0.018389631,
0.06853279,
0.013256812,
-0.06373549,
-0.030097317,
0.018446742,
-0.0253143,
-0.012521512,
-0.027284617,
0.0074243853,
0.027156118,
-0.028640995,
-0.06076574,
-0.004236897,
-0.02891227,
0.0007009441,
-0.050343044,
-0.061222624,
-0.0077384943,
-0.0071352627,
-0.025542742,
0.0018177251,
-0.0074814963,
-0.023372537,
0.028826604,
0.032695852,
0.005143529,
-0.027441671,
0.0057146354,
0.008573737,
-0.023001317,
-0.018560965,
0.0011555984,
-0.006039452,
0.06013752,
0.015933873,
-0.0037693034,
-0.005800301,
0.013585198,
-0.03221041,
0.03032576,
0.014734549,
0.01846102,
-0.0407199,
0.046316743,
0.01094383,
-0.06527748,
-0.01204321,
0.0026377984,
0.042775884,
-0.018475298,
0.024100697,
0.050143156,
0.007538607,
0.054026682,
0.0018543117,
0.022330267,
-0.003876386,
-0.018817961,
0.029668987,
0.008737931,
-0.028826604,
-0.0069282367,
-0.025771184,
0.02604246,
-0.030468537,
0.018817961,
0.015848208,
0.018432464,
-0.015476989,
0.00825249,
-0.016604925,
-0.024543306,
0.022144657,
0.09714523,
-0.05428368,
0.023058427,
0.022344545,
-0.017932747,
0.016676312,
0.0047651706,
-0.031639304,
-0.01015142,
0.021216609,
-0.015377045,
0.014863049,
0.018732296,
0.032181855,
-0.011343604,
0.005514748,
0.03221041,
-0.06265039,
-0.050971262,
0.03623671,
-0.0059466474,
-0.01015142,
-0.054198015,
-0.001280528,
-0.015862485,
-0.00023848162,
0.02108811,
0.03600827,
-0.031153863,
-0.0059823412,
0.03795003,
0.061451066,
0.036893483,
-0.01918918,
-0.032438852,
-0.016904755,
0.00874507,
0.017575804,
-0.024900246,
-0.049315054,
-0.028155554,
-0.026627844,
0.07110277,
0.022601543,
-0.013114035,
0.023329703,
-0.05899531,
-0.013006953,
0.0022701486,
-0.0053398465,
-0.0075029125,
-0.02175916,
0.028955104,
0.00059921574,
0.039948907,
-0.037750144,
0.04871539,
0.02218749,
0.00421905,
0.015576932,
-0.030782644,
0.008231074,
0.047201958,
-0.043118548,
0.032695852,
-0.040976897,
-0.017261697,
0.05134248,
-0.031210974,
0.0059145223,
0.0112507995,
-0.018946461,
-0.014763105,
0.052284807,
-0.011928989,
0.03932069,
-0.0029876013,
-0.0054754843,
-0.017404472,
0.025357133,
0.04346121,
0.023372537,
0.016362203,
-0.021059554,
-0.0057431906,
0.009630284,
-0.028783772,
0.00015973137,
-0.0023736616,
-0.009501786,
0.07298742,
-0.029269213,
-0.008102574,
-0.029811764,
-0.034066506,
-0.010137142,
0.013006953,
0.02084539,
-0.04700207,
-0.020802557,
0.032867182,
0.00037055,
-0.0064535043,
0.030268649,
-0.05048582,
-0.0436611,
-0.0015205713,
-0.016090928,
-0.02414353,
0.054483566,
-0.0034016536,
0.013049785,
0.037978586,
0.010843886,
-0.015491266,
-0.0029197824,
0.04377532,
-0.015205713,
0.049400717,
0.03252452,
0.041405227,
0.04968627,
0.050143156,
0.033266958,
0.029668987,
0.0081168525,
-0.021116666,
-0.030554201,
0.007695661,
0.035180166,
0.020045841,
0.029611876,
-0.0035765548,
-0.004261883,
0.055540115,
0.053455576,
0.021844827,
-0.011850461,
0.007788466,
-0.010001504,
0.0154056,
0.0071816654,
-0.0021684202,
-0.032410298,
0.019831676,
-0.007260192,
-0.011336465,
-0.000431007,
0.03692204,
-0.04143378,
0.05568289,
0.006285742,
0.011179411,
-0.058938198,
-0.029497655,
0.013228256,
0.021916214,
-0.0013572705,
0.004383243,
0.00910915,
-0.009451814,
-0.022287434,
0.00910915,
0.036208156,
0.04620252,
-0.014720272,
0.029126436,
0.0015919596,
-0.04334699,
-0.043975208,
-0.021016723,
-0.07510051,
0.019774565,
-0.06893256,
0.023815144,
0.024414806,
-0.061108403,
0.0104726665,
-0.022730041,
0.011943266,
0.007452941,
0.021416496,
-0.03532294,
0.052484695,
0.046373855,
-0.036408044,
0.00055816746,
-0.028826604,
0.012928425,
-0.00794552,
0.023758033,
-0.018503852,
-0.00916626,
-0.00096285,
0.026670678,
-0.012607178,
0.023129817,
-0.047487512,
0.012150292,
-0.044717643,
-0.027341727,
0.027156118,
0.00011857154,
0.0041762167,
0.0054790536,
0.025028747,
-0.02658501,
0.026113847,
0.049058054,
-0.029383434,
-0.011457826,
0.0058467034,
0.054569233,
-0.02457186,
0.061565287,
0.03686493,
0.04057712,
-0.039149355,
-0.008281046,
-0.018560965,
0.014249109,
-0.0031696416,
0.0092947595,
-0.026270902,
0.04725907,
-0.013984973,
-0.06356416,
-0.019817399,
-0.014299081,
-0.04291866,
-0.019517567,
-0.031525083,
0.028969381,
0.021245165,
-0.010337029,
-0.0091948155,
-0.0016972574,
0.008809319,
0.009937255,
-0.017033253,
0.013549504,
0.0154627105,
0.021716328,
-0.017375918,
-0.010965247,
0.022287434,
-0.023972198,
0.023600979,
-0.00039464358,
0.015990984,
-0.0058467034,
0.021031,
-0.036950596,
0.019160626,
0.045888413,
-0.018432464,
-0.002689555,
-0.028698105,
0.013421005,
0.028926548,
0.02530002,
-0.02231599,
0.008866429,
0.004283299,
-0.04945783,
0.0068318625,
0.04854406,
0.02378659,
0.0072459145,
0.05085704,
0.029554766,
-0.011322188,
0.013720836,
0.0407199,
-0.017033253,
0.02714184,
0.02322976,
0.016976142,
0.011850461,
-0.07452941,
-0.013685142,
-0.041034006,
0.0019471165,
0.013963556,
0.009237649,
-0.005329138,
-0.03235319,
-0.03846403,
-0.04934361,
-0.021801993,
-0.018718017,
-0.0082167955,
-0.0359226,
-0.0008463978,
-0.024414806,
-0.007049597,
0.059794858,
0.043575432,
0.015862485,
0.028940825,
0.042575996,
-0.0123287635,
0.0054754843,
-0.026085293,
0.017290251,
-0.06424949,
0.017618638,
0.07567162,
0.0119147105,
-0.030554201,
0.009765922,
0.0059644943,
0.029240657,
-0.02891227,
-0.024314862,
-0.023943644,
-0.020859668,
-0.030297203,
-0.031582195,
-0.030982532,
-0.03446628,
-0.052227695,
0.0109366905,
0.08149691,
-0.02609957,
0.009359009,
-0.04897239,
-0.056825105,
0.005000752,
0.014163443,
-0.01369228,
0.003558708,
-0.014720272,
-0.04280444,
0.01888935,
0.06596281,
-0.020545559,
-0.0061750896,
-0.0707601,
0.02732745,
-0.0021594968,
-0.034866057,
0.0035997562,
0.024015032,
-0.000106413216,
0.015691154,
-0.0045867,
0.025885405,
0.018660907,
0.038292695,
0.013706557,
-0.024286307,
-0.045688525,
-0.021687772,
-0.045402974,
-0.01639076,
0.0017463368,
0.020888222,
0.02615668,
0.0023522452,
0.034580503,
-0.0065998505,
-0.05696788,
-0.04280444,
0.003117885,
0.008737931,
-0.0027288187,
0.020616947,
0.002279072,
-0.022587266,
0.08183957,
0.0007727786,
0.0085808765,
-0.021430774,
-0.02451475,
0.027841445,
0.026427956,
0.006007327,
0.013699419,
-0.03489461,
0.044460647,
-0.004836559,
0.025043024,
-0.0023861546,
-0.06299306,
-0.030040206,
-0.00068265083,
-0.011472103,
-0.0042476053,
0.021045277,
0.017947024,
-0.006885404,
0.024671804,
-0.02261582,
-0.029840318,
-0.040320124,
0.000884769,
0.063621275,
0.020616947,
-0.016405037,
0.00050373387,
-0.003908511,
0.00800977,
-0.01650498,
0.03038287,
0.00537911,
-0.005043585,
0.00892354,
0.03043998,
-0.03178208,
0.00094054115,
-0.031011088,
0.013042646,
-0.0049222247,
0.00013853796,
-0.0041762167,
-0.03557994,
-0.048201393,
0.043147102,
-0.028883714,
-0.039663352,
-0.015805375,
-0.002928706,
-0.005354124,
0.03161075,
0.048144285,
-0.011557769,
-0.06544881,
-0.06265039,
0.04017735,
-0.1002292,
-0.007074583,
0.011871878,
-0.00056753715,
0.0022326699,
0.025814017,
0.008666542,
-0.061108403,
-0.002127372,
-0.026328012,
-0.01888935,
-0.07372986,
0.006325005,
0.019103514,
-0.047401845,
-0.039834682,
0.019674622,
-0.0003997746,
-0.005143529,
0.01974601,
0.024186363,
-0.012764232,
0.019917341,
-0.0013072987,
-0.015919596,
0.016647756,
-0.0051542367,
-0.0359226,
0.02341537,
-0.03435206,
0.018132634,
-0.017404472,
0.012314485,
-0.013228256,
-0.04711629,
-0.02958332,
0.022487322,
0.014834493,
-0.0070817214,
-0.010529777,
-0.0071745263,
0.0065927114,
0.04291866,
0.051628035,
0.016190872,
0.00075582386,
-0.030268649,
-0.037664477,
0.052256253,
0.0118576,
-0.022415932,
-0.013413866,
0.0034855348,
0.04988616,
-0.01405636,
0.006160812,
0.063678384,
-0.0052898745,
0.05642533,
-0.057253435,
0.007988353,
0.018503852,
-0.001146675,
-0.008109713,
0.019588955,
-0.009487508,
0.027184673,
-0.0044831866,
-0.010194252,
0.0054612067,
0.013599475,
0.03837836,
-0.018175466,
0.020402782,
-0.04100545,
-0.07224498,
-0.07207365,
0.04229044,
0.037550256,
0.017033253,
-0.007859854,
0.0021380803,
0.0099586705,
0.040948343,
0.008088297,
-0.013271089,
-0.027727224,
0.06864701,
0.027712947,
-0.0546549,
-0.024500472,
0.030554201,
-0.043118548,
-0.017575804,
-0.036636487,
0.06087996,
-0.06013752,
-0.019760288,
0.023586702,
0.037436035,
-0.034923166,
0.049429275,
0.03360962,
0.0067890296,
-0.013892167,
0.016033817,
-0.009994365,
-0.0085808765,
0.016405037,
0.026299458,
-0.020217173,
-0.016362203,
-0.00440109,
0.0010904566,
-0.034494836,
-0.03043998,
0.049286496,
-0.017747138,
-0.0019631789,
0.022444488,
0.03032576,
0.04757318,
0.0334954,
0.008502349,
-0.0020559838,
0.015277101,
-0.07567162,
-0.026613567,
-0.027027618,
-0.018603796,
-0.004169078,
-0.03992035,
-0.027041897,
0.017004699,
0.01840391,
-0.01503438,
-0.068304345,
0.00065275695,
-0.019203458,
0.021687772,
0.02922638,
-0.006121549,
0.029383434,
-0.022687208,
0.016576368,
-0.06464926,
0.0099586705,
0.05234192,
0.013185423,
-0.012314485,
-0.040862676,
-0.0026342291,
-0.0503716,
-0.051942144,
-0.016133761,
-0.0149487145,
-0.0016740562,
0.0062036454,
-0.016776256,
-0.028869437,
0.029469099,
0.034723278,
-0.02035995,
0.03532294,
-0.014905882,
-0.006160812,
0.021416496,
-0.019103514,
-0.035865493,
0.019631788,
0.0238437,
0.0049008084,
0.040091682,
-0.026270902,
0.0071780956,
0.009223371,
0.045802746,
0.03532294,
-0.033581067,
-0.05665377,
-0.0027377422,
0.020459892,
-0.01607665,
0.03192486,
0.014134888,
0.018146912,
-0.054455012,
0.029012214,
-0.06607703,
0.037750144,
0.0055468725,
0.0075457455,
0.030182982,
0.007931243,
-0.008637987,
0.008452377,
-0.026213791,
-0.019232014,
0.03166786,
0.027784334,
0.04408943,
0.029169269,
0.009066317,
0.028412553,
0.017532973,
0.020202896,
0.02757017,
-0.002291565,
-0.00525775,
0.0573391,
0.02958332,
-0.024429083,
-0.011507797,
-0.016761977,
-0.03209619,
0.039092246,
-0.03943491,
-0.032181855,
0.021602105,
-0.048515502,
0.039634798,
-0.016247982,
0.05165659,
0.0044653397,
0.012557206,
0.026399402,
0.03386662,
-0.017861359,
0.007035319,
0.033409733,
-0.06350705,
-0.015548376,
0.014377608,
0.054198015,
-0.026542177,
-0.03595116,
-0.016190872,
0.03569416,
-0.01944618,
-0.03446628,
-0.021587828,
-0.028027056,
0.014013528,
0.0098087555,
-0.025685519,
0.0031803497,
-0.0195604,
0.020859668,
-0.033038516,
0.017989857,
0.008637987,
0.02561413,
0.005800301,
0.03949202,
-0.0027270338,
0.053227134,
-0.014748828,
0.020702614,
0.0077313553,
0.021716328,
0.029754652,
0.0019828107,
-0.009987227,
0.017804248,
0.037578814,
0.03637949,
0.010793914,
0.021959048,
-0.0047544623,
0.020745447,
-0.032381743,
-0.0068925424,
-0.0019506859,
-0.014320497,
-0.02298704,
-0.009373287,
-0.03278152,
0.005582567,
0.014234832,
0.008523766,
0.05451212,
-0.020859668,
-0.024343418,
0.03221041,
-0.014520384,
0.0091948155,
-0.07590006,
-0.03403795,
0.033780955,
-0.027827168,
0.03049709,
0.012485817,
0.015248545,
-0.010958107,
0.034694724,
-0.009066317,
0.0034034383,
0.0024236336,
0.00446177,
0.040948343,
-0.0380357,
0.038492583,
-0.022730041,
-0.056339663,
-0.021002444,
-0.028155554,
-0.045688525,
0.0068318625,
-0.008445239,
-0.025157245,
-0.002470036,
-0.03837836,
-0.025457075,
-0.06864701,
0.009915838,
-0.018618075,
0.011786212,
-0.020274283,
-0.009644562,
-0.05396957,
0.034866057,
-0.0067319185,
0.046002634,
-0.013121174,
0.03972046,
-0.0049900436,
0.03392373,
0.031210974,
-0.00018828669,
0.03086831,
0.028783772,
-0.08458088,
0.0072102207,
0.0072673312,
-0.009987227,
-0.029726097,
-0.038606804,
-0.03692204,
0.008259629,
0.009366148,
-0.056625217,
-0.04534586,
-0.0043154242,
0.0072958865,
-0.04908661,
0.040520012,
0.06584859,
0.025399964,
-0.023329703,
0.018832238,
0.02280143,
-0.038235586,
-0.03740748,
-0.037807256,
-0.022016158,
0.024471916,
0.0040869815,
0.0007210221,
-0.025656963,
-0.009744506,
0.019417623,
-0.0054433597,
0.01797558,
-0.014299081,
-0.006399963,
0.05117115,
0.06179373,
0.007560023,
0.03300996,
-0.013792224,
0.024928803,
0.0050899875,
0.042090554,
0.014291942,
0.015876763,
0.020345671,
0.026856286,
0.010294196,
-0.05973775,
-0.015191435,
-0.0122787915,
0.022858541,
-0.046602298,
-0.05496901,
-0.0024396959,
0.031210974,
-0.010137142,
-0.0071923733,
0.0013126527,
-0.014263387,
-0.081896685,
-0.07372986,
-0.047915842,
-0.020459892,
-0.013128312,
-0.008488071,
0.020003008,
-0.024443362,
0.2400932,
0.061965063,
0.01846102,
0.0032660158,
-0.028869437,
-0.0043618265,
-0.00068041997,
-0.010187114,
-0.01479166,
-0.02952621,
-0.010558333,
-0.030896865,
0.021573551,
0.02060267,
-0.026656399,
0.016704867,
-0.055768557,
0.0070460276,
-0.010308473,
-0.032724407,
-0.039463464,
0.007609995,
-0.021073833,
0.060822852,
0.052399028,
0.018775128,
-0.00020434907,
-0.0041548004,
-0.038435474,
-0.029868875,
0.031639304,
-0.011629158,
0.003826414,
-0.01014428,
-0.005796732,
0.015576932,
-0.0046866434,
-0.024015032,
-0.010065753,
0.04394665,
0.045688525,
0.027655836,
-0.0032124745,
-0.017161753,
-0.027470225,
0.022658654,
-0.021216609,
0.009844449,
0.015305656,
-0.03221041,
0.0052220556,
-0.051827922,
0.03729326,
-0.056596663,
-0.031867746,
-0.014691717,
-0.023315426,
-0.016562091,
0.03043998,
-0.022430211,
0.04271877,
0.0003750118,
0.014413302,
0.00351409,
-0.055283118,
0.01192185,
-0.029840318,
0.081325576,
-0.012150292,
-0.011743379,
0.015748264,
-0.012628594,
-0.0444892,
-0.045802746,
0.021773439,
-0.00874507,
0.042890105,
0.017261697,
0.005050724,
-0.030582758,
0.006282172,
0.027912835,
-0.020459892,
-0.050171714,
0.025157245,
0.022030436,
-0.064877704,
0.016619202,
0.070017666,
0.030982532,
0.008966373,
0.06784746,
-0.020816835,
0.019646065,
0.003551569
] | git clone https://github.com/huggingface/transformers
cd transformers
pip install .
For older versions of the example scripts, click on the toggle below:
Examples for older versions of 🤗 Transformers
v4.5.1
v4.4.2
v4.3.3
v4.2.2
v4.1.1
v4.0.1
v3.5.1
v3.4.0
v3.3.1
v3.2.0
v3.1.0
v3.0.2
v2.11.0
v2.10.0
v2.9.1
v2.8.0
v2.7.0
v2.6.0
v2.5.1
v2.4.0
v2.3.0
v2.2.0
v2.1.1
v2.0.0
v1.2.0
v1.1.0
v1.0.0
Then switch your current clone of 🤗 Transformers to a specific version, like v3.5.1 for example: |
[
0.038187563,
0.006361066,
0.021069488,
-0.03454662,
-0.0060858782,
-0.04676777,
0.028605392,
-0.036070738,
-0.0039126026,
0.034885313,
0.021972667,
-0.013695872,
0.050408714,
-0.010781707,
0.0011554349,
0.05622293,
-0.015904428,
-0.003494529,
-0.06373061,
-0.0006010907,
0.011240353,
-0.0043042153,
-0.07868952,
-0.024851551,
-0.025980527,
0.04132047,
0.012700964,
-0.022015003,
0.08913254,
0.052243296,
-0.05723901,
-0.044199355,
-0.004029028,
-0.016031438,
0.0015611601,
-0.019503035,
0.0074018394,
-0.016807608,
-0.015847981,
-0.0310468,
-0.0003179651,
0.005980037,
-0.011360306,
-0.05515041,
-0.05692854,
-0.0009763866,
-0.0034416083,
-0.025980527,
0.012559841,
-0.05898892,
-0.013702928,
0.033615217,
0.02924044,
0.018684529,
-0.031921756,
0.002086839,
-0.0077264197,
-0.023059305,
-0.034123257,
-0.009716237,
0.029550908,
0.029804928,
0.030905679,
-0.017103964,
0.018035369,
0.0077899243,
-0.04741693,
0.035562698,
0.008192122,
-0.006057654,
-0.026911931,
0.06694819,
-0.0055813678,
-0.06559342,
-0.020392103,
-0.0018204715,
0.040078595,
-0.02231136,
0.025514824,
0.074738115,
0.010125491,
0.05498106,
-0.014902464,
0.0064669074,
-0.042336546,
-0.026799032,
0.019051446,
0.009920863,
-0.016102,
-0.021168273,
-0.012990263,
0.05187638,
-0.014013397,
0.010506519,
0.017160414,
0.033163626,
-0.028605392,
0.006960834,
0.008714273,
-0.0036162466,
0.03110325,
0.09737405,
-0.01454966,
0.018515183,
0.0071831006,
0.00019845256,
0.03894962,
-0.0154951755,
-0.05122722,
-0.008326188,
0.02839371,
-0.032062877,
0.009631564,
0.0030641074,
-0.00018478138,
0.014521435,
-0.0040784203,
0.025289029,
-0.07592354,
-0.04292926,
0.033191852,
0.0015902665,
-0.016920505,
-0.04611861,
-0.0007933692,
-0.031385493,
0.023666129,
0.03310718,
0.03271204,
-0.0019368969,
0.0110780625,
0.02813969,
0.067625575,
0.014719006,
0.0008608431,
-0.011974187,
-0.031554837,
0.025176132,
0.017245086,
-0.018557519,
-0.02568417,
-0.014373257,
-0.027448194,
0.09923686,
0.02852072,
-0.009525723,
0.03584494,
-0.06497248,
-0.040417287,
0.0041560377,
0.0016819957,
-0.021746872,
-0.0016705295,
0.022875847,
0.018402286,
0.045779917,
-0.01979939,
0.004794614,
0.0046958285,
0.009822079,
0.031583063,
-0.010097266,
-0.0044770897,
0.0666095,
-0.018656304,
0.055912465,
-0.050098244,
-0.022410145,
-0.03234512,
-0.041235797,
0.012334047,
0.017118076,
-0.04307038,
-0.014232135,
0.05193283,
-0.01507181,
0.054190777,
0.022283135,
0.017315647,
-0.01823294,
0.017767237,
0.018486958,
0.029748479,
0.013237227,
-0.028901748,
0.023129866,
0.038893174,
0.0040255,
-0.0028171444,
0.013406573,
-0.00046790703,
0.010203107,
-0.017682564,
0.003640943,
-0.031131472,
0.013293675,
-0.004879287,
0.009060021,
-0.011423811,
-0.021746872,
-0.013625312,
0.0077123074,
-0.030821005,
0.0122564295,
0.0105841365,
-0.06175491,
-0.019234903,
0.020900141,
-0.021436404,
-0.012291711,
0.016398355,
0.031244371,
-0.016962843,
0.061021075,
0.0064598513,
-0.028097354,
-0.025782956,
0.044199355,
0.0026231017,
0.015593961,
0.021902107,
0.01960182,
0.06914969,
0.039542332,
0.04236477,
-0.0005565492,
-0.0008718682,
0.064520895,
0.008008664,
0.0041772057,
0.0066327252,
0.028958198,
0.02218435,
0.028873524,
0.0078816535,
0.013695872,
0.060117893,
0.031865306,
0.016214896,
0.02741997,
0.023525007,
0.00023792256,
0.015241156,
0.017569667,
-0.054388348,
0.0020639065,
-0.012531618,
-0.015283493,
-0.003189353,
0.01364648,
-0.012700964,
0.03759485,
0.028760627,
-0.01409807,
-0.06745623,
-0.057972845,
0.010922829,
0.024399962,
0.00044651824,
0.00030385292,
0.0072395494,
0.019573595,
-0.04326795,
-0.005330877,
0.010188995,
0.040304393,
-0.019333689,
0.048856374,
-0.03245802,
-0.041235797,
-0.06480314,
-0.015819756,
-0.062319394,
0.03020007,
-0.044792064,
0.013554751,
0.021309394,
-0.06898034,
0.023397997,
-0.024752768,
-0.010598249,
0.0008877444,
0.0029194576,
-0.0014350325,
0.040304393,
0.027053053,
-0.037058588,
0.0068549924,
-0.022466594,
0.028055018,
-0.009243479,
0.019742941,
-0.0031170282,
-0.01785191,
0.031018576,
-0.0075500174,
-0.020603785,
0.0060823504,
-0.049195066,
0.02418828,
-0.022974633,
-0.011233297,
0.009455162,
0.0046499637,
0.011247409,
-0.008742496,
0.02238192,
-0.035675596,
0.026982492,
0.024823328,
-0.043804213,
-0.007931046,
0.003090568,
-0.0057612984,
-0.045695245,
0.011536709,
0.017089853,
0.022692388,
-0.0320911,
0.0020603784,
-0.020730795,
-0.010591192,
-0.007133708,
0.004335968,
0.01474723,
0.064859584,
0.014493211,
-0.055658445,
-0.015636297,
-0.046880666,
-0.011557877,
-0.019630045,
-0.034433722,
0.021394068,
0.0133077875,
0.015354054,
-0.020349767,
0.0036868076,
-0.015890317,
0.01810593,
0.019700605,
-0.0017710788,
0.014429706,
0.04405823,
0.013427741,
-0.024202392,
0.011670775,
-0.020194532,
0.006897329,
-0.018726865,
0.021309394,
0.015932653,
0.010485351,
0.027956232,
0.047078237,
0.054698817,
-0.0038385135,
-0.004635852,
-0.0015144135,
0.03725616,
0.024555197,
0.022734724,
-0.011056894,
-0.005976509,
-0.018712753,
-0.029466236,
-0.020011073,
0.0077405316,
0.02904287,
-0.041292243,
0.05859378,
0.020095747,
-0.019249016,
0.006699758,
0.036494102,
-0.03926009,
0.027899783,
0.025839405,
0.024992675,
0.0033992718,
-0.04798142,
0.007094899,
0.007754644,
0.008192122,
0.005567256,
-0.016920505,
-0.01785191,
-0.025895854,
-0.049590208,
-0.03784887,
-0.012122364,
-0.006054126,
0.016722936,
-0.027405856,
-0.027180063,
-0.036917467,
0.02949446,
0.04295748,
0.056448728,
0.023906035,
0.0048581185,
0.03745373,
-0.009299927,
0.012369327,
0.010682922,
0.008530814,
-0.051763482,
-0.006611557,
0.056448728,
-0.0038244012,
-0.031244371,
-0.000060803657,
-0.018120041,
0.023256876,
-0.024244728,
-0.0053732134,
0.014860127,
-0.02438585,
-0.0298896,
-0.049844228,
-0.02400482,
-0.040671308,
-0.035873167,
0.032570917,
0.06779492,
-0.036522325,
-0.0020462663,
-0.03945766,
-0.016864058,
0.028506607,
-0.026573239,
-0.068867445,
0.009942032,
-0.013851106,
-0.04151804,
0.025190245,
0.061924253,
0.005038049,
0.020067522,
-0.06023079,
0.0015611601,
0.009744462,
-0.021986779,
-0.027123613,
-0.011085119,
0.028167915,
0.0021591638,
0.032570917,
0.00077220093,
-0.02839371,
0.021930331,
-0.044030007,
-0.0043148,
-0.05131189,
0.0016105528,
-0.033332974,
0.0008330597,
0.005666041,
0.00960334,
0.015481063,
-0.018529294,
0.015382278,
-0.013625312,
-0.063279025,
-0.06474669,
0.01413335,
0.021944443,
-0.02909932,
0.034772415,
-0.016934618,
-0.038526256,
0.046993565,
0.019051446,
0.018444622,
0.009102358,
-0.03505466,
0.019686494,
0.023821363,
-0.02218435,
0.0055531436,
-0.030002499,
0.04676777,
0.0071654604,
0.034066807,
-0.019517148,
-0.061811358,
-0.019813504,
-0.0070066983,
-0.04648553,
0.025176132,
-0.003485709,
0.01947481,
-0.046852443,
0.008615487,
0.030087171,
-0.011910682,
-0.02833726,
-0.017343871,
0.059101816,
0.002949446,
-0.010301893,
-0.052299745,
-0.0059976773,
0.019291352,
-0.01287031,
-0.007952214,
-0.012552786,
-0.011847177,
0.021436404,
0.01251045,
-0.02147874,
-0.016341906,
-0.028661842,
0.0057013216,
-0.0056413445,
-0.0076346905,
-0.022410145,
-0.009455162,
-0.017668452,
0.032937832,
-0.009342264,
-0.03629653,
-0.064859584,
0.018642193,
0.007373615,
0.030990351,
0.038469806,
-0.032824934,
-0.030933902,
-0.0058459714,
0.018938549,
-0.05983565,
0.0025031483,
-0.01869864,
-0.013336012,
0.008467309,
0.020194532,
0.027335295,
-0.028802963,
-0.014662557,
-0.021309394,
-0.023920149,
-0.069883525,
0.013674704,
0.032062877,
-0.008192122,
-0.009906752,
0.012806805,
-0.0029600302,
0.019249016,
-0.02806913,
0.01028778,
0.022748837,
0.02411772,
-0.0035492138,
-0.026686136,
-0.008361468,
0.004099589,
-0.016751159,
0.03265559,
-0.038582705,
0.031921756,
-0.015212932,
0.031413715,
-0.045328327,
-0.034998212,
-0.025147907,
0.019376026,
0.026911931,
-0.0007448586,
0.0071901567,
0.0138440505,
0.01115568,
0.017174525,
0.031272594,
-0.008001607,
-0.00022866145,
-0.042336546,
-0.04101,
0.047755625,
0.0015726263,
-0.018261163,
-0.012827973,
-0.029183991,
0.04806609,
-0.0003106885,
0.013018488,
0.06203715,
0.005207395,
0.05709789,
-0.07620578,
0.014112182,
0.024696318,
-0.03525223,
0.011621382,
0.0043959445,
-0.008100392,
0.037284385,
0.014076902,
-0.01637013,
0.0073312786,
0.019319577,
0.040078595,
-0.010774651,
0.01895266,
-0.033332974,
-0.07456877,
-0.057154335,
0.045356553,
0.058932472,
-0.016454805,
-0.0014315045,
0.0053061806,
0.028817074,
0.021323508,
-0.005408494,
0.008876562,
-0.021083599,
0.06389996,
0.030115396,
-0.0543319,
-0.005228563,
0.025006786,
-0.053710964,
-0.03395391,
-0.014789566,
0.020801356,
-0.07191568,
-0.006519828,
0.010273668,
0.031808857,
-0.018726865,
0.05388031,
0.0375384,
-0.023581456,
0.0026583823,
0.020674346,
0.0017966571,
-0.0019227847,
0.016116112,
0.031413715,
-0.030708108,
-0.024950337,
-0.010612361,
0.016384244,
-0.07016577,
-0.03640943,
0.054134328,
0.0005371449,
-0.00032943123,
0.05684387,
0.022297246,
0.045723468,
0.030115396,
0.02303108,
0.018613968,
-0.026276883,
-0.090317965,
-0.0074724,
-0.007387727,
-0.02135173,
-0.011960074,
-0.032232225,
0.002169748,
0.030933902,
0.03290961,
0.004491202,
-0.0755284,
0.005267372,
-0.030736333,
0.014902464,
0.03751018,
-0.043239724,
0.02283351,
-0.022777062,
-0.033728115,
-0.059553407,
0.0059518125,
0.023581456,
-0.0069467216,
-0.027038941,
-0.037369058,
0.00451237,
-0.040135045,
-0.05983565,
-0.019277241,
-0.0038596818,
-0.012672739,
0.034998212,
-0.04823544,
-0.009102358,
0.015777418,
0.03906252,
0.0062622805,
0.018472847,
-0.0183035,
-0.022692388,
0.009109413,
-0.01637013,
-0.045328327,
0.020914253,
0.0038490975,
-0.052807786,
0.04812254,
-0.0049604317,
0.022791173,
-0.030736333,
0.040445514,
0.027264735,
-0.031413715,
-0.026728472,
-0.014210967,
0.015509288,
-0.026022863,
0.00812156,
0.0100478735,
-0.016271345,
-0.045723468,
0.030679883,
-0.013491246,
0.00898946,
0.014387369,
-0.0105841365,
0.021845657,
0.010181939,
0.014281528,
0.015791532,
-0.025063235,
-0.017103964,
-0.0020497944,
0.0028224364,
0.031216146,
0.026488565,
-0.019686494,
0.028802963,
0.0139075555,
0.028309036,
-0.0023726106,
0.0044065285,
-0.012263486,
0.05819864,
0.054275453,
-0.024583422,
-0.02736352,
-0.053146478,
-0.049336188,
0.03369989,
-0.07293176,
-0.048658803,
0.02754698,
-0.075471945,
0.029325115,
-0.021859769,
0.012157645,
-0.003965523,
0.0154951755,
-0.008784833,
0.021140048,
0.008396748,
0.032881383,
0.028294925,
-0.05853733,
-0.0057859947,
0.025980527,
0.04806609,
-0.00038345443,
-0.020787245,
-0.021831546,
0.06435155,
-0.010901661,
-0.006050598,
-0.040219717,
-0.036973916,
-0.011042782,
0.014352089,
-0.0057824664,
0.010464183,
-0.016666487,
0.029522683,
-0.03449017,
0.021704536,
-0.019827615,
0.02994605,
0.022932295,
-0.009737405,
0.021676311,
0.045356553,
0.018021256,
0.008170953,
-0.0085449265,
0.018853875,
0.011346194,
-0.029466236,
-0.016257234,
0.03965523,
0.072875306,
0.028506607,
0.0476145,
0.0050944975,
0.016398355,
0.009737405,
-0.022650052,
-0.023397997,
-0.015297605,
0.0026583823,
0.015057698,
0.007366559,
-0.023920149,
-0.001173075,
0.0018892683,
0.0028453686,
0.054614145,
-0.011402643,
-0.028802963,
0.015212932,
-0.011402643,
0.01940425,
-0.041630935,
-0.037030365,
0.025472488,
-0.0238637,
0.04467917,
0.035280455,
0.0056977933,
-0.0069220252,
0.024216505,
0.018938549,
0.021492854,
0.029381562,
0.033502318,
0.045779917,
-0.030962126,
0.02068846,
-0.010894604,
-0.03384101,
-0.01978528,
-0.030228293,
-0.05529153,
0.0026936627,
0.0040643085,
-0.02095659,
0.009589228,
-0.032627363,
-0.01713219,
-0.079592705,
0.02949446,
-0.044650942,
0.017753124,
0.005528447,
-0.0254866,
-0.054811712,
0.026756696,
-0.022099677,
0.036748122,
0.033332974,
0.08388281,
-0.009518666,
0.04450982,
0.035026435,
0.0029847266,
0.032204,
0.029833153,
-0.07852018,
-0.041489813,
0.03926009,
-0.02425884,
-0.0070878435,
-0.05297713,
-0.007931046,
0.028125579,
0.012595123,
-0.05994855,
-0.031667735,
0.027970344,
-0.0039302427,
-0.060851727,
0.01900911,
0.060117893,
0.0260652,
-0.008361468,
0.005038049,
0.037735973,
-0.0038208733,
-0.010859324,
-0.04947731,
0.007507681,
-0.0030817478,
-0.0063540097,
0.0111627355,
-0.040784206,
-0.0019792335,
0.010661754,
-0.044199355,
0.022918183,
-0.022353696,
0.0009119997,
0.017597891,
0.031583063,
0.0008405568,
0.01740032,
0.008424972,
0.040643085,
0.014020452,
0.056251157,
0.011268578,
0.009730349,
0.01426036,
0.02238192,
-0.010732315,
-0.03409503,
-0.028040905,
0.009102358,
0.040191494,
-0.0075429613,
-0.06875455,
-0.003729144,
0.037086815,
0.0036197747,
-0.0007823441,
0.0095539475,
0.0046887724,
-0.0641822,
-0.081850655,
-0.055517323,
0.00023461503,
-0.029607357,
-0.016130224,
0.012150588,
-0.06288388,
0.2348267,
0.0554891,
0.033615217,
0.015946766,
0.00233733,
0.03770775,
0.0067315106,
-0.01823294,
-0.024738654,
-0.022170238,
-0.020970702,
-0.018345837,
-0.01041479,
0.023016969,
-0.045413002,
0.036776345,
-0.051763482,
0.005380269,
-0.0068620485,
-0.031526614,
-0.057267234,
0.022113789,
-0.0354498,
0.053795636,
0.026432117,
0.020886028,
-0.011325026,
-0.032034654,
0.010633529,
-0.053146478,
0.029466236,
-0.04165916,
0.029804928,
-0.009688013,
0.015749196,
-0.0023443862,
0.010591192,
-0.010280725,
-0.0038420416,
-0.0050274646,
0.033756338,
-0.00759941,
0.020166308,
0.008276795,
-0.026008751,
0.019517148,
-0.016186673,
0.016610038,
0.02994605,
-0.021041263,
0.009222311,
-0.054106105,
0.005528447,
-0.043380845,
-0.04391711,
-0.030538762,
-0.028788852,
-0.010294837,
0.03240157,
-0.0062693367,
0.013145497,
0.018247051,
-0.017047515,
-0.018359948,
-0.04617506,
0.0021309394,
-0.019432474,
0.046795994,
-0.009913808,
-0.01597499,
0.009299927,
-0.008170953,
-0.036578774,
-0.055799566,
0.027349409,
0.041546263,
0.008093337,
0.016102,
0.008361468,
-0.046937115,
0.005528447,
0.0006654776,
-0.019573595,
-0.013851106,
0.055517323,
0.089471236,
-0.042138975,
0.022029115,
0.03601429,
0.020801356,
0.04586459,
0.06559342,
-0.011021614,
0.024724543,
0.016440691
] | Then switch your current clone of 🤗 Transformers to a specific version, like v3.5.1 for example:
git checkout tags/v3.5.1
After you've setup the correct library version, navigate to the example folder of your choice and install the example specific requirements:
pip install -r requirements.txt
Run a script |
[
0.062590264,
-0.0144610545,
-0.015748238,
0.022076298,
0.001966732,
-0.0136269005,
0.005468738,
-0.001706958,
0.0134686995,
0.03327984,
0.0088017555,
-0.0020835856,
-0.002417966,
-0.0143819535,
-0.03158277,
-0.005364469,
-0.0024125727,
-0.025628641,
-0.039118912,
0.049617738,
0.004285822,
0.033970173,
-0.059828926,
-0.022033153,
-0.0046885167,
0.003732117,
0.009542426,
0.033740062,
0.068803266,
0.019760804,
-0.048265837,
-0.0042570583,
0.0040664976,
-0.041793957,
0.004386496,
-0.010441299,
0.022709105,
0.0026175156,
-0.06632957,
-0.061209593,
-0.01111725,
0.0064970474,
0.056808718,
-0.00030718953,
-0.052551657,
-0.015935205,
-0.00038988577,
0.00699682,
0.013087577,
-0.017200816,
-0.02201877,
0.018437665,
0.038543634,
-0.0010346018,
0.009743773,
-0.01907047,
-0.031525243,
0.01781924,
-0.014475436,
-0.017416546,
0.008190523,
0.04389372,
-0.027153129,
-0.0694936,
0.027038073,
0.0030363898,
-0.01663992,
-0.0072125494,
-0.014662402,
-0.027728407,
-0.04904246,
0.0022885283,
-0.02282416,
-0.039406553,
-0.056118384,
0.0024754938,
0.06374082,
-0.03077738,
-0.02798728,
0.043030806,
0.007874119,
0.035091966,
-0.016524864,
-0.0014597683,
-0.035293315,
-0.04990538,
0.06374082,
-0.0047963816,
-0.023672696,
0.01678374,
-0.010390962,
0.008082658,
-0.02672167,
-0.018653393,
0.022910452,
0.025067745,
0.0044152597,
0.002346056,
0.008578835,
0.009039057,
0.0761093,
0.08427825,
-0.008744228,
0.02775717,
-0.046108544,
0.025542349,
0.0649489,
-0.03201423,
-0.033193547,
-0.016467337,
-0.022119444,
0.013957686,
0.024938308,
-0.026232682,
-0.0034103207,
0.013562182,
0.010261524,
-0.002094372,
-0.041937776,
-0.015331162,
-0.008478162,
-0.029353566,
0.03491938,
-0.0653516,
0.00071010896,
-0.035811063,
-0.022924833,
0.055197936,
-0.017790476,
-0.016452955,
0.0044440236,
0.020508666,
0.008521307,
0.028346831,
0.031525243,
-0.018653393,
-0.02672167,
0.00046112138,
0.042656872,
-0.01892665,
-0.002727178,
-0.047661792,
-0.05453637,
0.08157444,
0.02436303,
0.006928506,
-0.008722655,
-0.014532964,
-0.039349023,
0.026405266,
-0.02915222,
0.016970705,
-0.021975625,
0.016395427,
-0.0025474036,
-0.030144574,
-0.012188706,
0.02384528,
0.015417454,
0.025369765,
0.010031412,
0.0028260539,
-0.028030427,
0.05352963,
-0.0009038159,
0.05427749,
-0.041765194,
-0.037364315,
-0.04564832,
-0.023140563,
0.007651199,
-0.026477177,
0.013497463,
0.009528044,
0.056808718,
0.03851487,
0.01892665,
-0.005986488,
0.00279729,
0.016222844,
-0.019717658,
0.0022363937,
0.0034876238,
0.009506471,
0.009743773,
0.0106786005,
0.003872341,
0.023687078,
-0.030345922,
-0.0010292085,
0.029425476,
0.044727877,
-0.06471879,
0.0023136968,
-0.018782832,
-0.019084852,
-0.018523956,
-0.0042426763,
0.0058858143,
-0.055543102,
-0.011663764,
0.06351071,
-0.060691845,
-0.022220118,
-0.018610248,
0.0039658234,
0.015532509,
0.07587919,
0.05206267,
0.005641321,
0.03917644,
-0.0026175156,
-0.009808492,
0.0029500981,
0.044440236,
-0.0033366133,
-0.033164784,
-0.014202179,
-0.014842176,
-0.037162967,
-0.004954583,
0.024132919,
0.023097416,
-0.011433653,
0.04211036,
-0.015043523,
-0.0105995,
0.039061386,
0.01192264,
0.046051014,
0.04242676,
0.056722425,
0.0040449244,
0.058361966,
0.0192862,
0.026836725,
0.03848611,
-0.022061916,
-0.0067163724,
-0.022723487,
-0.014626446,
0.011670955,
0.0023496517,
0.021083944,
0.018452046,
0.05531299,
-0.007737491,
0.0075720986,
-0.0042139124,
0.038687456,
-0.06397093,
0.04291575,
0.0022993148,
0.001995496,
-0.066617206,
-0.021659222,
0.007823783,
0.03932026,
-0.0032826809,
-0.008679509,
-0.006371205,
0.034487925,
-0.030173339,
-0.004188744,
0.057383996,
0.08180455,
-0.014770267,
0.010843993,
-0.005975702,
-0.01730149,
-0.021515403,
-0.03814094,
-0.07311785,
-0.061209593,
-0.048611004,
0.013231397,
0.0005685366,
-0.010894329,
0.00072179426,
-0.0503656,
-0.010577926,
0.032560743,
-0.017718567,
0.037939593,
0.01045568,
0.028533796,
-0.037594426,
0.035063203,
-0.033826355,
0.021040797,
-0.044814166,
-0.04720157,
-0.021256527,
-0.015129815,
0.02393157,
0.009535235,
0.0022651576,
-0.024247974,
-0.024923924,
-0.001581116,
-0.007737491,
-0.012339716,
0.021616075,
-0.019919006,
-0.012390053,
0.04682764,
0.04188025,
-0.047374155,
0.045245625,
0.019027324,
-0.008377488,
0.04432518,
0.031266365,
0.034660507,
-0.037767008,
0.045475736,
0.01685565,
-0.011275452,
-0.008621981,
-0.024852015,
-0.048553474,
0.0068817646,
-0.016395427,
-0.04116115,
-0.0077662547,
0.042570584,
-0.0039658234,
-0.06690485,
-0.0038543635,
-0.041362498,
-0.006399969,
-0.016668685,
0.01745969,
0.040815983,
-0.007773446,
0.038457345,
-0.057614107,
0.02201877,
-0.005346491,
0.021155853,
0.003929869,
-0.040758457,
-0.02620392,
0.03040345,
0.010887139,
0.0055190744,
0.039579134,
-0.040815983,
-0.005425592,
0.0097222,
0.038917568,
0.014022404,
0.032129284,
0.033452425,
0.002338865,
-0.0006979742,
-0.025829988,
0.025269093,
0.01994777,
-0.012699265,
-0.011627809,
0.009988267,
0.040240705,
-0.018739685,
-0.020192262,
0.010786465,
0.018725304,
0.001531678,
0.027699642,
-0.0347468,
0.029180983,
-0.0065006427,
-0.016438574,
-0.012692074,
0.023672696,
-0.007449852,
0.026879871,
0.04498675,
0.035379607,
0.029396713,
-0.055169173,
0.009492089,
-0.018955415,
0.047086515,
0.01914238,
0.01973204,
0.036415108,
0.025959427,
0.00021617874,
-0.0065150247,
-0.0017653848,
0.012692074,
0.004695708,
-0.036731508,
-0.03394141,
-0.059311178,
0.015963968,
0.068458095,
0.040298235,
0.031036256,
0.032158047,
-0.03143895,
0.047546737,
0.033020966,
-0.0132601615,
-0.022220118,
-0.06362576,
0.068055406,
0.033222314,
0.018250698,
-0.026419649,
-0.02134282,
-0.011929831,
0.004026947,
-0.027656496,
0.011735674,
-0.03166906,
-0.007974793,
0.0065653617,
0.039492846,
0.01758913,
-0.023399439,
-0.023442583,
0.006381992,
0.030374685,
0.004512338,
0.009664672,
-0.05514041,
0.05617591,
0.027311329,
-0.012656119,
-0.02931042,
-0.03535084,
-0.035293315,
-0.052551657,
0.048582237,
0.024549995,
-0.010800847,
-0.013569373,
-0.047776848,
0.0062885094,
0.018523956,
0.006399969,
0.012900612,
-0.009952311,
-0.006583339,
0.011843539,
-0.0014849367,
0.009880402,
-0.01619408,
0.03417152,
-0.023284383,
0.034631744,
-0.03276209,
0.011361743,
-0.0024215614,
-0.020954506,
0.04268564,
0.028131101,
0.045331918,
-0.0204799,
-0.0045698658,
0.010132086,
-0.036501396,
-0.06155476,
0.04268564,
-0.0033977365,
-0.015158579,
0.056895006,
-0.022507757,
0.0054939063,
0.012893422,
0.015115433,
-0.032158047,
-0.033998936,
-0.00647907,
-0.010448489,
-0.022881689,
-0.025887515,
0.009463325,
-0.027598968,
0.031525243,
-0.025513586,
-0.0035433539,
0.0058139046,
-0.06690485,
-0.020494284,
0.02745515,
-0.02798728,
-0.009650291,
0.024348646,
-0.0037285215,
0.018984178,
-0.03989554,
-0.021357201,
-0.01626599,
-0.023974717,
0.009075013,
0.03828476,
-0.007838164,
0.030460978,
-0.053874798,
-0.027225038,
0.047115277,
-0.02686549,
0.03201423,
-0.031266365,
0.015848912,
0.039003856,
0.022953598,
-0.0014166224,
0.012994095,
-0.019487547,
-0.014770267,
0.013022859,
-0.0028566155,
-0.018495193,
-0.031266365,
-0.01715767,
0.04792067,
-0.0029680757,
-0.053874798,
0.0055622207,
0.010980621,
0.02105518,
-0.038313523,
0.02407539,
-0.039636664,
-0.05019302,
-0.02775717,
0.059368704,
-0.015302398,
-0.007349178,
-0.028663233,
-0.039262734,
0.0031226815,
0.02230641,
0.008463779,
-0.02561426,
0.031323895,
-0.033222314,
0.01369162,
-0.06558171,
-0.0068350234,
-0.027699642,
0.0042318897,
-0.028001664,
0.045216862,
0.014374763,
0.035293315,
0.02915222,
0.0071010897,
-0.0040521156,
0.019976534,
-0.04559079,
-0.021242145,
0.007723109,
0.0015199927,
0.032503214,
-0.00064673845,
-0.0048611,
-0.000052696378,
-0.008701081,
0.0105995,
-0.05203391,
-0.055197936,
-0.0326758,
-0.011821966,
0.021457875,
-0.05367345,
-0.0052961544,
0.0024629096,
-0.023456967,
-0.00014078584,
0.0033348154,
0.012720838,
0.002606729,
0.0025258306,
-0.06420104,
0.035437133,
-0.029051546,
-0.015172961,
-0.02334191,
-0.0011559495,
0.044008777,
-0.06397093,
0.03621376,
0.08353039,
0.0039226776,
0.03739308,
-0.05580198,
0.038601164,
0.0132601615,
-0.026390884,
-0.046137307,
-0.008262432,
-0.06155476,
0.012095223,
0.0021465064,
-0.031093784,
-0.04351979,
0.008219287,
0.0066444627,
-0.016970705,
0.03517826,
0.017848004,
-0.029856935,
-0.03834229,
0.03606994,
0.0083055785,
0.013569373,
-0.017646657,
0.001405836,
-0.015158579,
0.021975625,
-0.05226402,
-0.036328815,
0.00957119,
0.051142227,
-0.0063963737,
-0.031525243,
0.0076008625,
0.036702745,
-0.032158047,
-0.08295511,
-0.0072161453,
0.0051271664,
-0.009477708,
-0.028620087,
-0.042513054,
0.047517974,
-0.052724242,
0.04300204,
0.03563848,
-0.007866928,
0.0098444475,
0.031237602,
0.0049006506,
-0.0715646,
-0.0069536744,
0.039406553,
-0.036731508,
-0.0058858143,
-0.04452653,
0.0085141165,
-0.035379607,
-0.0026372906,
0.027354475,
-0.022924833,
0.008629172,
0.017172052,
0.0048107635,
0.061439704,
-0.0060188477,
0.0048862686,
0.028562559,
-0.025456058,
-0.02246461,
-0.01899856,
0.019760804,
-0.0008485353,
0.034286577,
0.00038696444,
0.0021518997,
0.014274089,
0.03445916,
-0.025671788,
-0.035235785,
-0.015633183,
-0.031323895,
-0.0061159255,
0.01730149,
-0.0111747775,
-0.009060631,
0.004116834,
0.00048808753,
-0.042081594,
-0.014518582,
0.026793579,
-0.008370297,
0.011023767,
-0.060634315,
-0.004084475,
-0.035667244,
0.013389599,
-0.054507602,
0.0014993186,
0.0017087559,
0.021587312,
-0.020882597,
0.037364315,
-0.016395427,
0.018135643,
0.03638634,
0.0047532357,
-0.009333888,
0.01560442,
0.0113042155,
0.034027703,
-0.038255997,
-0.010398152,
0.042800695,
-0.05329952,
0.013936113,
0.008147377,
0.0029051546,
-0.0139145395,
0.04328968,
0.041477554,
0.0017698791,
0.005101998,
-0.028677614,
0.027742788,
-0.035897356,
-0.022076298,
-0.033596244,
-0.012994095,
-0.009190069,
0.03742184,
0.016481718,
0.043692373,
0.025211565,
0.012325334,
-0.01810688,
0.045677084,
-0.00067145744,
0.031122547,
0.006928506,
0.039492846,
-0.024190446,
-0.033308603,
0.06051926,
0.007895692,
-0.02009159,
0.028519414,
-0.0075505255,
-0.02768526,
-0.021745514,
0.033020966,
-0.0058858143,
0.029195365,
0.0025941448,
-0.0035613312,
-0.031841643,
-0.02872076,
-0.017258344,
0.0062273857,
-0.029598061,
0.013684428,
0.009261978,
-0.029080309,
0.01420937,
0.008744228,
0.0032053778,
0.014914086,
0.037968356,
0.03946408,
-0.027325712,
-0.009657482,
-0.008284005,
0.038860038,
-0.07536144,
0.009082204,
0.012461962,
0.022579666,
-0.026175154,
-0.022248883,
0.016884413,
0.06627204,
0.016079023,
-0.019976534,
-0.04953145,
-0.043117095,
-0.012533872,
0.0054507605,
-0.014310043,
0.041304972,
-0.017747331,
0.034344103,
-0.01780486,
0.025643023,
-0.013504654,
0.024981452,
0.034574214,
0.006148285,
-0.011505563,
0.031093784,
-0.005306941,
-0.00736356,
-0.0015550487,
0.023011126,
0.011023767,
-0.004285822,
-0.014425099,
-0.010347815,
0.025887515,
0.0357823,
-0.0026948184,
-0.044267654,
0.024391793,
0.029080309,
-0.010894329,
0.007288055,
0.07202482,
0.0033258267,
-0.0033078492,
-0.005529861,
-0.028835816,
-0.0050228974,
-0.0015649364,
-0.007442661,
0.013605328,
-0.01957384,
0.006148285,
-0.012195896,
0.0011784213,
0.0077806367,
-0.009880402,
-0.019501928,
0.005990084,
-0.002072799,
0.013928922,
0.020134734,
0.016726213,
0.023514494,
0.030748617,
0.03540837,
0.03388388,
0.009161305,
0.015014759,
0.06299295,
-0.03808341,
0.00883771,
-0.021702368,
-0.046137307,
-0.017344635,
-0.0040233512,
-0.053587157,
0.0639134,
0.0016134754,
-0.012871848,
0.023888424,
-0.055341758,
-0.012979713,
-0.062302623,
0.0033276244,
-0.044584054,
0.010556354,
0.012936567,
-0.015561273,
-0.033164784,
0.033394895,
-0.0033851522,
-0.0010202199,
-0.0035954884,
0.06103701,
0.018221935,
0.09146922,
0.051372338,
0.039205205,
-0.0018786427,
0.021400347,
-0.029511768,
0.004037733,
0.016237225,
0.018308226,
0.0077662547,
0.00048539092,
-0.04639618,
0.031237602,
0.034631744,
0.020724395,
-0.050624475,
0.021687986,
0.011088486,
-0.00045078434,
-0.00095100666,
0.094000444,
0.0023154945,
-0.0046993033,
-0.0030040306,
-0.02922413,
-0.0632806,
0.019746423,
-0.0057707587,
0.030518506,
-0.043634847,
-0.013454317,
-0.031784117,
-0.03437287,
0.0024359433,
-0.015590037,
0.001483139,
-0.031467713,
0.03667398,
0.030806145,
0.05131481,
0.0071010897,
-0.02157293,
-0.043203387,
0.05183256,
0.01605026,
0.01045568,
0.06512149,
0.03805465,
0.01862463,
-0.016697448,
0.010736128,
-0.010843993,
0.000927636,
-0.030576034,
0.0117500555,
0.021774277,
-0.025758078,
-0.036702745,
0.0041851485,
-0.0056341304,
0.009743773,
-0.03615623,
-0.0357823,
-0.060404204,
-0.058735896,
-0.0015101051,
-0.011088486,
0.043749902,
-0.051113464,
-0.017905531,
0.0018822382,
-0.042771928,
0.24621904,
0.06552418,
0.057930507,
-0.020925742,
0.029022781,
-0.016999468,
0.009391416,
-0.039291497,
-0.0126345465,
-0.039061386,
0.016697448,
-0.029914463,
-0.01958822,
0.045216862,
-0.02423359,
0.037508134,
-0.0653516,
-0.021227764,
0.0015029141,
-0.022996744,
-0.05948376,
0.011994549,
-0.0031730186,
0.054306258,
0.009679055,
-0.017991824,
0.032129284,
-0.057901744,
0.014389144,
-0.01921429,
-0.014094315,
-0.043778665,
0.030317158,
-0.02495269,
-0.037450608,
0.0021051585,
-0.00029640307,
-0.04823707,
0.017617892,
-0.04285822,
-0.03313602,
-0.00013685327,
0.0149572315,
-0.012282188,
-0.02532662,
0.002628302,
-0.0004701101,
0.034200285,
0.028332448,
-0.09187192,
0.025801225,
-0.035465896,
0.031784117,
-0.03894633,
-0.089340694,
-0.042570584,
0.012821511,
-0.02105518,
0.0005546041,
0.03871622,
0.02209068,
0.0060476116,
0.009528044,
0.033912648,
-0.018782832,
0.042340472,
-0.06920596,
0.010290287,
-0.026692906,
-0.023313146,
0.021673603,
-0.02997199,
-0.029483005,
-0.022608431,
-0.009607145,
0.033308603,
0.03848611,
0.017315872,
0.0015163972,
-0.039665427,
0.02245023,
0.008794565,
-0.02341382,
0.010426916,
-0.0034966124,
0.03808341,
-0.05102717,
0.013181061,
0.009894784,
0.018682158,
0.033222314,
0.060461733,
0.008808946,
0.023816515,
0.026175154
] | python examples/pytorch/summarization/run_summarization.py \
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--predict_with_generate |
[
0.07058443,
-0.0024149623,
0.020494148,
-0.0062429346,
-0.021668598,
-0.034499463,
-0.017836956,
-0.018336097,
-0.039285347,
0.045568652,
0.016662506,
0.011516948,
0.012779482,
0.006279636,
-0.025691088,
0.009637829,
-0.00049730606,
-0.030359527,
-0.054142136,
0.007432065,
-0.015532099,
0.010364519,
-0.08937563,
-0.03564455,
-0.005446511,
0.009799316,
0.0026737084,
0.014724664,
0.075047344,
0.0061181495,
-0.045363124,
-0.001249688,
-0.0235624,
-0.022799006,
-0.01862971,
-0.042984862,
0.035174772,
0.008191788,
-0.03088803,
-0.04292614,
-0.0054061394,
0.022064975,
0.03320757,
-0.033589263,
-0.069703594,
0.011876623,
-0.009263473,
-0.013873188,
-0.004807904,
-0.03960832,
-0.006037406,
0.035585828,
0.06289179,
-0.014592539,
-0.014108079,
-0.010650791,
-0.012375765,
-0.0034297605,
-0.03329565,
-0.0037876007,
0.0022241143,
0.038815565,
-0.015355931,
-0.063479014,
0.01793972,
0.0035894122,
-0.050589424,
-0.025603006,
-0.040870853,
-0.036936447,
-0.04269125,
0.018086527,
-0.0400781,
-0.046743102,
-0.037464947,
-0.0004862956,
0.06694364,
-0.027085748,
-0.0056740604,
0.055081695,
0.030476972,
0.057489317,
0.02074372,
-0.004393176,
-0.036143694,
-0.028201476,
0.03673092,
0.032209285,
-0.013043733,
-0.016251449,
-0.009997504,
0.031768866,
-0.04950306,
-0.01274278,
0.032268006,
0.027761057,
0.00636405,
0.022490714,
-0.016001878,
0.018321417,
0.054611914,
0.08450166,
0.006984306,
0.03893301,
-0.04013682,
0.023709206,
0.0707606,
-0.020861164,
-0.053848524,
0.0062612854,
0.027071068,
0.0032609333,
0.04342528,
-0.018526945,
-0.017631428,
0.025514921,
0.030741224,
-0.0027012345,
-0.047300965,
-0.031240365,
0.00941762,
-0.008536782,
-0.0048446055,
-0.062128395,
0.0018827898,
-0.055698283,
-0.026513204,
-0.0012570283,
-0.007340311,
-0.016912077,
-0.018923322,
0.008081683,
0.024927696,
0.032708425,
0.011208655,
0.0036719907,
-0.022314547,
0.027438084,
0.019070128,
0.00019990878,
-0.003516009,
-0.0009661685,
-0.059339076,
0.093486205,
0.01532657,
0.010092928,
-0.03209184,
-0.049855392,
-0.0250011,
0.022578796,
-0.038316425,
0.0034646268,
-0.00342242,
0.0081697665,
0.011759179,
-0.04671374,
-0.017029522,
0.02642512,
0.007219196,
0.021844765,
-0.0344701,
-0.009520384,
-0.035292216,
0.03849259,
0.0031948704,
0.035908803,
-0.06858787,
-0.027863821,
-0.031504616,
-0.033178207,
0.014526476,
0.007428395,
-0.0025819545,
-0.008874436,
0.03913854,
0.0212135,
0.030388888,
0.008162426,
-0.01628081,
-0.012140875,
-0.010100268,
-0.010496645,
0.021198818,
-0.0062906467,
-0.03018336,
-0.0059309714,
0.038610037,
0.019407783,
-0.008742311,
0.01793972,
0.020156495,
0.0079422165,
-0.008595505,
-0.0017047873,
-0.010672812,
-0.028729977,
-0.00064686494,
-0.006907233,
0.044687815,
-0.014732004,
-0.019393101,
0.031710144,
-0.044394203,
-0.01981884,
0.0040224907,
-0.021521792,
-0.021551155,
0.047565218,
0.0071457927,
0.0017506642,
0.040665325,
0.020714357,
-0.0027214203,
0.04201594,
0.023767928,
-0.04721288,
-0.011751838,
-0.0011212325,
-0.0049436996,
0.020611593,
0.0134474505,
0.014497114,
0.023151342,
0.0037141975,
0.034176487,
0.004261051,
-0.0009973648,
0.055551477,
0.0043528047,
0.052938323,
0.00165157,
0.038580675,
-0.0125812935,
0.057313148,
0.048269887,
0.014820089,
0.06036672,
0.017513983,
-0.015473376,
0.009256132,
0.002405787,
0.021286903,
0.010203033,
0.04838733,
0.0013854838,
0.009733252,
-0.012896927,
-0.0013616277,
0.015987197,
0.02384133,
-0.047800105,
0.01509168,
0.04392442,
0.0064925053,
-0.059074823,
-0.033882875,
-0.0057474636,
0.011193975,
0.014423711,
0.01883524,
-0.0059860237,
0.034088407,
0.00849274,
0.0017754377,
0.0494737,
0.036965806,
0.017778235,
0.012434487,
0.03350118,
-0.041869134,
-0.026982984,
-0.050383896,
-0.06295051,
-0.045803543,
-0.039520234,
-0.002569109,
-0.040988296,
-0.052439183,
-0.0015607337,
-0.053437464,
-0.0010340663,
0.031768866,
-0.03884493,
0.037112612,
0.030594418,
0.005215291,
-0.023400912,
-0.010217713,
-0.010577388,
0.0042500403,
0.0023635803,
-0.04292614,
-0.011399503,
-0.0042904117,
0.020567551,
-0.029361244,
0.032444175,
0.0107462155,
-0.054788083,
0.017396538,
-0.006819149,
-0.030154,
0.062422007,
-0.024002818,
-0.01274278,
0.017763553,
0.020362023,
-0.021492431,
0.014218182,
0.0068044686,
-0.03229737,
-0.0052960347,
0.007898175,
0.022035614,
-0.03532158,
0.03259098,
0.017587386,
-0.051793236,
-0.024472598,
-0.042045303,
-0.05804718,
-0.024678126,
0.006147511,
-0.034763712,
-0.005204281,
0.060953945,
-0.033677347,
-0.08702673,
-0.008155086,
-0.015399973,
-0.009799316,
-0.014783387,
0.0017745203,
0.05305577,
0.0045179618,
0.03444074,
-0.04075341,
0.04013682,
0.0058061862,
0.03373607,
0.011722477,
-0.0075752013,
0.014607219,
0.005497893,
0.010415901,
0.009769954,
0.0018378304,
-0.018952683,
-0.012199597,
-0.009982823,
0.048269887,
0.025368115,
0.027247235,
0.04671374,
0.018306736,
-0.012551932,
-0.03129909,
0.017895678,
0.004286742,
-0.01366766,
-0.0031233025,
-0.0019451824,
-0.028407004,
-0.028260197,
-0.01390255,
-0.00684484,
0.022373268,
-0.013741063,
0.020112453,
-0.047036715,
0.05352555,
0.020831803,
-0.01391723,
-0.025529603,
0.028348282,
0.0012662037,
0.028451046,
0.017587386,
0.014673282,
-0.03673092,
-0.024590043,
0.007432065,
-0.032649703,
0.03065314,
0.014423711,
-0.0066833533,
0.022828368,
0.01299235,
0.007090741,
-0.030976113,
0.0030572396,
0.0494737,
0.016559742,
-0.0067971284,
-0.016662506,
-0.07492989,
0.038287062,
0.071993776,
0.03661347,
0.030594418,
0.040988296,
-0.0030682501,
0.03816962,
0.0019727086,
0.032737788,
-0.0028003287,
-0.07140655,
0.05070687,
0.013638298,
0.039050456,
-0.012889586,
-0.024164304,
0.029919108,
0.008162426,
-0.010070907,
-0.004793223,
-0.024957059,
-0.0154880565,
-0.027173832,
-0.024590043,
-0.043014225,
-0.04292614,
-0.043337196,
0.012573953,
0.06130628,
-0.022255823,
-0.0049657207,
-0.04668438,
0.06154117,
0.008235829,
-0.040459797,
-0.0107462155,
-0.012375765,
-0.004866626,
-0.031181643,
0.011113231,
0.04906264,
-0.028186794,
-0.015032957,
-0.045744818,
-0.0050538043,
0.011722477,
0.019539908,
0.007817431,
0.0018442532,
-0.0024149623,
0.03185695,
-0.0025287373,
0.052116208,
-0.028818062,
0.045392483,
-0.021844765,
0.021404348,
-0.0400781,
0.034558184,
-0.018849919,
0.0079422165,
0.015899114,
0.014012654,
0.048005637,
-0.0040738727,
0.011634394,
0.019040767,
-0.0471248,
-0.025059823,
0.036965806,
-0.0028920826,
-0.0001877514,
0.04339592,
-0.02429643,
0.0075752013,
0.016104642,
0.03179823,
-0.0117812,
-0.024957059,
-0.015546779,
-0.008573484,
0.0102103725,
-0.019260976,
-0.0212135,
-0.023738567,
0.011223336,
-0.01108387,
0.016222088,
-0.0002358075,
-0.06159989,
-0.012089493,
0.03112292,
-0.05942716,
0.031768866,
0.0046207258,
-0.007905515,
-0.028274879,
-0.039696403,
-0.029199759,
-0.00542082,
0.023797289,
-0.010225054,
0.054347664,
0.012926288,
0.024193665,
-0.033824153,
-0.0027526168,
0.045157593,
-0.054406386,
0.0061952225,
-0.03884493,
0.008786352,
0.04906264,
0.010959084,
-0.005277684,
-0.009931441,
-0.032473538,
0.037171334,
-0.0031012816,
-0.030623779,
-0.028715298,
-0.0074907877,
-0.00018144332,
0.046566933,
-0.016427616,
-0.056637842,
0.0004236736,
0.011377483,
-0.0037453938,
0.016545061,
0.020171175,
-0.026072785,
-0.0083239125,
-0.061893504,
0.052057486,
-0.025720451,
-0.010548027,
-0.053701717,
-0.019716077,
-0.012383105,
0.022754965,
0.00730728,
0.006936594,
0.012339063,
-0.032444175,
0.019716077,
-0.08262254,
-0.0070466986,
0.019510547,
-0.016912077,
-0.03373607,
0.019525228,
-0.0026920591,
0.030565055,
0.007098081,
0.041193828,
0.037435587,
0.023210064,
-0.029141035,
-0.00966719,
0.034528825,
0.01815993,
0.0110251475,
0.01791036,
-0.00306458,
0.012383105,
-0.02431111,
0.05238046,
-0.041898496,
-0.038287062,
-0.04521632,
0.0021892479,
0.047300965,
-0.038521953,
-0.016647825,
-0.014511795,
0.01911417,
-0.023121981,
0.015165083,
-0.0153852925,
0.0075678607,
-0.025221309,
-0.06711981,
0.02711511,
-0.012515231,
-0.035057325,
-0.0063273483,
0.003890365,
0.038815565,
-0.0344701,
0.010217713,
0.059750132,
-0.018277375,
0.015693584,
-0.053642996,
0.034969244,
-0.0036426294,
-0.012625335,
-0.044012506,
-0.026483843,
-0.013895209,
-0.00518593,
-0.036642835,
-0.039755125,
-0.03414713,
0.044687815,
0.06036672,
-0.03990193,
0.03112292,
0.023268787,
-0.031181643,
-0.047300965,
0.032708425,
0.01766079,
-0.023327509,
-0.02028862,
0.027643612,
0.039931294,
-0.01178854,
-0.039285347,
-0.04219211,
0.009021242,
0.064301126,
-0.021624558,
-0.07029082,
0.009836017,
0.014570517,
-0.045686096,
-0.060014386,
0.0075752013,
0.027628932,
-0.00052620855,
-0.008463379,
-0.03728878,
0.025382796,
-0.049591143,
0.021198818,
0.026058104,
-0.03564455,
0.00064686494,
0.02736468,
0.013616277,
-0.021184139,
-0.00014164507,
0.019760117,
-0.039755125,
0.003912386,
-0.017044203,
0.014790727,
-0.029640177,
-0.01062143,
0.017073564,
-0.018600348,
-0.018776515,
0.021198818,
0.005519914,
0.017558025,
-0.026894901,
0.029126355,
0.03893301,
-0.04829925,
-0.045010787,
-0.040606603,
0.017425898,
0.006305327,
0.037846643,
-0.01836546,
0.0046537574,
0.021874128,
0.057694845,
0.0042647207,
-0.04979667,
-0.012368425,
-0.032150563,
0.013307984,
0.018233333,
-0.023929415,
0.041369993,
-0.004077543,
-0.006041076,
-0.045832902,
0.0051749195,
-0.0028700617,
0.0073733428,
0.0054648616,
-0.06459474,
0.010063566,
-0.035938162,
-0.0024223027,
-0.017763553,
0.008712949,
0.0031801898,
0.053231936,
-0.027012344,
0.014218182,
0.0053474167,
0.0026278314,
0.019554589,
0.01109121,
-0.03872748,
-0.0065659084,
-0.002668203,
0.013102455,
-0.007611903,
0.037523672,
0.01911417,
-0.059074823,
0.009101986,
0.01180322,
-0.0019983996,
-0.030447612,
0.06042544,
0.05657912,
0.005123537,
-0.0144677535,
-0.019466504,
0.019848201,
-0.010540687,
-0.028612534,
-0.012830864,
-0.042515084,
0.005729113,
0.0377292,
0.033912238,
0.076574124,
0.03913854,
-0.006059427,
0.01766079,
-0.01814525,
0.0160606,
-0.0009294669,
0.0060997987,
-0.006085118,
-0.020464787,
-0.01698548,
0.024604723,
0.025147906,
-0.0019231616,
0.034763712,
0.02736468,
0.0015506408,
0.007604562,
-0.0035288546,
-0.01604592,
0.030535694,
0.06019055,
0.00027113274,
-0.011171954,
-0.044511646,
-0.0330314,
0.018541627,
-0.05687273,
-0.014724664,
0.03731814,
-0.050354533,
0.017367177,
-0.031504616,
-0.016089963,
0.0041252547,
0.014203502,
-0.006819149,
-0.01509168,
0.010269095,
0.008676248,
0.030565055,
-0.024457917,
-0.046420127,
0.018761836,
0.028568491,
-0.03279651,
-0.026072785,
0.0059346417,
0.03963768,
0.025045142,
-0.0067640967,
-0.059779495,
-0.03532158,
0.013719042,
0.008338594,
-0.015238486,
0.02006841,
-0.0306825,
0.020450108,
-0.03320757,
-0.0048629562,
-0.0023690853,
0.040606603,
0.019730756,
-0.025764491,
0.0060043745,
0.03235609,
0.009938781,
-0.0040261606,
-0.015928475,
0.034088407,
0.007597222,
-0.00849274,
-0.027937224,
0.031504616,
0.027702335,
0.0543183,
0.027790418,
-0.015444015,
0.020670317,
0.0165157,
-0.033354376,
-0.0101076085,
0.03872748,
0.019980326,
0.010871001,
0.02428175,
-0.008096363,
-0.013528193,
-0.0041839774,
-0.043219753,
0.03987257,
-0.007927536,
-0.016222088,
-0.023929415,
0.0069659553,
0.044276755,
0.02759957,
-0.013557555,
0.037171334,
0.045744818,
0.019598631,
0.028421685,
0.05240982,
0.020347342,
0.045803543,
0.0071457927,
0.013513513,
0.019510547,
0.014930193,
0.026718732,
-0.017146967,
0.020229898,
-0.035761997,
-0.046185236,
-0.015223806,
0.025368115,
-0.028509768,
0.03353054,
0.0043014223,
-0.014313607,
0.016178045,
-0.015238486,
-0.033794794,
-0.05851696,
0.020479469,
-0.05760676,
0.034117766,
0.029096993,
0.003512339,
-0.013755743,
0.045186955,
0.02994847,
0.004701469,
0.012214278,
0.08784884,
0.038345784,
0.07980386,
0.048915833,
0.060073107,
-0.02334219,
0.028964868,
-0.04057724,
-0.019378422,
0.0013753908,
-0.003956428,
0.0010147981,
-0.039197262,
-0.0059126206,
0.042544443,
0.0344701,
0.017088244,
-0.05913355,
0.031064197,
0.01532657,
-0.0045803543,
-0.027056387,
0.07628051,
0.007531159,
-0.008353274,
-0.0023415592,
0.0032334072,
-0.06676747,
0.0073513216,
-0.048710305,
0.025661727,
-0.018820558,
0.0058465577,
-0.018380139,
-0.04906264,
-0.019231616,
-0.009424959,
-0.015943157,
-0.031563338,
0.05399533,
0.009131347,
0.02429643,
0.0044005164,
-0.021052012,
-0.026263634,
0.028142754,
0.043748256,
-0.014460413,
0.06753086,
0.023518357,
-0.004385836,
-0.021286903,
0.036407944,
-0.009285494,
-0.0377292,
-0.023444954,
-0.0023397242,
0.062187117,
-0.04862222,
-0.04812308,
0.002855381,
0.021742001,
-0.0042757313,
-0.0015286198,
-0.009212091,
-0.016853355,
-0.07299206,
-0.011098551,
-0.030036554,
0.023210064,
-0.030946752,
-0.028128073,
-0.009645169,
-0.041604884,
0.25603005,
0.08156554,
0.040224906,
0.020817123,
0.01601656,
-0.0036756608,
0.0037839303,
-0.019437144,
0.00053125503,
-0.04157552,
0.0033104804,
-0.015223806,
-0.022931132,
-0.01865907,
-0.034998603,
0.045568652,
-0.03414713,
0.013418089,
-0.02475153,
-0.0074834474,
-0.039432153,
0.04744777,
-0.036819,
0.04973795,
-0.016823994,
-0.023033896,
0.0017892008,
-0.045421846,
0.05188132,
-0.035409663,
-0.012537251,
-0.047800105,
0.023327509,
-0.011414184,
-0.0306825,
0.032649703,
0.016691867,
-0.034000322,
-0.014783387,
-0.048211165,
-0.006562238,
0.005842888,
0.015517418,
-0.020435426,
-0.02334219,
0.016001878,
0.008918478,
-0.018321417,
0.04104702,
-0.046243962,
0.044629093,
-0.05050134,
0.023856012,
-0.03532158,
-0.05969141,
-0.048446056,
0.0046831183,
-0.014431052,
0.04744777,
0.027305957,
0.0054905526,
0.0063126674,
-0.012691398,
-0.0043564746,
-0.025089184,
0.02498642,
-0.03511605,
0.021521792,
0.004106904,
-0.02520663,
0.019040767,
-0.024267068,
-0.044893343,
-0.03129909,
0.012228958,
0.017558025,
0.028186794,
0.043249115,
0.017249731,
-0.06823553,
0.012625335,
-0.012184917,
-0.01345479,
-0.040166184,
0.028671255,
0.042074665,
-0.038257703,
0.007802751,
-0.020875845,
0.037876006,
0.018071847,
0.0543183,
-0.00707239,
0.012794162,
0.027849142
] | pip install -r requirements.txt
Run a script
The example script downloads and preprocesses a dataset from the 🤗 Datasets library. Then the script fine-tunes a dataset with the Trainer on an architecture that supports summarization. The following example shows how to fine-tune T5-small on the CNN/DailyMail dataset. The T5 model requires an additional source_prefix argument due to how it was trained. This prompt lets T5 know this is a summarization task. |
[
0.05515875,
0.0033159126,
0.022228826,
-0.00018880975,
-0.02986388,
-0.032914896,
-0.004336049,
-0.023205752,
-0.032433946,
0.047463577,
0.012166487,
0.0048320265,
0.0044713155,
-0.014172943,
-0.038896687,
-0.0050574713,
0.0061771786,
-0.049146894,
-0.06757323,
0.008063397,
0.005380608,
0.003274581,
-0.08061895,
-0.05302454,
0.014060221,
0.007950676,
0.01958361,
0.007822923,
0.08741234,
-0.005527147,
-0.035379753,
0.013691994,
-0.0139249535,
-0.015991528,
-0.016923366,
-0.037303545,
0.0439767,
0.0035977182,
-0.021011425,
-0.041030895,
0.009716657,
0.012189032,
0.03619135,
-0.026316885,
-0.053655785,
0.017734965,
0.011084354,
-0.013962528,
0.0017997985,
-0.04000888,
-0.011287253,
0.016953425,
0.06246315,
-0.008687127,
-0.013797202,
0.00006534367,
-0.0037536505,
0.005451999,
-0.027549315,
-0.014721524,
-0.0002998881,
0.031351812,
-0.013023176,
-0.066731565,
0.021943262,
0.008950146,
-0.041752316,
-0.027849907,
-0.026842922,
-0.033636317,
-0.06330481,
0.002444194,
-0.045149013,
-0.043104984,
-0.055399224,
-0.018501477,
0.058585506,
-0.015262591,
-0.0038889172,
0.041872554,
0.018651772,
0.04905672,
0.032824717,
0.00092385267,
-0.04650168,
-0.031261634,
0.04779423,
0.026737714,
-0.009265768,
-0.010535772,
-0.011287253,
0.033576198,
-0.044277295,
-0.015037146,
0.037754435,
0.028871924,
0.010806305,
0.03420744,
-0.027594404,
0.013308739,
0.023611551,
0.08651056,
-0.00418951,
0.035680346,
-0.055489402,
0.0228751,
0.06865536,
-0.029683523,
-0.045539785,
-0.014578743,
0.016607743,
0.010994175,
0.043104984,
-0.009761746,
-0.029923998,
0.023821967,
0.034868747,
0.0041857525,
-0.04445765,
-0.008025823,
-0.0009806835,
-0.011332342,
-0.00734949,
-0.04199279,
0.012234121,
-0.06114054,
-0.0033966969,
0.017374255,
-0.016803129,
0.0063763214,
-0.020831069,
0.006188451,
0.026437122,
0.06258339,
0.007499786,
0.0005715957,
-0.02986388,
0.03556011,
0.0115202125,
0.012940513,
-0.019493433,
-0.023987293,
-0.07394579,
0.08296357,
0.00044666187,
0.019433314,
-0.02451333,
-0.052092705,
-0.0023746819,
0.029923998,
-0.02365664,
0.00090882304,
-0.018907277,
0.00623354,
0.0053918804,
-0.044247236,
-0.030991102,
0.022754863,
-0.0017490734,
0.018847158,
-0.024423152,
-0.01427815,
-0.018651772,
0.032133352,
-0.015059691,
0.05179211,
-0.08320404,
-0.019358166,
-0.024964219,
-0.04196273,
0.000987259,
0.0072292527,
0.006560434,
-0.006861027,
0.031682465,
0.0327646,
-0.0022225068,
0.00208724,
-0.022168707,
-0.019252958,
0.003426756,
-0.0044525284,
0.02732387,
-0.0090177795,
-0.03351608,
-0.018847158,
0.045660023,
0.025805878,
-0.008679613,
0.013849806,
0.011460095,
0.04535943,
-0.014210517,
-0.0002700637,
-0.025084456,
-0.02899216,
-0.003997882,
-0.0024967976,
0.04079042,
-0.007935646,
-0.01165548,
0.04082048,
-0.049146894,
-0.024798892,
-0.026256766,
-0.013962528,
-0.014992057,
0.046862394,
0.010588376,
0.011159502,
0.041662138,
0.024363033,
-0.004200782,
0.029593345,
0.016682891,
-0.03877645,
-0.013842291,
-0.0072517972,
-0.01674301,
0.035319634,
0.015074721,
0.018095676,
0.010971631,
-0.019057574,
0.026016293,
0.015796144,
0.01145258,
0.044698127,
-0.0029288996,
0.038596094,
-0.0037855885,
0.024332974,
-0.009769261,
0.050800156,
0.05551946,
0.030870864,
0.06679168,
0.014849276,
-0.009588905,
-0.0021248143,
-0.00071155914,
0.024723744,
0.026993219,
0.04127137,
0.027819848,
0.0051514064,
-0.0052002524,
0.0020966337,
0.0064890436,
0.023055455,
-0.058224794,
0.01835118,
0.030735597,
0.01711875,
-0.054948334,
-0.030014174,
-0.0050236546,
0.007837953,
0.001523629,
0.0045990674,
-0.000091762944,
0.049447488,
-0.002526857,
-0.010806305,
0.043856464,
0.05633106,
0.007890557,
0.002919506,
0.026737714,
-0.050168913,
-0.023160663,
-0.05672183,
-0.07051903,
-0.03420744,
-0.030991102,
0.010483168,
-0.037273485,
-0.053595666,
0.01365442,
-0.031892877,
-0.019733906,
0.02694813,
-0.03946781,
0.019087633,
0.03429762,
0.0029739884,
-0.038566034,
0.0038475858,
-0.00417448,
0.021853086,
-0.017329166,
-0.061020307,
-0.008980205,
0.010821335,
0.016442418,
-0.034628272,
0.026737714,
-0.0029683523,
-0.061050363,
0.010573346,
-0.026331915,
-0.056691773,
0.04788441,
-0.029893938,
-0.01446602,
0.019433314,
0.02370173,
-0.015675906,
0.006380079,
0.016487505,
-0.006879814,
-0.005587266,
-0.008386535,
0.023325989,
-0.026482211,
0.045088895,
0.018471418,
-0.04045977,
-0.012294238,
-0.03946781,
-0.06288398,
-0.02200338,
0.0024103771,
-0.0281505,
0.001326365,
0.058074497,
-0.030780686,
-0.08608973,
-0.0056699286,
-0.021312019,
-0.023912145,
0.0004837663,
0.0134440055,
0.053715903,
0.011647965,
0.030374886,
-0.029728612,
0.031261634,
0.01833615,
0.035860702,
0.020770952,
0.0011037386,
-0.008296357,
-0.0014691465,
0.0004814179,
0.010242694,
0.0075035435,
-0.04286451,
0.0043247766,
-0.005681201,
0.041421667,
0.036011,
0.030780686,
0.029352872,
0.015202473,
-0.00855186,
-0.031772643,
0.02201841,
-0.0019707605,
-0.027218664,
0.021327049,
0.006455227,
-0.022288945,
-0.031562228,
-0.0055947807,
0.0031581013,
0.034387797,
-0.028030263,
0.011850865,
-0.050018616,
0.035860702,
0.035620227,
-0.0102201495,
-0.01101672,
0.021898173,
-0.017870232,
0.028481152,
0.00382692,
0.028045293,
-0.049477547,
-0.015480521,
0.017404314,
-0.035620227,
0.025475226,
0.01145258,
0.008859968,
0.03417738,
0.021387165,
0.0076763844,
-0.020966336,
-0.00012657768,
0.055789992,
0.023476286,
-0.016637802,
-0.027549315,
-0.07899574,
0.01965876,
0.075809464,
0.02696316,
0.020214856,
0.050709978,
0.009085412,
0.049627844,
0.011700569,
0.02777476,
-0.006500316,
-0.056631655,
0.05957746,
0.025820907,
0.031922936,
-0.0019594883,
-0.026361974,
0.0301795,
0.003975338,
-0.01062595,
0.009386005,
-0.025505286,
-0.015736025,
0.0030153198,
0.013180987,
-0.027218664,
-0.032073233,
-0.04695257,
0.008258782,
0.036972895,
-0.01101672,
0.002137965,
-0.048425473,
0.06047924,
0.001614746,
-0.025820907,
0.0059968233,
-0.0019003091,
-0.021928232,
-0.03724343,
0.03546993,
0.046381444,
-0.03294495,
-0.014706495,
-0.028676538,
0.00014137247,
0.01164045,
0.01429318,
0.0060118525,
0.012211576,
0.010265239,
0.026752744,
0.009303343,
0.039828524,
-0.019778995,
0.050920393,
-0.034838688,
0.018832128,
-0.03303513,
0.023882085,
-0.015976498,
0.02081604,
0.0008322659,
0.011009205,
0.04728322,
-0.012068794,
-0.015720995,
0.0081986645,
-0.03471845,
-0.039648168,
0.026331915,
0.0146463765,
0.0028969615,
0.058916155,
-0.007875527,
0.006973749,
-0.0011441307,
0.019192839,
-0.025099486,
-0.01345152,
-0.01490188,
-0.01880207,
0.009618964,
-0.026782803,
-0.016397329,
-0.020605626,
0.01427815,
-0.016307151,
0.023130603,
0.00051946164,
-0.05137128,
-0.00052509777,
0.039678227,
-0.06288398,
0.0119034685,
0.021086574,
-0.004373623,
-0.015315195,
-0.03628153,
-0.017284077,
-0.021492373,
0.013894895,
-0.0048245117,
0.056090586,
0.010468138,
0.046321325,
-0.028736657,
0.0047756657,
0.038115148,
-0.046381444,
0.012113883,
-0.03946781,
-0.018952366,
0.028886953,
0.0042796875,
-0.010047309,
-0.0036202625,
-0.010686068,
0.021597581,
-0.008559375,
-0.024453212,
-0.01390241,
-0.002665881,
-0.0011629178,
0.048906423,
-0.028360914,
-0.05254359,
-0.0054557566,
0.010580861,
-0.0022638382,
-0.003237007,
0.016923366,
-0.031712525,
-0.014330754,
-0.06775358,
0.05591023,
-0.027549315,
-0.014593773,
-0.04244368,
-0.014120339,
-0.019388225,
0.02041024,
-0.0014625711,
0.01265495,
0.024798892,
-0.0240925,
0.016953425,
-0.06865536,
-0.011399976,
-0.0033516078,
-0.011865894,
-0.05107069,
0.025505286,
0.0040392135,
0.025640553,
0.010896483,
0.013000632,
0.0425038,
0.027068367,
-0.02899216,
-0.0071240454,
0.029172515,
0.020199826,
0.0273389,
0.013023176,
-0.0011403733,
0.011091868,
-0.031291693,
0.03931752,
-0.044728186,
-0.027083397,
-0.027729671,
-0.025941145,
0.041932672,
-0.055429284,
-0.016427388,
-0.008514286,
0.007717716,
-0.03634165,
0.009032809,
-0.0037480143,
-0.001022015,
-0.035049103,
-0.06384587,
0.033816673,
-0.034628272,
-0.01633721,
-0.014007617,
-0.008844938,
0.042954687,
-0.03802497,
-0.00031491776,
0.066250615,
-0.011993647,
0.00765384,
-0.04986832,
0.028616419,
-0.008829908,
-0.015157384,
-0.03589076,
-0.025354989,
-0.026752744,
-0.020921247,
-0.031351812,
-0.034928866,
-0.018140765,
0.05428703,
0.056812007,
-0.037303545,
0.030359857,
0.0366723,
-0.031922936,
-0.05236324,
0.022078529,
0.024423152,
-0.0107987905,
-0.019703848,
0.034027085,
0.023356048,
-0.008777305,
-0.0366723,
-0.0465618,
-0.0017603457,
0.07208212,
-0.013286195,
-0.06444706,
0.012008676,
0.012880394,
-0.040189236,
-0.063124456,
-0.002367167,
0.037844613,
0.0044374987,
-0.017254017,
-0.03396697,
0.008672098,
-0.045660023,
0.019027514,
0.02370173,
-0.029232634,
-0.009047838,
0.054948334,
0.01835118,
-0.031231575,
0.0102201495,
0.031351812,
-0.03216341,
0.00038489947,
-0.0305853,
0.010302813,
-0.031952996,
-0.0015828081,
0.020740893,
-0.032433946,
-0.012204061,
0.0136844795,
0.0074171233,
0.029232634,
-0.0196287,
0.048936483,
0.050860275,
-0.049657904,
-0.030810745,
-0.031261634,
0.02491913,
0.0062748715,
0.030089322,
-0.013819747,
0.0062748715,
0.024212737,
0.05557958,
-0.01348158,
-0.03631159,
-0.014248091,
-0.032133352,
0.016277092,
0.005354306,
-0.014706495,
0.030419976,
-0.0018251609,
0.008461683,
-0.06438694,
-0.0021680244,
0.006992536,
0.0038212838,
0.010761216,
-0.04776417,
-0.004095575,
-0.04009906,
0.008303871,
-0.0257157,
0.007845468,
0.0018289183,
0.039107103,
-0.010160031,
0.017494492,
-0.013218561,
-0.00982938,
0.022754863,
0.019102663,
-0.036522005,
-0.008409079,
0.00560981,
0.0013723932,
-0.016126795,
0.022529418,
0.035229456,
-0.05434715,
0.00372547,
0.028375944,
-0.013391402,
-0.017629758,
0.049537666,
0.06432682,
0.025234751,
-0.014150399,
-0.0027560587,
0.035319634,
-0.018426329,
-0.024618536,
-0.011174532,
-0.03631159,
0.01285785,
0.0039264914,
0.035800584,
0.08945637,
0.04118119,
0.0078078937,
-0.0044374987,
-0.011685539,
0.009168075,
-0.0036390496,
0.02289013,
0.00026489727,
-0.012835305,
-0.042233266,
0.017704906,
0.036011,
-0.011354887,
0.022213796,
0.025415108,
-0.0044374987,
-0.004054243,
0.0020966337,
-0.0107987905,
0.031862818,
0.053325135,
-0.008702157,
-0.019433314,
-0.052483473,
-0.021943262,
0.017269047,
-0.03016447,
-0.0066243103,
0.024588477,
-0.03592082,
0.018997455,
-0.03147205,
-0.008784819,
-0.003680381,
0.019748935,
0.013105839,
-0.010731157,
0.0003794982,
0.0081535755,
0.031832762,
-0.039016925,
-0.033095248,
0.012692524,
0.025174633,
-0.04274427,
-0.035590168,
0.00982938,
0.041121073,
0.013849806,
-0.021026455,
-0.055699814,
-0.02526481,
0.032794658,
0.017810114,
-0.02122184,
0.016577683,
-0.030750627,
0.021928232,
-0.025805878,
-0.008303871,
-0.005820225,
0.04608085,
0.018306091,
-0.0147440685,
0.017780054,
0.025835937,
0.020921247,
-0.009957131,
-0.0058615566,
0.040970776,
0.0020966337,
0.0028913254,
-0.010145001,
0.017765025,
0.023566462,
0.05879592,
0.012594831,
-0.025550375,
0.018185854,
0.0124821095,
-0.035019044,
0.000018229299,
0.045179073,
0.022950249,
0.004816997,
0.014676436,
-0.006530375,
0.0006688186,
-0.018832128,
-0.04042971,
0.011234649,
-0.03138187,
-0.022273915,
-0.016517565,
-0.015705965,
0.025024338,
0.012587316,
-0.022694744,
0.017434373,
0.08067907,
0.019718876,
0.030419976,
0.036642242,
0.0075486326,
0.04009906,
-0.004448771,
0.014368328,
0.017900292,
0.008642038,
0.031802703,
-0.007000051,
0.01874195,
-0.015345254,
-0.049958497,
0.005053714,
0.032854777,
-0.024287885,
0.03961811,
-0.0016748646,
-0.0064326823,
-0.005350549,
-0.02658742,
-0.026196647,
-0.056270942,
0.02293522,
-0.053776022,
0.029337842,
0.03219347,
0.0022055984,
-0.019748935,
0.029653464,
0.023145633,
0.019192839,
0.008371505,
0.08494748,
0.035680346,
0.09113969,
0.056240883,
0.050138853,
-0.015931409,
0.0374839,
-0.038956806,
-0.005241584,
-0.012737613,
-0.0061208177,
0.0010624072,
-0.02487404,
-0.0023652883,
0.03877645,
0.023551432,
0.020274973,
-0.06691192,
0.055399224,
0.023581492,
-0.018321121,
-0.031772643,
0.07454697,
-0.006214753,
-0.020154737,
-0.0037179552,
-0.0002175774,
-0.07099998,
-0.002526857,
-0.040189236,
0.015841233,
-0.028826835,
-0.01284282,
-0.029638434,
-0.038175266,
-0.023055455,
-0.019388225,
-0.010656009,
-0.034838688,
0.074847564,
0.011790746,
0.028811805,
-0.0036897745,
-0.0327646,
-0.014969514,
0.04854571,
0.04490854,
-0.0026940615,
0.065649435,
0.041091014,
-0.00613209,
-0.014000102,
0.03631159,
-0.008138546,
-0.035049103,
-0.015209988,
0.0024761318,
0.04578026,
-0.046982627,
-0.04806476,
0.00021781224,
0.011294768,
-0.017780054,
-0.019523492,
-0.012399446,
-0.030991102,
-0.0710601,
-0.010242694,
-0.017614728,
0.04048983,
-0.033786613,
-0.031231575,
0.005527147,
-0.033606257,
0.26957148,
0.087893285,
0.042383563,
0.0253099,
0.013842291,
0.01671295,
0.020184796,
-0.011971102,
0.006530375,
-0.016893307,
0.016111765,
-0.02364161,
-0.021011425,
-0.006924903,
-0.037093133,
0.03679254,
-0.038656212,
0.018576626,
-0.014766613,
-0.019237928,
-0.04788441,
0.042323444,
-0.029758671,
0.04337552,
-0.0066731567,
-0.014623832,
0.011926013,
-0.04196273,
0.021026455,
-0.028045293,
-0.01716384,
-0.029743642,
0.0253099,
-0.0048846304,
-0.035349693,
0.02406244,
0.023746818,
-0.04042971,
-0.015495551,
-0.0473734,
-0.036431827,
-0.0023258356,
0.004550221,
-0.02730884,
-0.02978873,
0.012038735,
0.021807997,
-0.02777476,
0.03228365,
-0.055669755,
0.047223102,
-0.03718331,
0.013526669,
-0.040880598,
-0.069677375,
-0.05458762,
-0.00083320524,
-0.020590596,
0.053385254,
0.013699509,
0.014120339,
0.012166487,
-0.007635053,
0.013286195,
-0.034357738,
0.012760158,
-0.05915663,
0.031892877,
0.0069286604,
-0.023476286,
-0.00007338687,
-0.021176752,
-0.044818364,
-0.005192738,
0.0018533415,
0.028315827,
0.009055353,
0.061861966,
0.007672627,
-0.049627844,
0.0068497546,
-0.010535772,
-0.013113353,
-0.03348602,
0.028496182,
0.03480863,
-0.041692197,
0.003146829,
-0.03294495,
0.023100544,
0.020169767,
0.056691773,
-0.014007617,
0.013226076,
0.0040316987
] | The example script downloads and preprocesses a dataset from the 🤗 Datasets library. Then the script fine-tunes a dataset using Keras on an architecture that supports summarization. The following example shows how to fine-tune T5-small on the CNN/DailyMail dataset. The T5 model requires an additional source_prefix argument due to how it was trained. This prompt lets T5 know this is a summarization task. |
[
0.035963006,
0.00028570008,
-0.03477868,
0.019555787,
-0.06609105,
-0.015078465,
0.0011825186,
0.012319857,
0.0004098194,
0.06262474,
0.018588107,
0.053150143,
0.03359436,
-0.014175779,
0.024986345,
0.06181593,
-0.002801937,
-0.049510516,
-0.06354909,
-0.008333596,
0.014529632,
-0.019859089,
-0.09988761,
-0.011099426,
-0.054854415,
0.004318449,
-0.039978154,
-0.019887974,
0.056587573,
-0.0012086964,
-0.025434077,
-0.00044412146,
-0.021260059,
-0.013128663,
-0.022328839,
-0.03512531,
0.01907917,
0.030734649,
-0.053525664,
-0.013128663,
-0.0050369874,
-0.019989077,
0.030619105,
-0.033132184,
-0.036396295,
-0.012175427,
0.012225977,
-0.022704355,
-0.008586348,
-0.039833724,
0.019209156,
0.049568288,
0.028250458,
-0.045813113,
-0.018472563,
-0.00757534,
-0.017346011,
-0.009799558,
-0.031254597,
-0.008997973,
-0.014298544,
-0.0008079039,
-0.02185222,
-0.05647203,
0.004686745,
-0.005029766,
-0.012702595,
-0.01466684,
-0.044657677,
-0.010767237,
-0.026531743,
0.015815057,
-0.013280314,
-0.009633464,
-0.001488529,
0.03093685,
0.027412765,
0.0056363707,
-0.02053791,
0.056847546,
0.06222033,
0.020812325,
-0.03766728,
-0.043588895,
-0.02349872,
-0.015165123,
0.038764942,
-0.027947156,
-0.006488506,
-0.025621837,
-0.0070734466,
0.019599115,
-0.0045134295,
0.031023508,
-0.024437511,
0.03220783,
0.0014009685,
0.052168023,
-0.008239716,
0.009330161,
0.05205248,
0.07776097,
0.008521355,
0.026762832,
-0.02014795,
-0.020523466,
-0.018819196,
-0.013995242,
-0.0015760895,
-0.0039032137,
-0.018053718,
0.009842887,
-0.0028236015,
0.014363538,
0.024350854,
0.027961599,
-0.012897576,
-0.011980447,
-0.022791013,
0.004141523,
0.02359982,
-0.027947156,
0.022256624,
0.010969439,
0.06909519,
-0.035703033,
-0.04243346,
0.011352178,
-0.037811708,
-0.04471545,
0.0024787753,
-0.015222895,
-0.0122332,
0.010745573,
0.028987048,
0.0065282243,
0.000028462815,
0.020292379,
0.033132184,
-0.01967133,
0.04948163,
-0.004069308,
0.0033579916,
0.089315355,
0.0004969286,
-0.011597708,
-0.030214703,
-0.016017258,
-0.03249669,
-0.00313232,
-0.060833808,
0.0034897837,
-0.0065498888,
0.031918973,
-0.02218441,
-0.022141078,
-0.033825446,
0.084404744,
0.003953764,
0.029694755,
-0.029608097,
0.01971466,
0.012262085,
-0.005127256,
-0.005083927,
0.055865426,
-0.02723945,
-0.04078696,
-0.000050155486,
-0.029608097,
0.03379656,
0.03472091,
-0.00045540504,
-0.030359132,
0.029896956,
0.02209775,
0.049135,
-0.005528048,
0.007459796,
0.004683134,
-0.026921704,
0.00461453,
0.020509023,
0.01281814,
0.008615234,
0.021664461,
-0.015656184,
-0.0074236887,
-0.033421043,
0.010377277,
-0.011590486,
0.024163095,
-0.026141783,
0.012175427,
-0.0024155874,
-0.02195332,
0.010016203,
-0.00090855337,
0.027066134,
-0.040382557,
0.019122498,
0.063202456,
0.0049719936,
0.0066365465,
0.02359982,
0.008810214,
-0.030388018,
0.042520117,
-0.03607855,
0.019093612,
0.01967133,
-0.010861116,
0.020552352,
-0.006026331,
0.014204665,
0.012680931,
-0.017663758,
-0.0066365465,
0.01860255,
0.039573748,
0.047372956,
0.023787579,
0.045639798,
0.0404981,
-0.012998677,
-0.016854951,
-0.0116843665,
0.019642444,
0.01879031,
0.06499338,
-0.0104350485,
0.046101972,
-0.0026394536,
0.047286298,
-0.02540519,
0.0027459704,
0.0001897897,
0.04653526,
0.0054269475,
0.023570934,
0.014594626,
-0.017071595,
0.016002815,
0.028033813,
0.024220867,
0.0106950225,
0.0056291493,
-0.016262788,
-0.0390538,
0.026286213,
-0.0637224,
0.046073087,
-0.0033200786,
-0.022834342,
-0.062509194,
0.0085935695,
0.026300656,
0.045177624,
-0.02185222,
-0.0068315268,
0.003917657,
0.04491765,
-0.018024832,
0.0032117565,
0.035183083,
0.007362306,
0.027889384,
0.036482953,
0.026098454,
-0.035616376,
-0.011734917,
-0.042317916,
-0.06222033,
-0.050030462,
-0.039573748,
-0.0335077,
0.05910065,
-0.058349617,
0.005686921,
-0.008608012,
0.047372956,
0.021938877,
-0.015179566,
0.032381147,
0.022083307,
0.009828444,
-0.005307793,
-0.004069308,
0.0014488108,
0.03131237,
0.012717038,
-0.04228903,
0.021881105,
0.0034717298,
0.027817167,
0.0014587404,
0.016335003,
-0.024943016,
-0.01957023,
-0.025607394,
-0.032467805,
-0.0030239976,
0.064184576,
0.018819196,
-0.04613086,
-0.0011879347,
0.011063318,
-0.04278009,
0.041249134,
0.015843943,
-0.021288944,
-0.0066329357,
0.028380444,
0.0059360624,
-0.0581763,
0.02937701,
0.029405896,
-0.058089644,
-0.066784315,
-0.045293167,
-0.0019967412,
0.006437956,
-0.010637251,
-0.020682339,
-0.026748389,
0.053641208,
-0.008080844,
-0.08076511,
0.041393563,
-0.04035367,
-0.0370029,
0.010507263,
-0.013612503,
-0.0042967848,
-0.032092288,
0.0067123724,
-0.046506375,
-0.029117037,
-0.008239716,
0.014832934,
0.01728824,
-0.0029409507,
0.056587573,
0.017663758,
0.0049214433,
-0.028207129,
0.023137644,
-0.016335003,
0.022718798,
-0.019628001,
-0.003098018,
0.0053041824,
0.033132184,
0.0045531476,
0.005856626,
0.048152875,
-0.030734649,
-0.0007871421,
-0.003729898,
-0.012940905,
0.011236634,
0.02238661,
-0.021837777,
-0.004585644,
-0.014392423,
-0.018775867,
0.013164771,
0.016826065,
0.021000084,
-0.03301664,
0.029420339,
-0.023585377,
-0.013186435,
-0.019613558,
0.009972874,
-0.036887355,
0.041046932,
0.024769701,
0.06152707,
-0.05196582,
-0.0003482111,
0.042808976,
-0.008730778,
0.019165827,
-0.0043437243,
0.011901011,
-0.041740194,
0.011525493,
0.024697486,
-0.019931305,
0.0036685155,
0.00042178,
-0.03200563,
-0.018920297,
0.0048383963,
-0.03443205,
0.059620596,
0.0140746785,
0.011922675,
0.013034784,
0.08134283,
-0.041162476,
-0.0061779823,
-0.004798678,
0.020032406,
-0.008795771,
-0.06054495,
0.02612734,
0.0053980616,
0.022227738,
-0.04904834,
-0.012370408,
-0.006434345,
0.009900658,
0.025000788,
0.0003157144,
-0.026473971,
-0.0070228963,
-0.024480842,
0.01340308,
0.010723908,
-0.035240855,
-0.03298775,
0.026531743,
0.04485988,
-0.05127256,
-0.010752794,
-0.020552352,
-0.016710522,
-0.0026520912,
-0.04485988,
-0.0009992733,
-0.0370029,
-0.017663758,
-0.033218842,
-0.004155966,
0.025867367,
-0.01845812,
-0.025044117,
-0.044484362,
-0.033623245,
-0.016710522,
0.008911315,
0.005564156,
0.009799558,
0.031976745,
-0.028106028,
-0.017649315,
0.027744953,
0.003646851,
0.057367492,
-0.040180355,
0.0097201215,
-0.031687886,
-0.0058385725,
-0.07140607,
0.036829583,
-0.009647907,
0.029434782,
-0.008131394,
-0.016190574,
0.027542751,
0.04977049,
-0.051590305,
0.028481545,
-0.008283046,
-0.022819899,
-0.022198852,
0.05473887,
0.03899603,
0.0069687353,
0.023412062,
0.010622808,
-0.019916862,
0.039024916,
-0.048586164,
0.016450547,
-0.024119766,
0.008651341,
-0.00529335,
-0.074236885,
0.016623864,
-0.0159306,
-0.020480137,
0.015555083,
-0.05026155,
-0.02326763,
0.0009460148,
-0.033189956,
0.019541344,
-0.0063837944,
-0.03593412,
0.007871421,
-0.025015231,
-0.005463055,
0.028857062,
-0.0012321662,
-0.005661646,
0.030532448,
0.04618863,
-0.0027694402,
-0.03766728,
-0.03229449,
0.07672108,
-0.07845423,
0.012955348,
-0.022025535,
0.025101889,
0.0076114475,
0.009055745,
-0.05196582,
0.0051850276,
0.017259354,
0.024885245,
0.020927869,
-0.052630197,
-0.011698809,
-0.007015675,
0.00066121743,
0.044137727,
-0.009915101,
-0.066495456,
-0.03379656,
0.012608716,
0.039804835,
0.017981503,
0.021693347,
-0.027716067,
-0.014623512,
-0.025824038,
0.022314396,
0.022083307,
-0.027571637,
-0.03044579,
0.008752442,
-0.008940201,
0.008434697,
0.029636983,
-0.014572961,
0.026387313,
-0.055403247,
0.048557278,
-0.045870885,
-0.006871245,
0.010947774,
-0.006347687,
-0.042808976,
-0.012139319,
-0.015612855,
-0.005181417,
0.0157284,
0.026719501,
0.0073045343,
0.005206692,
-0.049452744,
-0.048008446,
0.020610124,
0.00922906,
0.008911315,
-0.012355965,
-0.014414088,
0.025578506,
-0.025361862,
0.038476083,
-0.03258335,
0.022401053,
-0.035009768,
-0.03194786,
0.008225273,
-0.025766267,
0.0054811086,
-0.05219691,
-0.009741786,
0.033565473,
0.051243674,
-0.035991892,
0.018400349,
-0.008311932,
-0.076258905,
-0.0018830027,
-0.002986085,
-0.02768718,
-0.0028687357,
0.027571637,
0.037609506,
-0.04292452,
0.022559926,
0.050637066,
0.01029784,
0.02326763,
-0.028149357,
0.005177806,
0.02913148,
0.030705763,
-0.017259354,
-0.0372051,
-0.017418226,
0.007253984,
-0.0022169966,
-0.07244596,
0.0038526633,
0.0041884626,
-0.00061788847,
-0.047517385,
0.03264112,
-0.008947423,
-0.052861284,
-0.026084011,
0.016493876,
-0.045668684,
-0.035269745,
0.048383962,
0.031485684,
0.011193305,
0.02972364,
-0.025607394,
-0.014977364,
0.005477498,
0.03229449,
-0.020119064,
-0.024625272,
0.01796706,
0.016724965,
-0.0618737,
-0.036482953,
0.010615586,
0.05205248,
0.031687886,
0.005574988,
-0.020898983,
-0.009272389,
-0.033189956,
-0.030330246,
0.015757285,
-0.017793745,
0.0028976216,
-0.041046932,
-0.011171641,
-0.063144684,
0.038244996,
0.044830993,
-0.013619725,
-0.008037515,
-0.018905854,
0.008651341,
-0.020971198,
-0.03801391,
0.020696782,
-0.029608097,
0.00408014,
0.034374278,
0.014197444,
0.03249669,
-0.007943636,
0.023152087,
-0.014479081,
-0.037609506,
-0.04841285,
-0.020870097,
0.047430728,
-0.004267899,
0.040411443,
-0.00056914345,
-0.00514892,
0.020220164,
0.04176908,
-0.019223599,
-0.07365917,
-0.008976309,
-0.04977049,
-0.018299248,
0.03180343,
0.021130072,
0.024206424,
0.029044822,
-0.0068892986,
-0.032178946,
0.011251077,
-0.039804835,
-0.0038057237,
0.0057230284,
-0.025795152,
0.004831175,
-0.038042795,
0.0026665342,
-0.043588895,
-0.049077228,
0.015309553,
0.01806816,
0.0047661816,
0.0039357105,
0.03977595,
0.045033194,
-0.028495988,
0.0077630985,
-0.023585377,
-0.038273882,
-0.004950329,
-0.025520734,
-0.03264112,
0.04197128,
0.043444466,
-0.0045098187,
0.003856274,
-0.0037660054,
-0.012240421,
-0.029405896,
-0.017735973,
0.035154197,
-0.009272389,
-0.05881179,
-0.02588181,
0.009734564,
-0.007015675,
0.023440948,
-0.020292379,
-0.006827916,
0.00004519071,
0.012890355,
0.010738351,
0.070308395,
0.027138349,
0.03408542,
-0.00095684704,
0.020624567,
0.022314396,
0.0035385287,
0.01655165,
0.012168205,
0.008131394,
-0.022198852,
0.051359218,
0.029983614,
0.00071853795,
0.017620428,
0.032381147,
0.009619021,
-0.0033778506,
-0.023426505,
-0.05190805,
0.0265173,
0.022704355,
0.009684014,
-0.002549185,
-0.0077053267,
-0.037551735,
0.04549537,
-0.07088612,
-0.03642518,
0.019382471,
-0.031774543,
-0.010853895,
-0.01981576,
-0.039602634,
-0.022617698,
-0.019541344,
-0.0025600172,
-0.0034211795,
0.0036125488,
-0.015309553,
0.016479433,
0.0002680977,
-0.068055294,
-0.023397619,
0.038187224,
-0.055143274,
-0.04867282,
0.0017232273,
0.07862755,
0.014428531,
0.0118360175,
-0.019945748,
-0.016638307,
0.009814001,
0.0010254511,
-0.07672108,
0.0012583442,
-0.041162476,
-0.02908815,
-0.05702086,
0.0017105897,
0.009424041,
0.0530346,
-0.014067457,
-0.011828796,
0.009503477,
0.031196823,
0.003841831,
-0.059909455,
0.021736676,
0.009135181,
0.002764024,
-0.014118007,
0.02306543,
0.019093612,
-0.0075103464,
0.011828796,
0.08423143,
-0.0066979295,
0.06730426,
0.023556491,
-0.021722233,
-0.002884984,
-0.0112582985,
0.016291674,
-0.02719612,
0.030185817,
-0.049510516,
0.006560721,
-0.010803345,
0.013915805,
0.044744335,
-0.012550944,
0.003655878,
0.005069484,
-0.020942312,
0.05156142,
0.03365213,
-0.030099157,
0.014024128,
0.03235226,
0.02830823,
0.029925842,
0.028727075,
0.0123992935,
0.017317126,
0.049019456,
0.0036576833,
0.0063404655,
0.011828796,
0.029203694,
-0.024191981,
0.033045527,
-0.0072431513,
-0.0008986238,
-0.03815834,
-0.04306895,
-0.00821083,
0.0038129452,
0.019252485,
-0.036598496,
-0.0016130997,
0.00951792,
-0.013265871,
-0.035471946,
0.015742842,
-0.07007731,
-0.019916862,
-0.0039465427,
-0.015858386,
-0.0034320117,
0.017620428,
-0.028857062,
0.02156336,
0.002856098,
0.03359436,
0.010940553,
0.046361946,
0.015627299,
0.027788281,
-0.020061292,
-0.009380711,
-0.05219691,
0.008839101,
-0.0034121526,
0.032727778,
-0.00005692563,
-0.038533855,
-0.040411443,
0.032178946,
0.0074381316,
0.022661027,
0.0013431966,
-0.0038779385,
-0.0011166225,
0.006730426,
-0.00844914,
0.10289175,
-0.00509837,
0.005026155,
0.010608365,
0.00049331784,
-0.05069484,
-0.0011698809,
-0.017938174,
0.052370224,
0.013171992,
-0.034345392,
-0.0032839712,
-0.08203609,
0.0037515624,
-0.009575692,
-0.031427912,
-0.054565556,
0.047748473,
0.016378332,
0.043242265,
0.04491765,
-0.015222895,
-0.039891496,
0.025650723,
0.06343354,
-0.008225273,
0.05205248,
0.06458898,
-0.02913148,
-0.0056544244,
0.00046759128,
0.021260059,
-0.016696079,
-0.004506208,
-0.037176214,
-0.00063729624,
-0.04078696,
-0.037522845,
-0.020653453,
0.05147476,
-0.034172077,
-0.011373842,
0.00038003075,
-0.049019456,
-0.07862755,
0.023787579,
-0.04832619,
0.018920297,
-0.013330865,
-0.0441955,
0.01617613,
-0.010666137,
0.2474948,
0.046824124,
0.019483572,
0.021866662,
0.004603698,
0.031659,
0.021548918,
0.024596386,
0.013691939,
-0.034316506,
0.0017855127,
0.018631436,
0.040122584,
0.02267547,
0.009532363,
0.012738703,
-0.04176908,
-0.004195684,
0.009633464,
-0.041595764,
-0.020581238,
0.025260761,
0.01432743,
0.030647991,
-0.015612855,
-0.009402377,
-0.025390748,
-0.06528224,
0.056443144,
-0.0007799206,
0.0025564064,
0.018515892,
0.026777275,
0.008283046,
0.0033182732,
0.063318,
-0.003419374,
-0.010738351,
-0.040671416,
0.0097129,
0.054218926,
0.024899688,
-0.042086825,
-0.0029752527,
0.014334652,
0.0033832667,
0.021794448,
0.0015300526,
0.050001577,
-0.050983697,
0.071348295,
-0.061642613,
0.03220783,
-0.0032280048,
-0.03512531,
0.031196823,
-0.069672905,
-0.037378415,
0.0057519143,
0.0043978854,
0.05566322,
0.006322412,
-0.024740815,
0.031630114,
0.04263566,
0.03778282,
0.029781412,
0.042664547,
-0.01126552,
-0.0105578145,
0.0068315268,
0.022574369,
-0.031196823,
-0.038620513,
0.018284805,
0.011142755,
0.020898983,
0.014161336,
0.02359982,
-0.035991892,
0.028048256,
0.0073695276,
0.023570934,
-0.05716529,
0.034027647,
0.046679694,
-0.0020689561,
0.0079653,
-0.015555083,
0.034807567,
-0.0035240857,
0.059967227,
0.017952617,
-0.015107351,
0.027860496
] | Distributed training and mixed precision
The Trainer supports distributed training and mixed precision, which means you can also use it in a script. To enable both of these features:
Add the fp16 argument to enable mixed precision.
Set the number of GPUs to use with the nproc_per_node argument. |
[
0.058556184,
0.014054041,
-0.014625117,
0.026826644,
-0.011943846,
-0.02379019,
0.0067171073,
0.00036693373,
-0.005644599,
0.05100684,
-0.012312956,
0.018901223,
-0.0057769213,
-0.022369465,
-0.030921677,
-0.014054041,
-0.009903294,
-0.043652494,
-0.04919611,
0.02866523,
0.0021345706,
0.033066694,
-0.07281916,
-0.022132678,
0.0037050296,
0.00957597,
0.016630847,
0.030364528,
0.06986628,
0.009680435,
-0.036688153,
0.0011055892,
-0.01047437,
-0.04719038,
0.0041542295,
-0.012793495,
0.034877423,
-0.0035831537,
-0.049028963,
-0.06485195,
-0.015683698,
0.004422357,
0.049641825,
0.004112444,
-0.03905603,
-0.022258036,
-0.004544233,
0.0115817,
-0.0026969414,
-0.027314147,
-0.010836516,
0.011428485,
0.03406956,
0.0050874515,
0.00080438145,
-0.029695952,
-0.048778247,
0.015795127,
-0.02242518,
-0.0021920265,
0.0107390145,
0.045825366,
-0.019096224,
-0.084630676,
0.026199853,
0.0004740105,
-0.01745264,
0.0019117118,
-0.021547673,
-0.02558699,
-0.06741483,
0.002383546,
-0.029807381,
-0.040504612,
-0.055575445,
0.013051176,
0.065910526,
-0.033874556,
-0.029612381,
0.018135145,
0.01353868,
0.03657672,
-0.0037189585,
0.0055610267,
-0.014750475,
-0.050895408,
0.05733046,
0.007242915,
-0.016157273,
-0.00057673454,
-0.01259153,
0.014987263,
-0.030280957,
-0.027634507,
0.005905762,
0.021714818,
-0.0050630765,
0.010550978,
0.00787667,
0.008531318,
0.06518624,
0.07031199,
-0.0039696745,
0.030002384,
-0.031255964,
0.03014167,
0.056522597,
-0.026297353,
-0.032425974,
-0.013684931,
-0.01913801,
-0.0030347118,
0.026687358,
-0.0135456445,
-0.010725086,
0.010007759,
0.016533347,
-0.016101558,
-0.053764716,
-0.018427648,
-0.018413719,
-0.0321474,
0.039613176,
-0.053068284,
0.005749064,
-0.055074014,
-0.0075145247,
0.04323463,
-0.019165868,
-0.0038373522,
-0.00882382,
0.006933002,
0.027523078,
0.01989016,
0.0077304193,
-0.021380529,
-0.042649627,
-0.011045446,
0.013991362,
-0.015627982,
-0.0015234497,
-0.05816618,
-0.03328955,
0.082792096,
0.025113415,
0.019695157,
0.006034602,
-0.025656635,
-0.008872571,
0.039278887,
-0.022829112,
0.017926214,
-0.038331736,
0.018176932,
-0.019263368,
-0.0248627,
-0.029640237,
0.023233043,
0.0043910174,
0.03498885,
0.010237582,
0.011066339,
-0.019736944,
0.06134192,
0.011428485,
0.062957644,
-0.0444325,
-0.02897166,
-0.026297353,
-0.021714818,
-0.018734079,
-0.018664435,
0.030336672,
0.010049545,
0.050923266,
0.032732405,
0.012890996,
0.0016174683,
-0.0018211753,
0.015948342,
-0.0065151416,
-0.0100216875,
0.0075772037,
0.0017593668,
0.0026220747,
-0.009332217,
0.014973334,
0.022773396,
-0.024876628,
-0.022731612,
0.013677967,
0.05117398,
-0.07036771,
-0.012487064,
-0.018455505,
-0.021101955,
-0.009520255,
-0.0074309525,
0.0076816687,
-0.044181783,
-0.021909818,
0.06039477,
-0.058890473,
-0.01296064,
-0.026450569,
0.011477235,
0.0069434484,
0.07655204,
0.045741796,
-0.006755411,
0.030392386,
-0.009241682,
0.0015974458,
0.012166705,
0.040866755,
-0.023567332,
-0.028108083,
-0.022230178,
-0.009179003,
-0.032370258,
0.0034734653,
0.023483759,
0.015432981,
0.010648478,
0.057553317,
-0.01924944,
-0.0049063787,
0.031562395,
-0.0051536127,
0.052817564,
0.050644692,
0.046271086,
0.023455903,
0.05635545,
0.033595983,
0.02601878,
0.037663158,
-0.002956363,
-0.0018281396,
-0.005982369,
-0.015084764,
0.0053312033,
0.002263411,
0.016616918,
-0.00043483608,
0.059503336,
-0.0140401125,
0.0051675416,
-0.007897563,
0.031785253,
-0.06451766,
0.036353864,
-0.012361706,
0.0010733792,
-0.071983434,
-0.034710277,
0.004714859,
0.027091289,
-0.006755411,
-0.009018823,
-0.0049168253,
0.03142311,
-0.009158109,
-0.0017358621,
0.060339056,
0.07844634,
-0.018051574,
0.011142947,
0.0052162916,
-0.017926214,
-0.006424605,
-0.035155997,
-0.0801735,
-0.060729057,
-0.040866755,
0.0019099707,
-0.014137614,
-0.016630847,
-0.0024758235,
-0.05465615,
-0.02285697,
0.024806984,
-0.005735135,
0.040058892,
0.0060833525,
0.0140401125,
-0.040671755,
0.009750078,
-0.037858162,
0.020670166,
-0.04223177,
-0.060896203,
-0.039668888,
-0.0111220535,
0.012702959,
0.009346146,
-0.00033646476,
-0.0036771724,
-0.027230576,
-0.0066370177,
-0.009986865,
-0.020433377,
0.030085955,
0.0019343458,
-0.018385861,
0.037356727,
0.038749598,
-0.033150267,
0.051758986,
0.033790987,
0.0023992157,
0.0372453,
0.011881167,
0.03490528,
-0.036437433,
0.05660617,
0.039863892,
-0.033205982,
-0.0014268195,
-0.026199853,
-0.054544725,
0.002670825,
-0.004303963,
-0.05287328,
-0.0038512808,
0.044460356,
0.012396528,
-0.068473406,
-0.011644379,
-0.05100684,
0.0042238734,
-0.027160931,
0.01788443,
0.04688395,
0.0018855955,
0.015836913,
-0.06663482,
0.011275269,
0.0048193242,
0.023929477,
0.011449377,
-0.027578792,
-0.03298312,
0.030420244,
-0.0020840792,
0.003917442,
0.04376392,
-0.03925103,
-0.0039069955,
0.009471505,
0.04788681,
0.03426456,
0.035016708,
0.028581658,
0.011351877,
0.0012274652,
-0.0145833315,
0.025224846,
-0.0017384738,
-0.014360473,
-0.013399393,
0.005769957,
0.05783189,
-0.012354742,
-0.03089382,
0.008308459,
0.024208052,
-0.00074213766,
0.037997447,
-0.033595983,
0.04008675,
0.00909543,
-0.017717285,
-0.013845111,
0.0145833315,
0.0024706002,
0.025795922,
0.05150827,
0.030002384,
0.01913801,
-0.036186717,
0.015697626,
-0.029640237,
0.057609033,
0.025127344,
0.02560092,
0.024598055,
0.0068285367,
0.0034316792,
0.01131009,
-0.016658705,
0.003691101,
-0.005547098,
-0.021074098,
-0.020976597,
-0.058221895,
0.025865564,
0.07872491,
0.033373125,
0.0075214887,
0.020043375,
-0.015767269,
0.042036764,
0.051424697,
0.0012823094,
-0.029138805,
-0.05978191,
0.06624482,
0.0391396,
0.033902414,
-0.025754135,
-0.039473888,
-0.0043527135,
-0.0016992993,
-0.022244107,
0.012514922,
-0.033540267,
-0.016240845,
0.018664435,
0.02009909,
0.014875834,
-0.006442016,
-0.034738135,
-0.0018037645,
0.020544808,
0.030531673,
0.0137058245,
-0.065130524,
0.053931862,
0.024305552,
-0.0004574702,
-0.026422711,
-0.05053326,
-0.03097739,
-0.0552133,
0.05017112,
0.03097739,
-0.01872015,
-0.015015121,
-0.051926132,
0.012584565,
0.0111220535,
0.011936882,
-0.014471902,
-0.015600125,
-0.024681626,
0.02580985,
0.010488299,
0.03671601,
-0.022996256,
0.028943803,
-0.0045372685,
0.010829551,
-0.04524036,
-0.00052232563,
-0.008782035,
-0.018580863,
0.04526822,
0.025308417,
0.047441095,
0.0011386698,
-0.010599728,
0.019945875,
-0.041089617,
-0.06323622,
0.04420964,
0.005383436,
-0.010864372,
0.029751668,
-0.01820479,
0.0051779877,
-0.0017132281,
0.023065899,
-0.00489245,
-0.021157669,
0.0016575133,
-0.0154747665,
-0.026952002,
-0.022258036,
-0.007751312,
-0.019848373,
0.017048707,
-0.005355579,
-0.0021641692,
0.0013789396,
-0.06262336,
-0.017522283,
0.012417421,
-0.033233836,
0.00082527444,
0.012494029,
0.0066370177,
0.012765638,
-0.03794173,
-0.033568125,
-0.01332975,
-0.0077443477,
0.019026581,
0.03989175,
-0.017536212,
0.029027376,
-0.047023233,
-0.0111220535,
0.044460356,
-0.04379178,
0.019082297,
-0.039724603,
0.0020074714,
0.015391195,
0.018748008,
0.001560883,
0.010042581,
-0.026422711,
-0.0151404785,
0.011435449,
0.004021907,
-0.008600961,
-0.0391396,
-0.022188392,
0.03925103,
-0.014026184,
-0.04451607,
0.017926214,
0.004189051,
0.029445237,
-0.02888809,
0.015307623,
-0.042454626,
-0.04769181,
-0.043206774,
0.059169047,
-0.012995461,
-0.020851238,
-0.024723412,
-0.016045842,
-0.0041820873,
0.008029886,
0.015391195,
-0.014778333,
0.028581658,
-0.032509547,
0.013113855,
-0.05278971,
-0.003955746,
-0.020475164,
0.0031304716,
-0.052399706,
0.047942527,
0.0015417311,
0.03362384,
0.021798389,
0.010335083,
-0.0021032311,
0.029640237,
-0.03627029,
-0.03150668,
-0.0044989646,
-0.00041764285,
0.029556666,
-0.0054670083,
-0.0071523786,
0.000036998066,
-0.022411251,
0.019681228,
-0.062679075,
-0.05510187,
-0.036131006,
-0.01955587,
0.015767269,
-0.053736858,
-0.01764764,
0.009332217,
-0.0111220535,
0.00994508,
-0.00444325,
-0.0027770312,
0.003182704,
-0.015767269,
-0.056216165,
0.043624636,
-0.030280957,
-0.0064559444,
-0.022411251,
-0.0038129769,
0.028052367,
-0.06585481,
0.040031034,
0.0797835,
-0.015279765,
0.036214575,
-0.038666025,
0.015098693,
0.00840596,
-0.016853707,
-0.043151062,
-0.02550342,
-0.040950328,
0.024096621,
-0.01379636,
-0.023191256,
-0.033261694,
0.0010394279,
0.021283029,
-0.009917222,
0.025893422,
0.020238377,
-0.022021247,
-0.056968313,
0.019416584,
0.016770134,
0.019918017,
-0.019750873,
0.01722978,
-0.009074537,
0.002526315,
-0.04989254,
-0.029389521,
0.0042343196,
0.055993307,
-0.004081104,
-0.046048228,
0.0057664746,
0.049586114,
-0.026993787,
-0.08919929,
-0.005425222,
0.007897563,
-0.0067763044,
-0.032119542,
-0.03429242,
0.04420964,
-0.048945393,
0.057999037,
0.027745936,
-0.016282631,
0.010766872,
0.033790987,
0.02643664,
-0.05136898,
0.0058465647,
0.04356892,
-0.025726277,
0.0074170236,
-0.057720464,
0.017271567,
-0.054433294,
0.007396131,
0.018525148,
-0.019611586,
-0.0052441494,
0.015015121,
0.013580466,
0.06373765,
-0.0077304193,
0.007277737,
0.031255964,
-0.0374403,
-0.024458768,
-0.015614054,
0.018176932,
0.0060694236,
0.042176053,
-0.011519021,
0.005721207,
0.02930595,
0.047218237,
-0.0045337863,
-0.04440464,
-0.006567374,
-0.036883153,
0.008461675,
0.004321374,
0.0060450486,
0.0004161194,
0.012466172,
-0.014130649,
-0.05668974,
-0.016449776,
-0.00084529695,
0.011853309,
-0.0035657429,
-0.06585481,
-0.0011604334,
-0.040003177,
0.008002029,
-0.04228748,
0.010244546,
0.0018107288,
0.041312475,
-0.022731612,
0.038693883,
0.012494029,
0.0024235907,
0.025614848,
0.0035431087,
-0.014457973,
0.024904486,
0.009757043,
0.02411055,
-0.023845905,
0.00028771436,
0.035072424,
-0.052817564,
0.00713845,
0.003403822,
-0.016282631,
-0.03922317,
0.05827761,
0.030838104,
0.017508354,
-0.0020457753,
-0.036521006,
0.027690222,
-0.021296956,
-0.021227313,
-0.035908144,
-0.017954072,
-0.0066579105,
0.031005248,
0.0010429102,
0.042064622,
0.028776659,
0.009777935,
-0.013754575,
0.034738135,
-0.0011647862,
0.013239213,
0.0101331165,
0.031478822,
-0.00043418317,
-0.027857367,
0.06613339,
0.0063027292,
-0.008280602,
0.028693087,
0.00766774,
-0.018789794,
-0.027147003,
0.029138805,
-0.006219157,
0.030838104,
0.013594395,
-0.012730816,
-0.029668095,
-0.024472697,
-0.0017132281,
-0.0027039056,
-0.036771722,
-0.007660776,
0.014047077,
-0.009116323,
0.016575133,
0.013280999,
-0.011519021,
0.014290829,
0.028428443,
0.042315338,
-0.0042900345,
-0.005773439,
-0.0045128935,
0.036047433,
-0.07699776,
0.0037886018,
0.014102791,
0.017773,
-0.031673826,
-0.024180194,
0.02823344,
0.06741483,
0.026283424,
-0.021923747,
-0.050728265,
-0.04345749,
-0.011546878,
-0.008002029,
-0.010920088,
0.032314546,
-0.023344472,
0.026185924,
-0.009297396,
0.008489532,
0.005097898,
0.021561602,
0.02824737,
0.007319523,
-0.012375635,
0.019736944,
-0.009387933,
-0.0031113196,
0.0063967477,
0.023469832,
0.012027418,
0.0027456917,
-0.013824218,
-0.010794729,
0.039473888,
0.025768064,
0.013503858,
-0.040504612,
0.020600522,
0.01358743,
-0.0071523786,
-0.009882401,
0.07644061,
-0.0025158683,
-0.013343679,
0.0020492575,
-0.03055953,
-0.0062365676,
-0.012884032,
-0.0008688016,
0.022411251,
-0.012521886,
-0.0028814962,
-0.011477235,
-0.0011186474,
0.007765241,
-0.008970072,
-0.022341607,
0.0050735227,
0.0047810203,
0.010007759,
0.026993787,
0.010453477,
0.016547276,
0.04189748,
0.02317733,
0.038136736,
0.0268545,
0.01955587,
0.06329194,
-0.04674466,
0.032370258,
-0.03437599,
-0.047970384,
-0.020879095,
0.02168696,
-0.052761853,
0.0410339,
0.00016061512,
-0.013106891,
0.028052367,
-0.04125676,
-0.013023319,
-0.059391905,
0.008705427,
-0.026492355,
0.022355536,
0.018511219,
-0.019193726,
-0.03777459,
0.029584523,
-0.0077164904,
-0.0024392607,
0.024598055,
0.06518624,
0.015781198,
0.09978508,
0.06323622,
0.06100763,
-0.0000019077127,
0.040504612,
-0.035490286,
0.0072080935,
0.016352274,
-0.00028227348,
0.01830229,
-0.01745264,
-0.043819636,
0.032927405,
0.035378855,
0.017926214,
-0.048945393,
0.021018382,
0.0053695072,
0.015906556,
0.007584168,
0.105022274,
0.0073473803,
-0.02051695,
-0.0019674264,
-0.01788443,
-0.062790506,
0.0018821133,
-0.004725306,
0.03145097,
-0.0302531,
-0.0063723726,
-0.0154747665,
-0.052288275,
0.00006578038,
-0.018469434,
-0.015530482,
-0.048053958,
0.04242677,
0.020879095,
0.05850047,
0.000010772966,
-0.0137058245,
-0.02950095,
0.06228907,
0.029138805,
-0.00016126804,
0.055909734,
0.021589458,
0.010550978,
-0.0105161555,
0.02833094,
-0.006995681,
-0.013921719,
-0.020962669,
0.0045581614,
0.024611983,
-0.019723015,
-0.03827602,
0.005933619,
-0.009046679,
0.02526663,
-0.025308417,
-0.029640237,
-0.07538203,
-0.07889206,
-0.0054530795,
0.0004391888,
0.03774673,
-0.044153925,
-0.01682585,
0.00692952,
-0.03312241,
0.22809611,
0.08184494,
0.06546481,
-0.012821353,
0.025865564,
-0.0161712,
0.005136202,
-0.040142465,
-0.006570856,
-0.041312475,
0.028289156,
-0.030002384,
-0.03429242,
0.03228669,
-0.011609557,
0.046493944,
-0.057887606,
-0.024737341,
-0.0015643652,
0.0006289671,
-0.05309614,
0.018385861,
-0.022397323,
0.04019818,
0.019500157,
0.0058604935,
0.02305197,
-0.04228748,
-0.0029163181,
-0.025865564,
-0.015822984,
-0.030280957,
0.005136202,
-0.021742674,
-0.047775384,
-0.0014921102,
0.017689427,
-0.05446115,
0.018594792,
-0.03459885,
-0.021436242,
0.008858643,
0.006894698,
-0.0140401125,
-0.0067971973,
0.007444881,
0.0055714734,
0.027759865,
0.043652494,
-0.09816936,
0.018413719,
-0.026199853,
0.040058892,
-0.03989175,
-0.07632919,
-0.04980897,
0.0061112097,
-0.025837706,
0.028052367,
0.019193726,
0.021826247,
-0.0031513646,
0.023079827,
0.035713144,
-0.026729142,
0.049028963,
-0.046298943,
0.01031419,
-0.025322346,
-0.010000794,
0.0069190734,
-0.031033106,
-0.047134664,
-0.011832416,
0.0043805707,
0.057887606,
0.047942527,
0.02717486,
-0.008809892,
-0.04028175,
0.017856572,
0.013664038,
-0.02866523,
0.0065151416,
0.005721207,
0.03660458,
-0.040448897,
0.031255964,
-0.007444881,
0.026130209,
0.038136736,
0.06228907,
0.012076168,
0.031980257,
0.009603827
] | python examples/tensorflow/summarization/run_summarization.py \
--model_name_or_path google-t5/t5-small \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size 8 \
--per_device_eval_batch_size 16 \
--num_train_epochs 3 \
--do_train \
--do_eval |
[
0.027955685,
-0.012650093,
-0.03846095,
0.013620372,
-0.01290543,
0.023622261,
-0.014634422,
-0.022557145,
0.012292623,
0.04669008,
0.0026518507,
0.010614698,
0.04444312,
-0.026088081,
-0.0064344765,
0.031720072,
0.016064305,
-0.036097266,
-0.0404161,
0.0067518232,
-0.016750066,
-0.0073719257,
-0.071494184,
-0.006558497,
-0.021200214,
0.019099161,
-0.00012128478,
-0.0030129692,
0.066299915,
0.052964058,
-0.057749793,
-0.009870575,
0.025271006,
-0.057399616,
-0.021462847,
-0.021492027,
-0.007995676,
0.024993783,
-0.068225875,
-0.03169089,
0.017494189,
0.014721965,
0.02222156,
-0.038752764,
-0.053722773,
0.026190216,
0.017479599,
-0.0105417445,
0.019011617,
-0.01683761,
-0.0054714936,
0.057195347,
0.02627776,
-0.008032152,
-0.050629556,
-0.0100456625,
0.0070399884,
-0.020076733,
-0.019653605,
-0.022717642,
-0.006551202,
-0.015363954,
-0.046806805,
-0.028772762,
0.033821125,
0.033967033,
0.012161306,
-0.014021615,
0.010009185,
0.0011198324,
-0.021375302,
0.016370708,
-0.03385031,
-0.049141306,
-0.0080540385,
0.045522828,
0.0076090237,
0.009804917,
-0.027196972,
-0.007368278,
0.03352931,
0.0444723,
-0.0042787082,
-0.01132964,
-0.019434744,
-0.028831124,
0.030144282,
-0.01953688,
-0.027342878,
-0.026204808,
0.021754658,
-0.00014282878,
0.004632531,
0.0037862735,
0.026613345,
0.02804323,
-0.01043961,
0.038198322,
-0.015611995,
-0.0354261,
0.00819265,
0.05842096,
-0.01190597,
0.044151306,
-0.02017887,
0.018530125,
0.030377733,
-0.008090516,
0.0011955213,
-0.035630368,
0.007346392,
0.010964873,
0.015203457,
0.026890567,
0.017873546,
0.004333423,
-0.040153466,
-0.0054094833,
-0.026321532,
-0.010038367,
0.047244523,
-0.002126587,
0.0039175893,
0.010614698,
0.022061063,
-0.046981893,
0.009556876,
0.03933639,
-0.010767899,
-0.0041656303,
-0.009104566,
0.012051877,
-0.0027703997,
0.059588213,
0.02492083,
-0.014400971,
-0.02131694,
0.013824641,
0.023549309,
0.0028251146,
-0.005985814,
-0.060230203,
-0.014955416,
0.083225064,
-0.014109158,
-0.0132483095,
0.0053985403,
-0.052059438,
-0.017640095,
0.028626855,
-0.020689541,
0.004005133,
-0.0017034584,
0.014094568,
-0.012226964,
0.0027904618,
-0.011220209,
0.031749252,
0.013861117,
0.040532824,
-0.012431233,
-0.041524988,
0.007335449,
0.039920017,
0.03685598,
0.051534176,
-0.047915693,
-0.026365304,
-0.006970683,
-0.03125317,
0.03638908,
0.009673601,
-0.0028068763,
0.018676031,
0.057107802,
0.05906295,
0.042312883,
0.00337044,
-0.008812753,
-0.019814102,
-0.0053109964,
-0.0022013644,
-0.04406376,
0.043305047,
0.0062630363,
0.019916236,
-0.011460955,
0.0032081192,
0.009338016,
0.018953254,
-0.0047747903,
0.014094568,
-0.048032418,
0.04129154,
-0.035601184,
0.011263981,
-0.011132666,
0.021521209,
-0.027240744,
-0.0351051,
0.023957847,
0.061222367,
-0.023520127,
-0.01885112,
-0.024891648,
0.01402891,
-0.016210211,
0.04091218,
-0.0019496756,
0.014780329,
0.063148335,
0.026788432,
-0.016808428,
0.018967845,
0.007827884,
0.0064855437,
0.0042750603,
-0.016647931,
-0.013445283,
-0.0038300455,
-0.0055590374,
-0.0074412315,
0.043188322,
-0.02493542,
0.021944337,
-0.017450416,
0.002020805,
0.05416049,
0.021054307,
-0.00016608262,
-0.0056465813,
0.03930721,
-0.015772492,
0.082991615,
0.013124289,
0.013343149,
-0.0027521614,
0.010198864,
-0.01593299,
0.0029254253,
-0.025300186,
0.006945149,
-0.026671708,
0.016020533,
0.015874626,
0.0026080785,
-0.02220697,
0.0010997702,
-0.057107802,
0.026423667,
-0.05658254,
0.030173464,
-0.017246148,
0.0059894617,
-0.03294569,
-0.013627667,
0.00908268,
0.018982435,
0.0013970548,
-0.006171845,
0.004114563,
0.03881113,
-0.01156309,
-0.01572872,
0.06594974,
0.043480136,
-0.008776275,
0.03478411,
-0.016764656,
-0.015743311,
-0.021652523,
-0.007762226,
-0.033996213,
-0.038081598,
-0.03195352,
-0.029341796,
0.036534987,
-0.040766276,
0.014875167,
-0.014145635,
-0.0012365576,
0.039832473,
-0.004862334,
0.042342067,
0.031340715,
0.038548496,
-0.016691703,
0.025446093,
-0.057428796,
0.009688191,
-0.032653876,
0.010585517,
0.0019733855,
0.0014280599,
0.057866517,
0.024585245,
0.008491758,
-0.021214806,
0.008251012,
-0.005901918,
0.0027083894,
0.009345311,
0.010833558,
0.009761144,
-0.03881113,
0.010680355,
0.0016432719,
-0.03031937,
0.028087001,
0.0033959737,
-0.02203188,
0.01313888,
-0.0065730875,
0.03773142,
-0.02017887,
0.04199189,
0.018106997,
0.005694001,
-0.09740718,
-0.057545524,
-0.022848958,
0.0147438515,
-0.0076090237,
-0.03478411,
-0.023461765,
0.03457984,
-0.028451767,
-0.036038905,
0.040591188,
-0.02716779,
-0.008156173,
0.01597676,
0.0019897998,
0.041524988,
0.0019095513,
0.049579028,
-0.03528019,
0.024570653,
-0.05614482,
-0.008156173,
0.013861117,
-0.012365576,
0.006547554,
0.01974115,
-0.0016077072,
-0.0054094833,
0.036447443,
-0.018063225,
-0.013737096,
-0.04604809,
0.0127668185,
-0.021477437,
-0.0013241015,
0.02557741,
0.012489596,
0.006233855,
-0.028247498,
0.0097830305,
0.00051067275,
0.013788164,
0.02786814,
0.011045122,
-0.0015493446,
0.01953688,
-0.008593893,
0.0125041865,
0.0024986488,
0.013102404,
0.03612645,
-0.060405288,
0.038957033,
-0.008141583,
-0.059675757,
-0.0026992701,
0.008309375,
-0.043305047,
0.039161302,
0.05185517,
0.029910833,
-0.0008891177,
-0.07972331,
-0.0011116251,
-0.003275601,
0.015524452,
0.016720885,
0.032916505,
-0.015393135,
0.008345852,
-0.02694893,
0.0030002024,
-0.005325587,
0.035630368,
-0.0004700925,
0.007565252,
-0.016181031,
-0.025460683,
0.016516615,
0.04202107,
0.038344227,
-0.0041328017,
0.08696027,
-0.044384755,
0.0069633876,
0.03390867,
0.03475493,
-0.045522828,
-0.025037555,
0.019215886,
0.035659548,
0.0069743306,
-0.055327743,
-0.032653876,
-0.038285866,
-0.014940825,
-0.0291813,
0.02379735,
-0.021127261,
0.0026828558,
-0.021958929,
0.05456903,
-0.038694404,
-0.048440956,
-0.050717097,
0.0024895296,
0.04919967,
-0.0112348,
-0.007703863,
-0.01594758,
-0.009586057,
0.022250742,
-0.010986759,
-0.014444743,
-0.0023326802,
-0.030436095,
-0.05095055,
0.047098618,
0.061689265,
-0.024906239,
-0.010490677,
-0.03796487,
-0.026438257,
0.03387949,
0.024089163,
-0.024847876,
-0.017581733,
0.0026937986,
-0.002786814,
-0.0017873546,
-0.021944337,
0.023315858,
0.0009757497,
-0.067934066,
0.061805993,
-0.040766276,
0.009111861,
-0.010950282,
-0.014306132,
0.008404214,
0.035513643,
0.040328555,
-0.038344227,
0.0032883678,
0.036272354,
-0.038548496,
-0.021506617,
0.009133747,
-0.009637124,
0.033266682,
0.06303161,
-0.0031096323,
-0.019201295,
0.048907857,
0.019215886,
-0.050687917,
0.013131585,
0.0009315218,
0.004661713,
-0.03262469,
-0.026175626,
-0.01043961,
-0.0064162384,
0.034667384,
-0.00886382,
-0.010519858,
0.016224802,
-0.064782485,
-0.01134423,
0.037352063,
-0.026015129,
0.0021138203,
-0.009338016,
-0.0030020261,
0.021419074,
-0.027474193,
-0.014670898,
0.0022834367,
-0.022382056,
0.00488422,
0.068109155,
0.057078622,
-0.017202375,
0.0063578757,
-0.0688095,
0.07686354,
-0.071494184,
0.009556876,
-0.045697916,
0.011446364,
-0.0067226416,
-0.024220478,
-0.06151418,
0.0041875164,
-0.0067153466,
-0.008396919,
0.007886246,
-0.0040598484,
0.018238312,
-0.027795188,
-0.03481329,
0.050512828,
-0.028218316,
-0.02334504,
-0.033558495,
0.017041879,
0.0015666711,
-0.04085382,
0.02292191,
-0.044764113,
-0.047302887,
-0.04689435,
0.06857605,
-0.049141306,
0.005814374,
-0.03455066,
-0.06133909,
0.014087272,
0.010578221,
0.014211292,
-0.05147581,
0.01799027,
-0.037293702,
-0.03259551,
-0.052263707,
-0.020091325,
-0.013029451,
-0.029400159,
0.0092942435,
0.030698728,
-0.01861767,
-0.0054824366,
0.010563631,
0.011650634,
0.005544447,
0.040503643,
-0.037322883,
-0.018719804,
0.026934339,
0.014765738,
-0.021258576,
0.013766278,
-0.011446364,
0.02133153,
-0.009447446,
0.014765738,
-0.059880026,
-0.00488422,
-0.03618481,
-0.0060004047,
0.036447443,
-0.04467657,
0.018661441,
0.029093755,
0.007842475,
0.031107266,
0.053722773,
0.01931802,
0.018238312,
-0.0013551066,
-0.07575465,
0.036447443,
-0.009564171,
-0.018705213,
-0.016662521,
0.019580651,
0.021856794,
-0.055969734,
0.004114563,
0.051767625,
-0.002938192,
-0.03390867,
-0.018530125,
0.019069979,
0.0404161,
-0.01796109,
0.022644687,
-0.019099161,
-0.047477975,
0.008032152,
-0.02988165,
-0.05456903,
-0.017654685,
0.03592218,
0.017129423,
-0.055123474,
0.04496838,
-0.015291001,
-0.03679762,
-0.027678462,
0.01816536,
-0.0041802214,
0.01839881,
0.009775735,
0.02000378,
-0.016472844,
0.039161302,
-0.053372595,
-0.06402377,
0.014751147,
0.069976754,
-0.023549309,
-0.04625236,
0.046660896,
0.026102671,
-0.017406644,
-0.0660081,
0.013992433,
0.021404482,
0.013182652,
-0.014649012,
-0.0021685353,
0.002474939,
-0.029152118,
-0.011497432,
0.03971575,
-0.0062192646,
-0.033325043,
0.038110778,
0.015436907,
-0.056961898,
0.011431774,
0.014882463,
-0.024176706,
-0.007014455,
0.013080518,
-0.0053730067,
-0.036505807,
-0.0276201,
0.059821665,
-0.043013234,
-0.0087981615,
0.04155417,
-0.0040270193,
0.055123474,
-0.030173464,
-0.0067262896,
-0.0077549303,
-0.04517265,
-0.049520664,
-0.044501483,
0.0085428255,
-0.0069415015,
0.0054714936,
0.0000030599044,
0.033967033,
0.019463927,
0.022250742,
-0.034083758,
-0.074412316,
0.002830586,
-0.012584436,
-0.046164814,
0.049491484,
-0.028466357,
0.014298837,
0.0048331525,
-0.015641177,
-0.012380166,
-0.025723316,
-0.0145104015,
-0.014984597,
-0.018223722,
-0.060055114,
-0.034317207,
-0.034638204,
0.001620474,
-0.053051602,
-0.017362874,
-0.008469872,
0.04222534,
-0.01661875,
0.009513103,
0.0066533363,
0.02830586,
-0.02513969,
0.023009455,
-0.026686298,
0.007893542,
-0.03455066,
0.04126236,
-0.0059092133,
0.028787352,
0.05004593,
-0.04035774,
0.013496351,
-0.012569845,
-0.019639015,
-0.021156441,
0.03843177,
0.028714398,
-0.0038847604,
0.0064162384,
-0.05252634,
0.046339903,
-0.030873815,
-0.0037862735,
-0.02581086,
-0.03437557,
-0.01335774,
0.059325583,
0.043888673,
0.017100241,
0.019099161,
0.043129962,
0.0074302885,
0.036593348,
-0.009418264,
0.043100778,
0.031778436,
0.026890567,
-0.046456628,
-0.033266682,
0.025212642,
0.033558495,
-0.033179138,
0.047215343,
0.020149687,
-0.016516615,
0.007036341,
0.027926503,
0.019493109,
0.03209943,
0.004690894,
0.011541204,
-0.021477437,
-0.0010423196,
-0.05363523,
-0.0021648877,
-0.049520664,
-0.019711968,
0.013379626,
-0.07184436,
-0.013022155,
-0.0014408267,
-0.013634962,
0.009177519,
0.01616644,
-0.014554173,
-0.0032354766,
-0.0016168264,
0.016064305,
0.025241824,
-0.07359524,
-0.023286676,
-0.010746013,
0.01885112,
-0.053314235,
-0.028772762,
0.021039717,
0.065015934,
0.008075925,
-0.013613076,
-0.030815452,
-0.041875165,
0.028612264,
0.043217506,
-0.078322604,
0.0061280727,
-0.042371247,
0.017216967,
-0.01594758,
0.014926234,
0.023738988,
0.04283815,
0.004136449,
0.024468519,
-0.022965683,
0.050191835,
0.0057414207,
-0.038723584,
0.028685218,
0.0010377599,
0.036476623,
0.0049352874,
0.0021849498,
0.024074571,
0.032741416,
-0.0021867736,
0.04380113,
0.01101594,
0.0332375,
0.026452849,
-0.012285327,
0.0055152657,
0.007857065,
0.035863817,
0.009637124,
0.014845986,
-0.02045609,
-0.015509861,
-0.009600648,
0.027196972,
0.0047273706,
-0.0047711423,
0.011497432,
-0.029969195,
-0.019478517,
-0.002657322,
0.0038884082,
-0.025504455,
0.01933261,
-0.0027466898,
0.03708943,
0.010899215,
0.033383407,
0.024380976,
0.042079434,
0.055765465,
0.011446364,
0.006857605,
-0.017640095,
0.05322669,
-0.0062630363,
0.035659548,
-0.013780869,
0.035630368,
0.0053985403,
-0.033120774,
0.0058982703,
0.054744117,
0.0006711699,
-0.04987084,
-0.03971575,
-0.0056684674,
-0.021141851,
-0.040124286,
0.044705752,
-0.05410213,
0.0072807344,
-0.010680355,
-0.023651443,
0.009243176,
0.011949742,
0.001804681,
0.02805782,
0.03207025,
0.04426803,
-0.014860577,
0.088185884,
0.0251251,
0.0019697377,
0.041379083,
-0.0014745676,
-0.037643876,
-0.0068539577,
0.013109699,
0.0012438529,
0.0022998513,
0.013204538,
-0.022046471,
0.043421775,
0.017041879,
0.026627935,
-0.05162172,
-0.016793838,
0.018778166,
-0.005497027,
-0.024220478,
0.111005664,
0.043159142,
0.0065329634,
-0.015903808,
-0.01413834,
-0.05839178,
-0.00007745583,
0.02000378,
0.04963739,
-0.03700189,
-0.048586864,
0.023899484,
-0.014342609,
-0.017012697,
0.018924072,
-0.008491758,
0.006529316,
0.024585245,
-0.0004687246,
0.029998375,
0.032887325,
-0.010140502,
-0.038110778,
0.033937853,
0.038344227,
-0.005781545,
0.06723371,
0.058537688,
0.02495001,
-0.006828424,
-0.017348282,
-0.0313699,
-0.024424748,
-0.0052125095,
-0.015320182,
-0.0071129417,
-0.031982705,
-0.06308997,
-0.008010266,
0.01819454,
-0.036068086,
-0.011220209,
-0.03930721,
-0.042050254,
-0.044122126,
0.0025861927,
-0.026686298,
-0.038081598,
-0.014415562,
-0.015568223,
0.03954066,
-0.03886949,
0.2542275,
0.066825174,
0.048645224,
0.021039717,
0.011949742,
0.040328555,
-0.0057888404,
-0.0015539041,
-0.02585463,
-0.07201945,
0.002062753,
-0.024731152,
0.0032008237,
0.04692353,
-0.034171302,
0.0027831665,
-0.020733314,
0.013941366,
-0.017377464,
-0.03685598,
-0.038490135,
0.029808698,
0.0052818153,
0.009410969,
-0.012985678,
0.016078897,
-0.0107751945,
-0.050921366,
0.027561737,
-0.042371247,
-0.008717913,
-0.00876898,
0.036243174,
0.007098351,
-0.002141178,
0.048149142,
-0.008477167,
-0.029341796,
-0.009819508,
-0.02716779,
-0.017041879,
0.0009666305,
0.0008339468,
-0.015057551,
-0.029764926,
0.03612645,
0.010308294,
0.0033686163,
0.024789514,
-0.07190272,
0.047915693,
-0.08982004,
-0.028714398,
-0.019230476,
-0.056261547,
-0.007893542,
-0.04018265,
-0.04607727,
0.005934747,
0.04108727,
0.0351051,
-0.0040489053,
0.004253174,
0.015670357,
0.00820724,
0.008024857,
-0.037848145,
0.051942714,
-0.05141745,
-0.0054641985,
0.008353147,
-0.01145366,
-0.0069524446,
0.021929746,
0.026058901,
0.020485273,
0.024351794,
0.029502293,
-0.042342067,
-0.03752715,
-0.0016368885,
0.0033667923,
0.021710888,
-0.006270332,
0.009089975,
0.036038905,
-0.02515428,
-0.0052343956,
0.0032044714,
0.022717642,
0.018705213,
0.062097806,
-0.0020609293,
0.00046735676,
0.009199405
] | Tensor Processing Units (TPUs) are specifically designed to accelerate performance. PyTorch supports TPUs with the XLA deep learning compiler (see here for more details). To use a TPU, launch the xla_spawn.py script and use the num_cores argument to set the number of TPU cores you want to use. |
[
0.05871865,
-0.0010972107,
-0.040952496,
0.036014106,
-0.0032972782,
-0.010569357,
-0.01361821,
-0.0053411387,
0.011299577,
0.0556171,
0.014574271,
0.0013249337,
0.025158685,
-0.030368082,
-0.0071591586,
-0.009470264,
-0.00058765704,
-0.017961886,
-0.044927295,
-0.0049572093,
0.011623282,
0.0051604663,
-0.06781252,
-0.016817624,
-0.020099847,
0.00064458774,
-0.030925157,
0.018157614,
0.06696937,
0.023291731,
-0.047547054,
-0.005856809,
-0.002568941,
-0.031647846,
0.011186656,
-0.0014453821,
0.026333056,
0.03929633,
-0.055496655,
-0.04896232,
0.0103284605,
0.012782599,
0.028787196,
-0.0037941283,
-0.049293555,
-0.0065945564,
-0.006353659,
0.0027063277,
0.025474861,
-0.021409724,
0.00050484866,
0.03932644,
0.027718214,
-0.010147788,
-0.018473791,
-0.024767226,
-0.018684575,
0.026754627,
-0.019271763,
-0.010177899,
0.025279133,
0.011141487,
-0.040862158,
-0.048691314,
0.016185269,
0.02658901,
-0.0018791851,
0.014205397,
-0.0076183686,
-0.015259322,
-0.06395816,
0.007170451,
-0.054773964,
-0.04016958,
-0.008205555,
0.020792425,
0.06871588,
-0.023141172,
-0.05137129,
0.014446294,
0.011803955,
0.013422482,
-0.009161615,
-0.017058522,
-0.011578114,
-0.039386664,
0.044445504,
-0.0016938073,
-0.008702406,
-0.030895045,
-0.018428624,
-0.014890448,
0.020551529,
-0.0041328897,
0.010667222,
0.045228418,
-0.0111716,
0.027311701,
0.019949285,
-0.012707318,
0.05435239,
0.07064305,
-0.006997306,
0.053117797,
-0.022102302,
0.012217997,
0.026528785,
-0.008612069,
0.0081453305,
-0.010057451,
-0.019783668,
-0.0038336504,
0.02092793,
0.0043135625,
-0.0059095053,
-0.021831293,
-0.020024566,
-0.021048378,
0.006116526,
0.0043248544,
0.02544475,
-0.042698998,
0.037399266,
-0.048721425,
0.042548437,
-0.040982608,
-0.014167757,
0.028215066,
-0.032280203,
-0.028320458,
0.018112445,
-0.010381157,
0.0043060347,
0.025550142,
0.020069733,
-0.014860336,
-0.010960815,
0.018037165,
0.024195096,
-0.018985698,
0.013159,
-0.049022548,
-0.022584097,
0.0896137,
0.034689173,
0.022403425,
-0.01809739,
-0.021108603,
-0.051973533,
0.06335592,
-0.02375847,
0.0017389754,
-0.026438449,
0.030307857,
-0.029449662,
-0.032460876,
-0.013249337,
0.016125046,
0.025775982,
0.065162644,
-0.009891834,
0.009154087,
-0.018082334,
0.056339793,
0.0042382823,
0.08798764,
-0.038001508,
-0.056791477,
-0.0387242,
-0.030232577,
0.039657675,
0.012383613,
0.00420817,
-0.010147788,
0.04709537,
0.024240265,
0.040079243,
-0.011736202,
-0.016155157,
0.020175127,
0.009711161,
0.008499148,
-0.0016561671,
0.015349658,
0.0022245336,
0.03664646,
-0.024496216,
0.005175522,
-0.022282975,
-0.005141646,
-0.007686121,
0.033033006,
-0.07413606,
0.019271763,
-0.028681803,
-0.01787155,
-0.015733587,
0.0030018028,
-0.00027100916,
-0.069619246,
-0.0008887783,
0.053689927,
-0.017404811,
0.00925948,
-0.015583027,
0.018263007,
-0.007234439,
0.06624668,
0.04793851,
-0.017946828,
0.060133923,
-0.0027006816,
-0.021274218,
0.00089583587,
0.03378581,
0.00028253646,
-0.017465034,
-0.012594398,
-0.0027458498,
-0.012910576,
-0.016019654,
0.015402354,
0.025851263,
-0.0020815008,
0.020461192,
-0.03279211,
-0.037308928,
0.0029152306,
0.015146401,
0.03324379,
0.026122272,
0.037308928,
-0.022478703,
0.065704666,
-0.013941916,
-0.008273307,
0.04128373,
0.016546614,
-0.008612069,
-0.0015216036,
-0.012684735,
-0.015477634,
0.026393281,
0.039085545,
-0.0020796189,
0.038302626,
-0.0021831293,
-0.00073257164,
-0.025986766,
0.045228418,
-0.060133923,
0.032280203,
-0.00047661853,
-0.006587028,
-0.081242524,
-0.031768296,
-0.0022170055,
0.050979834,
-0.0067488807,
0.0042382823,
0.013557986,
0.049263444,
-0.032912556,
0.0022094774,
0.05260589,
0.06907722,
-0.016019654,
0.013189113,
0.006349895,
0.016892904,
-0.03929633,
-0.021033322,
-0.04992591,
-0.04426483,
-0.044174492,
0.016892904,
0.01717897,
-0.0056234403,
0.003504299,
-0.03333413,
-0.0025557668,
0.001882008,
-0.00022572334,
0.037248705,
0.028802251,
0.0043361466,
-0.02413487,
0.050377592,
-0.050287254,
0.021469949,
-0.036586236,
-0.049865685,
-0.025821151,
-0.029464718,
0.0269353,
0.027311701,
-0.013136417,
-0.049715124,
-0.029359326,
-0.0012430663,
-0.0010699215,
-0.005073894,
0.039838348,
-0.009613297,
-0.029028092,
0.019422323,
0.0154475225,
-0.023848806,
0.049173106,
0.024661833,
-0.010817782,
0.039085545,
-0.0012317742,
0.04032014,
-0.046372678,
0.055195533,
0.0015263086,
-0.018985698,
-0.036706686,
-0.03408693,
-0.020656921,
-0.012669678,
-0.013821467,
-0.043903485,
-0.0033687945,
0.03438805,
-0.0015564207,
-0.06492175,
0.01844368,
-0.036947582,
-0.029976625,
-0.0026348112,
0.016365942,
0.019181427,
-0.021665677,
0.037128255,
-0.06721027,
0.010742502,
-0.018895362,
0.0059734937,
0.0055858,
-0.032731883,
-0.019783668,
0.014762471,
-0.0034497208,
-0.0035758154,
0.052154206,
-0.056369904,
0.002791018,
-0.010132732,
0.020054678,
0.00925948,
0.023788583,
0.020039622,
0.020325687,
-0.009139031,
-0.029389437,
0.026905186,
-0.00282113,
0.028832363,
-0.0010633345,
0.047757838,
0.06025437,
-0.0057024844,
-0.03944689,
0.029901344,
0.034117043,
-0.015116288,
0.03505052,
-0.02723642,
0.034177266,
0.0006756409,
-0.042217206,
-0.025986766,
0.00017984939,
-0.028742027,
0.0289227,
0.05727327,
0.005506756,
0.024360713,
-0.042909782,
0.014107533,
-0.005612148,
0.04878165,
0.032912556,
0.014830223,
0.009590713,
0.042638775,
0.012014739,
-0.026227664,
0.019392211,
-0.014483934,
-0.017103689,
-0.039356552,
-0.030684259,
-0.00560462,
0.0417053,
0.02957011,
0.019452436,
0.0012091902,
0.043481912,
-0.033183567,
0.02899798,
0.0062369746,
0.022659376,
-0.037007805,
-0.06010381,
0.066848926,
0.0068806214,
0.027929,
-0.026423393,
0.004204406,
-0.011856651,
0.022975555,
0.016380997,
-0.02080748,
-0.041494515,
-0.00037804837,
0.013821467,
0.008318475,
0.03619478,
-0.02092793,
-0.024285432,
0.018353343,
0.049895797,
-0.024420938,
-0.011141487,
-0.06052538,
0.008868022,
0.009033639,
-0.02949483,
-0.019994454,
-0.026438449,
-0.02996157,
-0.07762907,
0.031346727,
0.014220453,
-0.018925473,
-0.04001902,
-0.045589764,
-0.04655335,
0.017449979,
0.0155077465,
-0.027115973,
-0.0153346015,
0.0071591586,
-0.011427553,
-0.024240265,
0.03757994,
0.004716312,
0.017660763,
-0.009997227,
0.02100321,
-0.04354214,
0.020958042,
-0.033755697,
-0.013768771,
0.05091961,
0.04962479,
0.021183882,
-0.04032014,
0.0115931695,
0.030864932,
-0.049233332,
-0.049444117,
0.024059592,
0.012895519,
0.0033838504,
0.02628789,
0.0014858454,
-0.0052846787,
0.009455209,
0.014642023,
-0.037128255,
0.008386228,
-0.008868022,
0.008724989,
-0.035441976,
-0.003075201,
0.020882761,
-0.027823607,
0.03264155,
-0.013708547,
-0.006300963,
0.0073435954,
-0.05245533,
-0.012737431,
0.023080947,
-0.021876462,
-0.014438766,
0.01224058,
-0.0055255755,
0.012413725,
-0.033725586,
-0.0018377809,
-0.003963509,
-0.02440588,
0.011088791,
0.04300012,
0.011088791,
0.012714846,
-0.060886726,
-0.031467173,
0.05513531,
-0.049835574,
0.03321368,
-0.013181585,
0.0011941341,
0.03860375,
0.008431396,
-0.029539999,
0.037308928,
-0.0063875355,
-0.009891834,
0.028049449,
-0.0071817427,
-0.013189113,
-0.03634534,
-0.01663695,
0.066367134,
-0.0077990415,
-0.043331355,
-0.0021868935,
0.021289276,
0.036014106,
-0.013603155,
0.020822538,
-0.053479142,
-0.031858634,
0.00791949,
0.04893221,
-0.026558898,
0.0024164983,
-0.005789057,
-0.03986846,
-0.0066246684,
-0.0061353464,
0.03619478,
-0.04724593,
0.044867072,
-0.04242799,
0.013588098,
-0.048902098,
0.004765244,
-0.019422323,
-0.020942986,
-0.025158685,
0.046583463,
0.023397123,
0.016380997,
0.00507013,
0.0015978249,
-0.0009537076,
0.04032014,
-0.029795952,
-0.013663379,
0.021951742,
0.011254408,
0.02850113,
-0.021138715,
-0.0013352847,
0.0019685805,
-0.0074941562,
0.02961528,
-0.048661202,
-0.041524626,
-0.026197553,
-0.012270693,
0.03137684,
-0.02949483,
0.004196878,
-0.005992314,
-0.017841436,
0.009139031,
0.0073360675,
0.010471493,
0.048751537,
-0.0075656725,
-0.086963825,
0.021936687,
-0.035592537,
-0.016471334,
-0.012383613,
0.009304648,
0.038814534,
-0.05856809,
0.052395105,
0.060043585,
0.0061391103,
0.03511074,
-0.05573755,
0.033725586,
0.021033322,
0.00094570906,
-0.039085545,
-0.051582076,
-0.05122073,
-0.0020231586,
0.007942074,
-0.04712548,
-0.036435675,
0.010260708,
-0.0193621,
-0.047276042,
0.023231508,
0.005657316,
-0.00922184,
-0.06757162,
0.03200919,
-0.031738184,
0.029404495,
-0.012014739,
0.040500812,
-0.0059320894,
-0.0038110663,
-0.024285432,
-0.034990296,
-0.003026269,
0.026634177,
-0.012165301,
-0.037429377,
0.008220611,
0.02058164,
-0.041916084,
-0.068896554,
-0.009251951,
0.01782638,
0.011540473,
-0.03619478,
-0.025309244,
0.013655851,
-0.04893221,
0.0054427674,
0.030428307,
0.007738817,
0.004505527,
0.009959587,
-0.00415171,
-0.044325054,
0.021304332,
0.03619478,
-0.032761995,
-0.0008492561,
-0.04218709,
0.01075003,
-0.038212292,
0.01583898,
0.012361029,
0.0007052825,
-0.00000557986,
0.019874005,
0.0058831573,
0.0665478,
-0.033002894,
-0.010087564,
0.007298427,
-0.04977535,
-0.030353026,
-0.042548437,
0.00163076,
-0.0061729862,
0.01993423,
-0.0008652532,
0.034598835,
0.04128373,
0.030895045,
-0.011096319,
-0.071185075,
-0.0026065812,
-0.020777369,
0.02100321,
0.018729744,
-0.009673522,
-0.01178137,
0.01571853,
-0.034297716,
-0.035592537,
-0.023171283,
-0.00077821035,
-0.0040425532,
-0.010072507,
-0.048149295,
-0.0056761364,
-0.035592537,
0.004178058,
-0.02949483,
-0.014032252,
-0.017690876,
0.018428624,
0.001172491,
0.04411427,
0.018112445,
-0.006274615,
0.0020476247,
0.015364714,
-0.037700385,
0.0066472525,
-0.0155077465,
0.03369547,
-0.039597448,
0.0068316893,
0.021530172,
-0.026152384,
0.0076221325,
0.010019811,
0.0015931198,
-0.033424463,
-0.0066359607,
0.045649987,
-0.007486628,
-0.015944373,
-0.033153456,
0.012270693,
0.0012157772,
-0.010494077,
-0.04423472,
-0.017359642,
-0.01407742,
0.04032014,
0.016847735,
0.050287254,
0.0045996276,
0.015974484,
-0.0007942074,
0.054533064,
-0.016200325,
0.0017145093,
0.004641032,
0.046011332,
-0.023517573,
-0.05119062,
0.04625223,
0.010238124,
-0.015402354,
0.049112882,
-0.00283054,
0.003498653,
-0.013136417,
0.008137803,
-0.0075167404,
0.03944689,
0.022674434,
0.028245177,
-0.018895362,
-0.009997227,
-0.034418162,
0.027447205,
-0.033424463,
0.0050851856,
0.0017634416,
-0.044867072,
0.027974168,
-0.003009331,
0.0011357919,
0.0063649514,
0.036134556,
0.03622489,
-0.017736044,
-0.017224139,
0.0077990415,
0.04552954,
-0.055918224,
0.002072091,
0.015869092,
0.010268236,
-0.035983995,
-0.044957407,
0.009101391,
0.059622016,
0.0020325687,
0.0021605452,
-0.05375015,
-0.036014106,
0.013332145,
0.006839217,
-0.06582511,
0.025414636,
-0.03691747,
0.036164667,
-0.055195533,
0.014212925,
-0.00231487,
0.025158685,
0.030925157,
0.020250406,
-0.021364555,
0.03149729,
-0.01350529,
-0.04583066,
0.012195412,
0.024225207,
0.011751259,
-0.009056223,
0.024993068,
0.017389754,
0.023502517,
0.023653077,
0.037007805,
-0.021966798,
0.020250406,
0.0090637505,
0.0053900713,
-0.009726218,
0.025068348,
0.016742343,
-0.020054678,
-0.0059810216,
-0.032611437,
0.00048508757,
-0.016787512,
0.023547685,
-0.006816633,
-0.036556125,
0.013384841,
0.00056742545,
0.006349895,
0.030458419,
-0.026182497,
-0.0016928662,
-0.017028408,
0.0024164983,
-0.008589485,
0.029118428,
0.03182852,
0.029539999,
0.027055748,
0.040079243,
0.013588098,
0.009364872,
0.0048292326,
0.056942035,
-0.015929317,
0.0097563295,
-0.020175127,
-0.0059622014,
-0.0034271367,
-0.0061767506,
-0.022584097,
0.039416775,
0.0096358815,
-0.013633266,
0.0008003239,
-0.019798724,
-0.0010256944,
-0.04962479,
-0.015808867,
-0.08112208,
0.020054678,
0.019874005,
-0.006150402,
-0.023050835,
0.016200325,
-0.027266532,
0.032159753,
0.0028888823,
0.055105194,
0.007934546,
0.10822299,
0.034779508,
0.040681485,
-0.00004349203,
0.0060337177,
-0.0355022,
0.029374382,
-0.0014764353,
0.019602995,
-0.015274378,
-0.028636634,
-0.048902098,
0.022945443,
0.030112129,
0.010832839,
-0.043060344,
0.0193621,
-0.017991997,
-0.014642023,
0.010840367,
0.109668374,
0.0021323152,
-0.0031090772,
-0.01988906,
-0.006071358,
-0.070040815,
0.008092634,
0.009026111,
0.038302626,
0.003952217,
-0.019768612,
-0.027838664,
-0.04823963,
0.015537859,
-0.019256707,
-0.045348868,
-0.04878165,
0.049323667,
0.008815326,
0.07040216,
0.027763383,
-0.032882445,
-0.06624668,
0.05673125,
0.0032050598,
0.0073849997,
0.05555688,
0.055195533,
0.03733904,
0.0096961055,
-0.0024052062,
0.02567059,
-0.01878997,
-0.021816237,
0.0064063556,
-0.0043399106,
-0.03110583,
-0.016170213,
-0.023638021,
0.02746226,
-0.014739887,
-0.0111339595,
-0.019076034,
-0.06871588,
-0.052967235,
-0.007949602,
-0.0024786047,
0.016802568,
-0.0417053,
-0.02177107,
-0.0080851065,
-0.04640279,
0.27076825,
0.05992314,
0.065222874,
-0.011465193,
0.006763937,
0.015613139,
-0.009899362,
-0.0299164,
-0.01499584,
-0.01029082,
0.004415191,
-0.025700701,
0.0005302558,
0.036134556,
-0.023412181,
0.049865685,
-0.06163953,
-0.02375847,
-0.0012712964,
-0.044445504,
-0.027989224,
0.0072118547,
0.0058982135,
0.033033006,
0.02651373,
0.016516503,
-0.013038551,
-0.047065258,
0.033996593,
-0.011149016,
0.003959745,
-0.00054813485,
0.016817624,
-0.020762313,
0.015884148,
0.0335148,
-0.00063705974,
-0.046342567,
-0.006346131,
-0.019286819,
-0.0010416915,
0.0090637505,
0.016501447,
-0.010396212,
-0.026077103,
-0.0033556204,
-0.000035022993,
0.03520108,
0.019708388,
-0.1156908,
0.05658069,
-0.05618923,
0.027221365,
-0.000818203,
-0.05513531,
-0.034117043,
-0.023005666,
-0.013332145,
0.028967869,
0.043512028,
0.048631087,
-0.0006036541,
0.0139569715,
0.043632474,
-0.009018582,
0.051250845,
-0.049895797,
0.019738501,
-0.021816237,
-0.01752526,
0.015086177,
-0.02877214,
-0.030624036,
-0.02773327,
0.012353501,
0.04751694,
0.057032373,
0.003496771,
0.008581957,
-0.026829908,
0.010102619,
-0.0075694364,
-0.0019535243,
0.001864129,
-0.021861406,
0.030895045,
-0.021786125,
-0.014626967,
-0.012074964,
0.022659376,
0.01760054,
0.09720195,
-0.022960499,
0.018955585,
0.020671977
] |
torchrun \
--nproc_per_node 8 pytorch/summarization/run_summarization.py \
--fp16 \
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--predict_with_generate
TensorFlow scripts utilize a MirroredStrategy for distributed training, and you don't need to add any additional arguments to the training script. The TensorFlow script will use multiple GPUs by default if they are available.
Run a script on a TPU |
[
0.05048873,
0.006471362,
0.007229975,
-0.00054625486,
0.015528419,
-0.0449042,
0.017522894,
-0.012778891,
0.011860008,
0.039974995,
-0.014616659,
0.002384467,
0.011161941,
-0.009872655,
-0.026782962,
-0.025586275,
0.008205843,
-0.031170808,
-0.040972233,
0.048836164,
-0.0015065415,
0.027794445,
-0.042026456,
-0.010812908,
0.0013899003,
0.028720452,
0.0011192214,
0.04162756,
0.086902164,
0.02728158,
-0.045645002,
-0.0018929712,
0.024332605,
-0.028136356,
0.0028314434,
-0.005684256,
0.032253522,
-0.0034689633,
-0.036014535,
-0.07556214,
0.00042894587,
0.010656199,
0.035872072,
0.0033852665,
-0.02389097,
-0.0003942206,
0.015685128,
0.024247127,
0.019047244,
-0.0091888355,
-0.016710859,
0.013947085,
0.023192905,
-0.004893589,
-0.009694577,
-0.051058583,
-0.030486988,
0.0022099505,
-0.045958422,
0.020158453,
0.012194795,
0.04288123,
-0.02728158,
-0.0680971,
0.032253522,
0.014545428,
-0.0144457035,
0.007343945,
-0.003178696,
-0.016425934,
-0.03969007,
0.018377671,
-0.02712487,
-0.03912022,
-0.033108298,
-0.021483354,
0.048522748,
-0.03584358,
-0.024004942,
0.019759556,
0.017408924,
0.03481785,
0.0060332892,
-0.0011842201,
-0.038293935,
-0.05385085,
0.050745163,
-0.0081702275,
-0.016981537,
0.025230119,
0.006246983,
0.0016766062,
-0.012821631,
-0.0071088816,
0.026725976,
0.036584385,
0.018961767,
0.018862043,
-0.016027037,
0.0050360514,
0.05863759,
0.0715162,
-0.009374036,
0.020258175,
-0.05140049,
0.025942432,
0.07271289,
-0.030714927,
-0.011945485,
-0.017807819,
0.0010168265,
-0.0004249391,
0.022295391,
-0.0066458783,
0.031968597,
0.012038087,
-0.00913185,
0.03134176,
-0.039006248,
-0.023563307,
-0.0032962274,
0.013291757,
0.032566942,
-0.04886466,
-0.019617094,
-0.038464893,
-0.014858845,
0.07390957,
-0.025828462,
0.008647477,
-0.009025003,
0.015186509,
0.00090419204,
0.03268091,
0.0057875416,
-0.020742549,
-0.019517371,
-0.0012420955,
0.06718534,
-0.035900563,
0.014987061,
-0.0464143,
-0.039319668,
0.08086175,
0.018562872,
0.019260937,
-0.0057554874,
-0.014217763,
-0.023221398,
0.046328824,
-0.025401074,
0.016867567,
-0.0051037213,
0.011026602,
-0.005573848,
-0.02530135,
-0.032737896,
0.019018753,
0.012130687,
0.036897805,
0.016084023,
0.0020033796,
-0.019203953,
0.040345397,
0.005613025,
0.068439014,
-0.055645876,
-0.027979646,
-0.047924403,
-0.013804622,
-0.0033033506,
-0.011361389,
0.013690652,
0.014374472,
0.03470388,
0.029062362,
0.008747201,
-0.0077214707,
0.014987061,
0.027822938,
-0.019588603,
-0.010798662,
-0.00016594662,
0.015058292,
0.01088414,
0.0013542847,
0.0067847795,
-0.0070376503,
-0.034903325,
-0.03709725,
0.019773804,
0.05037476,
-0.06057508,
0.015186509,
-0.0047333185,
-0.0010123745,
-0.026626252,
-0.020899257,
-0.025928186,
-0.039832532,
-0.023463583,
0.063424334,
-0.022737024,
-0.026882686,
-0.05875156,
-0.011119203,
-0.0005440289,
0.057098992,
0.005249745,
0.0020621456,
0.053224012,
-0.0015305821,
-0.031256285,
0.009516499,
0.04151359,
-0.0076573626,
-0.032339,
-0.001894752,
-0.006225614,
-0.023620293,
-0.034532923,
0.014196394,
0.029660705,
-0.009331298,
0.027879924,
0.0075647617,
-0.01227315,
0.028976884,
-0.006642317,
0.046328824,
0.040772785,
0.036698356,
0.004134976,
0.07208605,
0.023007704,
0.034988806,
0.05615874,
-0.0029329478,
-0.02511615,
-0.0012919573,
-0.037467655,
0.03632795,
0.030572465,
0.017323447,
0.019930512,
0.07510626,
-0.003700465,
0.017408924,
-0.0019659833,
0.024403837,
-0.03493182,
0.04558802,
0.007792702,
0.0012732592,
-0.04729757,
-0.040231425,
0.013690652,
0.047440033,
-0.003657726,
-0.026270095,
-0.01910423,
0.022152929,
0.0003454717,
-0.0001183107,
0.050118327,
0.07527722,
-0.022366622,
0.0028314434,
-0.03231051,
-0.014616659,
-0.014360226,
-0.026070649,
-0.07373862,
-0.050317775,
-0.033136792,
0.009616223,
0.0011815488,
-0.023192905,
-0.0003163114,
-0.019303678,
-0.0071302513,
0.014816106,
-0.0069771037,
0.04231138,
0.0025856954,
0.020913504,
-0.03610001,
0.020400638,
-0.041684546,
0.031626686,
-0.060632065,
-0.020386392,
-0.010043611,
-0.021340892,
0.015528419,
0.012116441,
-0.002245566,
-0.012650675,
-0.025016425,
0.0026391188,
-0.015471434,
0.004793865,
0.011418374,
-0.010378397,
-0.020201191,
0.032282017,
0.028991131,
-0.016254978,
0.048038375,
-0.0015590746,
-0.018819304,
0.043593545,
-0.0016285251,
0.031940106,
-0.029917138,
0.031626686,
0.020058729,
-0.018363424,
-0.012764646,
-0.011838638,
-0.066672474,
-0.003021987,
-0.00016694832,
-0.039804038,
-0.006054659,
0.031712167,
0.007165867,
-0.08462276,
0.012294519,
-0.035558656,
0.006161506,
-0.015528419,
0.014467073,
0.022694286,
-0.006852449,
0.026298588,
-0.060062215,
0.023634538,
-0.042339873,
0.017936036,
0.017323447,
-0.027367057,
-0.03937665,
0.025742985,
-0.020172698,
-0.004131414,
0.053224012,
-0.01871958,
0.000036700803,
0.005855211,
0.030116584,
-0.0030914375,
0.027409796,
0.023520568,
-0.00015459413,
0.00972307,
-0.013462712,
0.028407034,
0.024475068,
-0.015286232,
0.0037538884,
0.014367349,
0.011810146,
-0.001785234,
-0.0008204953,
-0.0028795244,
0.021882249,
0.012878615,
0.025201626,
-0.035986044,
0.036698356,
0.018648349,
-0.044562288,
0.0010934002,
0.018477393,
-0.016340455,
0.044875707,
0.02218142,
0.040088963,
0.02750952,
-0.010207443,
0.0052070064,
-0.023150166,
0.037923533,
0.018805059,
0.040658813,
0.030771913,
-0.0075006536,
-0.0022366622,
-0.007254906,
-0.012038087,
-0.0036114259,
-0.009644715,
-0.011852885,
-0.02971769,
-0.06940776,
0.021796772,
0.059492365,
0.03949062,
0.0046442794,
0.032509957,
-0.06057508,
0.02206745,
0.046471287,
0.01842041,
0.0071907975,
-0.062797494,
0.06547579,
0.023677276,
0.017166737,
-0.04923506,
-0.02165431,
-0.011033725,
0.017252216,
-0.01327751,
0.0044982554,
-0.0486937,
-0.013833115,
0.011119203,
0.03131327,
0.0067990255,
0.0030415757,
0.0026818577,
0.0005787542,
0.017964529,
0.0065247854,
0.020044481,
-0.05840965,
0.033136792,
0.0077784555,
0.0017122219,
-0.02024393,
-0.05362291,
-0.04889315,
-0.061885737,
0.060973976,
0.023919463,
0.0020550224,
0.0077143474,
-0.03515976,
0.027737461,
0.0055631627,
0.03185463,
-0.0023025512,
-0.0009598415,
-0.02404768,
0.04775345,
0.010983863,
-0.006296845,
-0.057184473,
0.043251634,
-0.020870766,
0.042453844,
-0.03165518,
-0.0001579331,
-0.0153859565,
-0.009801424,
0.0407158,
0.03607152,
0.035587147,
-0.009808547,
-0.024375344,
0.0033175969,
-0.04105771,
-0.06034714,
0.05191336,
-0.012515335,
0.015699374,
0.034191012,
-0.024304112,
-0.018562872,
0.019346416,
0.01906149,
-0.029888645,
-0.018947521,
0.02099898,
0.0028973322,
-0.014039685,
-0.04276726,
0.0017567414,
0.0010506613,
0.030942868,
-0.004149222,
-0.012102194,
0.0005507068,
-0.044875707,
0.00046701008,
0.04219741,
-0.0536514,
-0.004263192,
0.0060582203,
-0.001760303,
0.003864297,
-0.020842273,
-0.036926296,
-0.02111295,
-0.014410088,
0.0014166121,
0.03553016,
-0.015770605,
0.041940976,
-0.028207587,
-0.03402006,
0.04664224,
-0.047497015,
0.0028492513,
-0.056073263,
-0.011275912,
0.033336237,
0.014374472,
-0.017138246,
0.009416775,
-0.04661375,
-0.014011193,
0.009238697,
0.008049134,
0.0025358335,
-0.026099142,
-0.01644018,
0.03085739,
0.018121237,
-0.03800901,
-0.0038464891,
0.030430002,
0.006100959,
-0.03763861,
0.027936907,
-0.05311004,
-0.040915247,
-0.04151359,
0.04877918,
-0.013512574,
-0.025044918,
-0.0150298,
-0.037496146,
-0.019132722,
0.013719144,
-0.0021583077,
-0.0528821,
0.022922225,
-0.031569704,
-0.012942724,
-0.035444684,
-0.031968597,
-0.028620727,
0.007579008,
-0.0071694283,
0.027267333,
0.008063381,
0.0346184,
0.0161695,
0.015314725,
-0.0013436,
0.0155426655,
-0.03496031,
-0.044305857,
-0.0032410233,
0.00025865858,
0.009295682,
0.031940106,
-0.025059164,
0.021583078,
-0.010243058,
0.0056059016,
-0.020714056,
-0.035815086,
-0.05367989,
-0.022580316,
0.009623346,
-0.043764498,
0.00028069576,
0.004523186,
-0.011261665,
0.024489313,
0.012337257,
0.0010346343,
0.048722196,
-0.029632213,
-0.064564034,
0.032367494,
-0.03798052,
-0.002288305,
-0.032367494,
-0.008049134,
0.025443813,
-0.045673497,
0.020158453,
0.083540045,
-0.00081515295,
0.019574355,
-0.062170662,
-0.00193571,
0.009488006,
-0.043166157,
-0.0030166446,
-0.026469544,
-0.05080215,
0.012757522,
-0.028549496,
-0.039832532,
-0.037382174,
0.037952024,
0.03288036,
-0.016084023,
0.03912022,
-0.0038749815,
-0.034105536,
-0.015044047,
0.01814973,
0.003504579,
0.030572465,
0.0032623927,
0.029974122,
0.022152929,
0.010449628,
-0.06382322,
-0.019916266,
0.02644105,
0.047354553,
0.001045319,
-0.03379212,
0.04162756,
0.038436398,
-0.01632621,
-0.100920476,
0.0030949991,
0.010022241,
-0.011774531,
-0.024332605,
-0.017323447,
0.032937344,
-0.05399331,
0.041684546,
0.021981973,
-0.0061971215,
-0.0031430803,
0.0039675822,
-0.008854048,
-0.05048873,
-0.0022063889,
0.034475937,
-0.026683237,
-0.021981973,
-0.053024564,
0.0065212236,
-0.04174153,
0.019902019,
0.024104664,
-0.019916266,
0.025443813,
-0.004957697,
-0.0039747055,
0.08878267,
0.00405306,
-0.00014513373,
0.0007145388,
-0.034333475,
-0.042596307,
-0.025785724,
0.04117168,
0.016468672,
0.026270095,
0.011781653,
0.012672044,
0.022566069,
0.00028915447,
0.0013943523,
-0.04493269,
0.009146096,
-0.03969007,
0.003700465,
0.0047368803,
-0.034874834,
0.004704826,
-0.0035330714,
0.0036292337,
-0.01757988,
0.0042418228,
0.02012996,
0.009758686,
-0.027794445,
-0.060176186,
-0.049548477,
-0.037154235,
-0.006133013,
-0.036897805,
-0.006510539,
0.012878615,
0.05262567,
-0.038464893,
0.015984299,
-0.02275127,
0.031227794,
0.006054659,
-0.0025269296,
-0.011069341,
-0.011311527,
0.00057207624,
0.023976449,
-0.046100885,
0.0051001594,
0.0452746,
-0.075790085,
-0.004092237,
0.0033389663,
0.021640062,
-0.03530222,
0.039063234,
0.036128506,
-0.01708126,
-0.003374582,
-0.05080215,
0.030543972,
-0.026925424,
-0.01967408,
-0.029860152,
-0.00056539825,
0.0070376503,
0.042140424,
0.023549061,
0.047240585,
0.03131327,
0.002794047,
-0.03211106,
0.045730483,
0.01678209,
0.024802731,
0.011382759,
0.028820176,
-0.0033389663,
-0.030316032,
0.054705624,
0.0357581,
-0.0016970852,
0.0116463145,
-0.024816977,
-0.010926878,
-0.039063234,
0.0022491277,
-0.020557348,
0.03513127,
0.030316032,
0.0018235208,
-0.034447446,
-0.020201191,
-0.043080676,
-0.018448902,
-0.04367902,
-0.016810581,
-0.004722634,
-0.04877918,
0.027224595,
0.009317052,
-0.01842041,
-0.010755924,
0.042453844,
0.045388572,
-0.027865676,
0.008896787,
0.0064820466,
0.021511847,
-0.07567611,
0.01052086,
0.027324319,
0.014353103,
-0.03134176,
-0.038436398,
0.026740223,
0.0844518,
0.031940106,
-0.02960372,
-0.04969094,
-0.028976884,
0.01757988,
0.009758686,
-0.04014595,
0.036812324,
-0.030914376,
0.029019624,
0.009103358,
0.015215001,
0.029261809,
0.03154121,
0.01765111,
0.020471869,
-0.009074865,
0.007899549,
0.0152292475,
0.003160888,
0.0182637,
0.049605463,
0.017337693,
-0.014531181,
-0.008996511,
-0.021739786,
0.05117255,
0.03242448,
0.01432461,
-0.020500362,
0.029318795,
0.020828025,
0.0022580316,
0.008569123,
0.047041137,
0.0056237094,
-0.020742549,
-0.02393371,
-0.007180113,
-0.012030963,
-0.009324174,
-0.008740078,
-0.0064962925,
-0.021283906,
0.0025767914,
-0.015856083,
-0.028207587,
0.018135484,
-0.03085739,
-0.033393223,
0.011810146,
-0.0026533653,
0.029689196,
0.046357315,
0.0024325482,
0.018662596,
0.03627097,
0.050773654,
0.034219507,
0.009473761,
0.014516935,
0.05080215,
-0.029233318,
0.022209913,
-0.029090855,
-0.026725976,
-0.025899693,
-0.0039319666,
-0.079608075,
0.054962054,
-0.012657798,
-0.031940106,
0.029546734,
-0.0173092,
-0.017679604,
-0.07214304,
0.016796336,
-0.01906149,
0.022623055,
0.031455733,
0.003004179,
-0.028506758,
0.04356505,
0.012209041,
0.0067171096,
0.031826135,
0.050973102,
-0.0062149293,
0.058694575,
0.024603283,
0.008070504,
-0.0022562507,
0.019018753,
-0.031712167,
-0.015243494,
0.019218199,
0.0009714166,
0.0054028924,
0.0028813053,
-0.032538448,
0.032054074,
0.03028754,
0.021127198,
-0.040117458,
0.010328536,
-0.000594336,
-0.026982408,
-0.020072974,
0.08291321,
0.016725104,
-0.00193571,
-0.007251344,
-0.0032214345,
-0.04949149,
0.01757988,
-0.019830788,
0.041143186,
-0.038094487,
-0.016824828,
-0.037040267,
-0.042482335,
-0.0063431454,
0.009195958,
-0.025158888,
-0.03165518,
0.04892164,
0.04060183,
0.0555604,
0.03632795,
-0.023221398,
-0.04242535,
0.06883791,
0.02876319,
-0.012607937,
0.035473175,
0.024816977,
0.026284343,
-0.03165518,
-0.0063004065,
0.00030607192,
-0.001307094,
-0.030800406,
-0.00007167648,
0.011632068,
-0.03151272,
-0.054734115,
0.040373888,
-0.017978774,
-0.005456316,
-0.020471869,
-0.04618636,
-0.0277802,
-0.08462276,
0.0025536413,
-0.0153859565,
0.044277363,
-0.037268206,
-0.043764498,
-0.013647913,
-0.049776416,
0.24093267,
0.067869164,
0.06313941,
0.007849687,
0.029888645,
-0.015186509,
0.013811745,
-0.07043349,
-0.011133449,
-0.032054074,
0.0026355574,
-0.022480592,
-0.019759556,
0.06382322,
-0.018391917,
0.040943738,
-0.05932141,
-0.012750399,
-0.0028207586,
-0.028478265,
-0.08707312,
0.028521005,
-0.0018101649,
0.05000436,
-0.0055168625,
0.01548568,
0.033706643,
-0.043963946,
0.0014362007,
-0.028734699,
0.002329263,
-0.03336473,
0.022708531,
-0.027808692,
-0.02495944,
0.022081697,
0.005050298,
-0.06171478,
0.0016222924,
-0.037154235,
-0.051685415,
0.012835877,
0.0071907975,
-0.016297717,
-0.0077214707,
0.040202934,
0.00064019114,
0.04139962,
0.036242474,
-0.08769995,
0.012664922,
-0.03154121,
0.012294519,
-0.021868004,
-0.083084166,
-0.042710274,
0.009879778,
-0.018277947,
0.0056094634,
0.027082132,
0.014972815,
-0.008861171,
0.03641343,
0.061429854,
-0.026227357,
0.031712167,
-0.03698328,
0.042567812,
-0.040972233,
-0.028435526,
0.011233172,
-0.010855647,
-0.023221398,
-0.004565925,
0.0074294223,
0.020286668,
0.04390696,
0.003258831,
-0.012486843,
-0.039547607,
0.020913504,
-0.0142605025,
-0.01250109,
0.0055346703,
0.014381595,
0.023833986,
-0.03664137,
0.014673644,
-0.00997238,
0.025913939,
0.035330713,
0.023549061,
0.0035847141,
0.017522894,
0.03382061
] | python xla_spawn.py --num_cores 8 \
summarization/run_summarization.py \
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--predict_with_generate |
[
0.05603788,
-0.0035757704,
-0.031374503,
0.032772653,
-0.010730807,
-0.0032279806,
0.0029064058,
-0.004365726,
0.013331368,
0.0334158,
-0.018120034,
0.015938919,
-0.0057918397,
-0.021671336,
-0.03800174,
-0.020007538,
0.0004301498,
-0.04840398,
-0.0433986,
0.028718017,
0.005298991,
0.039539702,
-0.07538829,
-0.012052059,
-0.008472794,
0.000588971,
0.019937629,
0.03182191,
0.07505273,
0.025711993,
-0.03422673,
-0.005036838,
-0.0060784603,
-0.05016565,
0.010339324,
-0.012219838,
0.032045614,
0.008843304,
-0.060623817,
-0.063755676,
-0.024901064,
0.019336425,
0.027767275,
0.01326146,
-0.032940432,
-0.024845138,
-0.010276408,
0.008193163,
0.018483553,
-0.010451177,
-0.003960262,
0.023139395,
0.02392236,
0.00769682,
0.0018018668,
-0.025222639,
-0.04496453,
-0.012003124,
-0.026313197,
0.009905898,
0.008305015,
0.038924515,
-0.012688218,
-0.094459064,
0.041497115,
-0.0024642406,
-0.0032437097,
-0.013764794,
-0.010604973,
-0.02039902,
-0.053017877,
0.020329112,
-0.028144775,
-0.03126265,
-0.055003252,
0.02206282,
0.062916785,
-0.014988176,
-0.019350406,
0.02922135,
0.011695531,
0.0530738,
-0.00140252,
0.004079105,
-0.042531747,
-0.050445277,
0.058666404,
0.00010595361,
-0.019630037,
-0.0044740825,
-0.012436551,
-0.0015947657,
-0.045495827,
-0.018665312,
0.0098989075,
0.014596694,
-0.0010459916,
0.009863953,
0.01735105,
0.020371057,
0.070354946,
0.06297271,
-0.016470216,
0.04127341,
-0.032437097,
0.034254692,
0.0694042,
-0.03495377,
-0.029556906,
-0.015169935,
-0.0039357943,
0.000712183,
0.03870081,
-0.019406332,
0.003051464,
0.008892239,
0.0077877,
-0.005704455,
-0.041357297,
-0.019462258,
-0.0025760927,
-0.034618214,
0.030563576,
-0.031178761,
0.010786733,
-0.04311897,
-0.019280499,
0.045859344,
-0.015827067,
0.0038623915,
-0.01937837,
0.007011726,
0.010653908,
0.018483553,
0.011730485,
-0.015561418,
-0.02281782,
0.0016148641,
0.037722107,
-0.020804483,
0.0033800295,
-0.0380297,
-0.04267156,
0.088530906,
0.015938919,
0.024355786,
-0.010073676,
-0.022174671,
-0.0077038105,
0.038085625,
-0.02402023,
0.015743177,
-0.028829869,
0.025208658,
-0.00380297,
-0.03014413,
-0.013184561,
0.024341805,
0.0014829136,
0.042839337,
-0.00015237658,
0.01817596,
-0.020007538,
0.049969908,
0.029640796,
0.07220051,
-0.045495827,
-0.039623592,
-0.040826,
-0.03710692,
-0.016763827,
-0.018469572,
0.020385038,
0.0082840435,
0.04015489,
0.031765986,
0.007522051,
-0.0036037336,
0.0077317734,
0.016763827,
-0.002922135,
-0.0030479687,
0.001363197,
0.006781031,
-0.012324699,
-0.004991398,
0.013044747,
0.011576688,
-0.03431062,
-0.0068963785,
0.011989143,
0.024257915,
-0.044936564,
-0.0028854336,
-0.009122933,
-0.020944297,
-0.008500757,
-0.02311143,
-0.0025254097,
-0.04155304,
-0.021419669,
0.05287806,
-0.041581005,
-0.015617344,
-0.021853097,
-0.01252743,
0.0054597785,
0.06890087,
0.03570877,
0.011926225,
0.041581005,
0.0131146535,
0.0011158991,
0.01669392,
0.033639506,
-0.018525498,
-0.0254044,
-0.022398375,
-0.013890628,
-0.026397087,
-0.009514416,
0.02225856,
0.0072144577,
-0.01865133,
0.03042376,
-0.01326845,
-0.020301148,
0.042280078,
-0.017770495,
0.031514317,
0.034506362,
0.040826,
0.030088205,
0.078296445,
0.034618214,
0.03948378,
0.027473662,
-0.002036057,
0.01038826,
-0.01521188,
-0.03179395,
0.00547376,
0.0143869715,
0.017379014,
-0.004638365,
0.046166938,
-0.007661866,
0.011604651,
-0.0006606262,
0.049830094,
-0.05223491,
0.044321377,
-0.0075849677,
0.01659605,
-0.06632827,
-0.042028412,
0.016218549,
0.03014413,
0.0028697045,
-0.03554099,
-0.020552816,
0.030116167,
-0.004239892,
-0.0022615087,
0.068844944,
0.035960436,
-0.010961502,
0.024537545,
-0.005879224,
-0.011604651,
-0.011891272,
-0.025488287,
-0.076115325,
-0.05480751,
-0.04767694,
-0.011325021,
-0.0005212481,
-0.032520987,
-0.0056625106,
-0.045971196,
0.0005037712,
0.03126265,
-0.00797645,
0.048012495,
0.0016786547,
0.02123791,
-0.024551528,
0.014310073,
-0.024062173,
0.0041909567,
-0.05100454,
-0.027040236,
-0.032437097,
-0.018707257,
0.005697464,
0.0077038105,
-0.0001882042,
-0.0016035042,
-0.018861054,
0.0056450334,
-0.0076758475,
-0.0032157467,
0.024453657,
-0.009815019,
-0.024369767,
0.0380297,
0.04320286,
-0.01901485,
0.047732867,
0.0058093164,
-0.013499145,
0.040965818,
0.0059211683,
0.025306528,
-0.051899355,
0.026201345,
0.030311909,
-0.022552172,
-0.019769851,
-0.01707142,
-0.08690905,
-0.012911922,
-0.006861425,
-0.033751357,
0.018078089,
0.030255983,
0.02385245,
-0.07203273,
0.01149979,
-0.040881928,
0.007319319,
-0.026760606,
0.017253181,
0.037526365,
0.0011700774,
0.009032054,
-0.062357523,
0.011996133,
-0.008472794,
0.00040240525,
0.02199291,
-0.023083469,
-0.028326534,
0.039008405,
-0.022971617,
0.0049005183,
0.052850097,
-0.033975065,
-0.015141972,
-0.0006610631,
0.030815242,
0.013792757,
0.046083048,
0.046726197,
0.027319865,
-0.0017756515,
-0.0059631127,
0.030591538,
0.016162623,
0.0061169094,
-0.009773074,
0.027627459,
0.046502493,
-0.010430205,
-0.01771457,
0.010339324,
0.01974189,
0.0068369573,
0.04462897,
-0.060959373,
0.045216195,
-0.005110241,
-0.005288505,
0.0010005516,
0.024523564,
-0.0008310258,
0.04644657,
0.0426436,
0.027291903,
0.016022807,
-0.026369123,
0.00030497162,
-0.025068844,
0.04778879,
0.034674138,
0.03355562,
0.031458393,
0.0048201247,
0.011297058,
-0.01112928,
-0.017910311,
0.015603363,
-0.0008716596,
-0.016484197,
-0.01985374,
-0.068844944,
0.032520987,
0.062749006,
0.043370634,
0.01001775,
0.023055505,
-0.035820622,
0.06705531,
0.055506583,
0.0074032084,
-0.021377726,
-0.029556906,
0.06822976,
0.015058083,
0.020468926,
-0.039371926,
-0.043426562,
-0.018875035,
-0.0099128885,
-0.021559484,
0.021545503,
-0.024229953,
-0.0062392475,
0.017476885,
0.025809864,
0.0075849677,
-0.02161541,
-0.030311909,
-0.004117554,
0.022691987,
0.035121545,
-0.0037540346,
-0.051144354,
0.07029902,
0.022580134,
-0.0013666924,
-0.035009693,
-0.01707142,
-0.042447858,
-0.059673075,
0.058666404,
0.0334158,
-0.011094326,
-0.009514416,
-0.052654356,
0.016749846,
0.007071147,
0.017854385,
-0.017868366,
-0.024887083,
-0.03405895,
0.023698656,
-0.0011193944,
0.008109274,
-0.03330395,
0.025334492,
-0.02579588,
0.028508294,
-0.027851162,
-0.007134064,
-0.01465262,
-0.010185529,
0.038728777,
0.046866015,
0.050473243,
-0.01094752,
-0.0057778577,
0.008654553,
-0.034841917,
-0.057939366,
0.040965818,
0.003343328,
0.021923004,
0.028550237,
-0.022915691,
-0.015086046,
0.023391062,
0.02848033,
-0.028130792,
-0.021279855,
-0.012094004,
-0.01586901,
-0.01669392,
-0.019602073,
-0.008633581,
0.0050508194,
0.027152088,
0.008570664,
-0.0030462209,
0.0047991523,
-0.046642307,
0.004180471,
0.03554099,
-0.03719081,
0.009968814,
0.008584646,
-0.0011962927,
0.03246506,
-0.025446344,
-0.03322006,
-0.018511515,
-0.0070641567,
0.021839114,
0.032325245,
-0.020818464,
0.036491733,
-0.03349969,
-0.02800496,
0.043762118,
-0.05036139,
0.011709512,
-0.062021967,
-0.004414661,
0.020706613,
0.0035023675,
-0.012981829,
0.00024839022,
-0.04571953,
-0.014219193,
0.02772533,
0.012066041,
-0.0023244256,
-0.037246738,
-0.011073354,
0.03738655,
-0.0023768563,
-0.039008405,
-0.0030829224,
0.0033887678,
0.025586158,
-0.028088849,
0.02347495,
-0.03366747,
-0.044573046,
-0.05749196,
0.06414716,
-0.011339002,
-0.027096162,
-0.03411488,
-0.038477108,
-0.026494958,
0.0124715045,
0.004519522,
-0.026047548,
0.017281143,
-0.039763406,
0.015072065,
-0.063084565,
-0.0042154244,
-0.007941497,
-0.0036247058,
-0.033443768,
0.040686186,
0.017504847,
0.032157466,
0.014121323,
0.011010437,
0.0011543483,
0.020385038,
-0.032688763,
-0.04552379,
0.014170257,
0.00273688,
0.010744789,
0.010926548,
-0.011415901,
-0.0044391286,
-0.018483553,
0.005099755,
-0.057939366,
-0.0359884,
-0.057156403,
-0.033919137,
0.027879126,
-0.029780611,
-0.01603679,
0.0036526688,
0.003096904,
0.003960262,
0.00009541286,
0.015841048,
0.020678649,
-0.019182628,
-0.045328047,
0.030591538,
-0.03238117,
-0.013953544,
-0.026970329,
-0.0025533729,
0.0007217953,
-0.059505295,
0.036939144,
0.07220051,
-0.019028831,
0.019126702,
-0.058274925,
0.0068998737,
0.016078733,
-0.030116167,
-0.045915272,
-0.058218997,
-0.03819748,
0.026466994,
-0.019238554,
-0.04787268,
-0.047816757,
0.015225861,
0.010444186,
-0.013764794,
0.03431062,
0.013205534,
-0.0311508,
-0.050668985,
0.02271995,
0.014792435,
0.012492477,
0.005767372,
0.027417736,
-0.0038728775,
0.011702522,
-0.059729,
-0.019532166,
0.011905254,
0.064538635,
0.0013247478,
-0.047621015,
0.018427627,
0.052542504,
-0.036575623,
-0.09306091,
0.0046523465,
-0.015743177,
-0.0070152213,
-0.017043458,
-0.044936564,
0.038449146,
-0.053185653,
0.05408047,
0.036743402,
-0.028354498,
-0.0022073304,
0.022482265,
0.031318575,
-0.06778235,
0.0012216342,
0.032045614,
-0.03014413,
0.004606907,
-0.044684898,
-0.009423536,
-0.03554099,
0.013750813,
0.024257915,
-0.032437097,
-0.0049983887,
0.015757158,
0.019182628,
0.06806198,
-0.009395573,
0.006410521,
0.018483553,
-0.025991622,
-0.019070776,
-0.026397087,
0.0150301205,
0.023726618,
0.036799327,
0.0030374825,
0.03403099,
0.027683385,
0.043678228,
0.0071550366,
-0.0454399,
-0.0074521434,
-0.033024322,
0.011234141,
0.016008826,
0.01307271,
-0.0037540346,
0.0143590085,
-0.014624657,
-0.059561223,
-0.02021726,
0.026774587,
0.00936761,
-0.007522051,
-0.06890087,
-0.015323732,
-0.03274469,
-0.024565509,
-0.033751357,
0.0018280821,
0.016847717,
0.048376016,
-0.03998711,
0.039120257,
0.005267533,
0.021084113,
0.022622079,
0.010101639,
-0.038644888,
0.018902998,
-0.00052474346,
0.034925807,
-0.029053573,
0.006008553,
0.048012495,
-0.05416436,
0.00067854003,
-0.0011910497,
0.0018438112,
-0.047816757,
0.05788344,
0.018203923,
0.018147998,
0.0063580903,
-0.045803417,
0.012918913,
-0.008416868,
-0.048012495,
-0.030228019,
-0.035317287,
-0.0006824723,
0.04255971,
0.012716181,
0.02801894,
0.04655842,
0.0014365999,
-0.016931605,
0.032940432,
0.01307271,
0.020734575,
0.0018508021,
0.017239198,
-0.0034010017,
-0.026327178,
0.06073567,
0.012024096,
-0.011660577,
0.026285235,
-0.0085986275,
-0.026928384,
-0.024621435,
0.006917351,
0.0006317894,
0.027194032,
0.030843206,
-0.006637721,
-0.0261594,
-0.034450434,
-0.008039366,
-0.023446988,
-0.037246738,
-0.00834696,
0.021014206,
-0.04759305,
0.012883959,
0.016484197,
-0.008703488,
0.017546792,
0.028620146,
0.015183917,
-0.016987532,
-0.0039462806,
0.014568731,
0.042224154,
-0.07779311,
-0.0043167905,
0.0023034534,
0.03238117,
-0.03033987,
-0.019070776,
0.027683385,
0.07522051,
0.026858475,
-0.008689507,
-0.061127152,
-0.043622304,
0.008207145,
-0.0075849677,
-0.024118101,
0.054863434,
-0.02505486,
0.01289095,
-0.02225856,
0.02049689,
0.0092837205,
-0.001200662,
0.027809218,
0.013366321,
-0.017826421,
0.01289095,
-0.0033066266,
-0.008780386,
0.025530232,
0.020720594,
0.034758028,
-0.0041035726,
-0.028536256,
-0.0035146014,
0.03948378,
0.025558196,
0.023307173,
-0.048348054,
0.034478396,
0.0030986515,
-0.0043097995,
0.009514416,
0.059784926,
-0.0065817945,
0.0016900147,
0.011583679,
-0.012128958,
-0.02874598,
-0.019070776,
-0.016554104,
0.013156598,
-0.013387294,
0.0058023254,
-0.022608098,
0.0070606614,
0.02273393,
-0.009423536,
-0.020916335,
0.019685963,
-0.0061169094,
0.0018193437,
0.018861054,
0.018064108,
0.0026687202,
0.022104762,
0.030395797,
0.026075512,
0.019560128,
0.021573465,
0.04832009,
-0.03766618,
0.018357718,
-0.03635192,
-0.045104343,
-0.0011167729,
-0.001161339,
-0.051451948,
0.03489784,
0.02383847,
-0.02727792,
0.019713925,
-0.030759316,
-0.022146707,
-0.0508088,
0.015100028,
-0.03078728,
0.01930846,
0.011877291,
-0.01677781,
-0.027138107,
0.037134882,
0.005732418,
0.001284551,
0.032241356,
0.064035304,
0.022664024,
0.09859759,
0.05019361,
0.051619727,
0.0019154665,
0.023950322,
-0.024873102,
0.012562385,
0.018064108,
0.00741719,
0.039288037,
-0.0029885473,
-0.050668985,
0.03870081,
0.03719081,
0.026844494,
-0.034422472,
0.025250603,
0.0089971,
0.003208756,
0.0036841272,
0.09938055,
0.009933861,
-0.019630037,
-0.006148368,
-0.020454945,
-0.06621642,
0.010045713,
-0.01149979,
0.02355884,
-0.027529588,
-0.02624329,
-0.018791147,
-0.04488064,
0.0024589975,
-0.0062811924,
0.0028819381,
-0.04703379,
0.050529167,
0.018958924,
0.047481198,
0.0040091975,
-0.018819109,
-0.023684673,
0.053744916,
0.049746204,
0.009025063,
0.0696279,
0.016889662,
0.020944297,
-0.014610675,
0.0034394509,
-0.01177942,
-0.011436873,
-0.02385245,
0.020902354,
0.012087014,
-0.042699523,
-0.041133594,
-0.008416868,
-0.0015912703,
-0.009046035,
-0.014114331,
-0.051228244,
-0.07113791,
-0.07387829,
0.0029203873,
0.006473438,
0.032856543,
-0.051228244,
-0.012492477,
-0.02318134,
-0.041581005,
0.22996783,
0.08154015,
0.058554552,
0.0039008406,
0.007808672,
-0.005697464,
0.008235108,
-0.039819334,
-0.006270706,
-0.031010984,
0.027599495,
-0.026425049,
-0.015309751,
0.046250828,
-0.030283945,
0.031933762,
-0.04026674,
-0.008102284,
0.0015869011,
-0.004942463,
-0.07253606,
0.010024741,
-0.019881703,
0.025292547,
0.012261782,
0.0076478845,
0.014904287,
-0.0274457,
-0.00066630624,
-0.009011081,
-0.0054877414,
-0.03422673,
0.020832445,
-0.005015866,
-0.034003027,
0.0023069486,
0.011178215,
-0.063084565,
0.0071095964,
-0.04683805,
-0.030843206,
0.01930846,
0.0008838934,
-0.024146063,
-0.014296091,
0.02772533,
0.0062846877,
0.017365033,
0.059393443,
-0.09686388,
0.031402465,
-0.02225856,
0.014918269,
-0.036156178,
-0.081652,
-0.035233397,
0.0033625525,
-0.0331921,
0.013317386,
0.019518184,
0.022775875,
-0.021279855,
0.02848033,
0.015910955,
-0.041497115,
0.049690276,
-0.04552379,
0.016134659,
-0.025474306,
-0.0065887854,
0.010185529,
-0.025921715,
-0.035485066,
-0.024118101,
0.0028976675,
0.062749006,
0.033723395,
0.033975065,
0.0017433192,
-0.03431062,
0.023027543,
0.008465802,
-0.004509036,
0.008360942,
0.012925903,
0.04804046,
-0.032800615,
0.018008182,
-0.023167359,
0.024076156,
0.045244157,
0.032772653,
-0.0045649623,
0.009255758,
0.019881703
] | python run_summarization.py \
--tpu name_of_tpu_resource \
--model_name_or_path google-t5/t5-small \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size 8 \
--per_device_eval_batch_size 16 \
--num_train_epochs 3 \
--do_train \
--do_eval |
[
0.032397788,
0.014697194,
-0.03612423,
0.034400057,
-0.040045336,
-0.009330007,
-0.0015999016,
-0.025028335,
-0.020676186,
0.06101352,
-0.0071539325,
0.052754167,
0.037097555,
-0.021691224,
-0.017756213,
0.014961382,
0.03128542,
-0.035428997,
-0.040017527,
-0.013251113,
-0.005023048,
0.010435426,
-0.073583305,
-0.011283608,
-0.015281189,
0.014460816,
-0.017478121,
-0.030284286,
0.0516418,
0.04026781,
-0.023095591,
0.011888459,
-0.0027635454,
-0.048749633,
-0.017158315,
-0.012375121,
0.005885135,
0.012291693,
-0.058566306,
-0.037904024,
0.032425597,
-0.007515453,
-0.0065038907,
-0.008843345,
-0.064461865,
0.02765631,
0.011575605,
-0.013292827,
-0.04060152,
-0.010595328,
0.0192162,
0.037403457,
0.016268417,
-0.021454845,
-0.06101352,
-0.018395826,
-0.001344404,
-0.018979821,
0.008273255,
0.0068445546,
-0.008898963,
-0.032481216,
-0.0195221,
-0.04544033,
0.021871984,
0.008600014,
-0.0091631515,
-0.018312398,
-0.0068619354,
-0.008252398,
-0.04930582,
0.029644672,
-0.035568044,
-0.034928434,
-0.017283456,
0.07324959,
0.026780318,
-0.0020544091,
-0.030757044,
0.0021326228,
0.039628197,
0.059178106,
-0.00225255,
-0.005009143,
-0.0023029544,
-0.01864611,
0.037125364,
0.009260484,
-0.021899793,
-0.041964173,
0.03342673,
0.003109423,
0.015753947,
-0.009413435,
-0.013974153,
0.02564014,
-0.018201161,
0.050362572,
-0.009232675,
-0.0046858606,
0.004275674,
0.063683204,
-0.0246251,
0.054867674,
-0.0073416447,
0.015684424,
0.047164507,
0.0096359085,
-0.028448874,
-0.0122569315,
0.001078478,
-0.0037785834,
0.014975287,
0.0078004976,
-0.019772384,
0.0020370283,
-0.018215066,
-0.035846137,
-0.058288213,
0.013640443,
0.04099085,
-0.026293656,
-0.0023742158,
0.025459379,
0.025375951,
-0.062181506,
-0.02053714,
0.021607796,
0.006309226,
0.017060982,
0.0017067934,
-0.0064204633,
-0.004720622,
0.040462475,
-0.008182875,
0.031396657,
-0.031480085,
0.015086524,
-0.017186124,
-0.012361216,
-0.018187257,
-0.035985183,
0.014057581,
0.06262646,
-0.030006193,
0.0025688806,
0.0106231375,
-0.05845507,
-0.004592004,
0.021677319,
-0.0390442,
-0.017700594,
-0.03267588,
0.030006193,
-0.035512425,
-0.0041366275,
0.0013861179,
0.039739434,
-0.0027044506,
0.052893214,
-0.031146372,
-0.027711928,
0.007890878,
0.051808655,
0.035234332,
0.07308274,
-0.0594562,
-0.03167475,
-0.008704299,
-0.03192503,
0.03195284,
0.026224133,
0.023095591,
0.0028921631,
0.04660832,
0.067242794,
0.0074459296,
0.025181286,
-0.008871154,
-0.03428882,
0.017366884,
-0.020272952,
-0.03011743,
0.016115466,
-0.010713518,
0.018548777,
0.02392987,
0.005905992,
-0.00039845458,
0.024333103,
-0.016463082,
0.015781756,
-0.04407768,
0.023804728,
-0.025375951,
0.004477291,
0.007080933,
0.02032857,
0.018354112,
-0.040935233,
0.011610366,
0.040907424,
-0.021287989,
-0.010282475,
-0.015906898,
0.024875384,
-0.014064534,
0.05080752,
0.021524368,
0.023651777,
0.05420025,
0.0165187,
0.0038620112,
0.032036267,
0.01753374,
-0.01750593,
0.00073564186,
-0.026835937,
0.0013026901,
-0.0017693642,
0.009955715,
-0.008606967,
0.018215066,
0.025223,
0.02729479,
-0.026585653,
0.01693584,
0.057342697,
-0.02273407,
0.013723871,
0.004835335,
0.027698023,
-0.01165208,
0.06885573,
0.028671348,
-0.00064439274,
0.00031741665,
0.03690289,
-0.012979973,
0.010553614,
0.0015129977,
-0.0039523914,
-0.011241894,
0.03120199,
-0.013278922,
-0.025667949,
-0.027169649,
0.0011219298,
-0.056313753,
0.026710795,
-0.055785377,
0.014766717,
-0.027350409,
0.011839793,
-0.029116297,
-0.008210684,
0.0040531997,
-0.0044633863,
-0.010803898,
-0.017269552,
0.020870851,
0.029310962,
0.008148113,
-0.011513034,
0.087154225,
0.0035404665,
0.021065515,
0.03909982,
0.008016019,
0.0017780546,
0.010428473,
-0.029255344,
-0.032091886,
-0.030590188,
-0.008064685,
-0.030395523,
0.0040983898,
-0.055757567,
0.006698556,
-0.022678452,
-0.010664851,
0.03773717,
-0.017213933,
0.036291085,
0.017186124,
0.024374817,
-0.008954582,
0.021691224,
-0.037014127,
-0.0012183932,
-0.00825935,
-0.0474426,
-0.0216217,
0.0038237735,
0.01846535,
0.03732003,
0.052142363,
0.022122268,
-0.013258065,
-0.020523235,
-0.01252112,
0.0054784245,
0.006743746,
0.005669613,
-0.0738614,
0.02447215,
0.009733241,
-0.022122268,
0.02843497,
0.017213933,
-0.024124535,
0.030284286,
-0.017130505,
0.021385321,
-0.04552376,
0.07641985,
0.02056495,
-0.029867146,
-0.061959036,
-0.053949967,
0.0024454768,
-0.0074042156,
0.021148942,
-0.049889814,
-0.029867146,
0.04026781,
-0.035568044,
-0.03990629,
0.023735205,
-0.015656615,
0.037041936,
0.0012505477,
-0.009044962,
0.01270188,
0.011401797,
0.0165187,
-0.028726967,
-0.019299626,
-0.024527768,
-0.031841602,
0.008752965,
-0.024360912,
0.018729538,
0.030256476,
-0.0231234,
0.032425597,
0.046747368,
-0.026627367,
-0.022900926,
-0.0339273,
0.026738605,
0.0062779407,
0.022747975,
0.0330374,
0.020384189,
-0.0047658123,
-0.029783718,
0.015336808,
-0.033982918,
0.020272952,
0.010880373,
0.0372366,
0.0024993573,
0.0066464134,
-0.052476075,
0.0066464134,
-0.010769136,
-0.00798821,
0.02219179,
-0.06262646,
0.06490681,
-0.021107228,
-0.048360307,
-0.0017467692,
-0.011930173,
-0.029144106,
0.038321164,
0.05383873,
0.021635605,
-0.028421065,
-0.063182645,
0.018145543,
-0.013591777,
0.016476987,
0.02245598,
0.022553312,
-0.016449178,
0.008009067,
-0.0038967726,
0.019230105,
-0.002229955,
0.03008962,
0.0062953215,
0.014252246,
0.006135418,
-0.035623662,
0.048666205,
0.0522536,
0.0048909537,
-0.01063009,
0.046886414,
-0.02164951,
0.013584824,
0.027030602,
0.037959643,
-0.06969001,
-0.014655481,
0.026710795,
0.022261314,
0.054756436,
-0.036346704,
-0.055368237,
-0.026057277,
-0.036346704,
-0.011791127,
0.032147504,
-0.017978687,
-0.011902364,
0.020995991,
0.024486054,
-0.019202296,
-0.031591322,
-0.07213722,
0.0008208077,
0.03170256,
0.00014675903,
-0.04029562,
-0.03576271,
0.030673616,
0.03907201,
-0.022692356,
-0.020467617,
-0.013529206,
-0.0136613,
-0.04552376,
0.036291085,
0.05122466,
-0.048110023,
-0.018201161,
-0.04783193,
-0.0032223982,
0.03312083,
0.03195284,
-0.01101942,
-0.044244535,
0.008502682,
-0.0020578853,
0.0053463303,
0.013028638,
0.007883926,
-0.022233505,
-0.03982286,
0.022289123,
-0.054339297,
0.03356578,
-0.021788556,
0.0069349343,
0.01327197,
0.04032343,
0.036624797,
-0.0054089013,
0.020829137,
0.023623968,
-0.047220126,
0.009733241,
0.005888611,
-0.009100581,
0.008280207,
0.025709663,
0.028671348,
-0.030228667,
-0.0049952385,
0.02750336,
-0.046163373,
0.027948307,
-0.030256476,
-0.0110541815,
-0.025751377,
-0.0034831099,
-0.033315495,
-0.007032267,
-0.0006052859,
0.015503663,
-0.021885889,
0.00903801,
-0.038348973,
0.011047229,
0.007080933,
-0.016073752,
0.03726441,
-0.023790823,
0.0015025692,
0.017060982,
-0.01903544,
0.0077935453,
-0.014106248,
-0.013709966,
0.040851805,
0.06296017,
0.028268114,
0.0070566,
0.0076405946,
-0.015726138,
0.069912486,
-0.07258217,
0.00025614936,
-0.02780926,
0.029450007,
-0.011895412,
-0.025473284,
-0.059511818,
0.018507063,
0.0002485453,
0.017742308,
0.038321164,
0.009114485,
0.034372248,
-0.024889288,
0.001917101,
0.023957679,
-0.042325694,
-0.017339075,
-0.016532606,
-0.010400664,
0.0024541672,
-0.0013087733,
0.030701425,
-0.053254735,
-0.04963953,
-0.058955632,
0.06729841,
-0.042325694,
-0.0015686161,
-0.021065515,
-0.0432434,
-0.012298645,
-0.016351845,
0.03173037,
-0.037459075,
-0.0033145163,
-0.031146372,
-0.004675432,
-0.041630466,
0.008057733,
0.00933696,
-0.033621397,
-0.028866014,
0.04285407,
-0.0067750313,
-0.013327588,
-0.0103450455,
0.02864354,
0.025209095,
0.05598004,
-0.043354638,
-0.031813797,
0.021371417,
0.00891982,
0.0033544921,
-0.030673616,
-0.0051725227,
0.029088488,
-0.016894126,
0.029199725,
-0.047998786,
-0.021399226,
-0.034594722,
-0.0014938788,
0.05119685,
-0.03186941,
-0.024124535,
-0.010553614,
0.049806386,
0.012778356,
0.037792787,
-0.012562834,
0.010039143,
-0.0103241885,
-0.054533962,
0.042603787,
-0.013988058,
-0.030701425,
-0.012298645,
0.018743442,
0.02714184,
-0.04210322,
0.030339904,
0.056647465,
-0.011638176,
0.00039954088,
0.008905916,
0.0021951937,
0.050167907,
-0.0006239703,
0.026710795,
-0.03946134,
-0.049778577,
-0.003858535,
-0.027628502,
-0.04883306,
-0.021121133,
0.014669385,
0.0016772461,
-0.052058935,
0.05219798,
0.007918688,
-0.0004123592,
-0.06829955,
0.020050477,
-0.01585128,
0.001543414,
0.0051273326,
0.031090753,
-0.02708622,
-0.0026227608,
-0.031591322,
-0.0693563,
-0.015030906,
0.071191706,
-0.034845006,
-0.049444865,
0.02837935,
0.030757044,
0.0018823394,
-0.059623055,
-0.0012983449,
0.030339904,
0.022372551,
-0.028212495,
-0.021510463,
0.014349579,
-0.023637872,
-0.0067958883,
0.04062933,
-0.031174181,
0.0009142295,
0.019313531,
0.034121964,
-0.023457112,
0.021385321,
0.021301894,
0.01768669,
0.012117886,
-0.01432177,
0.008398397,
-0.019980954,
-0.020940373,
0.04785974,
0.007710118,
-0.06490681,
0.017060982,
0.010025239,
0.03840459,
-0.0192162,
0.005002191,
0.007126123,
-0.05297664,
-0.04249255,
-0.032953974,
0.010567519,
-0.0031024707,
0.011179323,
-0.016949745,
0.03050676,
0.026238037,
0.0702462,
-0.011867602,
-0.09688747,
-0.005839945,
-0.037041936,
-0.010678756,
0.029533435,
0.009705432,
0.032230932,
0.031535704,
-0.053671874,
-0.038348973,
-0.032509025,
-0.008321921,
0.01783964,
-0.01390463,
-0.056174707,
0.0054367105,
-0.025125667,
-0.009107533,
-0.03570709,
0.006535176,
-0.027169649,
0.02030076,
0.0106231375,
0.030840471,
-0.0074181203,
-0.028476683,
-0.012750546,
-0.009086676,
-0.015531472,
0.019814098,
-0.03871049,
0.05686994,
0.018326303,
0.05230922,
0.019049345,
-0.029644672,
-0.013918535,
-0.023832537,
-0.048054405,
-0.042631596,
0.054756436,
0.0372366,
0.037542503,
-0.009927906,
-0.051391516,
0.03167475,
-0.009531625,
-0.036318894,
-0.019591624,
-0.020384189,
-0.013028638,
0.040406857,
0.021482654,
0.035873946,
0.0068376022,
0.044661675,
0.034094155,
0.048749633,
-0.003636061,
0.012979973,
0.009774955,
0.02519519,
-0.0141479615,
-0.06468434,
0.011415701,
0.019869717,
-0.0076336423,
0.06412815,
0.034427866,
-0.011158466,
0.005805183,
-0.0023829062,
0.009747146,
0.01252112,
0.01975848,
-0.023818633,
0.00045363858,
-0.009441244,
-0.014405197,
-0.004484243,
-0.0546452,
-0.019633338,
0.034205392,
-0.020676186,
-0.012020553,
0.0012957378,
-0.013821202,
-0.0032293506,
-0.034594722,
-0.012854831,
-0.013125971,
-0.014905764,
0.023234637,
0.04032343,
-0.054839864,
-0.047748502,
0.016421368,
0.01822897,
-0.05420025,
-0.016796794,
0.031146372,
0.049500484,
-0.0132024465,
-0.027864879,
-0.03987848,
-0.02903287,
0.032981783,
0.015267285,
-0.050279144,
-0.0012218694,
-0.06896697,
-0.007105266,
-0.012055315,
-0.0050404286,
0.013730823,
0.02825421,
0.010963801,
0.018187257,
-0.019744575,
0.056258135,
0.011443511,
-0.054700818,
0.017158315,
-0.018604396,
0.05467301,
-0.0017624119,
0.010650947,
0.02392987,
-0.00030481556,
0.013000829,
0.06062419,
0.0011923221,
0.032397788,
0.019480387,
-0.0414358,
-0.026015563,
0.014349579,
0.026794223,
-0.0055027576,
0.025097858,
-0.02294264,
-0.024903193,
-0.046052136,
0.009135342,
0.019077154,
-0.01783964,
0.0019379578,
-0.03195284,
0.000060343926,
-0.0018110782,
0.037848406,
-0.043020926,
0.02970029,
-0.009733241,
0.023081686,
0.012931307,
0.022344742,
0.0029912337,
0.04179732,
0.03690289,
0.0047658123,
0.0031650416,
-0.013960249,
0.06924506,
0.004345197,
0.035568044,
-0.0018945059,
0.02519519,
0.026112895,
-0.00023724776,
0.024499958,
0.010393712,
0.015892994,
-0.007292979,
-0.03909982,
0.002052671,
-0.020106096,
-0.052058935,
0.058232594,
-0.060123622,
0.023262447,
-0.014307865,
-0.02297045,
0.00030003587,
-0.015295094,
0.0011393107,
0.027684119,
0.05300445,
0.048694015,
0.0038272496,
0.10845612,
0.033649206,
0.039656006,
0.03690289,
0.0014182723,
-0.010129523,
-0.01567052,
0.0016138062,
-0.003792488,
-0.00062875,
-0.02693327,
-0.03509529,
0.016852412,
0.038237736,
0.032536834,
-0.04969515,
-0.006872364,
0.024680719,
-0.0028643538,
-0.024402626,
0.11768879,
0.026321465,
-0.005294188,
-0.016532606,
0.002429834,
-0.055729758,
-0.050334763,
-0.00503,
0.032230932,
-0.00004885631,
-0.040907424,
0.0043312926,
-0.059956767,
-0.012528072,
0.018882489,
-0.008780775,
-0.019786289,
0.060902283,
-0.017019268,
0.0411299,
-0.0045155287,
0.003046852,
-0.0115477955,
0.026863746,
0.076253,
0.001299214,
0.063571975,
0.034594722,
-0.0041748653,
-0.0058156117,
-0.032509025,
0.003309302,
-0.03170256,
-0.010532757,
-0.0002928663,
-0.00043408517,
-0.027781451,
-0.05940058,
-0.045384713,
0.042575978,
-0.0005535781,
0.017060982,
-0.053922158,
-0.070413046,
-0.054867674,
0.012423787,
-0.000121774145,
-0.02630756,
-0.016018134,
-0.014182723,
0.040768377,
-0.015503663,
0.2270348,
0.059289344,
0.038932964,
-0.01324416,
0.007953449,
0.06067981,
0.009086676,
-0.0014260936,
-0.010588376,
-0.0729715,
0.04404987,
-0.04290969,
-0.020370284,
0.00762669,
0.0060658953,
0.014697194,
-0.0069766482,
-0.008419254,
-0.045134433,
-0.006201465,
-0.028337637,
0.042742833,
-0.006055467,
0.035428997,
-0.008391445,
0.026835937,
-0.042242266,
-0.04185294,
0.03008962,
-0.03264807,
-0.027642405,
-0.003813345,
0.013424921,
0.011450463,
-0.0058712303,
0.029477816,
0.009851431,
-0.008495729,
-0.034984052,
-0.015197761,
0.007765736,
-0.0008846821,
-0.017797926,
-0.010762184,
-0.010157333,
0.037904024,
-0.013265017,
-0.01582347,
0.03732003,
-0.066408515,
0.07858897,
-0.048471544,
0.008697347,
-0.028726967,
-0.03570709,
0.0040671043,
-0.019702861,
-0.04024,
0.009246579,
0.035456806,
0.048999917,
0.01336235,
0.021162847,
-0.0011523463,
0.0047310507,
0.035512425,
-0.029755909,
0.011360083,
-0.034956243,
0.013313684,
0.010922087,
-0.04107428,
-0.044216726,
-0.02970029,
0.026682986,
0.030673616,
0.037931833,
0.049834196,
-0.00876687,
-0.024249677,
-0.032564644,
-0.0056035663,
-0.011867602,
-0.019716766,
0.0057426123,
0.044633865,
-0.022845307,
-0.009747146,
0.0004442964,
0.018576587,
0.0309239,
0.07336083,
-0.047275744,
0.010421521,
-0.0006787198
] | Tensor Processing Units (TPUs) are specifically designed to accelerate performance. TensorFlow scripts utilize a TPUStrategy for training on TPUs. To use a TPU, pass the name of the TPU resource to the tpu argument. |
[
0.03583982,
0.012930191,
-0.039745443,
-0.0016369149,
-0.025429616,
-0.021222457,
-0.0066015054,
0.012233784,
-0.0032325478,
0.043507475,
-0.049825393,
0.0026025511,
0.0074738087,
-0.023735266,
0.016900428,
0.0058189454,
-0.017446065,
-0.058814064,
-0.094022095,
0.03179061,
-0.006895863,
0.008615341,
-0.04735566,
-0.026520893,
-0.014567106,
0.018537343,
-0.016699404,
-0.014301467,
0.061456103,
0.012441989,
-0.022141427,
0.000415062,
-0.04525926,
-0.017589655,
0.034317777,
-0.029665492,
-0.0033330603,
-0.015148642,
-0.049509495,
-0.04801617,
-0.024639877,
-0.036414176,
0.029134212,
0.018522983,
-0.10091437,
-0.036672637,
-0.014445055,
0.015220436,
0.007466629,
-0.028057296,
0.025587564,
0.044771057,
0.020116823,
-0.008019447,
-0.047700275,
-0.014667619,
-0.0010167898,
-0.0017634527,
-0.036557764,
0.042042866,
0.021768095,
0.056401767,
0.005115359,
-0.025214233,
-0.007308681,
0.010381486,
-0.03417419,
-0.013483009,
-0.031962916,
-0.03836699,
-0.036701355,
0.022514759,
-0.018135294,
-0.021064509,
-0.029866517,
0.011623532,
0.042042866,
-0.0023871674,
0.010417383,
0.06507455,
0.019470671,
0.067314535,
0.02277322,
0.03230753,
-0.035782386,
-0.029550621,
0.03632802,
-0.014093262,
-0.030297283,
-0.023074755,
-0.04052082,
-0.0005447409,
-0.007233297,
0.013231728,
0.015636845,
0.035753667,
-0.032652143,
0.01151584,
0.023419369,
-0.005169205,
0.044110548,
0.05660279,
0.013052242,
0.035380334,
-0.013095319,
0.015550691,
0.07656167,
-0.02772704,
-0.0040743384,
0.00070762465,
-0.006235353,
-0.010474819,
0.019542467,
0.0014852489,
-0.0024033212,
0.01006559,
0.020001952,
-0.022270657,
-0.051203847,
-0.0046630534,
0.006569198,
-0.035811104,
-0.00033451756,
-0.049222317,
-0.01962862,
-0.009699439,
0.0068384274,
0.0052266405,
-0.033283934,
-0.025688076,
-0.014380441,
-0.0073876553,
0.035610076,
0.03753417,
-0.009268671,
-0.028631652,
0.007839961,
-0.007279963,
0.04264594,
-0.05413306,
0.012908653,
-0.01870965,
0.007086118,
0.08965699,
0.025716795,
0.020992715,
-0.019700414,
-0.018953752,
-0.008084062,
0.0622602,
-0.072024256,
-0.020217335,
-0.008974314,
0.027569093,
-0.006777402,
0.02130861,
-0.02943575,
0.005380999,
0.03724699,
0.010489178,
-0.003830237,
0.02211271,
-0.017647091,
0.056660227,
0.0012330707,
0.059618164,
-0.05321409,
-0.0225004,
-0.014473774,
-0.0416121,
0.033456244,
-0.010273795,
-0.01700094,
-0.027095249,
0.02904806,
0.0031499842,
0.043880805,
0.004497926,
0.012858397,
0.013009165,
-0.004641515,
0.01124302,
0.031043947,
0.024280904,
-0.008679956,
0.024510646,
0.006633813,
0.016469661,
-0.050457183,
-0.044541314,
0.017316837,
0.043335166,
-0.056574076,
0.004763566,
-0.011594813,
-0.0450008,
0.015679922,
-0.0066015054,
-0.0027640888,
-0.03546649,
-0.011759941,
0.05298435,
-0.012025581,
0.0031302406,
0.021136304,
-0.009476876,
0.010812254,
0.040233646,
0.039659288,
-0.01099174,
0.06317917,
-0.0068456065,
-0.026477816,
0.024051161,
0.0068348376,
-0.021251176,
-0.024826542,
-0.015622485,
-0.0044225417,
-0.01636915,
0.015852228,
0.012894294,
0.011731223,
0.009139441,
0.038883906,
-0.00009299633,
0.024826542,
0.0009261492,
-0.021394765,
0.030929076,
0.023749623,
0.014078904,
-0.015636845,
0.04422542,
-0.008687136,
0.0050148466,
0.018092217,
0.028875753,
-0.022945525,
0.03098651,
0.023304498,
-0.017029658,
0.0269373,
0.061168924,
-0.008012268,
0.020332206,
0.002823319,
-0.034863416,
-0.011530198,
0.033542395,
-0.057636634,
0.038912624,
-0.01006559,
-0.029636774,
-0.056746382,
-0.025587564,
0.0353229,
0.013798906,
0.015364026,
0.021768095,
-0.028287038,
0.040319797,
-0.0066122743,
0.017316837,
0.019197851,
0.045833617,
-0.02485526,
0.015076848,
0.036414176,
-0.028861394,
-0.0054492033,
-0.01856606,
-0.07340271,
-0.033944447,
-0.045345414,
0.027554734,
-0.00444767,
-0.024797823,
-0.032479838,
-0.030785486,
0.009563029,
0.012915833,
0.04462747,
0.04841822,
-0.028703446,
0.020863485,
0.0051117693,
-0.0071363742,
-0.04313414,
0.0062497123,
-0.02735371,
-0.019298365,
0.02211271,
-0.011164047,
0.05413306,
-0.010015334,
0.013719931,
0.026764994,
-0.042559788,
0.0038266475,
-0.022069633,
-0.020188617,
0.042703375,
0.013425574,
-0.026204996,
0.025357822,
0.014394799,
-0.054247934,
0.038568012,
0.029722927,
-0.030929076,
0.020719895,
0.0067702224,
0.021653224,
-0.043277733,
0.0014619158,
0.025214233,
-0.045862332,
-0.036126997,
-0.04735566,
-0.036988534,
-0.030412154,
0.0007206374,
-0.034978285,
0.028330114,
0.04069313,
0.005384588,
-0.078399606,
0.028674727,
0.009799951,
-0.008019447,
-0.045718744,
-0.005101,
-0.0129732685,
-0.00057570223,
0.022873731,
-0.048877705,
0.013102498,
-0.008084062,
0.01649838,
-0.048963856,
0.027324991,
0.0353229,
0.035925973,
0.02851678,
0.030814204,
0.035897255,
-0.04261722,
-0.005165615,
0.011171226,
0.0027587041,
-0.025960896,
0.042416196,
0.030038824,
0.029722927,
0.003297163,
-0.0057256124,
0.02248604,
-0.033657268,
0.0009010211,
-0.019312724,
0.03305419,
0.04382337,
-0.014323005,
-0.037218276,
-0.013030704,
-0.0053235632,
0.011415327,
0.049767956,
-0.0028879342,
0.086957514,
0.006185097,
-0.04195671,
-0.0050292057,
0.0007008939,
0.0069102217,
0.0520941,
0.06800376,
0.008392778,
0.029722927,
-0.009893283,
-0.026233714,
-0.018336318,
0.01909734,
0.03374342,
-0.0004967283,
0.013540445,
0.026104484,
0.027368067,
-0.0094840545,
0.0009692259,
-0.018996827,
0.038280834,
-0.0525823,
-0.00405639,
-0.058383297,
0.036040846,
0.04916488,
0.028545497,
-0.011314815,
-0.008076883,
-0.060020212,
0.002146656,
0.024553724,
0.029521903,
-0.013662496,
-0.03624187,
0.05755048,
0.040578257,
0.036557764,
-0.03543777,
0.0023763983,
0.014459414,
0.021753738,
-0.003844596,
-0.0000393748,
-0.031675737,
-0.016067611,
-0.0152491545,
-0.022083992,
-0.030498309,
-0.045115672,
-0.020332206,
-0.003451521,
0.06438532,
-0.020992715,
-0.013447112,
-0.053817164,
-0.01281532,
0.0032648554,
0.002315373,
-0.029249083,
-0.03359983,
-0.014933258,
-0.039573133,
0.0034838286,
0.00022458221,
-0.0021628097,
-0.027296273,
-0.06381096,
-0.03627059,
0.036844943,
-0.007559962,
0.00863688,
-0.0066015054,
0.00070717593,
0.012327118,
0.008945596,
0.034691107,
-0.010589691,
0.054908443,
-0.0005774971,
0.006002021,
-0.029091137,
0.011099432,
-0.03991775,
0.008550726,
0.044455163,
0.03423162,
0.058928937,
-0.03779263,
0.023390653,
0.02158143,
-0.032221377,
-0.030584462,
0.03922852,
0.010108667,
-0.018221447,
0.020920921,
-0.017805038,
-0.014208133,
0.026607046,
0.013116857,
0.008148677,
0.019815285,
-0.0039953645,
0.013281984,
-0.013461471,
0.018695291,
0.030785486,
-0.03664392,
0.02277322,
0.020317847,
-0.013360959,
-0.00654407,
-0.0588715,
-0.028703446,
0.008651239,
-0.022715783,
0.03635674,
-0.00045432465,
-0.00029188956,
-0.0037117763,
-0.037074685,
-0.019528108,
-0.038654163,
-0.004770745,
0.022787578,
0.032393683,
0.028660368,
-0.009304569,
-0.042846963,
0.011429686,
0.07219656,
-0.07771038,
-0.011178405,
-0.039716724,
-0.00811278,
0.024525005,
0.009756874,
0.021782454,
0.0076317564,
-0.023333216,
0.0517782,
0.044656187,
-0.018207088,
-0.020504512,
0.0028197295,
0.0041353637,
0.06501711,
0.0006089072,
-0.03477726,
-0.019743491,
-0.009785592,
0.0012223015,
0.03334137,
0.006633813,
-0.04761412,
-0.05140487,
-0.027741399,
0.023878854,
-0.012743526,
-0.020561948,
-0.036959816,
-0.036126997,
-0.04890642,
0.024668595,
0.026406022,
-0.035007004,
0.053127937,
-0.054219216,
-0.00037624812,
-0.08397086,
0.016670685,
0.00083595735,
-0.01909734,
-0.015134283,
0.031962916,
0.0014690952,
0.026922941,
0.013885058,
0.02827268,
-0.013224549,
0.020834766,
-0.026966019,
-0.008170215,
0.009010212,
0.011056355,
0.015924023,
-0.0056035616,
0.018192729,
0.023921931,
-0.0012339682,
0.022514759,
-0.008845083,
-0.013073781,
-0.06559146,
0.010963022,
0.024797823,
-0.025530128,
-0.017374272,
-0.0034210084,
0.027655246,
0.016282994,
0.017245041,
-0.011803018,
0.054563828,
-0.01635479,
-0.049107447,
0.014028648,
0.0076173977,
-0.0053235632,
0.0031087024,
-0.008651239,
0.01634043,
-0.060192518,
0.019729132,
0.06271969,
0.0044440804,
0.033025473,
-0.06846324,
0.027497297,
0.016311713,
-0.003754853,
0.015493255,
-0.00928303,
-0.048044886,
0.02901934,
-0.002433834,
-0.03296804,
-0.021969121,
0.03150343,
0.039486982,
-0.03061318,
0.01412198,
0.02353424,
-0.06530429,
-0.03753417,
0.056574076,
-0.020992715,
0.016828634,
0.008945596,
0.03270958,
0.05051462,
-0.018795803,
0.00048416422,
0.012635834,
0.0024679364,
0.053558707,
-0.017446065,
-0.025745511,
0.020088105,
0.02143784,
-0.047958735,
-0.096376956,
-0.0035394693,
0.029809082,
0.0029076778,
-0.0034622904,
-0.03572495,
0.050744362,
-0.020877844,
0.031704456,
0.041382357,
-0.022543477,
-0.011788659,
-0.019398877,
-0.003557418,
-0.021624507,
-0.016699404,
0.036787506,
-0.0013802495,
-0.00980713,
-0.026736276,
0.028473703,
-0.028444985,
-0.029407032,
0.011946606,
0.020504512,
0.0029076778,
0.017460424,
0.010367127,
0.024697311,
-0.031934198,
0.030756768,
-0.014674798,
-0.028803958,
-0.025357822,
-0.05375973,
0.0172594,
-0.016828634,
0.0051368973,
-0.016297353,
0.0057040737,
-0.0010024309,
0.0019258878,
0.028818317,
-0.08356881,
-0.0031697277,
-0.00041932482,
0.01622556,
0.024611158,
-0.0059625343,
-0.024137314,
-0.016900428,
0.000069102214,
-0.035409052,
-0.028172167,
0.012937371,
-0.027942425,
-0.022256298,
-0.08052472,
0.0005519203,
-0.036672637,
-0.023433728,
-0.05846945,
-0.036299303,
-0.004239466,
0.032652143,
-0.0117096845,
0.00093063636,
0.006946119,
0.022959884,
0.011695326,
0.003981006,
-0.014875823,
0.021107586,
-0.004867668,
0.027741399,
0.005194333,
0.041554663,
0.009362005,
-0.003334855,
0.007272784,
0.017331194,
-0.002498449,
-0.0042358763,
0.0237927,
0.023735266,
-0.03836699,
-0.029521903,
-0.0086297,
-0.015292231,
-0.01698658,
-0.03035472,
-0.01242045,
-0.010123027,
0.0127722435,
0.058555603,
-0.024625517,
0.029363954,
0.000060183993,
0.01635479,
0.0116594285,
0.012477886,
0.015837869,
0.00189717,
-0.020590667,
0.02617628,
0.028961906,
-0.011752762,
0.057378173,
0.027928066,
0.011637891,
0.045402847,
0.0014161468,
0.014545568,
-0.041123897,
-0.0048317704,
-0.01085533,
0.056057155,
0.04069313,
-0.003438957,
-0.018365037,
0.002051528,
-0.047786426,
-0.00070448365,
-0.054190498,
0.023261422,
0.0025163975,
-0.032881886,
0.025472693,
-0.019901438,
0.028143449,
0.0007480091,
0.028172167,
-0.017589655,
-0.027454222,
0.001229481,
0.010517896,
0.0028825495,
-0.023763983,
-0.01843683,
0.020920921,
-0.035897255,
0.0005317281,
-0.03492085,
0.011192764,
0.06576377,
-0.009182518,
-0.022155786,
-0.016771197,
-0.072943226,
-0.02013118,
0.06748684,
-0.059733033,
0.0147609515,
-0.029780364,
0.01713017,
-0.04304799,
0.030584462,
-0.025975253,
0.020648101,
0.009519952,
0.008880981,
0.03035472,
0.012528142,
-0.050715644,
0.017848115,
-0.0044045933,
0.026506534,
0.040492106,
-0.022687066,
0.02054759,
-0.011271738,
0.029981388,
0.01046764,
0.0520941,
-0.010776356,
0.023763983,
0.02604705,
-0.017187607,
-0.04603464,
-0.00016288379,
0.025085002,
-0.03256599,
-0.013037884,
0.000433235,
0.005126128,
-0.012657372,
0.01438762,
0.01714453,
-0.013755828,
-0.016541455,
-0.017245041,
0.02680807,
0.0063107377,
-0.023318857,
-0.029464468,
0.03515059,
-0.0131599335,
0.043852087,
-0.0007996114,
0.00076999614,
0.042559788,
0.05114641,
0.018910674,
-0.015608126,
0.03624187,
0.01975785,
0.033513676,
-0.035610076,
0.041813124,
-0.015119924,
-0.004526644,
-0.044570033,
0.015105565,
-0.027382426,
-0.00012395771,
0.012075837,
-0.014933258,
0.030699333,
-0.004027672,
-0.040118773,
-0.084947266,
-0.006996375,
-0.044196703,
0.009067647,
0.012183528,
-0.0098717455,
-0.04069313,
0.0063466346,
0.03362855,
0.0027515246,
0.011580455,
0.06656787,
0.035782386,
0.06777402,
0.03606956,
0.0059840726,
-0.009383542,
-0.02799986,
-0.045287978,
-0.0075958595,
0.033571113,
0.02603269,
-0.047011048,
-0.046666432,
-0.016900428,
0.021811172,
0.054247934,
-0.029809082,
-0.058297142,
0.026879866,
-0.016512737,
0.027640887,
-0.006658941,
0.08287958,
0.0036794688,
-0.02604705,
-0.018537343,
0.020174257,
-0.029521903,
-0.020734254,
-0.017331194,
0.022256298,
0.011953786,
-0.041037742,
-0.032278813,
-0.026449097,
-0.004648695,
-0.00706817,
-0.033283934,
-0.059330985,
-0.0040851077,
0.0045697205,
0.06472993,
0.011164047,
-0.03535162,
-0.018795803,
0.049882825,
0.05482229,
0.004734848,
0.032479838,
0.033714704,
0.0016961453,
-0.0053163837,
0.045316696,
0.021466559,
0.01767581,
-0.035495207,
0.019901438,
0.013590701,
-0.03348496,
-0.04761412,
-0.035409052,
0.009735336,
-0.0061061233,
-0.011357891,
-0.023864495,
-0.028674727,
-0.09264364,
-0.022227582,
-0.06197302,
0.022600912,
-0.036586482,
-0.03296804,
-0.041296203,
-0.04052082,
0.24329723,
0.062202763,
0.0706458,
-0.0036686994,
0.0041784407,
-0.0043974137,
0.004867668,
-0.03006754,
0.03061318,
-0.04764284,
0.019384518,
-0.040836718,
-0.0054743313,
0.03830955,
-0.031675737,
0.04287568,
-0.054879725,
-0.021538353,
-0.010826612,
-0.022830654,
-0.061398666,
0.021351688,
-0.009067647,
0.055138186,
0.013906597,
0.02889011,
0.0060845846,
-0.03181933,
0.038223397,
0.015234795,
-0.010683023,
0.0052266405,
0.010230718,
-0.028444985,
0.02303168,
0.043105423,
0.002290245,
-0.010948663,
0.020217335,
-0.010252256,
0.015981458,
-0.013662496,
-0.0069353497,
-0.024740389,
0.0027353708,
0.04379465,
0.004174851,
0.056459203,
0.038912624,
-0.075298086,
0.03385829,
-0.017187607,
0.0034192137,
-0.007660474,
-0.0656489,
-0.030010106,
0.022959884,
-0.0053451015,
0.019025546,
0.014861464,
0.030498309,
-0.0279855,
0.0059625343,
0.022974243,
-0.04043467,
0.034317777,
-0.02027477,
0.033456244,
-0.040836718,
-0.04227261,
0.0063430453,
-0.005549716,
-0.021035792,
-0.06329404,
0.014301467,
0.026362944,
0.06283455,
-0.017087094,
0.02824396,
-0.046350535,
0.029249083,
0.0055425363,
-0.033025473,
-0.02799986,
0.012248144,
0.02904806,
-0.027023453,
0.011752762,
0.013052242,
0.053932037,
0.02827268,
0.034576237,
-0.034978285,
0.019987592,
0.007545603
] | Note: As Accelerate is rapidly developing, the git version of accelerate must be installed to run the scripts
pip install git+https://github.com/huggingface/accelerate
Instead of the run_summarization.py script, you need to use the run_summarization_no_trainer.py script. 🤗 Accelerate supported scripts will have a task_no_trainer.py file in the folder. Begin by running the following command to create and save a configuration file: |
[
-0.0075189434,
0.014448166,
-0.018308159,
0.021806277,
-0.006302644,
-0.02202072,
-0.0024024432,
0.006590803,
0.03881437,
0.020251557,
-0.0031395946,
0.043424916,
0.031040773,
-0.03768854,
0.04339811,
0.057899885,
-0.03420382,
-0.023789885,
-0.058489606,
0.008483942,
-0.020760862,
-0.008396824,
-0.056827664,
-0.0013009046,
-0.017999895,
0.008651476,
-0.011238207,
-0.050716013,
0.056666832,
0.037232842,
-0.040074226,
0.0109500475,
-0.014448166,
0.022194955,
-0.037822563,
-0.01739677,
0.024781687,
-0.0149708735,
-0.07071292,
-0.04607866,
-0.051654205,
0.018254548,
0.002683901,
-0.001578174,
-0.06299293,
-0.031898547,
0.005538687,
-0.009690189,
-0.013670807,
-0.007545749,
0.029673692,
0.047177684,
0.027636474,
-0.017209133,
-0.01982267,
-0.02255683,
-0.04816949,
0.027448835,
-0.04267436,
0.0379834,
0.030960355,
0.0100922715,
0.0074452283,
-0.029352026,
0.024245577,
0.014354346,
-0.011774317,
-0.04326408,
-0.035838958,
-0.004670859,
-0.01734316,
0.038760755,
-0.01129852,
-0.010045362,
-0.0073581105,
0.022677455,
0.017517395,
0.018777255,
-0.029593276,
0.0394577,
0.022154748,
0.028976748,
0.007331305,
-0.021444403,
-0.06358265,
-0.024929117,
0.018093714,
-0.013751223,
-0.008162276,
-0.03613382,
0.016673023,
0.054495588,
0.00043140107,
-0.019179337,
-0.031121189,
0.014153305,
-0.028708693,
-0.010514459,
0.027341614,
0.04594463,
0.026751893,
0.02011753,
-0.013536779,
0.0048819524,
-0.061974324,
0.011794421,
0.007545749,
-0.05811433,
-0.011747512,
-0.042754777,
-0.0018060207,
0.021471208,
0.0052639307,
0.014796638,
-0.03385535,
0.011653692,
-0.0462663,
0.0021226609,
-0.025384812,
0.005572194,
0.016284343,
0.010507757,
-0.04487241,
-0.04404144,
-0.027448835,
-0.043961026,
-0.0170483,
0.018093714,
-0.02844064,
-0.0067884936,
-0.027609669,
0.0016477008,
0.042540334,
0.02377648,
0.001432419,
-0.009569565,
0.007203979,
0.046293102,
-0.013724417,
-0.06728181,
0.015520386,
0.021605235,
0.042218667,
0.08014845,
-0.013563585,
0.011392339,
-0.027046753,
-0.0010387133,
0.005733027,
0.021323778,
-0.063153766,
-0.0021059073,
-0.019179337,
0.04535491,
-0.029995358,
0.005367802,
-0.032112993,
0.023642454,
0.010869632,
0.028842721,
0.0014985951,
0.033104796,
-0.042218667,
0.0017892673,
0.0077668945,
0.012035671,
0.005558791,
-0.009113871,
0.02328058,
-0.02801175,
0.0141265,
-0.0054683224,
0.017128717,
-0.006687973,
0.031791326,
0.011385637,
0.039591726,
0.026658073,
0.02411155,
0.010869632,
-0.050957263,
-0.015024484,
0.05532656,
0.040851586,
0.035436876,
-0.010802617,
0.041414503,
0.033882156,
-0.040020615,
-0.030209802,
0.0001897327,
0.0149306655,
-0.026296198,
0.036696732,
-0.027435431,
-0.021913499,
-0.032220215,
-0.0020791017,
0.002012088,
-0.0935512,
-0.0021712456,
-0.0039973706,
-0.02226197,
-0.0061418107,
0.027448835,
-0.032139797,
-0.026095157,
0.0023907158,
0.021323778,
-0.02274447,
0.022422804,
0.04409505,
-0.019715447,
0.0027827462,
0.013871848,
0.011573276,
-0.0018562811,
0.0035115208,
0.0560235,
0.016941078,
0.031844936,
-0.005036084,
0.057363775,
0.004747925,
0.042701166,
0.019474197,
-0.025143562,
0.076020405,
0.0150110815,
-0.020908292,
-0.031255215,
0.027556056,
-0.0021059073,
0.091513984,
-0.013845042,
0.011419144,
0.06663848,
0.056666832,
-0.030558273,
0.021739263,
0.05704211,
0.020841278,
0.020050516,
0.052780036,
-0.00050846685,
-0.035142016,
0.034123406,
-0.006215526,
-0.031657297,
-0.037634924,
-0.022181554,
0.03833187,
0.029137582,
-0.012685704,
-0.015279137,
0.006074797,
0.011184596,
0.025800297,
-0.016458578,
-0.000017591112,
0.0060479916,
-0.0046641575,
-0.021430999,
-0.029352026,
0.023307385,
0.028869526,
-0.012183101,
0.0039873184,
0.039538115,
0.006590803,
0.021498013,
-0.022690859,
-0.035436876,
0.0017507344,
-0.017061703,
0.021471208,
0.007800401,
-0.041762974,
-0.0036220935,
-0.02348162,
0.03516882,
0.008785504,
0.002459405,
0.082614556,
-0.019219546,
-0.0074318256,
-0.01875045,
-0.038948394,
-0.04570338,
-0.0068220003,
-0.033024378,
-0.052190315,
0.020104127,
-0.041762974,
0.0057162736,
-0.023749676,
-0.014381153,
0.02372287,
-0.05489767,
-0.004747925,
0.0039136033,
0.012370739,
0.0109500475,
-0.004861848,
-0.009576266,
0.016284343,
0.023682661,
-0.025827102,
0.009763905,
0.013375946,
-0.024848701,
0.06342182,
0.049911845,
0.0070163403,
-0.023830092,
0.029110776,
0.01856281,
-0.040905196,
-0.035838958,
-0.015949273,
-0.018589616,
-0.0070029376,
-0.013322335,
-0.028708693,
-0.009763905,
0.03415021,
-0.023495024,
-0.109473675,
0.013020773,
-0.024848701,
-0.04326408,
-0.026805503,
0.0036120415,
-0.008242692,
0.017651424,
0.00040019778,
-0.060687657,
-0.02766328,
-0.017812256,
-0.004272127,
0.009174183,
-0.019112324,
0.012404246,
0.064869314,
0.015573997,
-0.0022952212,
0.034766737,
-0.030799523,
0.009227795,
-0.022476414,
0.004121346,
-0.026684878,
-0.007874116,
0.0132151125,
0.025317797,
0.041414503,
-0.06240321,
0.010179389,
0.03640187,
-0.0080617545,
0.0037326664,
0.00867158,
0.05441517,
-0.016284343,
0.007458631,
-0.0059943805,
0.041762974,
0.008457136,
0.028118972,
-0.03551729,
0.024191966,
-0.032407854,
-0.021591833,
-0.020224752,
0.0058871587,
-0.0019048661,
-0.0011316948,
-0.022181554,
0.015386359,
-0.03511521,
-0.014997679,
-0.036321457,
-0.030156191,
0.083794005,
-0.0034411564,
0.0017758645,
0.026215782,
0.03171091,
-0.006416567,
-0.020881487,
-0.00013528402,
0.012095983,
0.049724206,
-0.016793648,
-0.052940868,
-0.11322644,
0.03715243,
0.05393267,
0.016391564,
0.005150007,
-0.009730398,
-0.04291561,
-0.017383369,
0.018696839,
0.028118972,
0.004768029,
-0.042084638,
0.028574666,
0.045515742,
0.020961903,
-0.04728491,
-0.018013299,
-0.031255215,
0.010641784,
-0.017235938,
-0.011392339,
0.004218516,
0.0025699777,
-0.02752925,
-0.0037192635,
-0.045140468,
-0.073607914,
-0.049456153,
0.019460795,
0.05532656,
-0.019568017,
-0.026041547,
-0.057471,
0.020385586,
0.03696479,
-0.057899885,
-0.0068622087,
-0.01782566,
-0.019273156,
-0.059722662,
0.004603845,
0.0051131495,
-0.04857157,
-0.007170472,
-0.029646887,
-0.020345377,
0.006533841,
-0.0029603327,
-0.0013243593,
-0.03541007,
-0.0012246764,
0.0062825396,
-0.010487653,
0.024460021,
-0.03642868,
0.05489767,
-0.06079488,
0.023173356,
-0.038063813,
0.023173356,
-0.039538115,
0.041977417,
0.043719776,
0.025572449,
0.03444507,
0.010420639,
-0.017906075,
0.03498118,
-0.038707145,
-0.012873342,
0.0224094,
0.006956028,
-0.029834524,
0.018334964,
-0.014448166,
-0.017745243,
0.04744574,
0.031308826,
0.04492602,
0.0238703,
-0.007317902,
0.035544097,
0.0189917,
-0.005227073,
-0.004778081,
-0.03691118,
0.033721324,
-0.005816794,
-0.029995358,
-0.04476519,
-0.029888136,
0.013456362,
0.025223978,
0.016431773,
0.04929532,
0.009489148,
0.022784678,
-0.033882156,
-0.008892725,
-0.036080208,
0.01183463,
-0.010869632,
0.0048283413,
0.024808493,
0.022034124,
-0.028762305,
-0.061491825,
0.000052459207,
0.021270167,
-0.036696732,
-0.0026956284,
-0.043826997,
0.028923137,
-0.01928656,
0.017356563,
-0.0023086239,
0.0058871587,
-0.029298415,
0.054629616,
0.03731326,
-0.015212123,
0.019742252,
0.022047525,
-0.014381153,
0.0355709,
-0.011238207,
-0.05149337,
-0.0360534,
0.004764678,
-0.0018713592,
0.06899736,
0.01913913,
-0.036321457,
-0.016941078,
-0.04934893,
0.016096704,
-0.0016016288,
-0.0074251243,
-0.03862673,
-0.036750343,
-0.009830918,
0.02118975,
0.031925354,
-0.008168977,
-0.0006479393,
-0.052646007,
0.031550076,
-0.05436156,
0.02732821,
-0.014166708,
0.034177016,
-0.0379834,
0.03833187,
0.012605288,
0.017651424,
0.016083302,
0.07194597,
0.00046197607,
0.04709727,
-0.058704052,
-0.047821015,
0.016056497,
-0.014193513,
-0.010702097,
0.034471877,
-0.0120423725,
0.017021494,
-0.014421361,
0.022087734,
-0.003957162,
0.027288001,
-0.030317023,
-0.03463271,
0.020251557,
-0.025572449,
0.006312696,
-0.002255013,
0.03843909,
0.0681932,
0.0068220003,
-0.07918345,
-0.014997679,
0.011660393,
-0.05256559,
0.00284976,
-0.01958142,
-0.023146551,
-0.034471877,
0.0021544923,
0.014555388,
0.0069962363,
0.031871744,
0.08754677,
0.017865868,
-0.011043867,
-0.057363775,
0.042808387,
0.051815037,
0.021015514,
0.031308826,
0.010186091,
-0.01841538,
-0.017276147,
0.0056626624,
-0.025063146,
-0.0047311713,
0.00020449667,
-0.015547192,
-0.0063160467,
0.049134485,
-0.016565802,
-0.053503785,
-0.033399656,
0.008410227,
0.023495024,
-0.032327436,
0.0031915302,
0.065190986,
-0.011747512,
0.056291554,
-0.027167378,
0.007612763,
0.004647404,
0.048383933,
0.02742203,
-0.034284238,
0.008242692,
0.02220836,
-0.040690754,
-0.119552545,
0.024996132,
-0.00594412,
-0.0039705653,
-0.024969326,
-0.00015297985,
-0.05441517,
-0.0067817923,
0.006155214,
0.042004224,
-0.027984945,
-0.0020372183,
0.027247794,
0.01913913,
-0.04463116,
-0.04468477,
0.06374349,
0.0035081701,
-0.0036455484,
-0.08014845,
-0.004067735,
-0.043290887,
-0.017276147,
0.031791326,
-0.0005876269,
0.021310374,
0.03498118,
0.04656116,
0.017329758,
0.01081602,
0.06669209,
0.04321047,
-0.07098097,
-0.020466002,
0.017182328,
0.017061703,
-0.016592607,
0.0076596723,
-0.002489561,
0.0150110815,
-0.016244134,
0.017369965,
-0.007351409,
-0.04623949,
-0.018482395,
-0.027609669,
-0.016324552,
0.058757663,
-0.014810041,
0.011332027,
0.020063918,
-0.00041632296,
-0.009335016,
-0.009589668,
-0.022878496,
-0.003638847,
-0.051278926,
-0.007706582,
0.03093355,
-0.027824111,
-0.021551624,
-0.03755451,
-0.013014072,
0.010614979,
0.023454815,
-0.018978296,
-0.018964894,
0.02328058,
0.045274492,
0.012477961,
-0.003429429,
-0.010688694,
-0.030343829,
0.009482447,
0.01466261,
0.0013922108,
0.03838548,
0.04213825,
-0.019621627,
-0.007183875,
0.010648486,
0.023535231,
-0.068461254,
0.025920922,
0.050984066,
0.013489869,
-0.029727302,
-0.021859888,
0.006610907,
-0.043907415,
-0.017088508,
-0.02640342,
-0.027341614,
-0.019889683,
0.019769058,
0.008577761,
0.04393422,
-0.016914273,
0.021390792,
0.019072115,
0.014595596,
0.025156964,
-0.021095932,
-0.002826305,
0.023749676,
-0.045140468,
0.025384812,
0.01889788,
0.041602142,
0.008544254,
0.016766842,
-0.0038164335,
-0.007579256,
-0.030290218,
0.0022784676,
0.009824216,
0.056130722,
0.013436258,
0.021430999,
0.00042218665,
-0.00009282452,
-0.051654205,
0.0365359,
-0.043049637,
-0.021136139,
-0.024580646,
-0.012886746,
-0.01826795,
0.021591833,
-0.032407854,
-0.007418423,
-0.01086293,
-0.014769832,
-0.009361822,
0.0189917,
0.04704366,
0.018871075,
-0.02479509,
-0.042084638,
0.0058536516,
-0.023066135,
-0.045569357,
-0.035061598,
-0.00015266571,
0.0077668945,
0.019514406,
0.011117582,
-0.009891231,
-0.0017808906,
0.0003899363,
0.038546313,
-0.019862877,
0.023012524,
-0.025170367,
0.024808493,
0.025344603,
0.049643792,
-0.009127274,
0.03717923,
0.012250115,
-0.0043022833,
-0.00082510686,
0.014461569,
0.017115314,
-0.030745912,
0.040154643,
0.01739677,
-0.008195782,
0.0029067218,
0.0136440005,
-0.008209186,
0.051895455,
0.012806329,
0.062135156,
0.012069178,
0.031523272,
0.006225578,
-0.032086186,
-0.0022617143,
0.012672301,
-0.0015949274,
0.0150110815,
0.049992263,
-0.0136037925,
0.011318623,
-0.010594875,
0.04516727,
0.012089281,
-0.016833855,
-0.027073558,
-0.05323573,
-0.029110776,
0.047821015,
0.0014357697,
-0.039323673,
0.016083302,
-0.009093767,
0.053959478,
0.032836743,
-0.018053506,
0.034820348,
0.024191966,
0.077682346,
-0.020184543,
0.032247018,
0.02303933,
0.029780913,
-0.035678126,
0.018428784,
-0.034177016,
-0.0150110815,
-0.014461569,
0.0057263253,
-0.010742305,
0.017892674,
0.028253,
-0.042406306,
0.024366202,
-0.025813699,
0.012330531,
-0.060902104,
0.037715342,
-0.040181447,
-0.019568017,
0.018040104,
-0.002980437,
-0.0104407435,
0.013101189,
-0.0014382828,
-0.0006165266,
0.024580646,
0.049268514,
0.02026496,
0.055648223,
0.017865868,
0.012792926,
-0.022623844,
-0.03599979,
-0.055219337,
-0.004097891,
0.043103248,
-0.0078272065,
-0.016793648,
-0.034525488,
-0.033265628,
0.029486053,
0.04516727,
-0.010306716,
-0.04398783,
-0.0002827143,
0.02766328,
-0.026765294,
-0.020854682,
0.07714624,
0.047365323,
0.0070498474,
-0.048651986,
-0.010836124,
-0.0062356303,
-0.009046857,
-0.03688437,
0.02718078,
0.015573997,
-0.017329758,
0.0075189434,
-0.02133718,
-0.021980513,
0.0013528402,
-0.023883702,
-0.043961026,
0.0008837439,
0.03975256,
0.00672148,
0.04648074,
-0.0027777203,
0.010996957,
0.012598586,
0.077682346,
-0.0024761583,
0.057953496,
0.0389752,
-0.021846484,
0.0023890405,
-0.023119746,
-0.017772049,
0.032193407,
0.020988708,
0.015372956,
-0.023736272,
-0.08004123,
-0.015788442,
0.015748233,
0.03589257,
-0.07859373,
0.013275425,
-0.027288001,
-0.040797975,
-0.044255886,
-0.065351814,
-0.06025877,
0.024124952,
-0.025626061,
-0.04438991,
0.01144595,
-0.0041179955,
0.20693848,
0.007116861,
0.017222535,
0.0023739624,
0.017959686,
0.029968552,
0.05425434,
-0.009603071,
0.039725754,
-0.0754843,
0.032381047,
-0.034847155,
0.012839836,
0.029593276,
-0.0022449607,
0.03307799,
-0.00090049737,
-0.022570234,
0.023079539,
-0.014461569,
-0.06267127,
0.023052732,
0.015091498,
0.045810603,
-0.005320892,
-0.0072910967,
0.017772049,
-0.059561826,
0.004037579,
-0.039082423,
0.027261196,
-0.022757871,
-0.01198206,
0.0039538117,
-0.026390018,
0.07607402,
-0.0045569353,
-0.026323004,
-0.013677508,
-0.030611884,
0.02771689,
-0.012611989,
0.015748233,
-0.011908345,
0.013965667,
0.039430894,
0.023642454,
-0.004808237,
0.048544765,
-0.01149286,
0.007244187,
-0.04720449,
0.013483168,
0.011459352,
-0.02723439,
0.06524459,
-0.0019015154,
0.015104901,
-0.017182328,
0.031121189,
0.0056392075,
0.012223309,
-0.031308826,
-0.034364656,
-0.045381717,
-0.0047278204,
0.010695396,
0.016713232,
-0.0045133764,
-0.045328107,
-0.019447392,
-0.0003327652,
-0.031952158,
-0.02738182,
0.007170472,
0.020801071,
0.007136965,
0.0032836741,
0.025156964,
-0.03715243,
0.018737046,
0.0033825194,
0.02372287,
-0.0375009,
0.023682661,
0.03498118,
-0.02830661,
-0.018254548,
-0.041977417,
0.030585079,
0.019648433,
0.010943347,
-0.009944841,
-0.010152584,
0.010896437
] | accelerate config
Test your setup to make sure it is configured correctly:
accelerate test
Now you are ready to launch the training: |
[
0.04438753,
0.012086506,
0.001394387,
0.017362073,
0.019254,
-0.0062761055,
-0.012850554,
-0.01210106,
0.008659206,
0.034229334,
-0.029135684,
0.0088775065,
-0.0060578063,
-0.018919274,
-0.007946095,
-0.026356006,
-0.016445216,
-0.03885728,
-0.047909427,
0.029979775,
-0.031609744,
0.026530646,
-0.07893704,
-0.025410041,
-0.017667692,
-0.022644917,
-0.011082329,
0.006123296,
0.054458406,
0.010172749,
-0.008113459,
-0.020374604,
-0.032977752,
-0.025599234,
0.0057303575,
0.004213177,
0.016576195,
0.0036073965,
-0.06613015,
-0.03597573,
-0.029281216,
-0.008659206,
0.025439149,
0.0038347915,
-0.052741118,
-0.0010423793,
0.011671738,
0.019748813,
-0.015513806,
-0.008258991,
0.013971157,
0.043572545,
0.037984084,
0.008833846,
-0.012799617,
-0.057543702,
-0.038158722,
0.0018473581,
-0.028684532,
0.003705631,
-0.006559895,
0.03920656,
-0.037722126,
-0.05844601,
0.030852972,
0.008128012,
-0.009859853,
-0.019195788,
-0.034054697,
-0.047589254,
-0.066013716,
0.019108469,
-0.010129089,
-0.0152664,
-0.063626975,
0.017769566,
0.05128579,
-0.006898259,
-0.018206164,
0.024464078,
0.016896369,
0.035189852,
0.002144791,
-0.0027724016,
-0.046832483,
-0.046745162,
0.047996745,
-0.0009291365,
-0.004460583,
-0.009015762,
-0.042641137,
0.017842332,
-0.037343737,
-0.0144732455,
0.02066567,
0.01938498,
0.007247538,
0.010987733,
0.005330142,
0.020389156,
0.049801353,
0.05966848,
-0.0033254265,
0.03088208,
-0.019574173,
0.049946886,
0.060599893,
-0.055709988,
-0.0097361505,
-0.008375417,
-0.015644785,
-0.0017318414,
0.034171123,
-0.030387266,
-0.017420286,
0.030212628,
0.0140803065,
-0.002179355,
-0.057980303,
-0.025875747,
0.00951785,
-0.0050354376,
0.0062979357,
-0.058329582,
0.0029306684,
-0.050121527,
-0.021335121,
0.027418396,
-0.019443193,
-0.011744504,
-0.013949327,
0.0035382684,
0.009299551,
0.02912113,
-0.0130615765,
-0.019938005,
-0.0034491294,
-0.01099501,
0.011569864,
-0.03146421,
0.02066567,
-0.0034509485,
-0.020505583,
0.076375656,
-0.0005966848,
0.008812016,
-0.02398382,
-0.017565819,
-0.028917385,
0.0517806,
-0.05323593,
0.000037093832,
0.0009978098,
0.027854994,
-0.02717099,
-0.024260333,
-0.027141884,
-0.017813224,
0.0051555024,
0.04776389,
-0.025861194,
0.02699635,
-0.023532668,
0.043019522,
0.0371691,
0.067585476,
-0.047036227,
-0.014276776,
-0.043019522,
-0.060483467,
-0.0033599904,
-0.027301969,
0.013425409,
-0.008368141,
0.038944602,
0.02721465,
0.003241745,
-0.0076841363,
-0.0062761055,
0.015280953,
-0.0067163426,
0.015033547,
0.016910922,
-0.0027269225,
-0.015994065,
-0.010987733,
0.020854862,
0.014749758,
-0.03239562,
-0.0010687571,
0.019224893,
0.03731463,
-0.0522172,
0.00095869787,
-0.027811334,
-0.027593035,
-0.017507605,
-0.00960517,
0.027447503,
-0.028335253,
-0.0065307883,
0.0411567,
-0.03655786,
-0.0017291126,
0.0016845431,
0.008593717,
0.00986713,
0.05713621,
0.025744768,
0.0007881515,
0.040865634,
0.022062786,
0.009343212,
0.035189852,
0.02695269,
-0.031580634,
-0.06356876,
-0.026588859,
-0.0031871703,
-0.023867393,
0.007465837,
0.0054247384,
0.037984084,
0.024711484,
0.06624657,
0.014480522,
-0.010980456,
0.04619214,
-0.0062069776,
0.05690336,
0.026094045,
0.03545181,
-0.005282844,
0.05966848,
0.008375417,
0.03257026,
0.025410041,
-0.004627946,
-0.011649908,
0.017755013,
0.009634277,
0.012057399,
0.028597211,
0.053410567,
-0.00758954,
0.031173144,
-0.007273006,
0.019181235,
0.030503692,
0.038391575,
-0.055768203,
0.029717816,
0.011089606,
0.0078223925,
-0.057892982,
-0.016648961,
0.024464078,
0.024696931,
0.029979775,
-0.0012561308,
0.0017127402,
0.031959023,
-0.013236216,
-0.023590881,
0.047414616,
0.038653534,
-0.0122029325,
0.004202262,
0.010158195,
-0.006254276,
-0.00038156903,
-0.048928156,
-0.07427999,
-0.05594284,
-0.028378913,
-0.0037765785,
-0.012319359,
-0.041797046,
-0.031580634,
-0.034636825,
0.005501143,
0.02305241,
-0.008047968,
0.056524973,
-0.01082037,
0.032919537,
-0.023241602,
0.0029033811,
-0.036616076,
0.005366525,
-0.034054697,
-0.04200079,
0.013090683,
-0.00650532,
0.022732237,
0.0033163307,
0.014189457,
-0.0035073427,
-0.030037988,
0.012246592,
-0.017027348,
0.007076537,
0.041185807,
0.0036001198,
-0.011147819,
0.008426354,
0.031813487,
-0.02049103,
0.039701372,
-0.0059486567,
0.0013971156,
0.039352093,
0.019967113,
0.013483622,
-0.028742746,
0.029412197,
0.0057085273,
-0.036441434,
-0.025511915,
-0.030561905,
-0.074862115,
-0.0021175034,
0.0015217282,
-0.040545464,
0.021378782,
0.034898788,
-0.034927893,
-0.09884594,
-0.0095032975,
-0.03434576,
-0.00047525583,
-0.02014175,
0.021873593,
0.013476345,
-0.01090769,
0.0037001737,
-0.06321949,
0.011628077,
-0.009314105,
0.025337275,
-0.017944206,
0.012843277,
0.00060123275,
0.027418396,
0.013258046,
0.0140439235,
0.0236782,
-0.0367325,
-0.006945557,
-0.0071784095,
0.06607193,
-0.014000264,
0.037954975,
0.039410304,
0.045202516,
-0.0057776556,
0.0035473641,
0.022164658,
0.010012663,
-0.0048244153,
-0.014895291,
0.021524314,
0.023270708,
-0.03018352,
-0.024391312,
0.013527282,
0.03393827,
0.008011585,
0.0411567,
-0.039730478,
0.041913472,
0.008579164,
-0.03434576,
-0.02261581,
0.014858908,
-0.021495206,
0.028742746,
0.03885728,
0.032919537,
-0.0017309318,
-0.022266531,
-0.0073021124,
-0.013701921,
0.043485228,
0.04124402,
0.011002286,
0.045377154,
0.029004704,
0.022412064,
-0.011169649,
0.007953372,
0.021131376,
0.017609479,
-0.017667692,
-0.016387003,
-0.07882061,
0.03190081,
0.057281744,
0.033967376,
0.02252849,
0.027243756,
-0.03530628,
0.031842597,
0.028742746,
-0.0008973012,
-0.012282976,
-0.05585552,
0.058213156,
0.022994196,
0.037984084,
-0.014189457,
-0.030736545,
-0.0073021124,
0.003116223,
-0.024260333,
0.00075040397,
-0.022077339,
-0.020374604,
0.014233116,
0.0053265034,
-0.02181538,
-0.022775896,
-0.025017103,
-0.00015201364,
0.033297922,
-0.011307905,
-0.0009227694,
-0.07014685,
0.054458406,
-0.0029688708,
-0.0053847167,
-0.012610424,
-0.05102383,
-0.027709462,
-0.031027611,
0.03486968,
0.031085825,
-0.02548281,
-0.00054847705,
-0.032686684,
-0.021189589,
0.0068509607,
0.029455855,
0.0030580098,
0.01699824,
-0.015077207,
0.025744768,
0.0013643708,
0.02235385,
-0.031260464,
0.033065073,
-0.0261086,
0.05282844,
-0.025249956,
0.010492921,
-0.019079361,
0.00971432,
0.04872441,
0.02695269,
0.047909427,
0.00073448627,
-0.007287559,
0.0029888817,
-0.015659338,
-0.03350167,
0.050470803,
-0.0042240922,
0.0069273654,
0.037081778,
-0.05780566,
0.02292143,
-0.0038893663,
0.025337275,
-0.025031656,
-0.015149973,
-0.023707308,
-0.0030798397,
-0.0060614445,
-0.0140512,
-0.0018509964,
-0.023445347,
0.032162767,
-0.006123296,
-0.02049103,
-0.015018994,
-0.03615037,
-0.0065307883,
0.013621878,
-0.04584286,
0.013381748,
-0.0065671713,
-0.008339034,
-0.016401555,
-0.05061634,
-0.038973708,
0.005603016,
-0.007553157,
0.011402502,
0.034811467,
0.0074731135,
0.0050063315,
-0.083710514,
-0.02014175,
0.062986635,
-0.059028137,
0.020520138,
-0.059057243,
-0.019952558,
0.021218695,
0.005457483,
0.0053738016,
-0.0017509426,
-0.026792604,
0.019501407,
0.03588841,
0.0017573095,
-0.014829801,
-0.0036965352,
0.013767411,
0.052712012,
-0.0064543835,
-0.038944602,
0.018540889,
0.017056454,
0.027287416,
0.009961726,
0.035510026,
-0.049131904,
-0.03443308,
-0.04965582,
0.055215176,
0.0117736105,
-0.016678069,
-0.036848925,
-0.040836528,
-0.027491162,
0.022586703,
0.01314162,
-0.013731028,
0.030037988,
-0.026981797,
0.02305241,
-0.08260447,
-0.0013598229,
-0.008921166,
-0.0017272935,
-0.05247916,
0.018395357,
0.016125044,
0.021800825,
0.034025587,
0.024493184,
-0.019923452,
0.007327581,
-0.036325008,
-0.031667955,
0.023416242,
0.016270576,
0.02628324,
0.0001123332,
0.011715397,
0.032512046,
-0.032919537,
0.007647753,
-0.0093068285,
-0.026312346,
-0.05448751,
-0.019093914,
0.015411933,
-0.05774745,
-0.015237293,
0.00856461,
0.013927497,
-0.004191347,
-0.0035218957,
-0.027942315,
0.023066962,
0.019705152,
-0.03996333,
0.013112513,
-0.0398178,
-0.016256023,
-0.011598971,
-0.021116821,
0.023590881,
-0.05952295,
0.034898788,
0.08103271,
-0.013731028,
0.026923584,
-0.06420911,
0.016387003,
0.018511783,
-0.037023567,
-0.010383772,
-0.014800695,
-0.047152653,
-0.0014635151,
-0.000015931872,
-0.03545181,
-0.033006858,
0.042146325,
0.020330945,
-0.052450053,
0.045959286,
0.02478425,
-0.02292143,
-0.073348574,
0.035742875,
-0.0023194305,
0.022805003,
-0.0007103824,
0.023780074,
0.023881946,
0.008957549,
-0.05477858,
-0.014560565,
-0.004325965,
0.062113434,
0.0004893543,
-0.021058608,
-0.00435871,
0.016910922,
-0.038799066,
-0.09034681,
0.019108469,
-0.007080175,
0.005741272,
-0.008302651,
-0.04106938,
0.026967244,
-0.059901334,
0.027025457,
0.04168062,
-0.030037988,
-0.015120867,
0.016459769,
0.0283207,
-0.030154414,
0.003716546,
0.059581164,
-0.029746922,
0.0049117347,
-0.05416734,
0.03070744,
-0.029353984,
-0.0053847167,
0.029921561,
0.0012806894,
0.0061487644,
0.012959704,
0.0027287416,
0.0712529,
-0.027505716,
0.0018337143,
0.052158985,
-0.030561905,
-0.0053446954,
-0.03801319,
0.014960781,
0.014676992,
0.009707044,
0.012763234,
0.020738436,
0.027374735,
0.0415933,
0.0072220694,
-0.056932464,
-0.015411933,
-0.001005996,
-0.0017691342,
0.018933829,
-0.010449261,
-0.006810939,
0.03207545,
0.016299684,
-0.07206789,
-0.027767675,
-0.0022375681,
0.008928442,
-0.011679014,
-0.05527339,
-0.018671868,
-0.047123548,
0.012028293,
-0.043514334,
-0.018439017,
0.024100246,
0.059901334,
-0.013076129,
0.019006595,
0.015455592,
0.008324481,
0.05474947,
-0.0006753635,
-0.030998504,
-0.0037802167,
0.018962935,
0.01619781,
0.0034745976,
0.02270313,
0.05035438,
-0.07107826,
0.017682245,
0.0050790976,
-0.009379595,
-0.038799066,
0.05920278,
0.036033943,
0.00995445,
-0.0048280535,
-0.021567974,
0.03620858,
-0.036033943,
-0.0566414,
-0.035335384,
-0.011657184,
0.017667692,
0.026385112,
-0.00026673448,
0.039090134,
0.017711353,
-0.00013007001,
-0.0123630185,
0.022295639,
0.010420155,
0.013476345,
0.008288098,
0.032162767,
-0.0010432889,
-0.029455855,
0.046745162,
0.016125044,
0.010492921,
0.013439962,
0.015149973,
-0.0007067441,
-0.020985842,
0.013439962,
-0.023663647,
0.034927893,
0.050296165,
0.018337144,
-0.012734127,
-0.018599102,
-0.038915493,
0.0002765125,
-0.0451443,
-0.014429586,
0.034054697,
-0.019443193,
0.015193633,
-0.0061269347,
-0.01862821,
0.00084181677,
0.020898523,
0.0106821135,
-0.0038711748,
0.0010478367,
0.015120867,
0.02101495,
-0.048025854,
-0.0024813358,
0.009386871,
-0.010849477,
-0.03486968,
-0.031522423,
0.033327032,
0.06164773,
0.00758954,
-0.011176925,
-0.051402215,
-0.036237687,
-0.00013632339,
0.010987733,
-0.015790317,
0.03862443,
-0.03190081,
0.0143131595,
-0.030125307,
0.032919537,
0.010099982,
0.024318546,
0.029223004,
0.015775764,
0.023416242,
0.0029943392,
-0.018133398,
-0.024551397,
0.017609479,
0.03731463,
0.0012788703,
0.0026959968,
-0.021451548,
0.015382826,
0.0376057,
0.043572545,
0.035742875,
-0.01079854,
0.039352093,
0.017420286,
-0.0062942975,
-0.012843277,
0.041709725,
0.029048365,
0.007938819,
-0.0047152657,
0.005402908,
0.010216408,
-0.0036310456,
0.012646807,
0.007844223,
-0.034403972,
0.0064143618,
-0.022965088,
-0.011125989,
0.010747603,
-0.002901562,
-0.015484699,
0.02845168,
0.004031261,
0.030765653,
0.030096201,
0.019865239,
0.03443308,
0.020811202,
0.03163885,
0.0073712408,
0.027112776,
-0.007487667,
0.06793475,
-0.034491293,
0.049626715,
-0.049626715,
-0.02402748,
-0.042815775,
0.028160613,
-0.013083407,
0.034578614,
0.00969249,
-0.022150105,
0.034927893,
-0.007385794,
-0.02495889,
-0.0544293,
0.0015999521,
-0.051664174,
0.009532404,
-0.0030452756,
-0.021218695,
-0.02797142,
0.01806063,
0.023430794,
-0.01294515,
0.010085429,
0.055389818,
0.035422705,
0.08353588,
0.030969398,
0.037984084,
-0.037460163,
-0.009001209,
-0.05247916,
-0.006690874,
0.022965088,
-0.012901491,
-0.0041040275,
-0.015935851,
-0.015950404,
0.05151864,
0.052158985,
0.032104556,
-0.07003042,
0.041855257,
0.012188379,
0.035335384,
0.00050618156,
0.09133644,
0.014684268,
-0.0174785,
-0.020054432,
-0.0172602,
-0.06677049,
-0.018162504,
-0.035917517,
0.022441171,
-0.0037129077,
-0.032919537,
-0.02584664,
-0.041797046,
-0.010900413,
0.0010505655,
-0.007407624,
-0.06479124,
0.03137689,
0.02261581,
0.057951193,
-0.006428915,
-0.02332892,
-0.034491293,
0.033297922,
0.03580109,
-0.021757167,
0.08272089,
0.03428755,
0.0022575788,
-0.015077207,
0.006559895,
-0.0031144037,
0.012617701,
-0.044067357,
0.01875919,
0.032279193,
-0.044853237,
-0.06368519,
0.0053592487,
0.019137574,
-0.009117635,
-0.025322722,
-0.034636825,
-0.038508,
-0.078587756,
-0.004256837,
-0.014749758,
0.035655558,
-0.06874973,
-0.042903095,
-0.009481467,
-0.038915493,
0.2517137,
0.05655408,
0.06537337,
-0.00648349,
0.015033547,
-0.0037110886,
0.004777117,
-0.022033678,
0.0043077734,
-0.04721087,
0.03399648,
-0.03996333,
0.0003640596,
0.00026923584,
-0.03725642,
0.043834504,
-0.027403843,
-0.010529304,
-0.00033813657,
-0.025948513,
-0.05856243,
0.04200079,
-0.02942675,
0.06997221,
0.00871742,
-0.009081252,
0.024449525,
-0.063743405,
0.012872384,
-0.023707308,
-0.013709198,
-0.021087715,
0.013156173,
-0.0020738437,
-0.039992437,
0.044416636,
0.01190459,
-0.045464475,
0.013476345,
-0.048491556,
-0.005453845,
0.0049990546,
-0.0012333912,
-0.01823527,
-0.013585495,
-0.00053892646,
-0.0014134882,
0.030620119,
0.048287813,
-0.07608459,
0.022382958,
-0.018686423,
0.019923452,
-0.03545181,
-0.07457105,
-0.024682377,
0.0012015558,
-0.029281216,
0.021888146,
0.02717099,
0.0305328,
-0.008899336,
0.0013179822,
0.023387134,
-0.044765916,
0.025293615,
-0.035480917,
0.024376757,
-0.0033800013,
-0.02682171,
0.018919274,
-0.02155342,
-0.041302234,
-0.015208187,
-0.0063707023,
0.037139993,
0.026443325,
0.022048233,
0.0196906,
-0.06624657,
0.010987733,
-0.0055120583,
-0.013439962,
-0.0060214233,
-0.022281084,
0.030387266,
-0.043077733,
0.018162504,
-0.042990413,
0.036441434,
0.021917252,
0.037198205,
-0.016256023,
0.019021148,
0.031027611
] | accelerate test
Now you are ready to launch the training:
accelerate launch run_summarization_no_trainer.py \
--model_name_or_path google-t5/t5-small \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir ~/tmp/tst-summarization
Use a custom dataset
The summarization script supports custom datasets as long as they are a CSV or JSON Line file. When you use your own dataset, you need to specify several additional arguments: |
[
0.038314175,
0.012811927,
-0.07565547,
-0.008033386,
-0.0060232515,
0.00582653,
-0.0020172885,
-0.008977649,
0.012761853,
0.039601803,
-0.013813418,
-0.0060017905,
0.03722684,
-0.05253534,
-0.0013323403,
0.021932647,
-0.012726085,
-0.06043281,
-0.07582715,
0.0097216135,
0.0088560395,
0.025724005,
-0.07605606,
-0.055711497,
-0.014028023,
0.003151119,
0.0071320445,
-0.041490328,
0.02828496,
0.053765744,
-0.027269162,
0.025752619,
-0.03679763,
-0.036139507,
-0.0013654253,
-0.038600314,
-0.004968109,
0.017812228,
-0.041461714,
-0.03230523,
0.0022301052,
-0.004610434,
-0.027369311,
0.023649488,
-0.09568528,
-0.026367819,
0.026768416,
-0.014414312,
0.0010211628,
0.018599113,
0.012046503,
0.051161867,
0.0037520134,
-0.01975798,
-0.06317975,
0.025538012,
0.0008678096,
-0.007983312,
-0.0011391956,
-0.024679592,
0.014907905,
0.006055442,
-0.0062235496,
-0.028699862,
-0.0057549947,
0.03822833,
-0.028499564,
-0.038056646,
-0.005104026,
-0.019357385,
-0.020358875,
0.032906123,
-0.015351422,
-0.029300757,
-0.05785755,
0.05402327,
0.02559524,
0.03393623,
-0.011231003,
0.0308173,
0.01608108,
0.058372602,
0.013749037,
0.04077498,
-0.0369407,
-0.02981581,
0.047957096,
-0.02526618,
-0.035252474,
-0.044666484,
-0.01373473,
-0.0033728776,
-0.008913267,
0.019915357,
0.017053956,
0.01641014,
-0.028056046,
0.015222658,
0.024908505,
0.0094426265,
0.024178848,
0.06895979,
-0.031132054,
0.03751298,
-0.037713278,
0.022676611,
0.031561263,
-0.015050975,
-0.022333242,
-0.041576173,
-0.016023852,
-0.00326021,
0.0079904655,
0.024608057,
-0.016996728,
0.00653115,
0.006634876,
-0.022934137,
-0.016181229,
-0.018885253,
-0.006760062,
-0.039401505,
-0.018785104,
-0.02861402,
0.02105992,
-0.03333533,
-0.012153805,
0.027769906,
-0.038457245,
-0.0059016417,
0.0034479895,
0.015036668,
0.016195536,
0.05187722,
-0.012032196,
-0.0036769016,
-0.0032691518,
0.017969605,
0.039058138,
-0.032133546,
0.007690018,
-0.046240255,
-0.0036393458,
0.094197355,
0.006312968,
-0.03573891,
-0.0016801795,
-0.06329421,
-0.026882872,
0.030788686,
-0.047070064,
-0.013033686,
-0.02043041,
0.012819082,
-0.029558282,
0.02565247,
-0.0072786915,
0.03871477,
0.040002402,
-0.0048643835,
-0.008949035,
-0.020616401,
0.0022855448,
0.023148742,
0.010937709,
0.0538802,
-0.06598393,
-0.034279596,
0.013634581,
-0.021317445,
0.037112385,
0.011595831,
0.017053956,
-0.008970495,
0.060833406,
0.021846805,
0.039401505,
-0.0108518675,
0.01808406,
-0.0015693002,
-0.010451271,
0.020745164,
0.0024304034,
0.014678992,
0.0031099864,
0.010100749,
0.009650079,
0.017869456,
-0.032648597,
0.016810738,
0.008419676,
0.027812827,
-0.053136237,
0.042549048,
-0.017855149,
-0.012010735,
-0.023763943,
-0.004034577,
-0.0032298076,
-0.040660523,
0.028556792,
0.035996437,
-0.007425338,
-0.011087933,
0.031647105,
0.00256632,
0.035481386,
0.067128494,
0.023692409,
-0.0128620025,
0.07725786,
-0.0035856944,
-0.021718042,
0.03751298,
0.0111594675,
0.025480784,
-0.017425938,
0.000064549204,
-0.005747841,
0.0136989625,
0.021145761,
0.01736871,
0.0045174384,
0.015780631,
0.032276616,
-0.040660523,
-0.014371391,
0.03422237,
0.011502836,
0.011781823,
0.000022396618,
0.022619383,
-0.048300467,
0.05104741,
-0.023849785,
-0.010515653,
-0.009750227,
0.017068263,
-0.0340793,
0.01304084,
0.013598813,
0.016324298,
0.01971506,
0.037913576,
0.014535923,
-0.018312972,
0.0037341297,
-0.0014557383,
-0.024236076,
0.039344277,
-0.04077498,
0.04635471,
0.012683164,
-0.033564247,
-0.05239227,
-0.0070104348,
0.01279762,
-0.00090402423,
-0.00791893,
0.008140689,
0.005883758,
0.014557383,
-0.032419685,
-0.018012526,
0.03513802,
0.059517164,
-0.027154705,
0.013191063,
0.02071655,
-0.012804774,
-0.034394052,
-0.033821773,
-0.05445248,
-0.035109404,
-0.055854566,
0.010880481,
-0.0002063339,
-0.036826245,
-0.00026222068,
-0.02377825,
0.023191663,
0.045753818,
-0.0042885263,
0.027183319,
0.005061105,
0.01389926,
-0.035023563,
0.0018795835,
-0.031704333,
-0.005812223,
-0.0432644,
-0.015780631,
0.01622415,
0.008569899,
0.048844133,
0.009406859,
0.020315954,
-0.009907604,
-0.0011463492,
0.0381711,
0.017096877,
-0.027526688,
-0.0023356194,
-0.006330852,
-0.012997919,
0.014521616,
0.037684664,
-0.07525487,
0.024336224,
0.027040249,
-0.022876909,
0.019328771,
0.0015469454,
0.02732639,
-0.028342187,
0.028971696,
0.00332638,
-0.04727036,
-0.055110604,
-0.060375582,
0.01455023,
-0.0037806274,
-0.039687645,
-0.046926994,
-0.01573771,
0.03287751,
-0.057828937,
-0.060261127,
0.040031016,
-0.004320717,
-0.0032584216,
-0.015752017,
0.013083761,
0.008047693,
-0.011974967,
0.03096037,
-0.04518154,
0.026239056,
0.0065561873,
0.00050924014,
-0.015050975,
0.010093596,
0.041461714,
0.03588198,
0.017683465,
0.024050085,
0.023406269,
-0.047384817,
0.0032029818,
-0.0009120719,
0.0048107323,
-0.034708805,
0.0024375569,
0.027483767,
0.008247991,
0.015623255,
-0.030931756,
0.024379145,
-0.009871837,
0.037398525,
0.0145931505,
0.03885784,
0.043664996,
0.00044016412,
-0.017053956,
-0.003265575,
-0.007310882,
-0.008219377,
0.036912087,
-0.049702555,
0.020459024,
-0.038600314,
-0.04955948,
-0.014421466,
0.007732939,
-0.020902542,
0.024536522,
0.032076318,
0.0024053662,
0.02177527,
-0.04077498,
0.0068172906,
0.013198216,
0.03937289,
0.027841441,
0.011974967,
0.036282577,
0.019486148,
0.021331752,
-0.032505527,
-0.024650978,
0.05282148,
0.03259137,
-0.011953507,
-0.02110284,
-0.05267841,
0.03239107,
0.06192074,
0.013842032,
-0.007933237,
0.032934736,
-0.04727036,
-0.001069449,
-0.008283759,
0.0151511235,
-0.035967823,
-0.038943682,
0.03871477,
0.03179018,
0.013641735,
-0.04498124,
0.006169898,
-0.024608057,
0.0019797324,
0.013026533,
0.010923402,
-0.027769906,
-0.0128620025,
-0.02498004,
0.038514473,
-0.036883473,
-0.05722804,
-0.03551,
-0.014485848,
0.09602865,
-0.034565736,
-0.027097477,
-0.039630417,
0.011874818,
0.017640544,
-0.0085627455,
-0.0052578263,
-0.010229512,
-0.015637562,
-0.030845914,
0.0044351732,
0.03344979,
0.0011284654,
0.002205068,
-0.058458444,
-0.036253963,
0.025924303,
0.008011926,
-0.0224477,
-0.03124651,
-0.0068137133,
-0.012475713,
-0.024150234,
0.02483697,
0.003036663,
0.026239056,
-0.060776178,
0.04621164,
-0.03287751,
0.016767817,
-0.037827734,
0.002537706,
0.06192074,
0.043121327,
0.05842983,
-0.04272073,
0.0038092413,
0.022047102,
-0.050875727,
-0.017683465,
0.017740693,
0.017468859,
0.0019886745,
0.034937717,
-0.027412232,
-0.012354103,
0.037055157,
0.0073752636,
-0.02071655,
0.0216322,
-0.023420576,
-0.020487638,
0.017640544,
0.0002818928,
0.016739203,
-0.045639362,
0.04028854,
-0.0029490325,
0.019385999,
-0.0047463505,
-0.06724295,
-0.031275123,
0.0169395,
0.009578544,
0.05181999,
-0.0038700462,
0.025709698,
0.021174375,
-0.021846805,
-0.0037019388,
-0.020129964,
-0.023721023,
0.025223259,
0.058315374,
0.055396743,
-0.04732759,
-0.056054864,
-0.027254853,
0.07479705,
-0.0626647,
-0.0020423257,
-0.032362457,
0.020759473,
0.011323999,
-0.03522386,
-0.020559173,
0.0002135992,
-0.017740693,
0.019414613,
0.017697772,
-0.0010202687,
-0.016953807,
-0.007854548,
-0.012311182,
0.07096277,
-0.029987494,
-0.030988984,
-0.039773487,
-0.0025359176,
0.008126382,
0.012160959,
0.025895689,
-0.04243459,
-0.026639653,
-0.039258435,
0.034107912,
-0.05602625,
-0.0038020879,
-0.04498124,
-0.08006203,
-0.015351422,
0.017397324,
0.03210493,
-0.04606857,
0.04867245,
-0.056741603,
0.005300747,
-0.06192074,
0.022605076,
0.00077168434,
-0.019214315,
-0.009871837,
0.056484077,
-0.0026789876,
-0.0023123706,
0.004120419,
0.06335144,
0.001406558,
0.029129073,
-0.040002402,
-0.03096037,
0.03671179,
0.016581824,
0.0018473926,
-0.011746055,
0.0142998565,
0.027955897,
-0.008798812,
0.010029214,
-0.02057348,
-0.022833988,
-0.03138958,
-0.02426469,
0.034622964,
-0.038514473,
0.003549927,
-0.00582653,
0.013427129,
0.012790467,
0.06924593,
-0.027068863,
0.024393452,
0.0105871875,
-0.08235115,
0.026367819,
-0.0028166927,
-0.021117147,
-0.008712969,
0.019543376,
0.023320427,
-0.026954407,
-0.0028166927,
0.049158886,
0.011860511,
-0.0047713877,
-0.040803593,
0.049988694,
0.022118637,
-0.016968114,
-0.0013269752,
-0.028556792,
-0.04154756,
-0.022175865,
0.013055147,
-0.050332062,
-0.03522386,
0.043808065,
0.032648597,
-0.06787246,
0.031647105,
-0.0085770525,
-0.024278997,
-0.046039958,
0.037255455,
0.020129964,
0.028556792,
0.028885853,
0.0097216135,
0.0057728784,
-0.0006156485,
-0.025094496,
-0.024464987,
0.012025042,
0.046383325,
-0.035681684,
-0.022576462,
0.024865584,
0.018484658,
-0.04440896,
-0.06598393,
0.024278997,
0.016839352,
0.029873038,
-0.0047606574,
-0.014056638,
-0.022819681,
-0.04277796,
-0.017325789,
0.058029234,
-0.024064392,
-0.041032504,
0.029701352,
0.026067372,
-0.040460225,
-0.023620874,
0.037999418,
0.0032709402,
-0.009950525,
-0.015093896,
0.0058193766,
-0.027870055,
-0.04057468,
0.053536832,
-0.030359475,
0.014357084,
0.04435173,
0.0022569308,
0.030130563,
-0.028199118,
0.033821773,
0.010157977,
-0.0142855495,
-0.050847113,
-0.056913286,
-0.0007166918,
0.015566027,
0.009900451,
0.0015728769,
0.011645907,
0.0031618492,
0.011138007,
-0.022562156,
-0.06420986,
-0.022132944,
-0.03350702,
-0.018026832,
0.046497785,
-0.0064310012,
-0.014235475,
0.002267661,
0.000008327127,
-0.060032215,
-0.019557683,
-0.021202989,
-0.05522506,
0.00028837568,
-0.064724915,
-0.01026528,
-0.04606857,
-0.006477499,
-0.056913286,
-0.011238157,
0.019343078,
0.037913576,
-0.008362448,
0.02779852,
-0.011087933,
0.008362448,
-0.0151511235,
0.00082712405,
-0.0024590173,
0.03602505,
-0.017783614,
0.07399586,
0.017969605,
0.043722223,
0.02932937,
-0.021503435,
-0.0066098385,
-0.00052533555,
-0.0151511235,
0.0011892702,
0.04569659,
0.06220688,
-0.0038235486,
-0.0033031309,
-0.01942892,
0.033306718,
-0.03622535,
-0.008419676,
-0.023334734,
-0.02842803,
-0.023363348,
0.077601224,
0.00844829,
0.0065561873,
0.016739203,
0.04234875,
0.014807755,
0.019672139,
-0.022605076,
0.022261707,
0.008970495,
0.017640544,
-0.018971095,
-0.034107912,
0.016052466,
0.032190774,
-0.0017311482,
0.045725204,
0.013241138,
-0.015780631,
-0.014779141,
0.013269752,
-0.0041490328,
0.041518945,
0.041318644,
0.008383908,
-0.016066773,
-0.005318631,
-0.07164951,
-0.014192554,
-0.049759783,
0.026210442,
-0.0042456053,
-0.04718452,
0.0019850978,
-0.035624456,
0.022433393,
0.0025466478,
0.016381526,
-0.0055296593,
-0.022233093,
-0.03350702,
0.013906414,
0.012525788,
-0.018799411,
-0.020759473,
0.009557082,
-0.0037770506,
-0.024278997,
-0.020559173,
0.01804114,
0.04555352,
-0.024894198,
-0.012139498,
-0.027827134,
-0.02947244,
0.014693299,
0.026181828,
-0.050875727,
0.0066420296,
-0.059345476,
0.04137587,
-0.036253963,
0.019943973,
-0.013412822,
0.033764545,
0.003830702,
0.030760072,
0.006298661,
0.023163049,
0.006259317,
-0.015608948,
0.0038092413,
0.024422066,
0.035567228,
0.0071892724,
0.042234294,
-0.012232494,
0.03239107,
-0.00096840574,
0.046698082,
0.01608108,
0.014907905,
0.008698662,
-0.047499273,
-0.017912377,
-0.0015988083,
0.028370801,
0.024064392,
0.0261246,
-0.01908555,
-0.0025180338,
0.0009245905,
0.019185701,
0.04973117,
-0.007933237,
0.018341588,
-0.022848295,
0.0038771997,
-0.000541878,
-0.020945463,
-0.027555302,
0.027540995,
-0.020931156,
0.060776178,
-0.011982121,
0.013670349,
0.019228622,
0.023234585,
0.04967394,
-0.0340793,
0.004928765,
0.005447394,
0.06014667,
-0.01098063,
0.017697772,
-0.008340986,
0.0048929974,
-0.0004506708,
0.019028323,
-0.0056906133,
0.020802394,
0.018642034,
-0.0099862935,
-0.011724595,
-0.011688828,
-0.02508019,
-0.064724915,
0.022862602,
-0.047585115,
0.003859316,
0.0031529074,
-0.019028323,
-0.010887635,
-0.012733239,
0.004925188,
0.020487638,
-0.012869156,
0.054824464,
0.032076318,
0.101980366,
0.017983912,
0.018856639,
0.025065882,
-0.028098969,
-0.05679883,
-0.013570199,
0.016696282,
0.012811927,
-0.021703735,
-0.050875727,
-0.02416454,
0.018885253,
0.057428338,
-0.008820272,
-0.06495383,
0.019300157,
0.02483697,
0.012089424,
-0.008648587,
0.09654371,
0.010401197,
0.016882272,
-0.03287751,
-0.011231003,
-0.07216456,
-0.030760072,
0.00031251876,
0.017397324,
-0.030903142,
-0.045067083,
-0.005651269,
-0.021131454,
-0.022333242,
-0.0019278696,
0.0040274234,
-0.035109404,
-0.013269752,
0.04392252,
0.029129073,
0.033821773,
0.006370196,
-0.005912372,
0.023277506,
0.049502254,
0.018999709,
0.062035196,
0.05456694,
-0.008891807,
-0.01904263,
0.01165306,
0.018699262,
-0.0131552955,
-0.041232802,
0.009528468,
0.033821773,
-0.028027432,
-0.044580642,
-0.00065901666,
0.029028924,
-0.012668857,
0.012010735,
-0.052878708,
-0.041890927,
-0.032333843,
-0.013033686,
-0.021789577,
0.017397324,
-0.015794938,
-0.026038758,
0.02273384,
-0.03110344,
0.24264689,
0.057542793,
0.050188992,
-0.01246856,
0.011352613,
0.03593921,
0.019443227,
-0.012525788,
-0.0012277203,
-0.03573891,
0.034909103,
-0.0444948,
0.025695391,
0.02698302,
-0.01842743,
0.039487347,
-0.00707124,
0.011574371,
-0.029987494,
-0.036482874,
-0.027011635,
-0.0029239953,
0.008147842,
0.05038929,
0.013498664,
0.0056619993,
0.017640544,
-0.056455463,
0.045152925,
-0.021346059,
-0.00077213143,
0.01526558,
0.012346949,
0.0108161,
0.006763639,
0.05307901,
-0.025022961,
-0.015780631,
0.0012840541,
0.012475713,
0.0030384513,
-0.040031016,
0.023520725,
-0.016181229,
-0.01708257,
0.034565736,
-0.0023839055,
0.0049502254,
0.016095387,
-0.05316485,
0.035967823,
-0.07908915,
-0.00031184813,
-0.032419685,
-0.049931467,
-0.017068263,
0.010730257,
-0.022132944,
0.010701643,
0.06369481,
0.067929685,
0.0014852465,
-0.030502545,
-0.008505518,
-0.0038986602,
0.029200608,
-0.029300757,
0.02565247,
-0.024536522,
-0.02220448,
-0.015766324,
-0.02583846,
0.0031868864,
-0.046726696,
0.040546067,
0.033363946,
0.063408665,
0.00844829,
-0.036139507,
-0.024350531,
0.017669158,
-0.0012876309,
-0.022619383,
-0.015279887,
0.009871837,
0.050990183,
-0.031017598,
0.015394343,
-0.0066098385,
0.04498124,
0.01971506,
0.023005672,
-0.0049502254,
-0.0038557393,
0.013677502
] | Run a script with 🤗 Accelerate
🤗 Accelerate is a PyTorch-only library that offers a unified method for training a model on several types of setups (CPU-only, multiple GPUs, TPUs) while maintaining complete visibility into the PyTorch training loop. Make sure you have 🤗 Accelerate installed if you don't already have it:
Note: As Accelerate is rapidly developing, the git version of accelerate must be installed to run the scripts
pip install git+https://github.com/huggingface/accelerate |
[
0.07161384,
0.0067781587,
0.010753845,
0.02536201,
-0.017697504,
-0.0033431072,
0.0026516833,
-0.0013230834,
0.012180826,
0.04969424,
0.011018646,
-0.019742353,
-0.009812332,
-0.0029293562,
-0.02870144,
-0.00010067938,
-0.0029955565,
-0.04210329,
-0.039455283,
0.04728161,
-0.026788991,
0.022831693,
-0.060315683,
-0.03157011,
-0.016829547,
0.018565461,
-0.023111204,
0.04048506,
0.054548915,
0.00052270526,
-0.055196207,
-0.008973797,
-0.0042294534,
-0.05063575,
0.023155337,
-0.026788991,
0.019492263,
0.030157842,
-0.059021104,
-0.04842908,
-0.025229609,
-0.00062844163,
0.057785366,
0.00913562,
-0.051577266,
-0.0034883795,
0.013769629,
0.018962663,
-0.00036915773,
-0.008708997,
-0.009863821,
0.03980835,
0.03439465,
-0.008164684,
-0.023773206,
-0.021242889,
-0.021007512,
0.017447414,
-0.032482203,
-0.015917456,
0.0070392815,
0.037513413,
-0.021698935,
-0.04495725,
0.023067072,
0.024435207,
-0.030040152,
-0.026009299,
-0.019506974,
-0.013372429,
-0.046840277,
-0.007980795,
-0.0052739447,
-0.041308887,
-0.052518778,
0.010091844,
0.06261062,
-0.035218474,
-0.019477552,
0.042985957,
0.021331156,
0.035718653,
-0.0068664257,
-0.008414773,
-0.044898406,
-0.029216329,
0.06184564,
0.0133944955,
-0.021698935,
0.0092827305,
-0.036777854,
0.0067156362,
-0.04048506,
-0.008657508,
0.019904176,
0.020683866,
-0.0064398027,
0.013004649,
0.02639179,
-0.004659754,
0.06749472,
0.09062064,
-0.007936661,
0.04027911,
-0.03980835,
0.03554212,
0.057549987,
-0.022978805,
-0.028127704,
-0.01891853,
-0.0023960774,
0.008385351,
0.054078158,
-0.024508763,
-0.02265516,
0.023508405,
-0.0046156207,
-0.003824897,
-0.047928903,
-0.037160344,
0.016961947,
-0.018624306,
0.038160704,
-0.068318546,
0.017609237,
-0.03977893,
-0.0064398027,
0.010459622,
-0.006329469,
-0.037778214,
0.0052445224,
-0.005284978,
-0.0015299588,
0.05328376,
0.03557154,
-0.009782909,
-0.018168261,
0.00026663946,
0.036101144,
-0.022243246,
-0.0010343771,
-0.018697862,
-0.059462436,
0.06620014,
0.025685655,
-0.007009859,
0.0020503656,
-0.016638301,
-0.028098281,
0.043368448,
-0.06302253,
0.0059947907,
-0.007620372,
-0.0043802424,
0.012320582,
-0.046663743,
-0.02024253,
0.016667724,
0.02783348,
0.026627168,
-0.010680289,
-0.0025689332,
-0.010996579,
0.039484706,
0.0014499669,
0.04583992,
-0.043839205,
-0.024185117,
-0.031275887,
-0.02537672,
0.0058403234,
-0.02253747,
-0.0011373552,
-0.008510396,
0.054519493,
0.04857619,
0.02550912,
-0.034041584,
0.0004997191,
-0.007833683,
-0.015270166,
0.03386505,
0.013872608,
-0.0018627984,
-0.0102977995,
0.012129337,
-0.005991113,
0.026818413,
-0.01107749,
0.005487256,
0.0363071,
0.04107351,
-0.04942944,
0.001192522,
-0.031982023,
-0.011820403,
-0.019757064,
0.013019361,
0.008458907,
-0.035365585,
-0.01094509,
0.046781432,
-0.043839205,
-0.019742353,
-0.020801555,
0.002644328,
0.006848037,
0.061727952,
0.044868983,
0.011886603,
0.037013233,
0.0017920011,
-0.01383583,
0.02808357,
0.010695,
-0.027862903,
-0.02783348,
-0.016005723,
0.003361496,
-0.008010217,
0.016726568,
0.011467336,
-0.0025339941,
0.006101446,
0.044868983,
0.0067156362,
-0.008591307,
0.02808357,
0.0148729645,
0.038337238,
0.03012842,
0.057549987,
0.0011447108,
0.05113593,
0.01674128,
0.029790062,
0.037425146,
0.0026516833,
-0.011548246,
0.0069215926,
-0.013034072,
0.017712215,
-0.000009000518,
0.017079636,
0.0040896977,
0.051989175,
-0.0209928,
-0.028377794,
-0.0035950353,
0.062492933,
-0.07084886,
0.06425827,
0.016961947,
0.014107985,
-0.054548915,
-0.010775912,
0.0070539927,
0.00028939574,
-0.007885172,
0.0027325947,
-0.004663432,
0.044604182,
-0.02742157,
-0.0086060185,
0.03813128,
0.06996619,
-0.011702714,
-0.00022606888,
0.012769272,
0.0012394137,
-0.030187264,
-0.05316607,
-0.06266946,
-0.057785366,
-0.042485777,
0.012114625,
-0.0025983555,
-0.018344795,
-0.011136334,
-0.05151842,
-0.01918333,
0.017609237,
-0.021963736,
0.03798417,
0.017050214,
0.031275887,
-0.04483956,
0.04457476,
-0.034218118,
0.03927875,
-0.042044446,
-0.04736988,
-0.022257958,
0.0028392505,
0.034600608,
-0.0028907394,
0.010341933,
-0.009091486,
-0.008900241,
0.010437556,
0.008760485,
-0.01572621,
0.014343364,
-0.005851357,
-0.028892683,
0.056843854,
0.047193345,
-0.026965523,
0.041397154,
0.02164009,
0.006414058,
0.0072636264,
0.016005723,
0.04378036,
-0.02796588,
0.03389447,
0.03133473,
-0.0064876135,
0.0067671253,
-0.046604898,
-0.047987748,
0.0010187466,
-0.01410063,
-0.012798694,
-0.0041889977,
0.052960113,
-0.026553612,
-0.07202575,
-0.004887777,
-0.044780716,
-0.0073187933,
-0.008385351,
0.010864179,
0.04122062,
0.009856465,
0.020183688,
-0.06684743,
0.007914594,
-0.026068144,
0.02948113,
-0.0057557346,
-0.02976064,
-0.044368804,
0.019124486,
0.0023022937,
0.014372786,
0.026421212,
-0.05628483,
-0.021213466,
-0.00017779795,
0.02936344,
0.0057005677,
0.037160344,
0.04210329,
-0.0014398531,
0.0026663945,
-0.042691734,
0.012879605,
0.00012010268,
0.007885172,
0.0013286,
0.014321297,
0.031128777,
-0.022257958,
-0.041426577,
0.0011897637,
0.00785575,
0.003497574,
0.030687442,
-0.04236809,
0.030098997,
0.0017451092,
-0.030863976,
-0.00039903974,
0.03336487,
-0.002605711,
0.04651663,
0.032217402,
0.024258673,
0.026435923,
-0.06849508,
0.010312511,
-0.030628597,
0.03992604,
0.032158557,
0.020683866,
0.039102215,
0.022081425,
0.01646177,
-0.0024273384,
0.010974512,
0.019506974,
0.011518825,
-0.024140984,
-0.029922463,
-0.06143373,
-0.0008982991,
0.06684743,
0.03410043,
0.022096137,
0.023081781,
-0.019477552,
0.04413343,
0.016608879,
-0.01081269,
-0.024508763,
-0.052342243,
0.0703781,
0.037130922,
0.02240507,
-0.0069399816,
-0.03451234,
-0.00046960724,
0.0037881192,
-0.0054100226,
-0.011518825,
-0.04027911,
0.012224959,
0.017668081,
-0.00039605153,
0.0015198449,
-0.017476836,
-0.02343485,
-0.010643511,
0.048752725,
-0.008878174,
0.010672933,
-0.047487568,
0.048017167,
0.016594168,
0.0031003733,
-0.029672373,
-0.022493336,
-0.018168261,
-0.047722947,
0.03992604,
0.033335447,
-0.040691018,
-0.028260104,
-0.05063575,
-0.024964808,
0.015255455,
0.0031849623,
0.006998826,
-0.011688002,
0.0017708538,
0.006531747,
0.006932626,
0.012820761,
-0.0013874446,
0.023729073,
-0.025023652,
0.059462436,
-0.04675201,
0.01724146,
-0.011202535,
-0.017270882,
0.043603826,
0.034424074,
0.05075344,
-0.022596315,
0.0003447924,
0.0050017885,
-0.022684582,
-0.06478787,
0.04698739,
0.004200031,
-0.018168261,
0.052077442,
-0.03145242,
0.010753845,
0.027804058,
0.0027013335,
-0.021301733,
-0.034983095,
-0.024405785,
-0.0053401445,
-0.031599533,
-0.014262453,
0.006936304,
-0.024964808,
0.030599177,
-0.016049856,
-0.009385709,
-0.001132758,
-0.061669108,
-0.026788991,
0.0060609905,
-0.034688875,
0.015255455,
0.010437556,
-0.00209266,
0.008039639,
-0.037130922,
-0.010930379,
-0.010437556,
-0.004828932,
-0.006653114,
0.03904337,
0.00315554,
0.012886961,
-0.046604898,
-0.017550392,
0.056579053,
-0.021816624,
0.01649119,
-0.028039437,
0.010717067,
0.054931406,
0.02536201,
-0.008569241,
0.01506421,
-0.02987833,
0.01293845,
0.0009773715,
-0.014218319,
-0.016961947,
-0.019874753,
-0.010165399,
0.027524548,
-0.030040152,
-0.03324718,
0.018227106,
0.015476122,
-0.0009189867,
0.0018922207,
0.022964094,
-0.043956894,
-0.05101824,
-0.030157842,
0.050017882,
-0.014821476,
-0.006450836,
-0.028318949,
-0.046663743,
-0.019551108,
0.009856465,
0.021316445,
-0.020875111,
0.043721516,
-0.03666017,
0.012136692,
-0.07126077,
0.024905965,
-0.008311795,
0.0023721717,
-0.019477552,
0.034659453,
-0.00037743273,
0.038190126,
0.037631102,
0.0013479084,
0.0056674676,
0.03257047,
-0.02742157,
-0.018859684,
0.0039058083,
0.026229966,
0.02550912,
-0.02742157,
-0.0035821632,
0.0026498444,
-0.02319947,
0.015240744,
-0.017800482,
-0.050312106,
-0.01893324,
0.0037770858,
0.038278393,
-0.05243051,
-0.011960159,
0.010687645,
-0.017388571,
0.0051856777,
0.016447058,
0.018330084,
0.044221696,
0.0057373457,
-0.05975666,
0.03324718,
-0.02331716,
-0.035395008,
-0.012408849,
-0.013865252,
0.039631817,
-0.06025684,
0.047222767,
0.08820801,
-0.002535833,
0.034453496,
-0.01855075,
0.041397154,
0.0043030092,
-0.02305236,
-0.03771937,
-0.018594883,
-0.058167856,
0.001619145,
-0.006722992,
-0.03686612,
-0.051489,
0.0020595598,
0.026671302,
-0.02049262,
0.04545743,
0.014814121,
-0.038749147,
-0.0726142,
0.05190091,
-0.006708281,
0.027862903,
-0.021860758,
-0.00025606583,
-0.015255455,
0.0015658172,
-0.06708281,
-0.0471345,
-0.008444196,
0.055578694,
-0.01712377,
-0.02949584,
0.0013157278,
0.04954713,
-0.041044086,
-0.07773367,
0.005825612,
-0.0065243915,
0.00868693,
-0.038043015,
-0.045516275,
0.036277678,
-0.054548915,
0.04495725,
0.044604182,
-0.007818972,
0.011783625,
0.026847834,
0.0026167445,
-0.040220264,
-0.009547532,
0.03821955,
-0.035983454,
0.009142975,
-0.032158557,
0.008076417,
-0.021095779,
0.00041650923,
0.03410043,
-0.017359149,
-0.008539818,
0.0038837416,
-0.0007654391,
0.062492933,
-0.025023652,
0.013144406,
0.03836666,
-0.025008941,
-0.036012877,
-0.031423,
0.016697146,
0.020021865,
0.02021311,
-0.00913562,
-0.0073849936,
-0.0036851412,
0.019977732,
-0.014850898,
-0.06961313,
0.0118277585,
-0.020772133,
0.01765337,
0.0112760905,
-0.0008661185,
-0.016196968,
0.010253666,
0.007116515,
-0.034306385,
-0.01712377,
-0.00034318338,
0.006160291,
0.0018802679,
-0.07084886,
0.004527354,
-0.020419065,
0.010224244,
-0.057814788,
-0.014505186,
-0.0036060687,
0.04016142,
-0.012430916,
0.024243962,
-0.014512542,
0.010150688,
0.04048506,
0.007267304,
-0.028627884,
0.014210964,
0.0148729645,
0.025229609,
-0.029996019,
0.004181642,
0.04160311,
-0.03901395,
0.006127191,
0.037689947,
-0.009290086,
-0.004133831,
0.049105793,
0.049164638,
-0.018889107,
0.013372429,
-0.0071680043,
0.028877972,
-0.039749507,
-0.024273384,
-0.0037476635,
-0.027642237,
0.0009957604,
0.046546053,
0.02742157,
0.056343675,
0.016976658,
0.0066678254,
-0.0012918222,
0.024273384,
0.002693978,
0.018580172,
0.001456403,
0.03686612,
-0.031511266,
-0.02873086,
0.04313307,
-0.013953518,
-0.0067156362,
0.0023556217,
-0.0049319104,
-0.019889465,
0.002675589,
0.015902745,
-0.026288811,
0.036630746,
0.011055424,
-0.0034240184,
-0.018315373,
-0.024405785,
-0.025185475,
-0.0035435464,
-0.042691734,
-0.014858253,
0.011960159,
-0.031628955,
0.021331156,
0.010577312,
0.010437556,
0.0054431227,
0.032393936,
0.022184402,
-0.024685297,
-0.010967157,
-0.009187108,
0.04133831,
-0.03607172,
0.005406345,
0.020389643,
0.010584667,
-0.033423714,
0.015270166,
0.00026319153,
0.052371666,
0.02150769,
-0.017815193,
-0.039984886,
-0.056961544,
0.0072084595,
0.0028594784,
-0.010378711,
0.012901672,
-0.022640448,
0.020154266,
-0.036777854,
0.009304797,
-0.0010205855,
0.007752772,
0.02742157,
0.022228535,
-0.013122339,
0.05010615,
-0.011585024,
0.008723707,
-0.009952088,
0.02189018,
0.022390358,
-0.0114894025,
-0.026465345,
0.0051157996,
0.013298873,
0.03542443,
0.0054431227,
-0.023832051,
0.014519897,
0.026553612,
0.006638403,
-0.005513001,
0.06543516,
0.025582677,
0.0034883795,
-0.007568883,
-0.012320582,
-0.019786486,
-0.009753487,
-0.020301376,
0.044780716,
-0.01371814,
0.005549778,
-0.027230324,
0.0021901212,
0.01391674,
-0.0016954591,
-0.030304953,
0.023478983,
0.008422129,
0.014630231,
0.007752772,
0.02164009,
0.03245278,
0.041926757,
0.026421212,
0.033070646,
0.0119528035,
0.02768637,
0.060962975,
-0.040514484,
0.016255813,
-0.03230567,
-0.019918887,
-0.034218118,
-0.0072084595,
-0.028995661,
0.0682597,
0.0032419679,
0.0048178993,
0.005748379,
-0.05060633,
-0.040220264,
-0.03474772,
0.0032897792,
-0.056108296,
0.022037292,
0.01790346,
-0.01210727,
-0.054284114,
0.040190842,
0.015667366,
-0.015682077,
0.0014444502,
0.068436235,
0.034453496,
0.068318546,
0.053901624,
0.04675201,
0.005682179,
0.016608879,
-0.05181264,
-0.00037858204,
0.011231957,
0.0083927065,
-0.008319151,
0.004166931,
-0.04313307,
0.015181899,
0.039219905,
0.007237882,
-0.06914237,
0.01918333,
0.0007259029,
0.0003657098,
0.00817204,
0.082500085,
-0.0026020333,
-0.00018296983,
-0.011106912,
-0.011989581,
-0.06467018,
0.019271597,
0.0018094705,
0.02240507,
-0.014630231,
-0.028819127,
-0.03760168,
-0.030599177,
0.0013644585,
-0.018712573,
-0.0008877255,
-0.026126988,
0.049017526,
0.00077509333,
0.07555643,
0.0030580787,
-0.04881157,
-0.028436638,
0.048281968,
0.0112760905,
-0.0035086074,
0.05872688,
0.014416919,
0.020595599,
-0.02305236,
0.014115341,
-0.0042993315,
-0.009503398,
-0.043986317,
0.0041558975,
0.012909028,
-0.049870774,
-0.043809783,
-0.022125557,
0.0015952395,
-0.008414773,
-0.03527732,
-0.017579814,
-0.052253976,
-0.06802432,
-0.011710069,
-0.013769629,
0.02189018,
-0.039484706,
-0.01763866,
-0.0076130163,
-0.047458146,
0.25726846,
0.055578694,
0.06155142,
-0.027642237,
0.0035729688,
0.0016485674,
-0.000009237563,
-0.05190091,
-0.023464272,
-0.026847834,
0.007561527,
-0.047046233,
-0.020786844,
0.03324718,
-0.020801555,
0.029510552,
-0.063316755,
-0.004681821,
0.017506259,
-0.047928903,
-0.03724861,
0.014041785,
0.0011548246,
0.056579053,
0.018212395,
-0.018947951,
0.026686013,
-0.04533974,
0.01724146,
-0.025773922,
-0.024435207,
-0.033276603,
0.03448292,
-0.010614089,
-0.0042956537,
0.017226748,
0.0032346125,
-0.02369965,
0.025965165,
-0.032011446,
0.013806407,
-0.0039499416,
0.01018011,
-0.02253747,
-0.009996221,
-0.020875111,
0.00045719472,
0.052754156,
0.026788991,
-0.0812055,
0.03721919,
-0.033923894,
0.019109774,
-0.03698381,
-0.09026757,
-0.06266946,
0.004939266,
-0.023979163,
0.007215815,
0.056078874,
0.04042622,
0.0014941004,
-0.007197426,
0.041132353,
-0.035012517,
0.0373663,
-0.08055822,
-0.006395669,
-0.0038616748,
-0.02833366,
0.02677428,
-0.031423,
-0.026332945,
-0.026288811,
-0.014953876,
0.051341888,
0.027936459,
0.020301376,
-0.0016412118,
-0.02343485,
0.038190126,
0.0044685095,
-0.027127346,
0.010268377,
-0.013313584,
0.034865405,
-0.08020515,
0.018315373,
0.013681362,
0.0045199986,
0.03183491,
0.068553925,
0.023464272,
-0.0050385664,
0.022802271
] |
python examples/pytorch/summarization/run_summarization.py \
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--train_file path_to_csv_or_jsonlines_file \
--validation_file path_to_csv_or_jsonlines_file \
--text_column text_column_name \
--summary_column summary_column_name \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--overwrite_output_dir \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--predict_with_generate
Test a script
It is often a good idea to run your script on a smaller number of dataset examples to ensure everything works as expected before committing to an entire dataset which may take hours to complete. Use the following arguments to truncate the dataset to a maximum number of samples: |
[
0.07739413,
0.012846508,
-0.00021415322,
0.034858864,
-0.008585821,
-0.015009075,
0.0018331695,
0.017801795,
0.0018331695,
0.056226745,
0.032739263,
-0.0022610284,
0.004479092,
0.00088167575,
-0.028858097,
0.014600908,
-0.009044114,
-0.038639776,
-0.02371663,
0.037236255,
0.0005665998,
0.03420007,
-0.07716498,
-0.03291112,
-0.013942113,
0.017386466,
0.009251777,
0.018976169,
0.06404636,
0.01899049,
-0.0502403,
-0.016956817,
-0.0024185665,
-0.037293542,
0.00055183057,
-0.010705424,
0.031278454,
0.02248497,
-0.05889057,
-0.057028756,
-0.019720893,
-0.0014437999,
0.06221319,
0.0021750985,
-0.04159003,
-0.013841862,
0.0061726253,
0.010526403,
-0.009609818,
-0.021682957,
-0.024189245,
0.033197552,
0.025478192,
0.00525246,
-0.005173691,
-0.006684624,
-0.029187495,
0.0062692966,
-0.020436976,
-0.025621409,
-0.0057035917,
0.029989507,
-0.025478192,
-0.052273974,
0.007833935,
0.021095771,
-0.02380256,
-0.0055281515,
-0.0006637183,
-0.010469116,
-0.03666339,
-0.0034461438,
-0.008041599,
-0.03858249,
-0.055252872,
-0.006881546,
0.0421629,
-0.036291026,
-0.015725156,
0.04531366,
0.020594513,
0.009960698,
-0.017214607,
-0.021940747,
-0.03597595,
-0.029674431,
0.059807155,
-0.014192742,
-0.035145298,
0.00586471,
-0.036119167,
0.0053348094,
-0.0031632914,
0.0024114056,
0.030963378,
0.031965893,
-0.00428933,
0.02284301,
0.016584456,
0.0072753914,
0.059234288,
0.10311578,
-0.009795999,
0.018961847,
-0.03935586,
0.03909807,
0.046831753,
-0.02703925,
-0.015596262,
-0.019291244,
0.0003911597,
0.02143949,
0.03445786,
-0.019377174,
-0.020193508,
0.011385701,
-0.012445502,
-0.0031829837,
-0.03789505,
-0.026036736,
-0.0049910904,
-0.0054314807,
0.013942113,
-0.057286546,
-0.0027515444,
-0.05155789,
-0.013383569,
0.041704606,
-0.01907642,
-0.009896251,
0.012574397,
0.013806058,
0.005266782,
0.053792067,
0.015653549,
-0.027855583,
-0.020837981,
-0.011872637,
0.026480706,
-0.017314859,
-0.0027819779,
-0.042993553,
-0.058174487,
0.08329464,
0.0201219,
0.013820379,
-0.006308681,
-0.016999783,
-0.030591017,
0.02721111,
-0.029903578,
0.009230295,
-0.029445285,
0.020365367,
0.015381438,
-0.037408113,
-0.010633815,
0.019763859,
0.018159835,
0.040129226,
-0.0047583636,
-0.012867991,
-0.025821911,
0.036004595,
-0.008986827,
0.048779495,
-0.043938782,
-0.028385485,
-0.047748335,
-0.024117636,
0.014665356,
-0.007271811,
0.012560075,
0.006029409,
0.041876465,
0.037150327,
0.015453046,
-0.026151309,
-0.0084998915,
-0.008800645,
-0.024532964,
0.027325682,
-0.0036591783,
0.004171177,
0.014751285,
0.02519176,
0.0031561307,
0.0325674,
-0.022685472,
0.008743359,
0.026022414,
0.04078802,
-0.05582574,
0.00839964,
-0.04156139,
-0.007640593,
-0.027182465,
0.017902046,
0.014128295,
-0.03457243,
0.00096671045,
0.07286849,
-0.046402104,
-0.028142016,
-0.0077408445,
-0.0012218147,
-0.006169045,
0.054049857,
0.037408113,
0.009860447,
0.029201817,
-0.00857866,
0.008184816,
0.0013328074,
0.034085494,
-0.02406035,
-0.052789554,
-0.012760579,
-0.013383569,
-0.012753418,
0.0011305142,
0.0018045262,
0.0020694765,
-0.00010215355,
0.037551332,
-0.025062865,
-0.010920248,
0.031135239,
0.004382421,
0.038124196,
0.031249812,
0.04560009,
-0.010755549,
0.060150873,
0.010669619,
0.01907642,
0.045915168,
-0.0072574895,
-0.021754567,
-0.017787473,
-0.0143001545,
0.004085247,
0.012660326,
0.017787473,
-0.0037558493,
0.03388499,
-0.031049307,
-0.009817482,
0.009588336,
0.06267148,
-0.052388545,
0.054021213,
0.0143073145,
0.020866625,
-0.07349864,
-0.015410081,
0.009022631,
0.014908824,
0.012839347,
0.00048514543,
-0.008478409,
0.03955636,
-0.03772319,
0.006029409,
0.043967426,
0.07481623,
0.0011627378,
0.003580409,
0.015596262,
-0.01251711,
-0.009695748,
-0.031650815,
-0.0757901,
-0.051958896,
-0.03245283,
0.0069638956,
0.009667105,
-0.016126163,
-0.011664973,
-0.04663125,
-0.010805675,
0.029874934,
-0.015009075,
0.031965893,
0.01041183,
0.030963378,
-0.038811635,
0.045256373,
-0.044597577,
0.023845525,
-0.037751835,
-0.053505633,
-0.011049143,
0.0033655846,
0.028270911,
0.008700394,
0.013448017,
-0.014020883,
-0.001233451,
0.013140102,
0.01854652,
-0.014493496,
0.02440407,
-0.023029191,
-0.024475677,
0.03508801,
0.03692118,
-0.030505085,
0.041332245,
0.032538757,
-0.013426534,
0.032510117,
0.035116654,
0.039069425,
-0.03193725,
0.043423202,
0.01722893,
-0.013089976,
0.00008637737,
-0.02913021,
-0.047547832,
0.008650268,
-0.019233959,
-0.043022197,
-0.009846125,
0.05634132,
-0.017486718,
-0.064962946,
-0.0029914319,
-0.046058383,
-0.020265115,
-0.0126460055,
-0.0014984013,
0.049123213,
0.0012817865,
0.03133574,
-0.07309763,
0.0033548435,
-0.008464087,
0.033999566,
-0.0016908483,
-0.042506617,
-0.031564888,
0.03858249,
0.00095417904,
0.007368482,
0.025420904,
-0.03694982,
-0.010333061,
0.018346017,
0.04723276,
0.022270145,
0.032080468,
0.036777962,
-0.0011886959,
0.0071823006,
-0.02913021,
0.012452663,
0.015624906,
-0.015567619,
-0.014063847,
0.006702526,
0.026480706,
0.0014366392,
-0.0129324375,
-0.0035714582,
0.0018143724,
0.017128678,
0.019835467,
-0.04053023,
0.028070407,
0.0048192306,
-0.012817865,
-0.024747789,
0.036491532,
-0.011528918,
0.034114137,
0.03631967,
0.026294526,
0.015653549,
-0.055968955,
0.02221286,
-0.028671917,
0.052818194,
0.015624906,
0.03368449,
0.039269928,
0.033025693,
0.009738713,
0.006684624,
-0.0012907375,
-0.0070319236,
0.0049230624,
-0.037866406,
-0.03457243,
-0.061468463,
-0.01697114,
0.06490566,
0.018761344,
0.01688521,
0.02477643,
-0.03219504,
0.037408113,
0.018260086,
-0.016140485,
-0.008191976,
-0.052846838,
0.06908757,
0.035030723,
0.031020666,
-0.01933421,
-0.022241501,
0.009946377,
0.0013524996,
-0.016183449,
0.0024293077,
-0.02887242,
-0.0036520173,
0.009824643,
0.028614629,
0.006967476,
-0.008177655,
-0.005574697,
0.0143001545,
0.03431464,
0.0025617827,
0.003952772,
-0.063416205,
0.041074455,
0.016928174,
-0.019176671,
-0.029903578,
-0.03359856,
-0.024232209,
-0.03563223,
0.03219504,
0.037436757,
-0.03692118,
-0.009616979,
-0.03815284,
-0.027196787,
0.018832952,
0.0075475024,
0.0034962695,
-0.005725074,
-0.0049910904,
0.0074973768,
-0.0053706137,
-0.00629794,
-0.021038484,
0.03314027,
-0.029001314,
0.044253856,
-0.026208594,
0.0100251455,
0.0038023945,
-0.010340221,
0.03440057,
0.011206681,
0.064447366,
-0.012280803,
-0.004350197,
-0.0071250144,
-0.03070559,
-0.05940615,
0.039871436,
-0.013684324,
-0.0053777746,
0.055539306,
-0.037150327,
0.013691485,
0.01697114,
0.017887725,
-0.041446816,
-0.024217887,
0.006494862,
0.0028213623,
-0.014693999,
-0.024747789,
0.03700711,
-0.030992022,
0.028156338,
-0.014278672,
-0.009838965,
0.011801029,
-0.058546852,
-0.009767356,
0.0071823006,
-0.03546037,
-0.009151526,
0.022599543,
-0.009251777,
0.014557944,
-0.02519176,
-0.017930688,
-0.011672134,
-0.015496011,
0.016613098,
0.042506617,
-0.003544605,
0.040129226,
-0.054909155,
-0.0048442935,
0.06295791,
-0.04333727,
0.027368648,
-0.023415877,
0.018231444,
0.040358372,
0.018875917,
-0.0155532975,
0.0137487715,
-0.016126163,
-0.008435444,
0.006090276,
-0.02055155,
-0.002756915,
-0.015610584,
-0.0037486884,
0.045370944,
-0.022356074,
-0.04270712,
0.007368482,
0.020408332,
0.011980049,
-0.011937084,
0.03700711,
-0.042048324,
-0.04548552,
-0.037608616,
0.0549378,
-0.017558327,
-0.0055639558,
-0.027268397,
-0.04479808,
-0.005871871,
0.043795563,
0.004769105,
-0.020351045,
0.04479808,
-0.0260797,
-0.0028858099,
-0.081003174,
-0.0062871985,
-0.031192524,
0.011414344,
-0.029244782,
0.0049481257,
0.011163716,
0.030132724,
0.022356074,
0.00039004083,
-0.0019835467,
0.0066989455,
-0.032681976,
-0.021682957,
0.011192359,
0.010404669,
0.022184215,
-0.014457692,
-0.0060222484,
0.025249045,
-0.024418391,
0.032109108,
-0.0423634,
-0.06605139,
-0.024647536,
-0.008234941,
0.054279003,
-0.05539609,
-0.0057716197,
0.0077408445,
-0.024532964,
-0.019577676,
0.02599377,
0.02099552,
0.022771401,
0.0054565435,
-0.06519209,
0.037866406,
-0.040100582,
-0.02055155,
-0.021912104,
0.0021482455,
0.047318686,
-0.056427248,
0.036348313,
0.1026002,
-0.008671751,
0.04743326,
-0.035947308,
0.049925227,
0.006097437,
-0.037236255,
-0.054737296,
-0.016412595,
-0.050612662,
-0.0013820379,
0.0031113755,
-0.0383247,
-0.03972822,
0.007046245,
0.02284301,
-0.024318138,
0.04104581,
0.0094737625,
-0.04454029,
-0.061239317,
0.04674582,
0.009416476,
-0.002336217,
-0.030648302,
-0.0076549146,
0.0020802177,
0.002266399,
-0.042076968,
-0.058346346,
-0.014486335,
0.03720761,
-0.012961081,
-0.02039401,
0.009674266,
0.043136768,
-0.0255498,
-0.079857446,
-0.007533181,
0.012037336,
-0.00061583036,
-0.030275939,
-0.032481473,
0.03334077,
-0.06971773,
0.045915168,
0.042936265,
-0.004146114,
0.005939899,
0.012051657,
-0.0033924377,
-0.068743855,
-0.0038023945,
0.041962396,
-0.044568934,
-0.006835001,
-0.031965893,
0.010598011,
-0.027182465,
0.0027157404,
0.04717547,
-0.018775666,
0.0010794933,
0.026566636,
-0.0025331394,
0.06908757,
-0.021783208,
0.0055496343,
0.02092391,
-0.023072157,
-0.0304478,
-0.015381438,
0.025306331,
0.017730186,
0.03271062,
-0.0010374235,
0.007107112,
0.031049307,
0.038983494,
-0.015252543,
-0.048092056,
0.0005827116,
-0.021639993,
0.002520608,
0.020666122,
0.0050376356,
-0.000848557,
0.0192626,
-0.0075618243,
-0.064447366,
-0.022728438,
0.0098819295,
0.00041152327,
-0.006344485,
-0.047633763,
-0.0015852262,
-0.044053353,
0.01803094,
-0.059291575,
-0.005127146,
0.009667105,
0.01969225,
-0.014708321,
0.027139502,
-0.007769488,
0.0004535931,
0.044740792,
0.00035871225,
-0.0054744454,
0.0260797,
0.017987976,
0.025664372,
-0.033168912,
0.023086479,
0.037608616,
-0.046946324,
-0.001198542,
0.021682957,
0.0051593697,
-0.010862961,
0.045084514,
0.052102115,
-0.01654149,
0.0039670933,
-0.022885974,
0.031822678,
-0.045199085,
-0.02512015,
-0.028127695,
-0.019506069,
0.004944545,
0.04078802,
0.029387997,
0.05373478,
0.008793485,
0.012015853,
-0.011629169,
0.029244782,
0.008098885,
0.018317373,
-0.007454412,
0.034515142,
-0.024962613,
-0.044196572,
0.06645239,
0.0014079959,
-0.017300537,
0.01111359,
-0.010812836,
-0.009917733,
-0.01180819,
0.009674266,
-0.013512464,
0.04594381,
0.016942495,
-0.012710452,
-0.03692118,
-0.01967793,
-0.021969391,
0.013047011,
-0.048149344,
-0.0029681593,
0.030820161,
-0.02337291,
0.014779929,
0.017844759,
0.014794251,
0.021754567,
0.042764407,
0.010469116,
-0.0151379695,
-0.023773916,
-0.013584073,
0.052016184,
-0.065764956,
0.0016299812,
0.021597028,
0.016670385,
-0.022069642,
-0.009638461,
0.005610501,
0.07349864,
0.031622175,
-0.013261835,
-0.03921264,
-0.042993553,
-0.019663608,
-0.001277311,
-0.0315076,
0.025735982,
-0.028729202,
0.02100984,
-0.027053572,
0.011951406,
-0.0017946801,
0.016326666,
0.02825659,
0.00516295,
-0.007604789,
0.032596044,
-0.0068922876,
-0.023759596,
0.0061547235,
0.032223683,
0.022527935,
-0.008156172,
-0.01601159,
-0.0029717395,
0.011185198,
0.028371163,
0.01505204,
-0.037379473,
0.018245766,
0.033168912,
-0.02039401,
0.01373445,
0.056942828,
0.009173009,
-0.0042929105,
-0.009029792,
-0.025850555,
-0.0073541603,
0.0015189886,
-0.008635947,
0.017372144,
-0.013082815,
0.0060938564,
-0.008098885,
-0.0019871271,
-0.0017436593,
-0.0045005744,
-0.020537227,
0.021396525,
0.002819572,
0.021024162,
0.015982946,
0.03079152,
0.023859847,
0.04156139,
0.04159003,
0.040558875,
0.007132175,
0.014500657,
0.07922729,
-0.010884444,
0.008936701,
-0.022642508,
-0.046201598,
-0.021511098,
-0.005388516,
-0.02652367,
0.059921727,
0.0029090825,
-0.0026727754,
0.006920931,
-0.05364885,
-0.020909589,
-0.053075984,
0.0069997,
-0.058546852,
0.008908058,
0.013698646,
-0.028070407,
-0.037694547,
0.04786291,
0.022040999,
0.005055538,
0.008342354,
0.076706685,
0.025134472,
0.082549915,
0.06353078,
0.030992022,
0.0011331995,
0.035689518,
-0.05697147,
0.0023308464,
0.019563356,
0.019047776,
-0.006519925,
-0.0114071835,
-0.034858864,
0.03219504,
0.025607087,
0.025521157,
-0.080716744,
0.008270745,
-0.0062692966,
0.0036914018,
0.0042929105,
0.08426851,
0.014572266,
-0.006509184,
-0.016942495,
-0.02546387,
-0.05940615,
0.03053373,
-0.020938233,
0.037436757,
-0.039871436,
-0.0151379695,
-0.023358589,
-0.017057069,
0.009982181,
-0.009344868,
-0.007719362,
-0.037866406,
0.034114137,
0.033799063,
0.057000116,
0.007934187,
-0.026323168,
-0.028299553,
0.037837762,
0.014794251,
-0.0072825523,
0.06204133,
0.029201817,
0.00892954,
-0.009960698,
-0.0022592382,
-0.012846508,
-0.0035428149,
-0.039241284,
0.0062728766,
0.03139303,
-0.03606188,
-0.04436843,
-0.0043537775,
-0.0052452995,
-0.0026119086,
-0.03964229,
-0.037665904,
-0.05224533,
-0.08398208,
-0.004915902,
-0.0070140217,
0.026136987,
-0.040558875,
-0.028772168,
-0.011271128,
-0.055596594,
0.2431241,
0.04929507,
0.047318686,
-0.020107578,
0.01645556,
-0.009753034,
0.018131193,
-0.049381003,
-0.015710836,
-0.025492514,
0.014572266,
-0.028500058,
-0.014951789,
0.03998601,
-0.025263367,
0.02493397,
-0.087648414,
-0.03388499,
-0.00040660021,
-0.032366898,
-0.038754348,
0.017744508,
0.005041216,
0.064447366,
0.015023397,
0.0061404016,
0.025406584,
-0.06570767,
0.02818498,
-0.029302068,
-0.011657813,
-0.039957367,
0.017773151,
-0.012574397,
-0.019004812,
0.015367116,
0.011607686,
-0.032166395,
0.01837466,
-0.05548202,
-0.001881505,
-0.0067526517,
0.000054265576,
-0.014271511,
-0.041704606,
-0.036262386,
0.002676356,
0.03955636,
0.024289496,
-0.078253426,
0.019835467,
-0.050183013,
0.024088994,
-0.0402438,
-0.077737845,
-0.04654532,
0.0029305648,
-0.024303818,
0.01137138,
0.04479808,
0.025979448,
0.0061475625,
0.012030175,
0.04095988,
-0.018045262,
0.041962396,
-0.07556096,
-0.008865093,
-0.016140485,
-0.018073905,
0.037579976,
-0.038754348,
-0.026423419,
-0.022499291,
-0.0119585665,
0.04262119,
0.029158853,
0.021740245,
0.004672434,
-0.03720761,
0.008535695,
0.022699794,
-0.019649286,
-0.008607304,
-0.009151526,
0.02913021,
-0.065535806,
0.013247514,
0.021224666,
0.014765607,
0.029817648,
0.05344835,
0.010418991,
0.0075761457,
0.006684624
] |
python examples/pytorch/summarization/run_summarization.py \
--model_name_or_path google-t5/t5-small \
--max_train_samples 50 \
--max_eval_samples 50 \
--max_predict_samples 50 \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--predict_with_generate
Not all example scripts support the max_predict_samples argument. If you aren't sure whether your script supports this argument, add the -h argument to check: |
[
0.046986703,
-0.021383002,
-0.021019632,
0.042766005,
-0.018713621,
-0.045868635,
-0.03650484,
-0.039216146,
-0.0060620112,
0.07015861,
0.009300907,
0.0019688434,
0.018476032,
-0.013801121,
-0.016589297,
0.018378202,
-0.014241359,
-0.0126341395,
-0.07239474,
0.011795591,
-0.019160848,
0.011502098,
-0.013311967,
-0.02577141,
-0.060878664,
-0.022710705,
-0.053751,
-0.020670235,
0.04899922,
0.03874097,
-0.042598296,
-0.01825242,
-0.0035079306,
-0.018503984,
-0.0070438124,
-0.02366106,
-0.0040914207,
0.013200161,
-0.051486917,
-0.017497724,
-0.0059082774,
0.010873186,
0.050788123,
-0.0717239,
-0.081506975,
0.021341074,
-0.026721764,
-0.0068132114,
-0.0129346205,
-0.015834602,
-0.001083126,
0.011732699,
0.0013329437,
-0.020614332,
-0.001351287,
0.008329588,
-0.020614332,
0.013829072,
-0.002622213,
-0.023353593,
0.0012499623,
0.07228293,
-0.009168137,
-0.03141764,
0.03633713,
0.020796018,
-0.035750143,
-0.0035149183,
-0.04044602,
-0.020460598,
-0.040222406,
-0.00972717,
-0.042766005,
-0.048020914,
-0.03516316,
0.028049467,
0.032479804,
-0.018266395,
-0.007812483,
0.04268215,
0.010558731,
0.03552653,
0.011627881,
-0.0024213106,
-0.026679838,
-0.051654626,
0.026022974,
-0.025505869,
-0.056070983,
-0.03396124,
-0.024779126,
0.027266823,
-0.0069459816,
0.0061773118,
0.043101426,
0.019915542,
-0.008602116,
0.027588265,
0.03650484,
-0.010502827,
0.031249931,
0.09749531,
0.010656562,
0.007861398,
-0.04008265,
-0.03485569,
0.00663502,
-0.017875072,
-0.013081366,
-0.022445165,
0.008385492,
0.022878416,
0.0129346205,
0.0043220217,
0.030662946,
0.038461454,
0.017190257,
-0.037371337,
-0.027266823,
0.018042782,
0.031976674,
-0.014108589,
0.0068167057,
-0.03890868,
0.05159872,
-0.028189225,
-0.0051710526,
0.020446623,
-0.030970413,
-0.028580548,
-0.016631223,
-0.026008999,
-0.032619562,
0.01477244,
0.010481864,
-0.033793528,
0.01978976,
0.0099647585,
0.016058216,
-0.023465399,
0.012857753,
-0.006065505,
0.0023566724,
0.074351355,
0.023605157,
0.0131442575,
-0.0074211597,
0.0074421233,
-0.029125607,
0.017162304,
-0.05017319,
0.005027801,
0.006474298,
-0.018825427,
-0.0035044365,
-0.041396376,
0.0017268871,
0.040529873,
-0.022584923,
0.03396124,
-0.03949566,
0.0148842465,
-0.060655054,
0.04905512,
0.030131865,
0.046539474,
0.0060585174,
-0.055036772,
-0.017399894,
-0.023940576,
0.021396978,
0.0051011737,
0.017064475,
-0.0031323303,
0.039216146,
0.034268707,
0.031026317,
-0.0033507026,
0.014297263,
0.016631223,
-0.023716964,
-0.009608375,
0.023772867,
0.014199432,
0.0047447905,
-0.02366106,
-0.01978976,
0.012641128,
-0.017190257,
0.04148023,
0.026693814,
0.079606265,
-0.02329769,
0.0401665,
0.0073373048,
-0.025226353,
-0.012305709,
-0.013486665,
0.028203202,
-0.019328557,
-0.015680868,
0.046287913,
-0.00568117,
0.031361736,
0.008895609,
0.0039132293,
0.025575748,
0.043436844,
0.027336702,
-0.009503556,
0.027029233,
0.008168866,
-0.017553627,
-0.0036721462,
0.01199824,
-0.031249931,
-0.018084709,
0.011823542,
0.03538677,
-0.028356936,
-0.003464256,
0.007924289,
0.025519844,
0.033038836,
0.006006108,
-0.00078701327,
-0.029908251,
0.043352988,
-0.0055658696,
0.062388055,
0.00738622,
0.013095342,
0.0097341575,
0.01229872,
0.0063555036,
0.008930548,
0.06210854,
0.028091395,
0.051682577,
-0.007567906,
0.019202774,
0.019705905,
0.042598296,
-0.00015482586,
0.0023234799,
0.04421949,
-0.01637966,
-0.00041032129,
-0.017385919,
0.02971259,
-0.079606265,
0.03466003,
-0.030662946,
-0.016589297,
-0.06048734,
-0.015820626,
0.02068421,
0.04268215,
-0.05140306,
0.015247618,
0.035554484,
0.041703843,
0.007316341,
-0.053387627,
0.035414726,
0.05327582,
-0.0067922478,
0.058866147,
0.024918884,
-0.042905763,
0.009957771,
-0.047741394,
-0.049138978,
-0.048579946,
-0.044638764,
0.012312696,
0.0046539474,
-0.02937717,
0.0033244977,
-0.014786416,
0.0077915187,
0.0029646205,
0.010202347,
0.051850285,
-0.004790212,
-0.013507629,
-0.042262875,
0.0341569,
0.0009093017,
0.0332904,
0.007882361,
-0.014856295,
-0.0064917677,
-0.0124943815,
0.017022546,
0.0025121535,
0.010922102,
-0.015792675,
-0.02149481,
0.038461454,
-0.005782495,
0.007525978,
-0.002150529,
-0.008539225,
-0.017260136,
0.04852404,
0.033709675,
-0.054058466,
0.034771837,
0.039831083,
0.0015198702,
0.054729305,
0.03312269,
0.025044667,
-0.032144383,
0.01995747,
0.016002312,
-0.010153432,
-0.037287485,
-0.024904909,
-0.034995448,
0.0018081216,
-0.008965488,
-0.045505267,
-0.019063016,
0.06294709,
-0.021634568,
-0.033066787,
0.00785441,
-0.055260386,
-0.026498152,
-0.02867838,
-0.024024433,
0.066189475,
0.015149787,
0.03689616,
-0.05908976,
-0.008420431,
0.0032703415,
0.039523616,
0.014968102,
-0.011851494,
0.057161096,
0.018000854,
-0.0049369577,
-0.02603695,
0.023213835,
-0.045840684,
0.012075108,
0.01851796,
0.011620893,
0.020712163,
0.047937058,
0.025855264,
0.022529019,
0.01310233,
-0.047545735,
0.035834,
-0.0060410476,
0.017889047,
-0.018671693,
0.003011789,
0.003920217,
0.015569062,
-0.014730513,
0.018923258,
-0.020069275,
0.037175678,
0.017204233,
-0.04782525,
0.05187824,
-0.019650001,
-0.015219666,
-0.018965187,
-0.0075958576,
-0.01510786,
0.040222406,
0.0011364088,
0.053918708,
0.003474738,
-0.03720363,
0.0030904028,
-0.005240932,
-0.012172938,
-0.012920644,
0.00041053968,
0.02118734,
0.022417214,
-0.014395094,
0.025785385,
0.023716964,
-0.027294774,
0.019775784,
-0.054365933,
-0.028273081,
-0.04064168,
0.03530292,
0.04642767,
0.029628735,
-0.009286932,
-0.0036092552,
-0.014024734,
0.027700072,
0.006215745,
0.025995022,
-0.0298803,
-0.050312947,
0.04832838,
0.0015242377,
0.019090967,
-0.039775178,
0.016100142,
-0.009797049,
0.043408893,
-0.018294346,
-0.015177739,
-0.05073222,
-0.0027951638,
-0.029964155,
-0.015205691,
-0.011047885,
-0.024094312,
-0.021005655,
0.025925143,
0.03776266,
-0.038014226,
0.006065505,
-0.042095166,
0.019524219,
-0.0014045697,
-0.0153734,
-0.023283714,
-0.016449539,
-0.024779126,
-0.081003845,
0.016463514,
0.018867355,
-0.070494026,
-0.0065651406,
-0.0836872,
-0.032703415,
0.0036826283,
-0.046204057,
0.024876958,
-0.013577508,
0.030187769,
-0.012697031,
-0.017595556,
0.007966217,
-0.022277454,
0.027350677,
-0.02593912,
0.024485635,
-0.052828595,
0.033234496,
-0.018266395,
-0.0034170877,
0.028818138,
0.017930975,
-0.0049788854,
-0.028762234,
-0.014367142,
0.05447774,
-0.012214866,
-0.005936229,
0.02747646,
0.009335847,
-0.047601636,
0.025002738,
0.021410953,
0.01400377,
0.0032406428,
-0.0075818817,
-0.02493286,
-0.029433073,
-0.039160244,
0.0367005,
-0.0045735864,
0.011012945,
0.028356936,
-0.06602177,
0.026526103,
-0.00047998203,
-0.0015198702,
-0.025925143,
-0.061046377,
-0.009447654,
0.017106403,
-0.002702574,
-0.025659602,
0.029461026,
-0.0015504424,
-0.020362768,
-0.00042145827,
-0.0029698615,
-0.016491465,
-0.050592463,
-0.0029873312,
0.056070983,
0.018895308,
-0.019049041,
-0.06356202,
-0.019971445,
0.03890868,
-0.009517533,
-0.0052828593,
-0.0073023653,
-0.028259106,
0.013850036,
0.040278308,
-0.047881152,
0.037343387,
-0.02209577,
0.029349219,
0.06266757,
-0.044079732,
-0.006254179,
-0.026665863,
0.028119346,
0.055316288,
-0.0071765827,
-0.048412234,
0.021313123,
0.027853806,
-0.026707789,
0.015946409,
-0.00788935,
-0.021061558,
-0.03538677,
0.0050487644,
0.04676309,
-0.022780584,
0.008036096,
-0.045645025,
-0.05143101,
0.019943492,
0.013898952,
0.057692178,
-0.037287485,
0.06300299,
-0.030662946,
0.039327953,
-0.09274353,
-0.010363069,
-0.010467888,
-0.019705905,
-0.0073442925,
0.042905763,
0.019705905,
0.021564689,
0.03038343,
0.013493652,
-0.010244275,
0.010698489,
-0.056965437,
-0.033737626,
0.016183998,
-0.009622351,
0.019412411,
-0.0034240754,
0.008015132,
-0.0072045345,
0.01029319,
0.060710955,
-0.03580605,
-0.011131739,
-0.04712646,
0.042151067,
0.011900409,
-0.012941608,
0.0047203326,
-0.0051046675,
0.05204595,
0.007994168,
0.06076686,
0.047657542,
0.024289973,
0.008140914,
-0.08296046,
0.018308323,
0.017623506,
-0.0033157628,
-0.0029716084,
0.011292461,
0.0512074,
-0.043352988,
0.062499862,
0.04969801,
0.028846089,
0.0187835,
-0.061717216,
0.018643742,
0.020362768,
0.00725345,
-0.02243119,
0.0015652917,
-0.047433928,
0.0017906517,
-0.032340042,
-0.032703415,
-0.037483145,
-0.015303521,
0.0051046675,
-0.024317924,
0.03946771,
-0.013780157,
-0.018266395,
-0.020334816,
0.03208848,
0.019608073,
0.017595556,
-0.021271195,
-0.03619737,
-0.004018048,
-0.024038408,
-0.051738482,
0.015499183,
0.011977277,
0.05274474,
-0.0017295076,
-0.009985723,
-0.0044058766,
0.001619448,
-0.042933714,
-0.081506975,
-0.007917301,
0.006911042,
-0.017553627,
0.0016805922,
-0.051738482,
0.021802276,
-0.024275998,
0.010866199,
0.032647513,
-0.0028353443,
-0.013989794,
-0.0063030943,
-0.06557454,
-0.070046805,
0.01637966,
0.04558912,
-0.026735742,
-0.010265239,
-0.042430583,
-0.018867355,
-0.050816078,
0.021788301,
0.025408039,
-0.015079908,
0.01400377,
-0.008671995,
0.031948723,
0.04248649,
0.025002738,
0.020614332,
-0.0036756403,
-0.0157787,
-0.016183998,
0.0009110487,
-0.010335118,
-0.0030327525,
0.048132718,
-0.022347335,
-0.015401352,
0.009112233,
0.006680441,
0.006872609,
-0.077649646,
-0.00022230286,
-0.0015705326,
0.02817525,
0.0008852808,
0.009482593,
-0.009685243,
0.012815826,
-0.00149978,
-0.0068132114,
-0.002847573,
-0.019873613,
-0.034073047,
-0.033010885,
-0.03533087,
0.04374431,
-0.044359248,
-0.010691501,
-0.03396124,
-0.010342105,
-0.0060270717,
0.013626423,
0.0187835,
0.022584923,
0.027979588,
0.048076816,
0.00047561456,
-0.0041053966,
-0.02567358,
-0.014367142,
0.021662518,
0.032172333,
-0.038545307,
0.048943315,
0.056043033,
-0.0016465262,
0.032032575,
-0.0036022672,
-0.026050925,
-0.039663374,
0.0149541255,
0.042598296,
-0.004465274,
-0.006865621,
0.02517045,
0.0013670097,
-0.039803132,
0.018112661,
0.0044967197,
0.020628309,
0.012396551,
0.038042177,
0.010467888,
0.045309603,
-0.009189101,
0.021089511,
0.01801483,
0.030523188,
0.020125179,
0.02125722,
-0.021131437,
0.01794495,
-0.04642767,
0.0021086016,
0.06607767,
0.017008571,
-0.0050557526,
0.013745218,
-0.0077495915,
0.005478521,
-0.0062017697,
0.044554908,
-0.008832717,
0.023479376,
0.0125992,
0.01888133,
-0.008371515,
-0.040390115,
-0.017483748,
0.032619562,
-0.0268755,
-0.014297263,
-0.025687555,
-0.03686821,
-0.042179022,
-0.024653343,
-0.019496268,
-0.03580605,
0.012752934,
0.006526707,
-0.056434356,
-0.026582006,
0.016058216,
0.030970413,
-0.014982077,
-0.018294346,
0.0077635674,
-0.0020946257,
0.012627152,
-0.03178101,
0.004688887,
0.052912448,
-0.014122564,
-0.044023827,
-0.004709851,
-0.01587653,
-0.01911892,
0.032032575,
-0.012179926,
0.0033367267,
-0.007861398,
-0.01998542,
-0.011949325,
0.008064047,
-0.03533087,
0.01828037,
0.009084282,
-0.009189101,
-0.0020160119,
0.0066664657,
-0.0027148027,
-0.0003098701,
-0.014073649,
0.027658144,
0.02048855,
-0.022640826,
0.040865295,
0.03686821,
0.028790187,
0.06255576,
0.024513585,
-0.04625996,
0.045728877,
0.016701102,
-0.0512074,
-0.027364653,
0.050760172,
0.0243319,
-0.015359425,
0.0029541387,
0.00402853,
-0.03963542,
0.0006022704,
0.009650303,
0.025659602,
-0.016994596,
0.028790187,
-0.027560314,
-0.009580424,
0.03991494,
0.007924289,
-0.008329588,
0.009405726,
-0.031948723,
0.023171907,
0.038545307,
-0.004535153,
0.034464367,
0.046874896,
0.010558731,
-0.030020058,
0.03569424,
0.020600356,
0.00805706,
-0.020670235,
0.026931403,
-0.044526957,
0.055791467,
-0.069040544,
-0.010279215,
-0.013850036,
0.033402205,
-0.013060402,
-0.038461454,
0.002929681,
-0.024359852,
0.0050382824,
-0.08474936,
-0.022207575,
-0.0683697,
-0.03343016,
-0.0022885404,
-0.005943217,
-0.019356508,
0.041564085,
-0.0034502803,
-0.0012717994,
-0.024751175,
0.07630797,
0.004224191,
0.03362582,
0.022179624,
-0.0048321392,
-0.0035585929,
0.032172333,
-0.0461202,
-0.032647513,
0.020362768,
0.018406153,
-0.0017670676,
0.0013163474,
-0.060710955,
0.0358899,
0.027853806,
0.01019536,
-0.051458962,
0.04729417,
-0.016086167,
-0.018895308,
0.016938692,
0.048048865,
0.025631651,
-0.019915542,
-0.005024307,
-0.0082247695,
-0.043912023,
0.016225925,
-0.030998366,
0.045197796,
-0.010118493,
-0.04064168,
-0.013179197,
-0.042961664,
0.007840434,
0.03888073,
-0.017539652,
-0.032172333,
0.014255335,
0.022990221,
0.06602177,
0.034352563,
-0.044610813,
-0.0034869667,
0.0751899,
0.015960384,
0.03348606,
0.045505267,
0.029321268,
0.022305407,
-0.0037280496,
-0.0018587839,
0.02510057,
0.013130281,
-0.047685493,
0.01433919,
-0.011606918,
-0.07261835,
-0.0452537,
0.012005229,
-0.0017862843,
-0.026987305,
-0.025743458,
-0.0004511569,
-0.03463208,
-0.07155619,
-0.0040215417,
-0.031138124,
0.016770983,
-0.03312269,
-0.041396376,
-0.034380514,
-0.034212805,
0.22920342,
0.023786843,
0.045002136,
-0.010307166,
0.014492923,
0.048356332,
-0.015974361,
-0.006257673,
0.0037140737,
-0.055232435,
0.009908855,
-0.048859462,
0.0065197195,
0.014255335,
-0.0056077973,
0.02577141,
-0.06417696,
-0.012606189,
0.015401352,
-0.06786657,
-0.04676309,
0.03463208,
-0.018685669,
0.05140306,
-0.003626725,
-0.017833145,
0.029321268,
-0.066301286,
0.04058578,
-0.0100346375,
0.012620164,
-0.006708393,
-0.019594098,
-0.06099047,
-0.008273684,
0.026623935,
-0.00781947,
-0.042402633,
-0.0035061834,
-0.015792675,
0.014926175,
0.017833145,
0.027490435,
-0.024373828,
0.030914512,
0.0056602065,
0.004685393,
0.025282256,
0.03343016,
-0.07211522,
0.03245185,
-0.0358899,
0.04645562,
-0.03960747,
-0.03619737,
-0.01283679,
-0.0052234624,
-0.023465399,
0.006159842,
0.00665249,
0.04284986,
0.020642284,
0.008259709,
0.043157328,
0.028231153,
0.0057580373,
0.0029628736,
-0.000044411438,
-0.030634994,
-0.011019933,
0.05925747,
-0.009433677,
-0.040362164,
-0.004140336,
-0.013500641,
0.03538677,
0.023381544,
-0.0047867177,
0.0030641982,
-0.06294709,
0.020698188,
-0.0011896916,
0.0074770628,
-0.024946837,
0.008888621,
0.053387627,
-0.02740658,
-0.013081366,
0.008839705,
0.036281224,
0.00882573,
0.051822335,
0.018196516,
0.04715441,
0.052660882
] |
examples/pytorch/summarization/run_summarization.py -h
Resume training from checkpoint
Another helpful option to enable is resuming training from a previous checkpoint. This will ensure you can pick up where you left off without starting over if your training gets interrupted. There are two methods to resume training from a checkpoint.
The first method uses the output_dir previous_output_dir argument to resume training from the latest checkpoint stored in output_dir. In this case, you should remove overwrite_output_dir: |
[
0.056888547,
0.018784486,
0.03925873,
0.031654816,
-0.022600524,
-0.020234862,
0.004861577,
-0.004914382,
-0.011455157,
0.060380716,
-0.009293674,
0.00057029363,
-0.02595188,
0.015081097,
-0.018038176,
-0.026965735,
0.022586443,
-0.012736557,
-0.074236736,
0.023811517,
-0.023022965,
0.03531596,
-0.06668915,
-0.027697964,
-0.06421083,
0.0045060236,
-0.05328373,
0.0478765,
0.04246927,
0.009934374,
-0.035344124,
-0.009793561,
-0.03906159,
-0.05350903,
0.021079741,
-0.011800149,
0.008695217,
0.0053438623,
-0.022375222,
-0.043257825,
-0.01978426,
-0.00015093418,
0.010307529,
-0.009821723,
-0.07778523,
-0.020065887,
-0.035175145,
-0.015235992,
-0.021854214,
-0.047313247,
0.020277105,
0.011912799,
0.037371833,
-0.014489682,
-0.02457191,
-0.038160387,
-0.004660918,
0.0047630076,
-0.062014148,
0.0010200159,
-0.009751316,
0.020403838,
0.0017434439,
-0.05280496,
0.014700902,
0.0081530865,
-0.033767015,
-0.023304591,
-0.016644124,
-0.020544652,
-0.053396378,
0.01233524,
-0.0070758653,
-0.020769952,
-0.06066234,
0.003159497,
0.025557602,
-0.019404063,
-0.020572813,
0.044609632,
0.011328425,
0.04897484,
0.033654362,
-0.0014943804,
-0.028275298,
-0.031035237,
0.02945813,
0.0032035012,
0.0047172434,
-0.009476731,
-0.01861551,
0.027148793,
-0.041539904,
0.004530666,
0.023318673,
0.050270326,
-0.0453137,
0.033147436,
0.013426542,
0.006223945,
0.061338246,
0.10915842,
-0.009504894,
0.02786694,
-0.008526241,
0.024276203,
0.053537194,
-0.010370895,
-0.044694122,
-0.0049531055,
0.01584149,
-0.011004554,
-0.0011458677,
-0.012032491,
-0.054410234,
0.05063644,
0.020164456,
0.011546685,
-0.06021174,
-0.020136293,
-0.00701954,
0.012898493,
0.0013570875,
-0.044215355,
0.007146272,
-0.028303461,
-0.007371573,
-0.0021227596,
-0.0011942723,
-0.042300295,
0.00478765,
-0.042919874,
-0.0047418857,
0.037653457,
-0.006790718,
-0.0072941254,
-0.0039286893,
-0.018798567,
0.029063853,
-0.005350903,
0.02489578,
-0.026684107,
-0.049847886,
0.050045025,
0.006864645,
0.023248265,
-0.0037737947,
-0.03531596,
-0.061957825,
0.041962344,
-0.058353003,
0.025839228,
0.0067801573,
0.0059317574,
-0.013870103,
-0.050664604,
0.014531926,
-0.0027722607,
0.022994801,
0.03661144,
-0.038216714,
0.028204892,
0.023389079,
0.061225593,
0.018052258,
0.0570012,
-0.015067016,
-0.015404968,
-0.05319924,
-0.042159483,
0.0068470435,
0.0056466106,
0.021431774,
-0.019939154,
0.070237644,
0.041201953,
0.01181423,
-0.030528309,
0.002275894,
-0.0065161325,
-0.023220103,
0.008181249,
0.020812197,
0.0036400221,
-0.022811744,
0.023304591,
0.007181475,
0.018868973,
-0.03455557,
0.008751542,
0.026613701,
0.03159849,
-0.003661144,
0.027402256,
-0.019094275,
0.008103802,
-0.015123341,
-0.023220103,
0.004245519,
0.007906663,
-0.02362846,
0.026120855,
0.0018235313,
-0.010603237,
-0.032837648,
-0.012166264,
0.019404063,
0.04925647,
0.028472437,
0.041004814,
0.030781774,
-0.006097213,
-0.034442917,
0.031851955,
0.009533056,
-0.024740886,
-0.05669141,
-0.02074179,
-0.011265059,
-0.013651843,
-0.019727934,
0.04691897,
-0.0034675258,
0.043990053,
0.041680716,
-0.036329813,
0.0014697382,
0.019699771,
0.011905759,
0.041821532,
0.02733185,
0.02062914,
0.009138779,
0.051875595,
-0.000017037852,
0.013194201,
0.043539453,
0.028120402,
0.007723606,
0.022065435,
-0.0075264676,
0.021502182,
0.010194878,
0.017559411,
-0.008610729,
0.04384924,
-0.013004103,
-0.050523788,
0.014285503,
0.04351129,
-0.051875595,
0.042384785,
0.0148557965,
0.030387497,
-0.03638614,
-0.009568259,
-0.0003436723,
0.024445178,
-0.026247587,
0.009265511,
0.010448342,
0.061845172,
0.023867844,
0.0359637,
0.016770856,
0.037737947,
-0.016911669,
0.000046699388,
0.0050798375,
-0.015911896,
-0.008582567,
-0.076320775,
-0.06888583,
-0.018854892,
-0.040357072,
-0.0003872364,
-0.010455383,
-0.030134032,
-0.039005265,
-0.02010813,
-0.019108357,
-0.01627801,
-0.013285729,
0.014954366,
0.008554404,
0.023656623,
-0.020840358,
-0.0004180393,
-0.018108582,
0.021966865,
-0.0051432033,
-0.04370843,
-0.0072307596,
0.00031836992,
0.043454964,
-0.03863915,
0.043652102,
-0.03393599,
-0.010814456,
-0.00968091,
-0.030781774,
0.010497627,
-0.012637988,
0.011180571,
-0.054635536,
0.06359126,
0.020023642,
-0.0142291775,
0.027599394,
0.04125828,
-0.023952331,
0.0056254887,
0.03264051,
-0.0077728904,
-0.05638162,
0.03925873,
0.02712063,
-0.005231212,
0.0044532185,
-0.036160838,
-0.047707524,
-0.0012849207,
0.01905203,
-0.01861551,
-0.006512612,
0.08533282,
0.008026354,
-0.07699668,
-0.00233926,
-0.063478604,
-0.008843071,
-0.019699771,
0.025825147,
0.03509066,
0.00904725,
0.010786294,
-0.050467465,
-0.0012074735,
0.002914834,
0.006850564,
0.017967768,
0.0040695025,
0.01308859,
0.008688177,
-0.020403838,
0.007885541,
0.0087445015,
-0.028979365,
-0.024318445,
0.008230533,
0.021107905,
0.012440849,
0.037174694,
0.007512386,
0.018024094,
-0.00086380116,
-0.008216452,
0.026754515,
-0.014841715,
0.014193974,
0.0338515,
0.042919874,
0.01532048,
-0.02424804,
-0.031091562,
-0.041427255,
-0.022685012,
0.016517393,
0.015376805,
-0.013398379,
0.04936912,
0.025219651,
-0.055142462,
0.04987605,
0.013306851,
-0.002490634,
0.07322288,
0.036189,
0.032584183,
-0.011821271,
0.011314344,
0.04193418,
0.01584149,
0.0035132903,
0.011736783,
0.046975296,
0.025022512,
0.019432226,
0.024726804,
0.025374545,
0.004301844,
-0.014757227,
-0.012292995,
-0.033767015,
-0.0063894005,
-0.09276776,
0.032274395,
0.03562575,
0.035456773,
0.00798411,
0.036442466,
0.0049390243,
0.031288702,
0.021107905,
0.010131513,
-0.0011617092,
-0.046130415,
0.03934322,
0.006681588,
0.049087495,
-0.020446083,
-0.019488553,
0.030612797,
0.01489804,
-0.011412913,
0.013109712,
-0.025050675,
-0.0007172674,
-0.0024994349,
-0.017601654,
0.01627801,
-0.025712498,
0.0007863539,
-0.010307529,
0.03714653,
-0.056747735,
-0.009173982,
-0.037287343,
0.039709333,
0.05362168,
-0.024332527,
-0.007498305,
-0.032077257,
-0.031654816,
-0.051650293,
0.029317316,
0.016756775,
-0.027796533,
-0.007153312,
-0.032415207,
-0.00010153955,
-0.017432678,
0.014644576,
0.021882378,
-0.007801053,
0.009603463,
0.01639066,
0.008997966,
0.0261631,
-0.034640055,
0.036414303,
-0.04393373,
0.03309111,
-0.053987794,
0.037850596,
-0.025247812,
0.007329329,
0.012525338,
0.038582828,
-0.0071216295,
-0.020502407,
0.007653199,
-0.011363628,
-0.046524692,
-0.037259184,
0.058859933,
0.0011476278,
-0.012497175,
0.03562575,
-0.024783129,
-0.012715436,
0.0106595615,
0.026008205,
-0.016235767,
0.0042631207,
-0.037033882,
-0.005998644,
-0.016348416,
-0.010511708,
-0.0071110683,
-0.007843297,
0.03754081,
-0.018587347,
-0.038977105,
-0.031429514,
-0.08392469,
-0.021192392,
-0.013623681,
-0.058803607,
0.0006829442,
0.0079700295,
-0.016869426,
-0.004713723,
-0.04604593,
-0.00531922,
-0.0045377067,
0.023881925,
-0.0060056844,
-0.01754533,
0.009307755,
0.035175145,
-0.048608728,
-0.0003713949,
0.016967995,
-0.015503537,
0.011588929,
-0.031711143,
-0.00138261,
0.050214,
0.034837194,
0.0049636667,
0.022966638,
-0.03480903,
0.032527857,
0.01181423,
-0.029260991,
0.002562801,
-0.013137875,
0.0131237935,
0.057733428,
-0.00839951,
-0.044102706,
-0.015940059,
0.004403934,
-0.022318898,
0.02979608,
0.0359637,
-0.043736592,
-0.054325745,
-0.039371382,
0.038216714,
-0.005928237,
-0.007779931,
-0.034724545,
0.0065020514,
-0.007329329,
0.0074842237,
0.05480451,
-0.0056677326,
0.019066112,
-0.033823337,
-0.00056941353,
-0.06032439,
0.03193644,
-0.004375771,
-0.0028127444,
-0.042581923,
0.011546685,
0.003009883,
0.037174694,
0.008462875,
-0.028866714,
0.023304591,
0.03289397,
-0.04148358,
-0.041906018,
0.016263928,
0.012497175,
0.02309337,
-0.0092232665,
-0.0085614445,
0.028711818,
-0.014546007,
0.057846077,
0.012736557,
-0.0240509,
-0.01979834,
0.046778157,
0.045482676,
-0.024515584,
-0.010955269,
-0.012159223,
0.027148793,
-0.021741563,
0.031345025,
-0.006565417,
0.016982077,
0.021980947,
-0.03244337,
0.007244841,
0.00035225312,
-0.016010465,
0.017010238,
-0.007308207,
0.036217164,
-0.059648488,
0.07311023,
0.06595692,
0.023304591,
0.025332302,
-0.016348416,
0.009568259,
0.013384298,
-0.012623906,
-0.018812649,
-0.040666863,
-0.057508126,
0.006054969,
0.0007247481,
-0.04691897,
-0.039005265,
0.011222815,
0.042497434,
-0.01180719,
0.03413313,
0.038273036,
-0.018418372,
-0.007265963,
0.05587469,
-0.023473566,
0.01063844,
0.027092466,
0.013665925,
0.021474019,
0.0008981244,
-0.086966254,
-0.015081097,
-0.028218972,
0.06302801,
0.0010948229,
-0.021910539,
-0.013320932,
0.034386594,
-0.031119725,
-0.057846077,
0.0074208574,
0.005150244,
0.0021949264,
-0.016052708,
-0.026726352,
0.025191488,
-0.053734332,
0.009054291,
0.03565391,
-0.014658658,
0.027965508,
-0.009842846,
-0.012567582,
-0.0064210836,
0.010237122,
0.05266415,
-0.03264051,
0.027528988,
-0.039286893,
0.04489126,
-0.036780417,
-0.006956174,
0.01584149,
0.00026424482,
-0.0034904082,
0.0026085651,
-0.00091968646,
0.031345025,
-0.025304139,
-0.014672739,
-0.008821949,
-0.015376805,
-0.046552856,
-0.018052258,
0.031345025,
0.018699998,
0.004234958,
0.0068259216,
-0.0042807222,
-0.00766024,
0.04044156,
0.008096761,
-0.08989517,
-0.00013058228,
-0.020305268,
0.023712948,
-0.007864419,
0.016503312,
0.003872364,
0.033654362,
0.004914382,
-0.04097665,
-0.017770631,
0.013454705,
-0.02595188,
-0.007801053,
-0.06252108,
0.03627349,
-0.0098850895,
-0.025135163,
-0.06285903,
-0.02457191,
0.029092014,
0.030838098,
-0.00041033857,
-0.0075687114,
0.002254772,
0.014285503,
0.038244873,
-0.0021755644,
-0.0061993026,
-0.024290282,
0.02062914,
-0.00040329792,
-0.013863063,
0.05615632,
0.046975296,
-0.023515811,
-0.020727709,
0.00904725,
-0.027937345,
-0.018319802,
0.026515132,
0.034780867,
-0.02945813,
0.0052417726,
0.0011449876,
0.027585313,
-0.022839908,
-0.06263373,
0.0060479287,
0.006692149,
0.017193297,
0.03041566,
-0.021051578,
0.050242163,
0.012863289,
0.015855571,
0.0027599395,
0.009392243,
-0.0063753193,
-0.0056677326,
-0.011603011,
0.051481318,
0.028148565,
-0.021826051,
0.03776611,
0.011124246,
-0.0068892874,
-0.007456061,
-0.004393373,
-0.034076802,
-0.040723186,
0.013989795,
-0.027303686,
0.054100446,
0.019094275,
-0.016967995,
-0.00057821436,
-0.020375675,
-0.01840429,
0.0049953493,
-0.06528102,
-0.028599167,
0.035118822,
-0.043257825,
-0.012300036,
-0.023755193,
-0.0010649001,
-0.010814456,
0.057367314,
0.010420179,
-0.038554665,
0.025149245,
0.0075898333,
0.0047102026,
-0.027303686,
-0.02307929,
0.020037724,
0.022924395,
-0.030162195,
-0.018911218,
0.013102671,
0.03255602,
-0.0145600885,
-0.02903569,
-0.020868521,
-0.06364758,
-0.020065887,
0.007491264,
-0.016644124,
0.015250074,
-0.047932826,
0.011419954,
-0.017967768,
0.006255628,
-0.022642769,
0.042384785,
0.018418372,
-0.012349321,
0.005171366,
0.0138982665,
-0.017601654,
0.0019925074,
-0.022417467,
0.017615736,
0.042384785,
-0.019305496,
-0.019587122,
0.012278914,
0.010173757,
0.07181475,
0.0020294709,
-0.037822437,
0.02819081,
0.016207604,
0.023107452,
-0.033119272,
0.047707524,
0.015658433,
-0.009624585,
-0.014926203,
0.016756775,
-0.03787876,
0.015658433,
0.0037737947,
0.037399996,
0.008441754,
-0.0067167915,
-0.04106114,
-0.0029113137,
0.01042722,
0.018263476,
-0.070406616,
0.016137198,
0.0041645514,
0.02914834,
0.0261631,
0.0036822662,
0.033260085,
0.032274395,
0.029486291,
-0.006850564,
0.024853537,
0.035541262,
0.025078837,
-0.033541713,
0.004182153,
-0.029429967,
0.010800376,
-0.06905481,
-0.007632077,
-0.034780867,
0.04627123,
0.025698416,
-0.0227695,
0.020812197,
-0.024388852,
-0.038977105,
-0.021431774,
0.025937798,
-0.04255376,
0.00627675,
0.029824244,
-0.035259634,
-0.06629487,
0.0227695,
0.02403682,
-0.025585765,
-0.0021192392,
0.084544264,
0.041990507,
0.05671957,
0.015306398,
0.008371347,
-0.0029394764,
-0.00037513525,
-0.040948488,
-0.025515359,
-0.012814005,
-0.009526015,
-0.04934096,
-0.025515359,
-0.019122437,
0.027191035,
0.052945778,
-0.015827408,
-0.03500617,
0.06601325,
-0.0024695122,
0.004182153,
0.018052258,
0.03531596,
0.0061640996,
-0.017615736,
0.038160387,
-0.005614928,
-0.029345479,
-0.022896232,
-0.040779512,
0.034978006,
0.010384976,
-0.04001912,
-0.07558855,
-0.053480867,
0.011194652,
0.02414947,
0.0013007623,
-0.039512195,
0.025135163,
0.028613249,
0.07243433,
-0.0056008464,
-0.031091562,
-0.016869426,
0.051199693,
0.030612797,
-0.007892582,
0.07609547,
0.039117917,
0.0000968091,
-0.006002164,
0.033907827,
0.01096231,
0.0018534542,
-0.04137093,
-0.024107225,
0.032049093,
-0.008462875,
-0.054353908,
-0.019854667,
0.04672183,
-0.028571006,
-0.0035713757,
-0.018122664,
-0.029289152,
-0.079812944,
0.017686142,
-0.021980947,
0.0717021,
-0.037709784,
-0.038695477,
-0.029345479,
-0.055057976,
0.23251082,
0.035344124,
0.054353908,
-0.014475601,
0.008948681,
0.007160353,
0.014165811,
-0.04151174,
-0.011891678,
-0.015306398,
0.045876954,
-0.025247812,
-0.046412043,
0.032274395,
-0.017376354,
0.054832675,
-0.06387288,
-0.005924717,
0.011046798,
-0.059197884,
-0.0574518,
0.030443821,
-0.021051578,
0.029627105,
0.015940059,
0.01648923,
0.010413139,
-0.02564209,
0.064830415,
-0.008554404,
-0.04044156,
-0.028261216,
0.02882447,
-0.0073574916,
-0.02233298,
0.03148584,
-0.021305043,
-0.027514907,
-0.0063365954,
-0.013623681,
0.022952557,
-0.033344574,
0.008286859,
-0.008357266,
-0.014813553,
-0.00946969,
-0.014799471,
0.03562575,
0.030809935,
-0.0861777,
0.034978006,
-0.0047630076,
0.009568259,
-0.021319123,
-0.07502529,
-0.00319118,
-0.018883055,
-0.03469638,
0.005171366,
0.038160387,
0.061338246,
0.034527406,
-0.029401803,
0.054438397,
-0.0103286505,
0.013539192,
-0.023994576,
0.0012109939,
-0.020544652,
-0.02075587,
0.025839228,
-0.0078221755,
-0.0059916032,
0.0011221055,
-0.033344574,
0.0499887,
-0.0061183353,
0.007202597,
-0.0036541035,
-0.039934635,
0.016939832,
-0.0046221945,
-0.020812197,
0.008983884,
-0.0005227691,
0.07316656,
-0.060155414,
-0.010131513,
0.0028039436,
0.022248492,
0.011948003,
0.045172885,
0.022783581,
0.027585313,
0.0116170915
] | train_file and validation_file specify the path to your training and validation files.
text_column is the input text to summarize.
summary_column is the target text to output.
A summarization script using a custom dataset would look like this: |
[
0.018017206,
0.047434036,
-0.008090836,
0.0098358,
-0.02209885,
-0.0524576,
0.010735453,
0.019997649,
-0.011339246,
0.029006252,
0.041492708,
0.01946631,
-0.0052711195,
-0.027122416,
0.0040756078,
0.015795244,
-0.02511782,
-0.039995298,
-0.026687684,
0.006170772,
0.0029133048,
0.010469784,
-0.083226934,
-0.020227091,
-0.02951344,
0.0005924726,
0.015010312,
0.0068107937,
0.09168004,
0.036155168,
-0.014780871,
-0.024598558,
-0.01525183,
-0.028112637,
-0.016543949,
-0.0091474755,
0.04593663,
0.045018863,
-0.049221266,
-0.032484103,
-0.022461127,
-0.020396153,
0.049390327,
-0.019744055,
-0.048689928,
-0.040816456,
-0.011061502,
0.012884959,
-0.017377185,
-0.02298039,
-0.032459952,
0.015565803,
0.01747379,
0.0043956186,
0.0038189956,
0.032194283,
0.011894736,
-0.019224793,
-0.025214426,
-0.008114988,
-0.0035231365,
0.013464601,
0.017884372,
-0.064919904,
0.019104034,
0.036469143,
-0.022726797,
-0.015734864,
-0.012945338,
0.007462891,
-0.0017117553,
-0.028933797,
0.026808443,
-0.0111399945,
-0.032629013,
0.010463745,
-0.012015495,
0.029344376,
-0.024755543,
0.029585894,
0.035285708,
0.017920598,
-0.024127599,
0.004139006,
-0.055742238,
-0.027436389,
0.06434026,
-0.026301255,
-0.040792305,
-0.011574727,
-0.06931552,
0.022956239,
0.032363344,
0.027532995,
0.042676143,
0.0077768634,
-0.026397863,
0.038377132,
0.01080187,
0.027146567,
0.04564681,
0.09839423,
0.016664708,
0.020263318,
-0.035527226,
0.017787764,
0.00062605867,
-0.03494758,
-0.009292386,
-0.0037948438,
-0.0046492117,
0.03642084,
0.012788352,
0.009684851,
-0.031566337,
0.010650922,
-0.057770986,
0.004335239,
-0.03422303,
-0.01730473,
-0.0045797755,
0.020275394,
-0.01414085,
-0.02269057,
0.013512904,
-0.08984451,
-0.028402459,
0.033981513,
-0.015759017,
0.012474379,
-0.016700935,
-0.034826823,
0.014998237,
0.050573766,
-0.0055760355,
-0.002754809,
-0.06100732,
-0.011737751,
-0.03770088,
-0.042941812,
0.033957362,
0.002268755,
-0.00033133183,
0.06883249,
0.001695151,
0.028643975,
-0.008350467,
-0.05424483,
-0.0025525382,
0.03146973,
-0.018922897,
-0.008471226,
-0.015118996,
0.021398451,
0.009678814,
-0.017860219,
-0.0028529256,
0.0016468475,
0.015771093,
0.028692279,
0.049366176,
-0.017811915,
-0.038836014,
0.004652231,
-0.018391557,
0.033595085,
-0.007668181,
0.009358803,
-0.0026838633,
-0.023378894,
0.017642854,
0.0021615815,
0.022557735,
-0.026397863,
0.020130483,
0.020323697,
0.03530986,
0.0008136121,
0.03064857,
0.013621587,
-0.02509367,
-0.011713599,
-0.0023034732,
-0.002362343,
0.014829175,
0.037725035,
-0.016580176,
0.020118408,
-0.027726209,
0.022642266,
0.0008838031,
0.043666363,
-0.0072938283,
0.02160374,
-0.06477499,
-0.027702058,
-0.03091424,
0.008489341,
0.01765493,
-0.017099438,
-0.028643975,
0.06395383,
-0.022461127,
0.004404675,
-0.018174192,
-0.036469143,
0.005316404,
0.05018734,
-0.04654042,
0.03750767,
0.0047911033,
0.0042748596,
0.010813946,
-0.013887256,
0.031155758,
-0.030431205,
-0.05091189,
0.01027657,
0.015855623,
0.002327625,
0.053520277,
-0.0143219875,
0.01144793,
-0.007052311,
0.013633663,
-0.0220747,
-0.019683676,
0.047578946,
-0.0413961,
0.014358215,
0.0075111943,
0.020794656,
0.021374298,
0.062359817,
-0.01815004,
0.024562329,
0.05632188,
0.019901043,
-0.0035533262,
-0.0031608604,
0.021072403,
-0.013428373,
0.044898104,
0.0400436,
-0.060814105,
0.02069805,
-0.044729043,
-0.02526273,
-0.009811648,
0.058398932,
-0.015565803,
0.038135614,
0.01821042,
0.027822817,
-0.03550307,
-0.011327171,
0.036058564,
0.015976382,
0.00828405,
0.013041945,
-0.0018596847,
0.025311034,
-0.05632188,
0.0044680736,
0.012009458,
0.030020624,
0.019104034,
-0.003855223,
0.023813626,
-0.0015049559,
0.010729415,
-0.031856157,
-0.055790544,
-0.019804435,
-0.033039592,
0.009998824,
0.036614053,
-0.029054556,
-0.016930377,
-0.01744964,
0.015420892,
-0.022666417,
-0.0028151884,
0.025769917,
0.05467956,
0.008761047,
-0.05670831,
0.064630084,
-0.028450761,
0.04745819,
-0.023656638,
-0.012981566,
-0.006641731,
0.019961422,
0.012462303,
0.0031638793,
0.008670478,
-0.0034446435,
-0.003459738,
0.0011464534,
0.015903927,
0.03062442,
-0.008495378,
-0.002979722,
-0.029054556,
0.024683088,
0.033087898,
-0.030382901,
0.022123003,
0.030962544,
-0.030117232,
0.046588726,
0.014454822,
0.015855623,
-0.03354678,
0.025455944,
0.050718676,
-0.012534758,
-0.02310115,
-0.048206892,
-0.0351891,
-0.015372589,
-0.007891584,
-0.03755597,
-0.029779108,
0.058592144,
-0.009570131,
-0.04856917,
0.029875714,
-0.05448635,
-0.041492708,
-0.028547369,
-0.019599145,
0.036541596,
0.0075655356,
0.027074112,
-0.07013668,
-0.030189687,
-0.0103127975,
0.016556025,
0.034995887,
-0.04719252,
0.015879776,
0.047796313,
-0.02263019,
-0.009878065,
0.0041329684,
-0.009890142,
-0.032942988,
0.013766497,
0.018427785,
0.012897034,
0.019768208,
0.012860807,
-0.020806734,
0.015445044,
-0.030382901,
0.003963906,
0.069991775,
0.019840663,
0.022171307,
-0.0011366417,
0.035285708,
0.049559392,
-0.011967192,
-0.025890676,
-0.027822817,
0.037869945,
0.0022838498,
-0.07279337,
0.038377132,
0.006665883,
-0.002558576,
0.018488165,
0.0392949,
0.004845445,
0.031976916,
0.023572108,
0.048400108,
-0.049342025,
-0.041299492,
0.011864548,
-0.009020679,
0.04137195,
0.0005441691,
0.060524285,
0.037169542,
-0.015420892,
-0.025166124,
0.016181672,
-0.046588726,
0.007517232,
-0.012226824,
-0.02145883,
-0.051008496,
-0.058350626,
-0.02327021,
0.0049511087,
-0.02526273,
-0.021652045,
0.02538349,
-0.041202884,
0.0031336895,
0.031204062,
-0.0065209726,
-0.000045331704,
-0.013102325,
0.029634198,
0.024924606,
0.0024438552,
-0.013198932,
-0.013392146,
0.002508763,
0.010113546,
0.007269677,
-0.013416297,
0.0058296286,
0.014672188,
0.0047971415,
0.06095902,
0.013355918,
0.04110628,
-0.010016939,
0.016785467,
0.029271921,
-0.042024046,
0.005992653,
-0.05187796,
0.028064333,
0.041734222,
-0.0022476222,
-0.058060806,
0.0015592973,
-0.039802086,
-0.067866415,
0.006285493,
0.053616885,
-0.049607694,
0.012377772,
-0.019297248,
-0.015505424,
0.0101920385,
0.019744055,
0.018874593,
-0.007722522,
-0.015094844,
0.01870553,
0.009817686,
0.014792947,
-0.040937215,
0.030865937,
-0.053520277,
0.032604862,
-0.03146973,
-0.019961422,
-0.0072877905,
0.011369436,
0.0029208523,
0.022388672,
0.039391503,
0.0033721882,
-0.010427518,
-0.005886989,
0.009238045,
-0.053665187,
0.030044777,
-0.024924606,
-0.023366818,
0.049100507,
-0.018802138,
-0.005917179,
0.018331178,
0.05878536,
-0.038377132,
0.026180496,
0.0013207989,
0.028933797,
-0.01062677,
-0.020432381,
0.0420965,
-0.03477852,
0.010518087,
-0.014829175,
-0.022388672,
0.009992787,
-0.05023564,
0.0049571465,
0.0024272508,
-0.027267326,
0.03922244,
0.01642319,
-0.020806734,
0.03381245,
-0.0071851457,
0.022750948,
0.0013660834,
-0.015553727,
0.00357144,
0.02871643,
0.008942186,
0.029924018,
-0.046685334,
0.015481272,
0.04016436,
-0.016411114,
-0.013404221,
-0.025552552,
-0.010059204,
-0.005476409,
-0.019562917,
-0.049462784,
0.007281753,
-0.014768795,
0.011641144,
-0.036662355,
-0.014732568,
0.0006007748,
-0.025214426,
-0.011182261,
0.016302431,
-0.04127534,
-0.049148813,
-0.033474326,
0.031204062,
0.0033389796,
0.020999948,
0.031421427,
-0.03062442,
-0.029368527,
-0.04212065,
0.025166124,
-0.021676196,
-0.009413145,
-0.023076998,
-0.05917179,
0.0082719745,
0.04303842,
0.0055247126,
-0.035841197,
0.006490783,
-0.045284532,
-0.023028694,
-0.06506482,
0.00547339,
-0.03530986,
-0.0028363212,
-0.028692279,
0.00040907026,
-0.002119316,
0.034198876,
0.014297836,
0.01331969,
0.03750767,
-0.013838952,
-0.0566117,
-0.042168956,
-0.00184459,
-0.0073964735,
0.014660113,
0.00986599,
-0.023656638,
0.043231633,
-0.071440876,
0.05009073,
-0.05960652,
-0.01531221,
-0.01911611,
-0.011490195,
0.042313866,
-0.051781353,
0.024876302,
-0.01159284,
0.025335185,
0.006080203,
0.06313267,
0.010198076,
0.030141383,
-0.021024099,
-0.07767203,
0.05033225,
-0.018886669,
-0.0059956717,
0.0014347649,
0.022135079,
0.04526038,
-0.01671301,
0.06854267,
0.05424483,
0.0030687817,
0.017063212,
-0.014805023,
0.014599733,
-0.0067745657,
-0.022726797,
-0.015034464,
-0.046733636,
-0.022424899,
-0.00038171085,
-0.036638204,
-0.05033225,
-0.03755597,
-0.006581352,
0.037338607,
-0.0041118353,
0.07569159,
-0.015118996,
-0.072310336,
-0.06255303,
0.018596847,
0.013500828,
-0.005126209,
0.029779108,
-0.019067807,
0.00969089,
0.007613839,
-0.015855623,
-0.026518622,
-0.002966137,
0.05052546,
-0.010638846,
-0.03902923,
-0.005228854,
0.02283548,
-0.02008218,
-0.062021695,
0.0111641465,
0.015432969,
0.008779161,
-0.058109112,
0.026929202,
-0.0217245,
-0.022135079,
0.027098263,
0.056225274,
-0.031373125,
0.040405877,
0.0010506011,
-0.0004490716,
-0.06921892,
-0.00072794885,
0.023668716,
-0.029634198,
-0.029054556,
-0.04393203,
-0.0011834358,
-0.01650772,
-0.012365696,
0.042024046,
0.016797543,
0.00002919909,
0.029924018,
0.03958472,
0.08100497,
-0.017968902,
0.049414482,
-0.009576169,
-0.03502004,
-0.066417314,
-0.0028302833,
0.017401336,
0.02620465,
0.037242,
-0.0048816726,
0.032508254,
0.06313267,
0.009823725,
-0.021446753,
-0.08114988,
0.029320225,
-0.04538114,
-0.009256158,
0.0019200641,
0.032339193,
0.006291531,
0.060620893,
0.0008807841,
-0.08153631,
0.0037918247,
0.009545979,
-0.014213305,
-0.029127011,
-0.012226824,
0.026591077,
-0.044632435,
-0.031590488,
-0.008984451,
-0.0142495325,
0.001981953,
0.025673311,
0.031445578,
0.05274742,
0.009135399,
0.0035895538,
0.016290355,
-0.013307614,
-0.00038793747,
0.016495645,
0.013694042,
0.017461715,
-0.039391503,
0.0800389,
0.04772386,
-0.023233984,
-0.041492708,
0.037604276,
0.020154634,
-0.030334597,
0.01879006,
0.034561154,
0.02924777,
0.009853914,
-0.0047699707,
0.0044107134,
-0.0462023,
-0.0049118623,
-0.036131017,
-0.035285708,
0.030407052,
0.023294363,
0.05728795,
0.04832765,
-0.022316217,
0.03741106,
-0.02719487,
0.01876591,
0.005992653,
-0.020685975,
0.0020061047,
0.035865348,
-0.016616404,
-0.06197339,
0.04651627,
0.025286883,
-0.024803847,
-0.0071368422,
-0.011248678,
-0.029779108,
-0.015771093,
-0.0074085495,
0.026180496,
0.05448635,
0.018367406,
-0.013005718,
0.0112366015,
-0.013573283,
-0.027653754,
0.009171627,
-0.083806574,
-0.023668716,
0.030334597,
-0.015118996,
0.006581352,
0.046443816,
-0.009346727,
0.018633075,
0.01973198,
-0.02096372,
-0.00008698404,
-0.0060077477,
0.0076802564,
0.04856917,
-0.03750767,
-0.033764146,
-0.00986599,
0.009286348,
-0.043135025,
-0.00368918,
-0.000712854,
0.044777345,
0.043255784,
0.027919423,
-0.01217852,
0.008791237,
0.018741759,
-0.005790382,
-0.032001067,
0.0393432,
-0.014817099,
-0.00529829,
0.00057888724,
-0.014974085,
-0.009443334,
0.026518622,
0.0071911835,
0.01490163,
0.0043563717,
0.015300133,
-0.00046567593,
-0.074725516,
0.030745178,
0.028136788,
0.05009073,
-0.0047699707,
0.0021479963,
0.0018777986,
0.010850173,
0.00216611,
0.0524576,
-0.051443227,
0.0060469946,
0.041903287,
-0.01194304,
0.006376062,
0.019224793,
0.025963131,
-0.007571574,
-0.0071066525,
-0.043811273,
-0.020528987,
-0.0041903285,
0.009648624,
-0.018222496,
-0.023547957,
-0.0019230831,
-0.002511782,
-0.029634198,
-0.00023774379,
-0.0053707454,
-0.051491532,
0.011719637,
0.02842661,
0.03132482,
0.006696073,
0.033595085,
-0.036348384,
0.01987689,
0.052940637,
0.010807908,
0.025649158,
0.014201229,
0.05009073,
0.022859631,
0.02189356,
-0.022907935,
-0.008531606,
-0.05888197,
-0.04238632,
-0.032942988,
0.021639967,
-0.0073119425,
-0.042676143,
0.007734598,
-0.0476031,
-0.0127642,
-0.018198343,
0.008290088,
-0.05989634,
-0.02104825,
0.032484103,
-0.031228213,
-0.008833502,
0.06057259,
0.024900455,
0.019369703,
0.04511547,
0.0869946,
0.009908255,
0.055307508,
0.06535464,
0.0033721882,
0.016616404,
0.03700048,
-0.036638204,
-0.022666417,
-0.0113573605,
0.0080546085,
0.0046099653,
-0.050960194,
-0.042048197,
0.031735398,
0.0071791075,
0.023028694,
-0.033305265,
0.02801603,
-0.020239167,
-0.033764146,
-0.004440903,
0.06144205,
-0.0031306706,
0.0032604863,
-0.038256373,
-0.02215923,
-0.017630778,
0.026108041,
-0.05902688,
0.036372535,
-0.009914293,
-0.023161529,
-0.0016468475,
-0.021301843,
-0.010047128,
0.00088833156,
-0.02189356,
-0.019901043,
0.028523216,
0.037048783,
0.002973684,
0.0074810046,
-0.020070104,
0.00831424,
0.02830585,
0.02511782,
-0.004540529,
0.06656222,
0.053713493,
-0.004516377,
-0.012860807,
-0.0007521006,
0.014358215,
-0.007474967,
-0.019369703,
0.0031216138,
0.04212065,
-0.049438633,
-0.036058564,
-0.027702058,
-0.009829762,
-0.004806198,
0.004721667,
-0.056756612,
0.020734277,
-0.10375592,
-0.0027246193,
-0.0038039007,
0.046999305,
0.008042533,
-0.019961422,
-0.065258026,
-0.0800872,
0.14404103,
0.015481272,
0.025818221,
-0.0013268368,
0.038280524,
0.047313277,
0.04016436,
-0.064388566,
-0.0014408028,
0.006545124,
0.013851029,
-0.004344296,
0.035527226,
0.018367406,
0.02221961,
0.021301843,
-0.053761795,
-0.008730858,
0.020565215,
-0.044415068,
-0.055693936,
0.044729043,
0.031542186,
0.021169009,
0.02386193,
0.051926263,
0.015058616,
-0.062601335,
0.04596078,
-0.049994122,
0.021700347,
-0.028209245,
-0.007559498,
0.027412236,
0.022110928,
0.038546193,
0.013138552,
-0.02394646,
0.016640555,
-0.014780871,
-0.0027804703,
-0.024441572,
-0.006179829,
-0.008465189,
-0.0524576,
-0.029610045,
-0.020311622,
0.004142025,
-0.0029283997,
-0.049414482,
0.009890142,
-0.065789364,
0.040140208,
0.010735453,
-0.064678386,
-0.029465135,
-0.058157414,
-0.061780177,
0.017087363,
0.04526038,
0.028764734,
0.011786054,
-0.02186941,
0.030696874,
-0.0015140128,
0.0071126902,
0.015614106,
-0.028764734,
0.0070040077,
0.0061073736,
0.027098263,
-0.011399626,
-0.034174725,
-0.035575528,
-0.03965717,
0.060137857,
-0.02816094,
0.020372001,
-0.013633663,
-0.026470318,
0.010397328,
0.0090991715,
0.057239648,
-0.028764734,
0.007227411,
0.046757787,
-0.043811273,
0.04122704,
0.00006938911,
0.035792895,
0.035696287,
0.011864548,
0.02731563,
-0.0009796553,
-0.01882629
] | max_train_samples
max_eval_samples
max_predict_samples |
[
0.036294628,
0.033617157,
0.009430653,
-0.012613871,
-0.044505544,
-0.01694245,
0.014071606,
0.008887721,
0.0037466022,
0.01706145,
-0.003542073,
-0.008181166,
0.007251488,
-0.008329915,
-0.02255027,
0.017284572,
0.038496107,
-0.015722714,
-0.061165374,
-0.004942168,
0.02531699,
0.03602688,
-0.067948304,
-0.053370953,
-0.005756566,
0.041530576,
-0.0032873414,
-0.03810936,
0.06544933,
0.02255027,
-0.06277186,
0.0013833608,
0.0121825,
-0.025495488,
-0.0025510364,
-0.032546166,
-0.017834943,
-0.012970868,
-0.024989745,
-0.06295036,
0.03326016,
-0.007987794,
0.007381643,
-0.04391055,
-0.031088432,
0.0147112245,
0.015514466,
0.023561759,
0.057476413,
-0.028396085,
-0.014369103,
0.048581254,
-0.0054330383,
0.028187836,
-0.028991079,
-0.006901929,
-0.016436707,
-0.02255027,
-0.016570581,
0.010107459,
0.023323761,
0.017448196,
-0.01954555,
-0.01417573,
-0.0017133965,
0.020571914,
-0.020646289,
-0.039507594,
-0.018876182,
0.0021140878,
0.0016585456,
0.046141777,
0.005332633,
-0.07598072,
-0.011528007,
-0.029199326,
0.018325813,
-0.01663008,
0.056226924,
0.054441944,
0.032784164,
0.046439275,
0.034836892,
0.017537445,
-0.01602021,
-0.021509029,
0.027131721,
0.014607101,
-0.04986049,
-0.024751747,
0.01694245,
0.014398852,
-0.0038116798,
0.05459069,
0.038555603,
0.052240465,
-0.020780163,
0.0170912,
0.0016306551,
-0.0067457436,
0.03147518,
0.07550473,
0.015209531,
0.011297447,
-0.028827455,
0.010285957,
-0.0042133005,
-0.0014214776,
0.011840379,
-0.019367052,
0.052448712,
-0.0090810945,
0.027994463,
-0.01865306,
-0.013640235,
0.008560475,
-0.016823452,
0.026953224,
-0.04691527,
-0.057268165,
0.004566578,
-0.010375206,
0.02046779,
-0.05949939,
-0.0029322044,
0.0019411676,
0.02638798,
0.031207431,
0.006898211,
-0.017314322,
0.009066219,
-0.009356279,
0.0054032886,
0.02586736,
-0.006414778,
-0.017344072,
0.0064073405,
0.016957326,
0.05146697,
-0.052359466,
-0.002376257,
-0.010070272,
0.034955893,
0.057506163,
-0.0043917987,
0.033081662,
-0.009542215,
-0.021642903,
-0.010204146,
-0.0080547305,
0.0065003084,
0.021315657,
0.010219021,
0.019367052,
0.0042356127,
0.040251337,
-0.027592843,
0.018831557,
0.007898544,
-0.0025919422,
-0.020021545,
0.026834225,
-0.024721997,
0.034003902,
0.003071656,
0.018058065,
-0.010523954,
0.023636132,
-0.0075601414,
-0.043464307,
-0.035550885,
-0.0069800224,
-0.011676756,
0.017165573,
0.014882285,
0.045279037,
0.0134691745,
0.022416396,
0.03207017,
-0.013350176,
-0.0033877466,
0.03906135,
0.06071913,
0.039358847,
-0.023294011,
0.01079914,
0.021628028,
0.008262978,
-0.016362332,
-0.024097253,
-0.015135158,
0.03998359,
-0.020274417,
0.025078993,
-0.021464406,
0.0195158,
-0.036681373,
-0.013402238,
0.018132439,
-0.019813297,
-0.000032364416,
0.03328991,
-0.025584739,
-0.02067604,
0.02344276,
-0.053489953,
0.0343014,
-0.015209531,
-0.0067345873,
-0.02000667,
0.066282324,
-0.0034676988,
-0.019768672,
-0.009371154,
0.010910701,
-0.018206814,
-0.02344276,
0.014822786,
-0.02255027,
0.001339666,
-0.0338849,
0.03114793,
0.01804319,
0.050485235,
-0.017671319,
-0.0082704155,
0.0023632415,
-0.011535444,
-0.020452915,
-0.022966765,
0.040519085,
-0.017477946,
0.01073964,
0.06271236,
0.03727637,
-0.007307269,
0.09073657,
0.03998359,
0.0041352077,
0.011907316,
-0.0077200457,
-0.009705838,
0.009482715,
0.0193968,
0.018831557,
-0.02546574,
0.036681373,
0.023249388,
-0.0027964714,
0.027503593,
-0.085143626,
0.044475794,
0.013127053,
0.02543599,
-0.06271236,
-0.022133773,
0.020319043,
0.017210199,
-0.032665167,
-0.007980356,
0.010263645,
0.026893724,
0.0006744814,
-0.0029786883,
0.010747078,
0.044565044,
-0.031713177,
0.007943168,
-0.016868077,
-0.04688552,
-0.027444094,
0.008872847,
-0.022743642,
-0.0060391882,
-0.02635823,
-0.0055185687,
0.03912085,
-0.019768672,
-0.00038535154,
-0.011550319,
0.0051057916,
0.010233895,
-0.017106075,
-0.011059449,
0.035699636,
0.01567809,
-0.06277186,
-0.010241332,
-0.066222824,
0.030523187,
-0.0032557324,
-0.014294729,
0.013283239,
-0.00923728,
0.015930962,
0.023204762,
-0.026164858,
-0.012085814,
-0.02537649,
0.0066044326,
-0.014599663,
-0.0008013824,
0.02113716,
0.0060131573,
-0.024602998,
0.023323761,
-0.02930345,
-0.0268491,
0.014517851,
0.03114793,
-0.016228458,
0.00756386,
0.0013536111,
-0.010263645,
-0.032575916,
0.071577765,
0.060243133,
0.025331866,
-0.05735741,
-0.03317091,
-0.04135208,
0.0061098435,
0.0268491,
-0.008984408,
0.0139823565,
0.06527083,
-0.033111412,
-0.044386547,
0.0060875313,
-0.00401249,
-0.036502875,
-0.03144543,
0.004455017,
0.034866642,
0.00597597,
0.018772058,
-0.040608335,
-0.030389315,
-0.015068221,
0.001671561,
0.00721802,
0.0009399044,
0.03709787,
0.027652342,
-0.0390911,
0.012859305,
0.053251956,
-0.05465019,
-0.0009092251,
0.0032204045,
-0.015380592,
-0.045665782,
0.010613204,
0.017210199,
0.018355561,
0.019724049,
-0.05946964,
0.0038414295,
0.006544933,
0.012234562,
0.015811963,
0.04596328,
-0.015826838,
-0.026908599,
-0.029362949,
-0.027369719,
-0.033111412,
0.013112178,
0.041768573,
-0.0536982,
0.031564426,
-0.026774725,
-0.017388698,
-0.0028596895,
-0.01573759,
-0.06223636,
0.023294011,
0.029824069,
0.0219404,
0.024275752,
-0.045695532,
0.019724049,
-0.012115563,
0.032575916,
0.045130286,
-0.007928294,
-0.022847766,
-0.006533777,
0.003186936,
-0.032546166,
0.036443375,
-0.031564426,
-0.008248103,
-0.03204042,
-0.004752514,
-0.031653676,
0.02494512,
0.061105873,
0.057030167,
0.033676654,
0.034747645,
-0.000617771,
-0.00087668636,
0.013989794,
0.014852535,
0.03602688,
-0.05271646,
0.02638798,
0.005261977,
-0.001394517,
-0.015365718,
0.010918139,
-0.026224356,
0.03923985,
-0.00021138553,
0.0049384492,
-0.04227432,
-0.0046297964,
-0.012204813,
0.022684142,
-0.021434655,
-0.010933013,
-0.035848383,
0.0112007605,
0.07717071,
-0.04295856,
-0.01807294,
-0.03201067,
-0.008962096,
0.0045888904,
-0.026715226,
-0.04679627,
-0.0021605715,
0.0017431462,
-0.042542063,
0.038942352,
0.011892441,
-0.025644237,
0.036562376,
-0.04504104,
0.039715845,
0.0010189271,
-0.01613921,
-0.010464455,
-0.037573867,
0.007965481,
-0.01604996,
0.020051295,
0.024573248,
-0.038734104,
-0.0110297,
0.026700351,
-0.027488718,
-0.0292737,
-0.00046251478,
-0.024662498,
0.017537445,
0.025242617,
0.050157987,
0.008664599,
0.0013480331,
0.061819866,
0.010070272,
-0.008716661,
-0.014264979,
0.03296266,
0.035342637,
0.030969433,
0.034747645,
0.025242617,
-0.056167424,
0.041828074,
0.025510363,
-0.034360897,
0.0036871028,
-0.029675322,
0.01850431,
0.019203428,
-0.007816733,
0.028753081,
-0.043523803,
0.059291143,
0.014123668,
-0.0025993797,
-0.033587407,
-0.039715845,
0.030106692,
0.012673371,
-0.007950606,
0.041500825,
-0.0043322993,
0.010732203,
-0.0034230743,
0.014034418,
-0.018429937,
-0.022267647,
-0.06134387,
0.039448097,
0.039924093,
0.0099587105,
0.04962249,
0.011832941,
-0.045338538,
0.03212967,
-0.010152084,
0.009356279,
-0.012546934,
0.05000924,
0.024201376,
-0.022639519,
-0.06366435,
0.015930962,
-0.029065453,
-0.0028355177,
-0.018846432,
0.01056858,
-0.033855155,
-0.013960045,
0.032784164,
0.047272265,
-0.009400904,
-0.025495488,
-0.00045042898,
-0.0037670552,
0.0024562092,
0.03510464,
0.02635823,
-0.025703738,
-0.057446662,
0.0027165192,
0.04768876,
-0.07270826,
-0.028648956,
-0.044446044,
-0.049146496,
0.001339666,
0.026715226,
0.009066219,
-0.038704354,
-0.011624694,
-0.02338326,
-0.015231844,
-0.0487895,
-0.032813914,
-0.010010772,
0.009646338,
-0.015410342,
0.07657572,
-0.035878133,
-0.030433938,
0.0110297,
0.052954458,
0.013536111,
0.008039855,
-0.0039046474,
-0.01706145,
0.014064169,
-0.027354846,
-0.0058160652,
0.04227432,
-0.0062288423,
0.0020657445,
0.0034398085,
0.0026718946,
-0.023160137,
-0.072470255,
-0.022580018,
0.0039790217,
0.034360897,
-0.047480512,
0.021226408,
0.006277186,
-0.008062167,
-0.015871463,
0.035907883,
0.0170912,
0.0014010248,
-0.042304065,
-0.033498157,
0.028262211,
-0.03326016,
-0.029214201,
-0.0031720612,
-0.047986258,
0.019010056,
-0.042363565,
0.030880183,
0.056970667,
-0.010828889,
0.0015172345,
-0.058755647,
0.06306935,
0.034569144,
-0.0046669836,
-0.0048975437,
0.0046967333,
-0.059886135,
0.013818733,
-0.037425116,
-0.051050477,
-0.013357613,
0.022356896,
0.028128337,
-0.022148648,
0.04587403,
0.009609152,
-0.04881925,
-0.04968199,
0.06765081,
-0.040489335,
0.003207389,
0.024127003,
0.04780776,
0.039418347,
-0.0089992825,
-0.017165573,
-0.025153367,
-0.013603048,
0.06759131,
-0.00039720492,
-0.011089199,
0.02930345,
0.041441325,
-0.045338538,
-0.061224874,
-0.06289086,
0.0057379724,
-0.022937015,
-0.007128771,
0.0118626915,
-0.02491537,
-0.06247436,
0.03305191,
0.02156853,
-0.01518722,
-0.003577401,
-0.059172142,
0.0015999759,
-0.039864592,
0.021509029,
0.060838126,
0.017046576,
-0.028738206,
0.002757425,
0.0003683849,
-0.017225074,
-0.00013329257,
0.048016008,
-0.017135825,
0.01865306,
0.031951174,
0.02055704,
0.040281087,
0.025659112,
0.028306834,
-0.029749695,
-0.027994463,
-0.044624545,
-0.029362949,
0.026373105,
-0.0144286025,
-0.002465506,
-0.05170497,
-0.014971534,
0.021360282,
0.030552937,
-0.028068837,
-0.07740871,
0.045249287,
-0.016868077,
-0.004250488,
-0.019203428,
-0.0008543741,
0.0026570198,
-0.015291343,
-0.0005838378,
-0.028753081,
-0.020229792,
0.02681935,
0.0028001901,
-0.018221688,
-0.014101355,
-0.0194563,
-0.058785398,
-0.029809196,
-0.017909316,
-0.0058792834,
0.025540113,
-0.019233178,
-0.009125719,
-0.013327863,
-0.069019295,
0.036740873,
0.014004669,
0.024900494,
-0.005384695,
-0.0028671268,
-0.0042913933,
-0.010702453,
-0.015752465,
-0.0027499874,
0.000646591,
0.014264979,
0.036889624,
0.029318325,
-0.033498157,
0.022356896,
0.015886337,
0.0005987126,
-0.00880591,
-0.02823246,
0.0116321305,
0.010062834,
-0.060094386,
-0.004016209,
-0.013528674,
-0.008047293,
-0.029749695,
0.044535294,
-0.0029712508,
0.008166292,
0.019664548,
-0.057387162,
-0.01668958,
0.029690197,
0.029154701,
-0.03819861,
-0.039299347,
-0.0071473643,
0.012903931,
-0.016362332,
0.029392699,
0.043553554,
-0.027994463,
0.016570581,
-0.03599713,
0.02479637,
0.00005807582,
0.004384361,
0.033111412,
0.05943989,
0.0018184502,
-0.027518468,
0.017686194,
-0.027533343,
-0.0103231445,
-0.013342738,
-0.041530576,
-0.034836892,
0.070685275,
-0.021330532,
0.0006805243,
-0.04292881,
0.011141261,
0.025956608,
0.023085764,
-0.0074411426,
0.008062167,
0.0005294516,
0.05075298,
0.02191065,
-0.06687731,
-0.017686194,
0.0016920139,
0.014837661,
0.0084191635,
-0.020110793,
0.02878283,
0.055364184,
0.013134491,
-0.022580018,
0.0043174247,
0.015150032,
-0.0016213584,
-0.018221688,
-0.034509648,
0.016897827,
-0.032754414,
0.018444812,
0.013521236,
0.056286424,
-0.040757082,
0.024231127,
0.005421882,
0.0073927995,
-0.0002644934,
0.047302015,
-0.038585354,
0.004864075,
0.0267896,
0.020586789,
0.034450147,
0.00074606657,
0.006671369,
0.009460404,
0.053846948,
0.015425217,
0.018742308,
0.015514466,
0.045487285,
0.0034360897,
0.007162239,
-0.04313706,
0.05670292,
0.026090482,
-0.032784164,
0.01391542,
-0.040876083,
-0.021761902,
0.0068387114,
0.0036740873,
0.020586789,
-0.003993897,
-0.012338686,
-0.03415265,
-0.012018877,
0.039567094,
-0.01660033,
-0.034985643,
0.026194606,
-0.019664548,
0.054739438,
-0.022609768,
0.018058065,
0.06390235,
0.005046292,
0.030761184,
-0.003945553,
0.010152084,
0.006132156,
0.05304371,
-0.035015393,
-0.0036183067,
-0.034985643,
0.0005494397,
-0.02589711,
0.005150416,
0.026090482,
0.009162907,
0.030642185,
-0.011818066,
0.020601664,
-0.015975587,
-0.031177681,
-0.07514773,
0.0048863874,
-0.07128027,
-0.021434655,
0.009534777,
0.004752514,
-0.05170497,
0.06318835,
0.028068837,
0.036830124,
0.026447479,
0.0049942303,
0.060867876,
0.012219687,
0.06866229,
-0.041649573,
0.026268981,
-0.030523187,
-0.01905468,
0.007433705,
-0.016183835,
0.0091480315,
-0.013669985,
-0.041619822,
-0.014369103,
-0.0022907266,
0.005901596,
-0.0029954223,
-0.058844898,
0.03317091,
-0.029139826,
-0.05545343,
0.013379926,
0.04185782,
-0.017031701,
0.0024283188,
0.021791652,
0.023710508,
-0.009192656,
-0.015975587,
-0.052478462,
-0.002480381,
0.04679627,
-0.026239231,
-0.027101973,
-0.0387936,
0.03215942,
0.030820685,
0.0013471034,
0.021821402,
0.035669886,
0.019619925,
0.017299447,
0.01660033,
-0.028113462,
-0.0089323465,
0.035342637,
0.06057038,
-0.009676089,
0.09281905,
0.029169576,
-0.02881258,
-0.0059053143,
-0.015380592,
0.06134387,
-0.024171628,
0.00094594737,
0.0016994514,
-0.01804319,
-0.012673371,
-0.041500825,
-0.040370338,
0.021642903,
0.0075861723,
-0.024558373,
-0.013848484,
-0.00262727,
-0.06152237,
-0.044416294,
-0.017031701,
0.0017608101,
-0.0098099625,
-0.018831557,
0.011349509,
-0.08091917,
0.2644153,
0.017701069,
0.032694913,
-0.011594944,
-0.0050946353,
0.0489085,
0.01273287,
0.02589711,
0.0061135623,
-0.07098278,
-0.00024357563,
-0.053281706,
0.0073109875,
0.014800473,
0.01227175,
0.06223636,
-0.059291143,
0.005585505,
0.0066155884,
-0.059023395,
-0.081454664,
0.0020769006,
0.013692297,
0.051407475,
0.0027648623,
-0.0067085563,
-0.025852485,
-0.009140594,
-0.027533343,
-0.032516416,
0.051169477,
0.011639568,
0.023368387,
-0.014621975,
-0.003337544,
0.03504514,
-0.017344072,
-0.003761477,
-0.020586789,
-0.0091480315,
0.031921424,
0.005656161,
0.026834225,
-0.027815966,
-0.01348405,
0.021092534,
-0.034539398,
0.006362716,
0.0011211917,
-0.04602278,
0.036800373,
-0.03790111,
-0.0022684142,
-0.02783084,
-0.06866229,
-0.025807861,
-0.016808579,
-0.04721277,
-0.033557657,
-0.028559707,
0.04004309,
0.009638901,
-0.025019493,
-0.019872796,
-0.020512415,
0.03882335,
-0.018206814,
0.06634182,
-0.023353511,
-0.021256158,
-0.045695532,
-0.033736154,
-0.011795755,
-0.046320274,
0.02139003,
-0.015663214,
-0.010576016,
0.010523954,
0.031802423,
-0.0070804274,
-0.0012987602,
0.0014140402,
-0.030017443,
-0.043285806,
0.012018877,
0.031564426,
-0.041590076,
-0.03519389,
0.03602688,
0.020943785,
0.027354846,
0.019352177,
-0.041679323,
0.0040943017,
0.011431321
] | huggingface-cli login
Then add the push_to_hub argument to the script. This argument will create a repository with your Hugging Face username and the folder name specified in output_dir.
To give your repository a specific name, use the push_to_hub_model_id argument to add it. The repository will be automatically listed under your namespace.
The following example shows how to upload a model with a specific repository name: |
[
0.06302115,
-0.015284982,
-0.015064525,
0.022339588,
0.004603866,
-0.007230972,
-0.0036246718,
-0.007098698,
0.010648048,
0.03944701,
0.005379138,
0.009001972,
-0.0086786365,
-0.020840485,
-0.03600789,
-0.011926695,
-0.0062462664,
-0.017754095,
-0.04006429,
0.04238643,
0.010376151,
0.03571395,
-0.06695998,
-0.028394792,
-0.012757081,
0.011463736,
0.008480226,
0.027542362,
0.07019334,
0.019429563,
-0.051586814,
0.005368115,
-0.0060037645,
-0.046560407,
-0.00032815864,
-0.02136958,
0.01894456,
0.003869011,
-0.054673202,
-0.0663721,
-0.016916359,
0.01625499,
0.04785375,
-0.014337019,
-0.046707377,
-0.0048573907,
0.0010315526,
0.0050558015,
0.011162446,
-0.024808701,
-0.024279606,
0.023970967,
0.041034296,
-0.00042943083,
0.004269507,
-0.012793824,
-0.036448803,
0.008737424,
-0.01596105,
-0.009994026,
0.016769389,
0.053908955,
-0.029702835,
-0.062903576,
0.025778709,
0.0007380699,
-0.012499882,
-0.010361454,
-0.023735814,
-0.025455374,
-0.05002892,
-0.00024916173,
-0.033891506,
-0.04400311,
-0.050058316,
-0.00054654834,
0.055025935,
-0.029188436,
-0.020370178,
0.036448803,
0.0103835,
0.037242446,
-0.010236529,
-0.004394432,
-0.037947908,
-0.045296457,
0.05737747,
0.0042878785,
-0.019870477,
0.0068598706,
-0.01336701,
0.0067422935,
-0.02648417,
-0.018826982,
0.024044452,
0.03662517,
0.00003126004,
0.014498687,
-0.006382215,
0.014043077,
0.06872363,
0.079423115,
-0.0049051563,
0.026557656,
-0.05429108,
0.021722311,
0.070663646,
-0.031304818,
-0.036948506,
-0.008377346,
-0.021193216,
0.02020851,
0.017563032,
-0.031334214,
0.00744408,
0.007175858,
0.013124509,
-0.0069958186,
-0.03571395,
-0.010883201,
0.0021255678,
-0.024823397,
0.02561704,
-0.057759594,
-0.005448949,
-0.036213648,
-0.016798783,
0.049176488,
-0.021707613,
-0.01346989,
0.001151885,
0.01838607,
0.0057869824,
0.033656355,
0.031334214,
-0.019253198,
-0.016886966,
0.0051219384,
0.04076975,
-0.02623432,
0.0023111186,
-0.043356437,
-0.048618,
0.087653495,
0.026954478,
0.0120516205,
-0.0076277936,
-0.008090752,
-0.040093683,
0.024117937,
-0.03321544,
0.015740592,
-0.018239098,
0.009655993,
-0.009134246,
-0.025793407,
-0.009633948,
0.025661133,
0.0012290449,
0.030658146,
-0.0058825132,
0.005908233,
-0.020237904,
0.06413814,
0.0060662273,
0.055172905,
-0.04735405,
-0.04147521,
-0.036448803,
-0.029306013,
0.0030312764,
-0.018312585,
0.015167405,
0.012543973,
0.0643145,
0.033773933,
0.015564227,
0.0007219949,
0.017636517,
0.010398197,
-0.017915763,
-0.0004739814,
0.013249434,
0.010839109,
0.009406143,
0.006639414,
0.007862947,
0.01969411,
-0.02455885,
0.0011831163,
0.029056162,
0.04041702,
-0.062786005,
0.007789462,
-0.020017447,
-0.011963437,
-0.017298484,
-0.0040931418,
0.009935238,
-0.04805951,
-0.0047287913,
0.067547865,
-0.06172781,
-0.023118535,
-0.02182519,
0.007862947,
0.012536624,
0.06596058,
0.0450613,
0.004387084,
0.049058914,
-0.008494923,
-0.01063335,
-0.0006407016,
0.046883743,
0.000019591347,
-0.03600789,
-0.004298901,
-0.016240293,
-0.031569365,
-0.0069039618,
0.019062135,
0.03271574,
-0.012588064,
0.031187242,
-0.021663522,
-0.009450234,
0.027483573,
0.018092128,
0.035331823,
0.045355245,
0.047236472,
0.0011656636,
0.0577302,
0.027365996,
0.023441872,
0.031833913,
-0.009325309,
0.004500986,
-0.02389748,
-0.009611902,
0.004805951,
0.012705641,
0.026895689,
0.015505439,
0.048941337,
-0.0044458723,
0.011155098,
-0.004883111,
0.04841224,
-0.06554905,
0.042562794,
-0.0018784729,
0.00069306005,
-0.07078122,
-0.028115548,
0.008362649,
0.036448803,
0.003587929,
-0.012690944,
0.0012657875,
0.033685748,
-0.01604923,
-0.0073963143,
0.060904775,
0.078129776,
-0.009031367,
0.007870296,
-0.0045707976,
-0.026807506,
-0.021207912,
-0.037536386,
-0.06948788,
-0.066783614,
-0.05499654,
0.010603956,
0.00008307305,
-0.019297289,
0.01245579,
-0.046354648,
-0.009200383,
0.03286271,
-0.012338214,
0.042180672,
0.014359064,
0.03539061,
-0.044943724,
0.022177922,
-0.034156054,
0.029717531,
-0.046207674,
-0.051674996,
-0.0072089266,
-0.014307625,
0.02136958,
0.0064777457,
0.004842694,
-0.03447939,
-0.033773933,
0.0023056073,
-0.006253615,
-0.019341381,
0.028174337,
-0.016240293,
-0.014079819,
0.04841224,
0.041063692,
-0.03777154,
0.0400055,
0.0308933,
-0.002691406,
0.050146498,
0.031539973,
0.04118127,
-0.042180672,
0.04979377,
0.027983274,
-0.026631141,
-0.015167405,
-0.024838096,
-0.06713634,
0.009854404,
-0.015946351,
-0.041240055,
0.0013824458,
0.042063095,
-0.008575757,
-0.06343267,
0.00473614,
-0.042004306,
-0.012036923,
-0.018973954,
0.028130244,
0.051998332,
-0.014528081,
0.03580213,
-0.05429108,
0.011581313,
-0.0031359931,
0.023588842,
-0.002597712,
-0.033715144,
-0.025852196,
0.02567583,
0.007403663,
0.013822621,
0.04400311,
-0.03230422,
-0.0037128543,
0.0035989517,
0.030011473,
0.012367608,
0.028879797,
0.04071096,
0.009905844,
-0.007965827,
-0.027865697,
0.030011473,
0.014006334,
-0.012058969,
-0.017474849,
0.01255867,
0.032127857,
-0.006147061,
-0.026263714,
0.02081109,
0.017151514,
0.00024870245,
0.027321905,
-0.03809488,
0.024147332,
-0.009685388,
-0.014991039,
-0.02122261,
0.013271479,
-0.015270284,
0.016019836,
0.04012308,
0.034273632,
0.027983274,
-0.0521747,
0.01402838,
-0.015417255,
0.046766166,
0.014491338,
0.01782758,
0.032480586,
0.029408893,
-0.00559592,
-0.011177143,
0.0010232854,
0.01762182,
0.0076204455,
-0.038829733,
-0.03938822,
-0.06437329,
0.019076834,
0.073191546,
0.041298844,
0.031716336,
0.032333616,
-0.019341381,
0.045355245,
0.030658146,
0.010361454,
-0.017225,
-0.0643145,
0.059082333,
0.028938586,
0.014851417,
-0.026660535,
-0.031628154,
-0.014043077,
0.0068451734,
-0.022662925,
0.0054158806,
-0.03403848,
-0.01793046,
0.013631558,
0.042915527,
0.004805951,
-0.020605331,
-0.028644644,
0.0000069251464,
0.027880395,
0.0040086336,
0.013234736,
-0.051616207,
0.049264673,
0.02385339,
-0.021619432,
-0.021310791,
-0.03195149,
-0.034949698,
-0.049205884,
0.052938946,
0.016299082,
-0.014270882,
-0.01311716,
-0.055496242,
0.0051109158,
0.0217811,
-0.00041220768,
0.0135948155,
-0.008333255,
-0.0076057483,
0.008480226,
-0.0060000904,
0.0050668246,
-0.021590037,
0.02907086,
-0.035478793,
0.032803923,
-0.039770346,
0.008869698,
-0.005838422,
-0.015916957,
0.046824954,
0.03033481,
0.04764799,
-0.010919943,
-0.005706148,
0.02035548,
-0.03812427,
-0.050528623,
0.042768557,
0.0071464637,
-0.0147191435,
0.06296237,
-0.020972759,
0.0007844576,
0.0063087293,
0.0151380105,
-0.030658146,
-0.03530243,
-0.011537222,
-0.009134246,
-0.01169889,
-0.013506633,
0.017798185,
-0.030276021,
0.033039074,
-0.025602344,
-0.0030202535,
-0.0025462722,
-0.0663721,
-0.02188398,
0.025381887,
-0.030540569,
-0.010728882,
0.025749315,
-0.011478433,
0.012227985,
-0.028600553,
-0.026895689,
-0.015769986,
-0.0319221,
0.021854585,
0.043180075,
-0.004978642,
0.03559637,
-0.052909553,
-0.033509385,
0.050675593,
-0.03230422,
0.024514759,
-0.03656638,
0.018474253,
0.03777154,
0.012338214,
-0.006771688,
-0.004328295,
-0.017474849,
-0.0089578815,
0.012014877,
-0.0027281488,
-0.018121522,
-0.024529457,
-0.0031672246,
0.055878367,
-0.0052027726,
-0.045707975,
0.007576354,
0.007069304,
0.030011473,
-0.042474613,
0.03300968,
-0.028174337,
-0.048882548,
-0.01726909,
0.06713634,
-0.021149123,
-0.0093106115,
-0.028644644,
-0.031069664,
0.0062462664,
0.02942359,
0.0021990533,
-0.03033481,
0.03459697,
-0.035537582,
0.028747523,
-0.056642614,
-0.016313778,
-0.032451194,
-0.0026271062,
-0.034861516,
0.03915307,
0.011941392,
0.02445597,
0.023412477,
0.007818856,
-0.0028934912,
0.024705822,
-0.045796156,
-0.006275661,
0.0028034714,
-0.0016194364,
0.023779904,
0.0053570922,
-0.0002989941,
0.00039544379,
-0.0005516005,
0.011750329,
-0.044679176,
-0.045796156,
-0.03818306,
-0.012294122,
0.027512968,
-0.06137508,
-0.012404351,
0.002206402,
-0.028159639,
-0.0060699014,
0.010001375,
0.011507828,
0.0036228346,
-0.0020116654,
-0.06695998,
0.032686345,
-0.02648417,
-0.013043675,
-0.025087945,
-0.0068855905,
0.028982677,
-0.06072841,
0.030364204,
0.08647773,
-0.00070132717,
0.035008486,
-0.06255085,
0.04967619,
0.024676427,
-0.030628752,
-0.052880157,
-0.004320947,
-0.054055925,
0.010368803,
0.006598997,
-0.034420602,
-0.036066677,
0.018356675,
0.0040343534,
-0.022354286,
0.03888852,
0.019855779,
-0.034567576,
-0.040916722,
0.04015247,
-0.00082671177,
0.0065512313,
-0.023970967,
0.0035860918,
-0.00655858,
0.018621223,
-0.04029944,
-0.04541403,
0.0063050548,
0.04973498,
-0.0026711975,
-0.03641941,
0.01716621,
0.033685748,
-0.026616445,
-0.08336194,
-0.009905844,
0.018077431,
-0.008340603,
-0.02455885,
-0.03195149,
0.03656638,
-0.053350464,
0.032539375,
0.02552886,
-0.013727089,
0.003975565,
0.026072651,
0.0036173232,
-0.067547865,
-0.00029715695,
0.0435622,
-0.023868088,
-0.0050778473,
-0.04420887,
0.005015385,
-0.03656638,
0.0008749366,
0.03524364,
-0.034508787,
0.016475447,
0.016019836,
0.012786475,
0.059435062,
0.0054416005,
0.0076498394,
0.03201028,
-0.023338992,
-0.019120924,
-0.023574146,
0.018268492,
-0.002487484,
0.035978496,
0.005368115,
0.008987275,
0.019841082,
0.04056399,
-0.019238502,
-0.04176915,
-0.014726492,
-0.035831526,
-0.01458687,
0.013242085,
-0.013425799,
-0.0015101267,
0.0076057483,
-0.0068488475,
-0.028438885,
-0.020531846,
0.024059149,
-0.0080466615,
0.005500389,
-0.06296237,
-0.0066210427,
-0.040740356,
0.018591829,
-0.050881352,
-0.00025673994,
0.0091709895,
0.01650484,
-0.022427771,
0.031216636,
-0.019076834,
0.013896106,
0.03524364,
0.012779127,
-0.0047177686,
0.010670093,
0.0035420007,
0.02799797,
-0.03412666,
-0.0086051505,
0.04365038,
-0.05787717,
0.012882006,
0.0049602706,
-0.009964633,
-0.012815869,
0.03683093,
0.040093683,
-0.0025811777,
0.0007118907,
-0.030540569,
0.023471266,
-0.04132824,
-0.027557058,
-0.037448205,
-0.016784085,
0.0022321218,
0.04779496,
0.02323611,
0.035331823,
0.029379498,
0.0040086336,
-0.018150916,
0.04541403,
0.0030863904,
0.033862114,
0.0077747647,
0.029467681,
-0.019605929,
-0.03165755,
0.05590776,
0.010324711,
-0.024000362,
0.032127857,
0.0011932206,
-0.024309,
-0.020487754,
0.018797588,
0.00076195266,
0.022560045,
0.0021990533,
-0.0043429923,
-0.010096907,
-0.028174337,
-0.017886369,
0.008891745,
-0.022398377,
0.016872268,
0.016034534,
-0.02648417,
0.01706333,
-0.0014063285,
-0.003536489,
0.007282412,
0.030511174,
0.036096074,
-0.030628752,
-0.011265325,
-0.003385844,
0.035684552,
-0.07560187,
0.008553711,
0.005272584,
0.025778709,
-0.02273641,
-0.015461347,
0.0127497325,
0.06801817,
0.024015058,
-0.015373165,
-0.04370917,
-0.038006697,
-0.01159601,
0.012088363,
-0.020620028,
0.0298792,
-0.027321905,
0.039682165,
-0.031451788,
0.022060344,
-0.020487754,
0.026146136,
0.043033104,
0.008759471,
-0.014608915,
0.02896798,
-0.0033472641,
-0.0056694057,
0.0088843955,
0.027086752,
0.008017267,
0.006617368,
-0.02136958,
-0.010949338,
0.03230422,
0.043003708,
-0.002623432,
-0.04223946,
0.03712487,
0.026204925,
-0.01863592,
0.0009571485,
0.07266245,
-0.0041666273,
-0.00014961186,
-0.006275661,
-0.019973356,
0.0011123866,
-0.0034170751,
-0.014072471,
0.014116563,
-0.022251407,
0.007943781,
-0.01276443,
0.0065034656,
0.011581313,
0.0010756438,
-0.021986859,
0.019796992,
-0.0018665314,
0.021692917,
0.022119133,
0.020972759,
0.022104435,
0.038565185,
0.03691911,
0.02739539,
0.004673677,
0.009024018,
0.067077555,
-0.027674636,
0.0073963143,
-0.028453581,
-0.04441463,
-0.007907039,
0.0068047564,
-0.047618598,
0.062021755,
0.009112201,
-0.018033339,
0.016945753,
-0.045384638,
-0.012904052,
-0.072897606,
0.0069333557,
-0.046854347,
0.010662745,
0.016372567,
-0.025102643,
-0.034361813,
0.03944701,
0.0027299859,
0.003159876,
-0.00014570795,
0.06466723,
0.033744536,
0.0875947,
0.060022946,
0.038859125,
-0.0062315697,
0.024926279,
-0.017886369,
0.0074624512,
0.016534235,
0.014219442,
0.0025609692,
0.0033546125,
-0.036536984,
0.027160237,
0.033244837,
0.026851598,
-0.062903576,
0.02360354,
0.016063929,
-0.0035916034,
-0.007025213,
0.10540759,
0.000512102,
-0.0039718905,
-0.008076055,
-0.025793407,
-0.06460844,
0.015005737,
-0.005967022,
0.026249018,
-0.045355245,
-0.015858168,
-0.023926875,
-0.034361813,
0.00789969,
-0.0131759485,
-0.0019877825,
-0.021531248,
0.033450596,
0.021722311,
0.053556226,
0.004512009,
-0.036390014,
-0.045149483,
0.04512009,
0.02182519,
0.0077086277,
0.068135746,
0.029482378,
0.013389057,
-0.017548336,
0.0019638997,
-0.008627197,
-0.0032498958,
-0.027689332,
0.011654799,
0.014748538,
-0.019826384,
-0.047883146,
-0.0059596733,
-0.009207732,
0.008619848,
-0.035772737,
-0.036478195,
-0.05434987,
-0.05211591,
-0.010662745,
-0.011904649,
0.04294492,
-0.04056399,
-0.021443065,
0.003440958,
-0.04244522,
0.25796345,
0.059729006,
0.061551444,
-0.0139255,
0.029702835,
-0.01488816,
0.0020980106,
-0.031510577,
-0.013264131,
-0.03462636,
0.018797588,
-0.03650759,
-0.01818031,
0.040799145,
-0.023471266,
0.036243044,
-0.056172308,
-0.014748538,
-0.004673677,
-0.024735216,
-0.05787717,
0.0034850494,
-0.012977538,
0.05708353,
0.015564227,
-0.018033339,
0.028644644,
-0.054878965,
0.013793226,
-0.010817064,
-0.014550127,
-0.034009084,
0.028380096,
-0.0154907415,
-0.039682165,
-0.0012786476,
0.0032829642,
-0.052645005,
0.009685388,
-0.05226288,
-0.024999764,
-0.021839887,
0.01266155,
-0.012352911,
-0.025837498,
0.004218067,
0.007161161,
0.031716336,
0.026425382,
-0.08536074,
0.035037883,
-0.03918246,
0.018929861,
-0.039917316,
-0.089123204,
-0.043268256,
0.0058972104,
-0.01635787,
-0.011338811,
0.040652175,
0.018474253,
0.010427591,
0.006896613,
0.034420602,
-0.018665314,
0.044355843,
-0.08218617,
0.014777932,
-0.02846828,
-0.025646435,
0.013631558,
-0.024441274,
-0.027410088,
-0.0232949,
-0.0031782475,
0.030952089,
0.02805676,
0.016372567,
0.0028053087,
-0.044326447,
0.01909153,
0.0119781345,
-0.03018784,
-0.0037514342,
0.012999583,
0.029144345,
-0.04882376,
0.0055261087,
-0.004589169,
0.010964035,
0.026807506,
0.0531741,
0.0024838096,
0.02749827,
0.032539375
] | python examples/pytorch/summarization/run_summarization.py
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--push_to_hub \
--push_to_hub_model_id finetuned-t5-cnn_dailymail \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--predict_with_generate |
[
0.08373476,
-0.006571233,
-0.018850964,
0.045759194,
-0.011561417,
-0.016585806,
-0.023715727,
-0.0273643,
-0.009972768,
0.057799485,
0.004739345,
-0.0028751518,
-0.002219549,
-0.024399836,
-0.023761334,
-0.0034965496,
-0.0096611185,
-0.010330023,
-0.06676889,
0.03332364,
0.008277701,
0.041897785,
-0.032411493,
-0.011911072,
-0.026436955,
-0.0077912244,
-0.023457287,
0.02105531,
0.061934534,
0.019109404,
-0.04612405,
-0.011074941,
-0.014495478,
-0.032502707,
-0.00007292396,
-0.017786795,
0.012884025,
0.004651931,
-0.049894243,
-0.046914574,
-0.0197175,
0.0032571119,
0.055640746,
-0.022499537,
-0.059532557,
-0.008870594,
-0.026436955,
-0.0026585178,
0.016844248,
-0.0120859,
-0.00820929,
0.019367844,
0.018121248,
-0.014708312,
-0.003454743,
-0.016981069,
-0.028686909,
0.023077227,
-0.004556916,
-0.02652817,
-0.0012285431,
0.049194932,
-0.025692038,
-0.06257304,
0.03353647,
0.013013246,
-0.03232028,
-0.00092544546,
-0.0286261,
-0.028261242,
-0.050532743,
0.0007425417,
-0.025038335,
-0.04484705,
-0.0578907,
0.0040248325,
0.059532557,
-0.03447902,
-0.013309692,
0.0477051,
0.005522268,
0.0171787,
0.0012684494,
-0.0044771037,
-0.045880813,
-0.052052982,
0.06257304,
0.0005259077,
-0.049924646,
0.0020086158,
-0.010276815,
0.011348584,
-0.006757462,
-0.018227665,
0.026436955,
0.018759748,
-0.012245525,
0.012792811,
0.023700526,
0.0036979811,
0.06056632,
0.100700624,
-0.0037359872,
0.01685945,
-0.053998888,
0.008224493,
0.054424554,
-0.03894852,
-0.0426275,
-0.028732516,
0.0041730558,
0.0070349057,
0.026695397,
-0.02640655,
0.0057351016,
0.030115934,
0.020477619,
-0.014161026,
-0.02436943,
-0.0046709343,
-0.008862993,
-0.02768355,
0.04141131,
-0.069687754,
0.015255597,
-0.029720671,
-0.013066454,
0.027850777,
-0.0305416,
-0.032289874,
0.0022499536,
0.0033122206,
-0.014548686,
0.023943763,
0.018242868,
-0.02322925,
0.0136061385,
0.007859635,
0.029051766,
-0.0144878775,
0.005765506,
-0.028960552,
-0.026452158,
0.08391719,
0.026360944,
0.010185601,
-0.018318878,
-0.0071223197,
-0.02704505,
0.029127778,
-0.02786598,
0.012823216,
-0.025372788,
0.005586878,
0.023746133,
-0.026360944,
-0.0051232055,
0.032472305,
-0.01253437,
0.034631044,
-0.022849191,
0.011660233,
-0.040712,
0.0489821,
0.027273087,
0.039222166,
-0.025783252,
-0.022879597,
-0.039222166,
-0.024247812,
0.015324009,
-0.0046101245,
0.021526584,
0.009767535,
0.049651004,
0.038340427,
0.024612669,
-0.009022618,
0.012952436,
0.013286889,
-0.027698753,
-0.0068486766,
0.0241718,
-0.013271686,
0.008133278,
-0.0143282525,
0.006419209,
0.01921582,
-0.017938819,
0.01565846,
0.03301959,
0.067863464,
-0.04217143,
0.018531714,
-0.012762406,
-0.020584036,
-0.013180472,
-0.022605954,
0.0072629414,
-0.028398063,
-0.02359411,
0.061417654,
-0.036364116,
-0.012184715,
-0.014814729,
-0.0038709084,
0.039435,
0.06737699,
0.05184015,
-0.014297848,
0.029325409,
0.004496107,
0.00001937414,
0.0034718458,
0.033810113,
-0.019261427,
-0.021830631,
-0.0028979555,
0.00515361,
-0.040286332,
-0.0009363722,
0.022514738,
0.014214234,
-0.0013767664,
0.036607355,
0.00052210706,
-0.012899227,
0.038127594,
0.0039488208,
0.034083758,
0.035877638,
0.029599052,
0.009592708,
0.045120694,
0.011029334,
0.030115934,
0.0375499,
-0.0056248843,
0.01011719,
-0.013856978,
-0.0040172315,
0.016053723,
0.03919176,
0.019231023,
0.01221512,
0.055063054,
-0.017984428,
-0.0031696982,
0.00047745006,
0.039130952,
-0.074917376,
0.0400735,
-0.012564775,
-0.008171285,
-0.058498796,
-0.010223607,
0.011477804,
0.020356,
-0.016296962,
-0.008087671,
0.027881183,
0.037428282,
-0.019869523,
-0.042505883,
0.034235783,
0.07990376,
-0.011622227,
0.022347512,
0.014411865,
-0.022241095,
-0.005738902,
-0.031058481,
-0.06366761,
-0.056826532,
-0.040955238,
0.014054609,
0.0034186374,
-0.014411865,
0.003633371,
-0.050684765,
0.00019893752,
0.0154988365,
-0.011812257,
0.0375499,
-0.01564326,
0.017330725,
-0.044755835,
0.03733707,
-0.031256113,
0.018364487,
-0.027653147,
-0.04548555,
-0.02067525,
-0.018394891,
0.008437326,
0.002831445,
0.0149363475,
-0.040559974,
-0.017315522,
0.030708827,
0.0027079256,
-0.017376332,
0.013165269,
-0.01877495,
-0.015278402,
0.047765907,
0.036880996,
-0.060353488,
0.039921474,
0.03143854,
0.010634071,
0.042262644,
0.04059038,
0.025403192,
-0.037701927,
0.06287708,
0.015019961,
-0.019231023,
-0.03709383,
-0.04147212,
-0.052387435,
0.011607025,
-0.014533484,
-0.042201832,
0.005617283,
0.047735505,
-0.012291132,
-0.058194745,
-0.01158422,
-0.05649208,
-0.016266556,
-0.026832217,
0.011447399,
0.057343412,
0.0008351813,
0.035664804,
-0.055397507,
0.014609496,
-0.0038481047,
0.0235333,
0.014389061,
-0.0400735,
-0.013264085,
0.037458688,
-0.0042908746,
0.0014660804,
0.045272715,
-0.04879967,
-0.0055260686,
0.010003172,
0.026072098,
0.015916903,
0.03618169,
0.026999444,
0.00776082,
-0.0011810357,
-0.022317108,
0.03168178,
-0.0054158513,
0.0038823101,
-0.024627872,
0.0026376145,
0.018075641,
0.0016760634,
-0.025251169,
0.013020847,
-0.013628942,
0.0005330338,
0.020964095,
-0.0648838,
0.024156597,
-0.017604368,
-0.00858935,
-0.038644474,
0.014867937,
-0.018136451,
0.031256113,
0.034600638,
0.033870924,
0.02391336,
-0.044543,
0.019763106,
-0.0044809044,
0.029295005,
0.010983726,
0.0033103202,
0.036911402,
0.033992544,
-0.003606767,
0.0014299748,
0.014427068,
-0.0030328766,
0.009942363,
-0.0489821,
-0.027698753,
-0.0547286,
0.031772994,
0.05700896,
0.032289874,
0.024931919,
0.0011297276,
-0.03390133,
0.050654363,
0.027121063,
-0.0005121305,
-0.017285116,
-0.060779154,
0.06755942,
0.013256484,
0.029766278,
-0.037610713,
-0.006814471,
-0.010079185,
0.01641858,
-0.015255597,
0.00086796144,
-0.045272715,
0.0007653453,
0.0038956122,
0.008596951,
0.008657761,
-0.024445442,
-0.021617798,
0.0067954683,
0.047097,
-0.012207518,
0.006316593,
-0.05643127,
0.058681224,
0.009357071,
-0.009759934,
-0.016874652,
-0.030176744,
-0.019580677,
-0.056583293,
0.047644287,
0.012488763,
-0.03609047,
-0.017467545,
-0.045151096,
-0.0051308065,
0.015247997,
-0.038401235,
-0.0030442786,
-0.021116119,
-0.0043098773,
-0.010732887,
-0.002189144,
-0.00083328097,
-0.021359358,
0.026953837,
-0.024126193,
0.023335667,
-0.051931363,
0.007525183,
-0.0008765128,
-0.019702297,
0.036880996,
0.025083942,
0.02277318,
-0.024597466,
-0.01997594,
0.02055363,
-0.034600638,
-0.025889669,
0.04536393,
0.013537728,
-0.012929632,
0.04104645,
-0.026619384,
0.0085057365,
0.012929632,
0.010010773,
-0.05655289,
-0.036272902,
-0.012557174,
0.010216006,
-0.011188959,
-0.018364487,
0.018850964,
-0.04308357,
0.03639452,
-0.014617098,
0.0086349575,
-0.019489463,
-0.06354599,
0.0035383562,
0.015673663,
-0.019459058,
-0.028109219,
0.030891255,
-0.0049407766,
0.015187187,
-0.012359543,
-0.021982655,
-0.019580677,
-0.050806385,
0.0048229583,
0.049134124,
0.00095917576,
0.029036565,
-0.062177774,
-0.028337253,
0.064032465,
-0.023122834,
0.007050108,
-0.009235452,
-0.0059897415,
0.02704505,
0.02888454,
-0.006529426,
0.0075555877,
-0.021176929,
0.0100943865,
0.0343574,
-0.024840705,
-0.010337625,
-0.03207704,
0.01991513,
0.059319723,
0.008353713,
-0.05612722,
0.0076201977,
0.01578008,
0.009045422,
-0.022499537,
0.014890741,
-0.034843877,
-0.037367474,
-0.013704954,
0.069687754,
-0.03131692,
0.012922031,
-0.033931732,
-0.043022763,
0.018227665,
0.012458358,
0.024871109,
-0.018881368,
0.022377918,
-0.025311979,
0.034022946,
-0.082640186,
-0.0060353484,
-0.026315337,
-0.018622927,
-0.02728829,
0.058650818,
0.015392419,
0.038705282,
0.025281575,
0.0032476105,
-0.013575734,
0.023122834,
-0.035603996,
-0.035512783,
-0.000086522974,
0.0074035637,
0.034509424,
-0.009699125,
0.006267185,
-0.022955608,
0.009197446,
0.024673479,
-0.04104645,
-0.044573408,
-0.047309835,
0.015111175,
0.018820558,
-0.0515361,
0.008148481,
0.009212648,
-0.006343197,
-0.011880667,
0.034752663,
0.031529754,
0.028732516,
-0.005381646,
-0.080147,
0.03207704,
-0.013986198,
-0.015392419,
-0.018866165,
-0.01685945,
0.054789413,
-0.05363403,
0.046640933,
0.07394442,
0.005890926,
0.026862621,
-0.06421489,
0.026832217,
0.025418395,
-0.018562118,
-0.03767152,
-0.014617098,
-0.052843507,
0.0075365845,
-0.018668534,
-0.040043093,
-0.028094016,
0.0042604697,
-0.016829045,
-0.0063622,
0.04268831,
-0.007023504,
-0.009744732,
-0.026923431,
0.04052957,
0.005966938,
0.0235333,
-0.03225947,
-0.012823216,
-0.002913158,
-0.016205747,
-0.06257304,
-0.01927663,
0.015377217,
0.028154826,
0.007646802,
-0.018668534,
0.006711855,
0.012526769,
-0.025311979,
-0.08671443,
-0.0011677336,
-0.0062709856,
-0.012709198,
-0.0026281131,
-0.046276074,
0.058164343,
-0.052630674,
0.038857307,
0.04381329,
0.0028200434,
-0.0015278402,
0.014556288,
-0.026269728,
-0.06646485,
-0.00077722216,
0.050015863,
-0.022605954,
-0.009623112,
-0.047553074,
-0.0130284475,
-0.05031991,
0.028002802,
0.023062024,
-0.018653331,
0.015856093,
-0.0019953137,
0.021496179,
0.061630487,
0.017315522,
0.020508023,
0.019200617,
-0.010322423,
-0.002219549,
-0.008642558,
0.018303677,
-0.0030613812,
0.03111929,
-0.0072553405,
0.008885797,
0.023381274,
0.022301905,
-0.019823916,
-0.052205004,
-0.018394891,
-0.016509796,
0.024612669,
0.0049407766,
-0.0024323822,
0.006947492,
0.020599239,
-0.0028105418,
-0.020903286,
0.0010869708,
-0.015057967,
-0.018486105,
-0.016707426,
-0.05746503,
0.0041768565,
-0.032776352,
0.0029435626,
-0.052205004,
-0.014092615,
0.003937419,
0.02850448,
-0.010512453,
0.02792679,
0.00045132093,
0.03238109,
0.034205377,
0.0024969925,
-0.021997858,
0.013005644,
0.00985875,
0.034326997,
-0.0305416,
0.009341869,
0.0559752,
-0.030298362,
0.021709012,
0.015597652,
-0.019124607,
-0.030207148,
0.04594162,
0.039739046,
0.0074681737,
0.014138223,
0.012101102,
0.024521453,
-0.035147924,
-0.026391348,
-0.027333897,
-0.008771779,
0.0018698939,
0.051110435,
0.0127396025,
0.038766094,
0.032867566,
0.000114611765,
-0.015749676,
0.04797874,
0.013271686,
0.01647939,
-0.029872695,
0.033384446,
-0.043174785,
-0.012382346,
0.06445813,
0.011105346,
-0.011166155,
0.010824101,
-0.0010527655,
-0.010390833,
-0.016965866,
0.035634402,
-0.014191431,
0.022742774,
0.015118776,
0.009767535,
-0.008064868,
-0.03861407,
-0.019945536,
0.00073921616,
-0.017649975,
-0.010725286,
0.0005235323,
-0.025798455,
-0.011622227,
-0.0062329797,
0.008596951,
-0.015453229,
0.04186738,
0.028550087,
-0.037397876,
-0.03384052,
0.01622095,
0.045151096,
-0.056644104,
-0.0026091102,
0.007943248,
0.005389247,
-0.011759048,
-0.016084129,
0.018987784,
0.07041747,
0.0052600265,
-0.03268514,
-0.021146523,
-0.03359728,
-0.0007487177,
0.0060011433,
-0.007859635,
0.030617611,
-0.0121467095,
0.0190942,
-0.006267185,
0.00044253207,
-0.01253437,
0.01202509,
0.023198847,
-0.011865465,
-0.008961809,
0.015559645,
-0.007023504,
-0.012549573,
-0.006654846,
0.031894613,
0.009896755,
-0.006879081,
0.02023438,
0.012237923,
0.03542157,
0.055002246,
0.015050366,
-0.058377177,
0.037489094,
0.022940407,
-0.031012874,
-0.009015017,
0.08276181,
0.021344155,
-0.011105346,
0.01215431,
-0.012222721,
-0.019960737,
-0.008262498,
-0.0077912244,
0.027592337,
-0.009630714,
0.016114533,
-0.022073869,
-0.0013530126,
0.011097744,
-0.015856093,
-0.015886497,
0.016084129,
-0.0068752808,
0.010983726,
0.013454115,
0.012055495,
0.029325409,
0.031164898,
0.03685059,
-0.00674226,
0.015552045,
0.024445442,
0.04268831,
-0.0318034,
0.022545144,
-0.03511752,
-0.013879782,
-0.03609047,
-0.0016561103,
-0.0388269,
0.04554636,
-0.010223607,
-0.04360045,
0.0143282525,
-0.03511752,
-0.0096763205,
-0.06457975,
-0.009744732,
-0.0661608,
0.0011800855,
0.011378989,
-0.0020504224,
-0.018987784,
0.055306293,
-0.0049217734,
-0.010877309,
-0.001234244,
0.06962694,
0.0108469045,
0.06883642,
0.045059882,
0.019611083,
-0.005860521,
0.030404778,
-0.03417497,
-0.004294675,
0.01877495,
0.007532784,
0.00877938,
-0.012633186,
-0.040255927,
0.045972027,
0.01552164,
0.022301905,
-0.05810353,
0.044147737,
-0.004872366,
-0.0053094346,
0.00789004,
0.062268987,
0.0119870845,
-0.02105531,
-0.0077532185,
-0.015324009,
-0.063485175,
0.022697167,
-0.016251354,
0.04110726,
-0.031590566,
-0.015308806,
-0.028382862,
-0.029690268,
0.0032400093,
0.017193902,
-0.008596951,
-0.028747719,
0.048769265,
0.025965681,
0.04983343,
0.016144937,
-0.0375499,
-0.029720671,
0.07321471,
0.010922917,
0.039161354,
0.051627316,
0.03618169,
0.026178515,
-0.01939825,
0.014206633,
-0.0009639265,
0.01679864,
-0.03861407,
-0.00031402436,
0.005050994,
-0.03289797,
-0.03481347,
0.007692409,
-0.020067153,
-0.005248625,
-0.04797874,
-0.015947307,
-0.06445813,
-0.06312032,
-0.0067612627,
-0.005719899,
0.035725616,
-0.05056315,
-0.0292646,
-0.017330725,
-0.040438358,
0.27631864,
0.045880813,
0.051809743,
-0.017148295,
0.027622743,
0.008323308,
-0.0054614586,
-0.03092166,
-0.020629643,
-0.044238955,
0.015209991,
-0.031028077,
-0.0286261,
0.025585622,
-0.015240395,
0.033870924,
-0.066586465,
-0.028580492,
0.020067153,
-0.058802843,
-0.06962694,
0.034631044,
-0.017072283,
0.0559752,
0.00003328492,
-0.010003172,
0.015552045,
-0.059046082,
0.03919176,
-0.00034561683,
-0.008596951,
-0.035360757,
0.017421938,
-0.0426275,
-0.008201689,
0.008133278,
-0.0024323822,
-0.043509237,
0.0003194877,
-0.05184015,
-0.02023438,
0.029583849,
0.012960037,
-0.020918489,
0.0076011945,
-0.0096763205,
0.0027364301,
0.028200433,
0.0400735,
-0.08805224,
0.04633688,
-0.03651614,
0.029735874,
-0.03545197,
-0.07753219,
-0.03271554,
0.009630714,
-0.020340797,
-0.0025445,
0.029918302,
0.03517833,
0.007966052,
0.013340097,
0.057434626,
-0.005879524,
0.041654546,
-0.039617427,
0.010162798,
-0.02316844,
-0.026482562,
0.03168178,
-0.049255744,
-0.038887713,
0.00032875166,
-0.009303862,
0.030845648,
0.034144565,
0.0048875683,
0.0060353484,
-0.046732146,
0.03983026,
0.011287774,
-0.022180287,
0.014974354,
0.002430482,
0.037397876,
-0.038978927,
-0.0064572147,
0.007088114,
0.016175343,
0.017954022,
0.050502338,
0.018182058,
0.011173756,
0.037458688
] |
python examples/pytorch/summarization/run_summarization.py
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--output_dir previous_output_dir \
--predict_with_generate
The second method uses the resume_from_checkpoint path_to_specific_checkpoint argument to resume training from a specific checkpoint folder. |
[
0.040380664,
0.0042507784,
-0.025082018,
-0.041184396,
-0.028199948,
-0.0138020385,
0.04827942,
0.018984731,
0.013330885,
0.056538474,
0.04794684,
-0.0071227388,
0.02534531,
-0.086138025,
-0.0040533096,
0.056150462,
0.006059178,
0.011633345,
-0.03356279,
0.02195023,
0.029350119,
-0.014661202,
-0.07621608,
-0.037470594,
-0.04074096,
-0.000632247,
0.044260755,
-0.034477383,
0.049554307,
0.05179922,
-0.02343298,
-0.0005226864,
0.01603309,
-0.017889991,
-0.014605772,
-0.010323814,
0.018970875,
-0.024111995,
-0.02907297,
-0.04143383,
0.047226254,
-0.0005304812,
0.000962228,
-0.03907806,
-0.02080006,
-0.0004945384,
0.00996352,
-0.036195707,
-0.010711824,
-0.0725577,
0.0011718222,
-0.0030399822,
0.019164879,
0.023571555,
-0.04963745,
0.028075231,
0.012499437,
0.024680153,
-0.019802323,
-0.0112591935,
0.045175347,
0.007559249,
-0.01549265,
-0.04827942,
0.0038108039,
0.023959564,
0.0016386457,
-0.0063536493,
0.0031248592,
-0.025691748,
-0.041516975,
0.019940898,
-0.0056018815,
-0.0077948263,
-0.03744288,
0.0067797666,
0.029294688,
0.0038004108,
-0.012956733,
0.040851817,
0.0035042074,
0.028158376,
0.016628962,
-0.011446269,
-0.033063922,
-0.042681005,
0.03722116,
-0.00023406131,
-0.0075315344,
0.00218948,
-0.01226386,
0.038191184,
0.006357114,
0.015409505,
0.033839937,
0.04024209,
-0.025858037,
0.023751702,
-0.013365529,
-0.010933543,
0.020522911,
0.085417435,
-0.0049852245,
0.02321126,
-0.0056919553,
0.015825229,
0.009242931,
0.03625114,
-0.032897633,
-0.009949663,
-0.0021236571,
0.022365954,
-0.03104073,
-0.0020976744,
-0.012291575,
0.029599553,
0.03220476,
0.048584286,
-0.053600688,
-0.00760775,
0.018707583,
0.0018517042,
-0.0094785085,
-0.039105777,
0.031401023,
-0.027285356,
-0.0099219475,
0.055707023,
0.013746609,
-0.04439933,
0.000088557885,
-0.022296667,
0.027908942,
0.04126754,
0.011425483,
-0.009831874,
0.012873588,
0.02380713,
-0.005359376,
-0.032426476,
-0.01450877,
-0.009783373,
0.013427887,
0.08608259,
0.007559249,
-0.027202211,
0.050940055,
-0.068954766,
-0.0152432155,
-0.0022189273,
-0.022698535,
-0.018111711,
-0.001613529,
0.024458433,
-0.023377549,
-0.013538747,
-0.020980207,
0.024084281,
0.009485438,
-0.003689551,
0.009007354,
-0.014481055,
-0.0025133984,
0.05545759,
-0.01571437,
0.042736433,
-0.044704195,
-0.0022795536,
-0.0062254677,
-0.035613693,
0.006416008,
0.016351813,
0.006700086,
-0.013926756,
0.041322973,
0.020883206,
0.033313356,
0.021964088,
0.009111286,
0.023640841,
-0.0057958863,
0.016240953,
0.013975257,
0.016448816,
0.051383495,
-0.047863696,
-0.013635749,
0.01439791,
-0.003744981,
-0.0037380522,
0.023252832,
0.02293411,
-0.058755666,
0.00050709676,
-0.036500573,
-0.016213238,
-0.009935805,
0.035669126,
-0.018901587,
-0.037304305,
-0.013337813,
0.01773756,
-0.05709277,
0.031983037,
-0.04076867,
-0.009021212,
-0.012347004,
0.042071275,
0.00020504724,
0.015118498,
0.045840506,
0.03749831,
-0.030320141,
-0.0018517042,
0.0029014074,
0.0034262592,
-0.03220476,
0.0012133946,
-0.019331168,
-0.019649891,
0.009450793,
-0.012603368,
0.021368217,
-0.025040446,
0.016019234,
-0.026149044,
0.009561653,
0.036971726,
0.012222287,
0.007586964,
0.0021825514,
0.024680153,
0.043318447,
0.04354017,
-0.006093822,
-0.018167142,
0.04390046,
0.041350685,
0.0055707023,
0.012568724,
-0.0036687648,
0.033812225,
0.008459984,
0.034311093,
-0.021201927,
0.005560309,
-0.0032807558,
-0.012437078,
-0.01610238,
0.016559675,
0.015686655,
0.07516291,
0.023141973,
0.0077255387,
-0.07743554,
-0.02140979,
0.0034591707,
-0.009298362,
-0.04980374,
-0.041738696,
0.013899041,
0.041738696,
-0.01861058,
-0.02567789,
0.0140306875,
0.024915729,
0.020786203,
0.038412903,
0.0065545826,
-0.07289029,
-0.014481055,
-0.02786737,
-0.052852385,
-0.022421384,
-0.02222738,
0.008120476,
0.05648304,
-0.034754533,
0.052464377,
0.0104762465,
-0.0070880954,
-0.0054390565,
-0.00096742454,
0.017169403,
0.04293044,
0.041018106,
-0.017280264,
0.040158946,
-0.012977519,
0.0063917576,
-0.0061180727,
-0.06701472,
0.01565894,
-0.017321836,
0.010053594,
0.01543722,
0.034172516,
-0.026980491,
-0.06529639,
0.008369911,
-0.034117088,
-0.002236249,
-0.016518103,
0.030126138,
-0.014314765,
0.035779983,
-0.00053351256,
-0.040990394,
0.015866801,
0.0699525,
-0.0035786913,
0.012797372,
-0.0028338523,
0.03907806,
-0.03891177,
0.036445145,
0.053628404,
-0.016739823,
-0.012547938,
-0.03206618,
0.002735118,
0.0037796246,
-0.0025099341,
-0.00043282937,
-0.010088237,
0.04439933,
-0.0013701572,
-0.077878974,
-0.021839371,
-0.04423304,
0.010192168,
-0.0052589094,
-0.025303738,
0.026675627,
-0.00936072,
0.0048951507,
-0.059642546,
-0.03425566,
-0.020051757,
0.008002688,
0.01998247,
-0.021146497,
0.010192168,
0.04340159,
0.002113264,
-0.0040810243,
0.027229926,
-0.04559107,
0.006880233,
0.009201359,
0.010788039,
0.013614963,
-0.008889566,
-0.0010497032,
0.0066377274,
0.018527435,
-0.010448531,
0.012527152,
-0.00050319935,
-0.019566746,
0.043263018,
0.033756793,
-0.013351671,
0.00041875537,
-0.055984173,
0.01379511,
-0.033063922,
-0.02901754,
0.056150462,
0.0054979506,
0.024998873,
0.018111711,
-0.036916297,
0.04417761,
-0.033839937,
-0.053240396,
0.03323021,
0.047059964,
0.008009617,
-0.04467648,
-0.028934395,
0.027784225,
-0.009159787,
0.032980777,
0.03891177,
0.01619938,
-0.015797514,
-0.0060730358,
-0.0152155,
0.018527435,
-0.0060418565,
-0.04107354,
0.018264145,
-0.013933685,
-0.0018447755,
-0.039050348,
0.030070707,
0.072280556,
0.019178737,
0.0352534,
0.0038731624,
0.015797514,
-0.0050649047,
0.019843895,
-0.024513863,
0.009707157,
-0.03223247,
0.04905544,
0.021548364,
-0.006228932,
-0.020107187,
-0.02239367,
0.0076008216,
0.031650458,
0.0047253966,
0.00017354314,
-0.027811939,
-0.009866518,
0.031345595,
0.04390046,
-0.014273193,
-0.05814594,
-0.04412218,
0.03345193,
0.016961541,
-0.060473993,
-0.03065272,
-0.056150462,
-0.0009197895,
0.024888014,
-0.011882779,
-0.0382189,
0.0013259866,
0.0041745626,
-0.048750576,
0.010905828,
0.07338916,
-0.05759164,
-0.019636033,
-0.06202603,
0.0013918096,
0.023737844,
-0.031151589,
0.033923082,
0.022961825,
0.006849054,
-0.027285356,
0.0028910143,
-0.059199106,
-0.023557696,
0.02140979,
-0.06862219,
-0.0014264532,
-0.039161205,
-0.023931848,
-0.045785077,
0.028712675,
-0.007039594,
0.018735297,
0.0030902156,
0.001981618,
-0.014300908,
0.013337813,
-0.08608259,
-0.047863696,
0.010358457,
0.038967203,
-0.0285741,
0.04093496,
0.010434674,
-0.022379812,
-0.008078904,
0.03733202,
-0.021506792,
0.028518671,
-0.008667847,
0.007649323,
0.019552888,
-0.03176132,
0.02775651,
-0.05836766,
0.045009058,
0.007302886,
-0.023363693,
-0.0053178035,
-0.06817874,
-0.020744631,
0.00443439,
-0.024555435,
-0.005161907,
0.010247598,
-0.0089242095,
-0.0025532385,
0.0016091985,
0.004302744,
-0.025179021,
-0.0055325944,
-0.017003113,
0.052353516,
0.00388702,
0.084974,
0.005009475,
-0.0024874157,
-0.0020041363,
-0.029738128,
-0.014044545,
0.020980207,
-0.01773756,
0.013698108,
-0.02463858,
-0.012991377,
-0.013317027,
-0.021853229,
-0.02512359,
-0.02797823,
-0.02474944,
0.03597399,
-0.010864256,
-0.017931564,
0.034893107,
0.0068525183,
-0.058090508,
-0.023751702,
-0.007039594,
0.0045244633,
0.020439766,
0.01237472,
-0.042292994,
-0.05321268,
-0.023862561,
0.01922031,
-0.05052433,
0.01346253,
-0.027119067,
0.0054598427,
-0.021576079,
0.04154469,
0.0068629114,
-0.045646504,
-0.00418842,
-0.027105208,
0.020190332,
-0.06102829,
-0.03422795,
-0.0104762465,
0.019012447,
-0.0077393963,
0.037276592,
0.01450877,
-0.033867653,
-0.008155121,
-0.01757127,
0.05168836,
0.041461546,
-0.045979083,
0.008951925,
-0.0066792998,
-0.010337671,
0.0025082019,
0.02413971,
-0.0030988764,
-0.00087388663,
0.010580177,
0.030431,
-0.0109196855,
-0.019164879,
-0.002677956,
-0.015049211,
0.043817315,
-0.03996494,
0.029544123,
-0.045840506,
-0.019067876,
0.0068040174,
0.0056226677,
-0.03810804,
0.03389537,
-0.024306,
-0.049304873,
0.055208154,
-0.038135752,
0.009714086,
-0.03810804,
-0.009741801,
0.06180431,
0.011376982,
-0.0074483897,
0.08902038,
0.033590503,
0.01664282,
-0.052963246,
0.023405265,
0.02497116,
-0.011896637,
0.018042425,
0.029765842,
-0.038329758,
-0.0003990518,
0.014647344,
-0.01231929,
-0.016670534,
0.019206451,
0.022379812,
0.021091068,
0.029571839,
0.027507076,
-0.04495363,
-0.048140846,
0.0056850268,
0.020107187,
-0.0045521786,
0.010143667,
0.007836399,
-0.02824152,
0.034283377,
0.010607893,
-0.018638296,
-0.029654983,
0.0705068,
0.018984731,
-0.032010753,
-0.0164211,
0.025580887,
-0.05820137,
-0.044759624,
-0.038468335,
0.05512501,
-0.031567313,
-0.022864824,
-0.03669458,
0.006388293,
-0.03558598,
0.042292994,
0.024513863,
0.01560351,
-0.00881335,
0.019899325,
-0.017377267,
-0.044898197,
0.010954329,
0.030236997,
-0.040685527,
-0.03104073,
-0.019455886,
0.013483317,
-0.0038281258,
-0.060972862,
0.05786879,
0.0005322134,
0.020730773,
0.005366305,
-0.0085916305,
0.055762455,
-0.020273477,
0.029544123,
0.00089986937,
-0.034172516,
-0.06219232,
-0.041184396,
0.0060453205,
0.022449099,
0.0039043417,
-0.02354384,
0.019580603,
0.0076770377,
0.060806572,
-0.02840781,
-0.0571482,
0.06113915,
-0.038690053,
-0.033479646,
0.01445334,
-0.008356053,
0.041489262,
0.017973136,
0.0095962975,
-0.037470594,
0.028186092,
0.008563915,
-0.032315616,
0.0077324677,
-0.01757127,
0.007049987,
-0.04295815,
-0.00012222721,
-0.019164879,
-0.02638462,
-0.033535074,
-0.000069449736,
-0.013552604,
0.012741943,
-0.0052970173,
0.022947969,
-0.0056088106,
0.0139128985,
-0.01603309,
0.006059178,
-0.007843328,
-0.02868496,
-0.07344458,
0.0019590997,
-0.014314765,
-0.03453281,
-0.0027697615,
-0.003679158,
0.015991518,
0.009118214,
0.0035128684,
0.049665168,
-0.01636567,
-0.011356195,
0.008660918,
0.018569008,
-0.044482473,
0.023128115,
-0.017086258,
-0.008071976,
0.0060245343,
0.0029256581,
0.01073261,
0.07516291,
-0.024929587,
0.046949103,
0.0021409788,
0.04761426,
0.017889991,
0.034948535,
0.013427887,
0.0026277225,
-0.010406959,
-0.01209757,
-0.011092904,
0.029932132,
-0.026952777,
0.05595646,
0.019178737,
-0.021700796,
-0.027811939,
-0.0077601825,
0.018042425,
0.04642252,
0.027631793,
-0.016310241,
-0.008584701,
-0.0462008,
0.0001646657,
0.036057133,
-0.077712685,
-0.041683264,
0.012492508,
-0.04708768,
-0.0049505807,
0.0016109308,
0.000032938555,
0.02770108,
0.020425908,
-0.0036756936,
0.040546954,
0.02031505,
0.00443439,
-0.0147997765,
-0.0443439,
-0.035613693,
0.006367507,
-0.013171524,
-0.03874548,
-0.022837108,
0.012762729,
0.027299214,
0.013871326,
-0.0046838243,
-0.013296241,
-0.007836399,
0.011065189,
0.024915729,
-0.019358885,
-0.04428847,
-0.028269237,
0.027202211,
-0.034782246,
-0.017100116,
-0.023751702,
0.01976075,
0.027008206,
-0.0011449733,
0.018915445,
0.022324381,
0.032814488,
-0.025885751,
0.011979782,
0.037110303,
0.05118949,
-0.024500005,
0.0035388512,
0.009748729,
0.019968612,
0.012492508,
0.031789035,
0.030320141,
-0.007891828,
0.03733202,
-0.040962677,
-0.036916297,
0.0013736216,
0.036944013,
0.020342764,
0.0006170904,
-0.013954471,
0.02249067,
0.015977662,
0.023917992,
0.026689485,
0.015561937,
-0.01040003,
-0.0044170683,
-0.041322973,
0.041295256,
-0.029932132,
-0.06640499,
-0.025165163,
0.011591773,
0.05462614,
0.03744288,
0.02217195,
-0.0315396,
0.030708151,
0.025026588,
0.025497742,
0.026135186,
0.0016871468,
0.03744288,
0.0017564342,
0.04761426,
0.005106477,
0.024915729,
0.005068369,
-0.0625249,
-0.045175347,
0.0007418076,
-0.018042425,
0.008071976,
-0.02918383,
-0.0480577,
-0.008778706,
-0.07183712,
0.051050916,
-0.06695929,
-0.013871326,
0.013164596,
-0.030431,
-0.031179305,
0.033424214,
0.024610864,
0.02901754,
0.046394806,
0.020287335,
0.003859305,
0.056427613,
0.018804586,
-0.01198671,
0.053129535,
0.059143677,
-0.030514145,
-0.0010523015,
0.010012021,
-0.034754533,
0.0068733045,
-0.02354384,
-0.028657245,
0.0027022064,
-0.020619914,
-0.02923926,
-0.043678742,
0.013400172,
0.018513579,
-0.08065047,
0.010961258,
0.078932144,
0.021118782,
-0.017889991,
-0.0015702244,
-0.006582298,
-0.047503404,
-0.039826363,
-0.022726249,
0.035890844,
-0.02545617,
-0.030625006,
-0.040269803,
-0.04559107,
0.023197403,
-0.012132213,
-0.022837108,
-0.002378288,
0.027410073,
0.040824104,
0.039881796,
0.006689693,
-0.040824104,
0.0000924553,
0.049471162,
0.056871053,
0.013926756,
0.056150462,
0.072779424,
-0.019511316,
0.0017980066,
0.004302744,
0.020162618,
0.016878396,
-0.026052041,
0.024791012,
0.00028992424,
-0.0036410498,
-0.039493784,
0.0023245905,
-0.014176191,
-0.049221728,
-0.0022899467,
-0.055790167,
-0.024403002,
-0.05168836,
-0.017751418,
-0.03722116,
0.009991235,
-0.010531676,
-0.019968612,
0.012388577,
-0.06535182,
0.22482358,
0.060418565,
0.021548364,
0.006630799,
0.05163293,
0.09783373,
0.03422795,
0.027340787,
0.013386315,
-0.039937224,
0.0071850973,
-0.055429876,
-0.01603309,
0.016060807,
-0.026966633,
0.03716573,
-0.055651594,
-0.044648763,
-0.0112522645,
-0.017432695,
-0.052824672,
0.0073375297,
0.011092904,
0.08680318,
0.064021505,
0.014550342,
-0.0007119275,
-0.025636317,
0.008695561,
-0.042071275,
-0.0026242582,
-0.02923926,
0.027881227,
-0.009443865,
-0.00859856,
0.0053074104,
0.006661978,
-0.02046748,
-0.02764565,
-0.008640132,
0.02556703,
-0.03503168,
0.027354643,
-0.030486431,
-0.01734955,
0.046145372,
-0.017834563,
0.035447404,
0.038856342,
-0.028380096,
0.0491663,
-0.011536343,
0.0062046815,
-0.033590503,
-0.027742652,
0.03126245,
-0.014134618,
-0.041960414,
-0.016906112,
-0.025040446,
0.025082018,
0.0040914174,
-0.0285741,
0.06069571,
-0.018042425,
-0.019386599,
-0.03120702,
0.04775284,
0.00026155973,
0.019483602,
-0.016767537,
-0.0035509763,
-0.005754314,
-0.034782246,
0.030042993,
-0.0022864824,
-0.01111369,
0.045618787,
0.019566746,
-0.003169896,
-0.0065892264,
-0.023169687,
0.018638296,
-0.063300915,
0.04911087,
0.021853229,
-0.053794693,
-0.035336547,
0.012998305,
-0.0009215217,
0.021756226,
0.04855657,
0.02452772,
0.017321836,
-0.017432695
] | Models in the transformers library itself generally follow the convention that they accept a config object
in their __init__ method, and then pass the whole config to sub-layers in the model, rather than breaking the
config object into multiple arguments that are all passed individually to sub-layers. Writing your model in this
style results in simpler code with a clear "source of truth" for any hyperparameters, and also makes it easier
to reuse code from other models in transformers. |
[
0.079009175,
-0.013967802,
-0.030805076,
0.012722845,
0.0034786658,
-0.012578613,
0.001587509,
-0.007143316,
0.020830244,
0.018234054,
-0.0025430508,
0.011348839,
-0.0073293005,
-0.030805076,
-0.035162423,
-0.0021767756,
0.004979825,
-0.03965641,
-0.06255146,
0.035921544,
0.0067333914,
0.022302935,
-0.063948244,
-0.040111884,
-0.0064373347,
0.024975037,
-0.00081036024,
0.020222947,
0.06400897,
0.018431425,
-0.05945425,
0.0016026914,
0.00060682127,
-0.043755658,
-0.00096597977,
-0.026872836,
0.008486958,
-0.0046458123,
-0.06662034,
-0.05562829,
-0.016503261,
0.01281394,
0.0441504,
-0.0070370394,
-0.04660995,
-0.0017753912,
0.00907148,
0.0043004127,
0.039747506,
-0.0266451,
-0.02544569,
0.03938313,
0.020587325,
0.022758408,
-0.008722285,
-0.00976987,
-0.031488284,
0.016442532,
-0.02461066,
-0.0077240425,
0.031002447,
0.044939883,
-0.038866926,
-0.0630373,
0.02289505,
-0.0008573308,
-0.026037805,
-0.01732311,
-0.02435256,
-0.023578256,
-0.048492566,
-0.016214795,
-0.010999644,
-0.052045245,
-0.041721217,
0.000026376443,
0.046640314,
-0.028026698,
-0.00542391,
0.04333055,
0.02936275,
0.03914021,
-0.004433259,
-0.0012107958,
-0.024458835,
-0.04314836,
0.070264116,
0.0047862497,
-0.020374771,
-0.011348839,
-0.014628236,
0.00013569264,
-0.023031691,
0.014134808,
0.03089617,
0.024337377,
-0.0041334066,
0.008851335,
0.0017393329,
0.012586204,
0.062247813,
0.08216711,
0.0007932801,
0.024686571,
-0.04269289,
0.020116672,
0.061002858,
-0.038138174,
-0.010566946,
-0.0120168645,
-0.010756725,
0.002702466,
0.03083544,
-0.023183515,
0.0041637714,
0.02023813,
-0.00108649,
-0.005568143,
-0.024792848,
-0.017535664,
-0.0004633002,
-0.021558998,
0.031427555,
-0.06522356,
0.024656206,
-0.033127982,
-0.0028220273,
0.04524353,
-0.012722845,
-0.024443652,
0.009671184,
0.0067637563,
0.00720025,
0.037470147,
0.023168333,
-0.037713066,
-0.009640819,
0.0013844445,
0.060608115,
-0.018249236,
-0.00691558,
-0.041630123,
-0.018097414,
0.07615489,
0.039443858,
0.010954097,
-0.017657124,
-0.025779704,
-0.026295906,
0.025035767,
-0.026113717,
0.023714898,
-0.011629714,
0.008798197,
-0.010999644,
-0.020648055,
-0.024656206,
0.018355513,
0.009982424,
0.033978198,
-0.010764317,
0.01814296,
-0.035374977,
0.05125576,
0.00608814,
0.038806196,
-0.031123906,
-0.034342572,
-0.04047626,
-0.033917468,
-0.009352354,
-0.027070208,
0.010779499,
0.010756725,
0.047429796,
0.04123538,
0.01985857,
-0.019904118,
0.0065549985,
0.003808883,
-0.008623599,
0.010741543,
0.004091655,
0.013178318,
0.0020363384,
0.0019718134,
-0.0017165594,
0.022439577,
-0.013755248,
-0.0005441939,
0.024899125,
0.044423684,
-0.053138375,
0.011364021,
-0.034008563,
-0.015402538,
-0.017429387,
-0.011424751,
0.0054087276,
-0.028269617,
-0.022287752,
0.061397597,
-0.047156513,
-0.009777461,
-0.014985022,
-0.0051544225,
0.012593796,
0.049707156,
0.045000613,
-0.0027290352,
0.050466277,
-0.022090383,
-0.0027480132,
-0.019904118,
0.02924129,
-0.022302935,
-0.032277767,
-0.0114778895,
-0.021953741,
-0.036316283,
-0.017156104,
0.019251274,
0.012791166,
0.0016842968,
0.036589567,
0.00091995817,
-0.02245476,
0.013603425,
0.0071964543,
0.015926331,
0.052379258,
0.042935807,
0.0006120402,
0.051863056,
0.041022826,
0.021968924,
0.042844713,
-0.0137400655,
0.0049760295,
-0.024580294,
-0.0076481304,
-0.019691564,
0.016381802,
0.01547845,
0.026614735,
0.031943757,
-0.0120168645,
0.008547688,
0.00053375604,
0.050405547,
-0.08216711,
0.047794174,
0.01377043,
0.0064183567,
-0.07196455,
-0.019706747,
0.018173324,
0.037196863,
0.0020439296,
-0.0078492975,
-0.005867995,
0.033036888,
-0.007306527,
0.003761438,
0.06094213,
0.07129652,
-0.014893928,
-0.0024196939,
-0.011030009,
-0.03385674,
-0.030562159,
-0.027890056,
-0.079069905,
-0.05945425,
-0.035860814,
0.009367537,
-0.005697193,
-0.008449002,
-0.0067447782,
-0.04654922,
0.0000500248,
0.031306095,
-0.022682495,
0.039474223,
0.021483086,
0.024246283,
-0.052531082,
0.032763604,
-0.040901367,
0.023396067,
-0.03057734,
-0.03145792,
-0.002117944,
-0.0053783627,
0.019615652,
0.014149991,
-0.004516762,
-0.03361382,
-0.032702874,
0.0027252396,
0.0011794822,
-0.009587681,
0.016396984,
-0.008084624,
-0.014013349,
0.041964136,
0.025551967,
-0.046731405,
0.034372937,
0.02341125,
-0.0035602713,
0.033887103,
0.02073915,
0.023942634,
-0.028497353,
0.056812517,
0.041751582,
-0.0088817,
-0.023775628,
-0.018309966,
-0.07184309,
0.017930407,
-0.00691558,
-0.042875078,
0.0077316337,
0.050223358,
-0.008441411,
-0.050192993,
-0.013838751,
-0.029894132,
-0.021224987,
-0.013922255,
0.013709702,
0.04979825,
-0.0057996744,
0.045759734,
-0.06261219,
0.007245797,
-0.0025354596,
0.025992258,
0.007765794,
-0.029651213,
-0.0058641993,
0.027692685,
-0.013952619,
0.019797841,
0.053259835,
-0.05271327,
0.0063196714,
-0.00052426703,
0.014248677,
0.012571022,
0.027252397,
0.017550847,
0.005120262,
0.010566946,
-0.044302225,
0.023578256,
0.0020818857,
-0.0044560325,
-0.010954097,
0.022242207,
0.029985227,
-0.0028846548,
-0.031791933,
0.007701269,
0.0204355,
0.011690442,
0.03291543,
-0.03907948,
0.01800632,
-0.020222947,
-0.02936275,
-0.0196612,
0.007955574,
-0.011508254,
0.019251274,
0.048674755,
0.023062056,
0.03698431,
-0.049950074,
0.014377726,
-0.028087428,
0.046033017,
0.02600744,
0.008980386,
0.017186468,
0.037287958,
0.0055415737,
0.0032300542,
0.017095376,
-0.0040878593,
-0.017065011,
-0.03786489,
-0.025172409,
-0.05347239,
0.021133892,
0.070446305,
0.043482374,
0.019995213,
0.04059772,
-0.036255557,
0.02784451,
0.033067252,
-0.0018541497,
-0.017717853,
-0.07542613,
0.057055432,
0.021893011,
0.013876707,
-0.021361627,
-0.012419198,
-0.0057882876,
0.009868556,
-0.016761363,
0.0018076537,
-0.050800286,
-0.009564908,
0.0021350242,
0.028694723,
-0.008426229,
-0.010187386,
-0.032702874,
-0.0045395354,
0.036043003,
-0.0062247813,
0.008342725,
-0.0506181,
0.04032444,
0.014316997,
-0.018917263,
-0.039474223,
-0.024641024,
-0.015637865,
-0.055871207,
0.05292582,
0.01686764,
-0.025354598,
-0.0057882876,
-0.051407583,
0.011599349,
0.0058717905,
-0.0040840637,
-0.0025734156,
-0.0025259708,
-0.0017497708,
-0.0011519641,
0.017717853,
0.014742104,
-0.024716936,
0.025870798,
-0.011629714,
0.035040963,
-0.02486876,
0.00786448,
-0.023046874,
-0.021407174,
0.055931937,
0.033006523,
0.04879621,
-0.016776545,
0.005773105,
0.020602508,
-0.022105565,
-0.06075994,
0.037318323,
0.030425517,
-0.0012392629,
0.053958226,
-0.012677299,
-0.005366976,
0.024595477,
0.003514724,
-0.025794886,
-0.035192788,
-0.01217628,
-0.013398462,
-0.012958173,
-0.011591758,
0.018249236,
-0.014005758,
0.05107357,
-0.026842471,
-0.00057408423,
0.0000047370845,
-0.06473772,
-0.012548248,
0.032065216,
-0.014901519,
-0.000042522563,
0.037136134,
0.004262457,
0.014074079,
-0.034069292,
-0.03037997,
-0.022500306,
-0.026083352,
0.030865805,
0.0430269,
-0.00096597977,
0.036194827,
-0.04985898,
-0.022864684,
0.046731405,
-0.023547892,
0.027282761,
-0.03977787,
0.0064752907,
0.03589118,
0.008540097,
0.0060350015,
0.011174241,
-0.022515489,
-0.022120748,
0.019251274,
-0.013815978,
-0.015774507,
-0.012487519,
-0.006718209,
0.05772346,
-0.02720685,
-0.05004117,
0.0070749954,
0.005754127,
0.03698431,
-0.010627675,
0.022469942,
-0.03628592,
-0.04903913,
-0.02798115,
0.05398859,
-0.03324944,
-0.012237009,
-0.03601264,
-0.03361382,
-0.0034558922,
0.03019778,
0.010134247,
-0.03267251,
0.029484209,
-0.0322474,
0.016214795,
-0.07767312,
-0.015895966,
-0.016761363,
-0.0024158983,
-0.031184636,
0.044575505,
0.0068472596,
0.015546771,
0.02544569,
0.007131929,
-0.0014745899,
0.012586204,
-0.021012433,
-0.018856533,
0.022819137,
0.008319952,
0.023638986,
0.01578969,
0.0040688813,
0.009344763,
0.006877624,
0.02696393,
-0.041660488,
-0.063948244,
-0.04269289,
-0.0134516,
0.034676585,
-0.059241697,
0.0041941362,
0.0045395354,
-0.03133646,
-0.010354392,
0.02137681,
0.022485124,
0.016761363,
0.006907989,
-0.05644814,
0.027252397,
-0.03367455,
-0.017581211,
-0.028588446,
-0.009420675,
0.02429183,
-0.06698472,
0.038806196,
0.06686326,
-0.0004011473,
0.019721929,
-0.060152642,
0.052379258,
0.013201091,
-0.0005422961,
-0.051529042,
-0.01636662,
-0.06346241,
0.0065056556,
-0.012654525,
-0.039868966,
-0.03255105,
0.01408167,
0.008023895,
-0.02861881,
0.04275362,
0.025035767,
-0.04314836,
-0.03704504,
0.050375182,
-0.0028865526,
0.005856608,
-0.009033524,
0.017414205,
-0.007078791,
-0.0023285996,
-0.035800084,
-0.03419075,
-0.0037842116,
0.054140415,
-0.0010561253,
-0.03267251,
0.018097414,
0.03261178,
-0.03145792,
-0.08921174,
-0.022667313,
-0.0070712,
-0.02245476,
-0.008236448,
-0.021467904,
0.019888936,
-0.046154477,
0.04618484,
0.04345201,
-0.009526952,
-0.012722845,
0.007257184,
-0.01738384,
-0.068624415,
-0.0017488219,
0.055051357,
-0.023229063,
-0.006775143,
-0.038320363,
0.024185553,
-0.039231304,
0.00045428568,
0.028876912,
-0.038350724,
0.020071125,
0.026159264,
0.0015761222,
0.059848994,
-0.0021141483,
0.0060084322,
0.010187386,
-0.02010149,
-0.01732311,
-0.029636031,
0.02746495,
0.012009273,
0.023335338,
-0.008319952,
0.00082696596,
0.018795803,
0.037591606,
-0.008547688,
-0.042783983,
0.002408307,
-0.022120748,
0.0017070704,
0.008798197,
0.0068282816,
-0.012024456,
0.0091777565,
-0.00374246,
-0.03786489,
-0.006668866,
0.011553802,
0.00501019,
0.002182469,
-0.060213372,
-0.008160536,
-0.048158552,
0.001265832,
-0.047611985,
-0.012419198,
0.012320512,
0.0355268,
-0.011394386,
0.013595833,
-0.019494193,
0.014096852,
0.033127982,
0.016093336,
-0.012897443,
0.03089617,
0.011060374,
0.023396067,
-0.0398386,
0.0015438596,
0.03464622,
-0.047429796,
0.0225914,
0.016973916,
-0.011409569,
-0.003260419,
0.043937847,
0.04257143,
-0.0013711599,
0.009496587,
-0.012077594,
0.017672306,
-0.03133646,
-0.026751377,
-0.03318871,
-0.03170084,
-0.011910588,
0.051164664,
0.0049190954,
0.043178726,
0.03107836,
0.011493072,
-0.0244892,
0.03661993,
0.01566823,
0.009572499,
-0.0009479507,
0.020374771,
-0.0120168645,
-0.030167416,
0.059606075,
0.013216273,
-0.029894132,
0.020268494,
-0.020723967,
-0.01884135,
-0.0050671236,
0.035800084,
0.00570858,
0.046397395,
0.0020667033,
-0.007462146,
-0.022166295,
-0.031093542,
-0.027707867,
-0.00019689667,
-0.030471064,
0.012404015,
0.027237214,
-0.015987061,
0.028694723,
0.009921694,
0.0110831475,
0.016214795,
0.043755658,
0.033067252,
-0.0122673735,
-0.01858325,
0.0072913445,
0.030805076,
-0.058634404,
-0.00226787,
-0.010878185,
0.027009478,
-0.018431425,
-0.020268494,
0.021877829,
0.055172816,
-0.00045618348,
-0.02125535,
-0.029317202,
-0.0468225,
-0.0053404067,
0.0010902856,
-0.02283432,
0.036893215,
-0.033978198,
0.028694723,
-0.014635827,
0.031002447,
-0.018977992,
0.022940597,
0.023137968,
0.016336255,
0.0039967652,
0.03534461,
-0.011462707,
-0.0036817305,
0.008039077,
0.021407174,
0.02530905,
0.009094253,
-0.013292185,
0.0013455396,
0.039474223,
0.027237214,
-0.0003771876,
-0.03242959,
0.04530426,
0.027161302,
0.0040461076,
-0.005302451,
0.058270026,
0.011948544,
-0.01294299,
-0.0047900453,
-0.017520482,
-0.008494549,
-0.0013853934,
-0.00207809,
0.021088345,
-0.015227941,
0.0076974733,
-0.020769514,
-0.017049829,
0.0066460925,
-0.008555278,
-0.023183515,
0.026508458,
0.005450479,
0.02816334,
0.0054960265,
0.024762483,
0.05969717,
0.018264418,
0.031063177,
0.028542899,
0.00010159156,
0.0021748778,
0.04654922,
-0.029590484,
0.005093693,
-0.037470147,
-0.035921544,
-0.011052783,
0.002541153,
-0.034676585,
0.074940294,
0.020405136,
-0.014559915,
0.018021502,
-0.036134098,
-0.02309242,
-0.0644948,
-0.009640819,
-0.063705325,
0.001652983,
0.010286071,
-0.018871715,
-0.046974324,
0.046731405,
0.020116672,
0.007116747,
-0.009192939,
0.060668845,
0.022667313,
0.08374608,
0.072754025,
0.025187591,
0.0016150271,
0.01572896,
-0.027510496,
0.011288109,
0.01058972,
0.022940597,
0.0029339974,
-0.0037500511,
-0.049130224,
0.04008152,
0.018659161,
0.017216833,
-0.066073775,
0.038593642,
0.0007913823,
-0.0136337895,
0.0010058335,
0.08538578,
-0.0131935,
-0.017687488,
-0.0023570666,
-0.01726238,
-0.06716691,
0.010764317,
-0.0053062467,
0.02391227,
-0.01834033,
-0.039170574,
-0.0398386,
-0.020921338,
0.015402538,
-0.005063328,
-0.0019813024,
-0.0175053,
0.0393224,
0.029605666,
0.06564867,
-0.0018560475,
-0.044939883,
-0.044879153,
0.052774,
0.020587325,
0.019266456,
0.072875485,
0.05004117,
0.02067842,
-0.03236886,
-0.00095411856,
0.009048707,
0.002550642,
-0.030622886,
0.0071243383,
0.014309405,
-0.033765644,
-0.049524967,
-0.017474934,
-0.010453078,
0.0018456097,
-0.057875283,
-0.008843744,
-0.063644595,
-0.057267986,
-0.0035583735,
-0.004376325,
0.036832485,
-0.036468107,
-0.034494396,
-0.012153506,
-0.04636703,
0.27595517,
0.063705325,
0.05748054,
-0.019646017,
0.021103527,
-0.019646017,
0.0028998372,
-0.02093652,
-0.0059970454,
-0.03686285,
0.020147037,
-0.027267579,
-0.028998371,
0.03464622,
-0.024048911,
0.04032444,
-0.06935317,
-0.017247198,
0.0018361207,
-0.036407378,
-0.06033483,
0.022667313,
0.00080941134,
0.052682906,
0.019873753,
-0.02225739,
0.011553802,
-0.051043205,
0.007910027,
-0.024777666,
-0.000053286643,
-0.014871154,
0.02550642,
-0.03914021,
-0.029195743,
0.025111679,
-0.004998803,
-0.039352763,
-0.0035773513,
-0.04642776,
-0.02055696,
-0.0034976439,
0.024534747,
-0.015455676,
-0.013299776,
0.00096313306,
-0.020890974,
0.03762197,
0.0062058032,
-0.08368535,
0.032520685,
-0.042389244,
0.02766232,
-0.03926167,
-0.08064888,
-0.050192993,
0.0070370394,
-0.040294074,
-0.015076117,
0.03628592,
0.033067252,
0.009610455,
-0.002994727,
0.030941717,
-0.030729163,
0.0419945,
-0.08854372,
0.025718974,
-0.024458835,
-0.020845426,
-0.0006822588,
-0.020632872,
-0.031761568,
-0.021194622,
-0.005256904,
0.034099657,
0.027237214,
0.021437539,
0.012282556,
-0.04706542,
0.015303852,
0.022864684,
-0.021407174,
0.0031237775,
-0.00018444235,
0.034555126,
-0.054018956,
-0.0014537142,
0.022485124,
0.02454993,
0.028527716,
0.04688323,
0.0076784953,
0.031943757,
0.018659161
] |
python examples/pytorch/summarization/run_summarization.py
--model_name_or_path google-t5/t5-small \
--do_train \
--do_eval \
--dataset_name cnn_dailymail \
--dataset_config "3.0.0" \
--source_prefix "summarize: " \
--output_dir /tmp/tst-summarization \
--per_device_train_batch_size=4 \
--per_device_eval_batch_size=4 \
--overwrite_output_dir \
--resume_from_checkpoint path_to_specific_checkpoint \
--predict_with_generate
Share your model
All scripts can upload your final model to the Model Hub. Make sure you are logged into Hugging Face before you begin: |
[
0.03312802,
0.019524004,
-0.003316913,
-0.033486806,
-0.040483158,
0.001897648,
-0.010576748,
-0.014747649,
-0.037822153,
0.08598933,
0.035669427,
0.013858156,
0.06709321,
-0.041738912,
-0.0027264091,
0.017924411,
-0.032021757,
-0.020675113,
-0.07103987,
-0.017490877,
-0.002107875,
-0.0029132774,
-0.04996112,
-0.023366017,
-0.06571786,
0.00938079,
0.024816116,
-0.003275802,
0.06595705,
0.03531064,
0.0015435325,
0.0071196835,
0.00035037813,
-0.026684798,
-0.028239543,
-0.038808815,
0.007041199,
-0.037074678,
-0.06942532,
-0.04326376,
0.035490036,
-0.006073221,
0.0014267397,
-0.05360879,
-0.03540034,
-0.012938764,
0.0070187747,
0.013028461,
-0.0008451121,
-0.033726,
-0.01737128,
0.048406374,
0.021422587,
-0.014515933,
-0.047389813,
0.0057742316,
-0.013387248,
-0.010068466,
-0.04404113,
-0.02164683,
-0.007478471,
0.020809658,
-0.022648443,
-0.026296113,
0.020062186,
0.029495299,
-0.0016920929,
0.031961963,
-0.05079829,
-0.020032287,
-0.030706206,
0.024158338,
-0.0012211846,
-0.06027625,
-0.0044698906,
0.058751404,
0.034413673,
-0.004851102,
-0.0058452417,
0.039376896,
-0.02640076,
0.04795789,
-0.010688869,
-0.009455538,
-0.03055671,
-0.018955924,
0.041978102,
0.01571189,
-0.041140933,
-0.038599525,
-0.0055088787,
0.020450871,
-0.029136512,
0.019045621,
0.021228243,
0.028792674,
-0.0076279654,
0.031064993,
-0.007560693,
-0.036566395,
0.0072093806,
0.101716176,
-0.013088259,
0.014568256,
-0.015592294,
0.043742143,
0.011301797,
0.027850857,
-0.053399496,
0.019449256,
-0.013985227,
0.0030179238,
0.02835914,
-0.0105692735,
-0.018029058,
0.022110263,
-0.00238444,
0.00029385046,
-0.057585347,
-0.00882766,
0.007459784,
0.0042344364,
0.0058452417,
-0.060455646,
-0.011361595,
-0.04293487,
-0.005979787,
0.037433464,
-0.018970873,
-0.034144584,
0.021482384,
-0.025055308,
0.009844224,
0.05722656,
0.008192308,
-0.008446449,
-0.022558747,
-0.0007890516,
0.010412304,
-0.044160727,
-0.02133289,
-0.0039578713,
0.009971295,
0.0981881,
-0.017431078,
-0.0280153,
0.0030590347,
-0.042785376,
-0.02130299,
-0.011152303,
-0.014187044,
-0.030452065,
-0.025040358,
0.0005624737,
-0.018447643,
-0.009089276,
-0.04185851,
-0.011727857,
0.009134124,
0.010965434,
-0.014209469,
-0.018014109,
-0.031603172,
0.05671828,
-0.02324642,
0.039466593,
-0.013716136,
-0.018746631,
-0.013716136,
-0.040722348,
-0.004585749,
-0.0364767,
-0.0101207895,
0.012430482,
0.03952639,
-0.0054266565,
0.07229562,
0.008461398,
-0.014015125,
-0.030975295,
0.00059984735,
-0.00033379358,
0.035669427,
0.024322784,
-0.0038644373,
-0.036327206,
0.028867422,
-0.015801586,
-0.024487227,
0.011294322,
-0.0021788848,
0.0294355,
-0.020749861,
-0.0012893915,
-0.036297306,
-0.007855945,
-0.019673498,
0.014814922,
-0.004974435,
-0.019254914,
-0.037762355,
0.022214908,
-0.04694133,
0.031005194,
-0.036416903,
-0.04936314,
-0.019254914,
0.03393529,
-0.0035803975,
0.008760388,
0.0020854506,
0.043951433,
-0.016982595,
0.028987017,
0.002573177,
-0.011832504,
-0.013917954,
-0.007661602,
0.015951082,
-0.007429885,
0.023709854,
0.0034701452,
0.0617114,
0.011361595,
0.007272916,
-0.018447643,
-0.0005900368,
0.05755545,
0.022259757,
0.037881948,
0.01575674,
0.023455715,
0.009089276,
0.07630208,
0.009470487,
-0.0006381554,
0.058572013,
0.04601446,
0.009328468,
0.009672306,
-0.0070598857,
0.013379773,
-0.0005236985,
0.014052499,
-0.033307415,
-0.013439571,
-0.027716313,
-0.0108308885,
-0.031064993,
0.03698498,
-0.044429816,
0.03671589,
0.02130299,
-0.02412844,
-0.03250014,
-0.029001966,
0.0029842875,
0.025593488,
-0.045027796,
0.00569201,
0.041140933,
-0.010464627,
-0.006693624,
-0.009164023,
0.055163532,
0.039167605,
0.040722348,
0.043742143,
0.0026161568,
-0.059977263,
-0.017266635,
-0.041619316,
-0.0644621,
0.00955271,
-0.019479156,
0.017774917,
0.032201152,
-0.05079829,
0.03336721,
-0.015383001,
-0.013103208,
0.022917533,
-0.02324642,
0.037254073,
0.032111455,
0.017834714,
-0.028568432,
0.0038980735,
-0.032978524,
0.017460978,
-0.006020898,
-0.042008,
0.021273091,
-0.04401123,
0.02692399,
0.012961188,
0.012109068,
-0.035011653,
-0.034951854,
0.022304606,
-0.053279903,
0.00035154607,
-0.0043241335,
0.028702976,
-0.021004,
0.025369246,
0.0026610051,
-0.03898821,
0.04571547,
0.04341325,
-0.0067608966,
0.028867422,
0.019000772,
0.013260177,
-0.027970454,
0.032769233,
0.016668657,
0.010382405,
-0.056807976,
-0.048376475,
-0.0023863087,
-0.013364824,
0.0039167604,
0.001897648,
-0.0064245337,
0.07474734,
-0.023650058,
-0.07115947,
-0.0011557806,
-0.03958619,
-0.0168331,
-0.0016080021,
0.001233331,
0.03587872,
0.02018178,
0.034054887,
-0.032709435,
-0.022394301,
-0.043174062,
0.03593852,
0.017132089,
0.0019322187,
0.039107807,
0.021153497,
-0.00074467034,
0.00069001137,
-0.005512616,
-0.043861736,
-0.0024853488,
-0.024532076,
0.04120073,
0.049213644,
0.022917533,
0.011630685,
0.056538884,
0.029495299,
0.01081594,
0.018328046,
0.020406023,
0.013379773,
0.03737367,
0.027671464,
-0.02439753,
0.0033262565,
-0.028433887,
-0.013006036,
-0.0365066,
0.034323975,
0.03145368,
-0.040333662,
0.027970454,
0.0078036217,
-0.004716557,
-0.0013529268,
0.019419357,
-0.0420379,
0.028239543,
0.04741971,
0.058183327,
-0.038330432,
-0.053937677,
0.01627997,
-0.0057293833,
0.032081556,
0.046223752,
0.015091487,
-0.020420972,
0.004817466,
-0.07361118,
-0.014276741,
0.0136264395,
-0.0074410974,
0.02022663,
-0.0030739843,
-0.016952695,
-0.049243543,
-0.00061619835,
0.02439753,
0.03175267,
-0.0034495895,
0.036656093,
0.015128861,
0.0012548208,
0.016369667,
-0.020854507,
0.02722298,
-0.04828678,
0.019867841,
0.049781725,
-0.010292708,
-0.019479156,
-0.0337559,
0.03560963,
0.0031674183,
-0.050349806,
-0.00022494276,
-0.017715119,
0.0022442888,
-0.0013538611,
0.018208452,
-0.03003348,
-0.043801937,
-0.029121563,
0.048017688,
0.031812467,
-0.046223752,
-0.00381772,
-0.032739334,
0.0052323136,
0.014919568,
-0.027342575,
-0.03677569,
0.0054042325,
-0.014515933,
-0.04652274,
0.029286006,
0.084255196,
-0.030168025,
-0.009904022,
-0.051127177,
-0.021811273,
0.015906233,
-0.00722433,
-0.009642406,
-0.010225436,
0.0136638135,
-0.0005180925,
0.019538954,
-0.022917533,
-0.023336118,
0.006775846,
-0.018044006,
-0.0142617915,
-0.06090413,
0.017251685,
0.0045296885,
-0.0018079511,
-0.01009089,
0.04625365,
0.0060993824,
-0.022185009,
-0.003174893,
0.040572856,
-0.067571595,
-0.052263338,
0.008139985,
0.00660019,
-0.0048660515,
0.029689642,
-0.0067010988,
-0.009971295,
0.026565203,
0.019165216,
-0.03812114,
0.024502177,
-0.010703819,
0.029883984,
-0.028478734,
-0.025369246,
0.01767027,
-0.056987368,
0.03674579,
-0.005064132,
-0.011570888,
0.009485437,
-0.043114264,
-0.008708064,
-0.0064320085,
-0.05217364,
-0.0010847707,
0.0005629409,
0.019254914,
0.010262809,
-0.011981998,
-0.019673498,
0.0064245337,
-0.01879148,
-0.011496141,
0.046193853,
0.012871491,
0.02583268,
-0.02945045,
-0.041559517,
-0.0039690835,
-0.024606822,
0.018716732,
-0.006450695,
-0.00023638846,
0.0045371633,
0.026535304,
-0.0033860544,
-0.021900969,
-0.036058117,
-0.028702976,
-0.03148358,
-0.019658549,
0.0131779555,
-0.0224242,
-0.008087662,
0.03671589,
-0.019195115,
-0.03761286,
-0.009874123,
0.015577345,
-0.018462593,
0.036536496,
0.036895286,
-0.032380547,
-0.013349874,
-0.03145368,
0.037732456,
-0.059857666,
-0.0071906936,
-0.023739753,
-0.01935956,
-0.015061588,
0.035191044,
0.029390652,
-0.044758704,
-0.006364736,
-0.03904801,
0.027955504,
-0.03312802,
-0.04152962,
0.009178973,
-0.0064544324,
-0.065239474,
0.039466593,
-0.013245228,
-0.002137774,
-0.018417744,
0.01162321,
0.030526811,
0.0505292,
-0.011630685,
-0.017057342,
-0.035490036,
0.0006362867,
-0.0031468628,
0.014396337,
-0.017759968,
0.04096154,
-0.014396337,
0.025369246,
-0.04792799,
0.011077555,
-0.020316325,
-0.020705013,
0.045237087,
-0.023156725,
0.012452906,
-0.023470664,
0.03596842,
0.009007054,
-0.013835732,
-0.030377317,
0.0038868615,
-0.048167184,
-0.05020031,
0.036536496,
-0.007089785,
-0.016519161,
0.014157145,
0.0030179238,
0.05952878,
-0.03175267,
0.0074149356,
0.048675466,
0.010965434,
0.022483999,
-0.032141354,
0.016339768,
0.060545344,
-0.010113315,
0.0026647425,
0.035250843,
-0.0196436,
0.020032287,
-0.009926446,
-0.05438616,
0.02133289,
0.0082595805,
0.04326376,
0.00069188,
0.06230938,
-0.017147038,
-0.04344315,
-0.03590862,
0.0021134808,
0.03471266,
0.007314027,
0.026550254,
0.034024987,
0.04347305,
0.027791059,
0.0025414093,
0.011413918,
-0.027985403,
0.053220104,
-0.024875913,
-0.011548463,
-0.0013230279,
0.03534054,
-0.033845592,
-0.018044006,
-0.022887634,
0.03387549,
-0.030227823,
-0.022199959,
-0.00018172945,
-0.018058956,
-0.005370596,
0.055731613,
0.041559517,
0.004679183,
0.00631615,
-0.009081801,
-0.021004,
-0.05157566,
0.03737367,
0.04649284,
-0.014411286,
-0.021841172,
-0.043981332,
0.009776952,
-0.027566817,
-0.01850744,
0.082281865,
-0.025443994,
0.019030672,
0.018896127,
-0.0023470663,
0.09119175,
-0.020630265,
0.00912665,
-0.006013423,
-0.057047166,
-0.067691185,
-0.007743824,
0.007194431,
0.008610893,
0.01994259,
0.00017250284,
0.012826643,
0.015980981,
0.054625355,
0.0037149426,
-0.09424144,
0.0336961,
-0.025578538,
-0.03587872,
0.01770017,
-0.0025115104,
0.01122705,
0.023620158,
-0.011294322,
-0.012094119,
-0.0029674692,
0.024292884,
-0.018926026,
0.0019210065,
-0.06990371,
-0.017520776,
-0.03145368,
-0.0050379704,
-0.05106738,
-0.0037205487,
0.012639775,
0.041051235,
0.004940799,
0.007220593,
0.025548639,
0.024427429,
-0.029629843,
0.03677569,
-0.015622193,
0.008020389,
0.007549481,
-0.03587872,
-0.026953889,
0.009904022,
0.004395143,
-0.029286006,
-0.011810079,
0.011981998,
-0.004189588,
-0.02161693,
0.005157566,
0.028822573,
-0.011727857,
0.017894512,
-0.010972909,
0.017416129,
-0.05836272,
0.0073028146,
-0.0040550428,
-0.031035094,
0.0027189343,
0.014134721,
0.009328468,
0.054655254,
0.0031375194,
0.029883984,
0.020121982,
0.018088855,
0.020166831,
0.013088259,
-0.0054117073,
-0.03821084,
-0.02160198,
-0.029614894,
0.04741971,
0.034024987,
-0.03677569,
0.024427429,
-0.0022087838,
-0.0077587734,
-0.043801937,
-0.014358963,
-0.0046418095,
-0.0009819932,
0.0076765516,
-0.028090049,
0.004851102,
-0.032649636,
-0.03701488,
0.015816536,
-0.04401123,
-0.04577527,
0.026221365,
-0.044190627,
-0.011271899,
-0.037881948,
-0.010173112,
0.00322161,
0.039436694,
-0.016743403,
0.025488842,
0.040184166,
-0.020107033,
0.036446802,
-0.048675466,
-0.03253004,
0.003653276,
-0.0028964593,
-0.04185851,
0.009141599,
0.033576503,
0.04410093,
-0.004847365,
-0.0022928745,
-0.066016845,
-0.02753692,
0.018940974,
0.03453327,
-0.01796926,
-0.021063799,
-0.02916641,
0.026355911,
-0.0064058467,
-0.009268669,
0.00941069,
0.026176518,
0.03312802,
0.00096237194,
-0.013095734,
0.02243915,
0.02803025,
0.0014856033,
0.028987017,
0.02356036,
0.02327632,
-0.014799972,
0.0015781032,
0.030736104,
0.052113842,
0.012393109,
0.044728804,
0.016115526,
0.041439924,
-0.011256949,
-0.057376057,
-0.04102134,
0.026326012,
0.021900969,
0.036536496,
0.020361174,
-0.01909047,
-0.008364227,
-0.008521196,
-0.01234826,
-0.0005923726,
-0.015166234,
-0.0182533,
-0.0041858507,
-0.044519514,
0.031304184,
0.0021583294,
-0.050260108,
0.015091487,
0.0029861561,
0.07504632,
0.0134021975,
0.0044437293,
-0.010075941,
0.024726419,
0.03453327,
0.03148358,
0.05139627,
0.0077363495,
0.04547628,
-0.014366438,
0.050379705,
-0.020017337,
0.012946239,
0.000080878955,
-0.049542535,
-0.0073514003,
0.030646408,
-0.007915743,
-0.018133704,
-0.015240982,
-0.014426236,
0.0053220103,
-0.05752555,
0.016863,
-0.040094472,
-0.020316325,
0.011339171,
0.016937746,
-0.018851278,
0.058452416,
0.014927043,
-0.0024348944,
0.06350534,
0.045356683,
0.02578783,
0.053967576,
0.029570047,
0.021736525,
0.04966213,
0.027581766,
-0.040034674,
-0.017266635,
0.0062301904,
-0.0029487824,
0.026639951,
-0.051276673,
-0.046971224,
0.0059573627,
0.003251509,
-0.026834294,
-0.02495066,
0.007930692,
-0.0034196905,
-0.020077134,
0.026968839,
0.099742845,
0.015263406,
-0.04239669,
-0.01416462,
0.043024566,
-0.009709679,
-0.0077512986,
-0.048107386,
0.03001853,
0.005665848,
-0.025369246,
0.015368052,
-0.05731626,
0.045207188,
0.035519935,
-0.043383352,
0.00941069,
0.023096927,
0.01906057,
0.017251685,
-0.010913111,
-0.03537044,
0.024367632,
0.033516705,
0.05157566,
-0.025757931,
0.071697645,
0.031184588,
-0.055612016,
0.014254317,
0.0010305789,
-0.017520776,
-0.02438258,
-0.012482805,
0.030915499,
0.028942168,
-0.005871403,
-0.059588578,
0.001222119,
0.006805745,
-0.016982595,
-0.013790883,
-0.009328468,
0.0027114595,
-0.06120312,
-0.010203011,
-0.04120073,
0.009732103,
-0.024038743,
-0.038898513,
0.014560781,
-0.042187396,
0.2666985,
0.054027375,
0.01687795,
-0.004454941,
0.015681991,
0.035789024,
0.028987017,
0.026176518,
0.036536496,
-0.04120073,
0.0068094824,
-0.037463363,
-0.018641986,
0.01457573,
-0.02611672,
0.048705366,
-0.037852053,
0.010584223,
-0.029898934,
-0.0074822083,
-0.06338574,
0.021557132,
-0.018851278,
0.04129043,
0.023620158,
-0.00087267515,
-0.03450337,
-0.05136637,
0.021228243,
-0.04039346,
-0.0028198434,
-0.01850744,
0.067212805,
-0.018836329,
0.00967978,
0.014882195,
0.016997544,
-0.017221786,
-0.0021620668,
0.0019471681,
0.026744597,
-0.04828678,
0.019867841,
-0.00912665,
-0.021661777,
0.037224174,
-0.010217961,
0.015547446,
0.02327632,
-0.043652445,
0.019299762,
-0.032081556,
0.019793095,
-0.03312802,
-0.01991269,
0.033247616,
-0.06422291,
-0.037254073,
-0.008947256,
0.0070262495,
0.00052650156,
-0.0051725158,
0.012953714,
0.036297306,
0.0053967577,
-0.0028740352,
-0.012789269,
0.033606403,
-0.002655399,
-0.03958619,
0.040214065,
0.0017304008,
-0.0182533,
-0.025130054,
0.038659323,
-0.0005592035,
-0.010928061,
0.06338574,
0.009619982,
-0.059319485,
-0.015547446,
-0.0038083768,
0.008835135,
-0.04266578,
0.061532006,
0.022797937,
-0.059917465,
-0.010995333,
-0.007773723,
0.026610052,
0.018686835,
0.084314995,
0.041559517,
0.04428032,
-0.00020567197
] |
In our example, we will take a couple of arguments of the ResNet class that we might want to tweak. Different
configurations will then give us the different types of ResNets that are possible. We then just store those arguments,
after checking the validity of a few of them.
thon
from transformers import PretrainedConfig
from typing import List
class ResnetConfig(PretrainedConfig):
model_type = "resnet"
def __init__(
self,
block_type="bottleneck",
layers: List[int] = [3, 4, 6, 3],
num_classes: int = 1000,
input_channels: int = 3,
cardinality: int = 1,
base_width: int = 64,
stem_width: int = 64,
stem_type: str = "",
avg_down: bool = False,
**kwargs,
):
if block_type not in ["basic", "bottleneck"]:
raise ValueError(f"`block_type` must be 'basic' or bottleneck', got {block_type}.")
if stem_type not in ["", "deep", "deep-tiered"]:
raise ValueError(f"`stem_type` must be '', 'deep' or 'deep-tiered', got {stem_type}.") |
[
0.01929337,
0.0037160742,
-0.018954372,
-0.08348178,
0.020973617,
0.008467564,
-0.018409029,
-0.0100299,
0.0036386943,
0.061609082,
0.051616028,
-0.0032904851,
0.038999435,
-0.06028257,
0.01868907,
0.05176342,
0.013729393,
-0.019308109,
-0.07522793,
0.0045543555,
-0.0073252902,
-0.018806983,
-0.08071084,
-0.058838148,
-0.06337776,
-0.015372792,
0.009639315,
-0.03289748,
0.05477018,
0.036700148,
-0.032985914,
-0.010943718,
0.012240752,
-0.011879646,
-0.03590424,
-0.021062052,
0.010052008,
-0.02691344,
-0.03472512,
-0.036140066,
0.015534922,
-0.058690757,
0.041534543,
-0.0598404,
-0.0023637696,
0.0039905882,
0.029684376,
-0.019529194,
-0.00014462658,
-0.061726995,
0.011437476,
0.024687849,
0.006308298,
0.021710569,
-0.018409029,
-0.015991831,
-0.020295624,
0.001061209,
-0.06791738,
0.0070820968,
0.014687428,
0.012859791,
-0.012822943,
-0.049847346,
-0.0019492346,
0.026633399,
-0.0061682775,
0.021548439,
-0.0015991831,
-0.02452572,
-0.016846694,
0.0034249786,
-0.013803087,
-0.01734782,
0.030804541,
0.02362664,
0.051380206,
0.008401238,
0.008555998,
0.03708336,
-0.027694609,
0.05373845,
-0.006879435,
-0.0035097278,
-0.026589183,
-0.008312805,
0.06880172,
-0.022079043,
-0.008135936,
-0.048108146,
-0.009005538,
0.028505255,
0.002072674,
0.04174089,
0.02526267,
0.019308109,
-0.035167288,
0.039913252,
-0.012528162,
-0.030450804,
0.020295624,
0.10741794,
-0.023656119,
0.028328387,
-0.02557219,
0.0117248865,
0.00025655096,
0.0065293834,
-0.021725308,
-0.046162594,
0.011039522,
-0.000018078323,
-0.007026825,
0.014473712,
0.022963384,
0.022668604,
-0.022255912,
0.040886026,
-0.0661487,
-0.020988356,
0.016566653,
-0.007944329,
-0.03472512,
-0.05760007,
0.012926116,
-0.014768492,
0.007041564,
0.047341716,
0.016271872,
-0.026279664,
0.030804541,
-0.017893163,
0.0200598,
0.05577243,
-0.004664898,
-0.01988293,
0.007498474,
0.01839429,
0.03487251,
-0.0535321,
0.008887626,
0.0010179132,
0.023656119,
0.07623018,
0.014540038,
-0.0052139265,
-0.00031688882,
-0.082538486,
-0.04639842,
0.010575243,
0.0018294802,
-0.039087866,
-0.0011376677,
0.026589183,
-0.020693576,
-0.0034673533,
-0.048078667,
0.0006024572,
0.015593877,
0.004414335,
0.0020302993,
-0.00022856987,
-0.03050976,
0.052618284,
-0.005549239,
0.04144611,
-0.02017771,
-0.0010087013,
-0.017392037,
-0.038704652,
0.0071299984,
-0.031954184,
-0.040856548,
-0.032779567,
0.046870068,
0.056774683,
0.040060643,
0.017274125,
0.0038984693,
-0.03428295,
-0.010015161,
0.006868381,
0.010155181,
0.019352326,
-0.022698082,
-0.020221928,
0.0061977557,
0.022211695,
-0.0091013415,
0.0013375656,
0.007612701,
0.032779567,
-0.02676605,
-0.022403302,
-0.054033227,
0.0034599837,
-0.023051819,
0.025174238,
-0.018143727,
-0.0028335755,
-0.018423768,
0.011349041,
-0.018217422,
0.01867433,
-0.041829325,
-0.015785486,
-0.039146822,
0.023096036,
0.012329185,
0.018762765,
0.053885836,
0.028151518,
-0.02826943,
0.013508307,
0.024805762,
-0.022801256,
-0.023700336,
-0.014171562,
-0.017318342,
-0.013206157,
0.03142358,
-0.0049523087,
0.059722487,
-0.013132462,
-0.002796728,
0.018070033,
0.039824817,
0.048343968,
0.0043259007,
0.025763799,
-0.00042766173,
0.014495821,
0.036257975,
0.040738635,
0.007387931,
-0.006179332,
0.03428295,
0.0070673577,
0.016463479,
0.015800225,
0.010280463,
0.008622323,
-0.018173205,
0.06190386,
-0.009816184,
-0.013324069,
-0.027768303,
-0.018320596,
-0.0057703243,
-0.0036221128,
-0.06272925,
0.058720235,
0.025498495,
-0.014628472,
-0.025719581,
-0.008106458,
-0.013324069,
0.0024669426,
-0.0188512,
-0.008998169,
0.0481671,
0.011017414,
-0.01808477,
-0.02782726,
0.01855642,
0.041652456,
0.041092373,
0.027576696,
-0.011201651,
-0.051822376,
-0.021799002,
-0.049110398,
-0.087726615,
-0.014245258,
-0.008946582,
0.02138631,
0.021047313,
-0.03855726,
0.020443013,
-0.015667573,
0.024098288,
0.0013145359,
-0.01391363,
0.034017645,
0.041917756,
0.040886026,
-0.05432801,
0.022653865,
-0.031482536,
-0.0028630537,
0.011643821,
-0.026058577,
0.015343314,
-0.01541701,
0.002575643,
0.0027064516,
0.022521215,
-0.015041164,
-0.05966353,
0.023567684,
-0.04636894,
-0.008275957,
-0.008614954,
0.06443897,
-0.020280885,
0.0364938,
-0.017244646,
-0.02990546,
0.044629738,
0.0071779,
-0.0034120819,
0.055064958,
0.016080266,
-0.0005306045,
-0.013493568,
0.010589982,
0.050967515,
0.010118334,
-0.024216201,
-0.03997221,
-0.014105237,
0.0065146443,
-0.016714042,
0.02050197,
-0.013419873,
0.05774746,
-0.012535532,
-0.08200788,
-0.033428084,
-0.020266145,
0.005283937,
0.021003095,
-0.0038911,
0.013633588,
-0.0054423814,
0.0011993874,
-0.042890534,
-0.019706063,
-0.031040365,
-0.021961132,
0.025041586,
0.0031523067,
0.01927863,
0.03021498,
-0.01899859,
-0.009528773,
0.014341061,
-0.06567705,
0.006628872,
-0.01916072,
0.018335335,
0.0008134094,
0.001500616,
0.011584866,
0.011636452,
0.062434465,
-0.00867391,
-0.002699082,
-0.016964605,
-0.009020277,
0.04908092,
0.034371383,
-0.027105048,
0.0047238544,
-0.0440107,
-0.006912598,
0.009705641,
0.042094626,
0.049611524,
-0.04890405,
0.037879266,
-0.018659592,
-0.011385889,
0.03183627,
-0.011024783,
-0.059899356,
0.021946393,
0.052824628,
0.011157434,
-0.010965827,
-0.020634621,
0.016684564,
0.002630914,
0.055713475,
0.036375888,
-0.00039956547,
-0.023980377,
-0.038645696,
-0.036022153,
0.018733287,
-0.006179332,
0.0035042008,
-0.008651801,
-0.02212326,
-0.029374857,
-0.045130864,
0.017731035,
0.042124104,
0.04471817,
0.031777315,
0.04863875,
0.040443856,
-0.027768303,
0.028136779,
-0.041829325,
0.0012261018,
-0.05099699,
0.023007601,
0.049405176,
-0.021076791,
-0.0051991874,
-0.060164656,
0.006761523,
0.0038653065,
-0.041210286,
0.0057703243,
-0.008651801,
-0.037613966,
-0.016168699,
0.03216053,
-0.06697408,
-0.030097067,
-0.062316556,
0.03832144,
0.03289748,
-0.04813762,
-0.024304636,
-0.050908558,
0.014879036,
0.032337397,
0.0056450428,
-0.0535321,
-0.01091424,
0.019735541,
-0.039441604,
0.035963196,
0.037053883,
-0.055389218,
-0.021356832,
-0.058513887,
-0.03183627,
0.02302234,
0.010250985,
-0.0013790191,
0.012756617,
-0.0044217044,
0.0044990843,
0.039058387,
-0.034577727,
-0.016551914,
0.052264545,
-0.02902112,
-0.028755818,
-0.02513002,
0.021415789,
-0.020207189,
0.01631609,
0.0063009285,
-0.0009036858,
0.015800225,
0.007900112,
-0.015800225,
0.03454825,
-0.044158086,
-0.024452025,
0.03799718,
0.013279852,
-0.03366391,
0.04297897,
0.025321627,
-0.033781823,
-0.008629693,
0.027488261,
-0.020619882,
0.028092561,
-0.015534922,
0.0072958125,
-0.008659171,
-0.010752111,
0.025896449,
-0.046781633,
0.08371761,
-0.0023582424,
-0.00049053284,
0.022196956,
-0.03549155,
-0.014842188,
0.020074539,
-0.03363443,
0.020899924,
-0.008784452,
0.0073584532,
0.000748005,
0.025159499,
-0.013272483,
-0.027635653,
-0.001540227,
0.026530227,
0.014709537,
0.02241804,
0.032926958,
-0.022919169,
-0.018497463,
0.0043037925,
-0.021769525,
0.028770557,
0.009595099,
0.0043259007,
-0.0074911043,
0.015549661,
-0.0025922242,
-0.03773188,
-0.005873497,
-0.015240141,
-0.0019179143,
-0.01690565,
0.027164005,
-0.009550882,
-0.020221928,
0.021017835,
-0.0034673533,
-0.035933718,
-0.038409874,
0.017111996,
-0.009396122,
0.04577938,
0.05055482,
-0.019794496,
-0.055566084,
-0.027326133,
0.02543954,
-0.06302403,
-0.0101035945,
-0.029301161,
-0.020236667,
-0.014871666,
0.04580886,
0.02841682,
-0.032661658,
-0.003618428,
-0.011835429,
0.005530815,
-0.059604574,
-0.007907481,
-0.009079233,
0.011260607,
-0.014105237,
0.020295624,
0.005552924,
0.0011717516,
-0.009057124,
0.0047975495,
0.029595941,
0.031099321,
-0.015726529,
-0.0105383955,
0.003916893,
0.0015098278,
0.009911987,
0.04380435,
-0.013626219,
0.04115133,
-0.0018819879,
0.0311288,
-0.0013790191,
0.009219253,
-0.026309142,
-0.0013513834,
0.04144611,
-0.027886216,
0.04784284,
-0.009749859,
0.01793738,
-0.011680669,
-0.02243278,
-0.0326027,
0.006264081,
-0.030244458,
-0.026014362,
0.026058577,
-0.04070916,
-0.019529194,
-0.0087328665,
0.01375887,
0.047223803,
-0.038174048,
-0.0043480094,
0.0661487,
0.02633862,
0.028239952,
-0.017274125,
0.028372603,
0.01271977,
-0.012483945,
-0.0024190408,
0.031217232,
-0.022963384,
-0.0052323504,
0.008651801,
-0.043922264,
0.00867391,
0.029890722,
0.030008635,
0.00029984684,
0.031305667,
0.011577496,
-0.010744742,
-0.01705304,
0.016404523,
0.009057124,
-0.021666352,
0.025336366,
0.018143727,
-0.0031375678,
0.038704652,
0.01602131,
-0.019263892,
-0.049169354,
0.043892786,
0.016212916,
0.011842798,
-0.027001875,
0.028637905,
-0.05146864,
-0.029035859,
-0.036434844,
0.053296275,
-0.03227844,
0.008099088,
-0.0009211884,
-0.041092373,
-0.012491315,
0.063790455,
0.0415935,
-0.00076781056,
-0.025822753,
0.02962542,
-0.0042374665,
-0.031040365,
0.030008635,
0.036818057,
-0.013301961,
-0.033192262,
-0.013198787,
0.035638936,
-0.029139033,
-0.03425347,
0.0021684775,
-0.02303708,
0.032838523,
0.01809951,
-0.007387931,
0.0652054,
-0.017450994,
0.016669825,
0.0049007223,
-0.033457562,
-0.077409305,
-0.036552757,
0.011039522,
-0.023140253,
0.008010655,
-0.042065147,
0.035226244,
0.03587476,
0.060046747,
-0.002923852,
-0.063790455,
0.006776262,
-0.034165036,
-0.00837176,
0.033162784,
0.017495211,
0.019484978,
0.021636873,
0.0031209863,
-0.04651633,
0.020015582,
0.036434844,
-0.019956626,
0.0073510837,
-0.036994927,
0.02586697,
-0.0364938,
0.013685175,
-0.0052581434,
-0.012587119,
-0.0047496473,
0.028667383,
0.0061977557,
0.021165226,
-0.0030712422,
0.022314869,
-0.015136968,
0.042271495,
-0.019175459,
0.0021832166,
-0.013744131,
-0.03608111,
-0.03348704,
0.013309331,
0.011231129,
-0.040502813,
0.0019492346,
0.0135967415,
0.012034405,
0.008364391,
0.007001032,
0.027296655,
-0.008401238,
0.023361338,
-0.010265724,
0.03667067,
-0.05173394,
0.014178932,
0.0067873164,
-0.014348431,
0.01675826,
0.008555998,
-0.006761523,
0.057541113,
-0.009374013,
0.0070820968,
0.032396354,
0.022196956,
0.012822943,
0.012196534,
0.009477186,
-0.01675826,
-0.023567684,
-0.03855726,
-0.0068131094,
0.030863497,
-0.047607016,
0.03487251,
0.0020413536,
0.0016222128,
-0.032543745,
-0.0075279516,
0.00048822985,
0.03549155,
0.033369128,
-0.0014904828,
-0.025675364,
-0.048786137,
-0.023656119,
-0.00017928629,
-0.057953805,
-0.034223992,
0.03472512,
-0.05760007,
0.007214748,
-0.015063273,
-0.00064298953,
0.024997368,
0.03204262,
0.011599605,
0.035403114,
0.011076369,
-0.014422126,
0.008924473,
-0.04486556,
-0.029743332,
0.01674352,
0.01914598,
-0.054799657,
-0.032985914,
0.030539239,
0.027841998,
-0.027281916,
-0.009027647,
-0.011525909,
-0.014002064,
-0.004222728,
0.044099133,
-0.03587476,
-0.0072810734,
-0.019234413,
0.006665719,
-0.002938591,
0.013228266,
-0.009093972,
0.05055482,
0.027871476,
0.008253848,
0.00299202,
0.031187754,
0.01389889,
-0.010250985,
0.009624576,
0.014886404,
0.025056325,
-0.006746784,
-0.013869413,
0.008290696,
0.028092561,
0.04648685,
0.037024405,
0.017170953,
0.020575665,
0.021283137,
-0.01988293,
-0.027561957,
0.035550505,
0.03784979,
0.004908092,
0.008327544,
0.0117248865,
0.02260965,
-0.010781589,
0.0046906914,
0.02140105,
0.004963363,
-0.019823974,
-0.012800834,
-0.013862044,
0.035432592,
-0.01675826,
-0.06591287,
0.005191818,
0.0071779,
0.033457562,
0.032366876,
-0.00032172506,
-0.009035016,
0.025690103,
0.038233005,
0.033369128,
0.00957299,
-0.008010655,
0.03773188,
0.009705641,
0.045956247,
-0.037879266,
-0.0014038911,
-0.019853452,
-0.082361616,
-0.02035458,
0.033192262,
0.0010842388,
-0.02303708,
-0.007163161,
-0.013331438,
-0.02840208,
-0.067091994,
0.020885184,
-0.06550018,
0.0152843585,
0.03440086,
-0.010479439,
-0.022786517,
0.04863875,
0.008342282,
-0.0018700125,
0.026309142,
0.014252627,
0.03443034,
0.057039987,
0.036464322,
-0.0040790224,
0.057806417,
0.016876172,
-0.052470893,
-0.019543933,
0.042507317,
-0.045661468,
-0.018453246,
-0.05777694,
-0.049110398,
0.018630115,
0.01929337,
-0.057482157,
-0.021489484,
0.015328575,
0.023258165,
-0.036287453,
0.0056745205,
0.06579496,
0.00927084,
-0.016183438,
0.017318342,
0.019190198,
-0.0391763,
-0.060665783,
-0.05521235,
-0.009042385,
-0.0061867014,
-0.00037722665,
-0.0013311172,
-0.04648685,
0.014613733,
-0.010840545,
-0.008872887,
0.030391848,
0.015814962,
0.010110964,
0.05432801,
-0.022079043,
-0.03902891,
-0.020295624,
0.01091424,
0.05026004,
0.00008601597,
0.06697408,
0.06426211,
-0.011695408,
-0.009536142,
0.018748026,
-0.0052544586,
-0.019411283,
-0.051232815,
-0.0027690923,
-0.010671047,
-0.0030196556,
-0.08200788,
-0.024466764,
0.0008097246,
-0.00009413394,
0.007328975,
-0.008541259,
-0.0050038956,
-0.06355463,
-0.003681069,
-0.05724633,
0.018025815,
-0.015873918,
-0.036729626,
0.02302234,
-0.024319375,
0.25846335,
0.034194514,
0.03440086,
0.020384056,
0.046192072,
0.052706715,
0.038616218,
0.023656119,
0.023774032,
-0.084601946,
0.014385278,
-0.025306888,
-0.0041785105,
0.025601668,
-0.043922264,
0.07776304,
-0.04577938,
0.007612701,
-0.036464322,
-0.028991641,
-0.05942771,
0.018836461,
-0.031924706,
0.06927337,
0.006459373,
-0.00149601,
-0.037053883,
-0.041799847,
0.004160087,
-0.05668625,
-0.0006793765,
-0.019028068,
0.029463291,
-0.014252627,
-0.011245868,
0.0049891565,
0.023479251,
-0.03590424,
0.0120933615,
0.0046906914,
0.019499717,
-0.049876824,
0.018969111,
0.011385889,
0.0128450515,
0.048432402,
-0.014856927,
0.0044769756,
0.042566273,
-0.02543954,
0.040502813,
-0.044659216,
-0.010656307,
-0.034813553,
-0.045956247,
0.015785486,
-0.05624408,
-0.04931674,
-0.0017981598,
-0.014068389,
0.013154571,
-0.0020616197,
-0.05904449,
0.068271115,
-0.018512202,
0.0018073716,
-0.023508728,
0.04863875,
0.009116081,
-0.018070033,
0.020708315,
0.0004214437,
-0.02840208,
-0.049729437,
0.031010887,
-0.010707894,
-0.044924516,
0.026309142,
-0.00039634132,
-0.042153582,
-0.006628872,
-0.018939633,
0.028004128,
-0.00362764,
0.020516708,
0.040266987,
-0.0601057,
-0.030023374,
0.016345568,
0.017672079,
0.0059177144,
0.062611334,
0.0049007223,
0.046987977,
0.010884763
] |
Building custom models
The 🤗 Transformers library is designed to be easily extensible. Every model is fully coded in a given subfolder
of the repository with no abstraction, so you can easily copy a modeling file and tweak it to your needs.
If you are writing a brand new model, it might be easier to start from scratch. In this tutorial, we will show you
how to write a custom model and its configuration so it can be used inside Transformers, and how you can share it
with the community (with the code it relies on) so that anyone can use it, even if it's not present in the 🤗
Transformers library. We'll see how to build upon transformers and extend the framework with your hooks and
custom code.
We will illustrate all of this on a ResNet model, by wrapping the ResNet class of the
timm library into a [PreTrainedModel].
Writing a custom configuration
Before we dive into the model, let's first write its configuration. The configuration of a model is an object that
will contain all the necessary information to build the model. As we will see in the next section, the model can only
take a config to be initialized, so we really need that object to be as complete as possible. |
[
0.027305827,
0.016913846,
-0.014140261,
-0.031734962,
-0.01750153,
-0.0026230793,
-0.014383935,
-0.021299979,
-0.031591624,
0.096838936,
0.016612837,
0.013860753,
0.05120022,
-0.037497137,
0.018232552,
0.016756175,
-0.012090533,
-0.041481923,
-0.07115282,
-0.0029312554,
0.013968256,
0.0058015925,
-0.05489833,
-0.061692536,
-0.05292027,
0.0016636129,
0.0116390195,
0.012047532,
0.061463196,
0.029584896,
-0.010277311,
0.0011655145,
-0.0020336031,
-0.029814236,
-0.018203884,
-0.011058502,
-0.0029993409,
-0.04059323,
-0.045782052,
-0.042141277,
0.04128125,
-0.025356434,
0.027090821,
-0.03686645,
-0.009381451,
-0.010112473,
0.019235916,
0.0036766115,
-0.018992241,
-0.030272916,
-0.031362284,
0.005084904,
0.012312707,
-0.004547388,
-0.018232552,
-0.01662717,
-0.018762901,
-0.033426344,
-0.05859644,
0.007467893,
0.027606836,
0.023951726,
-0.0068802084,
-0.07608364,
-0.0019977689,
0.027248492,
-0.014448438,
0.017859874,
-0.042169943,
-0.014706446,
-0.0068479576,
0.0027574585,
-0.0054468317,
-0.012169369,
0.013115398,
0.07424892,
0.029642232,
0.003217931,
0.0043753823,
0.048218794,
-0.002465408,
0.05466899,
0.0053715794,
0.010477984,
-0.025901118,
-0.032480318,
0.017544532,
-0.0024636162,
-0.034487046,
-0.03944653,
-0.012248204,
0.034028362,
-0.036092427,
0.040564563,
0.0006123206,
0.023536047,
-0.017716536,
0.022833692,
-0.010026471,
-0.011252007,
0.008292085,
0.10154041,
-0.021658322,
0.016569836,
-0.024138065,
0.00041388752,
-0.010950998,
0.012570714,
-0.0451227,
0.022489682,
0.00014557733,
-0.004475719,
0.013208567,
0.0019010159,
0.025270432,
-0.002669664,
-0.022188673,
-0.010126807,
-0.055987697,
0.00025778386,
-0.012219537,
-0.003551191,
-0.004500803,
-0.05002485,
-0.031562954,
-0.05011085,
-0.0003003372,
0.03875851,
-0.03617843,
-0.045552712,
0.027291493,
-0.04546671,
0.016326161,
0.046326738,
0.020196278,
-0.02138598,
-0.03434371,
0.0037518637,
0.047043424,
-0.027305827,
0.001393063,
-0.00945312,
0.021658322,
0.09838698,
-0.003255557,
-0.029083215,
0.007120299,
-0.059055123,
-0.01803188,
-0.02408073,
-0.037697807,
-0.008034077,
-0.034859724,
0.0045043863,
-0.02849553,
-0.0008524112,
-0.0341717,
0.011975863,
-0.016010819,
0.0021142308,
-0.009546289,
-0.010879329,
-0.029756902,
0.04870614,
-0.04360332,
0.03861517,
-0.014025591,
-0.028208854,
-0.014183263,
-0.023364041,
0.00036237555,
-0.04801812,
-0.008851102,
0.010649989,
0.016541168,
-0.0007852217,
0.057421073,
0.03207897,
-0.003787698,
-0.019880936,
-0.005285577,
-0.01177519,
0.023607714,
0.019192915,
-0.0075538955,
-0.02069796,
0.018361555,
-0.008865436,
-0.011395345,
0.01635483,
0.02888254,
0.029355556,
-0.014405436,
-0.00031175945,
-0.036694445,
-0.011560183,
-0.02065496,
-0.013882254,
-0.021142308,
-0.022246007,
-0.042599957,
0.028008182,
-0.05894045,
0.018476225,
-0.031304948,
-0.024138065,
-0.0099118,
0.039360527,
0.006185021,
-0.003153429,
0.037239127,
0.014864117,
-0.0024188233,
0.028409528,
0.02157232,
-0.0044649686,
-0.033655684,
-0.0024188233,
0.047645442,
-0.038013153,
0.051486894,
0.010635655,
0.05699106,
0.004970234,
-0.0021052721,
0.003422187,
-0.006113352,
0.061463196,
0.029670898,
0.052547593,
-0.0003229577,
-0.00802691,
0.00015610369,
0.06708203,
0.01925025,
-0.0066293674,
0.048677474,
0.041338585,
0.014391103,
0.0062566893,
0.0056797555,
0.0014736905,
0.01947959,
0.03643644,
0.017114518,
-0.00860026,
-0.035547744,
-0.019379254,
-0.026646474,
-0.00484123,
-0.035863087,
0.0483908,
0.019192915,
-0.016541168,
-0.014720779,
-0.018734233,
0.014434104,
0.037726477,
-0.044205338,
0.004676392,
0.0417686,
-0.011846859,
-0.009137777,
-0.028481197,
0.035203733,
0.027119488,
0.04044989,
0.029842904,
0.0076685655,
-0.047416102,
-0.016541168,
-0.03104694,
-0.04979551,
-0.021084972,
-0.032652322,
0.00014165793,
0.012384376,
-0.028624533,
0.010076638,
-0.014735113,
0.0067691216,
0.029928906,
-0.015251129,
0.05793709,
0.019895269,
0.0003390832,
-0.032594986,
-0.0006463633,
-0.018060546,
0.021944998,
-0.0054790825,
-0.01685651,
0.023564713,
-0.0352324,
0.0050634034,
0.016784841,
0.008292085,
-0.012771387,
-0.036551107,
0.031104276,
-0.04500803,
-0.008707764,
-0.01285739,
0.01421193,
-0.025213096,
0.03012958,
-0.010391981,
-0.027176823,
0.049508832,
0.04280063,
-0.0006118727,
0.025671778,
0.017028516,
-0.0015005663,
-0.024209734,
0.049222156,
0.046670746,
-0.0067440374,
-0.037296463,
-0.034515712,
-0.006908876,
-0.006324775,
-0.013058062,
-0.014670611,
0.0022432345,
0.076943666,
-0.015623807,
-0.040249217,
0.010728825,
-0.041252583,
-0.033369012,
-0.013968256,
0.0062172716,
0.03442971,
0.02279069,
0.031935632,
-0.037468467,
-0.015910482,
-0.008220416,
0.037267797,
0.021629656,
-0.015566471,
0.055013,
0.043115973,
-0.009173611,
-0.022303343,
0.028753538,
-0.031734962,
0.006324775,
0.006493197,
0.042829297,
0.038873177,
0.03385636,
0.018003212,
-0.0048878146,
0.018734233,
-0.019780599,
0.022805024,
0.013158399,
0.005410997,
0.02899721,
-0.004282213,
-0.014670611,
0.02320637,
-0.034229036,
-0.026015788,
-0.008714931,
0.045438044,
0.02594412,
-0.06455929,
0.02548544,
0.018347222,
0.0055579185,
-0.0060309325,
0.03256632,
-0.014462772,
0.024510743,
0.063412584,
0.037239127,
-0.026488801,
-0.00956779,
0.013631413,
-0.011416846,
0.030874936,
0.074592926,
0.013953922,
-0.009510455,
-0.005296327,
-0.06432995,
-0.032967664,
0.0045617213,
-0.020267947,
0.013681581,
-0.013588412,
-0.02663214,
-0.076370314,
-0.004142459,
0.027907845,
0.029355556,
0.002497659,
0.031906966,
-0.009066108,
-0.011316509,
0.04721543,
-0.029871572,
0.00214469,
-0.06071784,
0.05684772,
0.039733205,
0.008342253,
-0.027750174,
-0.04093724,
0.0071633,
-0.018934907,
-0.025585774,
0.016541168,
-0.017544532,
-0.037411135,
-0.03511773,
0.047616776,
-0.033827692,
-0.048304796,
-0.02099897,
0.033426344,
0.027463498,
-0.052719597,
-0.016541168,
-0.037697807,
0.0114096785,
0.032050304,
-0.018074881,
-0.02888254,
-0.001457565,
-0.0014029174,
-0.030387588,
0.032279644,
0.032939,
-0.03162029,
-0.0318783,
-0.041453257,
-0.010277311,
-0.008872602,
-0.0022450264,
-0.006357026,
0.005873261,
-0.0040421225,
0.00058186136,
0.022661686,
-0.00039910583,
-0.038529165,
0.014183263,
0.005045486,
-0.013187066,
-0.047846116,
0.015996484,
-0.005041903,
-0.013380572,
0.02838086,
0.028524198,
0.0013187067,
-0.029957574,
-0.0041711265,
0.047272764,
-0.034687717,
-0.054009635,
0.02571478,
0.018547894,
-0.0055686687,
0.03141962,
-0.0040170383,
-0.013824918,
0.02431007,
0.024611078,
-0.025858117,
0.01639783,
-0.007840571,
0.023579048,
-0.00968246,
-0.019751932,
0.012491878,
-0.051830903,
0.028896876,
-0.0069303764,
-0.0039238688,
0.038529165,
-0.037382465,
-0.020482954,
-0.013538243,
-0.03766914,
0.026417134,
0.0059628473,
0.002331029,
0.022876693,
-0.022346344,
-0.0067583714,
-0.02279069,
-0.04047856,
0.00472656,
0.05257626,
0.014821116,
0.03649377,
-0.050311524,
-0.055299673,
0.0005661838,
-0.03987654,
0.037869815,
0.009668126,
0.004859147,
-0.027535167,
0.011445513,
-0.008428255,
-0.025614442,
-0.037153125,
-0.016268825,
-0.0057765082,
0.0015561096,
0.0005746945,
-0.01715752,
-0.012542047,
0.02571478,
-0.017716536,
-0.06283924,
0.005815926,
0.017071517,
-0.004443468,
0.036321767,
0.043087304,
-0.04893548,
-0.036551107,
-0.01821822,
0.03480239,
-0.04604006,
0.0024349487,
-0.033770356,
-0.026431467,
-0.01200453,
0.032939,
0.015351465,
-0.03927452,
0.0034974392,
-0.030444922,
-0.004905732,
-0.047674112,
-0.008944271,
-0.0118253585,
0.0132229,
-0.03162029,
0.0064430283,
-0.017229188,
-0.010098139,
-0.020640625,
0.018390223,
0.016670171,
0.022805024,
-0.020912968,
-0.004421967,
-0.013480908,
-0.0001360588,
-0.026761144,
0.031247614,
-0.004056456,
0.061348524,
0.0027628336,
0.041567925,
-0.04151059,
0.012405876,
-0.035289735,
-0.010169808,
0.05034019,
-0.0073747234,
0.020712294,
-0.0065182806,
0.027764509,
0.0115386825,
0.014054259,
-0.047502104,
-0.012391542,
-0.014806782,
-0.07069414,
0.03827116,
-0.015007455,
-0.035203733,
-0.01057832,
0.0038020317,
0.03580575,
-0.014763781,
0.028796539,
0.063871264,
0.015609473,
0.0008564426,
-0.050856207,
0.018533561,
0.008786599,
0.019278917,
0.006414361,
0.0014477106,
-0.009395785,
0.0015829854,
-0.025514105,
-0.06605,
0.0010821994,
-0.009173611,
0.02396606,
-0.005385913,
0.057650413,
-0.028710537,
-0.026904482,
-0.003422187,
0.0120977,
0.037984483,
0.0029652982,
0.021142308,
0.024797417,
0.045638714,
0.023149034,
0.0063426923,
-0.011330843,
-0.026761144,
0.029584896,
-0.022805024,
-0.018404558,
0.023478711,
0.048304796,
-0.026302462,
-0.05002485,
-0.021873329,
0.028165853,
-0.03162029,
-0.0071883844,
0.0048053954,
-0.016684506,
0.004077957,
0.041453257,
0.042886633,
0.010499485,
-0.007120299,
-0.0010266561,
-0.025542773,
-0.03371302,
0.008714931,
0.045036696,
-0.023077365,
-0.054496985,
-0.050168186,
0.005758591,
-0.037611805,
-0.021357313,
0.043574654,
-0.02343571,
0.0340857,
0.016670171,
0.008937104,
0.09987769,
-0.0070020454,
0.012821555,
-0.0009451328,
-0.03279566,
-0.10240044,
-0.031820964,
0.005328578,
0.008148747,
0.03488839,
-0.018318554,
0.014577442,
0.025571441,
0.04345998,
-0.0019852268,
-0.079122394,
0.024095064,
-0.040793903,
-0.030616928,
0.01143118,
0.020482954,
-0.0015417759,
0.037038457,
0.008628928,
-0.028667536,
0.0154088,
0.0308176,
-0.0051386557,
-0.0114240125,
-0.06685269,
-0.005213908,
-0.061979212,
-0.007113132,
-0.019508258,
-0.010434982,
0.012391542,
0.025786448,
-0.00692321,
0.011123003,
0.027148155,
0.018762901,
-0.02621646,
0.024439074,
0.0021715658,
0.023507379,
-0.0048197294,
-0.022045335,
-0.022661686,
0.013015061,
0.026689475,
-0.040306553,
-0.019006576,
0.020382617,
0.013394905,
-0.0012542047,
-0.008535759,
0.035318404,
0.014262099,
0.0068264566,
-0.014004091,
0.016096821,
-0.050053515,
0.018590897,
-0.0076112305,
-0.039245855,
0.004432718,
0.028982878,
-0.0016842177,
0.052260917,
-0.009230946,
0.00049720256,
0.018117882,
0.0011395345,
-0.009574956,
-0.017257856,
-0.0056260037,
-0.055987697,
-0.018633898,
-0.03904518,
0.02035395,
0.04873481,
-0.052633595,
0.03070293,
-0.026918815,
-0.016799176,
-0.03987654,
-0.004128125,
0.04136725,
0.035691082,
0.002517368,
-0.05011085,
-0.020970302,
-0.03431504,
-0.03709579,
-0.014383935,
-0.03907385,
-0.011510015,
0.037038457,
-0.045380708,
-0.014878451,
-0.02911188,
0.014197596,
0.040048547,
0.05079887,
-0.023937391,
0.006908876,
0.035433073,
-0.01593915,
0.010965332,
-0.058883116,
-0.058281098,
0.009632291,
0.006959044,
-0.052002907,
-0.009574956,
0.010499485,
0.04887815,
0.017028516,
-0.0035977757,
-0.06524731,
-0.035519075,
0.026718143,
0.040105883,
-0.040793903,
-0.007274387,
-0.027635504,
0.008263417,
-0.009467454,
-0.027305827,
-0.010055138,
0.029642232,
0.029470226,
0.02191633,
-0.004020622,
0.01727219,
0.029470226,
-0.014512939,
0.019092578,
0.027563835,
0.028237522,
0.0021643988,
0.015093457,
-0.014620443,
0.053464953,
0.032996334,
0.02377972,
-0.012391542,
0.031448286,
0.0012461419,
-0.030645594,
-0.03162029,
0.0352324,
0.027492166,
0.015036122,
0.023794053,
-0.036837783,
-0.014484272,
0.0069697946,
-0.022532683,
-0.0013402073,
-0.01090083,
-0.02274769,
-0.024439074,
-0.013609912,
0.03827116,
-0.01253488,
-0.059456468,
0.027993849,
0.0022808607,
0.07052214,
0.033111002,
-0.0030387586,
0.007217052,
0.034515712,
0.035318404,
0.029642232,
0.03712446,
-0.00065890537,
0.026990484,
0.010907997,
0.06186454,
-0.029842904,
-0.005873261,
-0.016541168,
-0.044377346,
-0.015251129,
0.029326888,
-0.0066616186,
-0.0059807645,
0.0019458089,
0.010126807,
-0.029355556,
-0.06954744,
0.015752811,
-0.037755143,
0.005461165,
0.024869086,
-0.00021814203,
-0.010700158,
0.062208552,
0.017229188,
0.011158838,
0.05593036,
0.064501956,
0.032365646,
0.08502791,
0.010829161,
0.0038056152,
0.058195096,
0.0038665337,
-0.04383266,
-0.026531804,
-0.009324116,
-0.010112473,
0.009961968,
-0.05120022,
-0.07757435,
0.014964453,
0.01506479,
-0.038701173,
-0.017028516,
0.041653927,
-0.0047803116,
-0.01833289,
-0.00055453763,
0.096208245,
0.05337895,
-0.039360527,
0.0059628473,
0.043201976,
-0.024482075,
-0.0051959907,
-0.069948785,
0.03291033,
0.014498605,
-0.0027789592,
0.024281401,
-0.045982726,
0.017300857,
0.021815995,
-0.02773584,
-0.0033021418,
0.014677778,
0.02911188,
0.04036389,
-0.003981204,
-0.05524234,
-0.010485151,
0.040048547,
0.054812327,
-0.011990196,
0.08743598,
0.051343556,
-0.047244098,
-0.00814158,
0.033311676,
0.009954802,
-0.010291645,
-0.0116533525,
0.012929059,
-0.016756175,
-0.028796539,
-0.081014454,
-0.010800494,
-0.0014969829,
0.011818191,
-0.02076963,
-0.0074248915,
0.0013187067,
-0.08806667,
-0.0037841145,
-0.029928906,
0.008528592,
-0.006976961,
-0.017100185,
0.0038091987,
-0.010384815,
0.24355938,
0.049164824,
0.037955817,
-0.0015874647,
0.040621895,
0.030502258,
0.032164976,
-0.001701239,
0.04429134,
-0.054095637,
-0.0035225234,
-0.015652474,
0.009696794,
0.021887664,
-0.03245165,
0.077345006,
-0.039102517,
0.033913694,
-0.05753574,
-0.019350586,
-0.07975308,
0.019737598,
-0.0176162,
0.056245703,
0.021127973,
0.011395345,
-0.0071310494,
-0.06467396,
0.028509863,
-0.048792146,
0.013609912,
-0.011237673,
0.049766842,
-0.022088336,
0.0031695543,
0.000847484,
0.0004262056,
-0.025929786,
0.010477984,
-0.002947381,
0.023163369,
-0.04417667,
0.036235765,
-0.00791224,
-0.0010060513,
0.047903452,
-0.013101064,
0.00022732459,
0.03881584,
-0.025270432,
0.016440831,
-0.022618685,
0.030788932,
-0.025356434,
-0.026388466,
0.02819452,
-0.045151368,
-0.036235765,
0.009553456,
-0.0069697946,
0.010133973,
0.016154155,
0.00825625,
0.032852996,
0.034458376,
0.0034329372,
-0.037067123,
0.01375325,
0.006797789,
-0.0055615017,
0.04896415,
0.008528592,
-0.042284615,
-0.033111002,
0.03162029,
-0.005765758,
-0.027019152,
0.044893358,
0.025815114,
-0.057593077,
-0.00009804073,
-0.03093227,
0.03477372,
-0.032365646,
0.036465105,
0.038185157,
-0.032881662,
-0.026130458,
0.010126807,
0.03503173,
0.020339616,
0.072242185,
0.0079767415,
0.041797265,
0.024940755
] |
from transformers import PreTrainedModel
from timm.models.resnet import BasicBlock, Bottleneck, ResNet
from .configuration_resnet import ResnetConfig
BLOCK_MAPPING = {"basic": BasicBlock, "bottleneck": Bottleneck}
class ResnetModel(PreTrainedModel):
config_class = ResnetConfig
def __init__(self, config):
super().__init__(config)
block_layer = BLOCK_MAPPING[config.block_type]
self.model = ResNet(
block_layer,
config.layers,
num_classes=config.num_classes,
in_chans=config.input_channels,
cardinality=config.cardinality,
base_width=config.base_width,
stem_width=config.stem_width,
stem_type=config.stem_type,
avg_down=config.avg_down,
) |
[
0.013664399,
0.015793297,
-0.040564697,
-0.02075846,
0.018677173,
0.03732714,
-0.014854678,
0.007542966,
-0.0092909755,
0.055718645,
0.0111070005,
0.025410749,
0.009665063,
-0.04880823,
-0.011705541,
0.019153284,
-0.0025727022,
-0.044319175,
-0.03912276,
-0.024186462,
0.0046182815,
0.038714666,
-0.066165894,
-0.05269874,
0.00058366166,
-0.015412409,
0.009855508,
-0.020663237,
0.06132316,
0.040211014,
0.029029196,
-0.00010053604,
0.001255744,
-0.007937458,
-0.037109487,
-0.00041383438,
0.0098487055,
-0.041272063,
-0.0056385202,
-0.0170856,
0.029029196,
0.036293298,
0.016840743,
-0.014813868,
-0.050767086,
0.00020192227,
-0.0032001492,
-0.014378566,
-0.03476974,
-0.05005972,
-0.017262442,
0.012032017,
0.022758128,
-0.0015941232,
-0.015766092,
-0.050086927,
-0.0050467816,
0.02259489,
-0.0054310714,
-0.01084854,
0.04197943,
0.01225647,
-0.024839416,
-0.028512275,
-0.00077835727,
0.01084854,
-0.0040673525,
-0.017697744,
0.013290311,
-0.0149090905,
-0.07781022,
-0.014868281,
0.02361513,
-0.0102840075,
-0.027818514,
0.0597996,
0.004302007,
-0.0013866747,
-0.031151293,
0.0005407266,
0.0158069,
0.026077306,
-0.0049311547,
0.0045332615,
0.00076602935,
-0.013521566,
0.0035776377,
-0.020595223,
-0.021574652,
-0.060833443,
-0.028593894,
0.039231583,
-0.035994027,
0.027614465,
0.031232912,
0.022826144,
0.020051094,
0.034905773,
0.04097279,
-0.030988054,
0.0095698405,
0.075252816,
-0.016051758,
0.023370272,
-0.021683477,
0.033055738,
0.016201394,
0.0060466155,
-0.0024570753,
-0.04750232,
-0.002892377,
-0.008808062,
0.00047313576,
-0.027478434,
-0.043067683,
0.034416057,
-0.013759621,
-0.016582282,
-0.040945586,
-0.009916722,
-0.006203052,
0.019765427,
0.028076973,
0.0028974784,
0.028865958,
-0.020649634,
0.06099668,
0.03561314,
-0.025274718,
-0.01832349,
0.017847378,
-0.023424685,
0.0023142418,
0.01405209,
-0.03528666,
-0.02203716,
-0.050930325,
-0.02169708,
0.018445918,
0.009345388,
0.04894426,
-0.029246848,
0.04070073,
0.06339084,
-0.011657929,
-0.0072981087,
-0.011419874,
-0.051256802,
-0.03583079,
0.010957366,
-0.0027359405,
-0.019697411,
-0.03253882,
0.019915063,
-0.048508957,
0.0016612889,
0.008121101,
-0.0031338336,
-0.03057996,
0.022826144,
0.007835435,
-0.021452222,
-0.015412409,
0.055718645,
0.02199635,
0.05501128,
-0.007937458,
0.008903285,
0.015194758,
-0.020840079,
-0.0063016755,
0.003152538,
0.038034506,
0.005318845,
0.021969143,
0.035368282,
0.05560982,
0.005274635,
0.017194426,
0.010209191,
-0.022690112,
-0.04733908,
0.043203715,
-0.011964001,
0.014432979,
0.0037170702,
0.0000028494953,
0.020908095,
0.01900365,
0.0010950564,
0.027913736,
0.043067683,
-0.03313736,
-0.0003796139,
-0.04505375,
-0.000318187,
-0.037408758,
-0.0035096216,
-0.0025233908,
-0.015548441,
-0.057351027,
0.023343066,
-0.055881884,
0.018595554,
-0.025995687,
0.045325812,
0.015834108,
0.031314533,
-0.020404777,
-0.000585362,
-0.01716722,
-0.0029110815,
-0.027709687,
-0.02147943,
0.026458194,
-0.008957697,
-0.022390842,
0.03792568,
-0.034579296,
0.03798009,
0.040591903,
0.022227604,
0.027913736,
0.031151293,
0.015983742,
-0.03381752,
-0.0018993447,
0.0397213,
0.047475114,
0.04429197,
0.006175846,
0.010583278,
-0.03340942,
0.00036409774,
0.04543464,
0.036919042,
-0.002156105,
0.01998308,
0.018690776,
0.018609157,
-0.010862143,
-0.002892377,
0.04752953,
0.025165891,
-0.02366954,
0.024961844,
0.023315858,
-0.019969476,
-0.0482641,
0.010603683,
0.0020948905,
0.032212343,
-0.014188122,
-0.0010023847,
-0.04040146,
-0.0043292134,
0.030307896,
-0.004774718,
-0.034225613,
-0.0071484735,
0.012066025,
0.003955126,
0.016024552,
-0.0010601982,
0.0422787,
0.047393497,
-0.01862276,
0.03185866,
-0.015970139,
-0.053351693,
-0.013684804,
-0.068451226,
-0.044564035,
0.008862475,
-0.010318016,
-0.06001725,
0.016650299,
-0.0439927,
0.018976443,
0.012154446,
-0.038415395,
-0.039775714,
-0.01298424,
0.080258794,
0.022676509,
0.01943895,
-0.04728467,
0.008556403,
-0.03528666,
0.0142425345,
0.008352355,
-0.02468978,
-0.021506635,
0.004693099,
-0.0104540475,
0.008515594,
0.005176012,
-0.0320219,
-0.048835434,
-0.0226357,
-0.018554743,
-0.03387193,
-0.03860584,
0.055827472,
-0.008991705,
-0.023030192,
0.0142425345,
-0.029790975,
0.035776377,
0.070192434,
-0.029246848,
0.0713351,
-0.0014453384,
0.0077062044,
0.001084854,
0.07411015,
0.03438885,
-0.013106668,
-0.031260118,
-0.015684472,
-0.049678832,
0.014705043,
0.020363968,
-0.036891837,
-0.024036828,
0.043802254,
0.006648557,
-0.026893497,
-0.003181445,
-0.034742534,
-0.029654942,
-0.0593643,
0.0028498673,
0.0465501,
0.0049515595,
0.034062374,
-0.068015926,
-0.026090909,
-0.0074409423,
0.036674187,
0.008447578,
-0.031722628,
0.024757797,
0.017452886,
-0.0025437956,
-0.012664565,
0.03634771,
-0.015058726,
0.008862475,
-0.0011460683,
0.070192434,
0.020744856,
-0.01614698,
-0.021166556,
-0.007998672,
0.024227273,
-0.009059722,
0.044781685,
-0.0076721963,
0.025492368,
0.006257465,
-0.0033276791,
0.007978268,
-0.016296616,
-0.021152953,
-0.024635367,
0.02716556,
0.014827471,
0.03177704,
-0.03613006,
0.0038735068,
-0.037163902,
-0.019126078,
-0.019466158,
-0.038252156,
-0.027233576,
0.04780159,
-0.006257465,
0.04265959,
-0.039449237,
-0.0135283675,
0.0062540644,
-0.005346052,
0.017439283,
0.03561314,
0.037653618,
0.0017267542,
0.021084936,
-0.047094226,
-0.025859654,
-0.0025318929,
-0.012093231,
-0.007162077,
-0.0026679246,
-0.0030165063,
-0.026920702,
0.04412873,
0.060343727,
0.0070668547,
-0.0021510036,
0.032783676,
-0.049297944,
0.002169708,
0.03874187,
-0.017833775,
-0.027818514,
-0.03784406,
0.025696415,
0.018255474,
-0.011515096,
-0.015235567,
0.017330458,
0.018554743,
0.019343728,
-0.03281088,
0.010005143,
-0.039313205,
-0.036510948,
0.02353351,
0.051882546,
-0.016555076,
-0.032838088,
-0.020173524,
0.008678832,
0.027913736,
-0.044210352,
-0.009943929,
-0.027356004,
0.022418048,
-0.003446707,
-0.033327803,
-0.0683424,
-0.019275714,
-0.0134195415,
-0.0075565693,
0.037191108,
0.030144658,
0.014296947,
0.00093436876,
0.0061384374,
-0.0040129395,
0.003553832,
-0.006896815,
-0.020948905,
-0.036973458,
0.0055875084,
-0.016378235,
0.024975447,
-0.0015006013,
-0.031749833,
0.0011324652,
-0.0035776377,
0.043122098,
-0.037816852,
-0.026988719,
0.0141337095,
0.036483742,
-0.027043132,
0.024118448,
0.022526875,
-0.0042816023,
-0.009977936,
0.039666887,
-0.011868779,
-0.077048436,
0.0032817684,
0.039694093,
0.0047169044,
0.024798606,
0.035313867,
-0.0042884042,
0.015752489,
0.032402787,
-0.05463039,
-0.0056147147,
-0.044047114,
-0.024839416,
-0.041027207,
-0.027451226,
0.01874519,
-0.057840742,
0.028621102,
-0.017602522,
0.001614528,
0.003737475,
-0.053542137,
0.0012395902,
-0.03057996,
0.00841357,
0.033681486,
0.019466158,
0.009773889,
-0.020663237,
-0.0062166555,
-0.015031519,
0.04758394,
-0.0422787,
0.024948241,
0.08548241,
-0.023043795,
-0.028485069,
-0.028648308,
-0.029165229,
0.027696084,
-0.043421365,
0.029110815,
0.016922362,
-0.055718645,
-0.0066145486,
-0.016677504,
-0.03860584,
-0.011725945,
0.015357995,
0.0003770633,
0.019887857,
-0.037299935,
-0.0162286,
-0.05022296,
-0.04712143,
0.035259455,
-0.08009555,
-0.04856337,
-0.0145690115,
0.043339748,
0.025057066,
0.014500995,
0.03049834,
-0.015004313,
-0.017602522,
-0.041680157,
0.02908361,
-0.04842734,
-0.03515063,
-0.041,
-0.032348372,
0.017588919,
0.015262773,
0.03822495,
-0.060887855,
-0.010229595,
-0.041408096,
-0.020187126,
-0.053623755,
-0.051719308,
0.0063322824,
0.009903119,
-0.07982349,
0.06333643,
-0.03798009,
-0.024948241,
0.027002322,
0.013487558,
-0.015303583,
0.049352355,
-0.006726775,
-0.013596383,
-0.028729927,
0.011351858,
0.0054446748,
-0.019506967,
0.009222959,
0.04616921,
-0.05479363,
0.066601194,
-0.030117452,
-0.009277372,
0.020962508,
-0.015494027,
0.028675513,
-0.055147313,
0.015861314,
0.017534506,
0.040129397,
-0.009549436,
0.020214332,
-0.019629396,
-0.02634937,
-0.036919042,
-0.08401327,
0.052943595,
-0.05794957,
0.013868447,
-0.008427173,
0.005839167,
0.07536165,
-0.039530855,
0.015534837,
0.027356004,
0.019330125,
-0.023887193,
-0.009916722,
0.025043463,
0.04578832,
0.012664565,
0.022200398,
-0.0059956037,
-0.02088089,
0.015752489,
-0.0038292964,
-0.064370275,
-0.023098208,
-0.012508129,
0.038034506,
0.0050297775,
0.03291971,
0.009671864,
-0.028294625,
-0.022322826,
-0.028811546,
0.0380073,
0.016691107,
0.020214332,
0.026771069,
0.017738553,
0.046250828,
0.0109505635,
-0.049651626,
-0.019656602,
0.053623755,
-0.019466158,
-0.051828135,
-0.022554081,
0.061867286,
0.005121599,
-0.02195554,
-0.014405773,
-0.030307896,
0.0031253318,
-0.032212343,
0.03177704,
-0.016677504,
-0.0683424,
-0.002174809,
0.011855176,
-0.057133377,
0.021778699,
0.050631054,
0.014201725,
-0.042686794,
0.018296285,
0.04578832,
-0.048046447,
-0.0015830706,
-0.00837276,
-0.0060364134,
-0.019738222,
-0.020649634,
0.03207631,
0.004019741,
0.0264854,
0.039286,
-0.005244028,
0.067580625,
-0.053025216,
0.01690876,
-0.003951725,
-0.019112475,
-0.011644326,
-0.015956536,
-0.00029841988,
0.022771731,
-0.0008042883,
-0.03515063,
0.008903285,
0.04856337,
0.019656602,
-0.029491706,
-0.08874718,
-0.025954876,
-0.022567684,
-0.087495685,
-0.024812208,
0.006760783,
0.02960053,
0.020704048,
-0.026403781,
-0.037191108,
0.025274718,
0.01465063,
0.018228268,
-0.0060194093,
-0.016310219,
-0.022431651,
0.020649634,
-0.0597996,
-0.044727273,
-0.009671864,
0.045353018,
0.016364632,
-0.0008791058,
0.016419044,
-0.017235234,
0.0044006305,
0.015262773,
-0.016541474,
-0.0134195415,
0.030035833,
-0.008161911,
0.031749833,
-4.882002e-7,
0.043639015,
0.040265426,
-0.044836096,
0.03942203,
-0.019248506,
-0.021316191,
-0.018432315,
0.022554081,
0.047638353,
-0.0028838753,
-0.011236231,
-0.0040027373,
0.040102188,
-0.016854346,
-0.0038939116,
-0.014419376,
-0.025505971,
-0.03343663,
0.045570668,
0.02447213,
0.04924353,
0.02173789,
0.02908361,
0.00005621941,
0.021506635,
-0.0073729265,
-0.007597379,
0.024948241,
-0.006070421,
0.0040605506,
-0.022921367,
0.0063390844,
0.021452222,
-0.057623092,
0.016555076,
0.013147478,
0.02054081,
-0.011453882,
0.08042203,
0.021601858,
0.04361181,
0.007406934,
-0.010896151,
0.0056487224,
0.0052644326,
-0.022948572,
-0.006288072,
-0.051066358,
-0.019874252,
0.021860318,
-0.013997678,
-0.010358825,
-0.041054413,
-0.010943762,
0.0069036162,
0.03251161,
0.0149499,
0.058711346,
-0.004682896,
0.015494027,
0.0422787,
-0.04151692,
-0.018377902,
-0.02366954,
0.031205706,
-0.040211014,
-0.03370869,
0.04502654,
0.023683146,
-0.0002822661,
-0.027492037,
-0.01592933,
-0.0037000664,
0.041244857,
-0.0029807978,
0.035939615,
0.06823357,
-0.038034506,
0.075198404,
-0.0024876825,
-0.03327339,
-0.01063769,
0.035477106,
0.0158069,
0.019602189,
0.011045787,
0.030988054,
-0.011535501,
-0.01674552,
0.009372595,
0.041952223,
0.034116786,
-0.02930126,
0.010420039,
-0.0038871102,
0.085700065,
0.020336762,
0.028213006,
0.037299935,
0.031641006,
-0.009767087,
-0.015153948,
-0.019806238,
0.024676178,
0.010916556,
0.04086397,
0.040156603,
-0.032566026,
0.01772495,
-0.010209191,
0.031967483,
0.0019707615,
-0.018173855,
-0.018813204,
-0.033545453,
-0.02375116,
-0.012358493,
-0.02088089,
-0.035477106,
-0.023179827,
-0.018976443,
0.04812807,
0.003519824,
0.003181445,
-0.020051094,
0.019030856,
0.0142425345,
-0.034878567,
0.07487193,
-0.047719974,
0.015630059,
-0.030525547,
0.036021233,
-0.006070421,
-0.0074681486,
-0.012202057,
-0.04616921,
-0.012936628,
0.0043462175,
-0.017194426,
-0.016214997,
0.011576311,
-0.016106172,
0.011807565,
-0.030552754,
0.012372097,
-0.061486397,
0.0056181154,
0.01626941,
-0.05996284,
-0.05816722,
0.036946252,
-0.033899136,
0.027274385,
0.043557398,
0.09173988,
0.0069172196,
0.07323955,
0.04505375,
0.009175348,
0.009304578,
0.029056404,
-0.04750232,
-0.012147645,
0.029464498,
-0.054929662,
0.008338752,
-0.024730591,
-0.026104512,
-0.002280234,
0.013868447,
0.028947577,
-0.026771069,
0.0367286,
0.00961065,
-0.028865958,
0.030144658,
0.07285866,
-0.011902787,
0.006097628,
0.030852024,
-0.011753152,
-0.06094227,
0.013494359,
-0.06741738,
0.012018414,
-0.0010236397,
-0.005958195,
-0.020363968,
-0.02579164,
0.008896483,
0.037517585,
-0.019711016,
-0.031967483,
0.027818514,
-0.0035334274,
-0.009161745,
0.008937293,
-0.011902787,
-0.019330125,
0.044672858,
0.021601858,
0.02900199,
0.06671002,
0.05822163,
0.0008501991,
0.020663237,
0.0115287,
0.0068151955,
-0.032049105,
-0.020295952,
0.0039347215,
-0.000905462,
0.0035776377,
-0.039775714,
-0.0041659754,
0.021588255,
-0.0064036995,
0.018105838,
-0.024200065,
0.0027053333,
-0.061867286,
0.0070056403,
-0.0106104845,
0.041489713,
-0.021792302,
0.01063769,
0.011215826,
-0.022077968,
0.2148215,
0.08178235,
0.06154081,
0.0042339913,
0.051746514,
0.04886264,
-0.020622429,
0.02421367,
-0.039694093,
-0.05269874,
0.0004969413,
-0.030199071,
0.00084339746,
-0.015861314,
0.0071552754,
0.0087944595,
-0.05049502,
-0.011895985,
0.034796946,
0.016813537,
-0.03349104,
0.004342817,
0.02113935,
-0.012773391,
0.007026045,
0.064424686,
0.02832183,
-0.03251161,
0.00054667797,
-0.030035833,
0.018554743,
-0.002421367,
0.010147976,
-0.017099204,
-0.028267419,
0.004689698,
-0.01584771,
-0.06115992,
0.008821665,
-0.012841406,
-0.012038819,
-0.01592933,
-0.008420371,
0.027138354,
-0.014215328,
-0.011984406,
-0.017344061,
0.040945586,
0.031504977,
-0.037354346,
0.013609987,
-0.04064632,
-0.007991871,
-0.015942933,
-0.04592435,
0.01874519,
-0.0640438,
-0.04932515,
0.011848374,
0.037871268,
-0.010113968,
0.023846382,
-0.05718779,
-0.022118779,
0.016731918,
0.040782347,
0.026499005,
0.011297445,
0.0006372242,
-0.003921118,
-0.0043972298,
-0.010664897,
-0.014432979,
0.023819176,
-0.001336513,
0.0022326228,
-0.01776576,
0.063445255,
-0.026158925,
-0.04151692,
0.0038258957,
-0.0041081617,
-0.008876078,
0.016310219,
0.01592933,
0.052345056,
-0.011759954,
0.010399635,
-0.03498739,
0.01328351,
0.04249635,
0.060452554,
0.009855508,
0.027396815,
-0.0031593398
] | def forward(self, tensor):
return self.model.forward_features(tensor)
For the model that will classify images, we just change the forward method: |
[
0.023565203,
0.020688633,
0.02822723,
-0.04531661,
-0.04387124,
0.014722939,
0.023267627,
0.002621505,
-0.0225166,
0.050474595,
0.02243158,
-0.005041083,
0.0127886925,
-0.029077448,
-0.036616046,
0.011378748,
-0.06110232,
-0.033696964,
-0.04585508,
0.0154314535,
0.008750158,
0.049085908,
-0.042652592,
-0.027915485,
-0.028609829,
0.024613805,
0.03534072,
-0.0040562474,
0.07663296,
0.03502897,
0.0049100076,
-0.017273592,
0.0010264609,
-0.054555643,
-0.02142549,
-0.022984222,
-0.0026303614,
-0.027787952,
-0.0006655611,
-0.016961845,
0.07844676,
0.01528975,
-0.028524807,
-0.024486274,
-0.039790194,
-0.025704918,
-0.0015153361,
-0.00039765396,
-0.0048285285,
-0.031288017,
-0.014071105,
0.011428344,
0.012795778,
-0.023976142,
-0.03208155,
-0.005639778,
-0.032421637,
-0.0084029855,
-0.034603864,
0.029672602,
0.019356625,
0.0050446256,
-0.025109766,
-0.0686976,
0.033215176,
0.02244575,
-0.0046549425,
0.005781481,
-0.0023327852,
-0.0071914257,
-0.04588342,
0.039138358,
-0.020447738,
-0.028057188,
-0.060762234,
0.049511015,
0.040923815,
0.026597647,
-0.036672726,
0.03871325,
-0.019172411,
0.014113615,
-0.0010052054,
0.010925299,
-0.023437671,
-0.037409585,
-0.005072966,
-0.0051473603,
-0.04299268,
-0.025648236,
0.0015286207,
0.03531238,
0.00028141323,
0.029020768,
0.04735713,
0.038543206,
-0.01625333,
0.03627596,
0.03814644,
-0.021467999,
0.045968443,
0.06864092,
-0.005965695,
0.018010447,
-0.028581489,
0.05407385,
-0.006008206,
0.033781987,
-0.039251722,
0.0305795,
0.0036311385,
0.013879806,
0.02668267,
0.006238473,
-0.015233069,
0.027617909,
0.02248826,
0.030296095,
-0.05917516,
-0.036105916,
0.016876824,
0.027065266,
-0.0035213188,
-0.033243515,
-0.016423374,
-0.03817478,
-0.025860792,
0.055065773,
-0.023636054,
-0.031344697,
0.00042289478,
-0.026512625,
0.022190684,
0.014219893,
-0.00014779177,
0.04537329,
-0.028921576,
0.006011748,
0.0006996584,
-0.011810943,
-0.01310044,
-0.032251596,
-0.0050623384,
0.09125671,
-0.020617781,
-0.012384839,
0.005225297,
-0.026101686,
-0.022119833,
-0.020306036,
0.001045945,
-0.0043502813,
-0.0047612195,
-0.0029456504,
-0.016069116,
-0.045770057,
-0.0314864,
0.00862971,
0.0057602255,
-0.010195528,
-0.0027153832,
-0.043644514,
0.0015436767,
0.024798019,
-0.060025375,
0.07198511,
-0.033838667,
-0.040357005,
-0.0008333906,
-0.01809547,
0.0003868048,
-0.04149063,
0.029304173,
0.01193139,
0.03536906,
-0.0013780614,
0.03154308,
-0.006079057,
0.017500317,
0.0011593074,
0.00861554,
-0.011152023,
0.04973774,
0.026796032,
0.019186582,
-0.009940463,
-0.025152277,
-0.03100461,
-0.031344697,
-0.020178502,
0.028028848,
0.04922761,
-0.050332893,
0.013745188,
-0.013227972,
-0.0068017426,
-0.04239753,
0.027547058,
-0.037041154,
-0.03624762,
-0.049964465,
0.0439846,
-0.051409837,
0.025194788,
-0.039931897,
0.019569179,
0.01619665,
0.054669004,
-0.00953661,
0.011003235,
0.0268102,
0.011201619,
-0.027405353,
0.05444228,
0.0020369801,
0.02292754,
-0.020688633,
0.005618523,
-0.0009476386,
0.0023434127,
0.011385834,
0.02148217,
0.050276212,
0.03633264,
0.008346304,
-0.035510764,
-0.011860538,
0.037126176,
0.03780635,
0.05962861,
0.025662407,
0.0068407105,
-0.024670487,
0.063936375,
-0.0015791025,
0.024046993,
0.05631276,
0.052175034,
-0.004948976,
0.0091115,
-0.015658177,
0.017061038,
-0.00063544925,
0.0017013212,
-0.013603485,
0.010202614,
-0.00045101397,
0.022020642,
-0.035567444,
0.025109766,
-0.035992555,
0.0629728,
0.007481917,
0.016069116,
-0.022105662,
-0.054045513,
0.0055689267,
0.031401377,
-0.09023645,
-0.0007589965,
0.037891373,
-0.010819022,
-0.0015144504,
-0.024854701,
-0.007814919,
0.05540586,
0.027065266,
0.029049108,
-0.0067592314,
-0.037041154,
-0.019540839,
-0.039195042,
-0.017117718,
0.010351402,
-0.004219206,
-0.009919208,
0.041405607,
-0.042425867,
0.023650225,
-0.011357493,
0.025634067,
0.004545123,
-0.0014134871,
0.027887143,
0.017146058,
0.008041644,
-0.03375365,
0.011888879,
-0.01761368,
0.022048982,
0.009961719,
-0.0047293366,
0.028624,
-0.042794295,
0.0056539485,
0.015629837,
-0.01809547,
-0.03451884,
-0.002430206,
-0.054669004,
-0.0756127,
-0.0024851158,
-0.010053826,
0.037381243,
-0.031089632,
0.038883295,
0.03392369,
-0.019668372,
0.054187216,
0.04673364,
-0.02145383,
0.0026339039,
0.006861966,
0.0060188337,
-0.040271983,
0.06263271,
0.05733302,
0.0042936,
-0.039336745,
-0.036502685,
0.0066600395,
-0.024273718,
0.006387261,
-0.026130026,
0.010613552,
0.05974197,
0.013227972,
-0.08037392,
0.020461908,
-0.04350281,
-0.045061544,
-0.009359481,
-0.011137853,
0.016423374,
0.020929528,
-0.0059869504,
-0.014460788,
-0.008955628,
-0.005646863,
0.019030709,
0.008084155,
-0.019469988,
0.061782494,
0.012186456,
0.016281672,
-0.014921322,
0.023069244,
-0.015573156,
-0.028921576,
0.013823125,
0.033328537,
0.042652592,
-0.012306903,
0.016465886,
0.044182986,
-0.004251089,
-0.0040527047,
0.006557305,
0.0039216294,
0.034943953,
-0.00173409,
0.01616831,
0.005299691,
-0.009281544,
-0.024032824,
-0.048802502,
-0.020731144,
0.04200076,
0.040782113,
-0.036927793,
0.039024998,
0.02006514,
-0.007984962,
0.014666257,
0.014694598,
-0.017783722,
0.015573156,
0.029474217,
0.04256757,
-0.028368933,
-0.017486146,
0.027816292,
-0.0055972673,
0.008502178,
0.05917516,
0.024018653,
-0.0004738193,
0.013823125,
-0.038911633,
-0.055972673,
-0.014978004,
-0.02100038,
-0.00037285592,
-0.042879317,
-0.009855442,
-0.020702804,
0.020816166,
0.053705424,
-0.025364831,
0.011272471,
-0.0013258083,
0.0058239917,
0.0141702965,
0.052883547,
-0.028538978,
0.0006447485,
-0.03301679,
0.06864092,
0.015870733,
-0.014623746,
-0.027901314,
0.0069151046,
0.00096358015,
-0.005873588,
-0.0075881938,
0.018308023,
-0.06835751,
0.011733006,
0.02430206,
0.060988955,
-0.027787952,
-0.06467324,
-0.009387822,
0.023480183,
0.032223254,
-0.06807411,
-0.008516348,
-0.03012605,
-0.0063837185,
0.016139967,
-0.04735713,
-0.0228992,
-0.056057695,
-0.056086034,
-0.047555517,
0.056511145,
0.03774967,
0.009168182,
0.038458183,
-0.02767459,
0.013072099,
0.00860137,
-0.016848482,
-0.013560974,
0.0022938168,
0.015332261,
0.02387695,
0.02006514,
-0.011980986,
-0.040385347,
0.026144197,
-0.033158496,
0.04679032,
-0.040668752,
0.015884902,
-0.02294171,
-0.010521445,
-0.011208705,
0.07073812,
-0.003016502,
-0.013256312,
-0.0138089545,
0.022800008,
-0.021567192,
-0.038854953,
0.026994415,
-0.0036913622,
0.014425362,
0.03633264,
0.015573156,
-0.02724948,
-0.0011832197,
0.0045911763,
-0.051268134,
0.051721584,
-0.042709276,
0.013454697,
-0.004268802,
-0.036077574,
0.00502337,
-0.020334376,
0.0011433659,
0.015445624,
-0.017486146,
-0.006706093,
-0.06824415,
-0.01716023,
-0.013525548,
-0.04426801,
0.025095595,
-0.004226291,
0.007984962,
0.027079437,
-0.05962861,
-0.025464023,
-0.012717841,
-0.033328537,
-0.04381456,
0.06008206,
-0.015091366,
0.032535,
-0.014226978,
-0.047017045,
-0.023069244,
-0.0052075842,
0.008948542,
-0.01432617,
-0.031373035,
-0.0130579285,
-0.0074464907,
-0.015006344,
-0.0013452925,
0.006224303,
0.011888879,
0.004375079,
0.022800008,
0.041660674,
-0.024585465,
-0.04253923,
0.041717354,
-0.025988324,
-0.046421893,
0.008275453,
0.023012562,
-0.001311638,
0.026852712,
0.0048179007,
-0.02294171,
-0.029530898,
-0.028397275,
0.04883084,
-0.017769553,
-0.025619896,
-0.034178756,
-0.040413685,
0.017925425,
-0.0072020534,
-0.0022938168,
-0.08864938,
-0.019399136,
-0.05979865,
0.010167188,
-0.012356498,
-0.038373165,
-0.011059917,
0.007326043,
-0.02387695,
0.032591682,
-0.038231462,
-0.025634067,
-0.0017199197,
0.0002745495,
0.0012133317,
0.03573749,
-0.039903555,
-0.05251512,
-0.019370796,
0.009763335,
0.002584308,
0.02057527,
-0.031826485,
0.02910579,
-0.038486525,
-0.002122002,
-0.023806099,
0.005324489,
-0.025407342,
-0.04259591,
0.020660292,
-0.012009326,
-0.010145932,
-0.018435556,
0.002017496,
0.007496087,
0.00011225532,
-0.06847087,
-0.01867645,
-0.06104564,
-0.07663296,
0.035397403,
0.0032113434,
-0.0077086412,
-0.037607968,
-0.020291865,
0.026356751,
-0.014722939,
0.05832494,
0.059401885,
0.0033654454,
0.01718857,
-0.0043786215,
0.008190432,
0.020221014,
-0.023083413,
0.0065112514,
-0.00064651977,
-0.0151763875,
0.017556997,
0.003992481,
-0.05636944,
-0.027121948,
0.026030835,
0.060308784,
-0.011733006,
0.030012688,
-0.013851465,
-0.042170804,
0.0030519275,
0.01908739,
0.02580411,
0.048859183,
-0.0011043975,
0.041774035,
0.008927287,
0.04290766,
-0.025053084,
-0.00081612053,
0.00013185019,
0.03576583,
0.015814051,
-0.023140095,
0.03485893,
0.013681421,
-0.046535254,
-0.03582251,
0.003349504,
-0.005558299,
-0.025591556,
-0.043389447,
0.023125924,
0.017146058,
-0.028255573,
0.00883518,
0.0209437,
0.0076803006,
-0.0021361723,
-0.012073093,
-0.029927667,
-0.023678565,
0.032875087,
0.038571548,
-0.02819889,
-0.01667844,
-0.0205611,
-0.013738102,
-0.035142336,
-0.004768305,
0.06954782,
0.0023327852,
0.03443382,
-0.010719829,
0.0072020534,
0.07323209,
-0.027816292,
0.012583223,
0.014694598,
-0.029304173,
-0.06909437,
-0.012618649,
-0.004676198,
0.0334419,
0.01143543,
-0.0062278453,
0.025421511,
0.010209699,
0.043786217,
-0.02339516,
-0.039421767,
0.040867135,
-0.044494733,
-0.05160822,
-0.036049236,
-0.04528827,
-0.010429339,
0.039308403,
0.009224863,
-0.0439846,
-0.019880926,
0.019299945,
-0.02101455,
0.03786303,
-0.03208155,
0.0004293157,
-0.040101938,
0.002283189,
-0.037834693,
-0.0117826015,
0.018208832,
-0.007538598,
-0.028298082,
0.010124677,
0.017528657,
0.016664268,
-0.038118098,
0.024798019,
-0.02774544,
-0.020716975,
0.010308891,
-0.01575737,
-0.042794295,
0.009940463,
0.060422145,
-0.0031103801,
0.0068513383,
-0.01670678,
-0.018052958,
-0.016933504,
0.017840404,
0.026087517,
0.0042617167,
-0.0021379434,
0.0065785605,
0.03729622,
-0.018974027,
-0.008410071,
-0.047045384,
-0.015388942,
0.024656316,
-0.023536863,
0.005005657,
0.052656822,
-0.002892512,
0.025180617,
-0.00655022,
-0.0066600395,
0.02194979,
0.014219893,
-0.024656316,
-0.02053276,
0.003547888,
-0.014071105,
0.013879806,
0.035255697,
-0.027277822,
-0.0048958375,
-0.015020515,
-0.043276086,
-0.025860792,
0.023111753,
0.02673935,
0.0314864,
0.0154172825,
-0.03865657,
-0.010103421,
-0.026838543,
-0.002084805,
0.024117844,
-0.040158622,
-0.053705424,
0.015488135,
-0.064389825,
-0.018761473,
-0.022800008,
-0.014978004,
-0.0111803645,
0.04248255,
-0.019356625,
0.016465886,
0.03831648,
0.0072091385,
-0.008473838,
-0.06937777,
-0.009770419,
0.038514867,
0.01480796,
-0.015899073,
-0.031826485,
0.039506786,
0.05115477,
-0.0068088276,
-0.0001262042,
-0.044749796,
-0.03437714,
0.060932275,
0.028354764,
0.009479929,
-0.01480796,
-0.06603358,
0.041660674,
-0.03157142,
0.0029899327,
-0.018860664,
0.006242016,
0.050502937,
0.004258174,
-0.027589567,
0.052373417,
0.03055116,
-0.00008513249,
0.03341356,
0.03868491,
0.03593587,
-0.010443509,
0.0025807654,
-0.018860664,
0.06535341,
0.037012815,
0.024755508,
-0.0068159127,
0.025251469,
0.015927413,
0.011187449,
0.00584879,
0.012604479,
0.05407385,
0.03579417,
0.007687386,
-0.007078063,
-0.03624762,
0.035199016,
-0.017457806,
-0.019271603,
-0.023976142,
-0.0262859,
-0.005806279,
-0.046195168,
0.02149634,
-0.010117592,
-0.037097838,
-0.009210693,
-0.003999566,
0.07498921,
0.023692736,
-0.02441542,
-0.012391925,
0.049539357,
0.014708768,
0.015530645,
0.05498075,
0.0031369494,
0.048802502,
-0.016069116,
0.038373165,
0.011477941,
0.032364957,
-0.018038787,
-0.043616172,
-0.0041908654,
0.00046097746,
-0.029389195,
-0.014694598,
-0.0035071485,
-0.043191064,
-0.0062951543,
-0.05685123,
0.038968317,
0.0046868254,
-0.012030582,
0.029247493,
-0.0032875089,
-0.030636182,
0.057049613,
0.0022282791,
0.0026817287,
0.05163656,
0.012916225,
-0.0110457465,
0.09222029,
-0.00789994,
0.007545683,
0.046166826,
-0.00835339,
-0.030721202,
0.010960724,
-0.029530898,
-0.00862971,
0.02722114,
-0.0005699116,
-0.024372911,
0.014198638,
0.010195528,
0.01670678,
-0.01713189,
0.02339516,
0.0028376018,
-0.059005115,
0.014319085,
0.080203876,
-0.011839283,
-0.015573156,
0.0003704204,
0.008622626,
-0.026399262,
-0.0043042274,
-0.035652466,
0.027405353,
-0.00019074547,
-0.020688633,
-0.005841705,
-0.006341208,
-0.004711624,
0.022502432,
-0.033725306,
-0.03585085,
0.019044878,
0.05549088,
-0.0074252356,
0.049596038,
-0.032761727,
0.0008418042,
0.049454335,
0.062349305,
-0.03157142,
0.05345036,
0.018733133,
-0.026059175,
0.0030820395,
0.027575398,
0.015927413,
-0.014219893,
0.012576139,
-0.0126682455,
-0.0045096967,
-0.0087926695,
-0.042935997,
0.0076803006,
0.0234235,
-0.041745692,
-0.024061164,
-0.017911255,
-0.016820142,
-0.062349305,
0.00089007174,
-0.03480225,
-0.0030643267,
0.0068017426,
0.012682416,
0.0077511524,
-0.07425235,
0.2382877,
0.06501332,
0.032535,
0.03678609,
0.053733766,
0.082924575,
-0.0004906465,
-0.028864894,
0.012044752,
-0.05679455,
0.0015126792,
-0.04064041,
-0.025138106,
0.04868914,
0.005483905,
0.052628484,
-0.021283785,
0.005898386,
0.0016827227,
-0.025067255,
-0.080317244,
0.0139294015,
0.040838797,
0.045571674,
0.031684782,
0.01812381,
0.00953661,
-0.055519223,
0.027872974,
-0.020631952,
-0.03157142,
0.0032042584,
0.02193562,
-0.018010447,
-0.0008240913,
0.032364957,
-0.047895603,
-0.045089886,
-0.0028588574,
0.00416961,
-0.016395032,
-0.018662281,
0.020957869,
-0.02530815,
-0.013383845,
0.059912015,
-0.009175267,
0.044097964,
0.008934372,
-0.03392369,
0.049085908,
-0.02678186,
0.0065750177,
-0.017783722,
-0.027986336,
0.032166574,
-0.0219923,
-0.041745692,
0.0033973285,
0.021793917,
0.000703201,
0.016380863,
0.0121652,
0.010308891,
0.021779746,
0.025223128,
0.006412059,
0.06013874,
0.0039818534,
-0.014368681,
0.027178628,
-0.013157121,
-0.012484032,
-0.012767437,
0.025492365,
0.00833922,
-0.031089632,
0.040498707,
0.02815638,
-0.028241402,
-0.005097764,
-0.046478573,
0.012484032,
-0.04531661,
0.0191299,
0.031288017,
-0.031684782,
-0.014850471,
0.02194979,
-0.010273465,
0.01864811,
0.060762234,
0.013001247,
-0.03672941,
0.020915357
] | self.block_type = block_type
self.layers = layers
self.num_classes = num_classes
self.input_channels = input_channels
self.cardinality = cardinality
self.base_width = base_width
self.stem_width = stem_width
self.stem_type = stem_type
self.avg_down = avg_down
super().__init__(**kwargs) |
[
0.029994527,
0.00020198683,
-0.049242117,
-0.04380992,
-0.0056414083,
0.0065810313,
-0.018219877,
0.0012938168,
-0.0089411,
0.06694814,
0.04049188,
-0.014189775,
0.045659803,
-0.054967944,
0.010372557,
0.028585093,
-0.0027014161,
0.0043677785,
-0.08292173,
0.0045329467,
0.017867519,
-0.003997068,
-0.07839979,
-0.05311806,
-0.037438102,
0.0011791168,
-0.0021490206,
0.01760325,
0.056788463,
0.034266874,
-0.017221527,
-0.0040117498,
-0.029759621,
-0.011532404,
-0.014138389,
-0.0005161503,
-0.0008437337,
-0.018675007,
-0.07939814,
-0.036938928,
0.006441556,
-0.031712275,
0.03338598,
-0.05126818,
-0.022418818,
-0.006379159,
-0.0050578145,
0.01924759,
0.006496612,
-0.04698115,
0.0123912785,
0.045777258,
0.01779411,
-0.009917427,
-0.032446355,
0.011143342,
-0.026867345,
-0.010548736,
-0.06671323,
0.0057772133,
0.017750066,
0.004268678,
0.015621232,
-0.055056036,
0.009968813,
0.031418644,
-0.000023226765,
0.018440101,
-0.056553558,
-0.019306317,
0.011062592,
-0.016311267,
-0.012486708,
-0.021963688,
0.0011387423,
0.011708584,
0.03227018,
0.014336592,
0.02062766,
0.055349667,
-0.01842542,
0.039787162,
0.0017948267,
-0.04351629,
-0.038260274,
-0.033855792,
0.06630215,
-0.024136566,
-0.018895231,
-0.019746764,
0.011363566,
0.008867692,
-0.03658657,
0.025399184,
0.010644167,
0.006606724,
-0.009322822,
0.041284684,
0.005711146,
-0.031682912,
0.017074712,
0.08850074,
0.009476978,
0.025957085,
-0.00027367438,
0.0052303234,
0.015562505,
-0.009153984,
-0.029510034,
0.010908436,
0.008060204,
0.021508558,
0.0101963775,
-0.010211059,
0.0009634806,
0.0191595,
-0.0012791352,
0.037203196,
-0.050475374,
-0.0029785314,
-0.010453306,
-0.01195083,
0.004999088,
-0.07446512,
-0.014887151,
-0.036557205,
-0.009557728,
0.039845888,
-0.015239511,
-0.025663452,
0.018381374,
-0.052060988,
0.0038355703,
0.054116413,
0.026353488,
-0.0058873254,
-0.022668405,
-0.000351441,
0.023931023,
-0.05162054,
-0.013242812,
0.022668405,
0.031624187,
0.08879437,
-0.012699592,
-0.0074582575,
-0.007906047,
-0.04234176,
-0.021347059,
-0.0011497536,
-0.009543046,
-0.028643819,
0.022037094,
0.009425594,
-0.028614456,
-0.006140583,
-0.03511841,
-0.005986426,
0.004096169,
0.018733732,
0.00839788,
0.01578273,
-0.024254018,
0.03074329,
-0.015283555,
0.04706924,
0.010108288,
-0.005802906,
-0.021684736,
-0.04442655,
0.005245005,
-0.055966295,
0.007450917,
-0.0062653767,
0.033268526,
-0.00039410943,
0.058667712,
0.009462297,
-0.015591869,
-0.019188862,
-0.0004441187,
-0.009432934,
0.026162628,
0.026030494,
0.008911736,
-0.030625837,
-0.021214925,
-0.0047751935,
-0.012200417,
0.006470919,
0.013081314,
0.025076188,
-0.024767874,
0.0091099385,
-0.05904943,
-0.001624153,
-0.027777605,
-0.00071802246,
-0.025399184,
-0.006012119,
0.015107376,
0.04251794,
-0.05035792,
0.03074329,
-0.032416992,
-0.022873947,
-0.014857789,
0.027777605,
-0.010460647,
0.017852837,
0.042371124,
0.004709126,
-0.038524542,
0.012464686,
0.016164452,
-0.010482669,
-0.01450543,
-0.0017030666,
-0.006779233,
-0.039933976,
0.029231085,
-0.017397707,
0.054321952,
-0.023828251,
0.0018829164,
-0.010871732,
0.017236209,
0.028541049,
0.04052124,
0.024107203,
0.013470377,
0.011165364,
0.007252715,
0.061897665,
0.006243354,
-0.024386153,
0.030713927,
0.030067936,
0.016898531,
0.02125897,
0.020818522,
0.017735384,
0.027322475,
0.02262436,
-0.006632417,
-0.022829901,
-0.010086265,
-0.025076188,
-0.032152724,
0.008067545,
-0.05417514,
0.039287984,
-0.003942012,
-0.013367605,
-0.037467465,
0.003934671,
0.014299887,
0.041725133,
-0.0028445618,
-0.016737035,
0.02024594,
-0.009476978,
-0.022095822,
-0.012376596,
0.028452959,
0.034090698,
0.022932673,
0.04060933,
0.009638476,
-0.06506889,
-0.015342281,
-0.032416992,
-0.06324837,
-0.026749892,
-0.022433499,
0.014659586,
0.025164278,
-0.029950483,
0.028174007,
0.0054615587,
0.015929546,
0.0076491185,
-0.008566719,
0.057581272,
0.01634063,
0.007920728,
-0.012339893,
0.013749327,
-0.054233864,
-0.0055533187,
0.03268126,
-0.0074215536,
0.01879246,
-0.028159326,
0.023182262,
-0.00205359,
0.027322475,
-0.022345409,
-0.044749543,
0.048038226,
-0.04736287,
0.023020763,
-0.014197116,
0.041460864,
-0.0074876207,
0.0085446965,
-0.031007558,
-0.03641039,
0.04307584,
0.043486927,
-0.022594996,
0.049770653,
0.03611676,
0.02152324,
-0.03338598,
0.024063157,
0.015430371,
-0.0069187083,
-0.037350014,
-0.034061335,
-0.009660499,
-0.011906785,
0.0013984232,
0.0026959104,
0.013418991,
0.06389436,
-0.021860916,
-0.063365825,
0.0030060594,
-0.0033712646,
-0.017500479,
-0.019306317,
-0.014784381,
0.0007639025,
0.01760325,
0.018102424,
-0.0675354,
-0.024621058,
-0.050739642,
0.015650595,
0.030625837,
-0.00076298486,
0.038524542,
0.051972896,
0.008750239,
0.011503041,
0.017001303,
-0.035617582,
-0.020495526,
-0.013624533,
0.012310529,
0.026368171,
0.028452959,
0.015312918,
0.044455912,
0.02463574,
-0.026441578,
0.030332204,
0.02144983,
-0.02244818,
0.031271826,
0.0419894,
-0.0032464708,
0.022198593,
-0.033973243,
0.009799974,
0.007810616,
0.018983321,
0.04216558,
-0.010093606,
0.041372776,
0.004176918,
-0.026250716,
-0.0105781,
-0.002517896,
-0.024327427,
0.018909913,
0.048390582,
0.028952133,
-0.0459828,
-0.038994353,
0.009917427,
-0.03987525,
0.055144124,
0.035705674,
-0.008427244,
-0.03550013,
0.015136739,
-0.045835983,
0.008507992,
0.018939275,
-0.028585093,
0.012611502,
-0.0041292026,
-0.02262436,
-0.034443054,
0.02381357,
0.046188343,
0.010864391,
0.000099502315,
0.054674312,
0.020187212,
-0.02874659,
0.024136566,
-0.018381374,
0.007509643,
-0.03958162,
0.052853793,
0.033239163,
-0.000091358605,
-0.027674833,
-0.026749892,
0.025223004,
-0.018660326,
-0.030890105,
0.004052124,
-0.036175486,
-0.022859266,
-0.004253996,
0.034824777,
-0.044103555,
-0.01706003,
-0.06870993,
0.041284684,
0.004870624,
-0.060840588,
-0.011128659,
-0.055408392,
0.015254192,
0.012670228,
-0.0076417774,
-0.050152376,
0.025780905,
0.022800539,
-0.031213101,
0.003303362,
0.060605682,
-0.02199305,
-0.0077225263,
-0.015768047,
-0.028218053,
0.009836678,
-0.012883112,
-0.015489098,
-0.012714273,
0.01341165,
-0.019115455,
0.023696117,
-0.023798889,
-0.008463948,
0.032240815,
-0.026441578,
-0.011664539,
-0.034766052,
0.018396057,
-0.0013727305,
0.021934325,
0.00088548457,
0.02573686,
0.01751516,
-0.030332204,
0.005303731,
0.041783858,
-0.03849518,
-0.04753905,
0.009051212,
0.010357875,
-0.014006255,
0.035441406,
0.014901834,
0.0016480107,
0.009601773,
0.03485414,
-0.031007558,
0.010651507,
-0.02117088,
0.03438433,
0.009888064,
-0.012457346,
0.03200591,
-0.04733351,
0.067711584,
0.0006313092,
-0.04295839,
-0.0065369867,
-0.053235516,
-0.030596474,
0.019908262,
-0.031213101,
0.023329077,
0.017838156,
-0.0005276203,
-0.005766202,
0.012310529,
-0.035617582,
-0.024386153,
-0.01742707,
0.043134566,
0.03494223,
0.0062066503,
0.051209453,
-0.028599774,
-0.025193641,
0.017368343,
-0.030479021,
0.03291617,
-0.016120408,
-0.022741813,
0.002363739,
-0.0045549693,
0.016443402,
-0.014843107,
-0.020304665,
-0.03429624,
-0.032828078,
0.0010891919,
0.021655373,
-0.012971202,
-0.025369821,
0.022301365,
-0.016810443,
-0.052149076,
-0.031448007,
0.02481192,
-0.007957432,
0.04151959,
0.031448007,
-0.03969907,
-0.05203162,
-0.009675181,
0.04140214,
-0.041490227,
-0.009410911,
-0.030273478,
-0.022609679,
-0.04809695,
0.048625488,
0.023050126,
-0.043369472,
0.013984233,
-0.02974494,
0.023211624,
-0.055613935,
-0.0191595,
-0.007502302,
-0.008530015,
-0.01606168,
0.03332725,
-0.024063157,
-0.019966988,
0.0011497536,
-0.01669299,
0.036557205,
0.050945185,
-0.033532795,
0.0006464496,
-0.008750239,
0.00583961,
-0.019379724,
0.03805473,
0.012303188,
0.030772652,
0.0020682716,
0.047039878,
-0.01805838,
-0.011047911,
-0.0088383285,
-0.0007276572,
0.053587873,
-0.024753192,
0.033180438,
-0.02673521,
0.014725654,
-0.025883676,
0.0027032513,
-0.038113456,
0.0039383415,
-0.036527842,
-0.023828251,
0.02783633,
-0.0024463232,
-0.032593172,
0.024753192,
0.026221354,
0.025546,
-0.010746938,
0.000089867506,
0.05511476,
0.015577188,
0.010189037,
-0.023828251,
0.031007558,
0.019834854,
-0.042664755,
-0.0012873936,
0.027777605,
-0.029142994,
0.0065002823,
-0.009638476,
-0.042371124,
0.0107175745,
0.022389455,
0.036087394,
-0.011569108,
0.06659578,
0.027806967,
-0.04213622,
-0.028497003,
0.012905135,
0.014857789,
-0.0043200636,
0.027072888,
0.0015562506,
0.04427973,
0.04066806,
0.022771176,
0.0120756235,
-0.053235516,
0.06800521,
-0.022330727,
-0.010732256,
0.015078013,
0.029583443,
-0.047216054,
-0.051679265,
-0.03820155,
0.012919816,
-0.023578664,
0.009440275,
0.0067351884,
-0.008897055,
-0.0036997655,
0.043575015,
0.04425037,
-0.00803084,
0.005612045,
-0.01888055,
-0.025927722,
-0.045101903,
0.043663107,
0.035529494,
-0.026045175,
-0.031242464,
-0.042547304,
0.026661802,
-0.042283036,
-0.017324299,
0.041020416,
-0.009469638,
0.027968466,
-0.013661237,
0.01797029,
0.067711584,
-0.014718313,
0.03273999,
-0.017676657,
-0.043721832,
-0.07299696,
-0.024151247,
0.00783998,
-0.015371645,
-0.0006987528,
-0.011774651,
0.030684562,
0.033268526,
0.06160403,
0.0016755386,
-0.08444861,
0.020407436,
-0.028394232,
-0.018586917,
0.04151959,
0.015254192,
-0.019409087,
0.025237687,
0.006970094,
-0.016986622,
0.0016581042,
0.02572218,
-0.006522305,
-0.0055533187,
-0.06430545,
-0.011899444,
-0.053235516,
-0.0020499197,
-0.019232908,
-0.019438451,
0.0026683824,
0.041813225,
0.009007167,
0.026852664,
-0.009829338,
0.0166049,
-0.011657198,
0.032358266,
-0.033914518,
0.0037878552,
-0.029275129,
-0.04096169,
-0.016076362,
0.02053957,
0.004309052,
-0.04974129,
-0.011429633,
-0.007817957,
0.014336592,
0.00014234279,
-0.00061387476,
0.005145904,
-0.0013782361,
-0.0019324668,
-0.00090154255,
0.040932328,
-0.081159934,
-0.008559378,
-0.007362827,
-0.037819825,
0.011987534,
0.016590219,
-0.0077812527,
0.050739642,
-0.023828251,
0.01779411,
0.011789332,
0.028761273,
0.032416992,
0.0027619777,
-0.0098587,
-0.026250716,
-0.017265573,
-0.025751542,
0.033826426,
0.017324299,
-0.055643298,
0.062426202,
-0.010886413,
0.017617932,
-0.04477891,
0.008265746,
0.006360807,
0.026206672,
0.020583617,
-0.0099027455,
0.010482669,
-0.04433846,
-0.018983321,
-0.014696291,
-0.048596125,
-0.04425037,
0.03685084,
-0.06230875,
0.012897793,
-0.023387803,
-0.0050321217,
0.021141518,
0.042194944,
-0.010409261,
0.03793728,
0.03602867,
0.00022435334,
0.041167233,
-0.02418061,
-0.031036923,
0.0048265792,
-0.01569464,
-0.025766224,
-0.0046687517,
0.009087916,
0.05071028,
0.008779602,
-0.004323734,
-0.029113632,
-0.010438624,
-0.024488924,
0.049418297,
-0.016325949,
0.00084602775,
-0.054087047,
0.010937799,
0.0020187213,
0.0065296455,
-0.0030959842,
0.029128313,
0.026882026,
-0.0074839504,
0.012545435,
0.007773912,
0.006981105,
0.000309002,
0.024532968,
0.012479368,
0.028761273,
-0.012853749,
0.009256755,
0.015004604,
0.047568414,
0.01924759,
0.03256381,
0.007854661,
0.049388934,
0.0046393885,
-0.042371124,
-0.05614247,
0.021684736,
0.038289636,
-0.0015268873,
0.04307584,
0.010078925,
-0.011715924,
-0.014476066,
-0.0066470983,
-0.0010423942,
-0.011649857,
-0.0072306925,
-0.028394232,
-0.023975069,
0.035558857,
0.014241161,
-0.049242117,
0.028819999,
-0.0017223363,
0.05719955,
0.024386153,
0.003275834,
-0.006525975,
0.019555904,
0.07452385,
0.04334011,
0.039023716,
-0.003477706,
0.027762923,
0.0041952697,
0.007050843,
-0.047274783,
-0.019511858,
-0.018322648,
-0.06013587,
-0.014395318,
0.009454956,
0.012560117,
-0.013213448,
-0.008258405,
0.009785293,
-0.0034208149,
-0.079809226,
-0.0013864945,
-0.057786815,
-0.011458996,
0.031183738,
-0.0052229823,
-0.03623421,
0.036615934,
0.027953783,
-0.00084923935,
0.05526158,
0.030449657,
0.03130119,
0.058902618,
0.06501017,
0.009821996,
0.045424897,
0.0030886435,
-0.031800367,
-0.017838156,
0.03135992,
-0.034912866,
0.006324103,
-0.04627643,
-0.04809695,
0.03458987,
0.021185562,
-0.05511476,
-0.031213101,
0.027895058,
0.009007167,
-0.040374424,
0.014343932,
0.09472574,
0.020877248,
-0.03805473,
-0.0139548695,
0.0068930155,
-0.03996334,
-0.0055643297,
-0.048801668,
0.043281384,
-0.026412215,
-0.0191595,
-0.0072857486,
-0.06289601,
0.024430197,
0.022844585,
-0.021772826,
-0.009095257,
0.013719964,
0.023094172,
0.050387282,
-0.010115629,
-0.03441369,
-0.019438451,
0.020040397,
0.07287951,
0.003960364,
0.02701416,
0.04433846,
-0.021508558,
0.0015388161,
0.003094149,
-0.0031381939,
0.0059717447,
-0.008830988,
0.021978369,
0.0012754648,
-0.022242637,
-0.055349667,
-0.034971595,
0.0112607945,
0.0011378247,
-0.03138928,
-0.027028842,
0.022683086,
-0.06824012,
-0.029363219,
-0.038260274,
0.008559378,
-0.018014334,
-0.042459212,
0.001286476,
-0.045483626,
0.25675198,
0.053969596,
0.03696829,
0.000052704683,
0.05347042,
0.047392234,
0.048008863,
0.01012297,
0.032769352,
-0.06277856,
0.0071315914,
-0.04096169,
-0.00052211474,
0.007344475,
-0.024430197,
0.05628929,
-0.025340457,
-0.02216923,
-0.020891929,
-0.018014334,
-0.067124315,
0.014989923,
-0.01286109,
0.077636346,
0.016590219,
0.0037016007,
-0.038289636,
-0.054703675,
0.031859092,
-0.04680497,
-0.0009322822,
-0.013786031,
0.058814526,
-0.040902965,
0.003986057,
0.024342109,
0.008735557,
-0.025134915,
0.026940754,
-0.0025399183,
0.021831553,
-0.04295839,
0.012383937,
0.00090796576,
-0.016193815,
0.0089411,
-0.01907141,
0.016839806,
0.05256016,
-0.044837635,
0.012383937,
-0.039640345,
-0.008875033,
-0.019100774,
-0.007238033,
0.032152724,
-0.081277385,
-0.05429259,
-0.016458085,
0.011818696,
-0.008148293,
0.020407436,
-0.027983148,
0.031682912,
-0.010005517,
-0.017280255,
-0.026426896,
0.035441406,
0.0012534424,
-0.02418061,
0.059284337,
0.011246112,
-0.040550604,
-0.06271984,
0.032358266,
0.01058544,
-0.04234176,
0.079456866,
0.048390582,
-0.051679265,
0.006283729,
-0.029304491,
0.015988272,
-0.038700722,
0.028702546,
0.04066806,
-0.060899314,
-0.029333856,
-0.013154722,
0.03212336,
0.017045349,
0.050005563,
0.026397534,
0.04915403,
0.016927896
] |
The three important things to remember when writing you own configuration are the following:
- you have to inherit from PretrainedConfig,
- the __init__ of your PretrainedConfig must accept any kwargs,
- those kwargs need to be passed to the superclass __init__.
The inheritance is to make sure you get all the functionality from the 🤗 Transformers library, while the two other
constraints come from the fact a PretrainedConfig has more fields than the ones you are setting. When reloading a
config with the from_pretrained method, those fields need to be accepted by your config and then sent to the
superclass.
Defining a model_type for your configuration (here model_type="resnet") is not mandatory, unless you want to
register your model with the auto classes (see last section).
With this done, you can easily create and save your configuration like you would do with any other model config of the
library. Here is how we can create a resnet50d config and save it:
py
resnet50d_config = ResnetConfig(block_type="bottleneck", stem_width=32, stem_type="deep", avg_down=True)
resnet50d_config.save_pretrained("custom-resnet")
This will save a file named config.json inside the folder custom-resnet. You can then reload your config with the
from_pretrained method:
py
resnet50d_config = ResnetConfig.from_pretrained("custom-resnet")
You can also use any other method of the [PretrainedConfig] class, like [~PretrainedConfig.push_to_hub] to
directly upload your config to the Hub.
Writing a custom model
Now that we have our ResNet configuration, we can go on writing the model. We will actually write two: one that
extracts the hidden features from a batch of images (like [BertModel]) and one that is suitable for image
classification (like [BertForSequenceClassification]).
As we mentioned before, we'll only write a loose wrapper of the model to keep it simple for this example. The only
thing we need to do before writing this class is a map between the block types and actual block classes. Then the
model is defined from the configuration by passing everything to the ResNet class: |
[
0.0032134706,
-0.011930675,
-0.032298043,
-0.011646612,
0.0057096803,
0.015481472,
0.0036928281,
0.0025903059,
-0.016149022,
0.049483895,
0.020750852,
0.010418036,
0.0067997747,
-0.04107561,
0.0060683107,
0.010950656,
0.0005854375,
-0.006586727,
-0.038377006,
-0.04692732,
0.010758912,
0.037894096,
-0.09340014,
-0.04812039,
-0.008578723,
-0.0069950684,
0.0053013386,
-0.031360634,
0.070390984,
0.046444416,
0.026233282,
-0.015410456,
0.0059866426,
-0.052409753,
-0.011206313,
-0.009480626,
-0.00052906864,
-0.04834764,
-0.003955587,
-0.019231113,
0.0396837,
0.0160496,
0.0006298225,
-0.011156602,
-0.05329035,
0.0042254473,
-0.00811712,
-0.025026012,
-0.024699338,
-0.068970665,
-0.014402029,
0.0013768212,
0.033831988,
-0.024386868,
-0.002100296,
-0.015254221,
0.011028773,
0.01016948,
-0.020253742,
-0.0069098496,
0.069254726,
0.012676342,
-0.0011602227,
-0.052324533,
0.018563563,
0.0024411725,
-0.007946682,
-0.017654559,
-0.0041899397,
-0.009991941,
-0.03170151,
-0.019813443,
-0.021120137,
-0.02511123,
-0.011767339,
0.03130382,
0.023435256,
0.0044704527,
-0.04990999,
-0.003866817,
0.016191632,
0.013862308,
0.006480203,
0.00202928,
0.0019547134,
0.0034567001,
0.0017168099,
-0.021901311,
-0.005489531,
-0.05212569,
-0.002167761,
0.02086448,
-0.02523906,
0.014394928,
0.028875075,
0.02648894,
0.015211611,
0.02617647,
-0.0060718614,
-0.0020434833,
0.008003495,
0.05096103,
0.0015232916,
0.03357633,
-0.013940426,
0.031360634,
0.01854936,
-0.0012125969,
0.0057771453,
-0.03999617,
-0.0030891928,
0.0009418487,
0.0072400738,
-0.019685615,
0.005997295,
0.025168044,
-0.012924898,
-0.034456927,
-0.04110402,
0.0035170636,
0.0018961251,
-0.018123263,
0.019600395,
0.000022275699,
0.01636207,
-0.028846668,
0.071868114,
0.02925856,
-0.040905174,
-0.018251093,
0.022128562,
-0.010297309,
0.022938143,
-0.005052783,
0.0048716925,
-0.0031193744,
-0.057295647,
0.0106310835,
-0.017214261,
-0.022171171,
0.042069834,
-0.03278095,
0.041615333,
0.07385656,
-0.025579937,
-0.012356771,
-0.011710526,
-0.023136988,
-0.006973764,
0.023136988,
-0.015438862,
0.015197407,
-0.027042864,
-0.0075560943,
-0.01957199,
0.0034034383,
0.0028903482,
-0.008365676,
-0.03201398,
0.03246848,
0.014203185,
-0.017569339,
-0.022199579,
0.0593125,
-0.00011983937,
0.07601544,
-0.031190194,
0.0034797804,
0.006583176,
-0.03945645,
0.0065618716,
0.002274285,
0.033093423,
0.025366887,
0.03263892,
0.04093358,
0.068061665,
-0.005997295,
0.04723979,
0.02046679,
-0.01212952,
-0.044399157,
0.03871788,
0.044399157,
0.009253375,
-0.0055747502,
-0.0040905173,
0.013890715,
-0.0055676484,
-0.009466423,
0.0191743,
0.054625448,
-0.038689476,
0.020722447,
-0.05110306,
0.02836376,
-0.04584788,
0.03991095,
-0.01199459,
-0.035138678,
-0.016717149,
0.01627685,
-0.0744815,
0.037297565,
-0.03036641,
0.08493505,
0.021943921,
0.017342089,
-0.019643005,
0.003451374,
0.021432607,
0.01132704,
-0.030195972,
-0.03090613,
0.0144801475,
-0.006686149,
-0.034769397,
0.0619827,
-0.023293223,
0.00026963858,
0.013010117,
0.022284796,
0.025366887,
0.049199834,
0.013308384,
-0.035110272,
-0.016447289,
0.08175353,
0.027653601,
0.03326386,
0.014558265,
0.03334908,
-0.030167565,
0.017611949,
0.04312087,
0.0127686635,
0.03675784,
0.017967029,
0.04164374,
0.034229677,
0.03732597,
-0.03263892,
0.056159392,
0.00615353,
-0.013358096,
0.018023841,
0.034258083,
0.024330055,
-0.06431202,
0.0061428775,
-0.06277808,
0.034002423,
-0.006011498,
0.014572468,
-0.059823815,
-0.016418882,
0.0383486,
0.010084261,
-0.032979794,
-0.007840158,
0.009182359,
0.012491701,
0.01467189,
-0.035110272,
0.0356784,
0.048319235,
-0.027994478,
0.032582108,
-0.003504636,
-0.040592704,
-0.021844499,
-0.04794995,
-0.06692541,
-0.01752673,
-0.04763748,
-0.026389517,
0.03675784,
-0.009750486,
0.004647992,
-0.00021526702,
-0.010986163,
-0.0065760748,
-0.007321742,
0.060619194,
0.0059582363,
0.022242188,
-0.06328939,
-0.017072229,
-0.014132169,
0.019870255,
0.02171667,
-0.017739778,
-0.015538285,
-0.039229196,
-0.0021872905,
0.02448629,
-0.021844499,
-0.025452107,
-0.06158501,
-0.029286968,
-0.0024269691,
-0.021318981,
-0.024784558,
0.02042418,
-0.054256167,
-0.0006182824,
0.035820432,
-0.0035561225,
0.033917207,
0.046131946,
0.00043075596,
0.053460788,
0.009750486,
-0.0038384108,
-0.017398901,
0.07289074,
0.04647282,
-0.004218346,
-0.034769397,
-0.002020403,
-0.050733775,
0.018719798,
0.016305257,
-0.034428522,
0.0066435398,
0.023094378,
0.017143244,
-0.031587884,
0.024230633,
-0.03653059,
-0.07504963,
-0.024699338,
0.017214261,
0.016802369,
0.0012072708,
0.0015836551,
-0.067493536,
-0.027284319,
0.024983402,
0.020353165,
0.014941751,
-0.030082345,
0.03286617,
0.0018961251,
0.006405636,
-0.013514331,
0.033775173,
-0.018918643,
-0.015552487,
0.008841483,
0.043660592,
-0.011206313,
0.0052409754,
-0.035252307,
0.0021961674,
0.015055376,
0.0009853459,
0.041899394,
-0.0019831196,
0.027909258,
0.017597746,
-0.037297565,
0.009835705,
-0.008933803,
-0.025750374,
0.012200536,
0.035110272,
0.00045139497,
0.04661485,
-0.03246848,
0.0063168667,
-0.040819954,
0.0019245315,
-0.023875553,
-0.05047812,
-0.04553541,
0.023222208,
0.0054788785,
0.040905174,
-0.0396837,
-0.04755226,
0.016177427,
0.01222184,
0.0019476117,
0.030025532,
0.05556286,
-0.0061073694,
0.0160496,
-0.039001945,
-0.040876765,
0.02100651,
-0.021915514,
0.00160496,
-0.0017221362,
-0.022114359,
-0.004495308,
0.034229677,
0.045507006,
0.011128196,
0.021475216,
0.024429478,
-0.037837286,
-0.00798219,
0.049341865,
-0.007261378,
-0.03928601,
-0.03334908,
0.034371708,
0.023733523,
0.0014797944,
-0.0015543611,
0.014657686,
-0.002970241,
0.0063559255,
-0.005940482,
-0.0021162746,
-0.0064411443,
0.0003852614,
0.008173933,
0.042211864,
0.010588475,
-0.056074176,
-0.00633107,
0.022810316,
0.03505346,
-0.06652772,
0.009842807,
-0.009317289,
0.03028119,
0.021943921,
-0.028434776,
-0.08448055,
-0.03559318,
-0.00784726,
-0.060448755,
0.026559956,
0.027042864,
-0.010276005,
0.03005394,
-0.005922728,
-0.010439341,
-0.023406848,
-0.056613896,
-0.043887842,
-0.0028122307,
0.006462449,
-0.015012766,
0.045734257,
0.009807299,
-0.025963422,
0.019188503,
-0.021304777,
0.0472682,
-0.02550892,
-0.022639876,
-0.0031282515,
0.043944653,
-0.013684769,
0.036899876,
-0.015353643,
-0.020878682,
-0.0017896013,
0.017327886,
-0.004914302,
-0.023832945,
0.025480514,
0.035706807,
0.0065583205,
0.03812135,
0.018350516,
-0.0053368467,
-0.00009786882,
0.022597266,
-0.011199212,
-0.019643005,
-0.021517824,
-0.018208483,
-0.06255083,
-0.054795887,
0.029855095,
-0.04084836,
0.03028119,
-0.018350516,
-0.008124222,
0.017313682,
-0.03976892,
-0.003630689,
-0.030650472,
0.0025654503,
0.02109173,
0.018364718,
0.008997718,
-0.037979316,
-0.02465673,
0.007477977,
0.034400113,
-0.044143498,
-0.0013217839,
0.069822855,
0.008727857,
-0.020594617,
-0.033661548,
-0.032582108,
0.02582139,
-0.019941272,
0.013755784,
0.011802847,
-0.040961985,
0.0034318445,
-0.010659491,
-0.040337045,
-0.00043674794,
0.007343047,
0.016447289,
-0.0001259423,
-0.0066648447,
-0.015808145,
-0.046302382,
-0.031758323,
0.037354376,
-0.054341387,
-0.04218346,
0.0036928281,
0.017455714,
0.0383486,
0.00036506623,
0.03817816,
-0.01310954,
-0.020978104,
-0.022014936,
0.05198366,
-0.045649037,
-0.013201861,
-0.045080908,
-0.057153616,
0.042382304,
0.008550317,
0.036644217,
-0.03755322,
-0.009871214,
-0.04661485,
-0.0001657778,
-0.03130382,
-0.022710893,
-0.0031957165,
-0.0076200087,
-0.061925888,
0.067891225,
-0.031275414,
0.003438946,
0.022370016,
0.006132225,
0.0015445964,
0.055136763,
-0.004232549,
0.00046160351,
0.0024500494,
0.0039981967,
-0.0017700719,
-0.005631563,
0.040905174,
0.011256024,
-0.032837763,
0.04530816,
-0.061925888,
-0.005659969,
-0.003630689,
-0.015538285,
0.05164278,
-0.041899394,
0.008308863,
-0.012832577,
0.022909738,
-0.018165873,
0.017995436,
-0.021915514,
-0.04209824,
-0.032269638,
-0.089877754,
0.04499569,
-0.042552743,
0.010666592,
0.008479302,
-0.025097027,
0.07584501,
-0.05030768,
0.0070376783,
0.045507006,
-0.0028353108,
-0.009331493,
-0.045080908,
0.044654813,
0.00766972,
0.00069773145,
0.027795633,
-0.02974147,
-0.013926223,
-0.0055747502,
-0.0011912922,
-0.03905876,
-0.010787319,
0.023477865,
0.024202228,
0.008578723,
0.052921068,
0.038149755,
-0.017342089,
-0.0566423,
0.005645766,
0.044455968,
0.03067888,
0.015268424,
0.033093423,
-0.0036679725,
0.02386135,
0.044171907,
-0.035877246,
-0.017810794,
0.04607513,
0.0020843174,
-0.057948995,
0.017171651,
0.04249593,
-0.002728787,
-0.025139637,
-0.014153474,
-0.0078117517,
0.001507313,
-0.038547445,
0.03911557,
0.0060399044,
-0.02567936,
-0.0036111597,
0.0088769905,
-0.059994254,
0.019472567,
0.029713063,
-0.021588841,
-0.054000508,
0.008308863,
0.064539276,
-0.04601832,
-0.017129041,
-0.011263126,
-0.014338115,
-0.03707031,
-0.017611949,
0.016603524,
0.015169001,
0.006817529,
0.042978838,
0.020978104,
0.022952346,
-0.0039626886,
0.0036821757,
0.018563563,
-0.030224377,
-0.020537805,
-0.046756886,
0.027312724,
-0.012967508,
0.010240496,
-0.021730874,
0.0048042275,
0.023250613,
-0.008727857,
-0.03976892,
-0.10680795,
-0.0050208257,
-0.030394815,
-0.09919504,
-0.036729436,
-0.012789968,
0.0005592504,
0.029542625,
-0.032752544,
-0.067891225,
0.016532507,
0.03920079,
0.04990999,
0.025253262,
-0.0056351135,
-0.011064281,
-0.024401072,
-0.0022227985,
-0.046529632,
0.0027589686,
0.047609076,
0.027525773,
0.0040905173,
0.016262647,
-0.03067888,
0.010602677,
0.009019023,
-0.022441031,
-0.02069404,
-0.017640356,
-0.016063802,
0.03147426,
-0.03045163,
0.017029619,
0.036587406,
-0.028122306,
0.027554179,
-0.003944935,
-0.0077762436,
-0.022384219,
-0.0066151335,
0.05908525,
0.003504636,
-0.016035397,
0.010893843,
0.019330535,
-0.033661548,
0.014338115,
-0.034883022,
-0.020125913,
-0.027483163,
0.021489419,
0.024415275,
0.033462703,
0.027596788,
0.0015845428,
-0.013216063,
0.027397944,
-0.001141581,
-0.004008849,
0.017242666,
0.009672369,
-0.0072507258,
-0.033604737,
-0.0021340286,
0.012860984,
-0.053886883,
0.025707765,
0.018123263,
0.016205834,
-0.01573713,
0.07652676,
0.017583543,
0.029201748,
0.012058504,
-0.011767339,
-0.008330168,
-0.0023932366,
-0.026971849,
-0.011440665,
-0.048802145,
0.016177427,
0.025310075,
0.009487728,
-0.021219559,
-0.0026950543,
-0.0053936597,
0.009814401,
0.026900832,
0.02265408,
0.028434776,
0.022100156,
-0.03090613,
0.025579937,
-0.043319713,
-0.02055201,
-0.026503144,
0.01342201,
-0.022597266,
-0.034570552,
0.010467747,
0.052324533,
-0.002840637,
-0.016802369,
-0.027298521,
-0.010403833,
0.04891577,
0.008429591,
-0.0042254473,
0.057721745,
-0.037979316,
0.0490578,
0.0004979992,
-0.034059238,
-0.035848837,
0.030082345,
0.027199099,
0.017228464,
0.011433564,
0.030224377,
-0.034172863,
-0.03866107,
-0.018265296,
0.013798394,
0.04891577,
-0.037979316,
-0.013116641,
-0.0073075388,
0.06470971,
0.00048246444,
0.023804538,
0.022085954,
0.025125435,
-0.011234719,
-0.0035188391,
-0.06323258,
0.0021553333,
0.002150007,
0.044711627,
0.023974976,
-0.04633079,
0.0037425393,
-0.034059238,
0.039229196,
0.009125547,
-0.010439341,
-0.027653601,
-0.013904918,
-0.027369538,
0.0115755955,
-0.034343302,
-0.031417444,
-0.01011977,
-0.015637707,
0.057295647,
0.013748683,
0.00007822848,
0.023094378,
-0.011156602,
-0.0065796254,
-0.010112667,
0.05587533,
-0.04655804,
0.024230633,
-0.015481472,
0.029201748,
0.0058694663,
0.00079715374,
-0.026077047,
-0.047069356,
-0.018989658,
0.021063324,
-0.006636438,
-0.0057380865,
-0.0024997606,
-0.018094858,
0.029045513,
-0.040024575,
-0.0074211643,
-0.053432383,
0.01573713,
0.0086071305,
-0.041530114,
-0.032582108,
0.016660336,
-0.02015432,
0.04670007,
0.013130845,
0.069481984,
0.011412259,
0.08624174,
0.034684177,
-0.0017691843,
-0.017271074,
0.03138904,
-0.035337523,
0.014842329,
0.00040701003,
-0.027866649,
0.00354547,
-0.042836804,
-0.0072081164,
-0.015140595,
0.021773482,
0.018180076,
-0.056273017,
0.023065973,
-0.0004802452,
-0.034002423,
0.0075845006,
0.09925186,
-0.018805018,
0.013897817,
0.021560434,
-0.008003495,
-0.06737991,
0.027255911,
-0.071015924,
-0.00950193,
-0.042382304,
-0.020296352,
-0.008592927,
-0.037212346,
0.011078484,
-0.0016200508,
-0.017327886,
-0.034968242,
0.043660592,
-0.013372298,
0.026034437,
0.033093423,
-0.026545752,
-0.03857585,
0.026730394,
0.023690913,
0.015112189,
0.0619827,
0.05587533,
-0.003728336,
-0.022256391,
-0.025054418,
0.05587533,
-0.013130845,
0.013365197,
0.011192109,
-0.021233762,
-0.018251093,
-0.038689476,
-0.020523602,
0.014394928,
0.024230633,
0.029542625,
0.008401184,
0.000016450173,
-0.062494013,
-0.0072720307,
-0.03857585,
0.012342568,
0.02867623,
0.024585713,
0.010950656,
-0.045961507,
0.23952252,
0.086980306,
0.08237847,
0.009736284,
0.056983177,
0.050818995,
-0.0015445964,
0.027980274,
-0.020097507,
-0.016035397,
-0.018322108,
0.010929351,
-0.013187657,
-0.011319938,
0.0042645065,
0.025452107,
-0.061698634,
-0.006931154,
0.02350627,
-0.011405158,
0.00066976895,
-0.0033910105,
0.04709776,
0.012001691,
0.020892885,
0.044313937,
0.033831988,
-0.035621587,
-0.014160575,
-0.026645174,
0.013493026,
-0.016958604,
0.027639398,
-0.03028119,
-0.0056528677,
0.008017698,
-0.022909738,
-0.05806262,
0.028690433,
-0.0012223616,
0.022781909,
-0.027923461,
-0.0068530366,
-0.0027057067,
-0.008571622,
0.014643484,
-0.004878794,
0.038774695,
0.041444894,
-0.0320992,
0.021105932,
-0.05516517,
0.030394815,
-0.044569593,
-0.028420573,
0.021148542,
-0.033746768,
-0.029201748,
0.0012649712,
0.041615333,
0.005631563,
0.032922983,
-0.029911907,
-0.02515384,
0.0064411443,
0.05158597,
-0.016575117,
0.02680141,
-0.012392279,
-0.01212952,
-0.04141649,
-0.011234719,
-0.024642525,
-0.034286488,
0.018180076,
0.017398901,
-0.0147145,
0.05650027,
-0.03170151,
-0.0320992,
0.0026275893,
-0.021688264,
0.0075845006,
0.003501085,
-0.002858391,
0.061244134,
0.000020541911,
-0.009153953,
-0.026062844,
0.014785515,
0.024784558,
0.06306214,
0.017824996,
0.0410188,
-0.030309597
] | def forward(self, tensor, labels=None):
logits = self.model(tensor)
if labels is not None:
loss = torch.nn.cross_entropy(logits, labels)
return {"loss": loss, "logits": logits}
return {"logits": logits} |
[
0.020041263,
-0.009874345,
-0.028306456,
-0.02750188,
-0.028803831,
-0.0068681557,
-0.0068498696,
0.01702776,
-0.010379034,
0.058309834,
0.028789202,
-0.02083121,
0.0010541778,
-0.05544262,
0.006206209,
0.0020992127,
-0.008711367,
-0.028247941,
-0.05617405,
-0.0001063435,
0.023625284,
0.009362342,
-0.064834215,
-0.050585903,
-0.04953264,
-0.023537513,
0.030398354,
0.007892162,
0.05409678,
0.036483876,
-0.03066167,
0.006213523,
-0.004128939,
-0.032358594,
-0.01985109,
0.0042898543,
-0.008126221,
-0.022776822,
-0.05968493,
-0.051024765,
0.008704052,
-0.027428737,
0.002772131,
-0.03742011,
-0.02914029,
-0.002565501,
0.0010441205,
0.023478998,
0.011871157,
-0.044588152,
-0.01713016,
0.04657765,
0.008418794,
-0.012544075,
-0.040199555,
0.03373369,
-0.019763319,
0.005803921,
-0.05357015,
-0.005566205,
0.029857093,
0.018563768,
0.0040082526,
-0.06752589,
0.022513507,
0.018124908,
-0.011073895,
-0.025614783,
-0.035547644,
-0.045992505,
-0.0106862355,
-0.0024813863,
-0.005346775,
-0.018651541,
-0.011710241,
0.016954616,
0.0038729375,
0.03525507,
-0.014862718,
0.036805708,
-0.0047799144,
0.048976753,
0.014884661,
-0.002421043,
-0.015652666,
-0.0675844,
0.04637285,
-0.046840966,
0.007164386,
-0.02552701,
0.0012608076,
0.025980499,
-0.04669468,
0.0037632226,
0.005833178,
0.027852967,
0.003964367,
0.025468497,
0.020333836,
-0.019031886,
0.01932446,
0.09590549,
0.018051766,
0.02476632,
-0.038356345,
0.028364971,
0.051463623,
-0.019646289,
-0.05880721,
-0.009245313,
0.009669544,
-0.010971494,
0.030047266,
-0.021621158,
0.0078043896,
0.061381854,
0.013655853,
-0.016749814,
-0.033119284,
-0.004776257,
-0.015828209,
0.006721869,
-0.009420857,
-0.06887173,
0.019543888,
-0.022425735,
0.010525321,
0.023596028,
-0.040872473,
0.0028653888,
-0.0037851655,
-0.025395352,
-0.033558145,
0.029813208,
-0.015901353,
-0.022630535,
-0.04145762,
0.0102327475,
0.03209528,
-0.015769694,
0.047309086,
0.023522884,
0.0017627535,
0.06694075,
-0.062493633,
-0.00851388,
-0.0026825303,
-0.039643668,
-0.050030015,
0.004684828,
-0.038034514,
0.0385904,
-0.01581358,
0.0127123045,
-0.024298202,
-0.013780197,
-0.000744233,
0.023215683,
-0.0056722625,
0.016618157,
-0.016779073,
0.013641225,
-0.039409608,
0.049474128,
0.013355966,
0.03870743,
0.003092133,
-0.0039424235,
0.003359106,
-0.045904733,
0.0038034513,
-0.05819281,
0.030047266,
0.003073847,
0.034991752,
0.040345844,
0.051843967,
0.008806453,
0.032241564,
0.006078208,
-0.015126034,
-0.016983874,
0.021299329,
0.008213992,
0.011044638,
-0.034845468,
-0.012982935,
0.007745875,
-0.015842838,
0.01800788,
0.0309835,
0.043037515,
-0.03285597,
0.0113152675,
-0.032563396,
-0.00023977287,
-0.013597338,
0.032153793,
-0.02116767,
-0.029813208,
-0.013114593,
0.030047266,
-0.05488673,
0.03665942,
-0.03469918,
0.034201805,
0.024693176,
0.017261818,
-0.04066767,
0.022220934,
0.0026953304,
-0.009962117,
-0.022220934,
-0.003236591,
0.019251315,
0.016120782,
-0.040960245,
0.019265944,
-0.009903602,
-0.017773822,
0.023054767,
0.014877346,
0.028482,
-0.0064622103,
0.026594903,
-0.03882446,
0.0010660635,
0.03654239,
0.041633163,
0.040755443,
0.0046080276,
0.033207055,
-0.015755067,
0.056495883,
0.026785076,
0.024590775,
0.031276073,
0.035840217,
0.033587404,
-0.0024100717,
0.0025289294,
0.005877064,
0.033265572,
0.009625657,
-0.010086461,
-0.014694489,
-0.0055844905,
0.005266317,
-0.0237862,
0.033324085,
-0.059567902,
0.017978622,
0.0018066394,
0.0063159238,
-0.057519887,
-0.011498126,
0.022191675,
0.038268574,
-0.03010578,
-0.016018381,
0.006173294,
0.012595275,
-0.00059794646,
0.017042387,
0.0495619,
0.026316958,
0.02694599,
0.026682675,
0.00592095,
-0.07454765,
-0.021650415,
-0.027311707,
-0.090405114,
-0.039789952,
0.0001142864,
-0.018593026,
0.012463618,
-0.025775697,
-0.0010596635,
-0.026024384,
-0.005324832,
-0.021182299,
-0.037478626,
0.024971122,
0.020933611,
-0.009845087,
-0.07770744,
0.013392538,
-0.03194899,
0.008828396,
0.010276633,
-0.010810579,
-0.00035931644,
-0.023830086,
0.03306077,
-0.004414198,
0.0057819774,
-0.03490398,
-0.04941561,
0.03788823,
-0.0054930616,
0.0141459135,
-0.018490626,
0.023991002,
-0.018344339,
0.025878098,
0.00332802,
-0.041633163,
0.047279827,
0.064775705,
-0.010466806,
0.054389354,
0.029827837,
0.020904355,
-0.031012759,
0.023435112,
0.02652176,
-0.024268946,
-0.03270968,
-0.036805708,
-0.046226565,
0.0027337307,
0.015521008,
-0.0154039785,
-0.005613748,
0.048596404,
-0.044032265,
-0.056466624,
0.0058002635,
-0.043915235,
-0.046899483,
-0.007987248,
-0.022762194,
0.0086016515,
0.016764443,
0.009289199,
-0.06284472,
-0.03765417,
-0.011344525,
0.05105402,
0.040228814,
-0.016398728,
0.022952367,
0.015638037,
0.008170106,
0.019017257,
0.0042276825,
-0.018373596,
-0.0048274575,
0.025804956,
0.019631661,
0.0427742,
0.017393475,
0.03762491,
0.028525885,
0.04344712,
0.004480027,
0.06881321,
0.020582523,
-0.008111591,
0.024722435,
0.01375094,
-0.005811235,
0.016179297,
-0.013129221,
-0.011103152,
-0.0064146672,
0.018022507,
0.019368345,
-0.029593777,
0.015842838,
-0.039000005,
-0.00802382,
-0.012566018,
0.008499251,
-0.03949738,
0.034874722,
0.034728438,
0.07326032,
-0.048918236,
-0.0142044285,
-0.0072923866,
-0.019777948,
0.015038262,
0.0057380917,
0.015477122,
-0.00543089,
0.009603715,
-0.019792575,
-0.018666169,
0.010708178,
-0.012456303,
-0.0074642734,
-0.03001801,
-0.03970218,
-0.023596028,
0.017071646,
0.02028995,
0.025658669,
0.004421512,
0.007383816,
-0.025263695,
-0.013663168,
0.028277198,
-0.014928547,
-0.02498575,
-0.034991752,
0.02761891,
0.014350715,
-0.008689424,
-0.034377348,
-0.018724684,
0.018783199,
0.00905514,
-0.039087776,
0.0015396664,
-0.018724684,
0.0039607096,
-0.021460243,
0.058222063,
-0.0056722625,
-0.0056466623,
-0.05008853,
0.039672922,
0.042715684,
-0.06032859,
0.002933046,
-0.055471875,
0.04745537,
0.038561147,
-0.016398728,
-0.039789952,
-0.016676672,
-0.022396477,
-0.033148542,
0.016764443,
0.055939995,
-0.039087776,
0.025132036,
-0.019280573,
-0.013421795,
0.021196928,
-0.011783385,
-0.026316958,
-0.013472995,
-0.0006162323,
0.03042761,
0.008806453,
-0.034435865,
-0.052224312,
0.024356717,
-0.032885227,
-0.0016018382,
-0.05357015,
0.010218118,
0.02650713,
0.030515384,
-0.02532221,
0.03262191,
0.01702776,
-0.0035181926,
-0.016442614,
0.037507884,
-0.019090401,
-0.026653416,
0.018973371,
0.015594151,
-0.0082871355,
0.06881321,
-0.029842464,
-0.003161619,
0.025995128,
0.028555144,
-0.04464667,
0.02116767,
-0.0142922,
-0.0064000385,
-0.027779823,
-0.02094824,
0.012295388,
-0.04964967,
0.05140511,
0.016998501,
-0.034348093,
-0.013604653,
-0.055033017,
-0.049064524,
0.008382222,
-0.042276826,
0.03174419,
-0.040960245,
0.0038985377,
-0.007233872,
-0.009574457,
-0.012463618,
0.022074647,
-0.020641038,
0.023215683,
0.035430614,
-0.0007309758,
0.04842086,
-0.064307585,
-0.02674119,
0.03742011,
-0.026711931,
0.023069397,
-0.021240814,
-0.011468869,
0.009384285,
0.016691301,
-0.034611408,
0.021460243,
-0.0331778,
-0.0064475816,
-0.021343214,
-0.0033042484,
0.0110007515,
-0.025512382,
-0.001780125,
0.022294076,
-0.054652672,
-0.064834215,
-0.03022281,
0.021869846,
0.020772696,
0.024415232,
0.014123971,
-0.05327758,
-0.03973144,
-0.022615908,
0.046285078,
-0.009259941,
-0.009303828,
-0.04921081,
-0.047309086,
-0.04072619,
0.04113579,
0.012134473,
-0.007208272,
0.017247189,
-0.0024119,
0.018695427,
-0.056349594,
-0.021474872,
-0.01734959,
0.009947488,
-0.05172694,
0.025292952,
-0.020494752,
-0.01844674,
-0.010539949,
0.032153793,
0.035957243,
0.03762491,
-0.033528887,
-0.016252441,
-0.010247376,
-0.018198052,
0.0025069865,
0.013546138,
-0.006308609,
0.010225433,
-0.017803079,
0.06664817,
-0.006363467,
0.010869094,
0.016779073,
-0.023537513,
0.04552439,
-0.0025106436,
0.03610353,
-0.023405856,
0.026258443,
-0.038210057,
0.01854914,
-0.048099034,
0.003362763,
-0.010269319,
-0.03022281,
0.011527384,
-0.010649664,
-0.01985109,
0.025424609,
0.025175923,
0.03677645,
-0.009018568,
0.018783199,
0.05213654,
0.009106341,
0.008908854,
-0.03396775,
0.021635788,
0.027984625,
-0.0025344153,
0.0013778368,
0.022396477,
-0.034991752,
-0.0066889543,
-0.011410355,
-0.042306084,
-0.015257692,
0.0041106534,
0.032504883,
0.009025883,
0.06255215,
0.018475996,
-0.03209528,
-0.022937737,
0.009179484,
0.0076142172,
0.012756191,
0.01593061,
0.018578397,
0.01790548,
0.012931735,
-0.013707054,
-0.0022930424,
-0.008674795,
0.072675176,
-0.03306077,
-0.019192802,
0.034728438,
0.023040138,
-0.017291075,
-0.028496629,
-0.012353903,
0.0058441493,
-0.03361666,
-0.0034450493,
0.0237862,
-0.017188674,
-0.0237862,
0.01832971,
0.027750567,
-0.023259569,
-0.011922358,
-0.003293277,
-0.009406228,
-0.08648463,
0.0154039785,
0.011344525,
-0.021591902,
-0.0060928366,
-0.020070521,
0.021445615,
-0.021796701,
-0.010518006,
0.037156794,
-0.014255629,
0.030339839,
0.030310582,
-0.000901034,
0.049357098,
-0.009632972,
-0.001742639,
-0.006122094,
-0.029959494,
-0.05643737,
-0.0009362342,
0.026039014,
-0.006187923,
-0.010949551,
-0.009720745,
0.02292311,
0.03417255,
0.05345312,
-0.0076873605,
-0.075132795,
0.03575244,
-0.026931362,
-0.00067611836,
-0.0073289583,
0.032153793,
-0.033587404,
0.044792954,
-0.00051291735,
-0.027692052,
0.028291827,
0.03110053,
0.013553453,
-0.000028085882,
-0.068754695,
-0.014694489,
-0.029111031,
-0.02434209,
-0.034435865,
-0.025673296,
0.051200308,
0.05927533,
0.007413073,
0.004311797,
0.018037137,
0.016574271,
-0.0075337593,
0.013648539,
-0.022352591,
0.014687174,
-0.01047412,
-0.017408105,
-0.02716542,
0.043915235,
0.029476749,
-0.045992505,
0.006791355,
0.007321644,
-0.0073728445,
0.00166401,
0.011234811,
0.031890478,
0.0063854097,
0.019646289,
0.0236838,
0.019163543,
-0.05204877,
-0.013692426,
0.0056466623,
-0.04101876,
0.031334586,
0.013304765,
0.0052443743,
0.07244112,
-0.009698801,
0.04429558,
-0.03206602,
0.02400563,
0.047396857,
0.0077751325,
0.01790548,
0.0029403605,
-0.0055369474,
-0.056642167,
0.043183804,
0.028950118,
-0.055588905,
0.018914856,
-0.019821834,
-0.017729934,
-0.024488376,
-0.008316393,
0.008184735,
0.01593061,
0.011688299,
-0.008250563,
-0.009413542,
-0.028833088,
-0.0005005744,
-0.0083456505,
-0.07326032,
-0.041165046,
0.043885976,
-0.04368118,
0.006239123,
-0.04254014,
-0.04321306,
0.016866844,
0.040872473,
-0.0024283575,
0.025790326,
0.0017572677,
-0.014328772,
0.013897226,
-0.011366468,
-0.044588152,
0.0020425266,
-0.016603528,
-0.021577273,
0.0009755487,
0.0007419473,
0.047835715,
0.015608779,
-0.029374348,
-0.017700678,
0.016296327,
-0.002316814,
0.0051748883,
-0.026287701,
0.0029458462,
-0.03142236,
0.008791824,
0.017598277,
-0.0006198894,
-0.013728997,
0.023522884,
0.037946742,
-0.016267069,
0.004549513,
-0.013480309,
0.012880535,
-0.037917484,
-0.005193174,
0.006528039,
0.0151699195,
-0.012683048,
-0.0049152295,
0.013319395,
0.039409608,
0.060913738,
0.029286576,
0.014087399,
0.054798957,
0.0043154545,
-0.00036274505,
-0.031217558,
0.025834212,
0.022308705,
0.010700865,
0.029081775,
-0.0027831024,
-0.029769322,
-0.01064235,
-0.0022838993,
-0.007628846,
-0.011666356,
0.018285824,
-0.015901353,
-0.023888601,
0.01787622,
0.009069769,
-0.08086723,
0.004373969,
-0.019251315,
0.039438866,
-0.010869094,
0.023947116,
0.02476632,
0.009625657,
0.068462126,
0.049035266,
0.054184552,
0.0048128287,
0.026828961,
-0.017144788,
0.027984625,
-0.052312087,
-0.040989503,
-0.026653416,
-0.03390923,
-0.008506565,
0.00922337,
0.020567896,
-0.019456116,
0.0052699745,
-0.013158479,
0.01930983,
-0.052955747,
-0.009281884,
-0.049912985,
-0.019763319,
0.016310954,
-0.0011574926,
-0.0405799,
0.02323031,
0.029930238,
-0.01064235,
0.042276826,
0.04289123,
0.037683427,
0.05444787,
0.07846813,
-0.015755067,
0.03285597,
0.037800457,
-0.021752816,
-0.001692353,
0.0071205,
-0.0066670114,
0.013897226,
-0.025658669,
-0.043388605,
0.032387853,
0.0551793,
0.03469918,
-0.027092276,
0.045963246,
-0.01020349,
-0.0115712695,
0.013926484,
0.11117781,
0.005368718,
-0.013034135,
-0.043359347,
-0.015433236,
-0.046402108,
-0.008594337,
-0.050966248,
0.023815457,
-0.026009757,
-0.04046287,
-0.0005773749,
-0.06735035,
0.03575244,
0.028482,
0.009376971,
-0.0049993442,
0.016969245,
0.0113152675,
0.011081209,
-0.008608966,
-0.004242311,
-0.03183196,
0.07969694,
0.06863767,
0.01091298,
0.05008853,
0.05848538,
-0.02662416,
0.018505255,
0.0094866855,
0.024488376,
0.03370443,
-0.009259941,
0.026214557,
0.03361666,
-0.012865906,
-0.05105402,
-0.04046287,
0.043476377,
-0.02718005,
-0.012741562,
-0.043944493,
-0.0004763457,
-0.071973,
0.014701802,
0.009523258,
0.03973144,
-0.01015229,
-0.0046445993,
-0.026039014,
-0.06618006,
0.25559193,
0.029257318,
0.048918236,
0.016003754,
0.057490632,
0.03162716,
0.027004505,
0.019470746,
-0.011300639,
-0.04593399,
0.020684924,
-0.041486878,
-0.041369848,
0.017261818,
0.0016365813,
0.028189426,
-0.028847717,
-0.030895729,
0.009815831,
-0.007036385,
-0.048040517,
0.040141042,
-0.02042161,
0.08385147,
0.022103904,
-0.014109342,
0.02170893,
-0.075132795,
0.018812455,
-0.022615908,
0.039906982,
0.0041837967,
0.036191303,
-0.028818458,
-0.040316585,
-0.005390661,
0.023771571,
-0.03294374,
-0.002565501,
-0.033265572,
0.0076069026,
-0.03186122,
0.018081022,
-0.029330462,
-0.043710433,
0.0064951247,
-0.027121535,
0.06541936,
0.02704839,
-0.054857474,
0.03589873,
-0.033997003,
0.0062903236,
-0.056964,
-0.03870743,
0.021460243,
-0.066531144,
-0.056612913,
-0.013611968,
0.014672546,
0.005251689,
0.037390854,
-0.041106533,
0.026960619,
0.0041362536,
0.03581096,
-0.0039204806,
0.018358968,
-0.02892086,
0.007445988,
0.020567896,
0.03221231,
-0.035225812,
-0.04134059,
0.019660918,
0.019192802,
-0.030252067,
0.06032859,
0.02312791,
-0.06618006,
-0.021211555,
-0.013977684,
0.03022281,
-0.034114033,
0.014489687,
0.0377712,
-0.051141795,
-0.007325301,
-0.026902104,
0.013509567,
0.030135037,
0.013955741,
0.016954616,
0.068696186,
-0.0023661857
] |
You can have your model return anything you want, but returning a dictionary like we did for
ResnetModelForImageClassification, with the loss included when labels are passed, will make your model directly
usable inside the [Trainer] class. Using another output format is fine as long as you are planning on using your own
training loop or another library for training.
Now that we have our model class, let's create one:
py
resnet50d = ResnetModelForImageClassification(resnet50d_config)
Again, you can use any of the methods of [PreTrainedModel], like [~PreTrainedModel.save_pretrained] or
[~PreTrainedModel.push_to_hub]. We will use the second in the next section, and see how to push the model weights
with the code of our model. But first, let's load some pretrained weights inside our model.
In your own use case, you will probably be training your custom model on your own data. To go fast for this tutorial,
we will use the pretrained version of the resnet50d. Since our model is just a wrapper around it, it's going to be
easy to transfer those weights: |
[
0.01702199,
-0.029671893,
-0.021889579,
-0.033373594,
-0.0041753426,
0.028666314,
0.005410457,
-0.022370508,
-0.016220441,
0.043633424,
0.05844022,
0.0019984078,
0.031420726,
-0.06639742,
0.013174553,
0.040048312,
-0.019018576,
-0.001905501,
-0.065289825,
-0.0010948433,
0.022239346,
-0.00082295417,
-0.07724019,
-0.041068465,
-0.017313462,
-0.011141533,
0.027835617,
-0.0128320735,
0.023550972,
0.06616424,
0.0059788283,
-0.01782354,
0.016191293,
-0.0016313348,
-0.044478692,
-0.02108803,
-0.029832203,
-0.025737016,
-0.03972769,
-0.012897654,
0.03987343,
-0.019368343,
0.050016668,
-0.05645821,
-0.047714036,
-0.013269282,
0.00075509574,
0.0034867388,
0.0066565014,
-0.051095117,
0.014442459,
-0.0036124364,
0.028884917,
0.02483345,
-0.047043648,
0.014282149,
-0.014427885,
-0.019747257,
-0.04375001,
0.01295595,
0.0338108,
-0.009101226,
-0.0011768199,
-0.046868768,
0.023813298,
0.008671304,
-0.004251854,
0.021714695,
-0.004423094,
-0.0035559635,
-0.022035316,
0.0151711395,
-0.03319871,
-0.011323703,
0.0029365846,
0.025824457,
0.0037454206,
0.0058294483,
-0.0019929428,
0.064881764,
0.0031642974,
0.016409898,
0.04998752,
-0.053747516,
-0.030692047,
-0.015885247,
0.011462153,
-0.033519328,
-0.05896487,
-0.012628043,
-0.0021459658,
0.03774568,
-0.0045178225,
-0.0048347986,
0.03509328,
0.017080285,
-0.0154043175,
0.03742506,
0.014311296,
-0.03506413,
0.02442539,
0.06359928,
0.015054551,
0.008423553,
-0.023550972,
0.01297781,
-0.011425719,
0.006292161,
-0.009130374,
-0.02889949,
-0.017371757,
0.024002755,
-0.040747844,
-0.028680887,
-0.025562132,
0.012139826,
-0.0012414904,
0.026728021,
-0.05191124,
-0.0011859285,
0.033431888,
0.006204719,
-0.012278276,
-0.08219522,
-0.0027744533,
-0.027966779,
-0.025897324,
0.05161977,
-0.0060990606,
-0.023376089,
-0.0070609194,
-0.040019166,
-0.0003989529,
0.06814625,
-0.007855182,
-0.0026760811,
0.0046234815,
0.03212026,
-0.0068168114,
-0.029773908,
0.015258581,
-0.0075855698,
0.00010440633,
0.05768239,
-0.002242516,
-0.031158403,
0.0004736427,
-0.038212035,
-0.03159561,
-0.0032007315,
-0.04048552,
0.0040951874,
0.007906189,
0.027267246,
-0.002615965,
-0.009735179,
0.0023244927,
-0.004000459,
0.02478973,
0.012307423,
0.0037563508,
-0.006284874,
-0.039698545,
0.04640241,
-0.01807129,
0.04631497,
-0.0030549953,
-0.0054869684,
0.008000918,
-0.029074375,
0.043050475,
-0.032499176,
0.024600273,
0.008897196,
0.06080115,
0.0031642974,
0.0169054,
0.026043061,
0.014908815,
0.005986115,
-0.012890368,
-0.016992843,
0.06674719,
0.02124834,
0.05179465,
-0.0051262714,
-0.04587776,
0.020155318,
0.016205866,
0.03375251,
0.0060917735,
0.019747257,
-0.013218274,
0.04511993,
-0.05631247,
0.00018604139,
-0.025693294,
0.040864434,
-0.013043391,
-0.017313462,
-0.010558588,
0.065523,
-0.06610595,
0.0269612,
-0.033023827,
0.008051925,
0.010631457,
0.03255747,
-0.0053011547,
0.0151711395,
0.037658237,
0.0013635445,
-0.064065635,
0.0017342609,
-0.024294227,
-0.0034830954,
-0.039785985,
0.019499505,
-0.03150817,
-0.039494514,
0.023332367,
0.023886165,
0.032732353,
-0.015520907,
0.0066273543,
-0.008715025,
-0.024337947,
0.042613268,
0.020097023,
0.0009427311,
-0.009072079,
0.042525828,
-0.01450804,
0.07065292,
-0.0182316,
-0.0134806,
0.037541647,
0.038124595,
-0.0055707665,
0.012781066,
0.0005255612,
0.032061968,
-0.0022297641,
0.05284395,
-0.02917639,
-0.011119673,
0.023361515,
0.010835487,
0.017065711,
0.030283986,
-0.020971442,
0.07764825,
0.019688962,
0.018158732,
-0.026946625,
0.017138578,
0.005337589,
0.01448618,
-0.02067997,
-0.022108184,
0.019484932,
0.012664476,
-0.07246005,
-0.032615766,
0.008904482,
0.044741016,
0.0026214302,
0.022312215,
0.0018672452,
-0.037337616,
-0.016817959,
-0.028884917,
-0.043837454,
-0.0016003657,
-0.012897654,
-0.0035960411,
0.041942883,
-0.017167727,
0.05147403,
0.001298874,
-0.012773779,
0.024906319,
-0.02140865,
0.071993686,
0.038212035,
0.019892992,
-0.03585111,
0.029292978,
-0.040194046,
0.0033810802,
-0.007359679,
-0.016001835,
0.037570797,
-0.01658478,
0.034830954,
0.0112581225,
0.014048971,
-0.025853604,
-0.049900077,
0.027719028,
-0.015185714,
0.034481186,
0.023492677,
0.029875923,
-0.015141993,
0.013582615,
-0.019688962,
-0.038853273,
0.040252343,
0.027514996,
-0.022239346,
0.02478973,
-0.0040879007,
0.031828787,
-0.02720895,
0.024221359,
0.012183547,
-0.032382585,
-0.0449159,
-0.015885247,
-0.008620297,
0.0021496092,
-0.026946625,
0.015958115,
-0.019266328,
0.05634162,
0.006722083,
-0.07018656,
0.02309919,
-0.047160238,
-0.012700911,
-0.052377596,
-0.016992843,
0.012380291,
-0.007549136,
0.03582196,
-0.03232429,
-0.009174095,
-0.028710034,
0.02897236,
0.023448957,
-0.008212236,
0.074034,
0.03931963,
0.03296553,
-0.029992513,
0.011943082,
-0.0391156,
-0.017473772,
-0.0064670444,
0.0154043175,
0.018945707,
0.017779818,
0.027602438,
0.011163394,
0.03783312,
0.0022680198,
0.0034685219,
0.01263533,
-0.0010493008,
0.020840278,
0.03573452,
0.0051845657,
-0.004907667,
-0.03509328,
0.0064269667,
0.005046116,
-0.007057276,
0.054388754,
0.003535925,
0.036434054,
-0.019310048,
-0.038969863,
0.014078118,
-0.032848943,
-0.020432217,
-0.0010310838,
0.052610774,
0.012766493,
-0.018362762,
-0.048530158,
0.014857807,
0.0045178225,
0.029730188,
0.037483353,
0.01231471,
-0.0043538692,
0.012919515,
-0.024979187,
-0.020577952,
0.049317133,
-0.012147114,
0.0044085206,
-0.021394076,
-0.042525828,
-0.04532396,
0.017488346,
0.04724768,
0.023580119,
0.03553049,
0.022093609,
-0.0017634082,
-0.014449745,
-0.0005246504,
-0.02362384,
-0.014260288,
-0.046227526,
0.048675895,
0.019062297,
-0.010354558,
-0.015928969,
-0.008853475,
0.0061172773,
-0.001182285,
-0.029059801,
-0.005690999,
-0.017692376,
-0.017124005,
-0.016613929,
0.039028157,
-0.04278815,
-0.07350934,
-0.047510006,
0.049958374,
0.021117177,
-0.06715525,
-0.018406484,
-0.042963035,
-0.00016611652,
0.027150657,
-0.02768988,
-0.048326127,
-0.0074471203,
-0.004124335,
-0.044041485,
-0.018523073,
0.05252333,
-0.047801476,
0.0081976615,
-0.031479023,
-0.0444204,
0.016439045,
-0.055146582,
-0.0042482107,
0.022166478,
0.020271907,
-0.03762909,
-0.015069124,
-0.007906189,
-0.006230223,
0.033985686,
-0.023973607,
0.008962777,
-0.035996843,
0.020009583,
-0.007811461,
0.00007150183,
0.0070171985,
0.023215778,
0.018610515,
-0.020315628,
0.00010730967,
0.03783312,
-0.0327615,
-0.033985686,
0.006878749,
0.027544145,
-0.013254709,
0.040718697,
0.009589443,
-0.04946287,
-0.0028655382,
0.017808964,
-0.024731435,
0.03794971,
0.0032025534,
0.015069124,
0.001287033,
-0.03634661,
0.05325201,
-0.06260828,
0.057857275,
-0.032615766,
-0.020505086,
-0.007144718,
-0.08336111,
-0.025489263,
0.01162975,
-0.0086858785,
0.011957657,
0.0006904253,
-0.032061968,
0.00042718928,
0.0058039445,
0.017998422,
-0.038736686,
-0.037658237,
-0.01697827,
0.04258412,
0.005494255,
0.032819796,
-0.037862267,
-0.047451712,
0.042146914,
-0.0062703006,
0.031420726,
-0.00034088612,
-0.0056290613,
-0.020475937,
-0.013538894,
-0.011986803,
-0.022793144,
0.007884329,
-0.0014427885,
-0.006492548,
-0.049492016,
0.027791895,
-0.014697497,
-0.020111598,
0.058585957,
0.015039977,
-0.05368922,
-0.012526028,
0.019543227,
-0.018304469,
0.018319042,
-0.0008521014,
-0.038299475,
-0.042963035,
-0.00725402,
0.0613258,
-0.028462281,
0.012868508,
-0.019266328,
-0.042234354,
-0.0091522345,
0.010740759,
0.010339985,
-0.036608938,
0.0047072796,
-0.036200874,
0.028578872,
-0.064065635,
-0.018945707,
-0.030371428,
-0.026698874,
-0.017561214,
0.02833112,
-0.003289995,
-0.012249129,
0.016453618,
0.0146173425,
0.009531149,
0.003920304,
-0.04564458,
0.0020111597,
0.005293868,
0.020213613,
-0.01654106,
0.050045814,
0.01722602,
0.02438167,
0.0077896006,
0.0443621,
-0.0041753426,
-0.018785398,
0.0097060315,
-0.0022370508,
0.053310305,
-0.013451452,
0.030196544,
-0.013509747,
-0.01589982,
-0.0013772072,
-0.004743714,
-0.030313132,
0.03223685,
-0.017109431,
-0.083652586,
0.024002755,
-0.0070244856,
0.0027708097,
-0.0020967796,
0.008000918,
0.04144738,
-0.03340274,
-0.024498258,
0.037658237,
0.012249129,
0.017721523,
-0.05202783,
0.055263173,
0.021598106,
-0.0107480455,
0.00070363266,
0.027864764,
-0.03669638,
0.0017251524,
0.032295145,
-0.040747844,
-0.037395913,
0.030138249,
0.004437668,
0.00659092,
0.01839191,
0.026013914,
-0.03794971,
-0.013487887,
0.018989429,
0.013036104,
-0.010449287,
0.016366176,
0.0038073584,
-0.013006957,
0.033111267,
0.014610055,
-0.015841527,
0.014449745,
0.06931214,
0.019907566,
-0.029773908,
-0.0013644553,
0.028564299,
-0.036404904,
-0.05698286,
-0.016570207,
-0.010420139,
-0.0107261855,
-0.015579201,
0.008569289,
-0.023842445,
-0.019280901,
0.018479351,
0.02805422,
-0.006813168,
-0.0045178225,
-0.012132539,
-0.0348601,
-0.0449159,
0.028389415,
0.031129254,
-0.053018834,
-0.028345693,
-0.056633092,
-0.02748585,
-0.051940385,
-0.0306629,
0.05537976,
0.0021915082,
0.024775157,
0.006550843,
0.016220441,
0.039494514,
-0.03002166,
0.024265079,
-0.0058840998,
-0.07636578,
-0.060393088,
-0.03675467,
-0.00879518,
-0.019718109,
-0.021190045,
0.005312085,
0.02917639,
0.022239346,
0.071177565,
-0.010405566,
-0.056050148,
0.004149839,
-0.018595941,
-0.009312544,
0.0549717,
-0.0021350356,
0.036521494,
0.022093609,
0.0169054,
-0.03086693,
0.0068751057,
-0.0044923187,
-0.04313792,
-0.006769447,
-0.036404904,
0.0057019293,
-0.055438057,
-0.0013717421,
-0.047918066,
-0.015112845,
0.005202783,
0.017109431,
-0.011906649,
0.025416395,
-0.010536728,
0.041768,
0.011265409,
0.023332367,
-0.02394446,
0.019543227,
0.003523173,
-0.009859054,
-0.0443621,
0.028301973,
0.008263243,
-0.016366176,
0.007443477,
-0.023827871,
0.0021514308,
-0.004117048,
-0.0053266585,
0.042001177,
-0.017284315,
-0.009538435,
0.0149161015,
0.0219333,
-0.060917735,
-0.0045615435,
-0.030896077,
-0.050716203,
0.028549723,
0.01834819,
0.022297641,
0.03666723,
0.008000918,
0.054184724,
0.009953783,
0.055554643,
0.03553049,
0.026494844,
0.020461364,
0.015768658,
-0.033023827,
-0.022647407,
0.011520447,
0.0125988955,
-0.04089358,
0.04608179,
-0.0048639462,
0.0016732339,
-0.046227526,
0.0042846445,
0.004073327,
0.03561793,
0.014136412,
-0.028476857,
0.0035832892,
-0.046373263,
-0.016803386,
0.015506333,
-0.06534812,
-0.023682134,
0.0041279783,
-0.09583613,
-0.0012587965,
-0.025256086,
-0.030313132,
0.02225392,
0.038940717,
0.0032298788,
0.03722103,
-0.0008070143,
-0.015025403,
0.0008903572,
0.0022498027,
-0.029132668,
0.026786316,
-0.019907566,
-0.01896028,
-0.041884586,
-0.0077968873,
0.049550314,
-0.0026851897,
0.021117177,
-0.030050807,
-0.03223685,
-0.029934218,
0.076715544,
-0.012649903,
-0.008569289,
-0.058265336,
0.0048930934,
0.010813627,
0.006372316,
-0.05252333,
0.02954073,
0.04619838,
-0.0054286737,
0.023959033,
0.003535925,
0.03316956,
-0.015943542,
0.032703206,
0.021714695,
0.05252333,
-0.0011968586,
0.016526487,
0.02378415,
0.043487687,
0.04552799,
0.04313792,
0.03975684,
0.009101226,
0.022880586,
-0.026188798,
-0.04153482,
0.031274993,
0.06470688,
-0.0028108873,
0.02853515,
0.017925555,
-0.0120669585,
0.004080614,
0.008365259,
0.0060079754,
0.0003634297,
-0.006824098,
-0.001862691,
-0.02483345,
0.01565207,
-0.002493911,
-0.013079825,
-0.008671304,
0.00147649,
0.068262845,
0.029846776,
0.023113763,
0.01702199,
0.031653907,
0.03424801,
-0.019820126,
0.015564627,
-0.015098272,
0.031245844,
0.003694413,
0.041593116,
-0.03582196,
0.009086653,
-0.02394446,
-0.04946287,
0.007891616,
0.027500423,
0.013633623,
-0.0074981283,
-0.053543486,
0.001470114,
0.014799512,
-0.045615435,
0.02515407,
-0.059751846,
0.0011294556,
0.05677883,
0.001286122,
-0.011673471,
0.0222102,
0.000897644,
0.008117507,
0.024877172,
0.040631257,
-0.009283396,
0.047626596,
0.0053412323,
0.010981224,
0.02213733,
0.000735057,
-0.036871262,
0.0020603456,
0.022035316,
-0.0029420499,
-0.00014505307,
-0.019324621,
-0.054038987,
0.011163394,
-0.0047145663,
-0.04692706,
-0.030925224,
0.025139496,
-0.0018672452,
-0.081437394,
-0.03445204,
0.101607285,
0.064123936,
0.00017340333,
-0.02218105,
-0.017881833,
-0.04882163,
0.004521466,
-0.043691717,
0.043487687,
-0.008051925,
-0.03360677,
0.0005433228,
-0.013983389,
0.01569579,
-0.008700452,
0.011017658,
-0.022064462,
0.009545722,
0.030983519,
0.050891086,
0.01766323,
-0.025256086,
-0.029161816,
0.015316876,
0.05887743,
-0.0037964284,
0.026013914,
0.05558379,
-0.030313132,
-0.0051699923,
0.017619507,
-0.009370838,
-0.0031278634,
-0.009385412,
0.0133421505,
-0.020359349,
-0.006652858,
-0.021641828,
-0.0005182744,
-0.0021350356,
-0.038357772,
-0.022268493,
-0.02410477,
-0.0027216238,
-0.07246005,
-0.032295145,
-0.04366257,
0.0026232519,
0.01014324,
-0.029526157,
-0.0043611564,
-0.039931722,
0.25206536,
0.02869546,
0.017808964,
0.026101356,
0.099042326,
0.10172388,
0.029190963,
0.0259119,
0.055350613,
-0.065056644,
0.018217027,
-0.030633751,
0.016133,
0.025970193,
-0.017794391,
0.024935465,
-0.056603946,
-0.007971771,
0.00252488,
-0.012919515,
-0.07327617,
0.00081384566,
-0.0071520046,
0.0760743,
0.026072208,
-0.020140745,
0.0025503838,
-0.07018656,
0.02551841,
-0.03582196,
-0.010055799,
-0.03241173,
0.00760743,
-0.0034138707,
0.003993172,
0.007039059,
-0.024294227,
-0.041797146,
-0.02736926,
0.02289516,
0.0029730187,
-0.055875264,
0.03996087,
0.013742925,
-0.026407402,
0.0044085206,
-0.006842315,
0.012526028,
0.032061968,
-0.024337947,
0.03605514,
-0.05202783,
0.0018417414,
0.015302302,
-0.023638414,
0.004007746,
-0.030983519,
-0.054942552,
0.005869526,
-0.0010329054,
-0.023871591,
0.028229104,
-0.06470688,
0.017007416,
-0.009348978,
-0.017838113,
-0.012394865,
0.00707185,
-0.0019856559,
-0.015375171,
0.033635918,
-0.0013580794,
-0.012577035,
-0.02849143,
0.029292978,
0.019863846,
-0.03296553,
0.050133258,
0.010901068,
-0.04028149,
-0.01782354,
-0.020067876,
0.022866013,
-0.05179465,
0.026392829,
0.02515407,
-0.024075622,
-0.017502919,
0.035268165,
-0.004638055,
0.009808047,
0.08656731,
0.057332627,
0.020097023,
0.020344775
] | In both cases, notice how we inherit from PreTrainedModel and call the superclass initialization with the config
(a bit like when you write a regular torch.nn.Module). The line that sets the config_class is not mandatory, unless
you want to register your model with the auto classes (see last section).
If your model is very similar to a model inside the library, you can re-use the same configuration as this model. |
[
0.028973095,
-0.0013458906,
-0.011144046,
-0.028048575,
0.012580611,
0.028247701,
-0.020695068,
-0.020168802,
-0.03635505,
0.088355854,
0.034591343,
-0.0049888627,
0.06383468,
-0.044633076,
-0.0036518618,
0.017622812,
-0.037066218,
-0.035700772,
-0.056950554,
-0.012957531,
0.00778732,
0.021975176,
-0.06252613,
-0.060876217,
-0.027266286,
0.008491378,
0.051545657,
0.031376854,
0.03129151,
0.029158,
-0.013035759,
-0.013931835,
0.023454411,
-0.026270647,
-0.038972158,
-0.014251862,
-0.002259745,
-0.021135995,
-0.054674808,
-0.030352768,
0.019713653,
0.007460181,
0.0070370343,
-0.035501644,
-0.03077947,
-0.012516605,
0.022430325,
0.016982757,
0.007509963,
-0.011094264,
0.00048892986,
0.015546192,
0.048928548,
-0.016684067,
-0.0327423,
-0.016925864,
-0.030637236,
-0.02112177,
-0.04659591,
-0.03444911,
0.035928346,
0.020296812,
-0.019102046,
-0.038317878,
0.019002482,
0.030580342,
-0.0054404563,
0.015133713,
-0.017665481,
-0.027095605,
-0.015091043,
0.0033389467,
-0.028148137,
-0.024663402,
-0.015261724,
0.04872942,
0.017124992,
0.008654948,
-0.0122890305,
0.038346328,
-0.019841664,
0.011513854,
0.022956591,
-0.0012916639,
-0.015887555,
-0.037180007,
0.026099967,
-0.01961409,
-0.048558738,
-0.04053673,
-0.0052768867,
0.01807796,
-0.026555115,
0.019230057,
0.018902918,
0.018518886,
0.006837907,
0.0034349547,
0.0197421,
-0.014707011,
0.02036793,
0.08852653,
-0.012161019,
0.031832002,
-0.049668163,
0.008391814,
-0.015375512,
0.018177524,
-0.0354163,
0.009543912,
-0.00047559544,
0.001191211,
0.0074530696,
-0.0025246562,
0.0110160345,
0.00845582,
-0.013149547,
0.010070178,
-0.03157598,
-0.021719154,
-0.027351627,
0.00047115062,
0.017608587,
-0.06696384,
-0.008342033,
-0.044007245,
-0.008427373,
0.042869374,
-0.031234618,
-0.031746663,
0.030665683,
-0.03410775,
-0.0021441798,
0.04315384,
0.0085696075,
-0.030182086,
-0.02561637,
0.015133713,
0.04099188,
-0.0133628985,
0.006756122,
-0.02740852,
-0.0032500504,
0.07674955,
-0.032002684,
-0.03641194,
-0.023539752,
-0.035928346,
-0.049127676,
-0.04352365,
-0.030836364,
-0.010127071,
-0.023155719,
0.019400738,
-0.031632874,
0.001289886,
-0.016541831,
0.006347199,
-0.013405569,
-0.0015441295,
-0.004345253,
-0.018049514,
-0.02803435,
0.062014088,
-0.015133713,
0.059340086,
-0.008384703,
-0.03626971,
-0.023084601,
-0.015631532,
0.021434687,
-0.058316,
0.026469775,
0.006926803,
0.019258503,
-0.0014596779,
0.051403422,
0.020026568,
0.015318618,
-0.025602147,
-0.017267225,
-0.038829923,
0.028574841,
0.024805635,
0.005369339,
-0.007488628,
-0.025929285,
-0.0058671585,
-0.025957732,
0.02032526,
0.05168789,
0.046965715,
-0.04648212,
0.025730157,
-0.021320898,
0.010013284,
-0.048843205,
0.0014934585,
-0.012552164,
-0.048046697,
-0.03311211,
0.0314053,
-0.06451741,
0.015475076,
-0.034050856,
0.028788192,
0.020282589,
0.042015966,
-0.006734787,
0.005323113,
0.012132573,
0.015930224,
-0.018874472,
0.00962214,
0.01932962,
0.015019926,
-0.02978383,
0.0070903725,
0.0034225092,
-0.031177726,
0.049668163,
0.044121034,
0.044092584,
-0.0021530695,
0.0048750755,
-0.026811138,
-0.03410775,
0.06531392,
0.050009526,
0.039142836,
-0.012893526,
0.025730157,
-0.032713853,
0.08488534,
0.0056538074,
0.024805635,
0.019557195,
0.045287352,
0.011087152,
-0.0034136195,
-0.0147354575,
0.013988729,
0.03373794,
0.026825361,
-0.00029913618,
-0.01386783,
-0.005632472,
0.014152298,
-0.012445488,
0.03516028,
-0.049298357,
0.05185857,
0.012793962,
0.018390875,
-0.033624154,
-0.00666367,
-0.0011449849,
0.040622074,
-0.0502371,
0.008804293,
0.015674204,
0.0011396512,
-0.03473358,
-0.022913922,
0.04722174,
0.056324724,
0.030751023,
0.029755384,
0.0021672929,
-0.028859308,
-0.056125596,
-0.029812278,
-0.06508635,
-0.0049248575,
-0.004583495,
-0.0033976182,
0.037578262,
0.0016161355,
0.018262865,
-0.020595504,
-0.006884133,
0.021946728,
-0.031348407,
0.041247904,
0.021306675,
0.0008929638,
-0.05860047,
0.007630862,
-0.04272714,
-0.0003682531,
-0.025787052,
0.00038225428,
0.013505132,
-0.021392016,
0.0168263,
-0.0016890306,
-0.0034865146,
-0.04673814,
-0.006396981,
0.01370426,
-0.013896276,
0.000019793326,
-0.000027030044,
0.00389366,
-0.021392016,
0.019372292,
0.015190607,
-0.04414948,
0.053650722,
0.04090654,
-0.011030259,
0.04477531,
0.032685407,
0.012310365,
-0.024009123,
0.035956793,
0.0092309965,
-0.0035362965,
-0.049497485,
-0.041816838,
-0.012573498,
0.0026953372,
-0.022601007,
-0.014116739,
-0.024393156,
0.049781952,
-0.007460181,
-0.05723502,
0.025275009,
-0.045258906,
-0.030466555,
-0.037692048,
-0.009707481,
0.023184165,
0.029414022,
0.03749292,
-0.079651125,
-0.0035274068,
-0.012765515,
0.046339884,
0.021107547,
-0.04377967,
0.05535753,
0.028418383,
0.0138251595,
-0.0038225427,
0.016484939,
-0.031547535,
-0.0004460374,
0.0030029186,
0.05015176,
0.029670043,
0.029897617,
0.018390875,
0.011648977,
0.014422542,
-0.007140154,
0.04047984,
0.0284895,
0.023468634,
0.031888895,
0.01641382,
-0.00028157915,
0.003349614,
-0.011001811,
-0.013007313,
0.01732412,
0.017836163,
0.02436471,
-0.048075143,
0.007125931,
-0.028304596,
0.0010009728,
-0.004935525,
0.02462073,
-0.03803341,
0.0045550484,
0.04784757,
0.061957195,
-0.015219054,
-0.03436377,
0.01437276,
0.0022206306,
0.01307843,
0.032600068,
0.024307815,
0.0005044867,
0.030665683,
-0.07123086,
-0.070946395,
0.022160081,
-0.012153908,
-0.005056424,
-0.0111155985,
-0.04659591,
-0.019727876,
0.018191747,
0.0117272055,
0.035757665,
0.025929285,
0.03828943,
-0.0024962092,
-0.0032660516,
0.015446628,
-0.030068299,
0.0044590407,
-0.059340086,
0.04227199,
0.032856088,
-0.015517745,
-0.05786085,
-0.006101845,
0.012680175,
-0.012033009,
-0.01987011,
-0.0007027256,
-0.024094464,
-0.012637504,
-0.032088023,
0.043665882,
-0.035928346,
-0.044462394,
-0.013533579,
0.043296076,
0.04835961,
-0.07396176,
0.00041359023,
-0.04372278,
0.006901912,
0.031007044,
-0.05052157,
-0.045372695,
0.006685005,
-0.022956591,
-0.029470915,
0.010560885,
0.047449313,
-0.01695431,
-0.008868299,
-0.014593224,
-0.022970814,
0.002209963,
0.00022913032,
-0.028176585,
0.0022010733,
0.0081571285,
0.022643676,
0.017793491,
-0.024307815,
-0.03348192,
0.016143575,
-0.020595504,
-0.00899631,
-0.03939886,
0.027949011,
0.0062547466,
-0.0043132505,
0.00530889,
0.046453673,
0.006610332,
-0.053764507,
-0.005084871,
0.050265547,
-0.024876753,
-0.046908822,
0.022387655,
0.028731298,
0.0174948,
0.047079504,
-0.021392016,
-0.021676484,
0.02449272,
0.024350487,
-0.05609715,
0.018561557,
-0.014749682,
0.022913922,
-0.008882523,
-0.030551895,
0.03865924,
-0.060876217,
0.050464675,
-0.040821202,
-0.008014894,
0.024265146,
-0.056950554,
0.006948138,
0.00916699,
-0.046140756,
-0.0030562563,
0.007659309,
-0.0054048975,
0.010155519,
-0.0040536732,
-0.013832271,
0.0021281785,
-0.05660919,
0.005084871,
0.06582596,
-0.004419926,
0.022785911,
-0.0682155,
-0.09068849,
0.009401677,
-0.036383495,
0.06155894,
-0.00505998,
-0.009202549,
-0.038744584,
0.018646898,
-0.026939148,
-0.0011040926,
-0.0065996647,
-0.030182086,
-0.014116739,
-0.0132633345,
-0.014159409,
-0.045002885,
-0.023923784,
0.05399208,
-0.02827615,
-0.066906944,
-0.007687756,
0.026896477,
0.00007895107,
0.0007631751,
0.03402241,
-0.04323918,
-0.031718217,
-0.009344784,
0.042954713,
-0.06172962,
0.011940557,
-0.02699604,
-0.044547737,
0.0049177455,
0.03282764,
0.0061907414,
-0.030580342,
0.004320362,
-0.055898022,
0.0007485072,
-0.019059377,
-0.014251862,
-0.03911439,
0.0354163,
-0.040451393,
0.019173164,
-0.022401879,
0.01507682,
0.009679033,
0.032856088,
0.021292452,
0.016684067,
-0.028133914,
-0.01624314,
-0.0034794027,
-0.029086884,
0.0047790674,
0.026555115,
-0.023098826,
0.022643676,
-0.004231466,
0.03353881,
-0.037180007,
-0.012054344,
-0.0026348876,
-0.009351895,
0.05848668,
-0.010937806,
0.03086481,
0.007893995,
0.012594834,
0.02032526,
0.007264609,
-0.032799195,
-0.028603287,
-0.00021112882,
-0.08317853,
0.049412142,
-0.0065818853,
-0.021946728,
0.0022935257,
0.011712982,
0.049213015,
-0.028375713,
0.02123556,
0.05419121,
0.018319758,
0.015716873,
-0.04244267,
0.0399109,
0.020979537,
-0.011549413,
-0.015987119,
-0.011129822,
-0.028816639,
0.006535659,
-0.002433982,
-0.058316,
-0.020296812,
0.0024517612,
-0.0016792519,
-0.0020570613,
0.050094865,
-0.016300034,
-0.022729017,
-0.0028624623,
0.00451949,
0.028916202,
0.0011076485,
0.026128413,
0.017167661,
0.03240094,
0.02270057,
0.0104542095,
-0.019002482,
0.0014659007,
0.053878296,
-0.014280308,
-0.025331901,
0.013554914,
0.049838845,
-0.022060517,
-0.04028071,
0.0049995305,
-0.015844883,
0.0036767528,
-0.014849246,
0.016499162,
-0.028973095,
-0.03382328,
0.022003623,
0.027095605,
0.013604696,
-0.014806575,
-0.0037265348,
-0.020055015,
-0.056979,
0.009515464,
0.032685407,
-0.032230258,
-0.03410775,
-0.06110379,
-0.025943508,
-0.035046495,
-0.006514324,
0.051175848,
-0.018817578,
0.024265146,
0.030011406,
0.009337672,
0.08630768,
-0.027451191,
0.021505803,
-0.018092183,
-0.029357128,
-0.08306474,
-0.020140355,
0.0062263,
-0.007680644,
0.0038047635,
-0.02261523,
0.028261926,
0.007993559,
0.05544287,
-0.011684535,
-0.07026367,
-0.0008920748,
-0.033993963,
-0.041247904,
0.0046154982,
0.022003623,
-0.030381214,
0.025061658,
-0.0034936264,
-0.017836163,
0.011058705,
0.018646898,
-0.029470915,
0.0054120095,
-0.070946395,
-0.0226579,
-0.05174478,
-0.009522576,
-0.04449084,
0.0096932575,
0.05177323,
0.050919823,
-0.00194683,
0.009003421,
0.016044011,
0.018974036,
0.005035089,
0.051915463,
-0.012523716,
0.04028071,
-0.005369339,
-0.009110097,
-0.015716873,
-0.0072041596,
0.044746865,
-0.064176045,
0.010681785,
-0.00803623,
-0.0065961084,
-0.016570278,
0.007559745,
0.02611419,
-0.0063045286,
-0.0045266016,
-0.0041176784,
0.013597584,
-0.06167273,
-0.013583361,
-0.017153438,
-0.060022812,
0.015176384,
0.030068299,
0.013071318,
0.03624126,
-0.004715062,
0.02952781,
0.015375512,
0.01624314,
-0.02536035,
0.011407179,
0.0050919824,
-0.031063939,
-0.027124053,
-0.0043096947,
0.022430325,
0.033254344,
-0.043438308,
0.024677625,
-0.033425026,
-0.027650319,
-0.034705132,
0.013810935,
0.0096932575,
0.03453445,
-0.003719423,
-0.020751962,
0.007150822,
-0.03894371,
-0.022231197,
0.0073677287,
-0.05464636,
-0.014266085,
0.0116774235,
-0.05672298,
-0.009679033,
-0.066451795,
-0.022472996,
0.01620047,
0.05194391,
-0.0038794363,
0.021719154,
0.011364508,
-0.01620047,
0.03678175,
-0.03282764,
-0.0051026503,
0.0028500168,
-0.0074744043,
-0.035672326,
-0.005710701,
-0.0059133847,
0.060022812,
0.010831131,
-0.0034456223,
-0.04844495,
-0.014835021,
0.011784099,
0.037066218,
-0.0059204963,
0.0061800736,
-0.033595707,
0.045514926,
-0.022387655,
0.009728815,
-0.012374371,
0.040451393,
0.028261926,
-0.0066067763,
-0.023895336,
-0.006471654,
0.011883663,
-0.018646898,
0.04235733,
0.03479047,
0.030324321,
0.015901778,
0.013490909,
-0.023127273,
0.07128776,
0.055215295,
0.022103187,
0.0019041597,
0.025403019,
-0.0014943475,
-0.01736679,
-0.021676484,
0.048558738,
0.04514512,
0.0498104,
0.036184367,
-0.01833398,
-0.015489299,
0.013789601,
-0.01437276,
-0.0029513587,
-0.0009680812,
-0.0041674604,
-0.02386689,
-0.008320698,
0.008526937,
-0.021192888,
-0.045884736,
0.010952029,
0.005810265,
0.0466528,
0.010055955,
0.0091314325,
0.007687756,
0.030267427,
0.039427307,
0.0110160345,
0.051374976,
-0.015987119,
0.0421582,
-0.010375981,
0.030751023,
-0.0394842,
0.008313586,
-0.009750151,
-0.04102033,
-0.01520483,
0.032799195,
0.021591144,
-0.012040121,
0.015560416,
-0.023212614,
-0.02511855,
-0.057775512,
0.0014667896,
-0.046823483,
0.013718484,
0.04790446,
-0.0059276083,
-0.0056004697,
0.05706434,
-0.012082791,
0.003648306,
0.033709493,
0.04764844,
0.026583562,
0.058116872,
0.018817578,
0.010895136,
0.045429587,
0.0019414962,
-0.056637637,
-0.014749682,
0.002602885,
0.01641382,
0.012715733,
-0.05043623,
-0.04289782,
0.0076166387,
0.024435828,
-0.007936666,
-0.020225696,
0.034420665,
-0.014906139,
-0.03865924,
0.025346125,
0.10570842,
0.034961153,
-0.03479047,
-0.0071686013,
-0.0024215365,
-0.05097672,
0.009508353,
-0.04565716,
0.047079504,
-0.0038118751,
-0.011990339,
0.01753747,
-0.021007983,
0.017295672,
0.022259643,
-0.003843878,
-0.0031504864,
0.008406038,
0.048672527,
0.022174304,
0.018134855,
-0.020012345,
-0.03166132,
0.036298156,
0.061217576,
0.013931835,
0.06582596,
0.06389158,
-0.03282764,
0.01786461,
0.023013486,
0.026626233,
0.006244079,
0.0018828246,
0.026085744,
-0.009508353,
0.00085473835,
-0.030751023,
-0.008448709,
0.02499054,
-0.026768466,
-0.014849246,
-0.03803341,
0.0036394163,
-0.060421064,
0.016157798,
-0.02445005,
0.042926267,
-0.008626501,
-0.012374371,
-0.000098174896,
-0.027209392,
0.23986366,
0.045685608,
0.041447032,
0.011762764,
0.046169203,
0.050123315,
0.03865924,
-0.0010178632,
0.018476216,
-0.065939754,
0.0033176115,
-0.025587924,
-0.0011752096,
0.03151909,
-0.018348206,
0.06986541,
-0.040081583,
0.008861188,
0.00085607177,
-0.020922644,
-0.06576907,
0.005323113,
-0.009430124,
0.048245825,
0.012338812,
0.0016516941,
0.019500302,
-0.07913908,
0.04084965,
-0.024748743,
-0.0037016438,
-0.0014934585,
0.040622074,
-0.024592284,
0.014650118,
-0.011193828,
-0.0168263,
-0.040878095,
0.00033047216,
-0.004327474,
0.005511573,
-0.021548474,
0.057775512,
-0.009629251,
-0.047307078,
0.031063939,
-0.016257362,
-0.0022224085,
0.033937067,
-0.042044416,
0.03698088,
-0.0475631,
0.00015101266,
-0.009878161,
-0.032344047,
-0.00035869674,
-0.04323918,
-0.029726937,
0.022970814,
0.026227977,
-0.008726065,
0.038744584,
-0.0024162026,
0.0071579334,
0.009010533,
-0.005536464,
-0.0061800736,
0.00587427,
-0.0022633008,
-0.022544112,
0.039967794,
0.008825629,
-0.03965488,
-0.0190736,
0.020183025,
0.0031487085,
-0.04468997,
0.066736266,
0.019471856,
-0.059510767,
-0.004981751,
-0.03194579,
0.017480576,
-0.011990339,
0.01641382,
0.04639678,
-0.019855887,
-0.016797854,
0.005010198,
0.013818048,
0.026256423,
0.070946395,
0.02045327,
0.03965488,
0.03911439
] |
import torch
class ResnetModelForImageClassification(PreTrainedModel):
config_class = ResnetConfig
def __init__(self, config):
super().__init__(config)
block_layer = BLOCK_MAPPING[config.block_type]
self.model = ResNet(
block_layer,
config.layers,
num_classes=config.num_classes,
in_chans=config.input_channels,
cardinality=config.cardinality,
base_width=config.base_width,
stem_width=config.stem_width,
stem_type=config.stem_type,
avg_down=config.avg_down,
) |
[
0.008932338,
0.0007727456,
-0.028705882,
-0.030046461,
-0.016800955,
0.019788116,
0.028807882,
-0.010280203,
0.023736997,
0.030104747,
0.025456434,
0.018068677,
0.029682174,
-0.040654525,
0.022265274,
0.026651299,
0.043947686,
0.01131478,
-0.08690451,
-0.0036046281,
-0.014564228,
-0.016713526,
-0.07827818,
-0.05834434,
-0.0614335,
0.0005605479,
0.010236489,
-0.03631221,
0.034796774,
0.080842756,
-0.033776768,
0.009646342,
-0.016480383,
-0.0009608092,
-0.04012995,
-0.043627113,
-0.03322305,
-0.02829788,
-0.036778502,
-0.050300866,
-0.0078103314,
-0.027598448,
0.020866407,
-0.06901069,
-0.02723416,
0.014498657,
-0.0011056137,
0.007140042,
0.03829394,
-0.058082055,
0.014790087,
0.043452255,
0.009493342,
-0.004764885,
-0.022367274,
0.01111078,
-0.026593013,
-0.028851599,
-0.06335694,
0.006903255,
0.014746372,
0.018316394,
-0.023226993,
-0.053156883,
0.0015090624,
0.01588295,
0.00026661318,
0.016830098,
-0.030920753,
0.0072456854,
-0.023824425,
-0.0040581664,
-0.0009371305,
-0.013835653,
-0.015606091,
0.009857629,
0.010003344,
0.021594984,
-0.0048887427,
0.039867662,
-0.019117827,
0.04109167,
0.032669336,
-0.033543624,
-0.0059233205,
-0.018651538,
0.0415871,
-0.02992989,
-0.041149955,
-0.036895074,
0.0032111974,
0.03269848,
-0.026141295,
0.044326544,
0.033427052,
0.015941236,
-0.009282054,
0.01675724,
0.0028760526,
-0.029434457,
0.022950135,
0.07349872,
-0.006684682,
0.026199583,
-0.020108689,
0.009333055,
-0.0087574795,
0.0036337713,
-0.006524395,
-0.025849866,
-0.002094655,
0.014083368,
-0.0051437444,
-0.043073393,
0.016480383,
0.012487788,
-0.01188307,
0.022848133,
-0.0321739,
-0.032290474,
0.048668858,
0.001484473,
-0.027059302,
-0.055954613,
0.0019799045,
-0.03281505,
0.014119797,
0.066854104,
-0.004768528,
-0.018622395,
0.008196477,
-0.03706993,
0.013515079,
0.0461917,
-0.0068777543,
0.001256793,
0.011096207,
0.02560215,
0.023503851,
-0.04476369,
0.009405912,
0.023241565,
0.01289579,
0.053856317,
0.01801039,
-0.019278113,
-0.0025536579,
-0.07029298,
-0.034621917,
-0.015868379,
-0.013886653,
0.00040640862,
0.018899253,
-0.005559033,
-0.009668199,
0.007977904,
-0.036341354,
0.03465106,
0.009872201,
0.025398148,
0.018418394,
0.0074824723,
-0.033164766,
0.046162557,
-0.02819588,
0.030396178,
0.0050417436,
-0.013464079,
0.010535205,
-0.042811107,
-0.0075771874,
-0.013296506,
-0.0031656614,
-0.010003344,
0.079443894,
-0.001731278,
0.057644907,
0.03715736,
0.0101854885,
-0.008983338,
-0.013318364,
-0.0016256345,
0.03686593,
0.016786383,
0.014039653,
-0.021230696,
-0.020895552,
-0.0043313825,
0.0116717825,
0.0217407,
-0.004375097,
0.03252362,
-0.0044807405,
0.019511256,
-0.050796296,
-0.010943207,
-0.03552535,
0.027015587,
-0.0073914006,
0.01540209,
-0.00022722455,
0.04514255,
-0.040975098,
0.0459877,
-0.029653031,
-0.006196536,
0.0011557032,
0.028618453,
-0.009704628,
0.015635235,
0.057528336,
-0.030163033,
-0.041353956,
-0.03246533,
-0.0039707376,
0.00008572148,
-0.030833323,
-0.000106554195,
-0.01752953,
-0.021434696,
0.0070926845,
-0.003023589,
0.054555748,
-0.0067976112,
0.0019562258,
-0.016203523,
0.006502538,
0.004407883,
0.0071254703,
-0.013165363,
0.0122473575,
0.007926904,
0.0342722,
0.047269993,
0.002156584,
-0.004196596,
0.03080418,
0.037128218,
0.032319617,
0.029551031,
0.0146298,
0.0037885937,
0.017544102,
0.040421378,
-0.028618453,
-0.0218427,
0.012866647,
-0.01828725,
-0.013558794,
0.04050881,
-0.043364827,
0.020822693,
0.0038177366,
0.023897283,
-0.03870194,
-0.014586085,
0.048931144,
-0.0034461631,
-0.02676787,
-0.022556704,
0.028939027,
0.033893343,
0.0126335025,
-0.034039058,
0.021769842,
0.023270708,
0.021288982,
0.0008205584,
-0.01760239,
-0.07501415,
-0.023154136,
-0.042723678,
-0.056799762,
-0.004746671,
-0.020458406,
-0.008968767,
0.020108689,
-0.05458489,
0.046512272,
0.0056173187,
0.014032368,
-0.0031237684,
-0.00632768,
0.042519677,
0.031387042,
0.024975576,
-0.0585192,
0.0055954615,
-0.047124278,
0.021303553,
0.021784414,
-0.024902718,
0.014841087,
-0.0012886683,
0.02484443,
0.01819982,
0.0012804718,
-0.015635235,
-0.080842756,
0.020312691,
-0.028560167,
0.041645385,
-0.0054096747,
0.048843715,
0.0026520155,
0.027540162,
-0.043102536,
-0.05446832,
0.039576232,
0.0457837,
-0.032086473,
0.031532757,
0.020079546,
0.024494715,
-0.031882472,
0.029390743,
0.06539696,
-0.00512553,
-0.050388295,
-0.017238101,
-0.05543004,
0.016407525,
-0.024596715,
0.014156226,
-0.017179815,
0.049455717,
-0.019219827,
-0.051466588,
0.0030035533,
-0.025879009,
-0.021449268,
-0.04246139,
-0.0063713943,
0.02609758,
0.017733533,
0.0098284865,
-0.014826516,
0.008422335,
-0.028735025,
0.008313049,
0.024975576,
0.028327024,
0.040771097,
0.028050164,
-0.01868068,
-0.009405912,
0.03631221,
-0.05207859,
-0.0041820244,
-0.028997313,
-0.008320334,
-0.009915915,
-0.022352703,
0.00798519,
0.03301905,
0.049922008,
-0.019598687,
0.0055881757,
0.0067611826,
0.015751807,
0.0219447,
0.024946433,
-0.017238101,
0.013864796,
-0.056362614,
-0.00018282696,
-0.008072618,
0.03937223,
0.04744485,
-0.02002126,
0.040071663,
-0.029128456,
-0.030396178,
0.04706599,
-0.03549621,
-0.061550073,
0.025077576,
0.04214082,
0.012531502,
-0.014061511,
-0.047590565,
-0.012189072,
-0.0011502389,
0.04246139,
0.03494249,
0.0075699016,
-0.021594984,
0.0013442221,
-0.014170798,
0.025296148,
0.029376172,
-0.0126335025,
0.0087574795,
-0.04627913,
-0.01712153,
-0.0465997,
0.029492743,
0.049659718,
0.021973843,
0.013988653,
0.047765423,
-0.0030144819,
-0.0217407,
0.008509764,
-0.0050162436,
0.009486056,
-0.049922008,
0.03205733,
0.027540162,
-0.019744402,
-0.017252672,
-0.015314661,
0.010520633,
0.011096207,
-0.0011975963,
0.0010045237,
-0.03380591,
-0.0042403108,
-0.025033861,
0.068660975,
-0.056945477,
-0.030046461,
-0.07408158,
0.019671544,
0.025704151,
-0.026884444,
-0.017456673,
-0.015285518,
-0.014440371,
0.03261105,
0.00009790236,
-0.053360883,
-0.012487788,
0.01868068,
-0.04033395,
0.008254763,
0.052894596,
-0.031387042,
-0.0011812033,
-0.049106,
0.005205673,
0.011096207,
-0.017485816,
-0.02907017,
0.0070307553,
0.0034352343,
-0.013070648,
0.020808121,
-0.017879248,
-0.006050821,
0.03934309,
-0.036836788,
0.011227352,
-0.022731561,
0.0016584204,
-0.026491012,
0.015824664,
0.010098059,
0.012531502,
0.020064974,
-0.005478889,
0.014433085,
0.04184939,
-0.028880741,
-0.024888147,
0.0097191995,
0.021390982,
-0.018418394,
0.034301344,
0.027409017,
-0.054730605,
0.027744163,
-0.0054388177,
0.0017422066,
0.047007702,
-0.018389251,
0.007187399,
0.034213915,
-0.005245745,
0.02627244,
-0.06737868,
0.064056374,
-0.02357671,
-0.032960765,
-0.048931144,
-0.059451777,
-0.04196596,
0.03841051,
-0.018432966,
0.04735742,
0.020283548,
-0.022848133,
-0.018520394,
0.03983852,
-0.022410989,
-0.019860974,
0.005784891,
0.037973367,
0.028531024,
0.044151686,
0.03549621,
-0.021551268,
-0.039284803,
0.014105226,
-0.013872081,
0.009515199,
-0.006651896,
-0.016247237,
0.019190684,
-0.015008659,
-0.018418394,
0.0039488804,
-0.016611526,
0.014250941,
0.013915796,
-0.035379637,
0.016728098,
-0.025543865,
-0.021988414,
0.045113407,
-0.023416422,
-0.035583638,
-0.05073801,
-0.0034461631,
0.030017318,
0.04275282,
0.017748104,
-0.041120812,
-0.031795043,
-0.020735264,
0.021201553,
-0.042315677,
-0.0015345626,
-0.032377902,
-0.026986444,
-0.0036647357,
0.053739745,
0.03281505,
-0.032785907,
-0.008910481,
-0.012473216,
0.050883725,
-0.07839475,
-0.02289185,
0.007136399,
0.0060362495,
-0.035233922,
0.025398148,
0.018156106,
-0.023518423,
-0.008473336,
0.013850224,
0.009449626,
-0.0057120332,
-0.03654536,
-0.00056009257,
-0.0016283666,
-0.008954195,
-0.042723678,
0.05446832,
-0.018141534,
0.026010152,
0.020647835,
0.008684622,
-0.016159808,
-0.0077301883,
0.0126335025,
-0.0051364587,
0.03610821,
-0.021609556,
0.014076082,
-0.028254166,
0.021230696,
-0.028924456,
0.001857868,
-0.04091681,
0.02992989,
-0.03753622,
-0.057703197,
0.018651538,
-0.009981487,
-0.0019416542,
0.0015418483,
0.0052858167,
0.054526605,
-0.020443834,
0.010527919,
0.053681456,
-0.00032216706,
-0.018593252,
0.0015254554,
0.052807167,
0.030250464,
-0.013260078,
0.005544461,
0.057615764,
-0.013405792,
0.020778978,
0.008422335,
-0.03753622,
-0.004236668,
0.0121235,
0.013536937,
0.0057047475,
0.038148224,
0.026228726,
-0.04823171,
-0.021507554,
0.033456195,
-0.011416781,
-0.0103239175,
0.034301344,
0.043364827,
-0.0050818156,
0.035088204,
0.0047794566,
-0.0145788,
-0.010651777,
0.0631238,
0.008691908,
-0.019686116,
-0.0115333535,
0.030483607,
-0.028953599,
-0.031503614,
-0.04397683,
0.028822454,
-0.04983458,
0.018753538,
0.02531072,
-0.045841984,
-0.013544222,
0.035117347,
0.015387518,
-0.019569544,
-0.027263302,
-0.014003225,
-0.012218215,
-0.03022132,
0.010979636,
0.062774085,
-0.021492982,
-0.023984712,
-0.030425321,
0.023634996,
-0.027350731,
-0.042577963,
0.058256913,
-0.020064974,
0.034884203,
0.0074533294,
0.0004248507,
0.045317408,
-0.034913346,
0.036370497,
0.0022658703,
-0.03435963,
-0.060559213,
-0.02724873,
-0.0064916094,
-0.017952105,
-0.0015354733,
-0.021390982,
0.052224305,
0.05918949,
0.02541272,
-0.020778978,
-0.07192499,
0.0133475065,
-0.02165327,
-0.019686116,
0.03194076,
0.020385548,
-0.0057739625,
0.042665392,
0.013267363,
-0.047969423,
0.008961481,
0.05199116,
-0.0050417436,
-0.0069068978,
-0.025631294,
-0.0034370557,
-0.0639398,
-0.009748342,
-0.049135145,
-0.008735622,
-0.0014726337,
0.011861213,
-0.019030398,
-0.0072056134,
-0.006116393,
0.020560406,
-0.0006834951,
0.024319857,
-0.021361839,
0.0036683786,
-0.0095807705,
-0.042111676,
-0.044588834,
0.037419647,
0.018126963,
-0.017777247,
0.032377902,
-0.012145357,
-0.0077229026,
0.0062220367,
0.008626336,
0.030745894,
-0.014382084,
-0.011781069,
0.0019544044,
0.027962735,
-0.05149573,
-0.00015971746,
0.00034607344,
-0.033427052,
0.0150815165,
0.0044552404,
-0.0011210958,
0.023547567,
0.00851705,
0.00012761459,
-0.015839236,
0.05478889,
0.035467066,
-0.0019143326,
0.0070963274,
-0.045113407,
-0.0041273814,
-0.025747865,
-0.011322066,
0.02819588,
-0.0685444,
0.023591282,
-0.0068923263,
0.021492982,
-0.04380197,
0.0072420426,
0.018899253,
0.013092505,
0.03310648,
-0.005602747,
0.018651538,
-0.046657987,
-0.009792058,
-0.0080143325,
-0.03269848,
-0.039197374,
0.042169962,
-0.04184939,
-0.016567811,
0.0054716035,
0.008123619,
0.01014906,
0.010374918,
-0.0024316213,
0.036370497,
0.0111472085,
0.012917647,
-0.0072420426,
-0.02079355,
-0.048843715,
-0.016465811,
0.033077337,
-0.03331048,
-0.03360191,
0.011016064,
0.04193682,
0.0028432666,
0.015766378,
0.021813557,
-0.0030144819,
-0.01567895,
0.06784497,
-0.022775276,
0.006094536,
-0.03791508,
0.0127427885,
-0.006200179,
0.022381846,
-0.016873812,
0.037711076,
0.035088204,
-0.018826395,
0.019700687,
0.04284025,
0.02491729,
-0.0026028366,
0.024247,
0.036137354,
0.009354912,
0.010877635,
-0.009646342,
0.018258108,
0.0438894,
0.02869131,
0.034796774,
0.013223649,
0.03030875,
0.006597253,
-0.011431352,
-0.056187756,
0.017748104,
0.03995509,
0.011977784,
0.015926665,
0.00057420874,
-0.0012085249,
-0.013974082,
-0.015708093,
0.034534488,
-0.008706479,
-0.0052311737,
-0.034476202,
-0.04995115,
0.032203045,
-0.0061054644,
-0.029988175,
-0.0042694537,
-0.007934189,
0.055808898,
0.012815647,
-0.018141534,
-0.00755533,
-0.00060562853,
0.047036845,
0.027977306,
0.021449268,
-0.014862944,
0.06335694,
0.0064296806,
0.038527083,
-0.021900985,
0.015810093,
-0.022469275,
-0.04581284,
0.01712153,
0.019307256,
0.024582144,
-0.04764885,
-0.011292923,
-0.00039548,
0.0017039564,
-0.069068976,
-0.0019962974,
-0.084747925,
0.00083877274,
0.0415871,
-0.028982742,
-0.043743685,
0.05709119,
0.020268977,
0.016961243,
0.018695252,
0.04292768,
0.020531263,
0.046453986,
0.05102944,
-0.032203045,
0.025864437,
-0.00010706647,
-0.033368766,
-0.026301583,
0.02879331,
-0.044122543,
-0.030425321,
-0.018738966,
-0.06901069,
0.023416422,
0.00040048896,
-0.0039233803,
-0.04505512,
0.03724479,
0.008298477,
-0.063473515,
0.009682771,
0.08416507,
-0.0040618093,
0.004874171,
-0.017281815,
0.0035263065,
-0.026753299,
-0.02415957,
-0.05697462,
0.024800716,
-0.01567895,
-0.04088767,
-0.016159808,
-0.028225023,
0.009915915,
0.0075043296,
0.002777695,
0.009631771,
0.03774022,
0.004367811,
0.044909406,
0.016961243,
-0.033747625,
-0.016800955,
0.039721947,
0.05199116,
0.0032458047,
0.035467066,
0.04502598,
-0.00080507615,
0.006925112,
0.010688205,
0.00990863,
-0.0023332636,
-0.011606211,
-0.0016219916,
-0.01174464,
-0.01634924,
-0.07658788,
-0.044413973,
0.008109047,
-0.027001016,
-0.027394446,
-0.027321588,
0.0029744103,
-0.056712333,
-0.051350016,
-0.04534655,
0.0037667362,
0.009894058,
-0.03581678,
0.030337892,
-0.060326066,
0.25342777,
0.020778978,
0.01116178,
0.015198089,
0.042199105,
0.10736291,
0.046133414,
0.018811824,
0.03290248,
-0.06650439,
0.0000019993142,
-0.06283237,
0.014229083,
0.006262108,
-0.0023496565,
0.032640193,
-0.04858143,
-0.010025201,
0.0055335322,
-0.054614034,
-0.081542194,
0.031532757,
0.0011065244,
0.08748737,
0.048668858,
-0.026053866,
-0.013915796,
-0.045579694,
0.004874171,
-0.03925566,
0.0071691847,
0.0058031054,
0.018505823,
-0.011613497,
-0.0084806215,
0.024494715,
-0.0067283968,
-0.031212183,
-0.0078103314,
0.01492123,
0.013558794,
-0.04724085,
0.036516216,
-0.0031693042,
0.0067611826,
0.035641924,
-0.015212661,
0.009996058,
0.019715259,
-0.011220066,
0.05237002,
-0.038439654,
0.014425799,
-0.009194626,
-0.023897283,
-0.0012331144,
-0.04024652,
-0.055109467,
-0.02838531,
-0.010506062,
0.0074278293,
0.014615228,
-0.04878543,
0.06090893,
-0.035875067,
-0.024013855,
-0.048523143,
0.05169973,
0.009595342,
0.003023589,
-0.006047178,
0.02800645,
-0.017514959,
-0.03360191,
0.021084981,
0.0078759035,
-0.016611526,
0.0413831,
0.026039295,
-0.044880264,
0.0037885937,
-0.020910123,
0.0086190505,
-0.06341523,
0.04284025,
0.0639398,
-0.05475975,
-0.039313946,
0.022002986,
0.021361839,
0.0043860255,
0.05362317,
0.04444312,
0.023634996,
0.0012649896
] |
Now let's see how to make sure that when we do [~PreTrainedModel.save_pretrained] or [~PreTrainedModel.push_to_hub], the
code of the model is saved.
Registering a model with custom code to the auto classes
If you are writing a library that extends 🤗 Transformers, you may want to extend the auto classes to include your own
model. This is different from pushing the code to the Hub in the sense that users will need to import your library to
get the custom models (contrarily to automatically downloading the model code from the Hub).
As long as your config has a model_type attribute that is different from existing model types, and that your model
classes have the right config_class attributes, you can just add them to the auto classes like this: |
[
0.011538169,
0.00021301166,
-0.012423506,
0.009421999,
-0.033110157,
0.0070467046,
0.040135264,
0.017735526,
0.010580854,
0.04324474,
0.039588228,
0.016828597,
0.013697527,
-0.039645813,
-0.009191667,
0.055452313,
0.044540357,
0.029482434,
-0.044050902,
0.0028233605,
0.0006032706,
-0.012329934,
-0.07549115,
-0.032160036,
-0.04157484,
0.012891367,
0.034636103,
-0.037975907,
0.028244402,
0.061095435,
-0.01638233,
-0.0074209934,
-0.018915975,
-0.022846008,
-0.05764046,
-0.017692339,
0.016310351,
-0.045116186,
-0.057669252,
-0.05283229,
0.0034045877,
-0.02212622,
-0.0043439083,
-0.033916317,
0.0027315877,
0.01415819,
-0.029683974,
0.008227154,
0.013791099,
-0.042093083,
0.013891869,
0.0141006075,
0.019491805,
-0.00029241305,
-0.065759644,
0.013431206,
-0.03575897,
-0.032707077,
-0.043734197,
-0.003897641,
0.0065572504,
-0.009558758,
-0.03000068,
-0.035902925,
0.010472886,
0.0009906054,
0.0142013775,
0.012315538,
0.0035665396,
0.028028466,
-0.022644468,
0.016439911,
-0.014813195,
-0.042323414,
-0.0125386715,
-0.012920158,
0.0138342865,
-0.009299635,
-0.019549387,
0.08142219,
-0.020240381,
0.045288935,
0.049953148,
-0.060749937,
0.020657858,
-0.0071438756,
0.011761303,
-0.016295955,
-0.030979589,
-0.030979589,
-0.00023483018,
0.02491899,
-0.009875463,
0.033196528,
0.03601809,
0.04759225,
-0.0032012481,
0.030950798,
0.034002688,
-0.025480423,
0.03236158,
0.05599935,
0.016828597,
0.018440917,
-0.019247077,
0.046354216,
-0.01998126,
0.018109815,
-0.015892874,
-0.028100444,
0.006298127,
0.03000068,
-0.00820556,
-0.026372958,
-0.023724146,
0.037486453,
-0.0018804409,
0.0059274375,
-0.013395217,
-0.02172314,
0.035096765,
0.0064060953,
-0.002999708,
-0.06771746,
0.011732511,
-0.039127566,
-0.004581438,
0.056719135,
-0.045116186,
-0.014496489,
-0.007014314,
-0.0128049925,
0.048081703,
0.041344505,
-0.0036529137,
0.0074857743,
0.0077736885,
0.026603289,
-0.00031130743,
-0.032131247,
0.014669239,
0.012999334,
0.003336208,
0.06904187,
-0.029971888,
-0.000211887,
0.015820896,
-0.031728167,
-0.034175437,
-0.026372958,
-0.014035827,
-0.020398734,
-0.0016222176,
-0.011379817,
0.022370948,
-0.008493475,
-0.00082640426,
0.008443089,
0.032620702,
0.03754404,
0.009155678,
0.024415141,
-0.019290265,
0.030461343,
-0.017893879,
0.0390124,
-0.008659026,
-0.009206062,
0.016353538,
-0.02232776,
0.035931718,
-0.012812191,
0.007946437,
0.010933549,
0.05576902,
0.034722477,
0.02340744,
0.024156017,
0.027179118,
-0.003174256,
-0.018268168,
0.0014791602,
0.022917986,
0.01900235,
0.026387354,
-0.014985944,
-0.0056539187,
-0.004818967,
0.010825581,
-0.024472723,
0.013200874,
-0.010767998,
-0.002290719,
0.013632746,
-0.03264949,
0.0018498499,
-0.033196528,
0.025480423,
-0.011048715,
-0.0010445894,
0.007996822,
0.039300315,
-0.052285254,
0.03040376,
-0.028143631,
-0.005128475,
-0.021881493,
0.018584874,
0.0022925183,
0.014086211,
0.050788097,
-0.011351025,
-0.051767007,
-0.03178575,
-0.0021989462,
-0.0027495825,
-0.029511224,
0.00568271,
-0.03380115,
-0.0032804245,
-0.010652833,
0.010220961,
0.061153017,
-0.014215773,
-0.014755612,
-0.032044873,
0.0111422865,
0.020888189,
0.004264732,
0.015259462,
0.0077305012,
0.019822907,
-0.0038724486,
0.06840846,
0.0024058847,
-0.035874132,
0.062131926,
0.040480763,
0.011387014,
0.054934066,
-0.0045994325,
0.053926364,
-0.005387598,
0.05061535,
-0.02592669,
-0.058792118,
0.010602447,
0.010631239,
0.023752937,
0.043158367,
-0.02788451,
0.03941548,
0.0135679655,
0.027020765,
-0.02360898,
-0.021579184,
0.0242136,
-0.0030554915,
-0.048743907,
-0.012812191,
0.006578844,
0.008522266,
-0.0040200045,
-0.033369277,
-0.002411283,
0.03002947,
0.010300137,
-0.010328929,
0.017677944,
-0.048081703,
-0.017001344,
-0.021910286,
-0.03501039,
0.0068595605,
0.009076501,
-0.0068487637,
0.029655183,
-0.03437698,
0.045692015,
0.0081551755,
0.0014854583,
0.029396059,
-0.013704725,
0.03840778,
0.034233022,
0.005488368,
-0.040883843,
0.005034903,
-0.06673855,
0.038954817,
0.010206565,
-0.05841783,
0.032879822,
-0.022313366,
0.014165388,
0.00004301846,
0.02942485,
-0.0101489825,
-0.029079353,
0.01365434,
-0.056316055,
0.042179458,
0.015676938,
0.029352872,
0.0012506281,
0.0015619355,
-0.025077343,
-0.0538112,
0.027639782,
0.044137277,
-0.06126818,
0.02038434,
-0.004455475,
0.032303996,
-0.047707416,
0.06144093,
0.034549728,
-0.038263824,
-0.0464118,
-0.03063409,
-0.03063409,
0.0143669285,
-0.035730176,
0.034290604,
-0.0016789008,
0.051709425,
-0.016497495,
-0.045893554,
0.009393207,
-0.040336806,
0.00010318807,
-0.033426862,
-0.028834626,
0.019016745,
0.018282564,
-0.0154610025,
-0.023119526,
-0.007428191,
-0.031526625,
0.011617346,
0.019880489,
0.019880489,
0.040538345,
0.024443932,
-0.008147977,
0.008335122,
0.03218883,
-0.043561447,
0.0007719705,
-0.036133256,
-0.011826084,
-0.015763313,
-0.02071544,
0.019391034,
0.024443932,
0.032793447,
-0.022457322,
0.010703217,
0.017505195,
-0.0010094999,
0.031526625,
0.046584547,
-0.02471745,
0.00017004943,
-0.018354543,
-0.0031904513,
-0.00215216,
0.040653512,
0.045116186,
0.022025451,
0.033685982,
-0.008997325,
-0.02730868,
0.02861869,
-0.02848913,
-0.04482827,
0.033916317,
0.043273535,
0.015864084,
-0.023479419,
-0.006460079,
0.00850787,
-0.00760094,
0.049060613,
0.044453982,
0.015043527,
-0.026747247,
0.0009600145,
-0.03080684,
0.009760298,
0.06276534,
-0.024587888,
0.011156683,
-0.035902925,
-0.016425516,
-0.03642117,
0.019880489,
0.02727989,
0.013949452,
0.018671248,
0.050327435,
-0.0030015076,
-0.011818886,
-0.018714435,
-0.008723806,
0.029367268,
-0.037054583,
0.04937732,
0.004199951,
-0.016310351,
-0.03978977,
-0.04462673,
-0.007968031,
0.024559097,
0.008198362,
-0.004153165,
-0.049146987,
0.0022655264,
-0.020701045,
0.04022164,
-0.052486792,
-0.058504205,
-0.053494494,
0.043158367,
-0.005020507,
-0.032851033,
-0.004984518,
-0.02239974,
0.0013900867,
0.02882023,
-0.030115845,
-0.059310365,
0.0029097348,
0.025278883,
-0.036709085,
0.019923676,
0.05202613,
-0.022658862,
0.02912254,
-0.008342319,
-0.012524276,
-0.003912037,
-0.018253772,
-0.02687681,
-0.025437236,
-0.0007989624,
-0.024156017,
0.01799465,
-0.021291269,
0.008802982,
0.016065624,
-0.051479094,
-0.0069099455,
-0.045375306,
0.007543357,
-0.02189589,
0.017318051,
0.007151074,
0.012236361,
0.0067515923,
0.018311355,
-0.0008142579,
0.02370975,
-0.029741557,
-0.029856723,
0.021363247,
0.004369101,
0.0025804327,
0.05801475,
0.0033416064,
-0.03961702,
0.0072554424,
0.0053264163,
-0.026229002,
0.03679546,
-0.008471881,
0.016065624,
-0.0054235873,
-0.0003945327,
0.020441921,
-0.060116526,
0.048081703,
-0.013445602,
-0.024429535,
-0.057899583,
-0.07923404,
-0.004980919,
0.028647482,
-0.017850691,
0.02912254,
-0.024976574,
-0.011257453,
-0.026862413,
0.024098434,
-0.040567137,
-0.03020222,
0.000065399305,
0.023393044,
0.032131247,
0.0027621787,
0.030778049,
-0.011653335,
-0.06241984,
0.032102454,
-0.023479419,
0.00289174,
0.00033290102,
0.020571483,
0.03218883,
-0.004419486,
-0.04857116,
-0.012128394,
-0.015417815,
0.010364918,
-0.016324745,
-0.028762648,
0.038263824,
-0.008176769,
-0.03682425,
0.02720791,
-0.012840982,
-0.024227995,
0.010199367,
0.019491805,
0.048657533,
0.039991308,
0.03742887,
-0.016670244,
-0.027423846,
-0.015072319,
0.023551397,
-0.023666563,
-0.009501175,
-0.026416145,
-0.026646476,
0.00380047,
0.046728507,
0.021967867,
-0.0090189185,
-0.010875966,
-0.027337471,
0.0608651,
-0.041776378,
-0.05317779,
-0.020701045,
0.020456318,
-0.031613,
0.047160376,
-0.0014818594,
-0.017634757,
-0.0017778714,
0.0013055118,
0.0073202234,
-0.003966021,
-0.032390367,
0.0068919505,
-0.021881493,
0.024530306,
-0.037860744,
0.036593918,
-0.003739288,
0.009047709,
0.0051572667,
0.036104463,
0.0046750098,
-0.0043439083,
0.0075145657,
-0.011106297,
0.070251115,
-0.0110991,
0.012063613,
-0.046757296,
0.019333452,
-0.028992979,
-0.008133582,
-0.07111485,
-0.004613828,
-0.038897235,
-0.030087054,
0.03040376,
-0.02509174,
-0.026689664,
-0.013870276,
-0.011840479,
0.056517594,
-0.043906946,
-0.01678541,
0.040682305,
-0.015964853,
0.0015997243,
-0.037140958,
0.05358087,
0.04828324,
-0.013503185,
-0.011530971,
0.066680975,
-0.03120992,
0.018167399,
0.0030518926,
-0.04442519,
0.010451293,
0.014208575,
0.031353876,
0.035528637,
0.00514647,
0.042121876,
-0.053955156,
-0.01224356,
0.048196867,
0.0009951041,
-0.013028126,
0.023666563,
0.042265832,
0.0042467373,
0.041056592,
0.017836297,
0.024271183,
-0.025811525,
0.06616273,
-0.0013172083,
-0.027596595,
0.026632082,
0.010213763,
-0.024170414,
-0.04862874,
-0.05058656,
-0.011171078,
-0.024976574,
0.013503185,
0.039674602,
-0.046296634,
-0.034895223,
0.016497495,
-0.011660533,
-0.012826586,
-0.017749922,
-0.018383333,
0.028172422,
-0.029540017,
0.008529464,
0.072669595,
-0.026041856,
-0.0188296,
-0.057842,
0.015345837,
-0.013719121,
-0.026747247,
0.07370608,
-0.020801814,
0.019347847,
-0.001126465,
-0.004214347,
0.027121536,
-0.036248423,
0.03123871,
0.028258797,
-0.04122934,
-0.052688334,
-0.04402211,
0.006665218,
-0.02811484,
-0.012423506,
0.01937664,
0.0383502,
0.06362908,
0.056776717,
-0.00068649586,
-0.05225646,
0.010228159,
-0.015389024,
-0.010904757,
0.037918326,
-0.00662563,
0.012315538,
0.011689324,
-0.0034927614,
-0.040883843,
0.0068487637,
0.024746241,
0.018354543,
-0.0017895679,
-0.03722733,
0.0003036597,
-0.055567477,
0.0044446783,
-0.04399332,
0.00068829535,
0.0005371403,
0.012711421,
-0.018512895,
-0.023465022,
-0.012682629,
0.028071653,
-0.01500034,
0.037515245,
-0.01900235,
-0.0019542188,
0.0010787792,
-0.03063409,
-0.028230006,
0.031353876,
0.005128475,
-0.033110157,
0.037400078,
-0.025365258,
-0.016339142,
-0.015489794,
0.0057654856,
0.030346178,
-0.006517662,
-0.011631741,
-0.025638776,
0.03820624,
-0.053897575,
-0.004099181,
-0.014035827,
-0.060980268,
0.016799804,
-0.004365502,
-0.022644468,
0.006614833,
0.01355357,
0.024976574,
-0.029194519,
0.051507883,
0.027524617,
-0.0043726997,
-0.017533986,
-0.019938072,
-0.008061603,
-0.016871784,
0.03023101,
0.047275543,
-0.0712876,
0.024674263,
0.002155759,
0.007939239,
-0.06207434,
-0.016454307,
0.00023100631,
0.0018570478,
0.0044338815,
0.028604295,
0.030720465,
-0.023018755,
-0.025379654,
-0.0036799058,
-0.05602814,
-0.074166745,
0.032678284,
-0.03299499,
-0.03794712,
-0.02673285,
-0.024184808,
-0.004469871,
0.03860932,
-0.034808848,
0.053696033,
0.050327435,
0.02509174,
-0.013683131,
-0.022486113,
-0.02687681,
0.029036166,
0.019794114,
-0.042121876,
-0.00070853933,
0.02448712,
0.037687995,
0.00049980136,
0.033426862,
0.006866758,
-0.0032426359,
-0.025609985,
0.051594257,
-0.013474394,
-0.021334456,
-0.058072332,
0.025581194,
-0.004480668,
0.04638301,
-0.017303655,
0.028805835,
0.01739003,
-0.055884182,
0.006373705,
0.04678609,
0.035154346,
-0.007924844,
0.04344628,
0.039760977,
0.006510464,
0.042179458,
-0.022644468,
0.0039084377,
0.034636103,
0.00041612628,
0.06161368,
0.008515068,
0.014093409,
0.021464018,
0.013438405,
-0.060519606,
0.011336629,
0.029367268,
-0.0010382913,
0.03642117,
0.036651503,
-0.015173089,
-0.022183804,
-0.034578517,
0.0014368728,
-0.015864084,
-0.029194519,
-0.048916657,
-0.027193515,
0.02979914,
0.018311355,
-0.03339807,
-0.009457988,
0.018930372,
0.06875396,
0.0087525975,
0.02982793,
0.01489957,
0.007651325,
0.028431546,
0.05496286,
0.018743226,
-0.01779311,
0.08424375,
-0.013193677,
0.04520256,
-0.017692339,
0.0019128312,
-0.006776785,
-0.024659868,
0.039271522,
0.0060318066,
0.032966197,
-0.02290359,
-0.014237367,
-0.004315117,
0.014007035,
-0.06420491,
0.015576169,
-0.09028995,
-0.002805366,
0.04747708,
-0.032937407,
-0.027582198,
0.036709085,
-0.0022493312,
0.014734019,
0.031699374,
0.04160363,
0.014518083,
0.066047564,
0.050125897,
-0.019621365,
-0.008471881,
-0.01365434,
-0.014640447,
-0.015389024,
0.028949792,
-0.03524072,
0.0020351948,
-0.029856723,
-0.076757975,
0.02982793,
-0.028849022,
-0.008565453,
-0.057179797,
-0.011458993,
0.04399332,
-0.07975229,
-0.013776704,
0.0800402,
-0.00097531,
0.0015376428,
-0.02001005,
-0.026185814,
-0.022572488,
0.005700705,
-0.055337146,
0.033369277,
-0.014035827,
-0.026200209,
-0.025595589,
-0.014079014,
0.027035162,
0.0070071165,
0.014143795,
-0.018714435,
0.02771176,
0.009421999,
0.021262478,
0.00921326,
-0.01264664,
0.005319218,
-0.016857387,
0.09017479,
-0.029856723,
0.012984939,
0.02192468,
-0.017692339,
0.015115505,
0.00948678,
-0.025480423,
-0.0061361752,
-0.020341152,
-0.004671411,
-0.005445181,
-0.0027189916,
-0.036737878,
-0.015014735,
0.028330777,
-0.026848016,
-0.026157022,
-0.016641451,
-0.00860864,
-0.057266172,
-0.04157484,
-0.035269514,
-0.0049989135,
-0.019995654,
-0.0383502,
0.040509555,
-0.04983798,
0.24553339,
0.04880149,
0.013719121,
0.027193515,
0.01779311,
0.058360245,
0.0497804,
-0.011113496,
0.041459672,
-0.0760094,
0.017850691,
-0.04603751,
0.017735526,
0.02111852,
-0.023018755,
0.024818221,
-0.07030869,
-0.025941087,
0.039127566,
-0.03040376,
-0.065241404,
0.045692015,
0.0039228336,
0.09564516,
0.017706735,
-0.0011588554,
-0.011106297,
-0.021780724,
0.035327096,
-0.04546168,
-0.002310513,
-0.009407602,
0.023997664,
-0.008450287,
-0.00568271,
0.013827088,
-0.0031598604,
-0.029597599,
0.005999416,
0.00850787,
0.040106475,
-0.04264012,
0.013179281,
0.01140141,
-0.0017625759,
-0.009825079,
-0.006715603,
0.0074209934,
0.043475073,
-0.021867098,
0.036651503,
-0.025350861,
0.0019794113,
-0.024170414,
-0.032102454,
-0.024947781,
-0.059771027,
-0.07313026,
-0.0178219,
-0.013366425,
-0.0092852395,
-0.004261133,
-0.04223704,
0.030922005,
-0.043071993,
-0.017533986,
-0.018239377,
0.039933726,
0.009054908,
-0.01779311,
0.013827088,
0.010775196,
-0.022212595,
-0.008651827,
0.013445602,
0.007352614,
-0.03141146,
0.05697826,
0.026372958,
-0.00931403,
-0.024299974,
-0.00050340034,
0.0008210059,
-0.060346857,
0.039904933,
0.03978977,
-0.047304336,
-0.032044873,
0.027999675,
-0.008011218,
0.0064024962,
0.063456334,
0.013978244,
0.021435227,
-0.02401206
] | Note that the first argument used when registering your custom config to [AutoConfig] needs to match the model_type
of your custom config, and the first argument used when registering your custom models to any auto model class needs
to match the config_class of those models.
Sending the code to the Hub
This API is experimental and may have some slight breaking changes in the next releases. |
[
0.026853211,
0.0046552345,
0.005831758,
-0.029782651,
0.0014469202,
0.0101716705,
-0.0025310507,
-0.026527718,
-0.0085848905,
0.07725045,
0.034936298,
0.0044484106,
0.059077065,
-0.06303723,
0.016152613,
0.055930626,
0.010754847,
-0.016057678,
-0.052919813,
-0.011914417,
-0.0016367914,
-0.022743857,
-0.08918521,
-0.044402733,
-0.05636462,
0.009052787,
0.038218357,
0.00074422726,
0.034529433,
0.041066427,
-0.04437561,
-0.0138334725,
0.011961885,
-0.009229096,
-0.049827624,
-0.023232097,
0.01655948,
-0.026012352,
-0.074971996,
-0.060541783,
-0.0014926926,
-0.025619049,
0.001686802,
-0.056527365,
-0.020356903,
-0.0035261791,
0.022838792,
0.01022592,
0.0050892257,
-0.022703169,
-0.005455406,
0.03512617,
0.016356047,
-0.0043127886,
-0.03895072,
-0.012416219,
-0.025605487,
-0.017074844,
-0.05083123,
-0.036428142,
0.013345232,
0.038977843,
-0.015772872,
-0.032549348,
0.012341627,
0.02313716,
0.013596133,
0.028806172,
0.018959993,
-0.011826263,
-0.00237339,
0.015013386,
-0.007201543,
-0.034746427,
0.00827974,
0.051726338,
0.018403944,
-0.020126346,
0.0019902568,
0.026907459,
-0.03170849,
0.03390557,
0.03458368,
-0.015623686,
-0.022065744,
-0.04041544,
0.033146083,
-0.00042509107,
-0.040334065,
-0.05777509,
-0.010076735,
0.026907459,
-0.023815272,
0.01655948,
0.036943506,
0.022011496,
-0.019895788,
0.021835186,
-0.006404762,
-0.025578361,
0.006533603,
0.08169886,
-0.0015257506,
0.021713126,
-0.046192948,
-0.003336308,
-0.00895107,
-0.005109569,
-0.04828153,
-0.00022504822,
0.015108322,
0.012673901,
0.0076965643,
-0.0025480036,
0.013379138,
0.021686003,
0.00094596535,
0.0049705566,
-0.025863169,
-0.030406514,
-0.021726688,
-0.013053644,
-0.0067200838,
-0.06303723,
-0.032793466,
-0.036211148,
-0.0054689683,
0.028507803,
-0.028019562,
-0.01010386,
-0.004912917,
-0.025157932,
0.03037939,
0.049149513,
0.011460083,
-0.041310545,
-0.015759308,
0.0058860066,
0.032115355,
0.0020801066,
0.0020665445,
-0.003824548,
0.024737503,
0.1044834,
-0.011527893,
0.005624934,
-0.006679397,
-0.059239812,
-0.059348308,
-0.022025058,
0.0017749566,
-0.04261252,
-0.011270211,
0.016776476,
-0.015786434,
0.003695707,
-0.02629716,
0.029918274,
-0.0067166933,
0.018715873,
0.02915879,
-0.0069438606,
-0.032603595,
0.06878762,
-0.010232701,
0.035316043,
-0.018593814,
-0.018553127,
-0.021455444,
-0.016722227,
0.0033600419,
-0.03962883,
-0.0048044194,
-0.006933689,
0.038679473,
-0.023855958,
0.06461045,
0.032495096,
0.001348594,
-0.022865916,
-0.019258363,
-0.042666767,
-0.019488921,
0.0055232174,
0.00061241933,
-0.02350334,
0.0147557035,
0.0035905999,
-0.010110641,
-0.012762057,
0.04529784,
0.0155423125,
-0.022065744,
-0.01083622,
-0.03575003,
0.0074863494,
-0.038625225,
0.0066488823,
-0.01132446,
0.0069269077,
-0.017007034,
0.014742142,
-0.06542419,
-0.0007895759,
-0.030270891,
0.00069887855,
-0.0005933475,
0.014213215,
-0.009913988,
0.0112159625,
0.026378533,
0.01626111,
-0.04079518,
0.006991328,
0.01783433,
-0.0041195266,
-0.014823515,
0.022933727,
-0.008483173,
-0.0448096,
0.046355695,
0.025890293,
0.06178951,
-0.002013991,
0.01132446,
0.00010187564,
0.0055299983,
0.060053542,
0.018173385,
0.03585853,
0.015881369,
0.017671583,
0.013860596,
0.05443878,
0.0051773805,
0.025456302,
0.033742823,
0.045867454,
0.013060425,
0.021482568,
0.0064827446,
0.039872948,
0.029755527,
0.035153296,
-0.032603595,
-0.01826832,
-0.037404623,
-0.009385061,
-0.008015277,
0.0077169077,
-0.014131841,
0.055984877,
0.016871411,
0.004367037,
-0.04060531,
-0.032413725,
0.0122670345,
0.04090368,
-0.024751065,
0.0035634753,
0.012850211,
-0.014145403,
0.0058521014,
-0.0030887974,
0.040035695,
0.04795604,
0.023733899,
0.012592528,
-0.0079271225,
-0.05918556,
-0.017251154,
-0.023232097,
-0.06265749,
0.016450983,
-0.033390205,
-0.014715017,
0.01570506,
-0.031762738,
0.02970128,
-0.009703774,
-0.00082687207,
-0.0038516726,
-0.03854385,
0.041446168,
0.015528751,
-0.0066081956,
-0.037106253,
0.009330813,
-0.063362725,
-0.0010349675,
-0.008259397,
-0.017169781,
-0.01406403,
-0.008801886,
0.015474502,
-0.010992185,
0.0069167363,
-0.027138017,
-0.034800675,
0.04079518,
-0.04554196,
-0.010327636,
-0.01394197,
0.03824548,
-0.0068997834,
-0.012870554,
-0.010056391,
-0.041174922,
0.057992086,
0.040740933,
-0.030026771,
0.031138875,
0.008944289,
0.026744712,
-0.025903855,
0.01990935,
0.053245306,
0.00085018214,
-0.037052006,
-0.025415614,
-0.024032267,
0.03130162,
-0.026880335,
0.012511155,
-0.019597419,
0.04456548,
0.0006624301,
-0.05319106,
0.012694245,
-0.0050112433,
-0.021930123,
-0.044918098,
-0.011371928,
0.030460764,
0.013365575,
0.02319141,
-0.08028839,
-0.00037762328,
-0.035017673,
0.0029430033,
0.017861454,
-0.017942827,
0.035831407,
0.0360484,
-0.026202224,
-0.038191233,
0.026758276,
-0.03824548,
0.020180594,
-0.03165424,
0.015935617,
0.021021454,
0.01089725,
0.0044924878,
0.016301798,
0.02509012,
0.0062420154,
0.03924909,
0.047711916,
-0.0014223387,
0.065315686,
0.04177166,
-0.03257647,
0.021333383,
-0.018824372,
-0.029375786,
0.008388238,
0.013806348,
0.05034299,
-0.04304651,
0.026663339,
-0.030759132,
-0.011765232,
0.013094331,
0.030216644,
-0.03385132,
0.030732008,
0.03575003,
0.05414041,
-0.006350513,
-0.02551055,
0.005553732,
-0.040957928,
0.02247261,
0.035939902,
0.0074727875,
-0.026690464,
-0.02216068,
-0.09862452,
-0.03591278,
0.009920769,
-0.017020596,
-0.008537422,
0.01217888,
-0.039981447,
-0.026771838,
0.015881369,
-0.014009781,
0.009832615,
0.008428925,
0.039303336,
0.0005687659,
-0.0121314125,
0.019746603,
-0.017061282,
0.02770763,
-0.03341733,
0.04207003,
0.027829692,
-0.020058535,
-0.02910454,
-0.027205829,
0.02350334,
-0.0071676373,
-0.021292698,
0.013304546,
-0.03623827,
-0.016884973,
-0.054574404,
0.023598276,
-0.04030694,
-0.021197762,
-0.051916208,
0.044918098,
-0.0010468344,
-0.047440674,
-0.003573647,
-0.03653664,
-0.0020563728,
0.03439381,
-0.030650634,
-0.028399305,
0.008415362,
-0.018119136,
-0.019868663,
0.003239677,
0.059131313,
-0.026175098,
0.0053435178,
0.0045569083,
-0.038299732,
-0.008571328,
0.006072487,
-0.034339562,
-0.018607376,
-0.012762057,
0.0023666087,
0.02374746,
-0.0046484536,
-0.018309006,
0.053109683,
-0.013141799,
-0.04011707,
-0.054303158,
0.01455227,
0.01570506,
0.0030277674,
-0.00602841,
0.031491492,
0.014009781,
-0.014959137,
-0.016152613,
0.03922196,
-0.062440496,
-0.06542419,
0.034122564,
0.021035016,
0.012714588,
0.040252693,
-0.00949356,
-0.025659734,
0.04415861,
0.04456548,
-0.023720337,
0.017807204,
-0.006557337,
0.014782828,
-0.012389095,
-0.029185914,
0.008537422,
-0.04139192,
0.042232778,
-0.02891467,
-0.028155185,
0.003763518,
-0.046681188,
-0.007906779,
0.008815448,
-0.054113287,
0.0026734541,
-0.0049603847,
0.00034287007,
-0.009968237,
0.0286163,
-0.04573183,
-0.012972271,
-0.027829692,
0.028779047,
0.04627432,
-0.0028938404,
0.05053286,
-0.042666767,
-0.06168101,
-0.005424891,
-0.030677758,
0.048308656,
-0.01406403,
0.02460188,
-0.01381991,
0.027856816,
-0.017766519,
-0.04310076,
-0.031382997,
-0.028751923,
0.0018681969,
-0.010856563,
0.0022004715,
-0.029511407,
-0.02416789,
0.041663162,
-0.04339913,
-0.05576788,
-0.02397802,
0.0373775,
0.002264892,
0.016952785,
0.058860067,
-0.04304651,
-0.024846,
-0.0032718873,
0.03640102,
-0.04779329,
-0.022635357,
-0.020587461,
-0.020058535,
0.0020309435,
0.06265749,
0.03629252,
-0.0118127,
-0.024140766,
-0.011785576,
0.014837077,
-0.04700668,
-0.03585853,
-0.026988832,
0.012409438,
-0.04871552,
0.040388312,
-0.01175167,
0.0041669942,
-0.010734503,
0.0072286674,
0.018607376,
-0.0029616514,
-0.029185914,
-0.013677507,
-0.028996043,
-0.019624544,
-0.018539565,
0.047033805,
-0.004987509,
0.0063979807,
-0.009778366,
0.03178986,
-0.01247725,
0.012463687,
-0.016464544,
-0.02198437,
0.063145734,
-0.009446092,
0.0071201697,
0.01004961,
0.06770264,
0.005248582,
0.03518042,
-0.06027054,
0.0037770804,
-0.049936123,
-0.049963247,
0.034827802,
-0.014009781,
-0.01156858,
0.005516436,
0.010809096,
0.072422296,
-0.020601023,
-0.0016740875,
0.035424538,
0.028589176,
0.016532356,
-0.023720337,
0.025212182,
0.015881369,
0.0017029073,
-0.020248406,
0.027015958,
-0.012436563,
0.0337157,
-0.015596562,
-0.06423071,
-0.009764804,
0.009602057,
0.030677758,
0.026351409,
0.022486173,
0.0024157718,
-0.023232097,
-0.029945398,
0.024208575,
0.0180242,
-0.027938189,
0.010856563,
0.01699347,
0.049583506,
0.057449598,
0.019082054,
0.0038211576,
-0.0109514985,
0.036265396,
-0.0030006429,
-0.02673115,
-0.0041636038,
0.042097155,
-0.036916383,
-0.021591067,
-0.033661447,
0.034529433,
-0.036129773,
0.023449091,
0.0079271225,
-0.022079306,
0.01223313,
0.016884973,
0.0053842044,
-0.009113817,
-0.015203257,
0.015488064,
0.015433815,
-0.042232778,
0.0026073384,
0.04749492,
-0.017983513,
-0.0005102788,
-0.05674436,
0.0003801662,
-0.06385097,
-0.012931584,
0.050939728,
-0.012856992,
0.04261252,
0.04608445,
0.011548237,
0.08414006,
0.0060792686,
0.031518616,
0.012619653,
-0.020736646,
-0.08148187,
0.0006251339,
0.0057741185,
0.002088583,
0.027653383,
-0.02003141,
0.02094008,
0.04177166,
0.050505735,
0.01223313,
-0.076979205,
0.0010247958,
-0.013209609,
0.006472573,
0.031925485,
0.029321536,
-0.01668154,
0.040740933,
-0.021469006,
-0.012999395,
0.019109178,
0.027165143,
-0.0042890543,
-0.0360484,
-0.044294234,
-0.0034990548,
-0.071879804,
-0.032413725,
-0.017983513,
-0.0030243767,
0.03775724,
0.04749492,
-0.030650634,
-0.011297336,
0.05395054,
0.009079912,
-0.027260078,
0.058100585,
-0.011541456,
0.0422599,
-0.011643172,
-0.036862135,
-0.01101931,
0.03477355,
0.028019562,
-0.042205654,
0.017929265,
0.0005272316,
0.022906603,
-0.0255648,
0.012063601,
0.012172099,
-0.023042224,
0.017210467,
-0.029511407,
0.027504198,
-0.03933046,
0.0034600634,
-0.007940684,
-0.045270715,
0.015759308,
0.031193124,
-0.02568686,
0.048471402,
0.012416219,
-0.014226777,
-0.0035702565,
0.030813381,
-0.00020014882,
-0.0030396343,
0.020356903,
-0.024615442,
-0.004858668,
-0.012762057,
0.045460586,
0.0573411,
-0.05636462,
0.0057130884,
0.0057368223,
-0.012999395,
-0.060324788,
0.0049773376,
0.044836726,
0.06065028,
0.019895788,
-0.000058646037,
0.009649525,
-0.021970809,
-0.015135446,
-0.022662483,
-0.04445698,
-0.034448057,
0.027721193,
-0.05625612,
-0.021075701,
-0.046491317,
-0.013426606,
0.0063369507,
0.018132698,
-0.008625577,
0.03924909,
0.035994153,
-0.007879654,
0.029619906,
-0.041446168,
-0.03428531,
0.0411478,
-0.0010680255,
-0.026147975,
-0.011039653,
0.0060351915,
0.04163604,
0.0056418865,
0.004499269,
-0.029077416,
-0.017413901,
-0.013772442,
0.05405904,
-0.0031260934,
-0.021902997,
-0.037404623,
0.040171318,
-0.046437066,
0.029565657,
0.00011326579,
0.035533037,
0.00008698898,
-0.041717414,
0.0073168217,
0.010700597,
0.055930626,
-0.019502483,
0.015623686,
0.017875016,
0.02708377,
0.038028486,
0.013419825,
-0.01217888,
0.07589423,
0.040171318,
0.04158179,
-0.001741051,
0.036184024,
-0.006106393,
-0.016573042,
-0.028589176,
0.02921304,
0.0049163075,
0.020411152,
0.036455266,
0.0161933,
-0.016356047,
-0.017685145,
-0.036970634,
0.002314055,
0.0042415867,
-0.03032514,
-0.0051841615,
-0.007798281,
0.033580076,
-0.015840681,
-0.055550884,
0.012341627,
0.016600167,
0.04700668,
-0.0046315007,
0.027938189,
-0.03282059,
0.025402052,
0.033661447,
0.015745746,
0.030542137,
0.021645315,
0.030786257,
0.0003668159,
0.017413901,
-0.0423684,
-0.024344198,
0.0046416726,
-0.047983162,
-0.02051965,
0.005648668,
0.032684967,
-0.0025886903,
0.028779047,
-0.030243767,
-0.018485317,
-0.089836195,
0.012531498,
-0.060379036,
0.014782828,
0.04261252,
-0.024940936,
-0.02945716,
0.051970456,
-0.020194156,
0.010130984,
0.050804105,
0.03781149,
0.042693894,
0.062115002,
0.027151579,
0.001111255,
0.019597419,
0.01351476,
-0.050370112,
-0.041853033,
0.026921023,
-0.019733042,
0.016450983,
-0.050207365,
-0.051292345,
0.028724799,
0.020167032,
-0.02422214,
-0.014904888,
-0.020167032,
0.0036889259,
-0.028887546,
0.007499912,
0.07611122,
0.03189836,
-0.044918098,
-0.006021629,
0.0074049765,
-0.029294413,
-0.0013646991,
-0.061355516,
0.063145734,
-0.006472573,
0.020004285,
0.027070206,
-0.03130162,
0.008557766,
0.032467972,
-0.0012392486,
0.008910384,
0.034366686,
0.049719125,
-0.006130127,
0.022906603,
-0.010870125,
0.005770728,
0.016274674,
0.074538,
0.010239482,
0.08300083,
0.04622007,
-0.03585853,
0.019529607,
0.031030377,
-0.01479639,
-0.0108226575,
0.0109514985,
0.038435355,
0.00809665,
0.00019304984,
-0.030243767,
0.0015655897,
0.043426253,
0.014321713,
-0.016383171,
-0.01844463,
0.028345056,
-0.070035346,
-0.018037762,
-0.05289269,
0.038408227,
-0.010232701,
-0.036455266,
0.05034299,
-0.028345056,
0.21211325,
0.052431572,
0.05631037,
0.014403086,
0.017969951,
0.039004967,
0.027355013,
-0.013135018,
0.032956213,
-0.04584033,
-0.010646349,
-0.031464368,
0.013596133,
0.053109683,
-0.047142304,
0.02921304,
-0.054194663,
-0.009263001,
-0.01710197,
-0.011432958,
-0.06379672,
0.022635357,
-0.0074117575,
0.043724623,
0.008456049,
0.0017122312,
0.013765661,
-0.03244085,
0.02891467,
-0.04377887,
0.043833118,
-0.00033015548,
0.029619906,
-0.02397802,
-0.009785147,
-0.018241197,
-0.0020106002,
-0.03336308,
-0.004600986,
0.0017681754,
0.023096474,
-0.029809777,
0.04280239,
-0.017088408,
-0.0106938165,
-0.0015994952,
-0.02757201,
-0.024005143,
0.04833578,
-0.030786257,
0.019692354,
-0.042097155,
0.021333383,
-0.03591278,
-0.009337594,
-0.0012384009,
-0.07621972,
-0.05679861,
0.006750599,
-0.026202224,
-0.0054282816,
0.002386952,
-0.010192014,
0.013670726,
-0.008503517,
-0.010978623,
-0.03458368,
0.031681363,
0.0067675514,
0.0032532394,
0.02580892,
0.028100936,
-0.055008397,
-0.013114674,
-0.002178433,
-0.016844288,
-0.040523935,
0.061084274,
0.008618795,
-0.026581965,
-0.0075745042,
0.002227596,
0.017698707,
-0.050939728,
0.07068633,
0.017169781,
-0.039493207,
-0.032956213,
0.012979052,
0.010734503,
0.011521112,
0.041202046,
0.00017556727,
0.028968919,
0.004767123
] | from transformers import AutoConfig, AutoModel, AutoModelForImageClassification
AutoConfig.register("resnet", ResnetConfig)
AutoModel.register(ResnetConfig, ResnetModel)
AutoModelForImageClassification.register(ResnetConfig, ResnetModelForImageClassification) |
[
0.03759042,
-0.017592205,
-0.0071720434,
-0.041072067,
-0.025914181,
-0.02113046,
-0.015511711,
-0.018073408,
-0.0016293665,
0.06063154,
0.015653241,
0.002689074,
0.042515676,
-0.04056256,
0.019545322,
0.043647915,
-0.00904378,
-0.044751853,
-0.07195396,
0.0055232164,
0.012093756,
0.04806366,
-0.08395572,
-0.051601913,
-0.040873922,
0.0070198984,
0.025942488,
0.014237939,
0.0576311,
0.032523643,
-0.030032711,
0.02076248,
-0.021427674,
-0.028716478,
-0.021215377,
-0.030004404,
-0.0033454204,
-0.035892062,
-0.028518338,
-0.05757449,
0.02417336,
-0.012263592,
0.03433523,
-0.050469674,
-0.023465708,
-0.009390529,
0.012893402,
0.023437403,
-0.01447854,
-0.03781687,
-0.030570526,
0.0075223306,
0.013848731,
-0.0028889854,
-0.015285263,
-0.028235277,
-0.03376911,
-0.027485166,
-0.07036882,
0.031448014,
0.027485166,
0.030796973,
0.015214497,
-0.07472795,
-0.00377178,
-0.001871737,
-0.0015851384,
-0.0002850507,
-0.036090203,
-0.019601934,
0.0049570957,
0.0046988027,
-0.0039062337,
-0.019290568,
0.021866417,
0.0594993,
0.011938073,
-0.014471464,
0.010890749,
0.010331705,
-0.016601494,
0.04370453,
0.01480406,
0.027074728,
-0.004946481,
-0.010897826,
0.026409537,
-0.038637746,
-0.0052896915,
-0.036146816,
-0.010013262,
0.03498627,
-0.049903553,
0.013254304,
0.0025634659,
0.02076248,
0.00017735505,
0.037986707,
0.013013703,
-0.007182658,
0.004171603,
0.111525804,
0.006931442,
0.019233955,
0.00097213563,
-0.010919056,
0.0010544,
0.0043732836,
-0.078351125,
0.005972575,
0.014719142,
-0.007317112,
0.017563898,
-0.0022768672,
0.037420586,
0.022234395,
-0.018229092,
-0.03396725,
-0.067991115,
-0.0016674028,
-0.0196727,
-0.001338345,
0.002620078,
-0.04678989,
-0.024470573,
-0.02585757,
-0.021158766,
0.03311807,
-0.020635104,
-0.002867756,
0.0078620035,
-0.042940266,
0.017747888,
0.03826977,
0.0049394043,
-0.020224666,
-0.047723986,
0.00008856695,
0.05649886,
-0.031164952,
0.032948233,
0.0076426314,
0.019884994,
0.072972976,
0.007080049,
0.0137284305,
0.0062202527,
-0.052536014,
0.0069420566,
-0.0068677533,
-0.06385843,
-0.012122062,
-0.025616968,
0.021555051,
-0.014351163,
0.0072463467,
-0.010692608,
0.034844737,
-0.016927013,
0.0064219334,
-0.015214497,
0.0153560275,
-0.022234395,
0.04305349,
0.022333467,
0.03382572,
-0.025970792,
0.0007337457,
-0.009496677,
-0.013961955,
-0.009114546,
-0.036288347,
-0.0010269786,
0.017125156,
0.03976999,
0.013077391,
0.027329484,
0.009574519,
0.0074232593,
-0.0025475437,
-0.017846959,
-0.014874825,
0.035807144,
0.012886326,
0.023975218,
-0.020252973,
0.010062798,
0.0062273294,
-0.00626625,
0.016559035,
0.03696769,
0.017648816,
0.0078124674,
0.020012371,
-0.049252514,
0.009029627,
-0.012284822,
-0.006687302,
-0.043138407,
-0.031844296,
-0.03518441,
0.010197251,
-0.07393538,
0.0052472325,
-0.016884554,
0.014492693,
-0.01776204,
0.014372393,
0.0009455987,
-0.0020132673,
0.04327994,
0.005544446,
-0.013862884,
0.013657665,
0.0047766445,
0.029155223,
-0.044525404,
0.0047094175,
0.020083137,
-0.0271738,
0.051941585,
0.03945862,
0.031504624,
0.0064537777,
0.010834138,
-0.01494559,
-0.00657054,
0.04678989,
0.029098611,
0.027371943,
0.008590884,
0.014761601,
-0.02881555,
0.04820519,
0.023041118,
0.0029792108,
0.036939386,
0.025616968,
0.029664733,
0.0013038471,
0.01883767,
-0.00059973425,
0.02360724,
0.052168034,
0.011103045,
-0.003810701,
-0.040505946,
-0.015823077,
-0.025560355,
0.010593536,
-0.039939824,
0.020833246,
0.0024449343,
-0.024244124,
-0.039741684,
-0.022701446,
0.028843857,
0.052111425,
-0.01798849,
-0.025730193,
0.01912073,
-0.004801412,
-0.004093761,
-0.019488709,
0.03124987,
0.023225106,
0.02670675,
0.028490031,
0.00833613,
-0.04667666,
-0.0051340084,
0.0006001765,
-0.08729583,
-0.032410417,
-0.0323255,
-0.012921708,
0.022559915,
-0.02070587,
-0.0020911088,
-0.017394062,
0.023154343,
0.0020858014,
0.0013135773,
0.020196361,
0.029211836,
-0.029325059,
-0.0543476,
-0.0059088864,
-0.017790347,
0.012100833,
-0.024583798,
-0.004214062,
0.016799636,
-0.014988049,
0.0069774394,
0.0045360434,
0.036656324,
-0.034476757,
-0.03719414,
0.033287905,
-0.041949555,
0.017889418,
-0.015285263,
0.0020203437,
-0.013261381,
0.04727109,
-0.0035718686,
-0.020479422,
0.027046423,
0.038949113,
-0.019318873,
0.035382554,
0.03059883,
-0.025984947,
-0.032778397,
0.010664301,
0.054375906,
-0.020068984,
-0.0009066779,
-0.021894723,
-0.05378148,
0.015992913,
-0.0023087116,
-0.0025068538,
-0.0043166713,
0.04056256,
-0.027612545,
-0.027725767,
0.013466599,
-0.07387877,
-0.022474997,
-0.043732833,
0.009560365,
0.017535593,
0.0039593074,
0.034703206,
-0.042006165,
-0.028758937,
0.009312687,
0.029070305,
0.03190091,
-0.023409097,
0.03824146,
0.02924014,
-0.018030949,
0.016601494,
0.033061456,
-0.025390519,
-0.009029627,
0.0068995976,
0.050158307,
0.015681546,
0.0037823948,
0.005979651,
-0.012468811,
0.038354687,
-0.018384773,
0.043930978,
0.01863953,
0.006917289,
0.016007066,
-0.00476603,
-0.007281729,
0.039798293,
0.00017658104,
-0.03659971,
0.016714718,
0.038411297,
0.005544446,
-0.06114105,
0.019262262,
-0.00482618,
0.016219363,
0.00565767,
0.022743905,
-0.013572747,
-0.003577176,
0.054489132,
0.050752733,
-0.049677104,
-0.0155683225,
-0.0018628914,
-0.027003964,
0.035580695,
0.045601033,
0.014145944,
-0.004953557,
-0.01101105,
-0.056357328,
-0.010777526,
-0.01508712,
-0.028560797,
-0.01573816,
-0.048714697,
-0.029693037,
-0.06946303,
-0.00020754078,
0.039203867,
0.056385636,
0.012709413,
0.008421048,
-0.035439163,
-0.037363976,
0.07336926,
-0.017592205,
-0.02360724,
-0.016983625,
0.05363995,
0.043308243,
0.015370181,
-0.019134885,
-0.06685887,
-0.0031083573,
0.010855367,
-0.010466159,
0.043676224,
-0.014414852,
-0.026720904,
-0.039854906,
0.01695532,
-0.030712055,
-0.01972931,
-0.017026084,
0.029268447,
0.03246703,
-0.038496215,
-0.02974965,
-0.030372383,
0.038496215,
0.042685512,
0.015865536,
-0.026975658,
-0.012221133,
-0.008399818,
-0.031080034,
0.04763907,
0.048799615,
-0.04741262,
-0.001628482,
-0.02567358,
0.002315788,
0.012865096,
0.009546213,
-0.021427674,
-0.004436972,
-0.011471024,
0.009588672,
-0.004090223,
-0.028405113,
-0.029777955,
0.030344076,
-0.021172918,
0.013409987,
-0.051743444,
0.019502863,
0.039175563,
0.0196727,
0.03662802,
0.020720022,
-0.016459962,
-0.029919486,
-0.012865096,
0.038581137,
-0.014832366,
-0.006432548,
0.020649258,
0.004953557,
-0.009135775,
0.047440927,
-0.009312687,
-0.011938073,
0.036995996,
0.015808925,
-0.038779277,
0.02005483,
-0.03439184,
0.011626706,
-0.016148597,
-0.012858019,
0.002620078,
-0.065160505,
0.050865956,
0.012001761,
-0.02272975,
0.046025623,
-0.053073827,
-0.02867402,
-0.0012233517,
-0.040024742,
0.03662802,
-0.009390529,
-0.019616086,
0.014903131,
-0.0018805827,
-0.025234837,
-0.007833697,
-0.047044642,
0.0035417934,
0.038099933,
0.0065068514,
0.0089305565,
-0.055819515,
-0.035127796,
0.030004404,
-0.057008367,
0.050101694,
-0.009694819,
0.001739937,
-0.027371943,
0.011527635,
-0.017917724,
-0.012709413,
-0.047157865,
0.015709853,
-0.017790347,
0.004090223,
0.019644393,
-0.046591744,
-0.0005975228,
0.019984065,
-0.030513912,
-0.074218445,
-0.0047624917,
0.01977177,
-0.011633784,
0.035609,
0.042742122,
-0.06414149,
-0.03246703,
-0.034844737,
0.055791207,
-0.045940705,
-0.012497118,
-0.04098715,
-0.03659971,
-0.021073848,
0.010466159,
0.013551517,
-0.046591744,
0.015016356,
0.005583367,
-0.01056523,
-0.059725747,
0.0063511683,
-0.013707201,
-0.049535573,
-0.016573187,
-0.023762923,
-0.029523201,
0.00845643,
0.009730202,
0.01431578,
0.027570084,
0.02163997,
-0.026819974,
-0.011081816,
-0.033231292,
-0.00022147266,
-0.01417425,
0.04775229,
0.009716049,
0.03158954,
-0.014733295,
0.051149018,
-0.025447132,
0.0024343196,
-0.025220683,
-0.004635114,
0.061537333,
-0.029636426,
0.03190091,
-0.002498008,
0.02033789,
0.007883233,
0.020323738,
-0.041440044,
-0.0047094175,
-0.0015718698,
-0.058593508,
0.03368419,
-0.028773092,
-0.011669165,
0.0016868631,
0.040364414,
0.021823958,
-0.01555417,
-0.005986728,
0.066802256,
0.0074940245,
-0.012341434,
-0.063065864,
0.0013808041,
0.006057493,
-0.0019336565,
0.009631131,
0.026735056,
-0.010211404,
-0.0006001765,
-0.041043762,
-0.054743886,
-0.030202547,
-0.016601494,
0.0028429881,
0.013459523,
0.06917997,
0.0018929666,
-0.016856248,
-0.010289246,
0.017903572,
0.02066341,
-0.021569204,
-0.0030428995,
0.042657204,
0.029947791,
-0.0076426314,
0.0022627143,
-0.040958844,
-0.010749219,
0.011775313,
-0.026168935,
-0.011591324,
0.012327281,
0.08401233,
-0.046931416,
-0.06663242,
-0.01995576,
0.0026660752,
-0.024569644,
-0.015058815,
0.0018664296,
-0.012214057,
-0.022828823,
0.01719592,
0.020422809,
-0.015172038,
0.014563458,
0.003187968,
-0.019134885,
-0.031080034,
0.025871722,
0.0019071195,
-0.033854026,
-0.030881891,
-0.065953076,
-0.01267403,
-0.028037135,
-0.0025970794,
0.026367078,
-0.0153135685,
0.029296754,
0.011124275,
0.011987609,
0.072123796,
-0.005264924,
0.004727109,
-0.0017823961,
-0.032438725,
-0.07880402,
-0.009298535,
0.014329934,
0.019134885,
0.0014533383,
-0.021385215,
0.02445642,
0.031221565,
0.04970541,
0.016106138,
-0.08678632,
0.003701015,
-0.046280377,
-0.0054949103,
-0.007122508,
0.051658526,
-0.023536474,
0.037335668,
0.0103883175,
-0.0067580673,
-0.010529848,
0.024541339,
-0.023805382,
-0.018936742,
-0.06742499,
0.002952674,
-0.06685887,
-0.009149928,
-0.025914181,
-0.00017182651,
-0.0014170712,
0.01813002,
0.0073737237,
0.012468811,
-0.013070315,
0.020224666,
0.003715168,
0.00740203,
0.0027969908,
0.052677542,
0.003023439,
-0.013013703,
-0.032919925,
0.03218397,
0.048233494,
-0.03532594,
0.006337015,
-0.01494559,
0.003437415,
-0.010904903,
0.0053003062,
0.031419706,
0.019219803,
-0.004242368,
-0.0152711095,
0.021937182,
-0.040873922,
0.026013253,
-0.016927013,
-0.03883589,
0.022078713,
0.034646597,
-0.0033153452,
0.057461265,
0.00723927,
0.009135775,
0.0025475437,
0.0040265345,
0.02206456,
-0.0030322848,
0.0062733265,
-0.015752312,
-0.017606357,
-0.035212714,
0.016615646,
0.0013348068,
-0.058027387,
0.029523201,
-0.042459063,
-0.012284822,
-0.008562578,
0.013558594,
0.03784518,
0.027966369,
0.018865976,
-0.03161785,
-0.0115417885,
-0.035580695,
-0.028900469,
-0.010253863,
-0.039713375,
-0.011322416,
0.028560797,
-0.083785884,
-0.002135337,
-0.004996016,
-0.02449888,
0.027994676,
0.055904433,
-0.03266517,
-0.0062025613,
0.02206456,
-0.030655444,
0.04047764,
-0.032636866,
-0.070595264,
0.01222821,
-0.0013011934,
-0.026536914,
-0.013034932,
-0.003895619,
0.050356448,
0.032438725,
-0.018158326,
-0.034703206,
-0.0018664296,
-0.010076951,
0.04327994,
-0.035467472,
-0.008612113,
-0.009694819,
-0.011761161,
0.010827061,
0.018724447,
0.013799195,
0.039317094,
0.028716478,
0.020111443,
0.008994245,
-0.0032711169,
-0.007833697,
-0.026876587,
-0.012794331,
0.04325163,
0.038411297,
-0.007890309,
0.016290126,
0.010331705,
0.061480723,
0.046846498,
0.016757177,
-0.014634224,
0.03781687,
0.0046174233,
-0.017875265,
-0.0459124,
0.044214036,
0.024428114,
-0.0048969453,
0.018936742,
-0.021441827,
-0.013735507,
-0.0069951303,
0.009079163,
0.016856248,
-0.030542219,
0.011060586,
-0.022050407,
-0.016318433,
0.022758057,
0.001129588,
-0.058027387,
0.030768666,
0.014959743,
0.041440044,
0.0010411316,
0.010678454,
0.009864655,
0.0135869,
0.05313044,
0.003980537,
0.027810685,
0.01672887,
0.03226889,
0.021342756,
0.030372383,
-0.043562997,
-0.017861113,
-0.038298074,
-0.04568595,
-0.029636426,
0.010834138,
0.023210954,
0.010331705,
0.0077417023,
-0.019969912,
0.011980532,
-0.04625207,
0.00864042,
-0.028829703,
0.015030508,
0.01902166,
0.004171603,
-0.016813789,
0.05927285,
0.008527195,
0.016488269,
0.057178203,
0.09471202,
0.068444006,
0.07195396,
0.050384752,
-0.020408656,
0.057093285,
0.0152286505,
-0.04928082,
-0.016403351,
0.021852264,
-0.03275009,
0.0058841184,
-0.032353807,
-0.0745015,
0.013848731,
0.033486046,
-0.025829263,
-0.0070552807,
0.05898979,
-0.011973456,
-0.037363976,
0.019134885,
0.06957625,
0.03410878,
-0.005459528,
-0.008633343,
0.02703227,
-0.059329465,
0.024583798,
-0.04277043,
0.04296857,
0.006697917,
-0.018724447,
0.028320195,
-0.033061456,
0.022602374,
0.023267567,
-0.013268457,
0.010289246,
0.0015364874,
0.023649698,
0.0510641,
0.0006868638,
-0.048941147,
-0.04282704,
0.048686393,
0.07478456,
0.025928333,
0.06063154,
0.059442688,
-0.032721784,
-0.00027288793,
-0.0048898687,
0.015030508,
0.018285703,
-0.0036868618,
0.0051375465,
-0.010105257,
-0.043506388,
-0.078464344,
-0.04160988,
0.014761601,
-0.009447142,
0.00025630236,
-0.022262702,
-0.015922148,
-0.099071145,
-0.0088456385,
0.015186192,
0.023522321,
-0.023210954,
-0.012065451,
-0.017323298,
-0.013969031,
0.23641206,
0.019984065,
0.026225548,
-0.007918615,
0.06080138,
0.040364414,
0.0398266,
-0.0014250323,
-0.011853155,
-0.051375467,
0.01831401,
0.012928785,
0.017040238,
0.03761873,
-0.014082256,
0.051998198,
-0.05927285,
-0.0010199021,
-0.015497558,
-0.022291008,
-0.063915044,
0.0010269786,
-0.018512152,
0.07150106,
-0.009723125,
0.011789466,
0.022658987,
-0.06708532,
0.0068854447,
-0.016233515,
0.0015064122,
0.006881906,
0.023465708,
-0.014322857,
-0.018894283,
-0.030712055,
0.036231734,
-0.033146374,
0.0050384756,
-0.005976113,
-0.0011747007,
-0.024569644,
0.017917724,
-0.015044661,
0.0067332997,
0.015752312,
-0.035892062,
0.05522509,
0.030004404,
-0.02881555,
0.030457301,
-0.028263582,
0.021852264,
-0.043025184,
-0.033004846,
0.04342147,
-0.06227329,
-0.039656766,
-0.010933208,
0.00047279935,
0.016898707,
0.017224226,
-0.019092426,
0.03640157,
0.043732833,
0.023041118,
-0.027555931,
0.037958402,
0.006485622,
0.042713817,
0.04667666,
0.018582916,
-0.03158954,
-0.05392301,
0.028942928,
0.010133563,
-0.034222003,
0.029806262,
0.009949573,
-0.06521712,
0.019502863,
-0.027230412,
0.0496488,
-0.029041998,
0.010027415,
0.04854486,
-0.020904012,
-0.0075789425,
-0.020946471,
0.011379029,
0.026112324,
0.04848825,
0.012313128,
0.035439163,
0.012992473
] | import timm
pretrained_model = timm.create_model("resnet50d", pretrained=True)
resnet50d.model.load_state_dict(pretrained_model.state_dict()) |
[
0.033091716,
0.003729033,
-0.010344614,
-0.039803974,
0.013700744,
0.035550114,
0.0006940145,
-0.019197615,
-0.009667863,
0.09104365,
0.023216683,
0.0044644815,
0.049002256,
-0.040798385,
-0.006449846,
0.05112919,
-0.013300218,
-0.033285074,
-0.0790555,
-0.0005369117,
-0.0019335727,
0.017208798,
-0.07347576,
-0.0752436,
-0.038781945,
-0.0011765445,
0.034942422,
0.009612619,
0.053256117,
0.023644833,
-0.0022840328,
-0.0007591862,
-0.009426167,
-0.020537304,
-0.010254841,
-0.028423518,
-0.026172288,
-0.034389973,
-0.04637812,
-0.05723375,
0.013590254,
-0.020067722,
0.027318621,
-0.040135443,
-0.029583663,
-0.0058076237,
0.026034176,
0.034970045,
0.026517568,
-0.0154409595,
0.02629659,
0.04936135,
-0.011145665,
-0.014584662,
-0.03994209,
-0.009136131,
-0.02238801,
-0.006867636,
-0.047704,
-0.029500796,
0.012996371,
0.005659153,
-0.01035152,
-0.019460028,
0.019860554,
0.033340316,
-0.03201444,
0.0029089912,
-0.010738234,
-0.0022132501,
0.017609322,
0.004519726,
-0.020523494,
-0.02563365,
0.01455704,
0.015371903,
0.015413336,
-0.044030212,
0.017788868,
0.025592215,
-0.024763541,
0.044030212,
0.02317525,
-0.010365331,
-0.026779981,
-0.048449807,
0.03549487,
-0.015081868,
-0.013203539,
-0.023258118,
-0.026227532,
0.026904283,
-0.0338099,
0.02271948,
-0.00042706923,
0.010386048,
0.0070195594,
0.033865146,
-0.00778263,
-0.013907912,
0.01725023,
0.11955004,
0.017056873,
0.018396564,
-0.032981224,
-0.009750731,
0.0015252781,
-0.0016167775,
-0.04220713,
0.0037635611,
0.022981893,
0.0058145295,
0.002720813,
-0.008970397,
0.0029141703,
0.039886843,
0.011345929,
0.0030522826,
-0.068006516,
-0.0016547585,
-0.011145665,
-0.011539286,
0.009937183,
-0.047869734,
-0.020509683,
0.01024103,
0.0027795108,
0.051764503,
0.011318306,
-0.0261861,
0.024887843,
-0.050411005,
-0.029942755,
0.051902615,
-0.00080148317,
-0.0313515,
-0.03043996,
0.024459695,
0.07424919,
-0.019888176,
-0.0011169835,
0.009018736,
0.02284378,
0.08402754,
-0.0051308735,
0.007830969,
-0.006715712,
-0.06728833,
-0.011477135,
0.020440625,
-0.013203539,
-0.014156515,
0.00019702587,
0.03938964,
-0.03908579,
0.013224256,
-0.016780648,
0.009502129,
0.037815157,
0.0028813686,
-0.014584662,
0.018451808,
-0.01567575,
0.054167658,
0.0017764699,
0.03372703,
-0.0313515,
-0.008866812,
-0.027953938,
-0.019446217,
-0.004288388,
-0.03999733,
0.007603084,
0.014004591,
0.03394801,
0.018065093,
0.027415298,
0.012885881,
0.008991113,
-0.015730996,
-0.0018783278,
-0.020288702,
0.035301514,
0.040163066,
0.010199596,
-0.016490612,
0.004419595,
0.0058835857,
-0.023700077,
0.01556526,
0.046764836,
0.021614581,
-0.026600435,
0.028534008,
-0.029583663,
0.0055762855,
-0.018299885,
-0.013417614,
-0.008058854,
-0.024349205,
-0.063531674,
0.023340985,
-0.072370864,
-0.0015028348,
-0.033837523,
-0.0036703353,
0.009495223,
0.025108824,
-0.016462991,
-0.010510349,
0.023852,
-0.018976634,
-0.037262708,
-0.023465285,
0.016034842,
-0.028616875,
-0.032456398,
0.0021407413,
-0.0017868284,
-0.039610617,
0.062426776,
0.025219312,
0.00805195,
0.008777039,
0.013424519,
-0.0110213645,
-0.017070685,
0.056349833,
0.033561297,
0.010289369,
0.00044843348,
0.005552116,
-0.0103100855,
0.07739815,
0.033091716,
-0.0075823674,
0.035025287,
0.07491213,
-0.0068538245,
0.0096264295,
0.01578624,
0.03894768,
-0.0071265968,
0.032732625,
-0.000031911502,
-0.016269634,
-0.01293422,
-0.010945403,
-0.021932239,
0.0019767329,
-0.03574347,
0.054140035,
0.027898692,
0.017402155,
-0.036544524,
-0.004695819,
0.00486846,
0.011663587,
-0.022484688,
-0.005296608,
0.01337618,
-0.0038429757,
-0.033644166,
-0.0007794715,
0.055023953,
0.038781945,
0.034555707,
0.042400487,
-0.009046358,
-0.043781612,
-0.014032213,
-0.005044553,
-0.07618277,
-0.01802366,
-0.014025308,
-0.00050885766,
0.036434036,
0.0026275872,
0.009902654,
-0.008970397,
-0.011207816,
0.023009514,
-0.027263375,
0.023009514,
-0.0037048634,
-0.0054001925,
-0.05057674,
-0.002972868,
-0.0425386,
0.005552116,
-0.023492908,
-0.013990779,
-0.0013310576,
-0.0033388657,
0.012153885,
-0.00039124634,
0.031075276,
-0.039693486,
-0.027981559,
0.034168992,
-0.025799384,
-0.014874699,
-0.01936335,
0.024929278,
-0.03190395,
-0.0042365957,
-0.019598141,
-0.03883719,
0.042151887,
0.039030544,
-0.04019069,
0.037815157,
-0.0018766014,
0.008790851,
-0.027456732,
0.026268966,
0.035660606,
-0.008846095,
0.0022995705,
-0.04637812,
-0.007202558,
0.009322583,
0.0058179824,
-0.004271124,
-0.029500796,
0.047538266,
-0.019294294,
-0.06574147,
0.011546192,
-0.037815157,
-0.0046371217,
-0.028616875,
-0.0022046182,
0.03604732,
-0.0015399526,
0.022940459,
-0.063365944,
-0.008749416,
-0.04041167,
0.032318287,
0.02328574,
-0.044941753,
0.037594177,
0.02240182,
0.003912032,
-0.00059474626,
0.012830636,
-0.03673788,
0.013783611,
-0.0059871697,
0.033064093,
0.037345577,
0.012754674,
0.0501624,
0.018092716,
0.040715516,
-0.018009849,
0.030826673,
-0.0032024798,
-0.026310401,
0.05148828,
0.043035805,
-0.023106193,
0.013907912,
-0.04342252,
-0.020924019,
0.0065672416,
0.012333431,
0.038892433,
-0.039472505,
0.0425386,
-0.033091716,
-0.012160791,
0.00047260316,
0.00679858,
-0.031075276,
0.017084496,
0.05118443,
0.030881919,
-0.013307123,
-0.01521998,
-0.009612619,
-0.024777353,
0.032511644,
0.023658643,
0.013990779,
-0.03985922,
-0.031821083,
-0.039058167,
0.0021977127,
0.014059836,
-0.042621467,
-0.0011946717,
-0.008328174,
-0.014584662,
-0.055880252,
0.022374198,
0.038505718,
0.050521493,
0.011442607,
0.03193157,
0.021766504,
-0.015730996,
0.032594513,
-0.05181975,
0.0027173602,
-0.04690295,
0.046709593,
0.01690495,
0.0011074883,
-0.045107488,
-0.038671453,
0.02024727,
-0.012347243,
-0.035301514,
0.010026956,
-0.041820414,
-0.036323544,
-0.0474554,
-0.008894434,
-0.05585263,
-0.024487317,
-0.018797088,
0.050300512,
0.030605694,
-0.06469182,
-0.01914237,
-0.0425386,
0.034472838,
0.0063186395,
-0.038229495,
-0.030881919,
-0.019280482,
0.0031679517,
-0.021697449,
0.010648461,
0.045798052,
-0.034389973,
0.025840819,
-0.046626724,
-0.021145,
-0.010448198,
-0.0033768467,
-0.01981912,
-0.0013163832,
0.012975654,
0.033837523,
0.034417596,
-0.026227532,
-0.017208798,
0.019087125,
0.01477802,
-0.035163403,
-0.03748369,
0.058725365,
0.02048206,
0.007554745,
-0.025896063,
0.026807604,
0.029500796,
-0.008935868,
0.003523591,
0.02430777,
-0.049830932,
-0.043643497,
0.04229,
-0.0012024406,
-0.0016780649,
0.05228933,
0.005624625,
-0.036903616,
0.001866243,
0.04220713,
-0.028119672,
0.027898692,
-0.0074718776,
0.010593216,
-0.006111471,
-0.0015062877,
0.031185765,
-0.06452608,
0.05900159,
0.00022421674,
-0.02316144,
0.0013103408,
-0.065244265,
-0.009950994,
-0.004923705,
-0.054250527,
0.022222275,
-0.010434387,
-0.00023263297,
-0.005624625,
0.010323897,
-0.031600103,
-0.04201377,
-0.0033595825,
-0.00002460126,
0.032732625,
-0.029252192,
0.028147295,
-0.007851686,
-0.04546658,
0.01892139,
-0.03317458,
0.045963787,
-0.020606361,
0.0017134561,
-0.02149028,
0.0081140995,
-0.025467915,
-0.023631021,
-0.004022522,
-0.03165535,
-0.011394268,
-0.025095012,
0.022015106,
-0.011414984,
-0.021973673,
0.016780648,
-0.036627393,
-0.049278483,
-0.02071685,
-0.0010177153,
-0.015012811,
0.035909206,
0.017650757,
-0.062703,
-0.04693057,
-0.032539267,
0.055604026,
-0.048891768,
-0.02531599,
-0.010289369,
-0.02316144,
-0.034859553,
0.060990408,
0.014957566,
-0.023479097,
0.01276158,
-0.01780268,
0.030881919,
-0.057620466,
-0.022346577,
-0.024059169,
-0.00089168776,
-0.04778687,
0.040715516,
-0.018396564,
-0.011905284,
-0.010275558,
0.028451141,
0.041267965,
0.012285092,
-0.014501795,
-0.0047165365,
-0.0103100855,
-0.010303181,
-0.011207816,
0.030467581,
-0.0062806583,
0.040163066,
-0.01343833,
0.046212386,
0.022664234,
-0.012699429,
0.0007358798,
-0.0076168953,
0.071431704,
-0.010185785,
0.036185432,
-0.024791164,
0.02125549,
-0.012768486,
-0.0027173602,
-0.012747768,
-0.014708964,
-0.04568756,
-0.028920723,
0.031379122,
-0.015689561,
-0.014764208,
-0.016711593,
0.014308438,
0.045273226,
-0.011207816,
0.018009849,
0.05543829,
0.0108141955,
0.0030678203,
-0.034086123,
0.035992075,
0.024680674,
0.016532047,
-0.0035218645,
0.024017734,
-0.033285074,
0.0051515903,
0.014142703,
-0.05717851,
-0.024777353,
0.02361721,
0.021863183,
0.021435035,
0.054250527,
0.015247602,
-0.03861621,
-0.0025481726,
0.029528417,
0.014501795,
-0.0465991,
0.0275396,
0.053256117,
0.034887176,
0.014377494,
-0.004001805,
-0.021020697,
0.008535342,
0.06789602,
-0.011497852,
0.0014838444,
0.0054727015,
0.06408413,
-0.045245603,
-0.054029547,
-0.02597893,
0.017043062,
-0.0083212685,
-0.0067675044,
0.005455437,
-0.021738881,
-0.026793793,
0.064305104,
0.009826693,
-0.022912838,
-0.0036875994,
0.0033820258,
-0.023658643,
-0.047980227,
0.049195614,
0.02597893,
-0.05574214,
-0.03999733,
-0.04030118,
0.004433406,
-0.041267965,
-0.015703373,
0.033285074,
-0.017443588,
0.038146626,
0.009315677,
0.015399526,
0.07181841,
0.0034735252,
0.030578071,
-0.016974006,
-0.047427777,
-0.06883519,
-0.044085458,
-0.0032111118,
0.008390324,
0.026034176,
0.012174603,
0.031986818,
0.011884566,
0.07165268,
0.012160791,
-0.069277145,
0.008597493,
-0.038699076,
-0.007040276,
0.020440625,
0.024984522,
-0.008417947,
-0.0058973967,
0.00031636358,
-0.0018541581,
-0.008286741,
-0.0025654368,
0.015316658,
-0.009861221,
-0.06463657,
-0.014211759,
-0.06607294,
-0.035412002,
-0.011843133,
-0.0074994997,
0.01159453,
0.05005191,
-0.01736072,
-0.00475797,
-0.021904616,
0.014115081,
0.00805195,
0.033754654,
0.0008234948,
0.036765505,
-0.008659643,
-0.014791831,
-0.03546725,
0.041240342,
0.0056557003,
-0.03043996,
-0.011332117,
-0.029832264,
-0.006684637,
-0.008908246,
-0.03190395,
0.009964805,
-0.010123635,
0.009308771,
0.0017333098,
0.014667531,
-0.056570813,
-0.01074514,
0.006038962,
-0.024998333,
0.026779981,
0.03146199,
-0.0212693,
0.054637242,
-0.02911408,
0.0010341161,
0.00537257,
0.006612128,
0.00760999,
0.0103100855,
0.013196634,
0.006108018,
0.010800385,
-0.004195162,
0.036130186,
0.026545191,
-0.063200206,
0.017540267,
-0.02497071,
0.0032093853,
-0.046875328,
-0.019211426,
-0.010234124,
0.031821083,
0.039693486,
0.0012697703,
-0.009018736,
-0.03427948,
-0.016780648,
-0.018065093,
-0.065078534,
-0.037538934,
0.027553411,
-0.06657015,
-0.016573481,
-0.04654386,
-0.025771761,
0.02474973,
0.023948679,
-0.025992742,
0.049637575,
0.020854963,
-0.033091716,
0.030605694,
-0.025716517,
-0.019888176,
0.033975635,
-0.008790851,
-0.03212493,
-0.0034131012,
0.0023185608,
0.06281349,
0.0091223195,
-0.038892433,
-0.042372864,
-0.0011894925,
-0.009039452,
0.03226304,
-0.011152571,
0.010268652,
-0.00727852,
0.0077757244,
-0.017844114,
-0.0031299707,
-0.023078572,
0.031765837,
0.030826673,
-0.017706001,
0.019059502,
-0.0072508976,
0.009253526,
-0.011566908,
0.025785573,
-0.0030678203,
0.029915132,
0.004688914,
0.026268966,
0.012554412,
0.016725404,
0.050797716,
0.048422184,
0.015579072,
0.043615878,
-0.006284111,
-0.021752693,
-0.06419461,
0.040908873,
0.032594513,
0.022028917,
0.023230495,
0.011484041,
-0.012043396,
-0.012768486,
-0.022097973,
-0.0068607302,
0.0037359388,
-0.0010997194,
-0.03682075,
-0.002422145,
0.031959195,
0.007195653,
-0.053725697,
-0.010158163,
0.00850772,
0.060161732,
-0.0045128204,
-0.013272596,
0.026945718,
0.04521798,
0.056156475,
-0.0009831872,
0.032069683,
-0.004543896,
0.023921058,
-0.0009771448,
0.0066708256,
-0.035550114,
-0.005600455,
-0.002182175,
-0.04030118,
-0.018645165,
0.023700077,
0.011007553,
-0.009971711,
0.009654053,
-0.021766504,
-0.010959214,
-0.054112412,
0.009460695,
-0.041930906,
0.031489614,
0.0414337,
0.004682008,
-0.041571815,
0.053228494,
0.033754654,
-0.0152337905,
0.050217647,
0.04397497,
0.047704,
0.05966453,
0.055686895,
0.034776688,
0.0566813,
0.012996371,
-0.04311867,
-0.04430644,
0.024818787,
-0.0093294885,
0.025025954,
-0.03193157,
-0.07286807,
0.014722775,
0.02530218,
-0.031765837,
-0.01455704,
0.0052344576,
-0.01063465,
-0.040826008,
0.0010496537,
0.09203806,
0.023202872,
-0.029058836,
-0.016932573,
0.007851686,
-0.053118005,
-0.01359716,
-0.052897025,
0.06889043,
-0.007796441,
0.005869774,
0.020647794,
-0.05217884,
0.044637907,
0.0261861,
-0.018341318,
-0.0070678988,
0.01164287,
0.04251098,
0.04682008,
-0.010399859,
-0.023244306,
-0.015869107,
0.021517903,
0.07347576,
0.0053035137,
0.055244934,
0.056957528,
-0.0414337,
0.0022305143,
0.028865479,
0.02944555,
-0.002648304,
-0.011553097,
0.0400802,
-0.005700587,
0.010061484,
-0.05855963,
-0.023258118,
0.03367179,
-0.013452142,
0.022857592,
-0.012361054,
-0.010593216,
-0.06424986,
0.0046233106,
-0.029473173,
-0.012492261,
-0.01091778,
-0.01186385,
0.011670493,
-0.03950013,
0.22219513,
0.038643833,
0.045604695,
0.008935868,
0.08209398,
0.034307104,
0.03751131,
-0.015703373,
0.055106822,
-0.0931982,
0.011352834,
-0.032981224,
-0.01701544,
0.046516236,
-0.0403288,
0.059277814,
-0.04836694,
0.015910542,
-0.011048987,
0.0026120495,
-0.06844848,
0.0073268595,
-0.050908208,
0.053532343,
-0.0031506878,
0.02015059,
-0.002263316,
-0.06292398,
0.04637812,
-0.039803974,
0.0045335377,
0.008417947,
0.04367112,
-0.035660606,
0.0047130836,
-0.01488851,
0.016780648,
-0.0066535617,
-0.00638079,
0.011760266,
-0.00054597534,
-0.04480364,
0.022042729,
0.0012162518,
-0.013279501,
0.02730481,
-0.02218084,
0.017153552,
0.0425386,
-0.034942422,
0.034638572,
-0.019984854,
0.0073475763,
-0.0052379104,
-0.025937498,
0.015813863,
-0.03372703,
-0.01970863,
0.009619525,
-0.005610814,
-0.027139073,
0.016614914,
-0.049306106,
0.017761247,
-0.012616562,
0.0012663174,
-0.023810567,
0.015841486,
0.016034842,
-0.04201377,
0.03035709,
0.0040570498,
-0.043588255,
-0.038809568,
0.008866812,
0.0031627724,
-0.02171126,
0.05621172,
0.038201872,
-0.02137979,
-0.017816491,
-0.011850039,
0.0161039,
-0.014501795,
0.04063265,
0.012582034,
-0.04723442,
-0.037649423,
0.0077481023,
-0.007637612,
0.03883719,
0.03311934,
0.037456065,
0.056377456,
0.02229133
] |
First, make sure your model is fully defined in a .py file. It can rely on relative imports to some other files as
long as all the files are in the same directory (we don't support submodules for this feature yet). For our example,
we'll define a modeling_resnet.py file and a configuration_resnet.py file in a folder of the current working
directory named resnet_model. The configuration file contains the code for ResnetConfig and the modeling file
contains the code of ResnetModel and ResnetModelForImageClassification.
.
└── resnet_model
├── __init__.py
├── configuration_resnet.py
└── modeling_resnet.py
The __init__.py can be empty, it's just there so that Python detects resnet_model can be use as a module. |
[
0.02197837,
0.0060681263,
0.026552478,
-0.019684236,
0.020703852,
0.006053965,
0.010868815,
-0.028308483,
0.027657062,
0.009013682,
0.02152521,
-0.0019578028,
0.052566826,
-0.06434905,
-0.009502247,
0.06973035,
0.02197837,
-0.019740883,
-0.035658207,
-0.02529212,
0.005926513,
-0.016866134,
-0.045287907,
-0.045684423,
-0.011244089,
-0.0058840294,
0.045712747,
-0.033080846,
0.0636693,
0.055030897,
-0.01736178,
0.016441295,
0.0049564624,
0.0068540797,
-0.005098076,
-0.030106971,
-0.007112524,
0.0008443688,
0.018834557,
-0.009219021,
0.036677822,
-0.048941527,
0.043277,
-0.047497075,
-0.018409718,
0.028874936,
0.022941342,
0.012681464,
0.0068186764,
-0.022119984,
-0.01081925,
0.008546358,
-0.042370673,
0.040416412,
-0.016158069,
0.026368381,
-0.020307336,
-0.015011001,
-0.009233181,
-0.009034923,
0.036932725,
0.052226953,
0.00041798028,
-0.02260147,
-0.0038023149,
0.01852301,
-0.026736576,
0.015690744,
0.032401104,
-0.0016223565,
-0.025320444,
0.023578601,
0.0059194327,
-0.019896656,
-0.007725001,
0.011909672,
0.019089462,
-0.055569027,
0.024683183,
0.06684144,
0.027982771,
0.049111463,
0.03684776,
-0.0029632566,
-0.02142608,
0.01897617,
0.03837718,
0.011867188,
-0.01576155,
-0.022346565,
-0.07188287,
0.053359862,
-0.02219079,
0.03942512,
0.025858574,
0.048771594,
-0.018055685,
0.046420813,
0.0010656394,
-0.031126585,
0.0031438135,
0.08966949,
-0.021709306,
0.017503394,
-0.018466363,
-0.05163218,
0.009452682,
0.012405318,
-0.007038177,
-0.0034465117,
0.015988132,
0.00023941485,
0.024244184,
0.0058238436,
0.004542244,
0.01981169,
-0.019089462,
0.015294228,
-0.044721454,
-0.003653621,
0.02527796,
0.0019383309,
-0.019089462,
-0.039764993,
0.022941342,
-0.012674383,
-0.012419479,
0.05123566,
0.035233367,
0.026085155,
0.018338911,
-0.0036182178,
0.0072258143,
0.01736178,
-0.027274705,
-0.026226768,
0.007951582,
0.028039416,
0.011194525,
-0.02216247,
0.0013028416,
0.015223421,
0.0066806036,
0.07817049,
-0.014642807,
-0.002860587,
0.029540516,
-0.02540541,
-0.025731122,
0.014040951,
-0.029738776,
-0.021822598,
0.032401104,
0.018664623,
-0.03310917,
0.0040536784,
0.00037062835,
0.0054591894,
0.06576518,
-0.01680949,
0.008503874,
-0.013941822,
-0.01597397,
0.07205281,
0.00525031,
0.05902439,
-0.041719254,
-0.0261418,
0.017800782,
0.008702132,
-0.009077407,
0.03503511,
-0.04007654,
0.0070629595,
0.044438228,
0.01114496,
0.018168977,
0.016908618,
-0.006280546,
0.017191844,
0.024824796,
-0.004917519,
0.050414305,
-0.011605203,
-0.004659075,
0.0071089836,
0.024130892,
0.038178924,
0.02100124,
-0.0057070125,
0.01896201,
0.046364166,
-0.01574739,
0.011874269,
-0.0649155,
0.011753897,
-0.07069332,
0.029427227,
0.023521956,
-0.0059442148,
-0.059704132,
0.016951103,
-0.020859627,
0.003632379,
0.0012931057,
-0.009905845,
-0.009495166,
0.015251744,
-0.031098263,
0.009296908,
0.06383924,
-0.0013833841,
-0.008836665,
-0.023479471,
-0.0142038055,
0.016979424,
0.0059442148,
0.04843172,
-0.015832357,
-0.012603576,
0.0055335364,
-0.001286025,
0.041917514,
0.012207059,
0.03203291,
0.010543104,
-0.00065053575,
0.036677822,
0.026750738,
-0.01574739,
0.017163523,
0.0027773893,
0.021383597,
0.026127638,
0.006896564,
0.0063442723,
0.061630074,
0.03395885,
-0.015294228,
-0.019967463,
0.024867281,
0.038235568,
0.017843265,
0.049791206,
-0.020109076,
-0.0017976027,
-0.037187632,
-0.0022569606,
-0.012497366,
0.0019648834,
-0.0137010785,
0.026283413,
0.023706052,
-0.007668356,
-0.027458804,
-0.028478418,
0.032486074,
0.042342354,
-0.028478418,
-0.050414305,
0.029144,
0.004326284,
-0.0017807862,
-0.0070346366,
0.040501382,
0.05024437,
-0.04126609,
0.040869575,
0.0024711506,
-0.019981625,
-0.026425026,
-0.009233181,
-0.07822714,
0.039368473,
-0.06451898,
-0.008617165,
-0.009983731,
-0.053586442,
0.057579935,
0.033902206,
-0.016101424,
0.014600323,
-0.00021087093,
0.0020321496,
0.043107063,
0.041096155,
-0.05474767,
0.040444735,
-0.0011594582,
0.0041846707,
-0.030446842,
0.011194525,
-0.011010428,
-0.0059973197,
0.0071620885,
0.052991666,
-0.019061139,
-0.048601657,
-0.010210313,
0.014076354,
-0.045911007,
-0.038320538,
-0.03330743,
-0.006602716,
0.006415079,
-0.014685291,
-0.0093747955,
-0.04135106,
0.022119984,
0.02646751,
-0.022233276,
0.0037208872,
-0.0012931057,
0.045712747,
-0.047157202,
0.0144020645,
0.049536303,
0.032202847,
-0.030276906,
-0.0042802594,
-0.021128692,
0.020944595,
-0.011775139,
0.03225949,
0.028761644,
0.056786902,
0.017871588,
-0.05571064,
0.004457276,
-0.024244184,
-0.0028127925,
-0.035913114,
-0.036366273,
0.024612376,
0.022488179,
0.007264758,
-0.046562426,
-0.011477752,
-0.03191962,
0.007455936,
-0.011307815,
-0.03053181,
0.01938685,
0.029228969,
0.017347619,
-0.0043015014,
0.038971957,
-0.050046112,
0.014798582,
-0.0017055542,
0.015634099,
0.03483685,
-0.0070771207,
0.05729671,
0.002979188,
0.023408664,
-0.005218447,
-0.005260931,
0.023224568,
0.030390197,
0.046873976,
0.029087355,
0.0018675243,
-0.018296428,
-0.056531996,
-0.02806774,
-0.017602524,
-0.022049177,
0.050470952,
-0.042342354,
0.03410046,
-0.018055685,
-0.018367235,
0.039340153,
0.0025932922,
-0.02046311,
0.023621084,
0.02539125,
0.028874936,
-0.03172136,
-0.031438135,
-0.007477178,
0.004170509,
-0.01424629,
0.003301358,
0.020194044,
-0.03435537,
-0.016328003,
-0.05418122,
-0.01767333,
0.00011129914,
-0.016483778,
-0.00018564607,
-0.06298956,
-0.009438521,
-0.05364309,
-0.015478325,
0.06010065,
0.03395885,
0.011562719,
0.036168016,
0.0073638875,
-0.015195099,
0.043531902,
-0.044919714,
0.00054122804,
-0.05613548,
0.024499087,
0.009481005,
-0.024612376,
0.0054662703,
-0.014557838,
-0.007760404,
0.034638595,
0.005023729,
0.013906418,
-0.03257104,
-0.035941433,
-0.019868335,
-0.011626445,
-0.046024296,
-0.02195005,
-0.03741421,
0.021341112,
0.053076632,
-0.02206334,
-0.012681464,
-0.030673424,
-0.04072796,
0.017914072,
-0.01060683,
-0.04316371,
0.010493539,
-0.011392783,
-0.06633163,
0.036139693,
0.029823745,
-0.0132479165,
0.027926126,
-0.04970624,
-0.030900003,
-0.02335202,
-0.03942512,
-0.0015382735,
0.013481579,
0.045089647,
-0.0012169885,
0.03911357,
0.0024764612,
0.019514302,
0.012504447,
-0.003812936,
0.009204859,
-0.022629792,
0.026609125,
-0.042257383,
-0.008164002,
-0.024612376,
0.044494875,
-0.01017491,
-0.03653621,
-0.0043369047,
-0.00653545,
-0.04296545,
-0.087460324,
0.0133470455,
0.03410046,
-0.015223421,
0.017758297,
0.028549224,
-0.050470952,
0.012660222,
0.0055441577,
0.0057494966,
0.007965744,
-0.03415711,
0.003579274,
0.007831211,
-0.022105824,
0.05069753,
-0.05454941,
0.038603764,
-0.022573147,
0.007845372,
0.0023525497,
-0.05613548,
-0.013566546,
-0.0073568067,
-0.04273887,
0.030616777,
0.030730069,
0.008156922,
0.033250783,
0.018239783,
0.048460044,
-0.030248584,
-0.04896985,
0.009672183,
0.027770352,
-0.0031544345,
0.006995693,
-0.060837038,
0.0009877522,
0.017121037,
0.015081808,
0.004506841,
-0.010656395,
-0.04712888,
0.015336712,
-0.0010780307,
-0.038405504,
-0.044919714,
0.006039804,
-0.017956557,
0.0052786325,
-0.0030924787,
0.018537171,
-0.039595056,
-0.027628738,
0.00310664,
-0.034695238,
-0.024371635,
-0.041832544,
0.014756097,
0.006266385,
0.022445695,
0.037754085,
-0.0028535062,
-0.025759444,
-0.02047727,
0.019740883,
-0.07058003,
-0.011881349,
-0.0053069554,
-0.015874842,
0.022672277,
0.027798675,
0.031211553,
-0.04993282,
0.012688545,
-0.022530664,
0.017106878,
-0.05024437,
-0.033080846,
0.0024569894,
-0.034327045,
-0.03203291,
0.075621456,
0.0028658975,
-0.028775806,
-0.023295375,
0.0022250977,
-0.0010736053,
-0.012164575,
0.0002653035,
-0.009969571,
0.02410257,
0.028761644,
-0.018395556,
0.028025256,
-0.012702705,
0.023606924,
-0.04412668,
0.028096063,
0.008390583,
0.0034429713,
-0.005710553,
-0.021907564,
0.042144094,
-0.0342704,
0.012660222,
-0.03149478,
0.026439188,
-0.011959236,
0.04738378,
-0.007994066,
0.003643,
-0.074375264,
-0.062536396,
0.06055381,
-0.04426829,
0.007455936,
-0.016866134,
-0.0051582614,
0.040642995,
-0.0047617443,
0.004768825,
0.051462244,
0.023677731,
-0.011775139,
-0.061800007,
0.02345115,
0.0054131653,
-0.016568746,
-0.014586162,
0.0067018457,
0.017942395,
0.039595056,
0.017319297,
-0.05001779,
-0.02454157,
0.008114438,
0.048148494,
0.010635152,
0.009027842,
0.011003347,
-0.043446936,
-0.016200552,
0.016582908,
0.034015495,
-0.013403691,
0.0063053286,
0.021723468,
0.008121518,
0.010975025,
-0.0018675243,
-0.011137879,
0.017645007,
0.054606058,
0.0063442723,
-0.0148552265,
-0.016087262,
0.050725855,
-0.031324845,
-0.03257104,
-0.054464445,
0.01809817,
-0.047610365,
-0.0027030422,
0.009346472,
0.010082861,
-0.021496886,
0.043645196,
0.029087355,
-0.011010428,
-0.033364072,
0.034581948,
-0.026481671,
0.0025755905,
-0.0043864693,
0.015775712,
-0.05398296,
-0.03225949,
-0.002646397,
-0.030248584,
-0.039510086,
-0.027345512,
0.083325215,
-0.005774279,
0.036479566,
0.029087355,
0.032514393,
0.03834886,
0.03769744,
0.029059032,
-0.0190753,
-0.049111463,
-0.04273887,
-0.054407798,
0.0042023724,
-0.0018498227,
-0.0030942487,
-0.03410046,
-0.0010559035,
0.05081082,
0.040558025,
0.03225949,
-0.10360423,
-0.0014612714,
-0.037640795,
0.007809969,
0.018933687,
-0.020066593,
0.031211553,
0.019273559,
0.0034801448,
-0.0426539,
0.0010231555,
0.028435934,
-0.025646154,
-0.006007941,
0.011860107,
0.004439574,
-0.055370767,
-0.07703759,
-0.018140653,
-0.04103951,
-0.022573147,
0.020661369,
-0.028053578,
-0.021057885,
-0.010613911,
0.025518702,
0.005087455,
0.012405318,
0.006482345,
-0.00803655,
-0.015223421,
-0.00013054968,
-0.059930716,
0.04169093,
0.033505686,
-0.0175742,
0.009332311,
-0.0059194327,
-0.003975791,
-0.044948034,
-0.016894456,
0.028251838,
-0.040189832,
-0.027345512,
0.02250234,
0.0068186764,
-0.04574107,
0.012985932,
-0.015662422,
-0.009608457,
-0.026651608,
0.0148552265,
-0.027869482,
0.04220074,
-0.025079701,
0.0031739064,
-0.033279106,
0.009339392,
0.022374889,
-0.007760404,
0.038178924,
0.0109325405,
-0.0000053692706,
-0.020802982,
-0.0043900097,
-0.007307242,
-0.032542717,
0.0073001613,
-0.005218447,
-0.0026694092,
0.02197837,
-0.014812742,
0.020774659,
0.06808764,
0.041181125,
-0.03140981,
0.006053965,
-0.052765086,
-0.042880483,
0.021992533,
-0.061969943,
-0.05112237,
0.0070346366,
-0.0829287,
0.008645487,
-0.014055111,
0.028223515,
-0.012653141,
0.029342258,
-0.04285216,
0.022431534,
-0.016271358,
0.019032817,
-0.0036058265,
-0.057806514,
-0.033675622,
0.00035690956,
0.02999368,
-0.0103306845,
-0.035431627,
0.015662422,
0.011909672,
-0.021341112,
-0.003301358,
-0.034978464,
-0.008376421,
0.0015497797,
0.045259584,
0.017843265,
-0.03095665,
-0.0375275,
-0.0051370193,
-0.04523126,
0.001210793,
-0.05021605,
-0.00857468,
0.006255764,
0.010231555,
0.030984972,
0.07052338,
0.039028604,
0.029228969,
-0.002862357,
0.035969757,
0.0396517,
-0.023337858,
0.012483205,
0.018551331,
0.004297961,
0.0055229156,
0.07380881,
-0.017729975,
0.025023056,
-0.011555638,
-0.015478325,
-0.0117397355,
0.012122092,
0.0066381195,
0.028365128,
-0.010826331,
-0.021964211,
-0.009587215,
0.018055685,
-0.014812742,
0.047298815,
-0.005345899,
0.0015648261,
0.042483967,
-0.012469044,
0.04101119,
-0.03962338,
-0.04273887,
0.011902591,
0.0015347332,
0.045712747,
0.0023454688,
0.018607978,
0.02152521,
0.021496886,
0.0011098936,
-0.008128598,
0.0047369623,
0.016257197,
0.033590656,
-0.009027842,
0.012483205,
-0.030673424,
0.028365128,
-0.006248683,
-0.06633163,
-0.033335753,
-0.003503157,
-0.016228875,
-0.010486458,
0.003019902,
-0.022275759,
-0.044919714,
-0.05120734,
0.0351484,
-0.064858854,
0.0051476406,
0.004832551,
-0.012150414,
-0.070636675,
0.019896656,
-0.03492182,
0.0058238436,
-0.013665675,
0.10230139,
0.016724521,
0.038292214,
0.012667302,
0.014494113,
0.017163523,
0.030276906,
-0.042059127,
-0.024824796,
-0.015478325,
-0.036252983,
0.02796861,
-0.02519299,
-0.0871771,
0.033675622,
0.009303989,
-0.068767376,
-0.002648167,
0.028053578,
0.010946702,
-0.051802114,
-0.029115677,
0.062423106,
0.033788912,
0.005738876,
0.018395556,
0.011137879,
-0.053303216,
-0.018820398,
-0.0342704,
0.042172417,
-0.0071479273,
0.0032110796,
0.033505686,
-0.023366181,
-0.001940101,
0.034185432,
-0.0006978876,
0.012376995,
0.03857544,
0.018140653,
0.030730069,
0.028096063,
-0.044749778,
0.012865561,
0.015450002,
0.058118064,
0.008801262,
0.03588479,
0.036451243,
0.0061106104,
-0.026269251,
0.014394984,
-0.006096449,
-0.058854453,
-0.023550278,
0.01682365,
-0.02217663,
-0.015733229,
-0.03342072,
-0.02818103,
0.0315231,
-0.006301788,
-0.008489712,
-0.028011095,
-0.035941433,
-0.05270844,
-0.011477752,
-0.046335846,
-0.025589509,
-0.008638406,
0.0016719211,
0.021794274,
-0.038830344,
0.23541781,
0.050499275,
0.017645007,
0.012270785,
0.041662607,
0.103037775,
-0.022275759,
-0.012716867,
0.019570947,
-0.046647392,
-0.029965358,
-0.032599363,
0.038490474,
0.05443612,
-0.053614765,
0.014741936,
-0.05976078,
0.031041617,
-0.01414008,
-0.06865409,
-0.049989466,
0.001370993,
-0.01842388,
0.026580801,
0.046364166,
0.02968213,
0.018438041,
-0.025801929,
-0.025221314,
-0.04220074,
0.0190753,
-0.0071762498,
-0.013099222,
-0.0024605296,
0.019627592,
-0.019018656,
-0.02100124,
-0.032542717,
-0.013885176,
0.011668929,
0.016257197,
-0.010960863,
0.06576518,
-0.02496641,
0.010599749,
0.037329245,
-0.021341112,
0.015605777,
0.04908314,
0.005537077,
0.007894937,
-0.0205764,
0.03772576,
-0.06406582,
-0.032429427,
-0.0201374,
-0.038660407,
-0.05344483,
0.029313937,
-0.01809817,
0.021199498,
0.008942875,
-0.020732176,
0.022516502,
-0.06808764,
-0.03030523,
-0.011123719,
0.029370582,
-0.0012904505,
-0.02988039,
0.036706146,
-0.019301882,
-0.032401104,
-0.004138646,
0.018466363,
0.017517556,
0.01553497,
0.040416412,
-0.03237278,
0.0036465405,
0.013601949,
-0.020987079,
-0.0016462536,
-0.021553531,
0.05208534,
0.047553718,
-0.014451629,
-0.004680317,
0.031268198,
0.008581761,
0.01649794,
0.045599457,
0.01767333,
0.0087871,
0.0022020855
] | If copying a modeling files from the library, you will need to replace all the relative imports at the top of the file
to import from the transformers package. |
[
0.032628737,
0.0069755027,
-0.015841696,
-0.02987864,
-0.010062198,
0.002957785,
-0.009840185,
-0.0070256344,
0.0016409261,
0.0568926,
0.034061078,
-0.010627973,
0.061189625,
-0.028833032,
0.006642483,
0.032256328,
0.0057042995,
-0.011172263,
-0.08634154,
-0.01372183,
-0.004637205,
0.006058804,
-0.08966457,
-0.057608772,
-0.041795723,
-0.03179798,
0.04984548,
-0.00977573,
0.029620819,
0.046637036,
-0.01846288,
-0.015182818,
-0.0078420695,
-0.0329725,
-0.03239956,
-0.023089344,
-0.009890317,
-0.03503507,
-0.064512655,
-0.06348137,
0.015182818,
-0.029935936,
0.027930656,
-0.061647974,
-0.028116861,
0.0019157566,
0.02139918,
0.03179798,
0.026197523,
-0.017875621,
0.027615542,
0.035951767,
0.028847355,
-0.008751606,
-0.017302684,
0.0015433478,
-0.026183201,
-0.047124032,
-0.048441786,
-0.015770078,
0.021871854,
0.024478715,
-0.01569846,
-0.035378832,
0.03764193,
0.034691308,
-0.0034250864,
0.0024009622,
-0.012583119,
-0.009181309,
0.008916325,
-0.00549661,
-0.025280826,
-0.022516407,
0.015297406,
0.0141300475,
0.0074410136,
-0.0073407497,
0.01846288,
0.032628737,
-0.028260095,
0.050905414,
0.053741448,
-0.030279696,
-0.024722213,
-0.048699606,
0.055402964,
-0.014667176,
-0.020382218,
-0.026211847,
-0.019923868,
0.015010938,
-0.047181323,
0.031282336,
0.014201664,
0.0225737,
0.00440445,
0.023060696,
0.019981163,
-0.034920484,
0.008916325,
0.075627625,
0.013750477,
0.029019237,
-0.025051652,
0.01053487,
-0.019938191,
-0.00923144,
-0.021657001,
0.00562194,
0.018677732,
-0.0033660023,
0.02563891,
-0.015813049,
0.024220893,
0.018147765,
0.022430466,
0.012088961,
-0.032113094,
-0.022559376,
0.014609882,
-0.017130803,
-0.0167011,
-0.07345047,
0.0063094636,
-0.04145196,
0.009138338,
0.034061078,
-0.029735407,
-0.025896732,
0.008164346,
-0.06795028,
-0.011888433,
0.06795028,
0.0001811688,
-0.0068501728,
-0.013506979,
0.006524315,
0.02148512,
-0.020081427,
0.013141732,
0.031024514,
-0.00071124703,
0.08468002,
-0.023948748,
-0.010062198,
-0.008228801,
-0.04884284,
-0.036868468,
-0.0030329828,
-0.0030329828,
-0.016543543,
0.0023741059,
0.009868832,
0.0024636271,
0.0052173035,
-0.030652106,
0.014373546,
0.0053605377,
0.02970676,
0.013284966,
0.013062953,
-0.03623824,
0.05606184,
0.00045812543,
0.05672072,
-0.0073013604,
-0.032915205,
-0.019350933,
-0.007254809,
0.008837546,
-0.034003783,
0.018806642,
0.0022989078,
0.035149656,
-0.00039434148,
0.042425953,
0.01334226,
0.010792692,
-0.010635135,
-0.012833779,
-0.04170978,
0.043314002,
0.020153044,
-0.0040212986,
-0.046923503,
-0.04128008,
0.016543543,
-0.015010938,
0.023519045,
0.03918886,
0.037527345,
-0.02836036,
0.014824733,
-0.038615923,
0.0046121394,
-0.019651724,
0.003079534,
-0.015870342,
0.0114444075,
-0.026555609,
0.031081809,
-0.0564629,
0.028890325,
-0.033545434,
0.0034376192,
0.01099322,
0.0073121027,
-0.0009337075,
0.017990207,
0.036524706,
-0.021542415,
-0.051793464,
-0.028174154,
0.006764232,
-0.0027465145,
-0.029849995,
0.014387869,
-0.0064562787,
-0.045433868,
0.026526961,
0.03466266,
0.033717316,
-0.022201292,
-0.002735772,
-0.008457975,
-0.008465137,
0.02853224,
0.019938191,
0.017359978,
0.004182437,
0.009417645,
0.003763477,
0.068866976,
0.008909163,
-0.0042146645,
0.022158321,
0.056004547,
0.0010966364,
0.020367894,
0.010377313,
0.030394284,
0.0077346433,
0.040248793,
-0.026842078,
-0.022588024,
0.0031601032,
0.001661516,
-0.00065261056,
0.015369023,
-0.05365551,
0.04975954,
-0.0057293656,
0.039962325,
-0.036782525,
-0.007498307,
0.040592555,
0.015641168,
-0.03855863,
-0.0022398238,
-0.00093460275,
0.001111855,
-0.0006790193,
-0.023476075,
0.043056183,
0.011480216,
0.034003783,
0.032915205,
-0.0040177177,
-0.04652245,
-0.012110447,
-0.043457236,
-0.062736556,
-0.008114214,
-0.0078420695,
0.00095519266,
0.021327563,
-0.026498316,
0.031253688,
-0.01032002,
0.0053283097,
-0.008952133,
-0.038959686,
0.032256328,
0.029133823,
-0.0065350574,
-0.054973263,
-0.0051993993,
-0.039561268,
0.009138338,
0.013270643,
-0.0035522066,
0.021427827,
-0.012554472,
0.011258204,
-0.014187342,
0.019623077,
-0.024994357,
-0.05291069,
0.043285355,
-0.037412755,
0.0028915391,
-0.015268759,
0.014617044,
-0.017188096,
0.014387869,
-0.020912183,
-0.04208219,
0.055059202,
0.03529289,
-0.038329456,
0.029205441,
0.020797597,
0.02429251,
-0.019322285,
0.02509462,
0.02803092,
-0.0016113841,
-0.023433104,
-0.038759157,
-0.045720335,
-0.014502456,
-0.03873051,
0.0112653645,
-0.017875621,
0.030766692,
0.0074911453,
-0.073106706,
-0.00015252197,
-0.024392774,
-0.017388625,
-0.026970988,
-0.017001892,
0.008049758,
0.03360273,
0.0048305714,
-0.060043752,
0.009596687,
-0.036180943,
0.037183583,
0.038701866,
-0.00923144,
0.049616307,
0.004980967,
0.0042612157,
-0.023991719,
0.027830392,
-0.033745963,
0.0071509643,
-0.039962325,
0.02924841,
0.014187342,
0.005471544,
0.03260009,
0.031482864,
0.03586583,
0.01103619,
0.036524706,
0.0397045,
-0.0002408124,
0.041194137,
0.052595574,
-0.01774671,
0.02429251,
-0.02487977,
-0.026068613,
0.0108929565,
0.026039965,
0.04225407,
-0.052051287,
0.022745581,
-0.026111584,
-0.016758393,
0.009288734,
0.015068231,
-0.03133963,
0.013177541,
0.059929162,
0.038071632,
-0.02924841,
-0.039332096,
0.0029900125,
-0.008400682,
0.019623077,
0.02387713,
0.008128537,
-0.03747005,
0.006327368,
-0.052137226,
0.0029864318,
0.019350933,
-0.0397045,
-0.007279875,
-0.021384858,
-0.021513768,
-0.03729817,
0.043199416,
0.0176178,
0.02248776,
-0.0026104422,
0.035522066,
0.015111201,
0.0023221835,
0.027042605,
-0.041251432,
0.022244262,
-0.047868848,
0.05291069,
0.024120629,
-0.003382116,
-0.03583718,
-0.012955528,
0.020482482,
0.006370338,
-0.012110447,
-0.0031117615,
-0.046637036,
-0.03366002,
-0.04623598,
0.022946108,
-0.051736172,
-0.010577841,
-0.060043752,
0.04354318,
0.024163598,
-0.05715042,
-0.007935171,
-0.05795253,
0.023891455,
0.013055792,
-0.024550332,
-0.037699226,
-0.016457602,
0.026125906,
-0.022716934,
0.01006936,
0.05798118,
-0.049702246,
0.02605429,
-0.028804386,
-0.029764054,
-0.0036112906,
-0.02450736,
-0.024822475,
0.0008079301,
0.0069110473,
0.0074624987,
0.019880898,
-0.013206188,
-0.0006821526,
0.040964965,
0.0113226585,
-0.03890239,
-0.04523334,
0.032542795,
-0.007670188,
0.00566491,
-0.004905769,
0.01741727,
0.017001892,
-0.01569846,
-0.0061769723,
0.04958766,
-0.04732456,
-0.0379284,
0.011802493,
0.012375429,
-0.023390135,
0.03663929,
0.0089449715,
-0.035751242,
0.025839439,
0.024450067,
-0.0012568795,
0.03420431,
-0.03176933,
0.018319646,
0.009267249,
-0.009926125,
0.038816452,
-0.03280062,
0.07465363,
-0.009797215,
-0.032915205,
-0.006134002,
-0.059356228,
-0.0320558,
0.032829266,
-0.039876383,
0.020024132,
-0.020296277,
-0.029205441,
-0.010978897,
0.05302528,
-0.034089725,
-0.012010182,
0.0049523204,
0.0114444075,
0.031368278,
0.0008656713,
0.019264992,
-0.013234834,
-0.042998888,
0.01347117,
-0.028217126,
0.041595194,
-0.025108945,
-0.020539775,
-0.01036299,
0.016715424,
-0.039332096,
-0.0094319675,
-0.020496804,
-0.006527896,
-0.0024958549,
-0.024163598,
0.029362999,
-0.029133823,
-0.038615923,
0.022401819,
-0.023461752,
-0.04531928,
-0.022029411,
0.004651529,
0.009976258,
0.03612365,
0.019981163,
-0.0352356,
-0.043944232,
-0.0320558,
0.047353204,
-0.05001736,
-0.022888815,
-0.011558995,
-0.037813812,
-0.015053908,
0.05451491,
0.045433868,
-0.022588024,
-0.0048234095,
-0.021413503,
0.048527725,
-0.053798743,
-0.022731258,
-0.018076148,
0.004902188,
-0.038701866,
0.03827216,
-0.007970979,
-0.009517908,
-0.007308522,
0.03646741,
0.028589534,
0.0061196787,
-0.015025261,
-0.020153044,
0.0020034874,
-0.0074911453,
-0.03217039,
0.057866592,
-0.012755,
0.021757266,
0.00864418,
0.033087086,
-0.002320393,
0.007186773,
0.0050203567,
-0.01363589,
0.059814576,
0.0051886565,
0.03016511,
-0.043686412,
0.045061458,
-0.024349803,
0.00738372,
-0.028961943,
0.0167011,
-0.05609049,
-0.036897115,
0.021728618,
-0.0025477773,
-0.016242752,
0.014638529,
0.022874491,
0.049960066,
-0.04858502,
0.028288743,
0.028517917,
-0.0018620437,
0.0074052047,
-0.017531859,
0.023633633,
0.019494167,
-0.0137648005,
-0.027787423,
0.058353588,
-0.016471926,
0.022874491,
0.0031153425,
-0.057923887,
-0.016772717,
0.02085489,
0.029420292,
0.020783274,
0.05147835,
0.0059191505,
-0.03260009,
0.005271016,
0.0030240307,
0.006123259,
-0.027386367,
0.0110791605,
0.021728618,
0.022946108,
0.0013848951,
0.010656619,
0.0037240875,
0.0018978523,
0.056119137,
0.009926125,
-0.026412375,
-0.012146255,
0.042941596,
-0.053770095,
-0.031282336,
-0.038873743,
0.008171507,
-0.025882408,
0.024020365,
0.02261667,
-0.037613284,
-0.017231068,
0.03268603,
0.015770078,
-0.013084439,
-0.021427827,
-0.028116861,
-0.039074272,
-0.037957046,
0.026398052,
0.029176794,
-0.021470798,
-0.016844334,
-0.054228444,
-0.01027705,
-0.054113857,
0.00061366876,
0.0419676,
-0.0014941111,
0.031454217,
0.0124184,
0.022860168,
0.0631949,
-0.016271397,
0.037240874,
-0.009868832,
-0.037613284,
-0.073164,
-0.035350185,
-0.0063345297,
-0.025252178,
-0.009596687,
-0.03016511,
0.03784246,
0.061705265,
0.065142885,
0.012891073,
-0.0893781,
-0.0060910317,
-0.03810028,
0.009446291,
0.027873363,
0.033201672,
-0.018133441,
0.024894092,
0.0033910682,
-0.03486319,
0.010133815,
0.030709399,
0.0041036583,
0.00226489,
-0.060788568,
-0.03603771,
-0.057379596,
-0.034548074,
-0.014910674,
0.0035754822,
0.010871471,
0.061705265,
0.005009614,
-0.0029631562,
0.015354699,
0.0034805895,
0.028632505,
0.03847269,
-0.019064464,
0.04254054,
-0.038701866,
-0.034548074,
-0.0388451,
0.0392748,
0.007036377,
-0.052853398,
0.0089449715,
-0.023776866,
-0.0069325324,
-0.015139848,
0.0102842115,
0.008801738,
-0.0028843775,
0.0072440663,
0.011157939,
0.012554472,
-0.032542795,
-0.010019228,
0.007605733,
-0.04577763,
0.026483992,
0.013714668,
-0.024765182,
0.050160594,
-0.015526581,
0.005256693,
0.011358467,
0.03784246,
0.018577468,
0.021871854,
-0.0018387683,
-0.019365255,
0.0048484756,
-0.021184329,
0.0126046045,
0.026526961,
-0.0722473,
0.044631757,
-0.011451569,
0.017875621,
-0.054343034,
0.01569846,
0.007093671,
0.024822475,
0.021313239,
-0.01611384,
-0.010255564,
-0.0297927,
-0.0013652004,
-0.024049012,
-0.0573223,
-0.046551093,
0.013506979,
-0.073622346,
-0.0077346433,
-0.04867096,
-0.02492274,
-0.0075341156,
0.035092365,
-0.03260009,
0.04732456,
0.011344144,
0.0020876375,
0.045634396,
-0.005911989,
-0.038587276,
0.02198644,
0.008987942,
-0.04417341,
0.0066532255,
-0.0010814178,
0.056921247,
-0.0004968434,
-0.008386359,
-0.022630993,
0.010907279,
-0.022502083,
0.044459876,
-0.005303244,
0.019866575,
-0.027543925,
0.012862425,
-0.008859032,
0.013327937,
-0.009202793,
0.0320558,
0.021671325,
-0.022559376,
0.0023776868,
0.0007376558,
0.012762162,
-0.02744366,
0.0142517965,
0.0063237874,
0.029907288,
0.027028281,
0.022545053,
-0.003688279,
0.035006423,
0.040306088,
0.054343034,
0.0045548454,
0.025853762,
-0.006717681,
0.0006633531,
-0.071387894,
0.017975884,
0.03277197,
0.0076343794,
0.01485338,
0.03683982,
-0.030680751,
-0.033373553,
-0.022903139,
0.003041935,
-0.016629484,
-0.0052065607,
-0.027042605,
-0.015068231,
0.047639675,
0.0049702246,
-0.030909928,
0.013199026,
-0.014065593,
0.045720335,
-0.005693557,
0.014953644,
0.013814933,
0.030766692,
0.046092745,
0.027472308,
0.016343014,
0.00591557,
0.04325671,
-0.0031690553,
0.02668452,
-0.045118753,
-0.0026247655,
-0.028918972,
-0.041795723,
0.013270643,
0.00009522832,
0.019451195,
-0.031683393,
-0.0034107629,
0.005518095,
0.0042289877,
-0.0757995,
-0.016214104,
-0.06479912,
0.036152296,
0.05634831,
-0.010807016,
-0.027200162,
0.053512275,
0.021972116,
0.01069959,
0.056577485,
0.050332475,
0.03305844,
0.031740684,
0.050160594,
0.0055789696,
0.030193755,
-0.009868832,
-0.03096722,
-0.036725234,
0.034634013,
-0.005138525,
0.021972116,
-0.025352443,
-0.07820584,
0.03520695,
0.024020365,
-0.009088206,
-0.02781607,
0.022201292,
0.0014520361,
-0.047696967,
0.005768755,
0.119972914,
0.030308343,
-0.023304194,
-0.022545053,
0.009095368,
-0.051506996,
0.008415005,
-0.07207542,
0.05354092,
0.005987187,
-0.015512257,
0.010620811,
-0.041853014,
0.0034268769,
0.03305844,
0.009675466,
-0.0075627626,
0.033803258,
0.015254436,
0.022158321,
0.024450067,
-0.019780634,
-0.034462135,
0.02866115,
0.07734644,
0.004619301,
0.032915205,
0.05832494,
-0.036095005,
0.011344144,
0.025753498,
0.003428667,
-0.0111436155,
-0.010728237,
0.030909928,
-0.0007824165,
-0.0028163411,
-0.0474105,
-0.03784246,
0.02177159,
-0.019780634,
-0.011752361,
-0.016457602,
0.0029846414,
-0.07539845,
-0.01774671,
-0.028589534,
0.0056613293,
0.0013696764,
-0.025567293,
0.015254436,
-0.034261607,
0.24338345,
0.040936317,
0.027987951,
0.010269888,
0.04815532,
0.06416889,
0.02681343,
-0.0033749545,
0.029506233,
-0.063882425,
0.0036184525,
-0.040793084,
-0.0089449715,
0.0045620073,
-0.02522353,
0.03520695,
-0.046035454,
0.012067476,
-0.0017841603,
-0.023390135,
-0.067262754,
0.0320558,
-0.021413503,
0.06720546,
0.0035468354,
0.0052960822,
0.0022917462,
-0.054343034,
0.02794498,
-0.02605429,
0.040879022,
0.013055792,
0.052165873,
-0.03901698,
0.0034770088,
-0.002379477,
-0.004250473,
-0.039618563,
-0.0013947424,
-0.0028754254,
0.022373172,
-0.004203922,
0.005163591,
-0.015096878,
-0.016887305,
0.014710146,
-0.010384475,
0.015010938,
0.050074656,
-0.049702246,
0.041681133,
-0.051736172,
0.020253306,
0.0018011692,
-0.029993229,
0.005249531,
-0.061533384,
-0.027415015,
0.010642297,
0.006155487,
-0.0042289877,
0.016099516,
-0.02139918,
0.046092745,
-0.028732767,
-0.016643807,
-0.01770374,
0.030537518,
0.00226489,
-0.025882408,
0.044402584,
0.017087832,
-0.042827006,
-0.042368658,
0.018692056,
0.011064837,
-0.0268564,
0.0641116,
0.043399945,
-0.064398065,
-0.013657375,
-0.027472308,
0.010355828,
-0.031540155,
0.03420431,
0.041681133,
-0.042998888,
-0.021800235,
0.008214477,
-0.0011700438,
-0.0067857173,
0.04778291,
0.04107955,
0.05706448,
0.010670943
] |
Note that you can re-use (or subclass) an existing configuration/model.
To share your model with the community, follow those steps: first import the ResNet model and config from the newly
created files:
py
from resnet_model.configuration_resnet import ResnetConfig
from resnet_model.modeling_resnet import ResnetModel, ResnetModelForImageClassification
Then you have to tell the library you want to copy the code files of those objects when using the save_pretrained
method and properly register them with a given Auto class (especially for models), just run:
py
ResnetConfig.register_for_auto_class()
ResnetModel.register_for_auto_class("AutoModel")
ResnetModelForImageClassification.register_for_auto_class("AutoModelForImageClassification")
Note that there is no need to specify an auto class for the configuration (there is only one auto class for them,
[AutoConfig]) but it's different for models. Your custom model could be suitable for many different tasks, so you
have to specify which one of the auto classes is the correct one for your model. |
[
0.010490341,
0.01307523,
-0.028735349,
-0.012292583,
-0.055977207,
0.0069576595,
0.010081067,
-0.005467758,
0.032196227,
0.05933756,
0.023307081,
0.028749708,
0.040640198,
-0.013527585,
-0.013398341,
-0.010009265,
0.03753833,
0.027715754,
-0.06565618,
0.009004029,
0.0029259506,
0.010605224,
-0.08173993,
-0.0447473,
-0.04980219,
-0.008070597,
0.008522953,
-0.011237087,
0.04299532,
0.07438736,
-0.048825677,
-0.013427062,
-0.0070474125,
-0.017835733,
-0.018395793,
-0.036533095,
0.023938943,
-0.0028056814,
-0.046298232,
-0.0780062,
0.0037875802,
-0.018223466,
0.016773056,
-0.0384574,
-0.05353592,
0.02673924,
-0.023364523,
0.009456385,
0.00088317035,
-0.017534163,
-0.017189512,
0.06284152,
0.028606104,
-0.005762148,
-0.02154074,
-0.005722657,
-0.027083892,
-0.048165098,
-0.029008199,
0.002414358,
0.037021354,
0.0028290174,
-0.004103511,
-0.026265344,
0.022890627,
0.043742064,
0.011998192,
-0.0008688099,
0.0021917704,
-0.021756148,
-0.023867141,
0.02936721,
0.00582318,
-0.05169778,
0.0055718715,
0.012543892,
0.027758835,
-0.0018399382,
-0.00010164537,
0.05149673,
-0.0069720196,
0.047763,
0.04394311,
-0.028017323,
-0.028103486,
-0.014461017,
0.0061211605,
-0.03805531,
-0.047763,
-0.036762863,
-0.028563023,
0.027801916,
-0.031133551,
0.023321442,
0.046183348,
0.047791723,
-0.020535506,
0.011136563,
0.010641126,
-0.023694815,
0.031506922,
0.04339741,
0.015293926,
0.023867141,
-0.012084356,
0.016055033,
-0.026308425,
0.00008745316,
-0.027184416,
-0.021310972,
-0.017519802,
0.020305738,
0.017649047,
-0.013068049,
0.0068355952,
0.0074602766,
0.020277018,
0.010540603,
-0.016040672,
-0.03779682,
0.044632416,
-0.019357946,
-0.016514568,
-0.04770556,
0.0061427015,
-0.013290637,
0.009693333,
0.035700187,
0.0075967014,
-0.010203131,
0.010332376,
-0.04443137,
0.010124148,
0.06467967,
-0.014920553,
0.012091536,
0.025762726,
0.0034949852,
0.015595497,
-0.045781255,
0.030042153,
0.020736553,
0.0010716518,
0.07168759,
-0.021914113,
0.0039993976,
-0.0046204887,
-0.018668642,
-0.02678232,
-0.0016505593,
-0.0065268446,
-0.02240237,
0.0139081385,
-0.030875063,
0.009556909,
0.0056652147,
-0.030587852,
0.044402648,
0.04302404,
0.03291425,
0.038802054,
0.022201324,
-0.024283595,
0.044919625,
-0.024944179,
0.08288877,
-0.0069612493,
-0.056925,
0.010511882,
-0.02324964,
0.02090888,
0.009104553,
-0.02036318,
-0.020736553,
0.05996942,
-0.024369758,
0.047274746,
0.024412839,
0.016227359,
-0.0031000716,
-0.0018866098,
-0.0078767305,
0.044373926,
0.017907536,
-0.0035326814,
0.0030031384,
-0.033029135,
0.008666558,
0.021253532,
0.0042255754,
0.015925787,
0.023421966,
-0.0077618468,
0.024915457,
-0.03409181,
0.008163941,
-0.06186501,
0.00012183982,
-0.017189512,
0.029553896,
-0.01395122,
0.028519941,
-0.06312873,
0.030760178,
-0.038486123,
0.0075751604,
0.012694676,
0.03285681,
-0.027457265,
0.019831842,
0.094951585,
-0.006778153,
-0.09391763,
0.002965442,
-0.00042094197,
0.013111131,
-0.021770509,
-0.002444874,
-0.040008336,
-0.05609209,
0.005869852,
0.04621207,
0.04273683,
-0.030386806,
0.008242924,
-0.0040604295,
-0.004458933,
-0.0003091994,
0.028692266,
0.008393709,
-0.0075967014,
-0.0015437531,
-0.00025646944,
0.04681521,
-0.042277295,
-0.000052926272,
0.047906607,
0.06743688,
0.0118043255,
0.013147032,
0.011768425,
0.035843793,
-0.0062970766,
0.029927269,
-0.026294064,
0.0113591505,
0.03340251,
-0.0039383653,
-0.0003675389,
0.048050214,
-0.05031917,
0.04121462,
0.008235743,
0.04308148,
-0.017074628,
-0.015868345,
0.031392038,
0.02646639,
-0.048825677,
0.017045906,
0.031334598,
0.02299115,
-0.004616899,
-0.034407742,
0.022775743,
0.009197896,
-0.0021576642,
0.02238801,
-0.008889146,
-0.033115298,
-0.021483298,
-0.03323018,
-0.018122943,
-0.005112336,
-0.053449757,
-0.005065664,
0.029137442,
-0.03549914,
0.059854537,
-0.0025795037,
0.03317274,
-0.00039042594,
-0.021066844,
0.03053041,
0.042794272,
0.023278361,
-0.029611338,
0.0020230345,
-0.025949413,
0.04302404,
-0.012881363,
-0.0029726222,
-0.0033962568,
-0.0005694833,
0.019056376,
0.012989067,
0.010030805,
-0.009140454,
-0.037710655,
0.009477926,
-0.05724093,
0.010023625,
-0.009169175,
0.034436464,
-0.004972321,
0.006311437,
-0.025044702,
-0.06456478,
0.05612081,
0.022043359,
-0.04003706,
0.0110504,
-0.0012556456,
0.010590864,
-0.02297679,
0.048653353,
0.03750961,
0.014920553,
-0.049514983,
-0.027170055,
-0.05640802,
-0.005108746,
-0.027141333,
0.019042015,
-0.0038988742,
0.03259832,
0.020722192,
-0.08001667,
0.044460088,
-0.03285681,
-0.0038306618,
-0.05614953,
0.0045486866,
0.013039328,
0.012062815,
-0.02092324,
-0.013800435,
0.004160953,
-0.06129059,
0.013585027,
0.019013293,
0.017017186,
0.042822994,
0.011330429,
-0.008838884,
-0.012838282,
0.051008474,
-0.05092231,
-0.0026800272,
-0.04942882,
0.0012197444,
-0.025518598,
-0.02322092,
0.05996942,
0.033258904,
0.010052346,
-0.0143963955,
0.036188446,
-0.004469704,
0.047533236,
0.026538193,
0.049888358,
-0.01743364,
-0.0067637926,
-0.027500346,
-0.015696019,
-0.020420622,
0.02294807,
0.07501922,
0.003256242,
0.03578635,
-0.0284625,
-0.030157037,
0.028577384,
-0.016227359,
-0.054253947,
0.019846203,
0.05996942,
0.043713342,
-0.017232593,
-0.053708248,
-0.027184416,
0.0035649927,
-0.0049220594,
0.071170606,
0.018496316,
-0.029783664,
-0.0017286445,
-0.05321999,
-0.0040065777,
0.019602073,
-0.014374854,
0.028735349,
-0.033660997,
-0.023278361,
-0.035700187,
0.042306013,
0.006569926,
0.009442025,
-0.0009908741,
0.024384119,
0.005751378,
0.010892435,
-0.013412701,
-0.013010607,
0.040151943,
-0.033029135,
0.04934266,
0.023737896,
-0.016715614,
-0.017907536,
-0.023048593,
-0.01687358,
0.023508128,
0.020219576,
0.021009402,
-0.04934266,
-0.024585165,
-0.026897205,
0.01016723,
-0.031880297,
-0.01454718,
-0.0658285,
0.005431857,
0.0377681,
-0.024455922,
0.01223514,
-0.017246952,
-0.032483436,
0.041501828,
-0.0073094913,
-0.05534534,
0.0186112,
0.0070222816,
-0.03291425,
0.01829527,
0.067092225,
-0.026049936,
0.032627042,
-0.0138937775,
-0.007208968,
0.014123546,
-0.009233798,
-0.014166627,
-0.020506786,
0.008903506,
-0.0073669334,
0.006519664,
-0.014554361,
0.018137304,
0.041760318,
0.0037947604,
0.00027352254,
-0.02294807,
0.024226153,
-0.014920553,
0.006893037,
0.019630795,
0.033660997,
-0.015164682,
-0.0009926691,
0.025475517,
0.019659515,
-0.026581274,
-0.03630333,
0.018654281,
0.015193403,
-0.018395793,
0.03814147,
0.017677767,
-0.04572381,
0.02998471,
0.0133768,
-0.0040819705,
0.023867141,
-0.06042896,
0.031564366,
0.009635892,
-0.021382775,
0.030903783,
-0.045235556,
0.062554315,
-0.015035437,
-0.02033446,
0.0036744913,
-0.063875474,
-0.037164956,
0.006896627,
-0.036561817,
0.0395488,
-0.027184416,
-0.022502894,
-0.028031684,
0.009801037,
-0.039520077,
-0.034896,
-0.019243062,
0.014094825,
0.020205215,
0.023048593,
0.022230044,
-0.016643813,
-0.08329087,
0.03053041,
-0.044086717,
0.012673136,
-0.034982163,
-0.004387131,
0.017577244,
0.009363042,
-0.0390031,
0.010698568,
-0.015739102,
0.030128317,
-0.0012125642,
0.0022510074,
0.029611338,
-0.042679388,
-0.027557788,
0.037739377,
-0.02939593,
-0.051554173,
-0.03575763,
-0.012464909,
0.020248296,
0.020592948,
0.039204147,
-0.026279705,
-0.04595358,
-0.01602631,
0.025346272,
-0.042650666,
-0.024685688,
-0.014403575,
-0.05169778,
-0.026954647,
0.031822853,
0.0070294617,
-0.032397274,
0.023666093,
-0.003369331,
0.027931161,
-0.036245886,
-0.0017151815,
-0.0051625976,
-0.024728771,
-0.009118914,
0.038601007,
-0.0004449509,
-0.025992494,
0.0014288691,
0.004390721,
0.0026943877,
-0.019874923,
-0.016241718,
0.017907536,
-0.007812109,
0.0014584877,
-0.03251216,
0.048193816,
-0.012385926,
0.022761382,
0.0019943137,
0.014116365,
-0.010016444,
0.020722192,
0.006372469,
0.00018915463,
0.03050169,
-0.020664752,
0.0033854865,
-0.024039466,
0.055316623,
-0.023910223,
0.0036008938,
-0.031047387,
0.017907536,
-0.037308563,
-0.052157313,
0.0048107654,
-0.009118914,
-0.0101744095,
-0.007970074,
-0.0028182468,
0.061577797,
-0.03495344,
0.02383842,
0.04391439,
0.017074628,
-0.01829527,
-0.02560476,
0.03480984,
0.03282809,
-0.033546112,
-0.025547318,
0.02556168,
0.027543427,
0.052961502,
0.016055033,
-0.021914113,
-0.025805807,
-0.011703802,
0.041157175,
0.037624493,
0.008321906,
0.0076326025,
-0.052473243,
-0.014597442,
0.04041043,
-0.02211516,
-0.018539397,
0.039146706,
0.03282809,
0.027557788,
0.02705517,
-0.0029564667,
-0.013053689,
-0.013412701,
0.07007921,
0.011021679,
-0.04448881,
0.00813522,
0.056522902,
-0.048394863,
-0.017936258,
-0.069792,
0.03610228,
-0.025188306,
0.03409181,
0.015308286,
-0.030300641,
-0.018367073,
0.028936395,
-0.01803678,
-0.030013433,
-0.02589197,
-0.011632,
-0.015652938,
-0.03779682,
-0.027414182,
0.057470698,
-0.017189512,
-0.032799367,
-0.04802149,
-0.0063868295,
-0.04219113,
-0.006742252,
0.053823132,
-0.013434242,
0.0023461457,
-0.009880019,
0.025719645,
0.048366144,
-0.009075833,
0.07082596,
-0.018410154,
-0.03610228,
-0.069792,
-0.030185757,
-0.02122481,
-0.03963496,
-0.02353685,
-0.027069531,
0.036791585,
0.05089359,
0.02296243,
0.005054894,
-0.07611062,
0.022560336,
-0.007639783,
0.005266711,
0.014102005,
0.02474313,
0.0036260248,
0.017663408,
-0.008846064,
-0.039433915,
0.013520405,
0.05956733,
0.005697526,
-0.020406261,
-0.030559132,
-0.013412701,
-0.050089404,
-0.0279168,
-0.046470556,
0.009147635,
-0.016212998,
-0.010267753,
-0.006893037,
-0.009829758,
0.010641126,
-0.0006152574,
-0.00024233334,
0.041990083,
0.010928336,
0.008156761,
0.0016388914,
-0.04072636,
-0.013111131,
0.047590677,
0.0026620766,
0.0034142074,
0.06789642,
-0.004247116,
-0.006200143,
0.0024484643,
0.03541298,
0.03495344,
-0.017778292,
0.004598948,
-0.025001619,
0.014439477,
-0.042363457,
-0.024484642,
-0.008767081,
-0.0106626665,
0.0042291656,
0.023493769,
-0.029439012,
0.03495344,
0.009801037,
-0.0186112,
0.005026173,
0.074502245,
0.039433915,
-0.0143533135,
-0.0065986468,
-0.013965581,
0.007015101,
-0.015466252,
0.011251447,
0.042248573,
-0.04802149,
0.018438874,
-0.033919487,
0.0285343,
-0.0558336,
0.018797886,
0.008357807,
0.05029045,
-0.003110842,
0.0018318605,
0.010109788,
-0.009090193,
-0.0004413608,
-0.025489876,
-0.028950756,
-0.048509747,
0.032627042,
-0.07341085,
0.017347477,
-0.027959881,
0.0005712784,
-0.016327882,
0.01568166,
-0.013506045,
0.006849956,
0.017979339,
0.026107378,
0.030788898,
-0.033488672,
-0.033029135,
0.024642607,
0.01950155,
-0.025963772,
-0.029108722,
0.020075971,
0.04041043,
0.010361096,
0.021842312,
0.0022474173,
0.012429007,
-0.009413304,
0.05264557,
-0.02880715,
-0.011991013,
-0.034694955,
0.025059061,
-0.02761523,
0.0006776358,
-0.019099457,
0.02935285,
0.022201324,
-0.0003282719,
0.012271042,
0.03222495,
0.018094223,
0.017692128,
0.023177838,
0.030961225,
0.019630795,
0.013577847,
-0.0027249036,
-0.013477324,
0.040640198,
0.028548662,
0.03839996,
0.0019117408,
0.018970212,
-0.0045163753,
0.012227961,
-0.062094774,
-0.011395052,
0.025446795,
-0.025935052,
0.008487052,
0.034982163,
-0.037078794,
-0.044603694,
-0.031851575,
-0.0016774852,
-0.032942973,
-0.0120699955,
-0.04213369,
-0.01863992,
0.042018805,
-0.013965581,
-0.036475655,
0.015767822,
-0.012565432,
0.054742202,
0.0036457705,
-0.03926159,
0.008278824,
0.025676563,
0.005833951,
0.014461017,
-0.0061391112,
0.021454578,
0.06835595,
-0.03251216,
0.02705517,
-0.03750961,
0.022344928,
-0.030989945,
-0.019673876,
0.025676563,
0.015092879,
0.031047387,
-0.010418538,
-0.01713207,
0.0023964073,
-0.0006363494,
-0.07185991,
-0.011983832,
-0.06990688,
0.010102607,
0.05847593,
-0.020104691,
-0.05092231,
0.042909157,
-0.0041465927,
0.014417936,
0.042650666,
0.043196365,
0.019961087,
0.046039745,
0.041731596,
-0.046298232,
0.0115673775,
-0.03607356,
-0.029869827,
-0.04184648,
0.036389492,
-0.0390031,
-0.023938943,
-0.009822578,
-0.041961364,
0.016974105,
-0.01073447,
-0.022273125,
-0.05494325,
0.0143533135,
-0.010411358,
-0.071917355,
0.010246213,
0.0704813,
0.005607773,
0.0041358224,
-0.03541298,
0.011495575,
-0.021957194,
0.012256682,
-0.051065918,
0.0005430062,
0.009161995,
-0.015767822,
-0.021339694,
-0.017907536,
0.029237965,
0.022445451,
-0.00814958,
-0.020391902,
0.043167643,
0.020219576,
0.032138783,
0.034723673,
-0.032713205,
-0.0015096469,
0.023149116,
0.06829851,
-0.026250983,
0.027170055,
0.030386806,
-0.02324964,
0.005255941,
0.031047387,
-0.015006716,
-0.03782554,
-0.0013543741,
0.03144948,
-0.027758835,
0.010239032,
-0.045838695,
-0.046125907,
0.014934913,
-0.01919998,
-0.0017798037,
-0.017763931,
-0.01542317,
-0.088058546,
-0.0726641,
-0.054225225,
0.0030157038,
0.0075464393,
-0.014848751,
0.051812664,
-0.04796405,
0.24539211,
0.04506323,
0.017663408,
0.006422731,
0.004789225,
0.049199052,
0.013218835,
0.003250857,
0.022330567,
-0.058131278,
0.007481817,
-0.03949136,
0.014877472,
0.035211932,
0.00901121,
0.0074961777,
-0.06651781,
0.028821511,
0.027399823,
-0.04253578,
-0.06927502,
0.0022294666,
0.0064047803,
0.05230092,
0.028046045,
-0.0006183988,
0.016241718,
-0.035154488,
0.011531477,
-0.02149766,
0.03486728,
0.0003489151,
0.022488533,
-0.018194746,
-0.02530319,
0.013685551,
-0.029467734,
-0.03110483,
0.016112475,
0.013577847,
0.036791585,
-0.001352579,
0.02356557,
-0.023177838,
-0.0017304395,
0.030042153,
-0.005930884,
0.01802242,
0.06605827,
-0.025633482,
0.04219113,
-0.027213136,
0.017218232,
-0.027816277,
-0.039433915,
-0.022172602,
-0.011086301,
-0.051410567,
-0.0043189186,
-0.03661926,
0.015696019,
0.009757956,
-0.02294807,
0.029697502,
-0.042851713,
-0.011215546,
-0.0069540692,
0.041415665,
0.009994904,
-0.007819289,
0.019989807,
0.022459812,
-0.025920691,
-0.03371844,
0.01133761,
-0.00611039,
-0.013872237,
0.040697638,
0.03165053,
-0.026796682,
0.012902903,
-0.021827951,
-0.03633205,
-0.058992907,
0.03641821,
0.033345066,
-0.051094636,
-0.013462963,
0.028950756,
-0.00025355248,
0.010942697,
0.0488544,
0.01716079,
0.0003776361,
-0.008508593
] | Use register_for_auto_class() if you want the code files to be copied. If you instead prefer to use code on the Hub from another repo,
you don't need to call it. In cases where there's more than one auto class, you can modify the config.json directly using the
following structure:
json
"auto_map": {
"AutoConfig": "<your-repo-name>--<config-name>",
"AutoModel": "<your-repo-name>--<config-name>",
"AutoModelFor<Task>": "<your-repo-name>--<config-name>",
}, |
[
0.04625265,
-0.007108441,
-0.00767447,
0.0146579435,
-0.022626456,
-0.018730411,
0.05477984,
0.010063553,
0.0265372,
0.029962778,
-0.013114229,
0.011122101,
0.011857203,
-0.046517286,
-0.014393307,
0.015657684,
0.029271781,
-0.04043064,
-0.04666431,
0.018701008,
0.012129191,
0.010092957,
-0.09021178,
-0.04531172,
-0.020862209,
0.039548516,
0.031374175,
-0.029992182,
0.050045777,
0.024978783,
-0.06627684,
0.014091915,
0.012445285,
-0.02250884,
-0.012459988,
-0.029933374,
-0.024052555,
-0.026169648,
-0.03866639,
-0.044488404,
0.018671604,
-0.00074842625,
0.027448727,
-0.030874304,
-0.012717273,
0.008203744,
0.020685785,
0.003754536,
0.046135034,
-0.023773216,
-0.0129598575,
0.039489705,
-0.018965645,
0.04869319,
-0.03457922,
-0.009078516,
-0.03349127,
-0.027095878,
-0.027507536,
0.0049251867,
0.06539472,
0.021141548,
-0.012996612,
-0.03219749,
0.010012096,
-0.021347377,
-0.022244202,
-0.032462128,
-0.037049167,
0.018201139,
-0.018686306,
0.018039415,
0.0026482067,
-0.051692408,
-0.014231584,
0.00437386,
0.0030874305,
-0.0029863538,
0.034755647,
0.069511294,
0.044929463,
0.03543194,
0.031080134,
0.01806882,
-0.015018144,
-0.018568689,
0.04116574,
-0.018392265,
-0.0065865186,
-0.057190973,
-0.000047178648,
0.029271781,
-0.022685263,
0.018877432,
0.038166523,
0.052309893,
-0.021950161,
0.03325604,
-0.022626456,
0.00095563324,
0.019186174,
0.05995496,
0.023390962,
0.024184871,
-0.040636465,
0.010276733,
0.0028080915,
-0.009365206,
0.00095563324,
-0.03878401,
0.024567125,
-0.022008969,
0.006906288,
-0.010276733,
0.011217664,
0.011460248,
-0.0103208395,
0.021773737,
-0.034667432,
-0.032226894,
-0.009056463,
0.009401961,
0.027772173,
-0.055132687,
0.014371254,
-0.020715188,
0.011225015,
0.042341903,
-0.00062529655,
-0.014922581,
-0.007850895,
-0.023787918,
0.030639073,
0.05228049,
-0.025419844,
-0.030933114,
-0.0060572447,
-0.010173819,
0.057426207,
-0.024420105,
-0.009232887,
-0.012246808,
0.03090371,
0.08844753,
0.011754289,
0.010857464,
0.00888739,
-0.04366509,
-0.013165686,
0.007909703,
-0.030786093,
0.009622492,
-0.0015409586,
0.010570774,
-0.046517286,
0.04195965,
-0.028125022,
0.014679997,
-0.006876884,
-0.0025214015,
0.0077626826,
0.03722559,
-0.027404621,
0.037137378,
0.018112926,
0.00853454,
-0.023361558,
-0.0015924159,
0.02172963,
-0.034343988,
-0.037754864,
-0.004583364,
-0.0034072,
0.024376,
0.046928942,
0.03457922,
0.012158595,
0.003504601,
0.01620166,
-0.0046899538,
-0.010592827,
0.016378084,
0.045870397,
0.041106932,
0.010431104,
-0.011269121,
0.010629582,
-0.0057926076,
0.012937804,
0.004818597,
0.008468381,
0.05178062,
-0.03355008,
0.021847246,
-0.042224288,
0.009350504,
-0.04666431,
-0.0004247514,
0.010423753,
-0.064512596,
-0.028125022,
0.061866228,
-0.036020022,
0.012276212,
0.012724624,
-0.04639967,
-0.0018313241,
-0.0060572447,
-0.013106878,
-0.030462647,
0.04934008,
-0.029786354,
-0.025493355,
-0.046693712,
0.019568428,
-0.008997655,
-0.008122883,
0.018759815,
-0.017877692,
0.012974559,
-0.006281451,
0.016245766,
0.01642219,
0.012665817,
-0.042665347,
-0.022964602,
-0.018936241,
-0.016098745,
-0.007983213,
-0.017436631,
0.025640376,
0.020347638,
-0.0032767195,
0.05383891,
0.05457401,
0.00084904337,
0.06686492,
0.005994761,
0.019774258,
0.0020233695,
-0.0024184873,
-0.0034053624,
0.015687088,
0.0019645614,
0.040901102,
-0.043165218,
0.019406706,
0.027919194,
-0.013415621,
0.042224288,
-0.052045256,
0.03199166,
0.009512226,
0.022714667,
-0.04689954,
-0.011416142,
0.03125656,
0.053309634,
-0.03207987,
-0.03563777,
-0.016466295,
0.013253898,
0.010578125,
0.022273606,
0.031756427,
0.034314584,
-0.006704135,
0.0011972982,
-0.018465774,
-0.06080768,
-0.02093572,
0.0063292324,
-0.070746265,
-0.013290653,
-0.038813412,
0.0010888706,
0.041518588,
-0.013922841,
0.026919454,
-0.011916012,
0.011996873,
-0.00023511794,
-0.0134303225,
0.020083,
0.066394456,
0.018039415,
-0.076568276,
0.011151505,
-0.033755906,
0.0279633,
-0.019171473,
-0.0015960913,
0.045929205,
-0.00014966227,
0.012232105,
0.0026004252,
-0.025449248,
-0.003987931,
-0.028771913,
0.0039769043,
-0.029521717,
0.00064413354,
0.0036148666,
-0.007126819,
-0.026845943,
0.03737261,
-0.020171212,
-0.05527971,
0.0050758827,
0.033961736,
0.004362833,
0.0075642047,
-0.033814713,
-0.016730933,
-0.021891352,
0.05930807,
0.084448576,
-0.00056602893,
-0.032315105,
-0.0029422478,
-0.046576094,
0.0022549268,
-0.0043775355,
0.00028531166,
-0.0041128984,
0.052398108,
-0.020200618,
-0.040577658,
0.01376847,
-0.03234451,
-0.013099527,
-0.035196707,
-0.011349983,
0.057485014,
0.02524342,
0.023920236,
-0.027639855,
-0.02718409,
-0.009012356,
0.02818383,
0.018083522,
-0.0057705548,
0.042988796,
0.024978783,
-0.04425317,
-0.00015115546,
0.061572187,
-0.069511294,
-0.0059359525,
-0.010269382,
-0.029477611,
-0.018098224,
0.008402222,
0.034049947,
0.0062226425,
0.060690064,
-0.06874678,
0.013665556,
-0.0069614206,
0.0064578755,
-0.009438716,
0.035167303,
0.0031021326,
0.026596008,
-0.03678453,
-0.025111102,
0.014635891,
0.033873525,
0.0473406,
-0.027757471,
0.009357855,
-0.017480737,
-0.01276138,
-0.01104124,
-0.014290392,
-0.024052555,
0.013761119,
0.025169909,
0.021435589,
-0.008321361,
-0.016613316,
-0.017260207,
-0.0013048069,
0.027889788,
0.021420887,
-0.002133635,
-0.04654669,
-0.0010337379,
0.00606092,
-0.036637507,
0.024861166,
-0.025581567,
-0.013371514,
-0.028477872,
-0.011724885,
-0.055838387,
0.0047230334,
0.05545613,
0.08991774,
0.02287639,
0.059131645,
-0.016157553,
-0.0010870328,
0.035578962,
-0.008769773,
0.007226058,
-0.05686753,
0.03378531,
0.0021317974,
-0.017260207,
-0.031727023,
-0.004811246,
-0.03437339,
0.03743142,
-0.0073252963,
-0.0029275457,
-0.036343466,
0.008166988,
-0.01434185,
0.012533498,
-0.051604196,
-0.014753507,
-0.037754864,
-0.008843283,
0.08356645,
-0.039195664,
-0.0011366522,
-0.044576615,
0.0007553178,
-0.0025471302,
-0.0164957,
-0.0645714,
-0.022479435,
0.0049876706,
-0.059543304,
0.030374436,
0.015143111,
0.0050391275,
0.026478393,
-0.045135293,
0.04810511,
-0.0033042857,
-0.02969814,
0.0000710982,
0.0017872179,
0.019744853,
-0.011666077,
0.028639594,
-0.0054618116,
-0.034549817,
0.015216622,
0.011805746,
-0.005450785,
-0.037901886,
-0.027507536,
-0.031021325,
0.01900975,
0.03284438,
0.036960956,
0.003467846,
-0.020612273,
0.046370264,
0.030462647,
-0.008416924,
-0.030521456,
0.03269736,
0.056544084,
0.025993224,
0.032226894,
0.042371307,
-0.055750173,
0.04919306,
0.02489057,
0.009328451,
0.0025765342,
-0.021964863,
-0.0048884316,
0.0029532744,
-0.021273866,
0.036843337,
-0.037901886,
0.04904604,
-0.006373339,
-0.0034513061,
-0.0016705204,
-0.053662483,
0.00001720025,
0.018304052,
-0.00096574094,
0.034167565,
-0.0017881368,
0.008122883,
0.018054118,
0.018274648,
-0.018171733,
-0.0053552217,
-0.060513638,
0.04340045,
0.044723637,
0.0215091,
0.046487883,
0.0074686413,
-0.025625674,
0.029448206,
-0.028742507,
0.019377302,
-0.030345032,
0.018039415,
0.008549242,
-0.04387092,
-0.029992182,
-0.0032730438,
-0.003987931,
-0.039136857,
-0.0098503735,
0.0069797984,
-0.010019447,
0.0067666187,
0.0005095179,
0.04610563,
-0.029918673,
-0.051368963,
-0.005222903,
0.0073767537,
0.018818624,
0.027625153,
0.014319797,
-0.026831241,
-0.035873003,
-0.026301967,
0.030991921,
-0.064100936,
-0.02768396,
-0.03219749,
-0.040901102,
-0.010284084,
0.034461606,
0.0055610505,
-0.03572598,
0.015466557,
-0.054103546,
0.0128642935,
-0.038813412,
-0.032226894,
0.007659768,
-0.0052008503,
-0.047517024,
0.057808463,
-0.027551642,
-0.03469684,
-0.0059984364,
0.03722559,
0.02753694,
0.00004281398,
0.026140245,
-0.018995048,
0.015613577,
0.011805746,
-0.018157031,
0.06433617,
-0.0067996983,
0.020494658,
0.00032895838,
0.042753562,
-0.009548982,
-0.037490226,
-0.027375218,
0.0028705753,
0.04666431,
-0.04548814,
0.031138942,
-0.03593181,
-0.01054137,
0.021273866,
0.054926857,
-0.0047230334,
-0.015246026,
-0.057720248,
-0.04387092,
0.0336971,
-0.029889267,
-0.018539285,
-0.018245244,
-0.013797874,
0.015290132,
-0.01771597,
0.01534894,
0.04360628,
0.0025471302,
-0.0059469794,
-0.073686674,
0.08621282,
0.034814455,
0.024140766,
-0.03522611,
-0.0013921004,
-0.0322857,
-0.004123925,
-0.023464471,
-0.02000949,
-0.027434025,
0.0056676404,
0.014430062,
-0.0007479668,
0.062865965,
0.0042231637,
-0.05830833,
-0.021567907,
0.01786299,
-0.024302488,
0.0037435095,
0.012504093,
0.036902145,
0.03407935,
0.013290653,
-0.017377824,
-0.037872482,
-0.013680258,
0.07127554,
-0.00710109,
-0.03993077,
0.032814976,
0.031874046,
-0.030492052,
-0.08209625,
-0.057485014,
-0.003943825,
-0.04425317,
0.00034320098,
0.018245244,
-0.029712843,
-0.042341903,
0.03763725,
0.029154165,
-0.002548968,
-0.011408791,
-0.01958313,
-0.0026224782,
-0.03293259,
-0.007152547,
0.05154539,
0.008358115,
-0.016701529,
-0.033726502,
-0.008541891,
-0.039842557,
0.009424014,
0.071804814,
-0.025258122,
0.04360628,
0.0659828,
0.016113447,
0.039048646,
0.020097703,
0.0024442158,
-0.022405924,
-0.027213495,
-0.035402536,
-0.034049947,
0.026125543,
0.017407227,
-0.002881602,
-0.024184871,
0.0010144415,
-0.0006528629,
0.044400193,
-0.010019447,
-0.06345405,
0.024478914,
-0.04739941,
-0.013386217,
0.008034671,
-0.0089609,
-0.0066306246,
0.0060131387,
-0.0007337242,
-0.04043064,
-0.013790523,
0.01627517,
-0.007586258,
-0.008791826,
-0.025052294,
0.004388562,
-0.05939628,
-0.027448727,
-0.02322924,
-0.006553439,
0.011629322,
0.00041211685,
-0.01906856,
-0.032432724,
-0.05851416,
0.036843337,
0.017965905,
0.021112144,
-0.015363642,
0.004289323,
0.0044988273,
-0.009446067,
-0.031638812,
0.014790262,
-0.0093211,
-0.01082806,
0.03322663,
0.012085085,
-0.018701008,
-0.01978896,
0.019186174,
0.014635891,
-0.00190024,
-0.03055086,
0.002495673,
-0.01082806,
-0.039695535,
0.009696002,
-0.03622585,
-0.036960956,
-0.026404882,
0.04760524,
0.009232887,
0.016745634,
0.04666431,
0.0050832336,
-0.041724417,
0.010504615,
0.010725145,
-0.017907096,
0.002133635,
-0.0023137352,
0.030374436,
-0.01834816,
0.01900975,
0.039548516,
-0.052162874,
0.028007405,
-0.026301967,
0.01498874,
0.013533237,
0.028022107,
0.048663788,
0.06121934,
0.032168087,
-0.034432203,
0.002412974,
-0.026743028,
-0.01448887,
0.002140986,
-0.07321621,
-0.027081177,
0.029492313,
-0.024611231,
0.019744853,
-0.0116440235,
-0.022994006,
0.015966427,
0.031197751,
-0.010732496,
0.038048904,
-0.0074612903,
0.02933059,
0.015613577,
-0.046723116,
-0.018157031,
-0.010166467,
0.031374175,
-0.0035652472,
-0.04834034,
0.012151244,
0.020965124,
0.02115625,
0.00018492423,
0.0022236852,
0.0013185901,
0.004469423,
-0.008637454,
-0.022891091,
0.01699557,
-0.039136857,
0.03140358,
-0.009401961,
0.038489968,
-0.040107194,
0.03355008,
-0.0023872454,
0.009357855,
0.015951725,
0.02287639,
-0.0057485015,
-0.0034200645,
0.05248632,
0.04689954,
0.040107194,
0.032050468,
0.0030543508,
-0.022964602,
0.036608104,
0.030036287,
0.03887222,
0.019421408,
0.057220377,
0.02997748,
0.007270164,
-0.029359994,
0.041930247,
0.011269121,
-0.014510923,
-0.001862566,
-0.02696356,
0.004296674,
0.015878214,
0.0008145855,
0.015025496,
-0.0057926076,
-0.028551381,
-0.033373654,
-0.03552015,
0.024772955,
-0.00638069,
-0.03928388,
0.010232626,
0.0076891724,
0.019347899,
-0.008909442,
0.015745895,
0.06468902,
0.014430062,
0.011805746,
0.008416924,
0.015290132,
-0.022538243,
0.01039435,
-0.008777124,
0.00031264828,
-0.04310641,
-0.023008708,
-0.00016482377,
-0.014577082,
-0.03693155,
0.038901623,
0.018818624,
0.004131276,
0.01527543,
-0.027566344,
-0.02711058,
-0.052515723,
0.0155988755,
-0.055309113,
-0.030962517,
0.00817434,
0.0016071178,
-0.060925294,
0.030198012,
0.0077847354,
0.03831354,
0.02130327,
0.049810547,
0.04854617,
0.044929463,
0.08356645,
-0.0093211,
-0.020465253,
-0.009240239,
-0.015804704,
0.017760076,
0.010210574,
0.0051457174,
-0.005072207,
-0.050457437,
-0.059278667,
-0.0038078309,
-0.0014316122,
-0.02531693,
-0.027287005,
0.015966427,
-0.006612247,
-0.056161832,
-0.0016631694,
0.07562734,
-0.0018506205,
-0.0028779262,
0.007351025,
-0.00079161354,
-0.007487019,
-0.011276472,
-0.02561097,
0.012496742,
0.01871571,
-0.04366509,
-0.025375739,
-0.040695276,
0.013819927,
-0.00684748,
-0.020421147,
0.03599062,
0.035578962,
0.023640897,
0.030668477,
0.009703353,
-0.048310935,
-0.033932332,
0.045517545,
0.0724517,
0.025728587,
0.07792087,
0.038931027,
-0.009446067,
-0.04216548,
-0.0068585062,
0.03149179,
-0.014194829,
0.030962517,
-0.0042856475,
-0.009093218,
0.0055757524,
-0.04381211,
-0.042430118,
0.018024713,
0.0080567235,
-0.03878401,
-0.036725722,
-0.037137378,
-0.069334865,
-0.033020806,
-0.0010695742,
0.009100569,
0.014069862,
-0.016789742,
-0.0023229239,
-0.063689284,
0.25922656,
0.03478505,
0.02825734,
0.0026353425,
0.021494398,
0.060072575,
0.0004658712,
0.00541403,
0.030256819,
-0.052162874,
-0.013775821,
-0.012878996,
0.032050468,
0.03851937,
0.011776342,
0.047017157,
-0.05572077,
-0.014679997,
0.008519838,
-0.030139202,
-0.066159226,
0.017804183,
0.035049688,
0.042694755,
0.0358436,
-0.0018708359,
0.00021570663,
-0.042782966,
-0.05122194,
-0.043900322,
0.06110172,
0.0017688404,
0.021861948,
-0.06151338,
-0.007064335,
0.024081958,
-0.00831401,
-0.047311198,
-0.03293259,
-0.0047781663,
-0.007185627,
-0.010195872,
0.031815235,
-0.009718055,
0.0064652264,
0.024802359,
-0.049369484,
0.043165218,
0.01168813,
-0.033167824,
0.026728326,
-0.036167044,
-0.00867421,
-0.028610189,
-0.03751963,
-0.030815497,
-0.002683124,
-0.06839394,
-0.031138942,
-0.009710704,
0.028507276,
0.012114489,
-0.021670822,
-0.017892394,
-0.024552424,
0.02431719,
-0.034461606,
0.06551234,
-0.020921018,
-0.010592827,
-0.06633565,
0.018010011,
-0.0139007885,
-0.0155988755,
0.024067257,
0.013231845,
-0.02245003,
0.026140245,
0.01212184,
-0.023655599,
0.0003645649,
0.014047809,
-0.026228458,
-0.008203744,
0.012452637,
0.042371307,
-0.03757844,
-0.03075669,
0.026493095,
0.006590194,
0.03463803,
0.019053858,
-0.021244463,
0.034961473,
-0.0067078103
] | Now to send the model to the Hub, make sure you are logged in. Either run in your terminal:
huggingface-cli login
or from a notebook:
from huggingface_hub import notebook_login
notebook_login() |
[
0.02455942,
0.0036277731,
-0.010147816,
-0.024189891,
-0.014781132,
-0.002583145,
0.008953955,
-0.004057705,
-0.016614562,
0.04798183,
0.045565683,
-0.03223424,
0.045480408,
-0.05355318,
0.022555439,
0.034337707,
-0.0022988925,
-0.022114849,
-0.051137034,
-0.034764085,
0.024474144,
0.026065959,
-0.10716321,
-0.06526438,
-0.029221162,
0.0003448783,
0.050170574,
0.0061718333,
0.041841976,
0.039368976,
-0.028169427,
-0.01503696,
-0.01471007,
0.00778852,
-0.03240479,
-0.012727408,
0.008648383,
-0.01355174,
-0.04724277,
-0.050397977,
0.002650655,
-0.0062606623,
0.0026417722,
-0.046219464,
-0.015307,
-0.0046581887,
0.003425243,
0.009714331,
-0.0029384608,
-0.014219734,
-0.02266914,
0.031836286,
0.03229109,
-0.002110575,
-0.023578748,
-0.025028437,
-0.028382616,
-0.02629336,
-0.047527026,
-0.031125654,
0.025895407,
0.030415023,
-0.011561972,
-0.06014784,
0.023649812,
0.019272322,
-0.005478968,
0.010496025,
-0.0046759546,
-0.019286536,
-0.009167145,
0.019115984,
0.004917569,
-0.012535538,
-0.02839683,
0.03402503,
0.02299603,
0.025554303,
0.011625929,
0.04121662,
-0.0307277,
0.040278587,
0.0236356,
0.010680789,
-0.026918717,
-0.04883459,
0.064411625,
0.0041145557,
-0.0361285,
-0.048777737,
-0.015491764,
0.037094958,
-0.044314973,
0.023379771,
0.018604329,
0.0147384945,
0.008101198,
0.022697566,
0.027870962,
-0.020949412,
0.009422972,
0.09368964,
-0.0023575195,
0.035417866,
-0.030528724,
-0.00107483,
0.006662169,
-0.029306438,
-0.03504834,
0.0021372237,
0.017566808,
-0.014475561,
0.01027573,
-0.022924967,
-0.0012018553,
0.012258391,
-0.012649238,
0.022910755,
-0.047527026,
-0.04485505,
-0.019371811,
-0.015179086,
0.0055820094,
-0.0557135,
-0.010936617,
-0.03774874,
0.004238916,
0.0334281,
-0.019513937,
0.0010464047,
0.010879766,
-0.036981255,
0.013338551,
0.041074492,
-0.005681498,
-0.038459368,
-0.028325766,
-0.008101198,
0.025113713,
-0.0056388597,
0.0029935346,
0.011775162,
-0.0069215493,
0.09380334,
-0.025341114,
-0.03462196,
-0.008754979,
-0.05673681,
-0.05440594,
-0.0015927026,
-0.010652364,
-0.029533839,
-0.015235936,
0.02185902,
-0.029789668,
0.005500287,
-0.022868117,
0.026250722,
0.0029899816,
0.014809557,
0.0046368698,
0.0064631924,
-0.027942026,
0.072086446,
0.008293068,
0.04658899,
-0.022811268,
-0.013772036,
-0.013601485,
-0.006814955,
-0.013111149,
-0.039681654,
-0.00054985104,
-0.0013333221,
0.038004566,
-0.027771473,
0.058783427,
0.011967032,
0.011263507,
0.0015367403,
-0.010950829,
-0.05193294,
-0.0032333727,
0.00677587,
0.0136441225,
-0.008797617,
-0.023820363,
0.000761708,
-0.018632755,
0.005816518,
0.029874943,
0.03288802,
-0.015776016,
0.0112421885,
-0.03121093,
0.011284826,
-0.03439456,
-0.0084067695,
-0.00015989206,
-0.021716895,
-0.0035513802,
0.039795358,
-0.06037524,
0.014489774,
-0.033086997,
0.011824906,
0.001256041,
0.013132468,
-0.053098377,
0.02320922,
0.005610435,
0.003126778,
-0.027870962,
-0.003215607,
0.021887446,
-0.020167718,
-0.04835136,
0.023180796,
-0.0064241076,
-0.010027008,
0.041074492,
0.030244472,
0.055685073,
-0.004992185,
0.019059133,
-0.02417568,
-0.020750435,
0.045139305,
0.010524451,
0.02725982,
0.004413021,
0.0092879515,
-0.005709923,
0.045565683,
0.007070782,
0.039340552,
0.017509958,
0.031409908,
0.026918717,
0.011462484,
-0.008044347,
0.030699275,
0.047896553,
0.053268928,
-0.0132106375,
-0.017438894,
-0.03206369,
-0.0064987238,
-0.01100768,
0.023024457,
-0.04599206,
0.03772031,
-0.002051948,
0.012102053,
-0.03067085,
-0.025938045,
0.03851622,
0.050540105,
-0.007134739,
-0.0030326194,
0.011512228,
-0.010901085,
-0.012386304,
-0.001996874,
0.039141577,
0.010119391,
0.022001147,
0.015378063,
-0.023351347,
-0.06742471,
-0.022043785,
-0.009081868,
-0.0843093,
-0.018789094,
-0.02959069,
-0.024417294,
-0.00072351156,
-0.018376928,
0.020352483,
-0.021546343,
0.0020448416,
-0.004185619,
-0.043462213,
0.021674257,
0.039909057,
0.00792354,
-0.06475273,
0.0059906226,
-0.03965323,
-0.015292787,
-0.025355328,
-0.0059195594,
-0.020139294,
-0.006139855,
0.013466464,
-0.003965323,
0.016941452,
-0.06452533,
-0.021034688,
0.039027873,
-0.015605465,
-0.00010731644,
-0.019656064,
0.022413313,
0.0037059425,
-0.022967605,
-0.00037752293,
-0.04332009,
0.0616828,
0.042581033,
-0.0097925,
0.054434363,
0.015548614,
0.016913027,
-0.043234814,
0.030926676,
0.026250722,
-0.020722011,
-0.017993186,
-0.027870962,
-0.029846517,
0.031637307,
-0.036213774,
-0.0037947714,
-0.01698409,
0.028055726,
-0.015889717,
-0.04451395,
-0.008875785,
-0.025469027,
-0.026677102,
-0.05702106,
-0.032006837,
0.013196425,
0.03391133,
0.004057705,
-0.093462236,
0.00093536853,
-0.034110304,
0.015818654,
0.008534683,
-0.03018762,
0.03425243,
0.04121662,
-0.012713195,
0.014582155,
0.015477551,
-0.018291652,
0.02276863,
-0.01633031,
0.029476989,
0.037691887,
-0.0012844662,
0.02428938,
0.036697004,
0.019855041,
0.0026062406,
0.03649803,
0.0419841,
-0.0101549225,
0.04349064,
0.04084709,
-0.023067094,
0.015733378,
-0.0057845395,
-0.03348495,
-0.019954529,
0.018249014,
0.036100075,
-0.05193294,
-0.0018885029,
-0.024189891,
-0.025184775,
-0.01200967,
0.013928375,
-0.055571374,
0.023123944,
0.03823197,
0.058612876,
-0.018988071,
-0.031893134,
-0.006253556,
-0.029818092,
0.047470175,
0.012315242,
0.0064702984,
-0.000012762218,
-0.0059764097,
-0.079818115,
-0.0504264,
-0.0046048914,
0.003855175,
-0.017922124,
0.00049610954,
-0.03408188,
-0.029221162,
-0.00063823577,
0.0029189184,
0.020750435,
0.020196144,
0.012173115,
-0.027998876,
-0.016628774,
0.024943162,
-0.028325766,
0.0121233715,
-0.03587267,
0.041472446,
0.03203526,
-0.038288817,
-0.027401945,
-0.027487222,
0.016756687,
0.012364985,
-0.021546343,
0.014205521,
-0.017808422,
-0.01441871,
-0.013096936,
0.027714623,
-0.03467881,
0.0056317537,
-0.04354749,
0.03013077,
0.028027302,
-0.064013675,
-0.013295913,
-0.04241048,
0.039710082,
0.034110304,
-0.015264362,
-0.04695852,
0.0059089,
-0.0029047057,
-0.006552021,
0.020011378,
0.07220015,
-0.013942587,
0.018888582,
-0.0002325097,
-0.002300669,
0.010559982,
0.0018849497,
-0.04420127,
0.0024729972,
-0.019684488,
0.028382616,
0.024488356,
-0.01596078,
-0.04880616,
0.055514522,
-0.03695283,
-0.013679653,
-0.043376938,
-0.018035823,
0.00543633,
0.03760661,
-0.002254478,
0.027117694,
0.011377208,
-0.019087559,
-0.010361006,
0.03402503,
-0.043689616,
-0.06827746,
0.020181932,
0.0048145275,
0.010027008,
0.05901083,
-0.025071075,
-0.027842537,
0.041245043,
0.03158046,
-0.057134762,
0.02028142,
-0.011590398,
0.0035122954,
0.016586136,
-0.017993186,
0.019783977,
-0.07669134,
0.045594107,
-0.0047754426,
-0.03234794,
0.02060831,
-0.047328047,
0.005937325,
0.006509383,
-0.05912453,
0.026748165,
0.014511093,
-0.01563389,
-0.0026009108,
0.028567381,
-0.029448563,
0.010957936,
-0.033826053,
0.036526453,
0.042552605,
0.008428088,
0.03618535,
-0.052387744,
-0.037237085,
0.016429797,
-0.024204105,
0.040108033,
-0.012194434,
-0.013807568,
-0.036043223,
0.017339405,
-0.043803316,
-0.005191162,
-0.026677102,
-0.0027536966,
-0.007959072,
-0.0014425816,
0.018362714,
-0.06571919,
-0.012379198,
0.04414442,
-0.034337707,
-0.09238208,
-0.050000023,
0.029818092,
0.024061978,
0.004782549,
0.048863012,
-0.05204664,
-0.022839691,
-0.03786244,
0.041642997,
-0.06316092,
0.0018209929,
-0.018845944,
-0.036384325,
0.0071453983,
0.037635036,
0.02022457,
-0.0140918195,
-0.014624793,
-0.010567089,
0.008861573,
-0.04641844,
-0.02959069,
0.0006933097,
0.015662316,
-0.04235363,
0.018348502,
-0.013573059,
-0.0055073933,
-0.009074762,
0.015150661,
0.027984664,
0.010375218,
-0.029505415,
-0.027515646,
-0.025653793,
-0.033086997,
0.00016255693,
0.05102333,
-0.0024090402,
0.032205813,
-0.004444999,
0.031182505,
-0.01241473,
0.0017366054,
-0.002709282,
-0.023678238,
0.03661173,
-0.012251285,
0.04266631,
0.0057880925,
0.051307585,
-0.008101198,
0.050199,
-0.049573645,
-0.0009167145,
-0.03328597,
-0.0671973,
0.052757274,
-0.031779435,
0.0013493113,
0.021731107,
0.02185902,
0.036327474,
0.0042531285,
0.021119963,
0.04809553,
0.018831732,
-0.010844234,
-0.01877488,
0.017509958,
0.027003992,
-0.017339405,
-0.02623651,
0.0016193512,
0.0036917299,
0.032148965,
-0.02126209,
-0.04397387,
-0.01866118,
-0.0053332886,
0.007003272,
0.023038669,
0.04462765,
-0.007049463,
-0.04155772,
-0.030955102,
0.01714043,
0.022711778,
-0.013402508,
0.02542639,
0.021290516,
0.03581582,
0.028908484,
-0.006928656,
-0.031438332,
-0.03359865,
0.046816394,
-0.0037663463,
-0.029903367,
-0.004786102,
0.063047215,
-0.03726551,
-0.022797054,
0.0010615056,
0.012698983,
-0.025028437,
-0.0034287963,
0.002958003,
-0.04218308,
-0.022853905,
0.016742475,
0.032973297,
0.0026613146,
0.0030717042,
0.02276863,
0.006434767,
-0.076748185,
0.0010401866,
0.03851622,
-0.012869534,
-0.02299603,
-0.046503715,
-0.0012569292,
-0.04624789,
-0.012691876,
0.0530131,
-0.00075415755,
0.042495757,
0.03300172,
0.025795918,
0.09374649,
0.011803587,
0.024417294,
-0.012194434,
-0.01704094,
-0.06856172,
0.0058413898,
0.015648102,
0.009486929,
0.0021887447,
-0.027785687,
0.040534414,
0.0418704,
0.05696421,
0.0045693596,
-0.068845965,
-0.016216608,
-0.013047192,
-0.009479823,
-0.0059550907,
0.028908484,
-0.03314385,
0.035730544,
-0.013843099,
-0.018703818,
0.028141001,
0.050994907,
-0.046986945,
-0.022640714,
-0.041074492,
-0.010794491,
-0.05139286,
-0.037947714,
-0.006029707,
-0.010474706,
0.051364437,
0.05744744,
-0.004914016,
0.018192163,
0.029931793,
0.009337696,
-0.013274594,
0.04283686,
-0.025014224,
0.023820363,
-0.012691876,
-0.019485513,
-0.018519053,
0.023038669,
0.0472712,
-0.08533262,
0.012976129,
-0.012158902,
0.020238781,
0.00025871422,
0.02596647,
0.016827751,
-0.012194434,
0.0031836284,
0.00892553,
0.01736783,
-0.0387152,
-0.0023237646,
-0.011554866,
-0.04150087,
0.024047766,
0.017609445,
0.0005285321,
0.030017069,
0.007930646,
-0.010090966,
-0.0012231743,
0.036213774,
-0.0026346657,
0.0037201552,
0.038942598,
-0.04755545,
0.01382178,
-0.01623082,
0.029960219,
0.023223434,
-0.03203526,
0.022541227,
-0.007244887,
-0.013963906,
-0.017779997,
-0.012926385,
0.015832867,
0.03402503,
0.0010801597,
0.0049069095,
0.0182348,
-0.02028142,
-0.01925811,
-0.0074047786,
-0.050540105,
-0.02893691,
0.035929523,
-0.056282002,
0.0021247878,
-0.042069376,
0.0022615844,
0.0041998313,
0.039738506,
-0.016870389,
0.054974444,
0.030642424,
0.0027039524,
0.04710065,
-0.028681083,
-0.0116827795,
0.011561972,
0.026876079,
-0.019812403,
-0.011384315,
0.025383752,
0.042069376,
0.013587272,
0.00509878,
-0.041046068,
0.010240198,
0.0014026087,
0.031722583,
0.0010810479,
0.011583291,
-0.048919864,
0.049914747,
-0.031068804,
0.040534414,
-0.0042886604,
0.02781411,
0.018092675,
-0.004732805,
-0.016955664,
-0.011000574,
0.034991488,
-0.022313826,
0.019115984,
0.014951684,
0.013423827,
0.009906202,
0.008719447,
-0.014191308,
0.0720296,
0.057106335,
0.03311542,
-0.013132468,
0.0616828,
0.0037663463,
-0.026421275,
-0.018760668,
0.029732816,
0.030301321,
0.02028142,
0.013537527,
-0.0056353067,
-0.007546905,
-0.009451397,
-0.016188182,
0.01644401,
-0.027146118,
0.0014177096,
-0.009096081,
-0.012194434,
0.010027008,
-0.012322348,
-0.04880616,
0.005372373,
0.015335425,
0.038914174,
-0.0060545793,
0.014695857,
-0.039710082,
-0.008683915,
0.061569102,
0.006008388,
0.025653793,
0.019727128,
0.01839114,
-0.002911812,
0.024445718,
-0.041245043,
-0.03760661,
-0.004505403,
-0.06435478,
-0.033996604,
0.009074762,
0.058897126,
-0.020423545,
0.030812977,
-0.014653219,
-0.007824051,
-0.059579335,
-0.015278574,
-0.033826053,
0.021276303,
0.02872372,
-0.017652083,
-0.039511103,
0.03115408,
-0.027671985,
-0.014461348,
0.060716342,
0.047697578,
0.024133042,
0.062080756,
0.02812679,
0.012755833,
0.028041514,
0.020508822,
-0.05784539,
-0.03419558,
0.0045480407,
-0.022598077,
0.019627638,
-0.059522483,
-0.031836286,
0.021446854,
0.031495184,
-0.0016104684,
0.004146534,
0.037180234,
0.011355889,
-0.035957947,
0.03772031,
0.08067087,
0.012215753,
-0.040108033,
-0.012542644,
-0.0072519933,
-0.061796505,
-0.0083286,
-0.057646416,
0.053581607,
-0.009366121,
-0.00012957919,
0.02910746,
-0.03419558,
0.010417856,
0.040164884,
0.000731062,
0.020963626,
0.032603767,
0.04707222,
-0.0073266095,
0.026037533,
0.0025422836,
-0.024644695,
0.036270626,
0.06822061,
0.0307277,
0.06338832,
0.05500287,
-0.010623939,
0.0005871592,
0.028922696,
-0.0064631924,
0.017438894,
-0.0073052905,
0.037947714,
0.023450835,
-0.023550324,
-0.025682218,
-0.015733378,
0.02288233,
0.00069952774,
-0.0063281725,
-0.049630493,
0.020054016,
-0.08806144,
-0.017268343,
0.016529286,
0.04619104,
-0.0035709227,
-0.03328597,
0.010517344,
-0.044997178,
0.23899955,
0.039255276,
0.016571924,
0.012834002,
0.048436634,
0.052444596,
0.02942014,
-0.018632755,
-0.000016322314,
-0.03251849,
0.009437185,
-0.0362422,
0.019243898,
0.011995457,
-0.028183639,
0.038175117,
-0.03007392,
-0.025625367,
-0.0040861303,
-0.027316669,
-0.07430361,
0.039994333,
-0.012862428,
0.044428673,
0.014653219,
0.009749862,
0.007241334,
-0.06395682,
0.006637297,
-0.01839114,
0.03445141,
0.01785106,
0.049346242,
-0.012791364,
-0.012770046,
0.012478687,
0.0070352503,
-0.035076763,
0.005422117,
0.019428661,
0.014639006,
-0.033854477,
0.02299603,
-0.044798203,
-0.020238781,
0.00906055,
-0.03570212,
-0.02320922,
0.052075066,
-0.031296205,
0.019769765,
-0.038430944,
0.018263226,
-0.03649803,
-0.03823197,
0.023806151,
-0.08334285,
-0.058783427,
0.019656064,
-0.006388576,
0.013509102,
0.022271186,
-0.020906774,
0.00031711924,
0.0022296058,
0.009174251,
0.00093536853,
0.027657773,
-0.0034625514,
0.0014541295,
0.027870962,
0.032859594,
-0.03359865,
-0.03158046,
-0.0030113005,
0.03868677,
-0.03007392,
0.07964756,
-0.0001523416,
-0.05642413,
0.013246168,
-0.018561691,
0.021134177,
-0.016031845,
0.026463913,
0.029221162,
-0.040108033,
0.008605746,
-0.024303593,
0.0132248495,
0.0124929,
0.028183639,
0.0051769493,
0.027515646,
0.013203531
] | from transformers import AutoModelForImageClassification
model = AutoModelForImageClassification.from_pretrained("sgugger/custom-resnet50d", trust_remote_code=True) |
[
0.013898036,
-0.036360107,
-0.034404308,
-0.03707131,
-0.014779628,
-0.009616019,
0.024388239,
-0.015705671,
0.008215844,
0.062289283,
0.005467351,
-0.020491455,
0.036508273,
-0.03475991,
-0.02941109,
0.009971619,
0.019217221,
0.0051784264,
-0.043442477,
0.002409561,
0.035708174,
0.0093419105,
-0.09873829,
-0.054258645,
-0.030670507,
0.025069805,
0.044835243,
0.011719986,
0.062763415,
0.07159415,
-0.030848308,
0.005237693,
-0.0009640096,
-0.003600451,
-0.023706673,
-0.046702143,
-0.00038060322,
-0.019632088,
-0.032448508,
-0.07236461,
0.012742336,
0.010786536,
0.017750371,
-0.03155951,
-0.043057244,
0.004993218,
-0.022432439,
-0.010201277,
0.013468353,
-0.027070057,
0.0055192094,
0.048895013,
0.045368645,
-0.02972224,
-0.0015409337,
0.024254888,
-0.012779378,
-0.037486177,
-0.047887478,
-0.023202905,
0.033367142,
0.027262673,
-0.009667877,
-0.04649471,
0.016920637,
0.0050117387,
-0.017305871,
-0.003424503,
-0.01548342,
-0.011423653,
-0.021958305,
0.002852209,
-0.00898631,
-0.024240073,
-0.031203907,
0.004311651,
0.029737057,
0.0033485675,
-0.03582671,
0.048924644,
-0.020491455,
0.047828212,
0.04542791,
-0.016120536,
-0.010045703,
-0.047946744,
0.05313258,
-0.010438344,
-0.02625514,
-0.015305621,
-0.020209938,
0.010475386,
-0.03585634,
0.026862623,
0.036745343,
0.031144641,
0.012734928,
0.017957805,
0.036330476,
-0.024758656,
-0.00876406,
0.07384628,
0.014209187,
0.030611241,
-0.026018072,
-0.00011344013,
0.047442976,
-0.039086375,
0.005393268,
-0.016268704,
0.02403264,
-0.0041227383,
-0.0058007264,
-0.029959306,
0.0005023777,
0.01588347,
0.01223857,
0.006371168,
-0.022995472,
-0.034730274,
0.026136605,
-0.038908575,
0.011942236,
-0.03929381,
-0.01126067,
-0.023617772,
0.023351071,
0.03911601,
-0.030581607,
-0.02990004,
0.010712452,
-0.036330476,
-0.013520211,
0.04329431,
0.011786661,
-0.035382207,
-0.022047205,
0.005793318,
0.04969511,
-0.03825664,
0.022610238,
0.0146018285,
0.01903942,
0.07005321,
-0.0024817921,
-0.009504894,
0.0056896014,
-0.021484172,
-0.056362614,
0.0065378556,
-0.03381164,
-0.028907323,
-0.0139202615,
-0.011549594,
-0.0150166955,
0.016757654,
-0.016831737,
0.02465494,
0.014742587,
0.038286276,
0.009482669,
0.045131575,
-0.028981406,
0.064897016,
-0.027381206,
0.060126048,
-0.01401657,
-0.039945744,
-0.023291806,
-0.026477389,
0.041931175,
-0.03932344,
0.006478589,
0.01712807,
0.05562178,
-0.0019039421,
0.018580105,
0.0072046057,
0.03301154,
0.013046078,
-0.00028614694,
-0.015557503,
0.057636846,
0.007949144,
-0.008364011,
-0.023973372,
-0.041753378,
-0.01512782,
-0.017379954,
-0.009838269,
-0.0052525094,
0.014068428,
0.001480741,
0.049843278,
0.011445878,
-0.01446107,
-0.053458545,
-0.020091405,
0.010897661,
-0.010964336,
-0.009941986,
0.057547946,
-0.039975375,
0.03612304,
-0.030729774,
-0.005922964,
0.00947526,
0.034730274,
-0.026640372,
0.02865544,
0.027573822,
-0.03914564,
-0.025203155,
-0.052925147,
0.01334982,
-0.034730274,
-0.023351071,
0.009749369,
-0.010719861,
-0.020906322,
0.018357854,
0.029070307,
0.028981406,
-0.005159905,
0.0039486424,
-0.035352577,
-0.017276237,
0.05022851,
0.019217221,
-0.0032633715,
-0.0107791275,
0.0078009767,
-0.010349444,
0.045487177,
0.01392767,
0.017068803,
0.024995722,
0.04610948,
0.009660468,
0.051236045,
-0.009378952,
0.0038893758,
0.0013066451,
0.040597677,
-0.0018085598,
-0.005593293,
0.009260419,
-0.015231537,
0.017098438,
0.045664977,
-0.07580208,
0.04290908,
-0.0072416477,
0.020432187,
-0.019750621,
-0.04542791,
0.03710094,
0.016357604,
-0.033307873,
-0.0005681267,
-0.02914439,
0.0089270435,
0.0112903025,
-0.030196374,
0.032359608,
0.022565788,
0.01712807,
0.025514307,
-0.013438719,
-0.04845051,
-0.042731278,
-0.022447255,
-0.09251529,
-0.032893006,
-0.031411342,
0.042464577,
0.0035134028,
-0.03155951,
0.02865544,
-0.041575577,
-0.013090528,
0.024373421,
-0.019750621,
0.024699388,
0.021839771,
0.020432187,
-0.07556502,
0.0143351285,
-0.038641874,
-0.0077935685,
-0.0033467154,
-0.015735304,
-0.01917277,
0.009149293,
0.04284981,
0.011579228,
0.0066489805,
-0.0089270435,
-0.04542791,
0.029381456,
-0.008445502,
-0.012068178,
-0.0072675766,
0.008964085,
-0.014624054,
0.0009871606,
0.00020511828,
-0.039856844,
0.062111482,
0.04699848,
-0.02558839,
0.040390242,
0.009638244,
0.035885975,
-0.04234604,
0.025173523,
0.05891108,
-0.009764185,
0.0045227883,
-0.030759407,
-0.06750475,
0.024817923,
-0.017142888,
-0.031203907,
-0.04276091,
0.024403056,
-0.011586636,
-0.04942841,
0.011875561,
-0.020728521,
-0.036360107,
-0.064778484,
-0.003926418,
0.061696615,
0.03867151,
0.019883972,
-0.056362614,
0.0024466026,
-0.024847556,
0.039501242,
0.01312757,
-0.0029114757,
0.08860369,
-0.0057451637,
-0.01561677,
0.0065526725,
0.001039019,
-0.04729481,
-0.0008690903,
-0.013705419,
0.03698241,
0.05147311,
0.012334878,
0.026344039,
0.01743922,
0.048213445,
-0.033752374,
0.042020075,
0.01810597,
0.004663547,
0.052213944,
0.025217973,
0.002874434,
0.023602955,
-0.010379077,
-0.02829984,
-0.026847806,
0.008282519,
0.044775978,
-0.020802604,
0.0068008513,
-0.0070156935,
-0.026047707,
-0.009697511,
-0.010549469,
-0.04699848,
0.032063276,
0.005200651,
0.05411048,
-0.018757904,
-0.037041675,
0.020550722,
0.0017418847,
0.030463073,
0.035441473,
-0.008119536,
-0.044124044,
0.01632797,
-0.04702811,
-0.013853586,
0.007719485,
-0.021439722,
-0.030270457,
-0.015113004,
-0.07319435,
-0.06323755,
0.032152172,
0.04747261,
0.03603414,
0.016150171,
0.019691354,
-0.014120286,
0.0058451765,
0.017246604,
0.010386486,
0.022565788,
-0.058496214,
0.059948247,
-0.0064526596,
-0.033159707,
-0.012149669,
0.007234239,
0.017187336,
-0.0051487926,
-0.01535007,
0.011845928,
-0.04133851,
-0.015735304,
-0.00402643,
0.028225757,
-0.046850313,
-0.0071675642,
-0.042790543,
0.01152737,
0.013675787,
-0.06637868,
0.005797022,
-0.021765688,
0.021765688,
0.024062272,
-0.03822701,
-0.05411048,
0.011171769,
-0.017231787,
-0.044153675,
0.022210188,
0.02985559,
-0.009364136,
0.012171894,
-0.031203907,
0.03203364,
0.02252134,
-0.039560508,
-0.056925647,
-0.002029884,
0.01277197,
0.025899539,
0.04098291,
0.0058081346,
-0.013631336,
0.025573572,
-0.032893006,
-0.0058933306,
-0.06424508,
0.007578727,
0.004059768,
0.047057744,
-0.019780254,
0.024254888,
0.019958055,
-0.010823578,
-0.0034393196,
0.041634843,
-0.034463573,
-0.005867401,
0.013209062,
0.027781256,
-0.015868654,
0.054910578,
-0.005434014,
-0.008860368,
0.027959056,
0.016935455,
-0.03052234,
0.019320937,
-0.025662472,
0.018713454,
0.0026818174,
0.0023706672,
0.004241272,
-0.06501555,
0.07218681,
-0.033307873,
-0.004952472,
-0.027158957,
-0.04631691,
-0.013979528,
0.0024558632,
-0.041219976,
0.06060018,
0.0029596298,
-0.025114255,
-0.0047709676,
0.045013044,
-0.06744548,
-0.0021724943,
-0.04720591,
0.0114606945,
0.038730774,
0.009327094,
0.013275736,
-0.011245852,
-0.052984413,
0.032418873,
-0.019558005,
0.022639873,
-0.02558839,
-0.030240824,
0.011297711,
0.025025357,
-0.04397588,
-0.010934702,
-0.027173772,
-0.010445752,
0.0072675766,
-0.03630084,
0.03582671,
-0.06827521,
-0.018520838,
0.06436361,
-0.001303867,
-0.05971118,
-0.038197376,
-0.0056821927,
0.009586385,
0.01152737,
0.020076588,
-0.053547446,
-0.05120641,
-0.022862121,
0.030759407,
-0.055147644,
-0.023262171,
-0.008564035,
-0.04012354,
-0.018076338,
0.055236544,
0.043442477,
-0.009616019,
0.0021095234,
-0.021958305,
0.011156953,
-0.05941485,
-0.02727749,
0.008349193,
-0.010142011,
-0.015320437,
0.04293871,
-0.03573781,
0.008689977,
-0.017365137,
0.019232038,
0.020980405,
-0.00049821055,
-0.027218223,
-0.0040560635,
-0.008949269,
-0.0073231393,
-0.0035782258,
0.052391745,
-0.048717212,
0.040538408,
0.004074584,
0.021498987,
0.0062230015,
-0.020372922,
-0.0023595546,
-0.012349694,
0.03929381,
-0.010304994,
0.03662681,
0.009556753,
0.00729721,
-0.021365639,
0.052302845,
0.0033430113,
0.0008153799,
-0.032181807,
-0.05556251,
0.011964461,
-0.023854839,
-0.00074175955,
0.03052234,
-0.029351823,
0.040449508,
-0.01601682,
0.03707131,
0.06548968,
0.0035634092,
0.004704293,
-0.01903942,
0.034019075,
0.01855047,
-0.017691104,
-0.026758906,
0.017216971,
-0.035530373,
0.012616394,
-0.009438219,
-0.009845677,
-0.010134602,
-0.007889877,
0.02465494,
0.0146018285,
0.025203155,
-0.008727019,
-0.05722198,
-0.048480146,
0.034019075,
0.008608486,
0.015379704,
0.0018511578,
0.009571569,
0.01695027,
-0.008438094,
0.031885475,
-0.034345042,
-0.033337507,
0.06412655,
0.026018072,
-0.038997475,
0.017705921,
0.039560508,
-0.042968344,
-0.052302845,
-0.0012844201,
-0.00438203,
-0.03701204,
-0.009371544,
0.010542061,
-0.04895428,
-0.059148148,
0.02918884,
0.022832489,
-0.014201778,
0.015031512,
-0.03662681,
-0.022891756,
-0.049369145,
-0.0008329747,
0.056184813,
-0.016979903,
-0.03591561,
-0.05473278,
-0.0060822433,
-0.025914356,
0.005237693,
0.06323755,
-0.008623302,
0.028892506,
0.022032388,
0.01948392,
0.07325362,
-0.021839771,
0.0052969595,
0.011253261,
-0.0019928422,
-0.06388948,
-0.037545443,
-0.0072675766,
-0.009386361,
-0.000097002885,
-0.024758656,
0.021010038,
0.051324945,
0.026447756,
0.01543897,
-0.05508838,
0.014409211,
0.0028892506,
0.007408335,
0.010638369,
0.0046783634,
-0.05028778,
0.011860744,
0.0044487054,
-0.02803314,
-0.020743338,
0.055118013,
-0.0069971723,
-0.033574574,
-0.044746343,
-0.013542436,
-0.03532294,
-0.03692314,
-0.05366598,
-0.008282519,
0.009838269,
0.022876939,
0.02358814,
0.0016687275,
-0.012638619,
0.021602705,
0.0021613818,
0.05562178,
-0.011831111,
0.026862623,
-0.019795071,
-0.019706171,
-0.04320541,
-0.0023799276,
0.036182307,
-0.046465077,
0.057607215,
0.0048783887,
-0.0038967843,
-0.0035689655,
-0.004404255,
0.03096684,
-0.02834429,
-0.0053525222,
0.011312528,
-0.022788038,
-0.041723743,
-0.023514055,
-0.0014659243,
-0.057162713,
0.039856844,
0.00805286,
-0.034019075,
0.017602203,
0.020091405,
0.019320937,
-0.0055599553,
0.03150024,
0.013475762,
0.0034819175,
0.018357854,
-0.0082454765,
0.018683821,
0.017305871,
0.03475991,
0.016579853,
-0.026195873,
0.037308376,
-0.010438344,
0.011912603,
-0.008875186,
0.004067176,
-0.007471306,
0.027247855,
0.020965587,
0.021558255,
0.0018715307,
-0.011416244,
-0.034226507,
-0.003800476,
-0.03256704,
-0.0009181705,
0.01281642,
-0.03911601,
0.017557753,
-0.047413345,
0.028240573,
0.014957428,
0.044746343,
-0.01841712,
0.021913854,
0.020847054,
0.022387989,
0.05138421,
0.0005894257,
-0.023810389,
-0.017720737,
0.017335504,
-0.029959306,
-0.009949394,
0.00031439122,
0.08226215,
0.00747501,
-0.011275486,
-0.04610948,
0.006304493,
0.003606007,
-0.00787506,
-0.008615893,
0.0107050445,
-0.026195873,
0.048420876,
-0.037812144,
0.016135354,
-0.009490077,
0.014668504,
0.021854589,
-0.0131646115,
-0.0036634216,
-0.023810389,
0.00871961,
0.0009167815,
0.027884973,
0.022254638,
0.034048706,
0.0005639595,
0.017172521,
0.020195121,
0.07147562,
0.028003506,
0.02558839,
0.005552547,
0.048776478,
0.015631586,
-0.01650577,
-0.03496734,
0.028107222,
0.013090528,
-0.008615893,
-0.00230214,
-0.01748367,
-0.0076157684,
-0.020180305,
-0.036330476,
0.012668253,
-0.019543188,
0.014801853,
-0.012846053,
-0.0056118136,
0.01646132,
-0.03790104,
-0.013342411,
-0.0046598427,
-0.020861872,
0.06483775,
0.0034374674,
0.0057673887,
0.018002255,
0.01739477,
0.050050713,
0.01477222,
0.021054488,
0.0043301717,
0.025647655,
-0.04222751,
0.047324445,
-0.011705169,
-0.017305871,
-0.017498488,
-0.043501742,
0.0052043553,
0.025321689,
0.029337008,
0.0019835818,
0.017587388,
-0.022121288,
0.025306873,
-0.05553288,
-0.01601682,
-0.041308876,
0.031352073,
0.02834429,
-0.010430936,
-0.033930175,
0.041012544,
0.010764311,
0.0048783887,
0.011394019,
0.040330976,
0.03416724,
0.03760471,
0.027944239,
0.0047709676,
0.0029299965,
0.009371544,
-0.024551222,
-0.031440973,
0.01592792,
-0.02068407,
0.046079844,
-0.028003506,
-0.06051128,
0.037812144,
0.011275486,
-0.0146018285,
-0.05040631,
0.060096413,
-0.0052265804,
-0.055592146,
0.027084872,
0.07052735,
-0.015498237,
-0.0033448632,
-0.011868153,
-0.005237693,
-0.041990444,
0.009934577,
-0.04119034,
0.033130076,
0.0047154054,
-0.03698241,
0.015913103,
-0.04080511,
0.00038314983,
-0.005882218,
-0.019913604,
-0.019913604,
0.022299089,
0.029248107,
0.043679543,
0.03096684,
-0.035471108,
0.012875686,
0.04036061,
0.061874416,
0.008890002,
0.053280745,
0.04702811,
-0.01810597,
0.027751623,
0.032478143,
-0.004830234,
-0.010956927,
-0.01472777,
0.034315407,
-0.012868278,
-0.014942612,
-0.04418331,
-0.0038560384,
0.025484672,
-0.007363885,
-0.033396773,
-0.023736306,
0.002874434,
-0.06068908,
-0.050969344,
-0.036152676,
0.015853837,
0.010282769,
-0.027173772,
0.010690227,
-0.07283875,
0.26243287,
0.04533901,
0.021098938,
0.021736056,
0.027796073,
0.061637346,
0.028329473,
0.011942236,
0.0042301593,
-0.059059247,
0.021010038,
-0.028951773,
0.00344858,
-0.012675662,
-0.003052234,
0.00871961,
-0.041812643,
-0.0057155304,
-0.0060933554,
-0.04480561,
-0.050969344,
0.04913208,
0.0035485926,
0.049398776,
0.022625055,
0.008334377,
0.025455039,
-0.035678543,
0.03718984,
-0.018091153,
0.028685072,
0.03158914,
0.025292056,
-0.04290908,
0.0006348017,
0.0011445878,
0.016802104,
-0.051236045,
0.022654688,
0.020076588,
0.0118014775,
-0.031707674,
-0.00007558817,
-0.033663474,
-0.01699472,
0.024240073,
-0.010942111,
0.0066193473,
0.037130576,
-0.04809491,
0.027129322,
-0.015557503,
0.012683069,
-0.03813811,
-0.038019575,
-0.020550722,
-0.039856844,
-0.02754419,
0.022847306,
-0.007334252,
-0.014935204,
0.02807759,
-0.03310044,
0.031115007,
-0.0031948446,
-0.007115706,
-0.03194474,
0.026092157,
-0.014587012,
-0.03790104,
0.020506272,
0.033456042,
-0.023854839,
-0.033367142,
-0.0141647365,
-0.0038189967,
-0.019157954,
0.070942216,
0.039353076,
-0.050732277,
-0.013646153,
-0.011193994,
-0.01463887,
-0.05369561,
0.020921137,
0.032241073,
-0.01535007,
-0.013979528,
0.00047019776,
0.022432439,
0.01761702,
0.031352073,
0.026403306,
0.057014547,
0.015735304
] |
It is also strongly encouraged to pass a commit hash as a revision to make sure the author of the models did not
update the code with some malicious new lines (unless you fully trust the authors of the models).
py
commit_hash = "ed94a7c6247d8aedce4647f00f20de6875b5b292"
model = AutoModelForImageClassification.from_pretrained(
"sgugger/custom-resnet50d", trust_remote_code=True, revision=commit_hash
)
Note that when browsing the commit history of the model repo on the Hub, there is a button to easily copy the commit
hash of any commit. |
[
0.03864961,
-0.0013042019,
-0.024693632,
-0.0017009315,
-0.021134188,
-0.00745629,
0.0129771335,
0.013207015,
0.006547891,
0.031085797,
0.013296001,
-0.0006581261,
0.02923192,
-0.05739601,
0.0028290153,
0.0060881297,
0.013859579,
-0.044582017,
-0.06768873,
0.0002134275,
0.015083137,
0.010693158,
-0.07326519,
-0.06703617,
-0.03188667,
0.04253534,
0.026087746,
0.0049350187,
0.05392555,
0.019606596,
-0.05876046,
-0.012762085,
0.011130673,
-0.015943335,
-0.03144174,
-0.004660645,
-0.008802204,
-0.016907351,
-0.066858195,
-0.069527775,
-0.006277225,
-0.013370155,
0.037225835,
-0.04155649,
0.007582354,
-0.002636212,
0.0024489705,
0.020096019,
0.02334401,
-0.046865992,
-0.041497167,
0.046005793,
0.0017324474,
0.013236676,
-0.016966676,
-0.014000474,
-0.028549694,
-0.0018835383,
-0.044819314,
0.010033178,
0.0663836,
0.023818603,
-0.027274227,
-0.0649005,
0.0102704745,
-0.0052242232,
-0.026265718,
-0.026236057,
-0.04624309,
-0.027229734,
0.00058814225,
-0.005079621,
0.0035019722,
-0.031945996,
0.006503398,
0.006874173,
0.019458285,
0.000038352064,
0.03464524,
0.05104834,
0.0072115785,
0.039569136,
0.013399818,
0.013370155,
-0.025168223,
-0.026132239,
0.06140038,
-0.002352569,
-0.010418785,
-0.053777244,
0.012250414,
0.021771923,
-0.02292874,
0.0346749,
0.005016589,
0.018420115,
-0.011390216,
0.023877926,
0.014749439,
0.009425106,
0.0053984877,
0.058374856,
0.01600266,
0.021994388,
-0.05066273,
0.0017009315,
0.0014163614,
-0.021445641,
-0.024901265,
0.004315824,
0.016314112,
-0.0259691,
0.028104763,
-0.010841468,
0.03129343,
0.006117792,
-0.01087113,
-0.00060019246,
-0.029009456,
0.012813993,
-0.037018202,
-0.0073932586,
0.02423387,
-0.051789887,
-0.011538526,
-0.026473353,
0.015765363,
0.028564526,
-0.03420031,
-0.027036931,
-0.0024248702,
-0.041022573,
0.012027949,
0.05211617,
0.017604409,
-0.038412318,
-0.015453912,
-0.007322811,
0.07990948,
-0.03010695,
-0.0021542043,
0.006484859,
0.020807907,
0.092901446,
-0.0051018675,
0.014363833,
-0.0067740637,
-0.05371792,
-0.0019892093,
-0.016403098,
-0.03494186,
0.0151053835,
-0.015809856,
0.0022431903,
-0.04906098,
0.022098204,
-0.027570847,
0.0070669763,
-0.02159395,
0.0029754713,
0.0047162613,
0.029128104,
-0.03799705,
0.05653581,
-0.007074392,
0.014074628,
-0.009988685,
0.0038078618,
0.0040970664,
-0.029128104,
-0.026325043,
-0.04348452,
-0.0035427576,
0.02306222,
0.0012597089,
0.022335501,
0.040755615,
0.01423777,
0.026814466,
-0.011953794,
-0.012027949,
-0.01966592,
0.02289908,
0.033251125,
0.010507771,
-0.039450485,
0.0067332787,
-0.014193277,
-0.010819222,
-0.0031719822,
0.02100071,
0.035713073,
-0.016373435,
0.011138089,
-0.03689955,
0.010285306,
-0.015142461,
-0.031945996,
-0.023284685,
-0.05241279,
-0.029306076,
0.03731482,
-0.06733279,
0.021890571,
-0.015186954,
-0.016284449,
-0.0015090553,
-0.016106477,
-0.014245185,
-0.027407706,
0.02392242,
-0.011983456,
-0.013073536,
-0.009669819,
0.01357779,
0.003641013,
-0.024841942,
0.004508627,
0.01423777,
-0.039272513,
0.006892712,
0.028594187,
0.031975657,
0.00075452763,
0.0004020594,
-0.019487947,
-0.016017491,
0.010166657,
0.013125444,
-0.00071374234,
0.010745067,
0.013340494,
-0.015898842,
0.05870114,
0.041586153,
0.0035983738,
0.04695498,
0.023729617,
0.021326993,
-0.0018140179,
0.008831866,
-0.021771923,
0.05549764,
0.02644369,
0.028816653,
-0.026310211,
0.0001028322,
-0.0104484465,
-0.015379758,
0.029706514,
-0.074985586,
0.021816416,
-0.0069001275,
0.030047627,
-0.037196174,
-0.0068964195,
0.03334011,
0.064247936,
-0.019651089,
-0.030907825,
-0.0009667965,
-0.01064125,
-0.0064218272,
0.015884012,
0.03734448,
0.036187664,
0.019428624,
0.025583493,
-0.010848884,
-0.058196884,
-0.02509407,
-0.0028809237,
-0.08257906,
-0.03535713,
-0.023685124,
-0.009558586,
0.026191564,
-0.019932877,
0.010018347,
-0.023091882,
0.0036817982,
0.009128487,
-0.02159395,
0.03182735,
0.035030846,
-0.0017574747,
-0.050751716,
0.0029717637,
-0.04037001,
-0.0015470597,
-0.0026621663,
-0.019413792,
0.013229261,
-0.016432758,
0.012865901,
-0.0071522547,
-0.00203741,
-0.015735703,
-0.03408166,
0.01445282,
-0.014630792,
-0.0082312105,
0.0056914003,
0.016358605,
-0.024263533,
0.037819076,
-0.037908062,
-0.048527066,
0.011612681,
0.053095017,
-0.0026807052,
0.035149492,
0.0058619566,
-0.019117173,
-0.017352281,
0.033280786,
0.054251835,
-0.0014163614,
-0.032123968,
-0.03289518,
-0.028460708,
-0.002202405,
0.0105374325,
-0.0078752665,
0.01019632,
0.055378992,
-0.009892284,
-0.033577405,
0.0013143983,
-0.021356655,
-0.035297804,
-0.02260246,
-0.029157765,
0.030433232,
0.030759515,
0.014660453,
-0.046480384,
-0.033310447,
-0.01790103,
0.033963013,
0.030462895,
-0.01732262,
0.030907825,
0.0402217,
-0.0349122,
0.018924369,
0.045768496,
-0.026473353,
0.009743974,
0.0015822834,
0.00940286,
0.021312162,
0.022528304,
0.01661073,
0.028994625,
0.035772394,
-0.053095017,
0.038352992,
0.0133775715,
-0.013800255,
0.0136445295,
0.016417928,
-0.0030310876,
0.05656547,
-0.025019914,
-0.016803535,
0.023714785,
0.04363283,
0.026606832,
-0.035475776,
0.01907268,
-0.019132003,
0.00004197292,
-0.016328942,
-0.0010845176,
-0.022706276,
0.011323476,
0.0727906,
0.048527066,
-0.024871605,
-0.00872805,
-0.0038968478,
-0.024797449,
0.041586153,
0.019324806,
-0.012131766,
-0.05155259,
-0.0039932495,
-0.03716651,
-0.016788702,
0.01453439,
-0.051878873,
-0.026399197,
-0.016640393,
-0.009936777,
-0.053332314,
0.0018751959,
0.05437048,
0.07421438,
0.025049577,
0.039687783,
-0.019562103,
0.00096494256,
0.05155259,
-0.0065590143,
0.015120215,
-0.040073387,
0.032865517,
0.031471405,
-0.010418785,
-0.042357367,
-0.03227228,
0.002951371,
0.006503398,
-0.023210531,
0.0045642434,
-0.045620188,
-0.025494507,
-0.039865755,
0.042446353,
-0.0363953,
-0.0010177781,
-0.033251125,
0.02540552,
0.05288738,
-0.05327299,
-0.013296001,
-0.049209293,
0.03126377,
0.01997737,
-0.03541645,
-0.05125597,
0.014519559,
0.01342948,
-0.016566237,
0.04037001,
0.029617527,
-0.011093595,
0.007189332,
-0.029736174,
0.010248228,
0.016981507,
-0.0069446205,
-0.025598323,
-0.0037411223,
0.017530253,
0.00043264838,
0.028445877,
-0.023388503,
-0.05259076,
0.025375858,
0.024916098,
-0.018182818,
-0.047815178,
-0.017026,
0.0004187443,
0.028208582,
0.031026473,
0.0293654,
0.017693395,
-0.021015542,
0.01613614,
0.042950604,
-0.012213337,
-0.037463132,
0.028000947,
0.038857248,
0.00889119,
0.04891267,
-0.0026121116,
-0.03390369,
0.032924842,
0.041586153,
-0.0289353,
0.020007033,
-0.014030135,
0.011241905,
-0.002232067,
-0.0071967477,
0.020674428,
-0.041764125,
0.061222408,
-0.016047154,
-0.030329416,
0.006840803,
-0.053539947,
0.0036373052,
0.017752718,
-0.032984167,
0.02215753,
0.011390216,
0.009751389,
0.011812899,
0.021238007,
-0.05962066,
-0.0073747197,
-0.06353605,
0.056891754,
0.037225835,
0.0017964061,
0.062468216,
-0.040488657,
-0.037700426,
0.02349232,
-0.076705985,
0.023507152,
-0.029306076,
0.020318484,
-0.029395062,
-0.002245044,
-0.023121545,
-0.006636877,
-0.03360707,
-0.009328705,
-0.0363953,
0.005921281,
-0.014015305,
-0.020125682,
-0.010967532,
0.042387027,
-0.027140748,
-0.061281733,
-0.0126656825,
0.019250652,
0.010633835,
0.037196174,
0.026339874,
-0.042238716,
-0.042476013,
-0.016625563,
0.0431879,
-0.06000627,
-0.04579816,
-0.031975657,
-0.040903926,
-0.012102104,
0.040992912,
-0.0025898651,
-0.023848264,
0.017263295,
-0.031323094,
-0.012606358,
-0.0570104,
-0.022202022,
-0.009158148,
0.007218994,
-0.03099681,
0.016180633,
-0.028609019,
-0.028371722,
0.013132859,
0.025346195,
0.054400146,
0.013941149,
-0.0016295572,
-0.0074711214,
-0.009662403,
0.00089495874,
-0.011642342,
0.049387265,
-0.0028049147,
0.023892757,
0.017278127,
0.053539947,
-0.016922183,
-0.009091409,
-0.014623376,
-0.022810094,
0.057218038,
-0.024723293,
0.045264244,
0.0017139086,
0.011605266,
0.015231447,
0.024174547,
-0.038382653,
0.0007656509,
-0.01600266,
-0.039865755,
0.02935057,
-0.026087746,
-0.035208818,
0.002905024,
0.005847126,
0.008898606,
-0.007608308,
0.034407943,
0.054578118,
-0.00730798,
-0.011872224,
-0.055734936,
0.04078528,
0.021401148,
0.023210531,
-0.017500592,
-0.014408327,
-0.030344246,
-0.006699909,
-0.05914607,
-0.04651005,
-0.010285306,
-0.015409419,
0.015928505,
-0.01240614,
0.059086744,
0.012309738,
-0.03948015,
-0.019473117,
0.014697531,
-0.018879876,
-0.015750533,
0.01167942,
0.037908062,
0.04051832,
-0.0007095711,
-0.003173836,
-0.025034744,
-0.04066663,
0.05623919,
-0.011308645,
-0.04739991,
0.026814466,
0.06151903,
-0.052739073,
-0.050128814,
-0.027422538,
0.0026769973,
-0.04330655,
0.015053475,
0.006699909,
-0.029587865,
-0.041081898,
0.034734227,
0.017826874,
0.008023577,
-0.0033388312,
-0.028520033,
0.0033740548,
-0.06436659,
0.011101011,
0.025331365,
-0.012925225,
-0.01615097,
-0.036158003,
0.002575034,
-0.027645003,
-0.00023729616,
0.03903522,
-0.020629935,
0.033992674,
0.033577405,
0.009677234,
0.06608698,
0.015439081,
-0.004719969,
-0.013904072,
-0.022142697,
-0.064959824,
-0.024589814,
0.014845841,
-0.0023358841,
0.010255643,
-0.04431506,
0.02674031,
0.022365164,
0.044137087,
0.02289908,
-0.065909006,
0.02187574,
-0.029691681,
-0.018553594,
-0.02552417,
0.038530964,
-0.035060506,
0.021608781,
0.0037058985,
-0.0217126,
0.011775822,
0.021178683,
-0.0037392685,
-0.010893377,
-0.05920539,
-0.0061697,
-0.06561239,
-0.025880113,
-0.0077121253,
-0.014756855,
0.018509101,
0.036513947,
0.009684649,
-0.0038264005,
-0.008475922,
0.0069001275,
0.014260016,
0.045293905,
-0.021134188,
0.035861384,
-0.009781051,
-0.01822731,
-0.018301466,
0.008490753,
0.023210531,
-0.047518555,
0.013355325,
0.007493368,
-0.0021616197,
0.0058693723,
0.0028531156,
0.022572797,
0.018924369,
-0.014526974,
-0.018108664,
0.00030565786,
-0.04475999,
0.021786753,
-0.029691681,
-0.05579426,
-0.009269381,
0.04520492,
-0.00035524904,
0.037255496,
0.007000237,
0.01938413,
-0.02453049,
0.0068704654,
0.015468744,
-0.005142653,
-0.018716734,
-0.028253075,
-0.007174501,
-0.017367113,
0.028238242,
0.048141457,
-0.056773107,
0.032954503,
-0.04034035,
0.014289678,
-0.0047422154,
-0.0022969528,
0.051166985,
0.055290006,
-0.0029624943,
-0.016937014,
0.010470693,
-0.018627748,
-0.025672479,
0.0066665392,
-0.05481541,
-0.03494186,
0.042772632,
-0.03710719,
0.014475066,
-0.027259396,
-0.021964725,
0.020170175,
0.061578352,
-0.020718921,
0.037077524,
0.027022101,
-0.0010956408,
0.056743443,
-0.0363953,
-0.023210531,
-0.01615097,
0.0005135237,
-0.02789713,
-0.01778238,
0.013844748,
0.041526828,
0.020496456,
-0.008765127,
-0.0057433085,
0.010055425,
0.010055425,
0.007085515,
-0.043810803,
0.008134809,
-0.04974321,
0.021430809,
0.020081189,
0.011101011,
-0.000017887009,
0.02436735,
0.018034508,
0.0012485856,
-0.00955117,
0.0060436367,
-0.0041267285,
-0.021163851,
0.038412318,
0.031145122,
0.05653581,
0.023729617,
0.0018529493,
-0.012094689,
0.06395131,
0.027852638,
0.010678328,
-0.0040266193,
0.044018436,
0.020081189,
0.015120215,
-0.038560625,
0.058819786,
0.015735703,
-0.0010214858,
0.011864808,
-0.019947708,
-0.000010478746,
-0.007942006,
0.016061984,
0.004523458,
-0.011605266,
-0.009951607,
-0.025731802,
-0.022795262,
0.02760051,
-0.006937205,
-0.093731984,
0.022632122,
0.02408556,
0.035030846,
-0.0028698004,
0.01938413,
0.04757788,
0.025731802,
0.045887146,
0.01747093,
0.04520492,
0.008238626,
0.0064440737,
-0.0044270563,
0.026206395,
-0.05813756,
-0.039005555,
-0.013740931,
-0.037463132,
-0.026221225,
0.02877216,
0.035475776,
-0.015120215,
0.026562339,
-0.0046013207,
-0.046332076,
-0.06745143,
0.0027177825,
-0.04903132,
-0.03538679,
0.022691445,
-0.0055319667,
-0.035030846,
0.07433302,
0.026102578,
0.024767786,
0.06048086,
0.028890807,
0.055586625,
0.068637915,
0.08619783,
-0.030492557,
0.027200073,
-0.004330655,
-0.03464524,
-0.00071698666,
-0.009091409,
-0.00005376241,
-0.008030992,
-0.042416688,
-0.051374618,
0.017723057,
0.023863096,
-0.026562339,
-0.021504965,
0.042238716,
-0.007133716,
-0.05285772,
0.022142697,
0.080502726,
0.026221225,
-0.043395534,
-0.015008982,
0.011553356,
-0.03980643,
-0.0048460327,
-0.017114986,
0.024634307,
0.021015542,
-0.023981743,
0.0022061127,
-0.03390369,
0.032539237,
0.02261729,
-0.019428624,
0.020170175,
0.0204223,
0.028683173,
0.012762085,
0.015290772,
-0.045620188,
-0.04128953,
0.053213663,
0.086435124,
0.019932877,
0.059917282,
0.053777244,
-0.006217901,
-0.012213337,
0.0038152772,
0.02438218,
0.0052353465,
0.02717041,
0.0048312014,
0.015023814,
-0.019339638,
-0.03185701,
-0.047251597,
0.011976041,
0.021623613,
-0.032924842,
-0.034378283,
-0.0033555161,
-0.082163796,
-0.012435802,
0.01953244,
0.022884248,
0.01491258,
-0.028000947,
-0.0136445295,
-0.032657884,
0.26339874,
0.034407943,
0.06006559,
0.022127867,
0.03731482,
0.027763652,
0.028520033,
0.005383657,
0.021445641,
-0.06048086,
0.008802204,
-0.018701904,
0.011041687,
0.014571467,
0.014245185,
0.06092579,
-0.030299753,
-0.027481861,
0.0011113988,
-0.026933115,
-0.082994334,
0.021208344,
-0.016922183,
0.052768733,
0.014215523,
0.0042972853,
-0.0048497403,
-0.053777244,
-0.019873554,
-0.032390926,
0.033399433,
-0.00983296,
0.035505436,
-0.057662968,
-0.0060028513,
0.02217236,
0.014163614,
-0.04585748,
-0.0008671506,
-0.033696055,
0.028119596,
-0.012146597,
0.039687783,
-0.025731802,
-0.0082757035,
0.027867468,
-0.027022101,
0.030522218,
0.023581306,
-0.03710719,
0.018553594,
-0.040162377,
-0.007511907,
-0.00745629,
-0.030907825,
-0.008720634,
-0.040874265,
-0.049861856,
-0.010099918,
-0.008527831,
0.04051832,
0.017574746,
-0.002020725,
0.006340257,
-0.003490849,
0.013006796,
-0.043395534,
0.046628695,
-0.005965774,
-0.011189997,
-0.012940057,
0.03876826,
-0.015631884,
-0.017634071,
0.030611204,
0.015542898,
-0.03420031,
0.04817112,
0.035653748,
-0.05887911,
0.008839282,
0.0016137992,
0.006633169,
-0.0127546685,
0.016269619,
0.026028423,
-0.055290006,
-0.027585678,
-0.0048163706,
0.01012958,
0.027452199,
0.033399433,
-0.0039376332,
0.048823684,
-0.002499025
] | Next, let's create the config and models as we did before:
resnet50d_config = ResnetConfig(block_type="bottleneck", stem_width=32, stem_type="deep", avg_down=True)
resnet50d = ResnetModelForImageClassification(resnet50d_config)
pretrained_model = timm.create_model("resnet50d", pretrained=True)
resnet50d.model.load_state_dict(pretrained_model.state_dict())
Now to send the model to the Hub, make sure you are logged in. Either run in your terminal:
huggingface-cli login
or from a notebook: |
[
0.020449098,
-0.010803013,
-0.041739598,
-0.021831403,
0.00054418866,
0.020043422,
-0.003266071,
0.0030688671,
-0.00764024,
0.04678802,
0.025978317,
0.0022518798,
0.006960356,
-0.04817032,
-0.0044887345,
0.011133565,
0.017489161,
-0.005874796,
-0.062744625,
0.017459111,
0.03134226,
0.007264613,
-0.09796335,
-0.06893495,
-0.0422805,
0.020824725,
-0.020268798,
-0.014198676,
0.05390989,
0.05036398,
-0.034737922,
-0.01582138,
-0.0016076807,
-0.007245832,
-0.03660103,
-0.032153614,
-0.021560952,
-0.020464122,
-0.05270789,
-0.04871122,
-0.014754603,
-0.022312205,
0.005919871,
-0.045856465,
-0.0010573881,
0.020373972,
0.012989159,
0.046577666,
0.034467474,
-0.019081818,
-0.009728722,
0.08528221,
0.010217036,
0.006047584,
-0.026804695,
0.012027555,
-0.020584323,
-0.0152504295,
-0.047419067,
0.004597666,
0.0002303059,
0.022372305,
-0.002897957,
-0.054510895,
0.006783812,
0.028427402,
0.0059799715,
0.009728722,
-0.041679498,
-0.005063443,
0.02387481,
0.021365626,
-0.014093501,
-0.024340587,
0.018991668,
-0.028021725,
0.02521204,
0.0018480816,
0.019983321,
0.035248775,
-0.007628971,
0.05580305,
0.011246253,
-0.008406517,
-0.043272153,
-0.03101171,
0.06767284,
-0.02120035,
-0.008744581,
-0.015836406,
0.005765864,
0.013860612,
-0.024806364,
0.009939073,
-0.0134399105,
0.017263787,
-0.012553432,
0.04198,
0.009150257,
-0.011531728,
0.032183666,
0.066410735,
-0.012628557,
0.00005613853,
-0.019066792,
0.026519218,
0.040537596,
-0.03431722,
-0.008812194,
0.0005047479,
0.022101853,
0.006502092,
0.005262525,
-0.011944918,
0.03627048,
0.007170707,
0.0026688252,
0.009758772,
-0.035759628,
-0.009345584,
0.009345584,
-0.028968303,
0.005104762,
-0.056674503,
-0.014469126,
-0.018090164,
0.02223708,
0.025737917,
-0.009954098,
-0.020509198,
0.03654093,
-0.05592325,
-0.027075147,
0.028006699,
0.015107691,
-0.0053864815,
-0.017909864,
0.0054879007,
0.06160272,
-0.040026743,
0.004762942,
0.029043429,
0.014769628,
0.08227719,
-0.03377632,
0.020404022,
-0.0045150286,
-0.026278818,
-0.02120035,
0.0007362276,
-0.004702842,
0.0020152354,
0.017564287,
0.0040717893,
-0.04164945,
0.046637766,
-0.020599348,
0.016257107,
0.016392333,
0.018270465,
-0.0059123584,
0.049973328,
-0.012305519,
0.054240443,
-0.016437408,
0.04255095,
-0.008436567,
0.004646498,
-0.003594744,
-0.03329552,
-0.00056296994,
-0.038133584,
-0.006633561,
-0.0052249623,
0.040928245,
0.028397352,
0.025557617,
0.035759628,
0.0032191176,
0.0037825573,
-0.010667788,
-0.010990826,
0.023378983,
0.05396999,
-0.002253758,
-0.022732906,
-0.0007080556,
-0.0092479205,
-0.01718866,
-0.019667795,
-0.006351841,
0.03993659,
-0.043362305,
0.043752957,
-0.02114025,
0.0007592347,
-0.032634415,
0.008399005,
-0.010780476,
-0.013935737,
0.0030989172,
0.03909519,
-0.06544913,
0.03092156,
-0.01546078,
0.0070242123,
0.006441992,
0.019021718,
-0.03969619,
0.014499176,
0.05084478,
-0.01579133,
-0.035819728,
-0.027916549,
0.021636076,
0.019908195,
-0.05090488,
0.01540068,
0.0024828902,
-0.021906529,
0.015167791,
0.025437415,
0.024250437,
0.014964953,
-0.004007933,
-0.038644437,
-0.011193665,
0.020148596,
0.025257114,
0.007279638,
0.024731237,
-0.027195347,
-0.03089151,
0.070557654,
0.016602684,
0.011734567,
0.05012358,
0.071759656,
0.0146344025,
0.018180314,
0.01138899,
0.0037712883,
0.012553432,
0.032093514,
0.0027646099,
-0.00823373,
0.017879814,
0.0025730403,
-0.023378983,
0.026158618,
-0.074944966,
0.035128575,
-0.0024678651,
0.04261105,
-0.037712883,
-0.008917369,
0.027901525,
0.0033336838,
-0.028141925,
-0.029569305,
0.030230407,
0.0017476015,
-0.0058184518,
-0.021335576,
0.024040086,
0.017383987,
0.016752934,
0.023859784,
-0.02943408,
-0.03449752,
-0.030606033,
0.0023589334,
-0.043392353,
-0.07831058,
-0.041018397,
0.017429061,
0.030230407,
-0.018360615,
0.030140257,
-0.046307214,
0.014611864,
0.022462456,
-0.018901518,
0.040537596,
0.006336816,
-0.0028341007,
-0.057395704,
0.0030557204,
-0.05586315,
0.02232723,
-0.016963284,
0.018961618,
0.03993659,
-0.028622726,
0.026504194,
0.013034234,
-0.020388998,
-0.023829734,
-0.034617722,
0.037652783,
-0.040898196,
0.021410702,
0.004022958,
0.018736241,
-0.02527214,
0.0042032585,
-0.040086843,
-0.05363944,
0.047599368,
0.02360436,
-0.0140634505,
0.054120243,
0.008782144,
-0.0002730334,
-0.03068116,
0.019637745,
0.05598335,
0.019096842,
-0.04726882,
-0.03687148,
-0.059649464,
0.0047141104,
0.013560111,
-0.008969957,
-0.024490837,
0.03630053,
-0.043242104,
-0.06599004,
0.021696176,
-0.029539255,
-0.025106864,
-0.017293837,
0.010051761,
0.018796341,
-0.015070128,
-0.0067274678,
-0.01588148,
-0.03627048,
-0.06887484,
0.008601843,
0.03651088,
0.0025749186,
0.04152925,
0.011366453,
-0.017293837,
0.014574301,
0.003151505,
-0.054180343,
0.0056381514,
-0.045886513,
0.004421122,
-0.000054289743,
-0.005179887,
0.04152925,
0.04492491,
0.049041774,
-0.040327244,
0.035729576,
-0.016151933,
-0.0018659239,
0.0038426574,
0.057335604,
0.005480388,
-0.008436567,
-0.029283829,
0.0017814079,
-0.0422805,
0.039065138,
0.044053458,
-0.03371622,
0.009375634,
-0.046637766,
-0.022973306,
-0.023469133,
-0.013169459,
-0.035368975,
-0.0046840603,
0.048380673,
0.03158266,
-0.027931575,
-0.04835062,
-0.002569284,
0.008218704,
0.03672123,
0.024100186,
0.008203679,
-0.046487514,
-0.027721224,
-0.019833071,
0.009638572,
0.029253779,
-0.03368617,
0.0011550509,
0.009593497,
-0.018015038,
-0.047899872,
0.022041753,
0.021065125,
0.047419067,
0.03305512,
0.060250465,
0.027585998,
-0.0014020253,
0.019577645,
-0.011456603,
0.009345584,
-0.040988345,
0.03657098,
0.015836406,
-0.025617717,
-0.025662791,
-0.05901841,
0.021395676,
0.023288833,
-0.021470802,
-0.0030914047,
-0.027495848,
-0.021290502,
0.005375213,
0.04207015,
-0.027991675,
-0.01126879,
-0.07302176,
0.037262134,
0.045826413,
-0.06214362,
-0.009292996,
-0.02943408,
0.019742921,
0.043362305,
-0.027901525,
-0.051686183,
-0.0054991697,
0.011343915,
-0.028171975,
0.027285498,
0.046427414,
-0.019953271,
0.03377632,
-0.03140236,
-0.01555093,
-0.005934896,
-0.0030181576,
-0.025016714,
0.002479134,
-0.019021718,
0.028442426,
0.028502526,
-0.028472476,
-0.03660103,
0.032514215,
0.007520039,
-0.017549263,
-0.044203706,
0.02414526,
-0.006832643,
0.028217051,
0.020193672,
0.05628385,
0.028833078,
-0.00903757,
0.014378976,
0.018180314,
-0.019397344,
-0.016662784,
0.023273807,
-0.006306766,
-0.009060107,
0.060040113,
0.011734567,
-0.022958282,
0.019637745,
0.02339401,
-0.021320552,
0.024190336,
-0.011501678,
0.010893164,
-0.004977049,
0.002496037,
0.0026500437,
-0.04005679,
0.07266116,
-0.004150671,
-0.024415713,
-0.006287985,
-0.04146915,
-0.018811367,
-0.013229559,
-0.038193684,
0.04780972,
-0.042581003,
0.019893171,
0.020899849,
0.0019513788,
-0.032063466,
0.013161947,
-0.018736241,
0.03600003,
0.032273814,
0.046427414,
0.049522575,
-0.024460787,
-0.04023709,
0.026744595,
-0.014732065,
-0.003123333,
-0.029914882,
-0.013229559,
0.026489168,
0.0035590595,
-0.03377632,
-0.000905729,
-0.03299502,
-0.00035825363,
-0.014739578,
0.003279218,
0.018450765,
-0.007133144,
-0.000053291988,
0.020223722,
-0.015896507,
-0.049522575,
-0.005330138,
-0.0008953993,
0.042971652,
0.028187001,
0.03431722,
-0.041619398,
-0.040988345,
-0.00046225515,
0.051776335,
-0.05922876,
-0.020674473,
-0.005007099,
-0.05048418,
-0.03861439,
0.065809734,
-0.0033599776,
-0.053819742,
0.011373965,
-0.01198248,
0.0014593083,
-0.052377336,
-0.0075838957,
-0.0021222888,
-0.01661771,
-0.02663942,
0.04176965,
-0.021816378,
-0.011501678,
0.008098504,
0.008496668,
0.034467474,
0.029689506,
-0.025617717,
-0.013019209,
0.020674473,
-0.020028396,
-0.04829052,
0.04537566,
-0.018796341,
0.028682828,
0.012365619,
0.0038539262,
-0.010990826,
-0.016166957,
-0.01825544,
-0.0022293422,
0.055412397,
-0.052257136,
0.045676164,
0.020313872,
0.02232723,
-0.020178648,
0.007685315,
-0.020073472,
0.010945751,
-0.02387481,
-0.022612706,
0.0034858123,
0.0012611655,
-0.021260452,
0.02681972,
-0.04182975,
0.016407358,
-0.02360436,
0.005717033,
0.051175334,
0.001212334,
0.0018809489,
-0.03933559,
0.02684977,
0.023559283,
-0.024580987,
-0.00008733312,
0.02360436,
-0.01579133,
-0.0077679525,
-0.0104348995,
-0.034587674,
-0.010502513,
-0.014123551,
0.012944084,
-0.033205368,
0.051565982,
0.016046757,
-0.02432556,
-0.02429551,
0.045345612,
-0.03377632,
-0.014101013,
0.03110186,
0.03669118,
0.02220703,
0.013304685,
0.012899009,
-0.008872294,
-0.007955765,
0.061001718,
-0.01567113,
-0.018811367,
0.020734575,
0.04714862,
-0.06586984,
-0.040868144,
-0.045946613,
0.022071803,
-0.03963609,
0.027240422,
-0.008879807,
-0.052437436,
-0.021305526,
0.026984995,
0.015032566,
-0.019833071,
-0.018796341,
-0.027646098,
-0.024776313,
-0.05312859,
0.06118202,
0.060701218,
-0.002867907,
-0.04678802,
-0.033145268,
0.018931568,
-0.022116879,
0.007775465,
0.033986673,
-0.026954945,
0.04164945,
0.029869806,
0.015017541,
0.08660441,
0.01123874,
0.03708183,
0.012380644,
-0.010186986,
-0.05616365,
-0.035489175,
0.01263607,
-0.04213025,
0.013515036,
-0.0074486705,
0.06418703,
0.020794675,
0.039545942,
-0.004608935,
-0.06358603,
0.014326389,
0.0015241038,
-0.013650261,
0.024776313,
0.016091833,
-0.02675962,
0.0034613968,
-0.017819714,
-0.031252112,
-0.043212052,
0.025557617,
0.020148596,
-0.04871122,
-0.032303866,
-0.03606013,
-0.070798054,
-0.03684143,
-0.026654445,
-0.020133572,
-0.006964112,
-0.0002716248,
0.013830562,
0.0059273834,
-0.041559298,
0.028382326,
0.01573123,
0.03891489,
-0.021816378,
-0.007373545,
-0.035338927,
-0.03624043,
-0.022973306,
0.038644437,
0.02970453,
-0.015565955,
0.029419055,
-0.0052700373,
-0.030636083,
0.034467474,
-0.005063443,
0.012921546,
-0.010149424,
0.009195332,
-0.017429061,
0.003465153,
-0.06400673,
0.003352465,
-0.014927391,
-0.02229718,
0.032033414,
-0.005191156,
-0.0036586006,
0.011591828,
-0.034166973,
0.0024866464,
-0.009728722,
0.04817032,
0.04750922,
0.006306766,
0.023153607,
-0.0023551772,
0.017714538,
-0.057485856,
0.019217044,
0.011193665,
-0.04237065,
0.027345598,
-0.016317207,
0.01700836,
-0.038644437,
-0.0060701217,
0.00081933493,
0.026248768,
0.0058485023,
0.02253758,
0.013665286,
-0.019803021,
-0.013642749,
-0.01465694,
-0.044564307,
-0.041559298,
0.06671124,
-0.023093507,
0.015475805,
-0.02348416,
-0.018030064,
0.019457445,
0.007471208,
-0.03708183,
0.040447444,
0.017939914,
0.008121042,
0.029449105,
-0.028607702,
-0.025106864,
-0.01129884,
0.013890662,
-0.044384006,
-0.019232068,
-0.00527755,
0.0829383,
0.00089211256,
-0.02494159,
-0.008121042,
0.019938245,
-0.0059086024,
0.010014198,
-0.032003365,
0.013627724,
-0.03915529,
0.011261278,
0.010855601,
0.017789664,
-0.014116038,
0.016091833,
0.05060438,
0.006949087,
-0.012155268,
0.003981639,
0.0029618137,
-0.027420722,
0.02099,
0.025692841,
0.025978317,
0.0007061775,
-0.015190329,
-0.012891496,
0.03624043,
0.047599368,
0.022222053,
0.021711202,
0.04786982,
-0.01254592,
0.0009878973,
-0.087866515,
0.011997505,
0.031312212,
0.004804261,
0.037562635,
-0.013094334,
-0.016572634,
-0.01819534,
0.0023439084,
-0.00564942,
-0.041679498,
0.021921553,
-0.041318897,
-0.032333914,
0.030425733,
0.0071369004,
-0.05078468,
0.02342406,
-0.0022631488,
0.051836435,
0.0043835593,
0.0058672833,
-0.0000636804,
0.00782054,
0.07085815,
0.037803035,
0.024596013,
0.0058785523,
0.041318897,
0.01703841,
0.038283836,
-0.068213746,
-0.01840569,
0.0036661131,
-0.019141918,
-0.0014367708,
0.016046757,
0.045976665,
-0.020554272,
0.010757938,
0.006291741,
0.012771295,
-0.050213728,
0.002454718,
-0.06394663,
-0.01831554,
0.028893178,
-0.030410709,
-0.049732927,
0.054480843,
0.0092554325,
0.0025505028,
0.056374002,
0.020899849,
0.041228745,
0.062985025,
0.06815364,
-0.0050709555,
0.040597696,
-0.017879814,
-0.0036623569,
-0.020178648,
0.014348926,
-0.025617717,
-0.0022462455,
-0.031552613,
-0.031372312,
0.025722891,
0.017849764,
0.013560111,
-0.035579327,
0.07007685,
0.017263787,
-0.040086843,
0.015535905,
0.09988656,
0.009818872,
-0.014521714,
-0.041288845,
0.01260602,
-0.048380673,
-0.02265778,
-0.02955428,
0.014206188,
0.011133565,
-0.022913206,
-0.014191163,
-0.03386647,
0.040928245,
0.0048756297,
-0.0003744525,
-0.007264613,
0.00021727636,
0.039906543,
0.04477466,
0.017233737,
-0.029298855,
-0.037863135,
0.029779656,
0.060791366,
-0.0055179507,
0.041499197,
0.029193679,
-0.02253758,
-0.0022274642,
0.0015466415,
0.0013503766,
-0.019111868,
0.004687817,
0.0056231264,
-0.015092666,
-0.011201178,
-0.07037735,
-0.040657796,
0.019953271,
0.019141918,
-0.03311522,
0.0011052805,
-0.008271292,
-0.06442743,
-0.013702849,
-0.028412376,
-0.01192238,
0.011201178,
-0.038373988,
0.016242083,
-0.05372959,
0.26924896,
0.005874796,
0.017984988,
-0.013920712,
0.038313888,
0.037712883,
0.038764637,
-0.001012313,
0.011193665,
-0.08894832,
0.004116865,
-0.037232082,
-0.0046690353,
0.006588486,
-0.022958282,
0.050995033,
-0.037442435,
-0.02530219,
0.014852265,
-0.047839772,
-0.06647084,
0.02265778,
0.00013956866,
0.07861108,
0.030125232,
0.0016133151,
-0.021621052,
-0.049672827,
-0.018886492,
-0.035789676,
0.038764637,
0.015866457,
0.051235434,
-0.020599348,
-0.025903191,
0.01828549,
0.019742921,
-0.018555941,
0.016091833,
0.010833063,
0.029839756,
-0.01712856,
0.017954938,
-0.010818038,
-0.013883149,
0.017654438,
-0.0032735835,
0.023243757,
0.027165297,
-0.009916536,
0.046457466,
-0.026143594,
0.009961611,
-0.018676141,
-0.018841418,
0.0055818073,
-0.043783005,
-0.049432427,
-0.009969123,
-0.0080684535,
0.010818038,
0.01275627,
-0.057485856,
0.015100178,
0.00043713514,
0.0014085987,
-0.0063668666,
0.03969619,
-0.020719549,
-0.004135646,
-0.021996679,
0.026744595,
-0.035609376,
-0.047599368,
0.014123551,
-0.0053226254,
-0.02500169,
0.06208352,
0.046367314,
-0.021485826,
0.0035384002,
-0.0025429903,
-0.008030891,
-0.023273807,
0.014979978,
0.044323906,
-0.060190365,
-0.027721224,
-0.010156936,
-0.0058635273,
0.0009141806,
0.019397344,
-0.008030891,
0.03431722,
-0.0080909915
] |
You can then push to your own namespace (or an organization you are a member of) like this:
py
resnet50d.push_to_hub("custom-resnet50d")
On top of the modeling weights and the configuration in json format, this also copied the modeling and
configuration .py files in the folder custom-resnet50d and uploaded the result to the Hub. You can check the result
in this model repo.
See the sharing tutorial for more information on the push to Hub method.
Using a model with custom code
You can use any configuration, model or tokenizer with custom code files in its repository with the auto-classes and
the from_pretrained method. All files and code uploaded to the Hub are scanned for malware (refer to the Hub security documentation for more information), but you should still
review the model code and author to avoid executing malicious code on your machine. Set trust_remote_code=True to use
a model with custom code: |
[
0.021263367,
0.0038316676,
-0.012439143,
-0.0062232455,
-0.033915583,
-0.00023477229,
0.0026964948,
-0.015106249,
-0.007641293,
0.050285585,
0.02534852,
-0.036913324,
0.030418225,
-0.040234346,
0.010550862,
0.03068273,
-0.008927087,
0.03068273,
-0.08763975,
-0.01860361,
0.00064978545,
-0.004823566,
-0.081644274,
-0.020205341,
-0.019206095,
-0.021586653,
0.028507901,
-0.023614533,
0.04126298,
0.08217329,
-0.039617166,
-0.0054811584,
-0.018618304,
-0.0055178953,
-0.045465693,
-0.06083645,
-0.03071212,
-0.035355676,
-0.031623196,
-0.0090519935,
0.01848605,
0.0104847355,
0.005822812,
-0.06471587,
-0.05639862,
0.018588915,
-0.008875656,
-0.037648063,
-0.02924264,
-0.023291249,
-0.026656356,
0.021689516,
0.015517702,
-0.0153707545,
-0.02559833,
-0.019029759,
-0.0313293,
0.0018754231,
-0.04778747,
0.011079875,
0.0031006015,
0.016105494,
-0.023247164,
-0.053283323,
0.020308206,
0.04229162,
-0.009500184,
0.0049521457,
-0.004055763,
-0.008207043,
-0.045377523,
0.016134884,
-0.018221544,
-0.039411437,
-0.012005647,
0.035414454,
0.0033430657,
0.022718152,
0.031152964,
0.02498115,
0.024628475,
0.026494714,
0.026715135,
-0.0074649556,
0.001382229,
-0.03559079,
0.013048978,
-0.042967577,
-0.06747849,
-0.035943467,
-0.02240956,
0.026568187,
-0.022306697,
0.016149579,
0.063951746,
0.0044415016,
-0.024731338,
0.04561264,
0.021718906,
-0.04279124,
0.009647132,
0.07635415,
-0.033063285,
0.022791626,
-0.031593807,
-0.027347011,
-0.03985228,
0.005385642,
-0.034415208,
-0.033298403,
-0.0041769953,
0.024496222,
-0.009705911,
-0.0025275047,
0.038823646,
0.012512617,
-0.0035249137,
0.03520873,
-0.026847389,
-0.02819931,
-0.005617085,
0.0060616024,
-0.030800289,
-0.057985656,
0.041645046,
-0.056045946,
-0.023702703,
0.035003,
-0.01866239,
-0.006814711,
0.017824786,
-0.015899768,
0.029198555,
0.06677315,
-0.008478896,
-0.02777316,
0.023394112,
0.0228651,
-0.0041402583,
-0.02783194,
0.0047170287,
0.011476634,
0.022292003,
0.06912431,
0.0074869976,
-0.040410683,
0.040351905,
-0.052636754,
-0.06671437,
0.0077074193,
-0.02642124,
0.006590615,
0.003400008,
-0.017104741,
-0.001462132,
-0.011160696,
-0.015635261,
0.06483343,
-0.009970418,
0.036590036,
-0.015444228,
-0.033180844,
-0.040440075,
0.035385065,
-0.0024999517,
0.03191709,
-0.022365477,
-0.033210233,
0.021292757,
-0.0041623004,
-0.008985867,
0.02026412,
0.0012325258,
0.016252443,
0.08423056,
-0.010609642,
0.05801505,
0.01569404,
-0.027567433,
-0.021836463,
-0.024025988,
-0.026259597,
0.012189331,
-0.002095845,
0.028507901,
-0.031123575,
-0.029139778,
-0.0038573835,
0.013893927,
0.02648002,
0.0029922274,
0.053077597,
0.00067320524,
0.018015817,
-0.03297512,
-0.0149813425,
-0.06818385,
-0.01642878,
0.005642801,
0.018691778,
0.01284325,
0.033239625,
-0.044701565,
0.01578221,
-0.024628475,
0.013585337,
0.019779192,
0.038706087,
-0.032299157,
-0.012924071,
0.06818385,
-0.0038794256,
-0.025157487,
0.0051615466,
0.009000561,
-0.019764498,
-0.023070827,
0.0024099462,
0.0013601868,
-0.016193664,
0.01462132,
-0.0015365244,
0.03344535,
-0.02240956,
0.011821962,
0.005124809,
-0.021704212,
0.04781686,
0.027670298,
0.021263367,
-0.0126963025,
0.029022219,
0.0006304985,
0.011946867,
0.0059807813,
0.0010525146,
0.029859822,
0.043437812,
0.02752335,
-0.009250373,
-0.0014850927,
0.046729445,
0.02617143,
-0.0016944935,
-0.033886194,
0.0005992721,
-0.027200064,
-0.0030583541,
-0.0026964948,
0.017413331,
-0.014467025,
0.039587777,
0.0016513275,
-0.033004507,
-0.032563664,
-0.021880548,
0.025804058,
0.009353236,
-0.015547092,
0.008280517,
0.04299697,
-0.0021233978,
0.030300666,
-0.055869605,
0.00891974,
0.052519195,
0.026818,
0.03262244,
-0.012328932,
-0.043996215,
-0.038382802,
-0.031476248,
-0.048933666,
-0.004272511,
-0.009470794,
-0.029801043,
-0.03224038,
-0.05554632,
0.05707458,
-0.019911446,
0.037883177,
0.009514879,
0.0001642832,
0.016443474,
0.02687678,
-0.006043234,
-0.05351844,
0.021469094,
0.0029775326,
0.010734547,
0.033974364,
-0.020572713,
0.009404669,
-0.004180669,
0.01860361,
-0.002229935,
0.028772406,
-0.00962509,
-0.0420565,
0.043672927,
-0.024261106,
0.03485605,
-0.015165027,
0.06712582,
0.001620101,
0.033386573,
0.0033118392,
-0.046847004,
0.06060133,
0.039617166,
0.002060945,
0.016649202,
0.0063665197,
0.021998107,
-0.031975873,
0.053253934,
0.032593053,
-0.020734355,
-0.05554632,
-0.04493668,
-0.04937451,
0.0064620357,
-0.03276939,
-0.018427271,
0.0002938959,
0.053871114,
-0.06453954,
-0.020308206,
-0.008912393,
-0.034914833,
-0.00065024465,
-0.04070458,
-0.03632553,
0.04443706,
0.022233224,
0.03476788,
-0.023144301,
0.02859607,
-0.011454592,
0.023893734,
-0.0062930454,
0.030418225,
0.06218837,
0.027258843,
0.013489821,
-0.018735863,
0.025818754,
-0.039029375,
0.0069873747,
-0.005326863,
0.010506778,
0.016502254,
0.012497922,
-0.020190647,
0.0007824978,
0.018441966,
-0.02523096,
0.032357935,
0.0015741799,
-0.00062361034,
0.034650326,
0.0256865,
-0.015341365,
0.014437635,
-0.00962509,
-0.011425203,
-0.04637677,
0.029624704,
0.0256865,
-0.016693287,
0.037442334,
-0.0005662088,
-0.02492237,
0.012519965,
0.0031759124,
-0.055487543,
0.026465325,
0.02605387,
0.020205341,
-0.00436068,
-0.021439705,
-0.004279859,
0.01532667,
0.014320076,
0.020822523,
0.0049631665,
-0.010830063,
0.009698564,
-0.03271061,
0.0016752066,
0.01532667,
0.031975873,
0.014746225,
-0.023012048,
-0.016546339,
-0.04834587,
0.025157487,
0.04564203,
-0.016590422,
-0.038853034,
0.010888843,
-0.015870377,
0.0037563567,
0.0005721786,
0.010550862,
0.0067596054,
-0.029654095,
0.024363969,
0.01783948,
-0.0038059517,
-0.015297281,
0.0016155089,
0.010080629,
0.017369246,
-0.00869197,
0.021807075,
-0.045083627,
0.018280324,
-0.021586653,
0.027214758,
-0.04279124,
-0.029801043,
-0.07094646,
0.007913146,
0.03644309,
-0.028405037,
-0.022233224,
-0.025495468,
0.009852859,
0.04285002,
-0.00069983955,
-0.031094184,
-0.008993214,
0.010690463,
-0.051108494,
0.011866046,
0.07059379,
-0.06636169,
0.0060285395,
-0.07206327,
0.020234732,
0.03294573,
-0.04443706,
-0.043437812,
0.0070130904,
-0.0038206466,
-0.019999614,
-0.0011673177,
0.0017890912,
0.030829677,
0.019661635,
-0.053224545,
0.0313293,
-0.04423133,
-0.015605872,
-0.030917848,
0.029463062,
-0.021704212,
0.0045737545,
-0.02071966,
-0.021204587,
-0.010462694,
0.056134112,
-0.036648817,
-0.03852975,
-0.018192155,
0.0103304405,
-0.019426517,
0.028360954,
0.0033963344,
-0.034650326,
0.027391097,
-0.029404283,
-0.023041436,
0.04146871,
-0.05060887,
0.035120558,
0.047493573,
-0.0004766624,
0.02847851,
-0.086699285,
0.0061387504,
-0.0075127133,
0.0036590036,
-0.01927957,
-0.071475476,
-0.021483788,
0.00053635996,
-0.022821015,
0.046700057,
0.041292373,
-0.026641661,
-0.033386573,
0.021527873,
0.013423694,
-0.043437812,
-0.0055509587,
-0.0018901179,
0.062364705,
0.015341365,
0.040498853,
-0.04055763,
-0.031770144,
-0.016854929,
-0.016017325,
0.001706433,
0.019764498,
-0.032651834,
-0.0032861233,
-0.011079875,
-0.043672927,
0.0014327425,
-0.017281078,
0.03626675,
0.03985228,
-0.042027112,
0.007152691,
-0.046847004,
-0.0152531965,
0.039470218,
0.011851352,
-0.05351844,
-0.019911446,
0.01371759,
-0.01612019,
0.0030895805,
0.039999228,
-0.028463816,
-0.03932327,
-0.016237747,
0.049815353,
-0.034503378,
0.017428026,
-0.038676698,
-0.043790486,
0.022894489,
0.026377155,
0.052313466,
0.009918986,
-0.0019562445,
-0.014511109,
0.020411069,
-0.055869605,
-0.016237747,
-0.0041990373,
-0.00694329,
-0.02424641,
0.016913708,
0.016472865,
-0.0052570626,
-0.002387904,
0.027479265,
0.025583636,
0.0056832116,
-0.06453954,
-0.030241886,
-0.015679345,
-0.0098675545,
-0.030418225,
0.040969085,
0.006113034,
0.02571589,
0.04067519,
0.0400874,
-0.05472341,
0.007920494,
-0.017090045,
0.008567065,
0.020205341,
-0.027170675,
-0.022762235,
-0.0189122,
0.033974364,
-0.007957231,
0.045436304,
-0.025951006,
0.020778438,
-0.012181984,
-0.07911677,
0.03661943,
-0.01612019,
0.011579498,
-0.020469848,
0.030741509,
0.04925695,
-0.034444597,
0.021704212,
0.033122066,
-0.0057089273,
-0.023599839,
-0.023658618,
0.012064426,
0.0072849444,
0.01013206,
-0.0075237346,
0.039440826,
-0.018926894,
0.022027496,
0.0072004492,
-0.03791257,
-0.020205341,
-0.006800016,
0.022909185,
0.01603202,
0.030050853,
-0.014246603,
-0.017045962,
-0.021263367,
0.007913146,
0.035884686,
0.022145055,
0.013401653,
0.008706666,
-0.026935557,
0.0038941205,
-0.04846343,
-0.019441213,
-0.0023548407,
0.059455138,
-0.016208358,
-0.020146564,
-0.009551616,
0.022056885,
-0.01879464,
-0.042027112,
-0.0010497593,
0.05498792,
-0.0485516,
-0.0031979545,
-0.010492083,
-0.019749803,
0.0005505956,
-0.0024099462,
0.031652585,
-0.012953461,
-0.043408424,
0.04834587,
-0.037648063,
-0.03062395,
0.005569327,
0.040381294,
-0.020778438,
-0.015341365,
-0.029330809,
0.0017468437,
-0.05210774,
-0.025921617,
0.07300374,
-0.026862083,
0.03271061,
-0.022953268,
0.024261106,
0.046141654,
-0.011395813,
0.034503378,
-0.015605872,
-0.027699687,
-0.04869855,
-0.0030877437,
0.0028728324,
-0.024775423,
-0.01538545,
-0.031652585,
0.057250917,
0.04502485,
0.04622982,
-0.009735301,
-0.06136546,
0.037383556,
-0.015238501,
0.0017762332,
0.024143547,
0.014973995,
-0.00031777492,
0.0335923,
0.012608133,
-0.013673506,
0.026068565,
0.018383188,
-0.038853034,
-0.0014116187,
-0.027391097,
0.014217214,
-0.049609624,
-0.039029375,
-0.012652217,
-0.039675944,
0.004412112,
0.0017183725,
-0.021233978,
-0.00045347217,
0.025377909,
0.009279762,
-0.01753089,
0.019162012,
-0.022424256,
0.024804812,
0.015591176,
-0.009808775,
-0.01092558,
0.0153707545,
0.020616796,
-0.045377523,
0.033063285,
0.0027277211,
0.0107565895,
0.0033467393,
0.040969085,
0.032563664,
-0.008772792,
0.0063665197,
-0.010205534,
0.02102825,
-0.03282817,
-0.01897098,
-0.011829309,
-0.028625458,
-0.0075090397,
0.029154472,
0.032387327,
0.04135115,
0.0074723028,
-0.0043055746,
0.027978888,
0.036237363,
0.034738492,
0.022115665,
0.02534852,
-0.015885072,
-0.05010925,
0.02133684,
0.02249773,
0.03282817,
-0.02240956,
0.021072336,
0.026612272,
0.0035322611,
-0.029874517,
0.045201186,
0.019485297,
0.016134884,
0.057427254,
0.0039528995,
-0.010492083,
-0.05069704,
-0.013034282,
-0.011638277,
-0.037530504,
-0.028155226,
-0.0149813425,
-0.044348888,
-0.042614903,
-0.025025234,
0.011006401,
-0.015076859,
0.005348905,
0.0022391193,
-0.009727954,
0.01992614,
0.015297281,
-0.022277309,
-0.0061828345,
-0.052989427,
0.026862083,
0.032534275,
-0.030888457,
-0.023070827,
0.019646939,
0.024540307,
0.0019525707,
-0.00062452874,
-0.013335526,
-0.042350397,
0.02071966,
0.06671437,
-0.034620933,
-0.017854175,
-0.053782947,
0.030947236,
-0.02458439,
-0.0020903344,
0.011190086,
0.025980396,
0.02105764,
0.0016283669,
0.003363271,
0.036119804,
0.030124327,
0.012894682,
0.020469848,
0.030124327,
-0.007971926,
-0.0029077325,
0.0420565,
0.015649956,
0.051549338,
0.059837203,
0.029007524,
-0.02859607,
0.02387904,
0.013901276,
-0.051343612,
-0.017001877,
0.041321762,
0.038382802,
-0.007262902,
-0.025877532,
0.0108741475,
-0.032416716,
0.03873548,
-0.0027773161,
0.03068273,
-0.026465325,
-0.013901276,
-0.011123959,
-0.04135115,
0.030124327,
-0.009566311,
0.010962317,
0.01612019,
-0.018030513,
0.050902765,
0.047699302,
-0.024834203,
-0.0037581937,
0.04869855,
0.019088538,
-0.018324409,
0.017766006,
0.031064795,
0.02179238,
-0.0087801395,
0.026333071,
-0.025142793,
0.027391097,
-0.027934803,
-0.055810828,
-0.00072142255,
0.038000736,
0.014092308,
-0.026215512,
-0.028566679,
-0.001963592,
0.0045370176,
-0.045965318,
0.004048416,
-0.06647925,
-0.0072298385,
0.017574973,
0.012211374,
-0.039176323,
0.025818754,
-0.012446491,
-0.0008155611,
0.022644678,
0.04584776,
0.027993582,
0.03855914,
0.00042546022,
-0.006359172,
0.0096324375,
0.041791994,
-0.053342104,
-0.041850775,
-0.003927184,
-0.030976625,
-0.008140916,
-0.025524857,
-0.060307436,
0.043055747,
0.00036714025,
-0.0016706144,
-0.021983411,
0.038206466,
0.010227577,
-0.04514241,
0.031711366,
0.047905028,
0.026891474,
-0.02700903,
-0.040116787,
0.024452137,
-0.04370232,
-0.009323847,
-0.055957776,
0.03911754,
-0.031975873,
-0.009558964,
0.051666897,
-0.031476248,
-0.0003763245,
0.036002245,
-0.01648756,
0.007303313,
0.027288232,
0.04478973,
0.000462886,
0.043437812,
-0.0055766744,
-0.020704964,
0.050344363,
0.03559079,
0.017692532,
0.06207081,
0.042732462,
0.0050770515,
-0.0009781222,
0.034209482,
-0.010455346,
-0.0000447445,
-0.018368492,
-0.009492837,
-0.01612019,
-0.03935266,
-0.035532013,
0.053988673,
0.0009873065,
-0.041703824,
-0.015649956,
-0.02074905,
0.007883757,
-0.057427254,
-0.030477002,
-0.026524104,
0.00082520454,
0.018985674,
-0.024172936,
0.020851912,
-0.0341507,
0.2574528,
0.014349466,
0.01177053,
0.01089619,
0.03661943,
0.0900497,
0.022997353,
0.01860361,
0.019323654,
-0.017325163,
0.0144008985,
-0.050520703,
0.0045370176,
-0.0034789925,
-0.0006263656,
0.021954022,
-0.049815353,
0.013048978,
-0.018045207,
-0.04834587,
-0.08029235,
0.031123575,
-0.006847774,
0.059014294,
0.039705332,
-0.013306136,
-0.03488544,
-0.06271738,
0.038970593,
-0.006994722,
0.0035616506,
0.0006529999,
0.007237186,
-0.007009417,
0.011043138,
0.02816992,
-0.0045149755,
-0.02133684,
-0.0434672,
0.045877147,
-0.02390843,
-0.03509117,
0.050520703,
-0.03791257,
0.015767515,
0.03262244,
-0.042379785,
-0.035326283,
0.029801043,
-0.030976625,
0.05472341,
-0.05775054,
-0.00022156995,
-0.03509117,
-0.016957792,
-0.014474372,
-0.065832675,
-0.05792688,
-0.010249618,
-0.0076706824,
0.022247918,
0.012204027,
-0.0200437,
0.040351905,
0.0055509587,
-0.0038573835,
0.008464201,
0.05066765,
0.025377909,
0.019176707,
0.06677315,
0.0025403625,
-0.01315184,
-0.02424641,
0.020572713,
0.0151356375,
-0.0029150797,
0.042409174,
0.005124809,
-0.060424995,
0.0242758,
-0.04426072,
0.013012241,
-0.07459077,
0.035620183,
0.07635415,
-0.018838726,
-0.009874902,
0.024892982,
0.034738492,
0.0017909281,
0.05989598,
0.024863591,
0.016267138,
0.00996307
] |
Load pretrained instances with an AutoClass
With so many different Transformer architectures, it can be challenging to create one for your checkpoint. As a part of 🤗 Transformers core philosophy to make the library easy, simple and flexible to use, an AutoClass automatically infers and loads the correct architecture from a given checkpoint. The from_pretrained() method lets you quickly load a pretrained model for any architecture so you don't have to devote time and resources to train a model from scratch. Producing this type of checkpoint-agnostic code means if your code works for one checkpoint, it will work with another checkpoint - as long as it was trained for a similar task - even if the architecture is different. |
[
0.012457602,
0.00544762,
-0.015251959,
-0.026966235,
-0.019064948,
-0.0025207717,
-0.029044796,
-0.0032468915,
-0.009945434,
0.04548057,
-0.017344285,
-0.015141836,
0.0022557895,
-0.030861815,
0.018500572,
0.046554264,
-0.00910575,
-0.04223196,
-0.056355163,
-0.029154917,
0.017853603,
-0.03779953,
-0.03609263,
-0.05715355,
-0.013414291,
-0.008417484,
0.021873072,
-0.024681194,
0.035184123,
0.016298123,
-0.071194164,
-0.015871398,
0.009759602,
0.010475398,
-0.03782706,
-0.040332347,
0.011679862,
-0.050904103,
-0.037248917,
-0.04548057,
0.053877406,
0.022933,
-0.043938857,
-0.016353184,
-0.05043608,
-0.023098184,
-0.011046658,
-0.028466653,
-0.027943572,
-0.02970553,
-0.03468857,
0.015004183,
-0.026140315,
0.0067174695,
-0.04718747,
-0.022657694,
-0.0114665,
-0.0120515255,
-0.011989581,
0.017812306,
0.023235837,
0.020730551,
-0.02451601,
-0.05164743,
-0.017908663,
-0.00080311956,
0.018528102,
-0.01598152,
0.023139479,
0.021074684,
-0.06480706,
0.004077972,
0.0022196556,
-0.020345122,
-0.0182115,
0.03468857,
-0.0024846378,
0.013882311,
-0.00044866293,
0.017275458,
-0.007577801,
0.025314398,
-0.028907143,
-0.0106612295,
-0.005671306,
-0.031632673,
-0.021762948,
0.004986482,
-0.030806756,
-0.049169675,
-0.016188,
0.043746144,
-0.029733062,
0.052583467,
0.033725,
0.04236961,
-0.044351816,
0.029567877,
-0.0006289024,
-0.0067346757,
0.008940566,
0.09393445,
0.0037751351,
0.058695264,
-0.04718747,
-0.03545943,
-0.0028167258,
-0.009016275,
-0.08154567,
-0.0011950006,
0.016119173,
-0.023731388,
-0.009174576,
0.012753556,
0.0066864975,
0.027282836,
0.021969428,
-0.015086776,
-0.040167164,
-0.010523576,
0.0061909463,
-0.0029320102,
-0.021941898,
0.0030421326,
0.03416549,
-0.03782706,
-0.025878776,
0.045645755,
-0.03188045,
-0.010654347,
0.025107918,
0.0012758718,
0.015224429,
0.05456567,
-0.013510648,
0.009319112,
0.0063010687,
0.00035961863,
0.013923607,
0.015623623,
0.0027117652,
-0.041929122,
-0.010344627,
0.06128314,
0.021996958,
-0.0108401785,
-0.005282436,
-0.039506428,
-0.06513743,
-0.0019391875,
-0.047848202,
-0.01112925,
-0.01022074,
0.013015097,
-0.026085256,
-0.014715112,
-0.026291734,
0.05621751,
-0.03240353,
0.031715266,
0.008892388,
-0.007970112,
-0.028494183,
0.059631307,
-0.0071304287,
0.047104876,
-0.034110427,
-0.016490836,
-0.015651153,
-0.027874745,
0.010564872,
-0.01950544,
-0.013434939,
-0.002080282,
0.03967161,
0.0097045405,
0.076700285,
0.010502929,
-0.005196403,
-0.007054719,
-0.026828581,
-0.021308694,
-0.029595409,
0.023896571,
-0.009794015,
0.004900449,
-0.0045804055,
0.0017722831,
0.026388092,
0.013827249,
0.015017949,
0.026346795,
-0.024887674,
-0.0092571685,
-0.025796184,
0.018307857,
-0.036835957,
-0.051151875,
-0.0056781885,
0.005492357,
0.0015606416,
0.018583164,
0.023304664,
-0.008623964,
-0.01507301,
-0.005155107,
0.018734582,
0.06425645,
-0.027365427,
0.063265346,
0.015169367,
-0.0019598354,
-0.047407713,
0.012202944,
0.029678,
0.0008358122,
0.0025276544,
0.008899271,
0.0015692449,
0.03870804,
0.04322306,
0.023538673,
0.04198418,
-0.016229296,
-0.0060670585,
-0.0043188646,
0.0024003251,
0.038900755,
0.035404366,
0.03925865,
-0.029375164,
0.027145183,
0.035734735,
-0.012182296,
0.014866531,
0.0063939844,
-0.0067587653,
0.024405887,
-0.011542209,
0.023951633,
-0.022451214,
0.020771846,
0.031329837,
0.010255153,
0.009153929,
0.026181612,
-0.014233327,
-0.01644954,
-0.0015313902,
0.033614878,
-0.0104822805,
0.0455081,
-0.037001144,
-0.04952757,
-0.0049486277,
-0.017413111,
0.022423683,
0.029815653,
-0.029127387,
-0.010275801,
-0.0038680509,
-0.021996958,
0.028576775,
0.000071999006,
0.052968897,
0.04005704,
0.02715895,
0.019629326,
-0.050628796,
-0.07890274,
-0.0140681425,
-0.017922428,
-0.030779224,
0.016091643,
-0.016339418,
-0.05035349,
0.03609263,
-0.024419652,
0.02246498,
-0.04718747,
-0.008424367,
-0.019230133,
-0.040277284,
0.026002662,
0.060567345,
0.012746673,
0.005155107,
0.025066622,
-0.017853603,
0.02609902,
-0.0011846767,
-0.023359723,
-0.0051688724,
-0.011218725,
0.0030610599,
-0.023951633,
0.021322459,
-0.029044796,
-0.028824551,
0.0046423497,
-0.01730299,
0.007921933,
-0.037083734,
0.046196368,
-0.032458592,
0.022203438,
-0.0021904043,
-0.0021542704,
0.041213326,
0.022547571,
-0.056492817,
0.0075502703,
-0.027131418,
0.048398815,
-0.02812252,
0.09900008,
0.03281649,
-0.0025328163,
-0.026690928,
-0.023290899,
-0.046691917,
0.037882123,
-0.021460112,
-0.029182449,
-0.012650317,
0.05660294,
-0.0037407218,
-0.032155756,
-0.005082839,
-0.030806756,
0.010420336,
-0.030696632,
-0.010234505,
0.064752,
0.05475839,
0.031109592,
-0.056658,
0.07499339,
-0.0021370638,
0.0060016736,
0.021102214,
0.009415469,
0.06992775,
0.021501409,
-0.049417447,
0.0060877064,
0.07620473,
0.0024846378,
0.06436657,
-0.004439311,
0.020950796,
0.016711082,
-0.00036521078,
-0.006985893,
0.00033746508,
-0.005103487,
-0.026924938,
0.022822877,
-0.005543977,
0.0005987908,
0.037028674,
0.008885505,
-0.033669937,
0.035404366,
-0.024185643,
-0.038873225,
-0.013758424,
0.021749184,
0.055116285,
0.013682714,
-0.016256826,
0.012787969,
-0.04135098,
0.029375164,
-0.015637388,
-0.059686366,
0.051069286,
-0.018225266,
0.075984485,
-0.032513652,
-0.0009816384,
0.032073162,
-0.004700852,
0.008445015,
0.00074590754,
0.008149061,
-0.020427713,
0.009883489,
-0.04804092,
-0.004659556,
0.026649632,
0.0050346605,
-0.018996121,
-0.015733745,
-0.057263672,
-0.023855275,
0.011679862,
0.026924938,
-0.0058330484,
-0.027792152,
0.015651153,
-0.009284699,
-0.005574949,
0.026911173,
0.013138984,
0.010516694,
-0.00044436127,
0.033669937,
0.023001825,
-0.033532284,
0.0026653074,
0.0029165242,
0.0009085102,
0.018431745,
-0.045645755,
0.026787285,
-0.024997795,
0.014081908,
-0.038019776,
0.0034929465,
-0.060126856,
-0.014563694,
-0.047049817,
0.03149502,
-0.0068585635,
-0.030393796,
-0.005829607,
-0.0058330484,
0.009243403,
0.031825386,
-0.019477908,
-0.018018786,
0.0036305995,
0.021226102,
0.016779909,
0.0032692603,
0.035294246,
-0.038487796,
-0.0090919845,
-0.02571359,
0.0059156404,
0.007536505,
0.028067458,
-0.033449695,
-0.018693285,
0.015967755,
0.018101377,
-0.003382824,
0.01530702,
0.0046217013,
0.004394574,
-0.076810405,
0.02184554,
-0.023015592,
-0.010723174,
-0.008851091,
0.011583505,
-0.040222224,
-0.0028322118,
0.0036753367,
-0.045673285,
-0.0067931786,
0.035239182,
-0.040717777,
-0.07378204,
-0.012450719,
-0.0034172372,
0.014136969,
0.041433573,
0.012836148,
-0.024323296,
0.035679672,
-0.000251647,
-0.06293498,
0.007949464,
-0.0792331,
-0.030283673,
0.03967161,
-0.030421326,
0.006005115,
0.008155944,
0.0023108507,
0.0040332344,
-0.02636056,
0.01847304,
-0.04360849,
0.011032892,
0.05715355,
-0.010076204,
-0.047104876,
0.05858514,
-0.035266712,
0.006862005,
0.0090919845,
0.010647465,
-0.049224734,
-0.029843183,
0.03686349,
0.063210286,
-0.010427219,
0.033972774,
-0.00843125,
-0.055116285,
-0.030586509,
-0.07025812,
-0.007440148,
0.0041399156,
0.004363602,
0.0023435433,
0.0038301963,
-0.025135448,
-0.012430071,
0.0022781582,
-0.0060360865,
0.047132406,
-0.024144346,
-0.041461103,
-0.019945929,
0.012072173,
0.059135754,
-0.035074,
-0.069487266,
-0.035844855,
0.015265725,
-0.02070302,
-0.0022213762,
0.030393796,
-0.019629326,
-0.039726675,
-0.04272751,
0.028067458,
-0.06381596,
-0.022946766,
-0.0028993175,
-0.015348316,
-0.014949122,
0.0195605,
0.018073848,
-0.037854593,
-0.025341928,
-0.02695247,
-0.011301316,
-0.033504754,
-0.03694608,
-0.003326042,
-0.0012784528,
-0.02879702,
0.0020303826,
0.0033914272,
-0.048976958,
0.016793674,
0.026085256,
0.03548696,
0.009381056,
-0.059466124,
-0.054262836,
-0.021680357,
-0.008314244,
0.00004713004,
0.030503917,
-0.0016578591,
0.045755878,
-0.0026859553,
0.045590695,
0.0027392958,
-0.008782265,
-0.025768653,
-0.034440797,
0.034798693,
-0.015004183,
0.015816336,
0.0031092386,
0.062219184,
0.030311204,
0.033917714,
-0.04633402,
-0.024942735,
-0.040359877,
-0.07625979,
0.03064157,
-0.027778387,
0.0063079516,
0.0037476046,
0.01689003,
0.0428101,
-0.052363224,
0.06018192,
0.026622102,
0.03645053,
-0.0071097803,
0.0049795993,
0.004291334,
0.024213172,
-0.012698495,
-0.02181801,
0.0035273596,
-0.023717621,
0.033917714,
-0.0012070453,
-0.044599593,
-0.02117104,
-0.010255153,
0.0263055,
0.01081953,
-0.011287551,
-0.030366264,
-0.056492817,
-0.02119857,
0.042534795,
0.018018786,
0.00788752,
0.023139479,
0.001849713,
-0.0105717555,
0.047930796,
-0.041240856,
-0.044186633,
-0.0448749,
0.047325123,
-0.010303332,
-0.042865165,
0.034055367,
0.009415469,
-0.016132938,
-0.024006695,
0.040414937,
-0.00036262977,
-0.04495749,
-0.005457944,
0.0057814284,
-0.029375164,
-0.011280668,
-0.03331204,
0.023511143,
0.0001533541,
0.0019013329,
0.02874196,
-0.0038026657,
-0.042562325,
0.012457602,
0.01636695,
-0.021349989,
-0.005712602,
-0.02583748,
-0.0011373584,
-0.036423,
-0.036698304,
0.033036735,
0.014604989,
0.027805919,
0.019381551,
0.025231807,
0.0708638,
-0.04369108,
0.0072061378,
-0.039121,
0.019973459,
-0.043470837,
0.03587239,
0.04539798,
0.037606817,
0.036808427,
-0.047930796,
-0.00721302,
0.047848202,
0.026759755,
-0.057869345,
-0.06354065,
0.026842346,
-0.014260857,
0.014508633,
0.013813484,
0.012670964,
-0.008802913,
-0.0065281964,
-0.013317933,
0.014040612,
0.025617234,
0.008451898,
-0.015871398,
-0.012085939,
-0.027227776,
0.0007123546,
-0.005482033,
-0.00669338,
-0.020042285,
-0.020482775,
0.010957183,
0.03380759,
-0.044627123,
-0.019257663,
0.05159237,
0.005647217,
-0.022602633,
0.031577613,
-0.015582327,
0.013717127,
-0.013262873,
0.03466104,
-0.034055367,
0.035789795,
0.04239714,
-0.04914214,
0.0067725307,
-0.004542551,
0.01771595,
0.007674158,
0.023332193,
0.013586357,
-0.020317592,
0.0067346757,
0.014233327,
0.009601301,
-0.019367786,
-0.02830147,
0.024006695,
-0.005805518,
0.01657343,
0.049362388,
0.004311982,
0.033559818,
0.02516298,
-0.0017860484,
-0.0057160435,
0.017592061,
-0.00065342186,
0.0144122755,
-0.0016569988,
-0.043773673,
-0.016215531,
0.01595399,
0.046691917,
0.05753898,
-0.006153092,
0.026277969,
0.02498403,
-0.029650468,
-0.027255306,
0.00020282318,
0.052335694,
0.073616855,
0.023015592,
-0.042066775,
-0.0013842736,
-0.00048092537,
-0.039396305,
-0.000022503049,
-0.031027,
-0.037221387,
0.019147541,
-0.06018192,
-0.023511143,
-0.023111949,
0.027048826,
-0.00089646556,
-0.00228332,
0.034771163,
0.051454715,
0.0027014413,
0.034550916,
-0.0038439617,
-0.052803714,
-0.040332347,
0.019450378,
0.022712754,
-0.022217205,
-0.013510648,
0.043415774,
0.008968097,
-0.004573523,
-0.01159727,
-0.047985855,
-0.022877939,
-0.0040917373,
0.019230133,
-0.0060773827,
0.018321622,
-0.055556774,
0.043057878,
-0.05128953,
0.031715266,
-0.0011950006,
0.024171878,
-0.009862842,
-0.013345464,
-0.009800898,
0.01577504,
0.07163465,
-0.017000154,
-0.017578296,
0.028659368,
0.015417143,
0.0073231426,
0.034385733,
0.005003689,
0.029815653,
0.04052506,
0.02243745,
0.027255306,
0.08760241,
0.038487796,
-0.031577613,
0.050959162,
0.012285535,
0.006294186,
-0.003209037,
0.013847898,
0.007825577,
0.0020011314,
0.020207468,
-0.021418815,
0.023552438,
0.011149898,
-0.03815743,
0.0020561926,
-0.013132102,
-0.005574949,
0.018183969,
-0.020785611,
-0.0010582079,
-0.005361587,
0.067394935,
0.007240551,
0.044709712,
-0.04674698,
0.033972774,
0.030834286,
0.01349,
0.014715112,
0.014302153,
0.00040198996,
0.011239372,
-0.0002869206,
0.03064157,
-0.0066383188,
0.020083582,
-0.037138797,
-0.026498213,
0.04498502,
0.016504603,
0.015857633,
0.03375253,
-0.0014195471,
-0.02715895,
-0.07306624,
0.06442163,
-0.037909653,
0.052087918,
0.02750308,
-0.060512286,
-0.037056204,
0.0063939844,
-0.01958803,
0.0066452012,
0.028659368,
0.051399652,
-0.0002858452,
0.06904677,
-0.004174329,
0.0058020763,
0.02739296,
0.0038405203,
-0.04410404,
-0.057208613,
0.009773367,
0.01616047,
-0.008789148,
-0.039809264,
-0.04055259,
0.028218877,
0.031742796,
0.0061462093,
-0.021239867,
-0.014109438,
0.023745153,
0.026264204,
0.009147046,
0.025878776,
-0.015816336,
0.000760103,
0.022822877,
0.0052445815,
-0.022836642,
-0.0049383035,
-0.03554202,
0.05580455,
0.007536505,
0.010310214,
0.0049176556,
-0.028714428,
-0.026388092,
0.013090806,
0.008541373,
-0.015596092,
0.029017266,
0.040635183,
-0.015114306,
0.038322613,
-0.0018720817,
0.0012509222,
0.052005325,
0.03903841,
0.03501894,
0.08110518,
0.05770416,
-0.03906594,
-0.009284699,
0.009325995,
0.025534643,
-0.014949122,
-0.007577801,
0.026167847,
0.023552438,
-0.012567724,
-0.035211653,
0.0061909463,
0.03499141,
-0.017757244,
-0.023992928,
-0.07157959,
0.020689255,
-0.06662408,
0.007591566,
-0.020166174,
0.0236075,
0.0012285536,
-0.02742049,
0.020551601,
-0.050491143,
0.22112587,
0.069487266,
0.0017619592,
0.04407651,
0.009043806,
0.07163465,
0.0030438532,
-0.0034189578,
-0.035404366,
-0.005626569,
0.022382388,
-0.012244239,
0.00718549,
-0.0016483954,
0.0039678495,
0.019711917,
-0.02835653,
0.032265875,
-0.0055921557,
-0.0028494184,
-0.041653816,
0.019808276,
-0.027668266,
0.0017963725,
0.0018325064,
0.038900755,
-0.0064559286,
-0.008334893,
0.006039528,
-0.008520724,
0.046223897,
0.0070960154,
0.041598756,
-0.011280668,
-0.00394376,
0.05120694,
-0.01149403,
-0.06772531,
-0.02099209,
-0.021418815,
-0.0017808864,
-0.04457206,
0.010674994,
-0.021694122,
-0.05167496,
0.06287992,
-0.017619591,
-0.044764776,
0.07102898,
-0.041653816,
0.017578296,
-0.065688044,
-0.043112937,
-0.0007373042,
-0.020964561,
-0.031715266,
-0.06315523,
-0.015485969,
0.02879702,
0.047104876,
0.04179147,
-0.01870705,
0.014618755,
-0.009208989,
-0.03105453,
0.020634193,
-0.014976653,
0.048756715,
-0.052335694,
-0.013758424,
0.047820672,
-0.005743574,
0.018610694,
-0.015761275,
0.0019099362,
0.012746673,
0.0006013718,
0.040304817,
0.031687733,
-0.10021143,
-0.0020475893,
-0.013228459,
-0.02161153,
-0.050573733,
0.040387407,
0.044159103,
-0.011817515,
0.002758223,
-0.036340408,
0.0136483,
0.017894898,
0.037248917,
-0.017000154,
-0.0040917373,
0.0129325045
] | AutoImageProcessor
For vision tasks, an image processor processes the image into the correct input format.
from transformers import AutoImageProcessor
image_processor = AutoImageProcessor.from_pretrained("google/vit-base-patch16-224")
AutoBackbone
A Swin backbone with multiple stages for outputting a feature map. |
[
0.04405174,
-0.03966904,
-0.030060818,
-0.006040258,
0.00281469,
-0.020410452,
-0.0062509645,
-0.03295452,
-0.010949723,
0.0457093,
0.015339445,
-0.034078293,
0.022433236,
-0.06551573,
0.016378932,
0.04396746,
-0.04584977,
-0.01653345,
-0.059503563,
0.011174477,
0.023908183,
-0.0030605143,
-0.056750327,
0.0025179447,
-0.016814392,
0.051749557,
0.043855082,
0.006524883,
0.08029329,
0.069842234,
-0.020410452,
-0.019033836,
-0.0014038332,
-0.01116043,
-0.06141397,
-0.044276495,
-0.0033221417,
-0.051047202,
-0.027026642,
-0.029976536,
0.009488824,
-0.021379704,
0.027349725,
-0.040343303,
-0.045259792,
0.010149037,
-0.0016092722,
-0.039949983,
0.00811923,
-0.025509553,
-0.021070667,
0.004596917,
-0.011104241,
0.019104071,
-0.03261739,
-0.015311351,
-0.028389212,
0.04604643,
-0.03899478,
-0.027981846,
0.054474697,
0.024329597,
0.0028620989,
-0.070179366,
0.00085511786,
0.029105615,
-0.01803649,
-0.013548438,
-0.0192024,
-0.028670155,
-0.054980393,
0.011307924,
-0.015774906,
-0.04711401,
-0.015493964,
0.021435892,
0.027237348,
0.009727624,
-0.009214905,
0.008393149,
0.022208482,
0.04357414,
0.025102187,
0.025565742,
-0.0018296362,
-0.016168226,
0.05017628,
-0.04452934,
-0.012761801,
-0.035820134,
-0.0072131916,
0.04450125,
-0.0031535765,
0.030594608,
-0.0010719702,
0.035370626,
-0.05649748,
0.06270631,
0.027714951,
0.00012828963,
0.016772252,
0.08012472,
-0.046608314,
0.05208669,
-0.053182364,
-0.033572596,
0.013267497,
-0.007220215,
-0.030397948,
-0.017011052,
0.01224908,
-0.0021123344,
-0.014594949,
-0.008196489,
0.014468525,
0.0113570895,
-0.018022444,
0.014033064,
-0.05028866,
0.02032617,
-0.040371396,
0.012909295,
0.006159658,
-0.026970454,
0.04051187,
-0.037758633,
-0.011385184,
0.03773054,
-0.019862615,
-0.030229382,
0.020017134,
0.023767712,
0.02115495,
0.047226388,
-0.010092849,
-0.050878637,
0.0018120774,
0.038573366,
-0.014299959,
-0.01819101,
-0.018092679,
0.013934734,
0.0003856371,
0.07338211,
-0.0011606426,
-0.0011474733,
0.025031952,
-0.072033584,
-0.02824874,
-0.0029955464,
-0.02105662,
0.03287024,
-0.005671521,
0.0030482232,
-0.033488315,
0.0056504505,
-0.005861157,
0.039809514,
-0.031858847,
0.0057944334,
-0.032505017,
-0.009172764,
-0.03565157,
0.048265874,
-0.008884798,
0.00045477523,
-0.03126887,
0.036213454,
-0.0017198932,
-0.0008041971,
-0.00046004288,
-0.0032940477,
-0.013218331,
0.021014478,
0.022798462,
0.026240004,
0.021140901,
0.006984926,
0.025888827,
0.0060226987,
0.0006523127,
-0.037955295,
0.01064771,
0.022447284,
0.0037014137,
-0.025762402,
-0.009102528,
0.035230156,
-0.013112978,
-0.017924113,
-0.006363341,
0.07416875,
-0.03573585,
0.004660129,
-0.031353153,
0.024385786,
-0.059054054,
0.0060332343,
0.003128994,
-0.034471612,
-0.014665184,
0.0379272,
-0.018710751,
0.018795034,
-0.0064686947,
0.020607112,
0.023795806,
0.020888055,
-0.028038034,
0.0020104928,
0.047872555,
-0.0029744757,
-0.017685313,
-0.0045477524,
0.029470839,
-0.01779769,
0.0065003005,
0.009594177,
-0.006412506,
0.0031377734,
0.013990923,
0.005264155,
0.022882745,
0.0206633,
0.039753325,
-0.007992806,
0.0020930197,
0.017657219,
0.008863728,
0.030650796,
-0.009039316,
0.043349385,
0.012649423,
0.009179787,
0.05616035,
-0.017572936,
0.031718377,
0.058660734,
0.025523601,
0.03261739,
0.03048223,
0.017713407,
0.030510325,
-0.03053842,
0.015241115,
-0.030173196,
-0.025706213,
-0.036101077,
0.013253449,
0.025748355,
-0.034471612,
0.039949983,
0.008421243,
-0.030959833,
-0.042057052,
-0.014875891,
0.0076065105,
0.02494767,
-0.03539872,
-0.025256706,
0.034780648,
-0.015198974,
0.031156493,
-0.047423046,
0.023458676,
0.09984686,
0.0067566605,
0.06096446,
-0.03573585,
-0.029498933,
-0.014918032,
-0.043770798,
-0.07652866,
0.01998904,
-0.038489085,
-0.03832052,
-0.029948441,
-0.020536877,
0.03787101,
-0.026099533,
-0.014833749,
0.0138574755,
-0.017867925,
0.02834707,
0.032224074,
-0.010282486,
-0.048209686,
0.048631098,
-0.011328995,
-0.010324626,
0.02557979,
-0.033291653,
-0.010823299,
-0.005622356,
0.007444969,
-0.0014143685,
0.009523941,
-0.01847195,
-0.022615848,
0.0065845833,
-0.033094995,
0.0041614566,
-0.040174738,
0.05090673,
0.0035205572,
0.055991784,
-0.01390664,
-0.017418418,
0.07225834,
0.053603776,
0.0027848398,
0.026127627,
0.023219874,
0.030313665,
-0.02913371,
0.07984378,
0.05031675,
0.00056056754,
-0.028122317,
-0.028908955,
-0.052255254,
-0.0016795077,
-0.0074871103,
-0.040034268,
0.029695593,
0.075011574,
-0.040624246,
-0.043293197,
-0.022643942,
-0.0284454,
0.0013634478,
-0.034696363,
-0.024624586,
0.031325057,
0.027995892,
0.037758633,
-0.0071394444,
0.013976876,
0.015522058,
0.018752893,
0.008835633,
-0.0063563175,
0.05037294,
0.04219752,
0.0025425272,
0.021871353,
0.011097218,
-0.03374116,
0.028656106,
-0.0056364033,
0.005467838,
0.016505355,
0.0019648396,
-0.019118119,
-0.023121545,
0.027869469,
-0.021773022,
0.047142103,
-0.023866042,
0.0023019703,
0.030313665,
0.015662529,
-0.009397517,
0.015831094,
-0.047872555,
0.0068198727,
-0.028908955,
0.008870751,
0.03334784,
-0.04938964,
0.055795126,
-0.005959487,
-0.031100305,
-0.009095505,
-0.048743475,
-0.046608314,
0.006307153,
0.031577908,
0.044697907,
0.0020298075,
0.013822357,
0.00600514,
0.0027549898,
0.05062579,
0.0238239,
-0.0068971314,
-0.027124971,
-0.004252763,
0.01862647,
0.018598376,
-0.0037646259,
-0.008407196,
-0.019216448,
-0.018219104,
-0.008695162,
-0.06967367,
0.058323607,
0.056216538,
0.042927973,
-0.029386556,
0.025130281,
-0.0005039401,
-0.0002069754,
0.025467413,
0.0009824198,
-0.0060226987,
-0.06821277,
0.026731653,
-0.020312123,
-0.00495863,
-0.014608996,
-0.03000463,
0.00350651,
0.019960945,
-0.0155642,
0.008540643,
-0.031100305,
-0.0050499365,
-0.017011052,
0.020087369,
-0.025902873,
-0.0252848,
-0.048069213,
0.039697137,
0.03964095,
-0.03472446,
0.018443856,
-0.044613626,
0.0515529,
0.039697137,
-0.018879317,
-0.027560432,
-0.018120773,
-0.029274179,
-0.045877866,
0.029386556,
0.0476478,
-0.05922262,
0.010535333,
-0.07860763,
0.010092849,
0.03034176,
0.0075573456,
-0.0427875,
-0.010774135,
-0.0109567465,
0.014496619,
0.02289679,
-0.026773794,
0.027054736,
-0.02378176,
-0.07579821,
0.014173535,
-0.069392726,
-0.045568828,
-0.03140934,
0.04216943,
-0.025804544,
0.021435892,
-0.026268099,
0.0063317353,
-0.035511095,
0.04725448,
-0.02829088,
-0.00074054615,
0.014566855,
0.011645055,
-0.031493623,
0.03048223,
0.005071007,
-0.008631949,
0.010022614,
0.0056188446,
-0.041129943,
0.037674353,
-0.007761029,
0.011897903,
0.018205056,
-0.024161031,
-0.0019560603,
-0.059840694,
0.02829088,
0.02980797,
-0.003271221,
-0.023528911,
-0.044754095,
-0.02864206,
0.00066987163,
-0.016350837,
-0.01939906,
0.03374116,
0.018907411,
0.018584328,
0.023304157,
-0.015297304,
-0.04551264,
-0.05028866,
0.036747243,
0.061245404,
-0.010942699,
0.047394954,
-0.030987928,
-0.0059173456,
-0.03028557,
0.012712635,
-0.003158844,
0.010191179,
-0.0065143476,
0.040090457,
0.009825954,
-0.03292643,
-0.014918032,
-0.0061420994,
0.022686085,
0.058604546,
-0.041972768,
0.009650365,
-0.03048223,
-0.016575592,
0.029920347,
-0.014398289,
-0.051524803,
-0.021730881,
0.034949213,
0.00059788016,
0.017432464,
0.014608996,
-0.013997946,
-0.03885431,
-0.031858847,
0.03199932,
-0.067819454,
0.0020895079,
-0.021323515,
-0.013422015,
0.031606,
0.016505355,
0.049024418,
-0.011743385,
0.0068374313,
-0.025832638,
0.02378176,
-0.03374116,
-0.020930195,
-0.010198203,
0.0058892514,
-0.027728997,
0.042956065,
-0.0011887368,
-0.028066128,
0.005120172,
0.024048654,
0.04304035,
0.013112978,
-0.06630237,
-0.033994008,
-0.04270322,
0.013667839,
0.005439744,
0.021744927,
-0.008484455,
0.036887713,
0.02864206,
0.030397948,
-0.03567966,
-0.02577645,
-0.04098947,
-0.006317688,
0.023739617,
-0.060739707,
-0.0046566175,
0.007676746,
0.006651307,
-0.0031377734,
0.0069568316,
-0.048406344,
-0.023613194,
-0.016126083,
-0.05017628,
0.041748013,
-0.036410112,
-0.015957518,
-0.029049426,
-0.0057733627,
0.022629896,
0.0076416284,
-0.010366768,
0.064223394,
-0.009158717,
-0.012839059,
-0.04731067,
0.01432103,
0.016280603,
-0.015128738,
-0.029555121,
0.018106727,
-0.06697663,
-0.0051904074,
-0.05427804,
-0.032645486,
0.008470408,
0.001375739,
0.030706985,
0.0020122486,
0.02757448,
-0.014637089,
0.0013467668,
-0.055317525,
0.018289339,
0.028768484,
0.040736623,
0.0122561045,
-0.027124971,
-0.0021421844,
0.0061772172,
-0.005864669,
-0.028417306,
-0.017910067,
0.035763945,
-0.0035293368,
-0.027714951,
0.02154827,
-0.01647726,
-0.020199746,
-0.055514183,
0.016322743,
-0.0034959747,
-0.023023214,
0.0042281803,
0.025045998,
0.0074379453,
-0.00006798582,
0.009748695,
0.025987156,
-0.011392207,
-0.037112467,
0.034555893,
-0.01755889,
-0.008645996,
0.010078802,
0.037899107,
-0.0066934484,
-0.001927966,
-0.048546817,
-0.008933962,
-0.034359235,
-0.015971566,
0.06607761,
-0.011223642,
0.009102528,
-0.019581674,
0.030566514,
0.04857491,
0.00788043,
0.018345527,
0.008737303,
-0.030145101,
-0.049642492,
-0.010205226,
-0.0037962317,
-0.021337561,
0.019216448,
-0.035342533,
0.03860146,
0.040259022,
0.03559538,
-0.013134049,
-0.065459535,
0.019946897,
-0.033544503,
0.022110153,
-0.0036592723,
0.0037084373,
0.00689362,
0.041579448,
-0.0039261677,
-0.006809337,
0.029527027,
-0.024708869,
-0.026043344,
-0.0066337483,
-0.043546043,
0.0379272,
-0.03919144,
-0.030566514,
-0.023866042,
-0.028768484,
-0.0070411144,
0.016954863,
0.0032483945,
-0.00063299795,
0.005183384,
0.02668951,
0.0040877094,
0.02645071,
-0.04478219,
-0.010380815,
0.012937389,
-0.009200858,
-0.018710751,
0.04551264,
0.024863387,
-0.0021105784,
0.0008362421,
0.0066583306,
-0.022826556,
-0.012698589,
0.0048322063,
0.031016022,
-0.036719147,
-0.014524713,
-0.0066232127,
0.027799234,
-0.033909727,
0.0027707927,
0.0066337483,
-0.04770399,
-0.009818931,
0.029555121,
0.013063814,
0.047057822,
0.033684973,
0.0282066,
-0.016294649,
0.04312463,
0.017320087,
0.020649252,
0.03466827,
0.01916026,
-0.051861934,
0.005260643,
-0.01979238,
0.007564369,
-0.025551695,
-0.0025881801,
0.030819362,
-0.007473063,
-0.0059805578,
0.030903645,
0.0047970884,
0.0054116496,
0.048546817,
0.028824672,
0.01866861,
-0.042815596,
0.0041333623,
-0.012979531,
-0.05888549,
-0.053013798,
0.022489425,
-0.0073396154,
0.023894137,
-0.034612082,
-0.035173967,
-0.03997808,
0.011462443,
-0.014398289,
0.012881201,
0.016772252,
0.03879812,
-0.017039146,
-0.012199916,
-0.06006545,
0.0320836,
0.007859359,
-0.01220694,
-0.0044985875,
0.028628012,
0.018219104,
0.007304498,
-0.0204245,
-0.047282577,
-0.013112978,
-0.014278889,
0.008175419,
-0.0130567895,
0.0035451397,
-0.028333023,
0.025312895,
-0.020101417,
-0.00069972174,
-0.00094115647,
0.020382358,
0.045006946,
-0.014847796,
0.028459447,
0.03261739,
0.033825442,
-0.031577908,
0.009242999,
0.025804544,
0.0048006,
-0.029527027,
0.038545273,
0.019694049,
0.039303817,
0.043293197,
0.020550923,
-0.011975163,
-0.0003726874,
0.019328825,
-0.029555121,
0.027026642,
0.03787101,
0.016224414,
0.0015917133,
-0.016814392,
0.037618164,
-0.0160418,
0.026928311,
-0.008084113,
0.008266725,
-0.0062053115,
0.0032887799,
-0.011434348,
-0.026773794,
0.004867324,
-0.002496874,
-0.05528943,
-0.017755548,
0.028164458,
0.02202587,
0.013660816,
-0.005418673,
-0.02348677,
0.04225371,
0.06916797,
-0.009271094,
0.028038034,
0.02668951,
0.017966256,
0.005355461,
0.017980302,
-0.008842656,
0.0007005997,
-0.023107497,
-0.04478219,
-0.011616961,
0.04225371,
-0.013169167,
-0.00064221636,
0.027251396,
-0.037561975,
-0.01169422,
-0.05922262,
0.031016022,
-0.05478373,
-0.0062860823,
0.011546725,
0.0054256967,
-0.047619708,
0.016378932,
-0.013169167,
0.011069124,
0.022840602,
0.042478465,
0.024273409,
0.038966686,
0.027195208,
-0.0028059105,
0.026998548,
0.014377219,
-0.022053964,
-0.020817818,
-0.008772421,
-0.026787842,
0.026731653,
-0.025790496,
-0.07557346,
0.055205148,
0.030426042,
-0.00029301396,
-0.032195978,
0.033432126,
0.022938933,
-0.030032724,
0.020045228,
0.024793152,
0.0031377734,
-0.00017547914,
-0.019244542,
0.015409681,
-0.038573366,
-0.014693278,
-0.032027412,
0.050401036,
-0.035904415,
-0.04930536,
0.008568738,
-0.059391186,
-0.008147324,
0.023360346,
-0.016224414,
0.023753665,
0.021421844,
0.032195978,
0.004200086,
0.023023214,
-0.020845912,
-0.024835292,
0.075348705,
0.0461869,
0.014763514,
0.053575683,
0.033628784,
0.0052571315,
-0.022152293,
0.008006853,
0.010106896,
0.04579358,
-0.026268099,
-0.017896019,
-0.0067250542,
-0.011462443,
-0.05888549,
0.078944765,
0.025874779,
-0.02494767,
-0.0384048,
-0.01623846,
0.001201028,
-0.044023648,
0.0035609426,
-0.03146553,
0.014875891,
-0.006784755,
-0.028585872,
0.034359235,
-0.049417738,
0.23217066,
0.040343303,
-0.0047163176,
0.027757091,
0.07152789,
0.07883239,
0.028361117,
0.00999452,
0.029779876,
-0.026956405,
0.015943471,
-0.05211478,
-0.025228612,
-0.001138694,
-0.013843428,
0.04823778,
-0.03899478,
0.04672069,
-0.0073536625,
-0.048855852,
-0.072876416,
0.030903645,
0.007430922,
0.061245404,
0.019314777,
0.00045916493,
-0.020888055,
-0.069842234,
0.02605739,
-0.047675896,
-0.010514263,
-0.031577908,
-0.011743385,
-0.017727455,
-0.031353153,
0.035876323,
-0.004382699,
-0.046804976,
-0.02241919,
0.035707757,
-0.05955975,
-0.027068783,
0.039949983,
-0.019370966,
0.047226388,
0.0413266,
-0.0578741,
-0.0062017995,
0.04079281,
-0.06293106,
0.054053284,
-0.04143898,
0.0015390366,
-0.04365842,
0.005183384,
-0.04006236,
-0.04270322,
-0.0525081,
0.011567796,
-0.012782871,
0.039360005,
0.010394862,
-0.029498933,
0.0058225277,
0.02534099,
0.038432896,
0.010914605,
0.023023214,
0.018612422,
-0.013049766,
0.05821123,
-0.013288567,
-0.011546725,
-0.0010526554,
0.005323855,
0.018289339,
-0.011153406,
0.0442484,
-0.008084113,
-0.026605228,
-0.044360776,
-0.018696705,
-0.025495507,
-0.010205226,
0.059840694,
0.059054054,
-0.030650796,
-0.04399555,
0.0030043258,
0.0056047975,
0.025228612,
0.023262016,
0.0641672,
-0.014594949,
0.01667392
] | Remember, architecture refers to the skeleton of the model and checkpoints are the weights for a given architecture. For example, BERT is an architecture, while google-bert/bert-base-uncased is a checkpoint. Model is a general term that can mean either architecture or checkpoint.
In this tutorial, learn to:
Load a pretrained tokenizer.
Load a pretrained image processor
Load a pretrained feature extractor.
Load a pretrained processor.
Load a pretrained model.
Load a model as a backbone. |
[
0.013699291,
-0.013768725,
-0.032439478,
-0.020621842,
-0.005558177,
0.010192884,
-0.009297187,
-0.0066170422,
-0.01792781,
0.032550573,
0.0074919085,
-0.019149845,
0.0041695004,
-0.03599449,
0.00821402,
0.047464956,
-0.033605967,
-0.052908566,
-0.06026855,
-0.004294481,
-0.016941851,
-0.0092763575,
-0.059379797,
-0.01544208,
-0.017275132,
0.010074846,
-0.0067420234,
0.012220351,
0.05821331,
0.044493187,
-0.016330833,
0.033050496,
-0.011894012,
0.009595753,
-0.04788156,
-0.07615501,
-0.03874407,
-0.022329913,
-0.055324864,
-0.010713638,
0.011095523,
0.017302906,
0.012928576,
-0.025426662,
-0.042771228,
-0.006644816,
0.006544137,
-0.025621077,
-0.038577426,
-0.009942922,
-0.015150458,
0.0080751525,
0.028037373,
0.038799614,
-0.026134888,
-0.035883393,
-0.024593456,
0.0052283662,
-0.038660746,
0.0016690153,
0.0046208203,
0.052380867,
-0.051853172,
-0.054824937,
-0.027704092,
0.017830603,
0.0047527445,
0.0012966765,
-0.016955737,
-0.02505172,
-0.07748814,
0.018761016,
-0.030939708,
-0.02174667,
-0.013956197,
0.016400266,
0.009241641,
-0.021080106,
-0.009540206,
0.040049423,
0.006821872,
0.0195109,
0.0070058717,
-0.0036661054,
-0.0028172769,
-0.012123144,
0.02985654,
-0.022968706,
-0.0048325933,
-0.033161588,
-0.035800073,
0.022802064,
-0.050686684,
0.02277429,
0.034411397,
0.02891224,
-0.014442233,
0.048242614,
-0.018733243,
-0.014358913,
0.005131159,
0.08765325,
-0.032356158,
0.03282831,
-0.02131618,
-0.041576967,
0.010602543,
-0.013567368,
-0.04902027,
0.028495638,
-0.019927504,
-0.015997551,
0.010227601,
-0.008373718,
0.01207454,
0.011755144,
0.014261705,
0.015289325,
-0.06276817,
-0.004981876,
-0.003659162,
0.0014103743,
-0.019052638,
-0.05043672,
0.027315263,
-0.035744525,
-0.04307674,
0.01168571,
-0.01887211,
-0.012914689,
0.048270386,
0.0076724365,
0.04546526,
0.04988125,
-0.010026243,
0.0010076582,
0.007957115,
0.0062559866,
-0.007366928,
-0.026662584,
-0.018761016,
0.011428806,
0.01878879,
0.07232226,
0.010199827,
-0.014692195,
0.0011066014,
-0.045354165,
-0.055269316,
0.020455202,
-0.06537888,
0.017441774,
0.018524941,
-0.002806862,
-0.058935422,
-0.011963446,
0.00017673075,
0.03763313,
-0.0108663915,
-0.0058011953,
-0.031328537,
-0.029495483,
-0.05649135,
0.042771228,
-0.004947159,
0.022204934,
-0.025412776,
-0.013803442,
0.022954818,
-0.037244298,
-0.0045270845,
-0.011491296,
0.015053251,
0.03413366,
0.039882783,
0.0029995407,
0.058879875,
0.03585562,
-0.011657937,
-0.018080564,
-0.0055755354,
-0.044715375,
-0.02221882,
0.03268944,
-0.015344873,
-0.011255221,
0.012248125,
0.016927963,
0.00092954515,
0.009442999,
0.0050443667,
0.04302119,
-0.0038188598,
0.004308368,
-0.06443458,
0.04016052,
-0.03246725,
-0.010331752,
-0.01634472,
0.015386533,
0.020816257,
0.06004636,
-0.02513504,
0.012157861,
-0.02394078,
0.018719357,
0.031411856,
0.027093073,
-0.035633434,
0.027245829,
0.034966867,
0.051214382,
-0.04318783,
-0.022746516,
0.0070510036,
-0.002963088,
-0.006096289,
0.01578925,
0.007734927,
0.015650382,
0.02281595,
0.006686476,
0.069211625,
-0.001413846,
0.024079647,
-0.022635423,
0.005926176,
0.03341155,
0.034800228,
0.023246441,
0.022538215,
0.009929035,
0.015608721,
0.04971461,
0.007991832,
0.012532803,
0.03230061,
0.049048048,
0.011421862,
-0.0021350898,
0.011914843,
0.027120847,
0.039243992,
0.0013852046,
-0.014136724,
0.0077627003,
-0.028606731,
-0.02702364,
-0.035077963,
0.013143821,
-0.025371116,
0.041104816,
0.019955277,
-0.029356616,
-0.04932578,
-0.021996632,
0.012553633,
0.014608874,
0.026482057,
-0.042326853,
0.016136419,
0.006249043,
0.015747588,
-0.0022184104,
0.04229908,
0.05632471,
0.00971379,
0.047409408,
-0.02187165,
-0.06860061,
0.0000925965,
-0.010602543,
-0.05490826,
0.03057865,
-0.016927963,
-0.039438404,
-0.024010213,
-0.032356158,
0.008845868,
-0.03174514,
0.01402563,
-0.0088528115,
-0.0622127,
0.048631445,
0.03938286,
-0.01540042,
-0.031967327,
0.019191505,
-0.0012949406,
0.012345332,
0.004061878,
-0.013789555,
-0.0077418704,
-0.017177925,
-0.014220045,
0.012991066,
0.004343085,
-0.012602237,
-0.03457804,
0.03852188,
0.006769797,
0.02509338,
0.019719202,
0.07160015,
-0.02123286,
0.03413366,
0.004367387,
-0.0009390923,
0.07509961,
0.044215452,
-0.034716908,
0.04665952,
0.01710849,
0.046826165,
-0.029245522,
0.050492268,
0.04718722,
0.0030498803,
-0.041243684,
-0.028967787,
-0.0622127,
0.014213102,
-0.03299495,
-0.04063267,
0.007505795,
0.07398867,
-0.052214228,
-0.025190588,
-0.026107114,
-0.043298926,
-0.014275592,
-0.05146434,
-0.0054609696,
0.04529862,
0.01398397,
0.02041354,
-0.051630985,
0.03282831,
-0.018885998,
0.0023729005,
-0.00556512,
-0.019621996,
0.05104774,
0.04910359,
0.0031783327,
-0.004322255,
0.049298007,
-0.02394078,
0.014831062,
-0.016400266,
0.021288408,
0.03654996,
0.016747436,
0.008741717,
-0.020566296,
0.005842855,
-0.032883853,
0.04018829,
0.023357535,
-0.005103385,
0.019191505,
0.02817624,
-0.016261399,
0.0104567325,
-0.023663044,
-0.019149845,
-0.037077658,
0.02067739,
0.036133356,
-0.036438864,
0.029467711,
0.02273263,
-0.0357723,
0.022829838,
-0.036188904,
-0.060712926,
0.011880126,
0.041493647,
0.037883088,
-0.030856386,
0.016553022,
-0.007825191,
-0.004450707,
0.028412316,
0.041965798,
0.03821637,
0.00052899885,
0.012255068,
0.0030359935,
0.0027895034,
0.021343954,
0.02453791,
-0.009859601,
0.025357228,
-0.039049577,
-0.04910359,
0.017830603,
0.01728902,
0.021260634,
-0.015858684,
0.044659827,
-0.026579265,
-0.008033493,
0.03641109,
0.0024145609,
0.0062108547,
-0.036966562,
0.024204627,
-0.013268801,
-0.012352276,
-0.011331598,
-0.019052638,
-0.016441926,
0.02363527,
-0.03513351,
0.0143728,
-0.027106961,
0.025287794,
-0.017136265,
0.013379896,
-0.044604283,
-0.035105735,
-0.05815776,
0.017233472,
0.021566143,
-0.0315785,
0.012491143,
-0.008102926,
0.021857765,
0.029023334,
-0.013539594,
-0.013803442,
0.00363486,
0.014247819,
-0.02552387,
0.04452096,
0.047631595,
-0.04490979,
0.013852046,
-0.053686224,
-0.0021402973,
-0.01018594,
-0.0047666314,
-0.037771996,
0.017261246,
-0.001583091,
-0.03135631,
0.0035619547,
0.020163579,
0.001639506,
0.0076238327,
-0.044048812,
0.028967787,
-0.022593763,
0.0029665597,
-0.03302272,
0.009415225,
-0.009762394,
0.017191812,
0.004152142,
-0.06571216,
-0.0045062546,
0.060324095,
-0.023954665,
-0.052353095,
-0.03435585,
0.017552868,
-0.022857612,
0.034328077,
0.0016473172,
0.0043535,
0.021885538,
0.026190434,
-0.025065606,
-0.009359678,
-0.037605353,
-0.0013834687,
0.018025018,
-0.011894012,
0.034855776,
-0.05310298,
-0.007554399,
0.00033458418,
-0.04057712,
-0.0070093432,
-0.07548844,
0.0015136572,
-0.01883045,
0.0027686732,
0.00722806,
0.04193802,
-0.019399807,
-0.0049541024,
-0.023996325,
0.010269261,
-0.048575897,
-0.046270695,
0.010088733,
0.048409253,
0.030162048,
0.04018829,
-0.042604588,
-0.015372646,
0.004700669,
-0.016483588,
0.017733395,
0.006141421,
-0.014358913,
-0.0021923727,
0.0002313014,
0.0050339513,
0.031634044,
-0.012150917,
0.008339001,
0.041160364,
-0.011081637,
-0.028148469,
-0.031161895,
-0.006912136,
0.028245674,
-0.02544055,
-0.061546132,
-0.044715375,
0.054769393,
-0.00062013074,
0.024760097,
0.06687865,
-0.011373258,
-0.030717518,
0.0022704857,
0.028578958,
-0.014136724,
0.008151529,
-0.027606884,
-0.034855776,
0.019719202,
0.026690358,
0.030106502,
-0.040938176,
-0.005631082,
-0.032800533,
0.029745445,
-0.041465875,
-0.034383625,
-0.0012220351,
-0.019955277,
-0.025662737,
0.021566143,
0.007037117,
-0.00047084806,
-0.011553787,
0.0040341048,
0.050075665,
0.049381327,
-0.0923192,
-0.011789861,
-0.0108386185,
-0.024468476,
-0.010303978,
0.029995408,
0.0022375046,
0.052658603,
-0.0069190795,
0.027954053,
-0.05804667,
-0.03213397,
-0.04829816,
-0.00034348038,
0.009324961,
-0.041882478,
-0.03641109,
-0.015081024,
0.037966408,
0.016636342,
0.042799003,
-0.034078114,
0.0015553174,
-0.035244603,
-0.0376609,
-0.0017410528,
-0.0080682095,
-0.0038084446,
-0.008679227,
0.023788024,
0.048159294,
-0.04665952,
0.0018434677,
0.051186606,
-0.007734927,
-0.0022687498,
-0.062101603,
0.028273448,
0.013497934,
0.013011897,
-0.02462123,
0.012956349,
-0.031467404,
0.0061136475,
-0.023926891,
-0.050158985,
-0.03568898,
0.00276173,
0.04593741,
-0.026732018,
0.018413847,
-0.006971155,
-0.024551796,
-0.04971461,
0.02273263,
0.05726901,
0.008429265,
0.017427888,
0.016178079,
-0.012366162,
0.028162355,
-0.06410129,
-0.033605967,
-0.017983358,
0.040938176,
-0.02355195,
-0.0072211167,
0.03127299,
0.0028832392,
-0.0240241,
-0.038577426,
0.037216526,
0.0016056569,
-0.04263236,
-0.010095676,
-0.016761323,
0.0021732782,
0.008672283,
-0.006186553,
0.02059407,
-0.03649441,
-0.034078114,
0.03246725,
-0.027356923,
-0.013650687,
0.028773373,
0.048798084,
-0.02209384,
0.019621996,
-0.028801145,
0.009088886,
-0.022454895,
-0.029412163,
0.06604544,
0.005901874,
0.033855926,
-0.019705316,
0.027509676,
0.06732302,
-0.032800533,
-0.022496555,
0.0031783327,
-0.014942156,
-0.05460275,
0.016566908,
0.011769031,
-0.010199827,
0.020941239,
-0.03568898,
0.022121612,
0.030550878,
0.053630676,
-0.0055130445,
-0.080487676,
0.041576967,
-0.001436412,
-0.0036313885,
0.019871958,
-0.0070857205,
-0.016622456,
0.04316006,
-0.0069294944,
0.030162048,
0.022552103,
-0.0021212029,
-0.05760229,
-0.035189055,
-0.05821331,
0.031384084,
-0.028328996,
-0.054769393,
-0.008929188,
-0.04838148,
-0.0014338082,
0.008776434,
-0.005568592,
-0.009477716,
0.014747742,
0.008776434,
-0.007950172,
0.013720121,
-0.016053097,
0.02041354,
0.008755604,
0.00973462,
-0.004870782,
0.024732323,
0.042910095,
-0.0574912,
-0.011831522,
0.017122379,
0.014178385,
-0.008998622,
-0.006877419,
0.03427253,
-0.02505172,
0.020996785,
-0.040354934,
0.01796947,
-0.04152142,
-0.030634198,
0.010220657,
-0.03032869,
-0.0030359935,
0.07398867,
0.034383625,
0.062879264,
0.024607344,
0.011907899,
0.003523766,
0.046465106,
0.020607956,
-0.0029995407,
0.036855467,
-0.03877184,
-0.0072905505,
-0.01801113,
0.024371268,
0.022107726,
-0.015497627,
0.031023027,
0.01981641,
-0.015344873,
-0.022552103,
0.015525401,
0.039049577,
0.040299386,
0.0353557,
-0.018816564,
0.017761169,
-0.0071794563,
-0.019288713,
-0.016927963,
-0.028606731,
-0.054075055,
0.0014824119,
-0.018455507,
-0.0021055804,
-0.040299386,
-0.03357819,
0.0025447493,
-0.002490938,
0.016455814,
0.009033339,
0.010081789,
0.02226048,
-0.020385768,
-0.00478399,
-0.051242154,
0.009408282,
0.020899577,
-0.024301834,
0.003176597,
0.030606424,
0.016608568,
0.021524481,
-0.030050954,
-0.035105735,
-0.015858684,
0.0040792366,
0.084264874,
-0.025162814,
0.0010198092,
-0.042215757,
0.015705928,
-0.03868852,
0.017344566,
-0.010762241,
0.017052945,
0.007172513,
0.0077488134,
0.032967176,
0.026315415,
0.041493647,
-0.006464288,
-0.013359066,
0.015289325,
-0.0048221783,
-0.012671671,
0.01690019,
0.0028433145,
0.03166182,
0.06326809,
0.031606272,
-0.010713638,
0.058824327,
0.031522952,
-0.047770463,
-0.0080682095,
0.014608874,
0.013727065,
-0.0063705523,
-0.0048256502,
0.0052561397,
-0.029523257,
0.019899732,
0.018885998,
0.026204322,
-0.0052040643,
0.0071447394,
-0.00060450815,
-0.030217595,
-0.0013730536,
0.035105735,
-0.003332823,
0.022024406,
0.016455814,
0.046826165,
0.03168959,
0.032272838,
-0.025746059,
0.037994184,
0.05563037,
0.0034161436,
-0.0005424517,
0.011414919,
0.03285608,
0.014470006,
-0.0014893553,
-0.042576816,
-0.0046867826,
-0.014192271,
-0.014997704,
-0.077932514,
0.046381786,
0.003714709,
-0.03418921,
0.025940472,
-0.0041139536,
-0.025496095,
-0.056824632,
0.026801452,
-0.042493492,
0.0060581,
0.01113024,
-0.007964059,
-0.057880025,
0.026398735,
-0.025593303,
0.022482669,
0.00014147139,
0.05743565,
0.03413366,
0.044882018,
0.022441009,
0.009463829,
0.03355042,
0.019288713,
-0.011921786,
-0.051075514,
0.016164191,
-0.03538347,
-0.016997397,
-0.05301966,
-0.07365539,
0.026107114,
0.027356923,
-0.022565989,
-0.025871038,
0.013782612,
0.002759994,
0.012859142,
-0.0029682955,
0.06932272,
0.002523919,
-0.023301987,
-0.03355042,
0.04193802,
-0.045270845,
-0.00008787717,
-0.032161742,
0.046909485,
-0.032883853,
-0.04307674,
0.021885538,
-0.037910864,
0.00079067756,
0.012581407,
-0.0063705523,
0.0021350898,
0.021996632,
0.018372187,
0.027523564,
0.026718132,
-0.02702364,
-0.03916067,
0.06565662,
0.03779977,
0.030717518,
0.09159709,
0.0423824,
-0.008637566,
-0.02603768,
0.0100609595,
0.0058116103,
-0.011414919,
-0.028690051,
-0.025468323,
0.0050131213,
0.0021923727,
-0.07515516,
0.01544208,
0.045326393,
0.004318783,
-0.017538982,
-0.03779977,
0.042271305,
-0.0649345,
0.00069737586,
-0.008359831,
0.026926434,
-0.004287538,
-0.04954797,
0.028662277,
-0.04829816,
0.22640978,
0.025898812,
-0.012380049,
0.033050496,
0.03641109,
0.059768625,
0.007873794,
-0.009373565,
0.023426969,
-0.007471078,
0.011394089,
-0.051103286,
0.0058636856,
0.01445612,
-0.044159904,
0.053714,
-0.04663175,
0.035077963,
-0.025982132,
-0.012220351,
-0.05315853,
0.047631595,
0.008394548,
0.07132241,
0.009484659,
-0.010178997,
-0.026787566,
-0.048187066,
0.0043500285,
-0.020357994,
0.0029353146,
-0.0042667077,
0.026815338,
-0.001829581,
-0.014525554,
0.032717213,
0.02149671,
-0.05860214,
-0.034855776,
0.032411706,
-0.019163733,
-0.06510115,
0.03646664,
-0.014914383,
-0.003209578,
-0.00009178282,
-0.047214992,
0.028079035,
0.042771228,
-0.047520503,
0.052297547,
-0.0242324,
0.002683617,
-0.054380562,
-0.024343494,
0.001773166,
-0.07832134,
-0.043437794,
-0.039049577,
0.014594988,
0.024593456,
0.0040896516,
0.00035281057,
0.021552255,
0.030162048,
0.044132132,
0.01595589,
0.057380103,
-0.042604588,
0.01392148,
0.052825246,
-0.010470619,
0.012060653,
-0.047159445,
0.014032573,
0.03057865,
0.00038015013,
0.05099219,
0.002581202,
-0.050075665,
0.011998163,
-0.02638485,
-0.0069051925,
-0.03749426,
0.031217443,
0.079376735,
-0.008970848,
-0.0016316946,
0.007894625,
0.02985654,
-0.0025621078,
0.017247358,
0.028106807,
-0.012845255,
0.0033831627
] | Load a pretrained tokenizer.
Load a pretrained image processor
Load a pretrained feature extractor.
Load a pretrained processor.
Load a pretrained model.
Load a model as a backbone.
AutoTokenizer
Nearly every NLP task begins with a tokenizer. A tokenizer converts your input into a format that can be processed by the model.
Load a tokenizer with [AutoTokenizer.from_pretrained]:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-uncased") |