import{S as ue,i as ge,s as pe,e as r,k as s,w as f,t as _,M as me,c,d as n,m as u,x as v,a as i,h as k,b as o,G as e,g as l,y as $,o as p,p as fe,q as m,B as d,v as ve,n as $e}from"../../chunks/vendor-hf-doc-builder.js";import{I as z}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as de}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import{Q as M}from"../../chunks/Question-hf-doc-builder.js";import{F as be}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function _e(R){let g,b;return g=new M({props:{choices:[{text:"M\u1ED9t tokenizer",explain:"\u0110\xFAng! T\u1EA5t c\u1EA3 c\xE1c tr\xECnh tokenize \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p tokenizer (t\u1EEB v\u1EF1ng, ki\u1EBFn \u200B\u200Btr\xFAc c\u1EE7a tokenizer, v.v.) \u0111\u1EBFn m\u1ED9t repo nh\u1EA5t \u0111\u1ECBnh. Tuy nhi\xEAn, \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 c\xE2u tr\u1EA3 l\u1EDDi \u0111\xFAng duy nh\u1EA5t!",correct:!0},{text:"M\u1ED9t t\u1EC7p c\u1EA5u h\xECnh m\xF4 h\xECnh",explain:"\u0110\xFAng v\u1EADy! T\u1EA5t c\u1EA3 c\xE1c t\u1EC7p c\u1EA5u h\xECnh m\xF4 h\xECnh \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y ch\xFAng \u0111\u1EBFn m\u1ED9t repo. B\u1EA1n c\xF3 th\u1EC3 chia s\u1EBB \u0111i\u1EC1u g\xEC kh\xE1c n\u1EEFa kh\xF4ng?",correct:!0},{text:"M\u1ED9t m\xF4 h\xECnh",explain:"Ch\xEDnh x\xE1c! T\u1EA5t c\u1EA3 c\xE1c m\xF4 h\xECnh \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y m\xF4 h\xECnh v\xE0 c\xE1c t\u1EC7p c\u1EA5u h\xECnh \u0111\u1EBFn m\u1ED9t repo nh\u1EA5t \u0111\u1ECBnh.Tuy nhi\xEAn, \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 c\xE2u tr\u1EA3 l\u1EDDi \u0111\xFAng duy nh\u1EA5t!",correct:!0},{text:"T\u1EA5t c\u1EA3 nh\u1EEFng \u0111i\u1EC1u tr\xEAn v\u1EDBi m\u1ED9t callback \u0111\u1EB7c th\xF9",explain:"\u0110\xFAng v\u1EADy - <code>PushToHubCallback</code> s\u1EBD th\u01B0\u1EDDng xuy\xEAn g\u1EEDi t\u1EA5t c\u1EA3 c\xE1c \u0111\u1ED1i t\u01B0\u1EE3ng \u0111\xF3 \u0111\u1EBFn m\u1ED9t repo trong qu\xE1 tr\xECnh hu\u1EA5n luy\u1EC7n.",correct:!0}]}}),{c(){f(g.$$.fragment)},l(a){v(g.$$.fragment,a)},m(a,w){$(g,a,w),b=!0},i(a){b||(m(g.$$.fragment,a),b=!0)},o(a){p(g.$$.fragment,a),b=!1},d(a){d(g,a)}}}function ke(R){let g,b;return g=new M({props:{choices:[{text:"M\u1ED9t tokenizer",explain:"\u0110\xFAng! T\u1EA5t c\u1EA3 c\xE1c tr\xECnh tokenize \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y t\u1EA5t c\u1EA3 c\xE1c t\u1EC7p tokenizer (t\u1EEB v\u1EF1ng, ki\u1EBFn \u200B\u200Btr\xFAc c\u1EE7a tokenizer, v.v.) \u0111\u1EBFn m\u1ED9t repo nh\u1EA5t \u0111\u1ECBnh. Tuy nhi\xEAn, \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 c\xE2u tr\u1EA3 l\u1EDDi \u0111\xFAng duy nh\u1EA5t!",correct:!0},{text:"M\u1ED9t t\u1EC7p c\u1EA5u h\xECnh m\xF4 h\xECnh",explain:"\u0110\xFAng v\u1EADy! T\u1EA5t c\u1EA3 c\xE1c t\u1EC7p c\u1EA5u h\xECnh m\xF4 h\xECnh \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y ch\xFAng \u0111\u1EBFn m\u1ED9t repo. B\u1EA1n c\xF3 th\u1EC3 chia s\u1EBB \u0111i\u1EC1u g\xEC kh\xE1c n\u1EEFa kh\xF4ng?",correct:!0},{text:"M\u1ED9t m\xF4 h\xECnh",explain:"Ch\xEDnh x\xE1c! T\u1EA5t c\u1EA3 c\xE1c m\xF4 h\xECnh \u0111\u1EC1u c\xF3 ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp \u0111\u1EA9y m\xF4 h\xECnh v\xE0 c\xE1c t\u1EC7p c\u1EA5u h\xECnh \u0111\u1EBFn m\u1ED9t repo nh\u1EA5t \u0111\u1ECBnh.Tuy nhi\xEAn, \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 c\xE2u tr\u1EA3 l\u1EDDi \u0111\xFAng duy nh\u1EA5t!",correct:!0},{text:"M\u1ED9t Trainer",explain:"\u0110\xFAng v\u1EADy\u2014 <code>Trainer</code> c\u0169ng tri\u1EC3n khai ph\u01B0\u01A1ng th\u1EE9c <code>push_to_hub</code> gi\xFAp t\u1EA3i m\xF4 h\xECnh, c\u1EA5u h\xECnh, tokenizer v\xE0 th\u1EBB m\xF4 h\xECnh c\u1EE7a ch\xFAng \u0111\u1EBFn m\u1ED9t repo nh\u1EA5t \u0111\u1ECBnh. Th\u1EED th\xEAm \u0111\xE1p \xE1n kh\xE1c n\u1EEFa xem!",correct:!0}]}}),{c(){f(g.$$.fragment)},l(a){v(g.$$.fragment,a)},m(a,w){$(g,a,w),b=!0},i(a){b||(m(g.$$.fragment,a),b=!0)},o(a){p(g.$$.fragment,a),b=!1},d(a){d(g,a)}}}function xe(R){let g,b,a,w,E,B,$t,J,un,dt,gn,Mt,U,Bt,mt,pn,Ft,H,F,bt,X,mn,_t,fn,Kt,j,Lt,T,K,kt,V,vn,xt,$n,It,W,Gt,P,L,yt,Y,dn,wt,bn,Ot,Z,Dt,A,I,Et,tt,_n,Ht,kn,Qt,nt,Rt,N,G,Tt,et,xn,ht,yn,Pt,wn,En,Jt,x,y,ft,C,O,At,rt,Hn,ct,Tn,Nt,Pn,An,Ut,it,Xt,S,D,Ct,ot,Nn,St,Cn,jt,at,Vt,q,Q,qt,lt,Sn,st,qn,zt,zn,Mn,Wt,ut,Yt;a=new be({props:{fw:R[0]}}),J=new z({}),U=new de({props:{chapter:4,classNames:"absolute z-10 right-0 top-0"}}),X=new z({}),j=new M({props:{choices:[{text:"M\xF4 h\xECnh t\u1EEB th\u01B0 vi\u1EC7n \u{1F917} Transformers.",explain:"M\u1EB7c d\xF9 c\xE1c m\xF4 h\xECnh t\u1EEB th\u01B0 vi\u1EC7n \u{1F917} Transformers \u0111\u01B0\u1EE3c h\u1ED7 tr\u1EE3 tr\xEAn Hugging Face Hub, nh\u01B0ng ch\xFAng kh\xF4ng ph\u1EA3i l\xE0 nh\u1EEFng m\xF4 h\xECnh duy nh\u1EA5t!"},{text:"T\u1EA5t c\u1EA3 c\xE1c m\xF4 h\xECnh c\xF3 giao di\u1EC7n t\u01B0\u01A1ng t\u1EF1 nh\u01B0 \u{1F917} Transformers.",explain:"Kh\xF4ng c\xF3 y\xEAu c\u1EA7u giao di\u1EC7n n\xE0o \u0111\u01B0\u1EE3c \u0111\u1EB7t ra khi t\u1EA3i c\xE1c m\xF4 h\xECnh l\xEAn Hugging Face Hub."},{text:"Kh\xF4ng c\xF3 gi\u1EDBi h\u1EA1n.",explain:"\u0110\xFAng! Kh\xF4ng c\xF3 gi\u1EDBi h\u1EA1n khi t\u1EA3i m\xF4 h\xECnh l\xEAn Hub.",correct:!0},{text:"C\xE1c m\xF4 h\xECnh theo m\u1ED9t c\xE1ch n\xE0o \u0111\xF3 c\xF3 li\xEAn quan \u0111\u1EBFn NLP.",explain:"Kh\xF4ng c\xF3 y\xEAu c\u1EA7u n\xE0o \u0111\u01B0\u1EE3c \u0111\u1EB7t ra \u0111\u1ED1i v\u1EDBi l\u0129nh v\u1EF1c \u1EE9ng d\u1EE5ng!"}]}}),V=new z({}),W=new M({props:{choices:[{text:"Th\xF4ng qua m\u1ED9t t\xE0i kho\u1EA3n GCP.",explain:"Sai!"},{text:"Th\xF4ng qua ph\xE2n ph\u1ED1i ngang h\xE0ng.",explain:"Sai!"},{text:"Th\xF4ng qua git v\xE0 git-lfs.",explain:"\u0110\xFAng! C\xE1c m\xF4 h\xECnh tr\xEAn Hub l\xE0 kho l\u01B0u tr\u1EEF Git \u0111\u01A1n gi\u1EA3n, t\u1EADn d\u1EE5ng <code>git-lfs</code> cho c\xE1c t\u1EC7p l\u1EDBn.",correct:!0}]}}),Y=new z({}),Z=new M({props:{choices:[{text:"Fork m\u1ED9t kho l\u01B0u tr\u1EEF hi\u1EC7n c\xF3.",explain:"Kh\xF4ng th\u1EC3 tr\xEAn Hugging Face Hub."},{text:"T\u1EA1o kho l\u01B0u tr\u1EEF m\xF4 h\xECnh m\u1EDBi.",explain:"\u0110\xFAng! Nh\u01B0ng \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 t\u1EA5t c\u1EA3 nh\u1EEFng g\xEC b\u1EA1n c\xF3 th\u1EC3 l\xE0m.",correct:!0},{text:"Qu\u1EA3n l\xFD v\xE0 ch\u1EC9nh s\u1EEDa t\u1EC7p.",explain:"\u0110\xFAng! Nh\u01B0ng \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 c\xE2u tr\u1EA3 l\u1EDDi \u0111\xFAng duy nh\u1EA5t.",correct:!0},{text:"T\u1EA3i l\xEAn t\u1EC7p.",explain:"\u0110\xFAng! Nh\u01B0ng \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 t\u1EA5t c\u1EA3.",correct:!0},{text:"Xem s\u1EF1 kh\xE1c bi\u1EC7t gi\u1EEFa c\xE1c phi\xEAn b\u1EA3n.",explain:"\u0110\xFAng! Nh\u01B0ng \u0111\xF3 kh\xF4ng ph\u1EA3i l\xE0 t\u1EA5t c\u1EA3 nh\u1EEFng g\xEC b\u1EA1n c\xF3 th\u1EC3 l\xE0m",correct:!0}]}}),tt=new z({}),nt=new M({props:{choices:[{text:"M\xF4 t\u1EA3 s\u01A1 b\u1ED9 v\u1EC1 m\xF4 h\xECnh, do \u0111\xF3 \xEDt quan tr\u1ECDng h\u01A1n m\xF4 h\xECnh v\xE0 t\u1EC7p tokenizer.",explain:"N\xF3 th\u1EF1c s\u1EF1 l\xE0 m\u1ED9t m\xF4 t\u1EA3 v\u1EC1 m\xF4 h\xECnh, nh\u01B0ng \u0111\xF3 l\xE0 m\u1ED9t ph\u1EA7n quan tr\u1ECDng: n\u1EBFu n\xF3 kh\xF4ng \u0111\u1EA7y \u0111\u1EE7 ho\u1EB7c b\u1ECB thi\u1EBFu m\u1EA5t, ti\u1EC7n \xEDch c\u1EE7a m\xF4 h\xECnh s\u1EBD gi\u1EA3m \u0111\xE1ng k\u1EC3."},{text:"M\u1ED9t c\xE1ch \u0111\u1EC3 \u0111\u1EA3m b\u1EA3o kh\u1EA3 n\u0103ng t\xE1i t\u1EA1o, kh\u1EA3 n\u0103ng t\xE1i s\u1EED d\u1EE5ng v\xE0 t\xEDnh c\xF4ng b\u1EB1ng.",explain:"\u0110\xFAng! Chia s\u1EBB th\xF4ng tin ph\xF9 h\u1EE3p trong th\u1EBB m\xF4 h\xECnh s\u1EBD gi\xFAp ng\u01B0\u1EDDi d\xF9ng t\u1EADn d\u1EE5ng m\xF4 h\xECnh c\u1EE7a b\u1EA1n v\xE0 nh\u1EADn th\u1EE9c \u0111\u01B0\u1EE3c c\xE1c gi\u1EDBi h\u1EA1n v\xE0 sai l\u1EC7ch \u200B\u200Bc\u1EE7a n\xF3.",correct:!0},{text:"M\u1ED9t t\u1EC7p Python c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c ch\u1EA1y \u0111\u1EC3 truy xu\u1EA5t th\xF4ng tin v\u1EC1 m\xF4 h\xECnh.",explain:"Th\u1EBB m\xF4 h\xECnh l\xE0 c\xE1c t\u1EC7p Markdown \u0111\u01A1n gi\u1EA3n th\xF4i."}]}}),et=new z({});const Bn=[ke,_e],gt=[];function Fn(t,h){return t[0]==="pt"?0:1}return x=Fn(R),y=gt[x]=Bn[x](R),rt=new z({}),it=new M({props:{choices:[{text:"\u0110\u0103ng nh\u1EADp tr\xEAn trang web.",explain:"\u0110i\u1EC1u n\xE0y s\u1EBD kh\xF4ng gi\xFAp \xEDch tr\xEAn m\xE1y c\xE1 nh\xE2n c\u1EE7a b\u1EA1n."},{text:"Ch\u1EA1y 'huggingface-cli login' tr\xEAn terminal.",explain:"\u0110\xFAng - \u0111i\u1EC1u n\xE0y s\u1EBD t\u1EA3i xu\u1ED1ng v\xE0 l\u01B0u v\xE0o b\u1ED9 nh\u1EDB cache token c\xE1 nh\xE2n c\u1EE7a b\u1EA1n.",correct:!0},{text:"Ch\u1EA1y 'notebook_login()' trong notebook.",explain:"\u0110\xFAng - \u0111i\u1EC1u n\xE0y s\u1EBD hi\u1EC3n th\u1ECB m\u1ED9t ti\u1EC7n \xEDch con \u0111\u1EC3 b\u1EA1n x\xE1c th\u1EF1c.",correct:!0}]}}),ot=new z({}),at=new M({props:{choices:[{text:"B\u1EB1ng c\xE1ch g\u1ECDi ph\u01B0\u01A1ng th\u1EE9c push_to_hub tr\u1EF1c ti\u1EBFp tr\xEAn m\xF4 h\xECnh v\xE0 tokenizer.",explain:"Ch\xEDnh x\xE1c!",correct:!0},{text:"Trong th\u1EDDi gian ch\u1EA1y Python, b\u1EB1ng c\xE1ch g\xF3i ch\xFAng trong ti\u1EC7n \xEDch <code>huggingface_hub</code>.",explain:"C\xE1c m\xF4 h\xECnh v\xE0 tokenizer \u0111\xE3 h\u01B0\u1EDFng l\u1EE3i s\u1EB5n t\u1EEB ti\u1EC7n \xEDch <code>huggingface_hub</code>: kh\xF4ng c\u1EA7n g\xF3i th\xEAm!"},{text:"B\u1EB1ng c\xE1ch l\u01B0u ch\xFAng v\xE0o \u1ED5 \u0111\u0129a v\xE0 g\u1ECDi l\u1EC7nh <code>transformers-cli upload-model</code>",explain:"L\u1EC7nh <code>upload-model</code> kh\xF4ng t\u1ED3n t\u1EA1i."}]}}),lt=new z({}),ut=new M({props:{choices:[{text:"Commit (Cam k\u1EBFt)",explain:"Ch\xEDnh x\xE1c, ph\u01B0\u01A1ng th\u1EE9c <code>git_commit()</code> c\xF3 s\u1EB5n cho \u0111i\u1EC1u \u0111\xF3.",correct:!0},{text:"Pull (K\xE9o l\u1EA1i)",explain:"\u0110\xF3 l\xE0 m\u1EE5c \u0111\xEDch c\u1EE7a ph\u01B0\u01A1ng th\u1EE9c <code>git_pull()</code>.",correct:!0},{text:"Push (\u0110\u1EA9y l\xEAn)",explain:"Ph\u01B0\u01A1ng th\u1EE9c <code>git_push()</code> th\u1EF1c hi\u1EC7n \u0111i\u1EC1u n\xE0y.",correct:!0},{text:"Merge (G\u1ED9p)",explain:"Kh\xF4ng, thao t\xE1c \u0111\xF3 s\u1EBD kh\xF4ng bao gi\u1EDD c\xF3 th\u1EC3 th\u1EF1c hi\u1EC7n \u0111\u01B0\u1EE3c v\u1EDBi API n\xE0y."}]}}),{c(){g=r("meta"),b=s(),f(a.$$.fragment),w=s(),E=r("h1"),B=r("a"),$t=r("span"),f(J.$$.fragment),un=s(),dt=r("span"),gn=_("\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"),Mt=s(),f(U.$$.fragment),Bt=s(),mt=r("p"),pn=_("H\xE3y ki\u1EC3m tra nh\u1EEFng g\xEC b\u1EA1n \u0111\xE3 h\u1ECDc \u0111\u01B0\u1EE3c trong ch\u01B0\u01A1ng n\xE0y!"),Ft=s(),H=r("h3"),F=r("a"),bt=r("span"),f(X.$$.fragment),mn=s(),_t=r("span"),fn=_("1. C\xE1c m\xF4 h\xECnh t\u1EA3i l\xEAn tr\xEAn Hub c\xF3 gi\u1EDBi h\u1EA1n g\xEC?"),Kt=s(),f(j.$$.fragment),Lt=s(),T=r("h3"),K=r("a"),kt=r("span"),f(V.$$.fragment),vn=s(),xt=r("span"),$n=_("2. B\u1EA1n c\xF3 th\u1EC3 qu\u1EA3n l\xFD c\xE1c m\xF4 h\xECnh tr\xEAn Hub b\u1EB1ng c\xE1ch n\xE0o?"),It=s(),f(W.$$.fragment),Gt=s(),P=r("h3"),L=r("a"),yt=r("span"),f(Y.$$.fragment),dn=s(),wt=r("span"),bn=_("3. B\u1EA1n c\xF3 th\u1EC3 l\xE0m nh\u1EEFng g\xEC khi s\u1EED d\u1EE5ng giao di\u1EC7n web Hugging Face Hub?"),Ot=s(),f(Z.$$.fragment),Dt=s(),A=r("h3"),I=r("a"),Et=r("span"),f(tt.$$.fragment),_n=s(),Ht=r("span"),kn=_("4. Th\u1EBB m\xF4 h\xECnh l\xE0 g\xEC?"),Qt=s(),f(nt.$$.fragment),Rt=s(),N=r("h3"),G=r("a"),Tt=r("span"),f(et.$$.fragment),xn=s(),ht=r("span"),yn=_("5. \u0110\u1ED1i t\u01B0\u1EE3ng n\xE0o sau \u0111\xE2y c\u1EE7a th\u01B0 vi\u1EC7n \u{1F917} Transformers c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c chia s\u1EBB tr\u1EF1c ti\u1EBFp tr\xEAn Hub v\u1EDBi "),Pt=r("code"),wn=_("push_to_hub()"),En=_("?"),Jt=s(),y.c(),ft=s(),C=r("h3"),O=r("a"),At=r("span"),f(rt.$$.fragment),Hn=s(),ct=r("span"),Tn=_("6. B\u01B0\u1EDBc \u0111\u1EA7u ti\xEAn khi s\u1EED d\u1EE5ng ph\u01B0\u01A1ng th\u1EE9c "),Nt=r("code"),Pn=_("push_to_hub()"),An=_(" ho\u1EB7c c\xE1c c\xF4ng c\u1EE5 CLI l\xE0 g\xEC?"),Ut=s(),f(it.$$.fragment),Xt=s(),S=r("h3"),D=r("a"),Ct=r("span"),f(ot.$$.fragment),Nn=s(),St=r("span"),Cn=_("7. B\u1EA1n \u0111ang s\u1EED d\u1EE5ng m\u1ED9t m\xF4 h\xECnh v\xE0 m\u1ED9t tokenizer - l\xE0m c\xE1ch n\xE0o b\u1EA1n c\xF3 th\u1EC3 t\u1EA3i ch\xFAng l\xEAn Hub?"),jt=s(),f(at.$$.fragment),Vt=s(),q=r("h3"),Q=r("a"),qt=r("span"),f(lt.$$.fragment),Sn=s(),st=r("span"),qn=_("8. B\u1EA1n c\xF3 th\u1EC3 th\u1EF1c hi\u1EC7n c\xE1c thao t\xE1c git n\xE0o v\u1EDBi "),zt=r("code"),zn=_("Repository"),Mn=_("?"),Wt=s(),f(ut.$$.fragment),this.h()},l(t){const h=me('[data-svelte="svelte-1phssyn"]',document.head);g=c(h,"META",{name:!0,content:!0}),h.forEach(n),b=u(t),v(a.$$.fragment,t),w=u(t),E=c(t,"H1",{class:!0});var pt=i(E);B=c(pt,"A",{id:!0,class:!0,href:!0});var vt=i(B);$t=c(vt,"SPAN",{});var Kn=i($t);v(J.$$.fragment,Kn),Kn.forEach(n),vt.forEach(n),un=u(pt),dt=c(pt,"SPAN",{});var Ln=i(dt);gn=k(Ln,"\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"),Ln.forEach(n),pt.forEach(n),Mt=u(t),v(U.$$.fragment,t),Bt=u(t),mt=c(t,"P",{});var In=i(mt);pn=k(In,"H\xE3y ki\u1EC3m tra nh\u1EEFng g\xEC b\u1EA1n \u0111\xE3 h\u1ECDc \u0111\u01B0\u1EE3c trong ch\u01B0\u01A1ng n\xE0y!"),In.forEach(n),Ft=u(t),H=c(t,"H3",{class:!0});var Zt=i(H);F=c(Zt,"A",{id:!0,class:!0,href:!0});var Gn=i(F);bt=c(Gn,"SPAN",{});var On=i(bt);v(X.$$.fragment,On),On.forEach(n),Gn.forEach(n),mn=u(Zt),_t=c(Zt,"SPAN",{});var Dn=i(_t);fn=k(Dn,"1. C\xE1c m\xF4 h\xECnh t\u1EA3i l\xEAn tr\xEAn Hub c\xF3 gi\u1EDBi h\u1EA1n g\xEC?"),Dn.forEach(n),Zt.forEach(n),Kt=u(t),v(j.$$.fragment,t),Lt=u(t),T=c(t,"H3",{class:!0});var tn=i(T);K=c(tn,"A",{id:!0,class:!0,href:!0});var Qn=i(K);kt=c(Qn,"SPAN",{});var Rn=i(kt);v(V.$$.fragment,Rn),Rn.forEach(n),Qn.forEach(n),vn=u(tn),xt=c(tn,"SPAN",{});var Jn=i(xt);$n=k(Jn,"2. B\u1EA1n c\xF3 th\u1EC3 qu\u1EA3n l\xFD c\xE1c m\xF4 h\xECnh tr\xEAn Hub b\u1EB1ng c\xE1ch n\xE0o?"),Jn.forEach(n),tn.forEach(n),It=u(t),v(W.$$.fragment,t),Gt=u(t),P=c(t,"H3",{class:!0});var nn=i(P);L=c(nn,"A",{id:!0,class:!0,href:!0});var Un=i(L);yt=c(Un,"SPAN",{});var Xn=i(yt);v(Y.$$.fragment,Xn),Xn.forEach(n),Un.forEach(n),dn=u(nn),wt=c(nn,"SPAN",{});var jn=i(wt);bn=k(jn,"3. B\u1EA1n c\xF3 th\u1EC3 l\xE0m nh\u1EEFng g\xEC khi s\u1EED d\u1EE5ng giao di\u1EC7n web Hugging Face Hub?"),jn.forEach(n),nn.forEach(n),Ot=u(t),v(Z.$$.fragment,t),Dt=u(t),A=c(t,"H3",{class:!0});var en=i(A);I=c(en,"A",{id:!0,class:!0,href:!0});var Vn=i(I);Et=c(Vn,"SPAN",{});var Wn=i(Et);v(tt.$$.fragment,Wn),Wn.forEach(n),Vn.forEach(n),_n=u(en),Ht=c(en,"SPAN",{});var Yn=i(Ht);kn=k(Yn,"4. Th\u1EBB m\xF4 h\xECnh l\xE0 g\xEC?"),Yn.forEach(n),en.forEach(n),Qt=u(t),v(nt.$$.fragment,t),Rt=u(t),N=c(t,"H3",{class:!0});var hn=i(N);G=c(hn,"A",{id:!0,class:!0,href:!0});var Zn=i(G);Tt=c(Zn,"SPAN",{});var te=i(Tt);v(et.$$.fragment,te),te.forEach(n),Zn.forEach(n),xn=u(hn),ht=c(hn,"SPAN",{});var rn=i(ht);yn=k(rn,"5. \u0110\u1ED1i t\u01B0\u1EE3ng n\xE0o sau \u0111\xE2y c\u1EE7a th\u01B0 vi\u1EC7n \u{1F917} Transformers c\xF3 th\u1EC3 \u0111\u01B0\u1EE3c chia s\u1EBB tr\u1EF1c ti\u1EBFp tr\xEAn Hub v\u1EDBi "),Pt=c(rn,"CODE",{});var ne=i(Pt);wn=k(ne,"push_to_hub()"),ne.forEach(n),En=k(rn,"?"),rn.forEach(n),hn.forEach(n),Jt=u(t),y.l(t),ft=u(t),C=c(t,"H3",{class:!0});var cn=i(C);O=c(cn,"A",{id:!0,class:!0,href:!0});var ee=i(O);At=c(ee,"SPAN",{});var he=i(At);v(rt.$$.fragment,he),he.forEach(n),ee.forEach(n),Hn=u(cn),ct=c(cn,"SPAN",{});var on=i(ct);Tn=k(on,"6. B\u01B0\u1EDBc \u0111\u1EA7u ti\xEAn khi s\u1EED d\u1EE5ng ph\u01B0\u01A1ng th\u1EE9c "),Nt=c(on,"CODE",{});var re=i(Nt);Pn=k(re,"push_to_hub()"),re.forEach(n),An=k(on," ho\u1EB7c c\xE1c c\xF4ng c\u1EE5 CLI l\xE0 g\xEC?"),on.forEach(n),cn.forEach(n),Ut=u(t),v(it.$$.fragment,t),Xt=u(t),S=c(t,"H3",{class:!0});var an=i(S);D=c(an,"A",{id:!0,class:!0,href:!0});var ce=i(D);Ct=c(ce,"SPAN",{});var ie=i(Ct);v(ot.$$.fragment,ie),ie.forEach(n),ce.forEach(n),Nn=u(an),St=c(an,"SPAN",{});var oe=i(St);Cn=k(oe,"7. B\u1EA1n \u0111ang s\u1EED d\u1EE5ng m\u1ED9t m\xF4 h\xECnh v\xE0 m\u1ED9t tokenizer - l\xE0m c\xE1ch n\xE0o b\u1EA1n c\xF3 th\u1EC3 t\u1EA3i ch\xFAng l\xEAn Hub?"),oe.forEach(n),an.forEach(n),jt=u(t),v(at.$$.fragment,t),Vt=u(t),q=c(t,"H3",{class:!0});var ln=i(q);Q=c(ln,"A",{id:!0,class:!0,href:!0});var ae=i(Q);qt=c(ae,"SPAN",{});var le=i(qt);v(lt.$$.fragment,le),le.forEach(n),ae.forEach(n),Sn=u(ln),st=c(ln,"SPAN",{});var sn=i(st);qn=k(sn,"8. B\u1EA1n c\xF3 th\u1EC3 th\u1EF1c hi\u1EC7n c\xE1c thao t\xE1c git n\xE0o v\u1EDBi "),zt=c(sn,"CODE",{});var se=i(zt);zn=k(se,"Repository"),se.forEach(n),Mn=k(sn,"?"),sn.forEach(n),ln.forEach(n),Wt=u(t),v(ut.$$.fragment,t),this.h()},h(){o(g,"name","hf:doc:metadata"),o(g,"content",JSON.stringify(ye)),o(B,"id","vui-cui-chng"),o(B,"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"),o(B,"href","#vui-cui-chng"),o(E,"class","relative group"),o(F,"id","1.-c\xE1c-m\xF4-h\xECnh-t\u1EA3i-l\xEAn-tr\xEAn-hub-c\xF3-gi\u1EDBi-h\u1EA1n-g\xEC?"),o(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"),o(F,"href","#1.-c\xE1c-m\xF4-h\xECnh-t\u1EA3i-l\xEAn-tr\xEAn-hub-c\xF3-gi\u1EDBi-h\u1EA1n-g\xEC?"),o(H,"class","relative group"),o(K,"id","2.-b\u1EA1n-c\xF3-th\u1EC3-qu\u1EA3n-l\xFD-c\xE1c-m\xF4-h\xECnh-tr\xEAn-hub-b\u1EB1ng-c\xE1ch-n\xE0o?"),o(K,"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"),o(K,"href","#2.-b\u1EA1n-c\xF3-th\u1EC3-qu\u1EA3n-l\xFD-c\xE1c-m\xF4-h\xECnh-tr\xEAn-hub-b\u1EB1ng-c\xE1ch-n\xE0o?"),o(T,"class","relative group"),o(L,"id","3.-b\u1EA1n-c\xF3-th\u1EC3-l\xE0m-nh\u1EEFng-g\xEC-khi-s\u1EED-d\u1EE5ng-giao-di\u1EC7n-web-hugging-face-hub?"),o(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"),o(L,"href","#3.-b\u1EA1n-c\xF3-th\u1EC3-l\xE0m-nh\u1EEFng-g\xEC-khi-s\u1EED-d\u1EE5ng-giao-di\u1EC7n-web-hugging-face-hub?"),o(P,"class","relative group"),o(I,"id","4.-th\u1EBB-m\xF4-h\xECnh-l\xE0-g\xEC?"),o(I,"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"),o(I,"href","#4.-th\u1EBB-m\xF4-h\xECnh-l\xE0-g\xEC?"),o(A,"class","relative group"),o(G,"id","5.-\u0111\u1ED1i-t\u01B0\u1EE3ng-n\xE0o-sau-\u0111\xE2y-c\u1EE7a-th\u01B0-vi\u1EC7n-\u{1F917}-transformers-c\xF3-th\u1EC3-\u0111\u01B0\u1EE3c-chia-s\u1EBB-tr\u1EF1c-ti\u1EBFp-tr\xEAn-hub-v\u1EDBi-<code>push_to_hub()</code>?"),o(G,"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"),o(G,"href","#5.-\u0111\u1ED1i-t\u01B0\u1EE3ng-n\xE0o-sau-\u0111\xE2y-c\u1EE7a-th\u01B0-vi\u1EC7n-\u{1F917}-transformers-c\xF3-th\u1EC3-\u0111\u01B0\u1EE3c-chia-s\u1EBB-tr\u1EF1c-ti\u1EBFp-tr\xEAn-hub-v\u1EDBi-<code>push_to_hub()</code>?"),o(N,"class","relative group"),o(O,"id","6.-b\u01B0\u1EDBc-\u0111\u1EA7u-ti\xEAn-khi-s\u1EED-d\u1EE5ng-ph\u01B0\u01A1ng-th\u1EE9c-<code>push_to_hub()</code>-ho\u1EB7c-c\xE1c-c\xF4ng-c\u1EE5-cli-l\xE0-g\xEC?"),o(O,"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"),o(O,"href","#6.-b\u01B0\u1EDBc-\u0111\u1EA7u-ti\xEAn-khi-s\u1EED-d\u1EE5ng-ph\u01B0\u01A1ng-th\u1EE9c-<code>push_to_hub()</code>-ho\u1EB7c-c\xE1c-c\xF4ng-c\u1EE5-cli-l\xE0-g\xEC?"),o(C,"class","relative group"),o(D,"id","7.-b\u1EA1n-\u0111ang-s\u1EED-d\u1EE5ng-m\u1ED9t-m\xF4-h\xECnh-v\xE0-m\u1ED9t-tokenizer---l\xE0m-c\xE1ch-n\xE0o-b\u1EA1n-c\xF3-th\u1EC3-t\u1EA3i-ch\xFAng-l\xEAn-hub?"),o(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"),o(D,"href","#7.-b\u1EA1n-\u0111ang-s\u1EED-d\u1EE5ng-m\u1ED9t-m\xF4-h\xECnh-v\xE0-m\u1ED9t-tokenizer---l\xE0m-c\xE1ch-n\xE0o-b\u1EA1n-c\xF3-th\u1EC3-t\u1EA3i-ch\xFAng-l\xEAn-hub?"),o(S,"class","relative group"),o(Q,"id","8.-b\u1EA1n-c\xF3-th\u1EC3-th\u1EF1c-hi\u1EC7n-c\xE1c-thao-t\xE1c-git-n\xE0o-v\u1EDBi-<code>repository</code>?"),o(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"),o(Q,"href","#8.-b\u1EA1n-c\xF3-th\u1EC3-th\u1EF1c-hi\u1EC7n-c\xE1c-thao-t\xE1c-git-n\xE0o-v\u1EDBi-<code>repository</code>?"),o(q,"class","relative group")},m(t,h){e(document.head,g),l(t,b,h),$(a,t,h),l(t,w,h),l(t,E,h),e(E,B),e(B,$t),$(J,$t,null),e(E,un),e(E,dt),e(dt,gn),l(t,Mt,h),$(U,t,h),l(t,Bt,h),l(t,mt,h),e(mt,pn),l(t,Ft,h),l(t,H,h),e(H,F),e(F,bt),$(X,bt,null),e(H,mn),e(H,_t),e(_t,fn),l(t,Kt,h),$(j,t,h),l(t,Lt,h),l(t,T,h),e(T,K),e(K,kt),$(V,kt,null),e(T,vn),e(T,xt),e(xt,$n),l(t,It,h),$(W,t,h),l(t,Gt,h),l(t,P,h),e(P,L),e(L,yt),$(Y,yt,null),e(P,dn),e(P,wt),e(wt,bn),l(t,Ot,h),$(Z,t,h),l(t,Dt,h),l(t,A,h),e(A,I),e(I,Et),$(tt,Et,null),e(A,_n),e(A,Ht),e(Ht,kn),l(t,Qt,h),$(nt,t,h),l(t,Rt,h),l(t,N,h),e(N,G),e(G,Tt),$(et,Tt,null),e(N,xn),e(N,ht),e(ht,yn),e(ht,Pt),e(Pt,wn),e(ht,En),l(t,Jt,h),gt[x].m(t,h),l(t,ft,h),l(t,C,h),e(C,O),e(O,At),$(rt,At,null),e(C,Hn),e(C,ct),e(ct,Tn),e(ct,Nt),e(Nt,Pn),e(ct,An),l(t,Ut,h),$(it,t,h),l(t,Xt,h),l(t,S,h),e(S,D),e(D,Ct),$(ot,Ct,null),e(S,Nn),e(S,St),e(St,Cn),l(t,jt,h),$(at,t,h),l(t,Vt,h),l(t,q,h),e(q,Q),e(Q,qt),$(lt,qt,null),e(q,Sn),e(q,st),e(st,qn),e(st,zt),e(zt,zn),e(st,Mn),l(t,Wt,h),$(ut,t,h),Yt=!0},p(t,[h]){const pt={};h&1&&(pt.fw=t[0]),a.$set(pt);let vt=x;x=Fn(t),x!==vt&&($e(),p(gt[vt],1,1,()=>{gt[vt]=null}),fe(),y=gt[x],y||(y=gt[x]=Bn[x](t),y.c()),m(y,1),y.m(ft.parentNode,ft))},i(t){Yt||(m(a.$$.fragment,t),m(J.$$.fragment,t),m(U.$$.fragment,t),m(X.$$.fragment,t),m(j.$$.fragment,t),m(V.$$.fragment,t),m(W.$$.fragment,t),m(Y.$$.fragment,t),m(Z.$$.fragment,t),m(tt.$$.fragment,t),m(nt.$$.fragment,t),m(et.$$.fragment,t),m(y),m(rt.$$.fragment,t),m(it.$$.fragment,t),m(ot.$$.fragment,t),m(at.$$.fragment,t),m(lt.$$.fragment,t),m(ut.$$.fragment,t),Yt=!0)},o(t){p(a.$$.fragment,t),p(J.$$.fragment,t),p(U.$$.fragment,t),p(X.$$.fragment,t),p(j.$$.fragment,t),p(V.$$.fragment,t),p(W.$$.fragment,t),p(Y.$$.fragment,t),p(Z.$$.fragment,t),p(tt.$$.fragment,t),p(nt.$$.fragment,t),p(et.$$.fragment,t),p(y),p(rt.$$.fragment,t),p(it.$$.fragment,t),p(ot.$$.fragment,t),p(at.$$.fragment,t),p(lt.$$.fragment,t),p(ut.$$.fragment,t),Yt=!1},d(t){n(g),t&&n(b),d(a,t),t&&n(w),t&&n(E),d(J),t&&n(Mt),d(U,t),t&&n(Bt),t&&n(mt),t&&n(Ft),t&&n(H),d(X),t&&n(Kt),d(j,t),t&&n(Lt),t&&n(T),d(V),t&&n(It),d(W,t),t&&n(Gt),t&&n(P),d(Y),t&&n(Ot),d(Z,t),t&&n(Dt),t&&n(A),d(tt),t&&n(Qt),d(nt,t),t&&n(Rt),t&&n(N),d(et),t&&n(Jt),gt[x].d(t),t&&n(ft),t&&n(C),d(rt),t&&n(Ut),d(it,t),t&&n(Xt),t&&n(S),d(ot),t&&n(jt),d(at,t),t&&n(Vt),t&&n(q),d(lt),t&&n(Wt),d(ut,t)}}}const ye={local:"vui-cui-chng",title:"\u0110\u1ED1 vui cu\u1ED1i ch\u01B0\u01A1ng"};function we(R,g,b){let a="pt";return ve(()=>{const w=new URLSearchParams(window.location.search);b(0,a=w.get("fw")||"pt")}),[a]}class Ce extends ue{constructor(g){super();ge(this,g,we,xe,pe,{})}}export{Ce as default,ye as metadata};
