import{s as z,y as O,n as U,o as V}from"../chunks/scheduler.d6170356.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 a,c as l,j as S,u as L,x as A,k as s,y as J,a as o,v as F,d as G,t as I,w as j}from"../chunks/index.fcd4cc08.js";import{H as W,E as K}from"../chunks/EditOnGithub.da2b595c.js";function N(k){let i,$,b,_,h,v,u,H,m,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 the <a href="./models-inference">Serverless Inference API</a> or <a href="https://huggingface.co/docs/inference-endpoints" rel="nofollow">Inference Endpoints</a>. to use models in production settings.',y,c,Y="You can refer to the following video for a guide on navigating the Model Hub:",M,n,q,x,f,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>.',T,d,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"}}),d=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(),m=p("p"),m.innerHTML=R,y=r(),c=p("p"),c.textContent=Y,M=r(),n=p("iframe"),x=r(),f=p("p"),f.innerHTML=D,T=r(),C(d.$$.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(a),$=l(e),b=g(e,"P",{}),S(b).forEach(a),_=l(e),L(h.$$.fragment,e),v=l(e),L(u.$$.fragment,e),H=l(e),m=g(e,"P",{"data-svelte-h":!0}),A(m)!=="svelte-1x9b2nu"&&(m.innerHTML=R),y=l(e),c=g(e,"P",{"data-svelte-h":!0}),A(c)!=="svelte-cfbld5"&&(c.textContent=Y),M=l(e),n=g(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),S(n).forEach(a),x=l(e),f=g(e,"P",{"data-svelte-h":!0}),A(f)!=="svelte-1dmpunj"&&(f.innerHTML=D),T=l(e),L(d.$$.fragment,e),P=l(e),w=g(e,"P",{}),S(w).forEach(a),this.h()},h(){s(i,"name","hf:doc:metadata"),s(i,"content",Q),s(n,"width","560"),s(n,"height","315"),O(n.src,q="https://www.youtube-nocookie.com/embed/XvSGPZFEjDY")||s(n,"src",q),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){J(document.head,i),o(e,$,t),o(e,b,t),o(e,_,t),F(h,e,t),o(e,v,t),F(u,e,t),o(e,H,t),o(e,m,t),o(e,y,t),o(e,c,t),o(e,M,t),o(e,n,t),o(e,x,t),o(e,f,t),o(e,T,t),F(d,e,t),o(e,P,t),o(e,w,t),E=!0},p:U,i(e){E||(G(h.$$.fragment,e),G(u.$$.fragment,e),G(d.$$.fragment,e),E=!0)},o(e){I(h.$$.fragment,e),I(u.$$.fragment,e),I(d.$$.fragment,e),E=!1},d(e){e&&(a($),a(b),a(_),a(v),a(H),a(m),a(y),a(c),a(M),a(n),a(x),a(f),a(T),a(P),a(w)),a(i),j(h,e),j(u,e),j(d,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(k){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};
