Skip to content

Commit

Permalink
Update job commands to sweep cls_token and ordinal_mode boolean c…
Browse files Browse the repository at this point in the history
…fg options
  • Loading branch information
nathanpainchaud committed Jul 2, 2024
1 parent 62f7335 commit 1c885c7
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions didactic/scripts/experiments.sh
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
# xtab-finetune
# tabular data only
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-xtab-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=xtab-finetune trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=True,False task.ordinal_mode=True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/xtab-finetune,data=tabular-only.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-xtab-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=xtab-finetune trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=False,True,False task.ordinal_mode=False,True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/xtab-finetune,data=tabular-only.log 2>&1
# tabular + time-series data
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-xtab-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=8 +experiment=xtab-finetune trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=True,False task.ordinal_mode=True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/xtab-finetune,data=tabular+ts.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-xtab-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=8 +experiment=xtab-finetune trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=False,True,False task.ordinal_mode=False,True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/xtab-finetune,data=tabular+ts.log 2>&1

# bidirectional-xtab
# tabular + time-series data
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-bidirectional-xtab didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=8 +experiment=bidirectional-xtab trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=True,False task.ordinal_mode=True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/bidirectional-xtab,data=tabular+ts.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-bidirectional-xtab didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=8 +experiment=bidirectional-xtab trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=False,True,False task.ordinal_mode=False,True,False ckpt=$HOME/data/models/xtab/iter_2k_patch.ckpt '+trial=range(10)' >>$HOME/data/didactic/results/bidirectional-xtab,data=tabular+ts.log 2>&1

# random
# tabular data only
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-random didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=random trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=True task.ordinal_mode=True '+trial=range(10)' >>$HOME/data/didactic/results/random,data=tabular-only.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-random didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=random trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=False,True task.ordinal_mode=False,True '+trial=range(10)' >>$HOME/data/didactic/results/random,data=tabular-only.log 2>&1
# tabular + time-series data
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-random didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=random trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=True task.ordinal_mode=True '+trial=range(10)' >>$HOME/data/didactic/results/random,data=tabular+ts.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-random didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=random trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=False,True task.ordinal_mode=False,True '+trial=range(10)' >>$HOME/data/didactic/results/random,data=tabular+ts.log 2>&1

# pretrain
# tabular data only
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-pretrain didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=pretrain trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=True '+trial=range(10)' >>$HOME/data/didactic/results/pretrain,data=tabular-only.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-pretrain didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=pretrain trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=False,True '+trial=range(10)' >>$HOME/data/didactic/results/pretrain,data=tabular-only.log 2>&1
# tabular + time-series data
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-pretrain didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=pretrain trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=True '+trial=range(10)' >>$HOME/data/didactic/results/pretrain,data=tabular+ts.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-pretrain didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=pretrain trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=False,True '+trial=range(10)' >>$HOME/data/didactic/results/pretrain,data=tabular+ts.log 2>&1

# finetune
# tabular data only
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=finetune trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=True task.ordinal_mode=True '+trial=range(10)' 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/multirun/cardiac-multimodal-representation/pretrain/data=${hydra:runtime.choices.task/data}/encoder=cardinal-ft-transformer,cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}/+${trial}.ckpt' >>$HOME/data/didactic/results/finetune,data=tabular-only.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=finetune trainer.enable_progress_bar=False task/data=tab-selec,tab-no-echo-data,tab-all task.cls_token=False,True task.ordinal_mode=False,True '+trial=range(10)' 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/multirun/cardiac-multimodal-representation/pretrain/data=${hydra:runtime.choices.task/data}/encoder=cardinal-ft-transformer,cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}/+${trial}.ckpt' >>$HOME/data/didactic/results/finetune,data=tabular-only.log 2>&1
# tabular + time-series data
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=finetune trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=True task.ordinal_mode=True '+trial=range(10)' 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/multirun/cardiac-multimodal-representation/pretrain/data=${hydra:runtime.choices.task/data}/encoder=cardinal-ft-transformer,cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}/+${trial}.ckpt' >>$HOME/data/didactic/results/finetune,data=tabular+ts.log 2>&1
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-multimodal-representation COMET_PROJECT_NAME=didactic-finetune didactic-runner -m hydra/launcher=joblib hydra.launcher.n_jobs=10 +experiment=finetune trainer.enable_progress_bar=False task/data=tab-selec+ts,tab-no-echo-data+ts,tab-all+ts task/time_series_tokenizer/model=linear-embedding,transformer task.cls_token=False,True task.ordinal_mode=False,True '+trial=range(10)' 'ckpt=/home/local/USHERBROOKE/pain5474/data/didactic/multirun/cardiac-multimodal-representation/pretrain/data=${hydra:runtime.choices.task/data}/encoder=cardinal-ft-transformer,cross_blocks=${oc.select:task.model.encoder.n_bidirectional_blocks,0},time_series_tokenizer=${hydra:runtime.choices.task/time_series_tokenizer/model}/cls_token=${task.cls_token}/+${trial}.ckpt' >>$HOME/data/didactic/results/finetune,data=tabular+ts.log 2>&1

# records-xgb
CARDIAC_MULTIMODAL_REPR_PATH=/home/local/USHERBROOKE/pain5474/data/didactic/results/multirun/cardiac-records-stratification python ~/remote/didactic/didactic/tasks/cardiac_records_stratification.py -m hydra/launcher=joblib hydra.launcher.n_jobs=10 task/data=tab-selec,tab-no-echo-data,tab-all ~task.time_series_attrs task.target_attr=ht_severity '+trial=range(10)' >>$HOME/data/didactic/results/records-xgb.log 2>&1
Expand Down

0 comments on commit 1c885c7

Please sign in to comment.