Sentence Similarity
sentence-transformers
Safetensors
bert
feature-extraction
text-embeddings-inference
Instructions to use sarkii/MizoEmbed-1 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sarkii/MizoEmbed-1 with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sarkii/MizoEmbed-1") sentences = [ "That is a happy person", "That is a happy dog", "That is a very happy person", "Today is a sunny day" ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [4, 4] - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ model = SentenceTransformer("sarkii/MizoEmbed-1")
|
|
| 49 |
# Run inference
|
| 50 |
sentences = [
|
| 51 |
'Mizoram a ka zin chu ka hlawkpui hle mai.',
|
| 52 |
-
'Ka zinna ram
|
| 53 |
'Inkhelh hi ka thiam vaklo mahse ka inkhel lui tho thin.',
|
| 54 |
]
|
| 55 |
embeddings = model.encode(sentences)
|
|
|
|
| 49 |
# Run inference
|
| 50 |
sentences = [
|
| 51 |
'Mizoram a ka zin chu ka hlawkpui hle mai.',
|
| 52 |
+
'Ka zinna ram Mizoram ah Reiek Tlang a awm.',
|
| 53 |
'Inkhelh hi ka thiam vaklo mahse ka inkhel lui tho thin.',
|
| 54 |
]
|
| 55 |
embeddings = model.encode(sentences)
|