Release QEV 0.1.1: Qwen3.5-2B typed decisions
Browse filesAudited English release with exact runtime/weight provenance, source-specific data licenses and published limitations.
Files changed (10)
- README.md+72-3
- checksums.json+9-3
- examples/photograph/LICENSE.txtAdded+21
- examples/photograph/README.mdAdded+45
- examples/photograph/item.jpgAdded
- examples/photograph/provenance.jsonAdded+23
- examples/photograph/request.jsonAdded+41
- examples/photograph/response.jsonAdded+64
- publication.json+1-1
- runtime/qev-0.1.1-py3-none-any.whl
34 unmodified lines35363738394014 unmodified lines55565758596024 unmodified lines85868788899074 unmodified lines16516616716816917046 unmodified lines21721821922022122222322422534 unmodified lines[Training data](https://huggingface.co/datasets/ken-jo/qev-data)Version **0.1.1**, final Qwen-based research snapshot. Previously developed as VeyraWorkflow Recovery v13. This release changes the public identity and packaging, not thelearned weights, candidate encoding, calibration or inference mathematics.14 unmodified linesbetween requests. The output is computed directly from decision heads, so inference doesnot generate an answer sentence or a JSON string that needs parsing.## QuickstartUse Python 3.12 and the custom QEV runtime from the24 unmodified linesprint(result["answers"]["department"])```For a photo, set `state.images` to `[{"path": "item.jpg"}]`, describe the visual decisionin the question, and call `model.predict(request, Path("images").resolve())`. The imagepath is resolved under that directory. Text can supply context or a policy for the same image.74 unmodified lines[Full comparison, source revisions and zero-shot definitions](https://github.com/ken-jo/qev/blob/main/docs/LAYA_COMPARISON.md)· [Machine-readable evidence](https://github.com/ken-jo/qev/tree/main/reports/release-comparison)## Separate image and workflow evaluation| Fresh final metric | Veyra Foundation v11 (Qwen3.5-2B) | QEV 0.1.1 (Workflow Recovery v13) |46 unmodified linesevaluation. Calibration and abstention use separate recorded groups.Code/adaptation weights are Apache-2.0; dataset material retains its separate per-sourcelicenses. The model package does not contain original third-party training records orphotos. Eligible corpus snapshots are published separately, with CIFAR-10 excluded pendingredistribution rights. Read the repository's data and training documentation.## Integrity and loading34 unmodified lines3536373839404142434445464748495051525314 unmodified lines686970717273747576777879808182838485868788899091929394959697989924 unmodified lines12412512612712812913013113213313413513613713813914014174 unmodified lines21621721821922022122222322422522622722822923023123223323423523623723846 unmodified lines28528628728828929029129229329434 unmodified lines[Training data](https://huggingface.co/datasets/ken-jo/qev-data)## At a glance| | QEV 0.1.1 || --- | --- || Evidence | Text, one photo, or text and a photo together || Decision types | `choice`, ordered `score`, and true/false `noul` || Request limits | 1-4 questions; 2-16 choice/score candidates; 2,048 processed tokens || Inference | One batched backbone forward; zero generated answer tokens || Base model | Qwen3.5-2B, with its vision encoder frozen || Full model / adaptation | 2.213B merged parameters / 7.992M stored adapter and head parameters || Precision | BF16 backbone and FP32 readouts on CUDA || License | Apache-2.0 for code and adaptation; source-specific dataset licenses |Version **0.1.1**, final Qwen-based research snapshot. Previously developed as VeyraWorkflow Recovery v13. This release changes the public identity and packaging, not thelearned weights, candidate encoding, calibration or inference mathematics.14 unmodified linesbetween requests. The output is computed directly from decision heads, so inference doesnot generate an answer sentence or a JSON string that needs parsing.## One photo, three decisionsRecognize a material, apply your own handling policy, and evaluate a proposition in thesame request. The example below is an existing release verification fixture with itsactual recorded output.<img src="https://huggingface.co/ken-jo/qev/resolve/main/examples/photograph/item.jpg" alt="TrashNet verification photograph of a plastic bottle" width="420" />| Question | Definition supplied with the request | QEV's recorded answer || --- | --- | --- || `choice` | Choose among cardboard, glass, metal, paper, plastic and trash | Plastic (`c4`), probability **0.9361** || `score` | Band 0: glass/plastic; band 1: metal/trash; band 2: cardboard/paper | Expected level **0.4254** on the 0-2 scale; most likely band 0, probability **0.6978** || `noul` | Does the item belong to glass, paper or plastic? | Probability true **0.7903** |All three answers were accepted by the released abstention policy. They used one batchedforward and generated zero answer tokens. An expected level is a weighted average overthe ordered levels. The probability on a single fixture is not an accuracy measurement.[Exact request](https://huggingface.co/ken-jo/qev/blob/main/examples/photograph/request.json)· [Full recorded response](https://huggingface.co/ken-jo/qev/blob/main/examples/photograph/response.json)· [Reproduction and provenance](https://github.com/ken-jo/qev/tree/main/examples/photograph)Photo: TrashNet, Gary Thung, MIT. Image bytes and the original verification questiondefinitions are preserved. This previously inspected example illustrates the interface;aggregate performance is reported below.## QuickstartUse Python 3.12 and the custom QEV runtime from the24 unmodified linesprint(result["answers"]["department"])```Recorded output for this request, shortened:```json{"type": "choice","choice": "billing","probabilities": {"billing": 0.974044, "technical": 0.025956},"confidence": 0.974044,"abstained": false}```For a photo, set `state.images` to `[{"path": "item.jpg"}]`, describe the visual decisionin the question, and call `model.predict(request, Path("images").resolve())`. The imagepath is resolved under that directory. Text can supply context or a policy for the same image.74 unmodified lines[Full comparison, source revisions and zero-shot definitions](https://github.com/ken-jo/qev/blob/main/docs/LAYA_COMPARISON.md)· [Machine-readable evidence](https://github.com/ken-jo/qev/tree/main/reports/release-comparison)## Accuracy and the decisions acceptedQEV reports an abstention flag from its released fitted policy. An application can routeflagged requests for review. The table shows both the whole evaluation and the portionaccepted by that policy, with no threshold retuning for these measurements.| Evaluation | Accuracy on all questions | Questions accepted | Accuracy among accepted questions || --- | ---: | ---: | ---: || Typed-decisions, 2,000 questions | 77.00% | 30.80% | 94.32% || AG News, 400 questions | 82.50% | 98.00% | 83.16% || DAIR Emotion, 400 questions | 50.25% | 63.75% | 60.78% |Coverage and reliability change substantially across tasks. The 94.32% figure appliesonly to the accepted typed-decisions subset. It is not the accuracy of all requests ora guarantee for a new workflow. The `abstained` field is a policy decision based on modelconfidence; QEV does not return a separately trained `unknown_probability` class.## Separate image and workflow evaluation| Fresh final metric | Veyra Foundation v11 (Qwen3.5-2B) | QEV 0.1.1 (Workflow Recovery v13) |46 unmodified linesevaluation. Calibration and abstention use separate recorded groups.Code/adaptation weights are Apache-2.0; dataset material retains its separate per-sourcelicenses. The model package includes one MIT-licensed verification photograph with itssource notice and request. Training corpus snapshots are published separately, withCIFAR-10 excluded pending redistribution rights. Read the repository's data and trainingdocumentation.## Integrity and loading
174 unmodified lines1751761771781791801811821831841851861877 unmodified lines195196197198199200174 unmodified lines"evidence/src/veyra/workflow_facts.py": "db5f21b92c9e36e2592a1421b343d3341c79b4d8a9056f96de7ddc170a7c2a2f","evidence/src/veyra/workflow_learning.py": "37cdb8d9d375938a5ac1a26ef53f1ccad949f141e2406caf232dab4df70a02d7","evidence/src/veyra/workflow_release_gate.py": "15f35e7da02e68f4e1b4c82a3974ea95ea53603b9a49e09727d1151f8a71ad5d","head.safetensors": "84b57aeeb987f73416ac0f796150957d1c5beb1ed373733053e46438f77a8fee","LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","load_qev.py": "cf2c6a95174776fe0819daf420f92d89886ba6f415f2fc2fcec0d125d73342b4","manifest.json": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d","NOTICE": "4ed44977e49e772fc8d3e971f417fe14a7490d418d07c759e2cba0dfc52ed544","publication.json": "3581af624bd57c0c996143d574b769faae94a7e026530fc95bccf6ca5c1a0170","README.md": "a119c52fe1af33f1c31f0fd1a302de7667197a7dc9eea4bcffce55ce522b49fa","release-comparison/accuracy.png": "7da48ddd235642cd9e37807024abc85954d960419f3b5de52aa753f930eb9a45","release-comparison/accuracy.svg": "84b4daceaecd169f8c937fda91c5589bf69f51ddc3e7f5c41d1b09de0eeee8c3","release-comparison/comparison.json": "c5d3be2ba8cb68872c5d53fb4fad9f7954a56f8e79a9ff7fc66ce6fcc639f3dd",7 unmodified lines"reproducibility/pyproject.toml": "f6f4565bdc1d436c36039739932c0db738045bb2fcd033ccb80dce5720625a9d","reproducibility/uv.lock": "de3e551419caea5807b3b7f5239a7404a26f806a0b2bbfbee0737cc88734672f","ROADMAP.md": "e75b8884c5555cba092dde0ac25bfb0448ff5964d8bae75067b8c854b1fe35a6","runtime/qev-0.1.1-py3-none-any.whl": "087fe3947e121d5a34793e6f3bc846371290891b2debb9d0f90c3b65a978f78b","sample_request.json": "db4c34b18ec8b1d0bcd2af48fd2b8be5636b67d2194d26492fc2f647f52b7cb1"}174 unmodified lines1751761771781791801811821831841851861871881891901911921937 unmodified lines201202203204205206174 unmodified lines"evidence/src/veyra/workflow_facts.py": "db5f21b92c9e36e2592a1421b343d3341c79b4d8a9056f96de7ddc170a7c2a2f","evidence/src/veyra/workflow_learning.py": "37cdb8d9d375938a5ac1a26ef53f1ccad949f141e2406caf232dab4df70a02d7","evidence/src/veyra/workflow_release_gate.py": "15f35e7da02e68f4e1b4c82a3974ea95ea53603b9a49e09727d1151f8a71ad5d","examples/photograph/item.jpg": "00e0bbcc0a75007fb79cb8e2e96a48c3d32941ee9ae8918590f846261d5aaac1","examples/photograph/LICENSE.txt": "e33347ae1589c1c7d7de5cf2e433e6c8060256273c7287a29d7c6e1e45c466f1","examples/photograph/provenance.json": "38d44088e751be9ffdc4e893befe2b1fac5bd0672dd14aae91fa48a5809ead0b","examples/photograph/README.md": "4c683af83e8de5aa6890419f9f570ede314b0fb28009327f05332b6fe6dca497","examples/photograph/request.json": "4c91ad23d276a5e046fc45b505cd119d894f6f7cfc943afc78554f4a89893f64","examples/photograph/response.json": "963c9d7e7e8c0f6c89110019c9dcd163dd27e1f565a562c772891725fc7b2ccf","head.safetensors": "84b57aeeb987f73416ac0f796150957d1c5beb1ed373733053e46438f77a8fee","LICENSE": "c71d239df91726fc519c6eb72d318ec65820627232b2f796219e87dcf35d0ab4","load_qev.py": "cf2c6a95174776fe0819daf420f92d89886ba6f415f2fc2fcec0d125d73342b4","manifest.json": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d","NOTICE": "4ed44977e49e772fc8d3e971f417fe14a7490d418d07c759e2cba0dfc52ed544","publication.json": "06a4e9551b414f21da11d4c2f86cee0ad6e607e8151be661ef5bda12d410409b","README.md": "083262cdf22b88bcee6003569afbd60beb971757a6b68bd4ceb03c2058af66ce","release-comparison/accuracy.png": "7da48ddd235642cd9e37807024abc85954d960419f3b5de52aa753f930eb9a45","release-comparison/accuracy.svg": "84b4daceaecd169f8c937fda91c5589bf69f51ddc3e7f5c41d1b09de0eeee8c3","release-comparison/comparison.json": "c5d3be2ba8cb68872c5d53fb4fad9f7954a56f8e79a9ff7fc66ce6fcc639f3dd",7 unmodified lines"reproducibility/pyproject.toml": "f6f4565bdc1d436c36039739932c0db738045bb2fcd033ccb80dce5720625a9d","reproducibility/uv.lock": "de3e551419caea5807b3b7f5239a7404a26f806a0b2bbfbee0737cc88734672f","ROADMAP.md": "e75b8884c5555cba092dde0ac25bfb0448ff5964d8bae75067b8c854b1fe35a6","runtime/qev-0.1.1-py3-none-any.whl": "f1f4c54175ce213e98399cc8a3db91298e25aa1450f2306195614c80c87da8a2","sample_request.json": "db4c34b18ec8b1d0bcd2af48fd2b8be5636b67d2194d26492fc2f647f52b7cb1"}
123456789101112131415161718192021MIT License
Copyright (c) 2017 Gary Thung
Permission is hereby granted, free of charge, to any person obtaining a copyof this software and associated documentation files (the "Software"), to dealin the Software without restriction, including without limitation the rightsto use, copy, modify, merge, publish, distribute, sublicense, and/or sellcopies of the Software, and to permit persons to whom the Software isfurnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in allcopies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS ORIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THEAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHERLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THESOFTWARE.123456789101112131415161718192021222324252627282930313233343536373839404142434445# One photograph, three typed decisions
This example is the existing release verification photograph, published with its actualrecorded probabilities. It was the first sorted test photograph used by the packageverification script, before this introduction was written. It is a previously inspectedfixture, not a new held-out accuracy estimate.

