File size: 3,393 Bytes
8eb9a30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
{
  "best_metric": 0.975,
  "best_model_checkpoint": "Swin-Transformer-Pro-Passport-Orientation-Classifier/checkpoint-70",
  "epoch": 4.701754385964913,
  "eval_steps": 500,
  "global_step": 70,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.7017543859649122,
      "grad_norm": 18.05853843688965,
      "learning_rate": 4.761904761904762e-05,
      "loss": 5.0594,
      "step": 10
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.745,
      "eval_loss": 0.6023613810539246,
      "eval_runtime": 106.6771,
      "eval_samples_per_second": 1.875,
      "eval_steps_per_second": 0.066,
      "step": 15
    },
    {
      "epoch": 1.3508771929824561,
      "grad_norm": 20.55156707763672,
      "learning_rate": 3.968253968253968e-05,
      "loss": 2.7384,
      "step": 20
    },
    {
      "epoch": 2.0,
      "grad_norm": 13.169713973999023,
      "learning_rate": 3.1746031746031745e-05,
      "loss": 2.0855,
      "step": 30
    },
    {
      "epoch": 2.0,
      "eval_accuracy": 0.89,
      "eval_loss": 0.3376832604408264,
      "eval_runtime": 13.4877,
      "eval_samples_per_second": 14.828,
      "eval_steps_per_second": 0.519,
      "step": 30
    },
    {
      "epoch": 2.7017543859649122,
      "grad_norm": 16.93358039855957,
      "learning_rate": 2.380952380952381e-05,
      "loss": 1.7551,
      "step": 40
    },
    {
      "epoch": 3.0,
      "eval_accuracy": 0.94,
      "eval_loss": 0.17310231924057007,
      "eval_runtime": 13.5804,
      "eval_samples_per_second": 14.727,
      "eval_steps_per_second": 0.515,
      "step": 45
    },
    {
      "epoch": 3.3508771929824563,
      "grad_norm": 14.565256118774414,
      "learning_rate": 1.5873015873015872e-05,
      "loss": 1.1734,
      "step": 50
    },
    {
      "epoch": 4.0,
      "grad_norm": 23.54315185546875,
      "learning_rate": 7.936507936507936e-06,
      "loss": 1.0192,
      "step": 60
    },
    {
      "epoch": 4.0,
      "eval_accuracy": 0.97,
      "eval_loss": 0.10304895043373108,
      "eval_runtime": 13.5715,
      "eval_samples_per_second": 14.737,
      "eval_steps_per_second": 0.516,
      "step": 60
    },
    {
      "epoch": 4.701754385964913,
      "grad_norm": 13.321975708007812,
      "learning_rate": 0.0,
      "loss": 0.9583,
      "step": 70
    },
    {
      "epoch": 4.701754385964913,
      "eval_accuracy": 0.975,
      "eval_loss": 0.0948040708899498,
      "eval_runtime": 14.111,
      "eval_samples_per_second": 14.173,
      "eval_steps_per_second": 0.496,
      "step": 70
    },
    {
      "epoch": 4.701754385964913,
      "step": 70,
      "total_flos": 2.107905659338752e+17,
      "train_loss": 2.1127685138157437,
      "train_runtime": 1664.7726,
      "train_samples_per_second": 5.406,
      "train_steps_per_second": 0.042
    }
  ],
  "logging_steps": 10,
  "max_steps": 70,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 5,
  "save_steps": 500,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 2.107905659338752e+17,
  "train_batch_size": 32,
  "trial_name": null,
  "trial_params": null
}