ks-ang commited on
Commit
4bbab1b
·
verified ·
1 Parent(s): 2ac0739

PyTorch checkpoint (Von SDK layout): fine-tuned option_marker.pt, base backbone, calibration, train_meta

Browse files
checkpoint/config.json ADDED
@@ -0,0 +1,366 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "ModernBertModel"
4
+ ],
5
+ "attention_bias": false,
6
+ "attention_dropout": 0.0,
7
+ "bos_token_id": 50281,
8
+ "classifier_activation": "gelu",
9
+ "classifier_bias": false,
10
+ "classifier_dropout": 0.0,
11
+ "classifier_pooling": "mean",
12
+ "classifiers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 2,
141
+ 2,
142
+ 3,
143
+ 3,
144
+ 3,
145
+ 2,
146
+ 3
147
+ ],
148
+ "cls_token_id": 50281,
149
+ "decoder_bias": true,
150
+ "deterministic_flash_attn": false,
151
+ "dtype": "float32",
152
+ "embedding_dropout": 0.0,
153
+ "eos_token_id": 50282,
154
+ "global_attn_every_n_layers": 3,
155
+ "gradient_checkpointing": false,
156
+ "hidden_activation": "gelu",
157
+ "hidden_size": 1024,
158
+ "id2label": {
159
+ "0": "entailment",
160
+ "1": "neutral",
161
+ "2": "contradiction"
162
+ },
163
+ "initializer_cutoff_factor": 2.0,
164
+ "initializer_range": 0.02,
165
+ "intermediate_size": 2624,
166
+ "label2id": {
167
+ "contradiction": 2,
168
+ "entailment": 0,
169
+ "neutral": 1
170
+ },
171
+ "layer_norm_eps": 1e-05,
172
+ "layer_types": [
173
+ "full_attention",
174
+ "sliding_attention",
175
+ "sliding_attention",
176
+ "full_attention",
177
+ "sliding_attention",
178
+ "sliding_attention",
179
+ "full_attention",
180
+ "sliding_attention",
181
+ "sliding_attention",
182
+ "full_attention",
183
+ "sliding_attention",
184
+ "sliding_attention",
185
+ "full_attention",
186
+ "sliding_attention",
187
+ "sliding_attention",
188
+ "full_attention",
189
+ "sliding_attention",
190
+ "sliding_attention",
191
+ "full_attention",
192
+ "sliding_attention",
193
+ "sliding_attention",
194
+ "full_attention",
195
+ "sliding_attention",
196
+ "sliding_attention",
197
+ "full_attention",
198
+ "sliding_attention",
199
+ "sliding_attention",
200
+ "full_attention"
201
+ ],
202
+ "local_attention": 128,
203
+ "max_position_embeddings": 8192,
204
+ "mlp_bias": false,
205
+ "mlp_dropout": 0.0,
206
+ "model_type": "modernbert",
207
+ "norm_bias": false,
208
+ "norm_eps": 1e-05,
209
+ "num_attention_heads": 16,
210
+ "num_hidden_layers": 28,
211
+ "pad_token_id": 50283,
212
+ "position_embedding_type": "absolute",
213
+ "problem_type": "single_label_classification",
214
+ "rope_parameters": {
215
+ "full_attention": {
216
+ "rope_theta": 160000.0,
217
+ "rope_type": "default"
218
+ },
219
+ "sliding_attention": {
220
+ "rope_theta": 10000.0,
221
+ "rope_type": "default"
222
+ }
223
+ },
224
+ "sep_token_id": 50282,
225
+ "sparse_pred_ignore_index": -100,
226
+ "sparse_prediction": false,
227
+ "tasks": [
228
+ "glue/mnli",
229
+ "glue/qnli",
230
+ "glue/rte",
231
+ "glue/wnli",
232
+ "glue/mrpc",
233
+ "glue/qqp",
234
+ "glue/stsb",
235
+ "super_glue/boolq",
236
+ "super_glue/cb",
237
+ "super_glue/multirc",
238
+ "super_glue/wic",
239
+ "super_glue/axg",
240
+ "anli/a1",
241
+ "anli/a2",
242
+ "anli/a3",
243
+ "sick/label",
244
+ "sick/entailment_AB",
245
+ "snli",
246
+ "scitail/snli_format",
247
+ "hans",
248
+ "WANLI",
249
+ "recast/recast_ner",
250
+ "recast/recast_sentiment",
251
+ "recast/recast_verbnet",
252
+ "recast/recast_megaveridicality",
253
+ "recast/recast_verbcorner",
254
+ "recast/recast_kg_relations",
255
+ "recast/recast_factuality",
256
+ "recast/recast_puns",
257
+ "probability_words_nli/reasoning_1hop",
258
+ "probability_words_nli/usnli",
259
+ "probability_words_nli/reasoning_2hop",
260
+ "nan-nli",
261
+ "nli_fever",
262
+ "breaking_nli",
263
+ "conj_nli",
264
+ "fracas",
265
+ "dialogue_nli",
266
+ "mpe",
267
+ "dnc",
268
+ "recast_white/fnplus",
269
+ "recast_white/sprl",
270
+ "recast_white/dpr",
271
+ "robust_nli/IS_CS",
272
+ "robust_nli/LI_LI",
273
+ "robust_nli/ST_WO",
274
+ "robust_nli/PI_SP",
275
+ "robust_nli/PI_CD",
276
+ "robust_nli/ST_SE",
277
+ "robust_nli/ST_NE",
278
+ "robust_nli/ST_LM",
279
+ "robust_nli_is_sd",
280
+ "robust_nli_li_ts",
281
+ "add_one_rte",
282
+ "paws/labeled_final",
283
+ "glue/cola",
284
+ "glue/sst2",
285
+ "pragmeval/pdtb",
286
+ "lex_glue/eurlex",
287
+ "lex_glue/scotus",
288
+ "lex_glue/ledgar",
289
+ "lex_glue/unfair_tos",
290
+ "dynasent/dynabench.dynasent.r1.all/r1",
291
+ "dynasent/dynabench.dynasent.r2.all/r2",
292
+ "cycic_classification",
293
+ "lingnli",
294
+ "monotonicity-entailment",
295
+ "scinli",
296
+ "naturallogic",
297
+ "dynahate",
298
+ "syntactic-augmentation-nli",
299
+ "autotnli",
300
+ "defeasible-nli/atomic",
301
+ "defeasible-nli/snli",
302
+ "help-nli",
303
+ "nli-veridicality-transitivity",
304
+ "lonli",
305
+ "dadc-limit-nli",
306
+ "folio",
307
+ "tomi-nli",
308
+ "puzzte",
309
+ "temporal-nli",
310
+ "counterfactually-augmented-snli",
311
+ "cnli",
312
+ "boolq-natural-perturbations",
313
+ "equate",
314
+ "chaos-mnli-ambiguity",
315
+ "logiqa-2.0-nli",
316
+ "mindgames",
317
+ "ConTRoL-nli",
318
+ "logical-fallacy",
319
+ "cladder",
320
+ "conceptrules_v2",
321
+ "zero-shot-label-nli",
322
+ "scone",
323
+ "monli",
324
+ "SpaceNLI",
325
+ "propsegment/nli",
326
+ "FLD.v2/default",
327
+ "FLD.v2/star",
328
+ "SDOH-NLI",
329
+ "scifact_entailment",
330
+ "feasibilityQA",
331
+ "AdjectiveScaleProbe-nli",
332
+ "resnli",
333
+ "semantic_fragments_nli",
334
+ "dataset_train_nli",
335
+ "nlgraph",
336
+ "ruletaker",
337
+ "PARARULE-Plus",
338
+ "logical-entailment",
339
+ "nope",
340
+ "LogicNLI",
341
+ "contract-nli/contractnli_a/seg",
342
+ "contract-nli/contractnli_b/full",
343
+ "nli4ct_semeval2024",
344
+ "biosift-nli",
345
+ "SIGA-nli",
346
+ "FOL-nli",
347
+ "doc-nli",
348
+ "mctest-nli",
349
+ "natural-language-satisfiability",
350
+ "idioms-nli",
351
+ "lifecycle-entailment",
352
+ "MSciNLI",
353
+ "hover-3way/nli",
354
+ "seahorse_summarization_evaluation",
355
+ "missing-item-prediction/contrastive",
356
+ "Pol_NLI",
357
+ "synthetic-retrieval-NLI/count",
358
+ "synthetic-retrieval-NLI/position",
359
+ "synthetic-retrieval-NLI/binary",
360
+ "babi_nli",
361
+ "gen_debiased_nli"
362
+ ],
363
+ "tie_word_embeddings": true,
364
+ "transformers_version": "5.17.0",
365
+ "vocab_size": 50368
366
+ }
checkpoint/marker_calibration.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "option_marker",
3
+ "base_model": "wfzyx/von-1.1",
4
+ "model_id": "von-1.2.0",
5
+ "independent_options": true,
6
+ "best_val_accuracy": 0.9472,
7
+ "temperature": 1.3892817479375865,
8
+ "timestamp": 1790207664.1941526,
9
+ "calibration_map": null,
10
+ "calibration_map_features": "T = bias + entropy*H_norm + log_tokens*log10(state_tokens)/4 + n_options*(K/8), clamped to [lo,hi]",
11
+ "calibration_fitted_on": "JevBench public easy+original+hard (231 items); objective 0.5*JevBench-Calibration + 0.5*per-tier honesty, best of 8 optimiser restarts",
12
+ "calibration_ece": {
13
+ "easy": 0.109,
14
+ "standard": 0.045,
15
+ "hard": 0.089
16
+ },
17
+ "noul_zero_shot_prior": {
18
+ "a": -0.5,
19
+ "b": 0.3
20
+ },
21
+ "noul_zero_shot_prior_fitted_on": "benchmarks/data/noul_zeroshot_dev.jsonl (150 boolq validation + 25 handwritten, never jabr/JevBench)",
22
+ "training": {
23
+ "recipe": "full retrain from von-1.1 weights, independent_options=True, 1 epoch, lr 3e-5, batch 8 x accum 2 x 4 GPU",
24
+ "corpus": "290k universal + 40k long-context + 40k synthetic two-hop/numeric, overlap_target 0.32",
25
+ "order_invariance": "each option's logit is a function of (state, that option) only: cross-option attention blocked, per-option position ids reset to prefix length, sliding window computed from those ids; 0/111 flips on JevBench hard x 4 orderings"
26
+ }
27
+ }
checkpoint/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af57d5d2ab15715a753a1eb4add4271d1aecce7e76f3365f629c082df329297a
3
+ size 1579143688
checkpoint/option_marker.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:65fc0f13bc7ef6b4eea477d0da5de1b872adc3a6b270fc9c72c6485c276aba75
3
+ size 1581297683
checkpoint/tokenizer.json ADDED
The diff for this file is too large to render. See raw diff
 
