import{S as fi,i as yi,s as ki,e as a,k as e,w as b,t as l,M as di,c as o,d as t,m as g,a as s,x as f,h as r,b as u,G as h,g as c,y,q as k,o as d,B as $,v as $i}from"../../chunks/vendor-hf-doc-builder.js";import{T as wi}from"../../chunks/Tip-hf-doc-builder.js";import{Y as _i}from"../../chunks/Youtube-hf-doc-builder.js";import{I as on}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as jh}from"../../chunks/CodeBlock-hf-doc-builder.js";import{D as Ei}from"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Pi(On){let m,A;return{c(){m=a("p"),A=l("\u{1F6A8} Nhi\u1EC1u v\u1EA5n \u0111\u1EC1 trong kho l\u01B0u tr\u1EEF \u{1F917} Transformers ch\u01B0a \u0111\u01B0\u1EE3c gi\u1EA3i quy\u1EBFt v\xEC kh\xF4ng th\u1EC3 truy c\u1EADp \u0111\u01B0\u1EE3c d\u1EEF li\u1EC7u \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\xE1i t\u1EA1o ch\xFAng.")},l(p){m=o(p,"P",{});var v=s(m);A=r(v,"\u{1F6A8} Nhi\u1EC1u v\u1EA5n \u0111\u1EC1 trong kho l\u01B0u tr\u1EEF \u{1F917} Transformers ch\u01B0a \u0111\u01B0\u1EE3c gi\u1EA3i quy\u1EBFt v\xEC kh\xF4ng th\u1EC3 truy c\u1EADp \u0111\u01B0\u1EE3c d\u1EEF li\u1EC7u \u0111\u01B0\u1EE3c s\u1EED d\u1EE5ng \u0111\u1EC3 t\xE1i t\u1EA1o ch\xFAng."),v.forEach(t)},m(p,v){c(p,m,v),h(m,A)},d(p){p&&t(m)}}}function xi(On){let m,A,p,v,$n,V,Tt,wn,Gt,Fn,J,Dn,C,qt,K,Bt,Ut,Vn,I,Jn,sn,Ht,Kn,_,S,_n,R,Mt,En,Lt,In,ln,Ot,Rn,T,Xn,G,Ft,Pn,Dt,Vt,Yn,rn,Jt,zn,E,q,xn,X,Kt,Nn,It,Qn,B,Rt,Y,Xt,Yt,Wn,U,zt,z,Qt,Wt,Zn,en,Zt,nt,gn,nh,tt,Q,ht,un,th,it,W,ct,w,hh,jn,ih,ch,An,ah,oh,at,P,H,Cn,Z,sh,Sn,lh,ot,M,rh,Tn,eh,gh,st,mn,uh,lt,x,L,Gn,nn,mh,qn,ph,rt,O,vh,Bn,bh,fh,et,tn,gt,pn,yh,ut,vn,kh,mt,bn,dh,pt,N,F,Un,hn,$h,Hn,wh,vt,fn,_h,bt,j,D,Mn,cn,Eh,Ln,Ph,ft,yn,xh,yt,kn,Nh,kt;return V=new on({}),J=new Ei({props:{classNames:"absolute z-10 right-0 top-0",options:[{label:"Google Colab",value:"https://colab.research.google.com/github/huggingface/notebooks/blob/master/course/vi/chapter8/section5.ipynb"},{label:"Aws Studio",value:"https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/master/course/vi/chapter8/section5.ipynb"}]}}),I=new _i({props:{id:"_PAli-V4wj0"}}),R=new on({}),T=new wi({props:{$$slots:{default:[Pi]},$$scope:{ctx:On}}}),X=new on({}),Q=new jh({props:{code:"transformers-cli env",highlighted:'transformers-<span class="hljs-keyword">cli</span> env'}}),W=new jh({props:{code:`Copy-and-paste the text below in your GitHub issue and FILL OUT the two last points.

