import{s as at,n as st,o as lt}from"../chunks/scheduler.5f3e6389.js";import{S as it,i as nt,e as y,s as l,c as m,h as mt,a as M,d as a,b as i,f as tt,g as p,j as Z,k as et,l as pt,m as s,n as f,t as $,o as r,p as o}from"../chunks/index.373ab25c.js";import{C as ft,H as D,E as $t}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c2e0d06d.js";import{C as V}from"../chunks/CodeBlock.cd35d790.js";function rt(O){let n,F,G,J,g,P,u,I,c,q,b,z,d,Q="You can get a list of all available tasks by running:",A,h,E,v,U="This command will display all tasks organized by their suites (e.g., leaderboard, lighteval, community).",H,k,S,w,X="You can inspect a specific task to see its configuration, metrics, and requirements by running:",j,T,B,x,K="For example:",L,_,R,C,W,N,Y;return g=new ft({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),u=new D({props:{title:"Available Tasks",local:"available-tasks",headingTag:"h1"}}),c=new D({props:{title:"Discovering Available Tasks",local:"discovering-available-tasks",headingTag:"h2"}}),b=new D({props:{title:"List All Tasks",local:"list-all-tasks",headingTag:"h3"}}),h=new V({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBsaXN0",highlighted:"lighteval tasks list",wrap:!1}}),k=new D({props:{title:"Inspect Specific Tasks",local:"inspect-specific-tasks",headingTag:"h3"}}),T=new V({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBpbnNwZWN0JTIwJTNDdGFza19uYW1lJTNF",highlighted:"lighteval tasks inspect &lt;task_name&gt;",wrap:!1}}),_=new V({props:{code:"bGlnaHRldmFsJTIwdGFza3MlMjBpbnNwZWN0JTIwJTIybGVhZGVyYm9hcmQlN0N0cnV0aGZ1bHFhJTNBbWMlN0MwJTIy",highlighted:'lighteval tasks inspect <span class="hljs-string">&quot;leaderboard|truthfulqa:mc|0&quot;</span>',wrap:!1}}),C=new $t({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/available-tasks.mdx"}}),{c(){n=y("meta"),F=l(),G=y("p"),J=l(),m(g.$$.fragment),P=l(),m(u.$$.fragment),I=l(),m(c.$$.fragment),q=l(),m(b.$$.fragment),z=l(),d=y("p"),d.textContent=Q,A=l(),m(h.$$.fragment),E=l(),v=y("p"),v.textContent=U,H=l(),m(k.$$.fragment),S=l(),w=y("p"),w.textContent=X,j=l(),m(T.$$.fragment),B=l(),x=y("p"),x.textContent=K,L=l(),m(_.$$.fragment),R=l(),m(C.$$.fragment),W=l(),N=y("p"),this.h()},l(t){const e=mt("svelte-u9bgzb",document.head);n=M(e,"META",{name:!0,content:!0}),e.forEach(a),F=i(t),G=M(t,"P",{}),tt(G).forEach(a),J=i(t),p(g.$$.fragment,t),P=i(t),p(u.$$.fragment,t),I=i(t),p(c.$$.fragment,t),q=i(t),p(b.$$.fragment,t),z=i(t),d=M(t,"P",{"data-svelte-h":!0}),Z(d)!=="svelte-1qd60fl"&&(d.textContent=Q),A=i(t),p(h.$$.fragment,t),E=i(t),v=M(t,"P",{"data-svelte-h":!0}),Z(v)!=="svelte-121e2qi"&&(v.textContent=U),H=i(t),p(k.$$.fragment,t),S=i(t),w=M(t,"P",{"data-svelte-h":!0}),Z(w)!=="svelte-1manwhv"&&(w.textContent=X),j=i(t),p(T.$$.fragment,t),B=i(t),x=M(t,"P",{"data-svelte-h":!0}),Z(x)!=="svelte-1gkqha7"&&(x.textContent=K),L=i(t),p(_.$$.fragment,t),R=i(t),p(C.$$.fragment,t),W=i(t),N=M(t,"P",{}),tt(N).forEach(a),this.h()},h(){et(n,"name","hf:doc:metadata"),et(n,"content",ot)},m(t,e){pt(document.head,n),s(t,F,e),s(t,G,e),s(t,J,e),f(g,t,e),s(t,P,e),f(u,t,e),s(t,I,e),f(c,t,e),s(t,q,e),f(b,t,e),s(t,z,e),s(t,d,e),s(t,A,e),f(h,t,e),s(t,E,e),s(t,v,e),s(t,H,e),f(k,t,e),s(t,S,e),s(t,w,e),s(t,j,e),f(T,t,e),s(t,B,e),s(t,x,e),s(t,L,e),f(_,t,e),s(t,R,e),f(C,t,e),s(t,W,e),s(t,N,e),Y=!0},p:st,i(t){Y||($(g.$$.fragment,t),$(u.$$.fragment,t),$(c.$$.fragment,t),$(b.$$.fragment,t),$(h.$$.fragment,t),$(k.$$.fragment,t),$(T.$$.fragment,t),$(_.$$.fragment,t),$(C.$$.fragment,t),Y=!0)},o(t){r(g.$$.fragment,t),r(u.$$.fragment,t),r(c.$$.fragment,t),r(b.$$.fragment,t),r(h.$$.fragment,t),r(k.$$.fragment,t),r(T.$$.fragment,t),r(_.$$.fragment,t),r(C.$$.fragment,t),Y=!1},d(t){t&&(a(F),a(G),a(J),a(P),a(I),a(q),a(z),a(d),a(A),a(E),a(v),a(H),a(S),a(w),a(j),a(B),a(x),a(L),a(R),a(W),a(N)),a(n),o(g,t),o(u,t),o(c,t),o(b,t),o(h,t),o(k,t),o(T,t),o(_,t),o(C,t)}}}const ot='{"title":"Available Tasks","local":"available-tasks","sections":[{"title":"Discovering Available Tasks","local":"discovering-available-tasks","sections":[{"title":"List All Tasks","local":"list-all-tasks","sections":[],"depth":3},{"title":"Inspect Specific Tasks","local":"inspect-specific-tasks","sections":[],"depth":3}],"depth":2}],"depth":1}';function gt(O){return lt(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ht extends it{constructor(n){super(),nt(this,n,gt,rt,at,{})}}export{ht as component};
