MDRAMP / README.md
BillyLiang's picture
Release DEG162 FinalModel and portable model assets
77ac0e6 verified
|
Raw History Blame Contribute Delete
2.99 kB
metadata
license: apache-2.0
library_name: pytorch
tags:
  - antimicrobial-peptides
  - protein-sequences
  - regression

MDRAMP model assets

MDRAMP scores peptide sequences for antimicrobial peptide research. The model registry exposes two roles. Use the matching MDRAMP software release, which pins this asset revision in its download manifest.

Model role Training and scoring Protein reference panel
BaseModel Experts and an autoregressive generator trained on public data. The experts provide activity-prior, membrane and protein-interaction scores. MIC estimation requires calibration. 575 reference proteins
FinalModel Calibrated activity-prior and interaction experts, the shared membrane expert, a preference-trained MIC head and a pretrained generation policy. 162 distinct protein sequences across four bacterial species. Three species draw on the Database of Essential Genes (DEG), and one uses a UniProt reference proteome

The MIC head uses ESM3 embeddings, 32 scaled descriptors and three expert outputs. Its predicted values reflect adjusted labels and ranking preferences. Model outputs alone do not establish an experimentally measured MIC, clinical efficacy or host safety. The generator reuses an existing policy. FinalModel reranks its output with the current scoring model.

Panel evaluation

On 200 public peptide probes, interaction-score ranks for the 162 representatives correlated with ranks from all 205 eligible protein accessions (Spearman 0.9982). The correlation with the earlier 575-protein panel was 0.7696. These comparisons evaluate sensitivity to the protein panel. Independent validation of MIC predictions for new peptides remains open. See FinalModel/validation.json for the aggregate panel results.

Installation

Install the matching MDRAMP software release and its dependencies. The command line downloads the assets recorded in the software's pinned manifest. For manual installation, place this repository directly under the project's assets/ directory, including models.json. Install the upstream ESM3 snapshot into assets/shared/esm3/ using the revision in external_assets.json. ESM3 requires its upstream companion resources and may require an authenticated account with access. Its original license and access terms apply.

Run the following from the software project directory.

python main.py predict --input demo/predict.fasta

The default role is FinalModel. BaseModel/scorer.json and FinalModel/scorer.json resolve assets relative to their own directories. shared/ holds the BaseModel reference panel, the BaseModel experts and the common scaler and membrane expert. FinalModel/ holds the final calibrated experts, panel, generator and MIC head. checksums.json lists file sizes and SHA-256 hashes for all release files except itself. external_assets.json identifies the external ESM3 revision and main weight hash.