Add onnx files
Browse files- LICENSE +5 -0
- README.md +33 -173
- gliner_config.json +9 -28
- model.onnx +3 -0
- modelaudit.json +695 -0
- tokenizer.json +6 -0
- tokenizer_config.json +3 -67
LICENSE
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
LICENSE
|
| 2 |
+
|
| 3 |
+
This model is licensed under the nvidia-open-model-license.
|
| 4 |
+
|
| 5 |
+
License text: https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/
|
README.md
CHANGED
|
@@ -1,193 +1,53 @@
|
|
| 1 |
---
|
| 2 |
-
library_name:
|
| 3 |
-
license:
|
| 4 |
-
license_name: nvidia-open-model-license
|
| 5 |
-
license_link: >-
|
| 6 |
-
https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/
|
| 7 |
-
|
| 8 |
-
pipeline_tag: token-classification
|
| 9 |
-
language:
|
| 10 |
-
- en
|
| 11 |
tags:
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
---
|
| 21 |
|
| 22 |
-
#
|
| 23 |
-
|
| 24 |
-
### Description:
|
| 25 |
-
GLiNER-PII is inspired by the Gretel GLiNER PII/PHI models. Built on the GLiNER large-v2.1 base, it detects and classifies a broad range of Personally Identifiable Information (PII) and Protected Health Information (PHI) in structured and unstructured text. It is non-generative and produces span-level entity annotations with confidence scores across 55+ categories. This model was developed by NVIDIA.
|
| 26 |
-
|
| 27 |
-
This model is ready for commercial/non-commercial use. <br>
|
| 28 |
-
|
| 29 |
-
### License/Terms of Use
|
| 30 |
-
Use of this model is governed by the [NVIDIA Open Model License Agreement](https://www.nvidia.com/en-us/agreements/enterprise-software/nvidia-open-model-license/). <br>
|
| 31 |
-
|
| 32 |
-
### Deployment Geography:
|
| 33 |
-
Global <br>
|
| 34 |
-
|
| 35 |
-
### Use Case: <br>
|
| 36 |
-
GLiNER-PII supports detection and redaction of sensitive information across regulated and enterprise scenarios.
|
| 37 |
-
|
| 38 |
-
- **Healthcare**: Redact PHI in clinical notes, reports, and medical documents.
|
| 39 |
-
- **Finance**: Identify account numbers, SSNs, and transaction details in banking and insurance documents.
|
| 40 |
-
- **Legal**: Protect client information in contracts, filings, and discovery materials.
|
| 41 |
-
- **Enterprise Data Governance**: Scan documents, emails, and data stores for sensitive information.
|
| 42 |
-
- **Data Privacy Compliance**: Support GDPR, HIPAA, and CCPA workflows across varied document types.
|
| 43 |
-
- **Cybersecurity**: Detect sensitive data in logs, security reports, and incident records.
|
| 44 |
-
- **Content Moderation**: Flag personal information in user-generated content.
|
| 45 |
-
|
| 46 |
-
Note: performance varies by domain, format, and threshold, so validation and human review are recommended for high‑stakes deployments. <br>
|
| 47 |
-
|
| 48 |
-
### Release Date: <br>
|
| 49 |
-
Hugging Face 10/28/2025 via https://huggingface.co/nvidia/gliner-pii <br>
|
| 50 |
-
|
| 51 |
-
## References:
|
| 52 |
-
- GLiNER base (Hugging Face): https://huggingface.co/urchade/gliner_large-v2.1
|
| 53 |
-
- Gretel GLiNER PII/PHI models: https://huggingface.co/gretelai/gretel-gliner-bi-large-v1.0
|
| 54 |
-
- Training dataset: https://huggingface.co/datasets/nvidia/nemotron-pii
|
| 55 |
-
- GLiNER library: https://pypi.org/project/gliner/
|
| 56 |
-
|
| 57 |
-
## Model Architecture:
|
| 58 |
-
**Architecture Type:** Transformer <br>
|
| 59 |
-
|
| 60 |
-
**Network Architecture:** GLiNER <br>
|
| 61 |
-
|
| 62 |
-
**This model was developed based on urchade/gliner_large-v2.1** <br>
|
| 63 |
-
**Number of model parameters: 5.7 × 10^8** <br>
|
| 64 |
-
|
| 65 |
-
## Input: <br>
|
| 66 |
-
**Input Type(s):** Text <br>
|
| 67 |
-
**Input Format:** UTF-8 string(s) <br>
|
| 68 |
-
**Input Parameters:** One-Dimensional (1D) <br>
|
| 69 |
-
**Other Properties Related to Input:** supports structured and unstructured text <br>
|
| 70 |
-
|
| 71 |
-
## Output: <br>
|
| 72 |
-
**Output Type(s):** Text <br>
|
| 73 |
-
**Output Format:** String <br>
|
| 74 |
-
**Output Parameters:** One-Dimensional (1D) <br>
|
| 75 |
-
**Other Properties Related to Output:** List of dictionaries with keys {text, label, start, end, score} <br>
|
| 76 |
-
|
| 77 |
-
## Software Integration:
|
| 78 |
-
**Runtime Engine(s):**
|
| 79 |
-
* PyTorch, GLiNER Python library <br>
|
| 80 |
-
|
| 81 |
-
**Supported Hardware Microarchitecture Compatibility:** <br>
|
| 82 |
-
* NVIDIA Ampere <br>
|
| 83 |
-
* NVIDIA Blackwell <br>
|
| 84 |
-
* NVIDIA Hopper <br>
|
| 85 |
-
* NVIDIA Lovelace <br>
|
| 86 |
-
* NVIDIA Pascal <br>
|
| 87 |
-
* NVIDIA Turing <br>
|
| 88 |
-
* NVIDIA Volta <br>
|
| 89 |
-
* CPU (x86_64) <br>
|
| 90 |
|
| 91 |
-
|
| 92 |
-
* Linux <br>
|
| 93 |
|
| 94 |
-
|
| 95 |
|
| 96 |
-
|
| 97 |
-
- nvidia/gliner-pii
|
| 98 |
-
- Version: v1.0
|
| 99 |
|
| 100 |
-
|
| 101 |
-
|
| 102 |
-
|
| 103 |
-
|
| 104 |
-
**Link:** [nvidia/nemotron-pii](https://huggingface.co/datasets/nvidia/nemotron-pii) <br>
|
| 105 |
-
**Data Modality:** Text <br>
|
| 106 |
-
**Text Training Data Size:** \~100k records (\~10^5, <1B tokens) <br>
|
| 107 |
-
**Data Collection Method:** Synthetic <br>
|
| 108 |
-
**Labeling Method:** Synthetic <br>
|
| 109 |
-
|
| 110 |
-
**Properties:**
|
| 111 |
-
Synthetic persona-grounded dataset generated with NVIDIA NeMo Data Designer, spanning 50+ industries and 55+ entity types (U.S. and international formats). Includes both structured and unstructured records. Labels automatically injected during generation.
|
| 112 |
-
|
| 113 |
-
## Evaluation Datasets
|
| 114 |
-
|
| 115 |
-
* [Argilla PII](https://huggingface.co/argilla)
|
| 116 |
-
* [AI4Privacy](https://huggingface.co/ai4privacy)
|
| 117 |
-
* [Gretel PII Dataset V1/V2](https://huggingface.co/datasets/gretelai/gretel-pii-masking-en-v1)
|
| 118 |
-
|
| 119 |
-
**Data Collection Method:** Hybrid: Automated, Human <br>
|
| 120 |
-
**Labeling Method:** Hybrid: Automated, Human <br>
|
| 121 |
-
|
| 122 |
-
**Evaluation Results** <br>
|
| 123 |
-
From the combined evaluation across Argilla, AI4Privacy, and Gretel PII datasets:
|
| 124 |
-
|
| 125 |
-
| Benchmark | Strict F1 |
|
| 126 |
-
| --------------------| -----------: |
|
| 127 |
-
| Argilla PII | 0.70 |
|
| 128 |
-
| AI4Privacy | 0.64 |
|
| 129 |
-
| nvidia/Nemotron-PII | 0.87 |
|
| 130 |
-
---
|
| 131 |
-
We evaluated the model using `threshold=0.3`. <br>
|
| 132 |
-
|
| 133 |
-
# Inference:
|
| 134 |
-
**Acceleration Engine:** PyTorch (via Hugging Face Transformers) <br>
|
| 135 |
-
**Test Hardware:** NVIDIA A100 (Ampere, PCIe/SXM) <br>
|
| 136 |
-
|
| 137 |
-
# Usage Recommendation
|
| 138 |
|
| 139 |
-
|
| 140 |
|
| 141 |
```
|
| 142 |
-
|
| 143 |
```
|
| 144 |
-
Now, let's try to find an email, SSN, and phone number in a messy block of text.
|
| 145 |
|
| 146 |
-
|
| 147 |
-
from gliner import GLiNER
|
| 148 |
-
# 1. Define our new text
|
| 149 |
-
text = "Hi support, I can't log in! My account username is 'johndoe88'. Every time I try, it says 'invalid credentials'. Please reset my password. You can reach me at (555) 123-4567 or johnd@example.com"
|
| 150 |
|
| 151 |
-
|
| 152 |
-
|
| 153 |
|
| 154 |
-
#
|
| 155 |
-
model = GLiNER.from_pretrained("nvidia/gliner-pii")
|
| 156 |
|
| 157 |
-
|
| 158 |
-
entities = model.predict_entities(text, labels, threshold=0.5)
|
| 159 |
-
```
|
| 160 |
|
| 161 |
-
Sample output:
|
| 162 |
-
```
|
| 163 |
-
[
|
| 164 |
-
{
|
| 165 |
-
"start": 52,
|
| 166 |
-
"end": 61,
|
| 167 |
-
"text": "johndoe88",
|
| 168 |
-
"label": "user_name",
|
| 169 |
-
"score": 0.99
|
| 170 |
-
},
|
| 171 |
-
{
|
| 172 |
-
"start": 159,
|
| 173 |
-
"end": 173,
|
| 174 |
-
"text": "(555) 123-4567",
|
| 175 |
-
"label": "phone_number",
|
| 176 |
-
"score": 0.99
|
| 177 |
-
},
|
| 178 |
-
{
|
| 179 |
-
"start": 177,
|
| 180 |
-
"end": 194,
|
| 181 |
-
"text": "johnd@example.com",
|
| 182 |
-
"label": "email",
|
| 183 |
-
"score": 0.99
|
| 184 |
-
}
|
| 185 |
-
]
|
| 186 |
-
```
|
| 187 |
|
| 188 |
-
|
| 189 |
-
|
|
|
|
| 190 |
|
| 191 |
-
|
| 192 |
|
| 193 |
-
|
|
|
|
| 1 |
---
|
| 2 |
+
library_name: glitext
|
| 3 |
+
license: apache-2.0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 4 |
tags:
|
| 5 |
+
- glitext
|
| 6 |
+
glitext:
|
| 7 |
+
name: pii-large
|
| 8 |
+
label: GliText PII Recognition (Accurate)
|
| 9 |
+
description: An efficient zero-shot named entity recognition model tuned for PII extraction with high accuracy.
|
| 10 |
+
recognition: true
|
| 11 |
+
classification: false
|
| 12 |
+
association: false
|
| 13 |
+
span_mode: true
|
| 14 |
+
size_gb: 1.7
|
| 15 |
+
hf_repo: rpeel/glitext-pii-large
|
| 16 |
+
source_url: nvidia/gliner-PII
|
| 17 |
---
|
| 18 |
|
| 19 |
+
# rpeel/glitext-pii-large
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 20 |
|
| 21 |
+
An efficient zero-shot named entity recognition model tuned for PII extraction with high accuracy.
|
|
|
|
| 22 |
|
| 23 |
+
## Requirements
|
| 24 |
|
| 25 |
+
To download this model to the SAS GLiText server:
|
|
|
|
|
|
|
| 26 |
|
| 27 |
+
```
|
| 28 |
+
POST /v1/models/download?name=pii-large
|
| 29 |
+
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
|
| 31 |
+
To download and load into memory in one step:
|
| 32 |
|
| 33 |
```
|
| 34 |
+
PUT /v1/models?name=pii-large
|
| 35 |
```
|
|
|
|
| 36 |
|
| 37 |
+
## Source Model
|
|
|
|
|
|
|
|
|
|
| 38 |
|
| 39 |
+
Exported from [nvidia/gliner-PII](https://huggingface.co/nvidia/gliner-PII).
|
| 40 |
+
See the [original model card](https://huggingface.co/nvidia/gliner-PII) 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` | 1784.6 MB | `e6f5db22bf3a2c06…` |
|
| 50 |
|
| 51 |
+
## License
|
| 52 |
|
| 53 |
+
[Apache 2.0](https://www.apache.org/licenses/LICENSE-2.0). Derived from [nvidia/gliner-PII](https://huggingface.co/nvidia/gliner-PII) by [nvidia](https://huggingface.co/nvidia).
|
gliner_config.json
CHANGED
|
@@ -7,21 +7,13 @@
|
|
| 7 |
"add_cross_attention": false,
|
| 8 |
"architectures": null,
|
| 9 |
"attention_probs_dropout_prob": 0.1,
|
| 10 |
-
"bad_words_ids": null,
|
| 11 |
-
"begin_suppress_tokens": null,
|
| 12 |
"bos_token_id": null,
|
| 13 |
"chunk_size_feed_forward": 0,
|
| 14 |
"cross_attention_hidden_size": null,
|
| 15 |
"decoder_start_token_id": null,
|
| 16 |
-
"
|
| 17 |
-
"do_sample": false,
|
| 18 |
-
"early_stopping": false,
|
| 19 |
-
"encoder_no_repeat_ngram_size": 0,
|
| 20 |
"eos_token_id": null,
|
| 21 |
-
"exponential_decay_length_penalty": null,
|
| 22 |
"finetuning_task": null,
|
| 23 |
-
"forced_bos_token_id": null,
|
| 24 |
-
"forced_eos_token_id": null,
|
| 25 |
"hidden_act": "gelu",
|
| 26 |
"hidden_dropout_prob": 0.1,
|
| 27 |
"hidden_size": 1024,
|
|
@@ -38,22 +30,15 @@
|
|
| 38 |
"LABEL_1": 1
|
| 39 |
},
|
| 40 |
"layer_norm_eps": 1e-07,
|
| 41 |
-
"
|
| 42 |
-
"max_length": 20,
|
| 43 |
"max_position_embeddings": 512,
|
| 44 |
"max_relative_positions": -1,
|
| 45 |
-
"min_length": 0,
|
| 46 |
"model_type": "deberta-v2",
|
| 47 |
-
"no_repeat_ngram_size": 0,
|
| 48 |
"norm_rel_ebd": "layer_norm",
|
| 49 |
"num_attention_heads": 16,
|
| 50 |
-
"num_beam_groups": 1,
|
| 51 |
-
"num_beams": 1,
|
| 52 |
"num_hidden_layers": 24,
|
| 53 |
-
"num_return_sequences": 1,
|
| 54 |
"output_attentions": false,
|
| 55 |
"output_hidden_states": false,
|
| 56 |
-
"output_scores": false,
|
| 57 |
"pad_token_id": 0,
|
| 58 |
"pooler_dropout": 0,
|
| 59 |
"pooler_hidden_act": "gelu",
|
|
@@ -68,25 +53,16 @@
|
|
| 68 |
"problem_type": null,
|
| 69 |
"pruned_heads": {},
|
| 70 |
"relative_attention": true,
|
| 71 |
-
"remove_invalid_values": false,
|
| 72 |
-
"repetition_penalty": 1.0,
|
| 73 |
"return_dict": true,
|
| 74 |
-
"return_dict_in_generate": false,
|
| 75 |
"sep_token_id": null,
|
| 76 |
"share_att_key": true,
|
| 77 |
-
"suppress_tokens": null,
|
| 78 |
"task_specific_params": null,
|
| 79 |
-
"temperature": 1.0,
|
| 80 |
"tf_legacy_loss": false,
|
| 81 |
"tie_encoder_decoder": false,
|
| 82 |
"tie_word_embeddings": true,
|
| 83 |
"tokenizer_class": null,
|
| 84 |
-
"top_k": 50,
|
| 85 |
-
"top_p": 1.0,
|
| 86 |
-
"torch_dtype": null,
|
| 87 |
"torchscript": false,
|
| 88 |
"type_vocab_size": 0,
|
| 89 |
-
"typical_p": 1.0,
|
| 90 |
"use_bfloat16": false,
|
| 91 |
"vocab_size": 128004
|
| 92 |
},
|
|
@@ -105,19 +81,24 @@
|
|
| 105 |
"max_types": 25,
|
| 106 |
"max_width": 12,
|
| 107 |
"model_name": "microsoft/deberta-v3-large",
|
| 108 |
-
"model_type":
|
| 109 |
"name": "correct",
|
|
|
|
| 110 |
"num_post_fusion_layers": 1,
|
|
|
|
| 111 |
"num_steps": 30000,
|
| 112 |
"post_fusion_schema": "",
|
| 113 |
"random_drop": true,
|
|
|
|
| 114 |
"sep_token": "<<SEP>>",
|
| 115 |
"shuffle_types": true,
|
| 116 |
"size_sup": -1,
|
|
|
|
| 117 |
"span_mode": "markerV0",
|
| 118 |
"subtoken_pooling": "first",
|
|
|
|
| 119 |
"train_batch_size": 8,
|
| 120 |
-
"transformers_version": "
|
| 121 |
"vocab_size": 128004,
|
| 122 |
"warmup_ratio": 3000,
|
| 123 |
"words_splitter_type": "whitespace"
|
|
|
|
| 7 |
"add_cross_attention": false,
|
| 8 |
"architectures": null,
|
| 9 |
"attention_probs_dropout_prob": 0.1,
|
|
|
|
|
|
|
| 10 |
"bos_token_id": null,
|
| 11 |
"chunk_size_feed_forward": 0,
|
| 12 |
"cross_attention_hidden_size": null,
|
| 13 |
"decoder_start_token_id": null,
|
| 14 |
+
"dtype": null,
|
|
|
|
|
|
|
|
|
|
| 15 |
"eos_token_id": null,
|
|
|
|
| 16 |
"finetuning_task": null,
|
|
|
|
|
|
|
| 17 |
"hidden_act": "gelu",
|
| 18 |
"hidden_dropout_prob": 0.1,
|
| 19 |
"hidden_size": 1024,
|
|
|
|
| 30 |
"LABEL_1": 1
|
| 31 |
},
|
| 32 |
"layer_norm_eps": 1e-07,
|
| 33 |
+
"legacy": true,
|
|
|
|
| 34 |
"max_position_embeddings": 512,
|
| 35 |
"max_relative_positions": -1,
|
|
|
|
| 36 |
"model_type": "deberta-v2",
|
|
|
|
| 37 |
"norm_rel_ebd": "layer_norm",
|
| 38 |
"num_attention_heads": 16,
|
|
|
|
|
|
|
| 39 |
"num_hidden_layers": 24,
|
|
|
|
| 40 |
"output_attentions": false,
|
| 41 |
"output_hidden_states": false,
|
|
|
|
| 42 |
"pad_token_id": 0,
|
| 43 |
"pooler_dropout": 0,
|
| 44 |
"pooler_hidden_act": "gelu",
|
|
|
|
| 53 |
"problem_type": null,
|
| 54 |
"pruned_heads": {},
|
| 55 |
"relative_attention": true,
|
|
|
|
|
|
|
| 56 |
"return_dict": true,
|
|
|
|
| 57 |
"sep_token_id": null,
|
| 58 |
"share_att_key": true,
|
|
|
|
| 59 |
"task_specific_params": null,
|
|
|
|
| 60 |
"tf_legacy_loss": false,
|
| 61 |
"tie_encoder_decoder": false,
|
| 62 |
"tie_word_embeddings": true,
|
| 63 |
"tokenizer_class": null,
|
|
|
|
|
|
|
|
|
|
| 64 |
"torchscript": false,
|
| 65 |
"type_vocab_size": 0,
|
|
|
|
| 66 |
"use_bfloat16": false,
|
| 67 |
"vocab_size": 128004
|
| 68 |
},
|
|
|
|
| 81 |
"max_types": 25,
|
| 82 |
"max_width": 12,
|
| 83 |
"model_name": "microsoft/deberta-v3-large",
|
| 84 |
+
"model_type": null,
|
| 85 |
"name": "correct",
|
| 86 |
+
"neg_spans_ratio": 1.0,
|
| 87 |
"num_post_fusion_layers": 1,
|
| 88 |
+
"num_rnn_layers": 1,
|
| 89 |
"num_steps": 30000,
|
| 90 |
"post_fusion_schema": "",
|
| 91 |
"random_drop": true,
|
| 92 |
+
"represent_spans": false,
|
| 93 |
"sep_token": "<<SEP>>",
|
| 94 |
"shuffle_types": true,
|
| 95 |
"size_sup": -1,
|
| 96 |
+
"span_loss_coef": 1.0,
|
| 97 |
"span_mode": "markerV0",
|
| 98 |
"subtoken_pooling": "first",
|
| 99 |
+
"token_loss_coef": 1.0,
|
| 100 |
"train_batch_size": 8,
|
| 101 |
+
"transformers_version": "5.1.0",
|
| 102 |
"vocab_size": 128004,
|
| 103 |
"warmup_ratio": 3000,
|
| 104 |
"words_splitter_type": "whitespace"
|
model.onnx
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e6f5db22bf3a2c0608bae20d80b02eb18e8e6b278ddabc43c176f3c408aafb5f
|
| 3 |
+
size 1784572593
|
modelaudit.json
ADDED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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"tool": "modelaudit",
|
| 3 |
+
"tool_version": "0.2.40",
|
| 4 |
+
"scanned_at": "2026-04-27T01:48:47Z",
|
| 5 |
+
"files": {
|
| 6 |
+
"model.onnx": {
|
| 7 |
+
"size_mb": 1784.6,
|
| 8 |
+
"sha256": "e6f5db22bf3a2c0608bae20d80b02eb18e8e6b278ddabc43c176f3c408aafb5f"
|
| 9 |
+
}
|
| 10 |
+
},
|
| 11 |
+
"audit": {
|
| 12 |
+
"bytes_scanned": 1795692820,
|
| 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/pii-large/model.onnx",
|
| 18 |
+
"details": {
|
| 19 |
+
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
|
| 20 |
+
"coverage_gap": "partial_initializer_coverage",
|
| 21 |
+
"eligible_initializers": 158,
|
| 22 |
+
"analyzed_initializers": 157,
|
| 23 |
+
"external_initializers_skipped": 0,
|
| 24 |
+
"oversized_initializers_skipped": 1,
|
| 25 |
+
"extraction_failures": 0,
|
| 26 |
+
"max_array_size": 104857600
|
| 27 |
+
},
|
| 28 |
+
"timestamp": 1777254517.375655,
|
| 29 |
+
"type": "onnx_check",
|
| 30 |
+
"rule_code": "S902"
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"message": "File does not contain expected XGBoost binary model markers",
|
| 34 |
+
"severity": "info",
|
| 35 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 36 |
+
"details": {
|
| 37 |
+
"expected_patterns": [
|
| 38 |
+
"binf",
|
| 39 |
+
"gbtree",
|
| 40 |
+
"gblinear",
|
| 41 |
+
"dart",
|
| 42 |
+
"reg:",
|
| 43 |
+
"binary:",
|
| 44 |
+
"multi:"
|
| 45 |
+
]
|
| 46 |
+
},
|
| 47 |
+
"why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
|
| 48 |
+
"timestamp": 1777254523.9662325,
|
| 49 |
+
"type": "xgboost_check"
|
| 50 |
+
}
|
| 51 |
+
],
|
| 52 |
+
"checks": [
|
| 53 |
+
{
|
| 54 |
+
"name": "Path Exists",
|
| 55 |
+
"status": "passed",
|
| 56 |
+
"message": "Path exists",
|
| 57 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/README.md",
|
| 58 |
+
"details": {
|
| 59 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/README.md"
|
| 60 |
+
},
|
| 61 |
+
"timestamp": 1777253507.7469912
|
| 62 |
+
},
|
| 63 |
+
{
|
| 64 |
+
"name": "Path Readable",
|
| 65 |
+
"status": "passed",
|
| 66 |
+
"message": "Path is readable",
|
| 67 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/README.md",
|
| 68 |
+
"details": {
|
| 69 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/README.md"
|
| 70 |
+
},
|
| 71 |
+
"timestamp": 1777253507.7470188
|
| 72 |
+
},
|
| 73 |
+
{
|
| 74 |
+
"name": "File Type Validation",
|
| 75 |
+
"status": "passed",
|
| 76 |
+
"message": "File type validation passed",
|
| 77 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/README.md",
|
| 78 |
+
"details": {},
|
| 79 |
+
"timestamp": 1777253507.7470477
|
| 80 |
+
},
|
| 81 |
+
{
|
| 82 |
+
"name": "Path Exists",
|
| 83 |
+
"status": "passed",
|
| 84 |
+
"message": "Path exists",
|
| 85 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json",
|
| 86 |
+
"details": {
|
| 87 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json"
|
| 88 |
+
},
|
| 89 |
+
"timestamp": 1777253507.8376338
|
| 90 |
+
},
|
| 91 |
+
{
|
| 92 |
+
"name": "Path Readable",
|
| 93 |
+
"status": "passed",
|
| 94 |
+
"message": "Path is readable",
|
| 95 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json",
|
| 96 |
+
"details": {
|
| 97 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json"
|
| 98 |
+
},
|
| 99 |
+
"timestamp": 1777253507.8376603
|
| 100 |
+
},
|
| 101 |
+
{
|
| 102 |
+
"name": "File Type Validation",
|
| 103 |
+
"status": "passed",
|
| 104 |
+
"message": "File type validation passed",
|
| 105 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json",
|
| 106 |
+
"details": {},
|
| 107 |
+
"timestamp": 1777253507.837688
|
| 108 |
+
},
|
| 109 |
+
{
|
| 110 |
+
"name": "Model Name Policy Check",
|
| 111 |
+
"status": "passed",
|
| 112 |
+
"message": "Model Name Policy Check completed successfully",
|
| 113 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json",
|
| 114 |
+
"details": {
|
| 115 |
+
"component_count": 2
|
| 116 |
+
},
|
| 117 |
+
"timestamp": 1777253507.839352
|
| 118 |
+
},
|
| 119 |
+
{
|
| 120 |
+
"name": "Path Exists",
|
| 121 |
+
"status": "passed",
|
| 122 |
+
"message": "Path exists",
|
| 123 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 124 |
+
"details": {
|
| 125 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/model.onnx"
|
| 126 |
+
},
|
| 127 |
+
"timestamp": 1777253507.869744
|
| 128 |
+
},
|
| 129 |
+
{
|
| 130 |
+
"name": "Path Readable",
|
| 131 |
+
"status": "passed",
|
| 132 |
+
"message": "Path is readable",
|
| 133 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 134 |
+
"details": {
|
| 135 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/model.onnx"
|
| 136 |
+
},
|
| 137 |
+
"timestamp": 1777253507.869775
|
| 138 |
+
},
|
| 139 |
+
{
|
| 140 |
+
"name": "File Type Validation",
|
| 141 |
+
"status": "passed",
|
| 142 |
+
"message": "File type validation passed",
|
| 143 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 144 |
+
"details": {},
|
| 145 |
+
"timestamp": 1777253507.8698015
|
| 146 |
+
},
|
| 147 |
+
{
|
| 148 |
+
"name": "File Integrity Hash",
|
| 149 |
+
"status": "passed",
|
| 150 |
+
"message": "File integrity hashes calculated",
|
| 151 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 152 |
+
"details": {
|
| 153 |
+
"md5": "715d740b8e15bd272bca06334ec5827f",
|
| 154 |
+
"sha256": "e6f5db22bf3a2c0608bae20d80b02eb18e8e6b278ddabc43c176f3c408aafb5f",
|
| 155 |
+
"sha512": "150c51adb5a0806140ccd55812fafcb4d564de332248b7963a697db6d9f429b18f9fd538d26e3f179c1982d0861a0134cba6411b2b768ee0597579fe399a8873",
|
| 156 |
+
"file_size": 1784572593
|
| 157 |
+
},
|
| 158 |
+
"timestamp": 1777253516.9992
|
| 159 |
+
},
|
| 160 |
+
{
|
| 161 |
+
"name": "JIT/Script Code Execution Detection",
|
| 162 |
+
"status": "passed",
|
| 163 |
+
"message": "No JIT/Script code execution risks detected",
|
| 164 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 165 |
+
"details": {},
|
| 166 |
+
"timestamp": 1777254512.1935756
|
| 167 |
+
},
|
| 168 |
+
{
|
| 169 |
+
"name": "Network Communication Detection",
|
| 170 |
+
"status": "passed",
|
| 171 |
+
"message": "No network communication patterns detected",
|
| 172 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 173 |
+
"details": {},
|
| 174 |
+
"timestamp": 1777254512.1937573
|
| 175 |
+
},
|
| 176 |
+
{
|
| 177 |
+
"name": "Custom Operator Domain Check",
|
| 178 |
+
"status": "passed",
|
| 179 |
+
"message": "All operators use standard ONNX domains",
|
| 180 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 181 |
+
"details": {
|
| 182 |
+
"safe_nodes": 9913
|
| 183 |
+
},
|
| 184 |
+
"timestamp": 1777254512.239958
|
| 185 |
+
},
|
| 186 |
+
{
|
| 187 |
+
"name": "Python Operator Detection",
|
| 188 |
+
"status": "passed",
|
| 189 |
+
"message": "No Python operators detected",
|
| 190 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 191 |
+
"details": {
|
| 192 |
+
"nodes_checked": 9913
|
| 193 |
+
},
|
| 194 |
+
"timestamp": 1777254512.2400036
|
| 195 |
+
},
|
| 196 |
+
{
|
| 197 |
+
"name": "Tensor Size Validation",
|
| 198 |
+
"status": "passed",
|
| 199 |
+
"message": "Tensor Size Validation completed successfully",
|
| 200 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx (tensor: core.token_rep_layer.bert_layer.model.embeddings.word_embeddings.weight)",
|
| 201 |
+
"details": {
|
| 202 |
+
"component_count": 411
|
| 203 |
+
},
|
| 204 |
+
"timestamp": 1777254515.519565
|
| 205 |
+
},
|
| 206 |
+
{
|
| 207 |
+
"name": "Weight Distribution Analysis Coverage",
|
| 208 |
+
"status": "failed",
|
| 209 |
+
"message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
|
| 210 |
+
"severity": "info",
|
| 211 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 212 |
+
"details": {
|
| 213 |
+
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
|
| 214 |
+
"coverage_gap": "partial_initializer_coverage",
|
| 215 |
+
"eligible_initializers": 158,
|
| 216 |
+
"analyzed_initializers": 157,
|
| 217 |
+
"external_initializers_skipped": 0,
|
| 218 |
+
"oversized_initializers_skipped": 1,
|
| 219 |
+
"extraction_failures": 0,
|
| 220 |
+
"max_array_size": 104857600
|
| 221 |
+
},
|
| 222 |
+
"rule_code": "S902",
|
| 223 |
+
"timestamp": 1777254517.3755178
|
| 224 |
+
},
|
| 225 |
+
{
|
| 226 |
+
"name": "Path Exists",
|
| 227 |
+
"status": "passed",
|
| 228 |
+
"message": "Path exists",
|
| 229 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 230 |
+
"details": {
|
| 231 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/spm.model"
|
| 232 |
+
},
|
| 233 |
+
"timestamp": 1777254523.9484646
|
| 234 |
+
},
|
| 235 |
+
{
|
| 236 |
+
"name": "Path Readable",
|
| 237 |
+
"status": "passed",
|
| 238 |
+
"message": "Path is readable",
|
| 239 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 240 |
+
"details": {
|
| 241 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/spm.model"
|
| 242 |
+
},
|
| 243 |
+
"timestamp": 1777254523.9484947
|
| 244 |
+
},
|
| 245 |
+
{
|
| 246 |
+
"name": "File Type Validation",
|
| 247 |
+
"status": "passed",
|
| 248 |
+
"message": "File type validation passed",
|
| 249 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 250 |
+
"details": {},
|
| 251 |
+
"timestamp": 1777254523.9485226
|
| 252 |
+
},
|
| 253 |
+
{
|
| 254 |
+
"name": "File Integrity Hash",
|
| 255 |
+
"status": "passed",
|
| 256 |
+
"message": "File integrity hashes calculated",
|
| 257 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 258 |
+
"details": {
|
| 259 |
+
"md5": "1613fcbf3b82999c187b09c9db79b568",
|
| 260 |
+
"sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
|
| 261 |
+
"sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081",
|
| 262 |
+
"file_size": 2464616
|
| 263 |
+
},
|
| 264 |
+
"timestamp": 1777254523.9640443
|
| 265 |
+
},
|
| 266 |
+
{
|
| 267 |
+
"name": "Binary Structure Validation",
|
| 268 |
+
"status": "failed",
|
| 269 |
+
"message": "File does not contain expected XGBoost binary model markers",
|
| 270 |
+
"severity": "info",
|
| 271 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 272 |
+
"details": {
|
| 273 |
+
"expected_patterns": [
|
| 274 |
+
"binf",
|
| 275 |
+
"gbtree",
|
| 276 |
+
"gblinear",
|
| 277 |
+
"dart",
|
| 278 |
+
"reg:",
|
| 279 |
+
"binary:",
|
| 280 |
+
"multi:"
|
| 281 |
+
]
|
| 282 |
+
},
|
| 283 |
+
"why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
|
| 284 |
+
"timestamp": 1777254523.9662135
|
| 285 |
+
},
|
| 286 |
+
{
|
| 287 |
+
"name": "XGBoost Loading",
|
| 288 |
+
"status": "passed",
|
| 289 |
+
"message": "XGBoost loading disabled (safe mode)",
|
| 290 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 291 |
+
"details": {
|
| 292 |
+
"safe_mode": true
|
| 293 |
+
},
|
| 294 |
+
"timestamp": 1777254523.9664836
|
| 295 |
+
},
|
| 296 |
+
{
|
| 297 |
+
"name": "Path Exists",
|
| 298 |
+
"status": "passed",
|
| 299 |
+
"message": "Path exists",
|
| 300 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json",
|
| 301 |
+
"details": {
|
| 302 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json"
|
| 303 |
+
},
|
| 304 |
+
"timestamp": 1777254526.045291
|
| 305 |
+
},
|
| 306 |
+
{
|
| 307 |
+
"name": "Path Readable",
|
| 308 |
+
"status": "passed",
|
| 309 |
+
"message": "Path is readable",
|
| 310 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json",
|
| 311 |
+
"details": {
|
| 312 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json"
|
| 313 |
+
},
|
| 314 |
+
"timestamp": 1777254526.045329
|
| 315 |
+
},
|
| 316 |
+
{
|
| 317 |
+
"name": "File Type Validation",
|
| 318 |
+
"status": "passed",
|
| 319 |
+
"message": "File type validation passed",
|
| 320 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json",
|
| 321 |
+
"details": {},
|
| 322 |
+
"timestamp": 1777254526.0453677
|
| 323 |
+
},
|
| 324 |
+
{
|
| 325 |
+
"name": "Template Extraction",
|
| 326 |
+
"status": "passed",
|
| 327 |
+
"message": "No Jinja2 templates found in file",
|
| 328 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json",
|
| 329 |
+
"details": {
|
| 330 |
+
"file_type": "tokenizer_config"
|
| 331 |
+
},
|
| 332 |
+
"timestamp": 1777254526.4614794
|
| 333 |
+
},
|
| 334 |
+
{
|
| 335 |
+
"name": "Path Exists",
|
| 336 |
+
"status": "passed",
|
| 337 |
+
"message": "Path exists",
|
| 338 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json",
|
| 339 |
+
"details": {
|
| 340 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json"
|
| 341 |
+
},
|
| 342 |
+
"timestamp": 1777254526.4704058
|
| 343 |
+
},
|
| 344 |
+
{
|
| 345 |
+
"name": "Path Readable",
|
| 346 |
+
"status": "passed",
|
| 347 |
+
"message": "Path is readable",
|
| 348 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json",
|
| 349 |
+
"details": {
|
| 350 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json"
|
| 351 |
+
},
|
| 352 |
+
"timestamp": 1777254526.470432
|
| 353 |
+
},
|
| 354 |
+
{
|
| 355 |
+
"name": "File Type Validation",
|
| 356 |
+
"status": "passed",
|
| 357 |
+
"message": "File type validation passed",
|
| 358 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json",
|
| 359 |
+
"details": {},
|
| 360 |
+
"timestamp": 1777254526.4704616
|
| 361 |
+
},
|
| 362 |
+
{
|
| 363 |
+
"name": "Template Extraction",
|
| 364 |
+
"status": "passed",
|
| 365 |
+
"message": "No Jinja2 templates found in file",
|
| 366 |
+
"location": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json",
|
| 367 |
+
"details": {
|
| 368 |
+
"file_type": "tokenizer_config"
|
| 369 |
+
},
|
| 370 |
+
"timestamp": 1777254526.470916
|
| 371 |
+
}
|
| 372 |
+
],
|
| 373 |
+
"files_scanned": 9,
|
| 374 |
+
"assets": [
|
| 375 |
+
{
|
| 376 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/LICENSE",
|
| 377 |
+
"type": "unknown"
|
| 378 |
+
},
|
| 379 |
+
{
|
| 380 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/README.md",
|
| 381 |
+
"type": "metadata",
|
| 382 |
+
"size": 1438
|
| 383 |
+
},
|
| 384 |
+
{
|
| 385 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/added_tokens.json",
|
| 386 |
+
"type": "unknown"
|
| 387 |
+
},
|
| 388 |
+
{
|
| 389 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/gliner_config.json",
|
| 390 |
+
"type": "manifest",
|
| 391 |
+
"size": 2710,
|
| 392 |
+
"keys": [
|
| 393 |
+
"class_token_index",
|
| 394 |
+
"dropout",
|
| 395 |
+
"embed_ent_token",
|
| 396 |
+
"encoder_config",
|
| 397 |
+
"ent_token",
|
| 398 |
+
"eval_every",
|
| 399 |
+
"fine_tune",
|
| 400 |
+
"fuse_layers",
|
| 401 |
+
"has_rnn",
|
| 402 |
+
"hidden_size",
|
| 403 |
+
"labels_encoder",
|
| 404 |
+
"labels_encoder_config",
|
| 405 |
+
"lr_encoder",
|
| 406 |
+
"lr_others",
|
| 407 |
+
"max_len",
|
| 408 |
+
"max_neg_type_ratio",
|
| 409 |
+
"max_types",
|
| 410 |
+
"max_width",
|
| 411 |
+
"model_name",
|
| 412 |
+
"model_type",
|
| 413 |
+
"name",
|
| 414 |
+
"neg_spans_ratio",
|
| 415 |
+
"num_post_fusion_layers",
|
| 416 |
+
"num_rnn_layers",
|
| 417 |
+
"num_steps",
|
| 418 |
+
"post_fusion_schema",
|
| 419 |
+
"random_drop",
|
| 420 |
+
"represent_spans",
|
| 421 |
+
"sep_token",
|
| 422 |
+
"shuffle_types",
|
| 423 |
+
"size_sup",
|
| 424 |
+
"span_loss_coef",
|
| 425 |
+
"span_mode",
|
| 426 |
+
"subtoken_pooling",
|
| 427 |
+
"token_loss_coef",
|
| 428 |
+
"train_batch_size",
|
| 429 |
+
"transformers_version",
|
| 430 |
+
"vocab_size",
|
| 431 |
+
"warmup_ratio",
|
| 432 |
+
"words_splitter_type"
|
| 433 |
+
]
|
| 434 |
+
},
|
| 435 |
+
{
|
| 436 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/model.onnx",
|
| 437 |
+
"type": "onnx",
|
| 438 |
+
"size": 1784572593
|
| 439 |
+
},
|
| 440 |
+
{
|
| 441 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/special_tokens_map.json",
|
| 442 |
+
"type": "unknown"
|
| 443 |
+
},
|
| 444 |
+
{
|
| 445 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/spm.model",
|
| 446 |
+
"type": "xgboost",
|
| 447 |
+
"size": 2464616
|
| 448 |
+
},
|
| 449 |
+
{
|
| 450 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer.json",
|
| 451 |
+
"type": "jinja2_template",
|
| 452 |
+
"size": 8649672
|
| 453 |
+
},
|
| 454 |
+
{
|
| 455 |
+
"path": "/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json",
|
| 456 |
+
"type": "jinja2_template",
|
| 457 |
+
"size": 564
|
| 458 |
+
}
|
| 459 |
+
],
|
| 460 |
+
"has_errors": false,
|
| 461 |
+
"scanner_names": [
|
| 462 |
+
"metadata",
|
| 463 |
+
"manifest",
|
| 464 |
+
"onnx",
|
| 465 |
+
"xgboost",
|
| 466 |
+
"jinja2_template"
|
| 467 |
+
],
|
| 468 |
+
"file_metadata": {
|
| 469 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE": {
|
| 470 |
+
"license_info": [],
|
| 471 |
+
"copyright_notices": [],
|
| 472 |
+
"license_files_nearby": [
|
| 473 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 474 |
+
],
|
| 475 |
+
"is_dataset": false,
|
| 476 |
+
"is_model": false,
|
| 477 |
+
"risk_score": 0.0,
|
| 478 |
+
"scan_timestamp": 1777253507.7414448,
|
| 479 |
+
"content_hash": "a9d02548b7b0ac7400816a1a89ad61d1bbc0c5ced16e11f2fe05765f4d81435e"
|
| 480 |
+
},
|
| 481 |
+
"/opt/sas/model-gli-text/models/pii-large/README.md": {
|
| 482 |
+
"file_size": 1438,
|
| 483 |
+
"license_info": [
|
| 484 |
+
{
|
| 485 |
+
"spdx_id": "Apache-2.0",
|
| 486 |
+
"name": "Apache License 2.0",
|
| 487 |
+
"confidence": 0.8,
|
| 488 |
+
"source": "file_header",
|
| 489 |
+
"commercial_allowed": true
|
| 490 |
+
}
|
| 491 |
+
],
|
| 492 |
+
"copyright_notices": [],
|
| 493 |
+
"license_files_nearby": [
|
| 494 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 495 |
+
],
|
| 496 |
+
"is_dataset": false,
|
| 497 |
+
"is_model": false,
|
| 498 |
+
"risk_score": 0.0,
|
| 499 |
+
"scan_timestamp": 1777253507.7526639,
|
| 500 |
+
"content_hash": "2139d5d4e9ba7eb619144420d8bfe443efa0016322b8f433ed68009a5f34c79f"
|
| 501 |
+
},
|
| 502 |
+
"/opt/sas/model-gli-text/models/pii-large/added_tokens.json": {
|
| 503 |
+
"license_info": [],
|
| 504 |
+
"copyright_notices": [],
|
| 505 |
+
"license_files_nearby": [
|
| 506 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 507 |
+
],
|
| 508 |
+
"is_dataset": true,
|
| 509 |
+
"is_model": false,
|
| 510 |
+
"risk_score": 0.0,
|
| 511 |
+
"scan_timestamp": 1777253507.8301353,
|
| 512 |
+
"content_hash": "0a4df7f7953a90443fa51b6ca723242f6cb29e7fc34b1f27fc320c8e60de45b7"
|
| 513 |
+
},
|
| 514 |
+
"/opt/sas/model-gli-text/models/pii-large/gliner_config.json": {
|
| 515 |
+
"file_size": 2710,
|
| 516 |
+
"license_info": [],
|
| 517 |
+
"copyright_notices": [],
|
| 518 |
+
"license_files_nearby": [
|
| 519 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 520 |
+
],
|
| 521 |
+
"is_dataset": true,
|
| 522 |
+
"is_model": false,
|
| 523 |
+
"risk_score": 0.0,
|
| 524 |
+
"scan_timestamp": 1777253507.8408313,
|
| 525 |
+
"root_type": "dict",
|
| 526 |
+
"keys": [
|
| 527 |
+
"class_token_index",
|
| 528 |
+
"dropout",
|
| 529 |
+
"embed_ent_token",
|
| 530 |
+
"encoder_config",
|
| 531 |
+
"ent_token",
|
| 532 |
+
"eval_every",
|
| 533 |
+
"fine_tune",
|
| 534 |
+
"fuse_layers",
|
| 535 |
+
"has_rnn",
|
| 536 |
+
"hidden_size",
|
| 537 |
+
"labels_encoder",
|
| 538 |
+
"labels_encoder_config",
|
| 539 |
+
"lr_encoder",
|
| 540 |
+
"lr_others",
|
| 541 |
+
"max_len",
|
| 542 |
+
"max_neg_type_ratio",
|
| 543 |
+
"max_types",
|
| 544 |
+
"max_width",
|
| 545 |
+
"model_name",
|
| 546 |
+
"model_type",
|
| 547 |
+
"name",
|
| 548 |
+
"neg_spans_ratio",
|
| 549 |
+
"num_post_fusion_layers",
|
| 550 |
+
"num_rnn_layers",
|
| 551 |
+
"num_steps",
|
| 552 |
+
"post_fusion_schema",
|
| 553 |
+
"random_drop",
|
| 554 |
+
"represent_spans",
|
| 555 |
+
"sep_token",
|
| 556 |
+
"shuffle_types",
|
| 557 |
+
"size_sup",
|
| 558 |
+
"span_loss_coef",
|
| 559 |
+
"span_mode",
|
| 560 |
+
"subtoken_pooling",
|
| 561 |
+
"token_loss_coef",
|
| 562 |
+
"train_batch_size",
|
| 563 |
+
"transformers_version",
|
| 564 |
+
"vocab_size",
|
| 565 |
+
"warmup_ratio",
|
| 566 |
+
"words_splitter_type"
|
| 567 |
+
],
|
| 568 |
+
"content_hash": "831f96d6d04033ead8842f77d6688117fbe5a700de2a29cf4ad525f253bdaca9"
|
| 569 |
+
},
|
| 570 |
+
"/opt/sas/model-gli-text/models/pii-large/model.onnx": {
|
| 571 |
+
"file_size": 1784572593,
|
| 572 |
+
"file_hashes": {
|
| 573 |
+
"md5": "715d740b8e15bd272bca06334ec5827f",
|
| 574 |
+
"sha256": "e6f5db22bf3a2c0608bae20d80b02eb18e8e6b278ddabc43c176f3c408aafb5f",
|
| 575 |
+
"sha512": "150c51adb5a0806140ccd55812fafcb4d564de332248b7963a697db6d9f429b18f9fd538d26e3f179c1982d0861a0134cba6411b2b768ee0597579fe399a8873"
|
| 576 |
+
},
|
| 577 |
+
"license_info": [],
|
| 578 |
+
"copyright_notices": [],
|
| 579 |
+
"license_files_nearby": [
|
| 580 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 581 |
+
],
|
| 582 |
+
"is_dataset": false,
|
| 583 |
+
"is_model": true,
|
| 584 |
+
"risk_score": 0.0,
|
| 585 |
+
"scan_timestamp": 1777254523.932818,
|
| 586 |
+
"ir_version": 7,
|
| 587 |
+
"producer_name": "pytorch",
|
| 588 |
+
"node_count": 9913,
|
| 589 |
+
"scan_outcome": "inconclusive",
|
| 590 |
+
"scan_outcome_reasons": [
|
| 591 |
+
"onnx_weight_distribution_analysis_incomplete"
|
| 592 |
+
],
|
| 593 |
+
"layers_analyzed": 157,
|
| 594 |
+
"anomalies_found": 0,
|
| 595 |
+
"content_hash": "e6f5db22bf3a2c0608bae20d80b02eb18e8e6b278ddabc43c176f3c408aafb5f"
|
| 596 |
+
},
|
| 597 |
+
"/opt/sas/model-gli-text/models/pii-large/special_tokens_map.json": {
|
| 598 |
+
"license_info": [],
|
| 599 |
+
"copyright_notices": [],
|
| 600 |
+
"license_files_nearby": [
|
| 601 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 602 |
+
],
|
| 603 |
+
"is_dataset": true,
|
| 604 |
+
"is_model": false,
|
| 605 |
+
"risk_score": 0.0,
|
| 606 |
+
"scan_timestamp": 1777254523.9398346,
|
| 607 |
+
"content_hash": "b2f1b2f15f29a6b6d9d6ea4eca1675d2c231a71477f151d48f79cc83a625ba21"
|
| 608 |
+
},
|
| 609 |
+
"/opt/sas/model-gli-text/models/pii-large/spm.model": {
|
| 610 |
+
"file_size": 2464616,
|
| 611 |
+
"file_hashes": {
|
| 612 |
+
"md5": "1613fcbf3b82999c187b09c9db79b568",
|
| 613 |
+
"sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
|
| 614 |
+
"sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081"
|
| 615 |
+
},
|
| 616 |
+
"license_info": [
|
| 617 |
+
{
|
| 618 |
+
"spdx_id": "RAIL",
|
| 619 |
+
"name": "Responsible AI License",
|
| 620 |
+
"confidence": 0.8,
|
| 621 |
+
"source": "file_header",
|
| 622 |
+
"commercial_allowed": true
|
| 623 |
+
}
|
| 624 |
+
],
|
| 625 |
+
"copyright_notices": [],
|
| 626 |
+
"license_files_nearby": [
|
| 627 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 628 |
+
],
|
| 629 |
+
"is_dataset": false,
|
| 630 |
+
"is_model": false,
|
| 631 |
+
"risk_score": 0.0,
|
| 632 |
+
"scan_timestamp": 1777254524.0049138,
|
| 633 |
+
"scan_outcome": "inconclusive",
|
| 634 |
+
"scan_outcome_reasons": [
|
| 635 |
+
"xgboost_binary_structure_unrecognized"
|
| 636 |
+
],
|
| 637 |
+
"analysis_incomplete": true,
|
| 638 |
+
"content_hash": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd"
|
| 639 |
+
},
|
| 640 |
+
"/opt/sas/model-gli-text/models/pii-large/tokenizer.json": {
|
| 641 |
+
"file_size": 8649672,
|
| 642 |
+
"ml_context": {
|
| 643 |
+
"frameworks": {},
|
| 644 |
+
"overall_confidence": 0.0,
|
| 645 |
+
"is_ml_content": false,
|
| 646 |
+
"detected_patterns": [],
|
| 647 |
+
"optimization_hints": [],
|
| 648 |
+
"file_type": "tokenizer_config",
|
| 649 |
+
"is_tokenizer": true,
|
| 650 |
+
"confidence": 2
|
| 651 |
+
},
|
| 652 |
+
"license_info": [],
|
| 653 |
+
"copyright_notices": [],
|
| 654 |
+
"license_files_nearby": [
|
| 655 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 656 |
+
],
|
| 657 |
+
"is_dataset": true,
|
| 658 |
+
"is_model": false,
|
| 659 |
+
"risk_score": 0.0,
|
| 660 |
+
"scan_timestamp": 1777254526.4654963,
|
| 661 |
+
"content_hash": "d448b305cb7be09e3bf95e3852b5c8f4726fafe2f7b56d5cfcf26c1d3ebabe8b"
|
| 662 |
+
},
|
| 663 |
+
"/opt/sas/model-gli-text/models/pii-large/tokenizer_config.json": {
|
| 664 |
+
"file_size": 564,
|
| 665 |
+
"ml_context": {
|
| 666 |
+
"frameworks": {},
|
| 667 |
+
"overall_confidence": 0.0,
|
| 668 |
+
"is_ml_content": false,
|
| 669 |
+
"detected_patterns": [],
|
| 670 |
+
"optimization_hints": [],
|
| 671 |
+
"file_type": "tokenizer_config",
|
| 672 |
+
"is_tokenizer": true,
|
| 673 |
+
"confidence": 2
|
| 674 |
+
},
|
| 675 |
+
"license_info": [],
|
| 676 |
+
"copyright_notices": [],
|
| 677 |
+
"license_files_nearby": [
|
| 678 |
+
"/opt/sas/model-gli-text/models/pii-large/LICENSE"
|
| 679 |
+
],
|
| 680 |
+
"is_dataset": true,
|
| 681 |
+
"is_model": false,
|
| 682 |
+
"risk_score": 0.0,
|
| 683 |
+
"scan_timestamp": 1777254526.474051,
|
| 684 |
+
"content_hash": "1b2caa2d31ebbbf90e61aa8127fadf4f8b930d8b19530e6e88cd32c32418c5cc"
|
| 685 |
+
}
|
| 686 |
+
},
|
| 687 |
+
"content_hash": "78113bd1672c2748e21158ba339dd629fd5fec043042aa9d5030da4fbfdb458b",
|
| 688 |
+
"start_time": 1777253505.3059766,
|
| 689 |
+
"duration": 1021.1788341999054,
|
| 690 |
+
"total_checks": 29,
|
| 691 |
+
"passed_checks": 29,
|
| 692 |
+
"failed_checks": 0,
|
| 693 |
+
"success": false
|
| 694 |
+
}
|
| 695 |
+
}
|
tokenizer.json
CHANGED
|
@@ -156,6 +156,12 @@
|
|
| 156 |
"type_id": 0
|
| 157 |
}
|
| 158 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 159 |
{
|
| 160 |
"Sequence": {
|
| 161 |
"id": "B",
|
|
|
|
| 156 |
"type_id": 0
|
| 157 |
}
|
| 158 |
},
|
| 159 |
+
{
|
| 160 |
+
"SpecialToken": {
|
| 161 |
+
"id": "[CLS]",
|
| 162 |
+
"type_id": 1
|
| 163 |
+
}
|
| 164 |
+
},
|
| 165 |
{
|
| 166 |
"Sequence": {
|
| 167 |
"id": "B",
|
tokenizer_config.json
CHANGED
|
@@ -1,75 +1,11 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
| 3 |
-
"0": {
|
| 4 |
-
"content": "[PAD]",
|
| 5 |
-
"lstrip": false,
|
| 6 |
-
"normalized": false,
|
| 7 |
-
"rstrip": false,
|
| 8 |
-
"single_word": false,
|
| 9 |
-
"special": true
|
| 10 |
-
},
|
| 11 |
-
"1": {
|
| 12 |
-
"content": "[CLS]",
|
| 13 |
-
"lstrip": false,
|
| 14 |
-
"normalized": false,
|
| 15 |
-
"rstrip": false,
|
| 16 |
-
"single_word": false,
|
| 17 |
-
"special": true
|
| 18 |
-
},
|
| 19 |
-
"2": {
|
| 20 |
-
"content": "[SEP]",
|
| 21 |
-
"lstrip": false,
|
| 22 |
-
"normalized": false,
|
| 23 |
-
"rstrip": false,
|
| 24 |
-
"single_word": false,
|
| 25 |
-
"special": true
|
| 26 |
-
},
|
| 27 |
-
"3": {
|
| 28 |
-
"content": "[UNK]",
|
| 29 |
-
"lstrip": false,
|
| 30 |
-
"normalized": true,
|
| 31 |
-
"rstrip": false,
|
| 32 |
-
"single_word": false,
|
| 33 |
-
"special": true
|
| 34 |
-
},
|
| 35 |
-
"128000": {
|
| 36 |
-
"content": "[MASK]",
|
| 37 |
-
"lstrip": false,
|
| 38 |
-
"normalized": false,
|
| 39 |
-
"rstrip": false,
|
| 40 |
-
"single_word": false,
|
| 41 |
-
"special": true
|
| 42 |
-
},
|
| 43 |
-
"128001": {
|
| 44 |
-
"content": "[FLERT]",
|
| 45 |
-
"lstrip": false,
|
| 46 |
-
"normalized": true,
|
| 47 |
-
"rstrip": false,
|
| 48 |
-
"single_word": false,
|
| 49 |
-
"special": false
|
| 50 |
-
},
|
| 51 |
-
"128002": {
|
| 52 |
-
"content": "<<ENT>>",
|
| 53 |
-
"lstrip": false,
|
| 54 |
-
"normalized": true,
|
| 55 |
-
"rstrip": false,
|
| 56 |
-
"single_word": false,
|
| 57 |
-
"special": false
|
| 58 |
-
},
|
| 59 |
-
"128003": {
|
| 60 |
-
"content": "<<SEP>>",
|
| 61 |
-
"lstrip": false,
|
| 62 |
-
"normalized": true,
|
| 63 |
-
"rstrip": false,
|
| 64 |
-
"single_word": false,
|
| 65 |
-
"special": false
|
| 66 |
-
}
|
| 67 |
-
},
|
| 68 |
"bos_token": "[CLS]",
|
| 69 |
"clean_up_tokenization_spaces": false,
|
| 70 |
"cls_token": "[CLS]",
|
| 71 |
"do_lower_case": false,
|
| 72 |
"eos_token": "[SEP]",
|
|
|
|
| 73 |
"mask_token": "[MASK]",
|
| 74 |
"max_length": null,
|
| 75 |
"model_max_length": 1000000000000000019884624838656,
|
|
@@ -80,7 +16,7 @@
|
|
| 80 |
"sep_token": "[SEP]",
|
| 81 |
"sp_model_kwargs": {},
|
| 82 |
"split_by_punct": false,
|
| 83 |
-
"tokenizer_class": "
|
| 84 |
"unk_token": "[UNK]",
|
| 85 |
"vocab_type": "spm"
|
| 86 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"backend": "tokenizers",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
"bos_token": "[CLS]",
|
| 4 |
"clean_up_tokenization_spaces": false,
|
| 5 |
"cls_token": "[CLS]",
|
| 6 |
"do_lower_case": false,
|
| 7 |
"eos_token": "[SEP]",
|
| 8 |
+
"is_local": true,
|
| 9 |
"mask_token": "[MASK]",
|
| 10 |
"max_length": null,
|
| 11 |
"model_max_length": 1000000000000000019884624838656,
|
|
|
|
| 16 |
"sep_token": "[SEP]",
|
| 17 |
"sp_model_kwargs": {},
|
| 18 |
"split_by_punct": false,
|
| 19 |
+
"tokenizer_class": "TokenizersBackend",
|
| 20 |
"unk_token": "[UNK]",
|
| 21 |
"vocab_type": "spm"
|
| 22 |
}
|