1. Extractive Lead-1 Baseline vs XSum 1-Sentence Synthesis
Extractive Lead-1 Baseline (0.0% Novel Bigrams)
Simple first-sentence extraction — fails whenever the real news sits in sentence 2+.
DistilBART XSum 1-Sentence Headline
Synthesizes across all 12 encoder layers into a single BBC-style sentence.
2. Live length_penalty Beam Ablation (0.2 vs 0.5 vs 1.5)
In generation_config.json, DistilBART XSum ships length_penalty: 0.5 (far below
CNN/DM's 2.0) to discourage multi-sentence drift. Run all 3 settings at num_beams: 2
on the article above to observe how token length, novel bigrams, and sentence count shift.
| length_penalty | Out Tokens | Compression | Novel 2-Grams | Sentences | Latency | Generated Headline |
|---|---|---|---|---|---|---|
| Run the ablation above to compare 0.2, 0.5, and 1.5. | ||||||