Spaces:
Sleeping
Sleeping
change model
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ combined_definitions = [
|
|
| 11 |
for item in dataset
|
| 12 |
]
|
| 13 |
|
| 14 |
-
model = SentenceTransformer("
|
| 15 |
definition_embeddings = model.encode(combined_definitions, convert_to_tensor=True)
|
| 16 |
proverb_embeddings = model.encode(proverbs, convert_to_tensor=True)
|
| 17 |
|
|
|
|
| 11 |
for item in dataset
|
| 12 |
]
|
| 13 |
|
| 14 |
+
model = SentenceTransformer("emrecan/bert-base-turkish-cased-mean-nli-stsb-tr")
|
| 15 |
definition_embeddings = model.encode(combined_definitions, convert_to_tensor=True)
|
| 16 |
proverb_embeddings = model.encode(proverbs, convert_to_tensor=True)
|
| 17 |
|