Sentence Similarity
sentence-transformers
Safetensors
xlm-roberta
feature-extraction
dense
text-embeddings-inference
Instructions to use kiel2/Kiel-2-Poly with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use kiel2/Kiel-2-Poly with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("kiel2/Kiel-2-Poly") sentences = [ "But Close wondered whether the package would be worth the cost of licensing the third-party software , along with Salesforce.com 's rental price .", "Close also questions whether it would be worth the cost of licensing third-party software , along with Salesforce.com 's rental price .", "No tumors were detected ; rather , empty cavities and scar tissue were found in their place .", "A race observer sits in the passenger seat of the follow vehicle to record any broken rules and also keep track of the car 's time ." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
3f0479b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:cad551d5600a84242d0973327029452a1e3672ba6313c2a3c3d69c4310e12719
size 17082987
|