bloyal/deeploc
Viewer • Updated • 28.3k • 103 • 1
How to use bloyal/esm2_650M_membrane_loc with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="bloyal/esm2_650M_membrane_loc") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("bloyal/esm2_650M_membrane_loc")
model = AutoModelForSequenceClassification.from_pretrained("bloyal/esm2_650M_membrane_loc")For more information, please check out our workshop on fine-tuning protein language models on AWS.