Text Classification
Transformers
ONNX
Safetensors
Transformers.js
modernbert
llm-routing
prompt-complexity
routellm
agent-observability
cost-optimization
mmbert
model-routing
prompt-routing
litellm
text-embeddings-inference
Instructions to use Tamarillo/prompt-complexity-router-base with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tamarillo/prompt-complexity-router-base with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tamarillo/prompt-complexity-router-base")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tamarillo/prompt-complexity-router-base") model = AutoModelForSequenceClassification.from_pretrained("Tamarillo/prompt-complexity-router-base", device_map="auto") - Transformers.js
How to use Tamarillo/prompt-complexity-router-base with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Tamarillo/prompt-complexity-router-base'); - Notebooks
- Google Colab
- Kaggle
Add Gather-INT8 ONNX parity & CPU latency verification report
Browse files- onnx/quantization_check.json +13 -0
onnx/quantization_check.json
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"repo": "Tamarillo/prompt-complexity-router-base",
|
| 3 |
+
"task": "seq",
|
| 4 |
+
"fp32_mb": 1173.68,
|
| 5 |
+
"q8_mb": 611.36,
|
| 6 |
+
"size_reduction_x": 1.92,
|
| 7 |
+
"fp32_cpu_256_p50_ms": 164.96,
|
| 8 |
+
"q8_cpu_256_p50_ms": 167.73,
|
| 9 |
+
"agreement": 1.0,
|
| 10 |
+
"mean_abs_prob_diff": 0.00055,
|
| 11 |
+
"max_abs_prob_diff": 0.00145,
|
| 12 |
+
"passed_gate": true
|
| 13 |
+
}
|