import{s as O,n as G,o as I}from"../chunks/scheduler.37c15a92.js";import{S as J,i as K,g as r,s,r as S,A as Q,h as m,f as a,c as i,j as q,u as F,x as d,k as R,y as V,a as l,v as U,d as k,t as B,w as N}from"../chunks/index.2bf4358c.js";import{C as W}from"../chunks/CourseFloatingBanner.06521e8b.js";import{H as X}from"../chunks/Heading.8ada512a.js";function Y(A){let n,x,$,H,o,L,p,M,u,y='在<a href="/course/chapter3">第三章</a>第一次體驗了 🤗Datasets 庫，並發現在微調模型時有三個主要步驟：',C,f,E="<li>從 Hugging Face Hub 加載一個數據集。</li> <li>使用 Dataset.map() 對數據進行預處理。</li> <li>載入和計算指標(特徵)。</li>",T,c,j="但這只是🤗 Datasets的表面功能而已！在本章中，我們將深入瞭解這個庫。在此過程中，我們將找到以下問題的答案：",w,h,z="<li>當數據集不在 hub 上時，您該怎麼做？</li> <li>如何對數據集進行切片？（如果你真正的特別需要使用pandas的時候該怎麼辦？）</li> <li>當你的數據集很大，會撐爆你筆記本電腦的RAM時，你會怎麼做？</li> <li>「內存映射」和 Apache Arrow 到底是什麼？</li> <li>如何創建自己的數據集並將其推送到中心？</li>",P,_,D='您在這裡學到的技術將為您在<a href="/course/chapter6">第6章</a>和<a href="/course/chapter7">第7章</a>中的高級標記化和微調任務做好準備——所以，喝杯咖啡，讓我們開始吧!',b,v,g;return o=new X({props:{title:"本章簡介",local:"本章簡介",headingTag:"h1"}}),p=new W({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),{c(){n=r("meta"),x=s(),$=r("p"),H=s(),S(o.$$.fragment),L=s(),S(p.$$.fragment),M=s(),u=r("p"),u.innerHTML=y,C=s(),f=r("ol"),f.innerHTML=E,T=s(),c=r("p"),c.textContent=j,w=s(),h=r("ul"),h.innerHTML=z,P=s(),_=r("p"),_.innerHTML=D,b=s(),v=r("p"),this.h()},l(t){const e=Q("svelte-u9bgzb",document.head);n=m(e,"META",{name:!0,content:!0}),e.forEach(a),x=i(t),$=m(t,"P",{}),q($).forEach(a),H=i(t),F(o.$$.fragment,t),L=i(t),F(p.$$.fragment,t),M=i(t),u=m(t,"P",{"data-svelte-h":!0}),d(u)!=="svelte-uzfshq"&&(u.innerHTML=y),C=i(t),f=m(t,"OL",{"data-svelte-h":!0}),d(f)!=="svelte-14iwi9a"&&(f.innerHTML=E),T=i(t),c=m(t,"P",{"data-svelte-h":!0}),d(c)!=="svelte-10n0b78"&&(c.textContent=j),w=i(t),h=m(t,"UL",{"data-svelte-h":!0}),d(h)!=="svelte-1junxec"&&(h.innerHTML=z),P=i(t),_=m(t,"P",{"data-svelte-h":!0}),d(_)!=="svelte-1ejcen0"&&(_.innerHTML=D),b=i(t),v=m(t,"P",{}),q(v).forEach(a),this.h()},h(){R(n,"name","hf:doc:metadata"),R(n,"content",Z)},m(t,e){V(document.head,n),l(t,x,e),l(t,$,e),l(t,H,e),U(o,t,e),l(t,L,e),U(p,t,e),l(t,M,e),l(t,u,e),l(t,C,e),l(t,f,e),l(t,T,e),l(t,c,e),l(t,w,e),l(t,h,e),l(t,P,e),l(t,_,e),l(t,b,e),l(t,v,e),g=!0},p:G,i(t){g||(k(o.$$.fragment,t),k(p.$$.fragment,t),g=!0)},o(t){B(o.$$.fragment,t),B(p.$$.fragment,t),g=!1},d(t){t&&(a(x),a($),a(H),a(L),a(M),a(u),a(C),a(f),a(T),a(c),a(w),a(h),a(P),a(_),a(b),a(v)),a(n),N(o,t),N(p,t)}}}const Z='{"title":"本章簡介","local":"本章簡介","sections":[],"depth":1}';function tt(A){return I(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class st extends J{constructor(n){super(),K(this,n,tt,Y,O,{})}}export{st as component};
