BFD-BERT finetuned on membrane proteins b0cdbe4
Hamed Ghazikhani commited on
How to use ghazikhanihamed/MembraneBERT with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("text-classification", model="ghazikhanihamed/MembraneBERT") # Load model directly
from transformers import AutoTokenizer, AutoModelForSequenceClassification
tokenizer = AutoTokenizer.from_pretrained("ghazikhanihamed/MembraneBERT")
model = AutoModelForSequenceClassification.from_pretrained("ghazikhanihamed/MembraneBERT", device_map="auto")