Text Classification
Transformers
ONNX
Safetensors
Transformers.js
English
modernbert
llm-routing
prompt-complexity
routellm
agent-observability
cost-optimization
ettin
model-routing
prompt-routing
litellm
text-embeddings-inference
Instructions to use Tamarillo/prompt-complexity-router-tiny-en with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tamarillo/prompt-complexity-router-tiny-en with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tamarillo/prompt-complexity-router-tiny-en")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tamarillo/prompt-complexity-router-tiny-en") model = AutoModelForSequenceClassification.from_pretrained("Tamarillo/prompt-complexity-router-tiny-en", device_map="auto") - Transformers.js
How to use Tamarillo/prompt-complexity-router-tiny-en with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Tamarillo/prompt-complexity-router-tiny-en'); - 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-tiny-en",
|
| 3 |
+
"task": "seq",
|
| 4 |
+
"fp32_mb": 122.41,
|
| 5 |
+
"q8_mb": 67.17,
|
| 6 |
+
"size_reduction_x": 1.82,
|
| 7 |
+
"fp32_cpu_256_p50_ms": 26.41,
|
| 8 |
+
"q8_cpu_256_p50_ms": 26.46,
|
| 9 |
+
"agreement": 1.0,
|
| 10 |
+
"mean_abs_prob_diff": 0.00259,
|
| 11 |
+
"max_abs_prob_diff": 0.01143,
|
| 12 |
+
"passed_gate": true
|
| 13 |
+
}
|