Update README.md
Browse files
README.md
CHANGED
|
@@ -9,6 +9,8 @@ pipeline_tag: sentence-similarity
|
|
| 9 |
---
|
| 10 |
|
| 11 |
|
|
|
|
|
|
|
| 12 |
# Small LaBSE for English-Azerbaijani
|
| 13 |
|
| 14 |
This is an optimized version of [LaBSE](https://huggingface.co/sentence-transformers/LaBSE)
|
|
@@ -59,4 +61,5 @@ with torch.no_grad():
|
|
| 59 |
|
| 60 |
# Compute similarity
|
| 61 |
similarity = torch.nn.functional.cosine_similarity(embeddings[0], embeddings[1], dim=0)
|
| 62 |
-
```
|
|
|
|
|
|
| 9 |
---
|
| 10 |
|
| 11 |
|
| 12 |
+
|
| 13 |
+
|
| 14 |
# Small LaBSE for English-Azerbaijani
|
| 15 |
|
| 16 |
This is an optimized version of [LaBSE](https://huggingface.co/sentence-transformers/LaBSE)
|
|
|
|
| 61 |
|
| 62 |
# Compute similarity
|
| 63 |
similarity = torch.nn.functional.cosine_similarity(embeddings[0], embeddings[1], dim=0)
|
| 64 |
+
```
|
| 65 |
+
|