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-small with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Tamarillo/prompt-complexity-router-small with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-classification", model="Tamarillo/prompt-complexity-router-small")# pip install -U transformers accelerate # Load model directly from transformers import AutoTokenizer, AutoModelForSequenceClassification tokenizer = AutoTokenizer.from_pretrained("Tamarillo/prompt-complexity-router-small") model = AutoModelForSequenceClassification.from_pretrained("Tamarillo/prompt-complexity-router-small", device_map="auto") - Transformers.js
How to use Tamarillo/prompt-complexity-router-small with Transformers.js:
// npm i @huggingface/transformers import { pipeline } from '@huggingface/transformers'; // Allocate pipeline const pipe = await pipeline('text-classification', 'Tamarillo/prompt-complexity-router-small'); - Notebooks
- Google Colab
- Kaggle
Ctrl+K
Document parity-verified Gather-INT8 ONNX (onnx/model_quantized.onnx) and { dtype: 'q8' } usage
1b561e2 verified