Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:20000
loss:MultipleNegativesRankingLoss
Instructions to use dreiiuu/smartual_model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use dreiiuu/smartual_model with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("dreiiuu/smartual_model") sentences = [ "Rules regarding Hearing procedures and due process (policy)", "Graduation requires fulfillment of all academic requirements, clearance of financial obligations, completion of residency, and submission of necessary documents as listed in the graduation checklist.", "Students charged with offenses are entitled to notice, access to evidence, the opportunity to answer, and representation during hearings. Hearing committees are constituted according to the Manual to ensure impartiality.", "Student organizations must secure registration and recognition from the Office of Student Affairs. Official representation in external activities requires written authorization and compliance with OSA procedures." ] 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!