Download models/config.json from Rith-P/truthlens: direct link, hf CLI and curl.
- Browser
- Download file 4.79 kB
-
https://huggingface.co/spaces/Rith-P/truthlens/resolve/main/models/config.json
- Command line
-
hf download hf://spaces/Rith-P/truthlens/models/config.json
-
curl -L -o config.json https://huggingface.co/spaces/Rith-P/truthlens/resolve/main/models/config.json
4.79 kB
| { | |
| "version": "2.1.0", | |
| "data_version": "v2.1", | |
| "created": "2026-11-03T15:42:42+0400", | |
| "backbones": { | |
| "clip": "open_clip ViT-L-14 (openai), frozen; probe clip_vitl14_multi", | |
| "cnn": "timm efficientnet_b0 (ImageNet init, fine-tuned at 224 px)" | |
| }, | |
| "preprocessing": "centre square crop -> Lanczos 224x224 -> JPEG q95 4:4:4 (same as the dataset)", | |
| "thresholds": { | |
| "uncertain_low": 0.35, | |
| "uncertain_high": 0.65, | |
| "decision": 0.5 | |
| }, | |
| "members": { | |
| "clip": { | |
| "display_name": "CLIP probe", | |
| "backbone": "clip_vitl14", | |
| "head": "clip_head.npz", | |
| "head_name": "clip_vitl14_multi" | |
| }, | |
| "freq": { | |
| "display_name": "Spectral", | |
| "head": "freq_head.npz" | |
| }, | |
| "cnn": { | |
| "display_name": "CNN artifacts", | |
| "arch": "efficientnet_b0", | |
| "weights": "cnn_efficientnet_b0.safetensors", | |
| "input_size": 224, | |
| "cam_scale": 28.165672302246094 | |
| } | |
| }, | |
| "ensemble": { | |
| "method": "mean_logit", | |
| "members": [ | |
| "clip", | |
| "cnn" | |
| ], | |
| "weights": { | |
| "clip": 0.5, | |
| "cnn": 0.5 | |
| }, | |
| "bias": 0.0, | |
| "member_calibrators": { | |
| "clip": { | |
| "method": "platt", | |
| "a": 0.9688542463502483, | |
| "b": -0.10897620574139313 | |
| }, | |
| "cnn": { | |
| "method": "platt", | |
| "a": 0.3543375744413235, | |
| "b": 0.12793274990885753 | |
| } | |
| }, | |
| "final_calibrator": { | |
| "method": "platt", | |
| "a": 1.6007247793437243, | |
| "b": -0.026697580827987732 | |
| } | |
| }, | |
| "decision": { | |
| "threshold": 0.5, | |
| "min_confidence": 0.65, | |
| "uncertain_low": 0.35, | |
| "uncertain_high": 0.65, | |
| "target_accuracy": 0.95, | |
| "val_coverage": 0.9859437751004017, | |
| "val_selective_accuracy": 0.984725050916497, | |
| "uncertain_if_upsampled": true | |
| }, | |
| "spectral_reference": { | |
| "real": { | |
| "hf_ratio": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 0.014648313708603382, | |
| 0.029373853536082267, | |
| 0.04078781655755234, | |
| 0.06433987917492676, | |
| 0.10077695948534393, | |
| 0.15292376779830932, | |
| 0.21569205824514007, | |
| 0.26376223668101484, | |
| 0.37967454637394693 | |
| ] | |
| }, | |
| "peak_score": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 2.5476407337188722, | |
| 2.6665138254628906, | |
| 2.7460055848094482, | |
| 2.9323511153657225, | |
| 3.3400147001212157, | |
| 4.031571393244629, | |
| 4.875095564166504, | |
| 5.443210799541501, | |
| 6.685127113712885 | |
| ] | |
| }, | |
| "noise_level": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 0.011663090251386166, | |
| 0.01902769084436989, | |
| 0.023431068796183587, | |
| 0.03112274522075939, | |
| 0.042811956531337736, | |
| 0.057409608148698804, | |
| 0.0711082011856613, | |
| 0.08080109610799026, | |
| 0.10134829009877007 | |
| ] | |
| } | |
| }, | |
| "ai": { | |
| "hf_ratio": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 0.001993006905540824, | |
| 0.004968355105949403, | |
| 0.00923039945539427, | |
| 0.02870832124839115, | |
| 0.06469793272667312, | |
| 0.11306661867416382, | |
| 0.17657789293904877, | |
| 0.23291183516028588, | |
| 0.3830641313921048 | |
| ] | |
| }, | |
| "peak_score": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 2.57003586769104, | |
| 2.694523907707764, | |
| 2.7793946763011474, | |
| 2.9906704455811766, | |
| 3.4426772634451903, | |
| 4.205502991907959, | |
| 5.101626402179199, | |
| 5.766334540691405, | |
| 7.287423771275146 | |
| ] | |
| }, | |
| "noise_level": { | |
| "q": [ | |
| 1, | |
| 5, | |
| 10, | |
| 25, | |
| 50, | |
| 75, | |
| 90, | |
| 95, | |
| 99 | |
| ], | |
| "v": [ | |
| 0.005942100882530213, | |
| 0.010525477559996605, | |
| 0.014071391473974706, | |
| 0.024235963096120833, | |
| 0.037445999956659315, | |
| 0.05238240339673042, | |
| 0.06869961325307464, | |
| 0.0808542172575302, | |
| 0.1090186666976051 | |
| ] | |
| } | |
| } | |
| }, | |
| "fitted_on": { | |
| "split": "val", | |
| "n": 1992, | |
| "n_ai": 996 | |
| } | |
| } | |