Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:2394
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Instructions to use ChenyuEcho/hospital_emaillevel_oldtrainmethod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ChenyuEcho/hospital_emaillevel_oldtrainmethod with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ChenyuEcho/hospital_emaillevel_oldtrainmethod") sentences = [ "Hendricks case: confidential incident details discussed with OR staff outside the formal investigation process", "Subject: Concerns Regarding Recent Dietary Services Menu Change\nFrom: Laura A. Hughes\nTo: Elizabeth M. Turner\nDate: 2026-01-16\n\nHello Elizabeth,\n\nI am reaching out to bring to your attention several patient concerns that have arisen following the recent dietary services menu change implemented last week. Multiple patients and their families have noted a lack of clarity regarding allergen labeling and have expressed confusion about the new meal selections. In light of our patient safety protocols, I recommend we conduct a rapid review of current menu documentation and consider a focused staff in-service to address labeling accuracy and communication with patients. Please let me know if you require detailed feedback reports or would like to coordinate a joint review meeting to address these issues collectively.\n\nBest regards,\nLaura A. Hughes", "Subject: Patient Safety Week Activities: Join Us in Fostering a Culture of Safety\nFrom: Diane L. Cooper\nTo: All Hospital Staff\nDate: 2025-10-12\n\nDear St. Catherine's Team,\n\nAs we approach National Patient Safety Week, I am pleased to invite all staff to participate in a series of activities dedicated to reinforcing our shared commitment to patient safety and quality care. Throughout the week, we will host educational workshops, interactive safety simulations, and informative sessions led by our hospital's clinical risk management team. These events are designed not only to enhance our understanding of best practices but also to empower every one of us in proactively promoting a safe hospital environment.\n\nPatient safety remains at the heart of our mission, and your engagement is instrumental in upholding our standards. I encourage everyone to review the attached schedule and make time to participate in as many sessions as possible. Together, let’s continue to cultivate transparency, learning, and collaboration across all departments.\n\nShould you have any questions regarding the activities or wish to suggest additional topics, please do not hesitate to reach out to me directly.\n\nThank you for your dedication to excellence and patient care.\n\nBest regards,\nDiane L. Cooper\nDirector, Employee Relations\nSt. Catherine's Regional Hospital", "Subject: Required Meeting: Performance and Policy Compliance\nFrom: Patricia M. Vasquez\nTo: Sarah J. Morrison\nDate: 2025-09-17\n\nDear Sarah,\n\nThank you for your prompt reply and for confirming your attendance at the meeting. To address your request for clarification, we have received reports that you have been discussing confidential incident details related to the Hendricks case with OR staff members outside the formal investigation process. Additionally, it has been noted that your characterization of events in those discussions has been inconsistent with your formal statements submitted to patient safety and risk management.\n\nGiven the seriousness of these concerns, we will discuss them in detail during our meeting on Thursday. I urge you to consider carefully how you want to proceed with your employment here and to review any relevant documentation in advance. If you have further questions, please let me know.\n\nRegards,\nPatricia M. Vasquez\nRisk Management Director" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
| { | |
| "add_prefix_space": false, | |
| "backend": "tokenizers", | |
| "bos_token": null, | |
| "clean_up_tokenization_spaces": false, | |
| "eos_token": "<|im_end|>", | |
| "errors": "replace", | |
| "extra_special_tokens": [ | |
| "<|im_start|>", | |
| "<|im_end|>", | |
| "<|object_ref_start|>", | |
| "<|object_ref_end|>", | |
| "<|box_start|>", | |
| "<|box_end|>", | |
| "<|quad_start|>", | |
| "<|quad_end|>", | |
| "<|vision_start|>", | |
| "<|vision_end|>", | |
| "<|vision_pad|>", | |
| "<|image_pad|>", | |
| "<|video_pad|>" | |
| ], | |
| "is_local": false, | |
| "model_max_length": 131072, | |
| "model_specific_special_tokens": {}, | |
| "pad_token": "<|endoftext|>", | |
| "split_special_tokens": false, | |
| "tokenizer_class": "Qwen2Tokenizer", | |
| "unk_token": null | |
| } | |