import{S as we,i as ge,s as ke,e as r,k as c,w as fe,t as m,M as Le,c as l,d as a,m as h,a as s,x as pe,h as u,b as g,G as t,g as p,y as ve,L as $e,q as _e,o as ye,B as be,v as Ee}from"../../chunks/vendor-hf-doc-builder.js";import{I as xe}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Ie}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";function Se(te){let d,T,f,v,k,_,F,L,G,B,y,j,b,M,A,o,$,D,U,E,H,J,x,O,R,I,K,Q,S,V,W,z,X,Y,P,Z,C,w,ee,N;return _=new xe({}),y=new Ie({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),{c(){d=r("meta"),T=c(),f=r("h1"),v=r("a"),k=r("span"),fe(_.$$.fragment),F=c(),L=r("span"),G=m("Basic usage completed!"),B=c(),fe(y.$$.fragment),j=c(),b=r("p"),M=m("Great job following the course up to here! To recap, in this chapter you:"),A=c(),o=r("ul"),$=r("li"),D=m("Learned the basic building blocks of a Transformer model."),U=c(),E=r("li"),H=m("Learned what makes up a tokenization pipeline."),J=c(),x=r("li"),O=m("Saw how to use a Transformer model in practice."),R=c(),I=r("li"),K=m("Learned how to leverage a tokenizer to convert text to tensors that are understandable by the model."),Q=c(),S=r("li"),V=m("Set up a tokenizer and a model together to get from text to predictions."),W=c(),z=r("li"),X=m("Learned the limitations of input IDs, and learned about attention masks."),Y=c(),P=r("li"),Z=m("Played around with versatile and configurable tokenizer methods."),C=c(),w=r("p"),ee=m("From now on, you should be able to freely navigate the \u{1F917} Transformers docs: the vocabulary will sound familiar, and you\u2019ve already seen the methods that you\u2019ll use the majority of the time."),this.h()},l(e){const i=Le('[data-svelte="svelte-1phssyn"]',document.head);d=l(i,"META",{name:!0,content:!0}),i.forEach(a),T=h(e),f=l(e,"H1",{class:!0});var q=s(f);v=l(q,"A",{id:!0,class:!0,href:!0});var ae=s(v);k=l(ae,"SPAN",{});var oe=s(k);pe(_.$$.fragment,oe),oe.forEach(a),ae.forEach(a),F=h(q),L=l(q,"SPAN",{});var re=s(L);G=u(re,"Basic usage completed!"),re.forEach(a),q.forEach(a),B=h(e),pe(y.$$.fragment,e),j=h(e),b=l(e,"P",{});var le=s(b);M=u(le,"Great job following the course up to here! To recap, in this chapter you:"),le.forEach(a),A=h(e),o=l(e,"UL",{});var n=s(o);$=l(n,"LI",{});var ne=s($);D=u(ne,"Learned the basic building blocks of a Transformer model."),ne.forEach(a),U=h(n),E=l(n,"LI",{});var se=s(E);H=u(se,"Learned what makes up a tokenization pipeline."),se.forEach(a),J=h(n),x=l(n,"LI",{});var ie=s(x);O=u(ie,"Saw how to use a Transformer model in practice."),ie.forEach(a),R=h(n),I=l(n,"LI",{});var ce=s(I);K=u(ce,"Learned how to leverage a tokenizer to convert text to tensors that are understandable by the model."),ce.forEach(a),Q=h(n),S=l(n,"LI",{});var he=s(S);V=u(he,"Set up a tokenizer and a model together to get from text to predictions."),he.forEach(a),W=h(n),z=l(n,"LI",{});var me=s(z);X=u(me,"Learned the limitations of input IDs, and learned about attention masks."),me.forEach(a),Y=h(n),P=l(n,"LI",{});var ue=s(P);Z=u(ue,"Played around with versatile and configurable tokenizer methods."),ue.forEach(a),n.forEach(a),C=h(e),w=l(e,"P",{});var de=s(w);ee=u(de,"From now on, you should be able to freely navigate the \u{1F917} Transformers docs: the vocabulary will sound familiar, and you\u2019ve already seen the methods that you\u2019ll use the majority of the time."),de.forEach(a),this.h()},h(){g(d,"name","hf:doc:metadata"),g(d,"content",JSON.stringify(ze)),g(v,"id","basic-usage-completed"),g(v,"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"),g(v,"href","#basic-usage-completed"),g(f,"class","relative group")},m(e,i){t(document.head,d),p(e,T,i),p(e,f,i),t(f,v),t(v,k),ve(_,k,null),t(f,F),t(f,L),t(L,G),p(e,B,i),ve(y,e,i),p(e,j,i),p(e,b,i),t(b,M),p(e,A,i),p(e,o,i),t(o,$),t($,D),t(o,U),t(o,E),t(E,H),t(o,J),t(o,x),t(x,O),t(o,R),t(o,I),t(I,K),t(o,Q),t(o,S),t(S,V),t(o,W),t(o,z),t(z,X),t(o,Y),t(o,P),t(P,Z),p(e,C,i),p(e,w,i),t(w,ee),N=!0},p:$e,i(e){N||(_e(_.$$.fragment,e),_e(y.$$.fragment,e),N=!0)},o(e){ye(_.$$.fragment,e),ye(y.$$.fragment,e),N=!1},d(e){a(d),e&&a(T),e&&a(f),be(_),e&&a(B),be(y,e),e&&a(j),e&&a(b),e&&a(A),e&&a(o),e&&a(C),e&&a(w)}}}const ze={local:"basic-usage-completed",title:"Basic usage completed!"};function Pe(te){return Ee(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ae extends we{constructor(d){super();ge(this,d,Pe,Se,ke,{})}}export{Ae as default,ze as metadata};
