UMCU commited on
Commit
5450d90
·
verified ·
1 Parent(s): 785bf02

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +8 -0
README.md CHANGED
@@ -101,6 +101,14 @@ sbert_model = SentenceTransformer(modules=[word_embedding_model, pooling_model])
101
  sbert_model.cuda() # move to GPU if available
102
  ```
103
 
 
 
 
 
 
 
 
 
104
  # Now you can encode your list of phrases directly:
105
  ```python
106
  all_names = [
 
101
  sbert_model.cuda() # move to GPU if available
102
  ```
103
 
104
+ # 4) Save it as an SBERT model
105
+
106
+ ```python
107
+ save_path = "./sap_umls_sbert"
108
+ sbert_model.save(save_path)
109
+ ```
110
+
111
+
112
  # Now you can encode your list of phrases directly:
113
  ```python
114
  all_names = [