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

model = AutoModelWithHeads.from_pretrained(<span class="hljs-string">&quot;bert-base-uncased&quot;</span>)
adapter_name = model.load_adapter(<span class="hljs-string">&quot;AdapterHub/bert-base-uncased-pf-imdb&quot;</span>, source=<span class="hljs-string">&quot;hf&quot;</span>)
model.active_adapters = adapter_name`}}),K=new Sa({props:{code:"ZnJvbSUyMHRyYW5zZm9ybWVycyUyMGltcG9ydCUyMGxpc3RfYWRhcHRlcnMlMEElMEElMjMlMjBzb3VyY2UlMjBjYW4lMjBiZSUyMCUyMmFoJTIyJTIwKEFkYXB0ZXJIdWIpJTJDJTIwJTIyaGYlMjIlMjAoaGYuY28pJTIwb3IlMjBOb25lJTIwKGZvciUyMGJvdGglMkMlMjBkZWZhdWx0KSUwQWFkYXB0ZXJfaW5mb3MlMjAlM0QlMjBsaXN0X2FkYXB0ZXJzKHNvdXJjZSUzRCUyMmhmJTIyJTJDJTIwbW9kZWxfbmFtZSUzRCUyMmJlcnQtYmFzZS11bmNhc2VkJTIyKQ==",highlighted:`<span class="hljs-keyword">from</span> transformers <span class="hljs-keyword">import</span> list_adapters

