import{s as I,n as S,o as U}from"../chunks/scheduler.d6170356.js";import{S as W,i as j,g as u,s as d,r as T,A as z,h as c,f as a,c as m,j as k,u as x,x as P,k as C,y as D,a as s,v as L,d as A,t as E,w as q}from"../chunks/index.fcd4cc08.js";import{H as F}from"../chunks/Heading.8660bd0e.js";function G(w){let l,p,f,g,i,b,o,H='The Hugging Face Hub hosts many models for a <a href="https://huggingface.co/tasks" rel="nofollow">variety of machine learning tasks</a>. Models are stored in repositories, so they benefit from <a href="./repositories">all the features</a> possessed by every repo on the Hugging Face Hub. Additionally, model repos have attributes that make exploring and using models as easy as possible. These docs will take you through everything you’ll need to know to find models on the Hub, upload your models, and make the most of everything the Model Hub offers!',_,n,$,r,M='<li><a href="./models-the-hub">The Model Hub</a></li> <li><a href="./model-cards">Model Cards</a><ul><li><a href="./model-cards-co2">CO<sub>2</sub> emissions</a></li> <li><a href="./models-gated">Gated models</a></li></ul></li> <li><a href="./models-libraries">Libraries</a></li> <li><a href="./models-uploading">Uploading Models</a></li> <li><a href="./models-downloading">Downloading Models</a></li> <li><a href="./models-widgets">Widgets</a><ul><li><a href="./models-widgets-examples">Widget Examples</a></li></ul></li> <li><a href="./models-inference">Inference API</a></li> <li><a href="./models-faq">Frequently Asked Questions</a></li> <li><a href="./models-advanced">Advanced Topics</a><ul><li><a href="./models-adding-libraries">Integrating libraries with the Hub</a></li> <li><a href="./models-tasks">Tasks</a></li></ul></li>',y,h,v;return i=new F({props:{title:"Models",local:"models",headingTag:"h1"}}),n=new F({props:{title:"Contents",local:"contents",headingTag:"h2"}}),{c(){l=u("meta"),p=d(),f=u("p"),g=d(),T(i.$$.fragment),b=d(),o=u("p"),o.innerHTML=H,_=d(),T(n.$$.fragment),$=d(),r=u("ul"),r.innerHTML=M,y=d(),h=u("p"),this.h()},l(e){const t=z("svelte-u9bgzb",document.head);l=c(t,"META",{name:!0,content:!0}),t.forEach(a),p=m(e),f=c(e,"P",{}),k(f).forEach(a),g=m(e),x(i.$$.fragment,e),b=m(e),o=c(e,"P",{"data-svelte-h":!0}),P(o)!=="svelte-kphifu"&&(o.innerHTML=H),_=m(e),x(n.$$.fragment,e),$=m(e),r=c(e,"UL",{"data-svelte-h":!0}),P(r)!=="svelte-q10f9t"&&(r.innerHTML=M),y=m(e),h=c(e,"P",{}),k(h).forEach(a),this.h()},h(){C(l,"name","hf:doc:metadata"),C(l,"content",O)},m(e,t){D(document.head,l),s(e,p,t),s(e,f,t),s(e,g,t),L(i,e,t),s(e,b,t),s(e,o,t),s(e,_,t),L(n,e,t),s(e,$,t),s(e,r,t),s(e,y,t),s(e,h,t),v=!0},p:S,i(e){v||(A(i.$$.fragment,e),A(n.$$.fragment,e),v=!0)},o(e){E(i.$$.fragment,e),E(n.$$.fragment,e),v=!1},d(e){e&&(a(p),a(f),a(g),a(b),a(o),a(_),a($),a(r),a(y),a(h)),a(l),q(i,e),q(n,e)}}}const O='{"title":"Models","local":"models","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function Q(w){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class K extends W{constructor(l){super(),j(this,l,Q,G,I,{})}}export{K as component};
