ds_config_func_scheduler.json 533 Bytes
Newer Older
Elton Zheng's avatar
Elton Zheng committed
1
2
3
4
{
  "train_batch_size": 4,
  "gradient_accumulation_steps": 1,
  "steps_per_print": 1,
Jeff Rasley's avatar
Jeff Rasley committed
5
6
7
  "zero_optimization": {
    "stage":2
  },
Elton Zheng's avatar
Elton Zheng committed
8
9
10
  "optimizer": {
    "type": "Adam",
    "params": {
11
      "lr": 0.00015
Elton Zheng's avatar
Elton Zheng committed
12
13
    }
  },
14
  "gradient_clipping": 1.0,
Elton Zheng's avatar
Elton Zheng committed
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
  "scheduler": {
    "type": "WarmupLR",
    "params": {
      "warmup_min_lr": 0,
      "warmup_max_lr": 0.001,
      "warmup_num_steps": 10
    }
  },

  "fp16": {
    "enabled": true,
    "loss_scale": 0,
    "loss_scale_window": 1000,
    "hysteresis": 2,
    "min_loss_scale": 1
  }
}