Downloads · 30 days
0
maraxen/prxteinmpnn
prxteinmpnn is a machine learning model from maraxen. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for equinox. The card lists the license as mit.
[!WARNING] This repository is archived and no longer maintained. All weights have been migrated to maraxen/aminx, which covers ProteinMPNN, SolubleMPNN, LigandMPNN, Membrane variants, and the side-chain packer — all i…
Downloads · 30 days
0
Access
Public
Updated Jun 5, 2026
Repo size
212 MB
Likes
0
Public
Click a slice to open those files.
.eqx53.3 MB · 100%
From the Hugging Face model README
[!WARNING] This repository is archived and no longer maintained.
All weights have been migrated to maraxen/aminx, which covers ProteinMPNN, SolubleMPNN, LigandMPNN, Membrane variants, and the side-chain packer — all in the compressed
.eqx.zstformat with parity-verified conversions.Install the new package:
pip install aminx # weights auto-download from maraxen/aminx on first use
A JAX/Equinox implementation of ProteinMPNN for inverse protein folding and sequence design.
PrxteinMPNN is a message-passing neural network that generates amino acid sequences given a protein backbone structure. This implementation uses JAX and Equinox for efficient computation and functional programming patterns.
Key Features:
All models use the same architecture with different training:
original_v_48_002 - Trained for 2 epochsoriginal_v_48_010 - Trained for 10 epochsoriginal_v_48_020 - Trained for 20 epochs (recommended)original_v_48_030 - Trained for 30 epochssoluble_v_48_002 - Trained for 2 epochs on soluble proteinssoluble_v_48_010 - Trained for 10 epochs on soluble proteinssoluble_v_48_020 - Trained for 20 epochs on soluble proteins (recommended)soluble_v_48_030 - Trained for 30 epochs on soluble proteinspip install jax equinox huggingface_hub
import jax
import jax.numpy as jnp
import equinox as eqx
from huggingface_hub import hf_hub_download
# Download model from HuggingFace
model_path = hf_hub_download(
repo_id="maraxen/prxteinmpnn",
filename="eqx/original_v_48_020.eqx",
repo_type="model",
)
# Create model structure (must match saved architecture)
from prxteinmpnn.eqx_new import PrxteinMPNN
key = jax.random.PRNGKey(0)
model = PrxteinMPNN(
node_features=128,
edge_features=128,
hidden_features=512,
num_encoder_layers=3,
num_decoder_layers=3,
vocab_size=21,
k_neighbors=48,
key=key,
)
# Load weights
model = eqx.tree_deserialise_leaves(model_path, model)
# Use model for inference
# ... (see full documentation for inference examples)
from aminx.io.weights import load_model
# Automatically downloads and loads the model from maraxen/aminx
model = load_model("proteinmpnn_v_48_020")
Hyperparameters:
Architecture:
If you use PrxteinMPNN in your research, please cite the original ProteinMPNN paper:
@article{dauparas2022robust,
title={Robust deep learning--based protein sequence design using ProteinMPNN},
author={Dauparas, Justas and Anishchenko, Ivan and Bennett, Nathaniel and Bai, Hua and Ragotte, Robert J and Milles, Lukas F and Wicky, Basile IM and Courbet, Alexis and de Haas, Rob J and Bethel, Neville and others},
journal={Science},
volume={378},
number={6615},
pages={49--56},
year={2022},
publisher={American Association for the Advancement of Science}
}
MIT License - See LICENSE file for details.