import{S as Q,i as V,s as W,e as u,k as y,w as z,t as w,l as D,M as X,c as f,d as h,m as E,x as F,a as m,h as k,b as H,G as n,g as C,y as G,q as M,o as B,B as K,v as Y}from"../../chunks/vendor-hf-doc-builder.js";import{I as Z}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as tt}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import{F as et}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function nt(q){let e,l,o,i,p,g,v,b,P,d,A,x,s,L;return{c(){e=u("ul"),l=u("li"),o=w("\u0110\xE3 t\xECm hi\u1EC3u v\u1EC1 c\xE1c b\u1ED9 d\u1EEF li\u1EC7u trong "),i=u("a"),p=w("Hub"),g=y(),v=u("li"),b=w("\u0110\xE3 h\u1ECDc c\xE1ch t\u1EA3i v\xE0 ti\u1EC1n x\u1EED l\xFD b\u1ED9 d\u1EEF li\u1EC7u"),P=y(),d=u("li"),A=w("\u0110\xE3 h\u1ECDc c\xE1ch tinh ch\u1EC9nh v\xE0 \u0111\xE1nh gi\xE1 m\u1ED9t m\xF4 h\xECnh v\u1EDBi Keras"),x=y(),s=u("li"),L=w("\u0110\xE3 tri\u1EC3n khai c\xE1c th\u01B0\u1EDBc \u0111o t\xF9y ch\u1EC9nh"),this.h()},l(_){e=f(_,"UL",{});var c=m(e);l=f(c,"LI",{});var T=m(l);o=k(T,"\u0110\xE3 t\xECm hi\u1EC3u v\u1EC1 c\xE1c b\u1ED9 d\u1EEF li\u1EC7u trong "),i=f(T,"A",{href:!0,rel:!0});var $=m(i);p=k($,"Hub"),$.forEach(h),T.forEach(h),g=E(c),v=f(c,"LI",{});var r=m(v);b=k(r,"\u0110\xE3 h\u1ECDc c\xE1ch t\u1EA3i v\xE0 ti\u1EC1n x\u1EED l\xFD b\u1ED9 d\u1EEF li\u1EC7u"),r.forEach(h),P=E(c),d=f(c,"LI",{});var N=m(d);A=k(N,"\u0110\xE3 h\u1ECDc c\xE1ch tinh ch\u1EC9nh v\xE0 \u0111\xE1nh gi\xE1 m\u1ED9t m\xF4 h\xECnh v\u1EDBi Keras"),N.forEach(h),x=E(c),s=f(c,"LI",{});var S=m(s);L=k(S,"\u0110\xE3 tri\u1EC3n khai c\xE1c th\u01B0\u1EDBc \u0111o t\xF9y ch\u1EC9nh"),S.forEach(h),c.forEach(h),this.h()},h(){H(i,"href","https://huggingface.co/datasets"),H(i,"rel","nofollow")},m(_,c){C(_,e,c),n(e,l),n(l,o),n(l,i),n(i,p),n(e,g),n(e,v),n(v,b),n(e,P),n(e,d),n(d,A),n(e,x),n(e,s),n(s,L)},d(_){_&&h(e)}}}function ht(q){let e,l,o,i,p,g,v,b,P,d,A,x,s,L,_,c,T;return{c(){e=u("ul"),l=u("li"),o=w("\u0110\xE3 t\xECm hi\u1EC3u v\u1EC1 t\u1EADp d\u1EEF li\u1EC7u trong "),i=u("a"),p=w("Hub"),g=y(),v=u("li"),b=w("\u0110\xE3 h\u1ECDc c\xE1ch t\u1EA3i v\xE0 ti\u1EC1n x\u1EED l\xFD b\u1ED9 d\u1EEF li\u1EC7u, bao g\u1ED3m c\u1EA3 vi\u1EC7c s\u1EED d\u1EE5ng \u0111\u1EC7m \u0111\u1ED9ng v\xE0 tr\xECnh \u0111\u1ED1i chi\u1EBFu"),P=y(),d=u("li"),A=w("Th\u1EF1c hi\u1EC7n tinh ch\u1EC9nh v\xE0 \u0111\xE1nh gi\xE1 m\xF4 h\xECnh c\u1EE7a ri\xEAng b\u1EA1n"),x=y(),s=u("li"),L=w("\u0110\xE3 th\u1EF1c hi\u1EC7n m\u1ED9t v\xF2ng hu\u1EA5n luy\u1EC7n c\u1EA5p th\u1EA5p h\u01A1n"),_=y(),c=u("li"),T=w("\u0110\u01B0\u1EE3c s\u1EED d\u1EE5ng \u{1F917} Accelerate \u0111\u1EC3 d\u1EC5 d\xE0ng \u0111i\u1EC1u ch\u1EC9nh v\xF2ng l\u1EB7p hu\u1EA5n luy\u1EC7n c\u1EE7a b\u1EA1n \u0111\u1EC3 n\xF3 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi nhi\u1EC1u GPU ho\u1EB7c TPU"),this.h()},l($){e=f($,"UL",{});var r=m(e);l=f(r,"LI",{});var N=m(l);o=k(N,"\u0110\xE3 t\xECm hi\u1EC3u v\u1EC1 t\u1EADp d\u1EEF li\u1EC7u trong "),i=f(N,"A",{href:!0,rel:!0});var S=m(i);p=k(S,"Hub"),S.forEach(h),N.forEach(h),g=E(r),v=f(r,"LI",{});var I=m(v);b=k(I,"\u0110\xE3 h\u1ECDc c\xE1ch t\u1EA3i v\xE0 ti\u1EC1n x\u1EED l\xFD b\u1ED9 d\u1EEF li\u1EC7u, bao g\u1ED3m c\u1EA3 vi\u1EC7c s\u1EED d\u1EE5ng \u0111\u1EC7m \u0111\u1ED9ng v\xE0 tr\xECnh \u0111\u1ED1i chi\u1EBFu"),I.forEach(h),P=E(r),d=f(r,"LI",{});var t=m(d);A=k(t,"Th\u1EF1c hi\u1EC7n tinh ch\u1EC9nh v\xE0 \u0111\xE1nh gi\xE1 m\xF4 h\xECnh c\u1EE7a ri\xEAng b\u1EA1n"),t.forEach(h),x=E(r),s=f(r,"LI",{});var a=m(s);L=k(a,"\u0110\xE3 th\u1EF1c hi\u1EC7n m\u1ED9t v\xF2ng hu\u1EA5n luy\u1EC7n c\u1EA5p th\u1EA5p h\u01A1n"),a.forEach(h),_=E(r),c=f(r,"LI",{});var U=m(c);T=k(U,"\u0110\u01B0\u1EE3c s\u1EED d\u1EE5ng \u{1F917} Accelerate \u0111\u1EC3 d\u1EC5 d\xE0ng \u0111i\u1EC1u ch\u1EC9nh v\xF2ng l\u1EB7p hu\u1EA5n luy\u1EC7n c\u1EE7a b\u1EA1n \u0111\u1EC3 n\xF3 ho\u1EA1t \u0111\u1ED9ng v\u1EDBi nhi\u1EC1u GPU ho\u1EB7c TPU"),U.forEach(h),r.forEach(h),this.h()},h(){H(i,"href","https://huggingface.co/datasets"),H(i,"rel","nofollow")},m($,r){C($,e,r),n(e,l),n(l,o),n(l,i),n(i,p),n(e,g),n(e,v),n(v,b),n(e,P),n(e,d),n(d,A),n(e,x),n(e,s),n(s,L),n(e,_),n(e,c),n(c,T)},d($){$&&h(e)}}}function it(q){let e,l,o,i,p,g,v,b,P,d,A,x,s,L,_,c,T,$,r;o=new et({props:{fw:q[0]}}),b=new Z({}),s=new tt({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function N(t,a){return t[0]==="pt"?ht:nt}let S=N(q),I=S(q);return{c(){e=u("meta"),l=y(),z(o.$$.fragment),i=y(),p=u("h1"),g=u("a"),v=u("span"),z(b.$$.fragment),P=y(),d=u("span"),A=w("T\u1EC9nh ch\u1EC9nh, th\u1EED xem!"),x=y(),z(s.$$.fragment),L=y(),_=u("p"),c=w("Trong hai ch\u01B0\u01A1ng \u0111\u1EA7u ti\xEAn, b\u1EA1n \u0111\xE3 h\u1ECDc v\u1EC1 c\xE1c m\xF4 h\xECnh v\xE0 tokenizer, v\xE0 b\xE2y gi\u1EDD b\u1EA1n bi\u1EBFt c\xE1ch tinh ch\u1EC9nh ch\xFAng cho d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng b\u1EA1n. T\xF3m l\u1EA1i, trong ch\u01B0\u01A1ng n\xE0y b\u1EA1n:"),T=y(),I.c(),$=D(),this.h()},l(t){const a=X('[data-svelte="svelte-1phssyn"]',document.head);e=f(a,"META",{name:!0,content:!0}),a.forEach(h),l=E(t),F(o.$$.fragment,t),i=E(t),p=f(t,"H1",{class:!0});var U=m(p);g=f(U,"A",{id:!0,class:!0,href:!0});var J=m(g);v=f(J,"SPAN",{});var O=m(v);F(b.$$.fragment,O),O.forEach(h),J.forEach(h),P=E(U),d=f(U,"SPAN",{});var R=m(d);A=k(R,"T\u1EC9nh ch\u1EC9nh, th\u1EED xem!"),R.forEach(h),U.forEach(h),x=E(t),F(s.$$.fragment,t),L=E(t),_=f(t,"P",{});var j=m(_);c=k(j,"Trong hai ch\u01B0\u01A1ng \u0111\u1EA7u ti\xEAn, b\u1EA1n \u0111\xE3 h\u1ECDc v\u1EC1 c\xE1c m\xF4 h\xECnh v\xE0 tokenizer, v\xE0 b\xE2y gi\u1EDD b\u1EA1n bi\u1EBFt c\xE1ch tinh ch\u1EC9nh ch\xFAng cho d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng b\u1EA1n. T\xF3m l\u1EA1i, trong ch\u01B0\u01A1ng n\xE0y b\u1EA1n:"),j.forEach(h),T=E(t),I.l(t),$=D(),this.h()},h(){H(e,"name","hf:doc:metadata"),H(e,"content",JSON.stringify(lt)),H(g,"id","tnh-chnh-th-xem"),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","#tnh-chnh-th-xem"),H(p,"class","relative group")},m(t,a){n(document.head,e),C(t,l,a),G(o,t,a),C(t,i,a),C(t,p,a),n(p,g),n(g,v),G(b,v,null),n(p,P),n(p,d),n(d,A),C(t,x,a),G(s,t,a),C(t,L,a),C(t,_,a),n(_,c),C(t,T,a),I.m(t,a),C(t,$,a),r=!0},p(t,[a]){const U={};a&1&&(U.fw=t[0]),o.$set(U),S!==(S=N(t))&&(I.d(1),I=S(t),I&&(I.c(),I.m($.parentNode,$)))},i(t){r||(M(o.$$.fragment,t),M(b.$$.fragment,t),M(s.$$.fragment,t),r=!0)},o(t){B(o.$$.fragment,t),B(b.$$.fragment,t),B(s.$$.fragment,t),r=!1},d(t){h(e),t&&h(l),K(o,t),t&&h(i),t&&h(p),K(b),t&&h(x),K(s,t),t&&h(L),t&&h(_),t&&h(T),I.d(t),t&&h($)}}}const lt={local:"tnh-chnh-th-xem",title:"T\u1EC9nh ch\u1EC9nh, th\u1EED xem!"};function ct(q,e,l){let o="pt";return Y(()=>{const i=new URLSearchParams(window.location.search);l(0,o=i.get("fw")||"pt")}),[o]}class ft extends Q{constructor(e){super();V(this,e,ct,it,W,{})}}export{ft as default,lt as metadata};
