21amd21's picture
Add config.json (model details; lets the Hub count downloads)
3da68c7 verified
Raw History Blame Contribute Delete
337 Bytes
{
"base_model": "abacusai/Smaug-AI-Image-Detector",
"format": "onnx",
"file": "model.onnx",
"input": { "name": "pixels", "shape": ["batch", 3, 528, 528], "range": [0, 1] },
"output": { "name": "logits", "meaning": "sigmoid(logit) = probability the image is AI-generated" },
"id2label": { "0": "real", "1": "ai-generated" }
}