import{s as U,n as q,o as D}from"../chunks/scheduler.37c15a92.js";import{S as I,i as N,g as f,s,r as P,A as O,h as d,f as a,c as i,j as F,u as L,x as T,k as G,y as R,a as n,v as z,d as E,t as S,w as H}from"../chunks/index.7cb9c9b8.js";import{C as J}from"../chunks/CourseFloatingBanner.df82c153.js";import{H as K,E as Q}from"../chunks/getInferenceSnippets.f9350a3f.js";function V(M){let o,g,h,b,l,_,r,v,m,j="Great job following the course up to here! To recap, in this chapter you:",w,u,B="<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>",y,p,A="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.",x,c,k,$,C;return l=new K({props:{title:"Basic usage completed!",local:"basic-usage-completed",headingTag:"h1"}}),r=new J({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),c=new Q({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter2/7.mdx"}}),{c(){o=f("meta"),g=s(),h=f("p"),b=s(),P(l.$$.fragment),_=s(),P(r.$$.fragment),v=s(),m=f("p"),m.textContent=j,w=s(),u=f("ul"),u.innerHTML=B,y=s(),p=f("p"),p.textContent=A,x=s(),P(c.$$.fragment),k=s(),$=f("p"),this.h()},l(e){const t=O("svelte-u9bgzb",document.head);o=d(t,"META",{name:!0,content:!0}),t.forEach(a),g=i(e),h=d(e,"P",{}),F(h).forEach(a),b=i(e),L(l.$$.fragment,e),_=i(e),L(r.$$.fragment,e),v=i(e),m=d(e,"P",{"data-svelte-h":!0}),T(m)!=="svelte-86zoah"&&(m.textContent=j),w=i(e),u=d(e,"UL",{"data-svelte-h":!0}),T(u)!=="svelte-1gcbkvs"&&(u.innerHTML=B),y=i(e),p=d(e,"P",{"data-svelte-h":!0}),T(p)!=="svelte-yk1ddo"&&(p.textContent=A),x=i(e),L(c.$$.fragment,e),k=i(e),$=d(e,"P",{}),F($).forEach(a),this.h()},h(){G(o,"name","hf:doc:metadata"),G(o,"content",W)},m(e,t){R(document.head,o),n(e,g,t),n(e,h,t),n(e,b,t),z(l,e,t),n(e,_,t),z(r,e,t),n(e,v,t),n(e,m,t),n(e,w,t),n(e,u,t),n(e,y,t),n(e,p,t),n(e,x,t),z(c,e,t),n(e,k,t),n(e,$,t),C=!0},p:q,i(e){C||(E(l.$$.fragment,e),E(r.$$.fragment,e),E(c.$$.fragment,e),C=!0)},o(e){S(l.$$.fragment,e),S(r.$$.fragment,e),S(c.$$.fragment,e),C=!1},d(e){e&&(a(g),a(h),a(b),a(_),a(v),a(m),a(w),a(u),a(y),a(p),a(x),a(k),a($)),a(o),H(l,e),H(r,e),H(c,e)}}}const W='{"title":"Basic usage completed!","local":"basic-usage-completed","sections":[],"depth":1}';function X(M){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ae extends I{constructor(o){super(),N(this,o,X,V,U,{})}}export{ae as component};
