Repository navigation
ZeroPoint 0.1.0
First release.
Added
ZeroPoint.decidechooses one option from a list for a text, or returnsNonewhen none of the options
fits. The probability of none comes from the same calculation as the probability of each option.ZeroPoint.decide_manyfor many texts at once, with one shared list of options or one list per text.min_confidenceto returnNonewhen the chosen option is below a probability.- Each decision holds the choice, its confidence, the probability of none, the probability and energy of
every option, the distance beyond the edge of the calibration data, and the time it took. - Two calibrated landscapes inside the package:
everyday(150 kinds of everyday requests, calibrated on
CLINC150; the default) andsupport(10 support queues, calibrated on public support tickets).
zeropoint.landscapes()lists them. - Two frozen encoders, multilingual-e5-small (default) and multilingual-e5-base, pinned to a fixed revision
and run with ONNX Runtime in 8-bit or full precision. No PyTorch needed for decisions. ZeroPoint.fitcalibrates a landscape on your own labeled texts, with no examples of none;
saveandloadstore it in a.safetensorsfile. Optional monitoring of training with ndt.- Benchmark against similarity with the same encoder and against Laya, with the scripts to rebuild it.
- Documentation site at https://javihaus.github.io/zeropoint/.