import{S as Ce,i as Ae,s as be,e as r,k as d,w as xe,t as i,M as Ie,c as o,d as t,m as c,a,x as qe,h as f,b as n,F as s,g as u,y as Pe,L as Se,q as ye,o as Te,B as ge,v as ke}from"../../chunks/vendor-1e8b365d.js";import{Y as Ge}from"../../chunks/Youtube-c2a8cc39.js";import{I as Me}from"../../chunks/IconCopyLink-483c28ba.js";function Ne(le){let p,M,h,_,C,L,O,A,Q,N,$,R,v,j,b,z,D,U,y,K,X,T,V,Y,g,W,B,m,I,w,Z,ee,S,x,te,se,k,q,re,oe,G,P,ae,F;return L=new Me({}),$=new Ge({props:{id:"d_ixlCubqQw"}}),{c(){p=r("meta"),M=d(),h=r("h1"),_=r("a"),C=r("span"),xe(L.$$.fragment),O=d(),A=r("span"),Q=i("Les mod\xE8les d\xE9codeurs"),N=d(),xe($.$$.fragment),R=d(),v=r("p"),j=i("Les mod\xE8les d\xE9codeurs utilisent seulement le d\xE9codeur d\u2019un mod\xE8le Transformer. \xC0 chaque \xE9tape, pour un mot donn\xE9, les couches d\u2019attention ne peuvent strictement acc\xE9der qu\u2019aux mots situ\xE9s avant dans la phrase. Ces mod\xE8les sont souvent appel\xE9s "),b=r("em"),z=i("mod\xE8les auto-r\xE9gressifs"),D=i("."),U=d(),y=r("p"),K=i("Le pr\xE9-entra\xEEnement des mod\xE8les d\xE9codeurs se concentre g\xE9n\xE9ralement sur la pr\xE9diction du prochain mot dans la phrase."),X=d(),T=r("p"),V=i("Ces mod\xE8les sont vraiment adapt\xE9s aux t\xE2ches qui impliquent la g\xE9n\xE9ration de texte."),Y=d(),g=r("p"),W=i("Les mod\xE8les qui repr\xE9sentent le mieux la famille des mod\xE8les d\xE9codeurs sont :"),B=d(),m=r("ul"),I=r("li"),w=r("a"),Z=i("CTRL"),ee=d(),S=r("li"),x=r("a"),te=i("GPT"),se=d(),k=r("li"),q=r("a"),re=i("GPT-2"),oe=d(),G=r("li"),P=r("a"),ae=i("Transformer XL"),this.h()},l(e){const l=Ie('[data-svelte="svelte-1phssyn"]',document.head);p=o(l,"META",{name:!0,content:!0}),l.forEach(t),M=c(e),h=o(e,"H1",{class:!0});var H=a(h);_=o(H,"A",{id:!0,class:!0,href:!0});var ne=a(_);C=o(ne,"SPAN",{});var ue=a(C);qe(L.$$.fragment,ue),ue.forEach(t),ne.forEach(t),O=c(H),A=o(H,"SPAN",{});var me=a(A);Q=f(me,"Les mod\xE8les d\xE9codeurs"),me.forEach(t),H.forEach(t),N=c(e),qe($.$$.fragment,e),R=c(e),v=o(e,"P",{});var J=a(v);j=f(J,"Les mod\xE8les d\xE9codeurs utilisent seulement le d\xE9codeur d\u2019un mod\xE8le Transformer. \xC0 chaque \xE9tape, pour un mot donn\xE9, les couches d\u2019attention ne peuvent strictement acc\xE9der qu\u2019aux mots situ\xE9s avant dans la phrase. Ces mod\xE8les sont souvent appel\xE9s "),b=o(J,"EM",{});var de=a(b);z=f(de,"mod\xE8les auto-r\xE9gressifs"),de.forEach(t),D=f(J,"."),J.forEach(t),U=c(e),y=o(e,"P",{});var ie=a(y);K=f(ie,"Le pr\xE9-entra\xEEnement des mod\xE8les d\xE9codeurs se concentre g\xE9n\xE9ralement sur la pr\xE9diction du prochain mot dans la phrase."),ie.forEach(t),X=c(e),T=o(e,"P",{});var ce=a(T);V=f(ce,"Ces mod\xE8les sont vraiment adapt\xE9s aux t\xE2ches qui impliquent la g\xE9n\xE9ration de texte."),ce.forEach(t),Y=c(e),g=o(e,"P",{});var fe=a(g);W=f(fe,"Les mod\xE8les qui repr\xE9sentent le mieux la famille des mod\xE8les d\xE9codeurs sont :"),fe.forEach(t),B=c(e),m=o(e,"UL",{});var E=a(m);I=o(E,"LI",{});var pe=a(I);w=o(pe,"A",{href:!0,rel:!0});var he=a(w);Z=f(he,"CTRL"),he.forEach(t),pe.forEach(t),ee=c(E),S=o(E,"LI",{});var _e=a(S);x=o(_e,"A",{href:!0,rel:!0});var ve=a(x);te=f(ve,"GPT"),ve.forEach(t),_e.forEach(t),se=c(E),k=o(E,"LI",{});var Ee=a(k);q=o(Ee,"A",{href:!0,rel:!0});var Le=a(q);re=f(Le,"GPT-2"),Le.forEach(t),Ee.forEach(t),oe=c(E),G=o(E,"LI",{});var $e=a(G);P=o($e,"A",{href:!0,rel:!0});var we=a(P);ae=f(we,"Transformer XL"),we.forEach(t),$e.forEach(t),E.forEach(t),this.h()},h(){n(p,"name","hf:doc:metadata"),n(p,"content",JSON.stringify(Re)),n(_,"id","les-modles-dcodeurs"),n(_,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),n(_,"href","#les-modles-dcodeurs"),n(h,"class","relative group"),n(w,"href","https://huggingface.co/transformers/model_doc/ctrl.html"),n(w,"rel","nofollow"),n(x,"href","https://huggingface.co/transformers/model_doc/gpt.html"),n(x,"rel","nofollow"),n(q,"href","https://huggingface.co/transformers/model_doc/gpt2.html"),n(q,"rel","nofollow"),n(P,"href","https://huggingface.co/transformers/model_doc/transformerxl.html"),n(P,"rel","nofollow")},m(e,l){s(document.head,p),u(e,M,l),u(e,h,l),s(h,_),s(_,C),Pe(L,C,null),s(h,O),s(h,A),s(A,Q),u(e,N,l),Pe($,e,l),u(e,R,l),u(e,v,l),s(v,j),s(v,b),s(b,z),s(v,D),u(e,U,l),u(e,y,l),s(y,K),u(e,X,l),u(e,T,l),s(T,V),u(e,Y,l),u(e,g,l),s(g,W),u(e,B,l),u(e,m,l),s(m,I),s(I,w),s(w,Z),s(m,ee),s(m,S),s(S,x),s(x,te),s(m,se),s(m,k),s(k,q),s(q,re),s(m,oe),s(m,G),s(G,P),s(P,ae),F=!0},p:Se,i(e){F||(ye(L.$$.fragment,e),ye($.$$.fragment,e),F=!0)},o(e){Te(L.$$.fragment,e),Te($.$$.fragment,e),F=!1},d(e){t(p),e&&t(M),e&&t(h),ge(L),e&&t(N),ge($,e),e&&t(R),e&&t(v),e&&t(U),e&&t(y),e&&t(X),e&&t(T),e&&t(Y),e&&t(g),e&&t(B),e&&t(m)}}}const Re={local:"les-modles-dcodeurs",title:"Les mod\xE8les d\xE9codeurs"};function Ue(le){return ke(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Fe extends Ce{constructor(p){super();Ae(this,p,Ue,Ne,be,{})}}export{Fe as default,Re as metadata};
