Skip to content

0.3.0

Choose a tag to compare

@sshah03 sshah03 released this 29 Sep 19:36
· 9 commits to main since this release
  • distill(route_budget=0.02) picks the confidence threshold for you, with a guarantee: with 95% probability, at most 2% of requests are answered locally and disagree with the teacher. The threshold is set on 30% of the judged pool held out of training, so it's checked on the model you actually save.
  • decide(texts, fallback=d.ask) sends the documents below the threshold to the teacher and returns the same answer format. route=True leaves them as None instead, and .local(texts) tells you which documents clear it.
  • The report now checks the locally answered test documents against your human labels.
  • examples/panels/routing_study.py reproduces the results on the four pre-built panels from the committed teacher answers. Reading the threshold off the curve broke the 2% budget in 4-7 of 10 draws; the guaranteed threshold held about as often as a 95% bound promises. Details in BENCHMARKS.

Everything is opt-in. Existing code and saved models behave exactly as in 0.2.0, and models saved by 0.3.0 still load in 0.2.0.