Upload 6 files 1b2994b
Jeongchangsu commited on
How to use changpt/t5-split-and-sentiment-v1 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("changpt/t5-split-and-sentiment-v1")
model = AutoModelForSeq2SeqLM.from_pretrained("changpt/t5-split-and-sentiment-v1", device_map="auto")