JaisGuard-Frozen-0.9B / validation.json
RayenFekih's picture
Publish reviewed and GPU-validated compact JaisGuard classifier
169fe46 verified
Raw History Blame Contribute Delete
9.13 kB
{
"status": "passed real GPU inference",
"same_precision_gate": "max probability error <= 1e-6; zero default/locked mismatches",
"tested_inference_files": {
"config.json": "ad281097ea24a5092407e6f71016b2374f599ebaf4599e061d94a8ff9b7d4496",
"head.safetensors": "a917837acbffd529050b88aeaf59672fea8e51c0b6a7516aac5fcd1a3869c6eb",
"jaisguard_model.py": "6c3e549b45b23d16d946b91ccf0929e985c29b4f5b6a057406f15fe6c20feee6",
"tokenizer/chat_template.jinja": "38964d6fc5e411718d88f7a5c1b3664b3d97208c6ac93160b6c9eadc63c14057",
"tokenizer/tokenizer.json": "9302db586d3264f000c37d49b546934d011e5768e6681a6fd2755fe6ce317a21",
"tokenizer/tokenizer_config.json": "1b7c44e4ceeea26f106a348b114e177e8301b0a5345b51291d95ed216f358147"
},
"serving_batch1_reproduction": {
"refactored_bf16": {
"model": "v2-frozen-43",
"precision": "bf16",
"implementation": "refactored",
"samples": 658,
"reference_sha256": "7ae399682d1056389e7bdcbac264b63d66dd7ce1b4da2c5c9f6491c37f7c99b4",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.9563547372817993,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.bfloat16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 21.08617779299857,
"passed": true
},
"refactored_fp16": {
"model": "v2-frozen-43",
"precision": "fp16",
"implementation": "refactored",
"samples": 658,
"reference_sha256": "4f50a9f4ad9eef1bfe9b0bc768d62ba6c5b2484355d3c9d2b201e43ab7486c7c",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.9563547372817993,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.float16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 18.72877580399836,
"passed": true,
"historical_vllm_comparison": {
"max_abs_probability_difference": 0.00748598575592041,
"mean_abs_probability_difference": 0.0004821549827004682,
"default_mismatches": 0,
"locked_mismatches": 0,
"claim": "comparison with trusted HISTORICAL vLLM observations; engine not rerun"
}
},
"package_bf16": {
"model": "v2-frozen-43",
"precision": "bf16",
"implementation": "staged-package",
"samples": 658,
"reference_sha256": "7ae399682d1056389e7bdcbac264b63d66dd7ce1b4da2c5c9f6491c37f7c99b4",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.9563547372817993,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.bfloat16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 20.939718999999968,
"passed": true
},
"package_fp16": {
"model": "v2-frozen-43",
"precision": "fp16",
"implementation": "staged-package",
"samples": 658,
"reference_sha256": "4f50a9f4ad9eef1bfe9b0bc768d62ba6c5b2484355d3c9d2b201e43ab7486c7c",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.9563547372817993,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.float16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 18.649386029999732,
"passed": true,
"historical_vllm_comparison": {
"max_abs_probability_difference": 0.00748598575592041,
"mean_abs_probability_difference": 0.0004821549827004682,
"default_mismatches": 0,
"locked_mismatches": 0,
"claim": "comparison with trusted HISTORICAL vLLM observations; engine not rerun"
}
}
},
"quality_batch2_reproduction": {
"model": "v2-frozen-43",
"precision": "bf16",
"batch_size": 2,
"samples": 400,
"implementation": "staged-package",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"reference_sha256": "7692b7415ab134deddb1cbef54c75cff47dfb3df568a1966fc6dcc2c3011c073",
"seconds": 9.075641888999598,
"passed": true
},
"observed_batch1_test_metrics": {
"bf16": {
"default": {
"examples": 400,
"accuracy": 0.885,
"macro_f1": 0.8841630782402861,
"gibberish_recall": 0.9150943396226415,
"valid_false_rejections": 28,
"valid_support": 188,
"valid_false_rejection_rate": 0.14893617021276595,
"valid_frr_wilson95_low": 0.10509785397409485,
"valid_frr_wilson95_high": 0.20683398384947668,
"valid_acceptance_rate": 0.851063829787234,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
160,
28,
0
],
[
18,
194,
0
]
],
"valid_precision": 0.898876404494382,
"valid_recall": 0.851063829787234,
"valid_f1": 0.8743169398907104,
"gibberish_precision": 0.8738738738738738,
"gibberish_f1": 0.8940092165898618,
"gibberish_support": 212
},
"validation_locked": {
"examples": 400,
"accuracy": 0.815,
"macro_f1": 0.812297077922078,
"gibberish_recall": 0.6556603773584906,
"valid_false_rejections": 1,
"valid_support": 188,
"valid_false_rejection_rate": 0.005319148936170213,
"valid_frr_wilson95_low": 0.0009395783080078223,
"valid_frr_wilson95_high": 0.02950982953429744,
"valid_acceptance_rate": 0.9946808510638298,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
187,
1,
0
],
[
73,
139,
0
]
],
"valid_precision": 0.7192307692307692,
"valid_recall": 0.9946808510638298,
"valid_f1": 0.8348214285714286,
"gibberish_precision": 0.9928571428571429,
"gibberish_f1": 0.7897727272727273,
"gibberish_support": 212
}
},
"fp16": {
"default": {
"examples": 400,
"accuracy": 0.88,
"macro_f1": 0.879020062506301,
"gibberish_recall": 0.9150943396226415,
"valid_false_rejections": 30,
"valid_support": 188,
"valid_false_rejection_rate": 0.1595744680851064,
"valid_frr_wilson95_low": 0.11412348571247694,
"valid_frr_wilson95_high": 0.2186589024800773,
"valid_acceptance_rate": 0.8404255319148937,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
158,
30,
0
],
[
18,
194,
0
]
],
"valid_precision": 0.8977272727272727,
"valid_recall": 0.8404255319148937,
"valid_f1": 0.8681318681318682,
"gibberish_precision": 0.8660714285714286,
"gibberish_f1": 0.8899082568807339,
"gibberish_support": 212
},
"validation_locked": {
"examples": 400,
"accuracy": 0.815,
"macro_f1": 0.812297077922078,
"gibberish_recall": 0.6556603773584906,
"valid_false_rejections": 1,
"valid_support": 188,
"valid_false_rejection_rate": 0.005319148936170213,
"valid_frr_wilson95_low": 0.0009395783080078223,
"valid_frr_wilson95_high": 0.02950982953429744,
"valid_acceptance_rate": 0.9946808510638298,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
187,
1,
0
],
[
73,
139,
0
]
],
"valid_precision": 0.7192307692307692,
"valid_recall": 0.9946808510638298,
"valid_f1": 0.8348214285714286,
"gibberish_precision": 0.9928571428571429,
"gibberish_f1": 0.7897727272727273,
"gibberish_support": 212
}
}
},
"scope": "658 parity inputs: validation250 + historical test400 + probes8; quality batch2 test400",
"batching_disclosure": "Batch-one reduced-precision decisions differ from batch-two; archived metrics unchanged",
"vllm_scope": "Compared against historical matching FP16 outputs; compact package is not a native vLLM export",
"publication_approval": "Separate owner approval; not granted by inference receipts"
}