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