Ettin 17M sponsor detector (combined)
Production candidate. One low-learning-rate epoch from v4 over the combined leakage-safe train split: 298,069 Xenova windows plus 209,390 ScriptSmith auto-caption windows (507,459 total). Chosen for the strongest generalization profile across both transcript distributions and the frozen full-video pilot. Calibrated decoder threshold 0.70.
- Status: production candidate (rc1)
- Base encoder:
jhu-clsp/ettin-encoder-17m@987607455c61e7a5bbc85f7758e0512ea6d0ae4c - Architecture: ModernBERT-family Ettin 17M (
ModernBertForTokenClassification) - Labels:
O,B-SPONSOR,I-SPONSOR,L-SPONSOR,U-SPONSOR - Repo:
CuriousDragon/ettin-17m-sponsor-combined
Use with Transformers
from transformers import AutoModelForTokenClassification, AutoTokenizer
repo = "CuriousDragon/ettin-17m-sponsor-combined"
tokenizer = AutoTokenizer.from_pretrained(repo)
model = AutoModelForTokenClassification.from_pretrained(repo)
For full YouTube transcripts, tokenize into overlapping 768-token windows
(128-token overlap), decode BILOU spans, map characters back onto caption
cues, and merge gaps of 24 normalized characters or 1500 ms. See the Flow
ml/sponsor_detection inference pipeline.
Token metrics (combined held-out test)
Sponsor token P / R / F1: 0.923 / 0.848 / 0.884
Cross-evaluation, raw decoder (threshold 0)
| Held-out set | Window P/R/F1 | Span IoU 0.5 P/R/F1 | Coverage F1 |
|---|---|---|---|
| Xenova test | 0.943 / 0.862 / 0.901 | 0.901 / 0.824 / 0.861 | 0.915 |
| ScriptSmith test | 0.910 / 0.804 / 0.854 | 0.839 / 0.733 / 0.783 | 0.853 |
Calibrated decoder (threshold 0.70)
| Held-out set | Window P/R/F1 | Span IoU 0.5 P/R/F1 | Coverage F1 |
|---|---|---|---|
| Xenova test | 0.970 / 0.807 / 0.881 | 0.945 / 0.782 / 0.856 | 0.911 |
| ScriptSmith test | 0.942 / 0.718 / 0.815 | 0.901 / 0.669 / 0.768 | 0.842 |
Frozen 39-video mixed pilot (13 positive / 13 hard negative / 13 ordinary negative): video presence F1 0.923; temporal span IoU 0.5 P 0.941 / R 0.842 / F1 0.889; temporal coverage F1 0.909.
Intended use
On-device or local inference over English video transcripts to propose paid sponsor ranges. In Flow, SponsorBlock remains authoritative when it has segments; these weights are a fallback / shadow detector.
Limitations
- English transcripts only.
- Target is external paid sponsorships. Self-promotion, memberships, merchandise, and interaction reminders are treated as negatives.
- SponsorBlock labels are noisy and incomplete. Evaluations against them are weak labels, not ground truth.
- Full-video reconstruction interpolates timestamps inside caption cues.
- Window-level scores do not by themselves skip video; Flow stitches overlapping 768-token windows with a 128-token overlap.
ScriptSmith corpus
This model additionally used the
ScriptSmith/sponsorblock-youtube-metadata-2024
transcript/metadata dataset (CC BY 4.0 compilation; its YouTube auto-captions
remain under YouTube's terms). Those transcripts are rolling auto-captions that
were reconstructed before alignment, so caption boundaries are approximate.
decoder.json is bound to these weights by SHA-256. Do not mix it with another checkpoint.
Related: CuriousDragon/ettin-17m-sponsor-v4
(same lineage on the Xenova corpus only).
License
These weights are released under CC BY-NC-SA 4.0.
The base encoder jhu-clsp/ettin-encoder-17m
is MIT. Fine-tuning used SponsorBlock labels
(CC BY-NC-SA 4.0) and the pinned Xenova/sponsorblock-768
window corpus. Non-commercial use and share-alike apply to this derivative.
This project is not affiliated with SponsorBlock.