hiiamsid commited on
Commit
3118431
1 Parent(s): 21458c0

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
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 = ["This is an example sentence", "Each sentence is converted"]
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 = ['This is an example sentence', 'Each sentence is converted']
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')