Views
No views yet
laion/voiceclap-commercial
audio embedder under voiceclap_commercial/ plus a small trained MLP head, so
inference needs no network access. This is the lightweight (~450 MB) sibling
of the large-v2 genuineness model.Linear(768,50) -> GELU -> Dropout(0.2) -> Linear(50,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, similar overall MAE).| Metric | Value |
|---|---|
| MAE | 1.00 |
| Pearson r | 0.77 |
| RMSE | 1.33 |
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.1from genuineness_scorer import GenuinenessScorer
2
3scorer = GenuinenessScorer(pkg_dir=".", device="cuda") # loads bundled VoiceCLAP + head locally
4print(scorer.score("clip.wav")) # -> float in [0, 6]
5print(scorer.score_batch(["a.wav", "b.wav"])) # -> [float, float]
6
7# class-balanced head instead of the default full-data head:
8scorer_bal = GenuinenessScorer(pkg_dir=".", model="balanced", device="cuda")1pip install -r requirements.txt
2python example.py clip.wav # prints genuineness (0-6)voiceclap_commercial/ folder with
trust_remote_code=True; set HF_HUB_OFFLINE=1 to guarantee no network
access at inference time.voiceclap_commercial/ - bundled frozen VoiceCLAP-commercial embedder (~450 MB)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.htmllaion/voiceclap-commercial.