Skip to content

ZeroPoint 0.1.0

Choose a tag to compare

@Javihaus Javihaus released this 31 Oct 18:55
· 35 commits to main since this release
2ba5d17

First release.

Added

  • ZeroPoint.decide chooses one option from a list for a text, or returns None when none of the options
    fits. The probability of none comes from the same calculation as the probability of each option.
  • ZeroPoint.decide_many for many texts at once, with one shared list of options or one list per text.
  • min_confidence to return None when 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) and support (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.fit calibrates a landscape on your own labeled texts, with no examples of none;
    save and load store it in a .safetensors file. 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/.