ONNX
glitext
semioticrobotic rpeel commited on
Commit
9636ad6
·
0 Parent(s):

Duplicate from rpeel/glitext-class-large

Browse files

Co-authored-by: RPeel <rpeel@users.noreply.huggingface.co>

Files changed (6) hide show
  1. .gitattributes +35 -0
  2. LICENSE +202 -0
  3. README.md +53 -0
  4. model.onnx +3 -0
  5. modelaudit.json +379 -0
  6. tokenizer.json +0 -0
.gitattributes ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
5
+ *.ckpt filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.mlmodel filter=lfs diff=lfs merge=lfs -text
12
+ *.model filter=lfs diff=lfs merge=lfs -text
13
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
14
+ *.npy filter=lfs diff=lfs merge=lfs -text
15
+ *.npz filter=lfs diff=lfs merge=lfs -text
16
+ *.onnx filter=lfs diff=lfs merge=lfs -text
17
+ *.ot filter=lfs diff=lfs merge=lfs -text
18
+ *.parquet filter=lfs diff=lfs merge=lfs -text
19
+ *.pb filter=lfs diff=lfs merge=lfs -text
20
+ *.pickle filter=lfs diff=lfs merge=lfs -text
21
+ *.pkl filter=lfs diff=lfs merge=lfs -text
22
+ *.pt filter=lfs diff=lfs merge=lfs -text
23
+ *.pth filter=lfs diff=lfs merge=lfs -text
24
+ *.rar filter=lfs diff=lfs merge=lfs -text
25
+ *.safetensors filter=lfs diff=lfs merge=lfs -text
26
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
27
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
28
+ *.tar filter=lfs diff=lfs merge=lfs -text
29
+ *.tflite filter=lfs diff=lfs merge=lfs -text
30
+ *.tgz filter=lfs diff=lfs merge=lfs -text
31
+ *.wasm filter=lfs diff=lfs merge=lfs -text
32
+ *.xz 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
LICENSE ADDED
@@ -0,0 +1,202 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: glitext
3
+ license: apache-2.0
4
+ tags:
5
+ - glitext
6
+ glitext:
7
+ name: class-large
8
+ label: GliText Classification (Accurate)
9
+ description: An efficient zero-shot text classification model tuned for high accuracy.
10
+ recognition: false
11
+ classification: true
12
+ association: false
13
+ span_mode: false
14
+ size_gb: 2.41
15
+ hf_repo: rpeel/glitext-class-large
16
+ source_url: knowledgator/gliclass-large-v3.0
17
+ ---
18
+
19
+ # rpeel/glitext-class-large
20
+
21
+ An efficient zero-shot text classification model tuned for high accuracy.
22
+
23
+ ## Requirements
24
+
25
+ To download this model to the SAS GLiText server:
26
+
27
+ ```
28
+ POST /v1/models/download?name=class-large
29
+ ```
30
+
31
+ To download and load into memory in one step:
32
+
33
+ ```
34
+ PUT /v1/models?name=class-large
35
+ ```
36
+
37
+ ## Source Model
38
+
39
+ Exported from [knowledgator/gliclass-large-v3.0](https://huggingface.co/knowledgator/gliclass-large-v3.0).
40
+ See the [original model card](https://huggingface.co/knowledgator/gliclass-large-v3.0) for full architecture and training details.
41
+
42
+ ## Security Scan
43
+
44
+ Scanned with [modelaudit](https://github.com/promptfoo/modelaudit) v0.2.40 on 2026-04-26. 16/16 checks passed. [Full results](modelaudit.json).
45
+
46
+
47
+ | File | Size | SHA-256 |
48
+ |------|------|---------|
49
+ | `model.onnx` | 1756.9 MB | `741d548cc1e6480c…` |
50
+
51
+ ## License
52
+
53
+ [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0). Derived from [knowledgator/gliclass-large-v3.0](https://huggingface.co/knowledgator/gliclass-large-v3.0) by [knowledgator](https://huggingface.co/knowledgator).
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:741d548cc1e6480c9db1015f42b5952037a9b6447b87d1f7c8440a5afc644aef
3
+ size 1756917153
modelaudit.json ADDED
@@ -0,0 +1,379 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool": "modelaudit",
3
+ "tool_version": "0.2.40",
4
+ "scanned_at": "2026-04-26T23:54:25Z",
5
+ "files": {
6
+ "model.onnx": {
7
+ "size_mb": 1756.9,
8
+ "sha256": "741d548cc1e6480c9db1015f42b5952037a9b6447b87d1f7c8440a5afc644aef"
9
+ }
10
+ },
11
+ "audit": {
12
+ "bytes_scanned": 1765579511,
13
+ "issues": [
14
+ {
15
+ "message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
16
+ "severity": "info",
17
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
18
+ "details": {
19
+ "scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
20
+ "coverage_gap": "partial_initializer_coverage",
21
+ "eligible_initializers": 153,
22
+ "analyzed_initializers": 152,
23
+ "external_initializers_skipped": 0,
24
+ "oversized_initializers_skipped": 1,
25
+ "extraction_failures": 0,
26
+ "max_array_size": 104857600
27
+ },
28
+ "timestamp": 1777247654.9942844,
29
+ "type": "onnx_check",
30
+ "rule_code": "S902"
31
+ },
32
+ {
33
+ "message": "Layer 'onnx::MatMul_14812' has neurons with extremely large weight values",
34
+ "severity": "info",
35
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
36
+ "details": {
37
+ "layer": "onnx::MatMul_14812",
38
+ "affected_neurons": [
39
+ 0
40
+ ],
41
+ "total_affected": 1,
42
+ "num_extreme_weights": 1,
43
+ "threshold": 0.081382155418396,
44
+ "max_weight": 0.08386771380901337,
45
+ "total_outputs": 1,
46
+ "analysis_method": "structural_analysis"
47
+ },
48
+ "why": "Weight values that are orders of magnitude larger than typical can cause numerical instability, overflow attacks, or may encode hidden data. Detection uses statistical analysis rather than name-based classification to avoid security bypasses.",
49
+ "timestamp": 1777247660.1666174,
50
+ "type": "onnx_check",
51
+ "rule_code": "S802"
52
+ }
53
+ ],
54
+ "checks": [
55
+ {
56
+ "name": "Path Exists",
57
+ "status": "passed",
58
+ "message": "Path exists",
59
+ "location": "/opt/sas/model-gli-text/models/class-large/README.md",
60
+ "details": {
61
+ "path": "/opt/sas/model-gli-text/models/class-large/README.md"
62
+ },
63
+ "timestamp": 1777246661.158137
64
+ },
65
+ {
66
+ "name": "Path Readable",
67
+ "status": "passed",
68
+ "message": "Path is readable",
69
+ "location": "/opt/sas/model-gli-text/models/class-large/README.md",
70
+ "details": {
71
+ "path": "/opt/sas/model-gli-text/models/class-large/README.md"
72
+ },
73
+ "timestamp": 1777246661.158167
74
+ },
75
+ {
76
+ "name": "File Type Validation",
77
+ "status": "passed",
78
+ "message": "File type validation passed",
79
+ "location": "/opt/sas/model-gli-text/models/class-large/README.md",
80
+ "details": {},
81
+ "timestamp": 1777246661.1581953
82
+ },
83
+ {
84
+ "name": "Path Exists",
85
+ "status": "passed",
86
+ "message": "Path exists",
87
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
88
+ "details": {
89
+ "path": "/opt/sas/model-gli-text/models/class-large/model.onnx"
90
+ },
91
+ "timestamp": 1777246661.1878517
92
+ },
93
+ {
94
+ "name": "Path Readable",
95
+ "status": "passed",
96
+ "message": "Path is readable",
97
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
98
+ "details": {
99
+ "path": "/opt/sas/model-gli-text/models/class-large/model.onnx"
100
+ },
101
+ "timestamp": 1777246661.1878817
102
+ },
103
+ {
104
+ "name": "File Type Validation",
105
+ "status": "passed",
106
+ "message": "File type validation passed",
107
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
108
+ "details": {},
109
+ "timestamp": 1777246661.187907
110
+ },
111
+ {
112
+ "name": "File Integrity Hash",
113
+ "status": "passed",
114
+ "message": "File integrity hashes calculated",
115
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
116
+ "details": {
117
+ "md5": "5c967bdd53ca317c56c4db16260d52fb",
118
+ "sha256": "741d548cc1e6480c9db1015f42b5952037a9b6447b87d1f7c8440a5afc644aef",
119
+ "sha512": "3d9aa9bdf7197b4f1155c8ff8c0a6978ce095ff790f13fad0b85f27d9b6932ea70b5445d22dea60b25d721894dcf813d87010239e2ab28b9ae9a16738f2b2873",
120
+ "file_size": 1756917153
121
+ },
122
+ "timestamp": 1777246670.175186
123
+ },
124
+ {
125
+ "name": "JIT/Script Code Execution Detection",
126
+ "status": "passed",
127
+ "message": "No JIT/Script code execution risks detected",
128
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
129
+ "details": {},
130
+ "timestamp": 1777247650.1742697
131
+ },
132
+ {
133
+ "name": "Network Communication Detection",
134
+ "status": "passed",
135
+ "message": "No network communication patterns detected",
136
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
137
+ "details": {},
138
+ "timestamp": 1777247650.1744556
139
+ },
140
+ {
141
+ "name": "Custom Operator Domain Check",
142
+ "status": "passed",
143
+ "message": "All operators use standard ONNX domains",
144
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
145
+ "details": {
146
+ "safe_nodes": 9746
147
+ },
148
+ "timestamp": 1777247650.2204537
149
+ },
150
+ {
151
+ "name": "Python Operator Detection",
152
+ "status": "passed",
153
+ "message": "No Python operators detected",
154
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
155
+ "details": {
156
+ "nodes_checked": 9746
157
+ },
158
+ "timestamp": 1777247650.220493
159
+ },
160
+ {
161
+ "name": "Tensor Size Validation",
162
+ "status": "passed",
163
+ "message": "Tensor Size Validation completed successfully",
164
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx (tensor: model.text_projector.linear_1.weight)",
165
+ "details": {
166
+ "component_count": 404
167
+ },
168
+ "timestamp": 1777247653.3490608
169
+ },
170
+ {
171
+ "name": "Weight Distribution Analysis Coverage",
172
+ "status": "failed",
173
+ "message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
174
+ "severity": "info",
175
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
176
+ "details": {
177
+ "scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
178
+ "coverage_gap": "partial_initializer_coverage",
179
+ "eligible_initializers": 153,
180
+ "analyzed_initializers": 152,
181
+ "external_initializers_skipped": 0,
182
+ "oversized_initializers_skipped": 1,
183
+ "extraction_failures": 0,
184
+ "max_array_size": 104857600
185
+ },
186
+ "rule_code": "S902",
187
+ "timestamp": 1777247654.9941475
188
+ },
189
+ {
190
+ "name": "Weight Distribution Anomaly Detection",
191
+ "status": "failed",
192
+ "message": "Layer 'onnx::MatMul_14812' has neurons with extremely large weight values",
193
+ "severity": "info",
194
+ "location": "/opt/sas/model-gli-text/models/class-large/model.onnx",
195
+ "details": {
196
+ "layer": "onnx::MatMul_14812",
197
+ "affected_neurons": [
198
+ 0
199
+ ],
200
+ "total_affected": 1,
201
+ "num_extreme_weights": 1,
202
+ "threshold": 0.081382155418396,
203
+ "max_weight": 0.08386771380901337,
204
+ "total_outputs": 1,
205
+ "analysis_method": "structural_analysis"
206
+ },
207
+ "why": "Weight values that are orders of magnitude larger than typical can cause numerical instability, overflow attacks, or may encode hidden data. Detection uses statistical analysis rather than name-based classification to avoid security bypasses.",
208
+ "rule_code": "S802",
209
+ "timestamp": 1777247660.166583
210
+ },
211
+ {
212
+ "name": "Path Exists",
213
+ "status": "passed",
214
+ "message": "Path exists",
215
+ "location": "/opt/sas/model-gli-text/models/class-large/tokenizer.json",
216
+ "details": {
217
+ "path": "/opt/sas/model-gli-text/models/class-large/tokenizer.json"
218
+ },
219
+ "timestamp": 1777247663.3793492
220
+ },
221
+ {
222
+ "name": "Path Readable",
223
+ "status": "passed",
224
+ "message": "Path is readable",
225
+ "location": "/opt/sas/model-gli-text/models/class-large/tokenizer.json",
226
+ "details": {
227
+ "path": "/opt/sas/model-gli-text/models/class-large/tokenizer.json"
228
+ },
229
+ "timestamp": 1777247663.379393
230
+ },
231
+ {
232
+ "name": "File Type Validation",
233
+ "status": "passed",
234
+ "message": "File type validation passed",
235
+ "location": "/opt/sas/model-gli-text/models/class-large/tokenizer.json",
236
+ "details": {},
237
+ "timestamp": 1777247663.379438
238
+ },
239
+ {
240
+ "name": "Template Extraction",
241
+ "status": "passed",
242
+ "message": "No Jinja2 templates found in file",
243
+ "location": "/opt/sas/model-gli-text/models/class-large/tokenizer.json",
244
+ "details": {
245
+ "file_type": "tokenizer_config"
246
+ },
247
+ "timestamp": 1777247663.7977839
248
+ }
249
+ ],
250
+ "files_scanned": 4,
251
+ "assets": [
252
+ {
253
+ "path": "/opt/sas/model-gli-text/models/class-large/LICENSE",
254
+ "type": "unknown"
255
+ },
256
+ {
257
+ "path": "/opt/sas/model-gli-text/models/class-large/README.md",
258
+ "type": "metadata",
259
+ "size": 1501
260
+ },
261
+ {
262
+ "path": "/opt/sas/model-gli-text/models/class-large/model.onnx",
263
+ "type": "onnx",
264
+ "size": 1756917153
265
+ },
266
+ {
267
+ "path": "/opt/sas/model-gli-text/models/class-large/tokenizer.json",
268
+ "type": "jinja2_template",
269
+ "size": 8649499
270
+ }
271
+ ],
272
+ "has_errors": false,
273
+ "scanner_names": [
274
+ "metadata",
275
+ "onnx",
276
+ "jinja2_template"
277
+ ],
278
+ "file_metadata": {
279
+ "/opt/sas/model-gli-text/models/class-large/LICENSE": {
280
+ "license_info": [
281
+ {
282
+ "spdx_id": "Apache-2.0",
283
+ "name": "Apache License 2.0",
284
+ "confidence": 0.8,
285
+ "source": "file_header",
286
+ "commercial_allowed": true
287
+ }
288
+ ],
289
+ "copyright_notices": [],
290
+ "license_files_nearby": [
291
+ "/opt/sas/model-gli-text/models/class-large/LICENSE"
292
+ ],
293
+ "is_dataset": false,
294
+ "is_model": false,
295
+ "risk_score": 0.0,
296
+ "scan_timestamp": 1777246661.1535344,
297
+ "content_hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
298
+ },
299
+ "/opt/sas/model-gli-text/models/class-large/README.md": {
300
+ "file_size": 1501,
301
+ "license_info": [
302
+ {
303
+ "spdx_id": "Apache-2.0",
304
+ "name": "Apache License 2.0",
305
+ "confidence": 0.8,
306
+ "source": "file_header",
307
+ "commercial_allowed": true
308
+ }
309
+ ],
310
+ "copyright_notices": [],
311
+ "license_files_nearby": [
312
+ "/opt/sas/model-gli-text/models/class-large/LICENSE"
313
+ ],
314
+ "is_dataset": false,
315
+ "is_model": false,
316
+ "risk_score": 0.0,
317
+ "scan_timestamp": 1777246661.1633294,
318
+ "content_hash": "021a1d138e0a5cf7bf3a4f2dbc3a046237fbdb0a8d3224d616802c7e52541d4f"
319
+ },
320
+ "/opt/sas/model-gli-text/models/class-large/model.onnx": {
321
+ "file_size": 1756917153,
322
+ "file_hashes": {
323
+ "md5": "5c967bdd53ca317c56c4db16260d52fb",
324
+ "sha256": "741d548cc1e6480c9db1015f42b5952037a9b6447b87d1f7c8440a5afc644aef",
325
+ "sha512": "3d9aa9bdf7197b4f1155c8ff8c0a6978ce095ff790f13fad0b85f27d9b6932ea70b5445d22dea60b25d721894dcf813d87010239e2ab28b9ae9a16738f2b2873"
326
+ },
327
+ "license_info": [],
328
+ "copyright_notices": [],
329
+ "license_files_nearby": [
330
+ "/opt/sas/model-gli-text/models/class-large/LICENSE"
331
+ ],
332
+ "is_dataset": false,
333
+ "is_model": true,
334
+ "risk_score": 0.0,
335
+ "scan_timestamp": 1777247661.2712467,
336
+ "ir_version": 7,
337
+ "producer_name": "pytorch",
338
+ "node_count": 9746,
339
+ "scan_outcome": "inconclusive",
340
+ "scan_outcome_reasons": [
341
+ "onnx_weight_distribution_analysis_incomplete"
342
+ ],
343
+ "layers_analyzed": 152,
344
+ "anomalies_found": 1,
345
+ "content_hash": "741d548cc1e6480c9db1015f42b5952037a9b6447b87d1f7c8440a5afc644aef"
346
+ },
347
+ "/opt/sas/model-gli-text/models/class-large/tokenizer.json": {
348
+ "file_size": 8649499,
349
+ "ml_context": {
350
+ "frameworks": {},
351
+ "overall_confidence": 0.0,
352
+ "is_ml_content": false,
353
+ "detected_patterns": [],
354
+ "optimization_hints": [],
355
+ "file_type": "tokenizer_config",
356
+ "is_tokenizer": true,
357
+ "confidence": 2
358
+ },
359
+ "license_info": [],
360
+ "copyright_notices": [],
361
+ "license_files_nearby": [
362
+ "/opt/sas/model-gli-text/models/class-large/LICENSE"
363
+ ],
364
+ "is_dataset": true,
365
+ "is_model": false,
366
+ "risk_score": 0.0,
367
+ "scan_timestamp": 1777247663.8019288,
368
+ "content_hash": "9db2e87fbab9819100edd8d6dc7a54f82167045d04bfb752039dae4efb9cd85c"
369
+ }
370
+ },
371
+ "content_hash": "bdf235c85537cb3dfb7fa08660385cdb79e29cf251d197c8cea2d4bcb3482f3c",
372
+ "start_time": 1777246658.7745924,
373
+ "duration": 1005.035670042038,
374
+ "total_checks": 16,
375
+ "passed_checks": 16,
376
+ "failed_checks": 0,
377
+ "success": false
378
+ }
379
+ }
tokenizer.json ADDED
The diff for this file is too large to render. See raw diff