Skip to content

snap-stanford/UCE-brain

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Requires uv. To build the envrionment and install the package, run:

git clone https://github.com/snap-stanford/UCE-brain.git && cd UCE-brain
uv sync

Run notebook

We use a dataset on VPA-treated dorsal forebrain organoids dataset (here) for demo. To run the notebook, update the paths in the first cell to point to the downloaded H5AD file, model checkpoint, and gene mapping JSON file on your system.

The dataset can be downloaded from the cellxgene portal linked above, and the model checkpoint can be obtained from the Hugging Face model hub at KuanP/uce-brain-pilot-8l-512d (which should be automatically downloaded when you run the notebook, or downloaded from here). The gene mapping JSON file is included in the repository under gene_data/human_gene_dict.json.

Model weights

  • Brain pilot models: KuanP/uce-brain-pilot-8l-512d (8 layers, 512 embedding dimension, trained on brain organoid data, here)
  • cxg2025 models: KuanP/uce-cxg-2025-baseline-8l-512d (8 layers, 512 embedding dimension, trained on all data from cxg2025, here)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors