Views
No views yet
gene_embeddings.pkl: Gene embeddings dictionary in PerturbLab format
{'embeddings': {gene_name: embedding_array}, 'gene_list': [gene_names]}config.json: Model configuration1from perturblab.model.scelmo import scELMoModel
2
3# Load model
4model = scELMoModel.from_pretrained('scelmo-celltypes-gpt-3.5')
5
6# Use embeddings
7embeddings = model.predict_embeddings(adata, aggregation_mode='wa')1@article{liu2023scelmo,
2 title={scELMo: Embeddings from Language Models are Good Learners for Single-cell Data Analysis},
3 author={Liu, Tianyu and Chen, Tianqi and Zheng, Wangjie and Luo, Xiao and Zhao, Hongyu},
4 journal={Cell Patterns (in press)},
5 pages={2023--12},
6 year={2025},
7 publisher={Cell Press}
8}