import{s as N,n as U,o as q}from"../chunks/scheduler.36a0863c.js";import{S as G,i as I,g,s as i,r as x,A as O,h as c,f as t,c as m,j as z,u as H,x as M,k as B,y as R,a as n,v as w,d as D,t as T,w as C}from"../chunks/index.156fee99.js";import{C as W}from"../chunks/CourseFloatingBanner.16bb8bff.js";import{H as J,E as K}from"../chunks/getInferenceSnippets.472bc46d.js";function Q(L){let s,k,f,b,l,$,r,_,u,E="Wah, kita sudah menjelajahi banyak hal di pustaka 🤗 Datasets — selamat telah sampai sejauh ini! Dengan pengetahuan yang telah Anda pelajari di bab ini, Anda sekarang seharusnya bisa:",y,o,S="<li>Memuat dataset dari mana saja — baik dari Hugging Face Hub, laptop Anda, maupun server jarak jauh di perusahaan Anda.</li> <li>Mengolah data Anda menggunakan kombinasi fungsi <code>Dataset.map()</code> dan <code>Dataset.filter()</code>.</li> <li>Beralih dengan cepat antar format data seperti Pandas dan NumPy menggunakan <code>Dataset.set_format()</code>.</li> <li>Membuat dataset Anda sendiri dan mengunggahnya ke Hugging Face Hub.</li> <li>Membuat embedding dari dokumen Anda menggunakan model Transformer dan membangun mesin pencari semantik menggunakan FAISS.</li>",j,d,F='Di <a href="/course/chapter7">Bab 7</a>, kita akan memanfaatkan semua ini dengan baik saat menyelami tugas-tugas inti NLP yang sangat cocok untuk model Transformer. Tapi sebelum melangkah lebih jauh, uji pengetahuan Anda tentang 🤗 Datasets lewat kuis singkat berikut!',v,p,A,h,P;return l=new J({props:{title:"🤗 Datasets, selesai!",local:"datasets-check",headingTag:"h1"}}),r=new W({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),p=new K({props:{source:"https://github.com/huggingface/course/blob/main/chapters/id/chapter5/7.mdx"}}),{c(){s=g("meta"),k=i(),f=g("p"),b=i(),x(l.$$.fragment),$=i(),x(r.$$.fragment),_=i(),u=g("p"),u.textContent=E,y=i(),o=g("ul"),o.innerHTML=S,j=i(),d=g("p"),d.innerHTML=F,v=i(),x(p.$$.fragment),A=i(),h=g("p"),this.h()},l(a){const e=O("svelte-u9bgzb",document.head);s=c(e,"META",{name:!0,content:!0}),e.forEach(t),k=m(a),f=c(a,"P",{}),z(f).forEach(t),b=m(a),H(l.$$.fragment,a),$=m(a),H(r.$$.fragment,a),_=m(a),u=c(a,"P",{"data-svelte-h":!0}),M(u)!=="svelte-2hujya"&&(u.textContent=E),y=m(a),o=c(a,"UL",{"data-svelte-h":!0}),M(o)!=="svelte-fan2f1"&&(o.innerHTML=S),j=m(a),d=c(a,"P",{"data-svelte-h":!0}),M(d)!=="svelte-azugf9"&&(d.innerHTML=F),v=m(a),H(p.$$.fragment,a),A=m(a),h=c(a,"P",{}),z(h).forEach(t),this.h()},h(){B(s,"name","hf:doc:metadata"),B(s,"content",V)},m(a,e){R(document.head,s),n(a,k,e),n(a,f,e),n(a,b,e),w(l,a,e),n(a,$,e),w(r,a,e),n(a,_,e),n(a,u,e),n(a,y,e),n(a,o,e),n(a,j,e),n(a,d,e),n(a,v,e),w(p,a,e),n(a,A,e),n(a,h,e),P=!0},p:U,i(a){P||(D(l.$$.fragment,a),D(r.$$.fragment,a),D(p.$$.fragment,a),P=!0)},o(a){T(l.$$.fragment,a),T(r.$$.fragment,a),T(p.$$.fragment,a),P=!1},d(a){a&&(t(k),t(f),t(b),t($),t(_),t(u),t(y),t(o),t(j),t(d),t(v),t(A),t(h)),t(s),C(l,a),C(r,a),C(p,a)}}}const V='{"title":"🤗 Datasets, selesai!","local":"datasets-check","sections":[],"depth":1}';function X(L){return q(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ta extends G{constructor(s){super(),I(this,s,X,Q,N,{})}}export{ta as component};
