add model 6fb8101
Lucy Liu commited on
How to use lucy666/t5_small_ent_v1 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("lucy666/t5_small_ent_v1")
model = AutoModelForSeq2SeqLM.from_pretrained("lucy666/t5_small_ent_v1", device_map="auto")