Update README.md
Browse files
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 = ["
|
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 = [
|
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')
|