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