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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

Muhammad2003
/
router-embedding

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:14271
loss:BatchAllTripletLoss
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use Muhammad2003/router-embedding with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Muhammad2003/router-embedding")
    
    sentences = [
        "In a complex legal scenario involving multiple jurisdictions, how would you navigate the differences in laws related to online privacy violations and harassment?",
        "How does voluntary admission under the Baker Act impact eligibility for a Concealed Weapon Permit?",
        "How do the terms of the account and the circumstances impact the potential liability of the Bank of Hawaii in this situation?",
        "Can someone run a background check on you without your consent?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
router-embedding
589 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 3 commits
Muhammad2003's picture
Muhammad2003
Upload points.jsonl with huggingface_hub
5d93ebd verified almost 2 years ago
  • 1_Pooling
    Add new SentenceTransformer model. almost 2 years ago
  • .gitattributes
    1.57 kB
    Upload points.jsonl with huggingface_hub almost 2 years ago
  • README.md
    13.8 kB
    Add new SentenceTransformer model. almost 2 years ago
  • config.json
    740 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • config_sentence_transformers.json
    201 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • model.safetensors
    438 MB
    xet
    Add new SentenceTransformer model. almost 2 years ago
  • modules.json
    349 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • points.jsonl
    150 MB
    xet
    Upload points.jsonl with huggingface_hub almost 2 years ago
  • sentence_bert_config.json
    52 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • special_tokens_map.json
    695 Bytes
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer.json
    712 kB
    Add new SentenceTransformer model. almost 2 years ago
  • tokenizer_config.json
    1.24 kB
    Add new SentenceTransformer model. almost 2 years ago
  • vocab.txt
    232 kB
    Add new SentenceTransformer model. almost 2 years ago