File size: 3,282 Bytes
6bc03d4
fd377b1
 
 
 
 
6bc03d4
 
 
 
fd377b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6bc03d4
 
fd377b1
6bc03d4
fd377b1
6bc03d4
 
 
 
fd377b1
 
 
 
6bc03d4
 
 
fd377b1
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
6bc03d4
 
fd377b1
 
6bc03d4
fd377b1
 
6bc03d4
 
 
 
 
 
 
fd377b1
6bc03d4
 
 
 
 
 
 
 
 
 
 
 
 
fd377b1
6bc03d4
 
 
 
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
{
  "best_metric": 0.11598550528287888,
  "best_model_checkpoint": "./HFTB-SmolLM2-135M-Instruct-OTCMedicinePHv2\\checkpoint-250",
  "epoch": 9.70873786407767,
  "eval_steps": 50,
  "global_step": 250,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 1.941747572815534,
      "grad_norm": 0.35462793707847595,
      "learning_rate": 0.0005,
      "loss": 0.8189,
      "step": 50
    },
    {
      "epoch": 1.941747572815534,
      "eval_loss": 0.16038869321346283,
      "eval_runtime": 13.1355,
      "eval_samples_per_second": 40.349,
      "eval_steps_per_second": 5.101,
      "step": 50
    },
    {
      "epoch": 3.883495145631068,
      "grad_norm": 0.2993379235267639,
      "learning_rate": 0.0005,
      "loss": 0.1464,
      "step": 100
    },
    {
      "epoch": 3.883495145631068,
      "eval_loss": 0.12895184755325317,
      "eval_runtime": 12.8791,
      "eval_samples_per_second": 41.152,
      "eval_steps_per_second": 5.202,
      "step": 100
    },
    {
      "epoch": 5.825242718446602,
      "grad_norm": 0.14636453986167908,
      "learning_rate": 0.0005,
      "loss": 0.127,
      "step": 150
    },
    {
      "epoch": 5.825242718446602,
      "eval_loss": 0.12111850827932358,
      "eval_runtime": 12.7129,
      "eval_samples_per_second": 41.69,
      "eval_steps_per_second": 5.27,
      "step": 150
    },
    {
      "epoch": 7.766990291262136,
      "grad_norm": 0.1845141053199768,
      "learning_rate": 0.0005,
      "loss": 0.1212,
      "step": 200
    },
    {
      "epoch": 7.766990291262136,
      "eval_loss": 0.11958930641412735,
      "eval_runtime": 14.1475,
      "eval_samples_per_second": 37.463,
      "eval_steps_per_second": 4.736,
      "step": 200
    },
    {
      "epoch": 9.70873786407767,
      "grad_norm": 0.14870111644268036,
      "learning_rate": 0.0005,
      "loss": 0.1183,
      "step": 250
    },
    {
      "epoch": 9.70873786407767,
      "eval_loss": 0.11598550528287888,
      "eval_runtime": 13.0644,
      "eval_samples_per_second": 40.568,
      "eval_steps_per_second": 5.128,
      "step": 250
    },
    {
      "epoch": 9.70873786407767,
      "step": 250,
      "total_flos": 634548176930304.0,
      "train_loss": 0.2663491096496582,
      "train_runtime": 2216.0805,
      "train_samples_per_second": 21.66,
      "train_steps_per_second": 0.451
    }
  ],
  "logging_steps": 50,
  "max_steps": 1000,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 40,
  "save_steps": 50,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 3,
        "early_stopping_threshold": 0.01
      },
      "attributes": {
        "early_stopping_patience_counter": 3
      }
    },
    "TrainerControl": {
      "args": {
        "should_epoch_stop": false,
        "should_evaluate": false,
        "should_log": false,
        "should_save": true,
        "should_training_stop": true
      },
      "attributes": {}
    }
  },
  "total_flos": 634548176930304.0,
  "train_batch_size": 4,
  "trial_name": null,
  "trial_params": null
}