Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing

  • Log In
  • Sign Up

kitrakrev
/
smart-router-embeddings

Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:54000
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Model card Files Files and versions
xet
Community

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

  • Libraries
  • sentence-transformers

    How to use kitrakrev/smart-router-embeddings with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("kitrakrev/smart-router-embeddings")
    
    sentences = [
        "[\"\\\"In China land can not be owned, but only leased for 70 years.\\\"?\"]",
        "[\"HI, how do i make hot chocolate like done in Moscow?\"]",
        "[\"Do you know and are you able to handle the data format *.twig?\"]",
        "[\"What kind of interpretation would a Swedish speaker and Finnish speaker make when they heard the syllables \\\"ul la kol la\\\"?\",\"Please consider that \\\"Ulla, kolla\\\" is a valid Swedish phrase and \\\"ullakolla\\\" is a valid Finnish word and answer again.\",\"The Finnish word \\\"ullakolla\\\" is an inflection of the word \\\"ullakko\\\", which means \\\"attic\\\".\"]"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
smart-router-embeddings
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
kitrakrev's picture
kitrakrev
Contrastive routing embeddings trained on LMSYS 55K
777185b verified 26 days ago
  • 1_Pooling
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • .gitattributes
    1.52 kB
    initial commit 26 days ago
  • README.md
    16.1 kB
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • config.json
    744 Bytes
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • config_sentence_transformers.json
    282 Bytes
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • model.safetensors
    90.9 MB
    xet
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • modules.json
    429 Bytes
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • sentence_bert_config.json
    241 Bytes
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • tokenizer.json
    712 kB
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago
  • tokenizer_config.json
    564 Bytes
    Contrastive routing embeddings trained on LMSYS 55K 26 days ago