ColumbiaNLP/FLUTE
Viewer • Updated • 7.53k • 345 • 17
How to use classic-j/t5-small-flute with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("classic-j/t5-small-flute")
model = AutoModelForSeq2SeqLM.from_pretrained("classic-j/t5-small-flute", device_map="auto")