import{S as nd,i as id,s as sd,e as r,k as c,w as O,t as n,M as fd,c as a,d as t,m as p,a as l,x as b,h as i,b as d,G as e,g as f,y as $,L as dd,q as D,o as I,B as M,v as cd}from"../../chunks/vendor-hf-doc-builder.js";import{I as ee}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as pd}from"../../chunks/CodeBlock-hf-doc-builder.js";function hd(ki){let v,pr,oe,hr,E,N,Eo,te,za,go,Wa,_r,j,Fa,re,Ka,el,mr,g,To,ol,tl,Co,rl,al,ur,ae,vr,Le,Be,He,ll,le,Ze,wo,nl,ne,xe,qe,il,ie,Jo,Ye,Po,sl,fl,se,Qe,yo,dl,cl,Ao,pl,hl,Ve,Xe,_l,Oo,fe,ze,bo,ml,ul,$o,vl,El,We,Do,gl,de,ce,Fe,Io,Tl,Cl,Mo,wl,Jl,pe,Ke,No,Pl,yl,jo,Al,Er,gr,Tr,he,Cr,T,k,ko,_e,Ol,Ro,bl,wr,R,$l,me,Dl,Il,Jr,S,So,Ml,Nl,eo,Uo,jl,Pr,oo,to,ro,kl,ue,Go,ao,Lo,Rl,Sl,ve,lo,Bo,Ul,Gl,Ho,Ll,yr,Ar,Or,Ee,br,C,U,Zo,ge,Bl,xo,qo,Hl,$r,no,Zl,Dr,G,Yo,Te,Qo,xl,Vo,ql,Xo,Yl,Ql,zo,Ce,Wo,Vl,Fo,Ko,Xl,et,ot,zl,Ir,Mr,Nr,we,jr,w,L,tt,Je,Wl,Pe,rt,Fl,Kl,at,en,kr,B,on,lt,tn,rn,Rr,h,nt,an,ln,io,it,nn,sn,fn,st,dn,cn,ft,pn,hn,dt,_n,mn,un,vn,ct,En,gn,Sr,so,fo,pt,Tn,Cn,Ur,H,ht,ye,_t,wn,mt,Jn,ut,Pn,yn,co,Z,vt,An,Et,gt,On,Tt,Ct,bn,$n,Ae,wt,Dn,Jt,Pt,In,yt,At,Mn,Gr,Lr,Br,Oe,Hr,J,x,Ot,be,Nn,bt,jn,Zr,q,kn,$t,Rn,Sn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m9jYWJfc2l6ZSUyMiUzQSUyMDMwNTIyJTBBJTJGJTJGJTIwJTIwJTIwJTIybnVtX2F0dGVudGlvbl9oZWFkcyUyMiUzQSUyMDEyJTJDJTBBJTJGJTJGJTIwJTIwJTIwJTIybnVtX2hpZGRlbl9sYXllcnMlMjIlM0ElMjAxMiUyQyUwQSUyRiUyRiUyMCUyMCUyMCUyMmhpZGRlbl9zaXplJTIyJTNBJTIwNzY4JTJDJTBBJTJGJTJGJTIwJTIwJTIwJTIybWF4X3Bvc2l0aW9uX2VtYmVkZGluZ3MlMjIlM0ElMjA1MTIlMkMlMEElMkYlMkYlMjAlMjAlMjAuLi4lMEElMkYlMkYlMjAlN0Q=",highlighted:`<span class="hljs-keyword">import</span> { <span class="hljs-title class_">AutoConfig</span> } <span class="hljs-keyword">from</span> <span class="hljs-string">&#x27;@xenova/transformers&#x27;</span>;
<span class="hljs-keyword">let</span> config = <span class="hljs-keyword">await</span> <span class="hljs-title class_">AutoConfig</span>.<span class="hljs-title function_">from_pretrained</span>(<span class="hljs-string">&#x27;bert-base-uncased&#x27;</span>);
<span class="hljs-variable language_">console</span>.<span class="hljs-title function_">log</span>(config);
<span class="hljs-comment">// PretrainedConfig {</span>
<span class="hljs-comment">//   &quot;model_type&quot;: &quot;bert&quot;,</span>
<span class="hljs-comment">//   &quot;is_encoder_decoder&quot;: false,</span>
<span class="hljs-comment">//   &quot;architectures&quot;: [</span>
<span class="hljs-comment">//       &quot;BertForMaskedLM&quot;</span>
<span class="hljs-comment">//   ],</span>
<span class="hljs-comment">//   &quot;vocab_size&quot;: 30522</span>
<span class="hljs-comment">//   &quot;num_attention_heads&quot;: 12,</span>
<span class="hljs-comment">//   &quot;num_hidden_layers&quot;: 12,</span>
<span class="hljs-comment">//   &quot;hidden_size&quot;: 768,</span>
<span class="hljs-comment">//   &quot;max_position_embeddings&quot;: 512,</span>
<span class="hljs-comment">//   ...</span>
<span class="hljs-comment">// }</span>`}}),_e=new ee({}),ge=new ee({}),Je=new ee({}),be=new ee({}),De=new ee({}),Ne=new ee({}),Ue=new ee({}),{c(){v=r("meta"),pr=c(),oe=r("a"),hr=c(),E=r("h1"),N=r("a"),Eo=r("span"),O(te.$$.fragment),za=c(),go=r("span"),Wa=n("configs"),_r=c(),j=r("p"),Fa=n(`Helper module for using model configs. For more information, see the corresponding
`),re=r("a"),Ka=n("Python documentation"),el=n("."),mr=c(),g=r("p"),To=r("strong"),ol=n("Example:"),tl=n(" Load an "),Co=r("code"),rl=n("AutoConfig"),al=n("."),ur=c(),O(ae.$$.fragment),vr=c(),Le=r("ul"),Be=r("li"),He=r("a"),ll=n("configs"),le=r("ul"),Ze=r("li"),wo=r("em"),nl=n("static"),ne=r("ul"),xe=r("li"),qe=r("a"),il=n(".PretrainedConfig"),ie=r("ul"),Jo=r("li"),Ye=r("a"),Po=r("code"),sl=n("new PretrainedConfig(configJSON)"),fl=c(),se=r("li"),Qe=r("a"),yo=r("code"),dl=n(".from_pretrained(pretrained_model_name_or_path, options)"),cl=n(" \u21D2 "),Ao=r("code"),pl=n("Promise.<PretrainedConfig>"),hl=c(),Ve=r("li"),Xe=r("a"),_l=n(".AutoConfig"),Oo=r("ul"),fe=r("li"),ze=r("a"),bo=r("code"),ml=n(".from_pretrained()"),ul=n(" : "),$o=r("code"),vl=n("PretrainedConfig.from_pretrained"),El=c(),We=r("li"),Do=r("em"),gl=n("inner"),de=r("ul"),ce=r("li"),Fe=r("a"),Io=r("code"),Tl=n("~loadConfig(pretrained_model_name_or_path, options)"),Cl=n(" \u21D2 "),Mo=r("code"),wl=n("Promise.<Array>"),Jl=c(),pe=r("li"),Ke=r("a"),No=r("code"),Pl=n("~PretrainedOptions"),yl=n(" : "),jo=r("code"),Al=n("*"),Er=c(),gr=r("hr"),Tr=c(),he=r("a"),Cr=c(),T=r("h2"),k=r("a"),ko=r("span"),O(_e.$$.fragment),Ol=c(),Ro=r("span"),bl=n("configs.PretrainedConfig"),wr=c(),R=r("p"),$l=n(`Base class for all configuration classes. For more information, see the corresponding
`),me=r("a"),Dl=n("Python documentation"),Il=n("."),Jr=c(),S=r("p"),So=r("strong"),Ml=n("Kind"),Nl=n(": static class of "),eo=r("a"),Uo=r("code"),jl=n("configs"),Pr=c(),oo=r("ul"),to=r("li"),ro=r("a"),kl=n(".PretrainedConfig"),ue=r("ul"),Go=r("li"),ao=r("a"),Lo=r("code"),Rl=n("new PretrainedConfig(configJSON)"),Sl=c(),ve=r("li"),lo=r("a"),Bo=r("code"),Ul=n(".from_pretrained(pretrained_model_name_or_path, options)"),Gl=n(" \u21D2 "),Ho=r("code"),Ll=n("Promise.<PretrainedConfig>"),yr=c(),Ar=r("hr"),Or=c(),Ee=r("a"),br=c(),C=r("h3"),U=r("a"),Zo=r("span"),O(ge.$$.fragment),Bl=c(),xo=r("span"),qo=r("code"),Hl=n("new PretrainedConfig(configJSON)"),$r=c(),no=r("p"),Zl=n("Create a new PreTrainedTokenizer instance."),Dr=c(),G=r("table"),Yo=r("thead"),Te=r("tr"),Qo=r("th"),xl=n("Param"),Vo=r("th"),ql=n("Type"),Xo=r("th"),Yl=n("Description"),Ql=c(),zo=r("tbody"),Ce=r("tr"),Wo=r("td"),Vl=n("configJSON"),Fo=r("td"),Ko=r("code"),Xl=n("Object"),et=r("td"),ot=r("p"),zl=n("The JSON of the config."),Ir=c(),Mr=r("hr"),Nr=c(),we=r("a"),jr=c(),w=r("h3"),L=r("a"),tt=r("span"),O(Je.$$.fragment),Wl=c(),Pe=r("span"),rt=r("code"),Fl=n("PretrainedConfig.from_pretrained(pretrained_model_name_or_path, options)"),Kl=n(" \u21D2 "),at=r("code"),en=n("Promise.<PretrainedConfig>"),kr=c(),B=r("p"),on=n("Loads a pre-trained config from the given "),lt=r("code"),tn=n("pretrained_model_name_or_path"),rn=n("."),Rr=c(),h=r("p"),nt=r("strong"),an=n("Kind"),ln=n(": static method of "),io=r("a"),it=r("code"),nn=n("PretrainedConfig"),sn=r("br"),fn=c(),st=r("strong"),dn=n("Returns"),cn=n(": "),ft=r("code"),pn=n("Promise.<PretrainedConfig>"),hn=n(" - A new instance of the "),dt=r("code"),_n=n("PretrainedConfig"),mn=n(" class."),un=r("br"),vn=c(),ct=r("strong"),En=n("Throws"),gn=n(":"),Sr=c(),so=r("ul"),fo=r("li"),pt=r("code"),Tn=n("Error"),Cn=n(" Throws an error if the config.json is not found in the `pretrained_model_name_or_path`."),Ur=c(),H=r("table"),ht=r("thead"),ye=r("tr"),_t=r("th"),wn=n("Param"),mt=r("th"),Jn=n("Type"),ut=r("th"),Pn=n("Description"),yn=c(),co=r("tbody"),Z=r("tr"),vt=r("td"),An=n("pretrained_model_name_or_path"),Et=r("td"),gt=r("code"),On=n("string"),Tt=r("td"),Ct=r("p"),bn=n("The path to the pre-trained config."),$n=c(),Ae=r("tr"),wt=r("td"),Dn=n("options"),Jt=r("td"),Pt=r("code"),In=n("PretrainedOptions"),yt=r("td"),At=r("p"),Mn=n("Additional options for loading the config."),Gr=c(),Lr=r("hr"),Br=c(),Oe=r("a"),Hr=c(),J=r("h2"),x=r("a"),Ot=r("span"),O(be.$$.fragment),Nn=c(),bt=r("span"),jn=n("configs.AutoConfig"),Zr=c(),q=r("p"),kn=n("Helper class which is used to instantiate pretrained configs with the "),$t=r("code"),Rn=n("from_pretrained"),Sn=n(" function."),xr=c(),Y=r("p"),Dt=r("strong"),Un=n("Kind"),Gn=n(": static class of "),po=r("a"),It=r("code"),Ln=n("configs"),qr=c(),Yr=r("hr"),Qr=c(),$e=r("a"),Vr=c(),P=r("h3"),Q=r("a"),Mt=r("span"),O(De.$$.fragment),Bn=c(),Ie=r("span"),Nt=r("code"),Hn=n("AutoConfig.from_pretrained()"),Zn=n(" : "),jt=r("code"),xn=n("PretrainedConfig.from_pretrained"),Xr=c(),V=r("p"),kt=r("strong"),qn=n("Kind"),Yn=n(": static method of "),ho=r("a"),Rt=r("code"),Qn=n("AutoConfig"),zr=c(),Wr=r("hr"),Fr=c(),Me=r("a"),Kr=c(),y=r("h2"),X=r("a"),St=r("span"),O(Ne.$$.fragment),Vn=c(),je=r("span"),Ut=r("code"),Xn=n("configs~loadConfig(pretrained_model_name_or_path, options)"),zn=n(" \u21D2 "),Gt=r("code"),Wn=n("Promise.<Array>"),ea=c(),_o=r("p"),Fn=n("Loads a config from the specified path."),oa=c(),m=r("p"),Lt=r("strong"),Kn=n("Kind"),ei=n(": inner method of "),mo=r("a"),Bt=r("code"),oi=n("configs"),ti=r("br"),ri=c(),Ht=r("strong"),ai=n("Returns"),li=n(": "),Zt=r("code"),ni=n("Promise.<Array>"),ii=n(" - A promise that resolves with information about the loaded config."),ta=c(),z=r("table"),xt=r("thead"),ke=r("tr"),qt=r("th"),si=n("Param"),Yt=r("th"),fi=n("Type"),Qt=r("th"),di=n("Description"),ci=c(),uo=r("tbody"),W=r("tr"),Vt=r("td"),pi=n("pretrained_model_name_or_path"),Xt=r("td"),zt=r("code"),hi=n("string"),Wt=r("td"),Ft=r("p"),_i=n("The path to the config directory."),mi=c(),Re=r("tr"),Kt=r("td"),ui=n("options"),er=r("td"),or=r("code"),vi=n("PretrainedOptions"),tr=r("td"),rr=r("p"),Ei=n("Additional options for loading the config."),ra=c(),aa=r("hr"),la=c(),Se=r("a"),na=c(),A=r("h2"),F=r("a"),ar=r("span"),O(Ue.$$.fragment),gi=c(),Ge=r("span"),lr=r("code"),Ti=n("configs~PretrainedOptions"),Ci=n(" : "),nr=r("code"),wi=n("*"),ia=c(),K=r("p"),ir=r("strong"),Ji=n("Kind"),Pi=n(": inner typedef of "),vo=r("a"),sr=r("code"),yi=n("configs"),sa=c(),fa=r("hr"),this.h()},l(o){const s=fd('[data-svelte="svelte-1phssyn"]',document.head);v=a(s,"META",{name:!0,content:!0}),s.forEach(t),pr=p(o),oe=a(o,"A",{id:!0,class:!0}),l(oe).forEach(t),hr=p(o),E=a(o,"H1",{class:!0});var ca=l(E);N=a(ca,"A",{id:!0,class:!0,href:!0});var Ri=l(N);Eo=a(Ri,"SPAN",{});var Si=l(Eo);b(te.$$.fragment,Si),Si.forEach(t),Ri.forEach(t),za=p(ca),go=a(ca,"SPAN",{});var Ui=l(go);Wa=i(Ui,"configs"),Ui.forEach(t),ca.forEach(t),_r=p(o),j=a(o,"P",{});var pa=l(j);Fa=i(pa,`Helper module for using model configs. For more information, see the corresponding
`),re=a(pa,"A",{href:!0,rel:!0});var Gi=l(re);Ka=i(Gi,"Python documentation"),Gi.forEach(t),el=i(pa,"."),pa.forEach(t),mr=p(o),g=a(o,"P",{});var fr=l(g);To=a(fr,"STRONG",{});var Li=l(To);ol=i(Li,"Example:"),Li.forEach(t),tl=i(fr," Load an "),Co=a(fr,"CODE",{});var Bi=l(Co);rl=i(Bi,"AutoConfig"),Bi.forEach(t),al=i(fr,"."),fr.forEach(t),ur=p(o),b(ae.$$.fragment,o),vr=p(o),Le=a(o,"UL",{});var Hi=l(Le);Be=a(Hi,"LI",{});var Ai=l(Be);He=a(Ai,"A",{href:!0});var Zi=l(He);ll=i(Zi,"configs"),Zi.forEach(t),le=a(Ai,"UL",{});var ha=l(le);Ze=a(ha,"LI",{});var Oi=l(Ze);wo=a(Oi,"EM",{});var xi=l(wo);nl=i(xi,"static"),xi.forEach(t),ne=a(Oi,"UL",{});var _a=l(ne);xe=a(_a,"LI",{});var bi=l(xe);qe=a(bi,"A",{href:!0});var qi=l(qe);il=i(qi,".PretrainedConfig"),qi.forEach(t),ie=a(bi,"UL",{});var ma=l(ie);Jo=a(ma,"LI",{});var Yi=l(Jo);Ye=a(Yi,"A",{href:!0});var Qi=l(Ye);Po=a(Qi,"CODE",{});var Vi=l(Po);sl=i(Vi,"new PretrainedConfig(configJSON)"),Vi.forEach(t),Qi.forEach(t),Yi.forEach(t),fl=p(ma),se=a(ma,"LI",{});var ua=l(se);Qe=a(ua,"A",{href:!0});var Xi=l(Qe);yo=a(Xi,"CODE",{});var zi=l(yo);dl=i(zi,".from_pretrained(pretrained_model_name_or_path, options)"),zi.forEach(t),Xi.forEach(t),cl=i(ua," \u21D2 "),Ao=a(ua,"CODE",{});var Wi=l(Ao);pl=i(Wi,"Promise.<PretrainedConfig>"),Wi.forEach(t),ua.forEach(t),ma.forEach(t),bi.forEach(t),hl=p(_a),Ve=a(_a,"LI",{});var $i=l(Ve);Xe=a($i,"A",{href:!0});var Fi=l(Xe);_l=i(Fi,".AutoConfig"),Fi.forEach(t),Oo=a($i,"UL",{});var Ki=l(Oo);fe=a(Ki,"LI",{});var va=l(fe);ze=a(va,"A",{href:!0});var es=l(ze);bo=a(es,"CODE",{});var os=l(bo);ml=i(os,".from_pretrained()"),os.forEach(t),es.forEach(t),ul=i(va," : "),$o=a(va,"CODE",{});var ts=l($o);vl=i(ts,"PretrainedConfig.from_pretrained"),ts.forEach(t),va.forEach(t),Ki.forEach(t),$i.forEach(t),_a.forEach(t),Oi.forEach(t),El=p(ha),We=a(ha,"LI",{});var Di=l(We);Do=a(Di,"EM",{});var rs=l(Do);gl=i(rs,"inner"),rs.forEach(t),de=a(Di,"UL",{});var Ea=l(de);ce=a(Ea,"LI",{});var ga=l(ce);Fe=a(ga,"A",{href:!0});var as=l(Fe);Io=a(as,"CODE",{});var ls=l(Io);Tl=i(ls,"~loadConfig(pretrained_model_name_or_path, options)"),ls.forEach(t),as.forEach(t),Cl=i(ga," \u21D2 "),Mo=a(ga,"CODE",{});var ns=l(Mo);wl=i(ns,"Promise.<Array>"),ns.forEach(t),ga.forEach(t),Jl=p(Ea),pe=a(Ea,"LI",{});var Ta=l(pe);Ke=a(Ta,"A",{href:!0});var is=l(Ke);No=a(is,"CODE",{});var ss=l(No);Pl=i(ss,"~PretrainedOptions"),ss.forEach(t),is.forEach(t),yl=i(Ta," : "),jo=a(Ta,"CODE",{});var fs=l(jo);Al=i(fs,"*"),fs.forEach(t),Ta.forEach(t),Ea.forEach(t),Di.forEach(t),ha.forEach(t),Ai.forEach(t),Hi.forEach(t),Er=p(o),gr=a(o,"HR",{}),Tr=p(o),he=a(o,"A",{id:!0,class:!0}),l(he).forEach(t),Cr=p(o),T=a(o,"H2",{class:!0});var Ca=l(T);k=a(Ca,"A",{id:!0,class:!0,href:!0});var ds=l(k);ko=a(ds,"SPAN",{});var cs=l(ko);b(_e.$$.fragment,cs),cs.forEach(t),ds.forEach(t),Ol=p(Ca),Ro=a(Ca,"SPAN",{});var ps=l(Ro);bl=i(ps,"configs.PretrainedConfig"),ps.forEach(t),Ca.forEach(t),wr=p(o),R=a(o,"P",{});var wa=l(R);$l=i(wa,`Base class for all configuration classes. For more information, see the corresponding
`),me=a(wa,"A",{href:!0,rel:!0});var hs=l(me);Dl=i(hs,"Python documentation"),hs.forEach(t),Il=i(wa,"."),wa.forEach(t),Jr=p(o),S=a(o,"P",{});var Ja=l(S);So=a(Ja,"STRONG",{});var _s=l(So);Ml=i(_s,"Kind"),_s.forEach(t),Nl=i(Ja,": static class of "),eo=a(Ja,"A",{href:!0});var ms=l(eo);Uo=a(ms,"CODE",{});var us=l(Uo);jl=i(us,"configs"),us.forEach(t),ms.forEach(t),Ja.forEach(t),Pr=p(o),oo=a(o,"UL",{});var vs=l(oo);to=a(vs,"LI",{});var Ii=l(to);ro=a(Ii,"A",{href:!0});var Es=l(ro);kl=i(Es,".PretrainedConfig"),Es.forEach(t),ue=a(Ii,"UL",{});var Pa=l(ue);Go=a(Pa,"LI",{});var gs=l(Go);ao=a(gs,"A",{href:!0});var Ts=l(ao);Lo=a(Ts,"CODE",{});var Cs=l(Lo);Rl=i(Cs,"new PretrainedConfig(configJSON)"),Cs.forEach(t),Ts.forEach(t),gs.forEach(t),Sl=p(Pa),ve=a(Pa,"LI",{});var ya=l(ve);lo=a(ya,"A",{href:!0});var ws=l(lo);Bo=a(ws,"CODE",{});var Js=l(Bo);Ul=i(Js,".from_pretrained(pretrained_model_name_or_path, options)"),Js.forEach(t),ws.forEach(t),Gl=i(ya," \u21D2 "),Ho=a(ya,"CODE",{});var Ps=l(Ho);Ll=i(Ps,"Promise.<PretrainedConfig>"),Ps.forEach(t),ya.forEach(t),Pa.forEach(t),Ii.forEach(t),vs.forEach(t),yr=p(o),Ar=a(o,"HR",{}),Or=p(o),Ee=a(o,"A",{id:!0,class:!0}),l(Ee).forEach(t),br=p(o),C=a(o,"H3",{class:!0});var Aa=l(C);U=a(Aa,"A",{id:!0,class:!0,href:!0});var ys=l(U);Zo=a(ys,"SPAN",{});var As=l(Zo);b(ge.$$.fragment,As),As.forEach(t),ys.forEach(t),Bl=p(Aa),xo=a(Aa,"SPAN",{});var Os=l(xo);qo=a(Os,"CODE",{});var bs=l(qo);Hl=i(bs,"new PretrainedConfig(configJSON)"),bs.forEach(t),Os.forEach(t),Aa.forEach(t),$r=p(o),no=a(o,"P",{});var $s=l(no);Zl=i($s,"Create a new PreTrainedTokenizer instance."),$s.forEach(t),Dr=p(o),G=a(o,"TABLE",{});var Oa=l(G);Yo=a(Oa,"THEAD",{});var Ds=l(Yo);Te=a(Ds,"TR",{});var ba=l(Te);Qo=a(ba,"TH",{});var Is=l(Qo);xl=i(Is,"Param"),Is.forEach(t),Vo=a(ba,"TH",{});var Ms=l(Vo);ql=i(Ms,"Type"),Ms.forEach(t),Xo=a(ba,"TH",{});var Ns=l(Xo);Yl=i(Ns,"Description"),Ns.forEach(t),ba.forEach(t),Ds.forEach(t),Ql=p(Oa),zo=a(Oa,"TBODY",{});var js=l(zo);Ce=a(js,"TR",{});var $a=l(Ce);Wo=a($a,"TD",{});var ks=l(Wo);Vl=i(ks,"configJSON"),ks.forEach(t),Fo=a($a,"TD",{});var Rs=l(Fo);Ko=a(Rs,"CODE",{});var Ss=l(Ko);Xl=i(Ss,"Object"),Ss.forEach(t),Rs.forEach(t),et=a($a,"TD",{});var Us=l(et);ot=a(Us,"P",{});var Gs=l(ot);zl=i(Gs,"The JSON of the config."),Gs.forEach(t),Us.forEach(t),$a.forEach(t),js.forEach(t),Oa.forEach(t),Ir=p(o),Mr=a(o,"HR",{}),Nr=p(o),we=a(o,"A",{id:!0,class:!0}),l(we).forEach(t),jr=p(o),w=a(o,"H3",{class:!0});var Da=l(w);L=a(Da,"A",{id:!0,class:!0,href:!0});var Ls=l(L);tt=a(Ls,"SPAN",{});var Bs=l(tt);b(Je.$$.fragment,Bs),Bs.forEach(t),Ls.forEach(t),Wl=p(Da),Pe=a(Da,"SPAN",{});var Ia=l(Pe);rt=a(Ia,"CODE",{});var Hs=l(rt);Fl=i(Hs,"PretrainedConfig.from_pretrained(pretrained_model_name_or_path, options)"),Hs.forEach(t),Kl=i(Ia," \u21D2 "),at=a(Ia,"CODE",{});var Zs=l(at);en=i(Zs,"Promise.<PretrainedConfig>"),Zs.forEach(t),Ia.forEach(t),Da.forEach(t),kr=p(o),B=a(o,"P",{});var Ma=l(B);on=i(Ma,"Loads a pre-trained config from the given "),lt=a(Ma,"CODE",{});var xs=l(lt);tn=i(xs,"pretrained_model_name_or_path"),xs.forEach(t),rn=i(Ma,"."),Ma.forEach(t),Rr=p(o),h=a(o,"P",{});var _=l(h);nt=a(_,"STRONG",{});var qs=l(nt);an=i(qs,"Kind"),qs.forEach(t),ln=i(_,": static method of "),io=a(_,"A",{href:!0});var Ys=l(io);it=a(Ys,"CODE",{});var Qs=l(it);nn=i(Qs,"PretrainedConfig"),Qs.forEach(t),Ys.forEach(t),sn=a(_,"BR",{}),fn=p(_),st=a(_,"STRONG",{});var Vs=l(st);dn=i(Vs,"Returns"),Vs.forEach(t),cn=i(_,": "),ft=a(_,"CODE",{});var Xs=l(ft);pn=i(Xs,"Promise.<PretrainedConfig>"),Xs.forEach(t),hn=i(_," - A new instance of the "),dt=a(_,"CODE",{});var zs=l(dt);_n=i(zs,"PretrainedConfig"),zs.forEach(t),mn=i(_," class."),un=a(_,"BR",{}),vn=p(_),ct=a(_,"STRONG",{});var Ws=l(ct);En=i(Ws,"Throws"),Ws.forEach(t),gn=i(_,":"),_.forEach(t),Sr=p(o),so=a(o,"UL",{});var Fs=l(so);fo=a(Fs,"LI",{});var Mi=l(fo);pt=a(Mi,"CODE",{});var Ks=l(pt);Tn=i(Ks,"Error"),Ks.forEach(t),Cn=i(Mi," Throws an error if the config.json is not found in the `pretrained_model_name_or_path`."),Mi.forEach(t),Fs.forEach(t),Ur=p(o),H=a(o,"TABLE",{});var Na=l(H);ht=a(Na,"THEAD",{});var ef=l(ht);ye=a(ef,"TR",{});var ja=l(ye);_t=a(ja,"TH",{});var of=l(_t);wn=i(of,"Param"),of.forEach(t),mt=a(ja,"TH",{});var tf=l(mt);Jn=i(tf,"Type"),tf.forEach(t),ut=a(ja,"TH",{});var rf=l(ut);Pn=i(rf,"Description"),rf.forEach(t),ja.forEach(t),ef.forEach(t),yn=p(Na),co=a(Na,"TBODY",{});var Ni=l(co);Z=a(Ni,"TR",{});var dr=l(Z);vt=a(dr,"TD",{});var af=l(vt);An=i(af,"pretrained_model_name_or_path"),af.forEach(t),Et=a(dr,"TD",{});var lf=l(Et);gt=a(lf,"CODE",{});var nf=l(gt);On=i(nf,"string"),nf.forEach(t),lf.forEach(t),Tt=a(dr,"TD",{});var sf=l(Tt);Ct=a(sf,"P",{});var ff=l(Ct);bn=i(ff,"The path to the pre-trained config."),ff.forEach(t),sf.forEach(t),$n=p(dr),dr.forEach(t),Ae=a(Ni,"TR",{});var ka=l(Ae);wt=a(ka,"TD",{});var df=l(wt);Dn=i(df,"options"),df.forEach(t),Jt=a(ka,"TD",{});var cf=l(Jt);Pt=a(cf,"CODE",{});var pf=l(Pt);In=i(pf,"PretrainedOptions"),pf.forEach(t),cf.forEach(t),yt=a(ka,"TD",{});var hf=l(yt);At=a(hf,"P",{});var _f=l(At);Mn=i(_f,"Additional options for loading the config."),_f.forEach(t),hf.forEach(t),ka.forEach(t),Ni.forEach(t),Na.forEach(t),Gr=p(o),Lr=a(o,"HR",{}),Br=p(o),Oe=a(o,"A",{id:!0,class:!0}),l(Oe).forEach(t),Hr=p(o),J=a(o,"H2",{class:!0});var Ra=l(J);x=a(Ra,"A",{id:!0,class:!0,href:!0});var mf=l(x);Ot=a(mf,"SPAN",{});var uf=l(Ot);b(be.$$.fragment,uf),uf.forEach(t),mf.forEach(t),Nn=p(Ra),bt=a(Ra,"SPAN",{});var vf=l(bt);jn=i(vf,"configs.AutoConfig"),vf.forEach(t),Ra.forEach(t),Zr=p(o),q=a(o,"P",{});var Sa=l(q);kn=i(Sa,"Helper class which is used to instantiate pretrained configs with the "),$t=a(Sa,"CODE",{});var Ef=l($t);Rn=i(Ef,"from_pretrained"),Ef.forEach(t),Sn=i(Sa," function."),Sa.forEach(t),xr=p(o),Y=a(o,"P",{});var Ua=l(Y);Dt=a(Ua,"STRONG",{});var gf=l(Dt);Un=i(gf,"Kind"),gf.forEach(t),Gn=i(Ua,": static class of "),po=a(Ua,"A",{href:!0});var Tf=l(po);It=a(Tf,"CODE",{});var Cf=l(It);Ln=i(Cf,"configs"),Cf.forEach(t),Tf.forEach(t),Ua.forEach(t),qr=p(o),Yr=a(o,"HR",{}),Qr=p(o),$e=a(o,"A",{id:!0,class:!0}),l($e).forEach(t),Vr=p(o),P=a(o,"H3",{class:!0});var Ga=l(P);Q=a(Ga,"A",{id:!0,class:!0,href:!0});var wf=l(Q);Mt=a(wf,"SPAN",{});var Jf=l(Mt);b(De.$$.fragment,Jf),Jf.forEach(t),wf.forEach(t),Bn=p(Ga),Ie=a(Ga,"SPAN",{});var La=l(Ie);Nt=a(La,"CODE",{});var Pf=l(Nt);Hn=i(Pf,"AutoConfig.from_pretrained()"),Pf.forEach(t),Zn=i(La," : "),jt=a(La,"CODE",{});var yf=l(jt);xn=i(yf,"PretrainedConfig.from_pretrained"),yf.forEach(t),La.forEach(t),Ga.forEach(t),Xr=p(o),V=a(o,"P",{});var Ba=l(V);kt=a(Ba,"STRONG",{});var Af=l(kt);qn=i(Af,"Kind"),Af.forEach(t),Yn=i(Ba,": static method of "),ho=a(Ba,"A",{href:!0});var Of=l(ho);Rt=a(Of,"CODE",{});var bf=l(Rt);Qn=i(bf,"AutoConfig"),bf.forEach(t),Of.forEach(t),Ba.forEach(t),zr=p(o),Wr=a(o,"HR",{}),Fr=p(o),Me=a(o,"A",{id:!0,class:!0}),l(Me).forEach(t),Kr=p(o),y=a(o,"H2",{class:!0});var Ha=l(y);X=a(Ha,"A",{id:!0,class:!0,href:!0});var $f=l(X);St=a($f,"SPAN",{});var Df=l(St);b(Ne.$$.fragment,Df),Df.forEach(t),$f.forEach(t),Vn=p(Ha),je=a(Ha,"SPAN",{});var Za=l(je);Ut=a(Za,"CODE",{});var If=l(Ut);Xn=i(If,"configs~loadConfig(pretrained_model_name_or_path, options)"),If.forEach(t),zn=i(Za," \u21D2 "),Gt=a(Za,"CODE",{});var Mf=l(Gt);Wn=i(Mf,"Promise.<Array>"),Mf.forEach(t),Za.forEach(t),Ha.forEach(t),ea=p(o),_o=a(o,"P",{});var Nf=l(_o);Fn=i(Nf,"Loads a config from the specified path."),Nf.forEach(t),oa=p(o),m=a(o,"P",{});var u=l(m);Lt=a(u,"STRONG",{});var jf=l(Lt);Kn=i(jf,"Kind"),jf.forEach(t),ei=i(u,": inner method of "),mo=a(u,"A",{href:!0});var kf=l(mo);Bt=a(kf,"CODE",{});var Rf=l(Bt);oi=i(Rf,"configs"),Rf.forEach(t),kf.forEach(t),ti=a(u,"BR",{}),ri=p(u),Ht=a(u,"STRONG",{});var Sf=l(Ht);ai=i(Sf,"Returns"),Sf.forEach(t),li=i(u,": "),Zt=a(u,"CODE",{});var Uf=l(Zt);ni=i(Uf,"Promise.<Array>"),Uf.forEach(t),ii=i(u," - A promise that resolves with information about the loaded config."),u.forEach(t),ta=p(o),z=a(o,"TABLE",{});var xa=l(z);xt=a(xa,"THEAD",{});var Gf=l(xt);ke=a(Gf,"TR",{});var qa=l(ke);qt=a(qa,"TH",{});var Lf=l(qt);si=i(Lf,"Param"),Lf.forEach(t),Yt=a(qa,"TH",{});var Bf=l(Yt);fi=i(Bf,"Type"),Bf.forEach(t),Qt=a(qa,"TH",{});var Hf=l(Qt);di=i(Hf,"Description"),Hf.forEach(t),qa.forEach(t),Gf.forEach(t),ci=p(xa),uo=a(xa,"TBODY",{});var ji=l(uo);W=a(ji,"TR",{});var cr=l(W);Vt=a(cr,"TD",{});var Zf=l(Vt);pi=i(Zf,"pretrained_model_name_or_path"),Zf.forEach(t),Xt=a(cr,"TD",{});var xf=l(Xt);zt=a(xf,"CODE",{});var qf=l(zt);hi=i(qf,"string"),qf.forEach(t),xf.forEach(t),Wt=a(cr,"TD",{});var Yf=l(Wt);Ft=a(Yf,"P",{});var Qf=l(Ft);_i=i(Qf,"The path to the config directory."),Qf.forEach(t),Yf.forEach(t),mi=p(cr),cr.forEach(t),Re=a(ji,"TR",{});var Ya=l(Re);Kt=a(Ya,"TD",{});var Vf=l(Kt);ui=i(Vf,"options"),Vf.forEach(t),er=a(Ya,"TD",{});var Xf=l(er);or=a(Xf,"CODE",{});var zf=l(or);vi=i(zf,"PretrainedOptions"),zf.forEach(t),Xf.forEach(t),tr=a(Ya,"TD",{});var Wf=l(tr);rr=a(Wf,"P",{});var Ff=l(rr);Ei=i(Ff,"Additional options for loading the config."),Ff.forEach(t),Wf.forEach(t),Ya.forEach(t),ji.forEach(t),xa.forEach(t),ra=p(o),aa=a(o,"HR",{}),la=p(o),Se=a(o,"A",{id:!0,class:!0}),l(Se).forEach(t),na=p(o),A=a(o,"H2",{class:!0});var Qa=l(A);F=a(Qa,"A",{id:!0,class:!0,href:!0});var Kf=l(F);ar=a(Kf,"SPAN",{});var ed=l(ar);b(Ue.$$.fragment,ed),ed.forEach(t),Kf.forEach(t),gi=p(Qa),Ge=a(Qa,"SPAN",{});var Va=l(Ge);lr=a(Va,"CODE",{});var od=l(lr);Ti=i(od,"configs~PretrainedOptions"),od.forEach(t),Ci=i(Va," : "),nr=a(Va,"CODE",{});var td=l(nr);wi=i(td,"*"),td.forEach(t),Va.forEach(t),Qa.forEach(t),ia=p(o),K=a(o,"P",{});var Xa=l(K);ir=a(Xa,"STRONG",{});var rd=l(ir);Ji=i(rd,"Kind"),rd.forEach(t),Pi=i(Xa,": inner typedef of "),vo=a(Xa,"A",{href:!0});var ad=l(vo);sr=a(ad,"CODE",{});var ld=l(sr);yi=i(ld,"configs"),ld.forEach(t),ad.forEach(t),Xa.forEach(t),sa=p(o),fa=a(o,"HR",{}),this.h()},h(){d(v,"name","hf:doc:metadata"),d(v,"content",JSON.stringify(_d)),d(oe,"id","module_configs"),d(oe,"class","group"),d(N,"id","configs"),d(N,"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"),d(N,"href","#configs"),d(E,"class","relative group"),d(re,"href","https://huggingface.co/docs/transformers/main/en/model_doc/auto#transformers.AutoConfig"),d(re,"rel","nofollow"),d(He,"href","#module_configs"),d(qe,"href","#module_configs.PretrainedConfig"),d(Ye,"href","#new_module_configs.PretrainedConfig_new"),d(Qe,"href","#module_configs.PretrainedConfig.from_pretrained"),d(Xe,"href","#module_configs.AutoConfig"),d(ze,"href","#module_configs.AutoConfig.from_pretrained"),d(Fe,"href","#module_configs..loadConfig"),d(Ke,"href","#module_configs..PretrainedOptions"),d(he,"id","module_configs.PretrainedConfig"),d(he,"class","group"),d(k,"id","configspretrainedconfig"),d(k,"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"),d(k,"href","#configspretrainedconfig"),d(T,"class","relative group"),d(me,"href","https://huggingface.co/docs/transformers/main/en/main_classes/configuration#transformers.PretrainedConfig"),d(me,"rel","nofollow"),d(eo,"href","#module_configs"),d(ro,"href","#module_configs.PretrainedConfig"),d(ao,"href","#new_module_configs.PretrainedConfig_new"),d(lo,"href","#module_configs.PretrainedConfig.from_pretrained"),d(Ee,"id","new_module_configs.PretrainedConfig_new"),d(Ee,"class","group"),d(U,"id","new-pretrainedconfigconfigjson"),d(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"),d(U,"href","#new-pretrainedconfigconfigjson"),d(C,"class","relative group"),d(we,"id","module_configs.PretrainedConfig.from_pretrained"),d(we,"class","group"),d(L,"id","pretrainedconfigfrompretrainedpretrainedmodelnameorpath-options-codepromiseampltpretrainedconfigampgtcode"),d(L,"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"),d(L,"href","#pretrainedconfigfrompretrainedpretrainedmodelnameorpath-options-codepromiseampltpretrainedconfigampgtcode"),d(w,"class","relative group"),d(io,"href","#module_configs.PretrainedConfig"),d(Oe,"id","module_configs.AutoConfig"),d(Oe,"class","group"),d(x,"id","configsautoconfig"),d(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"),d(x,"href","#configsautoconfig"),d(J,"class","relative group"),d(po,"href","#module_configs"),d($e,"id","module_configs.AutoConfig.from_pretrained"),d($e,"class","group"),d(Q,"id","autoconfigfrompretrained-codepretrainedconfigfrompretrainedcode"),d(Q,"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"),d(Q,"href","#autoconfigfrompretrained-codepretrainedconfigfrompretrainedcode"),d(P,"class","relative group"),d(ho,"href","#module_configs.AutoConfig"),d(Me,"id","module_configs..loadConfig"),d(Me,"class","group"),d(X,"id","configsloadconfigpretrainedmodelnameorpath-options-codepromiseampltarrayampgtcode"),d(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"),d(X,"href","#configsloadconfigpretrainedmodelnameorpath-options-codepromiseampltarrayampgtcode"),d(y,"class","relative group"),d(mo,"href","#module_configs"),d(Se,"id","module_configs..PretrainedOptions"),d(Se,"class","group"),d(F,"id","configspretrainedoptions-codecode"),d(F,"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"),d(F,"href","#configspretrainedoptions-codecode"),d(A,"class","relative group"),d(vo,"href","#module_configs")},m(o,s){e(document.head,v),f(o,pr,s),f(o,oe,s),f(o,hr,s),f(o,E,s),e(E,N),e(N,Eo),$(te,Eo,null),e(E,za),e(E,go),e(go,Wa),f(o,_r,s),f(o,j,s),e(j,Fa),e(j,re),e(re,Ka),e(j,el),f(o,mr,s),f(o,g,s),e(g,To),e(To,ol),e(g,tl),e(g,Co),e(Co,rl),e(g,al),f(o,ur,s),$(ae,o,s),f(o,vr,s),f(o,Le,s),e(Le,Be),e(Be,He),e(He,ll),e(Be,le),e(le,Ze),e(Ze,wo),e(wo,nl),e(Ze,ne),e(ne,xe),e(xe,qe),e(qe,il),e(xe,ie),e(ie,Jo),e(Jo,Ye),e(Ye,Po),e(Po,sl),e(ie,fl),e(ie,se),e(se,Qe),e(Qe,yo),e(yo,dl),e(se,cl),e(se,Ao),e(Ao,pl),e(ne,hl),e(ne,Ve),e(Ve,Xe),e(Xe,_l),e(Ve,Oo),e(Oo,fe),e(fe,ze),e(ze,bo),e(bo,ml),e(fe,ul),e(fe,$o),e($o,vl),e(le,El),e(le,We),e(We,Do),e(Do,gl),e(We,de),e(de,ce),e(ce,Fe),e(Fe,Io),e(Io,Tl),e(ce,Cl),e(ce,Mo),e(Mo,wl),e(de,Jl),e(de,pe),e(pe,Ke),e(Ke,No),e(No,Pl),e(pe,yl),e(pe,jo),e(jo,Al),f(o,Er,s),f(o,gr,s),f(o,Tr,s),f(o,he,s),f(o,Cr,s),f(o,T,s),e(T,k),e(k,ko),$(_e,ko,null),e(T,Ol),e(T,Ro),e(Ro,bl),f(o,wr,s),f(o,R,s),e(R,$l),e(R,me),e(me,Dl),e(R,Il),f(o,Jr,s),f(o,S,s),e(S,So),e(So,Ml),e(S,Nl),e(S,eo),e(eo,U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o,Re),e(Re,Kt),e(Kt,ui),e(Re,er),e(er,or),e(or,vi),e(Re,tr),e(tr,rr),e(rr,Ei),f(o,ra,s),f(o,aa,s),f(o,la,s),f(o,Se,s),f(o,na,s),f(o,A,s),e(A,F),e(F,ar),$(Ue,ar,null),e(A,gi),e(A,Ge),e(Ge,lr),e(lr,Ti),e(Ge,Ci),e(Ge,nr),e(nr,wi),f(o,ia,s),f(o,K,s),e(K,ir),e(ir,Ji),e(K,Pi),e(K,vo),e(vo,sr),e(sr,yi),f(o,sa,s),f(o,fa,s),da=!0},p:dd,i(o){da||(D(te.$$.fragment,o),D(ae.$$.fragment,o),D(_e.$$.fragment,o),D(ge.$$.fragment,o),D(Je.$$.fragment,o),D(be.$$.fragment,o),D(De.$$.fragment,o),D(Ne.$$.fragment,o),D(Ue.$$.fragment,o),da=!0)},o(o){I(te.$$.fragment,o),I(ae.$$.fragment,o),I(_e.$$.fragment,o),I(ge.$$.fragment,o),I(Je.$$.fragment,o),I(be.$$.fragment,o),I(De.$$.fragment,o),I(Ne.$$.fragment,o),I(Ue.$$.fragment,o),da=!1},d(o){t(v),o&&t(pr),o&&t(oe),o&&t(hr),o&&t(E),M(te),o&&t(_r),o&&t(j),o&&t(mr),o&&t(g),o&&t(ur),M(ae,o),o&&t(vr),o&&t(Le),o&&t(Er),o&&t(gr),o&&t(Tr),o&&t(he),o&&t(Cr),o&&t(T),M(_e),o&&t(wr),o&&t(R),o&&t(Jr),o&&t(S),o&&t(Pr),o&&t(oo),o&&t(yr),o&&t(Ar),o&&t(Or),o&&t(Ee),o&&t(br),o&&t(C),M(ge),o&&t($r),o&&t(no),o&&t(Dr),o&&t(G),o&&t(Ir),o&&t(Mr),o&&t(Nr),o&&t(we),o&&t(jr),o&&t(w),M(Je),o&&t(kr),o&&t(B),o&&t(Rr),o&&t(h),o&&t(Sr),o&&t(so),o&&t(Ur),o&&t(H),o&&t(Gr),o&&t(Lr),o&&t(Br),o&&t(Oe),o&&t(Hr),o&&t(J),M(be),o&&t(Zr),o&&t(q),o&&t(xr),o&&t(Y),o&&t(qr),o&&t(Yr),o&&t(Qr),o&&t($e),o&&t(Vr),o&&t(P),M(De),o&&t(Xr),o&&t(V),o&&t(zr),o&&t(Wr),o&&t(Fr),o&&t(Me),o&&t(Kr),o&&t(y),M(Ne),o&&t(ea),o&&t(_o),o&&t(oa),o&&t(m),o&&t(ta),o&&t(z),o&&t(ra),o&&t(aa),o&&t(la),o&&t(Se),o&&t(na),o&&t(A),M(Ue),o&&t(ia),o&&t(K),o&&t(sa),o&&t(fa)}}}const _d={local:"configs",sections:[{local:"configspretrainedconfig",sections:[{local:"new-pretrainedconfigconfigjson",title:"`new PretrainedConfig(configJSON)`"},{local:"pretrainedconfigfrompretrainedpretrainedmodelnameorpath-options-codepromiseampltpretrainedconfigampgtcode",title:"`PretrainedConfig.from_pretrained(pretrained_model_name_or_path, options)` \u21D2 <code>Promise.&lt;PretrainedConfig&gt;</code>"}],title:"configs.PretrainedConfig"},{local:"configsautoconfig",sections:[{local:"autoconfigfrompretrained-codepretrainedconfigfrompretrainedcode",title:"`AutoConfig.from_pretrained()` : <code>PretrainedConfig.from_pretrained</code>"}],title:"configs.AutoConfig"},{local:"configsloadconfigpretrainedmodelnameorpath-options-codepromiseampltarrayampgtcode",title:"`configs~loadConfig(pretrained_model_name_or_path, options)` \u21D2 <code>Promise.&lt;Array&gt;</code>"},{local:"configspretrainedoptions-codecode",title:"`configs~PretrainedOptions` : <code>*</code>"}],title:"configs"};function md(ki){return cd(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class gd extends nd{constructor(v){super();id(this,v,md,hd,sd,{})}}export{gd as default,_d as metadata};
