Sentence Similarity
sentence-transformers
Safetensors
English
modernbert
feature-extraction
Generated from Trainer
dataset_size:6116
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use schaitanya/modernbert-embed-base-transcript-documents-v1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use schaitanya/modernbert-embed-base-transcript-documents-v1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("schaitanya/modernbert-embed-base-transcript-documents-v1") sentences = [ "What should you do if you experience any bleeding after 3 months of starting HRT?", "So it is best used actually not alone but with the help of hair reduction laser as an adjuvant therapy. Then talking about the cosmetic treatments. So shaving, threading, waxing.\n\nThese methods are pretty good but they are temporary because they do not cause a permanent damage to the hair follicle. Does shaving leads to increased hair growth? So medically it has been proven with experiments, control experiments that that is not the case. Medically we have done shaving then after that we have checked the hair caliber, hair length, rate of growth.\n\nIt is bound to be the same. Then we have hair removal creams. They basically work by dissolving the shaft of the hair and once again these creams may cause allergies in some people.\n\nSo make sure that you do a patch test before using them. Then we have the bleaches. So this basically works by lightening the hair color and making it less noticeable against the skin and most of these bleaching agents contain a chemical called hydrogen peroxide.\n\nSo once again make sure that you do a patch test on the skin before using them. Then talking about the permanent method of the hair removal. So few years back people used to do electrolysis.\n\nSo it is difficult to target larger areas of skin with electrolysis and it can be very time consuming also. But now we have lasers available which are very effective. They can be used to target bigger areas of the skin.\n\nSo we asked Dr. Sachin about what types of lasers, how to choose where to go for laser, how many sitting and a lot more. Laser hair reduction treatment essentially involves a single wavelength of light which gets absorbed inside your hair follicle, the color inside it and partially causes damage so that it doesn't either produce hair or produces hair which is very thin and almost baby like or it delays the growth a lot. So let's say if you shave and your hair comes back in five days or ten days, once you do laser and you reach a certain point where you've done a certain number of sessions, it may not come for three months or four months and you only have to do maintenance sessions then.\n\nBut you have to realize the right candidate for doing laser hair reduction is somebody who's got terminal hair, somebody who's got thick, coarse hair.", "(0:00 - 0:59)\nPeriods, Menses, Menstruation, Monthly, Maasik, Mahawari, so how can something which is so very essential for the survival of species be so dirty and impure? Something which is very normal, which happens to 50% of the population every month. Something which is the sign of womanhood, something which is the sign of motherhood. How can that be so impure? How can that be so dirty? So why don't people talk about it? As far as I know, even in schools, the sex education class or the e-production chapter is in 7th or 8th class.\n\n(0:59 - 1:33)\nBut these days, as a gynecologist, I see young girls as young as 8 or 9 years coming to me with the periods. We don't talk about it in school, parents don't talk about it, so who will? I find it so strange when the women in the family actually tell their daughters not to do this, not to do this. I don't understand even till today, even in educated class, women don't find it comfortable to talk to their fathers, their brothers about the period.\n\n(1:34 - 2:07)\nFrom centuries till today, when you go to buy a pad, the shopkeeper first wraps the pad in the newspaper, then puts it in black polythene, and then gives it to you. And since we do not talk about this, we also do not talk about our right to have the sex education, the right to have the basic sanitation during periods, the right to have the access to menstrual hygiene products. And we also lose our right to have the opportunities in life.\n\n(2:07 - 2:44)\nHow many opportunities will there be in life, which she may miss due to periods. So what is a period? Period happens because the inner lining of the uterus, which we call medically endometrium, every month, under the influence of hormones, which are estrogen and progesterone, it proliferates, and at the end of the month, it dies and it sheds off in form of bleeding. So this interplay of hormones happens because the body prepares the uterus every month for the pregnancy.\n\n(2:45 - 3:00)\nAnd when the pregnancy does not happen, all that preparation goes waste and the bleeding happens. So let's today and onwards, talk about the periods the way we should be talking about them. My name is Pooja Gupta, I am from Uttar Pradesh.\n\n(3:01 - 3:06)\nMy name is Shashi Yadav. My name is Hemanti. My name is Sejal Kumar and I am from Delhi.\n\n(3:06 - 3:13)\nMy name is Beena.", "Your healthcare professional should discuss your individual risks based on the research evidence at your consultation.\nCan I still have HRT if I have had breast cancer or clots in my legs or lungs?\nHRT may still be an option for you and you should discuss this with your healthcare professional, who may seek advice or refer you to a menopause specialist.\nCan I take HRT if I have diabetes or high blood pressure?\nHRT should not affect your blood sugar control. If you are diabetic or have very high blood pressure, your healthcare professional may consult with a specialist before prescribing HRT.\nWould taking HRT prevent dementia?\nIt is not known whether HRT affects the development of dementia.\nDo I still need to use contraception when taking HRT?\nHRT does not provide contraception. You need to continue using contraception for 1 year after your last period if this happens after the age of 50 years. If your last period happens before you are 50 years of age then you need to continue using contraception for 2 years.\nWhen should I seek advice after starting HRT?\nYou should have a review appointment with your healthcare professional after 3 months of starting or changing HRT, and then yearly thereafter if all remains well.\nYou may notice some vaginal bleeding in the first 3 months of starting or changing HRT, but if you experience any bleeding after 3 months then you should see your healthcare professional straight away.\nHow long can I take HRT for?\nThere are no set time limits for how long you can be on HRT. The benefits and risks of taking HRT will depend on your individual situation, and your healthcare professional should discuss these with you.\nHow do I stop HRT?\nYou can stop your HRT suddenly or reduce gradually before stopping it. The chances of your symptoms coming back is the same either way.\nDo I need a referral to a menopause specialist?" ] 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!