import{S as kt,i as yt,s as $t,e as a,k as s,w as ft,t as m,M as Tt,c,d as h,m as l,a as i,x as vt,h as p,b as y,G as n,g as v,y as gt,L as Et,q as dt,o as _t,B as bt,v as wt}from"../../chunks/vendor-hf-doc-builder.js";import{I as It}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as Lt}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function zt(nt){let u,N,f,g,$,d,M,T,D,S,_,q,b,U,A,e,E,F,G,w,J,O,I,R,j,L,K,Q,z,V,W,x,X,Y,P,Z,B,k,tt,C;return d=new It({}),_=new Lt({props:{chapter:2,classNames:"absolute z-10 right-0 top-0"}}),{c(){u=a("meta"),N=s(),f=a("h1"),g=a("a"),$=a("span"),ft(d.$$.fragment),M=s(),T=a("span"),D=m("Ho\xE0n th\xE0nh c\xE1ch s\u1EED d\u1EE5ng c\u01A1 b\u1EA3n!"),S=s(),ft(_.$$.fragment),q=s(),b=a("p"),U=m("Th\u1EADt tuy\u1EC7t v\u1EDDi khi theo d\xF5i kh\xF3a h\u1ECDc \u0111\u1EBFn \u0111\xE2y! T\u1ED5ng k\u1EBFt l\u1EA1i, trong ch\u01B0\u01A1ng n\xE0y b\u1EA1n:"),A=s(),e=a("ul"),E=a("li"),F=m("\u0110\xE3 h\u1ECDc c\xE1c kh\u1ED1i c\u01A1 b\u1EA3n c\u1EE7a m\xF4 h\xECnh Transformer."),G=s(),w=a("li"),J=m("\u0110\xE3 h\u1ECDc nh\u1EEFng g\xEC t\u1EA1o n\xEAn pipeline cho vi\u1EC7c tokenize."),O=s(),I=a("li"),R=m("Bi\u1EBFt c\xE1ch s\u1EED d\u1EE5ng m\xF4 h\xECnh Transformer trong th\u1EF1c t\u1EBF."),j=s(),L=a("li"),K=m("\u0110\xE3 h\u1ECDc c\xE1ch s\u1EED d\u1EE5ng tokenizer \u0111\u1EC3 chuy\u1EC3n \u0111\u1ED5i v\u0103n b\u1EA3n th\xE0nh tensors m\xE0 m\xF4 h\xECnh c\xF3 th\u1EC3 hi\u1EC3u \u0111\u01B0\u1EE3c."),Q=s(),z=a("li"),V=m("Thi\u1EBFt l\u1EADp tokenizer v\xE0 m\u1ED9t m\xF4 h\xECnh c\xF9ng nhau \u0111\u1EC3 chuy\u1EC3n t\u1EEB v\u0103n b\u1EA3n \u0111\u1EA7u v\xE0o th\xE0nh d\u1EF1 \u0111o\xE1n \u0111\u1EA7u ra."),W=s(),x=a("li"),X=m("T\xECm hi\u1EC3u nh\u1EEFng h\u1EA1n ch\u1EBF c\u1EE7a ID \u0111\u1EA7u v\xE0o v\xE0 t\xECm hi\u1EC3u v\u1EC1 l\u1EDBp attantion mask."),Y=s(),P=a("li"),Z=m("Ngh\u1ECBch c\xE1c ph\u01B0\u01A1ng ph\xE1p tokenizer linh ho\u1EA1t v\xE0 c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh."),B=s(),k=a("p"),tt=m("T\u1EEB b\xE2y gi\u1EDD, b\u1EA1n s\u1EBD c\xF3 th\u1EC3 t\u1EF1 do kh\xE1m ph\xE1 c\xE1c t\xE0i li\u1EC7u \u{1F917} Transformers: t\u1EEB v\u1EF1ng s\u1EBD nghe c\xF3 v\u1EBB quen thu\u1ED9c v\xE0 b\u1EA1n \u0111\xE3 th\u1EA5y c\xE1c ph\u01B0\u01A1ng ph\xE1p b\u1EA1n s\u1EBD s\u1EED d\u1EE5ng ph\u1EA7n l\u1EDBn th\u1EDDi gian."),this.h()},l(t){const r=Tt('[data-svelte="svelte-1phssyn"]',document.head);u=c(r,"META",{name:!0,content:!0}),r.forEach(h),N=l(t),f=c(t,"H1",{class:!0});var H=i(f);g=c(H,"A",{id:!0,class:!0,href:!0});var ht=i(g);$=c(ht,"SPAN",{});var et=i($);vt(d.$$.fragment,et),et.forEach(h),ht.forEach(h),M=l(H),T=c(H,"SPAN",{});var at=i(T);D=p(at,"Ho\xE0n th\xE0nh c\xE1ch s\u1EED d\u1EE5ng c\u01A1 b\u1EA3n!"),at.forEach(h),H.forEach(h),S=l(t),vt(_.$$.fragment,t),q=l(t),b=c(t,"P",{});var ct=i(b);U=p(ct,"Th\u1EADt tuy\u1EC7t v\u1EDDi khi theo d\xF5i kh\xF3a h\u1ECDc \u0111\u1EBFn \u0111\xE2y! T\u1ED5ng k\u1EBFt l\u1EA1i, trong ch\u01B0\u01A1ng n\xE0y b\u1EA1n:"),ct.forEach(h),A=l(t),e=c(t,"UL",{});var o=i(e);E=c(o,"LI",{});var ot=i(E);F=p(ot,"\u0110\xE3 h\u1ECDc c\xE1c kh\u1ED1i c\u01A1 b\u1EA3n c\u1EE7a m\xF4 h\xECnh Transformer."),ot.forEach(h),G=l(o),w=c(o,"LI",{});var it=i(w);J=p(it,"\u0110\xE3 h\u1ECDc nh\u1EEFng g\xEC t\u1EA1o n\xEAn pipeline cho vi\u1EC7c tokenize."),it.forEach(h),O=l(o),I=c(o,"LI",{});var rt=i(I);R=p(rt,"Bi\u1EBFt c\xE1ch s\u1EED d\u1EE5ng m\xF4 h\xECnh Transformer trong th\u1EF1c t\u1EBF."),rt.forEach(h),j=l(o),L=c(o,"LI",{});var st=i(L);K=p(st,"\u0110\xE3 h\u1ECDc c\xE1ch s\u1EED d\u1EE5ng tokenizer \u0111\u1EC3 chuy\u1EC3n \u0111\u1ED5i v\u0103n b\u1EA3n th\xE0nh tensors m\xE0 m\xF4 h\xECnh c\xF3 th\u1EC3 hi\u1EC3u \u0111\u01B0\u1EE3c."),st.forEach(h),Q=l(o),z=c(o,"LI",{});var lt=i(z);V=p(lt,"Thi\u1EBFt l\u1EADp tokenizer v\xE0 m\u1ED9t m\xF4 h\xECnh c\xF9ng nhau \u0111\u1EC3 chuy\u1EC3n t\u1EEB v\u0103n b\u1EA3n \u0111\u1EA7u v\xE0o th\xE0nh d\u1EF1 \u0111o\xE1n \u0111\u1EA7u ra."),lt.forEach(h),W=l(o),x=c(o,"LI",{});var mt=i(x);X=p(mt,"T\xECm hi\u1EC3u nh\u1EEFng h\u1EA1n ch\u1EBF c\u1EE7a ID \u0111\u1EA7u v\xE0o v\xE0 t\xECm hi\u1EC3u v\u1EC1 l\u1EDBp attantion mask."),mt.forEach(h),Y=l(o),P=c(o,"LI",{});var pt=i(P);Z=p(pt,"Ngh\u1ECBch c\xE1c ph\u01B0\u01A1ng ph\xE1p tokenizer linh ho\u1EA1t v\xE0 c\xF3 th\u1EC3 \u0111\u1ECBnh c\u1EA5u h\xECnh."),pt.forEach(h),o.forEach(h),B=l(t),k=c(t,"P",{});var ut=i(k);tt=p(ut,"T\u1EEB b\xE2y gi\u1EDD, b\u1EA1n s\u1EBD c\xF3 th\u1EC3 t\u1EF1 do kh\xE1m ph\xE1 c\xE1c t\xE0i li\u1EC7u \u{1F917} Transformers: t\u1EEB v\u1EF1ng s\u1EBD nghe c\xF3 v\u1EBB quen thu\u1ED9c v\xE0 b\u1EA1n \u0111\xE3 th\u1EA5y c\xE1c ph\u01B0\u01A1ng ph\xE1p b\u1EA1n s\u1EBD s\u1EED d\u1EE5ng ph\u1EA7n l\u1EDBn th\u1EDDi gian."),ut.forEach(h),this.h()},h(){y(u,"name","hf:doc:metadata"),y(u,"content",JSON.stringify(xt)),y(g,"id","hon-thnh-cch-s-dng-c-bn"),y(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"),y(g,"href","#hon-thnh-cch-s-dng-c-bn"),y(f,"class","relative group")},m(t,r){n(document.head,u),v(t,N,r),v(t,f,r),n(f,g),n(g,$),gt(d,$,null),n(f,M),n(f,T),n(T,D),v(t,S,r),gt(_,t,r),v(t,q,r),v(t,b,r),n(b,U),v(t,A,r),v(t,e,r),n(e,E),n(E,F),n(e,G),n(e,w),n(w,J),n(e,O),n(e,I),n(I,R),n(e,j),n(e,L),n(L,K),n(e,Q),n(e,z),n(z,V),n(e,W),n(e,x),n(x,X),n(e,Y),n(e,P),n(P,Z),v(t,B,r),v(t,k,r),n(k,tt),C=!0},p:Et,i(t){C||(dt(d.$$.fragment,t),dt(_.$$.fragment,t),C=!0)},o(t){_t(d.$$.fragment,t),_t(_.$$.fragment,t),C=!1},d(t){h(u),t&&h(N),t&&h(f),bt(d),t&&h(S),bt(_,t),t&&h(q),t&&h(b),t&&h(A),t&&h(e),t&&h(B),t&&h(k)}}}const xt={local:"hon-thnh-cch-s-dng-c-bn",title:"Ho\xE0n th\xE0nh c\xE1ch s\u1EED d\u1EE5ng c\u01A1 b\u1EA3n!"};function Pt(nt){return wt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Bt extends kt{constructor(u){super();yt(this,u,Pt,zt,$t,{})}}export{Bt as default,xt as metadata};
