import{s as gi,n as di,o as ui}from"../chunks/scheduler.5f3e6389.js";import{S as hi,i as vi,e as l,s as a,c as m,h as fi,a as i,d as t,b as n,f as h,g as c,j as _,k as v,l as s,m as o,n as p,t as g,o as d,p as u}from"../chunks/index.373ab25c.js";import{C as _i,H as $,E as $i}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.c814c47f.js";import{D as f}from"../chunks/Docstring.edcc48b5.js";function bi(Cl){let E,ss,ts,as,Le,ns,we,ls,Me,is,ke,os,De,Te,ms,Ee,cs,P,Pe,cn,cr,Ll="Metric computed over the whole corpora, with computations happening at the aggregation phase",ps,Ne,gs,N,Re,pn,pr,wl="Metric computed per sample, then aggregated over the corpus",ds,je,us,R,Ie,gn,gr,Ml=`Some metrics are more advantageous to compute together at once.
For example, if a costly preprocessing is the same for all metrics, it makes more sense to compute it once.`,hs,Se,vs,j,Ae,dn,dr,kl="MetricGrouping computed over the whole corpora, with computations happening at the aggregation phase",fs,Ve,_s,I,ze,un,ur,Dl="MetricGrouping are computed per sample, then aggregated over the corpus",$s,Be,bs,Je,xs,S,Fe,hn,ee,Ue,vn,hr,Tl="Computes the metric score over all the corpus generated items, by using the scikit learn implementation.",ys,Oe,Cs,A,Ge,fn,te,qe,_n,vr,El="Computes the metric score over all the corpus generated items.",Ls,He,ws,V,Ke,$n,re,Xe,bn,fr,Pl="Computes the metric score over all the corpus generated items, by using the sacrebleu implementation.",Ms,Ze,ks,z,Qe,xn,se,We,yn,_r,Nl='Computes the Matthews Correlation Coefficient, using scikit learn (<a href="https://scikit-learn.org/stable/modules/generated/sklearn.metrics.matthews_corrcoef.html" rel="nofollow">doc</a>).',Ds,Ye,Ts,et,Es,C,tt,Cn,ae,rt,Ln,$r,Rl="Computes the metric over a list of golds and predictions for one single sample.",wn,ne,st,Mn,br,jl="Compares two strings only.",Ps,at,Ns,L,nt,kn,le,lt,Dn,xr,Il="Computes the metric over a list of golds and predictions for one single sample.",Tn,ie,it,En,yr,Sl="Compares two strings only.",Rs,ot,js,B,mt,Pn,oe,ct,Nn,Cr,Al=`Computes the log likelihood accuracy: is the choice with the highest logprob in <code>choices_logprob</code> present
in the <code>gold_ixs</code>?`,Is,pt,Ss,J,gt,Rn,me,dt,jn,Lr,Vl="Computes the log likelihood probability: chance of choosing the best choice.",As,ut,Vs,F,ht,In,ce,vt,Sn,wr,zl="Computes the log likelihood probability: chance of choosing the best choice.",zs,ft,Bs,U,_t,An,pe,$t,Vn,Mr,Bl=`Computes the recall at the requested depth level: looks at the <code>n</code> best predicted choices (with the
highest log probabilities) and see if there is an actual gold among them.`,Js,bt,Fs,O,xt,zn,ge,yt,Bn,kr,Jl="Mean reciprocal rank. Measures the quality of a ranking of choices (ordered by correctness).",Us,Ct,Os,G,Lt,Jn,de,wt,Fn,Dr,Fl="Computes the metric(s) over a list of golds and predictions for one single sample.",Gs,Mt,qs,q,kt,Un,ue,Dt,On,Tr,Ul="Computes the prediction, recall and f1 score using the bert scorer.",Hs,Tt,Ks,H,Et,Gn,w,Pt,qn,Er,Ol="Compute the extractiveness of the predictions.",Hn,Pr,Gl=`This method calculates coverage, density, and compression scores for a single
prediction against the input text.`,Xs,Nt,Zs,K,Rt,Kn,M,jt,Xn,Nr,ql="Compute the faithfulness of the predictions.",Zn,Rr,Hl="The SummaCZS (Summary Content Zero-Shot) model is used with configurable granularity and model variation.",Qs,It,Ws,X,St,Qn,he,At,Wn,jr,Kl="Uses the stored BLEURT scorer to compute the score on the current sample.",Ys,Vt,ea,Z,zt,Yn,ve,Bt,el,Ir,Xl="Computes the sentence level BLEU between the golds and each prediction, then takes the average.",ta,Jt,ra,y,Ft,tl,fe,Ut,rl,Sr,Zl="Computes all the requested metrics on the golds and prediction.",sl,k,Ot,al,Ar,Ql="Compute the edit similarity between two lists of strings.",nl,Vr,Wl=`Edit similarity is also used in the paper
Lee, Katherine, et al.
“Deduplicating training data makes language models better.”
arXiv preprint arXiv:2107.06499 (2021).`,ll,_e,Gt,il,zr,Yl="Compute the length of the longest common prefix.",sa,qt,aa,Ht,Kt,na,Xt,la,Q,Zt,ol,$e,Qt,ml,Br,ei=`Compute the score of a generative task using a llm as a judge.
The generative task can be multiturn with 2 turns max, in that case, we
return scores for turn 1 and 2. Also returns user_prompt and judgement
which are ignored later by the aggregator.`,ia,Wt,oa,W,Yt,cl,be,er,pl,Jr,ti=`Compute the score of a generative task using a llm as a judge.
The generative task can be multiturn with 2 turns max, in that case, we
return scores for turn 1 and 2. Also returns user_prompt and judgement
which are ignored later by the aggregator.`,ma,tr,ca,Y,rr,gl,xe,sr,dl,Fr,ri=`Computes the metric over a list of golds and predictions for one single sample.
It applies normalisation (if needed) to model prediction and gold, and takes the most frequent answer of all the available ones, then compares it to the gold.`,pa,ar,ga,nr,da,b,lr,ul,Ur,si="A class representing a judge for evaluating answers using either the chosen backend.",hl,Or,ai=`Methods:
evaluate_answer: Evaluates an answer using the OpenAI API or Transformers library.
<strong>lazy_load_client: Lazy loads the OpenAI client or Transformers pipeline.
</strong>call_api: Calls the API to get the judge’s response.
<strong>call_transformers: Calls the Transformers pipeline to get the judge’s response.
</strong>call_vllm: Calls the VLLM pipeline to get the judge’s response.`,vl,x,ir,fl,Gr,ni="Transform a dictionary of lists into a list of dictionaries.",_l,qr,li=`Each dictionary in the output list will contain one element from each list in the input dictionary,
with the same keys as the input dictionary.`,$l,Hr,ii="Example:",bl,Kr,oi=`<blockquote><blockquote><p>dict_of_lists_to_list_of_dicts({‘k’: [1, 2, 3], ‘k2’: [‘a’, ‘b’, ‘c’]})
[{‘k’: 1, ‘k2’: ‘a’}, {‘k’: 2, ‘k2’: ‘b’}, {‘k’: 3, ‘k2’: ‘c’}]</p></blockquote></blockquote>`,xl,ye,or,yl,Xr,mi="Evaluates an answer using either Transformers or OpenAI API.",ua,mr,ha,rs,va;return Le=new _i({props:{containerStyle:"float: right; margin-left: 10px; display: inline-flex; position: relative; z-index: 10;"}}),we=new $({props:{title:"Metrics",local:"metrics",headingTag:"h1"}}),Me=new $({props:{title:"Metrics",local:"metrics",headingTag:"h2"}}),ke=new $({props:{title:"Metric",local:"lighteval.metrics.Metric",headingTag:"h3"}}),Te=new f({props:{name:"class lighteval.metrics.Metric",anchor:"lighteval.metrics.Metric",parameters:[{name:"metric_name",val:": str"},{name:"higher_is_better",val:": bool"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": typing.Union[lighteval.metrics.metrics_corpus.CorpusLevelComputation, typing.Callable]"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L33"}}),Ee=new $({props:{title:"CorpusLevelMetric",local:"lighteval.metrics.utils.metric_utils.CorpusLevelMetric",headingTag:"h3"}}),Pe=new f({props:{name:"class lighteval.metrics.utils.metric_utils.CorpusLevelMetric",anchor:"lighteval.metrics.utils.metric_utils.CorpusLevelMetric",parameters:[{name:"metric_name",val:": str"},{name:"higher_is_better",val:": bool"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": typing.Union[lighteval.metrics.metrics_corpus.CorpusLevelComputation, typing.Callable]"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L117"}}),Ne=new $({props:{title:"SampleLevelMetric",local:"lighteval.metrics.utils.metric_utils.SampleLevelMetric",headingTag:"h3"}}),Re=new f({props:{name:"class lighteval.metrics.utils.metric_utils.SampleLevelMetric",anchor:"lighteval.metrics.utils.metric_utils.SampleLevelMetric",parameters:[{name:"metric_name",val:": str"},{name:"higher_is_better",val:": bool"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": typing.Union[lighteval.metrics.metrics_corpus.CorpusLevelComputation, typing.Callable]"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L124"}}),je=new $({props:{title:"MetricGrouping",local:"lighteval.metrics.utils.metric_utils.MetricGrouping",headingTag:"h3"}}),Ie=new f({props:{name:"class lighteval.metrics.utils.metric_utils.MetricGrouping",anchor:"lighteval.metrics.utils.metric_utils.MetricGrouping",parameters:[{name:"metric_name",val:": list"},{name:"higher_is_better",val:": dict"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": dict"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L106"}}),Se=new $({props:{title:"CorpusLevelMetricGrouping",local:"lighteval.metrics.utils.metric_utils.CorpusLevelMetricGrouping",headingTag:"h3"}}),Ae=new f({props:{name:"class lighteval.metrics.utils.metric_utils.CorpusLevelMetricGrouping",anchor:"lighteval.metrics.utils.metric_utils.CorpusLevelMetricGrouping",parameters:[{name:"metric_name",val:": list"},{name:"higher_is_better",val:": dict"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": dict"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L131"}}),Ve=new $({props:{title:"SampleLevelMetricGrouping",local:"lighteval.metrics.utils.metric_utils.SampleLevelMetricGrouping",headingTag:"h3"}}),ze=new f({props:{name:"class lighteval.metrics.utils.metric_utils.SampleLevelMetricGrouping",anchor:"lighteval.metrics.utils.metric_utils.SampleLevelMetricGrouping",parameters:[{name:"metric_name",val:": list"},{name:"higher_is_better",val:": dict"},{name:"category",val:": SamplingMethod"},{name:"sample_level_fn",val:": lighteval.metrics.metrics_sample.SampleLevelComputation | lighteval.metrics.sample_preparator.Preparator"},{name:"corpus_level_fn",val:": dict"},{name:"batched_compute",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/metric_utils.py#L138"}}),Be=new $({props:{title:"Corpus Metrics",local:"corpus-metrics",headingTag:"h2"}}),Je=new $({props:{title:"CorpusLevelF1Score",local:"lighteval.metrics.metrics_corpus.CorpusLevelF1Score",headingTag:"h3"}}),Fe=new f({props:{name:"class lighteval.metrics.metrics_corpus.CorpusLevelF1Score",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelF1Score",parameters:[{name:"average",val:": str"},{name:"num_classes",val:": int = 2"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L81"}}),Ue=new f({props:{name:"compute_corpus",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelF1Score.compute_corpus",parameters:[{name:"items",val:": list"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L96"}}),Oe=new $({props:{title:"CorpusLevelPerplexityMetric",local:"lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric",headingTag:"h3"}}),Ge=new f({props:{name:"class lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric",parameters:[{name:"metric_type",val:": str"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L164"}}),qe=new f({props:{name:"compute_corpus",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric.compute_corpus",parameters:[{name:"items",val:": list"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L182"}}),He=new $({props:{title:"CorpusLevelTranslationMetric",local:"lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric",headingTag:"h3"}}),Ke=new f({props:{name:"class lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric",parameters:[{name:"metric_type",val:": str"},{name:"lang",val:": typing.Literal['zh', 'ja', 'ko', ''] = ''"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L116"}}),Xe=new f({props:{name:"compute_corpus",anchor:"lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric.compute_corpus",parameters:[{name:"items",val:": list"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L142"}}),Ze=new $({props:{title:"MatthewsCorrCoef",local:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef",headingTag:"h3"}}),Qe=new f({props:{name:"class lighteval.metrics.metrics_corpus.MatthewsCorrCoef",anchor:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L66"}}),We=new f({props:{name:"compute_corpus",anchor:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef.compute_corpus",parameters:[{name:"items",val:": list"}],parametersDescription:[{anchor:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef.compute_corpus.items",description:"<strong>items</strong> (list[dict]) &#x2014; List of GenerativeCorpusMetricInput",name:"items"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_corpus.py#L67",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Score</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),Ye=new $({props:{title:"Sample Metrics",local:"sample-metrics",headingTag:"h2"}}),et=new $({props:{title:"ExactMatches",local:"lighteval.metrics.metrics_sample.ExactMatches",headingTag:"h3"}}),tt=new f({props:{name:"class lighteval.metrics.metrics_sample.ExactMatches",anchor:"lighteval.metrics.metrics_sample.ExactMatches",parameters:[{name:"aggregation_function",val:": typing.Callable[[list[float]], float] = <built-in function max>"},{name:"normalize_gold",val:": typing.Optional[typing.Callable[[str], str]] = None"},{name:"normalize_pred",val:": typing.Optional[typing.Callable[[str], str]] = None"},{name:"strip_strings",val:": bool = False"},{name:"type_exact_match",val:": str = 'full'"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L81"}}),rt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L118",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Aggregated score over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),st=new f({props:{name:"compute_one_item",anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute_one_item",parameters:[{name:"gold",val:": str"},{name:"pred",val:": str"}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute_one_item.gold",description:"<strong>gold</strong> (str) &#x2014; One of the possible references",name:"gold"},{anchor:"lighteval.metrics.metrics_sample.ExactMatches.compute_one_item.pred",description:"<strong>pred</strong> (str) &#x2014; One of the possible predictions",name:"pred"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L137",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The exact match score. Will be 1 for a match, 0 otherwise.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),at=new $({props:{title:"F1_score",local:"lighteval.metrics.metrics_sample.F1_score",headingTag:"h3"}}),nt=new f({props:{name:"class lighteval.metrics.metrics_sample.F1_score",anchor:"lighteval.metrics.metrics_sample.F1_score",parameters:[{name:"aggregation_function",val:": typing.Callable[[list[float]], float] = <built-in function max>"},{name:"normalize_gold",val:": typing.Optional[typing.Callable[[str], str]] = None"},{name:"normalize_pred",val:": typing.Optional[typing.Callable[[str], str]] = None"},{name:"strip_strings",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L170"}}),lt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.F1_score.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.F1_score.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.F1_score.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.F1_score.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L197",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Aggregated score over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),it=new f({props:{name:"compute_one_item",anchor:"lighteval.metrics.metrics_sample.F1_score.compute_one_item",parameters:[{name:"gold",val:": str"},{name:"pred",val:": str"}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.F1_score.compute_one_item.gold",description:"<strong>gold</strong> (str) &#x2014; One of the possible references",name:"gold"},{anchor:"lighteval.metrics.metrics_sample.F1_score.compute_one_item.pred",description:"<strong>pred</strong> (str) &#x2014; One of the possible predictions",name:"pred"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L217",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The f1 score over the bag of words, computed using nltk.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),ot=new $({props:{title:"LoglikelihoodAcc",local:"lighteval.metrics.metrics_sample.LoglikelihoodAcc",headingTag:"h3"}}),mt=new f({props:{name:"class lighteval.metrics.metrics_sample.LoglikelihoodAcc",anchor:"lighteval.metrics.metrics_sample.LoglikelihoodAcc",parameters:[{name:"logprob_normalization",val:": lighteval.metrics.normalizations.LogProbCharNorm | lighteval.metrics.normalizations.LogProbTokenNorm | lighteval.metrics.normalizations.LogProbPMINorm | None = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L243"}}),ct=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.LoglikelihoodAcc.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.LoglikelihoodAcc.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing choices and gold indices.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.LoglikelihoodAcc.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing logprobs.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.LoglikelihoodAcc.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L254",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The eval score: 1 if the best log-prob choice is in gold, 0 otherwise.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>int</p>
`}}),pt=new $({props:{title:"NormalizedMultiChoiceProbability",local:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability",headingTag:"h3"}}),gt=new f({props:{name:"class lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability",anchor:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability",parameters:[{name:"log_prob_normalization",val:": lighteval.metrics.normalizations.LogProbCharNorm | lighteval.metrics.normalizations.LogProbTokenNorm | lighteval.metrics.normalizations.LogProbPMINorm | None = None"},{name:"aggregation_function",val:": typing.Callable[[numpy.ndarray], float] = <function max at 0x7fa45cf070b0>"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L297"}}),dt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing choices and gold indices.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing logprobs.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L313",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The probability of the best log-prob choice being a gold choice.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),ut=new $({props:{title:"Probability",local:"lighteval.metrics.metrics_sample.Probability",headingTag:"h3"}}),ht=new f({props:{name:"class lighteval.metrics.metrics_sample.Probability",anchor:"lighteval.metrics.metrics_sample.Probability",parameters:[{name:"normalization",val:": lighteval.metrics.normalizations.LogProbTokenNorm | None = None"},{name:"aggregation_function",val:": typing.Callable[[numpy.ndarray], float] = <function max at 0x7fa45cf070b0>"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L357"}}),vt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.Probability.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.Probability.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing choices and gold indices.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.Probability.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing logprobs.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.Probability.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L373",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The probability of the best log-prob choice being a gold choice.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),ft=new $({props:{title:"Recall",local:"lighteval.metrics.metrics_sample.Recall",headingTag:"h3"}}),_t=new f({props:{name:"class lighteval.metrics.metrics_sample.Recall",anchor:"lighteval.metrics.metrics_sample.Recall",parameters:[{name:"k",val:": int"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L408"}}),$t=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.Recall.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.Recall.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing choices and gold indices.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.Recall.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing logprobs.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.Recall.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L418",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Score: 1 if one of the top level predicted choices was correct, 0 otherwise.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>int</p>
`}}),bt=new $({props:{title:"MRR",local:"lighteval.metrics.metrics_sample.MRR",headingTag:"h3"}}),xt=new f({props:{name:"class lighteval.metrics.metrics_sample.MRR",anchor:"lighteval.metrics.metrics_sample.MRR",parameters:[{name:"length_normalization",val:": bool = False"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L438"}}),yt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.MRR.compute",parameters:[{name:"model_response",val:": ModelResponse"},{name:"doc",val:": Doc"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.MRR.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing logprobs.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.MRR.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing choices and gold indices.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.MRR.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L447",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>MRR score.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),Ct=new $({props:{title:"ROUGE",local:"lighteval.metrics.metrics_sample.ROUGE",headingTag:"h3"}}),Lt=new f({props:{name:"class lighteval.metrics.metrics_sample.ROUGE",anchor:"lighteval.metrics.metrics_sample.ROUGE",parameters:[{name:"methods",val:": str | list[str]"},{name:"multiple_golds",val:": bool = False"},{name:"bootstrap",val:": bool = False"},{name:"normalize_gold",val:": typing.Optional[typing.Callable] = None"},{name:"normalize_pred",val:": typing.Optional[typing.Callable] = None"},{name:"aggregation_function",val:": typing.Optional[typing.Callable] = None"},{name:"tokenizer",val:": object = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L486"}}),wt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.ROUGE.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.ROUGE.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.ROUGE.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.ROUGE.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L533",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Aggregated score over the current sample’s items.
If several rouge functions have been selected, returns a dict which maps name and scores.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float or dict</p>
`}}),Mt=new $({props:{title:"BertScore",local:"lighteval.metrics.metrics_sample.BertScore",headingTag:"h3"}}),kt=new f({props:{name:"class lighteval.metrics.metrics_sample.BertScore",anchor:"lighteval.metrics.metrics_sample.BertScore",parameters:[{name:"normalize_gold",val:": typing.Optional[typing.Callable] = None"},{name:"normalize_pred",val:": typing.Optional[typing.Callable] = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L598"}}),Dt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.BertScore.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.BertScore.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.BertScore.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.BertScore.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L628",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Scores over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>dict</p>
`}}),Tt=new $({props:{title:"Extractiveness",local:"lighteval.metrics.metrics_sample.Extractiveness",headingTag:"h3"}}),Et=new f({props:{name:"class lighteval.metrics.metrics_sample.Extractiveness",anchor:"lighteval.metrics.metrics_sample.Extractiveness",parameters:[{name:"normalize_input",val:": <built-in function callable> = <function remove_braces at 0x7fa379e23880>"},{name:"normalize_pred",val:": <built-in function callable> = <function remove_braces_and_strip at 0x7fa379e23910>"},{name:"input_column",val:": str = 'text'"},{name:"language",val:": typing.Literal['en', 'de', 'fr', 'it'] = 'en'"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L661"}}),Pt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.Extractiveness.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.Extractiveness.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing input text.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.Extractiveness.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.Extractiveness.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L685",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The extractiveness scores.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>dict[str, float]</p>
`}}),Nt=new $({props:{title:"Faithfulness",local:"lighteval.metrics.metrics_sample.Faithfulness",headingTag:"h3"}}),Rt=new f({props:{name:"class lighteval.metrics.metrics_sample.Faithfulness",anchor:"lighteval.metrics.metrics_sample.Faithfulness",parameters:[{name:"normalize_input",val:": typing.Callable = <function remove_braces at 0x7fa379e23880>"},{name:"normalize_pred",val:": typing.Callable = <function remove_braces_and_strip at 0x7fa379e23910>"},{name:"input_column",val:": str = 'text'"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L717"}}),jt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.Faithfulness.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.Faithfulness.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing input text.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.Faithfulness.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.Faithfulness.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L738",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The faithfulness scores.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>dict[str, float]</p>
`}}),It=new $({props:{title:"BLEURT",local:"lighteval.metrics.metrics_sample.BLEURT",headingTag:"h3"}}),St=new f({props:{name:"class lighteval.metrics.metrics_sample.BLEURT",anchor:"lighteval.metrics.metrics_sample.BLEURT",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L765"}}),At=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.BLEURT.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.BLEURT.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.BLEURT.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.BLEURT.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L786",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Score over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),Vt=new $({props:{title:"BLEU",local:"lighteval.metrics.metrics_sample.BLEU",headingTag:"h3"}}),zt=new f({props:{name:"class lighteval.metrics.metrics_sample.BLEU",anchor:"lighteval.metrics.metrics_sample.BLEU",parameters:[{name:"n_gram",val:": int"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L805"}}),Bt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.BLEU.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.BLEU.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.BLEU.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.BLEU.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L815",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Score over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),Jt=new $({props:{title:"StringDistance",local:"lighteval.metrics.metrics_sample.StringDistance",headingTag:"h3"}}),Ft=new f({props:{name:"class lighteval.metrics.metrics_sample.StringDistance",anchor:"lighteval.metrics.metrics_sample.StringDistance",parameters:[{name:"metric_types",val:": list[str] | str"},{name:"strip_prediction",val:": bool = True"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L847"}}),Ut=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.StringDistance.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.StringDistance.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.StringDistance.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.StringDistance.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L869",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>The different scores computed</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>dict</p>
`}}),Ot=new f({props:{name:"edit_similarity",anchor:"lighteval.metrics.metrics_sample.StringDistance.edit_similarity",parameters:[{name:"s1",val:""},{name:"s2",val:""}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L927",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Edit similarity score between 0 and 1</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),Gt=new f({props:{name:"longest_common_prefix_length",anchor:"lighteval.metrics.metrics_sample.StringDistance.longest_common_prefix_length",parameters:[{name:"s1",val:": ndarray"},{name:"s2",val:": ndarray"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L920"}}),qt=new $({props:{title:"JudgeLLM",local:"lighteval.metrics.metrics_sample.JudgeLLM",headingTag:"h3"}}),Kt=new f({props:{name:"class lighteval.metrics.metrics_sample.JudgeLLM",anchor:"lighteval.metrics.metrics_sample.JudgeLLM",parameters:[{name:"judge_model_name",val:": str"},{name:"template",val:": typing.Callable"},{name:"process_judge_response",val:": typing.Callable"},{name:"judge_backend",val:": typing.Literal['litellm', 'openai', 'transformers', 'vllm', 'tgi', 'inference-providers']"},{name:"short_judge_name",val:": str | None = None"},{name:"response_format",val:": pydantic.main.BaseModel | None = None"},{name:"url",val:": str | None = None"},{name:"hf_provider",val:": str | None = None"},{name:"max_tokens",val:": int | None = None"},{name:"backend_options",val:": dict | None = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L942"}}),Xt=new $({props:{title:"JudgeLLMMTBench",local:"lighteval.metrics.metrics_sample.JudgeLLMMTBench",headingTag:"h3"}}),Zt=new f({props:{name:"class lighteval.metrics.metrics_sample.JudgeLLMMTBench",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMTBench",parameters:[{name:"judge_model_name",val:": str"},{name:"template",val:": typing.Callable"},{name:"process_judge_response",val:": typing.Callable"},{name:"judge_backend",val:": typing.Literal['litellm', 'openai', 'transformers', 'vllm', 'tgi', 'inference-providers']"},{name:"short_judge_name",val:": str | None = None"},{name:"response_format",val:": pydantic.main.BaseModel | None = None"},{name:"url",val:": str | None = None"},{name:"hf_provider",val:": str | None = None"},{name:"max_tokens",val:": int | None = None"},{name:"backend_options",val:": dict | None = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1047"}}),Qt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMTBench.compute",parameters:[{name:"model_response",val:": list"},{name:"doc",val:": list"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1048"}}),Wt=new $({props:{title:"JudgeLLMMixEval",local:"lighteval.metrics.metrics_sample.JudgeLLMMixEval",headingTag:"h3"}}),Yt=new f({props:{name:"class lighteval.metrics.metrics_sample.JudgeLLMMixEval",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMixEval",parameters:[{name:"judge_model_name",val:": str"},{name:"template",val:": typing.Callable"},{name:"process_judge_response",val:": typing.Callable"},{name:"judge_backend",val:": typing.Literal['litellm', 'openai', 'transformers', 'vllm', 'tgi', 'inference-providers']"},{name:"short_judge_name",val:": str | None = None"},{name:"response_format",val:": pydantic.main.BaseModel | None = None"},{name:"url",val:": str | None = None"},{name:"hf_provider",val:": str | None = None"},{name:"max_tokens",val:": int | None = None"},{name:"backend_options",val:": dict | None = None"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1082"}}),er=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMixEval.compute",parameters:[{name:"responses",val:": list"},{name:"docs",val:": list"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1083"}}),tr=new $({props:{title:"MajAtK",local:"lighteval.metrics.metrics_sample.MajAtK",headingTag:"h3"}}),rr=new f({props:{name:"class lighteval.metrics.metrics_sample.MajAtK",anchor:"lighteval.metrics.metrics_sample.MajAtK",parameters:[{name:"k",val:": int | None = None"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1220"}}),sr=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.MajAtK.compute",parameters:[{name:"doc",val:": Doc"},{name:"model_response",val:": ModelResponse"},{name:"**kwargs",val:""}],parametersDescription:[{anchor:"lighteval.metrics.metrics_sample.MajAtK.compute.doc",description:"<strong>doc</strong> (Doc) &#x2014; The document containing gold references.",name:"doc"},{anchor:"lighteval.metrics.metrics_sample.MajAtK.compute.model_response",description:"<strong>model_response</strong> (ModelResponse) &#x2014; The model&#x2019;s response containing predictions.",name:"model_response"},{anchor:"lighteval.metrics.metrics_sample.MajAtK.compute.*kwargs",description:"*<strong>*kwargs</strong> &#x2014; Additional keyword arguments.",name:"*kwargs"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/metrics_sample.py#L1233",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>Aggregated score over the current sample’s items.</p>
`,returnType:`<script context="module">export const metadata = 'undefined';<\/script>


<p>float</p>
`}}),ar=new $({props:{title:"LLM-as-a-Judge",local:"llm-as-a-judge",headingTag:"h2"}}),nr=new $({props:{title:"JudgeLM",local:"lighteval.metrics.utils.llm_as_judge.JudgeLM",headingTag:"h3"}}),lr=new f({props:{name:"class lighteval.metrics.utils.llm_as_judge.JudgeLM",anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM",parameters:[{name:"model",val:": str"},{name:"templates",val:": typing.Callable"},{name:"process_judge_response",val:": typing.Callable"},{name:"judge_backend",val:": typing.Literal['litellm', 'openai', 'transformers', 'tgi', 'vllm', 'inference-providers']"},{name:"url",val:": str | None = None"},{name:"api_key",val:": str | None = None"},{name:"max_tokens",val:": int | None = None"},{name:"response_format",val:": BaseModel = None"},{name:"hf_provider",val:": typing.Optional[typing.Literal['black-forest-labs', 'cerebras', 'cohere', 'fal-ai', 'fireworks-ai', 'inference-providers', 'hyperbolic', 'nebius', 'novita', 'openai', 'replicate', 'sambanova', 'together']] = None"},{name:"backend_options",val:": dict | None = None"}],parametersDescription:[{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.model",description:"<strong>model</strong> (str) &#x2014; The name of the model.",name:"model"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.templates",description:"<strong>templates</strong> (Callable) &#x2014; A function taking into account the question, options, answer, and gold and returning the judge prompt.",name:"templates"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.process_judge_response",description:"<strong>process_judge_response</strong> (Callable) &#x2014; A function for processing the judge&#x2019;s response.",name:"process_judge_response"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.judge_backend",description:"<strong>judge_backend</strong> (Literal[&#x201C;litellm&#x201D;, &#x201C;openai&#x201D;, &#x201C;transformers&#x201D;, &#x201C;tgi&#x201D;, &#x201C;vllm&#x201D;, &#x201C;inference-providers&#x201D;]) &#x2014; The backend for the judge.",name:"judge_backend"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.url",description:"<strong>url</strong> (str | None) &#x2014; The URL for the OpenAI API.",name:"url"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.api_key",description:"<strong>api_key</strong> (str | None) &#x2014; The API key for the OpenAI API (either OpenAI or HF key).",name:"api_key"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.max_tokens",description:"<strong>max_tokens</strong> (int) &#x2014; The maximum number of tokens to generate. Defaults to 512.",name:"max_tokens"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.response_format",description:"<strong>response_format</strong> (BaseModel | None) &#x2014; The format of the response from the API, used for the OpenAI and TGI backend.",name:"response_format"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.hf_provider",description:`<strong>hf_provider</strong> (Literal[&#x201C;black-forest-labs&#x201D;, &#x201C;cerebras&#x201D;, &#x201C;cohere&#x201D;, &#x201C;fal-ai&#x201D;, &#x201C;fireworks-ai&#x201D;, &#x2014;
&#x201C;inference-providers&#x201D;, &#x201C;hyperbolic&#x201D;, &#x201C;nebius&#x201D;, &#x201C;novita&#x201D;, &#x201C;openai&#x201D;, &#x201C;replicate&#x201D;, &#x201C;sambanova&#x201D;, &#x201C;together&#x201D;] | None):
The HuggingFace provider when using the inference-providers backend.`,name:"hf_provider"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.backend_options",description:"<strong>backend_options</strong> (dict | None) &#x2014; Options for the backend. Currently only supported for litellm.",name:"backend_options"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/llm_as_judge.py#L67"}}),ir=new f({props:{name:"dict_of_lists_to_list_of_dicts",anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.dict_of_lists_to_list_of_dicts",parameters:[{name:"dict_of_lists",val:""}],parametersDescription:[{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.dict_of_lists_to_list_of_dicts.dict_of_lists",description:`<strong>dict_of_lists</strong> &#x2014; A dictionary where each value is a list.
All lists are expected to have the same length.`,name:"dict_of_lists"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/llm_as_judge.py#L204",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A list of dictionaries.</p>
`}}),or=new f({props:{name:"evaluate_answer",anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.evaluate_answer",parameters:[{name:"question",val:": str"},{name:"answer",val:": str"},{name:"options",val:": list[str] | None = None"},{name:"gold",val:": str | None = None"}],parametersDescription:[{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.evaluate_answer.question",description:"<strong>question</strong> (str) &#x2014; The prompt asked to the evaluated model.",name:"question"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.evaluate_answer.answer",description:"<strong>answer</strong> (str) &#x2014; Answer given by the evaluated model.",name:"answer"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.evaluate_answer.options",description:"<strong>options</strong> (list[str] | None) &#x2014; Optional list of answer options.",name:"options"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.evaluate_answer.gold",description:"<strong>gold</strong> (str | None) &#x2014; Optional reference answer.",name:"gold"}],source:"https://github.com/huggingface/lighteval/blob/vr_1015/src/lighteval/metrics/utils/llm_as_judge.py#L272",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>


<p>A tuple containing the score, prompts, and judgment.</p>
`}}),mr=new $i({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/package_reference/metrics.mdx"}}),{c(){E=l("meta"),ss=a(),ts=l("p"),as=a(),m(Le.$$.fragment),ns=a(),m(we.$$.fragment),ls=a(),m(Me.$$.fragment),is=a(),m(ke.$$.fragment),os=a(),De=l("div"),m(Te.$$.fragment),ms=a(),m(Ee.$$.fragment),cs=a(),P=l("div"),m(Pe.$$.fragment),cn=a(),cr=l("p"),cr.textContent=Ll,ps=a(),m(Ne.$$.fragment),gs=a(),N=l("div"),m(Re.$$.fragment),pn=a(),pr=l("p"),pr.textContent=wl,ds=a(),m(je.$$.fragment),us=a(),R=l("div"),m(Ie.$$.fragment),gn=a(),gr=l("p"),gr.textContent=Ml,hs=a(),m(Se.$$.fragment),vs=a(),j=l("div"),m(Ae.$$.fragment),dn=a(),dr=l("p"),dr.textContent=kl,fs=a(),m(Ve.$$.fragment),_s=a(),I=l("div"),m(ze.$$.fragment),un=a(),ur=l("p"),ur.textContent=Dl,$s=a(),m(Be.$$.fragment),bs=a(),m(Je.$$.fragment),xs=a(),S=l("div"),m(Fe.$$.fragment),hn=a(),ee=l("div"),m(Ue.$$.fragment),vn=a(),hr=l("p"),hr.textContent=Tl,ys=a(),m(Oe.$$.fragment),Cs=a(),A=l("div"),m(Ge.$$.fragment),fn=a(),te=l("div"),m(qe.$$.fragment),_n=a(),vr=l("p"),vr.textContent=El,Ls=a(),m(He.$$.fragment),ws=a(),V=l("div"),m(Ke.$$.fragment),$n=a(),re=l("div"),m(Xe.$$.fragment),bn=a(),fr=l("p"),fr.textContent=Pl,Ms=a(),m(Ze.$$.fragment),ks=a(),z=l("div"),m(Qe.$$.fragment),xn=a(),se=l("div"),m(We.$$.fragment),yn=a(),_r=l("p"),_r.innerHTML=Nl,Ds=a(),m(Ye.$$.fragment),Ts=a(),m(et.$$.fragment),Es=a(),C=l("div"),m(tt.$$.fragment),Cn=a(),ae=l("div"),m(rt.$$.fragment),Ln=a(),$r=l("p"),$r.textContent=Rl,wn=a(),ne=l("div"),m(st.$$.fragment),Mn=a(),br=l("p"),br.textContent=jl,Ps=a(),m(at.$$.fragment),Ns=a(),L=l("div"),m(nt.$$.fragment),kn=a(),le=l("div"),m(lt.$$.fragment),Dn=a(),xr=l("p"),xr.textContent=Il,Tn=a(),ie=l("div"),m(it.$$.fragment),En=a(),yr=l("p"),yr.textContent=Sl,Rs=a(),m(ot.$$.fragment),js=a(),B=l("div"),m(mt.$$.fragment),Pn=a(),oe=l("div"),m(ct.$$.fragment),Nn=a(),Cr=l("p"),Cr.innerHTML=Al,Is=a(),m(pt.$$.fragment),Ss=a(),J=l("div"),m(gt.$$.fragment),Rn=a(),me=l("div"),m(dt.$$.fragment),jn=a(),Lr=l("p"),Lr.textContent=Vl,As=a(),m(ut.$$.fragment),Vs=a(),F=l("div"),m(ht.$$.fragment),In=a(),ce=l("div"),m(vt.$$.fragment),Sn=a(),wr=l("p"),wr.textContent=zl,zs=a(),m(ft.$$.fragment),Bs=a(),U=l("div"),m(_t.$$.fragment),An=a(),pe=l("div"),m($t.$$.fragment),Vn=a(),Mr=l("p"),Mr.innerHTML=Bl,Js=a(),m(bt.$$.fragment),Fs=a(),O=l("div"),m(xt.$$.fragment),zn=a(),ge=l("div"),m(yt.$$.fragment),Bn=a(),kr=l("p"),kr.textContent=Jl,Us=a(),m(Ct.$$.fragment),Os=a(),G=l("div"),m(Lt.$$.fragment),Jn=a(),de=l("div"),m(wt.$$.fragment),Fn=a(),Dr=l("p"),Dr.textContent=Fl,Gs=a(),m(Mt.$$.fragment),qs=a(),q=l("div"),m(kt.$$.fragment),Un=a(),ue=l("div"),m(Dt.$$.fragment),On=a(),Tr=l("p"),Tr.textContent=Ul,Hs=a(),m(Tt.$$.fragment),Ks=a(),H=l("div"),m(Et.$$.fragment),Gn=a(),w=l("div"),m(Pt.$$.fragment),qn=a(),Er=l("p"),Er.textContent=Ol,Hn=a(),Pr=l("p"),Pr.textContent=Gl,Xs=a(),m(Nt.$$.fragment),Zs=a(),K=l("div"),m(Rt.$$.fragment),Kn=a(),M=l("div"),m(jt.$$.fragment),Xn=a(),Nr=l("p"),Nr.textContent=ql,Zn=a(),Rr=l("p"),Rr.textContent=Hl,Qs=a(),m(It.$$.fragment),Ws=a(),X=l("div"),m(St.$$.fragment),Qn=a(),he=l("div"),m(At.$$.fragment),Wn=a(),jr=l("p"),jr.textContent=Kl,Ys=a(),m(Vt.$$.fragment),ea=a(),Z=l("div"),m(zt.$$.fragment),Yn=a(),ve=l("div"),m(Bt.$$.fragment),el=a(),Ir=l("p"),Ir.textContent=Xl,ta=a(),m(Jt.$$.fragment),ra=a(),y=l("div"),m(Ft.$$.fragment),tl=a(),fe=l("div"),m(Ut.$$.fragment),rl=a(),Sr=l("p"),Sr.textContent=Zl,sl=a(),k=l("div"),m(Ot.$$.fragment),al=a(),Ar=l("p"),Ar.textContent=Ql,nl=a(),Vr=l("p"),Vr.textContent=Wl,ll=a(),_e=l("div"),m(Gt.$$.fragment),il=a(),zr=l("p"),zr.textContent=Yl,sa=a(),m(qt.$$.fragment),aa=a(),Ht=l("div"),m(Kt.$$.fragment),na=a(),m(Xt.$$.fragment),la=a(),Q=l("div"),m(Zt.$$.fragment),ol=a(),$e=l("div"),m(Qt.$$.fragment),ml=a(),Br=l("p"),Br.textContent=ei,ia=a(),m(Wt.$$.fragment),oa=a(),W=l("div"),m(Yt.$$.fragment),cl=a(),be=l("div"),m(er.$$.fragment),pl=a(),Jr=l("p"),Jr.textContent=ti,ma=a(),m(tr.$$.fragment),ca=a(),Y=l("div"),m(rr.$$.fragment),gl=a(),xe=l("div"),m(sr.$$.fragment),dl=a(),Fr=l("p"),Fr.textContent=ri,pa=a(),m(ar.$$.fragment),ga=a(),m(nr.$$.fragment),da=a(),b=l("div"),m(lr.$$.fragment),ul=a(),Ur=l("p"),Ur.textContent=si,hl=a(),Or=l("p"),Or.innerHTML=ai,vl=a(),x=l("div"),m(ir.$$.fragment),fl=a(),Gr=l("p"),Gr.textContent=ni,_l=a(),qr=l("p"),qr.textContent=li,$l=a(),Hr=l("p"),Hr.textContent=ii,bl=a(),Kr=l("blockquote"),Kr.innerHTML=oi,xl=a(),ye=l("div"),m(or.$$.fragment),yl=a(),Xr=l("p"),Xr.textContent=mi,ua=a(),m(mr.$$.fragment),ha=a(),rs=l("p"),this.h()},l(e){const r=fi("svelte-u9bgzb",document.head);E=i(r,"META",{name:!0,content:!0}),r.forEach(t),ss=n(e),ts=i(e,"P",{}),h(ts).forEach(t),as=n(e),c(Le.$$.fragment,e),ns=n(e),c(we.$$.fragment,e),ls=n(e),c(Me.$$.fragment,e),is=n(e),c(ke.$$.fragment,e),os=n(e),De=i(e,"DIV",{class:!0});var ci=h(De);c(Te.$$.fragment,ci),ci.forEach(t),ms=n(e),c(Ee.$$.fragment,e),cs=n(e),P=i(e,"DIV",{class:!0});var fa=h(P);c(Pe.$$.fragment,fa),cn=n(fa),cr=i(fa,"P",{"data-svelte-h":!0}),_(cr)!=="svelte-zgtslk"&&(cr.textContent=Ll),fa.forEach(t),ps=n(e),c(Ne.$$.fragment,e),gs=n(e),N=i(e,"DIV",{class:!0});var _a=h(N);c(Re.$$.fragment,_a),pn=n(_a),pr=i(_a,"P",{"data-svelte-h":!0}),_(pr)!=="svelte-f7ehzx"&&(pr.textContent=wl),_a.forEach(t),ds=n(e),c(je.$$.fragment,e),us=n(e),R=i(e,"DIV",{class:!0});var $a=h(R);c(Ie.$$.fragment,$a),gn=n($a),gr=i($a,"P",{"data-svelte-h":!0}),_(gr)!=="svelte-189xko4"&&(gr.textContent=Ml),$a.forEach(t),hs=n(e),c(Se.$$.fragment,e),vs=n(e),j=i(e,"DIV",{class:!0});var ba=h(j);c(Ae.$$.fragment,ba),dn=n(ba),dr=i(ba,"P",{"data-svelte-h":!0}),_(dr)!=="svelte-648fl7"&&(dr.textContent=kl),ba.forEach(t),fs=n(e),c(Ve.$$.fragment,e),_s=n(e),I=i(e,"DIV",{class:!0});var xa=h(I);c(ze.$$.fragment,xa),un=n(xa),ur=i(xa,"P",{"data-svelte-h":!0}),_(ur)!=="svelte-10boi74"&&(ur.textContent=Dl),xa.forEach(t),$s=n(e),c(Be.$$.fragment,e),bs=n(e),c(Je.$$.fragment,e),xs=n(e),S=i(e,"DIV",{class:!0});var ya=h(S);c(Fe.$$.fragment,ya),hn=n(ya),ee=i(ya,"DIV",{class:!0});var Ca=h(ee);c(Ue.$$.fragment,Ca),vn=n(Ca),hr=i(Ca,"P",{"data-svelte-h":!0}),_(hr)!=="svelte-6am5wr"&&(hr.textContent=Tl),Ca.forEach(t),ya.forEach(t),ys=n(e),c(Oe.$$.fragment,e),Cs=n(e),A=i(e,"DIV",{class:!0});var La=h(A);c(Ge.$$.fragment,La),fn=n(La),te=i(La,"DIV",{class:!0});var wa=h(te);c(qe.$$.fragment,wa),_n=n(wa),vr=i(wa,"P",{"data-svelte-h":!0}),_(vr)!=="svelte-1eqcqc"&&(vr.textContent=El),wa.forEach(t),La.forEach(t),Ls=n(e),c(He.$$.fragment,e),ws=n(e),V=i(e,"DIV",{class:!0});var Ma=h(V);c(Ke.$$.fragment,Ma),$n=n(Ma),re=i(Ma,"DIV",{class:!0});var ka=h(re);c(Xe.$$.fragment,ka),bn=n(ka),fr=i(ka,"P",{"data-svelte-h":!0}),_(fr)!=="svelte-ngk658"&&(fr.textContent=Pl),ka.forEach(t),Ma.forEach(t),Ms=n(e),c(Ze.$$.fragment,e),ks=n(e),z=i(e,"DIV",{class:!0});var Da=h(z);c(Qe.$$.fragment,Da),xn=n(Da),se=i(Da,"DIV",{class:!0});var Ta=h(se);c(We.$$.fragment,Ta),yn=n(Ta),_r=i(Ta,"P",{"data-svelte-h":!0}),_(_r)!=="svelte-osccbb"&&(_r.innerHTML=Nl),Ta.forEach(t),Da.forEach(t),Ds=n(e),c(Ye.$$.fragment,e),Ts=n(e),c(et.$$.fragment,e),Es=n(e),C=i(e,"DIV",{class:!0});var Zr=h(C);c(tt.$$.fragment,Zr),Cn=n(Zr),ae=i(Zr,"DIV",{class:!0});var Ea=h(ae);c(rt.$$.fragment,Ea),Ln=n(Ea),$r=i(Ea,"P",{"data-svelte-h":!0}),_($r)!=="svelte-m2t8u2"&&($r.textContent=Rl),Ea.forEach(t),wn=n(Zr),ne=i(Zr,"DIV",{class:!0});var Pa=h(ne);c(st.$$.fragment,Pa),Mn=n(Pa),br=i(Pa,"P",{"data-svelte-h":!0}),_(br)!=="svelte-29ay4o"&&(br.textContent=jl),Pa.forEach(t),Zr.forEach(t),Ps=n(e),c(at.$$.fragment,e),Ns=n(e),L=i(e,"DIV",{class:!0});var Qr=h(L);c(nt.$$.fragment,Qr),kn=n(Qr),le=i(Qr,"DIV",{class:!0});var Na=h(le);c(lt.$$.fragment,Na),Dn=n(Na),xr=i(Na,"P",{"data-svelte-h":!0}),_(xr)!=="svelte-m2t8u2"&&(xr.textContent=Il),Na.forEach(t),Tn=n(Qr),ie=i(Qr,"DIV",{class:!0});var Ra=h(ie);c(it.$$.fragment,Ra),En=n(Ra),yr=i(Ra,"P",{"data-svelte-h":!0}),_(yr)!=="svelte-29ay4o"&&(yr.textContent=Sl),Ra.forEach(t),Qr.forEach(t),Rs=n(e),c(ot.$$.fragment,e),js=n(e),B=i(e,"DIV",{class:!0});var ja=h(B);c(mt.$$.fragment,ja),Pn=n(ja),oe=i(ja,"DIV",{class:!0});var Ia=h(oe);c(ct.$$.fragment,Ia),Nn=n(Ia),Cr=i(Ia,"P",{"data-svelte-h":!0}),_(Cr)!=="svelte-oza3m6"&&(Cr.innerHTML=Al),Ia.forEach(t),ja.forEach(t),Is=n(e),c(pt.$$.fragment,e),Ss=n(e),J=i(e,"DIV",{class:!0});var Sa=h(J);c(gt.$$.fragment,Sa),Rn=n(Sa),me=i(Sa,"DIV",{class:!0});var Aa=h(me);c(dt.$$.fragment,Aa),jn=n(Aa),Lr=i(Aa,"P",{"data-svelte-h":!0}),_(Lr)!=="svelte-cm5dxb"&&(Lr.textContent=Vl),Aa.forEach(t),Sa.forEach(t),As=n(e),c(ut.$$.fragment,e),Vs=n(e),F=i(e,"DIV",{class:!0});var Va=h(F);c(ht.$$.fragment,Va),In=n(Va),ce=i(Va,"DIV",{class:!0});var za=h(ce);c(vt.$$.fragment,za),Sn=n(za),wr=i(za,"P",{"data-svelte-h":!0}),_(wr)!=="svelte-cm5dxb"&&(wr.textContent=zl),za.forEach(t),Va.forEach(t),zs=n(e),c(ft.$$.fragment,e),Bs=n(e),U=i(e,"DIV",{class:!0});var Ba=h(U);c(_t.$$.fragment,Ba),An=n(Ba),pe=i(Ba,"DIV",{class:!0});var Ja=h(pe);c($t.$$.fragment,Ja),Vn=n(Ja),Mr=i(Ja,"P",{"data-svelte-h":!0}),_(Mr)!=="svelte-1vzdvz9"&&(Mr.innerHTML=Bl),Ja.forEach(t),Ba.forEach(t),Js=n(e),c(bt.$$.fragment,e),Fs=n(e),O=i(e,"DIV",{class:!0});var Fa=h(O);c(xt.$$.fragment,Fa),zn=n(Fa),ge=i(Fa,"DIV",{class:!0});var Ua=h(ge);c(yt.$$.fragment,Ua),Bn=n(Ua),kr=i(Ua,"P",{"data-svelte-h":!0}),_(kr)!=="svelte-oplxpx"&&(kr.textContent=Jl),Ua.forEach(t),Fa.forEach(t),Us=n(e),c(Ct.$$.fragment,e),Os=n(e),G=i(e,"DIV",{class:!0});var Oa=h(G);c(Lt.$$.fragment,Oa),Jn=n(Oa),de=i(Oa,"DIV",{class:!0});var Ga=h(de);c(wt.$$.fragment,Ga),Fn=n(Ga),Dr=i(Ga,"P",{"data-svelte-h":!0}),_(Dr)!=="svelte-1mhw2ts"&&(Dr.textContent=Fl),Ga.forEach(t),Oa.forEach(t),Gs=n(e),c(Mt.$$.fragment,e),qs=n(e),q=i(e,"DIV",{class:!0});var qa=h(q);c(kt.$$.fragment,qa),Un=n(qa),ue=i(qa,"DIV",{class:!0});var Ha=h(ue);c(Dt.$$.fragment,Ha),On=n(Ha),Tr=i(Ha,"P",{"data-svelte-h":!0}),_(Tr)!=="svelte-g8gp3r"&&(Tr.textContent=Ul),Ha.forEach(t),qa.forEach(t),Hs=n(e),c(Tt.$$.fragment,e),Ks=n(e),H=i(e,"DIV",{class:!0});var Ka=h(H);c(Et.$$.fragment,Ka),Gn=n(Ka),w=i(Ka,"DIV",{class:!0});var Wr=h(w);c(Pt.$$.fragment,Wr),qn=n(Wr),Er=i(Wr,"P",{"data-svelte-h":!0}),_(Er)!=="svelte-1jqxi5a"&&(Er.textContent=Ol),Hn=n(Wr),Pr=i(Wr,"P",{"data-svelte-h":!0}),_(Pr)!=="svelte-19u8gji"&&(Pr.textContent=Gl),Wr.forEach(t),Ka.forEach(t),Xs=n(e),c(Nt.$$.fragment,e),Zs=n(e),K=i(e,"DIV",{class:!0});var Xa=h(K);c(Rt.$$.fragment,Xa),Kn=n(Xa),M=i(Xa,"DIV",{class:!0});var Yr=h(M);c(jt.$$.fragment,Yr),Xn=n(Yr),Nr=i(Yr,"P",{"data-svelte-h":!0}),_(Nr)!=="svelte-uuxzaw"&&(Nr.textContent=ql),Zn=n(Yr),Rr=i(Yr,"P",{"data-svelte-h":!0}),_(Rr)!=="svelte-q9lg1z"&&(Rr.textContent=Hl),Yr.forEach(t),Xa.forEach(t),Qs=n(e),c(It.$$.fragment,e),Ws=n(e),X=i(e,"DIV",{class:!0});var Za=h(X);c(St.$$.fragment,Za),Qn=n(Za),he=i(Za,"DIV",{class:!0});var Qa=h(he);c(At.$$.fragment,Qa),Wn=n(Qa),jr=i(Qa,"P",{"data-svelte-h":!0}),_(jr)!=="svelte-1e1teq4"&&(jr.textContent=Kl),Qa.forEach(t),Za.forEach(t),Ys=n(e),c(Vt.$$.fragment,e),ea=n(e),Z=i(e,"DIV",{class:!0});var Wa=h(Z);c(zt.$$.fragment,Wa),Yn=n(Wa),ve=i(Wa,"DIV",{class:!0});var Ya=h(ve);c(Bt.$$.fragment,Ya),el=n(Ya),Ir=i(Ya,"P",{"data-svelte-h":!0}),_(Ir)!=="svelte-uuy5fu"&&(Ir.textContent=Xl),Ya.forEach(t),Wa.forEach(t),ta=n(e),c(Jt.$$.fragment,e),ra=n(e),y=i(e,"DIV",{class:!0});var Ce=h(y);c(Ft.$$.fragment,Ce),tl=n(Ce),fe=i(Ce,"DIV",{class:!0});var en=h(fe);c(Ut.$$.fragment,en),rl=n(en),Sr=i(en,"P",{"data-svelte-h":!0}),_(Sr)!=="svelte-1javkrk"&&(Sr.textContent=Zl),en.forEach(t),sl=n(Ce),k=i(Ce,"DIV",{class:!0});var es=h(k);c(Ot.$$.fragment,es),al=n(es),Ar=i(es,"P",{"data-svelte-h":!0}),_(Ar)!=="svelte-1jnlnuh"&&(Ar.textContent=Ql),nl=n(es),Vr=i(es,"P",{"data-svelte-h":!0}),_(Vr)!=="svelte-eunl3r"&&(Vr.textContent=Wl),es.forEach(t),ll=n(Ce),_e=i(Ce,"DIV",{class:!0});var tn=h(_e);c(Gt.$$.fragment,tn),il=n(tn),zr=i(tn,"P",{"data-svelte-h":!0}),_(zr)!=="svelte-vzqvo7"&&(zr.textContent=Yl),tn.forEach(t),Ce.forEach(t),sa=n(e),c(qt.$$.fragment,e),aa=n(e),Ht=i(e,"DIV",{class:!0});var pi=h(Ht);c(Kt.$$.fragment,pi),pi.forEach(t),na=n(e),c(Xt.$$.fragment,e),la=n(e),Q=i(e,"DIV",{class:!0});var rn=h(Q);c(Zt.$$.fragment,rn),ol=n(rn),$e=i(rn,"DIV",{class:!0});var sn=h($e);c(Qt.$$.fragment,sn),ml=n(sn),Br=i(sn,"P",{"data-svelte-h":!0}),_(Br)!=="svelte-4cpcjn"&&(Br.textContent=ei),sn.forEach(t),rn.forEach(t),ia=n(e),c(Wt.$$.fragment,e),oa=n(e),W=i(e,"DIV",{class:!0});var an=h(W);c(Yt.$$.fragment,an),cl=n(an),be=i(an,"DIV",{class:!0});var nn=h(be);c(er.$$.fragment,nn),pl=n(nn),Jr=i(nn,"P",{"data-svelte-h":!0}),_(Jr)!=="svelte-4cpcjn"&&(Jr.textContent=ti),nn.forEach(t),an.forEach(t),ma=n(e),c(tr.$$.fragment,e),ca=n(e),Y=i(e,"DIV",{class:!0});var ln=h(Y);c(rr.$$.fragment,ln),gl=n(ln),xe=i(ln,"DIV",{class:!0});var on=h(xe);c(sr.$$.fragment,on),dl=n(on),Fr=i(on,"P",{"data-svelte-h":!0}),_(Fr)!=="svelte-1tnwwau"&&(Fr.textContent=ri),on.forEach(t),ln.forEach(t),pa=n(e),c(ar.$$.fragment,e),ga=n(e),c(nr.$$.fragment,e),da=n(e),b=i(e,"DIV",{class:!0});var D=h(b);c(lr.$$.fragment,D),ul=n(D),Ur=i(D,"P",{"data-svelte-h":!0}),_(Ur)!=="svelte-a8sws7"&&(Ur.textContent=si),hl=n(D),Or=i(D,"P",{"data-svelte-h":!0}),_(Or)!=="svelte-2785eo"&&(Or.innerHTML=ai),vl=n(D),x=i(D,"DIV",{class:!0});var T=h(x);c(ir.$$.fragment,T),fl=n(T),Gr=i(T,"P",{"data-svelte-h":!0}),_(Gr)!=="svelte-zw3fd9"&&(Gr.textContent=ni),_l=n(T),qr=i(T,"P",{"data-svelte-h":!0}),_(qr)!=="svelte-87qcsz"&&(qr.textContent=li),$l=n(T),Hr=i(T,"P",{"data-svelte-h":!0}),_(Hr)!=="svelte-11lpom8"&&(Hr.textContent=ii),bl=n(T),Kr=i(T,"BLOCKQUOTE",{"data-svelte-h":!0}),_(Kr)!=="svelte-1rs2dmb"&&(Kr.innerHTML=oi),T.forEach(t),xl=n(D),ye=i(D,"DIV",{class:!0});var mn=h(ye);c(or.$$.fragment,mn),yl=n(mn),Xr=i(mn,"P",{"data-svelte-h":!0}),_(Xr)!=="svelte-tj0p2z"&&(Xr.textContent=mi),mn.forEach(t),D.forEach(t),ua=n(e),c(mr.$$.fragment,e),ha=n(e),rs=i(e,"P",{}),h(rs).forEach(t),this.h()},h(){v(E,"name","hf:doc:metadata"),v(E,"content",xi),v(De,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(P,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(N,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(R,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(j,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(I,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ee,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(S,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(te,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(A,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(re,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(V,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(se,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ae,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ne,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(C,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(le,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ie,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(L,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(oe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(B,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(me,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(J,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ce,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(F,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(pe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(U,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ge,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(O,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(de,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(G,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ue,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(w,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(H,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(M,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(K,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(he,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(X,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ve,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Z,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(fe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(k,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(_e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Ht,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v($e,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Q,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(be,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(W,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(xe,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(Y,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(x,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(ye,"class","docstring border-l-2 border-t-2 pl-4 pt-3.5 border-gray-100 rounded-tl-xl mb-6 mt-8"),v(b,"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,r){s(document.head,E),o(e,ss,r),o(e,ts,r),o(e,as,r),p(Le,e,r),o(e,ns,r),p(we,e,r),o(e,ls,r),p(Me,e,r),o(e,is,r),p(ke,e,r),o(e,os,r),o(e,De,r),p(Te,De,null),o(e,ms,r),p(Ee,e,r),o(e,cs,r),o(e,P,r),p(Pe,P,null),s(P,cn),s(P,cr),o(e,ps,r),p(Ne,e,r),o(e,gs,r),o(e,N,r),p(Re,N,null),s(N,pn),s(N,pr),o(e,ds,r),p(je,e,r),o(e,us,r),o(e,R,r),p(Ie,R,null),s(R,gn),s(R,gr),o(e,hs,r),p(Se,e,r),o(e,vs,r),o(e,j,r),p(Ae,j,null),s(j,dn),s(j,dr),o(e,fs,r),p(Ve,e,r),o(e,_s,r),o(e,I,r),p(ze,I,null),s(I,un),s(I,ur),o(e,$s,r),p(Be,e,r),o(e,bs,r),p(Je,e,r),o(e,xs,r),o(e,S,r),p(Fe,S,null),s(S,hn),s(S,ee),p(Ue,ee,null),s(ee,vn),s(ee,hr),o(e,ys,r),p(Oe,e,r),o(e,Cs,r),o(e,A,r),p(Ge,A,null),s(A,fn),s(A,te),p(qe,te,null),s(te,_n),s(te,vr),o(e,Ls,r),p(He,e,r),o(e,ws,r),o(e,V,r),p(Ke,V,null),s(V,$n),s(V,re),p(Xe,re,null),s(re,bn),s(re,fr),o(e,Ms,r),p(Ze,e,r),o(e,ks,r),o(e,z,r),p(Qe,z,null),s(z,xn),s(z,se),p(We,se,null),s(se,yn),s(se,_r),o(e,Ds,r),p(Ye,e,r),o(e,Ts,r),p(et,e,r),o(e,Es,r),o(e,C,r),p(tt,C,null),s(C,Cn),s(C,ae),p(rt,ae,null),s(ae,Ln),s(ae,$r),s(C,wn),s(C,ne),p(st,ne,null),s(ne,Mn),s(ne,br),o(e,Ps,r),p(at,e,r),o(e,Ns,r),o(e,L,r),p(nt,L,null),s(L,kn),s(L,le),p(lt,le,null),s(le,Dn),s(le,xr),s(L,Tn),s(L,ie),p(it,ie,null),s(ie,En),s(ie,yr),o(e,Rs,r),p(ot,e,r),o(e,js,r),o(e,B,r),p(mt,B,null),s(B,Pn),s(B,oe),p(ct,oe,null),s(oe,Nn),s(oe,Cr),o(e,Is,r),p(pt,e,r),o(e,Ss,r),o(e,J,r),p(gt,J,null),s(J,Rn),s(J,me),p(dt,me,null),s(me,jn),s(me,Lr),o(e,As,r),p(ut,e,r),o(e,Vs,r),o(e,F,r),p(ht,F,null),s(F,In),s(F,ce),p(vt,ce,null),s(ce,Sn),s(ce,wr),o(e,zs,r),p(ft,e,r),o(e,Bs,r),o(e,U,r),p(_t,U,null),s(U,An),s(U,pe),p($t,pe,null),s(pe,Vn),s(pe,Mr),o(e,Js,r),p(bt,e,r),o(e,Fs,r),o(e,O,r),p(xt,O,null),s(O,zn),s(O,ge),p(yt,ge,null),s(ge,Bn),s(ge,kr),o(e,Us,r),p(Ct,e,r),o(e,Os,r),o(e,G,r),p(Lt,G,null),s(G,Jn),s(G,de),p(wt,de,null),s(de,Fn),s(de,Dr),o(e,Gs,r),p(Mt,e,r),o(e,qs,r),o(e,q,r),p(kt,q,null),s(q,Un),s(q,ue),p(Dt,ue,null),s(ue,On),s(ue,Tr),o(e,Hs,r),p(Tt,e,r),o(e,Ks,r),o(e,H,r),p(Et,H,null),s(H,Gn),s(H,w),p(Pt,w,null),s(w,qn),s(w,Er),s(w,Hn),s(w,Pr),o(e,Xs,r),p(Nt,e,r),o(e,Zs,r),o(e,K,r),p(Rt,K,null),s(K,Kn),s(K,M),p(jt,M,null),s(M,Xn),s(M,Nr),s(M,Zn),s(M,Rr),o(e,Qs,r),p(It,e,r),o(e,Ws,r),o(e,X,r),p(St,X,null),s(X,Qn),s(X,he),p(At,he,null),s(he,Wn),s(he,jr),o(e,Ys,r),p(Vt,e,r),o(e,ea,r),o(e,Z,r),p(zt,Z,null),s(Z,Yn),s(Z,ve),p(Bt,ve,null),s(ve,el),s(ve,Ir),o(e,ta,r),p(Jt,e,r),o(e,ra,r),o(e,y,r),p(Ft,y,null),s(y,tl),s(y,fe),p(Ut,fe,null),s(fe,rl),s(fe,Sr),s(y,sl),s(y,k),p(Ot,k,null),s(k,al),s(k,Ar),s(k,nl),s(k,Vr),s(y,ll),s(y,_e),p(Gt,_e,null),s(_e,il),s(_e,zr),o(e,sa,r),p(qt,e,r),o(e,aa,r),o(e,Ht,r),p(Kt,Ht,null),o(e,na,r),p(Xt,e,r),o(e,la,r),o(e,Q,r),p(Zt,Q,null),s(Q,ol),s(Q,$e),p(Qt,$e,null),s($e,ml),s($e,Br),o(e,ia,r),p(Wt,e,r),o(e,oa,r),o(e,W,r),p(Yt,W,null),s(W,cl),s(W,be),p(er,be,null),s(be,pl),s(be,Jr),o(e,ma,r),p(tr,e,r),o(e,ca,r),o(e,Y,r),p(rr,Y,null),s(Y,gl),s(Y,xe),p(sr,xe,null),s(xe,dl),s(xe,Fr),o(e,pa,r),p(ar,e,r),o(e,ga,r),p(nr,e,r),o(e,da,r),o(e,b,r),p(lr,b,null),s(b,ul),s(b,Ur),s(b,hl),s(b,Or),s(b,vl),s(b,x),p(ir,x,null),s(x,fl),s(x,Gr),s(x,_l),s(x,qr),s(x,$l),s(x,Hr),s(x,bl),s(x,Kr),s(b,xl),s(b,ye),p(or,ye,null),s(ye,yl),s(ye,Xr),o(e,ua,r),p(mr,e,r),o(e,ha,r),o(e,rs,r),va=!0},p:di,i(e){va||(g(Le.$$.fragment,e),g(we.$$.fragment,e),g(Me.$$.fragment,e),g(ke.$$.fragment,e),g(Te.$$.fragment,e),g(Ee.$$.fragment,e),g(Pe.$$.fragment,e),g(Ne.$$.fragment,e),g(Re.$$.fragment,e),g(je.$$.fragment,e),g(Ie.$$.fragment,e),g(Se.$$.fragment,e),g(Ae.$$.fragment,e),g(Ve.$$.fragment,e),g(ze.$$.fragment,e),g(Be.$$.fragment,e),g(Je.$$.fragment,e),g(Fe.$$.fragment,e),g(Ue.$$.fragment,e),g(Oe.$$.fragment,e),g(Ge.$$.fragment,e),g(qe.$$.fragment,e),g(He.$$.fragment,e),g(Ke.$$.fragment,e),g(Xe.$$.fragment,e),g(Ze.$$.fragment,e),g(Qe.$$.fragment,e),g(We.$$.fragment,e),g(Ye.$$.fragment,e),g(et.$$.fragment,e),g(tt.$$.fragment,e),g(rt.$$.fragment,e),g(st.$$.fragment,e),g(at.$$.fragment,e),g(nt.$$.fragment,e),g(lt.$$.fragment,e),g(it.$$.fragment,e),g(ot.$$.fragment,e),g(mt.$$.fragment,e),g(ct.$$.fragment,e),g(pt.$$.fragment,e),g(gt.$$.fragment,e),g(dt.$$.fragment,e),g(ut.$$.fragment,e),g(ht.$$.fragment,e),g(vt.$$.fragment,e),g(ft.$$.fragment,e),g(_t.$$.fragment,e),g($t.$$.fragment,e),g(bt.$$.fragment,e),g(xt.$$.fragment,e),g(yt.$$.fragment,e),g(Ct.$$.fragment,e),g(Lt.$$.fragment,e),g(wt.$$.fragment,e),g(Mt.$$.fragment,e),g(kt.$$.fragment,e),g(Dt.$$.fragment,e),g(Tt.$$.fragment,e),g(Et.$$.fragment,e),g(Pt.$$.fragment,e),g(Nt.$$.fragment,e),g(Rt.$$.fragment,e),g(jt.$$.fragment,e),g(It.$$.fragment,e),g(St.$$.fragment,e),g(At.$$.fragment,e),g(Vt.$$.fragment,e),g(zt.$$.fragment,e),g(Bt.$$.fragment,e),g(Jt.$$.fragment,e),g(Ft.$$.fragment,e),g(Ut.$$.fragment,e),g(Ot.$$.fragment,e),g(Gt.$$.fragment,e),g(qt.$$.fragment,e),g(Kt.$$.fragment,e),g(Xt.$$.fragment,e),g(Zt.$$.fragment,e),g(Qt.$$.fragment,e),g(Wt.$$.fragment,e),g(Yt.$$.fragment,e),g(er.$$.fragment,e),g(tr.$$.fragment,e),g(rr.$$.fragment,e),g(sr.$$.fragment,e),g(ar.$$.fragment,e),g(nr.$$.fragment,e),g(lr.$$.fragment,e),g(ir.$$.fragment,e),g(or.$$.fragment,e),g(mr.$$.fragment,e),va=!0)},o(e){d(Le.$$.fragment,e),d(we.$$.fragment,e),d(Me.$$.fragment,e),d(ke.$$.fragment,e),d(Te.$$.fragment,e),d(Ee.$$.fragment,e),d(Pe.$$.fragment,e),d(Ne.$$.fragment,e),d(Re.$$.fragment,e),d(je.$$.fragment,e),d(Ie.$$.fragment,e),d(Se.$$.fragment,e),d(Ae.$$.fragment,e),d(Ve.$$.fragment,e),d(ze.$$.fragment,e),d(Be.$$.fragment,e),d(Je.$$.fragment,e),d(Fe.$$.fragment,e),d(Ue.$$.fragment,e),d(Oe.$$.fragment,e),d(Ge.$$.fragment,e),d(qe.$$.fragment,e),d(He.$$.fragment,e),d(Ke.$$.fragment,e),d(Xe.$$.fragment,e),d(Ze.$$.fragment,e),d(Qe.$$.fragment,e),d(We.$$.fragment,e),d(Ye.$$.fragment,e),d(et.$$.fragment,e),d(tt.$$.fragment,e),d(rt.$$.fragment,e),d(st.$$.fragment,e),d(at.$$.fragment,e),d(nt.$$.fragment,e),d(lt.$$.fragment,e),d(it.$$.fragment,e),d(ot.$$.fragment,e),d(mt.$$.fragment,e),d(ct.$$.fragment,e),d(pt.$$.fragment,e),d(gt.$$.fragment,e),d(dt.$$.fragment,e),d(ut.$$.fragment,e),d(ht.$$.fragment,e),d(vt.$$.fragment,e),d(ft.$$.fragment,e),d(_t.$$.fragment,e),d($t.$$.fragment,e),d(bt.$$.fragment,e),d(xt.$$.fragment,e),d(yt.$$.fragment,e),d(Ct.$$.fragment,e),d(Lt.$$.fragment,e),d(wt.$$.fragment,e),d(Mt.$$.fragment,e),d(kt.$$.fragment,e),d(Dt.$$.fragment,e),d(Tt.$$.fragment,e),d(Et.$$.fragment,e),d(Pt.$$.fragment,e),d(Nt.$$.fragment,e),d(Rt.$$.fragment,e),d(jt.$$.fragment,e),d(It.$$.fragment,e),d(St.$$.fragment,e),d(At.$$.fragment,e),d(Vt.$$.fragment,e),d(zt.$$.fragment,e),d(Bt.$$.fragment,e),d(Jt.$$.fragment,e),d(Ft.$$.fragment,e),d(Ut.$$.fragment,e),d(Ot.$$.fragment,e),d(Gt.$$.fragment,e),d(qt.$$.fragment,e),d(Kt.$$.fragment,e),d(Xt.$$.fragment,e),d(Zt.$$.fragment,e),d(Qt.$$.fragment,e),d(Wt.$$.fragment,e),d(Yt.$$.fragment,e),d(er.$$.fragment,e),d(tr.$$.fragment,e),d(rr.$$.fragment,e),d(sr.$$.fragment,e),d(ar.$$.fragment,e),d(nr.$$.fragment,e),d(lr.$$.fragment,e),d(ir.$$.fragment,e),d(or.$$.fragment,e),d(mr.$$.fragment,e),va=!1},d(e){e&&(t(ss),t(ts),t(as),t(ns),t(ls),t(is),t(os),t(De),t(ms),t(cs),t(P),t(ps),t(gs),t(N),t(ds),t(us),t(R),t(hs),t(vs),t(j),t(fs),t(_s),t(I),t($s),t(bs),t(xs),t(S),t(ys),t(Cs),t(A),t(Ls),t(ws),t(V),t(Ms),t(ks),t(z),t(Ds),t(Ts),t(Es),t(C),t(Ps),t(Ns),t(L),t(Rs),t(js),t(B),t(Is),t(Ss),t(J),t(As),t(Vs),t(F),t(zs),t(Bs),t(U),t(Js),t(Fs),t(O),t(Us),t(Os),t(G),t(Gs),t(qs),t(q),t(Hs),t(Ks),t(H),t(Xs),t(Zs),t(K),t(Qs),t(Ws),t(X),t(Ys),t(ea),t(Z),t(ta),t(ra),t(y),t(sa),t(aa),t(Ht),t(na),t(la),t(Q),t(ia),t(oa),t(W),t(ma),t(ca),t(Y),t(pa),t(ga),t(da),t(b),t(ua),t(ha),t(rs)),t(E),u(Le,e),u(we,e),u(Me,e),u(ke,e),u(Te),u(Ee,e),u(Pe),u(Ne,e),u(Re),u(je,e),u(Ie),u(Se,e),u(Ae),u(Ve,e),u(ze),u(Be,e),u(Je,e),u(Fe),u(Ue),u(Oe,e),u(Ge),u(qe),u(He,e),u(Ke),u(Xe),u(Ze,e),u(Qe),u(We),u(Ye,e),u(et,e),u(tt),u(rt),u(st),u(at,e),u(nt),u(lt),u(it),u(ot,e),u(mt),u(ct),u(pt,e),u(gt),u(dt),u(ut,e),u(ht),u(vt),u(ft,e),u(_t),u($t),u(bt,e),u(xt),u(yt),u(Ct,e),u(Lt),u(wt),u(Mt,e),u(kt),u(Dt),u(Tt,e),u(Et),u(Pt),u(Nt,e),u(Rt),u(jt),u(It,e),u(St),u(At),u(Vt,e),u(zt),u(Bt),u(Jt,e),u(Ft),u(Ut),u(Ot),u(Gt),u(qt,e),u(Kt),u(Xt,e),u(Zt),u(Qt),u(Wt,e),u(Yt),u(er),u(tr,e),u(rr),u(sr),u(ar,e),u(nr,e),u(lr),u(ir),u(or),u(mr,e)}}}const xi='{"title":"Metrics","local":"metrics","sections":[{"title":"Metrics","local":"metrics","sections":[{"title":"Metric","local":"lighteval.metrics.Metric","sections":[],"depth":3},{"title":"CorpusLevelMetric","local":"lighteval.metrics.utils.metric_utils.CorpusLevelMetric","sections":[],"depth":3},{"title":"SampleLevelMetric","local":"lighteval.metrics.utils.metric_utils.SampleLevelMetric","sections":[],"depth":3},{"title":"MetricGrouping","local":"lighteval.metrics.utils.metric_utils.MetricGrouping","sections":[],"depth":3},{"title":"CorpusLevelMetricGrouping","local":"lighteval.metrics.utils.metric_utils.CorpusLevelMetricGrouping","sections":[],"depth":3},{"title":"SampleLevelMetricGrouping","local":"lighteval.metrics.utils.metric_utils.SampleLevelMetricGrouping","sections":[],"depth":3}],"depth":2},{"title":"Corpus Metrics","local":"corpus-metrics","sections":[{"title":"CorpusLevelF1Score","local":"lighteval.metrics.metrics_corpus.CorpusLevelF1Score","sections":[],"depth":3},{"title":"CorpusLevelPerplexityMetric","local":"lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric","sections":[],"depth":3},{"title":"CorpusLevelTranslationMetric","local":"lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric","sections":[],"depth":3},{"title":"MatthewsCorrCoef","local":"lighteval.metrics.metrics_corpus.MatthewsCorrCoef","sections":[],"depth":3}],"depth":2},{"title":"Sample Metrics","local":"sample-metrics","sections":[{"title":"ExactMatches","local":"lighteval.metrics.metrics_sample.ExactMatches","sections":[],"depth":3},{"title":"F1_score","local":"lighteval.metrics.metrics_sample.F1_score","sections":[],"depth":3},{"title":"LoglikelihoodAcc","local":"lighteval.metrics.metrics_sample.LoglikelihoodAcc","sections":[],"depth":3},{"title":"NormalizedMultiChoiceProbability","local":"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability","sections":[],"depth":3},{"title":"Probability","local":"lighteval.metrics.metrics_sample.Probability","sections":[],"depth":3},{"title":"Recall","local":"lighteval.metrics.metrics_sample.Recall","sections":[],"depth":3},{"title":"MRR","local":"lighteval.metrics.metrics_sample.MRR","sections":[],"depth":3},{"title":"ROUGE","local":"lighteval.metrics.metrics_sample.ROUGE","sections":[],"depth":3},{"title":"BertScore","local":"lighteval.metrics.metrics_sample.BertScore","sections":[],"depth":3},{"title":"Extractiveness","local":"lighteval.metrics.metrics_sample.Extractiveness","sections":[],"depth":3},{"title":"Faithfulness","local":"lighteval.metrics.metrics_sample.Faithfulness","sections":[],"depth":3},{"title":"BLEURT","local":"lighteval.metrics.metrics_sample.BLEURT","sections":[],"depth":3},{"title":"BLEU","local":"lighteval.metrics.metrics_sample.BLEU","sections":[],"depth":3},{"title":"StringDistance","local":"lighteval.metrics.metrics_sample.StringDistance","sections":[],"depth":3},{"title":"JudgeLLM","local":"lighteval.metrics.metrics_sample.JudgeLLM","sections":[],"depth":3},{"title":"JudgeLLMMTBench","local":"lighteval.metrics.metrics_sample.JudgeLLMMTBench","sections":[],"depth":3},{"title":"JudgeLLMMixEval","local":"lighteval.metrics.metrics_sample.JudgeLLMMixEval","sections":[],"depth":3},{"title":"MajAtK","local":"lighteval.metrics.metrics_sample.MajAtK","sections":[],"depth":3}],"depth":2},{"title":"LLM-as-a-Judge","local":"llm-as-a-judge","sections":[{"title":"JudgeLM","local":"lighteval.metrics.utils.llm_as_judge.JudgeLM","sections":[],"depth":3}],"depth":2}],"depth":1}';function yi(Cl){return ui(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ki extends hi{constructor(E){super(),vi(this,E,yi,bi,gi,{})}}export{ki as component};
