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

  • Log In
  • Sign Up

rajaji01
/
semantic-search

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

Instructions to use rajaji01/semantic-search with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use rajaji01/semantic-search with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("rajaji01/semantic-search")
    
    sentences = [
        "what is a spleen",
        "It plays multiple supporting roles in the body it acts as a filter for blood as part of the immune system old red blood cells are recycled in the spleen and platelets and white blood cells are stored there.",
        "Mika",
        "Size: 28 in (71 cm). Weight: 5 to 20 lbs (2.3 to 9 kg). Size relative to a 6-ft (2-m) man: Domestic cats, no matter their breed, are all members of one species. Felis catus has had a very long relationship with humans.Ancient Egyptians may have first domesticated cats as early as 4,000 years ago."
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
semantic-search
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
rajaji01's picture
rajaji01
Upload fine-tuned E5-small model
9c85cd6 verified 3 months ago
  • 1_Pooling
    Upload fine-tuned E5-small model 3 months ago
  • .gitattributes
    1.52 kB
    initial commit 3 months ago
  • README.md
    14.5 kB
    Upload fine-tuned E5-small model 3 months ago
  • config.json
    685 Bytes
    Upload fine-tuned E5-small model 3 months ago
  • config_sentence_transformers.json
    296 Bytes
    Upload fine-tuned E5-small model 3 months ago
  • model.safetensors
    133 MB
    xet
    Upload fine-tuned E5-small model 3 months ago
  • modules.json
    368 Bytes
    Upload fine-tuned E5-small model 3 months ago
  • sentence_bert_config.json
    59 Bytes
    Upload fine-tuned E5-small model 3 months ago
  • special_tokens_map.json
    732 Bytes
    Upload fine-tuned E5-small model 3 months ago
  • tokenizer.json
    712 kB
    Upload fine-tuned E5-small model 3 months ago
  • tokenizer_config.json
    1.33 kB
    Upload fine-tuned E5-small model 3 months ago
  • vocab.txt
    232 kB
    Upload fine-tuned E5-small model 3 months ago