Instructions to use umarfarzan/acliptic-clipworthy-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use umarfarzan/acliptic-clipworthy-v2 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="umarfarzan/acliptic-clipworthy-v2")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("umarfarzan/acliptic-clipworthy-v2") model = AutoModelForSequenceClassification.from_pretrained("umarfarzan/acliptic-clipworthy-v2", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Acliptic clip model v2
Scores a ~30-second transcript segment from a podcast or stream for how likely it is to be a viral clip moment. Built for Acliptic, which clips streams in real time: each 30s segment is transcribed, scored, and the best moments are turned into clips.
v2 is the next version of umarfarzan/clipworthy-deberta-model (Sep 2025). It uses the same viral-clip dataset and the same
DeBERTa approach. It is retrained on real conversation as the "not viral" class, and it ships with an ad filter and a clip cap.
| Base model | microsoft/deberta-v3-small (fine-tuned, 2 classes) |
| Input | one transcript segment, about 30 s / 60β90 words, max 128 tokens |
| Output | LABEL_1 probability = clip-worthiness score (0β1) |
| Recommended threshold | 0.97 (production) Β· 0.843 (more suggestions, from threshold.json) |
| Speed | ~0.14 s per segment on CPU |
Use
Text must be normalised exactly as in training: lowercase, keep only [a-z0-9'] words, single spaces.
import re, torch
from transformers import AutoTokenizer, AutoModelForSequenceClassification
repo = "umarfarzan/acliptic-clipworthy-v2"
tok = AutoTokenizer.from_pretrained(repo)
model = AutoModelForSequenceClassification.from_pretrained(repo).eval()
def normalize(t):
return " ".join(re.findall(r"[a-z0-9']+", t.lower().replace("β", "'")))
@torch.no_grad()
def clip_score(text):
x = tok(normalize(text), truncation=True, max_length=128, return_tensors="pt")
return torch.softmax(model(**x).logits, -1)[0, 1].item()
clip_score("and his mother claims he was murdered on your orders do you believe that")
For live use, also apply the rules in ad_filter.py and the service logic Acliptic runs in production:
- skip segments with fewer than 8 words
- skip sponsor reads, plus the one segment after each
- allow at most 8 clips per stream per rolling hour
Training data
| Source | Segments | Label |
|---|---|---|
| Viral shorts (Acliptic's labelled set, "High" rows) | 1,753 | viral |
| Lex Fridman podcast episodes, 30 s windows (Whispering-GPT/lex-fridman-podcast) | 4,500 | not viral |
| Other YouTube podcasts (ryang2/youtube-podcast-transcripts, CC-BY-SA) | 2,016 | not viral |
| Twitch stream windows at least 150 s from any viewer clip | 1,467 | not viral |
- Real speech only on the "not viral" side. Earlier versions used AI-written negatives and learned to detect AI-written text instead of virality.
- Length and formatting removed as cues: text is normalised, and negatives are cut to the same word-count distribution as positives.
- Windows matching a viral short were removed from the negatives.
Training settings: 3 epochs, lr 3e-5, batch 16, class-weighted loss. The best checkpoint by validation AUC is from epoch 2 (val AUC 0.956).
Results
Held-out data (438 unseen viral shorts and about 2,000 unseen ordinary segments):
| Sep 2025 model @0.971 | Oct 2025 model @0.90 | v2 @0.843 | |
|---|---|---|---|
| AUC (0.5 = random) | 0.71 | 0.71 | 0.95 |
| Viral shorts caught | 13% | 98% | 74% |
| Ordinary podcast segments wrongly flagged | 0% | 82β94% | 1β4% |
Real videos: 14 popular YouTube podcasts and streams (26 hours, 120kβ10.7M views), cut into back-to-back 30 s segments and run through the live rules. A hit is a clip that lands in the video's most-replayed 20%, per YouTube's Most Replayed data; random picking scores 20%.
| Sep 2025 | Oct 2025 | v2 | |
|---|---|---|---|
| Share of the video the model wants to clip | 4% | 82% | 9% |
| Podcast clips that are hits | 31% | 38%ΒΉ | 41% (p < 0.001 vs chance) |
| Podcasts: AUC on editor-picked cold-open highlights | 0.60 | 0.66 | 0.83 |
| Just-chatting / IRL and gaming streams | β chance | β chance | β chance |
ΒΉ Only because the 8-per-hour cap discards about 90% of what the Oct model flags.
Tucker Carlson Γ Sam Altman (57 min): the Suchir Balaji "murdered on your orders" moment, which went viral, is v2's #7 pick of 229. The Sep 2025 model ranked it #51. Replayed with the live rules, all 5 of v2's clips in the hour come from that moment, and 3 sponsor reads were blocked.
By topic (share of unseen viral shorts caught): relationships 92%, money 86%, mindset 82%, drama and pop culture 80%, sports and fighting 77%, banter 68%, politics 54%, geopolitics and tech 50%, food and news 42%.
Where to use it
- Works: podcasts, interviews, debates, talk shows, and just-chatting streams where the moment is in what is said: stories, arguments, confessions, hot takes.
- Does not work yet: gaming and IRL hype streams. The moment there is a play, a scream or a crowd reaction, which a transcript can't capture. These streams need audio-energy and chat-velocity signals combined with this score.
- Known weak spot: sponsor reads score high, so use
ad_filter.py.
Files
model.safetensors,config.json, tokenizer files: the modelthreshold.json: threshold at 3% validation false-positive rate (0.843), plus preprocessing notesad_filter.py: sponsor-read detector used in production
- Downloads last month
- 43
Model tree for umarfarzan/acliptic-clipworthy-v2
Base model
microsoft/deberta-v3-small