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
Download tokenizer.json from ImranzamanML/German_Semantic_V3b_Optimised: direct link, hf CLI and curl.
- Browser
- Download file 729 kB
-
https://huggingface.co/ImranzamanML/German_Semantic_V3b_Optimised/resolve/main/tokenizer.json
- Command line
-
hf download hf://ImranzamanML/German_Semantic_V3b_Optimised/tokenizer.json
-
curl -L -o tokenizer.json https://huggingface.co/ImranzamanML/German_Semantic_V3b_Optimised/resolve/main/tokenizer.json
729 kB
File too large to display, you can check the raw version instead.