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 ·
2482fdc
1
Parent(s): 1c6c431
Update config.json
Browse files- config.json +1 -1
config.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
{
|
| 2 |
-
"__version__": "1.0.4"
|
| 3 |
"model_type": "bert"
|
| 4 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"__version__": "1.0.4",
|
| 3 |
"model_type": "bert"
|
| 4 |
}
|