deepfake-detect models
Trained heads for deepfake-detect: small classifiers that run on top of frozen openai/clip-vit-large-patch14 face embeddings. Each version lives in its own folder and is never overwritten.
| version | what changed | FF++ test AUC | Celeb-DF v2 AUC (unseen) | size |
|---|---|---|---|---|
| v0.2-clip-lntune-sbi | latest: CLIP LayerNorms tuned + self-blended fakes + flip/rescale/JPEG augmentation (best of 5 epochs: 4) | 0.965 | 0.914 | 425 KB |
| v0.1-clip-linear-probe | baseline: frozen CLIP + logistic regression, 8 frames/video, FF++ c23 | 0.905 | 0.738 | 3.7 KB |
Every folder contains head.safetensors, the model, with its backbone, threshold and metrics stored inside the file, head.metrics.json with all numbers from the training run, and training_run.ipynb, the executed training notebook with its full log, so every result can be checked.
pip install git+https://github.com/CodeRafay/deepfake-detect
deepfake-detect video.mp4 # latest version
deepfake-detect video.mp4 --head v0.1-clip-linear-probe # a specific version
License: research and non-commercial use only. The heads are trained on FaceForensics++, whose terms apply. Use responsibly: a score is evidence, not proof. Don't make decisions about people based on it alone.
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐ Ask for provider support