How to use Rostlab/prot_bert_bfd_ss3 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("token-classification", model="Rostlab/prot_bert_bfd_ss3")
# Load model directly from transformers import AutoTokenizer, AutoModelForTokenClassification tokenizer = AutoTokenizer.from_pretrained("Rostlab/prot_bert_bfd_ss3") model = AutoModelForTokenClassification.from_pretrained("Rostlab/prot_bert_bfd_ss3")
What is a pickle import?
How to fix it?