Buckets:
| import{s as B,n as I,o as U}from"../chunks/scheduler.893fe8c9.js";import{S as G,i as O,e as h,s as i,c as L,h as Q,a as d,d as a,b as o,f as j,g as T,j as z,k as A,l as R,m as n,n as M,t as D,o as E,p as S}from"../chunks/index.b1df2166.js";import{C as J,H as K,E as V}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.eb5a8599.js";import{C as X}from"../chunks/CourseFloatingBanner.c1c08878.js";function Y(q){let s,b,g,y,r,_,l,w,m,v,u,F="Well, that was quite a tour through the 🤗 Datasets library — congratulations on making it this far! With the knowledge that you’ve gained from this chapter, you should be able to:",x,f,N="<li>Load datasets from anywhere, be it the Hugging Face Hub, your laptop, or a remote server at your company.</li> <li>Wrangle your data using a mix of the <code>Dataset.map()</code> and <code>Dataset.filter()</code> functions.</li> <li>Quickly switch between data formats like Pandas and NumPy using <code>Dataset.set_format()</code>.</li> <li>Create your very own dataset and push it to the Hugging Face Hub.</li> <li>Embed your documents using a Transformer model and build a semantic search engine using FAISS.</li>",k,p,W='In <a href="/course/chapter7">Chapter 7</a>, we’ll put all of this to good use as we take a deep dive into the core NLP tasks that Transformer models are great for. Before jumping ahead, though, put your knowledge of 🤗 Datasets to the test with a quick quiz!',C,c,P,$,H;return r=new J({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),l=new K({props:{title:"🤗 Datasets, check!",local:"datasets-check",headingTag:"h1"}}),m=new X({props:{chapter:5,classNames:"absolute z-10 right-0 top-0"}}),c=new V({props:{source:"https://github.com/huggingface/course/blob/main/chapters/en/chapter5/7.mdx"}}),{c(){s=h("meta"),b=i(),g=h("p"),y=i(),L(r.$$.fragment),_=i(),L(l.$$.fragment),w=i(),L(m.$$.fragment),v=i(),u=h("p"),u.textContent=F,x=i(),f=h("ul"),f.innerHTML=N,k=i(),p=h("p"),p.innerHTML=W,C=i(),L(c.$$.fragment),P=i(),$=h("p"),this.h()},l(t){const e=Q("svelte-u9bgzb",document.head);s=d(e,"META",{name:!0,content:!0}),e.forEach(a),b=o(t),g=d(t,"P",{}),j(g).forEach(a),y=o(t),T(r.$$.fragment,t),_=o(t),T(l.$$.fragment,t),w=o(t),T(m.$$.fragment,t),v=o(t),u=d(t,"P",{"data-svelte-h":!0}),z(u)!=="svelte-b42zfc"&&(u.textContent=F),x=o(t),f=d(t,"UL",{"data-svelte-h":!0}),z(f)!=="svelte-vwrb79"&&(f.innerHTML=N),k=o(t),p=d(t,"P",{"data-svelte-h":!0}),z(p)!=="svelte-cfae0"&&(p.innerHTML=W),C=o(t),T(c.$$.fragment,t),P=o(t),$=d(t,"P",{}),j($).forEach(a),this.h()},h(){A(s,"name","hf:doc:metadata"),A(s,"content",Z)},m(t,e){R(document.head,s),n(t,b,e),n(t,g,e),n(t,y,e),M(r,t,e),n(t,_,e),M(l,t,e),n(t,w,e),M(m,t,e),n(t,v,e),n(t,u,e),n(t,x,e),n(t,f,e),n(t,k,e),n(t,p,e),n(t,C,e),M(c,t,e),n(t,P,e),n(t,$,e),H=!0},p:I,i(t){H||(D(r.$$.fragment,t),D(l.$$.fragment,t),D(m.$$.fragment,t),D(c.$$.fragment,t),H=!0)},o(t){E(r.$$.fragment,t),E(l.$$.fragment,t),E(m.$$.fragment,t),E(c.$$.fragment,t),H=!1},d(t){t&&(a(b),a(g),a(y),a(_),a(w),a(v),a(u),a(x),a(f),a(k),a(p),a(C),a(P),a($)),a(s),S(r,t),S(l,t),S(m,t),S(c,t)}}}const Z='{"title":"🤗 Datasets, check!","local":"datasets-check","sections":[],"depth":1}';function tt(q){return U(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class it extends G{constructor(s){super(),O(this,s,tt,Y,B,{})}}export{it as component}; | |
Xet Storage Details
- Size:
- 3.41 kB
- Xet hash:
- 746e5a00fc55ba9cfc1c84ff34e4f783cd7521c71c57cd712dac5b08cd86d6f5
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.