Sentence Similarity
sentence-transformers
Safetensors
qwen3
feature-extraction
text-embeddings-inference
Instructions to use leafxyz/main-v2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use leafxyz/main-v2 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("leafxyz/main-v2") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
- Xet hash:
- 3c55f862f19af647e2c7ede5641cdd18cf91983c2cf6d4919021a09b33ebd17f
- Size of remote file:
- 11.4 MB
- SHA256:
- 67b23115c7cace3b6700c333da5038e66e95a9c2c71531b6953563a8c8bb1dee
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.