Update prot-t5-xl from elnaggar d604cdc
Ahmed Elnaggar commited on
How to use Rostlab/prot_t5_xl_uniref50 with Transformers:
# Load model directly
from transformers import AutoTokenizer, AutoModelForSeq2SeqLM
tokenizer = AutoTokenizer.from_pretrained("Rostlab/prot_t5_xl_uniref50")
model = AutoModelForSeq2SeqLM.from_pretrained("Rostlab/prot_t5_xl_uniref50", device_map="auto")