File size: 5,172 Bytes
3e67234
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
{
  "best_metric": null,
  "best_model_checkpoint": null,
  "epoch": 3.0,
  "eval_steps": 500,
  "global_step": 84,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.35714285714285715,
      "grad_norm": 16.365549600718158,
      "learning_rate": 9e-06,
      "logits/chosen": 0.43800339102745056,
      "logits/rejected": 0.4281293749809265,
      "logps/chosen": -324.7308349609375,
      "logps/rejected": -337.3280029296875,
      "loss": 0.6876,
      "rewards/accuracies": 0.4374999701976776,
      "rewards/chosen": 0.009319745004177094,
      "rewards/margins": 0.012683698907494545,
      "rewards/rejected": -0.0033639525063335896,
      "step": 10
    },
    {
      "epoch": 0.7142857142857143,
      "grad_norm": 6.549199651973184,
      "learning_rate": 8.64047538607195e-06,
      "logits/chosen": 0.4200649559497833,
      "logits/rejected": 0.41489219665527344,
      "logps/chosen": -321.9690246582031,
      "logps/rejected": -355.4017639160156,
      "loss": 0.6962,
      "rewards/accuracies": 0.48125001788139343,
      "rewards/chosen": 0.034620046615600586,
      "rewards/margins": -0.00358342076651752,
      "rewards/rejected": 0.038203466683626175,
      "step": 20
    },
    {
      "epoch": 1.0714285714285714,
      "grad_norm": 7.086531400587909,
      "learning_rate": 7.62573262972983e-06,
      "logits/chosen": 0.4370676875114441,
      "logits/rejected": 0.4306566119194031,
      "logps/chosen": -315.1405944824219,
      "logps/rejected": -343.5477600097656,
      "loss": 0.6646,
      "rewards/accuracies": 0.6187500357627869,
      "rewards/chosen": 0.1420479416847229,
      "rewards/margins": 0.06437937170267105,
      "rewards/rejected": 0.07766857743263245,
      "step": 30
    },
    {
      "epoch": 1.4285714285714286,
      "grad_norm": 5.431551347783104,
      "learning_rate": 6.135932223670029e-06,
      "logits/chosen": 0.4090261161327362,
      "logits/rejected": 0.40613797307014465,
      "logps/chosen": -317.56817626953125,
      "logps/rejected": -354.5175476074219,
      "loss": 0.5202,
      "rewards/accuracies": 0.96875,
      "rewards/chosen": 0.44594669342041016,
      "rewards/margins": 0.39714840054512024,
      "rewards/rejected": 0.04879830405116081,
      "step": 40
    },
    {
      "epoch": 1.7857142857142856,
      "grad_norm": 5.871421809973983,
      "learning_rate": 4.4355778300251406e-06,
      "logits/chosen": 0.4284099042415619,
      "logits/rejected": 0.4222380816936493,
      "logps/chosen": -319.2432861328125,
      "logps/rejected": -343.3741760253906,
      "loss": 0.4481,
      "rewards/accuracies": 0.9124999642372131,
      "rewards/chosen": 0.6467863321304321,
      "rewards/margins": 0.6407225131988525,
      "rewards/rejected": 0.0060638319700956345,
      "step": 50
    },
    {
      "epoch": 2.142857142857143,
      "grad_norm": 5.194288258129358,
      "learning_rate": 2.8265555015932123e-06,
      "logits/chosen": 0.4114301800727844,
      "logits/rejected": 0.4095650017261505,
      "logps/chosen": -312.0003662109375,
      "logps/rejected": -348.30206298828125,
      "loss": 0.3622,
      "rewards/accuracies": 0.96875,
      "rewards/chosen": 0.7869285345077515,
      "rewards/margins": 0.9796440601348877,
      "rewards/rejected": -0.19271555542945862,
      "step": 60
    },
    {
      "epoch": 2.5,
      "grad_norm": 3.569068921757812,
      "learning_rate": 1.5945359205624398e-06,
      "logits/chosen": 0.4047119617462158,
      "logits/rejected": 0.4038873612880707,
      "logps/chosen": -307.7536926269531,
      "logps/rejected": -354.0033264160156,
      "loss": 0.2611,
      "rewards/accuracies": 1.0,
      "rewards/chosen": 1.0587913990020752,
      "rewards/margins": 1.4121346473693848,
      "rewards/rejected": -0.35334333777427673,
      "step": 70
    },
    {
      "epoch": 2.857142857142857,
      "grad_norm": 4.489026775368698,
      "learning_rate": 9.58255563091781e-07,
      "logits/chosen": 0.3864372968673706,
      "logits/rejected": 0.3842785954475403,
      "logps/chosen": -312.03338623046875,
      "logps/rejected": -350.1846923828125,
      "loss": 0.2398,
      "rewards/accuracies": 0.9937499761581421,
      "rewards/chosen": 1.117773413658142,
      "rewards/margins": 1.5565866231918335,
      "rewards/rejected": -0.43881309032440186,
      "step": 80
    },
    {
      "epoch": 3.0,
      "step": 84,
      "total_flos": 216736934658048.0,
      "train_loss": 0.47654047750291373,
      "train_runtime": 2544.5527,
      "train_samples_per_second": 0.519,
      "train_steps_per_second": 0.033
    }
  ],
  "logging_steps": 10,
  "max_steps": 84,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 3,
  "save_steps": 115,
  "stateful_callbacks": {
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 216736934658048.0,
  "train_batch_size": 2,
  "trial_name": null,
  "trial_params": null
}