← All models Β· Spam detector

use case Β· multi-model Β· Spam gate + DistilBART

Spam-gate an inbox, then digest what's left

Two browser models in one pipeline. The spam detector drops the junk; then DistilBART summarizes only the real messages into a short "what's in your inbox" digest. Junk never reaches the summarizer β€” and nothing leaves the tab.

Each model initialises on its own below (cached copies auto-start, no button).

Spam detector β€” text-classification

DistilBART β€” summarization

step 1 β€” you

Paste an inbox β€” one message per line

step 2 β€” spam gate

Drop the junk

step 3 β€” DistilBART

Digest the real messages

Inbox digest

Why this is the interesting part

A classifier and a summarizer are each useful alone. Chained, they're a template for a whole class of tool: an assistant that filters your messages and hands you a briefing, a support queue that drops the spam and summarizes the real tickets, a comment moderator that recaps only the genuine feedback. The gate matters β€” feeding junk into a summarizer wastes compute and pollutes the digest, so classify first, summarize second. Both models run locally, no server, no API bill.

← Spam detector Β· DistilBART β†’