Parameter-Efficient Fine-Tuning Enhances Adaptation of Single Cell Large Language Model.
Project description
scPEFT
This is the official repository for scPEFT: Parameter-Efficient Fine-Tuning Enhances Adaptation of Single Cell Large Language Model.
Installation
scPEFT works with Python >= 3.7.13. Please make sure you have the correct version of Python installed pre-installation.
scPEFT is available on PyPI. To install scPEFT, run the following command:
pip install scpeft
For developing, run the following command:
git clone https://github.com/SELECT-FROM/scPEFT
cd scPEFT
Get Started
-
Download the upstream model scGPT model checkpoint and place it at e.g.,
work_dir/scPEFT/save
. We recommend using the whole-human model for most applications by default, which pretrained on 33 million normal human cells.. -
The tutorials of scPEFT for downstream tasks in tutorial_peft. Here are the links to the downstream tasks and tutorials mentioned in our article
Downstream task Link cell type identification Tutorial_Identification.ipynb batch correction Tutorial_BatchCorrection.ipynb perturbation Tutorial_Perturbation.ipynb case control Tutorial_CaseControl.ipynb
Contributing
We greatly welcome contributions to scPEFT. Please submit a pull request if you have any ideas or bug fixes. We also welcome any issues you encounter while using scPEFT.
Built With
We sincerely thank the authors of following open-source projects:
Citing scPEFT
@article {He2024.01.27.577455,
author = {Fei He and Ruixin Fei and Mingyue Gao and Li Su and Xinyu Zhang and Dong Xu},
title = {Parameter-Efficient Fine-Tuning Enhances Adaptation of Single Cell Large Language Model for Cell Type Identification},
year = {2024},
doi = {10.1101/2024.01.27.577455},
publisher = {Cold Spring Harbor Laboratory},
URL = {https://www.biorxiv.org/content/early/2024/01/30/2024.01.27.577455},
journal = {bioRxiv}
}
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file scpeft-0.1.0.tar.gz
.
File metadata
- Download URL: scpeft-0.1.0.tar.gz
- Upload date:
- Size: 823.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | be873deb28f26a20f910de9c12807f176538dc09832b2f3ee29df6ba925e29af |
|
MD5 | 6c0140b03c68083be26a7f9461d34c8f |
|
BLAKE2b-256 | 89e0d5050d9a713ee851942473f6c13adf95a0659586bea88cf0f3905a3cbb92 |
File details
Details for the file scpeft-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: scpeft-0.1.0-py3-none-any.whl
- Upload date:
- Size: 847.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd2223d633e028f4b630e716970b819d2b3c0b848c999046f631011c17046a28 |
|
MD5 | e80c41450dcc609011c98a8402810715 |
|
BLAKE2b-256 | 6e536323d5dade5a2bafa35e7f125ff285f1de57fc29612ebd56d0f33d51b13d |