import{S as St,i as kt,s as Gt,e as r,k as f,w as mt,t as c,M as Rt,c as a,d as e,m as u,a as l,x as ft,h as s,b as h,G as n,g as i,y as ut,L as Bt,q as pt,o as vt,B as _t,v as Ut}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Vt}from"../../chunks/Youtube-hf-doc-builder.js";import{I as Xt}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Yt}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function zt(gt){let v,B,_,g,M,y,Q,A,j,U,$,V,E,X,p,D,I,K,W,N,Z,tt,Y,L,et,z,x,nt,F,T,rt,H,m,S,w,at,ot,k,b,lt,ht,G,C,it,ct,R,P,st,J;return y=new Xt({}),$=new Yt({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),E=new Vt({props:{id:"d_ixlCubqQw"}}),{c(){v=r("meta"),B=f(),_=r("h1"),g=r("a"),M=r("span"),mt(y.$$.fragment),Q=f(),A=r("span"),j=c("CC\xE1c m\xF4 h\xECnh gi\u1EA3i m\xE3"),U=f(),mt($.$$.fragment),V=f(),mt(E.$$.fragment),X=f(),p=r("p"),D=c("M\xF4 h\xECnh gi\u1EA3i m\xE3 ch\u1EC9 s\u1EED d\u1EE5ng ph\u1EA7n gi\u1EA3i m\xE3 c\u1EE7a m\xF4 h\xECnh Transformer. \u1EDE m\u1ED7i b\u01B0\u1EDBc, \u0111\u1ED1i v\u1EDBi m\u1ED9t t\u1EEB nh\u1EA5t \u0111\u1ECBnh, c\xE1c l\u1EDBp attention ch\u1EC9 c\xF3 th\u1EC3 truy c\u1EADp c\xE1c t\u1EEB \u0111\u01B0\u1EE3c \u0111\u1EB7t tr\u01B0\u1EDBc n\xF3 trong c\xE2u. Nh\u1EEFng m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng \u0111\u01B0\u1EE3c g\u1ECDi l\xE0 m\xF4 h\xECnh "),I=r("em"),K=c("auto-regressive"),W=c(" hay "),N=r("em"),Z=c("h\u1ED3i quy t\u1EF1 \u0111\u1ED9ng"),tt=c("."),Y=f(),L=r("p"),et=c("Vi\u1EC7c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc c\xE1c m\xF4 h\xECnh gi\u1EA3i m\xE3 th\u01B0\u1EDDng xoay quanh vi\u1EC7c d\u1EF1 \u0111o\xE1n t\u1EEB ti\u1EBFp theo trong c\xE2u."),z=f(),x=r("p"),nt=c("C\xE1c m\xF4 h\xECnh n\xE0y ph\xF9 h\u1EE3p nh\u1EA5t cho c\xE1c t\xE1c v\u1EE5 li\xEAn quan \u0111\u1EBFn vi\u1EC7c t\u1EA1o v\u0103n b\u1EA3n."),F=f(),T=r("p"),rt=c("M\u1ED9t s\u1ED1 m\xF4 h\xECnh ti\xEAu bi\u1EC3u c\u1EE7a nh\xF3m n\xE0y bao g\u1ED3m:"),H=f(),m=r("ul"),S=r("li"),w=r("a"),at=c("CTRL"),ot=f(),k=r("li"),b=r("a"),lt=c("GPT"),ht=f(),G=r("li"),C=r("a"),it=c("GPT-2"),ct=f(),R=r("li"),P=r("a"),st=c("Transformer XL"),this.h()},l(t){const o=Rt('[data-svelte="svelte-1phssyn"]',document.head);v=a(o,"META",{name:!0,content:!0}),o.forEach(e),B=u(t),_=a(t,"H1",{class:!0});var O=l(_);g=a(O,"A",{id:!0,class:!0,href:!0});var dt=l(g);M=a(dt,"SPAN",{});var yt=l(M);ft(y.$$.fragment,yt),yt.forEach(e),dt.forEach(e),Q=u(O),A=a(O,"SPAN",{});var $t=l(A);j=s($t,"CC\xE1c m\xF4 h\xECnh gi\u1EA3i m\xE3"),$t.forEach(e),O.forEach(e),U=u(t),ft($.$$.fragment,t),V=u(t),ft(E.$$.fragment,t),X=u(t),p=a(t,"P",{});var q=l(p);D=s(q,"M\xF4 h\xECnh gi\u1EA3i m\xE3 ch\u1EC9 s\u1EED d\u1EE5ng ph\u1EA7n gi\u1EA3i m\xE3 c\u1EE7a m\xF4 h\xECnh Transformer. \u1EDE m\u1ED7i b\u01B0\u1EDBc, \u0111\u1ED1i v\u1EDBi m\u1ED9t t\u1EEB nh\u1EA5t \u0111\u1ECBnh, c\xE1c l\u1EDBp attention ch\u1EC9 c\xF3 th\u1EC3 truy c\u1EADp c\xE1c t\u1EEB \u0111\u01B0\u1EE3c \u0111\u1EB7t tr\u01B0\u1EDBc n\xF3 trong c\xE2u. Nh\u1EEFng m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng \u0111\u01B0\u1EE3c g\u1ECDi l\xE0 m\xF4 h\xECnh "),I=a(q,"EM",{});var Et=l(I);K=s(Et,"auto-regressive"),Et.forEach(e),W=s(q," hay "),N=a(q,"EM",{});var wt=l(N);Z=s(wt,"h\u1ED3i quy t\u1EF1 \u0111\u1ED9ng"),wt.forEach(e),tt=s(q,"."),q.forEach(e),Y=u(t),L=a(t,"P",{});var bt=l(L);et=s(bt,"Vi\u1EC7c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc c\xE1c m\xF4 h\xECnh gi\u1EA3i m\xE3 th\u01B0\u1EDDng xoay quanh vi\u1EC7c d\u1EF1 \u0111o\xE1n t\u1EEB ti\u1EBFp theo trong c\xE2u."),bt.forEach(e),z=u(t),x=a(t,"P",{});var Ct=l(x);nt=s(Ct,"C\xE1c m\xF4 h\xECnh n\xE0y ph\xF9 h\u1EE3p nh\u1EA5t cho c\xE1c t\xE1c v\u1EE5 li\xEAn quan \u0111\u1EBFn vi\u1EC7c t\u1EA1o v\u0103n b\u1EA3n."),Ct.forEach(e),F=u(t),T=a(t,"P",{});var Pt=l(T);rt=s(Pt,"M\u1ED9t s\u1ED1 m\xF4 h\xECnh ti\xEAu bi\u1EC3u c\u1EE7a nh\xF3m n\xE0y bao g\u1ED3m:"),Pt.forEach(e),H=u(t),m=a(t,"UL",{});var d=l(m);S=a(d,"LI",{});var Lt=l(S);w=a(Lt,"A",{href:!0,rel:!0});var xt=l(w);at=s(xt,"CTRL"),xt.forEach(e),Lt.forEach(e),ot=u(d),k=a(d,"LI",{});var Tt=l(k);b=a(Tt,"A",{href:!0,rel:!0});var qt=l(b);lt=s(qt,"GPT"),qt.forEach(e),Tt.forEach(e),ht=u(d),G=a(d,"LI",{});var Mt=l(G);C=a(Mt,"A",{href:!0,rel:!0});var At=l(C);it=s(At,"GPT-2"),At.forEach(e),Mt.forEach(e),ct=u(d),R=a(d,"LI",{});var It=l(R);P=a(It,"A",{href:!0,rel:!0});var Nt=l(P);st=s(Nt,"Transformer XL"),Nt.forEach(e),It.forEach(e),d.forEach(e),this.h()},h(){h(v,"name","hf:doc:metadata"),h(v,"content",JSON.stringify(Ft)),h(g,"id","ccc-m-hnh-gii-m"),h(g,"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"),h(g,"href","#ccc-m-hnh-gii-m"),h(_,"class","relative group"),h(w,"href","https://huggingface.co/transformers/model_doc/ctrl.html"),h(w,"rel","nofollow"),h(b,"href","https://huggingface.co/transformers/model_doc/gpt.html"),h(b,"rel","nofollow"),h(C,"href","https://huggingface.co/transformers/model_doc/gpt2.html"),h(C,"rel","nofollow"),h(P,"href","https://huggingface.co/transformers/model_doc/transfo-xl.html"),h(P,"rel","nofollow")},m(t,o){n(document.head,v),i(t,B,o),i(t,_,o),n(_,g),n(g,M),ut(y,M,null),n(_,Q),n(_,A),n(A,j),i(t,U,o),ut($,t,o),i(t,V,o),ut(E,t,o),i(t,X,o),i(t,p,o),n(p,D),n(p,I),n(I,K),n(p,W),n(p,N),n(N,Z),n(p,tt),i(t,Y,o),i(t,L,o),n(L,et),i(t,z,o),i(t,x,o),n(x,nt),i(t,F,o),i(t,T,o),n(T,rt),i(t,H,o),i(t,m,o),n(m,S),n(S,w),n(w,at),n(m,ot),n(m,k),n(k,b),n(b,lt),n(m,ht),n(m,G),n(G,C),n(C,it),n(m,ct),n(m,R),n(R,P),n(P,st),J=!0},p:Bt,i(t){J||(pt(y.$$.fragment,t),pt($.$$.fragment,t),pt(E.$$.fragment,t),J=!0)},o(t){vt(y.$$.fragment,t),vt($.$$.fragment,t),vt(E.$$.fragment,t),J=!1},d(t){e(v),t&&e(B),t&&e(_),_t(y),t&&e(U),_t($,t),t&&e(V),_t(E,t),t&&e(X),t&&e(p),t&&e(Y),t&&e(L),t&&e(z),t&&e(x),t&&e(F),t&&e(T),t&&e(H),t&&e(m)}}}const Ft={local:"ccc-m-hnh-gii-m",title:"CC\xE1c m\xF4 h\xECnh gi\u1EA3i m\xE3"};function Ht(gt){return Ut(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Kt extends St{constructor(v){super();kt(this,v,Ht,zt,Gt,{})}}export{Kt as default,Ft as metadata};
