How to use Rostlab/prot_bert with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="Rostlab/prot_bert")
# Load model directly from transformers import AutoModelForMaskedLM model = AutoModelForMaskedLM.from_pretrained("Rostlab/prot_bert", dtype="auto")
Β· Sign up or log in to comment