Download README.md from quocbao747/embedding-model-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 20.2 kB
-
https://huggingface.co/quocbao747/embedding-model-benchmark/resolve/main/README.md
- Command line
-
hf download hf://quocbao747/embedding-model-benchmark/README.md
-
curl -L -o README.md https://huggingface.co/quocbao747/embedding-model-benchmark/resolve/main/README.md
license: apache-2.0
language:
- vi
- en
tags:
- embeddings
- benchmark
- retrieval
- vietnamese
- mteb
Vietnamese embedding benchmark
57 embedding models (45 open, 12 API) scored on Vietnamese retrieval: 9 human-written Vietnamese datasets plus 4 machine-translated ones (≈ 340k documents, 80k queries). Exact search, no reranker. Interactive explorer: huggingface.co/spaces/quocbao747/embedding-model-benchmark: pick datasets and metric, filter by memory, compare models. Updated 2026-12-05 16:55 GMT+7 · complete
Key findings
- Best overall: nemotron35-8b (76.9 native-4 nDCG@10). Best API model: gemini-embedding-2 (75.9, #4).
- Best small models: bge-m3-all is the best open model under 5 GiB peak memory (72.5, 2.1 GiB); aiteamvn-vn-v2 is the best under 2 GiB (70.9, 1.4 GiB).
- Legal text: aiteamvn-vn-v2 has the top Zalo Legal score of all 57 models (84.8), but scores only 39.9 on the translated sets.
- Qwen3-Embedding-4B ranks #32 (68.3): #7 of 57 on Zalo Legal (76.5) but weak on ViQuAD (16.5), which pulls its average down.
- Ties: models marked † carry about ±0.5 nDCG@10 ranking noise, so smaller gaps are ties.
Scores per dataset
Accuracy vs model size
Leaderboard table
| # | Model | Native-4 nDCG@10 | P@1 | MRR@10 | Zalo Legal | Translated-4 | Peak memory (GiB) | Precision |
|---|---|---|---|---|---|---|---|---|
| 1 | nemotron35-8b | 76.9 | 66.6 | 73.8 | 80.2 | 55.8 | 16.8 | bf16 |
| 2 | nemotron3-8b † | 76.9 | 66.5 | 73.7 | 80.2 | 55.7 | 16.8 | bf16 |
| 3 | nemotron35-8b-nvfp4 | 76.8 | 66.3 | 73.6 | 79.6 | 55.7 | — | NVFP4 W4A4, emulated |
| 4 | gemini-embedding-2 | 75.9 | 66.0 | 72.9 | 80.2 | 59.2 | API | API |
| 5 | pplx-embed-v2-context-0.6b | 74.0 | 63.4 | 70.8 | 74.7 | 50.2 | API | API |
| 6 | openembed-9b † | 73.4 | 62.1 | 70.1 | 74.5 | 51.4 | 19.6 | bf16 |
| 7 | pplx-embed-v1-4b | 72.9 | 61.8 | 69.4 | 73.6 | 51.5 | API | API |
| 8 | cohere-embed-5-pro | 72.8 | 61.2 | 69.2 | 73.3 | 50.1 | API | API |
| 9 | gemini-embedding-001 | 72.8 | 62.3 | 69.6 | 75.3 | 59.9 | API | API |
| 10 | f2llm-v2-8b † | 72.7 | 61.8 | 69.4 | 74.5 | 52.0 | 15.9 | bf16 |
| 11 | bge-m3-all † | 72.5 | 61.3 | 69.0 | 74.7 | 45.2 | 2.1 | fp16 |
| 12 | openembed-4b † | 72.1 | 60.4 | 68.6 | 73.0 | 50.4 | 12.2 | bf16 |
| 13 | f2llm-v2-4b † | 72.1 | 61.2 | 68.8 | 74.5 | 52.5 | 8.8 | bf16 |
| 14 | cohere-embed-5-fast | 71.5 | 59.6 | 67.9 | 72.0 | 48.7 | API | API |
| 15 | octen-8b † | 71.2 | 60.2 | 67.8 | 73.8 | 56.8 | 15.9 | bf16 |
| 16 | f2llm-v2-1.7b † | 71.0 | 59.8 | 67.6 | 72.8 | 50.0 | 4.1 | bf16 |
| 17 | jina-v5-small † | 71.0 | 60.0 | 67.5 | 75.1 | 50.6 | 3.5 | bf16 |
| 18 | aiteamvn-vn-v2 † | 70.9 | 60.9 | 67.7 | 84.8 | 39.9 | 1.4 | bf16 |
| 19 | qwen3-8b | 70.7 | 59.5 | 67.3 | 75.1 | 54.2 | 15.9 | bf16 |
| 20 | aiteamvn-vn † | 70.6 | 60.3 | 67.4 | 84.3 | 40.6 | 1.4 | bf16 |
| 21 | vintern-emb-1b † | 70.2 | 59.4 | 66.8 | 68.1 | 40.6 | 3.5 | bf16 |
| 22 | octen-4b † | 70.1 | 58.9 | 66.8 | 73.6 | 54.2 | 8.8 | bf16 |
| 23 | pplx-embed-v1-0.6b | 70.0 | 58.7 | 66.5 | 70.1 | 47.5 | API | API |
| 24 | openembed-2b † | 69.7 | 57.8 | 66.2 | 71.8 | 47.3 | 6.2 | bf16 |
| 25 | jina-v5-nano † | 69.6 | 58.3 | 66.0 | 73.7 | 49.6 | 1.9 | bf16 |
| 26 | f2llm-v2-0.6b † | 69.4 | 58.0 | 66.0 | 72.0 | 47.5 | 1.6 | bf16 |
| 27 | bge-m3 † | 69.3 | 57.6 | 65.6 | 71.6 | 44.4 | 1.4 | fp16 |
| 28 | voyage-4-lite | 69.1 | 57.5 | 65.6 | 68.2 | 50.8 | API | API |
| 29 | me5-large † | 68.9 | 57.1 | 65.5 | 66.5 | 43.8 | 1.4 | bf16 |
| 30 | harrier-0.6b † | 68.9 | 57.1 | 65.5 | 72.0 | 49.3 | 1.6 | bf16 |
| 31 | cohere-embed-multilingual-v3 | 68.8 | 57.1 | 65.2 | 69.2 | 46.0 | API | API |
| 32 | qwen3-4b † | 68.3 | 57.2 | 65.0 | 76.5 | 52.8 | 8.8 | bf16 |
| 33 | skill-venus-0.6b † | 68.2 | 56.3 | 64.5 | 70.5 | 44.8 | 1.6 | bf16 |
| 34 | nemotron35-1b | 68.1 | 56.2 | 64.2 | 70.7 | 45.1 | 3.0 | bf16 |
| 35 | nemotron3-1b † | 68.1 | 56.1 | 64.3 | 70.5 | 45.1 | 3.0 | bf16 |
| 36 | nemotron35-1b-nvfp4 | 67.9 | 56.0 | 64.2 | 70.6 | 45.0 | — | NVFP4 W4A4, emulated |
| 37 | jina-v4 † | 67.8 | 55.8 | 64.1 | 69.3 | 48.9 | 14.3 | bf16 |
| 38 | jina-v3 † | 67.5 | 55.7 | 63.9 | 68.0 | 43.6 | 2.1 | bf16 |
| 39 | f2llm-v2-330m † | 67.2 | 56.0 | 63.6 | 68.3 | 44.6 | 1.1 | bf16 |
| 40 | granite-311m-multi-r2 | 67.1 | 55.9 | 63.6 | 68.8 | 43.0 | 1.0 | bf16 |
| 41 | embeddinggemma-300m † | 66.8 | 54.1 | 63.1 | 67.9 | 47.1 | 0.8 | bf16 |
| 42 | openembed-0.8b † | 66.6 | 54.5 | 62.9 | 69.6 | 43.3 | 3.5 | bf16 |
| 43 | text-embedding-3-large | 66.5 | 53.7 | 62.6 | 65.3 | 46.4 | API | API |
| 44 | octen-0.6b † | 65.1 | 53.4 | 61.5 | 66.3 | 48.0 | 1.6 | bf16 |
| 45 | embeddinggemma-2 † | 65.1 | 53.2 | 61.4 | 69.6 | 45.9 | 2.4 | bf16 |
| 46 | harrier-270m † | 64.6 | 52.7 | 60.9 | 64.4 | 45.2 | 0.8 | bf16 |
| 47 | me5-small † | 63.8 | 52.2 | 60.5 | 60.8 | 37.3 | 0.4 | bf16 |
| 48 | qwen3-0.6b † | 62.9 | 51.3 | 59.3 | 67.1 | 46.9 | 1.6 | bf16 |
| 49 | f2llm-v2-160m † | 62.6 | 50.7 | 59.1 | 63.1 | 39.6 | 0.7 | bf16 |
| 50 | dvt-vn-doc-emb † | 62.1 | 49.8 | 58.2 | 64.9 | 44.8 | 1.1 | bf16 |
| 51 | granite-97m-multi-r2 † | 61.9 | 50.4 | 58.3 | 62.8 | 37.7 | 0.5 | bf16 |
| 52 | f2llm-v2-80m † | 59.7 | 47.8 | 56.1 | 60.4 | 37.5 | 0.5 | bf16 |
| 53 | text-embedding-3-small | 58.4 | 46.2 | 54.4 | 56.5 | 35.8 | API | API |
| 54 | titan-embed-text-v2 | 57.2 | 46.0 | 53.4 | 55.7 | 34.0 | API | API |
| 55 | dvt-vn-emb † | 47.4 | 35.5 | 43.4 | 48.2 | 25.0 | 0.4 | bf16 |
| 56 | mistral-embed-1b † | 39.9 | 27.6 | 35.8 | 35.2 | 28.2 | 2.9 | bf16 |
| 57 | para-multi-minilm-l12 † | 39.4 | 28.6 | 35.7 | 41.3 | 28.1 | 0.3 | bf16 |
Native-4 = mean over Zalo Legal, TVPL, Table-Markdown, WebFAQ (the four large human-written sets). Translated-4 = VN-MTEB SciFact / NFCorpus / ArguAna / FiQA. Metrics ×100.
Peak memory = peak memory allocated by PyTorch while encoding 2,048 Zalo Legal documents with the same batch of 32 documents for every model (512-token window), i.e. weights + activations. Precision is the number format of the weights and activations during encoding: bf16 (bfloat16) for almost all models, fp16 for BGE-M3, and NVFP4 W4A4, emulated for the NVFP4 checkpoints. The NVFP4 checkpoints have no memory figure because their emulation does not behave like NVFP4 hardware (see Speed and memory). Raw data: results/speed/peak_memory.csv.
† Native-4 includes bf16-ranked scores, which carry about ±0.5 nDCG@10 tie noise: treat smaller gaps involving these models as ties. Unmarked models are ranked by exact fp32 search. See docs/methodology.md.
More findings
Nemotron-3.5 and NVFP4
Nemotron-3.5 is Nemotron-3 plus a vision tower. The text weights of Nemotron-3.5-Embed-8B are bit-identical to Nemotron-3-Embed-8B (all 308 text tensors), and the 1B differs only in its token-embedding table (by at most one bf16 step). Scores match accordingly: native-4 76.9 vs 76.9 (8B), 68.1 vs 68.1 (1B). For Vietnamese text retrieval, upgrade only if you need image inputs.
NVFP4 costs little accuracy. NVIDIA's NVFP4 checkpoints (4-bit weights and activations) were run as a faithful emulation: weights and each layer's inputs are quantised to FP4 exactly as the checkpoint specifies (using the compressed-tensors reference code), and the matrix multiply runs in bf16. NVFP4 minus BF16: native-4 -0.15 (8B), -0.15 (1B); all 13 sets -0.24 / -0.41. The largest drop is on the small PublicHealthQA set (77 queries). FP4 hardware may differ slightly in the order of the final accumulation.
Speed and memory
| Model | Native-4 nDCG@10 | Docs/s | Doc tokens/s | Queries/s | Peak memory (GiB) | Weights (GiB) | Precision |
|---|---|---|---|---|---|---|---|
| para-multi-minilm-l12 | 39.4 | 1,433 | 164,683 | 3,730 | 0.3 | 0.2 | bf16 |
| me5-small | 63.8 | 1,333 | 353,258 | 3,671 | 0.4 | 0.2 | bf16 |
| granite-97m-multi-r2 | 61.9 | 1,127 | 321,538 | 3,908 | 0.5 | 0.2 | bf16 |
| f2llm-v2-80m | 59.7 | 768 | 218,339 | 3,262 | 0.5 | 0.1 | bf16 |
| f2llm-v2-160m | 62.6 | 658 | 187,017 | 3,109 | 0.7 | 0.3 | bf16 |
| dvt-vn-emb | 47.4 | 631 | 120,591 | 455 | 0.4 | 0.3 | bf16 |
| granite-311m-multi-r2 | 67.1 | 601 | 167,246 | 2,531 | 1.0 | 0.6 | bf16 |
| harrier-270m | 64.6 | 567 | 158,159 | 1,609 | 0.8 | 0.5 | bf16 |
| dvt-vn-doc-emb | 62.1 | 567 | 149,203 | 3,521 | 1.1 | 0.6 | bf16 |
| bge-m3 | 69.3 | 504 | 132,849 | 3,056 | 1.4 | 1.1 | fp16 |
| aiteamvn-vn-v2 | 70.9 | 504 | 132,596 | 2,843 | 1.4 | 1.1 | bf16 |
| aiteamvn-vn | 70.6 | 502 | 132,184 | 2,947 | 1.4 | 1.1 | bf16 |
| me5-large | 68.9 | 499 | 132,143 | 2,867 | 1.4 | 1.0 | bf16 |
| bge-m3-all | 72.5 | 468 | 123,324 | 2,794 | 2.1 | 1.1 | fp16 |
| embeddinggemma-300m | 66.8 | 455 | 128,798 | 1,075 | 0.8 | 0.6 | bf16 |
| f2llm-v2-330m | 67.2 | 359 | 102,016 | 2,031 | 1.1 | 0.6 | bf16 |
| embeddinggemma-2 | 65.1 | 356 | 100,613 | 1,026 | 2.4 | 0.5 | bf16 |
| jina-v3 | 67.5 | 233 | 61,435 | 692 | 2.1 | 1.1 | bf16 |
| jina-v5-nano | 69.6 | 233 | 63,505 | 1,167 | 1.9 | 0.9 | bf16 |
| mistral-embed-1b | 39.9 | 231 | 66,057 | 2,199 | 2.9 | 2.3 | bf16 |
| skill-venus-0.6b | 68.2 | 200 | 56,970 | 1,291 | 1.6 | 1.1 | bf16 |
| harrier-0.6b | 68.9 | 200 | 56,878 | 1,289 | 1.6 | 1.1 | bf16 |
| f2llm-v2-0.6b | 69.4 | 200 | 56,855 | 1,279 | 1.6 | 1.1 | bf16 |
| qwen3-0.6b | 62.9 | 200 | 56,850 | 1,185 | 1.6 | 1.1 | bf16 |
| octen-0.6b | 65.1 | 200 | 56,458 | 1,245 | 1.6 | 1.1 | bf16 |
| nemotron35-1b | 68.1 | 186 | 53,231 | 1,921 | 3.0 | 2.1 | bf16 |
| vintern-emb-1b | 70.2 | 181 | 51,228 | 1,337 | 3.5 | 1.7 | bf16 |
| nemotron3-1b | 68.1 | 165 | 47,234 | 1,592 | 3.0 | 2.1 | bf16 |
| jina-v5-small | 71.0 | 139 | 39,304 | 491 | 3.5 | 1.3 | bf16 |
| f2llm-v2-1.7b | 71.0 | 100 | 28,486 | 733 | 4.1 | 3.2 | bf16 |
| openembed-0.8b | 66.6 | 88 | 24,111 | 645 | 3.5 | 1.6 | bf16 |
| openembed-2b | 69.7 | 63 | 17,312 | 485 | 6.2 | 4.1 | bf16 |
| jina-v4 | 67.8 | 46 | 0 | 426 | 14.3 | 7.3 | bf16 |
| octen-4b | 70.1 | 44 | 12,531 | 319 | 8.8 | 7.5 | bf16 |
| qwen3-4b | 68.3 | 44 | 12,544 | 319 | 8.8 | 7.5 | bf16 |
| f2llm-v2-4b | 72.1 | 44 | 12,483 | 316 | 8.8 | 7.5 | bf16 |
| nemotron35-8b | 76.9 | 29 | 8,356 | 315 | 16.8 | 14.8 | bf16 |
| octen-8b | 71.2 | 27 | 7,548 | 186 | 15.9 | 14.1 | bf16 |
| qwen3-8b | 70.7 | 27 | 7,553 | 187 | 15.9 | 14.1 | bf16 |
| f2llm-v2-8b | 72.7 | 26 | 7,524 | 185 | 15.9 | 14.1 | bf16 |
| nemotron3-8b | 76.9 | 26 | 7,485 | 254 | 16.8 | 14.8 | bf16 |
| openembed-4b | 72.1 | 26 | 7,058 | 199 | 12.2 | 8.5 | bf16 |
| openembed-9b | 73.4 | 19 | 5,102 | 146 | 19.6 | 15.6 | bf16 |
Setup and precision. Every open model was measured one at a time on the same machine with nothing else running on it (PyTorch 2.15.0). Weights and activations are in bf16 (bfloat16) for every model except BGE-M3 and its hybrid modes, which run in fp16 (half precision); the Precision column shows it per model. All models use the same batch size (32 documents per batch): 2,048 Zalo Legal documents and 818 queries, 512-token window (128 for para-multi-minilm-l12, its own limit), each model in its own prompt format. A fixed batch makes memory and speed comparable across models; small models could run faster with larger batches. The NVFP4 checkpoints of Nemotron-3.5 are not in this section: the test hardware has no native FP4 support, so they ran as a software emulation whose speed and memory say nothing about NVFP4 hardware (their accuracy is in the Nemotron-3.5 section; the NVFP4 checkpoint files are 5.12 GiB for 8B and 1.18 GiB for 1B). Absolute numbers depend on the hardware; the ranking and ratios are what transfer. OpenEmbed models (Qwen3.5 base) ran their linear-attention layers on the reference PyTorch path (no flash-linear-attention kernels), so they are slower here than they can be. Nemotron-3.5 runs slightly faster than Nemotron-3 with the same text weights because it is encoded through the card's Transformers path (our own length-sorted batching) rather than sentence-transformers. bge-m3-all computes dense + sparse + ColBERT outputs in one pass. Raw data: results/speed/speed_unified.csv.
Datasets
| Dataset | Domain | Docs | Queries | Source |
|---|---|---|---|---|
| Zalo AI Legal | Legal articles | 61,425 | 818 | GreenNode/zalo-ai-legal-text-retrieval-vn |
| TVPL | Legal Q&A (thuvienphapluat) | 10,576 | 9,985 | GreenNode/TVPL-Retrieval-VN |
| Table-Markdown | Tables (finance, encyclopedic) in Markdown | 44,678 | 35,791 | GreenNode/GreenNode-Table-Markdown-Retrieval-VN |
| WebFAQ (vie) | Web FAQ | 123,972 | 10,000 | mteb/WebFAQRetrieval |
| UIT-ViQuAD 2.0 | Wikipedia QA | 2,490 | 2,048 | taidng/UIT-ViQuAD2.0 |
| MLQA (vie-vie) | Wikipedia QA | 451 | 511 | mteb/MLQARetrieval |
| XQuAD (vi) | Wikipedia QA | 240 | 1,182 | mteb/XQuADRetrieval |
| Belebele (vie) | Reading comprehension | 488 | 900 | mteb/belebele |
| PublicHealthQA (vi) | Public health FAQ | 77 | 77 | xhluca/publichealth-qa |
| SciFact-VN (translated) | Scientific claims | 5,183 | 134 | GreenNode/scifact-vn |
| NFCorpus-VN (translated) | Medical | 3,618 | 166 | GreenNode/nfcorpus-vn |
| ArguAna-VN (translated) | Counter-arguments | 8,674 | 1,295 | GreenNode/arguana-vn |
| FiQA-VN (translated) | Finance Q&A | 57,638 | 384 | GreenNode/fiqa-vn |
Qwen3-Embedding-4B, BGE-M3 and EmbeddingGemma 2 were also scored on English BEIR (SciFact, NFCorpus, ArguAna, FiQA, TREC-COVID) and TREC-COVID-VN; see docs/datasets.md.
Not yet benchmarked
- 2,048-token window: measured for 12 of 57 models (Zalo Legal + Tables only); openembed-0.8b has Tables only. Not yet run for the other 45, including top-10 models nemotron35-8b, nemotron3-8b, nemotron35-8b-nvfp4, gemini-embedding-2, pplx-embed-v2-context-0.6b, openembed-9b, pplx-embed-v1-4b, cohere-embed-5-pro, gemini-embedding-001, f2llm-v2-8b.
- Matryoshka truncation: measured for 13 models only. Every other model is scored at its full embedding size.
- Exact fp32 re-ranking: 39 models (marked †) are ranked in bf16, so gaps under about 0.5 nDCG@10 between them are ties until they are re-scored with fp32 search.
- NVFP4 speed and memory: the NVFP4 checkpoints are only emulated, so their throughput and peak memory are not reported; accuracy only.
- API models: no throughput or latency figures (network-bound, not comparable).
- Hybrid / sparse retrieval: only BGE-M3 has sparse and multi-vector modes measured; its hybrid scores on the translated sets are carried over and not yet re-run with the current harness.
- English BEIR and TREC-COVID-VN: scored for 3 models only (Qwen3-Embedding-4B, BGE-M3, EmbeddingGemma 2).
- Rerankers: no reranker stage has been benchmarked; every score is first-stage retrieval.
Documentation
- docs/methodology.md: how each model is benchmarked (input formats, pooling, precision, search, metrics, checks)
- docs/datasets.md: every dataset, its source, size, domain and license
- docs/models.md: every model, its size, input format and licence
- docs/results.md: raw-data formats
results/: raw data for analysis, one schema.scores.csv(every model × dataset × configuration),per_query/(per-query metrics),top10/(ranked document ids per query),speed/code/: the harness








