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
File size: 133 Bytes
910dd21 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:609d8f4c067cd3950f88594c5a802616cea245823836ef5848ee4fc40aab5b6f
size 34363188
|