siddiVinayaka commited on
Commit
fe3d247
·
verified ·
1 Parent(s): 97f27b6

Document zero-shot base (41.80%) and truthful Tesla T4 latency in Cortex_system_one(Testing).ipynb

Browse files
Files changed (1) hide show
  1. Cortex_system_one(Testing).ipynb +2 -2
Cortex_system_one(Testing).ipynb CHANGED
@@ -24,7 +24,7 @@
24
  "**Developer**: Siddi Vinayaka ([Visthar Solutions](https://huggingface.co/siddiVinayaka/Cortex-System-One)) \n",
25
  "**Model**: `siddiVinayaka/Cortex-System-One` (0.574B parameters) \n",
26
  "**License**: CC-BY-NC-ND-4.0 \n\n",
27
- "This official interactive notebook demonstrates **Cortex-System-One**, an original from-scratch System-1 foundation architecture engineered for sub-15ms enterprise decision intelligence.\n\n",
28
  "---\n",
29
  "### \u26a1 Section 1: 1-Click Load & Single-Decision Inference\n",
30
  "Installs dependencies, pulls the calibrated model weights directly from Hugging Face into cache in ~15s, and runs instant inference on an enterprise code defect security triage scenario."
@@ -48,7 +48,7 @@
48
  "# 3. Load Model onto GPU\n",
49
  "device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n",
50
  "model, calibration = load_cortex_model(model_dir, device=device)\n\n",
51
- "# 4. Run Instant Decision Inference (<15ms)\n",
52
  "prompt = (\n",
53
  " \"Workflow: Code Defect Security\\n\"\n",
54
  " \"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",
 
24
  "**Developer**: Siddi Vinayaka ([Visthar Solutions](https://huggingface.co/siddiVinayaka/Cortex-System-One)) \n",
25
  "**Model**: `siddiVinayaka/Cortex-System-One` (0.574B parameters) \n",
26
  "**License**: CC-BY-NC-ND-4.0 \n\n",
27
+ "This official interactive notebook demonstrates **Cortex-System-One**, an original from-scratch System-1 foundation architecture engineered for fast 41\u201350ms enterprise decision intelligence on commodity hardware (Tesla T4).\n\n",
28
  "---\n",
29
  "### \u26a1 Section 1: 1-Click Load & Single-Decision Inference\n",
30
  "Installs dependencies, pulls the calibrated model weights directly from Hugging Face into cache in ~15s, and runs instant inference on an enterprise code defect security triage scenario."
 
48
  "# 3. Load Model onto GPU\n",
49
  "device = torch.device(\"cuda\" if torch.cuda.is_available() else \"cpu\")\n",
50
  "model, calibration = load_cortex_model(model_dir, device=device)\n\n",
51
+ "# 4. Run Instant Decision Inference (41\u201350ms on Tesla T4)\n",
52
  "prompt = (\n",
53
  " \"Workflow: Code Defect Security\\n\"\n",
54
  " \"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",