from transformers import AutoTokenizer, AutoModelForSeq2SeqLM | |
tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill") | |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/blenderbot-400M-distill") |
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM | |
tokenizer = AutoTokenizer.from_pretrained("facebook/blenderbot-400M-distill") | |
model = AutoModelForSeq2SeqLM.from_pretrained("facebook/blenderbot-400M-distill") |