nickprock commited on
Commit
91fd2d0
1 Parent(s): 12e4612

Update README.md

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