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: add impossibl as a hosted provider (#48)
Jonathan Fellerdceda8bb9f9c
diff --git a/README.md b/README.mdindex 55c584f6..dc1614f7 100644--- a/README.md+++ b/README.md@@ -17,6 +17,7 @@[](https://dev.to/nandakishor_m_6cc0adfde9f/i-built-non-autoregressive-decision-models-a-year-ago-then-a-frontier-lab-called-it-a-18me)[](https://www.buymeacoffee.com/nandakishorm)[](https://opensource.org/licenses/Apache-2.0)+[](https://impossibl.com/convaiinnovations/laya)</div>@@ -95,6 +96,38 @@ Continue with the [Router quickstart](#quickstart-route-mode-recommended) to run---+## Hosted API++If you would rather not run a GPU, [impossibl](https://impossibl.com) serves Laya on a hosted+endpoint, **free**, wire-compatible with TypeSafe's System One API — so a client written+against Jev moves over by changing the base URL and the model id, and nothing else.++```bash+curl https://api.impossibl.com/v1/systemone \+ -H "Authorization: Bearer $IMPOSSIBL_API_KEY" \+ -H 'Content-Type: application/json' \+ -d '{+ "model": "convaiinnovations/laya",+ "state": "Hi, we were billed twice for March. Refund the duplicate today or we cancel.",+ "questions": {+ "churn_risk": { "type": "noul", "instructions": "Is this customer likely to churn?" }+ }+ }'+```++| model id | checkpoint |+|---|---|+| `convaiinnovations/laya` | whichever the `Router` picks, same as `Router(preload=True)` |+| `convaiinnovations/laya-multilingual` | pins `laya-multilingual`, whatever the script |++The second id exists because routing is by script: Latin-script text is answered by the+English checkpoint, so Spanish or Portuguese never reaches the multilingual weights on its+own. Both ids run the checkpoints published here, unmodified, at `max_len` 8192.++[Docs](https://impossibl.com/docs/evaluation) · [Model page](https://impossibl.com/convaiinnovations/laya)++---+## Quickstart: Route Mode (Recommended)Laya ships three checkpoints. The built-in **`Router`** is the recommended entry point: it evaluates any state in any language, automatically detects scripts and languages in sub-milliseconds, and dispatches to the optimal checkpoint in a single forward pass.