Update README.md
Browse files
README.md
CHANGED
|
@@ -47,8 +47,8 @@ from sentence_transformers.util import cos_sim
|
|
| 47 |
|
| 48 |
model = SentenceTransformer('StyleDistance/mstyledistance') # Load model
|
| 49 |
|
| 50 |
-
input = model.encode("
|
| 51 |
-
others = model.encode(["
|
| 52 |
print(cos_sim(input, others))
|
| 53 |
```
|
| 54 |
|
|
|
|
| 47 |
|
| 48 |
model = SentenceTransformer('StyleDistance/mstyledistance') # Load model
|
| 49 |
|
| 50 |
+
input = model.encode("ÉL TIENE PROBLEMAS PARA LOGRAR LA TEMPERATURA ADECUADA PARA COCINAR LA GALLINA CORNISH.")
|
| 51 |
+
others = model.encode(["TOCARÁS LA GUITARRA CON TU AMIGO; SERÁ UNA EXCELENTE OPORTUNIDAD PARA MEJORAR TUS HABILIDADES MUSICALES.", "Él tiene problemas para lograr la temperatura adecuada para cocinar la gallina Cornish."])
|
| 52 |
print(cos_sim(input, others))
|
| 53 |
```
|
| 54 |
|