glitext-relex-large / modelaudit.json
rpeel's picture
Update model card and security scan results
a5b298f verified
Raw History Blame Contribute Delete
25.6 kB
{
"tool": "modelaudit",
"tool_version": "0.2.40",
"scanned_at": "2026-04-27T02:24:01Z",
"files": {
"model.onnx": {
"size_mb": 1869.1,
"sha256": "df2e5bde4da4b31fb891a53cd3ea597d98ef075b69bbfb55dbebc7b75cba4b79"
}
},
"audit": {
"bytes_scanned": 1880183415,
"issues": [
{
"message": "Weight distribution analysis skipped one or more eligible ONNX initializers",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
"coverage_gap": "partial_initializer_coverage",
"eligible_initializers": 160,
"analyzed_initializers": 159,
"external_initializers_skipped": 0,
"oversized_initializers_skipped": 1,
"extraction_failures": 0,
"max_array_size": 104857600
},
"timestamp": 1777256631.9315221,
"type": "onnx_check",
"rule_code": "S902"
},
{
"message": "Layer 'onnx::MatMul_15356' has neurons with extremely large weight values",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"layer": "onnx::MatMul_15356",
"affected_neurons": [
639
],
"total_affected": 1,
"num_extreme_weights": 1,
"threshold": 0.042603377252817154,
"max_weight": 0.0427175834774971,
"total_outputs": 768,
"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": 1777256636.5763924,
"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/relex-large/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": 1777256637.7484562,
"type": "xgboost_check"
}
],
"checks": [
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/README.md",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/README.md"
},
"timestamp": 1777255568.9568655
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/README.md",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/README.md"
},
"timestamp": 1777255568.9568949
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/README.md",
"details": {},
"timestamp": 1777255568.9569283
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json"
},
"timestamp": 1777255569.0365808
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json"
},
"timestamp": 1777255569.0366066
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json",
"details": {},
"timestamp": 1777255569.0366316
},
{
"name": "Model Name Policy Check",
"status": "passed",
"message": "Model Name Policy Check completed successfully",
"location": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json",
"details": {
"component_count": 2
},
"timestamp": 1777255569.0380855
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/model.onnx"
},
"timestamp": 1777255569.063525
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/model.onnx"
},
"timestamp": 1777255569.063554
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {},
"timestamp": 1777255569.0635817
},
{
"name": "File Integrity Hash",
"status": "passed",
"message": "File integrity hashes calculated",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"md5": "587f5462c44f8a87ca41cd27153c84d7",
"sha256": "df2e5bde4da4b31fb891a53cd3ea597d98ef075b69bbfb55dbebc7b75cba4b79",
"sha512": "7a5c4e1c135a60675f4b950dcb2ecf47d10bc552c75a9158f0a4017fba3e27682f71318d8427a79edbc132f018ff55dee165a970f27228e2b28acff442833695",
"file_size": 1869050687
},
"timestamp": 1777255578.5390894
},
{
"name": "JIT/Script Code Execution Detection",
"status": "passed",
"message": "No JIT/Script code execution risks detected",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {},
"timestamp": 1777256626.5926597
},
{
"name": "Network Communication Detection",
"status": "passed",
"message": "No network communication patterns detected",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {},
"timestamp": 1777256626.5928156
},
{
"name": "Custom Operator Domain Check",
"status": "passed",
"message": "All operators use standard ONNX domains",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"safe_nodes": 10121
},
"timestamp": 1777256626.6430469
},
{
"name": "Python Operator Detection",
"status": "passed",
"message": "No Python operators detected",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"nodes_checked": 10121
},
"timestamp": 1777256626.6430933
},
{
"name": "Tensor Size Validation",
"status": "passed",
"message": "Tensor Size Validation completed successfully",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx (tensor: core.token_rep_layer.bert_layer.model.embeddings.word_embeddings.weight)",
"details": {
"component_count": 415
},
"timestamp": 1777256629.8999262
},
{
"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/relex-large/model.onnx",
"details": {
"scan_outcome_reason": "onnx_weight_distribution_analysis_incomplete",
"coverage_gap": "partial_initializer_coverage",
"eligible_initializers": 160,
"analyzed_initializers": 159,
"external_initializers_skipped": 0,
"oversized_initializers_skipped": 1,
"extraction_failures": 0,
"max_array_size": 104857600
},
"rule_code": "S902",
"timestamp": 1777256631.9313855
},
{
"name": "Weight Distribution Anomaly Detection",
"status": "failed",
"message": "Layer 'onnx::MatMul_15356' has neurons with extremely large weight values",
"severity": "info",
"location": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"details": {
"layer": "onnx::MatMul_15356",
"affected_neurons": [
639
],
"total_affected": 1,
"num_extreme_weights": 1,
"threshold": 0.042603377252817154,
"max_weight": 0.0427175834774971,
"total_outputs": 768,
"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": 1777256636.57636
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/spm.model"
},
"timestamp": 1777256637.7305484
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/spm.model"
},
"timestamp": 1777256637.7305787
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"details": {},
"timestamp": 1777256637.7306068
},
{
"name": "File Integrity Hash",
"status": "passed",
"message": "File integrity hashes calculated",
"location": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"details": {
"md5": "1613fcbf3b82999c187b09c9db79b568",
"sha256": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd",
"sha512": "950cf1b397c25342053efaea576419e104f11e085796d741e5e78d6765ffe5474f4f096ee578099b04a611bde03e12808c51e2b6e89d2962a8665a35da6eb081",
"file_size": 2464616
},
"timestamp": 1777256637.7461584
},
{
"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/relex-large/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": 1777256637.7484357
},
{
"name": "XGBoost Loading",
"status": "passed",
"message": "XGBoost loading disabled (safe mode)",
"location": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"details": {
"safe_mode": true
},
"timestamp": 1777256637.7486832
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json"
},
"timestamp": 1777256639.8815029
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json"
},
"timestamp": 1777256639.8815353
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json",
"details": {},
"timestamp": 1777256639.881572
},
{
"name": "Template Extraction",
"status": "passed",
"message": "No Jinja2 templates found in file",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json",
"details": {
"file_type": "tokenizer_config"
},
"timestamp": 1777256640.294889
},
{
"name": "Path Exists",
"status": "passed",
"message": "Path exists",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json"
},
"timestamp": 1777256640.3043902
},
{
"name": "Path Readable",
"status": "passed",
"message": "Path is readable",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json",
"details": {
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json"
},
"timestamp": 1777256640.3044171
},
{
"name": "File Type Validation",
"status": "passed",
"message": "File type validation passed",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json",
"details": {},
"timestamp": 1777256640.3044457
},
{
"name": "Template Extraction",
"status": "passed",
"message": "No Jinja2 templates found in file",
"location": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json",
"details": {
"file_type": "tokenizer_config"
},
"timestamp": 1777256640.304901
}
],
"files_scanned": 9,
"assets": [
{
"path": "/opt/sas/model-gli-text/models/relex-large/LICENSE",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/README.md",
"type": "metadata",
"size": 731
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/added_tokens.json",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/gliner_config.json",
"type": "manifest",
"size": 3559,
"keys": [
"adjacency_loss_coef",
"augment_add_other_prob",
"augment_data_prob",
"augment_ent_drop_prob",
"augment_rel_drop_prob",
"class_token_index",
"dropout",
"embed_ent_token",
"embed_rel_token",
"encoder_config",
"ent_token",
"fine_tune",
"fuse_layers",
"hidden_size",
"max_len",
"max_neg_type_ratio",
"max_types",
"max_width",
"model_name",
"model_type",
"name",
"neg_spans_ratio",
"num_post_fusion_layers",
"num_rnn_layers",
"post_fusion_schema",
"rel_token",
"rel_token_index",
"relation_loss_coef",
"relations_layer",
"represent_spans",
"sep_token",
"span_loss_coef",
"span_mode",
"subtoken_pooling",
"token_loss_coef",
"transformers_version",
"triples_layer",
"vocab_size",
"words_splitter_type"
]
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/model.onnx",
"type": "onnx",
"size": 1869050687
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/special_tokens_map.json",
"type": "unknown"
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/spm.model",
"type": "xgboost",
"size": 2464616
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer.json",
"type": "jinja2_template",
"size": 8649571
},
{
"path": "/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json",
"type": "jinja2_template",
"size": 1837
}
],
"has_errors": false,
"scanner_names": [
"metadata",
"manifest",
"onnx",
"xgboost",
"jinja2_template"
],
"file_metadata": {
"/opt/sas/model-gli-text/models/relex-large/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/relex-large/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777255568.952069,
"content_hash": "cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30"
},
"/opt/sas/model-gli-text/models/relex-large/README.md": {
"file_size": 731,
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/relex-large/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777255568.9608793,
"content_hash": "0f5b39f1deb0c005bd024039e143ab7900233c63c5f8649fb90b50d179b5c64f"
},
"/opt/sas/model-gli-text/models/relex-large/added_tokens.json": {
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/relex-large/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777255569.031427,
"content_hash": "14fedd7e9f345ea45fd9b74245468121d5ccac83e523cad1680529d00bb0e8e8"
},
"/opt/sas/model-gli-text/models/relex-large/gliner_config.json": {
"file_size": 3559,
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/relex-large/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777255569.039594,
"root_type": "dict",
"keys": [
"adjacency_loss_coef",
"augment_add_other_prob",
"augment_data_prob",
"augment_ent_drop_prob",
"augment_rel_drop_prob",
"class_token_index",
"dropout",
"embed_ent_token",
"embed_rel_token",
"encoder_config",
"ent_token",
"fine_tune",
"fuse_layers",
"hidden_size",
"max_len",
"max_neg_type_ratio",
"max_types",
"max_width",
"model_name",
"model_type",
"name",
"neg_spans_ratio",
"num_post_fusion_layers",
"num_rnn_layers",
"post_fusion_schema",
"rel_token",
"rel_token_index",
"relation_loss_coef",
"relations_layer",
"represent_spans",
"sep_token",
"span_loss_coef",
"span_mode",
"subtoken_pooling",
"token_loss_coef",
"transformers_version",
"triples_layer",
"vocab_size",
"words_splitter_type"
],
"content_hash": "345f3c31287980af8f6cf5c924e359d17fc6c1dfa0341399eb7cde3f7b6f22bc"
},
"/opt/sas/model-gli-text/models/relex-large/model.onnx": {
"file_size": 1869050687,
"file_hashes": {
"md5": "587f5462c44f8a87ca41cd27153c84d7",
"sha256": "df2e5bde4da4b31fb891a53cd3ea597d98ef075b69bbfb55dbebc7b75cba4b79",
"sha512": "7a5c4e1c135a60675f4b950dcb2ecf47d10bc552c75a9158f0a4017fba3e27682f71318d8427a79edbc132f018ff55dee165a970f27228e2b28acff442833695"
},
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/relex-large/LICENSE"
],
"is_dataset": false,
"is_model": true,
"risk_score": 0.0,
"scan_timestamp": 1777256637.71504,
"ir_version": 7,
"producer_name": "pytorch",
"node_count": 10121,
"scan_outcome": "inconclusive",
"scan_outcome_reasons": [
"onnx_weight_distribution_analysis_incomplete"
],
"layers_analyzed": 159,
"anomalies_found": 1,
"content_hash": "df2e5bde4da4b31fb891a53cd3ea597d98ef075b69bbfb55dbebc7b75cba4b79"
},
"/opt/sas/model-gli-text/models/relex-large/special_tokens_map.json": {
"license_info": [],
"copyright_notices": [],
"license_files_nearby": [
"/opt/sas/model-gli-text/models/relex-large/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777256637.721903,
"content_hash": "b2f1b2f15f29a6b6d9d6ea4eca1675d2c231a71477f151d48f79cc83a625ba21"
},
"/opt/sas/model-gli-text/models/relex-large/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/relex-large/LICENSE"
],
"is_dataset": false,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777256637.7869537,
"scan_outcome": "inconclusive",
"scan_outcome_reasons": [
"xgboost_binary_structure_unrecognized"
],
"analysis_incomplete": true,
"content_hash": "c679fbf93643d19aab7ee10c0b99e460bdbc02fedf34b92b05af343b4af586fd"
},
"/opt/sas/model-gli-text/models/relex-large/tokenizer.json": {
"file_size": 8649571,
"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/relex-large/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777256640.298973,
"content_hash": "55749f41ba4321fc397859aead96f96a677050e028d9cfdc6564653e875cdf10"
},
"/opt/sas/model-gli-text/models/relex-large/tokenizer_config.json": {
"file_size": 1837,
"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/relex-large/LICENSE"
],
"is_dataset": true,
"is_model": false,
"risk_score": 0.0,
"scan_timestamp": 1777256640.3063345,
"content_hash": "ee20eaa4db6f56045339841383f83e98cb79f1672a93bb76a9735243ca65d0fa"
}
},
"content_hash": "a139d39120539baa95b3131ac0ac156522ba5df76a922e37c5c69ef00b693da6",
"start_time": 1777255566.45034,
"duration": 1073.868339061737,
"total_checks": 29,
"passed_checks": 29,
"failed_checks": 0,
"success": false
}
}