siddiVinayaka commited on
Commit
05a2c0c
ยท
verified ยท
1 Parent(s): e0f11a4

Upload Cortex_system_one(Testing).ipynb with Colab integration and config.json

Browse files
Files changed (1) hide show
  1. Cortex_system_one(Testing).ipynb +1332 -0
Cortex_system_one(Testing).ipynb ADDED
@@ -0,0 +1,1332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "nbformat": 4,
3
+ "nbformat_minor": 0,
4
+ "metadata": {
5
+ "colab": {
6
+ "provenance": [],
7
+ "gpuType": "T4"
8
+ },
9
+ "kernelspec": {
10
+ "name": "python3",
11
+ "display_name": "Python 3"
12
+ },
13
+ "language_info": {
14
+ "name": "python"
15
+ },
16
+ "accelerator": "GPU",
17
+ "widgets": {
18
+ "application/vnd.jupyter.widget-state+json": {
19
+ "version_major": 2,
20
+ "version_minor": 0,
21
+ "state": {
22
+ "f7f9a8df95804ef79d5cd9f090537421": {
23
+ "model_module": "@jupyter-widgets/controls",
24
+ "model_name": "HBoxModel",
25
+ "model_module_version": "1.5.0",
26
+ "state": {
27
+ "_dom_classes": [],
28
+ "_model_module": "@jupyter-widgets/controls",
29
+ "_model_module_version": "1.5.0",
30
+ "_model_name": "HBoxModel",
31
+ "_view_count": null,
32
+ "_view_module": "@jupyter-widgets/controls",
33
+ "_view_module_version": "1.5.0",
34
+ "_view_name": "HBoxView",
35
+ "box_style": "",
36
+ "children": [
37
+ "IPY_MODEL_6aaf3c6db9da47aaaf7d6a4be02148c9",
38
+ "IPY_MODEL_705b7ee7344444dd81b470e9712d701c",
39
+ "IPY_MODEL_bada74b4c90f4526bb0f7db6bf4851d0"
40
+ ],
41
+ "layout": "IPY_MODEL_de317c164c5a409c8395ac7a5ab17efe"
42
+ }
43
+ },
44
+ "6aaf3c6db9da47aaaf7d6a4be02148c9": {
45
+ "model_module": "@jupyter-widgets/controls",
46
+ "model_name": "HTMLModel",
47
+ "model_module_version": "1.5.0",
48
+ "state": {
49
+ "_dom_classes": [],
50
+ "_model_module": "@jupyter-widgets/controls",
51
+ "_model_module_version": "1.5.0",
52
+ "_model_name": "HTMLModel",
53
+ "_view_count": null,
54
+ "_view_module": "@jupyter-widgets/controls",
55
+ "_view_module_version": "1.5.0",
56
+ "_view_name": "HTMLView",
57
+ "description": "",
58
+ "description_tooltip": null,
59
+ "layout": "IPY_MODEL_a1eb9ac94eed44c5bcd4e00779a88f60",
60
+ "placeholder": "โ€‹",
61
+ "style": "IPY_MODEL_a8a3a73df13e4e64af0639fd6738febc",
62
+ "value": "Downloadโ€‡complete:โ€‡"
63
+ }
64
+ },
65
+ "705b7ee7344444dd81b470e9712d701c": {
66
+ "model_module": "@jupyter-widgets/controls",
67
+ "model_name": "FloatProgressModel",
68
+ "model_module_version": "1.5.0",
69
+ "state": {
70
+ "_dom_classes": [],
71
+ "_model_module": "@jupyter-widgets/controls",
72
+ "_model_module_version": "1.5.0",
73
+ "_model_name": "FloatProgressModel",
74
+ "_view_count": null,
75
+ "_view_module": "@jupyter-widgets/controls",
76
+ "_view_module_version": "1.5.0",
77
+ "_view_name": "ProgressView",
78
+ "bar_style": "success",
79
+ "description": "",
80
+ "description_tooltip": null,
81
+ "layout": "IPY_MODEL_3426eb7e99fa4af485f5d8468187dc30",
82
+ "max": 1,
83
+ "min": 0,
84
+ "orientation": "horizontal",
85
+ "style": "IPY_MODEL_e1d6a7529ba14093bd50c5a983c29fe6",
86
+ "value": 1
87
+ }
88
+ },
89
+ "bada74b4c90f4526bb0f7db6bf4851d0": {
90
+ "model_module": "@jupyter-widgets/controls",
91
+ "model_name": "HTMLModel",
92
+ "model_module_version": "1.5.0",
93
+ "state": {
94
+ "_dom_classes": [],
95
+ "_model_module": "@jupyter-widgets/controls",
96
+ "_model_module_version": "1.5.0",
97
+ "_model_name": "HTMLModel",
98
+ "_view_count": null,
99
+ "_view_module": "@jupyter-widgets/controls",
100
+ "_view_module_version": "1.5.0",
101
+ "_view_name": "HTMLView",
102
+ "description": "",
103
+ "description_tooltip": null,
104
+ "layout": "IPY_MODEL_1edcde8766044986ac32403e8e56cfa7",
105
+ "placeholder": "โ€‹",
106
+ "style": "IPY_MODEL_b71062bbbead4dccb0abc8aeae52fee0",
107
+ "value": "โ€‡2.08GB,โ€‡โ€‡114MB/sโ€‡โ€‡"
108
+ }
109
+ },
110
+ "de317c164c5a409c8395ac7a5ab17efe": {
111
+ "model_module": "@jupyter-widgets/base",
112
+ "model_name": "LayoutModel",
113
+ "model_module_version": "1.2.0",
114
+ "state": {
115
+ "_model_module": "@jupyter-widgets/base",
116
+ "_model_module_version": "1.2.0",
117
+ "_model_name": "LayoutModel",
118
+ "_view_count": null,
119
+ "_view_module": "@jupyter-widgets/base",
120
+ "_view_module_version": "1.2.0",
121
+ "_view_name": "LayoutView",
122
+ "align_content": null,
123
+ "align_items": null,
124
+ "align_self": null,
125
+ "border": null,
126
+ "bottom": null,
127
+ "display": null,
128
+ "flex": null,
129
+ "flex_flow": null,
130
+ "grid_area": null,
131
+ "grid_auto_columns": null,
132
+ "grid_auto_flow": null,
133
+ "grid_auto_rows": null,
134
+ "grid_column": null,
135
+ "grid_gap": null,
136
+ "grid_row": null,
137
+ "grid_template_areas": null,
138
+ "grid_template_columns": null,
139
+ "grid_template_rows": null,
140
+ "height": null,
141
+ "justify_content": null,
142
+ "justify_items": null,
143
+ "left": null,
144
+ "margin": null,
145
+ "max_height": null,
146
+ "max_width": null,
147
+ "min_height": null,
148
+ "min_width": null,
149
+ "object_fit": null,
150
+ "object_position": null,
151
+ "order": null,
152
+ "overflow": null,
153
+ "overflow_x": null,
154
+ "overflow_y": null,
155
+ "padding": null,
156
+ "right": null,
157
+ "top": null,
158
+ "visibility": null,
159
+ "width": null
160
+ }
161
+ },
162
+ "a1eb9ac94eed44c5bcd4e00779a88f60": {
163
+ "model_module": "@jupyter-widgets/base",
164
+ "model_name": "LayoutModel",
165
+ "model_module_version": "1.2.0",
166
+ "state": {
167
+ "_model_module": "@jupyter-widgets/base",
168
+ "_model_module_version": "1.2.0",
169
+ "_model_name": "LayoutModel",
170
+ "_view_count": null,
171
+ "_view_module": "@jupyter-widgets/base",
172
+ "_view_module_version": "1.2.0",
173
+ "_view_name": "LayoutView",
174
+ "align_content": null,
175
+ "align_items": null,
176
+ "align_self": null,
177
+ "border": null,
178
+ "bottom": null,
179
+ "display": null,
180
+ "flex": null,
181
+ "flex_flow": null,
182
+ "grid_area": null,
183
+ "grid_auto_columns": null,
184
+ "grid_auto_flow": null,
185
+ "grid_auto_rows": null,
186
+ "grid_column": null,
187
+ "grid_gap": null,
188
+ "grid_row": null,
189
+ "grid_template_areas": null,
190
+ "grid_template_columns": null,
191
+ "grid_template_rows": null,
192
+ "height": null,
193
+ "justify_content": null,
194
+ "justify_items": null,
195
+ "left": null,
196
+ "margin": null,
197
+ "max_height": null,
198
+ "max_width": null,
199
+ "min_height": null,
200
+ "min_width": null,
201
+ "object_fit": null,
202
+ "object_position": null,
203
+ "order": null,
204
+ "overflow": null,
205
+ "overflow_x": null,
206
+ "overflow_y": null,
207
+ "padding": null,
208
+ "right": null,
209
+ "top": null,
210
+ "visibility": null,
211
+ "width": null
212
+ }
213
+ },
214
+ "a8a3a73df13e4e64af0639fd6738febc": {
215
+ "model_module": "@jupyter-widgets/controls",
216
+ "model_name": "DescriptionStyleModel",
217
+ "model_module_version": "1.5.0",
218
+ "state": {
219
+ "_model_module": "@jupyter-widgets/controls",
220
+ "_model_module_version": "1.5.0",
221
+ "_model_name": "DescriptionStyleModel",
222
+ "_view_count": null,
223
+ "_view_module": "@jupyter-widgets/base",
224
+ "_view_module_version": "1.2.0",
225
+ "_view_name": "StyleView",
226
+ "description_width": ""
227
+ }
228
+ },
229
+ "3426eb7e99fa4af485f5d8468187dc30": {
230
+ "model_module": "@jupyter-widgets/base",
231
+ "model_name": "LayoutModel",
232
+ "model_module_version": "1.2.0",
233
+ "state": {
234
+ "_model_module": "@jupyter-widgets/base",
235
+ "_model_module_version": "1.2.0",
236
+ "_model_name": "LayoutModel",
237
+ "_view_count": null,
238
+ "_view_module": "@jupyter-widgets/base",
239
+ "_view_module_version": "1.2.0",
240
+ "_view_name": "LayoutView",
241
+ "align_content": null,
242
+ "align_items": null,
243
+ "align_self": null,
244
+ "border": null,
245
+ "bottom": null,
246
+ "display": null,
247
+ "flex": null,
248
+ "flex_flow": null,
249
+ "grid_area": null,
250
+ "grid_auto_columns": null,
251
+ "grid_auto_flow": null,
252
+ "grid_auto_rows": null,
253
+ "grid_column": null,
254
+ "grid_gap": null,
255
+ "grid_row": null,
256
+ "grid_template_areas": null,
257
+ "grid_template_columns": null,
258
+ "grid_template_rows": null,
259
+ "height": null,
260
+ "justify_content": null,
261
+ "justify_items": null,
262
+ "left": null,
263
+ "margin": null,
264
+ "max_height": null,
265
+ "max_width": null,
266
+ "min_height": null,
267
+ "min_width": null,
268
+ "object_fit": null,
269
+ "object_position": null,
270
+ "order": null,
271
+ "overflow": null,
272
+ "overflow_x": null,
273
+ "overflow_y": null,
274
+ "padding": null,
275
+ "right": null,
276
+ "top": null,
277
+ "visibility": null,
278
+ "width": "20px"
279
+ }
280
+ },
281
+ "e1d6a7529ba14093bd50c5a983c29fe6": {
282
+ "model_module": "@jupyter-widgets/controls",
283
+ "model_name": "ProgressStyleModel",
284
+ "model_module_version": "1.5.0",
285
+ "state": {
286
+ "_model_module": "@jupyter-widgets/controls",
287
+ "_model_module_version": "1.5.0",
288
+ "_model_name": "ProgressStyleModel",
289
+ "_view_count": null,
290
+ "_view_module": "@jupyter-widgets/base",
291
+ "_view_module_version": "1.2.0",
292
+ "_view_name": "StyleView",
293
+ "bar_color": null,
294
+ "description_width": ""
295
+ }
296
+ },
297
+ "1edcde8766044986ac32403e8e56cfa7": {
298
+ "model_module": "@jupyter-widgets/base",
299
+ "model_name": "LayoutModel",
300
+ "model_module_version": "1.2.0",
301
+ "state": {
302
+ "_model_module": "@jupyter-widgets/base",
303
+ "_model_module_version": "1.2.0",
304
+ "_model_name": "LayoutModel",
305
+ "_view_count": null,
306
+ "_view_module": "@jupyter-widgets/base",
307
+ "_view_module_version": "1.2.0",
308
+ "_view_name": "LayoutView",
309
+ "align_content": null,
310
+ "align_items": null,
311
+ "align_self": null,
312
+ "border": null,
313
+ "bottom": null,
314
+ "display": null,
315
+ "flex": null,
316
+ "flex_flow": null,
317
+ "grid_area": null,
318
+ "grid_auto_columns": null,
319
+ "grid_auto_flow": null,
320
+ "grid_auto_rows": null,
321
+ "grid_column": null,
322
+ "grid_gap": null,
323
+ "grid_row": null,
324
+ "grid_template_areas": null,
325
+ "grid_template_columns": null,
326
+ "grid_template_rows": null,
327
+ "height": null,
328
+ "justify_content": null,
329
+ "justify_items": null,
330
+ "left": null,
331
+ "margin": null,
332
+ "max_height": null,
333
+ "max_width": null,
334
+ "min_height": null,
335
+ "min_width": null,
336
+ "object_fit": null,
337
+ "object_position": null,
338
+ "order": null,
339
+ "overflow": null,
340
+ "overflow_x": null,
341
+ "overflow_y": null,
342
+ "padding": null,
343
+ "right": null,
344
+ "top": null,
345
+ "visibility": null,
346
+ "width": null
347
+ }
348
+ },
349
+ "b71062bbbead4dccb0abc8aeae52fee0": {
350
+ "model_module": "@jupyter-widgets/controls",
351
+ "model_name": "DescriptionStyleModel",
352
+ "model_module_version": "1.5.0",
353
+ "state": {
354
+ "_model_module": "@jupyter-widgets/controls",
355
+ "_model_module_version": "1.5.0",
356
+ "_model_name": "DescriptionStyleModel",
357
+ "_view_count": null,
358
+ "_view_module": "@jupyter-widgets/base",
359
+ "_view_module_version": "1.2.0",
360
+ "_view_name": "StyleView",
361
+ "description_width": ""
362
+ }
363
+ },
364
+ "00636c5f08c6401fa461700c48f2cf71": {
365
+ "model_module": "@jupyter-widgets/controls",
366
+ "model_name": "HBoxModel",
367
+ "model_module_version": "1.5.0",
368
+ "state": {
369
+ "_dom_classes": [],
370
+ "_model_module": "@jupyter-widgets/controls",
371
+ "_model_module_version": "1.5.0",
372
+ "_model_name": "HBoxModel",
373
+ "_view_count": null,
374
+ "_view_module": "@jupyter-widgets/controls",
375
+ "_view_module_version": "1.5.0",
376
+ "_view_name": "HBoxView",
377
+ "box_style": "",
378
+ "children": [
379
+ "IPY_MODEL_79b9da8703874d1cb4c6e2a74444d164",
380
+ "IPY_MODEL_f3828ae5f0e9481dadc2ac40d75a26fd",
381
+ "IPY_MODEL_3c00b5d2d969494ba7ab381f11308820"
382
+ ],
383
+ "layout": "IPY_MODEL_ea5a802ff56b473bbbb8a225024acb13"
384
+ }
385
+ },
386
+ "79b9da8703874d1cb4c6e2a74444d164": {
387
+ "model_module": "@jupyter-widgets/controls",
388
+ "model_name": "HTMLModel",
389
+ "model_module_version": "1.5.0",
390
+ "state": {
391
+ "_dom_classes": [],
392
+ "_model_module": "@jupyter-widgets/controls",
393
+ "_model_module_version": "1.5.0",
394
+ "_model_name": "HTMLModel",
395
+ "_view_count": null,
396
+ "_view_module": "@jupyter-widgets/controls",
397
+ "_view_module_version": "1.5.0",
398
+ "_view_name": "HTMLView",
399
+ "description": "",
400
+ "description_tooltip": null,
401
+ "layout": "IPY_MODEL_a599f627ffd74a70980f8478a7b3db93",
402
+ "placeholder": "โ€‹",
403
+ "style": "IPY_MODEL_a42310f1d49f4009894aad42116e1096",
404
+ "value": "Reconstructionโ€‡complete:โ€‡100%"
405
+ }
406
+ },
407
+ "f3828ae5f0e9481dadc2ac40d75a26fd": {
408
+ "model_module": "@jupyter-widgets/controls",
409
+ "model_name": "FloatProgressModel",
410
+ "model_module_version": "1.5.0",
411
+ "state": {
412
+ "_dom_classes": [],
413
+ "_model_module": "@jupyter-widgets/controls",
414
+ "_model_module_version": "1.5.0",
415
+ "_model_name": "FloatProgressModel",
416
+ "_view_count": null,
417
+ "_view_module": "@jupyter-widgets/controls",
418
+ "_view_module_version": "1.5.0",
419
+ "_view_name": "ProgressView",
420
+ "bar_style": "success",
421
+ "description": "",
422
+ "description_tooltip": null,
423
+ "layout": "IPY_MODEL_e9e1c82ef4b54578bae556d14d1cdeea",
424
+ "max": 1,
425
+ "min": 0,
426
+ "orientation": "horizontal",
427
+ "style": "IPY_MODEL_4f526a2334a94b6c9b60ab1ff8087dbe",
428
+ "value": 1
429
+ }
430
+ },
431
+ "3c00b5d2d969494ba7ab381f11308820": {
432
+ "model_module": "@jupyter-widgets/controls",
433
+ "model_name": "HTMLModel",
434
+ "model_module_version": "1.5.0",
435
+ "state": {
436
+ "_dom_classes": [],
437
+ "_model_module": "@jupyter-widgets/controls",
438
+ "_model_module_version": "1.5.0",
439
+ "_model_name": "HTMLModel",
440
+ "_view_count": null,
441
+ "_view_module": "@jupyter-widgets/controls",
442
+ "_view_module_version": "1.5.0",
443
+ "_view_name": "HTMLView",
444
+ "description": "",
445
+ "description_tooltip": null,
446
+ "layout": "IPY_MODEL_a60df5dd78a140968f7d2db07a853459",
447
+ "placeholder": "โ€‹",
448
+ "style": "IPY_MODEL_aa42d71434b3400a8e2200e27f3199c1",
449
+ "value": "โ€‡2.21GBโ€‡/โ€‡2.21GB,โ€‡โ€‡165MB/sโ€‡โ€‡"
450
+ }
451
+ },
452
+ "ea5a802ff56b473bbbb8a225024acb13": {
453
+ "model_module": "@jupyter-widgets/base",
454
+ "model_name": "LayoutModel",
455
+ "model_module_version": "1.2.0",
456
+ "state": {
457
+ "_model_module": "@jupyter-widgets/base",
458
+ "_model_module_version": "1.2.0",
459
+ "_model_name": "LayoutModel",
460
+ "_view_count": null,
461
+ "_view_module": "@jupyter-widgets/base",
462
+ "_view_module_version": "1.2.0",
463
+ "_view_name": "LayoutView",
464
+ "align_content": null,
465
+ "align_items": null,
466
+ "align_self": null,
467
+ "border": null,
468
+ "bottom": null,
469
+ "display": null,
470
+ "flex": null,
471
+ "flex_flow": null,
472
+ "grid_area": null,
473
+ "grid_auto_columns": null,
474
+ "grid_auto_flow": null,
475
+ "grid_auto_rows": null,
476
+ "grid_column": null,
477
+ "grid_gap": null,
478
+ "grid_row": null,
479
+ "grid_template_areas": null,
480
+ "grid_template_columns": null,
481
+ "grid_template_rows": null,
482
+ "height": null,
483
+ "justify_content": null,
484
+ "justify_items": null,
485
+ "left": null,
486
+ "margin": null,
487
+ "max_height": null,
488
+ "max_width": null,
489
+ "min_height": null,
490
+ "min_width": null,
491
+ "object_fit": null,
492
+ "object_position": null,
493
+ "order": null,
494
+ "overflow": null,
495
+ "overflow_x": null,
496
+ "overflow_y": null,
497
+ "padding": null,
498
+ "right": null,
499
+ "top": null,
500
+ "visibility": null,
501
+ "width": null
502
+ }
503
+ },
504
+ "a599f627ffd74a70980f8478a7b3db93": {
505
+ "model_module": "@jupyter-widgets/base",
506
+ "model_name": "LayoutModel",
507
+ "model_module_version": "1.2.0",
508
+ "state": {
509
+ "_model_module": "@jupyter-widgets/base",
510
+ "_model_module_version": "1.2.0",
511
+ "_model_name": "LayoutModel",
512
+ "_view_count": null,
513
+ "_view_module": "@jupyter-widgets/base",
514
+ "_view_module_version": "1.2.0",
515
+ "_view_name": "LayoutView",
516
+ "align_content": null,
517
+ "align_items": null,
518
+ "align_self": null,
519
+ "border": null,
520
+ "bottom": null,
521
+ "display": null,
522
+ "flex": null,
523
+ "flex_flow": null,
524
+ "grid_area": null,
525
+ "grid_auto_columns": null,
526
+ "grid_auto_flow": null,
527
+ "grid_auto_rows": null,
528
+ "grid_column": null,
529
+ "grid_gap": null,
530
+ "grid_row": null,
531
+ "grid_template_areas": null,
532
+ "grid_template_columns": null,
533
+ "grid_template_rows": null,
534
+ "height": null,
535
+ "justify_content": null,
536
+ "justify_items": null,
537
+ "left": null,
538
+ "margin": null,
539
+ "max_height": null,
540
+ "max_width": null,
541
+ "min_height": null,
542
+ "min_width": null,
543
+ "object_fit": null,
544
+ "object_position": null,
545
+ "order": null,
546
+ "overflow": null,
547
+ "overflow_x": null,
548
+ "overflow_y": null,
549
+ "padding": null,
550
+ "right": null,
551
+ "top": null,
552
+ "visibility": null,
553
+ "width": null
554
+ }
555
+ },
556
+ "a42310f1d49f4009894aad42116e1096": {
557
+ "model_module": "@jupyter-widgets/controls",
558
+ "model_name": "DescriptionStyleModel",
559
+ "model_module_version": "1.5.0",
560
+ "state": {
561
+ "_model_module": "@jupyter-widgets/controls",
562
+ "_model_module_version": "1.5.0",
563
+ "_model_name": "DescriptionStyleModel",
564
+ "_view_count": null,
565
+ "_view_module": "@jupyter-widgets/base",
566
+ "_view_module_version": "1.2.0",
567
+ "_view_name": "StyleView",
568
+ "description_width": ""
569
+ }
570
+ },
571
+ "e9e1c82ef4b54578bae556d14d1cdeea": {
572
+ "model_module": "@jupyter-widgets/base",
573
+ "model_name": "LayoutModel",
574
+ "model_module_version": "1.2.0",
575
+ "state": {
576
+ "_model_module": "@jupyter-widgets/base",
577
+ "_model_module_version": "1.2.0",
578
+ "_model_name": "LayoutModel",
579
+ "_view_count": null,
580
+ "_view_module": "@jupyter-widgets/base",
581
+ "_view_module_version": "1.2.0",
582
+ "_view_name": "LayoutView",
583
+ "align_content": null,
584
+ "align_items": null,
585
+ "align_self": null,
586
+ "border": null,
587
+ "bottom": null,
588
+ "display": null,
589
+ "flex": null,
590
+ "flex_flow": null,
591
+ "grid_area": null,
592
+ "grid_auto_columns": null,
593
+ "grid_auto_flow": null,
594
+ "grid_auto_rows": null,
595
+ "grid_column": null,
596
+ "grid_gap": null,
597
+ "grid_row": null,
598
+ "grid_template_areas": null,
599
+ "grid_template_columns": null,
600
+ "grid_template_rows": null,
601
+ "height": null,
602
+ "justify_content": null,
603
+ "justify_items": null,
604
+ "left": null,
605
+ "margin": null,
606
+ "max_height": null,
607
+ "max_width": null,
608
+ "min_height": null,
609
+ "min_width": null,
610
+ "object_fit": null,
611
+ "object_position": null,
612
+ "order": null,
613
+ "overflow": null,
614
+ "overflow_x": null,
615
+ "overflow_y": null,
616
+ "padding": null,
617
+ "right": null,
618
+ "top": null,
619
+ "visibility": null,
620
+ "width": "20px"
621
+ }
622
+ },
623
+ "4f526a2334a94b6c9b60ab1ff8087dbe": {
624
+ "model_module": "@jupyter-widgets/controls",
625
+ "model_name": "ProgressStyleModel",
626
+ "model_module_version": "1.5.0",
627
+ "state": {
628
+ "_model_module": "@jupyter-widgets/controls",
629
+ "_model_module_version": "1.5.0",
630
+ "_model_name": "ProgressStyleModel",
631
+ "_view_count": null,
632
+ "_view_module": "@jupyter-widgets/base",
633
+ "_view_module_version": "1.2.0",
634
+ "_view_name": "StyleView",
635
+ "bar_color": null,
636
+ "description_width": ""
637
+ }
638
+ },
639
+ "a60df5dd78a140968f7d2db07a853459": {
640
+ "model_module": "@jupyter-widgets/base",
641
+ "model_name": "LayoutModel",
642
+ "model_module_version": "1.2.0",
643
+ "state": {
644
+ "_model_module": "@jupyter-widgets/base",
645
+ "_model_module_version": "1.2.0",
646
+ "_model_name": "LayoutModel",
647
+ "_view_count": null,
648
+ "_view_module": "@jupyter-widgets/base",
649
+ "_view_module_version": "1.2.0",
650
+ "_view_name": "LayoutView",
651
+ "align_content": null,
652
+ "align_items": null,
653
+ "align_self": null,
654
+ "border": null,
655
+ "bottom": null,
656
+ "display": null,
657
+ "flex": null,
658
+ "flex_flow": null,
659
+ "grid_area": null,
660
+ "grid_auto_columns": null,
661
+ "grid_auto_flow": null,
662
+ "grid_auto_rows": null,
663
+ "grid_column": null,
664
+ "grid_gap": null,
665
+ "grid_row": null,
666
+ "grid_template_areas": null,
667
+ "grid_template_columns": null,
668
+ "grid_template_rows": null,
669
+ "height": null,
670
+ "justify_content": null,
671
+ "justify_items": null,
672
+ "left": null,
673
+ "margin": null,
674
+ "max_height": null,
675
+ "max_width": null,
676
+ "min_height": null,
677
+ "min_width": null,
678
+ "object_fit": null,
679
+ "object_position": null,
680
+ "order": null,
681
+ "overflow": null,
682
+ "overflow_x": null,
683
+ "overflow_y": null,
684
+ "padding": null,
685
+ "right": null,
686
+ "top": null,
687
+ "visibility": null,
688
+ "width": null
689
+ }
690
+ },
691
+ "aa42d71434b3400a8e2200e27f3199c1": {
692
+ "model_module": "@jupyter-widgets/controls",
693
+ "model_name": "DescriptionStyleModel",
694
+ "model_module_version": "1.5.0",
695
+ "state": {
696
+ "_model_module": "@jupyter-widgets/controls",
697
+ "_model_module_version": "1.5.0",
698
+ "_model_name": "DescriptionStyleModel",
699
+ "_view_count": null,
700
+ "_view_module": "@jupyter-widgets/base",
701
+ "_view_module_version": "1.2.0",
702
+ "_view_name": "StyleView",
703
+ "description_width": ""
704
+ }
705
+ },
706
+ "a0cb564607e549828c34039562708431": {
707
+ "model_module": "@jupyter-widgets/controls",
708
+ "model_name": "HBoxModel",
709
+ "model_module_version": "1.5.0",
710
+ "state": {
711
+ "_dom_classes": [],
712
+ "_model_module": "@jupyter-widgets/controls",
713
+ "_model_module_version": "1.5.0",
714
+ "_model_name": "HBoxModel",
715
+ "_view_count": null,
716
+ "_view_module": "@jupyter-widgets/controls",
717
+ "_view_module_version": "1.5.0",
718
+ "_view_name": "HBoxView",
719
+ "box_style": "",
720
+ "children": [
721
+ "IPY_MODEL_01ec7dc795d5427786816a8e129af59e",
722
+ "IPY_MODEL_aa7c3d9011ff4a959a942e2477807b48",
723
+ "IPY_MODEL_79d7415035e54896ab0903493e1b464d"
724
+ ],
725
+ "layout": "IPY_MODEL_5bbf9bc0d0cb467584732d074e829340"
726
+ }
727
+ },
728
+ "01ec7dc795d5427786816a8e129af59e": {
729
+ "model_module": "@jupyter-widgets/controls",
730
+ "model_name": "HTMLModel",
731
+ "model_module_version": "1.5.0",
732
+ "state": {
733
+ "_dom_classes": [],
734
+ "_model_module": "@jupyter-widgets/controls",
735
+ "_model_module_version": "1.5.0",
736
+ "_model_name": "HTMLModel",
737
+ "_view_count": null,
738
+ "_view_module": "@jupyter-widgets/controls",
739
+ "_view_module_version": "1.5.0",
740
+ "_view_name": "HTMLView",
741
+ "description": "",
742
+ "description_tooltip": null,
743
+ "layout": "IPY_MODEL_b3c34aebaddf43a89ac745fded98d3b7",
744
+ "placeholder": "โ€‹",
745
+ "style": "IPY_MODEL_ce8e46a85def48c291e2dee27fec2750",
746
+ "value": "Fetchingโ€‡10โ€‡files:โ€‡100%"
747
+ }
748
+ },
749
+ "aa7c3d9011ff4a959a942e2477807b48": {
750
+ "model_module": "@jupyter-widgets/controls",
751
+ "model_name": "FloatProgressModel",
752
+ "model_module_version": "1.5.0",
753
+ "state": {
754
+ "_dom_classes": [],
755
+ "_model_module": "@jupyter-widgets/controls",
756
+ "_model_module_version": "1.5.0",
757
+ "_model_name": "FloatProgressModel",
758
+ "_view_count": null,
759
+ "_view_module": "@jupyter-widgets/controls",
760
+ "_view_module_version": "1.5.0",
761
+ "_view_name": "ProgressView",
762
+ "bar_style": "success",
763
+ "description": "",
764
+ "description_tooltip": null,
765
+ "layout": "IPY_MODEL_3738c01cc31448e6a881dde5d3d06234",
766
+ "max": 10,
767
+ "min": 0,
768
+ "orientation": "horizontal",
769
+ "style": "IPY_MODEL_d5ac3321af0745f1883a58c556f680fd",
770
+ "value": 10
771
+ }
772
+ },
773
+ "79d7415035e54896ab0903493e1b464d": {
774
+ "model_module": "@jupyter-widgets/controls",
775
+ "model_name": "HTMLModel",
776
+ "model_module_version": "1.5.0",
777
+ "state": {
778
+ "_dom_classes": [],
779
+ "_model_module": "@jupyter-widgets/controls",
780
+ "_model_module_version": "1.5.0",
781
+ "_model_name": "HTMLModel",
782
+ "_view_count": null,
783
+ "_view_module": "@jupyter-widgets/controls",
784
+ "_view_module_version": "1.5.0",
785
+ "_view_name": "HTMLView",
786
+ "description": "",
787
+ "description_tooltip": null,
788
+ "layout": "IPY_MODEL_db55a40a57e342cf800db4d027363a5a",
789
+ "placeholder": "โ€‹",
790
+ "style": "IPY_MODEL_fc26ad5335a94ece81be7847711e19e2",
791
+ "value": "โ€‡10/10โ€‡[00:16<00:00,โ€‡10.17it/s]"
792
+ }
793
+ },
794
+ "5bbf9bc0d0cb467584732d074e829340": {
795
+ "model_module": "@jupyter-widgets/base",
796
+ "model_name": "LayoutModel",
797
+ "model_module_version": "1.2.0",
798
+ "state": {
799
+ "_model_module": "@jupyter-widgets/base",
800
+ "_model_module_version": "1.2.0",
801
+ "_model_name": "LayoutModel",
802
+ "_view_count": null,
803
+ "_view_module": "@jupyter-widgets/base",
804
+ "_view_module_version": "1.2.0",
805
+ "_view_name": "LayoutView",
806
+ "align_content": null,
807
+ "align_items": null,
808
+ "align_self": null,
809
+ "border": null,
810
+ "bottom": null,
811
+ "display": null,
812
+ "flex": null,
813
+ "flex_flow": null,
814
+ "grid_area": null,
815
+ "grid_auto_columns": null,
816
+ "grid_auto_flow": null,
817
+ "grid_auto_rows": null,
818
+ "grid_column": null,
819
+ "grid_gap": null,
820
+ "grid_row": null,
821
+ "grid_template_areas": null,
822
+ "grid_template_columns": null,
823
+ "grid_template_rows": null,
824
+ "height": null,
825
+ "justify_content": null,
826
+ "justify_items": null,
827
+ "left": null,
828
+ "margin": null,
829
+ "max_height": null,
830
+ "max_width": null,
831
+ "min_height": null,
832
+ "min_width": null,
833
+ "object_fit": null,
834
+ "object_position": null,
835
+ "order": null,
836
+ "overflow": null,
837
+ "overflow_x": null,
838
+ "overflow_y": null,
839
+ "padding": null,
840
+ "right": null,
841
+ "top": null,
842
+ "visibility": null,
843
+ "width": null
844
+ }
845
+ },
846
+ "b3c34aebaddf43a89ac745fded98d3b7": {
847
+ "model_module": "@jupyter-widgets/base",
848
+ "model_name": "LayoutModel",
849
+ "model_module_version": "1.2.0",
850
+ "state": {
851
+ "_model_module": "@jupyter-widgets/base",
852
+ "_model_module_version": "1.2.0",
853
+ "_model_name": "LayoutModel",
854
+ "_view_count": null,
855
+ "_view_module": "@jupyter-widgets/base",
856
+ "_view_module_version": "1.2.0",
857
+ "_view_name": "LayoutView",
858
+ "align_content": null,
859
+ "align_items": null,
860
+ "align_self": null,
861
+ "border": null,
862
+ "bottom": null,
863
+ "display": null,
864
+ "flex": null,
865
+ "flex_flow": null,
866
+ "grid_area": null,
867
+ "grid_auto_columns": null,
868
+ "grid_auto_flow": null,
869
+ "grid_auto_rows": null,
870
+ "grid_column": null,
871
+ "grid_gap": null,
872
+ "grid_row": null,
873
+ "grid_template_areas": null,
874
+ "grid_template_columns": null,
875
+ "grid_template_rows": null,
876
+ "height": null,
877
+ "justify_content": null,
878
+ "justify_items": null,
879
+ "left": null,
880
+ "margin": null,
881
+ "max_height": null,
882
+ "max_width": null,
883
+ "min_height": null,
884
+ "min_width": null,
885
+ "object_fit": null,
886
+ "object_position": null,
887
+ "order": null,
888
+ "overflow": null,
889
+ "overflow_x": null,
890
+ "overflow_y": null,
891
+ "padding": null,
892
+ "right": null,
893
+ "top": null,
894
+ "visibility": null,
895
+ "width": null
896
+ }
897
+ },
898
+ "ce8e46a85def48c291e2dee27fec2750": {
899
+ "model_module": "@jupyter-widgets/controls",
900
+ "model_name": "DescriptionStyleModel",
901
+ "model_module_version": "1.5.0",
902
+ "state": {
903
+ "_model_module": "@jupyter-widgets/controls",
904
+ "_model_module_version": "1.5.0",
905
+ "_model_name": "DescriptionStyleModel",
906
+ "_view_count": null,
907
+ "_view_module": "@jupyter-widgets/base",
908
+ "_view_module_version": "1.2.0",
909
+ "_view_name": "StyleView",
910
+ "description_width": ""
911
+ }
912
+ },
913
+ "3738c01cc31448e6a881dde5d3d06234": {
914
+ "model_module": "@jupyter-widgets/base",
915
+ "model_name": "LayoutModel",
916
+ "model_module_version": "1.2.0",
917
+ "state": {
918
+ "_model_module": "@jupyter-widgets/base",
919
+ "_model_module_version": "1.2.0",
920
+ "_model_name": "LayoutModel",
921
+ "_view_count": null,
922
+ "_view_module": "@jupyter-widgets/base",
923
+ "_view_module_version": "1.2.0",
924
+ "_view_name": "LayoutView",
925
+ "align_content": null,
926
+ "align_items": null,
927
+ "align_self": null,
928
+ "border": null,
929
+ "bottom": null,
930
+ "display": null,
931
+ "flex": null,
932
+ "flex_flow": null,
933
+ "grid_area": null,
934
+ "grid_auto_columns": null,
935
+ "grid_auto_flow": null,
936
+ "grid_auto_rows": null,
937
+ "grid_column": null,
938
+ "grid_gap": null,
939
+ "grid_row": null,
940
+ "grid_template_areas": null,
941
+ "grid_template_columns": null,
942
+ "grid_template_rows": null,
943
+ "height": null,
944
+ "justify_content": null,
945
+ "justify_items": null,
946
+ "left": null,
947
+ "margin": null,
948
+ "max_height": null,
949
+ "max_width": null,
950
+ "min_height": null,
951
+ "min_width": null,
952
+ "object_fit": null,
953
+ "object_position": null,
954
+ "order": null,
955
+ "overflow": null,
956
+ "overflow_x": null,
957
+ "overflow_y": null,
958
+ "padding": null,
959
+ "right": null,
960
+ "top": null,
961
+ "visibility": null,
962
+ "width": null
963
+ }
964
+ },
965
+ "d5ac3321af0745f1883a58c556f680fd": {
966
+ "model_module": "@jupyter-widgets/controls",
967
+ "model_name": "ProgressStyleModel",
968
+ "model_module_version": "1.5.0",
969
+ "state": {
970
+ "_model_module": "@jupyter-widgets/controls",
971
+ "_model_module_version": "1.5.0",
972
+ "_model_name": "ProgressStyleModel",
973
+ "_view_count": null,
974
+ "_view_module": "@jupyter-widgets/base",
975
+ "_view_module_version": "1.2.0",
976
+ "_view_name": "StyleView",
977
+ "bar_color": null,
978
+ "description_width": ""
979
+ }
980
+ },
981
+ "db55a40a57e342cf800db4d027363a5a": {
982
+ "model_module": "@jupyter-widgets/base",
983
+ "model_name": "LayoutModel",
984
+ "model_module_version": "1.2.0",
985
+ "state": {
986
+ "_model_module": "@jupyter-widgets/base",
987
+ "_model_module_version": "1.2.0",
988
+ "_model_name": "LayoutModel",
989
+ "_view_count": null,
990
+ "_view_module": "@jupyter-widgets/base",
991
+ "_view_module_version": "1.2.0",
992
+ "_view_name": "LayoutView",
993
+ "align_content": null,
994
+ "align_items": null,
995
+ "align_self": null,
996
+ "border": null,
997
+ "bottom": null,
998
+ "display": null,
999
+ "flex": null,
1000
+ "flex_flow": null,
1001
+ "grid_area": null,
1002
+ "grid_auto_columns": null,
1003
+ "grid_auto_flow": null,
1004
+ "grid_auto_rows": null,
1005
+ "grid_column": null,
1006
+ "grid_gap": null,
1007
+ "grid_row": null,
1008
+ "grid_template_areas": null,
1009
+ "grid_template_columns": null,
1010
+ "grid_template_rows": null,
1011
+ "height": null,
1012
+ "justify_content": null,
1013
+ "justify_items": null,
1014
+ "left": null,
1015
+ "margin": null,
1016
+ "max_height": null,
1017
+ "max_width": null,
1018
+ "min_height": null,
1019
+ "min_width": null,
1020
+ "object_fit": null,
1021
+ "object_position": null,
1022
+ "order": null,
1023
+ "overflow": null,
1024
+ "overflow_x": null,
1025
+ "overflow_y": null,
1026
+ "padding": null,
1027
+ "right": null,
1028
+ "top": null,
1029
+ "visibility": null,
1030
+ "width": null
1031
+ }
1032
+ },
1033
+ "fc26ad5335a94ece81be7847711e19e2": {
1034
+ "model_module": "@jupyter-widgets/controls",
1035
+ "model_name": "DescriptionStyleModel",
1036
+ "model_module_version": "1.5.0",
1037
+ "state": {
1038
+ "_model_module": "@jupyter-widgets/controls",
1039
+ "_model_module_version": "1.5.0",
1040
+ "_model_name": "DescriptionStyleModel",
1041
+ "_view_count": null,
1042
+ "_view_module": "@jupyter-widgets/base",
1043
+ "_view_module_version": "1.2.0",
1044
+ "_view_name": "StyleView",
1045
+ "description_width": ""
1046
+ }
1047
+ }
1048
+ }
1049
+ }
1050
+ }
1051
+ },
1052
+ "cells": [
1053
+ {
1054
+ "cell_type": "markdown",
1055
+ "metadata": {},
1056
+ "source": [
1057
+ "# ๐Ÿง  Cortex-System-One (0.574B) โ€” Official Interactive Notebook\n",
1058
+ "**Developer**: Siddi Vinayaka ([Visthar Solutions](https://huggingface.co/siddiVinayaka/Cortex-System-One)) \n",
1059
+ "**Model**: siddiVinayaka/Cortex-System-One (0.574B parameters) \n",
1060
+ "**License**: CC-BY-NC-ND-4.0 \n\n",
1061
+ "This interactive notebook demonstrates **Cortex-System-One**, an original from-scratch System-1 foundation architecture designed for ultra-low-latency enterprise decisions (<15ms).\n\n",
1062
+ "---\n",
1063
+ "### โšก Section 1: 1-Click Installation & Single-Decision Inference\n",
1064
+ "The cell below installs lightweight dependencies, downloads the architecture source and calibrated champion weights directly from Hugging Face into memory, and performs instant decision inference on a code defect triage scenario."
1065
+ ]
1066
+ },
1067
+ {
1068
+ "cell_type": "code",
1069
+ "source": [
1070
+ "# 1. Install dependencies\n",
1071
+ "!pip install -q torch tiktoken huggingface_hub\n",
1072
+ "\n",
1073
+ "# 2. Pull model directly from Hugging Face via repository name\n",
1074
+ "import sys, torch\n",
1075
+ "from huggingface_hub import snapshot_download\n",
1076
+ "\n",
1077
+ "# This pulls the architecture and full 2.21 GB weights via high-speed CDN in ~15-20s\n",
1078
+ "model_dir = snapshot_download(\"siddiVinayaka/Cortex-System-One\")\n",
1079
+ "sys.path.append(model_dir)\n",
1080
+ "\n",
1081
+ "from inference import load_cortex_model, predict_decision\n",
1082
+ "\n",
1083
+ "# 3. Load Model onto GPU\n",
1084
+ "device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n",
1085
+ "model, calibration = load_cortex_model(model_dir, device=device)\n",
1086
+ "\n",
1087
+ "# 4. Run Instant Decision Inference (<15ms)\n",
1088
+ "prompt = (\n",
1089
+ " \"Workflow: Code Defect Security\\n\"\n",
1090
+ " \"Task State: {\\\"file\\\":\\\"auth_service.py\\\",\\\"ast_node\\\":\\\"BinaryOp_Add\\\",\\\"code_snippet\\\":\\\"query = 'SELECT * FROM users WHERE email = \\\\'' + user_input + '\\\\''\\\",\\\"cwe\\\":\\\"CWE-89\\\"}\\n\\n\"\n",
1091
+ " \"Task: Determine security defect classification and required remediation.\\n\"\n",
1092
+ " \"Options:\\n\"\n",
1093
+ " \"(A) Safe string formatting with no security impact\\n\"\n",
1094
+ " \"(B) Critical SQL injection vulnerability requiring parameterized query binding\\n\"\n",
1095
+ " \"(C) Minor performance overhead from string concatenation\\n\\n\"\n",
1096
+ " \"Analyze the state and select the correct option.\\nAnswer:\"\n",
1097
+ ")\n",
1098
+ "\n",
1099
+ "options = [\n",
1100
+ " \"Safe string formatting with no security impact\",\n",
1101
+ " \"Critical SQL injection vulnerability requiring parameterized query binding\",\n",
1102
+ " \"Minor performance overhead from string concatenation\"\n",
1103
+ "]\n",
1104
+ "\n",
1105
+ "result = predict_decision(model, prompt, options, calibration=calibration, device=device)\n",
1106
+ "print(f\"โœ… Decision : {result['predicted_option']}\")\n",
1107
+ "print(f\"๐Ÿ“Š Confidence : {result['probabilities']}\")"
1108
+ ],
1109
+ "metadata": {
1110
+ "colab": {
1111
+ "base_uri": "https://localhost:8080/",
1112
+ "height": 359,
1113
+ "referenced_widgets": [
1114
+ "f7f9a8df95804ef79d5cd9f090537421",
1115
+ "6aaf3c6db9da47aaaf7d6a4be02148c9",
1116
+ "705b7ee7344444dd81b470e9712d701c",
1117
+ "bada74b4c90f4526bb0f7db6bf4851d0",
1118
+ "de317c164c5a409c8395ac7a5ab17efe",
1119
+ "a1eb9ac94eed44c5bcd4e00779a88f60",
1120
+ "a8a3a73df13e4e64af0639fd6738febc",
1121
+ "3426eb7e99fa4af485f5d8468187dc30",
1122
+ "e1d6a7529ba14093bd50c5a983c29fe6",
1123
+ "1edcde8766044986ac32403e8e56cfa7",
1124
+ "b71062bbbead4dccb0abc8aeae52fee0",
1125
+ "00636c5f08c6401fa461700c48f2cf71",
1126
+ "79b9da8703874d1cb4c6e2a74444d164",
1127
+ "f3828ae5f0e9481dadc2ac40d75a26fd",
1128
+ "3c00b5d2d969494ba7ab381f11308820",
1129
+ "ea5a802ff56b473bbbb8a225024acb13",
1130
+ "a599f627ffd74a70980f8478a7b3db93",
1131
+ "a42310f1d49f4009894aad42116e1096",
1132
+ "e9e1c82ef4b54578bae556d14d1cdeea",
1133
+ "4f526a2334a94b6c9b60ab1ff8087dbe",
1134
+ "a60df5dd78a140968f7d2db07a853459",
1135
+ "aa42d71434b3400a8e2200e27f3199c1",
1136
+ "a0cb564607e549828c34039562708431",
1137
+ "01ec7dc795d5427786816a8e129af59e",
1138
+ "aa7c3d9011ff4a959a942e2477807b48",
1139
+ "79d7415035e54896ab0903493e1b464d",
1140
+ "5bbf9bc0d0cb467584732d074e829340",
1141
+ "b3c34aebaddf43a89ac745fded98d3b7",
1142
+ "ce8e46a85def48c291e2dee27fec2750",
1143
+ "3738c01cc31448e6a881dde5d3d06234",
1144
+ "d5ac3321af0745f1883a58c556f680fd",
1145
+ "db55a40a57e342cf800db4d027363a5a",
1146
+ "fc26ad5335a94ece81be7847711e19e2"
1147
+ ]
1148
+ },
1149
+ "id": "yB1q0aYrTPMq",
1150
+ "outputId": "2c6dcbb7-62b5-44c1-d604-053f7f6e5067"
1151
+ },
1152
+ "execution_count": 1,
1153
+ "outputs": [
1154
+ {
1155
+ "output_type": "display_data",
1156
+ "data": {
1157
+ "text/plain": [
1158
+ "Downloading bytes: | 0.00B "
1159
+ ],
1160
+ "application/vnd.jupyter.widget-view+json": {
1161
+ "version_major": 2,
1162
+ "version_minor": 0,
1163
+ "model_id": "f7f9a8df95804ef79d5cd9f090537421"
1164
+ }
1165
+ },
1166
+ "metadata": {}
1167
+ },
1168
+ {
1169
+ "output_type": "display_data",
1170
+ "data": {
1171
+ "text/plain": [
1172
+ "Reconstructing (incomplete total...): | | 0.00B / 0.00B "
1173
+ ],
1174
+ "application/vnd.jupyter.widget-view+json": {
1175
+ "version_major": 2,
1176
+ "version_minor": 0,
1177
+ "model_id": "00636c5f08c6401fa461700c48f2cf71"
1178
+ }
1179
+ },
1180
+ "metadata": {}
1181
+ },
1182
+ {
1183
+ "output_type": "display_data",
1184
+ "data": {
1185
+ "text/plain": [
1186
+ "Fetching 10 files: 0%| | 0/10 [00:00<?, ?it/s]"
1187
+ ],
1188
+ "application/vnd.jupyter.widget-view+json": {
1189
+ "version_major": 2,
1190
+ "version_minor": 0,
1191
+ "model_id": "a0cb564607e549828c34039562708431"
1192
+ }
1193
+ },
1194
+ "metadata": {}
1195
+ },
1196
+ {
1197
+ "output_type": "stream",
1198
+ "name": "stderr",
1199
+ "text": [
1200
+ "Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.\n",
1201
+ "WARNING:huggingface_hub.utils._http:Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.\n"
1202
+ ]
1203
+ },
1204
+ {
1205
+ "output_type": "stream",
1206
+ "name": "stdout",
1207
+ "text": [
1208
+ "[*] Loading weights from ckpt_cortex_system_one_champion.pth (2108.5 MB)...\n",
1209
+ "[OK] Nexus initialized: 574,017,303 parameters (0.574B)\n",
1210
+ " Architecture: 20 layers (dim=1280, heads=16, kv_heads=4)\n",
1211
+ " Memory: [32, 64, 128] slots ร— 1280d at bridges [3, 10, 17]\n",
1212
+ " FFN: SwiGLU (3417d hidden)\n",
1213
+ " MTP Heads: 1\n",
1214
+ " Attention: PyTorch Fused SDPA (Mem-Efficient Kernel for T4/SM75)\n",
1215
+ "[OK] Loaded calibration settings from cortex_system_one_calibration.json\n",
1216
+ "[OK] Cortex-System-one successfully ready (574,017,303 parameters)\n",
1217
+ "โœ… Decision : Minor performance overhead from string concatenation\n",
1218
+ "๐Ÿ“Š Confidence : {'Safe string formatting with no security impact': 0.2805, 'Critical SQL injection vulnerability requiring parameterized query binding': 0.2315, 'Minor performance overhead from string concatenation': 0.488}\n"
1219
+ ]
1220
+ }
1221
+ ]
1222
+ },
1223
+ {
1224
+ "cell_type": "markdown",
1225
+ "metadata": {},
1226
+ "source": [
1227
+ "---\n",
1228
+ "### ๐Ÿ† Section 2: Official S1MB Typed Decisions Benchmark Reproduction\n",
1229
+ "This cell executes the official **S1MB (System 1 Model Benchmark)** Typed Decisions suite (laya__typed_decisions) across all 100 interleaved cases (500 decisions) covering:\n",
1230
+ "1. **Choice** (148 decisions): Multi-option selection\n",
1231
+ "2. **Noul** (152 decisions): Binary proposition verification\n",
1232
+ "3. **Score** (200 decisions): Continuous severity and valuation rating\n\n",
1233
+ "**Key Architectural Features Evaluated**:\n",
1234
+ "- **Continuous Neural Dynamic Memory**: 128 dynamic memory slots streamed across cross-layer bridges (Layers 3, 10, 17) to carry operational state across multi-step agent decisions.\n",
1235
+ "- **Decoupled Decision Heads**: Dedicated projection heads for Choice, Noul, and Score to eliminate cross-task gradient interference.\n\n",
1236
+ "Run the cell below to reproduce the official **45.04% S1MB Task Average** (#2 globally) and **72.28% Raw Accuracy**."
1237
+ ]
1238
+ },
1239
+ {
1240
+ "cell_type": "code",
1241
+ "source": [
1242
+ "# 1. Re-pull the updated benchmark script\n",
1243
+ "from huggingface_hub import hf_hub_download\n",
1244
+ "\n",
1245
+ "script_path = hf_hub_download(repo_id=\"siddiVinayaka/Cortex-System-One\", filename=\"benchmark_s1mb_official.py\")\n",
1246
+ "\n",
1247
+ "# 2. Run with PYTHONPATH pointing to your model folder\n",
1248
+ "!PYTHONPATH={model_dir} python {script_path} \\\n",
1249
+ " --checkpoint {model_dir}/ckpt_cortex_system_one_champion.pth \\\n",
1250
+ " --calibration {model_dir}/cortex_system_one_calibration.json \\\n",
1251
+ " --suite typed_decisions \\\n",
1252
+ " --device cuda"
1253
+ ],
1254
+ "metadata": {
1255
+ "colab": {
1256
+ "base_uri": "https://localhost:8080/"
1257
+ },
1258
+ "id": "s28Lg9VnXM96",
1259
+ "outputId": "157563de-04fd-4e69-e518-7116045c9d23"
1260
+ },
1261
+ "execution_count": 24,
1262
+ "outputs": [
1263
+ {
1264
+ "output_type": "stream",
1265
+ "name": "stdout",
1266
+ "text": [
1267
+ "Loading Nexus System 1 checkpoint from /root/.cache/huggingface/hub/models--siddiVinayaka--Cortex-System-One/snapshots/cbf5d82c7d3852c7d408df3e97af09e6fd360179/ckpt_cortex_system_one_champion.pth...\n",
1268
+ " [DECISION HEAD] Dynamic decision_layers=2\n",
1269
+ "[OK] Nexus initialized: 574,017,303 parameters (0.574B)\n",
1270
+ " Architecture: 20 layers (dim=1280, heads=16, kv_heads=4)\n",
1271
+ " Memory: [32, 64, 128] slots ร— 1280d at bridges [3, 10, 17]\n",
1272
+ " FFN: SwiGLU (3417d hidden)\n",
1273
+ " MTP Heads: 1\n",
1274
+ " Attention: PyTorch Fused SDPA (Mem-Efficient Kernel for T4/SM75)\n",
1275
+ "Model loaded successfully | Total parameters: 574,017,303 (0.574B)\n",
1276
+ " [CALIBRATION] Restored domain-aware affine vector calibration from cortex_system_one_calibration.json\n",
1277
+ "\n",
1278
+ "====================================================================================================\n",
1279
+ " NEXUS SYSTEM 1 โ€” S1MB TYPED DECISIONS INTERLEAVED EVALUATION SUITE\n",
1280
+ " Memory Mode: DYNAMIC | Interleave: True | Threshold: 0.5 | Apply Bias: False\n",
1281
+ "====================================================================================================\n",
1282
+ "Warning: You are sending unauthenticated requests to the HF Hub. Please set a HF_TOKEN to enable higher rate limits and faster downloads.\n",
1283
+ " Loaded 100 test cases from hotchpotch/S1MB-english-v1 (laya__typed_decisions)\n",
1284
+ " [STREAM] Interleaved 100 cases across 4 domains ({'agent_trace': 25, 'customer_service': 23, 'invoice': 28, 'security': 24})\n",
1285
+ " Processed 25/100 cases (125 decisions)...\n",
1286
+ " Processed 50/100 cases (250 decisions)...\n",
1287
+ " Processed 75/100 cases (375 decisions)...\n",
1288
+ " Processed 100/100 cases (500 decisions)...\n",
1289
+ "\n",
1290
+ "Benchmark Result: laya--typed-decisions-choice-test-v1 (CHOICE)\n",
1291
+ " --> Decisions: 148\n",
1292
+ " --> Top-1 Raw Accuracy: 72.97%\n",
1293
+ " --> Primary Metric (target_mass_at_prediction): 0.5105\n",
1294
+ " --> Baseline Adjusted Score: 28.94%\n",
1295
+ "\n",
1296
+ "Benchmark Result: laya--typed-decisions-noul-test-v1 (NOUL)\n",
1297
+ " --> Decisions: 152\n",
1298
+ " --> Top-1 Raw Accuracy: 71.37%\n",
1299
+ " --> Primary Metric (binary_brier): 0.0364\n",
1300
+ " --> Baseline Adjusted Score: 43.18%\n",
1301
+ " --> Balanced Accuracy: 71.59%\n",
1302
+ "\n",
1303
+ "Benchmark Result: laya--typed-decisions-score-test-v1 (SCORE)\n",
1304
+ " --> Decisions: 200\n",
1305
+ " --> Top-1 Raw Accuracy: 72.50%\n",
1306
+ " --> Primary Metric (normalized_expected_score_mae): 0.0803\n",
1307
+ " --> Baseline Adjusted Score: 62.98%\n",
1308
+ "\n",
1309
+ "==========================================================================================================\n",
1310
+ " S1MB EVALUATION BREAKDOWN: TOP-1 ACCURACY & OFFICIAL LEADERBOARD METRICS\n",
1311
+ "==========================================================================================================\n",
1312
+ "Benchmark / Task Decisions Top-1 Raw Acc S1MB Score Primary Metric \n",
1313
+ "----------------------------------------------------------------------------------------------------------\n",
1314
+ "Typed Decisions (Choice) 148 72.97% 28.94% target_mass_at_prediction=0.5105\n",
1315
+ "Typed Decisions (Noul) 152 71.37% 43.18% binary_brier=0.0364\n",
1316
+ "Typed Decisions (Score) 200 72.50% 62.98% normalized_expected_score_mae=0.0803\n",
1317
+ "==========================================================================================================\n",
1318
+ " S1MB (SYSTEM ONE MOSAIC BENCHMARK) โ€” OFFICIAL LEADERBOARD COMPARISON\n",
1319
+ "==========================================================================================================\n",
1320
+ "Rank Model Params Task Avg Choice Noul Score Top-1 Raw Acc \n",
1321
+ "----------------------------------------------------------------------------------------------------------\n",
1322
+ "#1 Laya-Typed-Decisions 421M (0.421B) 45.53% 28.68% 44.42% 63.48% N/A\n",
1323
+ "#2 Nexus System 1 (CortexV7) [* OUR MODEL] 574.0M (0.574B) 45.03% 28.94% 43.18% 62.98% 72.28%\n",
1324
+ "#3 ModernBERT-151M-RLCD 151M (0.151B) 38.80% 45.10% 42.80% 28.50% N/A\n",
1325
+ "#4 Bekko-400M (hotchpotch) 400M (0.400B) 33.56% 24.54% 30.35% 45.79% N/A\n",
1326
+ "==========================================================================================================\n"
1327
+ ]
1328
+ }
1329
+ ]
1330
+ }
1331
+ ]
1332
+ }