-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathparams.yaml
More file actions
25 lines (21 loc) · 694 Bytes
/
Copy pathparams.yaml
File metadata and controls
25 lines (21 loc) · 694 Bytes
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
TrainingArguments:
num_train_epochs: 1
warmup_steps: 100
per_device_train_batch_size: 1
weight_decay: 0.01
logging_steps: 5
evaluation_strategy: "no"
# eval_steps: 500
save_steps: 1e6
gradient_accumulation_steps: 4
# output_dir=self.config.root_dir,
# num_train_epochs=1,
# warmup_steps=100,
# per_device_train_batch_size=1,
# per_device_eval_batch_size=1,
# weight_decay=0.01,
# logging_steps=5,
# evaluation_strategy="no", # no evaluation for now
# save_steps=1e6,
# gradient_accumulation_steps=4,
# fp16=True if torch.cuda.is_available() else False