salesforce / ctrl

Conditional Transformer Language Model for Controllable Generation

Home Page:https://arxiv.org/abs/1909.05858

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using ctrl for summarization

Hellisotherpeople opened this issue · comments

I can get a abstractive summary using GPT-2 by taking a prompt, appending "TL;DR" to the end, and letting it generate.

Does CTRL have a better method for this based on control codes? I saw nothing obvious about it in the paper.

IIRC, you should use the News CTRL code and TL;DR as the triggering token.

Can you give an example of what that prompt would look like?