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 L,u as S,x as A,k as s,y as J,a as o,v as F,d as G,t as j,w as k}from"../chunks/index.fcd4cc08.js";import{H as W,E as K}from"../chunks/EditOnGithub.da2b595c.js";function N(I){let n,$,b,_,u,v,h,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">Inference API</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,i,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 u=new W({props:{title:"The Model Hub",local:"the-model-hub",headingTag:"h1"}}),h=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(){n=p("meta"),$=r(),b=p("p"),_=r(),C(u.$$.fragment),v=r(),C(h.$$.fragment),H=r(),m=p("p"),m.innerHTML=R,y=r(),c=p("p"),c.textContent=Y,M=r(),i=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);n=g(t,"META",{name:!0,content:!0}),t.forEach(a),$=l(e),b=g(e,"P",{}),L(b).forEach(a),_=l(e),S(u.$$.fragment,e),v=l(e),S(h.$$.fragment,e),H=l(e),m=g(e,"P",{"data-svelte-h":!0}),A(m)!=="svelte-1b43ei9"&&(m.innerHTML=R),y=l(e),c=g(e,"P",{"data-svelte-h":!0}),A(c)!=="svelte-cfbld5"&&(c.textContent=Y),M=l(e),i=g(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),L(i).forEach(a),T=l(e),d=g(e,"P",{"data-svelte-h":!0}),A(d)!=="svelte-1dmpunj"&&(d.innerHTML=D),x=l(e),S(f.$$.fragment,e),P=l(e),w=g(e,"P",{}),L(w).forEach(a),this.h()},h(){s(n,"name","hf:doc:metadata"),s(n,"content",Q),s(i,"width","560"),s(i,"height","315"),O(i.src,q="https://www.youtube-nocookie.com/embed/XvSGPZFEjDY")||s(i,"src",q),s(i,"title","Model Hub Video"),s(i,"frameborder","0"),s(i,"allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"),i.allowFullscreen=""},m(e,t){J(document.head,n),o(e,$,t),o(e,b,t),o(e,_,t),F(u,e,t),o(e,v,t),F(h,e,t),o(e,H,t),o(e,m,t),o(e,y,t),o(e,c,t),o(e,M,t),o(e,i,t),o(e,T,t),o(e,d,t),o(e,x,t),F(f,e,t),o(e,P,t),o(e,w,t),E=!0},p:U,i(e){E||(G(u.$$.fragment,e),G(h.$$.fragment,e),G(f.$$.fragment,e),E=!0)},o(e){j(u.$$.fragment,e),j(h.$$.fragment,e),j(f.$$.fragment,e),E=!1},d(e){e&&(a($),a(b),a(_),a(v),a(H),a(m),a(y),a(c),a(M),a(i),a(T),a(d),a(x),a(P),a(w)),a(n),k(u,e),k(h,e),k(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 ie extends X{constructor(n){super(),Z(this,n,ee,N,z,{})}}export{ie as component};
