Skip to content

Examples

Concrete implementations showing how to compose ProteinGen's modules into working pipelines. Each example includes an Architecture Breakdown at the top that maps its components to the four library design areas (Data, Models, Sampling, Evaluation) and links to the relevant modules and reference docs.

All examples live in the examples/ directory. Run them with uv run python examples/path-to-script.py.


Guided Generation

Full pipelines that combine generative models with predictive models for property-optimized sampling.

Sampling

Generate protein sequences using pretrained models.

Fine-tuning

Adapt pretrained models to specific protein families.

Evaluation

Assess model quality and compare generation strategies.

Predictive Modeling

Build lightweight predictors on top of pretrained representations.