Multi-Summary Reinforcement Learning for Unsupervised Length-Controllable Summarization

This model (MSRP) is trained on Gigaword data.

How to use

from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer("anonsubms/msrp")
model = AutoModel("anonsubms/msrp")
tar_len = "8"
doc = tar_len+": Replace me by a news article"
encoded_input = tokenizer(doc, return_tensors='pt')
summary = model(**encoded_input)
New

Select AutoNLP in the “Train” menu to fine-tune this model automatically.

Downloads last month
7
Hosted inference API
Text2Text Generation
This model can be loaded on the Inference API on-demand.