Sentence Similarity
sentence-transformers
Safetensors
qwen3
feature-extraction
Generated from Trainer
dataset_size:9741
loss:MultipleNegativesRankingLoss
text-embeddings-inference
Instructions to use Matjac5/MNLP_M2_document_encoder with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Matjac5/MNLP_M2_document_encoder with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Matjac5/MNLP_M2_document_encoder") sentences = [ "His anger reached a boiling point, the therapist said they should take a break and what?", "chicken coop", "cool off", "bark" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 229 Bytes
3451309 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | [
{
"idx": 0,
"name": "0",
"path": "",
"type": "sentence_transformers.models.Transformer"
},
{
"idx": 1,
"name": "1",
"path": "1_Pooling",
"type": "sentence_transformers.models.Pooling"
}
] |