Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:2100
loss:MultipleNegativesRankingLoss
Eval Results (legacy)
Instructions to use ChenyuEcho/hospital_qapairs_regularprompt_oldtrainmethod with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ChenyuEcho/hospital_qapairs_regularprompt_oldtrainmethod with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ChenyuEcho/hospital_qapairs_regularprompt_oldtrainmethod") sentences = [ "What concerns did Environmental Services staff raise regarding after-hours visitor access to patient rooms as discussed by Jordan P. Anderson on January 14, 2026?", "Environmental Services staff expressed concerns about ensuring proper cleaning protocols when guests remain past designated hours, which can lead to delays in sterilization.", "David R. Park sent the relevant documents and a complete set of records to Dr. Catherine Reynolds on January 12, 2026, as requested for the ongoing investigation.", "Isabella N. Garcia agreed to initiate an Ethics Committee consult by reaching out to the committee chair and including relevant staff in the discussion, and asked Richard T. Howard to continue collecting feedback from families and staff to inform the review." ] 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!