import{S as js,i as Cs,s as Zs,e as s,k as c,w as S,t as i,N as Hs,c as l,d as a,m as d,a as r,x as P,h as n,b as o,P as we,G as t,g as h,y as W,L as Ss,q as N,o as B,B as K,v as Ps}from"../chunks/vendor-hf-doc-builder.js";import{I as Fe}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as Ka}from"../chunks/CodeBlock-hf-doc-builder.js";function Ws(Ra){let b,Ye,w,I,ke,R,Jt,Ee,Tt,Ve,F,$e,It,xt,qe,k,x,Me,Y,At,Ue,Gt,Le,g,jt,Je,Ct,Zt,V,Ht,St,Xe,he,Pt,De,v,Te,Wt,Nt,Ie,Bt,Kt,xe,Rt,Oe,E,A,Ae,q,Ft,Ge,Yt,ze,G,Vt,je,qt,Lt,Qe,L,et,m,Xt,Ce,Dt,Ot,Ze,zt,Qt,X,ea,ta,tt,D,at,j,aa,He,sa,la,st,$,ce,Fa,ra,de,Ya,lt,M,fe,Va,oa,pe,qa,rt,U,C,Se,O,ia,Pe,na,ot,f,ua,We,ha,ca,Ne,da,fa,Be,pa,ma,z,ga,va,it,Q,nt,me,_a,ut,J,ge,La,ya,ve,Xa,ht,T,Z,Ke,ee,ba,Re,wa,ct,p,te,ka,ae,Ea,$a,Ma,se,Ua,le,Ja,Ta,Ia,re,xa,oe,Aa,Ga,ja,_e,Ca,ie,Za,Ha,ne,Sa,ue,Pa,Wa,dt;return R=new Fe({}),Y=new Fe({}),q=new Fe({}),L=new Ka({props:{code:"cGlwJTIwaW5zdGFsbCUyMGh1Z2dpbmdmYWNlX2h1YiU1QiUyMnRlbnNvcmZsb3clMjIlNUQ=",highlighted:'pip <span class="hljs-keyword">install</span> huggingface_hub[<span class="hljs-string">&quot;tensorflow&quot;</span>]'}}),D=new Ka({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGZyb21fcHJldHJhaW5lZF9rZXJhcyUwQSUwQW1vZGVsJTIwJTNEJTIwZnJvbV9wcmV0cmFpbmVkX2tlcmFzKCUyMmtlcmFzLWlvJTJGbW9iaWxlLXZpdC14eHMlMjIpJTBBcHJlZGljdGlvbiUyMCUzRCUyMG1vZGVsLnByZWRpY3QoaW1hZ2UpJTBBcHJlZGljdGlvbiUyMCUzRCUyMHRmLnNxdWVlemUodGYucm91bmQocHJlZGljdGlvbikpJTBBcHJpbnQoZidUaGUlMjBpbWFnZSUyMGlzJTIwYSUyMCU3QmNsYXNzZXMlNUIobnAuYXJnbWF4KHByZWRpY3Rpb24pKSU1RCU3RCEnKSUwQSUwQSUyMyUyMFRoZSUyMGltYWdlJTIwaXMlMjBhJTIwc3VuZmxvd2VyIQ==",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> from_pretrained_keras

model = from_pretrained_keras(<span class="hljs-string">&quot;keras-io/mobile-vit-xxs&quot;</span>)
prediction = model.predict(image)
prediction = tf.squeeze(tf.<span class="hljs-built_in">round</span>(prediction))
<span class="hljs-built_in">print</span>(<span class="hljs-string">f&#x27;The image is a <span class="hljs-subst">{classes[(np.argmax(prediction))]}</span>!&#x27;</span>)

<span class="hljs-comment"># The image is a sunflower!</span>`}}),O=new Fe({}),Q=new Ka({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMHB1c2hfdG9faHViX2tlcmFzJTBBJTBBcHVzaF90b19odWJfa2VyYXMobW9kZWwlMkMlMEElMjAlMjAlMjAlMjAlMjJ5b3VyLXVzZXJuYW1lJTJGeW91ci1tb2RlbC1uYW1lJTIyJTJDJTBBJTIwJTIwJTIwJTIwJTIyeW91ci10ZW5zb3Jib2FyZC1sb2ctZGlyZWN0b3J5JTIyJTJDJTBBJTIwJTIwJTIwJTIwdGFncyUyMCUzRCUyMCU1QiUyMm9iamVjdC1kZXRlY3Rpb24lMjIlMkMlMjAlMjJzb21lX290aGVyX3RhZyUyMiU1RCUyQyUwQSUyMCUyMCUyMCUyMCoqbW9kZWxfc2F2ZV9rd2FyZ3MlMkMlMEEp",highlighted:`<span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> push_to_hub_keras

push_to_hub_keras(model,
    <span class="hljs-string">&quot;your-username/your-model-name&quot;</span>,
    <span class="hljs-string">&quot;your-tensorboard-log-directory&quot;</span>,
    tags = [<span class="hljs-string">&quot;object-detection&quot;</span>, <span class="hljs-string">&quot;some_other_tag&quot;</span>],
    **model_save_kwargs,
)`}}),ee=new Fe({}),{c(){b=s("meta"),Ye=c(),w=s("h1"),I=s("a"),ke=s("span"),S(R.$$.fragment),Jt=c(),Ee=s("span"),Tt=i("Using Keras at Hugging Face"),Ve=c(),F=s("p"),$e=s("code"),It=i("keras"),xt=i(" is an open-source machine learning library that uses a consistent and simple API to build models leveraging TensorFlow and its ecosystem."),qe=c(),k=s("h2"),x=s("a"),Me=s("span"),S(Y.$$.fragment),At=c(),Ue=s("span"),Gt=i("Exploring Keras in the Hub"),Le=c(),g=s("p"),jt=i("You can find over 200 "),Je=s("code"),Ct=i("keras"),Zt=i(" models by filtering at the left of the "),V=s("a"),Ht=i("models page"),St=i("."),Xe=c(),he=s("p"),Pt=i("All models on the Hub come up with useful feature:"),De=c(),v=s("ol"),Te=s("li"),Wt=i("An automatically generated model card with a description, a plot of the model, and more."),Nt=c(),Ie=s("li"),Bt=i("Metadata tags that help for discoverability and contain information such as license."),Kt=c(),xe=s("li"),Rt=i("If provided by the model owner, TensorBoard logs are hosted on the Keras repositories."),Oe=c(),E=s("h2"),A=s("a"),Ae=s("span"),S(q.$$.fragment),Ft=c(),Ge=s("span"),Yt=i("Using existing models"),ze=c(),G=s("p"),Vt=i("The "),je=s("code"),qt=i("huggingface_hub"),Lt=i(" library is a lightweight Python client with utility functions to download models from the Hub."),Qe=c(),S(L.$$.fragment),et=c(),m=s("p"),Xt=i("Once you have the library installed, you just need to use the "),Ce=s("code"),Dt=i("from_pretrained_keras"),Ot=i(" method. Read more about "),Ze=s("code"),zt=i("from_pretrained_keras"),Qt=c(),X=s("a"),ea=i("here"),ta=i("."),tt=c(),S(D.$$.fragment),at=c(),j=s("p"),aa=i("If you want to see how to load a specific model, you can click "),He=s("strong"),sa=i("Use in keras"),la=i(" and you will be given a working snippet that you can load it!"),st=c(),$=s("div"),ce=s("img"),ra=c(),de=s("img"),lt=c(),M=s("div"),fe=s("img"),oa=c(),pe=s("img"),rt=c(),U=s("h2"),C=s("a"),Se=s("span"),S(O.$$.fragment),ia=c(),Pe=s("span"),na=i("Sharing your models"),ot=c(),f=s("p"),ua=i("You can share your "),We=s("code"),ha=i("keras"),ca=i(" models by using the "),Ne=s("code"),da=i("push_to_hub_keras"),fa=i(" method. This will generate a model card that includes your model\u2019s hyperparameters, plot of your model and couple of sections related to the usage purpose of your model, model biases and limitations about putting the model in production. This saves the metrics of your model in a JSON file as well. Read more about "),Be=s("code"),pa=i("push_to_hub_keras"),ma=c(),z=s("a"),ga=i("here"),va=i("."),it=c(),S(Q.$$.fragment),nt=c(),me=s("p"),_a=i("The repository will host your TensorBoard traces like below."),ut=c(),J=s("div"),ge=s("img"),ya=c(),ve=s("img"),ht=c(),T=s("h2"),Z=s("a"),Ke=s("span"),S(ee.$$.fragment),ba=c(),Re=s("span"),wa=i("Additional resources"),ct=c(),p=s("ul"),te=s("li"),ka=i("Keras Developer "),ae=s("a"),Ea=i("Guides"),$a=i("."),Ma=c(),se=s("li"),Ua=i("Keras "),le=s("a"),Ja=i("examples"),Ta=i("."),Ia=c(),re=s("li"),xa=i("Keras "),oe=s("a"),Aa=i("examples on \u{1F917} Hub"),Ga=i("."),ja=c(),_e=s("li"),Ca=i("Keras "),ie=s("a"),Za=i("learning resources"),Ha=c(),ne=s("li"),Sa=i("For more capabilities of the Keras integration, check out "),ue=s("a"),Pa=i("Putting Keras on \u{1F917} Hub for Collaborative Training and Reproducibility"),Wa=i(" tutorial."),this.h()},l(e){const u=Hs('[data-svelte="svelte-1phssyn"]',document.head);b=l(u,"META",{name:!0,content:!0}),u.forEach(a),Ye=d(e),w=l(e,"H1",{class:!0});var ft=r(w);I=l(ft,"A",{id:!0,class:!0,href:!0});var Da=r(I);ke=l(Da,"SPAN",{});var Oa=r(ke);P(R.$$.fragment,Oa),Oa.forEach(a),Da.forEach(a),Jt=d(ft),Ee=l(ft,"SPAN",{});var za=r(Ee);Tt=n(za,"Using Keras at Hugging Face"),za.forEach(a),ft.forEach(a),Ve=d(e),F=l(e,"P",{});var Na=r(F);$e=l(Na,"CODE",{});var Qa=r($e);It=n(Qa,"keras"),Qa.forEach(a),xt=n(Na," is an open-source machine learning library that uses a consistent and simple API to build models leveraging TensorFlow and its ecosystem."),Na.forEach(a),qe=d(e),k=l(e,"H2",{class:!0});var pt=r(k);x=l(pt,"A",{id:!0,class:!0,href:!0});var es=r(x);Me=l(es,"SPAN",{});var ts=r(Me);P(Y.$$.fragment,ts),ts.forEach(a),es.forEach(a),At=d(pt),Ue=l(pt,"SPAN",{});var as=r(Ue);Gt=n(as,"Exploring Keras in the Hub"),as.forEach(a),pt.forEach(a),Le=d(e),g=l(e,"P",{});var ye=r(g);jt=n(ye,"You can find over 200 "),Je=l(ye,"CODE",{});var ss=r(Je);Ct=n(ss,"keras"),ss.forEach(a),Zt=n(ye," models by filtering at the left of the "),V=l(ye,"A",{href:!0,rel:!0});var ls=r(V);Ht=n(ls,"models page"),ls.forEach(a),St=n(ye,"."),ye.forEach(a),Xe=d(e),he=l(e,"P",{});var rs=r(he);Pt=n(rs,"All models on the Hub come up with useful feature:"),rs.forEach(a),De=d(e),v=l(e,"OL",{});var be=r(v);Te=l(be,"LI",{});var os=r(Te);Wt=n(os,"An automatically generated model card with a description, a plot of the model, and more."),os.forEach(a),Nt=d(be),Ie=l(be,"LI",{});var is=r(Ie);Bt=n(is,"Metadata tags that help for discoverability and contain information such as license."),is.forEach(a),Kt=d(be),xe=l(be,"LI",{});var ns=r(xe);Rt=n(ns,"If provided by the model owner, TensorBoard logs are hosted on the Keras repositories."),ns.forEach(a),be.forEach(a),Oe=d(e),E=l(e,"H2",{class:!0});var mt=r(E);A=l(mt,"A",{id:!0,class:!0,href:!0});var us=r(A);Ae=l(us,"SPAN",{});var hs=r(Ae);P(q.$$.fragment,hs),hs.forEach(a),us.forEach(a),Ft=d(mt),Ge=l(mt,"SPAN",{});var cs=r(Ge);Yt=n(cs,"Using existing models"),cs.forEach(a),mt.forEach(a),ze=d(e),G=l(e,"P",{});var gt=r(G);Vt=n(gt,"The "),je=l(gt,"CODE",{});var ds=r(je);qt=n(ds,"huggingface_hub"),ds.forEach(a),Lt=n(gt," library is a lightweight Python client with utility functions to download models from the Hub."),gt.forEach(a),Qe=d(e),P(L.$$.fragment,e),et=d(e),m=l(e,"P",{});var H=r(m);Xt=n(H,"Once you have the library installed, you just need to use the "),Ce=l(H,"CODE",{});var fs=r(Ce);Dt=n(fs,"from_pretrained_keras"),fs.forEach(a),Ot=n(H," method. Read more about "),Ze=l(H,"CODE",{});var ps=r(Ze);zt=n(ps,"from_pretrained_keras"),ps.forEach(a),Qt=d(H),X=l(H,"A",{href:!0,rel:!0});var ms=r(X);ea=n(ms,"here"),ms.forEach(a),ta=n(H,"."),H.forEach(a),tt=d(e),P(D.$$.fragment,e),at=d(e),j=l(e,"P",{});var vt=r(j);aa=n(vt,"If you want to see how to load a specific model, you can click "),He=l(vt,"STRONG",{});var gs=r(He);sa=n(gs,"Use in keras"),gs.forEach(a),la=n(vt," and you will be given a working snippet that you can load it!"),vt.forEach(a),st=d(e),$=l(e,"DIV",{class:!0});var _t=r($);ce=l(_t,"IMG",{class:!0,src:!0}),ra=d(_t),de=l(_t,"IMG",{class:!0,src:!0}),_t.forEach(a),lt=d(e),M=l(e,"DIV",{class:!0});var yt=r(M);fe=l(yt,"IMG",{class:!0,src:!0}),oa=d(yt),pe=l(yt,"IMG",{class:!0,src:!0}),yt.forEach(a),rt=d(e),U=l(e,"H2",{class:!0});var bt=r(U);C=l(bt,"A",{id:!0,class:!0,href:!0});var vs=r(C);Se=l(vs,"SPAN",{});var _s=r(Se);P(O.$$.fragment,_s),_s.forEach(a),vs.forEach(a),ia=d(bt),Pe=l(bt,"SPAN",{});var ys=r(Pe);na=n(ys,"Sharing your models"),ys.forEach(a),bt.forEach(a),ot=d(e),f=l(e,"P",{});var _=r(f);ua=n(_,"You can share your "),We=l(_,"CODE",{});var bs=r(We);ha=n(bs,"keras"),bs.forEach(a),ca=n(_," models by using the "),Ne=l(_,"CODE",{});var ws=r(Ne);da=n(ws,"push_to_hub_keras"),ws.forEach(a),fa=n(_," method. This will generate a model card that includes your model\u2019s hyperparameters, plot of your model and couple of sections related to the usage purpose of your model, model biases and limitations about putting the model in production. This saves the metrics of your model in a JSON file as well. Read more about "),Be=l(_,"CODE",{});var ks=r(Be);pa=n(ks,"push_to_hub_keras"),ks.forEach(a),ma=d(_),z=l(_,"A",{href:!0,rel:!0});var Es=r(z);ga=n(Es,"here"),Es.forEach(a),va=n(_,"."),_.forEach(a),it=d(e),P(Q.$$.fragment,e),nt=d(e),me=l(e,"P",{});var $s=r(me);_a=n($s,"The repository will host your TensorBoard traces like below."),$s.forEach(a),ut=d(e),J=l(e,"DIV",{class:!0});var wt=r(J);ge=l(wt,"IMG",{class:!0,src:!0}),ya=d(wt),ve=l(wt,"IMG",{class:!0,src:!0}),wt.forEach(a),ht=d(e),T=l(e,"H2",{class:!0});var kt=r(T);Z=l(kt,"A",{id:!0,class:!0,href:!0});var Ms=r(Z);Ke=l(Ms,"SPAN",{});var Us=r(Ke);P(ee.$$.fragment,Us),Us.forEach(a),Ms.forEach(a),ba=d(kt),Re=l(kt,"SPAN",{});var Js=r(Re);wa=n(Js,"Additional resources"),Js.forEach(a),kt.forEach(a),ct=d(e),p=l(e,"UL",{});var y=r(p);te=l(y,"LI",{});var Et=r(te);ka=n(Et,"Keras Developer "),ae=l(Et,"A",{href:!0,rel:!0});var Ts=r(ae);Ea=n(Ts,"Guides"),Ts.forEach(a),$a=n(Et,"."),Et.forEach(a),Ma=d(y),se=l(y,"LI",{});var $t=r(se);Ua=n($t,"Keras "),le=l($t,"A",{href:!0,rel:!0});var Is=r(le);Ja=n(Is,"examples"),Is.forEach(a),Ta=n($t,"."),$t.forEach(a),Ia=d(y),re=l(y,"LI",{});var Mt=r(re);xa=n(Mt,"Keras "),oe=l(Mt,"A",{href:!0,rel:!0});var xs=r(oe);Aa=n(xs,"examples on \u{1F917} Hub"),xs.forEach(a),Ga=n(Mt,"."),Mt.forEach(a),ja=d(y),_e=l(y,"LI",{});var Ba=r(_e);Ca=n(Ba,"Keras "),ie=l(Ba,"A",{href:!0,rel:!0});var As=r(ie);Za=n(As,"learning resources"),As.forEach(a),Ba.forEach(a),Ha=d(y),ne=l(y,"LI",{});var Ut=r(ne);Sa=n(Ut,"For more capabilities of the Keras integration, check out "),ue=l(Ut,"A",{href:!0,rel:!0});var Gs=r(ue);Pa=n(Gs,"Putting Keras on \u{1F917} Hub for Collaborative Training and Reproducibility"),Gs.forEach(a),Wa=n(Ut," tutorial."),Ut.forEach(a),y.forEach(a),this.h()},h(){o(b,"name","hf:doc:metadata"),o(b,"content",JSON.stringify(Ns)),o(I,"id","using-keras-at-hugging-face"),o(I,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),o(I,"href","#using-keras-at-hugging-face"),o(w,"class","relative group"),o(x,"id","exploring-keras-in-the-hub"),o(x,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),o(x,"href","#exploring-keras-in-the-hub"),o(k,"class","relative group"),o(V,"href","https://huggingface.co/models?library=keras&sort=downloads"),o(V,"rel","nofollow"),o(A,"id","using-existing-models"),o(A,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),o(A,"href","#using-existing-models"),o(E,"class","relative group"),o(X,"href","https://huggingface.co/docs/huggingface_hub/main/en/package_reference/mixins#huggingface_hub.from_pretrained_keras"),o(X,"rel","nofollow"),o(ce,"class","block dark:hidden"),we(ce.src,Fa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_snippet1.png")||o(ce,"src",Fa),o(de,"class","hidden dark:block"),we(de.src,Ya="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_snippet1-dark.png")||o(de,"src",Ya),o($,"class","flex justify-center"),o(fe,"class","block dark:hidden"),we(fe.src,Va="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_snippet2.png")||o(fe,"src",Va),o(pe,"class","hidden dark:block"),we(pe.src,qa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_snippet2-dark.png")||o(pe,"src",qa),o(M,"class","flex justify-center"),o(C,"id","sharing-your-models"),o(C,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),o(C,"href","#sharing-your-models"),o(U,"class","relative group"),o(z,"href","https://huggingface.co/docs/huggingface_hub/main/en/package_reference/mixins#huggingface_hub.push_to_hub_keras"),o(z,"rel","nofollow"),o(ge,"class","block dark:hidden"),we(ge.src,La="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_tensorboard.png")||o(ge,"src",La),o(ve,"class","hidden dark:block"),we(ve.src,Xa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-keras_tensorboard-dark.png")||o(ve,"src",Xa),o(J,"class","flex justify-center"),o(Z,"id","additional-resources"),o(Z,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),o(Z,"href","#additional-resources"),o(T,"class","relative group"),o(ae,"href","https://keras.io/guides/"),o(ae,"rel","nofollow"),o(le,"href","https://keras.io/examples/"),o(le,"rel","nofollow"),o(oe,"href","https://huggingface.co/keras-io"),o(oe,"rel","nofollow"),o(ie,"href","https://keras.io/getting_started/learning_resources/#moocs"),o(ie,"rel","nofollow"),o(ue,"href","https://merveenoyan.medium.com/putting-keras-on-hub-for-collaborative-training-and-reproducibility-9018301de877"),o(ue,"rel","nofollow")},m(e,u){t(document.head,b),h(e,Ye,u),h(e,w,u),t(w,I),t(I,ke),W(R,ke,null),t(w,Jt),t(w,Ee),t(Ee,Tt),h(e,Ve,u),h(e,F,u),t(F,$e),t($e,It),t(F,xt),h(e,qe,u),h(e,k,u),t(k,x),t(x,Me),W(Y,Me,null),t(k,At),t(k,Ue),t(Ue,Gt),h(e,Le,u),h(e,g,u),t(g,jt),t(g,Je),t(Je,Ct),t(g,Zt),t(g,V),t(V,Ht),t(g,St),h(e,Xe,u),h(e,he,u),t(he,Pt),h(e,De,u),h(e,v,u),t(v,Te),t(Te,Wt),t(v,Nt),t(v,Ie),t(Ie,Bt),t(v,Kt),t(v,xe),t(xe,Rt),h(e,Oe,u),h(e,E,u),t(E,A),t(A,Ae),W(q,Ae,null),t(E,Ft),t(E,Ge),t(Ge,Yt),h(e,ze,u),h(e,G,u),t(G,Vt),t(G,je),t(je,qt),t(G,Lt),h(e,Qe,u),W(L,e,u),h(e,et,u),h(e,m,u),t(m,Xt),t(m,Ce),t(Ce,Dt),t(m,Ot),t(m,Ze),t(Ze,zt),t(m,Qt),t(m,X),t(X,ea),t(m,ta),h(e,tt,u),W(D,e,u),h(e,at,u),h(e,j,u),t(j,aa),t(j,He),t(He,sa),t(j,la),h(e,st,u),h(e,$,u),t($,ce),t($,ra),t($,de),h(e,lt,u),h(e,M,u),t(M,fe),t(M,oa),t(M,pe),h(e,rt,u),h(e,U,u),t(U,C),t(C,Se),W(O,Se,null),t(U,ia),t(U,Pe),t(Pe,na),h(e,ot,u),h(e,f,u),t(f,ua),t(f,We),t(We,ha),t(f,ca),t(f,Ne),t(Ne,da),t(f,fa),t(f,Be),t(Be,pa),t(f,ma),t(f,z),t(z,ga),t(f,va),h(e,it,u),W(Q,e,u),h(e,nt,u),h(e,me,u),t(me,_a),h(e,ut,u),h(e,J,u),t(J,ge),t(J,ya),t(J,ve),h(e,ht,u),h(e,T,u),t(T,Z),t(Z,Ke),W(ee,Ke,null),t(T,ba),t(T,Re),t(Re,wa),h(e,ct,u),h(e,p,u),t(p,te),t(te,ka),t(te,ae),t(ae,Ea),t(te,$a),t(p,Ma),t(p,se),t(se,Ua),t(se,le),t(le,Ja),t(se,Ta),t(p,Ia),t(p,re),t(re,xa),t(re,oe),t(oe,Aa),t(re,Ga),t(p,ja),t(p,_e),t(_e,Ca),t(_e,ie),t(ie,Za),t(p,Ha),t(p,ne),t(ne,Sa),t(ne,ue),t(ue,Pa),t(ne,Wa),dt=!0},p:Ss,i(e){dt||(N(R.$$.fragment,e),N(Y.$$.fragment,e),N(q.$$.fragment,e),N(L.$$.fragment,e),N(D.$$.fragment,e),N(O.$$.fragment,e),N(Q.$$.fragment,e),N(ee.$$.fragment,e),dt=!0)},o(e){B(R.$$.fragment,e),B(Y.$$.fragment,e),B(q.$$.fragment,e),B(L.$$.fragment,e),B(D.$$.fragment,e),B(O.$$.fragment,e),B(Q.$$.fragment,e),B(ee.$$.fragment,e),dt=!1},d(e){a(b),e&&a(Ye),e&&a(w),K(R),e&&a(Ve),e&&a(F),e&&a(qe),e&&a(k),K(Y),e&&a(Le),e&&a(g),e&&a(Xe),e&&a(he),e&&a(De),e&&a(v),e&&a(Oe),e&&a(E),K(q),e&&a(ze),e&&a(G),e&&a(Qe),K(L,e),e&&a(et),e&&a(m),e&&a(tt),K(D,e),e&&a(at),e&&a(j),e&&a(st),e&&a($),e&&a(lt),e&&a(M),e&&a(rt),e&&a(U),K(O),e&&a(ot),e&&a(f),e&&a(it),K(Q,e),e&&a(nt),e&&a(me),e&&a(ut),e&&a(J),e&&a(ht),e&&a(T),K(ee),e&&a(ct),e&&a(p)}}}const Ns={local:"using-keras-at-hugging-face",sections:[{local:"exploring-keras-in-the-hub",title:"Exploring Keras in the Hub"},{local:"using-existing-models",title:"Using existing models"},{local:"sharing-your-models",title:"Sharing your models"},{local:"additional-resources",title:"Additional resources"}],title:"Using Keras at Hugging Face"};function Bs(Ra){return Ps(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ys extends js{constructor(b){super();Cs(this,b,Bs,Ws,Zs,{})}}export{Ys as default,Ns as metadata};
