Instructions to use mila-intel/ProtST-esm1b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use mila-intel/ProtST-esm1b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="mila-intel/ProtST-esm1b", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("mila-intel/ProtST-esm1b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update config.json
Browse files- config.json +1 -0
config.json
CHANGED
|
@@ -6,6 +6,7 @@
|
|
| 6 |
"AutoModel": "modeling_protst.ProtSTModel",
|
| 7 |
"AutoConfig": "configuration_protst.ProtSTConfig"
|
| 8 |
},
|
|
|
|
| 9 |
"protein_config": {
|
| 10 |
"_name_or_path": "/tmp/facebook/esm1b_t33_650M_UR50S",
|
| 11 |
"architectures": [
|
|
|
|
| 6 |
"AutoModel": "modeling_protst.ProtSTModel",
|
| 7 |
"AutoConfig": "configuration_protst.ProtSTConfig"
|
| 8 |
},
|
| 9 |
+
"model_type": "protst",
|
| 10 |
"protein_config": {
|
| 11 |
"_name_or_path": "/tmp/facebook/esm1b_t33_650M_UR50S",
|
| 12 |
"architectures": [
|