Sentence Similarity
sentence-transformers
TensorBoard
Safetensors
mpnet
feature-extraction
Generated from Trainer
dataset_size:65698
loss:ContrastiveLoss
text-embeddings-inference
Instructions to use B0ketto/tmp_trainer with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use B0ketto/tmp_trainer with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("B0ketto/tmp_trainer") sentences = [ "Enforcement of minor traffic offenses leads to the discovery of more serious crimes.", "Western culture has created independent women who are strong on their own and do not need the protection or support of their husband. This reduces the subjugation of women.", "Philando Castile, stopped for a broken tailight, was shot seven times and killed trying to comply with the officer's request for identification.", "The children will have several older / more mature stepmothers." ] 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!