vtava commited on
Commit
37e177f
·
verified ·
1 Parent(s): c6bdae8

Upload Laya Integrated Memory V2.2 adapter; accepted layers=[0, 3, 6, 9, 18, 21, 24, 27]

Browse files
Files changed (7) hide show
  1. README.md +43 -0
  2. adapter.pt +3 -0
  3. loader.py +29 -0
  4. model_meta.json +35 -0
  5. report.json +1272 -0
  6. requirements.txt +3 -0
  7. run_manifest.json +14 -0
README.md ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ library_name: transformers
3
+ pipeline_tag: text-generation
4
+ tags:
5
+ - tinycenn
6
+ - cenn
7
+ - language-modeling
8
+ - text-generation
9
+ - research
10
+ ---
11
+
12
+ # Laya-Integrated-Memory-V22
13
+
14
+ Research artifact from **TinyCeNN-LM**. Architecture: `integrated_memory_v22`.
15
+
16
+ ## Architecture
17
+
18
+ - Architecture/run type: `integrated_memory_v22`
19
+ - Base model: `not recorded`
20
+ - Dataset: `Not recorded`
21
+ - Source code: https://github.com/vtavakkoli/TinyCeNN-LM
22
+
23
+ ## Latest saved results
24
+
25
+ No structured training report was found in this upload.
26
+
27
+ The Hugging Face repository keeps timestamped run artifacts under `runs/`. This preserves training reports, configs and run metadata independently of the temporary Colab filesystem.
28
+
29
+ ## Saved experiment files
30
+
31
+ - `report.json`
32
+
33
+ ## Reproducibility
34
+
35
+ Run the matching notebook from the TinyCeNN-LM repository. Colab notebooks use a Hugging Face write token from the `HF_TOKEN` Colab Secret; tokens should never be pasted into notebook source.
36
+
37
+ ## Limitations
38
+
39
+ This is a research checkpoint. Metrics saved here are the metrics produced by the corresponding training notebook/script; unless explicitly marked as held-out evaluation, they should not be treated as publication-grade benchmark results. Generation quality can differ substantially from the base model.
40
+
41
+ ## Citation
42
+
43
+ If you use this experimental checkpoint, cite the TinyCeNN-LM repository and the upstream base model.
adapter.pt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6a5594a2e56a904617b1c0f09d47818f1205dc9dea5f67024dd0118efeddbf10
3
+ size 142805347
loader.py ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from pathlib import Path
2
+ import torch
3
+ from huggingface_hub import snapshot_download
4
+ import laya
5
+ from tinycenn_lm.laya_lab.core import LayaLabConfig
6
+ from tinycenn_lm.laya_lab.factory import make_replacement
7
+
8
+
9
+ def load_model(repo_id, device=None, token=None):
10
+ root = Path(snapshot_download(
11
+ repo_id,
12
+ repo_type="model",
13
+ token=token,
14
+ allow_patterns=["adapter.pt", "report.json", "model_meta.json"],
15
+ ))
16
+ payload = torch.load(root / "adapter.pt", map_location="cpu", weights_only=False)
17
+ cfg = LayaLabConfig(**payload["lab_config"])
18
+ agent = laya.load(cfg.model_id, device=device, token=token)
19
+
20
+ for layer_id, spec in payload["adapters"].items():
21
+ idx = int(layer_id)
22
+ layer = agent.model.encoder.layers[idx]
23
+ replacement = make_replacement(layer.attn, cfg)
24
+ replacement.load_state_dict(spec["state_dict"], strict=True)
25
+ replacement.to(agent.device).eval().requires_grad_(False)
26
+ layer.attn = replacement
27
+
28
+ agent.model.eval()
29
+ return agent
model_meta.json ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "format": "tinycenn-laya-attention-lab-v1",
3
+ "architecture": "integrated_memory_v22",
4
+ "base_model": "convaiinnovations/laya-typed-decisions",
5
+ "accepted_layers": [
6
+ 0,
7
+ 3,
8
+ 6,
9
+ 9,
10
+ 18,
11
+ 21,
12
+ 24,
13
+ 27
14
+ ],
15
+ "candidate_layers": [
16
+ 18,
17
+ 21,
18
+ 6,
19
+ 12,
20
+ 15,
21
+ 9,
22
+ 3,
23
+ 24,
24
+ 0,
25
+ 27
26
+ ],
27
+ "target_policy": "all_full_attention",
28
+ "learning_rate": 0.01,
29
+ "training_steps_max": 1200,
30
+ "early_stop_local": true,
31
+ "feature_dim": 128,
32
+ "local_kernel": 5,
33
+ "tinycenn_repo": "https://github.com/vtavakkoli/TinyCeNN-LM",
34
+ "notebook": "notebooks/Laya_Integrated_Memory_V22_Colab.ipynb"
35
+ }
report.json ADDED
@@ -0,0 +1,1272 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architecture": "integrated_memory_v22",
3
+ "model_id": "convaiinnovations/laya-typed-decisions",
4
+ "mode": "extended",
5
+ "candidate_layers": [
6
+ 18,
7
+ 21,
8
+ 6,
9
+ 12,
10
+ 15,
11
+ 9,
12
+ 3,
13
+ 24,
14
+ 0,
15
+ 27
16
+ ],
17
+ "target_policy": "all_full_attention",
18
+ "accepted_layers": [
19
+ 0,
20
+ 3,
21
+ 6,
22
+ 9,
23
+ 18,
24
+ 21,
25
+ 24,
26
+ 27
27
+ ],
28
+ "replacement_trainable_parameters": 2138752,
29
+ "training_steps_per_candidate": 1200,
30
+ "history": [
31
+ {
32
+ "layer": 18,
33
+ "attention_type": "full_attention",
34
+ "local": {
35
+ "nmse": 0.14815795421600342,
36
+ "cosine": 0.9101787209510803,
37
+ "core_nmse": 0.12158627063035965,
38
+ "core_cosine": 0.9367402791976929,
39
+ "step": 600,
40
+ "selection": "fixed_local_probe",
41
+ "stopped_early": true,
42
+ "max_steps": 1200
43
+ },
44
+ "gate": {
45
+ "n": 1000,
46
+ "accuracy": 0.749,
47
+ "brier": 0.4305189092830184,
48
+ "nll": 0.7595450059746562,
49
+ "ece": 0.22442069263715092,
50
+ "soft_accuracy": 0.44033451512352856,
51
+ "brier_vs_soft": 0.06819036408531928,
52
+ "score_mae": 0.2170153922995356,
53
+ "label": "student",
54
+ "seconds": 49.70198289800021,
55
+ "ms_per_case": 248.50991449000105,
56
+ "by_type": {
57
+ "choice": {
58
+ "n": 400,
59
+ "accuracy": 0.7225,
60
+ "brier": 0.46427792410356405,
61
+ "nll": 0.8647707870656518,
62
+ "ece": 0.24001180370416553,
63
+ "soft_accuracy": 0.4068633639145377,
64
+ "brier_vs_soft": 0.08744668879049254,
65
+ "score_mae": null
66
+ },
67
+ "noul": {
68
+ "n": 200,
69
+ "accuracy": 0.815,
70
+ "brier": 0.36546737879999996,
71
+ "nll": 0.5522848863247076,
72
+ "ece": 0.210979,
73
+ "soft_accuracy": 0.555449317314,
74
+ "brier_vs_soft": 0.0684102107277,
75
+ "score_mae": null
76
+ },
77
+ "score": {
78
+ "n": 400,
79
+ "accuracy": 0.7425,
80
+ "brier": 0.4292856597039819,
81
+ "nll": 0.7579492847086349,
82
+ "ece": 0.21555042788871184,
83
+ "soft_accuracy": 0.41624826523728375,
84
+ "brier_vs_soft": 0.048824116058955695,
85
+ "score_mae": 0.2170153922995356
86
+ }
87
+ },
88
+ "by_workflow": {
89
+ "agent_trace_observability": {
90
+ "n": 500,
91
+ "accuracy": 0.732,
92
+ "brier": 0.4644161224539259,
93
+ "nll": 0.8053053889426445,
94
+ "ece": 0.23514212212812127,
95
+ "soft_accuracy": 0.41282763129309025,
96
+ "brier_vs_soft": 0.05725538867743509,
97
+ "score_mae": 0.2110141236415929
98
+ },
99
+ "customer_service": {
100
+ "n": 500,
101
+ "accuracy": 0.766,
102
+ "brier": 0.39662169611211084,
103
+ "nll": 0.7137846230066678,
104
+ "ece": 0.21369926314618062,
105
+ "soft_accuracy": 0.46784139895396687,
106
+ "brier_vs_soft": 0.07912533949320348,
107
+ "score_mae": 0.22301666095747838
108
+ }
109
+ },
110
+ "teacher_agreement": 0.982,
111
+ "mean_teacher_kl": 0.0004830979588463707,
112
+ "mean_probability_l1": 0.005591296855022769
113
+ },
114
+ "checks": {
115
+ "local_nmse": true,
116
+ "local_cosine": true,
117
+ "teacher_agreement": true,
118
+ "teacher_kl": true,
119
+ "accuracy_drop": true
120
+ },
121
+ "accuracy_drop": -0.0010000000000000009,
122
+ "accepted": true
123
+ },
124
+ {
125
+ "layer": 21,
126
+ "attention_type": "full_attention",
127
+ "local": {
128
+ "nmse": 0.17112323641777039,
129
+ "cosine": 0.9053357839584351,
130
+ "core_nmse": 0.14380306005477905,
131
+ "core_cosine": 0.9237525463104248,
132
+ "step": 700,
133
+ "selection": "fixed_local_probe",
134
+ "stopped_early": true,
135
+ "max_steps": 1200
136
+ },
137
+ "gate": {
138
+ "n": 1000,
139
+ "accuracy": 0.748,
140
+ "brier": 0.431677410742063,
141
+ "nll": 0.7617530174406334,
142
+ "ece": 0.22525696076353563,
143
+ "soft_accuracy": 0.43939162122129516,
144
+ "brier_vs_soft": 0.06846588095801093,
145
+ "score_mae": 0.21842682940909164,
146
+ "label": "student",
147
+ "seconds": 27.558596486999363,
148
+ "ms_per_case": 137.79298243499682,
149
+ "by_type": {
150
+ "choice": {
151
+ "n": 400,
152
+ "accuracy": 0.7225,
153
+ "brier": 0.4649429020077851,
154
+ "nll": 0.8662146664529234,
155
+ "ece": 0.24205397221910746,
156
+ "soft_accuracy": 0.405787916081797,
157
+ "brier_vs_soft": 0.0878416775646456,
158
+ "score_mae": null
159
+ },
160
+ "noul": {
161
+ "n": 200,
162
+ "accuracy": 0.81,
163
+ "brier": 0.3652548615000001,
164
+ "nll": 0.5522154880534083,
165
+ "ece": 0.20593750000000002,
166
+ "soft_accuracy": 0.5553491572660001,
167
+ "brier_vs_soft": 0.0682490135237,
168
+ "score_mae": null
169
+ },
170
+ "score": {
171
+ "n": 400,
172
+ "accuracy": 0.7425,
173
+ "brier": 0.4316231940973725,
174
+ "nll": 0.7620601331219558,
175
+ "ece": 0.2181196796897318,
176
+ "soft_accuracy": 0.4150165583384408,
177
+ "brier_vs_soft": 0.049198518068531684,
178
+ "score_mae": 0.21842682940909164
179
+ }
180
+ },
181
+ "by_workflow": {
182
+ "agent_trace_observability": {
183
+ "n": 500,
184
+ "accuracy": 0.732,
185
+ "brier": 0.46537569507298365,
186
+ "nll": 0.8071746442819064,
187
+ "ece": 0.23663730431717905,
188
+ "soft_accuracy": 0.4121813693190993,
189
+ "brier_vs_soft": 0.05735561610009205,
190
+ "score_mae": 0.21388693532067432
191
+ },
192
+ "customer_service": {
193
+ "n": 500,
194
+ "accuracy": 0.764,
195
+ "brier": 0.39797912641114236,
196
+ "nll": 0.7163313905993602,
197
+ "ece": 0.21387661720989232,
198
+ "soft_accuracy": 0.46660187312349094,
199
+ "brier_vs_soft": 0.07957614581592978,
200
+ "score_mae": 0.22296672349750898
201
+ }
202
+ },
203
+ "teacher_agreement": 0.983,
204
+ "mean_teacher_kl": 0.0006127662615514677,
205
+ "mean_probability_l1": 0.006496185723570247
206
+ },
207
+ "checks": {
208
+ "local_nmse": true,
209
+ "local_cosine": true,
210
+ "teacher_agreement": true,
211
+ "teacher_kl": true,
212
+ "accuracy_drop": true
213
+ },
214
+ "accuracy_drop": 0.0,
215
+ "accepted": true
216
+ },
217
+ {
218
+ "layer": 6,
219
+ "attention_type": "full_attention",
220
+ "local": {
221
+ "nmse": 0.16657067835330963,
222
+ "cosine": 0.9110640287399292,
223
+ "core_nmse": 0.1759447455406189,
224
+ "core_cosine": 0.9056901931762695,
225
+ "step": 700,
226
+ "selection": "fixed_local_probe",
227
+ "stopped_early": true,
228
+ "max_steps": 1200
229
+ },
230
+ "gate": {
231
+ "n": 1000,
232
+ "accuracy": 0.749,
233
+ "brier": 0.4337786094550321,
234
+ "nll": 0.7648782409613847,
235
+ "ece": 0.23043717003624464,
236
+ "soft_accuracy": 0.4385090390441916,
237
+ "brier_vs_soft": 0.06892949814355821,
238
+ "score_mae": 0.21922682693058163,
239
+ "label": "student",
240
+ "seconds": 28.407756960000597,
241
+ "ms_per_case": 142.038784800003,
242
+ "by_type": {
243
+ "choice": {
244
+ "n": 400,
245
+ "accuracy": 0.7175,
246
+ "brier": 0.46645052628710715,
247
+ "nll": 0.8681898813319671,
248
+ "ece": 0.24503212573992114,
249
+ "soft_accuracy": 0.40496593201610137,
250
+ "brier_vs_soft": 0.08827134604508136,
251
+ "score_mae": null
252
+ },
253
+ "noul": {
254
+ "n": 200,
255
+ "accuracy": 0.81,
256
+ "brier": 0.3682129235,
257
+ "nll": 0.5554740290313837,
258
+ "ece": 0.2078765,
259
+ "soft_accuracy": 0.554023217214,
260
+ "brier_vs_soft": 0.0697009556277,
261
+ "score_mae": null
262
+ },
263
+ "score": {
264
+ "n": 400,
265
+ "accuracy": 0.75,
266
+ "brier": 0.433889535600473,
267
+ "nll": 0.7662687065558026,
268
+ "ece": 0.22712254935069048,
269
+ "soft_accuracy": 0.41429505698737756,
270
+ "brier_vs_soft": 0.049201921499964156,
271
+ "score_mae": 0.21922682693058163
272
+ }
273
+ },
274
+ "by_workflow": {
275
+ "agent_trace_observability": {
276
+ "n": 500,
277
+ "accuracy": 0.732,
278
+ "brier": 0.4685120835563875,
279
+ "nll": 0.8115798657088559,
280
+ "ece": 0.23962380145038406,
281
+ "soft_accuracy": 0.4107943806603356,
282
+ "brier_vs_soft": 0.05837274254340294,
283
+ "score_mae": 0.2144625355528953
284
+ },
285
+ "customer_service": {
286
+ "n": 500,
287
+ "accuracy": 0.766,
288
+ "brier": 0.39904513535367664,
289
+ "nll": 0.7181766162139135,
290
+ "ece": 0.22125053862210525,
291
+ "soft_accuracy": 0.4662236974280475,
292
+ "brier_vs_soft": 0.07948625374371347,
293
+ "score_mae": 0.22399111830826793
294
+ }
295
+ },
296
+ "teacher_agreement": 0.979,
297
+ "mean_teacher_kl": 0.0012706911043438298,
298
+ "mean_probability_l1": 0.009181225501869016
299
+ },
300
+ "checks": {
301
+ "local_nmse": true,
302
+ "local_cosine": true,
303
+ "teacher_agreement": true,
304
+ "teacher_kl": true,
305
+ "accuracy_drop": true
306
+ },
307
+ "accuracy_drop": -0.0010000000000000009,
308
+ "accepted": true
309
+ },
310
+ {
311
+ "layer": 12,
312
+ "attention_type": "full_attention",
313
+ "local": {
314
+ "nmse": 0.1754814237356186,
315
+ "cosine": 0.9114071726799011,
316
+ "core_nmse": 0.15706203877925873,
317
+ "core_cosine": 0.9224008321762085,
318
+ "step": 500,
319
+ "selection": "fixed_local_probe",
320
+ "stopped_early": true,
321
+ "max_steps": 1200
322
+ },
323
+ "gate": {
324
+ "n": 1000,
325
+ "accuracy": 0.738,
326
+ "brier": 0.45281635938966963,
327
+ "nll": 0.7941680805813417,
328
+ "ece": 0.23113927976243728,
329
+ "soft_accuracy": 0.4265474770790105,
330
+ "brier_vs_soft": 0.08131723204266526,
331
+ "score_mae": 0.22937347214033557,
332
+ "label": "student",
333
+ "seconds": 29.318424843001026,
334
+ "ms_per_case": 146.59212421500513,
335
+ "by_type": {
336
+ "choice": {
337
+ "n": 400,
338
+ "accuracy": 0.7125,
339
+ "brier": 0.5002604164364576,
340
+ "nll": 0.9241867760484409,
341
+ "ece": 0.25964981676276677,
342
+ "soft_accuracy": 0.38225393681032244,
343
+ "brier_vs_soft": 0.11169343657500345,
344
+ "score_mae": null
345
+ },
346
+ "noul": {
347
+ "n": 200,
348
+ "accuracy": 0.825,
349
+ "brier": 0.37077367299999997,
350
+ "nll": 0.558550242158741,
351
+ "ece": 0.22463400000000003,
352
+ "soft_accuracy": 0.5528776535590001,
353
+ "brier_vs_soft": 0.07053583243770001,
354
+ "score_mae": null
355
+ },
356
+ "score": {
357
+ "n": 400,
358
+ "accuracy": 0.72,
359
+ "brier": 0.44639364553771643,
360
+ "nll": 0.7819583043255427,
361
+ "ece": 0.20588138264332634,
362
+ "soft_accuracy": 0.4076759291077037,
363
+ "brier_vs_soft": 0.056331727312809735,
364
+ "score_mae": 0.22937347214033557
365
+ }
366
+ },
367
+ "by_workflow": {
368
+ "agent_trace_observability": {
369
+ "n": 500,
370
+ "accuracy": 0.72,
371
+ "brier": 0.4786189253312581,
372
+ "nll": 0.8244520370115145,
373
+ "ece": 0.23328092245081522,
374
+ "soft_accuracy": 0.4070025685446172,
375
+ "brier_vs_soft": 0.06230452182145156,
376
+ "score_mae": 0.22054785853252684
377
+ },
378
+ "customer_service": {
379
+ "n": 500,
380
+ "accuracy": 0.756,
381
+ "brier": 0.42701379344808105,
382
+ "nll": 0.7638841241511689,
383
+ "ece": 0.22899763707405923,
384
+ "soft_accuracy": 0.44609238561340375,
385
+ "brier_vs_soft": 0.10032994226387898,
386
+ "score_mae": 0.2381990857481443
387
+ }
388
+ },
389
+ "teacher_agreement": 0.934,
390
+ "mean_teacher_kl": 0.010777169535195473,
391
+ "mean_probability_l1": 0.0223953244471966
392
+ },
393
+ "checks": {
394
+ "local_nmse": true,
395
+ "local_cosine": true,
396
+ "teacher_agreement": false,
397
+ "teacher_kl": true,
398
+ "accuracy_drop": true
399
+ },
400
+ "accuracy_drop": 0.010000000000000009,
401
+ "accepted": false
402
+ },
403
+ {
404
+ "layer": 15,
405
+ "attention_type": "full_attention",
406
+ "local": {
407
+ "nmse": 0.17571067810058594,
408
+ "cosine": 0.9044978022575378,
409
+ "core_nmse": 0.12270843237638474,
410
+ "core_cosine": 0.9364626407623291,
411
+ "step": 700,
412
+ "selection": "fixed_local_probe",
413
+ "stopped_early": true,
414
+ "max_steps": 1200
415
+ },
416
+ "gate": {
417
+ "n": 1000,
418
+ "accuracy": 0.749,
419
+ "brier": 0.44176247884830594,
420
+ "nll": 0.7756883722984784,
421
+ "ece": 0.2376272708084262,
422
+ "soft_accuracy": 0.43378164616901166,
423
+ "brier_vs_soft": 0.0720739557292869,
424
+ "score_mae": 0.23218903883118877,
425
+ "label": "student",
426
+ "seconds": 29.38171526900078,
427
+ "ms_per_case": 146.9085763450039,
428
+ "by_type": {
429
+ "choice": {
430
+ "n": 400,
431
+ "accuracy": 0.735,
432
+ "brier": 0.46805947181529073,
433
+ "nll": 0.8695599642284327,
434
+ "ece": 0.2611931504821826,
435
+ "soft_accuracy": 0.4033825115574118,
436
+ "brier_vs_soft": 0.08963013449595103,
437
+ "score_mae": null
438
+ },
439
+ "noul": {
440
+ "n": 200,
441
+ "accuracy": 0.81,
442
+ "brier": 0.3637503798,
443
+ "nll": 0.5506820465668266,
444
+ "ece": 0.20495900000000003,
445
+ "soft_accuracy": 0.555976594685,
446
+ "brier_vs_soft": 0.0672026569857,
447
+ "score_mae": null
448
+ },
449
+ "score": {
450
+ "n": 400,
451
+ "accuracy": 0.7325,
452
+ "brier": 0.4544715354054743,
453
+ "nll": 0.79431994323435,
454
+ "ece": 0.23039552653888276,
455
+ "soft_accuracy": 0.4030833065226173,
456
+ "brier_vs_soft": 0.056953426334416246,
457
+ "score_mae": 0.23218903883118877
458
+ }
459
+ },
460
+ "by_workflow": {
461
+ "agent_trace_observability": {
462
+ "n": 500,
463
+ "accuracy": 0.724,
464
+ "brier": 0.47375928432942904,
465
+ "nll": 0.8168460303865279,
466
+ "ece": 0.23965498074078784,
467
+ "soft_accuracy": 0.40884934258085315,
468
+ "brier_vs_soft": 0.05903656812067489,
469
+ "score_mae": 0.21708709856400593
470
+ },
471
+ "customer_service": {
472
+ "n": 500,
473
+ "accuracy": 0.774,
474
+ "brier": 0.4097656733671829,
475
+ "nll": 0.734530714210429,
476
+ "ece": 0.23559956087606446,
477
+ "soft_accuracy": 0.45871394975717006,
478
+ "brier_vs_soft": 0.08511134333789891,
479
+ "score_mae": 0.2472909790983716
480
+ }
481
+ },
482
+ "teacher_agreement": 0.934,
483
+ "mean_teacher_kl": 0.006185230957987723,
484
+ "mean_probability_l1": 0.019544490013262264
485
+ },
486
+ "checks": {
487
+ "local_nmse": true,
488
+ "local_cosine": true,
489
+ "teacher_agreement": false,
490
+ "teacher_kl": true,
491
+ "accuracy_drop": true
492
+ },
493
+ "accuracy_drop": -0.0010000000000000009,
494
+ "accepted": false
495
+ },
496
+ {
497
+ "layer": 9,
498
+ "attention_type": "full_attention",
499
+ "local": {
500
+ "nmse": 0.19203251600265503,
501
+ "cosine": 0.902526319026947,
502
+ "core_nmse": 0.11442545801401138,
503
+ "core_cosine": 0.9422667026519775,
504
+ "step": 900,
505
+ "selection": "fixed_local_probe",
506
+ "stopped_early": true,
507
+ "max_steps": 1200
508
+ },
509
+ "gate": {
510
+ "n": 1000,
511
+ "accuracy": 0.743,
512
+ "brier": 0.4362493861702218,
513
+ "nll": 0.7680912686779053,
514
+ "ece": 0.2232355432086655,
515
+ "soft_accuracy": 0.43745251125321327,
516
+ "brier_vs_soft": 0.07034232872407589,
517
+ "score_mae": 0.22373055457276714,
518
+ "label": "student",
519
+ "seconds": 29.39563428899919,
520
+ "ms_per_case": 146.97817144499595,
521
+ "by_type": {
522
+ "choice": {
523
+ "n": 400,
524
+ "accuracy": 0.7175,
525
+ "brier": 0.4673060802237594,
526
+ "nll": 0.8688456987142855,
527
+ "ece": 0.23955234683455617,
528
+ "soft_accuracy": 0.40440679398187596,
529
+ "brier_vs_soft": 0.08928080175038905,
530
+ "score_mae": null
531
+ },
532
+ "noul": {
533
+ "n": 200,
534
+ "accuracy": 0.81,
535
+ "brier": 0.37168307300000003,
536
+ "nll": 0.5590345299778438,
537
+ "ece": 0.20919999999999997,
538
+ "soft_accuracy": 0.55311062041,
539
+ "brier_vs_soft": 0.0710352987357,
540
+ "score_mae": null
541
+ },
542
+ "score": {
543
+ "n": 400,
544
+ "accuracy": 0.735,
545
+ "brier": 0.43747584870179496,
546
+ "nll": 0.7718652079915561,
547
+ "ece": 0.21393651118710758,
548
+ "soft_accuracy": 0.41266917394615715,
549
+ "brier_vs_soft": 0.05105737069195067,
550
+ "score_mae": 0.22373055457276714
551
+ }
552
+ },
553
+ "by_workflow": {
554
+ "agent_trace_observability": {
555
+ "n": 500,
556
+ "accuracy": 0.726,
557
+ "brier": 0.4681905411588774,
558
+ "nll": 0.8108380468460684,
559
+ "ece": 0.23391441721359418,
560
+ "soft_accuracy": 0.4108784006313682,
561
+ "brier_vs_soft": 0.05800037092906373,
562
+ "score_mae": 0.214593644980183
563
+ },
564
+ "customer_service": {
565
+ "n": 500,
566
+ "accuracy": 0.76,
567
+ "brier": 0.40430823118156617,
568
+ "nll": 0.7253444905097424,
569
+ "ece": 0.2125566692037368,
570
+ "soft_accuracy": 0.46402662187505833,
571
+ "brier_vs_soft": 0.08268428651908805,
572
+ "score_mae": 0.2328674641653513
573
+ }
574
+ },
575
+ "teacher_agreement": 0.963,
576
+ "mean_teacher_kl": 0.002220309742365515,
577
+ "mean_probability_l1": 0.01161535830052532
578
+ },
579
+ "checks": {
580
+ "local_nmse": true,
581
+ "local_cosine": true,
582
+ "teacher_agreement": true,
583
+ "teacher_kl": true,
584
+ "accuracy_drop": true
585
+ },
586
+ "accuracy_drop": 0.0050000000000000044,
587
+ "accepted": true
588
+ },
589
+ {
590
+ "layer": 3,
591
+ "attention_type": "full_attention",
592
+ "local": {
593
+ "nmse": 0.12466444820165634,
594
+ "cosine": 0.9267565011978149,
595
+ "core_nmse": 0.120707206428051,
596
+ "core_cosine": 0.9296106696128845,
597
+ "step": 500,
598
+ "selection": "fixed_local_probe",
599
+ "stopped_early": true,
600
+ "max_steps": 1200
601
+ },
602
+ "gate": {
603
+ "n": 1000,
604
+ "accuracy": 0.745,
605
+ "brier": 0.4377583046634068,
606
+ "nll": 0.7712213403309527,
607
+ "ece": 0.22648122487605724,
608
+ "soft_accuracy": 0.43626562040504613,
609
+ "brier_vs_soft": 0.07152576877681688,
610
+ "score_mae": 0.22710610868893774,
611
+ "label": "student",
612
+ "seconds": 30.28752106300317,
613
+ "ms_per_case": 151.43760531501584,
614
+ "by_type": {
615
+ "choice": {
616
+ "n": 400,
617
+ "accuracy": 0.715,
618
+ "brier": 0.4711992750498129,
619
+ "nll": 0.8753285887036811,
620
+ "ece": 0.2385766417664413,
621
+ "soft_accuracy": 0.4026358353179094,
622
+ "brier_vs_soft": 0.09126425120622463,
623
+ "score_mae": null
624
+ },
625
+ "noul": {
626
+ "n": 200,
627
+ "accuracy": 0.815,
628
+ "brier": 0.37141611139999997,
629
+ "nll": 0.5587684552601967,
630
+ "ece": 0.21557100000000007,
631
+ "soft_accuracy": 0.552909286923,
632
+ "brier_vs_soft": 0.0711450041097,
633
+ "score_mae": null
634
+ },
635
+ "score": {
636
+ "n": 400,
637
+ "accuracy": 0.74,
638
+ "brier": 0.43748843090870415,
639
+ "nll": 0.7733405344936023,
640
+ "ece": 0.2198409204237017,
641
+ "soft_accuracy": 0.4115735722332059,
642
+ "brier_vs_soft": 0.05197766868096755,
643
+ "score_mae": 0.22710610868893774
644
+ }
645
+ },
646
+ "by_workflow": {
647
+ "agent_trace_observability": {
648
+ "n": 500,
649
+ "accuracy": 0.734,
650
+ "brier": 0.46893017878492554,
651
+ "nll": 0.8131050255266595,
652
+ "ece": 0.24348204011942243,
653
+ "soft_accuracy": 0.40993410940584035,
654
+ "brier_vs_soft": 0.05852788473072059,
655
+ "score_mae": 0.21549221163467536
656
+ },
657
+ "customer_service": {
658
+ "n": 500,
659
+ "accuracy": 0.756,
660
+ "brier": 0.40658643054188814,
661
+ "nll": 0.7293376551352457,
662
+ "ece": 0.209480409632692,
663
+ "soft_accuracy": 0.46259713140425196,
664
+ "brier_vs_soft": 0.08452365282291315,
665
+ "score_mae": 0.23872000574320013
666
+ }
667
+ },
668
+ "teacher_agreement": 0.955,
669
+ "mean_teacher_kl": 0.0028581225006630334,
670
+ "mean_probability_l1": 0.013066374923799636
671
+ },
672
+ "checks": {
673
+ "local_nmse": true,
674
+ "local_cosine": true,
675
+ "teacher_agreement": true,
676
+ "teacher_kl": true,
677
+ "accuracy_drop": true
678
+ },
679
+ "accuracy_drop": 0.0030000000000000027,
680
+ "accepted": true
681
+ },
682
+ {
683
+ "layer": 24,
684
+ "attention_type": "full_attention",
685
+ "local": {
686
+ "nmse": 0.12313909828662872,
687
+ "cosine": 0.9318107962608337,
688
+ "core_nmse": 0.13731500506401062,
689
+ "core_cosine": 0.921868622303009,
690
+ "step": 500,
691
+ "selection": "fixed_local_probe",
692
+ "stopped_early": true,
693
+ "max_steps": 1200
694
+ },
695
+ "gate": {
696
+ "n": 1000,
697
+ "accuracy": 0.746,
698
+ "brier": 0.4378713400531659,
699
+ "nll": 0.7711683173632579,
700
+ "ece": 0.22758601213859336,
701
+ "soft_accuracy": 0.4363079786756792,
702
+ "brier_vs_soft": 0.07151682437986698,
703
+ "score_mae": 0.22696632457488242,
704
+ "label": "student",
705
+ "seconds": 31.03766055799997,
706
+ "ms_per_case": 155.18830278999985,
707
+ "by_type": {
708
+ "choice": {
709
+ "n": 400,
710
+ "accuracy": 0.715,
711
+ "brier": 0.47087331868186466,
712
+ "nll": 0.8746615639337321,
713
+ "ece": 0.23823545697748022,
714
+ "soft_accuracy": 0.40297194525529606,
715
+ "brier_vs_soft": 0.09111255658201783,
716
+ "score_mae": null
717
+ },
718
+ "noul": {
719
+ "n": 200,
720
+ "accuracy": 0.815,
721
+ "brier": 0.3719210075,
722
+ "nll": 0.5593630122634419,
723
+ "ece": 0.21589450000000002,
724
+ "soft_accuracy": 0.552600266894,
725
+ "brier_vs_soft": 0.0714789402677,
726
+ "score_mae": null
727
+ },
728
+ "score": {
729
+ "n": 400,
730
+ "accuracy": 0.7425,
731
+ "brier": 0.43784452770105003,
732
+ "nll": 0.7735777233426918,
733
+ "ece": 0.22278232336900325,
734
+ "soft_accuracy": 0.41149786798690213,
735
+ "brier_vs_soft": 0.05194003423379959,
736
+ "score_mae": 0.22696632457488242
737
+ }
738
+ },
739
+ "by_workflow": {
740
+ "agent_trace_observability": {
741
+ "n": 500,
742
+ "accuracy": 0.736,
743
+ "brier": 0.46919181592200276,
744
+ "nll": 0.8132432718954132,
745
+ "ece": 0.24572944850000844,
746
+ "soft_accuracy": 0.4098890319929442,
747
+ "brier_vs_soft": 0.058523496758316425,
748
+ "score_mae": 0.21506159735870423
749
+ },
750
+ "customer_service": {
751
+ "n": 500,
752
+ "accuracy": 0.756,
753
+ "brier": 0.40655086418432895,
754
+ "nll": 0.7290933628311025,
755
+ "ece": 0.20944257577717826,
756
+ "soft_accuracy": 0.4627269253584144,
757
+ "brier_vs_soft": 0.08451015200141751,
758
+ "score_mae": 0.23887105179106058
759
+ }
760
+ },
761
+ "teacher_agreement": 0.954,
762
+ "mean_teacher_kl": 0.002863456033494009,
763
+ "mean_probability_l1": 0.013164076456127325
764
+ },
765
+ "checks": {
766
+ "local_nmse": true,
767
+ "local_cosine": true,
768
+ "teacher_agreement": true,
769
+ "teacher_kl": true,
770
+ "accuracy_drop": true
771
+ },
772
+ "accuracy_drop": 0.0020000000000000018,
773
+ "accepted": true
774
+ },
775
+ {
776
+ "layer": 0,
777
+ "attention_type": "full_attention",
778
+ "local": {
779
+ "nmse": 0.09913839399814606,
780
+ "cosine": 0.942489504814148,
781
+ "core_nmse": 0.11957938224077225,
782
+ "core_cosine": 0.9277322292327881,
783
+ "step": 500,
784
+ "selection": "fixed_local_probe",
785
+ "stopped_early": true,
786
+ "max_steps": 1200
787
+ },
788
+ "gate": {
789
+ "n": 1000,
790
+ "accuracy": 0.741,
791
+ "brier": 0.44052475496576365,
792
+ "nll": 0.7754242012674982,
793
+ "ece": 0.2238786788307978,
794
+ "soft_accuracy": 0.4352297843760293,
795
+ "brier_vs_soft": 0.07296967283979511,
796
+ "score_mae": 0.22940438719518386,
797
+ "label": "student",
798
+ "seconds": 31.803994341000134,
799
+ "ms_per_case": 159.01997170500067,
800
+ "by_type": {
801
+ "choice": {
802
+ "n": 400,
803
+ "accuracy": 0.7075,
804
+ "brier": 0.4733232069736364,
805
+ "nll": 0.8793683187990085,
806
+ "ece": 0.23277306341296064,
807
+ "soft_accuracy": 0.4014631058130576,
808
+ "brier_vs_soft": 0.09277928387007289,
809
+ "score_mae": null
810
+ },
811
+ "noul": {
812
+ "n": 200,
813
+ "accuracy": 0.825,
814
+ "brier": 0.37467637719999997,
815
+ "nll": 0.5621649709912134,
816
+ "ece": 0.22652399999999995,
817
+ "soft_accuracy": 0.5517030598079999,
818
+ "brier_vs_soft": 0.0733017241397,
819
+ "score_mae": null
820
+ },
821
+ "score": {
822
+ "n": 400,
823
+ "accuracy": 0.7325,
824
+ "brier": 0.44065049184077265,
825
+ "nll": 0.7781096988741303,
826
+ "ece": 0.21366163366403382,
827
+ "soft_accuracy": 0.4107598252230155,
828
+ "brier_vs_soft": 0.05299403615956488,
829
+ "score_mae": 0.22940438719518386
830
+ }
831
+ },
832
+ "by_workflow": {
833
+ "agent_trace_observability": {
834
+ "n": 500,
835
+ "accuracy": 0.73,
836
+ "brier": 0.47042715234911237,
837
+ "nll": 0.8150764897515435,
838
+ "ece": 0.24031041337378214,
839
+ "soft_accuracy": 0.40949931689158575,
840
+ "brier_vs_soft": 0.05911129376476504,
841
+ "score_mae": 0.21613938999877555
842
+ },
843
+ "customer_service": {
844
+ "n": 500,
845
+ "accuracy": 0.752,
846
+ "brier": 0.41062235758241483,
847
+ "nll": 0.7357719127834528,
848
+ "ece": 0.20744694428781346,
849
+ "soft_accuracy": 0.4609602518604728,
850
+ "brier_vs_soft": 0.08682805191482519,
851
+ "score_mae": 0.2426693843915922
852
+ }
853
+ },
854
+ "teacher_agreement": 0.95,
855
+ "mean_teacher_kl": 0.0034620338549035973,
856
+ "mean_probability_l1": 0.014623993961866642
857
+ },
858
+ "checks": {
859
+ "local_nmse": true,
860
+ "local_cosine": true,
861
+ "teacher_agreement": true,
862
+ "teacher_kl": true,
863
+ "accuracy_drop": true
864
+ },
865
+ "accuracy_drop": 0.007000000000000006,
866
+ "accepted": true
867
+ },
868
+ {
869
+ "layer": 27,
870
+ "attention_type": "full_attention",
871
+ "local": {
872
+ "nmse": 0.098789744079113,
873
+ "cosine": 0.9517393112182617,
874
+ "core_nmse": 0.07421077787876129,
875
+ "core_cosine": 0.9633790850639343,
876
+ "step": 500,
877
+ "selection": "fixed_local_probe",
878
+ "stopped_early": true,
879
+ "max_steps": 1200
880
+ },
881
+ "gate": {
882
+ "n": 1000,
883
+ "accuracy": 0.741,
884
+ "brier": 0.44026304711327974,
885
+ "nll": 0.7749138793393161,
886
+ "ece": 0.22355541854285918,
887
+ "soft_accuracy": 0.4354253094408398,
888
+ "brier_vs_soft": 0.07287498205581297,
889
+ "score_mae": 0.2292440691006982,
890
+ "label": "student",
891
+ "seconds": 32.71919743699982,
892
+ "ms_per_case": 163.5959871849991,
893
+ "by_type": {
894
+ "choice": {
895
+ "n": 400,
896
+ "accuracy": 0.7075,
897
+ "brier": 0.4729517720553683,
898
+ "nll": 0.8786953299601596,
899
+ "ece": 0.2323922330085323,
900
+ "soft_accuracy": 0.4016956921077927,
901
+ "brier_vs_soft": 0.0926173534978115,
902
+ "score_mae": null
903
+ },
904
+ "noul": {
905
+ "n": 200,
906
+ "accuracy": 0.825,
907
+ "brier": 0.3746416918,
908
+ "nll": 0.562094073203168,
909
+ "ece": 0.22642,
910
+ "soft_accuracy": 0.5517863931210001,
911
+ "brier_vs_soft": 0.07326237211369999,
912
+ "score_mae": null
913
+ },
914
+ "score": {
915
+ "n": 400,
916
+ "accuracy": 0.7325,
917
+ "brier": 0.44038499982783125,
918
+ "nll": 0.7775423317865466,
919
+ "ece": 0.21328631334861564,
920
+ "soft_accuracy": 0.4109743849338068,
921
+ "brier_vs_soft": 0.05293891558487092,
922
+ "score_mae": 0.2292440691006982
923
+ }
924
+ },
925
+ "by_workflow": {
926
+ "agent_trace_observability": {
927
+ "n": 500,
928
+ "accuracy": 0.73,
929
+ "brier": 0.4701173803836928,
930
+ "nll": 0.8144906109904325,
931
+ "ece": 0.24005960335156606,
932
+ "soft_accuracy": 0.40967497805154746,
933
+ "brier_vs_soft": 0.05899790453922721,
934
+ "score_mae": 0.21576630898132973
935
+ },
936
+ "customer_service": {
937
+ "n": 500,
938
+ "accuracy": 0.752,
939
+ "brier": 0.41040871384286687,
940
+ "nll": 0.7353371476881997,
941
+ "ece": 0.20705123373415235,
942
+ "soft_accuracy": 0.4611756408301321,
943
+ "brier_vs_soft": 0.08675205957239873,
944
+ "score_mae": 0.24272182922006663
945
+ }
946
+ },
947
+ "teacher_agreement": 0.95,
948
+ "mean_teacher_kl": 0.0034489698422857785,
949
+ "mean_probability_l1": 0.014594396385256265
950
+ },
951
+ "checks": {
952
+ "local_nmse": true,
953
+ "local_cosine": true,
954
+ "teacher_agreement": true,
955
+ "teacher_kl": true,
956
+ "accuracy_drop": true
957
+ },
958
+ "accuracy_drop": 0.007000000000000006,
959
+ "accepted": true
960
+ }
961
+ ],
962
+ "teacher_final": {
963
+ "n": 2000,
964
+ "accuracy": 0.7665,
965
+ "brier": 0.399591796314754,
966
+ "nll": 0.7068979180717072,
967
+ "ece": 0.2137387190950032,
968
+ "soft_accuracy": 0.47065861261740327,
969
+ "brier_vs_soft": 0.061465647879173455,
970
+ "score_mae": 0.24240958086979567,
971
+ "label": "teacher",
972
+ "seconds": 57.88921249799887,
973
+ "ms_per_case": 144.72303124499717,
974
+ "by_type": {
975
+ "choice": {
976
+ "n": 600,
977
+ "accuracy": 0.7333333333333333,
978
+ "brier": 0.46509578972312426,
979
+ "nll": 0.8650092521058057,
980
+ "ece": 0.2548481686896733,
981
+ "soft_accuracy": 0.398595875704782,
982
+ "brier_vs_soft": 0.082128886416041,
983
+ "score_mae": null
984
+ },
985
+ "noul": {
986
+ "n": 600,
987
+ "accuracy": 0.8566666666666667,
988
+ "brier": 0.2872277414,
989
+ "nll": 0.4560772115719036,
990
+ "ece": 0.1920716666666667,
991
+ "soft_accuracy": 0.618722929173,
992
+ "brier_vs_soft": 0.049437733831919996,
993
+ "score_mae": null
994
+ },
995
+ "score": {
996
+ "n": 800,
997
+ "accuracy": 0.72375,
998
+ "brier": 0.43473684244454175,
999
+ "nll": 0.7764299474209859,
1000
+ "ece": 0.199926421220253,
1001
+ "soft_accuracy": 0.4136574278851717,
1002
+ "brier_vs_soft": 0.05498915451196287,
1003
+ "score_mae": 0.24240958086979567
1004
+ }
1005
+ },
1006
+ "by_workflow": {
1007
+ "agent_trace_observability": {
1008
+ "n": 500,
1009
+ "accuracy": 0.73,
1010
+ "brier": 0.46119840934084355,
1011
+ "nll": 0.8008350310185499,
1012
+ "ece": 0.22930310799388903,
1013
+ "soft_accuracy": 0.4141887346759963,
1014
+ "brier_vs_soft": 0.0569316048974981,
1015
+ "score_mae": 0.21008644820503272
1016
+ },
1017
+ "customer_service": {
1018
+ "n": 500,
1019
+ "accuracy": 0.766,
1020
+ "brier": 0.39565424279208455,
1021
+ "nll": 0.7121864685594826,
1022
+ "ece": 0.21476239227480592,
1023
+ "soft_accuracy": 0.4685693174955372,
1024
+ "brier_vs_soft": 0.07900562228400827,
1025
+ "score_mae": 0.21979993301548778
1026
+ },
1027
+ "invoice_processing": {
1028
+ "n": 500,
1029
+ "accuracy": 0.804,
1030
+ "brier": 0.3024242175344631,
1031
+ "nll": 0.5564036962833907,
1032
+ "ece": 0.16495172278038128,
1033
+ "soft_accuracy": 0.5735877318126,
1034
+ "brier_vs_soft": 0.06397238746428649,
1035
+ "score_mae": 0.29189428531304207
1036
+ },
1037
+ "security_incidents": {
1038
+ "n": 500,
1039
+ "accuracy": 0.766,
1040
+ "brier": 0.43909031559162476,
1041
+ "nll": 0.7581664764254056,
1042
+ "ece": 0.24889776943293365,
1043
+ "soft_accuracy": 0.4262886664854796,
1044
+ "brier_vs_soft": 0.045952976870900976,
1045
+ "score_mae": 0.24785765694562018
1046
+ }
1047
+ }
1048
+ },
1049
+ "student_final": {
1050
+ "n": 2000,
1051
+ "accuracy": 0.7565,
1052
+ "brier": 0.4192253598540509,
1053
+ "nll": 0.7382791174146639,
1054
+ "ece": 0.22006181676192516,
1055
+ "soft_accuracy": 0.4583165866215686,
1056
+ "brier_vs_soft": 0.07148203327518848,
1057
+ "score_mae": 0.26762824626574605,
1058
+ "label": "integrated_memory_v22",
1059
+ "seconds": 88.18161495199661,
1060
+ "ms_per_case": 220.45403737999152,
1061
+ "by_type": {
1062
+ "choice": {
1063
+ "n": 600,
1064
+ "accuracy": 0.7133333333333334,
1065
+ "brier": 0.48318143890911264,
1066
+ "nll": 0.8957522341817514,
1067
+ "ece": 0.2505765597695356,
1068
+ "soft_accuracy": 0.3875148734225752,
1069
+ "brier_vs_soft": 0.0921980309360645,
1070
+ "score_mae": null
1071
+ },
1072
+ "noul": {
1073
+ "n": 600,
1074
+ "accuracy": 0.855,
1075
+ "brier": 0.3053989605333334,
1076
+ "nll": 0.47890459417317527,
1077
+ "ece": 0.201476,
1078
+ "soft_accuracy": 0.6071128530380001,
1079
+ "brier_vs_soft": 0.061017771901919995,
1080
+ "score_mae": null
1081
+ },
1082
+ "score": {
1083
+ "n": 800,
1084
+ "accuracy": 0.715,
1085
+ "brier": 0.45662810005329285,
1086
+ "nll": 0.8147051722704647,
1087
+ "ece": 0.2114527922983204,
1088
+ "soft_accuracy": 0.39982067170849006,
1089
+ "brier_vs_soft": 0.06379323105948285,
1090
+ "score_mae": 0.26762824626574605
1091
+ }
1092
+ },
1093
+ "by_workflow": {
1094
+ "agent_trace_observability": {
1095
+ "n": 500,
1096
+ "accuracy": 0.73,
1097
+ "brier": 0.4701173803836928,
1098
+ "nll": 0.8144906109904325,
1099
+ "ece": 0.24005960335156606,
1100
+ "soft_accuracy": 0.40967497805154746,
1101
+ "brier_vs_soft": 0.05899790453922721,
1102
+ "score_mae": 0.21576630898132973
1103
+ },
1104
+ "customer_service": {
1105
+ "n": 500,
1106
+ "accuracy": 0.752,
1107
+ "brier": 0.41040871384286687,
1108
+ "nll": 0.7353371476881997,
1109
+ "ece": 0.20705123373415235,
1110
+ "soft_accuracy": 0.4611756408301321,
1111
+ "brier_vs_soft": 0.08675205957239873,
1112
+ "score_mae": 0.24272182922006663
1113
+ },
1114
+ "invoice_processing": {
1115
+ "n": 500,
1116
+ "accuracy": 0.792,
1117
+ "brier": 0.3475108461019668,
1118
+ "nll": 0.6283555962568207,
1119
+ "ece": 0.1922827958626499,
1120
+ "soft_accuracy": 0.5398765819461296,
1121
+ "brier_vs_soft": 0.09234669726941684,
1122
+ "score_mae": 0.358769885554038
1123
+ },
1124
+ "security_incidents": {
1125
+ "n": 500,
1126
+ "accuracy": 0.752,
1127
+ "brier": 0.44886449908767717,
1128
+ "nll": 0.7749331147232026,
1129
+ "ece": 0.244265104305943,
1130
+ "soft_accuracy": 0.422539145658465,
1131
+ "brier_vs_soft": 0.04783147171971119,
1132
+ "score_mae": 0.2532549613075499
1133
+ }
1134
+ },
1135
+ "teacher_agreement": 0.928,
1136
+ "mean_teacher_kl": 0.009227598237925764,
1137
+ "mean_probability_l1": 0.023097623163465586
1138
+ },
1139
+ "latency": {
1140
+ "teacher": {
1141
+ "median_ms": 41.58984549985689,
1142
+ "p95_ms": 46.44029574976685,
1143
+ "mean_ms": 42.51359364993732,
1144
+ "repeats": 20
1145
+ },
1146
+ "student": {
1147
+ "median_ms": 51.85900900005436,
1148
+ "p95_ms": 54.88843855016513,
1149
+ "mean_ms": 52.6504143000011,
1150
+ "repeats": 20
1151
+ }
1152
+ },
1153
+ "demo": {
1154
+ "teacher": {
1155
+ "model": "laya-rl-agent",
1156
+ "answers": {
1157
+ "department": {
1158
+ "type": "choice",
1159
+ "choice": "billing",
1160
+ "probabilities": {
1161
+ "billing": 0.8037,
1162
+ "technical": 0.0677,
1163
+ "sales": 0.0608,
1164
+ "other": 0.0679
1165
+ },
1166
+ "confidence": 0.4873,
1167
+ "action": {
1168
+ "act_probability": 1.0
1169
+ }
1170
+ },
1171
+ "urgency": {
1172
+ "type": "score",
1173
+ "score": 1.6379,
1174
+ "legend": {
1175
+ "0": "not urgent",
1176
+ "1": "soon",
1177
+ "2": "critical deadline or blocking issue"
1178
+ },
1179
+ "probabilities": {
1180
+ "0": 0.044,
1181
+ "1": 0.2742,
1182
+ "2": 0.6819
1183
+ },
1184
+ "confidence": 0.3144,
1185
+ "action": {
1186
+ "act_probability": 1.0
1187
+ }
1188
+ },
1189
+ "churn_risk": {
1190
+ "type": "noul",
1191
+ "noul": 0.7062,
1192
+ "confidence": 0.7062,
1193
+ "action": {
1194
+ "act_probability": 1.0
1195
+ }
1196
+ },
1197
+ "refund_requested": {
1198
+ "type": "noul",
1199
+ "noul": 0.6678,
1200
+ "confidence": 0.6678,
1201
+ "action": {
1202
+ "act_probability": 1.0
1203
+ }
1204
+ }
1205
+ },
1206
+ "usage": {
1207
+ "input_tokens": 348,
1208
+ "output_tokens": 0
1209
+ }
1210
+ },
1211
+ "student": {
1212
+ "model": "laya-rl-agent",
1213
+ "answers": {
1214
+ "department": {
1215
+ "type": "choice",
1216
+ "choice": "billing",
1217
+ "probabilities": {
1218
+ "billing": 0.7805,
1219
+ "technical": 0.0681,
1220
+ "sales": 0.0801,
1221
+ "other": 0.0713
1222
+ },
1223
+ "confidence": 0.4468,
1224
+ "action": {
1225
+ "act_probability": 1.0
1226
+ }
1227
+ },
1228
+ "urgency": {
1229
+ "type": "score",
1230
+ "score": 1.6563,
1231
+ "legend": {
1232
+ "0": "not urgent",
1233
+ "1": "soon",
1234
+ "2": "critical deadline or blocking issue"
1235
+ },
1236
+ "probabilities": {
1237
+ "0": 0.0607,
1238
+ "1": 0.2223,
1239
+ "2": 0.717
1240
+ },
1241
+ "confidence": 0.3238,
1242
+ "action": {
1243
+ "act_probability": 1.0
1244
+ }
1245
+ },
1246
+ "churn_risk": {
1247
+ "type": "noul",
1248
+ "noul": 0.7114,
1249
+ "confidence": 0.7114,
1250
+ "action": {
1251
+ "act_probability": 1.0
1252
+ }
1253
+ },
1254
+ "refund_requested": {
1255
+ "type": "noul",
1256
+ "noul": 0.7019,
1257
+ "confidence": 0.7019,
1258
+ "action": {
1259
+ "act_probability": 1.0
1260
+ }
1261
+ }
1262
+ },
1263
+ "usage": {
1264
+ "input_tokens": 348,
1265
+ "output_tokens": 0
1266
+ }
1267
+ }
1268
+ },
1269
+ "note": "Laya uses a bidirectional ModernBERT encoder. Integrated Memory V2.2 uses learned attention transfer and tries full-attention layers first; these results are not interchangeable with causal-LM conversions.",
1270
+ "conversion_succeeded": true,
1271
+ "student_is_unmodified_teacher": false
1272
+ }
requirements.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ git+https://github.com/NandhaKishorM/laya.git
2
+ git+https://github.com/vtavakkoli/TinyCeNN-LM.git
3
+ huggingface_hub
run_manifest.json ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "run_id": "hf_export-20260922T144655Z",
3
+ "created_utc": "2026-09-22T14:46:55.651543+00:00",
4
+ "repo_id": "vtava/Laya-Integrated-Memory-V22",
5
+ "notebook": null,
6
+ "python": "3.13.15",
7
+ "platform": "Linux-6.6.122+-x86_64-with-glibc2.39",
8
+ "reports": [
9
+ "report.json"
10
+ ],
11
+ "torch": "2.11.0+cu128",
12
+ "cuda_available": true,
13
+ "gpu": "Tesla T4"
14
+ }