add t5-xl model 34a4208
Ahmed Elnaggar commited on
How to use Rostlab/prot_t5_xxl_bfd with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="Rostlab/prot_t5_xxl_bfd") # Load model directly
from transformers import AutoTokenizer, AutoModel
tokenizer = AutoTokenizer.from_pretrained("Rostlab/prot_t5_xxl_bfd")
model = AutoModel.from_pretrained("Rostlab/prot_t5_xxl_bfd")