import{S as Tt,i as wt,s as Lt,e,k as m,w as Et,t as s,M as Nt,c,d as n,m as u,a as h,x as $t,h as r,b as E,G as a,g as p,y as Dt,L as St,q as xt,o as Ct,B as Pt,v as Ht}from"../../chunks/vendor-hf-doc-builder.js";import{I as It}from"../../chunks/IconCopyLink-hf-doc-builder.js";import{C as qt}from"../../chunks/CourseFloatingBanner-hf-doc-builder.js";import"../../chunks/DocNotebookDropdown-hf-doc-builder.js";function At(lt){let f,I,g,v,C,y,X,P,z,q,_,A,$,G,F,i,T,J,R,d,j,w,K,Q,L,W,Y,Z,k,tt,N,at,nt,et,S,ct,st,H,ht,O,b,rt,D,it,ot,M;return y=new It({}),_=new qt({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),{c(){f=e("meta"),I=m(),g=e("h1"),v=e("a"),C=e("span"),Et(y.$$.fragment),X=m(),P=e("span"),z=s("\u{1F917} Datasets, ki\u1EC3m tra n\xE0o!"),q=m(),Et(_.$$.fragment),A=m(),$=e("p"),G=s("Ch\xE0, \u0111\xF3 l\xE0 m\u1ED9t chuy\u1EBFn tham quan kh\xE1 th\xFA v\u1ECB qua th\u01B0 vi\u1EC7n \u{1F917} Datasets - ch\xFAc m\u1EEBng b\u1EA1n \u0111\xE3 \u0111i \u0111\u01B0\u1EE3c xa nh\u01B0 v\u1EADy! V\u1EDBi ki\u1EBFn th\u1EE9c b\u1EA1n \u0111\xE3 thu \u0111\u01B0\u1EE3c t\u1EEB ch\u01B0\u01A1ng n\xE0y, b\u1EA1n s\u1EBD c\xF3 th\u1EC3:"),F=m(),i=e("ul"),T=e("li"),J=s("T\u1EA3i b\u1ED9 d\u1EEF li\u1EC7u t\u1EEB b\u1EA5t k\u1EF3 \u0111\xE2u, c\xF3 th\u1EC3 l\xE0 Hugging Face Hub, m\xE1y t\xEDnh x\xE1ch tay c\u1EE7a b\u1EA1n ho\u1EB7c m\xE1y ch\u1EE7 t\u1EEB xa t\u1EA1i c\xF4ng ty c\u1EE7a b\u1EA1n."),R=m(),d=e("li"),j=s("Xo\xE1 d\u1EEF li\u1EC7u c\u1EE7a b\u1EA1n b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng k\u1EBFt h\u1EE3p c\xE1c h\xE0m "),w=e("code"),K=s("Dataset.map()"),Q=s(" v\xE0 "),L=e("code"),W=s("Dataset.filter()"),Y=s("."),Z=m(),k=e("li"),tt=s("Chuy\u1EC3n \u0111\u1ED5i nhanh ch\xF3ng gi\u1EEFa c\xE1c \u0111\u1ECBnh d\u1EA1ng d\u1EEF li\u1EC7u nh\u01B0 Pandas v\xE0 NumPy b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng "),N=e("code"),at=s("Dataset.set_format()"),nt=s("."),et=m(),S=e("li"),ct=s("T\u1EA1o t\u1EADp d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng b\u1EA1n v\xE0 \u0111\u1EA9y n\xF3 v\xE0o Hugging Face Hub."),st=m(),H=e("li"),ht=s("Nh\xFAng t\xE0i li\u1EC7u c\u1EE7a b\u1EA1n b\u1EB1ng m\xF4 h\xECnh Transformer v\xE0 x\xE2y d\u1EF1ng c\xF4ng c\u1EE5 t\xECm ki\u1EBFm ng\u1EEF ngh\u0129a b\u1EB1ng FAISS."),O=m(),b=e("p"),rt=s("Trong "),D=e("a"),it=s("Ch\u01B0\u01A1ng 7"),ot=s(", ch\xFAng ta s\u1EBD s\u1EED d\u1EE5ng t\u1ED1t t\u1EA5t c\u1EA3 nh\u1EEFng \u0111i\u1EC1u n\xE0y khi ta \u0111i s\xE2u v\xE0o c\xE1c t\xE1c v\u1EE5 NLP c\u1ED1t l\xF5i m\xE0 c\xE1c m\xF4 h\xECnh Transformer r\u1EA5t ph\xF9 h\u1EE3p. Tuy nhi\xEAn, tr\u01B0\u1EDBc khi v\u01B0\u1EE3t l\xEAn ph\xEDa tr\u01B0\u1EDBc, h\xE3y \u0111\u01B0a ki\u1EBFn th\u1EE9c c\u1EE7a b\u1EA1n v\u1EC1 \u{1F917} Datasets v\xE0o m\u1ED9t b\xE0i ki\u1EC3m tra nhanh!"),this.h()},l(t){const o=Nt('[data-svelte="svelte-1phssyn"]',document.head);f=c(o,"META",{name:!0,content:!0}),o.forEach(n),I=u(t),g=c(t,"H1",{class:!0});var B=h(g);v=c(B,"A",{id:!0,class:!0,href:!0});var mt=h(v);C=c(mt,"SPAN",{});var ut=h(C);$t(y.$$.fragment,ut),ut.forEach(n),mt.forEach(n),X=u(B),P=c(B,"SPAN",{});var ft=h(P);z=r(ft,"\u{1F917} Datasets, ki\u1EC3m tra n\xE0o!"),ft.forEach(n),B.forEach(n),q=u(t),$t(_.$$.fragment,t),A=u(t),$=c(t,"P",{});var gt=h($);G=r(gt,"Ch\xE0, \u0111\xF3 l\xE0 m\u1ED9t chuy\u1EBFn tham quan kh\xE1 th\xFA v\u1ECB qua th\u01B0 vi\u1EC7n \u{1F917} Datasets - ch\xFAc m\u1EEBng b\u1EA1n \u0111\xE3 \u0111i \u0111\u01B0\u1EE3c xa nh\u01B0 v\u1EADy! V\u1EDBi ki\u1EBFn th\u1EE9c b\u1EA1n \u0111\xE3 thu \u0111\u01B0\u1EE3c t\u1EEB ch\u01B0\u01A1ng n\xE0y, b\u1EA1n s\u1EBD c\xF3 th\u1EC3:"),gt.forEach(n),F=u(t),i=c(t,"UL",{});var l=h(i);T=c(l,"LI",{});var dt=h(T);J=r(dt,"T\u1EA3i b\u1ED9 d\u1EEF li\u1EC7u t\u1EEB b\u1EA5t k\u1EF3 \u0111\xE2u, c\xF3 th\u1EC3 l\xE0 Hugging Face Hub, m\xE1y t\xEDnh x\xE1ch tay c\u1EE7a b\u1EA1n ho\u1EB7c m\xE1y ch\u1EE7 t\u1EEB xa t\u1EA1i c\xF4ng ty c\u1EE7a b\u1EA1n."),dt.forEach(n),R=u(l),d=c(l,"LI",{});var x=h(d);j=r(x,"Xo\xE1 d\u1EEF li\u1EC7u c\u1EE7a b\u1EA1n b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng k\u1EBFt h\u1EE3p c\xE1c h\xE0m "),w=c(x,"CODE",{});var pt=h(w);K=r(pt,"Dataset.map()"),pt.forEach(n),Q=r(x," v\xE0 "),L=c(x,"CODE",{});var vt=h(L);W=r(vt,"Dataset.filter()"),vt.forEach(n),Y=r(x,"."),x.forEach(n),Z=u(l),k=c(l,"LI",{});var U=h(k);tt=r(U,"Chuy\u1EC3n \u0111\u1ED5i nhanh ch\xF3ng gi\u1EEFa c\xE1c \u0111\u1ECBnh d\u1EA1ng d\u1EEF li\u1EC7u nh\u01B0 Pandas v\xE0 NumPy b\u1EB1ng c\xE1ch s\u1EED d\u1EE5ng "),N=c(U,"CODE",{});var bt=h(N);at=r(bt,"Dataset.set_format()"),bt.forEach(n),nt=r(U,"."),U.forEach(n),et=u(l),S=c(l,"LI",{});var yt=h(S);ct=r(yt,"T\u1EA1o t\u1EADp d\u1EEF li\u1EC7u c\u1EE7a ri\xEAng b\u1EA1n v\xE0 \u0111\u1EA9y n\xF3 v\xE0o Hugging Face Hub."),yt.forEach(n),st=u(l),H=c(l,"LI",{});var _t=h(H);ht=r(_t,"Nh\xFAng t\xE0i li\u1EC7u c\u1EE7a b\u1EA1n b\u1EB1ng m\xF4 h\xECnh Transformer v\xE0 x\xE2y d\u1EF1ng c\xF4ng c\u1EE5 t\xECm ki\u1EBFm ng\u1EEF ngh\u0129a b\u1EB1ng FAISS."),_t.forEach(n),l.forEach(n),O=u(t),b=c(t,"P",{});var V=h(b);rt=r(V,"Trong "),D=c(V,"A",{href:!0});var kt=h(D);it=r(kt,"Ch\u01B0\u01A1ng 7"),kt.forEach(n),ot=r(V,", ch\xFAng ta s\u1EBD s\u1EED d\u1EE5ng t\u1ED1t t\u1EA5t c\u1EA3 nh\u1EEFng \u0111i\u1EC1u n\xE0y khi ta \u0111i s\xE2u v\xE0o c\xE1c t\xE1c v\u1EE5 NLP c\u1ED1t l\xF5i m\xE0 c\xE1c m\xF4 h\xECnh Transformer r\u1EA5t ph\xF9 h\u1EE3p. Tuy nhi\xEAn, tr\u01B0\u1EDBc khi v\u01B0\u1EE3t l\xEAn ph\xEDa tr\u01B0\u1EDBc, h\xE3y \u0111\u01B0a ki\u1EBFn th\u1EE9c c\u1EE7a b\u1EA1n v\u1EC1 \u{1F917} Datasets v\xE0o m\u1ED9t b\xE0i ki\u1EC3m tra nhanh!"),V.forEach(n),this.h()},h(){E(f,"name","hf:doc:metadata"),E(f,"content",JSON.stringify(Ft)),E(v,"id","datasets-kim-tra-no"),E(v,"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"),E(v,"href","#datasets-kim-tra-no"),E(g,"class","relative group"),E(D,"href","/course/chapter7")},m(t,o){a(document.head,f),p(t,I,o),p(t,g,o),a(g,v),a(v,C),Dt(y,C,null),a(g,X),a(g,P),a(P,z),p(t,q,o),Dt(_,t,o),p(t,A,o),p(t,$,o),a($,G),p(t,F,o),p(t,i,o),a(i,T),a(T,J),a(i,R),a(i,d),a(d,j),a(d,w),a(w,K),a(d,Q),a(d,L),a(L,W),a(d,Y),a(i,Z),a(i,k),a(k,tt),a(k,N),a(N,at),a(k,nt),a(i,et),a(i,S),a(S,ct),a(i,st),a(i,H),a(H,ht),p(t,O,o),p(t,b,o),a(b,rt),a(b,D),a(D,it),a(b,ot),M=!0},p:St,i(t){M||(xt(y.$$.fragment,t),xt(_.$$.fragment,t),M=!0)},o(t){Ct(y.$$.fragment,t),Ct(_.$$.fragment,t),M=!1},d(t){n(f),t&&n(I),t&&n(g),Pt(y),t&&n(q),Pt(_,t),t&&n(A),t&&n($),t&&n(F),t&&n(i),t&&n(O),t&&n(b)}}}const Ft={local:"datasets-kim-tra-no",title:"\u{1F917} Datasets, ki\u1EC3m tra n\xE0o!"};function Ot(lt){return Ht(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Xt extends Tt{constructor(f){super();wt(this,f,Ot,At,Lt,{})}}export{Xt as default,Ft as metadata};
