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 ee,a as s,v as z,d as q,t as A,w as F}from"../chunks/index.fcd4cc08.js";import{H as V}from"../chunks/Heading.8660bd0e.js";function te(I){let r,y,$,_,f,H,c,T,d,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,u,U='Each dataset is a <a href="./repositories">Git repository</a>, equipped with the necessary scripts to download the data and 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(),d=l("p"),d.innerHTML=O,L=i(),u=l("p"),u.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(e){const t=Z("svelte-u9bgzb",document.head);r=h(t,"META",{name:!0,content:!0}),t.forEach(a),y=n(e),$=h(e,"P",{}),K($).forEach(a),_=n(e),j(f.$$.fragment,e),H=n(e),j(c.$$.fragment,e),T=n(e),d=h(e,"P",{"data-svelte-h":!0}),b(d)!=="svelte-1lbj541"&&(d.innerHTML=O),L=n(e),u=h(e,"P",{"data-svelte-h":!0}),b(u)!=="svelte-1scafyt"&&(u.innerHTML=U),M=n(e),j(p.$$.fragment,e),P=n(e),g=h(e,"P",{"data-svelte-h":!0}),b(g)!=="svelte-10lx9h2"&&(g.innerHTML=R),x=n(e),o=h(e,"DIV",{class:!0,"data-svelte-h":!0}),b(o)!=="svelte-1te0dwj"&&(o.innerHTML=B),k=n(e),j(m.$$.fragment,e),C=n(e),v=h(e,"P",{"data-svelte-h":!0}),b(v)!=="svelte-1fqokbv"&&(v.innerHTML=J),D=n(e),w=h(e,"P",{}),K(w).forEach(a),this.h()},h(){G(r,"name","hf:doc:metadata"),G(r,"content",ae),G(o,"class","flex justify-center")},m(e,t){ee(document.head,r),s(e,y,t),s(e,$,t),s(e,_,t),z(f,e,t),s(e,H,t),z(c,e,t),s(e,T,t),s(e,d,t),s(e,L,t),s(e,u,t),s(e,M,t),z(p,e,t),s(e,P,t),s(e,g,t),s(e,x,t),s(e,o,t),s(e,k,t),z(m,e,t),s(e,C,t),s(e,v,t),s(e,D,t),s(e,w,t),S=!0},p:Q,i(e){S||(q(f.$$.fragment,e),q(c.$$.fragment,e),q(p.$$.fragment,e),q(m.$$.fragment,e),S=!0)},o(e){A(f.$$.fragment,e),A(c.$$.fragment,e),A(p.$$.fragment,e),A(m.$$.fragment,e),S=!1},d(e){e&&(a(y),a($),a(_),a(H),a(T),a(d),a(L),a(u),a(M),a(P),a(g),a(x),a(o),a(k),a(C),a(v),a(D),a(w)),a(r),F(f,e),F(c,e),F(p,e),F(m,e)}}}const ae='{"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 se(I){return W(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class oe extends X{constructor(r){super(),Y(this,r,se,te,N,{})}}export{oe as component};
