Downloads · 30 days
0
laion/voiceclap-large-v2-genuineness
voiceclap-large-v2-genuineness is a audio classification model from laion. Use it for the audio classification task on the model card, and read the license before you ship it in a product. It is set up for transformers. The card lists the license as cc-by-4.0.
Predicts a 0-6 genuineness score for a speech clip: how much it sounds like a real, lived-in spoken moment (6) versus a rehearsed or synthetic read (0). Genuineness is about believability and lived-in delivery - natur…
Downloads · 30 days
0
Access
Public
Updated Jul 12, 2026
Repo size
18.2 GB
Likes
0
Public
Click a slice to open those files.
.safetensors18.1 GB · 100%
From the Hugging Face model README
Predicts a 0-6 genuineness score for a speech clip: how much it sounds like a real, lived-in spoken moment (6) versus a rehearsed or synthetic read (0). Genuineness is about believability and lived-in delivery - natural timing, breath, micro-imperfections, and emotional grounding - not about audio fidelity.
This repository is fully standalone. It bundles the original frozen
laion/voiceclap-large-v2
audio embedder under voiceclap_large_v2/ plus a small trained MLP head, so
inference needs no network access.
A single continuous score in [0, 6]:
Linear(3584,16) -> GELU -> Dropout(0.2) -> Linear(16,1) - is trained on top with Huber loss (delta 1.5, Adam,
standardized inputs). The VoiceCLAP backbone is never fine-tuned.full (default, trained on the full label distribution)
and balanced (retrained on a class-balanced subset - flatter per-bucket
error, slightly higher overall MAE).Held-out val set = 140 clips (20 per genuineness value 0-6, stratified, seed 1234). Full head:
| Metric | Value |
|---|---|
| MAE | 0.81 |
| Pearson r | 0.83 |
| RMSE | 1.17 |
See val_predictions.html for every val clip with
an audio player, ground-truth vs predicted score (sorted by prediction), a
pred-vs-GT scatter, and per-bucket errors.
from genuineness_scorer import GenuinenessScorer
scorer = GenuinenessScorer(pkg_dir=".", device="cuda") # loads bundled VoiceCLAP + head locally
print(scorer.score("clip.wav")) # -> float in [0, 6]
print(scorer.score_batch(["a.wav", "b.wav"])) # -> [float, float]
# class-balanced head instead of the default full-data head:
scorer_bal = GenuinenessScorer(pkg_dir=".", model="balanced", device="cuda")
Or from the shell:
pip install -r requirements.txt
python example.py clip.wav # prints genuineness (0-6)
The embedder loads from the local voiceclap_large_v2/ folder with
trust_remote_code=True; set HF_HUB_OFFLINE=1 to guarantee no network
access at inference time.
voiceclap_large_v2/ - bundled frozen VoiceCLAP-large-v2 embedder (~17 GB)genuineness_head.pt - full-data MLP head (default)genuineness_head_balanced.pt - class-balanced MLP headgenuineness_scorer.py - GenuinenessScorer inference classexample.py, requirements.txt, val_predictions.htmlCC-BY-4.0. The bundled VoiceCLAP-large-v2 weights retain their original
license from laion/voiceclap-large-v2.