dima-does-code commited on
Commit
0e61911
1 Parent(s): 08ea649

Upload README.md

Browse files
Files changed (1) hide show
  1. README.md +6 -4
README.md CHANGED
@@ -7,7 +7,7 @@ tags:
7
 
8
  ---
9
 
10
- # {MODEL_NAME}
11
 
12
  This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
13
 
@@ -15,19 +15,21 @@ This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentence
15
 
16
  ## Usage (Sentence-Transformers)
17
 
18
- Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed:
19
 
20
  ```
21
  pip install -U sentence-transformers
 
 
22
  ```
23
 
24
  Then you can use the model like this:
25
 
26
  ```python
27
  from sentence_transformers import SentenceTransformer
28
- sentences = ["This is an example sentence", "Each sentence is converted"]
29
 
30
- model = SentenceTransformer('{MODEL_NAME}')
31
  embeddings = model.encode(sentences)
32
  print(embeddings)
33
  ```
 
7
 
8
  ---
9
 
10
+ # LaBSE-geonames-15K-MBML-3e-v1
11
 
12
  This is a [sentence-transformers](https://www.SBERT.net) model: It maps sentences & paragraphs to a 768 dimensional dense vector space and can be used for tasks like clustering or semantic search.
13
 
 
15
 
16
  ## Usage (Sentence-Transformers)
17
 
18
+ Using this model becomes easy when you have [sentence-transformers](https://www.SBERT.net) installed and some other packages:
19
 
20
  ```
21
  pip install -U sentence-transformers
22
+ pip install diffusers
23
+ pip install safetensors
24
  ```
25
 
26
  Then you can use the model like this:
27
 
28
  ```python
29
  from sentence_transformers import SentenceTransformer
30
+ sentences = ["Vladivostok", "Astana"]
31
 
32
+ model = SentenceTransformer('dima-does-code/LaBSE-geonames-15K-MBML-3e-v1')
33
  embeddings = model.encode(sentences)
34
  print(embeddings)
35
  ```