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

1shoomun
/
semant-cache-updated

Sentence Similarity
sentence-transformers
Safetensors
t5
feature-extraction
Generated from Trainer
dataset_size:2620
loss:MultipleNegativesRankingLoss
loss:CosineSimilarityLoss
custom_code
Eval Results (legacy)
Model card Files Files and versions
xet
Community

Instructions to use 1shoomun/semant-cache-updated with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use 1shoomun/semant-cache-updated with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("1shoomun/semant-cache-updated", trust_remote_code=True)
    
    sentences = [
        "What sector am I most heavily invested in?",
        "Show me how to switch my stock portfolio to mutual funds\n",
        "What percentage of my portfolio is in X",
        "Which sector do I invest most in?"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
semant-cache-updated / eval
75.7 kB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
1shoomun's picture
1shoomun
Updated Weights
9ee5443 verified about 1 year ago
  • Information-Retrieval_evaluation_test-eval_results.csv
    75.7 kB
    Updated Weights about 1 year ago