argilla/news-summary
Viewer • Updated • 21.4k • 190 • 40
How to use dima806/flan-t5-small-with-ppo with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("dima806/flan-t5-small-with-ppo")
model = AutoModelForSeq2SeqLM.from_pretrained("dima806/flan-t5-small-with-ppo")See https://www.kaggle.com/code/dima806/t5-summarization-with-proximal-policy-optimization for more details.
Base model
cardiffnlp/twitter-roberta-base-sentiment