JaisGuard-LoRA-0.9B / validation.json
RayenFekih's picture
Publish reviewed and GPU-validated compact JaisGuard classifier
74977da verified
Raw History Blame Contribute Delete
9.28 kB
{
"status": "passed real GPU inference",
"same_precision_gate": "max probability error <= 1e-6; zero default/locked mismatches",
"tested_inference_files": {
"adapter/adapter_config.json": "45c3819dec7087bce77c4bb23320859673b32d04263d21f7cf1fc2dc9b61c205",
"adapter/adapter_model.safetensors": "6ce4b849a8a6c2ca60cf45aea32a48da43a7dfaa768f4d6509dafffbd2684bf4",
"config.json": "08eae5b0febacb3930ab872590263b5dac7ec3850c8c4f99bc04ba63673282c2",
"head.safetensors": "3e471a5df744d97357cea66d160615e1de81b55af8efa9e909bce52f81b00a06",
"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-lora-44",
"precision": "bf16",
"implementation": "refactored",
"samples": 658,
"reference_sha256": "102a301a5a51d081b11cb5c21e6f49a6b2be8a6ae19b3d33649ed7329c87cf0e",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.942931056022644,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.bfloat16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 26.575381888000265,
"passed": true
},
"refactored_fp16": {
"model": "v2-lora-44",
"precision": "fp16",
"implementation": "refactored",
"samples": 658,
"reference_sha256": "23f9fd826d4320c05ba1743be0dc735a2eef236e8ab75922f887ff7f58a32e71",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.942931056022644,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.float16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 24.82220334900012,
"passed": true,
"historical_vllm_comparison": {
"max_abs_probability_difference": 0.012874335050582886,
"mean_abs_probability_difference": 0.00037334483295069546,
"default_mismatches": 0,
"locked_mismatches": 0,
"claim": "comparison with trusted HISTORICAL vLLM observations; engine not rerun"
}
},
"package_bf16": {
"model": "v2-lora-44",
"precision": "bf16",
"implementation": "staged-package",
"samples": 658,
"reference_sha256": "102a301a5a51d081b11cb5c21e6f49a6b2be8a6ae19b3d33649ed7329c87cf0e",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.942931056022644,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.bfloat16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 26.7712037830006,
"passed": true
},
"package_fp16": {
"model": "v2-lora-44",
"precision": "fp16",
"implementation": "staged-package",
"samples": 658,
"reference_sha256": "23f9fd826d4320c05ba1743be0dc735a2eef236e8ab75922f887ff7f58a32e71",
"max_abs_probability_difference": 0.0,
"mean_abs_probability_difference": 0.0,
"default_mismatches": 0,
"locked_mismatches": 0,
"threshold": 0.942931056022644,
"head_dtype": "torch.float32",
"backbone_dtype": "torch.float16",
"gpu": "NVIDIA GeForce RTX 4050 Laptop GPU",
"torch": "2.14.1+cu130",
"seconds": 23.96573459299907,
"passed": true,
"historical_vllm_comparison": {
"max_abs_probability_difference": 0.012874335050582886,
"mean_abs_probability_difference": 0.00037334483295069546,
"default_mismatches": 0,
"locked_mismatches": 0,
"claim": "comparison with trusted HISTORICAL vLLM observations; engine not rerun"
}
}
},
"quality_batch2_reproduction": {
"model": "v2-lora-44",
"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": "e033869f1fca7e4b257765b55c6c7615da62cf2f7b3f4be1e0340f3eaeada5b8",
"seconds": 11.466906617999484,
"passed": true
},
"observed_batch1_test_metrics": {
"bf16": {
"default": {
"examples": 400,
"accuracy": 0.9125,
"macro_f1": 0.912099503362194,
"gibberish_recall": 0.9245283018867925,
"valid_false_rejections": 19,
"valid_support": 188,
"valid_false_rejection_rate": 0.10106382978723404,
"valid_frr_wilson95_low": 0.06565857689789162,
"valid_frr_wilson95_high": 0.1524457842652578,
"valid_acceptance_rate": 0.898936170212766,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
169,
19,
0
],
[
16,
196,
0
]
],
"valid_precision": 0.9135135135135135,
"valid_recall": 0.898936170212766,
"valid_f1": 0.9061662198391421,
"gibberish_precision": 0.9116279069767442,
"gibberish_f1": 0.9180327868852459,
"gibberish_support": 212
},
"validation_locked": {
"examples": 400,
"accuracy": 0.925,
"macro_f1": 0.9249324391952758,
"gibberish_recall": 0.9009433962264151,
"valid_false_rejections": 9,
"valid_support": 188,
"valid_false_rejection_rate": 0.047872340425531915,
"valid_frr_wilson95_low": 0.025387307800360248,
"valid_frr_wilson95_high": 0.08846430151787575,
"valid_acceptance_rate": 0.9521276595744681,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
179,
9,
0
],
[
21,
191,
0
]
],
"valid_precision": 0.895,
"valid_recall": 0.9521276595744681,
"valid_f1": 0.9226804123711341,
"gibberish_precision": 0.955,
"gibberish_f1": 0.9271844660194175,
"gibberish_support": 212
}
},
"fp16": {
"default": {
"examples": 400,
"accuracy": 0.915,
"macro_f1": 0.9145814491005929,
"gibberish_recall": 0.9292452830188679,
"valid_false_rejections": 19,
"valid_support": 188,
"valid_false_rejection_rate": 0.10106382978723404,
"valid_frr_wilson95_low": 0.06565857689789162,
"valid_frr_wilson95_high": 0.1524457842652578,
"valid_acceptance_rate": 0.898936170212766,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
169,
19,
0
],
[
15,
197,
0
]
],
"valid_precision": 0.9184782608695652,
"valid_recall": 0.898936170212766,
"valid_f1": 0.9086021505376344,
"gibberish_precision": 0.9120370370370371,
"gibberish_f1": 0.9205607476635514,
"gibberish_support": 212
},
"validation_locked": {
"examples": 400,
"accuracy": 0.925,
"macro_f1": 0.9249324391952758,
"gibberish_recall": 0.9009433962264151,
"valid_false_rejections": 9,
"valid_support": 188,
"valid_false_rejection_rate": 0.047872340425531915,
"valid_frr_wilson95_low": 0.025387307800360248,
"valid_frr_wilson95_high": 0.08846430151787575,
"valid_acceptance_rate": 0.9521276595744681,
"invalid": 0,
"confusion_labels": [
"VALID",
"GIBBERISH",
"INVALID"
],
"confusion": [
[
179,
9,
0
],
[
21,
191,
0
]
],
"valid_precision": 0.895,
"valid_recall": 0.9521276595744681,
"valid_f1": 0.9226804123711341,
"gibberish_precision": 0.955,
"gibberish_f1": 0.9271844660194175,
"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"
}