Upload folder using huggingface_hub
Browse files
README.md
CHANGED
@@ -231,6 +231,9 @@ similarities = model.similarity(embeddings, embeddings)
|
|
231 |
print(similarities.shape)
|
232 |
# [3, 3]
|
233 |
print(similarities)
|
|
|
|
|
|
|
234 |
```
|
235 |
|
236 |
### Usage (HuggingFace Transformers)
|
@@ -289,7 +292,7 @@ print(sentence_embeddings)
|
|
289 |
| spearman_euclidean | 0.8694 |
|
290 |
| pearson_dot | 0.8684 |
|
291 |
| spearman_dot | 0.8666 |
|
292 |
-
| pearson_max
|
293 |
| **spearman_max** | **0.8724** |
|
294 |
|
295 |
<!--
|
|
|
231 |
print(similarities.shape)
|
232 |
# [3, 3]
|
233 |
print(similarities)
|
234 |
+
# tensor([[1.0000, 0.6173, 0.3672],
|
235 |
+
# [0.6173, 1.0000, 0.4775],
|
236 |
+
# [0.3672, 0.4775, 1.0000]])
|
237 |
```
|
238 |
|
239 |
### Usage (HuggingFace Transformers)
|
|
|
292 |
| spearman_euclidean | 0.8694 |
|
293 |
| pearson_dot | 0.8684 |
|
294 |
| spearman_dot | 0.8666 |
|
295 |
+
| **pearson_max** | **0.874** |
|
296 |
| **spearman_max** | **0.8724** |
|
297 |
|
298 |
<!--
|