domi29 commited on
Commit
fc42f91
·
verified ·
1 Parent(s): f4d8a96

init: quantized ONNX edge build (fp16 / int8 / int8+int4-embeddings), split out from the main repository

Browse files
.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
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
config.json ADDED
@@ -0,0 +1,89 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertForSequenceClassification"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 2,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "cls_token_id": 1,
13
+ "decoder_bias": true,
14
+ "deterministic_flash_attn": false,
15
+ "dtype": "float32",
16
+ "embedding_dropout": 0.0,
17
+ "eos_token_id": 1,
18
+ "global_attn_every_n_layers": 3,
19
+ "gradient_checkpointing": false,
20
+ "hidden_activation": "gelu",
21
+ "hidden_size": 384,
22
+ "id2label": {
23
+ "0": "source:sensitive",
24
+ "1": "source:untrusted",
25
+ "2": "sink:external"
26
+ },
27
+ "initializer_cutoff_factor": 2.0,
28
+ "initializer_range": 0.02,
29
+ "intermediate_size": 1152,
30
+ "label2id": {
31
+ "sink:external": 2,
32
+ "source:sensitive": 0,
33
+ "source:untrusted": 1
34
+ },
35
+ "layer_norm_eps": 1e-05,
36
+ "layer_types": [
37
+ "full_attention",
38
+ "sliding_attention",
39
+ "sliding_attention",
40
+ "full_attention",
41
+ "sliding_attention",
42
+ "sliding_attention",
43
+ "full_attention",
44
+ "sliding_attention",
45
+ "sliding_attention",
46
+ "full_attention",
47
+ "sliding_attention",
48
+ "sliding_attention",
49
+ "full_attention",
50
+ "sliding_attention",
51
+ "sliding_attention",
52
+ "full_attention",
53
+ "sliding_attention",
54
+ "sliding_attention",
55
+ "full_attention",
56
+ "sliding_attention",
57
+ "sliding_attention",
58
+ "full_attention"
59
+ ],
60
+ "local_attention": 128,
61
+ "mask_token_id": 4,
62
+ "max_position_embeddings": 8192,
63
+ "mlp_bias": false,
64
+ "mlp_dropout": 0.0,
65
+ "model_type": "modernbert",
66
+ "norm_bias": false,
67
+ "norm_eps": 1e-05,
68
+ "num_attention_heads": 6,
69
+ "num_hidden_layers": 22,
70
+ "pad_token_id": 0,
71
+ "position_embedding_type": "sans_pos",
72
+ "problem_type": "multi_label_classification",
73
+ "rope_parameters": {
74
+ "full_attention": {
75
+ "rope_theta": 160000,
76
+ "rope_type": "default"
77
+ },
78
+ "sliding_attention": {
79
+ "rope_theta": 160000,
80
+ "rope_type": "default"
81
+ }
82
+ },
83
+ "sep_token_id": 1,
84
+ "sparse_pred_ignore_index": -100,
85
+ "sparse_prediction": false,
86
+ "tie_word_embeddings": true,
87
+ "transformers_version": "5.10.2",
88
+ "vocab_size": 256000
89
+ }
onnx/fp16/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f849b67229d863040d327d3fa74356c3bd65db3e6c4f879ac94f6871dcc9ca41
3
+ size 281827602
onnx/int8/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:05623a2e9f07289e3b237e4a117d0a53b59942f9e560d0490d9539bba6bb6745
3
+ size 142077470
onnx/int8_int4_embeddings/model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c43d472415cc86870f030998b59532c175f18d33054429b78ae6131fb337565e
3
+ size 96296519
onnx/quantization_manifest.json ADDED
@@ -0,0 +1,197 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "schema_version": 1,
3
+ "head": "tool_tags",
4
+ "source_model": "/Users/benediktveith/Documents/Apps/Patronus-Datasets/runpod/tmp/hf_quant/tool_tags/model",
5
+ "source_fp32_graph": {
6
+ "bytes": 563142141,
7
+ "operators": {
8
+ "Abs": 1,
9
+ "Add": 156,
10
+ "And": 6,
11
+ "Cast": 281,
12
+ "Concat": 93,
13
+ "Constant": 1072,
14
+ "ConstantOfShape": 4,
15
+ "Cos": 1,
16
+ "Div": 90,
17
+ "Equal": 3,
18
+ "Erf": 23,
19
+ "Expand": 3,
20
+ "Flatten": 1,
21
+ "Gather": 116,
22
+ "Gemm": 1,
23
+ "GreaterOrEqual": 1,
24
+ "LayerNormalization": 46,
25
+ "LessOrEqual": 1,
26
+ "MatMul": 134,
27
+ "Mul": 229,
28
+ "Neg": 44,
29
+ "Range": 4,
30
+ "ReduceSum": 2,
31
+ "Reshape": 49,
32
+ "Shape": 118,
33
+ "Sin": 1,
34
+ "Slice": 132,
35
+ "Softmax": 22,
36
+ "Split": 22,
37
+ "Squeeze": 66,
38
+ "Sub": 1,
39
+ "Transpose": 111,
40
+ "Unsqueeze": 197,
41
+ "Where": 5
42
+ },
43
+ "initializer_bytes": {
44
+ "FLOAT": 562570764
45
+ }
46
+ },
47
+ "variants": {
48
+ "fp16": {
49
+ "path": "onnx/fp16/model.onnx",
50
+ "graph": {
51
+ "bytes": 281827602,
52
+ "operators": {
53
+ "Abs": 1,
54
+ "Add": 156,
55
+ "And": 6,
56
+ "Cast": 325,
57
+ "Concat": 93,
58
+ "Constant": 1072,
59
+ "ConstantOfShape": 4,
60
+ "Cos": 1,
61
+ "Div": 90,
62
+ "Equal": 3,
63
+ "Erf": 23,
64
+ "Expand": 3,
65
+ "Flatten": 1,
66
+ "Gather": 116,
67
+ "Gemm": 1,
68
+ "GreaterOrEqual": 1,
69
+ "LayerNormalization": 46,
70
+ "LessOrEqual": 1,
71
+ "MatMul": 134,
72
+ "Mul": 229,
73
+ "Neg": 44,
74
+ "Range": 4,
75
+ "ReduceSum": 2,
76
+ "Reshape": 49,
77
+ "Shape": 118,
78
+ "Sin": 1,
79
+ "Slice": 132,
80
+ "Softmax": 22,
81
+ "Split": 22,
82
+ "Squeeze": 66,
83
+ "Sub": 1,
84
+ "Transpose": 111,
85
+ "Unsqueeze": 197,
86
+ "Where": 5
87
+ },
88
+ "initializer_bytes": {
89
+ "FLOAT16": 281285382
90
+ }
91
+ }
92
+ },
93
+ "int8": {
94
+ "path": "onnx/int8/model.onnx",
95
+ "graph": {
96
+ "bytes": 142077470,
97
+ "operators": {
98
+ "Abs": 1,
99
+ "Add": 157,
100
+ "And": 6,
101
+ "Cast": 371,
102
+ "Concat": 93,
103
+ "Constant": 1072,
104
+ "ConstantOfShape": 4,
105
+ "Cos": 1,
106
+ "DequantizeLinear": 1,
107
+ "Div": 90,
108
+ "DynamicQuantizeLinear": 90,
109
+ "Equal": 3,
110
+ "Erf": 23,
111
+ "Expand": 3,
112
+ "Flatten": 1,
113
+ "Gather": 116,
114
+ "GreaterOrEqual": 1,
115
+ "LayerNormalization": 46,
116
+ "LessOrEqual": 1,
117
+ "MatMul": 45,
118
+ "MatMulInteger": 90,
119
+ "Mul": 409,
120
+ "Neg": 44,
121
+ "Range": 4,
122
+ "ReduceSum": 2,
123
+ "Reshape": 49,
124
+ "Shape": 118,
125
+ "Sin": 1,
126
+ "Slice": 132,
127
+ "Softmax": 22,
128
+ "Split": 22,
129
+ "Squeeze": 66,
130
+ "Sub": 1,
131
+ "Transpose": 111,
132
+ "Unsqueeze": 197,
133
+ "Where": 5
134
+ },
135
+ "initializer_bytes": {
136
+ "FLOAT": 70668,
137
+ "INT8": 42321024,
138
+ "UINT8": 98304000
139
+ }
140
+ }
141
+ },
142
+ "int8_int4_embeddings": {
143
+ "path": "onnx/int8_int4_embeddings/model.onnx",
144
+ "graph": {
145
+ "bytes": 96296519,
146
+ "operators": {
147
+ "Abs": 1,
148
+ "Add": 157,
149
+ "And": 6,
150
+ "Cast": 371,
151
+ "Concat": 93,
152
+ "Constant": 1072,
153
+ "ConstantOfShape": 4,
154
+ "Cos": 1,
155
+ "Div": 90,
156
+ "DynamicQuantizeLinear": 90,
157
+ "Equal": 3,
158
+ "Erf": 23,
159
+ "Expand": 3,
160
+ "Flatten": 1,
161
+ "Gather": 115,
162
+ "GatherBlockQuantized": 1,
163
+ "GreaterOrEqual": 1,
164
+ "LayerNormalization": 46,
165
+ "LessOrEqual": 1,
166
+ "MatMul": 45,
167
+ "MatMulInteger": 90,
168
+ "Mul": 409,
169
+ "Neg": 44,
170
+ "Range": 4,
171
+ "ReduceSum": 2,
172
+ "Reshape": 49,
173
+ "Shape": 118,
174
+ "Sin": 1,
175
+ "Slice": 132,
176
+ "Softmax": 22,
177
+ "Split": 22,
178
+ "Squeeze": 66,
179
+ "Sub": 1,
180
+ "Transpose": 111,
181
+ "Unsqueeze": 197,
182
+ "Where": 5
183
+ },
184
+ "initializer_bytes": {
185
+ "FLOAT": 3142668,
186
+ "INT8": 42321024,
187
+ "UINT4": 49536000
188
+ }
189
+ }
190
+ }
191
+ },
192
+ "identity_aliases_inlined": {
193
+ "int8": 0,
194
+ "int8_int4_embeddings": 0
195
+ },
196
+ "metrics": "/Users/benediktveith/Documents/Apps/Patronus-Datasets/runpod/tmp/hf_quant/tool_tags/metrics/quantization_metrics.json"
197
+ }
tokenizer.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:609d8f4c067cd3950f88594c5a802616cea245823836ef5848ee4fc40aab5b6f
3
+ size 34363188
tokenizer_config.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "bos_token": "<bos>",
4
+ "clean_up_tokenization_spaces": false,
5
+ "cls_token": "<bos>",
6
+ "eos_token": "<eos>",
7
+ "extra_special_tokens": [
8
+ "<start_of_turn>",
9
+ "<end_of_turn>"
10
+ ],
11
+ "is_local": false,
12
+ "local_files_only": false,
13
+ "mask_token": "<mask>",
14
+ "model_input_names": [
15
+ "input_ids",
16
+ "attention_mask"
17
+ ],
18
+ "model_max_length": 8192,
19
+ "pad_token": "<pad>",
20
+ "padding_side": "right",
21
+ "sep_token": "<eos>",
22
+ "spaces_between_special_tokens": false,
23
+ "tokenizer_class": "TokenizersBackend",
24
+ "unk_token": "<unk>"
25
+ }