nickprock commited on
Commit
bcf74a5
1 Parent(s): ef45e63

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -2
README.md CHANGED
@@ -31,7 +31,7 @@ Then you can use the model like this:
31
 
32
  ```python
33
  from sentence_transformers import SentenceTransformer
34
- sentences = ["This is an example sentence", "Each sentence is converted"]
35
 
36
  model = SentenceTransformer('nickprock/stsbm-sentence-flare-it')
37
  embeddings = model.encode(sentences)
@@ -56,7 +56,7 @@ def mean_pooling(model_output, attention_mask):
56
 
57
 
58
  # Sentences we want sentence embeddings for
59
- sentences = ['This is an example sentence', 'Each sentence is converted']
60
 
61
  # Load model from HuggingFace Hub
62
  tokenizer = AutoTokenizer.from_pretrained('nickprock/stsbm-sentence-flare-it')
 
31
 
32
  ```python
33
  from sentence_transformers import SentenceTransformer
34
+ sentences = ["Una ragazza si acconcia i capelli.", "Una ragazza si sta spazzolando i capelli."]
35
 
36
  model = SentenceTransformer('nickprock/stsbm-sentence-flare-it')
37
  embeddings = model.encode(sentences)
 
56
 
57
 
58
  # Sentences we want sentence embeddings for
59
+ sentences = ["Una ragazza si acconcia i capelli.", "Una ragazza si sta spazzolando i capelli."]
60
 
61
  # Load model from HuggingFace Hub
62
  tokenizer = AutoTokenizer.from_pretrained('nickprock/stsbm-sentence-flare-it')