import{S as Jt,i as Vt,s as Yt,e as h,k as u,w as vt,t as i,M as jt,c as a,d as e,m as f,a as r,x as gt,h as m,b as l,G as n,g as s,y as _t,L as zt,q as dt,o as Et,B as yt,v as Ft}from"../../chunks/vendor-hf-doc-builder.js";import{Y as Gt}from"../../chunks/Youtube-hf-doc-builder.js";import{I as Ht}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Ot}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function Qt(bt){let g,J,_,d,M,E,K,P,W,V,y,Y,b,j,p,X,I,Z,tt,N,et,nt,z,T,ht,F,x,at,G,C,rt,H,o,q,$,ct,lt,S,w,ot,it,k,A,mt,st,U,L,ut,ft,D,R,pt,O;return E=new Ht({}),y=new Ot({props:{chapter:1,classNames:"absolute z-10 right-0 top-0"}}),b=new Gt({props:{id:"MUqNwgPjJvQ"}}),{c(){g=h("meta"),J=u(),_=h("h1"),d=h("a"),M=h("span"),vt(E.$$.fragment),K=u(),P=h("span"),W=i("C\xE1c m\xF4 h\xECnh m\xE3 h\xF3a"),V=u(),vt(y.$$.fragment),Y=u(),vt(b.$$.fragment),j=u(),p=h("p"),X=i("C\xE1c m\xF4 h\xECnh m\xE3 h\xF3a ch\u1EC9 s\u1EED d\u1EE5ng ph\u1EA7n m\xE3 h\xF3a c\u1EE7a m\xF4 h\xECnh Transformer. \u1EDE m\u1ED7i b\u01B0\u1EDBc, c\xE1c l\u1EDBp attention c\xF3 th\u1EC3 truy c\u1EADp t\u1EA5t c\u1EA3 c\xE1c t\u1EEB trong c\xE2u ban \u0111\u1EA7u. Nh\u1EEFng m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng c\xF3 \u0111\u1EB7c tr\u01B0ng l\xE0 ch\xFA \xFD \u201Chai chi\u1EC1u\u201D v\xE0 th\u01B0\u1EDDng \u0111\u01B0\u1EE3c g\u1ECDi l\xE0 m\xF4 h\xECnh "),I=h("em"),Z=i("auto-encoding"),tt=i(" hay "),N=h("em"),et=i("m\xE3 h\xF3a t\u1EF1 \u0111\u1ED9ng"),nt=i("."),z=u(),T=h("p"),ht=i("Vi\u1EC7c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc c\xE1c m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng xoay quanh vi\u1EC7c ph\xE1 v\u1EE1 m\u1ED9t c\xE2u \u0111\xE3 cho b\u1EB1ng c\xE1ch n\xE0o \u0111\xF3 (v\xED d\u1EE5: b\u1EB1ng c\xE1ch che c\xE1c t\u1EEB ng\u1EABu nhi\xEAn trong \u0111\xF3) v\xE0 y\xEAu c\u1EA7u m\xF4 h\xECnh t\xECm ho\u1EB7c t\xE1i t\u1EA1o l\u1EA1i c\xE2u ban \u0111\u1EA7u."),F=u(),x=h("p"),at=i("M\xF4 h\xECnh m\xE3 h\xF3a ph\xF9 h\u1EE3p nh\u1EA5t cho c\xE1c t\xE1c v\u1EE5 y\xEAu c\u1EA7u hi\u1EC3u to\xE0n b\u1ED9 c\xE2u, ch\u1EB3ng h\u1EA1n nh\u01B0 ph\xE2n lo\u1EA1i c\xE2u, nh\u1EADn d\u1EA1ng th\u1EF1c th\u1EC3 \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn (v\xE0 n\xF3i chung l\xE0 ph\xE2n lo\u1EA1i t\u1EEB) v\xE0 tr\u1EA3 l\u1EDDi c\xE2u h\u1ECFi chi\u1EBFt xu\u1EA5t."),G=u(),C=h("p"),rt=i("M\u1ED9t s\u1ED1 m\xF4 h\xECnh ti\xEAu bi\u1EC3u c\u1EE7a nh\xF3m n\xE0y bao g\u1ED3m:"),H=u(),o=h("ul"),q=h("li"),$=h("a"),ct=i("ALBERT"),lt=u(),S=h("li"),w=h("a"),ot=i("BERT"),it=u(),k=h("li"),A=h("a"),mt=i("DistilBERT"),st=u(),U=h("li"),L=h("a"),ut=i("ELECTRA"),ft=u(),D=h("li"),R=h("a"),pt=i("RoBERTa"),this.h()},l(t){const c=jt('[data-svelte="svelte-1phssyn"]',document.head);g=a(c,"META",{name:!0,content:!0}),c.forEach(e),J=f(t),_=a(t,"H1",{class:!0});var Q=r(_);d=a(Q,"A",{id:!0,class:!0,href:!0});var $t=r(d);M=a($t,"SPAN",{});var wt=r(M);gt(E.$$.fragment,wt),wt.forEach(e),$t.forEach(e),K=f(Q),P=a(Q,"SPAN",{});var At=r(P);W=m(At,"C\xE1c m\xF4 h\xECnh m\xE3 h\xF3a"),At.forEach(e),Q.forEach(e),V=f(t),gt(y.$$.fragment,t),Y=f(t),gt(b.$$.fragment,t),j=f(t),p=a(t,"P",{});var B=r(p);X=m(B,"C\xE1c m\xF4 h\xECnh m\xE3 h\xF3a ch\u1EC9 s\u1EED d\u1EE5ng ph\u1EA7n m\xE3 h\xF3a c\u1EE7a m\xF4 h\xECnh Transformer. \u1EDE m\u1ED7i b\u01B0\u1EDBc, c\xE1c l\u1EDBp attention c\xF3 th\u1EC3 truy c\u1EADp t\u1EA5t c\u1EA3 c\xE1c t\u1EEB trong c\xE2u ban \u0111\u1EA7u. Nh\u1EEFng m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng c\xF3 \u0111\u1EB7c tr\u01B0ng l\xE0 ch\xFA \xFD \u201Chai chi\u1EC1u\u201D v\xE0 th\u01B0\u1EDDng \u0111\u01B0\u1EE3c g\u1ECDi l\xE0 m\xF4 h\xECnh "),I=a(B,"EM",{});var Lt=r(I);Z=m(Lt,"auto-encoding"),Lt.forEach(e),tt=m(B," hay "),N=a(B,"EM",{});var Rt=r(N);et=m(Rt,"m\xE3 h\xF3a t\u1EF1 \u0111\u1ED9ng"),Rt.forEach(e),nt=m(B,"."),B.forEach(e),z=f(t),T=a(t,"P",{});var Tt=r(T);ht=m(Tt,"Vi\u1EC7c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc c\xE1c m\xF4 h\xECnh n\xE0y th\u01B0\u1EDDng xoay quanh vi\u1EC7c ph\xE1 v\u1EE1 m\u1ED9t c\xE2u \u0111\xE3 cho b\u1EB1ng c\xE1ch n\xE0o \u0111\xF3 (v\xED d\u1EE5: b\u1EB1ng c\xE1ch che c\xE1c t\u1EEB ng\u1EABu nhi\xEAn trong \u0111\xF3) v\xE0 y\xEAu c\u1EA7u m\xF4 h\xECnh t\xECm ho\u1EB7c t\xE1i t\u1EA1o l\u1EA1i c\xE2u ban \u0111\u1EA7u."),Tt.forEach(e),F=f(t),x=a(t,"P",{});var xt=r(x);at=m(xt,"M\xF4 h\xECnh m\xE3 h\xF3a ph\xF9 h\u1EE3p nh\u1EA5t cho c\xE1c t\xE1c v\u1EE5 y\xEAu c\u1EA7u hi\u1EC3u to\xE0n b\u1ED9 c\xE2u, ch\u1EB3ng h\u1EA1n nh\u01B0 ph\xE2n lo\u1EA1i c\xE2u, nh\u1EADn d\u1EA1ng th\u1EF1c th\u1EC3 \u0111\u01B0\u1EE3c \u0111\u1EB7t t\xEAn (v\xE0 n\xF3i chung l\xE0 ph\xE2n lo\u1EA1i t\u1EEB) v\xE0 tr\u1EA3 l\u1EDDi c\xE2u h\u1ECFi chi\u1EBFt xu\u1EA5t."),xt.forEach(e),G=f(t),C=a(t,"P",{});var Ct=r(C);rt=m(Ct,"M\u1ED9t s\u1ED1 m\xF4 h\xECnh ti\xEAu bi\u1EC3u c\u1EE7a nh\xF3m n\xE0y bao g\u1ED3m:"),Ct.forEach(e),H=f(t),o=a(t,"UL",{});var v=r(o);q=a(v,"LI",{});var Bt=r(q);$=a(Bt,"A",{href:!0,rel:!0});var Mt=r($);ct=m(Mt,"ALBERT"),Mt.forEach(e),Bt.forEach(e),lt=f(v),S=a(v,"LI",{});var Pt=r(S);w=a(Pt,"A",{href:!0,rel:!0});var It=r(w);ot=m(It,"BERT"),It.forEach(e),Pt.forEach(e),it=f(v),k=a(v,"LI",{});var Nt=r(k);A=a(Nt,"A",{href:!0,rel:!0});var qt=r(A);mt=m(qt,"DistilBERT"),qt.forEach(e),Nt.forEach(e),st=f(v),U=a(v,"LI",{});var St=r(U);L=a(St,"A",{href:!0,rel:!0});var kt=r(L);ut=m(kt,"ELECTRA"),kt.forEach(e),St.forEach(e),ft=f(v),D=a(v,"LI",{});var Ut=r(D);R=a(Ut,"A",{href:!0,rel:!0});var Dt=r(R);pt=m(Dt,"RoBERTa"),Dt.forEach(e),Ut.forEach(e),v.forEach(e),this.h()},h(){l(g,"name","hf:doc:metadata"),l(g,"content",JSON.stringify(Kt)),l(d,"id","cc-m-hnh-m-ha"),l(d,"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"),l(d,"href","#cc-m-hnh-m-ha"),l(_,"class","relative group"),l($,"href","https://huggingface.co/transformers/model_doc/albert.html"),l($,"rel","nofollow"),l(w,"href","https://huggingface.co/transformers/model_doc/bert.html"),l(w,"rel","nofollow"),l(A,"href","https://huggingface.co/transformers/model_doc/distilbert.html"),l(A,"rel","nofollow"),l(L,"href","https://huggingface.co/transformers/model_doc/electra.html"),l(L,"rel","nofollow"),l(R,"href","https://huggingface.co/transformers/model_doc/roberta.html"),l(R,"rel","nofollow")},m(t,c){n(document.head,g),s(t,J,c),s(t,_,c),n(_,d),n(d,M),_t(E,M,null),n(_,K),n(_,P),n(P,W),s(t,V,c),_t(y,t,c),s(t,Y,c),_t(b,t,c),s(t,j,c),s(t,p,c),n(p,X),n(p,I),n(I,Z),n(p,tt),n(p,N),n(N,et),n(p,nt),s(t,z,c),s(t,T,c),n(T,ht),s(t,F,c),s(t,x,c),n(x,at),s(t,G,c),s(t,C,c),n(C,rt),s(t,H,c),s(t,o,c),n(o,q),n(q,$),n($,ct),n(o,lt),n(o,S),n(S,w),n(w,ot),n(o,it),n(o,k),n(k,A),n(A,mt),n(o,st),n(o,U),n(U,L),n(L,ut),n(o,ft),n(o,D),n(D,R),n(R,pt),O=!0},p:zt,i(t){O||(dt(E.$$.fragment,t),dt(y.$$.fragment,t),dt(b.$$.fragment,t),O=!0)},o(t){Et(E.$$.fragment,t),Et(y.$$.fragment,t),Et(b.$$.fragment,t),O=!1},d(t){e(g),t&&e(J),t&&e(_),yt(E),t&&e(V),yt(y,t),t&&e(Y),yt(b,t),t&&e(j),t&&e(p),t&&e(z),t&&e(T),t&&e(F),t&&e(x),t&&e(G),t&&e(C),t&&e(H),t&&e(o)}}}const Kt={local:"cc-m-hnh-m-ha",title:"C\xE1c m\xF4 h\xECnh m\xE3 h\xF3a"};function Wt(bt){return Ft(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class he extends Jt{constructor(g){super();Vt(this,g,Wt,Qt,Yt,{})}}export{he as default,Kt as metadata};
