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.
Python calibrationclassificationdecision-modelhuggingfacejevmodernbertmultilingualnlppythonpytorchroutingtyped-decisionszero-shot
docs(hooks): keep index.md's plain-callable sentence on one line
Adeshina Lasisia2b1bb725e29
diff --git a/docs/hooks/index.md b/docs/hooks/index.mdindex f904adfa..a723b18d 100644--- a/docs/hooks/index.md+++ b/docs/hooks/index.md@@ -76,9 +76,9 @@ There are three ideas.object is convenient for several. Only the object form goes to `hooks=` -- a plain callablethere is refused at construction, because `hooks=` reads for the six lifecycle methods(`on_predict_start`, `on_predict_end`, `on_route`, `on_load`, `on_evict`, `on_error`) and a- bare function has none of them. Pass a plain callable as `on_predict_start=` or- `on_predict_end=`; those are the single-event parameters, so a callable is exactly what they- take.+ bare function has none of them.+ Pass a plain callable as `on_predict_start=` or `on_predict_end=`; those are the single-event+ parameters, so a callable is exactly what they take.2. **Every hook of one call shares one mutable `PredictContext`.** It carries the states,questions, results, routing decision, model name, usage, timing and any error. A call can carry