You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
model = AutoModelForSeq2SeqLM.from_pretrained("castorini/monot5-base-msmarco-10k")
input_ids = tokenizer("What is my name? summarize: studies have shown that owning a dog is good for you", return_tensors="pt").input_ids # Batch size 1