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