zeropoint v1.1.0 minor
ZeroPoint 1.1.0
CPU-first, energy-based decision model. Picks the option that fits, or says none does, without being
Changelog
Added
fitandrecalibratewarn (UserWarning) when fewer than 50 examples are held out, because the report's
numbers are then too small to trust.recalibratealso warns when the temperature changes by more than a factor
of 2 or the none level by more than 2.
Fixed
- A model made by
fitkept its files in a temporary folder that was never deleted. The folder is now deleted
when the last model that reads it is freed;savestill keeps a copy wherever you want. - The documentation said an option with depth 0 gets no probability. Depths are never exactly 0, so such an option
gets almost no probability; the wording now says so. - The first example in
docs/usage.mdand in the module docstring answered none; it is replaced by the example
of the README, which picks an option. - The fit time in the documentation (6 minutes) had no measurement behind it. It now gives the two measured step
times (1.3 s and 3.4 s on 2 threads), about 4 to 12 minutes for the default 200 steps. - The documentation shows how to install the CPU-only PyTorch before
zeropoint[fit]. - Every file the training, benchmark and ablation scripts open is now closed (
withblocks). zeropoint.fitno longer importszeropoint.model, which removes a cyclic import; the ablation scripts drop
unused names and a value assigned twice.training/zp1.pyno longer claims that the model measured is the model shipped, andtraining/README.md
documents a flaw in the dev split of run 1.0c: the calibration half has no written examples.
Links
- source code
- license: Apache-2.0