Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Tamarillo
/
prompt-complexity-router-tiny-en

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
Model card Files Files and versions
xet
Community

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
prompt-complexity-router-tiny-en / scripts
47.1 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
greendesk1631's picture
greendesk1631
Release Tamarillo Prompt Complexity Router (Apache-2.0, Stage 2 PASS)
5118ad4 verified 1 day ago
  • build_data_v2.py
    27.6 kB
    Release Tamarillo Prompt Complexity Router (Apache-2.0, Stage 2 PASS) 1 day ago
  • eval_router_suite.py
    19.6 kB
    Release Tamarillo Prompt Complexity Router (Apache-2.0, Stage 2 PASS) 1 day ago