Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:14271
loss:BatchAllTripletLoss
text-embeddings-inference
Run this model with HF Jobs
Run Muhammad2003/router-embedding on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs to fine-tune https://huggingface.co/Muhammad2003/router-embedding. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/Muhammad2003/router-embedding on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!