johnpattern commited on
Commit
5a00a83
·
verified ·
1 Parent(s): 59f06ab

Add files using upload-large-folder tool

Browse files
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 [yyyy] [name of copyright owner]
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,58 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: apache-2.0
3
+ base_model:
4
+ - OpenMOSS-Team/MOSS-Transcribe-Diarize
5
+ library_name: openvino
6
+ pipeline_tag: automatic-speech-recognition
7
+ tags:
8
+ - openvino
9
+ - speech-recognition
10
+ - speaker-diarization
11
+ - moss
12
+ - intel
13
+ - safenotes
14
+ ---
15
+ # MOSS-Transcribe-Diarize (OpenVINO) for Safenotes
16
+
17
+ OpenMOSS's MOSS-Transcribe-Diarize 0.9B (transcription with speaker turns) converted to OpenVINO IR: audio encoder fp16, language model int8, token embeddings as an fp16 array, tokenizer IRs.
18
+
19
+ This is a **format conversion made by Safenotes** (a local, on-device meeting notetaker) so the model runs on Intel
20
+ hardware (OpenVINO). It is not an official release of
21
+ the original authors, who do not endorse it. All credit for the model goes to them.
22
+
23
+ ## Original model and attribution
24
+
25
+ - **MOSS-Transcribe-Diarize** by OpenMOSS / MOSI.AI: [OpenMOSS-Team/MOSS-Transcribe-Diarize](https://huggingface.co/OpenMOSS-Team/MOSS-Transcribe-Diarize) at revision [`704aa4a9c304e8520be88901e0d1960158ef5b15`](https://huggingface.co/OpenMOSS-Team/MOSS-Transcribe-Diarize/tree/704aa4a9c304e8520be88901e0d1960158ef5b15), licensed Apache-2.0 (model card metadata and its License section; the repo has no LICENSE file).
26
+
27
+ This repository is distributed under the same licence: [Apache License 2.0](https://www.apache.org/licenses/LICENSE-2.0). The full licence text is in [`LICENSE`](LICENSE).
28
+
29
+ ## Changes made by Safenotes
30
+
31
+ Converted by Safenotes from the original PyTorch weights: the audio encoder to OpenVINO IR (fp16), the language model to a stateful OpenVINO IR with int8 weights (NNCF), the token embedding table saved as `embed_tokens_fp16.npy`, the tokenizer to OpenVINO tokenizer/detokenizer IRs, and the Whisper-style 80-bin mel filterbank saved as `whisper_mel80_filters.npy`. Prompt layout and output parsing are re-implemented in Safenotes (not in this repo). No retraining.
32
+
33
+ ## How Safenotes uses it
34
+
35
+ Safenotes uses it for the better ("HQ") transcript with speakers after the meeting, in 120 s or 60 s chunks (the same files). The Safenotes app downloads the files below from a pinned revision of this repository and checks every
36
+ file's sha256 before using it. Everything runs on the user's PC; no audio or text leaves it.
37
+
38
+ ## Files
39
+
40
+ 10 files, 1,545,432,928 bytes.
41
+
42
+ | file | bytes | sha256 |
43
+ |---|---:|---|
44
+ | `ov/embed_tokens_fp16.npy` | 311,165,056 | `e5d4705db1a624a735db063e0333551433ef09f66b6e7c18f6d5ca130c888919` |
45
+ | `ov/encoder_fp16.bin` | 624,926,906 | `dedb812a53fece0e182b6fa79418e9777678d63c3dd829983758014f7786517c` |
46
+ | `ov/encoder_fp16.xml` | 952,873 | `d677db9d839c838f131806c3e30ff8cdd3cfaa5d3bb3e75d25f57cbdf29be0ea` |
47
+ | `ov/lm_int8.bin` | 597,735,053 | `84b43674d341bb456951c312b707e824e1bbd67ed5febf8d682a58c664635c68` |
48
+ | `ov/lm_int8.xml` | 2,766,232 | `9dd51de3f194f65b49ae1c2c01d1601d651763cde408aa9a3bdd2d9459d13be2` |
49
+ | `ov/openvino_detokenizer.bin` | 2,189,746 | `31c1851c1d584d4fdc92f63beb8859be2a11f4e0da4a1381652aed8380a4079c` |
50
+ | `ov/openvino_detokenizer.xml` | 12,523 | `459b6d814f529c5562cd35f7cc503a2b7ad0d3f2045d82f660c1ccb2dcf32dc6` |
51
+ | `ov/openvino_tokenizer.bin` | 5,589,140 | `235eb6678b478a3cb81e5c7b2016b434e9e8c4d505207a51e7aa1967060060f3` |
52
+ | `ov/openvino_tokenizer.xml` | 30,951 | `a010e6c08196cbfa335a1b7e668c238ab644332676208886bdde71e0f1d8c16f` |
53
+ | `ov/whisper_mel80_filters.npy` | 64,448 | `8fd0754ae04711ecd01316f794c302149abbdff4ec6651a49a7382375b03bf0d` |
54
+
55
+ ## No warranty
56
+
57
+ Provided "as is", without warranties or conditions of any kind, express or implied, including fitness for a particular
58
+ purpose and accuracy of the output (see the licence). Use at your own risk.
ov/embed_tokens_fp16.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e5d4705db1a624a735db063e0333551433ef09f66b6e7c18f6d5ca130c888919
3
+ size 311165056
ov/encoder_fp16.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:dedb812a53fece0e182b6fa79418e9777678d63c3dd829983758014f7786517c
3
+ size 624926906
ov/encoder_fp16.xml ADDED
The diff for this file is too large to render. See raw diff
 
ov/lm_int8.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:84b43674d341bb456951c312b707e824e1bbd67ed5febf8d682a58c664635c68
3
+ size 597735053
ov/lm_int8.xml ADDED
The diff for this file is too large to render. See raw diff
 
ov/openvino_detokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:31c1851c1d584d4fdc92f63beb8859be2a11f4e0da4a1381652aed8380a4079c
3
+ size 2189746
ov/openvino_detokenizer.xml ADDED
@@ -0,0 +1,221 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="detokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_134" type="Parameter" version="opset1">
5
+ <data shape="?,?" element_type="i64" />
6
+ <output>
7
+ <port id="0" precision="I64" names="Parameter_134">
8
+ <dim>-1</dim>
9
+ <dim>-1</dim>
10
+ </port>
11
+ </output>
12
+ </layer>
13
+ <layer id="1" name="Convert_356" type="Convert" version="opset1">
14
+ <data destination_type="i32" />
15
+ <input>
16
+ <port id="0" precision="I64">
17
+ <dim>-1</dim>
18
+ <dim>-1</dim>
19
+ </port>
20
+ </input>
21
+ <output>
22
+ <port id="1" precision="I32">
23
+ <dim>-1</dim>
24
+ <dim>-1</dim>
25
+ </port>
26
+ </output>
27
+ </layer>
28
+ <layer id="2" name="Constant_136" type="Const" version="opset1">
29
+ <data element_type="i32" shape="151672" offset="0" size="606688" />
30
+ <output>
31
+ <port id="0" precision="I32">
32
+ <dim>151672</dim>
33
+ </port>
34
+ </output>
35
+ </layer>
36
+ <layer id="3" name="Constant_138" type="Const" version="opset1">
37
+ <data element_type="i32" shape="151672" offset="606688" size="606688" />
38
+ <output>
39
+ <port id="0" precision="I32">
40
+ <dim>151672</dim>
41
+ </port>
42
+ </output>
43
+ </layer>
44
+ <layer id="4" name="Constant_140" type="Const" version="opset1">
45
+ <data element_type="u8" shape="976350" offset="1213376" size="976350" />
46
+ <output>
47
+ <port id="0" precision="U8">
48
+ <dim>976350</dim>
49
+ </port>
50
+ </output>
51
+ </layer>
52
+ <layer id="5" name="Slice_145" type="Const" version="opset1">
53
+ <data element_type="i32" shape="5" offset="2189726" size="20" />
54
+ <output>
55
+ <port id="0" precision="I32">
56
+ <dim>5</dim>
57
+ </port>
58
+ </output>
59
+ </layer>
60
+ <layer id="6" name="VocabDecoder_147" type="VocabDecoder" version="extension">
61
+ <data skip_tokens="" />
62
+ <input>
63
+ <port id="0" precision="I32">
64
+ <dim>-1</dim>
65
+ <dim>-1</dim>
66
+ </port>
67
+ <port id="1" precision="I32">
68
+ <dim>151672</dim>
69
+ </port>
70
+ <port id="2" precision="I32">
71
+ <dim>151672</dim>
72
+ </port>
73
+ <port id="3" precision="U8">
74
+ <dim>976350</dim>
75
+ </port>
76
+ <port id="4" precision="I32">
77
+ <dim>5</dim>
78
+ </port>
79
+ </input>
80
+ <output>
81
+ <port id="5" precision="I32">
82
+ <dim>-1</dim>
83
+ </port>
84
+ <port id="6" precision="I32">
85
+ <dim>-1</dim>
86
+ </port>
87
+ <port id="7" precision="I32">
88
+ <dim>-1</dim>
89
+ </port>
90
+ <port id="8" precision="I32">
91
+ <dim>-1</dim>
92
+ </port>
93
+ <port id="9" precision="U8">
94
+ <dim>-1</dim>
95
+ </port>
96
+ </output>
97
+ </layer>
98
+ <layer id="7" name="FuzeRagged_148" type="FuzeRagged" version="extension">
99
+ <input>
100
+ <port id="0" precision="I32">
101
+ <dim>-1</dim>
102
+ </port>
103
+ <port id="1" precision="I32">
104
+ <dim>-1</dim>
105
+ </port>
106
+ <port id="2" precision="I32">
107
+ <dim>-1</dim>
108
+ </port>
109
+ <port id="3" precision="I32">
110
+ <dim>-1</dim>
111
+ </port>
112
+ </input>
113
+ <output>
114
+ <port id="4" precision="I32">
115
+ <dim>-1</dim>
116
+ </port>
117
+ <port id="5" precision="I32">
118
+ <dim>-1</dim>
119
+ </port>
120
+ </output>
121
+ </layer>
122
+ <layer id="8" name="UTF8Validate_149" type="UTF8Validate" version="extension">
123
+ <data replace_mode="true" />
124
+ <input>
125
+ <port id="0" precision="I32">
126
+ <dim>-1</dim>
127
+ </port>
128
+ <port id="1" precision="I32">
129
+ <dim>-1</dim>
130
+ </port>
131
+ <port id="2" precision="U8">
132
+ <dim>-1</dim>
133
+ </port>
134
+ </input>
135
+ <output>
136
+ <port id="3" precision="I32">
137
+ <dim>-1</dim>
138
+ </port>
139
+ <port id="4" precision="I32">
140
+ <dim>-1</dim>
141
+ </port>
142
+ <port id="5" precision="U8">
143
+ <dim>-1</dim>
144
+ </port>
145
+ </output>
146
+ </layer>
147
+ <layer id="9" name="StringTensorPack_150" type="StringTensorPack" version="opset15">
148
+ <input>
149
+ <port id="0" precision="I32">
150
+ <dim>-1</dim>
151
+ </port>
152
+ <port id="1" precision="I32">
153
+ <dim>-1</dim>
154
+ </port>
155
+ <port id="2" precision="U8">
156
+ <dim>-1</dim>
157
+ </port>
158
+ </input>
159
+ <output>
160
+ <port id="3" precision="STRING" names="Result_151,string_output">
161
+ <dim>-1</dim>
162
+ </port>
163
+ </output>
164
+ </layer>
165
+ <layer id="10" name="Result_151" type="Result" version="opset1" output_names="Result_151,string_output">
166
+ <input>
167
+ <port id="0" precision="STRING">
168
+ <dim>-1</dim>
169
+ </port>
170
+ </input>
171
+ </layer>
172
+ </layers>
173
+ <edges>
174
+ <edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
175
+ <edge from-layer="1" from-port="1" to-layer="6" to-port="0" />
176
+ <edge from-layer="2" from-port="0" to-layer="6" to-port="1" />
177
+ <edge from-layer="3" from-port="0" to-layer="6" to-port="2" />
178
+ <edge from-layer="4" from-port="0" to-layer="6" to-port="3" />
179
+ <edge from-layer="5" from-port="0" to-layer="6" to-port="4" />
180
+ <edge from-layer="6" from-port="7" to-layer="7" to-port="2" />
181
+ <edge from-layer="6" from-port="9" to-layer="8" to-port="2" />
182
+ <edge from-layer="6" from-port="8" to-layer="7" to-port="3" />
183
+ <edge from-layer="6" from-port="6" to-layer="7" to-port="1" />
184
+ <edge from-layer="6" from-port="5" to-layer="7" to-port="0" />
185
+ <edge from-layer="7" from-port="4" to-layer="8" to-port="0" />
186
+ <edge from-layer="7" from-port="5" to-layer="8" to-port="1" />
187
+ <edge from-layer="8" from-port="3" to-layer="9" to-port="0" />
188
+ <edge from-layer="8" from-port="4" to-layer="9" to-port="1" />
189
+ <edge from-layer="8" from-port="5" to-layer="9" to-port="2" />
190
+ <edge from-layer="9" from-port="3" to-layer="10" to-port="0" />
191
+ </edges>
192
+ <rt_info>
193
+ <info name="OpenVINO Runtime" value="2026.4.1-22982-e213a147257-releases/2026/4" />
194
+ <add_attention_mask value="True" />
195
+ <add_prefix_space />
196
+ <add_special_tokens value="True" />
197
+ <chat_template value="{%- macro render_content(content) -%}&#10; {%- if content is string -%}&#10; {{- content -}}&#10; {%- else -%}&#10; {%- for item in content -%}&#10; {%- if item.type == 'audio' or 'audio' in item or 'audio_url' in item -%}&#10; {{- '&lt;|audio_start|>&lt;|audio_pad|>&lt;|audio_end|>\n' -}}&#10; {%- elif item.type == 'text' -%}&#10; {{- item.text -}}&#10; {%- endif -%}&#10; {%- endfor -%}&#10; {%- endif -%}&#10;{%- endmacro -%}&#10;{%- if tools %}&#10; {{- '&lt;|im_start|>system\n' }}&#10; {%- if messages[0].role == 'system' %}&#10; {{- render_content(messages[0].content) + '\n\n' }}&#10; {%- else %}&#10; {{- 'You are a helpful assistant.\n\n' }}&#10; {%- endif %}&#10; {{- &quot;# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within &lt;tools>&lt;/tools> XML tags:\n&lt;tools>&quot; }}&#10; {%- for tool in tools %}&#10; {{- &quot;\n&quot; }}&#10; {{- tool | tojson }}&#10; {%- endfor %}&#10; {{- &quot;\n&lt;/tools>\n\nFor each function call, return a json object with function name and arguments within &lt;tool_call>&lt;/tool_call> XML tags:\n&lt;tool_call>\n{\&quot;name\&quot;: &lt;function-name>, \&quot;arguments\&quot;: &lt;args-json-object>}\n&lt;/tool_call>&lt;|im_end|>\n&quot; }}&#10;{%- else %}&#10; {%- if messages[0].role == 'system' %}&#10; {{- '&lt;|im_start|>system\n' + render_content(messages[0].content) + '&lt;|im_end|>\n' }}&#10; {%- else %}&#10; {{- '&lt;|im_start|>system\nYou are a helpful assistant.&lt;|im_end|>\n' }}&#10; {%- endif %}&#10;{%- endif %}&#10;{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}&#10;{%- for message in messages[::-1] %}&#10; {%- set index = (messages|length - 1) - loop.index0 %}&#10; {%- set content = render_content(message.content) %}&#10; {%- if ns.multi_step_tool and message.role == &quot;user&quot; and content is string and not(content.startswith('&lt;tool_response>') and content.endswith('&lt;/tool_response>')) %}&#10; {%- set ns.multi_step_tool = false %}&#10; {%- set ns.last_query_index = index %}&#10; {%- endif %}&#10;{%- endfor %}&#10;{%- for message in messages %}&#10; {%- set content = render_content(message.content) %}&#10; {%- if (message.role == &quot;user&quot;) or (message.role == &quot;system&quot; and not loop.first) %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content + '&lt;|im_end|>\n' }}&#10; {%- elif message.role == &quot;assistant&quot; %}&#10; {%- set reasoning_content = '' %}&#10; {%- if message.reasoning_content is string %}&#10; {%- set reasoning_content = message.reasoning_content %}&#10; {%- else %}&#10; {%- if '&lt;/think>' in content %}&#10; {%- set reasoning_content = content.split('&lt;/think>')[0].rstrip('\n').split('&lt;think>')[-1].lstrip('\n') %}&#10; {%- set content = content.split('&lt;/think>')[-1].lstrip('\n') %}&#10; {%- endif %}&#10; {%- endif %}&#10; {%- if loop.index0 > ns.last_query_index %}&#10; {%- if loop.last or (not loop.last and reasoning_content) %}&#10; {{- '&lt;|im_start|>' + message.role + '\n&lt;think>\n' + reasoning_content.strip('\n') + '\n&lt;/think>\n\n' + content.lstrip('\n') }}&#10; {%- else %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content }}&#10; {%- endif %}&#10; {%- else %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content }}&#10; {%- endif %}&#10; {%- if message.tool_calls %}&#10; {%- for tool_call in message.tool_calls %}&#10; {%- if (loop.first and content) or (not loop.first) %}&#10; {{- '\n' }}&#10; {%- endif %}&#10; {%- if tool_call.function %}&#10; {%- set tool_call = tool_call.function %}&#10; {%- endif %}&#10; {{- '&lt;tool_call>\n{&quot;name&quot;: &quot;' }}&#10; {{- tool_call.name }}&#10; {{- '&quot;, &quot;arguments&quot;: ' }}&#10; {%- if tool_call.arguments is string %}&#10; {{- tool_call.arguments }}&#10; {%- else %}&#10; {{- tool_call.arguments | tojson }}&#10; {%- endif %}&#10; {{- '}\n&lt;/tool_call>' }}&#10; {%- endfor %}&#10; {%- endif %}&#10; {{- '&lt;|im_end|>\n' }}&#10; {%- elif message.role == &quot;tool&quot; %}&#10; {%- if loop.first or (messages[loop.index0 - 1].role != &quot;tool&quot;) %}&#10; {{- '&lt;|im_start|>user' }}&#10; {%- endif %}&#10; {{- '\n&lt;tool_response>\n' }}&#10; {{- content }}&#10; {{- '\n&lt;/tool_response>' }}&#10; {%- if loop.last or (messages[loop.index0 + 1].role != &quot;tool&quot;) %}&#10; {{- '&lt;|im_end|>\n' }}&#10; {%- endif %}&#10; {%- endif %}&#10;{%- endfor %}&#10;{%- if add_generation_prompt %}&#10; {{- '&lt;|im_start|>assistant\n' }}&#10; {%- if enable_thinking is defined and enable_thinking is false %}&#10; {{- '&lt;think>\n\n&lt;/think>\n\n' }}&#10; {%- endif %}&#10;{%- endif %}" />
198
+ <clean_up_tokenization_spaces />
199
+ <detokenizer_input_type value="i64" />
200
+ <eos_token_id value="151645" />
201
+ <handle_special_tokens_with_re />
202
+ <max_length />
203
+ <number_of_inputs value="1" />
204
+ <openvino_tokenizers_version value="2026.4.1.0-738-9bfda529607" />
205
+ <openvino_version value="2026.4.1-22982-e213a147257-releases/2026/4" />
206
+ <original_post_processor_template value="{&quot;type&quot;: &quot;TemplateProcessing&quot;, &quot;single&quot;: [{&quot;Sequence&quot;: {&quot;id&quot;: &quot;A&quot;, &quot;type_id&quot;: 0}}], &quot;pair&quot;: [{&quot;Sequence&quot;: {&quot;id&quot;: &quot;A&quot;, &quot;type_id&quot;: 0}}, {&quot;Sequence&quot;: {&quot;id&quot;: &quot;B&quot;, &quot;type_id&quot;: 1}}], &quot;special_tokens&quot;: {}}" />
207
+ <original_tokenizer_class value="&lt;class 'transformers.models.qwen2.tokenization_qwen2.Qwen2Tokenizer'>" />
208
+ <pad_token_id value="151643" />
209
+ <processed_post_processor_template value="{&quot;single&quot;: {&quot;ids&quot;: [-1], &quot;type_ids&quot;: [0]}, &quot;pair&quot;: {&quot;ids&quot;: [-1, -2], &quot;type_ids&quot;: [0, 1]}}" />
210
+ <skip_special_tokens value="True" />
211
+ <streaming_detokenizer value="False" />
212
+ <tokenizer_output_type value="i64" />
213
+ <tokenizers_version value="0.22.2" />
214
+ <transformers_version value="5.5.4" />
215
+ <truncation value="False" />
216
+ <use_max_padding value="False" />
217
+ <use_sentencepiece_backend value="False" />
218
+ <utf8_replace_mode value="replace" />
219
+ <with_detokenizer value="True" />
220
+ </rt_info>
221
+ </net>
ov/openvino_tokenizer.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:235eb6678b478a3cb81e5c7b2016b434e9e8c4d505207a51e7aa1967060060f3
3
+ size 5589140
ov/openvino_tokenizer.xml ADDED
@@ -0,0 +1,818 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <net name="tokenizer" version="11">
3
+ <layers>
4
+ <layer id="0" name="Parameter_1" type="Parameter" version="opset1">
5
+ <data shape="?" element_type="string" />
6
+ <output>
7
+ <port id="0" precision="STRING" names="Parameter_1">
8
+ <dim>-1</dim>
9
+ </port>
10
+ </output>
11
+ </layer>
12
+ <layer id="1" name="Constant_110" type="Const" version="opset1">
13
+ <data element_type="boolean" shape="" offset="0" size="1" />
14
+ <output>
15
+ <port id="0" precision="BOOL" />
16
+ </output>
17
+ </layer>
18
+ <layer id="2" name="ReadValue_111" type="ReadValue" version="opset6">
19
+ <data variable_id="truncation" variable_type="dynamic" variable_shape="..." />
20
+ <input>
21
+ <port id="0" precision="BOOL" />
22
+ </input>
23
+ <output>
24
+ <port id="1" precision="BOOL" />
25
+ </output>
26
+ </layer>
27
+ <layer id="3" name="Constant_7" type="Const" version="opset1">
28
+ <data element_type="i64" shape="" offset="1" size="8" />
29
+ <output>
30
+ <port id="0" precision="I64" />
31
+ </output>
32
+ </layer>
33
+ <layer id="4" name="StringTensorUnpack_2" type="StringTensorUnpack" version="opset15">
34
+ <input>
35
+ <port id="0" precision="STRING">
36
+ <dim>-1</dim>
37
+ </port>
38
+ </input>
39
+ <output>
40
+ <port id="1" precision="I32">
41
+ <dim>-1</dim>
42
+ </port>
43
+ <port id="2" precision="I32">
44
+ <dim>-1</dim>
45
+ </port>
46
+ <port id="3" precision="U8">
47
+ <dim>-1</dim>
48
+ </port>
49
+ </output>
50
+ </layer>
51
+ <layer id="5" name="ShapeOf_3" type="ShapeOf" version="opset3">
52
+ <data output_type="i64" />
53
+ <input>
54
+ <port id="0" precision="I32">
55
+ <dim>-1</dim>
56
+ </port>
57
+ </input>
58
+ <output>
59
+ <port id="1" precision="I64">
60
+ <dim>1</dim>
61
+ </port>
62
+ </output>
63
+ </layer>
64
+ <layer id="6" name="Constant_4" type="Const" version="opset1">
65
+ <data element_type="i64" shape="" offset="1" size="8" />
66
+ <output>
67
+ <port id="0" precision="I64" />
68
+ </output>
69
+ </layer>
70
+ <layer id="7" name="Constant_5" type="Const" version="opset1">
71
+ <data element_type="i64" shape="" offset="1" size="8" />
72
+ <output>
73
+ <port id="0" precision="I64" />
74
+ </output>
75
+ </layer>
76
+ <layer id="8" name="Gather_6" type="Gather" version="opset8">
77
+ <data batch_dims="0" />
78
+ <input>
79
+ <port id="0" precision="I64">
80
+ <dim>1</dim>
81
+ </port>
82
+ <port id="1" precision="I64" />
83
+ <port id="2" precision="I64" />
84
+ </input>
85
+ <output>
86
+ <port id="3" precision="I64" />
87
+ </output>
88
+ </layer>
89
+ <layer id="9" name="Constant_8" type="Const" version="opset1">
90
+ <data element_type="i64" shape="" offset="9" size="8" />
91
+ <output>
92
+ <port id="0" precision="I64" />
93
+ </output>
94
+ </layer>
95
+ <layer id="10" name="Range_9" type="Range" version="opset4">
96
+ <data output_type="i32" />
97
+ <input>
98
+ <port id="0" precision="I64" />
99
+ <port id="1" precision="I64" />
100
+ <port id="2" precision="I64" />
101
+ </input>
102
+ <output>
103
+ <port id="3" precision="I32">
104
+ <dim>-1</dim>
105
+ </port>
106
+ </output>
107
+ </layer>
108
+ <layer id="11" name="Constant_10" type="Const" version="opset1">
109
+ <data element_type="i64" shape="" offset="9" size="8" />
110
+ <output>
111
+ <port id="0" precision="I64" />
112
+ </output>
113
+ </layer>
114
+ <layer id="12" name="Constant_11" type="Const" version="opset1">
115
+ <data element_type="i64" shape="" offset="9" size="8" />
116
+ <output>
117
+ <port id="0" precision="I64" />
118
+ </output>
119
+ </layer>
120
+ <layer id="13" name="Add_12" type="Add" version="opset1">
121
+ <data auto_broadcast="numpy" />
122
+ <input>
123
+ <port id="0" precision="I64" />
124
+ <port id="1" precision="I64" />
125
+ </input>
126
+ <output>
127
+ <port id="2" precision="I64" />
128
+ </output>
129
+ </layer>
130
+ <layer id="14" name="Constant_13" type="Const" version="opset1">
131
+ <data element_type="i64" shape="" offset="9" size="8" />
132
+ <output>
133
+ <port id="0" precision="I64" />
134
+ </output>
135
+ </layer>
136
+ <layer id="15" name="Range_14" type="Range" version="opset4">
137
+ <data output_type="i32" />
138
+ <input>
139
+ <port id="0" precision="I64" />
140
+ <port id="1" precision="I64" />
141
+ <port id="2" precision="I64" />
142
+ </input>
143
+ <output>
144
+ <port id="3" precision="I32">
145
+ <dim>-1</dim>
146
+ </port>
147
+ </output>
148
+ </layer>
149
+ <layer id="16" name="Constant_78" type="Const" version="opset1">
150
+ <data element_type="u8" shape="518" offset="17" size="518" />
151
+ <output>
152
+ <port id="0" precision="U8">
153
+ <dim>518</dim>
154
+ </port>
155
+ </output>
156
+ </layer>
157
+ <layer id="17" name="SpecialTokensSplit_79" type="SpecialTokensSplit" version="extension">
158
+ <input>
159
+ <port id="0" precision="I32">
160
+ <dim>-1</dim>
161
+ </port>
162
+ <port id="1" precision="I32">
163
+ <dim>-1</dim>
164
+ </port>
165
+ <port id="2" precision="I32">
166
+ <dim>-1</dim>
167
+ </port>
168
+ <port id="3" precision="I32">
169
+ <dim>-1</dim>
170
+ </port>
171
+ <port id="4" precision="U8">
172
+ <dim>-1</dim>
173
+ </port>
174
+ <port id="5" precision="U8">
175
+ <dim>518</dim>
176
+ </port>
177
+ </input>
178
+ <output>
179
+ <port id="6" precision="I32">
180
+ <dim>-1</dim>
181
+ </port>
182
+ <port id="7" precision="I32">
183
+ <dim>-1</dim>
184
+ </port>
185
+ <port id="8" precision="I32">
186
+ <dim>-1</dim>
187
+ </port>
188
+ <port id="9" precision="I32">
189
+ <dim>-1</dim>
190
+ </port>
191
+ <port id="10" precision="U8">
192
+ <dim>-1</dim>
193
+ </port>
194
+ <port id="11" precision="BOOL">
195
+ <dim>-1</dim>
196
+ </port>
197
+ </output>
198
+ </layer>
199
+ <layer id="18" name="CharsMapNormalization_80" type="CharsMapNormalization" version="extension">
200
+ <data add_dummy_prefix="false" remove_extra_whitespaces="false" escape_whitespaces="false" normalization_form="nfc" case_fold="false" nmt="false" />
201
+ <input>
202
+ <port id="0" precision="I32">
203
+ <dim>-1</dim>
204
+ </port>
205
+ <port id="1" precision="I32">
206
+ <dim>-1</dim>
207
+ </port>
208
+ <port id="2" precision="U8">
209
+ <dim>-1</dim>
210
+ </port>
211
+ <port id="3" precision="BOOL">
212
+ <dim>-1</dim>
213
+ </port>
214
+ </input>
215
+ <output>
216
+ <port id="4" precision="I32">
217
+ <dim>-1</dim>
218
+ </port>
219
+ <port id="5" precision="I32">
220
+ <dim>-1</dim>
221
+ </port>
222
+ <port id="6" precision="U8">
223
+ <dim>-1</dim>
224
+ </port>
225
+ <port id="7" precision="BOOL">
226
+ <dim>-1</dim>
227
+ </port>
228
+ </output>
229
+ </layer>
230
+ <layer id="19" name="Constant_82" type="Const" version="opset1">
231
+ <data element_type="u8" shape="211" offset="535" size="211" />
232
+ <output>
233
+ <port id="0" precision="U8">
234
+ <dim>211</dim>
235
+ </port>
236
+ </output>
237
+ </layer>
238
+ <layer id="20" name="RegexSplit_83" type="RegexSplit" version="extension">
239
+ <data behaviour="isolate" invert="false" max_splits="-1" />
240
+ <input>
241
+ <port id="0" precision="I32">
242
+ <dim>-1</dim>
243
+ </port>
244
+ <port id="1" precision="I32">
245
+ <dim>-1</dim>
246
+ </port>
247
+ <port id="2" precision="I32">
248
+ <dim>-1</dim>
249
+ </port>
250
+ <port id="3" precision="I32">
251
+ <dim>-1</dim>
252
+ </port>
253
+ <port id="4" precision="U8">
254
+ <dim>-1</dim>
255
+ </port>
256
+ <port id="5" precision="BOOL">
257
+ <dim>-1</dim>
258
+ </port>
259
+ <port id="6" precision="U8">
260
+ <dim>211</dim>
261
+ </port>
262
+ </input>
263
+ <output>
264
+ <port id="7" precision="I32">
265
+ <dim>-1</dim>
266
+ </port>
267
+ <port id="8" precision="I32">
268
+ <dim>-1</dim>
269
+ </port>
270
+ <port id="9" precision="I32">
271
+ <dim>-1</dim>
272
+ </port>
273
+ <port id="10" precision="I32">
274
+ <dim>-1</dim>
275
+ </port>
276
+ <port id="11" precision="U8">
277
+ <dim>-1</dim>
278
+ </port>
279
+ <port id="12" precision="BOOL">
280
+ <dim>-1</dim>
281
+ </port>
282
+ </output>
283
+ </layer>
284
+ <layer id="21" name="Constant_85" type="Const" version="opset1">
285
+ <data element_type="i32" shape="151672" offset="746" size="606688" />
286
+ <output>
287
+ <port id="0" precision="I32">
288
+ <dim>151672</dim>
289
+ </port>
290
+ </output>
291
+ </layer>
292
+ <layer id="22" name="Constant_87" type="Const" version="opset1">
293
+ <data element_type="i32" shape="151672" offset="607434" size="606688" />
294
+ <output>
295
+ <port id="0" precision="I32">
296
+ <dim>151672</dim>
297
+ </port>
298
+ </output>
299
+ </layer>
300
+ <layer id="23" name="Constant_89" type="Const" version="opset1">
301
+ <data element_type="u8" shape="976350" offset="1214122" size="976350" />
302
+ <output>
303
+ <port id="0" precision="U8">
304
+ <dim>976350</dim>
305
+ </port>
306
+ </output>
307
+ </layer>
308
+ <layer id="24" name="Constant_97" type="Const" version="opset1">
309
+ <data element_type="i32" shape="151387" offset="2190472" size="605548" />
310
+ <output>
311
+ <port id="0" precision="I32">
312
+ <dim>151387</dim>
313
+ </port>
314
+ </output>
315
+ </layer>
316
+ <layer id="25" name="Constant_99" type="Const" version="opset1">
317
+ <data element_type="i32" shape="151387" offset="2796020" size="605548" />
318
+ <output>
319
+ <port id="0" precision="I32">
320
+ <dim>151387</dim>
321
+ </port>
322
+ </output>
323
+ </layer>
324
+ <layer id="26" name="Constant_101" type="Const" version="opset1">
325
+ <data element_type="u8" shape="491359" offset="3401568" size="491359" />
326
+ <output>
327
+ <port id="0" precision="U8">
328
+ <dim>491359</dim>
329
+ </port>
330
+ </output>
331
+ </layer>
332
+ <layer id="27" name="Constant_103" type="Const" version="opset1">
333
+ <data element_type="i32" shape="151387" offset="3892927" size="605548" />
334
+ <output>
335
+ <port id="0" precision="I32">
336
+ <dim>151387</dim>
337
+ </port>
338
+ </output>
339
+ </layer>
340
+ <layer id="28" name="Constant_105" type="Const" version="opset1">
341
+ <data element_type="i32" shape="151387" offset="4498475" size="605548" />
342
+ <output>
343
+ <port id="0" precision="I32">
344
+ <dim>151387</dim>
345
+ </port>
346
+ </output>
347
+ </layer>
348
+ <layer id="29" name="Constant_107" type="Const" version="opset1">
349
+ <data element_type="u8" shape="484354" offset="5104023" size="484354" />
350
+ <output>
351
+ <port id="0" precision="U8">
352
+ <dim>484354</dim>
353
+ </port>
354
+ </output>
355
+ </layer>
356
+ <layer id="30" name="Constant_91" type="Const" version="opset1">
357
+ <data element_type="i32" shape="29" offset="5588377" size="116" />
358
+ <output>
359
+ <port id="0" precision="I32">
360
+ <dim>29</dim>
361
+ </port>
362
+ </output>
363
+ </layer>
364
+ <layer id="31" name="Constant_93" type="Const" version="opset1">
365
+ <data element_type="i32" shape="29" offset="5588493" size="116" />
366
+ <output>
367
+ <port id="0" precision="I32">
368
+ <dim>29</dim>
369
+ </port>
370
+ </output>
371
+ </layer>
372
+ <layer id="32" name="Constant_95" type="Const" version="opset1">
373
+ <data element_type="u8" shape="381" offset="5588609" size="381" />
374
+ <output>
375
+ <port id="0" precision="U8">
376
+ <dim>381</dim>
377
+ </port>
378
+ </output>
379
+ </layer>
380
+ <layer id="33" name="Constant_108" type="Const" version="opset1">
381
+ <data element_type="i32" shape="29" offset="5588990" size="116" />
382
+ <output>
383
+ <port id="0" precision="I32">
384
+ <dim>29</dim>
385
+ </port>
386
+ </output>
387
+ </layer>
388
+ <layer id="34" name="BPETokenizer_109" type="BPETokenizer" version="extension">
389
+ <data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="30328" />
390
+ <input>
391
+ <port id="0" precision="I32">
392
+ <dim>-1</dim>
393
+ </port>
394
+ <port id="1" precision="I32">
395
+ <dim>-1</dim>
396
+ </port>
397
+ <port id="2" precision="I32">
398
+ <dim>-1</dim>
399
+ </port>
400
+ <port id="3" precision="I32">
401
+ <dim>-1</dim>
402
+ </port>
403
+ <port id="4" precision="U8">
404
+ <dim>-1</dim>
405
+ </port>
406
+ <port id="5" precision="I32">
407
+ <dim>151672</dim>
408
+ </port>
409
+ <port id="6" precision="I32">
410
+ <dim>151672</dim>
411
+ </port>
412
+ <port id="7" precision="U8">
413
+ <dim>976350</dim>
414
+ </port>
415
+ <port id="8" precision="I32">
416
+ <dim>151387</dim>
417
+ </port>
418
+ <port id="9" precision="I32">
419
+ <dim>151387</dim>
420
+ </port>
421
+ <port id="10" precision="U8">
422
+ <dim>491359</dim>
423
+ </port>
424
+ <port id="11" precision="I32">
425
+ <dim>151387</dim>
426
+ </port>
427
+ <port id="12" precision="I32">
428
+ <dim>151387</dim>
429
+ </port>
430
+ <port id="13" precision="U8">
431
+ <dim>484354</dim>
432
+ </port>
433
+ <port id="14" precision="I32">
434
+ <dim>29</dim>
435
+ </port>
436
+ <port id="15" precision="I32">
437
+ <dim>29</dim>
438
+ </port>
439
+ <port id="16" precision="U8">
440
+ <dim>381</dim>
441
+ </port>
442
+ <port id="17" precision="I32">
443
+ <dim>29</dim>
444
+ </port>
445
+ </input>
446
+ <output>
447
+ <port id="18" precision="I32">
448
+ <dim>-1</dim>
449
+ </port>
450
+ <port id="19" precision="I32">
451
+ <dim>-1</dim>
452
+ </port>
453
+ <port id="20" precision="I32">
454
+ <dim>-1</dim>
455
+ </port>
456
+ </output>
457
+ </layer>
458
+ <layer id="35" name="Constant_113" type="Const" version="opset1">
459
+ <data element_type="i32" shape="" offset="5589106" size="4" />
460
+ <output>
461
+ <port id="0" precision="I32" />
462
+ </output>
463
+ </layer>
464
+ <layer id="36" name="Constant_114" type="Const" version="opset1">
465
+ <data element_type="i32" shape="" offset="5589110" size="4" />
466
+ <output>
467
+ <port id="0" precision="I32" />
468
+ </output>
469
+ </layer>
470
+ <layer id="37" name="Select_115" type="Select" version="opset1">
471
+ <data auto_broadcast="numpy" />
472
+ <input>
473
+ <port id="0" precision="BOOL" />
474
+ <port id="1" precision="I32" />
475
+ <port id="2" precision="I32" />
476
+ </input>
477
+ <output>
478
+ <port id="3" precision="I32" />
479
+ </output>
480
+ </layer>
481
+ <layer id="38" name="Constant_117" type="Const" version="opset1">
482
+ <data element_type="u8" shape="5" offset="5589114" size="5" />
483
+ <output>
484
+ <port id="0" precision="U8">
485
+ <dim>5</dim>
486
+ </port>
487
+ </output>
488
+ </layer>
489
+ <layer id="39" name="Constant_119" type="Const" version="opset1">
490
+ <data element_type="u8" shape="13" offset="5589119" size="13" />
491
+ <output>
492
+ <port id="0" precision="U8">
493
+ <dim>13</dim>
494
+ </port>
495
+ </output>
496
+ </layer>
497
+ <layer id="40" name="Truncate_120" type="Truncate" version="extension">
498
+ <data m_num_inputs="1" />
499
+ <input>
500
+ <port id="0" precision="I32">
501
+ <dim>-1</dim>
502
+ </port>
503
+ <port id="1" precision="I32">
504
+ <dim>-1</dim>
505
+ </port>
506
+ <port id="2" precision="I32">
507
+ <dim>-1</dim>
508
+ </port>
509
+ <port id="3" precision="I32" />
510
+ <port id="4" precision="U8">
511
+ <dim>5</dim>
512
+ </port>
513
+ <port id="5" precision="U8">
514
+ <dim>13</dim>
515
+ </port>
516
+ </input>
517
+ <output>
518
+ <port id="6" precision="I32">
519
+ <dim>-1</dim>
520
+ </port>
521
+ <port id="7" precision="I32">
522
+ <dim>-1</dim>
523
+ </port>
524
+ <port id="8" precision="I32">
525
+ <dim>-1</dim>
526
+ </port>
527
+ </output>
528
+ </layer>
529
+ <layer id="41" name="Constant_121" type="Const" version="opset1">
530
+ <data element_type="i32" shape="1" offset="5589132" size="4" />
531
+ <output>
532
+ <port id="0" precision="I32">
533
+ <dim>1</dim>
534
+ </port>
535
+ </output>
536
+ </layer>
537
+ <layer id="42" name="CombineSegments_122" type="CombineSegments" version="extension">
538
+ <input>
539
+ <port id="0" precision="I32">
540
+ <dim>-1</dim>
541
+ </port>
542
+ <port id="1" precision="I32">
543
+ <dim>-1</dim>
544
+ </port>
545
+ <port id="2" precision="I32">
546
+ <dim>-1</dim>
547
+ </port>
548
+ <port id="3" precision="I32">
549
+ <dim>1</dim>
550
+ </port>
551
+ </input>
552
+ <output>
553
+ <port id="4" precision="I32">
554
+ <dim>-1</dim>
555
+ </port>
556
+ <port id="5" precision="I32">
557
+ <dim>-1</dim>
558
+ </port>
559
+ <port id="6" precision="I32">
560
+ <dim>-1</dim>
561
+ </port>
562
+ <port id="7" precision="I32">
563
+ <dim>-1</dim>
564
+ </port>
565
+ <port id="8" precision="I32">
566
+ <dim>-1</dim>
567
+ </port>
568
+ <port id="9" precision="I32">
569
+ <dim>-1</dim>
570
+ </port>
571
+ </output>
572
+ </layer>
573
+ <layer id="43" name="Subtract_123" type="Subtract" version="opset1">
574
+ <data auto_broadcast="numpy" />
575
+ <input>
576
+ <port id="0" precision="I32">
577
+ <dim>-1</dim>
578
+ </port>
579
+ <port id="1" precision="I32">
580
+ <dim>-1</dim>
581
+ </port>
582
+ </input>
583
+ <output>
584
+ <port id="2" precision="I32">
585
+ <dim>-1</dim>
586
+ </port>
587
+ </output>
588
+ </layer>
589
+ <layer id="44" name="Constant_124" type="Const" version="opset1">
590
+ <data element_type="i32" shape="" offset="5589132" size="4" />
591
+ <output>
592
+ <port id="0" precision="I32" />
593
+ </output>
594
+ </layer>
595
+ <layer id="45" name="ReduceMax_125" type="ReduceMax" version="opset1">
596
+ <data keep_dims="false" />
597
+ <input>
598
+ <port id="0" precision="I32">
599
+ <dim>-1</dim>
600
+ </port>
601
+ <port id="1" precision="I32" />
602
+ </input>
603
+ <output>
604
+ <port id="2" precision="I32" />
605
+ </output>
606
+ </layer>
607
+ <layer id="46" name="Constant_126" type="Const" version="opset1">
608
+ <data element_type="i32" shape="" offset="5589136" size="4" />
609
+ <output>
610
+ <port id="0" precision="I32" />
611
+ </output>
612
+ </layer>
613
+ <layer id="47" name="RaggedToDense_127" type="RaggedToDense" version="extension">
614
+ <data pad_right="true" m_pad_max_length="false" />
615
+ <input>
616
+ <port id="0" precision="I32">
617
+ <dim>-1</dim>
618
+ </port>
619
+ <port id="1" precision="I32">
620
+ <dim>-1</dim>
621
+ </port>
622
+ <port id="2" precision="I32">
623
+ <dim>-1</dim>
624
+ </port>
625
+ <port id="3" precision="I32" />
626
+ <port id="4" precision="I32" />
627
+ </input>
628
+ <output>
629
+ <port id="5" precision="I32">
630
+ <dim>-1</dim>
631
+ <dim>-1</dim>
632
+ </port>
633
+ <port id="6" precision="BOOL">
634
+ <dim>-1</dim>
635
+ <dim>-1</dim>
636
+ </port>
637
+ </output>
638
+ </layer>
639
+ <layer id="48" name="Convert_128" type="Convert" version="opset1">
640
+ <data destination_type="i32" />
641
+ <input>
642
+ <port id="0" precision="BOOL">
643
+ <dim>-1</dim>
644
+ <dim>-1</dim>
645
+ </port>
646
+ </input>
647
+ <output>
648
+ <port id="1" precision="I32">
649
+ <dim>-1</dim>
650
+ <dim>-1</dim>
651
+ </port>
652
+ </output>
653
+ </layer>
654
+ <layer id="49" name="Convert_128.0" type="Convert" version="opset1">
655
+ <data destination_type="i64" />
656
+ <input>
657
+ <port id="0" precision="I32">
658
+ <dim>-1</dim>
659
+ <dim>-1</dim>
660
+ </port>
661
+ </input>
662
+ <output>
663
+ <port id="1" precision="I64" names="attention_mask">
664
+ <dim>-1</dim>
665
+ <dim>-1</dim>
666
+ </port>
667
+ </output>
668
+ </layer>
669
+ <layer id="50" name="RaggedToDense_127.0" type="Convert" version="opset1">
670
+ <data destination_type="i64" />
671
+ <input>
672
+ <port id="0" precision="I32">
673
+ <dim>-1</dim>
674
+ <dim>-1</dim>
675
+ </port>
676
+ </input>
677
+ <output>
678
+ <port id="1" precision="I64" names="input_ids">
679
+ <dim>-1</dim>
680
+ <dim>-1</dim>
681
+ </port>
682
+ </output>
683
+ </layer>
684
+ <layer id="51" name="Assign_112" type="Assign" version="opset6">
685
+ <data variable_id="truncation" />
686
+ <input>
687
+ <port id="0" precision="BOOL" />
688
+ </input>
689
+ <output>
690
+ <port id="1" precision="BOOL" />
691
+ </output>
692
+ </layer>
693
+ <layer id="52" name="Result_131" type="Result" version="opset1" output_names="input_ids">
694
+ <input>
695
+ <port id="0" precision="I64">
696
+ <dim>-1</dim>
697
+ <dim>-1</dim>
698
+ </port>
699
+ </input>
700
+ </layer>
701
+ <layer id="53" name="Result_133" type="Result" version="opset1" output_names="attention_mask">
702
+ <input>
703
+ <port id="0" precision="I64">
704
+ <dim>-1</dim>
705
+ <dim>-1</dim>
706
+ </port>
707
+ </input>
708
+ </layer>
709
+ </layers>
710
+ <edges>
711
+ <edge from-layer="0" from-port="0" to-layer="4" to-port="0" />
712
+ <edge from-layer="1" from-port="0" to-layer="2" to-port="0" />
713
+ <edge from-layer="2" from-port="1" to-layer="37" to-port="0" />
714
+ <edge from-layer="2" from-port="1" to-layer="51" to-port="0" />
715
+ <edge from-layer="3" from-port="0" to-layer="10" to-port="0" />
716
+ <edge from-layer="4" from-port="1" to-layer="5" to-port="0" />
717
+ <edge from-layer="4" from-port="3" to-layer="17" to-port="4" />
718
+ <edge from-layer="4" from-port="2" to-layer="17" to-port="3" />
719
+ <edge from-layer="4" from-port="1" to-layer="17" to-port="2" />
720
+ <edge from-layer="5" from-port="1" to-layer="8" to-port="0" />
721
+ <edge from-layer="6" from-port="0" to-layer="8" to-port="1" />
722
+ <edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
723
+ <edge from-layer="8" from-port="3" to-layer="10" to-port="1" />
724
+ <edge from-layer="8" from-port="3" to-layer="13" to-port="0" />
725
+ <edge from-layer="9" from-port="0" to-layer="10" to-port="2" />
726
+ <edge from-layer="10" from-port="3" to-layer="17" to-port="0" />
727
+ <edge from-layer="11" from-port="0" to-layer="15" to-port="0" />
728
+ <edge from-layer="12" from-port="0" to-layer="13" to-port="1" />
729
+ <edge from-layer="13" from-port="2" to-layer="15" to-port="1" />
730
+ <edge from-layer="14" from-port="0" to-layer="15" to-port="2" />
731
+ <edge from-layer="15" from-port="3" to-layer="17" to-port="1" />
732
+ <edge from-layer="16" from-port="0" to-layer="17" to-port="5" />
733
+ <edge from-layer="17" from-port="10" to-layer="18" to-port="2" />
734
+ <edge from-layer="17" from-port="7" to-layer="20" to-port="1" />
735
+ <edge from-layer="17" from-port="11" to-layer="18" to-port="3" />
736
+ <edge from-layer="17" from-port="8" to-layer="18" to-port="0" />
737
+ <edge from-layer="17" from-port="6" to-layer="20" to-port="0" />
738
+ <edge from-layer="17" from-port="9" to-layer="18" to-port="1" />
739
+ <edge from-layer="18" from-port="4" to-layer="20" to-port="2" />
740
+ <edge from-layer="18" from-port="5" to-layer="20" to-port="3" />
741
+ <edge from-layer="18" from-port="6" to-layer="20" to-port="4" />
742
+ <edge from-layer="18" from-port="7" to-layer="20" to-port="5" />
743
+ <edge from-layer="19" from-port="0" to-layer="20" to-port="6" />
744
+ <edge from-layer="20" from-port="8" to-layer="34" to-port="1" />
745
+ <edge from-layer="20" from-port="11" to-layer="34" to-port="4" />
746
+ <edge from-layer="20" from-port="10" to-layer="34" to-port="3" />
747
+ <edge from-layer="20" from-port="9" to-layer="34" to-port="2" />
748
+ <edge from-layer="20" from-port="7" to-layer="34" to-port="0" />
749
+ <edge from-layer="21" from-port="0" to-layer="34" to-port="5" />
750
+ <edge from-layer="22" from-port="0" to-layer="34" to-port="6" />
751
+ <edge from-layer="23" from-port="0" to-layer="34" to-port="7" />
752
+ <edge from-layer="24" from-port="0" to-layer="34" to-port="8" />
753
+ <edge from-layer="25" from-port="0" to-layer="34" to-port="9" />
754
+ <edge from-layer="26" from-port="0" to-layer="34" to-port="10" />
755
+ <edge from-layer="27" from-port="0" to-layer="34" to-port="11" />
756
+ <edge from-layer="28" from-port="0" to-layer="34" to-port="12" />
757
+ <edge from-layer="29" from-port="0" to-layer="34" to-port="13" />
758
+ <edge from-layer="30" from-port="0" to-layer="34" to-port="14" />
759
+ <edge from-layer="31" from-port="0" to-layer="34" to-port="15" />
760
+ <edge from-layer="32" from-port="0" to-layer="34" to-port="16" />
761
+ <edge from-layer="33" from-port="0" to-layer="34" to-port="17" />
762
+ <edge from-layer="34" from-port="18" to-layer="40" to-port="0" />
763
+ <edge from-layer="34" from-port="19" to-layer="40" to-port="1" />
764
+ <edge from-layer="34" from-port="20" to-layer="40" to-port="2" />
765
+ <edge from-layer="35" from-port="0" to-layer="37" to-port="1" />
766
+ <edge from-layer="36" from-port="0" to-layer="37" to-port="2" />
767
+ <edge from-layer="37" from-port="3" to-layer="40" to-port="3" />
768
+ <edge from-layer="38" from-port="0" to-layer="40" to-port="4" />
769
+ <edge from-layer="39" from-port="0" to-layer="40" to-port="5" />
770
+ <edge from-layer="40" from-port="7" to-layer="42" to-port="1" />
771
+ <edge from-layer="40" from-port="6" to-layer="42" to-port="0" />
772
+ <edge from-layer="40" from-port="8" to-layer="42" to-port="2" />
773
+ <edge from-layer="41" from-port="0" to-layer="42" to-port="3" />
774
+ <edge from-layer="42" from-port="6" to-layer="47" to-port="2" />
775
+ <edge from-layer="42" from-port="5" to-layer="47" to-port="1" />
776
+ <edge from-layer="42" from-port="4" to-layer="47" to-port="0" />
777
+ <edge from-layer="42" from-port="4" to-layer="43" to-port="1" />
778
+ <edge from-layer="42" from-port="5" to-layer="43" to-port="0" />
779
+ <edge from-layer="43" from-port="2" to-layer="45" to-port="0" />
780
+ <edge from-layer="44" from-port="0" to-layer="45" to-port="1" />
781
+ <edge from-layer="45" from-port="2" to-layer="47" to-port="3" />
782
+ <edge from-layer="46" from-port="0" to-layer="47" to-port="4" />
783
+ <edge from-layer="47" from-port="6" to-layer="48" to-port="0" />
784
+ <edge from-layer="47" from-port="5" to-layer="50" to-port="0" />
785
+ <edge from-layer="48" from-port="1" to-layer="49" to-port="0" />
786
+ <edge from-layer="49" from-port="1" to-layer="53" to-port="0" />
787
+ <edge from-layer="50" from-port="1" to-layer="52" to-port="0" />
788
+ </edges>
789
+ <rt_info>
790
+ <info name="OpenVINO Runtime" value="2026.4.1-22982-e213a147257-releases/2026/4" />
791
+ <add_attention_mask value="True" />
792
+ <add_prefix_space />
793
+ <add_special_tokens value="True" />
794
+ <chat_template value="{%- macro render_content(content) -%}&#10; {%- if content is string -%}&#10; {{- content -}}&#10; {%- else -%}&#10; {%- for item in content -%}&#10; {%- if item.type == 'audio' or 'audio' in item or 'audio_url' in item -%}&#10; {{- '&lt;|audio_start|>&lt;|audio_pad|>&lt;|audio_end|>\n' -}}&#10; {%- elif item.type == 'text' -%}&#10; {{- item.text -}}&#10; {%- endif -%}&#10; {%- endfor -%}&#10; {%- endif -%}&#10;{%- endmacro -%}&#10;{%- if tools %}&#10; {{- '&lt;|im_start|>system\n' }}&#10; {%- if messages[0].role == 'system' %}&#10; {{- render_content(messages[0].content) + '\n\n' }}&#10; {%- else %}&#10; {{- 'You are a helpful assistant.\n\n' }}&#10; {%- endif %}&#10; {{- &quot;# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within &lt;tools>&lt;/tools> XML tags:\n&lt;tools>&quot; }}&#10; {%- for tool in tools %}&#10; {{- &quot;\n&quot; }}&#10; {{- tool | tojson }}&#10; {%- endfor %}&#10; {{- &quot;\n&lt;/tools>\n\nFor each function call, return a json object with function name and arguments within &lt;tool_call>&lt;/tool_call> XML tags:\n&lt;tool_call>\n{\&quot;name\&quot;: &lt;function-name>, \&quot;arguments\&quot;: &lt;args-json-object>}\n&lt;/tool_call>&lt;|im_end|>\n&quot; }}&#10;{%- else %}&#10; {%- if messages[0].role == 'system' %}&#10; {{- '&lt;|im_start|>system\n' + render_content(messages[0].content) + '&lt;|im_end|>\n' }}&#10; {%- else %}&#10; {{- '&lt;|im_start|>system\nYou are a helpful assistant.&lt;|im_end|>\n' }}&#10; {%- endif %}&#10;{%- endif %}&#10;{%- set ns = namespace(multi_step_tool=true, last_query_index=messages|length - 1) %}&#10;{%- for message in messages[::-1] %}&#10; {%- set index = (messages|length - 1) - loop.index0 %}&#10; {%- set content = render_content(message.content) %}&#10; {%- if ns.multi_step_tool and message.role == &quot;user&quot; and content is string and not(content.startswith('&lt;tool_response>') and content.endswith('&lt;/tool_response>')) %}&#10; {%- set ns.multi_step_tool = false %}&#10; {%- set ns.last_query_index = index %}&#10; {%- endif %}&#10;{%- endfor %}&#10;{%- for message in messages %}&#10; {%- set content = render_content(message.content) %}&#10; {%- if (message.role == &quot;user&quot;) or (message.role == &quot;system&quot; and not loop.first) %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content + '&lt;|im_end|>\n' }}&#10; {%- elif message.role == &quot;assistant&quot; %}&#10; {%- set reasoning_content = '' %}&#10; {%- if message.reasoning_content is string %}&#10; {%- set reasoning_content = message.reasoning_content %}&#10; {%- else %}&#10; {%- if '&lt;/think>' in content %}&#10; {%- set reasoning_content = content.split('&lt;/think>')[0].rstrip('\n').split('&lt;think>')[-1].lstrip('\n') %}&#10; {%- set content = content.split('&lt;/think>')[-1].lstrip('\n') %}&#10; {%- endif %}&#10; {%- endif %}&#10; {%- if loop.index0 > ns.last_query_index %}&#10; {%- if loop.last or (not loop.last and reasoning_content) %}&#10; {{- '&lt;|im_start|>' + message.role + '\n&lt;think>\n' + reasoning_content.strip('\n') + '\n&lt;/think>\n\n' + content.lstrip('\n') }}&#10; {%- else %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content }}&#10; {%- endif %}&#10; {%- else %}&#10; {{- '&lt;|im_start|>' + message.role + '\n' + content }}&#10; {%- endif %}&#10; {%- if message.tool_calls %}&#10; {%- for tool_call in message.tool_calls %}&#10; {%- if (loop.first and content) or (not loop.first) %}&#10; {{- '\n' }}&#10; {%- endif %}&#10; {%- if tool_call.function %}&#10; {%- set tool_call = tool_call.function %}&#10; {%- endif %}&#10; {{- '&lt;tool_call>\n{&quot;name&quot;: &quot;' }}&#10; {{- tool_call.name }}&#10; {{- '&quot;, &quot;arguments&quot;: ' }}&#10; {%- if tool_call.arguments is string %}&#10; {{- tool_call.arguments }}&#10; {%- else %}&#10; {{- tool_call.arguments | tojson }}&#10; {%- endif %}&#10; {{- '}\n&lt;/tool_call>' }}&#10; {%- endfor %}&#10; {%- endif %}&#10; {{- '&lt;|im_end|>\n' }}&#10; {%- elif message.role == &quot;tool&quot; %}&#10; {%- if loop.first or (messages[loop.index0 - 1].role != &quot;tool&quot;) %}&#10; {{- '&lt;|im_start|>user' }}&#10; {%- endif %}&#10; {{- '\n&lt;tool_response>\n' }}&#10; {{- content }}&#10; {{- '\n&lt;/tool_response>' }}&#10; {%- if loop.last or (messages[loop.index0 + 1].role != &quot;tool&quot;) %}&#10; {{- '&lt;|im_end|>\n' }}&#10; {%- endif %}&#10; {%- endif %}&#10;{%- endfor %}&#10;{%- if add_generation_prompt %}&#10; {{- '&lt;|im_start|>assistant\n' }}&#10; {%- if enable_thinking is defined and enable_thinking is false %}&#10; {{- '&lt;think>\n\n&lt;/think>\n\n' }}&#10; {%- endif %}&#10;{%- endif %}" />
795
+ <clean_up_tokenization_spaces />
796
+ <detokenizer_input_type value="i64" />
797
+ <eos_token_id value="151645" />
798
+ <handle_special_tokens_with_re />
799
+ <max_length />
800
+ <number_of_inputs value="1" />
801
+ <openvino_tokenizers_version value="2026.4.1.0-738-9bfda529607" />
802
+ <openvino_version value="2026.4.1-22982-e213a147257-releases/2026/4" />
803
+ <original_post_processor_template value="{&quot;type&quot;: &quot;TemplateProcessing&quot;, &quot;single&quot;: [{&quot;Sequence&quot;: {&quot;id&quot;: &quot;A&quot;, &quot;type_id&quot;: 0}}], &quot;pair&quot;: [{&quot;Sequence&quot;: {&quot;id&quot;: &quot;A&quot;, &quot;type_id&quot;: 0}}, {&quot;Sequence&quot;: {&quot;id&quot;: &quot;B&quot;, &quot;type_id&quot;: 1}}], &quot;special_tokens&quot;: {}}" />
804
+ <original_tokenizer_class value="&lt;class 'transformers.models.qwen2.tokenization_qwen2.Qwen2Tokenizer'>" />
805
+ <pad_token_id value="151643" />
806
+ <processed_post_processor_template value="{&quot;single&quot;: {&quot;ids&quot;: [-1], &quot;type_ids&quot;: [0]}, &quot;pair&quot;: {&quot;ids&quot;: [-1, -2], &quot;type_ids&quot;: [0, 1]}}" />
807
+ <skip_special_tokens value="True" />
808
+ <streaming_detokenizer value="False" />
809
+ <tokenizer_output_type value="i64" />
810
+ <tokenizers_version value="0.22.2" />
811
+ <transformers_version value="5.5.4" />
812
+ <truncation value="False" />
813
+ <use_max_padding value="False" />
814
+ <use_sentencepiece_backend value="False" />
815
+ <utf8_replace_mode value="replace" />
816
+ <with_detokenizer value="True" />
817
+ </rt_info>
818
+ </net>
ov/whisper_mel80_filters.npy ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:8fd0754ae04711ecd01316f794c302149abbdff4ec6651a49a7382375b03bf0d
3
+ size 64448