Repository navigation
v0.4.10
An opt-in, larger NLI model for scientific sources, chosen by a measured bake-off and
downloaded only with your consent. Reports now admit when a model has no real low
confidence tier, and CI type-checks the whole package.
Added
- An opt-in accurate NLI model. The bake-off's winner,
MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanli, runs at k=2 with cuts
calibrated on SciFact train. Its SciFact dev macro-F1 is 0.697, against 0.580 for
the default model. It is not better on news: on AVeriTeC claims with a readable
source it scores 0.475, against 0.537 for the default model at k=2. It is
recommended for scientific sources, not for news. It is 643 MB, against 244 MB,
and the default install does not change. proofpath check --accurateuses the accurate model for one run.
[models] nli = "accurate"uses it for every run; set it with
proofpath config set models.nli accurateor in the/configpanel.permissions.install_modelguards the 643 MB download. It isaskby
default: the run asks once, naming the model and its size, with the browser
question's answers (once, always, no, never), and "always" and "never" are saved.
With no terminal,askis treated asdenyand the denial is reported. A denied
or failed download falls back to the default model and says so in three places:
a note with the reason and what would change it (dropped by-q, and on stderr
under--format jsonorsarif); in text mode, an
nli default model chosen; requested accurate (<reason>)line that-qkeeps;
andnli_requested: accurate (<reason>)in the report'smodelsblock. That
block now also names thekthat ran.
Changed
- A note when a run has no real low tier. A run whose
mediumcut sits within
0.01 ofdecidenow says "this model has no real low tier on SciFact, so an
asserted verdict is almost always medium or better". Default runs say it too: the
default'smedium(0.457948) sits 0.008 abovedecide(0.45), which the
2026-09-12 tier sweep already measured. When the no-high-tier note also applies,
the two are joined with "; ". - The no-high-tier note now reads "this model earns no high tier on SciFact dev,
so medium is the strongest confidence shown". - CI runs strict mypy over the whole of
src/.
Measured
- An NLI bake-off (
scripts/eval_nli_bakeoff.py, report in
docs/eval/2026-10-01-nli-bakeoff.md). It compares three NLI models, three
values of k and three aggregation rules, 27 combinations in all. Each combination
is calibrated on SciFact train and scored on SciFact dev and a frozen AVeriTeC
snapshot. The winner is picked by a rule written down before any number was
seen.- Winner:
MoritzLaurer/DeBERTa-v3-large-mnli-fever-anli-ling-wanliwith
k=2. SciFact dev macro-F1 is 0.697, against 0.580 for today's default and 0.608
for the best configuration of the default model. - AVeriTeC stays below its majority baseline: 0.475 on claims with a readable
source, against 0.708. - The report lists its own limits. The main one is that dev both chose the winner
and reports its score.
- Winner: