Sentence Similarity
sentence-transformers
Safetensors
Uzbek
English
bert
feature-extraction
embeddings
uzbek
retrieval
minilm
Eval Results (legacy)
text-embeddings-inference
Instructions to use sukhrobnurali/uzbek-minilm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use sukhrobnurali/uzbek-minilm with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("sukhrobnurali/uzbek-minilm") sentences = [ "The weather is lovely today.", "It's so sunny outside!", "He drove to the stadium." ] embeddings = model.encode(sentences) similarities = model.similarity(embeddings, embeddings) print(similarities.shape) # [3, 3] - Notebooks
- Google Colab
- Kaggle
Document sentence-transformers>=5.5.1 requirement
Browse files
README.md
CHANGED
|
@@ -99,6 +99,9 @@ scores = q_emb @ p_emb.T
|
|
| 99 |
print(scores) # highest score on the Tashkent passage
|
| 100 |
```
|
| 101 |
|
|
|
|
|
|
|
|
|
|
| 102 |
## Evaluation
|
| 103 |
|
| 104 |
The same protocol is applied to the base and fine-tuned models so the delta is a fair
|
|
|
|
| 99 |
print(scores) # highest score on the Tashkent passage
|
| 100 |
```
|
| 101 |
|
| 102 |
+
> Requires `sentence-transformers>=5.5.1` — the version the model was saved with.
|
| 103 |
+
> Older versions cannot load it (`ModuleNotFoundError: No module named 'sentence_transformers.base'`).
|
| 104 |
+
|
| 105 |
## Evaluation
|
| 106 |
|
| 107 |
The same protocol is applied to the base and fine-tuned models so the delta is a fair
|