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

Bharatdeep-H
/
pq_cache

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

Instructions to use Bharatdeep-H/pq_cache with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use Bharatdeep-H/pq_cache with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("Bharatdeep-H/pq_cache")
    
    sentences = [
        "How did my portfolio perform during the last 18 days?",
        "What is the performance of my portfolio over the last 18 days?",
        "Show me the geographic distribution of my investments\n",
        "Show me recommendations on improving returns and risk"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
pq_cache
439 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
Bharatdeep-H's picture
Bharatdeep-H
Upload query normalization model
6255bae verified about 1 year ago
  • 1_Pooling
    Upload query normalization model about 1 year ago
  • eval
    Upload query normalization model about 1 year ago
  • .gitattributes
    1.52 kB
    initial commit about 1 year ago
  • README.md
    17.8 kB
    Upload query normalization model about 1 year ago
  • config.json
    613 Bytes
    Upload query normalization model about 1 year ago
  • config_sentence_transformers.json
    199 Bytes
    Upload query normalization model about 1 year ago
  • model.safetensors
    438 MB
    xet
    Upload query normalization model about 1 year ago
  • modules.json
    349 Bytes
    Upload query normalization model about 1 year ago
  • sentence_bert_config.json
    53 Bytes
    Upload query normalization model about 1 year ago
  • special_tokens_map.json
    964 Bytes
    Upload query normalization model about 1 year ago
  • tokenizer.json
    711 kB
    Upload query normalization model about 1 year ago
  • tokenizer_config.json
    1.62 kB
    Upload query normalization model about 1 year ago
  • vocab.txt
    232 kB
    Upload query normalization model about 1 year ago