Add files using upload-large-folder tool
Browse files- LICENSE +180 -0
- README.md +86 -0
- README_en.md +68 -0
- chat_template.jinja +184 -0
- config.json +37 -0
- engine.json +155 -0
- generation_config.json +10 -0
- merges.txt +0 -0
- seg00.bin +3 -0
- seg00_S1.xml +0 -0
- seg00_S16.xml +0 -0
- seg01.bin +3 -0
- seg01_S1.xml +0 -0
- seg01_S16.xml +0 -0
- seg02.bin +3 -0
- seg02_S1.xml +0 -0
- seg02_S16.xml +0 -0
- seg03.bin +3 -0
- seg03_S1.xml +0 -0
- seg03_S16.xml +0 -0
- seg04.bin +3 -0
- seg04_S1.xml +0 -0
- seg04_S16.xml +0 -0
- seg05.bin +3 -0
- seg05_S1.xml +725 -0
- seg05_S16.xml +725 -0
- shared.bin +3 -0
- shared.bin.json +1 -0
- special_tokens_map.json +30 -0
- tokenizer.json +0 -0
- tokenizer_config.json +785 -0
- vocab.json +0 -0
LICENSE
ADDED
|
@@ -0,0 +1,180 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
The weights in this repository are converted (re-quantized / restructured, no training) from ibm-granite/granite-4.2-3b
|
| 2 |
+
(https://huggingface.co/ibm-granite/granite-4.2-3b), released under the Apache License 2.0. The license text follows.
|
| 3 |
+
|
| 4 |
+
|
| 5 |
+
Apache License
|
| 6 |
+
Version 2.0, January 2004
|
| 7 |
+
http://www.apache.org/licenses/
|
| 8 |
+
|
| 9 |
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
| 10 |
+
|
| 11 |
+
1. Definitions.
|
| 12 |
+
|
| 13 |
+
"License" shall mean the terms and conditions for use, reproduction,
|
| 14 |
+
and distribution as defined by Sections 1 through 9 of this document.
|
| 15 |
+
|
| 16 |
+
"Licensor" shall mean the copyright owner or entity authorized by
|
| 17 |
+
the copyright owner that is granting the License.
|
| 18 |
+
|
| 19 |
+
"Legal Entity" shall mean the union of the acting entity and all
|
| 20 |
+
other entities that control, are controlled by, or are under common
|
| 21 |
+
control with that entity. For the purposes of this definition,
|
| 22 |
+
"control" means (i) the power, direct or indirect, to cause the
|
| 23 |
+
direction or management of such entity, whether by contract or
|
| 24 |
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
| 25 |
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
| 26 |
+
|
| 27 |
+
"You" (or "Your") shall mean an individual or Legal Entity
|
| 28 |
+
exercising permissions granted by this License.
|
| 29 |
+
|
| 30 |
+
"Source" form shall mean the preferred form for making modifications,
|
| 31 |
+
including but not limited to software source code, documentation
|
| 32 |
+
source, and configuration files.
|
| 33 |
+
|
| 34 |
+
"Object" form shall mean any form resulting from mechanical
|
| 35 |
+
transformation or translation of a Source form, including but
|
| 36 |
+
not limited to compiled object code, generated documentation,
|
| 37 |
+
and conversions to other media types.
|
| 38 |
+
|
| 39 |
+
"Work" shall mean the work of authorship, whether in Source or
|
| 40 |
+
Object form, made available under the License, as indicated by a
|
| 41 |
+
copyright notice that is included in or attached to the work
|
| 42 |
+
(an example is provided in the Appendix below).
|
| 43 |
+
|
| 44 |
+
"Derivative Works" shall mean any work, whether in Source or Object
|
| 45 |
+
form, that is based on (or derived from) the Work and for which the
|
| 46 |
+
editorial revisions, annotations, elaborations, or other modifications
|
| 47 |
+
represent, as a whole, an original work of authorship. For the purposes
|
| 48 |
+
of this License, Derivative Works shall not include works that remain
|
| 49 |
+
separable from, or merely link (or bind by name) to the interfaces of,
|
| 50 |
+
the Work and Derivative Works thereof.
|
| 51 |
+
|
| 52 |
+
"Contribution" shall mean any work of authorship, including
|
| 53 |
+
the original version of the Work and any modifications or additions
|
| 54 |
+
to that Work or Derivative Works thereof, that is intentionally
|
| 55 |
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
| 56 |
+
or by an individual or Legal Entity authorized to submit on behalf of
|
| 57 |
+
the copyright owner. For the purposes of this definition, "submitted"
|
| 58 |
+
means any form of electronic, verbal, or written communication sent
|
| 59 |
+
to the Licensor or its representatives, including but not limited to
|
| 60 |
+
communication on electronic mailing lists, source code control systems,
|
| 61 |
+
and issue tracking systems that are managed by, or on behalf of, the
|
| 62 |
+
Licensor for the purpose of discussing and improving the Work, but
|
| 63 |
+
excluding communication that is conspicuously marked or otherwise
|
| 64 |
+
designated in writing by the copyright owner as "Not a Contribution."
|
| 65 |
+
|
| 66 |
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
| 67 |
+
on behalf of whom a Contribution has been received by Licensor and
|
| 68 |
+
subsequently incorporated within the Work.
|
| 69 |
+
|
| 70 |
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
| 71 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 72 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 73 |
+
copyright license to reproduce, prepare Derivative Works of,
|
| 74 |
+
publicly display, publicly perform, sublicense, and distribute the
|
| 75 |
+
Work and such Derivative Works in Source or Object form.
|
| 76 |
+
|
| 77 |
+
3. Grant of Patent License. Subject to the terms and conditions of
|
| 78 |
+
this License, each Contributor hereby grants to You a perpetual,
|
| 79 |
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
| 80 |
+
(except as stated in this section) patent license to make, have made,
|
| 81 |
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
| 82 |
+
where such license applies only to those patent claims licensable
|
| 83 |
+
by such Contributor that are necessarily infringed by their
|
| 84 |
+
Contribution(s) alone or by combination of their Contribution(s)
|
| 85 |
+
with the Work to which such Contribution(s) was submitted. If You
|
| 86 |
+
institute patent litigation against any entity (including a
|
| 87 |
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
| 88 |
+
or a Contribution incorporated within the Work constitutes direct
|
| 89 |
+
or contributory patent infringement, then any patent licenses
|
| 90 |
+
granted to You under this License for that Work shall terminate
|
| 91 |
+
as of the date such litigation is filed.
|
| 92 |
+
|
| 93 |
+
4. Redistribution. You may reproduce and distribute copies of the
|
| 94 |
+
Work or Derivative Works thereof in any medium, with or without
|
| 95 |
+
modifications, and in Source or Object form, provided that You
|
| 96 |
+
meet the following conditions:
|
| 97 |
+
|
| 98 |
+
(a) You must give any other recipients of the Work or
|
| 99 |
+
Derivative Works a copy of this License; and
|
| 100 |
+
|
| 101 |
+
(b) You must cause any modified files to carry prominent notices
|
| 102 |
+
stating that You changed the files; and
|
| 103 |
+
|
| 104 |
+
(c) You must retain, in the Source form of any Derivative Works
|
| 105 |
+
that You distribute, all copyright, patent, trademark, and
|
| 106 |
+
attribution notices from the Source form of the Work,
|
| 107 |
+
excluding those notices that do not pertain to any part of
|
| 108 |
+
the Derivative Works; and
|
| 109 |
+
|
| 110 |
+
(d) If the Work includes a "NOTICE" text file as part of its
|
| 111 |
+
distribution, then any Derivative Works that You distribute must
|
| 112 |
+
include a readable copy of the attribution notices contained
|
| 113 |
+
within such NOTICE file, excluding those notices that do not
|
| 114 |
+
pertain to any part of the Derivative Works, in at least one
|
| 115 |
+
of the following places: within a NOTICE text file distributed
|
| 116 |
+
as part of the Derivative Works; within the Source form or
|
| 117 |
+
documentation, if provided along with the Derivative Works; or,
|
| 118 |
+
within a display generated by the Derivative Works, if and
|
| 119 |
+
wherever such third-party notices normally appear. The contents
|
| 120 |
+
of the NOTICE file are for informational purposes only and
|
| 121 |
+
do not modify the License. You may add Your own attribution
|
| 122 |
+
notices within Derivative Works that You distribute, alongside
|
| 123 |
+
or as an addendum to the NOTICE text from the Work, provided
|
| 124 |
+
that such additional attribution notices cannot be construed
|
| 125 |
+
as modifying the License.
|
| 126 |
+
|
| 127 |
+
You may add Your own copyright statement to Your modifications and
|
| 128 |
+
may provide additional or different license terms and conditions
|
| 129 |
+
for use, reproduction, or distribution of Your modifications, or
|
| 130 |
+
for any such Derivative Works as a whole, provided Your use,
|
| 131 |
+
reproduction, and distribution of the Work otherwise complies with
|
| 132 |
+
the conditions stated in this License.
|
| 133 |
+
|
| 134 |
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
| 135 |
+
any Contribution intentionally submitted for inclusion in the Work
|
| 136 |
+
by You to the Licensor shall be under the terms and conditions of
|
| 137 |
+
this License, without any additional terms or conditions.
|
| 138 |
+
Notwithstanding the above, nothing herein shall supersede or modify
|
| 139 |
+
the terms of any separate license agreement you may have executed
|
| 140 |
+
with Licensor regarding such Contributions.
|
| 141 |
+
|
| 142 |
+
6. Trademarks. This License does not grant permission to use the trade
|
| 143 |
+
names, trademarks, service marks, or product names of the Licensor,
|
| 144 |
+
except as required for reasonable and customary use in describing the
|
| 145 |
+
origin of the Work and reproducing the content of the NOTICE file.
|
| 146 |
+
|
| 147 |
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
| 148 |
+
agreed to in writing, Licensor provides the Work (and each
|
| 149 |
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
| 150 |
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
| 151 |
+
implied, including, without limitation, any warranties or conditions
|
| 152 |
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
| 153 |
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
| 154 |
+
appropriateness of using or redistributing the Work and assume any
|
| 155 |
+
risks associated with Your exercise of permissions under this License.
|
| 156 |
+
|
| 157 |
+
8. Limitation of Liability. In no event and under no legal theory,
|
| 158 |
+
whether in tort (including negligence), contract, or otherwise,
|
| 159 |
+
unless required by applicable law (such as deliberate and grossly
|
| 160 |
+
negligent acts) or agreed to in writing, shall any Contributor be
|
| 161 |
+
liable to You for damages, including any direct, indirect, special,
|
| 162 |
+
incidental, or consequential damages of any character arising as a
|
| 163 |
+
result of this License or out of the use or inability to use the
|
| 164 |
+
Work (including but not limited to damages for loss of goodwill,
|
| 165 |
+
work stoppage, computer failure or malfunction, or any and all
|
| 166 |
+
other commercial damages or losses), even if such Contributor
|
| 167 |
+
has been advised of the possibility of such damages.
|
| 168 |
+
|
| 169 |
+
9. Accepting Warranty or Additional Liability. While redistributing
|
| 170 |
+
the Work or Derivative Works thereof, You may choose to offer,
|
| 171 |
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
| 172 |
+
or other liability obligations and/or rights consistent with this
|
| 173 |
+
License. However, in accepting such obligations, You may act only
|
| 174 |
+
on Your own behalf and on Your sole responsibility, not on behalf
|
| 175 |
+
of any other Contributor, and only if You agree to indemnify,
|
| 176 |
+
defend, and hold each Contributor harmless for any liability
|
| 177 |
+
incurred by, or claims asserted against, such Contributor by reason
|
| 178 |
+
of your accepting any such warranty or additional liability.
|
| 179 |
+
|
| 180 |
+
END OF TERMS AND CONDITIONS
|
README.md
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: apache-2.0
|
| 3 |
+
base_model:
|
| 4 |
+
- ibm-granite/granite-4.2-3b
|
| 5 |
+
language:
|
| 6 |
+
- ja
|
| 7 |
+
- en
|
| 8 |
+
pipeline_tag: text-generation
|
| 9 |
+
tags:
|
| 10 |
+
- openvino
|
| 11 |
+
- npu
|
| 12 |
+
- intel
|
| 13 |
+
- onw
|
| 14 |
+
- agent
|
| 15 |
+
- tool-use
|
| 16 |
+
library_name: onw
|
| 17 |
+
---
|
| 18 |
+
|
| 19 |
+
# granite-4.2-3b for onw — Intel NPU だけで動く
|
| 20 |
+
|
| 21 |
+
**日本語** | [English](README_en.md)
|
| 22 |
+
|
| 23 |
+
[ibm-granite/granite-4.2-3b](https://huggingface.co/ibm-granite/granite-4.2-3b) を **[onw](https://huggingface.co/ryugyosoft/onw)**(俺のNPUがこんなに動くわけない)用に変換したモデルです。onw は LLM を Intel NPU だけで動かすエンジンで、このリポジトリにはモデルだけが入っています(エンジンは別にダウンロードします)。
|
| 24 |
+
|
| 25 |
+
IBM の [Granite 4.2](https://huggingface.co/collections/ibm-granite/granite-42-language-models) は、思考(推論)とツール呼び出しを強化した世代で、最大 200 回のツール呼び出しを含むエージェントの強化学習(コード修正・ターミナル操作・ウェブ検索)を経ています。構造は普通の Transformer(Llama 型)です。日本語は公式の対応言語ですが、多言語の指標は英語より低めで、日本語の回答では漢字の誤りや不自然な内容が混じることがあります(日本語中心なら [llm-jp-4.1-8b-thinking](https://huggingface.co/ryugyosoft/llm-jp-4.1-8b-thinking-onw) がおすすめです)。この 3B は Granite 4.2 でいちばん軽く、onw のモデルでも最速クラスです(元のカードで BFCL v4 52.4 は 8B と同点、τ³-bench 51.0、IFBench 74.3)。
|
| 26 |
+
|
| 27 |
+
**思考とツール呼び出し**:既定では考えずに答えます(チャット画面の「思考モード」、API の `chat_template_kwargs: {"enable_thinking": true}` で考えます。思考は `reasoning_content` で返ります)。ツールは OpenAI 互換 API の `tools` で使えます(並列呼び出しも可)。思考モードでは考える量が多いので、ツールを使うときは `max_tokens` を 2000 以上にしてください。元のカードの推奨設定は temperature 1.0・top_p 0.95 です(onw の既定は貪欲生成)。
|
| 28 |
+
|
| 29 |
+
| NPU 3720(Core Ultra 9 285HX) | |
|
| 30 |
+
|---|---|
|
| 31 |
+
| 入力 | テキスト |
|
| 32 |
+
| 生成速度 | **6.7 tok/s(先読み検証が効くチャットで約 7.7)** |
|
| 33 |
+
| プロンプト処理 | 短い質問は 1 秒未満 |
|
| 34 |
+
| ダウンロード | **2.1 GB** |
|
| 35 |
+
| 使用メモリ(読み込み後の作業セット) | 約 6 GB |
|
| 36 |
+
| 初回起動(NPU 向けコンパイル)/2 回目以降 | 約 6 分/約 20 秒 |
|
| 37 |
+
|
| 38 |
+
**対応 PC**:NPU 付きの Intel Core Ultra(シリーズ 1/2:Meteor Lake・Arrow Lake・Lunar Lake、シリーズ 3:Panther Lake)、Windows 11 または Ubuntu 22.04 以降。上の数値はテスト機(NPU 3720)での実測で、NPU やメモリ量によって変わります。
|
| 39 |
+
|
| 40 |
+
## 使い方
|
| 41 |
+
|
| 42 |
+
1. **onw(エンジン)を入れます。** まだの場合は、[onw の「インストール」](https://huggingface.co/ryugyosoft/onw) のとおり 1 行貼るだけです。Windows はスタートメニューで「PowerShell」を開き、次の 1 行を貼って Enter(Ubuntu は onw の README の `curl ... | bash`)。
|
| 43 |
+
|
| 44 |
+
```powershell
|
| 45 |
+
irm https://huggingface.co/ryugyosoft/onw/resolve/main/install.ps1 | iex
|
| 46 |
+
```
|
| 47 |
+
|
| 48 |
+
2. タスクトレイの onw アイコンから開く **onw ウィンドウ** の「モデル」タブで **granite-4.2-3b** を選び、「ダウンロード」を押します(2.1 GB)。
|
| 49 |
+
3. 「サーバー」タブでモデルを選んで「ロード」を押します。初回だけ NPU 向けの準備に約 6 分かかります。
|
| 50 |
+
4. 「チャット」ですぐ試せます。他のアプリからは **OpenAI 互換 API** として使えます(base URL は `http://localhost:8000/v1`)。
|
| 51 |
+
|
| 52 |
+
<img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-models.png" width="640" alt="onw ウィンドウの「モデル」タブ">
|
| 53 |
+
|
| 54 |
+
<img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-server.png" width="49%" alt="「サーバー」タブ"> <img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-settings.png" width="49%" alt="「設定」タブ">
|
| 55 |
+
|
| 56 |
+
```python
|
| 57 |
+
from openai import OpenAI
|
| 58 |
+
c = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
|
| 59 |
+
r = c.chat.completions.create(model="granite-4.2-3b-onw", messages=[{"role": "user", "content": "こんにちは"}])
|
| 60 |
+
print(r.choices[0].message.content)
|
| 61 |
+
```
|
| 62 |
+
|
| 63 |
+
上級者向け:`hf download ryugyosoft/granite-4.2-3b-onw` で取得したフォルダを `onw serve フォルダ` で起動することもできます。Git LFS なしの `git clone` では重みが入らないので使わないでください(onw が検出して止めます)。
|
| 64 |
+
|
| 65 |
+
## 仕組み
|
| 66 |
+
|
| 67 |
+
- 40 層を 8 層ずつ 5 区間+出力層の区間にした静的グラフ。埋め込み・残差・アテンション・出力の倍率(Granite 独自の係数)はグラフに組み込んでいます。
|
| 68 |
+
- Granite は��ループ 128 の普通の INT4 では誤差が大きめだったため、**符号を考慮した INT4**(正側は最大値/7、負側は最小値/8 で目盛りを決める。データの並びと速度は普通の INT4 と同じ)を使い、アテンションの q/k/v だけグループ 128 の INT8 にしています(速度の低下はわずか)。
|
| 69 |
+
- 出力層は独立した INT8 の区間で、行の目盛りが FP16 の非正規数(NPU では 0 になる)に落ちる行は作り直しています。
|
| 70 |
+
- 詳しくは [onw の技術解説](https://huggingface.co/ryugyosoft/onw/blob/main/TECHNICAL.md)。
|
| 71 |
+
|
| 72 |
+
## ファイル
|
| 73 |
+
|
| 74 |
+
| ファイル | 内容 |
|
| 75 |
+
|---|---|
|
| 76 |
+
| `seg*_S1.xml`, `seg*_S16.xml` + `seg*.bin` | 5 区間+出力層(重みは区間ごとに 1 ファイル) |
|
| 77 |
+
| `shared.bin` | INT8 の出力層、INT4 の埋め込み(ホストで参照) |
|
| 78 |
+
| `engine.json`、トークナイザー/設定ファイル | onw 用のメタデータ、元のリポジトリの設定 |
|
| 79 |
+
|
| 80 |
+
## 品質
|
| 81 |
+
|
| 82 |
+
元のモデル(bf16、CPU)の 400 トークンの回答を教師強制で流すと、344/400 トークンが一致(普通の INT4 だけでは 316)。NPU と CPU(FP32)の結果は同じで、日本語の 20 問の最初のトークンは 15/20 が一致しました。2 段のツール呼び出しから最終回答まで、思考の分離を確認済みです。
|
| 83 |
+
|
| 84 |
+
## ライセンス
|
| 85 |
+
|
| 86 |
+
Apache 2.0(元モデルと同じ)。重みは元モデルから再量子化・再構成したものです。学習はしていません。
|
README_en.md
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# granite-4.2-3b for onw — entirely on the Intel NPU
|
| 2 |
+
|
| 3 |
+
[日本語](README.md) | **English**
|
| 4 |
+
|
| 5 |
+
[ibm-granite/granite-4.2-3b](https://huggingface.co/ibm-granite/granite-4.2-3b) converted for **[onw](https://huggingface.co/ryugyosoft/onw)** (俺のNPUがこんなに動くわけない - "there's no way my NPU runs this well"), the engine that runs LLMs entirely on the Intel NPU. This repo holds only the model; the engine is a separate download.
|
| 6 |
+
|
| 7 |
+
IBM's [Granite 4.2](https://huggingface.co/collections/ibm-granite/granite-42-language-models) adds native thinking and reasoning-augmented tool calling, trained with agentic RL (code fixes, terminal use, web search; trajectories of up to 200 tool calls). A plain (Llama-type) transformer. Japanese is officially supported but its multilingual scores are lower than English: Japanese answers can contain wrong kanji or odd content (for Japanese, [llm-jp-4.1-8b-thinking](https://huggingface.co/ryugyosoft/llm-jp-4.1-8b-thinking-onw) is the better pick). This 3B is the lightest Granite 4.2 and among the fastest onw models (its card: BFCL v4 52.4, the same as the 8B; τ³-bench 51.0; IFBench 74.3).
|
| 8 |
+
|
| 9 |
+
**Thinking and tools**: onw answers without thinking by default (the chat page's thinking switch, or `chat_template_kwargs: {"enable_thinking": true}` in the API; the thinking comes back as `reasoning_content`). Tools via OpenAI-style `tools` (parallel calls too). Thinking runs long: use `max_tokens` of 2000+ with tools. The original card recommends temperature 1.0, top_p 0.95 (onw defaults to greedy).
|
| 10 |
+
|
| 11 |
+
| NPU 3720 (Core Ultra 9 285HX) | |
|
| 12 |
+
|---|---|
|
| 13 |
+
| input | text |
|
| 14 |
+
| decode | **6.7 tok/s (~7.7 in chat with prompt lookup)** |
|
| 15 |
+
| prompt processing | under 1 s for a short question |
|
| 16 |
+
| download | **2.1 GB** |
|
| 17 |
+
| memory in use (working set after loading) | ~6 GB |
|
| 18 |
+
| first start (NPU compile) / later | ~6 min / ~20 s |
|
| 19 |
+
|
| 20 |
+
**Supported PCs**: Intel Core Ultra with an NPU (series 1 / 2: Meteor Lake, Arrow Lake, Lunar Lake; series 3: Panther Lake), Windows 11 or Ubuntu 22.04+. The numbers above are measured on the test machine (NPU 3720) and vary with the NPU and memory.
|
| 21 |
+
|
| 22 |
+
## Use
|
| 23 |
+
|
| 24 |
+
1. **Install onw (the engine)** if you have not yet - one line, see [Install in onw](https://huggingface.co/ryugyosoft/onw). On Windows open "PowerShell" from the Start menu, paste this and press Enter (Ubuntu: the `curl ... | bash` line in the onw README).
|
| 25 |
+
|
| 26 |
+
```powershell
|
| 27 |
+
irm https://huggingface.co/ryugyosoft/onw/resolve/main/install.ps1 | iex
|
| 28 |
+
```
|
| 29 |
+
|
| 30 |
+
2. In the **onw window** (from the onw icon in the task tray), Models tab: pick **granite-4.2-3b** and press Download (2.1 GB).
|
| 31 |
+
3. Server tab: pick it and press Load. The first load prepares it for the NPU (~6 min).
|
| 32 |
+
4. "Chat" to try it. Other apps can use it as an **OpenAI-compatible API** (base URL `http://localhost:8000/v1`).
|
| 33 |
+
|
| 34 |
+
<img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-models.png" width="640" alt="The Models tab of the onw window">
|
| 35 |
+
|
| 36 |
+
<img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-server.png" width="49%" alt="Server tab"> <img src="https://huggingface.co/ryugyosoft/onw/resolve/main/images/onw-settings.png" width="49%" alt="Settings tab">
|
| 37 |
+
|
| 38 |
+
```python
|
| 39 |
+
from openai import OpenAI
|
| 40 |
+
c = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
|
| 41 |
+
r = c.chat.completions.create(model="granite-4.2-3b-onw", messages=[{"role": "user", "content": "Hello"}])
|
| 42 |
+
print(r.choices[0].message.content)
|
| 43 |
+
```
|
| 44 |
+
|
| 45 |
+
Advanced: `hf download ryugyosoft/granite-4.2-3b-onw` and `onw serve <folder>` works too. Do not `git clone` without Git LFS (you would get pointer files instead of the weights; onw detects that and stops).
|
| 46 |
+
|
| 47 |
+
## How it runs
|
| 48 |
+
|
| 49 |
+
- 40 layers in 5 segments of 8 plus an LM-head segment; Granite's embedding / residual / attention / logits multipliers are built into the graphs.
|
| 50 |
+
- Plain group-128 INT4 loses noticeable accuracy on Granite, so the weights use a **sign-aware INT4** (the scale fits max/7 or -min/8, same layout and speed as plain INT4), with only the attention q/k/v in group-128 INT8 (a small speed cost).
|
| 51 |
+
- The LM head is its own INT8 segment; rows whose scale would be an fp16 subnormal (zero on the NPU) are re-encoded.
|
| 52 |
+
- Details: [onw technical notes](https://huggingface.co/ryugyosoft/onw/blob/main/TECHNICAL_en.md).
|
| 53 |
+
|
| 54 |
+
## Files
|
| 55 |
+
|
| 56 |
+
| file | what |
|
| 57 |
+
|---|---|
|
| 58 |
+
| `seg*_S1.xml`, `seg*_S16.xml` + `seg*.bin` | 5 segments + LM head (one weights file per segment) |
|
| 59 |
+
| `shared.bin` | INT8 LM head, INT4 token embedding (host lookup) |
|
| 60 |
+
| `engine.json`, tokenizer / config files | onw metadata, the original repo's configs |
|
| 61 |
+
|
| 62 |
+
## Quality
|
| 63 |
+
|
| 64 |
+
Teacher-forcing a 400-token bf16 answer: 344/400 tokens match (316 with plain INT4). The NPU and the CPU (fp32) agree; first tokens of 20 Japanese prompts: 15/20. Checked: two rounds of tool calls through the final answer, the thinking split.
|
| 65 |
+
|
| 66 |
+
## License
|
| 67 |
+
|
| 68 |
+
Apache 2.0, same as the base model. The weights are re-quantized / restructured from it; no training.
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,184 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- macro tool_to_json(tool) -%}
|
| 2 |
+
{%- set ns_tool = namespace(first=true) -%}
|
| 3 |
+
{{- '{' -}}
|
| 4 |
+
{%- for k, v in tool.items() -%}
|
| 5 |
+
{%- if k != 'defer_loading' and k != 'strict' -%}
|
| 6 |
+
{%- if not ns_tool.first -%}{{- ', ' -}}{%- endif -%}
|
| 7 |
+
{%- set ns_tool.first = false -%}
|
| 8 |
+
{{- '"' ~ k ~ '": ' ~ (v | tojson(ensure_ascii=False)) -}}
|
| 9 |
+
{%- endif -%}
|
| 10 |
+
{%- endfor -%}
|
| 11 |
+
{{- '}' -}}
|
| 12 |
+
{%- endmacro -%}
|
| 13 |
+
{%- set enable_thinking = enable_thinking if enable_thinking is defined else True %}
|
| 14 |
+
{%- set low_effort = low_effort if low_effort is defined else False %}
|
| 15 |
+
{%- if reasoning_effort is defined and reasoning_effort is not none %}
|
| 16 |
+
{%- set low_effort = reasoning_effort == "low" %}
|
| 17 |
+
{%- endif %}
|
| 18 |
+
{%- set truncate_history_thinking = truncate_history_thinking if truncate_history_thinking is defined else True %}
|
| 19 |
+
|
| 20 |
+
{%- set ns = namespace(last_user_idx = -1) %}
|
| 21 |
+
{%- set loop_messages = messages %}
|
| 22 |
+
{%- for m in loop_messages %}
|
| 23 |
+
{%- if m["role"] == "user" %}
|
| 24 |
+
{%- set ns.last_user_idx = loop.index0 %}
|
| 25 |
+
{%- endif %}
|
| 26 |
+
{%- endfor %}
|
| 27 |
+
|
| 28 |
+
{%- if messages[0]["role"] == "system" %}
|
| 29 |
+
{%- set system_message = messages[0]["content"] %}
|
| 30 |
+
{%- set loop_messages = messages[1:] %}
|
| 31 |
+
{%- else %}
|
| 32 |
+
{%- set system_message = "" %}
|
| 33 |
+
{%- set loop_messages = messages %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{%- if not tools is defined %}
|
| 36 |
+
{%- set tools = [] %}
|
| 37 |
+
{%- endif %}
|
| 38 |
+
{# Recompute last_user_idx relative to loop_messages after handling system #}
|
| 39 |
+
{%- set ns = namespace(last_user_idx = -1) %}
|
| 40 |
+
{%- for m in loop_messages %}
|
| 41 |
+
{%- if m["role"] == "user" %}
|
| 42 |
+
{%- set ns.last_user_idx = loop.index0 %}
|
| 43 |
+
{%- endif %}
|
| 44 |
+
{%- endfor %}
|
| 45 |
+
{%- if system_message is defined %}
|
| 46 |
+
{{- "<|im_start|>system\n" + system_message }}
|
| 47 |
+
{%- else %}
|
| 48 |
+
{%- if tools is iterable and tools | length > 0 %}
|
| 49 |
+
{{- "<|im_start|>system\n" }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{%- endif %}
|
| 52 |
+
{%- if tools is iterable and tools | length > 0 %}
|
| 53 |
+
{%- if system_message is defined and system_message | length > 0 %}
|
| 54 |
+
{{- "\n\n" }}
|
| 55 |
+
{%- endif %}
|
| 56 |
+
{{- "# Tools\n\nYou have access to the following functions:\n\n" }}
|
| 57 |
+
{{- "<tools>" }}
|
| 58 |
+
{%- for tool in tools %}
|
| 59 |
+
{%- if tool.function is defined %}
|
| 60 |
+
{%- set tool = tool.function %}
|
| 61 |
+
{%- endif %}
|
| 62 |
+
{%- if tool.defer_loading is not defined or not tool.defer_loading %}
|
| 63 |
+
{{- '\n' ~ tool_to_json(tool) }}
|
| 64 |
+
{%- endif %}
|
| 65 |
+
{%- endfor %}
|
| 66 |
+
{{- "\n</tools>" }}
|
| 67 |
+
|
| 68 |
+
{{- '\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>' }}
|
| 69 |
+
{%- endif %}
|
| 70 |
+
|
| 71 |
+
|
| 72 |
+
{%- if system_message is defined %}
|
| 73 |
+
{{- '<|im_end|>\n' }}
|
| 74 |
+
{%- else %}
|
| 75 |
+
{%- if tools is iterable and tools | length > 0 %}
|
| 76 |
+
{{- '<|im_end|>\n' }}
|
| 77 |
+
{%- endif %}
|
| 78 |
+
{%- endif %}
|
| 79 |
+
|
| 80 |
+
{%- for message in loop_messages %}
|
| 81 |
+
{%- if message.role == "assistant" %}
|
| 82 |
+
{# Add reasoning content in to content field for unified processing below. #}
|
| 83 |
+
{%- if message.reasoning_content is defined and message.reasoning_content is string and message.reasoning_content | trim | length > 0 %}
|
| 84 |
+
{%- set content = "<think>\n" ~ message.reasoning_content ~ "\n</think>\n" ~ (message.content | default('', true)) %}
|
| 85 |
+
{%- else %}
|
| 86 |
+
{%- set content = message.content | default('', true) %}
|
| 87 |
+
{%- if content is string -%}
|
| 88 |
+
{# Allow downstream logic to to take care of broken thought, only handle coherent reasoning here. #}
|
| 89 |
+
{%- if '<think>' not in content and '</think>' not in content -%}
|
| 90 |
+
{%- set content = "<think></think>" ~ content -%}
|
| 91 |
+
{%- endif -%}
|
| 92 |
+
{%- else -%}
|
| 93 |
+
{%- set content = content -%}
|
| 94 |
+
{%- endif -%}
|
| 95 |
+
{%- endif %}
|
| 96 |
+
{%- if message.tool_calls is defined and message.tool_calls is iterable and message.tool_calls | length > 0 %}
|
| 97 |
+
{# Assistant message has tool calls. #}
|
| 98 |
+
{{- '<|im_start|>assistant\n' }}
|
| 99 |
+
{%- set include_content = not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
|
| 100 |
+
{%- if content is string and content | trim | length > 0 %}
|
| 101 |
+
{%- if include_content %}
|
| 102 |
+
{{- (content | trim) ~ '\n' -}}
|
| 103 |
+
{%- else %}
|
| 104 |
+
{%- set c = (content | string) %}
|
| 105 |
+
{%- if '</think>' in c %}
|
| 106 |
+
{# Keep only content after the last closing think. Also generation prompt causes this. #}
|
| 107 |
+
{%- set c = c.split('</think>')[-1] %}
|
| 108 |
+
{%- elif '<think>' in c %}
|
| 109 |
+
{# If <think> was opened but never closed, drop the trailing think segment #}
|
| 110 |
+
{%- set c = c.split('<think>')[0] %}
|
| 111 |
+
{%- endif %}
|
| 112 |
+
{%- set c = "<think></think>" ~ c | trim %}
|
| 113 |
+
{%- if c | length > 0 %}
|
| 114 |
+
{{- c ~ '\n' -}}
|
| 115 |
+
{%- endif %}
|
| 116 |
+
{%- endif %}
|
| 117 |
+
{%- else %}
|
| 118 |
+
{{- "<think></think>" -}}
|
| 119 |
+
{%- endif %}
|
| 120 |
+
{%- for tool_call in message.tool_calls %}
|
| 121 |
+
{%- if tool_call.function is defined %}
|
| 122 |
+
{%- set tool_call = tool_call.function %}
|
| 123 |
+
{%- endif %}
|
| 124 |
+
{{- '<tool_call>\n<function=' ~ tool_call.name ~ '>\n' -}}
|
| 125 |
+
{%- if tool_call.arguments is defined %}
|
| 126 |
+
{%- for args_name, args_value in tool_call.arguments|items %}
|
| 127 |
+
{{- '<parameter=' ~ args_name ~ '>\n' -}}
|
| 128 |
+
{%- 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 %}
|
| 129 |
+
{{- args_value ~ '\n</parameter>\n' -}}
|
| 130 |
+
{%- endfor %}
|
| 131 |
+
{%- endif %}
|
| 132 |
+
{{- '</function>\n</tool_call>\n' -}}
|
| 133 |
+
{%- endfor %}
|
| 134 |
+
{{- '<|im_end|>\n' }}
|
| 135 |
+
{%- else %}
|
| 136 |
+
{# Assistant message doesn't have tool calls. #}
|
| 137 |
+
{%- if not (truncate_history_thinking and loop.index0 < ns.last_user_idx) %}
|
| 138 |
+
{{- '<|im_start|>assistant\n' ~ (content | default('', true) | string | trim) ~ '<|im_end|>\n' }}
|
| 139 |
+
{%- else %}
|
| 140 |
+
{%- set c = (content | default('', true) | string) %}
|
| 141 |
+
{%- if '<think>' in c and '</think>' in c %}
|
| 142 |
+
{%- set c = "<think></think>" ~ c.split('</think>')[-1] %}
|
| 143 |
+
{%- endif %}
|
| 144 |
+
{%- set c = c | trim %}
|
| 145 |
+
{%- if c | length > 0 %}
|
| 146 |
+
{{- '<|im_start|>assistant\n' ~ c ~ '<|im_end|>\n' }}
|
| 147 |
+
{%- else %}
|
| 148 |
+
{{- '<|im_start|>assistant\n<|im_end|>\n' }}
|
| 149 |
+
{%- endif %}
|
| 150 |
+
{%- endif %}
|
| 151 |
+
{%- endif %}
|
| 152 |
+
{%- elif message.role == "user" or message.role == "system" %}
|
| 153 |
+
{{- '<|im_start|>' + message.role + '\n' }}
|
| 154 |
+
{%- set content = message.content | string %}
|
| 155 |
+
{%- if message.role == "user" and loop.index0 == ns.last_user_idx and low_effort %}
|
| 156 |
+
{{- content + '\n\n{reasoning effort: low}' }}
|
| 157 |
+
{%- else %}
|
| 158 |
+
{{- content }}
|
| 159 |
+
{%- endif %}
|
| 160 |
+
{{- '<|im_end|>\n' }}
|
| 161 |
+
{%- elif message.role == "tool" %}
|
| 162 |
+
{%- if loop.previtem and loop.previtem.role != "tool" %}
|
| 163 |
+
{{- '<|im_start|>user\n' }}
|
| 164 |
+
{%- endif %}
|
| 165 |
+
{{- '<tool_response>\n' }}
|
| 166 |
+
{{- message.content }}
|
| 167 |
+
{{- '\n</tool_response>\n' }}
|
| 168 |
+
{%- if not loop.last and loop.nextitem.role != "tool" %}
|
| 169 |
+
{{- '<|im_end|>\n' }}
|
| 170 |
+
{%- elif loop.last %}
|
| 171 |
+
{{- '<|im_end|>\n' }}
|
| 172 |
+
{%- endif %}
|
| 173 |
+
{%- else %}
|
| 174 |
+
{{- '<|im_start|>' + message.role + '\n' + message.content + '<|im_end|>\n' }}
|
| 175 |
+
{%- endif %}
|
| 176 |
+
{%- endfor %}
|
| 177 |
+
|
| 178 |
+
{%- if add_generation_prompt %}
|
| 179 |
+
{%- if enable_thinking %}
|
| 180 |
+
{{- '<|im_start|>assistant\n<think>\n' }}
|
| 181 |
+
{%- else %}
|
| 182 |
+
{{- '<|im_start|>assistant\n<think></think>' }}
|
| 183 |
+
{%- endif %}
|
| 184 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"GraniteForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"attention_multiplier": 0.015625,
|
| 8 |
+
"bos_token_id": 100283,
|
| 9 |
+
"dtype": "bfloat16",
|
| 10 |
+
"embedding_multiplier": 1.0,
|
| 11 |
+
"eos_token_id": 100257,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"hidden_size": 2560,
|
| 14 |
+
"initializer_range": 0.1,
|
| 15 |
+
"intermediate_size": 8192,
|
| 16 |
+
"logits_scaling": 1.0,
|
| 17 |
+
"max_position_embeddings": 131072,
|
| 18 |
+
"mlp_bias": false,
|
| 19 |
+
"model_type": "granite",
|
| 20 |
+
"num_attention_heads": 40,
|
| 21 |
+
"num_hidden_layers": 40,
|
| 22 |
+
"num_key_value_heads": 8,
|
| 23 |
+
"pad_token_id": 100257,
|
| 24 |
+
"residual_multiplier": 1.0,
|
| 25 |
+
"rms_norm_eps": 1e-05,
|
| 26 |
+
"rope_parameters": {
|
| 27 |
+
"rope_theta": 10000000,
|
| 28 |
+
"rope_type": "default"
|
| 29 |
+
},
|
| 30 |
+
"rope_scaling": null,
|
| 31 |
+
"rope_theta": 10000000,
|
| 32 |
+
"tie_word_embeddings": false,
|
| 33 |
+
"transformers_version": "4.57.1",
|
| 34 |
+
"use_cache": true,
|
| 35 |
+
"vocab_size": 100352,
|
| 36 |
+
"torch_dtype": "bfloat16"
|
| 37 |
+
}
|
engine.json
ADDED
|
@@ -0,0 +1,155 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"arch": "granite",
|
| 3 |
+
"T": 1024,
|
| 4 |
+
"sizes": [
|
| 5 |
+
1,
|
| 6 |
+
16
|
| 7 |
+
],
|
| 8 |
+
"config": {
|
| 9 |
+
"architectures": [
|
| 10 |
+
"GraniteForCausalLM"
|
| 11 |
+
],
|
| 12 |
+
"attention_bias": false,
|
| 13 |
+
"attention_dropout": 0.0,
|
| 14 |
+
"attention_multiplier": 0.015625,
|
| 15 |
+
"bos_token_id": 100283,
|
| 16 |
+
"dtype": "bfloat16",
|
| 17 |
+
"embedding_multiplier": 1.0,
|
| 18 |
+
"eos_token_id": 100257,
|
| 19 |
+
"hidden_act": "silu",
|
| 20 |
+
"hidden_size": 2560,
|
| 21 |
+
"initializer_range": 0.1,
|
| 22 |
+
"intermediate_size": 8192,
|
| 23 |
+
"logits_scaling": 1.0,
|
| 24 |
+
"max_position_embeddings": 131072,
|
| 25 |
+
"mlp_bias": false,
|
| 26 |
+
"model_type": "granite",
|
| 27 |
+
"num_attention_heads": 40,
|
| 28 |
+
"num_hidden_layers": 40,
|
| 29 |
+
"num_key_value_heads": 8,
|
| 30 |
+
"pad_token_id": 100257,
|
| 31 |
+
"residual_multiplier": 1.0,
|
| 32 |
+
"rms_norm_eps": 1e-05,
|
| 33 |
+
"rope_parameters": {
|
| 34 |
+
"rope_theta": 10000000,
|
| 35 |
+
"rope_type": "default"
|
| 36 |
+
},
|
| 37 |
+
"rope_scaling": null,
|
| 38 |
+
"rope_theta": 10000000,
|
| 39 |
+
"tie_word_embeddings": false,
|
| 40 |
+
"transformers_version": "4.57.1",
|
| 41 |
+
"use_cache": true,
|
| 42 |
+
"vocab_size": 100352,
|
| 43 |
+
"torch_dtype": "bfloat16"
|
| 44 |
+
},
|
| 45 |
+
"segments": {
|
| 46 |
+
"seg00_S1.xml": {
|
| 47 |
+
"index": 0,
|
| 48 |
+
"consume_moe": null,
|
| 49 |
+
"router_layer": null,
|
| 50 |
+
"S": 1,
|
| 51 |
+
"slots": 0,
|
| 52 |
+
"bin": "seg00.bin"
|
| 53 |
+
},
|
| 54 |
+
"seg01_S1.xml": {
|
| 55 |
+
"index": 1,
|
| 56 |
+
"consume_moe": null,
|
| 57 |
+
"router_layer": null,
|
| 58 |
+
"S": 1,
|
| 59 |
+
"slots": 0,
|
| 60 |
+
"bin": "seg01.bin"
|
| 61 |
+
},
|
| 62 |
+
"seg02_S1.xml": {
|
| 63 |
+
"index": 2,
|
| 64 |
+
"consume_moe": null,
|
| 65 |
+
"router_layer": null,
|
| 66 |
+
"S": 1,
|
| 67 |
+
"slots": 0,
|
| 68 |
+
"bin": "seg02.bin"
|
| 69 |
+
},
|
| 70 |
+
"seg03_S1.xml": {
|
| 71 |
+
"index": 3,
|
| 72 |
+
"consume_moe": null,
|
| 73 |
+
"router_layer": null,
|
| 74 |
+
"S": 1,
|
| 75 |
+
"slots": 0,
|
| 76 |
+
"bin": "seg03.bin"
|
| 77 |
+
},
|
| 78 |
+
"seg04_S1.xml": {
|
| 79 |
+
"index": 4,
|
| 80 |
+
"consume_moe": null,
|
| 81 |
+
"router_layer": null,
|
| 82 |
+
"S": 1,
|
| 83 |
+
"slots": 0,
|
| 84 |
+
"bin": "seg04.bin"
|
| 85 |
+
},
|
| 86 |
+
"seg05_S1.xml": {
|
| 87 |
+
"index": 5,
|
| 88 |
+
"consume_moe": null,
|
| 89 |
+
"router_layer": null,
|
| 90 |
+
"S": 1,
|
| 91 |
+
"slots": 0,
|
| 92 |
+
"head": true,
|
| 93 |
+
"bin": "seg05.bin"
|
| 94 |
+
},
|
| 95 |
+
"seg00_S16.xml": {
|
| 96 |
+
"index": 0,
|
| 97 |
+
"consume_moe": null,
|
| 98 |
+
"router_layer": null,
|
| 99 |
+
"S": 16,
|
| 100 |
+
"slots": 0,
|
| 101 |
+
"bin": "seg00.bin"
|
| 102 |
+
},
|
| 103 |
+
"seg01_S16.xml": {
|
| 104 |
+
"index": 1,
|
| 105 |
+
"consume_moe": null,
|
| 106 |
+
"router_layer": null,
|
| 107 |
+
"S": 16,
|
| 108 |
+
"slots": 0,
|
| 109 |
+
"bin": "seg01.bin"
|
| 110 |
+
},
|
| 111 |
+
"seg02_S16.xml": {
|
| 112 |
+
"index": 2,
|
| 113 |
+
"consume_moe": null,
|
| 114 |
+
"router_layer": null,
|
| 115 |
+
"S": 16,
|
| 116 |
+
"slots": 0,
|
| 117 |
+
"bin": "seg02.bin"
|
| 118 |
+
},
|
| 119 |
+
"seg03_S16.xml": {
|
| 120 |
+
"index": 3,
|
| 121 |
+
"consume_moe": null,
|
| 122 |
+
"router_layer": null,
|
| 123 |
+
"S": 16,
|
| 124 |
+
"slots": 0,
|
| 125 |
+
"bin": "seg03.bin"
|
| 126 |
+
},
|
| 127 |
+
"seg04_S16.xml": {
|
| 128 |
+
"index": 4,
|
| 129 |
+
"consume_moe": null,
|
| 130 |
+
"router_layer": null,
|
| 131 |
+
"S": 16,
|
| 132 |
+
"slots": 0,
|
| 133 |
+
"bin": "seg04.bin"
|
| 134 |
+
},
|
| 135 |
+
"seg05_S16.xml": {
|
| 136 |
+
"index": 5,
|
| 137 |
+
"consume_moe": null,
|
| 138 |
+
"router_layer": null,
|
| 139 |
+
"S": 16,
|
| 140 |
+
"slots": 0,
|
| 141 |
+
"head": true,
|
| 142 |
+
"bin": "seg05.bin"
|
| 143 |
+
}
|
| 144 |
+
},
|
| 145 |
+
"rope": {
|
| 146 |
+
"dim": 64,
|
| 147 |
+
"theta": 10000000
|
| 148 |
+
},
|
| 149 |
+
"tables": {
|
| 150 |
+
"embed": {
|
| 151 |
+
"bits": 4,
|
| 152 |
+
"group": 32
|
| 153 |
+
}
|
| 154 |
+
}
|
| 155 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_from_model_config": true,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"bos_token_id": 100283,
|
| 5 |
+
"eos_token_id": 100257,
|
| 6 |
+
"pad_token_id": 100257,
|
| 7 |
+
"temperature": 1.0,
|
| 8 |
+
"top_p": 0.95,
|
| 9 |
+
"transformers_version": "4.57.1"
|
| 10 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg00.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b9ab6f4915230a9f81798fd054b2ae02aff439d91a53c762a7a2465c0a8f1a84
|
| 3 |
+
size 361267816
|
seg00_S1.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg00_S16.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg01.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:64ef487470b4c953f906ee8f8c0eaf0ba164e68954bf4356783f20113de3186a
|
| 3 |
+
size 361267816
|
seg01_S1.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg01_S16.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg02.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8f37dcd51d2678f5dd516a1f7bf84b5e8998e0df4e11db22f1ab38ae3b5898bb
|
| 3 |
+
size 361267816
|
seg02_S1.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg02_S16.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg03.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f4ff26d90394064b074ea2dfa5461009dce8e4cf2a2b31d6ac3807feb27232a4
|
| 3 |
+
size 361267816
|
seg03_S1.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg03_S16.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg04.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:a6fa411d4ad5d1bb5aa73ed90f711ffa555effbab5a1c3eed769bcfb8633102d
|
| 3 |
+
size 361267816
|
seg04_S1.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg04_S16.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
seg05.bin
ADDED
|
@@ -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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="granite_head_S1" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="carry.h" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="1,1,2560" element_type="f16" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="FP16" names="carry.h">
|
| 8 |
+
<dim>1</dim>
|
| 9 |
+
<dim>1</dim>
|
| 10 |
+
<dim>2560</dim>
|
| 11 |
+
</port>
|
| 12 |
+
</output>
|
| 13 |
+
</layer>
|
| 14 |
+
<layer id="1" name="shared.head_q" type="Parameter" version="opset1">
|
| 15 |
+
<data shape="100352,2560" element_type="i8" />
|
| 16 |
+
<output>
|
| 17 |
+
<port id="0" precision="I8" names="shared.head_q">
|
| 18 |
+
<dim>100352</dim>
|
| 19 |
+
<dim>2560</dim>
|
| 20 |
+
</port>
|
| 21 |
+
</output>
|
| 22 |
+
</layer>
|
| 23 |
+
<layer id="2" name="shared.head_s" type="Parameter" version="opset1">
|
| 24 |
+
<data shape="100352" element_type="f16" />
|
| 25 |
+
<output>
|
| 26 |
+
<port id="0" precision="FP16" names="shared.head_s">
|
| 27 |
+
<dim>100352</dim>
|
| 28 |
+
</port>
|
| 29 |
+
</output>
|
| 30 |
+
</layer>
|
| 31 |
+
<layer id="3" name="Convert_26668" type="Convert" version="opset1">
|
| 32 |
+
<data destination_type="f32" />
|
| 33 |
+
<input>
|
| 34 |
+
<port id="0" precision="FP16">
|
| 35 |
+
<dim>1</dim>
|
| 36 |
+
<dim>1</dim>
|
| 37 |
+
<dim>2560</dim>
|
| 38 |
+
</port>
|
| 39 |
+
</input>
|
| 40 |
+
<output>
|
| 41 |
+
<port id="1" precision="FP32">
|
| 42 |
+
<dim>1</dim>
|
| 43 |
+
<dim>1</dim>
|
| 44 |
+
<dim>2560</dim>
|
| 45 |
+
</port>
|
| 46 |
+
</output>
|
| 47 |
+
</layer>
|
| 48 |
+
<layer id="4" name="Abs_26619" type="Abs" version="opset1">
|
| 49 |
+
<input>
|
| 50 |
+
<port id="0" precision="FP32">
|
| 51 |
+
<dim>1</dim>
|
| 52 |
+
<dim>1</dim>
|
| 53 |
+
<dim>2560</dim>
|
| 54 |
+
</port>
|
| 55 |
+
</input>
|
| 56 |
+
<output>
|
| 57 |
+
<port id="1" precision="FP32">
|
| 58 |
+
<dim>1</dim>
|
| 59 |
+
<dim>1</dim>
|
| 60 |
+
<dim>2560</dim>
|
| 61 |
+
</port>
|
| 62 |
+
</output>
|
| 63 |
+
</layer>
|
| 64 |
+
<layer id="5" name="Constant_26621" type="Const" version="opset1">
|
| 65 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 66 |
+
<output>
|
| 67 |
+
<port id="0" precision="I64">
|
| 68 |
+
<dim>1</dim>
|
| 69 |
+
</port>
|
| 70 |
+
</output>
|
| 71 |
+
</layer>
|
| 72 |
+
<layer id="6" name="ReduceMax_26622" type="ReduceMax" version="opset1">
|
| 73 |
+
<data keep_dims="true" />
|
| 74 |
+
<input>
|
| 75 |
+
<port id="0" precision="FP32">
|
| 76 |
+
<dim>1</dim>
|
| 77 |
+
<dim>1</dim>
|
| 78 |
+
<dim>2560</dim>
|
| 79 |
+
</port>
|
| 80 |
+
<port id="1" precision="I64">
|
| 81 |
+
<dim>1</dim>
|
| 82 |
+
</port>
|
| 83 |
+
</input>
|
| 84 |
+
<output>
|
| 85 |
+
<port id="2" precision="FP32">
|
| 86 |
+
<dim>1</dim>
|
| 87 |
+
<dim>1</dim>
|
| 88 |
+
<dim>1</dim>
|
| 89 |
+
</port>
|
| 90 |
+
</output>
|
| 91 |
+
</layer>
|
| 92 |
+
<layer id="7" name="Constant_26624" type="Const" version="opset1">
|
| 93 |
+
<data element_type="f32" shape="" offset="8" size="4" />
|
| 94 |
+
<output>
|
| 95 |
+
<port id="0" precision="FP32" />
|
| 96 |
+
</output>
|
| 97 |
+
</layer>
|
| 98 |
+
<layer id="8" name="Maximum_26625" type="Maximum" version="opset1">
|
| 99 |
+
<data auto_broadcast="numpy" />
|
| 100 |
+
<input>
|
| 101 |
+
<port id="0" precision="FP32">
|
| 102 |
+
<dim>1</dim>
|
| 103 |
+
<dim>1</dim>
|
| 104 |
+
<dim>1</dim>
|
| 105 |
+
</port>
|
| 106 |
+
<port id="1" precision="FP32" />
|
| 107 |
+
</input>
|
| 108 |
+
<output>
|
| 109 |
+
<port id="2" precision="FP32">
|
| 110 |
+
<dim>1</dim>
|
| 111 |
+
<dim>1</dim>
|
| 112 |
+
<dim>1</dim>
|
| 113 |
+
</port>
|
| 114 |
+
</output>
|
| 115 |
+
</layer>
|
| 116 |
+
<layer id="9" name="Constant_26627_compressed" type="Const" version="opset1">
|
| 117 |
+
<data element_type="f16" shape="" offset="12" size="2" />
|
| 118 |
+
<output>
|
| 119 |
+
<port id="0" precision="FP16" />
|
| 120 |
+
</output>
|
| 121 |
+
</layer>
|
| 122 |
+
<layer id="10" name="Constant_26627" type="Convert" version="opset1">
|
| 123 |
+
<data destination_type="f32" />
|
| 124 |
+
<rt_info>
|
| 125 |
+
<attribute name="decompression" version="0" />
|
| 126 |
+
</rt_info>
|
| 127 |
+
<input>
|
| 128 |
+
<port id="0" precision="FP16" />
|
| 129 |
+
</input>
|
| 130 |
+
<output>
|
| 131 |
+
<port id="1" precision="FP32" />
|
| 132 |
+
</output>
|
| 133 |
+
</layer>
|
| 134 |
+
<layer id="11" name="Multiply_26628" type="Multiply" version="opset1">
|
| 135 |
+
<data auto_broadcast="numpy" />
|
| 136 |
+
<input>
|
| 137 |
+
<port id="0" precision="FP32">
|
| 138 |
+
<dim>1</dim>
|
| 139 |
+
<dim>1</dim>
|
| 140 |
+
<dim>1</dim>
|
| 141 |
+
</port>
|
| 142 |
+
<port id="1" precision="FP32" />
|
| 143 |
+
</input>
|
| 144 |
+
<output>
|
| 145 |
+
<port id="2" precision="FP32">
|
| 146 |
+
<dim>1</dim>
|
| 147 |
+
<dim>1</dim>
|
| 148 |
+
<dim>1</dim>
|
| 149 |
+
</port>
|
| 150 |
+
</output>
|
| 151 |
+
</layer>
|
| 152 |
+
<layer id="12" name="Constant_26630" type="Const" version="opset1">
|
| 153 |
+
<data element_type="f32" shape="" offset="14" size="4" />
|
| 154 |
+
<output>
|
| 155 |
+
<port id="0" precision="FP32" />
|
| 156 |
+
</output>
|
| 157 |
+
</layer>
|
| 158 |
+
<layer id="13" name="Maximum_26631" type="Maximum" version="opset1">
|
| 159 |
+
<data auto_broadcast="numpy" />
|
| 160 |
+
<input>
|
| 161 |
+
<port id="0" precision="FP32">
|
| 162 |
+
<dim>1</dim>
|
| 163 |
+
<dim>1</dim>
|
| 164 |
+
<dim>1</dim>
|
| 165 |
+
</port>
|
| 166 |
+
<port id="1" precision="FP32" />
|
| 167 |
+
</input>
|
| 168 |
+
<output>
|
| 169 |
+
<port id="2" precision="FP32">
|
| 170 |
+
<dim>1</dim>
|
| 171 |
+
<dim>1</dim>
|
| 172 |
+
<dim>1</dim>
|
| 173 |
+
</port>
|
| 174 |
+
</output>
|
| 175 |
+
</layer>
|
| 176 |
+
<layer id="14" name="Divide_26632" type="Divide" version="opset1">
|
| 177 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 178 |
+
<input>
|
| 179 |
+
<port id="0" precision="FP32">
|
| 180 |
+
<dim>1</dim>
|
| 181 |
+
<dim>1</dim>
|
| 182 |
+
<dim>2560</dim>
|
| 183 |
+
</port>
|
| 184 |
+
<port id="1" precision="FP32">
|
| 185 |
+
<dim>1</dim>
|
| 186 |
+
<dim>1</dim>
|
| 187 |
+
<dim>1</dim>
|
| 188 |
+
</port>
|
| 189 |
+
</input>
|
| 190 |
+
<output>
|
| 191 |
+
<port id="2" precision="FP32">
|
| 192 |
+
<dim>1</dim>
|
| 193 |
+
<dim>1</dim>
|
| 194 |
+
<dim>2560</dim>
|
| 195 |
+
</port>
|
| 196 |
+
</output>
|
| 197 |
+
</layer>
|
| 198 |
+
<layer id="15" name="Constant_26641_compressed" type="Const" version="opset1">
|
| 199 |
+
<data element_type="f16" shape="" offset="18" size="2" />
|
| 200 |
+
<output>
|
| 201 |
+
<port id="0" precision="FP16" />
|
| 202 |
+
</output>
|
| 203 |
+
</layer>
|
| 204 |
+
<layer id="16" name="Constant_26641" type="Convert" version="opset1">
|
| 205 |
+
<data destination_type="f32" />
|
| 206 |
+
<rt_info>
|
| 207 |
+
<attribute name="decompression" version="0" />
|
| 208 |
+
</rt_info>
|
| 209 |
+
<input>
|
| 210 |
+
<port id="0" precision="FP16" />
|
| 211 |
+
</input>
|
| 212 |
+
<output>
|
| 213 |
+
<port id="1" precision="FP32" />
|
| 214 |
+
</output>
|
| 215 |
+
</layer>
|
| 216 |
+
<layer id="17" name="Multiply_26636" type="Multiply" version="opset1">
|
| 217 |
+
<data auto_broadcast="numpy" />
|
| 218 |
+
<input>
|
| 219 |
+
<port id="0" precision="FP32">
|
| 220 |
+
<dim>1</dim>
|
| 221 |
+
<dim>1</dim>
|
| 222 |
+
<dim>2560</dim>
|
| 223 |
+
</port>
|
| 224 |
+
<port id="1" precision="FP32">
|
| 225 |
+
<dim>1</dim>
|
| 226 |
+
<dim>1</dim>
|
| 227 |
+
<dim>2560</dim>
|
| 228 |
+
</port>
|
| 229 |
+
</input>
|
| 230 |
+
<output>
|
| 231 |
+
<port id="2" precision="FP32">
|
| 232 |
+
<dim>1</dim>
|
| 233 |
+
<dim>1</dim>
|
| 234 |
+
<dim>2560</dim>
|
| 235 |
+
</port>
|
| 236 |
+
</output>
|
| 237 |
+
</layer>
|
| 238 |
+
<layer id="18" name="Constant_26638" type="Const" version="opset1">
|
| 239 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 240 |
+
<output>
|
| 241 |
+
<port id="0" precision="I64">
|
| 242 |
+
<dim>1</dim>
|
| 243 |
+
</port>
|
| 244 |
+
</output>
|
| 245 |
+
</layer>
|
| 246 |
+
<layer id="19" name="ReduceMean_26639" type="ReduceMean" version="opset1">
|
| 247 |
+
<data keep_dims="true" />
|
| 248 |
+
<input>
|
| 249 |
+
<port id="0" precision="FP32">
|
| 250 |
+
<dim>1</dim>
|
| 251 |
+
<dim>1</dim>
|
| 252 |
+
<dim>2560</dim>
|
| 253 |
+
</port>
|
| 254 |
+
<port id="1" precision="I64">
|
| 255 |
+
<dim>1</dim>
|
| 256 |
+
</port>
|
| 257 |
+
</input>
|
| 258 |
+
<output>
|
| 259 |
+
<port id="2" precision="FP32">
|
| 260 |
+
<dim>1</dim>
|
| 261 |
+
<dim>1</dim>
|
| 262 |
+
<dim>1</dim>
|
| 263 |
+
</port>
|
| 264 |
+
</output>
|
| 265 |
+
</layer>
|
| 266 |
+
<layer id="20" name="Constant_26634_compressed" type="Const" version="opset1">
|
| 267 |
+
<data element_type="f16" shape="" offset="20" size="2" />
|
| 268 |
+
<output>
|
| 269 |
+
<port id="0" precision="FP16" />
|
| 270 |
+
</output>
|
| 271 |
+
</layer>
|
| 272 |
+
<layer id="21" name="Constant_26634" type="Convert" version="opset1">
|
| 273 |
+
<data destination_type="f32" />
|
| 274 |
+
<rt_info>
|
| 275 |
+
<attribute name="decompression" version="0" />
|
| 276 |
+
</rt_info>
|
| 277 |
+
<input>
|
| 278 |
+
<port id="0" precision="FP16" />
|
| 279 |
+
</input>
|
| 280 |
+
<output>
|
| 281 |
+
<port id="1" precision="FP32" />
|
| 282 |
+
</output>
|
| 283 |
+
</layer>
|
| 284 |
+
<layer id="22" name="Divide_26635" type="Divide" version="opset1">
|
| 285 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 286 |
+
<input>
|
| 287 |
+
<port id="0" precision="FP32" />
|
| 288 |
+
<port id="1" precision="FP32">
|
| 289 |
+
<dim>1</dim>
|
| 290 |
+
<dim>1</dim>
|
| 291 |
+
<dim>1</dim>
|
| 292 |
+
</port>
|
| 293 |
+
</input>
|
| 294 |
+
<output>
|
| 295 |
+
<port id="2" precision="FP32">
|
| 296 |
+
<dim>1</dim>
|
| 297 |
+
<dim>1</dim>
|
| 298 |
+
<dim>1</dim>
|
| 299 |
+
</port>
|
| 300 |
+
</output>
|
| 301 |
+
</layer>
|
| 302 |
+
<layer id="23" name="Multiply_26642" type="Multiply" version="opset1">
|
| 303 |
+
<data auto_broadcast="numpy" />
|
| 304 |
+
<input>
|
| 305 |
+
<port id="0" precision="FP32">
|
| 306 |
+
<dim>1</dim>
|
| 307 |
+
<dim>1</dim>
|
| 308 |
+
<dim>1</dim>
|
| 309 |
+
</port>
|
| 310 |
+
<port id="1" precision="FP32">
|
| 311 |
+
<dim>1</dim>
|
| 312 |
+
<dim>1</dim>
|
| 313 |
+
<dim>1</dim>
|
| 314 |
+
</port>
|
| 315 |
+
</input>
|
| 316 |
+
<output>
|
| 317 |
+
<port id="2" precision="FP32">
|
| 318 |
+
<dim>1</dim>
|
| 319 |
+
<dim>1</dim>
|
| 320 |
+
<dim>1</dim>
|
| 321 |
+
</port>
|
| 322 |
+
</output>
|
| 323 |
+
</layer>
|
| 324 |
+
<layer id="24" name="Add_26643" type="Add" version="opset1">
|
| 325 |
+
<data auto_broadcast="numpy" />
|
| 326 |
+
<input>
|
| 327 |
+
<port id="0" precision="FP32">
|
| 328 |
+
<dim>1</dim>
|
| 329 |
+
<dim>1</dim>
|
| 330 |
+
<dim>1</dim>
|
| 331 |
+
</port>
|
| 332 |
+
<port id="1" precision="FP32">
|
| 333 |
+
<dim>1</dim>
|
| 334 |
+
<dim>1</dim>
|
| 335 |
+
<dim>1</dim>
|
| 336 |
+
</port>
|
| 337 |
+
</input>
|
| 338 |
+
<output>
|
| 339 |
+
<port id="2" precision="FP32">
|
| 340 |
+
<dim>1</dim>
|
| 341 |
+
<dim>1</dim>
|
| 342 |
+
<dim>1</dim>
|
| 343 |
+
</port>
|
| 344 |
+
</output>
|
| 345 |
+
</layer>
|
| 346 |
+
<layer id="25" name="Divide_26644" type="Divide" version="opset1">
|
| 347 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 348 |
+
<input>
|
| 349 |
+
<port id="0" precision="FP32" />
|
| 350 |
+
<port id="1" precision="FP32">
|
| 351 |
+
<dim>1</dim>
|
| 352 |
+
<dim>1</dim>
|
| 353 |
+
<dim>1</dim>
|
| 354 |
+
</port>
|
| 355 |
+
</input>
|
| 356 |
+
<output>
|
| 357 |
+
<port id="2" precision="FP32">
|
| 358 |
+
<dim>1</dim>
|
| 359 |
+
<dim>1</dim>
|
| 360 |
+
<dim>1</dim>
|
| 361 |
+
</port>
|
| 362 |
+
</output>
|
| 363 |
+
</layer>
|
| 364 |
+
<layer id="26" name="Sqrt_26645" type="Sqrt" version="opset1">
|
| 365 |
+
<input>
|
| 366 |
+
<port id="0" precision="FP32">
|
| 367 |
+
<dim>1</dim>
|
| 368 |
+
<dim>1</dim>
|
| 369 |
+
<dim>1</dim>
|
| 370 |
+
</port>
|
| 371 |
+
</input>
|
| 372 |
+
<output>
|
| 373 |
+
<port id="1" precision="FP32">
|
| 374 |
+
<dim>1</dim>
|
| 375 |
+
<dim>1</dim>
|
| 376 |
+
<dim>1</dim>
|
| 377 |
+
</port>
|
| 378 |
+
</output>
|
| 379 |
+
</layer>
|
| 380 |
+
<layer id="27" name="Multiply_26646" type="Multiply" version="opset1">
|
| 381 |
+
<data auto_broadcast="numpy" />
|
| 382 |
+
<input>
|
| 383 |
+
<port id="0" precision="FP32">
|
| 384 |
+
<dim>1</dim>
|
| 385 |
+
<dim>1</dim>
|
| 386 |
+
<dim>2560</dim>
|
| 387 |
+
</port>
|
| 388 |
+
<port id="1" precision="FP32">
|
| 389 |
+
<dim>1</dim>
|
| 390 |
+
<dim>1</dim>
|
| 391 |
+
<dim>1</dim>
|
| 392 |
+
</port>
|
| 393 |
+
</input>
|
| 394 |
+
<output>
|
| 395 |
+
<port id="2" precision="FP32">
|
| 396 |
+
<dim>1</dim>
|
| 397 |
+
<dim>1</dim>
|
| 398 |
+
<dim>2560</dim>
|
| 399 |
+
</port>
|
| 400 |
+
</output>
|
| 401 |
+
</layer>
|
| 402 |
+
<layer id="28" name="Constant_26648_compressed" type="Const" version="opset1">
|
| 403 |
+
<data element_type="f16" shape="2560" offset="22" size="5120" />
|
| 404 |
+
<output>
|
| 405 |
+
<port id="0" precision="FP16">
|
| 406 |
+
<dim>2560</dim>
|
| 407 |
+
</port>
|
| 408 |
+
</output>
|
| 409 |
+
</layer>
|
| 410 |
+
<layer id="29" name="Constant_26648" type="Convert" version="opset1">
|
| 411 |
+
<data destination_type="f32" />
|
| 412 |
+
<rt_info>
|
| 413 |
+
<attribute name="decompression" version="0" />
|
| 414 |
+
</rt_info>
|
| 415 |
+
<input>
|
| 416 |
+
<port id="0" precision="FP16">
|
| 417 |
+
<dim>2560</dim>
|
| 418 |
+
</port>
|
| 419 |
+
</input>
|
| 420 |
+
<output>
|
| 421 |
+
<port id="1" precision="FP32">
|
| 422 |
+
<dim>2560</dim>
|
| 423 |
+
</port>
|
| 424 |
+
</output>
|
| 425 |
+
</layer>
|
| 426 |
+
<layer id="30" name="Multiply_26649" type="Multiply" version="opset1">
|
| 427 |
+
<data auto_broadcast="numpy" />
|
| 428 |
+
<input>
|
| 429 |
+
<port id="0" precision="FP32">
|
| 430 |
+
<dim>1</dim>
|
| 431 |
+
<dim>1</dim>
|
| 432 |
+
<dim>2560</dim>
|
| 433 |
+
</port>
|
| 434 |
+
<port id="1" precision="FP32">
|
| 435 |
+
<dim>2560</dim>
|
| 436 |
+
</port>
|
| 437 |
+
</input>
|
| 438 |
+
<output>
|
| 439 |
+
<port id="2" precision="FP32">
|
| 440 |
+
<dim>1</dim>
|
| 441 |
+
<dim>1</dim>
|
| 442 |
+
<dim>2560</dim>
|
| 443 |
+
</port>
|
| 444 |
+
</output>
|
| 445 |
+
</layer>
|
| 446 |
+
<layer id="31" name="Abs_26652" type="Abs" version="opset1">
|
| 447 |
+
<input>
|
| 448 |
+
<port id="0" precision="FP32">
|
| 449 |
+
<dim>1</dim>
|
| 450 |
+
<dim>1</dim>
|
| 451 |
+
<dim>2560</dim>
|
| 452 |
+
</port>
|
| 453 |
+
</input>
|
| 454 |
+
<output>
|
| 455 |
+
<port id="1" precision="FP32">
|
| 456 |
+
<dim>1</dim>
|
| 457 |
+
<dim>1</dim>
|
| 458 |
+
<dim>2560</dim>
|
| 459 |
+
</port>
|
| 460 |
+
</output>
|
| 461 |
+
</layer>
|
| 462 |
+
<layer id="32" name="Constant_26654" type="Const" version="opset1">
|
| 463 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 464 |
+
<output>
|
| 465 |
+
<port id="0" precision="I64">
|
| 466 |
+
<dim>1</dim>
|
| 467 |
+
</port>
|
| 468 |
+
</output>
|
| 469 |
+
</layer>
|
| 470 |
+
<layer id="33" name="ReduceMax_26655" type="ReduceMax" version="opset1">
|
| 471 |
+
<data keep_dims="true" />
|
| 472 |
+
<input>
|
| 473 |
+
<port id="0" precision="FP32">
|
| 474 |
+
<dim>1</dim>
|
| 475 |
+
<dim>1</dim>
|
| 476 |
+
<dim>2560</dim>
|
| 477 |
+
</port>
|
| 478 |
+
<port id="1" precision="I64">
|
| 479 |
+
<dim>1</dim>
|
| 480 |
+
</port>
|
| 481 |
+
</input>
|
| 482 |
+
<output>
|
| 483 |
+
<port id="2" precision="FP32">
|
| 484 |
+
<dim>1</dim>
|
| 485 |
+
<dim>1</dim>
|
| 486 |
+
<dim>1</dim>
|
| 487 |
+
</port>
|
| 488 |
+
</output>
|
| 489 |
+
</layer>
|
| 490 |
+
<layer id="34" name="Constant_26657" type="Const" version="opset1">
|
| 491 |
+
<data element_type="f32" shape="" offset="14" size="4" />
|
| 492 |
+
<output>
|
| 493 |
+
<port id="0" precision="FP32" />
|
| 494 |
+
</output>
|
| 495 |
+
</layer>
|
| 496 |
+
<layer id="35" name="Maximum_26658" type="Maximum" version="opset1">
|
| 497 |
+
<data auto_broadcast="numpy" />
|
| 498 |
+
<input>
|
| 499 |
+
<port id="0" precision="FP32">
|
| 500 |
+
<dim>1</dim>
|
| 501 |
+
<dim>1</dim>
|
| 502 |
+
<dim>1</dim>
|
| 503 |
+
</port>
|
| 504 |
+
<port id="1" precision="FP32" />
|
| 505 |
+
</input>
|
| 506 |
+
<output>
|
| 507 |
+
<port id="2" precision="FP32">
|
| 508 |
+
<dim>1</dim>
|
| 509 |
+
<dim>1</dim>
|
| 510 |
+
<dim>1</dim>
|
| 511 |
+
</port>
|
| 512 |
+
</output>
|
| 513 |
+
</layer>
|
| 514 |
+
<layer id="36" name="Divide_26659" type="Divide" version="opset1">
|
| 515 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 516 |
+
<input>
|
| 517 |
+
<port id="0" precision="FP32">
|
| 518 |
+
<dim>1</dim>
|
| 519 |
+
<dim>1</dim>
|
| 520 |
+
<dim>2560</dim>
|
| 521 |
+
</port>
|
| 522 |
+
<port id="1" precision="FP32">
|
| 523 |
+
<dim>1</dim>
|
| 524 |
+
<dim>1</dim>
|
| 525 |
+
<dim>1</dim>
|
| 526 |
+
</port>
|
| 527 |
+
</input>
|
| 528 |
+
<output>
|
| 529 |
+
<port id="2" precision="FP32">
|
| 530 |
+
<dim>1</dim>
|
| 531 |
+
<dim>1</dim>
|
| 532 |
+
<dim>2560</dim>
|
| 533 |
+
</port>
|
| 534 |
+
</output>
|
| 535 |
+
</layer>
|
| 536 |
+
<layer id="37" name="Convert_26660" type="Convert" version="opset1">
|
| 537 |
+
<data destination_type="f16" />
|
| 538 |
+
<input>
|
| 539 |
+
<port id="0" precision="I8">
|
| 540 |
+
<dim>100352</dim>
|
| 541 |
+
<dim>2560</dim>
|
| 542 |
+
</port>
|
| 543 |
+
</input>
|
| 544 |
+
<output>
|
| 545 |
+
<port id="1" precision="FP16">
|
| 546 |
+
<dim>100352</dim>
|
| 547 |
+
<dim>2560</dim>
|
| 548 |
+
</port>
|
| 549 |
+
</output>
|
| 550 |
+
</layer>
|
| 551 |
+
<layer id="38" name="Convert_26661" type="Convert" version="opset1">
|
| 552 |
+
<data destination_type="f32" />
|
| 553 |
+
<input>
|
| 554 |
+
<port id="0" precision="FP16">
|
| 555 |
+
<dim>100352</dim>
|
| 556 |
+
<dim>2560</dim>
|
| 557 |
+
</port>
|
| 558 |
+
</input>
|
| 559 |
+
<output>
|
| 560 |
+
<port id="1" precision="FP32">
|
| 561 |
+
<dim>100352</dim>
|
| 562 |
+
<dim>2560</dim>
|
| 563 |
+
</port>
|
| 564 |
+
</output>
|
| 565 |
+
</layer>
|
| 566 |
+
<layer id="39" name="MatMul_26662" type="MatMul" version="opset1">
|
| 567 |
+
<data transpose_a="false" transpose_b="true" />
|
| 568 |
+
<input>
|
| 569 |
+
<port id="0" precision="FP32">
|
| 570 |
+
<dim>1</dim>
|
| 571 |
+
<dim>1</dim>
|
| 572 |
+
<dim>2560</dim>
|
| 573 |
+
</port>
|
| 574 |
+
<port id="1" precision="FP32">
|
| 575 |
+
<dim>100352</dim>
|
| 576 |
+
<dim>2560</dim>
|
| 577 |
+
</port>
|
| 578 |
+
</input>
|
| 579 |
+
<output>
|
| 580 |
+
<port id="2" precision="FP32">
|
| 581 |
+
<dim>1</dim>
|
| 582 |
+
<dim>1</dim>
|
| 583 |
+
<dim>100352</dim>
|
| 584 |
+
</port>
|
| 585 |
+
</output>
|
| 586 |
+
</layer>
|
| 587 |
+
<layer id="40" name="Convert_26663" type="Convert" version="opset1">
|
| 588 |
+
<data destination_type="f32" />
|
| 589 |
+
<input>
|
| 590 |
+
<port id="0" precision="FP16">
|
| 591 |
+
<dim>100352</dim>
|
| 592 |
+
</port>
|
| 593 |
+
</input>
|
| 594 |
+
<output>
|
| 595 |
+
<port id="1" precision="FP32">
|
| 596 |
+
<dim>100352</dim>
|
| 597 |
+
</port>
|
| 598 |
+
</output>
|
| 599 |
+
</layer>
|
| 600 |
+
<layer id="41" name="Multiply_26664" type="Multiply" version="opset1">
|
| 601 |
+
<data auto_broadcast="numpy" />
|
| 602 |
+
<input>
|
| 603 |
+
<port id="0" precision="FP32">
|
| 604 |
+
<dim>1</dim>
|
| 605 |
+
<dim>1</dim>
|
| 606 |
+
<dim>100352</dim>
|
| 607 |
+
</port>
|
| 608 |
+
<port id="1" precision="FP32">
|
| 609 |
+
<dim>100352</dim>
|
| 610 |
+
</port>
|
| 611 |
+
</input>
|
| 612 |
+
<output>
|
| 613 |
+
<port id="2" precision="FP32">
|
| 614 |
+
<dim>1</dim>
|
| 615 |
+
<dim>1</dim>
|
| 616 |
+
<dim>100352</dim>
|
| 617 |
+
</port>
|
| 618 |
+
</output>
|
| 619 |
+
</layer>
|
| 620 |
+
<layer id="42" name="Multiply_26665" type="Multiply" version="opset1">
|
| 621 |
+
<data auto_broadcast="numpy" />
|
| 622 |
+
<input>
|
| 623 |
+
<port id="0" precision="FP32">
|
| 624 |
+
<dim>1</dim>
|
| 625 |
+
<dim>1</dim>
|
| 626 |
+
<dim>100352</dim>
|
| 627 |
+
</port>
|
| 628 |
+
<port id="1" precision="FP32">
|
| 629 |
+
<dim>1</dim>
|
| 630 |
+
<dim>1</dim>
|
| 631 |
+
<dim>1</dim>
|
| 632 |
+
</port>
|
| 633 |
+
</input>
|
| 634 |
+
<output>
|
| 635 |
+
<port id="2" precision="FP32">
|
| 636 |
+
<dim>1</dim>
|
| 637 |
+
<dim>1</dim>
|
| 638 |
+
<dim>100352</dim>
|
| 639 |
+
</port>
|
| 640 |
+
</output>
|
| 641 |
+
</layer>
|
| 642 |
+
<layer id="43" name="Multiply_26665.0" type="Convert" version="opset1">
|
| 643 |
+
<data destination_type="f16" />
|
| 644 |
+
<input>
|
| 645 |
+
<port id="0" precision="FP32">
|
| 646 |
+
<dim>1</dim>
|
| 647 |
+
<dim>1</dim>
|
| 648 |
+
<dim>100352</dim>
|
| 649 |
+
</port>
|
| 650 |
+
</input>
|
| 651 |
+
<output>
|
| 652 |
+
<port id="1" precision="FP16" names="logits">
|
| 653 |
+
<dim>1</dim>
|
| 654 |
+
<dim>1</dim>
|
| 655 |
+
<dim>100352</dim>
|
| 656 |
+
</port>
|
| 657 |
+
</output>
|
| 658 |
+
</layer>
|
| 659 |
+
<layer id="44" name="Result_26666" type="Result" version="opset1" output_names="logits">
|
| 660 |
+
<input>
|
| 661 |
+
<port id="0" precision="FP16">
|
| 662 |
+
<dim>1</dim>
|
| 663 |
+
<dim>1</dim>
|
| 664 |
+
<dim>100352</dim>
|
| 665 |
+
</port>
|
| 666 |
+
</input>
|
| 667 |
+
</layer>
|
| 668 |
+
</layers>
|
| 669 |
+
<edges>
|
| 670 |
+
<edge from-layer="0" from-port="0" to-layer="3" to-port="0" />
|
| 671 |
+
<edge from-layer="1" from-port="0" to-layer="37" to-port="0" />
|
| 672 |
+
<edge from-layer="2" from-port="0" to-layer="40" to-port="0" />
|
| 673 |
+
<edge from-layer="3" from-port="1" to-layer="4" to-port="0" />
|
| 674 |
+
<edge from-layer="3" from-port="1" to-layer="14" to-port="0" />
|
| 675 |
+
<edge from-layer="4" from-port="1" to-layer="6" to-port="0" />
|
| 676 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="1" />
|
| 677 |
+
<edge from-layer="6" from-port="2" to-layer="8" to-port="0" />
|
| 678 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="1" />
|
| 679 |
+
<edge from-layer="8" from-port="2" to-layer="11" to-port="0" />
|
| 680 |
+
<edge from-layer="9" from-port="0" to-layer="10" to-port="0" />
|
| 681 |
+
<edge from-layer="10" from-port="1" to-layer="11" to-port="1" />
|
| 682 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="0" />
|
| 683 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="1" />
|
| 684 |
+
<edge from-layer="13" from-port="2" to-layer="14" to-port="1" />
|
| 685 |
+
<edge from-layer="13" from-port="2" to-layer="22" to-port="1" />
|
| 686 |
+
<edge from-layer="14" from-port="2" to-layer="17" to-port="0" />
|
| 687 |
+
<edge from-layer="14" from-port="2" to-layer="17" to-port="1" />
|
| 688 |
+
<edge from-layer="14" from-port="2" to-layer="27" to-port="0" />
|
| 689 |
+
<edge from-layer="15" from-port="0" to-layer="16" to-port="0" />
|
| 690 |
+
<edge from-layer="16" from-port="1" to-layer="25" to-port="0" />
|
| 691 |
+
<edge from-layer="17" from-port="2" to-layer="19" to-port="0" />
|
| 692 |
+
<edge from-layer="18" from-port="0" to-layer="19" to-port="1" />
|
| 693 |
+
<edge from-layer="19" from-port="2" to-layer="24" to-port="0" />
|
| 694 |
+
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
|
| 695 |
+
<edge from-layer="21" from-port="1" to-layer="22" to-port="0" />
|
| 696 |
+
<edge from-layer="22" from-port="2" to-layer="23" to-port="1" />
|
| 697 |
+
<edge from-layer="22" from-port="2" to-layer="23" to-port="0" />
|
| 698 |
+
<edge from-layer="23" from-port="2" to-layer="24" to-port="1" />
|
| 699 |
+
<edge from-layer="24" from-port="2" to-layer="25" to-port="1" />
|
| 700 |
+
<edge from-layer="25" from-port="2" to-layer="26" to-port="0" />
|
| 701 |
+
<edge from-layer="26" from-port="1" to-layer="27" to-port="1" />
|
| 702 |
+
<edge from-layer="27" from-port="2" to-layer="30" to-port="0" />
|
| 703 |
+
<edge from-layer="28" from-port="0" to-layer="29" to-port="0" />
|
| 704 |
+
<edge from-layer="29" from-port="1" to-layer="30" to-port="1" />
|
| 705 |
+
<edge from-layer="30" from-port="2" to-layer="31" to-port="0" />
|
| 706 |
+
<edge from-layer="30" from-port="2" to-layer="36" to-port="0" />
|
| 707 |
+
<edge from-layer="31" from-port="1" to-layer="33" to-port="0" />
|
| 708 |
+
<edge from-layer="32" from-port="0" to-layer="33" to-port="1" />
|
| 709 |
+
<edge from-layer="33" from-port="2" to-layer="35" to-port="0" />
|
| 710 |
+
<edge from-layer="34" from-port="0" to-layer="35" to-port="1" />
|
| 711 |
+
<edge from-layer="35" from-port="2" to-layer="36" to-port="1" />
|
| 712 |
+
<edge from-layer="35" from-port="2" to-layer="42" to-port="1" />
|
| 713 |
+
<edge from-layer="36" from-port="2" to-layer="39" to-port="0" />
|
| 714 |
+
<edge from-layer="37" from-port="1" to-layer="38" to-port="0" />
|
| 715 |
+
<edge from-layer="38" from-port="1" to-layer="39" to-port="1" />
|
| 716 |
+
<edge from-layer="39" from-port="2" to-layer="41" to-port="0" />
|
| 717 |
+
<edge from-layer="40" from-port="1" to-layer="41" to-port="1" />
|
| 718 |
+
<edge from-layer="41" from-port="2" to-layer="42" to-port="0" />
|
| 719 |
+
<edge from-layer="42" from-port="2" to-layer="43" to-port="0" />
|
| 720 |
+
<edge from-layer="43" from-port="1" to-layer="44" to-port="0" />
|
| 721 |
+
</edges>
|
| 722 |
+
<rt_info>
|
| 723 |
+
<info name="OpenVINO Runtime" value="2026.5.0-23160-6db412d0a27" />
|
| 724 |
+
</rt_info>
|
| 725 |
+
</net>
|
seg05_S16.xml
ADDED
|
@@ -0,0 +1,725 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="granite_head_S16" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="carry.h" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="1,16,2560" element_type="f16" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="FP16" names="carry.h">
|
| 8 |
+
<dim>1</dim>
|
| 9 |
+
<dim>16</dim>
|
| 10 |
+
<dim>2560</dim>
|
| 11 |
+
</port>
|
| 12 |
+
</output>
|
| 13 |
+
</layer>
|
| 14 |
+
<layer id="1" name="shared.head_q" type="Parameter" version="opset1">
|
| 15 |
+
<data shape="100352,2560" element_type="i8" />
|
| 16 |
+
<output>
|
| 17 |
+
<port id="0" precision="I8" names="shared.head_q">
|
| 18 |
+
<dim>100352</dim>
|
| 19 |
+
<dim>2560</dim>
|
| 20 |
+
</port>
|
| 21 |
+
</output>
|
| 22 |
+
</layer>
|
| 23 |
+
<layer id="2" name="shared.head_s" type="Parameter" version="opset1">
|
| 24 |
+
<data shape="100352" element_type="f16" />
|
| 25 |
+
<output>
|
| 26 |
+
<port id="0" precision="FP16" names="shared.head_s">
|
| 27 |
+
<dim>100352</dim>
|
| 28 |
+
</port>
|
| 29 |
+
</output>
|
| 30 |
+
</layer>
|
| 31 |
+
<layer id="3" name="Convert_60592" type="Convert" version="opset1">
|
| 32 |
+
<data destination_type="f32" />
|
| 33 |
+
<input>
|
| 34 |
+
<port id="0" precision="FP16">
|
| 35 |
+
<dim>1</dim>
|
| 36 |
+
<dim>16</dim>
|
| 37 |
+
<dim>2560</dim>
|
| 38 |
+
</port>
|
| 39 |
+
</input>
|
| 40 |
+
<output>
|
| 41 |
+
<port id="1" precision="FP32">
|
| 42 |
+
<dim>1</dim>
|
| 43 |
+
<dim>16</dim>
|
| 44 |
+
<dim>2560</dim>
|
| 45 |
+
</port>
|
| 46 |
+
</output>
|
| 47 |
+
</layer>
|
| 48 |
+
<layer id="4" name="Abs_60543" type="Abs" version="opset1">
|
| 49 |
+
<input>
|
| 50 |
+
<port id="0" precision="FP32">
|
| 51 |
+
<dim>1</dim>
|
| 52 |
+
<dim>16</dim>
|
| 53 |
+
<dim>2560</dim>
|
| 54 |
+
</port>
|
| 55 |
+
</input>
|
| 56 |
+
<output>
|
| 57 |
+
<port id="1" precision="FP32">
|
| 58 |
+
<dim>1</dim>
|
| 59 |
+
<dim>16</dim>
|
| 60 |
+
<dim>2560</dim>
|
| 61 |
+
</port>
|
| 62 |
+
</output>
|
| 63 |
+
</layer>
|
| 64 |
+
<layer id="5" name="Constant_60545" type="Const" version="opset1">
|
| 65 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 66 |
+
<output>
|
| 67 |
+
<port id="0" precision="I64">
|
| 68 |
+
<dim>1</dim>
|
| 69 |
+
</port>
|
| 70 |
+
</output>
|
| 71 |
+
</layer>
|
| 72 |
+
<layer id="6" name="ReduceMax_60546" type="ReduceMax" version="opset1">
|
| 73 |
+
<data keep_dims="true" />
|
| 74 |
+
<input>
|
| 75 |
+
<port id="0" precision="FP32">
|
| 76 |
+
<dim>1</dim>
|
| 77 |
+
<dim>16</dim>
|
| 78 |
+
<dim>2560</dim>
|
| 79 |
+
</port>
|
| 80 |
+
<port id="1" precision="I64">
|
| 81 |
+
<dim>1</dim>
|
| 82 |
+
</port>
|
| 83 |
+
</input>
|
| 84 |
+
<output>
|
| 85 |
+
<port id="2" precision="FP32">
|
| 86 |
+
<dim>1</dim>
|
| 87 |
+
<dim>16</dim>
|
| 88 |
+
<dim>1</dim>
|
| 89 |
+
</port>
|
| 90 |
+
</output>
|
| 91 |
+
</layer>
|
| 92 |
+
<layer id="7" name="Constant_60548" type="Const" version="opset1">
|
| 93 |
+
<data element_type="f32" shape="" offset="8" size="4" />
|
| 94 |
+
<output>
|
| 95 |
+
<port id="0" precision="FP32" />
|
| 96 |
+
</output>
|
| 97 |
+
</layer>
|
| 98 |
+
<layer id="8" name="Maximum_60549" type="Maximum" version="opset1">
|
| 99 |
+
<data auto_broadcast="numpy" />
|
| 100 |
+
<input>
|
| 101 |
+
<port id="0" precision="FP32">
|
| 102 |
+
<dim>1</dim>
|
| 103 |
+
<dim>16</dim>
|
| 104 |
+
<dim>1</dim>
|
| 105 |
+
</port>
|
| 106 |
+
<port id="1" precision="FP32" />
|
| 107 |
+
</input>
|
| 108 |
+
<output>
|
| 109 |
+
<port id="2" precision="FP32">
|
| 110 |
+
<dim>1</dim>
|
| 111 |
+
<dim>16</dim>
|
| 112 |
+
<dim>1</dim>
|
| 113 |
+
</port>
|
| 114 |
+
</output>
|
| 115 |
+
</layer>
|
| 116 |
+
<layer id="9" name="Constant_60551_compressed" type="Const" version="opset1">
|
| 117 |
+
<data element_type="f16" shape="" offset="12" size="2" />
|
| 118 |
+
<output>
|
| 119 |
+
<port id="0" precision="FP16" />
|
| 120 |
+
</output>
|
| 121 |
+
</layer>
|
| 122 |
+
<layer id="10" name="Constant_60551" type="Convert" version="opset1">
|
| 123 |
+
<data destination_type="f32" />
|
| 124 |
+
<rt_info>
|
| 125 |
+
<attribute name="decompression" version="0" />
|
| 126 |
+
</rt_info>
|
| 127 |
+
<input>
|
| 128 |
+
<port id="0" precision="FP16" />
|
| 129 |
+
</input>
|
| 130 |
+
<output>
|
| 131 |
+
<port id="1" precision="FP32" />
|
| 132 |
+
</output>
|
| 133 |
+
</layer>
|
| 134 |
+
<layer id="11" name="Multiply_60552" type="Multiply" version="opset1">
|
| 135 |
+
<data auto_broadcast="numpy" />
|
| 136 |
+
<input>
|
| 137 |
+
<port id="0" precision="FP32">
|
| 138 |
+
<dim>1</dim>
|
| 139 |
+
<dim>16</dim>
|
| 140 |
+
<dim>1</dim>
|
| 141 |
+
</port>
|
| 142 |
+
<port id="1" precision="FP32" />
|
| 143 |
+
</input>
|
| 144 |
+
<output>
|
| 145 |
+
<port id="2" precision="FP32">
|
| 146 |
+
<dim>1</dim>
|
| 147 |
+
<dim>16</dim>
|
| 148 |
+
<dim>1</dim>
|
| 149 |
+
</port>
|
| 150 |
+
</output>
|
| 151 |
+
</layer>
|
| 152 |
+
<layer id="12" name="Constant_60554" type="Const" version="opset1">
|
| 153 |
+
<data element_type="f32" shape="" offset="14" size="4" />
|
| 154 |
+
<output>
|
| 155 |
+
<port id="0" precision="FP32" />
|
| 156 |
+
</output>
|
| 157 |
+
</layer>
|
| 158 |
+
<layer id="13" name="Maximum_60555" type="Maximum" version="opset1">
|
| 159 |
+
<data auto_broadcast="numpy" />
|
| 160 |
+
<input>
|
| 161 |
+
<port id="0" precision="FP32">
|
| 162 |
+
<dim>1</dim>
|
| 163 |
+
<dim>16</dim>
|
| 164 |
+
<dim>1</dim>
|
| 165 |
+
</port>
|
| 166 |
+
<port id="1" precision="FP32" />
|
| 167 |
+
</input>
|
| 168 |
+
<output>
|
| 169 |
+
<port id="2" precision="FP32">
|
| 170 |
+
<dim>1</dim>
|
| 171 |
+
<dim>16</dim>
|
| 172 |
+
<dim>1</dim>
|
| 173 |
+
</port>
|
| 174 |
+
</output>
|
| 175 |
+
</layer>
|
| 176 |
+
<layer id="14" name="Divide_60556" type="Divide" version="opset1">
|
| 177 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 178 |
+
<input>
|
| 179 |
+
<port id="0" precision="FP32">
|
| 180 |
+
<dim>1</dim>
|
| 181 |
+
<dim>16</dim>
|
| 182 |
+
<dim>2560</dim>
|
| 183 |
+
</port>
|
| 184 |
+
<port id="1" precision="FP32">
|
| 185 |
+
<dim>1</dim>
|
| 186 |
+
<dim>16</dim>
|
| 187 |
+
<dim>1</dim>
|
| 188 |
+
</port>
|
| 189 |
+
</input>
|
| 190 |
+
<output>
|
| 191 |
+
<port id="2" precision="FP32">
|
| 192 |
+
<dim>1</dim>
|
| 193 |
+
<dim>16</dim>
|
| 194 |
+
<dim>2560</dim>
|
| 195 |
+
</port>
|
| 196 |
+
</output>
|
| 197 |
+
</layer>
|
| 198 |
+
<layer id="15" name="Constant_60565_compressed" type="Const" version="opset1">
|
| 199 |
+
<data element_type="f16" shape="" offset="18" size="2" />
|
| 200 |
+
<output>
|
| 201 |
+
<port id="0" precision="FP16" />
|
| 202 |
+
</output>
|
| 203 |
+
</layer>
|
| 204 |
+
<layer id="16" name="Constant_60565" type="Convert" version="opset1">
|
| 205 |
+
<data destination_type="f32" />
|
| 206 |
+
<rt_info>
|
| 207 |
+
<attribute name="decompression" version="0" />
|
| 208 |
+
</rt_info>
|
| 209 |
+
<input>
|
| 210 |
+
<port id="0" precision="FP16" />
|
| 211 |
+
</input>
|
| 212 |
+
<output>
|
| 213 |
+
<port id="1" precision="FP32" />
|
| 214 |
+
</output>
|
| 215 |
+
</layer>
|
| 216 |
+
<layer id="17" name="Multiply_60560" type="Multiply" version="opset1">
|
| 217 |
+
<data auto_broadcast="numpy" />
|
| 218 |
+
<input>
|
| 219 |
+
<port id="0" precision="FP32">
|
| 220 |
+
<dim>1</dim>
|
| 221 |
+
<dim>16</dim>
|
| 222 |
+
<dim>2560</dim>
|
| 223 |
+
</port>
|
| 224 |
+
<port id="1" precision="FP32">
|
| 225 |
+
<dim>1</dim>
|
| 226 |
+
<dim>16</dim>
|
| 227 |
+
<dim>2560</dim>
|
| 228 |
+
</port>
|
| 229 |
+
</input>
|
| 230 |
+
<output>
|
| 231 |
+
<port id="2" precision="FP32">
|
| 232 |
+
<dim>1</dim>
|
| 233 |
+
<dim>16</dim>
|
| 234 |
+
<dim>2560</dim>
|
| 235 |
+
</port>
|
| 236 |
+
</output>
|
| 237 |
+
</layer>
|
| 238 |
+
<layer id="18" name="Constant_60562" type="Const" version="opset1">
|
| 239 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 240 |
+
<output>
|
| 241 |
+
<port id="0" precision="I64">
|
| 242 |
+
<dim>1</dim>
|
| 243 |
+
</port>
|
| 244 |
+
</output>
|
| 245 |
+
</layer>
|
| 246 |
+
<layer id="19" name="ReduceMean_60563" type="ReduceMean" version="opset1">
|
| 247 |
+
<data keep_dims="true" />
|
| 248 |
+
<input>
|
| 249 |
+
<port id="0" precision="FP32">
|
| 250 |
+
<dim>1</dim>
|
| 251 |
+
<dim>16</dim>
|
| 252 |
+
<dim>2560</dim>
|
| 253 |
+
</port>
|
| 254 |
+
<port id="1" precision="I64">
|
| 255 |
+
<dim>1</dim>
|
| 256 |
+
</port>
|
| 257 |
+
</input>
|
| 258 |
+
<output>
|
| 259 |
+
<port id="2" precision="FP32">
|
| 260 |
+
<dim>1</dim>
|
| 261 |
+
<dim>16</dim>
|
| 262 |
+
<dim>1</dim>
|
| 263 |
+
</port>
|
| 264 |
+
</output>
|
| 265 |
+
</layer>
|
| 266 |
+
<layer id="20" name="Constant_60558_compressed" type="Const" version="opset1">
|
| 267 |
+
<data element_type="f16" shape="" offset="20" size="2" />
|
| 268 |
+
<output>
|
| 269 |
+
<port id="0" precision="FP16" />
|
| 270 |
+
</output>
|
| 271 |
+
</layer>
|
| 272 |
+
<layer id="21" name="Constant_60558" type="Convert" version="opset1">
|
| 273 |
+
<data destination_type="f32" />
|
| 274 |
+
<rt_info>
|
| 275 |
+
<attribute name="decompression" version="0" />
|
| 276 |
+
</rt_info>
|
| 277 |
+
<input>
|
| 278 |
+
<port id="0" precision="FP16" />
|
| 279 |
+
</input>
|
| 280 |
+
<output>
|
| 281 |
+
<port id="1" precision="FP32" />
|
| 282 |
+
</output>
|
| 283 |
+
</layer>
|
| 284 |
+
<layer id="22" name="Divide_60559" type="Divide" version="opset1">
|
| 285 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 286 |
+
<input>
|
| 287 |
+
<port id="0" precision="FP32" />
|
| 288 |
+
<port id="1" precision="FP32">
|
| 289 |
+
<dim>1</dim>
|
| 290 |
+
<dim>16</dim>
|
| 291 |
+
<dim>1</dim>
|
| 292 |
+
</port>
|
| 293 |
+
</input>
|
| 294 |
+
<output>
|
| 295 |
+
<port id="2" precision="FP32">
|
| 296 |
+
<dim>1</dim>
|
| 297 |
+
<dim>16</dim>
|
| 298 |
+
<dim>1</dim>
|
| 299 |
+
</port>
|
| 300 |
+
</output>
|
| 301 |
+
</layer>
|
| 302 |
+
<layer id="23" name="Multiply_60566" type="Multiply" version="opset1">
|
| 303 |
+
<data auto_broadcast="numpy" />
|
| 304 |
+
<input>
|
| 305 |
+
<port id="0" precision="FP32">
|
| 306 |
+
<dim>1</dim>
|
| 307 |
+
<dim>16</dim>
|
| 308 |
+
<dim>1</dim>
|
| 309 |
+
</port>
|
| 310 |
+
<port id="1" precision="FP32">
|
| 311 |
+
<dim>1</dim>
|
| 312 |
+
<dim>16</dim>
|
| 313 |
+
<dim>1</dim>
|
| 314 |
+
</port>
|
| 315 |
+
</input>
|
| 316 |
+
<output>
|
| 317 |
+
<port id="2" precision="FP32">
|
| 318 |
+
<dim>1</dim>
|
| 319 |
+
<dim>16</dim>
|
| 320 |
+
<dim>1</dim>
|
| 321 |
+
</port>
|
| 322 |
+
</output>
|
| 323 |
+
</layer>
|
| 324 |
+
<layer id="24" name="Add_60567" type="Add" version="opset1">
|
| 325 |
+
<data auto_broadcast="numpy" />
|
| 326 |
+
<input>
|
| 327 |
+
<port id="0" precision="FP32">
|
| 328 |
+
<dim>1</dim>
|
| 329 |
+
<dim>16</dim>
|
| 330 |
+
<dim>1</dim>
|
| 331 |
+
</port>
|
| 332 |
+
<port id="1" precision="FP32">
|
| 333 |
+
<dim>1</dim>
|
| 334 |
+
<dim>16</dim>
|
| 335 |
+
<dim>1</dim>
|
| 336 |
+
</port>
|
| 337 |
+
</input>
|
| 338 |
+
<output>
|
| 339 |
+
<port id="2" precision="FP32">
|
| 340 |
+
<dim>1</dim>
|
| 341 |
+
<dim>16</dim>
|
| 342 |
+
<dim>1</dim>
|
| 343 |
+
</port>
|
| 344 |
+
</output>
|
| 345 |
+
</layer>
|
| 346 |
+
<layer id="25" name="Divide_60568" type="Divide" version="opset1">
|
| 347 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 348 |
+
<input>
|
| 349 |
+
<port id="0" precision="FP32" />
|
| 350 |
+
<port id="1" precision="FP32">
|
| 351 |
+
<dim>1</dim>
|
| 352 |
+
<dim>16</dim>
|
| 353 |
+
<dim>1</dim>
|
| 354 |
+
</port>
|
| 355 |
+
</input>
|
| 356 |
+
<output>
|
| 357 |
+
<port id="2" precision="FP32">
|
| 358 |
+
<dim>1</dim>
|
| 359 |
+
<dim>16</dim>
|
| 360 |
+
<dim>1</dim>
|
| 361 |
+
</port>
|
| 362 |
+
</output>
|
| 363 |
+
</layer>
|
| 364 |
+
<layer id="26" name="Sqrt_60569" type="Sqrt" version="opset1">
|
| 365 |
+
<input>
|
| 366 |
+
<port id="0" precision="FP32">
|
| 367 |
+
<dim>1</dim>
|
| 368 |
+
<dim>16</dim>
|
| 369 |
+
<dim>1</dim>
|
| 370 |
+
</port>
|
| 371 |
+
</input>
|
| 372 |
+
<output>
|
| 373 |
+
<port id="1" precision="FP32">
|
| 374 |
+
<dim>1</dim>
|
| 375 |
+
<dim>16</dim>
|
| 376 |
+
<dim>1</dim>
|
| 377 |
+
</port>
|
| 378 |
+
</output>
|
| 379 |
+
</layer>
|
| 380 |
+
<layer id="27" name="Multiply_60570" type="Multiply" version="opset1">
|
| 381 |
+
<data auto_broadcast="numpy" />
|
| 382 |
+
<input>
|
| 383 |
+
<port id="0" precision="FP32">
|
| 384 |
+
<dim>1</dim>
|
| 385 |
+
<dim>16</dim>
|
| 386 |
+
<dim>2560</dim>
|
| 387 |
+
</port>
|
| 388 |
+
<port id="1" precision="FP32">
|
| 389 |
+
<dim>1</dim>
|
| 390 |
+
<dim>16</dim>
|
| 391 |
+
<dim>1</dim>
|
| 392 |
+
</port>
|
| 393 |
+
</input>
|
| 394 |
+
<output>
|
| 395 |
+
<port id="2" precision="FP32">
|
| 396 |
+
<dim>1</dim>
|
| 397 |
+
<dim>16</dim>
|
| 398 |
+
<dim>2560</dim>
|
| 399 |
+
</port>
|
| 400 |
+
</output>
|
| 401 |
+
</layer>
|
| 402 |
+
<layer id="28" name="Constant_60572_compressed" type="Const" version="opset1">
|
| 403 |
+
<data element_type="f16" shape="2560" offset="22" size="5120" />
|
| 404 |
+
<output>
|
| 405 |
+
<port id="0" precision="FP16">
|
| 406 |
+
<dim>2560</dim>
|
| 407 |
+
</port>
|
| 408 |
+
</output>
|
| 409 |
+
</layer>
|
| 410 |
+
<layer id="29" name="Constant_60572" type="Convert" version="opset1">
|
| 411 |
+
<data destination_type="f32" />
|
| 412 |
+
<rt_info>
|
| 413 |
+
<attribute name="decompression" version="0" />
|
| 414 |
+
</rt_info>
|
| 415 |
+
<input>
|
| 416 |
+
<port id="0" precision="FP16">
|
| 417 |
+
<dim>2560</dim>
|
| 418 |
+
</port>
|
| 419 |
+
</input>
|
| 420 |
+
<output>
|
| 421 |
+
<port id="1" precision="FP32">
|
| 422 |
+
<dim>2560</dim>
|
| 423 |
+
</port>
|
| 424 |
+
</output>
|
| 425 |
+
</layer>
|
| 426 |
+
<layer id="30" name="Multiply_60573" type="Multiply" version="opset1">
|
| 427 |
+
<data auto_broadcast="numpy" />
|
| 428 |
+
<input>
|
| 429 |
+
<port id="0" precision="FP32">
|
| 430 |
+
<dim>1</dim>
|
| 431 |
+
<dim>16</dim>
|
| 432 |
+
<dim>2560</dim>
|
| 433 |
+
</port>
|
| 434 |
+
<port id="1" precision="FP32">
|
| 435 |
+
<dim>2560</dim>
|
| 436 |
+
</port>
|
| 437 |
+
</input>
|
| 438 |
+
<output>
|
| 439 |
+
<port id="2" precision="FP32">
|
| 440 |
+
<dim>1</dim>
|
| 441 |
+
<dim>16</dim>
|
| 442 |
+
<dim>2560</dim>
|
| 443 |
+
</port>
|
| 444 |
+
</output>
|
| 445 |
+
</layer>
|
| 446 |
+
<layer id="31" name="Abs_60576" type="Abs" version="opset1">
|
| 447 |
+
<input>
|
| 448 |
+
<port id="0" precision="FP32">
|
| 449 |
+
<dim>1</dim>
|
| 450 |
+
<dim>16</dim>
|
| 451 |
+
<dim>2560</dim>
|
| 452 |
+
</port>
|
| 453 |
+
</input>
|
| 454 |
+
<output>
|
| 455 |
+
<port id="1" precision="FP32">
|
| 456 |
+
<dim>1</dim>
|
| 457 |
+
<dim>16</dim>
|
| 458 |
+
<dim>2560</dim>
|
| 459 |
+
</port>
|
| 460 |
+
</output>
|
| 461 |
+
</layer>
|
| 462 |
+
<layer id="32" name="Constant_60578" type="Const" version="opset1">
|
| 463 |
+
<data element_type="i64" shape="1" offset="0" size="8" />
|
| 464 |
+
<output>
|
| 465 |
+
<port id="0" precision="I64">
|
| 466 |
+
<dim>1</dim>
|
| 467 |
+
</port>
|
| 468 |
+
</output>
|
| 469 |
+
</layer>
|
| 470 |
+
<layer id="33" name="ReduceMax_60579" type="ReduceMax" version="opset1">
|
| 471 |
+
<data keep_dims="true" />
|
| 472 |
+
<input>
|
| 473 |
+
<port id="0" precision="FP32">
|
| 474 |
+
<dim>1</dim>
|
| 475 |
+
<dim>16</dim>
|
| 476 |
+
<dim>2560</dim>
|
| 477 |
+
</port>
|
| 478 |
+
<port id="1" precision="I64">
|
| 479 |
+
<dim>1</dim>
|
| 480 |
+
</port>
|
| 481 |
+
</input>
|
| 482 |
+
<output>
|
| 483 |
+
<port id="2" precision="FP32">
|
| 484 |
+
<dim>1</dim>
|
| 485 |
+
<dim>16</dim>
|
| 486 |
+
<dim>1</dim>
|
| 487 |
+
</port>
|
| 488 |
+
</output>
|
| 489 |
+
</layer>
|
| 490 |
+
<layer id="34" name="Constant_60581" type="Const" version="opset1">
|
| 491 |
+
<data element_type="f32" shape="" offset="14" size="4" />
|
| 492 |
+
<output>
|
| 493 |
+
<port id="0" precision="FP32" />
|
| 494 |
+
</output>
|
| 495 |
+
</layer>
|
| 496 |
+
<layer id="35" name="Maximum_60582" type="Maximum" version="opset1">
|
| 497 |
+
<data auto_broadcast="numpy" />
|
| 498 |
+
<input>
|
| 499 |
+
<port id="0" precision="FP32">
|
| 500 |
+
<dim>1</dim>
|
| 501 |
+
<dim>16</dim>
|
| 502 |
+
<dim>1</dim>
|
| 503 |
+
</port>
|
| 504 |
+
<port id="1" precision="FP32" />
|
| 505 |
+
</input>
|
| 506 |
+
<output>
|
| 507 |
+
<port id="2" precision="FP32">
|
| 508 |
+
<dim>1</dim>
|
| 509 |
+
<dim>16</dim>
|
| 510 |
+
<dim>1</dim>
|
| 511 |
+
</port>
|
| 512 |
+
</output>
|
| 513 |
+
</layer>
|
| 514 |
+
<layer id="36" name="Divide_60583" type="Divide" version="opset1">
|
| 515 |
+
<data auto_broadcast="numpy" m_pythondiv="true" />
|
| 516 |
+
<input>
|
| 517 |
+
<port id="0" precision="FP32">
|
| 518 |
+
<dim>1</dim>
|
| 519 |
+
<dim>16</dim>
|
| 520 |
+
<dim>2560</dim>
|
| 521 |
+
</port>
|
| 522 |
+
<port id="1" precision="FP32">
|
| 523 |
+
<dim>1</dim>
|
| 524 |
+
<dim>16</dim>
|
| 525 |
+
<dim>1</dim>
|
| 526 |
+
</port>
|
| 527 |
+
</input>
|
| 528 |
+
<output>
|
| 529 |
+
<port id="2" precision="FP32">
|
| 530 |
+
<dim>1</dim>
|
| 531 |
+
<dim>16</dim>
|
| 532 |
+
<dim>2560</dim>
|
| 533 |
+
</port>
|
| 534 |
+
</output>
|
| 535 |
+
</layer>
|
| 536 |
+
<layer id="37" name="Convert_60584" type="Convert" version="opset1">
|
| 537 |
+
<data destination_type="f16" />
|
| 538 |
+
<input>
|
| 539 |
+
<port id="0" precision="I8">
|
| 540 |
+
<dim>100352</dim>
|
| 541 |
+
<dim>2560</dim>
|
| 542 |
+
</port>
|
| 543 |
+
</input>
|
| 544 |
+
<output>
|
| 545 |
+
<port id="1" precision="FP16">
|
| 546 |
+
<dim>100352</dim>
|
| 547 |
+
<dim>2560</dim>
|
| 548 |
+
</port>
|
| 549 |
+
</output>
|
| 550 |
+
</layer>
|
| 551 |
+
<layer id="38" name="Convert_60585" type="Convert" version="opset1">
|
| 552 |
+
<data destination_type="f32" />
|
| 553 |
+
<input>
|
| 554 |
+
<port id="0" precision="FP16">
|
| 555 |
+
<dim>100352</dim>
|
| 556 |
+
<dim>2560</dim>
|
| 557 |
+
</port>
|
| 558 |
+
</input>
|
| 559 |
+
<output>
|
| 560 |
+
<port id="1" precision="FP32">
|
| 561 |
+
<dim>100352</dim>
|
| 562 |
+
<dim>2560</dim>
|
| 563 |
+
</port>
|
| 564 |
+
</output>
|
| 565 |
+
</layer>
|
| 566 |
+
<layer id="39" name="MatMul_60586" type="MatMul" version="opset1">
|
| 567 |
+
<data transpose_a="false" transpose_b="true" />
|
| 568 |
+
<input>
|
| 569 |
+
<port id="0" precision="FP32">
|
| 570 |
+
<dim>1</dim>
|
| 571 |
+
<dim>16</dim>
|
| 572 |
+
<dim>2560</dim>
|
| 573 |
+
</port>
|
| 574 |
+
<port id="1" precision="FP32">
|
| 575 |
+
<dim>100352</dim>
|
| 576 |
+
<dim>2560</dim>
|
| 577 |
+
</port>
|
| 578 |
+
</input>
|
| 579 |
+
<output>
|
| 580 |
+
<port id="2" precision="FP32">
|
| 581 |
+
<dim>1</dim>
|
| 582 |
+
<dim>16</dim>
|
| 583 |
+
<dim>100352</dim>
|
| 584 |
+
</port>
|
| 585 |
+
</output>
|
| 586 |
+
</layer>
|
| 587 |
+
<layer id="40" name="Convert_60587" type="Convert" version="opset1">
|
| 588 |
+
<data destination_type="f32" />
|
| 589 |
+
<input>
|
| 590 |
+
<port id="0" precision="FP16">
|
| 591 |
+
<dim>100352</dim>
|
| 592 |
+
</port>
|
| 593 |
+
</input>
|
| 594 |
+
<output>
|
| 595 |
+
<port id="1" precision="FP32">
|
| 596 |
+
<dim>100352</dim>
|
| 597 |
+
</port>
|
| 598 |
+
</output>
|
| 599 |
+
</layer>
|
| 600 |
+
<layer id="41" name="Multiply_60588" type="Multiply" version="opset1">
|
| 601 |
+
<data auto_broadcast="numpy" />
|
| 602 |
+
<input>
|
| 603 |
+
<port id="0" precision="FP32">
|
| 604 |
+
<dim>1</dim>
|
| 605 |
+
<dim>16</dim>
|
| 606 |
+
<dim>100352</dim>
|
| 607 |
+
</port>
|
| 608 |
+
<port id="1" precision="FP32">
|
| 609 |
+
<dim>100352</dim>
|
| 610 |
+
</port>
|
| 611 |
+
</input>
|
| 612 |
+
<output>
|
| 613 |
+
<port id="2" precision="FP32">
|
| 614 |
+
<dim>1</dim>
|
| 615 |
+
<dim>16</dim>
|
| 616 |
+
<dim>100352</dim>
|
| 617 |
+
</port>
|
| 618 |
+
</output>
|
| 619 |
+
</layer>
|
| 620 |
+
<layer id="42" name="Multiply_60589" type="Multiply" version="opset1">
|
| 621 |
+
<data auto_broadcast="numpy" />
|
| 622 |
+
<input>
|
| 623 |
+
<port id="0" precision="FP32">
|
| 624 |
+
<dim>1</dim>
|
| 625 |
+
<dim>16</dim>
|
| 626 |
+
<dim>100352</dim>
|
| 627 |
+
</port>
|
| 628 |
+
<port id="1" precision="FP32">
|
| 629 |
+
<dim>1</dim>
|
| 630 |
+
<dim>16</dim>
|
| 631 |
+
<dim>1</dim>
|
| 632 |
+
</port>
|
| 633 |
+
</input>
|
| 634 |
+
<output>
|
| 635 |
+
<port id="2" precision="FP32">
|
| 636 |
+
<dim>1</dim>
|
| 637 |
+
<dim>16</dim>
|
| 638 |
+
<dim>100352</dim>
|
| 639 |
+
</port>
|
| 640 |
+
</output>
|
| 641 |
+
</layer>
|
| 642 |
+
<layer id="43" name="Multiply_60589.0" type="Convert" version="opset1">
|
| 643 |
+
<data destination_type="f16" />
|
| 644 |
+
<input>
|
| 645 |
+
<port id="0" precision="FP32">
|
| 646 |
+
<dim>1</dim>
|
| 647 |
+
<dim>16</dim>
|
| 648 |
+
<dim>100352</dim>
|
| 649 |
+
</port>
|
| 650 |
+
</input>
|
| 651 |
+
<output>
|
| 652 |
+
<port id="1" precision="FP16" names="logits">
|
| 653 |
+
<dim>1</dim>
|
| 654 |
+
<dim>16</dim>
|
| 655 |
+
<dim>100352</dim>
|
| 656 |
+
</port>
|
| 657 |
+
</output>
|
| 658 |
+
</layer>
|
| 659 |
+
<layer id="44" name="Result_60590" type="Result" version="opset1" output_names="logits">
|
| 660 |
+
<input>
|
| 661 |
+
<port id="0" precision="FP16">
|
| 662 |
+
<dim>1</dim>
|
| 663 |
+
<dim>16</dim>
|
| 664 |
+
<dim>100352</dim>
|
| 665 |
+
</port>
|
| 666 |
+
</input>
|
| 667 |
+
</layer>
|
| 668 |
+
</layers>
|
| 669 |
+
<edges>
|
| 670 |
+
<edge from-layer="0" from-port="0" to-layer="3" to-port="0" />
|
| 671 |
+
<edge from-layer="1" from-port="0" to-layer="37" to-port="0" />
|
| 672 |
+
<edge from-layer="2" from-port="0" to-layer="40" to-port="0" />
|
| 673 |
+
<edge from-layer="3" from-port="1" to-layer="4" to-port="0" />
|
| 674 |
+
<edge from-layer="3" from-port="1" to-layer="14" to-port="0" />
|
| 675 |
+
<edge from-layer="4" from-port="1" to-layer="6" to-port="0" />
|
| 676 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="1" />
|
| 677 |
+
<edge from-layer="6" from-port="2" to-layer="8" to-port="0" />
|
| 678 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="1" />
|
| 679 |
+
<edge from-layer="8" from-port="2" to-layer="11" to-port="0" />
|
| 680 |
+
<edge from-layer="9" from-port="0" to-layer="10" to-port="0" />
|
| 681 |
+
<edge from-layer="10" from-port="1" to-layer="11" to-port="1" />
|
| 682 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="0" />
|
| 683 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="1" />
|
| 684 |
+
<edge from-layer="13" from-port="2" to-layer="14" to-port="1" />
|
| 685 |
+
<edge from-layer="13" from-port="2" to-layer="22" to-port="1" />
|
| 686 |
+
<edge from-layer="14" from-port="2" to-layer="17" to-port="0" />
|
| 687 |
+
<edge from-layer="14" from-port="2" to-layer="17" to-port="1" />
|
| 688 |
+
<edge from-layer="14" from-port="2" to-layer="27" to-port="0" />
|
| 689 |
+
<edge from-layer="15" from-port="0" to-layer="16" to-port="0" />
|
| 690 |
+
<edge from-layer="16" from-port="1" to-layer="25" to-port="0" />
|
| 691 |
+
<edge from-layer="17" from-port="2" to-layer="19" to-port="0" />
|
| 692 |
+
<edge from-layer="18" from-port="0" to-layer="19" to-port="1" />
|
| 693 |
+
<edge from-layer="19" from-port="2" to-layer="24" to-port="0" />
|
| 694 |
+
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
|
| 695 |
+
<edge from-layer="21" from-port="1" to-layer="22" to-port="0" />
|
| 696 |
+
<edge from-layer="22" from-port="2" to-layer="23" to-port="1" />
|
| 697 |
+
<edge from-layer="22" from-port="2" to-layer="23" to-port="0" />
|
| 698 |
+
<edge from-layer="23" from-port="2" to-layer="24" to-port="1" />
|
| 699 |
+
<edge from-layer="24" from-port="2" to-layer="25" to-port="1" />
|
| 700 |
+
<edge from-layer="25" from-port="2" to-layer="26" to-port="0" />
|
| 701 |
+
<edge from-layer="26" from-port="1" to-layer="27" to-port="1" />
|
| 702 |
+
<edge from-layer="27" from-port="2" to-layer="30" to-port="0" />
|
| 703 |
+
<edge from-layer="28" from-port="0" to-layer="29" to-port="0" />
|
| 704 |
+
<edge from-layer="29" from-port="1" to-layer="30" to-port="1" />
|
| 705 |
+
<edge from-layer="30" from-port="2" to-layer="31" to-port="0" />
|
| 706 |
+
<edge from-layer="30" from-port="2" to-layer="36" to-port="0" />
|
| 707 |
+
<edge from-layer="31" from-port="1" to-layer="33" to-port="0" />
|
| 708 |
+
<edge from-layer="32" from-port="0" to-layer="33" to-port="1" />
|
| 709 |
+
<edge from-layer="33" from-port="2" to-layer="35" to-port="0" />
|
| 710 |
+
<edge from-layer="34" from-port="0" to-layer="35" to-port="1" />
|
| 711 |
+
<edge from-layer="35" from-port="2" to-layer="36" to-port="1" />
|
| 712 |
+
<edge from-layer="35" from-port="2" to-layer="42" to-port="1" />
|
| 713 |
+
<edge from-layer="36" from-port="2" to-layer="39" to-port="0" />
|
| 714 |
+
<edge from-layer="37" from-port="1" to-layer="38" to-port="0" />
|
| 715 |
+
<edge from-layer="38" from-port="1" to-layer="39" to-port="1" />
|
| 716 |
+
<edge from-layer="39" from-port="2" to-layer="41" to-port="0" />
|
| 717 |
+
<edge from-layer="40" from-port="1" to-layer="41" to-port="1" />
|
| 718 |
+
<edge from-layer="41" from-port="2" to-layer="42" to-port="0" />
|
| 719 |
+
<edge from-layer="42" from-port="2" to-layer="43" to-port="0" />
|
| 720 |
+
<edge from-layer="43" from-port="1" to-layer="44" to-port="0" />
|
| 721 |
+
</edges>
|
| 722 |
+
<rt_info>
|
| 723 |
+
<info name="OpenVINO Runtime" value="2026.5.0-23160-6db412d0a27" />
|
| 724 |
+
</rt_info>
|
| 725 |
+
</net>
|
shared.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3aebde53412b033379fdb98919053916af82d48716efa25874dd9e8962503dc3
|
| 3 |
+
size 401608704
|
shared.bin.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
{"tensors": {"embed_q4": {"at": [0, 128450560], "type": "u8", "shape": [100352, 1280]}, "embed_s4": {"at": [128450560, 16056320], "type": "f16", "shape": [100352, 80]}, "head_q": {"at": [144506880, 256901120], "type": "i8", "shape": [100352, 2560]}, "head_s": {"at": [401408000, 200704], "type": "f16", "shape": [100352]}}}
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token": {
|
| 3 |
+
"content": "<s>",
|
| 4 |
+
"lstrip": false,
|
| 5 |
+
"normalized": false,
|
| 6 |
+
"rstrip": false,
|
| 7 |
+
"single_word": false
|
| 8 |
+
},
|
| 9 |
+
"eos_token": {
|
| 10 |
+
"content": "<|im_end|>",
|
| 11 |
+
"lstrip": false,
|
| 12 |
+
"normalized": false,
|
| 13 |
+
"rstrip": false,
|
| 14 |
+
"single_word": false
|
| 15 |
+
},
|
| 16 |
+
"pad_token": {
|
| 17 |
+
"content": "<|im_end|>",
|
| 18 |
+
"lstrip": false,
|
| 19 |
+
"normalized": false,
|
| 20 |
+
"rstrip": false,
|
| 21 |
+
"single_word": false
|
| 22 |
+
},
|
| 23 |
+
"unk_token": {
|
| 24 |
+
"content": "<unk>",
|
| 25 |
+
"lstrip": false,
|
| 26 |
+
"normalized": false,
|
| 27 |
+
"rstrip": false,
|
| 28 |
+
"single_word": false
|
| 29 |
+
}
|
| 30 |
+
}
|
tokenizer.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,785 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_prefix_space": false,
|
| 3 |
+
"added_tokens_decoder": {
|
| 4 |
+
"100256": {
|
| 5 |
+
"content": "<|im_start|>",
|
| 6 |
+
"lstrip": false,
|
| 7 |
+
"normalized": false,
|
| 8 |
+
"rstrip": false,
|
| 9 |
+
"single_word": false,
|
| 10 |
+
"special": true
|
| 11 |
+
},
|
| 12 |
+
"100257": {
|
| 13 |
+
"content": "<|im_end|>",
|
| 14 |
+
"lstrip": false,
|
| 15 |
+
"normalized": false,
|
| 16 |
+
"rstrip": false,
|
| 17 |
+
"single_word": false,
|
| 18 |
+
"special": true
|
| 19 |
+
},
|
| 20 |
+
"100258": {
|
| 21 |
+
"content": "<|fim_prefix|>",
|
| 22 |
+
"lstrip": false,
|
| 23 |
+
"normalized": false,
|
| 24 |
+
"rstrip": false,
|
| 25 |
+
"single_word": false,
|
| 26 |
+
"special": false
|
| 27 |
+
},
|
| 28 |
+
"100259": {
|
| 29 |
+
"content": "<|fim_middle|>",
|
| 30 |
+
"lstrip": false,
|
| 31 |
+
"normalized": false,
|
| 32 |
+
"rstrip": false,
|
| 33 |
+
"single_word": false,
|
| 34 |
+
"special": false
|
| 35 |
+
},
|
| 36 |
+
"100260": {
|
| 37 |
+
"content": "<|fim_suffix|>",
|
| 38 |
+
"lstrip": false,
|
| 39 |
+
"normalized": false,
|
| 40 |
+
"rstrip": false,
|
| 41 |
+
"single_word": false,
|
| 42 |
+
"special": false
|
| 43 |
+
},
|
| 44 |
+
"100261": {
|
| 45 |
+
"content": "<|fim_pad|>",
|
| 46 |
+
"lstrip": false,
|
| 47 |
+
"normalized": false,
|
| 48 |
+
"rstrip": false,
|
| 49 |
+
"single_word": false,
|
| 50 |
+
"special": false
|
| 51 |
+
},
|
| 52 |
+
"100262": {
|
| 53 |
+
"content": "<|filename|>",
|
| 54 |
+
"lstrip": false,
|
| 55 |
+
"normalized": false,
|
| 56 |
+
"rstrip": false,
|
| 57 |
+
"single_word": false,
|
| 58 |
+
"special": false
|
| 59 |
+
},
|
| 60 |
+
"100263": {
|
| 61 |
+
"content": "<|reponame|>",
|
| 62 |
+
"lstrip": false,
|
| 63 |
+
"normalized": false,
|
| 64 |
+
"rstrip": false,
|
| 65 |
+
"single_word": false,
|
| 66 |
+
"special": false
|
| 67 |
+
},
|
| 68 |
+
"100264": {
|
| 69 |
+
"content": "<|unused_11|>",
|
| 70 |
+
"lstrip": false,
|
| 71 |
+
"normalized": false,
|
| 72 |
+
"rstrip": false,
|
| 73 |
+
"single_word": false,
|
| 74 |
+
"special": true
|
| 75 |
+
},
|
| 76 |
+
"100265": {
|
| 77 |
+
"content": "<|unused_12|>",
|
| 78 |
+
"lstrip": false,
|
| 79 |
+
"normalized": false,
|
| 80 |
+
"rstrip": false,
|
| 81 |
+
"single_word": false,
|
| 82 |
+
"special": true
|
| 83 |
+
},
|
| 84 |
+
"100266": {
|
| 85 |
+
"content": "<|unused_13|>",
|
| 86 |
+
"lstrip": false,
|
| 87 |
+
"normalized": false,
|
| 88 |
+
"rstrip": false,
|
| 89 |
+
"single_word": false,
|
| 90 |
+
"special": true
|
| 91 |
+
},
|
| 92 |
+
"100267": {
|
| 93 |
+
"content": "<|unused_14|>",
|
| 94 |
+
"lstrip": false,
|
| 95 |
+
"normalized": false,
|
| 96 |
+
"rstrip": false,
|
| 97 |
+
"single_word": false,
|
| 98 |
+
"special": true
|
| 99 |
+
},
|
| 100 |
+
"100268": {
|
| 101 |
+
"content": "<|unused_15|>",
|
| 102 |
+
"lstrip": false,
|
| 103 |
+
"normalized": false,
|
| 104 |
+
"rstrip": false,
|
| 105 |
+
"single_word": false,
|
| 106 |
+
"special": true
|
| 107 |
+
},
|
| 108 |
+
"100269": {
|
| 109 |
+
"content": "<unk>",
|
| 110 |
+
"lstrip": false,
|
| 111 |
+
"normalized": false,
|
| 112 |
+
"rstrip": false,
|
| 113 |
+
"single_word": false,
|
| 114 |
+
"special": true
|
| 115 |
+
},
|
| 116 |
+
"100270": {
|
| 117 |
+
"content": "<tool_call>",
|
| 118 |
+
"lstrip": false,
|
| 119 |
+
"normalized": false,
|
| 120 |
+
"rstrip": false,
|
| 121 |
+
"single_word": false,
|
| 122 |
+
"special": false
|
| 123 |
+
},
|
| 124 |
+
"100271": {
|
| 125 |
+
"content": "</tool_call>",
|
| 126 |
+
"lstrip": false,
|
| 127 |
+
"normalized": false,
|
| 128 |
+
"rstrip": false,
|
| 129 |
+
"single_word": false,
|
| 130 |
+
"special": false
|
| 131 |
+
},
|
| 132 |
+
"100272": {
|
| 133 |
+
"content": "<tool_response>",
|
| 134 |
+
"lstrip": false,
|
| 135 |
+
"normalized": false,
|
| 136 |
+
"rstrip": false,
|
| 137 |
+
"single_word": false,
|
| 138 |
+
"special": false
|
| 139 |
+
},
|
| 140 |
+
"100273": {
|
| 141 |
+
"content": "</tool_response>",
|
| 142 |
+
"lstrip": false,
|
| 143 |
+
"normalized": false,
|
| 144 |
+
"rstrip": false,
|
| 145 |
+
"single_word": false,
|
| 146 |
+
"special": false
|
| 147 |
+
},
|
| 148 |
+
"100274": {
|
| 149 |
+
"content": "<think>",
|
| 150 |
+
"lstrip": false,
|
| 151 |
+
"normalized": false,
|
| 152 |
+
"rstrip": false,
|
| 153 |
+
"single_word": false,
|
| 154 |
+
"special": false
|
| 155 |
+
},
|
| 156 |
+
"100275": {
|
| 157 |
+
"content": "</think>",
|
| 158 |
+
"lstrip": false,
|
| 159 |
+
"normalized": false,
|
| 160 |
+
"rstrip": false,
|
| 161 |
+
"single_word": false,
|
| 162 |
+
"special": false
|
| 163 |
+
},
|
| 164 |
+
"100276": {
|
| 165 |
+
"content": "[INST]",
|
| 166 |
+
"lstrip": false,
|
| 167 |
+
"normalized": false,
|
| 168 |
+
"rstrip": false,
|
| 169 |
+
"single_word": false,
|
| 170 |
+
"special": true
|
| 171 |
+
},
|
| 172 |
+
"100277": {
|
| 173 |
+
"content": "[/INST]",
|
| 174 |
+
"lstrip": false,
|
| 175 |
+
"normalized": false,
|
| 176 |
+
"rstrip": false,
|
| 177 |
+
"single_word": false,
|
| 178 |
+
"special": true
|
| 179 |
+
},
|
| 180 |
+
"100278": {
|
| 181 |
+
"content": "[AVAILABLE_TOOLS]",
|
| 182 |
+
"lstrip": false,
|
| 183 |
+
"normalized": false,
|
| 184 |
+
"rstrip": false,
|
| 185 |
+
"single_word": false,
|
| 186 |
+
"special": true
|
| 187 |
+
},
|
| 188 |
+
"100279": {
|
| 189 |
+
"content": "[/AVAILABLE_TOOLS]",
|
| 190 |
+
"lstrip": false,
|
| 191 |
+
"normalized": false,
|
| 192 |
+
"rstrip": false,
|
| 193 |
+
"single_word": false,
|
| 194 |
+
"special": true
|
| 195 |
+
},
|
| 196 |
+
"100280": {
|
| 197 |
+
"content": "[TOOL_RESULTS]",
|
| 198 |
+
"lstrip": false,
|
| 199 |
+
"normalized": false,
|
| 200 |
+
"rstrip": false,
|
| 201 |
+
"single_word": false,
|
| 202 |
+
"special": true
|
| 203 |
+
},
|
| 204 |
+
"100281": {
|
| 205 |
+
"content": "[/TOOL_RESULTS]",
|
| 206 |
+
"lstrip": false,
|
| 207 |
+
"normalized": false,
|
| 208 |
+
"rstrip": false,
|
| 209 |
+
"single_word": false,
|
| 210 |
+
"special": true
|
| 211 |
+
},
|
| 212 |
+
"100282": {
|
| 213 |
+
"content": "[TOOL_CALLS]",
|
| 214 |
+
"lstrip": false,
|
| 215 |
+
"normalized": false,
|
| 216 |
+
"rstrip": false,
|
| 217 |
+
"single_word": false,
|
| 218 |
+
"special": true
|
| 219 |
+
},
|
| 220 |
+
"100283": {
|
| 221 |
+
"content": "<s>",
|
| 222 |
+
"lstrip": false,
|
| 223 |
+
"normalized": false,
|
| 224 |
+
"rstrip": false,
|
| 225 |
+
"single_word": false,
|
| 226 |
+
"special": true
|
| 227 |
+
},
|
| 228 |
+
"100284": {
|
| 229 |
+
"content": "</s>",
|
| 230 |
+
"lstrip": false,
|
| 231 |
+
"normalized": false,
|
| 232 |
+
"rstrip": false,
|
| 233 |
+
"single_word": false,
|
| 234 |
+
"special": true
|
| 235 |
+
},
|
| 236 |
+
"100285": {
|
| 237 |
+
"content": "<|unused_16|>",
|
| 238 |
+
"lstrip": false,
|
| 239 |
+
"normalized": false,
|
| 240 |
+
"rstrip": false,
|
| 241 |
+
"single_word": false,
|
| 242 |
+
"special": true
|
| 243 |
+
},
|
| 244 |
+
"100286": {
|
| 245 |
+
"content": "<|unused_17|>",
|
| 246 |
+
"lstrip": false,
|
| 247 |
+
"normalized": false,
|
| 248 |
+
"rstrip": false,
|
| 249 |
+
"single_word": false,
|
| 250 |
+
"special": true
|
| 251 |
+
},
|
| 252 |
+
"100287": {
|
| 253 |
+
"content": "<|unused_18|>",
|
| 254 |
+
"lstrip": false,
|
| 255 |
+
"normalized": false,
|
| 256 |
+
"rstrip": false,
|
| 257 |
+
"single_word": false,
|
| 258 |
+
"special": true
|
| 259 |
+
},
|
| 260 |
+
"100288": {
|
| 261 |
+
"content": "<|unused_19|>",
|
| 262 |
+
"lstrip": false,
|
| 263 |
+
"normalized": false,
|
| 264 |
+
"rstrip": false,
|
| 265 |
+
"single_word": false,
|
| 266 |
+
"special": true
|
| 267 |
+
},
|
| 268 |
+
"100289": {
|
| 269 |
+
"content": "<|unused_20|>",
|
| 270 |
+
"lstrip": false,
|
| 271 |
+
"normalized": false,
|
| 272 |
+
"rstrip": false,
|
| 273 |
+
"single_word": false,
|
| 274 |
+
"special": true
|
| 275 |
+
},
|
| 276 |
+
"100290": {
|
| 277 |
+
"content": "<|unused_21|>",
|
| 278 |
+
"lstrip": false,
|
| 279 |
+
"normalized": false,
|
| 280 |
+
"rstrip": false,
|
| 281 |
+
"single_word": false,
|
| 282 |
+
"special": true
|
| 283 |
+
},
|
| 284 |
+
"100291": {
|
| 285 |
+
"content": "<|unused_22|>",
|
| 286 |
+
"lstrip": false,
|
| 287 |
+
"normalized": false,
|
| 288 |
+
"rstrip": false,
|
| 289 |
+
"single_word": false,
|
| 290 |
+
"special": true
|
| 291 |
+
},
|
| 292 |
+
"100292": {
|
| 293 |
+
"content": "<|unused_23|>",
|
| 294 |
+
"lstrip": false,
|
| 295 |
+
"normalized": false,
|
| 296 |
+
"rstrip": false,
|
| 297 |
+
"single_word": false,
|
| 298 |
+
"special": true
|
| 299 |
+
},
|
| 300 |
+
"100293": {
|
| 301 |
+
"content": "<|unused_24|>",
|
| 302 |
+
"lstrip": false,
|
| 303 |
+
"normalized": false,
|
| 304 |
+
"rstrip": false,
|
| 305 |
+
"single_word": false,
|
| 306 |
+
"special": true
|
| 307 |
+
},
|
| 308 |
+
"100294": {
|
| 309 |
+
"content": "<|unused_25|>",
|
| 310 |
+
"lstrip": false,
|
| 311 |
+
"normalized": false,
|
| 312 |
+
"rstrip": false,
|
| 313 |
+
"single_word": false,
|
| 314 |
+
"special": true
|
| 315 |
+
},
|
| 316 |
+
"100295": {
|
| 317 |
+
"content": "<|unused_26|>",
|
| 318 |
+
"lstrip": false,
|
| 319 |
+
"normalized": false,
|
| 320 |
+
"rstrip": false,
|
| 321 |
+
"single_word": false,
|
| 322 |
+
"special": true
|
| 323 |
+
},
|
| 324 |
+
"100296": {
|
| 325 |
+
"content": "<|unused_27|>",
|
| 326 |
+
"lstrip": false,
|
| 327 |
+
"normalized": false,
|
| 328 |
+
"rstrip": false,
|
| 329 |
+
"single_word": false,
|
| 330 |
+
"special": true
|
| 331 |
+
},
|
| 332 |
+
"100297": {
|
| 333 |
+
"content": "<|unused_28|>",
|
| 334 |
+
"lstrip": false,
|
| 335 |
+
"normalized": false,
|
| 336 |
+
"rstrip": false,
|
| 337 |
+
"single_word": false,
|
| 338 |
+
"special": true
|
| 339 |
+
},
|
| 340 |
+
"100298": {
|
| 341 |
+
"content": "<|unused_29|>",
|
| 342 |
+
"lstrip": false,
|
| 343 |
+
"normalized": false,
|
| 344 |
+
"rstrip": false,
|
| 345 |
+
"single_word": false,
|
| 346 |
+
"special": true
|
| 347 |
+
},
|
| 348 |
+
"100299": {
|
| 349 |
+
"content": "<|unused_30|>",
|
| 350 |
+
"lstrip": false,
|
| 351 |
+
"normalized": false,
|
| 352 |
+
"rstrip": false,
|
| 353 |
+
"single_word": false,
|
| 354 |
+
"special": true
|
| 355 |
+
},
|
| 356 |
+
"100300": {
|
| 357 |
+
"content": "<|unused_31|>",
|
| 358 |
+
"lstrip": false,
|
| 359 |
+
"normalized": false,
|
| 360 |
+
"rstrip": false,
|
| 361 |
+
"single_word": false,
|
| 362 |
+
"special": true
|
| 363 |
+
},
|
| 364 |
+
"100301": {
|
| 365 |
+
"content": "<|unused_32|>",
|
| 366 |
+
"lstrip": false,
|
| 367 |
+
"normalized": false,
|
| 368 |
+
"rstrip": false,
|
| 369 |
+
"single_word": false,
|
| 370 |
+
"special": true
|
| 371 |
+
},
|
| 372 |
+
"100302": {
|
| 373 |
+
"content": "<|unused_33|>",
|
| 374 |
+
"lstrip": false,
|
| 375 |
+
"normalized": false,
|
| 376 |
+
"rstrip": false,
|
| 377 |
+
"single_word": false,
|
| 378 |
+
"special": true
|
| 379 |
+
},
|
| 380 |
+
"100303": {
|
| 381 |
+
"content": "<|unused_34|>",
|
| 382 |
+
"lstrip": false,
|
| 383 |
+
"normalized": false,
|
| 384 |
+
"rstrip": false,
|
| 385 |
+
"single_word": false,
|
| 386 |
+
"special": true
|
| 387 |
+
},
|
| 388 |
+
"100304": {
|
| 389 |
+
"content": "<|unused_35|>",
|
| 390 |
+
"lstrip": false,
|
| 391 |
+
"normalized": false,
|
| 392 |
+
"rstrip": false,
|
| 393 |
+
"single_word": false,
|
| 394 |
+
"special": true
|
| 395 |
+
},
|
| 396 |
+
"100305": {
|
| 397 |
+
"content": "<|unused_36|>",
|
| 398 |
+
"lstrip": false,
|
| 399 |
+
"normalized": false,
|
| 400 |
+
"rstrip": false,
|
| 401 |
+
"single_word": false,
|
| 402 |
+
"special": true
|
| 403 |
+
},
|
| 404 |
+
"100306": {
|
| 405 |
+
"content": "<|unused_37|>",
|
| 406 |
+
"lstrip": false,
|
| 407 |
+
"normalized": false,
|
| 408 |
+
"rstrip": false,
|
| 409 |
+
"single_word": false,
|
| 410 |
+
"special": true
|
| 411 |
+
},
|
| 412 |
+
"100307": {
|
| 413 |
+
"content": "<|unused_38|>",
|
| 414 |
+
"lstrip": false,
|
| 415 |
+
"normalized": false,
|
| 416 |
+
"rstrip": false,
|
| 417 |
+
"single_word": false,
|
| 418 |
+
"special": true
|
| 419 |
+
},
|
| 420 |
+
"100308": {
|
| 421 |
+
"content": "<|unused_39|>",
|
| 422 |
+
"lstrip": false,
|
| 423 |
+
"normalized": false,
|
| 424 |
+
"rstrip": false,
|
| 425 |
+
"single_word": false,
|
| 426 |
+
"special": true
|
| 427 |
+
},
|
| 428 |
+
"100309": {
|
| 429 |
+
"content": "<|unused_40|>",
|
| 430 |
+
"lstrip": false,
|
| 431 |
+
"normalized": false,
|
| 432 |
+
"rstrip": false,
|
| 433 |
+
"single_word": false,
|
| 434 |
+
"special": true
|
| 435 |
+
},
|
| 436 |
+
"100310": {
|
| 437 |
+
"content": "<|unused_41|>",
|
| 438 |
+
"lstrip": false,
|
| 439 |
+
"normalized": false,
|
| 440 |
+
"rstrip": false,
|
| 441 |
+
"single_word": false,
|
| 442 |
+
"special": true
|
| 443 |
+
},
|
| 444 |
+
"100311": {
|
| 445 |
+
"content": "<|unused_42|>",
|
| 446 |
+
"lstrip": false,
|
| 447 |
+
"normalized": false,
|
| 448 |
+
"rstrip": false,
|
| 449 |
+
"single_word": false,
|
| 450 |
+
"special": true
|
| 451 |
+
},
|
| 452 |
+
"100312": {
|
| 453 |
+
"content": "<|unused_43|>",
|
| 454 |
+
"lstrip": false,
|
| 455 |
+
"normalized": false,
|
| 456 |
+
"rstrip": false,
|
| 457 |
+
"single_word": false,
|
| 458 |
+
"special": true
|
| 459 |
+
},
|
| 460 |
+
"100313": {
|
| 461 |
+
"content": "<|unused_44|>",
|
| 462 |
+
"lstrip": false,
|
| 463 |
+
"normalized": false,
|
| 464 |
+
"rstrip": false,
|
| 465 |
+
"single_word": false,
|
| 466 |
+
"special": true
|
| 467 |
+
},
|
| 468 |
+
"100314": {
|
| 469 |
+
"content": "<|unused_45|>",
|
| 470 |
+
"lstrip": false,
|
| 471 |
+
"normalized": false,
|
| 472 |
+
"rstrip": false,
|
| 473 |
+
"single_word": false,
|
| 474 |
+
"special": true
|
| 475 |
+
},
|
| 476 |
+
"100315": {
|
| 477 |
+
"content": "<|unused_46|>",
|
| 478 |
+
"lstrip": false,
|
| 479 |
+
"normalized": false,
|
| 480 |
+
"rstrip": false,
|
| 481 |
+
"single_word": false,
|
| 482 |
+
"special": true
|
| 483 |
+
},
|
| 484 |
+
"100316": {
|
| 485 |
+
"content": "<|unused_47|>",
|
| 486 |
+
"lstrip": false,
|
| 487 |
+
"normalized": false,
|
| 488 |
+
"rstrip": false,
|
| 489 |
+
"single_word": false,
|
| 490 |
+
"special": true
|
| 491 |
+
},
|
| 492 |
+
"100317": {
|
| 493 |
+
"content": "<|unused_48|>",
|
| 494 |
+
"lstrip": false,
|
| 495 |
+
"normalized": false,
|
| 496 |
+
"rstrip": false,
|
| 497 |
+
"single_word": false,
|
| 498 |
+
"special": true
|
| 499 |
+
},
|
| 500 |
+
"100318": {
|
| 501 |
+
"content": "<|unused_49|>",
|
| 502 |
+
"lstrip": false,
|
| 503 |
+
"normalized": false,
|
| 504 |
+
"rstrip": false,
|
| 505 |
+
"single_word": false,
|
| 506 |
+
"special": true
|
| 507 |
+
},
|
| 508 |
+
"100319": {
|
| 509 |
+
"content": "<|unused_50|>",
|
| 510 |
+
"lstrip": false,
|
| 511 |
+
"normalized": false,
|
| 512 |
+
"rstrip": false,
|
| 513 |
+
"single_word": false,
|
| 514 |
+
"special": true
|
| 515 |
+
},
|
| 516 |
+
"100320": {
|
| 517 |
+
"content": "<|unused_51|>",
|
| 518 |
+
"lstrip": false,
|
| 519 |
+
"normalized": false,
|
| 520 |
+
"rstrip": false,
|
| 521 |
+
"single_word": false,
|
| 522 |
+
"special": true
|
| 523 |
+
},
|
| 524 |
+
"100321": {
|
| 525 |
+
"content": "<|unused_52|>",
|
| 526 |
+
"lstrip": false,
|
| 527 |
+
"normalized": false,
|
| 528 |
+
"rstrip": false,
|
| 529 |
+
"single_word": false,
|
| 530 |
+
"special": true
|
| 531 |
+
},
|
| 532 |
+
"100322": {
|
| 533 |
+
"content": "<|unused_53|>",
|
| 534 |
+
"lstrip": false,
|
| 535 |
+
"normalized": false,
|
| 536 |
+
"rstrip": false,
|
| 537 |
+
"single_word": false,
|
| 538 |
+
"special": true
|
| 539 |
+
},
|
| 540 |
+
"100323": {
|
| 541 |
+
"content": "<|unused_54|>",
|
| 542 |
+
"lstrip": false,
|
| 543 |
+
"normalized": false,
|
| 544 |
+
"rstrip": false,
|
| 545 |
+
"single_word": false,
|
| 546 |
+
"special": true
|
| 547 |
+
},
|
| 548 |
+
"100324": {
|
| 549 |
+
"content": "<|unused_55|>",
|
| 550 |
+
"lstrip": false,
|
| 551 |
+
"normalized": false,
|
| 552 |
+
"rstrip": false,
|
| 553 |
+
"single_word": false,
|
| 554 |
+
"special": true
|
| 555 |
+
},
|
| 556 |
+
"100325": {
|
| 557 |
+
"content": "<|unused_56|>",
|
| 558 |
+
"lstrip": false,
|
| 559 |
+
"normalized": false,
|
| 560 |
+
"rstrip": false,
|
| 561 |
+
"single_word": false,
|
| 562 |
+
"special": true
|
| 563 |
+
},
|
| 564 |
+
"100326": {
|
| 565 |
+
"content": "<|unused_57|>",
|
| 566 |
+
"lstrip": false,
|
| 567 |
+
"normalized": false,
|
| 568 |
+
"rstrip": false,
|
| 569 |
+
"single_word": false,
|
| 570 |
+
"special": true
|
| 571 |
+
},
|
| 572 |
+
"100327": {
|
| 573 |
+
"content": "<|unused_58|>",
|
| 574 |
+
"lstrip": false,
|
| 575 |
+
"normalized": false,
|
| 576 |
+
"rstrip": false,
|
| 577 |
+
"single_word": false,
|
| 578 |
+
"special": true
|
| 579 |
+
},
|
| 580 |
+
"100328": {
|
| 581 |
+
"content": "<|unused_59|>",
|
| 582 |
+
"lstrip": false,
|
| 583 |
+
"normalized": false,
|
| 584 |
+
"rstrip": false,
|
| 585 |
+
"single_word": false,
|
| 586 |
+
"special": true
|
| 587 |
+
},
|
| 588 |
+
"100329": {
|
| 589 |
+
"content": "<|unused_60|>",
|
| 590 |
+
"lstrip": false,
|
| 591 |
+
"normalized": false,
|
| 592 |
+
"rstrip": false,
|
| 593 |
+
"single_word": false,
|
| 594 |
+
"special": true
|
| 595 |
+
},
|
| 596 |
+
"100330": {
|
| 597 |
+
"content": "<|unused_61|>",
|
| 598 |
+
"lstrip": false,
|
| 599 |
+
"normalized": false,
|
| 600 |
+
"rstrip": false,
|
| 601 |
+
"single_word": false,
|
| 602 |
+
"special": true
|
| 603 |
+
},
|
| 604 |
+
"100331": {
|
| 605 |
+
"content": "<|unused_62|>",
|
| 606 |
+
"lstrip": false,
|
| 607 |
+
"normalized": false,
|
| 608 |
+
"rstrip": false,
|
| 609 |
+
"single_word": false,
|
| 610 |
+
"special": true
|
| 611 |
+
},
|
| 612 |
+
"100332": {
|
| 613 |
+
"content": "<|unused_63|>",
|
| 614 |
+
"lstrip": false,
|
| 615 |
+
"normalized": false,
|
| 616 |
+
"rstrip": false,
|
| 617 |
+
"single_word": false,
|
| 618 |
+
"special": true
|
| 619 |
+
},
|
| 620 |
+
"100333": {
|
| 621 |
+
"content": "<|unused_64|>",
|
| 622 |
+
"lstrip": false,
|
| 623 |
+
"normalized": false,
|
| 624 |
+
"rstrip": false,
|
| 625 |
+
"single_word": false,
|
| 626 |
+
"special": true
|
| 627 |
+
},
|
| 628 |
+
"100334": {
|
| 629 |
+
"content": "<|unused_65|>",
|
| 630 |
+
"lstrip": false,
|
| 631 |
+
"normalized": false,
|
| 632 |
+
"rstrip": false,
|
| 633 |
+
"single_word": false,
|
| 634 |
+
"special": true
|
| 635 |
+
},
|
| 636 |
+
"100335": {
|
| 637 |
+
"content": "<|unused_66|>",
|
| 638 |
+
"lstrip": false,
|
| 639 |
+
"normalized": false,
|
| 640 |
+
"rstrip": false,
|
| 641 |
+
"single_word": false,
|
| 642 |
+
"special": true
|
| 643 |
+
},
|
| 644 |
+
"100336": {
|
| 645 |
+
"content": "<|unused_67|>",
|
| 646 |
+
"lstrip": false,
|
| 647 |
+
"normalized": false,
|
| 648 |
+
"rstrip": false,
|
| 649 |
+
"single_word": false,
|
| 650 |
+
"special": true
|
| 651 |
+
},
|
| 652 |
+
"100337": {
|
| 653 |
+
"content": "<|unused_68|>",
|
| 654 |
+
"lstrip": false,
|
| 655 |
+
"normalized": false,
|
| 656 |
+
"rstrip": false,
|
| 657 |
+
"single_word": false,
|
| 658 |
+
"special": true
|
| 659 |
+
},
|
| 660 |
+
"100338": {
|
| 661 |
+
"content": "<|unused_69|>",
|
| 662 |
+
"lstrip": false,
|
| 663 |
+
"normalized": false,
|
| 664 |
+
"rstrip": false,
|
| 665 |
+
"single_word": false,
|
| 666 |
+
"special": true
|
| 667 |
+
},
|
| 668 |
+
"100339": {
|
| 669 |
+
"content": "<|unused_70|>",
|
| 670 |
+
"lstrip": false,
|
| 671 |
+
"normalized": false,
|
| 672 |
+
"rstrip": false,
|
| 673 |
+
"single_word": false,
|
| 674 |
+
"special": true
|
| 675 |
+
},
|
| 676 |
+
"100340": {
|
| 677 |
+
"content": "<|unused_71|>",
|
| 678 |
+
"lstrip": false,
|
| 679 |
+
"normalized": false,
|
| 680 |
+
"rstrip": false,
|
| 681 |
+
"single_word": false,
|
| 682 |
+
"special": true
|
| 683 |
+
},
|
| 684 |
+
"100341": {
|
| 685 |
+
"content": "<|unused_72|>",
|
| 686 |
+
"lstrip": false,
|
| 687 |
+
"normalized": false,
|
| 688 |
+
"rstrip": false,
|
| 689 |
+
"single_word": false,
|
| 690 |
+
"special": true
|
| 691 |
+
},
|
| 692 |
+
"100342": {
|
| 693 |
+
"content": "<|unused_73|>",
|
| 694 |
+
"lstrip": false,
|
| 695 |
+
"normalized": false,
|
| 696 |
+
"rstrip": false,
|
| 697 |
+
"single_word": false,
|
| 698 |
+
"special": true
|
| 699 |
+
},
|
| 700 |
+
"100343": {
|
| 701 |
+
"content": "<|unused_74|>",
|
| 702 |
+
"lstrip": false,
|
| 703 |
+
"normalized": false,
|
| 704 |
+
"rstrip": false,
|
| 705 |
+
"single_word": false,
|
| 706 |
+
"special": true
|
| 707 |
+
},
|
| 708 |
+
"100344": {
|
| 709 |
+
"content": "<|unused_75|>",
|
| 710 |
+
"lstrip": false,
|
| 711 |
+
"normalized": false,
|
| 712 |
+
"rstrip": false,
|
| 713 |
+
"single_word": false,
|
| 714 |
+
"special": true
|
| 715 |
+
},
|
| 716 |
+
"100345": {
|
| 717 |
+
"content": "<|unused_76|>",
|
| 718 |
+
"lstrip": false,
|
| 719 |
+
"normalized": false,
|
| 720 |
+
"rstrip": false,
|
| 721 |
+
"single_word": false,
|
| 722 |
+
"special": true
|
| 723 |
+
},
|
| 724 |
+
"100346": {
|
| 725 |
+
"content": "<|unused_77|>",
|
| 726 |
+
"lstrip": false,
|
| 727 |
+
"normalized": false,
|
| 728 |
+
"rstrip": false,
|
| 729 |
+
"single_word": false,
|
| 730 |
+
"special": true
|
| 731 |
+
},
|
| 732 |
+
"100347": {
|
| 733 |
+
"content": "<|unused_78|>",
|
| 734 |
+
"lstrip": false,
|
| 735 |
+
"normalized": false,
|
| 736 |
+
"rstrip": false,
|
| 737 |
+
"single_word": false,
|
| 738 |
+
"special": true
|
| 739 |
+
},
|
| 740 |
+
"100348": {
|
| 741 |
+
"content": "<|unused_79|>",
|
| 742 |
+
"lstrip": false,
|
| 743 |
+
"normalized": false,
|
| 744 |
+
"rstrip": false,
|
| 745 |
+
"single_word": false,
|
| 746 |
+
"special": true
|
| 747 |
+
},
|
| 748 |
+
"100349": {
|
| 749 |
+
"content": "<|unused_80|>",
|
| 750 |
+
"lstrip": false,
|
| 751 |
+
"normalized": false,
|
| 752 |
+
"rstrip": false,
|
| 753 |
+
"single_word": false,
|
| 754 |
+
"special": true
|
| 755 |
+
},
|
| 756 |
+
"100350": {
|
| 757 |
+
"content": "<|unused_81|>",
|
| 758 |
+
"lstrip": false,
|
| 759 |
+
"normalized": false,
|
| 760 |
+
"rstrip": false,
|
| 761 |
+
"single_word": false,
|
| 762 |
+
"special": true
|
| 763 |
+
},
|
| 764 |
+
"100351": {
|
| 765 |
+
"content": "<|unused_82|>",
|
| 766 |
+
"lstrip": false,
|
| 767 |
+
"normalized": false,
|
| 768 |
+
"rstrip": false,
|
| 769 |
+
"single_word": false,
|
| 770 |
+
"special": true
|
| 771 |
+
}
|
| 772 |
+
},
|
| 773 |
+
"backend": "tokenizers",
|
| 774 |
+
"bos_token": "<s>",
|
| 775 |
+
"clean_up_tokenization_spaces": false,
|
| 776 |
+
"eos_token": "<|im_end|>",
|
| 777 |
+
"errors": "replace",
|
| 778 |
+
"extra_special_tokens": {},
|
| 779 |
+
"is_local": true,
|
| 780 |
+
"model_max_length": 1000000000000000019884624838656,
|
| 781 |
+
"pad_token": "<|im_end|>",
|
| 782 |
+
"padding_side": "left",
|
| 783 |
+
"tokenizer_class": "GPT2Tokenizer",
|
| 784 |
+
"unk_token": "<unk>"
|
| 785 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|