import{S as ht,i as ct,s as lt,e as a,k as C,w as D,t as g,M as rt,c as i,d as h,m as w,x as J,a as s,h as _,b as F,G as n,g as A,y as R,q as Q,o as V,B as W,v as at}from"../../chunks/vendor-hf-doc-builder.js";import{I as it}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as ot}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import{F as st}from"../../chunks/FrameworkSwitchCourse-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function ut(x){let e,u,o,b,c,d,v,m,L,k,y,E;return{c(){e=a("ul"),u=a("li"),o=g("C\xE1ch chu\u1EA9n b\u1ECB m\u1ED9t t\u1EADp d\u1EEF li\u1EC7u l\u1EDBn t\u1EEB Hub"),b=C(),c=a("li"),d=g("C\xE1ch s\u1EED d\u1EE5ng Keras \u0111\u1EC3 tinh ch\u1EC9nh m\xF4 h\xECnh"),v=C(),m=a("li"),L=g("C\xE1ch s\u1EED d\u1EE5ng Keras \u0111\u1EC3 \u0111\u01B0a ra d\u1EF1 \u0111o\xE1n"),k=C(),y=a("li"),E=g("C\xE1ch s\u1EED d\u1EE5ng th\u01B0\u1EDBc \u0111o t\xF9y ch\u1EC9nh")},l(p){e=i(p,"UL",{});var l=s(e);u=i(l,"LI",{});var $=s(u);o=_($,"C\xE1ch chu\u1EA9n b\u1ECB m\u1ED9t t\u1EADp d\u1EEF li\u1EC7u l\u1EDBn t\u1EEB Hub"),$.forEach(h),b=w(l),c=i(l,"LI",{});var I=s(c);d=_(I,"C\xE1ch s\u1EED d\u1EE5ng Keras \u0111\u1EC3 tinh ch\u1EC9nh m\xF4 h\xECnh"),I.forEach(h),v=w(l),m=i(l,"LI",{});var r=s(m);L=_(r,"C\xE1ch s\u1EED d\u1EE5ng Keras \u0111\u1EC3 \u0111\u01B0a ra d\u1EF1 \u0111o\xE1n"),r.forEach(h),k=w(l),y=i(l,"LI",{});var P=s(y);E=_(P,"C\xE1ch s\u1EED d\u1EE5ng th\u01B0\u1EDBc \u0111o t\xF9y ch\u1EC9nh"),P.forEach(h),l.forEach(h)},m(p,l){A(p,e,l),n(e,u),n(u,o),n(e,b),n(e,c),n(c,d),n(e,v),n(e,m),n(m,L),n(e,k),n(e,y),n(y,E)},d(p){p&&h(e)}}}function ft(x){let e,u,o,b,c,d,v,m,L,k,y,E,p,l,$;return{c(){e=a("ul"),u=a("li"),o=g("C\xE1ch chu\u1EA9n b\u1ECB m\u1ED9t t\u1EADp d\u1EEF li\u1EC7u l\u1EDBn t\u1EEB Hub"),b=C(),c=a("li"),d=g("C\xE1ch s\u1EED d\u1EE5ng API "),v=a("code"),m=g("Trainer"),L=g(" c\u1EA5p cao \u0111\u1EC3 tinh ch\u1EC9nh m\xF4 h\xECnh"),k=C(),y=a("li"),E=g("C\xE1ch s\u1EED d\u1EE5ng v\xF2ng l\u1EB7p hu\u1EA5n luy\u1EC7n t\xF9y ch\u1EC9nh"),p=C(),l=a("li"),$=g("C\xE1ch t\u1EADn d\u1EE5ng th\u01B0 vi\u1EC7n \u{1F917} Accelerate \u0111\u1EC3 d\u1EC5 d\xE0ng ch\u1EA1y v\xF2ng hu\u1EA5n luy\u1EC7n t\xF9y ch\u1EC9nh \u0111\xF3 tr\xEAn b\u1EA5t k\u1EF3 thi\u1EBFt l\u1EADp ph\xE2n t\xE1n n\xE0o")},l(I){e=i(I,"UL",{});var r=s(e);u=i(r,"LI",{});var P=s(u);o=_(P,"C\xE1ch chu\u1EA9n b\u1ECB m\u1ED9t t\u1EADp d\u1EEF li\u1EC7u l\u1EDBn t\u1EEB Hub"),P.forEach(h),b=w(r),c=i(r,"LI",{});var T=s(c);d=_(T,"C\xE1ch s\u1EED d\u1EE5ng API "),v=i(T,"CODE",{});var B=s(v);m=_(B,"Trainer"),B.forEach(h),L=_(T," c\u1EA5p cao \u0111\u1EC3 tinh ch\u1EC9nh m\xF4 h\xECnh"),T.forEach(h),k=w(r),y=i(r,"LI",{});var N=s(y);E=_(N,"C\xE1ch s\u1EED d\u1EE5ng v\xF2ng l\u1EB7p hu\u1EA5n luy\u1EC7n t\xF9y ch\u1EC9nh"),N.forEach(h),p=w(r),l=i(r,"LI",{});var H=s(l);$=_(H,"C\xE1ch t\u1EADn d\u1EE5ng th\u01B0 vi\u1EC7n \u{1F917} Accelerate \u0111\u1EC3 d\u1EC5 d\xE0ng ch\u1EA1y v\xF2ng hu\u1EA5n luy\u1EC7n t\xF9y ch\u1EC9nh \u0111\xF3 tr\xEAn b\u1EA5t k\u1EF3 thi\u1EBFt l\u1EADp ph\xE2n t\xE1n n\xE0o"),H.forEach(h),r.forEach(h)},m(I,r){A(I,e,r),n(e,u),n(u,o),n(e,b),n(e,c),n(c,d),n(c,v),n(v,m),n(c,L),n(e,k),n(e,y),n(y,E),n(e,p),n(e,l),n(l,$)},d(I){I&&h(e)}}}function mt(x){let e,u,o,b,c,d,v,m,L,k,y,E,p,l,$,I,r,P,T,B,N,H,U,G,O,q;o=new st({props:{fw:x[0]}}),m=new it({}),p=new ot({props:{chapter:3,classNames:"absolute z-10 right-0 top-0"}});function X(t,f){return t[0]==="pt"?ft:ut}let z=X(x),S=z(x);return{c(){e=a("meta"),u=C(),D(o.$$.fragment),b=C(),c=a("h1"),d=a("a"),v=a("span"),D(m.$$.fragment),L=C(),k=a("span"),y=g("Gi\u1EDBi thi\u1EC7u"),E=C(),D(p.$$.fragment),l=C(),$=a("p"),I=g("Trong "),r=a("a"),P=g("Ch\u01B0\u01A1ng 2"),T=g(", ch\xFAng ta \u0111\xE3 kh\xE1m ph\xE1 c\xE1ch s\u1EED d\u1EE5ng tokenizer v\xE0 c\xE1c m\xF4 h\xECnh hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc \u0111\u1EC3 \u0111\u01B0a ra d\u1EF1 \u0111o\xE1n. Nh\u01B0ng n\u1EBFu b\u1EA1n mu\u1ED1n tinh ch\u1EC9nh m\u1ED9t m\xF4 h\xECnh \u0111\u01B0\u1EE3c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc cho t\u1EADp d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng m\xECnh th\xEC sao? \u0110\xF3 l\xE0 ch\u1EE7 \u0111\u1EC1 c\u1EE7a ch\u01B0\u01A1ng n\xE0y! B\u1EA1n s\u1EBD h\u1ECDc:"),B=C(),S.c(),N=C(),H=a("p"),U=g("\u0110\u1EC3 t\u1EA3i c\xE1c checkpoint \u0111\u01B0\u1EE3c hu\u1EA5n luy\u1EC7n c\u1EE7a b\u1EA1n l\xEAn Hugging Face Hub, b\u1EA1n s\u1EBD c\u1EA7n c\xF3 t\xE0i kho\u1EA3n huggingface.co: "),G=a("a"),O=g("t\u1EA1o t\xE0i kho\u1EA3n"),this.h()},l(t){const f=rt('[data-svelte="svelte-1phssyn"]',document.head);e=i(f,"META",{name:!0,content:!0}),f.forEach(h),u=w(t),J(o.$$.fragment,t),b=w(t),c=i(t,"H1",{class:!0});var K=s(c);d=i(K,"A",{id:!0,class:!0,href:!0});var Y=s(d);v=i(Y,"SPAN",{});var Z=s(v);J(m.$$.fragment,Z),Z.forEach(h),Y.forEach(h),L=w(K),k=i(K,"SPAN",{});var tt=s(k);y=_(tt,"Gi\u1EDBi thi\u1EC7u"),tt.forEach(h),K.forEach(h),E=w(t),J(p.$$.fragment,t),l=w(t),$=i(t,"P",{});var M=s($);I=_(M,"Trong "),r=i(M,"A",{href:!0});var nt=s(r);P=_(nt,"Ch\u01B0\u01A1ng 2"),nt.forEach(h),T=_(M,", ch\xFAng ta \u0111\xE3 kh\xE1m ph\xE1 c\xE1ch s\u1EED d\u1EE5ng tokenizer v\xE0 c\xE1c m\xF4 h\xECnh hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc \u0111\u1EC3 \u0111\u01B0a ra d\u1EF1 \u0111o\xE1n. Nh\u01B0ng n\u1EBFu b\u1EA1n mu\u1ED1n tinh ch\u1EC9nh m\u1ED9t m\xF4 h\xECnh \u0111\u01B0\u1EE3c hu\u1EA5n luy\u1EC7n tr\u01B0\u1EDBc cho t\u1EADp d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng m\xECnh th\xEC sao? \u0110\xF3 l\xE0 ch\u1EE7 \u0111\u1EC1 c\u1EE7a ch\u01B0\u01A1ng n\xE0y! B\u1EA1n s\u1EBD h\u1ECDc:"),M.forEach(h),B=w(t),S.l(t),N=w(t),H=i(t,"P",{});var j=s(H);U=_(j,"\u0110\u1EC3 t\u1EA3i c\xE1c checkpoint \u0111\u01B0\u1EE3c hu\u1EA5n luy\u1EC7n c\u1EE7a b\u1EA1n l\xEAn Hugging Face Hub, b\u1EA1n s\u1EBD c\u1EA7n c\xF3 t\xE0i kho\u1EA3n huggingface.co: "),G=i(j,"A",{href:!0,rel:!0});var et=s(G);O=_(et,"t\u1EA1o t\xE0i kho\u1EA3n"),et.forEach(h),j.forEach(h),this.h()},h(){F(e,"name","hf:doc:metadata"),F(e,"content",JSON.stringify(pt)),F(d,"id","gii-thiu"),F(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"),F(d,"href","#gii-thiu"),F(c,"class","relative group"),F(r,"href","/course/chapter2"),F(G,"href","https://huggingface.co/join"),F(G,"rel","nofollow")},m(t,f){n(document.head,e),A(t,u,f),R(o,t,f),A(t,b,f),A(t,c,f),n(c,d),n(d,v),R(m,v,null),n(c,L),n(c,k),n(k,y),A(t,E,f),R(p,t,f),A(t,l,f),A(t,$,f),n($,I),n($,r),n(r,P),n($,T),A(t,B,f),S.m(t,f),A(t,N,f),A(t,H,f),n(H,U),n(H,G),n(G,O),q=!0},p(t,[f]){const K={};f&1&&(K.fw=t[0]),o.$set(K),z!==(z=X(t))&&(S.d(1),S=z(t),S&&(S.c(),S.m(N.parentNode,N)))},i(t){q||(Q(o.$$.fragment,t),Q(m.$$.fragment,t),Q(p.$$.fragment,t),q=!0)},o(t){V(o.$$.fragment,t),V(m.$$.fragment,t),V(p.$$.fragment,t),q=!1},d(t){h(e),t&&h(u),W(o,t),t&&h(b),t&&h(c),W(m),t&&h(E),W(p,t),t&&h(l),t&&h($),t&&h(B),S.d(t),t&&h(N),t&&h(H)}}}const pt={local:"gii-thiu",title:"Gi\u1EDBi thi\u1EC7u"};function dt(x,e,u){let o="pt";return at(()=>{const b=new URLSearchParams(window.location.search);u(0,o=b.get("fw")||"pt")}),[o]}class bt extends ht{constructor(e){super();ct(this,e,dt,mt,lt,{})}}export{bt as default,pt as metadata};
