Introduction of forensics_0.3B_base_deepfake_classifier
Model Details of forensics_0.3B_base_deepfake_classifier
forensics_0.3B_base_deepfake_classifier
The default speech deepfake detector of the Forensics family.
WavLM-large + AASIST graph-attention, fully fine-tuned end-to-end (no frozen shortcuts) across a wide multi-source mix of TTS spoofs, voice conversion, codec artifacts, and the standard anti-spoofing benchmark suite. A combined cross-entropy + OC-Softmax + supervised-contrastive objective gives it a decision boundary that holds up well outside its own training distribution — not just on the data it saw.
Feed it 5 seconds of audio, get back a calibrated real/fake probability. Sub-1% EER on held-out data, and under 2% across most of a 14-benchmark external sweep (ASVspoof, ADD, In-the-Wild, LibriSeVoc, SONAR, and more).
Fine-tuned with a combined loss for robustness beyond any single objective:
Cross-entropy (label-smoothed)
OC-Softmax — pulls bonafide speech into a compact embedding sphere and pushes every spoof type outside it
Supervised contrastive, real-anchor-only
Trained across a wide net of public, free-to-use research sources: SpeechFake, MD-CommonVoice, DFADD, CodecFake, ASVspoof2019-LA, EnvSDD. 5-second crops, AdamW, cosine LR schedule, and a heavy augmentation stack — codec transcoding (mp3/aac/opus/vorbis/µ-law/A-law/GSM), MUSAN noise, RIR, RawBoost, SpecAugment, FreqMask, splice/mix, and cross-class splice — so the model sees more distortion during training than it will ever encounter in the wild.
Results
Eval set
EER %
Val (held-out)
0.72
MLAAD (v7)
0.71
CodecFake
0.54
DFADD
0.00
MD-CommonVoice
0.17
In-the-Wild
1.38
ASVspoof2019-LA
0.26
ASVspoof2021-LA
1.56
ASVspoof2024
11.91
ADD2022-Track1
17.34
ADD2022-Track3
3.03
ADD2023-Round1
6.46
ADD2023-Round2
13.00
LibriSeVoc
0.04
SONAR
0.44
Avg (all sets)
3.84
Avg (external only)
4.06
Consistently sub-2% EER across almost every external benchmark, with strong results even on the harder ADD/ASVspoof2024 tracks.
Files in this repo
file
purpose
checkpoint_epoch_5.safetensors
model weights, safe format
checkpoint_epoch_5.pt
model weights, legacy pickle
config.json
minimal architecture metadata (also used by the Hub to track downloads)
inference.py
run script — prefers the
.safetensors
file automatically
(Optionally override the checkpoint:
python inference.py <audio.wav> <checkpoint.pt>
.)
Audio is auto-converted to mono / 16 kHz and trimmed/padded to 5 s.
Output
fake_probability: <0..1> # threshold is domain-dependent — adjust to your use case; ~0.1-0.2 is usually the best range
bonafide_score: <0..1> # raw P(real)
verdict: REAL | FAKE
forensics_0.3B_base_deepfake_classifier huggingface.co is an AI model on huggingface.co that provides forensics_0.3B_base_deepfake_classifier's model effect (), which can be used instantly with this eliya forensics_0.3B_base_deepfake_classifier model. huggingface.co supports a free trial of the forensics_0.3B_base_deepfake_classifier model, and also provides paid use of the forensics_0.3B_base_deepfake_classifier. Support call forensics_0.3B_base_deepfake_classifier model through api, including Node.js, Python, http.
forensics_0.3B_base_deepfake_classifier huggingface.co is an online trial and call api platform, which integrates forensics_0.3B_base_deepfake_classifier's modeling effects, including api services, and provides a free online trial of forensics_0.3B_base_deepfake_classifier, you can try forensics_0.3B_base_deepfake_classifier online for free by clicking the link below.
eliya forensics_0.3B_base_deepfake_classifier online free url in huggingface.co:
forensics_0.3B_base_deepfake_classifier is an open source model from GitHub that offers a free installation service, and any user can find forensics_0.3B_base_deepfake_classifier on GitHub to install. At the same time, huggingface.co provides the effect of forensics_0.3B_base_deepfake_classifier install, users can directly use forensics_0.3B_base_deepfake_classifier installed effect in huggingface.co for debugging and trial. It also supports api for free installation.
forensics_0.3B_base_deepfake_classifier install url in huggingface.co: