import{s as G,n as I,o as J}from"../chunks/scheduler.cc52f4b9.js";import{S as N,i as O,e as d,s as o,c as q,h as R,a as $,d as a,b as i,f as D,g as A,j as k,k as F,l as V,m as n,n as E,t as H,o as L,p as M}from"../chunks/index.f7fb5439.js";import{C as K,E as Q}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.4aef24b6.js";import{C as W}from"../chunks/CourseFloatingBanner.9c415528.js";import{H as X}from"../chunks/Heading.b75cdeb1.js";function Y(S){let s,g,h,_,l,x,r,v,m,y,p,j="¡Buen trabajo siguiendo el curso hasta ahora! Para recapitular, en este capítulo tú:",C,u,B="<li>Aprendiste los bloques de construcción básicos de un modelo Transformer.</li> <li>Aprendiste lo que compone a un pipeline de tokenización.</li> <li>Viste cómo usar un modelo Transformer en la práctica.</li> <li>Aprendiste cómo aprovechar un tokenizador para convertir texto a tensores que sean entendibles por el modelo.</li> <li>Configuraste un tokenizador y un modelo juntos para pasar dle texto a predicciones.</li> <li>Aprendiste las limitaciones de los IDs de entrada, y aprendiste acerca de máscaras de atención.</li> <li>Jugaste con los métodos del tokenizador versátiles y configurables.</li>",w,c,U="A partir de ahora, serás capaz de navegar libremente por la documentación de 🤗 Transformers: el vocabulario te sonará familiar, ya que has visto los métodos que usarás la mayor parte del tiempo.",P,f,z,b,T;return l=new K({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),r=new X({props:{title:"¡Has completado el uso básico!",local:"has-completado-el-uso-básico",headingTag:"h1"}}),m=new W({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),f=new Q({props:{source:"https://github.com/huggingface/course/blob/main/chapters/es/chapter2/7.mdx"}}),{c(){s=d("meta"),g=o(),h=d("p"),_=o(),q(l.$$.fragment),x=o(),q(r.$$.fragment),v=o(),q(m.$$.fragment),y=o(),p=d("p"),p.textContent=j,C=o(),u=d("ul"),u.innerHTML=B,w=o(),c=d("p"),c.textContent=U,P=o(),q(f.$$.fragment),z=o(),b=d("p"),this.h()},l(e){const t=R("svelte-u9bgzb",document.head);s=$(t,"META",{name:!0,content:!0}),t.forEach(a),g=i(e),h=$(e,"P",{}),D(h).forEach(a),_=i(e),A(l.$$.fragment,e),x=i(e),A(r.$$.fragment,e),v=i(e),A(m.$$.fragment,e),y=i(e),p=$(e,"P",{"data-svelte-h":!0}),k(p)!=="svelte-1wo8ts4"&&(p.textContent=j),C=i(e),u=$(e,"UL",{"data-svelte-h":!0}),k(u)!=="svelte-1pcmocm"&&(u.innerHTML=B),w=i(e),c=$(e,"P",{"data-svelte-h":!0}),k(c)!=="svelte-oeynye"&&(c.textContent=U),P=i(e),A(f.$$.fragment,e),z=i(e),b=$(e,"P",{}),D(b).forEach(a),this.h()},h(){F(s,"name","hf:doc:metadata"),F(s,"content",Z)},m(e,t){V(document.head,s),n(e,g,t),n(e,h,t),n(e,_,t),E(l,e,t),n(e,x,t),E(r,e,t),n(e,v,t),E(m,e,t),n(e,y,t),n(e,p,t),n(e,C,t),n(e,u,t),n(e,w,t),n(e,c,t),n(e,P,t),E(f,e,t),n(e,z,t),n(e,b,t),T=!0},p:I,i(e){T||(H(l.$$.fragment,e),H(r.$$.fragment,e),H(m.$$.fragment,e),H(f.$$.fragment,e),T=!0)},o(e){L(l.$$.fragment,e),L(r.$$.fragment,e),L(m.$$.fragment,e),L(f.$$.fragment,e),T=!1},d(e){e&&(a(g),a(h),a(_),a(x),a(v),a(y),a(p),a(C),a(u),a(w),a(c),a(P),a(z),a(b)),a(s),M(l,e),M(r,e),M(m,e),M(f,e)}}}const Z='{"title":"¡Has completado el uso básico!","local":"has-completado-el-uso-básico","sections":[],"depth":1}';function ee(S){return J(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ie extends N{constructor(s){super(),O(this,s,ee,Y,G,{})}}export{ie as component};
