import{s as D,y as W,n as z,o as U}from"../chunks/scheduler.d6170356.js";import{S as V,i as X,g as f,s as n,r as j,A as Z,h as p,f as a,c as l,j as P,u as k,x as E,k as s,y as B,a as o,v as G,d as I,t as R,w as Y}from"../chunks/index.fcd4cc08.js";import{H as q}from"../chunks/Heading.8660bd0e.js";function J(C){let r,w,g,_,h,v,u,$,c,L='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.',H,m,S="You can refer to the following video for a guide on navigating the Model Hub:",y,i,A,M,d,F='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,b,x;return h=new q({props:{title:"The Model Hub",local:"the-model-hub",headingTag:"h1"}}),u=new q({props:{title:"What is the Model Hub?",local:"what-is-the-model-hub",headingTag:"h2"}}),{c(){r=f("meta"),w=n(),g=f("p"),_=n(),j(h.$$.fragment),v=n(),j(u.$$.fragment),$=n(),c=f("p"),c.innerHTML=L,H=n(),m=f("p"),m.textContent=S,y=n(),i=f("iframe"),M=n(),d=f("p"),d.innerHTML=F,T=n(),b=f("p"),this.h()},l(e){const t=Z("svelte-u9bgzb",document.head);r=p(t,"META",{name:!0,content:!0}),t.forEach(a),w=l(e),g=p(e,"P",{}),P(g).forEach(a),_=l(e),k(h.$$.fragment,e),v=l(e),k(u.$$.fragment,e),$=l(e),c=p(e,"P",{"data-svelte-h":!0}),E(c)!=="svelte-1b43ei9"&&(c.innerHTML=L),H=l(e),m=p(e,"P",{"data-svelte-h":!0}),E(m)!=="svelte-cfbld5"&&(m.textContent=S),y=l(e),i=p(e,"IFRAME",{width:!0,height:!0,src:!0,title:!0,frameborder:!0,allow:!0}),P(i).forEach(a),M=l(e),d=p(e,"P",{"data-svelte-h":!0}),E(d)!=="svelte-1dmpunj"&&(d.innerHTML=F),T=l(e),b=p(e,"P",{}),P(b).forEach(a),this.h()},h(){s(r,"name","hf:doc:metadata"),s(r,"content",K),s(i,"width","560"),s(i,"height","315"),W(i.src,A="https://www.youtube-nocookie.com/embed/XvSGPZFEjDY")||s(i,"src",A),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){B(document.head,r),o(e,w,t),o(e,g,t),o(e,_,t),G(h,e,t),o(e,v,t),G(u,e,t),o(e,$,t),o(e,c,t),o(e,H,t),o(e,m,t),o(e,y,t),o(e,i,t),o(e,M,t),o(e,d,t),o(e,T,t),o(e,b,t),x=!0},p:z,i(e){x||(I(h.$$.fragment,e),I(u.$$.fragment,e),x=!0)},o(e){R(h.$$.fragment,e),R(u.$$.fragment,e),x=!1},d(e){e&&(a(w),a(g),a(_),a(v),a($),a(c),a(H),a(m),a(y),a(i),a(M),a(d),a(T),a(b)),a(r),Y(h,e),Y(u,e)}}}const K='{"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 N(C){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class te extends V{constructor(r){super(),X(this,r,N,J,D,{})}}export{te as component};
