Spaces:
Running
Running
Commit
·
569e51c
1
Parent(s):
d5addca
Update README.md
Browse files
README.md
CHANGED
@@ -32,8 +32,7 @@ pinned: false
|
|
32 |
<div
|
33 |
class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
|
34 |
>
|
35 |
-
<pre class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
|
36 |
-
|
37 |
from sentence_transformers import SentenceTransformer
|
38 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
39 |
|
@@ -42,7 +41,6 @@ sentence = ['This framework generates embeddings for each input sentence']
|
|
42 |
|
43 |
#Sentences are encoded by calling model.encode()
|
44 |
embedding = model.encode(sentence)
|
45 |
-
|
46 |
</pre>
|
47 |
</div>
|
48 |
</div>
|
|
|
32 |
<div
|
33 |
class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
|
34 |
>
|
35 |
+
<pre class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
|
|
|
36 |
from sentence_transformers import SentenceTransformer
|
37 |
model = SentenceTransformer('paraphrase-MiniLM-L6-v2')
|
38 |
|
|
|
41 |
|
42 |
#Sentences are encoded by calling model.encode()
|
43 |
embedding = model.encode(sentence)
|
|
|
44 |
</pre>
|
45 |
</div>
|
46 |
</div>
|