Instructions to use facebook/esm2_t48_15B_UR50D with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use facebook/esm2_t48_15B_UR50D with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("fill-mask", model="facebook/esm2_t48_15B_UR50D")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForMaskedLM tokenizer = AutoTokenizer.from_pretrained("facebook/esm2_t48_15B_UR50D") model = AutoModelForMaskedLM.from_pretrained("facebook/esm2_t48_15B_UR50D", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Commit ·
f6a50bf
1
Parent(s): b13216a
Upload EsmForMaskedLM
Browse files- config.json +4 -1
- pytorch_model-00001-of-00007.bin +1 -1
- pytorch_model-00007-of-00007.bin +2 -2
- pytorch_model.bin.index.json +3 -1
config.json
CHANGED
|
@@ -5,11 +5,13 @@
|
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"emb_layer_norm_before": false,
|
|
|
|
| 8 |
"hidden_act": "gelu",
|
| 9 |
"hidden_dropout_prob": 0.0,
|
| 10 |
"hidden_size": 5120,
|
| 11 |
"initializer_range": 0.02,
|
| 12 |
"intermediate_size": 20480,
|
|
|
|
| 13 |
"layer_norm_eps": 1e-05,
|
| 14 |
"mask_token_id": 32,
|
| 15 |
"max_position_embeddings": 1026,
|
|
@@ -20,7 +22,8 @@
|
|
| 20 |
"position_embedding_type": "rotary",
|
| 21 |
"token_dropout": true,
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
-
"transformers_version": "4.
|
| 24 |
"use_cache": true,
|
|
|
|
| 25 |
"vocab_size": 33
|
| 26 |
}
|
|
|
|
| 5 |
"attention_probs_dropout_prob": 0.0,
|
| 6 |
"classifier_dropout": null,
|
| 7 |
"emb_layer_norm_before": false,
|
| 8 |
+
"esmfold_config": null,
|
| 9 |
"hidden_act": "gelu",
|
| 10 |
"hidden_dropout_prob": 0.0,
|
| 11 |
"hidden_size": 5120,
|
| 12 |
"initializer_range": 0.02,
|
| 13 |
"intermediate_size": 20480,
|
| 14 |
+
"is_folding_model": false,
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"mask_token_id": 32,
|
| 17 |
"max_position_embeddings": 1026,
|
|
|
|
| 22 |
"position_embedding_type": "rotary",
|
| 23 |
"token_dropout": true,
|
| 24 |
"torch_dtype": "float32",
|
| 25 |
+
"transformers_version": "4.25.0.dev0",
|
| 26 |
"use_cache": true,
|
| 27 |
+
"vocab_list": null,
|
| 28 |
"vocab_size": 33
|
| 29 |
}
|
pytorch_model-00001-of-00007.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 9670709951
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1ef33121f717c0d38af689e9a86a29c07d8c4ebad693ed49bd6fbcb9507e8fb
|
| 3 |
size 9670709951
|
pytorch_model-00007-of-00007.bin
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6ffb0ae9eec76e22ea423a7644a89dbe960ebc7cb5bafd08c3f8d64835d509d0
|
| 3 |
+
size 1364209044
|
pytorch_model.bin.index.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
-
"total_size":
|
| 4 |
},
|
| 5 |
"weight_map": {
|
|
|
|
|
|
|
| 6 |
"esm.embeddings.position_embeddings.weight": "pytorch_model-00001-of-00007.bin",
|
| 7 |
"esm.embeddings.position_ids": "pytorch_model-00001-of-00007.bin",
|
| 8 |
"esm.embeddings.word_embeddings.weight": "pytorch_model-00001-of-00007.bin",
|
|
|
|
| 1 |
{
|
| 2 |
"metadata": {
|
| 3 |
+
"total_size": 60538109592
|
| 4 |
},
|
| 5 |
"weight_map": {
|
| 6 |
+
"esm.contact_head.regression.bias": "pytorch_model-00007-of-00007.bin",
|
| 7 |
+
"esm.contact_head.regression.weight": "pytorch_model-00007-of-00007.bin",
|
| 8 |
"esm.embeddings.position_embeddings.weight": "pytorch_model-00001-of-00007.bin",
|
| 9 |
"esm.embeddings.position_ids": "pytorch_model-00001-of-00007.bin",
|
| 10 |
"esm.embeddings.word_embeddings.weight": "pytorch_model-00001-of-00007.bin",
|