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-bilingual

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

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

  • Libraries
  • Transformers

    How to use oddadmix/Nawah-Router-BERT-6M-bilingual 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-bilingual")
    # Load model directly
    from transformers import AutoTokenizer, AutoModel
    
    tokenizer = AutoTokenizer.from_pretrained("oddadmix/Nawah-Router-BERT-6M-bilingual")
    model = AutoModel.from_pretrained("oddadmix/Nawah-Router-BERT-6M-bilingual", device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
Nawah-Router-BERT-6M-bilingual
Ctrl+K
Ctrl+K
  • 1 contributor
History: 12 commits
oddadmix's picture
oddadmix
Upload README.md with huggingface_hub
5384c55 verified 7 days ago
  • .gitattributes
    1.52 kB
    initial commit 8 days ago
  • README.md
    3.86 kB
    Upload README.md with huggingface_hub 7 days ago
  • config.json
    663 Bytes
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • eval_router_bilingual.py
    1.42 kB
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • model.safetensors
    23.9 MB
    xet
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • router_model.pt
    24 MB
    xet
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • routing_model_bilingual.py
    4.25 kB
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • tokenizer.json
    3.03 MB
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • tokenizer_config.json
    269 Bytes
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • train_metrics.json
    139 kB
    bilingual EN+AR router head, 6M BERT backbone 8 days ago
  • train_router_head_multi.py
    10.2 kB
    bilingual EN+AR router head, 6M BERT backbone 8 days ago