Token Classification
PyTorch
ONNX
English
glitext
NER
GLiNER
information extraction
encoder
entity recognition
biomed
barry-sas commited on
Commit
8154e58
·
1 Parent(s): 369d962

Add onnx files

Browse files
Files changed (5) hide show
  1. LICENSE +202 -0
  2. README.md +31 -133
  3. gliner_config.json +2 -2
  4. model.onnx +3 -0
  5. modelaudit.json +776 -0
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 CHANGED
@@ -1,155 +1,53 @@
1
  ---
2
- base_model:
3
- - microsoft/deberta-v3-small
4
- datasets:
5
- - anthonyyazdaniml/gliner-biomed-pre-training
6
- - anthonyyazdaniml/gliner-biomed-post-training
7
- language:
8
- - en
9
- library_name: gliner
10
  license: apache-2.0
11
- metrics:
12
- - f1
13
- pipeline_tag: token-classification
14
  tags:
15
- - NER
16
- - GLiNER
17
- - information extraction
18
- - encoder
19
- - entity recognition
20
- - biomed
 
 
 
 
 
 
21
  ---
22
 
23
- # GLiNER-BioMed
24
 
25
- The model was presented in the paper [GLiNER-BioMed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition](https://arxiv.org/abs/2504.00676).
26
 
27
- The code is available at [https://github.com/ds4dh/GLiNER-biomed](https://github.com/ds4dh/GLiNER-biomed).
28
 
29
- **GLiNER** is a Named Entity Recognition (NER) model capable of identifying any entity type using a bidirectional transformer encoders (BERT-like). It provides a practical alternative to traditional NER models, which are limited to predefined entities, and Large Language Models (LLMs) that, despite their flexibility, are costly and large for resource-constrained scenarios.
30
 
31
-
32
- **GLiNER-biomed**, developed in collaboration with [DS4DH](https://www.unige.ch/medecine/radio/en/research-groups/1035teodoro) from the University of Geneva, introduces a specialized suite of efficient open biomedical NER models based on the GLiNER framework. GLiNER-biomed leverages synthetic annotations distilled from large generative biomedical language models to achieve state-of-the-art zero-shot and few-shot performance in biomedical entity recognition tasks.
33
-
34
- ### How to Use
35
- Install the official GLiNER library with pip:
36
- ```bash
37
- pip install gliner -U
38
  ```
39
-
40
- After installing the GLiNER library, you can easily load a GLiNER-biomed model and perform named entity recognition:
41
-
42
- ```python
43
- from gliner import GLiNER
44
-
45
- model = GLiNER.from_pretrained("Ihor/gliner-biomed-small-v1.0")
46
-
47
- text = """
48
- The patient, a 45-year-old male, was diagnosed with type 2 diabetes mellitus and hypertension.
49
- He was prescribed Metformin 500mg twice daily and Lisinopril 10mg once daily.
50
- A recent lab test showed elevated HbA1c levels at 8.2%.
51
- """
52
-
53
- labels = ["Disease", "Drug", "Drug dosage", "Drug frequency", "Lab test", "Lab test value", "Demographic information"]
54
-
55
- entities = model.predict_entities(text, labels, threshold=0.5)
56
-
57
- for entity in entities:
58
- print(entity["text"], "=>", entity["label"])
59
  ```
60
 
61
- Expected output:
 
62
  ```
63
- 45-year-old male => Demographic information
64
- type 2 diabetes mellitus => Disease
65
- hypertension => Disease
66
- Metformin => Drug
67
- 500mg => Drug dosage
68
- twice daily => Drug frequency
69
- Lisinopril => Drug
70
- 10mg => Drug dosage
71
- once daily => Drug frequency
72
- HbA1c levels => Lab test
73
- 8.2% => Lab test value
74
  ```
75
 
76
- ### Benchmarking
77
-
78
- We examined our models on 8 complex real-world datasets and compared them with other GLiNER models.
79
-
80
- | Model | F1-score | Macro mean F1 | Macro median F1 | Weighted F1 |
81
- |------------------------|----------|----------------|------------------|-------------|
82
- | **Large models** | | | | |
83
- | [NuNER Zero](https://huggingface.co/numind/NuNER_Zero) | 40.87 | 21.79 | 13.94 | 33.67 |
84
- | [NuNER Zero span](https://huggingface.co/numind/NuNER_Zero-span) | 40.26 | 22.51 | 14.27 | 32.52 |
85
- | [GLiNER bio v0.1](https://huggingface.co/urchade/gliner_large_bio-v0.1) | 42.34 | 27.10 | 24.44 | 38.32 |
86
- | [GLiNER bio v0.2](https://huggingface.co/urchade/gliner_large_bio-v0.2) | 38.66 | 25.36 | 17.02 | 32.42 |
87
- | [GLiNER v1.0](https://huggingface.co/urchade/gliner_large-v1) | 47.77 | 29.60 | 21.13 | 40.78 |
88
- | [GLiNER v2.0](https://huggingface.co/urchade/gliner_large-v2) | 37.38 | 21.42 | 15.44 | 33.11 |
89
- | [GLiNER v2.1](https://huggingface.co/urchade/gliner_large-v2.1) | 48.04 | 29.75 | 28.20 | 43.43 |
90
- | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_large_news-v2.1) | 48.99 | 31.79 | 33.77 | 45.13 |
91
- | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_large-v2.5) | 53.81 | 35.22 | 35.65 | 51.57 |
92
- | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-large-v1.0)** | **59.77**| **40.67** | **42.65** | **58.40** |
93
- | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-large-v1.0)** | 54.90 | 35.78 | 31.66 | 50.46 |
94
- | **Base models** | | | | |
95
- | [GLiNER v1.0](https://huggingface.co/urchade/gliner_medium-v1) | 41.61 | 24.98 | 10.27 | 31.59 |
96
- | [GLiNER v2.0](https://huggingface.co/urchade/gliner_medium-v2) | 34.33 | 24.48 | 22.01 | 30.58 |
97
- | [GLiNER v2.1](https://huggingface.co/urchade/gliner_medium-v2.1) | 40.25 | 25.26 | 14.41 | 32.64 |
98
- | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_medium_news-v2.1) | 41.59 | 27.16 | 17.74 | 34.44 |
99
- | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_base-v2.5) | 46.49 | 30.93 | 25.26 | 44.68 |
100
- | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-base-v1.0)** | 54.37| **36.20** | **41.61** | 53.05 |
101
- | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-base-v1.0)** | **58.31** | 35.22 | 32.39 | **54.91** |
102
- | **Small models** | | | | |
103
- | [GLiNER v1.0](https://huggingface.co/urchade/gliner_small-v1) | 40.99 | 22.81 | 7.86 | 31.15 |
104
- | [GLiNER v2.0](https://huggingface.co/urchade/gliner_small-v2) | 33.55 | 21.12 | 15.76 | 28.78 |
105
- | [GLiNER v2.1](https://huggingface.co/urchade/gliner_small-v2.1) | 38.45 | 23.25 | 10.92 | 30.67 |
106
- | [GLiNER news v2.1](https://huggingface.co/EmergentMethods/gliner_small_news-v2.1) | 39.15 | 24.96 | 14.48 | 33.10 |
107
- | [GLiNER v2.5](https://huggingface.co/gliner-community/gliner_small-v2.5) | 38.21 | 28.53 | 18.01 | 36.88 |
108
- | **[GLiNER-biomed](https://huggingface.co/Ihor/gliner-biomed-small-v1.0)** | 52.53| **34.49** | **38.17** | 50.87 |
109
- | **[GLiNER-biomed-bi](https://huggingface.co/Ihor/gliner-biomed-bi-small-v1.0)** | **56.93** | 33.88 | 33.61 | **53.12** |
110
 
 
 
111
 
 
112
 
113
- ### Join Our Discord
114
 
115
- Connect with our community on Discord for news, support, and discussion about our models. Join [https://discord.gg/dkyeAgs9DG](https://discord.gg/dkyeAgs9DG).
116
 
117
- ## Citation
 
 
118
 
119
- ### This work
120
- If you use GLiNER-biomed models in your work, please cite:
121
-
122
- ```bibtex
123
- @misc{yazdani2025glinerbiomedsuiteefficientmodels,
124
- title={GLiNER-BioMed: A Suite of Efficient Models for Open Biomedical Named Entity Recognition},
125
- author={Anthony Yazdani and Ihor Stepanov and Douglas Teodoro},
126
- year={2025},
127
- eprint={2504.00676},
128
- archivePrefix={arXiv},
129
- primaryClass={cs.CL},
130
- url={https://arxiv.org/abs/2504.00676},
131
- }
132
- ```
133
-
134
- ### Previous work
135
- ```bibtex
136
- @misc{zaratiana2023gliner,
137
- title={GLiNER: Generalist Model for Named Entity Recognition using Bidirectional Transformer},
138
- author={Urchade Zaratiana and Nadi Tomeh and Pierre Holat and Thierry Charnois},
139
- year={2023},
140
- eprint={2311.08526},
141
- archivePrefix={arXiv},
142
- primaryClass={cs.CL}
143
- }
144
- ```
145
 
146
- ```bibtex
147
- @misc{stepanov2024gliner,
148
- title={GLiNER multi-task: Generalist Lightweight Model for Various Information Extraction Tasks},
149
- author={Ihor Stepanov and Mykhailo Shtopko},
150
- year={2024},
151
- eprint={2406.12925},
152
- archivePrefix={arXiv},
153
- primaryClass={id='cs.LG' full_name='Machine Learning' is_active=True alt_name=None in_archive='cs' is_general=False description='Papers on all aspects of machine learning research (supervised, unsupervised, reinforcement learning, bandit problems, and so on) including also robustness, explanation, fairness, and methodology. cs.LG is also an appropriate primary category for applications of machine learning methods.'}
154
- }
155
- ```
 
1
  ---
2
+ library_name: glitext
 
 
 
 
 
 
 
3
  license: apache-2.0
 
 
 
4
  tags:
5
+ - glitext
6
+ glitext:
7
+ name: small-biomed
8
+ label: GliText Biomedical Recognition (Fast)
9
+ description: An efficient zero-shot named entity recognition model tuned for biomedical text extraction with high throughput (speed).
10
+ recognition: true
11
+ classification: false
12
+ association: false
13
+ span_mode: true
14
+ size_gb: 0.62
15
+ hf_repo: rpeel/glitext-small-biomed
16
+ source_url: Ihor/gliner-biomed-small-v1.0
17
  ---
18
 
19
+ # rpeel/glitext-small-biomed
20
 
21
+ An efficient zero-shot named entity recognition model tuned for biomedical text extraction with high throughput (speed).
22
 
23
+ ## Requirements
24
 
25
+ To download this model to the SAS GLiText server:
26
 
 
 
 
 
 
 
 
27
  ```
28
+ POST /v1/models/download?name=small-biomed
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  ```
30
 
31
+ To download and load into memory in one step:
32
+
33
  ```
34
+ PUT /v1/models?name=small-biomed
 
 
 
 
 
 
 
 
 
 
35
  ```
36
 
37
+ ## Source Model
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
+ Exported from [Ihor/gliner-biomed-small-v1.0](https://huggingface.co/Ihor/gliner-biomed-small-v1.0).
40
+ See the [original model card](https://huggingface.co/Ihor/gliner-biomed-small-v1.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-27. 29/29 checks passed. [Full results](modelaudit.json).
45
 
 
46
 
47
+ | File | Size | SHA-256 |
48
+ |------|------|---------|
49
+ | `model.onnx` | 611.3 MB | `3802e22c6358e1c9…` |
50
 
51
+ ## License
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
52
 
53
+ [Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0). Derived from [Ihor/gliner-biomed-small-v1.0](https://huggingface.co/Ihor/gliner-biomed-small-v1.0) by [Ihor](https://huggingface.co/Ihor).
 
 
 
 
 
 
 
 
 
gliner_config.json CHANGED
@@ -110,7 +110,7 @@
110
  "lr_encoder": "1e-5",
111
  "lr_others": "5e-5",
112
  "max_grad_norm": 1.0,
113
- "max_len": 2048,
114
  "max_neg_type_ratio": 1,
115
  "max_types": 30,
116
  "max_width": 12,
@@ -134,7 +134,7 @@
134
  "subtoken_pooling": "first",
135
  "train_batch_size": 8,
136
  "train_data": "data/ner_batches_8b_tuned_100k.json",
137
- "transformers_version": "4.48.0.dev0",
138
  "val_data_dir": "none",
139
  "vocab_size": 128003,
140
  "warmup_ratio": 0.1,
 
110
  "lr_encoder": "1e-5",
111
  "lr_others": "5e-5",
112
  "max_grad_norm": 1.0,
113
+ "max_len": 384,
114
  "max_neg_type_ratio": 1,
115
  "max_types": 30,
116
  "max_width": 12,
 
134
  "subtoken_pooling": "first",
135
  "train_batch_size": 8,
136
  "train_data": "data/ner_batches_8b_tuned_100k.json",
137
+ "transformers_version": "4.48.3",
138
  "val_data_dir": "none",
139
  "vocab_size": 128003,
140
  "warmup_ratio": 0.1,
model.onnx ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e
3
+ size 611279071
modelaudit.json ADDED
@@ -0,0 +1,776 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "tool": "modelaudit",
3
+ "tool_version": "0.2.40",
4
+ "scanned_at": "2026-04-27T03:09:39Z",
5
+ "files": {
6
+ "model.onnx": {
7
+ "size_mb": 611.3,
8
+ "sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e"
9
+ }
10
+ },
11
+ "audit": {
12
+ "bytes_scanned": 622412390,
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/small-biomed/model.onnx",
18
+ "details": {
19
+ "scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
20
+ "coverage_gap": "partial_initializer_coverage",
21
+ "eligible_initializers": 50,
22
+ "analyzed_initializers": 49,
23
+ "external_initializers_skipped": 0,
24
+ "oversized_initializers_skipped": 1,
25
+ "extraction_failures": 0,
26
+ "max_array_size": 104857600
27
+ },
28
+ "timestamp": 1777259373.4500408,
29
+ "type": "onnx_check",
30
+ "rule_code": "S902"
31
+ },
32
+ {
33
+ "message": "Layer 'onnx::LSTM_4308' has neurons with extremely large weight values",
34
+ "severity": "info",
35
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
36
+ "details": {
37
+ "layer": "onnx::LSTM_4308",
38
+ "affected_neurons": [
39
+ 312,
40
+ 752,
41
+ 1776
42
+ ],
43
+ "total_affected": 3,
44
+ "num_extreme_weights": 3,
45
+ "threshold": 0.08652891963720322,
46
+ "max_weight": 0.09312348067760468,
47
+ "total_outputs": 2048,
48
+ "analysis_method": "structural_analysis"
49
+ },
50
+ "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.",
51
+ "timestamp": 1777259375.8744645,
52
+ "type": "onnx_check",
53
+ "rule_code": "S802"
54
+ },
55
+ {
56
+ "message": "File does not contain expected XGBoost binary model markers",
57
+ "severity": "info",
58
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
59
+ "details": {
60
+ "expected_patterns": [
61
+ "binf",
62
+ "gbtree",
63
+ "gblinear",
64
+ "dart",
65
+ "reg:",
66
+ "binary:",
67
+ "multi:"
68
+ ]
69
+ },
70
+ "why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
71
+ "timestamp": 1777259376.477829,
72
+ "type": "xgboost_check"
73
+ }
74
+ ],
75
+ "checks": [
76
+ {
77
+ "name": "Path Exists",
78
+ "status": "passed",
79
+ "message": "Path exists",
80
+ "location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
81
+ "details": {
82
+ "path": "/opt/sas/model-gli-text/models/small-biomed/README.md"
83
+ },
84
+ "timestamp": 1777259029.49457
85
+ },
86
+ {
87
+ "name": "Path Readable",
88
+ "status": "passed",
89
+ "message": "Path is readable",
90
+ "location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
91
+ "details": {
92
+ "path": "/opt/sas/model-gli-text/models/small-biomed/README.md"
93
+ },
94
+ "timestamp": 1777259029.494599
95
+ },
96
+ {
97
+ "name": "File Type Validation",
98
+ "status": "passed",
99
+ "message": "File type validation passed",
100
+ "location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
101
+ "details": {},
102
+ "timestamp": 1777259029.4946365
103
+ },
104
+ {
105
+ "name": "Path Exists",
106
+ "status": "passed",
107
+ "message": "Path exists",
108
+ "location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
109
+ "details": {
110
+ "path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json"
111
+ },
112
+ "timestamp": 1777259029.5784254
113
+ },
114
+ {
115
+ "name": "Path Readable",
116
+ "status": "passed",
117
+ "message": "Path is readable",
118
+ "location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
119
+ "details": {
120
+ "path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json"
121
+ },
122
+ "timestamp": 1777259029.578461
123
+ },
124
+ {
125
+ "name": "File Type Validation",
126
+ "status": "passed",
127
+ "message": "File type validation passed",
128
+ "location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
129
+ "details": {},
130
+ "timestamp": 1777259029.578497
131
+ },
132
+ {
133
+ "name": "Model Name Policy Check",
134
+ "status": "passed",
135
+ "message": "Model Name Policy Check completed successfully",
136
+ "location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
137
+ "details": {
138
+ "component_count": 2
139
+ },
140
+ "timestamp": 1777259029.5803332
141
+ },
142
+ {
143
+ "name": "Path Exists",
144
+ "status": "passed",
145
+ "message": "Path exists",
146
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
147
+ "details": {
148
+ "path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx"
149
+ },
150
+ "timestamp": 1777259029.6075687
151
+ },
152
+ {
153
+ "name": "Path Readable",
154
+ "status": "passed",
155
+ "message": "Path is readable",
156
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
157
+ "details": {
158
+ "path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx"
159
+ },
160
+ "timestamp": 1777259029.6075983
161
+ },
162
+ {
163
+ "name": "File Type Validation",
164
+ "status": "passed",
165
+ "message": "File type validation passed",
166
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
167
+ "details": {},
168
+ "timestamp": 1777259029.6076248
169
+ },
170
+ {
171
+ "name": "File Integrity Hash",
172
+ "status": "passed",
173
+ "message": "File integrity hashes calculated",
174
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
175
+ "details": {
176
+ "md5": "258f10ddaa844b3881181211bb33c7f9",
177
+ "sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e",
178
+ "sha512": "b81eb65e8fc1470a77eedc4a719f42cb02ef68c0b7350cc4cd9740f132100e3e945ae8b8c15ea670bae25598e5679bbd48192fa1544b109cbfd9efb1839b0620",
179
+ "file_size": 611279071
180
+ },
181
+ "timestamp": 1777259032.7579923
182
+ },
183
+ {
184
+ "name": "JIT/Script Code Execution Detection",
185
+ "status": "passed",
186
+ "message": "No JIT/Script code execution risks detected",
187
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
188
+ "details": {},
189
+ "timestamp": 1777259371.9275408
190
+ },
191
+ {
192
+ "name": "Network Communication Detection",
193
+ "status": "passed",
194
+ "message": "No network communication patterns detected",
195
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
196
+ "details": {},
197
+ "timestamp": 1777259371.9276881
198
+ },
199
+ {
200
+ "name": "Custom Operator Domain Check",
201
+ "status": "passed",
202
+ "message": "All operators use standard ONNX domains",
203
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
204
+ "details": {
205
+ "safe_nodes": 2803
206
+ },
207
+ "timestamp": 1777259371.9411178
208
+ },
209
+ {
210
+ "name": "Python Operator Detection",
211
+ "status": "passed",
212
+ "message": "No Python operators detected",
213
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
214
+ "details": {
215
+ "nodes_checked": 2803
216
+ },
217
+ "timestamp": 1777259371.9411857
218
+ },
219
+ {
220
+ "name": "Tensor Size Validation",
221
+ "status": "passed",
222
+ "message": "Tensor Size Validation completed successfully",
223
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx (tensor: token_rep_layer.bert_layer.model.embeddings.word_embeddings.weight)",
224
+ "details": {
225
+ "component_count": 123
226
+ },
227
+ "timestamp": 1777259373.2861547
228
+ },
229
+ {
230
+ "name": "Weight Distribution Analysis Coverage",
231
+ "status": "failed",
232
+ "message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
233
+ "severity": "info",
234
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
235
+ "details": {
236
+ "scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
237
+ "coverage_gap": "partial_initializer_coverage",
238
+ "eligible_initializers": 50,
239
+ "analyzed_initializers": 49,
240
+ "external_initializers_skipped": 0,
241
+ "oversized_initializers_skipped": 1,
242
+ "extraction_failures": 0,
243
+ "max_array_size": 104857600
244
+ },
245
+ "rule_code": "S902",
246
+ "timestamp": 1777259373.449896
247
+ },
248
+ {
249
+ "name": "Weight Distribution Anomaly Detection",
250
+ "status": "failed",
251
+ "message": "Layer 'onnx::LSTM_4308' has neurons with extremely large weight values",
252
+ "severity": "info",
253
+ "location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
254
+ "details": {
255
+ "layer": "onnx::LSTM_4308",
256
+ "affected_neurons": [
257
+ 312,
258
+ 752,
259
+ 1776
260
+ ],
261
+ "total_affected": 3,
262
+ "num_extreme_weights": 3,
263
+ "threshold": 0.08652891963720322,
264
+ "max_weight": 0.09312348067760468,
265
+ "total_outputs": 2048,
266
+ "analysis_method": "structural_analysis"
267
+ },
268
+ "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.",
269
+ "rule_code": "S802",
270
+ "timestamp": 1777259375.8744361
271
+ },
272
+ {
273
+ "name": "Path Exists",
274
+ "status": "passed",
275
+ "message": "Path exists",
276
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
277
+ "details": {
278
+ "path": "/opt/sas/model-gli-text/models/small-biomed/spm.model"
279
+ },
280
+ "timestamp": 1777259376.4596305
281
+ },
282
+ {
283
+ "name": "Path Readable",
284
+ "status": "passed",
285
+ "message": "Path is readable",
286
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
287
+ "details": {
288
+ "path": "/opt/sas/model-gli-text/models/small-biomed/spm.model"
289
+ },
290
+ "timestamp": 1777259376.45966
291
+ },
292
+ {
293
+ "name": "File Type Validation",
294
+ "status": "passed",
295
+ "message": "File type validation passed",
296
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
297
+ "details": {},
298
+ "timestamp": 1777259376.4596877
299
+ },
300
+ {
301
+ "name": "File Integrity Hash",
302
+ "status": "passed",
303
+ "message": "File integrity hashes calculated",
304
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
305
+ "details": {
306
+ "md5": "1613fcbf3b82999c187b09c9db79b568",
307
+ "sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
308
+ "sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081",
309
+ "file_size": 2464616
310
+ },
311
+ "timestamp": 1777259376.4755383
312
+ },
313
+ {
314
+ "name": "Binary Structure Validation",
315
+ "status": "failed",
316
+ "message": "File does not contain expected XGBoost binary model markers",
317
+ "severity": "info",
318
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
319
+ "details": {
320
+ "expected_patterns": [
321
+ "binf",
322
+ "gbtree",
323
+ "gblinear",
324
+ "dart",
325
+ "reg:",
326
+ "binary:",
327
+ "multi:"
328
+ ]
329
+ },
330
+ "why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
331
+ "timestamp": 1777259376.4778106
332
+ },
333
+ {
334
+ "name": "XGBoost Loading",
335
+ "status": "passed",
336
+ "message": "XGBoost loading disabled (safe mode)",
337
+ "location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
338
+ "details": {
339
+ "safe_mode": true
340
+ },
341
+ "timestamp": 1777259376.4780412
342
+ },
343
+ {
344
+ "name": "Path Exists",
345
+ "status": "passed",
346
+ "message": "Path exists",
347
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
348
+ "details": {
349
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json"
350
+ },
351
+ "timestamp": 1777259378.5700724
352
+ },
353
+ {
354
+ "name": "Path Readable",
355
+ "status": "passed",
356
+ "message": "Path is readable",
357
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
358
+ "details": {
359
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json"
360
+ },
361
+ "timestamp": 1777259378.5701091
362
+ },
363
+ {
364
+ "name": "File Type Validation",
365
+ "status": "passed",
366
+ "message": "File type validation passed",
367
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
368
+ "details": {},
369
+ "timestamp": 1777259378.5701487
370
+ },
371
+ {
372
+ "name": "Template Extraction",
373
+ "status": "passed",
374
+ "message": "No Jinja2 templates found in file",
375
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
376
+ "details": {
377
+ "file_type": "tokenizer_config"
378
+ },
379
+ "timestamp": 1777259378.9933138
380
+ },
381
+ {
382
+ "name": "Path Exists",
383
+ "status": "passed",
384
+ "message": "Path exists",
385
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
386
+ "details": {
387
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json"
388
+ },
389
+ "timestamp": 1777259379.0099251
390
+ },
391
+ {
392
+ "name": "Path Readable",
393
+ "status": "passed",
394
+ "message": "Path is readable",
395
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
396
+ "details": {
397
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json"
398
+ },
399
+ "timestamp": 1777259379.0099535
400
+ },
401
+ {
402
+ "name": "File Type Validation",
403
+ "status": "passed",
404
+ "message": "File type validation passed",
405
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
406
+ "details": {},
407
+ "timestamp": 1777259379.0099823
408
+ },
409
+ {
410
+ "name": "Template Extraction",
411
+ "status": "passed",
412
+ "message": "No Jinja2 templates found in file",
413
+ "location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
414
+ "details": {
415
+ "file_type": "tokenizer_config"
416
+ },
417
+ "timestamp": 1777259379.0104265
418
+ }
419
+ ],
420
+ "files_scanned": 9,
421
+ "assets": [
422
+ {
423
+ "path": "/opt/sas/model-gli-text/models/small-biomed/LICENSE",
424
+ "type": "unknown"
425
+ },
426
+ {
427
+ "path": "/opt/sas/model-gli-text/models/small-biomed/README.md",
428
+ "type": "metadata",
429
+ "size": 1568
430
+ },
431
+ {
432
+ "path": "/opt/sas/model-gli-text/models/small-biomed/added_tokens.json",
433
+ "type": "unknown"
434
+ },
435
+ {
436
+ "path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
437
+ "type": "manifest",
438
+ "size": 3847,
439
+ "keys": [
440
+ "class_token_index",
441
+ "dropout",
442
+ "embed_ent_token",
443
+ "encoder_config",
444
+ "ent_token",
445
+ "eval_every",
446
+ "fine_tune",
447
+ "freeze_token_rep",
448
+ "fuse_layers",
449
+ "has_rnn",
450
+ "hidden_size",
451
+ "label_smoothing",
452
+ "labels_encoder",
453
+ "labels_encoder_config",
454
+ "labels_fusion_schema",
455
+ "log_dir",
456
+ "loss_alpha",
457
+ "loss_gamma",
458
+ "loss_reduction",
459
+ "lr_encoder",
460
+ "lr_others",
461
+ "max_grad_norm",
462
+ "max_len",
463
+ "max_neg_type_ratio",
464
+ "max_types",
465
+ "max_width",
466
+ "model_name",
467
+ "model_type",
468
+ "name",
469
+ "num_post_fusion_layers",
470
+ "num_rnns",
471
+ "num_steps",
472
+ "post_fusion_schema",
473
+ "pre_fusion",
474
+ "prev_path",
475
+ "random_drop",
476
+ "root_dir",
477
+ "save_total_limit",
478
+ "scheduler_type",
479
+ "sep_token",
480
+ "shuffle_types",
481
+ "size_sup",
482
+ "span_mode",
483
+ "subtoken_pooling",
484
+ "train_batch_size",
485
+ "train_data",
486
+ "transformers_version",
487
+ "val_data_dir",
488
+ "vocab_size",
489
+ "warmup_ratio",
490
+ "weight_decay_encoder",
491
+ "weight_decay_other",
492
+ "words_splitter_type"
493
+ ]
494
+ },
495
+ {
496
+ "path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
497
+ "type": "onnx",
498
+ "size": 611279071
499
+ },
500
+ {
501
+ "path": "/opt/sas/model-gli-text/models/small-biomed/special_tokens_map.json",
502
+ "type": "unknown"
503
+ },
504
+ {
505
+ "path": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
506
+ "type": "xgboost",
507
+ "size": 2464616
508
+ },
509
+ {
510
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
511
+ "type": "jinja2_template",
512
+ "size": 8649232
513
+ },
514
+ {
515
+ "path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
516
+ "type": "jinja2_template",
517
+ "size": 1663
518
+ }
519
+ ],
520
+ "has_errors": false,
521
+ "scanner_names": [
522
+ "metadata",
523
+ "manifest",
524
+ "onnx",
525
+ "xgboost",
526
+ "jinja2_template"
527
+ ],
528
+ "file_metadata": {
529
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE": {
530
+ "license_info": [
531
+ {
532
+ "spdx_id": "Apache-2.0",
533
+ "name": "Apache License 2.0",
534
+ "confidence": 0.8,
535
+ "source": "file_header",
536
+ "commercial_allowed": true
537
+ }
538
+ ],
539
+ "copyright_notices": [],
540
+ "license_files_nearby": [
541
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
542
+ ],
543
+ "is_dataset": false,
544
+ "is_model": false,
545
+ "risk_score": 0.0,
546
+ "scan_timestamp": 1777259029.489966,
547
+ "content_hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
548
+ },
549
+ "/opt/sas/model-gli-text/models/small-biomed/README.md": {
550
+ "file_size": 1568,
551
+ "license_info": [
552
+ {
553
+ "spdx_id": "Apache-2.0",
554
+ "name": "Apache License 2.0",
555
+ "confidence": 0.8,
556
+ "source": "file_header",
557
+ "commercial_allowed": true
558
+ }
559
+ ],
560
+ "copyright_notices": [],
561
+ "license_files_nearby": [
562
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
563
+ ],
564
+ "is_dataset": false,
565
+ "is_model": false,
566
+ "risk_score": 0.0,
567
+ "scan_timestamp": 1777259029.4999945,
568
+ "content_hash": "5f29ece88c2bd917d8a5b77f78863101b5547b5efd6407ff4e6bbcf8464223bc"
569
+ },
570
+ "/opt/sas/model-gli-text/models/small-biomed/added_tokens.json": {
571
+ "license_info": [],
572
+ "copyright_notices": [],
573
+ "license_files_nearby": [
574
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
575
+ ],
576
+ "is_dataset": true,
577
+ "is_model": false,
578
+ "risk_score": 0.0,
579
+ "scan_timestamp": 1777259029.572712,
580
+ "content_hash": "c358eb74586ab438484d8acf4534f67283b33041bc5ffee6b20a4a075cdc3cd6"
581
+ },
582
+ "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json": {
583
+ "file_size": 3847,
584
+ "license_info": [],
585
+ "copyright_notices": [],
586
+ "license_files_nearby": [
587
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
588
+ ],
589
+ "is_dataset": true,
590
+ "is_model": false,
591
+ "risk_score": 0.0,
592
+ "scan_timestamp": 1777259029.5822163,
593
+ "root_type": "dict",
594
+ "keys": [
595
+ "class_token_index",
596
+ "dropout",
597
+ "embed_ent_token",
598
+ "encoder_config",
599
+ "ent_token",
600
+ "eval_every",
601
+ "fine_tune",
602
+ "freeze_token_rep",
603
+ "fuse_layers",
604
+ "has_rnn",
605
+ "hidden_size",
606
+ "label_smoothing",
607
+ "labels_encoder",
608
+ "labels_encoder_config",
609
+ "labels_fusion_schema",
610
+ "log_dir",
611
+ "loss_alpha",
612
+ "loss_gamma",
613
+ "loss_reduction",
614
+ "lr_encoder",
615
+ "lr_others",
616
+ "max_grad_norm",
617
+ "max_len",
618
+ "max_neg_type_ratio",
619
+ "max_types",
620
+ "max_width",
621
+ "model_name",
622
+ "model_type",
623
+ "name",
624
+ "num_post_fusion_layers",
625
+ "num_rnns",
626
+ "num_steps",
627
+ "post_fusion_schema",
628
+ "pre_fusion",
629
+ "prev_path",
630
+ "random_drop",
631
+ "root_dir",
632
+ "save_total_limit",
633
+ "scheduler_type",
634
+ "sep_token",
635
+ "shuffle_types",
636
+ "size_sup",
637
+ "span_mode",
638
+ "subtoken_pooling",
639
+ "train_batch_size",
640
+ "train_data",
641
+ "transformers_version",
642
+ "val_data_dir",
643
+ "vocab_size",
644
+ "warmup_ratio",
645
+ "weight_decay_encoder",
646
+ "weight_decay_other",
647
+ "words_splitter_type"
648
+ ],
649
+ "content_hash": "9f478b189f1f822d66972a19974d4e9e76d89c112787d9595e7fa414b7e9a322"
650
+ },
651
+ "/opt/sas/model-gli-text/models/small-biomed/model.onnx": {
652
+ "file_size": 611279071,
653
+ "file_hashes": {
654
+ "md5": "258f10ddaa844b3881181211bb33c7f9",
655
+ "sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e",
656
+ "sha512": "b81eb65e8fc1470a77eedc4a719f42cb02ef68c0b7350cc4cd9740f132100e3e945ae8b8c15ea670bae25598e5679bbd48192fa1544b109cbfd9efb1839b0620"
657
+ },
658
+ "license_info": [],
659
+ "copyright_notices": [],
660
+ "license_files_nearby": [
661
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
662
+ ],
663
+ "is_dataset": false,
664
+ "is_model": true,
665
+ "risk_score": 0.0,
666
+ "scan_timestamp": 1777259376.438275,
667
+ "ir_version": 7,
668
+ "producer_name": "pytorch",
669
+ "node_count": 2803,
670
+ "scan_outcome": "inconclusive",
671
+ "scan_outcome_reasons": [
672
+ "onnx_weight_distribution_analysis_incomplete"
673
+ ],
674
+ "layers_analyzed": 49,
675
+ "anomalies_found": 1,
676
+ "content_hash": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e"
677
+ },
678
+ "/opt/sas/model-gli-text/models/small-biomed/special_tokens_map.json": {
679
+ "license_info": [],
680
+ "copyright_notices": [],
681
+ "license_files_nearby": [
682
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
683
+ ],
684
+ "is_dataset": true,
685
+ "is_model": false,
686
+ "risk_score": 0.0,
687
+ "scan_timestamp": 1777259376.4451866,
688
+ "content_hash": "b2f1b2f15f29a6b6d9d6ea4eca1675d2c231a71477f151d48f79cc83a625ba21"
689
+ },
690
+ "/opt/sas/model-gli-text/models/small-biomed/spm.model": {
691
+ "file_size": 2464616,
692
+ "file_hashes": {
693
+ "md5": "1613fcbf3b82999c187b09c9db79b568",
694
+ "sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
695
+ "sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081"
696
+ },
697
+ "license_info": [
698
+ {
699
+ "spdx_id": "RAIL",
700
+ "name": "Responsible AI License",
701
+ "confidence": 0.8,
702
+ "source": "file_header",
703
+ "commercial_allowed": true
704
+ }
705
+ ],
706
+ "copyright_notices": [],
707
+ "license_files_nearby": [
708
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
709
+ ],
710
+ "is_dataset": false,
711
+ "is_model": false,
712
+ "risk_score": 0.0,
713
+ "scan_timestamp": 1777259376.5159686,
714
+ "scan_outcome": "inconclusive",
715
+ "scan_outcome_reasons": [
716
+ "xgboost_binary_structure_unrecognized"
717
+ ],
718
+ "analysis_incomplete": true,
719
+ "content_hash": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd"
720
+ },
721
+ "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json": {
722
+ "file_size": 8649232,
723
+ "ml_context": {
724
+ "frameworks": {},
725
+ "overall_confidence": 0.0,
726
+ "is_ml_content": false,
727
+ "detected_patterns": [],
728
+ "optimization_hints": [],
729
+ "file_type": "tokenizer_config",
730
+ "is_tokenizer": true,
731
+ "confidence": 2
732
+ },
733
+ "license_info": [],
734
+ "copyright_notices": [],
735
+ "license_files_nearby": [
736
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
737
+ ],
738
+ "is_dataset": true,
739
+ "is_model": false,
740
+ "risk_score": 0.0,
741
+ "scan_timestamp": 1777259378.9973705,
742
+ "content_hash": "ee028763434d18611c1c36356ea1d050e90a9fa94ede57fac48b39f85f818ad1"
743
+ },
744
+ "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json": {
745
+ "file_size": 1663,
746
+ "ml_context": {
747
+ "frameworks": {},
748
+ "overall_confidence": 0.0,
749
+ "is_ml_content": false,
750
+ "detected_patterns": [],
751
+ "optimization_hints": [],
752
+ "file_type": "tokenizer_config",
753
+ "is_tokenizer": true,
754
+ "confidence": 2
755
+ },
756
+ "license_info": [],
757
+ "copyright_notices": [],
758
+ "license_files_nearby": [
759
+ "/opt/sas/model-gli-text/models/small-biomed/LICENSE"
760
+ ],
761
+ "is_dataset": true,
762
+ "is_model": false,
763
+ "risk_score": 0.0,
764
+ "scan_timestamp": 1777259379.0117524,
765
+ "content_hash": "a9d6f45dd60b5a9e041600e7583336d2c4ebe32bf697cff626543ee7fa0beb78"
766
+ }
767
+ },
768
+ "content_hash": "a54d32acfeb3d6a5ea5da7ee16ce90d266f66f5dea6ddebeb1d68b891b3a0196",
769
+ "start_time": 1777259028.592573,
770
+ "duration": 350.4283604621887,
771
+ "total_checks": 29,
772
+ "passed_checks": 29,
773
+ "failed_checks": 0,
774
+ "success": false
775
+ }
776
+ }