Text Classification
Transformers
English
cortex
decision-intelligence
system-1
typed-decisions
dynamic-memory
Eval Results (legacy)
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 README.md
Browse files
README.md
CHANGED
|
@@ -156,20 +156,20 @@ model, calibration = load_cortex_model(model_dir, device=device)
|
|
| 156 |
|
| 157 |
# 4. Run Instant Decision Inference (41–50ms on Tesla T4)
|
| 158 |
prompt = (
|
| 159 |
-
"Workflow:
|
| 160 |
-
"Task State: {\"
|
| 161 |
-
"Task: Determine
|
| 162 |
"Options:\n"
|
| 163 |
-
"(A)
|
| 164 |
-
"(B)
|
| 165 |
-
"(C)
|
| 166 |
"Analyze the state and select the correct option.\nAnswer:"
|
| 167 |
)
|
| 168 |
|
| 169 |
options = [
|
| 170 |
-
"
|
| 171 |
-
"
|
| 172 |
-
"
|
| 173 |
]
|
| 174 |
|
| 175 |
result = predict_decision(model, prompt, options, calibration=calibration, device=device)
|
|
|
|
| 156 |
|
| 157 |
# 4. Run Instant Decision Inference (41–50ms on Tesla T4)
|
| 158 |
prompt = (
|
| 159 |
+
"Workflow: Invoice Processing\n"
|
| 160 |
+
"Task State: {\"invoice_id\":\"INV-9421\",\"subtotal\":1000.0,\"tax\":180.0,\"total\":1500.0}\n\n"
|
| 161 |
+
"Task: Determine invoice validation status.\n"
|
| 162 |
"Options:\n"
|
| 163 |
+
"(A) Flag total calculation mismatch for manual accounting review\n"
|
| 164 |
+
"(B) Approve payment immediately with automated clearance\n"
|
| 165 |
+
"(C) Mark invoice as duplicate submission\n\n"
|
| 166 |
"Analyze the state and select the correct option.\nAnswer:"
|
| 167 |
)
|
| 168 |
|
| 169 |
options = [
|
| 170 |
+
"Flag total calculation mismatch for manual accounting review",
|
| 171 |
+
"Approve payment immediately with automated clearance",
|
| 172 |
+
"Mark invoice as duplicate submission"
|
| 173 |
]
|
| 174 |
|
| 175 |
result = predict_decision(model, prompt, options, calibration=calibration, device=device)
|