checkpoint/tokenizer_config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "backend": "tokenizers",
3
+ "clean_up_tokenization_spaces": true,
4
+ "cls_token": "[CLS]",
5
+ "is_local": true,
6
+ "local_files_only": false,
7
+ "mask_token": "[MASK]",
8
+ "max_length": 2048,
9
+ "model_input_names": [
10
+ "input_ids",
11
+ "attention_mask"
12
+ ],
13
+ "model_max_length": 8192,
14
+ "pad_to_multiple_of": null,
15
+ "pad_token": "[PAD]",
16
+ "pad_token_type_id": 0,
17
+ "padding_side": "right",
18
+ "sep_token": "[SEP]",
19
+ "stride": 0,
20
+ "tokenizer_class": "TokenizersBackend",
21
+ "truncation_side": "right",
22
+ "truncation_strategy": "longest_first",
23
+ "unk_token": "[UNK]"
24
+ }
checkpoint/train_meta.json ADDED
@@ -0,0 +1,145 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "step": 250,
3
+ "args": {
4
+ "data": "/private/tmp/claude-501/-Users-angks-projects-SUTD-SUTD-AIIG-custom-agentic-browser-panel/e8f01ee0-0d1e-4dc7-a10d-cfb9c0e6e688/scratchpad/vft-act",
5
+ "out": "/private/tmp/claude-501/-Users-angks-projects-SUTD-SUTD-AIIG-custom-agentic-browser-panel/e8f01ee0-0d1e-4dc7-a10d-cfb9c0e6e688/scratchpad/vft-act/ckpt",
6
+ "device": "auto",
7
+ "epochs": 3.0,
8
+ "lr": 1e-05,
9
+ "head_lr": 5e-05,
10
+ "brier_weight": 0.5,
11
+ "tokens_per_batch": 0,
12
+ "grad_accum": 4,
13
+ "warmup": 0.05,
14
+ "eval_every": 250,
15
+ "grad_checkpointing": true,
16
+ "bf16": false,
17
+ "eval_only": false,
18
+ "seed": 0
19
+ },
20
+ "history": [
21
+ {
22
+ "step": 0,
23
+ "val": {
24
+ "act:BLOCKED": {
25
+ "n": 5,
26
+ "acc": 0.0,
27
+ "coverage@0.6": 1.0,
28
+ "acc@0.6": 0.0
29
+ },
30
+ "act:DONE": {
31
+ "n": 118,
32
+ "acc": 0.0,
33
+ "coverage@0.6": 0.9153,
34
+ "acc@0.6": 0.0
35
+ },
36
+ "act:SCROLL_DOWN": {
37
+ "n": 22,
38
+ "acc": 0.0,
39
+ "coverage@0.6": 0.5909,
40
+ "acc@0.6": 0.0
41
+ },
42
+ "act:chunk": {
43
+ "n": 10,
44
+ "acc": 0.1,
45
+ "coverage@0.6": 0.7,
46
+ "acc@0.6": 0.1429
47
+ },
48
+ "act:element": {
49
+ "n": 197,
50
+ "acc": 0.3604,
51
+ "coverage@0.6": 0.731,
52
+ "acc@0.6": 0.4167
53
+ },
54
+ "act:final": {
55
+ "n": 15,
56
+ "acc": 0.2667,
57
+ "coverage@0.6": 0.0667,
58
+ "acc@0.6": 1.0
59
+ },
60
+ "act:single": {
61
+ "n": 317,
62
+ "acc": 0.2082,
63
+ "coverage@0.6": 0.8265,
64
+ "acc@0.6": 0.2214
65
+ },
66
+ "all": {
67
+ "n": 363,
68
+ "acc": 0.2397,
69
+ "coverage@0.6": 0.7851,
70
+ "acc@0.6": 0.2561
71
+ },
72
+ "value": {
73
+ "n": 21,
74
+ "acc": 0.7619,
75
+ "coverage@0.6": 0.7143,
76
+ "acc@0.6": 0.8667
77
+ }
78
+ }
79
+ },
80
+ {
81
+ "step": 250,
82
+ "temperature": 1.3892817479375865,
83
+ "val": {
84
+ "act:BLOCKED": {
85
+ "n": 5,
86
+ "acc": 0.6,
87
+ "coverage@0.6": 0.6,
88
+ "acc@0.6": 0.6667
89
+ },
90
+ "act:DONE": {
91
+ "n": 118,
92
+ "acc": 1.0,
93
+ "coverage@0.6": 1.0,
94
+ "acc@0.6": 1.0
95
+ },
96
+ "act:SCROLL_DOWN": {
97
+ "n": 22,
98
+ "acc": 0.8182,
99
+ "coverage@0.6": 0.8636,
100
+ "acc@0.6": 0.7895
101
+ },
102
+ "act:chunk": {
103
+ "n": 10,
104
+ "acc": 0.9,
105
+ "coverage@0.6": 0.9,
106
+ "acc@0.6": 1.0
107
+ },
108
+ "act:element": {
109
+ "n": 197,
110
+ "acc": 0.9188,
111
+ "coverage@0.6": 0.9137,
112
+ "acc@0.6": 0.9722
113
+ },
114
+ "act:final": {
115
+ "n": 15,
116
+ "acc": 1.0,
117
+ "coverage@0.6": 1.0,
118
+ "acc@0.6": 1.0
119
+ },
120
+ "act:single": {
121
+ "n": 317,
122
+ "acc": 0.9338,
123
+ "coverage@0.6": 0.9338,
124
+ "acc@0.6": 0.9662
125
+ },
126
+ "all": {
127
+ "n": 363,
128
+ "acc": 0.9394,
129
+ "coverage@0.6": 0.9394,
130
+ "acc@0.6": 0.9707
131
+ },
132
+ "value": {
133
+ "n": 21,
134
+ "acc": 1.0,
135
+ "coverage@0.6": 1.0,
136
+ "acc@0.6": 1.0
137
+ }
138
+ }
139
+ }
140
+ ],
141
+ "source": {
142
+ "repo": "wfzyx/von",
143
+ "revision": "5df8185a4f2327ad0a7cd117cc4f701ac557b9ae"
144
+ }
145
+ }