File size: 3,039 Bytes
8589347
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "best_global_step": 500,
  "best_metric": 0.7222001215424422,
  "best_model_checkpoint": "./results/run-3/checkpoint-500",
  "epoch": 1.0,
  "eval_steps": 500,
  "global_step": 500,
  "is_hyper_param_search": true,
  "is_local_process_zero": true,
  "is_world_process_zero": true,
  "log_history": [
    {
      "epoch": 0.2,
      "grad_norm": 0.3840266466140747,
      "learning_rate": 5.623773985869002e-05,
      "loss": 0.4015,
      "step": 100
    },
    {
      "epoch": 0.4,
      "grad_norm": 36.44963455200195,
      "learning_rate": 6.805455705058522e-05,
      "loss": 0.0,
      "step": 200
    },
    {
      "epoch": 0.6,
      "grad_norm": 0.6683640480041504,
      "learning_rate": 6.718217457333122e-05,
      "loss": 0.0,
      "step": 300
    },
    {
      "epoch": 0.8,
      "grad_norm": 0.7861915230751038,
      "learning_rate": 6.630979209607721e-05,
      "loss": 0.1644,
      "step": 400
    },
    {
      "epoch": 1.0,
      "grad_norm": 2.053349256515503,
      "learning_rate": 6.54374096188232e-05,
      "loss": 0.0025,
      "step": 500
    },
    {
      "epoch": 1.0,
      "eval_economic_inequality_accuracy": 0.7770780856423174,
      "eval_economic_inequality_f1": 0.6795991195482776,
      "eval_economic_policy_benefits_accuracy": 0.8215488215488216,
      "eval_economic_policy_benefits_f1": 0.7410643713786043,
      "eval_ethnic_boundaries_accuracy": 0.946078431372549,
      "eval_ethnic_boundaries_f1": 0.9198646713093299,
      "eval_language_policy_accuracy": 0.6764705882352942,
      "eval_language_policy_f1": 0.545923632610939,
      "eval_loss": NaN,
      "eval_mother_tongue_education_accuracy": 0.7777777777777778,
      "eval_mother_tongue_education_f1": 0.6805555555555556,
      "eval_overall_accuracy": 0.8064020197505432,
      "eval_overall_f1": 0.7222001215424422,
      "eval_religion_ethnic_identity_accuracy": 0.839458413926499,
      "eval_religion_ethnic_identity_f1": 0.7661933788519465,
      "eval_runtime": 4.4769,
      "eval_samples_per_second": 893.468,
      "eval_steps_per_second": 55.842,
      "step": 500
    }
  ],
  "logging_steps": 100,
  "max_steps": 8000,
  "num_input_tokens_seen": 0,
  "num_train_epochs": 16,
  "save_steps": 500,
  "stateful_callbacks": {
    "EarlyStoppingCallback": {
      "args": {
        "early_stopping_patience": 2,
        "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": 4210381651968000.0,
  "train_batch_size": 8,
  "trial_name": null,
  "trial_params": {
    "gradient_accumulation_steps": 4,
    "learning_rate": 6.873501538284335e-05,
    "num_train_epochs": 16,
    "per_device_train_batch_size": 8,
    "warmup_steps": 121,
    "weight_decay": 0.08748775333302956
  }
}