Instructions to use Rostlab/prot_bert_bfd_membrane with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Rostlab/prot_bert_bfd_membrane with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Rostlab/prot_bert_bfd_membrane")# Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Rostlab/prot_bert_bfd_membrane") model = AutoModelForSequenceClassification.from_pretrained("Rostlab/prot_bert_bfd_membrane") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -2
config.json
CHANGED
|
@@ -21,9 +21,8 @@
|
|
| 21 |
"0": "Soluble",
|
| 22 |
"1": "Membrane"
|
| 23 |
},
|
| 24 |
-
"initializer_range": 0.02,
|
| 25 |
"label2id": {
|
| 26 |
"Soluble": 0,
|
| 27 |
"Membrane": 1
|
| 28 |
-
}
|
| 29 |
}
|
|
|
|
| 21 |
"0": "Soluble",
|
| 22 |
"1": "Membrane"
|
| 23 |
},
|
|
|
|
| 24 |
"label2id": {
|
| 25 |
"Soluble": 0,
|
| 26 |
"Membrane": 1
|
| 27 |
+
}
|
| 28 |
}
|