import{S as Vt,i as zt,s as Dt,e as i,k as s,w as yt,t as r,M as Jt,c as l,d as n,m as p,a as c,x as $t,h as a,b as o,G as h,g as u,y as Ht,L as Ot,q as wt,o as Pt,B as Et,v as Rt}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Ut}from"../../chunks/Youtube-hf-doc-builder.js";import{I as Xt}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Zt}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Kt(At){let f,M,v,b,G,_,Z,q,K,I,k,T,y,$,Q,W,Y,m,tt,H,nt,ht,w,et,rt,P,at,ot,E,it,lt,A,ct,ut,j,L,mt,V,S,gt,z,d,st,N,pt,ft,D,B,vt,J,C,O,x,bt,F,dt,R;return _=new Xt({}),k=new Zt({props:{chapter:4,classNames:"absolute z-10 right-0 top-0"}}),C=new Ut({props:{id:"XvSGPZFEjDY"}}),{c(){f=i("meta"),M=s(),v=i("h1"),b=i("a"),G=i("span"),yt(_.$$.fragment),Z=s(),q=i("span"),K=r("Hugging Face Hub"),I=s(),yt(k.$$.fragment),T=s(),y=i("p"),$=i("a"),Q=r("Hugging Face Hub"),W=r(" \u2013- trang web ch\xEDnh c\u1EE7a ch\xFAng t\xF4i \u2013- l\xE0 m\u1ED9t n\u1EC1n t\u1EA3ng t\u1EADp trung cho ph\xE9p m\u1ECDi ng\u01B0\u1EDDi kh\xE1m ph\xE1, s\u1EED d\u1EE5ng v\xE0 \u0111\xF3ng g\xF3p c\xE1c m\xF4 h\xECnh v\xE0 b\u1ED9 d\u1EEF li\u1EC7u hi\u1EC7n \u0111\u1EA1i nh\u1EA5t. N\xF3 l\u01B0u tr\u1EEF nhi\u1EC1u m\xF4 h\xECnh kh\xE1c nhau, v\u1EDBi h\u01A1n 10,000 m\xF4 h\xECnh \u0111\u01B0\u1EE3c c\xF4ng b\u1ED1 r\u1ED9ng r\xE3i. Ch\xFAng ta s\u1EBD t\u1EADp trung v\xE0o c\xE1c m\xF4 h\xECnh trong ch\u01B0\u01A1ng n\xE0y v\xE0 xem x\xE9t c\xE1c t\u1EADp d\u1EEF li\u1EC7u trong Ch\u01B0\u01A1ng 5."),Y=s(),m=i("p"),tt=r("C\xE1c m\xF4 h\xECnh trong Hub kh\xF4ng gi\u1EDBi h\u1EA1n \u1EDF \u{1F917} Transformer ho\u1EB7c th\u1EADm ch\xED l\xE0 NLP. C\xF3 c\xE1c m\xF4 h\xECnh t\u1EEB "),H=i("a"),nt=r("Flair"),ht=r(" v\xE0 "),w=i("a"),et=r("AllenNLP"),rt=r(" cho NLP, "),P=i("a"),at=r("Asteroid"),ot=r(" v\xE0  "),E=i("a"),it=r("pyannote"),lt=r(" cho \xE2m thanh v\xE0 "),A=i("a"),ct=r("timm"),ut=r(" cho h\xECnh \u1EA3nh."),j=s(),L=i("p"),mt=r("M\u1ED7i m\xF4 h\xECnh \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF \u1EDF kho l\u01B0u tr\u1EEF Git, cho ph\xE9p t\u1EA1o phi\xEAn b\u1EA3n v\xE0 kh\u1EA3 n\u0103ng t\xE1i t\u1EA1o. Chia s\u1EBB m\xF4 h\xECnh tr\xEAn Hub c\xF3 ngh\u0129a l\xE0 m\u1EDF r\u1ED9ng m\xF4 h\xECnh \u0111\xF3 v\u1EDBi c\u1ED9ng \u0111\u1ED3ng v\xE0 gi\xFAp b\u1EA5t k\u1EF3 ai mu\u1ED1n s\u1EED d\u1EE5ng m\xF4 h\xECnh \u0111\xF3 \u0111\u1EC1u c\xF3 th\u1EC3 d\u1EC5 d\xE0ng truy c\u1EADp, do \u0111\xF3 lo\u1EA1i b\u1ECF nhu c\u1EA7u t\u1EF1 hu\u1EA5n luy\u1EC7n m\xF4 h\xECnh c\u1EE7a h\u1ECD v\xE0 \u0111\u01A1n gi\u1EA3n h\xF3a vi\u1EC7c chia s\u1EBB v\xE0 s\u1EED d\u1EE5ng."),V=s(),S=i("p"),gt=r("Ngo\xE0i ra, vi\u1EC7c chia s\u1EBB m\u1ED9t m\xF4 h\xECnh tr\xEAn Hub s\u1EBD t\u1EF1 \u0111\u1ED9ng tri\u1EC3n khai m\u1ED9t API lu\u1EADn suy \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF cho m\xF4 h\xECnh \u0111\xF3. B\u1EA5t k\u1EF3 ai trong c\u1ED9ng \u0111\u1ED3ng \u0111\u1EC1u c\xF3 th\u1EC3 t\u1EF1 do ki\u1EC3m tra n\xF3 tr\u1EF1c ti\u1EBFp tr\xEAn trang c\u1EE7a m\xF4 h\xECnh, v\u1EDBi c\xE1c \u0111\u1EA7u v\xE0o t\xF9y ch\u1EC9nh v\xE0 c\xE1c v\u1EADt d\u1EE5ng th\xEDch h\u1EE3p."),z=s(),d=i("p"),st=r("Ph\u1EA7n t\u1ED1t nh\u1EA5t l\xE0 vi\u1EC7c chia s\u1EBB v\xE0 s\u1EED d\u1EE5ng b\u1EA5t k\u1EF3 m\xF4 h\xECnh c\xF4ng khai n\xE0o tr\xEAn Hub l\xE0 ho\xE0n to\xE0n mi\u1EC5n ph\xED! "),N=i("a"),pt=r("G\xF3i tr\u1EA3 ph\xED"),ft=r(" c\u0169ng t\u1ED3n t\u1EA1i n\u1EBFu b\u1EA1n mu\u1ED1n chia s\u1EBB m\xF4 h\xECnh m\u1ED9t c\xE1ch ri\xEAng t\u01B0."),D=s(),B=i("p"),vt=r("Video d\u01B0\u1EDBi \u0111\xE2y h\u01B0\u1EDBng d\u1EABn c\xE1ch d\xF9ng Hub."),J=s(),yt(C.$$.fragment),O=s(),x=i("p"),bt=r("B\u1EA1n c\u1EA7n c\xF3 t\xE0i kho\u1EA3n huggingface.co \u0111\u1EC3 l\xE0m theo ph\u1EA7n n\xE0y, v\xEC ch\xFAng ta s\u1EBD t\u1EA1o v\xE0 qu\u1EA3n l\xFD kho l\u01B0u tr\u1EEF tr\xEAn Hugging Face Hub: "),F=i("a"),dt=r("t\u1EA1o t\xE0i kho\u1EA3n"),this.h()},l(t){const e=Jt('[data-svelte="svelte-1phssyn"]',document.head);f=l(e,"META",{name:!0,content:!0}),e.forEach(n),M=p(t),v=l(t,"H1",{class:!0});var U=c(v);b=l(U,"A",{id:!0,class:!0,href:!0});var Nt=c(b);G=l(Nt,"SPAN",{});var Ct=c(G);$t(_.$$.fragment,Ct),Ct.forEach(n),Nt.forEach(n),Z=p(U),q=l(U,"SPAN",{});var xt=c(q);K=a(xt,"Hugging Face Hub"),xt.forEach(n),U.forEach(n),I=p(t),$t(k.$$.fragment,t),T=p(t),y=l(t,"P",{});var _t=c(y);$=l(_t,"A",{href:!0,rel:!0});var Ft=c($);Q=a(Ft,"Hugging Face Hub"),Ft.forEach(n),W=a(_t," \u2013- trang web ch\xEDnh c\u1EE7a ch\xFAng t\xF4i \u2013- l\xE0 m\u1ED9t n\u1EC1n t\u1EA3ng t\u1EADp trung cho ph\xE9p m\u1ECDi ng\u01B0\u1EDDi kh\xE1m ph\xE1, s\u1EED d\u1EE5ng v\xE0 \u0111\xF3ng g\xF3p c\xE1c m\xF4 h\xECnh v\xE0 b\u1ED9 d\u1EEF li\u1EC7u hi\u1EC7n \u0111\u1EA1i nh\u1EA5t. N\xF3 l\u01B0u tr\u1EEF nhi\u1EC1u m\xF4 h\xECnh kh\xE1c nhau, v\u1EDBi h\u01A1n 10,000 m\xF4 h\xECnh \u0111\u01B0\u1EE3c c\xF4ng b\u1ED1 r\u1ED9ng r\xE3i. Ch\xFAng ta s\u1EBD t\u1EADp trung v\xE0o c\xE1c m\xF4 h\xECnh trong ch\u01B0\u01A1ng n\xE0y v\xE0 xem x\xE9t c\xE1c t\u1EADp d\u1EEF li\u1EC7u trong Ch\u01B0\u01A1ng 5."),_t.forEach(n),Y=p(t),m=l(t,"P",{});var g=c(m);tt=a(g,"C\xE1c m\xF4 h\xECnh trong Hub kh\xF4ng gi\u1EDBi h\u1EA1n \u1EDF \u{1F917} Transformer ho\u1EB7c th\u1EADm ch\xED l\xE0 NLP. C\xF3 c\xE1c m\xF4 h\xECnh t\u1EEB "),H=l(g,"A",{href:!0,rel:!0});var Lt=c(H);nt=a(Lt,"Flair"),Lt.forEach(n),ht=a(g," v\xE0 "),w=l(g,"A",{href:!0,rel:!0});var St=c(w);et=a(St,"AllenNLP"),St.forEach(n),rt=a(g," cho NLP, "),P=l(g,"A",{href:!0,rel:!0});var Bt=c(P);at=a(Bt,"Asteroid"),Bt.forEach(n),ot=a(g," v\xE0  "),E=l(g,"A",{href:!0,rel:!0});var Gt=c(E);it=a(Gt,"pyannote"),Gt.forEach(n),lt=a(g," cho \xE2m thanh v\xE0 "),A=l(g,"A",{href:!0,rel:!0});var qt=c(A);ct=a(qt,"timm"),qt.forEach(n),ut=a(g," cho h\xECnh \u1EA3nh."),g.forEach(n),j=p(t),L=l(t,"P",{});var Mt=c(L);mt=a(Mt,"M\u1ED7i m\xF4 h\xECnh \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF \u1EDF kho l\u01B0u tr\u1EEF Git, cho ph\xE9p t\u1EA1o phi\xEAn b\u1EA3n v\xE0 kh\u1EA3 n\u0103ng t\xE1i t\u1EA1o. Chia s\u1EBB m\xF4 h\xECnh tr\xEAn Hub c\xF3 ngh\u0129a l\xE0 m\u1EDF r\u1ED9ng m\xF4 h\xECnh \u0111\xF3 v\u1EDBi c\u1ED9ng \u0111\u1ED3ng v\xE0 gi\xFAp b\u1EA5t k\u1EF3 ai mu\u1ED1n s\u1EED d\u1EE5ng m\xF4 h\xECnh \u0111\xF3 \u0111\u1EC1u c\xF3 th\u1EC3 d\u1EC5 d\xE0ng truy c\u1EADp, do \u0111\xF3 lo\u1EA1i b\u1ECF nhu c\u1EA7u t\u1EF1 hu\u1EA5n luy\u1EC7n m\xF4 h\xECnh c\u1EE7a h\u1ECD v\xE0 \u0111\u01A1n gi\u1EA3n h\xF3a vi\u1EC7c chia s\u1EBB v\xE0 s\u1EED d\u1EE5ng."),Mt.forEach(n),V=p(t),S=l(t,"P",{});var It=c(S);gt=a(It,"Ngo\xE0i ra, vi\u1EC7c chia s\u1EBB m\u1ED9t m\xF4 h\xECnh tr\xEAn Hub s\u1EBD t\u1EF1 \u0111\u1ED9ng tri\u1EC3n khai m\u1ED9t API lu\u1EADn suy \u0111\u01B0\u1EE3c l\u01B0u tr\u1EEF cho m\xF4 h\xECnh \u0111\xF3. B\u1EA5t k\u1EF3 ai trong c\u1ED9ng \u0111\u1ED3ng \u0111\u1EC1u c\xF3 th\u1EC3 t\u1EF1 do ki\u1EC3m tra n\xF3 tr\u1EF1c ti\u1EBFp tr\xEAn trang c\u1EE7a m\xF4 h\xECnh, v\u1EDBi c\xE1c \u0111\u1EA7u v\xE0o t\xF9y ch\u1EC9nh v\xE0 c\xE1c v\u1EADt d\u1EE5ng th\xEDch h\u1EE3p."),It.forEach(n),z=p(t),d=l(t,"P",{});var X=c(d);st=a(X,"Ph\u1EA7n t\u1ED1t nh\u1EA5t l\xE0 vi\u1EC7c chia s\u1EBB v\xE0 s\u1EED d\u1EE5ng b\u1EA5t k\u1EF3 m\xF4 h\xECnh c\xF4ng khai n\xE0o tr\xEAn Hub l\xE0 ho\xE0n to\xE0n mi\u1EC5n ph\xED! "),N=l(X,"A",{href:!0,rel:!0});var Tt=c(N);pt=a(Tt,"G\xF3i tr\u1EA3 ph\xED"),Tt.forEach(n),ft=a(X," c\u0169ng t\u1ED3n t\u1EA1i n\u1EBFu b\u1EA1n mu\u1ED1n chia s\u1EBB m\xF4 h\xECnh m\u1ED9t c\xE1ch ri\xEAng t\u01B0."),X.forEach(n),D=p(t),B=l(t,"P",{});var Yt=c(B);vt=a(Yt,"Video d\u01B0\u1EDBi \u0111\xE2y h\u01B0\u1EDBng d\u1EABn c\xE1ch d\xF9ng Hub."),Yt.forEach(n),J=p(t),$t(C.$$.fragment,t),O=p(t),x=l(t,"P",{});var kt=c(x);bt=a(kt,"B\u1EA1n c\u1EA7n c\xF3 t\xE0i kho\u1EA3n huggingface.co \u0111\u1EC3 l\xE0m theo ph\u1EA7n n\xE0y, v\xEC ch\xFAng ta s\u1EBD t\u1EA1o v\xE0 qu\u1EA3n l\xFD kho l\u01B0u tr\u1EEF tr\xEAn Hugging Face Hub: "),F=l(kt,"A",{href:!0,rel:!0});var jt=c(F);dt=a(jt,"t\u1EA1o t\xE0i kho\u1EA3n"),jt.forEach(n),kt.forEach(n),this.h()},h(){o(f,"name","hf:doc:metadata"),o(f,"content",JSON.stringify(Qt)),o(b,"id","hugging-face-hub"),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","#hugging-face-hub"),o(v,"class","relative group"),o($,"href","https://huggingface.co/"),o($,"rel","nofollow"),o(H,"href","https://github.com/flairNLP/flair"),o(H,"rel","nofollow"),o(w,"href","https://github.com/allenai/allennlp"),o(w,"rel","nofollow"),o(P,"href","https://github.com/asteroid-team/asteroid"),o(P,"rel","nofollow"),o(E,"href","https://github.com/pyannote/pyannote-audio"),o(E,"rel","nofollow"),o(A,"href","https://github.com/rwightman/pytorch-image-models"),o(A,"rel","nofollow"),o(N,"href","https://huggingface.co/pricing"),o(N,"rel","nofollow"),o(F,"href","https://huggingface.co/join"),o(F,"rel","nofollow")},m(t,e){h(document.head,f),u(t,M,e),u(t,v,e),h(v,b),h(b,G),Ht(_,G,null),h(v,Z),h(v,q),h(q,K),u(t,I,e),Ht(k,t,e),u(t,T,e),u(t,y,e),h(y,$),h($,Q),h(y,W),u(t,Y,e),u(t,m,e),h(m,tt),h(m,H),h(H,nt),h(m,ht),h(m,w),h(w,et),h(m,rt),h(m,P),h(P,at),h(m,ot),h(m,E),h(E,it),h(m,lt),h(m,A),h(A,ct),h(m,ut),u(t,j,e),u(t,L,e),h(L,mt),u(t,V,e),u(t,S,e),h(S,gt),u(t,z,e),u(t,d,e),h(d,st),h(d,N),h(N,pt),h(d,ft),u(t,D,e),u(t,B,e),h(B,vt),u(t,J,e),Ht(C,t,e),u(t,O,e),u(t,x,e),h(x,bt),h(x,F),h(F,dt),R=!0},p:Ot,i(t){R||(wt(_.$$.fragment,t),wt(k.$$.fragment,t),wt(C.$$.fragment,t),R=!0)},o(t){Pt(_.$$.fragment,t),Pt(k.$$.fragment,t),Pt(C.$$.fragment,t),R=!1},d(t){n(f),t&&n(M),t&&n(v),Et(_),t&&n(I),Et(k,t),t&&n(T),t&&n(y),t&&n(Y),t&&n(m),t&&n(j),t&&n(L),t&&n(V),t&&n(S),t&&n(z),t&&n(d),t&&n(D),t&&n(B),t&&n(J),Et(C,t),t&&n(O),t&&n(x)}}}const Qt={local:"hugging-face-hub",title:"Hugging Face Hub"};function Wt(At){return Rt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class an extends Vt{constructor(f){super();zt(this,f,Wt,Kt,Dt,{})}}export{an as default,Qt as metadata};
