Sentence Similarity
sentence-transformers
Safetensors
German
bert
feature-extraction
loss:MatryoshkaLoss
custom_code
text-embeddings-inference
Instructions to use ImranzamanML/German_Semantic_V3b_Optimised with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use ImranzamanML/German_Semantic_V3b_Optimised with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("ImranzamanML/German_Semantic_V3b_Optimised", trust_remote_code=True) sentences = [ "Ein Mann übt Boxen", "Ein Affe praktiziert Kampfsportarten.", "Eine Person faltet ein Blatt Papier.", "Eine Frau geht mit ihrem Hund spazieren." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Ctrl+K