mertkayacs commited on
Commit
d7a8cf2
·
verified ·
1 Parent(s): b29ddde

README: what to try, the examples with live answers, a gradio_client snippet; dataset link and tags

Browse files
Files changed (1) hide show
  1. README.md +32 -2
README.md CHANGED
@@ -13,19 +13,49 @@ models:
13
  - mertkayacs/Deem-4B
14
  - mertkayacs/Karar-4B
15
  - mertkayacs/Wahler-4B
 
 
16
  tags:
17
  - decision-model
18
  - jev
19
  - calibration
20
  - classification
 
 
21
  - turkish
22
  - german
23
  ---
24
 
25
  # JevAlt
26
 
 
 
27
  ![Emberwick: every villager asks a JevAlt model what to do next](https://huggingface.co/datasets/mertkayacs/emberwick-videos/resolve/main/gifs/emberwick-en.gif)
28
 
29
- Decisions with calibrated probabilities. Send a state and typed questions (Choice, Score, Noul), get probabilities back. The request body is the same as TypeSafe's `/v1/systemone`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
 
31
- Code, models and the 4 GB local server: [github.com/mertkayacs/jevalt](https://github.com/mertkayacs/jevalt)
 
13
  - mertkayacs/Deem-4B
14
  - mertkayacs/Karar-4B
15
  - mertkayacs/Wahler-4B
16
+ datasets:
17
+ - mertkayacs/jevalt-bench
18
  tags:
19
  - decision-model
20
  - jev
21
  - calibration
22
  - classification
23
+ - routing
24
+ - english
25
  - turkish
26
  - german
27
  ---
28
 
29
  # JevAlt
30
 
31
+ Try three open 4B decision models in the browser: Deem-4B (English), Karar-4B (Turkish) and Wähler-4B (German). Write a situation, a question and a few options, or pick an example, and every option comes back with a calibrated probability.
32
+
33
  ![Emberwick: every villager asks a JevAlt model what to do next](https://huggingface.co/datasets/mertkayacs/emberwick-videos/resolve/main/gifs/emberwick-en.gif)
34
 
35
+ ## Examples
36
+
37
+ The examples in the app, with Deem-4B's answers on 1 October 2026. The Turkish and German versions get the same answers from Karar-4B and Wähler-4B ([every probability](https://huggingface.co/datasets/mertkayacs/jevalt-bench/blob/main/results/examples/space-examples.json)).
38
+
39
+ | Use case | Situation | Question | Answer |
40
+ |---|---|---|---|
41
+ | Support ticket | A customer was charged twice for March and wants a refund today | Which team should handle this ticket? | **Billing** 94.8% |
42
+ | Outage | Checkout returns error 500 for every customer, 43 orders failed in 10 minutes | How severe is this incident? | **Critical** 87.6% |
43
+ | Sales lead | Operations lead at a 200-person company: budget approved, decision this month, asks for a demo | How should sales treat this lead? | **Hot** 92.3% |
44
+ | Return window | Delivered on 1 September, 14 days to return, today is 18 September | Is this return within the 14-day window? (Reasoning on) | **No** 97.9% |
45
+ | Phishing email | A fake bank email with a hidden line telling the AI filter it is safe | Where should this email go? | **Quarantine** 94.3% |
46
+ | Missing info | A hotel guest arriving at 23:30 asks who will hand over the keys | Which room type did the guest book? | **unknown** 97.6% |
47
+ | Village fire | The barn is on fire and Mirka is trading at the market | What should Mirka do next? | **Help with the fire** 66.0% |
48
+
49
+ ## Call it from code
50
+
51
+ ```python
52
+ from gradio_client import Client
53
+ import json
54
+
55
+ request = {"state": "Hi, I was charged twice for my March subscription.",
56
+ "questions": {"team": {"type": "choice", "instructions": "Which team should handle this ticket?",
57
+ "criteria": {"billing": "payments, refunds", "technical": "bugs, outages", "sales": "prices"}}}}
58
+ print(Client("mertkayacs/JevAlt").predict(json.dumps(request), "en", api_name="/decide"))
59
+ ```
60
 
61
+ The request body is the same as TypeSafe's `/v1/systemone`. Run the models on your own machine in about 3 GB of RAM: [github.com/mertkayacs/jevalt](https://github.com/mertkayacs/jevalt). Project site: [jevalt.mertkayacs.com](https://jevalt.mertkayacs.com).