-
Notifications
You must be signed in to change notification settings - Fork 0
/
mat1.sh
21 lines (19 loc) · 1.02 KB
/
mat1.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
#SBATCH --nodes=1
#SBATCH --tasks-per-node=1
#SBATCH --cpus-per-task=4
#SBATCH --nodelist=sdf-cs1
#SBATCH --partition=standard
#SBATCH --time=24:00:00
# echo "Running on host ${HOSTNAME}"
# echo "Using ${SLURM_NTASKS_PER_NODE} tasks per node"
# echo "Using ${SLURM_CPUS_PER_TASK} tasks per cpu"
# twitter_short_sentiment
/home/y26/shared/matlab/R2022a/bin/matlab -nodisplay -r "clear;\
partial_supervision = false; partial_ratio = 0; run_kmeans = false; save_oracle = false;\
include_complex_Z = false; model_name = 'BertModel'; experiments_folder = 'biography_different_partial_n'; experiments = 'biography'; bias_name = 'gender';\
relative_path_to_project = '../../'; dataset_path = fullfile('data/', experiments_folder, model_name, 'all.mat');\
save_partial_n = true; save_assignment_method = true; save_path = fullfile(relative_path_to_project, 'data/projection_matrix/', experiments_folder, model_name);\
iter = 50; epoch_num = 5; N_max = 30000;\
k=2; biases_num = 1; biases_dim = [0, 2]; complex_index = [];\
main; exit"