Text Classification
Transformers
English
cortex
decision-intelligence
system-1
typed-decisions
dynamic-memory
Eval Results (legacy)
Run this model with HF Jobs
Run siddiVinayaka/Cortex-System-One on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/siddiVinayaka/Cortex-System-One. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/siddiVinayaka/Cortex-System-One on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Instructions to use siddiVinayaka/Cortex-System-One with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use siddiVinayaka/Cortex-System-One with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="siddiVinayaka/Cortex-System-One")# pip install -U transformers accelerate # Load model directly from transformers import Cortex model = Cortex.from_pretrained("siddiVinayaka/Cortex-System-One", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Update Quickstart prompt to verified invoice processing decision in Cortex_system_one(Testing).ipynb
Browse files26 unmodified lines2728293031323316 unmodified lines5051525354555657585960616263646566676826 unmodified lines"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","---\n","### \u26a1 Section 1: 1-Click Load & Single-Decision Inference\n","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."]},{16 unmodified lines"model, calibration = load_cortex_model(model_dir, device=device)\n\n","# 4. Run Instant Decision Inference (41\u201350ms on Tesla T4)\n","prompt = (\n"," \"Workflow: Code Defect Security\\n\"\n"," \"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"," \"Task: Determine security defect classification and required remediation.\\n\"\n"," \"Options:\\n\"\n"," \"(A) Safe string formatting with no security impact\\n\"\n"," \"(B) Critical SQL injection vulnerability requiring parameterized query binding\\n\"\n"," \"(C) Minor performance overhead from string concatenation\\n\\n\"\n"," \"Analyze the state and select the correct option.\\nAnswer:\"\n",")\n\n","options = [\n"," \"Safe string formatting with no security impact\",\n"," \"Critical SQL injection vulnerability requiring parameterized query binding\",\n"," \"Minor performance overhead from string concatenation\"\n","]\n\n","result = predict_decision(model, prompt, options, calibration=calibration, device=device)\n","confidence = result.get('confidence', result['probabilities'][result['predicted_option']])\n",26 unmodified lines2728293031323316 unmodified lines5051525354555657585960616263646566676826 unmodified lines"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","---\n","### \u26a1 Section 1: 1-Click Load & Single-Decision Inference\n","Installs dependencies, pulls the calibrated model weights directly from Hugging Face into cache in ~15s, and runs instant inference on an enterprise invoice financial schema validation scenario."]},{16 unmodified lines"model, calibration = load_cortex_model(model_dir, device=device)\n\n","# 4. Run Instant Decision Inference (41\u201350ms on Tesla T4)\n","prompt = (\n"," \"Workflow: Invoice Processing\\n\"\n"," \"Task State: {\\\"invoice_id\\\":\\\"INV-9421\\\",\\\"subtotal\\\":1000.0,\\\"tax\\\":180.0,\\\"total\\\":1500.0}\\n\\n\"\n"," \"Task: Determine invoice validation status.\\n\"\n"," \"Options:\\n\"\n"," \"(A) Flag total calculation mismatch for manual accounting review\\n\"\n"," \"(B) Approve payment immediately with automated clearance\\n\"\n"," \"(C) Mark invoice as duplicate submission\\n\\n\"\n"," \"Analyze the state and select the correct option.\\nAnswer:\"\n",")\n\n","options = [\n"," \"Flag total calculation mismatch for manual accounting review\",\n"," \"Approve payment immediately with automated clearance\",\n"," \"Mark invoice as duplicate submission\"\n","]\n\n","result = predict_decision(model, prompt, options, calibration=calibration, device=device)\n","confidence = result.get('confidence', result['probabilities'][result['predicted_option']])\n",
Cortex_system_one(Testing).ipynb+10-10