import{s as U,a as V,n as X,o as Z}from"../chunks/scheduler.9cda857a.js";import{S as B,i as J,e as g,s as i,c as S,h as K,a as b,d as o,b as r,f as R,g as k,j as Y,k as s,l as N,m as a,n as F,t as G,o as j,p as I}from"../chunks/index.f47f3121.js";import{C as Q}from"../chunks/CopyLLMTxtMenu.676ed699.js";import{H as O,E as ee}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.64d112fc.js";function te(q){let l,_,$,v,m,y,u,M,f,x,h,z='The Model Hub is where the members of the Hugging Face community can host all of their model checkpoints for simple storage, discovery, and sharing. Download pre-trained models with the <a href="https://huggingface.co/docs/huggingface_hub/index" rel="nofollow"><code>huggingface_hub</code> client library</a>, with 🤗  <a href="https://huggingface.co/docs/transformers/index" rel="nofollow"><code>Transformers</code></a> for fine-tuning and other usages or with any of the over <a href="./models-libraries">15 integrated libraries</a>. You can even leverage <a href="/docs/inference-providers/">Inference Providers</a> or <a href="https://huggingface.co/docs/inference-endpoints" rel="nofollow">Inference Endpoints</a> to use models in production settings.',H,c,A="You can refer to the following video for a guide on navigating the Model Hub:",T,n,D,P,d,W='To learn how to upload models to the Hub, you can refer to the <a href="./repositories-getting-started">Repositories Getting Started Guide</a>.',E,p,C,w,L;return m=new Q({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new O({props:{title:"The Model Hub",local:"the-model-hub",headingTag:"h1"}}),f=new O({props:{title:"What is the Model Hub?",local:"what-is-the-model-hub",headingTag:"h2"}}),p=new ee({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/models-the-hub.md"}}),{c(){l=g("meta"),_=i(),$=g("p"),v=i(),S(m.$$.fragment),y=i(),S(u.$$.fragment),M=i(),S(f.$$.fragment),x=i(),h=g("p"),h.innerHTML=z,H=i(),c=g("p"),c.textContent=A,T=i(),n=g("iframe"),P=i(),d=g("p"),d.innerHTML=W,E=i(),S(p.$$.fragment),C=i(),w=g("p"),this.h()},l(e){const t=K("svelte-u9bgzb",document.head);l=b(t,"META",{name:!0,content:!0}),t.forEach(o),_=r(e),$=b(e,"P",{}),R($).forEach(o),v=r(e),k(m.$$.fragment,e),y=r(e),k(u.$$.fragment,e),M=r(e),k(f.$$.fragment,e),x=r(e),h=b(e,"P",{"data-svelte-h":!0}),Y(h)!=="svelte-gdewek"&&(h.innerHTML=z),H=r(e),c=b(e,"P",{"data-svelte-h":!0}),Y(c)!=="svelte-cfbld5"&&(c.textContent=A),T=r(e),n=b(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),R(n).forEach(o),P=r(e),d=b(e,"P",{"data-svelte-h":!0}),Y(d)!=="svelte-1dmpunj"&&(d.innerHTML=W),E=r(e),k(p.$$.fragment,e),C=r(e),w=b(e,"P",{}),R(w).forEach(o),this.h()},h(){s(l,"name","hf:doc:metadata"),s(l,"content",oe),s(n,"width","560"),s(n,"height","315"),V(n.src,D="https://www.youtube-nocookie.com/embed/XvSGPZFEjDY")||s(n,"src",D),s(n,"title","Model Hub Video"),s(n,"frameborder","0"),s(n,"allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),n.allowFullscreen=""},m(e,t){N(document.head,l),a(e,_,t),a(e,$,t),a(e,v,t),F(m,e,t),a(e,y,t),F(u,e,t),a(e,M,t),F(f,e,t),a(e,x,t),a(e,h,t),a(e,H,t),a(e,c,t),a(e,T,t),a(e,n,t),a(e,P,t),a(e,d,t),a(e,E,t),F(p,e,t),a(e,C,t),a(e,w,t),L=!0},p:X,i(e){L||(G(m.$$.fragment,e),G(u.$$.fragment,e),G(f.$$.fragment,e),G(p.$$.fragment,e),L=!0)},o(e){j(m.$$.fragment,e),j(u.$$.fragment,e),j(f.$$.fragment,e),j(p.$$.fragment,e),L=!1},d(e){e&&(o(_),o($),o(v),o(y),o(M),o(x),o(h),o(H),o(c),o(T),o(n),o(P),o(d),o(E),o(C),o(w)),o(l),I(m,e),I(u,e),I(f,e),I(p,e)}}}const oe='{"title":"The Model Hub","local":"the-model-hub","sections":[{"title":"What is the Model Hub?","local":"what-is-the-model-hub","sections":[],"depth":2}],"depth":1}';function ae(q){return Z(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class se extends B{constructor(l){super(),J(this,l,ae,te,U,{})}}export{se as component};
