How to use LeCastre/DistilBert-pMHC with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="LeCastre/DistilBert-pMHC")
# Load model directly from transformers import AutoTokenizer, BertRnnDist tokenizer = AutoTokenizer.from_pretrained("LeCastre/DistilBert-pMHC") model = BertRnnDist.from_pretrained("LeCastre/DistilBert-pMHC")