import{s as N,n as X,o as D}from"../chunks/scheduler.37c15a92.js";import{S as I,i as J,g as r,s as l,r as k,A as K,h as i,f as a,c as n,j as A,u as G,x as g,k as R,y as Q,a as o,v as U,d as j,t as B,w as F}from"../chunks/index.2bf4358c.js";import{C as V}from"../chunks/CourseFloatingBanner.15ba07e6.js";import{H as W}from"../chunks/Heading.8ada512a.js";function Y(H){let s,x,_,$,m,C,d,w,f,b="Os modelos de decodificador usam apenas o decodificador de um modelo Transformer. Em cada etapa, para uma determinada palavra, as camadas de atenção só podem acessar as palavras posicionadas antes dela na frase. Esses modelos geralmente são chamados de <em>modelos auto-regressivos</em>.",P,c,q="O pré-treinamento de modelos de decodificadores geralmente gira em torno de prever a próxima palavra na frase.",T,p,z="Esses modelos são mais adequados para tarefas que envolvem geração de texto.",L,u,O="Os representantes desta família de modelos incluem:",M,h,S='<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/transfo-xl.html" rel="nofollow">Transformer XL</a></li>',E,v,y;return m=new W({props:{title:"Modelos decodificadores",local:"modelos-decodificadores",headingTag:"h1"}}),d=new V({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),{c(){s=r("meta"),x=l(),_=r("p"),$=l(),k(m.$$.fragment),C=l(),k(d.$$.fragment),w=l(),f=r("p"),f.innerHTML=b,P=l(),c=r("p"),c.textContent=q,T=l(),p=r("p"),p.textContent=z,L=l(),u=r("p"),u.textContent=O,M=l(),h=r("ul"),h.innerHTML=S,E=l(),v=r("p"),this.h()},l(e){const t=K("svelte-u9bgzb",document.head);s=i(t,"META",{name:!0,content:!0}),t.forEach(a),x=n(e),_=i(e,"P",{}),A(_).forEach(a),$=n(e),G(m.$$.fragment,e),C=n(e),G(d.$$.fragment,e),w=n(e),f=i(e,"P",{"data-svelte-h":!0}),g(f)!=="svelte-1cb7r38"&&(f.innerHTML=b),P=n(e),c=i(e,"P",{"data-svelte-h":!0}),g(c)!=="svelte-fzoyvo"&&(c.textContent=q),T=n(e),p=i(e,"P",{"data-svelte-h":!0}),g(p)!=="svelte-1knwfdy"&&(p.textContent=z),L=n(e),u=i(e,"P",{"data-svelte-h":!0}),g(u)!=="svelte-1x0lt16"&&(u.textContent=O),M=n(e),h=i(e,"UL",{"data-svelte-h":!0}),g(h)!=="svelte-1tiql5w"&&(h.innerHTML=S),E=n(e),v=i(e,"P",{}),A(v).forEach(a),this.h()},h(){R(s,"name","hf:doc:metadata"),R(s,"content",Z)},m(e,t){Q(document.head,s),o(e,x,t),o(e,_,t),o(e,$,t),U(m,e,t),o(e,C,t),U(d,e,t),o(e,w,t),o(e,f,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,M,t),o(e,h,t),o(e,E,t),o(e,v,t),y=!0},p:X,i(e){y||(j(m.$$.fragment,e),j(d.$$.fragment,e),y=!0)},o(e){B(m.$$.fragment,e),B(d.$$.fragment,e),y=!1},d(e){e&&(a(x),a(_),a($),a(C),a(w),a(f),a(P),a(c),a(T),a(p),a(L),a(u),a(M),a(h),a(E),a(v)),a(s),F(m,e),F(d,e)}}}const Z='{"title":"Modelos decodificadores","local":"modelos-decodificadores","sections":[],"depth":1}';function ee(H){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class le extends I{constructor(s){super(),J(this,s,ee,Y,N,{})}}export{le as component};
