File size: 3,829 Bytes
b24d548
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_metric": 0.7086017430845017,
  "best_model_checkpoint": "logs/ecthr_a/MHGanainy/xmod-roberta-base-legal-multi/seed_1/checkpoint-1128",
  "epoch": 7.0,
  "eval_steps": 500,
  "global_step": 1974,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 1.0,
      "eval_loss": 0.18291330337524414,
      "eval_macro-f1": 0.5518037204425776,
      "eval_micro-f1": 0.677207867335133,
      "eval_runtime": 9.4627,
      "eval_samples_per_second": 105.679,
      "eval_steps_per_second": 3.382,
      "step": 282
    },
    {
      "epoch": 1.773049645390071,
      "grad_norm": 1.2761306762695312,
      "learning_rate": 2.7340425531914897e-05,
      "loss": 0.1547,
      "step": 500
    },
    {
      "epoch": 2.0,
      "eval_loss": 0.1642679125070572,
      "eval_macro-f1": 0.5832870401688298,
      "eval_micro-f1": 0.6849209409949865,
      "eval_runtime": 10.2302,
      "eval_samples_per_second": 97.75,
      "eval_steps_per_second": 3.128,
      "step": 564
    },
    {
      "epoch": 3.0,
      "eval_loss": 0.18205788731575012,
      "eval_macro-f1": 0.605599290957237,
      "eval_micro-f1": 0.6864124398370973,
      "eval_runtime": 9.5057,
      "eval_samples_per_second": 105.2,
      "eval_steps_per_second": 3.366,
      "step": 846
    },
    {
      "epoch": 3.546099290780142,
      "grad_norm": 1.2056403160095215,
      "learning_rate": 2.4680851063829786e-05,
      "loss": 0.1031,
      "step": 1000
    },
    {
      "epoch": 4.0,
      "eval_loss": 0.17138700187206268,
      "eval_macro-f1": 0.6431822683616067,
      "eval_micro-f1": 0.7086017430845017,
      "eval_runtime": 9.3996,
      "eval_samples_per_second": 106.388,
      "eval_steps_per_second": 3.404,
      "step": 1128
    },
    {
      "epoch": 5.0,
      "eval_loss": 0.1661965399980545,
      "eval_macro-f1": 0.6357063441749147,
      "eval_micro-f1": 0.6957854406130268,
      "eval_runtime": 9.0902,
      "eval_samples_per_second": 110.009,
      "eval_steps_per_second": 3.52,
      "step": 1410
    },
    {
      "epoch": 5.319148936170213,
      "grad_norm": 1.897348403930664,
      "learning_rate": 2.2021276595744682e-05,
      "loss": 0.0836,
      "step": 1500
    },
    {
      "epoch": 6.0,
      "eval_loss": 0.18352459371089935,
      "eval_macro-f1": 0.6308890190522723,
      "eval_micro-f1": 0.6896046852122987,
      "eval_runtime": 10.0959,
      "eval_samples_per_second": 99.05,
      "eval_steps_per_second": 3.17,
      "step": 1692
    },
    {
      "epoch": 7.0,
      "eval_loss": 0.22320151329040527,
      "eval_macro-f1": 0.6305744474515731,
      "eval_micro-f1": 0.6835172659309363,
      "eval_runtime": 9.9878,
      "eval_samples_per_second": 100.122,
      "eval_steps_per_second": 3.204,
      "step": 1974
    },
    {
      "epoch": 7.0,
      "step": 1974,
      "total_flos": 3.9803472298849075e+17,
      "train_loss": 0.10179799571708827,
      "train_runtime": 1296.3583,
      "train_samples_per_second": 138.851,
      "train_steps_per_second": 4.351
    }
  ],
  "logging_steps": 500,
  "max_steps": 5640,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 20,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 3,
        "early_stopping_threshold": 0.0
      },
      "attributes": {
        "early_stopping_patience_counter": 0
      }
    },
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 3.9803472298849075e+17,
  "train_batch_size": 16,
  "trial_name": null,
  "trial_params": null
}