T5 1.1
Collection
3 items • Updated
How to use team-lucid/t5-v1_1-small-ko with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("team-lucid/t5-v1_1-small-ko")
model = AutoModelForSeq2SeqLM.from_pretrained("team-lucid/t5-v1_1-small-ko", device_map="auto")