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
Download training_summary.json from Tamarillo/prompt-complexity-router-tiny-en: direct link, hf CLI and curl.
- Browser
- Download file 718 Bytes
-
https://huggingface.co/Tamarillo/prompt-complexity-router-tiny-en/resolve/main/training_summary.json
- Command line
-
hf download hf://Tamarillo/prompt-complexity-router-tiny-en/training_summary.json
-
curl -L -o training_summary.json https://huggingface.co/Tamarillo/prompt-complexity-router-tiny-en/resolve/main/training_summary.json
718 Bytes
| { | |
| "base_model": "jhu-clsp/ettin-encoder-32m", | |
| "params_m": 32.03, | |
| "train_examples": 45754, | |
| "val_examples": 2167, | |
| "epochs": 2, | |
| "max_length": 2048, | |
| "train_sec": 1103.8, | |
| "best_val_metrics": { | |
| "composite": 0.85154, | |
| "auc_strong_vs_rest": 0.8711, | |
| "auc_strong_vs_weak": 0.9164, | |
| "spearman_rho": 0.6714, | |
| "macro_f1_3class": 0.6185, | |
| "ece_strong": 0.04258 | |
| }, | |
| "calibration": { | |
| "temperature": 0.9285, | |
| "calibrated_ece_strong": 0.04558, | |
| "thr_25pct_strong_val": 0.63526, | |
| "thr_50pct_strong_val": 0.29926, | |
| "thr_75pct_strong_val": 0.11663, | |
| "calibrated_thr_25pct_strong": 0.65464, | |
| "calibrated_thr_50pct_strong": 0.2961, | |
| "calibrated_thr_75pct_strong": 0.10597 | |
| } | |
| } |