<span class="hljs-comment"># source can be &quot;ah&quot; (AdapterHub), &quot;hf&quot; (hf.co) or None (for both, default)</span>
adapter_infos = list_adapters(source=<span class="hljs-string">&quot;hf&quot;</span>, model_name=<span class="hljs-string">&quot;bert-base-uncased&quot;</span>)`}}),ee=new Fe({}),ae=new Sa({props:{code:"bW9kZWwucHVzaF9hZGFwdGVyX3RvX2h1YiglMEElMjAlMjAlMjAlMjAlMjJteS1hd2Vzb21lLWFkYXB0ZXIlMjIlMkMlMEElMjAlMjAlMjAlMjAlMjJhd2Vzb21lX2FkYXB0ZXIlMjIlMkMlMEElMjAlMjAlMjAlMjBhZGFwdGVyaHViX3RhZyUzRCUyMnNlbnRpbWVudCUyRmltZGIlMjIlMkMlMEElMjAlMjAlMjAlMjBkYXRhc2V0c190YWclM0QlMjJpbWRiJTIyJTBBKQ==",highlighted:`model.push_adapter_to_hub(
    <span class="hljs-string">&quot;my-awesome-adapter&quot;</span>,
    <span class="hljs-string">&quot;awesome_adapter&quot;</span>,
    adapterhub_tag=<span class="hljs-string">&quot;sentiment/imdb&quot;</span>,
    datasets_tag=<span class="hljs-string">&quot;imdb&quot;</span>
)`}}),re=new Fe({}),{c(){_=r("meta"),Xe=f(),w=r("h1"),J=r("a"),ve=r("span"),S(P.$$.fragment),Et=f(),be=r("span"),At=s("Using Adapter Transformers at Hugging Face"),qe=f(),m=r("p"),ye=r("code"),$t=s("adapter-transformers"),kt=s(" is a library that extends \u{1F917} "),_e=r("code"),jt=s("transformers"),It=s(" by allowing to integrate, train and use Adapters and other efficient fine-tuning methods. The library is fully compatible with \u{1F917} "),we=r("code"),Jt=s("transformers"),Ut=s(". Adapters are small learnt layers inserted within each layer of a pre-trained model. You can learn more about this in the "),V=r("a"),xt=s("original paper"),Zt=s("."),Re=f(),M=r("h2"),U=r("a"),Me=r("span"),S(B.$$.fragment),Yt=f(),Ee=r("span"),Wt=s("Exploring adapter-transformers in the Hub"),Pe=f(),u=r("p"),Ht=s("You can find over a hundred "),Ae=r("code"),Tt=s("adapter-transformer"),Gt=s(" models by filtering at the left of the "),N=r("a"),St=s("models page"),Ct=s(". Some adapter models can be found in the Adapter Hub "),D=r("a"),Ft=s("repository"),Xt=s(". Models from both sources are then aggregated in the "),O=r("a"),qt=s("AdapterHub"),Rt=s("."),Ve=f(),E=r("h2"),x=r("a"),$e=r("span"),S(z.$$.fragment),Pt=f(),ke=r("span"),Vt=s("Using existing models"),Be=f(),Z=r("p"),Bt=s("For a full guide on loading pre-trained adapters, we recommend checking out the "),Q=r("a"),Nt=s("official guide"),Dt=s("."),Ne=f(),p=r("p"),Ot=s("As a brief summary, once you load a model with the usual "),je=r("code"),zt=s("*Model"),Qt=s(" classes from \u{1F917}"),Ie=r("code"),Lt=s("transformers"),Kt=s(", you can use the "),Je=r("code"),ea=s("load_adapter"),ta=s(" method to load and activate the Adapter (remember "),Ue=r("code"),aa=s("adapter-transformers"),ra=s(" extends \u{1F917}"),xe=r("code"),la=s("transformers"),sa=s(".)."),De=f(),S(L.$$.fragment),Oe=f(),Y=r("p"),oa=s("You can also use "),Ze=r("code"),na=s("list_adapters"),ia=s(" to find all Adapter Models programmatically"),ze=f(),S(K.$$.fragment),Qe=f(),W=r("p"),da=s("If you want to see how to load a specific model, you can click "),Ye=r("code"),ha=s("Use in Adapter Transformers"),fa=s(" and you will be given a working snippet that you can load it!"),Le=f(),A=r("div"),he=r("img"),ca=f(),fe=r("img"),Ke=f(),$=r("div"),ce=r("img"),pa=f(),pe=r("img"),et=f(),k=r("h2"),H=r("a"),We=r("span"),S(ee.$$.fragment),ua=f(),He=r("span"),ma=s("Sharing your models"),tt=f(),v=r("p"),ga=s("For a full guide on sharing models with "),Te=r("code"),va=s("adapter-transformers"),ba=s(", we recommend checking out the "),te=r("a"),ya=s("official guide"),_a=s("."),at=f(),T=r("p"),wa=s("You can share your Adapter by using the "),Ge=r("code"),Ma=s("push_adapter_to_hub"),Ea=s(" method from a model that already contains an adapter."),rt=f(),S(ae.$$.fragment),lt=f(),ue=r("p"),Aa=s("This command creates a repository with an automatically generated model card and all necessary metadata."),st=f(),j=r("h2"),G=r("a"),Se=r("span"),S(re.$$.fragment),$a=f(),Ce=r("span"),ka=s("Additional resources"),ot=f(),b=r("ul"),le=r("li"),ja=s("Adapter Transformers "),se=r("a"),Ia=s("library"),Ja=s("."),Ua=f(),oe=r("li"),xa=s("Adapter Transformers "),ne=r("a"),Za=s("docs"),Ya=s("."),Wa=f(),ie=r("li"),Ha=s("Integration with Hub "),de=r("a"),Ta=s("docs"),Ga=s("."),this.h()},l(e){const d=xr('[data-svelte="svelte-1phssyn"]',document.head);_=l(d,"META",{name:!0,content:!0}),d.forEach(a),Xe=c(e),w=l(e,"H1",{class:!0});var it=n(w);J=l(it,"A",{id:!0,class:!0,href:!0});var Pa=n(J);ve=l(Pa,"SPAN",{});var Va=n(ve);C(P.$$.fragment,Va),Va.forEach(a),Pa.forEach(a),Et=c(it),be=l(it,"SPAN",{});var Ba=n(be);At=o(Ba,"Using Adapter Transformers at Hugging Face"),Ba.forEach(a),it.forEach(a),qe=c(e),m=l(e,"P",{});var I=n(m);ye=l(I,"CODE",{});var Na=n(ye);$t=o(Na,"adapter-transformers"),Na.forEach(a),kt=o(I," is a library that extends \u{1F917} "),_e=l(I,"CODE",{});var Da=n(_e);jt=o(Da,"transformers"),Da.forEach(a),It=o(I," by allowing to integrate, train and use Adapters and other efficient fine-tuning methods. The library is fully compatible with \u{1F917} "),we=l(I,"CODE",{});var Oa=n(we);Jt=o(Oa,"transformers"),Oa.forEach(a),Ut=o(I,". Adapters are small learnt layers inserted within each layer of a pre-trained model. You can learn more about this in the "),V=l(I,"A",{href:!0,rel:!0});var za=n(V);xt=o(za,"original paper"),za.forEach(a),Zt=o(I,"."),I.forEach(a),Re=c(e),M=l(e,"H2",{class:!0});var dt=n(M);U=l(dt,"A",{id:!0,class:!0,href:!0});var Qa=n(U);Me=l(Qa,"SPAN",{});var La=n(Me);C(B.$$.fragment,La),La.forEach(a),Qa.forEach(a),Yt=c(dt),Ee=l(dt,"SPAN",{});var Ka=n(Ee);Wt=o(Ka,"Exploring adapter-transformers in the Hub"),Ka.forEach(a),dt.forEach(a),Pe=c(e),u=l(e,"P",{});var y=n(u);Ht=o(y,"You can find over a hundred "),Ae=l(y,"CODE",{});var er=n(Ae);Tt=o(er,"adapter-transformer"),er.forEach(a),Gt=o(y," models by filtering at the left of the "),N=l(y,"A",{href:!0,rel:!0});var tr=n(N);St=o(tr,"models page"),tr.forEach(a),Ct=o(y,". Some adapter models can be found in the Adapter Hub "),D=l(y,"A",{href:!0,rel:!0});var ar=n(D);Ft=o(ar,"repository"),ar.forEach(a),Xt=o(y,". Models from both sources are then aggregated in the "),O=l(y,"A",{href:!0,rel:!0});var rr=n(O);qt=o(rr,"AdapterHub"),rr.forEach(a),Rt=o(y,"."),y.forEach(a),Ve=c(e),E=l(e,"H2",{class:!0});var ht=n(E);x=l(ht,"A",{id:!0,class:!0,href:!0});var lr=n(x);$e=l(lr,"SPAN",{});var sr=n($e);C(z.$$.fragment,sr),sr.forEach(a),lr.forEach(a),Pt=c(ht),ke=l(ht,"SPAN",{});var or=n(ke);Vt=o(or,"Using existing models"),or.forEach(a),ht.forEach(a),Be=c(e),Z=l(e,"P",{});var ft=n(Z);Bt=o(ft,"For a full guide on loading pre-trained adapters, we recommend checking out the "),Q=l(ft,"A",{href:!0,rel:!0});var nr=n(Q);Nt=o(nr,"official guide"),nr.forEach(a),Dt=o(ft,"."),ft.forEach(a),Ne=c(e),p=l(e,"P",{});var g=n(p);Ot=o(g,"As a brief summary, once you load a model with the usual "),je=l(g,"CODE",{});var ir=n(je);zt=o(ir,"*Model"),ir.forEach(a),Qt=o(g," classes from \u{1F917}"),Ie=l(g,"CODE",{});var dr=n(Ie);Lt=o(dr,"transformers"),dr.forEach(a),Kt=o(g,", you can use the "),Je=l(g,"CODE",{});var hr=n(Je);ea=o(hr,"load_adapter"),hr.forEach(a),ta=o(g," method to load and activate the Adapter (remember "),Ue=l(g,"CODE",{});var fr=n(Ue);aa=o(fr,"adapter-transformers"),fr.forEach(a),ra=o(g," extends \u{1F917}"),xe=l(g,"CODE",{});var cr=n(xe);la=o(cr,"transformers"),cr.forEach(a),sa=o(g,".)."),g.forEach(a),De=c(e),C(L.$$.fragment,e),Oe=c(e),Y=l(e,"P",{});var ct=n(Y);oa=o(ct,"You can also use "),Ze=l(ct,"CODE",{});var pr=n(Ze);na=o(pr,"list_adapters"),pr.forEach(a),ia=o(ct," to find all Adapter Models programmatically"),ct.forEach(a),ze=c(e),C(K.$$.fragment,e),Qe=c(e),W=l(e,"P",{});var pt=n(W);da=o(pt,"If you want to see how to load a specific model, you can click "),Ye=l(pt,"CODE",{});var ur=n(Ye);ha=o(ur,"Use in Adapter Transformers"),ur.forEach(a),fa=o(pt," and you will be given a working snippet that you can load it!"),pt.forEach(a),Le=c(e),A=l(e,"DIV",{class:!0});var ut=n(A);he=l(ut,"IMG",{class:!0,src:!0}),ca=c(ut),fe=l(ut,"IMG",{class:!0,src:!0}),ut.forEach(a),Ke=c(e),$=l(e,"DIV",{class:!0});var mt=n($);ce=l(mt,"IMG",{class:!0,src:!0}),pa=c(mt),pe=l(mt,"IMG",{class:!0,src:!0}),mt.forEach(a),et=c(e),k=l(e,"H2",{class:!0});var gt=n(k);H=l(gt,"A",{id:!0,class:!0,href:!0});var mr=n(H);We=l(mr,"SPAN",{});var gr=n(We);C(ee.$$.fragment,gr),gr.forEach(a),mr.forEach(a),ua=c(gt),He=l(gt,"SPAN",{});var vr=n(He);ma=o(vr,"Sharing your models"),vr.forEach(a),gt.forEach(a),tt=c(e),v=l(e,"P",{});var me=n(v);ga=o(me,"For a full guide on sharing models with "),Te=l(me,"CODE",{});var br=n(Te);va=o(br,"adapter-transformers"),br.forEach(a),ba=o(me,", we recommend checking out the "),te=l(me,"A",{href:!0,rel:!0});var yr=n(te);ya=o(yr,"official guide"),yr.forEach(a),_a=o(me,"."),me.forEach(a),at=c(e),T=l(e,"P",{});var vt=n(T);wa=o(vt,"You can share your Adapter by using the "),Ge=l(vt,"CODE",{});var _r=n(Ge);Ma=o(_r,"push_adapter_to_hub"),_r.forEach(a),Ea=o(vt," method from a model that already contains an adapter."),vt.forEach(a),rt=c(e),C(ae.$$.fragment,e),lt=c(e),ue=l(e,"P",{});var wr=n(ue);Aa=o(wr,"This command creates a repository with an automatically generated model card and all necessary metadata."),wr.forEach(a),st=c(e),j=l(e,"H2",{class:!0});var bt=n(j);G=l(bt,"A",{id:!0,class:!0,href:!0});var Mr=n(G);Se=l(Mr,"SPAN",{});var Er=n(Se);C(re.$$.fragment,Er),Er.forEach(a),Mr.forEach(a),$a=c(bt),Ce=l(bt,"SPAN",{});var Ar=n(Ce);ka=o(Ar,"Additional resources"),Ar.forEach(a),bt.forEach(a),ot=c(e),b=l(e,"UL",{});var ge=n(b);le=l(ge,"LI",{});var yt=n(le);ja=o(yt,"Adapter Transformers "),se=l(yt,"A",{href:!0,rel:!0});var $r=n(se);Ia=o($r,"library"),$r.forEach(a),Ja=o(yt,"."),yt.forEach(a),Ua=c(ge),oe=l(ge,"LI",{});var _t=n(oe);xa=o(_t,"Adapter Transformers "),ne=l(_t,"A",{href:!0,rel:!0});var kr=n(ne);Za=o(kr,"docs"),kr.forEach(a),Ya=o(_t,"."),_t.forEach(a),Wa=c(ge),ie=l(ge,"LI",{});var wt=n(ie);Ha=o(wt,"Integration with Hub "),de=l(wt,"A",{href:!0,rel:!0});var jr=n(de);Ta=o(jr,"docs"),jr.forEach(a),Ga=o(wt,"."),wt.forEach(a),ge.forEach(a),this.h()},h(){i(_,"name","hf:doc:metadata"),i(_,"content",JSON.stringify(Hr)),i(J,"id","using-adapter-transformers-at-hugging-face"),i(J,"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"),i(J,"href","#using-adapter-transformers-at-hugging-face"),i(w,"class","relative group"),i(V,"href","https://arxiv.org/abs/2007.07779"),i(V,"rel","nofollow"),i(U,"id","exploring-adaptertransformers-in-the-hub"),i(U,"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"),i(U,"href","#exploring-adaptertransformers-in-the-hub"),i(M,"class","relative group"),i(N,"href","https://huggingface.co/models?library=adapter-transformers&sort=download"),i(N,"rel","nofollow"),i(D,"href","https://github.com/adapter-hub/hub"),i(D,"rel","nofollow"),i(O,"href","https://adapterhub.ml/explore/"),i(O,"rel","nofollow"),i(x,"id","using-existing-models"),i(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"),i(x,"href","#using-existing-models"),i(E,"class","relative group"),i(Q,"href","https://docs.adapterhub.ml/loading.html"),i(Q,"rel","nofollow"),i(he,"class","block dark:hidden"),Mt(he.src,Fa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-adapter_transformers_snippet1.png")||i(he,"src",Fa),i(fe,"class","hidden dark:block"),Mt(fe.src,Xa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-adapter_transformers-snippet1-dark.png")||i(fe,"src",Xa),i(A,"class","flex justify-center"),i(ce,"class","block dark:hidden"),Mt(ce.src,qa="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-adapter_transformers_snippet2.png")||i(ce,"src",qa),i(pe,"class","hidden dark:block"),Mt(pe.src,Ra="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/libraries-adapter_transformers-snippet2-dark.png")||i(pe,"src",Ra),i($,"class","flex justify-center"),i(H,"id","sharing-your-models"),i(H,"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"),i(H,"href","#sharing-your-models"),i(k,"class","relative group"),i(te,"href","https://docs.adapterhub.ml/huggingface_hub.html#uploading-to-the-hub"),i(te,"rel","nofollow"),i(G,"id","additional-resources"),i(G,"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"),i(G,"href","#additional-resources"),i(j,"class","relative group"),i(se,"href","https://github.com/adapter-hub/adapter-transformers"),i(se,"rel","nofollow"),i(ne,"href","https://docs.adapterhub.ml/index.html"),i(ne,"rel","nofollow"),i(de,"href","https://docs.adapterhub.ml/huggingface_hub.html"),i(de,"rel","nofollow")},m(e,d){t(document.head,_),h(e,Xe,d),h(e,w,d),t(w,J),t(J,ve),F(P,ve,null),t(w,Et),t(w,be),t(be,At),h(e,qe,d),h(e,m,d),t(m,ye),t(ye,$t),t(m,kt),t(m,_e),t(_e,jt),t(m,It),t(m,we),t(we,Jt),t(m,Ut),t(m,V),t(V,xt),t(m,Zt),h(e,Re,d),h(e,M,d),t(M,U),t(U,Me),F(B,Me,null),t(M,Yt),t(M,Ee),t(Ee,Wt),h(e,Pe,d),h(e,u,d),t(u,Ht),t(u,Ae),t(Ae,Tt),t(u,Gt),t(u,N),t(N,St),t(u,Ct),t(u,D),t(D,Ft),t(u,Xt),t(u,O),t(O,qt),t(u,Rt),h(e,Ve,d),h(e,E,d),t(E,x),t(x,$e),F(z,$e,null),t(E,Pt),t(E,ke),t(ke,Vt),h(e,Be,d),h(e,Z,d),t(Z,Bt),t(Z,Q),t(Q,Nt),t(Z,Dt),h(e,Ne,d),h(e,p,d),t(p,Ot),t(p,je),t(je,zt),t(p,Qt),t(p,Ie),t(Ie,Lt),t(p,Kt),t(p,Je),t(Je,ea),t(p,ta),t(p,Ue),t(Ue,aa),t(p,ra),t(p,xe),t(xe,la),t(p,sa),h(e,De,d),F(L,e,d),h(e,Oe,d),h(e,Y,d),t(Y,oa),t(Y,Ze),t(Ze,na),t(Y,ia),h(e,ze,d),F(K,e,d),h(e,Qe,d),h(e,W,d),t(W,da),t(W,Ye),t(Ye,ha),t(W,fa),h(e,Le,d),h(e,A,d),t(A,he),t(A,ca),t(A,fe),h(e,Ke,d),h(e,$,d),t($,ce),t($,pa),t($,pe),h(e,et,d),h(e,k,d),t(k,H),t(H,We),F(ee,We,null),t(k,ua),t(k,He),t(He,ma),h(e,tt,d),h(e,v,d),t(v,ga),t(v,Te),t(Te,va),t(v,ba),t(v,te),t(te,ya),t(v,_a),h(e,at,d),h(e,T,d),t(T,wa),t(T,Ge),t(Ge,Ma),t(T,Ea),h(e,rt,d),F(ae,e,d),h(e,lt,d),h(e,ue,d),t(ue,Aa),h(e,st,d),h(e,j,d),t(j,G),t(G,Se),F(re,Se,null),t(j,$a),t(j,Ce),t(Ce,ka),h(e,ot,d),h(e,b,d),t(b,le),t(le,ja),t(le,se),t(se,Ia),t(le,Ja),t(b,Ua),t(b,oe),t(oe,xa),t(oe,ne),t(ne,Za),t(oe,Ya),t(b,Wa),t(b,ie),t(ie,Ha),t(ie,de),t(de,Ta),t(ie,Ga),nt=!0},p:Zr,i(e){nt||(X(P.$$.fragment,e),X(B.$$.fragment,e),X(z.$$.fragment,e),X(L.$$.fragment,e),X(K.$$.fragment,e),X(ee.$$.fragment,e),X(ae.$$.fragment,e),X(re.$$.fragment,e),nt=!0)},o(e){q(P.$$.fragment,e),q(B.$$.fragment,e),q(z.$$.fragment,e),q(L.$$.fragment,e),q(K.$$.fragment,e),q(ee.$$.fragment,e),q(ae.$$.fragment,e),q(re.$$.fragment,e),nt=!1},d(e){a(_),e&&a(Xe),e&&a(w),R(P),e&&a(qe),e&&a(m),e&&a(Re),e&&a(M),R(B),e&&a(Pe),e&&a(u),e&&a(Ve),e&&a(E),R(z),e&&a(Be),e&&a(Z),e&&a(Ne),e&&a(p),e&&a(De),R(L,e),e&&a(Oe),e&&a(Y),e&&a(ze),R(K,e),e&&a(Qe),e&&a(W),e&&a(Le),e&&a(A),e&&a(Ke),e&&a($),e&&a(et),e&&a(k),R(ee),e&&a(tt),e&&a(v),e&&a(at),e&&a(T),e&&a(rt),R(ae,e),e&&a(lt),e&&a(ue),e&&a(st),e&&a(j),R(re),e&&a(ot),e&&a(b)}}}const Hr={local:"using-adapter-transformers-at-hugging-face",sections:[{local:"exploring-adaptertransformers-in-the-hub",title:"Exploring adapter-transformers 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 Adapter Transformers at Hugging Face"};function Tr(Ca){return Yr(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Fr extends Ir{constructor(_){super();Jr(this,_,Tr,Wr,Ur,{})}}export{Fr as default,Hr as metadata};
