import{s as W,n as X,o as Y}from"../chunks/scheduler.d6170356.js";import{S as Z,i as tt,g as l,s as i,r as y,A as et,h,f as a,c as n,j as Q,u as _,x as H,k as I,y as at,a as s,v as T,d as L,t as x,w as M}from"../chunks/index.fcd4cc08.js";import{H as V,E as st}from"../chunks/index.9f2da87a.js";function it(U){let r,P,b,k,f,E,u,C,c,R='The Hugging Face Hub hosts a <a href="https://huggingface.co/datasets" rel="nofollow">large number of community-curated datasets</a> for a diverse range of tasks such as translation, automatic speech recognition, and image classification. Alongside the information contained in the <a href="./datasets-cards">dataset card</a>, many datasets, such as <a href="https://huggingface.co/datasets/nyu-mll/glue" rel="nofollow">GLUE</a>, include a <a href="./datasets-viewer">Dataset Viewer</a> to showcase the data.',D,d,B='Each dataset is a <a href="./repositories">Git repository</a> that contains the data required to generate splits for training, evaluation, and testing. For information on how a dataset repository is structured, refer to the <a href="./datasets-data-files-configuration">Data files Configuration page</a>. Following the supported repo structure will ensure that the dataset page on the Hub will have a Viewer.',S,m,q,g,J='Like models and spaces, you can search the Hub for datasets using the search bar in the top navigation or on the <a href="https://huggingface.co/datasets" rel="nofollow">main datasets page</a>. There’s a large number of languages, tasks, and licenses that you can use to filter your results to find a dataset that’s right for you.',z,o,K='<img class="block dark:hidden" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/datasets-main.png"/> <img class="hidden dark:block" src="https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/hub/datasets-main-dark.png"/>',j,p,A,v,N='Since datasets are repositories, you can <a href="./repositories-settings#private-repositories">toggle their visibility between private and public</a> through the Settings tab. If a dataset is owned by an <a href="./organizations">organization</a>, the privacy settings apply to all the members of the organization.',F,$,G,w,O;return f=new V({props:{title:"Datasets Overview",local:"datasets-overview",headingTag:"h1"}}),u=new V({props:{title:"Datasets on the Hub",local:"datasets-on-the-hub",headingTag:"h2"}}),m=new V({props:{title:"Search for datasets",local:"search-for-datasets",headingTag:"h2"}}),p=new V({props:{title:"Privacy",local:"privacy",headingTag:"h2"}}),$=new st({props:{source:"https://github.com/huggingface/hub-docs/blob/main/docs/hub/datasets-overview.md"}}),{c(){r=l("meta"),P=i(),b=l("p"),k=i(),y(f.$$.fragment),E=i(),y(u.$$.fragment),C=i(),c=l("p"),c.innerHTML=R,D=i(),d=l("p"),d.innerHTML=B,S=i(),y(m.$$.fragment),q=i(),g=l("p"),g.innerHTML=J,z=i(),o=l("div"),o.innerHTML=K,j=i(),y(p.$$.fragment),A=i(),v=l("p"),v.innerHTML=N,F=i(),y($.$$.fragment),G=i(),w=l("p"),this.h()},l(t){const e=et("svelte-u9bgzb",document.head);r=h(e,"META",{name:!0,content:!0}),e.forEach(a),P=n(t),b=h(t,"P",{}),Q(b).forEach(a),k=n(t),_(f.$$.fragment,t),E=n(t),_(u.$$.fragment,t),C=n(t),c=h(t,"P",{"data-svelte-h":!0}),H(c)!=="svelte-1p5xnhi"&&(c.innerHTML=R),D=n(t),d=h(t,"P",{"data-svelte-h":!0}),H(d)!=="svelte-2q7a1g"&&(d.innerHTML=B),S=n(t),_(m.$$.fragment,t),q=n(t),g=h(t,"P",{"data-svelte-h":!0}),H(g)!=="svelte-10lx9h2"&&(g.innerHTML=J),z=n(t),o=h(t,"DIV",{class:!0,"data-svelte-h":!0}),H(o)!=="svelte-1te0dwj"&&(o.innerHTML=K),j=n(t),_(p.$$.fragment,t),A=n(t),v=h(t,"P",{"data-svelte-h":!0}),H(v)!=="svelte-1fqokbv"&&(v.innerHTML=N),F=n(t),_($.$$.fragment,t),G=n(t),w=h(t,"P",{}),Q(w).forEach(a),this.h()},h(){I(r,"name","hf:doc:metadata"),I(r,"content",nt),I(o,"class","flex justify-center")},m(t,e){at(document.head,r),s(t,P,e),s(t,b,e),s(t,k,e),T(f,t,e),s(t,E,e),T(u,t,e),s(t,C,e),s(t,c,e),s(t,D,e),s(t,d,e),s(t,S,e),T(m,t,e),s(t,q,e),s(t,g,e),s(t,z,e),s(t,o,e),s(t,j,e),T(p,t,e),s(t,A,e),s(t,v,e),s(t,F,e),T($,t,e),s(t,G,e),s(t,w,e),O=!0},p:X,i(t){O||(L(f.$$.fragment,t),L(u.$$.fragment,t),L(m.$$.fragment,t),L(p.$$.fragment,t),L($.$$.fragment,t),O=!0)},o(t){x(f.$$.fragment,t),x(u.$$.fragment,t),x(m.$$.fragment,t),x(p.$$.fragment,t),x($.$$.fragment,t),O=!1},d(t){t&&(a(P),a(b),a(k),a(E),a(C),a(c),a(D),a(d),a(S),a(q),a(g),a(z),a(o),a(j),a(A),a(v),a(F),a(G),a(w)),a(r),M(f,t),M(u,t),M(m,t),M(p,t),M($,t)}}}const nt='{"title":"Datasets Overview","local":"datasets-overview","sections":[{"title":"Datasets on the Hub","local":"datasets-on-the-hub","sections":[],"depth":2},{"title":"Search for datasets","local":"search-for-datasets","sections":[],"depth":2},{"title":"Privacy","local":"privacy","sections":[],"depth":2}],"depth":1}';function rt(U){return Y(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ft extends Z{constructor(r){super(),tt(this,r,rt,it,W,{})}}export{ft as component};
