Update README.md
Browse files## Sample usage
from sentence_transformers import SentenceTransformer
model = SentenceTransformer("acayir64/turkish-embedding-model")
sentences = [
"Ali ata bak.",
"Ata bak kim gelmiş!",
"Ata bak Ali!",
]
embeddings = model.encode(sentences)
print(embeddings.shape)
[3, 384]
similarities = model.similarity(embeddings, embeddings)
print(similarities)
README.md
CHANGED
@@ -1,12 +1,12 @@
|
|
1 |
-
|
2 |
---
|
3 |
tags:
|
4 |
- autotrain
|
5 |
- sentence-transformers
|
6 |
widget:
|
7 |
-
- text:
|
8 |
datasets:
|
9 |
- ucsahin/TR-Extractive-QA-5K
|
|
|
10 |
---
|
11 |
|
12 |
# Model Trained Using AutoTrain
|
@@ -14,4 +14,4 @@ datasets:
|
|
14 |
- Problem type: Sentence Transformers
|
15 |
|
16 |
## Validation Metrics
|
17 |
-
No validation metrics available
|
|
|
|
|
1 |
---
|
2 |
tags:
|
3 |
- autotrain
|
4 |
- sentence-transformers
|
5 |
widget:
|
6 |
+
- text: I love AutoTrain
|
7 |
datasets:
|
8 |
- ucsahin/TR-Extractive-QA-5K
|
9 |
+
license: apache-2.0
|
10 |
---
|
11 |
|
12 |
# Model Trained Using AutoTrain
|
|
|
14 |
- Problem type: Sentence Transformers
|
15 |
|
16 |
## Validation Metrics
|
17 |
+
No validation metrics available
|