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
Commit ·
12f6692
1
Parent(s): 0c34fb8
Update README.md
Browse files
README.md
CHANGED
|
@@ -46,4 +46,5 @@ Ein Mann spielt Gitarre Eine Frau sieht fern Score: 0.0098
|
|
| 46 |
Ein Mann spielt Gitarre Der neue Film ist so toll Score: 0.0828
|
| 47 |
Der neue Film ist großartig Der Hund spielt im Garten Score: 0.1008
|
| 48 |
Der neue Film ist großartig Eine Frau sieht fern Score: 0.0674
|
| 49 |
-
"""
|
|
|
|
|
|
| 46 |
Ein Mann spielt Gitarre Der neue Film ist so toll Score: 0.0828
|
| 47 |
Der neue Film ist großartig Der Hund spielt im Garten Score: 0.1008
|
| 48 |
Der neue Film ist großartig Eine Frau sieht fern Score: 0.0674
|
| 49 |
+
"""
|
| 50 |
+
```
|