Update README.md
Browse files
README.md
CHANGED
@@ -28,7 +28,7 @@ Then you can use the model like this:
|
|
28 |
|
29 |
```python
|
30 |
from sentence_transformers import SentenceTransformer
|
31 |
-
sentences = [
|
32 |
|
33 |
model = SentenceTransformer('hiiamsid/sentence_similarity_spanish_es')
|
34 |
embeddings = model.encode(sentences)
|
@@ -53,7 +53,7 @@ def mean_pooling(model_output, attention_mask):
|
|
53 |
|
54 |
|
55 |
# Sentences we want sentence embeddings for
|
56 |
-
sentences = ['
|
57 |
|
58 |
# Load model from HuggingFace Hub
|
59 |
tokenizer = AutoTokenizer.from_pretrained('hiiamsid/sentence_similarity_spanish_es')
|
|
|
28 |
|
29 |
```python
|
30 |
from sentence_transformers import SentenceTransformer
|
31 |
+
sentences = ['Mi nombre es Siddhartha', 'Mis amigos me llamaron por mi nombre Siddhartha']
|
32 |
|
33 |
model = SentenceTransformer('hiiamsid/sentence_similarity_spanish_es')
|
34 |
embeddings = model.encode(sentences)
|
|
|
53 |
|
54 |
|
55 |
# Sentences we want sentence embeddings for
|
56 |
+
sentences = ['Mi nombre es Siddhartha', 'Mis amigos me llamaron por mi nombre Siddhartha']
|
57 |
|
58 |
# Load model from HuggingFace Hub
|
59 |
tokenizer = AutoTokenizer.from_pretrained('hiiamsid/sentence_similarity_spanish_es')
|