Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
dataset_size:10K<n<100K
loss:TripletLoss
Eval Results (legacy)
text-embeddings-inference
Instructions to use Hgkang00/FT-triple-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Hgkang00/FT-triple-2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Hgkang00/FT-triple-2") sentences = [ "The agoraphobic situations almost always provoke fear or anxiety.", "Attending crowded events or public gatherings fills me with anxiety because of the fear of a potential threat in the crowd.", "The struggle to focus during the day is often due to feeling exhausted even after a full night's sleep.", "It's not uncommon for me to engage in risky behaviors like reckless driving or reckless sexual encounters." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K