import{s as gl,n as dl,o as ul}from"../chunks/scheduler.5f3e6389.js";import{S as hl,i as vl,e as i,s as n,c as m,h as fl,a as l,d as t,b as a,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 $l,H as _,E as _l}from"../chunks/MermaidChart.svelte_svelte_type_style_lang.f6d2fa18.js";import{D as f}from"../chunks/Docstring.dbdabeed.js";function bl(Ci){let E,ss,ts,ns,Le,as,we,is,Me,ls,ke,os,De,Te,ms,Ee,cs,P,Pe,ca,cr,Li="Metric computed over the whole corpora, with computations happening at the aggregation phase",ps,Ne,gs,N,Re,pa,pr,wi="Metric computed per sample, then aggregated over the corpus",ds,je,us,R,Ie,ga,gr,Mi=`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,da,dr,ki="MetricGrouping computed over the whole corpora, with computations happening at the aggregation phase",fs,Ve,$s,I,ze,ua,ur,Di="MetricGrouping are computed per sample, then aggregated over the corpus",_s,Be,bs,Je,xs,S,Fe,ha,ee,Ue,va,hr,Ti="Computes the metric score over all the corpus generated items, by using the scikit learn implementation.",ys,Oe,Cs,A,Ge,fa,te,qe,$a,vr,Ei="Computes the metric score over all the corpus generated items.",Ls,He,ws,V,Ke,_a,re,Xe,ba,fr,Pi="Computes the metric score over all the corpus generated items, by using the sacrebleu implementation.",Ms,Ze,ks,z,Qe,xa,se,We,ya,$r,Ni='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,Ca,ne,rt,La,_r,Ri="Computes the metric over a list of golds and predictions for one single sample.",wa,ae,st,Ma,br,ji="Compares two strings only.",Ps,nt,Ns,L,at,ka,ie,it,Da,xr,Ii="Computes the metric over a list of golds and predictions for one single sample.",Ta,le,lt,Ea,yr,Si="Compares two strings only.",Rs,ot,js,B,mt,Pa,oe,ct,Na,Cr,Ai=`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,Ra,me,dt,ja,Lr,Vi="Computes the log likelihood probability: chance of choosing the best choice.",As,ut,Vs,F,ht,Ia,ce,vt,Sa,wr,zi="Computes the log likelihood probability: chance of choosing the best choice.",zs,ft,Bs,U,$t,Aa,pe,_t,Va,Mr,Bi=`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,za,ge,yt,Ba,kr,Ji="Mean reciprocal rank. Measures the quality of a ranking of choices (ordered by correctness).",Us,Ct,Os,G,Lt,Ja,de,wt,Fa,Dr,Fi="Computes the metric(s) over a list of golds and predictions for one single sample.",Gs,Mt,qs,q,kt,Ua,ue,Dt,Oa,Tr,Ui="Computes the prediction, recall and f1 score using the bert scorer.",Hs,Tt,Ks,H,Et,Ga,w,Pt,qa,Er,Oi="Compute the extractiveness of the predictions.",Ha,Pr,Gi=`This method calculates coverage, density, and compression scores for a single
prediction against the input text.`,Xs,Nt,Zs,K,Rt,Ka,M,jt,Xa,Nr,qi="Compute the faithfulness of the predictions.",Za,Rr,Hi="The SummaCZS (Summary Content Zero-Shot) model is used with configurable granularity and model variation.",Qs,It,Ws,X,St,Qa,he,At,Wa,jr,Ki="Uses the stored BLEURT scorer to compute the score on the current sample.",Ys,Vt,en,Z,zt,Ya,ve,Bt,ei,Ir,Xi="Computes the sentence level BLEU between the golds and each prediction, then takes the average.",tn,Jt,rn,y,Ft,ti,fe,Ut,ri,Sr,Zi="Computes all the requested metrics on the golds and prediction.",si,k,Ot,ni,Ar,Qi="Compute the edit similarity between two lists of strings.",ai,Vr,Wi=`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).`,ii,$e,Gt,li,zr,Yi="Compute the length of the longest common prefix.",sn,qt,nn,Ht,Kt,an,Xt,ln,Q,Zt,oi,_e,Qt,mi,Br,el=`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.`,on,Wt,mn,W,Yt,ci,be,er,pi,Jr,tl=`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.`,cn,tr,pn,Y,rr,gi,xe,sr,di,Fr,rl=`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.`,gn,nr,dn,ar,un,b,ir,ui,Ur,sl="A class representing a judge for evaluating answers using either the chosen backend.",hi,Or,nl=`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.`,vi,x,lr,fi,Gr,al="Transform a dictionary of lists into a list of dictionaries.",$i,qr,il=`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.`,_i,Hr,ll="Example:",bi,Kr,ol=`<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>`,xi,ye,or,yi,Xr,ml="Evaluates an answer using either Transformers or OpenAI API.",hn,mr,vn,rs,fn;return Le=new $l({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/main/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/main/src/lighteval/metrics/utils/metric_utils.py#L114"}}),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/main/src/lighteval/metrics/utils/metric_utils.py#L121"}}),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/main/src/lighteval/metrics/utils/metric_utils.py#L103"}}),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/main/src/lighteval/metrics/utils/metric_utils.py#L128"}}),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/main/src/lighteval/metrics/utils/metric_utils.py#L135"}}),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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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>
`}}),nt=new _({props:{title:"F1_score",local:"lighteval.metrics.metrics_sample.F1_score",headingTag:"h3"}}),at=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/main/src/lighteval/metrics/metrics_sample.py#L170"}}),it=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/main/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>
`}}),lt=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/main/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/main/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/main/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 0x7f41c9bf4e30>"}],source:"https://github.com/huggingface/lighteval/blob/main/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/main/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 0x7f41c9bf4e30>"}],source:"https://github.com/huggingface/lighteval/blob/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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 0x7f40c5e35b40>"},{name:"normalize_pred",val:": <built-in function callable> = <function remove_braces_and_strip at 0x7f40c5e35bd0>"},{name:"input_column",val:": str = 'text'"},{name:"language",val:": typing.Literal['en', 'de', 'fr', 'it'] = 'en'"}],source:"https://github.com/huggingface/lighteval/blob/main/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/main/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 0x7f40c5e35b40>"},{name:"normalize_pred",val:": typing.Callable = <function remove_braces_and_strip at 0x7f40c5e35bd0>"},{name:"input_column",val:": str = 'text'"}],source:"https://github.com/huggingface/lighteval/blob/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/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/main/src/lighteval/metrics/metrics_sample.py#L1046"}}),Qt=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMTBench.compute",parameters:[{name:"model_response",val:": list"},{name:"docs",val:": list"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/lighteval/blob/main/src/lighteval/metrics/metrics_sample.py#L1047"}}),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/main/src/lighteval/metrics/metrics_sample.py#L1078"}}),er=new f({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.JudgeLLMMixEval.compute",parameters:[{name:"model_responses",val:": list"},{name:"docs",val:": list"},{name:"**kwargs",val:""}],source:"https://github.com/huggingface/lighteval/blob/main/src/lighteval/metrics/metrics_sample.py#L1079"}}),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/main/src/lighteval/metrics/metrics_sample.py#L1216"}}),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/main/src/lighteval/metrics/metrics_sample.py#L1229",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>
`}}),nr=new _({props:{title:"LLM-as-a-Judge",local:"llm-as-a-judge",headingTag:"h2"}}),ar=new _({props:{title:"JudgeLM",local:"lighteval.metrics.utils.llm_as_judge.JudgeLM",headingTag:"h3"}}),ir=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 = 512"},{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/main/src/lighteval/metrics/utils/llm_as_judge.py#L67"}}),lr=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/main/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/main/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 _l({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/package_reference/metrics.mdx"}}),{c(){E=i("meta"),ss=n(),ts=i("p"),ns=n(),m(Le.$$.fragment),as=n(),m(we.$$.fragment),is=n(),m(Me.$$.fragment),ls=n(),m(ke.$$.fragment),os=n(),De=i("div"),m(Te.$$.fragment),ms=n(),m(Ee.$$.fragment),cs=n(),P=i("div"),m(Pe.$$.fragment),ca=n(),cr=i("p"),cr.textContent=Li,ps=n(),m(Ne.$$.fragment),gs=n(),N=i("div"),m(Re.$$.fragment),pa=n(),pr=i("p"),pr.textContent=wi,ds=n(),m(je.$$.fragment),us=n(),R=i("div"),m(Ie.$$.fragment),ga=n(),gr=i("p"),gr.textContent=Mi,hs=n(),m(Se.$$.fragment),vs=n(),j=i("div"),m(Ae.$$.fragment),da=n(),dr=i("p"),dr.textContent=ki,fs=n(),m(Ve.$$.fragment),$s=n(),I=i("div"),m(ze.$$.fragment),ua=n(),ur=i("p"),ur.textContent=Di,_s=n(),m(Be.$$.fragment),bs=n(),m(Je.$$.fragment),xs=n(),S=i("div"),m(Fe.$$.fragment),ha=n(),ee=i("div"),m(Ue.$$.fragment),va=n(),hr=i("p"),hr.textContent=Ti,ys=n(),m(Oe.$$.fragment),Cs=n(),A=i("div"),m(Ge.$$.fragment),fa=n(),te=i("div"),m(qe.$$.fragment),$a=n(),vr=i("p"),vr.textContent=Ei,Ls=n(),m(He.$$.fragment),ws=n(),V=i("div"),m(Ke.$$.fragment),_a=n(),re=i("div"),m(Xe.$$.fragment),ba=n(),fr=i("p"),fr.textContent=Pi,Ms=n(),m(Ze.$$.fragment),ks=n(),z=i("div"),m(Qe.$$.fragment),xa=n(),se=i("div"),m(We.$$.fragment),ya=n(),$r=i("p"),$r.innerHTML=Ni,Ds=n(),m(Ye.$$.fragment),Ts=n(),m(et.$$.fragment),Es=n(),C=i("div"),m(tt.$$.fragment),Ca=n(),ne=i("div"),m(rt.$$.fragment),La=n(),_r=i("p"),_r.textContent=Ri,wa=n(),ae=i("div"),m(st.$$.fragment),Ma=n(),br=i("p"),br.textContent=ji,Ps=n(),m(nt.$$.fragment),Ns=n(),L=i("div"),m(at.$$.fragment),ka=n(),ie=i("div"),m(it.$$.fragment),Da=n(),xr=i("p"),xr.textContent=Ii,Ta=n(),le=i("div"),m(lt.$$.fragment),Ea=n(),yr=i("p"),yr.textContent=Si,Rs=n(),m(ot.$$.fragment),js=n(),B=i("div"),m(mt.$$.fragment),Pa=n(),oe=i("div"),m(ct.$$.fragment),Na=n(),Cr=i("p"),Cr.innerHTML=Ai,Is=n(),m(pt.$$.fragment),Ss=n(),J=i("div"),m(gt.$$.fragment),Ra=n(),me=i("div"),m(dt.$$.fragment),ja=n(),Lr=i("p"),Lr.textContent=Vi,As=n(),m(ut.$$.fragment),Vs=n(),F=i("div"),m(ht.$$.fragment),Ia=n(),ce=i("div"),m(vt.$$.fragment),Sa=n(),wr=i("p"),wr.textContent=zi,zs=n(),m(ft.$$.fragment),Bs=n(),U=i("div"),m($t.$$.fragment),Aa=n(),pe=i("div"),m(_t.$$.fragment),Va=n(),Mr=i("p"),Mr.innerHTML=Bi,Js=n(),m(bt.$$.fragment),Fs=n(),O=i("div"),m(xt.$$.fragment),za=n(),ge=i("div"),m(yt.$$.fragment),Ba=n(),kr=i("p"),kr.textContent=Ji,Us=n(),m(Ct.$$.fragment),Os=n(),G=i("div"),m(Lt.$$.fragment),Ja=n(),de=i("div"),m(wt.$$.fragment),Fa=n(),Dr=i("p"),Dr.textContent=Fi,Gs=n(),m(Mt.$$.fragment),qs=n(),q=i("div"),m(kt.$$.fragment),Ua=n(),ue=i("div"),m(Dt.$$.fragment),Oa=n(),Tr=i("p"),Tr.textContent=Ui,Hs=n(),m(Tt.$$.fragment),Ks=n(),H=i("div"),m(Et.$$.fragment),Ga=n(),w=i("div"),m(Pt.$$.fragment),qa=n(),Er=i("p"),Er.textContent=Oi,Ha=n(),Pr=i("p"),Pr.textContent=Gi,Xs=n(),m(Nt.$$.fragment),Zs=n(),K=i("div"),m(Rt.$$.fragment),Ka=n(),M=i("div"),m(jt.$$.fragment),Xa=n(),Nr=i("p"),Nr.textContent=qi,Za=n(),Rr=i("p"),Rr.textContent=Hi,Qs=n(),m(It.$$.fragment),Ws=n(),X=i("div"),m(St.$$.fragment),Qa=n(),he=i("div"),m(At.$$.fragment),Wa=n(),jr=i("p"),jr.textContent=Ki,Ys=n(),m(Vt.$$.fragment),en=n(),Z=i("div"),m(zt.$$.fragment),Ya=n(),ve=i("div"),m(Bt.$$.fragment),ei=n(),Ir=i("p"),Ir.textContent=Xi,tn=n(),m(Jt.$$.fragment),rn=n(),y=i("div"),m(Ft.$$.fragment),ti=n(),fe=i("div"),m(Ut.$$.fragment),ri=n(),Sr=i("p"),Sr.textContent=Zi,si=n(),k=i("div"),m(Ot.$$.fragment),ni=n(),Ar=i("p"),Ar.textContent=Qi,ai=n(),Vr=i("p"),Vr.textContent=Wi,ii=n(),$e=i("div"),m(Gt.$$.fragment),li=n(),zr=i("p"),zr.textContent=Yi,sn=n(),m(qt.$$.fragment),nn=n(),Ht=i("div"),m(Kt.$$.fragment),an=n(),m(Xt.$$.fragment),ln=n(),Q=i("div"),m(Zt.$$.fragment),oi=n(),_e=i("div"),m(Qt.$$.fragment),mi=n(),Br=i("p"),Br.textContent=el,on=n(),m(Wt.$$.fragment),mn=n(),W=i("div"),m(Yt.$$.fragment),ci=n(),be=i("div"),m(er.$$.fragment),pi=n(),Jr=i("p"),Jr.textContent=tl,cn=n(),m(tr.$$.fragment),pn=n(),Y=i("div"),m(rr.$$.fragment),gi=n(),xe=i("div"),m(sr.$$.fragment),di=n(),Fr=i("p"),Fr.textContent=rl,gn=n(),m(nr.$$.fragment),dn=n(),m(ar.$$.fragment),un=n(),b=i("div"),m(ir.$$.fragment),ui=n(),Ur=i("p"),Ur.textContent=sl,hi=n(),Or=i("p"),Or.innerHTML=nl,vi=n(),x=i("div"),m(lr.$$.fragment),fi=n(),Gr=i("p"),Gr.textContent=al,$i=n(),qr=i("p"),qr.textContent=il,_i=n(),Hr=i("p"),Hr.textContent=ll,bi=n(),Kr=i("blockquote"),Kr.innerHTML=ol,xi=n(),ye=i("div"),m(or.$$.fragment),yi=n(),Xr=i("p"),Xr.textContent=ml,hn=n(),m(mr.$$.fragment),vn=n(),rs=i("p"),this.h()},l(e){const r=fl("svelte-u9bgzb",document.head);E=l(r,"META",{name:!0,content:!0}),r.forEach(t),ss=a(e),ts=l(e,"P",{}),h(ts).forEach(t),ns=a(e),c(Le.$$.fragment,e),as=a(e),c(we.$$.fragment,e),is=a(e),c(Me.$$.fragment,e),ls=a(e),c(ke.$$.fragment,e),os=a(e),De=l(e,"DIV",{class:!0});var cl=h(De);c(Te.$$.fragment,cl),cl.forEach(t),ms=a(e),c(Ee.$$.fragment,e),cs=a(e),P=l(e,"DIV",{class:!0});var $n=h(P);c(Pe.$$.fragment,$n),ca=a($n),cr=l($n,"P",{"data-svelte-h":!0}),$(cr)!=="svelte-zgtslk"&&(cr.textContent=Li),$n.forEach(t),ps=a(e),c(Ne.$$.fragment,e),gs=a(e),N=l(e,"DIV",{class:!0});var _n=h(N);c(Re.$$.fragment,_n),pa=a(_n),pr=l(_n,"P",{"data-svelte-h":!0}),$(pr)!=="svelte-f7ehzx"&&(pr.textContent=wi),_n.forEach(t),ds=a(e),c(je.$$.fragment,e),us=a(e),R=l(e,"DIV",{class:!0});var bn=h(R);c(Ie.$$.fragment,bn),ga=a(bn),gr=l(bn,"P",{"data-svelte-h":!0}),$(gr)!=="svelte-189xko4"&&(gr.textContent=Mi),bn.forEach(t),hs=a(e),c(Se.$$.fragment,e),vs=a(e),j=l(e,"DIV",{class:!0});var xn=h(j);c(Ae.$$.fragment,xn),da=a(xn),dr=l(xn,"P",{"data-svelte-h":!0}),$(dr)!=="svelte-648fl7"&&(dr.textContent=ki),xn.forEach(t),fs=a(e),c(Ve.$$.fragment,e),$s=a(e),I=l(e,"DIV",{class:!0});var yn=h(I);c(ze.$$.fragment,yn),ua=a(yn),ur=l(yn,"P",{"data-svelte-h":!0}),$(ur)!=="svelte-10boi74"&&(ur.textContent=Di),yn.forEach(t),_s=a(e),c(Be.$$.fragment,e),bs=a(e),c(Je.$$.fragment,e),xs=a(e),S=l(e,"DIV",{class:!0});var Cn=h(S);c(Fe.$$.fragment,Cn),ha=a(Cn),ee=l(Cn,"DIV",{class:!0});var Ln=h(ee);c(Ue.$$.fragment,Ln),va=a(Ln),hr=l(Ln,"P",{"data-svelte-h":!0}),$(hr)!=="svelte-6am5wr"&&(hr.textContent=Ti),Ln.forEach(t),Cn.forEach(t),ys=a(e),c(Oe.$$.fragment,e),Cs=a(e),A=l(e,"DIV",{class:!0});var wn=h(A);c(Ge.$$.fragment,wn),fa=a(wn),te=l(wn,"DIV",{class:!0});var Mn=h(te);c(qe.$$.fragment,Mn),$a=a(Mn),vr=l(Mn,"P",{"data-svelte-h":!0}),$(vr)!=="svelte-1eqcqc"&&(vr.textContent=Ei),Mn.forEach(t),wn.forEach(t),Ls=a(e),c(He.$$.fragment,e),ws=a(e),V=l(e,"DIV",{class:!0});var kn=h(V);c(Ke.$$.fragment,kn),_a=a(kn),re=l(kn,"DIV",{class:!0});var Dn=h(re);c(Xe.$$.fragment,Dn),ba=a(Dn),fr=l(Dn,"P",{"data-svelte-h":!0}),$(fr)!=="svelte-ngk658"&&(fr.textContent=Pi),Dn.forEach(t),kn.forEach(t),Ms=a(e),c(Ze.$$.fragment,e),ks=a(e),z=l(e,"DIV",{class:!0});var Tn=h(z);c(Qe.$$.fragment,Tn),xa=a(Tn),se=l(Tn,"DIV",{class:!0});var En=h(se);c(We.$$.fragment,En),ya=a(En),$r=l(En,"P",{"data-svelte-h":!0}),$($r)!=="svelte-osccbb"&&($r.innerHTML=Ni),En.forEach(t),Tn.forEach(t),Ds=a(e),c(Ye.$$.fragment,e),Ts=a(e),c(et.$$.fragment,e),Es=a(e),C=l(e,"DIV",{class:!0});var Zr=h(C);c(tt.$$.fragment,Zr),Ca=a(Zr),ne=l(Zr,"DIV",{class:!0});var Pn=h(ne);c(rt.$$.fragment,Pn),La=a(Pn),_r=l(Pn,"P",{"data-svelte-h":!0}),$(_r)!=="svelte-m2t8u2"&&(_r.textContent=Ri),Pn.forEach(t),wa=a(Zr),ae=l(Zr,"DIV",{class:!0});var Nn=h(ae);c(st.$$.fragment,Nn),Ma=a(Nn),br=l(Nn,"P",{"data-svelte-h":!0}),$(br)!=="svelte-29ay4o"&&(br.textContent=ji),Nn.forEach(t),Zr.forEach(t),Ps=a(e),c(nt.$$.fragment,e),Ns=a(e),L=l(e,"DIV",{class:!0});var Qr=h(L);c(at.$$.fragment,Qr),ka=a(Qr),ie=l(Qr,"DIV",{class:!0});var Rn=h(ie);c(it.$$.fragment,Rn),Da=a(Rn),xr=l(Rn,"P",{"data-svelte-h":!0}),$(xr)!=="svelte-m2t8u2"&&(xr.textContent=Ii),Rn.forEach(t),Ta=a(Qr),le=l(Qr,"DIV",{class:!0});var jn=h(le);c(lt.$$.fragment,jn),Ea=a(jn),yr=l(jn,"P",{"data-svelte-h":!0}),$(yr)!=="svelte-29ay4o"&&(yr.textContent=Si),jn.forEach(t),Qr.forEach(t),Rs=a(e),c(ot.$$.fragment,e),js=a(e),B=l(e,"DIV",{class:!0});var In=h(B);c(mt.$$.fragment,In),Pa=a(In),oe=l(In,"DIV",{class:!0});var Sn=h(oe);c(ct.$$.fragment,Sn),Na=a(Sn),Cr=l(Sn,"P",{"data-svelte-h":!0}),$(Cr)!=="svelte-oza3m6"&&(Cr.innerHTML=Ai),Sn.forEach(t),In.forEach(t),Is=a(e),c(pt.$$.fragment,e),Ss=a(e),J=l(e,"DIV",{class:!0});var An=h(J);c(gt.$$.fragment,An),Ra=a(An),me=l(An,"DIV",{class:!0});var Vn=h(me);c(dt.$$.fragment,Vn),ja=a(Vn),Lr=l(Vn,"P",{"data-svelte-h":!0}),$(Lr)!=="svelte-cm5dxb"&&(Lr.textContent=Vi),Vn.forEach(t),An.forEach(t),As=a(e),c(ut.$$.fragment,e),Vs=a(e),F=l(e,"DIV",{class:!0});var zn=h(F);c(ht.$$.fragment,zn),Ia=a(zn),ce=l(zn,"DIV",{class:!0});var Bn=h(ce);c(vt.$$.fragment,Bn),Sa=a(Bn),wr=l(Bn,"P",{"data-svelte-h":!0}),$(wr)!=="svelte-cm5dxb"&&(wr.textContent=zi),Bn.forEach(t),zn.forEach(t),zs=a(e),c(ft.$$.fragment,e),Bs=a(e),U=l(e,"DIV",{class:!0});var Jn=h(U);c($t.$$.fragment,Jn),Aa=a(Jn),pe=l(Jn,"DIV",{class:!0});var Fn=h(pe);c(_t.$$.fragment,Fn),Va=a(Fn),Mr=l(Fn,"P",{"data-svelte-h":!0}),$(Mr)!=="svelte-1vzdvz9"&&(Mr.innerHTML=Bi),Fn.forEach(t),Jn.forEach(t),Js=a(e),c(bt.$$.fragment,e),Fs=a(e),O=l(e,"DIV",{class:!0});var Un=h(O);c(xt.$$.fragment,Un),za=a(Un),ge=l(Un,"DIV",{class:!0});var On=h(ge);c(yt.$$.fragment,On),Ba=a(On),kr=l(On,"P",{"data-svelte-h":!0}),$(kr)!=="svelte-oplxpx"&&(kr.textContent=Ji),On.forEach(t),Un.forEach(t),Us=a(e),c(Ct.$$.fragment,e),Os=a(e),G=l(e,"DIV",{class:!0});var Gn=h(G);c(Lt.$$.fragment,Gn),Ja=a(Gn),de=l(Gn,"DIV",{class:!0});var qn=h(de);c(wt.$$.fragment,qn),Fa=a(qn),Dr=l(qn,"P",{"data-svelte-h":!0}),$(Dr)!=="svelte-1mhw2ts"&&(Dr.textContent=Fi),qn.forEach(t),Gn.forEach(t),Gs=a(e),c(Mt.$$.fragment,e),qs=a(e),q=l(e,"DIV",{class:!0});var Hn=h(q);c(kt.$$.fragment,Hn),Ua=a(Hn),ue=l(Hn,"DIV",{class:!0});var Kn=h(ue);c(Dt.$$.fragment,Kn),Oa=a(Kn),Tr=l(Kn,"P",{"data-svelte-h":!0}),$(Tr)!=="svelte-g8gp3r"&&(Tr.textContent=Ui),Kn.forEach(t),Hn.forEach(t),Hs=a(e),c(Tt.$$.fragment,e),Ks=a(e),H=l(e,"DIV",{class:!0});var Xn=h(H);c(Et.$$.fragment,Xn),Ga=a(Xn),w=l(Xn,"DIV",{class:!0});var Wr=h(w);c(Pt.$$.fragment,Wr),qa=a(Wr),Er=l(Wr,"P",{"data-svelte-h":!0}),$(Er)!=="svelte-1jqxi5a"&&(Er.textContent=Oi),Ha=a(Wr),Pr=l(Wr,"P",{"data-svelte-h":!0}),$(Pr)!=="svelte-19u8gji"&&(Pr.textContent=Gi),Wr.forEach(t),Xn.forEach(t),Xs=a(e),c(Nt.$$.fragment,e),Zs=a(e),K=l(e,"DIV",{class:!0});var Zn=h(K);c(Rt.$$.fragment,Zn),Ka=a(Zn),M=l(Zn,"DIV",{class:!0});var Yr=h(M);c(jt.$$.fragment,Yr),Xa=a(Yr),Nr=l(Yr,"P",{"data-svelte-h":!0}),$(Nr)!=="svelte-uuxzaw"&&(Nr.textContent=qi),Za=a(Yr),Rr=l(Yr,"P",{"data-svelte-h":!0}),$(Rr)!=="svelte-q9lg1z"&&(Rr.textContent=Hi),Yr.forEach(t),Zn.forEach(t),Qs=a(e),c(It.$$.fragment,e),Ws=a(e),X=l(e,"DIV",{class:!0});var Qn=h(X);c(St.$$.fragment,Qn),Qa=a(Qn),he=l(Qn,"DIV",{class:!0});var Wn=h(he);c(At.$$.fragment,Wn),Wa=a(Wn),jr=l(Wn,"P",{"data-svelte-h":!0}),$(jr)!=="svelte-1e1teq4"&&(jr.textContent=Ki),Wn.forEach(t),Qn.forEach(t),Ys=a(e),c(Vt.$$.fragment,e),en=a(e),Z=l(e,"DIV",{class:!0});var Yn=h(Z);c(zt.$$.fragment,Yn),Ya=a(Yn),ve=l(Yn,"DIV",{class:!0});var ea=h(ve);c(Bt.$$.fragment,ea),ei=a(ea),Ir=l(ea,"P",{"data-svelte-h":!0}),$(Ir)!=="svelte-uuy5fu"&&(Ir.textContent=Xi),ea.forEach(t),Yn.forEach(t),tn=a(e),c(Jt.$$.fragment,e),rn=a(e),y=l(e,"DIV",{class:!0});var Ce=h(y);c(Ft.$$.fragment,Ce),ti=a(Ce),fe=l(Ce,"DIV",{class:!0});var ta=h(fe);c(Ut.$$.fragment,ta),ri=a(ta),Sr=l(ta,"P",{"data-svelte-h":!0}),$(Sr)!=="svelte-1javkrk"&&(Sr.textContent=Zi),ta.forEach(t),si=a(Ce),k=l(Ce,"DIV",{class:!0});var es=h(k);c(Ot.$$.fragment,es),ni=a(es),Ar=l(es,"P",{"data-svelte-h":!0}),$(Ar)!=="svelte-1jnlnuh"&&(Ar.textContent=Qi),ai=a(es),Vr=l(es,"P",{"data-svelte-h":!0}),$(Vr)!=="svelte-eunl3r"&&(Vr.textContent=Wi),es.forEach(t),ii=a(Ce),$e=l(Ce,"DIV",{class:!0});var ra=h($e);c(Gt.$$.fragment,ra),li=a(ra),zr=l(ra,"P",{"data-svelte-h":!0}),$(zr)!=="svelte-vzqvo7"&&(zr.textContent=Yi),ra.forEach(t),Ce.forEach(t),sn=a(e),c(qt.$$.fragment,e),nn=a(e),Ht=l(e,"DIV",{class:!0});var pl=h(Ht);c(Kt.$$.fragment,pl),pl.forEach(t),an=a(e),c(Xt.$$.fragment,e),ln=a(e),Q=l(e,"DIV",{class:!0});var sa=h(Q);c(Zt.$$.fragment,sa),oi=a(sa),_e=l(sa,"DIV",{class:!0});var na=h(_e);c(Qt.$$.fragment,na),mi=a(na),Br=l(na,"P",{"data-svelte-h":!0}),$(Br)!=="svelte-4cpcjn"&&(Br.textContent=el),na.forEach(t),sa.forEach(t),on=a(e),c(Wt.$$.fragment,e),mn=a(e),W=l(e,"DIV",{class:!0});var aa=h(W);c(Yt.$$.fragment,aa),ci=a(aa),be=l(aa,"DIV",{class:!0});var ia=h(be);c(er.$$.fragment,ia),pi=a(ia),Jr=l(ia,"P",{"data-svelte-h":!0}),$(Jr)!=="svelte-4cpcjn"&&(Jr.textContent=tl),ia.forEach(t),aa.forEach(t),cn=a(e),c(tr.$$.fragment,e),pn=a(e),Y=l(e,"DIV",{class:!0});var la=h(Y);c(rr.$$.fragment,la),gi=a(la),xe=l(la,"DIV",{class:!0});var oa=h(xe);c(sr.$$.fragment,oa),di=a(oa),Fr=l(oa,"P",{"data-svelte-h":!0}),$(Fr)!=="svelte-1tnwwau"&&(Fr.textContent=rl),oa.forEach(t),la.forEach(t),gn=a(e),c(nr.$$.fragment,e),dn=a(e),c(ar.$$.fragment,e),un=a(e),b=l(e,"DIV",{class:!0});var D=h(b);c(ir.$$.fragment,D),ui=a(D),Ur=l(D,"P",{"data-svelte-h":!0}),$(Ur)!=="svelte-a8sws7"&&(Ur.textContent=sl),hi=a(D),Or=l(D,"P",{"data-svelte-h":!0}),$(Or)!=="svelte-2785eo"&&(Or.innerHTML=nl),vi=a(D),x=l(D,"DIV",{class:!0});var T=h(x);c(lr.$$.fragment,T),fi=a(T),Gr=l(T,"P",{"data-svelte-h":!0}),$(Gr)!=="svelte-zw3fd9"&&(Gr.textContent=al),$i=a(T),qr=l(T,"P",{"data-svelte-h":!0}),$(qr)!=="svelte-87qcsz"&&(qr.textContent=il),_i=a(T),Hr=l(T,"P",{"data-svelte-h":!0}),$(Hr)!=="svelte-11lpom8"&&(Hr.textContent=ll),bi=a(T),Kr=l(T,"BLOCKQUOTE",{"data-svelte-h":!0}),$(Kr)!=="svelte-1rs2dmb"&&(Kr.innerHTML=ol),T.forEach(t),xi=a(D),ye=l(D,"DIV",{class:!0});var ma=h(ye);c(or.$$.fragment,ma),yi=a(ma),Xr=l(ma,"P",{"data-svelte-h":!0}),$(Xr)!=="svelte-tj0p2z"&&(Xr.textContent=ml),ma.forEach(t),D.forEach(t),hn=a(e),c(mr.$$.fragment,e),vn=a(e),rs=l(e,"P",{}),h(rs).forEach(t),this.h()},h(){v(E,"name","hf:doc:metadata"),v(E,"content",xl),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(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(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(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(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(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(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,ns,r),p(Le,e,r),o(e,as,r),p(we,e,r),o(e,is,r),p(Me,e,r),o(e,ls,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,ca),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,pa),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,ga),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,da),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,ua),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,ha),s(S,ee),p(Ue,ee,null),s(ee,va),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,fa),s(A,te),p(qe,te,null),s(te,$a),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,_a),s(V,re),p(Xe,re,null),s(re,ba),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,xa),s(z,se),p(We,se,null),s(se,ya),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,Ca),s(C,ne),p(rt,ne,null),s(ne,La),s(ne,_r),s(C,wa),s(C,ae),p(st,ae,null),s(ae,Ma),s(ae,br),o(e,Ps,r),p(nt,e,r),o(e,Ns,r),o(e,L,r),p(at,L,null),s(L,ka),s(L,ie),p(it,ie,null),s(ie,Da),s(ie,xr),s(L,Ta),s(L,le),p(lt,le,null),s(le,Ea),s(le,yr),o(e,Rs,r),p(ot,e,r),o(e,js,r),o(e,B,r),p(mt,B,null),s(B,Pa),s(B,oe),p(ct,oe,null),s(oe,Na),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,Ra),s(J,me),p(dt,me,null),s(me,ja),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,Ia),s(F,ce),p(vt,ce,null),s(ce,Sa),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,Aa),s(U,pe),p(_t,pe,null),s(pe,Va),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,za),s(O,ge),p(yt,ge,null),s(ge,Ba),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,Ja),s(G,de),p(wt,de,null),s(de,Fa),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,Ua),s(q,ue),p(Dt,ue,null),s(ue,Oa),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,Ga),s(H,w),p(Pt,w,null),s(w,qa),s(w,Er),s(w,Ha),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,Ka),s(K,M),p(jt,M,null),s(M,Xa),s(M,Nr),s(M,Za),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,Qa),s(X,he),p(At,he,null),s(he,Wa),s(he,jr),o(e,Ys,r),p(Vt,e,r),o(e,en,r),o(e,Z,r),p(zt,Z,null),s(Z,Ya),s(Z,ve),p(Bt,ve,null),s(ve,ei),s(ve,Ir),o(e,tn,r),p(Jt,e,r),o(e,rn,r),o(e,y,r),p(Ft,y,null),s(y,ti),s(y,fe),p(Ut,fe,null),s(fe,ri),s(fe,Sr),s(y,si),s(y,k),p(Ot,k,null),s(k,ni),s(k,Ar),s(k,ai),s(k,Vr),s(y,ii),s(y,$e),p(Gt,$e,null),s($e,li),s($e,zr),o(e,sn,r),p(qt,e,r),o(e,nn,r),o(e,Ht,r),p(Kt,Ht,null),o(e,an,r),p(Xt,e,r),o(e,ln,r),o(e,Q,r),p(Zt,Q,null),s(Q,oi),s(Q,_e),p(Qt,_e,null),s(_e,mi),s(_e,Br),o(e,on,r),p(Wt,e,r),o(e,mn,r),o(e,W,r),p(Yt,W,null),s(W,ci),s(W,be),p(er,be,null),s(be,pi),s(be,Jr),o(e,cn,r),p(tr,e,r),o(e,pn,r),o(e,Y,r),p(rr,Y,null),s(Y,gi),s(Y,xe),p(sr,xe,null),s(xe,di),s(xe,Fr),o(e,gn,r),p(nr,e,r),o(e,dn,r),p(ar,e,r),o(e,un,r),o(e,b,r),p(ir,b,null),s(b,ui),s(b,Ur),s(b,hi),s(b,Or),s(b,vi),s(b,x),p(lr,x,null),s(x,fi),s(x,Gr),s(x,$i),s(x,qr),s(x,_i),s(x,Hr),s(x,bi),s(x,Kr),s(b,xi),s(b,ye),p(or,ye,null),s(ye,yi),s(ye,Xr),o(e,hn,r),p(mr,e,r),o(e,vn,r),o(e,rs,r),fn=!0},p:dl,i(e){fn||(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(nt.$$.fragment,e),g(at.$$.fragment,e),g(it.$$.fragment,e),g(lt.$$.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(nr.$$.fragment,e),g(ar.$$.fragment,e),g(ir.$$.fragment,e),g(lr.$$.fragment,e),g(or.$$.fragment,e),g(mr.$$.fragment,e),fn=!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(nt.$$.fragment,e),d(at.$$.fragment,e),d(it.$$.fragment,e),d(lt.$$.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(nr.$$.fragment,e),d(ar.$$.fragment,e),d(ir.$$.fragment,e),d(lr.$$.fragment,e),d(or.$$.fragment,e),d(mr.$$.fragment,e),fn=!1},d(e){e&&(t(ss),t(ts),t(ns),t(as),t(is),t(ls),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(en),t(Z),t(tn),t(rn),t(y),t(sn),t(nn),t(Ht),t(an),t(ln),t(Q),t(on),t(mn),t(W),t(cn),t(pn),t(Y),t(gn),t(dn),t(un),t(b),t(hn),t(vn),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(nt,e),u(at),u(it),u(lt),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(nr,e),u(ar,e),u(ir),u(lr),u(or),u(mr,e)}}}const xl='{"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 yl(Ci){return ul(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class kl extends hl{constructor(E){super(),vl(this,E,yl,bl,gl,{})}}export{kl as component};
