Sentence Similarity
sentence-transformers
ONNX
Safetensors
German
bert
feature-extraction
loss:MatryoshkaLoss
custom_code
text-embeddings-inference
Instructions to use aari1995/German_Semantic_V3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use aari1995/German_Semantic_V3 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("aari1995/German_Semantic_V3", trust_remote_code=True) sentences = [ "Bundeskanzler.", "Angela Merkel.", "Olaf Scholz.", "Tino Chrupalla." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -86,7 +86,7 @@ similarities = model.similarity(embeddings, embeddings)
|
|
| 86 |
|
| 87 |
```
|
| 88 |
|
| 89 |
-
# Full Model Architecture
|
| 90 |
|
| 91 |
```
|
| 92 |
SentenceTransformer(
|
|
@@ -122,7 +122,7 @@ Another noticable difference is that V3 has a broader cosine_similarity spectrum
|
|
| 122 |
|
| 123 |
**A:** Broadly speaking, when going from 1024 to 512 dimensions, there is very little trade-off (1 percent). When going down to 64 dimensions, you may face a decrease of up to 3 percent.
|
| 124 |
|
| 125 |
-
#
|
| 126 |
|
| 127 |
Storage comparison:
|
| 128 |

|
|
@@ -130,7 +130,7 @@ Storage comparison:
|
|
| 130 |
Benchmarks: soon.
|
| 131 |
|
| 132 |
# Up next:
|
| 133 |
-
German_Semantic_V3_Instruct: Guiding your embeddings towards self-selected aspects
|
| 134 |
|
| 135 |
# Thank You and Credits
|
| 136 |
|
|
|
|
| 86 |
|
| 87 |
```
|
| 88 |
|
| 89 |
+
## Full Model Architecture
|
| 90 |
|
| 91 |
```
|
| 92 |
SentenceTransformer(
|
|
|
|
| 122 |
|
| 123 |
**A:** Broadly speaking, when going from 1024 to 512 dimensions, there is very little trade-off (1 percent). When going down to 64 dimensions, you may face a decrease of up to 3 percent.
|
| 124 |
|
| 125 |
+
# Evaluation
|
| 126 |
|
| 127 |
Storage comparison:
|
| 128 |

|
|
|
|
| 130 |
Benchmarks: soon.
|
| 131 |
|
| 132 |
# Up next:
|
| 133 |
+
German_Semantic_V3_Instruct: Guiding your embeddings towards self-selected aspects. - planned: 2024.
|
| 134 |
|
| 135 |
# Thank You and Credits
|
| 136 |
|