Update README.md
Browse files
README.md
CHANGED
@@ -29,7 +29,7 @@ from sentence_transformers import SentenceTransformer
|
|
29 |
sentences = ["Ibukota Perancis adalah Paris",
|
30 |
"Menara Eifel terletak di Paris, Perancis",
|
31 |
"Pizza adalah makanan khas Italia",
|
32 |
-
"Saya kuliah di Carneige
|
33 |
|
34 |
model = SentenceTransformer('firqaaa/indo-sbert-finetuned-anli-id')
|
35 |
embeddings = model.encode(sentences)
|
@@ -57,7 +57,7 @@ def mean_pooling(model_output, attention_mask):
|
|
57 |
sentences = ["Ibukota Perancis adalah Paris",
|
58 |
"Menara Eifel terletak di Paris, Perancis",
|
59 |
"Pizza adalah makanan khas Italia",
|
60 |
-
"Saya kuliah di Carneige
|
61 |
|
62 |
|
63 |
# Load model from HuggingFace Hub
|
|
|
29 |
sentences = ["Ibukota Perancis adalah Paris",
|
30 |
"Menara Eifel terletak di Paris, Perancis",
|
31 |
"Pizza adalah makanan khas Italia",
|
32 |
+
"Saya kuliah di Carneige Mellon University"]
|
33 |
|
34 |
model = SentenceTransformer('firqaaa/indo-sbert-finetuned-anli-id')
|
35 |
embeddings = model.encode(sentences)
|
|
|
57 |
sentences = ["Ibukota Perancis adalah Paris",
|
58 |
"Menara Eifel terletak di Paris, Perancis",
|
59 |
"Pizza adalah makanan khas Italia",
|
60 |
+
"Saya kuliah di Carneige Mellon University"]
|
61 |
|
62 |
|
63 |
# Load model from HuggingFace Hub
|