Instructions to use Synthyra/ESMFold2-300 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESMFold2-300 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="Synthyra/ESMFold2-300", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModel tokenizer = AutoTokenizer.from_pretrained("Synthyra/ESMFold2-300", trust_remote_code=True) model = AutoModel.from_pretrained("Synthyra/ESMFold2-300", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Record published checkpoint pins and validation status
Browse files- README.md +1 -1
- config.json +1 -1
- fastplms/models.toml +8 -8
- fastplms_bundle.py +0 -0
- modeling_fastplms.py +1 -1
- preparation-record.json +17 -17
README.md
CHANGED
|
@@ -184,7 +184,7 @@ Experimental Fast checkpoint with a frozen 300M ESM++ backbone, tensor-exact in
|
|
| 184 |
BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA
|
| 185 |
conditioning, and no confidence head. BF16 execution uses FP32 folding
|
| 186 |
parameters with CUDA autocast. FP8 is unsupported. Docker BF16 inference
|
| 187 |
-
validation passed on the compact Protein G case
|
| 188 |
|
| 189 |
## Technical details
|
| 190 |
|
|
|
|
| 184 |
BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA
|
| 185 |
conditioning, and no confidence head. BF16 execution uses FP32 folding
|
| 186 |
parameters with CUDA autocast. FP8 is unsupported. Docker BF16 inference
|
| 187 |
+
validation passed on the compact Protein G case.
|
| 188 |
|
| 189 |
## Technical details
|
| 190 |
|
config.json
CHANGED
|
@@ -31,7 +31,7 @@
|
|
| 31 |
"fastplms_checkpoint_repo_id": "biohub/ESMFold2-Experimental-Fast-base300M-step1500k",
|
| 32 |
"fastplms_checkpoint_revision": "21531e59002c9205284715e28ee802dafb430637",
|
| 33 |
"fastplms_model_id": "esmfold2_300",
|
| 34 |
-
"fastplms_runtime_bundle_sha256": "
|
| 35 |
"fastplms_weights_revision": "21531e59002c9205284715e28ee802dafb430637",
|
| 36 |
"folding_trunk": {
|
| 37 |
"dropout": 0.25,
|
|
|
|
| 31 |
"fastplms_checkpoint_repo_id": "biohub/ESMFold2-Experimental-Fast-base300M-step1500k",
|
| 32 |
"fastplms_checkpoint_revision": "21531e59002c9205284715e28ee802dafb430637",
|
| 33 |
"fastplms_model_id": "esmfold2_300",
|
| 34 |
+
"fastplms_runtime_bundle_sha256": "843922e6065315ab840313fa684227a9c6db9b33e5c652297afbab1a8f38240d",
|
| 35 |
"fastplms_weights_revision": "21531e59002c9205284715e28ee802dafb430637",
|
| 36 |
"folding_trunk": {
|
| 37 |
"dropout": 0.25,
|
fastplms/models.toml
CHANGED
|
@@ -1244,14 +1244,14 @@ family = "esmfold2"
|
|
| 1244 |
size_category = "structure"
|
| 1245 |
generation_contract = "not_applicable"
|
| 1246 |
msa_conditioning = false
|
| 1247 |
-
publication_status = "
|
| 1248 |
fast_repo = "Synthyra/ESMFold2-300"
|
| 1249 |
-
fast_revision = "
|
| 1250 |
-
fast_files = ["config.json=git-sha1:
|
| 1251 |
official_repo = "biohub/ESMFold2-Experimental-Fast-base300M-step1500k"
|
| 1252 |
official_revision = "21531e59002c9205284715e28ee802dafb430637"
|
| 1253 |
official_files = ["config.json=git-sha1:8c9a04fe22b0e5fca77bc4e2861a12c9494ef4d4", "model.safetensors=sha256:44d6797c5efebf24753d502b40950e0874871c96ceea14f2d7f7e39cebac67fd"]
|
| 1254 |
-
notes = "Experimental Fast checkpoint with a frozen 300M ESM++ backbone, tensor-exact in BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA conditioning, and no confidence head. BF16 execution uses FP32 folding parameters with CUDA autocast. FP8 is unsupported. Docker BF16 inference validation passed on the compact Protein G case
|
| 1255 |
auto_map = { AutoConfig = "fastplms.models.esmfold2.configuration_esmfold2.ESMFold2Config", AutoModel = "fastplms.models.esmfold2.modeling_esmfold2_experimental.ESMFold2ExperimentalModel", AutoModelForSequenceClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForSequenceClassification", AutoModelForTokenClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForTokenClassification" }
|
| 1256 |
backbone_model = "esmc_small"
|
| 1257 |
backbone = { repo = "biohub/ESMC-300M-1500000", revision = "56803b6378b82e16c3b24aac49d1fce4445540b7", files = ["config.json=git-sha1:7fe728a0eb3fb81b24491d6cc1de816bf7797c27", "model.safetensors=sha256:8bd6cacf9b5a92d51954b64b20407f1f9f564a7e4849b8663470784d2a8b7ed2", "tokenizer.json=git-sha1:81c797f56768b22dec0301fa771f018b7e43e98c", "tokenizer_config.json=git-sha1:f49f57b24a1c93bd544974811e8ecbd61b7fae89", "special_tokens_map.json=git-sha1:c907ee1dc19b24241749b32d665c291c7e6e8e4b"] }
|
|
@@ -1262,14 +1262,14 @@ family = "esmfold2"
|
|
| 1262 |
size_category = "structure"
|
| 1263 |
generation_contract = "not_applicable"
|
| 1264 |
msa_conditioning = false
|
| 1265 |
-
publication_status = "
|
| 1266 |
fast_repo = "Synthyra/ESMFold2-600"
|
| 1267 |
-
fast_revision = "
|
| 1268 |
-
fast_files = ["config.json=git-sha1:
|
| 1269 |
official_repo = "biohub/ESMFold2-Experimental-Fast-base600M-step1500k"
|
| 1270 |
official_revision = "15cf2d6648692f6c17cee1297d8a285476fffa9b"
|
| 1271 |
official_files = ["config.json=git-sha1:95517e555f17a1eca4b68866c89033a1f6916a5d", "model.safetensors=sha256:11a53c1b4700b6c62a5a464fc3ec7076160c19e8584157f88e13275116cfd602"]
|
| 1272 |
-
notes = "Experimental Fast checkpoint with a frozen 600M ESM++ backbone, tensor-exact in BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA conditioning, and no confidence head. BF16 execution uses FP32 folding parameters with CUDA autocast. FP8 is unsupported. Configuration, weight identities, and artifact reload are verified; this model is not inference-validated.
|
| 1273 |
auto_map = { AutoConfig = "fastplms.models.esmfold2.configuration_esmfold2.ESMFold2Config", AutoModel = "fastplms.models.esmfold2.modeling_esmfold2_experimental.ESMFold2ExperimentalModel", AutoModelForSequenceClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForSequenceClassification", AutoModelForTokenClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForTokenClassification" }
|
| 1274 |
backbone_model = "esmc_large"
|
| 1275 |
backbone = { repo = "biohub/ESMC-600M-1500000", revision = "21af9cc429af76ebda6c48074fb624db4735aaaf", files = ["config.json=git-sha1:ec29f6009b21d710f64bf1c058f3a9710833d692", "model.safetensors=sha256:d6869f5ae0f11e5dc829b195e062e87cfcc2f851a08a5edbaf5d1083ae7f76cc", "tokenizer.json=git-sha1:81c797f56768b22dec0301fa771f018b7e43e98c", "tokenizer_config.json=git-sha1:f49f57b24a1c93bd544974811e8ecbd61b7fae89", "special_tokens_map.json=git-sha1:c907ee1dc19b24241749b32d665c291c7e6e8e4b"] }
|
|
|
|
| 1244 |
size_category = "structure"
|
| 1245 |
generation_contract = "not_applicable"
|
| 1246 |
msa_conditioning = false
|
| 1247 |
+
publication_status = "published"
|
| 1248 |
fast_repo = "Synthyra/ESMFold2-300"
|
| 1249 |
+
fast_revision = "a38a62ae930d157484b331c2bf4241684573adba"
|
| 1250 |
+
fast_files = ["config.json=git-sha1:47ec20cf8b234c3b41d6f3ae1bdfe95d4eb4849e", "model.safetensors=sha256:44d6797c5efebf24753d502b40950e0874871c96ceea14f2d7f7e39cebac67fd"]
|
| 1251 |
official_repo = "biohub/ESMFold2-Experimental-Fast-base300M-step1500k"
|
| 1252 |
official_revision = "21531e59002c9205284715e28ee802dafb430637"
|
| 1253 |
official_files = ["config.json=git-sha1:8c9a04fe22b0e5fca77bc4e2861a12c9494ef4d4", "model.safetensors=sha256:44d6797c5efebf24753d502b40950e0874871c96ceea14f2d7f7e39cebac67fd"]
|
| 1254 |
+
notes = "Experimental Fast checkpoint with a frozen 300M ESM++ backbone, tensor-exact in BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA conditioning, and no confidence head. BF16 execution uses FP32 folding parameters with CUDA autocast. FP8 is unsupported. Docker BF16 inference validation passed on the compact Protein G case."
|
| 1255 |
auto_map = { AutoConfig = "fastplms.models.esmfold2.configuration_esmfold2.ESMFold2Config", AutoModel = "fastplms.models.esmfold2.modeling_esmfold2_experimental.ESMFold2ExperimentalModel", AutoModelForSequenceClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForSequenceClassification", AutoModelForTokenClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForTokenClassification" }
|
| 1256 |
backbone_model = "esmc_small"
|
| 1257 |
backbone = { repo = "biohub/ESMC-300M-1500000", revision = "56803b6378b82e16c3b24aac49d1fce4445540b7", files = ["config.json=git-sha1:7fe728a0eb3fb81b24491d6cc1de816bf7797c27", "model.safetensors=sha256:8bd6cacf9b5a92d51954b64b20407f1f9f564a7e4849b8663470784d2a8b7ed2", "tokenizer.json=git-sha1:81c797f56768b22dec0301fa771f018b7e43e98c", "tokenizer_config.json=git-sha1:f49f57b24a1c93bd544974811e8ecbd61b7fae89", "special_tokens_map.json=git-sha1:c907ee1dc19b24241749b32d665c291c7e6e8e4b"] }
|
|
|
|
| 1262 |
size_category = "structure"
|
| 1263 |
generation_contract = "not_applicable"
|
| 1264 |
msa_conditioning = false
|
| 1265 |
+
publication_status = "published"
|
| 1266 |
fast_repo = "Synthyra/ESMFold2-600"
|
| 1267 |
+
fast_revision = "71c67d0b2b73dc245ea7c3cc0d0476439a882d08"
|
| 1268 |
+
fast_files = ["config.json=git-sha1:8e271837cbdada96c4974c8e543f84065e0f06f1", "model.safetensors=sha256:11a53c1b4700b6c62a5a464fc3ec7076160c19e8584157f88e13275116cfd602"]
|
| 1269 |
official_repo = "biohub/ESMFold2-Experimental-Fast-base600M-step1500k"
|
| 1270 |
official_revision = "15cf2d6648692f6c17cee1297d8a285476fffa9b"
|
| 1271 |
official_files = ["config.json=git-sha1:95517e555f17a1eca4b68866c89033a1f6916a5d", "model.safetensors=sha256:11a53c1b4700b6c62a5a464fc3ec7076160c19e8584157f88e13275116cfd602"]
|
| 1272 |
+
notes = "Experimental Fast checkpoint with a frozen 600M ESM++ backbone, tensor-exact in BF16 with the pinned step-1500000 source, 24 folding blocks, no MSA conditioning, and no confidence head. BF16 execution uses FP32 folding parameters with CUDA autocast. FP8 is unsupported. Configuration, weight identities, and artifact reload are verified; this model is not inference-validated."
|
| 1273 |
auto_map = { AutoConfig = "fastplms.models.esmfold2.configuration_esmfold2.ESMFold2Config", AutoModel = "fastplms.models.esmfold2.modeling_esmfold2_experimental.ESMFold2ExperimentalModel", AutoModelForSequenceClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForSequenceClassification", AutoModelForTokenClassification = "fastplms.models.esmfold2.modeling_esmfold2_classification.ESMFold2ExperimentalForTokenClassification" }
|
| 1274 |
backbone_model = "esmc_large"
|
| 1275 |
backbone = { repo = "biohub/ESMC-600M-1500000", revision = "21af9cc429af76ebda6c48074fb624db4735aaaf", files = ["config.json=git-sha1:ec29f6009b21d710f64bf1c058f3a9710833d692", "model.safetensors=sha256:d6869f5ae0f11e5dc829b195e062e87cfcc2f851a08a5edbaf5d1083ae7f76cc", "tokenizer.json=git-sha1:81c797f56768b22dec0301fa771f018b7e43e98c", "tokenizer_config.json=git-sha1:f49f57b24a1c93bd544974811e8ecbd61b7fae89", "special_tokens_map.json=git-sha1:c907ee1dc19b24241749b32d665c291c7e6e8e4b"] }
|
fastplms_bundle.py
CHANGED
|
The diff for this file is too large to render.
See raw diff
|
|
|
modeling_fastplms.py
CHANGED
|
@@ -13,7 +13,7 @@ from zipfile import ZIP_DEFLATED, ZipFile
|
|
| 13 |
|
| 14 |
from .fastplms_bundle import RUNTIME_DATA, RUNTIME_HASH
|
| 15 |
|
| 16 |
-
if RUNTIME_HASH != "
|
| 17 |
raise RuntimeError("FastPLMs runtime identity differs from the bridge.")
|
| 18 |
|
| 19 |
_RUNTIME_TEMPORARIES = []
|
|
|
|
| 13 |
|
| 14 |
from .fastplms_bundle import RUNTIME_DATA, RUNTIME_HASH
|
| 15 |
|
| 16 |
+
if RUNTIME_HASH != "843922e6065315ab840313fa684227a9c6db9b33e5c652297afbab1a8f38240d":
|
| 17 |
raise RuntimeError("FastPLMs runtime identity differs from the bridge.")
|
| 18 |
|
| 19 |
_RUNTIME_TEMPORARIES = []
|
preparation-record.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
| 1 |
{
|
|
|
|
| 2 |
"complete_artifact_compliance": false,
|
| 3 |
"config_contract": {
|
| 4 |
"auto_map": {
|
|
@@ -55,15 +56,15 @@
|
|
| 55 |
"size": 393
|
| 56 |
},
|
| 57 |
"README.md": {
|
| 58 |
-
"sha256": "
|
| 59 |
-
"size":
|
| 60 |
},
|
| 61 |
"THIRD_PARTY_NOTICES.md": {
|
| 62 |
"sha256": "d35e506b728868b52290672d54a89c6aade09529af99dbc8a4db72d9e9ca3460",
|
| 63 |
"size": 4770
|
| 64 |
},
|
| 65 |
"config.json": {
|
| 66 |
-
"sha256": "
|
| 67 |
"size": 2955
|
| 68 |
},
|
| 69 |
"fastplms/__init__.py": {
|
|
@@ -107,8 +108,8 @@
|
|
| 107 |
"size": 6463
|
| 108 |
},
|
| 109 |
"fastplms/models.toml": {
|
| 110 |
-
"sha256": "
|
| 111 |
-
"size":
|
| 112 |
},
|
| 113 |
"fastplms/models/__init__.py": {
|
| 114 |
"sha256": "d3dd084f5e8fafcf2d0fe4a26e4ab9284d3f9414b1f9a5bd86e308a406447c43",
|
|
@@ -303,15 +304,15 @@
|
|
| 303 |
"size": 2541
|
| 304 |
},
|
| 305 |
"fastplms_bundle.py": {
|
| 306 |
-
"sha256": "
|
| 307 |
-
"size":
|
| 308 |
},
|
| 309 |
"model.safetensors": {
|
| 310 |
"sha256": "44d6797c5efebf24753d502b40950e0874871c96ceea14f2d7f7e39cebac67fd",
|
| 311 |
"size": 684606540
|
| 312 |
},
|
| 313 |
"modeling_fastplms.py": {
|
| 314 |
-
"sha256": "
|
| 315 |
"size": 7992
|
| 316 |
},
|
| 317 |
"requirements.txt": {
|
|
@@ -319,8 +320,7 @@
|
|
| 319 |
"size": 450
|
| 320 |
}
|
| 321 |
},
|
| 322 |
-
"
|
| 323 |
-
"runtime_bundle_sha256": "ef1f313b70da02019bf0712085e332968c1cecf189633f721fce2554cff6b61f",
|
| 324 |
"schema_version": 1,
|
| 325 |
"scope": "local-preparation",
|
| 326 |
"source_payloads": {
|
|
@@ -349,8 +349,8 @@
|
|
| 349 |
"size": 393
|
| 350 |
},
|
| 351 |
"README.md": {
|
| 352 |
-
"sha256": "
|
| 353 |
-
"size":
|
| 354 |
},
|
| 355 |
"THIRD_PARTY_NOTICES.md": {
|
| 356 |
"sha256": "d35e506b728868b52290672d54a89c6aade09529af99dbc8a4db72d9e9ca3460",
|
|
@@ -397,8 +397,8 @@
|
|
| 397 |
"size": 6463
|
| 398 |
},
|
| 399 |
"fastplms/models.toml": {
|
| 400 |
-
"sha256": "
|
| 401 |
-
"size":
|
| 402 |
},
|
| 403 |
"fastplms/models/__init__.py": {
|
| 404 |
"sha256": "d3dd084f5e8fafcf2d0fe4a26e4ab9284d3f9414b1f9a5bd86e308a406447c43",
|
|
@@ -593,11 +593,11 @@
|
|
| 593 |
"size": 2541
|
| 594 |
},
|
| 595 |
"fastplms_bundle.py": {
|
| 596 |
-
"sha256": "
|
| 597 |
-
"size":
|
| 598 |
},
|
| 599 |
"modeling_fastplms.py": {
|
| 600 |
-
"sha256": "
|
| 601 |
"size": 7992
|
| 602 |
},
|
| 603 |
"requirements.txt": {
|
|
|
|
| 1 |
{
|
| 2 |
+
"checkpoint_publication_status": "published",
|
| 3 |
"complete_artifact_compliance": false,
|
| 4 |
"config_contract": {
|
| 5 |
"auto_map": {
|
|
|
|
| 56 |
"size": 393
|
| 57 |
},
|
| 58 |
"README.md": {
|
| 59 |
+
"sha256": "218e2d6a456b3a46041572bb0680f5d9b61106e70a44a1c7e208051a44851209",
|
| 60 |
+
"size": 8723
|
| 61 |
},
|
| 62 |
"THIRD_PARTY_NOTICES.md": {
|
| 63 |
"sha256": "d35e506b728868b52290672d54a89c6aade09529af99dbc8a4db72d9e9ca3460",
|
| 64 |
"size": 4770
|
| 65 |
},
|
| 66 |
"config.json": {
|
| 67 |
+
"sha256": "ea90360ca91f8de64538bc66a79fb1d981a4a3a874881791cb0ef67a7e569ab1",
|
| 68 |
"size": 2955
|
| 69 |
},
|
| 70 |
"fastplms/__init__.py": {
|
|
|
|
| 108 |
"size": 6463
|
| 109 |
},
|
| 110 |
"fastplms/models.toml": {
|
| 111 |
+
"sha256": "46375cbde3ab50b1e91f615e6490a7d4ddd3e1f921b03056a8bdfaa2f50fd9c7",
|
| 112 |
+
"size": 82914
|
| 113 |
},
|
| 114 |
"fastplms/models/__init__.py": {
|
| 115 |
"sha256": "d3dd084f5e8fafcf2d0fe4a26e4ab9284d3f9414b1f9a5bd86e308a406447c43",
|
|
|
|
| 304 |
"size": 2541
|
| 305 |
},
|
| 306 |
"fastplms_bundle.py": {
|
| 307 |
+
"sha256": "f98b3c9bfcb1c81f6b362f3c70025ab926e8a5ba3d57e6688732d853e196cc96",
|
| 308 |
+
"size": 395619
|
| 309 |
},
|
| 310 |
"model.safetensors": {
|
| 311 |
"sha256": "44d6797c5efebf24753d502b40950e0874871c96ceea14f2d7f7e39cebac67fd",
|
| 312 |
"size": 684606540
|
| 313 |
},
|
| 314 |
"modeling_fastplms.py": {
|
| 315 |
+
"sha256": "47f623a786d945d536a47e745901ecdbd8fff69ffdf723fe87ee3fcfb4cb7746",
|
| 316 |
"size": 7992
|
| 317 |
},
|
| 318 |
"requirements.txt": {
|
|
|
|
| 320 |
"size": 450
|
| 321 |
}
|
| 322 |
},
|
| 323 |
+
"runtime_bundle_sha256": "843922e6065315ab840313fa684227a9c6db9b33e5c652297afbab1a8f38240d",
|
|
|
|
| 324 |
"schema_version": 1,
|
| 325 |
"scope": "local-preparation",
|
| 326 |
"source_payloads": {
|
|
|
|
| 349 |
"size": 393
|
| 350 |
},
|
| 351 |
"README.md": {
|
| 352 |
+
"sha256": "218e2d6a456b3a46041572bb0680f5d9b61106e70a44a1c7e208051a44851209",
|
| 353 |
+
"size": 8723
|
| 354 |
},
|
| 355 |
"THIRD_PARTY_NOTICES.md": {
|
| 356 |
"sha256": "d35e506b728868b52290672d54a89c6aade09529af99dbc8a4db72d9e9ca3460",
|
|
|
|
| 397 |
"size": 6463
|
| 398 |
},
|
| 399 |
"fastplms/models.toml": {
|
| 400 |
+
"sha256": "46375cbde3ab50b1e91f615e6490a7d4ddd3e1f921b03056a8bdfaa2f50fd9c7",
|
| 401 |
+
"size": 82914
|
| 402 |
},
|
| 403 |
"fastplms/models/__init__.py": {
|
| 404 |
"sha256": "d3dd084f5e8fafcf2d0fe4a26e4ab9284d3f9414b1f9a5bd86e308a406447c43",
|
|
|
|
| 593 |
"size": 2541
|
| 594 |
},
|
| 595 |
"fastplms_bundle.py": {
|
| 596 |
+
"sha256": "f98b3c9bfcb1c81f6b362f3c70025ab926e8a5ba3d57e6688732d853e196cc96",
|
| 597 |
+
"size": 395619
|
| 598 |
},
|
| 599 |
"modeling_fastplms.py": {
|
| 600 |
+
"sha256": "47f623a786d945d536a47e745901ecdbd8fff69ffdf723fe87ee3fcfb4cb7746",
|
| 601 |
"size": 7992
|
| 602 |
},
|
| 603 |
"requirements.txt": {
|