vector
sequencelengths 1.02k
1.02k
| text
stringlengths 2
11.8k
|
---|---|
[
0.017450048,
0.027976139,
-0.013819876,
-0.013910981,
0.009054402,
-0.01927214,
-0.04538414,
-0.01614655,
0.011808566,
0.060213175,
-0.023126569,
0.004418576,
-0.00076212554,
-0.06727729,
-0.0045166886,
0.0008659323,
-0.018347077,
-0.08151765,
-0.044459075,
-0.037002508,
-0.00041544603,
0.007898074,
-0.05115877,
-0.025705531,
-0.008283516,
0.019412301,
0.015543857,
-0.014352488,
0.060269237,
0.024388017,
-0.021416605,
0.009124482,
0.008507774,
-0.040506534,
-0.008542814,
-0.04426285,
0.01589426,
-0.05598031,
-0.012789693,
0.000117275355,
0.014352488,
0.010231755,
0.004390544,
-0.029602008,
-0.065090775,
0.0028645408,
0.017239805,
-0.008185403,
-0.026266174,
0.0069519863,
-0.006619104,
-0.025761595,
0.039749663,
0.01672121,
-0.02455621,
-0.06335278,
0.00769484,
0.0121589685,
-0.010729326,
0.0013306537,
0.017141692,
0.046533458,
-0.033890933,
-0.04260895,
-0.025733562,
0.023575084,
-0.007379478,
-0.01920206,
-0.02092604,
-0.028382607,
-0.090544015,
-0.013091039,
-0.029938394,
-0.02682682,
-0.018935753,
0.009706151,
-0.0070571075,
-0.038628377,
-0.014969197,
0.031087713,
0.005904283,
0.019678608,
-0.01880961,
0.010925552,
0.007912089,
-0.010701294,
0.015165422,
-0.029349718,
0.036553994,
-0.067501545,
-0.031227876,
0.041880112,
-0.021781022,
0.019832784,
0.033414386,
0.018739529,
-0.025579385,
0.050934516,
0.019370252,
0.015249519,
-0.0037212751,
0.062680006,
-0.03562893,
0.06082988,
0.014408553,
-0.0012588211,
0.011367058,
0.011997784,
-0.0414316,
-0.0028067245,
0.013875941,
-0.044459075,
0.020000977,
-0.011745493,
-0.0202813,
0.02887317,
0.011114769,
-0.008360605,
-0.034031097,
0.020575637,
-0.027934091,
-0.00010172624,
-0.00037449272,
-0.038628377,
0.028130317,
-0.06553929,
0.019818768,
0.0036476904,
-0.038600344,
-0.00467437,
0.024135727,
0.025088822,
0.033918966,
0.028340558,
-0.0045902734,
0.004281919,
-0.018220933,
0.0069800187,
0.0067767855,
0.016412856,
-0.018991819,
-0.027457543,
0.025593402,
0.06312852,
-0.0072253007,
0.01341341,
0.0107153095,
-0.009895368,
-0.016510967,
0.041263405,
-0.03599335,
0.025271032,
0.0074425503,
0.023140585,
-0.040366374,
-0.0041662864,
0.012025815,
0.036722187,
-0.038768537,
0.035376642,
0.012698588,
-0.020267284,
-0.008767072,
0.04984126,
0.0005812302,
0.051831543,
-0.017590208,
-0.012025815,
0.010203722,
-0.039385248,
0.025186935,
0.0031028145,
0.047094103,
0.0049967403,
0.0125864595,
0.0144225685,
0.046112977,
0.021767005,
-0.009874344,
-0.013924997,
-0.005473288,
-0.038880665,
-0.009790247,
0.01801069,
-0.013728771,
0.011682421,
-0.0046183057,
0.021388572,
0.0037738355,
-0.022804197,
0.025088822,
0.05505525,
-0.03666612,
-0.011409107,
-0.023785325,
0.0198468,
-0.013567586,
0.021584798,
-0.016482936,
0.0198468,
-0.03526451,
0.055027217,
0.0001655652,
0.0051754457,
-0.03624564,
0.038207892,
0.044459075,
0.060605623,
-0.02675674,
0.027107142,
0.011170833,
0.026294207,
-0.047598682,
-0.004281919,
0.005063317,
-0.013665699,
0.014520681,
0.011500211,
-0.025929788,
0.05026174,
0.015557873,
0.023056488,
0.045496266,
-0.012264089,
-0.0020043026,
-0.023771308,
0.020575637,
0.03285374,
0.047514584,
0.055812117,
0.011093745,
0.008325565,
0.010624206,
0.009201571,
0.008732031,
0.034143224,
0.024976693,
0.052055802,
0.004141758,
0.0061355485,
0.0011221642,
0.0050212685,
0.039273117,
0.016595064,
-0.025635451,
-0.007148212,
-0.014941164,
-0.017379966,
-0.03675022,
-0.010056553,
-0.033190127,
0.050457966,
-0.013707748,
0.0095029175,
-0.04297337,
-0.060998075,
-0.0019640063,
0.016749242,
-0.009558981,
-0.046953943,
0.023378858,
0.04246879,
0.03139607,
0.037955604,
0.039749663,
0.02707911,
0.00247209,
0.02621011,
-0.036946446,
-0.025004726,
-0.029237589,
-0.07047296,
-0.050457966,
0.026980996,
-0.0314241,
-0.050962545,
-0.04678575,
-0.049028326,
-0.0023687212,
-0.013560578,
-0.00064342667,
-0.027527625,
-0.03955344,
0.028845137,
0.0154737765,
0.0027331398,
-0.007435542,
0.03980573,
0.007870041,
0.051439095,
0.0161045,
-0.019131979,
-0.017758401,
-0.015754098,
-0.011773526,
0.0006530628,
-0.008802112,
0.012418266,
-0.03091952,
-0.012306137,
-0.008689983,
-0.0281163,
-0.01028081,
0.051130738,
-0.035909254,
0.013953029,
-0.013742788,
-0.022173474,
0.047010005,
0.066492386,
-0.05446657,
0.02606995,
-0.0004940676,
0.031143779,
-0.0033445924,
0.05160729,
0.048159327,
-0.005199974,
-0.02614003,
0.00043384216,
-0.020982105,
-0.014366505,
-0.01208188,
-0.04283321,
-0.0016600321,
0.07473385,
-0.014177287,
-0.040674727,
-0.017197756,
-0.049785193,
-0.03610548,
-0.017450048,
-0.010995632,
0.039189022,
0.016637113,
0.011710453,
-0.04785097,
0.03498419,
0.0019131979,
0.025214966,
0.017183742,
-0.050990578,
-0.0005409339,
0.030499037,
0.0015803155,
-0.0009758711,
0.039413277,
-0.051579256,
0.0128807975,
-0.021276442,
0.057409953,
0.04283321,
-0.0004949436,
0.013287265,
0.0181929,
0.01409319,
-0.040758826,
0.024135727,
0.011086737,
0.04605691,
0.054354444,
-0.00046910142,
0.0227201,
0.0069414745,
-0.029545942,
-0.02682682,
-0.008591871,
-0.000052724634,
0.06004498,
-0.020898009,
0.03952541,
0.029966425,
-0.02926562,
0.029573975,
-0.04998142,
-0.053625606,
0.049308646,
0.012950879,
0.05634473,
-0.051046643,
0.02887317,
0.008332573,
-0.016595064,
-0.009594021,
0.026448384,
0.031003617,
-0.014366505,
0.009657094,
-0.0009942672,
0.011023664,
-0.0009460869,
-0.008241468,
-0.03801167,
-0.025733562,
-0.030050522,
-0.03215294,
0.04084292,
0.019033866,
0.019117963,
-0.012537403,
0.047514584,
0.014037126,
0.03077936,
0.050962545,
-0.0038824603,
-0.042777143,
-0.029994458,
0.029994458,
-0.01628671,
0.014366505,
-0.005326119,
-0.023238696,
-0.012677564,
0.017183742,
-0.009341732,
0.044206787,
-0.026686657,
-0.005606441,
-0.021052185,
0.025341112,
-0.035684995,
-0.03534861,
-0.046084944,
0.023056488,
0.020813912,
-0.031592295,
-0.018641416,
-0.037422992,
0.0059358194,
0.022355683,
-0.049392745,
-0.011332018,
-0.012278105,
-0.008802112,
-0.0060829883,
0.046505425,
0.021248411,
0.010035529,
0.017407998,
-0.042076338,
-0.029545942,
0.005911291,
-0.010666254,
-0.042272564,
0.00000738446,
0.014969197,
-0.01294387,
0.02937775,
0.018347077,
0.00995844,
-0.010764366,
-0.027457543,
0.025186935,
-0.031984743,
0.0219352,
-0.0025859708,
-0.0018378614,
-0.016693177,
0.031760488,
0.01326624,
-0.040114082,
-0.01132501,
0.06525897,
-0.014037126,
-0.06901529,
-0.00023455071,
0.021458652,
-0.017478079,
-0.00036179062,
0.0052840705,
0.050934516,
-0.020141138,
0.008907232,
-0.01887969,
-0.011374067,
-0.02671469,
-0.02836859,
-0.05166335,
-0.015754098,
0.009741191,
0.0016109757,
0.0025947308,
0.018893706,
-0.055671956,
-0.028494734,
-0.0405626,
0.00006252495,
-0.008409661,
-0.003465481,
-0.016482936,
0.018641416,
-0.00022228662,
0.0067347367,
-0.05404609,
-0.008003194,
-0.014156263,
0.0028137325,
0.024121711,
0.055363603,
-0.016230647,
0.013995077,
-0.011647381,
-0.022636004,
0.031900648,
-0.040898986,
0.010596173,
0.0067908014,
-0.022664037,
0.00070387113,
-0.0314241,
-0.018865673,
0.035376642,
0.015908275,
0.0069204504,
0.05303693,
0.0118646305,
-0.017323902,
-0.020645717,
-0.06643632,
0.032993905,
-0.04541217,
-0.05087845,
-0.019664591,
0.05101861,
-0.003724779,
0.017407998,
0.03523648,
-0.013819876,
-0.022173474,
-0.024261873,
0.05673718,
-0.0380397,
-0.015978357,
-0.04530004,
-0.025537338,
0.010014505,
0.03131197,
-0.007856025,
-0.06823038,
-0.040898986,
-0.052616447,
-0.0052980864,
-0.014899116,
-0.043702208,
0.002487858,
0.012067864,
-0.025467258,
0.018739529,
-0.017506111,
-0.019286156,
0.017982658,
-0.009012354,
0.052588414,
0.050149612,
-0.049392745,
0.027177222,
-0.02531308,
0.00010523026,
0.03689038,
-0.0062722056,
-0.0027699322,
0.030723296,
-0.04684181,
0.019440332,
-0.052980866,
-0.015670002,
-0.040170148,
-0.03675022,
0.021977248,
-0.035460737,
-0.06817432,
-0.014506665,
0.064810455,
0.028817106,
0.048495714,
-0.041655853,
-0.023505002,
-0.063801296,
-0.029489879,
0.00014738807,
0.005329623,
-0.009075426,
-0.01147218,
0.00008404186,
0.033638645,
-0.06957593,
0.027345415,
0.04538414,
0.030555103,
-0.0076457835,
-0.020827927,
0.0074845986,
-0.0093697645,
0.00049932365,
0.010399948,
-0.011808566,
-0.04487956,
0.029798232,
-0.029742168,
-0.07148212,
-0.019888848,
0.024710387,
0.07697643,
-0.055503763,
-0.0024650819,
0.010743342,
-0.013616643,
-0.010070569,
0.008886209,
0.00604094,
0.007428534,
0.018529287,
0.026686657,
0.01344845,
0.01121989,
-0.0562326,
-0.05415822,
0.015978357,
0.046000846,
0.010540108,
-0.03178852,
0.033638645,
0.025915772,
-0.035684995,
-0.0380397,
0.022313634,
-0.0037948596,
-0.024584243,
-0.010918544,
-0.00085060217,
0.0014129983,
-0.02606995,
-0.044711366,
0.01100264,
-0.042328626,
-0.0013508018,
0.034956157,
0.033498485,
-0.015053294,
0.04729033,
0.037703313,
-0.01894977,
0.016875386,
-0.028704977,
0.0152775515,
-0.03711464,
0.015053294,
0.021612829,
0.022411747,
0.017492095,
0.034675837,
0.00014267954,
0.05673718,
-0.010434988,
0.0017187245,
-0.005459272,
-0.010673261,
-0.06772581,
0.005140405,
0.010806414,
-0.019075915,
0.020379413,
-0.058194853,
0.002610499,
0.025411192,
0.037086606,
0.0073304214,
-0.08308745,
0.015754098,
-0.01927214,
-0.023070503,
-0.030695263,
-0.0048670913,
0.00080329785,
0.01456273,
-0.04157176,
-0.029994458,
0.024976693,
-0.019622542,
-0.007400502,
-0.00088651845,
-0.047542617,
0.0067978096,
0.0052840705,
-0.04148766,
-0.010827439,
-0.0314241,
-0.02721927,
0.0010231754,
-0.0006219645,
-0.0044851527,
-0.014716907,
0.014941164,
-0.023617132,
0.02513087,
0.010799406,
-0.0016784281,
-0.015347632,
0.014786988,
-0.017982658,
0.036077447,
0.04426285,
-0.026196094,
0.020617686,
0.025551355,
0.0115702925,
-0.024374,
0.032405227,
0.04070276,
-0.02653248,
0.021122266,
-0.036301702,
0.040534567,
-0.02365918,
-0.028957266,
-0.012607483,
-0.0066786725,
-0.010547116,
0.04092702,
0.021192346,
0.07047296,
0.032629486,
0.042496823,
-0.025635451,
0.017604224,
0.008725024,
-0.0021759998,
0.033918966,
0.0154737765,
-0.0075897193,
-0.06419375,
0.011465171,
-0.0050212685,
-0.04361811,
-0.004902132,
0.0137007395,
-0.034928124,
-0.04426285,
0.05620457,
0.065090775,
0.048748,
0.006037436,
-0.02455621,
-0.012088888,
0.014317448,
-0.012109912,
-0.009425828,
-0.042272564,
-0.05129893,
0.025971837,
-0.008696991,
0.018529287,
-0.029349718,
-0.0077999607,
0.024247857,
-0.0030607663,
0.030807393,
0.022874279,
0.044487108,
0.010266795,
0.0044466085,
-0.030386908,
-0.029041363,
-0.013616643,
0.034591738,
-0.044431042,
-0.01894977,
0.03234916,
0.04720623,
0.012894814,
-0.050345838,
-0.042665016,
0.0018150852,
0.024584243,
0.010406956,
-0.005942827,
0.005070325,
-0.021038169,
0.01876756,
-0.03279768,
-0.0069975387,
0.00018866987,
0.017015548,
-0.0016109757,
0.0065875677,
-0.0022688564,
0.05746602,
0.059204016,
-0.007715864,
-0.032124907,
0.011444147,
0.042328626,
-0.01837511,
0.0037212751,
-0.0073584537,
0.027499592,
0.04092702,
0.033274226,
-0.01660908,
0.056765214,
0.025691515,
-0.0079261055,
-0.0020270788,
0.0061040125,
0.017954627,
-0.035432704,
-0.009881352,
-0.00902637,
0.013252225,
0.0021689918,
0.014730923,
0.015053294,
0.011682421,
-0.024023598,
0.0024545698,
-0.028606864,
0.002608747,
0.032489326,
-0.05853124,
-0.012144952,
0.027639752,
-0.009229603,
0.016777273,
0.025551355,
-0.0152775515,
0.0752945,
0.060773816,
0.0356009,
0.011296978,
-0.0153196,
0.00578865,
-0.0018326053,
0.0014970949,
-0.029097427,
0.00631075,
-0.008542814,
0.031003617,
-0.04493562,
0.016272694,
-0.025971837,
-0.031956714,
0.04196421,
-0.014478633,
-0.026616577,
-0.0686789,
0.03829199,
-0.04274911,
0.022215521,
0.01409319,
-0.035656963,
-0.06671665,
0.028592847,
-0.047094103,
0.049504872,
0.030863456,
0.048635874,
0.015740082,
0.1074194,
0.02843867,
-0.016903419,
0.052756608,
0.045692492,
0.004124238,
-0.052588414,
-0.017548159,
-0.004537713,
-0.005382183,
-0.029938394,
-0.044683333,
0.008612894,
0.02232765,
-0.015305583,
-0.029770201,
0.008528798,
-0.015740082,
0.007877049,
0.0100915935,
0.058082726,
-0.027611721,
0.0040331334,
-0.0039175004,
0.009453861,
-0.054662798,
-0.015655985,
-0.013798852,
0.058587305,
-0.0017493847,
-0.06307246,
-0.007295381,
-0.04479546,
-0.0404785,
0.0112409135,
-0.016314743,
-0.010378923,
0.030162651,
0.019174028,
0.052700542,
0.0052770623,
-0.0065525277,
-0.025579385,
0.044459075,
0.011822582,
0.0021462156,
0.09990677,
0.053401347,
-0.008353597,
0.01545976,
-0.011619348,
0.01438052,
-0.019426318,
-0.012824733,
-0.01449265,
-0.029826265,
-0.013532546,
-0.052868735,
-0.040758826,
0.075126305,
0.038235925,
0.0022793685,
-0.054354444,
0.036273673,
-0.05124287,
0.013658691,
-0.013203168,
0.007246325,
0.010119625,
-0.002752412,
0.03792757,
-0.035432704,
0.23053685,
0.06251182,
0.04185208,
0.034815997,
0.00356009,
0.092954785,
0.0019464862,
-0.01858535,
-0.023953518,
-0.012397242,
0.021360539,
-0.0372548,
-0.035152383,
0.01628671,
-0.011906679,
0.04628117,
-0.013364353,
-0.015067309,
-0.008500766,
-0.009706151,
-0.029966425,
0.04515988,
0.025481272,
0.01233417,
-0.012915838,
0.058811564,
0.009790247,
0.0065315035,
-0.021248411,
-0.046000846,
0.0025439225,
-0.02513087,
-0.0015286311,
-0.0004800515,
-0.019594511,
0.034675837,
0.020813912,
-0.06795006,
-0.0037703314,
0.01424036,
0.0058727465,
-0.04375827,
-0.004513185,
0.009362756,
-0.040730793,
0.02294436,
0.0102878185,
0.049504872,
0.0834799,
-0.08297532,
0.043926463,
-0.052504316,
0.0013087535,
-0.035909254,
-0.056260634,
-0.01646892,
-0.0628482,
-0.019622542,
0.0047444506,
0.02030933,
-0.0065244953,
0.020968089,
0.0077438965,
-0.003728283,
-0.015235503,
0.02621011,
0.031984743,
0.02606995,
-0.03585319,
0.008682976,
-0.00384742,
-0.020841943,
0.014941164,
-0.016300727,
-0.012796701,
0.044627268,
-0.0028084763,
0.04252485,
0.0054522636,
-0.03293784,
-0.00070781313,
0.0066996966,
-0.028564816,
-0.008739039,
0.024458097,
0.064810455,
-0.008689983,
0.0069765146,
-0.013742788,
0.033358324,
0.028634897,
0.019986961,
-0.007968154,
0.0003006892,
0.0012264089
] | Text, use a Tokenizer to convert text into a sequence of tokens, create a numerical representation of the tokens, and assemble them into tensors.
Speech and audio, use a Feature extractor to extract sequential features from audio waveforms and convert them into tensors.
Image inputs use a ImageProcessor to convert images into tensors.
Multimodal inputs, use a Processor to combine a tokenizer and a feature extractor or image processor. |
[
0.02303682,
-0.00828121,
-0.0087192245,
-0.006159578,
-0.034712642,
0.010395998,
0.008397558,
0.025897603,
0.003938708,
0.06800174,
-0.015864335,
-0.0070492947,
0.01496093,
-0.023091573,
-0.008869792,
0.015919087,
0.014317596,
-0.0591867,
-0.06422386,
-0.028744696,
0.015878024,
-0.019313699,
-0.06876826,
-0.023625404,
-0.024296112,
0.0034425196,
0.025226893,
-0.0042672185,
0.042323142,
0.038736902,
-0.035041153,
0.00995114,
0.005201421,
-0.008541281,
-0.031153776,
-0.057325136,
0.010361779,
-0.03126328,
-0.041912504,
-0.034192502,
0.03265945,
0.0024056574,
-0.016357102,
-0.019163132,
-0.040954348,
0.00063777296,
-0.032604698,
-0.027293773,
-0.026801007,
-0.013722171,
0.019560082,
-0.008671317,
0.019327387,
-0.004968726,
-0.045580875,
-0.016603485,
-0.008459154,
0.006029542,
-0.035643425,
-0.010204367,
-0.0020429266,
0.04454059,
-0.03246782,
-0.057215635,
-0.00871238,
0.01229178,
0.034356758,
0.020545615,
0.012031709,
-0.015987527,
-0.06323833,
0.023214765,
-0.030907393,
-0.041228108,
-0.045991514,
0.0018410294,
0.02551434,
-0.016959371,
-0.009855324,
0.04007832,
-0.00008057712,
0.033781864,
0.004671013,
-0.0015963572,
-0.005529932,
-0.039530803,
0.010970892,
0.00905458,
0.01151841,
-0.020956252,
-0.025678596,
0.020997316,
-0.04527974,
0.0028402498,
0.024036042,
0.047716197,
-0.017383697,
0.017192066,
0.023365332,
-0.012168588,
0.025637532,
0.055052936,
-0.0070150746,
0.03706697,
-0.037313353,
-0.005533354,
0.0026879713,
-0.021134196,
-0.045882013,
-0.020928876,
-0.0048147365,
0.006358053,
-0.014030149,
0.039503425,
-0.015330505,
0.025774412,
0.045115486,
-0.025021574,
-0.029155334,
-0.023734907,
0.025185829,
0.02725271,
-0.0005915761,
-0.041967258,
0.0333986,
-0.051001303,
-0.013544227,
0.053656768,
-0.023269515,
-0.0076652523,
0.0023953915,
0.010354935,
0.028224554,
0.046922296,
0.0059405705,
0.012127524,
-0.007802132,
0.00831543,
0.0020275277,
0.010786105,
0.007138266,
-0.019820152,
-0.011580006,
0.060993508,
-0.0083907135,
-0.030031364,
0.02477519,
-0.07309366,
-0.01930001,
0.031482287,
-0.068494506,
0.036464702,
0.010546566,
-0.01069029,
-0.03140016,
-0.016370788,
0.03331647,
0.02611661,
-0.022188168,
0.016904619,
0.006737894,
-0.020737246,
-0.043226548,
0.054478046,
-0.0008093001,
0.047031797,
-0.009697913,
0.020326607,
0.005591528,
-0.063840605,
0.006039808,
-0.00047736728,
-0.010526034,
0.03813463,
0.03775137,
0.050207403,
0.056613363,
0.015659016,
-0.012018021,
-0.041228108,
-0.042460024,
-0.04013307,
-0.05617535,
0.027375901,
0.004759985,
-0.0059919003,
0.021873346,
0.0076720966,
0.008199083,
0.00557784,
0.024761504,
0.01643923,
-0.03367236,
0.016808804,
-0.011860609,
0.04073534,
-0.03468527,
0.020258168,
0.010998269,
0.0057318294,
-0.00168704,
0.068385005,
-0.009075112,
0.01463242,
-0.002510028,
0.026883135,
0.002747856,
0.035698175,
-0.017821712,
0.042049386,
0.02685576,
0.0008289765,
-0.055490952,
-0.043117046,
0.0009727,
-0.017383697,
0.008171706,
0.005006368,
-0.0011771638,
-0.012018021,
0.03331647,
0.024638312,
0.031208528,
-0.021818593,
0.01502937,
-0.00070835144,
-0.015713768,
0.031071648,
0.035424415,
0.031646542,
0.005379365,
0.04202201,
-0.0058789747,
0.051603574,
-0.007275146,
-0.0057386733,
0.026226114,
0.03972243,
-0.04221364,
0.0021866502,
-0.01950533,
0.046566408,
-0.0012746904,
0.03186555,
-0.017287882,
0.0037573425,
-0.004955038,
-0.009430998,
0.00938309,
0.02871732,
-0.021257387,
0.03881903,
0.0035143814,
0.015440009,
-0.022256607,
-0.042377897,
0.030442003,
0.015823271,
-0.02537746,
-0.03974981,
-0.01883462,
0.019122068,
0.015125185,
-0.0032594432,
0.02157221,
0.013147277,
-0.014386036,
0.018930435,
-0.04987889,
-0.037723992,
-0.031235904,
-0.029976612,
-0.037587114,
0.018889371,
-0.0087192245,
-0.05891294,
-0.0048831766,
-0.04935875,
0.014057525,
-0.056284852,
0.0073298975,
-0.0026315085,
-0.0013645176,
0.034302004,
0.02926484,
-0.0118263895,
-0.03493165,
0.014919866,
-0.024104482,
0.04429421,
0.012367063,
-0.014906178,
-0.025678596,
-0.00821277,
0.026404057,
-0.0051329816,
0.047031797,
0.003613619,
-0.04495123,
0.018574549,
0.006200642,
0.026540937,
0.012633978,
0.03673846,
-0.03474002,
-0.014030149,
0.023967601,
-0.020874124,
0.06937054,
0.056120597,
-0.07615976,
0.01542632,
-0.0032320675,
0.05469705,
-0.030305123,
0.025172142,
0.04963251,
-0.010895609,
-0.037641864,
-0.037559737,
-0.04054371,
-0.012606603,
0.0012755459,
-0.008705537,
-0.0043835663,
0.059350956,
-0.016220221,
-0.043774065,
-0.008335962,
-0.03432938,
0.009410466,
-0.011114616,
-0.053410385,
0.05677762,
0.044704847,
0.010827169,
-0.05209634,
0.035424415,
-0.019915968,
0.042104136,
0.0068097557,
0.00070321845,
0.06323833,
0.01682249,
-0.010573942,
-0.021490082,
0.04448584,
-0.05376627,
0.00945153,
-0.015672704,
0.025979731,
0.020011785,
-0.0035143814,
0.01742476,
0.022037601,
0.031099023,
-0.048783857,
0.020162351,
0.025336396,
0.020750932,
0.005211687,
0.03167392,
0.004482804,
0.034028247,
-0.0075831246,
-0.034876898,
-0.0046573253,
0.028279306,
0.056941874,
0.010067488,
0.029210087,
-0.001239615,
-0.03167392,
0.032221437,
-0.034192502,
-0.059624713,
0.04615577,
0.03079789,
0.06915153,
-0.02945647,
-0.0059782127,
-0.0051398254,
-0.0127024185,
0.026089234,
0.0034100108,
0.041529242,
-0.0059234607,
-0.018027032,
-0.04541662,
0.016685612,
0.018916748,
0.004506758,
-0.03219406,
0.016904619,
-0.04976939,
-0.043527685,
0.035013776,
0.030031364,
0.010026424,
-0.01272295,
0.04087222,
-0.015398945,
0.014208093,
0.016548732,
0.020477174,
0.01616547,
-0.016959371,
0.03901066,
-0.0036820588,
0.00614589,
-0.039311793,
-0.017657457,
-0.019710649,
0.026280865,
-0.06367635,
0.02150377,
-0.03005874,
0.023283204,
-0.033754487,
0.0154810725,
-0.063840605,
-0.039558176,
-0.059953224,
0.0016707855,
0.02265356,
-0.019135755,
-0.01910838,
0.00509534,
0.02277675,
0.046237897,
-0.0043938323,
-0.021065757,
0.013407348,
-0.027622284,
-0.025459588,
-0.007980076,
0.038326263,
-0.022037601,
0.014728235,
-0.026951576,
-0.029073207,
0.021804906,
0.0039968817,
-0.019888593,
-0.025459588,
-0.02291363,
0.015125185,
0.03019562,
-0.014180717,
-0.0006925248,
0.009157239,
-0.045115486,
-0.009978516,
-0.029073207,
-0.0013183207,
-0.00395924,
-0.017123627,
-0.04648428,
0.020956252,
0.009684226,
-0.013119901,
0.025007887,
0.07309366,
-0.029292215,
-0.06482614,
-0.02945647,
0.022475615,
-0.0057934253,
0.041693497,
-0.019149443,
-0.017151002,
0.010970892,
-0.0011472214,
-0.035095904,
0.030277748,
-0.020312918,
-0.021722779,
0.013681107,
-0.021804906,
0.007001387,
-0.00073914934,
0.028881576,
0.026061859,
-0.026171362,
-0.018122846,
-0.08223721,
0.0017204043,
-0.0030968988,
-0.012633978,
0.013865894,
0.00037663252,
-0.025035262,
0.002511739,
-0.04949563,
-0.021599587,
-0.039257042,
0.012332844,
0.026280865,
0.031920303,
0.007788444,
0.016398165,
-0.012065928,
-0.040625837,
0.013003553,
-0.047469813,
-0.010450751,
-0.027266398,
-0.025336396,
0.00871238,
0.0030233262,
-0.029182712,
-0.033234343,
0.01542632,
0.00043181208,
0.011141992,
-0.04207676,
-0.012497099,
0.010881921,
-0.047141302,
0.079171106,
-0.025172142,
-0.062417056,
-0.022407176,
0.01332522,
0.0065941704,
-0.0024552762,
0.04708655,
-0.03052413,
-0.03131803,
-0.047743574,
0.04087222,
-0.019560082,
-0.004701811,
-0.028470937,
-0.03654683,
-0.0063033015,
0.03980456,
0.028580442,
-0.04662116,
-0.0071451105,
-0.03747761,
0.0015886577,
-0.06882302,
-0.036820587,
-0.041337613,
0.03660158,
-0.04199463,
0.01275717,
0.0062827696,
-0.021982849,
-0.0026879713,
0.0029839734,
0.021668026,
0.018998876,
-0.06893252,
-0.020312918,
-0.0047736727,
0.012332844,
-0.02344746,
0.03712172,
-0.018875685,
0.026198737,
0.0005667667,
0.042460024,
-0.02263987,
-0.0089177,
-0.026691504,
-0.028334059,
0.05748939,
-0.03400087,
-0.020750932,
-0.006344365,
0.058803435,
0.020353982,
0.017041499,
-0.07052032,
0.023461148,
-0.04421208,
-0.041228108,
0.0067310496,
-0.03367236,
0.012497099,
-0.019519018,
0.014550292,
0.04382882,
-0.06624968,
0.030551506,
0.07172486,
-0.0034134327,
-0.001995019,
-0.059460457,
0.025979731,
0.0067721135,
-0.011778481,
-0.019149443,
0.022680935,
-0.044869103,
0.015576888,
0.008897168,
-0.058420174,
-0.019067315,
0.004537556,
0.062471807,
0.0026434856,
-0.002467253,
0.0018718273,
-0.027882356,
-0.019683274,
0.017712208,
-0.0035862431,
0.018396607,
0.026102923,
0.045799885,
-0.017205754,
0.019560082,
-0.062417056,
-0.02611661,
0.0010479838,
0.047250807,
0.018027032,
-0.04694967,
0.059350956,
0.007494153,
-0.03167392,
-0.050535914,
0.032604698,
-0.0043356586,
-0.036820587,
0.010320715,
0.02398129,
-0.014194405,
-0.014440788,
-0.02017604,
0.019957032,
-0.060336486,
-0.010067488,
0.010115395,
-0.004736031,
-0.009992204,
0.032905832,
0.020586679,
-0.06044599,
0.005286971,
-0.034630515,
-0.012346531,
-0.0071451105,
-0.03520541,
0.041803002,
0.022735687,
0.015576888,
0.010957205,
-0.01570008,
0.05138457,
-0.017753271,
0.020723557,
-0.02170909,
-0.033809237,
-0.08344175,
-0.022297671,
0.03159179,
-0.0020258168,
-0.0014808652,
-0.026130298,
0.042514775,
0.030031364,
0.058803435,
-0.03167392,
-0.07167011,
0.028772073,
0.011381531,
-0.0014877091,
0.024487743,
0.0002215737,
-0.018081782,
-0.0056873434,
0.010279651,
-0.025007887,
-0.019176818,
-0.009191459,
-0.015508448,
-0.031564415,
-0.04267903,
0.011949581,
-0.032549948,
-0.03265945,
-0.0033929008,
0.006672876,
0.023515899,
0.014043838,
-0.026801007,
-0.018820932,
0.001418414,
0.0107997935,
-0.01810916,
0.021161571,
-0.009499438,
0.0016100452,
-0.014043838,
0.005389631,
-0.009800573,
0.06926103,
0.033480726,
-0.075666994,
0.027006326,
-0.01055341,
0.019724337,
-0.028553065,
0.028799448,
0.0072888336,
-0.04574513,
0.028087676,
-0.008000608,
0.02472044,
-0.03364498,
-0.029182712,
0.0073914933,
-0.009472062,
0.009807417,
0.042925414,
-0.007186174,
0.012517631,
0.012380752,
0.029949237,
-0.0007254614,
0.02530902,
0.009800573,
-0.0062553934,
0.023885474,
-0.009068267,
0.0015552934,
-0.00831543,
0.046867542,
0.049194496,
-0.015782207,
0.006453869,
0.018382918,
-0.026349306,
-0.04040683,
0.004072165,
0.043445557,
0.03468527,
0.056449108,
-0.021832282,
0.0025356929,
-0.013564759,
-0.035095904,
0.034630515,
-0.06833025,
-0.04875648,
0.015084121,
-0.04380144,
-0.010156459,
-0.054012652,
-0.009499438,
-0.017055187,
-0.0013422747,
0.008609721,
0.035835054,
0.041501865,
0.04076272,
-0.029867109,
-0.029018456,
-0.069534786,
-0.0009915209,
0.023871787,
-0.016001215,
-0.022338735,
0.03849052,
0.020271854,
0.019874904,
-0.015056746,
-0.065811664,
0.009540502,
-0.0073709614,
0.037723992,
-0.015782207,
0.017684832,
-0.03849052,
0.045799885,
-0.022667246,
0.021832282,
-0.014851427,
0.018519796,
0.019915968,
-0.020258168,
0.013174653,
0.025815476,
0.033973493,
-0.017315257,
0.01108724,
0.026677815,
0.042542152,
0.004232999,
0.013598979,
0.010094863,
0.044704847,
0.058474924,
0.04727818,
0.016644549,
0.060555495,
0.03966768,
-0.03200243,
-0.01563164,
0.0075215288,
0.030770514,
-0.00828121,
-0.005245907,
0.045526125,
-0.0067652697,
0.015357881,
-0.0137084825,
0.02038136,
0.006443603,
-0.019012563,
-0.020600365,
-0.026157673,
-0.017493201,
0.040844847,
-0.015207313,
-0.008158019,
0.021079443,
0.0106013175,
0.021681715,
0.049577758,
-0.02799186,
0.03994144,
0.06712571,
0.026691504,
0.02931959,
0.011005112,
0.0003411294,
-0.018396607,
-0.0059679467,
-0.008520749,
-0.009629473,
-0.006727628,
-0.016890932,
-0.034575764,
0.03922967,
0.0054991343,
-0.05404003,
0.0038702681,
-0.005882397,
-0.016206535,
-0.05204159,
0.039558176,
-0.050946552,
0.024036042,
0.041255485,
-0.031016896,
-0.029839732,
-0.01108724,
0.0024604092,
0.04955038,
0.015576888,
0.057270385,
0.025363773,
0.086672105,
0.04489648,
0.002501473,
0.02437824,
0.026554624,
-0.005074808,
-0.059022445,
0.011990645,
-0.008082735,
0.02618505,
-0.016740363,
-0.054122157,
0.02678732,
0.002178095,
-0.012599759,
-0.050399035,
-0.0036786369,
0.014372348,
0.010224899,
-0.006334099,
0.05436854,
0.026568312,
0.0002523716,
-0.015221002,
-0.013612667,
-0.04913974,
0.030140867,
-0.007500997,
0.06789224,
-0.020627743,
-0.030688386,
0.014221781,
-0.019464266,
-0.009656849,
0.0017657457,
-0.021490082,
-0.03205718,
0.037094347,
0.030688386,
0.01570008,
0.031975053,
0.030113492,
-0.007870572,
0.019587457,
0.048044708,
0.033453353,
0.07807607,
0.036300447,
-0.047387686,
0.029237462,
0.023502212,
0.0038976439,
-0.018944124,
-0.024391929,
0.004653903,
0.007473621,
-0.020395046,
-0.043336052,
0.0089177,
0.068713516,
0.02083306,
-0.018889371,
-0.04295279,
0.0032252234,
-0.06833025,
0.014947242,
-0.024391929,
0.019669585,
0.019683274,
-0.02057299,
0.009328338,
-0.07824033,
0.21966423,
0.050426412,
-0.00951997,
0.08470104,
0.020750932,
0.051603574,
0.040598463,
-0.014249157,
0.015932774,
-0.043664563,
0.012887206,
-0.039640304,
-0.013229405,
0.014317596,
-0.032358315,
0.0020857016,
-0.040379453,
0.03134541,
0.014071213,
0.0018838042,
-0.044650096,
0.046977047,
0.0070492947,
0.06624968,
-0.0068542412,
0.007473621,
0.0037333886,
-0.050399035,
0.010170148,
-0.055354074,
0.041693497,
-0.021982849,
0.029292215,
-0.029757604,
-0.00014800097,
0.03553392,
-0.0074257134,
-0.041830376,
-0.0031413848,
0.024364552,
-0.045170236,
-0.030578882,
0.019258946,
0.0053998968,
-0.060938757,
0.059350956,
-0.038682148,
0.02685576,
0.07468146,
-0.03594456,
0.03928442,
-0.029346967,
-0.00506112,
-0.04300754,
-0.045142863,
-0.054614924,
-0.048975486,
-0.042049386,
-0.011251495,
0.020860437,
0.0009992204,
-0.011018801,
-0.010402842,
0.012202808,
-0.036026686,
0.014372348,
0.015289441,
0.031975053,
-0.04161137,
0.0042603747,
0.036409948,
0.018150223,
0.003072945,
0.01683618,
0.016247598,
0.027663348,
-0.006032964,
0.056941874,
0.02177753,
-0.045443997,
0.006135624,
-0.009786885,
-0.029675478,
-0.016918307,
0.044376336,
0.05390315,
-0.018998876,
0.014974618,
-0.018259726,
0.02057299,
0.035287537,
0.0037641865,
-0.009191459,
0.010067488,
-0.0045409775
] | AutoProcessor always works and automatically chooses the correct class for the model you're using, whether you're using a tokenizer, image processor, feature extractor or processor.
Before you begin, install 🤗 Datasets so you can load some datasets to experiment with:
pip install datasets
Natural Language Processing |
[
0.0074918536,
-0.023553181,
-0.004722405,
0.010636446,
-0.026936837,
0.0021699527,
0.014696832,
-0.009275628,
0.00054616603,
0.061435405,
0.011666254,
0.0053329347,
0.0037992562,
-0.050401747,
-0.007826541,
0.032836165,
0.00027354277,
-0.029702606,
-0.072204255,
0.005939786,
-0.022229142,
0.021008084,
-0.07579387,
-0.013799428,
-0.0021442075,
-0.008554762,
0.00076591974,
0.006796733,
0.064024635,
0.045046747,
-0.001628384,
0.03707309,
0.00023699377,
0.018521832,
-0.048224438,
-0.0438404,
-0.028172605,
-0.031394433,
-0.032365397,
-0.03839713,
-0.010121542,
-0.014814524,
0.05184348,
-0.033571742,
-0.04263405,
0.028437413,
0.0073925504,
-0.01657991,
-0.029599626,
-0.04213386,
0.012534235,
-0.0074624303,
0.052314248,
0.022317411,
-0.005903007,
-0.036808282,
-0.029202413,
-0.031600393,
-0.061965022,
-0.00078292994,
-0.001936407,
0.0615531,
-0.02736347,
-0.040368475,
0.002287645,
-0.001318522,
-0.009761109,
0.01744789,
-0.020728564,
-0.045546938,
-0.08303195,
0.009209426,
-0.025024336,
-0.024112219,
-0.0058993287,
-0.013277167,
0.022567507,
-0.04810675,
-0.013681735,
0.04745944,
-0.00016366591,
0.035248857,
0.055727325,
0.015476543,
-0.008517983,
-0.031953473,
0.0069990167,
-0.05025463,
0.010070051,
-0.017462602,
-0.028819913,
0.031776935,
-0.05669829,
-0.0051600737,
0.046076555,
0.026260104,
0.0018849164,
0.045223285,
0.009555147,
0.0033027416,
0.017138949,
0.08061926,
0.019080872,
0.04778309,
-0.029467221,
-0.01659462,
0.0019400847,
-0.017624428,
-0.006535603,
-0.017124236,
-0.024627123,
0.0012477228,
0.019463371,
-0.02545097,
0.017330198,
0.008672454,
0.008201686,
0.0005135248,
-0.068261564,
-0.01477039,
0.005697045,
-0.006160459,
-0.046253093,
-0.06979156,
0.032483086,
-0.029584914,
-0.021375872,
0.032541934,
-0.039338667,
-0.010643802,
0.0056418767,
-0.019125007,
0.02372972,
0.05587444,
0.022037892,
0.0107835615,
-0.011747167,
0.020802122,
0.018330583,
-0.042192705,
0.0038176456,
0.035690203,
0.003773511,
0.049842708,
0.011680965,
-0.029570201,
0.025392124,
-0.064318866,
-0.031188471,
0.029599626,
-0.06208271,
0.03366001,
0.018242314,
0.013416927,
-0.051137324,
0.0031298809,
0.009665484,
0.030835396,
-0.018654237,
0.0063627423,
-0.0054432712,
0.004056708,
-0.051137324,
0.047518287,
-0.013600822,
0.05001925,
-0.015417698,
-0.02545097,
0.047606554,
-0.042369246,
-0.0034700853,
-0.006855579,
0.011526494,
0.025406836,
0.02715751,
0.037896935,
0.04507617,
0.03374828,
0.028613951,
-0.011842793,
0.010827696,
-0.043045975,
0.02849626,
0.0033652654,
0.008723945,
-0.009437455,
-0.047165208,
-0.0032696405,
-0.014086302,
0.02392097,
0.0015088527,
0.03754386,
-0.006031733,
0.03621982,
-0.037043665,
-0.0026554335,
-0.014417312,
0.03660232,
0.017080102,
-0.016079716,
-0.011372023,
0.06820271,
-0.043634437,
0.04810675,
-0.018742505,
0.00002919322,
0.0034535348,
0.022170296,
-0.017565582,
0.029496644,
0.04595886,
0.033865973,
-0.032071166,
-0.042810593,
0.009680196,
-0.0149763515,
-0.039838858,
0.01581491,
0.007841253,
-0.019507507,
0.0056639444,
0.023376642,
0.037514437,
-0.011232263,
-0.0027345081,
-0.01424813,
0.005553608,
0.053049825,
0.032247704,
0.022538085,
0.024774238,
0.018242314,
0.0058073816,
0.06508387,
0.015726639,
0.030923665,
0.033924818,
0.04754771,
0.00488791,
-0.01715366,
0.0013608178,
0.04395809,
0.014196639,
0.03833828,
-0.028334433,
0.014637985,
-0.0016017193,
0.016035583,
-0.012747552,
0.00857683,
-0.058081172,
0.017094813,
0.015417698,
-0.0067525986,
-0.052667323,
-0.024759527,
0.01783039,
0.020581448,
-0.029599626,
-0.03851482,
-0.0015382757,
0.035690203,
0.016241543,
-0.011732456,
0.0488129,
0.029776163,
0.030452894,
0.027142797,
-0.010047984,
-0.06184733,
-0.00056041783,
-0.025627509,
-0.064024635,
-0.0022527052,
-0.022891162,
-0.027790105,
-0.03595501,
-0.05490348,
-0.02297943,
-0.020978661,
0.011136638,
-0.020360775,
-0.046753284,
0.044723094,
0.007870676,
0.007797118,
-0.03672001,
0.004582646,
-0.00791481,
0.03233597,
0.014660053,
-0.026274817,
0.011761879,
-0.01619741,
0.018860199,
0.03639636,
0.02050789,
-0.007157166,
-0.07355772,
0.021655392,
-0.02202318,
0.017786255,
-0.016270967,
0.043810975,
-0.023155969,
0.03012924,
0.023214815,
-0.01534414,
0.061141174,
0.038779628,
-0.022332123,
0.033100974,
0.022199718,
0.021243468,
-0.027701836,
0.0326302,
0.057904635,
0.0014150665,
-0.050872516,
-0.012997649,
-0.082384646,
0.00495779,
-0.021361161,
-0.05022521,
-0.009680196,
0.05128444,
-0.04489963,
-0.057404444,
0.0010481975,
-0.049901556,
-0.015682505,
-0.06325964,
-0.0070983195,
0.036102127,
0.016609332,
-0.006679041,
-0.06331848,
-0.0037771887,
0.018580679,
0.03804405,
0.031453278,
-0.008061926,
0.05796348,
0.02078741,
-0.010128898,
-0.049254246,
0.0040346407,
-0.035425395,
-0.017653853,
-0.008929906,
0.04242809,
0.024788952,
0.007311637,
0.02487722,
0.0059728865,
0.01743318,
-0.019095583,
0.068967715,
0.033336356,
-0.0073300265,
0.024229912,
0.0026057821,
0.0061678146,
-0.0072380793,
-0.0200077,
-0.008451781,
0.01602087,
0.031453278,
0.025039047,
-0.04592944,
0.026745586,
0.01129111,
-0.011842793,
0.040103666,
-0.036808282,
-0.046282515,
0.03536655,
0.021787796,
0.04213386,
-0.0148733705,
-0.0056161317,
0.013615534,
0.038161743,
0.041457128,
0.033218663,
0.025053758,
-0.019845871,
-0.001963991,
0.018095199,
-0.0064399783,
0.027687125,
-0.008422359,
0.00915058,
-0.009893513,
-0.030658856,
-0.05699252,
0.027334047,
0.04128059,
0.03592559,
-0.009091734,
0.04907771,
0.00541017,
0.0049026217,
0.045017324,
0.01791866,
-0.0056308433,
-0.030953087,
0.03995655,
-0.014476159,
0.008039858,
-0.03830886,
-0.017492024,
-0.03424847,
0.011967841,
-0.04507617,
0.035042897,
-0.037985206,
0.012100245,
-0.013181543,
0.054697517,
-0.029364241,
-0.038544245,
-0.04966617,
0.022802893,
0.027437028,
-0.021125777,
-0.02021366,
-0.023685586,
0.019757602,
0.007833897,
-0.0015860882,
-0.02364145,
-0.029584914,
-0.032865588,
-0.03233597,
0.04748886,
0.021714238,
-0.03510174,
0.003350554,
-0.05825771,
0.0067673097,
-0.017521448,
-0.035042897,
-0.009562504,
0.011717744,
-0.022199718,
-0.0073925504,
0.01791866,
-0.012328274,
-0.02593645,
0.02889347,
-0.022861738,
0.0013516231,
-0.025156738,
0.00810606,
-0.058757905,
0.008135484,
0.0025322244,
0.0021442075,
0.0046598813,
-0.03813232,
-0.0049798572,
0.0438404,
-0.0242152,
-0.027216354,
-0.017286064,
0.026642606,
-0.04966617,
0.032806743,
-0.00069282175,
-0.005991276,
0.021434719,
-0.008253176,
0.01943395,
-0.018168757,
-0.03012924,
0.0035565156,
0.008495917,
-0.016079716,
0.008672454,
-0.040486168,
0.02420049,
-0.019787027,
-0.009503657,
-0.015285294,
-0.044281747,
-0.014704187,
-0.04507617,
-0.024068085,
0.046459053,
0.034483857,
-0.037102513,
-0.027569432,
0.002934953,
0.0060096653,
-0.043045975,
-0.012423898,
-0.011680965,
0.029055297,
0.017800968,
0.05243194,
-0.026274817,
-0.021037508,
0.025186162,
0.009540436,
0.004409785,
0.0016522902,
-0.0101951,
0.028702222,
0.006068512,
-0.018168757,
0.023185393,
-0.00509755,
-0.0033928496,
0.027481163,
-0.03507232,
-0.00986409,
-0.03669059,
-0.017006544,
0.03424847,
0.00065834157,
-0.04648848,
-0.03424847,
0.020831546,
-0.00031882673,
0.02050789,
0.0488129,
-0.03460155,
-0.041221745,
-0.015388275,
0.036572896,
0.0021809863,
-0.0070688967,
-0.030158663,
-0.02898174,
0.020625584,
0.03336578,
0.013438995,
-0.02649549,
0.014476159,
-0.03583732,
0.03233597,
-0.02659847,
-0.027378183,
-0.0035178978,
0.0052446653,
-0.030099818,
0.00895933,
-0.0026646282,
0.006469401,
-0.01687414,
-0.004825386,
0.013431639,
0.013821495,
-0.058228288,
-0.0055609634,
0.0056418767,
-0.012703418,
0.0010849764,
0.05154925,
-0.011879572,
0.06278887,
-0.024318181,
0.025759913,
-0.029011164,
-0.009032887,
-0.059905406,
0.012938802,
0.022376258,
-0.0076500024,
-0.037131935,
-0.021979045,
0.017241929,
0.016432794,
0.025892315,
-0.024744816,
0.018139333,
-0.014689476,
-0.062259253,
-0.0046819486,
-0.021008084,
0.013505197,
0.0032310227,
0.023906259,
0.04072155,
-0.04013309,
0.0064914683,
0.053785402,
-0.005388103,
0.02002241,
-0.060493868,
0.041810207,
0.0015741352,
0.017845102,
-0.019787027,
0.014711543,
-0.0491954,
0.03698482,
0.001997092,
-0.04072155,
-0.040868666,
0.03557251,
0.026554335,
-0.0045569004,
0.026392508,
0.03204174,
-0.017756833,
-0.02783424,
0.0047775735,
0.050695978,
0.010378994,
-0.0027473806,
0.039426938,
-0.03939751,
-0.008415002,
-0.046959247,
-0.016388658,
0.0082237525,
0.057021942,
-0.0013755293,
-0.007936877,
0.02249395,
-0.0051159393,
-0.017227218,
-0.057316173,
0.0084812045,
-0.0022802893,
-0.035601936,
0.002933114,
0.007642647,
0.0051122615,
-0.033071548,
0.01581491,
-0.011504427,
-0.040486168,
-0.03421905,
0.015726639,
-0.035778474,
0.0051711076,
0.015726639,
0.034189627,
-0.036749434,
-0.0046120686,
-0.04660617,
0.0009006223,
-0.02593645,
-0.012026687,
0.07102733,
-0.0017892915,
0.00767207,
-0.025524527,
0.013975966,
0.052314248,
-0.007664714,
-0.02030193,
0.039868284,
-0.07314579,
-0.062612325,
0.011107216,
0.04260463,
-0.032718472,
0.0064841127,
-0.020184238,
0.02172895,
0.020596161,
0.028510971,
-0.02030193,
-0.091093875,
0.033100974,
-0.010607023,
0.0078118294,
0.044399437,
0.0023372965,
-0.024391739,
0.050872516,
0.02297943,
-0.035690203,
0.0071534878,
0.043075398,
-0.03992713,
-0.028393278,
-0.044752516,
0.03374828,
-0.04478194,
-0.025083182,
-0.002032032,
-0.017344909,
0.0024292436,
0.03736732,
0.0066275503,
0.006679041,
0.00424428,
0.023891546,
0.011452937,
0.0031482703,
-0.05043117,
0.013115341,
-0.00086154474,
-0.00071856694,
-0.02164068,
0.027598856,
0.03460155,
-0.04678271,
0.026775008,
0.0119016385,
-0.0010868153,
-0.04425232,
0.0070762523,
0.0415454,
-0.024524143,
0.036867127,
-0.02011068,
-0.004406107,
-0.03060001,
-0.026863279,
-0.010702648,
-0.03213001,
0.035131164,
0.04004482,
0.020198949,
0.053638287,
0.008267887,
0.021596545,
0.009363897,
0.04707694,
0.027951932,
-0.0015217253,
0.020272506,
-0.012578369,
0.0067673097,
-0.047106363,
0.007995724,
0.024730105,
-0.033807125,
0.029849721,
0.008643032,
-0.026333662,
-0.016741736,
0.037602704,
0.01506462,
0.015608948,
0.0507254,
-0.038220588,
-0.013122696,
-0.02764299,
-0.0066201943,
0.0005378908,
-0.056874827,
-0.04642963,
-0.013093273,
-0.029658472,
-0.018242314,
-0.03536655,
-0.052020017,
-0.008856349,
-0.015932601,
-0.009805243,
0.0021497242,
0.013902408,
-0.003098619,
-0.020360775,
-0.0015870078,
-0.032777317,
-0.0050056027,
-0.002250866,
-0.034454435,
-0.007116709,
0.015138178,
0.02030193,
0.022538085,
-0.0053917808,
-0.03992713,
-0.00015768936,
0.005766925,
0.03889732,
-0.001626545,
0.006164137,
-0.040074244,
0.006414233,
-0.00095900876,
0.011754523,
-0.014777745,
0.0075764447,
0.018801352,
0.010114186,
0.045517515,
0.03165924,
0.048018478,
-0.022243854,
-0.015285294,
0.017138949,
0.018639525,
-0.021096352,
0.0032972246,
0.011298466,
0.042310398,
0.05843425,
0.024744816,
-0.0025267075,
0.02726049,
0.010173032,
-0.026848566,
-0.043899246,
0.02296472,
0.0051380065,
-0.0006730531,
-0.0051600737,
0.0029533424,
-0.030541165,
0.0226852,
-0.011445581,
0.017800968,
-0.019639911,
0.013218322,
-0.013880341,
-0.026186546,
-0.00043491,
0.05260848,
-0.029364241,
0.0017718215,
-0.0046856264,
0.042545784,
0.007936877,
0.036808282,
0.0039537274,
0.06443656,
0.050490018,
0.0012495617,
0.0128726,
0.0149763515,
0.024950778,
0.01915443,
0.02402395,
-0.022052603,
-0.005347646,
-0.067143485,
-0.015079332,
-0.034542702,
0.050313476,
0.0034094001,
-0.051725786,
0.0121076,
-0.018315872,
0.003543643,
-0.054844633,
0.001529081,
-0.053873673,
0.019845871,
0.047871362,
-0.009187358,
-0.04489963,
0.017477313,
-0.0014224224,
0.010710004,
0.0068960357,
0.04557636,
0.03192405,
0.037720397,
0.024759527,
0.020316642,
0.007907455,
0.0006183446,
-0.025318567,
-0.057875212,
0.0026260104,
-0.023876835,
-0.002736347,
-0.033777703,
-0.04754771,
-0.0028319722,
0.016535774,
-0.010643802,
-0.013438995,
0.01868366,
-0.007995724,
-0.01888962,
-0.021596545,
0.09438926,
0.012666639,
0.012718129,
-0.042781167,
-0.0063664205,
-0.036543474,
-0.032718472,
-0.015520678,
0.068967715,
-0.029305395,
-0.06567233,
0.017786255,
-0.026995681,
-0.009886157,
0.011379379,
-0.009268273,
-0.042163283,
0.02917299,
0.0070394734,
0.04557636,
0.017035967,
-0.015859043,
-0.033100974,
0.08815157,
0.02927597,
0.027304625,
0.10009734,
0.05001925,
-0.017035967,
0.010173032,
0.026083566,
0.014888082,
0.025274431,
-0.007032118,
-0.013902408,
-0.0063222856,
-0.023597315,
-0.07061541,
-0.032541934,
0.03012924,
-0.0053954585,
-0.008966685,
-0.02458299,
0.010710004,
-0.06473079,
-0.028466836,
0.0040346407,
0.006796733,
-0.01621212,
-0.018948467,
0.039338667,
-0.050166365,
0.25892317,
0.01687414,
-0.013122696,
0.029084722,
0.019948853,
0.0707331,
0.047341745,
-0.01415986,
0.0033836549,
-0.041957323,
0.031041356,
-0.045546938,
-0.015358851,
0.03451328,
-0.029982125,
0.027113374,
-0.050166365,
0.011776591,
-0.009893513,
0.012997649,
-0.03910328,
0.05755156,
-0.0017653852,
0.084208876,
0.03204174,
-0.036337513,
0.011975196,
-0.04719463,
-0.004450242,
-0.034277897,
0.022950009,
-0.003387333,
0.010128898,
-0.03477809,
-0.009113801,
0.018404141,
0.01224736,
-0.04395809,
-0.022538085,
0.012475389,
-0.047341745,
-0.05481521,
0.032483086,
0.018065775,
0.006256084,
-0.0028172606,
-0.008032503,
0.03724963,
0.01887491,
-0.04813617,
0.046282515,
-0.023008853,
0.01753616,
-0.025877604,
-0.037426166,
-0.010393705,
-0.034454435,
-0.06320079,
-0.019919429,
-0.0004684707,
0.012526879,
0.013667024,
0.0013929993,
0.053608865,
0.018521832,
0.023111835,
0.002484412,
0.049695592,
-0.003315614,
0.013461062,
0.03919155,
0.0039794724,
-0.0038470686,
-0.04813617,
-0.0061052907,
0.0120561095,
-0.011666254,
0.040927514,
0.025289143,
-0.04325194,
0.0111439945,
-0.04222213,
-0.009842022,
-0.053138096,
0.023817988,
0.088681184,
-0.012784331,
-0.02021366,
0.010915965,
0.035984434,
0.013740581,
0.008709233,
0.042928282,
0.017300775,
-0.000909817
] | If you plan on using a pretrained model, it's important to use the associated pretrained tokenizer. This ensures the text is split the same way as the pretraining corpus, and uses the same corresponding tokens-to-index (usually referred to as the vocab) during pretraining.
Get started by loading a pretrained tokenizer with the [AutoTokenizer.from_pretrained] method. This downloads the vocab a model was pretrained with: |
[
0.035197075,
-0.010226371,
-0.024511736,
0.012829578,
-0.021514105,
-0.00440322,
0.021327648,
0.0032737295,
0.00053471513,
0.029173125,
0.024884647,
-0.029603407,
0.012341924,
-0.04015966,
0.01929098,
0.030291859,
0.0061781337,
-0.03964332,
-0.042913467,
-0.0046362896,
-0.0422537,
0.01310926,
-0.07154157,
-0.030377915,
-0.0041809077,
0.003029903,
0.0104271695,
0.0075514503,
0.0560801,
0.03906961,
-0.0068020425,
0.027150799,
-0.020467084,
0.00917218,
-0.031640075,
-0.061616395,
-0.035197075,
-0.027179485,
-0.051777277,
-0.023005748,
-0.022389011,
0.007465394,
0.032471955,
-0.027408969,
-0.05441634,
0.010319599,
-0.018157903,
-0.019319665,
-0.007049455,
-0.018100534,
-0.009301264,
0.03244327,
0.038151678,
0.009925174,
-0.016365062,
-0.030463971,
-0.0319843,
-0.030033689,
-0.05714146,
0.004198836,
0.018430416,
0.06425545,
-0.014507677,
-0.04598281,
-0.008957039,
0.02118422,
0.0071426826,
0.0104271695,
-0.041909475,
-0.029115753,
-0.06924673,
0.014106081,
-0.020610511,
-0.03250064,
-0.016838372,
-0.009129152,
0.010541911,
-0.0015633582,
-0.0031482305,
0.06500128,
0.009846289,
0.027538054,
0.055276904,
0.025085445,
-0.017871048,
-0.036660034,
0.045409102,
-0.03680346,
-0.011072592,
-0.021141192,
-0.034422565,
0.029947633,
-0.051260937,
0.001305189,
0.05295338,
0.03250064,
-0.021370677,
0.035139702,
-0.0075299363,
0.009408834,
0.0074367085,
0.08485162,
-0.0093299495,
0.03809431,
0.00084711786,
-0.0028308975,
0.011832757,
-0.028455988,
-0.029201811,
0.021428047,
-0.04345849,
-0.016910085,
0.04110628,
-0.028843243,
0.0015077802,
0.014916445,
-0.008713212,
0.023292603,
-0.06551762,
-0.012901291,
0.012987347,
-0.0045323046,
-0.009996887,
-0.06746823,
0.013102089,
-0.050515115,
-0.03370543,
0.009372978,
-0.006547459,
-0.02663446,
0.0016538968,
-0.022102157,
0.04885136,
0.053412348,
0.01368297,
0.005945064,
-0.006916784,
-0.028126106,
0.011524389,
-0.039614636,
-0.017397739,
0.026820917,
-0.0031607805,
0.071426824,
0.039040927,
-0.01640809,
0.007737906,
-0.054703195,
-0.035569984,
0.029976318,
-0.070279405,
-0.004241864,
0.0031679517,
0.009846289,
-0.043429803,
0.021930043,
0.0017838778,
0.019434407,
-0.018071847,
-0.009344293,
0.0008063307,
0.0025476285,
-0.04997009,
0.025028074,
0.003221737,
0.0045789187,
-0.0015319835,
-0.01913321,
0.022302955,
-0.030062374,
-0.030119745,
0.02264718,
0.010792909,
0.023206547,
0.048736617,
-0.0069598127,
0.058719162,
0.007020769,
0.017268654,
-0.007092483,
-0.0010138522,
-0.032844864,
-0.0040087947,
0.026204178,
-0.0029008184,
-0.0030998238,
-0.019721262,
0.009573776,
-0.014235166,
0.008103645,
0.014414449,
0.044577222,
-0.000285286,
-0.0010255056,
-0.07389378,
0.031066366,
-0.008827954,
0.00812516,
-0.0010927372,
-0.009932345,
-0.004439077,
0.061731137,
-0.038926184,
0.022819294,
-0.01409891,
0.006411203,
0.006353832,
0.0130805755,
-0.023837628,
0.019678233,
0.025257558,
0.022675866,
-0.013310059,
-0.02438265,
0.021829644,
-0.015690953,
-0.014959474,
0.0124064665,
0.013467829,
-0.0059845066,
-0.0033813,
0.011538731,
0.04750314,
0.016953114,
0.007996075,
0.016235977,
0.018659899,
0.033619374,
0.0034171569,
0.00775942,
0.017182598,
0.018200932,
0.012858263,
0.07113997,
0.008792097,
0.022790607,
0.047933422,
0.032902237,
0.04523699,
-0.0016090757,
-0.022245584,
0.01420648,
0.041393135,
0.0236942,
-0.029574722,
0.017268654,
-0.014550705,
-0.010828766,
-0.051088825,
0.012413638,
-0.042081587,
0.019735605,
0.014959474,
-0.009731546,
-0.053957373,
-0.038725387,
0.030033689,
0.035053648,
0.008067789,
-0.028771529,
0.034365196,
0.024927676,
0.03832379,
-0.0077235634,
0.03143928,
0.0304066,
0.01897544,
0.047589198,
-0.051719908,
-0.085195854,
-0.015318042,
-0.0556785,
-0.077393405,
0.017942762,
-0.061157428,
-0.034508623,
-0.0021765102,
-0.064198084,
0.012392124,
-0.013453486,
0.015561868,
-0.024698192,
-0.043716658,
0.045925442,
0.04299952,
0.012901291,
-0.0341644,
0.021571474,
-0.0252719,
0.022632837,
-0.009444691,
0.010125971,
0.0040805084,
-0.0069490555,
0.021040794,
0.027495025,
-0.0024974288,
-0.015102901,
-0.052350987,
0.03602895,
-0.032127727,
0.020954737,
0.017110884,
0.04277004,
-0.0236942,
0.010921993,
0.0339636,
-0.032959606,
0.046327036,
0.048621874,
0.0040123803,
0.035397872,
0.028097419,
0.025257558,
-0.023938026,
0.037606653,
0.058260195,
0.005988092,
-0.051863335,
-0.020782625,
-0.081294626,
0.025859954,
-0.059206814,
-0.045064878,
0.010843108,
0.056280896,
-0.03694689,
-0.04365929,
0.0019165481,
-0.034738105,
-0.035254445,
-0.07211528,
0.012456666,
0.038668018,
0.020524455,
-0.010943508,
-0.0693041,
-0.0047904737,
0.011402475,
0.011832757,
0.013295717,
-0.017799335,
0.0438314,
0.033791486,
0.012643122,
-0.019061496,
-0.0020277044,
-0.028527701,
0.010061429,
-0.025472699,
0.009007238,
0.03298829,
0.0049231444,
0.013381773,
-0.0054753395,
0.015404099,
-0.0056653805,
0.041192338,
0.017598538,
-0.0036789118,
0.013690142,
0.029402608,
0.006454231,
0.010183343,
-0.008218388,
-0.020467084,
-0.026146809,
0.026290234,
0.025429672,
-0.050457746,
0.017268654,
0.019004125,
-0.007795277,
0.026175493,
-0.021528447,
-0.038868815,
0.030263172,
0.03169745,
0.037319798,
0.00030366261,
-0.01048454,
0.0009555848,
0.012191325,
0.026448006,
0.072975844,
0.037664026,
0.009846289,
0.016322033,
0.0074940794,
-0.030349229,
0.015877409,
0.01122319,
0.0074582226,
0.013697313,
-0.0076805353,
-0.06494391,
0.00017569851,
0.00589845,
0.04251187,
0.005005615,
0.04997009,
-0.001997226,
-0.020137202,
0.034996275,
-0.0089928955,
-0.0065761446,
-0.03809431,
0.054846622,
0.014672619,
-0.0011106656,
-0.012506866,
-0.010914822,
-0.012678979,
0.017698936,
-0.023364317,
0.007113997,
-0.02888627,
0.036459234,
0.00985346,
0.029660778,
-0.035168387,
-0.023378659,
-0.054760568,
-0.006059806,
0.041966844,
-0.019319665,
0.012427981,
-0.0168814,
0.010685339,
0.0113522755,
0.034738105,
-0.04807685,
0.004596847,
-0.0062498474,
-0.062017992,
0.05891996,
0.027695823,
-0.012872606,
0.006253433,
-0.057313573,
0.0058052223,
-0.0041844933,
-0.018530814,
-0.00092421006,
0.023565115,
-0.029130097,
-0.027337255,
0.017584193,
-0.02280495,
-0.02138502,
0.015174614,
-0.022274269,
0.023550773,
-0.021815302,
-0.037807453,
-0.07332007,
0.033934914,
-0.00026287546,
0.016537175,
-0.0007718185,
-0.04721629,
-0.004711589,
0.033217777,
-0.031209793,
-0.062419586,
-0.010506054,
0.02286232,
-0.031467963,
0.015547526,
0.005027129,
-0.009831945,
0.044204313,
-0.0033418576,
0.00285779,
-0.01436425,
-0.02018023,
0.0046793176,
0.0006490088,
-0.020825652,
0.01666626,
-0.030062374,
0.015404099,
-0.01567661,
-0.024411337,
0.0032647653,
-0.05346972,
-0.024755562,
-0.023938026,
-0.022790607,
0.02464082,
0.032127727,
-0.018459102,
-0.013238345,
0.008928353,
-0.011502874,
-0.004704417,
-0.017182598,
-0.013195317,
0.043802716,
0.03809431,
0.041278396,
-0.031525332,
-0.015490155,
0.019061496,
0.023794599,
0.016766658,
0.009215208,
-0.01871727,
0.021614503,
0.011359447,
-0.0034673563,
0.042913467,
-0.0097530605,
-0.016781,
0.036487922,
-0.010082943,
-0.009200865,
-0.033275146,
-0.031410594,
0.037119,
-0.03749191,
-0.03502496,
-0.05258047,
0.0253723,
0.02039537,
0.01173953,
0.07664758,
-0.01080008,
-0.027021715,
-0.00073730625,
0.032615382,
-0.021471076,
0.005274541,
-0.03496759,
-0.006120763,
0.02312049,
0.01814356,
0.014486163,
-0.03984412,
0.004048237,
-0.021255935,
0.019190582,
-0.028484674,
-0.033217777,
-0.0069490555,
0.003176916,
-0.04850713,
0.0321851,
0.0061171767,
0.014565049,
-0.033160407,
-0.0026175494,
0.023005748,
0.040389143,
-0.04256924,
-0.005787294,
-0.014407278,
-0.020983422,
0.0075729648,
0.05263784,
0.007486908,
0.06132954,
-0.0076733637,
0.03338989,
-0.052293617,
-0.0220161,
-0.052867323,
0.022044785,
0.012356267,
-0.026548404,
-0.014844731,
-0.01954915,
0.016279005,
-0.004231107,
0.035627358,
-0.02819782,
-0.0026300992,
-0.028126106,
-0.07154157,
0.021026451,
-0.019161895,
0.00785982,
0.017254312,
0.018889382,
0.052322302,
-0.019764291,
-0.0029295038,
0.04681469,
0.0008103646,
-0.0051884847,
-0.07165631,
0.056108784,
-0.006651444,
-0.017024828,
-0.047876053,
0.00054323114,
-0.0337628,
0.020911708,
-0.011072592,
-0.039557267,
-0.01897544,
0.01777065,
0.02977552,
-0.004188079,
0.045753326,
0.020782625,
-0.025917323,
-0.061157428,
-0.00043341954,
0.06677978,
0.018014476,
0.017326025,
0.010068601,
0.011000878,
0.012937148,
-0.034451254,
-0.024712535,
-0.023106148,
0.035426557,
-0.021313306,
-0.007902848,
0.009043095,
0.019592177,
-0.022460725,
-0.039385155,
0.021270277,
-0.0048191594,
-0.06895988,
0.0011017014,
-0.010090115,
0.013345916,
-0.00886381,
0.025200186,
0.019391378,
-0.040704686,
-0.030033689,
0.015361071,
-0.033791486,
-0.011459846,
-0.007737906,
0.035770785,
-0.006558216,
-0.0015032981,
-0.03978675,
0.021169879,
-0.053297605,
-0.004198836,
0.08158148,
0.0009681347,
0.018043162,
-0.022302955,
0.019850347,
0.054645825,
-0.001209272,
-0.004955415,
0.016737973,
-0.040934168,
-0.05473188,
0.020753939,
0.015260671,
-0.012277382,
-0.00020427194,
-0.041766047,
-0.0056223525,
0.034565993,
0.03809431,
0.0010192307,
-0.089556046,
0.033160407,
-0.011897299,
-0.01577701,
0.018229617,
-0.016035179,
0.0011599688,
0.04308558,
0.002518943,
-0.032529324,
0.025917323,
0.034680735,
-0.035971582,
-0.0113953035,
-0.03186956,
0.032615382,
-0.035139702,
-0.05226493,
-0.00492673,
-0.036717404,
0.012800892,
0.03579947,
-0.021141192,
-0.0022643595,
0.0006561802,
0.0304066,
-0.0068629994,
0.01703917,
-0.035914212,
-0.0005651934,
0.015949123,
-0.004844259,
-0.013704484,
0.031209793,
0.03293092,
-0.03364806,
0.00028954397,
0.0044354913,
0.010176172,
0.0009618597,
0.017641565,
0.05243704,
-0.03737717,
0.041249707,
-0.017024828,
-0.004980515,
-0.031840876,
-0.020294972,
-0.01216264,
-0.014715647,
-0.0053928685,
0.052867323,
0.022661522,
0.047876053,
0.004654218,
0.007522765,
0.00775942,
0.0404752,
0.04681469,
0.0076088216,
0.012973005,
-0.039672006,
0.024626479,
-0.0053713545,
-0.010075772,
0.019678233,
-0.014012853,
0.020567484,
0.02106948,
-0.0049231444,
-0.02515716,
0.016953114,
0.027925307,
0.0028990256,
0.026964344,
-0.028470332,
0.020481426,
-0.027667137,
-0.0071068257,
0.018071847,
-0.054903995,
-0.04661389,
0.012607265,
-0.022259926,
-0.006888099,
-0.024138825,
-0.013016033,
-0.0025386643,
0.0091219805,
0.01074988,
0.013016033,
0.013718827,
0.011674987,
-0.020266285,
-0.0038832957,
-0.0170822,
-0.011388132,
0.0034297067,
-0.017713279,
0.007737906,
0.032213785,
0.020854339,
0.022159528,
-0.026691832,
-0.040848114,
-0.0051203566,
0.002655199,
0.055334274,
-0.029130097,
-0.0041020224,
-0.029804206,
0.033045664,
-0.06023949,
0.019592177,
-0.025515728,
0.00066379976,
0.0321851,
0.012427981,
0.038553275,
0.043745346,
0.048162907,
0.005539882,
0.00022298473,
0.021930043,
-0.0034978348,
-0.009989715,
-0.016221635,
-0.0018878626,
0.03413571,
0.061272167,
0.013066232,
-0.022704551,
0.04251187,
0.0037398685,
-0.04015966,
-0.027480682,
0.030349229,
0.024970703,
0.0018295953,
-0.0073578237,
-0.018745955,
-0.035627358,
-0.003472735,
-0.0063287322,
0.03447994,
-0.024038425,
-0.020223258,
0.005296055,
-0.040130977,
-0.0032880723,
0.018229617,
-0.02831256,
0.02327826,
0.012571408,
0.03166876,
0.016279005,
0.017584193,
-0.018903727,
0.034565993,
0.032328527,
0.031209793,
0.006353832,
-0.0068486566,
0.020667883,
0.019907717,
0.040102288,
-0.026376292,
-0.020510113,
-0.048220277,
-0.015547526,
-0.08422054,
0.04606887,
0.038409848,
-0.042626612,
0.009946687,
-0.0048621874,
-0.005772951,
-0.046212297,
-0.02049577,
-0.032357212,
-0.004152222,
0.016680602,
-0.013274202,
-0.057313573,
0.019491779,
-0.010871794,
0.039299097,
0.014608077,
0.041794732,
0.036401864,
0.030205801,
0.025487041,
0.007250253,
0.02332129,
0.015561868,
-0.0187603,
-0.030550027,
0.02274758,
-0.03496759,
-0.008347472,
-0.06809931,
-0.05696935,
0.002676713,
0.021141192,
-0.022317298,
-0.019463092,
0.020194571,
-0.017440766,
-0.010993707,
0.005855422,
0.11147174,
0.00642196,
-0.040905483,
-0.026663147,
0.023421688,
-0.025142817,
-0.0053498405,
-0.038438533,
0.04721629,
-0.047474455,
-0.07561491,
0.0022804951,
-0.033475947,
0.011603273,
0.0018295953,
-0.0003928565,
-0.02857073,
0.025859954,
0.016479803,
0.025558755,
0.013267031,
-0.021786615,
-0.026433662,
0.07102523,
0.030148432,
0.039930176,
0.10171869,
0.042081587,
-0.012829578,
-0.016938772,
-0.0037111829,
0.011502874,
0.012047898,
-0.014844731,
-0.024196196,
-0.0011447297,
-0.017914077,
-0.084105805,
-0.030693455,
0.005808808,
0.02819782,
-0.014543534,
-0.015361071,
0.028140448,
-0.04664258,
-0.044462483,
-0.008584128,
0.026964344,
-0.019491779,
-0.036918204,
0.025874296,
-0.05909207,
0.24554764,
0.02773885,
-0.00006112471,
0.021083822,
0.0072215674,
0.064198084,
0.041020226,
-0.013353087,
-0.00545024,
-0.0030675526,
-0.016121235,
-0.03637318,
-0.004980515,
0.024784248,
-0.035914212,
0.040102288,
-0.048306335,
0.013804884,
-0.032959606,
-0.002133482,
-0.033447262,
0.056940664,
0.021872673,
0.08100777,
0.05593667,
-0.033160407,
-0.0022302954,
-0.05777254,
-0.016895743,
-0.028298218,
0.04242581,
-0.0119403275,
0.030951625,
-0.01830133,
-0.016953114,
0.021026451,
0.00812516,
-0.06884513,
0.0012738142,
0.044204313,
-0.03224247,
-0.05243704,
0.04796211,
0.016608888,
0.015576212,
-0.004460591,
-0.034565993,
0.04687206,
0.026347606,
-0.027423311,
0.03465205,
-0.029976318,
0.023364317,
-0.067124,
-0.012341924,
-0.010670995,
-0.06482916,
-0.057543058,
-0.0438314,
0.00020438399,
0.013460658,
0.023407346,
0.013446315,
0.018932411,
0.021973072,
0.039241727,
-0.016178606,
0.06643555,
-0.026878288,
0.008906839,
0.012040727,
-0.005296055,
-0.031123737,
-0.042913467,
-0.009236722,
0.028499017,
-0.010125971,
0.051490422,
-0.0018134597,
-0.050601173,
0.03737717,
-0.030205801,
-0.0033490288,
-0.044864077,
0.01662323,
0.08823651,
-0.040675998,
-0.0034637707,
-0.0043852916,
0.023177862,
0.020266285,
0.016322033,
0.042913467,
0.0035569984,
-0.006615587
] | Get started by loading a pretrained tokenizer with the [AutoTokenizer.from_pretrained] method. This downloads the vocab a model was pretrained with:
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("google-bert/bert-base-cased")
Then pass your text to the tokenizer: |
[
0.013469498,
-0.019460663,
-0.004574814,
-0.01667045,
0.015084138,
0.0032629187,
-0.0076766224,
-0.024941942,
-0.0063842023,
0.03631524,
-0.033057634,
-0.016996212,
0.009220445,
-0.031244703,
-0.0007896157,
0.00016310166,
-0.035295468,
-0.045946427,
-0.04056429,
-0.021046976,
-0.018185947,
0.03447398,
-0.07308371,
-0.022576636,
-0.026216658,
0.0059380517,
0.015834805,
0.0142839,
0.0827149,
0.01778937,
-0.015197447,
0.0154240625,
0.006826812,
-0.016514653,
-0.009815313,
-0.046173044,
0.008547679,
-0.025437664,
-0.033114288,
-0.025777588,
0.015183283,
0.023908004,
0.028553637,
-0.03135801,
-0.061752904,
0.015594024,
-0.01662796,
-0.03688178,
-0.032576073,
0.0036223177,
0.005686649,
-0.014156428,
0.041980643,
0.002917683,
-0.031641282,
-0.044756692,
-0.019404009,
0.034530636,
-0.03458729,
-0.017152011,
-0.000102464146,
0.05858028,
-0.0019545644,
-0.03821315,
0.0011994722,
0.015169119,
-0.02723643,
-0.021981768,
-0.028907724,
-0.03251942,
-0.07727611,
0.027392229,
-0.035153832,
-0.039601173,
-0.038156494,
0.01464507,
0.029885007,
-0.022548309,
-0.011904431,
0.01610391,
0.012810895,
0.048835784,
0.0046385494,
0.021797642,
-0.011054619,
-0.019588135,
0.01985724,
0.021556862,
0.048920766,
-0.050592057,
-0.029261813,
0.013844831,
-0.039884444,
0.01000652,
0.051583502,
0.035238814,
-0.027774643,
0.064868875,
-0.008703477,
0.037589956,
0.029120177,
0.07948562,
-0.010679287,
0.042235587,
0.0056335363,
-0.005860152,
0.046088062,
-0.008066119,
-0.044076845,
0.0075845597,
0.025253538,
-0.0037179214,
0.014758377,
-0.0263158,
-0.016613798,
0.021684334,
0.005640618,
-0.008165264,
-0.03212284,
-0.022704106,
-0.010594306,
0.014333473,
-0.0021563943,
-0.046059735,
0.005605209,
-0.05370803,
-0.026160004,
0.031301357,
-0.016174728,
-0.023497263,
0.021783479,
0.007577478,
0.038269803,
0.026075022,
0.0050209644,
-0.008696395,
-0.012364744,
0.020239657,
0.00798822,
-0.012485134,
0.0035922201,
-0.0062284037,
-0.0060619824,
0.06469891,
-0.0027247053,
-0.011047537,
0.0059947055,
-0.040450986,
-0.0075916415,
0.05750385,
-0.07710615,
0.011444116,
0.016840413,
-0.01444678,
-0.02828453,
-0.018086802,
0.0039834874,
0.0074995784,
0.0083281435,
-0.0049536875,
-0.033284247,
-0.024729488,
-0.023922168,
0.030819798,
0.014064365,
0.0029088308,
-0.046541292,
0.01852587,
0.00589202,
-0.04419015,
0.014220164,
0.0051236497,
0.010105665,
0.013774013,
0.030876452,
0.023638899,
0.04022437,
-0.017038703,
-0.008611415,
-0.026131677,
0.002034234,
-0.024729488,
0.009227526,
0.0027937524,
-0.05322647,
0.0067807804,
0.026556581,
-0.0044367197,
-0.004146368,
0.008823867,
0.023695553,
0.018823305,
-0.009029238,
0.01028979,
-0.031301357,
0.016160564,
-0.01521161,
0.0033195727,
0.004893493,
-0.006504592,
-0.026344128,
0.025083575,
-0.005371511,
-0.016599635,
-0.029120177,
0.015919786,
0.007053428,
0.03498387,
-0.025607627,
0.026386619,
0.05600252,
0.036343567,
-0.03671182,
-0.002163476,
-0.004468587,
-0.041697375,
0.004362361,
0.022165893,
-0.035408776,
-0.024276257,
0.01872416,
0.018908286,
0.04580479,
0.00038064434,
0.030479874,
0.011911512,
-0.0039091287,
0.05960005,
0.04189566,
0.049260687,
0.03546543,
0.04540821,
-0.00009090096,
0.03450231,
0.021500207,
0.027902115,
0.047759354,
0.04620137,
-0.037986536,
0.0154240625,
0.0066603906,
0.024304584,
-0.006876384,
0.0070180194,
-0.0155515345,
-0.019729769,
0.0052511212,
-0.017137848,
-0.00069755287,
0.018030148,
-0.08600083,
0.030876452,
0.02424793,
0.0048368387,
-0.037986536,
-0.047617722,
-0.004213644,
0.023823025,
-0.0011118356,
-0.021698497,
-0.00025073838,
0.062885985,
0.054416206,
-0.012138128,
0.010261463,
0.0833381,
0.013327863,
0.012945448,
-0.04971392,
-0.027618844,
-0.037136722,
-0.04846753,
-0.029346792,
0.019234046,
-0.01577815,
-0.006146963,
-0.06271602,
-0.054614495,
-0.014984993,
-0.046031408,
-0.0072800443,
-0.0054564923,
-0.032661054,
0.019687278,
0.023440609,
-0.0024839255,
-0.01662796,
0.0054883603,
0.015324918,
0.035777025,
-0.015707333,
-0.015806478,
-0.030678162,
-0.029743372,
-0.012973775,
-0.003195642,
0.01811513,
0.0051909266,
-0.02909185,
-0.0063417116,
-0.014290982,
-0.006005328,
0.013065838,
0.04744776,
-0.03079147,
0.0234831,
0.012690505,
0.0012304549,
0.03708007,
0.04809928,
-0.04685289,
0.0024467465,
0.008845112,
0.02005553,
-0.018242601,
0.008016546,
0.03458729,
-0.009864884,
-0.03991277,
-0.009185037,
-0.049458977,
-0.026287474,
-0.01997055,
-0.0385814,
-0.019588135,
0.069514506,
-0.04076258,
-0.07523657,
-0.015990604,
-0.039601173,
-0.0029513214,
-0.020508762,
-0.00915671,
0.067305,
0.015112465,
0.0084556155,
-0.044076845,
0.045974754,
-0.0033124909,
0.037419993,
0.016415508,
-0.047702704,
0.058240354,
0.007170277,
0.00078518956,
-0.026938995,
0.024021313,
-0.017987657,
-0.01287463,
-0.017279482,
0.052121717,
0.036768474,
0.015154956,
0.019021595,
-0.0015287739,
-0.002227212,
-0.05512438,
0.03385079,
0.03022493,
0.0013924501,
0.017180339,
0.0007245521,
0.010445588,
-0.018228438,
-0.030734817,
-0.011734468,
-0.0055308505,
-0.0060301144,
0.03849642,
-0.030451547,
0.043396994,
0.038723037,
-0.00601241,
0.011762795,
-0.042717148,
-0.030111622,
0.029771699,
0.03249109,
0.042915434,
-0.045379885,
-0.008979665,
-0.017449444,
0.0043163295,
0.029318465,
0.023780534,
0.066341884,
0.0070321825,
0.0009303656,
-0.010339363,
0.0028663403,
0.042348895,
0.016911231,
-0.01997055,
0.026754871,
-0.028482819,
-0.06441564,
0.05200841,
0.04107418,
0.04809928,
-0.0063771205,
0.074953295,
0.014673396,
0.016769595,
0.055662595,
0.033284247,
0.0064939694,
-0.043595284,
0.01981475,
-0.004050764,
0.04059262,
-0.048042625,
-0.052065063,
-0.0077616037,
0.008243163,
-0.04402019,
0.03804319,
-0.005959297,
0.0052440395,
-0.052461643,
0.017194502,
-0.04656962,
-0.044813346,
-0.044558402,
-0.0023316678,
0.031839572,
-0.01795933,
0.012817977,
-0.036910105,
0.047617722,
0.017137848,
-0.035323795,
-0.038553074,
-0.010133991,
0.0028751926,
-0.03249109,
0.036910105,
0.04790099,
-0.03251942,
-0.00282385,
-0.061073054,
-0.04419015,
-0.012293926,
-0.006717045,
0.00032730986,
0.015353245,
-0.010587224,
0.024998596,
0.018865796,
0.03555041,
0.0050847,
-0.0019722688,
-0.024361238,
0.0101694,
-0.05829701,
0.031103069,
-0.015990604,
-0.02057958,
-0.036286913,
0.018653343,
0.018455053,
-0.0112033365,
0.03424737,
0.050082173,
-0.020126348,
-0.031103069,
0.013943976,
0.013342027,
-0.0059486744,
0.03013995,
0.014900013,
0.0118761035,
-0.0097657405,
0.0318679,
0.010990884,
0.00034390774,
-0.0347006,
0.004018896,
-0.02271827,
-0.005895561,
-0.012633851,
0.009248772,
-0.0025264162,
0.0028663403,
-0.020452108,
0.0011127208,
-0.0707609,
-0.026485763,
-0.01844089,
-0.0025281867,
0.028624455,
0.031839572,
-0.015197447,
-0.01872416,
-0.066851765,
-0.0018501085,
-0.006862221,
0.0035497297,
-0.021174448,
0.035295468,
0.00072366686,
0.042745475,
-0.020437945,
-0.017166175,
0.024672834,
-0.0050669955,
-0.01872416,
-0.044926655,
0.002473303,
0.021613516,
-0.026655726,
-0.0058247433,
-0.007287126,
-0.019899732,
0.030508202,
0.013943976,
-0.009857803,
-0.01492834,
-0.013278291,
-0.052348334,
0.03860973,
-0.009277099,
-0.05282989,
-0.006394825,
0.037873227,
-0.012244354,
0.010558897,
0.037278358,
-0.0034116355,
0.0010773119,
-0.019843077,
0.04260384,
-0.03926125,
0.00093390647,
-0.024602016,
-0.045096617,
0.005318398,
0.024927778,
0.0087742945,
-0.053679705,
-0.021939278,
-0.042037297,
0.0016482784,
-0.00988613,
-0.0029265352,
0.011373298,
-0.002308652,
-0.0336525,
0.049572285,
-0.020183003,
0.007797012,
-0.016273873,
-0.011975247,
0.049402323,
0.06226279,
-0.04240555,
0.0028681108,
-0.00629568,
-0.025961714,
0.027123122,
0.02723643,
-0.009857803,
0.045889772,
-0.06209283,
0.010488079,
-0.027576353,
-0.033170942,
-0.04818426,
0.022491654,
0.03611695,
-0.050082173,
-0.03441733,
-0.008498106,
0.068721354,
0.032349456,
0.041300796,
-0.03212284,
0.0022820956,
-0.027023977,
-0.039516192,
0.030678162,
-0.019956386,
-0.025508482,
-0.018979104,
0.003958701,
0.05373636,
-0.06435899,
0.031726263,
0.06401907,
0.0058212024,
0.010233136,
-0.033765808,
-0.0016119845,
-0.021896787,
-0.035748698,
-0.014234328,
-0.0074500064,
-0.06775823,
0.010049011,
-0.06719169,
-0.06815481,
-0.035295468,
0.032066185,
0.06968447,
-0.021698497,
0.02409213,
0.013462416,
0.002227212,
-0.052433316,
0.005895561,
0.019460663,
0.017180339,
0.005927429,
0.044926655,
0.011656568,
0.022548309,
-0.041045852,
-0.020607907,
0.009163791,
0.053254798,
0.0044190153,
-0.04563483,
0.009864884,
0.0057078945,
-0.023171503,
-0.028242039,
0.05569092,
-0.021089466,
0.0014676937,
-0.013547397,
0.0074216793,
0.038723037,
-0.036938433,
-0.006681636,
0.027123122,
-0.02324232,
-0.017647734,
0.027548026,
0.0137952585,
0.031726263,
0.034955543,
0.039147943,
-0.051753465,
0.029913332,
-0.041952316,
-0.023355627,
-0.025834242,
-0.031074742,
0.03659851,
-0.000107166874,
0.030593181,
0.038836345,
-0.0031779376,
0.03447398,
-0.013469498,
-0.0018049623,
0.032774363,
-0.04107418,
-0.070987515,
-0.02666989,
0.024318747,
-0.016174728,
-0.007945729,
-0.027250594,
0.025593463,
0.022279201,
0.053821336,
-0.007889075,
-0.09143962,
0.026202494,
-0.0019085329,
-0.026046695,
0.01081384,
-0.027633008,
-0.032434437,
0.0071596545,
-0.03821315,
-0.0075916415,
-0.021117793,
-0.0069188746,
-0.040932544,
0.012038983,
-0.033142615,
0.014135183,
-0.024177112,
-0.032916,
-0.017548589,
-0.008427288,
-0.0015305443,
0.025366846,
-0.014326391,
-0.01295253,
-0.0053325617,
0.012768405,
-0.017534425,
0.012846303,
-0.029233485,
-0.028242039,
0.005498983,
-0.011670732,
0.004103877,
0.02186846,
0.044813346,
-0.04427513,
0.0004895263,
0.04115916,
-0.0021015108,
-0.042518858,
0.031216376,
0.06362249,
-0.03591866,
0.03841144,
-0.04744776,
0.011727386,
-0.03447398,
-0.04515327,
0.002251998,
-0.0125134615,
0.009631187,
0.03393577,
0.012031902,
0.04438844,
0.016089747,
0.019276537,
0.016401345,
0.033907443,
0.0033602929,
-0.005831825,
0.038751364,
0.0058495295,
-0.029035196,
-0.018015984,
0.023709716,
-0.003700217,
-0.010976721,
0.0047553987,
0.03319927,
-0.02817122,
-0.010325199,
0.021401064,
0.0077616037,
0.03809984,
0.03232113,
-0.028256202,
0.02021133,
0.0143051455,
-0.02723643,
0.011642405,
-0.020367127,
-0.05846697,
0.042632166,
-0.005120109,
-0.0021617056,
-0.02812873,
-0.036173604,
-0.008568924,
-0.008285654,
0.03138634,
-0.0074995784,
0.02574926,
0.013837749,
-0.0058459886,
-0.009673677,
-0.050308786,
-0.006614359,
0.01444678,
-0.029545082,
-0.014956666,
0.00843437,
0.047617722,
0.02699565,
-0.0125134615,
-0.06758827,
-0.027392229,
0.0054777376,
0.032859344,
0.00061965355,
-0.0001783717,
-0.031584628,
0.022109238,
-0.034558963,
0.010027765,
-0.033709154,
0.043566957,
0.01662796,
0.004326952,
0.033709154,
0.032434437,
0.012534707,
-0.0005081159,
-0.038439766,
0.057107273,
0.0066356044,
-0.0063842023,
0.0014951355,
0.039062962,
0.023185667,
0.0396295,
0.002037775,
0.010792594,
0.014347636,
0.020098021,
0.006472724,
-0.020466272,
0.01375985,
0.02651409,
0.016783759,
-0.02247749,
-0.0012995021,
-0.03716505,
0.0042915437,
-0.0050563733,
0.03135801,
0.035012197,
-0.0125134615,
-0.02985668,
-0.039657827,
-0.0049855555,
0.023143176,
-0.03308596,
-0.018455053,
0.06129967,
0.017874349,
0.018143456,
0.06254606,
0.0042065624,
0.039572846,
0.03232113,
0.021967605,
0.022364182,
0.021542698,
0.0024361238,
-0.0031779376,
0.025862569,
-0.06889132,
-0.0020607908,
-0.010594306,
0.010133991,
-0.027717989,
0.05654073,
-0.0022573094,
-0.021585189,
0.022321692,
-0.010480997,
-0.038524747,
-0.033680826,
0.026698217,
-0.04931734,
0.038071513,
0.042575512,
-0.04107418,
-0.026627399,
0.020707052,
-0.008533515,
0.04458673,
0.006292139,
0.06741831,
0.012640933,
0.07144074,
0.039487865,
-0.012123965,
0.023695553,
-0.008491024,
0.02784546,
-0.058127046,
-0.029488428,
0.00024542707,
0.018894123,
-0.0275197,
-0.019304864,
0.009652432,
0.042717148,
-0.040734254,
-0.021896787,
0.004245512,
0.021131957,
0.032009535,
-0.0057433033,
0.044076845,
-0.008306899,
-0.0006448823,
-0.0263158,
0.030678162,
-0.027491374,
-0.020692889,
-0.057617158,
0.04713616,
-0.008894685,
-0.060676478,
0.008413125,
-0.02804375,
-0.011344971,
-0.014659232,
-0.022675779,
-0.03795821,
0.03954452,
0.004475669,
0.060336553,
0.024077967,
-0.036825128,
-0.024134621,
0.07886242,
0.01295253,
-0.017010376,
0.09500883,
0.037589956,
-0.021160284,
-0.0033638335,
0.0118761035,
-0.00011341873,
-0.01610391,
-0.026981486,
0.0024998595,
-0.005814121,
-0.032547746,
-0.08685064,
-0.0025157935,
0.099881075,
0.03280269,
-0.013646542,
-0.007839503,
0.021202775,
-0.066851765,
0.0015871983,
-0.017208666,
0.019800587,
0.010176482,
-0.006709963,
0.023851352,
-0.060109936,
0.23545419,
0.0466546,
0.03373748,
0.03631524,
0.031046415,
0.04458673,
-0.0019545644,
-0.008937174,
0.024686998,
-0.06413237,
0.04334034,
-0.01569317,
-0.021287756,
0.00004614206,
-0.044445094,
0.06084644,
-0.028666945,
0.04059262,
-0.009376244,
0.010728858,
-0.018752487,
0.047391105,
0.0047872663,
0.04611639,
-0.011337889,
-0.0031442991,
0.011026293,
-0.026896505,
-0.003239903,
-0.055181034,
0.011691977,
-0.05475613,
0.008788458,
-0.006072605,
-0.0036825126,
0.02852531,
0.005357348,
-0.060676478,
-0.008441452,
0.011479525,
-0.030536527,
-0.023298973,
0.039657827,
0.015197447,
-0.037278358,
0.020792034,
-0.0016845724,
0.0072163083,
0.05455784,
-0.06345253,
0.036655165,
-0.02461618,
0.008632659,
-0.055237688,
-0.039799463,
-0.039204597,
-0.032944325,
-0.049062397,
-0.0035320253,
0.028270366,
0.0010967868,
0.0038029025,
-0.009220445,
0.006511674,
-0.025026923,
0.014319309,
0.005346725,
0.047277797,
-0.051781792,
-0.030309912,
0.041414104,
-0.0032009534,
-0.009220445,
-0.012888794,
-0.023539754,
0.035352122,
0.013490743,
0.049289014,
0.01166365,
-0.048354223,
0.017973494,
0.010431425,
-0.02828453,
-0.0132499635,
0.011245827,
0.06345253,
-0.02130192,
0.025352683,
-0.01706703,
0.011649487,
0.026953159,
0.0013712049,
0.029148504,
-0.012216028,
0.007910321
] | Before you begin, install 🤗 Datasets so you can load some datasets to experiment with:
pip install datasets
Natural Language Processing
The main tool for preprocessing textual data is a tokenizer. A tokenizer splits text into tokens according to a set of rules. The tokens are converted into numbers and then tensors, which become the model inputs. Any additional inputs required by the model are added by the tokenizer. |
[
0.009508875,
0.00023022221,
0.012187825,
0.008811232,
-0.010129777,
-0.052797627,
0.027794098,
-0.0011929696,
-0.027417373,
0.056732334,
-0.0047509493,
0.026691822,
-0.0019534004,
-0.017678276,
-0.022129238,
-0.047969937,
-0.025101198,
-0.050007053,
-0.026147662,
-0.011818074,
0.004492821,
0.019492147,
-0.07099216,
-0.032203205,
-0.022087378,
0.03834246,
-0.009571663,
0.004245158,
0.044314288,
0.029607972,
0.013115689,
0.032147393,
0.004939313,
-0.033542678,
-0.023998922,
-0.029189385,
0.02437565,
-0.042807378,
-0.031226503,
-0.011036713,
0.009648403,
0.0068787606,
0.0047090906,
-0.031142786,
-0.04769088,
-0.021431595,
-0.018934032,
0.007436875,
-0.00955771,
-0.043616645,
-0.016506234,
0.005085818,
0.07300137,
0.029859122,
-0.032510165,
-0.0088600665,
-0.0028882422,
0.004210276,
-0.024515176,
-0.0028708011,
0.015152807,
0.024082638,
-0.023510572,
-0.031812523,
-0.013638922,
0.011378558,
0.0014231919,
0.011308794,
-0.031784616,
-0.0153341945,
-0.027584806,
0.03131022,
-0.0061008884,
-0.009787932,
-0.05544867,
-0.014183084,
0.0110227605,
-0.011504134,
-0.04213764,
0.0648529,
-0.024794234,
0.017678276,
-0.018027097,
0.002886498,
0.009662356,
-0.059662435,
0.029970746,
-0.0038684306,
0.016101602,
-0.04774669,
0.006659003,
0.03164509,
-0.020217696,
0.0124808345,
0.04526308,
0.0507047,
-0.0016891683,
0.0507326,
-0.014127272,
-0.010897185,
0.041188847,
0.043225963,
-0.04135628,
0.038788956,
0.019324712,
0.018710786,
0.05048145,
0.012201777,
-0.053634796,
0.013757521,
-0.019534005,
-0.03398917,
0.0072833933,
-0.013436605,
-0.03652859,
0.033933356,
0.015417911,
0.01545977,
-0.03150556,
-0.00094879454,
0.018501494,
-0.024487272,
-0.012529669,
-0.0399889,
-0.02501748,
-0.064685464,
0.019631676,
0.033486865,
-0.0473002,
0.00906936,
0.041663244,
0.009976296,
0.03013818,
0.003207414,
-0.0016481817,
0.032231107,
-0.008797279,
-0.027654571,
0.036444873,
-0.04130047,
0.00379169,
-0.024543082,
-0.020636281,
0.08008942,
0.027682476,
-0.028854517,
0.014552834,
0.072443254,
-0.024445413,
0.02736156,
-0.071159594,
-0.017524794,
0.012578504,
0.031533465,
-0.032147393,
-0.0031585789,
0.012878491,
-0.017887568,
-0.025715124,
0.013541251,
0.036975082,
0.022017615,
0.0067985314,
0.044091042,
-0.010499528,
0.044593345,
-0.03627744,
-0.052379042,
0.01131577,
-0.045374703,
0.035858855,
-0.012487811,
0.03136603,
0.026942974,
0.030835822,
-0.0043498045,
0.04428638,
0.0071996762,
0.015934167,
0.046993237,
-0.009111218,
0.019282853,
-0.013415676,
0.039877277,
0.011106477,
0.01270408,
0.014887703,
-0.034910057,
-0.029133573,
-0.002103394,
0.05865783,
0.046881612,
-0.0012461649,
0.0089368075,
0.00699736,
0.004489333,
-0.025673265,
0.010834397,
-0.009669333,
-0.072889745,
-0.026398813,
0.029301008,
-0.008190329,
0.04163534,
-0.010555339,
-0.011880862,
0.025491877,
0.06368086,
-0.057709035,
0.0009365858,
0.005134653,
0.019101467,
-0.016576,
0.02282688,
-0.00029628028,
-0.015278383,
-0.038398273,
0.046407215,
-0.012494787,
0.004810249,
-0.033738017,
0.018250342,
0.017357359,
0.036110006,
-0.047439728,
-0.06948525,
0.010959973,
0.04618397,
0.01858521,
0.029859122,
0.02585465,
0.03502168,
0.015278383,
0.05480684,
0.0028551042,
0.0497559,
0.054555688,
0.03691927,
-0.00037999745,
-0.008148471,
-0.013492417,
0.02955216,
0.042053923,
0.016338801,
-0.013234288,
0.035440266,
-0.0025132592,
0.019059608,
-0.041384187,
0.029580066,
-0.020022355,
0.061560024,
0.035049587,
0.006299717,
-0.038007595,
-0.043142248,
0.027389467,
0.07082472,
-0.028142922,
-0.028561506,
0.02511515,
0.024403553,
0.03814712,
-0.0004486717,
0.040351674,
-0.0058706664,
0.026412766,
0.020608377,
-0.023691958,
-0.037393667,
-0.01663181,
-0.050258204,
-0.057541598,
0.0011301817,
-0.03541236,
-0.045039836,
-0.011615757,
-0.052490663,
-0.017594557,
-0.04559795,
-0.008741467,
-0.029440537,
-0.024026826,
0.060778663,
0.03156137,
0.0068857367,
-0.044091042,
0.0021749022,
-0.028142922,
0.060778663,
-0.040212147,
0.029384725,
-0.029384725,
-0.008315905,
0.013687757,
0.0011310538,
0.009194936,
-0.010478599,
-0.0216967,
0.0053892927,
-0.024626799,
0.019422382,
-0.008999595,
-0.0071996762,
-0.02784991,
0.022324577,
0.058992695,
-0.04350502,
0.036779743,
0.035719324,
-0.020259554,
0.027249938,
-0.007632215,
0.008315905,
-0.031617183,
0.029914934,
0.025715124,
0.014427259,
-0.002605697,
-0.023915203,
-0.028770799,
0.02058047,
-0.017413171,
-0.031338125,
-0.0080926595,
0.023622194,
0.0147063155,
-0.054695215,
0.022073425,
-0.036110006,
-0.022840833,
-0.005117212,
-0.0051276763,
0.042556226,
0.018250342,
0.0015339426,
-0.009194936,
-0.06150421,
0.008197306,
0.03633325,
0.02136183,
-0.049979147,
0.015864404,
0.019924685,
-0.0027923163,
0.014748174,
0.024250073,
-0.018487541,
-0.009767002,
-0.011783191,
0.019464241,
0.02531049,
0.039877277,
0.01614346,
0.048639674,
0.039821465,
-0.04741182,
0.021250207,
0.045430515,
0.02263154,
0.016771339,
0.00846241,
0.0058392724,
-0.0070775887,
-0.0027522019,
-0.037923876,
-0.003535306,
0.026622059,
0.02750109,
-0.029468443,
0.025924416,
0.024947716,
-0.018780552,
0.0060694944,
-0.020915339,
-0.010353023,
0.05759741,
-0.023817534,
0.06390411,
-0.029607972,
-0.0024347743,
-0.013318006,
0.011525063,
0.026859257,
0.029607972,
0.063178554,
0.009278652,
-0.004747461,
-0.013931932,
-0.012292471,
0.014029602,
0.00024548316,
-0.015306288,
-0.007827555,
-0.057820655,
-0.04403523,
0.011406464,
0.021501359,
0.056704428,
0.00987165,
0.03351477,
-0.010513481,
0.012543622,
0.031393938,
0.0044160807,
-0.0011764006,
-0.025924416,
0.07171771,
0.013122666,
0.0056474204,
-0.043365493,
0.018878222,
-0.03516121,
0.021808323,
0.036975082,
0.0031672996,
-0.009055407,
0.018780552,
0.033124093,
0.010283259,
-0.035775136,
-0.019617723,
-0.012145965,
0.012738962,
0.05271391,
-0.035858855,
0.0031795083,
0.0142668,
-0.0011136127,
0.036612306,
-0.0055497503,
-0.033738017,
-0.008818208,
-0.026984833,
-0.06742022,
-0.005326505,
0.052490663,
0.005253252,
0.021808323,
-0.030110274,
0.025254678,
-0.027961534,
-0.014085413,
-0.008915878,
0.005075353,
-0.025143055,
-0.026133709,
0.027194126,
-0.02292455,
-0.054695215,
0.035775136,
-0.052686002,
0.003941683,
-0.010018154,
0.022324577,
-0.02136183,
-0.022561776,
0.024947716,
0.03457519,
0.0062613464,
-0.036305346,
0.005357899,
0.0018260807,
-0.017664323,
-0.062285572,
0.013938908,
0.014845844,
-0.02224086,
0.01702249,
-0.026608106,
0.0038544778,
0.0029196362,
-0.007206653,
0.01999445,
-0.026203474,
-0.028770799,
0.014762127,
-0.023022221,
-0.0057241614,
0.025589548,
-0.008887973,
0.03993309,
0.010220471,
-0.034212414,
-0.04071445,
-0.051123284,
0.019366572,
-0.017971285,
-0.028714988,
0.006446222,
0.008964714,
-0.022743164,
-0.0031202086,
-0.061615836,
0.0028394072,
-0.00635204,
-0.032007862,
-0.03384964,
0.057011392,
0.049225695,
0.027319701,
-0.010471622,
-0.047774598,
0.027626665,
-0.020245602,
0.016841104,
-0.026370907,
-0.028659176,
-0.0019534004,
-0.010862302,
-0.007841508,
0.017971285,
-0.021403689,
-0.0030835823,
0.015669063,
0.001750212,
0.017106207,
-0.002886498,
-0.04370036,
0.0643506,
-0.020008402,
-0.06976431,
-0.009836767,
0.026468577,
0.016785292,
0.02028746,
0.019129373,
-0.037589006,
-0.034212414,
-0.02955216,
0.019952592,
-0.020650234,
-0.007674074,
-0.05257438,
-0.025296537,
0.00009685248,
0.031338125,
-0.02955216,
-0.11541807,
0.0061043766,
-0.03940288,
0.024947716,
0.0015801615,
0.008427528,
-0.011797144,
-0.022464106,
-0.0033783366,
0.024836093,
0.018110814,
0.014929561,
-0.0014537137,
-0.025715124,
0.0044125924,
0.06379248,
-0.06591331,
0.012292471,
-0.0059264777,
-0.002736505,
-0.022394342,
0.00214002,
-0.016296942,
0.025561642,
-0.036500685,
0.0037812253,
-0.05955081,
-0.013352888,
-0.043616645,
0.010443716,
0.018710786,
-0.031617183,
-0.049337316,
-0.045877006,
0.045877006,
0.03711461,
0.0414679,
-0.014162154,
-0.021054868,
-0.07830346,
-0.05871364,
0.01516676,
-0.013904026,
0.00006529503,
0.008155447,
0.0056264913,
0.07969874,
-0.03306828,
0.010485576,
0.06937362,
-0.009097265,
0.021431595,
-0.041579526,
0.034017075,
0.0010316396,
-0.038649425,
0.032203205,
-0.00020002734,
-0.047439728,
0.0065508685,
-0.008455434,
-0.008274047,
-0.041858584,
0.019492147,
0.07813602,
-0.056202125,
0.0507326,
-0.020357225,
-0.049532656,
-0.0468258,
0.03566351,
0.0113297235,
0.027640618,
0.045067742,
0.0063380874,
0.022757117,
-0.005877643,
-0.0056788144,
-0.019338666,
-0.009285629,
0.05062098,
0.0115599455,
0.009997225,
0.033570584,
0.023482665,
-0.05251857,
-0.041719053,
0.019687487,
-0.0029301008,
-0.041970205,
-0.03959822,
0.020259554,
-0.0062962286,
-0.042053923,
0.008225212,
0.03281713,
-0.025268631,
0.015501629,
-0.009125171,
0.008908901,
-0.026663918,
0.059606623,
0.032928754,
-0.0013917979,
0.015710922,
-0.0794755,
0.005186976,
-0.017692229,
0.018557305,
0.05569982,
0.03131022,
0.03931916,
0.034268226,
0.005574168,
0.08812627,
-0.05569982,
-0.03287294,
0.017929427,
-0.044398002,
-0.022952456,
-0.008790302,
0.008441481,
0.0035056563,
0.007014801,
-0.010025131,
-0.01965958,
-0.015138854,
0.0502303,
-0.0025150033,
-0.06116934,
0.0531604,
-0.025240725,
-0.048639674,
-0.008908901,
-0.044509627,
-0.0297475,
0.014664457,
-0.020343272,
-0.039626125,
-0.03834246,
-0.00975305,
-0.057764843,
-0.03058467,
-0.031282313,
0.009006572,
-0.049588468,
-0.0014694107,
-0.018613117,
-0.01868288,
-0.0103948815,
-0.028115015,
-0.012264565,
-0.018501494,
-0.042193454,
0.034631003,
-0.0010229191,
0.006753185,
-0.0068962015,
-0.035775136,
-0.005996242,
-0.0044858446,
-0.0059857774,
0.0036347203,
0.033431057,
-0.023524525,
0.0036033264,
-0.020273507,
-0.005909037,
-0.020524658,
0.009648403,
0.035189115,
-0.024696564,
0.013652874,
-0.029719595,
0.0041405116,
-0.06211814,
-0.02394311,
-0.037477385,
-0.007471757,
0.019324712,
0.013848214,
0.032398544,
0.030780012,
0.016701575,
0.019394478,
-0.0031620672,
0.018836362,
0.02745923,
-0.000078212324,
-0.0011764006,
-0.012920349,
0.032984562,
-0.0011223332,
0.010715798,
0.007339205,
-0.028798705,
0.024654705,
-0.01350637,
-0.032845035,
-0.05849039,
0.030054463,
-0.0027626664,
0.020789763,
0.013722639,
-0.0443701,
-0.0043916632,
0.020106073,
-0.01598998,
0.019882826,
-0.041942302,
-0.030110274,
0.013945885,
-0.031868335,
0.0106251035,
-0.03273341,
-0.027961534,
-0.011532039,
0.0040847003,
0.020594424,
0.014071461,
0.06496452,
-0.00086943764,
0.034463566,
-0.03443566,
0.01799919,
-0.0059718248,
0.021236254,
-0.021250207,
-0.025045386,
0.018278249,
0.033235714,
-0.002446983,
-0.010255353,
-0.04788622,
0.014252848,
0.009480969,
0.02482214,
-0.012690127,
0.019520052,
-0.05982987,
0.0226734,
-0.042305075,
-0.000019089803,
-0.01061115,
0.025952322,
0.0035387943,
0.033877548,
0.0018557305,
0.025715124,
0.04724439,
-0.015431864,
0.021250207,
0.031086974,
0.02609185,
-0.017817803,
-0.00048050165,
-0.016827151,
0.016869009,
0.049253598,
0.040212147,
-0.022589682,
0.033375245,
0.021822276,
-0.034937963,
-0.007422922,
0.022199001,
-0.02282688,
-0.00560905,
0.0040951646,
-0.025380254,
-0.020203743,
-0.021278113,
0.0000074942127,
0.009878626,
-0.0011153568,
-0.015696969,
-0.013666827,
-0.061615836,
0.006310181,
0.0038788954,
-0.017789898,
-0.009348417,
-0.031393938,
0.03111488,
0.04866758,
0.012166895,
-0.020706046,
0.04169115,
0.016171366,
0.0057416023,
0.033738017,
-0.027626665,
0.036305346,
0.0071194475,
0.024473319,
-0.03262179,
-0.019185184,
0.019157277,
-0.009487946,
-0.0697085,
0.030556766,
-0.012927325,
-0.011832026,
0.027738288,
-0.048807107,
-0.009585615,
-0.026496483,
0.034351945,
-0.009571663,
-0.0075415215,
0.019966545,
-0.032119486,
-0.03175671,
0.021515312,
-0.0321753,
0.025589548,
-0.0030696294,
0.06887132,
0.045877006,
0.073559485,
0.038788956,
-0.004569562,
0.02916148,
0.0050265184,
0.0041684173,
-0.023887299,
0.011573899,
-0.013318006,
0.0049811713,
-0.034882154,
-0.02067814,
-0.022031568,
0.035049587,
-0.032649696,
-0.025491877,
0.010401858,
-0.01272501,
-0.029189385,
0.006397387,
0.06892713,
-0.019840969,
0.014176107,
-0.017315501,
0.03717042,
-0.037589006,
-0.019087514,
-0.024222167,
0.023510572,
-0.006711326,
-0.08120565,
-0.0090135485,
-0.040798165,
-0.004112606,
-0.0234129,
0.002818478,
-0.0053718514,
0.026622059,
0.027054599,
-0.010708821,
0.018334059,
-0.0050334944,
-0.006857831,
0.072052576,
0.028170826,
-0.0039277305,
0.08265675,
0.0517093,
-0.028714988,
0.035970476,
0.00010017718,
0.03778435,
-0.0012984881,
0.041663244,
-0.016771339,
-0.00031045117,
-0.035914663,
-0.050202396,
-0.037672725,
0.047830407,
0.030612577,
-0.012731986,
-0.044398002,
-0.0021592053,
-0.04989543,
-0.027208079,
-0.039709844,
0.026691822,
0.014315636,
0.021110678,
0.008971689,
-0.053327836,
0.23038964,
0.05715092,
0.035607703,
0.010973926,
-0.00049837877,
0.048946638,
0.012585481,
-0.038314555,
-0.003320781,
-0.008504269,
0.0153621,
-0.010799514,
0.028324308,
0.040435392,
0.019757252,
0.033961263,
-0.048360616,
-0.0077089556,
-0.016227178,
-0.033933356,
-0.04526308,
0.042639945,
0.014720269,
0.026566248,
0.03750529,
-0.03404498,
0.04704905,
-0.01960377,
-0.039960995,
-0.030696295,
0.04180277,
0.0076043094,
0.012857562,
-0.026942974,
-0.010939043,
0.012822679,
-0.026510436,
-0.03876105,
-0.0013970302,
0.009460039,
0.008155447,
-0.027905723,
-0.0037289022,
-0.0074159456,
-0.028491743,
0.013534275,
-0.0019673535,
0.04545842,
0.034351945,
-0.059271753,
-0.015208619,
-0.006934572,
0.053578988,
-0.022212954,
-0.053244118,
0.02652439,
-0.010366975,
-0.015738828,
-0.03175671,
0.0399889,
-0.026649965,
0.041579526,
0.02165484,
-0.04325387,
-0.048053652,
0.054639403,
-0.0050439592,
0.052602287,
-0.031672996,
0.014817938,
-0.022073425,
0.012222706,
0.00052061613,
-0.037282046,
0.027752241,
0.04325387,
-0.008929831,
0.0351054,
0.05179302,
-0.03273341,
0.007911272,
-0.011525063,
-0.05081632,
-0.023887299,
-0.009160053,
0.07969874,
-0.038398273,
0.03058467,
0.01594812,
0.023719864,
0.014762127,
0.030780012,
0.008148471,
-0.026929023,
-0.0027260403
] | Then pass your text to the tokenizer:
encoded_input = tokenizer("Do not meddle in the affairs of wizards, for they are subtle and quick to anger.")
print(encoded_input)
{'input_ids': [101, 2079, 2025, 19960, 10362, 1999, 1996, 3821, 1997, 16657, 1010, 2005, 2027, 2024, 11259, 1998, 4248, 2000, 4963, 1012, 102],
'token_type_ids': [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
'attention_mask': [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1]} |
[
0.030563097,
-0.0011147205,
-0.00519615,
-0.022153307,
0.025864339,
-0.015055782,
0.0047587277,
0.0020266043,
-0.013461309,
0.033074744,
0.013863455,
0.011528186,
0.032312784,
-0.048765495,
0.001670317,
0.028277215,
-0.006197987,
-0.019063132,
-0.05000721,
-0.01828706,
0.0030213865,
0.017722646,
-0.058924973,
-0.03428824,
-0.05150291,
-0.014166828,
0.030083343,
-0.002456971,
0.056893077,
0.027952675,
-0.03502198,
-0.00839568,
-0.003901522,
-0.015069893,
-0.017637983,
-0.020742267,
0.04083546,
-0.045125015,
-0.031607267,
-0.024199313,
0.012692292,
0.022181528,
0.03180481,
-0.016325718,
-0.065980166,
0.017976632,
0.011104874,
-0.032284565,
-0.0422465,
-0.0038168596,
-0.02191343,
0.013665909,
0.027966786,
0.015479094,
-0.008557949,
-0.030421993,
0.004861028,
0.004617624,
-0.0068082614,
-0.032820757,
-0.005270229,
0.026866175,
-0.026795624,
-0.027430592,
0.0044800476,
-0.010046595,
-0.044814587,
-0.03620725,
-0.036348354,
-0.022957599,
-0.06281944,
-0.016988905,
0.0062897047,
-0.01897847,
-0.019796873,
0.009439848,
0.029885799,
-0.009658559,
0.008106417,
0.0244533,
0.017750867,
0.028432429,
0.027289487,
-0.024749618,
-0.0036933937,
-0.029377826,
0.04018638,
-0.019458223,
-0.0052525913,
-0.043036677,
-0.039226875,
0.05522805,
-0.06558508,
0.0207846,
0.046959367,
0.062650114,
-0.009404573,
0.056385104,
0.013616523,
0.008967151,
0.029772915,
0.10927083,
-0.018371724,
0.042641588,
0.0017708535,
-0.003035497,
0.014858237,
-0.015182775,
-0.05813479,
-0.019274788,
0.023818333,
-0.004233116,
0.030252669,
-0.029970462,
-0.0029331965,
0.017680313,
-0.03104285,
0.016537372,
-0.06101331,
-0.04588698,
-0.013447198,
0.01571897,
-0.0010485781,
-0.046818264,
0.014660692,
-0.034147136,
-0.012247816,
0.048059978,
0.0030390245,
0.017242892,
0.023141034,
0.0006182113,
0.024622625,
0.04597164,
-0.03061954,
-0.011972663,
-0.026499305,
0.026202988,
0.0040108776,
-0.0154226525,
-0.014420815,
0.014900568,
-0.017285224,
0.052857507,
0.007922982,
-0.036630563,
0.029293163,
-0.084154345,
0.0039226874,
0.034824435,
-0.050571624,
-0.017299334,
-0.024707288,
-0.009863161,
-0.081501596,
0.0061697667,
-0.022491956,
0.030139785,
-0.010956715,
0.023818333,
-0.011429413,
-0.014209159,
-0.026047774,
0.036912773,
0.057457495,
0.059320066,
-0.033046525,
-0.006444919,
0.0060357177,
-0.044617042,
0.0119585525,
-0.00804292,
0.0051044323,
0.00029433385,
0.039085772,
0.022110976,
0.031889472,
-0.0009127656,
-0.017906081,
-0.0104557965,
-0.004039098,
-0.029293163,
0.041456316,
0.007781878,
-0.041512758,
-0.014209159,
0.01441376,
0.030196227,
0.03389315,
0.02112325,
0.014872347,
0.044419497,
-0.012925114,
0.008303963,
-0.03358272,
-0.016918354,
-0.047552,
-0.0018766813,
0.02009319,
-0.013877565,
-0.032679655,
0.004367165,
-0.031776592,
0.00009381202,
-0.027769241,
0.0025892558,
-0.0108579425,
0.040299263,
-0.019190125,
0.039311536,
0.024933053,
0.015930627,
-0.0074714497,
0.0034940843,
0.0036404796,
-0.045717653,
-0.0105969,
0.01858338,
0.00078224455,
-0.00612038,
0.0270355,
-0.00893893,
0.059320066,
0.0006340855,
0.042190056,
0.052264873,
0.00858617,
0.041343432,
0.053958118,
0.048313964,
0.008092307,
0.056780197,
0.023959436,
0.04309312,
0.018329391,
0.027882123,
0.07969546,
0.026329981,
-0.0026792097,
0.007972368,
0.005072684,
0.02772691,
0.012353644,
0.038944665,
-0.029123837,
-0.024298085,
0.0021553615,
-0.0040814294,
-0.009348131,
-0.004134343,
-0.017271113,
0.013715296,
0.043290667,
-0.010342914,
-0.017017126,
-0.034006033,
-0.012078491,
0.013207322,
0.0009577425,
-0.029406045,
0.029293163,
0.050204754,
0.013785847,
-0.0029349604,
0.034767993,
0.057711482,
0.009122365,
0.01825884,
-0.024298085,
-0.022506066,
-0.023253918,
-0.045040354,
-0.053817015,
0.005263174,
-0.01241714,
0.012043214,
-0.014759464,
-0.061972816,
0.002936724,
-0.0021130303,
-0.036009707,
-0.0014066291,
-0.04261337,
0.07326113,
0.049075924,
0.0042789746,
-0.036037926,
-0.014576029,
0.032284565,
0.031494383,
0.009439848,
-0.06462557,
-0.027543474,
-0.02299993,
-0.010815611,
0.0024552073,
0.014533698,
-0.0013845817,
-0.04707225,
0.025949001,
-0.020544723,
0.01279812,
-0.015239217,
0.034175355,
0.0039332705,
0.029406045,
0.0017549794,
-0.036940992,
0.024650846,
0.030450214,
-0.0124947475,
0.029462487,
-0.0023987656,
0.039537303,
-0.0038274424,
0.033413395,
0.028234884,
-0.014773575,
-0.030901747,
-0.013567137,
-0.03442934,
-0.015239217,
-0.020544723,
-0.030026902,
-0.01604351,
0.08460588,
-0.0408919,
-0.07969546,
-0.032002356,
-0.036940992,
-0.00933402,
-0.028545313,
-0.0060286624,
0.04492747,
0.026781514,
0.030591318,
-0.039255094,
0.066375256,
-0.006197987,
0.0321999,
0.014357318,
-0.02005086,
0.055651363,
0.03366738,
-0.0164386,
-0.028531201,
0.03753363,
-0.022844715,
0.023126923,
0.0077959886,
0.023874775,
0.0059828036,
-0.009983098,
0.018202398,
0.00066054246,
0.008854267,
-0.07083414,
0.034401122,
-0.010476962,
0.022491956,
0.06236791,
-0.0029349604,
0.005594768,
0.003086647,
-0.051615793,
-0.003121923,
0.0011067834,
-0.006070994,
0.05288573,
-0.005647682,
0.021645334,
0.026485195,
-0.02410054,
-0.002684501,
-0.046931144,
-0.019415893,
0.050317638,
0.007887706,
0.036320135,
-0.06406116,
-0.027134273,
0.002423459,
0.002432278,
0.023649007,
0.033752043,
0.04811642,
0.0057817306,
0.031155733,
-0.016551483,
0.011634014,
0.058078352,
-0.005873448,
0.009983098,
-0.052857507,
-0.025356365,
-0.06648814,
0.028150221,
0.08009055,
0.027331818,
-0.015027561,
0.0452379,
-0.01093555,
0.006374367,
0.03462689,
0.0062473738,
-0.026809735,
-0.045040354,
0.028982734,
0.0070199175,
0.029462487,
-0.004617624,
-0.021179691,
-0.003689866,
0.02371956,
-0.04814464,
0.013926951,
0.017666204,
0.017313445,
-0.00016502538,
0.043770418,
-0.06835071,
-0.044080846,
-0.042048953,
0.007668995,
0.019161904,
-0.010836776,
-0.02294349,
-0.043206003,
0.01259352,
0.022844715,
-0.03502198,
-0.048088197,
-0.050120093,
-0.0034446982,
-0.038436692,
0.01792019,
0.032679655,
-0.028206663,
-0.028686415,
-0.05215199,
-0.006190932,
0.01205027,
0.010716839,
-0.013108549,
-0.0076196087,
-0.009679725,
0.016184613,
0.02149012,
0.049753223,
-0.001957816,
-0.015845964,
-0.051728677,
0.025793787,
-0.035614617,
0.009898436,
-0.02260484,
-0.01439965,
-0.035642836,
-0.0012205484,
0.01244536,
-0.009700891,
-0.00060410093,
0.039650187,
-0.049104147,
-0.06846359,
0.029152058,
0.028728748,
-0.03361094,
0.065641515,
0.024791948,
-0.017990742,
0.011669289,
0.023437353,
-0.0050762114,
-0.0059263622,
-0.037759393,
-0.0064837225,
0.008430956,
-0.006392005,
0.016932463,
-0.022435514,
0.02666863,
-0.031325057,
-0.026753293,
-0.012769899,
-0.054296765,
-0.02482017,
-0.0186116,
-0.009171751,
0.03358272,
0.039142214,
-0.017708534,
0.0023387966,
-0.027190715,
0.018526938,
0.0065966058,
-0.007457339,
-0.00195958,
0.0577397,
-0.01134475,
0.043036677,
-0.04487103,
-0.018710373,
0.014244435,
-0.031861253,
0.024961274,
-0.005869921,
-0.0036440073,
0.011739842,
-0.040496808,
-0.0005406042,
0.0004696113,
-0.023578456,
0.0012037924,
0.032736097,
-0.029010955,
0.023987656,
-0.032594994,
-0.0489066,
0.017849639,
-0.019133683,
-0.05147469,
-0.039001107,
0.011133095,
-0.029829357,
0.021137359,
0.031212175,
-0.04552011,
-0.026188876,
-0.059997365,
0.066544585,
-0.04210539,
0.017680313,
-0.041117664,
-0.013687075,
-0.012395974,
0.02668274,
0.01601529,
-0.006349674,
0.018202398,
-0.028065559,
0.022463735,
-0.068237826,
-0.0059616384,
-0.0030143312,
0.026456974,
-0.06406116,
0.005421916,
0.015507314,
-0.017976632,
0.010413465,
0.035501733,
0.023578456,
0.031917695,
-0.02884163,
-0.012642906,
-0.022082755,
-0.030591318,
0.035896823,
0.034034252,
-0.022096865,
0.028615864,
-0.02339502,
0.024495631,
-0.025384584,
-0.02954715,
-0.016029399,
-0.011323585,
0.021617113,
-0.025285812,
-0.0037886389,
-0.010046595,
0.039932393,
0.01828706,
0.02189932,
-0.037759393,
0.009510401,
-0.016692588,
-0.057118844,
0.04964034,
-0.045040354,
-0.021518338,
-0.017595652,
0.012134932,
0.04865261,
-0.04278269,
-0.003989712,
0.034090694,
0.006875286,
-0.0030478435,
-0.0029578898,
0.0089530405,
-0.014202104,
0.002587492,
-0.009418683,
0.02627354,
-0.02112325,
0.023874775,
-0.05618756,
-0.053421922,
-0.00014286766,
-0.004801059,
0.058642767,
0.000010796375,
0.01974043,
0.015182775,
-0.0047622556,
-0.032594994,
0.010921439,
0.017666204,
-0.006173294,
0.011782173,
0.03648946,
-0.028432429,
0.045858756,
-0.043629315,
-0.04814464,
0.009002427,
0.08296907,
0.011993828,
-0.03801338,
-0.013941062,
0.029095616,
-0.016819581,
-0.050402302,
0.023465572,
-0.004635262,
-0.021010365,
0.00021948265,
0.014844127,
-0.0059157796,
-0.037844058,
0.04447594,
0.054353207,
-0.028517092,
-0.0038591907,
0.070664816,
0.005852283,
-0.020911593,
-0.037082095,
0.054071,
-0.046620715,
-0.0025910197,
-0.0321999,
0.013454254,
-0.04526612,
-0.049075924,
0.033836707,
-0.0106180655,
0.0136235785,
0.038182706,
-0.021687664,
0.04196429,
-0.0061874045,
0.0010732713,
0.0074926154,
-0.051700454,
-0.05847344,
0.005965166,
0.008141693,
-0.010427576,
-0.0051996773,
-0.036997434,
-0.00035738962,
0.029321384,
0.057909027,
-0.043939743,
-0.0721323,
0.022435514,
-0.032905422,
-0.017637983,
0.021137359,
0.0033423977,
0.015041672,
0.048680834,
-0.019034911,
-0.06027957,
0.02115147,
-0.004801059,
-0.019683989,
-0.0022929378,
-0.030083343,
0.0027338874,
-0.038831785,
-0.011323585,
-0.03140972,
-0.05632866,
0.016706698,
0.019952087,
-0.022576619,
0.02738826,
0.0025733816,
0.011648124,
-0.005947528,
0.010491072,
-0.013030942,
-0.00031968844,
-0.02005086,
0.0207846,
-0.031494383,
0.00949629,
0.0009815538,
-0.034147136,
0.022350851,
0.030817084,
0.019952087,
-0.04701581,
0.018950248,
0.053139716,
-0.007478505,
-0.0034200049,
-0.016410379,
0.0086567225,
-0.06242435,
-0.03643302,
-0.028248994,
-0.048031755,
-0.012925114,
0.027261266,
0.041117664,
0.04642317,
-0.024876611,
0.029123837,
0.0014392594,
0.017849639,
-0.0029755277,
-0.021800548,
0.06281944,
-0.010314693,
-0.017285224,
-0.034401122,
-0.013863455,
0.029293163,
-0.017722646,
0.022576619,
0.019387672,
-0.021137359,
0.0017408689,
0.025807897,
0.02882752,
0.031240396,
0.039565522,
-0.04707225,
0.014180939,
-0.007746602,
-0.0030108036,
0.0099196015,
-0.049104147,
-0.04309312,
0.03719498,
-0.019176016,
-0.019514665,
-0.008840157,
0.020135522,
0.02191343,
-0.001880209,
0.010095982,
0.020968035,
-0.0065436917,
0.00877666,
-0.013835234,
-0.03874712,
-0.05582069,
-0.024156982,
0.034598667,
-0.035671055,
0.0033159407,
0.03431646,
0.027698688,
0.02373367,
-0.025807897,
-0.042895574,
-0.02046006,
0.038606018,
0.030421993,
-0.0050938497,
0.0076125534,
-0.05881209,
0.046253845,
0.013306094,
-0.0070869415,
-0.035558175,
0.032453887,
0.012233705,
-0.012276037,
0.011069599,
0.04560477,
0.046253845,
-0.017101789,
-0.037364304,
0.039650187,
-0.004381275,
-0.023479683,
0.0038627184,
0.026612189,
0.033272292,
0.036179032,
-0.00893893,
0.010385244,
0.062311467,
0.0218711,
-0.015789522,
0.002229441,
0.02298582,
0.015662529,
0.014307932,
-0.03104285,
-0.00666363,
0.000097835684,
-0.0037392525,
0.022534287,
0.031466164,
-0.003024914,
-0.040299263,
-0.016452711,
-0.0277128,
0.0038344974,
0.025243482,
-0.06389183,
0.009030648,
0.030958189,
0.004536489,
0.024749618,
0.041738525,
-0.010963771,
0.038182706,
0.034514006,
0.016311606,
0.005718234,
0.0034482258,
0.0313815,
-0.021631222,
0.05367591,
-0.03606615,
0.001267289,
-0.00092687603,
-0.008536784,
-0.010533404,
0.04636673,
0.00912942,
-0.023860663,
0.0023846554,
0.009637394,
-0.038577795,
-0.051164262,
0.01441376,
-0.09092733,
0.046169184,
0.022421405,
-0.020149631,
-0.028234884,
0.019966196,
-0.012438306,
0.000962152,
-0.011175426,
0.06863292,
-0.0010962007,
0.081162944,
0.044080846,
0.007337401,
0.019246567,
0.050938495,
-0.030139785,
-0.0577397,
-0.026358202,
-0.015493204,
-0.026753293,
-0.050515182,
-0.028234884,
0.028756967,
0.017835528,
-0.03510664,
-0.016664367,
0.03358272,
0.017271113,
-0.005404278,
-0.014477257,
0.057485715,
0.0046987585,
-0.011528186,
0.00556302,
0.035191305,
-0.027063722,
-0.04715691,
-0.043544654,
0.025045935,
-0.007894761,
-0.040383928,
-0.00026853828,
-0.041033003,
-0.013785847,
0.030421993,
0.0000152541,
-0.02191343,
0.0634403,
0.025483359,
0.03770295,
0.0045047407,
-0.022421405,
-0.013990448,
0.05110782,
0.041004784,
0.015239217,
0.07580099,
0.03406247,
-0.012057325,
0.010004264,
0.024876611,
0.0015009923,
0.004042626,
-0.01828706,
0.009722056,
0.0093551865,
-0.050853834,
-0.054804742,
0.0011879181,
0.038831785,
-0.033441614,
-0.00059351814,
-0.05294217,
-0.0030795918,
-0.03183303,
0.0018678624,
-0.015225107,
0.005647682,
-0.0020777544,
-0.025751455,
0.039170433,
-0.038549576,
0.2343453,
0.03798516,
0.03183303,
0.027077831,
0.020544723,
0.036094368,
0.01571897,
-0.0019913283,
0.0073444564,
-0.020530613,
0.021306684,
-0.0096232835,
0.014286767,
-0.010166533,
-0.028545313,
0.032651436,
-0.054212105,
0.013108549,
-0.016269276,
0.027148383,
-0.0630452,
0.044814587,
-0.02665452,
0.015831854,
-0.0029772916,
0.004645845,
0.0056370995,
-0.018117737,
-0.02261895,
-0.05960227,
0.03180481,
-0.04351643,
0.014688913,
-0.022887047,
-0.0030055123,
0.042048953,
-0.013073273,
-0.038549576,
-0.00104946,
-0.0025786732,
-0.022548398,
-0.03499376,
0.061972816,
-0.00437422,
0.0058134794,
0.025088267,
-0.019839203,
0.012748734,
0.027162494,
-0.06552863,
0.03685633,
-0.046931144,
-0.0056794304,
-0.011210702,
-0.028531201,
-0.013792903,
-0.06857648,
-0.033102967,
0.0007019917,
0.05215199,
-0.002056589,
0.01646682,
-0.020714046,
0.022209749,
-0.021786436,
-0.037787616,
-0.013475419,
0.04520968,
-0.0038450803,
-0.026442865,
0.0044765202,
0.008049975,
0.025074156,
-0.020629385,
0.0059933867,
0.05074095,
-0.0071645486,
0.034965537,
0.009954877,
-0.061069753,
0.013955172,
-0.0088189915,
0.0072456836,
-0.020770488,
0.02007908,
0.033018306,
-0.034006033,
0.0031060488,
0.029603591,
0.019599326,
0.052744623,
0.011605793,
0.015239217,
0.011570517,
0.0116834
] | Preprocess
[[open-in-colab]]
Before you can train a model on a dataset, it needs to be preprocessed into the expected model input format. Whether your data is text, images, or audio, they need to be converted and assembled into batches of tensors. 🤗 Transformers provides a set of preprocessing classes to help prepare your data for the model. In this tutorial, you'll learn that for: |
[
0.033140212,
0.008717748,
-0.007880731,
-0.004493648,
-0.02241504,
-0.054590553,
0.0045965016,
-0.0030182276,
-0.007476409,
0.072919816,
-0.022117117,
0.028855817,
0.018527875,
-0.036999002,
-0.051668085,
-0.00897311,
-0.033111837,
-0.07064994,
-0.022840641,
-0.0015552207,
0.015406793,
0.036034305,
-0.076551616,
-0.025451,
-0.03918376,
0.030075876,
0.006777712,
0.008455293,
0.040630806,
0.030983826,
0.0034119096,
0.033140212,
0.0003921302,
-0.06713162,
0.015562847,
-0.023918834,
0.07201186,
-0.004025486,
0.0032753623,
-0.026004283,
0.01266166,
-0.0240607,
0.009760473,
-0.03470075,
-0.06191091,
-0.03912701,
-0.01959188,
-0.0051497845,
-0.020201908,
-0.011931043,
0.027947865,
-0.012704221,
0.0694015,
0.011774989,
-0.029309792,
-0.007987131,
-0.007632463,
-0.012058724,
-0.043553274,
-0.010207355,
-0.021336848,
0.04108478,
-0.022301545,
-0.055924106,
-0.044943575,
0.011455787,
0.02454305,
0.014626523,
-0.014612336,
-0.046106886,
-0.028586268,
0.012115471,
-0.030302864,
-0.028955124,
-0.054023083,
-0.011235894,
-0.016314745,
-0.008292146,
-0.0212801,
0.07632463,
-0.012278618,
0.02180501,
0.0022751975,
-0.010767731,
-0.006582645,
-0.053739347,
0.03765159,
-0.020911247,
0.013867533,
-0.026543379,
0.0012643926,
0.013406464,
-0.028912565,
0.030785212,
0.054448687,
0.045028694,
-0.0010631183,
0.057456274,
0.0065932847,
-0.0076608364,
0.056973923,
0.06667765,
-0.014598149,
0.043581646,
0.007845264,
0.025862416,
0.04687297,
0.022131305,
-0.058023743,
0.037765086,
-0.0039403653,
-0.007206861,
-0.0012546392,
-0.0342184,
-0.04312767,
0.03470075,
0.025451,
0.0075828093,
-0.031608045,
0.0034722032,
-0.015236552,
-0.0006947066,
0.017038267,
-0.010285382,
0.012945395,
-0.07280632,
-0.0007403702,
0.030047502,
-0.041255023,
0.0006273196,
0.028713949,
0.017733417,
0.02011679,
0.029338166,
-0.024770038,
0.010753544,
-0.00634147,
-0.010221542,
0.031778283,
0.0060825623,
0.01409452,
-0.020755192,
-0.019563505,
0.079956435,
0.0079729445,
-0.014938631,
0.0041638063,
0.0042773,
-0.016442426,
0.0005453026,
-0.06111645,
0.01767667,
-0.015747275,
0.0023603179,
-0.02993401,
0.011455787,
-0.000847214,
0.0020038763,
-0.02650082,
-0.0050043706,
0.013257503,
-0.026741993,
-0.009831407,
0.05981127,
-0.03084196,
0.05907356,
-0.04860375,
-0.011540908,
0.0054725325,
-0.025919164,
0.02970702,
0.010058395,
0.021237541,
0.033509064,
0.03192015,
0.037452977,
0.024386996,
-0.018556248,
0.005827201,
0.008575881,
-0.025110519,
-0.014342788,
-0.00853332,
0.004383701,
0.0017822084,
0.014541402,
0.011065653,
-0.025663802,
-0.029253045,
-0.012555259,
0.05737115,
0.04187924,
-0.035693824,
0.013193662,
0.00568888,
0.02328043,
-0.03271461,
0.0056534135,
-0.011321014,
-0.047241826,
-0.021734076,
0.04369514,
0.043893754,
0.009725006,
-0.0052242647,
-0.005266825,
0.051043868,
0.03901352,
-0.04409237,
0.0012253792,
0.02658594,
-0.007518969,
-0.02319531,
0.02359254,
0.008242493,
-0.016754532,
-0.026146151,
0.03027449,
-0.0016563012,
0.040942915,
-0.019336518,
0.017421309,
0.03470075,
0.023748593,
-0.018669741,
-0.02896931,
0.0069444063,
0.029735394,
0.020840311,
0.05152622,
0.027791811,
0.02024447,
0.0048093027,
0.07343054,
-0.012938301,
0.025451,
0.03983635,
0.03697063,
0.0038375116,
-0.018556248,
-0.01264038,
0.00061845296,
0.04434773,
-0.0021581568,
0.017974593,
0.03943912,
-0.011845923,
-0.0014842871,
-0.033083465,
0.036318038,
-0.024202568,
0.06707488,
0.020060042,
0.0064726975,
-0.012306992,
-0.05490266,
0.0017591551,
0.03214714,
-0.03501286,
-0.037765086,
0.026883861,
0.012179311,
0.03714087,
-0.023067629,
0.017180135,
0.049057726,
0.001813242,
-0.005706614,
-0.024982838,
-0.018797422,
-0.042929057,
-0.0657697,
-0.05850609,
0.003461563,
-0.037424605,
-0.023337178,
-0.014867697,
-0.03932563,
-0.0011810457,
0.004458181,
-0.014754203,
0.010051301,
-0.020953806,
0.04704321,
-0.0022947043,
-0.011746616,
-0.048405137,
0.009441271,
0.0028674935,
0.047639053,
-0.010093861,
0.020499831,
-0.023237871,
-0.051923446,
-0.020698445,
-0.008895082,
0.024897719,
-0.008937642,
-0.023053443,
-0.017165948,
-0.0050575705,
0.00912207,
-0.0031618683,
0.0013752265,
-0.027181782,
0.048405137,
0.06962849,
-0.01257654,
0.026316391,
0.043496527,
-0.044659838,
0.054789167,
0.007859451,
0.0013237996,
-0.012888648,
0.02528076,
0.0361478,
0.031068947,
-0.01040597,
-0.015534474,
-0.039240506,
0.01794622,
-0.014200921,
-0.04786604,
0.00560376,
0.039354,
-0.046248753,
-0.059527535,
0.030898707,
-0.068947524,
-0.041510385,
-0.0026316391,
0.022244798,
0.03844605,
0.012399206,
0.0049689035,
-0.026642686,
-0.024770038,
0.0064585106,
0.05033453,
0.019946547,
-0.013725665,
-0.022684587,
0.006611018,
-0.009242658,
0.015222366,
0.03762322,
-0.024358623,
-0.00352895,
-0.0071323807,
0.03813394,
0.03123919,
0.022344107,
-0.008817055,
0.012917021,
0.042929057,
-0.038360927,
0.028089734,
0.047270197,
0.02189013,
0.024727477,
0.010207355,
-0.0024525316,
0.0033533892,
-0.01607357,
-0.028770696,
0.0013388731,
0.0074905953,
0.035807315,
-0.037339482,
0.030529851,
0.012846088,
-0.018953476,
0.023748593,
-0.013668918,
-0.05385284,
0.0435249,
0.008902175,
0.06185416,
-0.02418838,
0.012789341,
0.005930055,
-0.010845758,
0.017534804,
0.037339482,
0.060946207,
0.0067386986,
-0.0150804985,
-0.031976897,
0.025294947,
0.0038126847,
-0.023776967,
-0.02528076,
-0.01811646,
-0.038729783,
-0.030614972,
0.016045196,
0.00775305,
0.0430993,
0.00043313872,
0.016087756,
-0.017932031,
0.018173207,
0.040120084,
0.008277959,
-0.02515308,
-0.03126756,
0.05243417,
0.0073345415,
0.0026635593,
-0.06838006,
0.0019116624,
-0.03722599,
0.024074888,
0.009419992,
0.0004477688,
-0.050022423,
0.013527051,
0.006820272,
-0.009781753,
-0.0043198606,
-0.025138892,
-0.0049157036,
0.006196056,
0.061967652,
-0.03126756,
-0.011562188,
-0.0013388731,
-0.0003673034,
0.019733747,
-0.012236058,
-0.018485315,
-0.040205203,
-0.0439505,
-0.045057066,
0.006015175,
0.05180995,
0.0041212463,
0.03084196,
-0.038843278,
0.028557895,
0.0076821162,
-0.016584292,
-0.016442426,
0.0061357627,
-0.016683599,
-0.00019650844,
0.036630146,
-0.017775977,
-0.030075876,
0.027791811,
-0.049313087,
0.00282316,
-0.04460309,
0.017492242,
-0.0171092,
-0.020201908,
0.017662484,
0.045681283,
0.004653249,
-0.0266285,
0.0048554097,
0.028955124,
-0.023053443,
-0.06531572,
0.0127255,
0.026968982,
-0.014498842,
0.010874132,
-0.021478714,
0.004021939,
0.023961393,
0.02110986,
-0.0029774408,
0.0007195334,
0.00017999418,
0.03035961,
-0.01607357,
-0.0076821162,
0.030785212,
-0.023635099,
0.021209167,
0.0065258974,
-0.015378419,
-0.030955454,
-0.06264862,
0.0041389796,
0.0060825623,
-0.0010852851,
0.035466835,
0.02285483,
-0.01200907,
0.01042725,
-0.050221037,
-0.023096003,
-0.021634769,
-0.0029614808,
-0.037935328,
0.067188375,
0.00838436,
0.028387655,
-0.019024411,
-0.02601847,
0.012612007,
-0.014555589,
0.024897719,
-0.018088086,
-0.0134419305,
-0.0031778284,
-0.019535134,
-0.0068096323,
0.02332299,
-0.00035821504,
-0.0250254,
0.0015170939,
-0.007788517,
0.022230612,
0.0010604584,
-0.033594187,
0.06792608,
0.010377596,
-0.061570425,
0.000839234,
0.007767237,
0.005465439,
0.016598478,
0.034870993,
-0.03274298,
-0.015747275,
-0.06412404,
0.030983826,
-0.03396304,
0.010313756,
-0.06497524,
-0.03248762,
-0.03909864,
0.033480693,
-0.023436485,
-0.07252258,
-0.008632627,
-0.04973869,
0.013888813,
0.01266166,
-0.02736621,
-0.025748922,
-0.0056214933,
-0.010285382,
0.026855487,
0.0006618998,
0.0041992734,
0.0131723825,
-0.022315733,
0.008001318,
0.07570041,
-0.07116066,
0.013739852,
0.00062953634,
-0.0017440816,
-0.024557237,
0.006958593,
-0.019024411,
0.021663142,
-0.03674364,
-0.0074054752,
-0.061570425,
-0.04917122,
-0.054789167,
-0.008242493,
0.06826656,
-0.05146947,
-0.04656086,
-0.035466835,
0.044489596,
0.04000659,
0.037254363,
-0.031154068,
-0.024472116,
-0.06928801,
-0.044546343,
0.035410088,
-0.0054867193,
0.016286371,
0.014981191,
-0.0128957415,
0.04599339,
-0.03665852,
0.038644664,
0.09527811,
-0.012306992,
0.024911905,
-0.05246254,
0.024330249,
-0.007653743,
-0.040375445,
0.03166479,
-0.014555589,
-0.019450013,
-0.0007957871,
-0.0356087,
-0.056832056,
-0.014669083,
-0.0023071177,
0.0411699,
-0.03932563,
0.02892675,
-0.009512206,
-0.03762322,
-0.028643016,
0.050788507,
0.017052455,
0.028529523,
0.0504764,
-0.0031671883,
0.00064017635,
-0.017775977,
-0.018627182,
-0.007284888,
-0.013477397,
0.035864063,
-0.016087756,
-0.027962053,
0.03132431,
0.022911575,
-0.042418335,
-0.054221697,
0.026387325,
-0.01042725,
-0.009136257,
-0.034076534,
-0.02302507,
0.034899365,
-0.032686234,
-0.00209609,
0.02345067,
-0.03067172,
-0.0014248801,
0.01615869,
-0.007937478,
-0.030700093,
0.049369834,
0.048064657,
-0.020471457,
0.0029171472,
-0.0741115,
-0.0020038763,
-0.023351364,
-0.0014177867,
0.054874286,
0.006206696,
0.01959188,
0.02993401,
0.0037630312,
0.079729445,
-0.040772673,
-0.0004091986,
0.0040290323,
-0.022599468,
-0.04057406,
-0.016428238,
0.020953806,
-0.003445603,
0.010242822,
0.0020375696,
-0.018130645,
-0.0047631958,
0.0546473,
-0.014165454,
-0.089773655,
0.023734406,
-0.03237413,
-0.04287231,
-0.037339482,
-0.0425602,
-0.010874132,
0.020088416,
-0.012278618,
-0.040460564,
-0.024372809,
-0.0036566306,
-0.068947524,
-0.02606103,
-0.051015496,
-0.005458346,
-0.056605067,
-0.006802539,
-0.017960405,
0.010122235,
0.0006282063,
-0.0020978632,
-0.026401512,
-0.024245128,
-0.050760135,
0.04082942,
-0.028898377,
0.008001318,
0.008668095,
-0.014420815,
0.030955454,
-0.004518475,
-0.0030661079,
-0.025380068,
0.032118767,
-0.012498513,
-0.015406793,
-0.0055505596,
0.0027061196,
-0.019492572,
0.03166479,
0.04378026,
-0.021776637,
0.030444732,
0.01485351,
0.044234235,
-0.051724833,
-0.03436027,
-0.018272514,
0.0033870828,
0.022897389,
0.021492902,
0.02159221,
0.0620244,
0.013278783,
0.025635429,
-0.007192674,
0.02793368,
0.010455623,
-0.0034065896,
-0.016669413,
-0.0008387907,
0.02093962,
0.00011404804,
0.0016474344,
0.016924774,
-0.034275148,
0.025607055,
0.00350235,
-0.041226648,
-0.03526822,
0.023776967,
-0.0074693155,
0.02159221,
0.02576311,
-0.05056152,
0.0026795194,
0.030955454,
-0.019293958,
0.008100625,
-0.026968982,
-0.03739623,
0.014640709,
-0.015832394,
-0.003165415,
-0.053881217,
-0.033253703,
-0.0076466496,
0.025096333,
0.022315733,
-0.012434673,
0.04162388,
0.008114812,
0.034303524,
-0.018953476,
-0.02298251,
-0.0144491885,
-0.006625205,
-0.02515308,
-0.02450049,
0.024599796,
0.03532497,
0.02045727,
-0.029650275,
-0.05237742,
0.0074480353,
0.014470468,
0.01754899,
0.0066358447,
0.021734076,
-0.051043868,
0.034558885,
-0.049114473,
-0.00912207,
0.0055044526,
0.031040573,
-0.008504947,
0.021336848,
-0.012122564,
0.019989109,
0.030075876,
-0.01179627,
0.0067209653,
0.02262784,
0.019577693,
-0.0051249578,
0.01885417,
-0.038048822,
0.052803025,
0.06293235,
0.02875651,
-0.020670071,
0.022812268,
0.033338826,
-0.04400725,
-0.019889802,
0.02896931,
-0.010505277,
-0.009086603,
0.0024631717,
-0.027252717,
-0.02093962,
-0.0070082466,
-0.009554765,
0.012292805,
0.01040597,
-0.005805921,
0.0049724504,
-0.054618925,
0.020528205,
-0.009845593,
-0.018683929,
-0.0022503706,
-0.011484161,
0.036913883,
0.047610678,
0.0034881632,
-0.030387985,
0.061570425,
0.026131963,
0.02536588,
0.028089734,
-0.023096003,
0.025422627,
0.022173865,
0.0003571067,
-0.0310122,
-0.008809961,
0.00034181162,
-0.015307486,
-0.07269283,
-0.00017755585,
0.0036956442,
-0.01893929,
0.05759814,
-0.035949185,
-0.017194321,
-0.037906952,
0.030473104,
-0.0076608364,
0.036346413,
0.028302534,
-0.061740667,
-0.03682876,
0.04633387,
-0.013782412,
0.009973274,
0.01542098,
0.09278124,
0.02766413,
0.08960341,
-0.0055966666,
-0.002200717,
0.03010425,
0.0017972819,
-0.0052951984,
-0.028955124,
0.008327613,
-0.00977466,
0.02197525,
-0.040460564,
-0.045681283,
-0.00096292456,
0.025351694,
-0.027820185,
-0.036459908,
0.017279442,
0.007788517,
-0.012299898,
0.014293134,
0.06145693,
0.0082495855,
0.006582645,
-0.006731605,
0.006231523,
-0.01959188,
-0.0051072245,
-0.01046981,
0.030870333,
-0.042162973,
-0.04287231,
-0.018102273,
-0.047724172,
-0.030614972,
0.019946547,
-0.007894917,
-0.034842618,
0.030643346,
0.03206202,
0.015350047,
0.019293958,
-0.017080829,
-0.010136422,
0.0666209,
0.034644004,
-0.006242163,
0.04017683,
0.02896931,
-0.0023337177,
0.041709,
0.0016518679,
0.039524242,
0.033764426,
0.016385678,
0.01750643,
0.009654072,
-0.035977557,
-0.05532826,
-0.021124046,
0.04917122,
0.014023586,
-0.020882873,
-0.067188375,
-0.0149953775,
-0.073827766,
0.02393302,
-0.014144174,
0.06429428,
-0.016215436,
-0.0049724504,
-0.023564165,
-0.060946207,
0.23924509,
0.09465389,
0.053086758,
-0.0003551117,
0.016967334,
0.026898047,
0.01980468,
-0.030785212,
0.003943912,
-0.014669083,
0.030160997,
-0.03467238,
0.014435002,
0.038673036,
-0.0063237366,
0.031636417,
-0.06412404,
0.004770289,
-0.013555424,
-0.01910953,
-0.058789827,
0.011633122,
0.021578023,
0.028330907,
0.0059123216,
0.004355327,
0.035864063,
-0.027039915,
-0.0074835024,
-0.02311019,
0.004681622,
-0.009590232,
0.026415698,
0.001613741,
0.017052455,
0.03467238,
-0.016045196,
-0.0602085,
-0.011335201,
0.0125127,
0.0042879405,
-0.018059712,
-0.010746451,
-0.018882543,
-0.029196298,
0.041765746,
-0.003809138,
0.038304184,
0.06367006,
-0.07513294,
0.015137245,
-0.0031317216,
0.035864063,
-0.021138234,
-0.039070267,
0.005174611,
-0.00634147,
-0.0075544356,
-0.027649945,
0.027564824,
-0.017591551,
0.012782248,
0.052888144,
0.0012244924,
-0.02993401,
0.03237413,
0.010363409,
0.061513677,
-0.027337836,
0.008370173,
0.03223226,
-0.00842692,
-0.021379407,
0.0059655216,
0.018400194,
0.02993401,
-0.00043003538,
0.015704714,
0.030302864,
-0.04786604,
0.028259974,
-0.00013211396,
-0.04378026,
-0.011122399,
-0.0073629147,
0.065145485,
-0.013179475,
0.020627512,
-0.01405196,
0.025294947,
0.0051710648,
-0.022216426,
0.00024427782,
-0.014392442,
0.0031530017
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_inputs = tokenizer(batch_sentences)
print(encoded_inputs)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1]]} |
[
0.003307359,
0.00770276,
0.0037937355,
-0.0025543766,
-0.02315872,
-0.030839862,
-0.00025489723,
0.0029074496,
-0.03810308,
0.06646423,
-0.01766807,
0.04744151,
-0.035768475,
-0.01652959,
-0.045251016,
-0.01477143,
-0.010159861,
-0.031070441,
-0.035595544,
-0.0027056935,
0.02555097,
0.033145647,
-0.03043635,
-0.005530279,
-0.019080363,
0.018921841,
-0.0033884218,
-0.003177659,
0.056145843,
0.048190888,
-0.0024733138,
0.040005356,
-0.015261409,
-0.05012198,
-0.030349884,
-0.03421207,
0.023317242,
-0.06882766,
-0.019555932,
-0.035364963,
-0.01439674,
0.025983306,
-0.026588574,
-0.05136134,
-0.058739852,
-0.012155806,
-0.028807892,
-0.014648935,
-0.03164689,
-0.0122422725,
0.010224711,
0.0025147458,
0.02743883,
0.0021796867,
-0.03458676,
-0.024628656,
0.0074721817,
0.029773438,
-0.022942552,
-0.03043635,
0.0019887388,
0.02315872,
-0.029196993,
-0.021357326,
-0.025032168,
0.01358251,
-0.018258927,
-0.026948852,
-0.025089813,
-0.044386346,
-0.050727252,
0.0013951795,
-0.0017869828,
-0.015117297,
-0.04631744,
0.004816927,
-0.0005651873,
0.0041143834,
-0.0009790575,
0.04372343,
-0.0009155584,
0.03602788,
-0.009532976,
-0.0036856518,
0.01239359,
-0.04657684,
0.01446159,
-0.03403914,
-0.00025242032,
-0.028217034,
0.006398551,
0.030695751,
-0.004110781,
0.012191834,
0.052370124,
0.06825121,
0.013906761,
0.030638106,
0.0037216798,
-0.011125408,
0.018345395,
0.045481592,
-0.024470134,
0.048335,
-0.005512265,
0.03006166,
0.05496413,
0.037209593,
-0.065080754,
0.029326692,
-0.014476001,
-0.027698232,
-0.015376698,
-0.01701957,
-0.050179627,
0.057010513,
0.00889168,
-0.0146561405,
-0.030609285,
0.011312754,
-0.0033235718,
-0.0033001537,
0.0074721817,
-0.01952711,
0.019945033,
-0.067905344,
0.0035361361,
0.012818718,
-0.053494193,
0.035854943,
0.02716502,
0.00876198,
0.026516518,
0.0002578245,
-0.0010267945,
0.0041828365,
-0.023346065,
-0.011283931,
0.020651178,
-0.022106705,
0.0054077846,
-0.027611766,
0.0009727527,
0.06548427,
0.031906288,
-0.0077820215,
0.0005368154,
0.029096114,
-0.02178966,
0.0239081,
-0.05159192,
-0.011139819,
0.004957436,
0.0160252,
-0.018359806,
-0.0312722,
0.012191834,
-0.012350356,
0.009057408,
-0.0069389693,
0.023965744,
0.00783246,
0.01039044,
0.064331375,
-0.018619208,
0.034385007,
-0.018143639,
-0.061276212,
0.033203293,
-0.01665929,
0.056549355,
0.013042091,
0.031473953,
0.047873843,
0.015419931,
-0.0014690367,
0.045106903,
-0.00482053,
0.0060526836,
0.0515631,
0.017437493,
-0.02768382,
0.0058581326,
0.024643067,
0.008351262,
-0.0044062096,
0.020463834,
-0.025378037,
-0.022683151,
-0.030897507,
0.05925865,
0.053292435,
-0.01133437,
-0.0054185926,
0.0037072685,
0.03144513,
-0.02854849,
0.017235737,
0.011377604,
-0.0438099,
-0.0080126,
0.046548016,
-0.008733157,
0.016068432,
-0.020233257,
-0.017307792,
0.04545277,
0.062140882,
-0.047009174,
-0.0064742095,
0.013827499,
0.014915541,
-0.0237784,
0.010051778,
-0.01157936,
-0.03092633,
0.0020193625,
0.026891207,
-0.010966886,
0.026977675,
-0.00023001547,
0.03504792,
0.049689647,
-0.006895736,
-0.043636966,
-0.051908966,
-0.008495374,
0.03772839,
0.033232115,
0.03081104,
0.030638106,
0.027582943,
0.00029317685,
0.041014135,
-0.025334803,
0.011809939,
0.041100603,
0.04095649,
-0.008466551,
-0.00017980163,
0.026502106,
0.016371068,
0.05384006,
0.0063697286,
-0.0052312477,
0.015679331,
0.019512698,
0.026040949,
-0.06375493,
0.030032838,
-0.044616923,
0.04879616,
0.0014708381,
-0.012213451,
-0.020636769,
-0.064677246,
0.013921171,
0.029096114,
-0.013978817,
-0.025723904,
0.023850454,
0.01691869,
0.055886444,
-0.017509548,
0.00838729,
0.03493263,
0.040725913,
0.021948183,
-0.046922706,
-0.019339764,
-0.001081737,
-0.04611568,
-0.032886248,
0.031618066,
-0.016861046,
-0.042887583,
-0.031790998,
-0.054301217,
-0.0037252826,
-0.018114816,
-0.0068849274,
-0.009979722,
-0.057298735,
0.03504792,
0.016126078,
0.019094774,
-0.065772496,
0.0006615619,
0.0016779983,
0.048680868,
-0.006045478,
0.011500099,
-0.02354782,
-0.035595544,
0.0048421468,
-0.0026930838,
0.014367918,
-0.03545143,
0.0009070018,
0.0019419026,
-0.029946372,
0.02053589,
-0.015376698,
0.020651178,
-0.030839862,
0.03669079,
0.030321062,
-0.00951136,
0.015160531,
0.072689846,
-0.0202909,
0.015794622,
-0.0068849274,
0.007745994,
-0.024888057,
0.049804937,
0.009388865,
-0.010916447,
0.019109186,
-0.026185062,
-0.0333474,
0.0071191085,
0.004971847,
-0.045049258,
0.00838729,
0.051793676,
-0.02640123,
-0.048162065,
0.013236642,
-0.06012332,
-0.013251053,
0.01727897,
0.031992756,
0.044933967,
0.032915067,
0.017480725,
-0.03934244,
-0.04796031,
-0.010095011,
0.03640257,
0.008610663,
-0.024354845,
0.014476001,
-0.0036802476,
0.01866244,
0.019181242,
0.045279834,
-0.02078088,
0.015679331,
-0.030839862,
0.018547151,
0.054906484,
0.008459345,
-0.009179903,
0.018950664,
0.016140489,
-0.032598022,
0.025882427,
0.010433673,
0.03144513,
0.038016617,
-0.0066579515,
0.0008457544,
-0.003700063,
-0.01716368,
-0.02591125,
-0.027698232,
0.01866244,
0.056145843,
-0.0320504,
0.007616293,
0.029355515,
0.0021346516,
0.024008978,
-0.026617397,
-0.030090483,
0.02941316,
0.002291373,
0.058653384,
-0.049487893,
0.0016014392,
-0.005461826,
0.021443792,
0.016212545,
0.0016068433,
0.04444399,
-0.01364736,
-0.0001170906,
-0.017999528,
0.024326023,
0.016226957,
-0.011802733,
0.0014537248,
-0.0059662163,
-0.062198527,
-0.04519337,
0.026343584,
0.03772839,
0.03594141,
-0.013986022,
0.039227154,
-0.03317447,
0.018590385,
0.033779737,
0.010592196,
-0.013351931,
-0.02766941,
0.056837577,
0.002226523,
-0.0067624324,
-0.05649171,
0.027107375,
-0.038160726,
0.030868685,
0.020060321,
0.018734496,
-0.03055164,
0.0064453874,
0.017855415,
0.00058770477,
-0.013315903,
-0.033750914,
-0.041129425,
0.0118892,
0.039255977,
-0.018806553,
-0.0004629582,
0.0070722722,
0.0015816238,
0.033088002,
-0.007486593,
-0.04343521,
-0.0093384255,
-0.024700712,
-0.057125803,
0.039688308,
0.044905145,
0.0069389693,
0.038016617,
-0.026934441,
0.031128086,
-0.024873646,
-0.024383668,
-0.012328739,
-0.006095917,
-0.0076090875,
-0.021631138,
0.02239493,
0.0018095002,
-0.033203293,
0.012220656,
-0.030205773,
0.029269047,
-0.016861046,
0.012638579,
-0.009273576,
-0.016500767,
-0.010808364,
0.056289956,
-0.006211206,
-0.00018970929,
0.0055086627,
0.015823444,
-0.022077883,
-0.04507808,
-0.0017635647,
0.03421207,
-0.0070326417,
0.0059590107,
-0.007335276,
0.037641928,
-0.004989861,
0.022611097,
-0.004906997,
-0.02392251,
-0.011211876,
-0.019008309,
0.0007610889,
-0.009936488,
0.029341104,
-0.016039612,
0.026559751,
0.025695082,
-0.019656809,
-0.07695555,
-0.040293578,
-0.0044926764,
-0.012386384,
-0.017696893,
0.037353702,
0.020117966,
-0.0072956453,
0.015419931,
-0.04718211,
-0.016140489,
-0.047153287,
-0.03130102,
-0.039688308,
0.057068158,
0.013279876,
0.0710758,
-0.025608616,
-0.015246998,
0.01763925,
0.00036140464,
0.013186203,
-0.018460684,
-0.013258259,
0.0057428437,
-0.03432736,
0.00022258473,
0.033491515,
-0.00058094953,
0.0022697563,
0.006193192,
0.0074433596,
0.025940072,
-0.007227192,
-0.03268449,
0.0392848,
-0.020305311,
-0.07574501,
-0.0021184392,
0.012854747,
-0.0016248573,
0.012494468,
0.0162846,
-0.022193173,
-0.0060562864,
-0.018835375,
0.028980825,
-0.032252155,
-0.009439304,
-0.05046785,
-0.014468796,
0.0098212,
0.04845029,
-0.02905288,
-0.08785038,
-0.0057104183,
-0.046749774,
0.030205773,
0.0018464287,
-0.033203293,
-0.04317581,
-0.033981495,
-0.0109740915,
0.028649367,
0.013049297,
0.0009439304,
-0.003462279,
-0.024354845,
0.041215893,
0.075802654,
-0.06634894,
0.03421207,
-0.007745994,
-0.0063409065,
-0.005580718,
-0.016875457,
-0.034730874,
0.037641928,
-0.03859306,
0.016616058,
-0.039976534,
-0.014829074,
-0.051995434,
0.020233257,
0.027813522,
-0.06202559,
-0.062140882,
-0.049026735,
0.060930345,
0.021227626,
0.060642123,
-0.03945773,
-0.045049258,
-0.06657952,
-0.022121117,
0.015592866,
-0.024210734,
0.017048392,
0.017495137,
-0.003397429,
0.063697286,
-0.028274678,
0.024037799,
0.03481734,
-0.000029610412,
-0.010693074,
-0.036489036,
0.0320504,
0.005433004,
-0.016111666,
0.0050114775,
0.005703213,
-0.049804937,
-0.0034226484,
-0.027337953,
-0.033895027,
-0.018575974,
0.036834903,
0.09153963,
-0.06289026,
0.04167705,
-0.0117306765,
-0.051303696,
-0.021991417,
0.051649563,
0.0018464287,
0.0523413,
0.032252155,
0.0034280524,
-0.007918928,
-0.016471945,
-0.025176281,
0.008480962,
-0.030205773,
0.04173469,
-0.0119756665,
0.0058761467,
0.037411347,
0.011413632,
-0.014209394,
-0.046548016,
0.044847503,
-0.02040619,
-0.008365673,
-0.033895027,
0.021977006,
-0.012451234,
-0.025176281,
-0.011615388,
0.01954152,
-0.012775485,
-0.006142753,
0.0037721188,
0.007825255,
-0.0128763635,
0.07649439,
0.04686506,
-0.01439674,
0.019339764,
-0.05796165,
0.019325353,
-0.013986022,
-0.010058983,
0.07874253,
0.0019689235,
-0.0034136414,
0.026876796,
0.007021833,
0.080587156,
-0.07205576,
-0.020089144,
0.015981967,
-0.038881287,
-0.02741001,
0.00032132363,
0.033952672,
-0.014158956,
-0.002350819,
-0.002021164,
-0.0070182304,
0.009107848,
0.038506594,
0.001685204,
-0.06098799,
0.03268449,
-0.02415309,
-0.04847911,
-0.02354782,
-0.014519234,
0.009914872,
0.012588141,
-0.020449422,
-0.03957302,
-0.017322203,
-0.030868685,
-0.05758696,
-0.032857426,
-0.058739852,
0.01439674,
-0.034010317,
-0.019613577,
-0.011420837,
-0.04395401,
-0.0042296727,
-0.006355318,
0.00034654315,
-0.035624366,
-0.030638106,
0.045423947,
-0.051015474,
0.0012069339,
-0.02415309,
-0.025493326,
0.020953814,
0.01791306,
-0.01208375,
0.018965075,
0.04896909,
-0.01126952,
-0.023879277,
0.007947749,
-0.026502106,
0.00622922,
-0.008063039,
0.023735166,
-0.024095444,
0.0435505,
-0.00304976,
0.021314092,
-0.062313817,
-0.033376224,
-0.0080486275,
-0.0038441746,
0.040178288,
0.018172462,
0.04718211,
0.050237272,
0.010923652,
0.035019096,
-0.016861046,
0.03916951,
0.03432736,
0.010152656,
-0.008596252,
0.0023814426,
0.031704534,
0.013705005,
-0.013849116,
-0.010368823,
-0.044616923,
0.023187542,
0.002276962,
-0.024326023,
-0.07326629,
0.03343387,
0.0012952022,
-0.008790802,
0.015578454,
-0.034529116,
0.029326692,
0.020276489,
-0.02229405,
0.012544907,
-0.031618066,
-0.029744616,
0.02506099,
-0.023504587,
-0.016486356,
-0.06438902,
-0.043492854,
0.0028227842,
0.026141828,
0.036517855,
0.02216435,
0.072574556,
0.014310272,
0.002276962,
-0.017653659,
-0.024571013,
0.003676645,
0.009251959,
-0.02579596,
-0.009850021,
0.026876796,
0.0138779385,
-0.014512029,
-0.026113005,
-0.041360002,
-0.007025436,
0.04496279,
0.0022715577,
-0.007302851,
-0.01082998,
-0.07672497,
0.015794622,
-0.032713313,
-0.034067962,
0.021717604,
0.03755546,
0.034471475,
0.01384191,
0.00036590814,
-0.022207584,
0.06012332,
-0.0161549,
0.0013150175,
0.03354916,
0.025839193,
-0.040610623,
0.0043917983,
-0.0031488365,
0.028779069,
0.056924045,
0.02568067,
-0.011608182,
0.03602788,
0.004629582,
-0.026819153,
-0.016803402,
0.048075598,
-0.01089483,
-0.015131708,
-0.0051159584,
0.007450565,
0.011910817,
-0.002995718,
0.0061715753,
0.010642635,
0.015189353,
-0.008113478,
-0.014447179,
-0.035768475,
-0.012825924,
0.018417452,
-0.021487026,
-0.0360567,
-0.022971375,
0.057068158,
0.036979012,
0.01815805,
-0.022077883,
0.04983376,
0.009345631,
0.008603457,
0.03167571,
-0.014598496,
0.03156042,
0.004499882,
0.015419931,
-0.010368823,
-0.008862858,
0.009878844,
-0.013625743,
-0.047527976,
0.0052168365,
-0.033606805,
-0.021270858,
0.02592566,
-0.05159192,
-0.0325692,
-0.020146789,
0.039227154,
-0.0071371226,
-0.033635627,
0.015261409,
-0.030724574,
-0.037094302,
0.020752057,
-0.026084183,
0.017754538,
0.0080486275,
0.047873843,
0.03533614,
0.09142434,
0.014591291,
-0.0059986417,
0.0320504,
0.014540851,
0.017423082,
-0.021011459,
-0.015938733,
-0.020564713,
-0.0053429343,
-0.03859306,
-0.036287278,
0.008495374,
0.022366107,
-0.0061175334,
-0.043694608,
0.0074937986,
0.0012114374,
0.010902036,
0.011745088,
0.07372745,
-0.03732488,
0.020607946,
-0.022697562,
0.045049258,
-0.03706548,
-0.040264755,
-0.044126943,
-0.0035055124,
-0.010188684,
-0.08266236,
-0.0008281908,
-0.048335,
-0.015304643,
0.005224042,
-0.027885577,
-0.021890538,
0.028851124,
0.040495332,
0.00926637,
0.026934441,
-0.013135764,
0.0052204393,
0.058566917,
0.03156042,
-0.022077883,
0.060642123,
0.05309068,
-0.021141158,
0.030868685,
0.031214552,
0.027943222,
0.011226286,
0.015996378,
0.001985136,
-0.001099751,
-0.042916406,
-0.047124464,
-0.0107074855,
0.060008034,
0.019238887,
-0.017812183,
-0.01729338,
-0.004701638,
-0.05948923,
0.00653906,
-0.044501632,
0.01070028,
-0.034500293,
0.008992558,
-0.006906544,
-0.057154626,
0.2467189,
0.08150947,
0.06450431,
0.0023382092,
0.030004017,
0.061160926,
0.0014780436,
-0.04882498,
0.011824349,
-0.022423752,
0.01327267,
-0.016817814,
0.017653659,
0.021602316,
0.033405047,
0.03317447,
-0.03081104,
0.010527345,
-0.019253297,
-0.03279978,
-0.06415845,
0.0435505,
0.008625073,
0.0037505021,
0.0073749064,
-0.014360712,
0.019887388,
-0.006755227,
-0.02379281,
-0.033088002,
0.0078108436,
-0.0047953106,
0.014987597,
-0.003934244,
-0.000407115,
0.016788991,
-0.019584754,
-0.062717326,
0.003384819,
0.04280112,
0.0035289305,
-0.04971847,
0.00028236848,
-0.00020254422,
-0.013265464,
0.034846164,
-0.02367752,
0.013106942,
0.022337284,
-0.05309068,
-0.0024913277,
-0.018388629,
0.052571878,
-0.03602788,
-0.037641928,
0.020809703,
-0.021069102,
-0.011355987,
-0.034990273,
0.0333474,
-0.058048114,
0.029946372,
-0.0045214985,
-0.020852935,
-0.019728865,
0.02617065,
0.026040949,
0.050150804,
-0.033750914,
0.028649367,
0.021890538,
-0.026040949,
0.0131213525,
0.0037216798,
0.0017293381,
0.037411347,
0.011233492,
0.042916406,
0.013503249,
-0.04882498,
0.012415206,
-0.0094609205,
-0.079376616,
-0.032108042,
0.010289562,
0.04919967,
-0.028462023,
0.016544001,
0.014684963,
0.037641928,
-0.0078108436,
-0.0005570811,
0.032165688,
-0.025767138,
-0.0012780889
] | The tokenizer returns a dictionary with three important items:
input_ids are the indices corresponding to each token in the sentence.
attention_mask indicates whether a token should be attended to or not.
token_type_ids identifies which sequence a token belongs to when there is more than one sequence.
Return your input by decoding the input_ids:
tokenizer.decode(encoded_input["input_ids"])
'[CLS] Do not meddle in the affairs of wizards, for they are subtle and quick to anger. [SEP]' |
[
0.025511455,
-0.019959738,
0.0076372805,
0.016229222,
-0.023411203,
-0.027009536,
0.0061832597,
0.032693435,
-0.037863288,
0.06233196,
0.009157393,
0.02382244,
-0.040183846,
-0.032340948,
-0.05161039,
-0.033985898,
0.007046126,
-0.046411168,
-0.051698513,
-0.01382054,
0.0330753,
0.011749662,
-0.039478865,
-0.027479524,
-0.025261775,
0.00774009,
0.000955578,
-0.0061685727,
0.060628258,
0.04036009,
-0.022441855,
0.034455884,
-0.005401173,
-0.041858174,
-0.0230734,
-0.029286033,
0.020077236,
-0.058425196,
-0.013475394,
0.0021241186,
0.010780315,
-0.012777758,
0.02508553,
-0.063213184,
-0.06632684,
-0.0028951901,
-0.014371306,
-0.00159263,
-0.036130212,
-0.020033175,
-0.01950444,
-0.0062089623,
0.059100803,
-0.009620036,
-0.040036976,
-0.038891383,
-0.008716781,
0.027127033,
-0.030930987,
-0.029550401,
-0.0023168866,
0.024688978,
-0.03845077,
-0.045471195,
-0.031606592,
0.0011052026,
-0.02794951,
-0.00691027,
-0.014319901,
-0.044061232,
-0.04532432,
0.016684521,
-0.015347997,
0.00318526,
-0.05210975,
-0.013541486,
0.021472508,
-0.009656753,
-0.006113496,
0.05469468,
0.010148771,
0.024806475,
0.020840963,
-0.029286033,
0.0045933835,
-0.03754017,
0.035160866,
-0.009825655,
0.011147493,
-0.03201783,
0.014584268,
0.046616785,
-0.018035732,
-0.017756678,
0.05951204,
0.04021322,
0.019871617,
0.019842243,
0.0031411988,
-0.009495196,
0.026231121,
0.039185125,
-0.023514012,
0.05780834,
-0.00952457,
0.029711958,
0.049583577,
0.023998685,
-0.02558489,
0.031107232,
-0.006638559,
-0.030196633,
-0.0061869314,
-0.043796867,
-0.06650309,
0.046264295,
0.0122930845,
-0.01105937,
-0.052286,
-0.034661505,
0.038568266,
-0.014980819,
0.009884403,
-0.046910528,
0.000843589,
-0.072495416,
0.014224435,
0.022911841,
-0.04062446,
0.026950788,
0.054224692,
-0.001528374,
0.025555516,
0.010949217,
0.0067927735,
-0.0011198897,
-0.029344782,
-0.0118891895,
0.025320522,
-0.022999965,
0.023969311,
0.0062089623,
0.0013613085,
0.05351971,
0.022280298,
-0.028918857,
0.014518176,
0.008011801,
-0.040125098,
0.027376713,
-0.07772402,
0.003266039,
0.0103397025,
0.035953965,
-0.022250922,
-0.0031008094,
0.009686128,
-0.0148633225,
0.006550437,
0.0029667898,
-0.010861094,
0.0026675405,
-0.012116839,
0.06938176,
0.020385664,
0.024498045,
-0.007872274,
-0.033721533,
0.033369042,
-0.028918857,
0.03971386,
-0.018711338,
0.005467265,
0.030989734,
0.015450806,
0.032252822,
0.031870957,
0.01359289,
0.010420482,
0.02935947,
0.01653765,
-0.007042454,
0.019871617,
0.007864931,
0.031606592,
0.012241679,
0.0069359727,
0.0018817818,
-0.022720909,
0.0067119948,
0.06644434,
0.06309569,
0.011566074,
-0.0011042847,
-0.025496768,
0.02081159,
-0.017213255,
0.05628088,
0.010883125,
-0.021340324,
-0.0226181,
0.06309569,
-0.032693435,
0.037628293,
-0.033134047,
-0.022647474,
0.03780454,
0.056721494,
-0.05075854,
-0.018579153,
0.056927115,
0.0072407294,
-0.03392715,
-0.010721567,
-0.0057426477,
-0.037657667,
-0.009098644,
0.029241972,
-0.007593219,
0.01058204,
-0.002023145,
0.020121297,
0.025438018,
0.0028456214,
-0.03548398,
-0.038568266,
0.006994721,
0.034514632,
0.00063934684,
0.020870337,
0.02166344,
0.023646196,
0.0025610593,
0.03900888,
-0.00060492405,
0.014833949,
0.055869646,
0.051081657,
-0.009686128,
-0.004824705,
0.0040866793,
0.026407367,
0.020840963,
0.029006978,
-0.010200175,
0.013108217,
-0.0038112968,
0.010501261,
-0.03618896,
0.03886201,
-0.047791753,
0.038068905,
0.03231157,
-0.0021296262,
-0.050876036,
-0.027024223,
0.039772607,
0.033604033,
-0.01608235,
-0.0067156665,
0.03542523,
0.04532432,
0.02618706,
-0.035748348,
0.01929882,
0.00881959,
0.033104673,
0.02332308,
-0.03131285,
-0.03157722,
0.003583647,
-0.043003764,
-0.052638486,
0.010883125,
0.0068405066,
-0.03066662,
-0.034749627,
-0.061861973,
-0.0057096016,
-0.036512077,
-0.007886961,
-0.032252822,
-0.02492397,
0.049172338,
0.018476345,
0.011096087,
-0.05895393,
0.010684849,
0.0071012024,
0.06714932,
-0.013130248,
-0.0032036188,
-0.023352453,
-0.021780936,
-0.017697928,
-0.015671112,
0.007894305,
-0.01603829,
-0.033956524,
0.007071828,
-0.013886632,
0.021149393,
0.007024095,
0.034162145,
-0.014224435,
0.024013372,
0.041681927,
-0.010471887,
0.038157027,
0.0600114,
-0.022309672,
0.024468672,
-0.012704322,
0.022764971,
-0.025614263,
0.038744513,
0.027993571,
-0.008973804,
-0.0055884332,
-0.030314129,
-0.019063827,
0.0024747727,
0.0012410581,
-0.013203683,
0.017227942,
0.059423916,
-0.024336489,
-0.029065728,
0.0064329403,
-0.033457164,
0.01392335,
0.009245516,
-0.014635673,
0.024747726,
0.037892662,
0.00541586,
-0.031283475,
-0.06256695,
-0.015274561,
0.03668832,
-0.0040719924,
-0.027112346,
0.01382054,
0.025540829,
0.012520734,
0.017697928,
0.020885024,
-0.027435461,
-0.01392335,
-0.020018488,
0.0030365533,
0.020091923,
0.026157686,
0.027993571,
0.03181221,
0.04282752,
-0.025261775,
-0.01854978,
0.02990289,
0.016699208,
0.023514012,
0.013100874,
-0.0101854885,
-0.0009473165,
-0.021340324,
-0.02236842,
-0.031136606,
0.0011033667,
0.052139126,
-0.0043400316,
-0.00083532755,
0.03192971,
-0.02311746,
0.02537927,
-0.05604589,
-0.037569545,
0.051492896,
0.017154507,
0.049172338,
-0.016346717,
-0.006759728,
-0.0080632055,
-0.0045419787,
0.016816704,
0.03695269,
0.045030583,
-0.008613971,
-0.004200504,
0.002660197,
0.007009408,
0.032987177,
-0.014584268,
0.025364583,
-0.013482737,
-0.04714552,
-0.038832635,
0.008562567,
0.035454605,
0.034720253,
0.0019533813,
0.03366278,
-0.013938037,
0.016757956,
0.04723364,
0.0070644845,
-0.0054562497,
-0.04085945,
0.049730446,
0.008951774,
0.023749005,
-0.032194074,
0.011118118,
-0.010376421,
0.037128933,
0.010721567,
-0.0026381663,
0.007196668,
-0.009216142,
0.033134047,
0.019416317,
-0.036130212,
-0.05061167,
-0.027729204,
0.009289577,
0.028272625,
-0.032752182,
0.00095007033,
-0.022339046,
0.04232816,
0.04282752,
0.0045529944,
-0.044501845,
-0.012939315,
-0.025349896,
-0.055957768,
0.012763071,
0.057690844,
0.0074610356,
0.030196633,
-0.02840481,
0.012660261,
0.007953052,
-0.028889483,
-0.0031650653,
-0.0077841515,
-0.012131526,
-0.024013372,
0.03419152,
0.007457364,
-0.0538722,
0.0045162765,
-0.021222828,
-0.009003179,
-0.039038252,
-0.012748384,
-0.022456542,
-0.025041468,
-0.0052139126,
0.037305176,
0.009436447,
-0.0028419497,
0.002309543,
0.027861387,
-0.009678785,
-0.04232816,
-0.0013310164,
0.045911808,
-0.02583457,
0.01334321,
-0.0032935773,
0.018652588,
-0.012454642,
0.020679405,
-0.015803296,
-0.0019919348,
-0.016684521,
-0.00404629,
0.0034147457,
-0.024248365,
0.022001242,
-0.030637244,
0.050641045,
0.03492587,
-0.026994849,
-0.04975982,
-0.05804333,
-0.011007965,
0.00535344,
-0.022588726,
0.029095102,
0.009186767,
-0.025364583,
0.023602134,
-0.041799422,
0.029388843,
-0.031724088,
-0.028536992,
-0.04156443,
0.05628088,
0.043943737,
0.058895182,
-0.007820869,
-0.010515948,
0.030284755,
-0.025658324,
-0.015450806,
-0.019005079,
-0.007024095,
0.030754741,
-0.015700486,
-0.016596397,
0.03257594,
0.0029539384,
-0.014855979,
0.022853093,
-0.019019766,
0.0142905265,
-0.018755399,
-0.032899056,
0.04814424,
-0.00018186733,
-0.084832564,
-0.02814044,
0.0049128276,
0.012432612,
0.0048540793,
0.019078514,
-0.031635966,
-0.016992949,
-0.03527836,
0.04473684,
-0.029462278,
0.0003678654,
-0.05413657,
-0.028889483,
-0.02181031,
0.048878595,
-0.01201403,
-0.08113142,
-0.01047923,
-0.039566986,
0.028816046,
-0.0057903803,
-0.04232816,
-0.03366278,
-0.014833949,
-0.036218334,
0.021854373,
-0.005827098,
0.01763918,
-0.0029612822,
-0.017257316,
0.01935757,
0.035102118,
-0.049436703,
0.03689394,
-0.029109789,
-0.00975222,
-0.0043583903,
-0.008555223,
-0.026143,
0.027611706,
-0.043855615,
0.009377699,
-0.044443097,
-0.006895583,
-0.03116598,
0.008467101,
0.013482737,
-0.033339668,
-0.032957803,
-0.039625738,
0.06855928,
0.004810018,
0.047733005,
-0.034103394,
0.008364291,
-0.056075264,
-0.036218334,
0.006686292,
0.0027685142,
0.010971247,
0.010611414,
0.0009831163,
0.0678543,
-0.021634066,
0.025702387,
0.05604589,
-0.0058711595,
-0.00529102,
-0.07314165,
0.033369042,
-0.007820869,
-0.027523585,
-0.016552337,
0.036482703,
-0.059600163,
0.0031467064,
-0.0321647,
-0.027420774,
-0.03316342,
0.025981441,
0.08489131,
-0.052227248,
0.05266786,
0.004428154,
-0.0478505,
-0.01664046,
0.03483775,
-0.0072223707,
0.03201783,
0.035953965,
0.010486574,
0.0022709894,
-0.011485295,
-0.022250922,
-0.003807625,
-0.029241972,
0.030461,
0.025511455,
0.015597677,
0.028918857,
0.027699828,
-0.039126378,
-0.050200433,
0.023499325,
-0.02322027,
-0.03610084,
-0.029021665,
0.021208141,
-0.0036075136,
-0.05645713,
0.02186906,
0.049994815,
-0.045265574,
-0.0013842571,
0.0072076833,
-0.0000272801,
-0.022544665,
0.041388188,
0.0496717,
-0.03392715,
0.010170802,
-0.056868367,
0.008430383,
-0.017727302,
0.0030237022,
0.07061547,
0.03704081,
0.043268133,
0.023837127,
-0.006524734,
0.065504365,
-0.062919445,
-0.019798182,
0.0005392911,
-0.059629537,
-0.04232816,
-0.00264551,
0.0002268465,
-0.031959083,
0.01130905,
0.0071893246,
0.009598006,
0.020752842,
0.0763728,
-0.0034202533,
-0.039273247,
0.02935947,
-0.008716781,
-0.035307735,
-0.03251719,
-0.018109167,
-0.0064916885,
0.02060597,
-0.00433636,
-0.036570825,
0.01788886,
-0.023190897,
-0.050053563,
-0.015318622,
-0.07014549,
-0.0067450404,
-0.021795623,
-0.006190603,
-0.022515291,
-0.047028024,
0.0050890725,
-0.0009858701,
-0.0074279895,
-0.0067450404,
-0.02463023,
0.03192971,
-0.01603829,
-0.012689635,
-0.016420154,
-0.02709766,
0.006436612,
-0.005320394,
-0.021237515,
0.034808375,
0.0435325,
-0.009509883,
0.004887125,
0.0029704615,
0.0037048154,
0.0061428705,
0.0065063755,
0.0435325,
-0.018755399,
0.03745205,
-0.011969969,
0.0070938584,
-0.049436703,
-0.004094023,
-0.0024343831,
-0.019122576,
0.057573345,
0.031489097,
0.055722773,
0.04579431,
0.017609807,
0.011426547,
-0.002214077,
0.054489058,
0.022691535,
0.009083957,
0.0004192702,
-0.027920134,
-0.000764646,
-0.0032880695,
0.00043717006,
0.031048482,
-0.027053598,
0.025158964,
0.019945052,
-0.017756678,
-0.07108546,
-0.00019299738,
-0.03272281,
0.0040573054,
0.041241314,
-0.025305836,
0.016846078,
0.031342223,
-0.012109496,
0.019254759,
-0.036982063,
-0.02689204,
0.01950444,
-0.01985693,
-0.02487991,
-0.04884922,
-0.039772607,
0.02311746,
0.016757956,
0.024600856,
0.02749421,
0.043003764,
0.02176625,
-0.020591283,
-0.02628987,
-0.03242907,
-0.02653955,
0.0008174277,
0.0020341603,
-0.013607577,
0.03950824,
0.026730482,
-0.0035506012,
-0.01683139,
-0.037481423,
-0.015920792,
-0.0003469822,
0.026480801,
-0.0012061762,
0.00452362,
-0.07173169,
0.006862537,
-0.04226941,
-0.010244237,
-0.039390743,
0.01940163,
0.032899056,
0.00053240656,
-0.0005314886,
0.014055533,
0.04664616,
-0.023587447,
-0.012887911,
0.029447591,
0.0050156373,
-0.034749627,
0.005221256,
0.004905484,
0.035102118,
0.055370282,
0.023793066,
0.0011373305,
0.032399695,
0.017580433,
-0.011338424,
-0.028213877,
0.048291113,
0.01548018,
-0.008151328,
-0.020047862,
-0.020415038,
-0.0023774707,
-0.008467101,
0.01603829,
0.00684785,
0.0029025339,
-0.013952724,
-0.019768806,
-0.050729167,
-0.000019434561,
0.011771693,
-0.016390778,
-0.031136606,
-0.0136957,
0.020282855,
0.07155544,
0.024483358,
-0.0022416152,
0.037422676,
0.0104645435,
0.020503161,
0.019783493,
-0.021590004,
0.028566366,
0.00029397104,
0.05880706,
-0.03759892,
-0.0020304886,
-0.013291806,
-0.006675277,
-0.021957181,
0.019783493,
-0.022882467,
-0.03986073,
-0.013504768,
-0.017477622,
-0.0045823683,
-0.0100312745,
0.022236235,
-0.013629609,
-0.014055533,
0.019460378,
-0.032487817,
-0.021722188,
0.01587673,
-0.011250301,
0.012425268,
0.004799003,
0.058425196,
0.024292426,
0.081542656,
0.03604209,
-0.021604693,
0.02678923,
0.017918235,
0.009216142,
-0.03131285,
0.00821742,
-0.02186906,
-0.009575975,
-0.027626393,
-0.04514808,
0.02257404,
0.054048445,
-0.0026400022,
-0.016464215,
0.03774579,
-0.014628329,
0.014312558,
0.012329802,
0.05795521,
-0.021736875,
0.011867159,
-0.013519456,
0.030343503,
-0.04644054,
-0.050082937,
-0.053666584,
-0.012102152,
-0.0033486537,
-0.09781594,
-0.012146213,
-0.032899056,
-0.027905447,
-0.011397173,
-0.0003249516,
-0.023029339,
0.022250922,
0.019621937,
0.012689635,
0.0032843978,
0.0082027335,
-0.020282855,
0.056927115,
0.024968032,
-0.008760842,
0.053255346,
0.04382624,
-0.04538307,
0.04805612,
0.028390123,
0.02156063,
0.018637901,
0.0038149685,
0.000103727485,
-0.0005149657,
-0.043209385,
-0.06297819,
-0.008577254,
0.07555033,
0.043708745,
-0.008136641,
-0.040125098,
-0.0059335795,
-0.065210626,
-0.012329802,
-0.02975602,
0.020650031,
-0.023910563,
0.011154836,
-0.0076739984,
-0.075021595,
0.2577876,
0.040918197,
0.047263015,
0.005691243,
0.034867123,
0.06162698,
-0.015568303,
-0.02940353,
0.016655147,
-0.034220893,
0.018417595,
-0.015773922,
-0.0014521849,
0.025247088,
-0.004846736,
0.0487611,
-0.045030583,
0.0043216725,
-0.008019145,
-0.017947609,
-0.06938176,
0.037305176,
-0.005243287,
0.062919445,
0.0071012024,
0.00280156,
0.05745585,
-0.033692155,
-0.03237032,
-0.039831355,
0.03378028,
-0.004064649,
-0.006069435,
-0.022897154,
-0.016023602,
0.015171751,
-0.014980819,
-0.07161419,
-0.004508933,
0.044942457,
0.022206862,
-0.044149358,
-0.007864931,
-0.011933251,
-0.045265574,
0.02819919,
-0.03527836,
0.041329436,
0.044208106,
-0.058337074,
-0.00008594235,
-0.028169816,
0.05193351,
-0.043268133,
-0.05152227,
0.008415695,
-0.049877316,
-0.028977605,
-0.014936758,
-0.00014354324,
-0.0626257,
0.022809032,
-0.02266216,
-0.008371634,
-0.019989112,
0.023088086,
0.02452742,
0.02890417,
-0.042533778,
0.021634066,
0.026275182,
-0.013453363,
0.010361734,
-0.01548018,
-0.000068386704,
0.016978262,
-0.014951445,
0.036012717,
0.026554236,
-0.06021702,
0.00088030676,
-0.0086360015,
-0.047321767,
-0.04306251,
0.004846736,
0.04550057,
-0.007938365,
-0.0022342717,
0.0072774473,
0.03201783,
0.025658324,
0.03704081,
0.023734318,
-0.021648753,
0.014870667
] | Return your input by decoding the input_ids:
tokenizer.decode(encoded_input["input_ids"])
'[CLS] Do not meddle in the affairs of wizards, for they are subtle and quick to anger. [SEP]'
As you can see, the tokenizer added two special tokens - CLS and SEP (classifier and separator) - to the sentence. Not all models need
special tokens, but if they do, the tokenizer automatically adds them for you.
If there are several sentences you want to preprocess, pass them as a list to the tokenizer: |
[
0.029753411,
0.0062574334,
-0.0029865024,
-0.0020468072,
-0.027449178,
-0.050088268,
0.0074023493,
-0.0012682284,
-0.0077839876,
0.07223771,
-0.021458171,
0.022466274,
0.017555377,
-0.024050433,
-0.057749845,
-0.0091377245,
-0.035110753,
-0.08036013,
-0.02085331,
0.0072511337,
0.011175531,
0.032172855,
-0.07569406,
-0.022855112,
-0.04061211,
0.030099045,
0.0074815573,
0.014142231,
0.045393392,
0.03130877,
-0.000029196704,
0.035312373,
-0.005850592,
-0.0681477,
0.015596778,
-0.027089141,
0.06878136,
-0.003251129,
0.007567966,
-0.017872209,
0.016633684,
-0.027103543,
0.013983815,
-0.03505315,
-0.05798027,
-0.046487905,
-0.02212064,
-0.006934302,
-0.014567074,
-0.017137734,
0.021112537,
-0.005800187,
0.07183447,
0.013191735,
-0.032835323,
0.0015643584,
-0.008093619,
-0.003587763,
-0.039431192,
-0.006837092,
-0.030012637,
0.03934478,
-0.023560785,
-0.05406307,
-0.045479804,
0.010873101,
0.022754302,
0.014567074,
-0.013638181,
-0.04467332,
-0.022005428,
0.012162031,
-0.033613,
-0.030502288,
-0.06567065,
-0.013803797,
-0.014437461,
-0.007755185,
-0.014876706,
0.080475345,
-0.0148191,
0.02302793,
0.00049460004,
-0.01165798,
-0.01067148,
-0.053285394,
0.042081058,
-0.020046828,
0.015063925,
-0.025735404,
0.0055697635,
0.010995513,
-0.025721002,
0.027348367,
0.046487905,
0.040842533,
-0.0024914523,
0.060486123,
0.012457261,
-0.009656177,
0.062156692,
0.060428515,
-0.006945103,
0.04378043,
0.0023726402,
0.030703908,
0.04654551,
0.020176442,
-0.055791248,
0.03706935,
-0.0034041444,
-0.0052457307,
0.0013780395,
-0.03865351,
-0.040295277,
0.03130877,
0.021991026,
0.010196232,
-0.027391572,
0.0030783114,
-0.0076399734,
-0.0031359175,
0.01965799,
-0.0167921,
0.017324954,
-0.07033672,
0.0031503187,
0.029436579,
-0.038106255,
-0.0024320462,
0.033843424,
0.011830797,
0.021486975,
0.030444682,
-0.016619282,
0.015841603,
-0.0012070221,
-0.011477961,
0.033440184,
0.0051233186,
0.015294348,
-0.017411362,
-0.024165645,
0.074369125,
0.011017115,
-0.017756997,
-0.0002826286,
0.006117019,
-0.012918107,
-0.0009032414,
-0.06711079,
0.02153018,
-0.008914502,
-0.0023168344,
-0.037818227,
0.011089122,
-0.012039619,
-0.0001817059,
-0.0296382,
-0.006574265,
0.011427556,
-0.030271864,
-0.0070603145,
0.067398824,
-0.03833668,
0.05870034,
-0.049051363,
-0.012104425,
0.004435649,
-0.02599463,
0.02707474,
0.004860492,
0.01561118,
0.034045044,
0.03292173,
0.041159365,
0.02638347,
-0.022264654,
0.007971207,
0.008367247,
-0.024439273,
-0.011002714,
-0.008482458,
0.00028240358,
-0.004820888,
0.010052217,
0.009908203,
-0.031049542,
-0.037789423,
-0.009836195,
0.058239494,
0.04651671,
-0.04113056,
0.0147398915,
0.00840325,
0.01788661,
-0.03577322,
0.008432053,
-0.010772291,
-0.0523925,
-0.017973019,
0.04723678,
0.041850634,
0.013105326,
-0.008669677,
-0.011290743,
0.059737246,
0.04228268,
-0.046372693,
0.0022178246,
0.025216952,
-0.012831699,
-0.018318653,
0.0246985,
0.0073375427,
-0.019153938,
-0.015251144,
0.03724217,
-0.0011161129,
0.04424128,
-0.0246985,
0.017843407,
0.038365483,
0.022653492,
-0.013472564,
-0.029695805,
0.008036014,
0.022379866,
0.020810107,
0.049397,
0.023877617,
0.021170143,
0.008583269,
0.0740811,
-0.015323151,
0.032028843,
0.03505315,
0.04138979,
-0.0017875809,
-0.017051326,
-0.010196232,
-0.0015760595,
0.041879438,
-0.015467165,
0.022941522,
0.040554505,
-0.012334849,
-0.0050333096,
-0.036320478,
0.03439068,
-0.023258355,
0.064921774,
0.022711098,
0.0043852436,
-0.010160228,
-0.053775042,
-0.005296136,
0.026426675,
-0.039776824,
-0.03545639,
0.027578792,
0.008878498,
0.034246664,
-0.028140448,
0.020234048,
0.04951221,
0.008734484,
-0.005663373,
-0.021486975,
-0.016777698,
-0.044932548,
-0.06515219,
-0.052507713,
0.00021815958,
-0.031366374,
-0.021558981,
-0.016230443,
-0.034160256,
-0.00078487943,
0.0032889328,
-0.017540975,
0.017728195,
-0.022955922,
0.045825437,
-0.0035445588,
-0.010829896,
-0.05118278,
0.010145827,
0.008921703,
0.055589627,
-0.0066606742,
0.019513976,
-0.03174081,
-0.045364592,
-0.026109843,
-0.00375518,
0.02695953,
-0.004860492,
-0.014790297,
-0.0147758955,
0.003863191,
0.0022088236,
-0.008208831,
0.008381648,
-0.019211544,
0.049022563,
0.07137363,
-0.00968498,
0.02341677,
0.04524938,
-0.04424128,
0.052882154,
0.010678681,
0.004702076,
-0.012730888,
0.020306055,
0.040266477,
0.03081912,
-0.012320447,
-0.02363279,
-0.03508195,
0.010880301,
-0.011413155,
-0.047668826,
0.0005031509,
0.033670608,
-0.0434636,
-0.05259412,
0.025576988,
-0.06503698,
-0.03320976,
-0.000027719992,
0.014991918,
0.045422196,
0.009872199,
-0.0040252074,
-0.029206157,
-0.026498681,
0.00869848,
0.049944256,
0.018793901,
-0.011132327,
-0.026844317,
0.00948336,
-0.0058145886,
0.012702085,
0.036982942,
-0.019845208,
-0.0016462667,
-0.009454557,
0.036205266,
0.033065747,
0.026325865,
0.0012268241,
0.014156633,
0.04585424,
-0.04257071,
0.020939719,
0.046948753,
0.01808823,
0.032432083,
0.009411353,
-0.004370842,
0.0049649025,
-0.01669129,
-0.023359165,
0.006394247,
0.009101721,
0.032057643,
-0.035513993,
0.028889325,
0.010592272,
-0.016446464,
0.025346566,
-0.017152136,
-0.05711618,
0.044730928,
0.008936104,
0.060486123,
-0.02243747,
0.011297943,
0.0013015317,
-0.012219637,
0.024180047,
0.037299775,
0.06284796,
-0.00058145885,
-0.024885718,
-0.027607594,
0.026613893,
0.00045972152,
-0.017944217,
-0.024583288,
-0.016777698,
-0.040266477,
-0.024453675,
0.015841603,
0.011614775,
0.0444717,
-0.002194422,
0.014574275,
-0.022855112,
0.016072027,
0.041620214,
0.006808289,
-0.027535588,
-0.03012785,
0.0543223,
0.00086228724,
0.0070603145,
-0.06509459,
-0.0033951437,
-0.03980563,
0.024367265,
0.0025166548,
-0.0013681385,
-0.044356488,
0.009022513,
0.01274529,
-0.01739696,
-0.0064482526,
-0.020997325,
-0.0066930773,
0.005062112,
0.060889363,
-0.03675252,
-0.00978579,
-0.0011512166,
0.0018793902,
0.015740793,
-0.002846088,
-0.016763296,
-0.049368195,
-0.04118817,
-0.046171073,
0.0006314139,
0.047784038,
0.0019675991,
0.036781322,
-0.03871112,
0.02528896,
0.009238535,
-0.015135932,
-0.020478873,
0.007517561,
-0.016676888,
0.0050369096,
0.038163863,
-0.024669698,
-0.029782213,
0.029782213,
-0.046775933,
0.005540961,
-0.042340286,
0.016288048,
-0.019931618,
-0.028471682,
0.011175531,
0.049454603,
0.0077911885,
-0.026138645,
0.0003625117,
0.02549058,
-0.020594085,
-0.06878136,
0.011038717,
0.027708404,
-0.0133429505,
0.0092097325,
-0.017728195,
0.006153023,
0.020608487,
0.022207048,
0.0022196246,
0.0027632797,
0.003427547,
0.035312373,
-0.019974822,
-0.008187229,
0.031567995,
-0.023964025,
0.018405063,
0.006084616,
-0.006955904,
-0.028774112,
-0.06832051,
0.0035715615,
0.007467156,
0.0014707488,
0.036003646,
0.02479931,
-0.010138626,
0.012723688,
-0.05060672,
-0.02163099,
-0.026138645,
0.000055974415,
-0.039373584,
0.06474895,
0.01116833,
0.027780412,
-0.019744398,
-0.01798742,
0.018145837,
-0.01205402,
0.016547274,
-0.02341677,
-0.014315049,
-0.0059081977,
-0.01957158,
-0.0066858768,
0.022912718,
0.003468951,
-0.022898318,
0.004266432,
-0.0070279115,
0.018304253,
0.0072475336,
-0.038970344,
0.069415025,
0.00770478,
-0.05466793,
0.0043240376,
0.004457251,
0.007625572,
0.01224844,
0.030156652,
-0.024640894,
-0.016446464,
-0.06077415,
0.028774112,
-0.035485193,
0.006185426,
-0.06273275,
-0.029522987,
-0.042541906,
0.030991936,
-0.023589587,
-0.078401536,
-0.0025814613,
-0.044903744,
0.015049523,
0.015366355,
-0.025317762,
-0.025476178,
0.0014365454,
-0.01176599,
0.02904774,
-0.0018685891,
-0.0020918117,
0.009519364,
-0.028788514,
0.011888403,
0.07402349,
-0.07338983,
0.013407757,
-0.0010756089,
0.000071669754,
-0.016561676,
0.0038271872,
-0.017555377,
0.020190844,
-0.037501395,
-0.012766892,
-0.056424912,
-0.043434795,
-0.050923552,
-0.010743488,
0.06659234,
-0.056280896,
-0.04801446,
-0.037414987,
0.0405257,
0.04041049,
0.033872228,
-0.02706034,
-0.019643588,
-0.06987587,
-0.0395176,
0.033958636,
0.003647169,
0.014538271,
0.018246647,
-0.012853301,
0.050462708,
-0.040698517,
0.037414987,
0.09827555,
-0.016964916,
0.023359165,
-0.04614227,
0.028025236,
-0.00632584,
-0.040295277,
0.035888433,
-0.014660683,
-0.015783997,
-0.004158421,
-0.03804865,
-0.05504237,
-0.009310543,
0.00081503246,
0.03922957,
-0.042628314,
0.036435686,
-0.009800192,
-0.0355716,
-0.027838018,
0.04951221,
0.02500093,
0.027521186,
0.0563385,
-0.006563464,
-0.0012574273,
-0.019413164,
-0.023820011,
-0.0014392457,
-0.020075632,
0.037674215,
-0.01491991,
-0.03231687,
0.0315968,
0.020003624,
-0.04098655,
-0.05247891,
0.032633703,
-0.013508568,
-0.012579673,
-0.039402388,
-0.027348367,
0.03332497,
-0.033641804,
0.0035301573,
0.030387076,
-0.028313266,
-0.0035607603,
0.012082823,
-0.010721885,
-0.026455477,
0.047006357,
0.044529308,
-0.02134296,
0.010268239,
-0.07431152,
-0.0068190903,
-0.018333055,
-0.0021476173,
0.055272795,
0.0053861453,
0.021659791,
0.026930725,
0.008129623,
0.075521246,
-0.03773182,
0.0036507696,
0.003072911,
-0.017944217,
-0.043146767,
-0.017310552,
0.024468075,
-0.0062898365,
0.015539173,
-0.0033501391,
-0.019197144,
-0.0104698595,
0.04507656,
-0.017454566,
-0.085832685,
0.021386165,
-0.022984726,
-0.0415338,
-0.04357881,
-0.04752481,
-0.007906401,
0.023834413,
-0.014307848,
-0.041735426,
-0.018894712,
-0.0060486123,
-0.07125841,
-0.02806844,
-0.050145876,
-0.008230433,
-0.05204687,
-0.009051316,
-0.017123332,
0.0048640925,
0.0069307014,
-0.006707479,
-0.027276361,
-0.02716115,
-0.04853291,
0.046574313,
-0.029753411,
0.010916305,
0.006613869,
-0.015827201,
0.029782213,
-0.0023186347,
-0.0044752527,
-0.02886052,
0.034016244,
-0.015366355,
-0.019211544,
-0.004230428,
-0.007135922,
-0.019053128,
0.029609397,
0.040439293,
-0.020133238,
0.03341138,
0.012608476,
0.04386684,
-0.05374624,
-0.039776824,
-0.01935556,
-0.00025112543,
0.025965828,
0.018189041,
0.015107129,
0.060025275,
0.011636377,
0.019830806,
-0.009461758,
0.02351758,
0.011384352,
0.0044536507,
-0.012932509,
-0.009029713,
0.022639092,
-0.0029883024,
0.005922599,
0.02046447,
-0.036982942,
0.028385272,
0.0076399734,
-0.040468097,
-0.03200004,
0.02132856,
-0.01462468,
0.016633684,
0.021011727,
-0.044990152,
-0.0045580612,
0.034304272,
-0.019413164,
0.0064482526,
-0.025677798,
-0.029580593,
0.015856005,
-0.013904607,
-0.0014797498,
-0.054984763,
-0.03407385,
-0.0062178294,
0.026023434,
0.016849706,
-0.008820892,
0.03885513,
0.010959509,
0.031481586,
-0.020320456,
-0.018549077,
-0.0066282707,
-0.0052997363,
-0.02490012,
-0.023359165,
0.025937025,
0.030415878,
0.0133141475,
-0.024568887,
-0.05198926,
0.010016214,
0.018016223,
0.02124215,
0.009944206,
0.022653492,
-0.05391906,
0.03488033,
-0.045134168,
-0.009368148,
0.012111626,
0.029580593,
-0.008216032,
0.02243747,
-0.019053128,
0.022711098,
0.026066639,
-0.010124224,
0.009159327,
0.020493275,
0.015337552,
-0.004367242,
0.012608476,
-0.043089163,
0.04611347,
0.06267514,
0.02559139,
-0.024036033,
0.018145837,
0.039373584,
-0.04090014,
-0.022048632,
0.025130544,
-0.014379855,
-0.011441958,
0.004882094,
-0.025951426,
-0.023157544,
-0.003978403,
-0.010721885,
0.016158435,
0.018923515,
-0.0042952346,
0.006541862,
-0.050894752,
0.023474377,
-0.015726391,
-0.018678691,
0.0010648078,
-0.017080128,
0.03479392,
0.045710225,
0.0013915409,
-0.034016244,
0.064518526,
0.022941522,
0.025360966,
0.025375368,
-0.018635485,
0.030300668,
0.020075632,
0.0021026128,
-0.02886052,
-0.009548167,
-0.004406846,
-0.025937025,
-0.06924221,
-0.0028208855,
0.0016120631,
-0.015668785,
0.05452392,
-0.030156652,
-0.024280857,
-0.038106255,
0.030963134,
-0.01215483,
0.036723718,
0.029753411,
-0.06106218,
-0.03813506,
0.041360985,
-0.012111626,
0.010397852,
0.012198035,
0.08341324,
0.027506784,
0.08220352,
-0.011377151,
0.004039609,
0.030070243,
-0.00424843,
-0.0045328587,
-0.02639787,
0.010793893,
-0.0070819166,
0.032662507,
-0.027377171,
-0.04133218,
-0.0026822714,
0.02429526,
-0.023085536,
-0.03683893,
0.016273648,
0.0118956035,
-0.008453656,
0.014307848,
0.05979485,
0.0148191,
0.006552663,
-0.019600384,
0.00464087,
-0.012493265,
-0.00967778,
-0.0047272784,
0.0356004,
-0.051096372,
-0.04118817,
-0.016518472,
-0.04772643,
-0.02935017,
0.020147638,
-0.009202532,
-0.0335842,
0.035542797,
0.028846119,
0.019197144,
0.02746358,
-0.017829005,
-0.015395158,
0.06474895,
0.036147658,
-0.0068298914,
0.033670608,
0.028903725,
0.0033429384,
0.0444429,
0.0035535595,
0.035513993,
0.038221467,
0.014552672,
0.01204682,
0.0041944245,
-0.038797528,
-0.051297992,
-0.022163844,
0.05020348,
0.017036924,
-0.026613893,
-0.07258335,
-0.014084625,
-0.07385068,
0.023589587,
-0.014639081,
0.05979485,
-0.0066678748,
-0.0035643608,
-0.017368158,
-0.056453712,
0.24724422,
0.09458877,
0.046084665,
-0.0008357346,
0.012867702,
0.028774112,
0.018102633,
-0.039488796,
0.0028028837,
-0.018750697,
0.028673302,
-0.037559003,
0.018361859,
0.033699412,
-0.0021584185,
0.027996434,
-0.06284796,
0.009411353,
-0.01166518,
-0.021645391,
-0.06019809,
0.014833502,
0.024424871,
0.039056752,
0.0038595905,
-0.0011926207,
0.029278163,
-0.021170143,
-0.0132781435,
-0.020968523,
-0.001036905,
-0.008165627,
0.034966737,
-0.003101714,
0.019024326,
0.03902795,
-0.008972108,
-0.064576134,
-0.011578772,
0.0072583347,
0.0065958677,
-0.013580575,
-0.0071791266,
-0.027722806,
-0.029522987,
0.04654551,
-0.006531061,
0.038999148,
0.060831755,
-0.0780559,
0.018707493,
-0.0052781343,
0.038970344,
-0.0147758955,
-0.04467332,
0.005148521,
-0.008338444,
-0.003526557,
-0.022379866,
0.03073271,
-0.014891107,
0.010145827,
0.050088268,
0.0019441968,
-0.022711098,
0.036291674,
0.006541862,
0.05700097,
-0.021501375,
0.0027326765,
0.034909133,
-0.007193528,
-0.020478873,
0.0043348386,
0.019830806,
0.022567084,
-0.002115214,
0.011125126,
0.028730908,
-0.04078493,
0.03081912,
-0.004028808,
-0.047870446,
-0.007913601,
-0.013825399,
0.061753448,
-0.015438362,
0.01739696,
-0.0133285485,
0.020219646,
0.0019928017,
-0.01996042,
-0.0011179132,
-0.020824507,
0.0060090083
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True, truncation=True)
print(encoded_input)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102, 0, 0, 0, 0, 0, 0, 0],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102, 0, 0, 0, 0, 0, 0, 0, 0]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]} |
[
0.03756829,
-0.013209988,
0.0003731145,
-0.0015592715,
-0.025656395,
0.0050674155,
-0.03282019,
0.016160196,
-0.014577497,
0.045120824,
0.016535046,
-0.0018482184,
-0.03368096,
-0.032209326,
-0.021088779,
0.026836477,
-0.008371648,
-0.043704722,
-0.021727411,
0.020241896,
-0.011710589,
-0.018117746,
-0.06253052,
-0.011294089,
-0.01575758,
-0.002868643,
0.0070145526,
0.02397651,
0.04595382,
0.033542126,
-0.026128428,
0.03243146,
0.006608465,
-0.058421053,
-0.013182222,
-0.023171278,
-0.0038387408,
-0.023337878,
-0.01546603,
0.0037068492,
0.047147788,
0.0068236566,
0.020977711,
-0.039511956,
-0.03898439,
0.0011809508,
-0.02776666,
0.03018236,
0.012682422,
-0.011266323,
-0.009975173,
0.03168176,
0.013404355,
-0.0017675215,
-0.08007905,
0.006917369,
-0.018742496,
0.03034896,
-0.022671478,
-0.017617946,
0.018284345,
-0.011349622,
-0.026975311,
-0.032875724,
0.015826996,
0.020269662,
-0.0023757848,
0.022324394,
-0.011446806,
0.0049632904,
-0.03915099,
-0.0003392739,
-0.05003552,
-0.03715179,
0.0012928852,
0.02884956,
0.02310186,
-0.024309712,
-0.025906295,
0.024406895,
0.021297028,
0.05753252,
0.01609078,
0.0016425715,
-0.005497799,
-0.06369672,
0.039206523,
-0.022699244,
0.017354162,
-0.024184762,
-0.024934461,
0.009392072,
-0.0030734222,
0.0074900566,
0.023337878,
0.03543026,
-0.016368447,
0.042371925,
-0.0028547598,
-0.04115019,
0.05814339,
0.056255255,
-0.0068479525,
0.027863843,
-0.038706724,
0.046092656,
0.03717956,
-0.0065390486,
-0.012286747,
0.019395012,
-0.026725411,
0.0036374326,
0.01542438,
0.0058171153,
-0.03998399,
0.04823069,
-0.015868647,
-0.015951946,
-0.01629903,
-0.0055220947,
0.02601736,
-0.005650515,
0.0038040325,
-0.037040725,
0.04048379,
-0.04823069,
0.011731414,
0.015438263,
0.013598722,
-0.035874527,
0.018617546,
-0.032459226,
0.021394212,
0.040511556,
0.01575758,
-0.0088228565,
-0.052895486,
0.024684561,
0.00022213328,
-0.010586039,
0.019728212,
-0.01492458,
0.021185962,
0.068250455,
0.011106664,
-0.02664211,
0.02476786,
-0.038956624,
-0.025059411,
0.02818316,
-0.04853612,
0.03043226,
0.0028374055,
0.017145913,
-0.031404093,
-0.029987993,
-0.0026881597,
0.0014542788,
0.015327197,
0.0024209057,
0.026378328,
-0.020352961,
-0.025114944,
0.058754254,
-0.020547329,
0.04795302,
-0.00966974,
-0.007149915,
0.03157069,
-0.04564839,
0.0128351385,
-0.021394212,
0.03193166,
0.018575896,
0.03481939,
0.08130078,
0.05306209,
-0.011835539,
0.008892273,
0.01663223,
-0.00011193435,
-0.004373249,
-0.01496623,
0.009156057,
0.00825364,
-0.017020963,
-0.00008373384,
0.008690964,
-0.00608784,
0.011030306,
0.020172479,
0.037623826,
-0.06486292,
-0.00916994,
-0.051173955,
0.0030612743,
-0.022421578,
0.06597359,
-0.0074553485,
-0.020727811,
-0.023018561,
0.04656469,
-0.05969832,
0.009058873,
-0.024559611,
0.019978112,
0.019978112,
0.04731439,
0.009829398,
-0.004230945,
0.038762257,
0.038706724,
-0.01804833,
-0.0015202246,
-0.01604913,
-0.014285947,
-0.009877989,
0.017395813,
-0.015105063,
0.0063134446,
-0.011266323,
-0.00010087107,
0.034763858,
0.006844482,
0.02693366,
-0.049369123,
-0.0004950275,
0.0038144449,
0.038290225,
-0.00991964,
-0.01425818,
0.028169276,
0.002613537,
0.05603312,
0.017631829,
0.0113079725,
0.05481139,
0.046287023,
-0.004914699,
0.01958938,
0.009836339,
-0.010141773,
-0.021644112,
-0.00036942674,
0.010377789,
-0.009468432,
-0.0019922578,
-0.009246298,
-0.081911646,
-0.002309839,
-0.05769912,
0.037540525,
0.015826996,
-0.0036825533,
-0.06863918,
-0.022949144,
-0.01659058,
-0.02347671,
-0.040317193,
0.0047133905,
0.03731839,
0.032736894,
-0.005497799,
-0.022032846,
0.07036072,
0.043676957,
0.00074232434,
0.034125227,
0.012404756,
-0.006861836,
-0.016701646,
-0.024309712,
-0.048674956,
0.00027658197,
-0.013251639,
-0.018256579,
0.005157657,
-0.03892886,
-0.0046543865,
-0.022615945,
-0.017812314,
0.0034378597,
-0.04645362,
0.044204522,
0.03201496,
0.016729413,
-0.052340154,
0.040122826,
-0.021102661,
0.043427058,
0.0023914035,
-0.026975311,
-0.002330664,
0.0065147527,
0.02651716,
0.01117608,
-0.007448407,
-0.017604062,
-0.013452947,
-0.010690164,
0.032709125,
0.0016712059,
0.00746229,
0.02780831,
-0.018159395,
0.041455623,
0.042427458,
-0.009704448,
0.04531519,
0.068028316,
-0.0059420653,
0.028655194,
0.008808973,
0.045093056,
-0.028405294,
0.013765322,
0.056338552,
-0.023740495,
-0.05953172,
-0.06319692,
-0.038373526,
0.0120090805,
0.042427458,
-0.044204522,
-0.0063585653,
0.043343756,
-0.028044326,
-0.033625428,
-0.022324394,
-0.04389909,
-0.0015618746,
0.018770263,
-0.027947145,
0.054922454,
-0.010370848,
0.013321055,
-0.039539725,
-0.033958625,
-0.0020807642,
0.00787879,
0.013369647,
-0.028710727,
-0.010329198,
0.03301456,
0.021533046,
0.03359766,
0.045870524,
-0.056088652,
0.029154994,
-0.0015176216,
0.06119772,
0.030820994,
0.00904499,
0.0072470983,
-0.010794289,
0.030126827,
-0.031209726,
0.02926606,
-0.0072262734,
0.025406495,
0.04406569,
0.009815514,
0.018242696,
-0.037873726,
-0.036485393,
0.0053589656,
-0.0035124826,
0.0024833807,
0.05886532,
-0.019297829,
0.003139368,
0.0031237493,
-0.0048591658,
0.0069486066,
-0.02200508,
-0.02876626,
0.037373926,
0.042566292,
0.028988393,
-0.0076566567,
-0.05703272,
-0.014910697,
0.0035541325,
0.04595382,
0.07119372,
0.015035647,
-0.000031834043,
0.013050331,
-0.009308773,
-0.010009881,
-0.0014898549,
0.0023254578,
-0.008475773,
-0.028460827,
-0.05406169,
-0.0075802985,
0.0018916037,
0.060142588,
0.045426257,
-0.005976774,
0.0037658534,
-0.021602461,
0.042760655,
0.022824194,
-0.0109886555,
-0.06564038,
-0.04670352,
0.07857965,
-0.010232015,
0.011967431,
-0.012724072,
-0.033125624,
-0.02360166,
0.03309786,
-0.025711928,
0.014438664,
-0.020311313,
-0.0043003615,
0.024712328,
0.003484716,
-0.035874527,
-0.071526915,
-0.025947943,
-0.019283945,
0.077191316,
-0.026350562,
0.004498199,
-0.005365907,
0.0078718485,
0.03207049,
0.0017041788,
-0.05381179,
-0.036041126,
0.0018534246,
-0.06275265,
0.030321194,
0.017617946,
-0.015479913,
0.013945805,
-0.033208925,
-0.006362036,
0.025545327,
-0.040317193,
0.004477374,
-0.03606889,
0.023171278,
0.005348553,
0.04550956,
-0.04595382,
-0.012460289,
0.0047307448,
-0.026836477,
0.057254855,
-0.02655881,
-0.004022695,
-0.023587778,
-0.01704873,
0.02260206,
0.055922054,
0.027822195,
-0.021269262,
0.00034404628,
0.060420252,
-0.019061813,
-0.039845157,
-0.0019124288,
0.04498199,
-0.0031567223,
0.01459138,
-0.009024165,
0.018978512,
-0.0018794559,
0.031653993,
-0.008906157,
-0.006157257,
0.0060218945,
0.010037648,
-0.07630278,
-0.03093206,
0.019186763,
-0.012078498,
0.011585639,
0.013300231,
-0.014535847,
-0.0037693242,
-0.05181259,
-0.01579923,
-0.008343881,
-0.0062127905,
0.030654393,
0.0027211327,
-0.0032938202,
-0.0042830072,
-0.04448219,
0.010912297,
0.013168339,
-0.040095057,
-0.003939395,
0.05464479,
0.053895086,
-0.0020911766,
-0.035291426,
-0.05178482,
0.058309987,
-0.02730851,
-0.004623149,
0.0042413576,
-0.013605664,
0.018506479,
-0.02851636,
-0.023448944,
-0.0040539326,
0.00011399516,
0.0022872787,
0.0065876404,
-0.027961027,
0.00039936267,
-0.0025337078,
-0.024948344,
0.021963429,
-0.048647188,
-0.018034445,
-0.019270062,
0.013314114,
0.032126024,
-0.005247899,
0.02780831,
0.0004902551,
-0.05869872,
0.003047391,
0.028905094,
-0.040206123,
-0.020158596,
-0.057976786,
-0.060920052,
0.044287823,
0.021421978,
-0.004147645,
-0.07113818,
0.01613243,
-0.03531919,
0.021671878,
-0.025045527,
-0.02200508,
-0.03151516,
-0.009683623,
-0.028419176,
0.062308386,
-0.021477511,
0.007007611,
-0.0023237225,
-0.01908958,
0.03157069,
0.07802431,
-0.04481539,
0.025670277,
-0.021074895,
-0.013786147,
0.035041526,
-0.027252978,
0.010710989,
0.032653593,
-0.03898439,
0.03257029,
-0.06686212,
-0.032237094,
-0.044926457,
-0.007573357,
0.012855964,
-0.058809787,
-0.023684962,
0.010051531,
-0.009232415,
-0.009676681,
0.04845282,
-0.018062213,
-0.00024404291,
-0.026100662,
-0.028571894,
0.022588179,
-0.019867046,
-0.021894012,
-0.016659996,
-0.027502878,
0.073970385,
-0.06591805,
0.054172754,
0.06425205,
-0.011405156,
0.010301431,
-0.03617996,
0.060920052,
0.016187962,
-0.026864244,
0.015618746,
0.002417435,
-0.047647588,
0.008947806,
-0.04581499,
-0.012842081,
-0.019075695,
0.02818316,
0.03126526,
-0.04401016,
0.057310387,
0.020450145,
-0.019408897,
-0.048619423,
0.035791226,
0.026961427,
0.030515559,
-0.00804539,
-0.0055220947,
-0.015160597,
0.045093056,
-0.04706449,
-0.018659195,
-0.033708725,
0.06991645,
0.0006781139,
-0.027377928,
0.013300231,
0.0040886407,
-0.015160597,
-0.064085454,
0.020838879,
-0.0026083307,
-0.03068216,
-0.037373926,
-0.0006208452,
0.0010716196,
-0.044870924,
0.017062614,
0.044537723,
-0.014140172,
-0.007483115,
0.016909895,
0.006841011,
-0.044176757,
0.031737294,
0.02639221,
-0.02851636,
0.0034482721,
-0.046536922,
-0.01579923,
-0.035791226,
0.0047307448,
0.062808186,
0.0018239225,
0.018270463,
0.041844357,
-0.020908296,
0.07758005,
-0.047592055,
0.0009605529,
0.009836339,
-0.03740169,
-0.040344957,
-0.022796428,
0.03207049,
-0.02033908,
0.0023948743,
-0.026864244,
-0.0029363243,
0.002976239,
0.036263257,
-0.00767054,
-0.07774665,
0.023809912,
0.016312912,
-0.05586652,
-0.0028877326,
-0.018950745,
-0.0064349235,
0.055561088,
-0.02718356,
-0.013098922,
0.004373249,
-0.04731439,
-0.01205073,
0.006743828,
-0.040289424,
0.025698043,
-0.019519962,
-0.001284208,
-0.019311713,
-0.05869872,
-0.011543989,
0.0069347234,
-0.0015896413,
-0.00071933004,
-0.021394212,
0.049507957,
-0.01858978,
0.01933948,
-0.01375838,
0.00291897,
-0.01621573,
-0.0021987725,
-0.02826646,
-0.0048626363,
0.043788023,
-0.05106289,
0.0017727277,
0.025850762,
-0.042205323,
-0.023837678,
0.01546603,
0.05006329,
-0.015230013,
0.045176357,
0.004605795,
0.02410146,
-0.03301456,
-0.0050708866,
-0.032736894,
-0.021685762,
0.017118147,
0.02826646,
0.038234692,
0.037373926,
-0.0021710058,
0.017437464,
0.011953548,
0.015410497,
0.0010655456,
0.03293126,
0.027169676,
-0.00028200514,
-0.0038769199,
-0.031376325,
0.027072493,
0.010870648,
-0.047175556,
0.032292627,
-0.0067472984,
-0.018201046,
-0.015604863,
0.02884956,
0.0054665613,
0.013661197,
-0.008232815,
-0.018742496,
-0.0076635983,
0.020241896,
-0.03068216,
0.034985993,
-0.039511956,
-0.037762657,
0.0068340693,
-0.038234692,
-0.011842481,
-0.023087978,
-0.031237492,
0.04656469,
0.015327197,
-0.042510755,
0.014771863,
0.010266723,
0.038373526,
-0.0130919805,
-0.03790149,
-0.027225211,
0.0069971983,
-0.005775465,
-0.025101062,
-0.0010802966,
0.03318116,
0.024490194,
-0.016118547,
-0.0015375789,
-0.0012165268,
-0.007913498,
0.028072095,
0.04748099,
-0.023337878,
0.0063759196,
-0.02372661,
0.042566292,
-0.0066397027,
0.026059011,
-0.011280206,
0.03109866,
0.021408096,
0.026753178,
0.01250888,
0.05714379,
0.010197306,
-0.035235893,
-0.0032834075,
0.024809511,
0.018242696,
-0.032292627,
-0.006452278,
0.0006742092,
0.03334776,
0.035208125,
0.05536672,
0.00612949,
0.023060212,
0.02851636,
-0.028988393,
-0.040872525,
0.010967831,
0.034291826,
-0.004480845,
-0.006257911,
-0.01346683,
-0.004494728,
-0.003076893,
0.024309712,
-0.0019367245,
0.016951546,
0.031070894,
-0.039206523,
-0.013459888,
0.02539261,
0.019506078,
-0.029987993,
0.013452947,
-0.018187163,
0.03543026,
0.04042826,
0.03093206,
0.037373926,
0.04173329,
0.013938864,
0.027919376,
0.03201496,
-0.015188363,
0.043427058,
-0.039206523,
0.037790425,
-0.05056309,
0.00013134933,
-0.04706449,
-0.021644112,
0.0028859973,
0.021283146,
-0.04042826,
-0.032709125,
-0.021657996,
-0.037262857,
-0.04339929,
-0.035791226,
0.022449344,
-0.058421053,
0.010634631,
-0.0060218945,
0.002488587,
-0.028488593,
0.0022195973,
-0.018631428,
0.032292627,
0.029238293,
0.038123626,
0.009711389,
0.07730238,
0.018381529,
0.00027050803,
0.05253452,
0.03381979,
-0.027280744,
-0.0054387944,
0.017159795,
-0.004897345,
0.0037832074,
-0.017201446,
-0.04048379,
0.017659595,
0.03001576,
0.005900415,
-0.054172754,
0.008704848,
0.03084876,
-0.007573357,
0.0039289827,
0.10429157,
0.021505278,
-0.023629429,
-0.019228412,
-0.002059939,
-0.037235092,
-0.047925256,
0.022879729,
0.02739181,
-0.033875328,
-0.05714379,
-0.009628089,
-0.02951596,
0.00771219,
-0.0033528241,
-0.01746523,
-0.0074761733,
0.027461227,
-0.026031245,
0.040456023,
0.008677081,
-0.021185962,
-0.015285547,
0.049674556,
0.019506078,
0.010773464,
0.07674705,
0.080912046,
0.0068132444,
0.02851636,
-0.0111830225,
0.012245097,
-0.017354162,
-0.01958938,
-0.006469632,
-0.00921159,
-0.018478712,
-0.04731439,
-0.038790025,
0.039067693,
0.012751839,
-0.01554933,
-0.026669877,
-0.042316392,
-0.06019812,
-0.0068375403,
-0.017756779,
-0.011592581,
-0.0039359243,
0.012800431,
0.037762657,
-0.041066892,
0.22635381,
0.058476586,
0.02664211,
-0.025462028,
0.03606889,
0.055450022,
-0.03642986,
-0.023379529,
-0.019519962,
-0.05486692,
0.037207324,
-0.040761456,
-0.015910296,
0.025031645,
-0.016243497,
0.021588579,
-0.02789161,
-0.0051437737,
-0.018062213,
-0.053339753,
-0.018228812,
0.06369672,
0.040955823,
0.054450423,
0.02884956,
-0.012147914,
0.0005280004,
-0.03059886,
-0.013869447,
-0.058421053,
0.012432522,
-0.021838479,
0.015146714,
-0.008802031,
-0.009864106,
0.04015059,
-0.013439064,
-0.05456149,
0.0020373787,
-0.012613006,
-0.029710326,
-0.03856789,
0.022393811,
0.0008247566,
-0.005119478,
-0.008288348,
0.0005136832,
0.058920853,
0.015951946,
-0.08468831,
0.031209726,
-0.053423055,
0.008906157,
-0.049452424,
-0.067250855,
-0.01854813,
-0.03948419,
-0.02310186,
0.0093990145,
0.031209726,
-0.040872525,
0.016243497,
-0.04773089,
0.01484128,
-0.007906556,
0.03276466,
-0.023212928,
0.0007037113,
-0.0095239645,
0.0047550406,
0.0120090805,
-0.025781345,
-0.03831799,
-0.012321455,
0.0034968639,
0.034458425,
-0.0009969966,
0.019644912,
-0.033625428,
-0.024851162,
0.018853562,
0.012078498,
0.0008937394,
-0.013869447,
-0.0034795096,
0.05886532,
-0.024906695,
0.00729569,
0.006917369,
0.045759458,
0.04042826,
0.09279618,
-0.008198107,
0.009905756,
-0.013279405
] | Check out the Padding and truncation concept guide to learn more different padding and truncation arguments.
Build tensors
Finally, you want the tokenizer to return the actual tensors that get fed to the model.
Set the return_tensors parameter to either pt for PyTorch, or tf for TensorFlow: |
[
0.041654207,
0.017644791,
0.040205117,
0.03486338,
-0.0077142683,
-0.003881996,
0.0052103275,
-0.024904443,
-0.046001475,
0.061543666,
0.008509846,
0.02920909,
-0.01440565,
-0.04242137,
-0.06290752,
0.0070181373,
-0.0052564996,
-0.044950176,
-0.03293126,
0.026509807,
0.007728475,
0.010044176,
-0.08319476,
-0.015201229,
-0.015201229,
0.041057523,
0.034920204,
-0.008779775,
0.071147434,
0.023966797,
-0.010207554,
0.044239838,
0.011926571,
-0.043557912,
-0.005650737,
-0.043728393,
0.02342694,
-0.050689705,
-0.009795558,
-0.0035676714,
0.06324848,
-0.005309775,
0.022588741,
-0.0393243,
-0.04767787,
-0.023341699,
-0.005274258,
-0.015400123,
-0.030601352,
-0.036937565,
-0.001712802,
-0.02067083,
0.009689007,
-0.0036209468,
-0.06796512,
0.0045177485,
-0.022844464,
0.029692119,
-0.017488517,
-0.015599018,
0.006858311,
-0.013965241,
0.005377257,
-0.053133264,
0.038386654,
0.0075650974,
-0.01488868,
0.00449999,
-0.009319631,
-0.01987525,
-0.048160903,
-0.023569008,
-0.021878405,
-0.038386654,
-0.031879958,
0.019335395,
0.029152263,
0.0003105508,
-0.027958894,
0.025913123,
0.029550051,
0.052309275,
0.027958894,
-0.010697687,
-0.0068334495,
-0.044069357,
0.03835824,
0.008346469,
0.022148332,
-0.046086714,
-0.0005873605,
0.01905126,
0.013396971,
-0.0059561823,
0.007074964,
0.042194065,
-0.010264381,
0.08376303,
0.04173945,
0.004155476,
0.016934453,
0.06785146,
-0.014703992,
0.029010195,
-0.013127042,
0.03480655,
0.027177524,
0.003539258,
-0.022034679,
0.025288025,
-0.008744258,
-0.010228864,
0.027220143,
-0.03537482,
-0.06694223,
0.016650317,
0.0125303585,
0.027348004,
-0.034948617,
0.021722129,
0.026140431,
-0.002773869,
0.032419816,
0.005686254,
0.012018915,
-0.01926436,
0.016806591,
0.0235548,
-0.042847574,
-0.03307333,
0.0054163258,
0.0032409162,
0.04387046,
0.047081187,
0.01488868,
0.025373265,
0.004180338,
0.023526387,
0.018795537,
0.017886305,
0.011109683,
0.0028164892,
-0.0180852,
0.054525528,
0.007280962,
-0.007309376,
0.029663706,
-0.034749724,
-0.003105952,
0.0016266735,
-0.05688385,
0.013986551,
0.0031467963,
-0.011905261,
-0.049155373,
-0.01852561,
-0.0072703073,
0.013411177,
-0.00012364317,
-0.012501945,
0.011450645,
-0.033698425,
-0.029663706,
0.056997504,
-0.028470337,
0.05955472,
-0.037022807,
-0.00020832875,
-0.016011013,
-0.006549314,
0.008850809,
-0.023895763,
0.019647943,
0.0030065046,
0.034948617,
0.057253227,
0.014718199,
-0.0057643913,
0.026467185,
-0.011564299,
0.019037053,
-0.021437995,
0.018312508,
-0.022134125,
-0.010022867,
-0.014007861,
-0.026353532,
0.005160604,
-0.01057693,
0.010584033,
0.015613224,
0.035175927,
-0.0093622515,
-0.019520082,
0.020244626,
-0.0037399284,
-0.034238283,
0.05688385,
-0.0009998004,
-0.022588741,
-0.017374862,
0.021707922,
-0.028612405,
-0.0111025795,
-0.03972209,
0.0041057523,
-0.0052991197,
0.027887862,
-0.010449069,
-0.0084104,
0.03219251,
0.0038571341,
0.011805814,
0.03219251,
0.026396152,
-0.026069397,
-0.037420593,
0.00020455508,
-0.028697647,
0.05455394,
-0.015130195,
0.02422252,
-0.0129565615,
0.009667697,
0.016224114,
-0.0168208,
0.024293551,
0.023157012,
0.032107268,
0.052309275,
0.012850011,
0.018880779,
0.018312508,
0.02837089,
0.0035712232,
0.02500389,
0.060009334,
0.022872876,
0.009731628,
0.022091504,
0.023881556,
-0.054582354,
0.007217032,
-0.006219007,
0.019477462,
-0.01751693,
-0.005377257,
0.0021540993,
-0.037477423,
-0.027660552,
-0.036681842,
0.05162735,
0.010498793,
-0.04011988,
-0.025586367,
-0.025628988,
-0.004507093,
0.009468802,
-0.04068815,
-0.026254084,
0.019633736,
0.028441925,
0.014178342,
-0.034096215,
0.02241826,
0.03810252,
0.028768681,
0.042705506,
-0.009248598,
0.0063681784,
-0.031368516,
-0.07535263,
-0.041228004,
0.010697687,
-0.00010649517,
-0.008673225,
-0.011557195,
-0.07597773,
-0.0042158547,
0.009198874,
-0.032817606,
0.019576909,
-0.023824729,
0.024336172,
-0.033527944,
0.014505098,
-0.05372995,
0.04014829,
0.015769498,
0.06239607,
-0.010974718,
-0.039096992,
-0.043501087,
-0.030146735,
0.013205179,
-0.021224894,
0.0020830655,
-0.0047770217,
-0.0014348823,
-0.0039352714,
0.0022357882,
-0.012580082,
-0.017957339,
0.020926552,
-0.0043650256,
0.032505058,
0.04611513,
-0.009404873,
0.035914678,
0.06103222,
-0.022844464,
0.024847616,
0.028171996,
0.047081187,
-0.020969171,
0.01331173,
0.043842047,
-0.019449048,
-0.012729253,
-0.033726837,
-0.044353493,
-0.0063184546,
0.02557216,
-0.021111239,
0.013041802,
0.062168762,
-0.022929704,
-0.05495173,
-0.00035472494,
-0.035460062,
-0.018724503,
-0.033783663,
0.00064196775,
0.03844348,
0.0025518886,
0.027930481,
-0.024407206,
-0.049098548,
0.021253306,
0.038812857,
0.017445896,
0.006758864,
0.011592712,
0.023014944,
-0.010164933,
0.022347227,
0.024989683,
-0.05767943,
-0.0025589918,
-0.009440389,
0.06017982,
0.03568737,
0.03148217,
-0.032647125,
-0.010129416,
0.02666608,
-0.050831772,
0.018326715,
-0.03835824,
0.0044715763,
0.042392958,
0.041654207,
0.049752057,
0.0049155373,
-0.03520434,
-0.018113613,
0.010889478,
-0.002409821,
0.045092244,
0.007273859,
0.021892611,
0.015073367,
-0.018113613,
-0.0054482906,
-0.03375525,
-0.027731586,
0.087797746,
0.0097103175,
0.0069009317,
-0.041313246,
-0.027177524,
0.030658178,
-0.021437995,
0.031936787,
0.036767084,
0.038812857,
0.009887902,
-0.01173478,
0.012075743,
0.028626613,
-0.01878133,
-0.020486142,
-0.01743169,
-0.013865793,
-0.060009334,
-0.0018681884,
0.022659775,
0.09387824,
0.027944688,
-0.005352395,
0.012075743,
0.0033936386,
0.055179037,
0.024208311,
-0.002374304,
-0.07756889,
-0.06563521,
0.061145876,
-0.023370113,
0.047308497,
-0.047052775,
-0.004507093,
-0.034124628,
0.027007043,
-0.014114412,
0.025032304,
-0.038557135,
-0.013084422,
0.0336416,
0.008836602,
-0.028669233,
-0.051570524,
-0.022745015,
-0.012317257,
0.043245364,
-0.058077216,
0.0032604504,
-0.03131169,
0.038244586,
-0.00075517787,
-0.006549314,
-0.045433205,
-0.040489253,
-0.019505875,
-0.02067083,
0.05128639,
0.023014944,
0.0024275794,
0.021977851,
-0.030459285,
0.012999182,
0.0023458905,
-0.03472131,
-0.011876848,
-0.013830276,
0.036454536,
0.013020491,
0.045433205,
-0.0129565615,
-0.04304647,
0.025273819,
-0.016167289,
-0.0018344473,
-0.054639183,
-0.008715845,
-0.0050895703,
0.011301474,
0.0034859828,
0.05350264,
-0.0009296546,
-0.008055231,
0.01979001,
0.025032304,
-0.016565077,
-0.008232815,
0.025827881,
0.017374862,
-0.041085936,
0.0029194884,
0.005686254,
0.011116786,
-0.005252948,
0.070692815,
-0.0084743295,
0.021793162,
-0.007000379,
0.0212391,
-0.056912262,
-0.028754473,
0.008318055,
-0.020571383,
0.02277343,
-0.02601257,
-0.009497216,
-0.0061479737,
-0.05202514,
-0.031368516,
-0.003288864,
-0.017445896,
0.052820716,
0.027035456,
-0.008957359,
0.012004709,
-0.037818383,
0.00021565412,
0.0105982395,
-0.021963645,
0.010690584,
0.06972676,
0.016934453,
0.011706366,
0.00449999,
-0.0020493246,
0.029891014,
-0.028427718,
-0.036539774,
0.0006908035,
-0.0021629785,
0.026978629,
-0.026722908,
-0.023526387,
0.008403296,
-0.010349621,
-0.014703992,
0.057167985,
0.020358281,
0.02929433,
-0.040006224,
-0.035829436,
0.047706284,
-0.010605343,
-0.040517665,
0.016835006,
0.022475088,
0.013681105,
0.032419816,
-0.025984157,
-0.0114861615,
-0.056116685,
-0.024265138,
0.0445808,
-0.017900512,
-0.033300634,
-0.053957257,
-0.032561883,
0.009262805,
0.039608434,
0.0071779634,
-0.061373185,
-0.037420593,
-0.060975395,
0.050462395,
0.0024169243,
-0.012303051,
-0.002271305,
-0.00214522,
-0.04137007,
0.071715705,
0.0000615996,
-0.009078117,
0.033670012,
-0.0021540993,
0.018227268,
0.0744434,
-0.004460921,
0.0346929,
-0.027376419,
0.0030437973,
0.015527984,
-0.049780473,
0.0066239,
0.037022807,
-0.049212202,
0.01381607,
-0.036681842,
-0.0067624156,
-0.048359796,
-0.021750543,
0.054099325,
-0.055633657,
-0.044069357,
-0.033385877,
0.019718977,
0.0008381986,
0.0424782,
-0.01690604,
-0.01638039,
-0.044012528,
-0.025032304,
0.052707065,
-0.031851545,
-0.014561924,
-0.006758864,
-0.029436398,
0.06569204,
-0.06091857,
0.03392573,
0.050689705,
-0.015556398,
-0.026524013,
-0.0025589918,
0.0072880657,
-0.029578466,
-0.029663706,
0.02140958,
-0.010726101,
-0.045433205,
-0.0057040122,
-0.09103689,
-0.065578386,
-0.0016062513,
0.04554686,
0.033385877,
-0.042677093,
0.052053552,
-0.018980226,
-0.0041377177,
-0.028512958,
0.04085863,
-0.00004589448,
0.0040808907,
0.02824303,
-0.014157032,
-0.032817606,
-0.0074514435,
-0.04111435,
-0.028797094,
-0.021608476,
0.055235866,
0.035744198,
-0.025018096,
0.03906858,
0.0004350819,
-0.031993613,
-0.07029503,
-0.0020830655,
-0.00956825,
-0.035573717,
-0.031084381,
-0.0054518427,
-0.000026304697,
-0.04387046,
0.01015783,
0.030658178,
-0.007984197,
0.008808188,
0.035545304,
0.008957359,
-0.00068370014,
0.05242293,
0.057480533,
-0.011138096,
0.011202027,
-0.03432352,
0.010953409,
-0.04264868,
0.011336991,
0.052167207,
-0.0021221342,
-0.036369294,
0.03472131,
0.014100205,
0.051087495,
-0.021551648,
0.051911484,
-0.0036014125,
-0.051570524,
-0.031709477,
-0.0105982395,
0.04537638,
-0.022972323,
0.03810252,
-0.01804258,
-0.033527944,
-0.01112389,
0.032817606,
-0.0041625793,
-0.07614821,
0.017971545,
-0.005618772,
-0.023327492,
-0.046541333,
-0.035914678,
0.0424782,
0.0445808,
-0.041398484,
-0.033670012,
0.0009385338,
0.030658178,
-0.02824303,
0.023711076,
-0.008374883,
0.04929744,
-0.048359796,
0.012026018,
-0.019775804,
-0.031283274,
-0.014647165,
0.020429315,
0.024080452,
0.011386715,
-0.06069126,
0.037676316,
-0.04117118,
0.034124628,
-0.0073804096,
0.017957339,
-0.017644791,
-0.0075508906,
-0.042392958,
0.015329089,
0.027291177,
-0.012686633,
-0.02447824,
0.035147514,
-0.027859448,
-0.050149847,
0.0028005068,
0.057310052,
-0.0041483724,
0.02464872,
-0.014689785,
0.026325118,
-0.028953368,
-0.0049972264,
-0.020429315,
-0.058872797,
-0.012345671,
0.026680287,
-0.018156234,
0.038784444,
0.013482211,
0.0004133278,
0.012359877,
0.01385869,
0.026325118,
0.024620308,
0.0049403994,
0.0044005425,
0.012352774,
-0.035346407,
-0.005522876,
-0.004805435,
-0.039835744,
0.0010530758,
0.0090923235,
-0.008147574,
-0.019420635,
0.06268021,
-0.013645588,
-0.00094741303,
-0.013595865,
-0.049098548,
-0.017204382,
0.011685057,
-0.01388,
-0.0038287207,
-0.046314023,
-0.012999182,
-0.0079913,
0.020074146,
-0.045745753,
-0.017204382,
-0.038869683,
0.049070135,
0.010853961,
-0.021011792,
-0.013091525,
0.056855436,
0.029464811,
-0.0014339944,
-0.0654079,
0.010541413,
-0.0023725282,
-0.023924176,
-0.042677093,
-0.020130973,
0.04208041,
0.029834187,
-0.0058354246,
-0.0140362745,
-0.028001515,
0.003583654,
-0.027177524,
-0.002088393,
-0.003732825,
0.01581212,
-0.040744975,
0.01377345,
-0.0012626254,
0.013794759,
0.014661372,
0.0498373,
0.023142805,
-0.0018344473,
0.0004648273,
0.024876028,
0.024989683,
-0.055860963,
-0.0022215815,
0.0006202137,
0.051513694,
-0.033442702,
0.0075864075,
-0.017360656,
0.048331384,
0.03560213,
-0.010804238,
-0.029976254,
0.024066243,
0.0060343193,
-0.017318035,
-0.03796045,
0.041966755,
-0.0005904683,
-0.023341699,
-0.0121822925,
0.0039849947,
0.00080889714,
-0.027703173,
-0.0013443142,
0.0017669653,
-0.005444739,
-0.010463276,
-0.017715825,
-0.06307799,
0.05819087,
0.039920982,
-0.02977736,
-0.0037399284,
-0.0014579683,
0.051570524,
0.03034563,
-0.048842825,
0.018099407,
0.010143624,
0.022816049,
0.02618305,
0.044154596,
-0.001791827,
0.016295148,
-0.011386715,
0.05253658,
0.008467226,
0.015826326,
-0.024776582,
-0.008616397,
0.01436303,
0.011386715,
-0.031226449,
-0.0046314024,
-0.0022411158,
-0.03293126,
-0.0011152303,
-0.03844348,
-0.00449999,
-0.07410244,
0.011855538,
0.029436398,
-0.024662929,
-0.028484546,
0.031425342,
-0.0038287207,
0.0055086697,
0.028029928,
0.008573777,
0.026992835,
0.05713957,
-0.022347227,
-0.00639304,
0.047194842,
0.016110461,
-0.007913163,
-0.004475128,
-0.029123848,
0.0028964023,
-0.029265916,
-0.018426161,
-0.039665263,
-0.007827923,
0.019633736,
-0.011905261,
-0.053360574,
-0.006801484,
0.03940954,
-0.013155456,
-0.013808967,
0.074272916,
0.006542211,
-0.030061495,
-0.011514575,
-0.014703992,
0.0033190532,
-0.020159386,
-0.038159344,
-0.0017909391,
-0.05171259,
-0.05091701,
-0.038898095,
-0.042165652,
-0.02023042,
0.0009802661,
-0.021921024,
-0.037449006,
0.028271444,
0.009340942,
0.057082742,
0.011585609,
-0.04492176,
0.013553245,
0.01852561,
0.017857892,
-0.018596644,
0.026211465,
0.059213758,
0.04426825,
0.017971545,
-0.008460123,
0.01173478,
-0.008992876,
0.008559571,
-0.009383562,
0.014547718,
-0.011287267,
-0.004741505,
-0.003322605,
0.017914718,
0.027035456,
-0.01615308,
-0.03773314,
-0.021722129,
-0.030658178,
0.012899734,
-0.003640481,
0.019988906,
-0.0011658419,
0.011223337,
0.031027554,
-0.015954187,
0.23753695,
0.05242293,
0.0618278,
-0.04068815,
0.063418955,
0.07631869,
-0.0026868526,
-0.028512958,
-0.0063397647,
0.0008648363,
0.04006305,
-0.049780473,
0.0023991659,
-0.03179472,
-0.010243071,
-0.006073388,
-0.039381128,
0.014746612,
-0.035829436,
-0.029891014,
-0.027163317,
0.017303828,
0.031368516,
0.01917912,
0.030800246,
0.042364545,
0.013041802,
-0.017829478,
-0.020258833,
-0.051513694,
0.027873654,
-0.026566632,
0.021835783,
-0.011130993,
-0.031368516,
0.049780473,
-0.027134903,
-0.053190093,
-0.0117205735,
0.016252529,
-0.0043330602,
-0.04864393,
-0.0021576511,
0.008865016,
0.01074741,
0.017374862,
0.009461699,
0.024023624,
0.02584209,
-0.08518371,
0.049950954,
-0.03276078,
-0.006780174,
-0.03861396,
-0.052309275,
-0.028939161,
-0.018198853,
-0.014434064,
0.02246088,
0.03375525,
0.006243869,
0.004734401,
0.01768741,
-0.004404094,
-0.0087087415,
0.050490808,
0.027305385,
-0.0028591095,
0.0026016121,
-0.0006317567,
0.003654688,
0.0016435441,
0.00046260748,
0.04063132,
0.017005486,
-0.00065040303,
0.0019427738,
-0.0022357882,
-0.0027756449,
-0.015243849,
-0.021182273,
-0.025302231,
-0.03324381,
-0.019164914,
-0.014561924,
0.07955783,
-0.042932816,
-0.015513777,
0.002134565,
0.052962784,
0.011670849,
0.057764668,
-0.02237564,
0.008239918,
0.0013549693
] | Pad
Sentences aren't always the same length which can be an issue because tensors, the model inputs, need to have a uniform shape. Padding is a strategy for ensuring tensors are rectangular by adding a special padding token to shorter sentences.
Set the padding parameter to True to pad the shorter sequences in the batch to match the longest sequence: |
[
0.032342672,
0.006755882,
-0.006727361,
-0.0035009373,
-0.024242742,
-0.051423136,
0.0057719117,
-0.0025989646,
-0.0051373225,
0.07295639,
-0.02250297,
0.024855942,
0.020506509,
-0.029832834,
-0.054389305,
-0.011714948,
-0.03530884,
-0.07712044,
-0.019394195,
0.0037041483,
0.01567222,
0.0340254,
-0.0784324,
-0.02223202,
-0.04300948,
0.032171544,
0.0098753525,
0.014873636,
0.04805767,
0.03428209,
0.0029412152,
0.036364112,
-0.0026470935,
-0.07056064,
0.0140893115,
-0.027508382,
0.07324161,
-0.0039002295,
0.0076649846,
-0.01990757,
0.019679403,
-0.026224943,
0.012649007,
-0.038075365,
-0.058524832,
-0.047544297,
-0.02321599,
-0.009697097,
-0.014873636,
-0.016071511,
0.023016345,
-0.009903873,
0.06936277,
0.011529563,
-0.028948687,
-0.0014349564,
-0.007921672,
-0.006463543,
-0.036677845,
-0.008570522,
-0.024100138,
0.039929222,
-0.023900492,
-0.056670975,
-0.04606121,
0.010046477,
0.022631314,
0.015529616,
-0.012641877,
-0.043209124,
-0.023016345,
0.014845114,
-0.031914856,
-0.029775793,
-0.062860005,
-0.014859375,
-0.019978872,
-0.007130218,
-0.016684711,
0.07854649,
-0.013098211,
0.02127657,
0.004741595,
-0.010303166,
-0.009112419,
-0.053048823,
0.041640475,
-0.017440515,
0.01696992,
-0.027522642,
0.0064492826,
0.0134975035,
-0.026196422,
0.025811391,
0.044321436,
0.04335173,
-0.0025223147,
0.05812554,
0.0074510784,
-0.007051786,
0.05744104,
0.06206142,
-0.008085668,
0.04600417,
0.0015659742,
0.025255233,
0.043636937,
0.019322893,
-0.053761847,
0.036050383,
-0.0017540337,
-0.0049127205,
-0.00042179698,
-0.03687749,
-0.041298226,
0.032171544,
0.02449943,
0.0102247335,
-0.026310505,
0.007173,
-0.009012596,
-0.0008525067,
0.021604562,
-0.011814772,
0.011536693,
-0.068507135,
-0.00040040634,
0.027921936,
-0.042809833,
-0.0030677766,
0.030431772,
0.015187365,
0.021376394,
0.028763302,
-0.018467266,
0.017526077,
0.003037473,
-0.013796972,
0.036478195,
0.0063173734,
0.01628542,
-0.022046635,
-0.022274802,
0.077462696,
0.00978979,
-0.0150305005,
0.0022941479,
0.005301317,
-0.014916417,
-0.0019019857,
-0.06382971,
0.020649113,
-0.010210473,
-0.0011550954,
-0.03653524,
0.012677528,
-0.008256793,
0.001860987,
-0.031059232,
-0.0070624813,
0.00782185,
-0.029005729,
-0.012028678,
0.06411492,
-0.03875987,
0.05781181,
-0.047458734,
-0.00879869,
0.0005441248,
-0.029162593,
0.03037473,
0.008748778,
0.018410224,
0.033397943,
0.030431772,
0.03987218,
0.025098369,
-0.023700846,
0.006206855,
0.006238941,
-0.024841681,
-0.015600918,
-0.0110589685,
0.002668484,
-0.0049376762,
0.010246124,
0.0117506,
-0.028763302,
-0.03428209,
-0.01209998,
0.0549312,
0.044378478,
-0.04015739,
0.014410172,
0.008955554,
0.02121953,
-0.03522328,
0.0054688775,
-0.011044708,
-0.050396383,
-0.020392425,
0.04728761,
0.04571896,
0.015429793,
-0.007126653,
-0.011158791,
0.058268145,
0.04115562,
-0.04643198,
-0.0012228325,
0.026795361,
-0.0095616225,
-0.019151766,
0.024841681,
0.011287136,
-0.015843345,
-0.021961072,
0.03824649,
-0.0016542106,
0.04412179,
-0.024328304,
0.019137505,
0.03405392,
0.025226712,
-0.013632977,
-0.031087752,
0.0075865523,
0.026609976,
0.019051943,
0.047544297,
0.02481316,
0.02285948,
0.0064884988,
0.073869064,
-0.010788021,
0.027921936,
0.036706366,
0.037020095,
-0.001532997,
-0.021119706,
-0.01336203,
-0.0025401402,
0.04221089,
-0.009739879,
0.023529721,
0.03821797,
-0.014317478,
-0.0040107477,
-0.032827526,
0.032285627,
-0.016071511,
0.065769136,
0.02154752,
0.004855679,
-0.011130271,
-0.050453424,
-0.0013422637,
0.031971898,
-0.037362345,
-0.038702827,
0.027037788,
0.012485012,
0.034196526,
-0.024684817,
0.018823776,
0.050453424,
0.0058432138,
-0.0047202045,
-0.022174979,
-0.020050174,
-0.047116484,
-0.066111386,
-0.056642454,
0.004474212,
-0.035508487,
-0.021290831,
-0.011893204,
-0.03987218,
-0.0054973983,
0.0012130284,
-0.018467266,
0.019123245,
-0.021604562,
0.045547836,
-0.0035918476,
-0.010944885,
-0.047858026,
0.010916364,
0.010181952,
0.048485484,
-0.009654316,
0.017084002,
-0.030061001,
-0.04928407,
-0.022702616,
-0.005818258,
0.024613515,
-0.0030000394,
-0.017911108,
-0.013804102,
0.0012754179,
0.0025312274,
-0.008320965,
0.0007580313,
-0.021576041,
0.04996857,
0.07113106,
-0.010238994,
0.025953995,
0.043266166,
-0.0483714,
0.055159368,
0.012378059,
-0.0014171309,
-0.0147167705,
0.025098369,
0.039758097,
0.033483505,
-0.009533102,
-0.019536799,
-0.037390865,
0.0076222033,
-0.009404758,
-0.04640346,
-0.0007932368,
0.03436765,
-0.04377954,
-0.055701267,
0.028321227,
-0.06588322,
-0.036991574,
-0.0040998757,
0.015044761,
0.04443552,
0.009832571,
-0.00017290779,
-0.024485169,
-0.02579713,
0.0122425845,
0.051993553,
0.018324662,
-0.008670346,
-0.021091186,
0.013918187,
-0.0054047056,
0.01275596,
0.03519476,
-0.02024982,
-0.0042674355,
-0.006830749,
0.03459582,
0.03459582,
0.025896953,
-0.0034991547,
0.01699844,
0.04999709,
-0.04346581,
0.021918291,
0.042724267,
0.019094724,
0.026396068,
0.010616895,
-0.002140848,
0.006242506,
-0.015287188,
-0.025212452,
0.0067095356,
0.0043458682,
0.0326564,
-0.03627855,
0.02516967,
0.00912668,
-0.01565796,
0.023629544,
-0.021062665,
-0.055073805,
0.04794359,
0.0066667544,
0.058638915,
-0.024028836,
0.01667045,
0.0012050068,
-0.011558084,
0.019836267,
0.034795467,
0.060977627,
-0.000085395506,
-0.019108985,
-0.029547624,
0.026567193,
0.0012968085,
-0.022959303,
-0.023458418,
-0.015515355,
-0.04212533,
-0.028135842,
0.022146458,
0.012064329,
0.043922145,
0.002053503,
0.01725513,
-0.022645574,
0.021789948,
0.040414076,
0.0039002295,
-0.023458418,
-0.029946918,
0.053134385,
0.0020196342,
0.01142261,
-0.06879234,
0.0036756275,
-0.042781312,
0.020349644,
0.0054260963,
-0.0019447671,
-0.04731613,
0.012306757,
0.011073229,
-0.015757782,
-0.005939472,
-0.024955764,
-0.0022460187,
0.010246124,
0.06046425,
-0.036763407,
-0.011258615,
-0.0017629465,
0.0014180222,
0.018039452,
-0.0043565636,
-0.018139275,
-0.04608973,
-0.047059443,
-0.044349957,
-0.00016421784,
0.04962632,
0.004139092,
0.03522328,
-0.040385555,
0.027579684,
0.010367338,
-0.018652651,
-0.023786409,
0.008171231,
-0.017155305,
0.0052157547,
0.03984366,
-0.02251723,
-0.029661708,
0.030146563,
-0.05099532,
0.002500924,
-0.041611955,
0.016370982,
-0.0138112325,
-0.02419996,
0.0127417,
0.045604877,
0.0040000523,
-0.029690228,
0.0041925684,
0.02613938,
-0.023087647,
-0.066453636,
0.01239945,
0.028036019,
-0.015044761,
0.010345947,
-0.019365674,
0.002905564,
0.021005623,
0.02546914,
-0.00014928894,
0.0046845535,
0.0012032243,
0.03331238,
-0.018453006,
-0.0058039976,
0.026866663,
-0.021034144,
0.02323025,
0.0054011405,
-0.009290675,
-0.028677737,
-0.06827897,
0.005030369,
0.0044599515,
-0.0011096402,
0.035451446,
0.024955764,
-0.010966276,
0.012206933,
-0.048114713,
-0.023415636,
-0.025298014,
-0.0024064486,
-0.038645785,
0.06565505,
0.01403227,
0.026196422,
-0.01957958,
-0.016256899,
0.018766735,
-0.015215886,
0.015073282,
-0.024214221,
-0.011472521,
-0.006492064,
-0.019465497,
-0.0029037814,
0.024071617,
0.0018948555,
-0.024713337,
0.009176591,
-0.008235402,
0.018780995,
0.005451052,
-0.036050383,
0.072443016,
0.00949032,
-0.05715583,
0.0007067829,
0.008292444,
0.009397628,
0.018909339,
0.0293765,
-0.027665248,
-0.01537275,
-0.060635377,
0.031572606,
-0.034681384,
0.006720231,
-0.064229004,
-0.029519103,
-0.04149787,
0.034168005,
-0.021019883,
-0.07483877,
-0.007386906,
-0.04571896,
0.014260436,
0.012848654,
-0.026039558,
-0.028820343,
-0.0009777312,
-0.012299627,
0.029633187,
-0.00027005703,
0.00034670686,
0.01174347,
-0.022773918,
0.006855705,
0.07346977,
-0.07147331,
0.011322787,
-0.00065107807,
0.003329812,
-0.01957958,
0.005932342,
-0.018481527,
0.022816699,
-0.034624342,
-0.009818311,
-0.061890297,
-0.04797211,
-0.051480178,
-0.008249663,
0.07038952,
-0.053362556,
-0.043608416,
-0.034110963,
0.0385317,
0.042638704,
0.03750495,
-0.028806083,
-0.02575435,
-0.07027543,
-0.041269705,
0.032770485,
-0.00062344846,
0.015158844,
0.01798241,
-0.014759552,
0.046175294,
-0.038617264,
0.035166238,
0.09879631,
-0.016756013,
0.018866558,
-0.048514005,
0.024028836,
-0.008670346,
-0.036478195,
0.03205746,
-0.01665619,
-0.015287188,
-0.0050945412,
-0.039358806,
-0.057070266,
-0.011237225,
-0.0018413789,
0.04107006,
-0.041925684,
0.03433913,
-0.010952015,
-0.033027172,
-0.02648163,
0.047145005,
0.023672326,
0.025683047,
0.054817118,
-0.0013351333,
-0.0023601023,
-0.019722184,
-0.020335382,
-0.0052121896,
-0.01698418,
0.03858874,
-0.012292497,
-0.0340254,
0.036991574,
0.01702696,
-0.045120023,
-0.052136157,
0.031572606,
-0.015401272,
-0.015087542,
-0.03590778,
-0.024756119,
0.03653524,
-0.030203605,
0.0009251458,
0.0307455,
-0.026239203,
-0.0031462088,
0.013526024,
-0.0117577305,
-0.025340796,
0.045205586,
0.04671719,
-0.02121953,
0.0071480437,
-0.07312752,
-0.0075936825,
-0.020420946,
-0.001278983,
0.054474868,
0.008420788,
0.022702616,
0.028777562,
0.0066988403,
0.07227189,
-0.03944437,
-0.00030882758,
0.003345855,
-0.019166026,
-0.042638704,
-0.017383473,
0.021176748,
-0.0049127205,
0.014645468,
-0.003429635,
-0.019194547,
-0.009369107,
0.04600417,
-0.0176259,
-0.08864287,
0.022132197,
-0.026581453,
-0.041013017,
-0.041925684,
-0.047743943,
-0.008570522,
0.025084108,
-0.00913381,
-0.0418116,
-0.019736445,
-0.004017878,
-0.069305725,
-0.023943273,
-0.049740404,
-0.0072942134,
-0.05521641,
-0.009105288,
-0.017055482,
0.006263897,
0.006456413,
-0.009661446,
-0.025896953,
-0.027337257,
-0.051793907,
0.045861565,
-0.027479861,
0.009611534,
0.010388728,
-0.013105341,
0.027536903,
-0.0039394456,
-0.0036203684,
-0.025953995,
0.032342672,
-0.016584888,
-0.017340692,
-0.008064277,
-0.0012718528,
-0.018852297,
0.0326564,
0.040898934,
-0.021319352,
0.03037473,
0.012599096,
0.042581663,
-0.053105865,
-0.03625003,
-0.021048404,
-0.0007018809,
0.022260541,
0.018666912,
0.011394089,
0.06308817,
0.011044708,
0.024756119,
-0.010424379,
0.023886232,
0.010395858,
0.0037255392,
-0.01699844,
-0.007055351,
0.023401376,
-0.00032108265,
0.00912668,
0.01989331,
-0.037077136,
0.027066309,
0.005896691,
-0.040984496,
-0.033084214,
0.023429897,
-0.011465391,
0.01896638,
0.02449943,
-0.050481945,
-0.0033315946,
0.032342672,
-0.017839806,
0.010103519,
-0.025668787,
-0.03297013,
0.016542107,
-0.013012649,
-0.0038610133,
-0.054788597,
-0.030659938,
-0.004930546,
0.025369316,
0.01664193,
-0.01043864,
0.038360573,
0.012050069,
0.032485276,
-0.021476218,
-0.021818468,
-0.011700688,
-0.004606121,
-0.026895184,
-0.026524412,
0.024356825,
0.029290937,
0.014253306,
-0.024385346,
-0.051394615,
0.011187312,
0.013675759,
0.019622361,
0.009682837,
0.021005623,
-0.05222172,
0.037134178,
-0.047173526,
-0.008206882,
0.012228324,
0.028235665,
-0.008114189,
0.016171336,
-0.01989331,
0.022289062,
0.027593944,
-0.014139223,
0.011237225,
0.019793486,
0.019180287,
0.0009037552,
0.0137755815,
-0.042610183,
0.048257317,
0.06194734,
0.02579713,
-0.02224628,
0.02126231,
0.036734886,
-0.041355267,
-0.01956532,
0.025711568,
-0.014524255,
-0.0070446557,
0.005347664,
-0.026852403,
-0.023016345,
-0.0036399765,
-0.009169461,
0.011451131,
0.01336916,
-0.006987614,
0.006014339,
-0.05068159,
0.023287293,
-0.014581297,
-0.018738214,
-0.0021568912,
-0.013832624,
0.036991574,
0.047030922,
0.00068182714,
-0.029804314,
0.0653128,
0.026410328,
0.025226712,
0.027593944,
-0.023059126,
0.02708057,
0.019108985,
-0.0018164231,
-0.024214221,
-0.013561675,
-0.0028467397,
-0.020991363,
-0.06941981,
-0.00037968412,
0.0040891804,
-0.016756013,
0.05618612,
-0.03368315,
-0.021091186,
-0.04144083,
0.033112735,
-0.015486835,
0.040642243,
0.03200042,
-0.060122002,
-0.035166238,
0.04480629,
-0.011365568,
0.011629386,
0.01013917,
0.088699915,
0.029191114,
0.08493516,
-0.006894921,
0.004934111,
0.028264185,
-0.0028645652,
-0.009497451,
-0.025383577,
0.011786251,
-0.007893152,
0.026552932,
-0.030517334,
-0.04409327,
-0.0016622321,
0.026937965,
-0.0274656,
-0.036164466,
0.014445823,
0.008071407,
-0.01276309,
0.015829084,
0.05841075,
0.015871866,
0.003281683,
-0.017126784,
0.0015757782,
-0.014452953,
-0.0063565895,
-0.0054653124,
0.035736654,
-0.05253545,
-0.043579895,
-0.020078694,
-0.050481945,
-0.029975438,
0.020706154,
-0.009568753,
-0.03368315,
0.032827526,
0.03202894,
0.016413763,
0.025055587,
-0.01664193,
-0.012271106,
0.06474239,
0.038503177,
-0.005550875,
0.035137717,
0.029889876,
0.0018627696,
0.04403623,
0.0018698998,
0.0352518,
0.034624342,
0.014859375,
0.012492143,
0.00784324,
-0.033454984,
-0.05521641,
-0.01729791,
0.05222172,
0.017511817,
-0.024428127,
-0.07181556,
-0.012962737,
-0.07369794,
0.021647343,
-0.012962737,
0.061548047,
-0.0057255654,
-0.003721974,
-0.023387115,
-0.057013225,
0.24208517,
0.092293546,
0.046546064,
0.0020624157,
0.015158844,
0.024941504,
0.021590302,
-0.036449675,
0.0030624287,
-0.012955607,
0.030859586,
-0.036021862,
0.016256899,
0.033740193,
-0.0034314175,
0.03291309,
-0.065769136,
0.0071694343,
-0.011579474,
-0.019194547,
-0.060236085,
0.0126276165,
0.024584994,
0.03530884,
0.006082076,
-0.0011845075,
0.033569068,
-0.026039558,
-0.011900335,
-0.019622361,
0.00051114755,
-0.01012491,
0.031629648,
-0.0013128514,
0.016556367,
0.037276782,
-0.011080359,
-0.062917046,
-0.008763039,
0.00637085,
0.0019946785,
-0.013825494,
-0.0059145163,
-0.02414292,
-0.031487044,
0.047458734,
-0.0047594206,
0.037020095,
0.06228959,
-0.07803311,
0.018367443,
-0.0039002295,
0.037134178,
-0.01629968,
-0.041954204,
0.0020624157,
-0.00441004,
-0.0038075366,
-0.022374624,
0.028777562,
-0.011850423,
0.014253306,
0.051337574,
0.0015187365,
-0.026438849,
0.036963053,
0.008092798,
0.056670975,
-0.023458418,
0.007151609,
0.031572606,
-0.0073940363,
-0.021105446,
0.0050232387,
0.022745397,
0.022602793,
-0.0051088016,
0.0101890825,
0.028962947,
-0.042667225,
0.023957534,
-0.0060214694,
-0.04531967,
-0.006641798,
-0.009739879,
0.06331634,
-0.012984128,
0.014802333,
-0.015843345,
0.025183931,
0.0039358805,
-0.021633083,
-0.005033934,
-0.018453006,
0.0039394456
] |
batch_sentences = [
"But what about second breakfast?",
"Don't think he knows about second breakfast, Pip.",
"What about elevensies?",
]
encoded_input = tokenizer(batch_sentences, padding=True)
print(encoded_input)
{'input_ids': [[101, 1252, 1184, 1164, 1248, 6462, 136, 102, 0, 0, 0, 0, 0, 0, 0],
[101, 1790, 112, 189, 1341, 1119, 3520, 1164, 1248, 6462, 117, 21902, 1643, 119, 102],
[101, 1327, 1164, 5450, 23434, 136, 102, 0, 0, 0, 0, 0, 0, 0, 0]],
'token_type_ids': [[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]],
'attention_mask': [[1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0],
[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
[1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0]]} |
[
0.045902483,
-0.018098537,
0.06036491,
0.024659941,
-0.020818785,
-0.021980701,
0.0016950291,
-0.0052593746,
-0.029280262,
0.06933216,
0.04161023,
0.0005805304,
-0.0055532707,
-0.011386768,
-0.03127602,
0.029170904,
0.003311458,
-0.0606383,
-0.026190935,
0.049374558,
0.012610197,
-0.0011687499,
-0.0965073,
-0.0073063956,
-0.035841666,
0.025589472,
0.024782967,
-0.0073269,
0.05872456,
0.05134298,
-0.009958296,
0.0011721674,
0.01399766,
-0.037755407,
-0.005365314,
-0.01017701,
0.0014165113,
0.0035882674,
-0.01596608,
0.0013763568,
0.036716517,
-0.03463874,
0.034283333,
-0.030920612,
-0.03472076,
-0.024509575,
-0.0035609282,
0.0030380664,
-0.03231491,
-0.036415786,
-0.013772111,
-0.004592982,
0.042867836,
0.009329495,
-0.045875143,
0.011933552,
-0.0075114397,
0.004384521,
-0.049210522,
0.0033029146,
-0.0005412303,
0.02835073,
0.025521124,
-0.046558622,
0.016266812,
0.053694148,
-0.029580992,
-0.019287791,
0.0090355985,
-0.010416227,
-0.028569443,
-0.024618931,
-0.011209063,
0.0012652914,
-0.04243041,
-0.013122806,
0.041500874,
-0.003738633,
0.0014370156,
0.038739618,
0.012664875,
0.0419383,
0.045793127,
-0.014134356,
-0.038930994,
-0.049811985,
0.035513595,
-0.008283772,
0.00034665226,
-0.0051773572,
-0.026942762,
0.020272002,
-0.016389837,
0.0064007854,
0.0043811034,
0.03294371,
-0.018727338,
0.038739618,
0.04890979,
-0.016690569,
0.030756578,
0.06271608,
0.0063221855,
0.015952412,
-0.06424707,
0.031494737,
0.05932602,
-0.0117080035,
-0.025985891,
0.009117616,
0.010149671,
0.016840935,
0.025849195,
-0.017989181,
-0.066379525,
0.033873245,
0.010744298,
0.002200804,
-0.03764605,
0.0071491953,
0.03067456,
0.009206469,
0.013389363,
-0.028432747,
0.046914034,
-0.021461256,
0.0050919224,
0.03064722,
-0.002234978,
0.024495905,
-0.0070535084,
-0.009179129,
0.042840496,
0.01265804,
0.024468565,
0.012610197,
-0.0103752185,
0.051917102,
0.009370504,
-0.016034428,
-0.0021222038,
0.014312061,
-0.03168611,
0.06621549,
0.017292032,
-0.009896783,
0.03201418,
-0.020217324,
-0.019123755,
0.04133684,
-0.066488884,
0.03630643,
0.0004570769,
-0.0034669498,
-0.02300592,
-0.021187864,
-0.0071286913,
-0.01533728,
0.0063563595,
-0.019684209,
0.022869224,
-0.0071491953,
-0.0075456137,
0.06227865,
-0.029717688,
0.046804674,
-0.03759137,
0.0017685032,
-0.009281651,
-0.021898683,
0.0030619882,
-0.005881341,
-0.019957602,
0.009267982,
0.020627411,
0.07775263,
-0.0064930553,
-0.0196432,
0.029827045,
-0.0073542395,
-0.020066958,
0.031494737,
0.03636111,
-0.006260672,
0.004787774,
-0.022527484,
0.011270577,
0.008762207,
-0.026874414,
0.0059565236,
0.012774232,
0.040188596,
-0.026436986,
0.013594407,
-0.007627631,
-0.0071833692,
-0.0372633,
0.061458476,
0.025726167,
-0.0427038,
-0.04735146,
0.029827045,
-0.044016078,
0.013109136,
-0.03466608,
-0.0011414108,
0.013286841,
0.053830843,
0.027735598,
0.014640131,
0.018399268,
0.0060556284,
-0.020641081,
0.015514985,
-0.021037498,
-0.052901313,
-0.017510744,
0.02269152,
-0.0013404741,
0.04776155,
-0.004152138,
0.028159356,
0.0026758222,
0.0066912645,
0.029198244,
-0.015173244,
0.024099488,
0.04267646,
-0.01566535,
0.03701725,
0.019492835,
0.019943932,
0.037427336,
0.047843564,
0.021994371,
0.024714619,
0.08896169,
0.066816956,
-0.021037498,
0.027516885,
0.007955701,
0.016034428,
0.0150228795,
0.013444042,
0.02434554,
0.018125877,
-0.0034549888,
-0.01633516,
-0.0120019,
-0.015077557,
-0.019520175,
0.04699605,
0.032533623,
0.006059046,
-0.045738447,
-0.015747368,
-0.012630701,
-0.022978581,
-0.046421926,
-0.05301067,
0.01696396,
0.032369588,
0.0066434206,
-0.04166491,
0.03567763,
0.028678799,
0.014148026,
0.022431796,
0.0030722404,
-0.015145905,
-0.02630029,
-0.064739175,
-0.04502763,
-0.012541848,
-0.01398399,
0.015405628,
0.023853434,
-0.054924414,
0.005590862,
-0.0067117685,
-0.041145466,
-0.01332785,
-0.011284246,
0.044972952,
-0.02900687,
-0.012104422,
-0.054569002,
0.049456578,
0.005529349,
0.06900409,
-0.014271052,
-0.03198684,
-0.013259502,
-0.041555554,
0.005273044,
-0.00041585456,
0.021187864,
0.0060077845,
-0.022076387,
-0.0096644005,
0.002841566,
0.011496125,
-0.024195174,
0.0143667385,
0.016389837,
0.037919443,
0.031412717,
-0.024605261,
0.016854605,
0.051561695,
-0.0053789834,
0.026929092,
0.00216663,
0.07507339,
-0.015405628,
-0.026204605,
0.039450437,
0.012261622,
-0.01997127,
-0.045246344,
-0.012712719,
0.009267982,
0.009172295,
0.015296271,
0.002932127,
0.017934501,
-0.011543969,
-0.03996988,
0.008468311,
-0.044426166,
0.020531723,
-0.0083726235,
-0.04095409,
0.04341462,
0.049183186,
-0.001301174,
-0.05257324,
-0.046749998,
-0.01181736,
0.017278362,
0.012261622,
-0.0051773572,
-0.033135086,
0.042731136,
0.004548556,
0.023306651,
0.030127777,
-0.04368801,
-0.010703289,
0.020941813,
0.030838594,
0.019547513,
0.012514509,
0.0055498537,
-0.0074909353,
0.038411546,
-0.03931374,
-0.02895219,
-0.022459136,
-0.020545393,
0.0392864,
0.012705884,
0.0019410817,
-0.008099232,
-0.027284501,
-0.023443347,
0.030565202,
0.009172295,
0.064903215,
0.026450656,
0.038876314,
0.0038309025,
-0.040872075,
0.03130336,
-0.007477266,
-0.004798026,
0.05692017,
0.017866153,
0.040872075,
-0.061403796,
-0.04735146,
0.0222951,
-0.008912573,
0.062770754,
0.041227482,
0.036197074,
-0.03436535,
-0.055553213,
0.0054883403,
0.02933494,
0.00523887,
-0.0037317981,
0.00057583145,
-0.01997127,
-0.024249852,
-0.03707193,
-0.035923682,
0.08404064,
0.01217277,
0.027161475,
0.006585325,
-0.019205773,
0.004141886,
0.02936228,
0.0064964727,
-0.028678799,
-0.045765787,
0.054514326,
-0.016676899,
-0.0025322915,
-0.017456066,
-0.060036838,
0.0035062497,
0.023812426,
-0.03165877,
0.003940259,
-0.0150365485,
-0.0018744426,
0.046777338,
-0.033599854,
-0.025247732,
-0.023839764,
-0.0073200655,
0.015856724,
0.0380288,
-0.06780116,
0.019902922,
-0.049210522,
0.030756578,
0.034283333,
0.015569663,
-0.020900803,
-0.054842394,
-0.066926315,
-0.04428947,
0.037208624,
0.028296052,
-0.030701898,
0.034584064,
-0.057302922,
-0.0069680735,
0.024277192,
-0.020750437,
0.011954056,
-0.017606432,
0.009575548,
0.039368417,
0.024646271,
-0.02900687,
-0.0679652,
-0.008577667,
-0.042266373,
0.0043811034,
-0.07939298,
0.007586622,
-0.021980701,
-0.004985983,
-0.028542103,
0.044234794,
0.0123299705,
0.027940642,
-0.04729678,
0.012446161,
-0.01466747,
-0.024646271,
0.041172806,
0.033299122,
-0.023087937,
0.039450437,
0.004558808,
0.0047399304,
0.023853434,
0.051151603,
0.009158625,
0.018112207,
0.0020726516,
0.029280262,
-0.025029019,
-0.021994371,
0.013621747,
-0.05899795,
0.044152774,
-0.013608077,
-0.02966301,
-0.009794261,
-0.07408918,
-0.04557441,
0.00023921783,
-0.007832675,
0.03559561,
0.033435818,
0.014024999,
0.016854605,
-0.021775657,
-0.0150228795,
-0.010040314,
-0.012446161,
0.0009466191,
0.033763885,
0.04601184,
0.03031915,
-0.01314331,
0.012384648,
0.046914034,
0.0058369148,
-0.0634269,
-0.0130202845,
-0.008078728,
0.035568275,
-0.017497076,
-0.013204824,
0.0073542395,
0.016854605,
-0.01868633,
0.021474926,
-0.021789325,
0.043086547,
-0.034064617,
0.0036361108,
0.037782747,
-0.01533728,
-0.0137037635,
0.008297441,
0.0010371801,
-0.021406578,
0.0146538,
-0.027885964,
-0.03540424,
-0.060528945,
-0.04196564,
0.033873245,
-0.0022640259,
-0.014558113,
-0.04560175,
-0.03925906,
-0.0039846855,
0.028596781,
0.030373828,
-0.036962572,
-0.0031440058,
-0.05888859,
0.050304092,
-0.054815054,
-0.002557922,
-0.029088886,
0.02265051,
0.0046408256,
0.0593807,
0.0020555647,
-0.006947569,
0.043715347,
-0.012596527,
0.04896447,
0.030455846,
-0.03365453,
0.007224378,
0.002132456,
-0.033080406,
0.003318293,
-0.0008206026,
-0.029498976,
0.04161023,
-0.047433477,
0.01734671,
-0.004442617,
-0.02835073,
-0.014394078,
-0.027052118,
0.039395757,
-0.05702953,
-0.0049244696,
-0.013184319,
-0.0056011146,
0.0163625,
0.013594407,
-0.010751133,
0.025179384,
-0.021761987,
-0.009883113,
0.025931211,
-0.027243493,
-0.020873465,
-0.023074267,
-0.021187864,
0.072175436,
-0.0687307,
0.04992134,
0.075565495,
-0.037208624,
0.0076139616,
-0.025821855,
0.036907893,
-0.011311586,
-0.0042273207,
0.029252922,
0.025507454,
-0.052217834,
-0.011352594,
-0.05265526,
-0.047788884,
-0.030893274,
0.028159356,
0.05396754,
-0.021488596,
0.07813538,
0.00458273,
-0.042074997,
-0.046886694,
0.060255554,
0.008591337,
-0.013177484,
0.035540935,
-0.04439883,
-0.026395978,
0.013915642,
-0.027147805,
-0.03267032,
-0.038220175,
0.075620174,
0.023744078,
-0.025548464,
0.014886184,
0.038192835,
-0.049839325,
-0.07939298,
-0.01349872,
-0.015104896,
-0.049894,
-0.050276753,
-0.029526314,
0.0021239126,
-0.04554707,
0.044754237,
0.017100656,
-0.028706139,
-0.0018539381,
0.032451607,
0.005115844,
-0.029225582,
0.039532453,
0.056537423,
-0.03165877,
0.019916592,
-0.051835086,
0.0035199195,
-0.015692689,
0.011523465,
0.057138886,
-0.011434612,
-0.0039095026,
0.023539035,
-0.004668165,
0.051425,
-0.031850144,
0.04964795,
0.024154166,
-0.02895219,
-0.03805614,
-0.025985891,
0.03444737,
0.006387116,
0.037782747,
-0.021789325,
-0.019397149,
-0.0059120976,
0.022103727,
-0.006130811,
-0.054158915,
0.012377813,
0.0110040195,
-0.004152138,
-0.01867266,
-0.01399766,
0.0136764245,
0.036251754,
-0.0050269915,
-0.048144296,
-0.029280262,
0.017018639,
-0.028432747,
0.019697879,
-0.033135086,
0.030045759,
-0.050577484,
-0.0057788193,
-0.022008039,
-0.02565782,
-0.033873245,
0.013273172,
0.005269627,
0.0096712345,
-0.05631871,
0.042813156,
-0.0065408987,
0.0027322092,
-0.012425657,
0.012241118,
0.016909283,
-0.014216374,
-0.05363947,
0.040434647,
0.009329495,
-0.0034789105,
-0.015706358,
0.03824751,
-0.013840459,
-0.03800146,
0.0059189326,
0.043523975,
-0.012541848,
0.0004171361,
0.0077916663,
0.029225582,
-0.059763446,
0.008003545,
-0.005819828,
-0.03373655,
0.0024571088,
0.019451827,
0.03565029,
0.063098826,
-0.011721673,
0.0012089043,
-0.01734671,
-0.0020043035,
0.030783916,
0.020600071,
0.020107966,
-0.0067356904,
-0.010737463,
-0.03966915,
0.0090150945,
0.0096644005,
-0.01695029,
-0.009855774,
-0.022623172,
-0.008570833,
-0.017620102,
-0.013054458,
-0.023238303,
0.018426606,
0.032478947,
-0.0130339535,
-0.020682089,
0.0007539633,
-0.021201534,
0.025220394,
-0.094812274,
-0.021078508,
-0.012555518,
0.03761871,
0.006653673,
-0.015050218,
-0.03808348,
0.03827485,
-0.0016907573,
-0.0016856313,
0.00882372,
0.02798165,
0.018946052,
0.01997127,
-0.039805844,
-0.0039675985,
0.005457584,
-0.0123299705,
-0.049374558,
-0.009978801,
0.02832339,
0.03171345,
-0.015132236,
-0.012664875,
-0.029416958,
-0.0006151315,
-0.010429897,
0.0072722216,
0.0016728161,
0.0038411547,
-0.016526533,
-0.0060043675,
-0.006301681,
0.006352942,
-0.03127602,
0.019192103,
0.026477996,
-0.0123163005,
0.0025032437,
0.011181724,
0.038930994,
-0.021720978,
0.003704459,
0.014558113,
-0.0024964088,
-0.025439106,
-0.0014327439,
-0.024400217,
0.039833184,
0.031385377,
0.015460306,
0.005146601,
0.0058437497,
0.013580738,
-0.025917543,
-0.037864763,
0.054459646,
0.024864985,
0.0054712533,
0.006035124,
-0.007429422,
-0.014435087,
-0.009172295,
-0.021037498,
0.024755627,
0.020914473,
0.0024707783,
-0.009329495,
-0.045437716,
0.07868216,
-0.0024366044,
-0.047624853,
-0.012097587,
-0.005324305,
0.015214253,
0.038110815,
-0.023265641,
0.013785781,
0.026190935,
0.03756403,
0.053912863,
0.03168611,
0.027694589,
0.035759646,
-0.026409648,
0.01315698,
0.007812171,
0.012152266,
-0.040407307,
-0.045219004,
-0.0117080035,
-0.007566118,
-0.034857456,
0.010703289,
-0.0053277225,
-0.03830219,
-0.015802046,
-0.005802741,
0.018877704,
-0.06134912,
-0.016471855,
0.017756797,
-0.032834355,
-0.027270831,
0.027489545,
0.043469295,
0.010265862,
-0.0027099962,
0.021830335,
0.0136764245,
0.04874576,
0.028706139,
0.00035519575,
0.030537864,
0.03400994,
0.0014148025,
-0.0173057,
0.0067698644,
-0.007333735,
0.0008782711,
0.021857673,
-0.049811985,
-0.017961841,
0.009725913,
0.0036190238,
-0.057248242,
-0.01965687,
0.026710378,
-0.017251022,
0.014640131,
0.042211693,
0.029252922,
-0.00055789016,
-0.04100877,
-0.019861914,
-0.006561403,
0.019820906,
-0.030264473,
0.0062299157,
-0.052163154,
-0.040461987,
-0.051233623,
-0.036033038,
-0.03368187,
-0.011796856,
-0.0065169767,
-0.061950583,
0.015214253,
0.011571308,
0.03231491,
0.01965687,
-0.020121636,
0.0006766447,
0.012193274,
0.024085818,
-0.037399996,
0.036716517,
0.03904035,
0.017251022,
0.0096712345,
0.0021222038,
0.027516885,
0.03231491,
-0.019192103,
-0.010498245,
0.0035301715,
-0.06627017,
-0.02699744,
-0.040544003,
0.042102337,
0.006923647,
-0.027407527,
-0.061458476,
-0.012863084,
-0.064793855,
0.0048629567,
-0.01218644,
0.04456286,
-0.0313307,
0.027106797,
0.026136255,
-0.06260672,
0.21871343,
0.059107307,
0.018535964,
-0.0024912828,
0.037810087,
0.070152335,
0.013122806,
-0.024823975,
-0.003697624,
-0.06348158,
0.004350347,
-0.050276753,
0.027352849,
0.039833184,
-0.0045007123,
0.009903618,
-0.06435643,
-0.018563302,
-0.008119737,
-0.05888859,
-0.023060597,
0.045410376,
0.00063905335,
0.0801038,
0.013867799,
0.011981395,
0.010634941,
-0.023894442,
-0.040489323,
-0.046832014,
0.016253142,
-0.05495175,
0.024769297,
0.014038669,
-0.044262134,
0.0034003104,
0.023785086,
-0.022541154,
-0.002103408,
0.0049073827,
-0.012945102,
-0.015747368,
-0.005994115,
-0.022035379,
-0.015528654,
0.0021392908,
-0.018139545,
0.039915204,
0.021078508,
-0.079010226,
0.048800435,
-0.018262573,
0.020682089,
-0.032096196,
-0.048062276,
-0.03901301,
-0.02933494,
-0.0065477337,
0.0005027846,
0.012480335,
0.0066673425,
-0.0027407529,
-0.044207454,
0.04024327,
-0.023757746,
0.05265526,
-0.016389837,
-0.008106067,
0.010245358,
-0.012418822,
0.014899853,
0.0032550711,
-0.019807236,
0.011386768,
-0.01366959,
0.01904174,
-0.0049552266,
-0.0045280517,
0.026956432,
0.002076069,
-0.0012114674,
-0.03895833,
-0.011434612,
-0.04166491,
0.019287791,
0.0720114,
-0.047105405,
0.0037898938,
-0.005529349,
0.031822804,
0.028214034,
0.03977851,
-0.0071286913,
-0.010826315,
-0.002041895
] | The first and third sentences are now padded with 0's because they are shorter.
Truncation
On the other end of the spectrum, sometimes a sequence may be too long for a model to handle. In this case, you'll need to truncate the sequence to a shorter length.
Set the truncation parameter to True to truncate a sequence to the maximum length accepted by the model: |
End of preview. Expand
in Dataset Viewer.
README.md exists but content is empty.
- Downloads last month
- 35