import{S as H,i as J,s as R,e as l,k as q,w as U,t as d,M as j,c,d as e,m as L,a as h,x as z,h as f,b as u,F as a,g as x,y as G,L as K,q as Q,o as V,B as W,v as X}from"../../chunks/vendor-e830fc9c.js";import{I as Y}from"../../chunks/IconCopyLink-af4c5c5b.js";function Z(M){let r,w,o,n,_,p,T,v,g,E,s,P,k,S,b,y,A,C,$;return p=new Y({}),{c(){r=l("meta"),w=q(),o=l("h1"),n=l("a"),_=l("span"),U(p.$$.fragment),T=q(),v=l("span"),g=d("Task templates"),E=q(),s=l("p"),P=d("The tasks supported by "),k=l("code"),S=d("Dataset.prepare_for_task"),b=d(" and "),y=l("code"),A=d("DatasetDict.prepare_for_task"),C=d("."),this.h()},l(t){const i=j('[data-svelte="svelte-1phssyn"]',document.head);r=c(i,"META",{name:!0,content:!0}),i.forEach(e),w=L(t),o=c(t,"H1",{class:!0});var D=h(o);n=c(D,"A",{id:!0,class:!0,href:!0});var N=h(n);_=c(N,"SPAN",{});var O=h(_);z(p.$$.fragment,O),O.forEach(e),N.forEach(e),T=L(D),v=c(D,"SPAN",{});var I=h(v);g=f(I,"Task templates"),I.forEach(e),D.forEach(e),E=L(t),s=c(t,"P",{});var m=h(s);P=f(m,"The tasks supported by "),k=c(m,"CODE",{});var B=h(k);S=f(B,"Dataset.prepare_for_task"),B.forEach(e),b=f(m," and "),y=c(m,"CODE",{});var F=h(y);A=f(F,"DatasetDict.prepare_for_task"),F.forEach(e),C=f(m,"."),m.forEach(e),this.h()},h(){u(r,"name","hf:doc:metadata"),u(r,"content",JSON.stringify(tt)),u(n,"id","task-templates"),u(n,"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"),u(n,"href","#task-templates"),u(o,"class","relative group")},m(t,i){a(document.head,r),x(t,w,i),x(t,o,i),a(o,n),a(n,_),G(p,_,null),a(o,T),a(o,v),a(v,g),x(t,E,i),x(t,s,i),a(s,P),a(s,k),a(k,S),a(s,b),a(s,y),a(y,A),a(s,C),$=!0},p:K,i(t){$||(Q(p.$$.fragment,t),$=!0)},o(t){V(p.$$.fragment,t),$=!1},d(t){e(r),t&&e(w),t&&e(o),W(p),t&&e(E),t&&e(s)}}}const tt={local:"task-templates",title:"Task templates"};function et(M){return X(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class rt extends H{constructor(r){super();J(this,r,et,Z,R,{})}}export{rt as default,tt as metadata};
