Image Feature Extraction
Transformers
Safetensors
esmfold2
biology
protein-structure
multimodal-protein-model
custom_code
Instructions to use Synthyra/ESMFold2-Fast with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Synthyra/ESMFold2-Fast with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-feature-extraction", model="Synthyra/ESMFold2-Fast", trust_remote_code=True)# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Synthyra/ESMFold2-Fast", trust_remote_code=True, dtype="auto") - Notebooks
- Google Colab
- Kaggle
| """Re-exports of the canonical SPI dataclasses from input_builder. | |
| This module exists so the HF processor and downstream code can import the | |
| ESMFold2 input types from a single namespace without picking up internal-only | |
| sibling utilities. The actual definitions live in | |
| ``esm.utils.structure.input_builder``. | |
| """ | |
| from .esmfold2_msa import MSA | |
| from .esmfold2_parsing import FastaEntry | |
| from .esmfold2_input_builder import ( | |
| CovalentBond, | |
| DistogramConditioning, | |
| DNAInput, | |
| LigandInput, | |
| Modification, | |
| ProteinInput, | |
| RNAInput, | |
| StructurePredictionInput, | |
| ) | |
| __all__ = [ | |
| "FastaEntry", | |
| "MSA", | |
| "Modification", | |
| "ProteinInput", | |
| "RNAInput", | |
| "DNAInput", | |
| "LigandInput", | |
| "DistogramConditioning", | |
| "CovalentBond", | |
| "StructurePredictionInput", | |
| ] | |