-
Notifications
You must be signed in to change notification settings - Fork 1
/
mistral.sh
46 lines (42 loc) · 1.07 KB
/
mistral.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
45
46
python main.py \
data=stereoset \
model=mistral_last12 \
editor=malmen \
data.n_edits=64 \
data.batch_size=16 \
model_device=cuda:0 \
editor_device=cuda:1 \
early_stop_patience=5
python main.py \
data=stereoset \
model=mistral_last12 \
editor=malmen \
data.n_edits=64 \
data.batch_size=16 \
model_device=cuda:0 \
editor_device=cuda:1 \
editor.load_checkpoint=True \
eval_only=True \
data.valid_path=dataset/stereoset/gender_test.json
python main.py \
data=stereoset \
model=mistral_last12 \
editor=malmen \
data.n_edits=64 \
data.batch_size=16 \
model_device=cuda:0 \
editor_device=cuda:1 \
editor.load_checkpoint=True \
eval_only=True \
data.valid_path=dataset/stereoset/race_test.json
python main.py \
data=stereoset \
model=mistral_last12 \
editor=malmen \
data.n_edits=64 \
data.batch_size=16 \
model_device=cuda:0 \
editor_device=cuda:1 \
editor.load_checkpoint=True \
eval_only=True \
data.valid_path=dataset/stereoset/religion_test.json