g3casey's picture
Changing to paste in text for input since the wikipedia api doesn't work.
36c9b26
raw
history blame
122 Bytes
from transformers import AutoModelForSeq2SeqLM
model = AutoModelForSeq2SeqLM.from_pretrained("sgugger/my-awesome-model")