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 j,A as Q,h as m,f as a,c as i,j as q,u as z,x as d,k as F,y as V,a as l,v as R,d as U,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(g){let n,x,$,H,o,L,p,M,u,y='在<a href="/course/chapter3">第三章</a>第一次体验了🤗Datasets 库，并发现在微调模型时有三个主要步骤：',C,f,E="<li>从hugs Face Hub加载一个数据集。</li> <li>使用Dataset.map()对数据进行预处理。</li> <li>加载和计算指标(特征)。</li>",T,c,k="但这只是🤗 Datasets的表面功能而已！在本章中，我们将深入了解这个库。在此过程中，我们将找到以下问题的答案：",w,h,D="<li>当数据集不在hub上时，您该怎么做？</li> <li>如何对数据集进行切片？（如果你真正的特别需要使用pandas的时候该怎么办？）</li> <li>当你的数据集很大，会撑爆你笔记本电脑的RAM时，你会怎么做？</li> <li>“内存映射”和Apache Arrow到底是什么？</li> <li>如何创建自己的数据集并将其推送到中心？</li>",P,_,S='您在这里学到的技术将为您在<a href="/course/chapter6">第6章</a>和<a href="/course/chapter7">第7章</a>中的高级标记化和微调任务做好准备——所以，喝杯咖啡，让我们开始吧!',b,v,A;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(),j(o.$$.fragment),L=s(),j(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=k,w=s(),h=r("ul"),h.innerHTML=D,P=s(),_=r("p"),_.innerHTML=S,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),z(o.$$.fragment,t),L=i(t),z(p.$$.fragment,t),M=i(t),u=m(t,"P",{"data-svelte-h":!0}),d(u)!=="svelte-i88etj"&&(u.innerHTML=y),C=i(t),f=m(t,"OL",{"data-svelte-h":!0}),d(f)!=="svelte-1umw06v"&&(f.innerHTML=E),T=i(t),c=m(t,"P",{"data-svelte-h":!0}),d(c)!=="svelte-1khhql6"&&(c.textContent=k),w=i(t),h=m(t,"UL",{"data-svelte-h":!0}),d(h)!=="svelte-1igth32"&&(h.innerHTML=D),P=i(t),_=m(t,"P",{"data-svelte-h":!0}),d(_)!=="svelte-1kdvcst"&&(_.innerHTML=S),b=i(t),v=m(t,"P",{}),q(v).forEach(a),this.h()},h(){F(n,"name","hf:doc:metadata"),F(n,"content",Z)},m(t,e){V(document.head,n),l(t,x,e),l(t,$,e),l(t,H,e),R(o,t,e),l(t,L,e),R(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),A=!0},p:G,i(t){A||(U(o.$$.fragment,t),U(p.$$.fragment,t),A=!0)},o(t){B(o.$$.fragment,t),B(p.$$.fragment,t),A=!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(g){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};
