import{s as z,n as U,o as j}from"../chunks/scheduler.37c15a92.js";import{S as k,i as B,g as u,s as p,r as y,A as I,h as c,f as a,c as f,j as M,u as S,x as D,k as E,y as R,a as s,v as F,d as A,t as N,w as q}from"../chunks/index.2bf4358c.js";import{C as G}from"../chunks/CourseFloatingBanner.06521e8b.js";import{H as J}from"../chunks/Heading.8ada512a.js";function K(T){let n,d,_,h,l,g,i,v,r,w="这是对 🤗 Datasets 库的一次完整游览——祝贺你走到这一步！凭借从本章中获得的知识，您应该能够：",P,o,L="<li>从任何地方加载数据集，无论是 Hugging Face Hub、您的笔记本电脑还是您公司的远程服务器。</li> <li>混合使用Dataset.map()和Dataset.filter()函数来整理数据。</li> <li>使用<code>Dataset.set_format()</code>在 Pandas 和 NumPy 等数据格式之间快速切换.</li> <li>创建您自己的数据集并将其推送到 Hugging Face Hub。.</li> <li>使用 Transformer 模型为您的文档创建词嵌入，并使用 FAISS 构建语义搜索引擎。.</li>",H,m,b='在<a href="/course/chapter7">第七章</a>，当我们深入研究 Transformer 模型非常适合的核心 NLP 任务时，我们将充分利用所有这些。',x,$,C;return l=new J({props:{title:"🤗 Datasets，回顾！",local:"🤗 Datasets，回顾！",headingTag:"h1"}}),i=new G({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),{c(){n=u("meta"),d=p(),_=u("p"),h=p(),y(l.$$.fragment),g=p(),y(i.$$.fragment),v=p(),r=u("p"),r.textContent=w,P=p(),o=u("ul"),o.innerHTML=L,H=p(),m=u("p"),m.innerHTML=b,x=p(),$=u("p"),this.h()},l(t){const e=I("svelte-u9bgzb",document.head);n=c(e,"META",{name:!0,content:!0}),e.forEach(a),d=f(t),_=c(t,"P",{}),M(_).forEach(a),h=f(t),S(l.$$.fragment,t),g=f(t),S(i.$$.fragment,t),v=f(t),r=c(t,"P",{"data-svelte-h":!0}),D(r)!=="svelte-1ypn5no"&&(r.textContent=w),P=f(t),o=c(t,"UL",{"data-svelte-h":!0}),D(o)!=="svelte-1q1d094"&&(o.innerHTML=L),H=f(t),m=c(t,"P",{"data-svelte-h":!0}),D(m)!=="svelte-1f01vp"&&(m.innerHTML=b),x=f(t),$=c(t,"P",{}),M($).forEach(a),this.h()},h(){E(n,"name","hf:doc:metadata"),E(n,"content",O)},m(t,e){R(document.head,n),s(t,d,e),s(t,_,e),s(t,h,e),F(l,t,e),s(t,g,e),F(i,t,e),s(t,v,e),s(t,r,e),s(t,P,e),s(t,o,e),s(t,H,e),s(t,m,e),s(t,x,e),s(t,$,e),C=!0},p:U,i(t){C||(A(l.$$.fragment,t),A(i.$$.fragment,t),C=!0)},o(t){N(l.$$.fragment,t),N(i.$$.fragment,t),C=!1},d(t){t&&(a(d),a(_),a(h),a(g),a(v),a(r),a(P),a(o),a(H),a(m),a(x),a($)),a(n),q(l,t),q(i,t)}}}const O='{"title":"🤗 Datasets，回顾！","local":"🤗 Datasets，回顾！","sections":[],"depth":1}';function Q(T){return j(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Z extends k{constructor(n){super(),B(this,n,Q,K,z,{})}}export{Z as component};
