import{s as N,n as X,o as D}from"../chunks/scheduler.37c15a92.js";import{S as J,i as K,g as i,s as o,r as q,A as O,h as r,f as l,c as n,j as B,u as A,x as v,k as F,y as V,a,v as E,d as Q,t as S,w as j}from"../chunks/index.2bf4358c.js";import{Y as W}from"../chunks/Youtube.1e50a667.js";import{C as Z}from"../chunks/CourseFloatingBanner.06521e8b.js";import{H as ee}from"../chunks/Heading.8ada512a.js";function te(G){let s,x,$,C,m,w,p,P,f,T,d,I="I modelli decoder utilizzano solo il decoder di un modello Transformer. Ad ogni passaggio e per una data parola, gli attention layer hanno accesso solo alle parole che la precedono nella frase. Questi modelli sono spesso detti <em>auto-regressive models</em>.",b,c,R="Il pre-addestramento dei modelli decoder ha spesso a che fare con la previsione della parola successiva in un contesto frasale.",L,u,U="Questi modelli sono particolarmente adatti a compiti di generazione testuale.",M,h,Y="Alcuni rappresentanti di questa famiglia includono:",y,_,k='<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>',z,g,H;return m=new ee({props:{title:"Modelli decoder",local:"modelli-decoder",headingTag:"h1"}}),p=new Z({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),f=new W({props:{id:"d_ixlCubqQw"}}),{c(){s=i("meta"),x=o(),$=i("p"),C=o(),q(m.$$.fragment),w=o(),q(p.$$.fragment),P=o(),q(f.$$.fragment),T=o(),d=i("p"),d.innerHTML=I,b=o(),c=i("p"),c.textContent=R,L=o(),u=i("p"),u.textContent=U,M=o(),h=i("p"),h.textContent=Y,y=o(),_=i("ul"),_.innerHTML=k,z=o(),g=i("p"),this.h()},l(e){const t=O("svelte-u9bgzb",document.head);s=r(t,"META",{name:!0,content:!0}),t.forEach(l),x=n(e),$=r(e,"P",{}),B($).forEach(l),C=n(e),A(m.$$.fragment,e),w=n(e),A(p.$$.fragment,e),P=n(e),A(f.$$.fragment,e),T=n(e),d=r(e,"P",{"data-svelte-h":!0}),v(d)!=="svelte-rw3568"&&(d.innerHTML=I),b=n(e),c=r(e,"P",{"data-svelte-h":!0}),v(c)!=="svelte-1p3tbn1"&&(c.textContent=R),L=n(e),u=r(e,"P",{"data-svelte-h":!0}),v(u)!=="svelte-17zbr6q"&&(u.textContent=U),M=n(e),h=r(e,"P",{"data-svelte-h":!0}),v(h)!=="svelte-8vvjx9"&&(h.textContent=Y),y=n(e),_=r(e,"UL",{"data-svelte-h":!0}),v(_)!=="svelte-1tiql5w"&&(_.innerHTML=k),z=n(e),g=r(e,"P",{}),B(g).forEach(l),this.h()},h(){F(s,"name","hf:doc:metadata"),F(s,"content",le)},m(e,t){V(document.head,s),a(e,x,t),a(e,$,t),a(e,C,t),E(m,e,t),a(e,w,t),E(p,e,t),a(e,P,t),E(f,e,t),a(e,T,t),a(e,d,t),a(e,b,t),a(e,c,t),a(e,L,t),a(e,u,t),a(e,M,t),a(e,h,t),a(e,y,t),a(e,_,t),a(e,z,t),a(e,g,t),H=!0},p:X,i(e){H||(Q(m.$$.fragment,e),Q(p.$$.fragment,e),Q(f.$$.fragment,e),H=!0)},o(e){S(m.$$.fragment,e),S(p.$$.fragment,e),S(f.$$.fragment,e),H=!1},d(e){e&&(l(x),l($),l(C),l(w),l(P),l(T),l(d),l(b),l(c),l(L),l(u),l(M),l(h),l(y),l(_),l(z),l(g)),l(s),j(m,e),j(p,e),j(f,e)}}}const le='{"title":"Modelli decoder","local":"modelli-decoder","sections":[],"depth":1}';function ae(G){return D(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class me extends J{constructor(s){super(),K(this,s,ae,te,N,{})}}export{me as component};
