import{S as Je,i as Oe,s as Ue,e as r,k as c,w as je,t as i,M as Ke,c as o,d as t,m as u,a as l,x as Qe,h as n,b as s,N as Xe,F as e,g as f,y as Ye,L as Ze,q as ea,o as aa,B as ta,v as sa}from"../chunks/vendor-e830fc9c.js";import{I as ra}from"../chunks/IconCopyLink-af4c5c5b.js";function oa(Ae){let p,z,m,_,R,E,ae,B,te,W,P,He,G,N,se,J,x,re,D,oe,le,O,g,ie,A,ne,de,H,ce,ue,U,L,h,v,$,he,fe,I,ge,pe,w,T,me,ve,S,we,ye,y,V,be,_e,F,xe,ke,b,q,Ee,Pe,C,De,j;return E=new ra({}),{c(){p=r("meta"),z=c(),m=r("h1"),_=r("a"),R=r("span"),je(E.$$.fragment),ae=c(),B=r("span"),te=i("Datasets"),W=c(),P=r("img"),G=c(),N=r("p"),se=i("\u{1F917} Datasets is a library for easily accessing and sharing datasets, and evaluation metrics for Natural Language Processing (NLP), computer vision, and audio tasks."),J=c(),x=r("p"),re=i("Load a dataset in a single line of code, and use our powerful data processing methods to quickly get your dataset ready for training in a deep learning model. Backed by the Apache Arrow format, process large datasets with zero-copy reads without any memory constraints for optimal speed and efficiency. We also feature a deep integration with the "),D=r("a"),oe=i("Hugging Face Hub"),le=i(", allowing you to easily load and share a dataset with the wider NLP community. There are currently over 2658 datasets, and more than 34 metrics available."),O=c(),g=r("p"),ie=i("Find your dataset today on the "),A=r("a"),ne=i("Hugging Face Hub"),de=i(", or take an in-depth look inside a dataset with the live "),H=r("a"),ce=i("Datasets Viewer"),ue=i("."),U=c(),L=r("div"),h=r("div"),v=r("a"),$=r("div"),he=i("Tutorials"),fe=c(),I=r("p"),ge=i("Learn the basics and become familiar with loading, accessing, and processing a dataset. Start here if you are using \u{1F917} Datasets for the first time!"),pe=c(),w=r("a"),T=r("div"),me=i("How-to guides"),ve=c(),S=r("p"),we=i("Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use \u{1F917} Datasets to solve real-world problems."),ye=c(),y=r("a"),V=r("div"),be=i("Conceptual guides"),_e=c(),F=r("p"),xe=i("High-level explanations for building a better understanding about important topics such as the underlying data format, the cache, and how datasets are generated."),ke=c(),b=r("a"),q=r("div"),Ee=i("Reference"),Pe=c(),C=r("p"),De=i("Technical descriptions of how \u{1F917} Datasets classes and methods work."),this.h()},l(a){const d=Ke('[data-svelte="svelte-1phssyn"]',document.head);p=o(d,"META",{name:!0,content:!0}),d.forEach(t),z=u(a),m=o(a,"H1",{class:!0});var K=l(m);_=o(K,"A",{id:!0,class:!0,href:!0});var Le=l(_);R=o(Le,"SPAN",{});var Ne=l(R);Qe(E.$$.fragment,Ne),Ne.forEach(t),Le.forEach(t),ae=u(K),B=o(K,"SPAN",{});var $e=l(B);te=n($e,"Datasets"),$e.forEach(t),K.forEach(t),W=u(a),P=o(a,"IMG",{class:!0,src:!0}),G=u(a),N=o(a,"P",{});var Ie=l(N);se=n(Ie,"\u{1F917} Datasets is a library for easily accessing and sharing datasets, and evaluation metrics for Natural Language Processing (NLP), computer vision, and audio tasks."),Ie.forEach(t),J=u(a),x=o(a,"P",{});var Q=l(x);re=n(Q,"Load a dataset in a single line of code, and use our powerful data processing methods to quickly get your dataset ready for training in a deep learning model. Backed by the Apache Arrow format, process large datasets with zero-copy reads without any memory constraints for optimal speed and efficiency. We also feature a deep integration with the "),D=o(Q,"A",{href:!0,rel:!0});var Te=l(D);oe=n(Te,"Hugging Face Hub"),Te.forEach(t),le=n(Q,", allowing you to easily load and share a dataset with the wider NLP community. There are currently over 2658 datasets, and more than 34 metrics available."),Q.forEach(t),O=u(a),g=o(a,"P",{});var M=l(g);ie=n(M,"Find your dataset today on the "),A=o(M,"A",{href:!0,rel:!0});var Se=l(A);ne=n(Se,"Hugging Face Hub"),Se.forEach(t),de=n(M,", or take an in-depth look inside a dataset with the live "),H=o(M,"A",{href:!0,rel:!0});var Ve=l(H);ce=n(Ve,"Datasets Viewer"),Ve.forEach(t),ue=n(M,"."),M.forEach(t),U=u(a),L=o(a,"DIV",{class:!0});var Fe=l(L);h=o(Fe,"DIV",{class:!0});var k=l(h);v=o(k,"A",{class:!0,href:!0});var X=l(v);$=o(X,"DIV",{class:!0});var qe=l($);he=n(qe,"Tutorials"),qe.forEach(t),fe=u(X),I=o(X,"P",{class:!0});var Ce=l(I);ge=n(Ce,"Learn the basics and become familiar with loading, accessing, and processing a dataset. Start here if you are using \u{1F917} Datasets for the first time!"),Ce.forEach(t),X.forEach(t),pe=u(k),w=o(k,"A",{class:!0,href:!0});var Y=l(w);T=o(Y,"DIV",{class:!0});var Me=l(T);me=n(Me,"How-to guides"),Me.forEach(t),ve=u(Y),S=o(Y,"P",{class:!0});var Re=l(S);we=n(Re,"Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use \u{1F917} Datasets to solve real-world problems."),Re.forEach(t),Y.forEach(t),ye=u(k),y=o(k,"A",{class:!0,href:!0});var Z=l(y);V=o(Z,"DIV",{class:!0});var Be=l(V);be=n(Be,"Conceptual guides"),Be.forEach(t),_e=u(Z),F=o(Z,"P",{class:!0});var ze=l(F);xe=n(ze,"High-level explanations for building a better understanding about important topics such as the underlying data format, the cache, and how datasets are generated."),ze.forEach(t),Z.forEach(t),ke=u(k),b=o(k,"A",{class:!0,href:!0});var ee=l(b);q=o(ee,"DIV",{class:!0});var We=l(q);Ee=n(We,"Reference"),We.forEach(t),Pe=u(ee),C=o(ee,"P",{class:!0});var Ge=l(C);De=n(Ge,"Technical descriptions of how \u{1F917} Datasets classes and methods work."),Ge.forEach(t),ee.forEach(t),k.forEach(t),Fe.forEach(t),this.h()},h(){s(p,"name","hf:doc:metadata"),s(p,"content",JSON.stringify(la)),s(_,"id","datasets"),s(_,"class","header-link block pr-1.5 text-lg no-hover:hidden with-hover:absolute with-hover:p-1.5 with-hover:opacity-0 with-hover:group-hover:opacity-100 with-hover:right-full"),s(_,"href","#datasets"),s(m,"class","relative group"),s(P,"class","float-left !m-0 !border-0 !dark:border-0 !shadow-none !max-w-lg w-[150px]"),Xe(P.src,He="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/datasets/datasets_logo.png")||s(P,"src",He),s(D,"href","https://huggingface.co/datasets"),s(D,"rel","nofollow"),s(A,"href","https://huggingface.co/datasets"),s(A,"rel","nofollow"),s(H,"href","https://huggingface.co/datasets/viewer/"),s(H,"rel","nofollow"),s($,"class","w-full text-center bg-gradient-to-br from-blue-400 to-blue-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed"),s(I,"class","text-gray-700"),s(v,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),s(v,"href","/docs/datasets/tutorial"),s(T,"class","w-full text-center bg-gradient-to-br from-indigo-400 to-indigo-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed"),s(S,"class","text-gray-700"),s(w,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),s(w,"href","/docs/datasets/how_to"),s(V,"class","w-full text-center bg-gradient-to-br from-pink-400 to-pink-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed"),s(F,"class","text-gray-700"),s(y,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),s(y,"href","/docs/datasets/about_arrow"),s(q,"class","w-full text-center bg-gradient-to-br from-purple-400 to-purple-500 rounded-lg py-1.5 font-semibold mb-5 text-white text-lg leading-relaxed"),s(C,"class","text-gray-700"),s(b,"class","!no-underline border dark:border-gray-700 p-5 rounded-lg shadow hover:shadow-lg"),s(b,"href","/docs/datasets/package_reference/main_classes"),s(h,"class","w-full flex flex-col space-y-4 md:space-y-0 md:grid md:grid-cols-2 md:gap-y-4 md:gap-x-5"),s(L,"class","mt-10")},m(a,d){e(document.head,p),f(a,z,d),f(a,m,d),e(m,_),e(_,R),Ye(E,R,null),e(m,ae),e(m,B),e(B,te),f(a,W,d),f(a,P,d),f(a,G,d),f(a,N,d),e(N,se),f(a,J,d),f(a,x,d),e(x,re),e(x,D),e(D,oe),e(x,le),f(a,O,d),f(a,g,d),e(g,ie),e(g,A),e(A,ne),e(g,de),e(g,H),e(H,ce),e(g,ue),f(a,U,d),f(a,L,d),e(L,h),e(h,v),e(v,$),e($,he),e(v,fe),e(v,I),e(I,ge),e(h,pe),e(h,w),e(w,T),e(T,me),e(w,ve),e(w,S),e(S,we),e(h,ye),e(h,y),e(y,V),e(V,be),e(y,_e),e(y,F),e(F,xe),e(h,ke),e(h,b),e(b,q),e(q,Ee),e(b,Pe),e(b,C),e(C,De),j=!0},p:Ze,i(a){j||(ea(E.$$.fragment,a),j=!0)},o(a){aa(E.$$.fragment,a),j=!1},d(a){t(p),a&&t(z),a&&t(m),ta(E),a&&t(W),a&&t(P),a&&t(G),a&&t(N),a&&t(J),a&&t(x),a&&t(O),a&&t(g),a&&t(U),a&&t(L)}}}const la={local:"datasets",title:"Datasets"};function ia(Ae){return sa(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ca extends Je{constructor(p){super();Oe(this,p,ia,oa,Ue,{})}}export{ca as default,la as metadata};
