How to use SaProtHub/EC-classification-35M with PEFT:
from peft import PeftModel from transformers import AutoModelForSequenceClassification base_model = AutoModelForSequenceClassification.from_pretrained("westlake-repl/SaProt_35M_AF2") model = PeftModel.from_pretrained(base_model, "SaProtHub/EC-classification-35M")
0cffe5c
1
2
3
4
{ "training_task_type": "Protein-level Classification", "training_data_type": "AA" }