Buckets:

rtrm's picture
download
raw
83 kB
import{s as ci,n as pi,o as gi}from"../chunks/scheduler.7da89386.js";import{S as di,i as ui,g as a,s as l,r as m,A as hi,h as i,f as t,c as n,j as h,u as c,x as f,k as v,y as s,a as o,v as p,d as g,t as d,w as u}from"../chunks/index.20910acc.js";import{D as _}from"../chunks/Docstring.3e3a43d0.js";import{H as $,E as vi}from"../chunks/getInferenceSnippets.174c92b4.js";function _i(xa){let E,rs,es,ss,Le,ls,Me,ns,we,as,ke,Te,is,De,os,P,Ee,on,mr,ya="Metric computed over the whole corpora, with computations happening at the aggregation phase",ms,Pe,cs,R,Re,mn,cr,Ca="Metric computed per sample, then aggregated over the corpus",ps,je,gs,j,Ie,cn,pr,La=`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.`,ds,Ae,us,I,Ne,pn,gr,Ma="MetricGrouping computed over the whole corpora, with computations happening at the aggregation phase",hs,Se,vs,A,Ve,gn,dr,wa="MetricGrouping are computed per sample, then aggregated over the corpus",_s,Je,fs,ze,$s,N,Be,dn,ee,Fe,un,ur,ka="Computes the metric score over all the corpus generated items, by using the scikit learn implementation.",bs,Oe,xs,S,Ue,hn,te,Ge,vn,hr,Ta="Computes the metric score over all the corpus generated items.",ys,qe,Cs,V,He,_n,re,Ke,fn,vr,Da="Computes the metric score over all the corpus generated items, by using the sacrebleu implementation.",Ls,Ye,Ms,J,Xe,$n,se,Ze,bn,_r,Ea='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>).',ws,Qe,ks,We,Ts,C,et,xn,le,tt,yn,fr,Pa="Computes the metric over a list of golds and predictions for one single sample.",Cn,ne,rt,Ln,$r,Ra="Compares two strings only.",Ds,st,Es,L,lt,Mn,ae,nt,wn,br,ja="Computes the metric over a list of golds and predictions for one single sample.",kn,ie,at,Tn,xr,Ia="Compares two strings only.",Ps,it,Rs,z,ot,Dn,oe,mt,En,yr,Aa=`Computes the log likelihood accuracy: is the choice with the highest logprob in <code>choices_logprob</code> present
in the <code>gold_ixs</code>?`,js,ct,Is,B,pt,Pn,me,gt,Rn,Cr,Na="Computes the log likelihood probability: chance of choosing the best choice.",As,dt,Ns,F,ut,jn,ce,ht,In,Lr,Sa="Computes the log likelihood probability: chance of choosing the best choice.",Ss,vt,Vs,O,_t,An,pe,ft,Nn,Mr,Va=`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,$t,zs,U,bt,Sn,ge,xt,Vn,wr,Ja="Mean reciprocal rank. Measures the quality of a ranking of choices (ordered by correctness).",Bs,yt,Fs,G,Ct,Jn,de,Lt,zn,kr,za="Computes the metric(s) over a list of golds and predictions for one single sample.",Os,Mt,Us,q,wt,Bn,ue,kt,Fn,Tr,Ba="Computes the prediction, recall and f1 score using the bert scorer.",Gs,Tt,qs,H,Dt,On,M,Et,Un,Dr,Fa="Compute the extractiveness of the predictions.",Gn,Er,Oa=`This method calculates coverage, density, and compression scores for a single
prediction against the input text.`,Hs,Pt,Ks,K,Rt,qn,w,jt,Hn,Pr,Ua="Compute the faithfulness of the predictions.",Kn,Rr,Ga="The SummaCZS (Summary Content Zero-Shot) model is used with configurable granularity and model variation.",Ys,It,Xs,Y,At,Yn,he,Nt,Xn,jr,qa="Uses the stored BLEURT scorer to compute the score on the current sample.",Zs,St,Qs,X,Vt,Zn,ve,Jt,Qn,Ir,Ha="Computes the sentence level BLEU between the golds and each prediction, then takes the average.",Ws,zt,el,y,Bt,Wn,_e,Ft,ea,Ar,Ka="Computes all the requested metrics on the golds and prediction.",ta,k,Ot,ra,Nr,Ya="Compute the edit similarity between two lists of strings.",sa,Sr,Xa=`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).`,la,fe,Ut,na,Vr,Za="Compute the length of the longest common prefix.",tl,Gt,rl,qt,Ht,sl,Kt,ll,Z,Yt,aa,$e,Xt,ia,Jr,Qa=`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.`,nl,Zt,al,Q,Qt,oa,be,Wt,ma,zr,Wa=`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.`,il,er,ol,W,tr,ca,xe,rr,pa,Br,ei=`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.`,ml,sr,cl,lr,pl,b,nr,ga,Fr,ti="A class representing a judge for evaluating answers using either the OpenAI or Transformers library.",da,Or,ri=`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.`,ua,x,ar,ha,Ur,si="Transform a dictionary of lists into a list of dictionaries.",va,Gr,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.`,_a,qr,ni="Example:",fa,Hr,ai=`<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>`,$a,ye,ir,ba,Kr,ii="Evaluates an answer using either Transformers or OpenAI API.",gl,or,dl,ts,ul;return Le=new $({props:{title:"Metrics",local:"metrics",headingTag:"h1"}}),Me=new $({props:{title:"Metrics",local:"metrics",headingTag:"h2"}}),we=new $({props:{title:"Metric",local:"lighteval.metrics.Metric",headingTag:"h3"}}),Te=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L33"}}),De=new $({props:{title:"CorpusLevelMetric",local:"lighteval.metrics.utils.metric_utils.CorpusLevelMetric",headingTag:"h3"}}),Ee=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L115"}}),Pe=new $({props:{title:"SampleLevelMetric",local:"lighteval.metrics.utils.metric_utils.SampleLevelMetric",headingTag:"h3"}}),Re=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L122"}}),je=new $({props:{title:"MetricGrouping",local:"lighteval.metrics.utils.metric_utils.MetricGrouping",headingTag:"h3"}}),Ie=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L104"}}),Ae=new $({props:{title:"CorpusLevelMetricGrouping",local:"lighteval.metrics.utils.metric_utils.CorpusLevelMetricGrouping",headingTag:"h3"}}),Ne=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L129"}}),Se=new $({props:{title:"SampleLevelMetricGrouping",local:"lighteval.metrics.utils.metric_utils.SampleLevelMetricGrouping",headingTag:"h3"}}),Ve=new _({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_953/src/lighteval/metrics/utils/metric_utils.py#L136"}}),Je=new $({props:{title:"Corpus Metrics",local:"corpus-metrics",headingTag:"h2"}}),ze=new $({props:{title:"CorpusLevelF1Score",local:"lighteval.metrics.metrics_corpus.CorpusLevelF1Score",headingTag:"h3"}}),Be=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L81"}}),Fe=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L96"}}),Oe=new $({props:{title:"CorpusLevelPerplexityMetric",local:"lighteval.metrics.metrics_corpus.CorpusLevelPerplexityMetric",headingTag:"h3"}}),Ue=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L150"}}),Ge=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L168"}}),qe=new $({props:{title:"CorpusLevelTranslationMetric",local:"lighteval.metrics.metrics_corpus.CorpusLevelTranslationMetric",headingTag:"h3"}}),He=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L112"}}),Ke=new _({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_953/src/lighteval/metrics/metrics_corpus.py#L135"}}),Ye=new $({props:{title:"MatthewsCorrCoef",local:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef",headingTag:"h3"}}),Xe=new _({props:{name:"class lighteval.metrics.metrics_corpus.MatthewsCorrCoef",anchor:"lighteval.metrics.metrics_corpus.MatthewsCorrCoef",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_corpus.py#L66"}}),Ze=new _({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_953/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>
`}}),Qe=new $({props:{title:"Sample Metrics",local:"sample-metrics",headingTag:"h2"}}),We=new $({props:{title:"ExactMatches",local:"lighteval.metrics.metrics_sample.ExactMatches",headingTag:"h3"}}),et=new _({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_953/src/lighteval/metrics/metrics_sample.py#L81"}}),tt=new _({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_953/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>
`}}),rt=new _({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_953/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>
`}}),st=new $({props:{title:"F1_score",local:"lighteval.metrics.metrics_sample.F1_score",headingTag:"h3"}}),lt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L170"}}),nt=new _({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_953/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>
`}}),at=new _({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_953/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>
`}}),it=new $({props:{title:"LoglikelihoodAcc",local:"lighteval.metrics.metrics_sample.LoglikelihoodAcc",headingTag:"h3"}}),ot=new _({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_953/src/lighteval/metrics/metrics_sample.py#L243"}}),mt=new _({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_953/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>
`}}),ct=new $({props:{title:"NormalizedMultiChoiceProbability",local:"lighteval.metrics.metrics_sample.NormalizedMultiChoiceProbability",headingTag:"h3"}}),pt=new _({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 0x7f29119b5470>"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L297"}}),gt=new _({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_953/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>
`}}),dt=new $({props:{title:"Probability",local:"lighteval.metrics.metrics_sample.Probability",headingTag:"h3"}}),ut=new _({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 0x7f29119b5470>"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L357"}}),ht=new _({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_953/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>
`}}),vt=new $({props:{title:"Recall",local:"lighteval.metrics.metrics_sample.Recall",headingTag:"h3"}}),_t=new _({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_953/src/lighteval/metrics/metrics_sample.py#L408"}}),ft=new _({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_953/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>
`}}),$t=new $({props:{title:"MRR",local:"lighteval.metrics.metrics_sample.MRR",headingTag:"h3"}}),bt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L438"}}),xt=new _({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_953/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>
`}}),yt=new $({props:{title:"ROUGE",local:"lighteval.metrics.metrics_sample.ROUGE",headingTag:"h3"}}),Ct=new _({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_953/src/lighteval/metrics/metrics_sample.py#L486"}}),Lt=new _({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_953/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"}}),wt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L598"}}),kt=new _({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_953/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"}}),Dt=new _({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 0x7f2807910430>"},{name:"normalize_pred",val:": <built-in function callable> = <function remove_braces_and_strip at 0x7f28079104c0>"},{name:"input_column",val:": str = 'text'"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L661"}}),Et=new _({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_953/src/lighteval/metrics/metrics_sample.py#L682",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>
`}}),Pt=new $({props:{title:"Faithfulness",local:"lighteval.metrics.metrics_sample.Faithfulness",headingTag:"h3"}}),Rt=new _({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 0x7f2807910430>"},{name:"normalize_pred",val:": typing.Callable = <function remove_braces_and_strip at 0x7f28079104c0>"},{name:"input_column",val:": str = 'text'"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L714"}}),jt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L735",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"}}),At=new _({props:{name:"class lighteval.metrics.metrics_sample.BLEURT",anchor:"lighteval.metrics.metrics_sample.BLEURT",parameters:[],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L762"}}),Nt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L783",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>
`}}),St=new $({props:{title:"BLEU",local:"lighteval.metrics.metrics_sample.BLEU",headingTag:"h3"}}),Vt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L802"}}),Jt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L812",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>
`}}),zt=new $({props:{title:"StringDistance",local:"lighteval.metrics.metrics_sample.StringDistance",headingTag:"h3"}}),Bt=new _({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_953/src/lighteval/metrics/metrics_sample.py#L841"}}),Ft=new _({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_953/src/lighteval/metrics/metrics_sample.py#L863",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 _({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_953/src/lighteval/metrics/metrics_sample.py#L921",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>
`}}),Ut=new _({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_953/src/lighteval/metrics/metrics_sample.py#L914"}}),Gt=new $({props:{title:"JudgeLLM",local:"lighteval.metrics.metrics_sample.JudgeLLM",headingTag:"h3"}}),Ht=new _({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"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L936"}}),Kt=new $({props:{title:"JudgeLLMMTBench",local:"lighteval.metrics.metrics_sample.JudgeLLMMTBench",headingTag:"h3"}}),Yt=new _({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"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L1038"}}),Xt=new _({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/vr_953/src/lighteval/metrics/metrics_sample.py#L1039"}}),Zt=new $({props:{title:"JudgeLLMMixEval",local:"lighteval.metrics.metrics_sample.JudgeLLMMixEval",headingTag:"h3"}}),Qt=new _({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"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/metrics_sample.py#L1070"}}),Wt=new _({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/vr_953/src/lighteval/metrics/metrics_sample.py#L1071"}}),er=new $({props:{title:"MajAtK",local:"lighteval.metrics.metrics_sample.MajAtK",headingTag:"h3"}}),tr=new _({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_953/src/lighteval/metrics/metrics_sample.py#L1206"}}),rr=new _({props:{name:"compute",anchor:"lighteval.metrics.metrics_sample.MajAtK.compute",parameters:[{name:"model_response",val:": ModelResponse"},{name:"docs",val:": Doc"},{name:"**kwargs",val:""}],parametersDescription:[{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.docs",description:"<strong>docs</strong> (Doc) &#x2014; The document containing gold references.",name:"docs"},{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_953/src/lighteval/metrics/metrics_sample.py#L1219",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>
`}}),sr=new $({props:{title:"LLM-as-a-Judge",local:"llm-as-a-judge",headingTag:"h2"}}),lr=new $({props:{title:"JudgeLM",local:"lighteval.metrics.utils.llm_as_judge.JudgeLM",headingTag:"h3"}}),nr=new _({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"}],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;openai&#x201D;, &#x201C;transformers&#x201D;, &#x201C;tgi&#x201D;, &#x201C;vllm&#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.model",description:"<strong>model</strong> (str) &#x2014; The name of the model.",name:"model"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.template",description:"<strong>template</strong> (Callable) &#x2014; A function taking into account the question, options, answer, and gold and returning the judge prompt.",name:"template"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.API_MAX_RETRY",description:"<strong>API_MAX_RETRY</strong> (int) &#x2014; The maximum number of retries for the API.",name:"API_MAX_RETRY"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.API_RETRY_SLEEP",description:"<strong>API_RETRY_SLEEP</strong> (int) &#x2014; The time to sleep between retries.",name:"API_RETRY_SLEEP"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.client",description:"<strong>client</strong> (OpenAI | None) &#x2014; The OpenAI client.",name:"client"},{anchor:"lighteval.metrics.utils.llm_as_judge.JudgeLM.pipe",description:"<strong>pipe</strong> (LLM | AutoModel | None) &#x2014; The Transformers or vllm pipeline.",name:"pipe"},{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.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.backend",description:"<strong>backend</strong> (Literal[&#x201C;openai&#x201D;, &#x201C;transformers&#x201D;, &#x201C;tgi&#x201D;, &#x201C;vllm&#x201D;]) &#x2014; The backend for the judge",name:"backend"}],source:"https://github.com/huggingface/lighteval/blob/vr_953/src/lighteval/metrics/utils/llm_as_judge.py#L48"}}),ar=new _({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_953/src/lighteval/metrics/utils/llm_as_judge.py#L187",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>A list of dictionaries.</p>
`}}),ir=new _({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_953/src/lighteval/metrics/utils/llm_as_judge.py#L255",returnDescription:`<script context="module">export const metadata = 'undefined';<\/script>
<p>A tuple containing the score, prompts, and judgment.</p>
`}}),or=new vi({props:{source:"https://github.com/huggingface/lighteval/blob/main/docs/source/package_reference/metrics.mdx"}}),{c(){E=a("meta"),rs=l(),es=a("p"),ss=l(),m(Le.$$.fragment),ls=l(),m(Me.$$.fragment),ns=l(),m(we.$$.fragment),as=l(),ke=a("div"),m(Te.$$.fragment),is=l(),m(De.$$.fragment),os=l(),P=a("div"),m(Ee.$$.fragment),on=l(),mr=a("p"),mr.textContent=ya,ms=l(),m(Pe.$$.fragment),cs=l(),R=a("div"),m(Re.$$.fragment),mn=l(),cr=a("p"),cr.textContent=Ca,ps=l(),m(je.$$.fragment),gs=l(),j=a("div"),m(Ie.$$.fragment),cn=l(),pr=a("p"),pr.textContent=La,ds=l(),m(Ae.$$.fragment),us=l(),I=a("div"),m(Ne.$$.fragment),pn=l(),gr=a("p"),gr.textContent=Ma,hs=l(),m(Se.$$.fragment),vs=l(),A=a("div"),m(Ve.$$.fragment),gn=l(),dr=a("p"),dr.textContent=wa,_s=l(),m(Je.$$.fragment),fs=l(),m(ze.$$.fragment),$s=l(),N=a("div"),m(Be.$$.fragment),dn=l(),ee=a("div"),m(Fe.$$.fragment),un=l(),ur=a("p"),ur.textContent=ka,bs=l(),m(Oe.$$.fragment),xs=l(),S=a("div"),m(Ue.$$.fragment),hn=l(),te=a("div"),m(Ge.$$.fragment),vn=l(),hr=a("p"),hr.textContent=Ta,ys=l(),m(qe.$$.fragment),Cs=l(),V=a("div"),m(He.$$.fragment),_n=l(),re=a("div"),m(Ke.$$.fragment),fn=l(),vr=a("p"),vr.textContent=Da,Ls=l(),m(Ye.$$.fragment),Ms=l(),J=a("div"),m(Xe.$$.fragment),$n=l(),se=a("div"),m(Ze.$$.fragment),bn=l(),_r=a("p"),_r.innerHTML=Ea,ws=l(),m(Qe.$$.fragment),ks=l(),m(We.$$.fragment),Ts=l(),C=a("div"),m(et.$$.fragment),xn=l(),le=a("div"),m(tt.$$.fragment),yn=l(),fr=a("p"),fr.textContent=Pa,Cn=l(),ne=a("div"),m(rt.$$.fragment),Ln=l(),$r=a("p"),$r.textContent=Ra,Ds=l(),m(st.$$.fragment),Es=l(),L=a("div"),m(lt.$$.fragment),Mn=l(),ae=a("div"),m(nt.$$.fragment),wn=l(),br=a("p"),br.textContent=ja,kn=l(),ie=a("div"),m(at.$$.fragment),Tn=l(),xr=a("p"),xr.textContent=Ia,Ps=l(),m(it.$$.fragment),Rs=l(),z=a("div"),m(ot.$$.fragment),Dn=l(),oe=a("div"),m(mt.$$.fragment),En=l(),yr=a("p"),yr.innerHTML=Aa,js=l(),m(ct.$$.fragment),Is=l(),B=a("div"),m(pt.$$.fragment),Pn=l(),me=a("div"),m(gt.$$.fragment),Rn=l(),Cr=a("p"),Cr.textContent=Na,As=l(),m(dt.$$.fragment),Ns=l(),F=a("div"),m(ut.$$.fragment),jn=l(),ce=a("div"),m(ht.$$.fragment),In=l(),Lr=a("p"),Lr.textContent=Sa,Ss=l(),m(vt.$$.fragment),Vs=l(),O=a("div"),m(_t.$$.fragment),An=l(),pe=a("div"),m(ft.$$.fragment),Nn=l(),Mr=a("p"),Mr.innerHTML=Va,Js=l(),m($t.$$.fragment),zs=l(),U=a("div"),m(bt.$$.fragment),Sn=l(),ge=a("div"),m(xt.$$.fragment),Vn=l(),wr=a("p"),wr.textContent=Ja,Bs=l(),m(yt.$$.fragment),Fs=l(),G=a("div"),m(Ct.$$.fragment),Jn=l(),de=a("div"),m(Lt.$$.fragment),zn=l(),kr=a("p"),kr.textContent=za,Os=l(),m(Mt.$$.fragment),Us=l(),q=a("div"),m(wt.$$.fragment),Bn=l(),ue=a("div"),m(kt.$$.fragment),Fn=l(),Tr=a("p"),Tr.textContent=Ba,Gs=l(),m(Tt.$$.fragment),qs=l(),H=a("div"),m(Dt.$$.fragment),On=l(),M=a("div"),m(Et.$$.fragment),Un=l(),Dr=a("p"),Dr.textContent=Fa,Gn=l(),Er=a("p"),Er.textContent=Oa,Hs=l(),m(Pt.$$.fragment),Ks=l(),K=a("div"),m(Rt.$$.fragment),qn=l(),w=a("div"),m(jt.$$.fragment),Hn=l(),Pr=a("p"),Pr.textContent=Ua,Kn=l(),Rr=a("p"),Rr.textContent=Ga,Ys=l(),m(It.$$.fragment),Xs=l(),Y=a("div"),m(At.$$.fragment),Yn=l(),he=a("div"),m(Nt.$$.fragment),Xn=l(),jr=a("p"),jr.textContent=qa,Zs=l(),m(St.$$.fragment),Qs=l(),X=a("div"),m(Vt.$$.fragment),Zn=l(),ve=a("div"),m(Jt.$$.fragment),Qn=l(),Ir=a("p"),Ir.textContent=Ha,Ws=l(),m(zt.$$.fragment),el=l(),y=a("div"),m(Bt.$$.fragment),Wn=l(),_e=a("div"),m(Ft.$$.fragment),ea=l(),Ar=a("p"),Ar.textContent=Ka,ta=l(),k=a("div"),m(Ot.$$.fragment),ra=l(),Nr=a("p"),Nr.textContent=Ya,sa=l(),Sr=a("p"),Sr.textContent=Xa,la=l(),fe=a("div"),m(Ut.$$.fragment),na=l(),Vr=a("p"),Vr.textContent=Za,tl=l(),m(Gt.$$.fragment),rl=l(),qt=a("div"),m(Ht.$$.fragment),sl=l(),m(Kt.$$.fragment),ll=l(),Z=a("div"),m(Yt.$$.fragment),aa=l(),$e=a("div"),m(Xt.$$.fragment),ia=l(),Jr=a("p"),Jr.textContent=Qa,nl=l(),m(Zt.$$.fragment),al=l(),Q=a("div"),m(Qt.$$.fragment),oa=l(),be=a("div"),m(Wt.$$.fragment),ma=l(),zr=a("p"),zr.textContent=Wa,il=l(),m(er.$$.fragment),ol=l(),W=a("div"),m(tr.$$.fragment),ca=l(),xe=a("div"),m(rr.$$.fragment),pa=l(),Br=a("p"),Br.textContent=ei,ml=l(),m(sr.$$.fragment),cl=l(),m(lr.$$.fragment),pl=l(),b=a("div"),m(nr.$$.fragment),ga=l(),Fr=a("p"),Fr.textContent=ti,da=l(),Or=a("p"),Or.innerHTML=ri,ua=l(),x=a("div"),m(ar.$$.fragment),ha=l(),Ur=a("p"),Ur.textContent=si,va=l(),Gr=a("p"),Gr.textContent=li,_a=l(),qr=a("p"),qr.textContent=ni,fa=l(),Hr=a("blockquote"),Hr.innerHTML=ai,$a=l(),ye=a("div"),m(ir.$$.fragment),ba=l(),Kr=a("p"),Kr.textContent=ii,gl=l(),m(or.$$.fragment),dl=l(),ts=a("p"),this.h()},l(e){const r=hi("svelte-u9bgzb",document.head);E=i(r,"META",{name:!0,content:!0}),r.forEach(t),rs=n(e),es=i(e,"P",{}),h(es).forEach(t),ss=n(e),c(Le.$$.fragment,e),ls=n(e),c(Me.$$.fragment,e),ns=n(e),c(we.$$.fragment,e),as=n(e),ke=i(e,"DIV",{class:!0});var oi=h(ke);c(Te.$$.fragment,oi),oi.forEach(t),is=n(e),c(De.$$.fragment,e),os=n(e),P=i(e,"DIV",{class:!0});var hl=h(P);c(Ee.$$.fragment,hl),on=n(hl),mr=i(hl,"P",{"data-svelte-h":!0}),f(mr)!=="svelte-zgtslk"&&(mr.textContent=ya),hl.forEach(t),ms=n(e),c(Pe.$$.fragment,e),cs=n(e),R=i(e,"DIV",{class:!0});var vl=h(R);c(Re.$$.fragment,vl),mn=n(vl),cr=i(vl,"P",{"data-svelte-h":!0}),f(cr)!=="svelte-f7ehzx"&&(cr.textContent=Ca),vl.forEach(t),ps=n(e),c(je.$$.fragment,e),gs=n(e),j=i(e,"DIV",{class:!0});var _l=h(j);c(Ie.$$.fragment,_l),cn=n(_l),pr=i(_l,"P",{"data-svelte-h":!0}),f(pr)!=="svelte-189xko4"&&(pr.textContent=La),_l.forEach(t),ds=n(e),c(Ae.$$.fragment,e),us=n(e),I=i(e,"DIV",{class:!0});var fl=h(I);c(Ne.$$.fragment,fl),pn=n(fl),gr=i(fl,"P",{"data-svelte-h":!0}),f(gr)!=="svelte-648fl7"&&(gr.textContent=Ma),fl.forEach(t),hs=n(e),c(Se.$$.fragment,e),vs=n(e),A=i(e,"DIV",{class:!0});var $l=h(A);c(Ve.$$.fragment,$l),gn=n($l),dr=i($l,"P",{"data-svelte-h":!0}),f(dr)!=="svelte-10boi74"&&(dr.textContent=wa),$l.forEach(t),_s=n(e),c(Je.$$.fragment,e),fs=n(e),c(ze.$$.fragment,e),$s=n(e),N=i(e,"DIV",{class:!0});var bl=h(N);c(Be.$$.fragment,bl),dn=n(bl),ee=i(bl,"DIV",{class:!0});var xl=h(ee);c(Fe.$$.fragment,xl),un=n(xl),ur=i(xl,"P",{"data-svelte-h":!0}),f(ur)!=="svelte-6am5wr"&&(ur.textContent=ka),xl.forEach(t),bl.forEach(t),bs=n(e),c(Oe.$$.fragment,e),xs=n(e),S=i(e,"DIV",{class:!0});var yl=h(S);c(Ue.$$.fragment,yl),hn=n(yl),te=i(yl,"DIV",{class:!0});var Cl=h(te);c(Ge.$$.fragment,Cl),vn=n(Cl),hr=i(Cl,"P",{"data-svelte-h":!0}),f(hr)!=="svelte-1eqcqc"&&(hr.textContent=Ta),Cl.forEach(t),yl.forEach(t),ys=n(e),c(qe.$$.fragment,e),Cs=n(e),V=i(e,"DIV",{class:!0});var Ll=h(V);c(He.$$.fragment,Ll),_n=n(Ll),re=i(Ll,"DIV",{class:!0});var Ml=h(re);c(Ke.$$.fragment,Ml),fn=n(Ml),vr=i(Ml,"P",{"data-svelte-h":!0}),f(vr)!=="svelte-ngk658"&&(vr.textContent=Da),Ml.forEach(t),Ll.forEach(t),Ls=n(e),c(Ye.$$.fragment,e),Ms=n(e),J=i(e,"DIV",{class:!0});var wl=h(J);c(Xe.$$.fragment,wl),$n=n(wl),se=i(wl,"DIV",{class:!0});var kl=h(se);c(Ze.$$.fragment,kl),bn=n(kl),_r=i(kl,"P",{"data-svelte-h":!0}),f(_r)!=="svelte-osccbb"&&(_r.innerHTML=Ea),kl.forEach(t),wl.forEach(t),ws=n(e),c(Qe.$$.fragment,e),ks=n(e),c(We.$$.fragment,e),Ts=n(e),C=i(e,"DIV",{class:!0});var Yr=h(C);c(et.$$.fragment,Yr),xn=n(Yr),le=i(Yr,"DIV",{class:!0});var Tl=h(le);c(tt.$$.fragment,Tl),yn=n(Tl),fr=i(Tl,"P",{"data-svelte-h":!0}),f(fr)!=="svelte-m2t8u2"&&(fr.textContent=Pa),Tl.forEach(t),Cn=n(Yr),ne=i(Yr,"DIV",{class:!0});var Dl=h(ne);c(rt.$$.fragment,Dl),Ln=n(Dl),$r=i(Dl,"P",{"data-svelte-h":!0}),f($r)!=="svelte-29ay4o"&&($r.textContent=Ra),Dl.forEach(t),Yr.forEach(t),Ds=n(e),c(st.$$.fragment,e),Es=n(e),L=i(e,"DIV",{class:!0});var Xr=h(L);c(lt.$$.fragment,Xr),Mn=n(Xr),ae=i(Xr,"DIV",{class:!0});var El=h(ae);c(nt.$$.fragment,El),wn=n(El),br=i(El,"P",{"data-svelte-h":!0}),f(br)!=="svelte-m2t8u2"&&(br.textContent=ja),El.forEach(t),kn=n(Xr),ie=i(Xr,"DIV",{class:!0});var Pl=h(ie);c(at.$$.fragment,Pl),Tn=n(Pl),xr=i(Pl,"P",{"data-svelte-h":!0}),f(xr)!=="svelte-29ay4o"&&(xr.textContent=Ia),Pl.forEach(t),Xr.forEach(t),Ps=n(e),c(it.$$.fragment,e),Rs=n(e),z=i(e,"DIV",{class:!0});var Rl=h(z);c(ot.$$.fragment,Rl),Dn=n(Rl),oe=i(Rl,"DIV",{class:!0});var jl=h(oe);c(mt.$$.fragment,jl),En=n(jl),yr=i(jl,"P",{"data-svelte-h":!0}),f(yr)!=="svelte-oza3m6"&&(yr.innerHTML=Aa),jl.forEach(t),Rl.forEach(t),js=n(e),c(ct.$$.fragment,e),Is=n(e),B=i(e,"DIV",{class:!0});var Il=h(B);c(pt.$$.fragment,Il),Pn=n(Il),me=i(Il,"DIV",{class:!0});var Al=h(me);c(gt.$$.fragment,Al),Rn=n(Al),Cr=i(Al,"P",{"data-svelte-h":!0}),f(Cr)!=="svelte-cm5dxb"&&(Cr.textContent=Na),Al.forEach(t),Il.forEach(t),As=n(e),c(dt.$$.fragment,e),Ns=n(e),F=i(e,"DIV",{class:!0});var Nl=h(F);c(ut.$$.fragment,Nl),jn=n(Nl),ce=i(Nl,"DIV",{class:!0});var Sl=h(ce);c(ht.$$.fragment,Sl),In=n(Sl),Lr=i(Sl,"P",{"data-svelte-h":!0}),f(Lr)!=="svelte-cm5dxb"&&(Lr.textContent=Sa),Sl.forEach(t),Nl.forEach(t),Ss=n(e),c(vt.$$.fragment,e),Vs=n(e),O=i(e,"DIV",{class:!0});var Vl=h(O);c(_t.$$.fragment,Vl),An=n(Vl),pe=i(Vl,"DIV",{class:!0});var Jl=h(pe);c(ft.$$.fragment,Jl),Nn=n(Jl),Mr=i(Jl,"P",{"data-svelte-h":!0}),f(Mr)!=="svelte-1vzdvz9"&&(Mr.innerHTML=Va),Jl.forEach(t),Vl.forEach(t),Js=n(e),c($t.$$.fragment,e),zs=n(e),U=i(e,"DIV",{class:!0});var zl=h(U);c(bt.$$.fragment,zl),Sn=n(zl),ge=i(zl,"DIV",{class:!0});var Bl=h(ge);c(xt.$$.fragment,Bl),Vn=n(Bl),wr=i(Bl,"P",{"data-svelte-h":!0}),f(wr)!=="svelte-oplxpx"&&(wr.textContent=Ja),Bl.forEach(t),zl.forEach(t),Bs=n(e),c(yt.$$.fragment,e),Fs=n(e),G=i(e,"DIV",{class:!0});var Fl=h(G);c(Ct.$$.fragment,Fl),Jn=n(Fl),de=i(Fl,"DIV",{class:!0});var Ol=h(de);c(Lt.$$.fragment,Ol),zn=n(Ol),kr=i(Ol,"P",{"data-svelte-h":!0}),f(kr)!=="svelte-1mhw2ts"&&(kr.textContent=za),Ol.forEach(t),Fl.forEach(t),Os=n(e),c(Mt.$$.fragment,e),Us=n(e),q=i(e,"DIV",{class:!0});var Ul=h(q);c(wt.$$.fragment,Ul),Bn=n(Ul),ue=i(Ul,"DIV",{class:!0});var Gl=h(ue);c(kt.$$.fragment,Gl),Fn=n(Gl),Tr=i(Gl,"P",{"data-svelte-h":!0}),f(Tr)!=="svelte-g8gp3r"&&(Tr.textContent=Ba),Gl.forEach(t),Ul.forEach(t),Gs=n(e),c(Tt.$$.fragment,e),qs=n(e),H=i(e,"DIV",{class:!0});var ql=h(H);c(Dt.$$.fragment,ql),On=n(ql),M=i(ql,"DIV",{class:!0});var Zr=h(M);c(Et.$$.fragment,Zr),Un=n(Zr),Dr=i(Zr,"P",{"data-svelte-h":!0}),f(Dr)!=="svelte-1jqxi5a"&&(Dr.textContent=Fa),Gn=n(Zr),Er=i(Zr,"P",{"data-svelte-h":!0}),f(Er)!=="svelte-19u8gji"&&(Er.textContent=Oa),Zr.forEach(t),ql.forEach(t),Hs=n(e),c(Pt.$$.fragment,e),Ks=n(e),K=i(e,"DIV",{class:!0});var Hl=h(K);c(Rt.$$.fragment,Hl),qn=n(Hl),w=i(Hl,"DIV",{class:!0});var Qr=h(w);c(jt.$$.fragment,Qr),Hn=n(Qr),Pr=i(Qr,"P",{"data-svelte-h":!0}),f(Pr)!=="svelte-uuxzaw"&&(Pr.textContent=Ua),Kn=n(Qr),Rr=i(Qr,"P",{"data-svelte-h":!0}),f(Rr)!=="svelte-q9lg1z"&&(Rr.textContent=Ga),Qr.forEach(t),Hl.forEach(t),Ys=n(e),c(It.$$.fragment,e),Xs=n(e),Y=i(e,"DIV",{class:!0});var Kl=h(Y);c(At.$$.fragment,Kl),Yn=n(Kl),he=i(Kl,"DIV",{class:!0});var Yl=h(he);c(Nt.$$.fragment,Yl),Xn=n(Yl),jr=i(Yl,"P",{"data-svelte-h":!0}),f(jr)!=="svelte-1e1teq4"&&(jr.textContent=qa),Yl.forEach(t),Kl.forEach(t),Zs=n(e),c(St.$$.fragment,e),Qs=n(e),X=i(e,"DIV",{class:!0});var Xl=h(X);c(Vt.$$.fragment,Xl),Zn=n(Xl),ve=i(Xl,"DIV",{class:!0});var Zl=h(ve);c(Jt.$$.fragment,Zl),Qn=n(Zl),Ir=i(Zl,"P",{"data-svelte-h":!0}),f(Ir)!=="svelte-uuy5fu"&&(Ir.textContent=Ha),Zl.forEach(t),Xl.forEach(t),Ws=n(e),c(zt.$$.fragment,e),el=n(e),y=i(e,"DIV",{class:!0});var Ce=h(y);c(Bt.$$.fragment,Ce),Wn=n(Ce),_e=i(Ce,"DIV",{class:!0});var Ql=h(_e);c(Ft.$$.fragment,Ql),ea=n(Ql),Ar=i(Ql,"P",{"data-svelte-h":!0}),f(Ar)!=="svelte-1javkrk"&&(Ar.textContent=Ka),Ql.forEach(t),ta=n(Ce),k=i(Ce,"DIV",{class:!0});var Wr=h(k);c(Ot.$$.fragment,Wr),ra=n(Wr),Nr=i(Wr,"P",{"data-svelte-h":!0}),f(Nr)!=="svelte-1jnlnuh"&&(Nr.textContent=Ya),sa=n(Wr),Sr=i(Wr,"P",{"data-svelte-h":!0}),f(Sr)!=="svelte-eunl3r"&&(Sr.textContent=Xa),Wr.forEach(t),la=n(Ce),fe=i(Ce,"DIV",{class:!0});var Wl=h(fe);c(Ut.$$.fragment,Wl),na=n(Wl),Vr=i(Wl,"P",{"data-svelte-h":!0}),f(Vr)!=="svelte-vzqvo7"&&(Vr.textContent=Za),Wl.forEach(t),Ce.forEach(t),tl=n(e),c(Gt.$$.fragment,e),rl=n(e),qt=i(e,"DIV",{class:!0});var mi=h(qt);c(Ht.$$.fragment,mi),mi.forEach(t),sl=n(e),c(Kt.$$.fragment,e),ll=n(e),Z=i(e,"DIV",{class:!0});var en=h(Z);c(Yt.$$.fragment,en),aa=n(en),$e=i(en,"DIV",{class:!0});var tn=h($e);c(Xt.$$.fragment,tn),ia=n(tn),Jr=i(tn,"P",{"data-svelte-h":!0}),f(Jr)!=="svelte-4cpcjn"&&(Jr.textContent=Qa),tn.forEach(t),en.forEach(t),nl=n(e),c(Zt.$$.fragment,e),al=n(e),Q=i(e,"DIV",{class:!0});var rn=h(Q);c(Qt.$$.fragment,rn),oa=n(rn),be=i(rn,"DIV",{class:!0});var sn=h(be);c(Wt.$$.fragment,sn),ma=n(sn),zr=i(sn,"P",{"data-svelte-h":!0}),f(zr)!=="svelte-4cpcjn"&&(zr.textContent=Wa),sn.forEach(t),rn.forEach(t),il=n(e),c(er.$$.fragment,e),ol=n(e),W=i(e,"DIV",{class:!0});var ln=h(W);c(tr.$$.fragment,ln),ca=n(ln),xe=i(ln,"DIV",{class:!0});var nn=h(xe);c(rr.$$.fragment,nn),pa=n(nn),Br=i(nn,"P",{"data-svelte-h":!0}),f(Br)!=="svelte-1hstc1o"&&(Br.textContent=ei),nn.forEach(t),ln.forEach(t),ml=n(e),c(sr.$$.fragment,e),cl=n(e),c(lr.$$.fragment,e),pl=n(e),b=i(e,"DIV",{class:!0});var T=h(b);c(nr.$$.fragment,T),ga=n(T),Fr=i(T,"P",{"data-svelte-h":!0}),f(Fr)!=="svelte-d59cwj"&&(Fr.textContent=ti),da=n(T),Or=i(T,"P",{"data-svelte-h":!0}),f(Or)!=="svelte-2785eo"&&(Or.innerHTML=ri),ua=n(T),x=i(T,"DIV",{class:!0});var D=h(x);c(ar.$$.fragment,D),ha=n(D),Ur=i(D,"P",{"data-svelte-h":!0}),f(Ur)!=="svelte-zw3fd9"&&(Ur.textContent=si),va=n(D),Gr=i(D,"P",{"data-svelte-h":!0}),f(Gr)!=="svelte-87qcsz"&&(Gr.textContent=li),_a=n(D),qr=i(D,"P",{"data-svelte-h":!0}),f(qr)!=="svelte-11lpom8"&&(qr.textContent=ni),fa=n(D),Hr=i(D,"BLOCKQUOTE",{"data-svelte-h":!0}),f(Hr)!=="svelte-1rs2dmb"&&(Hr.innerHTML=ai),D.forEach(t),$a=n(T),ye=i(T,"DIV",{class:!0});var an=h(ye);c(ir.$$.fragment,an),ba=n(an),Kr=i(an,"P",{"data-svelte-h":!0}),f(Kr)!=="svelte-tj0p2z"&&(Kr.textContent=ii),an.forEach(t),T.forEach(t),gl=n(e),c(or.$$.fragment,e),dl=n(e),ts=i(e,"P",{}),h(ts).forEach(t),this.h()},h(){v(E,"name","hf:doc:metadata"),v(E,"content",fi),v(ke,"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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(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(_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(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(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(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(qt,"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(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(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(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(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(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(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,rs,r),o(e,es,r),o(e,ss,r),p(Le,e,r),o(e,ls,r),p(Me,e,r),o(e,ns,r),p(we,e,r),o(e,as,r),o(e,ke,r),p(Te,ke,null),o(e,is,r),p(De,e,r),o(e,os,r),o(e,P,r),p(Ee,P,null),s(P,on),s(P,mr),o(e,ms,r),p(Pe,e,r),o(e,cs,r),o(e,R,r),p(Re,R,null),s(R,mn),s(R,cr),o(e,ps,r),p(je,e,r),o(e,gs,r),o(e,j,r),p(Ie,j,null),s(j,cn),s(j,pr),o(e,ds,r),p(Ae,e,r),o(e,us,r),o(e,I,r),p(Ne,I,null),s(I,pn),s(I,gr),o(e,hs,r),p(Se,e,r),o(e,vs,r),o(e,A,r),p(Ve,A,null),s(A,gn),s(A,dr),o(e,_s,r),p(Je,e,r),o(e,fs,r),p(ze,e,r),o(e,$s,r),o(e,N,r),p(Be,N,null),s(N,dn),s(N,ee),p(Fe,ee,null),s(ee,un),s(ee,ur),o(e,bs,r),p(Oe,e,r),o(e,xs,r),o(e,S,r),p(Ue,S,null),s(S,hn),s(S,te),p(Ge,te,null),s(te,vn),s(te,hr),o(e,ys,r),p(qe,e,r),o(e,Cs,r),o(e,V,r),p(He,V,null),s(V,_n),s(V,re),p(Ke,re,null),s(re,fn),s(re,vr),o(e,Ls,r),p(Ye,e,r),o(e,Ms,r),o(e,J,r),p(Xe,J,null),s(J,$n),s(J,se),p(Ze,se,null),s(se,bn),s(se,_r),o(e,ws,r),p(Qe,e,r),o(e,ks,r),p(We,e,r),o(e,Ts,r),o(e,C,r),p(et,C,null),s(C,xn),s(C,le),p(tt,le,null),s(le,yn),s(le,fr),s(C,Cn),s(C,ne),p(rt,ne,null),s(ne,Ln),s(ne,$r),o(e,Ds,r),p(st,e,r),o(e,Es,r),o(e,L,r),p(lt,L,null),s(L,Mn),s(L,ae),p(nt,ae,null),s(ae,wn),s(ae,br),s(L,kn),s(L,ie),p(at,ie,null),s(ie,Tn),s(ie,xr),o(e,Ps,r),p(it,e,r),o(e,Rs,r),o(e,z,r),p(ot,z,null),s(z,Dn),s(z,oe),p(mt,oe,null),s(oe,En),s(oe,yr),o(e,js,r),p(ct,e,r),o(e,Is,r),o(e,B,r),p(pt,B,null),s(B,Pn),s(B,me),p(gt,me,null),s(me,Rn),s(me,Cr),o(e,As,r),p(dt,e,r),o(e,Ns,r),o(e,F,r),p(ut,F,null),s(F,jn),s(F,ce),p(ht,ce,null),s(ce,In),s(ce,Lr),o(e,Ss,r),p(vt,e,r),o(e,Vs,r),o(e,O,r),p(_t,O,null),s(O,An),s(O,pe),p(ft,pe,null),s(pe,Nn),s(pe,Mr),o(e,Js,r),p($t,e,r),o(e,zs,r),o(e,U,r),p(bt,U,null),s(U,Sn),s(U,ge),p(xt,ge,null),s(ge,Vn),s(ge,wr),o(e,Bs,r),p(yt,e,r),o(e,Fs,r),o(e,G,r),p(Ct,G,null),s(G,Jn),s(G,de),p(Lt,de,null),s(de,zn),s(de,kr),o(e,Os,r),p(Mt,e,r),o(e,Us,r),o(e,q,r),p(wt,q,null),s(q,Bn),s(q,ue),p(kt,ue,null),s(ue,Fn),s(ue,Tr),o(e,Gs,r),p(Tt,e,r),o(e,qs,r),o(e,H,r),p(Dt,H,null),s(H,On),s(H,M),p(Et,M,null),s(M,Un),s(M,Dr),s(M,Gn),s(M,Er),o(e,Hs,r),p(Pt,e,r),o(e,Ks,r),o(e,K,r),p(Rt,K,null),s(K,qn),s(K,w),p(jt,w,null),s(w,Hn),s(w,Pr),s(w,Kn),s(w,Rr),o(e,Ys,r),p(It,e,r),o(e,Xs,r),o(e,Y,r),p(At,Y,null),s(Y,Yn),s(Y,he),p(Nt,he,null),s(he,Xn),s(he,jr),o(e,Zs,r),p(St,e,r),o(e,Qs,r),o(e,X,r),p(Vt,X,null),s(X,Zn),s(X,ve),p(Jt,ve,null),s(ve,Qn),s(ve,Ir),o(e,Ws,r),p(zt,e,r),o(e,el,r),o(e,y,r),p(Bt,y,null),s(y,Wn),s(y,_e),p(Ft,_e,null),s(_e,ea),s(_e,Ar),s(y,ta),s(y,k),p(Ot,k,null),s(k,ra),s(k,Nr),s(k,sa),s(k,Sr),s(y,la),s(y,fe),p(Ut,fe,null),s(fe,na),s(fe,Vr),o(e,tl,r),p(Gt,e,r),o(e,rl,r),o(e,qt,r),p(Ht,qt,null),o(e,sl,r),p(Kt,e,r),o(e,ll,r),o(e,Z,r),p(Yt,Z,null),s(Z,aa),s(Z,$e),p(Xt,$e,null),s($e,ia),s($e,Jr),o(e,nl,r),p(Zt,e,r),o(e,al,r),o(e,Q,r),p(Qt,Q,null),s(Q,oa),s(Q,be),p(Wt,be,null),s(be,ma),s(be,zr),o(e,il,r),p(er,e,r),o(e,ol,r),o(e,W,r),p(tr,W,null),s(W,ca),s(W,xe),p(rr,xe,null),s(xe,pa),s(xe,Br),o(e,ml,r),p(sr,e,r),o(e,cl,r),p(lr,e,r),o(e,pl,r),o(e,b,r),p(nr,b,null),s(b,ga),s(b,Fr),s(b,da),s(b,Or),s(b,ua),s(b,x),p(ar,x,null),s(x,ha),s(x,Ur),s(x,va),s(x,Gr),s(x,_a),s(x,qr),s(x,fa),s(x,Hr),s(b,$a),s(b,ye),p(ir,ye,null),s(ye,ba),s(ye,Kr),o(e,gl,r),p(or,e,r),o(e,dl,r),o(e,ts,r),ul=!0},p:pi,i(e){ul||(g(Le.$$.fragment,e),g(Me.$$.fragment,e),g(we.$$.fragment,e),g(Te.$$.fragment,e),g(De.$$.fragment,e),g(Ee.$$.fragment,e),g(Pe.$$.fragment,e),g(Re.$$.fragment,e),g(je.$$.fragment,e),g(Ie.$$.fragment,e),g(Ae.$$.fragment,e),g(Ne.$$.fragment,e),g(Se.$$.fragment,e),g(Ve.$$.fragment,e),g(Je.$$.fragment,e),g(ze.$$.fragment,e),g(Be.$$.fragment,e),g(Fe.$$.fragment,e),g(Oe.$$.fragment,e),g(Ue.$$.fragment,e),g(Ge.$$.fragment,e),g(qe.$$.fragment,e),g(He.$$.fragment,e),g(Ke.$$.fragment,e),g(Ye.$$.fragment,e),g(Xe.$$.fragment,e),g(Ze.$$.fragment,e),g(Qe.$$.fragment,e),g(We.$$.fragment,e),g(et.$$.fragment,e),g(tt.$$.fragment,e),g(rt.$$.fragment,e),g(st.$$.fragment,e),g(lt.$$.fragment,e),g(nt.$$.fragment,e),g(at.$$.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(_t.$$.fragment,e),g(ft.$$.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(Mt.$$.fragment,e),g(wt.$$.fragment,e),g(kt.$$.fragment,e),g(Tt.$$.fragment,e),g(Dt.$$.fragment,e),g(Et.$$.fragment,e),g(Pt.$$.fragment,e),g(Rt.$$.fragment,e),g(jt.$$.fragment,e),g(It.$$.fragment,e),g(At.$$.fragment,e),g(Nt.$$.fragment,e),g(St.$$.fragment,e),g(Vt.$$.fragment,e),g(Jt.$$.fragment,e),g(zt.$$.fragment,e),g(Bt.$$.fragment,e),g(Ft.$$.fragment,e),g(Ot.$$.fragment,e),g(Ut.$$.fragment,e),g(Gt.$$.fragment,e),g(Ht.$$.fragment,e),g(Kt.$$.fragment,e),g(Yt.$$.fragment,e),g(Xt.$$.fragment,e),g(Zt.$$.fragment,e),g(Qt.$$.fragment,e),g(Wt.$$.fragment,e),g(er.$$.fragment,e),g(tr.$$.fragment,e),g(rr.$$.fragment,e),g(sr.$$.fragment,e),g(lr.$$.fragment,e),g(nr.$$.fragment,e),g(ar.$$.fragment,e),g(ir.$$.fragment,e),g(or.$$.fragment,e),ul=!0)},o(e){d(Le.$$.fragment,e),d(Me.$$.fragment,e),d(we.$$.fragment,e),d(Te.$$.fragment,e),d(De.$$.fragment,e),d(Ee.$$.fragment,e),d(Pe.$$.fragment,e),d(Re.$$.fragment,e),d(je.$$.fragment,e),d(Ie.$$.fragment,e),d(Ae.$$.fragment,e),d(Ne.$$.fragment,e),d(Se.$$.fragment,e),d(Ve.$$.fragment,e),d(Je.$$.fragment,e),d(ze.$$.fragment,e),d(Be.$$.fragment,e),d(Fe.$$.fragment,e),d(Oe.$$.fragment,e),d(Ue.$$.fragment,e),d(Ge.$$.fragment,e),d(qe.$$.fragment,e),d(He.$$.fragment,e),d(Ke.$$.fragment,e),d(Ye.$$.fragment,e),d(Xe.$$.fragment,e),d(Ze.$$.fragment,e),d(Qe.$$.fragment,e),d(We.$$.fragment,e),d(et.$$.fragment,e),d(tt.$$.fragment,e),d(rt.$$.fragment,e),d(st.$$.fragment,e),d(lt.$$.fragment,e),d(nt.$$.fragment,e),d(at.$$.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(_t.$$.fragment,e),d(ft.$$.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(Mt.$$.fragment,e),d(wt.$$.fragment,e),d(kt.$$.fragment,e),d(Tt.$$.fragment,e),d(Dt.$$.fragment,e),d(Et.$$.fragment,e),d(Pt.$$.fragment,e),d(Rt.$$.fragment,e),d(jt.$$.fragment,e),d(It.$$.fragment,e),d(At.$$.fragment,e),d(Nt.$$.fragment,e),d(St.$$.fragment,e),d(Vt.$$.fragment,e),d(Jt.$$.fragment,e),d(zt.$$.fragment,e),d(Bt.$$.fragment,e),d(Ft.$$.fragment,e),d(Ot.$$.fragment,e),d(Ut.$$.fragment,e),d(Gt.$$.fragment,e),d(Ht.$$.fragment,e),d(Kt.$$.fragment,e),d(Yt.$$.fragment,e),d(Xt.$$.fragment,e),d(Zt.$$.fragment,e),d(Qt.$$.fragment,e),d(Wt.$$.fragment,e),d(er.$$.fragment,e),d(tr.$$.fragment,e),d(rr.$$.fragment,e),d(sr.$$.fragment,e),d(lr.$$.fragment,e),d(nr.$$.fragment,e),d(ar.$$.fragment,e),d(ir.$$.fragment,e),d(or.$$.fragment,e),ul=!1},d(e){e&&(t(rs),t(es),t(ss),t(ls),t(ns),t(as),t(ke),t(is),t(os),t(P),t(ms),t(cs),t(R),t(ps),t(gs),t(j),t(ds),t(us),t(I),t(hs),t(vs),t(A),t(_s),t(fs),t($s),t(N),t(bs),t(xs),t(S),t(ys),t(Cs),t(V),t(Ls),t(Ms),t(J),t(ws),t(ks),t(Ts),t(C),t(Ds),t(Es),t(L),t(Ps),t(Rs),t(z),t(js),t(Is),t(B),t(As),t(Ns),t(F),t(Ss),t(Vs),t(O),t(Js),t(zs),t(U),t(Bs),t(Fs),t(G),t(Os),t(Us),t(q),t(Gs),t(qs),t(H),t(Hs),t(Ks),t(K),t(Ys),t(Xs),t(Y),t(Zs),t(Qs),t(X),t(Ws),t(el),t(y),t(tl),t(rl),t(qt),t(sl),t(ll),t(Z),t(nl),t(al),t(Q),t(il),t(ol),t(W),t(ml),t(cl),t(pl),t(b),t(gl),t(dl),t(ts)),t(E),u(Le,e),u(Me,e),u(we,e),u(Te),u(De,e),u(Ee),u(Pe,e),u(Re),u(je,e),u(Ie),u(Ae,e),u(Ne),u(Se,e),u(Ve),u(Je,e),u(ze,e),u(Be),u(Fe),u(Oe,e),u(Ue),u(Ge),u(qe,e),u(He),u(Ke),u(Ye,e),u(Xe),u(Ze),u(Qe,e),u(We,e),u(et),u(tt),u(rt),u(st,e),u(lt),u(nt),u(at),u(it,e),u(ot),u(mt),u(ct,e),u(pt),u(gt),u(dt,e),u(ut),u(ht),u(vt,e),u(_t),u(ft),u($t,e),u(bt),u(xt),u(yt,e),u(Ct),u(Lt),u(Mt,e),u(wt),u(kt),u(Tt,e),u(Dt),u(Et),u(Pt,e),u(Rt),u(jt),u(It,e),u(At),u(Nt),u(St,e),u(Vt),u(Jt),u(zt,e),u(Bt),u(Ft),u(Ot),u(Ut),u(Gt,e),u(Ht),u(Kt,e),u(Yt),u(Xt),u(Zt,e),u(Qt),u(Wt),u(er,e),u(tr),u(rr),u(sr,e),u(lr,e),u(nr),u(ar),u(ir),u(or,e)}}}const fi='{"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 $i(xa){return gi(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Li extends di{constructor(E){super(),ui(this,E,$i,_i,ci,{})}}export{Li as component};

Xet Storage Details

Size:
83 kB
·
Xet hash:
eb9a86373e549bab376e06a3129515344a0f6698a9e257ffdf2ff36956a0b420

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