← All models · Headline generation

Multi-model · summarization → title generation · WASM

Summarise, then headline

Long articles bury the point, and a title model does better on a tight input. So chain two on-device models: DistilBART first condenses the article to a few sentences, then the T5 title model writes a headline from that summary. Two downloads, one pipeline, zero servers — the whole thing runs in your browser. Compare the summary-fed headline against one written straight from the full article.

The pipeline

Stage 1 · DistilBART (summarise)

Stage 2 · T5 title model (headline)

Next

← Basics

One article, one headline.

← Practical

Generate a batch of candidates to pick from.

DistilBART →

The summariser powering stage 1.