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