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ba,Eu,ku,Wn,Tu,yu,Pn,Fa,qn,Wd,Au,Ln,Ya,Un,Pd,Du,J,Xn,Qa,Su,xu,Bn,Hu,Mu,Fn,Va,Yn,qd,Iu,Qn,Ka,Vn,Ld,Ou,j,Kn,Ja,Gu,$u,Jn,Ru,Nu,jn,ja,Zn,Ud,Cu,es,Za,ts,Xd,zu,Z,as,eo,Wu,Pu,os,qu,Lu,rs,to,ls,Bd,Uu,ns,ao,ss,Fd,Xu,ee,is,oo,Bu,Fu,gs,Yu,Qu,hs,ro,cs,Yd,Vu,us,lo,fs,Qd,Ku,te,ds,no,Ju,ju,ms,Zu,ef,bs,so,ps,Vd,tf,_s,io,vs,Kd,af,ae,ws,go,of,rf,Es,lf,nf,ks,ho,Ts,Jd,sf,ys,co,As,jd,yi,ue,ke,ni,uo,gf,si,hf,Ai,Te,cf,fo,uf,ff,Di,ye,ii,oe,Ds,df,mf,Ss,bf,pf,gi,_f,hi,vf,mo,re,xs,bo,wf,Ef,Ae,kf,po,Tf,yf,Af,Hs,_o,Ms,Zd,Df,Is,vo,Os,em,Sf,le,Gs,wo,xf,Hf,De,Mf,Eo,If,Of,Gf,$s,ko,Rs,tm,$f,Ns,To,Cs,am,Si,fe,Se,ci,yo,Rf,ui,Nf,xi,xe,Cf,zs,zf,Wf,Hi;return mt=new Io({}),bt=new Io({}),pt=new Io({}),Nt=new Io({}),za=new Io({}),uo=new Io({}),yo=new Io({}),{c(){ne=a("meta"),fi=n(),se=a("h1"),de=a("a"),Ws=a("span"),Ao(mt.$$.fragment),Fi=n(),Ps=a("span"),Yi=g("\u{1F917} Transformers Notebooks"),di=n(),Oo=a("p"),Qi=g("You can find here a list of the official notebooks provided by Hugging Face."),mi=n(),Go=a("p"),Vi=g(`Also, we would like to list here interesting content created by the community.
If you wrote some notebook(s) leveraging \u{1F917} Transformers and would like be listed here, please open a
Pull Request so it can be included under the Community notebooks.`),bi=n(),ie=a("h2"),me=a("a"),qs=a("span"),Ao(bt.$$.fragment),Ki=n(),Ls=a("span"),Ji=g("Hugging Face's notebooks \u{1F917}"),pi=n(),ge=a("h3"),be=a("a"),Us=a("span"),Ao(pt.$$.fragment),ji=n(),Xs=a("span"),Zi=g("Documentation notebooks"),_i=n(),$o=a("p"),eg=g("You can open any page of the documentation as a notebook in colab (there is a button directly on said pages) but they are also listed here if you need to:"),vi=n(),pe=a("table"),Bs=a("thead"),w=a("tr"),Ro=a("th"),tg=g("Notebook"),ag=n(),No=a("th"),og=g("Description"),rg=n(),Fs=a("th"),lg=n(),Ys=a("th"),ng=n(),_=a("tbody"),E=a("tr"),Co=a("td"),_t=a("a"),sg=g("Quicktour of the library"),ig=n(),zo=a("td"),gg=g("A presentation of the various APIs in Transformers"),hg=n(),Wo=a("td"),vt=a("a"),Po=a("img"),cg=n(),qo=a("td"),wt=a("a"),Lo=a("img"),ug=n(),k=a("tr"),Uo=a("td"),Et=a("a"),fg=g("Summary of the tasks"),dg=n(),Xo=a("td"),mg=g("How to run the models of the Transformers library task by task"),bg=n(),Bo=a("td"),kt=a("a"),Fo=a("img"),pg=n(),Yo=a("td"),Tt=a("a"),Qo=a("img"),_g=n(),T=a("tr"),Vo=a("td"),yt=a("a"),vg=g("Preprocessing data"),wg=n(),Ko=a("td"),Eg=g("How to use a tokenizer to preprocess your data"),kg=n(),Jo=a("td"),At=a("a"),jo=a("img"),Tg=n(),Zo=a("td"),Dt=a("a"),er=a("img"),yg=n(),y=a("tr"),tr=a("td"),St=a("a"),Ag=g("Fine-tuning a pretrained model"),Dg=n(),ar=a("td"),Sg=g("How to use the Trainer to fine-tune a pretrained model"),xg=n(),or=a("td"),xt=a("a"),rr=a("img"),Hg=n(),lr=a("td"),Ht=a("a"),nr=a("img"),Mg=n(),A=a("tr"),sr=a("td"),Mt=a("a"),Ig=g("Summary of the tokenizers"),Og=n(),ir=a("td"),Gg=g("The differences between the tokenizers algorithm"),$g=n(),gr=a("td"),It=a("a"),hr=a("img"),Rg=n(),cr=a("td"),Ot=a("a"),ur=a("img"),Ng=n(),D=a("tr"),fr=a("td"),Gt=a("a"),Cg=g("Multilingual models"),zg=n(),dr=a("td"),Wg=g("How to use the multilingual models of the library"),Pg=n(),mr=a("td"),$t=a("a"),br=a("img"),qg=n(),pr=a("td"),Rt=a("a"),_r=a("img"),wi=n(),he=a("h3"),_e=a("a"),Qs=a("span"),Ao(Nt.$$.fragment),Lg=n(),Vs=a("span"),Ug=g("PyTorch Examples"),Ei=n(),ve=a("table"),Ks=a("thead"),S=a("tr"),vr=a("th"),Xg=g("Notebook"),Bg=n(),wr=a("th"),Fg=g("Description"),Yg=n(),Js=a("th"),Qg=n(),js=a("th"),Vg=n(),u=a("tbody"),x=a("tr"),Er=a("td"),Ct=a("a"),Kg=g("Train your tokenizer"),Jg=n(),kr=a("td"),jg=g("How to train and use your very own tokenizer"),Zg=n(),Tr=a("td"),zt=a("a"),yr=a("img"),eh=n(),Ar=a("td"),Wt=a("a"),Dr=a("img"),th=n(),H=a("tr"),Sr=a("td"),Pt=a("a"),ah=g("Train your language model"),oh=n(),xr=a("td"),rh=g("How to easily start using transformers"),lh=n(),Hr=a("td"),qt=a("a"),Mr=a("img"),nh=n(),Ir=a("td"),Lt=a("a"),Or=a("img"),sh=n(),M=a("tr"),Gr=a("td"),Ut=a("a"),ih=g("How to fine-tune a model on text classification"),gh=n(),$r=a("td"),hh=g("Show how to preprocess the data and fine-tune a pretrained model on any GLUE task."),ch=n(),Rr=a("td"),Xt=a("a"),Nr=a("img"),uh=n(),Cr=a("td"),Bt=a("a"),zr=a("img"),fh=n(),I=a("tr"),Wr=a("td"),Ft=a("a"),dh=g("How to fine-tune a model on language modeling"),mh=n(),Pr=a("td"),bh=g("Show how to preprocess the data and fine-tune a pretrained model on a causal or masked LM task."),ph=n(),qr=a("td"),Yt=a("a"),Lr=a("img"),_h=n(),Ur=a("td"),Qt=a("a"),Xr=a("img"),vh=n(),O=a("tr"),Br=a("td"),Vt=a("a"),wh=g("How to fine-tune a model on token classification"),Eh=n(),Fr=a("td"),kh=g("Show how to preprocess the data and fine-tune a pretrained model on a token classification task (NER, PoS)."),Th=n(),Yr=a("td"),Kt=a("a"),Qr=a("img"),yh=n(),Vr=a("td"),Jt=a("a"),Kr=a("img"),Ah=n(),G=a("tr"),Jr=a("td"),jt=a("a"),Dh=g("How to fine-tune a model on question answering"),Sh=n(),jr=a("td"),xh=g("Show how to preprocess the data and fine-tune a pretrained model on SQUAD."),Hh=n(),Zr=a("td"),Zt=a("a"),el=a("img"),Mh=n(),tl=a("td"),ea=a("a"),al=a("img"),Ih=n(),$=a("tr"),ol=a("td"),ta=a("a"),Oh=g("How to fine-tune a model on multiple choice"),Gh=n(),rl=a("td"),$h=g("Show how to preprocess the data and fine-tune a pretrained model on SWAG."),Rh=n(),ll=a("td"),aa=a("a"),nl=a("img"),Nh=n(),sl=a("td"),oa=a("a"),il=a("img"),Ch=n(),R=a("tr"),gl=a("td"),ra=a("a"),zh=g("How to fine-tune a model on translation"),Wh=n(),hl=a("td"),Ph=g("Show how to preprocess the data and fine-tune a pretrained model on WMT."),qh=n(),cl=a("td"),la=a("a"),ul=a("img"),Lh=n(),fl=a("td"),na=a("a"),dl=a("img"),Uh=n(),N=a("tr"),ml=a("td"),sa=a("a"),Xh=g("How to fine-tune a model on summarization"),Bh=n(),bl=a("td"),Fh=g("Show how to preprocess the data and fine-tune a pretrained model on XSUM."),Yh=n(),pl=a("td"),ia=a("a"),_l=a("img"),Qh=n(),vl=a("td"),ga=a("a"),wl=a("img"),Vh=n(),C=a("tr"),El=a("td"),ha=a("a"),Kh=g("How to fine-tune a speech recognition model in English"),Jh=n(),kl=a("td"),jh=g("Show how to preprocess the data and fine-tune a pretrained Speech model on TIMIT"),Zh=n(),Tl=a("td"),ca=a("a"),yl=a("img"),ec=n(),Al=a("td"),ua=a("a"),Dl=a("img"),tc=n(),z=a("tr"),Sl=a("td"),fa=a("a"),ac=g("How to fine-tune a speech recognition model in any language"),oc=n(),xl=a("td"),rc=g("Show how to preprocess the data and fine-tune a multi-lingually pretrained speech model on Common Voice"),lc=n(),Hl=a("td"),da=a("a"),Ml=a("img"),nc=n(),Il=a("td"),ma=a("a"),Ol=a("img"),sc=n(),W=a("tr"),Gl=a("td"),ba=a("a"),ic=g("How to fine-tune a model on audio classification"),gc=n(),$l=a("td"),hc=g("Show how to preprocess the data and fine-tune a pretrained Speech model on Keyword Spotting"),cc=n(),Rl=a("td"),pa=a("a"),Nl=a("img"),uc=n(),Cl=a("td"),_a=a("a"),zl=a("img"),fc=n(),P=a("tr"),Wl=a("td"),va=a("a"),dc=g("How to train a language model from scratch"),mc=n(),Pl=a("td"),bc=g("Highlight all the steps to effectively train Transformer model on custom data"),pc=n(),ql=a("td"),wa=a("a"),Ll=a("img"),_c=n(),Ul=a("td"),Ea=a("a"),Xl=a("img"),vc=n(),q=a("tr"),Bl=a("td"),ka=a("a"),wc=g("How to generate text"),Ec=n(),Fl=a("td"),kc=g("How to use different decoding methods for language generation with transformers"),Tc=n(),Yl=a("td"),Ta=a("a"),Ql=a("img"),yc=n(),Vl=a("td"),ya=a("a"),Kl=a("img"),Ac=n(),L=a("tr"),Jl=a("td"),Aa=a("a"),Dc=g("How to generate text (with constraints)"),Sc=n(),jl=a("td"),xc=g("How to guide language generation with user-provided constraints"),Hc=n(),Zl=a("td"),Da=a("a"),en=a("img"),Mc=n(),tn=a("td"),Sa=a("a"),an=a("img"),Ic=n(),U=a("tr"),on=a("td"),xa=a("a"),Oc=g("How to export model to ONNX"),Gc=n(),rn=a("td"),$c=g("Highlight how to export and run inference workloads through ONNX"),Rc=n(),Zs=a("td"),Nc=n(),ei=a("td"),Cc=n(),X=a("tr"),ln=a("td"),Ha=a("a"),zc=g("How to use Benchmarks"),Wc=n(),nn=a("td"),Pc=g("How to benchmark models with transformers"),qc=n(),sn=a("td"),Ma=a("a"),gn=a("img"),Lc=n(),hn=a("td"),Ia=a("a"),cn=a("img"),Uc=n(),B=a("tr"),un=a("td"),Oa=a("a"),Xc=g("Reformer"),Bc=n(),fn=a("td"),Fc=g("How Reformer pushes the limits of language modeling"),Yc=n(),dn=a("td"),Ga=a("a"),mn=a("img"),Qc=n(),bn=a("td"),$a=a("a"),pn=a("img"),Vc=n(),F=a("tr"),_n=a("td"),Ra=a("a"),Kc=g("How to fine-tune a model on image classification"),Jc=n(),vn=a("td"),jc=g("Show how to preprocess the data and fine-tune any pretrained Vision model on Image Classification"),Zc=n(),wn=a("td"),Na=a("a"),En=a("img"),eu=n(),kn=a("td"),Ca=a("a"),Tn=a("img"),ki=n(),ce=a("h3"),we=a("a"),ti=a("span"),Ao(za.$$.fragment),tu=n(),ai=a("span"),au=g("TensorFlow Examples"),Ti=n(),Ee=a("table"),oi=a("thead"),Y=a("tr"),yn=a("th"),ou=g("Notebook"),ru=n(),An=a("th"),lu=g("Description"),nu=n(),ri=a("th"),su=n(),li=a("th"),iu=n(),b=a("tbody"),Q=a("tr"),Dn=a("td"),Wa=a("a"),gu=g("Train your tokenizer"),hu=n(),Sn=a("td"),cu=g("How to train and use your very own tokenizer"),uu=n(),xn=a("td"),Pa=a("a"),Hn=a("img"),fu=n(),Mn=a("td"),qa=a("a"),In=a("img"),du=n(),V=a("tr"),On=a("td"),La=a("a"),mu=g("Train your language model"),bu=n(),Gn=a("td"),pu=g("How to easily start using transformers"),_u=n(),$n=a("td"),Ua=a("a"),Rn=a("img"),vu=n(),Nn=a("td"),Xa=a("a"),Cn=a("img"),wu=n(),K=a("tr"),zn=a("td"),Ba=a("a"),Eu=g("How to fine-tune a model on text classification"),ku=n(),Wn=a("td"),Tu=g("Show how to preprocess the data and fine-tune a pretrained model on any GLUE task."),yu=n(),Pn=a("td"),Fa=a("a"),qn=a("img"),Au=n(),Ln=a("td"),Ya=a("a"),Un=a("img"),Du=n(),J=a("tr"),Xn=a("td"),Qa=a("a"),Su=g("How to fine-tune a model on language modeling"),xu=n(),Bn=a("td"),Hu=g("Show how to preprocess the data and fine-tune a pretrained model on a causal or masked LM task."),Mu=n(),Fn=a("td"),Va=a("a"),Yn=a("img"),Iu=n(),Qn=a("td"),Ka=a("a"),Vn=a("img"),Ou=n(),j=a("tr"),Kn=a("td"),Ja=a("a"),Gu=g("How to fine-tune a model on token classification"),$u=n(),Jn=a("td"),Ru=g("Show how to preprocess the data and fine-tune a pretrained model on a token classification task (NER, PoS)."),Nu=n(),jn=a("td"),ja=a("a"),Zn=a("img"),Cu=n(),es=a("td"),Za=a("a"),ts=a("img"),zu=n(),Z=a("tr"),as=a("td"),eo=a("a"),Wu=g("How to fine-tune a model on question answering"),Pu=n(),os=a("td"),qu=g("Show how to preprocess the data and fine-tune a pretrained model on SQUAD."),Lu=n(),rs=a("td"),to=a("a"),ls=a("img"),Uu=n(),ns=a("td"),ao=a("a"),ss=a("img"),Xu=n(),ee=a("tr"),is=a("td"),oo=a("a"),Bu=g("How to fine-tune a model on multiple choice"),Fu=n(),gs=a("td"),Yu=g("Show how to preprocess the data and fine-tune a pretrained model on SWAG."),Qu=n(),hs=a("td"),ro=a("a"),cs=a("img"),Vu=n(),us=a("td"),lo=a("a"),fs=a("img"),Ku=n(),te=a("tr"),ds=a("td"),no=a("a"),Ju=g("How to fine-tune a model on translation"),ju=n(),ms=a("td"),Zu=g("Show how to preprocess the data and fine-tune a pretrained model on WMT."),ef=n(),bs=a("td"),so=a("a"),ps=a("img"),tf=n(),_s=a("td"),io=a("a"),vs=a("img"),af=n(),ae=a("tr"),ws=a("td"),go=a("a"),of=g("How to fine-tune a model on summarization"),rf=n(),Es=a("td"),lf=g("Show how to preprocess the data and fine-tune a pretrained model on XSUM."),nf=n(),ks=a("td"),ho=a("a"),Ts=a("img"),sf=n(),ys=a("td"),co=a("a"),As=a("img"),yi=n(),ue=a("h3"),ke=a("a"),ni=a("span"),Ao(uo.$$.fragment),gf=n(),si=a("span"),hf=g("Optimum notebooks"),Ai=n(),Te=a("p"),cf=g("\u{1F917}  "),fo=a("a"),uf=g("Optimum"),ff=g(" is an extension of \u{1F917} Transformers, providing a set of performance optimization tools enabling maximum efficiency to train and run models on targeted hardwares."),Di=n(),ye=a("table"),ii=a("thead"),oe=a("tr"),Ds=a("th"),df=g("Notebook"),mf=n(),Ss=a("th"),bf=g("Description"),pf=n(),gi=a("th"),_f=n(),hi=a("th"),vf=n(),mo=a("tbody"),re=a("tr"),xs=a("td"),bo=a("a"),wf=g("How to quantize a model with ONNX Runtime for text classification"),Ef=n(),Ae=a("td"),kf=g("Show how to apply static and dynamic quantization on a model using "),po=a("a"),Tf=g("ONNX Runtime"),yf=g(" for any GLUE task."),Af=n(),Hs=a("td"),_o=a("a"),Ms=a("img"),Df=n(),Is=a("td"),vo=a("a"),Os=a("img"),Sf=n(),le=a("tr"),Gs=a("td"),wo=a("a"),xf=g("How to quantize a model with Intel Neural Compressor for text classification"),Hf=n(),De=a("td"),Mf=g("Show how to apply static, dynamic and aware training quantization on a model using "),Eo=a("a"),If=g("Intel Neural Compressor (INC)"),Of=g(" for any GLUE task."),Gf=n(),$s=a("td"),ko=a("a"),Rs=a("img"),$f=n(),Ns=a("td"),To=a("a"),Cs=a("img"),Si=n(),fe=a("h2"),Se=a("a"),ci=a("span"),Ao(yo.$$.fragment),Rf=n(),ui=a("span"),Nf=g("Community notebooks:"),xi=n(),xe=a("p"),Cf=g("More notebooks developed by the community are available "),zs=a("a"),zf=g("here"),Wf=g("."),this.h()},l(i){const d=k1('[data-svelte="svelte-1phssyn"]',document.head);ne=o(d,"META",{name:!0,content:!0}),d.forEach(r),fi=s(i),se=o(i,"H1",{class:!0});var Mi=l(se);de=o(Mi,"A",{id:!0,class:!0,href:!0});var om=l(de);Ws=o(om,"SPAN",{});var rm=l(Ws);Do(mt.$$.fragment,rm),rm.forEach(r),om.forEach(r),Fi=s(Mi),Ps=o(Mi,"SPAN",{});var lm=l(Ps);Yi=h(lm,"\u{1F917} Transformers Notebooks"),lm.forEach(r),Mi.forEach(r),di=s(i),Oo=o(i,"P",{});var nm=l(Oo);Qi=h(nm,"You can find here a list of the official notebooks provided by Hugging Face."),nm.forEach(r),mi=s(i),Go=o(i,"P",{});var sm=l(Go);Vi=h(sm,`Also, we would like to list here interesting content created by the community.
If you wrote some notebook(s) leveraging \u{1F917} Transformers and would like be listed here, please open a
Pull Request so it can be included under the Community notebooks.`),sm.forEach(r),bi=s(i),ie=o(i,"H2",{class:!0});var Ii=l(ie);me=o(Ii,"A",{id:!0,class:!0,href:!0});var im=l(me);qs=o(im,"SPAN",{});var gm=l(qs);Do(bt.$$.fragment,gm),gm.forEach(r),im.forEach(r),Ki=s(Ii),Ls=o(Ii,"SPAN",{});var hm=l(Ls);Ji=h(hm,"Hugging Face's notebooks \u{1F917}"),hm.forEach(r),Ii.forEach(r),pi=s(i),ge=o(i,"H3",{class:!0});var Oi=l(ge);be=o(Oi,"A",{id:!0,class:!0,href:!0});var cm=l(be);Us=o(cm,"SPAN",{});var um=l(Us);Do(pt.$$.fragment,um),um.forEach(r),cm.forEach(r),ji=s(Oi),Xs=o(Oi,"SPAN",{});var fm=l(Xs);Zi=h(fm,"Documentation notebooks"),fm.forEach(r),Oi.forEach(r),_i=s(i),$o=o(i,"P",{});var dm=l($o);eg=h(dm,"You can open any page of the documentation as a notebook in colab (there is a button directly on said pages) but they are also listed here if you need to:"),dm.forEach(r),vi=s(i),pe=o(i,"TABLE",{});var Gi=l(pe);Bs=o(Gi,"THEAD",{});var mm=l(Bs);w=o(mm,"TR",{});var He=l(w);Ro=o(He,"TH",{align:!0});var bm=l(Ro);tg=h(bm,"Notebook"),bm.forEach(r),ag=s(He),No=o(He,"TH",{align:!0});var pm=l(No);og=h(pm,"Description"),pm.forEach(r),rg=s(He),Fs=o(He,"TH",{align:!0}),l(Fs).forEach(r),lg=s(He),Ys=o(He,"TH",{align:!0}),l(Ys).forEach(r),He.forEach(r),mm.forEach(r),ng=s(Gi),_=o(Gi,"TBODY",{});var v=l(_);E=o(v,"TR",{});var Me=l(E);Co=o(Me,"TD",{align:!0});var _m=l(Co);_t=o(_m,"A",{href:!0,rel:!0});var vm=l(_t);sg=h(vm,"Quicktour of the library"),vm.forEach(r),_m.forEach(r),ig=s(Me),zo=o(Me,"TD",{align:!0});var wm=l(zo);gg=h(wm,"A presentation of the various APIs in Transformers"),wm.forEach(r),hg=s(Me),Wo=o(Me,"TD",{align:!0});var Em=l(Wo);vt=o(Em,"A",{href:!0,rel:!0});var km=l(vt);Po=o(km,"IMG",{src:!0,alt:!0}),km.forEach(r),Em.forEach(r),cg=s(Me),qo=o(Me,"TD",{align:!0});var Tm=l(qo);wt=o(Tm,"A",{href:!0,rel:!0});var ym=l(wt);Lo=o(ym,"IMG",{src:!0,alt:!0}),ym.forEach(r),Tm.forEach(r),Me.forEach(r),ug=s(v),k=o(v,"TR",{});var Ie=l(k);Uo=o(Ie,"TD",{align:!0});var Am=l(Uo);Et=o(Am,"A",{href:!0,rel:!0});var Dm=l(Et);fg=h(Dm,"Summary of the tasks"),Dm.forEach(r),Am.forEach(r),dg=s(Ie),Xo=o(Ie,"TD",{align:!0});var Sm=l(Xo);mg=h(Sm,"How to run the models of the Transformers library task by task"),Sm.forEach(r),bg=s(Ie),Bo=o(Ie,"TD",{align:!0});var xm=l(Bo);kt=o(xm,"A",{href:!0,rel:!0});var Hm=l(kt);Fo=o(Hm,"IMG",{src:!0,alt:!0}),Hm.forEach(r),xm.forEach(r),pg=s(Ie),Yo=o(Ie,"TD",{align:!0});var Mm=l(Yo);Tt=o(Mm,"A",{href:!0,rel:!0});var Im=l(Tt);Qo=o(Im,"IMG",{src:!0,alt:!0}),Im.forEach(r),Mm.forEach(r),Ie.forEach(r),_g=s(v),T=o(v,"TR",{});var Oe=l(T);Vo=o(Oe,"TD",{align:!0});var Om=l(Vo);yt=o(Om,"A",{href:!0,rel:!0});var Gm=l(yt);vg=h(Gm,"Preprocessing data"),Gm.forEach(r),Om.forEach(r),wg=s(Oe),Ko=o(Oe,"TD",{align:!0});var $m=l(Ko);Eg=h($m,"How to use a tokenizer to preprocess your data"),$m.forEach(r),kg=s(Oe),Jo=o(Oe,"TD",{align:!0});var Rm=l(Jo);At=o(Rm,"A",{href:!0,rel:!0});var Nm=l(At);jo=o(Nm,"IMG",{src:!0,alt:!0}),Nm.forEach(r),Rm.forEach(r),Tg=s(Oe),Zo=o(Oe,"TD",{align:!0});var Cm=l(Zo);Dt=o(Cm,"A",{href:!0,rel:!0});var zm=l(Dt);er=o(zm,"IMG",{src:!0,alt:!0}),zm.forEach(r),Cm.forEach(r),Oe.forEach(r),yg=s(v),y=o(v,"TR",{});var Ge=l(y);tr=o(Ge,"TD",{align:!0});var Wm=l(tr);St=o(Wm,"A",{href:!0,rel:!0});var Pm=l(St);Ag=h(Pm,"Fine-tuning a pretrained model"),Pm.forEach(r),Wm.forEach(r),Dg=s(Ge),ar=o(Ge,"TD",{align:!0});var qm=l(ar);Sg=h(qm,"How to use the Trainer to fine-tune a pretrained model"),qm.forEach(r),xg=s(Ge),or=o(Ge,"TD",{align:!0});var Lm=l(or);xt=o(Lm,"A",{href:!0,rel:!0});var Um=l(xt);rr=o(Um,"IMG",{src:!0,alt:!0}),Um.forEach(r),Lm.forEach(r),Hg=s(Ge),lr=o(Ge,"TD",{align:!0});var Xm=l(lr);Ht=o(Xm,"A",{href:!0,rel:!0});var Bm=l(Ht);nr=o(Bm,"IMG",{src:!0,alt:!0}),Bm.forEach(r),Xm.forEach(r),Ge.forEach(r),Mg=s(v),A=o(v,"TR",{});var $e=l(A);sr=o($e,"TD",{align:!0});var Fm=l(sr);Mt=o(Fm,"A",{href:!0,rel:!0});var Ym=l(Mt);Ig=h(Ym,"Summary of the tokenizers"),Ym.forEach(r),Fm.forEach(r),Og=s($e),ir=o($e,"TD",{align:!0});var Qm=l(ir);Gg=h(Qm,"The differences between the tokenizers algorithm"),Qm.forEach(r),$g=s($e),gr=o($e,"TD",{align:!0});var Vm=l(gr);It=o(Vm,"A",{href:!0,rel:!0});var Km=l(It);hr=o(Km,"IMG",{src:!0,alt:!0}),Km.forEach(r),Vm.forEach(r),Rg=s($e),cr=o($e,"TD",{align:!0});var Jm=l(cr);Ot=o(Jm,"A",{href:!0,rel:!0});var jm=l(Ot);ur=o(jm,"IMG",{src:!0,alt:!0}),jm.forEach(r),Jm.forEach(r),$e.forEach(r),Ng=s(v),D=o(v,"TR",{});var Re=l(D);fr=o(Re,"TD",{align:!0});var Zm=l(fr);Gt=o(Zm,"A",{href:!0,rel:!0});var eb=l(Gt);Cg=h(eb,"Multilingual models"),eb.forEach(r),Zm.forEach(r),zg=s(Re),dr=o(Re,"TD",{align:!0});var tb=l(dr);Wg=h(tb,"How to use the multilingual models of the library"),tb.forEach(r),Pg=s(Re),mr=o(Re,"TD",{align:!0});var ab=l(mr);$t=o(ab,"A",{href:!0,rel:!0});var ob=l($t);br=o(ob,"IMG",{src:!0,alt:!0}),ob.forEach(r),ab.forEach(r),qg=s(Re),pr=o(Re,"TD",{align:!0});var rb=l(pr);Rt=o(rb,"A",{href:!0,rel:!0});var lb=l(Rt);_r=o(lb,"IMG",{src:!0,alt:!0}),lb.forEach(r),rb.forEach(r),Re.forEach(r),v.forEach(r),Gi.forEach(r),wi=s(i),he=o(i,"H3",{class:!0});var $i=l(he);_e=o($i,"A",{id:!0,class:!0,href:!0});var nb=l(_e);Qs=o(nb,"SPAN",{});var sb=l(Qs);Do(Nt.$$.fragment,sb),sb.forEach(r),nb.forEach(r),Lg=s($i),Vs=o($i,"SPAN",{});var ib=l(Vs);Ug=h(ib,"PyTorch Examples"),ib.forEach(r),$i.forEach(r),Ei=s(i),ve=o(i,"TABLE",{});var Ri=l(ve);Ks=o(Ri,"THEAD",{});var gb=l(Ks);S=o(gb,"TR",{});var Ne=l(S);vr=o(Ne,"TH",{align:!0});var hb=l(vr);Xg=h(hb,"Notebook"),hb.forEach(r),Bg=s(Ne),wr=o(Ne,"TH",{align:!0});var cb=l(wr);Fg=h(cb,"Description"),cb.forEach(r),Yg=s(Ne),Js=o(Ne,"TH",{align:!0}),l(Js).forEach(r),Qg=s(Ne),js=o(Ne,"TH",{align:!0}),l(js).forEach(r),Ne.forEach(r),gb.forEach(r),Vg=s(Ri),u=o(Ri,"TBODY",{});var f=l(u);x=o(f,"TR",{});var Ce=l(x);Er=o(Ce,"TD",{align:!0});var ub=l(Er);Ct=o(ub,"A",{href:!0,rel:!0});var fb=l(Ct);Kg=h(fb,"Train your tokenizer"),fb.forEach(r),ub.forEach(r),Jg=s(Ce),kr=o(Ce,"TD",{align:!0});var db=l(kr);jg=h(db,"How to train and use your very own tokenizer"),db.forEach(r),Zg=s(Ce),Tr=o(Ce,"TD",{align:!0});var mb=l(Tr);zt=o(mb,"A",{href:!0,rel:!0});var bb=l(zt);yr=o(bb,"IMG",{src:!0,alt:!0}),bb.forEach(r),mb.forEach(r),eh=s(Ce),Ar=o(Ce,"TD",{align:!0});var pb=l(Ar);Wt=o(pb,"A",{href:!0,rel:!0});var _b=l(Wt);Dr=o(_b,"IMG",{src:!0,alt:!0}),_b.forEach(r),pb.forEach(r),Ce.forEach(r),th=s(f),H=o(f,"TR",{});var ze=l(H);Sr=o(ze,"TD",{align:!0});var vb=l(Sr);Pt=o(vb,"A",{href:!0,rel:!0});var wb=l(Pt);ah=h(wb,"Train your language model"),wb.forEach(r),vb.forEach(r),oh=s(ze),xr=o(ze,"TD",{align:!0});var Eb=l(xr);rh=h(Eb,"How to easily start using transformers"),Eb.forEach(r),lh=s(ze),Hr=o(ze,"TD",{align:!0});var kb=l(Hr);qt=o(kb,"A",{href:!0,rel:!0});var Tb=l(qt);Mr=o(Tb,"IMG",{src:!0,alt:!0}),Tb.forEach(r),kb.forEach(r),nh=s(ze),Ir=o(ze,"TD",{align:!0});var yb=l(Ir);Lt=o(yb,"A",{href:!0,rel:!0});var Ab=l(Lt);Or=o(Ab,"IMG",{src:!0,alt:!0}),Ab.forEach(r),yb.forEach(r),ze.forEach(r),sh=s(f),M=o(f,"TR",{});var We=l(M);Gr=o(We,"TD",{align:!0});var Db=l(Gr);Ut=o(Db,"A",{href:!0,rel:!0});var Sb=l(Ut);ih=h(Sb,"How to fine-tune a model on text classification"),Sb.forEach(r),Db.forEach(r),gh=s(We),$r=o(We,"TD",{align:!0});var xb=l($r);hh=h(xb,"Show how to preprocess the data and fine-tune a pretrained model on any GLUE task."),xb.forEach(r),ch=s(We),Rr=o(We,"TD",{align:!0});var Hb=l(Rr);Xt=o(Hb,"A",{href:!0,rel:!0});var Mb=l(Xt);Nr=o(Mb,"IMG",{src:!0,alt:!0}),Mb.forEach(r),Hb.forEach(r),uh=s(We),Cr=o(We,"TD",{align:!0});var Ib=l(Cr);Bt=o(Ib,"A",{href:!0,rel:!0});var Ob=l(Bt);zr=o(Ob,"IMG",{src:!0,alt:!0}),Ob.forEach(r),Ib.forEach(r),We.forEach(r),fh=s(f),I=o(f,"TR",{});var Pe=l(I);Wr=o(Pe,"TD",{align:!0});var Gb=l(Wr);Ft=o(Gb,"A",{href:!0,rel:!0});var $b=l(Ft);dh=h($b,"How to fine-tune a model on language modeling"),$b.forEach(r),Gb.forEach(r),mh=s(Pe),Pr=o(Pe,"TD",{align:!0});var Rb=l(Pr);bh=h(Rb,"Show how to preprocess the data and fine-tune a pretrained model on a causal or masked LM task."),Rb.forEach(r),ph=s(Pe),qr=o(Pe,"TD",{align:!0});var Nb=l(qr);Yt=o(Nb,"A",{href:!0,rel:!0});var Cb=l(Yt);Lr=o(Cb,"IMG",{src:!0,alt:!0}),Cb.forEach(r),Nb.forEach(r),_h=s(Pe),Ur=o(Pe,"TD",{align:!0});var zb=l(Ur);Qt=o(zb,"A",{href:!0,rel:!0});var Wb=l(Qt);Xr=o(Wb,"IMG",{src:!0,alt:!0}),Wb.forEach(r),zb.forEach(r),Pe.forEach(r),vh=s(f),O=o(f,"TR",{});var qe=l(O);Br=o(qe,"TD",{align:!0});var Pb=l(Br);Vt=o(Pb,"A",{href:!0,rel:!0});var qb=l(Vt);wh=h(qb,"How to fine-tune a model on token classification"),qb.forEach(r),Pb.forEach(r),Eh=s(qe),Fr=o(qe,"TD",{align:!0});var Lb=l(Fr);kh=h(Lb,"Show how to preprocess the data and fine-tune a pretrained model on a token classification task (NER, PoS)."),Lb.forEach(r),Th=s(qe),Yr=o(qe,"TD",{align:!0});var Ub=l(Yr);Kt=o(Ub,"A",{href:!0,rel:!0});var Xb=l(Kt);Qr=o(Xb,"IMG",{src:!0,alt:!0}),Xb.forEach(r),Ub.forEach(r),yh=s(qe),Vr=o(qe,"TD",{align:!0});var Bb=l(Vr);Jt=o(Bb,"A",{href:!0,rel:!0});var Fb=l(Jt);Kr=o(Fb,"IMG",{src:!0,alt:!0}),Fb.forEach(r),Bb.forEach(r),qe.forEach(r),Ah=s(f),G=o(f,"TR",{});var Le=l(G);Jr=o(Le,"TD",{align:!0});var Yb=l(Jr);jt=o(Yb,"A",{href:!0,rel:!0});var Qb=l(jt);Dh=h(Qb,"How to fine-tune a model on question answering"),Qb.forEach(r),Yb.forEach(r),Sh=s(Le),jr=o(Le,"TD",{align:!0});var Vb=l(jr);xh=h(Vb,"Show how to preprocess the data and fine-tune a pretrained model on SQUAD."),Vb.forEach(r),Hh=s(Le),Zr=o(Le,"TD",{align:!0});var Kb=l(Zr);Zt=o(Kb,"A",{href:!0,rel:!0});var Jb=l(Zt);el=o(Jb,"IMG",{src:!0,alt:!0}),Jb.forEach(r),Kb.forEach(r),Mh=s(Le),tl=o(Le,"TD",{align:!0});var jb=l(tl);ea=o(jb,"A",{href:!0,rel:!0});var Zb=l(ea);al=o(Zb,"IMG",{src:!0,alt:!0}),Zb.forEach(r),jb.forEach(r),Le.forEach(r),Ih=s(f),$=o(f,"TR",{});var Ue=l($);ol=o(Ue,"TD",{align:!0});var ep=l(ol);ta=o(ep,"A",{href:!0,rel:!0});var tp=l(ta);Oh=h(tp,"How to fine-tune a model on multiple choice"),tp.forEach(r),ep.forEach(r),Gh=s(Ue),rl=o(Ue,"TD",{align:!0});var ap=l(rl);$h=h(ap,"Show how to preprocess the data and fine-tune a pretrained model on SWAG."),ap.forEach(r),Rh=s(Ue),ll=o(Ue,"TD",{align:!0});var op=l(ll);aa=o(op,"A",{href:!0,rel:!0});var rp=l(aa);nl=o(rp,"IMG",{src:!0,alt:!0}),rp.forEach(r),op.forEach(r),Nh=s(Ue),sl=o(Ue,"TD",{align:!0});var lp=l(sl);oa=o(lp,"A",{href:!0,rel:!0});var np=l(oa);il=o(np,"IMG",{src:!0,alt:!0}),np.forEach(r),lp.forEach(r),Ue.forEach(r),Ch=s(f),R=o(f,"TR",{});var Xe=l(R);gl=o(Xe,"TD",{align:!0});var sp=l(gl);ra=o(sp,"A",{href:!0,rel:!0});var ip=l(ra);zh=h(ip,"How to fine-tune a model on translation"),ip.forEach(r),sp.forEach(r),Wh=s(Xe),hl=o(Xe,"TD",{align:!0});var gp=l(hl);Ph=h(gp,"Show how to preprocess the data and fine-tune a pretrained model on WMT."),gp.forEach(r),qh=s(Xe),cl=o(Xe,"TD",{align:!0});var hp=l(cl);la=o(hp,"A",{href:!0,rel:!0});var cp=l(la);ul=o(cp,"IMG",{src:!0,alt:!0}),cp.forEach(r),hp.forEach(r),Lh=s(Xe),fl=o(Xe,"TD",{align:!0});var up=l(fl);na=o(up,"A",{href:!0,rel:!0});var fp=l(na);dl=o(fp,"IMG",{src:!0,alt:!0}),fp.forEach(r),up.forEach(r),Xe.forEach(r),Uh=s(f),N=o(f,"TR",{});var Be=l(N);ml=o(Be,"TD",{align:!0});var dp=l(ml);sa=o(dp,"A",{href:!0,rel:!0});var mp=l(sa);Xh=h(mp,"How to fine-tune a model on summarization"),mp.forEach(r),dp.forEach(r),Bh=s(Be),bl=o(Be,"TD",{align:!0});var bp=l(bl);Fh=h(bp,"Show how to preprocess the data and fine-tune a pretrained model on XSUM."),bp.forEach(r),Yh=s(Be),pl=o(Be,"TD",{align:!0});var pp=l(pl);ia=o(pp,"A",{href:!0,rel:!0});var _p=l(ia);_l=o(_p,"IMG",{src:!0,alt:!0}),_p.forEach(r),pp.forEach(r),Qh=s(Be),vl=o(Be,"TD",{align:!0});var vp=l(vl);ga=o(vp,"A",{href:!0,rel:!0});var wp=l(ga);wl=o(wp,"IMG",{src:!0,alt:!0}),wp.forEach(r),vp.forEach(r),Be.forEach(r),Vh=s(f),C=o(f,"TR",{});var Fe=l(C);El=o(Fe,"TD",{align:!0});var Ep=l(El);ha=o(Ep,"A",{href:!0,rel:!0});var kp=l(ha);Kh=h(kp,"How to fine-tune a speech recognition model in English"),kp.forEach(r),Ep.forEach(r),Jh=s(Fe),kl=o(Fe,"TD",{align:!0});var Tp=l(kl);jh=h(Tp,"Show how to preprocess the data and fine-tune a pretrained Speech model on TIMIT"),Tp.forEach(r),Zh=s(Fe),Tl=o(Fe,"TD",{align:!0});var yp=l(Tl);ca=o(yp,"A",{href:!0,rel:!0});var Ap=l(ca);yl=o(Ap,"IMG",{src:!0,alt:!0}),Ap.forEach(r),yp.forEach(r),ec=s(Fe),Al=o(Fe,"TD",{align:!0});var Dp=l(Al);ua=o(Dp,"A",{href:!0,rel:!0});var Sp=l(ua);Dl=o(Sp,"IMG",{src:!0,alt:!0}),Sp.forEach(r),Dp.forEach(r),Fe.forEach(r),tc=s(f),z=o(f,"TR",{});var Ye=l(z);Sl=o(Ye,"TD",{align:!0});var xp=l(Sl);fa=o(xp,"A",{href:!0,rel:!0});var Hp=l(fa);ac=h(Hp,"How to fine-tune a speech recognition model in any language"),Hp.forEach(r),xp.forEach(r),oc=s(Ye),xl=o(Ye,"TD",{align:!0});var Mp=l(xl);rc=h(Mp,"Show how to preprocess the data and fine-tune a multi-lingually pretrained speech model on Common Voice"),Mp.forEach(r),lc=s(Ye),Hl=o(Ye,"TD",{align:!0});var Ip=l(Hl);da=o(Ip,"A",{href:!0,rel:!0});var Op=l(da);Ml=o(Op,"IMG",{src:!0,alt:!0}),Op.forEach(r),Ip.forEach(r),nc=s(Ye),Il=o(Ye,"TD",{align:!0});var Gp=l(Il);ma=o(Gp,"A",{href:!0,rel:!0});var $p=l(ma);Ol=o($p,"IMG",{src:!0,alt:!0}),$p.forEach(r),Gp.forEach(r),Ye.forEach(r),sc=s(f),W=o(f,"TR",{});var Qe=l(W);Gl=o(Qe,"TD",{align:!0});var Rp=l(Gl);ba=o(Rp,"A",{href:!0,rel:!0});var Np=l(ba);ic=h(Np,"How to fine-tune a model on audio classification"),Np.forEach(r),Rp.forEach(r),gc=s(Qe),$l=o(Qe,"TD",{align:!0});var Cp=l($l);hc=h(Cp,"Show how to preprocess the data and fine-tune a pretrained Speech model on Keyword Spotting"),Cp.forEach(r),cc=s(Qe),Rl=o(Qe,"TD",{align:!0});var zp=l(Rl);pa=o(zp,"A",{href:!0,rel:!0});var Wp=l(pa);Nl=o(Wp,"IMG",{src:!0,alt:!0}),Wp.forEach(r),zp.forEach(r),uc=s(Qe),Cl=o(Qe,"TD",{align:!0});var Pp=l(Cl);_a=o(Pp,"A",{href:!0,rel:!0});var qp=l(_a);zl=o(qp,"IMG",{src:!0,alt:!0}),qp.forEach(r),Pp.forEach(r),Qe.forEach(r),fc=s(f),P=o(f,"TR",{});var Ve=l(P);Wl=o(Ve,"TD",{align:!0});var Lp=l(Wl);va=o(Lp,"A",{href:!0,rel:!0});var Up=l(va);dc=h(Up,"How to train a language model from scratch"),Up.forEach(r),Lp.forEach(r),mc=s(Ve),Pl=o(Ve,"TD",{align:!0});var Xp=l(Pl);bc=h(Xp,"Highlight all the steps to effectively train Transformer model on custom data"),Xp.forEach(r),pc=s(Ve),ql=o(Ve,"TD",{align:!0});var Bp=l(ql);wa=o(Bp,"A",{href:!0,rel:!0});var Fp=l(wa);Ll=o(Fp,"IMG",{src:!0,alt:!0}),Fp.forEach(r),Bp.forEach(r),_c=s(Ve),Ul=o(Ve,"TD",{align:!0});var Yp=l(Ul);Ea=o(Yp,"A",{href:!0,rel:!0});var Qp=l(Ea);Xl=o(Qp,"IMG",{src:!0,alt:!0}),Qp.forEach(r),Yp.forEach(r),Ve.forEach(r),vc=s(f),q=o(f,"TR",{});var Ke=l(q);Bl=o(Ke,"TD",{align:!0});var Vp=l(Bl);ka=o(Vp,"A",{href:!0,rel:!0});var Kp=l(ka);wc=h(Kp,"How to generate text"),Kp.forEach(r),Vp.forEach(r),Ec=s(Ke),Fl=o(Ke,"TD",{align:!0});var Jp=l(Fl);kc=h(Jp,"How to use different decoding methods for language generation with transformers"),Jp.forEach(r),Tc=s(Ke),Yl=o(Ke,"TD",{align:!0});var jp=l(Yl);Ta=o(jp,"A",{href:!0,rel:!0});var Zp=l(Ta);Ql=o(Zp,"IMG",{src:!0,alt:!0}),Zp.forEach(r),jp.forEach(r),yc=s(Ke),Vl=o(Ke,"TD",{align:!0});var e_=l(Vl);ya=o(e_,"A",{href:!0,rel:!0});var t_=l(ya);Kl=o(t_,"IMG",{src:!0,alt:!0}),t_.forEach(r),e_.forEach(r),Ke.forEach(r),Ac=s(f),L=o(f,"TR",{});var Je=l(L);Jl=o(Je,"TD",{align:!0});var a_=l(Jl);Aa=o(a_,"A",{href:!0,rel:!0});var o_=l(Aa);Dc=h(o_,"How to generate text (with constraints)"),o_.forEach(r),a_.forEach(r),Sc=s(Je),jl=o(Je,"TD",{align:!0});var r_=l(jl);xc=h(r_,"How to guide language generation with user-provided constraints"),r_.forEach(r),Hc=s(Je),Zl=o(Je,"TD",{align:!0});var l_=l(Zl);Da=o(l_,"A",{href:!0,rel:!0});var n_=l(Da);en=o(n_,"IMG",{src:!0,alt:!0}),n_.forEach(r),l_.forEach(r),Mc=s(Je),tn=o(Je,"TD",{align:!0});var s_=l(tn);Sa=o(s_,"A",{href:!0,rel:!0});var i_=l(Sa);an=o(i_,"IMG",{src:!0,alt:!0}),i_.forEach(r),s_.forEach(r),Je.forEach(r),Ic=s(f),U=o(f,"TR",{});var je=l(U);on=o(je,"TD",{align:!0});var g_=l(on);xa=o(g_,"A",{href:!0,rel:!0});var h_=l(xa);Oc=h(h_,"How to export model to ONNX"),h_.forEach(r),g_.forEach(r),Gc=s(je),rn=o(je,"TD",{align:!0});var c_=l(rn);$c=h(c_,"Highlight how to export and run inference workloads through ONNX"),c_.forEach(r),Rc=s(je),Zs=o(je,"TD",{align:!0}),l(Zs).forEach(r),Nc=s(je),ei=o(je,"TD",{align:!0}),l(ei).forEach(r),je.forEach(r),Cc=s(f),X=o(f,"TR",{});var Ze=l(X);ln=o(Ze,"TD",{align:!0});var u_=l(ln);Ha=o(u_,"A",{href:!0,rel:!0});var f_=l(Ha);zc=h(f_,"How to use Benchmarks"),f_.forEach(r),u_.forEach(r),Wc=s(Ze),nn=o(Ze,"TD",{align:!0});var d_=l(nn);Pc=h(d_,"How to benchmark models with transformers"),d_.forEach(r),qc=s(Ze),sn=o(Ze,"TD",{align:!0});var m_=l(sn);Ma=o(m_,"A",{href:!0,rel:!0});var b_=l(Ma);gn=o(b_,"IMG",{src:!0,alt:!0}),b_.forEach(r),m_.forEach(r),Lc=s(Ze),hn=o(Ze,"TD",{align:!0});var p_=l(hn);Ia=o(p_,"A",{href:!0,rel:!0});var __=l(Ia);cn=o(__,"IMG",{src:!0,alt:!0}),__.forEach(r),p_.forEach(r),Ze.forEach(r),Uc=s(f),B=o(f,"TR",{});var et=l(B);un=o(et,"TD",{align:!0});var v_=l(un);Oa=o(v_,"A",{href:!0,rel:!0});var w_=l(Oa);Xc=h(w_,"Reformer"),w_.forEach(r),v_.forEach(r),Bc=s(et),fn=o(et,"TD",{align:!0});var E_=l(fn);Fc=h(E_,"How Reformer pushes the limits of language modeling"),E_.forEach(r),Yc=s(et),dn=o(et,"TD",{align:!0});var k_=l(dn);Ga=o(k_,"A",{href:!0,rel:!0});var T_=l(Ga);mn=o(T_,"IMG",{src:!0,alt:!0}),T_.forEach(r),k_.forEach(r),Qc=s(et),bn=o(et,"TD",{align:!0});var y_=l(bn);$a=o(y_,"A",{href:!0,rel:!0});var A_=l($a);pn=o(A_,"IMG",{src:!0,alt:!0}),A_.forEach(r),y_.forEach(r),et.forEach(r),Vc=s(f),F=o(f,"TR",{});var tt=l(F);_n=o(tt,"TD",{align:!0});var D_=l(_n);Ra=o(D_,"A",{href:!0,rel:!0});var S_=l(Ra);Kc=h(S_,"How to fine-tune a model on image classification"),S_.forEach(r),D_.forEach(r),Jc=s(tt),vn=o(tt,"TD",{align:!0});var x_=l(vn);jc=h(x_,"Show how to preprocess the data and fine-tune any pretrained Vision model on Image Classification"),x_.forEach(r),Zc=s(tt),wn=o(tt,"TD",{align:!0});var H_=l(wn);Na=o(H_,"A",{href:!0,rel:!0});var M_=l(Na);En=o(M_,"IMG",{src:!0,alt:!0}),M_.forEach(r),H_.forEach(r),eu=s(tt),kn=o(tt,"TD",{align:!0});var I_=l(kn);Ca=o(I_,"A",{href:!0,rel:!0});var O_=l(Ca);Tn=o(O_,"IMG",{src:!0,alt:!0}),O_.forEach(r),I_.forEach(r),tt.forEach(r),f.forEach(r),Ri.forEach(r),ki=s(i),ce=o(i,"H3",{class:!0});var Ni=l(ce);we=o(Ni,"A",{id:!0,class:!0,href:!0});var G_=l(we);ti=o(G_,"SPAN",{});var $_=l(ti);Do(za.$$.fragment,$_),$_.forEach(r),G_.forEach(r),tu=s(Ni),ai=o(Ni,"SPAN",{});var R_=l(ai);au=h(R_,"TensorFlow Examples"),R_.forEach(r),Ni.forEach(r),Ti=s(i),Ee=o(i,"TABLE",{});var Ci=l(Ee);oi=o(Ci,"THEAD",{});var N_=l(oi);Y=o(N_,"TR",{});var at=l(Y);yn=o(at,"TH",{align:!0});var C_=l(yn);ou=h(C_,"Notebook"),C_.forEach(r),ru=s(at),An=o(at,"TH",{align:!0});var z_=l(An);lu=h(z_,"Description"),z_.forEach(r),nu=s(at),ri=o(at,"TH",{align:!0}),l(ri).forEach(r),su=s(at),li=o(at,"TH",{align:!0}),l(li).forEach(r),at.forEach(r),N_.forEach(r),iu=s(Ci),b=o(Ci,"TBODY",{});var p=l(b);Q=o(p,"TR",{});var ot=l(Q);Dn=o(ot,"TD",{align:!0});var W_=l(Dn);Wa=o(W_,"A",{href:!0,rel:!0});var P_=l(Wa);gu=h(P_,"Train your tokenizer"),P_.forEach(r),W_.forEach(r),hu=s(ot),Sn=o(ot,"TD",{align:!0});var q_=l(Sn);cu=h(q_,"How to train and use your very own tokenizer"),q_.forEach(r),uu=s(ot),xn=o(ot,"TD",{align:!0});var L_=l(xn);Pa=o(L_,"A",{href:!0,rel:!0});var U_=l(Pa);Hn=o(U_,"IMG",{src:!0,alt:!0}),U_.forEach(r),L_.forEach(r),fu=s(ot),Mn=o(ot,"TD",{align:!0});var X_=l(Mn);qa=o(X_,"A",{href:!0,rel:!0});var B_=l(qa);In=o(B_,"IMG",{src:!0,alt:!0}),B_.forEach(r),X_.forEach(r),ot.forEach(r),du=s(p),V=o(p,"TR",{});var rt=l(V);On=o(rt,"TD",{align:!0});var F_=l(On);La=o(F_,"A",{href:!0,rel:!0});var Y_=l(La);mu=h(Y_,"Train your language model"),Y_.forEach(r),F_.forEach(r),bu=s(rt),Gn=o(rt,"TD",{align:!0});var Q_=l(Gn);pu=h(Q_,"How to easily start using transformers"),Q_.forEach(r),_u=s(rt),$n=o(rt,"TD",{align:!0});var V_=l($n);Ua=o(V_,"A",{href:!0,rel:!0});var K_=l(Ua);Rn=o(K_,"IMG",{src:!0,alt:!0}),K_.forEach(r),V_.forEach(r),vu=s(rt),Nn=o(rt,"TD",{align:!0});var J_=l(Nn);Xa=o(J_,"A",{href:!0,rel:!0});var j_=l(Xa);Cn=o(j_,"IMG",{src:!0,alt:!0}),j_.forEach(r),J_.forEach(r),rt.forEach(r),wu=s(p),K=o(p,"TR",{});var lt=l(K);zn=o(lt,"TD",{align:!0});var Z_=l(zn);Ba=o(Z_,"A",{href:!0,rel:!0});var ev=l(Ba);Eu=h(ev,"How to fine-tune a model on text classification"),ev.forEach(r),Z_.forEach(r),ku=s(lt),Wn=o(lt,"TD",{align:!0});var tv=l(Wn);Tu=h(tv,"Show how to preprocess the data and fine-tune a pretrained model on any GLUE task."),tv.forEach(r),yu=s(lt),Pn=o(lt,"TD",{align:!0});var av=l(Pn);Fa=o(av,"A",{href:!0,rel:!0});var ov=l(Fa);qn=o(ov,"IMG",{src:!0,alt:!0}),ov.forEach(r),av.forEach(r),Au=s(lt),Ln=o(lt,"TD",{align:!0});var rv=l(Ln);Ya=o(rv,"A",{href:!0,rel:!0});var lv=l(Ya);Un=o(lv,"IMG",{src:!0,alt:!0}),lv.forEach(r),rv.forEach(r),lt.forEach(r),Du=s(p),J=o(p,"TR",{});var nt=l(J);Xn=o(nt,"TD",{align:!0});var nv=l(Xn);Qa=o(nv,"A",{href:!0,rel:!0});var sv=l(Qa);Su=h(sv,"How to fine-tune a model on language modeling"),sv.forEach(r),nv.forEach(r),xu=s(nt),Bn=o(nt,"TD",{align:!0});var iv=l(Bn);Hu=h(iv,"Show how to preprocess the data and fine-tune a pretrained model on a causal or masked LM task."),iv.forEach(r),Mu=s(nt),Fn=o(nt,"TD",{align:!0});var gv=l(Fn);Va=o(gv,"A",{href:!0,rel:!0});var hv=l(Va);Yn=o(hv,"IMG",{src:!0,alt:!0}),hv.forEach(r),gv.forEach(r),Iu=s(nt),Qn=o(nt,"TD",{align:!0});var cv=l(Qn);Ka=o(cv,"A",{href:!0,rel:!0});var uv=l(Ka);Vn=o(uv,"IMG",{src:!0,alt:!0}),uv.forEach(r),cv.forEach(r),nt.forEach(r),Ou=s(p),j=o(p,"TR",{});var st=l(j);Kn=o(st,"TD",{align:!0});var fv=l(Kn);Ja=o(fv,"A",{href:!0,rel:!0});var dv=l(Ja);Gu=h(dv,"How to fine-tune a model on token classification"),dv.forEach(r),fv.forEach(r),$u=s(st),Jn=o(st,"TD",{align:!0});var mv=l(Jn);Ru=h(mv,"Show how to preprocess the data and fine-tune a pretrained model on a token classification task (NER, PoS)."),mv.forEach(r),Nu=s(st),jn=o(st,"TD",{align:!0});var bv=l(jn);ja=o(bv,"A",{href:!0,rel:!0});var pv=l(ja);Zn=o(pv,"IMG",{src:!0,alt:!0}),pv.forEach(r),bv.forEach(r),Cu=s(st),es=o(st,"TD",{align:!0});var _v=l(es);Za=o(_v,"A",{href:!0,rel:!0});var vv=l(Za);ts=o(vv,"IMG",{src:!0,alt:!0}),vv.forEach(r),_v.forEach(r),st.forEach(r),zu=s(p),Z=o(p,"TR",{});var it=l(Z);as=o(it,"TD",{align:!0});var wv=l(as);eo=o(wv,"A",{href:!0,rel:!0});var Ev=l(eo);Wu=h(Ev,"How to fine-tune a model on question answering"),Ev.forEach(r),wv.forEach(r),Pu=s(it),os=o(it,"TD",{align:!0});var kv=l(os);qu=h(kv,"Show how to preprocess the data and fine-tune a pretrained model on SQUAD."),kv.forEach(r),Lu=s(it),rs=o(it,"TD",{align:!0});var Tv=l(rs);to=o(Tv,"A",{href:!0,rel:!0});var yv=l(to);ls=o(yv,"IMG",{src:!0,alt:!0}),yv.forEach(r),Tv.forEach(r),Uu=s(it),ns=o(it,"TD",{align:!0});var Av=l(ns);ao=o(Av,"A",{href:!0,rel:!0});var Dv=l(ao);ss=o(Dv,"IMG",{src:!0,alt:!0}),Dv.forEach(r),Av.forEach(r),it.forEach(r),Xu=s(p),ee=o(p,"TR",{});var gt=l(ee);is=o(gt,"TD",{align:!0});var Sv=l(is);oo=o(Sv,"A",{href:!0,rel:!0});var xv=l(oo);Bu=h(xv,"How to fine-tune a model on multiple choice"),xv.forEach(r),Sv.forEach(r),Fu=s(gt),gs=o(gt,"TD",{align:!0});var Hv=l(gs);Yu=h(Hv,"Show how to preprocess the data and fine-tune a pretrained model on SWAG."),Hv.forEach(r),Qu=s(gt),hs=o(gt,"TD",{align:!0});var Mv=l(hs);ro=o(Mv,"A",{href:!0,rel:!0});var Iv=l(ro);cs=o(Iv,"IMG",{src:!0,alt:!0}),Iv.forEach(r),Mv.forEach(r),Vu=s(gt),us=o(gt,"TD",{align:!0});var Ov=l(us);lo=o(Ov,"A",{href:!0,rel:!0});var Gv=l(lo);fs=o(Gv,"IMG",{src:!0,alt:!0}),Gv.forEach(r),Ov.forEach(r),gt.forEach(r),Ku=s(p),te=o(p,"TR",{});var ht=l(te);ds=o(ht,"TD",{align:!0});var $v=l(ds);no=o($v,"A",{href:!0,rel:!0});var Rv=l(no);Ju=h(Rv,"How to fine-tune a model on translation"),Rv.forEach(r),$v.forEach(r),ju=s(ht),ms=o(ht,"TD",{align:!0});var Nv=l(ms);Zu=h(Nv,"Show how to preprocess the data and fine-tune a pretrained model on WMT."),Nv.forEach(r),ef=s(ht),bs=o(ht,"TD",{align:!0});var Cv=l(bs);so=o(Cv,"A",{href:!0,rel:!0});var zv=l(so);ps=o(zv,"IMG",{src:!0,alt:!0}),zv.forEach(r),Cv.forEach(r),tf=s(ht),_s=o(ht,"TD",{align:!0});var Wv=l(_s);io=o(Wv,"A",{href:!0,rel:!0});var Pv=l(io);vs=o(Pv,"IMG",{src:!0,alt:!0}),Pv.forEach(r),Wv.forEach(r),ht.forEach(r),af=s(p),ae=o(p,"TR",{});var ct=l(ae);ws=o(ct,"TD",{align:!0});var qv=l(ws);go=o(qv,"A",{href:!0,rel:!0});var Lv=l(go);of=h(Lv,"How to fine-tune a model on summarization"),Lv.forEach(r),qv.forEach(r),rf=s(ct),Es=o(ct,"TD",{align:!0});var Uv=l(Es);lf=h(Uv,"Show how to preprocess the data and fine-tune a pretrained model on XSUM."),Uv.forEach(r),nf=s(ct),ks=o(ct,"TD",{align:!0});var Xv=l(ks);ho=o(Xv,"A",{href:!0,rel:!0});var Bv=l(ho);Ts=o(Bv,"IMG",{src:!0,alt:!0}),Bv.forEach(r),Xv.forEach(r),sf=s(ct),ys=o(ct,"TD",{align:!0});var Fv=l(ys);co=o(Fv,"A",{href:!0,rel:!0});var Yv=l(co);As=o(Yv,"IMG",{src:!0,alt:!0}),Yv.forEach(r),Fv.forEach(r),ct.forEach(r),p.forEach(r),Ci.forEach(r),yi=s(i),ue=o(i,"H3",{class:!0});var zi=l(ue);ke=o(zi,"A",{id:!0,class:!0,href:!0});var Qv=l(ke);ni=o(Qv,"SPAN",{});var Vv=l(ni);Do(uo.$$.fragment,Vv),Vv.forEach(r),Qv.forEach(r),gf=s(zi),si=o(zi,"SPAN",{});var Kv=l(si);hf=h(Kv,"Optimum notebooks"),Kv.forEach(r),zi.forEach(r),Ai=s(i),Te=o(i,"P",{});var Wi=l(Te);cf=h(Wi,"\u{1F917}  "),fo=o(Wi,"A",{href:!0,rel:!0});var Jv=l(fo);uf=h(Jv,"Optimum"),Jv.forEach(r),ff=h(Wi," is an extension of \u{1F917} Transformers, providing a set of performance optimization tools enabling maximum efficiency to train and run models on targeted hardwares."),Wi.forEach(r),Di=s(i),ye=o(i,"TABLE",{});var Pi=l(ye);ii=o(Pi,"THEAD",{});var jv=l(ii);oe=o(jv,"TR",{});var ut=l(oe);Ds=o(ut,"TH",{align:!0});var Zv=l(Ds);df=h(Zv,"Notebook"),Zv.forEach(r),mf=s(ut),Ss=o(ut,"TH",{align:!0});var e1=l(Ss);bf=h(e1,"Description"),e1.forEach(r),pf=s(ut),gi=o(ut,"TH",{align:!0}),l(gi).forEach(r),_f=s(ut),hi=o(ut,"TH",{align:!0}),l(hi).forEach(r),ut.forEach(r),jv.forEach(r),vf=s(Pi),mo=o(Pi,"TBODY",{});var qi=l(mo);re=o(qi,"TR",{});var ft=l(re);xs=o(ft,"TD",{align:!0});var t1=l(xs);bo=o(t1,"A",{href:!0,rel:!0});var a1=l(bo);wf=h(a1,"How to quantize a model with ONNX Runtime for text classification"),a1.forEach(r),t1.forEach(r),Ef=s(ft),Ae=o(ft,"TD",{align:!0});var Li=l(Ae);kf=h(Li,"Show how to apply static and dynamic quantization on a model using "),po=o(Li,"A",{href:!0,rel:!0});var o1=l(po);Tf=h(o1,"ONNX Runtime"),o1.forEach(r),yf=h(Li," for any GLUE task."),Li.forEach(r),Af=s(ft),Hs=o(ft,"TD",{align:!0});var r1=l(Hs);_o=o(r1,"A",{href:!0,rel:!0});var l1=l(_o);Ms=o(l1,"IMG",{src:!0,alt:!0}),l1.forEach(r),r1.forEach(r),Df=s(ft),Is=o(ft,"TD",{align:!0});var n1=l(Is);vo=o(n1,"A",{href:!0,rel:!0});var s1=l(vo);Os=o(s1,"IMG",{src:!0,alt:!0}),s1.forEach(r),n1.forEach(r),ft.forEach(r),Sf=s(qi),le=o(qi,"TR",{});var dt=l(le);Gs=o(dt,"TD",{align:!0});var i1=l(Gs);wo=o(i1,"A",{href:!0,rel:!0});var g1=l(wo);xf=h(g1,"How to quantize a model with Intel Neural Compressor for text classification"),g1.forEach(r),i1.forEach(r),Hf=s(dt),De=o(dt,"TD",{align:!0});var Ui=l(De);Mf=h(Ui,"Show how to apply static, dynamic and aware training quantization on a model using "),Eo=o(Ui,"A",{href:!0,rel:!0});var h1=l(Eo);If=h(h1,"Intel Neural Compressor (INC)"),h1.forEach(r),Of=h(Ui," for any GLUE task."),Ui.forEach(r),Gf=s(dt),$s=o(dt,"TD",{align:!0});var c1=l($s);ko=o(c1,"A",{href:!0,rel:!0});var u1=l(ko);Rs=o(u1,"IMG",{src:!0,alt:!0}),u1.forEach(r),c1.forEach(r),$f=s(dt),Ns=o(dt,"TD",{align:!0});var f1=l(Ns);To=o(f1,"A",{href:!0,rel:!0});var d1=l(To);Cs=o(d1,"IMG",{src:!0,alt:!0}),d1.forEach(r),f1.forEach(r),dt.forEach(r),qi.forEach(r),Pi.forEach(r),Si=s(i),fe=o(i,"H2",{class:!0});var Xi=l(fe);Se=o(Xi,"A",{id:!0,class:!0,href:!0});var m1=l(Se);ci=o(m1,"SPAN",{});var b1=l(ci);Do(yo.$$.fragment,b1),b1.forEach(r),m1.forEach(r),Rf=s(Xi),ui=o(Xi,"SPAN",{});var p1=l(ui);Nf=h(p1,"Community notebooks:"),p1.forEach(r),Xi.forEach(r),xi=s(i),xe=o(i,"P",{});var Bi=l(xe);Cf=h(Bi,"More notebooks developed by the community are available "),zs=o(Bi,"A",{href:!0});var _1=l(zs);zf=h(_1,"here"),_1.forEach(r),Wf=h(Bi,"."),Bi.forEach(r),this.h()},h(){t(ne,"name","hf:doc:metadata"),t(ne,"content",JSON.stringify(D1)),t(de,"id","transformers-notebooks"),t(de,"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"),t(de,"href","#transformers-notebooks"),t(se,"class","relative group"),t(me,"id","hugging-faces-notebooks"),t(me,"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"),t(me,"href","#hugging-faces-notebooks"),t(ie,"class","relative group"),t(be,"id","documentation-notebooks"),t(be,"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"),t(be,"href","#documentation-notebooks"),t(ge,"class","relative group"),t(Ro,"align","left"),t(No,"align","left"),t(Fs,"align","left"),t(Ys,"align","right"),t(_t,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb"),t(_t,"rel","nofollow"),t(Co,"align","left"),t(zo,"align","left"),c(Po.src,qf="https://colab.research.google.com/assets/colab-badge.svg")||t(Po,"src",qf),t(Po,"alt","Open in Colab"),t(vt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/quicktour.ipynb"),t(vt,"rel","nofollow"),t(Wo,"align","left"),c(Lo.src,Lf="https://studiolab.sagemaker.aws/studiolab.svg")||t(Lo,"src",Lf),t(Lo,"alt","Open in AWS Studio"),t(wt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/en/transformers_doc/quicktour.ipynb"),t(wt,"rel","nofollow"),t(qo,"align","right"),t(Et,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb"),t(Et,"rel","nofollow"),t(Uo,"align","left"),t(Xo,"align","left"),c(Fo.src,Uf="https://colab.research.google.com/assets/colab-badge.svg")||t(Fo,"src",Uf),t(Fo,"alt","Open in Colab"),t(kt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb"),t(kt,"rel","nofollow"),t(Bo,"align","left"),c(Qo.src,Xf="https://studiolab.sagemaker.aws/studiolab.svg")||t(Qo,"src",Xf),t(Qo,"alt","Open in AWS Studio"),t(Tt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/task_summary.ipynb"),t(Tt,"rel","nofollow"),t(Yo,"align","right"),t(yt,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb"),t(yt,"rel","nofollow"),t(Vo,"align","left"),t(Ko,"align","left"),c(jo.src,Bf="https://colab.research.google.com/assets/colab-badge.svg")||t(jo,"src",Bf),t(jo,"alt","Open in Colab"),t(At,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb"),t(At,"rel","nofollow"),t(Jo,"align","left"),c(er.src,Ff="https://studiolab.sagemaker.aws/studiolab.svg")||t(er,"src",Ff),t(er,"alt","Open in AWS Studio"),t(Dt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/preprocessing.ipynb"),t(Dt,"rel","nofollow"),t(Zo,"align","right"),t(St,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb"),t(St,"rel","nofollow"),t(tr,"align","left"),t(ar,"align","left"),c(rr.src,Yf="https://colab.research.google.com/assets/colab-badge.svg")||t(rr,"src",Yf),t(rr,"alt","Open in Colab"),t(xt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb"),t(xt,"rel","nofollow"),t(or,"align","left"),c(nr.src,Qf="https://studiolab.sagemaker.aws/studiolab.svg")||t(nr,"src",Qf),t(nr,"alt","Open in AWS Studio"),t(Ht,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/training.ipynb"),t(Ht,"rel","nofollow"),t(lr,"align","right"),t(Mt,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb"),t(Mt,"rel","nofollow"),t(sr,"align","left"),t(ir,"align","left"),c(hr.src,Vf="https://colab.research.google.com/assets/colab-badge.svg")||t(hr,"src",Vf),t(hr,"alt","Open in Colab"),t(It,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb"),t(It,"rel","nofollow"),t(gr,"align","left"),c(ur.src,Kf="https://studiolab.sagemaker.aws/studiolab.svg")||t(ur,"src",Kf),t(ur,"alt","Open in AWS Studio"),t(Ot,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/tokenizer_summary.ipynb"),t(Ot,"rel","nofollow"),t(cr,"align","right"),t(Gt,"href","https://github.com/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb"),t(Gt,"rel","nofollow"),t(fr,"align","left"),t(dr,"align","left"),c(br.src,Jf="https://colab.research.google.com/assets/colab-badge.svg")||t(br,"src",Jf),t(br,"alt","Open in Colab"),t($t,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb"),t($t,"rel","nofollow"),t(mr,"align","left"),c(_r.src,jf="https://studiolab.sagemaker.aws/studiolab.svg")||t(_r,"src",jf),t(_r,"alt","Open in AWS Studio"),t(Rt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/transformers_doc/en/multilingual.ipynb"),t(Rt,"rel","nofollow"),t(pr,"align","right"),t(_e,"id","pytorch-examples"),t(_e,"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"),t(_e,"href","#pytorch-examples"),t(he,"class","relative group"),t(vr,"align","left"),t(wr,"align","left"),t(Js,"align","left"),t(js,"align","right"),t(Ct,"href","https://github.com/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(Ct,"rel","nofollow"),t(Er,"align","left"),t(kr,"align","left"),c(yr.src,Zf="https://colab.research.google.com/assets/colab-badge.svg")||t(yr,"src",Zf),t(yr,"alt","Open in Colab"),t(zt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(zt,"rel","nofollow"),t(Tr,"align","left"),c(Dr.src,ed="https://studiolab.sagemaker.aws/studiolab.svg")||t(Dr,"src",ed),t(Dr,"alt","Open in AWS Studio"),t(Wt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(Wt,"rel","nofollow"),t(Ar,"align","right"),t(Pt,"href","https://github.com/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb"),t(Pt,"rel","nofollow"),t(Sr,"align","left"),t(xr,"align","left"),c(Mr.src,td="https://colab.research.google.com/assets/colab-badge.svg")||t(Mr,"src",td),t(Mr,"alt","Open in Colab"),t(qt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb"),t(qt,"rel","nofollow"),t(Hr,"align","left"),c(Or.src,ad="https://studiolab.sagemaker.aws/studiolab.svg")||t(Or,"src",ad),t(Or,"alt","Open in AWS Studio"),t(Lt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch.ipynb"),t(Lt,"rel","nofollow"),t(Ir,"align","right"),t(Ut,"href","https://github.com/huggingface/notebooks/blob/main/examples/text_classification.ipynb"),t(Ut,"rel","nofollow"),t(Gr,"align","left"),t($r,"align","left"),c(Nr.src,od="https://colab.research.google.com/assets/colab-badge.svg")||t(Nr,"src",od),t(Nr,"alt","Open in Colab"),t(Xt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb"),t(Xt,"rel","nofollow"),t(Rr,"align","left"),c(zr.src,rd="https://studiolab.sagemaker.aws/studiolab.svg")||t(zr,"src",rd),t(zr,"alt","Open in AWS Studio"),t(Bt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification.ipynb"),t(Bt,"rel","nofollow"),t(Cr,"align","right"),t(Ft,"href","https://github.com/huggingface/notebooks/blob/main/examples/language_modeling.ipynb"),t(Ft,"rel","nofollow"),t(Wr,"align","left"),t(Pr,"align","left"),c(Lr.src,ld="https://colab.research.google.com/assets/colab-badge.svg")||t(Lr,"src",ld),t(Lr,"alt","Open in Colab"),t(Yt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb"),t(Yt,"rel","nofollow"),t(qr,"align","left"),c(Xr.src,nd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Xr,"src",nd),t(Xr,"alt","Open in AWS Studio"),t(Qt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling.ipynb"),t(Qt,"rel","nofollow"),t(Ur,"align","right"),t(Vt,"href","https://github.com/huggingface/notebooks/blob/main/examples/token_classification.ipynb"),t(Vt,"rel","nofollow"),t(Br,"align","left"),t(Fr,"align","left"),c(Qr.src,sd="https://colab.research.google.com/assets/colab-badge.svg")||t(Qr,"src",sd),t(Qr,"alt","Open in Colab"),t(Kt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb"),t(Kt,"rel","nofollow"),t(Yr,"align","left"),c(Kr.src,id="https://studiolab.sagemaker.aws/studiolab.svg")||t(Kr,"src",id),t(Kr,"alt","Open in AWS Studio"),t(Jt,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/token_classification.ipynb"),t(Jt,"rel","nofollow"),t(Vr,"align","right"),t(jt,"href","https://github.com/huggingface/notebooks/blob/main/examples/question_answering.ipynb"),t(jt,"rel","nofollow"),t(Jr,"align","left"),t(jr,"align","left"),c(el.src,gd="https://colab.research.google.com/assets/colab-badge.svg")||t(el,"src",gd),t(el,"alt","Open in Colab"),t(Zt,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb"),t(Zt,"rel","nofollow"),t(Zr,"align","left"),c(al.src,hd="https://studiolab.sagemaker.aws/studiolab.svg")||t(al,"src",hd),t(al,"alt","Open in AWS Studio"),t(ea,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/question_answering.ipynb"),t(ea,"rel","nofollow"),t(tl,"align","right"),t(ta,"href","https://github.com/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb"),t(ta,"rel","nofollow"),t(ol,"align","left"),t(rl,"align","left"),c(nl.src,cd="https://colab.research.google.com/assets/colab-badge.svg")||t(nl,"src",cd),t(nl,"alt","Open in Colab"),t(aa,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb"),t(aa,"rel","nofollow"),t(ll,"align","left"),c(il.src,ud="https://studiolab.sagemaker.aws/studiolab.svg")||t(il,"src",ud),t(il,"alt","Open in AWS Studio"),t(oa,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multiple_choice.ipynb"),t(oa,"rel","nofollow"),t(sl,"align","right"),t(ra,"href","https://github.com/huggingface/notebooks/blob/main/examples/translation.ipynb"),t(ra,"rel","nofollow"),t(gl,"align","left"),t(hl,"align","left"),c(ul.src,fd="https://colab.research.google.com/assets/colab-badge.svg")||t(ul,"src",fd),t(ul,"alt","Open in Colab"),t(la,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation.ipynb"),t(la,"rel","nofollow"),t(cl,"align","left"),c(dl.src,dd="https://studiolab.sagemaker.aws/studiolab.svg")||t(dl,"src",dd),t(dl,"alt","Open in AWS Studio"),t(na,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/translation.ipynb"),t(na,"rel","nofollow"),t(fl,"align","right"),t(sa,"href","https://github.com/huggingface/notebooks/blob/main/examples/summarization.ipynb"),t(sa,"rel","nofollow"),t(ml,"align","left"),t(bl,"align","left"),c(_l.src,md="https://colab.research.google.com/assets/colab-badge.svg")||t(_l,"src",md),t(_l,"alt","Open in Colab"),t(ia,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization.ipynb"),t(ia,"rel","nofollow"),t(pl,"align","left"),c(wl.src,bd="https://studiolab.sagemaker.aws/studiolab.svg")||t(wl,"src",bd),t(wl,"alt","Open in AWS Studio"),t(ga,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization.ipynb"),t(ga,"rel","nofollow"),t(vl,"align","right"),t(ha,"href","https://github.com/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb"),t(ha,"rel","nofollow"),t(El,"align","left"),t(kl,"align","left"),c(yl.src,pd="https://colab.research.google.com/assets/colab-badge.svg")||t(yl,"src",pd),t(yl,"alt","Open in Colab"),t(ca,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb"),t(ca,"rel","nofollow"),t(Tl,"align","left"),c(Dl.src,_d="https://studiolab.sagemaker.aws/studiolab.svg")||t(Dl,"src",_d),t(Dl,"alt","Open in AWS Studio"),t(ua,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/speech_recognition.ipynb"),t(ua,"rel","nofollow"),t(Al,"align","right"),t(fa,"href","https://github.com/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb"),t(fa,"rel","nofollow"),t(Sl,"align","left"),t(xl,"align","left"),c(Ml.src,vd="https://colab.research.google.com/assets/colab-badge.svg")||t(Ml,"src",vd),t(Ml,"alt","Open in Colab"),t(da,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb"),t(da,"rel","nofollow"),t(Hl,"align","left"),c(Ol.src,wd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Ol,"src",wd),t(Ol,"alt","Open in AWS Studio"),t(ma,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multi_lingual_speech_recognition.ipynb"),t(ma,"rel","nofollow"),t(Il,"align","right"),t(ba,"href","https://github.com/huggingface/notebooks/blob/main/examples/audio_classification.ipynb"),t(ba,"rel","nofollow"),t(Gl,"align","left"),t($l,"align","left"),c(Nl.src,Ed="https://colab.research.google.com/assets/colab-badge.svg")||t(Nl,"src",Ed),t(Nl,"alt","Open in Colab"),t(pa,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb"),t(pa,"rel","nofollow"),t(Rl,"align","left"),c(zl.src,kd="https://studiolab.sagemaker.aws/studiolab.svg")||t(zl,"src",kd),t(zl,"alt","Open in AWS Studio"),t(_a,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/audio_classification.ipynb"),t(_a,"rel","nofollow"),t(Cl,"align","right"),t(va,"href","https://github.com/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb"),t(va,"rel","nofollow"),t(Wl,"align","left"),t(Pl,"align","left"),c(Ll.src,Td="https://colab.research.google.com/assets/colab-badge.svg")||t(Ll,"src",Td),t(Ll,"alt","Open in Colab"),t(wa,"href","https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb"),t(wa,"rel","nofollow"),t(ql,"align","left"),c(Xl.src,yd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Xl,"src",yd),t(Xl,"alt","Open in AWS Studio"),t(Ea,"href","https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/01_how_to_train.ipynb"),t(Ea,"rel","nofollow"),t(Ul,"align","right"),t(ka,"href","https://github.com/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb"),t(ka,"rel","nofollow"),t(Bl,"align","left"),t(Fl,"align","left"),c(Ql.src,Ad="https://colab.research.google.com/assets/colab-badge.svg")||t(Ql,"src",Ad),t(Ql,"alt","Open in Colab"),t(Ta,"href","https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb"),t(Ta,"rel","nofollow"),t(Yl,"align","left"),c(Kl.src,Dd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Kl,"src",Dd),t(Kl,"alt","Open in AWS Studio"),t(ya,"href","https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/02_how_to_generate.ipynb"),t(ya,"rel","nofollow"),t(Vl,"align","right"),t(Aa,"href","https://github.com/huggingface/blog/blob/main/notebooks/53_constrained_beam_search.ipynb"),t(Aa,"rel","nofollow"),t(Jl,"align","left"),t(jl,"align","left"),c(en.src,Sd="https://colab.research.google.com/assets/colab-badge.svg")||t(en,"src",Sd),t(en,"alt","Open in Colab"),t(Da,"href","https://colab.research.google.com/github/huggingface/blog/blob/main/notebooks/53_constrained_beam_search.ipynb"),t(Da,"rel","nofollow"),t(Zl,"align","left"),c(an.src,xd="https://studiolab.sagemaker.aws/studiolab.svg")||t(an,"src",xd),t(an,"alt","Open in AWS Studio"),t(Sa,"href","https://studiolab.sagemaker.aws/import/github/huggingface/blog/blob/main/notebooks/53_constrained_beam_search.ipynb"),t(Sa,"rel","nofollow"),t(tn,"align","right"),t(xa,"href","https://github.com/huggingface/notebooks/blob/main/examples/onnx-export.ipynb"),t(xa,"rel","nofollow"),t(on,"align","left"),t(rn,"align","left"),t(Zs,"align","left"),t(ei,"align","right"),t(Ha,"href","https://github.com/huggingface/notebooks/blob/main/examples/benchmark.ipynb"),t(Ha,"rel","nofollow"),t(ln,"align","left"),t(nn,"align","left"),c(gn.src,Hd="https://colab.research.google.com/assets/colab-badge.svg")||t(gn,"src",Hd),t(gn,"alt","Open in Colab"),t(Ma,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/benchmark.ipynb"),t(Ma,"rel","nofollow"),t(sn,"align","left"),c(cn.src,Md="https://studiolab.sagemaker.aws/studiolab.svg")||t(cn,"src",Md),t(cn,"alt","Open in AWS Studio"),t(Ia,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/benchmark.ipynb"),t(Ia,"rel","nofollow"),t(hn,"align","right"),t(Oa,"href","https://github.com/huggingface/blog/blob/main/notebooks/03_reformer.ipynb"),t(Oa,"rel","nofollow"),t(un,"align","left"),t(fn,"align","left"),c(mn.src,Id="https://colab.research.google.com/assets/colab-badge.svg")||t(mn,"src",Id),t(mn,"alt","Open in Colab"),t(Ga,"href","https://colab.research.google.com/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb"),t(Ga,"rel","nofollow"),t(dn,"align","left"),c(pn.src,Od="https://studiolab.sagemaker.aws/studiolab.svg")||t(pn,"src",Od),t(pn,"alt","Open in AWS Studio"),t($a,"href","https://studiolab.sagemaker.aws/import/github/patrickvonplaten/blog/blob/main/notebooks/03_reformer.ipynb"),t($a,"rel","nofollow"),t(bn,"align","right"),t(Ra,"href","https://github.com/huggingface/notebooks/blob/main/examples/image_classification.ipynb"),t(Ra,"rel","nofollow"),t(_n,"align","left"),t(vn,"align","left"),c(En.src,Gd="https://colab.research.google.com/assets/colab-badge.svg")||t(En,"src",Gd),t(En,"alt","Open in Colab"),t(Na,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb"),t(Na,"rel","nofollow"),t(wn,"align","left"),c(Tn.src,$d="https://studiolab.sagemaker.aws/studiolab.svg")||t(Tn,"src",$d),t(Tn,"alt","Open in AWS Studio"),t(Ca,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/image_classification.ipynb"),t(Ca,"rel","nofollow"),t(kn,"align","right"),t(we,"id","tensorflow-examples"),t(we,"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"),t(we,"href","#tensorflow-examples"),t(ce,"class","relative group"),t(yn,"align","left"),t(An,"align","left"),t(ri,"align","left"),t(li,"align","right"),t(Wa,"href","https://github.com/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(Wa,"rel","nofollow"),t(Dn,"align","left"),t(Sn,"align","left"),c(Hn.src,Rd="https://colab.research.google.com/assets/colab-badge.svg")||t(Hn,"src",Rd),t(Hn,"alt","Open in Colab"),t(Pa,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(Pa,"rel","nofollow"),t(xn,"align","left"),c(In.src,Nd="https://studiolab.sagemaker.aws/studiolab.svg")||t(In,"src",Nd),t(In,"alt","Open in AWS Studio"),t(qa,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/tokenizer_training.ipynb"),t(qa,"rel","nofollow"),t(Mn,"align","right"),t(La,"href","https://github.com/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch-tf.ipynb"),t(La,"rel","nofollow"),t(On,"align","left"),t(Gn,"align","left"),c(Rn.src,Cd="https://colab.research.google.com/assets/colab-badge.svg")||t(Rn,"src",Cd),t(Rn,"alt","Open in Colab"),t(Ua,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch-tf.ipynb"),t(Ua,"rel","nofollow"),t($n,"align","left"),c(Cn.src,zd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Cn,"src",zd),t(Cn,"alt","Open in AWS Studio"),t(Xa,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling_from_scratch-tf.ipynb"),t(Xa,"rel","nofollow"),t(Nn,"align","right"),t(Ba,"href","https://github.com/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb"),t(Ba,"rel","nofollow"),t(zn,"align","left"),t(Wn,"align","left"),c(qn.src,Wd="https://colab.research.google.com/assets/colab-badge.svg")||t(qn,"src",Wd),t(qn,"alt","Open in Colab"),t(Fa,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb"),t(Fa,"rel","nofollow"),t(Pn,"align","left"),c(Un.src,Pd="https://studiolab.sagemaker.aws/studiolab.svg")||t(Un,"src",Pd),t(Un,"alt","Open in AWS Studio"),t(Ya,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification-tf.ipynb"),t(Ya,"rel","nofollow"),t(Ln,"align","right"),t(Qa,"href","https://github.com/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb"),t(Qa,"rel","nofollow"),t(Xn,"align","left"),t(Bn,"align","left"),c(Yn.src,qd="https://colab.research.google.com/assets/colab-badge.svg")||t(Yn,"src",qd),t(Yn,"alt","Open in Colab"),t(Va,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb"),t(Va,"rel","nofollow"),t(Fn,"align","left"),c(Vn.src,Ld="https://studiolab.sagemaker.aws/studiolab.svg")||t(Vn,"src",Ld),t(Vn,"alt","Open in AWS Studio"),t(Ka,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/language_modeling-tf.ipynb"),t(Ka,"rel","nofollow"),t(Qn,"align","right"),t(Ja,"href","https://github.com/huggingface/notebooks/blob/main/examples/token_classification-tf.ipynb"),t(Ja,"rel","nofollow"),t(Kn,"align","left"),t(Jn,"align","left"),c(Zn.src,Ud="https://colab.research.google.com/assets/colab-badge.svg")||t(Zn,"src",Ud),t(Zn,"alt","Open in Colab"),t(ja,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/token_classification-tf.ipynb"),t(ja,"rel","nofollow"),t(jn,"align","left"),c(ts.src,Xd="https://studiolab.sagemaker.aws/studiolab.svg")||t(ts,"src",Xd),t(ts,"alt","Open in AWS Studio"),t(Za,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/token_classification-tf.ipynb"),t(Za,"rel","nofollow"),t(es,"align","right"),t(eo,"href","https://github.com/huggingface/notebooks/blob/main/examples/question_answering-tf.ipynb"),t(eo,"rel","nofollow"),t(as,"align","left"),t(os,"align","left"),c(ls.src,Bd="https://colab.research.google.com/assets/colab-badge.svg")||t(ls,"src",Bd),t(ls,"alt","Open in Colab"),t(to,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/question_answering-tf.ipynb"),t(to,"rel","nofollow"),t(rs,"align","left"),c(ss.src,Fd="https://studiolab.sagemaker.aws/studiolab.svg")||t(ss,"src",Fd),t(ss,"alt","Open in AWS Studio"),t(ao,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/question_answering-tf.ipynb"),t(ao,"rel","nofollow"),t(ns,"align","right"),t(oo,"href","https://github.com/huggingface/notebooks/blob/main/examples/multiple_choice-tf.ipynb"),t(oo,"rel","nofollow"),t(is,"align","left"),t(gs,"align","left"),c(cs.src,Yd="https://colab.research.google.com/assets/colab-badge.svg")||t(cs,"src",Yd),t(cs,"alt","Open in Colab"),t(ro,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/multiple_choice-tf.ipynb"),t(ro,"rel","nofollow"),t(hs,"align","left"),c(fs.src,Qd="https://studiolab.sagemaker.aws/studiolab.svg")||t(fs,"src",Qd),t(fs,"alt","Open in AWS Studio"),t(lo,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/multiple_choice-tf.ipynb"),t(lo,"rel","nofollow"),t(us,"align","right"),t(no,"href","https://github.com/huggingface/notebooks/blob/main/examples/translation-tf.ipynb"),t(no,"rel","nofollow"),t(ds,"align","left"),t(ms,"align","left"),c(ps.src,Vd="https://colab.research.google.com/assets/colab-badge.svg")||t(ps,"src",Vd),t(ps,"alt","Open in Colab"),t(so,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/translation-tf.ipynb"),t(so,"rel","nofollow"),t(bs,"align","left"),c(vs.src,Kd="https://studiolab.sagemaker.aws/studiolab.svg")||t(vs,"src",Kd),t(vs,"alt","Open in AWS Studio"),t(io,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/translation-tf.ipynb"),t(io,"rel","nofollow"),t(_s,"align","right"),t(go,"href","https://github.com/huggingface/notebooks/blob/main/examples/summarization-tf.ipynb"),t(go,"rel","nofollow"),t(ws,"align","left"),t(Es,"align","left"),c(Ts.src,Jd="https://colab.research.google.com/assets/colab-badge.svg")||t(Ts,"src",Jd),t(Ts,"alt","Open in Colab"),t(ho,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/summarization-tf.ipynb"),t(ho,"rel","nofollow"),t(ks,"align","left"),c(As.src,jd="https://studiolab.sagemaker.aws/studiolab.svg")||t(As,"src",jd),t(As,"alt","Open in AWS Studio"),t(co,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/summarization-tf.ipynb"),t(co,"rel","nofollow"),t(ys,"align","right"),t(ke,"id","optimum-notebooks"),t(ke,"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"),t(ke,"href","#optimum-notebooks"),t(ue,"class","relative group"),t(fo,"href","https://github.com/huggingface/optimum"),t(fo,"rel","nofollow"),t(Ds,"align","left"),t(Ss,"align","left"),t(gi,"align","left"),t(hi,"align","right"),t(bo,"href","https://github.com/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb"),t(bo,"rel","nofollow"),t(xs,"align","left"),t(po,"href","https://github.com/microsoft/onnxruntime"),t(po,"rel","nofollow"),t(Ae,"align","left"),c(Ms.src,Zd="https://colab.research.google.com/assets/colab-badge.svg")||t(Ms,"src",Zd),t(Ms,"alt","Open in Colab"),t(_o,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb"),t(_o,"rel","nofollow"),t(Hs,"align","left"),c(Os.src,em="https://studiolab.sagemaker.aws/studiolab.svg")||t(Os,"src",em),t(Os,"alt","Open in AWS Studio"),t(vo,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_ort.ipynb"),t(vo,"rel","nofollow"),t(Is,"align","right"),t(wo,"href","https://github.com/huggingface/notebooks/blob/main/examples/text_classification_quantization_inc.ipynb"),t(wo,"rel","nofollow"),t(Gs,"align","left"),t(Eo,"href","https://github.com/intel/neural-compressor"),t(Eo,"rel","nofollow"),t(De,"align","left"),c(Rs.src,tm="https://colab.research.google.com/assets/colab-badge.svg")||t(Rs,"src",tm),t(Rs,"alt","Open in Colab"),t(ko,"href","https://colab.research.google.com/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_inc.ipynb"),t(ko,"rel","nofollow"),t($s,"align","left"),c(Cs.src,am="https://studiolab.sagemaker.aws/studiolab.svg")||t(Cs,"src",am),t(Cs,"alt","Open in AWS Studio"),t(To,"href","https://studiolab.sagemaker.aws/import/github/huggingface/notebooks/blob/main/examples/text_classification_quantization_inc.ipynb"),t(To,"rel","nofollow"),t(Ns,"align","right"),t(Se,"id","community-notebooks"),t(Se,"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"),t(Se,"href","#community-notebooks"),t(fe,"class","relative group"),t(zs,"href","community#community-notebooks")},m(i,d){e(document.head,ne),m(i,fi,d),m(i,se,d),e(se,de),e(de,Ws),So(mt,Ws,null),e(se,Fi),e(se,Ps),e(Ps,Yi),m(i,di,d),m(i,Oo,d),e(Oo,Qi),m(i,mi,d),m(i,Go,d),e(Go,Vi),m(i,bi,d),m(i,ie,d),e(ie,me),e(me,qs),So(bt,qs,null),e(ie,Ki),e(ie,Ls),e(Ls,Ji),m(i,pi,d),m(i,ge,d),e(ge,be),e(be,Us),So(pt,Us,null),e(ge,ji),e(ge,Xs),e(Xs,Zi),m(i,_i,d),m(i,$o,d),e($o,eg),m(i,vi,d),m(i,pe,d),e(pe,Bs),e(Bs,w),e(w,Ro),e(Ro,tg),e(w,ag),e(w,No),e(No,og),e(w,rg),e(w,Fs),e(w,lg),e(w,Ys),e(pe,ng),e(pe,_),e(_,E),e(E,Co),e(Co,_t),e(_t,sg),e(E,ig),e(E,zo),e(zo,gg),e(E,hg),e(E,Wo),e(Wo,vt),e(vt,Po),e(E,cg),e(E,qo),e(qo,wt),e(wt,Lo),e(_,ug),e(_,k),e(k,Uo),e(Uo,Et),e(Et,fg),e(k,dg),e(k,Xo),e(Xo,mg),e(k,bg),e(k,Bo),e(Bo,kt),e(kt,Fo),e(k,pg),e(k,Yo),e(Yo,Tt),e(Tt,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s),e(ee,Vu),e(ee,us),e(us,lo),e(lo,fs),e(b,Ku),e(b,te),e(te,ds),e(ds,no),e(no,Ju),e(te,ju),e(te,ms),e(ms,Zu),e(te,ef),e(te,bs),e(bs,so),e(so,ps),e(te,tf),e(te,_s),e(_s,io),e(io,vs),e(b,af),e(b,ae),e(ae,ws),e(ws,go),e(go,of),e(ae,rf),e(ae,Es),e(Es,lf),e(ae,nf),e(ae,ks),e(ks,ho),e(ho,Ts),e(ae,sf),e(ae,ys),e(ys,co),e(co,As),m(i,yi,d),m(i,ue,d),e(ue,ke),e(ke,ni),So(uo,ni,null),e(ue,gf),e(ue,si),e(si,hf),m(i,Ai,d),m(i,Te,d),e(Te,cf),e(Te,fo),e(fo,uf),e(Te,ff),m(i,Di,d),m(i,ye,d),e(ye,ii),e(ii,oe),e(oe,Ds),e(Ds,df),e(oe,mf),e(oe,Ss),e(Ss,bf),e(oe,pf),e(oe,gi),e(oe,_f),e(oe,hi),e(ye,vf),e(ye,mo),e(mo,re),e(re,xs),e(xs,bo),e(bo,wf),e(re,Ef),e(re,Ae),e(Ae,kf),e(Ae,po),e(po,Tf),e(Ae,yf),e(re,Af),e(re,Hs),e(Hs,_o),e(_o,Ms),e(re,Df),e(re,Is),e(Is,vo),e(vo,Os),e(mo,Sf),e(mo,le),e(le,Gs),e(Gs,wo),e(wo,xf),e(le,Hf),e(le,De),e(De,Mf),e(De,Eo),e(Eo,If),e(De,Of),e(le,Gf),e(le,$s),e($s,ko),e(ko,Rs),e(le,$f),e(le,Ns),e(Ns,To),e(To,Cs),m(i,Si,d),m(i,fe,d),e(fe,Se),e(Se,ci),So(yo,ci,null),e(fe,Rf),e(fe,ui),e(ui,Nf),m(i,xi,d),m(i,xe,d),e(xe,Cf),e(xe,zs),e(zs,zf),e(xe,Wf),Hi=!0},p:T1,i(i){Hi||(xo(mt.$$.fragment,i),xo(bt.$$.fragment,i),xo(pt.$$.fragment,i),xo(Nt.$$.fragment,i),xo(za.$$.fragment,i),xo(uo.$$.fragment,i),xo(yo.$$.fragment,i),Hi=!0)},o(i){Ho(mt.$$.fragment,i),Ho(bt.$$.fragment,i),Ho(pt.$$.fragment,i),Ho(Nt.$$.fragment,i),Ho(za.$$.fragment,i),Ho(uo.$$.fragment,i),Ho(yo.$$.fragment,i),Hi=!1},d(i){r(ne),i&&r(fi),i&&r(se),Mo(mt),i&&r(di),i&&r(Oo),i&&r(mi),i&&r(Go),i&&r(bi),i&&r(ie),Mo(bt),i&&r(pi),i&&r(ge),Mo(pt),i&&r(_i),i&&r($o),i&&r(vi),i&&r(pe),i&&r(wi),i&&r(he),Mo(Nt),i&&r(Ei),i&&r(ve),i&&r(ki),i&&r(ce),Mo(za),i&&r(Ti),i&&r(Ee),i&&r(yi),i&&r(ue),Mo(uo),i&&r(Ai),i&&r(Te),i&&r(Di),i&&r(ye),i&&r(Si),i&&r(fe),Mo(yo),i&&r(xi),i&&r(xe)}}}const D1={local:"transformers-notebooks",sections:[{local:"hugging-faces-notebooks",sections:[{local:"documentation-notebooks",title:"Documentation notebooks"},{local:"pytorch-examples",title:"PyTorch Examples"},{local:"tensorflow-examples",title:"TensorFlow Examples"},{local:"optimum-notebooks",title:"Optimum notebooks"}],title:"Hugging Face's notebooks \u{1F917}"},{local:"community-notebooks",title:"Community notebooks:"}],title:"\u{1F917} Transformers Notebooks"};function S1(Pf){return y1(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class M1 extends v1{constructor(ne){super();w1(this,ne,S1,A1,E1,{})}}export{M1 as default,D1 as metadata};
