Instructions to use VoiceScribe/voicescribe-corrector with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use VoiceScribe/voicescribe-corrector with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="VoiceScribe/voicescribe-corrector") messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# Load model directly from transformers import AutoTokenizer, AutoModelForCausalLM tokenizer = AutoTokenizer.from_pretrained("VoiceScribe/voicescribe-corrector") model = AutoModelForCausalLM.from_pretrained("VoiceScribe/voicescribe-corrector") messages = [ {"role": "user", "content": "Who are you?"}, ] inputs = tokenizer.apply_chat_template( messages, add_generation_prompt=True, tokenize=True, return_dict=True, return_tensors="pt", ).to(model.device) outputs = model.generate(**inputs, max_new_tokens=40) print(tokenizer.decode(outputs[0][inputs["input_ids"].shape[-1]:])) - Notebooks
- Google Colab
- Kaggle
- Local Apps
- vLLM
How to use VoiceScribe/voicescribe-corrector with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "VoiceScribe/voicescribe-corrector" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VoiceScribe/voicescribe-corrector", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/VoiceScribe/voicescribe-corrector
- SGLang
How to use VoiceScribe/voicescribe-corrector with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "VoiceScribe/voicescribe-corrector" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VoiceScribe/voicescribe-corrector", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "VoiceScribe/voicescribe-corrector" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "VoiceScribe/voicescribe-corrector", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use VoiceScribe/voicescribe-corrector with Docker Model Runner:
docker model run hf.co/VoiceScribe/voicescribe-corrector
Voice Scribe mirror corrector from anubhav200/Qwen3-4B-Instruct-2507-openvino-int4@ea34b26c6e5f
Browse files- .gitattributes +1 -0
- README.md +239 -0
- UPSTREAM_SOURCE.md +53 -0
- added_tokens.json +28 -0
- chat_template.jinja +61 -0
- config.json +68 -0
- generation_config.json +13 -0
- graph.pbtxt +37 -0
- merges.txt +0 -0
- openvino_detokenizer.bin +3 -0
- openvino_detokenizer.xml +220 -0
- openvino_model.bin +3 -0
- openvino_model.xml +0 -0
- openvino_tokenizer.bin +3 -0
- openvino_tokenizer.xml +771 -0
- special_tokens_map.json +31 -0
- tokenizer.json +3 -0
- tokenizer_config.json +239 -0
- vocab.json +0 -0
- voicescribe-model-layout.json +36 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
tokenizer.json filter=lfs diff=lfs merge=lfs -text
|
README.md
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: transformers
|
| 3 |
+
license: apache-2.0
|
| 4 |
+
license_link: https://huggingface.co/Qwen/Qwen3-4B-Instruct-2507/blob/main/LICENSE
|
| 5 |
+
pipeline_tag: text-generation
|
| 6 |
+
---
|
| 7 |
+
|
| 8 |
+
# OpenVino Supported Model
|
| 9 |
+
|
| 10 |
+
- *Supports*: NPU, GPU, CPU
|
| 11 |
+
- *INT4*: True
|
| 12 |
+
- *Sym*: True
|
| 13 |
+
|
| 14 |
+
# Performance
|
| 15 |
+
- Token Generation performance is b/w 8 to 16 Tokens per second on Intel 13 TOPS NPU. (Please make sure you have installed the latest NPU drivers from Intel, else performance won't be good.)
|
| 16 |
+
|
| 17 |
+
|
| 18 |
+
## Instructions
|
| 19 |
+
|
| 20 |
+
1. Make sure you have downloaded and install the latest NPU driver: https://www.intel.com/content/www/us/en/download/794734/871766/intel-npu-driver-windows.html. I am on version 32.0.100.4514.
|
| 21 |
+
2. Create a folder where you would put all the openvino models, we will call it has root_folder.
|
| 22 |
+
3. Download and Install OVMS if not already installed. Follow the instructions here to install OVMS: `https://docs.openvino.ai/2025/model-server/ovms_docs_deploying_server_baremetal.html`
|
| 23 |
+
5. Start the model using this command, it would auto download the model and save it in the root_folder that you have provided.
|
| 24 |
+
|
| 25 |
+
Example Command: (with root_folder C:\projects\vino-models)
|
| 26 |
+
```
|
| 27 |
+
ovms.exe --source_model "anubhav200/Qwen3-4B-Instruct-2507-openvino-int4" --model_repository_path C:\projects\vino-models --rest_port 8000 --task text_generation --target_device NPU --cache_size 2 --max_prompt_len 4096
|
| 28 |
+
```
|
| 29 |
+
Command Vars:
|
| 30 |
+
```
|
| 31 |
+
ovms.exe --source_model "<model name>" --model_repository_path <root_folder path> --rest_port 8000 --task text_generation --target_device NPU --cache_size 2 --max_prompt_len <N tokens>
|
| 32 |
+
```
|
| 33 |
+
|
| 34 |
+
|
| 35 |
+
|
| 36 |
+
# Qwen3-4B-Instruct-2507
|
| 37 |
+
<a href="https://chat.qwen.ai" target="_blank" style="margin: 2px;">
|
| 38 |
+
<img alt="Chat" src="https://img.shields.io/badge/%F0%9F%92%9C%EF%B8%8F%20Qwen%20Chat%20-536af5" style="display: inline-block; vertical-align: middle;"/>
|
| 39 |
+
</a>
|
| 40 |
+
|
| 41 |
+
## Highlights
|
| 42 |
+
|
| 43 |
+
We introduce the updated version of the **Qwen3-4B non-thinking mode**, named **Qwen3-4B-Instruct-2507**, featuring the following key enhancements:
|
| 44 |
+
|
| 45 |
+
- **Significant improvements** in general capabilities, including **instruction following, logical reasoning, text comprehension, mathematics, science, coding and tool usage**.
|
| 46 |
+
- **Substantial gains** in long-tail knowledge coverage across **multiple languages**.
|
| 47 |
+
- **Markedly better alignment** with user preferences in **subjective and open-ended tasks**, enabling more helpful responses and higher-quality text generation.
|
| 48 |
+
- **Enhanced capabilities** in **256K long-context understanding**.
|
| 49 |
+
|
| 50 |
+

|
| 51 |
+
|
| 52 |
+
## Model Overview
|
| 53 |
+
|
| 54 |
+
**Qwen3-4B-Instruct-2507** has the following features:
|
| 55 |
+
- Type: Causal Language Models
|
| 56 |
+
- Training Stage: Pretraining & Post-training
|
| 57 |
+
- Number of Parameters: 4.0B
|
| 58 |
+
- Number of Paramaters (Non-Embedding): 3.6B
|
| 59 |
+
- Number of Layers: 36
|
| 60 |
+
- Number of Attention Heads (GQA): 32 for Q and 8 for KV
|
| 61 |
+
- Context Length: **262,144 natively**.
|
| 62 |
+
|
| 63 |
+
**NOTE: This model supports only non-thinking mode and does not generate ``<think></think>`` blocks in its output. Meanwhile, specifying `enable_thinking=False` is no longer required.**
|
| 64 |
+
|
| 65 |
+
For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our [blog](https://qwenlm.github.io/blog/qwen3/), [GitHub](https://github.com/QwenLM/Qwen3), and [Documentation](https://qwen.readthedocs.io/en/latest/).
|
| 66 |
+
|
| 67 |
+
|
| 68 |
+
## Performance
|
| 69 |
+
|
| 70 |
+
| | GPT-4.1-nano-2025-04-14 | Qwen3-30B-A3B Non-Thinking | Qwen3-4B Non-Thinking | Qwen3-4B-Instruct-2507 |
|
| 71 |
+
|--- | --- | --- | --- | --- |
|
| 72 |
+
| **Knowledge** | | | |
|
| 73 |
+
| MMLU-Pro | 62.8 | 69.1 | 58.0 | **69.6** |
|
| 74 |
+
| MMLU-Redux | 80.2 | 84.1 | 77.3 | **84.2** |
|
| 75 |
+
| GPQA | 50.3 | 54.8 | 41.7 | **62.0** |
|
| 76 |
+
| SuperGPQA | 32.2 | 42.2 | 32.0 | **42.8** |
|
| 77 |
+
| **Reasoning** | | | |
|
| 78 |
+
| AIME25 | 22.7 | 21.6 | 19.1 | **47.4** |
|
| 79 |
+
| HMMT25 | 9.7 | 12.0 | 12.1 | **31.0** |
|
| 80 |
+
| ZebraLogic | 14.8 | 33.2 | 35.2 | **80.2** |
|
| 81 |
+
| LiveBench 20241125 | 41.5 | 59.4 | 48.4 | **63.0** |
|
| 82 |
+
| **Coding** | | | |
|
| 83 |
+
| LiveCodeBench v6 (25.02-25.05) | 31.5 | 29.0 | 26.4 | **35.1** |
|
| 84 |
+
| MultiPL-E | 76.3 | 74.6 | 66.6 | **76.8** |
|
| 85 |
+
| Aider-Polyglot | 9.8 | **24.4** | 13.8 | 12.9 |
|
| 86 |
+
| **Alignment** | | | |
|
| 87 |
+
| IFEval | 74.5 | **83.7** | 81.2 | 83.4 |
|
| 88 |
+
| Arena-Hard v2* | 15.9 | 24.8 | 9.5 | **43.4** |
|
| 89 |
+
| Creative Writing v3 | 72.7 | 68.1 | 53.6 | **83.5** |
|
| 90 |
+
| WritingBench | 66.9 | 72.2 | 68.5 | **83.4** |
|
| 91 |
+
| **Agent** | | | |
|
| 92 |
+
| BFCL-v3 | 53.0 | 58.6 | 57.6 | **61.9** |
|
| 93 |
+
| TAU1-Retail | 23.5 | 38.3 | 24.3 | **48.7** |
|
| 94 |
+
| TAU1-Airline | 14.0 | 18.0 | 16.0 | **32.0** |
|
| 95 |
+
| TAU2-Retail | - | 31.6 | 28.1 | **40.4** |
|
| 96 |
+
| TAU2-Airline | - | 18.0 | 12.0 | **24.0** |
|
| 97 |
+
| TAU2-Telecom | - | **18.4** | 17.5 | 13.2 |
|
| 98 |
+
| **Multilingualism** | | | |
|
| 99 |
+
| MultiIF | 60.7 | **70.8** | 61.3 | 69.0 |
|
| 100 |
+
| MMLU-ProX | 56.2 | **65.1** | 49.6 | 61.6 |
|
| 101 |
+
| INCLUDE | 58.6 | **67.8** | 53.8 | 60.1 |
|
| 102 |
+
| PolyMATH | 15.6 | 23.3 | 16.6 | **31.1** |
|
| 103 |
+
|
| 104 |
+
*: For reproducibility, we report the win rates evaluated by GPT-4.1.
|
| 105 |
+
|
| 106 |
+
|
| 107 |
+
## Quickstart
|
| 108 |
+
|
| 109 |
+
The code of Qwen3 has been in the latest Hugging Face `transformers` and we advise you to use the latest version of `transformers`.
|
| 110 |
+
|
| 111 |
+
With `transformers<4.51.0`, you will encounter the following error:
|
| 112 |
+
```
|
| 113 |
+
KeyError: 'qwen3'
|
| 114 |
+
```
|
| 115 |
+
|
| 116 |
+
The following contains a code snippet illustrating how to use the model generate content based on given inputs.
|
| 117 |
+
```python
|
| 118 |
+
from transformers import AutoModelForCausalLM, AutoTokenizer
|
| 119 |
+
|
| 120 |
+
model_name = "Qwen/Qwen3-4B-Instruct-2507"
|
| 121 |
+
|
| 122 |
+
# load the tokenizer and the model
|
| 123 |
+
tokenizer = AutoTokenizer.from_pretrained(model_name)
|
| 124 |
+
model = AutoModelForCausalLM.from_pretrained(
|
| 125 |
+
model_name,
|
| 126 |
+
torch_dtype="auto",
|
| 127 |
+
device_map="auto"
|
| 128 |
+
)
|
| 129 |
+
|
| 130 |
+
# prepare the model input
|
| 131 |
+
prompt = "Give me a short introduction to large language model."
|
| 132 |
+
messages = [
|
| 133 |
+
{"role": "user", "content": prompt}
|
| 134 |
+
]
|
| 135 |
+
text = tokenizer.apply_chat_template(
|
| 136 |
+
messages,
|
| 137 |
+
tokenize=False,
|
| 138 |
+
add_generation_prompt=True,
|
| 139 |
+
)
|
| 140 |
+
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)
|
| 141 |
+
|
| 142 |
+
# conduct text completion
|
| 143 |
+
generated_ids = model.generate(
|
| 144 |
+
**model_inputs,
|
| 145 |
+
max_new_tokens=16384
|
| 146 |
+
)
|
| 147 |
+
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()
|
| 148 |
+
|
| 149 |
+
content = tokenizer.decode(output_ids, skip_special_tokens=True)
|
| 150 |
+
|
| 151 |
+
print("content:", content)
|
| 152 |
+
```
|
| 153 |
+
|
| 154 |
+
For deployment, you can use `sglang>=0.4.6.post1` or `vllm>=0.8.5` or to create an OpenAI-compatible API endpoint:
|
| 155 |
+
- SGLang:
|
| 156 |
+
```shell
|
| 157 |
+
python -m sglang.launch_server --model-path Qwen/Qwen3-4B-Instruct-2507 --context-length 262144
|
| 158 |
+
```
|
| 159 |
+
- vLLM:
|
| 160 |
+
```shell
|
| 161 |
+
vllm serve Qwen/Qwen3-4B-Instruct-2507 --max-model-len 262144
|
| 162 |
+
```
|
| 163 |
+
|
| 164 |
+
**Note: If you encounter out-of-memory (OOM) issues, consider reducing the context length to a shorter value, such as `32,768`.**
|
| 165 |
+
|
| 166 |
+
For local use, applications such as Ollama, LMStudio, MLX-LM, llama.cpp, and KTransformers have also supported Qwen3.
|
| 167 |
+
|
| 168 |
+
## Agentic Use
|
| 169 |
+
|
| 170 |
+
Qwen3 excels in tool calling capabilities. We recommend using [Qwen-Agent](https://github.com/QwenLM/Qwen-Agent) to make the best use of agentic ability of Qwen3. Qwen-Agent encapsulates tool-calling templates and tool-calling parsers internally, greatly reducing coding complexity.
|
| 171 |
+
|
| 172 |
+
To define the available tools, you can use the MCP configuration file, use the integrated tool of Qwen-Agent, or integrate other tools by yourself.
|
| 173 |
+
```python
|
| 174 |
+
from qwen_agent.agents import Assistant
|
| 175 |
+
|
| 176 |
+
# Define LLM
|
| 177 |
+
llm_cfg = {
|
| 178 |
+
'model': 'Qwen3-4B-Instruct-2507',
|
| 179 |
+
|
| 180 |
+
# Use a custom endpoint compatible with OpenAI API:
|
| 181 |
+
'model_server': 'http://localhost:8000/v1', # api_base
|
| 182 |
+
'api_key': 'EMPTY',
|
| 183 |
+
}
|
| 184 |
+
|
| 185 |
+
# Define Tools
|
| 186 |
+
tools = [
|
| 187 |
+
{'mcpServers': { # You can specify the MCP configuration file
|
| 188 |
+
'time': {
|
| 189 |
+
'command': 'uvx',
|
| 190 |
+
'args': ['mcp-server-time', '--local-timezone=Asia/Shanghai']
|
| 191 |
+
},
|
| 192 |
+
"fetch": {
|
| 193 |
+
"command": "uvx",
|
| 194 |
+
"args": ["mcp-server-fetch"]
|
| 195 |
+
}
|
| 196 |
+
}
|
| 197 |
+
},
|
| 198 |
+
'code_interpreter', # Built-in tools
|
| 199 |
+
]
|
| 200 |
+
|
| 201 |
+
# Define Agent
|
| 202 |
+
bot = Assistant(llm=llm_cfg, function_list=tools)
|
| 203 |
+
|
| 204 |
+
# Streaming generation
|
| 205 |
+
messages = [{'role': 'user', 'content': 'https://qwenlm.github.io/blog/ Introduce the latest developments of Qwen'}]
|
| 206 |
+
for responses in bot.run(messages=messages):
|
| 207 |
+
pass
|
| 208 |
+
print(responses)
|
| 209 |
+
```
|
| 210 |
+
|
| 211 |
+
## Best Practices
|
| 212 |
+
|
| 213 |
+
To achieve optimal performance, we recommend the following settings:
|
| 214 |
+
|
| 215 |
+
1. **Sampling Parameters**:
|
| 216 |
+
- We suggest using `Temperature=0.7`, `TopP=0.8`, `TopK=20`, and `MinP=0`.
|
| 217 |
+
- For supported frameworks, you can adjust the `presence_penalty` parameter between 0 and 2 to reduce endless repetitions. However, using a higher value may occasionally result in language mixing and a slight decrease in model performance.
|
| 218 |
+
|
| 219 |
+
2. **Adequate Output Length**: We recommend using an output length of 16,384 tokens for most queries, which is adequate for instruct models.
|
| 220 |
+
|
| 221 |
+
3. **Standardize Output Format**: We recommend using prompts to standardize model outputs when benchmarking.
|
| 222 |
+
- **Math Problems**: Include "Please reason step by step, and put your final answer within \boxed{}." in the prompt.
|
| 223 |
+
- **Multiple-Choice Questions**: Add the following JSON structure to the prompt to standardize responses: "Please show your choice in the `answer` field with only the choice letter, e.g., `"answer": "C"`."
|
| 224 |
+
|
| 225 |
+
### Citation
|
| 226 |
+
|
| 227 |
+
If you find our work helpful, feel free to give us a cite.
|
| 228 |
+
|
| 229 |
+
```
|
| 230 |
+
@misc{qwen3technicalreport,
|
| 231 |
+
title={Qwen3 Technical Report},
|
| 232 |
+
author={Qwen Team},
|
| 233 |
+
year={2025},
|
| 234 |
+
eprint={2505.09388},
|
| 235 |
+
archivePrefix={arXiv},
|
| 236 |
+
primaryClass={cs.CL},
|
| 237 |
+
url={https://arxiv.org/abs/2505.09388},
|
| 238 |
+
}
|
| 239 |
+
```
|
UPSTREAM_SOURCE.md
ADDED
|
@@ -0,0 +1,53 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Voice Scribe Model Mirror
|
| 2 |
+
|
| 3 |
+
This repository is a Voice Scribe distribution mirror. The model artifacts are
|
| 4 |
+
copied from the upstream repository and the source revision below is pinned.
|
| 5 |
+
|
| 6 |
+
| Field | Value |
|
| 7 |
+
| --- | --- |
|
| 8 |
+
| Layout key | `corrector` |
|
| 9 |
+
| Target directory in installer | `qwen3-4b-instruct-2507-ov` |
|
| 10 |
+
| Upstream repo | `anubhav200/Qwen3-4B-Instruct-2507-openvino-int4` |
|
| 11 |
+
| Upstream revision | `ea34b26c6e5f3babeb3eef61e5abb3da50f0f075` |
|
| 12 |
+
| Upstream resolved SHA | `ea34b26c6e5f3babeb3eef61e5abb3da50f0f075` |
|
| 13 |
+
| Mirror created | `2026-04-23T22:23:39Z` |
|
| 14 |
+
| Description | Qwen3-4B Instruct 2507 OpenVINO INT4 corrector layout. |
|
| 15 |
+
| License metadata | `{"license": "apache-2.0", "license_files": [], "license_tags": ["license:apache-2.0"]}` |
|
| 16 |
+
|
| 17 |
+
## Installer Contract
|
| 18 |
+
|
| 19 |
+
This mirror corresponds to `parakeet/installer/wrapper/model_catalog.py`.
|
| 20 |
+
Required files for installer validation:
|
| 21 |
+
|
| 22 |
+
```json
|
| 23 |
+
[
|
| 24 |
+
"config.json",
|
| 25 |
+
"generation_config.json",
|
| 26 |
+
"chat_template.jinja",
|
| 27 |
+
"added_tokens.json",
|
| 28 |
+
"merges.txt",
|
| 29 |
+
"special_tokens_map.json",
|
| 30 |
+
"tokenizer.json",
|
| 31 |
+
"tokenizer_config.json",
|
| 32 |
+
"vocab.json",
|
| 33 |
+
"graph.pbtxt",
|
| 34 |
+
"openvino_model.xml",
|
| 35 |
+
"openvino_model.bin",
|
| 36 |
+
"openvino_tokenizer.xml",
|
| 37 |
+
"openvino_tokenizer.bin",
|
| 38 |
+
"openvino_detokenizer.xml",
|
| 39 |
+
"openvino_detokenizer.bin"
|
| 40 |
+
]
|
| 41 |
+
```
|
| 42 |
+
|
| 43 |
+
Allowed installer subset patterns:
|
| 44 |
+
|
| 45 |
+
```json
|
| 46 |
+
[]
|
| 47 |
+
```
|
| 48 |
+
|
| 49 |
+
## Redistribution Note
|
| 50 |
+
|
| 51 |
+
Do not make this repository public unless the upstream license and model card
|
| 52 |
+
allow redistribution for the intended use. Private mirrors are for operational
|
| 53 |
+
distribution convenience and reproducible installs.
|
added_tokens.json
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"</think>": 151668,
|
| 3 |
+
"</tool_call>": 151658,
|
| 4 |
+
"</tool_response>": 151666,
|
| 5 |
+
"<think>": 151667,
|
| 6 |
+
"<tool_call>": 151657,
|
| 7 |
+
"<tool_response>": 151665,
|
| 8 |
+
"<|box_end|>": 151649,
|
| 9 |
+
"<|box_start|>": 151648,
|
| 10 |
+
"<|endoftext|>": 151643,
|
| 11 |
+
"<|file_sep|>": 151664,
|
| 12 |
+
"<|fim_middle|>": 151660,
|
| 13 |
+
"<|fim_pad|>": 151662,
|
| 14 |
+
"<|fim_prefix|>": 151659,
|
| 15 |
+
"<|fim_suffix|>": 151661,
|
| 16 |
+
"<|im_end|>": 151645,
|
| 17 |
+
"<|im_start|>": 151644,
|
| 18 |
+
"<|image_pad|>": 151655,
|
| 19 |
+
"<|object_ref_end|>": 151647,
|
| 20 |
+
"<|object_ref_start|>": 151646,
|
| 21 |
+
"<|quad_end|>": 151651,
|
| 22 |
+
"<|quad_start|>": 151650,
|
| 23 |
+
"<|repo_name|>": 151663,
|
| 24 |
+
"<|video_pad|>": 151656,
|
| 25 |
+
"<|vision_end|>": 151653,
|
| 26 |
+
"<|vision_pad|>": 151654,
|
| 27 |
+
"<|vision_start|>": 151652
|
| 28 |
+
}
|
chat_template.jinja
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{%- if tools %}
|
| 2 |
+
{{- '<|im_start|>system\n' }}
|
| 3 |
+
{%- if messages[0].role == 'system' %}
|
| 4 |
+
{{- messages[0].content + '\n\n' }}
|
| 5 |
+
{%- endif %}
|
| 6 |
+
{{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }}
|
| 7 |
+
{%- for tool in tools %}
|
| 8 |
+
{{- "\n" }}
|
| 9 |
+
{{- tool | tojson }}
|
| 10 |
+
{%- endfor %}
|
| 11 |
+
{{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }}
|
| 12 |
+
{%- else %}
|
| 13 |
+
{%- if messages[0].role == 'system' %}
|
| 14 |
+
{{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }}
|
| 15 |
+
{%- endif %}
|
| 16 |
+
{%- endif %}
|
| 17 |
+
{%- for message in messages %}
|
| 18 |
+
{%- if message.content is string %}
|
| 19 |
+
{%- set content = message.content %}
|
| 20 |
+
{%- else %}
|
| 21 |
+
{%- set content = '' %}
|
| 22 |
+
{%- endif %}
|
| 23 |
+
{%- if (message.role == "user") or (message.role == "system" and not loop.first) %}
|
| 24 |
+
{{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }}
|
| 25 |
+
{%- elif message.role == "assistant" %}
|
| 26 |
+
{{- '<|im_start|>' + message.role + '\n' + content }}
|
| 27 |
+
{%- if message.tool_calls %}
|
| 28 |
+
{%- for tool_call in message.tool_calls %}
|
| 29 |
+
{%- if (loop.first and content) or (not loop.first) %}
|
| 30 |
+
{{- '\n' }}
|
| 31 |
+
{%- endif %}
|
| 32 |
+
{%- if tool_call.function %}
|
| 33 |
+
{%- set tool_call = tool_call.function %}
|
| 34 |
+
{%- endif %}
|
| 35 |
+
{{- '<tool_call>\n{"name": "' }}
|
| 36 |
+
{{- tool_call.name }}
|
| 37 |
+
{{- '", "arguments": ' }}
|
| 38 |
+
{%- if tool_call.arguments is string %}
|
| 39 |
+
{{- tool_call.arguments }}
|
| 40 |
+
{%- else %}
|
| 41 |
+
{{- tool_call.arguments | tojson }}
|
| 42 |
+
{%- endif %}
|
| 43 |
+
{{- '}\n</tool_call>' }}
|
| 44 |
+
{%- endfor %}
|
| 45 |
+
{%- endif %}
|
| 46 |
+
{{- '<|im_end|>\n' }}
|
| 47 |
+
{%- elif message.role == "tool" %}
|
| 48 |
+
{%- if loop.first or (messages[loop.index0 - 1].role != "tool") %}
|
| 49 |
+
{{- '<|im_start|>user' }}
|
| 50 |
+
{%- endif %}
|
| 51 |
+
{{- '\n<tool_response>\n' }}
|
| 52 |
+
{{- content }}
|
| 53 |
+
{{- '\n</tool_response>' }}
|
| 54 |
+
{%- if loop.last or (messages[loop.index0 + 1].role != "tool") %}
|
| 55 |
+
{{- '<|im_end|>\n' }}
|
| 56 |
+
{%- endif %}
|
| 57 |
+
{%- endif %}
|
| 58 |
+
{%- endfor %}
|
| 59 |
+
{%- if add_generation_prompt %}
|
| 60 |
+
{{- '<|im_start|>assistant\n' }}
|
| 61 |
+
{%- endif %}
|
config.json
ADDED
|
@@ -0,0 +1,68 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"Qwen3ForCausalLM"
|
| 4 |
+
],
|
| 5 |
+
"attention_bias": false,
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 151643,
|
| 8 |
+
"eos_token_id": 151645,
|
| 9 |
+
"head_dim": 128,
|
| 10 |
+
"hidden_act": "silu",
|
| 11 |
+
"hidden_size": 2560,
|
| 12 |
+
"initializer_range": 0.02,
|
| 13 |
+
"intermediate_size": 9728,
|
| 14 |
+
"layer_types": [
|
| 15 |
+
"full_attention",
|
| 16 |
+
"full_attention",
|
| 17 |
+
"full_attention",
|
| 18 |
+
"full_attention",
|
| 19 |
+
"full_attention",
|
| 20 |
+
"full_attention",
|
| 21 |
+
"full_attention",
|
| 22 |
+
"full_attention",
|
| 23 |
+
"full_attention",
|
| 24 |
+
"full_attention",
|
| 25 |
+
"full_attention",
|
| 26 |
+
"full_attention",
|
| 27 |
+
"full_attention",
|
| 28 |
+
"full_attention",
|
| 29 |
+
"full_attention",
|
| 30 |
+
"full_attention",
|
| 31 |
+
"full_attention",
|
| 32 |
+
"full_attention",
|
| 33 |
+
"full_attention",
|
| 34 |
+
"full_attention",
|
| 35 |
+
"full_attention",
|
| 36 |
+
"full_attention",
|
| 37 |
+
"full_attention",
|
| 38 |
+
"full_attention",
|
| 39 |
+
"full_attention",
|
| 40 |
+
"full_attention",
|
| 41 |
+
"full_attention",
|
| 42 |
+
"full_attention",
|
| 43 |
+
"full_attention",
|
| 44 |
+
"full_attention",
|
| 45 |
+
"full_attention",
|
| 46 |
+
"full_attention",
|
| 47 |
+
"full_attention",
|
| 48 |
+
"full_attention",
|
| 49 |
+
"full_attention",
|
| 50 |
+
"full_attention"
|
| 51 |
+
],
|
| 52 |
+
"max_position_embeddings": 262144,
|
| 53 |
+
"max_window_layers": 36,
|
| 54 |
+
"model_type": "qwen3",
|
| 55 |
+
"num_attention_heads": 32,
|
| 56 |
+
"num_hidden_layers": 36,
|
| 57 |
+
"num_key_value_heads": 8,
|
| 58 |
+
"rms_norm_eps": 1e-06,
|
| 59 |
+
"rope_scaling": null,
|
| 60 |
+
"rope_theta": 5000000,
|
| 61 |
+
"sliding_window": null,
|
| 62 |
+
"tie_word_embeddings": true,
|
| 63 |
+
"torch_dtype": "bfloat16",
|
| 64 |
+
"transformers_version": "4.53.0",
|
| 65 |
+
"use_cache": true,
|
| 66 |
+
"use_sliding_window": false,
|
| 67 |
+
"vocab_size": 151936
|
| 68 |
+
}
|
generation_config.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"bos_token_id": 151643,
|
| 3 |
+
"do_sample": true,
|
| 4 |
+
"eos_token_id": [
|
| 5 |
+
151645,
|
| 6 |
+
151643
|
| 7 |
+
],
|
| 8 |
+
"pad_token_id": 151643,
|
| 9 |
+
"temperature": 0.7,
|
| 10 |
+
"top_k": 20,
|
| 11 |
+
"top_p": 0.8,
|
| 12 |
+
"transformers_version": "4.53.0"
|
| 13 |
+
}
|
graph.pbtxt
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# File created with: OpenVINO Model Server 2025.4.0.8db21b81
|
| 2 |
+
|
| 3 |
+
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 4 |
+
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 5 |
+
node: {
|
| 6 |
+
name: "LLMExecutor"
|
| 7 |
+
calculator: "HttpLLMCalculator"
|
| 8 |
+
input_stream: "LOOPBACK:loopback"
|
| 9 |
+
input_stream: "HTTP_REQUEST_PAYLOAD:input"
|
| 10 |
+
input_side_packet: "LLM_NODE_RESOURCES:llm"
|
| 11 |
+
output_stream: "LOOPBACK:loopback"
|
| 12 |
+
output_stream: "HTTP_RESPONSE_PAYLOAD:output"
|
| 13 |
+
input_stream_info: {
|
| 14 |
+
tag_index: 'LOOPBACK:0',
|
| 15 |
+
back_edge: true
|
| 16 |
+
}
|
| 17 |
+
node_options: {
|
| 18 |
+
[type.googleapis.com / mediapipe.LLMCalculatorOptions]: {
|
| 19 |
+
max_num_seqs:256,
|
| 20 |
+
device: "NPU",
|
| 21 |
+
models_path: "./",
|
| 22 |
+
plugin_config: '{"NPUW_LLM_ENABLE_PREFIX_CACHING":true}',
|
| 23 |
+
enable_prefix_caching: true,
|
| 24 |
+
cache_size: 2,
|
| 25 |
+
}
|
| 26 |
+
}
|
| 27 |
+
input_stream_handler {
|
| 28 |
+
input_stream_handler: "SyncSetInputStreamHandler",
|
| 29 |
+
options {
|
| 30 |
+
[mediapipe.SyncSetInputStreamHandlerOptions.ext] {
|
| 31 |
+
sync_set {
|
| 32 |
+
tag_index: "LOOPBACK:0"
|
| 33 |
+
}
|
| 34 |
+
}
|
| 35 |
+
}
|
| 36 |
+
}
|
| 37 |
+
}
|
merges.txt
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openvino_detokenizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d73093f72c80ebcaffb76a192727170ecd3c6a06c4df52df0e76b3f70ad9d7f7
|
| 3 |
+
size 2189717
|
openvino_detokenizer.xml
ADDED
|
@@ -0,0 +1,220 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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parameter" version="opset1">
|
| 5 |
+
<data shape="?,?" element_type="i64" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="I64" names="Parameter_122293">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
<dim>-1</dim>
|
| 10 |
+
</port>
|
| 11 |
+
</output>
|
| 12 |
+
</layer>
|
| 13 |
+
<layer id="1" name="Convert_122492" type="Convert" version="opset1">
|
| 14 |
+
<data destination_type="i32" />
|
| 15 |
+
<input>
|
| 16 |
+
<port id="0" precision="I64">
|
| 17 |
+
<dim>-1</dim>
|
| 18 |
+
<dim>-1</dim>
|
| 19 |
+
</port>
|
| 20 |
+
</input>
|
| 21 |
+
<output>
|
| 22 |
+
<port id="1" precision="I32">
|
| 23 |
+
<dim>-1</dim>
|
| 24 |
+
<dim>-1</dim>
|
| 25 |
+
</port>
|
| 26 |
+
</output>
|
| 27 |
+
</layer>
|
| 28 |
+
<layer id="2" name="Constant_122295" type="Const" version="opset1">
|
| 29 |
+
<data element_type="i32" shape="151669" offset="0" size="606676" />
|
| 30 |
+
<output>
|
| 31 |
+
<port id="0" precision="I32">
|
| 32 |
+
<dim>151669</dim>
|
| 33 |
+
</port>
|
| 34 |
+
</output>
|
| 35 |
+
</layer>
|
| 36 |
+
<layer id="3" name="Constant_122297" type="Const" version="opset1">
|
| 37 |
+
<data element_type="i32" shape="151669" offset="606676" size="606676" />
|
| 38 |
+
<output>
|
| 39 |
+
<port id="0" precision="I32">
|
| 40 |
+
<dim>151669</dim>
|
| 41 |
+
</port>
|
| 42 |
+
</output>
|
| 43 |
+
</layer>
|
| 44 |
+
<layer id="4" name="Constant_122299" type="Const" version="opset1">
|
| 45 |
+
<data element_type="u8" shape="976309" offset="1213352" size="976309" />
|
| 46 |
+
<output>
|
| 47 |
+
<port id="0" precision="U8">
|
| 48 |
+
<dim>976309</dim>
|
| 49 |
+
</port>
|
| 50 |
+
</output>
|
| 51 |
+
</layer>
|
| 52 |
+
<layer id="5" name="Slice_122304" type="Const" version="opset1">
|
| 53 |
+
<data element_type="i32" shape="14" offset="2189661" size="56" />
|
| 54 |
+
<output>
|
| 55 |
+
<port id="0" precision="I32">
|
| 56 |
+
<dim>14</dim>
|
| 57 |
+
</port>
|
| 58 |
+
</output>
|
| 59 |
+
</layer>
|
| 60 |
+
<layer id="6" name="VocabDecoder_122306" type="VocabDecoder" version="extension">
|
| 61 |
+
<data skip_tokens="" />
|
| 62 |
+
<input>
|
| 63 |
+
<port id="0" precision="I32">
|
| 64 |
+
<dim>-1</dim>
|
| 65 |
+
<dim>-1</dim>
|
| 66 |
+
</port>
|
| 67 |
+
<port id="1" precision="I32">
|
| 68 |
+
<dim>151669</dim>
|
| 69 |
+
</port>
|
| 70 |
+
<port id="2" precision="I32">
|
| 71 |
+
<dim>151669</dim>
|
| 72 |
+
</port>
|
| 73 |
+
<port id="3" precision="U8">
|
| 74 |
+
<dim>976309</dim>
|
| 75 |
+
</port>
|
| 76 |
+
<port id="4" precision="I32">
|
| 77 |
+
<dim>14</dim>
|
| 78 |
+
</port>
|
| 79 |
+
</input>
|
| 80 |
+
<output>
|
| 81 |
+
<port id="5" precision="I32">
|
| 82 |
+
<dim>-1</dim>
|
| 83 |
+
</port>
|
| 84 |
+
<port id="6" precision="I32">
|
| 85 |
+
<dim>-1</dim>
|
| 86 |
+
</port>
|
| 87 |
+
<port id="7" precision="I32">
|
| 88 |
+
<dim>-1</dim>
|
| 89 |
+
</port>
|
| 90 |
+
<port id="8" precision="I32">
|
| 91 |
+
<dim>-1</dim>
|
| 92 |
+
</port>
|
| 93 |
+
<port id="9" precision="U8">
|
| 94 |
+
<dim>-1</dim>
|
| 95 |
+
</port>
|
| 96 |
+
</output>
|
| 97 |
+
</layer>
|
| 98 |
+
<layer id="7" name="FuzeRagged_122307" type="FuzeRagged" version="extension">
|
| 99 |
+
<input>
|
| 100 |
+
<port id="0" precision="I32">
|
| 101 |
+
<dim>-1</dim>
|
| 102 |
+
</port>
|
| 103 |
+
<port id="1" precision="I32">
|
| 104 |
+
<dim>-1</dim>
|
| 105 |
+
</port>
|
| 106 |
+
<port id="2" precision="I32">
|
| 107 |
+
<dim>-1</dim>
|
| 108 |
+
</port>
|
| 109 |
+
<port id="3" precision="I32">
|
| 110 |
+
<dim>-1</dim>
|
| 111 |
+
</port>
|
| 112 |
+
</input>
|
| 113 |
+
<output>
|
| 114 |
+
<port id="4" precision="I32">
|
| 115 |
+
<dim>-1</dim>
|
| 116 |
+
</port>
|
| 117 |
+
<port id="5" precision="I32">
|
| 118 |
+
<dim>-1</dim>
|
| 119 |
+
</port>
|
| 120 |
+
</output>
|
| 121 |
+
</layer>
|
| 122 |
+
<layer id="8" name="UTF8Validate_122308" type="UTF8Validate" version="extension">
|
| 123 |
+
<data replace_mode="true" />
|
| 124 |
+
<input>
|
| 125 |
+
<port id="0" precision="I32">
|
| 126 |
+
<dim>-1</dim>
|
| 127 |
+
</port>
|
| 128 |
+
<port id="1" precision="I32">
|
| 129 |
+
<dim>-1</dim>
|
| 130 |
+
</port>
|
| 131 |
+
<port id="2" precision="U8">
|
| 132 |
+
<dim>-1</dim>
|
| 133 |
+
</port>
|
| 134 |
+
</input>
|
| 135 |
+
<output>
|
| 136 |
+
<port id="3" precision="I32">
|
| 137 |
+
<dim>-1</dim>
|
| 138 |
+
</port>
|
| 139 |
+
<port id="4" precision="I32">
|
| 140 |
+
<dim>-1</dim>
|
| 141 |
+
</port>
|
| 142 |
+
<port id="5" precision="U8">
|
| 143 |
+
<dim>-1</dim>
|
| 144 |
+
</port>
|
| 145 |
+
</output>
|
| 146 |
+
</layer>
|
| 147 |
+
<layer id="9" name="StringTensorPack_122309" type="StringTensorPack" version="opset15">
|
| 148 |
+
<input>
|
| 149 |
+
<port id="0" precision="I32">
|
| 150 |
+
<dim>-1</dim>
|
| 151 |
+
</port>
|
| 152 |
+
<port id="1" precision="I32">
|
| 153 |
+
<dim>-1</dim>
|
| 154 |
+
</port>
|
| 155 |
+
<port id="2" precision="U8">
|
| 156 |
+
<dim>-1</dim>
|
| 157 |
+
</port>
|
| 158 |
+
</input>
|
| 159 |
+
<output>
|
| 160 |
+
<port id="3" precision="STRING" names="Result_122310,string_output">
|
| 161 |
+
<dim>-1</dim>
|
| 162 |
+
</port>
|
| 163 |
+
</output>
|
| 164 |
+
</layer>
|
| 165 |
+
<layer id="10" name="Result_122310" type="Result" version="opset1" output_names="Result_122310,string_output">
|
| 166 |
+
<input>
|
| 167 |
+
<port id="0" precision="STRING">
|
| 168 |
+
<dim>-1</dim>
|
| 169 |
+
</port>
|
| 170 |
+
</input>
|
| 171 |
+
</layer>
|
| 172 |
+
</layers>
|
| 173 |
+
<edges>
|
| 174 |
+
<edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
|
| 175 |
+
<edge from-layer="1" from-port="1" to-layer="6" to-port="0" />
|
| 176 |
+
<edge from-layer="2" from-port="0" to-layer="6" to-port="1" />
|
| 177 |
+
<edge from-layer="3" from-port="0" to-layer="6" to-port="2" />
|
| 178 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="3" />
|
| 179 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="4" />
|
| 180 |
+
<edge from-layer="6" from-port="5" to-layer="7" to-port="0" />
|
| 181 |
+
<edge from-layer="6" from-port="6" to-layer="7" to-port="1" />
|
| 182 |
+
<edge from-layer="6" from-port="7" to-layer="7" to-port="2" />
|
| 183 |
+
<edge from-layer="6" from-port="8" to-layer="7" to-port="3" />
|
| 184 |
+
<edge from-layer="6" from-port="9" to-layer="8" to-port="2" />
|
| 185 |
+
<edge from-layer="7" from-port="4" to-layer="8" to-port="0" />
|
| 186 |
+
<edge from-layer="7" from-port="5" to-layer="8" to-port="1" />
|
| 187 |
+
<edge from-layer="8" from-port="3" to-layer="9" to-port="0" />
|
| 188 |
+
<edge from-layer="8" from-port="4" to-layer="9" to-port="1" />
|
| 189 |
+
<edge from-layer="8" from-port="5" to-layer="9" to-port="2" />
|
| 190 |
+
<edge from-layer="9" from-port="3" to-layer="10" to-port="0" />
|
| 191 |
+
</edges>
|
| 192 |
+
<rt_info>
|
| 193 |
+
<add_attention_mask value="True" />
|
| 194 |
+
<add_prefix_space />
|
| 195 |
+
<add_special_tokens value="True" />
|
| 196 |
+
<chat_template value="{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }} {%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %} {%- endif %} {%- for message in messages %} {%- if message.content is string %} {%- set content = message.content %} {%- else %} {%- set content = '' %} {%- endif %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %} {%- endfor %} {%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- endif %}" />
|
| 197 |
+
<clean_up_tokenization_spaces />
|
| 198 |
+
<detokenizer_input_type value="i64" />
|
| 199 |
+
<eos_token_id value="151645" />
|
| 200 |
+
<handle_special_tokens_with_re />
|
| 201 |
+
<max_length />
|
| 202 |
+
<number_of_inputs value="1" />
|
| 203 |
+
<openvino_tokenizers_version value="2026.0.0.0-632-47cea02a2d4" />
|
| 204 |
+
<openvino_version value="2026.0.0-20897-967e454238b" />
|
| 205 |
+
<original_post_processor_template value="{"type": "ByteLevel", "add_prefix_space": false, "trim_offsets": false, "use_regex": false}" />
|
| 206 |
+
<original_tokenizer_class value="<class 'transformers.models.qwen2.tokenization_qwen2_fast.Qwen2TokenizerFast'>" />
|
| 207 |
+
<pad_token_id value="151643" />
|
| 208 |
+
<processed_post_processor_template value="{"single": {"ids": [-1], "type_ids": [0]}, "pair": {"ids": [-1, -2], "type_ids": [0, 0]}}" />
|
| 209 |
+
<sentencepiece_version value="0.2.1" />
|
| 210 |
+
<skip_special_tokens value="True" />
|
| 211 |
+
<streaming_detokenizer value="False" />
|
| 212 |
+
<tokenizer_output_type value="i64" />
|
| 213 |
+
<tokenizers_version value="0.21.4" />
|
| 214 |
+
<transformers_version value="4.53.0" />
|
| 215 |
+
<use_max_padding value="False" />
|
| 216 |
+
<use_sentencepiece_backend value="False" />
|
| 217 |
+
<utf8_replace_mode value="replace" />
|
| 218 |
+
<with_detokenizer value="True" />
|
| 219 |
+
</rt_info>
|
| 220 |
+
</net>
|
openvino_model.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8da075877b5b18ca3a612af322e6dc19b761f0c2aef2907d4c1781acc0609355
|
| 3 |
+
size 2263625405
|
openvino_model.xml
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
openvino_tokenizer.bin
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:42c707b40104b8416a2e106eaa4989effa50bfec80753b412af3a1cb52b9460d
|
| 3 |
+
size 5588831
|
openvino_tokenizer.xml
ADDED
|
@@ -0,0 +1,771 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
<?xml version="1.0"?>
|
| 2 |
+
<net name="tokenizer" version="11">
|
| 3 |
+
<layers>
|
| 4 |
+
<layer id="0" name="Parameter_122165" type="Parameter" version="opset1">
|
| 5 |
+
<data shape="?" element_type="string" />
|
| 6 |
+
<output>
|
| 7 |
+
<port id="0" precision="STRING" names="Parameter_122165">
|
| 8 |
+
<dim>-1</dim>
|
| 9 |
+
</port>
|
| 10 |
+
</output>
|
| 11 |
+
</layer>
|
| 12 |
+
<layer id="1" name="Constant_122171" type="Const" version="opset1">
|
| 13 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
| 14 |
+
<output>
|
| 15 |
+
<port id="0" precision="I32" />
|
| 16 |
+
</output>
|
| 17 |
+
</layer>
|
| 18 |
+
<layer id="2" name="StringTensorUnpack_122166" type="StringTensorUnpack" version="opset15">
|
| 19 |
+
<input>
|
| 20 |
+
<port id="0" precision="STRING">
|
| 21 |
+
<dim>-1</dim>
|
| 22 |
+
</port>
|
| 23 |
+
</input>
|
| 24 |
+
<output>
|
| 25 |
+
<port id="1" precision="I32">
|
| 26 |
+
<dim>-1</dim>
|
| 27 |
+
</port>
|
| 28 |
+
<port id="2" precision="I32">
|
| 29 |
+
<dim>-1</dim>
|
| 30 |
+
</port>
|
| 31 |
+
<port id="3" precision="U8">
|
| 32 |
+
<dim>-1</dim>
|
| 33 |
+
</port>
|
| 34 |
+
</output>
|
| 35 |
+
</layer>
|
| 36 |
+
<layer id="3" name="ShapeOf_122167" type="ShapeOf" version="opset3">
|
| 37 |
+
<data output_type="i64" />
|
| 38 |
+
<input>
|
| 39 |
+
<port id="0" precision="I32">
|
| 40 |
+
<dim>-1</dim>
|
| 41 |
+
</port>
|
| 42 |
+
</input>
|
| 43 |
+
<output>
|
| 44 |
+
<port id="1" precision="I64">
|
| 45 |
+
<dim>1</dim>
|
| 46 |
+
</port>
|
| 47 |
+
</output>
|
| 48 |
+
</layer>
|
| 49 |
+
<layer id="4" name="Constant_122168" type="Const" version="opset1">
|
| 50 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
| 51 |
+
<output>
|
| 52 |
+
<port id="0" precision="I32" />
|
| 53 |
+
</output>
|
| 54 |
+
</layer>
|
| 55 |
+
<layer id="5" name="Constant_122169" type="Const" version="opset1">
|
| 56 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
| 57 |
+
<output>
|
| 58 |
+
<port id="0" precision="I32" />
|
| 59 |
+
</output>
|
| 60 |
+
</layer>
|
| 61 |
+
<layer id="6" name="Gather_122170" type="Gather" version="opset8">
|
| 62 |
+
<data batch_dims="0" />
|
| 63 |
+
<input>
|
| 64 |
+
<port id="0" precision="I64">
|
| 65 |
+
<dim>1</dim>
|
| 66 |
+
</port>
|
| 67 |
+
<port id="1" precision="I32" />
|
| 68 |
+
<port id="2" precision="I32" />
|
| 69 |
+
</input>
|
| 70 |
+
<output>
|
| 71 |
+
<port id="3" precision="I64" />
|
| 72 |
+
</output>
|
| 73 |
+
</layer>
|
| 74 |
+
<layer id="7" name="Constant_122172" type="Const" version="opset1">
|
| 75 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
| 76 |
+
<output>
|
| 77 |
+
<port id="0" precision="I32" />
|
| 78 |
+
</output>
|
| 79 |
+
</layer>
|
| 80 |
+
<layer id="8" name="Range_122173" type="Range" version="opset4">
|
| 81 |
+
<data output_type="i32" />
|
| 82 |
+
<input>
|
| 83 |
+
<port id="0" precision="I32" />
|
| 84 |
+
<port id="1" precision="I64" />
|
| 85 |
+
<port id="2" precision="I32" />
|
| 86 |
+
</input>
|
| 87 |
+
<output>
|
| 88 |
+
<port id="3" precision="I32">
|
| 89 |
+
<dim>-1</dim>
|
| 90 |
+
</port>
|
| 91 |
+
</output>
|
| 92 |
+
</layer>
|
| 93 |
+
<layer id="9" name="Constant_122174" type="Const" version="opset1">
|
| 94 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
| 95 |
+
<output>
|
| 96 |
+
<port id="0" precision="I32" />
|
| 97 |
+
</output>
|
| 98 |
+
</layer>
|
| 99 |
+
<layer id="10" name="Constant_122175" type="Const" version="opset1">
|
| 100 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
| 101 |
+
<output>
|
| 102 |
+
<port id="0" precision="I64" />
|
| 103 |
+
</output>
|
| 104 |
+
</layer>
|
| 105 |
+
<layer id="11" name="Add_122176" type="Add" version="opset1">
|
| 106 |
+
<data auto_broadcast="numpy" />
|
| 107 |
+
<input>
|
| 108 |
+
<port id="0" precision="I64" />
|
| 109 |
+
<port id="1" precision="I64" />
|
| 110 |
+
</input>
|
| 111 |
+
<output>
|
| 112 |
+
<port id="2" precision="I64" />
|
| 113 |
+
</output>
|
| 114 |
+
</layer>
|
| 115 |
+
<layer id="12" name="Constant_122177" type="Const" version="opset1">
|
| 116 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
| 117 |
+
<output>
|
| 118 |
+
<port id="0" precision="I32" />
|
| 119 |
+
</output>
|
| 120 |
+
</layer>
|
| 121 |
+
<layer id="13" name="Range_122178" type="Range" version="opset4">
|
| 122 |
+
<data output_type="i32" />
|
| 123 |
+
<input>
|
| 124 |
+
<port id="0" precision="I32" />
|
| 125 |
+
<port id="1" precision="I64" />
|
| 126 |
+
<port id="2" precision="I32" />
|
| 127 |
+
</input>
|
| 128 |
+
<output>
|
| 129 |
+
<port id="3" precision="I32">
|
| 130 |
+
<dim>-1</dim>
|
| 131 |
+
</port>
|
| 132 |
+
</output>
|
| 133 |
+
</layer>
|
| 134 |
+
<layer id="14" name="Constant_122242" type="Const" version="opset1">
|
| 135 |
+
<data element_type="u8" shape="462" offset="16" size="462" />
|
| 136 |
+
<output>
|
| 137 |
+
<port id="0" precision="U8">
|
| 138 |
+
<dim>462</dim>
|
| 139 |
+
</port>
|
| 140 |
+
</output>
|
| 141 |
+
</layer>
|
| 142 |
+
<layer id="15" name="SpecialTokensSplit_122243" type="SpecialTokensSplit" version="extension">
|
| 143 |
+
<input>
|
| 144 |
+
<port id="0" precision="I32">
|
| 145 |
+
<dim>-1</dim>
|
| 146 |
+
</port>
|
| 147 |
+
<port id="1" precision="I32">
|
| 148 |
+
<dim>-1</dim>
|
| 149 |
+
</port>
|
| 150 |
+
<port id="2" precision="I32">
|
| 151 |
+
<dim>-1</dim>
|
| 152 |
+
</port>
|
| 153 |
+
<port id="3" precision="I32">
|
| 154 |
+
<dim>-1</dim>
|
| 155 |
+
</port>
|
| 156 |
+
<port id="4" precision="U8">
|
| 157 |
+
<dim>-1</dim>
|
| 158 |
+
</port>
|
| 159 |
+
<port id="5" precision="U8">
|
| 160 |
+
<dim>462</dim>
|
| 161 |
+
</port>
|
| 162 |
+
</input>
|
| 163 |
+
<output>
|
| 164 |
+
<port id="6" precision="I32">
|
| 165 |
+
<dim>-1</dim>
|
| 166 |
+
</port>
|
| 167 |
+
<port id="7" precision="I32">
|
| 168 |
+
<dim>-1</dim>
|
| 169 |
+
</port>
|
| 170 |
+
<port id="8" precision="I32">
|
| 171 |
+
<dim>-1</dim>
|
| 172 |
+
</port>
|
| 173 |
+
<port id="9" precision="I32">
|
| 174 |
+
<dim>-1</dim>
|
| 175 |
+
</port>
|
| 176 |
+
<port id="10" precision="U8">
|
| 177 |
+
<dim>-1</dim>
|
| 178 |
+
</port>
|
| 179 |
+
<port id="11" precision="BOOL">
|
| 180 |
+
<dim>-1</dim>
|
| 181 |
+
</port>
|
| 182 |
+
</output>
|
| 183 |
+
</layer>
|
| 184 |
+
<layer id="16" name="CharsMapNormalization_122244" type="CharsMapNormalization" version="extension">
|
| 185 |
+
<data add_dummy_prefix="false" remove_extra_whitespaces="false" escape_whitespaces="false" normalization_form="nfc" case_fold="false" nmt="false" />
|
| 186 |
+
<input>
|
| 187 |
+
<port id="0" precision="I32">
|
| 188 |
+
<dim>-1</dim>
|
| 189 |
+
</port>
|
| 190 |
+
<port id="1" precision="I32">
|
| 191 |
+
<dim>-1</dim>
|
| 192 |
+
</port>
|
| 193 |
+
<port id="2" precision="U8">
|
| 194 |
+
<dim>-1</dim>
|
| 195 |
+
</port>
|
| 196 |
+
<port id="3" precision="BOOL">
|
| 197 |
+
<dim>-1</dim>
|
| 198 |
+
</port>
|
| 199 |
+
</input>
|
| 200 |
+
<output>
|
| 201 |
+
<port id="4" precision="I32">
|
| 202 |
+
<dim>-1</dim>
|
| 203 |
+
</port>
|
| 204 |
+
<port id="5" precision="I32">
|
| 205 |
+
<dim>-1</dim>
|
| 206 |
+
</port>
|
| 207 |
+
<port id="6" precision="U8">
|
| 208 |
+
<dim>-1</dim>
|
| 209 |
+
</port>
|
| 210 |
+
<port id="7" precision="BOOL">
|
| 211 |
+
<dim>-1</dim>
|
| 212 |
+
</port>
|
| 213 |
+
</output>
|
| 214 |
+
</layer>
|
| 215 |
+
<layer id="17" name="Constant_122246" type="Const" version="opset1">
|
| 216 |
+
<data element_type="u8" shape="110" offset="478" size="110" />
|
| 217 |
+
<output>
|
| 218 |
+
<port id="0" precision="U8">
|
| 219 |
+
<dim>110</dim>
|
| 220 |
+
</port>
|
| 221 |
+
</output>
|
| 222 |
+
</layer>
|
| 223 |
+
<layer id="18" name="RegexSplit_122247" type="RegexSplit" version="extension">
|
| 224 |
+
<data behaviour="isolate" invert="false" max_splits="-1" />
|
| 225 |
+
<input>
|
| 226 |
+
<port id="0" precision="I32">
|
| 227 |
+
<dim>-1</dim>
|
| 228 |
+
</port>
|
| 229 |
+
<port id="1" precision="I32">
|
| 230 |
+
<dim>-1</dim>
|
| 231 |
+
</port>
|
| 232 |
+
<port id="2" precision="I32">
|
| 233 |
+
<dim>-1</dim>
|
| 234 |
+
</port>
|
| 235 |
+
<port id="3" precision="I32">
|
| 236 |
+
<dim>-1</dim>
|
| 237 |
+
</port>
|
| 238 |
+
<port id="4" precision="U8">
|
| 239 |
+
<dim>-1</dim>
|
| 240 |
+
</port>
|
| 241 |
+
<port id="5" precision="BOOL">
|
| 242 |
+
<dim>-1</dim>
|
| 243 |
+
</port>
|
| 244 |
+
<port id="6" precision="U8">
|
| 245 |
+
<dim>110</dim>
|
| 246 |
+
</port>
|
| 247 |
+
</input>
|
| 248 |
+
<output>
|
| 249 |
+
<port id="7" precision="I32">
|
| 250 |
+
<dim>-1</dim>
|
| 251 |
+
</port>
|
| 252 |
+
<port id="8" precision="I32">
|
| 253 |
+
<dim>-1</dim>
|
| 254 |
+
</port>
|
| 255 |
+
<port id="9" precision="I32">
|
| 256 |
+
<dim>-1</dim>
|
| 257 |
+
</port>
|
| 258 |
+
<port id="10" precision="I32">
|
| 259 |
+
<dim>-1</dim>
|
| 260 |
+
</port>
|
| 261 |
+
<port id="11" precision="U8">
|
| 262 |
+
<dim>-1</dim>
|
| 263 |
+
</port>
|
| 264 |
+
<port id="12" precision="BOOL">
|
| 265 |
+
<dim>-1</dim>
|
| 266 |
+
</port>
|
| 267 |
+
</output>
|
| 268 |
+
</layer>
|
| 269 |
+
<layer id="19" name="Constant_122249" type="Const" version="opset1">
|
| 270 |
+
<data element_type="i32" shape="151669" offset="588" size="606676" />
|
| 271 |
+
<output>
|
| 272 |
+
<port id="0" precision="I32">
|
| 273 |
+
<dim>151669</dim>
|
| 274 |
+
</port>
|
| 275 |
+
</output>
|
| 276 |
+
</layer>
|
| 277 |
+
<layer id="20" name="Constant_122251" type="Const" version="opset1">
|
| 278 |
+
<data element_type="i32" shape="151669" offset="607264" size="606676" />
|
| 279 |
+
<output>
|
| 280 |
+
<port id="0" precision="I32">
|
| 281 |
+
<dim>151669</dim>
|
| 282 |
+
</port>
|
| 283 |
+
</output>
|
| 284 |
+
</layer>
|
| 285 |
+
<layer id="21" name="Constant_122253" type="Const" version="opset1">
|
| 286 |
+
<data element_type="u8" shape="976309" offset="1213940" size="976309" />
|
| 287 |
+
<output>
|
| 288 |
+
<port id="0" precision="U8">
|
| 289 |
+
<dim>976309</dim>
|
| 290 |
+
</port>
|
| 291 |
+
</output>
|
| 292 |
+
</layer>
|
| 293 |
+
<layer id="22" name="Constant_122261" type="Const" version="opset1">
|
| 294 |
+
<data element_type="i32" shape="151387" offset="2190249" size="605548" />
|
| 295 |
+
<output>
|
| 296 |
+
<port id="0" precision="I32">
|
| 297 |
+
<dim>151387</dim>
|
| 298 |
+
</port>
|
| 299 |
+
</output>
|
| 300 |
+
</layer>
|
| 301 |
+
<layer id="23" name="Constant_122263" type="Const" version="opset1">
|
| 302 |
+
<data element_type="i32" shape="151387" offset="2795797" size="605548" />
|
| 303 |
+
<output>
|
| 304 |
+
<port id="0" precision="I32">
|
| 305 |
+
<dim>151387</dim>
|
| 306 |
+
</port>
|
| 307 |
+
</output>
|
| 308 |
+
</layer>
|
| 309 |
+
<layer id="24" name="Constant_122265" type="Const" version="opset1">
|
| 310 |
+
<data element_type="u8" shape="491359" offset="3401345" size="491359" />
|
| 311 |
+
<output>
|
| 312 |
+
<port id="0" precision="U8">
|
| 313 |
+
<dim>491359</dim>
|
| 314 |
+
</port>
|
| 315 |
+
</output>
|
| 316 |
+
</layer>
|
| 317 |
+
<layer id="25" name="Constant_122267" type="Const" version="opset1">
|
| 318 |
+
<data element_type="i32" shape="151387" offset="3892704" size="605548" />
|
| 319 |
+
<output>
|
| 320 |
+
<port id="0" precision="I32">
|
| 321 |
+
<dim>151387</dim>
|
| 322 |
+
</port>
|
| 323 |
+
</output>
|
| 324 |
+
</layer>
|
| 325 |
+
<layer id="26" name="Constant_122269" type="Const" version="opset1">
|
| 326 |
+
<data element_type="i32" shape="151387" offset="4498252" size="605548" />
|
| 327 |
+
<output>
|
| 328 |
+
<port id="0" precision="I32">
|
| 329 |
+
<dim>151387</dim>
|
| 330 |
+
</port>
|
| 331 |
+
</output>
|
| 332 |
+
</layer>
|
| 333 |
+
<layer id="27" name="Constant_122271" type="Const" version="opset1">
|
| 334 |
+
<data element_type="u8" shape="484354" offset="5103800" size="484354" />
|
| 335 |
+
<output>
|
| 336 |
+
<port id="0" precision="U8">
|
| 337 |
+
<dim>484354</dim>
|
| 338 |
+
</port>
|
| 339 |
+
</output>
|
| 340 |
+
</layer>
|
| 341 |
+
<layer id="28" name="Constant_122255" type="Const" version="opset1">
|
| 342 |
+
<data element_type="i32" shape="26" offset="5588154" size="104" />
|
| 343 |
+
<output>
|
| 344 |
+
<port id="0" precision="I32">
|
| 345 |
+
<dim>26</dim>
|
| 346 |
+
</port>
|
| 347 |
+
</output>
|
| 348 |
+
</layer>
|
| 349 |
+
<layer id="29" name="Constant_122257" type="Const" version="opset1">
|
| 350 |
+
<data element_type="i32" shape="26" offset="5588258" size="104" />
|
| 351 |
+
<output>
|
| 352 |
+
<port id="0" precision="I32">
|
| 353 |
+
<dim>26</dim>
|
| 354 |
+
</port>
|
| 355 |
+
</output>
|
| 356 |
+
</layer>
|
| 357 |
+
<layer id="30" name="Constant_122259" type="Const" version="opset1">
|
| 358 |
+
<data element_type="u8" shape="340" offset="5588362" size="340" />
|
| 359 |
+
<output>
|
| 360 |
+
<port id="0" precision="U8">
|
| 361 |
+
<dim>340</dim>
|
| 362 |
+
</port>
|
| 363 |
+
</output>
|
| 364 |
+
</layer>
|
| 365 |
+
<layer id="31" name="Constant_122272" type="Const" version="opset1">
|
| 366 |
+
<data element_type="i32" shape="26" offset="5588702" size="104" />
|
| 367 |
+
<output>
|
| 368 |
+
<port id="0" precision="I32">
|
| 369 |
+
<dim>26</dim>
|
| 370 |
+
</port>
|
| 371 |
+
</output>
|
| 372 |
+
</layer>
|
| 373 |
+
<layer id="32" name="BPETokenizer_122273" type="BPETokenizer" version="extension">
|
| 374 |
+
<data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" cache_capacity="30328" />
|
| 375 |
+
<input>
|
| 376 |
+
<port id="0" precision="I32">
|
| 377 |
+
<dim>-1</dim>
|
| 378 |
+
</port>
|
| 379 |
+
<port id="1" precision="I32">
|
| 380 |
+
<dim>-1</dim>
|
| 381 |
+
</port>
|
| 382 |
+
<port id="2" precision="I32">
|
| 383 |
+
<dim>-1</dim>
|
| 384 |
+
</port>
|
| 385 |
+
<port id="3" precision="I32">
|
| 386 |
+
<dim>-1</dim>
|
| 387 |
+
</port>
|
| 388 |
+
<port id="4" precision="U8">
|
| 389 |
+
<dim>-1</dim>
|
| 390 |
+
</port>
|
| 391 |
+
<port id="5" precision="I32">
|
| 392 |
+
<dim>151669</dim>
|
| 393 |
+
</port>
|
| 394 |
+
<port id="6" precision="I32">
|
| 395 |
+
<dim>151669</dim>
|
| 396 |
+
</port>
|
| 397 |
+
<port id="7" precision="U8">
|
| 398 |
+
<dim>976309</dim>
|
| 399 |
+
</port>
|
| 400 |
+
<port id="8" precision="I32">
|
| 401 |
+
<dim>151387</dim>
|
| 402 |
+
</port>
|
| 403 |
+
<port id="9" precision="I32">
|
| 404 |
+
<dim>151387</dim>
|
| 405 |
+
</port>
|
| 406 |
+
<port id="10" precision="U8">
|
| 407 |
+
<dim>491359</dim>
|
| 408 |
+
</port>
|
| 409 |
+
<port id="11" precision="I32">
|
| 410 |
+
<dim>151387</dim>
|
| 411 |
+
</port>
|
| 412 |
+
<port id="12" precision="I32">
|
| 413 |
+
<dim>151387</dim>
|
| 414 |
+
</port>
|
| 415 |
+
<port id="13" precision="U8">
|
| 416 |
+
<dim>484354</dim>
|
| 417 |
+
</port>
|
| 418 |
+
<port id="14" precision="I32">
|
| 419 |
+
<dim>26</dim>
|
| 420 |
+
</port>
|
| 421 |
+
<port id="15" precision="I32">
|
| 422 |
+
<dim>26</dim>
|
| 423 |
+
</port>
|
| 424 |
+
<port id="16" precision="U8">
|
| 425 |
+
<dim>340</dim>
|
| 426 |
+
</port>
|
| 427 |
+
<port id="17" precision="I32">
|
| 428 |
+
<dim>26</dim>
|
| 429 |
+
</port>
|
| 430 |
+
</input>
|
| 431 |
+
<output>
|
| 432 |
+
<port id="18" precision="I32">
|
| 433 |
+
<dim>-1</dim>
|
| 434 |
+
</port>
|
| 435 |
+
<port id="19" precision="I32">
|
| 436 |
+
<dim>-1</dim>
|
| 437 |
+
</port>
|
| 438 |
+
<port id="20" precision="I32">
|
| 439 |
+
<dim>-1</dim>
|
| 440 |
+
</port>
|
| 441 |
+
</output>
|
| 442 |
+
</layer>
|
| 443 |
+
<layer id="33" name="Constant_122274" type="Const" version="opset1">
|
| 444 |
+
<data element_type="i32" shape="" offset="5588806" size="4" />
|
| 445 |
+
<output>
|
| 446 |
+
<port id="0" precision="I32" />
|
| 447 |
+
</output>
|
| 448 |
+
</layer>
|
| 449 |
+
<layer id="34" name="Constant_122276" type="Const" version="opset1">
|
| 450 |
+
<data element_type="u8" shape="4" offset="5588810" size="4" />
|
| 451 |
+
<output>
|
| 452 |
+
<port id="0" precision="U8">
|
| 453 |
+
<dim>4</dim>
|
| 454 |
+
</port>
|
| 455 |
+
</output>
|
| 456 |
+
</layer>
|
| 457 |
+
<layer id="35" name="Constant_122278" type="Const" version="opset1">
|
| 458 |
+
<data element_type="u8" shape="13" offset="5588814" size="13" />
|
| 459 |
+
<output>
|
| 460 |
+
<port id="0" precision="U8">
|
| 461 |
+
<dim>13</dim>
|
| 462 |
+
</port>
|
| 463 |
+
</output>
|
| 464 |
+
</layer>
|
| 465 |
+
<layer id="36" name="Truncate_122279" type="Truncate" version="extension">
|
| 466 |
+
<data m_num_inputs="1" />
|
| 467 |
+
<input>
|
| 468 |
+
<port id="0" precision="I32">
|
| 469 |
+
<dim>-1</dim>
|
| 470 |
+
</port>
|
| 471 |
+
<port id="1" precision="I32">
|
| 472 |
+
<dim>-1</dim>
|
| 473 |
+
</port>
|
| 474 |
+
<port id="2" precision="I32">
|
| 475 |
+
<dim>-1</dim>
|
| 476 |
+
</port>
|
| 477 |
+
<port id="3" precision="I32" />
|
| 478 |
+
<port id="4" precision="U8">
|
| 479 |
+
<dim>4</dim>
|
| 480 |
+
</port>
|
| 481 |
+
<port id="5" precision="U8">
|
| 482 |
+
<dim>13</dim>
|
| 483 |
+
</port>
|
| 484 |
+
</input>
|
| 485 |
+
<output>
|
| 486 |
+
<port id="6" precision="I32">
|
| 487 |
+
<dim>-1</dim>
|
| 488 |
+
</port>
|
| 489 |
+
<port id="7" precision="I32">
|
| 490 |
+
<dim>-1</dim>
|
| 491 |
+
</port>
|
| 492 |
+
<port id="8" precision="I32">
|
| 493 |
+
<dim>-1</dim>
|
| 494 |
+
</port>
|
| 495 |
+
</output>
|
| 496 |
+
</layer>
|
| 497 |
+
<layer id="37" name="Constant_122280" type="Const" version="opset1">
|
| 498 |
+
<data element_type="i32" shape="1" offset="0" size="4" />
|
| 499 |
+
<output>
|
| 500 |
+
<port id="0" precision="I32">
|
| 501 |
+
<dim>1</dim>
|
| 502 |
+
</port>
|
| 503 |
+
</output>
|
| 504 |
+
</layer>
|
| 505 |
+
<layer id="38" name="CombineSegments_122281" type="CombineSegments" version="extension">
|
| 506 |
+
<input>
|
| 507 |
+
<port id="0" precision="I32">
|
| 508 |
+
<dim>-1</dim>
|
| 509 |
+
</port>
|
| 510 |
+
<port id="1" precision="I32">
|
| 511 |
+
<dim>-1</dim>
|
| 512 |
+
</port>
|
| 513 |
+
<port id="2" precision="I32">
|
| 514 |
+
<dim>-1</dim>
|
| 515 |
+
</port>
|
| 516 |
+
<port id="3" precision="I32">
|
| 517 |
+
<dim>1</dim>
|
| 518 |
+
</port>
|
| 519 |
+
</input>
|
| 520 |
+
<output>
|
| 521 |
+
<port id="4" precision="I32">
|
| 522 |
+
<dim>-1</dim>
|
| 523 |
+
</port>
|
| 524 |
+
<port id="5" precision="I32">
|
| 525 |
+
<dim>-1</dim>
|
| 526 |
+
</port>
|
| 527 |
+
<port id="6" precision="I32">
|
| 528 |
+
<dim>-1</dim>
|
| 529 |
+
</port>
|
| 530 |
+
<port id="7" precision="I32">
|
| 531 |
+
<dim>-1</dim>
|
| 532 |
+
</port>
|
| 533 |
+
<port id="8" precision="I32">
|
| 534 |
+
<dim>-1</dim>
|
| 535 |
+
</port>
|
| 536 |
+
<port id="9" precision="I32">
|
| 537 |
+
<dim>-1</dim>
|
| 538 |
+
</port>
|
| 539 |
+
</output>
|
| 540 |
+
</layer>
|
| 541 |
+
<layer id="39" name="Subtract_122282" type="Subtract" version="opset1">
|
| 542 |
+
<data auto_broadcast="numpy" />
|
| 543 |
+
<input>
|
| 544 |
+
<port id="0" precision="I32">
|
| 545 |
+
<dim>-1</dim>
|
| 546 |
+
</port>
|
| 547 |
+
<port id="1" precision="I32">
|
| 548 |
+
<dim>-1</dim>
|
| 549 |
+
</port>
|
| 550 |
+
</input>
|
| 551 |
+
<output>
|
| 552 |
+
<port id="2" precision="I32">
|
| 553 |
+
<dim>-1</dim>
|
| 554 |
+
</port>
|
| 555 |
+
</output>
|
| 556 |
+
</layer>
|
| 557 |
+
<layer id="40" name="Constant_122283" type="Const" version="opset1">
|
| 558 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
| 559 |
+
<output>
|
| 560 |
+
<port id="0" precision="I32" />
|
| 561 |
+
</output>
|
| 562 |
+
</layer>
|
| 563 |
+
<layer id="41" name="ReduceMax_122284" type="ReduceMax" version="opset1">
|
| 564 |
+
<data keep_dims="false" />
|
| 565 |
+
<input>
|
| 566 |
+
<port id="0" precision="I32">
|
| 567 |
+
<dim>-1</dim>
|
| 568 |
+
</port>
|
| 569 |
+
<port id="1" precision="I32" />
|
| 570 |
+
</input>
|
| 571 |
+
<output>
|
| 572 |
+
<port id="2" precision="I32" />
|
| 573 |
+
</output>
|
| 574 |
+
</layer>
|
| 575 |
+
<layer id="42" name="Constant_122285" type="Const" version="opset1">
|
| 576 |
+
<data element_type="i32" shape="" offset="5588827" size="4" />
|
| 577 |
+
<output>
|
| 578 |
+
<port id="0" precision="I32" />
|
| 579 |
+
</output>
|
| 580 |
+
</layer>
|
| 581 |
+
<layer id="43" name="RaggedToDense_122286" type="RaggedToDense" version="extension">
|
| 582 |
+
<data pad_right="false" m_pad_max_length="false" />
|
| 583 |
+
<input>
|
| 584 |
+
<port id="0" precision="I32">
|
| 585 |
+
<dim>-1</dim>
|
| 586 |
+
</port>
|
| 587 |
+
<port id="1" precision="I32">
|
| 588 |
+
<dim>-1</dim>
|
| 589 |
+
</port>
|
| 590 |
+
<port id="2" precision="I32">
|
| 591 |
+
<dim>-1</dim>
|
| 592 |
+
</port>
|
| 593 |
+
<port id="3" precision="I32" />
|
| 594 |
+
<port id="4" precision="I32" />
|
| 595 |
+
</input>
|
| 596 |
+
<output>
|
| 597 |
+
<port id="5" precision="I32">
|
| 598 |
+
<dim>-1</dim>
|
| 599 |
+
<dim>-1</dim>
|
| 600 |
+
</port>
|
| 601 |
+
<port id="6" precision="BOOL">
|
| 602 |
+
<dim>-1</dim>
|
| 603 |
+
<dim>-1</dim>
|
| 604 |
+
</port>
|
| 605 |
+
</output>
|
| 606 |
+
</layer>
|
| 607 |
+
<layer id="44" name="Convert_122287" type="Convert" version="opset1">
|
| 608 |
+
<data destination_type="i32" />
|
| 609 |
+
<input>
|
| 610 |
+
<port id="0" precision="BOOL">
|
| 611 |
+
<dim>-1</dim>
|
| 612 |
+
<dim>-1</dim>
|
| 613 |
+
</port>
|
| 614 |
+
</input>
|
| 615 |
+
<output>
|
| 616 |
+
<port id="1" precision="I32">
|
| 617 |
+
<dim>-1</dim>
|
| 618 |
+
<dim>-1</dim>
|
| 619 |
+
</port>
|
| 620 |
+
</output>
|
| 621 |
+
</layer>
|
| 622 |
+
<layer id="45" name="Convert_122287.0" type="Convert" version="opset1">
|
| 623 |
+
<data destination_type="i64" />
|
| 624 |
+
<input>
|
| 625 |
+
<port id="0" precision="I32">
|
| 626 |
+
<dim>-1</dim>
|
| 627 |
+
<dim>-1</dim>
|
| 628 |
+
</port>
|
| 629 |
+
</input>
|
| 630 |
+
<output>
|
| 631 |
+
<port id="1" precision="I64" names="attention_mask">
|
| 632 |
+
<dim>-1</dim>
|
| 633 |
+
<dim>-1</dim>
|
| 634 |
+
</port>
|
| 635 |
+
</output>
|
| 636 |
+
</layer>
|
| 637 |
+
<layer id="46" name="RaggedToDense_122286.0" type="Convert" version="opset1">
|
| 638 |
+
<data destination_type="i64" />
|
| 639 |
+
<input>
|
| 640 |
+
<port id="0" precision="I32">
|
| 641 |
+
<dim>-1</dim>
|
| 642 |
+
<dim>-1</dim>
|
| 643 |
+
</port>
|
| 644 |
+
</input>
|
| 645 |
+
<output>
|
| 646 |
+
<port id="1" precision="I64" names="input_ids">
|
| 647 |
+
<dim>-1</dim>
|
| 648 |
+
<dim>-1</dim>
|
| 649 |
+
</port>
|
| 650 |
+
</output>
|
| 651 |
+
</layer>
|
| 652 |
+
<layer id="47" name="Result_122290" type="Result" version="opset1" output_names="input_ids">
|
| 653 |
+
<input>
|
| 654 |
+
<port id="0" precision="I64">
|
| 655 |
+
<dim>-1</dim>
|
| 656 |
+
<dim>-1</dim>
|
| 657 |
+
</port>
|
| 658 |
+
</input>
|
| 659 |
+
</layer>
|
| 660 |
+
<layer id="48" name="Result_122292" type="Result" version="opset1" output_names="attention_mask">
|
| 661 |
+
<input>
|
| 662 |
+
<port id="0" precision="I64">
|
| 663 |
+
<dim>-1</dim>
|
| 664 |
+
<dim>-1</dim>
|
| 665 |
+
</port>
|
| 666 |
+
</input>
|
| 667 |
+
</layer>
|
| 668 |
+
</layers>
|
| 669 |
+
<edges>
|
| 670 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
| 671 |
+
<edge from-layer="1" from-port="0" to-layer="8" to-port="0" />
|
| 672 |
+
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
|
| 673 |
+
<edge from-layer="2" from-port="1" to-layer="15" to-port="2" />
|
| 674 |
+
<edge from-layer="2" from-port="2" to-layer="15" to-port="3" />
|
| 675 |
+
<edge from-layer="2" from-port="3" to-layer="15" to-port="4" />
|
| 676 |
+
<edge from-layer="3" from-port="1" to-layer="6" to-port="0" />
|
| 677 |
+
<edge from-layer="4" from-port="0" to-layer="6" to-port="1" />
|
| 678 |
+
<edge from-layer="5" from-port="0" to-layer="6" to-port="2" />
|
| 679 |
+
<edge from-layer="6" from-port="3" to-layer="8" to-port="1" />
|
| 680 |
+
<edge from-layer="6" from-port="3" to-layer="11" to-port="0" />
|
| 681 |
+
<edge from-layer="7" from-port="0" to-layer="8" to-port="2" />
|
| 682 |
+
<edge from-layer="8" from-port="3" to-layer="15" to-port="0" />
|
| 683 |
+
<edge from-layer="9" from-port="0" to-layer="13" to-port="0" />
|
| 684 |
+
<edge from-layer="10" from-port="0" to-layer="11" to-port="1" />
|
| 685 |
+
<edge from-layer="11" from-port="2" to-layer="13" to-port="1" />
|
| 686 |
+
<edge from-layer="12" from-port="0" to-layer="13" to-port="2" />
|
| 687 |
+
<edge from-layer="13" from-port="3" to-layer="15" to-port="1" />
|
| 688 |
+
<edge from-layer="14" from-port="0" to-layer="15" to-port="5" />
|
| 689 |
+
<edge from-layer="15" from-port="8" to-layer="16" to-port="0" />
|
| 690 |
+
<edge from-layer="15" from-port="9" to-layer="16" to-port="1" />
|
| 691 |
+
<edge from-layer="15" from-port="10" to-layer="16" to-port="2" />
|
| 692 |
+
<edge from-layer="15" from-port="11" to-layer="16" to-port="3" />
|
| 693 |
+
<edge from-layer="15" from-port="6" to-layer="18" to-port="0" />
|
| 694 |
+
<edge from-layer="15" from-port="7" to-layer="18" to-port="1" />
|
| 695 |
+
<edge from-layer="16" from-port="4" to-layer="18" to-port="2" />
|
| 696 |
+
<edge from-layer="16" from-port="5" to-layer="18" to-port="3" />
|
| 697 |
+
<edge from-layer="16" from-port="6" to-layer="18" to-port="4" />
|
| 698 |
+
<edge from-layer="16" from-port="7" to-layer="18" to-port="5" />
|
| 699 |
+
<edge from-layer="17" from-port="0" to-layer="18" to-port="6" />
|
| 700 |
+
<edge from-layer="18" from-port="7" to-layer="32" to-port="0" />
|
| 701 |
+
<edge from-layer="18" from-port="8" to-layer="32" to-port="1" />
|
| 702 |
+
<edge from-layer="18" from-port="9" to-layer="32" to-port="2" />
|
| 703 |
+
<edge from-layer="18" from-port="10" to-layer="32" to-port="3" />
|
| 704 |
+
<edge from-layer="18" from-port="11" to-layer="32" to-port="4" />
|
| 705 |
+
<edge from-layer="19" from-port="0" to-layer="32" to-port="5" />
|
| 706 |
+
<edge from-layer="20" from-port="0" to-layer="32" to-port="6" />
|
| 707 |
+
<edge from-layer="21" from-port="0" to-layer="32" to-port="7" />
|
| 708 |
+
<edge from-layer="22" from-port="0" to-layer="32" to-port="8" />
|
| 709 |
+
<edge from-layer="23" from-port="0" to-layer="32" to-port="9" />
|
| 710 |
+
<edge from-layer="24" from-port="0" to-layer="32" to-port="10" />
|
| 711 |
+
<edge from-layer="25" from-port="0" to-layer="32" to-port="11" />
|
| 712 |
+
<edge from-layer="26" from-port="0" to-layer="32" to-port="12" />
|
| 713 |
+
<edge from-layer="27" from-port="0" to-layer="32" to-port="13" />
|
| 714 |
+
<edge from-layer="28" from-port="0" to-layer="32" to-port="14" />
|
| 715 |
+
<edge from-layer="29" from-port="0" to-layer="32" to-port="15" />
|
| 716 |
+
<edge from-layer="30" from-port="0" to-layer="32" to-port="16" />
|
| 717 |
+
<edge from-layer="31" from-port="0" to-layer="32" to-port="17" />
|
| 718 |
+
<edge from-layer="32" from-port="18" to-layer="36" to-port="0" />
|
| 719 |
+
<edge from-layer="32" from-port="19" to-layer="36" to-port="1" />
|
| 720 |
+
<edge from-layer="32" from-port="20" to-layer="36" to-port="2" />
|
| 721 |
+
<edge from-layer="33" from-port="0" to-layer="36" to-port="3" />
|
| 722 |
+
<edge from-layer="34" from-port="0" to-layer="36" to-port="4" />
|
| 723 |
+
<edge from-layer="35" from-port="0" to-layer="36" to-port="5" />
|
| 724 |
+
<edge from-layer="36" from-port="6" to-layer="38" to-port="0" />
|
| 725 |
+
<edge from-layer="36" from-port="7" to-layer="38" to-port="1" />
|
| 726 |
+
<edge from-layer="36" from-port="8" to-layer="38" to-port="2" />
|
| 727 |
+
<edge from-layer="37" from-port="0" to-layer="38" to-port="3" />
|
| 728 |
+
<edge from-layer="38" from-port="5" to-layer="39" to-port="0" />
|
| 729 |
+
<edge from-layer="38" from-port="4" to-layer="39" to-port="1" />
|
| 730 |
+
<edge from-layer="38" from-port="4" to-layer="43" to-port="0" />
|
| 731 |
+
<edge from-layer="38" from-port="5" to-layer="43" to-port="1" />
|
| 732 |
+
<edge from-layer="38" from-port="6" to-layer="43" to-port="2" />
|
| 733 |
+
<edge from-layer="39" from-port="2" to-layer="41" to-port="0" />
|
| 734 |
+
<edge from-layer="40" from-port="0" to-layer="41" to-port="1" />
|
| 735 |
+
<edge from-layer="41" from-port="2" to-layer="43" to-port="3" />
|
| 736 |
+
<edge from-layer="42" from-port="0" to-layer="43" to-port="4" />
|
| 737 |
+
<edge from-layer="43" from-port="6" to-layer="44" to-port="0" />
|
| 738 |
+
<edge from-layer="43" from-port="5" to-layer="46" to-port="0" />
|
| 739 |
+
<edge from-layer="44" from-port="1" to-layer="45" to-port="0" />
|
| 740 |
+
<edge from-layer="45" from-port="1" to-layer="48" to-port="0" />
|
| 741 |
+
<edge from-layer="46" from-port="1" to-layer="47" to-port="0" />
|
| 742 |
+
</edges>
|
| 743 |
+
<rt_info>
|
| 744 |
+
<add_attention_mask value="True" />
|
| 745 |
+
<add_prefix_space />
|
| 746 |
+
<add_special_tokens value="True" />
|
| 747 |
+
<chat_template value="{%- if tools %} {{- '<|im_start|>system\n' }} {%- if messages[0].role == 'system' %} {{- messages[0].content + '\n\n' }} {%- endif %} {{- "# Tools\n\nYou may call one or more functions to assist with the user query.\n\nYou are provided with function signatures within <tools></tools> XML tags:\n<tools>" }} {%- for tool in tools %} {{- "\n" }} {{- tool | tojson }} {%- endfor %} {{- "\n</tools>\n\nFor each function call, return a json object with function name and arguments within <tool_call></tool_call> XML tags:\n<tool_call>\n{\"name\": <function-name>, \"arguments\": <args-json-object>}\n</tool_call><|im_end|>\n" }} {%- else %} {%- if messages[0].role == 'system' %} {{- '<|im_start|>system\n' + messages[0].content + '<|im_end|>\n' }} {%- endif %} {%- endif %} {%- for message in messages %} {%- if message.content is string %} {%- set content = message.content %} {%- else %} {%- set content = '' %} {%- endif %} {%- if (message.role == "user") or (message.role == "system" and not loop.first) %} {{- '<|im_start|>' + message.role + '\n' + content + '<|im_end|>' + '\n' }} {%- elif message.role == "assistant" %} {{- '<|im_start|>' + message.role + '\n' + content }} {%- if message.tool_calls %} {%- for tool_call in message.tool_calls %} {%- if (loop.first and content) or (not loop.first) %} {{- '\n' }} {%- endif %} {%- if tool_call.function %} {%- set tool_call = tool_call.function %} {%- endif %} {{- '<tool_call>\n{"name": "' }} {{- tool_call.name }} {{- '", "arguments": ' }} {%- if tool_call.arguments is string %} {{- tool_call.arguments }} {%- else %} {{- tool_call.arguments | tojson }} {%- endif %} {{- '}\n</tool_call>' }} {%- endfor %} {%- endif %} {{- '<|im_end|>\n' }} {%- elif message.role == "tool" %} {%- if loop.first or (messages[loop.index0 - 1].role != "tool") %} {{- '<|im_start|>user' }} {%- endif %} {{- '\n<tool_response>\n' }} {{- content }} {{- '\n</tool_response>' }} {%- if loop.last or (messages[loop.index0 + 1].role != "tool") %} {{- '<|im_end|>\n' }} {%- endif %} {%- endif %} {%- endfor %} {%- if add_generation_prompt %} {{- '<|im_start|>assistant\n' }} {%- endif %}" />
|
| 748 |
+
<clean_up_tokenization_spaces />
|
| 749 |
+
<detokenizer_input_type value="i64" />
|
| 750 |
+
<eos_token_id value="151645" />
|
| 751 |
+
<handle_special_tokens_with_re />
|
| 752 |
+
<max_length />
|
| 753 |
+
<number_of_inputs value="1" />
|
| 754 |
+
<openvino_tokenizers_version value="2026.0.0.0-632-47cea02a2d4" />
|
| 755 |
+
<openvino_version value="2026.0.0-20897-967e454238b" />
|
| 756 |
+
<original_post_processor_template value="{"type": "ByteLevel", "add_prefix_space": false, "trim_offsets": false, "use_regex": false}" />
|
| 757 |
+
<original_tokenizer_class value="<class 'transformers.models.qwen2.tokenization_qwen2_fast.Qwen2TokenizerFast'>" />
|
| 758 |
+
<pad_token_id value="151643" />
|
| 759 |
+
<processed_post_processor_template value="{"single": {"ids": [-1], "type_ids": [0]}, "pair": {"ids": [-1, -2], "type_ids": [0, 0]}}" />
|
| 760 |
+
<sentencepiece_version value="0.2.1" />
|
| 761 |
+
<skip_special_tokens value="True" />
|
| 762 |
+
<streaming_detokenizer value="False" />
|
| 763 |
+
<tokenizer_output_type value="i64" />
|
| 764 |
+
<tokenizers_version value="0.21.4" />
|
| 765 |
+
<transformers_version value="4.53.0" />
|
| 766 |
+
<use_max_padding value="False" />
|
| 767 |
+
<use_sentencepiece_backend value="False" />
|
| 768 |
+
<utf8_replace_mode value="replace" />
|
| 769 |
+
<with_detokenizer value="True" />
|
| 770 |
+
</rt_info>
|
| 771 |
+
</net>
|
special_tokens_map.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"additional_special_tokens": [
|
| 3 |
+
"<|im_start|>",
|
| 4 |
+
"<|im_end|>",
|
| 5 |
+
"<|object_ref_start|>",
|
| 6 |
+
"<|object_ref_end|>",
|
| 7 |
+
"<|box_start|>",
|
| 8 |
+
"<|box_end|>",
|
| 9 |
+
"<|quad_start|>",
|
| 10 |
+
"<|quad_end|>",
|
| 11 |
+
"<|vision_start|>",
|
| 12 |
+
"<|vision_end|>",
|
| 13 |
+
"<|vision_pad|>",
|
| 14 |
+
"<|image_pad|>",
|
| 15 |
+
"<|video_pad|>"
|
| 16 |
+
],
|
| 17 |
+
"eos_token": {
|
| 18 |
+
"content": "<|im_end|>",
|
| 19 |
+
"lstrip": false,
|
| 20 |
+
"normalized": false,
|
| 21 |
+
"rstrip": false,
|
| 22 |
+
"single_word": false
|
| 23 |
+
},
|
| 24 |
+
"pad_token": {
|
| 25 |
+
"content": "<|endoftext|>",
|
| 26 |
+
"lstrip": false,
|
| 27 |
+
"normalized": false,
|
| 28 |
+
"rstrip": false,
|
| 29 |
+
"single_word": false
|
| 30 |
+
}
|
| 31 |
+
}
|
tokenizer.json
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
|
| 3 |
+
size 11422654
|
tokenizer_config.json
ADDED
|
@@ -0,0 +1,239 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"add_bos_token": false,
|
| 3 |
+
"add_prefix_space": false,
|
| 4 |
+
"added_tokens_decoder": {
|
| 5 |
+
"151643": {
|
| 6 |
+
"content": "<|endoftext|>",
|
| 7 |
+
"lstrip": false,
|
| 8 |
+
"normalized": false,
|
| 9 |
+
"rstrip": false,
|
| 10 |
+
"single_word": false,
|
| 11 |
+
"special": true
|
| 12 |
+
},
|
| 13 |
+
"151644": {
|
| 14 |
+
"content": "<|im_start|>",
|
| 15 |
+
"lstrip": false,
|
| 16 |
+
"normalized": false,
|
| 17 |
+
"rstrip": false,
|
| 18 |
+
"single_word": false,
|
| 19 |
+
"special": true
|
| 20 |
+
},
|
| 21 |
+
"151645": {
|
| 22 |
+
"content": "<|im_end|>",
|
| 23 |
+
"lstrip": false,
|
| 24 |
+
"normalized": false,
|
| 25 |
+
"rstrip": false,
|
| 26 |
+
"single_word": false,
|
| 27 |
+
"special": true
|
| 28 |
+
},
|
| 29 |
+
"151646": {
|
| 30 |
+
"content": "<|object_ref_start|>",
|
| 31 |
+
"lstrip": false,
|
| 32 |
+
"normalized": false,
|
| 33 |
+
"rstrip": false,
|
| 34 |
+
"single_word": false,
|
| 35 |
+
"special": true
|
| 36 |
+
},
|
| 37 |
+
"151647": {
|
| 38 |
+
"content": "<|object_ref_end|>",
|
| 39 |
+
"lstrip": false,
|
| 40 |
+
"normalized": false,
|
| 41 |
+
"rstrip": false,
|
| 42 |
+
"single_word": false,
|
| 43 |
+
"special": true
|
| 44 |
+
},
|
| 45 |
+
"151648": {
|
| 46 |
+
"content": "<|box_start|>",
|
| 47 |
+
"lstrip": false,
|
| 48 |
+
"normalized": false,
|
| 49 |
+
"rstrip": false,
|
| 50 |
+
"single_word": false,
|
| 51 |
+
"special": true
|
| 52 |
+
},
|
| 53 |
+
"151649": {
|
| 54 |
+
"content": "<|box_end|>",
|
| 55 |
+
"lstrip": false,
|
| 56 |
+
"normalized": false,
|
| 57 |
+
"rstrip": false,
|
| 58 |
+
"single_word": false,
|
| 59 |
+
"special": true
|
| 60 |
+
},
|
| 61 |
+
"151650": {
|
| 62 |
+
"content": "<|quad_start|>",
|
| 63 |
+
"lstrip": false,
|
| 64 |
+
"normalized": false,
|
| 65 |
+
"rstrip": false,
|
| 66 |
+
"single_word": false,
|
| 67 |
+
"special": true
|
| 68 |
+
},
|
| 69 |
+
"151651": {
|
| 70 |
+
"content": "<|quad_end|>",
|
| 71 |
+
"lstrip": false,
|
| 72 |
+
"normalized": false,
|
| 73 |
+
"rstrip": false,
|
| 74 |
+
"single_word": false,
|
| 75 |
+
"special": true
|
| 76 |
+
},
|
| 77 |
+
"151652": {
|
| 78 |
+
"content": "<|vision_start|>",
|
| 79 |
+
"lstrip": false,
|
| 80 |
+
"normalized": false,
|
| 81 |
+
"rstrip": false,
|
| 82 |
+
"single_word": false,
|
| 83 |
+
"special": true
|
| 84 |
+
},
|
| 85 |
+
"151653": {
|
| 86 |
+
"content": "<|vision_end|>",
|
| 87 |
+
"lstrip": false,
|
| 88 |
+
"normalized": false,
|
| 89 |
+
"rstrip": false,
|
| 90 |
+
"single_word": false,
|
| 91 |
+
"special": true
|
| 92 |
+
},
|
| 93 |
+
"151654": {
|
| 94 |
+
"content": "<|vision_pad|>",
|
| 95 |
+
"lstrip": false,
|
| 96 |
+
"normalized": false,
|
| 97 |
+
"rstrip": false,
|
| 98 |
+
"single_word": false,
|
| 99 |
+
"special": true
|
| 100 |
+
},
|
| 101 |
+
"151655": {
|
| 102 |
+
"content": "<|image_pad|>",
|
| 103 |
+
"lstrip": false,
|
| 104 |
+
"normalized": false,
|
| 105 |
+
"rstrip": false,
|
| 106 |
+
"single_word": false,
|
| 107 |
+
"special": true
|
| 108 |
+
},
|
| 109 |
+
"151656": {
|
| 110 |
+
"content": "<|video_pad|>",
|
| 111 |
+
"lstrip": false,
|
| 112 |
+
"normalized": false,
|
| 113 |
+
"rstrip": false,
|
| 114 |
+
"single_word": false,
|
| 115 |
+
"special": true
|
| 116 |
+
},
|
| 117 |
+
"151657": {
|
| 118 |
+
"content": "<tool_call>",
|
| 119 |
+
"lstrip": false,
|
| 120 |
+
"normalized": false,
|
| 121 |
+
"rstrip": false,
|
| 122 |
+
"single_word": false,
|
| 123 |
+
"special": false
|
| 124 |
+
},
|
| 125 |
+
"151658": {
|
| 126 |
+
"content": "</tool_call>",
|
| 127 |
+
"lstrip": false,
|
| 128 |
+
"normalized": false,
|
| 129 |
+
"rstrip": false,
|
| 130 |
+
"single_word": false,
|
| 131 |
+
"special": false
|
| 132 |
+
},
|
| 133 |
+
"151659": {
|
| 134 |
+
"content": "<|fim_prefix|>",
|
| 135 |
+
"lstrip": false,
|
| 136 |
+
"normalized": false,
|
| 137 |
+
"rstrip": false,
|
| 138 |
+
"single_word": false,
|
| 139 |
+
"special": false
|
| 140 |
+
},
|
| 141 |
+
"151660": {
|
| 142 |
+
"content": "<|fim_middle|>",
|
| 143 |
+
"lstrip": false,
|
| 144 |
+
"normalized": false,
|
| 145 |
+
"rstrip": false,
|
| 146 |
+
"single_word": false,
|
| 147 |
+
"special": false
|
| 148 |
+
},
|
| 149 |
+
"151661": {
|
| 150 |
+
"content": "<|fim_suffix|>",
|
| 151 |
+
"lstrip": false,
|
| 152 |
+
"normalized": false,
|
| 153 |
+
"rstrip": false,
|
| 154 |
+
"single_word": false,
|
| 155 |
+
"special": false
|
| 156 |
+
},
|
| 157 |
+
"151662": {
|
| 158 |
+
"content": "<|fim_pad|>",
|
| 159 |
+
"lstrip": false,
|
| 160 |
+
"normalized": false,
|
| 161 |
+
"rstrip": false,
|
| 162 |
+
"single_word": false,
|
| 163 |
+
"special": false
|
| 164 |
+
},
|
| 165 |
+
"151663": {
|
| 166 |
+
"content": "<|repo_name|>",
|
| 167 |
+
"lstrip": false,
|
| 168 |
+
"normalized": false,
|
| 169 |
+
"rstrip": false,
|
| 170 |
+
"single_word": false,
|
| 171 |
+
"special": false
|
| 172 |
+
},
|
| 173 |
+
"151664": {
|
| 174 |
+
"content": "<|file_sep|>",
|
| 175 |
+
"lstrip": false,
|
| 176 |
+
"normalized": false,
|
| 177 |
+
"rstrip": false,
|
| 178 |
+
"single_word": false,
|
| 179 |
+
"special": false
|
| 180 |
+
},
|
| 181 |
+
"151665": {
|
| 182 |
+
"content": "<tool_response>",
|
| 183 |
+
"lstrip": false,
|
| 184 |
+
"normalized": false,
|
| 185 |
+
"rstrip": false,
|
| 186 |
+
"single_word": false,
|
| 187 |
+
"special": false
|
| 188 |
+
},
|
| 189 |
+
"151666": {
|
| 190 |
+
"content": "</tool_response>",
|
| 191 |
+
"lstrip": false,
|
| 192 |
+
"normalized": false,
|
| 193 |
+
"rstrip": false,
|
| 194 |
+
"single_word": false,
|
| 195 |
+
"special": false
|
| 196 |
+
},
|
| 197 |
+
"151667": {
|
| 198 |
+
"content": "<think>",
|
| 199 |
+
"lstrip": false,
|
| 200 |
+
"normalized": false,
|
| 201 |
+
"rstrip": false,
|
| 202 |
+
"single_word": false,
|
| 203 |
+
"special": false
|
| 204 |
+
},
|
| 205 |
+
"151668": {
|
| 206 |
+
"content": "</think>",
|
| 207 |
+
"lstrip": false,
|
| 208 |
+
"normalized": false,
|
| 209 |
+
"rstrip": false,
|
| 210 |
+
"single_word": false,
|
| 211 |
+
"special": false
|
| 212 |
+
}
|
| 213 |
+
},
|
| 214 |
+
"additional_special_tokens": [
|
| 215 |
+
"<|im_start|>",
|
| 216 |
+
"<|im_end|>",
|
| 217 |
+
"<|object_ref_start|>",
|
| 218 |
+
"<|object_ref_end|>",
|
| 219 |
+
"<|box_start|>",
|
| 220 |
+
"<|box_end|>",
|
| 221 |
+
"<|quad_start|>",
|
| 222 |
+
"<|quad_end|>",
|
| 223 |
+
"<|vision_start|>",
|
| 224 |
+
"<|vision_end|>",
|
| 225 |
+
"<|vision_pad|>",
|
| 226 |
+
"<|image_pad|>",
|
| 227 |
+
"<|video_pad|>"
|
| 228 |
+
],
|
| 229 |
+
"bos_token": null,
|
| 230 |
+
"clean_up_tokenization_spaces": false,
|
| 231 |
+
"eos_token": "<|im_end|>",
|
| 232 |
+
"errors": "replace",
|
| 233 |
+
"extra_special_tokens": {},
|
| 234 |
+
"model_max_length": 1010000,
|
| 235 |
+
"pad_token": "<|endoftext|>",
|
| 236 |
+
"split_special_tokens": false,
|
| 237 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
| 238 |
+
"unk_token": null
|
| 239 |
+
}
|
vocab.json
ADDED
|
The diff for this file is too large to render.
See raw diff
|
|
|
voicescribe-model-layout.json
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"schema_version": 1,
|
| 3 |
+
"generated_at": "2026-04-23T22:23:39Z",
|
| 4 |
+
"layout_key": "corrector",
|
| 5 |
+
"target_dir": "qwen3-4b-instruct-2507-ov",
|
| 6 |
+
"upstream_repo": "anubhav200/Qwen3-4B-Instruct-2507-openvino-int4",
|
| 7 |
+
"upstream_revision": "ea34b26c6e5f3babeb3eef61e5abb3da50f0f075",
|
| 8 |
+
"upstream_sha": "ea34b26c6e5f3babeb3eef61e5abb3da50f0f075",
|
| 9 |
+
"description": "Qwen3-4B Instruct 2507 OpenVINO INT4 corrector layout.",
|
| 10 |
+
"required_files": [
|
| 11 |
+
"config.json",
|
| 12 |
+
"generation_config.json",
|
| 13 |
+
"chat_template.jinja",
|
| 14 |
+
"added_tokens.json",
|
| 15 |
+
"merges.txt",
|
| 16 |
+
"special_tokens_map.json",
|
| 17 |
+
"tokenizer.json",
|
| 18 |
+
"tokenizer_config.json",
|
| 19 |
+
"vocab.json",
|
| 20 |
+
"graph.pbtxt",
|
| 21 |
+
"openvino_model.xml",
|
| 22 |
+
"openvino_model.bin",
|
| 23 |
+
"openvino_tokenizer.xml",
|
| 24 |
+
"openvino_tokenizer.bin",
|
| 25 |
+
"openvino_detokenizer.xml",
|
| 26 |
+
"openvino_detokenizer.bin"
|
| 27 |
+
],
|
| 28 |
+
"allow_patterns": [],
|
| 29 |
+
"license_metadata": {
|
| 30 |
+
"license": "apache-2.0",
|
| 31 |
+
"license_tags": [
|
| 32 |
+
"license:apache-2.0"
|
| 33 |
+
],
|
| 34 |
+
"license_files": []
|
| 35 |
+
}
|
| 36 |
+
}
|