import{s as I,n as J,o as K}from"../chunks/scheduler.37c15a92.js";import{S as Q,i as V,g as r,s as n,r as y,A as W,h as m,f as a,c as s,j as B,u as k,x,k as G,y as X,a as l,v as z,d as D,t as S,w as j}from"../chunks/index.2bf4358c.js";import{C as Y}from"../chunks/CourseFloatingBanner.06521e8b.js";import{H as Z,E as tt}from"../chunks/EditOnGithub.8916dc7c.js";function et(q){let i,b,v,C,p,H,u,L,o,F='在<a href="/course/chapter3">第三章</a>第一次体验了🤗Datasets 库，并发现在微调模型时有三个主要步骤：',M,f,N="<li>从hugs Face Hub加载一个数据集。</li> <li>使用Dataset.map()对数据进行预处理。</li> <li>加载和计算指标(特征)。</li>",g,c,O="但这只是🤗 Datasets的表面功能而已！在本章中，我们将深入了解这个库。在此过程中，我们将找到以下问题的答案：",w,h,R="<li>当数据集不在hub上时，您该怎么做？</li> <li>如何对数据集进行切片？（如果你真正的特别需要使用pandas的时候该怎么办？）</li> <li>当你的数据集很大，会撑爆你笔记本电脑的RAM时，你会怎么做？</li> <li>“内存映射”和Apache Arrow到底是什么？</li> <li>如何创建自己的数据集并将其推送到中心？</li>",T,$,U='您在这里学到的技术将为您在<a href="/course/chapter6">第6章</a>和<a href="/course/chapter7">第7章</a>中的高级标记化和微调任务做好准备——所以，喝杯咖啡，让我们开始吧!',P,_,E,d,A;return p=new Z({props:{title:"本章简介",local:"本章简介",headingTag:"h1"}}),u=new Y({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),_=new tt({props:{source:"https://github.com/huggingface/course/blob/main/chapters/zh-CN/chapter5/1.mdx"}}),{c(){i=r("meta"),b=n(),v=r("p"),C=n(),y(p.$$.fragment),H=n(),y(u.$$.fragment),L=n(),o=r("p"),o.innerHTML=F,M=n(),f=r("ol"),f.innerHTML=N,g=n(),c=r("p"),c.textContent=O,w=n(),h=r("ul"),h.innerHTML=R,T=n(),$=r("p"),$.innerHTML=U,P=n(),y(_.$$.fragment),E=n(),d=r("p"),this.h()},l(t){const e=W("svelte-u9bgzb",document.head);i=m(e,"META",{name:!0,content:!0}),e.forEach(a),b=s(t),v=m(t,"P",{}),B(v).forEach(a),C=s(t),k(p.$$.fragment,t),H=s(t),k(u.$$.fragment,t),L=s(t),o=m(t,"P",{"data-svelte-h":!0}),x(o)!=="svelte-i88etj"&&(o.innerHTML=F),M=s(t),f=m(t,"OL",{"data-svelte-h":!0}),x(f)!=="svelte-1umw06v"&&(f.innerHTML=N),g=s(t),c=m(t,"P",{"data-svelte-h":!0}),x(c)!=="svelte-1khhql6"&&(c.textContent=O),w=s(t),h=m(t,"UL",{"data-svelte-h":!0}),x(h)!=="svelte-1igth32"&&(h.innerHTML=R),T=s(t),$=m(t,"P",{"data-svelte-h":!0}),x($)!=="svelte-1kdvcst"&&($.innerHTML=U),P=s(t),k(_.$$.fragment,t),E=s(t),d=m(t,"P",{}),B(d).forEach(a),this.h()},h(){G(i,"name","hf:doc:metadata"),G(i,"content",at)},m(t,e){X(document.head,i),l(t,b,e),l(t,v,e),l(t,C,e),z(p,t,e),l(t,H,e),z(u,t,e),l(t,L,e),l(t,o,e),l(t,M,e),l(t,f,e),l(t,g,e),l(t,c,e),l(t,w,e),l(t,h,e),l(t,T,e),l(t,$,e),l(t,P,e),z(_,t,e),l(t,E,e),l(t,d,e),A=!0},p:J,i(t){A||(D(p.$$.fragment,t),D(u.$$.fragment,t),D(_.$$.fragment,t),A=!0)},o(t){S(p.$$.fragment,t),S(u.$$.fragment,t),S(_.$$.fragment,t),A=!1},d(t){t&&(a(b),a(v),a(C),a(H),a(L),a(o),a(M),a(f),a(g),a(c),a(w),a(h),a(T),a($),a(P),a(E),a(d)),a(i),j(p,t),j(u,t),j(_,t)}}}const at='{"title":"本章简介","local":"本章简介","sections":[],"depth":1}';function lt(q){return K(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class mt extends Q{constructor(i){super(),V(this,i,lt,et,I,{})}}export{mt as component};
