swarajchattaraj commited on
Commit
67ebb4d
·
verified ·
1 Parent(s): 8c90838

Upload 3 files

Browse files
Files changed (3) hide show
  1. README.md +32 -0
  2. calibration.json +5 -0
  3. pytorch_model.bin +3 -0
README.md CHANGED
@@ -1,3 +1,35 @@
1
  ---
2
  license: mit
 
 
 
 
 
 
 
 
 
 
3
  ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
  license: mit
3
+ language:
4
+ - en
5
+ pipeline_tag: text-classification
6
+ tags:
7
+ - dristi
8
+ - router
9
+ - system-one
10
+ - distilbert
11
+ - classification
12
+ - active-learning
13
  ---
14
+
15
+ # ⚡ DRISTI-Router (V1 Speed Demon)
16
+
17
+ **Dristi** is an ultra-fast, strictly-typed, non-autoregressive probabilistic decision engine. Built as a "System One" router, it handles routine AI routing tasks in ~40 milliseconds, safely handing off uncertain or "Out-of-Distribution" (OOD) queries to heavy System 2 LLMs.
18
+
19
+ ## Model Details
20
+ * **Architecture:** DistilBERT (Base, Uncased) with Custom Routing Heads (Binary, Choice, Ordinal)
21
+ * **Parameters:** ~66 Million
22
+ * **Latency:** ~40ms (RTX 3050)
23
+ * **License:** MIT
24
+
25
+ ## Features
26
+ * **Mathematical Self-Awareness (OOD Detection):** Rejects alien or unsafe queries using Cosine Similarity.
27
+ * **Calibrated Confidence:** Uses L-BFGS Temperature Scaling.
28
+ * **Self-Healing API:** Designed to actively learn from human feedback in production.
29
+
30
+ ## How to use
31
+ This model requires the custom `DristiModelV03` architecture from the main GitHub repository.
32
+
33
+ 1. Clone the architecture: `git clone https://github.com/SWARAJCHATTARAJ/DRISTI.git`
34
+ 2. Place this `pytorch_model.bin` and `calibration.json` into the `checkpoints/` folder.
35
+ 3. Run the blazing-fast API!
calibration.json ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ {
2
+ "binary_temperature": 2.400517702102661,
3
+ "choice_temperature": 2.7279388904571533,
4
+ "note": "Temperatures are applied as: logits / temperature before softmax."
5
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:de7a5f033dd730bc34d4575e54091994180e8e5d6af80cd71303be9b59bfbc4c
3
+ size 267864483