File size: 3,135 Bytes
e5e0a97
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "eval_source": "calibration_slice",
  "eval_mode": "in_sample_calibration",
  "is_held_out": false,
  "eval_items": 400,
  "note": "Metrics reflect in-sample calibration fit, not independent held-out evaluation. Provide --eval for held-out validation.",
  "before": {
    "items": 400,
    "loss": 0.3867,
    "accuracy": 0.9125,
    "mean_confidence": 0.9287,
    "ece": 0.0295,
    "brier": 0.1426,
    "brier_top1": 0.0775,
    "by_type": {
      "choice": {
        "items": 138,
        "loss": 0.3404,
        "accuracy": 0.9565,
        "mean_confidence": 0.9087,
        "ece": 0.0594,
        "brier": 0.0669,
        "brier_top1": 0.0384
      },
      "noul": {
        "items": 262,
        "loss": 0.4111,
        "accuracy": 0.8893,
        "mean_confidence": 0.9392,
        "ece": 0.0578,
        "brier": 0.1824,
        "brier_top1": 0.0982
      }
    }
  },
  "after": {
    "items": 400,
    "loss": 0.2169,
    "accuracy": 0.98,
    "mean_confidence": 0.9495,
    "ece": 0.0375,
    "brier": 0.0377,
    "brier_top1": 0.0224,
    "by_type": {
      "choice": {
        "items": 138,
        "loss": 0.299,
        "accuracy": 0.9783,
        "mean_confidence": 0.9341,
        "ece": 0.0542,
        "brier": 0.0466,
        "brier_top1": 0.0291
      },
      "noul": {
        "items": 262,
        "loss": 0.1737,
        "accuracy": 0.9809,
        "mean_confidence": 0.9577,
        "ece": 0.0286,
        "brier": 0.033,
        "brier_top1": 0.0188
      }
    }
  },
  "comparison": {
    "delta_accuracy": 0.0675,
    "delta_loss": -0.1698,
    "delta_ece": 0.008,
    "delta_brier": -0.1049,
    "delta_brier_top1": -0.0551,
    "delta_mean_confidence": 0.0208
  },
  "calibration": {
    "choice": {
      "items": 138,
      "temperature": 1.128664493560791,
      "issues": [],
      "accuracy": 0.9782608695652174,
      "mean_confidence": 0.9341198336432255
    },
    "score": {
      "items": 0,
      "temperature": 1.0,
      "issues": []
    },
    "noul": {
      "items": 262,
      "temperature": 1.1944787502288818,
      "issues": [],
      "accuracy": 0.9809160305343512,
      "mean_confidence": 0.9576678015444002
    }
  },
  "abstention_thresholds": {
    "choice:6-10": 0.9245,
    "noul:2": 0.7763,
    "choice:3-5": 0.2842
  },
  "training": {
    "epochs": 2,
    "micro_batch": 8,
    "grad_accum": 4,
    "encoder_lr": 2.5e-05,
    "head_lr": 0.0001,
    "min_lr": 1e-06,
    "weight_decay": 0.01,
    "grad_clip": 1.0,
    "loss": "rlcd",
    "rl_samples": 4,
    "sigma_start": 0.4,
    "sigma_end": 0.1,
    "w_sph": 0.75,
    "w_rps": 1.0,
    "shuffle_options": [
      "choice"
    ],
    "option_layout": null,
    "freeze_encoder": false,
    "calib_max": 400,
    "calib_frac": 0.1,
    "calib_seed": 20260922,
    "seed": 0,
    "max_len": null,
    "head_max_len": null,
    "amp": null,
    "gradient_checkpointing": null,
    "log_every": 100,
    "label_smoothing": 0.05,
    "text_column": "text",
    "label_column": "label",
    "question_id": "label",
    "instructions": null,
    "eval_data": null,
    "target_error": 0.1,
    "min_abstain_n": 10
  }
}