scfoundation-rde

Model Description

This is the RDE (Reaction-Diffusion Embedding) model from scFoundation. It provides specialized embeddings optimized for specific downstream tasks.

Model weights were originally from the biomap-research/scFoundation repository and have been re-uploaded here for ease of use with the perturblab library.

Model Details

  • Model Type: RDE embedding model
  • Architecture: xTrimoGene with MAE (Masked Autoencoder), Performer/Transformer modules
  • Parameters: 100M parameters
  • Training Data: 50M+ human single-cell transcriptomics data
  • Input: Single-cell or bulk RNA-seq expression data (19,264 fixed genes)
  • Output: RDE-optimized embeddings

Source

Usage

from perturblab.model.scfoundation import scFoundationModel

# Load model
model = scFoundationModel.from_pretrained('scfoundation-rde', device='cuda')

# Generate embeddings
embeddings = model.predict_embedding(
    adata, 
    output_type='cell',
    pool_type='max'
)

Note

Intended for internal use with the PerturbLab framework.

Downloads last month
8
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support