import{S as Se,i as ke,s as Ge,e as r,k as c,w as ye,t as u,M as Me,c as a,d as t,m as f,a as l,x as ge,h as m,b as n,G as s,g as d,y as Ce,L as Ne,q as Te,o as Ae,B as Ie,v as Re}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Ue}from"../../chunks/Youtube-hf-doc-builder.js";import{I as Xe}from"../../chunks/IconCopyLink-hf-doc-builder.js";function Ye(me){let h,R,_,v,T,L,j,A,z,U,$,X,p,D,I,F,K,S,V,W,Y,P,Z,B,y,ee,H,g,te,J,i,k,w,se,re,G,x,ae,le,M,b,oe,ne,N,q,ue,O;return L=new Xe({}),$=new Ue({props:{id:"d_ixlCubqQw"}}),{c(){h=r("meta"),R=c(),_=r("h1"),v=r("a"),T=r("span"),ye(L.$$.fragment),j=c(),A=r("span"),z=u("Les mod\xE8les bas\xE9s sur le d\xE9codeur"),U=c(),ye($.$$.fragment),X=c(),p=r("p"),D=u("Les mod\xE8les bas\xE9s sur le d\xE9codeur utilisent seulement le d\xE9codeur d\u2019un "),I=r("em"),F=u("transformer"),K=u(". \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 "),S=r("em"),V=u("mod\xE8les autor\xE9gressifs"),W=u("."),Y=c(),P=r("p"),Z=u("Le pr\xE9-entra\xEEnement des mod\xE8les bas\xE9s sur le d\xE9codeur se concentre g\xE9n\xE9ralement sur la pr\xE9diction du prochain mot dans la phrase."),B=c(),y=r("p"),ee=u("Ces mod\xE8les sont vraiment adapt\xE9s aux t\xE2ches qui impliquent la g\xE9n\xE9ration de texte."),H=c(),g=r("p"),te=u("Les mod\xE8les qui repr\xE9sentent le mieux la famille des mod\xE8les d\xE9codeurs sont :"),J=c(),i=r("ul"),k=r("li"),w=r("a"),se=u("CTRL"),re=c(),G=r("li"),x=r("a"),ae=u("GPT"),le=c(),M=r("li"),b=r("a"),oe=u("GPT-2"),ne=c(),N=r("li"),q=r("a"),ue=u("Transformer XL"),this.h()},l(e){const o=Me('[data-svelte="svelte-1phssyn"]',document.head);h=a(o,"META",{name:!0,content:!0}),o.forEach(t),R=f(e),_=a(e,"H1",{class:!0});var Q=l(_);v=a(Q,"A",{id:!0,class:!0,href:!0});var de=l(v);T=a(de,"SPAN",{});var ie=l(T);ge(L.$$.fragment,ie),ie.forEach(t),de.forEach(t),j=f(Q),A=a(Q,"SPAN",{});var ce=l(A);z=m(ce,"Les mod\xE8les bas\xE9s sur le d\xE9codeur"),ce.forEach(t),Q.forEach(t),U=f(e),ge($.$$.fragment,e),X=f(e),p=a(e,"P",{});var C=l(p);D=m(C,"Les mod\xE8les bas\xE9s sur le d\xE9codeur utilisent seulement le d\xE9codeur d\u2019un "),I=a(C,"EM",{});var fe=l(I);F=m(fe,"transformer"),fe.forEach(t),K=m(C,". \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 "),S=a(C,"EM",{});var pe=l(S);V=m(pe,"mod\xE8les autor\xE9gressifs"),pe.forEach(t),W=m(C,"."),C.forEach(t),Y=f(e),P=a(e,"P",{});var he=l(P);Z=m(he,"Le pr\xE9-entra\xEEnement des mod\xE8les bas\xE9s sur le d\xE9codeur se concentre g\xE9n\xE9ralement sur la pr\xE9diction du prochain mot dans la phrase."),he.forEach(t),B=f(e),y=a(e,"P",{});var _e=l(y);ee=m(_e,"Ces mod\xE8les sont vraiment adapt\xE9s aux t\xE2ches qui impliquent la g\xE9n\xE9ration de texte."),_e.forEach(t),H=f(e),g=a(e,"P",{});var ve=l(g);te=m(ve,"Les mod\xE8les qui repr\xE9sentent le mieux la famille des mod\xE8les d\xE9codeurs sont :"),ve.forEach(t),J=f(e),i=a(e,"UL",{});var E=l(i);k=a(E,"LI",{});var Ee=l(k);w=a(Ee,"A",{href:!0,rel:!0});var Le=l(w);se=m(Le,"CTRL"),Le.forEach(t),Ee.forEach(t),re=f(E),G=a(E,"LI",{});var $e=l(G);x=a($e,"A",{href:!0,rel:!0});var we=l(x);ae=m(we,"GPT"),we.forEach(t),$e.forEach(t),le=f(E),M=a(E,"LI",{});var xe=l(M);b=a(xe,"A",{href:!0,rel:!0});var be=l(b);oe=m(be,"GPT-2"),be.forEach(t),xe.forEach(t),ne=f(E),N=a(E,"LI",{});var qe=l(N);q=a(qe,"A",{href:!0,rel:!0});var Pe=l(q);ue=m(Pe,"Transformer XL"),Pe.forEach(t),qe.forEach(t),E.forEach(t),this.h()},h(){n(h,"name","hf:doc:metadata"),n(h,"content",JSON.stringify(Be)),n(v,"id","les-modles-bass-sur-le-dcodeur"),n(v,"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(v,"href","#les-modles-bass-sur-le-dcodeur"),n(_,"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(b,"href","https://huggingface.co/transformers/model_doc/gpt2.html"),n(b,"rel","nofollow"),n(q,"href","https://huggingface.co/transformers/model_doc/transformerxl.html"),n(q,"rel","nofollow")},m(e,o){s(document.head,h),d(e,R,o),d(e,_,o),s(_,v),s(v,T),Ce(L,T,null),s(_,j),s(_,A),s(A,z),d(e,U,o),Ce($,e,o),d(e,X,o),d(e,p,o),s(p,D),s(p,I),s(I,F),s(p,K),s(p,S),s(S,V),s(p,W),d(e,Y,o),d(e,P,o),s(P,Z),d(e,B,o),d(e,y,o),s(y,ee),d(e,H,o),d(e,g,o),s(g,te),d(e,J,o),d(e,i,o),s(i,k),s(k,w),s(w,se),s(i,re),s(i,G),s(G,x),s(x,ae),s(i,le),s(i,M),s(M,b),s(b,oe),s(i,ne),s(i,N),s(N,q),s(q,ue),O=!0},p:Ne,i(e){O||(Te(L.$$.fragment,e),Te($.$$.fragment,e),O=!0)},o(e){Ae(L.$$.fragment,e),Ae($.$$.fragment,e),O=!1},d(e){t(h),e&&t(R),e&&t(_),Ie(L),e&&t(U),Ie($,e),e&&t(X),e&&t(p),e&&t(Y),e&&t(P),e&&t(B),e&&t(y),e&&t(H),e&&t(g),e&&t(J),e&&t(i)}}}const Be={local:"les-modles-bass-sur-le-dcodeur",title:"Les mod\xE8les bas\xE9s sur le d\xE9codeur"};function He(me){return Re(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class je extends Se{constructor(h){super();ke(this,h,He,Ye,Ge,{})}}export{je as default,Be as metadata};
