import{s as z,y as O,n as U,o as V}from"../chunks/scheduler.12fdeddc.js";import{S as X,i as Z,g as p,s as r,r as C,A as B,h as g,f as o,c as s,j as L,u as S,x as k,k as l,y as J,a,v as F,d as G,t as j,w as A}from"../chunks/index.88dae322.js";import{H as W,E as K}from"../chunks/getInferenceSnippets.00466244.js";function N(I){let i,$,b,_,h,v,u,H,c,R='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.',y,m,Y="You can refer to the following video for a guide on navigating the Model Hub:",M,n,q,T,d,D='To learn how to upload models to the Hub, you can refer to the <a href="./repositories-getting-started">Repositories Getting Started Guide</a>.',x,f,P,w,E;return h=new W({props:{title:"The Model Hub",local:"the-model-hub",headingTag:"h1"}}),u=new W({props:{title:"What is the Model Hub?",local:"what-is-the-model-hub",headingTag:"h2"}}),f=new K({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/models-the-hub.md"}}),{c(){i=p("meta"),$=r(),b=p("p"),_=r(),C(h.$$.fragment),v=r(),C(u.$$.fragment),H=r(),c=p("p"),c.innerHTML=R,y=r(),m=p("p"),m.textContent=Y,M=r(),n=p("iframe"),T=r(),d=p("p"),d.innerHTML=D,x=r(),C(f.$$.fragment),P=r(),w=p("p"),this.h()},l(e){const t=B("svelte-u9bgzb",document.head);i=g(t,"META",{name:!0,content:!0}),t.forEach(o),$=s(e),b=g(e,"P",{}),L(b).forEach(o),_=s(e),S(h.$$.fragment,e),v=s(e),S(u.$$.fragment,e),H=s(e),c=g(e,"P",{"data-svelte-h":!0}),k(c)!=="svelte-gdewek"&&(c.innerHTML=R),y=s(e),m=g(e,"P",{"data-svelte-h":!0}),k(m)!=="svelte-cfbld5"&&(m.textContent=Y),M=s(e),n=g(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),L(n).forEach(o),T=s(e),d=g(e,"P",{"data-svelte-h":!0}),k(d)!=="svelte-1dmpunj"&&(d.innerHTML=D),x=s(e),S(f.$$.fragment,e),P=s(e),w=g(e,"P",{}),L(w).forEach(o),this.h()},h(){l(i,"name","hf:doc:metadata"),l(i,"content",Q),l(n,"width","560"),l(n,"height","315"),O(n.src,q="https://www.youtube-nocookie.com/embed/XvSGPZFEjDY")||l(n,"src",q),l(n,"title","Model Hub Video"),l(n,"frameborder","0"),l(n,"allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),n.allowFullscreen=""},m(e,t){J(document.head,i),a(e,$,t),a(e,b,t),a(e,_,t),F(h,e,t),a(e,v,t),F(u,e,t),a(e,H,t),a(e,c,t),a(e,y,t),a(e,m,t),a(e,M,t),a(e,n,t),a(e,T,t),a(e,d,t),a(e,x,t),F(f,e,t),a(e,P,t),a(e,w,t),E=!0},p:U,i(e){E||(G(h.$$.fragment,e),G(u.$$.fragment,e),G(f.$$.fragment,e),E=!0)},o(e){j(h.$$.fragment,e),j(u.$$.fragment,e),j(f.$$.fragment,e),E=!1},d(e){e&&(o($),o(b),o(_),o(v),o(H),o(c),o(y),o(m),o(M),o(n),o(T),o(d),o(x),o(P),o(w)),o(i),A(h,e),A(u,e),A(f,e)}}}const Q='{"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 ee(I){return V(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ne extends X{constructor(i){super(),Z(this,i,ee,N,z,{})}}export{ne as component};
