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

justOneMoreTestCase
/
insurance-rag-embeddings2

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

Instructions to use justOneMoreTestCase/insurance-rag-embeddings2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • sentence-transformers

    How to use justOneMoreTestCase/insurance-rag-embeddings2 with sentence-transformers:

    from sentence_transformers import SentenceTransformer
    
    model = SentenceTransformer("justOneMoreTestCase/insurance-rag-embeddings2")
    
    sentences = [
        "The policy covers insured individuals up to age 80, and children up to 25. The benefits include Hospital Cash, Major Surgical, Day Care, Other Surgical, Ambulance, and Premium Waiver. For the Hospital Cash Benefit, it's activated if hospitalized for more than 24 hours due to injury or sickness.",
        "Each of the insured are covered for\nrisks up to age (80). Children are insured up\nHealth\ntoage25years.\n•\nHospitalcashbenefit(HCB)\n•\nMajorSurgicalBenefit(MSB)\n•\nDayCareProcedureBenefit\n•\nOtherSurgicalBenefit\n•\nAmbulanceBenefit\n•\nPremiumwaiverBenefit(PWB)\nA) HospitalCashBenefit:\ndue to\nIf you or any of the insured lives covered under the policy is hospitalised\nAccidental Body Injury or Sickness and the stay in hospital exceeds a connuous\nperiodof24hours,thenforanyconnuousperiodof24hoursorpartthereof,\n1. Benefits offered under the plan are",
        "the Applicable Daily Benefit shall be effected on each policy anniversary during the\nCover Period and shall connue unl it a ains a maximum amount of 1.5 mes the\nInial Daily Benefit. Thereaer, this amount in each Policy Year in future shall\nremainatthatmaximumlevela ained.\n\nFurther arithmec addion of an amount equal to “No Claim Benefit” (as\ndescribed in Para 1.G) below) provided the policy a racts and is eligible for it.\nThereshallbeno maximum limitfor such increase which meansthat ifthis policyis\neligible for “No Claim Benefit”, the same shall be granted throughout the Cover\nPeriodwithoutanymaximumlimit.\nFor members\nsubsequently under the policy, the benefit in the first year\nincluded\nshall be equal to Inial Daily Benefit amount and thereaer the Applicable Daily\nBenefitshallincreaseasabove.\nIfanyofthememberinsuredisrequiredtostayinanIntensiveCareUnitofahospital,\nt\nsubject\nbenefit limits and\nwo mes the\nDaily\nwill be payable\nto\nApplicable\nBenefit",
        "Benefitshallincreaseasabove.\nIfanyofthememberinsuredisrequiredtostayinanIntensiveCareUnitofahospital,\nt\nsubject\nbenefit limits and\nwo mes the\nDaily\nwill be payable\nto\nApplicable\nBenefit\ncondionsmenonedinPara11A)andexclusionsmenonedinPara15below.\nDuring one period of 24 connuous hours (i.e. one day) of Hospitalisaon (aer\nhaving completed the 24 hours as above), if the said Hospitalisaon included stay\ninanIntensiveCareUnitaswellasinanyotherin-paent(non-IntensiveCareUnit)\nward of the Hospital, the Corporaon shall pay benefits as if the admission was to\nthe Intensive Care Unit provided that the period of Hospitalisaon in the Intensive\nCareUnitwasatleast4connuoushours.\npayable\nor\nNo benefit will be\nfor the first 24 hours of hospitalisaon. However, f\nevery\nthat extends for a connuous period of 7 days or more, the\nHospitalizaon\nDaily Hospital Cash Benefit would also be paid for first 24 hours (day one) of\nhospitalizaon, regardless of whether the Insured was admi ed in a general or"
    ]
    embeddings = model.encode(sentences)
    
    similarities = model.similarity(embeddings, embeddings)
    print(similarities.shape)
    # [4, 4]
  • Notebooks
  • Google Colab
  • Kaggle
insurance-rag-embeddings2
91.6 MB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
justOneMoreTestCase's picture
justOneMoreTestCase
Upload folder using huggingface_hub
d5b5afd verified 29 days ago
  • 1_Pooling
    Upload folder using huggingface_hub 29 days ago
  • eval
    Upload folder using huggingface_hub 29 days ago
  • .gitattributes
    1.52 kB
    initial commit about 1 month ago
  • README.md
    38.1 kB
    Upload folder using huggingface_hub 29 days ago
  • config.json
    744 Bytes
    Upload folder using huggingface_hub 29 days ago
  • config_sentence_transformers.json
    283 Bytes
    Upload folder using huggingface_hub 29 days ago
  • model.safetensors
    90.9 MB
    xet
    Upload folder using huggingface_hub 29 days ago
  • modules.json
    429 Bytes
    Upload folder using huggingface_hub 29 days ago
  • sentence_bert_config.json
    241 Bytes
    Upload folder using huggingface_hub 29 days ago
  • tokenizer.json
    712 kB
    Upload folder using huggingface_hub 29 days ago
  • tokenizer_config.json
    374 Bytes
    Upload folder using huggingface_hub 29 days ago