aoiferyan commited on
Commit
d3c7bbe
1 Parent(s): 332cc64

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +7 -7
app.py CHANGED
@@ -1,7 +1,7 @@
1
- ## from sentence_transformers import SentenceTransformer
2
- ##
3
- ## sentences = ["This is an example sentence", "Each sentence is converted"]
4
- ##
5
- ## model = SentenceTransformer('sentence-transformers/all-miniLM-L6-v2')
6
- ## embeddings = model.encode(sentences)
7
- ## print(embeddings)
 
1
+ from sentence_transformers import SentenceTransformer
2
+
3
+ sentences = ["This is an example sentence", "Each sentence is converted"]
4
+
5
+ model = SentenceTransformer('sentence-transformers/all-miniLM-L6-v2')
6
+ embeddings = model.encode(sentences)
7
+ print(embeddings)