- \`transformers\` version: 4.12.0.dev0
- Platform: Linux-5.10.61-1-MANJARO-x86_64-with-arch-Manjaro-Linux
- Python version: 3.7.9
- PyTorch version (GPU?): 1.8.1+cu111 (True)
- Tensorflow version (GPU?): 2.5.0 (True)
- Flax version (CPU?/GPU?/TPU?): 0.3.4 (cpu)
- Jax version: 0.2.13
- JaxLib version: 0.1.65
- Using GPU in script?: <fill in>
- Using distributed or parallel set-up in script?: <fill in>`,highlighted:`<span class="hljs-keyword">Copy</span>-<span class="hljs-keyword">and</span>-paste the <span class="hljs-type">text</span> below <span class="hljs-keyword">in</span> your GitHub issue <span class="hljs-keyword">and</span> FILL <span class="hljs-keyword">OUT</span> the two last points.

- \`transformers\` <span class="hljs-keyword">version</span>: <span class="hljs-number">4.12</span><span class="hljs-number">.0</span>.dev0
- Platform: Linux<span class="hljs-number">-5.10</span><span class="hljs-number">.61</span><span class="hljs-number">-1</span>-MANJARO-x86_64-<span class="hljs-keyword">with</span>-arch-Manjaro-Linux
- Python <span class="hljs-keyword">version</span>: <span class="hljs-number">3.7</span><span class="hljs-number">.9</span>
- PyTorch version (GPU?): <span class="hljs-number">1.8</span><span class="hljs-number">.1</span>+cu111 (<span class="hljs-keyword">True</span>)
- Tensorflow version (GPU?): <span class="hljs-number">2.5</span><span class="hljs-number">.0</span> (<span class="hljs-keyword">True</span>)
- Flax version (CPU?/GPU?/TPU?): <span class="hljs-number">0.3</span><span class="hljs-number">.4</span> (cpu)
- Jax <span class="hljs-keyword">version</span>: <span class="hljs-number">0.2</span><span class="hljs-number">.13</span>
- JaxLib <span class="hljs-keyword">version</span>: <span class="hljs-number">0.1</span><span class="hljs-number">.65</span>
- <span class="hljs-keyword">Using</span> GPU <span class="hljs-keyword">in</span> script?: &lt;fill <span class="hljs-keyword">in</span>&gt;
- <span class="hljs-keyword">Using</span> distributed <span class="hljs-keyword">or</span> parallel <span class="hljs-keyword">set</span>-up <span class="hljs-keyword">in</span> script?: &lt;fill <span class="hljs-keyword">in</span>&gt;`}}),Z=new on({}),nn=new on({}),tn=new jh({props:{code:"",highlighted:""}}),hn=new on({}),cn=new on({}),{c(){m=a("meta"),A=e(),p=a("h1"),v=a("a"),$n=a("span"),b(V.$$.fragment),Tt=e(),wn=a("span"),Gt=l("L\xE0m th\u1EBF n\xE0o \u0111\u1EC3 vi\u1EBFt m\u1ED9t v\u1EA5n \u0111\u1EC1 hay"),Fn=e(),b(J.$$.fragment),Dn=e(),C=a("p"),qt=l("Khi b\u1EA1n g\u1EB7p \u0111i\u1EC1u g\xEC \u0111\xF3 c\xF3 v\u1EBB kh\xF4ng \u1ED5n v\u1EDBi m\u1ED9t trong c\xE1c th\u01B0 vi\u1EC7n Hugging Face, b\u1EA1n ch\u1EAFc ch\u1EAFn n\xEAn cho ch\xFAng t\xF4i bi\u1EBFt \u0111\u1EC3 ch\xFAng t\xF4i c\xF3 th\u1EC3 s\u1EEDa ch\u1EEFa n\xF3 (\u0111i\u1EC1u n\xE0y c\u0169ng x\u1EA3y ra v\u1EDBi b\u1EA5t k\u1EF3 th\u01B0 vi\u1EC7n m\xE3 ngu\u1ED3n m\u1EDF n\xE0o, \u0111\u1ED1i v\u1EDBi v\u1EA5n \u0111\u1EC1 \u0111\xF3). N\u1EBFu b\u1EA1n kh\xF4ng ho\xE0n to\xE0n ch\u1EAFc ch\u1EAFn li\u1EC7u l\u1ED7i n\u1EB1m trong m\xE3 c\u1EE7a ri\xEAng b\u1EA1n hay m\u1ED9t trong c\xE1c th\u01B0 vi\u1EC7n c\u1EE7a ch\xFAng t\xF4i, n\u01A1i \u0111\u1EA7u ti\xEAn c\u1EA7n ki\u1EC3m tra l\xE0 "),K=a("a"),Bt=l("di\u1EC5n \u0111\xE0n"),Ut=l(". C\u1ED9ng \u0111\u1ED3ng s\u1EBD gi\xFAp b\u1EA1n t\xECm ra \u0111i\u1EC1u n\xE0y v\xE0 nh\xF3m Hugging Face c\u0169ng theo d\xF5i ch\u1EB7t ch\u1EBD c\xE1c cu\u1ED9c th\u1EA3o lu\u1EADn t\u1EA1i \u0111\xF3."),Vn=e(),b(I.$$.fragment),Jn=e(),sn=a("p"),Ht=l("Khi b\u1EA1n ch\u1EAFc ch\u1EAFn r\u1EB1ng b\u1EA1n c\xF3 m\u1ED9t l\u1ED7i trong tay, b\u01B0\u1EDBc \u0111\u1EA7u ti\xEAn l\xE0 x\xE2y d\u1EF1ng m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u."),Kn=e(),_=a("h2"),S=a("a"),_n=a("span"),b(R.$$.fragment),Mt=e(),En=a("span"),Lt=l("T\u1EA1o m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u"),In=e(),ln=a("p"),Ot=l("\u0110i\u1EC1u r\u1EA5t quan tr\u1ECDng l\xE0 ph\u1EA3i c\xF4 l\u1EADp \u0111o\u1EA1n m\xE3 t\u1EA1o ra l\u1ED7i, v\xEC kh\xF4ng c\xF3 ai trong nh\xF3m Hugging Face l\xE0 \u1EA3o thu\u1EADt gia v\xE0 h\u1ECD kh\xF4ng th\u1EC3 s\u1EEDa nh\u1EEFng g\xEC h\u1ECD kh\xF4ng th\u1EC3 nh\xECn th\u1EA5y. M\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u, nh\u01B0 t\xEAn \u0111\xE3 ch\u1EC9 ra, ph\u1EA3i c\xF3 th\u1EC3 t\xE1i t\u1EA1o \u0111\u01B0\u1EE3c. \u0110i\u1EC1u n\xE0y c\xF3 ngh\u0129a l\xE0 n\xF3 kh\xF4ng n\xEAn d\u1EF1a v\xE0o b\u1EA5t k\u1EF3 t\u1EC7p ho\u1EB7c d\u1EEF li\u1EC7u b\xEAn ngo\xE0i n\xE0o m\xE0 b\u1EA1n c\xF3 th\u1EC3 c\xF3. C\u1ED1 g\u1EAFng thay th\u1EBF d\u1EEF li\u1EC7u b\u1EA1n \u0111ang s\u1EED d\u1EE5ng b\u1EB1ng m\u1ED9t s\u1ED1 gi\xE1 tr\u1ECB gi\u1EA3 tr\xF4ng gi\u1ED1ng nh\u01B0 d\u1EEF li\u1EC7u th\u1EADt c\u1EE7a b\u1EA1n m\xE0 v\u1EABn t\u1EA1o ra l\u1ED7i t\u01B0\u01A1ng t\u1EF1."),Rn=e(),b(T.$$.fragment),Xn=e(),G=a("p"),Ft=l("M\u1ED9t khi b\u1EA1n c\xF3 m\u1ED9t c\xE1i g\xEC \u0111\xF3 \u0111\u1ED9c l\u1EADp, b\u1EA1n c\xF3 th\u1EC3 c\u1ED1 g\u1EAFng gi\u1EA3m n\xF3 th\xE0nh nh\u1EEFng d\xF2ng m\xE3 \xEDt h\u01A1n, x\xE2y d\u1EF1ng c\xE1i m\xE0 ch\xFAng ta g\u1ECDi l\xE0 "),Pn=a("em"),Dt=l("v\xED d\u1EE5 t\u1ED1i gi\u1EA3n c\xF3 th\u1EC3 t\xE1i t\u1EA1o \u0111\u01B0\u1EE3c"),Vt=l(". M\u1EB7c d\xF9 \u0111i\u1EC1u n\xE0y \u0111\xF2i h\u1ECFi b\u1EA1n ph\u1EA3i l\xE0m vi\u1EC7c nhi\u1EC1u h\u01A1n m\u1ED9t ch\xFAt, nh\u01B0ng b\u1EA1n g\u1EA7n nh\u01B0 s\u1EBD \u0111\u01B0\u1EE3c \u0111\u1EA3m b\u1EA3o nh\u1EADn \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp v\xE0 b\u1EA3n s\u1EEDa l\u1ED7i n\u1EBFu b\u1EA1n cung c\u1EA5p m\u1ED9t tr\xECnh t\u1EA1o l\u1ED7i ng\u1EAFn g\u1ECDn, \u0111\u1EB9p m\u1EAFt."),Yn=e(),rn=a("p"),Jt=l("N\u1EBFu b\u1EA1n c\u1EA3m th\u1EA5y \u0111\u1EE7 tho\u1EA3i m\xE1i, h\xE3y ki\u1EC3m tra m\xE3 ngu\u1ED3n n\u01A1i l\u1ED7i c\u1EE7a b\u1EA1n x\u1EA3y ra. B\u1EA1n c\xF3 th\u1EC3 t\xECm th\u1EA5y gi\u1EA3i ph\xE1p cho v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh (trong tr\u01B0\u1EDDng h\u1EE3p \u0111\xF3, b\u1EA1n th\u1EADm ch\xED c\xF3 th\u1EC3 \u0111\u1EC1 xu\u1EA5t m\u1ED9t pull request \u0111\u1EC3 kh\u1EAFc ph\u1EE5c n\xF3), nh\u01B0ng nh\xECn chung, \u0111i\u1EC1u n\xE0y c\xF3 th\u1EC3 gi\xFAp ng\u01B0\u1EDDi b\u1EA3o tr\xEC hi\u1EC3u r\xF5 h\u01A1n v\u1EC1 ngu\u1ED3n khi h\u1ECD \u0111\u1ECDc b\xE1o c\xE1o c\u1EE7a b\u1EA1n."),zn=e(),E=a("h2"),q=a("a"),xn=a("span"),b(X.$$.fragment),Kt=e(),Nn=a("span"),It=l("\u0110i\u1EC1n v\xE0o m\u1EABu v\u1EA5n \u0111\u1EC1"),Qn=e(),B=a("p"),Rt=l("Khi b\u1EA1n g\u1EEDi v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh, b\u1EA1n s\u1EBD th\u1EA5y c\xF3 m\u1ED9t m\u1EABu \u0111\u1EC3 \u0111i\u1EC1n v\xE0o. Ch\xFAng t\xF4i s\u1EBD theo d\xF5i th\xF4ng tin v\u1EC1 "),Y=a("a"),Xt=l("\u{1F917} S\u1EF1 c\u1ED1 v\u1EC1 Transformers"),Yt=l(" t\u1EA1i \u0111\xE2y, nh\u01B0ng lo\u1EA1i th\xF4ng tin t\u01B0\u01A1ng t\u1EF1 s\u1EBD \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u n\u1EBFu b\u1EA1n b\xE1o c\xE1o s\u1EF1 c\u1ED1 trong kho l\u01B0u tr\u1EEF kh\xE1c. \u0110\u1EEBng \u0111\u1EC3 tr\u1ED1ng m\u1EABu: d\xE0nh th\u1EDDi gian \u0111i\u1EC1n v\xE0o m\u1EABu s\u1EBD t\u1ED1i \u0111a h\xF3a c\u01A1 h\u1ED9i nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi v\xE0 gi\u1EA3i quy\u1EBFt v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n."),Wn=e(),U=a("p"),zt=l("N\xF3i chung, khi tr\xECnh b\xE0y m\u1ED9t v\u1EA5n \u0111\u1EC1, h\xE3y lu\xF4n gi\u1EEF th\xE1i \u0111\u1ED9 l\u1ECBch s\u1EF1. \u0110\xE2y l\xE0 m\u1ED9t d\u1EF1 \xE1n m\xE3 ngu\u1ED3n m\u1EDF, v\xEC v\u1EADy b\u1EA1n \u0111ang s\u1EED d\u1EE5ng ph\u1EA7n m\u1EC1m mi\u1EC5n ph\xED v\xE0 kh\xF4ng ai c\xF3 ngh\u0129a v\u1EE5 ph\u1EA3i gi\xFAp b\u1EA1n. B\u1EA1n c\xF3 th\u1EC3 bao g\u1ED3m nh\u1EEFng g\xEC b\u1EA1n c\u1EA3m th\u1EA5y l\xE0 nh\u1EEFng l\u1EDDi ch\u1EC9 tr\xEDch ch\xEDnh \u0111\xE1ng trong v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n, nh\u01B0ng sau \u0111\xF3 nh\u1EEFng ng\u01B0\u1EDDi b\u1EA3o tr\xEC r\u1EA5t c\xF3 th\u1EC3 coi th\u01B0\u1EDDng n\xF3 v\xE0 kh\xF4ng v\u1ED9i v\xE0ng gi\xFAp b\u1EA1n. \u0110\u1EA3m b\u1EA3o r\u1EB1ng b\u1EA1n \u0111\xE3 \u0111\u1ECDc "),z=a("a"),Qt=l("quy t\u1EAFc \u1EE9ng x\u1EED"),Wt=l(" c\u1EE7a d\u1EF1 \xE1n."),Zn=e(),en=a("p"),Zt=l("###Bao g\u1ED3m th\xF4ng tin m\xF4i tr\u01B0\u1EDDng c\u1EE7a b\u1EA1n"),nt=e(),gn=a("p"),nh=l("\u{1F917} Transformers cung c\u1EA5p m\u1ED9t ti\u1EC7n \xEDch \u0111\u1EC3 l\u1EA5y t\u1EA5t c\u1EA3 th\xF4ng tin ch\xFAng t\xF4i c\u1EA7n v\u1EC1 m\xF4i tr\u01B0\u1EDDng c\u1EE7a b\u1EA1n. Ch\u1EC9 c\u1EA7n nh\u1EADp th\xF4ng tin sau v\xE0o thi\u1EBFt b\u1ECB \u0111\u1EA7u cu\u1ED1i nh\u01B0 terminal c\u1EE7a b\u1EA1n:"),tt=e(),b(Q.$$.fragment),ht=e(),un=a("p"),th=l("v\xE0 b\u1EA1n s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c m\u1ED9t c\xE1i g\xEC \u0111\xF3 nh\u01B0 th\u1EBF n\xE0y:"),it=e(),b(W.$$.fragment),ct=e(),w=a("p"),hh=l("B\u1EA1n c\u0169ng c\xF3 th\u1EC3 th\xEAm d\u1EA5u "),jn=a("code"),ih=l("!"),ch=l(" v\xE0o \u0111\u1EA7u l\u1EC7nh "),An=a("code"),ah=l("transformers-cli env"),oh=l(" \u0111\u1EC3 th\u1EF1c thi n\xF3 t\u1EEB m\u1ED9t \xF4 notebook, sau \u0111\xF3 sao ch\xE9p v\xE0 d\xE1n k\u1EBFt qu\u1EA3 v\xE0o \u0111\u1EA7u v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n."),at=e(),P=a("h3"),H=a("a"),Cn=a("span"),b(Z.$$.fragment),sh=e(),Sn=a("span"),lh=l("G\u1EAFn th\u1EBB m\u1ECDi ng\u01B0\u1EDDi"),ot=e(),M=a("p"),rh=l("Vi\u1EC7c g\u1EAFn th\u1EBB m\u1ECDi ng\u01B0\u1EDDi b\u1EB1ng c\xE1ch nh\u1EADp "),Tn=a("code"),eh=l("@"),gh=l(" , theo sau l\xE0 GitHub s\u1EBD g\u1EEDi cho h\u1ECD th\xF4ng b\xE1o \u0111\u1EC3 h\u1ECD th\u1EA5y v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n v\xE0 c\xF3 th\u1EC3 tr\u1EA3 l\u1EDDi nhanh h\u01A1n. S\u1EED d\u1EE5ng \u0111i\u1EC1u n\xE0y m\u1ED9t c\xE1ch c\xF3 ki\u1EC3m duy\u1EC7t, v\xEC nh\u1EEFng ng\u01B0\u1EDDi b\u1EA1n g\u1EAFn th\u1EBB c\xF3 th\u1EC3 kh\xF4ng \u0111\xE1nh gi\xE1 cao vi\u1EC7c \u0111\u01B0\u1EE3c th\xF4ng b\xE1o n\u1EBFu \u0111\xF3 l\xE0 th\u1EE9 m\xE0 h\u1ECD kh\xF4ng c\xF3 li\xEAn k\u1EBFt tr\u1EF1c ti\u1EBFp. N\u1EBFu b\u1EA1n \u0111\xE3 xem c\xE1c t\u1EC7p ngu\u1ED3n li\xEAn quan \u0111\u1EBFn l\u1ED7i c\u1EE7a m\xECnh, b\u1EA1n n\xEAn g\u1EAFn th\u1EBB ng\u01B0\u1EDDi cu\u1ED1i c\xF9ng \u0111\xE3 th\u1EF1c hi\u1EC7n thay \u0111\u1ED5i v\xE0o d\xF2ng m\xE0 b\u1EA1n ngh\u0129 l\xE0 ng\u01B0\u1EDDi ch\u1ECBu tr\xE1ch nhi\u1EC7m cho v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n (b\u1EA1n c\xF3 th\u1EC3 t\xECm th\xF4ng tin n\xE0y b\u1EB1ng c\xE1ch xem d\xF2ng \u0111\xE3 n\xF3i tr\xEAn GitHub, ch\u1ECDn n\xF3, sau \u0111\xF3 nh\u1EA5p v\xE0o \u201CView git blame\u201D hay \u201CXem git \u0111\u1ED5 l\u1ED7i\u201D)."),st=e(),mn=a("p"),uh=l("N\u1EBFu kh\xF4ng, m\u1EABu cung c\u1EA5p \u0111\u1EC1 xu\u1EA5t v\u1EC1 nh\u1EEFng ng\u01B0\u1EDDi c\u1EA7n g\u1EAFn th\u1EBB. N\xF3i chung, \u0111\u1EEBng bao gi\u1EDD g\u1EAFn th\u1EBB nhi\u1EC1u h\u01A1n ba ng\u01B0\u1EDDi!"),lt=e(),x=a("h3"),L=a("a"),Gn=a("span"),b(nn.$$.fragment),mh=e(),qn=a("span"),ph=l("Bao g\u1ED3m m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o"),rt=e(),O=a("p"),vh=l("N\u1EBFu b\u1EA1n \u0111\xE3 c\u1ED1 g\u1EAFng t\u1EA1o m\u1ED9t v\xED d\u1EE5 \u0111\u1ED9c l\u1EADp t\u1EA1o ra l\u1ED7i, b\xE2y gi\u1EDD l\xE0 l\xFAc \u0111\u1EC3 \u0111\u01B0a n\xF3 v\xE0o! Nh\u1EADp m\u1ED9t d\xF2ng c\xF3 ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c theo sau l\xE0 "),Bn=a("code"),bh=l("python"),fh=l(", nh\u01B0 th\u1EBF n\xE0y:"),et=e(),b(tn.$$.fragment),gt=e(),pn=a("p"),yh=l("sau \u0111\xF3 d\xE1n v\xE0o v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u c\u1EE7a b\u1EA1n v\xE0 nh\u1EADp m\u1ED9t d\xF2ng m\u1EDBi v\u1EDBi ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c. \u0110i\u1EC1u n\xE0y s\u1EBD \u0111\u1EA3m b\u1EA3o m\xE3 c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c \u0111\u1ECBnh d\u1EA1ng \u0111\xFAng."),ut=e(),vn=a("p"),kh=l("N\u1EBFu b\u1EA1n kh\xF4ng qu\u1EA3n l\xFD \u0111\u1EC3 t\u1EA1o m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o, h\xE3y gi\u1EA3i th\xEDch theo c\xE1c b\u01B0\u1EDBc r\xF5 r\xE0ng v\u1EC1 c\xE1ch b\u1EA1n gi\u1EA3i quy\u1EBFt v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh. Bao g\u1ED3m m\u1ED9t li\xEAn k\u1EBFt \u0111\u1EBFn m\u1ED9t notebook Google Colab m\xE0 b\u1EA1n g\u1EB7p l\u1ED7i n\u1EBFu c\xF3 th\u1EC3. B\u1EA1n c\xE0ng chia s\u1EBB nhi\u1EC1u th\xF4ng tin, ng\u01B0\u1EDDi b\u1EA3o tr\xEC c\xE0ng c\xF3 th\u1EC3 tr\u1EA3 l\u1EDDi b\u1EA1n t\u1ED1t h\u01A1n."),mt=e(),bn=a("p"),dh=l("Trong m\u1ECDi tr\u01B0\u1EDDng h\u1EE3p, b\u1EA1n n\xEAn sao ch\xE9p v\xE0 d\xE1n to\xE0n b\u1ED9 th\xF4ng b\xE1o l\u1ED7i m\xE0 b\u1EA1n \u0111ang nh\u1EADn \u0111\u01B0\u1EE3c. N\u1EBFu b\u1EA1n \u0111ang l\xE0m vi\u1EC7c trong Colab, h\xE3y nh\u1EDB r\u1EB1ng m\u1ED9t s\u1ED1 khung c\xF3 th\u1EC3 t\u1EF1 \u0111\u1ED9ng \u0111\u01B0\u1EE3c thu g\u1ECDn trong d\u1EA5u v\u1EBFt ng\u0103n x\u1EBFp, v\xEC v\u1EADy h\xE3y \u0111\u1EA3m b\u1EA3o b\u1EA1n m\u1EDF r\u1ED9ng ch\xFAng tr\u01B0\u1EDBc khi sao ch\xE9p. Gi\u1ED1ng nh\u01B0 v\u1EDBi m\u1EABu m\xE3, h\xE3y \u0111\u1EB7t th\xF4ng b\xE1o l\u1ED7i \u0111\xF3 gi\u1EEFa hai d\xF2ng v\u1EDBi ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c \u0111\u1EC3 n\xF3 \u0111\u01B0\u1EE3c \u0111\u1ECBnh d\u1EA1ng \u0111\xFAng."),pt=e(),N=a("h3"),F=a("a"),Un=a("span"),b(hn.$$.fragment),$h=e(),Hn=a("span"),wh=l("M\xF4 t\u1EA3 h\xE0nh vi k\xEC v\u1ECDng"),vt=e(),fn=a("p"),_h=l("Gi\u1EA3i th\xEDch b\u1EB1ng m\u1ED9t v\xE0i d\xF2ng nh\u1EEFng g\xEC b\u1EA1n mong \u0111\u1EE3i s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c \u0111\u1EC3 nh\u1EEFng ng\u01B0\u1EDDi b\u1EA3o tr\xEC n\u1EAFm b\u1EAFt \u0111\u01B0\u1EE3c \u0111\u1EA7y \u0111\u1EE7 v\u1EA5n \u0111\u1EC1. Ph\u1EA7n n\xE0y nh\xECn chung kh\xE1 r\xF5 r\xE0ng, v\xEC v\u1EADy n\xF3 n\xEAn n\u1EB1m g\u1ECDn trong m\u1ED9t c\xE2u, nh\u01B0ng trong m\u1ED9t s\u1ED1 tr\u01B0\u1EDDng h\u1EE3p, b\u1EA1n c\xF3 th\u1EC3 c\xF3 nhi\u1EC1u \u0111i\u1EC1u \u0111\u1EC3 n\xF3i."),bt=e(),j=a("h2"),D=a("a"),Mn=a("span"),b(cn.$$.fragment),Eh=e(),Ln=a("span"),Ph=l("V\xE0 r\u1ED3i chuy\u1EC7n g\xEC x\u1EA3y ra?"),ft=e(),yn=a("p"),xh=l("Sau khi v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c g\u1EEDi, h\xE3y \u0111\u1EA3m b\u1EA3o nhanh ch\xF3ng ki\u1EC3m tra m\u1ECDi th\u1EE9 c\xF3 \u1ED5n kh\xF4ng. B\u1EA1n c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa v\u1EA5n \u0111\u1EC1 n\u1EBFu b\u1EA1n m\u1EAFc l\u1ED7i ho\u1EB7c th\u1EADm ch\xED thay \u0111\u1ED5i ti\xEAu \u0111\u1EC1 c\u1EE7a v\u1EA5n \u0111\u1EC1 n\u1EBFu b\u1EA1n nh\u1EADn ra v\u1EA5n \u0111\u1EC1 kh\xE1c v\u1EDBi nh\u1EEFng g\xEC b\u1EA1n ngh\u0129 ban \u0111\u1EA7u."),yt=e(),kn=a("p"),Nh=l("S\u1EBD kh\xF4ng c\xF3 \xEDch g\xEC khi b\u1EA1n kh\xF4ng nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi. N\u1EBFu kh\xF4ng ai gi\xFAp b\u1EA1n trong m\u1ED9t v\xE0i ng\xE0y, c\xF3 kh\u1EA3 n\u0103ng kh\xF4ng ai c\xF3 th\u1EC3 hi\u1EC3u \u0111\u01B0\u1EE3c v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n. \u0110\u1EEBng ng\u1EA7n ng\u1EA1i quay l\u1EA1i v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o. B\u1EA1n c\xF3 th\u1EC3 l\xE0m cho n\xF3 ng\u1EAFn h\u01A1n v\xE0 nhi\u1EC1u h\u01A1n v\xE0o \u0111i\u1EC3m kh\xF4ng? N\u1EBFu b\u1EA1n kh\xF4ng nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi trong m\u1ED9t tu\u1EA7n, b\u1EA1n c\xF3 th\u1EC3 nh\u1EB9 nh\xE0ng \u0111\u1EC3 l\u1EA1i tin nh\u1EAFn y\xEAu c\u1EA7u tr\u1EE3 gi\xFAp, \u0111\u1EB7c bi\u1EC7t n\u1EBFu b\u1EA1n \u0111\xE3 ch\u1EC9nh s\u1EEDa v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh \u0111\u1EC3 bao g\u1ED3m th\xEAm th\xF4ng tin v\u1EC1 v\u1EA5n \u0111\u1EC1."),this.h()},l(n){const i=di('[data-svelte="svelte-1phssyn"]',document.head);m=o(i,"META",{name:!0,content:!0}),i.forEach(t),A=g(n),p=o(n,"H1",{class:!0});var an=s(p);v=o(an,"A",{id:!0,class:!0,href:!0});var Ah=s(v);$n=o(Ah,"SPAN",{});var Ch=s($n);f(V.$$.fragment,Ch),Ch.forEach(t),Ah.forEach(t),Tt=g(an),wn=o(an,"SPAN",{});var Sh=s(wn);Gt=r(Sh,"L\xE0m th\u1EBF n\xE0o \u0111\u1EC3 vi\u1EBFt m\u1ED9t v\u1EA5n \u0111\u1EC1 hay"),Sh.forEach(t),an.forEach(t),Fn=g(n),f(J.$$.fragment,n),Dn=g(n),C=o(n,"P",{});var dt=s(C);qt=r(dt,"Khi b\u1EA1n g\u1EB7p \u0111i\u1EC1u g\xEC \u0111\xF3 c\xF3 v\u1EBB kh\xF4ng \u1ED5n v\u1EDBi m\u1ED9t trong c\xE1c th\u01B0 vi\u1EC7n Hugging Face, b\u1EA1n ch\u1EAFc ch\u1EAFn n\xEAn cho ch\xFAng t\xF4i bi\u1EBFt \u0111\u1EC3 ch\xFAng t\xF4i c\xF3 th\u1EC3 s\u1EEDa ch\u1EEFa n\xF3 (\u0111i\u1EC1u n\xE0y c\u0169ng x\u1EA3y ra v\u1EDBi b\u1EA5t k\u1EF3 th\u01B0 vi\u1EC7n m\xE3 ngu\u1ED3n m\u1EDF n\xE0o, \u0111\u1ED1i v\u1EDBi v\u1EA5n \u0111\u1EC1 \u0111\xF3). N\u1EBFu b\u1EA1n kh\xF4ng ho\xE0n to\xE0n ch\u1EAFc ch\u1EAFn li\u1EC7u l\u1ED7i n\u1EB1m trong m\xE3 c\u1EE7a ri\xEAng b\u1EA1n hay m\u1ED9t trong c\xE1c th\u01B0 vi\u1EC7n c\u1EE7a ch\xFAng t\xF4i, n\u01A1i \u0111\u1EA7u ti\xEAn c\u1EA7n ki\u1EC3m tra l\xE0 "),K=o(dt,"A",{href:!0,rel:!0});var Th=s(K);Bt=r(Th,"di\u1EC5n \u0111\xE0n"),Th.forEach(t),Ut=r(dt,". C\u1ED9ng \u0111\u1ED3ng s\u1EBD gi\xFAp b\u1EA1n t\xECm ra \u0111i\u1EC1u n\xE0y v\xE0 nh\xF3m Hugging Face c\u0169ng theo d\xF5i ch\u1EB7t ch\u1EBD c\xE1c cu\u1ED9c th\u1EA3o lu\u1EADn t\u1EA1i \u0111\xF3."),dt.forEach(t),Vn=g(n),f(I.$$.fragment,n),Jn=g(n),sn=o(n,"P",{});var Gh=s(sn);Ht=r(Gh,"Khi b\u1EA1n ch\u1EAFc ch\u1EAFn r\u1EB1ng b\u1EA1n c\xF3 m\u1ED9t l\u1ED7i trong tay, b\u01B0\u1EDBc \u0111\u1EA7u ti\xEAn l\xE0 x\xE2y d\u1EF1ng m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u."),Gh.forEach(t),Kn=g(n),_=o(n,"H2",{class:!0});var $t=s(_);S=o($t,"A",{id:!0,class:!0,href:!0});var qh=s(S);_n=o(qh,"SPAN",{});var Bh=s(_n);f(R.$$.fragment,Bh),Bh.forEach(t),qh.forEach(t),Mt=g($t),En=o($t,"SPAN",{});var Uh=s(En);Lt=r(Uh,"T\u1EA1o m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u"),Uh.forEach(t),$t.forEach(t),In=g(n),ln=o(n,"P",{});var Hh=s(ln);Ot=r(Hh,"\u0110i\u1EC1u r\u1EA5t quan tr\u1ECDng l\xE0 ph\u1EA3i c\xF4 l\u1EADp \u0111o\u1EA1n m\xE3 t\u1EA1o ra l\u1ED7i, v\xEC kh\xF4ng c\xF3 ai trong nh\xF3m Hugging Face l\xE0 \u1EA3o thu\u1EADt gia v\xE0 h\u1ECD kh\xF4ng th\u1EC3 s\u1EEDa nh\u1EEFng g\xEC h\u1ECD kh\xF4ng th\u1EC3 nh\xECn th\u1EA5y. M\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u, nh\u01B0 t\xEAn \u0111\xE3 ch\u1EC9 ra, ph\u1EA3i c\xF3 th\u1EC3 t\xE1i t\u1EA1o \u0111\u01B0\u1EE3c. \u0110i\u1EC1u n\xE0y c\xF3 ngh\u0129a l\xE0 n\xF3 kh\xF4ng n\xEAn d\u1EF1a v\xE0o b\u1EA5t k\u1EF3 t\u1EC7p ho\u1EB7c d\u1EEF li\u1EC7u b\xEAn ngo\xE0i n\xE0o m\xE0 b\u1EA1n c\xF3 th\u1EC3 c\xF3. C\u1ED1 g\u1EAFng thay th\u1EBF d\u1EEF li\u1EC7u b\u1EA1n \u0111ang s\u1EED d\u1EE5ng b\u1EB1ng m\u1ED9t s\u1ED1 gi\xE1 tr\u1ECB gi\u1EA3 tr\xF4ng gi\u1ED1ng nh\u01B0 d\u1EEF li\u1EC7u th\u1EADt c\u1EE7a b\u1EA1n m\xE0 v\u1EABn t\u1EA1o ra l\u1ED7i t\u01B0\u01A1ng t\u1EF1."),Hh.forEach(t),Rn=g(n),f(T.$$.fragment,n),Xn=g(n),G=o(n,"P",{});var wt=s(G);Ft=r(wt,"M\u1ED9t khi b\u1EA1n c\xF3 m\u1ED9t c\xE1i g\xEC \u0111\xF3 \u0111\u1ED9c l\u1EADp, b\u1EA1n c\xF3 th\u1EC3 c\u1ED1 g\u1EAFng gi\u1EA3m n\xF3 th\xE0nh nh\u1EEFng d\xF2ng m\xE3 \xEDt h\u01A1n, x\xE2y d\u1EF1ng c\xE1i m\xE0 ch\xFAng ta g\u1ECDi l\xE0 "),Pn=o(wt,"EM",{});var Mh=s(Pn);Dt=r(Mh,"v\xED d\u1EE5 t\u1ED1i gi\u1EA3n c\xF3 th\u1EC3 t\xE1i t\u1EA1o \u0111\u01B0\u1EE3c"),Mh.forEach(t),Vt=r(wt,". M\u1EB7c d\xF9 \u0111i\u1EC1u n\xE0y \u0111\xF2i h\u1ECFi b\u1EA1n ph\u1EA3i l\xE0m vi\u1EC7c nhi\u1EC1u h\u01A1n m\u1ED9t ch\xFAt, nh\u01B0ng b\u1EA1n g\u1EA7n nh\u01B0 s\u1EBD \u0111\u01B0\u1EE3c \u0111\u1EA3m b\u1EA3o nh\u1EADn \u0111\u01B0\u1EE3c tr\u1EE3 gi\xFAp v\xE0 b\u1EA3n s\u1EEDa l\u1ED7i n\u1EBFu b\u1EA1n cung c\u1EA5p m\u1ED9t tr\xECnh t\u1EA1o l\u1ED7i ng\u1EAFn g\u1ECDn, \u0111\u1EB9p m\u1EAFt."),wt.forEach(t),Yn=g(n),rn=o(n,"P",{});var Lh=s(rn);Jt=r(Lh,"N\u1EBFu b\u1EA1n c\u1EA3m th\u1EA5y \u0111\u1EE7 tho\u1EA3i m\xE1i, h\xE3y ki\u1EC3m tra m\xE3 ngu\u1ED3n n\u01A1i l\u1ED7i c\u1EE7a b\u1EA1n x\u1EA3y ra. B\u1EA1n c\xF3 th\u1EC3 t\xECm th\u1EA5y gi\u1EA3i ph\xE1p cho v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh (trong tr\u01B0\u1EDDng h\u1EE3p \u0111\xF3, b\u1EA1n th\u1EADm ch\xED c\xF3 th\u1EC3 \u0111\u1EC1 xu\u1EA5t m\u1ED9t pull request \u0111\u1EC3 kh\u1EAFc ph\u1EE5c n\xF3), nh\u01B0ng nh\xECn chung, \u0111i\u1EC1u n\xE0y c\xF3 th\u1EC3 gi\xFAp ng\u01B0\u1EDDi b\u1EA3o tr\xEC hi\u1EC3u r\xF5 h\u01A1n v\u1EC1 ngu\u1ED3n khi h\u1ECD \u0111\u1ECDc b\xE1o c\xE1o c\u1EE7a b\u1EA1n."),Lh.forEach(t),zn=g(n),E=o(n,"H2",{class:!0});var _t=s(E);q=o(_t,"A",{id:!0,class:!0,href:!0});var Oh=s(q);xn=o(Oh,"SPAN",{});var Fh=s(xn);f(X.$$.fragment,Fh),Fh.forEach(t),Oh.forEach(t),Kt=g(_t),Nn=o(_t,"SPAN",{});var Dh=s(Nn);It=r(Dh,"\u0110i\u1EC1n v\xE0o m\u1EABu v\u1EA5n \u0111\u1EC1"),Dh.forEach(t),_t.forEach(t),Qn=g(n),B=o(n,"P",{});var Et=s(B);Rt=r(Et,"Khi b\u1EA1n g\u1EEDi v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh, b\u1EA1n s\u1EBD th\u1EA5y c\xF3 m\u1ED9t m\u1EABu \u0111\u1EC3 \u0111i\u1EC1n v\xE0o. Ch\xFAng t\xF4i s\u1EBD theo d\xF5i th\xF4ng tin v\u1EC1 "),Y=o(Et,"A",{href:!0,rel:!0});var Vh=s(Y);Xt=r(Vh,"\u{1F917} S\u1EF1 c\u1ED1 v\u1EC1 Transformers"),Vh.forEach(t),Yt=r(Et," t\u1EA1i \u0111\xE2y, nh\u01B0ng lo\u1EA1i th\xF4ng tin t\u01B0\u01A1ng t\u1EF1 s\u1EBD \u0111\u01B0\u1EE3c y\xEAu c\u1EA7u n\u1EBFu b\u1EA1n b\xE1o c\xE1o s\u1EF1 c\u1ED1 trong kho l\u01B0u tr\u1EEF kh\xE1c. \u0110\u1EEBng \u0111\u1EC3 tr\u1ED1ng m\u1EABu: d\xE0nh th\u1EDDi gian \u0111i\u1EC1n v\xE0o m\u1EABu s\u1EBD t\u1ED1i \u0111a h\xF3a c\u01A1 h\u1ED9i nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi v\xE0 gi\u1EA3i quy\u1EBFt v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n."),Et.forEach(t),Wn=g(n),U=o(n,"P",{});var Pt=s(U);zt=r(Pt,"N\xF3i chung, khi tr\xECnh b\xE0y m\u1ED9t v\u1EA5n \u0111\u1EC1, h\xE3y lu\xF4n gi\u1EEF th\xE1i \u0111\u1ED9 l\u1ECBch s\u1EF1. \u0110\xE2y l\xE0 m\u1ED9t d\u1EF1 \xE1n m\xE3 ngu\u1ED3n m\u1EDF, v\xEC v\u1EADy b\u1EA1n \u0111ang s\u1EED d\u1EE5ng ph\u1EA7n m\u1EC1m mi\u1EC5n ph\xED v\xE0 kh\xF4ng ai c\xF3 ngh\u0129a v\u1EE5 ph\u1EA3i gi\xFAp b\u1EA1n. B\u1EA1n c\xF3 th\u1EC3 bao g\u1ED3m nh\u1EEFng g\xEC b\u1EA1n c\u1EA3m th\u1EA5y l\xE0 nh\u1EEFng l\u1EDDi ch\u1EC9 tr\xEDch ch\xEDnh \u0111\xE1ng trong v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n, nh\u01B0ng sau \u0111\xF3 nh\u1EEFng ng\u01B0\u1EDDi b\u1EA3o tr\xEC r\u1EA5t c\xF3 th\u1EC3 coi th\u01B0\u1EDDng n\xF3 v\xE0 kh\xF4ng v\u1ED9i v\xE0ng gi\xFAp b\u1EA1n. \u0110\u1EA3m b\u1EA3o r\u1EB1ng b\u1EA1n \u0111\xE3 \u0111\u1ECDc "),z=o(Pt,"A",{href:!0,rel:!0});var Jh=s(z);Qt=r(Jh,"quy t\u1EAFc \u1EE9ng x\u1EED"),Jh.forEach(t),Wt=r(Pt," c\u1EE7a d\u1EF1 \xE1n."),Pt.forEach(t),Zn=g(n),en=o(n,"P",{});var Kh=s(en);Zt=r(Kh,"###Bao g\u1ED3m th\xF4ng tin m\xF4i tr\u01B0\u1EDDng c\u1EE7a b\u1EA1n"),Kh.forEach(t),nt=g(n),gn=o(n,"P",{});var Ih=s(gn);nh=r(Ih,"\u{1F917} Transformers cung c\u1EA5p m\u1ED9t ti\u1EC7n \xEDch \u0111\u1EC3 l\u1EA5y t\u1EA5t c\u1EA3 th\xF4ng tin ch\xFAng t\xF4i c\u1EA7n v\u1EC1 m\xF4i tr\u01B0\u1EDDng c\u1EE7a b\u1EA1n. Ch\u1EC9 c\u1EA7n nh\u1EADp th\xF4ng tin sau v\xE0o thi\u1EBFt b\u1ECB \u0111\u1EA7u cu\u1ED1i nh\u01B0 terminal c\u1EE7a b\u1EA1n:"),Ih.forEach(t),tt=g(n),f(Q.$$.fragment,n),ht=g(n),un=o(n,"P",{});var Rh=s(un);th=r(Rh,"v\xE0 b\u1EA1n s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c m\u1ED9t c\xE1i g\xEC \u0111\xF3 nh\u01B0 th\u1EBF n\xE0y:"),Rh.forEach(t),it=g(n),f(W.$$.fragment,n),ct=g(n),w=o(n,"P",{});var dn=s(w);hh=r(dn,"B\u1EA1n c\u0169ng c\xF3 th\u1EC3 th\xEAm d\u1EA5u "),jn=o(dn,"CODE",{});var Xh=s(jn);ih=r(Xh,"!"),Xh.forEach(t),ch=r(dn," v\xE0o \u0111\u1EA7u l\u1EC7nh "),An=o(dn,"CODE",{});var Yh=s(An);ah=r(Yh,"transformers-cli env"),Yh.forEach(t),oh=r(dn," \u0111\u1EC3 th\u1EF1c thi n\xF3 t\u1EEB m\u1ED9t \xF4 notebook, sau \u0111\xF3 sao ch\xE9p v\xE0 d\xE1n k\u1EBFt qu\u1EA3 v\xE0o \u0111\u1EA7u v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n."),dn.forEach(t),at=g(n),P=o(n,"H3",{class:!0});var xt=s(P);H=o(xt,"A",{id:!0,class:!0,href:!0});var zh=s(H);Cn=o(zh,"SPAN",{});var Qh=s(Cn);f(Z.$$.fragment,Qh),Qh.forEach(t),zh.forEach(t),sh=g(xt),Sn=o(xt,"SPAN",{});var Wh=s(Sn);lh=r(Wh,"G\u1EAFn th\u1EBB m\u1ECDi ng\u01B0\u1EDDi"),Wh.forEach(t),xt.forEach(t),ot=g(n),M=o(n,"P",{});var Nt=s(M);rh=r(Nt,"Vi\u1EC7c g\u1EAFn th\u1EBB m\u1ECDi ng\u01B0\u1EDDi b\u1EB1ng c\xE1ch nh\u1EADp "),Tn=o(Nt,"CODE",{});var Zh=s(Tn);eh=r(Zh,"@"),Zh.forEach(t),gh=r(Nt," , theo sau l\xE0 GitHub s\u1EBD g\u1EEDi cho h\u1ECD th\xF4ng b\xE1o \u0111\u1EC3 h\u1ECD th\u1EA5y v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n v\xE0 c\xF3 th\u1EC3 tr\u1EA3 l\u1EDDi nhanh h\u01A1n. S\u1EED d\u1EE5ng \u0111i\u1EC1u n\xE0y m\u1ED9t c\xE1ch c\xF3 ki\u1EC3m duy\u1EC7t, v\xEC nh\u1EEFng ng\u01B0\u1EDDi b\u1EA1n g\u1EAFn th\u1EBB c\xF3 th\u1EC3 kh\xF4ng \u0111\xE1nh gi\xE1 cao vi\u1EC7c \u0111\u01B0\u1EE3c th\xF4ng b\xE1o n\u1EBFu \u0111\xF3 l\xE0 th\u1EE9 m\xE0 h\u1ECD kh\xF4ng c\xF3 li\xEAn k\u1EBFt tr\u1EF1c ti\u1EBFp. N\u1EBFu b\u1EA1n \u0111\xE3 xem c\xE1c t\u1EC7p ngu\u1ED3n li\xEAn quan \u0111\u1EBFn l\u1ED7i c\u1EE7a m\xECnh, b\u1EA1n n\xEAn g\u1EAFn th\u1EBB ng\u01B0\u1EDDi cu\u1ED1i c\xF9ng \u0111\xE3 th\u1EF1c hi\u1EC7n thay \u0111\u1ED5i v\xE0o d\xF2ng m\xE0 b\u1EA1n ngh\u0129 l\xE0 ng\u01B0\u1EDDi ch\u1ECBu tr\xE1ch nhi\u1EC7m cho v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n (b\u1EA1n c\xF3 th\u1EC3 t\xECm th\xF4ng tin n\xE0y b\u1EB1ng c\xE1ch xem d\xF2ng \u0111\xE3 n\xF3i tr\xEAn GitHub, ch\u1ECDn n\xF3, sau \u0111\xF3 nh\u1EA5p v\xE0o \u201CView git blame\u201D hay \u201CXem git \u0111\u1ED5 l\u1ED7i\u201D)."),Nt.forEach(t),st=g(n),mn=o(n,"P",{});var ni=s(mn);uh=r(ni,"N\u1EBFu kh\xF4ng, m\u1EABu cung c\u1EA5p \u0111\u1EC1 xu\u1EA5t v\u1EC1 nh\u1EEFng ng\u01B0\u1EDDi c\u1EA7n g\u1EAFn th\u1EBB. N\xF3i chung, \u0111\u1EEBng bao gi\u1EDD g\u1EAFn th\u1EBB nhi\u1EC1u h\u01A1n ba ng\u01B0\u1EDDi!"),ni.forEach(t),lt=g(n),x=o(n,"H3",{class:!0});var jt=s(x);L=o(jt,"A",{id:!0,class:!0,href:!0});var ti=s(L);Gn=o(ti,"SPAN",{});var hi=s(Gn);f(nn.$$.fragment,hi),hi.forEach(t),ti.forEach(t),mh=g(jt),qn=o(jt,"SPAN",{});var ii=s(qn);ph=r(ii,"Bao g\u1ED3m m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o"),ii.forEach(t),jt.forEach(t),rt=g(n),O=o(n,"P",{});var At=s(O);vh=r(At,"N\u1EBFu b\u1EA1n \u0111\xE3 c\u1ED1 g\u1EAFng t\u1EA1o m\u1ED9t v\xED d\u1EE5 \u0111\u1ED9c l\u1EADp t\u1EA1o ra l\u1ED7i, b\xE2y gi\u1EDD l\xE0 l\xFAc \u0111\u1EC3 \u0111\u01B0a n\xF3 v\xE0o! Nh\u1EADp m\u1ED9t d\xF2ng c\xF3 ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c theo sau l\xE0 "),Bn=o(At,"CODE",{});var ci=s(Bn);bh=r(ci,"python"),ci.forEach(t),fh=r(At,", nh\u01B0 th\u1EBF n\xE0y:"),At.forEach(t),et=g(n),f(tn.$$.fragment,n),gt=g(n),pn=o(n,"P",{});var ai=s(pn);yh=r(ai,"sau \u0111\xF3 d\xE1n v\xE0o v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u c\u1EE7a b\u1EA1n v\xE0 nh\u1EADp m\u1ED9t d\xF2ng m\u1EDBi v\u1EDBi ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c. \u0110i\u1EC1u n\xE0y s\u1EBD \u0111\u1EA3m b\u1EA3o m\xE3 c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c \u0111\u1ECBnh d\u1EA1ng \u0111\xFAng."),ai.forEach(t),ut=g(n),vn=o(n,"P",{});var oi=s(vn);kh=r(oi,"N\u1EBFu b\u1EA1n kh\xF4ng qu\u1EA3n l\xFD \u0111\u1EC3 t\u1EA1o m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o, h\xE3y gi\u1EA3i th\xEDch theo c\xE1c b\u01B0\u1EDBc r\xF5 r\xE0ng v\u1EC1 c\xE1ch b\u1EA1n gi\u1EA3i quy\u1EBFt v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh. Bao g\u1ED3m m\u1ED9t li\xEAn k\u1EBFt \u0111\u1EBFn m\u1ED9t notebook Google Colab m\xE0 b\u1EA1n g\u1EB7p l\u1ED7i n\u1EBFu c\xF3 th\u1EC3. B\u1EA1n c\xE0ng chia s\u1EBB nhi\u1EC1u th\xF4ng tin, ng\u01B0\u1EDDi b\u1EA3o tr\xEC c\xE0ng c\xF3 th\u1EC3 tr\u1EA3 l\u1EDDi b\u1EA1n t\u1ED1t h\u01A1n."),oi.forEach(t),mt=g(n),bn=o(n,"P",{});var si=s(bn);dh=r(si,"Trong m\u1ECDi tr\u01B0\u1EDDng h\u1EE3p, b\u1EA1n n\xEAn sao ch\xE9p v\xE0 d\xE1n to\xE0n b\u1ED9 th\xF4ng b\xE1o l\u1ED7i m\xE0 b\u1EA1n \u0111ang nh\u1EADn \u0111\u01B0\u1EE3c. N\u1EBFu b\u1EA1n \u0111ang l\xE0m vi\u1EC7c trong Colab, h\xE3y nh\u1EDB r\u1EB1ng m\u1ED9t s\u1ED1 khung c\xF3 th\u1EC3 t\u1EF1 \u0111\u1ED9ng \u0111\u01B0\u1EE3c thu g\u1ECDn trong d\u1EA5u v\u1EBFt ng\u0103n x\u1EBFp, v\xEC v\u1EADy h\xE3y \u0111\u1EA3m b\u1EA3o b\u1EA1n m\u1EDF r\u1ED9ng ch\xFAng tr\u01B0\u1EDBc khi sao ch\xE9p. Gi\u1ED1ng nh\u01B0 v\u1EDBi m\u1EABu m\xE3, h\xE3y \u0111\u1EB7t th\xF4ng b\xE1o l\u1ED7i \u0111\xF3 gi\u1EEFa hai d\xF2ng v\u1EDBi ba d\u1EA5u g\u1EA1ch ng\u01B0\u1EE3c \u0111\u1EC3 n\xF3 \u0111\u01B0\u1EE3c \u0111\u1ECBnh d\u1EA1ng \u0111\xFAng."),si.forEach(t),pt=g(n),N=o(n,"H3",{class:!0});var Ct=s(N);F=o(Ct,"A",{id:!0,class:!0,href:!0});var li=s(F);Un=o(li,"SPAN",{});var ri=s(Un);f(hn.$$.fragment,ri),ri.forEach(t),li.forEach(t),$h=g(Ct),Hn=o(Ct,"SPAN",{});var ei=s(Hn);wh=r(ei,"M\xF4 t\u1EA3 h\xE0nh vi k\xEC v\u1ECDng"),ei.forEach(t),Ct.forEach(t),vt=g(n),fn=o(n,"P",{});var gi=s(fn);_h=r(gi,"Gi\u1EA3i th\xEDch b\u1EB1ng m\u1ED9t v\xE0i d\xF2ng nh\u1EEFng g\xEC b\u1EA1n mong \u0111\u1EE3i s\u1EBD nh\u1EADn \u0111\u01B0\u1EE3c \u0111\u1EC3 nh\u1EEFng ng\u01B0\u1EDDi b\u1EA3o tr\xEC n\u1EAFm b\u1EAFt \u0111\u01B0\u1EE3c \u0111\u1EA7y \u0111\u1EE7 v\u1EA5n \u0111\u1EC1. Ph\u1EA7n n\xE0y nh\xECn chung kh\xE1 r\xF5 r\xE0ng, v\xEC v\u1EADy n\xF3 n\xEAn n\u1EB1m g\u1ECDn trong m\u1ED9t c\xE2u, nh\u01B0ng trong m\u1ED9t s\u1ED1 tr\u01B0\u1EDDng h\u1EE3p, b\u1EA1n c\xF3 th\u1EC3 c\xF3 nhi\u1EC1u \u0111i\u1EC1u \u0111\u1EC3 n\xF3i."),gi.forEach(t),bt=g(n),j=o(n,"H2",{class:!0});var St=s(j);D=o(St,"A",{id:!0,class:!0,href:!0});var ui=s(D);Mn=o(ui,"SPAN",{});var mi=s(Mn);f(cn.$$.fragment,mi),mi.forEach(t),ui.forEach(t),Eh=g(St),Ln=o(St,"SPAN",{});var pi=s(Ln);Ph=r(pi,"V\xE0 r\u1ED3i chuy\u1EC7n g\xEC x\u1EA3y ra?"),pi.forEach(t),St.forEach(t),ft=g(n),yn=o(n,"P",{});var vi=s(yn);xh=r(vi,"Sau khi v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n \u0111\u01B0\u1EE3c g\u1EEDi, h\xE3y \u0111\u1EA3m b\u1EA3o nhanh ch\xF3ng ki\u1EC3m tra m\u1ECDi th\u1EE9 c\xF3 \u1ED5n kh\xF4ng. B\u1EA1n c\xF3 th\u1EC3 ch\u1EC9nh s\u1EEDa v\u1EA5n \u0111\u1EC1 n\u1EBFu b\u1EA1n m\u1EAFc l\u1ED7i ho\u1EB7c th\u1EADm ch\xED thay \u0111\u1ED5i ti\xEAu \u0111\u1EC1 c\u1EE7a v\u1EA5n \u0111\u1EC1 n\u1EBFu b\u1EA1n nh\u1EADn ra v\u1EA5n \u0111\u1EC1 kh\xE1c v\u1EDBi nh\u1EEFng g\xEC b\u1EA1n ngh\u0129 ban \u0111\u1EA7u."),vi.forEach(t),yt=g(n),kn=o(n,"P",{});var bi=s(kn);Nh=r(bi,"S\u1EBD kh\xF4ng c\xF3 \xEDch g\xEC khi b\u1EA1n kh\xF4ng nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi. N\u1EBFu kh\xF4ng ai gi\xFAp b\u1EA1n trong m\u1ED9t v\xE0i ng\xE0y, c\xF3 kh\u1EA3 n\u0103ng kh\xF4ng ai c\xF3 th\u1EC3 hi\u1EC3u \u0111\u01B0\u1EE3c v\u1EA5n \u0111\u1EC1 c\u1EE7a b\u1EA1n. \u0110\u1EEBng ng\u1EA7n ng\u1EA1i quay l\u1EA1i v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o. B\u1EA1n c\xF3 th\u1EC3 l\xE0m cho n\xF3 ng\u1EAFn h\u01A1n v\xE0 nhi\u1EC1u h\u01A1n v\xE0o \u0111i\u1EC3m kh\xF4ng? N\u1EBFu b\u1EA1n kh\xF4ng nh\u1EADn \u0111\u01B0\u1EE3c c\xE2u tr\u1EA3 l\u1EDDi trong m\u1ED9t tu\u1EA7n, b\u1EA1n c\xF3 th\u1EC3 nh\u1EB9 nh\xE0ng \u0111\u1EC3 l\u1EA1i tin nh\u1EAFn y\xEAu c\u1EA7u tr\u1EE3 gi\xFAp, \u0111\u1EB7c bi\u1EC7t n\u1EBFu b\u1EA1n \u0111\xE3 ch\u1EC9nh s\u1EEDa v\u1EA5n \u0111\u1EC1 c\u1EE7a m\xECnh \u0111\u1EC3 bao g\u1ED3m th\xEAm th\xF4ng tin v\u1EC1 v\u1EA5n \u0111\u1EC1."),bi.forEach(t),this.h()},h(){u(m,"name","hf:doc:metadata"),u(m,"content",JSON.stringify(Ni)),u(v,"id","lm-th-no-vit-mt-vn-hay"),u(v,"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"),u(v,"href","#lm-th-no-vit-mt-vn-hay"),u(p,"class","relative group"),u(K,"href","https://discuss.huggingface.co/"),u(K,"rel","nofollow"),u(S,"id","to-mt-v-d-c-th-ti-to-ti-thiu"),u(S,"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"),u(S,"href","#to-mt-v-d-c-th-ti-to-ti-thiu"),u(_,"class","relative group"),u(q,"id","in-vo-mu-vn"),u(q,"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"),u(q,"href","#in-vo-mu-vn"),u(E,"class","relative group"),u(Y,"href","https://github.com/huggingface/transformers/issues/new/choose"),u(Y,"rel","nofollow"),u(z,"href","https://github.com/huggingface/transformers/blob/master/CODE_OF_CONDUCT.md"),u(z,"rel","nofollow"),u(H,"id","gn-th-mi-ngi"),u(H,"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"),u(H,"href","#gn-th-mi-ngi"),u(P,"class","relative group"),u(L,"id","bao-gm-mt-v-d-c-th-ti-to"),u(L,"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"),u(L,"href","#bao-gm-mt-v-d-c-th-ti-to"),u(x,"class","relative group"),u(F,"id","m-t-hnh-vi-k-vng"),u(F,"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"),u(F,"href","#m-t-hnh-vi-k-vng"),u(N,"class","relative group"),u(D,"id","v-ri-chuyn-g-xy-ra"),u(D,"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"),u(D,"href","#v-ri-chuyn-g-xy-ra"),u(j,"class","relative group")},m(n,i){h(document.head,m),c(n,A,i),c(n,p,i),h(p,v),h(v,$n),y(V,$n,null),h(p,Tt),h(p,wn),h(wn,Gt),c(n,Fn,i),y(J,n,i),c(n,Dn,i),c(n,C,i),h(C,qt),h(C,K),h(K,Bt),h(C,Ut),c(n,Vn,i),y(I,n,i),c(n,Jn,i),c(n,sn,i),h(sn,Ht),c(n,Kn,i),c(n,_,i),h(_,S),h(S,_n),y(R,_n,null),h(_,Mt),h(_,En),h(En,Lt),c(n,In,i),c(n,ln,i),h(ln,Ot),c(n,Rn,i),y(T,n,i),c(n,Xn,i),c(n,G,i),h(G,Ft),h(G,Pn),h(Pn,Dt),h(G,Vt),c(n,Yn,i),c(n,rn,i),h(rn,Jt),c(n,zn,i),c(n,E,i),h(E,q),h(q,xn),y(X,xn,null),h(E,Kt),h(E,Nn),h(Nn,It),c(n,Qn,i),c(n,B,i),h(B,Rt),h(B,Y),h(Y,Xt),h(B,Yt),c(n,Wn,i),c(n,U,i),h(U,zt),h(U,z),h(z,Qt),h(U,Wt),c(n,Zn,i),c(n,en,i),h(en,Zt),c(n,nt,i),c(n,gn,i),h(gn,nh),c(n,tt,i),y(Q,n,i),c(n,ht,i),c(n,un,i),h(un,th),c(n,it,i),y(W,n,i),c(n,ct,i),c(n,w,i),h(w,hh),h(w,jn),h(jn,ih),h(w,ch),h(w,An),h(An,ah),h(w,oh),c(n,at,i),c(n,P,i),h(P,H),h(H,Cn),y(Z,Cn,null),h(P,sh),h(P,Sn),h(Sn,lh),c(n,ot,i),c(n,M,i),h(M,rh),h(M,Tn),h(Tn,eh),h(M,gh),c(n,st,i),c(n,mn,i),h(mn,uh),c(n,lt,i),c(n,x,i),h(x,L),h(L,Gn),y(nn,Gn,null),h(x,mh),h(x,qn),h(qn,ph),c(n,rt,i),c(n,O,i),h(O,vh),h(O,Bn),h(Bn,bh),h(O,fh),c(n,et,i),y(tn,n,i),c(n,gt,i),c(n,pn,i),h(pn,yh),c(n,ut,i),c(n,vn,i),h(vn,kh),c(n,mt,i),c(n,bn,i),h(bn,dh),c(n,pt,i),c(n,N,i),h(N,F),h(F,Un),y(hn,Un,null),h(N,$h),h(N,Hn),h(Hn,wh),c(n,vt,i),c(n,fn,i),h(fn,_h),c(n,bt,i),c(n,j,i),h(j,D),h(D,Mn),y(cn,Mn,null),h(j,Eh),h(j,Ln),h(Ln,Ph),c(n,ft,i),c(n,yn,i),h(yn,xh),c(n,yt,i),c(n,kn,i),h(kn,Nh),kt=!0},p(n,[i]){const an={};i&2&&(an.$$scope={dirty:i,ctx:n}),T.$set(an)},i(n){kt||(k(V.$$.fragment,n),k(J.$$.fragment,n),k(I.$$.fragment,n),k(R.$$.fragment,n),k(T.$$.fragment,n),k(X.$$.fragment,n),k(Q.$$.fragment,n),k(W.$$.fragment,n),k(Z.$$.fragment,n),k(nn.$$.fragment,n),k(tn.$$.fragment,n),k(hn.$$.fragment,n),k(cn.$$.fragment,n),kt=!0)},o(n){d(V.$$.fragment,n),d(J.$$.fragment,n),d(I.$$.fragment,n),d(R.$$.fragment,n),d(T.$$.fragment,n),d(X.$$.fragment,n),d(Q.$$.fragment,n),d(W.$$.fragment,n),d(Z.$$.fragment,n),d(nn.$$.fragment,n),d(tn.$$.fragment,n),d(hn.$$.fragment,n),d(cn.$$.fragment,n),kt=!1},d(n){t(m),n&&t(A),n&&t(p),$(V),n&&t(Fn),$(J,n),n&&t(Dn),n&&t(C),n&&t(Vn),$(I,n),n&&t(Jn),n&&t(sn),n&&t(Kn),n&&t(_),$(R),n&&t(In),n&&t(ln),n&&t(Rn),$(T,n),n&&t(Xn),n&&t(G),n&&t(Yn),n&&t(rn),n&&t(zn),n&&t(E),$(X),n&&t(Qn),n&&t(B),n&&t(Wn),n&&t(U),n&&t(Zn),n&&t(en),n&&t(nt),n&&t(gn),n&&t(tt),$(Q,n),n&&t(ht),n&&t(un),n&&t(it),$(W,n),n&&t(ct),n&&t(w),n&&t(at),n&&t(P),$(Z),n&&t(ot),n&&t(M),n&&t(st),n&&t(mn),n&&t(lt),n&&t(x),$(nn),n&&t(rt),n&&t(O),n&&t(et),$(tn,n),n&&t(gt),n&&t(pn),n&&t(ut),n&&t(vn),n&&t(mt),n&&t(bn),n&&t(pt),n&&t(N),$(hn),n&&t(vt),n&&t(fn),n&&t(bt),n&&t(j),$(cn),n&&t(ft),n&&t(yn),n&&t(yt),n&&t(kn)}}}const Ni={local:"lm-th-no-vit-mt-vn-hay",sections:[{local:"to-mt-v-d-c-th-ti-to-ti-thiu",title:"T\u1EA1o m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o t\u1ED1i thi\u1EC3u"},{local:"in-vo-mu-vn",sections:[{local:"gn-th-mi-ngi",title:"G\u1EAFn th\u1EBB m\u1ECDi ng\u01B0\u1EDDi"},{local:"bao-gm-mt-v-d-c-th-ti-to",title:"Bao g\u1ED3m m\u1ED9t v\xED d\u1EE5 c\xF3 th\u1EC3 t\xE1i t\u1EA1o"},{local:"m-t-hnh-vi-k-vng",title:"M\xF4 t\u1EA3 h\xE0nh vi k\xEC v\u1ECDng"}],title:"\u0110i\u1EC1n v\xE0o m\u1EABu v\u1EA5n \u0111\u1EC1"},{local:"v-ri-chuyn-g-xy-ra",title:"V\xE0 r\u1ED3i chuy\u1EC7n g\xEC x\u1EA3y ra?"}],title:"L\xE0m th\u1EBF n\xE0o \u0111\u1EC3 vi\u1EBFt m\u1ED9t v\u1EA5n \u0111\u1EC1 hay"};function ji(On){return $i(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Bi extends fi{constructor(m){super();yi(this,m,ji,xi,ki,{})}}export{Bi as default,Ni as metadata};
