Buckets:
| import{s as ma,o as pa,n as ha}from"../chunks/scheduler.7da89386.js";import{S as fa,i as ua,g as n,s as a,r as d,A as va,h as l,f as r,c as o,j as $,u as m,x as v,k as x,y as t,a as g,v as p,d as h,t as f,w as u}from"../chunks/index.20910acc.js";import{D as L}from"../chunks/Docstring.41dbb714.js";import{C as _a}from"../chunks/CodeBlock.143bd81e.js";import{E as ba}from"../chunks/ExampleCodeBlock.a84c9d11.js";import{H as me,E as $a}from"../chunks/getInferenceSnippets.375cdad5.js";function xa(Fe){let b,q="Example:",E,T,y;return T=new _a({props:{code:"dHJhY2tlciUyMCUzRCUyMEV2YWx1YXRpb25UcmFja2VyKCUwQSUyMCUyMCUyMCUyMG91dHB1dF9kaXIlM0QlMjIuJTJGZXZhbF9yZXN1bHRzJTIyJTJDJTBBJTIwJTIwJTIwJTIwcHVzaF90b19odWIlM0RUcnVlJTJDJTBBJTIwJTIwJTIwJTIwaHViX3Jlc3VsdHNfb3JnJTNEJTIybXktb3JnJTIyJTJDJTBBJTIwJTIwJTIwJTIwc2F2ZV9kZXRhaWxzJTNEVHJ1ZSUwQSklMEElMEElMjMlMjBMb2clMjBldmFsdWF0aW9uJTIwcmVzdWx0cyUwQXRyYWNrZXIubWV0cmljc19sb2dnZXIuYWRkX21ldHJpYyglMjJhY2N1cmFjeSUyMiUyQyUyMDAuODUpJTBBdHJhY2tlci5kZXRhaWxzX2xvZ2dlci5hZGRfZGV0YWlsKHRhc2tfbmFtZSUzRCUyMnFhJTIyJTJDJTIwcHJlZGljdGlvbiUzRCUyMlBhcmlzJTIyKSUwQSUwQSUyMyUyMFNhdmUlMjBhbGwlMjByZXN1bHRzJTBBdHJhY2tlci5zYXZlKCk=",highlighted:`tracker = EvaluationTracker( | |
| output_dir=<span class="hljs-string">"./eval_results"</span>, | |
| push_to_hub=<span class="hljs-literal">True</span>, | |
| hub_results_org=<span class="hljs-string">"my-org"</span>, | |
| save_details=<span class="hljs-literal">True</span> | |
| ) | |
| <span class="hljs-comment"># Log evaluation results</span> | |
| tracker.metrics_logger.add_metric(<span class="hljs-string">"accuracy"</span>, <span class="hljs-number">0.85</span>) | |
| tracker.details_logger.add_detail(task_name=<span class="hljs-string">"qa"</span>, prediction=<span class="hljs-string">"Paris"</span>) | |
| <span class="hljs-comment"># Save all results</span> | |
| tracker.save()`,wrap:!1}}),{c(){b=n("p"),b.textContent=q,E=a(),d(T.$$.fragment)},l(_){b=l(_,"P",{"data-svelte-h":!0}),v(b)!=="svelte-11lpom8"&&(b.textContent=q),E=o(_),m(T.$$.fragment,_)},m(_,w){g(_,b,w),g(_,E,w),p(T,_,w),y=!0},p:ha,i(_){y||(h(T.$$.fragment,_),y=!0)},o(_){f(T.$$.fragment,_),y=!1},d(_){_&&(r(b),r(E)),u(T,_)}}}function ka(Fe){let b,q,E,T,y,_,w,Se,i,R,ct,pe,Nt="Tracks and manages evaluation results, metrics, and logging for model evaluations.",dt,he,qt="The EvaluationTracker coordinates multiple specialized loggers to track different aspects of model evaluation:",mt,fe,Rt="<li>Details Logger (DetailsLogger): Records per-sample evaluation details and predictions</li> <li>Metrics Logger (MetricsLogger): Tracks aggregate evaluation metrics and scores</li> <li>Versions Logger (VersionsLogger): Records task and dataset versions</li> <li>General Config Logger (GeneralConfigLogger): Stores overall evaluation configuration</li> <li>Task Config Logger (TaskConfigLogger): Maintains per-task configuration details</li>",pt,ue,Wt="The tracker can save results locally and optionally push them to:",ht,ve,Zt="<li>Hugging Face Hub as datasets</li> <li>TensorBoard for visualization</li> <li>Trackio or Weights & Biases for experiment tracking</li>",ft,V,ut,J,W,vt,_e,Xt="Aggregates and returns all the logger’s experiment information in a dictionary.",_t,be,At="This function should be used to gather and display said information at the end of an evaluation run.",bt,G,Z,$t,$e,Yt="Pushes the experiment details (all the model predictions for every step) to the hub.",xt,P,X,kt,xe,Qt="Fully updates the details repository metadata card for the currently evaluated model",Ct,U,A,Lt,ke,Ot="Saves the experiment information and results to files, and to the hub if requested.",ze,Y,Ne,k,Q,Tt,Ce,Kt="Tracks general configuration and runtime information for model evaluations.",yt,Le,ea=`This logger captures key configuration parameters, model details, and timing information | |
| to ensure reproducibility and provide insights into the evaluation process.`,wt,B,O,Dt,Te,ta="Logs the information about the arguments passed to the method.",Mt,F,K,Et,ye,aa="Logs the model information.",qe,ee,Re,C,te,Jt,we,oa="Logger for the experiment details.",It,De,ra="Stores and logs experiment information both at the task and at the sample level.",jt,S,ae,Ht,Me,na="Hashes the details for each task and then for all tasks.",Vt,z,oe,Gt,Ee,la="Stores the relevant information for one sample of one task to the total list of samples stored in the DetailsLogger.",We,re,Ze,D,ne,Pt,Je,sa="Logs the actual scores for each metric of each task.",Ut,N,le,Bt,Ie,ia="Aggregate the metrics for each task and then for all tasks.",Xe,se,Ae,M,ie,Ft,je,ga="Logger of the tasks versions.",St,He,ca="Tasks can have a version number/date, which indicates what is the precise metric definition and dataset version used for an evaluation.",Ye,ge,Qe,H,ce,zt,Ve,da="Logs the different parameters of the current <code>LightevalTask</code> of interest.",Oe,de,Ke,Be,et;return y=new me({props:{title:"Logging",local:"logging",headingTag:"h1"}}),w=new me({props:{title:"EvaluationTracker",local:"lighteval.logging.evaluation_tracker.EvaluationTracker",headingTag:"h2"}}),R=new L({props:{name:"class lighteval.logging.evaluation_tracker.EvaluationTracker",anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker",parameters:[{name:"output_dir",val:": str"},{name:"results_path_template",val:": str | None = None"},{name:"save_details",val:": bool = True"},{name:"push_to_hub",val:": bool = False"},{name:"push_to_tensorboard",val:": bool = False"},{name:"hub_results_org",val:": str | None = ''"},{name:"tensorboard_metric_prefix",val:": str = 'eval'"},{name:"public",val:": bool = False"},{name:"nanotron_run_info",val:": GeneralArgs = None"},{name:"use_wandb",val:": bool = False"}],parametersDescription:[{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.output_dir",description:"<strong>output_dir</strong> (str) — Local directory to save evaluation results and logs",name:"output_dir"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.results_path_template",description:`<strong>results_path_template</strong> (str, optional) — Template for results directory structure. | |
| Example: “{output<em>dir}/results/{org}</em>{model}”`,name:"results_path_template"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.save_details",description:"<strong>save_details</strong> (bool, defaults to True) — Whether to save detailed evaluation records",name:"save_details"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.push_to_hub",description:"<strong>push_to_hub</strong> (bool, defaults to False) — Whether to push results to HF Hub",name:"push_to_hub"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.push_to_tensorboard",description:"<strong>push_to_tensorboard</strong> (bool, defaults to False) — Whether to push metrics to TensorBoard",name:"push_to_tensorboard"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.hub_results_org",description:"<strong>hub_results_org</strong> (str, optional) — HF Hub organization to push results to",name:"hub_results_org"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.tensorboard_metric_prefix",description:"<strong>tensorboard_metric_prefix</strong> (str, defaults to “eval”) — Prefix for TensorBoard metrics",name:"tensorboard_metric_prefix"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.public",description:"<strong>public</strong> (bool, defaults to False) — Whether to make Hub datasets public",name:"public"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.nanotron_run_info",description:"<strong>nanotron_run_info</strong> (GeneralArgs, optional) — Nanotron model run information",name:"nanotron_run_info"},{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.use_wandb",description:"<strong>use_wandb</strong> (bool, defaults to False) — Whether to log to Weights & Biases or Trackio if available",name:"use_wandb"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/evaluation_tracker.py#L92"}}),V=new ba({props:{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.example",$$slots:{default:[xa]},$$scope:{ctx:Fe}}}),W=new L({props:{name:"generate_final_dict",anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.generate_final_dict",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/evaluation_tracker.py#L360",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>Dictionary containing all experiment information including config, results, versions, and summaries</p> | |
| `,returnType:`<script context="module">export const metadata = 'undefined';<\/script> | |
| <p>dict</p> | |
| `}}),Z=new L({props:{name:"push_to_hub",anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.push_to_hub",parameters:[{name:"date_id",val:": str"},{name:"details",val:": dict"},{name:"results_dict",val:": dict"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/evaluation_tracker.py#L384"}}),X=new L({props:{name:"recreate_metadata_card",anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.recreate_metadata_card",parameters:[{name:"repo_id",val:": str"}],parametersDescription:[{anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.recreate_metadata_card.repo_id",description:"<strong>repo_id</strong> (str) — Details dataset repository path on the hub (<code>org/dataset</code>)",name:"repo_id"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/evaluation_tracker.py#L451"}}),A=new L({props:{name:"save",anchor:"lighteval.logging.evaluation_tracker.EvaluationTracker.save",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/evaluation_tracker.py#L244"}}),Y=new me({props:{title:"GeneralConfigLogger",local:"lighteval.logging.info_loggers.GeneralConfigLogger",headingTag:"h2"}}),Q=new L({props:{name:"class lighteval.logging.info_loggers.GeneralConfigLogger",anchor:"lighteval.logging.info_loggers.GeneralConfigLogger",parameters:[],parametersDescription:[{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.lighteval_sha",description:`<strong>lighteval_sha</strong> (str) — Git commit SHA of lighteval used for evaluation, enabling exact version reproducibility. | |
| Set to ”?” if not in a git repository.`,name:"lighteval_sha"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.num_fewshot_seeds",description:`<strong>num_fewshot_seeds</strong> (int) — Number of random seeds used for few-shot example sampling.</p> | |
| <ul> | |
| <li>If <= 1: Single evaluation with seed=0</li> | |
| <li>If > 1: Multiple evaluations with different few-shot samplings (HELM-style)</li> | |
| </ul>`,name:"num_fewshot_seeds"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.max_samples",description:`<strong>max_samples</strong> (int, optional) — Maximum number of samples to evaluate per task. | |
| Only used for debugging - truncates each task’s dataset.`,name:"max_samples"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.job_id",description:`<strong>job_id</strong> (int, optional) — Slurm job ID if running on a cluster. | |
| Used to cross-reference with scheduler logs.`,name:"job_id"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.start_time",description:`<strong>start_time</strong> (float) — Unix timestamp when evaluation started. | |
| Automatically set during logger initialization.`,name:"start_time"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.end_time",description:`<strong>end_time</strong> (float) — Unix timestamp when evaluation completed. | |
| Set by calling log_end_time().`,name:"end_time"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.total_evaluation_time_secondes",description:`<strong>total_evaluation_time_secondes</strong> (str) — Total runtime in seconds. | |
| Calculated as end_time - start_time.`,name:"total_evaluation_time_secondes"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.model_config",description:`<strong>model_config</strong> (ModelConfig) — Complete model configuration settings. | |
| Contains model architecture, tokenizer, and generation parameters.`,name:"model_config"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.model_name",description:`<strong>model_name</strong> (str) — Name identifier for the evaluated model. | |
| Extracted from model_config.`,name:"model_name"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L48"}}),O=new L({props:{name:"log_args_info",anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_args_info",parameters:[{name:"num_fewshot_seeds",val:": int"},{name:"max_samples",val:": int | None"},{name:"job_id",val:": str"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_args_info.num_fewshot_seeds",description:"<strong>num_fewshot_seeds</strong> (int) — number of few-shot seeds.",name:"num_fewshot_seeds"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_args_info.max_samples",description:"<strong>max_samples</strong> (int | None) — maximum number of samples, if None, use all the samples available.",name:"max_samples"},{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_args_info.job_id",description:"<strong>job_id</strong> (str) — job ID, used to retrieve logs.",name:"job_id"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L106"}}),K=new L({props:{name:"log_model_info",anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_model_info",parameters:[{name:"model_config",val:": ModelConfig"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.GeneralConfigLogger.log_model_info.model_config",description:"<strong>model_config</strong> — the model config used to initialize the model.",name:"model_config"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L123"}}),ee=new me({props:{title:"DetailsLogger",local:"lighteval.logging.info_loggers.DetailsLogger",headingTag:"h2"}}),te=new L({props:{name:"class lighteval.logging.info_loggers.DetailsLogger",anchor:"lighteval.logging.info_loggers.DetailsLogger",parameters:[{name:"hashes",val:": dict = <factory>"},{name:"compiled_hashes",val:": dict = <factory>"},{name:"details",val:": dict = <factory>"},{name:"compiled_details",val:": dict = <factory>"},{name:"compiled_details_over_all_tasks",val:": DetailsLogger.CompiledDetailOverAllTasks = <factory>"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.DetailsLogger.hashes",description:"<strong>hashes</strong> (dict[str, list<code>Hash</code>) — Maps each task name to the list of all its samples’ <code>Hash</code>.",name:"hashes"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.compiled_hashes",description:"<strong>compiled_hashes</strong> (dict[str, CompiledHash) — Maps each task name to its <code>CompiledHas</code>, an aggregation of all the individual sample hashes.",name:"compiled_hashes"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.details",description:`<strong>details</strong> (dict[str, list<code>Detail</code>]) — Maps each task name to the list of its samples’ details. | |
| Example: winogrande: [sample1_details, sample2_details, …]`,name:"details"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.compiled_details",description:"<strong>compiled_details</strong> (dict[str, <code>CompiledDetail</code>]) — : Maps each task name to the list of its samples’ compiled details.",name:"compiled_details"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.compiled_details_over_all_tasks",description:"<strong>compiled_details_over_all_tasks</strong> (CompiledDetailOverAllTasks) — Aggregated details over all the tasks.",name:"compiled_details_over_all_tasks"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L138"}}),ae=new L({props:{name:"aggregate",anchor:"lighteval.logging.info_loggers.DetailsLogger.aggregate",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L277"}}),oe=new L({props:{name:"log",anchor:"lighteval.logging.info_loggers.DetailsLogger.log",parameters:[{name:"task_name",val:": str"},{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"metrics",val:": dict"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.DetailsLogger.log.task_name",description:"<strong>task_name</strong> (str) — Name of the current task of interest.",name:"task_name"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.log.doc",description:"<strong>doc</strong> (Doc) — Current sample that we want to store.",name:"doc"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.log.model_response",description:"<strong>model_response</strong> (ModelResponse) — Model outputs for the current sample",name:"model_response"},{anchor:"lighteval.logging.info_loggers.DetailsLogger.log.metrics",description:"<strong>metrics</strong> (dict) — Model scores for said sample on the current task’s metrics.",name:"metrics"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L253"}}),re=new me({props:{title:"MetricsLogger",local:"lighteval.logging.info_loggers.MetricsLogger",headingTag:"h2"}}),ne=new L({props:{name:"class lighteval.logging.info_loggers.MetricsLogger",anchor:"lighteval.logging.info_loggers.MetricsLogger",parameters:[{name:"metrics_values",val:": dict = <factory>"},{name:"metric_aggregated",val:": dict = <factory>"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.MetricsLogger.metrics_value",description:`<strong>metrics_value</strong> (dict[str, dict[str, list[float]]]) — Maps each task to its dictionary of metrics to scores for all the example of the task. | |
| Example: {“winogrande|winogrande_xl”: {“accuracy”: [0.5, 0.5, 0.5, 0.5, 0.5, 0.5]}‌}`,name:"metrics_value"},{anchor:"lighteval.logging.info_loggers.MetricsLogger.metric_aggregated",description:`<strong>metric_aggregated</strong> (dict[str, dict[str, float]]) — Maps each task to its dictionary of metrics to aggregated scores over all the example of the task. | |
| Example: {“winogrande|winogrande_xl”: {“accuracy”: 0.5}‌}`,name:"metric_aggregated"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L309"}}),le=new L({props:{name:"aggregate",anchor:"lighteval.logging.info_loggers.MetricsLogger.aggregate",parameters:[{name:"task_dict",val:": dict"},{name:"bootstrap_iters",val:": int = 1000"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.MetricsLogger.aggregate.task_dict",description:"<strong>task_dict</strong> (dict[str, LightevalTask]) — used to determine what aggregation function to use for each metric",name:"task_dict"},{anchor:"lighteval.logging.info_loggers.MetricsLogger.aggregate.bootstrap_iters",description:"<strong>bootstrap_iters</strong> (int, optional) — Number of runs used to run the statistical bootstrap. Defaults to 1000.",name:"bootstrap_iters"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L330"}}),se=new me({props:{title:"VersionsLogger",local:"lighteval.logging.info_loggers.VersionsLogger",headingTag:"h2"}}),ie=new L({props:{name:"class lighteval.logging.info_loggers.VersionsLogger",anchor:"lighteval.logging.info_loggers.VersionsLogger",parameters:[{name:"versions",val:": dict = <factory>"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.VersionsLogger.version",description:"<strong>version</strong> (dict[str, int]) — Maps the task names with the task versions.",name:"version"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L406"}}),ge=new me({props:{title:"TaskConfigLogger",local:"lighteval.logging.info_loggers.TaskConfigLogger",headingTag:"h2"}}),ce=new L({props:{name:"class lighteval.logging.info_loggers.TaskConfigLogger",anchor:"lighteval.logging.info_loggers.TaskConfigLogger",parameters:[{name:"tasks_configs",val:": dict = <factory>"}],parametersDescription:[{anchor:"lighteval.logging.info_loggers.TaskConfigLogger.tasks_config",description:"<strong>tasks_config</strong> (dict[str, LightevalTaskConfig]) — Maps each task to its associated <code>LightevalTaskConfig</code>",name:"tasks_config"}],source:"https://github.com/huggingface/lighteval/blob/vr_985/src/lighteval/logging/info_loggers.py#L425"}}),de=new $a({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/package_reference/logging.mdx"}}),{c(){b=n("meta"),q=a(),E=n("p"),T=a(),d(y.$$.fragment),_=a(),d(w.$$.fragment),Se=a(),i=n("div"),d(R.$$.fragment),ct=a(),pe=n("p"),pe.textContent=Nt,dt=a(),he=n("p"),he.textContent=qt,mt=a(),fe=n("ul"),fe.innerHTML=Rt,pt=a(),ue=n("p"),ue.textContent=Wt,ht=a(),ve=n("ul"),ve.innerHTML=Zt,ft=a(),d(V.$$.fragment),ut=a(),J=n("div"),d(W.$$.fragment),vt=a(),_e=n("p"),_e.textContent=Xt,_t=a(),be=n("p"),be.textContent=At,bt=a(),G=n("div"),d(Z.$$.fragment),$t=a(),$e=n("p"),$e.textContent=Yt,xt=a(),P=n("div"),d(X.$$.fragment),kt=a(),xe=n("p"),xe.textContent=Qt,Ct=a(),U=n("div"),d(A.$$.fragment),Lt=a(),ke=n("p"),ke.textContent=Ot,ze=a(),d(Y.$$.fragment),Ne=a(),k=n("div"),d(Q.$$.fragment),Tt=a(),Ce=n("p"),Ce.textContent=Kt,yt=a(),Le=n("p"),Le.textContent=ea,wt=a(),B=n("div"),d(O.$$.fragment),Dt=a(),Te=n("p"),Te.textContent=ta,Mt=a(),F=n("div"),d(K.$$.fragment),Et=a(),ye=n("p"),ye.textContent=aa,qe=a(),d(ee.$$.fragment),Re=a(),C=n("div"),d(te.$$.fragment),Jt=a(),we=n("p"),we.textContent=oa,It=a(),De=n("p"),De.textContent=ra,jt=a(),S=n("div"),d(ae.$$.fragment),Ht=a(),Me=n("p"),Me.textContent=na,Vt=a(),z=n("div"),d(oe.$$.fragment),Gt=a(),Ee=n("p"),Ee.textContent=la,We=a(),d(re.$$.fragment),Ze=a(),D=n("div"),d(ne.$$.fragment),Pt=a(),Je=n("p"),Je.textContent=sa,Ut=a(),N=n("div"),d(le.$$.fragment),Bt=a(),Ie=n("p"),Ie.textContent=ia,Xe=a(),d(se.$$.fragment),Ae=a(),M=n("div"),d(ie.$$.fragment),Ft=a(),je=n("p"),je.textContent=ga,St=a(),He=n("p"),He.textContent=ca,Ye=a(),d(ge.$$.fragment),Qe=a(),H=n("div"),d(ce.$$.fragment),zt=a(),Ve=n("p"),Ve.innerHTML=da,Oe=a(),d(de.$$.fragment),Ke=a(),Be=n("p"),this.h()},l(e){const s=va("svelte-u9bgzb",document.head);b=l(s,"META",{name:!0,content:!0}),s.forEach(r),q=o(e),E=l(e,"P",{}),$(E).forEach(r),T=o(e),m(y.$$.fragment,e),_=o(e),m(w.$$.fragment,e),Se=o(e),i=l(e,"DIV",{class:!0});var c=$(i);m(R.$$.fragment,c),ct=o(c),pe=l(c,"P",{"data-svelte-h":!0}),v(pe)!=="svelte-1a7u8o3"&&(pe.textContent=Nt),dt=o(c),he=l(c,"P",{"data-svelte-h":!0}),v(he)!=="svelte-had3jk"&&(he.textContent=qt),mt=o(c),fe=l(c,"UL",{"data-svelte-h":!0}),v(fe)!=="svelte-1gbvzvg"&&(fe.innerHTML=Rt),pt=o(c),ue=l(c,"P",{"data-svelte-h":!0}),v(ue)!=="svelte-cw347r"&&(ue.textContent=Wt),ht=o(c),ve=l(c,"UL",{"data-svelte-h":!0}),v(ve)!=="svelte-1k0oe7e"&&(ve.innerHTML=Zt),ft=o(c),m(V.$$.fragment,c),ut=o(c),J=l(c,"DIV",{class:!0});var Ge=$(J);m(W.$$.fragment,Ge),vt=o(Ge),_e=l(Ge,"P",{"data-svelte-h":!0}),v(_e)!=="svelte-qqp5v"&&(_e.textContent=Xt),_t=o(Ge),be=l(Ge,"P",{"data-svelte-h":!0}),v(be)!=="svelte-1ke5vz1"&&(be.textContent=At),Ge.forEach(r),bt=o(c),G=l(c,"DIV",{class:!0});var tt=$(G);m(Z.$$.fragment,tt),$t=o(tt),$e=l(tt,"P",{"data-svelte-h":!0}),v($e)!=="svelte-1lj091"&&($e.textContent=Yt),tt.forEach(r),xt=o(c),P=l(c,"DIV",{class:!0});var at=$(P);m(X.$$.fragment,at),kt=o(at),xe=l(at,"P",{"data-svelte-h":!0}),v(xe)!=="svelte-1l1nn02"&&(xe.textContent=Qt),at.forEach(r),Ct=o(c),U=l(c,"DIV",{class:!0});var ot=$(U);m(A.$$.fragment,ot),Lt=o(ot),ke=l(ot,"P",{"data-svelte-h":!0}),v(ke)!=="svelte-1jp5uy4"&&(ke.textContent=Ot),ot.forEach(r),c.forEach(r),ze=o(e),m(Y.$$.fragment,e),Ne=o(e),k=l(e,"DIV",{class:!0});var I=$(k);m(Q.$$.fragment,I),Tt=o(I),Ce=l(I,"P",{"data-svelte-h":!0}),v(Ce)!=="svelte-b4sky2"&&(Ce.textContent=Kt),yt=o(I),Le=l(I,"P",{"data-svelte-h":!0}),v(Le)!=="svelte-1g4fdqa"&&(Le.textContent=ea),wt=o(I),B=l(I,"DIV",{class:!0});var rt=$(B);m(O.$$.fragment,rt),Dt=o(rt),Te=l(rt,"P",{"data-svelte-h":!0}),v(Te)!=="svelte-10ayidh"&&(Te.textContent=ta),rt.forEach(r),Mt=o(I),F=l(I,"DIV",{class:!0});var nt=$(F);m(K.$$.fragment,nt),Et=o(nt),ye=l(nt,"P",{"data-svelte-h":!0}),v(ye)!=="svelte-i1b6fb"&&(ye.textContent=aa),nt.forEach(r),I.forEach(r),qe=o(e),m(ee.$$.fragment,e),Re=o(e),C=l(e,"DIV",{class:!0});var j=$(C);m(te.$$.fragment,j),Jt=o(j),we=l(j,"P",{"data-svelte-h":!0}),v(we)!=="svelte-10h2glb"&&(we.textContent=oa),It=o(j),De=l(j,"P",{"data-svelte-h":!0}),v(De)!=="svelte-lm3kog"&&(De.textContent=ra),jt=o(j),S=l(j,"DIV",{class:!0});var lt=$(S);m(ae.$$.fragment,lt),Ht=o(lt),Me=l(lt,"P",{"data-svelte-h":!0}),v(Me)!=="svelte-147qxwc"&&(Me.textContent=na),lt.forEach(r),Vt=o(j),z=l(j,"DIV",{class:!0});var st=$(z);m(oe.$$.fragment,st),Gt=o(st),Ee=l(st,"P",{"data-svelte-h":!0}),v(Ee)!=="svelte-67ybgo"&&(Ee.textContent=la),st.forEach(r),j.forEach(r),We=o(e),m(re.$$.fragment,e),Ze=o(e),D=l(e,"DIV",{class:!0});var Pe=$(D);m(ne.$$.fragment,Pe),Pt=o(Pe),Je=l(Pe,"P",{"data-svelte-h":!0}),v(Je)!=="svelte-1apiyrq"&&(Je.textContent=sa),Ut=o(Pe),N=l(Pe,"DIV",{class:!0});var it=$(N);m(le.$$.fragment,it),Bt=o(it),Ie=l(it,"P",{"data-svelte-h":!0}),v(Ie)!=="svelte-kkg900"&&(Ie.textContent=ia),it.forEach(r),Pe.forEach(r),Xe=o(e),m(se.$$.fragment,e),Ae=o(e),M=l(e,"DIV",{class:!0});var Ue=$(M);m(ie.$$.fragment,Ue),Ft=o(Ue),je=l(Ue,"P",{"data-svelte-h":!0}),v(je)!=="svelte-1mw4cx5"&&(je.textContent=ga),St=o(Ue),He=l(Ue,"P",{"data-svelte-h":!0}),v(He)!=="svelte-4rxdfx"&&(He.textContent=ca),Ue.forEach(r),Ye=o(e),m(ge.$$.fragment,e),Qe=o(e),H=l(e,"DIV",{class:!0});var gt=$(H);m(ce.$$.fragment,gt),zt=o(gt),Ve=l(gt,"P",{"data-svelte-h":!0}),v(Ve)!=="svelte-bhh5sj"&&(Ve.innerHTML=da),gt.forEach(r),Oe=o(e),m(de.$$.fragment,e),Ke=o(e),Be=l(e,"P",{}),$(Be).forEach(r),this.h()},h(){x(b,"name","hf:doc:metadata"),x(b,"content",Ca),x(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(i,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(D,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),x(H,"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,s){t(document.head,b),g(e,q,s),g(e,E,s),g(e,T,s),p(y,e,s),g(e,_,s),p(w,e,s),g(e,Se,s),g(e,i,s),p(R,i,null),t(i,ct),t(i,pe),t(i,dt),t(i,he),t(i,mt),t(i,fe),t(i,pt),t(i,ue),t(i,ht),t(i,ve),t(i,ft),p(V,i,null),t(i,ut),t(i,J),p(W,J,null),t(J,vt),t(J,_e),t(J,_t),t(J,be),t(i,bt),t(i,G),p(Z,G,null),t(G,$t),t(G,$e),t(i,xt),t(i,P),p(X,P,null),t(P,kt),t(P,xe),t(i,Ct),t(i,U),p(A,U,null),t(U,Lt),t(U,ke),g(e,ze,s),p(Y,e,s),g(e,Ne,s),g(e,k,s),p(Q,k,null),t(k,Tt),t(k,Ce),t(k,yt),t(k,Le),t(k,wt),t(k,B),p(O,B,null),t(B,Dt),t(B,Te),t(k,Mt),t(k,F),p(K,F,null),t(F,Et),t(F,ye),g(e,qe,s),p(ee,e,s),g(e,Re,s),g(e,C,s),p(te,C,null),t(C,Jt),t(C,we),t(C,It),t(C,De),t(C,jt),t(C,S),p(ae,S,null),t(S,Ht),t(S,Me),t(C,Vt),t(C,z),p(oe,z,null),t(z,Gt),t(z,Ee),g(e,We,s),p(re,e,s),g(e,Ze,s),g(e,D,s),p(ne,D,null),t(D,Pt),t(D,Je),t(D,Ut),t(D,N),p(le,N,null),t(N,Bt),t(N,Ie),g(e,Xe,s),p(se,e,s),g(e,Ae,s),g(e,M,s),p(ie,M,null),t(M,Ft),t(M,je),t(M,St),t(M,He),g(e,Ye,s),p(ge,e,s),g(e,Qe,s),g(e,H,s),p(ce,H,null),t(H,zt),t(H,Ve),g(e,Oe,s),p(de,e,s),g(e,Ke,s),g(e,Be,s),et=!0},p(e,[s]){const c={};s&2&&(c.$$scope={dirty:s,ctx:e}),V.$set(c)},i(e){et||(h(y.$$.fragment,e),h(w.$$.fragment,e),h(R.$$.fragment,e),h(V.$$.fragment,e),h(W.$$.fragment,e),h(Z.$$.fragment,e),h(X.$$.fragment,e),h(A.$$.fragment,e),h(Y.$$.fragment,e),h(Q.$$.fragment,e),h(O.$$.fragment,e),h(K.$$.fragment,e),h(ee.$$.fragment,e),h(te.$$.fragment,e),h(ae.$$.fragment,e),h(oe.$$.fragment,e),h(re.$$.fragment,e),h(ne.$$.fragment,e),h(le.$$.fragment,e),h(se.$$.fragment,e),h(ie.$$.fragment,e),h(ge.$$.fragment,e),h(ce.$$.fragment,e),h(de.$$.fragment,e),et=!0)},o(e){f(y.$$.fragment,e),f(w.$$.fragment,e),f(R.$$.fragment,e),f(V.$$.fragment,e),f(W.$$.fragment,e),f(Z.$$.fragment,e),f(X.$$.fragment,e),f(A.$$.fragment,e),f(Y.$$.fragment,e),f(Q.$$.fragment,e),f(O.$$.fragment,e),f(K.$$.fragment,e),f(ee.$$.fragment,e),f(te.$$.fragment,e),f(ae.$$.fragment,e),f(oe.$$.fragment,e),f(re.$$.fragment,e),f(ne.$$.fragment,e),f(le.$$.fragment,e),f(se.$$.fragment,e),f(ie.$$.fragment,e),f(ge.$$.fragment,e),f(ce.$$.fragment,e),f(de.$$.fragment,e),et=!1},d(e){e&&(r(q),r(E),r(T),r(_),r(Se),r(i),r(ze),r(Ne),r(k),r(qe),r(Re),r(C),r(We),r(Ze),r(D),r(Xe),r(Ae),r(M),r(Ye),r(Qe),r(H),r(Oe),r(Ke),r(Be)),r(b),u(y,e),u(w,e),u(R),u(V),u(W),u(Z),u(X),u(A),u(Y,e),u(Q),u(O),u(K),u(ee,e),u(te),u(ae),u(oe),u(re,e),u(ne),u(le),u(se,e),u(ie),u(ge,e),u(ce),u(de,e)}}}const Ca='{"title":"Logging","local":"logging","sections":[{"title":"EvaluationTracker","local":"lighteval.logging.evaluation_tracker.EvaluationTracker","sections":[],"depth":2},{"title":"GeneralConfigLogger","local":"lighteval.logging.info_loggers.GeneralConfigLogger","sections":[],"depth":2},{"title":"DetailsLogger","local":"lighteval.logging.info_loggers.DetailsLogger","sections":[],"depth":2},{"title":"MetricsLogger","local":"lighteval.logging.info_loggers.MetricsLogger","sections":[],"depth":2},{"title":"VersionsLogger","local":"lighteval.logging.info_loggers.VersionsLogger","sections":[],"depth":2},{"title":"TaskConfigLogger","local":"lighteval.logging.info_loggers.TaskConfigLogger","sections":[],"depth":2}],"depth":1}';function La(Fe){return pa(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Ja extends fa{constructor(b){super(),ua(this,b,La,ka,ma,{})}}export{Ja as component}; | |
Xet Storage Details
- Size:
- 31.2 kB
- Xet hash:
- b623962d3d88de45c5c2c249b6e47baa70f5c253d59f9ae64abc549b81f23b0b
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.