Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • 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

oddadmix
/
Nawah-Router-BERT-6M-v2

Zero-Shot Classification
Transformers
Safetensors
Arabic
bert
feature-extraction
arabic
prompt-routing
router
encoder
tiny-model
Model card Files Files and versions
xet
Community

Instructions to use oddadmix/Nawah-Router-BERT-6M-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use oddadmix/Nawah-Router-BERT-6M-v2 with Transformers:

    # Use a pipeline as a high-level helper
    from transformers import pipeline
    
    pipe = pipeline("zero-shot-classification", model="oddadmix/Nawah-Router-BERT-6M-v2")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("oddadmix/Nawah-Router-BERT-6M-v2")
    model = AutoModel.from_pretrained("oddadmix/Nawah-Router-BERT-6M-v2", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Nawah-Router-BERT-6M-v2
6.18 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 4 commits
oddadmix's picture
oddadmix
add eval_router_only.py
edccc2c verified 7 days ago
  • .gitattributes
    1.52 kB
    initial commit 7 days ago
  • README.md
    2.65 kB
    add README.md 7 days ago
  • config.json
    663 Bytes
    add config.json 7 days ago
  • eval_router_only.py
    1.34 kB
    add eval_router_only.py 7 days ago