Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
Generated from Trainer
dataset_size:20
loss:MatryoshkaLoss
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!