-
Notifications
You must be signed in to change notification settings - Fork 0
/
submit_clustr_jobs.sh
45 lines (41 loc) · 1.86 KB
/
submit_clustr_jobs.sh
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#-
MODELS=( \
#-- Layer 0
# "output/embeds/BioBART_base.discharge.layer.0/" \
# "output/embeds/BioBART_large.discharge.layer.0/" \
# "output/embeds/BioBERT_base.discharge.layer.0/" \
# "output/embeds/BioBERT_large.discharge.layer.0/" \
# "output/embeds/BioGPT_base.discharge.layer.0/" \
# "output/embeds/BioGPT_large.discharge.layer.0/" \
# "output/embeds/BioMegatron_base.discharge.layer.0/" \
# "output/embeds/Bio_ClinicalBERT.discharge.layer.0/" \
# "output/embeds/Gatortron_base.discharge.layer.0/" \
# "output/embeds/Gatortron_s.discharge.layer.0/" \
# "output/embeds/Gatortron_medium.discharge.layer.0/" \
# "output/embeds/RadBERT_2m.discharge.layer.0/" \
# "output/embeds/RadBERT_4m.discharge.layer.0/" \
#-- Layer 1
"output/embeds/BioBART_base.discharge.layer.1/" \
"output/embeds/BioBART_large.discharge.layer.1/" \
"output/embeds/BioBERT_base.discharge.layer.1/" \
"output/embeds/BioBERT_large.discharge.layer.1/" \
"output/embeds/BioGPT_base.discharge.layer.1/" \
"output/embeds/BioGPT_large.discharge.layer.1/" \
"output/embeds/BioMegatron_base.discharge.layer.1/" \
"output/embeds/Bio_ClinicalBERT.discharge.layer.1/" \
"output/embeds/Gatortron_base.discharge.layer.1/" \
"output/embeds/Gatortron_s.discharge.layer.1/" \
"output/embeds/Gatortron_medium.discharge.layer.1/" \
"output/embeds/RadBERT_2m.discharge.layer.1/" \
# "output/embeds/RadBERT_4m.discharge.layer.1/" \
)
#- KMeans Clustering Jobs
for i in {0..11}
do
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 32
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 64
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 128
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 256
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 512
sbatch slurm/0002_clustr_MIMICIV_records.slurm ${MODELS[$i]} 1024
done