Firqa Aqila Noor A commited on
Commit
7205897
1 Parent(s): b2e2ddc

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +4 -2
README.md CHANGED
@@ -26,7 +26,8 @@ Then you can use the model like this:
26
 
27
  ```python
28
  from sentence_transformers import SentenceTransformer
29
- sentences = ["Ibukota Perancis adalah Paris", "Menara Eifel terletak di Paris, Perancis", "Pizza adalah makanan khas Italia", "Saya kuliah di Carneige Melon University"]
 
30
 
31
  model = SentenceTransformer('firqaaa/indo-sbert-finetuned-snli-mnli-id')
32
  embeddings = model.encode(sentences)
@@ -51,7 +52,8 @@ def mean_pooling(model_output, attention_mask):
51
 
52
 
53
  # Sentences we want sentence embeddings for
54
- sentences = ["Ibukota Perancis adalah Paris", "Menara Eifel terletak di Paris, Perancis", "Pizza adalah makanan khas Italia", "Saya kuliah di Carneige Melon University"]
 
55
 
56
 
57
  # Load model from HuggingFace Hub
 
26
 
27
  ```python
28
  from sentence_transformers import SentenceTransformer
29
+ sentences = ["Ibukota Perancis adalah Paris", "Menara Eifel terletak di Paris, Perancis",
30
+ "Pizza adalah makanan khas Italia", "Saya kuliah di Carneige Melon University"]
31
 
32
  model = SentenceTransformer('firqaaa/indo-sbert-finetuned-snli-mnli-id')
33
  embeddings = model.encode(sentences)
 
52
 
53
 
54
  # Sentences we want sentence embeddings for
55
+ sentences = ["Ibukota Perancis adalah Paris", "Menara Eifel terletak di Paris, Perancis",
56
+ "Pizza adalah makanan khas Italia", "Saya kuliah di Carneige Melon University"]
57
 
58
 
59
  # Load model from HuggingFace Hub