Views
No views yet
model_checkpoint.pt — target-encoder weights (inference)model_config.yaml — model / tokenization configtoken_dictionary.pkl — gene-token vocabularyensembl_dictionary.pkl — gene-name to Ensembl-ID mapping (harmonization)gene_count_dictionary.pkl — gene occurrence counts (rare-gene filtering)1from app.huggingface import download_pretrained
2from app.inference import harmonize_tokenize_embed_pipeline
3
4d = download_pretrained("Lotfollahi-lab/TERRA-112M")
5adata = harmonize_tokenize_embed_pipeline(
6 adata=adata,
7 model_folder_path=d, # gene-reference files auto-resolved from here
8 # ... sample_key / batch_key / etc.
9)