Rename to verdict
Browse files- README.md +10 -6
- model.safetensors +1 -1
README.md
CHANGED
|
@@ -8,29 +8,33 @@ tags:
|
|
| 8 |
- calibration
|
| 9 |
---
|
| 10 |
|
| 11 |
-
#
|
| 12 |
|
| 13 |
A small typed decision model: give it a state (text or JSON) and a question with
|
| 14 |
fixed options, get back a calibrated probability for every option. Nothing is
|
| 15 |
generated. Three question types: **Noul** (yes/no), **Choice** (pick one of the
|
| 16 |
options you define), **Score** (a level on a scale, plus its expected value).
|
| 17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 18 |
These are the trainable weights only (11.3M parameters: LoRA r=16 adapters,
|
| 19 |
the decision head and three fitted temperatures). They load on top of
|
| 20 |
[Qwen/Qwen3.5-0.8B-Base](https://huggingface.co/Qwen/Qwen3.5-0.8B-Base) with the
|
| 21 |
-
code in [github.com/danieltrt/
|
| 22 |
|
| 23 |
## Use
|
| 24 |
|
| 25 |
```bash
|
| 26 |
-
git clone https://github.com/danieltrt/
|
| 27 |
```
|
| 28 |
|
| 29 |
```python
|
| 30 |
-
from
|
| 31 |
|
| 32 |
-
|
| 33 |
-
angry, team, urgency =
|
| 34 |
"Charged twice for March again. Refund it today or I'm cancelling.",
|
| 35 |
[Noul("Is the customer angry?"),
|
| 36 |
Choice("Which team should handle this?", ["billing", "technical support", "sales"]),
|
|
|
|
| 8 |
- calibration
|
| 9 |
---
|
| 10 |
|
| 11 |
+
# verdict
|
| 12 |
|
| 13 |
A small typed decision model: give it a state (text or JSON) and a question with
|
| 14 |
fixed options, get back a calibrated probability for every option. Nothing is
|
| 15 |
generated. Three question types: **Noul** (yes/no), **Choice** (pick one of the
|
| 16 |
options you define), **Score** (a level on a scale, plus its expected value).
|
| 17 |
|
| 18 |
+
Verdict follows the "System One" decision-model pattern popularized by TypeSafe
|
| 19 |
+
AI's Jev, and its question types mirror Jev's. It is an independent project,
|
| 20 |
+
not affiliated with or endorsed by TypeSafe AI.
|
| 21 |
+
|
| 22 |
These are the trainable weights only (11.3M parameters: LoRA r=16 adapters,
|
| 23 |
the decision head and three fitted temperatures). They load on top of
|
| 24 |
[Qwen/Qwen3.5-0.8B-Base](https://huggingface.co/Qwen/Qwen3.5-0.8B-Base) with the
|
| 25 |
+
code in [github.com/danieltrt/verdict](https://github.com/danieltrt/verdict).
|
| 26 |
|
| 27 |
## Use
|
| 28 |
|
| 29 |
```bash
|
| 30 |
+
git clone https://github.com/danieltrt/verdict && cd verdict && uv sync
|
| 31 |
```
|
| 32 |
|
| 33 |
```python
|
| 34 |
+
from verdict import Noul, Choice, Score, Verdict
|
| 35 |
|
| 36 |
+
vd = Verdict.load(checkpoint="drramos/verdict")
|
| 37 |
+
angry, team, urgency = vd.ask(
|
| 38 |
"Charged twice for March again. Refund it today or I'm cancelling.",
|
| 39 |
[Noul("Is the customer angry?"),
|
| 40 |
Choice("Which team should handle this?", ["billing", "technical support", "sales"]),
|
model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 45150140
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f246f831db88c70c65a1e8b472cf9cc81b6b94e266f323db4c0eb0c863614220
|
| 3 |
size 45150140
|