Skip to main content

A small protein language model trained on the fungal kingdom -- embeddings + variant scoring.

Project description

fungalplm

A tiny (9.5M-parameter) protein language model exclusively trained on fungal proteins. The API allows for per-protein and per-residue embeddings extraction. Weights load straight from the Hugging Face Hub.

pip install fungalplm
from fungalplm import FungalPLM

plm = FungalPLM.load("szchesny/fungal-plm")            # downloads the weights
emb = plm.embed(["MQIFVKTLTGKTITLEVEPSDTIENVK..."])    # [N, d] per-protein (mean-pooled)
res = plm.embed(seqs, per_residue=True)                # list of [Li, d]

Or from the command line:

fungalplm embed proteins.fasta --ckpt fungal-plm.pth -o embeddings.npz

Usecase

This model beats ESM2-8M in ubiquitin prediction, with wild-type-NLL signal scores provided, that tells you when to trust it (1.2-1.4 most optimal). Full numbers, limitations, and the model card: https://huggingface.co/szchesny/fungal-plm

MIT licensed. Dependencies: torch, numpy, huggingface_hub.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fungalplm-0.0.2.tar.gz (8.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fungalplm-0.0.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file fungalplm-0.0.2.tar.gz.

File metadata

  • Download URL: fungalplm-0.0.2.tar.gz
  • Upload date:
  • Size: 8.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for fungalplm-0.0.2.tar.gz
Algorithm Hash digest
SHA256 7b201a41969416c6f7032b25d0199928d5b9ca7f8c6dc9c134ea615168a781b8
MD5 2be4254b7cafd9a8baed50fe7479633a
BLAKE2b-256 70c9393fc2c70b3258febf60ea7539d81d3b423802feb9dcdb51b4fbb837b07b

See more details on using hashes here.

File details

Details for the file fungalplm-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: fungalplm-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.13

File hashes

Hashes for fungalplm-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 3aafb857c5854c342a9229225b38f90fdac8b1d35d88a7f222d991a457fde997
MD5 49fae07c90d0331890c7ba05fdb29025
BLAKE2b-256 fd922379bc6a51f0bc2503efe5b91c2e3775eb68876aa21bac26404c17ced47d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page