How to use RikoteMaster/MNLP_M2_document_encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("RikoteMaster/MNLP_M2_document_encoder") sentences = [ "##inemia a the the upper limit of normal concentra - b success was defined or at least success menstrual cycles without of cycle. the most from the trial were dizziness, reproduced, comparison bromocriptine the hyperpro n j med ; 904. )", "the yearly inci - dence of symptomatic gallstones is about 1 %. cardiac effects include sinus bradycardia ( 25 % ) and conduction disturbances ( 10 % ). pain at the site of injection is common, especially with the long - acting octreotide suspension. vitamin b 12 deficiency may occur with long - term use of octreotide. a long - acting formulation of lanreotide, another octapeptide somatostatin analog, was approved by the fda in 2007 for treat - ment of acromegaly. lanreotide appears to have effects comparable to those of octreotide on reducing gh levels and normalizing igf - i concentrations. pegvisomant pegvisomant is a gh receptor antagonist used to treat acromegaly. it is the polyethylene glycol ( peg ) derivative of a mutant gh, b2036. like native gh, pegvisomant has two gh receptor bind - ing sites. however, one of the pegvisomant gh receptor binding sites has increased affinity for the gh receptor, whereas its second gh receptor binding site has reduced affinity. this differential receptor affinity allows the initial step ( gh receptor dime", "##inemia and anovulation. a : the dotted line indicates the upper limit of normal serum prolactin concentra - tions. b : complete success was defined as pregnancy or at least two consecutive menses with evidence of ovulation at least once. partial success was two menstrual cycles without evidence of ovulation or just one ovulatory cycle. the most common reasons for withdrawal from the trial were nausea, headache, dizziness, abdominal pain, and fatigue. ( modified and reproduced, with permission, from webster j et al : a comparison of cabergoline and bromocriptine in the treatment of hyperpro - lactinemic amenorrhea. n engl j med 1994 ; 331 : 904. )", "compounds are shown in figure 38 – 5. the thiocarbamide group is essential for antithyroid activity. pharmacokinetics methimazole is completely absorbed but at variable rates. it is readily accumulated by the thyroid gland and has a volume of distribution similar to that of propylthiouracil. excretion is slower than with propylthiouracil ; 65 – 70 % of a dose is recovered in the urine in 48 hours. in contrast, propylthiouracil is rapidly absorbed, reaching peak serum levels after 1 hour. the bioavailability of 50 – 80 % may be due to incomplete absorption or a large first - pass effect in the liver. the volume of distribution approximates total body water with accumulation in the thyroid gland. most of an ingested dose of propylthiouracil is excreted by the kidney as the inactive glucuronide within 24 hours. the short plasma half - life of these agents ( 1. 5 hours for propyl - thiouracil and 6 hours for methimazole ) has little influence on the duration of the antithyroid action or the dosing interval because both agents are accumulated by the thyroid gland. for propyl -" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4]
The community tab is the place to discuss and collaborate with the HF community!