Downloads · 30 days
42
25% of all-time downloads
perturblab/scfoundation-gene
scfoundation-gene is a machine learning model from perturblab. 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 perturblab. The card lists the license as apache-2.0.
This is the gene embedding model from scFoundation. It generates gene-level embeddings from single-cell RNA-seq data.
Downloads · 30 days
42
25% of all-time downloads
All-time downloads
167
Public
Repo size
477 MB
Likes
1
Public
Click a slice to open those files.
.pt477 MB · 100%
From the Hugging Face model README
This is the gene embedding model from scFoundation. It generates gene-level embeddings from single-cell RNA-seq data.
Model weights were originally from the biomap-research/scFoundation repository and have been re-uploaded here for ease of use with the perturblab library.
from perturblab.model.scfoundation import scFoundationModel
# Load model
model = scFoundationModel.from_pretrained('scfoundation-gene', device='cuda')
# Generate gene embeddings
gene_embeddings = model.predict_embedding(
adata,
output_type='gene'
)
Intended for internal use with the PerturbLab framework.