Skip to main content

Package of CellPLM: A pretrain-ed cell language model beyond single cells. Paper link: https://www.biorxiv.org/content/10.1101/2023.10.03.560734

Reason this release was yanked:

replaced with post2

Project description

CellPLM

This is the official codebase for CellPLM: Pre-training of Cell Language Model Beyond Single Cells.

Preprint License

CellPLM is the first single-Cell Pre-trained Language Model that encodes cell-cell relations and it consistently outperforms existing pre-trained and non-pre-trained models in diverse downstream tasks, with 100x higher inference speed compared to existing pre-trained models.

Installation

We recommend PyPI for quick installation. We recommend using python 3.9 and cuda>=11.7 but they are adjustable.

Quick Installation with PyPI

Make sure gpu version of pytorch (>=1.13.0) has been installed before installing CellPLM.

pip install cellplm

Full Installation (recommended for HPC users and developers)

conda create -n cellplm python=3.9 -y && conda activate cellplm
conda install cudatoolkit=11.7 -c pytorch -c nvidia
pip install -r requirements.txt

The full installation will install the same environment as we used during development. This includes rapids used to accelerate evaluation.

Tutorials

We offer several notebooks for various downstream tasks as introductory tutorials.

We are also working on developing more streamlined protocols for supported tasks and a comprehensive documentation. We aim to release these by the end of the year.

Pretrained CellPLM Model Checkpoints

The checkpoint can be acquired from our dropbox. We might update our checkpoints from time to time.

[10/10/2023] The latest version is 20230926_85M.

Citation

@article{wen2023cellplm,
  title={CellPLM: Pre-training of Cell Language Model Beyond Single Cells},
  author={Wen, Hongzhi and Tang, Wenzhuo and Dai, Xinnan and Ding, Jiayuan and Jin, Wei and Xie, Yuying and Tang, Jiliang},
  journal={bioRxiv},
  pages={2023--10},
  year={2023},
  publisher={Cold Spring Harbor Laboratory}
}

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

cellplm-0.1.0.post1.tar.gz (42.6 kB view details)

Uploaded Source

Built Distribution

cellplm-0.1.0.post1-py3-none-any.whl (57.5 kB view details)

Uploaded Python 3

File details

Details for the file cellplm-0.1.0.post1.tar.gz.

File metadata

  • Download URL: cellplm-0.1.0.post1.tar.gz
  • Upload date:
  • Size: 42.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.15

File hashes

Hashes for cellplm-0.1.0.post1.tar.gz
Algorithm Hash digest
SHA256 b3892fe9a60ecafe69300935d835bd85df3faadd2d0b1f0a8dbde62a17f7bcca
MD5 f3ae1937d87486413a1ef0b52eef2765
BLAKE2b-256 b120bfaff1cad4f0b93cf2ecec7d1d5c8bbff20f924773bde823c0b37691df52

See more details on using hashes here.

File details

Details for the file cellplm-0.1.0.post1-py3-none-any.whl.

File metadata

File hashes

Hashes for cellplm-0.1.0.post1-py3-none-any.whl
Algorithm Hash digest
SHA256 1439199d7e2a99601c365e1b05c0823615367c7bd3ad30aa15b34cae639777e3
MD5 f2469704ae2e68db64b1545f8b3e5e0f
BLAKE2b-256 662de8ffb289f0654bbd313a944ea10057f21ccba4f1e29df3b7f6364041f3e7

See more details on using hashes here.

Supported by

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