Hugging Face
GitHub
Paper
API reference
Get started
Get started using ESMC with our Quickstart and Tutorials.Quickstart guide
1
Install the esm Python package
2
Create an API key
Generate an API key from your Biohub account.
This API key manages your access to credits and tokens.
The documentation often uses the terms API key and token interchangeably.
3
Connect to the Biohub Platform API
Call the ESM client with your selected model and replace
<your API token> with your
token name.4
Run your inference
Now you are ready to use your model. For examples of specific use cases or to append a sparse autoencoder (SAE) onto
your ESMC model, check out our Tutorials.
Model tutorials
Embedding sequences with ESMC
Embed protein sequences and explore how different transformer layers encode structural and
functional information.
Zero-shot entropy and mutation analysis
Compute per-position entropy and log-likelihood ratios to identify constrained vs.
mutation-tolerant sites.
Layer sweep for enzyme function classification
Learn how to sweep all layers to find which one is best using enzyme classification as a task.
Understanding proteins with SAE features
Extract and visualize sparse autoencoder features, rank by peak activation, and map activations
onto 3D structures.
Fine-tuning ESMC
Fine-tune a classification or regression head for your dataset on top of ESMC using parameter-efficient
fine-tuning (PEFT).
Model details
For additional information, see the Hugging Face link.Model card
- Overview
- Details
- Variants
- Usage