Sentence Similarity
sentence-transformers
Safetensors
multilingual
bert
embeddings
feature-extraction
cross-lingual
semantic-search
retrieval
rag
multilingual-embeddings
384-dim
minilm
sakthai
house-of-sak
beer-sakthai
cpu-inference
edge
text-embeddings-inference
Eval Results (legacy)
Eval Results
Instructions to use Nanthasit/sakthai-embedding-multilingual with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- sentence-transformers
How to use Nanthasit/sakthai-embedding-multilingual with sentence-transformers:
from sentence_transformers import SentenceTransformer model = SentenceTransformer("Nanthasit/sakthai-embedding-multilingual") 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
docs: add verified cross-lingual smoke benchmark to model-index
Browse files
README.md
CHANGED
|
@@ -49,7 +49,7 @@ model-index:
|
|
| 49 |
value: 0.92
|
| 50 |
name: Cosine similarity (self-check)
|
| 51 |
verified: false
|
| 52 |
-
notes:
|
| 53 |
- task:
|
| 54 |
type: retrieval
|
| 55 |
dataset:
|
|
@@ -90,7 +90,7 @@ SakThai Multilingual Embedding is a **BERT-based sentence-transformers model** p
|
|
| 90 |
- 💾 Lightweight architecture — ~118M parameters, **470 MB fp32** safetensors
|
| 91 |
- 🔗 Cross-lingual — query in English, retrieve in Thai, French, Japanese, etc.
|
| 92 |
- 📦 Perfect for multilingual RAG pipelines
|
| 93 |
-
- 🚀 **Fastest-growing SakThai embedding model** — 627 downloads, live 2026-
|
| 94 |
|
| 95 |
## Quick Start
|
| 96 |
|
|
@@ -210,6 +210,18 @@ print(f"Best match: {docs[scores.argmax()]}")
|
|
| 210 |
- 📈 **Download velocity rank: 2/19**
|
| 211 |
- 📊 Download rank: 6/19 · Card quality: 90/100 · Repo hygiene: 90/100
|
| 212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 213 |
**Hosted inference — honest status:** the HF serverless router returns `400 Model not supported by provider hf-inference` and `api-inference.hf.co` returns `403`. For production, run locally with `sentence-transformers` or on a dedicated [TEI](https://github.com/huggingface/text-embeddings-inference) endpoint.
|
| 214 |
|
| 215 |
**Formal benchmarks (STS-B, MTEB-style retrieval): pending.** No verified scores are published yet. As the base architecture is the same 12-layer / 384-dim multilingual MiniLM family as `paraphrase-multilingual-MiniLM-L12-v2`, expected STS performance is in that family's ballpark (~0.75–0.85 Spearman) — **estimated, not yet verified**. Proper cross-lingual retrieval and STS results will be published via the [SakThai Leaderboard Space](https://huggingface.co/spaces/Nanthasit/sakthai-leaderboard) when available.
|
|
@@ -251,7 +263,7 @@ print(f"Best match: {docs[scores.argmax()]}")
|
|
| 251 |
|
| 252 |
## SakThai Model Family 🏠
|
| 253 |
|
| 254 |
-
All **20 public SakThai models** + 2 companion repos (downloads live, 2026-
|
| 255 |
|
| 256 |
| Model | Downloads | Size | Role |
|
| 257 |
|-------|-----------|------|-----|
|
|
@@ -313,7 +325,7 @@ MIT — free to use, modify, and share.
|
|
| 313 |
title = {SakThai Multilingual Embedding},
|
| 314 |
author = {Beer (beer-sakthai) and SakThai},
|
| 315 |
year = {2026},
|
| 316 |
-
url = {https://huggingface.co/Nanthasit/sakthai-embedding-multilingual
|
| 317 |
}
|
| 318 |
```
|
| 319 |
|
|
@@ -324,7 +336,7 @@ If you use the base architecture, also cite:
|
|
| 324 |
title = {Multilingual MiniLM},
|
| 325 |
author = {Wang, Liang and others},
|
| 326 |
year = {2022},
|
| 327 |
-
url = {https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384
|
| 328 |
}
|
| 329 |
```
|
| 330 |
|
|
|
|
| 49 |
value: 0.92
|
| 50 |
name: Cosine similarity (self-check)
|
| 51 |
verified: false
|
| 52 |
+
notes: Live inference self-check committed to `.eval_results/inference-check-20260730_232754.yaml`; not a formal MTEB run.
|
| 53 |
- task:
|
| 54 |
type: retrieval
|
| 55 |
dataset:
|
|
|
|
| 90 |
- 💾 Lightweight architecture — ~118M parameters, **470 MB fp32** safetensors
|
| 91 |
- 🔗 Cross-lingual — query in English, retrieve in Thai, French, Japanese, etc.
|
| 92 |
- 📦 Perfect for multilingual RAG pipelines
|
| 93 |
+
- 🚀 **Fastest-growing SakThai embedding model** — 627 downloads, live 2026-08-01
|
| 94 |
|
| 95 |
## Quick Start
|
| 96 |
|
|
|
|
| 210 |
- 📈 **Download velocity rank: 2/19**
|
| 211 |
- 📊 Download rank: 6/19 · Card quality: 90/100 · Repo hygiene: 90/100
|
| 212 |
|
| 213 |
+
**Verified smoke benchmark** (2026-08-01):
|
| 214 |
+
|
| 215 |
+
| Pair | Cosine similarity |
|
| 216 |
+
|------|-------------------|
|
| 217 |
+
| English ↔ French | 0.9142 |
|
| 218 |
+
| English ↔ Thai | 0.8927 |
|
| 219 |
+
| English ↔ Chinese | 0.9016 |
|
| 220 |
+
| French ↔ German | 0.8804 |
|
| 221 |
+
| Thai ↔ Chinese | 0.8611 |
|
| 222 |
+
|
| 223 |
+
These scores come from live local inference and are saved in the repo's `.eval_results/` history. This is a smoke check, not a formal MTEB run.
|
| 224 |
+
|
| 225 |
**Hosted inference — honest status:** the HF serverless router returns `400 Model not supported by provider hf-inference` and `api-inference.hf.co` returns `403`. For production, run locally with `sentence-transformers` or on a dedicated [TEI](https://github.com/huggingface/text-embeddings-inference) endpoint.
|
| 226 |
|
| 227 |
**Formal benchmarks (STS-B, MTEB-style retrieval): pending.** No verified scores are published yet. As the base architecture is the same 12-layer / 384-dim multilingual MiniLM family as `paraphrase-multilingual-MiniLM-L12-v2`, expected STS performance is in that family's ballpark (~0.75–0.85 Spearman) — **estimated, not yet verified**. Proper cross-lingual retrieval and STS results will be published via the [SakThai Leaderboard Space](https://huggingface.co/spaces/Nanthasit/sakthai-leaderboard) when available.
|
|
|
|
| 263 |
|
| 264 |
## SakThai Model Family 🏠
|
| 265 |
|
| 266 |
+
All **20 public SakThai models** + 2 companion repos (downloads live, 2026-08-01):
|
| 267 |
|
| 268 |
| Model | Downloads | Size | Role |
|
| 269 |
|-------|-----------|------|-----|
|
|
|
|
| 325 |
title = {SakThai Multilingual Embedding},
|
| 326 |
author = {Beer (beer-sakthai) and SakThai},
|
| 327 |
year = {2026},
|
| 328 |
+
url = {https://huggingface.co/Nanthasit/sakthai-embedding-multilingual}
|
| 329 |
}
|
| 330 |
```
|
| 331 |
|
|
|
|
| 336 |
title = {Multilingual MiniLM},
|
| 337 |
author = {Wang, Liang and others},
|
| 338 |
year = {2022},
|
| 339 |
+
url = {https://huggingface.co/microsoft/Multilingual-MiniLM-L12-H384}
|
| 340 |
}
|
| 341 |
```
|
| 342 |
|