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