ken-jo commited on
Commit
c4503db
·
verified ·
1 Parent(s): 1b801c0

Clarify QEV model card and unreleased SDK compatibility

Browse files

Documentation-only update; model and runtime artifacts unchanged.

Files changed (2) hide show
  1. README.md +76 -12
  2. checksums.json +1 -1
README.md CHANGED
@@ -3,6 +3,7 @@ license: apache-2.0
3
  base_model: Qwen/Qwen3.5-2B
4
  base_model_relation: adapter
5
  library_name: pytorch
 
6
  language:
7
  - multilingual
8
  tags:
@@ -11,6 +12,8 @@ tags:
11
  - dynamic-classification
12
  - qwen3_5
13
  - calibrated-decisions
 
 
14
  - custom-runtime
15
  datasets:
16
  - ken-jo/qev-data
@@ -37,6 +40,20 @@ Receive probabilities and a structured answer in one batched backbone forward.
37
 
38
  [Training data](https://huggingface.co/datasets/ken-jo/qev-data)
39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  ## Language support
41
 
42
  **Multilingual inputs** use Qwen3.5-2B's multilingual text backbone. The interface and
@@ -57,13 +74,12 @@ English-focused; equivalent accuracy across languages has not been established.
57
  | Precision | BF16 backbone and FP32 readouts on CUDA |
58
  | License | Apache-2.0 for code and adaptation; source-specific dataset licenses |
59
 
60
- Model version **0.1.1**, final Qwen-based research snapshot; Python SDK **0.2.1**. Previously developed as Veyra
61
- Workflow Recovery v13. This release changes the public identity and packaging, not the
62
- learned weights, candidate encoding, calibration or inference mathematics.
63
- QEV is independently maintained. Its design draws on LAYA's typed decision interface;
64
- its neural backbone and vision encoder come from Qwen3.5-2B. No LAYA checkpoint is
65
- merged into the weights. The released training recipe is supervised adaptation and
66
- calibration; it is not an RLCD-trained compact model.
67
 
68
  ## What it returns
69
 
@@ -105,15 +121,18 @@ aggregate performance is reported below.
105
 
106
  ## Quickstart
107
 
108
- Use Python 3.12 and the custom QEV runtime from the
109
- [release page](https://github.com/ken-jo/qev/releases). The checkpoint consists of an
110
- adaptation and decision heads; its Qwen backbone is downloaded separately.
111
 
112
  ```sh
113
- python -m pip install https://huggingface.co/ken-jo/qev/resolve/main/runtime/qev-0.2.1-py3-none-any.whl
114
  qev playground
115
  ```
116
 
 
 
 
117
  ```python
118
  from pathlib import Path
119
  from qev import load, DecisionRequest
@@ -151,6 +170,34 @@ path is resolved under that directory. Text can supply context or a policy for t
151
  Use the [API guide](https://github.com/ken-jo/qev/blob/main/docs/API.md) for score and noul
152
  schemas and the local HTTP server.
153
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
154
  The SDK includes the English playground and six sample photographs. `qev playground`
155
  opens a local server at http://127.0.0.1:7860. First use downloads about 4.6 GB of model
156
  files; subsequent launches use the persistent cache. Use `--offline` for a prepared cache.
@@ -188,7 +235,6 @@ for small text, tiny objects or spatial tasks.
188
 
189
  Returns probabilities, selected label/expected score/probability true, and abstention.
190
  Probabilities are estimates; a direction probability in a game is not a game-win probability.
191
- The trained prompt marker `VeyraResult:` and internal `veyra` package remain unchanged.
192
 
193
  ## QEV and LAYA: matched text evaluation
194
 
@@ -318,6 +364,24 @@ Historical stage flags in the unchanged manifest record when those stages were r
318
  The exact-model acceptance report and publication verification are separate evidence;
319
  packaging does not retroactively alter a stage's provenance.
320
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  ---
322
 
323
  [GitHub: ken-jo/qev](https://github.com/ken-jo/qev)
 
3
  base_model: Qwen/Qwen3.5-2B
4
  base_model_relation: adapter
5
  library_name: pytorch
6
+ pipeline_tag: image-text-to-text
7
  language:
8
  - multilingual
9
  tags:
 
12
  - dynamic-classification
13
  - qwen3_5
14
  - calibrated-decisions
15
+ - classification
16
+ - structured-output
17
  - custom-runtime
18
  datasets:
19
  - ken-jo/qev-data
 
40
 
41
  [Training data](https://huggingface.co/datasets/ken-jo/qev-data)
42
 
43
+ ## Highlights
44
+
45
+ - **Small and local:** 2.213B merged parameters. Measured on an RTX 4060 Ti 8 GB with the
46
+ model resident: p50 **77.70 ms** per text question (SDK) and p95 **114.94 ms** for a
47
+ photo question over local HTTP. Loading and network time are excluded.
48
+ - **Text, a photo, or both:** `choice`, ordered `score` and true/false `noul` in one request,
49
+ each answered with probabilities and an abstention flag. No generated answer text.
50
+ - **Matches a specialist on its own benchmark:** 77.00% on the 2,000-question typed-decisions
51
+ test, against 76.95% for LAYA Typed Decisions (paired 95% interval -1.85 to +1.95
52
+ points, so a tie rather than a win).
53
+ - **Honest limits:** LAYA's specialist has better probability quality (Brier, NLL, ECE) and
54
+ is faster on that benchmark, and QEV is behind it on zero-shot news and emotion. QEV has
55
+ not yet been run on a public decision leaderboard; see [Limitations](#limitations-and-negative-results).
56
+
57
  ## Language support
58
 
59
  **Multilingual inputs** use Qwen3.5-2B's multilingual text backbone. The interface and
 
74
  | Precision | BF16 backbone and FP32 readouts on CUDA |
75
  | License | Apache-2.0 for code and adaptation; source-specific dataset licenses |
76
 
77
+ Model version **0.1.1**, final Qwen-based research snapshot; Python SDK **0.2.1**. The
78
+ SDK release changes packaging, not the learned weights, candidate encoding, calibration or
79
+ inference mathematics. QEV is independently maintained; its neural backbone and vision
80
+ encoder come from Qwen3.5-2B, and no LAYA checkpoint is merged into the weights. The
81
+ released recipe is supervised adaptation and calibration, not RLCD. See
82
+ [Provenance](#provenance) for the model's earlier names and internal identifiers.
 
83
 
84
  ## What it returns
85
 
 
121
 
122
  ## Quickstart
123
 
124
+ Use Python 3.12. The checkpoint consists of an adaptation and decision heads; its Qwen
125
+ backbone is downloaded separately on first use. Tested on an RTX 4060 Ti 8 GB; CPU
126
+ inference is supported (FP32) and slower.
127
 
128
  ```sh
129
+ python -m pip install qev==0.2.1
130
  qev playground
131
  ```
132
 
133
+ A wheel for SDK 0.2.1 is also attached to this model repository under `runtime/`.
134
+ It is a separately built artifact; its checksum differs from the PyPI wheel.
135
+
136
  ```python
137
  from pathlib import Path
138
  from qev import load, DecisionRequest
 
170
  Use the [API guide](https://github.com/ken-jo/qev/blob/main/docs/API.md) for score and noul
171
  schemas and the local HTTP server.
172
 
173
+ ### Request format
174
+
175
+ | Field | Description |
176
+ | --- | --- |
177
+ | `state.text`, `state.images` | Text, and at most one image given as `{"path": ...}` under the server's image root |
178
+ | `questions` | 1-4 questions keyed by an ID you choose |
179
+ | `type` | `choice` (named options), `score` (ordered options) or `noul` (true/false) |
180
+ | `instructions` | What to decide |
181
+ | `criteria` | `choice`: option ID to description (2-16); `score`: ordered list (2-16); `noul`: optional `true`/`false` descriptions |
182
+
183
+ **Unreleased; source checkout only:** `POST /v1/systemone` (from `qev serve`) also accepts
184
+ a Jev/SystemOne-style body: a plain-string or structured JSON `state`, `instructions`
185
+ omitted (the question ID is used) and `"model": "qev"`. The published SDK **0.2.1** and
186
+ the attached 0.2.1 wheel require the native request format shown above.
187
+
188
+ State objects containing `text` or `images` use strict native validation; additional
189
+ fields are rejected instead of silently discarding an image. Other JSON states are
190
+ serialized to text. This covers the request shape only; it has not been checked against
191
+ the Jev service, images remain local paths, and the response is QEV's own.
192
+
193
+ ### Files
194
+
195
+ | File | Purpose |
196
+ | --- | --- |
197
+ | `head.safetensors`, `manifest.json` | Adaptation, readout heads, and the calibrated abstention policy (hashes below) |
198
+ | `runtime/qev-0.2.1-py3-none-any.whl` | Runtime, SDK, server and English playground |
199
+ | `examples/` | Photograph request, recorded response and provenance |
200
+
201
  The SDK includes the English playground and six sample photographs. `qev playground`
202
  opens a local server at http://127.0.0.1:7860. First use downloads about 4.6 GB of model
203
  files; subsequent launches use the persistent cache. Use `--offline` for a prepared cache.
 
235
 
236
  Returns probabilities, selected label/expected score/probability true, and abstention.
237
  Probabilities are estimates; a direction probability in a game is not a game-win probability.
 
238
 
239
  ## QEV and LAYA: matched text evaluation
240
 
 
364
  The exact-model acceptance report and publication verification are separate evidence;
365
  packaging does not retroactively alter a stage's provenance.
366
 
367
+ ## Provenance
368
+
369
+ QEV was previously developed as Veyra, and this checkpoint as Veyra Workflow Recovery v13.
370
+ The public rename did not change the weights. The trained prompt marker `VeyraResult:` and
371
+ the internal `veyra` package keep their original names because the learned model depends
372
+ on them; model ID `Qwen/Qwen3.5-2B` in the request contract identifies the actual base.
373
+
374
+ ## Citation
375
+
376
+ ```bibtex
377
+ @misc{qev_2026,
378
+ title = {{QEV}: A Calibrated Multimodal Decision Model on Qwen3.5-2B},
379
+ author = {{ken-jo}},
380
+ year = {2026},
381
+ howpublished = {\url{https://huggingface.co/ken-jo/qev}}
382
+ }
383
+ ```
384
+
385
  ---
386
 
387
  [GitHub: ken-jo/qev](https://github.com/ken-jo/qev)
checksums.json CHANGED
@@ -189,7 +189,7 @@
189
  "manifest.json": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d",
190
  "NOTICE": "4ed44977e49e772fc8d3e971f417fe14a7490d418d07c759e2cba0dfc52ed544",
191
  "publication.json": "b1452a1e57cbc6cdfcc6a7095552cb6c6f25b734eb1e96e442c260218bca60c9",
192
- "README.md": "97ca455a2014bde4aefe8380cb65a9f690ad09f2dbd91c25580f988ab443037f",
193
  "release-comparison/accuracy.png": "7da48ddd235642cd9e37807024abc85954d960419f3b5de52aa753f930eb9a45",
194
  "release-comparison/accuracy.svg": "84b4daceaecd169f8c937fda91c5589bf69f51ddc3e7f5c41d1b09de0eeee8c3",
195
  "release-comparison/comparison.json": "c5d3be2ba8cb68872c5d53fb4fad9f7954a56f8e79a9ff7fc66ce6fcc639f3dd",
 
189
  "manifest.json": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d",
190
  "NOTICE": "4ed44977e49e772fc8d3e971f417fe14a7490d418d07c759e2cba0dfc52ed544",
191
  "publication.json": "b1452a1e57cbc6cdfcc6a7095552cb6c6f25b734eb1e96e442c260218bca60c9",
192
+ "README.md": "af65ab9704867e93b10f06813d69e2c7ce94fc9f9e7e27a60b0f2f81cac46323",
193
  "release-comparison/accuracy.png": "7da48ddd235642cd9e37807024abc85954d960419f3b5de52aa753f930eb9a45",
194
  "release-comparison/accuracy.svg": "84b4daceaecd169f8c937fda91c5589bf69f51ddc3e7f5c41d1b09de0eeee8c3",
195
  "release-comparison/comparison.json": "c5d3be2ba8cb68872c5d53fb4fad9f7954a56f8e79a9ff7fc66ce6fcc639f3dd",