Update README.md
Browse files
README.md
CHANGED
@@ -34,7 +34,7 @@ from sentence_transformers import SentenceTransformer
|
|
34 |
sentences = ["Una ragazza si acconcia i capelli.", "Una ragazza si sta spazzolando i capelli."]
|
35 |
matryoshka_dim = 64
|
36 |
|
37 |
-
model = SentenceTransformer('nickprock/sentence-bert-base-italian-uncased')
|
38 |
embeddings = model.encode(sentences)
|
39 |
embeddings = embeddings[..., :matryoshka_dim] # Shrink the embedding dimensions
|
40 |
print(embeddings.shape)
|
|
|
34 |
sentences = ["Una ragazza si acconcia i capelli.", "Una ragazza si sta spazzolando i capelli."]
|
35 |
matryoshka_dim = 64
|
36 |
|
37 |
+
model = SentenceTransformer('nickprock/sentence-bert-base-italian-xxl-uncased-sts-matryoshka')
|
38 |
embeddings = model.encode(sentences)
|
39 |
embeddings = embeddings[..., :matryoshka_dim] # Shrink the embedding dimensions
|
40 |
print(embeddings.shape)
|