import{S as y2,i as b2,s as g2,e as a,k as f,w as y,t as n,M as M2,c as r,d as s,m as i,a as o,x as b,h as p,b as T,G as e,g as h,y as g,q as M,o as v,B as E,v as v2,L as ge}from"../chunks/vendor-hf-doc-builder.js";import{T as To}from"../chunks/Tip-hf-doc-builder.js";import{Y as _2}from"../chunks/Youtube-hf-doc-builder.js";import{I as Fe}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as F}from"../chunks/CodeBlock-hf-doc-builder.js";import{D as E2}from"../chunks/DocNotebookDropdown-hf-doc-builder.js";import{F as ul,M as he}from"../chunks/Markdown-hf-doc-builder.js";function T2(Z){let l,m;return l=new F({props:{code:"cGlwJTIwaW5zdGFsbCUyMHRvcmNo",highlighted:"pip install torch"}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function w2(Z){let l,m;return l=new he({props:{$$slots:{default:[T2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function j2(Z){let l,m;return l=new F({props:{code:"cGlwJTIwaW5zdGFsbCUyMHRlbnNvcmZsb3c=",highlighted:"pip install tensorflow"}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function k2(Z){let l,m;return l=new he({props:{$$slots:{default:[j2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function J2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z;return I=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMkMlMjBBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uJTBBJTBBbW9kZWwlMjAlM0QlMjBBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZChtb2RlbF9uYW1lKSUwQXRva2VuaXplciUyMCUzRCUyMEF1dG9Ub2tlbml6ZXIuZnJvbV9wcmV0cmFpbmVkKG1vZGVsX25hbWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, AutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModelForSequenceClassification.from_pretrained(model_name)
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(model_name)`}}),{c(){l=a("p"),m=a("code"),c=n("AutoModelForSequenceClassification"),u=n("\uACFC "),$=a("code"),k=n("AutoTokenizer"),J=n("\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uD568\uAED8 \uC5F0\uAD00\uB41C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC635\uB2C8\uB2E4. ("),_=a("code"),w=n("AutoClass"),A=n("\uC5D0 \uB300\uD55C \uB0B4\uC6A9\uC740 \uB2E4\uC74C \uC139\uC158\uC5D0\uC11C \uC0B4\uD3B4\uBCF4\uACA0\uC2B5\uB2C8\uB2E4)"),V=f(),y(I.$$.fragment)},l(G){l=r(G,"P",{});var R=o(l);m=r(R,"CODE",{});var X=o(m);c=p(X,"AutoModelForSequenceClassification"),X.forEach(s),u=p(R,"\uACFC "),$=r(R,"CODE",{});var j=o($);k=p(j,"AutoTokenizer"),j.forEach(s),J=p(R,"\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uD568\uAED8 \uC5F0\uAD00\uB41C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC635\uB2C8\uB2E4. ("),_=r(R,"CODE",{});var W=o(_);w=p(W,"AutoClass"),W.forEach(s),A=p(R,"\uC5D0 \uB300\uD55C \uB0B4\uC6A9\uC740 \uB2E4\uC74C \uC139\uC158\uC5D0\uC11C \uC0B4\uD3B4\uBCF4\uACA0\uC2B5\uB2C8\uB2E4)"),R.forEach(s),V=i(G),b(I.$$.fragment,G)},m(G,R){h(G,l,R),e(l,m),e(m,c),e(l,u),e(l,$),e($,k),e(l,J),e(l,_),e(_,w),e(l,A),h(G,V,R),g(I,G,R),z=!0},p:ge,i(G){z||(M(I.$$.fragment,G),z=!0)},o(G){v(I.$$.fragment,G),z=!1},d(G){G&&s(l),G&&s(V),E(I,G)}}}function U2(Z){let l,m;return l=new he({props:{$$slots:{default:[J2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function Z2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z;return I=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMkMlMjBURkF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24lMEElMEFtb2RlbCUyMCUzRCUyMFRGQXV0b01vZGVsRm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbi5mcm9tX3ByZXRyYWluZWQobW9kZWxfbmFtZSklMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZChtb2RlbF9uYW1lKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer, TFAutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = TFAutoModelForSequenceClassification.from_pretrained(model_name)
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(model_name)`}}),{c(){l=a("p"),m=a("code"),c=n("TFAutoModelForSequenceClassification"),u=n("\uACFC "),$=a("code"),k=n("AutoTokenizer"),J=n("\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uD568\uAED8 \uC5F0\uAD00\uB41C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC635\uB2C8\uB2E4. ("),_=a("code"),w=n("TFAutoClass"),A=n("\uC5D0 \uB300\uD55C \uB0B4\uC6A9\uC740 \uB2E4\uC74C \uC139\uC158\uC5D0\uC11C \uC0B4\uD3B4\uBCF4\uACA0\uC2B5\uB2C8\uB2E4)"),V=f(),y(I.$$.fragment)},l(G){l=r(G,"P",{});var R=o(l);m=r(R,"CODE",{});var X=o(m);c=p(X,"TFAutoModelForSequenceClassification"),X.forEach(s),u=p(R,"\uACFC "),$=r(R,"CODE",{});var j=o($);k=p(j,"AutoTokenizer"),j.forEach(s),J=p(R,"\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uD568\uAED8 \uC5F0\uAD00\uB41C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC635\uB2C8\uB2E4. ("),_=r(R,"CODE",{});var W=o(_);w=p(W,"TFAutoClass"),W.forEach(s),A=p(R,"\uC5D0 \uB300\uD55C \uB0B4\uC6A9\uC740 \uB2E4\uC74C \uC139\uC158\uC5D0\uC11C \uC0B4\uD3B4\uBCF4\uACA0\uC2B5\uB2C8\uB2E4)"),R.forEach(s),V=i(G),b(I.$$.fragment,G)},m(G,R){h(G,l,R),e(l,m),e(m,c),e(l,u),e(l,$),e($,k),e(l,J),e(l,_),e(_,w),e(l,A),h(G,V,R),g(I,G,R),z=!0},p:ge,i(G){z||(M(I.$$.fragment,G),z=!0)},o(G){v(I.$$.fragment,G),z=!1},d(G){G&&s(l),G&&s(V),E(I,G)}}}function C2(Z){let l,m;return l=new he({props:{$$slots:{default:[Z2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function R2(Z){let l,m;return l=new F({props:{code:"cHRfYmF0Y2glMjAlM0QlMjB0b2tlbml6ZXIoJTBBJTIwJTIwJTIwJTIwJTVCJTIyV2UlMjBhcmUlMjB2ZXJ5JTIwaGFwcHklMjB0byUyMHNob3clMjB5b3UlMjB0aGUlMjAlRjAlOUYlQTQlOTclMjBUcmFuc2Zvcm1lcnMlMjBsaWJyYXJ5LiUyMiUyQyUyMCUyMldlJTIwaG9wZSUyMHlvdSUyMGRvbid0JTIwaGF0ZSUyMGl0LiUyMiU1RCUyQyUwQSUyMCUyMCUyMCUyMHBhZGRpbmclM0RUcnVlJTJDJTBBJTIwJTIwJTIwJTIwdHJ1bmNhdGlvbiUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjBtYXhfbGVuZ3RoJTNENTEyJTJDJTBBJTIwJTIwJTIwJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJwdCUyMiUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>pt_batch = tokenizer(
<span class="hljs-meta">... </span>    [<span class="hljs-string">&quot;We are very happy to show you the \u{1F917} Transformers library.&quot;</span>, <span class="hljs-string">&quot;We hope you don&#x27;t hate it.&quot;</span>],
<span class="hljs-meta">... </span>    padding=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>    truncation=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>    max_length=<span class="hljs-number">512</span>,
<span class="hljs-meta">... </span>    return_tensors=<span class="hljs-string">&quot;pt&quot;</span>,
<span class="hljs-meta">... </span>)`}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function G2(Z){let l,m;return l=new he({props:{$$slots:{default:[R2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function W2(Z){let l,m;return l=new F({props:{code:"dGZfYmF0Y2glMjAlM0QlMjB0b2tlbml6ZXIoJTBBJTIwJTIwJTIwJTIwJTVCJTIyV2UlMjBhcmUlMjB2ZXJ5JTIwaGFwcHklMjB0byUyMHNob3clMjB5b3UlMjB0aGUlMjAlRjAlOUYlQTQlOTclMjBUcmFuc2Zvcm1lcnMlMjBsaWJyYXJ5LiUyMiUyQyUyMCUyMldlJTIwaG9wZSUyMHlvdSUyMGRvbid0JTIwaGF0ZSUyMGl0LiUyMiU1RCUyQyUwQSUyMCUyMCUyMCUyMHBhZGRpbmclM0RUcnVlJTJDJTBBJTIwJTIwJTIwJTIwdHJ1bmNhdGlvbiUzRFRydWUlMkMlMEElMjAlMjAlMjAlMjBtYXhfbGVuZ3RoJTNENTEyJTJDJTBBJTIwJTIwJTIwJTIwcmV0dXJuX3RlbnNvcnMlM0QlMjJ0ZiUyMiUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>tf_batch = tokenizer(
<span class="hljs-meta">... </span>    [<span class="hljs-string">&quot;We are very happy to show you the \u{1F917} Transformers library.&quot;</span>, <span class="hljs-string">&quot;We hope you don&#x27;t hate it.&quot;</span>],
<span class="hljs-meta">... </span>    padding=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>    truncation=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>    max_length=<span class="hljs-number">512</span>,
<span class="hljs-meta">... </span>    return_tensors=<span class="hljs-string">&quot;tf&quot;</span>,
<span class="hljs-meta">... </span>)`}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function A2(Z){let l,m;return l=new he({props:{$$slots:{default:[W2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function I2(Z){let l,m,c,u,$,k,J,_,w,A;return{c(){l=a("p"),m=a("a"),c=n("\uC804\uCC98\uB9AC"),u=n(" \uD29C\uD1A0\uB9AC\uC5BC\uC744 \uBCF4\uC2DC\uBA74 \uD1A0\uD070\uD654\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uC124\uBA85\uACFC \uD568\uAED8 \uC774\uBBF8\uC9C0, \uC624\uB514\uC624\uC640 \uBA40\uD2F0\uBAA8\uB2EC \uC785\uB825\uC744 \uC804\uCC98\uB9AC\uD558\uAE30 \uC704\uD55C "),$=a("code"),k=n("AutoFeatureExtractor"),J=n("\uACFC "),_=a("code"),w=n("AutoProcessor"),A=n("\uC758 \uC0AC\uC6A9\uBC29\uBC95\uB3C4 \uC54C \uC218 \uC788\uC2B5\uB2C8\uB2E4."),this.h()},l(V){l=r(V,"P",{});var I=o(l);m=r(I,"A",{href:!0});var z=o(m);c=p(z,"\uC804\uCC98\uB9AC"),z.forEach(s),u=p(I," \uD29C\uD1A0\uB9AC\uC5BC\uC744 \uBCF4\uC2DC\uBA74 \uD1A0\uD070\uD654\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uC124\uBA85\uACFC \uD568\uAED8 \uC774\uBBF8\uC9C0, \uC624\uB514\uC624\uC640 \uBA40\uD2F0\uBAA8\uB2EC \uC785\uB825\uC744 \uC804\uCC98\uB9AC\uD558\uAE30 \uC704\uD55C "),$=r(I,"CODE",{});var G=o($);k=p(G,"AutoFeatureExtractor"),G.forEach(s),J=p(I,"\uACFC "),_=r(I,"CODE",{});var R=o(_);w=p(R,"AutoProcessor"),R.forEach(s),A=p(I,"\uC758 \uC0AC\uC6A9\uBC29\uBC95\uB3C4 \uC54C \uC218 \uC788\uC2B5\uB2C8\uB2E4."),I.forEach(s),this.h()},h(){T(m,"href","./preprocessing")},m(V,I){h(V,l,I),e(l,m),e(m,c),e(l,u),e(l,$),e($,k),e(l,J),e(l,_),e(_,w),e(l,A)},d(V){V&&s(l)}}}function V2(Z){let l,m,c,u,$,k,J;return{c(){l=a("p"),m=a("code"),c=n("AutoModel"),u=n(" \uD074\uB798\uC2A4\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uB4E4\uC740 "),$=a("a"),k=n("\uD0DC\uC2A4\uD06C \uC815\uB9AC"),J=n(" \uBB38\uC11C\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694."),this.h()},l(_){l=r(_,"P",{});var w=o(l);m=r(w,"CODE",{});var A=o(m);c=p(A,"AutoModel"),A.forEach(s),u=p(w," \uD074\uB798\uC2A4\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uB4E4\uC740 "),$=r(w,"A",{href:!0});var V=o($);k=p(V,"\uD0DC\uC2A4\uD06C \uC815\uB9AC"),V.forEach(s),J=p(w," \uBB38\uC11C\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694."),w.forEach(s),this.h()},h(){T($,"href","./task_summary")},m(_,w){h(_,l,w),e(l,m),e(m,c),e(l,u),e(l,$),e($,k),e(l,J)},d(_){_&&s(l)}}}function F2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z,G,R,X,j,W,L,B,H,oe,P,te,O,K,pe,Q,Me,ae,ne,_e,x,se,ye,U,N,ce;return X=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24lMEElMEFtb2RlbF9uYW1lJTIwJTNEJTIwJTIybmxwdG93biUyRmJlcnQtYmFzZS1tdWx0aWxpbmd1YWwtdW5jYXNlZC1zZW50aW1lbnQlMjIlMEFwdF9tb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKG1vZGVsX25hbWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model_name = <span class="hljs-string">&quot;nlptown/bert-base-multilingual-uncased-sentiment&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model = AutoModelForSequenceClassification.from_pretrained(model_name)`}}),W=new To({props:{$$slots:{default:[V2]},$$scope:{ctx:Z}}}),K=new F({props:{code:"cHRfb3V0cHV0cyUyMCUzRCUyMHB0X21vZGVsKCoqcHRfYmF0Y2gp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pt_outputs = pt_model(**pt_batch)'}}),N=new F({props:{code:"ZnJvbSUyMHRvcmNoJTIwaW1wb3J0JTIwbm4lMEElMEFwdF9wcmVkaWN0aW9ucyUyMCUzRCUyMG5uLmZ1bmN0aW9uYWwuc29mdG1heChwdF9vdXRwdXRzLmxvZ2l0cyUyQyUyMGRpbSUzRC0xKSUwQXByaW50KHB0X3ByZWRpY3Rpb25zKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> torch <span class="hljs-keyword">import</span> nn

<span class="hljs-meta">&gt;&gt;&gt; </span>pt_predictions = nn.functional.softmax(pt_outputs.logits, dim=-<span class="hljs-number">1</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(pt_predictions)
tensor([[<span class="hljs-number">0.0021</span>, <span class="hljs-number">0.0018</span>, <span class="hljs-number">0.0115</span>, <span class="hljs-number">0.2121</span>, <span class="hljs-number">0.7725</span>],
        [<span class="hljs-number">0.2084</span>, <span class="hljs-number">0.1826</span>, <span class="hljs-number">0.1969</span>, <span class="hljs-number">0.1755</span>, <span class="hljs-number">0.2365</span>]], grad_fn=&lt;SoftmaxBackward0&gt;)`}}),{c(){l=a("p"),m=n("\u{1F917} Transformers\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uC778\uC2A4\uD134\uC2A4\uB97C \uAC04\uB2E8\uD558\uACE0 \uD1B5\uC77C\uB41C \uBC29\uC2DD\uC73C\uB85C \uBD88\uB7EC\uC62C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 "),c=a("code"),u=n("AutoTokenizer"),$=n("\uCC98\uB7FC "),k=a("code"),J=n("AutoModel"),_=n("\uB3C4 \uBD88\uB7EC\uC62C \uC218 \uC788\uAC8C \uB429\uB2C8\uB2E4. \uC720\uC77C\uD55C \uCC28\uC774\uC810\uC740 \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uD569\uD55C "),w=a("code"),A=n("AutoModel"),V=n("\uC744 \uC120\uD0DD\uD574\uC57C \uD55C\uB2E4\uB294 \uC810\uC785\uB2C8\uB2E4. \uD14D\uC2A4\uD2B8(\uB610\uB294 \uC2DC\uD000\uC2A4) \uBD84\uB958\uC758 \uACBD\uC6B0 "),I=a("code"),z=n("AutoModelForSequenceClassification"),G=n("\uC744 \uBD88\uB7EC\uC640\uC57C \uD569\uB2C8\uB2E4."),R=f(),y(X.$$.fragment),j=f(),y(W.$$.fragment),L=f(),B=a("p"),H=n("\uC774\uC81C \uC804\uCC98\uB9AC\uB41C \uC785\uB825 \uBC30\uCE58\uB97C \uBAA8\uB378\uB85C \uC9C1\uC811 \uBCF4\uB0B4\uC57C \uD569\uB2C8\uB2E4. \uC544\uB798\uCC98\uB7FC "),oe=a("code"),P=n("**"),te=n("\uB97C \uC55E\uC5D0 \uBD99\uC5EC \uB515\uC154\uB108\uB9AC\uB97C \uD480\uC5B4\uC8FC\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),O=f(),y(K.$$.fragment),pe=f(),Q=a("p"),Me=n("\uBAA8\uB378\uC758 activation \uACB0\uACFC\uB294 "),ae=a("code"),ne=n("logits"),_e=n(" \uC18D\uC131\uC5D0 \uB2F4\uACA8\uC788\uC2B5\uB2C8\uB2E4. "),x=a("code"),se=n("logits"),ye=n("\uC5D0 Softmax \uD568\uC218\uB97C \uC801\uC6A9\uD574\uC11C \uD655\uB960 \uD615\uD0DC\uB85C \uBC1B\uC73C\uC138\uC694."),U=f(),y(N.$$.fragment)},l(C){l=r(C,"P",{});var D=o(l);m=p(D,"\u{1F917} Transformers\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uC778\uC2A4\uD134\uC2A4\uB97C \uAC04\uB2E8\uD558\uACE0 \uD1B5\uC77C\uB41C \uBC29\uC2DD\uC73C\uB85C \uBD88\uB7EC\uC62C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 "),c=r(D,"CODE",{});var le=o(c);u=p(le,"AutoTokenizer"),le.forEach(s),$=p(D,"\uCC98\uB7FC "),k=r(D,"CODE",{});var ve=o(k);J=p(ve,"AutoModel"),ve.forEach(s),_=p(D,"\uB3C4 \uBD88\uB7EC\uC62C \uC218 \uC788\uAC8C \uB429\uB2C8\uB2E4. \uC720\uC77C\uD55C \uCC28\uC774\uC810\uC740 \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uD569\uD55C "),w=r(D,"CODE",{});var q=o(w);A=p(q,"AutoModel"),q.forEach(s),V=p(D,"\uC744 \uC120\uD0DD\uD574\uC57C \uD55C\uB2E4\uB294 \uC810\uC785\uB2C8\uB2E4. \uD14D\uC2A4\uD2B8(\uB610\uB294 \uC2DC\uD000\uC2A4) \uBD84\uB958\uC758 \uACBD\uC6B0 "),I=r(D,"CODE",{});var Ee=o(I);z=p(Ee,"AutoModelForSequenceClassification"),Ee.forEach(s),G=p(D,"\uC744 \uBD88\uB7EC\uC640\uC57C \uD569\uB2C8\uB2E4."),D.forEach(s),R=i(C),b(X.$$.fragment,C),j=i(C),b(W.$$.fragment,C),L=i(C),B=r(C,"P",{});var ue=o(B);H=p(ue,"\uC774\uC81C \uC804\uCC98\uB9AC\uB41C \uC785\uB825 \uBC30\uCE58\uB97C \uBAA8\uB378\uB85C \uC9C1\uC811 \uBCF4\uB0B4\uC57C \uD569\uB2C8\uB2E4. \uC544\uB798\uCC98\uB7FC "),oe=r(ue,"CODE",{});var $l=o(oe);P=p($l,"**"),$l.forEach(s),te=p(ue,"\uB97C \uC55E\uC5D0 \uBD99\uC5EC \uB515\uC154\uB108\uB9AC\uB97C \uD480\uC5B4\uC8FC\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),ue.forEach(s),O=i(C),b(K.$$.fragment,C),pe=i(C),Q=r(C,"P",{});var Ne=o(Q);Me=p(Ne,"\uBAA8\uB378\uC758 activation \uACB0\uACFC\uB294 "),ae=r(Ne,"CODE",{});var pt=o(ae);ne=p(pt,"logits"),pt.forEach(s),_e=p(Ne," \uC18D\uC131\uC5D0 \uB2F4\uACA8\uC788\uC2B5\uB2C8\uB2E4. "),x=r(Ne,"CODE",{});var ct=o(x);se=p(ct,"logits"),ct.forEach(s),ye=p(Ne,"\uC5D0 Softmax \uD568\uC218\uB97C \uC801\uC6A9\uD574\uC11C \uD655\uB960 \uD615\uD0DC\uB85C \uBC1B\uC73C\uC138\uC694."),Ne.forEach(s),U=i(C),b(N.$$.fragment,C)},m(C,D){h(C,l,D),e(l,m),e(l,c),e(c,u),e(l,$),e(l,k),e(k,J),e(l,_),e(l,w),e(w,A),e(l,V),e(l,I),e(I,z),e(l,G),h(C,R,D),g(X,C,D),h(C,j,D),g(W,C,D),h(C,L,D),h(C,B,D),e(B,H),e(B,oe),e(oe,P),e(B,te),h(C,O,D),g(K,C,D),h(C,pe,D),h(C,Q,D),e(Q,Me),e(Q,ae),e(ae,ne),e(Q,_e),e(Q,x),e(x,se),e(Q,ye),h(C,U,D),g(N,C,D),ce=!0},p(C,D){const le={};D&2&&(le.$$scope={dirty:D,ctx:C}),W.$set(le)},i(C){ce||(M(X.$$.fragment,C),M(W.$$.fragment,C),M(K.$$.fragment,C),M(N.$$.fragment,C),ce=!0)},o(C){v(X.$$.fragment,C),v(W.$$.fragment,C),v(K.$$.fragment,C),v(N.$$.fragment,C),ce=!1},d(C){C&&s(l),C&&s(R),E(X,C),C&&s(j),E(W,C),C&&s(L),C&&s(B),C&&s(O),E(K,C),C&&s(pe),C&&s(Q),C&&s(U),E(N,C)}}}function N2(Z){let l,m;return l=new he({props:{$$slots:{default:[F2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function X2(Z){let l,m,c,u,$,k,J;return{c(){l=a("p"),m=a("code"),c=n("AutoModel"),u=n(" \uD074\uB798\uC2A4\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uB4E4\uC740 "),$=a("a"),k=n("\uD0DC\uC2A4\uD06C \uC815\uB9AC"),J=n(" \uBB38\uC11C\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694."),this.h()},l(_){l=r(_,"P",{});var w=o(l);m=r(w,"CODE",{});var A=o(m);c=p(A,"AutoModel"),A.forEach(s),u=p(w," \uD074\uB798\uC2A4\uC5D0\uC11C \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uB4E4\uC740 "),$=r(w,"A",{href:!0});var V=o($);k=p(V,"\uD0DC\uC2A4\uD06C \uC815\uB9AC"),V.forEach(s),J=p(w," \uBB38\uC11C\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694."),w.forEach(s),this.h()},h(){T($,"href","./task_summary")},m(_,w){h(_,l,w),e(l,m),e(m,c),e(l,u),e(l,$),e($,k),e(l,J)},d(_){_&&s(l)}}}function z2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z,G,R,X,j,W,L,B,H,oe,P,te,O,K,pe,Q,Me,ae,ne,_e,x,se,ye;return X=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsRm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbiUwQSUwQW1vZGVsX25hbWUlMjAlM0QlMjAlMjJubHB0b3duJTJGYmVydC1iYXNlLW11bHRpbGluZ3VhbC11bmNhc2VkLXNlbnRpbWVudCUyMiUwQXRmX21vZGVsJTIwJTNEJTIwVEZBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZChtb2RlbF9uYW1lKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model_name = <span class="hljs-string">&quot;nlptown/bert-base-multilingual-uncased-sentiment&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model = TFAutoModelForSequenceClassification.from_pretrained(model_name)`}}),W=new To({props:{$$slots:{default:[X2]},$$scope:{ctx:Z}}}),P=new F({props:{code:"dGZfb3V0cHV0cyUyMCUzRCUyMHRmX21vZGVsKHRmX2JhdGNoKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tf_outputs = tf_model(tf_batch)'}}),se=new F({props:{code:"aW1wb3J0JTIwdGVuc29yZmxvdyUyMGFzJTIwdGYlMEElMEF0Zl9wcmVkaWN0aW9ucyUyMCUzRCUyMHRmLm5uLnNvZnRtYXgodGZfb3V0cHV0cy5sb2dpdHMlMkMlMjBheGlzJTNELTEpJTBBdGZfcHJlZGljdGlvbnM=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> tensorflow <span class="hljs-keyword">as</span> tf

<span class="hljs-meta">&gt;&gt;&gt; </span>tf_predictions = tf.nn.softmax(tf_outputs.logits, axis=-<span class="hljs-number">1</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span>tf_predictions`}}),{c(){l=a("p"),m=n("\u{1F917} Transformers\uB294 \uC0AC\uC804\uD559\uC2B5\uB41C \uC778\uC2A4\uD134\uC2A4\uB97C \uAC04\uB2E8\uD558\uACE0 \uD1B5\uC77C\uB41C \uBC29\uC2DD\uC73C\uB85C \uBD88\uB7EC\uC62C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 "),c=a("code"),u=n("AutoTokenizer"),$=n("\uCC98\uB7FC "),k=a("code"),J=n("TFAutoModel"),_=n("\uB3C4 \uBD88\uB7EC\uC62C \uC218 \uC788\uAC8C \uB429\uB2C8\uB2E4. \uC720\uC77C\uD55C \uCC28\uC774\uC810\uC740 \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uD569\uD55C "),w=a("code"),A=n("TFAutoModel"),V=n("\uB97C \uC120\uD0DD\uD574\uC57C \uD55C\uB2E4\uB294 \uC810\uC785\uB2C8\uB2E4. \uD14D\uC2A4\uD2B8(\uB610\uB294 \uC2DC\uD000\uC2A4) \uBD84\uB958\uC758 \uACBD\uC6B0 "),I=a("code"),z=n("TFAutoModelForSequenceClassification"),G=n("\uC744 \uBD88\uB7EC\uC640\uC57C \uD569\uB2C8\uB2E4."),R=f(),y(X.$$.fragment),j=f(),y(W.$$.fragment),L=f(),B=a("p"),H=n("\uC774\uC81C \uC804\uCC98\uB9AC\uB41C \uC785\uB825 \uBC30\uCE58\uB97C \uBAA8\uB378\uB85C \uC9C1\uC811 \uBCF4\uB0B4\uC57C \uD569\uB2C8\uB2E4. \uB515\uC154\uB108\uB9AC\uC758 \uD0A4\uB97C \uD150\uC11C\uC5D0 \uC9C1\uC811 \uB123\uC5B4\uC8FC\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),oe=f(),y(P.$$.fragment),te=f(),O=a("p"),K=n("\uBAA8\uB378\uC758 activation \uACB0\uACFC\uB294 "),pe=a("code"),Q=n("logits"),Me=n(" \uC18D\uC131\uC5D0 \uB2F4\uACA8\uC788\uC2B5\uB2C8\uB2E4. "),ae=a("code"),ne=n("logits"),_e=n("\uC5D0 Softmax \uD568\uC218\uB97C \uC801\uC6A9\uD574\uC11C \uD655\uB960 \uD615\uD0DC\uB85C \uBC1B\uC73C\uC138\uC694."),x=f(),y(se.$$.fragment)},l(U){l=r(U,"P",{});var N=o(l);m=p(N,"\u{1F917} Transformers\uB294 \uC0AC\uC804\uD559\uC2B5\uB41C \uC778\uC2A4\uD134\uC2A4\uB97C \uAC04\uB2E8\uD558\uACE0 \uD1B5\uC77C\uB41C \uBC29\uC2DD\uC73C\uB85C \uBD88\uB7EC\uC62C \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 "),c=r(N,"CODE",{});var ce=o(c);u=p(ce,"AutoTokenizer"),ce.forEach(s),$=p(N,"\uCC98\uB7FC "),k=r(N,"CODE",{});var C=o(k);J=p(C,"TFAutoModel"),C.forEach(s),_=p(N,"\uB3C4 \uBD88\uB7EC\uC62C \uC218 \uC788\uAC8C \uB429\uB2C8\uB2E4. \uC720\uC77C\uD55C \uCC28\uC774\uC810\uC740 \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uD569\uD55C "),w=r(N,"CODE",{});var D=o(w);A=p(D,"TFAutoModel"),D.forEach(s),V=p(N,"\uB97C \uC120\uD0DD\uD574\uC57C \uD55C\uB2E4\uB294 \uC810\uC785\uB2C8\uB2E4. \uD14D\uC2A4\uD2B8(\uB610\uB294 \uC2DC\uD000\uC2A4) \uBD84\uB958\uC758 \uACBD\uC6B0 "),I=r(N,"CODE",{});var le=o(I);z=p(le,"TFAutoModelForSequenceClassification"),le.forEach(s),G=p(N,"\uC744 \uBD88\uB7EC\uC640\uC57C \uD569\uB2C8\uB2E4."),N.forEach(s),R=i(U),b(X.$$.fragment,U),j=i(U),b(W.$$.fragment,U),L=i(U),B=r(U,"P",{});var ve=o(B);H=p(ve,"\uC774\uC81C \uC804\uCC98\uB9AC\uB41C \uC785\uB825 \uBC30\uCE58\uB97C \uBAA8\uB378\uB85C \uC9C1\uC811 \uBCF4\uB0B4\uC57C \uD569\uB2C8\uB2E4. \uB515\uC154\uB108\uB9AC\uC758 \uD0A4\uB97C \uD150\uC11C\uC5D0 \uC9C1\uC811 \uB123\uC5B4\uC8FC\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),ve.forEach(s),oe=i(U),b(P.$$.fragment,U),te=i(U),O=r(U,"P",{});var q=o(O);K=p(q,"\uBAA8\uB378\uC758 activation \uACB0\uACFC\uB294 "),pe=r(q,"CODE",{});var Ee=o(pe);Q=p(Ee,"logits"),Ee.forEach(s),Me=p(q," \uC18D\uC131\uC5D0 \uB2F4\uACA8\uC788\uC2B5\uB2C8\uB2E4. "),ae=r(q,"CODE",{});var ue=o(ae);ne=p(ue,"logits"),ue.forEach(s),_e=p(q,"\uC5D0 Softmax \uD568\uC218\uB97C \uC801\uC6A9\uD574\uC11C \uD655\uB960 \uD615\uD0DC\uB85C \uBC1B\uC73C\uC138\uC694."),q.forEach(s),x=i(U),b(se.$$.fragment,U)},m(U,N){h(U,l,N),e(l,m),e(l,c),e(c,u),e(l,$),e(l,k),e(k,J),e(l,_),e(l,w),e(w,A),e(l,V),e(l,I),e(I,z),e(l,G),h(U,R,N),g(X,U,N),h(U,j,N),g(W,U,N),h(U,L,N),h(U,B,N),e(B,H),h(U,oe,N),g(P,U,N),h(U,te,N),h(U,O,N),e(O,K),e(O,pe),e(pe,Q),e(O,Me),e(O,ae),e(ae,ne),e(O,_e),h(U,x,N),g(se,U,N),ye=!0},p(U,N){const ce={};N&2&&(ce.$$scope={dirty:N,ctx:U}),W.$set(ce)},i(U){ye||(M(X.$$.fragment,U),M(W.$$.fragment,U),M(P.$$.fragment,U),M(se.$$.fragment,U),ye=!0)},o(U){v(X.$$.fragment,U),v(W.$$.fragment,U),v(P.$$.fragment,U),v(se.$$.fragment,U),ye=!1},d(U){U&&s(l),U&&s(R),E(X,U),U&&s(j),E(W,U),U&&s(L),U&&s(B),U&&s(oe),E(P,U),U&&s(te),U&&s(O),U&&s(x),E(se,U)}}}function D2(Z){let l,m;return l=new he({props:{$$slots:{default:[z2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function B2(Z){let l,m,c,u,$;return{c(){l=a("p"),m=n("\uBAA8\uB4E0 (PyTorch \uB610\uB294 TensorFlow) \u{1F917} Transformers \uBAA8\uB378\uC740 (softmax \uB4F1\uC758) \uCD5C\uC885 activation \uD568\uC218 "),c=a("em"),u=n("\uC774\uC804\uC5D0"),$=n(" \uD150\uC11C\uB97C \uB0B4\uB193\uC2B5\uB2C8\uB2E4. \uC65C\uB0D0\uD558\uBA74 \uCD5C\uC885 activation \uD568\uC218\uB97C \uC885\uC885 loss \uD568\uC218\uC640 \uB3D9\uC77C\uC2DC\uD558\uAE30 \uB54C\uBB38\uC785\uB2C8\uB2E4. \uBAA8\uB378 \uCD9C\uB825\uC740 \uD2B9\uC218 \uB370\uC774\uD130 \uD074\uB798\uC2A4\uC774\uBBC0\uB85C \uD574\uB2F9 \uC18D\uC131\uC740 IDE\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uC644\uC131\uB429\uB2C8\uB2E4. \uBAA8\uB378 \uCD9C\uB825\uC740 \uD29C\uD50C \uB610\uB294 (\uC815\uC218, \uC2AC\uB77C\uC774\uC2A4 \uB610\uB294 \uBB38\uC790\uC5F4\uB85C \uC778\uB371\uC2F1\uD558\uB294) \uB515\uC154\uB108\uB9AC \uD615\uD0DC\uB85C \uC8FC\uC5B4\uC9C0\uACE0 \uC774\uB7F0 \uACBD\uC6B0 None\uC778 \uC18D\uC131\uC740 \uBB34\uC2DC\uB429\uB2C8\uB2E4.")},l(k){l=r(k,"P",{});var J=o(l);m=p(J,"\uBAA8\uB4E0 (PyTorch \uB610\uB294 TensorFlow) \u{1F917} Transformers \uBAA8\uB378\uC740 (softmax \uB4F1\uC758) \uCD5C\uC885 activation \uD568\uC218 "),c=r(J,"EM",{});var _=o(c);u=p(_,"\uC774\uC804\uC5D0"),_.forEach(s),$=p(J," \uD150\uC11C\uB97C \uB0B4\uB193\uC2B5\uB2C8\uB2E4. \uC65C\uB0D0\uD558\uBA74 \uCD5C\uC885 activation \uD568\uC218\uB97C \uC885\uC885 loss \uD568\uC218\uC640 \uB3D9\uC77C\uC2DC\uD558\uAE30 \uB54C\uBB38\uC785\uB2C8\uB2E4. \uBAA8\uB378 \uCD9C\uB825\uC740 \uD2B9\uC218 \uB370\uC774\uD130 \uD074\uB798\uC2A4\uC774\uBBC0\uB85C \uD574\uB2F9 \uC18D\uC131\uC740 IDE\uC5D0\uC11C \uC790\uB3D9\uC73C\uB85C \uC644\uC131\uB429\uB2C8\uB2E4. \uBAA8\uB378 \uCD9C\uB825\uC740 \uD29C\uD50C \uB610\uB294 (\uC815\uC218, \uC2AC\uB77C\uC774\uC2A4 \uB610\uB294 \uBB38\uC790\uC5F4\uB85C \uC778\uB371\uC2F1\uD558\uB294) \uB515\uC154\uB108\uB9AC \uD615\uD0DC\uB85C \uC8FC\uC5B4\uC9C0\uACE0 \uC774\uB7F0 \uACBD\uC6B0 None\uC778 \uC18D\uC131\uC740 \uBB34\uC2DC\uB429\uB2C8\uB2E4."),J.forEach(s)},m(k,J){h(k,l,J),e(l,m),e(l,c),e(c,u),e(l,$)},d(k){k&&s(l)}}}function Y2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z,G,R,X;return J=new F({props:{code:"cHRfc2F2ZV9kaXJlY3RvcnklMjAlM0QlMjAlMjIuJTJGcHRfc2F2ZV9wcmV0cmFpbmVkJTIyJTBBdG9rZW5pemVyLnNhdmVfcHJldHJhaW5lZChwdF9zYXZlX2RpcmVjdG9yeSklMEFwdF9tb2RlbC5zYXZlX3ByZXRyYWluZWQocHRfc2F2ZV9kaXJlY3Rvcnkp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>pt_save_directory = <span class="hljs-string">&quot;./pt_save_pretrained&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer.save_pretrained(pt_save_directory)
<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model.save_pretrained(pt_save_directory)`}}),R=new F({props:{code:"cHRfbW9kZWwlMjAlM0QlMjBBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMjIuJTJGcHRfc2F2ZV9wcmV0cmFpbmVkJTIyKQ==",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model = AutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;./pt_save_pretrained&quot;</span>)'}}),{c(){l=a("p"),m=n("\uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD55C \uB4A4\uC5D0\uB294 "),c=a("code"),u=n("PreTrainedModel.save_pretrained()"),$=n("\uB85C \uBAA8\uB378\uC744 \uD1A0\uD06C\uB098\uC774\uC800\uC640 \uD568\uAED8 \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),k=f(),y(J.$$.fragment),_=f(),w=a("p"),A=n("\uBAA8\uB378\uC744 \uB2E4\uC2DC \uC0AC\uC6A9\uD560 \uB54C\uB294 "),V=a("code"),I=n("PreTrainedModel.from_pretrained()"),z=n("\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC624\uBA74 \uB429\uB2C8\uB2E4."),G=f(),y(R.$$.fragment)},l(j){l=r(j,"P",{});var W=o(l);m=p(W,"\uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD55C \uB4A4\uC5D0\uB294 "),c=r(W,"CODE",{});var L=o(c);u=p(L,"PreTrainedModel.save_pretrained()"),L.forEach(s),$=p(W,"\uB85C \uBAA8\uB378\uC744 \uD1A0\uD06C\uB098\uC774\uC800\uC640 \uD568\uAED8 \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),W.forEach(s),k=i(j),b(J.$$.fragment,j),_=i(j),w=r(j,"P",{});var B=o(w);A=p(B,"\uBAA8\uB378\uC744 \uB2E4\uC2DC \uC0AC\uC6A9\uD560 \uB54C\uB294 "),V=r(B,"CODE",{});var H=o(V);I=p(H,"PreTrainedModel.from_pretrained()"),H.forEach(s),z=p(B,"\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC624\uBA74 \uB429\uB2C8\uB2E4."),B.forEach(s),G=i(j),b(R.$$.fragment,j)},m(j,W){h(j,l,W),e(l,m),e(l,c),e(c,u),e(l,$),h(j,k,W),g(J,j,W),h(j,_,W),h(j,w,W),e(w,A),e(w,V),e(V,I),e(w,z),h(j,G,W),g(R,j,W),X=!0},p:ge,i(j){X||(M(J.$$.fragment,j),M(R.$$.fragment,j),X=!0)},o(j){v(J.$$.fragment,j),v(R.$$.fragment,j),X=!1},d(j){j&&s(l),j&&s(k),E(J,j),j&&s(_),j&&s(w),j&&s(G),E(R,j)}}}function S2(Z){let l,m;return l=new he({props:{$$slots:{default:[Y2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function H2(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z,G,R,X;return J=new F({props:{code:"dGZfc2F2ZV9kaXJlY3RvcnklMjAlM0QlMjAlMjIuJTJGdGZfc2F2ZV9wcmV0cmFpbmVkJTIyJTBBdG9rZW5pemVyLnNhdmVfcHJldHJhaW5lZCh0Zl9zYXZlX2RpcmVjdG9yeSklMEF0Zl9tb2RlbC5zYXZlX3ByZXRyYWluZWQodGZfc2F2ZV9kaXJlY3Rvcnkp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>tf_save_directory = <span class="hljs-string">&quot;./tf_save_pretrained&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer.save_pretrained(tf_save_directory)
<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model.save_pretrained(tf_save_directory)`}}),R=new F({props:{code:"dGZfbW9kZWwlMjAlM0QlMjBURkF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMi4lMkZ0Zl9zYXZlX3ByZXRyYWluZWQlMjIp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model = TFAutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;./tf_save_pretrained&quot;</span>)'}}),{c(){l=a("p"),m=n("\uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD55C \uB4A4\uC5D0\uB294 "),c=a("code"),u=n("TFPreTrainedModel.save_pretrained()"),$=n("\uB85C \uBAA8\uB378\uC744 \uD1A0\uD06C\uB098\uC774\uC800\uC640 \uD568\uAED8 \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),k=f(),y(J.$$.fragment),_=f(),w=a("p"),A=n("\uBAA8\uB378\uC744 \uB2E4\uC2DC \uC0AC\uC6A9\uD560 \uB54C\uB294 "),V=a("code"),I=n("TFPreTrainedModel.from_pretrained()"),z=n("\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC624\uBA74 \uB429\uB2C8\uB2E4."),G=f(),y(R.$$.fragment)},l(j){l=r(j,"P",{});var W=o(l);m=p(W,"\uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD55C \uB4A4\uC5D0\uB294 "),c=r(W,"CODE",{});var L=o(c);u=p(L,"TFPreTrainedModel.save_pretrained()"),L.forEach(s),$=p(W,"\uB85C \uBAA8\uB378\uC744 \uD1A0\uD06C\uB098\uC774\uC800\uC640 \uD568\uAED8 \uC800\uC7A5\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),W.forEach(s),k=i(j),b(J.$$.fragment,j),_=i(j),w=r(j,"P",{});var B=o(w);A=p(B,"\uBAA8\uB378\uC744 \uB2E4\uC2DC \uC0AC\uC6A9\uD560 \uB54C\uB294 "),V=r(B,"CODE",{});var H=o(V);I=p(H,"TFPreTrainedModel.from_pretrained()"),H.forEach(s),z=p(B,"\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC624\uBA74 \uB429\uB2C8\uB2E4."),B.forEach(s),G=i(j),b(R.$$.fragment,j)},m(j,W){h(j,l,W),e(l,m),e(l,c),e(c,u),e(l,$),h(j,k,W),g(J,j,W),h(j,_,W),h(j,w,W),e(w,A),e(w,V),e(V,I),e(w,z),h(j,G,W),g(R,j,W),X=!0},p:ge,i(j){X||(M(J.$$.fragment,j),M(R.$$.fragment,j),X=!0)},o(j){v(J.$$.fragment,j),v(R.$$.fragment,j),X=!1},d(j){j&&s(l),j&&s(k),E(J,j),j&&s(_),j&&s(w),j&&s(G),E(R,j)}}}function P2(Z){let l,m;return l=new he({props:{$$slots:{default:[H2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function O2(Z){let l,m;return l=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbCUwQSUwQXRva2VuaXplciUyMCUzRCUyMEF1dG9Ub2tlbml6ZXIuZnJvbV9wcmV0cmFpbmVkKHRmX3NhdmVfZGlyZWN0b3J5KSUwQXB0X21vZGVsJTIwJTNEJTIwQXV0b01vZGVsRm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbi5mcm9tX3ByZXRyYWluZWQodGZfc2F2ZV9kaXJlY3RvcnklMkMlMjBmcm9tX3RmJTNEVHJ1ZSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModel

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(tf_save_directory)
<span class="hljs-meta">&gt;&gt;&gt; </span>pt_model = AutoModelForSequenceClassification.from_pretrained(tf_save_directory, from_tf=<span class="hljs-literal">True</span>)`}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function q2(Z){let l,m;return l=new he({props:{$$slots:{default:[O2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function Q2(Z){let l,m;return l=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsJTBBJTBBdG9rZW5pemVyJTIwJTNEJTIwQXV0b1Rva2VuaXplci5mcm9tX3ByZXRyYWluZWQocHRfc2F2ZV9kaXJlY3RvcnkpJTBBdGZfbW9kZWwlMjAlM0QlMjBURkF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKHB0X3NhdmVfZGlyZWN0b3J5JTJDJTIwZnJvbV9wdCUzRFRydWUp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModel

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(pt_save_directory)
<span class="hljs-meta">&gt;&gt;&gt; </span>tf_model = TFAutoModelForSequenceClassification.from_pretrained(pt_save_directory, from_pt=<span class="hljs-literal">True</span>)`}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p:ge,i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function x2(Z){let l,m;return l=new he({props:{$$slots:{default:[Q2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function L2(Z){let l,m,c,u,$,k,J;return k=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbCUwQSUwQW15X21vZGVsJTIwJTNEJTIwQXV0b01vZGVsLmZyb21fY29uZmlnKG15X2NvbmZpZyk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModel

<span class="hljs-meta">&gt;&gt;&gt; </span>my_model = AutoModel.from_config(my_config)`}}),{c(){l=a("p"),m=a("code"),c=n("AutoModel.from_config()"),u=n("\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCEE4\uC2A4\uD140 \uAD6C\uC131\uB300\uB85C \uBAA8\uB378\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),$=f(),y(k.$$.fragment)},l(_){l=r(_,"P",{});var w=o(l);m=r(w,"CODE",{});var A=o(m);c=p(A,"AutoModel.from_config()"),A.forEach(s),u=p(w,"\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCEE4\uC2A4\uD140 \uAD6C\uC131\uB300\uB85C \uBAA8\uB378\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),w.forEach(s),$=i(_),b(k.$$.fragment,_)},m(_,w){h(_,l,w),e(l,m),e(m,c),e(l,u),h(_,$,w),g(k,_,w),J=!0},p:ge,i(_){J||(M(k.$$.fragment,_),J=!0)},o(_){v(k.$$.fragment,_),J=!1},d(_){_&&s(l),_&&s($),E(k,_)}}}function K2(Z){let l,m;return l=new he({props:{$$slots:{default:[L2]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function e1(Z){let l,m,c,u,$,k,J;return k=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsJTBBJTBBbXlfbW9kZWwlMjAlM0QlMjBURkF1dG9Nb2RlbC5mcm9tX2NvbmZpZyhteV9jb25maWcp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModel

<span class="hljs-meta">&gt;&gt;&gt; </span>my_model = TFAutoModel.from_config(my_config)`}}),{c(){l=a("p"),m=a("code"),c=n("TFAutoModel.from_config()"),u=n("\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCEE4\uC2A4\uD140 \uAD6C\uC131\uB300\uB85C \uBAA8\uB378\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),$=f(),y(k.$$.fragment)},l(_){l=r(_,"P",{});var w=o(l);m=r(w,"CODE",{});var A=o(m);c=p(A,"TFAutoModel.from_config()"),A.forEach(s),u=p(w,"\uB97C \uC0AC\uC6A9\uD558\uC5EC \uCEE4\uC2A4\uD140 \uAD6C\uC131\uB300\uB85C \uBAA8\uB378\uC744 \uC0DD\uC131\uD569\uB2C8\uB2E4."),w.forEach(s),$=i(_),b(k.$$.fragment,_)},m(_,w){h(_,l,w),e(l,m),e(m,c),e(l,u),h(_,$,w),g(k,_,w),J=!0},p:ge,i(_){J||(M(k.$$.fragment,_),J=!0)},o(_){v(k.$$.fragment,_),J=!1},d(_){_&&s(l),_&&s($),E(k,_)}}}function t1(Z){let l,m;return l=new he({props:{$$slots:{default:[e1]},$$scope:{ctx:Z}}}),{c(){y(l.$$.fragment)},l(c){b(l.$$.fragment,c)},m(c,u){g(l,c,u),m=!0},p(c,u){const $={};u&2&&($.$$scope={dirty:u,ctx:c}),l.$set($)},i(c){m||(M(l.$$.fragment,c),m=!0)},o(c){v(l.$$.fragment,c),m=!1},d(c){E(l,c)}}}function s1(Z){let l,m,c,u,$,k,J,_;return{c(){l=a("p"),m=n("sequence-to-sequence \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD558\uB294 (\uBC88\uC5ED\uC774\uB098 \uC694\uC57D \uAC19\uC740) \uD0DC\uC2A4\uD06C\uC758 \uACBD\uC6B0 "),c=a("code"),u=n("Seq2SeqTrainer"),$=n("\uC640 "),k=a("code"),J=n("Seq2SeqTrainingArguments"),_=n(" \uD074\uB798\uC2A4\uB97C \uB300\uC2E0 \uC0AC\uC6A9\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4.")},l(w){l=r(w,"P",{});var A=o(l);m=p(A,"sequence-to-sequence \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD558\uB294 (\uBC88\uC5ED\uC774\uB098 \uC694\uC57D \uAC19\uC740) \uD0DC\uC2A4\uD06C\uC758 \uACBD\uC6B0 "),c=r(A,"CODE",{});var V=o(c);u=p(V,"Seq2SeqTrainer"),V.forEach(s),$=p(A,"\uC640 "),k=r(A,"CODE",{});var I=o(k);J=p(I,"Seq2SeqTrainingArguments"),I.forEach(s),_=p(A," \uD074\uB798\uC2A4\uB97C \uB300\uC2E0 \uC0AC\uC6A9\uD558\uC2DC\uAE30 \uBC14\uB78D\uB2C8\uB2E4."),A.forEach(s)},m(w,A){h(w,l,A),e(l,m),e(l,c),e(c,u),e(l,$),e(l,k),e(k,J),e(l,_)},d(w){w&&s(l)}}}function l1(Z){let l,m,c,u,$,k,J,_,w,A,V,I,z,G,R,X,j,W,L,B,H,oe,P,te,O,K,pe,Q,Me,ae,ne,_e,x,se,ye,U,N,ce,C,D,le,ve,q,Ee,ue,$l,Ne,pt,ct,gp,Mp,Sl,Hl,vp,Ep,Pl,Ol,Tp,wp,Y,Te,ql,jp,kp,Ql,Jp,Up,xl,Zp,Cp,Ll,Rp,Gp,we,Kl,Wp,Ap,ea,Ip,Vp,ta,Fp,Np,sa,Xp,zp,je,la,Dp,Bp,aa,Yp,Sp,ra,Hp,Pp,oa,Op,qp,ke,na,Qp,xp,pa,Lp,Kp,ca,ec,tc,fa,sc,lc,Je,ia,ac,rc,da,oc,nc,ma,pc,cc,ha,fc,ic,Ue,ua,dc,mc,$a,hc,uc,_a,$c,_c,ya,yc,bc,Ze,ba,gc,Mc,ga,vc,Ec,Ma,Tc,wc,va,jc,kc,Ce,Ea,Jc,Uc,Ta,Zc,Cc,wa,Rc,Gc,ja,Wc,Ac,Re,ka,Ic,Vc,Ja,Fc,Nc,Ua,Xc,zc,Za,Dc,Bc,Ge,Ca,Yc,Sc,Ra,Hc,Pc,Ga,Oc,qc,Wa,Qc,xc,We,Aa,Lc,Kc,Ia,ef,tf,Va,sf,lf,Fa,af,rf,Ae,Na,of,nf,Xa,pf,cf,za,ff,df,Da,mf,hf,Ie,Ba,uf,$f,Ya,_f,yf,Sa,bf,gf,Ha,Mf,wo,fe,vf,Pa,Ef,Tf,Oa,wf,jf,_l,kf,Jf,qa,Uf,Zf,jo,ts,ko,Ve,Qa,Cf,Rf,ss,Gf,Wf,xa,Af,If,Jo,ls,Uo,ft,Vf,La,Ff,Nf,Zo,as,Co,rs,Ka,Xf,zf,Ro,os,Go,Xe,Df,ns,Bf,Yf,ps,Sf,Hf,Wo,cs,Ao,it,Pf,fs,er,Of,qf,Io,is,Vo,dt,Qf,tr,xf,Lf,Fo,ds,No,mt,Kf,yl,ei,ti,Xo,qe,ht,sr,ms,si,lr,li,zo,$e,ar,ai,ri,hs,oi,ni,rr,pi,ci,us,fi,ii,Do,$s,Bo,ut,Yo,Qe,or,di,mi,nr,hi,ui,So,_s,Ho,ze,$i,bl,_i,yi,gl,bi,gi,Po,xe,$t,pr,ys,Mi,cr,vi,Oo,bs,qo,re,Ei,fr,Ti,wi,ir,ji,ki,dr,Ji,Ui,Ml,Zi,Ci,mr,Ri,Gi,Qo,De,Wi,hr,Ai,Ii,ur,Vi,Fi,xo,Le,_t,$r,gs,Ni,_r,Xi,Lo,yt,zi,vl,Di,Bi,Ko,Ms,yr,Yi,Si,en,vs,tn,El,Hi,sn,Es,ln,Tl,Pi,an,bt,wl,jl,Oi,qi,Qi,kl,Jl,xi,Li,rn,Ul,Ki,on,gt,nn,Mt,pn,Ke,vt,br,Ts,ed,gr,td,cn,Et,fn,Tt,dn,et,wt,Mr,ws,sd,vr,ld,mn,jt,hn,Zl,ad,un,kt,$n,tt,Jt,Er,js,rd,Tr,od,_n,Cl,nd,yn,Be,pd,wr,cd,fd,jr,id,dd,bn,ks,gn,Ut,Mn,Zt,md,Rl,hd,ud,vn,st,Ct,kr,Js,$d,Jr,_d,En,Ye,yd,Us,Ur,bd,gd,Zr,Md,vd,Tn,Rt,Ed,Cr,Td,wd,wn,ie,Zs,Gt,Rr,jd,kd,Cs,Gr,Jd,Ud,Zd,Rs,Cd,Gs,Gl,Wr,Rd,Gd,Wd,Ws,Ad,As,Ar,Id,Vd,Is,Fd,Vs,Ir,Nd,Xd,Fs,zd,Ns,Xs,Dd,Vr,Bd,Yd,Sd,zs,jn,Wl,Fr,Ds,Nr,Hd,Pd,Bs,kn,Ys,Ss,Al,Xr,Od,qd,Qd,Hs,Jn,Wt,xd,zr,Ld,Kd,Un,Ps,Zn,At,em,Dr,tm,sm,Cn,Os,Rn,It,Gn,lt,Br,lm,am,Yr,rm,om,Wn,Se,nm,Il,pm,cm,Sr,fm,im,An,at,Vt,Hr,qs,dm,Pr,mm,In,ee,hm,Qs,Or,um,$m,xs,_m,ym,qr,bm,gm,Qr,Mm,vm,Ls,xr,Em,Tm,Ks,Lr,wm,jm,Vn,de,el,Ft,Kr,km,Jm,tl,eo,Um,Zm,Cm,sl,Rm,ll,to,Gm,Wm,al,Am,rl,so,Im,Vm,ol,Fm,nl,Nt,lo,Nm,Xm,ao,zm,Dm,Bm,pl,Ym,cl,rt,Sm,ro,Hm,Pm,oo,Om,qm,Qm,fl,Fn,ot,Xt,no,il,xm,po,Lm,Nn,Vl,Km,Xn;return k=new Fe({}),V=new E2({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Mixed",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/ko/quicktour.ipynb"},{label:"PyTorch",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/ko/pytorch/quicktour.ipynb"},{label:"TensorFlow",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/ko/tensorflow/quicktour.ipynb"},{label:"Mixed",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/quicktour.ipynb"},{label:"PyTorch",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/pytorch/quicktour.ipynb"},{label:"TensorFlow",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/ko/tensorflow/quicktour.ipynb"}]}}),X=new F({props:{code:"IXBpcCUyMGluc3RhbGwlMjB0cmFuc2Zvcm1lcnMlMjBkYXRhc2V0cw==",highlighted:"!pip install transformers datasets"}}),H=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[k2],pytorch:[w2]},$$scope:{ctx:Z}}}),K=new Fe({}),ne=new _2({props:{id:"tiZFewofSLM"}}),ts=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMHBpcGVsaW5lJTBBJTBBY2xhc3NpZmllciUyMCUzRCUyMHBpcGVsaW5lKCUyMnNlbnRpbWVudC1hbmFseXNpcyUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline

<span class="hljs-meta">&gt;&gt;&gt; </span>classifier = pipeline(<span class="hljs-string">&quot;sentiment-analysis&quot;</span>)`}}),ls=new F({props:{code:"Y2xhc3NpZmllciglMjJXZSUyMGFyZSUyMHZlcnklMjBoYXBweSUyMHRvJTIwc2hvdyUyMHlvdSUyMHRoZSUyMCVGMCU5RiVBNCU5NyUyMFRyYW5zZm9ybWVycyUyMGxpYnJhcnkuJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>classifier(<span class="hljs-string">&quot;We are very happy to show you the \u{1F917} Transformers library.&quot;</span>)
[{<span class="hljs-string">&#x27;label&#x27;</span>: <span class="hljs-string">&#x27;POSITIVE&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.9998</span>}]`}}),as=new F({props:{code:"cmVzdWx0cyUyMCUzRCUyMGNsYXNzaWZpZXIoJTVCJTIyV2UlMjBhcmUlMjB2ZXJ5JTIwaGFwcHklMjB0byUyMHNob3clMjB5b3UlMjB0aGUlMjAlRjAlOUYlQTQlOTclMjBUcmFuc2Zvcm1lcnMlMjBsaWJyYXJ5LiUyMiUyQyUyMCUyMldlJTIwaG9wZSUyMHlvdSUyMGRvbid0JTIwaGF0ZSUyMGl0LiUyMiU1RCklMEFmb3IlMjByZXN1bHQlMjBpbiUyMHJlc3VsdHMlM0ElMEElMjAlMjAlMjAlMjBwcmludChmJTIybGFiZWwlM0ElMjAlN0JyZXN1bHQlNUInbGFiZWwnJTVEJTdEJTJDJTIwd2l0aCUyMHNjb3JlJTNBJTIwJTdCcm91bmQocmVzdWx0JTVCJ3Njb3JlJyU1RCUyQyUyMDQpJTdEJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>results = classifier([<span class="hljs-string">&quot;We are very happy to show you the \u{1F917} Transformers library.&quot;</span>, <span class="hljs-string">&quot;We hope you don&#x27;t hate it.&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> result <span class="hljs-keyword">in</span> results:
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;label: <span class="hljs-subst">{result[<span class="hljs-string">&#x27;label&#x27;</span>]}</span>, with score: <span class="hljs-subst">{<span class="hljs-built_in">round</span>(result[<span class="hljs-string">&#x27;score&#x27;</span>], <span class="hljs-number">4</span>)}</span>&quot;</span>)
label: POSITIVE, <span class="hljs-keyword">with</span> score: <span class="hljs-number">0.9998</span>
label: NEGATIVE, <span class="hljs-keyword">with</span> score: <span class="hljs-number">0.5309</span>`}}),os=new F({props:{code:"aW1wb3J0JTIwdG9yY2glMEFmcm9tJTIwdHJhbnNmb3JtZXJzJTIwaW1wb3J0JTIwcGlwZWxpbmUlMEElMEFzcGVlY2hfcmVjb2duaXplciUyMCUzRCUyMHBpcGVsaW5lKCUyMmF1dG9tYXRpYy1zcGVlY2gtcmVjb2duaXRpb24lMjIlMkMlMjBtb2RlbCUzRCUyMmZhY2Vib29rJTJGd2F2MnZlYzItYmFzZS05NjBoJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">import</span> torch
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> pipeline

<span class="hljs-meta">&gt;&gt;&gt; </span>speech_recognizer = pipeline(<span class="hljs-string">&quot;automatic-speech-recognition&quot;</span>, model=<span class="hljs-string">&quot;facebook/wav2vec2-base-960h&quot;</span>)`}}),cs=new F({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTJDJTIwQXVkaW8lMEElMEFkYXRhc2V0JTIwJTNEJTIwbG9hZF9kYXRhc2V0KCUyMlBvbHlBSSUyRm1pbmRzMTQlMjIlMkMlMjBuYW1lJTNEJTIyZW4tVVMlMjIlMkMlMjBzcGxpdCUzRCUyMnRyYWluJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset, Audio

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;PolyAI/minds14&quot;</span>, name=<span class="hljs-string">&quot;en-US&quot;</span>, split=<span class="hljs-string">&quot;train&quot;</span>)`}}),is=new F({props:{code:"ZGF0YXNldCUyMCUzRCUyMGRhdGFzZXQuY2FzdF9jb2x1bW4oJTIyYXVkaW8lMjIlMkMlMjBBdWRpbyhzYW1wbGluZ19yYXRlJTNEc3BlZWNoX3JlY29nbml6ZXIuZmVhdHVyZV9leHRyYWN0b3Iuc2FtcGxpbmdfcmF0ZSkp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = dataset.cast_column(<span class="hljs-string">&quot;audio&quot;</span>, Audio(sampling_rate=speech_recognizer.feature_extractor.sampling_rate))'}}),ds=new F({props:{code:"cmVzdWx0JTIwJTNEJTIwc3BlZWNoX3JlY29nbml6ZXIoZGF0YXNldCU1QiUzQTQlNUQlNUIlMjJhdWRpbyUyMiU1RCklMEFwcmludCglNUJkJTVCJTIydGV4dCUyMiU1RCUyMGZvciUyMGQlMjBpbiUyMHJlc3VsdCU1RCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>result = speech_recognizer(dataset[:<span class="hljs-number">4</span>][<span class="hljs-string">&quot;audio&quot;</span>])
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>([d[<span class="hljs-string">&quot;text&quot;</span>] <span class="hljs-keyword">for</span> d <span class="hljs-keyword">in</span> result])
[<span class="hljs-string">&#x27;I WOULD LIKE TO SET UP A JOINT ACCOUNT WITH MY PARTNER HOW DO I PROCEED WITH DOING THAT&#x27;</span>, <span class="hljs-string">&quot;FODING HOW I&#x27;D SET UP A JOIN TO HET WITH MY WIFE AND WHERE THE AP MIGHT BE&quot;</span>, <span class="hljs-string">&quot;I I&#x27;D LIKE TOY SET UP A JOINT ACCOUNT WITH MY PARTNER I&#x27;M NOT SEEING THE OPTION TO DO IT ON THE AP SO I CALLED IN TO GET SOME HELP CAN I JUST DO IT OVER THE PHONE WITH YOU AND GIVE YOU THE INFORMATION OR SHOULD I DO IT IN THE AP AND I&#x27;M MISSING SOMETHING UQUETTE HAD PREFERRED TO JUST DO IT OVER THE PHONE OF POSSIBLE THINGS&quot;</span>, <span class="hljs-string">&#x27;HOW DO I THURN A JOIN A COUNT&#x27;</span>]`}}),ms=new Fe({}),$s=new F({props:{code:"bW9kZWxfbmFtZSUyMCUzRCUyMCUyMm5scHRvd24lMkZiZXJ0LWJhc2UtbXVsdGlsaW5ndWFsLXVuY2FzZWQtc2VudGltZW50JTIy",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>model_name = <span class="hljs-string">&quot;nlptown/bert-base-multilingual-uncased-sentiment&quot;</span>'}}),ut=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[C2],pytorch:[U2]},$$scope:{ctx:Z}}}),_s=new F({props:{code:"Y2xhc3NpZmllciUyMCUzRCUyMHBpcGVsaW5lKCUyMnNlbnRpbWVudC1hbmFseXNpcyUyMiUyQyUyMG1vZGVsJTNEbW9kZWwlMkMlMjB0b2tlbml6ZXIlM0R0b2tlbml6ZXIpJTBBY2xhc3NpZmllciglMjJOb3VzJTIwc29tbWVzJTIwdHIlQzMlQThzJTIwaGV1cmV1eCUyMGRlJTIwdm91cyUyMHByJUMzJUE5c2VudGVyJTIwbGElMjBiaWJsaW90aCVDMyVBOHF1ZSUyMCVGMCU5RiVBNCU5NyUyMFRyYW5zZm9ybWVycy4lMjIp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>classifier = pipeline(<span class="hljs-string">&quot;sentiment-analysis&quot;</span>, model=model, tokenizer=tokenizer)
<span class="hljs-meta">&gt;&gt;&gt; </span>classifier(<span class="hljs-string">&quot;Nous sommes tr\xE8s heureux de vous pr\xE9senter la biblioth\xE8que \u{1F917} Transformers.&quot;</span>)
[{<span class="hljs-string">&#x27;label&#x27;</span>: <span class="hljs-string">&#x27;5 stars&#x27;</span>, <span class="hljs-string">&#x27;score&#x27;</span>: <span class="hljs-number">0.7273</span>}]`}}),ys=new Fe({}),bs=new _2({props:{id:"AhChOFRegn4"}}),gs=new Fe({}),vs=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEFtb2RlbF9uYW1lJTIwJTNEJTIwJTIybmxwdG93biUyRmJlcnQtYmFzZS1tdWx0aWxpbmd1YWwtdW5jYXNlZC1zZW50aW1lbnQlMjIlMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZChtb2RlbF9uYW1lKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>model_name = <span class="hljs-string">&quot;nlptown/bert-base-multilingual-uncased-sentiment&quot;</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(model_name)`}}),Es=new F({props:{code:"ZW5jb2RpbmclMjAlM0QlMjB0b2tlbml6ZXIoJTIyV2UlMjBhcmUlMjB2ZXJ5JTIwaGFwcHklMjB0byUyMHNob3clMjB5b3UlMjB0aGUlMjAlRjAlOUYlQTQlOTclMjBUcmFuc2Zvcm1lcnMlMjBsaWJyYXJ5LiUyMiklMEFwcmludChlbmNvZGluZyk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>encoding = tokenizer(<span class="hljs-string">&quot;We are very happy to show you the \u{1F917} Transformers library.&quot;</span>)
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-built_in">print</span>(encoding)
{<span class="hljs-string">&#x27;input_ids&#x27;</span>: [<span class="hljs-number">101</span>, <span class="hljs-number">11312</span>, <span class="hljs-number">10320</span>, <span class="hljs-number">12495</span>, <span class="hljs-number">19308</span>, <span class="hljs-number">10114</span>, <span class="hljs-number">11391</span>, <span class="hljs-number">10855</span>, <span class="hljs-number">10103</span>, <span class="hljs-number">100</span>, <span class="hljs-number">58263</span>, <span class="hljs-number">13299</span>, <span class="hljs-number">119</span>, <span class="hljs-number">102</span>],
 <span class="hljs-string">&#x27;token_type_ids&#x27;</span>: [<span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>, <span class="hljs-number">0</span>],
 <span class="hljs-string">&#x27;attention_mask&#x27;</span>: [<span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>, <span class="hljs-number">1</span>]}`}}),gt=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[A2],pytorch:[G2]},$$scope:{ctx:Z}}}),Mt=new To({props:{$$slots:{default:[I2]},$$scope:{ctx:Z}}}),Ts=new Fe({}),Et=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[D2],pytorch:[N2]},$$scope:{ctx:Z}}}),Tt=new To({props:{$$slots:{default:[B2]},$$scope:{ctx:Z}}}),ws=new Fe({}),jt=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[P2],pytorch:[S2]},$$scope:{ctx:Z}}}),kt=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[x2],pytorch:[q2]},$$scope:{ctx:Z}}}),js=new Fe({}),ks=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Db25maWclMEElMEFteV9jb25maWclMjAlM0QlMjBBdXRvQ29uZmlnLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMiUyQyUyMG5faGVhZHMlM0QxMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoConfig

<span class="hljs-meta">&gt;&gt;&gt; </span>my_config = AutoConfig.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>, n_heads=<span class="hljs-number">12</span>)`}}),Ut=new ul({props:{pytorch:!0,tensorflow:!0,jax:!1,$$slots:{tensorflow:[t1],pytorch:[K2]},$$scope:{ctx:Z}}}),Js=new Fe({}),Rs=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24lMEElMEFtb2RlbCUyMCUzRCUyMEF1dG9Nb2RlbEZvclNlcXVlbmNlQ2xhc3NpZmljYXRpb24uZnJvbV9wcmV0cmFpbmVkKCUyMmRpc3RpbGJlcnQtYmFzZS11bmNhc2VkJTIyKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = AutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`}}),Ws=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRyYWluaW5nQXJndW1lbnRzJTBBJTBBdHJhaW5pbmdfYXJncyUyMCUzRCUyMFRyYWluaW5nQXJndW1lbnRzKCUwQSUyMCUyMCUyMCUyMG91dHB1dF9kaXIlM0QlMjJwYXRoJTJGdG8lMkZzYXZlJTJGZm9sZGVyJTJGJTIyJTJDJTBBJTIwJTIwJTIwJTIwbGVhcm5pbmdfcmF0ZSUzRDJlLTUlMkMlMEElMjAlMjAlMjAlMjBwZXJfZGV2aWNlX3RyYWluX2JhdGNoX3NpemUlM0Q4JTJDJTBBJTIwJTIwJTIwJTIwcGVyX2RldmljZV9ldmFsX2JhdGNoX3NpemUlM0Q4JTJDJTBBJTIwJTIwJTIwJTIwbnVtX3RyYWluX2Vwb2NocyUzRDIlMkMlMEEp",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TrainingArguments

<span class="hljs-meta">&gt;&gt;&gt; </span>training_args = TrainingArguments(
<span class="hljs-meta">... </span>    output_dir=<span class="hljs-string">&quot;path/to/save/folder/&quot;</span>,
<span class="hljs-meta">... </span>    learning_rate=<span class="hljs-number">2e-5</span>,
<span class="hljs-meta">... </span>    per_device_train_batch_size=<span class="hljs-number">8</span>,
<span class="hljs-meta">... </span>    per_device_eval_batch_size=<span class="hljs-number">8</span>,
<span class="hljs-meta">... </span>    num_train_epochs=<span class="hljs-number">2</span>,
<span class="hljs-meta">... </span>)`}}),Is=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`}}),Fs=new F({props:{code:"ZnJvbSUyMGRhdGFzZXRzJTIwaW1wb3J0JTIwbG9hZF9kYXRhc2V0JTBBJTBBZGF0YXNldCUyMCUzRCUyMGxvYWRfZGF0YXNldCglMjJyb3R0ZW5fdG9tYXRvZXMlMjIpJTIwJTIwJTIzJTIwZG9jdGVzdCUzQSUyMCUyQklHTk9SRV9SRVNVTFQ=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> datasets <span class="hljs-keyword">import</span> load_dataset

<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = load_dataset(<span class="hljs-string">&quot;rotten_tomatoes&quot;</span>)  <span class="hljs-comment"># doctest: +IGNORE_RESULT</span>`}}),zs=new F({props:{code:"ZGVmJTIwdG9rZW5pemVfZGF0YXNldChkYXRhc2V0KSUzQSUwQSUyMCUyMCUyMCUyMHJldHVybiUyMHRva2VuaXplcihkYXRhc2V0JTVCJTIydGV4dCUyMiU1RCk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">tokenize_dataset</span>(<span class="hljs-params">dataset</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> tokenizer(dataset[<span class="hljs-string">&quot;text&quot;</span>])`}}),Bs=new F({props:{code:"",highlighted:""}}),Hs=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMERhdGFDb2xsYXRvcldpdGhQYWRkaW5nJTBBJTBBZGF0YV9jb2xsYXRvciUyMCUzRCUyMERhdGFDb2xsYXRvcldpdGhQYWRkaW5nKHRva2VuaXplciUzRHRva2VuaXplcik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> DataCollatorWithPadding

<span class="hljs-meta">&gt;&gt;&gt; </span>data_collator = DataCollatorWithPadding(tokenizer=tokenizer)`}}),Ps=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRyYWluZXIlMEElMEF0cmFpbmVyJTIwJTNEJTIwVHJhaW5lciglMEElMjAlMjAlMjAlMjBtb2RlbCUzRG1vZGVsJTJDJTBBJTIwJTIwJTIwJTIwYXJncyUzRHRyYWluaW5nX2FyZ3MlMkMlMEElMjAlMjAlMjAlMjB0cmFpbl9kYXRhc2V0JTNEZGF0YXNldCU1QiUyMnRyYWluJTIyJTVEJTJDJTBBJTIwJTIwJTIwJTIwZXZhbF9kYXRhc2V0JTNEZGF0YXNldCU1QiUyMnRlc3QlMjIlNUQlMkMlMEElMjAlMjAlMjAlMjB0b2tlbml6ZXIlM0R0b2tlbml6ZXIlMkMlMEElMjAlMjAlMjAlMjBkYXRhX2NvbGxhdG9yJTNEZGF0YV9jb2xsYXRvciUyQyUwQSklMjAlMjAlMjMlMjBkb2N0ZXN0JTNBJTIwJTJCU0tJUA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> Trainer

<span class="hljs-meta">&gt;&gt;&gt; </span>trainer = Trainer(
<span class="hljs-meta">... </span>    model=model,
<span class="hljs-meta">... </span>    args=training_args,
<span class="hljs-meta">... </span>    train_dataset=dataset[<span class="hljs-string">&quot;train&quot;</span>],
<span class="hljs-meta">... </span>    eval_dataset=dataset[<span class="hljs-string">&quot;test&quot;</span>],
<span class="hljs-meta">... </span>    tokenizer=tokenizer,
<span class="hljs-meta">... </span>    data_collator=data_collator,
<span class="hljs-meta">... </span>)  <span class="hljs-comment"># doctest: +SKIP</span>`}}),Os=new F({props:{code:"dHJhaW5lci50cmFpbigp",highlighted:'<span class="hljs-meta">&gt;&gt;&gt; </span>trainer.train()'}}),It=new To({props:{$$slots:{default:[s1]},$$scope:{ctx:Z}}}),qs=new Fe({}),sl=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMFRGQXV0b01vZGVsRm9yU2VxdWVuY2VDbGFzc2lmaWNhdGlvbiUwQSUwQW1vZGVsJTIwJTNEJTIwVEZBdXRvTW9kZWxGb3JTZXF1ZW5jZUNsYXNzaWZpY2F0aW9uLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> TFAutoModelForSequenceClassification

<span class="hljs-meta">&gt;&gt;&gt; </span>model = TFAutoModelForSequenceClassification.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`}}),al=new F({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMEF1dG9Ub2tlbml6ZXIlMEElMEF0b2tlbml6ZXIlMjAlM0QlMjBBdXRvVG9rZW5pemVyLmZyb21fcHJldHJhaW5lZCglMjJkaXN0aWxiZXJ0LWJhc2UtdW5jYXNlZCUyMik=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> AutoTokenizer

<span class="hljs-meta">&gt;&gt;&gt; </span>tokenizer = AutoTokenizer.from_pretrained(<span class="hljs-string">&quot;distilbert-base-uncased&quot;</span>)`}}),ol=new F({props:{code:"ZGVmJTIwdG9rZW5pemVfZGF0YXNldChkYXRhc2V0KSUzQSUwQSUyMCUyMCUyMCUyMHJldHVybiUyMHRva2VuaXplcihkYXRhc2V0JTVCJTIydGV4dCUyMiU1RCklMjAlMjAlMjMlMjBkb2N0ZXN0JTNBJTIwJTJCU0tJUA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">def</span> <span class="hljs-title function_">tokenize_dataset</span>(<span class="hljs-params">dataset</span>):
<span class="hljs-meta">... </span>    <span class="hljs-keyword">return</span> tokenizer(dataset[<span class="hljs-string">&quot;text&quot;</span>])  <span class="hljs-comment"># doctest: +SKIP</span>`}}),pl=new F({props:{code:"ZGF0YXNldCUyMCUzRCUyMGRhdGFzZXQubWFwKHRva2VuaXplX2RhdGFzZXQpJTIwJTIwJTIzJTIwZG9jdGVzdCUzQSUyMCUyQlNLSVAlMEF0Zl9kYXRhc2V0JTIwJTNEJTIwbW9kZWwucHJlcGFyZV90Zl9kYXRhc2V0KCUwQSUyMCUyMCUyMCUyMGRhdGFzZXQlMkMlMjBiYXRjaF9zaXplJTNEMTYlMkMlMjBzaHVmZmxlJTNEVHJ1ZSUyQyUyMHRva2VuaXplciUzRHRva2VuaXplciUwQSklMjAlMjAlMjMlMjBkb2N0ZXN0JTNBJTIwJTJCU0tJUA==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span>dataset = dataset.<span class="hljs-built_in">map</span>(tokenize_dataset)  <span class="hljs-comment"># doctest: +SKIP</span>
<span class="hljs-meta">&gt;&gt;&gt; </span>tf_dataset = model.prepare_tf_dataset(
<span class="hljs-meta">... </span>    dataset, batch_size=<span class="hljs-number">16</span>, shuffle=<span class="hljs-literal">True</span>, tokenizer=tokenizer
<span class="hljs-meta">... </span>)  <span class="hljs-comment"># doctest: +SKIP</span>`}}),fl=new F({props:{code:"ZnJvbSUyMHRlbnNvcmZsb3cua2VyYXMub3B0aW1pemVycyUyMGltcG9ydCUyMEFkYW0lMEElMEFtb2RlbC5jb21waWxlKG9wdGltaXplciUzREFkYW0oM2UtNSkpJTBBbW9kZWwuZml0KGRhdGFzZXQpJTIwJTIwJTIzJTIwZG9jdGVzdCUzQSUyMCUyQlNLSVA=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> tensorflow.keras.optimizers <span class="hljs-keyword">import</span> Adam

<span class="hljs-meta">&gt;&gt;&gt; </span>model.<span class="hljs-built_in">compile</span>(optimizer=Adam(<span class="hljs-number">3e-5</span>))
<span class="hljs-meta">&gt;&gt;&gt; </span>model.fit(dataset)  <span class="hljs-comment"># doctest: +SKIP</span>`}}),il=new Fe({}),{c(){l=a("meta"),m=f(),c=a("h1"),u=a("a"),$=a("span"),y(k.$$.fragment),J=f(),_=a("span"),w=n("\uB458\uB7EC\uBCF4\uAE30"),A=f(),y(V.$$.fragment),I=n("\n\u{1F917} Transformer\uB97C \uC2DC\uC791\uD574\uBD10\uC694! \uB458\uB7EC\uBCF4\uAE30\uB294 \uAC1C\uBC1C\uC790\uC640 \uC77C\uBC18 \uC0AC\uC6A9\uC790 \uBAA8\uB450\uB97C \uC704\uD574 \uC4F0\uC5EC\uC84C\uC2B5\uB2C8\uB2E4. `pipeline()`\uC73C\uB85C \uCD94\uB860\uD558\uB294 \uBC29\uBC95, [AutoClass](./model_doc/auto)\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uC804\uCC98\uB9AC\uAE30\uB97C \uC801\uC7AC\uD558\uB294 \uBC29\uBC95\uACFC PyTorch \uB610\uB294 TensorFlow\uB85C \uC2E0\uC18D\uD558\uAC8C \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0A4\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4. \uAE30\uBCF8\uC744 \uBC30\uC6B0\uACE0 \uC2F6\uB2E4\uBA74 \uD29C\uD1A0\uB9AC\uC5BC\uC774\uB098 [course](https://huggingface.co/course/chapter1/1)\uC5D0\uC11C \uC5EC\uAE30 \uC18C\uAC1C\uB41C \uAC1C\uB150\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uC124\uBA85\uC744 \uD655\uC778\uD558\uC2DC\uAE38 \uAD8C\uC7A5\uD569\uB2C8\uB2E4.\n"),z=a("p"),G=n("\uC2DC\uC791\uD558\uAE30 \uC804\uC5D0 \uD544\uC694\uD55C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uAC00 \uBAA8\uB450 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uACE0,"),R=f(),y(X.$$.fragment),j=f(),W=a("p"),L=n("\uC88B\uC544\uD558\uB294 \uBA38\uC2E0\uB7EC\uB2DD \uD504\uB808\uC784\uC6CC\uD06C\uB3C4 \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),B=f(),y(H.$$.fragment),oe=f(),P=a("h2"),te=a("a"),O=a("span"),y(K.$$.fragment),pe=f(),Q=a("span"),Me=n("Pipeline (\uD30C\uC774\uD504\uB77C\uC778)"),ae=f(),y(ne.$$.fragment),_e=f(),x=a("p"),se=a("code"),ye=n("pipeline()"),U=n("\uC740 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD574 \uCD94\uB860\uD560 \uB54C \uC81C\uC77C \uC26C\uC6B4 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uC5EC\uB7EC \uBAA8\uB2EC\uB9AC\uD2F0\uC758 \uC218\uB9CE\uC740 \uD0DC\uC2A4\uD06C\uC5D0 "),N=a("code"),ce=n("pipeline()"),C=n("\uC744 \uC989\uC2DC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC758 \uC608\uC2DC\uB294 \uC544\uB798 \uD45C\uB97C \uCC38\uACE0\uD558\uC138\uC694."),D=f(),le=a("table"),ve=a("thead"),q=a("tr"),Ee=a("th"),ue=a("strong"),$l=n("\uD0DC\uC2A4\uD06C"),Ne=f(),pt=a("th"),ct=a("strong"),gp=n("\uC124\uBA85"),Mp=f(),Sl=a("th"),Hl=a("strong"),vp=n("\uBAA8\uB2EC\uB9AC\uD2F0"),Ep=f(),Pl=a("th"),Ol=a("strong"),Tp=n("\uD30C\uC774\uD504\uB77C\uC778 ID"),wp=f(),Y=a("tbody"),Te=a("tr"),ql=a("td"),jp=n("\uD14D\uC2A4\uD2B8 \uBD84\uB958"),kp=f(),Ql=a("td"),Jp=n("\uD14D\uC2A4\uD2B8\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),Up=f(),xl=a("td"),Zp=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Cp=f(),Ll=a("td"),Rp=n("pipeline(task=\u201Csentiment-analysis\u201D)"),Gp=f(),we=a("tr"),Kl=a("td"),Wp=n("\uD14D\uC2A4\uD2B8 \uC0DD\uC131"),Ap=f(),ea=a("td"),Ip=n("\uC8FC\uC5B4\uC9C4 \uBB38\uC790\uC5F4 \uC785\uB825\uACFC \uC774\uC5B4\uC9C0\uB294 \uD14D\uC2A4\uD2B8 \uC0DD\uC131\uD558\uAE30"),Vp=f(),ta=a("td"),Fp=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Np=f(),sa=a("td"),Xp=n("pipeline(task=\u201Ctext-generation\u201D)"),zp=f(),je=a("tr"),la=a("td"),Dp=n("\uAC1C\uCCB4\uBA85 \uC778\uC2DD"),Bp=f(),aa=a("td"),Yp=n("\uBB38\uC790\uC5F4\uC758 \uAC01 \uD1A0\uD070\uB9C8\uB2E4 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30 (\uC778\uBB3C, \uC870\uC9C1, \uC7A5\uC18C \uB4F1\uB4F1)"),Sp=f(),ra=a("td"),Hp=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Pp=f(),oa=a("td"),Op=n("pipeline(task=\u201Cner\u201D)"),qp=f(),ke=a("tr"),na=a("td"),Qp=n("\uC9C8\uC758\uC751\uB2F5"),xp=f(),pa=a("td"),Lp=n("\uC8FC\uC5B4\uC9C4 \uBB38\uB9E5\uACFC \uC9C8\uBB38\uC5D0 \uB530\uB77C \uC62C\uBC14\uB978 \uB300\uB2F5\uD558\uAE30"),Kp=f(),ca=a("td"),ec=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),tc=f(),fa=a("td"),sc=n("pipeline(task=\u201Cquestion-answering\u201D)"),lc=f(),Je=a("tr"),ia=a("td"),ac=n("\uBE48\uCE78 \uCC44\uC6B0\uAE30"),rc=f(),da=a("td"),oc=n("\uBB38\uC790\uC5F4\uC758 \uBE48\uCE78\uC5D0 \uC54C\uB9DE\uC740 \uD1A0\uD070 \uB9DE\uCD94\uAE30"),nc=f(),ma=a("td"),pc=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),cc=f(),ha=a("td"),fc=n("pipeline(task=\u201Cfill-mask\u201D)"),ic=f(),Ue=a("tr"),ua=a("td"),dc=n("\uC694\uC57D"),mc=f(),$a=a("td"),hc=n("\uD14D\uC2A4\uD2B8\uB098 \uBB38\uC11C\uB97C \uC694\uC57D\uD558\uAE30"),uc=f(),_a=a("td"),$c=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),_c=f(),ya=a("td"),yc=n("pipeline(task=\u201Csummarization\u201D)"),bc=f(),Ze=a("tr"),ba=a("td"),gc=n("\uBC88\uC5ED"),Mc=f(),ga=a("td"),vc=n("\uD14D\uC2A4\uD2B8\uB97C \uD55C \uC5B8\uC5B4\uC5D0\uC11C \uB2E4\uB978 \uC5B8\uC5B4\uB85C \uBC88\uC5ED\uD558\uAE30"),Ec=f(),Ma=a("td"),Tc=n("\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),wc=f(),va=a("td"),jc=n("pipeline(task=\u201Ctranslation\u201D)"),kc=f(),Ce=a("tr"),Ea=a("td"),Jc=n("\uC774\uBBF8\uC9C0 \uBD84\uB958"),Uc=f(),Ta=a("td"),Zc=n("\uC774\uBBF8\uC9C0\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),Cc=f(),wa=a("td"),Rc=n("\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),Gc=f(),ja=a("td"),Wc=n("pipeline(task=\u201Cimage-classification\u201D)"),Ac=f(),Re=a("tr"),ka=a("td"),Ic=n("\uC774\uBBF8\uC9C0 \uBD84\uD560"),Vc=f(),Ja=a("td"),Fc=n("\uC774\uBBF8\uC9C0\uC758 \uD53D\uC140\uB9C8\uB2E4 \uB77C\uBCA8 \uBD99\uC774\uAE30(\uC2DC\uB9E8\uD2F1, \uD30C\uB189\uD2F1 \uBC0F \uC778\uC2A4\uD134\uC2A4 \uBD84\uD560 \uD3EC\uD568)"),Nc=f(),Ua=a("td"),Xc=n("\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),zc=f(),Za=a("td"),Dc=n("pipeline(task=\u201Cimage-segmentation\u201D)"),Bc=f(),Ge=a("tr"),Ca=a("td"),Yc=n("\uAC1D\uCCB4 \uD0D0\uC9C0"),Sc=f(),Ra=a("td"),Hc=n("\uC774\uBBF8\uC9C0 \uC18D \uAC1D\uCCB4\uC758 \uACBD\uACC4 \uC0C1\uC790\uB97C \uADF8\uB9AC\uACE0 \uD074\uB798\uC2A4\uB97C \uC608\uCE21\uD558\uAE30"),Pc=f(),Ga=a("td"),Oc=n("\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),qc=f(),Wa=a("td"),Qc=n("pipeline(task=\u201Cobject-detection\u201D)"),xc=f(),We=a("tr"),Aa=a("td"),Lc=n("\uC624\uB514\uC624 \uBD84\uB958"),Kc=f(),Ia=a("td"),ef=n("\uC624\uB514\uC624 \uD30C\uC77C\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),tf=f(),Va=a("td"),sf=n("\uC624\uB514\uC624"),lf=f(),Fa=a("td"),af=n("pipeline(task=\u201Caudio-classification\u201D)"),rf=f(),Ae=a("tr"),Na=a("td"),of=n("\uC790\uB3D9 \uC74C\uC131 \uC778\uC2DD"),nf=f(),Xa=a("td"),pf=n("\uC624\uB514\uC624 \uD30C\uC77C \uC18D \uC74C\uC131\uC744 \uD14D\uC2A4\uD2B8\uB85C \uBC14\uAFB8\uAE30"),cf=f(),za=a("td"),ff=n("\uC624\uB514\uC624"),df=f(),Da=a("td"),mf=n("pipeline(task=\u201Cautomatic-speech-recognition\u201D)"),hf=f(),Ie=a("tr"),Ba=a("td"),uf=n("\uC2DC\uAC01 \uC9C8\uC758\uC751\uB2F5"),$f=f(),Ya=a("td"),_f=n("\uC8FC\uC5B4\uC9C4 \uC774\uBBF8\uC9C0\uC640 \uC774\uBBF8\uC9C0\uC5D0 \uB300\uD55C \uC9C8\uBB38\uC5D0 \uB530\uB77C \uC62C\uBC14\uB974\uAC8C \uB300\uB2F5\uD558\uAE30"),yf=f(),Sa=a("td"),bf=n("\uBA40\uD2F0\uBAA8\uB2EC"),gf=f(),Ha=a("td"),Mf=n("pipeline(task=\u201Cvqa\u201D)"),wo=f(),fe=a("p"),vf=n("\uBA3C\uC800 "),Pa=a("code"),Ef=n("pipeline()"),Tf=n("\uC758 \uC778\uC2A4\uD134\uC2A4\uB97C \uB9CC\uB4E4\uC5B4 \uC801\uC6A9\uD560 \uD0DC\uC2A4\uD06C\uB97C \uACE0\uB974\uC138\uC694. \uC704 \uD0DC\uC2A4\uD06C\uB4E4\uC740 \uBAA8\uB450 "),Oa=a("code"),wf=n("pipeline()"),jf=n("\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uACE0, \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC758 \uC804\uCCB4 \uBAA9\uB85D\uC744 \uBCF4\uB824\uBA74 "),_l=a("a"),kf=n("pipeline API \uB808\uD37C\uB7F0\uC2A4"),Jf=n("\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694. \uAC04\uB2E8\uD55C \uC608\uC2DC\uB85C \uAC10\uC815 \uBD84\uC11D \uD0DC\uC2A4\uD06C\uC5D0 "),qa=a("code"),Uf=n("pipeline()"),Zf=n("\uB97C \uC801\uC6A9\uD574 \uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),jo=f(),y(ts.$$.fragment),ko=f(),Ve=a("p"),Qa=a("code"),Cf=n("pipeline()"),Rf=n("\uC740 \uAE30\uBCF8 "),ss=a("a"),Gf=n("\uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378(\uC601\uC5B4)"),Wf=n("\uC640 \uAC10\uC815 \uBD84\uC11D\uC744 \uD558\uAE30 \uC704\uD55C tokenizer\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uCE90\uC2DC\uD574\uB193\uC2B5\uB2C8\uB2E4. \uC774\uC81C \uC6D0\uD558\uB294 \uD14D\uC2A4\uD2B8\uC5D0 "),xa=a("code"),Af=n("classifier"),If=n("\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Jo=f(),y(ls.$$.fragment),Uo=f(),ft=a("p"),Vf=n("\uC785\uB825\uC774 \uC5EC\uB7EC \uAC1C\uB77C\uBA74, \uC785\uB825\uC744 "),La=a("code"),Ff=n("pipeline()"),Nf=n("\uC5D0 \uB9AC\uC2A4\uD2B8\uB85C \uC804\uB2EC\uD574\uC11C \uB515\uC154\uB108\uB9AC\uB85C \uB41C \uB9AC\uC2A4\uD2B8\uB97C \uBC1B\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Zo=f(),y(as.$$.fragment),Co=f(),rs=a("p"),Ka=a("code"),Xf=n("pipeline()"),zf=n("\uC740 \uD2B9\uC815 \uD0DC\uC2A4\uD06C\uC6A9 \uB370\uC774\uD130\uC14B\uB97C \uC804\uBD80 \uC21C\uD68C\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uB3D9 \uC74C\uC131 \uC778\uC2DD \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uC6A9\uD574 \uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),Ro=f(),y(os.$$.fragment),Go=f(),Xe=a("p"),Df=n("\uC774\uC81C \uC21C\uD68C\uD560 \uC624\uB514\uC624 \uB370\uC774\uD130\uC14B\uB97C \uC801\uC7AC\uD558\uACA0\uC2B5\uB2C8\uB2E4. (\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \u{1F917} Datasets "),ns=a("a"),Bf=n("\uC2DC\uC791\uD558\uAE30"),Yf=n("\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694) "),ps=a("a"),Sf=n("MInDS-14"),Hf=n(" \uB370\uC774\uD130\uC14B\uB85C \uD574\uBCFC\uAE4C\uC694?"),Wo=f(),y(cs.$$.fragment),Ao=f(),it=a("p"),Pf=n("\uB370\uC774\uD130\uC14B\uC758 \uC0D8\uD50C\uB9C1 \uB808\uC774\uD2B8\uAC00 "),fs=a("a"),er=a("code"),Of=n("facebook/wav2vec2-base-960h"),qf=n("\uC758 \uD6C8\uB828 \uB2F9\uC2DC \uC0D8\uD50C\uB9C1 \uB808\uC774\uD2B8\uC640 \uC77C\uCE58\uD574\uC57C\uB9CC \uD569\uB2C8\uB2E4."),Io=f(),y(is.$$.fragment),Vo=f(),dt=a("p"),Qf=n("\uC624\uB514\uC624 \uD30C\uC77C\uC740 "),tr=a("code"),xf=n('"audio"'),Lf=n(` \uC5F4\uC744 \uD638\uCD9C\uD560 \uB54C \uC790\uB3D9\uC73C\uB85C \uC801\uC7AC\uB418\uACE0 \uB2E4\uC2DC \uC0D8\uD50C\uB9C1\uB429\uB2C8\uB2E4.
\uCC98\uC74C 4\uAC1C \uC0D8\uD50C\uC5D0\uC11C \uC74C\uC131\uC744 \uCD94\uCD9C\uD558\uC5EC \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uB9AC\uC2A4\uD2B8 \uD615\uD0DC\uB85C \uC804\uB2EC\uD574\uBCF4\uACA0\uC2B5\uB2C8\uB2E4.`),Fo=f(),y(ds.$$.fragment),No=f(),mt=a("p"),Kf=n("(\uC74C\uC131\uC774\uB098 \uBE44\uC804\uCC98\uB7FC) \uC785\uB825\uC774 \uD070 \uB300\uADDC\uBAA8 \uB370\uC774\uD130\uC14B\uC758 \uACBD\uC6B0, \uBA54\uBAA8\uB9AC\uC5D0 \uC801\uC7AC\uC2DC\uD0A4\uAE30 \uC704\uD574 \uB9AC\uC2A4\uD2B8 \uB300\uC2E0 \uC81C\uB108\uB808\uC774\uD130\uB85C \uC785\uB825\uC744 \uBAA8\uB450 \uC804\uB2EC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),yl=a("a"),ei=n("pipeline API \uB808\uD37C\uB7F0\uC2A4"),ti=n("\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694."),Xo=f(),qe=a("h3"),ht=a("a"),sr=a("span"),y(ms.$$.fragment),si=f(),lr=a("span"),li=n("\uD30C\uC774\uD504\uB77C\uC778\uC5D0\uC11C \uB2E4\uB978 \uBAA8\uB378\uC774\uB098 tokenizer \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"),zo=f(),$e=a("p"),ar=a("code"),ai=n("pipeline()"),ri=n("\uC740 "),hs=a("a"),oi=n("Hub"),ni=n(" \uC18D \uBAA8\uB4E0 \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4, \uC5BC\uB9C8\uB4E0\uC9C0 "),rr=a("code"),pi=n("pipeline()"),ci=n("\uC744 \uC0AC\uC6A9\uD558\uACE0 \uC2F6\uC740\uB300\uB85C \uBC14\uAFC0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 \uD504\uB791\uC2A4\uC5B4 \uD14D\uC2A4\uD2B8\uB97C \uB2E4\uB8F0 \uC218 \uC788\uB294 \uBAA8\uB378\uC744 \uB9CC\uB4DC\uB824\uBA74, Hub\uC758 \uD0DC\uADF8\uB85C \uC801\uC808\uD55C \uBAA8\uB378\uC744 \uCC3E\uC544\uBCF4\uC138\uC694. \uC0C1\uC704 \uAC80\uC0C9 \uACB0\uACFC\uB85C \uB72C \uAC10\uC815 \uBD84\uC11D\uC744 \uC704\uD574 \uD30C\uC778\uD29C\uB2DD\uB41C \uB2E4\uAD6D\uC5B4 "),us=a("a"),fi=n("BERT \uBAA8\uB378"),ii=n("\uC774 \uD504\uB791\uC2A4\uC5B4\uB97C \uC9C0\uC6D0\uD558\uB294\uAD70\uC694."),Do=f(),y($s.$$.fragment),Bo=f(),y(ut.$$.fragment),Yo=f(),Qe=a("p"),or=a("code"),di=n("pipeline()"),mi=n("\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uBAA8\uB378\uACFC \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uC785\uB825\uD558\uBA74 \uC774\uC81C (\uAC10\uC815 \uBD84\uC11D\uAE30\uC778) "),nr=a("code"),hi=n("classifier"),ui=n("\uB97C \uD504\uB791\uC2A4\uC5B4 \uD14D\uC2A4\uD2B8\uC5D0 \uC801\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),So=f(),y(_s.$$.fragment),Ho=f(),ze=a("p"),$i=n("\uD558\uACE0\uC2F6\uC740 \uAC83\uC5D0 \uC801\uC6A9\uD560 \uB9C8\uB545\uD55C \uBAA8\uB378\uC774 \uC5C6\uB2E4\uBA74, \uAC00\uC9C4 \uB370\uC774\uD130\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD574\uC57C \uD569\uB2C8\uB2E4. \uC790\uC138\uD55C \uBC29\uBC95\uC740 "),bl=a("a"),_i=n("\uD30C\uC778\uD29C\uB2DD \uD29C\uD1A0\uB9AC\uC5BC"),yi=n("\uC744 \uCC38\uACE0\uD574\uC8FC\uC138\uC694. \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC758 \uD30C\uC778\uD29C\uB2DD\uC744 \uB9C8\uCE58\uC168\uC73C\uBA74, \uB204\uAD6C\uB098 \uBA38\uC2E0\uB7EC\uB2DD\uC744 \uD560 \uC218 \uC788\uB3C4\uB85D "),gl=a("a"),bi=n("\uACF5\uC720"),gi=n("\uD558\uB294 \uAC83\uC744 \uACE0\uB824\uD574\uC8FC\uC138\uC694. \u{1F917}"),Po=f(),xe=a("h2"),$t=a("a"),pr=a("span"),y(ys.$$.fragment),Mi=f(),cr=a("span"),vi=n("AutoClass"),Oo=f(),y(bs.$$.fragment),qo=f(),re=a("p"),Ei=n("\uB0B4\uBD80\uC801\uC73C\uB85C \uB4E4\uC5B4\uAC00\uBA74 \uC704\uC5D0\uC11C \uC0AC\uC6A9\uD588\uB358 "),fr=a("code"),Ti=n("pipeline()"),wi=n("\uC740 "),ir=a("code"),ji=n("AutoModelForSequenceClassification"),ki=n("\uACFC "),dr=a("code"),Ji=n("AutoTokenizer"),Ui=n(" \uD074\uB798\uC2A4\uB85C \uC791\uB3D9\uD569\uB2C8\uB2E4. "),Ml=a("a"),Zi=n("AutoClass"),Ci=n("\uB780 \uC774\uB984\uC774\uB098 \uACBD\uB85C\uB97C \uBC1B\uC73C\uBA74 \uADF8\uC5D0 \uC54C\uB9DE\uB294 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uAC00\uC838\uC624\uB294 \u2018\uBC14\uB85C\uAC00\uAE30\u2019\uB77C\uACE0 \uBCFC \uC218 \uC788\uB294\uB370\uC694. \uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC640 \uC804\uCC98\uB9AC\uC5D0 \uC801\uD569\uD55C "),mr=a("code"),Ri=n("AutoClass"),Gi=n("\uB97C \uACE0\uB974\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),Qo=f(),De=a("p"),Wi=n("\uC804\uC5D0 \uC0AC\uC6A9\uD588\uB358 \uC608\uC2DC\uB85C \uB3CC\uC544\uAC00\uC11C "),hr=a("code"),Ai=n("AutoClass"),Ii=n("\uB85C "),ur=a("code"),Vi=n("pipeline()"),Fi=n("\uACFC \uB3D9\uC77C\uD55C \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uB294 \uBC29\uBC95\uC744 \uC54C\uC544\uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),xo=f(),Le=a("h3"),_t=a("a"),$r=a("span"),y(gs.$$.fragment),Ni=f(),_r=a("span"),Xi=n("AutoTokenizer"),Lo=f(),yt=a("p"),zi=n("\uD1A0\uD06C\uB098\uC774\uC800\uB294 \uC804\uCC98\uB9AC\uB97C \uB2F4\uB2F9\uD558\uBA70, \uD14D\uC2A4\uD2B8\uB97C \uBAA8\uB378\uC774 \uBC1B\uC744 \uC22B\uC790 \uBC30\uC5F4\uB85C \uBC14\uAFC9\uB2C8\uB2E4. \uD1A0\uD070\uD654 \uACFC\uC815\uC5D0\uB294 \uB2E8\uC5B4\uB97C \uC5B4\uB514\uC5D0\uC11C \uB04A\uC744\uC9C0, \uC5BC\uB9CC\uD07C \uB098\uB20C\uC9C0 \uB4F1\uC744 \uD3EC\uD568\uD55C \uC5EC\uB7EC \uADDC\uCE59\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),vl=a("a"),Di=n("\uD1A0\uD06C\uB098\uC774\uC800 \uC694\uC57D"),Bi=n("\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694. \uC81C\uC77C \uC911\uC694\uD55C \uC810\uC740 \uBAA8\uB378\uC774 \uD6C8\uB828\uB410\uC744 \uB54C\uC640 \uB3D9\uC77C\uD55C \uD1A0\uD070\uD654 \uADDC\uCE59\uC744 \uC4F0\uB3C4\uB85D \uB3D9\uC77C\uD55C \uBAA8\uB378 \uC774\uB984\uC73C\uB85C \uD1A0\uD06C\uB098\uC774\uC800 \uC778\uC2A4\uD134\uC2A4\uB97C \uB9CC\uB4E4\uC5B4\uC57C \uD569\uB2C8\uB2E4."),Ko=f(),Ms=a("p"),yr=a("code"),Yi=n("AutoTokenizer"),Si=n("\uB85C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC624\uACE0,"),en=f(),y(vs.$$.fragment),tn=f(),El=a("p"),Hi=n("\uD1A0\uD06C\uB098\uC774\uC800\uC5D0 \uD14D\uC2A4\uD2B8\uB97C \uC81C\uACF5\uD558\uC138\uC694."),sn=f(),y(Es.$$.fragment),ln=f(),Tl=a("p"),Pi=n("\uADF8\uB7EC\uBA74 \uB2E4\uC74C\uC744 \uD3EC\uD568\uD55C \uB515\uC154\uB108\uB9AC\uAC00 \uBC18\uD658\uB429\uB2C8\uB2E4."),an=f(),bt=a("ul"),wl=a("li"),jl=a("a"),Oi=n("input_ids"),qi=n(": \uC22B\uC790\uB85C \uD45C\uD604\uB41C \uD1A0\uD070\uB4E4"),Qi=f(),kl=a("li"),Jl=a("a"),xi=n("attention_mask"),Li=n(": \uC8FC\uC2DC\uD560 \uD1A0\uD070\uB4E4"),rn=f(),Ul=a("p"),Ki=n("\uD1A0\uD06C\uB098\uC774\uC800\uB294 \uC785\uB825\uC744 \uB9AC\uC2A4\uD2B8\uB85C\uB3C4 \uBC1B\uC744 \uC218 \uC788\uC73C\uBA70, \uD14D\uC2A4\uD2B8\uB97C \uD328\uB4DC\uD558\uAC70\uB098 \uC798\uB77C\uB0B4\uC5B4 \uADE0\uC77C\uD55C \uAE38\uC774\uC758 \uBC30\uCE58\uB97C \uBC18\uD658\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),on=f(),y(gt.$$.fragment),nn=f(),y(Mt.$$.fragment),pn=f(),Ke=a("h3"),vt=a("a"),br=a("span"),y(Ts.$$.fragment),ed=f(),gr=a("span"),td=n("AutoModel"),cn=f(),y(Et.$$.fragment),fn=f(),y(Tt.$$.fragment),dn=f(),et=a("h3"),wt=a("a"),Mr=a("span"),y(ws.$$.fragment),sd=f(),vr=a("span"),ld=n("\uBAA8\uB378 \uC800\uC7A5\uD558\uAE30"),mn=f(),y(jt.$$.fragment),hn=f(),Zl=a("p"),ad=n("\u{1F917} Transformers \uAE30\uB2A5 \uC911 \uD2B9\uD788 \uC7AC\uBBF8\uC788\uB294 \uD55C \uAC00\uC9C0\uB294 \uBAA8\uB378\uC744 \uC800\uC7A5\uD558\uACE0 PyTorch\uB098 TensorFlow \uBAA8\uB378\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC62C \uC218 \uC788\uB294 \uAE30\uB2A5\uC785\uB2C8\uB2E4. \u2018from_pt\u2019 \uB610\uB294 \u2018from_tf\u2019 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0AC\uC6A9\uD574 \uBAA8\uB378\uC744 \uAE30\uC874\uACFC \uB2E4\uB978 \uD504\uB808\uC784\uC6CC\uD06C\uB85C \uBCC0\uD658\uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4."),un=f(),y(kt.$$.fragment),$n=f(),tt=a("h2"),Jt=a("a"),Er=a("span"),y(js.$$.fragment),rd=f(),Tr=a("span"),od=n("\uCEE4\uC2A4\uD140 \uBAA8\uB378 \uAD6C\uCD95\uD558\uAE30"),_n=f(),Cl=a("p"),nd=n("\uBAA8\uB378\uC758 \uAD6C\uC131 \uD074\uB798\uC2A4\uB97C \uC218\uC815\uD558\uC5EC \uBAA8\uB378\uC758 \uAD6C\uC870\uB97C \uBC14\uAFC0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC740\uB2C9\uCE35, \uC5B4\uD150\uC158 \uD5E4\uB4DC \uC218\uC640 \uAC19\uC740 \uBAA8\uB378\uC758 \uC18D\uC131\uC744 \uAD6C\uC131\uC5D0\uC11C \uC9C0\uC815\uD569\uB2C8\uB2E4. \uCEE4\uC2A4\uD140 \uAD6C\uC131 \uD074\uB798\uC2A4\uC5D0\uC11C \uBAA8\uB378\uC744 \uB9CC\uB4E4\uBA74 \uCC98\uC74C\uBD80\uD130 \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. \uBAA8\uB378 \uC18D\uC131\uC740 \uB79C\uB364\uD558\uAC8C \uCD08\uAE30\uD654\uB418\uBBC0\uB85C \uC758\uBBF8 \uC788\uB294 \uACB0\uACFC\uB97C \uC5BB\uC73C\uB824\uBA74 \uBA3C\uC800 \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0AC \uD544\uC694\uAC00 \uC788\uC2B5\uB2C8\uB2E4."),yn=f(),Be=a("p"),pd=n("\uBA3C\uC800 "),wr=a("code"),cd=n("AutoConfig"),fd=n("\uB97C \uC784\uD3EC\uD2B8\uD558\uACE0, \uC218\uC815\uD558\uACE0 \uC2F6\uC740 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uBD88\uB7EC\uC624\uC138\uC694. "),jr=a("code"),id=n("AutoConfig.from_pretrained()"),dd=n("\uC5D0\uC11C \uC5B4\uD150\uC158 \uD5E4\uB4DC \uC218 \uAC19\uC740 \uC18D\uC131\uC744 \uBCC0\uACBD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),bn=f(),y(ks.$$.fragment),gn=f(),y(Ut.$$.fragment),Mn=f(),Zt=a("p"),md=n("\uCEE4\uC2A4\uD140 \uAD6C\uC131\uC744 \uC791\uC131\uD558\uB294 \uBC29\uBC95\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),Rl=a("a"),hd=n("\uCEE4\uC2A4\uD140 \uC544\uD0A4\uD14D\uCC98 \uB9CC\uB4E4\uAE30"),ud=n(" \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD558\uC138\uC694."),vn=f(),st=a("h2"),Ct=a("a"),kr=a("span"),y(Js.$$.fragment),$d=f(),Jr=a("span"),_d=n("Trainer - PyTorch\uC5D0 \uCD5C\uC801\uD654\uB41C \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504"),En=f(),Ye=a("p"),yd=n("\uBAA8\uB4E0 \uBAA8\uB378\uC740 "),Us=a("a"),Ur=a("code"),bd=n("torch.nn.Module"),gd=n("\uC774\uC5B4\uC11C \uB300\uB2E4\uC218\uC758 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790\uAC00 \uC9C1\uC811 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uC791\uC131\uD574\uB3C4 \uB418\uC9C0\uB9CC, \u{1F917} Transformers\uB294 PyTorch\uC6A9 "),Zr=a("code"),Md=n("Trainer"),vd=n(" \uD074\uB798\uC2A4\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uAE30\uBCF8\uC801\uC778 \uD6C8\uB828 \uBC18\uD3ED \uB8E8\uD504\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uACE0, \uBD84\uC0B0 \uD6C8\uB828\uC774\uB098 \uD63C\uD569 \uC815\uBC00\uB3C4 \uB4F1\uC758 \uCD94\uAC00 \uAE30\uB2A5\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),Tn=f(),Rt=a("p"),Ed=n("\uD0DC\uC2A4\uD06C\uC5D0 \uB530\uB77C \uB2E4\uB974\uC9C0\uB9CC, \uC77C\uBC18\uC801\uC73C\uB85C \uB2E4\uC74C \uB9E4\uAC1C\uBCC0\uC218\uB97C "),Cr=a("code"),Td=n("Trainer"),wd=n("\uC5D0 \uC804\uB2EC\uD560 \uAC83\uC785\uB2C8\uB2E4."),wn=f(),ie=a("ol"),Zs=a("li"),Gt=a("p"),Rr=a("code"),jd=n("PreTrainedModel"),kd=n(" \uB610\uB294 "),Cs=a("a"),Gr=a("code"),Jd=n("torch.nn.Module"),Ud=n("\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4."),Zd=f(),y(Rs.$$.fragment),Cd=f(),Gs=a("li"),Gl=a("p"),Wr=a("code"),Rd=n("TrainingArguments"),Gd=n("\uB85C \uD559\uC2B5\uB960, \uBC30\uCE58 \uD06C\uAE30\uB098 \uD6C8\uB828\uD560 epoch \uC218\uC640 \uAC19\uC774 \uBAA8\uB378\uC758 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130\uB97C \uC870\uC815\uD569\uB2C8\uB2E4. \uAE30\uBCF8\uAC12\uC740 \uD6C8\uB828 \uC778\uC218\uB97C \uC804\uD600 \uC9C0\uC815\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4."),Wd=f(),y(Ws.$$.fragment),Ad=f(),As=a("li"),Ar=a("p"),Id=n("\uD1A0\uD06C\uB098\uC774\uC800, \uD2B9\uC9D5\uCD94\uCD9C\uAE30(feature extractor), \uC804\uCC98\uB9AC\uAE30(processor) \uD074\uB798\uC2A4 \uB4F1\uC73C\uB85C \uC804\uCC98\uB9AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4."),Vd=f(),y(Is.$$.fragment),Fd=f(),Vs=a("li"),Ir=a("p"),Nd=n("\uB370\uC774\uD130\uC14B\uB97C \uC801\uC7AC\uD569\uB2C8\uB2E4."),Xd=f(),y(Fs.$$.fragment),zd=f(),Ns=a("li"),Xs=a("p"),Dd=n("\uB370\uC774\uD130\uC14B\uC744 \uD1A0\uD070\uD654\uD558\uB294 \uD568\uC218\uB97C \uB9CC\uB4E4\uACE0 "),Vr=a("code"),Bd=n("map"),Yd=n("\uC73C\uB85C \uC804\uCCB4 \uB370\uC774\uD130\uC14B\uC5D0 \uC801\uC6A9\uC2DC\uD0B5\uB2C8\uB2E4."),Sd=f(),y(zs.$$.fragment),jn=f(),Wl=a("blockquote"),Fr=a("blockquote"),Ds=a("blockquote"),Nr=a("p"),Hd=n("dataset = dataset.map(tokenize_dataset, batched=True)"),Pd=f(),y(Bs.$$.fragment),kn=f(),Ys=a("ol"),Ss=a("li"),Al=a("p"),Xr=a("code"),Od=n("DataCollatorWithPadding"),qd=n("\uB85C \uB370\uC774\uD130\uC14B\uC73C\uB85C\uBD80\uD130 \uD45C\uBCF8\uC73C\uB85C \uC0BC\uC744 \uBC30\uCE58\uB97C \uB9CC\uB4ED\uB2C8\uB2E4."),Qd=f(),y(Hs.$$.fragment),Jn=f(),Wt=a("p"),xd=n("\uC774\uC81C \uC704\uC758 \uBAA8\uB4E0 \uD074\uB798\uC2A4\uB97C "),zr=a("code"),Ld=n("Trainer"),Kd=n("\uB85C \uBAA8\uC73C\uC138\uC694."),Un=f(),y(Ps.$$.fragment),Zn=f(),At=a("p"),em=n("\uC900\uBE44\uB418\uC5C8\uC73C\uBA74 "),Dr=a("code"),tm=n("train()"),sm=n("\uC73C\uB85C \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694."),Cn=f(),y(Os.$$.fragment),Rn=f(),y(It.$$.fragment),Gn=f(),lt=a("p"),Br=a("code"),lm=n("Trainer"),am=n(" \uB0B4\uBD80\uC758 \uBA54\uC11C\uB4DC\uB97C \uAD6C\uD604 \uC0C1\uC18D(subclassing)\uD574\uC11C \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uAC1C\uC870\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 loss \uD568\uC218, optimizer, scheduler \uB4F1\uC758 \uAE30\uB2A5\uB3C4 \uAC1C\uC870\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC5B4\uB5A4 \uBA54\uC11C\uB4DC\uB97C \uAD6C\uD604 \uC0C1\uC18D\uD560 \uC218 \uC788\uB294\uC9C0 \uC54C\uC544\uBCF4\uB824\uBA74 "),Yr=a("code"),rm=n("Trainer"),om=n("\uB97C \uCC38\uACE0\uD558\uC138\uC694."),Wn=f(),Se=a("p"),nm=n("\uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uAC1C\uC870\uD558\uB294 \uB2E4\uB978 \uBC29\uBC95\uC740 "),Il=a("a"),pm=n("Callbacks"),cm=n("\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. Callbacks\uB85C \uB2E4\uB978 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC640 \uD1B5\uD569\uD558\uACE0, \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uC218\uC2DC\uB85C \uCCB4\uD06C\uD558\uC5EC \uC9C4\uD589 \uC0C1\uD669\uC744 \uBCF4\uACE0\uBC1B\uAC70\uB098, \uD6C8\uB828\uC744 \uC870\uAE30\uC5D0 \uC911\uB2E8\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. Callbacks\uC740 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504 \uC790\uCCB4\uB97C \uC804\uD600 \uC218\uC815\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB9CC\uC57D loss \uD568\uC218 \uB4F1\uC744 \uAC1C\uC870\uD558\uACE0 \uC2F6\uB2E4\uBA74 "),Sr=a("code"),fm=n("Trainer"),im=n("\uB97C \uAD6C\uD604 \uC0C1\uC18D\uD574\uC57C\uB9CC \uD569\uB2C8\uB2E4."),An=f(),at=a("h2"),Vt=a("a"),Hr=a("span"),y(qs.$$.fragment),dm=f(),Pr=a("span"),mm=n("TensorFlow\uB85C \uD6C8\uB828\uC2DC\uD0A4\uAE30"),In=f(),ee=a("p"),hm=n("\uBAA8\uB4E0 \uBAA8\uB378\uC740 "),Qs=a("a"),Or=a("code"),um=n("tf.keras.Model"),$m=n("\uC774\uC5B4\uC11C "),xs=a("a"),_m=n("Keras"),ym=n(" API\uB97C \uD1B5\uD574 TensorFlow\uC5D0\uC11C \uD6C8\uB828\uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4. \u{1F917} Transformers\uC5D0\uC11C \uB370\uC774\uD130\uC14B\uB97C "),qr=a("code"),bm=n("tf.data.Dataset"),gm=n(" \uD615\uD0DC\uB85C \uC27D\uAC8C \uC801\uC7AC\uD560 \uC218 \uC788\uB294 "),Qr=a("code"),Mm=n("prepare_tf_dataset()"),vm=n(" \uBA54\uC11C\uB4DC\uB97C \uC81C\uACF5\uD558\uAE30 \uB54C\uBB38\uC5D0, Keras\uC758 "),Ls=a("a"),xr=a("code"),Em=n("compile"),Tm=n(" \uBC0F "),Ks=a("a"),Lr=a("code"),wm=n("fit"),jm=n(" \uBA54\uC11C\uB4DC\uB85C \uC989\uC2DC \uD6C8\uB828\uC744 \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Vn=f(),de=a("ol"),el=a("li"),Ft=a("p"),Kr=a("code"),km=n("TFPreTrainedModel"),Jm=n(" \uB610\uB294 "),tl=a("a"),eo=a("code"),Um=n("tf.keras.Model"),Zm=n("\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4."),Cm=f(),y(sl.$$.fragment),Rm=f(),ll=a("li"),to=a("p"),Gm=n("\uD1A0\uD06C\uB098\uC774\uC800, \uD2B9\uC9D5\uCD94\uCD9C\uAE30(feature extractor), \uC804\uCC98\uB9AC\uAE30(processor) \uD074\uB798\uC2A4 \uB4F1\uC73C\uB85C \uC804\uCC98\uB9AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4."),Wm=f(),y(al.$$.fragment),Am=f(),rl=a("li"),so=a("p"),Im=n("\uB370\uC774\uD130\uC14B\uC744 \uD1A0\uD070\uD654\uD558\uB294 \uD568\uC218\uB97C \uB9CC\uB4ED\uB2C8\uB2E4."),Vm=f(),y(ol.$$.fragment),Fm=f(),nl=a("li"),Nt=a("p"),lo=a("code"),Nm=n("map"),Xm=n("\uC73C\uB85C \uC804\uCCB4 \uB370\uC774\uD130\uC14B\uC5D0 \uC704 \uD568\uC218\uB97C \uC801\uC6A9\uC2DC\uD0A8 \uB2E4\uC74C, \uB370\uC774\uD130\uC14B\uACFC \uD1A0\uD06C\uB098\uC774\uC800\uB97C "),ao=a("code"),zm=n("prepare_tf_dataset()"),Dm=n("\uB85C \uC804\uB2EC\uD569\uB2C8\uB2E4. \uBC30\uCE58 \uD06C\uAE30\uB97C \uBCC0\uACBD\uD574\uBCF4\uAC70\uB098 \uB370\uC774\uD130\uC14B\uB97C \uC11E\uC5B4\uBD10\uB3C4 \uC88B\uC2B5\uB2C8\uB2E4."),Bm=f(),y(pl.$$.fragment),Ym=f(),cl=a("li"),rt=a("p"),Sm=n("\uC900\uBE44\uB418\uC5C8\uC73C\uBA74 "),ro=a("code"),Hm=n("compile"),Pm=n("\uACFC "),oo=a("code"),Om=n("fit"),qm=n("\uC73C\uB85C \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694."),Qm=f(),y(fl.$$.fragment),Fn=f(),ot=a("h2"),Xt=a("a"),no=a("span"),y(il.$$.fragment),xm=f(),po=a("span"),Lm=n("\uC774\uC81C \uBB34\uC5BC \uD558\uBA74 \uB420\uAE4C\uC694?"),Nn=f(),Vl=a("p"),Km=n("\u{1F917} Transformers \uB458\uB7EC\uBCF4\uAE30\uB97C \uBAA8\uB450 \uC77D\uC73C\uC168\uB2E4\uBA74, \uAC00\uC774\uB4DC\uB97C \uD1B5\uD574 \uD2B9\uC815 \uAE30\uC220\uC744 \uBC30\uC6B8 \uC218 \uC788\uC5B4\uC694. \uC608\uB97C \uB4E4\uC5B4 \uCEE4\uC2A4\uD140 \uBAA8\uB378\uC744 \uC791\uC131\uD558\uB294 \uBC29\uBC95, \uD0DC\uC2A4\uD06C\uC6A9 \uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD558\uB294 \uBC29\uBC95, \uC2A4\uD06C\uB9BD\uD2B8\uB85C \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0A4\uB294 \uBC29\uBC95 \uB4F1\uC774 \uC788\uC2B5\uB2C8\uB2E4. \u{1F917} Transformers\uC758 \uD575\uC2EC \uAC1C\uB150\uC5D0 \uB300\uD574 \uC790\uC138\uD788 \uC54C\uC544\uBCF4\uB824\uBA74 \uCEE4\uD53C \uD55C \uC794\uC744 \uB9C8\uC2E0 \uB4A4 \uAC1C\uB150 \uAC00\uC774\uB4DC\uB97C \uC0B4\uD3B4\uBCF4\uC154\uB3C4 \uC88B\uC2B5\uB2C8\uB2E4!"),this.h()},l(t){const d=M2('[data-svelte="svelte-1phssyn"]',document.head);l=r(d,"META",{name:!0,content:!0}),d.forEach(s),m=i(t),c=r(t,"H1",{class:!0});var dl=o(c);u=r(dl,"A",{id:!0,class:!0,href:!0});var co=o(u);$=r(co,"SPAN",{});var fo=o($);b(k.$$.fragment,fo),fo.forEach(s),co.forEach(s),J=i(dl),_=r(dl,"SPAN",{});var io=o(_);w=p(io,"\uB458\uB7EC\uBCF4\uAE30"),io.forEach(s),dl.forEach(s),A=i(t),b(V.$$.fragment,t),I=p(t,"\n\u{1F917} Transformer\uB97C \uC2DC\uC791\uD574\uBD10\uC694! \uB458\uB7EC\uBCF4\uAE30\uB294 \uAC1C\uBC1C\uC790\uC640 \uC77C\uBC18 \uC0AC\uC6A9\uC790 \uBAA8\uB450\uB97C \uC704\uD574 \uC4F0\uC5EC\uC84C\uC2B5\uB2C8\uB2E4. `pipeline()`\uC73C\uB85C \uCD94\uB860\uD558\uB294 \uBC29\uBC95, [AutoClass](./model_doc/auto)\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uACFC \uC804\uCC98\uB9AC\uAE30\uB97C \uC801\uC7AC\uD558\uB294 \uBC29\uBC95\uACFC PyTorch \uB610\uB294 TensorFlow\uB85C \uC2E0\uC18D\uD558\uAC8C \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0A4\uB294 \uBC29\uBC95\uC744 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4. \uAE30\uBCF8\uC744 \uBC30\uC6B0\uACE0 \uC2F6\uB2E4\uBA74 \uD29C\uD1A0\uB9AC\uC5BC\uC774\uB098 [course](https://huggingface.co/course/chapter1/1)\uC5D0\uC11C \uC5EC\uAE30 \uC18C\uAC1C\uB41C \uAC1C\uB150\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uC124\uBA85\uC744 \uD655\uC778\uD558\uC2DC\uAE38 \uAD8C\uC7A5\uD569\uB2C8\uB2E4.\n"),z=r(t,"P",{});var mo=o(z);G=p(mo,"\uC2DC\uC791\uD558\uAE30 \uC804\uC5D0 \uD544\uC694\uD55C \uB77C\uC774\uBE0C\uB7EC\uB9AC\uAC00 \uBAA8\uB450 \uC124\uCE58\uB418\uC5B4 \uC788\uB294\uC9C0 \uD655\uC778\uD558\uACE0,"),mo.forEach(s),R=i(t),b(X.$$.fragment,t),j=i(t),W=r(t,"P",{});var ho=o(W);L=p(ho,"\uC88B\uC544\uD558\uB294 \uBA38\uC2E0\uB7EC\uB2DD \uD504\uB808\uC784\uC6CC\uD06C\uB3C4 \uC124\uCE58\uD574\uC57C \uD569\uB2C8\uB2E4."),ho.forEach(s),B=i(t),b(H.$$.fragment,t),oe=i(t),P=r(t,"H2",{class:!0});var ml=o(P);te=r(ml,"A",{id:!0,class:!0,href:!0});var uo=o(te);O=r(uo,"SPAN",{});var $o=o(O);b(K.$$.fragment,$o),$o.forEach(s),uo.forEach(s),pe=i(ml),Q=r(ml,"SPAN",{});var _o=o(Q);Me=p(_o,"Pipeline (\uD30C\uC774\uD504\uB77C\uC778)"),_o.forEach(s),ml.forEach(s),ae=i(t),b(ne.$$.fragment,t),_e=i(t),x=r(t,"P",{});var yo=o(x);se=r(yo,"CODE",{});var oh=o(se);ye=p(oh,"pipeline()"),oh.forEach(s),U=p(yo,"\uC740 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD574 \uCD94\uB860\uD560 \uB54C \uC81C\uC77C \uC26C\uC6B4 \uBC29\uBC95\uC785\uB2C8\uB2E4. \uC5EC\uB7EC \uBAA8\uB2EC\uB9AC\uD2F0\uC758 \uC218\uB9CE\uC740 \uD0DC\uC2A4\uD06C\uC5D0 "),N=r(yo,"CODE",{});var nh=o(N);ce=p(nh,"pipeline()"),nh.forEach(s),C=p(yo,"\uC744 \uC989\uC2DC \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC758 \uC608\uC2DC\uB294 \uC544\uB798 \uD45C\uB97C \uCC38\uACE0\uD558\uC138\uC694."),yo.forEach(s),D=i(t),le=r(t,"TABLE",{});var zn=o(le);ve=r(zn,"THEAD",{});var ph=o(ve);q=r(ph,"TR",{});var zt=o(q);Ee=r(zt,"TH",{});var ch=o(Ee);ue=r(ch,"STRONG",{});var fh=o(ue);$l=p(fh,"\uD0DC\uC2A4\uD06C"),fh.forEach(s),ch.forEach(s),Ne=i(zt),pt=r(zt,"TH",{});var ih=o(pt);ct=r(ih,"STRONG",{});var dh=o(ct);gp=p(dh,"\uC124\uBA85"),dh.forEach(s),ih.forEach(s),Mp=i(zt),Sl=r(zt,"TH",{});var mh=o(Sl);Hl=r(mh,"STRONG",{});var hh=o(Hl);vp=p(hh,"\uBAA8\uB2EC\uB9AC\uD2F0"),hh.forEach(s),mh.forEach(s),Ep=i(zt),Pl=r(zt,"TH",{});var uh=o(Pl);Ol=r(uh,"STRONG",{});var $h=o(Ol);Tp=p($h,"\uD30C\uC774\uD504\uB77C\uC778 ID"),$h.forEach(s),uh.forEach(s),zt.forEach(s),ph.forEach(s),wp=i(zn),Y=r(zn,"TBODY",{});var S=o(Y);Te=r(S,"TR",{});var Dt=o(Te);ql=r(Dt,"TD",{});var _h=o(ql);jp=p(_h,"\uD14D\uC2A4\uD2B8 \uBD84\uB958"),_h.forEach(s),kp=i(Dt),Ql=r(Dt,"TD",{});var yh=o(Ql);Jp=p(yh,"\uD14D\uC2A4\uD2B8\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),yh.forEach(s),Up=i(Dt),xl=r(Dt,"TD",{});var bh=o(xl);Zp=p(bh,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),bh.forEach(s),Cp=i(Dt),Ll=r(Dt,"TD",{});var gh=o(Ll);Rp=p(gh,"pipeline(task=\u201Csentiment-analysis\u201D)"),gh.forEach(s),Dt.forEach(s),Gp=i(S),we=r(S,"TR",{});var Bt=o(we);Kl=r(Bt,"TD",{});var Mh=o(Kl);Wp=p(Mh,"\uD14D\uC2A4\uD2B8 \uC0DD\uC131"),Mh.forEach(s),Ap=i(Bt),ea=r(Bt,"TD",{});var vh=o(ea);Ip=p(vh,"\uC8FC\uC5B4\uC9C4 \uBB38\uC790\uC5F4 \uC785\uB825\uACFC \uC774\uC5B4\uC9C0\uB294 \uD14D\uC2A4\uD2B8 \uC0DD\uC131\uD558\uAE30"),vh.forEach(s),Vp=i(Bt),ta=r(Bt,"TD",{});var Eh=o(ta);Fp=p(Eh,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Eh.forEach(s),Np=i(Bt),sa=r(Bt,"TD",{});var Th=o(sa);Xp=p(Th,"pipeline(task=\u201Ctext-generation\u201D)"),Th.forEach(s),Bt.forEach(s),zp=i(S),je=r(S,"TR",{});var Yt=o(je);la=r(Yt,"TD",{});var wh=o(la);Dp=p(wh,"\uAC1C\uCCB4\uBA85 \uC778\uC2DD"),wh.forEach(s),Bp=i(Yt),aa=r(Yt,"TD",{});var jh=o(aa);Yp=p(jh,"\uBB38\uC790\uC5F4\uC758 \uAC01 \uD1A0\uD070\uB9C8\uB2E4 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30 (\uC778\uBB3C, \uC870\uC9C1, \uC7A5\uC18C \uB4F1\uB4F1)"),jh.forEach(s),Sp=i(Yt),ra=r(Yt,"TD",{});var kh=o(ra);Hp=p(kh,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),kh.forEach(s),Pp=i(Yt),oa=r(Yt,"TD",{});var Jh=o(oa);Op=p(Jh,"pipeline(task=\u201Cner\u201D)"),Jh.forEach(s),Yt.forEach(s),qp=i(S),ke=r(S,"TR",{});var St=o(ke);na=r(St,"TD",{});var Uh=o(na);Qp=p(Uh,"\uC9C8\uC758\uC751\uB2F5"),Uh.forEach(s),xp=i(St),pa=r(St,"TD",{});var Zh=o(pa);Lp=p(Zh,"\uC8FC\uC5B4\uC9C4 \uBB38\uB9E5\uACFC \uC9C8\uBB38\uC5D0 \uB530\uB77C \uC62C\uBC14\uB978 \uB300\uB2F5\uD558\uAE30"),Zh.forEach(s),Kp=i(St),ca=r(St,"TD",{});var Ch=o(ca);ec=p(Ch,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Ch.forEach(s),tc=i(St),fa=r(St,"TD",{});var Rh=o(fa);sc=p(Rh,"pipeline(task=\u201Cquestion-answering\u201D)"),Rh.forEach(s),St.forEach(s),lc=i(S),Je=r(S,"TR",{});var Ht=o(Je);ia=r(Ht,"TD",{});var Gh=o(ia);ac=p(Gh,"\uBE48\uCE78 \uCC44\uC6B0\uAE30"),Gh.forEach(s),rc=i(Ht),da=r(Ht,"TD",{});var Wh=o(da);oc=p(Wh,"\uBB38\uC790\uC5F4\uC758 \uBE48\uCE78\uC5D0 \uC54C\uB9DE\uC740 \uD1A0\uD070 \uB9DE\uCD94\uAE30"),Wh.forEach(s),nc=i(Ht),ma=r(Ht,"TD",{});var Ah=o(ma);pc=p(Ah,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Ah.forEach(s),cc=i(Ht),ha=r(Ht,"TD",{});var Ih=o(ha);fc=p(Ih,"pipeline(task=\u201Cfill-mask\u201D)"),Ih.forEach(s),Ht.forEach(s),ic=i(S),Ue=r(S,"TR",{});var Pt=o(Ue);ua=r(Pt,"TD",{});var Vh=o(ua);dc=p(Vh,"\uC694\uC57D"),Vh.forEach(s),mc=i(Pt),$a=r(Pt,"TD",{});var Fh=o($a);hc=p(Fh,"\uD14D\uC2A4\uD2B8\uB098 \uBB38\uC11C\uB97C \uC694\uC57D\uD558\uAE30"),Fh.forEach(s),uc=i(Pt),_a=r(Pt,"TD",{});var Nh=o(_a);$c=p(Nh,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Nh.forEach(s),_c=i(Pt),ya=r(Pt,"TD",{});var Xh=o(ya);yc=p(Xh,"pipeline(task=\u201Csummarization\u201D)"),Xh.forEach(s),Pt.forEach(s),bc=i(S),Ze=r(S,"TR",{});var Ot=o(Ze);ba=r(Ot,"TD",{});var zh=o(ba);gc=p(zh,"\uBC88\uC5ED"),zh.forEach(s),Mc=i(Ot),ga=r(Ot,"TD",{});var Dh=o(ga);vc=p(Dh,"\uD14D\uC2A4\uD2B8\uB97C \uD55C \uC5B8\uC5B4\uC5D0\uC11C \uB2E4\uB978 \uC5B8\uC5B4\uB85C \uBC88\uC5ED\uD558\uAE30"),Dh.forEach(s),Ec=i(Ot),Ma=r(Ot,"TD",{});var Bh=o(Ma);Tc=p(Bh,"\uC790\uC5F0\uC5B4 \uCC98\uB9AC(NLP)"),Bh.forEach(s),wc=i(Ot),va=r(Ot,"TD",{});var Yh=o(va);jc=p(Yh,"pipeline(task=\u201Ctranslation\u201D)"),Yh.forEach(s),Ot.forEach(s),kc=i(S),Ce=r(S,"TR",{});var qt=o(Ce);Ea=r(qt,"TD",{});var Sh=o(Ea);Jc=p(Sh,"\uC774\uBBF8\uC9C0 \uBD84\uB958"),Sh.forEach(s),Uc=i(qt),Ta=r(qt,"TD",{});var Hh=o(Ta);Zc=p(Hh,"\uC774\uBBF8\uC9C0\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),Hh.forEach(s),Cc=i(qt),wa=r(qt,"TD",{});var Ph=o(wa);Rc=p(Ph,"\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),Ph.forEach(s),Gc=i(qt),ja=r(qt,"TD",{});var Oh=o(ja);Wc=p(Oh,"pipeline(task=\u201Cimage-classification\u201D)"),Oh.forEach(s),qt.forEach(s),Ac=i(S),Re=r(S,"TR",{});var Qt=o(Re);ka=r(Qt,"TD",{});var qh=o(ka);Ic=p(qh,"\uC774\uBBF8\uC9C0 \uBD84\uD560"),qh.forEach(s),Vc=i(Qt),Ja=r(Qt,"TD",{});var Qh=o(Ja);Fc=p(Qh,"\uC774\uBBF8\uC9C0\uC758 \uD53D\uC140\uB9C8\uB2E4 \uB77C\uBCA8 \uBD99\uC774\uAE30(\uC2DC\uB9E8\uD2F1, \uD30C\uB189\uD2F1 \uBC0F \uC778\uC2A4\uD134\uC2A4 \uBD84\uD560 \uD3EC\uD568)"),Qh.forEach(s),Nc=i(Qt),Ua=r(Qt,"TD",{});var xh=o(Ua);Xc=p(xh,"\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),xh.forEach(s),zc=i(Qt),Za=r(Qt,"TD",{});var Lh=o(Za);Dc=p(Lh,"pipeline(task=\u201Cimage-segmentation\u201D)"),Lh.forEach(s),Qt.forEach(s),Bc=i(S),Ge=r(S,"TR",{});var xt=o(Ge);Ca=r(xt,"TD",{});var Kh=o(Ca);Yc=p(Kh,"\uAC1D\uCCB4 \uD0D0\uC9C0"),Kh.forEach(s),Sc=i(xt),Ra=r(xt,"TD",{});var eu=o(Ra);Hc=p(eu,"\uC774\uBBF8\uC9C0 \uC18D \uAC1D\uCCB4\uC758 \uACBD\uACC4 \uC0C1\uC790\uB97C \uADF8\uB9AC\uACE0 \uD074\uB798\uC2A4\uB97C \uC608\uCE21\uD558\uAE30"),eu.forEach(s),Pc=i(xt),Ga=r(xt,"TD",{});var tu=o(Ga);Oc=p(tu,"\uCEF4\uD4E8\uD130 \uBE44\uC804(CV)"),tu.forEach(s),qc=i(xt),Wa=r(xt,"TD",{});var su=o(Wa);Qc=p(su,"pipeline(task=\u201Cobject-detection\u201D)"),su.forEach(s),xt.forEach(s),xc=i(S),We=r(S,"TR",{});var Lt=o(We);Aa=r(Lt,"TD",{});var lu=o(Aa);Lc=p(lu,"\uC624\uB514\uC624 \uBD84\uB958"),lu.forEach(s),Kc=i(Lt),Ia=r(Lt,"TD",{});var au=o(Ia);ef=p(au,"\uC624\uB514\uC624 \uD30C\uC77C\uC5D0 \uC54C\uB9DE\uC740 \uB77C\uBCA8 \uBD99\uC774\uAE30"),au.forEach(s),tf=i(Lt),Va=r(Lt,"TD",{});var ru=o(Va);sf=p(ru,"\uC624\uB514\uC624"),ru.forEach(s),lf=i(Lt),Fa=r(Lt,"TD",{});var ou=o(Fa);af=p(ou,"pipeline(task=\u201Caudio-classification\u201D)"),ou.forEach(s),Lt.forEach(s),rf=i(S),Ae=r(S,"TR",{});var Kt=o(Ae);Na=r(Kt,"TD",{});var nu=o(Na);of=p(nu,"\uC790\uB3D9 \uC74C\uC131 \uC778\uC2DD"),nu.forEach(s),nf=i(Kt),Xa=r(Kt,"TD",{});var pu=o(Xa);pf=p(pu,"\uC624\uB514\uC624 \uD30C\uC77C \uC18D \uC74C\uC131\uC744 \uD14D\uC2A4\uD2B8\uB85C \uBC14\uAFB8\uAE30"),pu.forEach(s),cf=i(Kt),za=r(Kt,"TD",{});var cu=o(za);ff=p(cu,"\uC624\uB514\uC624"),cu.forEach(s),df=i(Kt),Da=r(Kt,"TD",{});var fu=o(Da);mf=p(fu,"pipeline(task=\u201Cautomatic-speech-recognition\u201D)"),fu.forEach(s),Kt.forEach(s),hf=i(S),Ie=r(S,"TR",{});var es=o(Ie);Ba=r(es,"TD",{});var iu=o(Ba);uf=p(iu,"\uC2DC\uAC01 \uC9C8\uC758\uC751\uB2F5"),iu.forEach(s),$f=i(es),Ya=r(es,"TD",{});var du=o(Ya);_f=p(du,"\uC8FC\uC5B4\uC9C4 \uC774\uBBF8\uC9C0\uC640 \uC774\uBBF8\uC9C0\uC5D0 \uB300\uD55C \uC9C8\uBB38\uC5D0 \uB530\uB77C \uC62C\uBC14\uB974\uAC8C \uB300\uB2F5\uD558\uAE30"),du.forEach(s),yf=i(es),Sa=r(es,"TD",{});var mu=o(Sa);bf=p(mu,"\uBA40\uD2F0\uBAA8\uB2EC"),mu.forEach(s),gf=i(es),Ha=r(es,"TD",{});var hu=o(Ha);Mf=p(hu,"pipeline(task=\u201Cvqa\u201D)"),hu.forEach(s),es.forEach(s),S.forEach(s),zn.forEach(s),wo=i(t),fe=r(t,"P",{});var He=o(fe);vf=p(He,"\uBA3C\uC800 "),Pa=r(He,"CODE",{});var uu=o(Pa);Ef=p(uu,"pipeline()"),uu.forEach(s),Tf=p(He,"\uC758 \uC778\uC2A4\uD134\uC2A4\uB97C \uB9CC\uB4E4\uC5B4 \uC801\uC6A9\uD560 \uD0DC\uC2A4\uD06C\uB97C \uACE0\uB974\uC138\uC694. \uC704 \uD0DC\uC2A4\uD06C\uB4E4\uC740 \uBAA8\uB450 "),Oa=r(He,"CODE",{});var $u=o(Oa);wf=p($u,"pipeline()"),$u.forEach(s),jf=p(He,"\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uACE0, \uC9C0\uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC758 \uC804\uCCB4 \uBAA9\uB85D\uC744 \uBCF4\uB824\uBA74 "),_l=r(He,"A",{href:!0});var _u=o(_l);kf=p(_u,"pipeline API \uB808\uD37C\uB7F0\uC2A4"),_u.forEach(s),Jf=p(He,"\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694. \uAC04\uB2E8\uD55C \uC608\uC2DC\uB85C \uAC10\uC815 \uBD84\uC11D \uD0DC\uC2A4\uD06C\uC5D0 "),qa=r(He,"CODE",{});var yu=o(qa);Uf=p(yu,"pipeline()"),yu.forEach(s),Zf=p(He,"\uB97C \uC801\uC6A9\uD574 \uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),He.forEach(s),jo=i(t),b(ts.$$.fragment,t),ko=i(t),Ve=r(t,"P",{});var hl=o(Ve);Qa=r(hl,"CODE",{});var bu=o(Qa);Cf=p(bu,"pipeline()"),bu.forEach(s),Rf=p(hl,"\uC740 \uAE30\uBCF8 "),ss=r(hl,"A",{href:!0,rel:!0});var gu=o(ss);Gf=p(gu,"\uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378(\uC601\uC5B4)"),gu.forEach(s),Wf=p(hl,"\uC640 \uAC10\uC815 \uBD84\uC11D\uC744 \uD558\uAE30 \uC704\uD55C tokenizer\uB97C \uB2E4\uC6B4\uB85C\uB4DC\uD558\uACE0 \uCE90\uC2DC\uD574\uB193\uC2B5\uB2C8\uB2E4. \uC774\uC81C \uC6D0\uD558\uB294 \uD14D\uC2A4\uD2B8\uC5D0 "),xa=r(hl,"CODE",{});var Mu=o(xa);Af=p(Mu,"classifier"),Mu.forEach(s),If=p(hl,"\uB97C \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),hl.forEach(s),Jo=i(t),b(ls.$$.fragment,t),Uo=i(t),ft=r(t,"P",{});var Dn=o(ft);Vf=p(Dn,"\uC785\uB825\uC774 \uC5EC\uB7EC \uAC1C\uB77C\uBA74, \uC785\uB825\uC744 "),La=r(Dn,"CODE",{});var vu=o(La);Ff=p(vu,"pipeline()"),vu.forEach(s),Nf=p(Dn,"\uC5D0 \uB9AC\uC2A4\uD2B8\uB85C \uC804\uB2EC\uD574\uC11C \uB515\uC154\uB108\uB9AC\uB85C \uB41C \uB9AC\uC2A4\uD2B8\uB97C \uBC1B\uC744 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),Dn.forEach(s),Zo=i(t),b(as.$$.fragment,t),Co=i(t),rs=r(t,"P",{});var eh=o(rs);Ka=r(eh,"CODE",{});var Eu=o(Ka);Xf=p(Eu,"pipeline()"),Eu.forEach(s),zf=p(eh,"\uC740 \uD2B9\uC815 \uD0DC\uC2A4\uD06C\uC6A9 \uB370\uC774\uD130\uC14B\uB97C \uC804\uBD80 \uC21C\uD68C\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uB3D9 \uC74C\uC131 \uC778\uC2DD \uD0DC\uC2A4\uD06C\uC5D0 \uC801\uC6A9\uD574 \uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),eh.forEach(s),Ro=i(t),b(os.$$.fragment,t),Go=i(t),Xe=r(t,"P",{});var Fl=o(Xe);Df=p(Fl,"\uC774\uC81C \uC21C\uD68C\uD560 \uC624\uB514\uC624 \uB370\uC774\uD130\uC14B\uB97C \uC801\uC7AC\uD558\uACA0\uC2B5\uB2C8\uB2E4. (\uC790\uC138\uD55C \uB0B4\uC6A9\uC740 \u{1F917} Datasets "),ns=r(Fl,"A",{href:!0,rel:!0});var Tu=o(ns);Bf=p(Tu,"\uC2DC\uC791\uD558\uAE30"),Tu.forEach(s),Yf=p(Fl,"\uB97C \uCC38\uACE0\uD574\uC8FC\uC138\uC694) "),ps=r(Fl,"A",{href:!0,rel:!0});var wu=o(ps);Sf=p(wu,"MInDS-14"),wu.forEach(s),Hf=p(Fl," \uB370\uC774\uD130\uC14B\uB85C \uD574\uBCFC\uAE4C\uC694?"),Fl.forEach(s),Wo=i(t),b(cs.$$.fragment,t),Ao=i(t),it=r(t,"P",{});var Bn=o(it);Pf=p(Bn,"\uB370\uC774\uD130\uC14B\uC758 \uC0D8\uD50C\uB9C1 \uB808\uC774\uD2B8\uAC00 "),fs=r(Bn,"A",{href:!0,rel:!0});var ju=o(fs);er=r(ju,"CODE",{});var ku=o(er);Of=p(ku,"facebook/wav2vec2-base-960h"),ku.forEach(s),ju.forEach(s),qf=p(Bn,"\uC758 \uD6C8\uB828 \uB2F9\uC2DC \uC0D8\uD50C\uB9C1 \uB808\uC774\uD2B8\uC640 \uC77C\uCE58\uD574\uC57C\uB9CC \uD569\uB2C8\uB2E4."),Bn.forEach(s),Io=i(t),b(is.$$.fragment,t),Vo=i(t),dt=r(t,"P",{});var Yn=o(dt);Qf=p(Yn,"\uC624\uB514\uC624 \uD30C\uC77C\uC740 "),tr=r(Yn,"CODE",{});var Ju=o(tr);xf=p(Ju,'"audio"'),Ju.forEach(s),Lf=p(Yn,` \uC5F4\uC744 \uD638\uCD9C\uD560 \uB54C \uC790\uB3D9\uC73C\uB85C \uC801\uC7AC\uB418\uACE0 \uB2E4\uC2DC \uC0D8\uD50C\uB9C1\uB429\uB2C8\uB2E4.
\uCC98\uC74C 4\uAC1C \uC0D8\uD50C\uC5D0\uC11C \uC74C\uC131\uC744 \uCD94\uCD9C\uD558\uC5EC \uD30C\uC774\uD504\uB77C\uC778\uC5D0 \uB9AC\uC2A4\uD2B8 \uD615\uD0DC\uB85C \uC804\uB2EC\uD574\uBCF4\uACA0\uC2B5\uB2C8\uB2E4.`),Yn.forEach(s),Fo=i(t),b(ds.$$.fragment,t),No=i(t),mt=r(t,"P",{});var Sn=o(mt);Kf=p(Sn,"(\uC74C\uC131\uC774\uB098 \uBE44\uC804\uCC98\uB7FC) \uC785\uB825\uC774 \uD070 \uB300\uADDC\uBAA8 \uB370\uC774\uD130\uC14B\uC758 \uACBD\uC6B0, \uBA54\uBAA8\uB9AC\uC5D0 \uC801\uC7AC\uC2DC\uD0A4\uAE30 \uC704\uD574 \uB9AC\uC2A4\uD2B8 \uB300\uC2E0 \uC81C\uB108\uB808\uC774\uD130\uB85C \uC785\uB825\uC744 \uBAA8\uB450 \uC804\uB2EC\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),yl=r(Sn,"A",{href:!0});var Uu=o(yl);ei=p(Uu,"pipeline API \uB808\uD37C\uB7F0\uC2A4"),Uu.forEach(s),ti=p(Sn,"\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694."),Sn.forEach(s),Xo=i(t),qe=r(t,"H3",{class:!0});var Hn=o(qe);ht=r(Hn,"A",{id:!0,class:!0,href:!0});var Zu=o(ht);sr=r(Zu,"SPAN",{});var Cu=o(sr);b(ms.$$.fragment,Cu),Cu.forEach(s),Zu.forEach(s),si=i(Hn),lr=r(Hn,"SPAN",{});var Ru=o(lr);li=p(Ru,"\uD30C\uC774\uD504\uB77C\uC778\uC5D0\uC11C \uB2E4\uB978 \uBAA8\uB378\uC774\uB098 tokenizer \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"),Ru.forEach(s),Hn.forEach(s),zo=i(t),$e=r(t,"P",{});var nt=o($e);ar=r(nt,"CODE",{});var Gu=o(ar);ai=p(Gu,"pipeline()"),Gu.forEach(s),ri=p(nt,"\uC740 "),hs=r(nt,"A",{href:!0,rel:!0});var Wu=o(hs);oi=p(Wu,"Hub"),Wu.forEach(s),ni=p(nt," \uC18D \uBAA8\uB4E0 \uBAA8\uB378\uC744 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC5B4, \uC5BC\uB9C8\uB4E0\uC9C0 "),rr=r(nt,"CODE",{});var Au=o(rr);pi=p(Au,"pipeline()"),Au.forEach(s),ci=p(nt,"\uC744 \uC0AC\uC6A9\uD558\uACE0 \uC2F6\uC740\uB300\uB85C \uBC14\uAFC0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC608\uB97C \uB4E4\uC5B4 \uD504\uB791\uC2A4\uC5B4 \uD14D\uC2A4\uD2B8\uB97C \uB2E4\uB8F0 \uC218 \uC788\uB294 \uBAA8\uB378\uC744 \uB9CC\uB4DC\uB824\uBA74, Hub\uC758 \uD0DC\uADF8\uB85C \uC801\uC808\uD55C \uBAA8\uB378\uC744 \uCC3E\uC544\uBCF4\uC138\uC694. \uC0C1\uC704 \uAC80\uC0C9 \uACB0\uACFC\uB85C \uB72C \uAC10\uC815 \uBD84\uC11D\uC744 \uC704\uD574 \uD30C\uC778\uD29C\uB2DD\uB41C \uB2E4\uAD6D\uC5B4 "),us=r(nt,"A",{href:!0,rel:!0});var Iu=o(us);fi=p(Iu,"BERT \uBAA8\uB378"),Iu.forEach(s),ii=p(nt,"\uC774 \uD504\uB791\uC2A4\uC5B4\uB97C \uC9C0\uC6D0\uD558\uB294\uAD70\uC694."),nt.forEach(s),Do=i(t),b($s.$$.fragment,t),Bo=i(t),b(ut.$$.fragment,t),Yo=i(t),Qe=r(t,"P",{});var bo=o(Qe);or=r(bo,"CODE",{});var Vu=o(or);di=p(Vu,"pipeline()"),Vu.forEach(s),mi=p(bo,"\uC5D0\uC11C \uC0AC\uC6A9\uD560 \uBAA8\uB378\uACFC \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uC785\uB825\uD558\uBA74 \uC774\uC81C (\uAC10\uC815 \uBD84\uC11D\uAE30\uC778) "),nr=r(bo,"CODE",{});var Fu=o(nr);hi=p(Fu,"classifier"),Fu.forEach(s),ui=p(bo,"\uB97C \uD504\uB791\uC2A4\uC5B4 \uD14D\uC2A4\uD2B8\uC5D0 \uC801\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),bo.forEach(s),So=i(t),b(_s.$$.fragment,t),Ho=i(t),ze=r(t,"P",{});var Nl=o(ze);$i=p(Nl,"\uD558\uACE0\uC2F6\uC740 \uAC83\uC5D0 \uC801\uC6A9\uD560 \uB9C8\uB545\uD55C \uBAA8\uB378\uC774 \uC5C6\uB2E4\uBA74, \uAC00\uC9C4 \uB370\uC774\uD130\uB85C \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD574\uC57C \uD569\uB2C8\uB2E4. \uC790\uC138\uD55C \uBC29\uBC95\uC740 "),bl=r(Nl,"A",{href:!0});var Nu=o(bl);_i=p(Nu,"\uD30C\uC778\uD29C\uB2DD \uD29C\uD1A0\uB9AC\uC5BC"),Nu.forEach(s),yi=p(Nl,"\uC744 \uCC38\uACE0\uD574\uC8FC\uC138\uC694. \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC758 \uD30C\uC778\uD29C\uB2DD\uC744 \uB9C8\uCE58\uC168\uC73C\uBA74, \uB204\uAD6C\uB098 \uBA38\uC2E0\uB7EC\uB2DD\uC744 \uD560 \uC218 \uC788\uB3C4\uB85D "),gl=r(Nl,"A",{href:!0});var Xu=o(gl);bi=p(Xu,"\uACF5\uC720"),Xu.forEach(s),gi=p(Nl,"\uD558\uB294 \uAC83\uC744 \uACE0\uB824\uD574\uC8FC\uC138\uC694. \u{1F917}"),Nl.forEach(s),Po=i(t),xe=r(t,"H2",{class:!0});var Pn=o(xe);$t=r(Pn,"A",{id:!0,class:!0,href:!0});var zu=o($t);pr=r(zu,"SPAN",{});var Du=o(pr);b(ys.$$.fragment,Du),Du.forEach(s),zu.forEach(s),Mi=i(Pn),cr=r(Pn,"SPAN",{});var Bu=o(cr);vi=p(Bu,"AutoClass"),Bu.forEach(s),Pn.forEach(s),Oo=i(t),b(bs.$$.fragment,t),qo=i(t),re=r(t,"P",{});var be=o(re);Ei=p(be,"\uB0B4\uBD80\uC801\uC73C\uB85C \uB4E4\uC5B4\uAC00\uBA74 \uC704\uC5D0\uC11C \uC0AC\uC6A9\uD588\uB358 "),fr=r(be,"CODE",{});var Yu=o(fr);Ti=p(Yu,"pipeline()"),Yu.forEach(s),wi=p(be,"\uC740 "),ir=r(be,"CODE",{});var Su=o(ir);ji=p(Su,"AutoModelForSequenceClassification"),Su.forEach(s),ki=p(be,"\uACFC "),dr=r(be,"CODE",{});var Hu=o(dr);Ji=p(Hu,"AutoTokenizer"),Hu.forEach(s),Ui=p(be," \uD074\uB798\uC2A4\uB85C \uC791\uB3D9\uD569\uB2C8\uB2E4. "),Ml=r(be,"A",{href:!0});var Pu=o(Ml);Zi=p(Pu,"AutoClass"),Pu.forEach(s),Ci=p(be,"\uB780 \uC774\uB984\uC774\uB098 \uACBD\uB85C\uB97C \uBC1B\uC73C\uBA74 \uADF8\uC5D0 \uC54C\uB9DE\uB294 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uAC00\uC838\uC624\uB294 \u2018\uBC14\uB85C\uAC00\uAE30\u2019\uB77C\uACE0 \uBCFC \uC218 \uC788\uB294\uB370\uC694. \uC6D0\uD558\uB294 \uD0DC\uC2A4\uD06C\uC640 \uC804\uCC98\uB9AC\uC5D0 \uC801\uD569\uD55C "),mr=r(be,"CODE",{});var Ou=o(mr);Ri=p(Ou,"AutoClass"),Ou.forEach(s),Gi=p(be,"\uB97C \uACE0\uB974\uAE30\uB9CC \uD558\uBA74 \uB429\uB2C8\uB2E4."),be.forEach(s),Qo=i(t),De=r(t,"P",{});var Xl=o(De);Wi=p(Xl,"\uC804\uC5D0 \uC0AC\uC6A9\uD588\uB358 \uC608\uC2DC\uB85C \uB3CC\uC544\uAC00\uC11C "),hr=r(Xl,"CODE",{});var qu=o(hr);Ai=p(qu,"AutoClass"),qu.forEach(s),Ii=p(Xl,"\uB85C "),ur=r(Xl,"CODE",{});var Qu=o(ur);Vi=p(Qu,"pipeline()"),Qu.forEach(s),Fi=p(Xl,"\uACFC \uB3D9\uC77C\uD55C \uACB0\uACFC\uB97C \uC5BB\uC744 \uC218 \uC788\uB294 \uBC29\uBC95\uC744 \uC54C\uC544\uBCF4\uACA0\uC2B5\uB2C8\uB2E4."),Xl.forEach(s),xo=i(t),Le=r(t,"H3",{class:!0});var On=o(Le);_t=r(On,"A",{id:!0,class:!0,href:!0});var xu=o(_t);$r=r(xu,"SPAN",{});var Lu=o($r);b(gs.$$.fragment,Lu),Lu.forEach(s),xu.forEach(s),Ni=i(On),_r=r(On,"SPAN",{});var Ku=o(_r);Xi=p(Ku,"AutoTokenizer"),Ku.forEach(s),On.forEach(s),Lo=i(t),yt=r(t,"P",{});var qn=o(yt);zi=p(qn,"\uD1A0\uD06C\uB098\uC774\uC800\uB294 \uC804\uCC98\uB9AC\uB97C \uB2F4\uB2F9\uD558\uBA70, \uD14D\uC2A4\uD2B8\uB97C \uBAA8\uB378\uC774 \uBC1B\uC744 \uC22B\uC790 \uBC30\uC5F4\uB85C \uBC14\uAFC9\uB2C8\uB2E4. \uD1A0\uD070\uD654 \uACFC\uC815\uC5D0\uB294 \uB2E8\uC5B4\uB97C \uC5B4\uB514\uC5D0\uC11C \uB04A\uC744\uC9C0, \uC5BC\uB9CC\uD07C \uB098\uB20C\uC9C0 \uB4F1\uC744 \uD3EC\uD568\uD55C \uC5EC\uB7EC \uADDC\uCE59\uC774 \uC788\uC2B5\uB2C8\uB2E4. \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),vl=r(qn,"A",{href:!0});var e$=o(vl);Di=p(e$,"\uD1A0\uD06C\uB098\uC774\uC800 \uC694\uC57D"),e$.forEach(s),Bi=p(qn,"\uB97C \uD655\uC778\uD574\uC8FC\uC138\uC694. \uC81C\uC77C \uC911\uC694\uD55C \uC810\uC740 \uBAA8\uB378\uC774 \uD6C8\uB828\uB410\uC744 \uB54C\uC640 \uB3D9\uC77C\uD55C \uD1A0\uD070\uD654 \uADDC\uCE59\uC744 \uC4F0\uB3C4\uB85D \uB3D9\uC77C\uD55C \uBAA8\uB378 \uC774\uB984\uC73C\uB85C \uD1A0\uD06C\uB098\uC774\uC800 \uC778\uC2A4\uD134\uC2A4\uB97C \uB9CC\uB4E4\uC5B4\uC57C \uD569\uB2C8\uB2E4."),qn.forEach(s),Ko=i(t),Ms=r(t,"P",{});var th=o(Ms);yr=r(th,"CODE",{});var t$=o(yr);Yi=p(t$,"AutoTokenizer"),t$.forEach(s),Si=p(th,"\uB85C \uD1A0\uD06C\uB098\uC774\uC800\uB97C \uBD88\uB7EC\uC624\uACE0,"),th.forEach(s),en=i(t),b(vs.$$.fragment,t),tn=i(t),El=r(t,"P",{});var s$=o(El);Hi=p(s$,"\uD1A0\uD06C\uB098\uC774\uC800\uC5D0 \uD14D\uC2A4\uD2B8\uB97C \uC81C\uACF5\uD558\uC138\uC694."),s$.forEach(s),sn=i(t),b(Es.$$.fragment,t),ln=i(t),Tl=r(t,"P",{});var l$=o(Tl);Pi=p(l$,"\uADF8\uB7EC\uBA74 \uB2E4\uC74C\uC744 \uD3EC\uD568\uD55C \uB515\uC154\uB108\uB9AC\uAC00 \uBC18\uD658\uB429\uB2C8\uB2E4."),l$.forEach(s),an=i(t),bt=r(t,"UL",{});var Qn=o(bt);wl=r(Qn,"LI",{});var sh=o(wl);jl=r(sh,"A",{href:!0});var a$=o(jl);Oi=p(a$,"input_ids"),a$.forEach(s),qi=p(sh,": \uC22B\uC790\uB85C \uD45C\uD604\uB41C \uD1A0\uD070\uB4E4"),sh.forEach(s),Qi=i(Qn),kl=r(Qn,"LI",{});var lh=o(kl);Jl=r(lh,"A",{href:!0});var r$=o(Jl);xi=p(r$,"attention_mask"),r$.forEach(s),Li=p(lh,": \uC8FC\uC2DC\uD560 \uD1A0\uD070\uB4E4"),lh.forEach(s),Qn.forEach(s),rn=i(t),Ul=r(t,"P",{});var o$=o(Ul);Ki=p(o$,"\uD1A0\uD06C\uB098\uC774\uC800\uB294 \uC785\uB825\uC744 \uB9AC\uC2A4\uD2B8\uB85C\uB3C4 \uBC1B\uC744 \uC218 \uC788\uC73C\uBA70, \uD14D\uC2A4\uD2B8\uB97C \uD328\uB4DC\uD558\uAC70\uB098 \uC798\uB77C\uB0B4\uC5B4 \uADE0\uC77C\uD55C \uAE38\uC774\uC758 \uBC30\uCE58\uB97C \uBC18\uD658\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),o$.forEach(s),on=i(t),b(gt.$$.fragment,t),nn=i(t),b(Mt.$$.fragment,t),pn=i(t),Ke=r(t,"H3",{class:!0});var xn=o(Ke);vt=r(xn,"A",{id:!0,class:!0,href:!0});var n$=o(vt);br=r(n$,"SPAN",{});var p$=o(br);b(Ts.$$.fragment,p$),p$.forEach(s),n$.forEach(s),ed=i(xn),gr=r(xn,"SPAN",{});var c$=o(gr);td=p(c$,"AutoModel"),c$.forEach(s),xn.forEach(s),cn=i(t),b(Et.$$.fragment,t),fn=i(t),b(Tt.$$.fragment,t),dn=i(t),et=r(t,"H3",{class:!0});var Ln=o(et);wt=r(Ln,"A",{id:!0,class:!0,href:!0});var f$=o(wt);Mr=r(f$,"SPAN",{});var i$=o(Mr);b(ws.$$.fragment,i$),i$.forEach(s),f$.forEach(s),sd=i(Ln),vr=r(Ln,"SPAN",{});var d$=o(vr);ld=p(d$,"\uBAA8\uB378 \uC800\uC7A5\uD558\uAE30"),d$.forEach(s),Ln.forEach(s),mn=i(t),b(jt.$$.fragment,t),hn=i(t),Zl=r(t,"P",{});var m$=o(Zl);ad=p(m$,"\u{1F917} Transformers \uAE30\uB2A5 \uC911 \uD2B9\uD788 \uC7AC\uBBF8\uC788\uB294 \uD55C \uAC00\uC9C0\uB294 \uBAA8\uB378\uC744 \uC800\uC7A5\uD558\uACE0 PyTorch\uB098 TensorFlow \uBAA8\uB378\uB85C \uB2E4\uC2DC \uBD88\uB7EC\uC62C \uC218 \uC788\uB294 \uAE30\uB2A5\uC785\uB2C8\uB2E4. \u2018from_pt\u2019 \uB610\uB294 \u2018from_tf\u2019 \uB9E4\uAC1C\uBCC0\uC218\uB97C \uC0AC\uC6A9\uD574 \uBAA8\uB378\uC744 \uAE30\uC874\uACFC \uB2E4\uB978 \uD504\uB808\uC784\uC6CC\uD06C\uB85C \uBCC0\uD658\uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4."),m$.forEach(s),un=i(t),b(kt.$$.fragment,t),$n=i(t),tt=r(t,"H2",{class:!0});var Kn=o(tt);Jt=r(Kn,"A",{id:!0,class:!0,href:!0});var h$=o(Jt);Er=r(h$,"SPAN",{});var u$=o(Er);b(js.$$.fragment,u$),u$.forEach(s),h$.forEach(s),rd=i(Kn),Tr=r(Kn,"SPAN",{});var $$=o(Tr);od=p($$,"\uCEE4\uC2A4\uD140 \uBAA8\uB378 \uAD6C\uCD95\uD558\uAE30"),$$.forEach(s),Kn.forEach(s),_n=i(t),Cl=r(t,"P",{});var _$=o(Cl);nd=p(_$,"\uBAA8\uB378\uC758 \uAD6C\uC131 \uD074\uB798\uC2A4\uB97C \uC218\uC815\uD558\uC5EC \uBAA8\uB378\uC758 \uAD6C\uC870\uB97C \uBC14\uAFC0 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC740\uB2C9\uCE35, \uC5B4\uD150\uC158 \uD5E4\uB4DC \uC218\uC640 \uAC19\uC740 \uBAA8\uB378\uC758 \uC18D\uC131\uC744 \uAD6C\uC131\uC5D0\uC11C \uC9C0\uC815\uD569\uB2C8\uB2E4. \uCEE4\uC2A4\uD140 \uAD6C\uC131 \uD074\uB798\uC2A4\uC5D0\uC11C \uBAA8\uB378\uC744 \uB9CC\uB4E4\uBA74 \uCC98\uC74C\uBD80\uD130 \uC2DC\uC791\uD574\uC57C \uD569\uB2C8\uB2E4. \uBAA8\uB378 \uC18D\uC131\uC740 \uB79C\uB364\uD558\uAC8C \uCD08\uAE30\uD654\uB418\uBBC0\uB85C \uC758\uBBF8 \uC788\uB294 \uACB0\uACFC\uB97C \uC5BB\uC73C\uB824\uBA74 \uBA3C\uC800 \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0AC \uD544\uC694\uAC00 \uC788\uC2B5\uB2C8\uB2E4."),_$.forEach(s),yn=i(t),Be=r(t,"P",{});var zl=o(Be);pd=p(zl,"\uBA3C\uC800 "),wr=r(zl,"CODE",{});var y$=o(wr);cd=p(y$,"AutoConfig"),y$.forEach(s),fd=p(zl,"\uB97C \uC784\uD3EC\uD2B8\uD558\uACE0, \uC218\uC815\uD558\uACE0 \uC2F6\uC740 \uC0AC\uC804\uD559\uC2B5\uB41C \uBAA8\uB378\uC744 \uBD88\uB7EC\uC624\uC138\uC694. "),jr=r(zl,"CODE",{});var b$=o(jr);id=p(b$,"AutoConfig.from_pretrained()"),b$.forEach(s),dd=p(zl,"\uC5D0\uC11C \uC5B4\uD150\uC158 \uD5E4\uB4DC \uC218 \uAC19\uC740 \uC18D\uC131\uC744 \uBCC0\uACBD\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),zl.forEach(s),bn=i(t),b(ks.$$.fragment,t),gn=i(t),b(Ut.$$.fragment,t),Mn=i(t),Zt=r(t,"P",{});var ep=o(Zt);md=p(ep,"\uCEE4\uC2A4\uD140 \uAD6C\uC131\uC744 \uC791\uC131\uD558\uB294 \uBC29\uBC95\uC5D0 \uB300\uD55C \uC790\uC138\uD55C \uB0B4\uC6A9\uC740 "),Rl=r(ep,"A",{href:!0});var g$=o(Rl);hd=p(g$,"\uCEE4\uC2A4\uD140 \uC544\uD0A4\uD14D\uCC98 \uB9CC\uB4E4\uAE30"),g$.forEach(s),ud=p(ep," \uAC00\uC774\uB4DC\uB97C \uCC38\uACE0\uD558\uC138\uC694."),ep.forEach(s),vn=i(t),st=r(t,"H2",{class:!0});var tp=o(st);Ct=r(tp,"A",{id:!0,class:!0,href:!0});var M$=o(Ct);kr=r(M$,"SPAN",{});var v$=o(kr);b(Js.$$.fragment,v$),v$.forEach(s),M$.forEach(s),$d=i(tp),Jr=r(tp,"SPAN",{});var E$=o(Jr);_d=p(E$,"Trainer - PyTorch\uC5D0 \uCD5C\uC801\uD654\uB41C \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504"),E$.forEach(s),tp.forEach(s),En=i(t),Ye=r(t,"P",{});var Dl=o(Ye);yd=p(Dl,"\uBAA8\uB4E0 \uBAA8\uB378\uC740 "),Us=r(Dl,"A",{href:!0,rel:!0});var T$=o(Us);Ur=r(T$,"CODE",{});var w$=o(Ur);bd=p(w$,"torch.nn.Module"),w$.forEach(s),T$.forEach(s),gd=p(Dl,"\uC774\uC5B4\uC11C \uB300\uB2E4\uC218\uC758 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uC5D0 \uC0AC\uC6A9\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC0AC\uC6A9\uC790\uAC00 \uC9C1\uC811 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uC791\uC131\uD574\uB3C4 \uB418\uC9C0\uB9CC, \u{1F917} Transformers\uB294 PyTorch\uC6A9 "),Zr=r(Dl,"CODE",{});var j$=o(Zr);Md=p(j$,"Trainer"),j$.forEach(s),vd=p(Dl," \uD074\uB798\uC2A4\uB97C \uC81C\uACF5\uD569\uB2C8\uB2E4. \uAE30\uBCF8\uC801\uC778 \uD6C8\uB828 \uBC18\uD3ED \uB8E8\uD504\uAC00 \uD3EC\uD568\uB418\uC5B4 \uC788\uACE0, \uBD84\uC0B0 \uD6C8\uB828\uC774\uB098 \uD63C\uD569 \uC815\uBC00\uB3C4 \uB4F1\uC758 \uCD94\uAC00 \uAE30\uB2A5\uB3C4 \uC788\uC2B5\uB2C8\uB2E4."),Dl.forEach(s),Tn=i(t),Rt=r(t,"P",{});var sp=o(Rt);Ed=p(sp,"\uD0DC\uC2A4\uD06C\uC5D0 \uB530\uB77C \uB2E4\uB974\uC9C0\uB9CC, \uC77C\uBC18\uC801\uC73C\uB85C \uB2E4\uC74C \uB9E4\uAC1C\uBCC0\uC218\uB97C "),Cr=r(sp,"CODE",{});var k$=o(Cr);Td=p(k$,"Trainer"),k$.forEach(s),wd=p(sp,"\uC5D0 \uC804\uB2EC\uD560 \uAC83\uC785\uB2C8\uB2E4."),sp.forEach(s),wn=i(t),ie=r(t,"OL",{});var Pe=o(ie);Zs=r(Pe,"LI",{});var lp=o(Zs);Gt=r(lp,"P",{});var go=o(Gt);Rr=r(go,"CODE",{});var J$=o(Rr);jd=p(J$,"PreTrainedModel"),J$.forEach(s),kd=p(go," \uB610\uB294 "),Cs=r(go,"A",{href:!0,rel:!0});var U$=o(Cs);Gr=r(U$,"CODE",{});var Z$=o(Gr);Jd=p(Z$,"torch.nn.Module"),Z$.forEach(s),U$.forEach(s),Ud=p(go,"\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4."),go.forEach(s),Zd=i(lp),b(Rs.$$.fragment,lp),lp.forEach(s),Cd=i(Pe),Gs=r(Pe,"LI",{});var ap=o(Gs);Gl=r(ap,"P",{});var ah=o(Gl);Wr=r(ah,"CODE",{});var C$=o(Wr);Rd=p(C$,"TrainingArguments"),C$.forEach(s),Gd=p(ah,"\uB85C \uD559\uC2B5\uB960, \uBC30\uCE58 \uD06C\uAE30\uB098 \uD6C8\uB828\uD560 epoch \uC218\uC640 \uAC19\uC774 \uBAA8\uB378\uC758 \uD558\uC774\uD37C\uD30C\uB77C\uBBF8\uD130\uB97C \uC870\uC815\uD569\uB2C8\uB2E4. \uAE30\uBCF8\uAC12\uC740 \uD6C8\uB828 \uC778\uC218\uB97C \uC804\uD600 \uC9C0\uC815\uD558\uC9C0 \uC54A\uC740 \uACBD\uC6B0 \uC0AC\uC6A9\uB429\uB2C8\uB2E4."),ah.forEach(s),Wd=i(ap),b(Ws.$$.fragment,ap),ap.forEach(s),Ad=i(Pe),As=r(Pe,"LI",{});var rp=o(As);Ar=r(rp,"P",{});var R$=o(Ar);Id=p(R$,"\uD1A0\uD06C\uB098\uC774\uC800, \uD2B9\uC9D5\uCD94\uCD9C\uAE30(feature extractor), \uC804\uCC98\uB9AC\uAE30(processor) \uD074\uB798\uC2A4 \uB4F1\uC73C\uB85C \uC804\uCC98\uB9AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4."),R$.forEach(s),Vd=i(rp),b(Is.$$.fragment,rp),rp.forEach(s),Fd=i(Pe),Vs=r(Pe,"LI",{});var op=o(Vs);Ir=r(op,"P",{});var G$=o(Ir);Nd=p(G$,"\uB370\uC774\uD130\uC14B\uB97C \uC801\uC7AC\uD569\uB2C8\uB2E4."),G$.forEach(s),Xd=i(op),b(Fs.$$.fragment,op),op.forEach(s),zd=i(Pe),Ns=r(Pe,"LI",{});var np=o(Ns);Xs=r(np,"P",{});var pp=o(Xs);Dd=p(pp,"\uB370\uC774\uD130\uC14B\uC744 \uD1A0\uD070\uD654\uD558\uB294 \uD568\uC218\uB97C \uB9CC\uB4E4\uACE0 "),Vr=r(pp,"CODE",{});var W$=o(Vr);Bd=p(W$,"map"),W$.forEach(s),Yd=p(pp,"\uC73C\uB85C \uC804\uCCB4 \uB370\uC774\uD130\uC14B\uC5D0 \uC801\uC6A9\uC2DC\uD0B5\uB2C8\uB2E4."),pp.forEach(s),Sd=i(np),b(zs.$$.fragment,np),np.forEach(s),Pe.forEach(s),jn=i(t),Wl=r(t,"BLOCKQUOTE",{});var A$=o(Wl);Fr=r(A$,"BLOCKQUOTE",{});var I$=o(Fr);Ds=r(I$,"BLOCKQUOTE",{});var cp=o(Ds);Nr=r(cp,"P",{});var V$=o(Nr);Hd=p(V$,"dataset = dataset.map(tokenize_dataset, batched=True)"),V$.forEach(s),Pd=i(cp),b(Bs.$$.fragment,cp),cp.forEach(s),I$.forEach(s),A$.forEach(s),kn=i(t),Ys=r(t,"OL",{start:!0});var F$=o(Ys);Ss=r(F$,"LI",{});var fp=o(Ss);Al=r(fp,"P",{});var rh=o(Al);Xr=r(rh,"CODE",{});var N$=o(Xr);Od=p(N$,"DataCollatorWithPadding"),N$.forEach(s),qd=p(rh,"\uB85C \uB370\uC774\uD130\uC14B\uC73C\uB85C\uBD80\uD130 \uD45C\uBCF8\uC73C\uB85C \uC0BC\uC744 \uBC30\uCE58\uB97C \uB9CC\uB4ED\uB2C8\uB2E4."),rh.forEach(s),Qd=i(fp),b(Hs.$$.fragment,fp),fp.forEach(s),F$.forEach(s),Jn=i(t),Wt=r(t,"P",{});var ip=o(Wt);xd=p(ip,"\uC774\uC81C \uC704\uC758 \uBAA8\uB4E0 \uD074\uB798\uC2A4\uB97C "),zr=r(ip,"CODE",{});var X$=o(zr);Ld=p(X$,"Trainer"),X$.forEach(s),Kd=p(ip,"\uB85C \uBAA8\uC73C\uC138\uC694."),ip.forEach(s),Un=i(t),b(Ps.$$.fragment,t),Zn=i(t),At=r(t,"P",{});var dp=o(At);em=p(dp,"\uC900\uBE44\uB418\uC5C8\uC73C\uBA74 "),Dr=r(dp,"CODE",{});var z$=o(Dr);tm=p(z$,"train()"),z$.forEach(s),sm=p(dp,"\uC73C\uB85C \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694."),dp.forEach(s),Cn=i(t),b(Os.$$.fragment,t),Rn=i(t),b(It.$$.fragment,t),Gn=i(t),lt=r(t,"P",{});var Mo=o(lt);Br=r(Mo,"CODE",{});var D$=o(Br);lm=p(D$,"Trainer"),D$.forEach(s),am=p(Mo," \uB0B4\uBD80\uC758 \uBA54\uC11C\uB4DC\uB97C \uAD6C\uD604 \uC0C1\uC18D(subclassing)\uD574\uC11C \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uAC1C\uC870\uD560 \uC218\uB3C4 \uC788\uC2B5\uB2C8\uB2E4. \uC774\uB7EC\uBA74 loss \uD568\uC218, optimizer, scheduler \uB4F1\uC758 \uAE30\uB2A5\uB3C4 \uAC1C\uC870\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. \uC5B4\uB5A4 \uBA54\uC11C\uB4DC\uB97C \uAD6C\uD604 \uC0C1\uC18D\uD560 \uC218 \uC788\uB294\uC9C0 \uC54C\uC544\uBCF4\uB824\uBA74 "),Yr=r(Mo,"CODE",{});var B$=o(Yr);rm=p(B$,"Trainer"),B$.forEach(s),om=p(Mo,"\uB97C \uCC38\uACE0\uD558\uC138\uC694."),Mo.forEach(s),Wn=i(t),Se=r(t,"P",{});var Bl=o(Se);nm=p(Bl,"\uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uAC1C\uC870\uD558\uB294 \uB2E4\uB978 \uBC29\uBC95\uC740 "),Il=r(Bl,"A",{href:!0});var Y$=o(Il);pm=p(Y$,"Callbacks"),Y$.forEach(s),cm=p(Bl,"\uB97C \uC0AC\uC6A9\uD558\uB294 \uAC83\uC785\uB2C8\uB2E4. Callbacks\uB85C \uB2E4\uB978 \uB77C\uC774\uBE0C\uB7EC\uB9AC\uC640 \uD1B5\uD569\uD558\uACE0, \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504\uB97C \uC218\uC2DC\uB85C \uCCB4\uD06C\uD558\uC5EC \uC9C4\uD589 \uC0C1\uD669\uC744 \uBCF4\uACE0\uBC1B\uAC70\uB098, \uD6C8\uB828\uC744 \uC870\uAE30\uC5D0 \uC911\uB2E8\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4. Callbacks\uC740 \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504 \uC790\uCCB4\uB97C \uC804\uD600 \uC218\uC815\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. \uB9CC\uC57D loss \uD568\uC218 \uB4F1\uC744 \uAC1C\uC870\uD558\uACE0 \uC2F6\uB2E4\uBA74 "),Sr=r(Bl,"CODE",{});var S$=o(Sr);fm=p(S$,"Trainer"),S$.forEach(s),im=p(Bl,"\uB97C \uAD6C\uD604 \uC0C1\uC18D\uD574\uC57C\uB9CC \uD569\uB2C8\uB2E4."),Bl.forEach(s),An=i(t),at=r(t,"H2",{class:!0});var mp=o(at);Vt=r(mp,"A",{id:!0,class:!0,href:!0});var H$=o(Vt);Hr=r(H$,"SPAN",{});var P$=o(Hr);b(qs.$$.fragment,P$),P$.forEach(s),H$.forEach(s),dm=i(mp),Pr=r(mp,"SPAN",{});var O$=o(Pr);mm=p(O$,"TensorFlow\uB85C \uD6C8\uB828\uC2DC\uD0A4\uAE30"),O$.forEach(s),mp.forEach(s),In=i(t),ee=r(t,"P",{});var me=o(ee);hm=p(me,"\uBAA8\uB4E0 \uBAA8\uB378\uC740 "),Qs=r(me,"A",{href:!0,rel:!0});var q$=o(Qs);Or=r(q$,"CODE",{});var Q$=o(Or);um=p(Q$,"tf.keras.Model"),Q$.forEach(s),q$.forEach(s),$m=p(me,"\uC774\uC5B4\uC11C "),xs=r(me,"A",{href:!0,rel:!0});var x$=o(xs);_m=p(x$,"Keras"),x$.forEach(s),ym=p(me," API\uB97C \uD1B5\uD574 TensorFlow\uC5D0\uC11C \uD6C8\uB828\uC2DC\uD0AC \uC218 \uC788\uC2B5\uB2C8\uB2E4. \u{1F917} Transformers\uC5D0\uC11C \uB370\uC774\uD130\uC14B\uB97C "),qr=r(me,"CODE",{});var L$=o(qr);bm=p(L$,"tf.data.Dataset"),L$.forEach(s),gm=p(me," \uD615\uD0DC\uB85C \uC27D\uAC8C \uC801\uC7AC\uD560 \uC218 \uC788\uB294 "),Qr=r(me,"CODE",{});var K$=o(Qr);Mm=p(K$,"prepare_tf_dataset()"),K$.forEach(s),vm=p(me," \uBA54\uC11C\uB4DC\uB97C \uC81C\uACF5\uD558\uAE30 \uB54C\uBB38\uC5D0, Keras\uC758 "),Ls=r(me,"A",{href:!0,rel:!0});var e2=o(Ls);xr=r(e2,"CODE",{});var t2=o(xr);Em=p(t2,"compile"),t2.forEach(s),e2.forEach(s),Tm=p(me," \uBC0F "),Ks=r(me,"A",{href:!0,rel:!0});var s2=o(Ks);Lr=r(s2,"CODE",{});var l2=o(Lr);wm=p(l2,"fit"),l2.forEach(s),s2.forEach(s),jm=p(me," \uBA54\uC11C\uB4DC\uB85C \uC989\uC2DC \uD6C8\uB828\uC744 \uC2DC\uC791\uD560 \uC218 \uC788\uC2B5\uB2C8\uB2E4."),me.forEach(s),Vn=i(t),de=r(t,"OL",{});var Oe=o(de);el=r(Oe,"LI",{});var hp=o(el);Ft=r(hp,"P",{});var vo=o(Ft);Kr=r(vo,"CODE",{});var a2=o(Kr);km=p(a2,"TFPreTrainedModel"),a2.forEach(s),Jm=p(vo," \uB610\uB294 "),tl=r(vo,"A",{href:!0,rel:!0});var r2=o(tl);eo=r(r2,"CODE",{});var o2=o(eo);Um=p(o2,"tf.keras.Model"),o2.forEach(s),r2.forEach(s),Zm=p(vo,"\uB85C \uC2DC\uC791\uD569\uB2C8\uB2E4."),vo.forEach(s),Cm=i(hp),b(sl.$$.fragment,hp),hp.forEach(s),Rm=i(Oe),ll=r(Oe,"LI",{});var up=o(ll);to=r(up,"P",{});var n2=o(to);Gm=p(n2,"\uD1A0\uD06C\uB098\uC774\uC800, \uD2B9\uC9D5\uCD94\uCD9C\uAE30(feature extractor), \uC804\uCC98\uB9AC\uAE30(processor) \uD074\uB798\uC2A4 \uB4F1\uC73C\uB85C \uC804\uCC98\uB9AC\uB97C \uC218\uD589\uD569\uB2C8\uB2E4."),n2.forEach(s),Wm=i(up),b(al.$$.fragment,up),up.forEach(s),Am=i(Oe),rl=r(Oe,"LI",{});var $p=o(rl);so=r($p,"P",{});var p2=o(so);Im=p(p2,"\uB370\uC774\uD130\uC14B\uC744 \uD1A0\uD070\uD654\uD558\uB294 \uD568\uC218\uB97C \uB9CC\uB4ED\uB2C8\uB2E4."),p2.forEach(s),Vm=i($p),b(ol.$$.fragment,$p),$p.forEach(s),Fm=i(Oe),nl=r(Oe,"LI",{});var _p=o(nl);Nt=r(_p,"P",{});var Eo=o(Nt);lo=r(Eo,"CODE",{});var c2=o(lo);Nm=p(c2,"map"),c2.forEach(s),Xm=p(Eo,"\uC73C\uB85C \uC804\uCCB4 \uB370\uC774\uD130\uC14B\uC5D0 \uC704 \uD568\uC218\uB97C \uC801\uC6A9\uC2DC\uD0A8 \uB2E4\uC74C, \uB370\uC774\uD130\uC14B\uACFC \uD1A0\uD06C\uB098\uC774\uC800\uB97C "),ao=r(Eo,"CODE",{});var f2=o(ao);zm=p(f2,"prepare_tf_dataset()"),f2.forEach(s),Dm=p(Eo,"\uB85C \uC804\uB2EC\uD569\uB2C8\uB2E4. \uBC30\uCE58 \uD06C\uAE30\uB97C \uBCC0\uACBD\uD574\uBCF4\uAC70\uB098 \uB370\uC774\uD130\uC14B\uB97C \uC11E\uC5B4\uBD10\uB3C4 \uC88B\uC2B5\uB2C8\uB2E4."),Eo.forEach(s),Bm=i(_p),b(pl.$$.fragment,_p),_p.forEach(s),Ym=i(Oe),cl=r(Oe,"LI",{});var yp=o(cl);rt=r(yp,"P",{});var Yl=o(rt);Sm=p(Yl,"\uC900\uBE44\uB418\uC5C8\uC73C\uBA74 "),ro=r(Yl,"CODE",{});var i2=o(ro);Hm=p(i2,"compile"),i2.forEach(s),Pm=p(Yl,"\uACFC "),oo=r(Yl,"CODE",{});var d2=o(oo);Om=p(d2,"fit"),d2.forEach(s),qm=p(Yl,"\uC73C\uB85C \uD6C8\uB828\uC744 \uC2DC\uC791\uD558\uC138\uC694."),Yl.forEach(s),Qm=i(yp),b(fl.$$.fragment,yp),yp.forEach(s),Oe.forEach(s),Fn=i(t),ot=r(t,"H2",{class:!0});var bp=o(ot);Xt=r(bp,"A",{id:!0,class:!0,href:!0});var m2=o(Xt);no=r(m2,"SPAN",{});var h2=o(no);b(il.$$.fragment,h2),h2.forEach(s),m2.forEach(s),xm=i(bp),po=r(bp,"SPAN",{});var u2=o(po);Lm=p(u2,"\uC774\uC81C \uBB34\uC5BC \uD558\uBA74 \uB420\uAE4C\uC694?"),u2.forEach(s),bp.forEach(s),Nn=i(t),Vl=r(t,"P",{});var $2=o(Vl);Km=p($2,"\u{1F917} Transformers \uB458\uB7EC\uBCF4\uAE30\uB97C \uBAA8\uB450 \uC77D\uC73C\uC168\uB2E4\uBA74, \uAC00\uC774\uB4DC\uB97C \uD1B5\uD574 \uD2B9\uC815 \uAE30\uC220\uC744 \uBC30\uC6B8 \uC218 \uC788\uC5B4\uC694. \uC608\uB97C \uB4E4\uC5B4 \uCEE4\uC2A4\uD140 \uBAA8\uB378\uC744 \uC791\uC131\uD558\uB294 \uBC29\uBC95, \uD0DC\uC2A4\uD06C\uC6A9 \uBAA8\uB378\uC744 \uD30C\uC778\uD29C\uB2DD\uD558\uB294 \uBC29\uBC95, \uC2A4\uD06C\uB9BD\uD2B8\uB85C \uBAA8\uB378\uC744 \uD6C8\uB828\uC2DC\uD0A4\uB294 \uBC29\uBC95 \uB4F1\uC774 \uC788\uC2B5\uB2C8\uB2E4. \u{1F917} Transformers\uC758 \uD575\uC2EC \uAC1C\uB150\uC5D0 \uB300\uD574 \uC790\uC138\uD788 \uC54C\uC544\uBCF4\uB824\uBA74 \uCEE4\uD53C \uD55C \uC794\uC744 \uB9C8\uC2E0 \uB4A4 \uAC1C\uB150 \uAC00\uC774\uB4DC\uB97C \uC0B4\uD3B4\uBCF4\uC154\uB3C4 \uC88B\uC2B5\uB2C8\uB2E4!"),$2.forEach(s),this.h()},h(){T(l,"name","hf:doc:metadata"),T(l,"content",JSON.stringify(a1)),T(u,"id","quick-tour"),T(u,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(u,"href","#quick-tour"),T(c,"class","relative group"),T(te,"id","pipeline"),T(te,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(te,"href","#pipeline"),T(P,"class","relative group"),T(_l,"href","./main_classes/pipelines"),T(ss,"href","https://huggingface.co/distilbert-base-uncased-finetuned-sst-2-english"),T(ss,"rel","nofollow"),T(ns,"href","https://huggingface.co/docs/datasets/quickstart#audio"),T(ns,"rel","nofollow"),T(ps,"href","https://huggingface.co/datasets/PolyAI/minds14"),T(ps,"rel","nofollow"),T(fs,"href","https://huggingface.co/facebook/wav2vec2-base-960h"),T(fs,"rel","nofollow"),T(yl,"href","./main_classes/pipelines"),T(ht,"id","use-another-model-and-tokenizer-in-the-pipeline"),T(ht,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(ht,"href","#use-another-model-and-tokenizer-in-the-pipeline"),T(qe,"class","relative group"),T(hs,"href","https://huggingface.co/models"),T(hs,"rel","nofollow"),T(us,"href","https://huggingface.co/nlptown/bert-base-multilingual-uncased-sentiment"),T(us,"rel","nofollow"),T(bl,"href","./training"),T(gl,"href","./model_sharing"),T($t,"id","autoclass"),T($t,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T($t,"href","#autoclass"),T(xe,"class","relative group"),T(Ml,"href","./model_doc/auto"),T(_t,"id","autotokenizer"),T(_t,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(_t,"href","#autotokenizer"),T(Le,"class","relative group"),T(vl,"href","./tokenizer_summary"),T(jl,"href","./glossary#input-ids"),T(Jl,"href",".glossary#attention-mask"),T(vt,"id","automodel"),T(vt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(vt,"href","#automodel"),T(Ke,"class","relative group"),T(wt,"id","save-a-model"),T(wt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(wt,"href","#save-a-model"),T(et,"class","relative group"),T(Jt,"id","custom-model-builds"),T(Jt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(Jt,"href","#custom-model-builds"),T(tt,"class","relative group"),T(Rl,"href","./create_a_model"),T(Ct,"id","trainer-a-pytorch-optimized-training-loop"),T(Ct,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(Ct,"href","#trainer-a-pytorch-optimized-training-loop"),T(st,"class","relative group"),T(Us,"href","https://pytorch.org/docs/stable/nn.html#torch.nn.Module"),T(Us,"rel","nofollow"),T(Cs,"href","https://pytorch.org/docs/stable/nn.html#torch.nn.Module"),T(Cs,"rel","nofollow"),T(Ys,"start","6"),T(Il,"href","./main_classes/callbacks"),T(Vt,"id","train-with-tensorflow"),T(Vt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(Vt,"href","#train-with-tensorflow"),T(at,"class","relative group"),T(Qs,"href","https://www.tensorflow.org/api_docs/python/tf/keras/Model"),T(Qs,"rel","nofollow"),T(xs,"href","https://keras.io/"),T(xs,"rel","nofollow"),T(Ls,"href","https://keras.io/api/models/model_training_apis/#compile-method"),T(Ls,"rel","nofollow"),T(Ks,"href","https://www.tensorflow.org/api_docs/python/tf/keras/Model"),T(Ks,"rel","nofollow"),T(tl,"href","https://www.tensorflow.org/api_docs/python/tf/keras/Model"),T(tl,"rel","nofollow"),T(Xt,"id","whats-next"),T(Xt,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),T(Xt,"href","#whats-next"),T(ot,"class","relative group")},m(t,d){e(document.head,l),h(t,m,d),h(t,c,d),e(c,u),e(u,$),g(k,$,null),e(c,J),e(c,_),e(_,w),h(t,A,d),g(V,t,d),h(t,I,d),h(t,z,d),e(z,G),h(t,R,d),g(X,t,d),h(t,j,d),h(t,W,d),e(W,L),h(t,B,d),g(H,t,d),h(t,oe,d),h(t,P,d),e(P,te),e(te,O),g(K,O,null),e(P,pe),e(P,Q),e(Q,Me),h(t,ae,d),g(ne,t,d),h(t,_e,d),h(t,x,d),e(x,se),e(se,ye),e(x,U),e(x,N),e(N,ce),e(x,C),h(t,D,d),h(t,le,d),e(le,ve),e(ve,q),e(q,Ee),e(Ee,ue),e(ue,$l),e(q,Ne),e(q,pt),e(pt,ct),e(ct,gp),e(q,Mp),e(q,Sl),e(Sl,Hl),e(Hl,vp),e(q,Ep),e(q,Pl),e(Pl,Ol),e(Ol,Tp),e(le,wp),e(le,Y),e(Y,Te),e(Te,ql),e(ql,jp),e(Te,kp),e(Te,Ql),e(Ql,Jp),e(Te,Up),e(Te,xl),e(xl,Zp),e(Te,Cp),e(Te,Ll),e(Ll,Rp),e(Y,Gp),e(Y,we),e(we,Kl),e(Kl,Wp),e(we,Ap),e(we,ea),e(ea,Ip),e(we,Vp),e(we,ta),e(ta,Fp),e(we,Np),e(we,sa),e(sa,Xp),e(Y,zp),e(Y,je),e(je,la),e(la,Dp),e(je,Bp),e(je,aa),e(aa,Yp),e(je,Sp),e(je,ra),e(ra,Hp),e(je,Pp),e(je,oa),e(oa,Op),e(Y,qp),e(Y,ke),e(ke,na),e(na,Qp),e(ke,xp),e(ke,pa),e(pa,Lp),e(ke,Kp),e(ke,ca),e(ca,ec),e(ke,tc),e(ke,fa),e(fa,sc),e(Y,lc),e(Y,Je),e(Je,ia),e(ia,ac),e(Je,rc),e(Je,da),e(da,oc),e(Je,nc),e(Je,ma),e(ma,pc),e(Je,cc),e(Je,ha),e(ha,fc),e(Y,ic),e(Y,Ue),e(Ue,ua),e(ua,dc),e(Ue,mc),e(Ue,$a),e($a,hc),e(Ue,uc),e(Ue,_a),e(_a,$c),e(Ue,_c),e(Ue,ya),e(ya,yc),e(Y,bc),e(Y,Ze),e(Ze,ba),e(ba,gc),e(Ze,Mc),e(Ze,ga),e(ga,vc),e(Ze,Ec),e(Ze,Ma),e(Ma,Tc),e(Ze,wc),e(Ze,va),e(va,jc),e(Y,kc),e(Y,Ce),e(Ce,Ea),e(Ea,Jc),e(Ce,Uc),e(Ce,Ta),e(Ta,Zc),e(Ce,Cc),e(Ce,wa),e(wa,Rc),e(Ce,Gc),e(Ce,ja),e(ja,Wc),e(Y,Ac),e(Y,Re),e(Re,ka),e(ka,Ic),e(Re,Vc),e(Re,Ja),e(Ja,Fc),e(Re,Nc),e(Re,Ua),e(Ua,Xc),e(Re,zc),e(Re,Za),e(Za,Dc),e(Y,Bc),e(Y,Ge),e(Ge,Ca),e(Ca,Yc),e(Ge,Sc),e(Ge,Ra),e(Ra,Hc),e(Ge,Pc),e(Ge,Ga),e(Ga,Oc),e(Ge,qc),e(Ge,Wa),e(Wa,Qc),e(Y,xc),e(Y,We),e(We,Aa),e(Aa,Lc),e(We,Kc),e(We,Ia),e(Ia,ef),e(We,tf),e(We,Va),e(Va,sf),e(We,lf),e(We,Fa),e(Fa,af),e(Y,rf),e(Y,Ae),e(Ae,Na),e(Na,of),e(Ae,nf),e(Ae,Xa),e(Xa,pf),e(Ae,cf),e(Ae,za),e(za,ff),e(Ae,df),e(Ae,Da),e(Da,mf),e(Y,hf),e(Y,Ie),e(Ie,Ba),e(Ba,uf),e(Ie,$f),e(Ie,Ya),e(Ya,_f),e(Ie,yf),e(Ie,Sa),e(Sa,bf),e(Ie,gf),e(Ie,Ha),e(Ha,Mf),h(t,wo,d),h(t,fe,d),e(fe,vf),e(fe,Pa),e(Pa,Ef),e(fe,Tf),e(fe,Oa),e(Oa,wf),e(fe,jf),e(fe,_l),e(_l,kf),e(fe,Jf),e(fe,qa),e(qa,Uf),e(fe,Zf),h(t,jo,d),g(ts,t,d),h(t,ko,d),h(t,Ve,d),e(Ve,Qa),e(Qa,Cf),e(Ve,Rf),e(Ve,ss),e(ss,Gf),e(Ve,Wf),e(Ve,xa),e(xa,Af),e(Ve,If),h(t,Jo,d),g(ls,t,d),h(t,Uo,d),h(t,ft,d),e(ft,Vf),e(ft,La),e(La,Ff),e(ft,Nf),h(t,Zo,d),g(as,t,d),h(t,Co,d),h(t,rs,d),e(rs,Ka),e(Ka,Xf),e(rs,zf),h(t,Ro,d),g(os,t,d),h(t,Go,d),h(t,Xe,d),e(Xe,Df),e(Xe,ns),e(ns,Bf),e(Xe,Yf),e(Xe,ps),e(ps,Sf),e(Xe,Hf),h(t,Wo,d),g(cs,t,d),h(t,Ao,d),h(t,it,d),e(it,Pf),e(it,fs),e(fs,er),e(er,Of),e(it,qf),h(t,Io,d),g(is,t,d),h(t,Vo,d),h(t,dt,d),e(dt,Qf),e(dt,tr),e(tr,xf),e(dt,Lf),h(t,Fo,d),g(ds,t,d),h(t,No,d),h(t,mt,d),e(mt,Kf),e(mt,yl),e(yl,ei),e(mt,ti),h(t,Xo,d),h(t,qe,d),e(qe,ht),e(ht,sr),g(ms,sr,null),e(qe,si),e(qe,lr),e(lr,li),h(t,zo,d),h(t,$e,d),e($e,ar),e(ar,ai),e($e,ri),e($e,hs),e(hs,oi),e($e,ni),e($e,rr),e(rr,pi),e($e,ci),e($e,us),e(us,fi),e($e,ii),h(t,Do,d),g($s,t,d),h(t,Bo,d),g(ut,t,d),h(t,Yo,d),h(t,Qe,d),e(Qe,or),e(or,di),e(Qe,mi),e(Qe,nr),e(nr,hi),e(Qe,ui),h(t,So,d),g(_s,t,d),h(t,Ho,d),h(t,ze,d),e(ze,$i),e(ze,bl),e(bl,_i),e(ze,yi),e(ze,gl),e(gl,bi),e(ze,gi),h(t,Po,d),h(t,xe,d),e(xe,$t),e($t,pr),g(ys,pr,null),e(xe,Mi),e(xe,cr),e(cr,vi),h(t,Oo,d),g(bs,t,d),h(t,qo,d),h(t,re,d),e(re,Ei),e(re,fr),e(fr,Ti),e(re,wi),e(re,ir),e(ir,ji),e(re,ki),e(re,dr),e(dr,Ji),e(re,Ui),e(re,Ml),e(Ml,Zi),e(re,Ci),e(re,mr),e(mr,Ri),e(re,Gi),h(t,Qo,d),h(t,De,d),e(De,Wi),e(De,hr),e(hr,Ai),e(De,Ii),e(De,ur),e(ur,Vi),e(De,Fi),h(t,xo,d),h(t,Le,d),e(Le,_t),e(_t,$r),g(gs,$r,null),e(Le,Ni),e(Le,_r),e(_r,Xi),h(t,Lo,d),h(t,yt,d),e(yt,zi),e(yt,vl),e(vl,Di),e(yt,Bi),h(t,Ko,d),h(t,Ms,d),e(Ms,yr),e(yr,Yi),e(Ms,Si),h(t,en,d),g(vs,t,d),h(t,tn,d),h(t,El,d),e(El,Hi),h(t,sn,d),g(Es,t,d),h(t,ln,d),h(t,Tl,d),e(Tl,Pi),h(t,an,d),h(t,bt,d),e(bt,wl),e(wl,jl),e(jl,Oi),e(wl,qi),e(bt,Qi),e(bt,kl),e(kl,Jl),e(Jl,xi),e(kl,Li),h(t,rn,d),h(t,Ul,d),e(Ul,Ki),h(t,on,d),g(gt,t,d),h(t,nn,d),g(Mt,t,d),h(t,pn,d),h(t,Ke,d),e(Ke,vt),e(vt,br),g(Ts,br,null),e(Ke,ed),e(Ke,gr),e(gr,td),h(t,cn,d),g(Et,t,d),h(t,fn,d),g(Tt,t,d),h(t,dn,d),h(t,et,d),e(et,wt),e(wt,Mr),g(ws,Mr,null),e(et,sd),e(et,vr),e(vr,ld),h(t,mn,d),g(jt,t,d),h(t,hn,d),h(t,Zl,d),e(Zl,ad),h(t,un,d),g(kt,t,d),h(t,$n,d),h(t,tt,d),e(tt,Jt),e(Jt,Er),g(js,Er,null),e(tt,rd),e(tt,Tr),e(Tr,od),h(t,_n,d),h(t,Cl,d),e(Cl,nd),h(t,yn,d),h(t,Be,d),e(Be,pd),e(Be,wr),e(wr,cd),e(Be,fd),e(Be,jr),e(jr,id),e(Be,dd),h(t,bn,d),g(ks,t,d),h(t,gn,d),g(Ut,t,d),h(t,Mn,d),h(t,Zt,d),e(Zt,md),e(Zt,Rl),e(Rl,hd),e(Zt,ud),h(t,vn,d),h(t,st,d),e(st,Ct),e(Ct,kr),g(Js,kr,null),e(st,$d),e(st,Jr),e(Jr,_d),h(t,En,d),h(t,Ye,d),e(Ye,yd),e(Ye,Us),e(Us,Ur),e(Ur,bd),e(Ye,gd),e(Ye,Zr),e(Zr,Md),e(Ye,vd),h(t,Tn,d),h(t,Rt,d),e(Rt,Ed),e(Rt,Cr),e(Cr,Td),e(Rt,wd),h(t,wn,d),h(t,ie,d),e(ie,Zs),e(Zs,Gt),e(Gt,Rr),e(Rr,jd),e(Gt,kd),e(Gt,Cs),e(Cs,Gr),e(Gr,Jd),e(Gt,Ud),e(Zs,Zd),g(Rs,Zs,null),e(ie,Cd),e(ie,Gs),e(Gs,Gl),e(Gl,Wr),e(Wr,Rd),e(Gl,Gd),e(Gs,Wd),g(Ws,Gs,null),e(ie,Ad),e(ie,As),e(As,Ar),e(Ar,Id),e(As,Vd),g(Is,As,null),e(ie,Fd),e(ie,Vs),e(Vs,Ir),e(Ir,Nd),e(Vs,Xd),g(Fs,Vs,null),e(ie,zd),e(ie,Ns),e(Ns,Xs),e(Xs,Dd),e(Xs,Vr),e(Vr,Bd),e(Xs,Yd),e(Ns,Sd),g(zs,Ns,null),h(t,jn,d),h(t,Wl,d),e(Wl,Fr),e(Fr,Ds),e(Ds,Nr),e(Nr,Hd),e(Ds,Pd),g(Bs,Ds,null),h(t,kn,d),h(t,Ys,d),e(Ys,Ss),e(Ss,Al),e(Al,Xr),e(Xr,Od),e(Al,qd),e(Ss,Qd),g(Hs,Ss,null),h(t,Jn,d),h(t,Wt,d),e(Wt,xd),e(Wt,zr),e(zr,Ld),e(Wt,Kd),h(t,Un,d),g(Ps,t,d),h(t,Zn,d),h(t,At,d),e(At,em),e(At,Dr),e(Dr,tm),e(At,sm),h(t,Cn,d),g(Os,t,d),h(t,Rn,d),g(It,t,d),h(t,Gn,d),h(t,lt,d),e(lt,Br),e(Br,lm),e(lt,am),e(lt,Yr),e(Yr,rm),e(lt,om),h(t,Wn,d),h(t,Se,d),e(Se,nm),e(Se,Il),e(Il,pm),e(Se,cm),e(Se,Sr),e(Sr,fm),e(Se,im),h(t,An,d),h(t,at,d),e(at,Vt),e(Vt,Hr),g(qs,Hr,null),e(at,dm),e(at,Pr),e(Pr,mm),h(t,In,d),h(t,ee,d),e(ee,hm),e(ee,Qs),e(Qs,Or),e(Or,um),e(ee,$m),e(ee,xs),e(xs,_m),e(ee,ym),e(ee,qr),e(qr,bm),e(ee,gm),e(ee,Qr),e(Qr,Mm),e(ee,vm),e(ee,Ls),e(Ls,xr),e(xr,Em),e(ee,Tm),e(ee,Ks),e(Ks,Lr),e(Lr,wm),e(ee,jm),h(t,Vn,d),h(t,de,d),e(de,el),e(el,Ft),e(Ft,Kr),e(Kr,km),e(Ft,Jm),e(Ft,tl),e(tl,eo),e(eo,Um),e(Ft,Zm),e(el,Cm),g(sl,el,null),e(de,Rm),e(de,ll),e(ll,to),e(to,Gm),e(ll,Wm),g(al,ll,null),e(de,Am),e(de,rl),e(rl,so),e(so,Im),e(rl,Vm),g(ol,rl,null),e(de,Fm),e(de,nl),e(nl,Nt),e(Nt,lo),e(lo,Nm),e(Nt,Xm),e(Nt,ao),e(ao,zm),e(Nt,Dm),e(nl,Bm),g(pl,nl,null),e(de,Ym),e(de,cl),e(cl,rt),e(rt,Sm),e(rt,ro),e(ro,Hm),e(rt,Pm),e(rt,oo),e(oo,Om),e(rt,qm),e(cl,Qm),g(fl,cl,null),h(t,Fn,d),h(t,ot,d),e(ot,Xt),e(Xt,no),g(il,no,null),e(ot,xm),e(ot,po),e(po,Lm),h(t,Nn,d),h(t,Vl,d),e(Vl,Km),Xn=!0},p(t,[d]){const dl={};d&2&&(dl.$$scope={dirty:d,ctx:t}),H.$set(dl);const co={};d&2&&(co.$$scope={dirty:d,ctx:t}),ut.$set(co);const fo={};d&2&&(fo.$$scope={dirty:d,ctx:t}),gt.$set(fo);const io={};d&2&&(io.$$scope={dirty:d,ctx:t}),Mt.$set(io);const mo={};d&2&&(mo.$$scope={dirty:d,ctx:t}),Et.$set(mo);const ho={};d&2&&(ho.$$scope={dirty:d,ctx:t}),Tt.$set(ho);const ml={};d&2&&(ml.$$scope={dirty:d,ctx:t}),jt.$set(ml);const uo={};d&2&&(uo.$$scope={dirty:d,ctx:t}),kt.$set(uo);const $o={};d&2&&($o.$$scope={dirty:d,ctx:t}),Ut.$set($o);const _o={};d&2&&(_o.$$scope={dirty:d,ctx:t}),It.$set(_o)},i(t){Xn||(M(k.$$.fragment,t),M(V.$$.fragment,t),M(X.$$.fragment,t),M(H.$$.fragment,t),M(K.$$.fragment,t),M(ne.$$.fragment,t),M(ts.$$.fragment,t),M(ls.$$.fragment,t),M(as.$$.fragment,t),M(os.$$.fragment,t),M(cs.$$.fragment,t),M(is.$$.fragment,t),M(ds.$$.fragment,t),M(ms.$$.fragment,t),M($s.$$.fragment,t),M(ut.$$.fragment,t),M(_s.$$.fragment,t),M(ys.$$.fragment,t),M(bs.$$.fragment,t),M(gs.$$.fragment,t),M(vs.$$.fragment,t),M(Es.$$.fragment,t),M(gt.$$.fragment,t),M(Mt.$$.fragment,t),M(Ts.$$.fragment,t),M(Et.$$.fragment,t),M(Tt.$$.fragment,t),M(ws.$$.fragment,t),M(jt.$$.fragment,t),M(kt.$$.fragment,t),M(js.$$.fragment,t),M(ks.$$.fragment,t),M(Ut.$$.fragment,t),M(Js.$$.fragment,t),M(Rs.$$.fragment,t),M(Ws.$$.fragment,t),M(Is.$$.fragment,t),M(Fs.$$.fragment,t),M(zs.$$.fragment,t),M(Bs.$$.fragment,t),M(Hs.$$.fragment,t),M(Ps.$$.fragment,t),M(Os.$$.fragment,t),M(It.$$.fragment,t),M(qs.$$.fragment,t),M(sl.$$.fragment,t),M(al.$$.fragment,t),M(ol.$$.fragment,t),M(pl.$$.fragment,t),M(fl.$$.fragment,t),M(il.$$.fragment,t),Xn=!0)},o(t){v(k.$$.fragment,t),v(V.$$.fragment,t),v(X.$$.fragment,t),v(H.$$.fragment,t),v(K.$$.fragment,t),v(ne.$$.fragment,t),v(ts.$$.fragment,t),v(ls.$$.fragment,t),v(as.$$.fragment,t),v(os.$$.fragment,t),v(cs.$$.fragment,t),v(is.$$.fragment,t),v(ds.$$.fragment,t),v(ms.$$.fragment,t),v($s.$$.fragment,t),v(ut.$$.fragment,t),v(_s.$$.fragment,t),v(ys.$$.fragment,t),v(bs.$$.fragment,t),v(gs.$$.fragment,t),v(vs.$$.fragment,t),v(Es.$$.fragment,t),v(gt.$$.fragment,t),v(Mt.$$.fragment,t),v(Ts.$$.fragment,t),v(Et.$$.fragment,t),v(Tt.$$.fragment,t),v(ws.$$.fragment,t),v(jt.$$.fragment,t),v(kt.$$.fragment,t),v(js.$$.fragment,t),v(ks.$$.fragment,t),v(Ut.$$.fragment,t),v(Js.$$.fragment,t),v(Rs.$$.fragment,t),v(Ws.$$.fragment,t),v(Is.$$.fragment,t),v(Fs.$$.fragment,t),v(zs.$$.fragment,t),v(Bs.$$.fragment,t),v(Hs.$$.fragment,t),v(Ps.$$.fragment,t),v(Os.$$.fragment,t),v(It.$$.fragment,t),v(qs.$$.fragment,t),v(sl.$$.fragment,t),v(al.$$.fragment,t),v(ol.$$.fragment,t),v(pl.$$.fragment,t),v(fl.$$.fragment,t),v(il.$$.fragment,t),Xn=!1},d(t){s(l),t&&s(m),t&&s(c),E(k),t&&s(A),E(V,t),t&&s(I),t&&s(z),t&&s(R),E(X,t),t&&s(j),t&&s(W),t&&s(B),E(H,t),t&&s(oe),t&&s(P),E(K),t&&s(ae),E(ne,t),t&&s(_e),t&&s(x),t&&s(D),t&&s(le),t&&s(wo),t&&s(fe),t&&s(jo),E(ts,t),t&&s(ko),t&&s(Ve),t&&s(Jo),E(ls,t),t&&s(Uo),t&&s(ft),t&&s(Zo),E(as,t),t&&s(Co),t&&s(rs),t&&s(Ro),E(os,t),t&&s(Go),t&&s(Xe),t&&s(Wo),E(cs,t),t&&s(Ao),t&&s(it),t&&s(Io),E(is,t),t&&s(Vo),t&&s(dt),t&&s(Fo),E(ds,t),t&&s(No),t&&s(mt),t&&s(Xo),t&&s(qe),E(ms),t&&s(zo),t&&s($e),t&&s(Do),E($s,t),t&&s(Bo),E(ut,t),t&&s(Yo),t&&s(Qe),t&&s(So),E(_s,t),t&&s(Ho),t&&s(ze),t&&s(Po),t&&s(xe),E(ys),t&&s(Oo),E(bs,t),t&&s(qo),t&&s(re),t&&s(Qo),t&&s(De),t&&s(xo),t&&s(Le),E(gs),t&&s(Lo),t&&s(yt),t&&s(Ko),t&&s(Ms),t&&s(en),E(vs,t),t&&s(tn),t&&s(El),t&&s(sn),E(Es,t),t&&s(ln),t&&s(Tl),t&&s(an),t&&s(bt),t&&s(rn),t&&s(Ul),t&&s(on),E(gt,t),t&&s(nn),E(Mt,t),t&&s(pn),t&&s(Ke),E(Ts),t&&s(cn),E(Et,t),t&&s(fn),E(Tt,t),t&&s(dn),t&&s(et),E(ws),t&&s(mn),E(jt,t),t&&s(hn),t&&s(Zl),t&&s(un),E(kt,t),t&&s($n),t&&s(tt),E(js),t&&s(_n),t&&s(Cl),t&&s(yn),t&&s(Be),t&&s(bn),E(ks,t),t&&s(gn),E(Ut,t),t&&s(Mn),t&&s(Zt),t&&s(vn),t&&s(st),E(Js),t&&s(En),t&&s(Ye),t&&s(Tn),t&&s(Rt),t&&s(wn),t&&s(ie),E(Rs),E(Ws),E(Is),E(Fs),E(zs),t&&s(jn),t&&s(Wl),E(Bs),t&&s(kn),t&&s(Ys),E(Hs),t&&s(Jn),t&&s(Wt),t&&s(Un),E(Ps,t),t&&s(Zn),t&&s(At),t&&s(Cn),E(Os,t),t&&s(Rn),E(It,t),t&&s(Gn),t&&s(lt),t&&s(Wn),t&&s(Se),t&&s(An),t&&s(at),E(qs),t&&s(In),t&&s(ee),t&&s(Vn),t&&s(de),E(sl),E(al),E(ol),E(pl),E(fl),t&&s(Fn),t&&s(ot),E(il),t&&s(Nn),t&&s(Vl)}}}const a1={local:"quick-tour",sections:[{local:"pipeline",sections:[{local:"use-another-model-and-tokenizer-in-the-pipeline",title:"\uD30C\uC774\uD504\uB77C\uC778\uC5D0\uC11C \uB2E4\uB978 \uBAA8\uB378\uC774\uB098 tokenizer \uC0AC\uC6A9\uD558\uB294 \uBC29\uBC95"}],title:"Pipeline (\uD30C\uC774\uD504\uB77C\uC778)"},{local:"autoclass",sections:[{local:"autotokenizer",title:"AutoTokenizer"},{local:"automodel",title:"AutoModel"},{local:"save-a-model",title:"\uBAA8\uB378 \uC800\uC7A5\uD558\uAE30"}],title:"AutoClass"},{local:"custom-model-builds",title:"\uCEE4\uC2A4\uD140 \uBAA8\uB378 \uAD6C\uCD95\uD558\uAE30"},{local:"trainer-a-pytorch-optimized-training-loop",title:"Trainer - PyTorch\uC5D0 \uCD5C\uC801\uD654\uB41C \uD6C8\uB828 \uBC18\uBCF5 \uB8E8\uD504"},{local:"train-with-tensorflow",title:"TensorFlow\uB85C \uD6C8\uB828\uC2DC\uD0A4\uAE30"},{local:"whats-next",title:"\uC774\uC81C \uBB34\uC5BC \uD558\uBA74 \uB420\uAE4C\uC694?"}],title:"\uB458\uB7EC\uBCF4\uAE30"};function r1(Z){return v2(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class m1 extends y2{constructor(l){super();b2(this,l,r1,l1,g2,{})}}export{m1 as default,a1 as metadata};
