import{s as X,n as D,o as I}from"../chunks/scheduler.37c15a92.js";import{S as J,i as K,g as r,s as l,r as q,A as O,h as i,f as a,c as n,j as N,u as z,x,k as Q,y as V,a as o,v as j,d as S,t as A,w as G}from"../chunks/index.2bf4358c.js";import{Y as W}from"../chunks/Youtube.1e50a667.js";import{C as Z}from"../chunks/CourseFloatingBanner.15ba07e6.js";import{H as ee}from"../chunks/Heading.8ada512a.js";function te(R){let s,v,$,C,m,w,d,b,f,P,c,U="Los modelos de decodificadores usan únicamente el decodificador del Transformador. En cada etapa, para una palabra dada las capas de atención pueden acceder solamente a las palabras que se ubican antes en la oración. Estos modelos se suelen llamar modelos <em>auto-regressive</em>.",T,p,Y="El preentrenamiento de los modelos de decodificadores generalmente gira en torno a la predicción de la siguiente palabra en la oración.",L,u,k="Estos modelos son más adecuados para tareas que implican la generación de texto.",E,h,B="Los miembros de esta familia de modelos incluyen:",M,_,F='<li><a href="https://huggingface.co/transformers/model_doc/ctrl.html" rel="nofollow">CTRL</a></li> <li><a href="https://huggingface.co/docs/transformers/model_doc/openai-gpt" rel="nofollow">GPT</a></li> <li><a href="https://huggingface.co/transformers/model_doc/gpt2.html" rel="nofollow">GPT-2</a></li> <li><a href="https://huggingface.co/transformers/model_doc/transformerxl.html" rel="nofollow">Transformer XL</a></li>',y,g,H;return m=new ee({props:{title:"Modelos de decodificadores",local:"modelos-de-decodificadores",headingTag:"h1"}}),d=new Z({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),f=new W({props:{id:"d_ixlCubqQw"}}),{c(){s=r("meta"),v=l(),$=r("p"),C=l(),q(m.$$.fragment),w=l(),q(d.$$.fragment),b=l(),q(f.$$.fragment),P=l(),c=r("p"),c.innerHTML=U,T=l(),p=r("p"),p.textContent=Y,L=l(),u=r("p"),u.textContent=k,E=l(),h=r("p"),h.textContent=B,M=l(),_=r("ul"),_.innerHTML=F,y=l(),g=r("p"),this.h()},l(e){const t=O("svelte-u9bgzb",document.head);s=i(t,"META",{name:!0,content:!0}),t.forEach(a),v=n(e),$=i(e,"P",{}),N($).forEach(a),C=n(e),z(m.$$.fragment,e),w=n(e),z(d.$$.fragment,e),b=n(e),z(f.$$.fragment,e),P=n(e),c=i(e,"P",{"data-svelte-h":!0}),x(c)!=="svelte-l2w6zy"&&(c.innerHTML=U),T=n(e),p=i(e,"P",{"data-svelte-h":!0}),x(p)!=="svelte-tswbj6"&&(p.textContent=Y),L=n(e),u=i(e,"P",{"data-svelte-h":!0}),x(u)!=="svelte-oocvh6"&&(u.textContent=k),E=n(e),h=i(e,"P",{"data-svelte-h":!0}),x(h)!=="svelte-umsuzu"&&(h.textContent=B),M=n(e),_=i(e,"UL",{"data-svelte-h":!0}),x(_)!=="svelte-jabf5n"&&(_.innerHTML=F),y=n(e),g=i(e,"P",{}),N(g).forEach(a),this.h()},h(){Q(s,"name","hf:doc:metadata"),Q(s,"content",ae)},m(e,t){V(document.head,s),o(e,v,t),o(e,$,t),o(e,C,t),j(m,e,t),o(e,w,t),j(d,e,t),o(e,b,t),j(f,e,t),o(e,P,t),o(e,c,t),o(e,T,t),o(e,p,t),o(e,L,t),o(e,u,t),o(e,E,t),o(e,h,t),o(e,M,t),o(e,_,t),o(e,y,t),o(e,g,t),H=!0},p:D,i(e){H||(S(m.$$.fragment,e),S(d.$$.fragment,e),S(f.$$.fragment,e),H=!0)},o(e){A(m.$$.fragment,e),A(d.$$.fragment,e),A(f.$$.fragment,e),H=!1},d(e){e&&(a(v),a($),a(C),a(w),a(b),a(P),a(c),a(T),a(p),a(L),a(u),a(E),a(h),a(M),a(_),a(y),a(g)),a(s),G(m,e),G(d,e),G(f,e)}}}const ae='{"title":"Modelos de decodificadores","local":"modelos-de-decodificadores","sections":[],"depth":1}';function oe(R){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class me extends J{constructor(s){super(),K(this,s,oe,te,X,{})}}export{me as component};
