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