Skip to content

armgit / laya

Public Imported from GitHub
0

Non-autoregressive System 1 decision engine. Typed choice, score and yes/no decisions over any text in a single forward pass, in 100+ languages, with a router that picks the right checkpoint per request.

docs(readme): the min_confidence surface list must include decide_batch

Adeshina Lasisi6706e1b3be42
diff --git a/README.md b/README.md
index f748de58..41bafed4 100644
--- a/README.md
+++ b/README.md
@@ -987,7 +987,7 @@ A threshold also depends on the autocast dtype. On CUDA at compute capability 8
### Opt-in abstention: `min_confidence`
-`predict`, `predict_batch`, `system_one` and `decide` — on `Agent`, `Router` and `ONNXAgent` — take an opt-in `min_confidence`, off by default. It is a caller-side policy on top of the emitted confidence: every answer whose `answer_confidence` falls below the threshold is flagged `low_confidence: True`, with the raw answer, probabilities and confidence left intact for inspection.
+`predict`, `predict_batch`, `system_one`, `decide` and `decide_batch` — on `Agent`, `Router` and `ONNXAgent` — take an opt-in `min_confidence`, off by default. It is a caller-side policy on top of the emitted confidence: every answer whose `answer_confidence` falls below the threshold is flagged `low_confidence: True`, with the raw answer, probabilities and confidence left intact for inspection.
```python
res = agent.predict(state, questions, min_confidence=0.85)