Instructions to use Sahajtomar/German-semantic with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Sahajtomar/German-semantic with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Sahajtomar/German-semantic") sentences = [ "Das ist eine glückliche Person", "Das ist ein glücklicher Hund", "Das ist eine sehr glückliche Person", "Heute ist ein sonniger Tag" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
How did you train this model?
#1
by PhilipMay - opened
Hi Sahaj,
first many thanks for sharing this model with us.
What data did you exactly use for training?
Just the German part of this dataset?
https://huggingface.co/datasets/stsb_multi_mt
Did you use anything else for training?
Many thanks
Philip