Sentence Similarity
sentence-transformers
Safetensors
feature-extraction
dense
Generated from Trainer
dataset_size:1316
loss:CosineSimilarityLoss
Instructions to use RoyMandira/Semantic_Requirement_Pair_Identifier with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use RoyMandira/Semantic_Requirement_Pair_Identifier with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("RoyMandira/Semantic_Requirement_Pair_Identifier") sentences = [ "The system's contact form must include a CAPTCHA to prevent spam.", "As a Developer I want D Files generation requests to be managed and cached so that duplicate requests do not cause performance issues.", "The Spacecraft in orbit shall automatically detect faults, failures or errors, which may adversely affect the mission", "Identify energy-intensive appliances and peak demand periods." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K