forked from VOR-Quantitative-Biology/scGenAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_Train_random_context_template_llama.yaml
29 lines (23 loc) · 1.17 KB
/
config_Train_random_context_template_llama.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: "/path_to_your_cache_dir/cache" ## cache dir to save the model template files
model_dir: "/path_to_your_output_model_dir/" ## output model dir
log_dir: "/path_to_your_log_dir/logs/"
#### Input data files ####
train_file: "/path_to_your_trainfile/train.h5ad"
val_file: "/path_to_your_valfile/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