Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -1,3 +1,46 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
# ModelGate-Router
|
| 2 |
|
| 3 |
GRPO (Group Relative Policy Optimization) fine-tuned routing model for ModelGate's contract-aware query routing. Based on Arch-Router-1.5B. Classifies incoming queries as **simple**, **medium**, or **complex** to route them to the right model tier.
|
|
|
|
| 1 |
+
---
|
| 2 |
+
language:
|
| 3 |
+
- en
|
| 4 |
+
license: apache-2.0
|
| 5 |
+
library_name: llama-cpp-python
|
| 6 |
+
base_model: katanemo/Arch-Router-1.5B
|
| 7 |
+
tags:
|
| 8 |
+
- routing
|
| 9 |
+
- grpo
|
| 10 |
+
- reinforcement-learning
|
| 11 |
+
- gguf
|
| 12 |
+
- lora
|
| 13 |
+
- unsloth
|
| 14 |
+
- trl
|
| 15 |
+
- qwen2
|
| 16 |
+
- llama-cpp
|
| 17 |
+
- contract-aware
|
| 18 |
+
- cost-optimization
|
| 19 |
+
- query-classification
|
| 20 |
+
model_type: qwen2
|
| 21 |
+
pipeline_tag: text-classification
|
| 22 |
+
datasets:
|
| 23 |
+
- custom
|
| 24 |
+
metrics:
|
| 25 |
+
- accuracy
|
| 26 |
+
model-index:
|
| 27 |
+
- name: ModelGate-Router
|
| 28 |
+
results:
|
| 29 |
+
- task:
|
| 30 |
+
type: text-classification
|
| 31 |
+
name: Query Complexity Classification
|
| 32 |
+
metrics:
|
| 33 |
+
- type: accuracy
|
| 34 |
+
value: 83.3
|
| 35 |
+
name: Overall Accuracy (held-out, GGUF Q8_0)
|
| 36 |
+
- type: accuracy
|
| 37 |
+
value: 85.7
|
| 38 |
+
name: Medium Tier Accuracy
|
| 39 |
+
- type: latency
|
| 40 |
+
value: 62
|
| 41 |
+
name: Avg Latency (ms, CUDA)
|
| 42 |
+
---
|
| 43 |
+
|
| 44 |
# ModelGate-Router
|
| 45 |
|
| 46 |
GRPO (Group Relative Policy Optimization) fine-tuned routing model for ModelGate's contract-aware query routing. Based on Arch-Router-1.5B. Classifies incoming queries as **simple**, **medium**, or **complex** to route them to the right model tier.
|