forked from VOR-Quantitative-Biology/scGenAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig_random_context_GSE181989BW_random_context.yaml
29 lines (23 loc) · 1.25 KB
/
config_random_context_GSE181989BW_random_context.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Mode
mode: "Train"
# Directories
cache_dir: "/home/ubuntu/scgenai/examples/tmp/cache" ## cache dir to save the model template files
model_dir: "/home/ubuntu/fulldataset/model/GSE181989BW_random_context/" ## output model dir
log_dir: "/home/ubuntu/scgenai/examples/logs/"
#### Input data files 40 cells toy data ####
train_file: "/home/ubuntu/fulldataset/GSE181989_train.h5ad"
val_file: "/home/ubuntu/fulldataset/GSE181989_val.h5ad" ## Optional
########################################### General setting ####################################################
savelog: "Yes"
target_feature: "ct" # Target name for prediction
num_bins: 10 # Bins for gene expression discretization
########## Model template and context method setting #########
model_backbone_name: "llama" ### "llama", "gpt", "bigbird", "scgent"
model_backbone_size: "small" ### "small", "normal", "large". Suggest "small" for llama
max_length: 5120
context_method: "random"
########################################### Other settings ####################################################
min_cells: 50 # suggest 50
batch_size: 1 # set this based on GPU memory, higher batch_size higher training speed, but also much more GPU memory will be used
learning_rate: 1e-5 # suggest 1e-5
num_epochs: 30 # suggest 30