Token Classification
PyTorch
ONNX
English
glitext
NER
GLiNER
information extraction
encoder
entity recognition
biomed
glitext-small-biomed / modelaudit.json
barry-sas's picture
Add onnx files
8154e58
Raw
History Blame Contribute Delete
26.6 kB
{
"tool": "modelaudit",
"tool_version": "0.2.40",
"scanned_at": "2026-04-27T03:09:39Z",
"files": {
"model.onnx": {
"size_mb": 611.3,
"sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e"
}
},
"audit": {
"bytes_scanned": 622412390,
"issues": [
{
"message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
"coverage_gap": "partial_initializer_coverage",
"eligible_initializers": 50,
"analyzed_initializers": 49,
"external_initializers_skipped": 0,
"oversized_initializers_skipped": 1,
"extraction_failures": 0,
"max_array_size": 104857600
},
"timestamp": 1777259373.4500408,
"type": "onnx_check",
"rule_code": "S902"
},
{
"message": "Layer 'onnx::LSTM_4308' has neurons with extremely large weight values",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"layer": "onnx::LSTM_4308",
"affected_neurons": [
312,
752,
1776
],
"total_affected": 3,
"num_extreme_weights": 3,
"threshold": 0.08652891963720322,
"max_weight": 0.09312348067760468,
"total_outputs": 2048,
"analysis_method": "structural_analysis"
},
"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.",
"timestamp": 1777259375.8744645,
"type": "onnx_check",
"rule_code": "S802"
},
{
"message": "File does not contain expected XGBoost binary model markers",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"expected_patterns": [
"binf",
"gbtree",
"gblinear",
"dart",
"reg:",
"binary:",
"multi:"
]
},
"why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
"timestamp": 1777259376.477829,
"type": "xgboost_check"
}
],
"checks": [
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/README.md"
},
"timestamp": 1777259029.49457
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/README.md"
},
"timestamp": 1777259029.494599
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/README.md",
"details": {},
"timestamp": 1777259029.4946365
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json"
},
"timestamp": 1777259029.5784254
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json"
},
"timestamp": 1777259029.578461
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
"details": {},
"timestamp": 1777259029.578497
},
{
"name": "Model Name Policy Check",
"status": "passed",
"message": "Model Name Policy Check completed successfully",
"location": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
"details": {
"component_count": 2
},
"timestamp": 1777259029.5803332
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx"
},
"timestamp": 1777259029.6075687
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx"
},
"timestamp": 1777259029.6075983
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {},
"timestamp": 1777259029.6076248
},
{
"name": "File Integrity Hash",
"status": "passed",
"message": "File integrity hashes calculated",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"md5": "258f10ddaa844b3881181211bb33c7f9",
"sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e",
"sha512": "b81eb65e8fc1470a77eedc4a719f42cb02ef68c0b7350cc4cd9740f132100e3e945ae8b8c15ea670bae25598e5679bbd48192fa1544b109cbfd9efb1839b0620",
"file_size": 611279071
},
"timestamp": 1777259032.7579923
},
{
"name": "JIT/Script Code Execution Detection",
"status": "passed",
"message": "No JIT/Script code execution risks detected",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {},
"timestamp": 1777259371.9275408
},
{
"name": "Network Communication Detection",
"status": "passed",
"message": "No network communication patterns detected",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {},
"timestamp": 1777259371.9276881
},
{
"name": "Custom Operator Domain Check",
"status": "passed",
"message": "All operators use standard ONNX domains",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"safe_nodes": 2803
},
"timestamp": 1777259371.9411178
},
{
"name": "Python Operator Detection",
"status": "passed",
"message": "No Python operators detected",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"nodes_checked": 2803
},
"timestamp": 1777259371.9411857
},
{
"name": "Tensor Size Validation",
"status": "passed",
"message": "Tensor Size Validation completed successfully",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx (tensor: token_rep_layer.bert_layer.model.embeddings.word_embeddings.weight)",
"details": {
"component_count": 123
},
"timestamp": 1777259373.2861547
},
{
"name": "Weight Distribution Analysis Coverage",
"status": "failed",
"message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
"coverage_gap": "partial_initializer_coverage",
"eligible_initializers": 50,
"analyzed_initializers": 49,
"external_initializers_skipped": 0,
"oversized_initializers_skipped": 1,
"extraction_failures": 0,
"max_array_size": 104857600
},
"rule_code": "S902",
"timestamp": 1777259373.449896
},
{
"name": "Weight Distribution Anomaly Detection",
"status": "failed",
"message": "Layer 'onnx::LSTM_4308' has neurons with extremely large weight values",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"details": {
"layer": "onnx::LSTM_4308",
"affected_neurons": [
312,
752,
1776
],
"total_affected": 3,
"num_extreme_weights": 3,
"threshold": 0.08652891963720322,
"max_weight": 0.09312348067760468,
"total_outputs": 2048,
"analysis_method": "structural_analysis"
},
"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.",
"rule_code": "S802",
"timestamp": 1777259375.8744361
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/spm.model"
},
"timestamp": 1777259376.4596305
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/spm.model"
},
"timestamp": 1777259376.45966
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {},
"timestamp": 1777259376.4596877
},
{
"name": "File Integrity Hash",
"status": "passed",
"message": "File integrity hashes calculated",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"md5": "1613fcbf3b82999c187b09c9db79b568",
"sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
"sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081",
"file_size": 2464616
},
"timestamp": 1777259376.4755383
},
{
"name": "Binary Structure Validation",
"status": "failed",
"message": "File does not contain expected XGBoost binary model markers",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"expected_patterns": [
"binf",
"gbtree",
"gblinear",
"dart",
"reg:",
"binary:",
"multi:"
]
},
"why": "Missing XGBoost markers may indicate a truncated, corrupted, or mislabeled model file",
"timestamp": 1777259376.4778106
},
{
"name": "XGBoost Loading",
"status": "passed",
"message": "XGBoost loading disabled (safe mode)",
"location": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"details": {
"safe_mode": true
},
"timestamp": 1777259376.4780412
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json"
},
"timestamp": 1777259378.5700724
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json"
},
"timestamp": 1777259378.5701091
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
"details": {},
"timestamp": 1777259378.5701487
},
{
"name": "Template Extraction",
"status": "passed",
"message": "No Jinja2 templates found in file",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
"details": {
"file_type": "tokenizer_config"
},
"timestamp": 1777259378.9933138
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json"
},
"timestamp": 1777259379.0099251
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json"
},
"timestamp": 1777259379.0099535
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
"details": {},
"timestamp": 1777259379.0099823
},
{
"name": "Template Extraction",
"status": "passed",
"message": "No Jinja2 templates found in file",
"location": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
"details": {
"file_type": "tokenizer_config"
},
"timestamp": 1777259379.0104265
}
],
"files_scanned": 9,
"assets": [
{
"path": "/opt/sas/model-gli-text/models/small-biomed/LICENSE",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/README.md",
"type": "metadata",
"size": 1568
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/added_tokens.json",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/gliner_config.json",
"type": "manifest",
"size": 3847,
"keys": [
"class_token_index",
"dropout",
"embed_ent_token",
"encoder_config",
"ent_token",
"eval_every",
"fine_tune",
"freeze_token_rep",
"fuse_layers",
"has_rnn",
"hidden_size",
"label_smoothing",
"labels_encoder",
"labels_encoder_config",
"labels_fusion_schema",
"log_dir",
"loss_alpha",
"loss_gamma",
"loss_reduction",
"lr_encoder",
"lr_others",
"max_grad_norm",
"max_len",
"max_neg_type_ratio",
"max_types",
"max_width",
"model_name",
"model_type",
"name",
"num_post_fusion_layers",
"num_rnns",
"num_steps",
"post_fusion_schema",
"pre_fusion",
"prev_path",
"random_drop",
"root_dir",
"save_total_limit",
"scheduler_type",
"sep_token",
"shuffle_types",
"size_sup",
"span_mode",
"subtoken_pooling",
"train_batch_size",
"train_data",
"transformers_version",
"val_data_dir",
"vocab_size",
"warmup_ratio",
"weight_decay_encoder",
"weight_decay_other",
"words_splitter_type"
]
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/model.onnx",
"type": "onnx",
"size": 611279071
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/special_tokens_map.json",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/spm.model",
"type": "xgboost",
"size": 2464616
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer.json",
"type": "jinja2_template",
"size": 8649232
},
{
"path": "/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json",
"type": "jinja2_template",
"size": 1663
}
],
"has_errors": false,
"scanner_names": [
"metadata",
"manifest",
"onnx",
"xgboost",
"jinja2_template"
],
"file_metadata": {
"/opt/sas/model-gli-text/models/small-biomed/LICENSE": {
"license_info": [
{
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"confidence": 0.8,
"source": "file_header",
"commercial_allowed": true
}
],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259029.489966,
"content_hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
},
"/opt/sas/model-gli-text/models/small-biomed/README.md": {
"file_size": 1568,
"license_info": [
{
"spdx_id": "Apache-2.0",
"name": "Apache License 2.0",
"confidence": 0.8,
"source": "file_header",
"commercial_allowed": true
}
],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259029.4999945,
"content_hash": "5f29ece88c2bd917d8a5b77f78863101b5547b5efd6407ff4e6bbcf8464223bc"
},
"/opt/sas/model-gli-text/models/small-biomed/added_tokens.json": {
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259029.572712,
"content_hash": "c358eb74586ab438484d8acf4534f67283b33041bc5ffee6b20a4a075cdc3cd6"
},
"/opt/sas/model-gli-text/models/small-biomed/gliner_config.json": {
"file_size": 3847,
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259029.5822163,
"root_type": "dict",
"keys": [
"class_token_index",
"dropout",
"embed_ent_token",
"encoder_config",
"ent_token",
"eval_every",
"fine_tune",
"freeze_token_rep",
"fuse_layers",
"has_rnn",
"hidden_size",
"label_smoothing",
"labels_encoder",
"labels_encoder_config",
"labels_fusion_schema",
"log_dir",
"loss_alpha",
"loss_gamma",
"loss_reduction",
"lr_encoder",
"lr_others",
"max_grad_norm",
"max_len",
"max_neg_type_ratio",
"max_types",
"max_width",
"model_name",
"model_type",
"name",
"num_post_fusion_layers",
"num_rnns",
"num_steps",
"post_fusion_schema",
"pre_fusion",
"prev_path",
"random_drop",
"root_dir",
"save_total_limit",
"scheduler_type",
"sep_token",
"shuffle_types",
"size_sup",
"span_mode",
"subtoken_pooling",
"train_batch_size",
"train_data",
"transformers_version",
"val_data_dir",
"vocab_size",
"warmup_ratio",
"weight_decay_encoder",
"weight_decay_other",
"words_splitter_type"
],
"content_hash": "9f478b189f1f822d66972a19974d4e9e76d89c112787d9595e7fa414b7e9a322"
},
"/opt/sas/model-gli-text/models/small-biomed/model.onnx": {
"file_size": 611279071,
"file_hashes": {
"md5": "258f10ddaa844b3881181211bb33c7f9",
"sha256": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e",
"sha512": "b81eb65e8fc1470a77eedc4a719f42cb02ef68c0b7350cc4cd9740f132100e3e945ae8b8c15ea670bae25598e5679bbd48192fa1544b109cbfd9efb1839b0620"
},
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": false,
"is_model": true,
"risk_score": 0.0,
"scan_timestamp": 1777259376.438275,
"ir_version": 7,
"producer_name": "pytorch",
"node_count": 2803,
"scan_outcome": "inconclusive",
"scan_outcome_reasons": [
"onnx_weight_distribution_analysis_incomplete"
],
"layers_analyzed": 49,
"anomalies_found": 1,
"content_hash": "3802e22c6358e1c9bce2dea3dca6ebd883c10d172e1230233fd6756ee489128e"
},
"/opt/sas/model-gli-text/models/small-biomed/special_tokens_map.json": {
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259376.4451866,
"content_hash": "b2f1b2f15f29a6b6d9d6ea4eca1675d2c231a71477f151d48f79cc83a625ba21"
},
"/opt/sas/model-gli-text/models/small-biomed/spm.model": {
"file_size": 2464616,
"file_hashes": {
"md5": "1613fcbf3b82999c187b09c9db79b568",
"sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
"sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081"
},
"license_info": [
{
"spdx_id": "RAIL",
"name": "Responsible AI License",
"confidence": 0.8,
"source": "file_header",
"commercial_allowed": true
}
],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259376.5159686,
"scan_outcome": "inconclusive",
"scan_outcome_reasons": [
"xgboost_binary_structure_unrecognized"
],
"analysis_incomplete": true,
"content_hash": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd"
},
"/opt/sas/model-gli-text/models/small-biomed/tokenizer.json": {
"file_size": 8649232,
"ml_context": {
"frameworks": {},
"overall_confidence": 0.0,
"is_ml_content": false,
"detected_patterns": [],
"optimization_hints": [],
"file_type": "tokenizer_config",
"is_tokenizer": true,
"confidence": 2
},
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259378.9973705,
"content_hash": "ee028763434d18611c1c36356ea1d050e90a9fa94ede57fac48b39f85f818ad1"
},
"/opt/sas/model-gli-text/models/small-biomed/tokenizer_config.json": {
"file_size": 1663,
"ml_context": {
"frameworks": {},
"overall_confidence": 0.0,
"is_ml_content": false,
"detected_patterns": [],
"optimization_hints": [],
"file_type": "tokenizer_config",
"is_tokenizer": true,
"confidence": 2
},
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/small-biomed/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777259379.0117524,
"content_hash": "a9d6f45dd60b5a9e041600e7583336d2c4ebe32bf697cff626543ee7fa0beb78"
}
},
"content_hash": "a54d32acfeb3d6a5ea5da7ee16ce90d266f66f5dea6ddebeb1d68b891b3a0196",
"start_time": 1777259028.592573,
"duration": 350.4283604621887,
"total_checks": 29,
"passed_checks": 29,
"failed_checks": 0,
"success": false
}
}