import{s as F,n as U,o as q}from"../chunks/scheduler.37c15a92.js";import{S as D,i as G,g as p,s as u,r as z,A as I,h as d,f as a,c,j as S,u as E,x as k,k as H,y as N,a as n,v as M,d as j,t as B,w as A}from"../chunks/index.2bf4358c.js";import{C as R}from"../chunks/CourseFloatingBanner.15ba07e6.js";import{H as J}from"../chunks/Heading.8ada512a.js";function K(C){let o,_,f,b,l,g,s,$,i,P="Great job following the course up to here! To recap, in this chapter you:",v,r,L="<li>Learned the basic building blocks of a Transformer model.</li> <li>Learned what makes up a tokenization pipeline.</li> <li>Saw how to use a Transformer model in practice.</li> <li>Learned how to leverage a tokenizer to convert text to tensors that are understandable by the model.</li> <li>Set up a tokenizer and a model together to get from text to predictions.</li> <li>Learned the limitations of input IDs, and learned about attention masks.</li> <li>Played around with versatile and configurable tokenizer methods.</li>",w,m,T="From now on, you should be able to freely navigate the 🤗 Transformers docs: the vocabulary will sound familiar, and you’ve already seen the methods that you’ll use the majority of the time.",y,h,x;return l=new J({props:{title:"Basic usage completed!",local:"basic-usage-completed",headingTag:"h1"}}),s=new R({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),{c(){o=p("meta"),_=u(),f=p("p"),b=u(),z(l.$$.fragment),g=u(),z(s.$$.fragment),$=u(),i=p("p"),i.textContent=P,v=u(),r=p("ul"),r.innerHTML=L,w=u(),m=p("p"),m.textContent=T,y=u(),h=p("p"),this.h()},l(e){const t=I("svelte-u9bgzb",document.head);o=d(t,"META",{name:!0,content:!0}),t.forEach(a),_=c(e),f=d(e,"P",{}),S(f).forEach(a),b=c(e),E(l.$$.fragment,e),g=c(e),E(s.$$.fragment,e),$=c(e),i=d(e,"P",{"data-svelte-h":!0}),k(i)!=="svelte-86zoah"&&(i.textContent=P),v=c(e),r=d(e,"UL",{"data-svelte-h":!0}),k(r)!=="svelte-1gcbkvs"&&(r.innerHTML=L),w=c(e),m=d(e,"P",{"data-svelte-h":!0}),k(m)!=="svelte-yk1ddo"&&(m.textContent=T),y=c(e),h=d(e,"P",{}),S(h).forEach(a),this.h()},h(){H(o,"name","hf:doc:metadata"),H(o,"content",O)},m(e,t){N(document.head,o),n(e,_,t),n(e,f,t),n(e,b,t),M(l,e,t),n(e,g,t),M(s,e,t),n(e,$,t),n(e,i,t),n(e,v,t),n(e,r,t),n(e,w,t),n(e,m,t),n(e,y,t),n(e,h,t),x=!0},p:U,i(e){x||(j(l.$$.fragment,e),j(s.$$.fragment,e),x=!0)},o(e){B(l.$$.fragment,e),B(s.$$.fragment,e),x=!1},d(e){e&&(a(_),a(f),a(b),a(g),a($),a(i),a(v),a(r),a(w),a(m),a(y),a(h)),a(o),A(l,e),A(s,e)}}}const O='{"title":"Basic usage completed!","local":"basic-usage-completed","sections":[],"depth":1}';function Q(C){return q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends D{constructor(o){super(),G(this,o,Q,K,F,{})}}export{Z as component};
