import{S as mt,i as vt,s as _t,e as n,k as v,w as Y,t as i,M as $t,c as r,d as s,m as _,a as o,x as Z,h as p,b as c,G as a,g as l,y as tt,L as gt,q as st,o as at,B as et,v as wt}from"../chunks/vendor-hf-doc-builder.js";import{I as xt}from"../chunks/IconCopyLink-hf-doc-builder.js";import{C as dt}from"../chunks/CodeBlock-hf-doc-builder.js";function yt(nt){let f,S,h,d,b,$,O,A,D,C,u,G,y,J,R,k,U,z,T,m,F,P,K,Q,V,g,H,j,W,L,E,w,X,M,x,N;return $=new xt({}),g=new dt({props:{code:"https://datasets-server.huggingface.co/valid",highlighted:'https:<span class="hljs-regexp">//</span>datasets-server.huggingface.co/valid'}}),x=new dt({props:{code:`{
  "valid": [
    "0n1xus/codexglue",
    "0n1xus/pytorrent-standalone",
    "0x7194633/rupile",
    "51la5/keyword-extraction",
    ...
  ]
}`,highlighted:`<span class="hljs-punctuation">{</span>
  <span class="hljs-attr">&quot;valid&quot;</span><span class="hljs-punctuation">:</span> <span class="hljs-punctuation">[</span>
    <span class="hljs-string">&quot;0n1xus/codexglue&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-string">&quot;0n1xus/pytorrent-standalone&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-string">&quot;0x7194633/rupile&quot;</span><span class="hljs-punctuation">,</span>
    <span class="hljs-string">&quot;51la5/keyword-extraction&quot;</span><span class="hljs-punctuation">,</span>
    ...
  <span class="hljs-punctuation">]</span>
<span class="hljs-punctuation">}</span>`}}),{c(){f=n("meta"),S=v(),h=n("h1"),d=n("a"),b=n("span"),Y($.$$.fragment),O=v(),A=n("span"),D=i("Valid datasets"),C=v(),u=n("p"),G=i("An error may be returned if an issue occurs during extraction of the "),y=n("a"),J=i("splits"),R=i(" or "),k=n("a"),U=i("first rows"),z=i(" of some datasets."),T=v(),m=n("p"),F=i("The "),P=n("code"),K=i("/valid"),Q=i(" endpoints gives the list of the Hub datasets that work without an error:"),V=v(),Y(g.$$.fragment),H=v(),j=n("p"),W=i("The response looks like:"),L=v(),E=n("p"),w=n("a"),X=i("https://datasets-server.huggingface.co/valid"),M=v(),Y(x.$$.fragment),this.h()},l(t){const e=$t('[data-svelte="svelte-1phssyn"]',document.head);f=r(e,"META",{name:!0,content:!0}),e.forEach(s),S=_(t),h=r(t,"H1",{class:!0});var B=o(h);d=r(B,"A",{id:!0,class:!0,href:!0});var rt=o(d);b=r(rt,"SPAN",{});var ot=o(b);Z($.$$.fragment,ot),ot.forEach(s),rt.forEach(s),O=_(B),A=r(B,"SPAN",{});var lt=o(A);D=p(lt,"Valid datasets"),lt.forEach(s),B.forEach(s),C=_(t),u=r(t,"P",{});var q=o(u);G=p(q,"An error may be returned if an issue occurs during extraction of the "),y=r(q,"A",{href:!0});var it=o(y);J=p(it,"splits"),it.forEach(s),R=p(q," or "),k=r(q,"A",{href:!0});var pt=o(k);U=p(pt,"first rows"),pt.forEach(s),z=p(q," of some datasets."),q.forEach(s),T=_(t),m=r(t,"P",{});var I=o(m);F=p(I,"The "),P=r(I,"CODE",{});var ut=o(P);K=p(ut,"/valid"),ut.forEach(s),Q=p(I," endpoints gives the list of the Hub datasets that work without an error:"),I.forEach(s),V=_(t),Z(g.$$.fragment,t),H=_(t),j=r(t,"P",{});var ct=o(j);W=p(ct,"The response looks like:"),ct.forEach(s),L=_(t),E=r(t,"P",{});var ft=o(E);w=r(ft,"A",{href:!0,rel:!0});var ht=o(w);X=p(ht,"https://datasets-server.huggingface.co/valid"),ht.forEach(s),ft.forEach(s),M=_(t),Z(x.$$.fragment,t),this.h()},h(){c(f,"name","hf:doc:metadata"),c(f,"content",JSON.stringify(kt)),c(d,"id","valid-datasets"),c(d,"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"),c(d,"href","#valid-datasets"),c(h,"class","relative group"),c(y,"href","./splits"),c(k,"href","./first_rows"),c(w,"href","https://datasets-server.huggingface.co/valid"),c(w,"rel","nofollow")},m(t,e){a(document.head,f),l(t,S,e),l(t,h,e),a(h,d),a(d,b),tt($,b,null),a(h,O),a(h,A),a(A,D),l(t,C,e),l(t,u,e),a(u,G),a(u,y),a(y,J),a(u,R),a(u,k),a(k,U),a(u,z),l(t,T,e),l(t,m,e),a(m,F),a(m,P),a(P,K),a(m,Q),l(t,V,e),tt(g,t,e),l(t,H,e),l(t,j,e),a(j,W),l(t,L,e),l(t,E,e),a(E,w),a(w,X),l(t,M,e),tt(x,t,e),N=!0},p:gt,i(t){N||(st($.$$.fragment,t),st(g.$$.fragment,t),st(x.$$.fragment,t),N=!0)},o(t){at($.$$.fragment,t),at(g.$$.fragment,t),at(x.$$.fragment,t),N=!1},d(t){s(f),t&&s(S),t&&s(h),et($),t&&s(C),t&&s(u),t&&s(T),t&&s(m),t&&s(V),et(g,t),t&&s(H),t&&s(j),t&&s(L),t&&s(E),t&&s(M),et(x,t)}}}const kt={local:"valid-datasets",title:"Valid datasets"};function jt(nt){return wt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class At extends mt{constructor(f){super();vt(this,f,jt,yt,_t,{})}}export{At as default,kt as metadata};
