forked from MaksymDel/da
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmy_reminders.py
24 lines (19 loc) · 975 Bytes
/
my_reminders.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# srun --mem=190G -t 64:00:00 --pty bash
# module load python/3.6.3
# conda activate da2
#
# da: python scripts-clustering/kmeans_train.py nmt de-en sent 12
# da-doc: python scripts-clustering/kmeans_train.py nmt de-en doc 12
# da3: python scripts-clustering/kmeans_train.py bert de-en sent 12
# da4: python scripts-clustering/kmeans_train.py bert de-en doc 12
#
# da: python scripts-clustering/kmeans_predict.py nmt de-en sent 12
# da-doc: python scripts-clustering/kmeans_predict.py nmt de-en doc 12
# da3: python scripts-clustering/kmeans_predict.py bert de-en sent 12
# da4: python scripts-clustering/kmeans_predict.py bert de-en doc 12
# fairseq-generate data-bin/ --path chkp/checkpoint60.pt --sacrebleu --quiet --gen-subset valid
# GPU:
# srun -p gpu --gres gpu:tesla:1 --mem=30G -t 192:00:00 --pty bash
# srun --mem=70G -t 192:00:00 --pty bash
# python scripts-clustering/kmeans_train.py bert sent 8
# # python scripts-clustering/kmeans_train.py nmt sent 8