Biohub has published ESMC-6B, a protein language model with 6 billion parameters, on Hugging Face. The model learned protein biology from billions of protein sequences, and it’s meant for work ranging from therapeutic protein engineering to basic research. Smaller versions come with it for people who can’t run a model that size.
What’s in the release
The main model has 80 layers and was trained with about 2.37e23 floating-point operations. Biohub also released two overtrained variants, with 300 million and 600 million parameters, aimed at local inference and fine-tuning.
Two related pieces build on the big model:
- ESMFold2, a structure prediction and design model trained on top of a frozen ESMC 6B. Biohub says it sets a new frontier for speed and accuracy.
- A sparse autoencoder, ESMC-6B-sae-layer60-k64-codebook16384, which gives human-interpretable feature descriptions generated by agents. Several other autoencoder variants exist, covering hidden states across all layers, a single layer at different sparsity and codebook sizes, and MLP outputs across all layers.
Biohub also offers the model through its own platform API. A preprint, “Language Modeling Materializes a World Model of Protein Biology,” describes the work and lists a long author team that includes Thomas Hayes, Zeming Lin, Alexander Rives and others.

How the model is built
ESMC is a transformer. It uses pre-layer normalization, rotary embeddings and SwiGLU activations, and has no bias terms in its linear layers or layer norms. Those are fairly standard choices in current large language models, applied here to amino acid sequences instead of text.
Training data and procedure
The training sequences came from UniRef, MGnify and the Joint Genome Institute. Biohub clustered the data at 70% sequence identity, which gave 83 million clusters for UniRef, 372 million for MGnify and 2 billion for JGI.
Training ran in two stages:
- The first 1 million steps used a context length of 512, with metagenomic data making up 64% of the mix.
- The final 500,000 steps raised the context length to 2048 and cut metagenomic data to 37.5%.
The release points to the ESMC and ESMFold2 paper for performance numbers, so the model card itself carries no benchmark table.
Running it yourself
The model loads through the standard Hugging Face transformers library, using the masked language modeling classes. A GPU is required, and a PyTorch setup with GPU support is recommended. The optional libraries transformer_engine and xformers are suggested for speed.
By default the model returns only final-layer representations. Setting a flag returns hidden states from every layer. The card’s examples use green fluorescent protein (GFP) as the test sequence.
A few usage options are documented:
- Flash attention, which needs the model in bfloat16, can replace standard scaled dot product attention.
- Masked language modeling lets the model predict hidden amino acids and compute loss on only those positions.
- LoRA fine-tuning through the peft library is supported, and the card links a tutorial on fine-tuning ESMC to classify enzymes.
- Attention maps can be extracted, but that forces a slower manual attention path and doesn’t work with flash attention.
The sparse autoencoders attach to the model directly, so you can read interpretable features from hidden states or per-layer MLP outputs during a normal forward pass.
Why a protein language model matters
A protein language model treats amino acid sequences the way a text model treats words. After seeing enough sequences, it picks up patterns that reflect structure and function. Those learned representations can then feed tasks such as predicting how a mutation changes a protein or designing new ones.
The interpretability tools may be the more unusual part. Sparse autoencoders try to split a model’s internal activity into features a person can read, which helps researchers check what the model has actually learned about biology rather than just trusting its outputs.
What to watch next
The 300M and 600M variants lower the barrier for labs without large GPU budgets, and the autoencoder set invites outside work on interpretation. The numbers to look for are the published comparisons in the ESMC and ESMFold2 paper and any independent tests of how the smaller models hold up on real engineering tasks.
Source: huggingface.co