import{S as Me,i as Ye,s as je,e as n,k as m,w as He,t as o,M as Be,c as s,d as t,m as c,a as u,x as ve,h as f,b as r,G as a,g as p,y as $e,L as ze,q as we,o as Ee,B as Pe,v as De}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Je}from"../../chunks/Youtube-hf-doc-builder.js";import{I as Oe}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Re}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Ue(Ae){let g,I,b,_,C,v,X,G,Z,q,$,M,w,E,K,Q,Y,i,V,P,W,ee,A,te,ae,d,re,le,y,oe,fe,F,ne,se,j,T,ue,B,k,ie,z,H,pe,N,he,me,D,L,J,x,ce,S,ge,O;return v=new Oe({}),$=new Re({props:{chapter:4,classNames:"absolute z-10 right-0 top-0"}}),L=new Je({props:{id:"XvSGPZFEjDY"}}),{c(){g=n("meta"),I=m(),b=n("h1"),_=n("a"),C=n("span"),He(v.$$.fragment),X=m(),G=n("span"),Z=o("The Hugging Face Hub"),q=m(),He($.$$.fragment),M=m(),w=n("p"),E=n("a"),K=o("Hugging Face Hub"),Q=o("---\u6211\u4EEC\u7684\u4E3B\u7F51\u7AD9\uFF0C\u662F\u4E00\u4E2A\u4E2D\u592E\u5E73\u53F0\uFF0C\u5728\u8FD9\u4E2A\u7F51\u7AD9\u4E0A\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u67E5\u627E\u3001\u4F7F\u7528\u548C\u8D21\u732E\u65B0\u7684\u6700\u5148\u8FDB\u7684\u6A21\u578B\u548C\u6570\u636E\u96C6\u3002\u5B83\u62E5\u6709\u5404\u79CD\u5404\u6837\u7684\u6A21\u578B\uFF0C\u516C\u5F00\u53EF\u7528\u7684\u6A21\u578B\u8D85\u8FC7 10,000\u4E2A\u3002\u6211\u4EEC\u5728\u672C\u7AE0\u53BB\u63A2\u7D22Hub\u4E2D\u7684\u6A21\u578B\uFF0C\u5E76\u5728\u7B2C 5 \u7AE0\u4E2D\u63A2\u7D22Hub\u4E2D\u7684\u6570\u636E\u96C6\u3002"),Y=m(),i=n("p"),V=o("Hub \u4E2D\u7684\u6A21\u578B\u4E0D\u4EC5\u9650\u4E8E\u{1F917} Transformers \u751A\u81F3 NLP\u3002\u6709\u7528\u4E8E\u81EA\u7136\u8BED\u8A00\u5904\u7406\u7684"),P=n("a"),W=o("Flair"),ee=o("\uFF0C"),A=n("a"),te=o("AllenNLP"),ae=o("\uFF0C"),d=n("a"),re=o("Asteroid"),le=o("\u548C\u7528\u4E8E\u97F3\u9891\u68C0\u6D4B\u7684"),y=n("a"),oe=o("pyannote"),fe=o("\uFF0C\u4EE5\u53CA\u5BF9\u4E8E\u89C6\u89C9\u7684"),F=n("a"),ne=o("timm"),se=o("\uFF0C\u8FD9\u4E9B\u4F8B\u5B50\u53EA\u662FHub\u4E2D\u51B0\u5C71\u4E00\u89D2\uFF0C\u66F4\u591A\u7684\u6A21\u578B\u3002\u53EF\u4EE5\u7531\u4F60\u53BB\u63A2\u7D22\u3002"),j=m(),T=n("p"),ue=o("\u8FD9\u4E9B\u6A21\u578B\u4E2D\u7684\u6BCF\u4E00\u4E2A\u90FD\u4F5C\u4E3A Git \u5B58\u50A8\u5E93\u6258\u7BA1\uFF0C\u8FD9\u5141\u8BB8\u8FDB\u884C\u7248\u672C\u63A7\u5236\u548C\u91CD\u73B0\u3002\u5728 Hub \u4E0A\u5171\u4EAB\u6A21\u578B\u610F\u5473\u7740\u5C06\u5176\u5411\u793E\u533A\u5F00\u653E\uFF0C\u8BA9\u4EFB\u4F55\u5E0C\u671B\u4F7F\u7528\u5B83\u7684\u4EBA\u90FD\u53EF\u4EE5\u8F7B\u677E\u8BBF\u95EE\u5B83\uFF0C\u4ECE\u800C\u4F7F\u5176\u4ED6\u4EBA\u4E0D\u7528\u4E3A\u8BAD\u7EC3\u6A21\u578B\u800C\u82E6\u607C\u5C31\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u6A21\u578B\u3002"),B=m(),k=n("p"),ie=o("\u6B64\u5916\uFF0C\u5728 Hub \u4E0A\u5171\u4EAB\u6A21\u578B\u4F1A\u81EA\u52A8\u4E3A\u8BE5\u6A21\u578B\u90E8\u7F72\u6258\u7BA1\u7684\u63A8\u7406 API\u3002\u793E\u533A\u4E2D\u7684\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u76F4\u63A5\u5728\u6A21\u578B\u9875\u9762\u4E0A\u81EA\u7531\u5730\u6D4B\u8BD5\u5B83\uFF0C\u4F7F\u7528\u81EA\u5B9A\u4E49\u8F93\u5165\u548C\u9002\u5F53\u7684\u5C0F\u90E8\u4EF6\u3002"),z=m(),H=n("p"),pe=o("\u6700\u68D2\u7684\u662F\u662F\u5728 Hub \u4E0A\u5171\u4EAB\u548C\u4F7F\u7528\u4EFB\u4F55\u516C\u5171\u6A21\u578B\u662F\u5B8C\u5168\u514D\u8D39\u7684\uFF01\u5982\u679C\u60A8\u4E0D\u60F3\u516C\u5F00\u6A21\u578B\uFF0C\u4E5F\u5B58\u5728"),N=n("a"),he=o("\u4ED8\u8D39\u8BA1\u5212"),me=o("\u3002\u4E0B\u9762\u7684\u89C6\u9891\u663E\u793A\u4E86\u5982\u4F55\u4F7F\u7528 Hub\u3002"),D=m(),He(L.$$.fragment),J=m(),x=n("p"),ce=o("\u8FD9\u90E8\u5206\u9700\u8981\u6709\u4E00\u4E2A Huggingface.co \u5E10\u6237\uFF0C\u56E0\u4E3A\u6211\u4EEC\u5C06\u5728 Hugging Face Hub \u4E0A\u521B\u5EFA\u548C\u7BA1\u7406\u5B58\u50A8\u5E93\uFF1A"),S=n("a"),ge=o("\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),this.h()},l(e){const l=Be('[data-svelte="svelte-1phssyn"]',document.head);g=s(l,"META",{name:!0,content:!0}),l.forEach(t),I=c(e),b=s(e,"H1",{class:!0});var R=u(b);_=s(R,"A",{id:!0,class:!0,href:!0});var de=u(_);C=s(de,"SPAN",{});var ye=u(C);ve(v.$$.fragment,ye),ye.forEach(t),de.forEach(t),X=c(R),G=s(R,"SPAN",{});var Fe=u(G);Z=f(Fe,"The Hugging Face Hub"),Fe.forEach(t),R.forEach(t),q=c(e),ve($.$$.fragment,e),M=c(e),w=s(e,"P",{});var be=u(w);E=s(be,"A",{href:!0,rel:!0});var Ne=u(E);K=f(Ne,"Hugging Face Hub"),Ne.forEach(t),Q=f(be,"---\u6211\u4EEC\u7684\u4E3B\u7F51\u7AD9\uFF0C\u662F\u4E00\u4E2A\u4E2D\u592E\u5E73\u53F0\uFF0C\u5728\u8FD9\u4E2A\u7F51\u7AD9\u4E0A\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u67E5\u627E\u3001\u4F7F\u7528\u548C\u8D21\u732E\u65B0\u7684\u6700\u5148\u8FDB\u7684\u6A21\u578B\u548C\u6570\u636E\u96C6\u3002\u5B83\u62E5\u6709\u5404\u79CD\u5404\u6837\u7684\u6A21\u578B\uFF0C\u516C\u5F00\u53EF\u7528\u7684\u6A21\u578B\u8D85\u8FC7 10,000\u4E2A\u3002\u6211\u4EEC\u5728\u672C\u7AE0\u53BB\u63A2\u7D22Hub\u4E2D\u7684\u6A21\u578B\uFF0C\u5E76\u5728\u7B2C 5 \u7AE0\u4E2D\u63A2\u7D22Hub\u4E2D\u7684\u6570\u636E\u96C6\u3002"),be.forEach(t),Y=c(e),i=s(e,"P",{});var h=u(i);V=f(h,"Hub \u4E2D\u7684\u6A21\u578B\u4E0D\u4EC5\u9650\u4E8E\u{1F917} Transformers \u751A\u81F3 NLP\u3002\u6709\u7528\u4E8E\u81EA\u7136\u8BED\u8A00\u5904\u7406\u7684"),P=s(h,"A",{href:!0,rel:!0});var Le=u(P);W=f(Le,"Flair"),Le.forEach(t),ee=f(h,"\uFF0C"),A=s(h,"A",{href:!0,rel:!0});var xe=u(A);te=f(xe,"AllenNLP"),xe.forEach(t),ae=f(h,"\uFF0C"),d=s(h,"A",{href:!0,rel:!0});var Se=u(d);re=f(Se,"Asteroid"),Se.forEach(t),le=f(h,"\u548C\u7528\u4E8E\u97F3\u9891\u68C0\u6D4B\u7684"),y=s(h,"A",{href:!0,rel:!0});var Te=u(y);oe=f(Te,"pyannote"),Te.forEach(t),fe=f(h,"\uFF0C\u4EE5\u53CA\u5BF9\u4E8E\u89C6\u89C9\u7684"),F=s(h,"A",{href:!0,rel:!0});var ke=u(F);ne=f(ke,"timm"),ke.forEach(t),se=f(h,"\uFF0C\u8FD9\u4E9B\u4F8B\u5B50\u53EA\u662FHub\u4E2D\u51B0\u5C71\u4E00\u89D2\uFF0C\u66F4\u591A\u7684\u6A21\u578B\u3002\u53EF\u4EE5\u7531\u4F60\u53BB\u63A2\u7D22\u3002"),h.forEach(t),j=c(e),T=s(e,"P",{});var Ce=u(T);ue=f(Ce,"\u8FD9\u4E9B\u6A21\u578B\u4E2D\u7684\u6BCF\u4E00\u4E2A\u90FD\u4F5C\u4E3A Git \u5B58\u50A8\u5E93\u6258\u7BA1\uFF0C\u8FD9\u5141\u8BB8\u8FDB\u884C\u7248\u672C\u63A7\u5236\u548C\u91CD\u73B0\u3002\u5728 Hub \u4E0A\u5171\u4EAB\u6A21\u578B\u610F\u5473\u7740\u5C06\u5176\u5411\u793E\u533A\u5F00\u653E\uFF0C\u8BA9\u4EFB\u4F55\u5E0C\u671B\u4F7F\u7528\u5B83\u7684\u4EBA\u90FD\u53EF\u4EE5\u8F7B\u677E\u8BBF\u95EE\u5B83\uFF0C\u4ECE\u800C\u4F7F\u5176\u4ED6\u4EBA\u4E0D\u7528\u4E3A\u8BAD\u7EC3\u6A21\u578B\u800C\u82E6\u607C\u5C31\u53EF\u4EE5\u76F4\u63A5\u4F7F\u7528\u6A21\u578B\u3002"),Ce.forEach(t),B=c(e),k=s(e,"P",{});var Ge=u(k);ie=f(Ge,"\u6B64\u5916\uFF0C\u5728 Hub \u4E0A\u5171\u4EAB\u6A21\u578B\u4F1A\u81EA\u52A8\u4E3A\u8BE5\u6A21\u578B\u90E8\u7F72\u6258\u7BA1\u7684\u63A8\u7406 API\u3002\u793E\u533A\u4E2D\u7684\u4EFB\u4F55\u4EBA\u90FD\u53EF\u4EE5\u76F4\u63A5\u5728\u6A21\u578B\u9875\u9762\u4E0A\u81EA\u7531\u5730\u6D4B\u8BD5\u5B83\uFF0C\u4F7F\u7528\u81EA\u5B9A\u4E49\u8F93\u5165\u548C\u9002\u5F53\u7684\u5C0F\u90E8\u4EF6\u3002"),Ge.forEach(t),z=c(e),H=s(e,"P",{});var U=u(H);pe=f(U,"\u6700\u68D2\u7684\u662F\u662F\u5728 Hub \u4E0A\u5171\u4EAB\u548C\u4F7F\u7528\u4EFB\u4F55\u516C\u5171\u6A21\u578B\u662F\u5B8C\u5168\u514D\u8D39\u7684\uFF01\u5982\u679C\u60A8\u4E0D\u60F3\u516C\u5F00\u6A21\u578B\uFF0C\u4E5F\u5B58\u5728"),N=s(U,"A",{href:!0,rel:!0});var Ie=u(N);he=f(Ie,"\u4ED8\u8D39\u8BA1\u5212"),Ie.forEach(t),me=f(U,"\u3002\u4E0B\u9762\u7684\u89C6\u9891\u663E\u793A\u4E86\u5982\u4F55\u4F7F\u7528 Hub\u3002"),U.forEach(t),D=c(e),ve(L.$$.fragment,e),J=c(e),x=s(e,"P",{});var _e=u(x);ce=f(_e,"\u8FD9\u90E8\u5206\u9700\u8981\u6709\u4E00\u4E2A Huggingface.co \u5E10\u6237\uFF0C\u56E0\u4E3A\u6211\u4EEC\u5C06\u5728 Hugging Face Hub \u4E0A\u521B\u5EFA\u548C\u7BA1\u7406\u5B58\u50A8\u5E93\uFF1A"),S=s(_e,"A",{href:!0,rel:!0});var qe=u(S);ge=f(qe,"\u521B\u5EFA\u4E00\u4E2A\u8D26\u6237"),qe.forEach(t),_e.forEach(t),this.h()},h(){r(g,"name","hf:doc:metadata"),r(g,"content",JSON.stringify(Xe)),r(_,"id","the-hugging-face-hub"),r(_,"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"),r(_,"href","#the-hugging-face-hub"),r(b,"class","relative group"),r(E,"href","https://huggingface.co/"),r(E,"rel","nofollow"),r(P,"href","https://github.com/flairNLP/flair"),r(P,"rel","nofollow"),r(A,"href","https://github.com/allenai/allennlp"),r(A,"rel","nofollow"),r(d,"href","https://github.com/asteroid-team/asteroid"),r(d,"rel","nofollow"),r(y,"href","https://github.com/pyannote/pyannote-audio"),r(y,"rel","nofollow"),r(F,"href","https://github.com/rwightman/pytorch-image-models"),r(F,"rel","nofollow"),r(N,"href","https://huggingface.co/pricing"),r(N,"rel","nofollow"),r(S,"href","https://huggingface.co/join"),r(S,"rel","nofollow")},m(e,l){a(document.head,g),p(e,I,l),p(e,b,l),a(b,_),a(_,C),$e(v,C,null),a(b,X),a(b,G),a(G,Z),p(e,q,l),$e($,e,l),p(e,M,l),p(e,w,l),a(w,E),a(E,K),a(w,Q),p(e,Y,l),p(e,i,l),a(i,V),a(i,P),a(P,W),a(i,ee),a(i,A),a(A,te),a(i,ae),a(i,d),a(d,re),a(i,le),a(i,y),a(y,oe),a(i,fe),a(i,F),a(F,ne),a(i,se),p(e,j,l),p(e,T,l),a(T,ue),p(e,B,l),p(e,k,l),a(k,ie),p(e,z,l),p(e,H,l),a(H,pe),a(H,N),a(N,he),a(H,me),p(e,D,l),$e(L,e,l),p(e,J,l),p(e,x,l),a(x,ce),a(x,S),a(S,ge),O=!0},p:ze,i(e){O||(we(v.$$.fragment,e),we($.$$.fragment,e),we(L.$$.fragment,e),O=!0)},o(e){Ee(v.$$.fragment,e),Ee($.$$.fragment,e),Ee(L.$$.fragment,e),O=!1},d(e){t(g),e&&t(I),e&&t(b),Pe(v),e&&t(q),Pe($,e),e&&t(M),e&&t(w),e&&t(Y),e&&t(i),e&&t(j),e&&t(T),e&&t(B),e&&t(k),e&&t(z),e&&t(H),e&&t(D),Pe(L,e),e&&t(J),e&&t(x)}}}const Xe={local:"the-hugging-face-hub",title:"The Hugging Face Hub"};function Ze(Ae){return De(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class tt extends Me{constructor(g){super();Ye(this,g,Ze,Ue,je,{})}}export{tt as default,Xe as metadata};
