import{s as U,n as G,o as O}from"../chunks/scheduler.d6170356.js";import{S as W,i as j,g as p,s as m,r as M,A as z,h as c,f as a,c as f,j as q,u as T,x as F,k as I,y as D,a as s,v as k,d as x,t as P,w as C}from"../chunks/index.fcd4cc08.js";import{H as S,E as Q}from"../chunks/EditOnGithub.da2b595c.js";function R(E){let l,g,u,b,i,$,o,L='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,y,r,A='<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>',w,d,v,h,H;return i=new S({props:{title:"Models",local:"models",headingTag:"h1"}}),n=new S({props:{title:"Contents",local:"contents",headingTag:"h2"}}),d=new Q({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/models.md"}}),{c(){l=p("meta"),g=m(),u=p("p"),b=m(),M(i.$$.fragment),$=m(),o=p("p"),o.innerHTML=L,_=m(),M(n.$$.fragment),y=m(),r=p("ul"),r.innerHTML=A,w=m(),M(d.$$.fragment),v=m(),h=p("p"),this.h()},l(e){const t=z("svelte-u9bgzb",document.head);l=c(t,"META",{name:!0,content:!0}),t.forEach(a),g=f(e),u=c(e,"P",{}),q(u).forEach(a),b=f(e),T(i.$$.fragment,e),$=f(e),o=c(e,"P",{"data-svelte-h":!0}),F(o)!=="svelte-kphifu"&&(o.innerHTML=L),_=f(e),T(n.$$.fragment,e),y=f(e),r=c(e,"UL",{"data-svelte-h":!0}),F(r)!=="svelte-q10f9t"&&(r.innerHTML=A),w=f(e),T(d.$$.fragment,e),v=f(e),h=c(e,"P",{}),q(h).forEach(a),this.h()},h(){I(l,"name","hf:doc:metadata"),I(l,"content",B)},m(e,t){D(document.head,l),s(e,g,t),s(e,u,t),s(e,b,t),k(i,e,t),s(e,$,t),s(e,o,t),s(e,_,t),k(n,e,t),s(e,y,t),s(e,r,t),s(e,w,t),k(d,e,t),s(e,v,t),s(e,h,t),H=!0},p:G,i(e){H||(x(i.$$.fragment,e),x(n.$$.fragment,e),x(d.$$.fragment,e),H=!0)},o(e){P(i.$$.fragment,e),P(n.$$.fragment,e),P(d.$$.fragment,e),H=!1},d(e){e&&(a(g),a(u),a(b),a($),a(o),a(_),a(y),a(r),a(w),a(v),a(h)),a(l),C(i,e),C(n,e),C(d,e)}}}const B='{"title":"Models","local":"models","sections":[{"title":"Contents","local":"contents","sections":[],"depth":2}],"depth":1}';function J(E){return O(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class X extends W{constructor(l){super(),j(this,l,J,R,U,{})}}export{X as component};
