File size: 223 Bytes
f8674c2
af2bfeb
f8674c2
af2bfeb
f8674c2
1
2
3
4
5
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM

tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill")

model = AutoModelForSeq2SeqLM.from_pretrained("facebook/blenderbot-400M-distill")