mertcobanov commited on
Commit
7604950
·
verified ·
1 Parent(s): 216f814

Ollaya package for PostHog/jeeves

Browse files
Files changed (4) hide show
  1. 9b/calibration.json +9 -0
  2. 9b/decision.json +92 -0
  3. 9b/model-fp32.onnx +3 -0
  4. README.md +44 -0
9b/calibration.json ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "temperature": [
3
+ 1.8589280843734741,
4
+ 1.8589280843734741,
5
+ 1.8589280843734741
6
+ ],
7
+ "temperature_by_options": {},
8
+ "source": "export.json temperature (one softmax temperature fitted on the dev set)"
9
+ }
9b/decision.json ADDED
@@ -0,0 +1,92 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "engine": "onnx",
3
+ "family": "jeeves",
4
+ "layout": "jeeves-markers-v1",
5
+ "upstream": {
6
+ "repo": "PostHog/jeeves",
7
+ "revision": "8622b7d1652a9dcb8629486b84dce9e8d690c5cd",
8
+ "code": {
9
+ "repo": "https://github.com/PostHog/jeeves",
10
+ "commit": "6151619c14fcffb2406830f09fd4f09fdd22200e"
11
+ },
12
+ "format": "markers-v3-plainchains",
13
+ "tokenizer": {
14
+ "repo": "jaredpalmer/kev-9b",
15
+ "revision": "2629c06a5aeb0feb3b9783bafed17ed8f39ecf5c",
16
+ "path": "tokenizer.json"
17
+ }
18
+ },
19
+ "contract": {
20
+ "inputs": {
21
+ "input_ids": {
22
+ "dtype": "int64",
23
+ "shape": [
24
+ "rows",
25
+ "seq"
26
+ ],
27
+ "note": "one row per question; seq a multiple of 64; right-pad with the pad id"
28
+ },
29
+ "decide_pos": {
30
+ "dtype": "int64",
31
+ "shape": [
32
+ "rows"
33
+ ],
34
+ "note": "the row's last position"
35
+ },
36
+ "opt_pos": {
37
+ "dtype": "int64",
38
+ "shape": [
39
+ "rows",
40
+ "k"
41
+ ],
42
+ "note": "option-close positions after </think>; shorter rows pad with 0"
43
+ }
44
+ },
45
+ "outputs": {
46
+ "scores": {
47
+ "dtype": "float32",
48
+ "shape": [
49
+ "rows",
50
+ "k"
51
+ ],
52
+ "note": "raw pointer scores"
53
+ }
54
+ },
55
+ "seq_multiple": 64,
56
+ "positions": "0..seq-1, implicit",
57
+ "attention": "causal; no mask input"
58
+ },
59
+ "template": {
60
+ "pre": "<|im_start|>user\n",
61
+ "post": "<|im_end|>\n<|im_start|>assistant\n<think>\n"
62
+ },
63
+ "markers": {
64
+ "state": "<|fim_prefix|>",
65
+ "question": "<|fim_middle|>",
66
+ "option_open": "<|box_start|>",
67
+ "option_close": "<|box_end|>",
68
+ "decide": "<|fim_suffix|>",
69
+ "think_end": "</think>"
70
+ },
71
+ "marker_ids": {
72
+ "state": 248060,
73
+ "question": 248061,
74
+ "option_open": 248049,
75
+ "option_close": 248050,
76
+ "decide": 248062,
77
+ "think_end": 248069
78
+ },
79
+ "empty_think": "\n",
80
+ "max_row_tokens": 8192,
81
+ "pad": 248044,
82
+ "min_options": 1,
83
+ "max_options": 255,
84
+ "option_logits": {
85
+ "choice": "scores[row, :k]",
86
+ "noul": "scores[row, :2] (0 = no = false, 1 = yes = true)",
87
+ "score": "scores[row, :levels]"
88
+ },
89
+ "opset": 20,
90
+ "precision": "fp32 compute; weights BF16 (widened by Cast); head F32",
91
+ "weights_in_memory": "bf16"
92
+ }
9b/model-fp32.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d171892404203e8c6a5a39a1aa51b38880fa0b19083ebf431bd50e6faaf31038
3
+ size 11093224
README.md ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - PostHog/jeeves
5
+ library_name: onnx
6
+ tags:
7
+ - ollaya
8
+ - onnx
9
+ - decision-model
10
+ - system-one
11
+ pipeline_tag: text-classification
12
+ ---
13
+
14
+ # jeeves for Ollaya
15
+
16
+ [Ollaya](https://github.com/ollaya-dev/ollaya) package of **[PostHog/jeeves](https://huggingface.co/PostHog/jeeves)** by PostHog (fused weights and pointer head) and the Qwen team (base model).
17
+ Ollaya runs open decision models locally, the way Ollama runs LLMs: typed questions in,
18
+ calibrated answers out, behind a TypeSafe-compatible API.
19
+
20
+ ```sh
21
+ ollaya run jeeves
22
+ ```
23
+
24
+ ## What is in this repository
25
+
26
+ This repository holds only the files Ollaya derives, with no weights. Each graph is an ONNX export of the
27
+ original model whose weights **reference the authors' own weight files by byte offset**,
28
+ so `ollaya pull` downloads the weights from the upstream repositories, unmodified and pinned to a
29
+ commit, and verifies their sha256.
30
+
31
+ | Tag | Upstream | Files |
32
+ |---|---|---|
33
+ | `jeeves:9b` | [PostHog/jeeves@8622b7d](https://huggingface.co/PostHog/jeeves/tree/8622b7d1652a9dcb8629486b84dce9e8d690c5cd) | `9b/model-fp32.onnx`, `9b/decision.json`, `9b/calibration.json` |
34
+
35
+ Each tag has an fp32 graph, used on CPU and GPU. Each tag also has `decision.json` (sequence layout, special tokens) and
36
+ `calibration.json` (temperatures).
37
+
38
+ ## Parity
39
+
40
+ Ollaya's Rust runtime matches the authors' own code (their Qwen3.5 model and pointer head, fp32, no thinking) on 430 questions from 107 requests, on CUDA: identical token rows and option positions, the same 16 rejected requests, the same decision on every question, scores within 1.9e-4 and probabilities within 1.4e-5.
41
+
42
+ ## License
43
+
44
+ Same as the upstream model (Apache-2.0). Ollaya itself is Apache-2.0.