Anthonyfhd
commited on
Upload 14 files
Browse files- added_tokens.json +5 -0
- config.json +27 -0
- generation_config.json +12 -0
- merges.txt +0 -0
- openvino_detokenizer.bin +3 -0
- openvino_detokenizer.xml +167 -0
- openvino_model.bin +3 -0
- openvino_model.xml +0 -0
- openvino_tokenizer.bin +3 -0
- openvino_tokenizer.xml +591 -0
- special_tokens_map.json +20 -0
- tokenizer.json +0 -0
- tokenizer_config.json +43 -0
- vocab.json +0 -0
added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 151643,
|
3 |
+
"<|im_end|>": 151645,
|
4 |
+
"<|im_start|>": 151644
|
5 |
+
}
|
config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "./",
|
3 |
+
"architectures": [
|
4 |
+
"Qwen2ForCausalLM"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 151643,
|
8 |
+
"eos_token_id": 151645,
|
9 |
+
"hidden_act": "silu",
|
10 |
+
"hidden_size": 1024,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 2816,
|
13 |
+
"max_position_embeddings": 32768,
|
14 |
+
"max_window_layers": 21,
|
15 |
+
"model_type": "qwen2",
|
16 |
+
"num_attention_heads": 16,
|
17 |
+
"num_hidden_layers": 24,
|
18 |
+
"num_key_value_heads": 16,
|
19 |
+
"rms_norm_eps": 1e-06,
|
20 |
+
"rope_theta": 1000000.0,
|
21 |
+
"sliding_window": 32768,
|
22 |
+
"tie_word_embeddings": true,
|
23 |
+
"transformers_version": "4.41.2",
|
24 |
+
"use_cache": true,
|
25 |
+
"use_sliding_window": false,
|
26 |
+
"vocab_size": 151936
|
27 |
+
}
|
generation_config.json
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
+
"repetition_penalty": 1.1,
|
10 |
+
"top_p": 0.8,
|
11 |
+
"transformers_version": "4.41.2"
|
12 |
+
}
|
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:21cf6c8b56befd893a8bdb1f17df48df1fcb2d848dfd8396fc63a8e89bc31820
|
3 |
+
size 1976110
|
openvino_detokenizer.xml
ADDED
@@ -0,0 +1,167 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<net name="detokenizer" version="11">
|
3 |
+
<layers>
|
4 |
+
<layer id="0" name="Parameter_187747" type="Parameter" version="opset1">
|
5 |
+
<data shape="?,?" element_type="i64" />
|
6 |
+
<output>
|
7 |
+
<port id="0" precision="I64" names="Parameter_187747">
|
8 |
+
<dim>-1</dim>
|
9 |
+
<dim>-1</dim>
|
10 |
+
</port>
|
11 |
+
</output>
|
12 |
+
</layer>
|
13 |
+
<layer id="1" name="Convert_187758" 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_187729" type="Const" version="opset1">
|
29 |
+
<data element_type="u8" shape="1976110" offset="0" size="1976110" />
|
30 |
+
<output>
|
31 |
+
<port id="0" precision="U8">
|
32 |
+
<dim>1976110</dim>
|
33 |
+
</port>
|
34 |
+
</output>
|
35 |
+
</layer>
|
36 |
+
<layer id="3" name="StringTensorUnpack_187730" type="StringTensorUnpack" version="extension">
|
37 |
+
<data mode="begins_ends" />
|
38 |
+
<input>
|
39 |
+
<port id="0" precision="U8">
|
40 |
+
<dim>1976110</dim>
|
41 |
+
</port>
|
42 |
+
</input>
|
43 |
+
<output>
|
44 |
+
<port id="1" precision="I32">
|
45 |
+
<dim>-1</dim>
|
46 |
+
</port>
|
47 |
+
<port id="2" precision="I32">
|
48 |
+
<dim>-1</dim>
|
49 |
+
</port>
|
50 |
+
<port id="3" precision="U8">
|
51 |
+
<dim>-1</dim>
|
52 |
+
</port>
|
53 |
+
</output>
|
54 |
+
</layer>
|
55 |
+
<layer id="4" name="VocabDecoder_187748" type="VocabDecoder" version="extension">
|
56 |
+
<data skip_tokens="" />
|
57 |
+
<input>
|
58 |
+
<port id="0" precision="I32">
|
59 |
+
<dim>-1</dim>
|
60 |
+
<dim>-1</dim>
|
61 |
+
</port>
|
62 |
+
<port id="1" precision="I32">
|
63 |
+
<dim>-1</dim>
|
64 |
+
</port>
|
65 |
+
<port id="2" precision="I32">
|
66 |
+
<dim>-1</dim>
|
67 |
+
</port>
|
68 |
+
<port id="3" precision="U8">
|
69 |
+
<dim>-1</dim>
|
70 |
+
</port>
|
71 |
+
</input>
|
72 |
+
<output>
|
73 |
+
<port id="4" precision="I32">
|
74 |
+
<dim>-1</dim>
|
75 |
+
</port>
|
76 |
+
<port id="5" precision="I32">
|
77 |
+
<dim>-1</dim>
|
78 |
+
</port>
|
79 |
+
<port id="6" precision="I32">
|
80 |
+
<dim>-1</dim>
|
81 |
+
</port>
|
82 |
+
<port id="7" precision="I32">
|
83 |
+
<dim>-1</dim>
|
84 |
+
</port>
|
85 |
+
<port id="8" precision="U8">
|
86 |
+
<dim>-1</dim>
|
87 |
+
</port>
|
88 |
+
</output>
|
89 |
+
</layer>
|
90 |
+
<layer id="5" name="CharsToBytes_187749" type="CharsToBytes" version="extension">
|
91 |
+
<input>
|
92 |
+
<port id="0" precision="I32">
|
93 |
+
<dim>-1</dim>
|
94 |
+
</port>
|
95 |
+
<port id="1" precision="I32">
|
96 |
+
<dim>-1</dim>
|
97 |
+
</port>
|
98 |
+
<port id="2" precision="I32">
|
99 |
+
<dim>-1</dim>
|
100 |
+
</port>
|
101 |
+
<port id="3" precision="I32">
|
102 |
+
<dim>-1</dim>
|
103 |
+
</port>
|
104 |
+
<port id="4" precision="U8">
|
105 |
+
<dim>-1</dim>
|
106 |
+
</port>
|
107 |
+
</input>
|
108 |
+
<output>
|
109 |
+
<port id="5" precision="I32">
|
110 |
+
<dim>-1</dim>
|
111 |
+
</port>
|
112 |
+
<port id="6" precision="I32">
|
113 |
+
<dim>-1</dim>
|
114 |
+
</port>
|
115 |
+
<port id="7" precision="U8">
|
116 |
+
<dim>-1</dim>
|
117 |
+
</port>
|
118 |
+
</output>
|
119 |
+
</layer>
|
120 |
+
<layer id="6" name="StringTensorPack_187750" type="StringTensorPack" version="extension">
|
121 |
+
<data mode="begins_ends" />
|
122 |
+
<input>
|
123 |
+
<port id="0" precision="I32">
|
124 |
+
<dim>-1</dim>
|
125 |
+
</port>
|
126 |
+
<port id="1" precision="I32">
|
127 |
+
<dim>-1</dim>
|
128 |
+
</port>
|
129 |
+
<port id="2" precision="U8">
|
130 |
+
<dim>-1</dim>
|
131 |
+
</port>
|
132 |
+
</input>
|
133 |
+
<output>
|
134 |
+
<port id="3" precision="STRING" names="string_output">
|
135 |
+
<dim>-1</dim>
|
136 |
+
</port>
|
137 |
+
</output>
|
138 |
+
</layer>
|
139 |
+
<layer id="7" name="Result_187751" type="Result" version="opset1">
|
140 |
+
<input>
|
141 |
+
<port id="0" precision="STRING">
|
142 |
+
<dim>-1</dim>
|
143 |
+
</port>
|
144 |
+
</input>
|
145 |
+
</layer>
|
146 |
+
</layers>
|
147 |
+
<edges>
|
148 |
+
<edge from-layer="0" from-port="0" to-layer="1" to-port="0" />
|
149 |
+
<edge from-layer="1" from-port="1" to-layer="4" to-port="0" />
|
150 |
+
<edge from-layer="2" from-port="0" to-layer="3" to-port="0" />
|
151 |
+
<edge from-layer="3" from-port="1" to-layer="4" to-port="1" />
|
152 |
+
<edge from-layer="3" from-port="2" to-layer="4" to-port="2" />
|
153 |
+
<edge from-layer="3" from-port="3" to-layer="4" to-port="3" />
|
154 |
+
<edge from-layer="4" from-port="4" to-layer="5" to-port="0" />
|
155 |
+
<edge from-layer="4" from-port="5" to-layer="5" to-port="1" />
|
156 |
+
<edge from-layer="4" from-port="6" to-layer="5" to-port="2" />
|
157 |
+
<edge from-layer="4" from-port="7" to-layer="5" to-port="3" />
|
158 |
+
<edge from-layer="4" from-port="8" to-layer="5" to-port="4" />
|
159 |
+
<edge from-layer="5" from-port="5" to-layer="6" to-port="0" />
|
160 |
+
<edge from-layer="5" from-port="6" to-layer="6" to-port="1" />
|
161 |
+
<edge from-layer="5" from-port="7" to-layer="6" to-port="2" />
|
162 |
+
<edge from-layer="6" from-port="3" to-layer="7" to-port="0" />
|
163 |
+
</edges>
|
164 |
+
<rt_info>
|
165 |
+
<eos_token_id value="151645" />
|
166 |
+
</rt_info>
|
167 |
+
</net>
|
openvino_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:377e2904b75a98d3e75c06eb09589df2c72b9d7658fcfc9b100f230e63c99083
|
3 |
+
size 1872728300
|
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:da7c611add76c1a5decb3852e943bb876ac9df60217889383c752b4765a3d58c
|
3 |
+
size 4102257
|
openvino_tokenizer.xml
ADDED
@@ -0,0 +1,591 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0"?>
|
2 |
+
<net name="tokenizer" version="11">
|
3 |
+
<layers>
|
4 |
+
<layer id="0" name="Parameter_187647" type="Parameter" version="opset1">
|
5 |
+
<data shape="?" element_type="string" />
|
6 |
+
<output>
|
7 |
+
<port id="0" precision="STRING" names="Parameter_187647">
|
8 |
+
<dim>-1</dim>
|
9 |
+
</port>
|
10 |
+
</output>
|
11 |
+
</layer>
|
12 |
+
<layer id="1" name="Constant_187654" 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_187648" type="StringTensorUnpack" version="extension">
|
19 |
+
<data mode="begins_ends" />
|
20 |
+
<input>
|
21 |
+
<port id="0" precision="STRING">
|
22 |
+
<dim>-1</dim>
|
23 |
+
</port>
|
24 |
+
</input>
|
25 |
+
<output>
|
26 |
+
<port id="1" precision="I32">
|
27 |
+
<dim>-1</dim>
|
28 |
+
</port>
|
29 |
+
<port id="2" precision="I32">
|
30 |
+
<dim>-1</dim>
|
31 |
+
</port>
|
32 |
+
<port id="3" precision="U8">
|
33 |
+
<dim>-1</dim>
|
34 |
+
</port>
|
35 |
+
</output>
|
36 |
+
</layer>
|
37 |
+
<layer id="3" name="NormalizeUnicode_187649" type="NormalizeUnicode" version="extension">
|
38 |
+
<data normalization_form="NFC" />
|
39 |
+
<input>
|
40 |
+
<port id="0" precision="I32">
|
41 |
+
<dim>-1</dim>
|
42 |
+
</port>
|
43 |
+
<port id="1" precision="I32">
|
44 |
+
<dim>-1</dim>
|
45 |
+
</port>
|
46 |
+
<port id="2" precision="U8">
|
47 |
+
<dim>-1</dim>
|
48 |
+
</port>
|
49 |
+
</input>
|
50 |
+
<output>
|
51 |
+
<port id="3" precision="I32">
|
52 |
+
<dim>-1</dim>
|
53 |
+
</port>
|
54 |
+
<port id="4" precision="I32">
|
55 |
+
<dim>-1</dim>
|
56 |
+
</port>
|
57 |
+
<port id="5" precision="U8">
|
58 |
+
<dim>-1</dim>
|
59 |
+
</port>
|
60 |
+
</output>
|
61 |
+
</layer>
|
62 |
+
<layer id="4" name="ShapeOf_187650" type="ShapeOf" version="opset3">
|
63 |
+
<data output_type="i64" />
|
64 |
+
<input>
|
65 |
+
<port id="0" precision="I32">
|
66 |
+
<dim>-1</dim>
|
67 |
+
</port>
|
68 |
+
</input>
|
69 |
+
<output>
|
70 |
+
<port id="1" precision="I64">
|
71 |
+
<dim>1</dim>
|
72 |
+
</port>
|
73 |
+
</output>
|
74 |
+
</layer>
|
75 |
+
<layer id="5" name="Constant_187651" type="Const" version="opset1">
|
76 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
77 |
+
<output>
|
78 |
+
<port id="0" precision="I32" />
|
79 |
+
</output>
|
80 |
+
</layer>
|
81 |
+
<layer id="6" name="Constant_187652" type="Const" version="opset1">
|
82 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
83 |
+
<output>
|
84 |
+
<port id="0" precision="I32" />
|
85 |
+
</output>
|
86 |
+
</layer>
|
87 |
+
<layer id="7" name="Gather_187653" type="Gather" version="opset8">
|
88 |
+
<data batch_dims="0" />
|
89 |
+
<input>
|
90 |
+
<port id="0" precision="I64">
|
91 |
+
<dim>1</dim>
|
92 |
+
</port>
|
93 |
+
<port id="1" precision="I32" />
|
94 |
+
<port id="2" precision="I32" />
|
95 |
+
</input>
|
96 |
+
<output>
|
97 |
+
<port id="3" precision="I64" />
|
98 |
+
</output>
|
99 |
+
</layer>
|
100 |
+
<layer id="8" name="Constant_187655" type="Const" version="opset1">
|
101 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
102 |
+
<output>
|
103 |
+
<port id="0" precision="I32" />
|
104 |
+
</output>
|
105 |
+
</layer>
|
106 |
+
<layer id="9" name="Range_187656" type="Range" version="opset4">
|
107 |
+
<data output_type="i32" />
|
108 |
+
<input>
|
109 |
+
<port id="0" precision="I32" />
|
110 |
+
<port id="1" precision="I64" />
|
111 |
+
<port id="2" precision="I32" />
|
112 |
+
</input>
|
113 |
+
<output>
|
114 |
+
<port id="3" precision="I32">
|
115 |
+
<dim>-1</dim>
|
116 |
+
</port>
|
117 |
+
</output>
|
118 |
+
</layer>
|
119 |
+
<layer id="10" name="Constant_187658" type="Const" version="opset1">
|
120 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
121 |
+
<output>
|
122 |
+
<port id="0" precision="I32" />
|
123 |
+
</output>
|
124 |
+
</layer>
|
125 |
+
<layer id="11" name="Constant_187659" type="Const" version="opset1">
|
126 |
+
<data element_type="i64" shape="" offset="8" size="8" />
|
127 |
+
<output>
|
128 |
+
<port id="0" precision="I64" />
|
129 |
+
</output>
|
130 |
+
</layer>
|
131 |
+
<layer id="12" name="Add_187660" type="Add" version="opset1">
|
132 |
+
<data auto_broadcast="numpy" />
|
133 |
+
<input>
|
134 |
+
<port id="0" precision="I64" />
|
135 |
+
<port id="1" precision="I64" />
|
136 |
+
</input>
|
137 |
+
<output>
|
138 |
+
<port id="2" precision="I64" />
|
139 |
+
</output>
|
140 |
+
</layer>
|
141 |
+
<layer id="13" name="Constant_187661" type="Const" version="opset1">
|
142 |
+
<data element_type="i32" shape="" offset="4" size="4" />
|
143 |
+
<output>
|
144 |
+
<port id="0" precision="I32" />
|
145 |
+
</output>
|
146 |
+
</layer>
|
147 |
+
<layer id="14" name="Range_187662" type="Range" version="opset4">
|
148 |
+
<data output_type="i32" />
|
149 |
+
<input>
|
150 |
+
<port id="0" precision="I32" />
|
151 |
+
<port id="1" precision="I64" />
|
152 |
+
<port id="2" precision="I32" />
|
153 |
+
</input>
|
154 |
+
<output>
|
155 |
+
<port id="3" precision="I32">
|
156 |
+
<dim>-1</dim>
|
157 |
+
</port>
|
158 |
+
</output>
|
159 |
+
</layer>
|
160 |
+
<layer id="15" name="Constant_187725" type="Const" version="opset1">
|
161 |
+
<data element_type="u8" shape="115" offset="16" size="115" />
|
162 |
+
<output>
|
163 |
+
<port id="0" precision="U8">
|
164 |
+
<dim>115</dim>
|
165 |
+
</port>
|
166 |
+
</output>
|
167 |
+
</layer>
|
168 |
+
<layer id="16" name="RegexSplit_187726" type="RegexSplit" version="extension">
|
169 |
+
<data behaviour="isolate" invert="false" max_splits="-1" />
|
170 |
+
<input>
|
171 |
+
<port id="0" precision="I32">
|
172 |
+
<dim>-1</dim>
|
173 |
+
</port>
|
174 |
+
<port id="1" precision="I32">
|
175 |
+
<dim>-1</dim>
|
176 |
+
</port>
|
177 |
+
<port id="2" precision="I32">
|
178 |
+
<dim>-1</dim>
|
179 |
+
</port>
|
180 |
+
<port id="3" precision="I32">
|
181 |
+
<dim>-1</dim>
|
182 |
+
</port>
|
183 |
+
<port id="4" precision="U8">
|
184 |
+
<dim>-1</dim>
|
185 |
+
</port>
|
186 |
+
<port id="5" precision="U8">
|
187 |
+
<dim>115</dim>
|
188 |
+
</port>
|
189 |
+
</input>
|
190 |
+
<output>
|
191 |
+
<port id="6" precision="I32">
|
192 |
+
<dim>-1</dim>
|
193 |
+
</port>
|
194 |
+
<port id="7" precision="I32">
|
195 |
+
<dim>-1</dim>
|
196 |
+
</port>
|
197 |
+
<port id="8" precision="I32">
|
198 |
+
<dim>-1</dim>
|
199 |
+
</port>
|
200 |
+
<port id="9" precision="I32">
|
201 |
+
<dim>-1</dim>
|
202 |
+
</port>
|
203 |
+
<port id="10" precision="U8">
|
204 |
+
<dim>-1</dim>
|
205 |
+
</port>
|
206 |
+
</output>
|
207 |
+
</layer>
|
208 |
+
<layer id="17" name="BytesToChars_187727" type="BytesToChars" version="extension">
|
209 |
+
<input>
|
210 |
+
<port id="0" precision="I32">
|
211 |
+
<dim>-1</dim>
|
212 |
+
</port>
|
213 |
+
<port id="1" precision="I32">
|
214 |
+
<dim>-1</dim>
|
215 |
+
</port>
|
216 |
+
<port id="2" precision="I32">
|
217 |
+
<dim>-1</dim>
|
218 |
+
</port>
|
219 |
+
<port id="3" precision="I32">
|
220 |
+
<dim>-1</dim>
|
221 |
+
</port>
|
222 |
+
<port id="4" precision="U8">
|
223 |
+
<dim>-1</dim>
|
224 |
+
</port>
|
225 |
+
</input>
|
226 |
+
<output>
|
227 |
+
<port id="5" precision="I32">
|
228 |
+
<dim>-1</dim>
|
229 |
+
</port>
|
230 |
+
<port id="6" precision="I32">
|
231 |
+
<dim>-1</dim>
|
232 |
+
</port>
|
233 |
+
<port id="7" precision="I32">
|
234 |
+
<dim>-1</dim>
|
235 |
+
</port>
|
236 |
+
<port id="8" precision="I32">
|
237 |
+
<dim>-1</dim>
|
238 |
+
</port>
|
239 |
+
<port id="9" precision="U8">
|
240 |
+
<dim>-1</dim>
|
241 |
+
</port>
|
242 |
+
</output>
|
243 |
+
</layer>
|
244 |
+
<layer id="18" name="Constant_187729" type="Const" version="opset1">
|
245 |
+
<data element_type="u8" shape="1976110" offset="131" size="1976110" />
|
246 |
+
<output>
|
247 |
+
<port id="0" precision="U8">
|
248 |
+
<dim>1976110</dim>
|
249 |
+
</port>
|
250 |
+
</output>
|
251 |
+
</layer>
|
252 |
+
<layer id="19" name="StringTensorUnpack_187730" type="StringTensorUnpack" version="extension">
|
253 |
+
<data mode="begins_ends" />
|
254 |
+
<input>
|
255 |
+
<port id="0" precision="U8">
|
256 |
+
<dim>1976110</dim>
|
257 |
+
</port>
|
258 |
+
</input>
|
259 |
+
<output>
|
260 |
+
<port id="1" precision="I32">
|
261 |
+
<dim>-1</dim>
|
262 |
+
</port>
|
263 |
+
<port id="2" precision="I32">
|
264 |
+
<dim>-1</dim>
|
265 |
+
</port>
|
266 |
+
<port id="3" precision="U8">
|
267 |
+
<dim>-1</dim>
|
268 |
+
</port>
|
269 |
+
</output>
|
270 |
+
</layer>
|
271 |
+
<layer id="20" name="Constant_187732" type="Const" version="opset1">
|
272 |
+
<data element_type="u8" shape="2126008" offset="1976241" size="2126008" />
|
273 |
+
<output>
|
274 |
+
<port id="0" precision="U8">
|
275 |
+
<dim>2126008</dim>
|
276 |
+
</port>
|
277 |
+
</output>
|
278 |
+
</layer>
|
279 |
+
<layer id="21" name="StringTensorUnpack_187733" type="StringTensorUnpack" version="extension">
|
280 |
+
<data mode="begins_ends" />
|
281 |
+
<input>
|
282 |
+
<port id="0" precision="U8">
|
283 |
+
<dim>2126008</dim>
|
284 |
+
</port>
|
285 |
+
</input>
|
286 |
+
<output>
|
287 |
+
<port id="1" precision="I32">
|
288 |
+
<dim>-1</dim>
|
289 |
+
</port>
|
290 |
+
<port id="2" precision="I32">
|
291 |
+
<dim>-1</dim>
|
292 |
+
</port>
|
293 |
+
<port id="3" precision="U8">
|
294 |
+
<dim>-1</dim>
|
295 |
+
</port>
|
296 |
+
</output>
|
297 |
+
</layer>
|
298 |
+
<layer id="22" name="BPETokenizer_187734" type="BPETokenizer" version="extension">
|
299 |
+
<data unk_token="" fuse_unk="false" suffix_indicator="" end_suffix="" byte_fallback="false" />
|
300 |
+
<input>
|
301 |
+
<port id="0" precision="I32">
|
302 |
+
<dim>-1</dim>
|
303 |
+
</port>
|
304 |
+
<port id="1" precision="I32">
|
305 |
+
<dim>-1</dim>
|
306 |
+
</port>
|
307 |
+
<port id="2" precision="I32">
|
308 |
+
<dim>-1</dim>
|
309 |
+
</port>
|
310 |
+
<port id="3" precision="I32">
|
311 |
+
<dim>-1</dim>
|
312 |
+
</port>
|
313 |
+
<port id="4" precision="U8">
|
314 |
+
<dim>-1</dim>
|
315 |
+
</port>
|
316 |
+
<port id="5" precision="I32">
|
317 |
+
<dim>-1</dim>
|
318 |
+
</port>
|
319 |
+
<port id="6" precision="I32">
|
320 |
+
<dim>-1</dim>
|
321 |
+
</port>
|
322 |
+
<port id="7" precision="U8">
|
323 |
+
<dim>-1</dim>
|
324 |
+
</port>
|
325 |
+
<port id="8" precision="I32">
|
326 |
+
<dim>-1</dim>
|
327 |
+
</port>
|
328 |
+
<port id="9" precision="I32">
|
329 |
+
<dim>-1</dim>
|
330 |
+
</port>
|
331 |
+
<port id="10" precision="U8">
|
332 |
+
<dim>-1</dim>
|
333 |
+
</port>
|
334 |
+
</input>
|
335 |
+
<output>
|
336 |
+
<port id="11" precision="I32">
|
337 |
+
<dim>-1</dim>
|
338 |
+
</port>
|
339 |
+
<port id="12" precision="I32">
|
340 |
+
<dim>-1</dim>
|
341 |
+
</port>
|
342 |
+
<port id="13" precision="I32">
|
343 |
+
<dim>-1</dim>
|
344 |
+
</port>
|
345 |
+
</output>
|
346 |
+
</layer>
|
347 |
+
<layer id="23" name="Subtract_187735" type="Subtract" version="opset1">
|
348 |
+
<data auto_broadcast="numpy" />
|
349 |
+
<input>
|
350 |
+
<port id="0" precision="I32">
|
351 |
+
<dim>-1</dim>
|
352 |
+
</port>
|
353 |
+
<port id="1" precision="I32">
|
354 |
+
<dim>-1</dim>
|
355 |
+
</port>
|
356 |
+
</input>
|
357 |
+
<output>
|
358 |
+
<port id="2" precision="I32">
|
359 |
+
<dim>-1</dim>
|
360 |
+
</port>
|
361 |
+
</output>
|
362 |
+
</layer>
|
363 |
+
<layer id="24" name="Constant_187736" type="Const" version="opset1">
|
364 |
+
<data element_type="i32" shape="" offset="4102249" size="4" />
|
365 |
+
<output>
|
366 |
+
<port id="0" precision="I32" />
|
367 |
+
</output>
|
368 |
+
</layer>
|
369 |
+
<layer id="25" name="Minimum_187737" type="Minimum" version="opset1">
|
370 |
+
<data auto_broadcast="numpy" />
|
371 |
+
<input>
|
372 |
+
<port id="0" precision="I32">
|
373 |
+
<dim>-1</dim>
|
374 |
+
</port>
|
375 |
+
<port id="1" precision="I32" />
|
376 |
+
</input>
|
377 |
+
<output>
|
378 |
+
<port id="2" precision="I32">
|
379 |
+
<dim>-1</dim>
|
380 |
+
</port>
|
381 |
+
</output>
|
382 |
+
</layer>
|
383 |
+
<layer id="26" name="Add_187738" type="Add" version="opset1">
|
384 |
+
<data auto_broadcast="numpy" />
|
385 |
+
<input>
|
386 |
+
<port id="0" precision="I32">
|
387 |
+
<dim>-1</dim>
|
388 |
+
</port>
|
389 |
+
<port id="1" precision="I32">
|
390 |
+
<dim>-1</dim>
|
391 |
+
</port>
|
392 |
+
</input>
|
393 |
+
<output>
|
394 |
+
<port id="2" precision="I32">
|
395 |
+
<dim>-1</dim>
|
396 |
+
</port>
|
397 |
+
</output>
|
398 |
+
</layer>
|
399 |
+
<layer id="27" name="Subtract_187739" type="Subtract" version="opset1">
|
400 |
+
<data auto_broadcast="numpy" />
|
401 |
+
<input>
|
402 |
+
<port id="0" precision="I32">
|
403 |
+
<dim>-1</dim>
|
404 |
+
</port>
|
405 |
+
<port id="1" precision="I32">
|
406 |
+
<dim>-1</dim>
|
407 |
+
</port>
|
408 |
+
</input>
|
409 |
+
<output>
|
410 |
+
<port id="2" precision="I32">
|
411 |
+
<dim>-1</dim>
|
412 |
+
</port>
|
413 |
+
</output>
|
414 |
+
</layer>
|
415 |
+
<layer id="28" name="Constant_187740" type="Const" version="opset1">
|
416 |
+
<data element_type="i32" shape="" offset="0" size="4" />
|
417 |
+
<output>
|
418 |
+
<port id="0" precision="I32" />
|
419 |
+
</output>
|
420 |
+
</layer>
|
421 |
+
<layer id="29" name="ReduceMax_187741" type="ReduceMax" version="opset1">
|
422 |
+
<data keep_dims="false" />
|
423 |
+
<input>
|
424 |
+
<port id="0" precision="I32">
|
425 |
+
<dim>-1</dim>
|
426 |
+
</port>
|
427 |
+
<port id="1" precision="I32" />
|
428 |
+
</input>
|
429 |
+
<output>
|
430 |
+
<port id="2" precision="I32" />
|
431 |
+
</output>
|
432 |
+
</layer>
|
433 |
+
<layer id="30" name="Constant_187742" type="Const" version="opset1">
|
434 |
+
<data element_type="i32" shape="" offset="4102253" size="4" />
|
435 |
+
<output>
|
436 |
+
<port id="0" precision="I32" />
|
437 |
+
</output>
|
438 |
+
</layer>
|
439 |
+
<layer id="31" name="RaggedToDense_187743" type="RaggedToDense" version="extension">
|
440 |
+
<input>
|
441 |
+
<port id="0" precision="I32">
|
442 |
+
<dim>-1</dim>
|
443 |
+
</port>
|
444 |
+
<port id="1" precision="I32">
|
445 |
+
<dim>-1</dim>
|
446 |
+
</port>
|
447 |
+
<port id="2" precision="I32">
|
448 |
+
<dim>-1</dim>
|
449 |
+
</port>
|
450 |
+
<port id="3" precision="I32" />
|
451 |
+
<port id="4" precision="I32" />
|
452 |
+
</input>
|
453 |
+
<output>
|
454 |
+
<port id="5" precision="I32">
|
455 |
+
<dim>-1</dim>
|
456 |
+
<dim>-1</dim>
|
457 |
+
</port>
|
458 |
+
<port id="6" precision="BOOL">
|
459 |
+
<dim>-1</dim>
|
460 |
+
<dim>-1</dim>
|
461 |
+
</port>
|
462 |
+
</output>
|
463 |
+
</layer>
|
464 |
+
<layer id="32" name="Convert_187744" type="Convert" version="opset1">
|
465 |
+
<data destination_type="i32" />
|
466 |
+
<input>
|
467 |
+
<port id="0" precision="BOOL">
|
468 |
+
<dim>-1</dim>
|
469 |
+
<dim>-1</dim>
|
470 |
+
</port>
|
471 |
+
</input>
|
472 |
+
<output>
|
473 |
+
<port id="1" precision="I32">
|
474 |
+
<dim>-1</dim>
|
475 |
+
<dim>-1</dim>
|
476 |
+
</port>
|
477 |
+
</output>
|
478 |
+
</layer>
|
479 |
+
<layer id="33" name="Convert_187744" type="Convert" version="opset1">
|
480 |
+
<data destination_type="i64" />
|
481 |
+
<input>
|
482 |
+
<port id="0" precision="I32">
|
483 |
+
<dim>-1</dim>
|
484 |
+
<dim>-1</dim>
|
485 |
+
</port>
|
486 |
+
</input>
|
487 |
+
<output>
|
488 |
+
<port id="1" precision="I64" names="attention_mask">
|
489 |
+
<dim>-1</dim>
|
490 |
+
<dim>-1</dim>
|
491 |
+
</port>
|
492 |
+
</output>
|
493 |
+
</layer>
|
494 |
+
<layer id="35" name="RaggedToDense_187743.0" type="Convert" version="opset1">
|
495 |
+
<data destination_type="i64" />
|
496 |
+
<input>
|
497 |
+
<port id="0" precision="I32">
|
498 |
+
<dim>-1</dim>
|
499 |
+
<dim>-1</dim>
|
500 |
+
</port>
|
501 |
+
</input>
|
502 |
+
<output>
|
503 |
+
<port id="1" precision="I64" names="input_ids">
|
504 |
+
<dim>-1</dim>
|
505 |
+
<dim>-1</dim>
|
506 |
+
</port>
|
507 |
+
</output>
|
508 |
+
</layer>
|
509 |
+
<layer id="36" name="Result_187745" type="Result" version="opset1">
|
510 |
+
<input>
|
511 |
+
<port id="0" precision="I64">
|
512 |
+
<dim>-1</dim>
|
513 |
+
<dim>-1</dim>
|
514 |
+
</port>
|
515 |
+
</input>
|
516 |
+
</layer>
|
517 |
+
<layer id="34" name="Result_187746" type="Result" version="opset1">
|
518 |
+
<input>
|
519 |
+
<port id="0" precision="I64">
|
520 |
+
<dim>-1</dim>
|
521 |
+
<dim>-1</dim>
|
522 |
+
</port>
|
523 |
+
</input>
|
524 |
+
</layer>
|
525 |
+
</layers>
|
526 |
+
<edges>
|
527 |
+
<edge from-layer="0" from-port="0" to-layer="2" to-port="0" />
|
528 |
+
<edge from-layer="1" from-port="0" to-layer="9" to-port="0" />
|
529 |
+
<edge from-layer="2" from-port="1" to-layer="3" to-port="0" />
|
530 |
+
<edge from-layer="2" from-port="2" to-layer="3" to-port="1" />
|
531 |
+
<edge from-layer="2" from-port="3" to-layer="3" to-port="2" />
|
532 |
+
<edge from-layer="3" from-port="3" to-layer="4" to-port="0" />
|
533 |
+
<edge from-layer="3" from-port="3" to-layer="16" to-port="2" />
|
534 |
+
<edge from-layer="3" from-port="4" to-layer="16" to-port="3" />
|
535 |
+
<edge from-layer="3" from-port="5" to-layer="16" to-port="4" />
|
536 |
+
<edge from-layer="4" from-port="1" to-layer="7" to-port="0" />
|
537 |
+
<edge from-layer="5" from-port="0" to-layer="7" to-port="1" />
|
538 |
+
<edge from-layer="6" from-port="0" to-layer="7" to-port="2" />
|
539 |
+
<edge from-layer="7" from-port="3" to-layer="9" to-port="1" />
|
540 |
+
<edge from-layer="7" from-port="3" to-layer="12" to-port="0" />
|
541 |
+
<edge from-layer="8" from-port="0" to-layer="9" to-port="2" />
|
542 |
+
<edge from-layer="9" from-port="3" to-layer="16" to-port="0" />
|
543 |
+
<edge from-layer="10" from-port="0" to-layer="14" to-port="0" />
|
544 |
+
<edge from-layer="11" from-port="0" to-layer="12" to-port="1" />
|
545 |
+
<edge from-layer="12" from-port="2" to-layer="14" to-port="1" />
|
546 |
+
<edge from-layer="13" from-port="0" to-layer="14" to-port="2" />
|
547 |
+
<edge from-layer="14" from-port="3" to-layer="16" to-port="1" />
|
548 |
+
<edge from-layer="15" from-port="0" to-layer="16" to-port="5" />
|
549 |
+
<edge from-layer="16" from-port="6" to-layer="17" to-port="0" />
|
550 |
+
<edge from-layer="16" from-port="7" to-layer="17" to-port="1" />
|
551 |
+
<edge from-layer="16" from-port="8" to-layer="17" to-port="2" />
|
552 |
+
<edge from-layer="16" from-port="9" to-layer="17" to-port="3" />
|
553 |
+
<edge from-layer="16" from-port="10" to-layer="17" to-port="4" />
|
554 |
+
<edge from-layer="17" from-port="8" to-layer="22" to-port="3" />
|
555 |
+
<edge from-layer="17" from-port="9" to-layer="22" to-port="4" />
|
556 |
+
<edge from-layer="17" from-port="5" to-layer="22" to-port="0" />
|
557 |
+
<edge from-layer="17" from-port="6" to-layer="22" to-port="1" />
|
558 |
+
<edge from-layer="17" from-port="7" to-layer="22" to-port="2" />
|
559 |
+
<edge from-layer="18" from-port="0" to-layer="19" to-port="0" />
|
560 |
+
<edge from-layer="19" from-port="1" to-layer="22" to-port="5" />
|
561 |
+
<edge from-layer="19" from-port="2" to-layer="22" to-port="6" />
|
562 |
+
<edge from-layer="19" from-port="3" to-layer="22" to-port="7" />
|
563 |
+
<edge from-layer="20" from-port="0" to-layer="21" to-port="0" />
|
564 |
+
<edge from-layer="21" from-port="1" to-layer="22" to-port="8" />
|
565 |
+
<edge from-layer="21" from-port="2" to-layer="22" to-port="9" />
|
566 |
+
<edge from-layer="21" from-port="3" to-layer="22" to-port="10" />
|
567 |
+
<edge from-layer="22" from-port="12" to-layer="23" to-port="0" />
|
568 |
+
<edge from-layer="22" from-port="11" to-layer="23" to-port="1" />
|
569 |
+
<edge from-layer="22" from-port="11" to-layer="26" to-port="0" />
|
570 |
+
<edge from-layer="22" from-port="13" to-layer="31" to-port="2" />
|
571 |
+
<edge from-layer="22" from-port="11" to-layer="27" to-port="1" />
|
572 |
+
<edge from-layer="22" from-port="11" to-layer="31" to-port="0" />
|
573 |
+
<edge from-layer="23" from-port="2" to-layer="25" to-port="0" />
|
574 |
+
<edge from-layer="24" from-port="0" to-layer="25" to-port="1" />
|
575 |
+
<edge from-layer="25" from-port="2" to-layer="26" to-port="1" />
|
576 |
+
<edge from-layer="26" from-port="2" to-layer="27" to-port="0" />
|
577 |
+
<edge from-layer="26" from-port="2" to-layer="31" to-port="1" />
|
578 |
+
<edge from-layer="27" from-port="2" to-layer="29" to-port="0" />
|
579 |
+
<edge from-layer="28" from-port="0" to-layer="29" to-port="1" />
|
580 |
+
<edge from-layer="29" from-port="2" to-layer="31" to-port="3" />
|
581 |
+
<edge from-layer="30" from-port="0" to-layer="31" to-port="4" />
|
582 |
+
<edge from-layer="31" from-port="6" to-layer="32" to-port="0" />
|
583 |
+
<edge from-layer="31" from-port="5" to-layer="35" to-port="0" />
|
584 |
+
<edge from-layer="32" from-port="1" to-layer="33" to-port="0" />
|
585 |
+
<edge from-layer="33" from-port="1" to-layer="34" to-port="0" />
|
586 |
+
<edge from-layer="35" from-port="1" to-layer="36" to-port="0" />
|
587 |
+
</edges>
|
588 |
+
<rt_info>
|
589 |
+
<eos_token_id value="151645" />
|
590 |
+
</rt_info>
|
591 |
+
</net>
|
special_tokens_map.json
ADDED
@@ -0,0 +1,20 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"additional_special_tokens": [
|
3 |
+
"<|im_start|>",
|
4 |
+
"<|im_end|>"
|
5 |
+
],
|
6 |
+
"eos_token": {
|
7 |
+
"content": "<|im_end|>",
|
8 |
+
"lstrip": false,
|
9 |
+
"normalized": false,
|
10 |
+
"rstrip": false,
|
11 |
+
"single_word": false
|
12 |
+
},
|
13 |
+
"pad_token": {
|
14 |
+
"content": "<|endoftext|>",
|
15 |
+
"lstrip": false,
|
16 |
+
"normalized": false,
|
17 |
+
"rstrip": false,
|
18 |
+
"single_word": false
|
19 |
+
}
|
20 |
+
}
|
tokenizer.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer_config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"151643": {
|
5 |
+
"content": "<|endoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"151644": {
|
13 |
+
"content": "<|im_start|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
},
|
20 |
+
"151645": {
|
21 |
+
"content": "<|im_end|>",
|
22 |
+
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
+
"rstrip": false,
|
25 |
+
"single_word": false,
|
26 |
+
"special": true
|
27 |
+
}
|
28 |
+
},
|
29 |
+
"additional_special_tokens": [
|
30 |
+
"<|im_start|>",
|
31 |
+
"<|im_end|>"
|
32 |
+
],
|
33 |
+
"bos_token": null,
|
34 |
+
"chat_template": "{% for message in messages %}{% if loop.first and messages[0]['role'] != 'system' %}{{ '<|im_start|>system\nYou are a helpful assistant.<|im_end|>\n' }}{% endif %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
|
35 |
+
"clean_up_tokenization_spaces": false,
|
36 |
+
"eos_token": "<|im_end|>",
|
37 |
+
"errors": "replace",
|
38 |
+
"model_max_length": 32768,
|
39 |
+
"pad_token": "<|endoftext|>",
|
40 |
+
"split_special_tokens": false,
|
41 |
+
"tokenizer_class": "Qwen2Tokenizer",
|
42 |
+
"unk_token": null
|
43 |
+
}
|
vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|