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

vrishv
/
router-34M

Text Classification
Transformers
ONNX
Safetensors
English
llama
router
small-model
tiny-model
english
34m
text-embeddings-inference
Model card Files Files and versions
xet
Community

Instructions to use vrishv/router-34M with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use vrishv/router-34M with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("text-classification", model="vrishv/router-34M")
    # pip install -U transformers accelerate
    # Load model directly
    from transformers import AutoTokenizer, AutoModelForSequenceClassification
    
    tokenizer = AutoTokenizer.from_pretrained("vrishv/router-34M")
    model = AutoModelForSequenceClassification.from_pretrained("vrishv/router-34M", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
router-34M
272 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
vrishv's picture
vrishv
Update README.md
3904563 verified 1 day ago
  • .gitattributes
    1.52 kB
    initial commit 4 days ago
  • README.md
    5.88 kB
    Update README.md 1 day ago
  • config.json
    917 Bytes
    Router v1: Viveka-34M sorting questions into 4 buckets 4 days ago
  • model.onnx
    136 MB
    xet
    Card and ONNX copy 3 days ago
  • model.safetensors
    136 MB
    xet
    Router v2: more and shorter maths, cleaner code examples 4 days ago
  • router_info.json
    402 Bytes
    Router v2: more and shorter maths, cleaner code examples 4 days ago
  • run.json
    53 Bytes
    Router v2: more and shorter maths, cleaner code examples 4 days ago
  • tokenizer.json
    1.11 MB
    Router v1: Viveka-34M sorting questions into 4 buckets 4 days ago
  • tokenizer_config.json
    273 Bytes
    Router v1: Viveka-34M sorting questions into 4 buckets 4 days ago