Buckets:

rtrm's picture
download
raw
5.54 kB
import{s as Z,n as ee,o as te}from"../chunks/scheduler.5f3e6389.js";import{S as ae,i as ne,e as w,s as l,c as m,h as le,a as M,d as a,b as i,f as C,g as p,j as ie,k as L,l as J,m as n,n as o,t as g,o as $,p as f}from"../chunks/index.373ab25c.js";import{C as re,H as B,E as se}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.256a018f.js";import{D as K}from"../chunks/Docstring.e4150934.js";function me(Q){let r,D,k,S,v,j,c,q,d,I,u,h,V,_,z,P,b,A,N,H,s,x,F,E,W="An enumeration.",G,y,O,T,R;return v=new re({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),c=new B({props:{title:"Pipeline",local:"pipeline",headingTag:"h1"}}),d=new B({props:{title:"Pipeline",local:"lighteval.pipeline.Pipeline",headingTag:"h2"}}),h=new K({props:{name:"class lighteval.pipeline.Pipeline",anchor:"lighteval.pipeline.Pipeline",parameters:[{name:"tasks",val:": str"},{name:"pipeline_parameters",val:": PipelineParameters"},{name:"evaluation_tracker",val:": EvaluationTracker"},{name:"model_config",val:": lighteval.models.abstract_model.ModelConfig | None = None"},{name:"model",val:" = None"},{name:"metric_options",val:" = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_994/src/lighteval/pipeline.py#L116"}}),_=new B({props:{title:"PipelineParameters",local:"lighteval.pipeline.PipelineParameters",headingTag:"h2"}}),b=new K({props:{name:"class lighteval.pipeline.PipelineParameters",anchor:"lighteval.pipeline.PipelineParameters",parameters:[{name:"launcher_type",val:": ParallelismManager"},{name:"job_id",val:": int = 0"},{name:"dataset_loading_processes",val:": int = 1"},{name:"nanotron_checkpoint_path",val:": str | None = None"},{name:"custom_tasks_directory",val:": str | None = None"},{name:"num_fewshot_seeds",val:": int = 1"},{name:"max_samples",val:": int | None = None"},{name:"cot_prompt",val:": str | None = None"},{name:"remove_reasoning_tags",val:": bool = True"},{name:"reasoning_tags",val:`: str | list[tuple[str, str]] = "[('<think>', '</think>')]"`},{name:"load_responses_from_details_date_id",val:": str | None = None"},{name:"bootstrap_iters",val:": int = 1000"}],source:"https://github.com/huggingface/lighteval/blob/vr_994/src/lighteval/pipeline.py#L82"}}),N=new B({props:{title:"ParallelismManager",local:"lighteval.pipeline.ParallelismManager",headingTag:"h2"}}),x=new K({props:{name:"class lighteval.pipeline.ParallelismManager",anchor:"lighteval.pipeline.ParallelismManager",parameters:[{name:"value",val:""},{name:"names",val:" = None"},{name:"module",val:" = None"},{name:"qualname",val:" = None"},{name:"type",val:" = None"},{name:"start",val:" = 1"}],source:"https://github.com/huggingface/lighteval/blob/vr_994/src/lighteval/pipeline.py#L70"}}),y=new se({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/package_reference/pipeline.mdx"}}),{c(){r=w("meta"),D=l(),k=w("p"),S=l(),m(v.$$.fragment),j=l(),m(c.$$.fragment),q=l(),m(d.$$.fragment),I=l(),u=w("div"),m(h.$$.fragment),V=l(),m(_.$$.fragment),z=l(),P=w("div"),m(b.$$.fragment),A=l(),m(N.$$.fragment),H=l(),s=w("div"),m(x.$$.fragment),F=l(),E=w("p"),E.textContent=W,G=l(),m(y.$$.fragment),O=l(),T=w("p"),this.h()},l(e){const t=le("svelte-u9bgzb",document.head);r=M(t,"META",{name:!0,content:!0}),t.forEach(a),D=i(e),k=M(e,"P",{}),C(k).forEach(a),S=i(e),p(v.$$.fragment,e),j=i(e),p(c.$$.fragment,e),q=i(e),p(d.$$.fragment,e),I=i(e),u=M(e,"DIV",{class:!0});var X=C(u);p(h.$$.fragment,X),X.forEach(a),V=i(e),p(_.$$.fragment,e),z=i(e),P=M(e,"DIV",{class:!0});var Y=C(P);p(b.$$.fragment,Y),Y.forEach(a),A=i(e),p(N.$$.fragment,e),H=i(e),s=M(e,"DIV",{class:!0});var U=C(s);p(x.$$.fragment,U),F=i(U),E=M(U,"P",{"data-svelte-h":!0}),ie(E)!=="svelte-ofujqi"&&(E.textContent=W),U.forEach(a),G=i(e),p(y.$$.fragment,e),O=i(e),T=M(e,"P",{}),C(T).forEach(a),this.h()},h(){L(r,"name","hf:doc:metadata"),L(r,"content",pe),L(u,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),L(s,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8")},m(e,t){J(document.head,r),n(e,D,t),n(e,k,t),n(e,S,t),o(v,e,t),n(e,j,t),o(c,e,t),n(e,q,t),o(d,e,t),n(e,I,t),n(e,u,t),o(h,u,null),n(e,V,t),o(_,e,t),n(e,z,t),n(e,P,t),o(b,P,null),n(e,A,t),o(N,e,t),n(e,H,t),n(e,s,t),o(x,s,null),J(s,F),J(s,E),n(e,G,t),o(y,e,t),n(e,O,t),n(e,T,t),R=!0},p:ee,i(e){R||(g(v.$$.fragment,e),g(c.$$.fragment,e),g(d.$$.fragment,e),g(h.$$.fragment,e),g(_.$$.fragment,e),g(b.$$.fragment,e),g(N.$$.fragment,e),g(x.$$.fragment,e),g(y.$$.fragment,e),R=!0)},o(e){$(v.$$.fragment,e),$(c.$$.fragment,e),$(d.$$.fragment,e),$(h.$$.fragment,e),$(_.$$.fragment,e),$(b.$$.fragment,e),$(N.$$.fragment,e),$(x.$$.fragment,e),$(y.$$.fragment,e),R=!1},d(e){e&&(a(D),a(k),a(S),a(j),a(q),a(I),a(u),a(V),a(z),a(P),a(A),a(H),a(s),a(G),a(O),a(T)),a(r),f(v,e),f(c,e),f(d,e),f(h),f(_,e),f(b),f(N,e),f(x),f(y,e)}}}const pe='{"title":"Pipeline","local":"pipeline","sections":[{"title":"Pipeline","local":"lighteval.pipeline.Pipeline","sections":[],"depth":2},{"title":"PipelineParameters","local":"lighteval.pipeline.PipelineParameters","sections":[],"depth":2},{"title":"ParallelismManager","local":"lighteval.pipeline.ParallelismManager","sections":[],"depth":2}],"depth":1}';function oe(Q){return te(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ce extends ae{constructor(r){super(),ne(this,r,oe,me,Z,{})}}export{ce as component};

Xet Storage Details

Size:
5.54 kB
·
Xet hash:
d4bb5639d7ed02bee0949d38bc9a976ecca665852b3c54e20f1cddf4a29a478e

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.