import{s as N,n as Q,o as W}from"../chunks/scheduler.d6170356.js";import{S as X,i as Y,g as l,s as i,r as E,A as Z,h,f as a,c as n,j as K,u as j,x as b,k as G,y as tt,a as s,v as q,d as z,t as A,w as F}from"../chunks/index.fcd4cc08.js";import{H as V}from"../chunks/Heading.8660bd0e.js";function et(I){let r,y,$,_,f,H,c,T,u,O='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/glue" rel="nofollow">GLUE</a>, include a <a href="./datasets-viewer">Dataset Viewer</a> to showcase the data.',L,d,U='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.',M,p,P,g,R='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.',x,o,B='<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"/>',k,m,C,v,J='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.',D,w,S;return f=new V({props:{title:"Datasets Overview",local:"datasets-overview",headingTag:"h1"}}),c=new V({props:{title:"Datasets on the Hub",local:"datasets-on-the-hub",headingTag:"h2"}}),p=new V({props:{title:"Search for datasets",local:"search-for-datasets",headingTag:"h2"}}),m=new V({props:{title:"Privacy",local:"privacy",headingTag:"h2"}}),{c(){r=l("meta"),y=i(),$=l("p"),_=i(),E(f.$$.fragment),H=i(),E(c.$$.fragment),T=i(),u=l("p"),u.innerHTML=O,L=i(),d=l("p"),d.innerHTML=U,M=i(),E(p.$$.fragment),P=i(),g=l("p"),g.innerHTML=R,x=i(),o=l("div"),o.innerHTML=B,k=i(),E(m.$$.fragment),C=i(),v=l("p"),v.innerHTML=J,D=i(),w=l("p"),this.h()},l(t){const e=Z("svelte-u9bgzb",document.head);r=h(e,"META",{name:!0,content:!0}),e.forEach(a),y=n(t),$=h(t,"P",{}),K($).forEach(a),_=n(t),j(f.$$.fragment,t),H=n(t),j(c.$$.fragment,t),T=n(t),u=h(t,"P",{"data-svelte-h":!0}),b(u)!=="svelte-1lbj541"&&(u.innerHTML=O),L=n(t),d=h(t,"P",{"data-svelte-h":!0}),b(d)!=="svelte-2q7a1g"&&(d.innerHTML=U),M=n(t),j(p.$$.fragment,t),P=n(t),g=h(t,"P",{"data-svelte-h":!0}),b(g)!=="svelte-10lx9h2"&&(g.innerHTML=R),x=n(t),o=h(t,"DIV",{class:!0,"data-svelte-h":!0}),b(o)!=="svelte-1te0dwj"&&(o.innerHTML=B),k=n(t),j(m.$$.fragment,t),C=n(t),v=h(t,"P",{"data-svelte-h":!0}),b(v)!=="svelte-1fqokbv"&&(v.innerHTML=J),D=n(t),w=h(t,"P",{}),K(w).forEach(a),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",at),G(o,"class","flex justify-center")},m(t,e){tt(document.head,r),s(t,y,e),s(t,$,e),s(t,_,e),q(f,t,e),s(t,H,e),q(c,t,e),s(t,T,e),s(t,u,e),s(t,L,e),s(t,d,e),s(t,M,e),q(p,t,e),s(t,P,e),s(t,g,e),s(t,x,e),s(t,o,e),s(t,k,e),q(m,t,e),s(t,C,e),s(t,v,e),s(t,D,e),s(t,w,e),S=!0},p:Q,i(t){S||(z(f.$$.fragment,t),z(c.$$.fragment,t),z(p.$$.fragment,t),z(m.$$.fragment,t),S=!0)},o(t){A(f.$$.fragment,t),A(c.$$.fragment,t),A(p.$$.fragment,t),A(m.$$.fragment,t),S=!1},d(t){t&&(a(y),a($),a(_),a(H),a(T),a(u),a(L),a(d),a(M),a(P),a(g),a(x),a(o),a(k),a(C),a(v),a(D),a(w)),a(r),F(f,t),F(c,t),F(p,t),F(m,t)}}}const at='{"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 st(I){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ot extends X{constructor(r){super(),Y(this,r,st,et,N,{})}}export{ot as component};