## Run
From the source repository, after installing the QEV runtime and downloading the pinnedmodel as described in the main README:
```shqev predict --checkpoint checkpoints/qev --request examples/photograph/request.json```
The image path resolves relative to `request.json`. The request combines all three types;the released runtime batches them into one backbone forward. Compare the output with`response.json`. GPU precision and library changes may affect floating-point values.
## Read the response
| Type | Recorded interpretation || --- | --- || `choice` | `c4` means plastic in this request; its probability is 0.936123. || `score` | Band 0 means glass/plastic, band 1 metal/trash, band 2 cardboard/paper. The expected zero-based level is 0.425389; the most likely band is 0 with probability 0.697841. || `noul` | The proposition is membership in glass, paper or plastic. Probability true is 0.790313. |
All three returned `abstained: false`. The full response retains every candidateprobability and the legacy internal model identifier. QEV's package branding does notchange these verified inference outputs.
## Source and integrity
- Image: TrashNet, copyright (c) 2017 Gary Thung, MIT; full notice in `LICENSE.txt`.- Original project: https://github.com/garythung/trashnet- Downloaded source: https://www.kaggle.com/datasets/vminhkhoi/trashnet, version 1.- The original image bytes, state text and three typed question definitions are unchanged.- `provenance.json` records the source rows, hashes and verification scope.- `response.json` comes from `release/model-inference.json` in this repository.
`c0` through `c5` are request-local identifiers. Their meanings are supplied in thecandidate descriptions; they are not a permanent material taxonomy in the model.1234567891011121314151617181920212223{
"source": {
"id": "vminhkhoi/trashnet",
"revision": "kaggle-version-1",
"license": "MIT",
"url": "https://www.kaggle.com/datasets/vminhkhoi/trashnet",
"upstream_split": "unsplit"
},
"source_group_id": "trashnet:00e0bbcc0a75007fb79cb8e2",
"image_sha256": "00e0bbcc0a75007fb79cb8e2e96a48c3d32941ee9ae8918590f846261d5aaac1",
"source_record_ids": [
"waste:00e0bbcc0a75007fb79cb8e2:policy",
"waste:00e0bbcc0a75007fb79cb8e2:proposition",
"waste:00e0bbcc0a75007fb79cb8e2:recognition"
],
"image_modified": false,
"fixture_selection": "First sorted test photograph in the existing package verification; not selected for this page based on prediction confidence.",
"evaluation_scope": "Previously inspected verification fixture; not an independent accuracy estimate.",
"weights_sha256": "84b57aeeb987f73416ac0f796150957d1c5beb1ed373733053e46438f77a8fee",
"manifest_sha256": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d",
"verification_report": "release/model-inference.json",
"request_changes": "Image file relocated to item.jpg; image bytes, state text, question names and candidate descriptions preserve the verification request."
}1234567891011121314151617181920212223242526272829303132333435363738394041{
"state": {
"text": "Use the photograph as evidence about the visible item.",
"images": [
{
"path": "item.jpg"
}
]
},
"questions": {
"score": {
"type": "score",
"instructions": "Apply the supplied priority policy to the evidence. The band meanings are specific to this request.",
"criteria": [
"Priority band 0: The item belongs to the glass material category. OR The item belongs to the plastic material category.",
"Priority band 1: The item belongs to the metal material category. OR The item belongs to the trash material category.",
"Priority band 2: The item belongs to the cardboard material category. OR The item belongs to the paper material category."
]
},
"noul": {
"type": "noul",
"instructions": "Does the evidence satisfy any of these descriptions? The item belongs to the glass material category. OR The item belongs to the paper material category. OR The item belongs to the plastic material category.",
"criteria": {
"true": "The proposition is true.",
"false": "The proposition is false."
}
},
"choice": {
"type": "choice",
"instructions": "Which description best matches the evidence?",
"criteria": {
"c0": "The item belongs to the cardboard material category.",
"c1": "The item belongs to the glass material category.",
"c2": "The item belongs to the metal material category.",
"c3": "The item belongs to the paper material category.",
"c4": "The item belongs to the plastic material category.",
"c5": "The item belongs to the trash material category."
}
}
}
}12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364{
"model": "veyra-qwen3.5-2b",
"architecture": "option_readout",
"decision_views": 1,
"backbone": {
"model_id": "Qwen/Qwen3.5-2B",
"revision": "15852e8c16360a2fea060d615a32b45270f8a8fc"
},
"answers": {
"score": {
"type": "score",
"probabilities": {
"0": 0.6978408694267273,
"1": 0.17892900109291077,
"2": 0.12323009967803955
},
"confidence": 0.6978408694267273,
"confidence_definition": "maximum_candidate_probability",
"calibrated": true,
"abstained": false,
"abstention_policy_fitted": true,
"score": 0.42538920044898987,
"legend": {
"0": "Priority band 0: The item belongs to the glass material category. OR The item belongs to the plastic material category.",
"1": "Priority band 1: The item belongs to the metal material category. OR The item belongs to the trash material category.",
"2": "Priority band 2: The item belongs to the cardboard material category. OR The item belongs to the paper material category."
}
},
"noul": {
"type": "noul",
"probabilities": {
"false": 0.20968711376190186,
"true": 0.7903128862380981
},
"confidence": 0.7903128862380981,
"confidence_definition": "maximum_candidate_probability",
"calibrated": true,
"abstained": false,
"abstention_policy_fitted": true,
"noul": 0.7903128862380981
},
"choice": {
"type": "choice",
"probabilities": {
"c0": 0.0069309379905462265,
"c1": 0.008959797210991383,
"c2": 0.017233500257134438,
"c3": 0.006411705166101456,
"c4": 0.9361229538917542,
"c5": 0.02434111386537552
},
"confidence": 0.9361229538917542,
"confidence_definition": "maximum_candidate_probability",
"calibrated": true,
"abstained": false,
"abstention_policy_fitted": true,
"choice": "c4"
}
},
"usage": {
"input_tokens": 1103,
"output_tokens": 0
}
}5 unmodified lines67891011125 unmodified lines"base_revision": "15852e8c16360a2fea060d615a32b45270f8a8fc","weights_sha256": "84b57aeeb987f73416ac0f796150957d1c5beb1ed373733053e46438f77a8fee","manifest_sha256": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d","runtime_wheel_sha256": "087fe3947e121d5a34793e6f3bc846371290891b2debb9d0f90c3b65a978f78b","preserved_runtime_modules": 38,"original_prepared_checksums_sha256": "57a628ab1dbfa8526e8025a39ad1a922ae5c34b7535528f858b38917a4b4478d","original_acceptance_preserved": true,5 unmodified lines67891011125 unmodified lines"base_revision": "15852e8c16360a2fea060d615a32b45270f8a8fc","weights_sha256": "84b57aeeb987f73416ac0f796150957d1c5beb1ed373733053e46438f77a8fee","manifest_sha256": "d83f9910196c6e801658ca3816c3d2bd4a849ba3da6ff059a0edf7c6028e898d","runtime_wheel_sha256": "f1f4c54175ce213e98399cc8a3db91298e25aa1450f2306195614c80c87da8a2","preserved_runtime_modules": 38,"original_prepared_checksums_sha256": "57a628ab1dbfa8526e8025a39ad1a922ae5c34b7535528f858b38917a4b4478d","original_acceptance_preserved": true,
README.md+72-3
checksums.json+9-3
examples/photograph/LICENSE.txtAdded+21
examples/photograph/README.mdAdded+45
examples/photograph/item.jpgAdded

examples/photograph/provenance.jsonAdded+23
examples/photograph/request.jsonAdded+41
examples/photograph/response.jsonAdded+64
publication.json+1-1
runtime/qev-0.1.1-py3-none-any.whl