import{S as Te,i as xe,s as be,e as a,k as m,w as oe,t as h,M as Ae,c as o,d as t,m as c,a as s,x as le,h as d,b as n,G as r,g as i,y as se,L as Ce,q as ne,o as fe,B as ie,v as Ie}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Se}from"../../chunks/Youtube-hf-doc-builder.js";import{I as ke}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Ge}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";function qe(me){let p,M,u,_,A,$,F,C,H,N,E,D,w,R,y,J,I,O,B,x,Q,U,b,j,X,f,S,g,K,V,k,L,W,Z,G,P,ee,te,q,T,re,Y;return $=new ke({}),E=new Ge({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),w=new Se({props:{id:"d_ixlCubqQw"}}),{c(){p=a("meta"),M=m(),u=a("h1"),_=a("a"),A=a("span"),oe($.$$.fragment),F=m(),C=a("span"),H=h("\u0E42\u0E21\u0E40\u0E14\u0E25 Decoder"),N=m(),oe(E.$$.fragment),D=m(),oe(w.$$.fragment),R=m(),y=a("p"),J=h("\u0E42\u0E21\u0E40\u0E14\u0E25 decoder \u0E43\u0E0A\u0E49\u0E40\u0E1E\u0E35\u0E22\u0E07\u0E2A\u0E48\u0E27\u0E19 decoder \u0E08\u0E32\u0E01\u0E42\u0E21\u0E40\u0E14\u0E25 Transformer \u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 \u0E43\u0E19\u0E41\u0E15\u0E48\u0E25\u0E30\u0E0A\u0E31\u0E49\u0E19 attention layer \u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E04\u0E33\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E33\u0E41\u0E2B\u0E19\u0E48\u0E07\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32\u0E43\u0E19\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E44\u0E14\u0E49\u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 \u0E42\u0E21\u0E40\u0E14\u0E25\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49\u0E40\u0E23\u0E35\u0E22\u0E01\u0E27\u0E48\u0E32 "),I=a("em"),O=h("\u0E42\u0E21\u0E40\u0E14\u0E25 auto-regressive"),B=m(),x=a("p"),Q=h("\u0E42\u0E21\u0E40\u0E14\u0E25 pretrain \u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E43\u0E0A\u0E49\u0E43\u0E19\u0E01\u0E32\u0E23\u0E17\u0E33\u0E19\u0E32\u0E22\u0E04\u0E33\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E43\u0E19\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04 \u0E40\u0E2B\u0E21\u0E32\u0E30\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E07\u0E32\u0E19\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21"),U=m(),b=a("p"),j=h("\u0E15\u0E31\u0E27\u0E41\u0E17\u0E19\u0E42\u0E21\u0E40\u0E14\u0E25\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E44\u0E14\u0E49\u0E41\u0E01\u0E48:"),X=m(),f=a("ul"),S=a("li"),g=a("a"),K=h("CTRL"),V=m(),k=a("li"),L=a("a"),W=h("GPT"),Z=m(),G=a("li"),P=a("a"),ee=h("GPT-2"),te=m(),q=a("li"),T=a("a"),re=h("Transformer XL"),this.h()},l(e){const l=Ae('[data-svelte="svelte-1phssyn"]',document.head);p=o(l,"META",{name:!0,content:!0}),l.forEach(t),M=c(e),u=o(e,"H1",{class:!0});var z=s(u);_=o(z,"A",{id:!0,class:!0,href:!0});var ce=s(_);A=o(ce,"SPAN",{});var pe=s(A);le($.$$.fragment,pe),pe.forEach(t),ce.forEach(t),F=c(z),C=o(z,"SPAN",{});var ue=s(C);H=d(ue,"\u0E42\u0E21\u0E40\u0E14\u0E25 Decoder"),ue.forEach(t),z.forEach(t),N=c(e),le(E.$$.fragment,e),D=c(e),le(w.$$.fragment,e),R=c(e),y=o(e,"P",{});var ae=s(y);J=d(ae,"\u0E42\u0E21\u0E40\u0E14\u0E25 decoder \u0E43\u0E0A\u0E49\u0E40\u0E1E\u0E35\u0E22\u0E07\u0E2A\u0E48\u0E27\u0E19 decoder \u0E08\u0E32\u0E01\u0E42\u0E21\u0E40\u0E14\u0E25 Transformer \u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 \u0E43\u0E19\u0E41\u0E15\u0E48\u0E25\u0E30\u0E0A\u0E31\u0E49\u0E19 attention layer \u0E2A\u0E32\u0E21\u0E32\u0E23\u0E16\u0E40\u0E02\u0E49\u0E32\u0E16\u0E36\u0E07\u0E04\u0E33\u0E17\u0E35\u0E48\u0E2D\u0E22\u0E39\u0E48\u0E15\u0E33\u0E41\u0E2B\u0E19\u0E48\u0E07\u0E01\u0E48\u0E2D\u0E19\u0E2B\u0E19\u0E49\u0E32\u0E43\u0E19\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04\u0E44\u0E14\u0E49\u0E40\u0E17\u0E48\u0E32\u0E19\u0E31\u0E49\u0E19 \u0E42\u0E21\u0E40\u0E14\u0E25\u0E40\u0E2B\u0E25\u0E48\u0E32\u0E19\u0E35\u0E49\u0E40\u0E23\u0E35\u0E22\u0E01\u0E27\u0E48\u0E32 "),I=o(ae,"EM",{});var he=s(I);O=d(he,"\u0E42\u0E21\u0E40\u0E14\u0E25 auto-regressive"),he.forEach(t),ae.forEach(t),B=c(e),x=o(e,"P",{});var de=s(x);Q=d(de,"\u0E42\u0E21\u0E40\u0E14\u0E25 pretrain \u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E43\u0E0A\u0E49\u0E43\u0E19\u0E01\u0E32\u0E23\u0E17\u0E33\u0E19\u0E32\u0E22\u0E04\u0E33\u0E15\u0E48\u0E2D\u0E44\u0E1B\u0E43\u0E19\u0E1B\u0E23\u0E30\u0E42\u0E22\u0E04 \u0E40\u0E2B\u0E21\u0E32\u0E30\u0E2A\u0E33\u0E2B\u0E23\u0E31\u0E1A\u0E07\u0E32\u0E19\u0E43\u0E19\u0E01\u0E32\u0E23\u0E2A\u0E23\u0E49\u0E32\u0E07\u0E02\u0E49\u0E2D\u0E04\u0E27\u0E32\u0E21"),de.forEach(t),U=c(e),b=o(e,"P",{});var _e=s(b);j=d(_e,"\u0E15\u0E31\u0E27\u0E41\u0E17\u0E19\u0E42\u0E21\u0E40\u0E14\u0E25\u0E43\u0E19\u0E01\u0E25\u0E38\u0E48\u0E21\u0E19\u0E35\u0E49\u0E44\u0E14\u0E49\u0E41\u0E01\u0E48:"),_e.forEach(t),X=c(e),f=o(e,"UL",{});var v=s(f);S=o(v,"LI",{});var ve=s(S);g=o(ve,"A",{href:!0,rel:!0});var $e=s(g);K=d($e,"CTRL"),$e.forEach(t),ve.forEach(t),V=c(v),k=o(v,"LI",{});var Ee=s(k);L=o(Ee,"A",{href:!0,rel:!0});var we=s(L);W=d(we,"GPT"),we.forEach(t),Ee.forEach(t),Z=c(v),G=o(v,"LI",{});var ye=s(G);P=o(ye,"A",{href:!0,rel:!0});var ge=s(P);ee=d(ge,"GPT-2"),ge.forEach(t),ye.forEach(t),te=c(v),q=o(v,"LI",{});var Le=s(q);T=o(Le,"A",{href:!0,rel:!0});var Pe=s(T);re=d(Pe,"Transformer XL"),Pe.forEach(t),Le.forEach(t),v.forEach(t),this.h()},h(){n(p,"name","hf:doc:metadata"),n(p,"content",JSON.stringify(Me)),n(_,"id","decoder"),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","#decoder"),n(u,"class","relative group"),n(g,"href","https://huggingface.co/transformers/model_doc/ctrl.html"),n(g,"rel","nofollow"),n(L,"href","https://huggingface.co/transformers/model_doc/gpt.html"),n(L,"rel","nofollow"),n(P,"href","https://huggingface.co/transformers/model_doc/gpt2.html"),n(P,"rel","nofollow"),n(T,"href","https://huggingface.co/transformers/model_doc/transformerxl.html"),n(T,"rel","nofollow")},m(e,l){r(document.head,p),i(e,M,l),i(e,u,l),r(u,_),r(_,A),se($,A,null),r(u,F),r(u,C),r(C,H),i(e,N,l),se(E,e,l),i(e,D,l),se(w,e,l),i(e,R,l),i(e,y,l),r(y,J),r(y,I),r(I,O),i(e,B,l),i(e,x,l),r(x,Q),i(e,U,l),i(e,b,l),r(b,j),i(e,X,l),i(e,f,l),r(f,S),r(S,g),r(g,K),r(f,V),r(f,k),r(k,L),r(L,W),r(f,Z),r(f,G),r(G,P),r(P,ee),r(f,te),r(f,q),r(q,T),r(T,re),Y=!0},p:Ce,i(e){Y||(ne($.$$.fragment,e),ne(E.$$.fragment,e),ne(w.$$.fragment,e),Y=!0)},o(e){fe($.$$.fragment,e),fe(E.$$.fragment,e),fe(w.$$.fragment,e),Y=!1},d(e){t(p),e&&t(M),e&&t(u),ie($),e&&t(N),ie(E,e),e&&t(D),ie(w,e),e&&t(R),e&&t(y),e&&t(B),e&&t(x),e&&t(U),e&&t(b),e&&t(X),e&&t(f)}}}const Me={local:"decoder",title:"\u0E42\u0E21\u0E40\u0E14\u0E25 Decoder"};function Ne(me){return Ie(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xe extends Te{constructor(p){super();xe(this,p,Ne,qe,be,{})}}export{Xe as default,Me as metadata};
