Package: evaluatellm 0.1.0
evaluatellm: Statistical Inference for Language Model Evaluations
Treats language model evaluations as statistical experiments and supplies the inference they require. Provides central limit theorem and cluster-robust standard errors for evaluation scores, paired and unpaired model comparisons, variance decomposition when several responses are drawn per question, control-variate variance reduction, multiplicity adjustment across benchmark suites, and power and minimum detectable effect calculations for planning evaluations, following Miller (2024) <doi:10.48550/arXiv.2411.00640>. For evaluations scored by a model judge, implements agreement statistics against a human gold standard and prediction-powered inference (Angelopoulos et al. 2023) <doi:10.1126/science.adi6000> with the power-tuned estimator of Angelopoulos, Bates and Jordan (2023) <doi:10.48550/arXiv.2311.01453>, so a small set of human labels debiases a large set of judge scores. Leaderboards are supported through bootstrap rank intervals and Bradley-Terry ratings (Bradley and Terry 1952) <doi:10.2307/2334029>. Accepts scores from any evaluation harness.
Authors:
evaluatellm_0.1.0.tar.gz
evaluatellm_0.1.0.zip(r-4.7-any)evaluatellm_0.1.0.zip(r-4.6-any)evaluatellm_0.1.0.zip(r-4.5-any)
evaluatellm_0.1.0.tgz(r-4.6-any)evaluatellm_0.1.0.tgz(r-4.5-any)
evaluatellm_0.1.0.tar.gz(r-4.7-any)evaluatellm_0.1.0.tar.gz(r-4.6-any)
evaluatellm_0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
evaluatellm/json (API)
| # Install 'evaluatellm' in R: |
| install.packages('evaluatellm', repos = c('https://charlescoverdale.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/charlescoverdale/evaluatellm/issues
Pkgdown/docs site:https://charlescoverdale.github.io
Last updated from:3ef61edaee. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 153 | ||
| source / vignettes | OK | 205 | ||
| linux-release | OK | 111 | ||
| macos-release | OK | 109 | ||
| macos-oldrel | OK | 110 | ||
| windows-devel | OK | 68 | ||
| windows-release | OK | 73 | ||
| windows-oldrel | OK | 72 | ||
| wasm-release | OK | 102 |
Exports:as_evalev_bootstrapev_clusterev_eloev_iccev_judge_agreementev_judge_debiasev_judge_powerev_mdeev_multiev_pairedev_plotev_powerev_rankev_resampleev_scoreev_tableev_unpairedev_variance_reduction
Dependencies:cli
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Build an Evaluation Object | as_eval |
| Cluster Bootstrap for an Arbitrary Statistic | ev_bootstrap |
| Cluster-Robust Standard Error for an Evaluation | ev_cluster |
| Bradley-Terry Ratings from Pairwise Preferences | ev_elo |
| Intra-Cluster Correlation | ev_icc |
| Agreement Between a Model Judge and a Human Gold Standard | ev_judge_agreement |
| Debias a Model Judge with a Small Human Sample | ev_judge_debias |
| How Many Human Labels a Debiased Evaluation Needs | ev_judge_power |
| Smallest Difference an Evaluation Can Detect | ev_mde |
| Multiplicity Adjustment Across a Benchmark Suite | ev_multi |
| Paired Comparison of Two Models | ev_paired |
| Plot Results with Error Bars | ev_plot |
| Number of Questions Needed to Detect a Difference | ev_power |
| Bootstrap Rank Intervals for a Leaderboard | ev_rank |
| Variance Decomposition for Repeated Sampling | ev_resample |
| Evaluation Score with a Standard Error | ev_score |
| Collect Results into a Table | ev_table |
| Unpaired Comparison of Two Models | ev_unpaired |
| Variance Reduction with a Reference Model | ev_variance_reduction |