add tokenizer 0e8f1af
Jason commited on
How to use hkunlp/from_all_T5_large_prefix_sqa2 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("hkunlp/from_all_T5_large_prefix_sqa2")
model = AutoModel.from_pretrained("hkunlp/from_all_T5_large_prefix_sqa2", device_map="auto")