skillfed

fair-esm

Evolutionary Scale Modeling (esm): Pretrained language models for proteins. From Facebook AI Research.

fair-esm v2.0.0 170.2K downloads/30d#10,401 on PyPI4,169
Permissive license MIT Abandoned released

What it is and what it does

Fair-esm is a collection of pre-trained transformer models for protein sequence analysis from Facebook AI Research. It includes ESM-2 (a general-purpose protein language model available in multiple sizes), ESMFold (end-to-end structure prediction), ESM-1v (specialized for variant effect prediction), MSA Transformer (for multiple sequence alignment analysis), and ESM-IF1 (for inverse folding and sequence design). The models are trained on large-scale protein sequence datasets and can generate embeddings, predict 3D structures from sequences, assess the functional impact of mutations, and design new sequences for given protein structures.

The package is designed for researchers and practitioners working with protein analysis. It requires PyTorch (not declared as a dependency) and downloads pre-trained weights on first use. The repository is no longer actively maintained—the last commit was February 2024 and the latest PyPI release is from November 2022—so users should expect no updates, bug fixes, or support for new PyTorch versions.

Use it for:

  • Generate protein embeddings for downstream machine learning tasks like function prediction or homology detection
  • Predict 3D protein structures directly from amino acid sequences without multiple sequence alignments
  • Assess how amino acid substitutions affect protein function using zero-shot variant effect prediction
  • Design new protein sequences for a given 3D structure using inverse folding
  • Extract contact predictions and structural features from protein sequences for comparative analysis

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides pre-trained transformer protein language models (ESM-2, ESMFold, ESM-1v, MSA Transformer, ESM-IF1) for protein structure prediction, embedding generation, variant effect prediction, and inverse folding directly from sequence.

Yes, with conditions. The models are scientifically rigorous and widely cited, and the MIT license is permissive. However, the repository is archived and unmaintained since February 2024, so there will be no bug fixes or compatibility updates. Install only if you can tolerate a frozen codebase and are willing to manage PyTorch compatibility yourself. For active development or production systems requiring ongoing support, consider whether a maintained fork or alternative is available.

Install

fair-esm on PyPI

pip

pip install fair-esm

uv

uv add fair-esm

poetry

poetry add fair-esm

Installing fair-esm

Before you install

Installation is straightforward with no runtime dependencies. However, the repository is archived and unmaintained since February 2024, with the latest PyPI release from November 2022. PyTorch is a prerequisite but not declared as a package dependency.

License in practice

MIT license permits commercial and private use with minimal restrictions, making it suitable for research and production applications without licensing friction.

Quickstart

pip install fair-esm

import esm
model, alphabet = esm.pretrained.esm2_t36_3B_UR50D()
# Use model for inference on protein sequences

PyTorch must be installed separately; the package does not declare it as a dependency. Pre-trained model weights are downloaded on first use and require sufficient disk space.

Verify before relying

  • Exact disk space and memory requirements for different model variants (8M, 35M, 150M, 700M, 3B, 15B parameters)
  • Whether PyTorch dependency is intentionally omitted or an oversight in packaging
  • Current state of pre-trained weight URLs and download reliability given repository archival

Package facts

License MIT (permissive)
Python support not specified
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance abandoned — 1,382 days since the last release
Last repo commit (repository archived)
First released
Downloads 170,221/month — #10,401 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: fair_esm-2.0.0-py3-none-any.whl

Tags

protein language modelprotein structure predictionESM transformerprotein embeddingsvariant effect predictioninverse protein foldingsequence to structure
protein-sciencedeep-learningstructure-prediction

More Artificial Intelligence packages