Update README.md
Browse files
README.md
CHANGED
@@ -85,7 +85,8 @@ Then you can load this model and run inference.
|
|
85 |
from sentence_transformers import SentenceTransformer
|
86 |
|
87 |
# Download from the 🤗 Hub
|
88 |
-
|
|
|
89 |
# Run inference
|
90 |
sentences = [
|
91 |
'120x190 yapıyor musunuz',
|
|
|
85 |
from sentence_transformers import SentenceTransformer
|
86 |
|
87 |
# Download from the 🤗 Hub
|
88 |
+
matryoshka_dim = 768
|
89 |
+
model = SentenceTransformer("Trendyol/TY-ecomm-embed-multilingual-base-v1.2.0", trust_remote_code=True, truncate_dim=matryoshka_dim)
|
90 |
# Run inference
|
91 |
sentences = [
|
92 |
'120x190 yapıyor musunuz',
|