APUS-OpenJev-v1-4B on Core AI: int8hu decode bundle, letter-probability gates vs the author's fp32 runtime
Browse files- .gitattributes +2 -0
- LICENSE +202 -0
- README.md +242 -0
- config.json +109 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/main.hash +1 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/main.mlirb +3 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/metadata.json +5 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/metadata.json +28 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/added_tokens.json +35 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/chat_template.jinja +154 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/merges.txt +0 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/special_tokens_map.json +16 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/tokenizer.json +3 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/tokenizer_config.json +300 -0
- gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/vocab.json +0 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,5 @@ 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 |
+
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/main.mlirb filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/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 Alibaba Cloud
|
| 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.
|
README.md
ADDED
|
@@ -0,0 +1,242 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model: apus-ailab/APUS-OpenJev-v1-4B
|
| 4 |
+
base_model_relation: quantized
|
| 5 |
+
language:
|
| 6 |
+
- en
|
| 7 |
+
- zh
|
| 8 |
+
tags:
|
| 9 |
+
- coreai
|
| 10 |
+
- decision-model
|
| 11 |
+
- system-one
|
| 12 |
+
- qwen3.5
|
| 13 |
+
---
|
| 14 |
+
|
| 15 |
+
Core AI is Apple's on-device ML runtime in iOS 27 / macOS 27 and the successor to Core ML: PyTorch models are exported with Apple's `coreai-torch` (LLMs: `coreai.llm.export`) into `.aimodel` bundles that run on the GPU or the Neural Engine, e.g. Qwen3-8B 4-bit decodes at 94 tok/s on an M4 Max GPU, MLX 90 under the same protocol ([apple-silicon-llm-bench](https://github.com/john-rocky/apple-silicon-llm-bench), macOS 27 beta 26A5353q, 2026-06-11).
|
| 16 |
+
|
| 17 |
+
# APUS-OpenJev-v1-4B — Core AI
|
| 18 |
+
|
| 19 |
+
[🤗 mlboydaisuke/APUS-OpenJev-v1-4B-CoreAI](https://huggingface.co/mlboydaisuke/APUS-OpenJev-v1-4B-CoreAI) · Apache-2.0 · source [apus-ailab/APUS-OpenJev-v1-4B](https://huggingface.co/apus-ailab/APUS-OpenJev-v1-4B/tree/65797c526c27c4d24f564333779162cd4a64328e), revision `65797c526c27c4d24f564333779162cd4a64328e` · base Qwen/Qwen3.5-4B
|
| 20 |
+
|
| 21 |
+
A decision model for browser-action selection, workflow routing and proposition judgments.
|
| 22 |
+
The source contains checkpoint-5949 merged BF16 weights from a Qwen3.5-4B fine-tune. Each
|
| 23 |
+
request supplies a state, instructions and criteria; the answer is a distribution over the
|
| 24 |
+
criteria from the next-token logits of letters A–P. The model retains its vocabulary LM head.
|
| 25 |
+
This bundle exports the 32-layer text path with the zoo's unchanged Qwen3.5-4B exporter,
|
| 26 |
+
`int8hu --head-sym`, and a 4,096-token context.
|
| 27 |
+
|
| 28 |
+
The author's [Frozen80 development-panel result](https://huggingface.co/apus-ailab/APUS-OpenJev-v1-4B/blob/65797c526c27c4d24f564333779162cd4a64328e/README.md)
|
| 29 |
+
is **66/80 (82.50%)** at full depth; its [merged evaluation](https://huggingface.co/apus-ailab/APUS-OpenJev-v1-4B/blob/65797c526c27c4d24f564333779162cd4a64328e/merged-evaluation.json)
|
| 30 |
+
records **61/80** at 16 layers. These are the author's measurements, not re-measured here.
|
| 31 |
+
The panel covers Browser, HelpSteer3, BoolQ, MNLI and attribute decisions; it is a reused
|
| 32 |
+
engineering panel, not a blind benchmark or browser success rate. The author reports
|
| 33 |
+
160/160 decision agreement before/after BF16 merging, while its original probability-delta
|
| 34 |
+
≤0.05 gate failed: max |Δp| was 0.061457 at 32 layers and 0.092269 at 16 layers.
|
| 35 |
+
|
| 36 |
+
## Decision contract
|
| 37 |
+
|
| 38 |
+
`jev.dynamic.prompt.v2` accepts `id`, `group_id`, a nonempty string `state`, nonempty
|
| 39 |
+
`instructions`, `primitive` (`choice`, `noul` or `score_level`) and 2–16 ordered criteria.
|
| 40 |
+
Each criterion has an `id` and a `description`. JSON states must be serialized as text.
|
| 41 |
+
For `k` criteria, labels are `"ABCDEFGHIJKLMNOP"[:k]`; on this tokenizer A–P have ids
|
| 42 |
+
**32–47**. The author checks each label is one nonspecial token at the compiled answer boundary.
|
| 43 |
+
|
| 44 |
+
The user turn is `"Shared state:\n" + state + "\n\n"`, followed by
|
| 45 |
+
`json.dumps({"criteria": [{"description": ..., "label": "A"}, ...], "instructions": ...,
|
| 46 |
+
"primitive": ...}, ensure_ascii=False, sort_keys=True)`, followed by
|
| 47 |
+
`"\nReturn only the selected letter: " + ", ".join(labels) + ".\nAnswer:"`.
|
| 48 |
+
Compile that as **one user message** with the source chat template,
|
| 49 |
+
`add_generation_prompt=True`, `enable_thinking=False`; encode the rendered text with
|
| 50 |
+
`add_special_tokens=False`. The answer slot is `len(ids)-1`, the last compiled token.
|
| 51 |
+
The author rejects more than 8,192 tokens and multimodal placeholders; this exported bundle
|
| 52 |
+
requires at most 4,096 tokens.
|
| 53 |
+
|
| 54 |
+
The following is the verbatim decoded compiled prompt for fixture `choice16_01` (484 tokens),
|
| 55 |
+
including its user turn and the closed thinking prefix. The two newlines after `</think>`
|
| 56 |
+
are part of the prompt; the fixture also stores the exact `tail_after_state` string.
|
| 57 |
+
|
| 58 |
+
```text
|
| 59 |
+
<|im_start|>user
|
| 60 |
+
Shared state:
|
| 61 |
+
{"goal": "find the lunar archive schedule", "history": "The page has just opened; no search has been submitted.", "loading": false, "page": "document search", "search_field": "empty", "visible_controls": ["search field", "Search button"]}
|
| 62 |
+
|
| 63 |
+
{"criteria": [{"description": "Return to the previous page without changing any data.", "label": "A"}, {"description": "Open the next page of the paginated results.", "label": "B"}, {"description": "Dismiss the visible informational banner with its close button.", "label": "C"}, {"description": "Save the completed form as a draft without submitting it.", "label": "D"}, {"description": "Submit the completed form once all required fields are valid.", "label": "E"}, {"description": "Fill the required field that is currently marked missing.", "label": "F"}, {"description": "Select the Details tab to view the requested additional information.", "label": "G"}, {"description": "Change the result ordering to most recent first.", "label": "H"}, {"description": "Expand the collapsed section containing the requested information.", "label": "I"}, {"description": "Download the plain text copy using the visible download link.", "label": "J"}, {"description": "Copy the displayed reference code using the adjacent copy button.", "label": "K"}, {"description": "Wait for the current loading indicator to finish before taking another action.", "label": "L"}, {"description": "Stop because the requested task is already complete and confirmed.", "label": "M"}, {"description": "Open the first relevant search result in the current tab.", "label": "N"}, {"description": "Enter the requested query in the empty search field.", "label": "O"}, {"description": "Submit the completed search field using the Search button.", "label": "P"}], "instructions": "Choose the next browser action that advances the stated goal. The search field must contain the goal query before a search can be submitted.", "primitive": "choice"}
|
| 64 |
+
Return only the selected letter: A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P.
|
| 65 |
+
Answer:<|im_end|>
|
| 66 |
+
<|im_start|>assistant
|
| 67 |
+
<think>
|
| 68 |
+
|
| 69 |
+
</think>
|
| 70 |
+
|
| 71 |
+
```
|
| 72 |
+
|
| 73 |
+
For the full-depth path, take `logits[0, -1, label_ids]` as float32 and compute
|
| 74 |
+
`p = softmax(label_logits)` with **T = 1**. Map probabilities back to the criteria's ids in
|
| 75 |
+
request order. `choice` returns the argmax id; `noul` and `score_level` return
|
| 76 |
+
`yes_probability`. The author's response says **`calibrated: false`**: these are relative
|
| 77 |
+
candidate preferences, with no temperature calibration.
|
| 78 |
+
|
| 79 |
+
Both `noul` and `score_level` require these exact criteria; the proposition goes in
|
| 80 |
+
`instructions`:
|
| 81 |
+
|
| 82 |
+
```json
|
| 83 |
+
[{"id": "yes", "description": "The stated proposition is true."}, {"id": "no", "description": "The stated proposition is false."}]
|
| 84 |
+
```
|
| 85 |
+
|
| 86 |
+
`score_level` judges one proposition; it does not assemble an aggregate score. The author's
|
| 87 |
+
`effort="low"` executes 16 layers with an early-exit wrapper and a projection over candidate
|
| 88 |
+
rows. That path needs its own graph and is not exported. Low-effort logits and probabilities
|
| 89 |
+
are retained only as fixture evidence; the bundle and gate use `effort="high"` (32 layers).
|
| 90 |
+
|
| 91 |
+
The [fixture](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/fixtures-apus-openjev-v1-4b.json) has **48 requests / 48 rows**: 28 choice,
|
| 92 |
+
12 noul and 8 score_level; eight choice rows have 16 criteria, eight have 2–3 and twelve have
|
| 93 |
+
4–8. Sixteen requests contain Chinese and thirty have structured states serialized as text.
|
| 94 |
+
States are **34–66 tokens**, compiled rows **124–1,672 tokens**; two rows above 1,024 tokens
|
| 95 |
+
are marked `zoo_only`. Every author's high-effort API probability equals the recorded fp32
|
| 96 |
+
row probability (48/48). Minimum oracle top-2 margin is **0.948419**: this fixture has no
|
| 97 |
+
near ties and does not test decisions near a probability boundary.
|
| 98 |
+
|
| 99 |
+
## Measured (Apple M4 Max GPU, macOS 27.0 26A428, 2026-09-23)
|
| 100 |
+
|
| 101 |
+
| Check | int8hu --head-sym |
|
| 102 |
+
|---|---:|
|
| 103 |
+
| option argmax = author's fp32 full-depth oracle | 48/48 |
|
| 104 |
+
| argmax on oracle margin ≥ 0.02 | 48/48 |
|
| 105 |
+
| max \|Δp\| over option probabilities | 0.005302 |
|
| 106 |
+
| mean of per-row mean \|Δp\| | 0.000127 |
|
| 107 |
+
| max absolute label-logit difference | 0.236008 |
|
| 108 |
+
| full-vocabulary argmax is a row label | 48/48 |
|
| 109 |
+
| Swift pipelined first token = Python full-vocabulary argmax text | 48/48 |
|
| 110 |
+
| Swift sequential first token = Python full-vocabulary argmax text | 48/48 |
|
| 111 |
+
| Swift first token = oracle argmax letter, both engines | 96/96 |
|
| 112 |
+
| row-1 reset, logits bit-identical | yes |
|
| 113 |
+
|
| 114 |
+
These are the accepted round-one measurements. Probability errors are recorded against the
|
| 115 |
+
author's `openjet_runtime.OpenJet`, CPU fp32, transformers **5.16.1**, torch **2.9.0**.
|
| 116 |
+
The GPU readout uses an AOT **h16c** asset, `SpecializationOptions.default()`, fresh zero
|
| 117 |
+
states for each row and S=1 steps over the complete compiled ids. The output is fp16
|
| 118 |
+
`[1,1,248320]`; label gathering and softmax run in float32. Processes evaluate at most
|
| 119 |
+
15 prompts including resets; the two wide rows run separately. All readout values are finite.
|
| 120 |
+
|
| 121 |
+
The [readout transcript](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-readout.json) and
|
| 122 |
+
[engine transcript](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-engine.json) are the zoo-layout execution proofs;
|
| 123 |
+
the [summary](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b.json) also records the kit parity facts.
|
| 124 |
+
The separate round-two [alphabet gate](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-alphabet.json) passed **16/16**
|
| 125 |
+
tokens on `The alphabet begins A, B, C, D, E, F,` against a CPU fp32 overlay oracle; both
|
| 126 |
+
sides produced ` G, H, I, J, K, L, M, N,`.
|
| 127 |
+
That transcript is separate from the letter-probability gate. The unmodified generic gate
|
| 128 |
+
reports `weights_pinned: false` because its loader has no revision argument; this invocation
|
| 129 |
+
used `HF_HUB_OFFLINE=1`, the pinned local `refs/main`, and three matching Hub LFS hashes.
|
| 130 |
+
The effective-pin receipts are described in the [port notes](https://github.com/john-rocky/coreai-models-community/blob/main/knowledge/apus-openjev-v1-4b-port.md).
|
| 131 |
+
|
| 132 |
+
Throughput uses Release `llm-benchmark`, p=128 / g=256, two launches × three trials per engine,
|
| 133 |
+
`COREAI_CHUNK_THRESHOLD=1`, Xcode 27.0 (27A266a); median (range):
|
| 134 |
+
|
| 135 |
+
| Engine | S=1 prefill, tok/s | decode, tok/s | load per launch, s |
|
| 136 |
+
|---|---:|---:|---:|
|
| 137 |
+
| coreai-pipelined | 81.781 (81.166–81.870) | 80.379 (79.323–80.606) | 2.899 / 0.700 |
|
| 138 |
+
| coreai-sequential | 69.369 (69.257–69.524) | 68.493 (67.860–68.605) | 0.703 / 0.706 |
|
| 139 |
+
|
| 140 |
+
A decision costs one S=1 prefill of the **whole row**, about **15 ms per token** on the
|
| 141 |
+
sequential engine measured through coreai-kit below, so the decode number is a
|
| 142 |
+
**prefill-rate proxy**, not per-decision latency. Synthetic ids are sampled from the metadata's
|
| 143 |
+
248,320-token vocabulary. The before/after process snapshots contain no other engine workload
|
| 144 |
+
(`contended: false`); load is measured once per launch, excluding warmup. The benchmark source
|
| 145 |
+
copy only adds its engine-variant option and forwards `EngineOptions.variant`.
|
| 146 |
+
[Trials, load times and environment](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/llm-benchmark.json).
|
| 147 |
+
|
| 148 |
+
## Through the kit
|
| 149 |
+
|
| 150 |
+
**Measured through coreai-kit**, using `Decision.Format.sharedState`, the sequential engine
|
| 151 |
+
and the kit's own chat-template rendering: `decide-cli parity` on the 40 `choice` and `noul`
|
| 152 |
+
rows matched tokens **40/40** (byte-for-byte with the author's `compile()`), label slots
|
| 153 |
+
**40/40** and option argmax **40/40**, with max |Δp| **0.0055** and mean **0.0002**.
|
| 154 |
+
The 8 `score_level` rows were skipped: the kit has no primitive of that name. Its `noul` has
|
| 155 |
+
the same proposition semantics, but rendering `"primitive": "noul"` changes the author's
|
| 156 |
+
`"primitive": "score_level"` prompt. Median time was **2.8 s** per fixture question over
|
| 157 |
+
those 40 rows (**124–1,672 compiled tokens**, S=1 prefill); the 1,672-token row took **24 s**.
|
| 158 |
+
|
| 159 |
+
A two-question workflow request with a **20-token state**, a 3-criteria choice and a noul,
|
| 160 |
+
took **2,069 ms** for its 134-token row and **1,540 ms** for its 107-token row. It reused
|
| 161 |
+
**0 tokens**: the recurrent hybrid re-prefills every row, about **15 ms per token** on the
|
| 162 |
+
sequential engine. Answers were **close 0.999** and **refund asked P(yes) 0.000**.
|
| 163 |
+
|
| 164 |
+
On SemIf's authored144 — **144 English rows**, three options each, SemIf's gold labels and
|
| 165 |
+
its unchanged `benchmarks/evaluate.py` — the kit's rendering of each row as `choice` gave
|
| 166 |
+
**131/144** raw and **0.906 mean family balanced accuracy**, median **1.96 s** per decision.
|
| 167 |
+
On the same rows and evaluator, the kit README reports Qwen3.5-4B int8 zero-shot **0.821**,
|
| 168 |
+
MiniCPM5-2B int8 **0.681**, and the OpenThai run **0.725**. These are measurements on that
|
| 169 |
+
fixture and evaluator. [Supervisor-supplied kit record](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/measurements-coreai-kit.json).
|
| 170 |
+
|
| 171 |
+
## Bundle
|
| 172 |
+
|
| 173 |
+
The staged Hub path is
|
| 174 |
+
`gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/` under
|
| 175 |
+
[mlboydaisuke/APUS-OpenJev-v1-4B-CoreAI](https://huggingface.co/mlboydaisuke/APUS-OpenJev-v1-4B-CoreAI).
|
| 176 |
+
The LanguageBundle is **5,770,814,417 bytes**, 11 files: `.aimodel`, `metadata.json` and
|
| 177 |
+
`tokenizer/`. `main.mlirb` is **5,742,220,411 bytes**, SHA-256
|
| 178 |
+
`7b719b75f6782d60ff0e082230e464f041927ef7bbd3ffb5cfbd2a9352e32f23`.
|
| 179 |
+
Root `metadata.json` is 636 bytes, SHA-256
|
| 180 |
+
`48b133c07934b04dbe77248f6ef421b013c6582f4888123a6ff3214a37be0316`.
|
| 181 |
+
|
| 182 |
+
`int8hu --head-sym` uses block-32 int8 linears and an absmax-symmetric block-32 int8
|
| 183 |
+
vocabulary head cloned from the tied embedding; embeddings, conv1d and norms stay fp16.
|
| 184 |
+
Metadata retains vocabulary **248320**, maximum context **4096** and the exporter's
|
| 185 |
+
`compression: null`; the recipe records quantization. The source chat template is unchanged.
|
| 186 |
+
|
| 187 |
+
Use the [extra-states runtime patch](https://github.com/john-rocky/coreai-models-community/blob/main/apps/coreai-pipelined-extra-states.patch) for KV,
|
| 188 |
+
conv and recurrent states, and set `COREAI_CHUNK_THRESHOLD=1` before engine creation.
|
| 189 |
+
Both engines were checked with Release tools from fork tag **0.2.4-zoo** (`f7a75ec`).
|
| 190 |
+
The readout uses AOT h16c on macOS; no iPhone result is claimed. The
|
| 191 |
+
[recipe](https://github.com/john-rocky/coreai-models-community/blob/main/models/apus-openjev-v1-4b/recipe.toml) records the source revision and exporter invocation.
|
| 192 |
+
|
| 193 |
+
## Reproduce
|
| 194 |
+
|
| 195 |
+
The [exporter](https://github.com/john-rocky/coreai-models-community/blob/main/conversion/export_qwen3_5_decode_pipelined.py) and `_bundle.py` are
|
| 196 |
+
unchanged zoo `082fe55` copies. The frozen authoring overlay is fork `397b337`; export pins
|
| 197 |
+
include coreai-core **1.0.0b2**, coreai-torch **0.4.1**, coreai-opt **0.2.1**, torch **2.9.0**
|
| 198 |
+
and transformers **4.57.6**. The author oracle has its own transformers **5.16.1** environment.
|
| 199 |
+
Populate `HF_HOME` with all files at the source revision and confirm its cached `refs/main`
|
| 200 |
+
resolves to that revision before running the unchanged exporter offline.
|
| 201 |
+
`HF_HUB_DISABLE_XET=1`, a run-local cache and Xcode 27 are required for this recorded run.
|
| 202 |
+
|
| 203 |
+
```bash
|
| 204 |
+
HF_HUB_OFFLINE=1 python3 conversion/zoo_convert.py run apus-openjev-v1-4b
|
| 205 |
+
# Equivalent exporter invocation:
|
| 206 |
+
HF_HUB_OFFLINE=1 python3 conversion/export_qwen3_5_decode_pipelined.py int8hu --head-sym \
|
| 207 |
+
--hf-id apus-ailab/APUS-OpenJev-v1-4B --out-dir exports
|
| 208 |
+
|
| 209 |
+
SNAPSHOT="$HF_HOME/hub/models--apus-ailab--APUS-OpenJev-v1-4B/snapshots/65797c526c27c4d24f564333779162cd4a64328e"
|
| 210 |
+
uv run conversion/letter/oracle_letter.py --snapshot "$SNAPSHOT" \
|
| 211 |
+
--out models/apus-openjev-v1-4b/fixtures-apus-openjev-v1-4b.json
|
| 212 |
+
|
| 213 |
+
python3 conversion/letter/readout_gate_letter.py \
|
| 214 |
+
exports/apus_openjev_v1_4b_decode_int8hu_block32_sym \
|
| 215 |
+
models/apus-openjev-v1-4b/fixtures-apus-openjev-v1-4b.json \
|
| 216 |
+
--snapshot "$SNAPSHOT" \
|
| 217 |
+
--transcript models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-readout.json
|
| 218 |
+
|
| 219 |
+
python3 conversion/letter/engine_argmax_letter.py \
|
| 220 |
+
exports/apus_openjev_v1_4b_decode_int8hu_block32_sym \
|
| 221 |
+
models/apus-openjev-v1-4b/fixtures-apus-openjev-v1-4b.json \
|
| 222 |
+
--readout models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-readout.json \
|
| 223 |
+
--runner <fork>/.build/release/llm-runner \
|
| 224 |
+
--transcript models/apus-openjev-v1-4b/gate-apus-openjev-v1-4b-engine.json
|
| 225 |
+
```
|
| 226 |
+
|
| 227 |
+
For the recorded round-two layout proof, the oracle command used `--replay-fixtures` to
|
| 228 |
+
validate and copy the accepted fixture byte-for-byte, and the readout used `--aot-asset` to
|
| 229 |
+
reuse the round-one h16c asset. The commands above describe fresh reproduction.
|
| 230 |
+
[Letter-gate instructions](https://github.com/john-rocky/coreai-models-community/blob/main/conversion/letter/README.md) describe the pinned oracle,
|
| 231 |
+
AOT cache and two-engine check. [Port notes](https://github.com/john-rocky/coreai-models-community/blob/main/knowledge/apus-openjev-v1-4b-port.md)
|
| 232 |
+
record runtime traps and fixture coverage.
|
| 233 |
+
|
| 234 |
+
## License
|
| 235 |
+
|
| 236 |
+
The source's `LICENSE` is Apache-2.0, **11,544 bytes**, SHA-256
|
| 237 |
+
`bbedc3fda3305820b977265f01b8619d87570a6739de3a5582c3464840f1e57a`.
|
| 238 |
+
The staged bundle includes that file verbatim and retains its Qwen notice:
|
| 239 |
+
**Copyright 2026 Alibaba Cloud**. The source `config.json` is also retained verbatim.
|
| 240 |
+
[Source license](https://huggingface.co/apus-ailab/APUS-OpenJev-v1-4B/blob/65797c526c27c4d24f564333779162cd4a64328e/LICENSE).
|
| 241 |
+
The author's `openjet_runtime` is vendored from that pinned source for the oracle gate and
|
| 242 |
+
is not part of the LanguageBundle.
|
config.json
ADDED
|
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3_5ForConditionalGeneration"
|
| 4 |
+
],
|
| 5 |
+
"dtype": "bfloat16",
|
| 6 |
+
"image_token_id": 248056,
|
| 7 |
+
"model_type": "qwen3_5",
|
| 8 |
+
"text_config": {
|
| 9 |
+
"attention_bias": false,
|
| 10 |
+
"attention_dropout": 0.0,
|
| 11 |
+
"attn_output_gate": true,
|
| 12 |
+
"bos_token_id": null,
|
| 13 |
+
"dtype": "bfloat16",
|
| 14 |
+
"eos_token_id": 248044,
|
| 15 |
+
"full_attention_interval": 4,
|
| 16 |
+
"head_dim": 256,
|
| 17 |
+
"hidden_act": "silu",
|
| 18 |
+
"hidden_size": 2560,
|
| 19 |
+
"initializer_range": 0.02,
|
| 20 |
+
"intermediate_size": 9216,
|
| 21 |
+
"layer_types": [
|
| 22 |
+
"linear_attention",
|
| 23 |
+
"linear_attention",
|
| 24 |
+
"linear_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"linear_attention",
|
| 27 |
+
"linear_attention",
|
| 28 |
+
"linear_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"linear_attention",
|
| 31 |
+
"linear_attention",
|
| 32 |
+
"linear_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"linear_attention",
|
| 35 |
+
"linear_attention",
|
| 36 |
+
"linear_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"linear_attention",
|
| 39 |
+
"linear_attention",
|
| 40 |
+
"linear_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"linear_attention",
|
| 43 |
+
"linear_attention",
|
| 44 |
+
"linear_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"linear_attention",
|
| 47 |
+
"linear_attention",
|
| 48 |
+
"linear_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"linear_attention",
|
| 51 |
+
"linear_attention",
|
| 52 |
+
"linear_attention",
|
| 53 |
+
"full_attention"
|
| 54 |
+
],
|
| 55 |
+
"linear_conv_kernel_dim": 4,
|
| 56 |
+
"linear_key_head_dim": 128,
|
| 57 |
+
"linear_num_key_heads": 16,
|
| 58 |
+
"linear_num_value_heads": 32,
|
| 59 |
+
"linear_value_head_dim": 128,
|
| 60 |
+
"mamba_ssm_dtype": "float32",
|
| 61 |
+
"max_position_embeddings": 262144,
|
| 62 |
+
"mlp_only_layers": [],
|
| 63 |
+
"model_type": "qwen3_5_text",
|
| 64 |
+
"mtp_num_hidden_layers": 1,
|
| 65 |
+
"mtp_use_dedicated_embeddings": false,
|
| 66 |
+
"num_attention_heads": 16,
|
| 67 |
+
"num_hidden_layers": 32,
|
| 68 |
+
"num_key_value_heads": 4,
|
| 69 |
+
"pad_token_id": null,
|
| 70 |
+
"partial_rotary_factor": 0.25,
|
| 71 |
+
"rms_norm_eps": 1e-06,
|
| 72 |
+
"rope_parameters": {
|
| 73 |
+
"mrope_interleaved": true,
|
| 74 |
+
"mrope_section": [
|
| 75 |
+
11,
|
| 76 |
+
11,
|
| 77 |
+
10
|
| 78 |
+
],
|
| 79 |
+
"partial_rotary_factor": 0.25,
|
| 80 |
+
"rope_theta": 10000000,
|
| 81 |
+
"rope_type": "default"
|
| 82 |
+
},
|
| 83 |
+
"tie_word_embeddings": true,
|
| 84 |
+
"use_cache": true,
|
| 85 |
+
"vocab_size": 248320
|
| 86 |
+
},
|
| 87 |
+
"tie_word_embeddings": true,
|
| 88 |
+
"transformers_version": "5.16.1",
|
| 89 |
+
"video_token_id": 248057,
|
| 90 |
+
"vision_config": {
|
| 91 |
+
"deepstack_visual_indexes": [],
|
| 92 |
+
"depth": 24,
|
| 93 |
+
"dtype": "bfloat16",
|
| 94 |
+
"hidden_act": "gelu_pytorch_tanh",
|
| 95 |
+
"hidden_size": 1024,
|
| 96 |
+
"in_channels": 3,
|
| 97 |
+
"initializer_range": 0.02,
|
| 98 |
+
"intermediate_size": 4096,
|
| 99 |
+
"model_type": "qwen3_5_vision",
|
| 100 |
+
"num_heads": 16,
|
| 101 |
+
"num_position_embeddings": 2304,
|
| 102 |
+
"out_hidden_size": 2560,
|
| 103 |
+
"patch_size": 16,
|
| 104 |
+
"spatial_merge_size": 2,
|
| 105 |
+
"temporal_patch_size": 2
|
| 106 |
+
},
|
| 107 |
+
"vision_end_token_id": 248054,
|
| 108 |
+
"vision_start_token_id": 248053
|
| 109 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/main.hash
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{q�u�x-`�"0�d�A�~�����Ͻ*�R�/#
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/main.mlirb
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7b719b75f6782d60ff0e082230e464f041927ef7bbd3ffb5cfbd2a9352e32f23
|
| 3 |
+
size 5742220411
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel/metadata.json
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"assetVersion" : "2.0",
|
| 3 |
+
"producer" : "coreai-core 1.0.0b2",
|
| 4 |
+
"creationDate" : "20260922T194440Z"
|
| 5 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/metadata.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata_version": "0.2",
|
| 3 |
+
"kind": "llm",
|
| 4 |
+
"name": "apus_openjev_v1_4b_decode_int8hu_block32_sym",
|
| 5 |
+
"assets": {
|
| 6 |
+
"main": "apus_openjev_v1_4b_decode_int8hu_block32_sym.aimodel"
|
| 7 |
+
},
|
| 8 |
+
"language": {
|
| 9 |
+
"tokenizer": "apus-ailab/APUS-OpenJev-v1-4B",
|
| 10 |
+
"vocab_size": 248320,
|
| 11 |
+
"max_context_length": 4096,
|
| 12 |
+
"embedded_tokenizer": true,
|
| 13 |
+
"function_map": {
|
| 14 |
+
"main": [
|
| 15 |
+
"main"
|
| 16 |
+
]
|
| 17 |
+
}
|
| 18 |
+
},
|
| 19 |
+
"source": {
|
| 20 |
+
"model_definition": "torch",
|
| 21 |
+
"hf_model_id": "apus-ailab/APUS-OpenJev-v1-4B"
|
| 22 |
+
},
|
| 23 |
+
"compression": null,
|
| 24 |
+
"compilation": {
|
| 25 |
+
"date": "2026-09-22T19:44:42.755907+00:00",
|
| 26 |
+
"targets": []
|
| 27 |
+
}
|
| 28 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/added_tokens.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 248069,
|
| 3 |
+
"</tool_call>": 248059,
|
| 4 |
+
"</tool_response>": 248067,
|
| 5 |
+
"<think>": 248068,
|
| 6 |
+
"<tool_call>": 248058,
|
| 7 |
+
"<tool_response>": 248066,
|
| 8 |
+
"<tts_pad>": 248072,
|
| 9 |
+
"<tts_text_bos>": 248073,
|
| 10 |
+
"<tts_text_bos_single>": 248075,
|
| 11 |
+
"<tts_text_eod>": 248074,
|
| 12 |
+
"<|audio_end|>": 248071,
|
| 13 |
+
"<|audio_pad|>": 248076,
|
| 14 |
+
"<|audio_start|>": 248070,
|
| 15 |
+
"<|box_end|>": 248050,
|
| 16 |
+
"<|box_start|>": 248049,
|
| 17 |
+
"<|endoftext|>": 248044,
|
| 18 |
+
"<|file_sep|>": 248065,
|
| 19 |
+
"<|fim_middle|>": 248061,
|
| 20 |
+
"<|fim_pad|>": 248063,
|
| 21 |
+
"<|fim_prefix|>": 248060,
|
| 22 |
+
"<|fim_suffix|>": 248062,
|
| 23 |
+
"<|im_end|>": 248046,
|
| 24 |
+
"<|im_start|>": 248045,
|
| 25 |
+
"<|image_pad|>": 248056,
|
| 26 |
+
"<|object_ref_end|>": 248048,
|
| 27 |
+
"<|object_ref_start|>": 248047,
|
| 28 |
+
"<|quad_end|>": 248052,
|
| 29 |
+
"<|quad_start|>": 248051,
|
| 30 |
+
"<|repo_name|>": 248064,
|
| 31 |
+
"<|video_pad|>": 248057,
|
| 32 |
+
"<|vision_end|>": 248054,
|
| 33 |
+
"<|vision_pad|>": 248055,
|
| 34 |
+
"<|vision_start|>": 248053
|
| 35 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/chat_template.jinja
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- set image_count = namespace(value=0) %}
|
| 2 |
+
{%- set video_count = namespace(value=0) %}
|
| 3 |
+
{%- macro render_content(content, do_vision_count, is_system_content=false) %}
|
| 4 |
+
{%- if content is string %}
|
| 5 |
+
{{- content }}
|
| 6 |
+
{%- elif content is iterable and content is not mapping %}
|
| 7 |
+
{%- for item in content %}
|
| 8 |
+
{%- if 'image' in item or 'image_url' in item or item.type == 'image' %}
|
| 9 |
+
{%- if is_system_content %}
|
| 10 |
+
{{- raise_exception('System message cannot contain images.') }}
|
| 11 |
+
{%- endif %}
|
| 12 |
+
{%- if do_vision_count %}
|
| 13 |
+
{%- set image_count.value = image_count.value + 1 %}
|
| 14 |
+
{%- endif %}
|
| 15 |
+
{%- if add_vision_id %}
|
| 16 |
+
{{- 'Picture ' ~ image_count.value ~ ': ' }}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{{- '<|vision_start|><|image_pad|><|vision_end|>' }}
|
| 19 |
+
{%- elif 'video' in item or item.type == 'video' %}
|
| 20 |
+
{%- if is_system_content %}
|
| 21 |
+
{{- raise_exception('System message cannot contain videos.') }}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if do_vision_count %}
|
| 24 |
+
{%- set video_count.value = video_count.value + 1 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- if add_vision_id %}
|
| 27 |
+
{{- 'Video ' ~ video_count.value ~ ': ' }}
|
| 28 |
+
{%- endif %}
|
| 29 |
+
{{- '<|vision_start|><|video_pad|><|vision_end|>' }}
|
| 30 |
+
{%- elif 'text' in item %}
|
| 31 |
+
{{- item.text }}
|
| 32 |
+
{%- else %}
|
| 33 |
+
{{- raise_exception('Unexpected item type in content.') }}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- endfor %}
|
| 36 |
+
{%- elif content is none or content is undefined %}
|
| 37 |
+
{{- '' }}
|
| 38 |
+
{%- else %}
|
| 39 |
+
{{- raise_exception('Unexpected content type.') }}
|
| 40 |
+
{%- endif %}
|
| 41 |
+
{%- endmacro %}
|
| 42 |
+
{%- if not messages %}
|
| 43 |
+
{{- raise_exception('No messages provided.') }}
|
| 44 |
+
{%- endif %}
|
| 45 |
+
{%- if tools and tools is iterable and tools is not mapping %}
|
| 46 |
+
{{- '<|im_start|>system\n' }}
|
| 47 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n<tools>" }}
|
| 48 |
+
{%- for tool in tools %}
|
| 49 |
+
{{- "\n" }}
|
| 50 |
+
{{- tool | tojson }}
|
| 51 |
+
{%- endfor %}
|
| 52 |
+
{{- "\n</tools>" }}
|
| 53 |
+
{{- '\n\nIf you choose to call a function ONLY reply in the following format with NO suffix:\n\n<tool_call>\n<function=example_function_name>\n<parameter=example_parameter_1>\nvalue_1\n</parameter>\n<parameter=example_parameter_2>\nThis is the value for the second parameter\nthat can span\nmultiple lines\n</parameter>\n</function>\n</tool_call>\n\n<IMPORTANT>\nReminder:\n- Function calls MUST follow the specified format: an inner <function=...></function> block must be nested within <tool_call></tool_call> XML tags\n- Required parameters MUST be specified\n- You may provide optional reasoning for your function call in natural language BEFORE the function call, but NOT after\n- If there is no function call available, answer the question like normal with your current knowledge and do not tell the user about function calls\n</IMPORTANT>' }}
|
| 54 |
+
{%- if messages[0].role == 'system' %}
|
| 55 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 56 |
+
{%- if content %}
|
| 57 |
+
{{- '\n\n' + content }}
|
| 58 |
+
{%- endif %}
|
| 59 |
+
{%- endif %}
|
| 60 |
+
{{- '<|im_end|>\n' }}
|
| 61 |
+
{%- else %}
|
| 62 |
+
{%- if messages[0].role == 'system' %}
|
| 63 |
+
{%- set content = render_content(messages[0].content, false, true)|trim %}
|
| 64 |
+
{{- '<|im_start|>system\n' + content + '<|im_end|>\n' }}
|
| 65 |
+
{%- endif %}
|
| 66 |
+
{%- endif %}
|
| 67 |
+
{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}
|
| 68 |
+
{%- for message in messages[::-1] %}
|
| 69 |
+
{%- set index = (messages|length - 1) - loop.index0 %}
|
| 70 |
+
{%- if ns.multi_step_tool and message.role == "user" %}
|
| 71 |
+
{%- set content = render_content(message.content, false)|trim %}
|
| 72 |
+
{%- if not(content.startswith('<tool_response>') and content.endswith('</tool_response>')) %}
|
| 73 |
+
{%- set ns.multi_step_tool = false %}
|
| 74 |
+
{%- set ns.last_query_index = index %}
|
| 75 |
+
{%- endif %}
|
| 76 |
+
{%- endif %}
|
| 77 |
+
{%- endfor %}
|
| 78 |
+
{%- if ns.multi_step_tool %}
|
| 79 |
+
{{- raise_exception('No user query found in messages.') }}
|
| 80 |
+
{%- endif %}
|
| 81 |
+
{%- for message in messages %}
|
| 82 |
+
{%- set content = render_content(message.content, true)|trim %}
|
| 83 |
+
{%- if message.role == "system" %}
|
| 84 |
+
{%- if not loop.first %}
|
| 85 |
+
{{- raise_exception('System message must be at the beginning.') }}
|
| 86 |
+
{%- endif %}
|
| 87 |
+
{%- elif message.role == "user" %}
|
| 88 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 89 |
+
{%- elif message.role == "assistant" %}
|
| 90 |
+
{%- set reasoning_content = '' %}
|
| 91 |
+
{%- if message.reasoning_content is string %}
|
| 92 |
+
{%- set reasoning_content = message.reasoning_content %}
|
| 93 |
+
{%- else %}
|
| 94 |
+
{%- if '</think>' in content %}
|
| 95 |
+
{%- set reasoning_content = content.split('</think>')[0].rstrip('\n').split('<think>')[-1].lstrip('\n') %}
|
| 96 |
+
{%- set content = content.split('</think>')[-1].lstrip('\n') %}
|
| 97 |
+
{%- endif %}
|
| 98 |
+
{%- endif %}
|
| 99 |
+
{%- set reasoning_content = reasoning_content|trim %}
|
| 100 |
+
{%- if loop.index0 > ns.last_query_index %}
|
| 101 |
+
{{- '<|im_start|>' + message.role + '\n<think>\n' + reasoning_content + '\n</think>\n\n' + content }}
|
| 102 |
+
{%- else %}
|
| 103 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 104 |
+
{%- endif %}
|
| 105 |
+
{%- if message.tool_calls and message.tool_calls is iterable and message.tool_calls is not mapping %}
|
| 106 |
+
{%- for tool_call in message.tool_calls %}
|
| 107 |
+
{%- if tool_call.function is defined %}
|
| 108 |
+
{%- set tool_call = tool_call.function %}
|
| 109 |
+
{%- endif %}
|
| 110 |
+
{%- if loop.first %}
|
| 111 |
+
{%- if content|trim %}
|
| 112 |
+
{{- '\n\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 113 |
+
{%- else %}
|
| 114 |
+
{{- '<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- else %}
|
| 117 |
+
{{- '\n<tool_call>\n<function=' + tool_call.name + '>\n' }}
|
| 118 |
+
{%- endif %}
|
| 119 |
+
{%- if tool_call.arguments is defined %}
|
| 120 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 121 |
+
{{- '<parameter=' + args_name + '>\n' }}
|
| 122 |
+
{%- set args_value = args_value | tojson | safe if args_value is mapping or (args_value is sequence and args_value is not string) else args_value | string %}
|
| 123 |
+
{{- args_value }}
|
| 124 |
+
{{- '\n</parameter>\n' }}
|
| 125 |
+
{%- endfor %}
|
| 126 |
+
{%- endif %}
|
| 127 |
+
{{- '</function>\n</tool_call>' }}
|
| 128 |
+
{%- endfor %}
|
| 129 |
+
{%- endif %}
|
| 130 |
+
{{- '<|im_end|>\n' }}
|
| 131 |
+
{%- elif message.role == "tool" %}
|
| 132 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 133 |
+
{{- '<|im_start|>user' }}
|
| 134 |
+
{%- endif %}
|
| 135 |
+
{{- '\n<tool_response>\n' }}
|
| 136 |
+
{{- content }}
|
| 137 |
+
{{- '\n</tool_response>' }}
|
| 138 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 139 |
+
{{- '<|im_end|>\n' }}
|
| 140 |
+
{%- elif loop.last %}
|
| 141 |
+
{{- '<|im_end|>\n' }}
|
| 142 |
+
{%- endif %}
|
| 143 |
+
{%- else %}
|
| 144 |
+
{{- raise_exception('Unexpected message role.') }}
|
| 145 |
+
{%- endif %}
|
| 146 |
+
{%- endfor %}
|
| 147 |
+
{%- if add_generation_prompt %}
|
| 148 |
+
{{- '<|im_start|>assistant\n' }}
|
| 149 |
+
{%- if enable_thinking is defined and enable_thinking is false %}
|
| 150 |
+
{{- '<think>\n\n</think>\n\n' }}
|
| 151 |
+
{%- else %}
|
| 152 |
+
{{- '<think>\n' }}
|
| 153 |
+
{%- endif %}
|
| 154 |
+
{%- endif %}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/special_tokens_map.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"eos_token": {
|
| 3 |
+
"content": "<|im_end|>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"pad_token": {
|
| 10 |
+
"content": "<|endoftext|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
}
|
| 16 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:06b9509352d2af50381ab2247e083b80d32d5c0aba91c272ca9ff729b6a0e523
|
| 3 |
+
size 19989325
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/tokenizer_config.json
ADDED
|
@@ -0,0 +1,300 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"248044": {
|
| 5 |
+
"content": "<|endoftext|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"248045": {
|
| 13 |
+
"content": "<|im_start|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"248046": {
|
| 21 |
+
"content": "<|im_end|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": true
|
| 27 |
+
},
|
| 28 |
+
"248047": {
|
| 29 |
+
"content": "<|object_ref_start|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": true
|
| 35 |
+
},
|
| 36 |
+
"248048": {
|
| 37 |
+
"content": "<|object_ref_end|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": true
|
| 43 |
+
},
|
| 44 |
+
"248049": {
|
| 45 |
+
"content": "<|box_start|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": true
|
| 51 |
+
},
|
| 52 |
+
"248050": {
|
| 53 |
+
"content": "<|box_end|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": true
|
| 59 |
+
},
|
| 60 |
+
"248051": {
|
| 61 |
+
"content": "<|quad_start|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": true
|
| 67 |
+
},
|
| 68 |
+
"248052": {
|
| 69 |
+
"content": "<|quad_end|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"248053": {
|
| 77 |
+
"content": "<|vision_start|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"248054": {
|
| 85 |
+
"content": "<|vision_end|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"248055": {
|
| 93 |
+
"content": "<|vision_pad|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"248056": {
|
| 101 |
+
"content": "<|image_pad|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"248057": {
|
| 109 |
+
"content": "<|video_pad|>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"248058": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"248059": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"248060": {
|
| 133 |
+
"content": "<|fim_prefix|>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"248061": {
|
| 141 |
+
"content": "<|fim_middle|>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"248062": {
|
| 149 |
+
"content": "<|fim_suffix|>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"248063": {
|
| 157 |
+
"content": "<|fim_pad|>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"248064": {
|
| 165 |
+
"content": "<|repo_name|>",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": false
|
| 171 |
+
},
|
| 172 |
+
"248065": {
|
| 173 |
+
"content": "<|file_sep|>",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": false
|
| 179 |
+
},
|
| 180 |
+
"248066": {
|
| 181 |
+
"content": "<tool_response>",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": false
|
| 187 |
+
},
|
| 188 |
+
"248067": {
|
| 189 |
+
"content": "</tool_response>",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": false
|
| 195 |
+
},
|
| 196 |
+
"248068": {
|
| 197 |
+
"content": "<think>",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": false
|
| 203 |
+
},
|
| 204 |
+
"248069": {
|
| 205 |
+
"content": "</think>",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": false
|
| 211 |
+
},
|
| 212 |
+
"248070": {
|
| 213 |
+
"content": "<|audio_start|>",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"248071": {
|
| 221 |
+
"content": "<|audio_end|>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"248072": {
|
| 229 |
+
"content": "<tts_pad>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"248073": {
|
| 237 |
+
"content": "<tts_text_bos>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"248074": {
|
| 245 |
+
"content": "<tts_text_eod>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"248075": {
|
| 253 |
+
"content": "<tts_text_bos_single>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"248076": {
|
| 261 |
+
"content": "<|audio_pad|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
}
|
| 268 |
+
},
|
| 269 |
+
"audio_bos_token": "<|audio_start|>",
|
| 270 |
+
"audio_eos_token": "<|audio_end|>",
|
| 271 |
+
"audio_token": "<|audio_pad|>",
|
| 272 |
+
"backend": "tokenizers",
|
| 273 |
+
"bos_token": null,
|
| 274 |
+
"clean_up_tokenization_spaces": false,
|
| 275 |
+
"eos_token": "<|im_end|>",
|
| 276 |
+
"errors": "replace",
|
| 277 |
+
"extra_special_tokens": {},
|
| 278 |
+
"image_token": "<|image_pad|>",
|
| 279 |
+
"is_local": true,
|
| 280 |
+
"local_files_only": false,
|
| 281 |
+
"model_max_length": 262144,
|
| 282 |
+
"model_specific_special_tokens": {
|
| 283 |
+
"audio_bos_token": "<|audio_start|>",
|
| 284 |
+
"audio_eos_token": "<|audio_end|>",
|
| 285 |
+
"audio_token": "<|audio_pad|>",
|
| 286 |
+
"image_token": "<|image_pad|>",
|
| 287 |
+
"video_token": "<|video_pad|>",
|
| 288 |
+
"vision_bos_token": "<|vision_start|>",
|
| 289 |
+
"vision_eos_token": "<|vision_end|>"
|
| 290 |
+
},
|
| 291 |
+
"pad_token": "<|endoftext|>",
|
| 292 |
+
"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+",
|
| 293 |
+
"processor_class": "Qwen3VLProcessor",
|
| 294 |
+
"split_special_tokens": false,
|
| 295 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 296 |
+
"unk_token": null,
|
| 297 |
+
"video_token": "<|video_pad|>",
|
| 298 |
+
"vision_bos_token": "<|vision_start|>",
|
| 299 |
+
"vision_eos_token": "<|vision_end|>"
|
| 300 |
+
}
|
gpu-pipelined-b2/apus_openjev_v1_4b_decode_int8hu_block32_sym/tokenizer/vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|