File size: 2,097 Bytes
b83eb50
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_global_step": 210,
  "best_metric": 0.9937563684276723,
  "best_model_checkpoint": "/content/pubmedbert_telemedicine_model/checkpoint-210",
  "epoch": 1.0,
  "eval_steps": 500,
  "global_step": 210,
  "is_hyper_param_search": false,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.23809523809523808,
      "grad_norm": 6.141483783721924,
      "learning_rate": 1.9600000000000003e-06,
      "loss": 0.6913,
      "step": 50
    },
    {
      "epoch": 0.47619047619047616,
      "grad_norm": 5.5242719650268555,
      "learning_rate": 3.96e-06,
      "loss": 0.4234,
      "step": 100
    },
    {
      "epoch": 0.7142857142857143,
      "grad_norm": 7.910869598388672,
      "learning_rate": 5.9600000000000005e-06,
      "loss": 0.1772,
      "step": 150
    },
    {
      "epoch": 0.9523809523809523,
      "grad_norm": 0.15211565792560577,
      "learning_rate": 7.960000000000002e-06,
      "loss": 0.0432,
      "step": 200
    },
    {
      "epoch": 1.0,
      "eval_accuracy": 0.9937565036420395,
      "eval_f1": 0.9937563684276723,
      "eval_loss": 0.030338821932673454,
      "eval_precision": 0.993790669877271,
      "eval_recall": 0.9937565036420395,
      "eval_runtime": 1.735,
      "eval_samples_per_second": 553.887,
      "eval_steps_per_second": 35.158,
      "step": 210
    }
  ],
  "logging_steps": 50,
  "max_steps": 1050,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 5,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 1,
        "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": false
      },
      "attributes": {}
    }
  },
  "total_flos": 55236877184640.0,
  "train_batch_size": 16,
  "trial_name": null,
  "trial_params": null
}