import{s as k,n as q,o as B}from"../chunks/scheduler.37c15a92.js";import{S as G,i as I,g as c,s as i,r as y,A as O,h as $,f as a,c as l,j as U,u as C,x as L,k as j,y as R,a as s,v as D,d as E,t as M,w as S}from"../chunks/index.2bf4358c.js";import{C as W}from"../chunks/CourseFloatingBanner.9ff4c771.js";import{H as J,E as K}from"../chunks/getInferenceSnippets.648f38f6.js";function Q(z){let n,g,h,d,r,b,m,P,o,F="這是對 🤗 Datasets 庫的一次完整遊覽——祝賀你走到這一步！憑藉從本章中獲得的知識，您應該能夠：",v,u,A="<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>",x,f,N='在<a href="/course/chapter7">第七章</a>，當我們深入研究 Transformer 模型非常適合的核心 NLP 任務時，我們將充分利用所有這些。',H,p,T,_,w;return r=new J({props:{title:"🤗 Datasets，回顧！",local:"-datasets回顧",headingTag:"h1"}}),m=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/zh-TW/chapter5/7.mdx"}}),{c(){n=c("meta"),g=i(),h=c("p"),d=i(),y(r.$$.fragment),b=i(),y(m.$$.fragment),P=i(),o=c("p"),o.textContent=F,v=i(),u=c("ul"),u.innerHTML=A,x=i(),f=c("p"),f.innerHTML=N,H=i(),y(p.$$.fragment),T=i(),_=c("p"),this.h()},l(t){const e=O("svelte-u9bgzb",document.head);n=$(e,"META",{name:!0,content:!0}),e.forEach(a),g=l(t),h=$(t,"P",{}),U(h).forEach(a),d=l(t),C(r.$$.fragment,t),b=l(t),C(m.$$.fragment,t),P=l(t),o=$(t,"P",{"data-svelte-h":!0}),L(o)!=="svelte-1nehlb"&&(o.textContent=F),v=l(t),u=$(t,"UL",{"data-svelte-h":!0}),L(u)!=="svelte-ymby1y"&&(u.innerHTML=A),x=l(t),f=$(t,"P",{"data-svelte-h":!0}),L(f)!=="svelte-f7tgz2"&&(f.innerHTML=N),H=l(t),C(p.$$.fragment,t),T=l(t),_=$(t,"P",{}),U(_).forEach(a),this.h()},h(){j(n,"name","hf:doc:metadata"),j(n,"content",V)},m(t,e){R(document.head,n),s(t,g,e),s(t,h,e),s(t,d,e),D(r,t,e),s(t,b,e),D(m,t,e),s(t,P,e),s(t,o,e),s(t,v,e),s(t,u,e),s(t,x,e),s(t,f,e),s(t,H,e),D(p,t,e),s(t,T,e),s(t,_,e),w=!0},p:q,i(t){w||(E(r.$$.fragment,t),E(m.$$.fragment,t),E(p.$$.fragment,t),w=!0)},o(t){M(r.$$.fragment,t),M(m.$$.fragment,t),M(p.$$.fragment,t),w=!1},d(t){t&&(a(g),a(h),a(d),a(b),a(P),a(o),a(v),a(u),a(x),a(f),a(H),a(T),a(_)),a(n),S(r,t),S(m,t),S(p,t)}}}const V='{"title":"🤗 Datasets，回顧！","local":"-datasets回顧","sections":[],"depth":1}';function X(z){return B(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class at extends G{constructor(n){super(),I(this,n,X,Q,k,{})}}export{at as component};
