AustinFu commited on
Commit
54a0dbf
·
verified ·
1 Parent(s): 6b5eea0

Release Qev-9B v0.1.0: final late1783 checkpoint

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/tokenizer.json filter=lfs diff=lfs merge=lfs -text
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright 2026 Jared Palmer
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
NOTICE ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ Qev
2
+ Copyright 2026 Qev contributors
3
+
4
+ Qev is a Qwen-based decision-model research implementation. It was developed as
5
+ BranchKev before extraction into this repository. The selective extraction and
6
+ source-file hashes are recorded in provenance.json.
7
+
8
+ This project adapts conventions and implementation ideas from Kev:
9
+ https://github.com/jaredpalmer/kev
10
+ Reviewed revision: 557598fced1dada75dfbf36ed144dce309ac6ceb
11
+ Copyright 2026 Jared Palmer
12
+ Licensed under the Apache License, Version 2.0.
13
+
14
+ Adapted components include the reserved Qwen delimiter convention, text rendering
15
+ conventions, LoRA target selection, and the inference cache-fork approach.
16
+ Qev's candidate-tree encoding, set decision head, data adapters, and training
17
+ runner are maintained separately. Files extracted for this release were renamed
18
+ and modified for standalone Qev packaging, portable checkpoints and user-data
19
+ training. The original Kev attribution is retained in LICENSE and this notice.
20
+
21
+ Qwen models and Hugging Face Transformers are external dependencies. The optional
22
+ JevBench preparer downloads an independently versioned MIT-licensed upstream
23
+ snapshot from https://github.com/fstandhartinger/jevbench and retains its license.
24
+ No Qwen base weights or original benchmark questions are redistributed in Git.
25
+
26
+ Model weights and datasets retain their respective terms. This source-code
27
+ license does not relicense third-party datasets or imply that the full research
28
+ training corpus is included.
README.md ADDED
@@ -0,0 +1,134 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model: Qwen/Qwen3.5-9B-Base
4
+ base_model_relation: adapter
5
+ language:
6
+ - en
7
+ - zh
8
+ tags:
9
+ - qev
10
+ - qwen3_5
11
+ - lora
12
+ - decision-model
13
+ - choice
14
+ - noul
15
+ - score
16
+ metrics:
17
+ - accuracy
18
+ ---
19
+
20
+ <p align="center">
21
+ <img src="https://raw.githubusercontent.com/QiqianFu/Qev/main/assets/banner.svg" alt="Qev — decisions, grounded in Qwen" width="100%">
22
+ </p>
23
+
24
+ # Qev-9B
25
+
26
+ **Qev fine-tunes Qwen into a decision model.** Give it context, a question, and answer options; receive a decision and a probability for each option. One model supports **Choice**, **Noul** (yes/no), and **Score** (ordered ratings).
27
+
28
+ [Source and documentation](https://github.com/QiqianFu/Qev) · [中文说明](https://github.com/QiqianFu/Qev/blob/main/README.zh-CN.md) · [Model weights](https://huggingface.co/AustinFu/Qev-9B)
29
+
30
+ This is the **v0.1.0** release of the final Qev-9B research checkpoint: seed 17, step 2327, with the late1783 training mixture repeated three times during the final half of training. It is the full-interaction baseline A used in the architecture ablations.
31
+
32
+ ## Quick start
33
+
34
+ Use Python 3.12 and install a hardware-compatible PyTorch 2.8.0 build, then install Qev from its source repository:
35
+
36
+ ```bash
37
+ git clone https://github.com/QiqianFu/Qev.git
38
+ cd Qev
39
+ python -m pip install -e .
40
+ ```
41
+
42
+ ```python
43
+ from qev import Qev
44
+
45
+ model = Qev.from_pretrained(
46
+ "AustinFu/Qev-9B", revision="v0.1.0", device="cuda"
47
+ )
48
+ answers = model.predict({
49
+ "state": "I was charged twice. Please help immediately.",
50
+ "questions": {
51
+ "department": {
52
+ "type": "choice",
53
+ "instructions": "Which team should handle this?",
54
+ "criteria": {"billing": "Charges and refunds", "shipping": "Delivery problems"},
55
+ }
56
+ },
57
+ })
58
+ print(answers["department"]["choice"])
59
+ print(answers["department"]["probabilities"])
60
+ ```
61
+
62
+ The Qev loader downloads this checkpoint and the pinned Qwen base separately. Use the Qev Python or JSONL interface to load the adapter, decision head, and interaction gate together. The default execution uses shared-prefix caching. [All three task formats](https://github.com/QiqianFu/Qev/blob/main/examples/requests.jsonl).
63
+
64
+ For JSONL inference:
65
+
66
+ ```bash
67
+ python -m qev.predict \
68
+ --checkpoint AustinFu/Qev-9B@v0.1.0 \
69
+ --input examples/requests.jsonl --out runs/predictions.jsonl \
70
+ --device cuda --weights-dtype checkpoint
71
+ ```
72
+
73
+ ## Architecture and training
74
+
75
+ <p align="center">
76
+ <img src="https://raw.githubusercontent.com/QiqianFu/Qev/main/assets/architecture.svg" alt="Qev encodes context, questions and answer options, then scores the options with its decision head." width="100%">
77
+ </p>
78
+
79
+ | Field | Released model |
80
+ |---|---|
81
+ | Base | Qwen/Qwen3.5-9B-Base |
82
+ | Base revision | `68c46c4b3498877f3ef123c856ecfde50c39f404` |
83
+ | Adaptation | LoRA rank 64, alpha 128; learned decision head and interaction gate |
84
+ | Decision head | Shared 4096→256 projection; two 4-head Transformer layers; scalar scorer |
85
+ | Backbone interaction | `last-full-attention` |
86
+ | Computation | BF16 backbone; FP32 decision head and key reductions |
87
+ | Stored adaptation tensors | FP32 |
88
+ | Main training partition | 34,546 records |
89
+ | Late partition | 1,419 alignment records + 364 rule-compliance judgments |
90
+ | Training schedule | Two epochs, global batch 32, seed 17 |
91
+ | Late mixing | Starts halfway through main training; late examples repeat three times |
92
+ | Selected checkpoint | Step 2327 |
93
+
94
+ The checkpoint was called BranchKev during research. Its run ID is `c21-science-wk-late1783-9b-4gpu-r64-late50x3-s17`. The main and late partitions intentionally share 249 replay records. The complete research training corpus is not distributed with this release. [Training guide](https://github.com/QiqianFu/Qev/blob/main/docs/training.md) · [Data recipe](https://github.com/QiqianFu/Qev/blob/main/docs/data.md).
95
+
96
+ ## Evaluation
97
+
98
+ **Qev-9B uses BF16 backbone computation; Kev-9B uses FP32.**
99
+
100
+ <p align="center">
101
+ <img src="https://raw.githubusercontent.com/QiqianFu/Qev/main/assets/evaluation.svg" alt="Qev and Kev accuracy on seven benchmarks." width="100%">
102
+ </p>
103
+
104
+ | Benchmark | Jev (reference) | Qwen3.5-9B-Base | Qev-9B | Kev-9B |
105
+ |---|---:|---:|---:|---:|
106
+ | Decision development · clean | 84.49 | 77.69 | **87.42** | 87.18 |
107
+ | Transfer development · clean | 85.67 | 74.39 | **83.99** | 82.16 |
108
+ | MMLU-Pro · 1,000 | 83.50 | 50.40 | **54.60** | 51.10 |
109
+ | SemIf · 144 handwritten | 96.53 | 90.28 | **93.75** | 90.97 |
110
+ | scienthoon · 873 | 75.26 | 68.84 | 72.28 | **75.49** |
111
+ | WANLI · 256 | 75.78 | 67.97 | **72.66** | 70.31 |
112
+ | JevBench public · 231 | 85.71 | 75.76 | **81.39** | 75.76 |
113
+
114
+ Accuracy (%). Bold compares Qev with Kev. JevBench is public-set accuracy: Qev answers 188 of 231 questions correctly. It is not the official JevBench composite score.
115
+
116
+ These are the recorded results for the released checkpoint, using full causal reference execution. The selected model is a single seed, and public benchmarks were observed during research iteration. The comparisons do not isolate architecture gains. [Results, sources, and reproduction commands](https://github.com/QiqianFu/Qev/blob/main/docs/evaluation.md).
117
+
118
+ ## Files
119
+
120
+ The approximately 690 MiB inference package contains:
121
+
122
+ - `adapter/`: LoRA configuration and weights.
123
+ - `head.safetensors` and `joint.safetensors`: decision head and interaction gate.
124
+ - `model.json` and `tokenizer/`: Qev configuration and tokenizer.
125
+ - `SHA256SUMS.json`: hashes of the seven inference files.
126
+ - `provenance.json`, `training_config.json`, and `benchmarks.json`: checkpoint identity, training configuration, and recorded results.
127
+
128
+ The adaptation tensors are byte-identical to the selected research checkpoint. Qwen base weights are fetched separately at the revision above. Optimizer state is excluded; initialize new fine-tuning with `--init-checkpoint AustinFu/Qev-9B@v0.1.0`.
129
+
130
+ ## Intended use and license
131
+
132
+ Qev supports research and development of routing, rule judgments, and rubric ratings over explicit options. Evaluate it on your application's inputs and decision thresholds. Probabilities depend on the supplied options; calibration and production reliability have not been established.
133
+
134
+ The released Qev adaptation weights and Qev code use Apache-2.0. The Qwen base is separately available under Apache-2.0. Source datasets retain their respective terms. Qev builds on Qwen and adapts conventions from [Jared Palmer's Kev](https://github.com/jaredpalmer/kev); attribution is retained in the included `LICENSE` and `NOTICE`.
SHA256SUMS.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "source_model_json_sha256": "41af1fd1aae6fb7e6d1d325795cc7bc46c202820c80b38c04afec8f49a240e63",
3
+ "files": {
4
+ "adapter/adapter_config.json": "3e8ecebad2f7bf7b983fa3d40e8fae4749fa4923150231b41b9ad9a11c74baa3",
5
+ "adapter/adapter_model.safetensors": "54314a19f8f9c45fce24f04e14c3615fb1b43be13e231b51a060e9f88d4c57f4",
6
+ "head.safetensors": "6640fcc2045f21e0a0edb4d80d797c2134d160cebba662885cde04efeaafb91c",
7
+ "joint.safetensors": "6020d9fde51efc8f12f089fbe10b5f738c00ddf59c8df738ca0eb1edb344a979",
8
+ "model.json": "3bd2d22791d94410fc6a30df3653cdd128c5a73da8f5671b8f787b0d4d99b094",
9
+ "tokenizer/tokenizer.json": "06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523",
10
+ "tokenizer/tokenizer_config.json": "353c083805d863719e54973335a38e252a92e1ac64d32b83bb0b333cc1644ef2"
11
+ }
12
+ }
adapter/adapter_config.json ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "alora_invocation_tokens": null,
3
+ "alpha_pattern": {},
4
+ "arrow_config": null,
5
+ "auto_mapping": null,
6
+ "base_model_name_or_path": "Qwen/Qwen3.5-9B-Base",
7
+ "bias": "none",
8
+ "corda_config": null,
9
+ "ensure_weight_tying": false,
10
+ "eva_config": null,
11
+ "exclude_modules": null,
12
+ "fan_in_fan_out": false,
13
+ "inference_mode": true,
14
+ "init_lora_weights": true,
15
+ "kasa_config": null,
16
+ "layer_replication": null,
17
+ "layers_pattern": null,
18
+ "layers_to_transform": null,
19
+ "loftq_config": {},
20
+ "lora_alpha": 128,
21
+ "lora_bias": false,
22
+ "lora_dropout": 0.0,
23
+ "lora_ga_config": null,
24
+ "megatron_config": null,
25
+ "megatron_core": "megatron.core",
26
+ "modules_to_save": null,
27
+ "monteclora_config": null,
28
+ "peft_type": "LORA",
29
+ "peft_version": "0.21.0",
30
+ "qalora_group_size": 16,
31
+ "r": 64,
32
+ "rank_pattern": {},
33
+ "revision": "68c46c4b3498877f3ef123c856ecfde50c39f404",
34
+ "target_modules": [
35
+ "out_proj",
36
+ "k_proj",
37
+ "v_proj",
38
+ "down_proj",
39
+ "gate_proj",
40
+ "in_proj_qkv",
41
+ "in_proj_a",
42
+ "in_proj_b",
43
+ "up_proj",
44
+ "q_proj",
45
+ "in_proj_z",
46
+ "o_proj"
47
+ ],
48
+ "target_parameters": null,
49
+ "task_type": "FEATURE_EXTRACTION",
50
+ "trainable_token_indices": null,
51
+ "use_bdlora": null,
52
+ "use_dora": false,
53
+ "use_qalora": false,
54
+ "use_rslora": false,
55
+ "velora_config": null
56
+ }
adapter/adapter_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54314a19f8f9c45fce24f04e14c3615fb1b43be13e231b51a060e9f88d4c57f4
3
+ size 692518608
benchmarks.json ADDED
@@ -0,0 +1,259 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "date": "2026-09-28",
3
+ "metric": "argmax_accuracy",
4
+ "models": {
5
+ "jev": {
6
+ "description": "Hosted service; JevBench tested locally at Jev 1.13.0, other suites from Kev authors"
7
+ },
8
+ "kev_9b": {
9
+ "revision": "2629c06a",
10
+ "code_revision": "557598fced1dada75dfbf36ed144dce309ac6ceb",
11
+ "dtype": "fp32",
12
+ "temperature": 1.0,
13
+ "source": "JevBench locally rerun; other suites from author reports"
14
+ },
15
+ "qev_9b": {
16
+ "base": "Qwen/Qwen3.5-9B-Base",
17
+ "base_revision": "68c46c4b3498877f3ef123c856ecfde50c39f404",
18
+ "research_name": "BranchKev",
19
+ "run": "c21-science-wk-late1783-9b-4gpu-r64-late50x3-s17",
20
+ "step": 2327,
21
+ "dtype": "bf16",
22
+ "execution": "reference",
23
+ "seed": 17,
24
+ "temperature": 1.0
25
+ },
26
+ "qwen35_9b_base": {
27
+ "description": "Frozen native LM head; zero-shot candidate code probabilities",
28
+ "dtype": "bf16"
29
+ }
30
+ },
31
+ "results": {
32
+ "decision_dev_all": {
33
+ "total": 1468,
34
+ "models": {
35
+ "jev": {
36
+ "correct": 1221,
37
+ "accuracy": 0.8317438692098093
38
+ },
39
+ "kev_9b": {
40
+ "correct": 1289,
41
+ "accuracy": 0.8780653950953679
42
+ },
43
+ "qev_9b": {
44
+ "correct": 1296,
45
+ "accuracy": 0.8828337874659401
46
+ },
47
+ "qwen35_9b_base": {
48
+ "correct": 1112,
49
+ "accuracy": 0.7574931880108992
50
+ }
51
+ }
52
+ },
53
+ "decision_dev_clean": {
54
+ "total": 1264,
55
+ "models": {
56
+ "jev": {
57
+ "correct": 1068,
58
+ "accuracy": 0.8449367088607594
59
+ },
60
+ "kev_9b": {
61
+ "correct": 1102,
62
+ "accuracy": 0.8718354430379747
63
+ },
64
+ "qev_9b": {
65
+ "correct": 1105,
66
+ "accuracy": 0.8742088607594937
67
+ },
68
+ "qwen35_9b_base": {
69
+ "correct": 982,
70
+ "accuracy": 0.7768987341772152
71
+ }
72
+ }
73
+ },
74
+ "transfer_dev_all": {
75
+ "total": 764,
76
+ "models": {
77
+ "jev": {
78
+ "correct": 647,
79
+ "accuracy": 0.8468586387434555
80
+ },
81
+ "kev_9b": {
82
+ "correct": 620,
83
+ "accuracy": 0.8115183246073299
84
+ },
85
+ "qev_9b": {
86
+ "correct": 630,
87
+ "accuracy": 0.824607329842932
88
+ },
89
+ "qwen35_9b_base": {
90
+ "correct": 561,
91
+ "accuracy": 0.7342931937172775
92
+ }
93
+ }
94
+ },
95
+ "transfer_dev_clean": {
96
+ "total": 656,
97
+ "models": {
98
+ "jev": {
99
+ "correct": 562,
100
+ "accuracy": 0.8567073170731707
101
+ },
102
+ "kev_9b": {
103
+ "correct": 539,
104
+ "accuracy": 0.8216463414634146
105
+ },
106
+ "qev_9b": {
107
+ "correct": 551,
108
+ "accuracy": 0.8399390243902439
109
+ },
110
+ "qwen35_9b_base": {
111
+ "correct": 488,
112
+ "accuracy": 0.7439024390243902
113
+ }
114
+ }
115
+ },
116
+ "mmlupro": {
117
+ "total": 1000,
118
+ "models": {
119
+ "jev": {
120
+ "correct": 835,
121
+ "accuracy": 0.835
122
+ },
123
+ "kev_9b": {
124
+ "correct": 511,
125
+ "accuracy": 0.511
126
+ },
127
+ "qev_9b": {
128
+ "correct": 546,
129
+ "accuracy": 0.546
130
+ },
131
+ "qwen35_9b_base": {
132
+ "correct": 504,
133
+ "accuracy": 0.504
134
+ }
135
+ }
136
+ },
137
+ "semif_handwritten": {
138
+ "total": 144,
139
+ "models": {
140
+ "jev": {
141
+ "correct": 139,
142
+ "accuracy": 0.9652777777777778
143
+ },
144
+ "kev_9b": {
145
+ "correct": 131,
146
+ "accuracy": 0.9097222222222222
147
+ },
148
+ "qev_9b": {
149
+ "correct": 135,
150
+ "accuracy": 0.9375
151
+ },
152
+ "qwen35_9b_base": {
153
+ "correct": 130,
154
+ "accuracy": 0.9027777777777778
155
+ }
156
+ }
157
+ },
158
+ "scienthoon": {
159
+ "total": 873,
160
+ "models": {
161
+ "jev": {
162
+ "correct": 657,
163
+ "accuracy": 0.7525773195876289
164
+ },
165
+ "kev_9b": {
166
+ "correct": 659,
167
+ "accuracy": 0.7548682703321878
168
+ },
169
+ "qev_9b": {
170
+ "correct": 631,
171
+ "accuracy": 0.722794959908362
172
+ },
173
+ "qwen35_9b_base": {
174
+ "correct": 601,
175
+ "accuracy": 0.6884306987399771
176
+ }
177
+ }
178
+ },
179
+ "wanli": {
180
+ "total": 256,
181
+ "models": {
182
+ "jev": {
183
+ "correct": 194,
184
+ "accuracy": 0.7578125
185
+ },
186
+ "kev_9b": {
187
+ "correct": 180,
188
+ "accuracy": 0.703125
189
+ },
190
+ "qev_9b": {
191
+ "correct": 186,
192
+ "accuracy": 0.7265625
193
+ },
194
+ "qwen35_9b_base": {
195
+ "correct": 174,
196
+ "accuracy": 0.6796875
197
+ }
198
+ }
199
+ },
200
+ "jevbench_public": {
201
+ "total": 231,
202
+ "models": {
203
+ "jev": {
204
+ "correct": 198,
205
+ "accuracy": 0.8571428571428571
206
+ },
207
+ "kev_9b": {
208
+ "correct": 175,
209
+ "accuracy": 0.7575757575757576
210
+ },
211
+ "qev_9b": {
212
+ "correct": 188,
213
+ "accuracy": 0.8138528138528138
214
+ },
215
+ "qwen35_9b_base": {
216
+ "correct": 175,
217
+ "accuracy": 0.7575757575757576
218
+ }
219
+ }
220
+ }
221
+ },
222
+ "jevbench_subsets": {
223
+ "original": {
224
+ "total": 72,
225
+ "correct": {
226
+ "jev": 71,
227
+ "kev_9b": 65,
228
+ "qev_9b": 65,
229
+ "qwen35_9b_base": 59
230
+ }
231
+ },
232
+ "easy": {
233
+ "total": 48,
234
+ "correct": {
235
+ "jev": 48,
236
+ "kev_9b": 48,
237
+ "qev_9b": 48,
238
+ "qwen35_9b_base": 48
239
+ }
240
+ },
241
+ "hard": {
242
+ "total": 111,
243
+ "correct": {
244
+ "jev": 79,
245
+ "kev_9b": 62,
246
+ "qev_9b": 75,
247
+ "qwen35_9b_base": 68
248
+ }
249
+ }
250
+ },
251
+ "notes": [
252
+ "Public JevBench accuracy is not the official composite score.",
253
+ "MMLU-Pro: Kev answered 992/1000; its 8 unanswered items count as wrong.",
254
+ "SemIf: the 144 handwritten questions, excluding the 108 perturbations.",
255
+ "Cross-model precisions and execution implementations differ.",
256
+ "The Qev release is one seed, and these comparisons do not isolate architecture gains."
257
+ ],
258
+ "research_report_sha256": "6f094e2e35217089b1ef9365525d3ddbfa46d1354e2faff4b4a25e1bbcfa63d9"
259
+ }
head.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6640fcc2045f21e0a0edb4d80d797c2134d160cebba662885cde04efeaafb91c
3
+ size 11080748
joint.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6020d9fde51efc8f12f089fbe10b5f738c00ddf59c8df738ca0eb1edb344a979
3
+ size 136
model.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "qev.checkpoint.v1",
3
+ "layout": "state-question-candidate.v1",
4
+ "spec": {
5
+ "base": "Qwen/Qwen3.5-9B-Base",
6
+ "revision": "68c46c4b3498877f3ef123c856ecfde50c39f404",
7
+ "head_dim": 256,
8
+ "head_heads": 4,
9
+ "head_layers": 2,
10
+ "lora_rank": 64,
11
+ "lora_dropout": 0.0,
12
+ "weights_dtype": "bf16",
13
+ "attention": "sdpa",
14
+ "rows_per_forward": 32,
15
+ "max_padding_ratio": 1.25,
16
+ "max_padded_tokens": 8192,
17
+ "layout": "state-question-candidate.v1",
18
+ "choice_none_policy": "as-provided",
19
+ "candidate_interaction": "last-full-attention"
20
+ },
21
+ "limits": {
22
+ "max_state": 1024,
23
+ "max_question": 512,
24
+ "max_candidate": 256,
25
+ "max_path": 2048,
26
+ "max_candidates": 128
27
+ },
28
+ "adapter": true,
29
+ "readout_precision": "fp32-head-and-joint-reductions.v1",
30
+ "temperature": 1.0,
31
+ "extra": {
32
+ "data_manifest_sha256": "3644978f93f9f09815048b52bbdfba19f257f5b554950d7b84e6255f65649a96",
33
+ "training_execution": "tree-batched"
34
+ }
35
+ }
provenance.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "checkpoint": {
3
+ "base": "Qwen/Qwen3.5-9B-Base",
4
+ "base_revision": "68c46c4b3498877f3ef123c856ecfde50c39f404",
5
+ "research_name": "BranchKev",
6
+ "run": "c21-science-wk-late1783-9b-4gpu-r64-late50x3-s17",
7
+ "step": 2327,
8
+ "dtype": "bf16",
9
+ "execution": "reference",
10
+ "seed": 17,
11
+ "temperature": 1.0
12
+ },
13
+ "config": "configs/qev-9b.json",
14
+ "predictions_sha256": "ae5fcfd64715cd7d9eb1953df9cb86a31c24b5298c4fae97c150297c85cee5dc",
15
+ "protocol": {
16
+ "state_limit": 4096,
17
+ "path_limit": 4096,
18
+ "upstream_jevbench_revision": "1df665e3956d7aab7fa0208ff6c4f2d8557f9f90",
19
+ "metric": "argmax accuracy; rejected items count as wrong",
20
+ "limits": {
21
+ "max_state": 4096,
22
+ "max_question": 512,
23
+ "max_candidate": 256,
24
+ "max_path": 4096,
25
+ "max_candidates": 128
26
+ },
27
+ "trained_limits": {
28
+ "max_state": 1024,
29
+ "max_question": 512,
30
+ "max_candidate": 256,
31
+ "max_path": 2048,
32
+ "max_candidates": 128
33
+ },
34
+ "original_data_manifest_sha256": "5a9c7f98a619dee38ce2de8abb09f586d308f9ce3e08604eaadd72a4e445296e"
35
+ },
36
+ "training_data_manifest_sha256": "3644978f93f9f09815048b52bbdfba19f257f5b554950d7b84e6255f65649a96",
37
+ "source_report_sha256": "b3f6ab483d9aab8d990fd12806f1bd778a7d0b97ad7baac4ecbbbb4e5a1275af"
38
+ }
tokenizer/tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
3
+ size 19989325
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "audio_bos_token": "<|audio_start|>",
4
+ "audio_eos_token": "<|audio_end|>",
5
+ "audio_token": "<|audio_pad|>",
6
+ "backend": "tokenizers",
7
+ "bos_token": null,
8
+ "clean_up_tokenization_spaces": false,
9
+ "eos_token": "<|endoftext|>",
10
+ "errors": "replace",
11
+ "image_token": "<|image_pad|>",
12
+ "is_local": true,
13
+ "local_files_only": true,
14
+ "model_max_length": 262144,
15
+ "model_specific_special_tokens": {
16
+ "audio_bos_token": "<|audio_start|>",
17
+ "audio_eos_token": "<|audio_end|>",
18
+ "audio_token": "<|audio_pad|>",
19
+ "image_token": "<|image_pad|>",
20
+ "video_token": "<|video_pad|>",
21
+ "vision_bos_token": "<|vision_start|>",
22
+ "vision_eos_token": "<|vision_end|>"
23
+ },
24
+ "pad_token": "<|endoftext|>",
25
+ "pretokenize_regex": "(?i:'s|'t|'re|'ve|'m|'ll|'d)|[^\\r\\n\\p{L}\\p{N}]?[\\p{L}\\p{M}]+|\\p{N}| ?[^\\s\\p{L}\\p{M}\\p{N}]+[\\r\\n]*|\\s*[\\r\\n]+|\\s+(?!\\S)|\\s+",
26
+ "split_special_tokens": false,
27
+ "tokenizer_class": "Qwen2Tokenizer",
28
+ "unk_token": null,
29
+ "video_token": "<|video_pad|>",
30
+ "vision_bos_token": "<|vision_start|>",
31
+ "vision_eos_token": "<|vision_end|>"
32
+ }
training_config.json ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model": {
3
+ "base": "Qwen/Qwen3.5-9B-Base",
4
+ "revision": "68c46c4b3498877f3ef123c856ecfde50c39f404",
5
+ "head_dim": 256,
6
+ "head_heads": 4,
7
+ "head_layers": 2,
8
+ "lora_rank": 64,
9
+ "lora_dropout": 0.0,
10
+ "weights_dtype": "bf16",
11
+ "attention": "sdpa",
12
+ "rows_per_forward": 32,
13
+ "layout": "state-question-candidate.v1",
14
+ "max_padding_ratio": 1.25,
15
+ "max_padded_tokens": 8192,
16
+ "choice_none_policy": "as-provided",
17
+ "candidate_interaction": "last-full-attention"
18
+ },
19
+ "limits": {
20
+ "max_state": 1024,
21
+ "max_question": 512,
22
+ "max_candidate": 256,
23
+ "max_path": 2048,
24
+ "max_candidates": 128
25
+ },
26
+ "training": {
27
+ "epochs": 2,
28
+ "batch_size": 8,
29
+ "accum": 1,
30
+ "seed": 17,
31
+ "lr": 2e-05,
32
+ "head_lr": 0.0001,
33
+ "weight_decay": 0.01,
34
+ "warmup_steps": 20,
35
+ "head_warmup_steps": 100,
36
+ "gradient_checkpointing": true,
37
+ "save_every": 100,
38
+ "autocast": "bf16",
39
+ "wall_hours": 16,
40
+ "batch_assignment": "leaf-balanced-v1",
41
+ "prefix_execution": "tree-batched",
42
+ "joint_gate_lr": 0.01,
43
+ "none_insert_prob": 0.2,
44
+ "none_insert_absent_frac": 0.5,
45
+ "none_insert_exempt_sources": [
46
+ "jev_distill/"
47
+ ],
48
+ "late_split": "late_train",
49
+ "late_fraction": 0.5,
50
+ "late_repeats": 3
51
+ }
52
+ }