NimaBoscarino commited on
Commit
7c1e778
1 Parent(s): 84afa4a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -3
README.md CHANGED
@@ -101,7 +101,7 @@ embedding = model.encode(sentence)
101
  function within the Sentence Transformers library.
102
  </p>
103
  <div
104
- class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
105
  >
106
  <pre
107
  class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
@@ -110,8 +110,7 @@ embedding = model.encode(sentence)
110
  # Load or train a model
111
  model = ...
112
  # Push to Hub
113
- model.save_to_hub("my_new_model")
114
-
115
  </pre>
116
  </div>
117
  </p>
 
101
  function within the Sentence Transformers library.
102
  </p>
103
  <div
104
+ class="p-4 bg-gradient-to-b from-gray-50-to-white border border-gray-100 rounded-lg relative mb-4"
105
  >
106
  <pre
107
  class="break-words leading-1 whitespace-pre-line text-xs md:text-sm text-gray-800">
 
110
  # Load or train a model
111
  model = ...
112
  # Push to Hub
113
+ model.save_to_hub('my_new_model')
 
114
  </pre>
115
  </div>
116
  </p>