quocbao747's picture
Add Cohere embed-multilingual-v3.0 (57 models)
aae624c verified
Raw History Blame Contribute Delete
88.2 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Vietnamese Embedding Benchmark</title>
<style>
:root{--surf:#fcfcfb;--card:#fff;--ink:#0b0b0b;--ink2:#52514e;--muted:#898781;--grid:#e9e8e2;--axis:#c3c2b7;--qwen:#2a78d6;--multi:#eb6834;--api:#1baf7a;--sel:#0b0b0b;--hl:#fff6d6}
*{box-sizing:border-box}
body{margin:0;background:var(--surf);color:var(--ink);font:14px/1.45 system-ui,-apple-system,"Segoe UI",Roboto,sans-serif}
.wrap{max-width:1180px;margin:0 auto;padding:20px 20px 60px}
h1{font-size:24px;margin:0 0 4px}h2{font-size:17px;margin:34px 0 10px}
.sub{color:var(--ink2);margin:0 0 16px}.sub a{color:var(--ink2)}
.tiles{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:12px 0 4px}
.tile{background:var(--card);border:1px solid var(--grid);border-radius:10px;padding:12px 14px}
.tile b{display:block;font-size:24px}.tile span{color:var(--ink2);font-size:12.5px}
.card{background:var(--card);border:1px solid var(--grid);border-radius:10px;padding:14px 16px}
.controls{position:sticky;top:0;z-index:5;background:rgba(252,252,251,.96);backdrop-filter:blur(4px);border-bottom:1px solid var(--grid);padding:10px 0;margin:18px 0 0}
.row{display:flex;flex-wrap:wrap;gap:6px 14px;align-items:center;margin:4px 0}
.lbl{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.04em;min-width:64px}
.chip{border:1px solid var(--axis);background:#fff;border-radius:14px;padding:3px 10px;font-size:12.5px;cursor:pointer;user-select:none;color:var(--ink2)}
.chip.on{background:var(--ink);color:#fff;border-color:var(--ink)}
.chip.preset{border-style:dashed}
select,input[type=search]{font:inherit;font-size:13px;padding:3px 8px;border:1px solid var(--axis);border-radius:6px;background:#fff}
input[type=range]{vertical-align:middle;width:140px}
.legend{display:flex;gap:14px;font-size:12.5px;color:var(--ink2);flex-wrap:wrap}.legend i{display:inline-block;width:10px;height:10px;border-radius:2px;margin-right:5px;vertical-align:-1px}
svg text{font-family:inherit}
.tip{position:fixed;pointer-events:none;background:#111;color:#fff;font-size:12.5px;padding:7px 9px;border-radius:6px;max-width:320px;opacity:0;transition:opacity .08s;z-index:20;line-height:1.4}
.tip b{font-weight:600}
.note{color:var(--muted);font-size:12.5px;margin:6px 0 0}
.grid2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
table{border-collapse:collapse;width:100%;font-size:12.5px}
th{font-weight:600;color:var(--ink2);text-align:right;padding:5px 6px;border-bottom:1px solid var(--axis);cursor:pointer;white-space:nowrap;user-select:none}
th:first-child,th.l,td.l{text-align:left}td{padding:4px 6px;text-align:right;border-bottom:1px solid var(--grid);white-space:nowrap}
th.sorted{color:var(--ink)}th.sorted::after{content:" ▾"}
tr.selrow td{background:var(--hl)}
.heat{font-size:12px}.heat th{padding:5px 3px}.heat td{border:1px solid #fff;padding:3px 4px;font-variant-numeric:tabular-nums}.heat td.best{outline:2px solid var(--ink);outline-offset:-2px;font-weight:700}
.scroll{overflow-x:auto}
.cmp{display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:28px}
.pill{border-radius:14px;padding:2px 4px 2px 10px;font-size:12.5px;background:#f1f0ec;border:1px solid var(--grid)}.pill button{border:0;background:none;cursor:pointer;color:var(--muted);font-size:14px}
.api-tag{font-size:10px;border:1px solid var(--axis);border-radius:4px;padding:0 4px;color:var(--muted);margin-left:4px}
ul.todo li{margin:4px 0}
.tabs{display:flex;gap:6px;margin-bottom:8px}
@media (max-width:820px){.tiles{grid-template-columns:repeat(2,1fr)}.grid2{grid-template-columns:1fr}}
</style>
</head>
<body>
<div class="wrap">
<h1>Vietnamese embedding benchmark</h1>
<p class="sub" id="sub"></p>
<div class="tiles" id="tiles"></div>
<div class="controls" id="controls">
<div class="row"><span class="lbl">Datasets</span><span id="presets"></span></div>
<div class="row"><span class="lbl"></span><span id="dschips"></span></div>
<div class="row"><span class="lbl">Metric</span>
<select id="metric"><option value="0">nDCG@10</option><option value="1">P@1</option><option value="2">MRR@10</option></select>
<span class="lbl" style="min-width:0">Models</span>
<select id="kind"><option value="all">open + API</option><option value="open">open only</option><option value="api">API only</option></select>
<span class="lbl" style="min-width:0">Peak memory ≤</span><input type="range" id="mem" min="0" max="7" step="1" value="7"><span id="memv"></span>
<input type="search" id="q" placeholder="filter by name…">
</div>
</div>
<h2>Leaderboard <span class="note" id="lbnote"></span></h2>
<div class="card">
<div class="legend" id="legend"></div>
<div id="lb"></div>
<p class="note">Score = mean over the selected datasets. A peak-memory limit hides API models (no memory figure). Click a bar to add the model to the comparison below (up to 5). † = ranked in bf16: gaps under ≈0.5 nDCG@10 between † models are ties.</p>
</div>
<h2>Compare models</h2>
<div class="card">
<div class="cmp" id="cmpPills"></div>
<div id="cmp"></div>
</div>
<h2>Per-dataset scores</h2>
<div class="card scroll"><div id="heat"></div><p class="note">Click a column header to sort. Outlined = best on that dataset among the models shown. First 9 columns: human-written Vietnamese; last 4: machine-translated (VN-MTEB).</p></div>
<div class="grid2">
<div><h2>Speed vs quality</h2><div class="card"><div id="speed"></div><p class="note">Open models, documents/s at batch 32 (log scale). API models and the emulated NVFP4 checkpoints have no speed figure.</p></div></div>
<div><h2>Model size vs quality</h2><div class="card"><div id="size"></div><p class="note">Parameters in billions (log scale). API models have no published size.</p></div></div>
</div>
<h2>Speed and memory <span class="note" id="smnote"></span></h2>
<div class="card">
<div class="tabs" id="smtabs"></div><div class="legend" id="smlegend" style="margin:0 0 6px"></div>
<div class="grid2" style="gap:24px">
<div><div class="lbl" style="margin:4px 0" id="thrTitle"></div><div id="thr"></div></div>
<div><div class="lbl" style="margin:4px 0">Memory, GiB: weights loaded (min, ○) → peak while encoding (●)</div><div id="memr"></div></div>
</div>
<div class="lbl" style="margin:14px 0 4px">Throughput vs peak memory (both log scale): up-left = fast and light</div><div id="spmem"></div>
<p class="note">Open models only (API models and the emulated NVFP4 checkpoints have no figure). Same workload for every model: 2,048 Zalo Legal documents + 818 queries, batch 32, 512-token window. Average memory over the run was not recorded. Follows the filters above; click any bar or point to add the model to the comparison.</p>
</div>
<div class="grid2">
<div><h2>Matryoshka truncation</h2><div class="card"><div id="mrl"></div><p class="note">Native-4 nDCG@10 when only the first d dimensions are kept (re-normalised).</p></div></div>
<div><h2>Longer input: 512 → 2,048 tokens</h2><div class="card"><div class="tabs" id="l2tabs"></div><div id="l2"></div><p class="note">Only models with a 2,048-token run.</p></div></div>
</div>
<h2>Full table</h2>
<div class="card scroll"><div id="full"></div></div>
<h2>Not yet benchmarked</h2>
<div class="card"><ul class="todo" id="todo"></ul></div>
<h2>Datasets</h2>
<div class="card scroll"><div id="dsets"></div></div>
<p class="note" id="foot"></p>
</div>
<div class="tip" id="tip"></div>
<script>
const D = {"updated":"2026-12-05 17:04 GMT+7","datasets":[{"key":"ZacLegalTextRetrieval","short":"Zalo Legal","name":"Zalo AI Legal","domain":"Legal articles","docs":"61,425","queries":"818","hf":"GreenNode/zalo-ai-legal-text-retrieval-vn","kind":"native"},{"key":"TVPLRetrieval","short":"TVPL","name":"TVPL","domain":"Legal Q&A (thuvienphapluat)","docs":"10,576","queries":"9,985","hf":"GreenNode/TVPL-Retrieval-VN","kind":"native"},{"key":"GreenNodeTableMarkdownRetrieval","short":"Tables","name":"Table-Markdown","domain":"Tables (finance, encyclopedic) in Markdown","docs":"44,678","queries":"35,791","hf":"GreenNode/GreenNode-Table-Markdown-Retrieval-VN","kind":"native"},{"key":"WebFAQRetrieval:vie","short":"WebFAQ","name":"WebFAQ (vie)","domain":"Web FAQ","docs":"123,972","queries":"10,000","hf":"mteb/WebFAQRetrieval","kind":"native"},{"key":"VieQuADRetrieval","short":"ViQuAD","name":"UIT-ViQuAD 2.0","domain":"Wikipedia QA","docs":"2,490","queries":"2,048","hf":"taidng/UIT-ViQuAD2.0","kind":"native"},{"key":"MLQARetrieval:vie-vie","short":"MLQA","name":"MLQA (vie-vie)","domain":"Wikipedia QA","docs":"451","queries":"511","hf":"mteb/MLQARetrieval","kind":"native"},{"key":"XQuADRetrieval:vi","short":"XQuAD","name":"XQuAD (vi)","domain":"Wikipedia QA","docs":"240","queries":"1,182","hf":"mteb/XQuADRetrieval","kind":"native"},{"key":"BelebeleRetrieval:vie_Latn-vie_Latn","short":"Belebele","name":"Belebele (vie)","domain":"Reading comprehension","docs":"488","queries":"900","hf":"mteb/belebele","kind":"native"},{"key":"PublicHealthQA:vietnamese","short":"PubHealth","name":"PublicHealthQA (vi)","domain":"Public health FAQ","docs":"77","queries":"77","hf":"xhluca/publichealth-qa","kind":"native"},{"key":"SciFact-VN","short":"SciFact","name":"SciFact-VN","domain":"Scientific claims","docs":"5,183","queries":"134","hf":"GreenNode/scifact-vn","kind":"translated"},{"key":"NFCorpus-VN","short":"NFCorpus","name":"NFCorpus-VN","domain":"Medical","docs":"3,618","queries":"166","hf":"GreenNode/nfcorpus-vn","kind":"translated"},{"key":"ArguAna-VN","short":"ArguAna","name":"ArguAna-VN","domain":"Counter-arguments","docs":"8,674","queries":"1,295","hf":"GreenNode/arguana-vn","kind":"translated"},{"key":"FiQA2018-VN","short":"FiQA","name":"FiQA-VN","domain":"Finance Q&A","docs":"57,638","queries":"384","hf":"GreenNode/fiqa-vn","kind":"translated"}],"core4":["Zalo Legal","TVPL","Tables","WebFAQ"],"trans":["SciFact","NFCorpus","ArguAna","FiQA"],"models":[{"id":"aiteamvn-vn","hf":"AITeamVN/Vietnamese_Embedding","params":0.568,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/AITeamVN/Vietnamese_Embedding","s":{"Zalo Legal":[84.2579,73.731,80.4832],"TVPL":[79.2488,68.0921,76.5818],"Tables":[39.248,30.3568,36.0863],"WebFAQ":[79.6567,68.87,76.2626],"ViQuAD":[55.6947,59.8633,73.1892],"MLQA":[82.8298,72.2114,79.4917],"XQuAD":[97.1798,94.0778,96.4108],"Belebele":[95.4304,91.8889,94.4251],"PubHealth":[76.763,59.7403,72.3737],"SciFact":[55.2567,47.0149,53.925],"NFCorpus":[25.7042,32.5301,41.5806],"ArguAna":[51.0646,26.1004,42.6847],"FiQA":[30.2863,28.7599,36.2629]},"mem":1.44,"dps":502.0,"qps":2947.3,"tps":132184,"wmem":1.06,"prec":"bf16","mrl":[],"l2":{}},{"id":"aiteamvn-vn-v2","hf":"AITeamVN/Vietnamese_Embedding_v2","params":0.568,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/AITeamVN/Vietnamese_Embedding_v2","s":{"Zalo Legal":[84.7967,75.5076,81.3126],"TVPL":[78.8608,67.6114,76.0592],"Tables":[38.3224,29.2364,35.1106],"WebFAQ":[81.4775,71.25,78.279],"ViQuAD":[55.1756,53.8086,69.3669],"MLQA":[81.9803,72.7984,78.8601],"XQuAD":[96.4914,92.3858,95.4191],"Belebele":[93.4526,89.2222,92.0797],"PubHealth":[79.4221,64.9351,74.2476],"SciFact":[50.6182,39.5522,47.4813],"NFCorpus":[26.936,34.9398,43.0462],"ArguAna":[49.861,25.4826,42.0032],"FiQA":[32.1911,29.5515,37.7825]},"mem":1.44,"dps":503.5,"qps":2843.2,"tps":132596,"wmem":1.06,"prec":"bf16","mrl":[],"l2":{}},{"id":"bge-m3","hf":"BAAI/bge-m3","params":0.568,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"MIT","link":"https://huggingface.co/BAAI/bge-m3","s":{"Zalo Legal":[71.5858,54.5685,65.359],"TVPL":[81.2574,69.9649,78.7123],"Tables":[39.9633,31.1754,36.8622],"WebFAQ":[84.3892,74.59,81.3893],"ViQuAD":[56.8505,60.2051,72.9788],"MLQA":[82.9196,72.7984,79.6561],"XQuAD":[95.8677,91.3706,94.6856],"Belebele":[93.238,88.3333,91.8427],"PubHealth":[78.4271,62.3377,73.9301],"SciFact":[61.9889,51.4925,59.8404],"NFCorpus":[30.9426,39.759,49.5841],"ArguAna":[50.5483,25.251,41.4727],"FiQA":[34.0822,32.19,41.0119]},"mem":1.44,"dps":504.5,"qps":3055.6,"tps":132849,"wmem":1.06,"prec":"fp16","mrl":[],"l2":{"Zalo Legal":[71.59,74.28],"Tables":[39.96,40.37]}},{"id":"bge-m3-all","hf":"BAAI/bge-m3","params":0.568,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"MIT","link":"https://huggingface.co/BAAI/bge-m3","s":{"Zalo Legal":[74.7249,59.264,69.4111],"TVPL":[82.3634,71.968,80.1395],"Tables":[47.2759,38.1101,44.0729],"WebFAQ":[85.4474,75.94,82.5272],"ViQuAD":[61.7807,73.4863,83.2947],"MLQA":[86.4078,77.1037,83.5821],"XQuAD":[97.473,94.5854,96.6852],"Belebele":[95.9612,92.6667,95.0003],"PubHealth":[79.7677,66.2338,75.7792],"SciFact":[65.1184,null,62.5569],"NFCorpus":[33.2916,null,52.7041],"ArguAna":[46.9125,null,38.2845],"FiQA":[35.6564,null,43.3902]},"mem":2.14,"dps":468.3,"qps":2794.1,"tps":123324,"wmem":1.06,"prec":"fp16","mrl":[],"l2":{"Zalo Legal":[74.72,77.52],"Tables":[47.28,47.87]}},{"id":"cohere-embed-5-fast","hf":"cohere/embed-5-fast","params":null,"group":"api","api":true,"tie":false,"dim":2048,"lic":"commercial API","link":"https://openrouter.ai/cohere/embed-5-fast","s":{"Zalo Legal":[72.0038,55.0761,66.4571],"TVPL":[82.7298,72.1683,80.4351],"Tables":[48.202,38.1716,44.6711],"WebFAQ":[83.0454,72.8,79.8767],"ViQuAD":[60.3486,73.1445,82.516],"MLQA":[83.3238,72.7984,80.033],"XQuAD":[97.0272,93.4856,96.1774],"Belebele":[95.0366,90.8889,93.8179],"PubHealth":[81.3225,63.6364,76.1054],"SciFact":[69.9938,56.7164,66.3566],"NFCorpus":[37.4459,45.7831,56.393],"ArguAna":[50.8362,25.5598,41.1944],"FiQA":[36.6801,37.2032,45.1125]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,67.29],[512,70.41],[1024,71.3],[2048,71.5]],"l2":{}},{"id":"cohere-embed-5-pro","hf":"cohere/embed-5-pro","params":null,"group":"api","api":true,"tie":false,"dim":2048,"lic":"commercial API","link":"https://openrouter.ai/cohere/embed-5-pro","s":{"Zalo Legal":[73.3328,56.7259,67.3485],"TVPL":[84.391,74.2814,82.2845],"Tables":[48.8861,38.8198,45.3769],"WebFAQ":[84.6847,74.87,81.6687],"ViQuAD":[61.2126,73.0469,82.747],"MLQA":[84.4236,73.9726,81.3755],"XQuAD":[97.3575,94.0778,96.5427],"Belebele":[95.6898,92.1111,94.7299],"PubHealth":[83.2717,68.8312,79.0275],"SciFact":[72.8359,59.7015,69.0473],"NFCorpus":[39.4045,46.988,57.1249],"ArguAna":[50.005,24.8649,40.4626],"FiQA":[38.2733,35.6201,46.0253]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,68.33],[512,71.56],[1024,72.35],[2048,72.82]],"l2":{}},{"id":"cohere-embed-multilingual-v3","hf":"cohere/embed-multilingual-v3.0","params":null,"group":"api","api":true,"tie":false,"dim":1024,"lic":"commercial API","link":"https://openrouter.ai/cohere/embed-multilingual-v3.0","s":{"Zalo Legal":[69.1828,51.7766,63.2784],"TVPL":[81.7367,70.8463,79.3776],"Tables":[39.3217,30.3065,36.1507],"WebFAQ":[84.8158,75.32,81.8663],"ViQuAD":[60.0814,71.5332,80.5442],"MLQA":[81.1594,70.2544,77.7979],"XQuAD":[95.7778,91.286,94.543],"Belebele":[94.4573,90.0,93.1822],"PubHealth":[84.2647,70.1299,80.0593],"SciFact":[63.2393,52.9851,60.9669],"NFCorpus":[32.7152,37.3494,49.4456],"ArguAna":[54.228,28.4942,45.4784],"FiQA":[33.66,32.4538,40.9816]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[],"l2":{}},{"id":"dvt-vn-doc-emb","hf":"dangvantuan/vietnamese-document-embedding","params":0.305,"group":"multi","api":false,"tie":true,"dim":768,"lic":"Apache-2.0","link":"https://huggingface.co/dangvantuan/vietnamese-document-embedding","s":{"Zalo Legal":[64.8589,47.9695,59.0366],"TVPL":[75.2644,63.1147,72.2595],"Tables":[32.9048,24.4112,29.8411],"WebFAQ":[75.5169,63.6,71.7525],"ViQuAD":[49.5446,48.5352,62.927],"MLQA":[81.9005,71.4286,78.4432],"XQuAD":[94.4641,88.5787,93.1211],"Belebele":[92.4444,86.1111,90.6786],"PubHealth":[76.8971,61.039,72.6732],"SciFact":[62.8944,51.4925,60.4951],"NFCorpus":[30.483,35.5422,47.0704],"ArguAna":[54.6359,29.6525,46.4482],"FiQA":[31.1246,30.0792,38.2521]},"mem":1.09,"dps":566.6,"qps":3521.3,"tps":149203,"wmem":0.58,"prec":"bf16","mrl":[],"l2":{}},{"id":"dvt-vn-emb","hf":"dangvantuan/vietnamese-embedding","params":0.135,"group":"multi","api":false,"tie":true,"dim":768,"lic":"Apache-2.0","link":"https://huggingface.co/dangvantuan/vietnamese-embedding","s":{"Zalo Legal":[48.1725,33.3756,42.3153],"TVPL":[65.8714,51.7576,62.2571],"Tables":[21.8052,14.8725,19.218],"WebFAQ":[53.8245,41.95,49.7204],"ViQuAD":[35.8752,31.8359,44.9926],"MLQA":[69.4029,54.5988,64.6058],"XQuAD":[86.4591,75.1269,83.2612],"Belebele":[84.0574,73.0,80.6369],"PubHealth":[68.5647,49.3506,62.2325],"SciFact":[30.2653,19.403,28.2522],"NFCorpus":[19.2424,27.1084,34.8097],"ArguAna":[39.0071,17.1429,31.379],"FiQA":[11.6183,10.0264,14.7789]},"mem":0.39,"dps":630.6,"qps":455.1,"tps":120591,"wmem":0.25,"prec":"bf16","mrl":[],"l2":{}},{"id":"embeddinggemma-2","hf":"google/embeddinggemma-2","params":0.271,"group":"multi","api":false,"tie":true,"dim":768,"lic":"Apache-2.0","link":"https://huggingface.co/google/embeddinggemma-2","s":{"Zalo Legal":[69.5908,54.8223,64.5502],"TVPL":[76.676,64.8873,74.0176],"Tables":[41.0979,31.8181,37.8465],"WebFAQ":[73.1415,61.17,69.2747],"ViQuAD":[56.6502,65.8203,76.1542],"MLQA":[81.327,70.2544,78.2013],"XQuAD":[95.1442,89.9323,93.7959],"Belebele":[94.0746,89.6667,92.8469],"PubHealth":[66.3773,48.0519,61.3502],"SciFact":[68.357,56.7164,65.1093],"NFCorpus":[32.9777,40.9639,50.7368],"ArguAna":[53.9183,28.3398,44.8627],"FiQA":[28.1802,26.1214,34.3849]},"mem":2.42,"dps":355.7,"qps":1026.4,"tps":100613,"wmem":0.5,"prec":"bf16","mrl":[[128,51.56],[256,62.03],[512,64.61],[768,65.13]],"l2":{}},{"id":"embeddinggemma-300m","hf":"google/embeddinggemma-300m","params":0.3,"group":"multi","api":false,"tie":true,"dim":768,"lic":"Gemma","link":"https://huggingface.co/google/embeddinggemma-300m","s":{"Zalo Legal":[67.8625,47.8426,62.1075],"TVPL":[79.4509,68.1823,77.0072],"Tables":[40.4485,31.2006,37.1904],"WebFAQ":[79.2511,69.15,75.9543],"ViQuAD":[58.8033,66.4551,76.7612],"MLQA":[78.2294,66.7319,74.5686],"XQuAD":[95.2971,90.9475,94.2064],"Belebele":[93.0037,88.3333,91.6388],"PubHealth":[76.7835,62.3377,71.4786],"SciFact":[70.4756,55.9701,66.1697],"NFCorpus":[34.1143,40.9639,49.8221],"ArguAna":[55.0331,30.1158,47.065],"FiQA":[28.8651,27.4406,34.9937]},"mem":0.82,"dps":455.3,"qps":1074.6,"tps":128798,"wmem":0.57,"prec":"bf16","mrl":[[128,58.57],[256,62.85],[512,65.3],[768,66.75]],"l2":{"Zalo Legal":[67.86,72.24],"Tables":[40.45,41.39]}},{"id":"f2llm-v2-0.6b","hf":"codefuse-ai/F2LLM-v2-0.6B","params":0.596,"group":"qwen","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-0.6B","s":{"Zalo Legal":[71.9947,54.5685,66.2732],"TVPL":[81.6375,70.9965,79.3601],"Tables":[35.3087,26.3418,32.1106],"WebFAQ":[88.6507,80.23,86.1135],"ViQuAD":[55.3343,58.3496,69.5391],"MLQA":[78.6635,67.319,75.0147],"XQuAD":[93.9418,88.0711,92.4048],"Belebele":[92.3047,86.8889,90.8612],"PubHealth":[85.827,76.6234,83.6039],"SciFact":[68.3471,57.4627,65.3862],"NFCorpus":[33.5678,43.3735,52.1735],"ArguAna":[51.0489,26.6409,42.7572],"FiQA":[37.0723,36.1478,44.7383]},"mem":1.57,"dps":199.9,"qps":1279.0,"tps":56855,"wmem":1.11,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-1.7b","hf":"codefuse-ai/F2LLM-v2-1.7B","params":1.72,"group":"qwen","api":false,"tie":true,"dim":2048,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-1.7B","s":{"Zalo Legal":[72.7936,55.3299,66.9773],"TVPL":[83.7197,73.2899,81.5314],"Tables":[37.4293,28.2753,34.1785],"WebFAQ":[90.1764,82.13,87.8143],"ViQuAD":[58.3088,60.5469,71.7984],"MLQA":[79.2595,66.9276,75.6862],"XQuAD":[95.0234,90.0169,93.6777],"Belebele":[93.2491,88.0,91.6439],"PubHealth":[89.3392,80.5195,85.9307],"SciFact":[71.1159,58.209,67.4408],"NFCorpus":[35.307,45.7831,54.7464],"ArguAna":[52.7123,27.7992,44.4116],"FiQA":[41.0166,40.6332,49.4729]},"mem":4.09,"dps":100.2,"qps":732.6,"tps":28486,"wmem":3.2,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-160m","hf":"codefuse-ai/F2LLM-v2-160M","params":0.159,"group":"qwen","api":false,"tie":true,"dim":640,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-160M","s":{"Zalo Legal":[63.1272,44.1624,57.324],"TVPL":[75.0539,63.5253,72.3982],"Tables":[30.1297,22.3464,27.3222],"WebFAQ":[82.2128,72.6,79.2285],"ViQuAD":[48.1969,50.8789,62.6097],"MLQA":[74.3351,61.4481,69.9907],"XQuAD":[92.2185,85.4484,90.2228],"Belebele":[90.2573,83.7778,88.3411],"PubHealth":[76.4077,59.7403,71.2446],"SciFact":[56.972,44.0299,53.7701],"NFCorpus":[26.0294,33.1325,41.6129],"ArguAna":[48.4599,25.5598,40.5533],"FiQA":[26.9646,25.8575,33.6813]},"mem":0.71,"dps":657.6,"qps":3108.6,"tps":187017,"wmem":0.3,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-330m","hf":"codefuse-ai/F2LLM-v2-330M","params":0.334,"group":"qwen","api":false,"tie":true,"dim":896,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-330M","s":{"Zalo Legal":[68.3045,51.7766,62.1756],"TVPL":[79.2872,68.4026,76.9062],"Tables":[34.0017,25.6768,31.0208],"WebFAQ":[87.1889,78.05,84.4783],"ViQuAD":[52.7838,55.8594,67.4934],"MLQA":[77.4431,64.775,73.3024],"XQuAD":[93.1344,86.6328,91.3357],"Belebele":[91.625,86.6667,90.1325],"PubHealth":[81.5835,67.5325,77.3191],"SciFact":[62.9694,52.2388,59.9103],"NFCorpus":[30.2639,39.1566,48.4483],"ArguAna":[51.4065,27.1042,43.0621],"FiQA":[33.9373,33.2454,41.5423]},"mem":1.07,"dps":358.7,"qps":2030.7,"tps":102016,"wmem":0.62,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-4b","hf":"codefuse-ai/F2LLM-v2-4B","params":4.02,"group":"qwen","api":false,"tie":true,"dim":2560,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-4B","s":{"Zalo Legal":[74.5414,57.7411,69.0586],"TVPL":[85.0849,74.9825,82.9834],"Tables":[37.4485,28.2781,34.1977],"WebFAQ":[91.2259,83.74,89.0445],"ViQuAD":[60.7935,60.498,72.293],"MLQA":[79.9443,69.6673,76.7575],"XQuAD":[95.8935,91.2014,94.6441],"Belebele":[94.009,89.3333,92.6694],"PubHealth":[91.7929,83.1169,88.8219],"SciFact":[72.439,55.9701,68.0159],"NFCorpus":[36.813,45.7831,55.1681],"ArguAna":[54.6084,30.0386,46.1064],"FiQA":[46.1968,44.591,53.2508]},"mem":8.78,"dps":43.9,"qps":315.8,"tps":12483,"wmem":7.49,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-80m","hf":"codefuse-ai/F2LLM-v2-80M","params":0.08,"group":"qwen","api":false,"tie":true,"dim":320,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-80M","s":{"Zalo Legal":[60.4214,42.3858,54.4923],"TVPL":[71.6904,59.4492,68.8041],"Tables":[27.6253,20.1503,24.9076],"WebFAQ":[79.1466,69.14,76.0143],"ViQuAD":[45.5278,47.7051,59.2201],"MLQA":[71.1609,58.317,66.968],"XQuAD":[89.3782,80.8799,86.9357],"Belebele":[87.1609,80.2222,85.0004],"PubHealth":[76.6507,58.4416,70.6689],"SciFact":[55.7807,43.2836,51.8266],"NFCorpus":[24.7337,31.9277,40.7227],"ArguAna":[46.1113,23.166,38.0112],"FiQA":[23.2999,23.219,29.1041]},"mem":0.52,"dps":767.8,"qps":3262.4,"tps":218339,"wmem":0.15,"prec":"bf16","mrl":[],"l2":{}},{"id":"f2llm-v2-8b","hf":"codefuse-ai/F2LLM-v2-8B","params":7.57,"group":"qwen","api":false,"tie":true,"dim":4096,"lic":"Apache-2.0","link":"https://huggingface.co/codefuse-ai/F2LLM-v2-8B","s":{"Zalo Legal":[74.5231,57.4873,68.7622],"TVPL":[85.7375,75.5233,83.6662],"Tables":[38.7654,29.4739,35.4676],"WebFAQ":[91.7287,84.53,89.6469],"ViQuAD":[62.525,61.9629,73.6321],"MLQA":[80.8096,70.6458,77.8102],"XQuAD":[95.8958,91.2014,94.8357],"Belebele":[94.2268,89.4444,92.7489],"PubHealth":[93.0005,85.7143,90.6926],"SciFact":[71.9887,57.4627,67.2447],"NFCorpus":[36.3308,46.988,55.5242],"ArguAna":[53.6177,28.7259,44.7462],"FiQA":[46.2085,45.3826,54.3011]},"mem":15.86,"dps":26.5,"qps":184.7,"tps":7524,"wmem":14.1,"prec":"bf16","mrl":[],"l2":{}},{"id":"gemini-embedding-001","hf":"google/gemini-embedding-001","params":null,"group":"api","api":true,"tie":false,"dim":3072,"lic":"commercial API","link":"https://openrouter.ai/google/gemini-embedding-001","s":{"Zalo Legal":[75.2541,60.533,70.045],"TVPL":[86.1019,76.4947,84.154],"Tables":[40.3093,30.9743,37.0138],"WebFAQ":[89.3811,81.35,87.0059],"ViQuAD":[69.0919,68.9941,79.9359],"MLQA":[86.4986,78.6693,84.2432],"XQuAD":[97.684,94.7547,97.0001],"Belebele":[96.1824,92.6667,95.2057],"PubHealth":[91.1344,79.2208,88.1494],"SciFact":[84.3215,73.1343,81.704],"NFCorpus":[40.0989,48.1928,58.2662],"ArguAna":[67.5453,44.8649,59.9243],"FiQA":[47.4434,44.591,54.6033]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[768,72.25],[1536,72.71],[3072,72.76]],"l2":{}},{"id":"gemini-embedding-2","hf":"google/gemini-embedding-2","params":null,"group":"api","api":true,"tie":false,"dim":3072,"lic":"commercial API","link":"https://openrouter.ai/google/gemini-embedding-2","s":{"Zalo Legal":[80.1722,67.0051,75.6043],"TVPL":[87.407,78.1072,85.5947],"Tables":[45.3606,35.956,42.0679],"WebFAQ":[90.6503,82.91,88.3987],"ViQuAD":[71.5089,74.6582,83.7685],"MLQA":[86.3334,79.2564,84.1217],"XQuAD":[97.4139,94.247,96.6442],"Belebele":[96.6115,93.6667,95.8143],"PubHealth":[92.5536,83.1169,90.0794],"SciFact":[82.6159,70.1493,78.7983],"NFCorpus":[40.7703,50.0,59.9027],"ArguAna":[65.013,40.9266,56.8578],"FiQA":[48.4616,44.8549,54.9217]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[768,75.58],[1536,75.81],[3072,75.9]],"l2":{}},{"id":"granite-311m-multi-r2","hf":"ibm-granite/granite-embedding-311m-multilingual-r2","params":0.312,"group":"multi","api":false,"tie":false,"dim":768,"lic":"Apache-2.0","link":"https://huggingface.co/ibm-granite/granite-embedding-311m-multilingual-r2","s":{"Zalo Legal":[68.7871,52.7919,63.1782],"TVPL":[79.4896,68.3325,76.9763],"Tables":[35.0695,26.8727,32.1226],"WebFAQ":[85.1039,75.73,82.252],"ViQuAD":[51.3125,52.7344,64.7671],"MLQA":[75.0696,61.6438,70.7688],"XQuAD":[91.151,83.5025,88.9468],"Belebele":[89.9503,84.2222,88.0682],"PubHealth":[81.2552,62.3377,75.6494],"SciFact":[64.4067,50.0,60.1158],"NFCorpus":[28.1039,37.9518,46.987],"ArguAna":[48.2182,23.6293,38.9315],"FiQA":[31.1472,29.8153,38.3405]},"mem":0.97,"dps":601.2,"qps":2531.0,"tps":167246,"wmem":0.58,"prec":"bf16","mrl":[],"l2":{}},{"id":"granite-97m-multi-r2","hf":"ibm-granite/granite-embedding-97m-multilingual-r2","params":0.097,"group":"multi","api":false,"tie":true,"dim":384,"lic":"Apache-2.0","link":"https://huggingface.co/ibm-granite/granite-embedding-97m-multilingual-r2","s":{"Zalo Legal":[62.7624,46.4467,57.1954],"TVPL":[73.7335,61.8127,70.819],"Tables":[30.6715,23.0868,27.9184],"WebFAQ":[80.4269,70.42,77.3335],"ViQuAD":[45.873,46.3379,59.2879],"MLQA":[71.77,58.5127,67.6044],"XQuAD":[87.9964,78.2572,85.1922],"Belebele":[85.946,78.0,83.1143],"PubHealth":[78.723,64.9351,73.9662],"SciFact":[57.3697,44.7761,54.1217],"NFCorpus":[25.6032,35.5422,43.9589],"ArguAna":[42.9624,20.5405,36.528],"FiQA":[24.8805,22.9551,28.8478]},"mem":0.46,"dps":1126.9,"qps":3908.5,"tps":321538,"wmem":0.18,"prec":"bf16","mrl":[],"l2":{"Zalo Legal":[62.76,63.03],"Tables":[30.67,31.2]}},{"id":"harrier-0.6b","hf":"microsoft/harrier-oss-v1-0.6b","params":0.596,"group":"qwen","api":false,"tie":true,"dim":1024,"lic":"MIT","link":"https://huggingface.co/microsoft/harrier-oss-v1-0.6b","s":{"Zalo Legal":[71.9821,55.7107,67.1567],"TVPL":[81.845,70.686,79.5208],"Tables":[40.8836,31.5554,37.6019],"WebFAQ":[80.8351,70.49,77.6269],"ViQuAD":[61.2603,70.6055,80.7444],"MLQA":[83.5265,74.5597,80.9014],"XQuAD":[96.8107,92.8934,95.9052],"Belebele":[94.4883,90.2222,93.1777],"PubHealth":[85.9117,71.4286,81.9408],"SciFact":[73.286,61.9403,70.6965],"NFCorpus":[34.7248,41.5663,52.2139],"ArguAna":[55.7649,30.7336,47.8245],"FiQA":[33.359,32.7177,40.5971]},"mem":1.57,"dps":200.0,"qps":1288.5,"tps":56878,"wmem":1.11,"prec":"bf16","mrl":[],"l2":{}},{"id":"harrier-270m","hf":"microsoft/harrier-oss-v1-270m","params":0.268,"group":"multi","api":false,"tie":true,"dim":640,"lic":"MIT","link":"https://huggingface.co/microsoft/harrier-oss-v1-270m","s":{"Zalo Legal":[64.4006,48.6041,59.0484],"TVPL":[78.543,66.7501,75.9075],"Tables":[37.5118,28.7642,34.3722],"WebFAQ":[77.7517,66.85,74.2912],"ViQuAD":[57.1797,67.2363,78.2237],"MLQA":[79.6586,69.4716,76.7943],"XQuAD":[95.9706,91.8782,94.6602],"Belebele":[92.7109,87.0,90.9076],"PubHealth":[80.0649,66.2338,74.1352],"SciFact":[67.3055,57.4627,64.7779],"NFCorpus":[30.0554,40.9639,49.4124],"ArguAna":[55.5043,30.1158,47.7087],"FiQA":[27.993,26.6491,34.1892]},"mem":0.8,"dps":567.0,"qps":1609.4,"tps":158159,"wmem":0.5,"prec":"bf16","mrl":[],"l2":{}},{"id":"jina-v3","hf":"jinaai/jina-embeddings-v3","params":0.572,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/jinaai/jina-embeddings-v3","s":{"Zalo Legal":[67.956,49.6193,61.8836],"TVPL":[80.6914,69.6645,78.2651],"Tables":[34.0439,25.5204,31.0102],"WebFAQ":[87.3716,77.84,84.4186],"ViQuAD":[53.5504,67.1875,76.9598],"MLQA":[79.445,67.5147,75.6052],"XQuAD":[94.4819,88.7479,92.9259],"Belebele":[93.3718,88.2222,91.8051],"PubHealth":[81.6259,67.5325,76.176],"SciFact":[66.3613,54.4776,63.1891],"NFCorpus":[32.9273,40.3614,49.5664],"ArguAna":[37.8634,15.9073,29.5342],"FiQA":[37.419,37.467,45.7735]},"mem":2.09,"dps":233.3,"qps":691.9,"tps":61435,"wmem":1.07,"prec":"bf16","mrl":[],"l2":{}},{"id":"jina-v4","hf":"jinaai/jina-embeddings-v4","params":3.75,"group":"multi","api":false,"tie":true,"dim":2048,"lic":"Qwen Research License (card)","link":"https://huggingface.co/jinaai/jina-embeddings-v4","s":{"Zalo Legal":[69.3491,51.7766,63.435],"TVPL":[80.9962,69.7546,78.3835],"Tables":[36.9643,27.9037,33.7309],"WebFAQ":[83.8325,73.78,80.7661],"ViQuAD":[57.3872,68.6523,78.4853],"MLQA":[81.1892,69.0802,77.7259],"XQuAD":[96.0511,91.709,94.9084],"Belebele":[94.2924,89.2222,92.7945],"PubHealth":[84.3943,72.7273,81.0405],"SciFact":[72.2598,56.7164,68.5916],"NFCorpus":[35.6423,42.7711,53.1507],"ArguAna":[50.9821,26.4865,43.1656],"FiQA":[36.755,36.4116,43.7142]},"mem":14.29,"dps":45.5,"qps":425.7,"tps":null,"wmem":7.33,"prec":"bf16","mrl":[],"l2":{}},{"id":"jina-v5-nano","hf":"jinaai/jina-embeddings-v5-text-nano","params":0.212,"group":"multi","api":false,"tie":true,"dim":768,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/jinaai/jina-embeddings-v5-text-nano","s":{"Zalo Legal":[73.7463,57.7411,67.909],"TVPL":[81.8906,71.4372,79.6435],"Tables":[39.099,30.0914,35.9023],"WebFAQ":[83.5305,73.87,80.6274],"ViQuAD":[58.9171,68.0176,78.2244],"MLQA":[82.7008,71.4286,79.199],"XQuAD":[95.9121,91.2014,94.6811],"Belebele":[94.6706,90.1111,93.4575],"PubHealth":[86.5486,74.026,82.9705],"SciFact":[69.7602,57.4627,66.3895],"NFCorpus":[36.0842,47.5904,57.1601],"ArguAna":[57.3849,32.7413,49.2595],"FiQA":[35.0826,34.5646,42.9999]},"mem":1.86,"dps":233.0,"qps":1167.5,"tps":63505,"wmem":0.89,"prec":"bf16","mrl":[],"l2":{}},{"id":"jina-v5-small","hf":"jinaai/jina-embeddings-v5-text-small","params":0.596,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/jinaai/jina-embeddings-v5-text-small","s":{"Zalo Legal":[75.0792,61.0406,69.6798],"TVPL":[82.2157,71.8678,79.9514],"Tables":[42.7925,33.1396,39.3723],"WebFAQ":[83.8533,74.14,80.9577],"ViQuAD":[58.8862,68.2129,78.4598],"MLQA":[82.8028,72.7984,79.9348],"XQuAD":[96.2344,91.9628,95.1126],"Belebele":[94.6065,90.2222,93.1544],"PubHealth":[88.2559,79.2208,85.7303],"SciFact":[71.8953,57.4627,68.1385],"NFCorpus":[36.292,46.3855,55.0351],"ArguAna":[56.2361,30.3475,47.8782],"FiQA":[37.8051,36.9393,45.4898]},"mem":3.52,"dps":138.6,"qps":491.4,"tps":39304,"wmem":1.26,"prec":"bf16","mrl":[],"l2":{}},{"id":"me5-large","hf":"intfloat/multilingual-e5-large","params":0.56,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"MIT","link":"https://huggingface.co/intfloat/multilingual-e5-large","s":{"Zalo Legal":[66.495,48.9848,61.3628],"TVPL":[82.0738,70.9664,79.5204],"Tables":[42.1079,32.9971,38.908],"WebFAQ":[85.0319,75.54,82.0933],"ViQuAD":[60.9411,65.7715,77.4082],"MLQA":[83.7657,74.7554,80.9991],"XQuAD":[96.6566,92.7242,95.8954],"Belebele":[95.4862,91.6667,94.1106],"PubHealth":[83.7871,70.1299,79.4548],"SciFact":[64.7775,55.2239,62.731],"NFCorpus":[32.1163,37.9518,47.8144],"ArguAna":[45.5429,22.6255,41.6088],"FiQA":[32.8303,30.8707,39.8858]},"mem":1.43,"dps":498.7,"qps":2866.6,"tps":132143,"wmem":1.04,"prec":"bf16","mrl":[],"l2":{}},{"id":"me5-small","hf":"intfloat/multilingual-e5-small","params":0.118,"group":"multi","api":false,"tie":true,"dim":384,"lic":"MIT","link":"https://huggingface.co/intfloat/multilingual-e5-small","s":{"Zalo Legal":[60.8013,44.797,56.4731],"TVPL":[77.0196,65.1978,74.185],"Tables":[38.5609,30.1165,35.6157],"WebFAQ":[78.6352,68.72,75.614],"ViQuAD":[55.0353,64.6484,75.9736],"MLQA":[79.4455,69.2759,76.0867],"XQuAD":[95.0198,89.8477,93.801],"Belebele":[90.4538,84.2222,88.5346],"PubHealth":[73.6188,54.5455,67.4278],"SciFact":[62.6086,50.0,59.6959],"NFCorpus":[26.4812,34.9398,43.0613],"ArguAna":[36.7665,17.7606,33.0018],"FiQA":[23.383,22.1636,30.1034]},"mem":0.37,"dps":1333.3,"qps":3670.6,"tps":353258,"wmem":0.22,"prec":"bf16","mrl":[],"l2":{}},{"id":"mistral-embed-1b","hf":"mistralai/Mistral-Multimodal-Embed-1B","params":1.24,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/mistralai/Mistral-Multimodal-Embed-1B","s":{"Zalo Legal":[35.1948,20.0508,29.604],"TVPL":[50.5107,34.5919,45.8555],"Tables":[18.2658,12.6596,16.2709],"WebFAQ":[55.4827,42.94,51.4018],"ViQuAD":[20.9655,16.3574,25.3538],"MLQA":[53.0729,40.9002,48.8338],"XQuAD":[71.0739,57.445,66.9322],"Belebele":[62.4183,56.3333,60.2191],"PubHealth":[61.1108,38.961,51.8105],"SciFact":[49.3481,37.3134,46.1241],"NFCorpus":[20.3201,31.3253,38.3773],"ArguAna":[31.3121,13.3591,25.4724],"FiQA":[11.7557,10.5541,14.6199]},"mem":2.91,"dps":230.8,"qps":2199.3,"tps":66057,"wmem":2.31,"prec":"bf16","mrl":[],"l2":{"Zalo Legal":[35.19,42.7],"Tables":[18.27,18.52]}},{"id":"nemotron3-1b","hf":"nvidia/Nemotron-3-Embed-1B-BF16","params":1.14,"group":"multi","api":false,"tie":true,"dim":2048,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3-Embed-1B-BF16","s":{"Zalo Legal":[70.5358,53.5533,64.6258],"TVPL":[80.392,69.3741,77.9274],"Tables":[46.4067,36.4673,42.922],"WebFAQ":[74.9288,65.17,71.7654],"ViQuAD":[59.7791,71.3379,81.0318],"MLQA":[82.2308,72.2114,79.3497],"XQuAD":[97.9523,95.2623,97.3299],"Belebele":[93.643,89.2222,92.3387],"PubHealth":[78.2479,59.7403,71.1812],"SciFact":[67.8296,56.7164,65.6506],"NFCorpus":[30.61,38.5542,47.1539],"ArguAna":[49.0277,24.556,40.6582],"FiQA":[33.0307,32.7177,40.0868]},"mem":3.01,"dps":165.1,"qps":1592.2,"tps":47234,"wmem":2.13,"prec":"bf16","mrl":[],"l2":{}},{"id":"nemotron3-8b","hf":"nvidia/Nemotron-3-Embed-8B-BF16","params":7.95,"group":"multi","api":false,"tie":true,"dim":4096,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3-Embed-8B-BF16","s":{"Zalo Legal":[80.2259,65.9898,75.2045],"TVPL":[87.1985,77.9069,85.3682],"Tables":[51.4904,41.5607,48.038],"WebFAQ":[88.8473,80.72,86.3705],"ViQuAD":[68.2049,79.8828,87.7839],"MLQA":[87.6744,79.6477,85.4077],"XQuAD":[99.0636,97.6311,98.6548],"Belebele":[97.4704,95.2222,96.7944],"PubHealth":[90.1094,80.5195,87.3119],"SciFact":[78.3219,66.4179,76.1709],"NFCorpus":[38.1961,47.5904,57.2205],"ArguAna":[55.1793,28.6486,46.1213],"FiQA":[51.055,51.4512,59.9212]},"mem":16.76,"dps":26.2,"qps":254.0,"tps":7485,"wmem":14.81,"prec":"bf16","mrl":[],"l2":{}},{"id":"nemotron35-1b","hf":"nvidia/Nemotron-3.5-Embed-1B-BF16","params":1.56,"group":"multi","api":false,"tie":false,"dim":2048,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3.5-Embed-1B-BF16","s":{"Zalo Legal":[70.6893,53.934,64.379],"TVPL":[80.3726,69.334,77.9228],"Tables":[46.409,36.4757,42.9157],"WebFAQ":[74.8886,65.14,71.7228],"ViQuAD":[59.6946,71.0449,80.8051],"MLQA":[82.1115,71.82,79.1964],"XQuAD":[97.9211,95.1777,97.2453],"Belebele":[93.6319,89.2222,92.3779],"PubHealth":[78.2524,59.7403,71.8161],"SciFact":[67.8296,56.7164,65.2775],"NFCorpus":[30.5238,37.3494,46.6103],"ArguAna":[49.2772,24.8649,40.3396],"FiQA":[32.8381,32.19,40.2906]},"mem":3.01,"dps":186.0,"qps":1920.5,"tps":53231,"wmem":2.13,"prec":"bf16","mrl":[],"l2":{}},{"id":"nemotron35-1b-nvfp4","hf":"nvidia/Nemotron-3.5-Embed-1B-NVFP4","params":1.56,"group":"multi","api":false,"tie":false,"dim":2048,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3.5-Embed-1B-NVFP4","s":{"Zalo Legal":[70.6105,54.0609,64.8406],"TVPL":[79.9862,68.693,77.4342],"Tables":[46.5848,36.6377,43.0756],"WebFAQ":[74.5672,64.72,71.3821],"ViQuAD":[59.1831,70.7031,80.4675],"MLQA":[81.9813,72.407,79.2143],"XQuAD":[97.8172,94.9239,97.1035],"Belebele":[93.2912,88.6667,91.9896],"PubHealth":[75.179,55.8442,68.858],"SciFact":[67.4238,56.7164,65.0808],"NFCorpus":[30.6443,40.3614,48.3199],"ArguAna":[49.6216,25.0965,40.5123],"FiQA":[32.2435,31.1346,39.2435]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":"nvfp4","mrl":[],"l2":{}},{"id":"nemotron35-8b","hf":"nvidia/Nemotron-3.5-Embed-8B-BF16","params":8.38,"group":"multi","api":false,"tie":false,"dim":4096,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3.5-Embed-8B-BF16","s":{"Zalo Legal":[80.2139,66.2437,75.407],"TVPL":[87.1996,77.8668,85.3611],"Tables":[51.5163,41.6026,48.0562],"WebFAQ":[88.8654,80.8,86.3971],"ViQuAD":[68.1912,79.7363,87.7411],"MLQA":[87.6647,79.4521,85.3262],"XQuAD":[99.0011,97.4619,98.6548],"Belebele":[97.4704,95.2222,96.8185],"PubHealth":[90.1094,80.5195,87.3119],"SciFact":[78.3104,66.4179,74.9138],"NFCorpus":[38.2539,47.5904,56.8189],"ArguAna":[55.3924,29.0347,45.9846],"FiQA":[51.0573,51.4512,59.9212]},"mem":16.76,"dps":29.2,"qps":314.7,"tps":8356,"wmem":14.81,"prec":"bf16","mrl":[],"l2":{}},{"id":"nemotron35-8b-nvfp4","hf":"nvidia/Nemotron-3.5-Embed-8B-NVFP4","params":8.38,"group":"multi","api":false,"tie":false,"dim":4096,"lic":"OpenMDW-1.1","link":"https://huggingface.co/nvidia/Nemotron-3.5-Embed-8B-NVFP4","s":{"Zalo Legal":[79.5619,65.3553,74.6794],"TVPL":[86.9961,77.5263,85.1347],"Tables":[51.8258,41.9156,48.3864],"WebFAQ":[88.8011,80.6,86.3326],"ViQuAD":[68.0238,79.6387,87.6746],"MLQA":[87.0769,78.4736,84.5645],"XQuAD":[99.0391,97.6311,98.731],"Belebele":[97.3036,94.8889,96.6241],"PubHealth":[88.7011,76.6234,85.3948],"SciFact":[77.7067,65.6716,74.374],"NFCorpus":[38.1209,48.7952,57.331],"ArguAna":[55.9004,29.7297,46.6335],"FiQA":[51.1311,51.4512,60.1205]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":"nvfp4","mrl":[],"l2":{}},{"id":"octen-0.6b","hf":"Octen/Octen-Embedding-0.6B","params":0.6,"group":"qwen","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/Octen/Octen-Embedding-0.6B","s":{"Zalo Legal":[66.3164,49.4924,60.5672],"TVPL":[77.8856,66.3495,75.337],"Tables":[35.434,26.9844,32.452],"WebFAQ":[80.9243,70.86,77.8028],"ViQuAD":[38.3041,35.6934,46.8267],"MLQA":[77.0335,64.3836,73.2571],"XQuAD":[92.3408,84.687,90.247],"Belebele":[91.9607,86.2222,90.3112],"PubHealth":[81.0223,66.2338,75.9359],"SciFact":[69.5581,56.7164,65.3468],"NFCorpus":[32.8469,42.1687,52.1692],"ArguAna":[55.9998,31.2741,47.7136],"FiQA":[33.4395,31.6623,39.809]},"mem":1.57,"dps":199.6,"qps":1245.3,"tps":56458,"wmem":1.11,"prec":"bf16","mrl":[],"l2":{}},{"id":"octen-4b","hf":"Octen/Octen-Embedding-4B","params":4.02,"group":"qwen","api":false,"tie":true,"dim":2560,"lic":"Apache-2.0","link":"https://huggingface.co/Octen/Octen-Embedding-4B","s":{"Zalo Legal":[73.5528,58.5025,68.5983],"TVPL":[84.2006,73.6104,82.0148],"Tables":[38.3481,28.8648,34.9764],"WebFAQ":[84.4445,74.76,81.4238],"ViQuAD":[57.4186,53.3203,66.1472],"MLQA":[81.1765,69.6673,77.3792],"XQuAD":[94.5477,88.6633,93.0532],"Belebele":[94.5646,90.1111,93.1277],"PubHealth":[87.0542,71.4286,81.3961],"SciFact":[72.3931,57.4627,67.8625],"NFCorpus":[39.6974,50.0,58.2411],"ArguAna":[61.6431,36.4479,53.4514],"FiQA":[42.9011,40.8971,50.2882]},"mem":8.78,"dps":44.3,"qps":319.1,"tps":12531,"wmem":7.49,"prec":"bf16","mrl":[],"l2":{"Zalo Legal":[73.55,76.25],"Tables":[38.35,38.52]}},{"id":"octen-8b","hf":"Octen/Octen-Embedding-8B","params":7.57,"group":"qwen","api":false,"tie":true,"dim":4096,"lic":"Apache-2.0","link":"https://huggingface.co/Octen/Octen-Embedding-8B","s":{"Zalo Legal":[73.7668,58.5025,68.42],"TVPL":[84.1913,73.8608,82.0089],"Tables":[40.032,30.5161,36.6845],"WebFAQ":[86.7756,77.86,84.0568],"ViQuAD":[61.5114,58.0566,70.5464],"MLQA":[83.581,73.9726,80.5796],"XQuAD":[95.5037,90.1861,94.2753],"Belebele":[98.274,96.3333,97.7685],"PubHealth":[90.1207,80.5195,87.5232],"SciFact":[76.1177,64.9254,72.7724],"NFCorpus":[38.2281,45.1807,54.7906],"ArguAna":[64.2137,38.5328,55.9911],"FiQA":[48.4664,46.7018,55.7735]},"mem":15.85,"dps":26.7,"qps":186.1,"tps":7548,"wmem":14.1,"prec":"bf16","mrl":[],"l2":{"Zalo Legal":[73.77,77.11],"Tables":[40.03,40.32]}},{"id":"openembed-0.8b","hf":"UCSC-VLAA/OpenEmbed-0.8B","params":0.85,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/UCSC-VLAA/OpenEmbed-0.8B","s":{"Zalo Legal":[69.5882,52.665,64.0307],"TVPL":[77.9937,66.4096,75.4901],"Tables":[41.5734,32.212,38.2862],"WebFAQ":[77.099,66.62,73.8022],"ViQuAD":[52.4623,57.2266,68.7448],"MLQA":[77.854,67.5147,74.6161],"XQuAD":[92.8187,85.8714,90.7403],"Belebele":[90.723,85.0,88.6797],"PubHealth":[78.6559,62.3377,73.7662],"SciFact":[68.5948,53.7313,64.3281],"NFCorpus":[31.4491,40.3614,48.3565],"ArguAna":[46.8006,23.166,39.2498],"FiQA":[26.4043,26.1214,32.6615]},"mem":3.47,"dps":88.3,"qps":645.1,"tps":24111,"wmem":1.59,"prec":"bf16","mrl":[],"l2":{"Tables":[41.57,42.49]}},{"id":"openembed-2b","hf":"UCSC-VLAA/OpenEmbed-2B","params":2.21,"group":"multi","api":false,"tie":true,"dim":1024,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/UCSC-VLAA/OpenEmbed-2B","s":{"Zalo Legal":[71.8241,54.9492,66.9318],"TVPL":[81.0488,70.0951,78.5921],"Tables":[45.0004,35.2798,41.5557],"WebFAQ":[80.9046,70.74,77.8904],"ViQuAD":[58.0889,64.0137,74.8642],"MLQA":[80.4211,69.4716,76.8589],"XQuAD":[94.8559,89.6785,93.3933],"Belebele":[93.3739,89.1111,91.9972],"PubHealth":[84.469,71.4286,79.2816],"SciFact":[73.4684,58.209,69.3864],"NFCorpus":[33.598,36.747,48.4072],"ArguAna":[50.5311,25.0965,42.2104],"FiQA":[31.4202,29.2876,37.7763]},"mem":6.16,"dps":63.4,"qps":485.0,"tps":17312,"wmem":4.12,"prec":"bf16","mrl":[],"l2":{"Zalo Legal":[71.82,70.04],"Tables":[45.0,46.31]}},{"id":"openembed-4b","hf":"UCSC-VLAA/OpenEmbed-4B","params":4.54,"group":"multi","api":false,"tie":true,"dim":2560,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/UCSC-VLAA/OpenEmbed-4B","s":{"Zalo Legal":[72.9669,55.9645,67.4277],"TVPL":[83.7253,73.4802,81.6497],"Tables":[47.5327,37.7777,44.073],"WebFAQ":[84.1368,74.52,81.205],"ViQuAD":[61.3632,67.627,78.0846],"MLQA":[81.924,71.6243,78.689],"XQuAD":[96.134,92.2166,95.0935],"Belebele":[94.3853,90.5556,93.3432],"PubHealth":[87.1908,75.3247,84.9675],"SciFact":[73.7655,60.4478,70.1365],"NFCorpus":[36.6446,40.3614,51.4824],"ArguAna":[55.1693,29.4981,46.8759],"FiQA":[36.1887,35.0923,44.0148]},"mem":12.17,"dps":25.8,"qps":199.4,"tps":7058,"wmem":8.46,"prec":"bf16","mrl":[],"l2":{}},{"id":"openembed-9b","hf":"UCSC-VLAA/OpenEmbed-9B","params":8.39,"group":"multi","api":false,"tie":true,"dim":4096,"lic":"CC-BY-NC-4.0","link":"https://huggingface.co/UCSC-VLAA/OpenEmbed-9B","s":{"Zalo Legal":[74.5212,58.6294,69.5358],"TVPL":[85.2052,75.323,83.1571],"Tables":[49.0179,39.0685,45.5329],"WebFAQ":[85.0162,75.52,82.0948],"ViQuAD":[63.5222,68.6523,78.7417],"MLQA":[83.4982,73.7769,80.4663],"XQuAD":[96.6637,92.978,95.6336],"Belebele":[94.9052,91.0,93.8126],"PubHealth":[88.1281,75.3247,84.5831],"SciFact":[74.9033,61.9403,71.746],"NFCorpus":[37.2421,43.3735,53.9195],"ArguAna":[55.6353,29.7297,46.3512],"FiQA":[37.6319,34.0369,45.1521]},"mem":19.57,"dps":18.7,"qps":145.5,"tps":5102,"wmem":15.63,"prec":"bf16","mrl":[],"l2":{}},{"id":"para-multi-minilm-l12","hf":"sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2","params":0.118,"group":"multi","api":false,"tie":true,"dim":384,"lic":"Apache-2.0","link":"https://huggingface.co/sentence-transformers/paraphrase-multilingual-MiniLM-L12-v2","s":{"Zalo Legal":[41.2967,26.0152,35.3324],"TVPL":[52.5623,39.8998,49.2095],"Tables":[12.2205,7.7003,10.4669],"WebFAQ":[51.4138,40.69,47.8574],"ViQuAD":[33.9735,29.4922,41.3205],"MLQA":[64.8696,47.9452,59.4422],"XQuAD":[84.08,72.6734,80.654],"Belebele":[82.6833,73.0,79.4566],"PubHealth":[56.4603,38.961,49.6872],"SciFact":[42.9115,29.8507,39.8875],"NFCorpus":[19.6183,22.8916,32.074],"ArguAna":[37.2058,16.6795,29.9654],"FiQA":[12.7567,9.4987,14.8991]},"mem":0.25,"dps":1433.1,"qps":3729.6,"tps":164683,"wmem":0.22,"prec":"bf16","mrl":[],"l2":{}},{"id":"pplx-embed-v1-0.6b","hf":"perplexity/pplx-embed-v1-0.6b","params":0.6,"group":"api","api":true,"tie":false,"dim":1024,"lic":"commercial API","link":"https://openrouter.ai/perplexity/pplx-embed-v1-0.6b","s":{"Zalo Legal":[70.1147,53.934,64.4841],"TVPL":[81.5748,70.5258,79.137],"Tables":[41.1603,32.1226,37.9718],"WebFAQ":[87.0913,78.21,84.4014],"ViQuAD":[59.669,66.3574,77.8976],"MLQA":[83.3702,72.9941,80.2589],"XQuAD":[97.1072,93.824,96.2497],"Belebele":[95.2592,92.0,94.2551],"PubHealth":[79.2257,64.9351,75.337],"SciFact":[63.7803,50.7463,60.0554],"NFCorpus":[33.9922,43.9759,53.2267],"ArguAna":[54.8678,30.4247,46.1366],"FiQA":[37.5543,38.2586,45.8441]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[],"l2":{}},{"id":"pplx-embed-v1-4b","hf":"perplexity/pplx-embed-v1-4b","params":4.02,"group":"api","api":true,"tie":false,"dim":2560,"lic":"commercial API","link":"https://openrouter.ai/perplexity/pplx-embed-v1-4b","s":{"Zalo Legal":[73.6314,57.868,67.8968],"TVPL":[84.2929,73.7506,82.0906],"Tables":[44.0924,34.654,40.7898],"WebFAQ":[89.4122,81.07,86.9396],"ViQuAD":[65.0505,69.2871,80.4893],"MLQA":[86.4728,78.0822,84.0682],"XQuAD":[98.0108,95.5161,97.3922],"Belebele":[96.683,93.8889,95.9133],"PubHealth":[88.1438,74.026,84.5795],"SciFact":[69.6854,58.209,66.141],"NFCorpus":[33.998,42.7711,52.6645],"ArguAna":[60.8176,35.2896,51.9775],"FiQA":[41.554,38.5224,48.624]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,70.01],[512,71.65],[1024,72.49],[2560,72.86]],"l2":{}},{"id":"pplx-embed-v2-context-0.6b","hf":"perplexity/pplx-embed-v2-context-0.6b","params":0.6,"group":"api","api":true,"tie":false,"dim":1024,"lic":"commercial API","link":"https://openrouter.ai/perplexity/pplx-embed-v2-context-0.6b","s":{"Zalo Legal":[74.7255,59.3909,69.4647],"TVPL":[85.0864,75.1928,83.0702],"Tables":[45.7355,36.2857,42.4254],"WebFAQ":[90.5998,82.67,88.2803],"ViQuAD":[66.7124,75.0,83.8037],"MLQA":[86.7175,79.2564,84.3862],"XQuAD":[98.467,96.4467,97.9727],"Belebele":[96.647,93.5556,95.8225],"PubHealth":[89.0107,79.2208,85.8658],"SciFact":[69.7973,57.4627,66.3436],"NFCorpus":[35.6654,45.7831,54.8759],"ArguAna":[55.13,30.1931,46.4348],"FiQA":[40.2427,38.7863,48.2737]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[],"l2":{}},{"id":"qwen3-0.6b","hf":"Qwen/Qwen3-Embedding-0.6B","params":0.6,"group":"qwen","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/Qwen/Qwen3-Embedding-0.6B","s":{"Zalo Legal":[67.0817,50.8883,61.1038],"TVPL":[76.4174,64.4867,73.6693],"Tables":[29.4586,21.62,26.7031],"WebFAQ":[78.7799,68.23,75.5273],"ViQuAD":[11.4699,9.082,14.3574],"MLQA":[71.9257,56.1644,67.0662],"XQuAD":[89.9796,80.6261,87.2748],"Belebele":[90.4987,83.8889,88.3826],"PubHealth":[74.5755,53.2468,69.2419],"SciFact":[68.3325,55.2239,64.0728],"NFCorpus":[32.1636,45.1807,52.0965],"ArguAna":[54.9579,30.3475,46.9969],"FiQA":[32.3337,29.8153,38.8064]},"mem":1.57,"dps":199.9,"qps":1184.8,"tps":56850,"wmem":1.11,"prec":"bf16","mrl":[[128,58.14],[256,60.24],[512,62.13],[1024,62.93]],"l2":{"Zalo Legal":[67.08,70.08],"Tables":[29.46,30.66]}},{"id":"qwen3-4b","hf":"Qwen/Qwen3-Embedding-4B","params":4.02,"group":"qwen","api":false,"tie":true,"dim":2560,"lic":"Apache-2.0","link":"https://huggingface.co/Qwen/Qwen3-Embedding-4B","s":{"Zalo Legal":[76.5083,61.0406,71.3109],"TVPL":[83.7514,73.0195,81.4902],"Tables":[30.0709,21.4663,27.0145],"WebFAQ":[83.0111,73.17,80.0456],"ViQuAD":[16.5263,15.1367,21.5648],"MLQA":[70.5491,50.8806,65.5702],"XQuAD":[92.7266,84.6024,90.5459],"Belebele":[93.3091,88.0,91.6982],"PubHealth":[81.1189,62.3377,75.7411],"SciFact":[72.8604,58.209,68.6481],"NFCorpus":[38.7933,49.3976,57.9367],"ArguAna":[57.8888,31.9691,48.6304],"FiQA":[41.7497,42.4802,50.5853]},"mem":8.78,"dps":44.1,"qps":319.4,"tps":12544,"wmem":7.49,"prec":"bf16","mrl":[[256,64.29],[512,66.69],[2560,68.34]],"l2":{"Zalo Legal":[76.51,78.43],"Tables":[30.07,31.62]}},{"id":"qwen3-8b","hf":"Qwen/Qwen3-Embedding-8B","params":7.57,"group":"qwen","api":false,"tie":false,"dim":4096,"lic":"Apache-2.0","link":"https://huggingface.co/Qwen/Qwen3-Embedding-8B","s":{"Zalo Legal":[75.1015,59.5178,69.8795],"TVPL":[84.0791,73.31,81.7612],"Tables":[37.6083,28.577,34.4027],"WebFAQ":[86.0074,76.78,83.1874],"ViQuAD":[11.8597,10.6445,15.6735],"MLQA":[67.2857,42.6614,60.345],"XQuAD":[92.169,83.2487,89.7753],"Belebele":[96.7891,93.2222,95.8367],"PubHealth":[78.373,55.8442,72.1192],"SciFact":[73.8607,60.4478,70.0847],"NFCorpus":[37.2158,42.7711,53.5456],"ArguAna":[60.4963,34.2857,51.3493],"FiQA":[45.0877,44.591,53.5011]},"mem":15.85,"dps":26.6,"qps":186.9,"tps":7553,"wmem":14.1,"prec":"bf16","mrl":[[256,68.2],[512,69.46],[1024,70.34],[4096,70.7]],"l2":{"Zalo Legal":[75.1,78.28],"Tables":[37.61,38.6]}},{"id":"skill-venus-0.6b","hf":"inclusionAI/Skill-Venus-Embedding-0.6B","params":0.6,"group":"qwen","api":false,"tie":true,"dim":1024,"lic":"Apache-2.0","link":"https://huggingface.co/inclusionAI/Skill-Venus-Embedding-0.6B","s":{"Zalo Legal":[70.525,53.934,64.6354],"TVPL":[80.005,68.693,77.5893],"Tables":[43.2816,33.8102,39.9323],"WebFAQ":[79.0381,68.57,75.7668],"ViQuAD":[47.8399,44.0918,58.1152],"MLQA":[79.6597,67.7104,75.8571],"XQuAD":[93.3975,86.6328,91.6036],"Belebele":[92.3874,87.2222,90.8717],"PubHealth":[79.6036,63.6364,74.0074],"SciFact":[66.4792,53.7313,63.2223],"NFCorpus":[30.7973,39.759,50.6349],"ArguAna":[52.6816,29.3436,44.7275],"FiQA":[29.1033,28.7599,36.1612]},"mem":1.57,"dps":200.3,"qps":1290.9,"tps":56970,"wmem":1.11,"prec":"bf16","mrl":[],"l2":{}},{"id":"text-embedding-3-large","hf":"OpenAI","params":null,"group":"api","api":true,"tie":false,"dim":3072,"lic":"commercial API","link":"https://platform.openai.com/docs/guides/embeddings","s":{"Zalo Legal":[65.3145,45.4315,58.8898],"TVPL":[79.081,66.9304,76.3305],"Tables":[37.3703,28.021,34.0504],"WebFAQ":[84.1677,74.41,81.0992],"ViQuAD":[54.6363,51.7578,64.0585],"MLQA":[78.6664,67.9061,75.3214],"XQuAD":[92.9365,86.7174,91.2047],"Belebele":[91.9277,86.0,90.2584],"PubHealth":[84.0025,68.8312,79.6279],"SciFact":[64.9355,51.4925,61.1357],"NFCorpus":[36.0285,44.5783,53.8294],"ArguAna":[51.0214,24.8649,41.6137],"FiQA":[33.8066,31.1346,40.6336]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,61.76],[512,64.4],[1024,65.5],[3072,66.48]],"l2":{}},{"id":"text-embedding-3-small","hf":"OpenAI","params":null,"group":"api","api":true,"tie":false,"dim":1536,"lic":"commercial API","link":"https://platform.openai.com/docs/guides/embeddings","s":{"Zalo Legal":[56.5098,39.2132,50.2396],"TVPL":[70.0724,57.9069,67.0941],"Tables":[33.2445,24.8861,30.2662],"WebFAQ":[73.6802,62.69,70.1822],"ViQuAD":[44.093,43.457,55.4507],"MLQA":[71.2573,59.4912,67.3015],"XQuAD":[89.3991,81.4721,87.0884],"Belebele":[83.1472,74.5556,80.442],"PubHealth":[72.2366,54.5455,66.6863],"SciFact":[55.2762,44.0299,52.4707],"NFCorpus":[27.1577,36.747,44.9319],"ArguAna":[40.3211,19.6911,32.6058],"FiQA":[20.6317,19.7889,26.1225]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,51.94],[512,56.15],[1024,57.77],[1536,58.38]],"l2":{}},{"id":"titan-embed-text-v2","hf":"amazon/titan-embed-text-v2","params":null,"group":"api","api":true,"tie":false,"dim":1024,"lic":"commercial API","link":"https://openrouter.ai/amazon/titan-embed-text-v2","s":{"Zalo Legal":[55.7307,40.8629,49.8631],"TVPL":[70.6441,58.4677,67.5493],"Tables":[27.7091,20.4632,25.0959],"WebFAQ":[74.5953,64.03,71.1959],"ViQuAD":[42.2571,44.043,55.3657],"MLQA":[68.0322,56.9472,64.5998],"XQuAD":[86.4276,77.3266,83.6961],"Belebele":[84.4978,77.8889,82.322],"PubHealth":[69.6835,51.9481,63.3601],"SciFact":[53.5845,41.791,51.1555],"NFCorpus":[26.7852,36.1446,44.3189],"ArguAna":[33.4244,15.2896,26.521],"FiQA":[22.3513,21.8997,28.4403]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[],"l2":{}},{"id":"vintern-emb-1b","hf":"5CD-AI/Vintern-Embedding-1B","params":0.938,"group":"multi","api":false,"tie":true,"dim":128,"lic":"not stated","link":"https://huggingface.co/5CD-AI/Vintern-Embedding-1B","s":{"Zalo Legal":[68.1238,53.6802,62.8677],"TVPL":[78.7078,68.5929,76.5628],"Tables":[57.8956,48.9704,54.854],"WebFAQ":[76.243,66.23,73.0284],"ViQuAD":[59.1628,81.4941,87.8449],"MLQA":[84.2073,74.9511,81.3837],"XQuAD":[97.9726,95.4315,97.3197],"Belebele":[95.906,92.3333,94.853],"PubHealth":[71.7593,51.9481,64.8877],"SciFact":[64.4838,55.9701,61.7055],"NFCorpus":[31.5192,44.5783,51.1319],"ArguAna":[40.421,19.6139,32.6532],"FiQA":[26.0023,26.3852,33.6127]},"mem":3.45,"dps":180.6,"qps":1337.3,"tps":51228,"wmem":1.75,"prec":"bf16","mrl":[],"l2":{}},{"id":"voyage-4-lite","hf":"mongodb/voyage-4-lite","params":null,"group":"api","api":true,"tie":false,"dim":1024,"lic":"commercial API","link":"https://openrouter.ai/mongodb/voyage-4-lite","s":{"Zalo Legal":[68.1695,52.5381,63.1575],"TVPL":[82.0886,71.6575,79.8999],"Tables":[43.7021,33.5503,40.1396],"WebFAQ":[82.3017,72.4,79.2159],"ViQuAD":[63.5086,65.918,76.6109],"MLQA":[82.9888,73.7769,80.1333],"XQuAD":[96.6101,92.7242,95.587],"Belebele":[94.8704,90.7778,93.6938],"PubHealth":[84.6547,70.1299,80.4597],"SciFact":[70.4893,58.209,67.3496],"NFCorpus":[34.5593,43.9759,53.0852],"ArguAna":[56.8341,31.8919,48.0594],"FiQA":[41.5042,40.8971,49.2722]},"mem":null,"dps":null,"qps":null,"tps":null,"wmem":null,"prec":null,"mrl":[[256,65.04],[512,68.08],[1024,69.07]],"l2":{}}],"repo":"https://huggingface.co/quocbao747/embedding-model-benchmark","gh":"https://github.com/baonq-me/embedding-model-benchmark","todo":["<b>2,048-token window:</b> 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.","<b>Matryoshka truncation:</b> measured for 13 models only. Every other model is scored at its full embedding size.","<b>Exact fp32 re-ranking:</b> 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.","<b>NVFP4 speed and memory:</b> the NVFP4 checkpoints are only emulated, so their throughput and peak memory are not reported; accuracy only.","<b>API models:</b> no throughput or latency figures (network-bound, not comparable).","<b>Hybrid / sparse retrieval:</b> 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.","<b>English BEIR and TREC-COVID-VN:</b> scored for 3 models only (Qwen3-Embedding-4B, BGE-M3, EmbeddingGemma 2).","<b>Rerankers:</b> no reranker stage has been benchmarked; every score is first-stage retrieval."]};
const NS = "http://www.w3.org/2000/svg";
const COL = {qwen: "var(--qwen)", multi: "var(--multi)", api: "var(--api)"};
const GLAB = {qwen: "Qwen3 family & fine-tunes", multi: "Other multilingual models", api: "Commercial API"};
const MEMSTEPS = [0.5, 1, 2, 4, 8, 12, 16, Infinity];
const MNAME = ["nDCG@10", "P@1", "MRR@10"];
const ALLDS = D.datasets.map(d => d.short);
const NATIVE9 = D.datasets.filter(d => d.kind === "native").map(d => d.short);
const PRESETS = [["Native-4 (default)", D.core4], ["All 9 native", NATIVE9], ["Translated-4", D.trans], ["All 13", ALLDS], ["Legal", ["Zalo Legal", "TVPL"]], ["Wikipedia QA", ["ViQuAD", "MLQA", "XQuAD"]]];
const st = {ds: new Set(D.core4), metric: 0, kind: "all", mem: 7, q: "", cmp: [], slot: {}, sortCol: null, fullSort: "score"};
const byId = Object.fromEntries(D.models.map(m => [m.id, m]));
const $ = id => document.getElementById(id);
const fmt = v => v == null ? "—" : v.toFixed(1);
const el = (tag, attrs = {}, parent) => { const e = document.createElementNS(NS, tag); for (const k in attrs) e.setAttribute(k, attrs[k]); if (parent) parent.appendChild(e); return e; };
const txt = (s, attrs, parent) => { const t = el("text", attrs, parent); t.textContent = s; return t; };
/* ---------- tooltip ---------- */
const tip = $("tip");
function showTip(ev, html) { tip.innerHTML = html; tip.style.opacity = 1; moveTip(ev); }
function moveTip(ev) { const w = tip.offsetWidth, h = tip.offsetHeight; let x = ev.clientX + 14, y = ev.clientY + 14; if (x + w > innerWidth - 8) x = ev.clientX - w - 14; if (y + h > innerHeight - 8) y = ev.clientY - h - 14; tip.style.left = x + "px"; tip.style.top = y + "px"; }
function hideTip() { tip.style.opacity = 0; }
function hover(node, fn) { node.addEventListener("mouseenter", e => showTip(e, fn())); node.addEventListener("mousemove", moveTip); node.addEventListener("mouseleave", hideTip); }
function modelTip(m) {
const r = score(m);
return `<b>${m.id}</b>${m.api ? " (API)" : ""}<br>${MNAME[st.metric]} over ${st.ds.size} dataset${st.ds.size > 1 ? "s" : ""}: <b>${fmt(r)}</b>${m.tie ? " †" : ""}` +
`<br>Zalo Legal ${fmt(m.s["Zalo Legal"][0])} · Translated-4 ${fmt(avgOf(m, D.trans, 0))}` +
(m.params ? `<br>${m.params} B params · ${m.dim}-d` : m.dim ? `<br>${m.dim}-d` : "") +
(m.dps ? `<br>${Math.round(m.dps)} docs/s · peak memory ${m.mem.toFixed(1)} GiB (${m.prec})` : "");
}
/* ---------- scoring / filtering ---------- */
function avgOf(m, list, k) { const v = list.map(d => m.s[d] && m.s[d][k]); return v.some(x => x == null) ? null : v.reduce((a, b) => a + b, 0) / v.length; }
function score(m) { return avgOf(m, [...st.ds], st.metric); }
function visible() {
const lim = MEMSTEPS[st.mem], q = st.q.toLowerCase();
return D.models.filter(m => (st.kind === "all" || (st.kind === "api") === m.api) && (lim === Infinity || (!m.api && m.mem != null && m.mem <= lim)) && (!q || m.id.toLowerCase().includes(q)) && score(m) != null)
.sort((a, b) => score(b) - score(a));
}
const CMPPAL = ["#6250d6", "#c2417f", "#b08800", "#008fa8", "#a0521a"]; /* validated; distinct from the family colours */
function toggleCmp(id) { const i = st.cmp.indexOf(id); if (i >= 0) { st.cmp.splice(i, 1); delete st.slot[id]; } else { if (st.cmp.length >= 5) { delete st.slot[st.cmp.shift()]; } const used = new Set(Object.values(st.slot)); st.slot[id] = [0, 1, 2, 3, 4].find(k => !used.has(k)); st.cmp.push(id); } render(); }
/* ---------- controls ---------- */
function controls() {
const pr = $("presets"); pr.innerHTML = "";
PRESETS.forEach(([name, list]) => { const c = document.createElement("span"); c.className = "chip preset" + (list.length === st.ds.size && list.every(d => st.ds.has(d)) ? " on" : ""); c.textContent = name; c.onclick = () => { st.ds = new Set(list); render(); }; pr.appendChild(c); pr.append(" "); });
const dc = $("dschips"); dc.innerHTML = "";
D.datasets.forEach(d => { const c = document.createElement("span"); c.className = "chip" + (st.ds.has(d.short) ? " on" : ""); c.textContent = d.short; if (d.kind === "translated" && !dc.querySelector(".tr")) { const s = document.createElement("span"); s.className = "lbl tr"; s.style.minWidth = "0"; s.textContent = "· translated:"; dc.appendChild(s); dc.append(" "); } c.title = `${d.name}: ${d.domain} · ${d.docs} docs · ${d.queries} queries`;
c.onclick = () => { if (st.ds.has(d.short)) { if (st.ds.size > 1) st.ds.delete(d.short); } else st.ds.add(d.short); render(); }; dc.appendChild(c); dc.append(" "); });
$("memv").textContent = MEMSTEPS[st.mem] === Infinity ? "any" : MEMSTEPS[st.mem] + " GiB";
}
$("metric").onchange = e => { st.metric = +e.target.value; render(); };
$("kind").onchange = e => { st.kind = e.target.value; render(); };
$("mem").oninput = e => { st.mem = +e.target.value; render(); };
$("q").oninput = e => { st.q = e.target.value; render(); };
/* ---------- leaderboard ---------- */
function leaderboard(ms) {
const box = $("lb"); box.innerHTML = "";
$("lbnote").textContent = `· ${MNAME[st.metric]}, mean of ${[...st.ds].join(", ")} · ${ms.length} models`;
if (!ms.length) { box.innerHTML = `<p class="note">No models match. ${st.kind === "api" && MEMSTEPS[st.mem] !== Infinity ? "API models have no memory figure: set Peak memory to “any” to see them." : "Loosen the filters."}</p>`; return; }
const W = 1100, rh = 20, L = 250, R = 70, H = ms.length * rh + 30;
const vals = ms.map(score), lo = Math.max(0, Math.floor((Math.min(...vals) - 5) / 5) * 5), hi = Math.ceil((Math.max(...vals) + 1) / 5) * 5;
const x = v => L + (v - lo) / (hi - lo) * (W - L - R);
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%", role: "img", "aria-label": "leaderboard"}, box);
for (let t = lo; t <= hi; t += 5) { el("line", {x1: x(t), x2: x(t), y1: 18, y2: H - 4, stroke: "var(--grid)"}, svg); txt(t, {x: x(t), y: 12, "font-size": 11, fill: "var(--muted)", "text-anchor": "middle"}, svg); }
ms.forEach((m, i) => {
const y = 22 + i * rh, v = score(m), sel = st.cmp.includes(m.id);
const g = el("g", {style: "cursor:pointer"}, svg);
el("rect", {x: 0, y: y - 2, width: W, height: rh, fill: sel ? "var(--hl)" : "transparent"}, g);
txt(`${i + 1}. ${m.id}`, {x: L - 8, y: y + 12, "font-size": 12, "text-anchor": "end", fill: "var(--ink)", "font-weight": sel ? 700 : 400}, g);
el("path", {d: `M${L},${y + 1}h${x(v) - L - 4}a4,4 0 0 1 4,4v6a4,4 0 0 1 -4,4h${-(x(v) - L - 4)}z`, fill: COL[m.group]}, g);
txt(fmt(v) + (m.tie && st.metric === 0 ? " †" : ""), {x: x(v) + 5, y: y + 12, "font-size": 11.5, fill: "var(--ink2)"}, g);
hover(g, () => modelTip(m) + "<br><i>click to compare</i>"); g.onclick = () => toggleCmp(m.id);
});
}
/* ---------- compare ---------- */
function compare() {
const pills = $("cmpPills"); pills.innerHTML = "";
if (!st.cmp.length) { pills.innerHTML = '<span class="note">Click bars in the leaderboard (or rows in the full table) to compare up to 5 models.</span>'; $("cmp").innerHTML = ""; return; }
st.cmp.forEach(id => { const p = document.createElement("span"); p.className = "pill"; p.innerHTML = `${id} <button title="remove">×</button>`; p.querySelector("button").onclick = () => toggleCmp(id); pills.appendChild(p); });
const ms = st.cmp.map(id => byId[id]), ds = ALLDS, W = 1100, H = 300, L = 40, B = 40, T = 14;
const box = $("cmp"); box.innerHTML = "";
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%"}, box);
const y = v => T + (1 - v / 100) * (H - T - B), gw = (W - L) / ds.length, bw = Math.min(16, (gw - 10) / ms.length);
const shades = ms.map(m => CMPPAL[st.slot[m.id]]);
for (let t = 0; t <= 100; t += 20) { el("line", {x1: L, x2: W, y1: y(t), y2: y(t), stroke: "var(--grid)"}, svg); txt(t, {x: L - 6, y: y(t) + 4, "font-size": 11, fill: "var(--muted)", "text-anchor": "end"}, svg); }
ds.forEach((d, j) => {
const x0 = L + j * gw + (gw - bw * ms.length) / 2;
txt(d, {x: L + j * gw + gw / 2, y: H - B + 16, "font-size": 11.5, fill: st.ds.has(d) ? "var(--ink)" : "var(--muted)", "text-anchor": "middle", "font-weight": st.ds.has(d) ? 600 : 400}, svg);
ms.forEach((m, i) => { const v = m.s[d][st.metric]; if (v == null) return;
const r = el("rect", {x: x0 + i * bw + 1, y: y(v), width: bw - 2, height: y(0) - y(v), rx: 2, fill: shades[i]}, svg);
hover(r, () => `<b>${m.id}</b><br>${d}: ${MNAME[st.metric]} <b>${fmt(v)}</b>`); });
});
const lg = document.createElement("div"); lg.className = "legend"; lg.style.margin = "4px 0 8px";
lg.innerHTML = ms.map((m, i) => `<span><i style="background:${shades[i]}"></i>${m.id}</span>`).join("");
box.prepend(lg);
const t = document.createElement("table");
t.innerHTML = `<tr><th class="l">${MNAME[st.metric]}</th>${ms.map(m => `<th>${m.id}</th>`).join("")}</tr>` +
`<tr><td class="l"><b>Selected datasets</b></td>${ms.map(m => `<td><b>${fmt(score(m))}</b></td>`).join("")}</tr>` +
ds.map(d => { const vs = ms.map(m => m.s[d][st.metric]), mx = Math.max(...vs.filter(v => v != null)); return `<tr><td class="l">${d}</td>${vs.map(v => `<td${v === mx && ms.length > 1 ? ' style="font-weight:700"' : ""}>${fmt(v)}</td>`).join("")}</tr>`; }).join("") +
`<tr><td class="l">Params (B)</td>${ms.map(m => `<td>${m.params ?? "—"}</td>`).join("")}</tr>`;
box.appendChild(t);
perf(box, ms, shades);
}
/* throughput + memory for the compared models (open models only: API models have no speed or memory figure) */
function perf(box, ms, shades) {
const na = m => m.api ? "API" : "—";
const t = document.createElement("table"); t.style.marginTop = "14px";
const row = (lab, f) => `<tr><td class="l">${lab}</td>${ms.map(m => `<td>${f(m)}</td>`).join("")}</tr>`;
const best = (f, low) => { const v = ms.map(f).filter(x => x != null); return v.length > 1 ? (low ? Math.min(...v) : Math.max(...v)) : null; };
const cell = (f, d, low) => { const b = best(f, low); return m => { const v = f(m); return v == null ? na(m) : `<span${v === b ? ' style="font-weight:700"' : ""}>${v.toLocaleString(undefined, {maximumFractionDigits: d, minimumFractionDigits: d})}</span>`; }; };
t.innerHTML = `<tr><th class="l">Speed and memory (batch 32, 512-token window)</th>${ms.map(m => `<th>${m.id}</th>`).join("")}</tr>` +
row("Throughput: documents / s", cell(m => m.dps, 0)) + row("Throughput: queries / s", cell(m => m.qps, 0)) + row("Throughput: document tokens / s", cell(m => m.tps, 0)) +
row("Memory min (weights loaded), GiB", cell(m => m.wmem, 2, true)) + row("Memory avg while encoding, GiB", m => m.api ? "API" : '<span class="note">not measured</span>') + row("Memory peak while encoding, GiB", cell(m => m.mem, 2, true)) +
row("Precision", m => m.prec ?? na(m));
box.appendChild(t);
const ps = ms.map((m, i) => [m, shades[i]]).filter(([m]) => m.dps != null);
if (!ps.length) { const p = document.createElement("p"); p.className = "note"; p.textContent = "None of the compared models has a speed or memory figure (API models, emulated NVFP4)."; box.appendChild(p); return; }
const W = 1100, rh = 26, L = 200, H = ps.length * rh + 40, half = (W - 40) / 2;
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%", style: "margin-top:10px"}, box);
const maxD = Math.max(...ps.map(([m]) => m.dps)), maxM = Math.max(...ps.map(([m]) => m.mem));
txt("documents / s", {x: 0, y: 14, "font-size": 12, "font-weight": 600, fill: "var(--ink2)"}, svg);
txt("memory, GiB: weights (min) → peak", {x: half + 40, y: 14, "font-size": 12, "font-weight": 600, fill: "var(--ink2)"}, svg);
const xs = v => L + v / maxD * (half - L - 60), xm = v => half + 40 + 120 + v / maxM * (half - 120 - 130);
ps.forEach(([m, c], i) => { const y = 30 + i * rh;
txt(m.id, {x: L - 8, y: y + 12, "font-size": 11.5, "text-anchor": "end", fill: "var(--ink)"}, svg);
const b = el("rect", {x: L, y: y + 2, width: Math.max(2, xs(m.dps) - L), height: 14, rx: 3, fill: c}, svg);
txt(Math.round(m.dps).toLocaleString(), {x: xs(m.dps) + 6, y: y + 13, "font-size": 11, fill: "var(--ink2)"}, svg);
hover(b, () => `<b>${m.id}</b><br>${Math.round(m.dps)} docs/s · ${Math.round(m.qps)} queries/s · ${m.tps ? Math.round(m.tps).toLocaleString() : "—"} doc tokens/s`);
txt(m.id, {x: half + 40 + 112, y: y + 12, "font-size": 11.5, "text-anchor": "end", fill: "var(--ink)"}, svg);
el("line", {x1: xm(0), x2: xm(maxM), y1: y + 9, y2: y + 9, stroke: "var(--grid)"}, svg);
const r = el("rect", {x: xm(m.wmem), y: y + 2, width: Math.max(3, xm(m.mem) - xm(m.wmem)), height: 14, rx: 3, fill: c, "fill-opacity": .35, stroke: c}, svg);
el("circle", {cx: xm(m.wmem), cy: y + 9, r: 4.5, fill: "#fff", stroke: c, "stroke-width": 2}, svg); el("circle", {cx: xm(m.mem), cy: y + 9, r: 4.5, fill: c}, svg);
txt(`${m.wmem.toFixed(2)} → ${m.mem.toFixed(2)}`, {x: xm(m.mem) + 8, y: y + 13, "font-size": 11, fill: "var(--ink2)"}, svg);
hover(r, () => `<b>${m.id}</b><br>min (weights): ${m.wmem.toFixed(2)} GiB<br>peak: ${m.mem.toFixed(2)} GiB<br>avg: not measured`); });
const n = document.createElement("p"); n.className = "note";
n.textContent = "Same workload for every open model: 2,048 Zalo Legal documents + 818 queries, batch 32, 512-token window. Memory min = weights after loading; peak = peak allocation while encoding. The average over the run was not recorded. API models and the emulated NVFP4 checkpoints have no speed or memory figure.";
box.appendChild(n);
}
/* ---------- heatmap ---------- */
function heat(ms) {
const k = st.metric, rows = [...ms];
if (st.sortCol) rows.sort((a, b) => (b.s[st.sortCol][k] ?? -1) - (a.s[st.sortCol][k] ?? -1));
const best = Object.fromEntries(ALLDS.map(d => [d, Math.max(...rows.map(m => m.s[d][k] ?? -1))]));
const color = v => { const t = Math.max(0, Math.min(1, (v - 10) / 90)), l = 96 - t * 58; return [`hsl(213,68%,${l}%)`, l < 62 ? "#fff" : "var(--ink)"]; };
let h = `<table class="heat"><tr><th class="l">Model</th><th class="${st.sortCol ? "" : "sorted"}" data-c="">Selected</th>${ALLDS.map(d => `<th data-c="${d}" class="${st.sortCol === d ? "sorted" : ""}">${d}</th>`).join("")}</tr>`;
rows.forEach(m => { h += `<tr class="${st.cmp.includes(m.id) ? "selrow" : ""}"><td class="l">${m.id}${m.api ? '<span class="api-tag">API</span>' : ""}</td><td><b>${fmt(score(m))}</b></td>` +
ALLDS.map(d => { const v = m.s[d][k]; if (v == null) return "<td>–</td>"; const [bg, fg] = color(v); return `<td class="${v === best[d] ? "best" : ""}" style="background:${bg};color:${fg}">${v.toFixed(1)}</td>`; }).join("") + "</tr>"; });
$("heat").innerHTML = h + "</table>";
$("heat").querySelectorAll("th[data-c]").forEach(th => th.onclick = () => { st.sortCol = th.dataset.c || null; render(); });
}
/* ---------- scatter (speed / size) ---------- */
function scatter(boxId, ms, xf, xlab, ticks) {
const box = $(boxId); box.innerHTML = "";
const pts = ms.filter(m => xf(m)), W = 560, H = 380, L = 44, R = 16, T = 12, B = 40;
if (!pts.length) { box.innerHTML = '<p class="note">No models match the filters.</p>'; return; }
const xs = pts.map(xf), ys = pts.map(score), x0 = Math.log10(Math.min(...xs) * 0.8), x1 = Math.log10(Math.max(...xs) * 1.25);
const y0 = Math.floor((Math.min(...ys) - 2) / 5) * 5, y1 = Math.ceil((Math.max(...ys) + 2) / 5) * 5;
const X = v => L + (Math.log10(v) - x0) / (x1 - x0) * (W - L - R), Y = v => T + (1 - (v - y0) / (y1 - y0)) * (H - T - B);
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%"}, box);
for (let t = y0; t <= y1; t += 5) { el("line", {x1: L, x2: W - R, y1: Y(t), y2: Y(t), stroke: "var(--grid)"}, svg); txt(t, {x: L - 6, y: Y(t) + 4, "font-size": 11, fill: "var(--muted)", "text-anchor": "end"}, svg); }
ticks.filter(t => Math.log10(t) >= x0 && Math.log10(t) <= x1).forEach(t => { el("line", {x1: X(t), x2: X(t), y1: T, y2: H - B, stroke: "var(--grid)"}, svg); txt(t, {x: X(t), y: H - B + 15, "font-size": 11, fill: "var(--muted)", "text-anchor": "middle"}, svg); });
txt(xlab, {x: (L + W - R) / 2, y: H - 6, "font-size": 12, fill: "var(--ink2)", "text-anchor": "middle"}, svg);
/* pareto frontier: nothing both faster/smaller-or-equal and better */
const front = new Set(); [...pts].sort((a, b) => score(b) - score(a)).reduce((best, m) => { const sx = boxId === "size" ? -xf(m) : xf(m); if (sx > best) { front.add(m.id); return sx; } return best; }, -Infinity);
const placed = [];
const order = [...pts].sort((a, b) => (st.cmp.includes(b.id) - st.cmp.includes(a.id)) || (front.has(b.id) - front.has(a.id)) || score(b) - score(a));
order.forEach(m => { const cx = X(xf(m)), cy = Y(score(m)), sel = st.cmp.includes(m.id);
const c = el("circle", {cx, cy, r: sel ? 7 : 5.5, fill: COL[m.group], stroke: sel ? "var(--ink)" : "#fff", "stroke-width": sel ? 2 : 1.5, style: "cursor:pointer"}, svg);
hover(c, () => modelTip(m) + "<br><i>click to compare</i>"); c.onclick = () => toggleCmp(m.id);
const w = m.id.length * 6.3, cands = [[8, 4, "start"], [-8, 4, "end"], [0, -10, "middle"], [0, 17, "middle"]];
for (const [dx, dy, an] of cands) { const lx = an === "start" ? cx + dx : an === "end" ? cx + dx - w : cx - w / 2, ly = cy + dy - 10;
const box_ = [lx, ly, lx + w, ly + 13]; if (lx < L || lx + w > W - R || ly < T) continue;
if (placed.some(p => !(box_[2] < p[0] || box_[0] > p[2] || box_[3] < p[1] || box_[1] > p[3])) || pts.some(o => o !== m && Math.abs(X(xf(o)) - (box_[0] + box_[2]) / 2) < w / 2 + 4 && Math.abs(Y(score(o)) - (ly + 6)) < 9)) continue;
placed.push(box_); txt(m.id, {x: cx + dx, y: cy + dy, "font-size": 11, fill: "var(--ink2)", "text-anchor": an, "font-weight": sel ? 700 : 400, "pointer-events": "none"}, svg); break; }
});
}
/* ---------- matryoshka ---------- */
function mrl() {
const box = $("mrl"); box.innerHTML = "";
const ms = D.models.filter(m => m.mrl.length > 1), W = 560, H = 380, L = 44, R = 150, T = 12, B = 40;
const all = ms.flatMap(m => m.mrl), x0 = Math.log2(100), x1 = Math.log2(4600);
const y0 = Math.floor(Math.min(...all.map(p => p[1])) / 5) * 5, y1 = Math.ceil(Math.max(...all.map(p => p[1])) / 5) * 5;
const X = v => L + (Math.log2(v) - x0) / (x1 - x0) * (W - L - R), Y = v => T + (1 - (v - y0) / (y1 - y0)) * (H - T - B);
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%"}, box);
for (let t = y0; t <= y1; t += 5) { el("line", {x1: L, x2: W - R, y1: Y(t), y2: Y(t), stroke: "var(--grid)"}, svg); txt(t, {x: L - 6, y: Y(t) + 4, "font-size": 11, fill: "var(--muted)", "text-anchor": "end"}, svg); }
[128, 256, 512, 1024, 2048, 4096].forEach(t => txt(t, {x: X(t), y: H - B + 15, "font-size": 11, fill: "var(--muted)", "text-anchor": "middle"}, svg));
txt("embedding dimensions kept", {x: (L + W - R) / 2, y: H - 6, "font-size": 12, fill: "var(--ink2)", "text-anchor": "middle"}, svg);
const ends = [];
ms.forEach(m => { const d = m.mrl.map((p, i) => `${i ? "L" : "M"}${X(p[0])},${Y(p[1])}`).join("");
const g = el("g", {style: "cursor:pointer"}, svg);
el("path", {d, fill: "none", stroke: COL[m.group], "stroke-width": st.cmp.includes(m.id) ? 3.5 : 2}, g);
el("path", {d, fill: "none", stroke: "transparent", "stroke-width": 12}, g);
m.mrl.forEach(p => el("circle", {cx: X(p[0]), cy: Y(p[1]), r: 3.5, fill: COL[m.group], stroke: "#fff"}, g));
hover(g, () => `<b>${m.id}</b><br>` + m.mrl.map(p => `${p[0]}-d: ${p[1].toFixed(1)}`).join("<br>")); g.onclick = () => toggleCmp(m.id);
const e = m.mrl[m.mrl.length - 1]; ends.push([Y(e[1]), X(e[0]), m.id]); });
ends.sort((a, b) => a[0] - b[0]); let last = -1e9;
ends.forEach(([y, x, id]) => { const yy = Math.max(y, last + 13); last = yy; txt(id, {x: W - R + 6, y: yy + 4, "font-size": 11, fill: "var(--ink2)"}, svg); el("line", {x1: x + 4, x2: W - R + 3, y1: y, y2: yy, stroke: "var(--grid)"}, svg); });
}
/* ---------- long context ---------- */
let l2task = "Zalo Legal";
function longctx() {
const tabs = $("l2tabs"); tabs.innerHTML = "";
["Zalo Legal", "Tables"].forEach(t => { const c = document.createElement("span"); c.className = "chip" + (t === l2task ? " on" : ""); c.textContent = t; c.onclick = () => { l2task = t; longctx(); }; tabs.appendChild(c); });
const ms = D.models.filter(m => m.l2[l2task]).sort((a, b) => b.l2[l2task][1] - a.l2[l2task][1]);
const W = 560, rh = 24, L = 160, R = 50, H = ms.length * rh + 30, box = $("l2"); box.innerHTML = "";
const all = ms.flatMap(m => m.l2[l2task]), lo = Math.floor((Math.min(...all) - 2) / 5) * 5, hi = Math.ceil((Math.max(...all) + 1) / 5) * 5;
const X = v => L + (v - lo) / (hi - lo) * (W - L - R);
const svg = el("svg", {viewBox: `0 0 ${W} ${H}`, width: "100%"}, box);
for (let t = lo; t <= hi; t += 5) { el("line", {x1: X(t), x2: X(t), y1: 14, y2: H - 4, stroke: "var(--grid)"}, svg); txt(t, {x: X(t), y: 10, "font-size": 11, fill: "var(--muted)", "text-anchor": "middle"}, svg); }
ms.forEach((m, i) => { const [a, b] = m.l2[l2task], y = 26 + i * rh, g = el("g", {}, svg);
txt(m.id, {x: L - 8, y: y + 4, "font-size": 11.5, fill: "var(--ink)", "text-anchor": "end"}, g);
el("line", {x1: X(a), x2: X(b), y1: y, y2: y, stroke: "var(--axis)", "stroke-width": 3}, g);
el("circle", {cx: X(a), cy: y, r: 5, fill: "#9cc3ef", stroke: "#fff"}, g); el("circle", {cx: X(b), cy: y, r: 5, fill: "var(--qwen)", stroke: "#fff"}, g);
const d = b - a; txt((d >= 0 ? "+" : "") + d.toFixed(1), {x: X(Math.max(a, b)) + 9, y: y + 4, "font-size": 11, fill: "var(--ink2)"}, g);
hover(g, () => `<b>${m.id}</b> · ${l2task}<br>512 tokens: ${fmt(a)}<br>2,048 tokens: ${fmt(b)}<br>change: ${(d >= 0 ? "+" : "") + d.toFixed(1)}`); });
const lg = document.createElement("div"); lg.className = "legend"; lg.innerHTML = '<span><i style="background:#9cc3ef;border-radius:50%"></i>512 tokens</span><span><i style="background:var(--qwen);border-radius:50%"></i>2,048 tokens</span>'; box.appendChild(lg);
}
/* ---------- speed & memory (all filtered open models) ---------- */
let smKey = "dps";
const SMK = {dps: ["documents / s", m => m.dps], qps: ["queries / s", m => m.qps], tps: ["document tokens / s", m => m.tps]};
function speedmem(ms) {
const tabs = $("smtabs"); tabs.innerHTML = "";
Object.entries(SMK).forEach(([k, [lab]]) => { const c = document.createElement("span"); c.className = "chip" + (k === smKey ? " on" : ""); c.textContent = lab; c.onclick = () => { smKey = k; render(); }; tabs.appendChild(c); tabs.append(" "); });
const [lab, f] = SMK[smKey], pts = ms.filter(m => f(m) != null && m.mem != null);
$("smnote").textContent = `· ${pts.length} open models`; $("thrTitle").textContent = `Throughput: ${lab} (higher is better)`;
for (const id of ["thr", "memr", "spmem"]) $(id).innerHTML = "";
if (!pts.length) { $("thr").innerHTML = '<p class="note">No open model matches the filters.</p>'; return; }
const rh = 17, W = 540, L = 170, R = 62;
/* throughput bars, fastest first */
const tp = [...pts].sort((a, b) => f(b) - f(a)), mx = Math.max(...tp.map(f)), H1 = tp.length * rh + 6;
const s1 = el("svg", {viewBox: `0 0 ${W} ${H1}`, width: "100%"}, $("thr"));
tp.forEach((m, i) => { const y = 3 + i * rh, sel = st.cmp.includes(m.id), w = Math.max(2, f(m) / mx * (W - L - R)), g = el("g", {style: "cursor:pointer"}, s1);
if (sel) el("rect", {x: 0, y: y - 1, width: W, height: rh, fill: "var(--hl)"}, g);
txt(m.id, {x: L - 6, y: y + 11, "font-size": 10.5, "text-anchor": "end", fill: "var(--ink)", "font-weight": sel ? 700 : 400}, g);
el("rect", {x: L, y: y + 2, width: w, height: rh - 6, rx: 2, fill: COL[m.group]}, g);
txt(Math.round(f(m)).toLocaleString(), {x: L + w + 4, y: y + 11, "font-size": 10, fill: "var(--ink2)"}, g);
hover(g, () => `<b>${m.id}</b><br>${Math.round(m.dps)} docs/s · ${Math.round(m.qps)} queries/s · ${m.tps ? Math.round(m.tps).toLocaleString() : "—"} doc tokens/s<br>score ${fmt(score(m))} · peak ${m.mem.toFixed(2)} GiB<br><i>click to compare</i>`); g.onclick = () => toggleCmp(m.id); });
/* memory ranges, lightest peak first */
const mp = [...pts].sort((a, b) => a.mem - b.mem), mm = Math.max(...mp.map(m => m.mem)), H2 = mp.length * rh + 22;
const s2 = el("svg", {viewBox: `0 0 ${W} ${H2}`, width: "100%"}, $("memr")), X = v => L + v / mm * (W - L - R);
for (let t = 0; t <= mm; t += mm > 12 ? 4 : 2) { el("line", {x1: X(t), x2: X(t), y1: 0, y2: H2 - 16, stroke: "var(--grid)"}, s2); txt(t, {x: X(t), y: H2 - 4, "font-size": 10, fill: "var(--muted)", "text-anchor": "middle"}, s2); }
mp.forEach((m, i) => { const y = 3 + i * rh, sel = st.cmp.includes(m.id), c = COL[m.group], g = el("g", {style: "cursor:pointer"}, s2);
if (sel) el("rect", {x: 0, y: y - 1, width: W, height: rh, fill: "var(--hl)"}, g);
txt(m.id, {x: L - 6, y: y + 11, "font-size": 10.5, "text-anchor": "end", fill: "var(--ink)", "font-weight": sel ? 700 : 400}, g);
const lo = m.wmem ?? m.mem;
el("line", {x1: X(lo), x2: X(m.mem), y1: y + 7, y2: y + 7, stroke: c, "stroke-width": 3, "stroke-opacity": .5}, g);
el("circle", {cx: X(lo), cy: y + 7, r: 3.6, fill: "#fff", stroke: c, "stroke-width": 1.6}, g); el("circle", {cx: X(m.mem), cy: y + 7, r: 3.8, fill: c}, g);
txt(m.mem.toFixed(1), {x: X(m.mem) + 7, y: y + 11, "font-size": 10, fill: "var(--ink2)"}, g);
hover(g, () => `<b>${m.id}</b> (${m.prec})<br>min (weights): ${lo.toFixed(2)} GiB<br>peak: ${m.mem.toFixed(2)} GiB<br>activations at peak: ${(m.mem - lo).toFixed(2)} GiB<br>avg: not measured<br><i>click to compare</i>`); g.onclick = () => toggleCmp(m.id); });
/* throughput vs peak memory */
const W3 = 1100, H3 = 360, L3 = 56, R3 = 20, T3 = 10, B3 = 38;
const xs = pts.map(m => m.mem), ys = pts.map(f), x0 = Math.log10(Math.min(...xs) * .8), x1 = Math.log10(Math.max(...xs) * 1.2), y0 = Math.log10(Math.min(...ys) * .8), y1 = Math.log10(Math.max(...ys) * 1.25);
const PX = v => L3 + (Math.log10(v) - x0) / (x1 - x0) * (W3 - L3 - R3), PY = v => T3 + (1 - (Math.log10(v) - y0) / (y1 - y0)) * (H3 - T3 - B3);
const s3 = el("svg", {viewBox: `0 0 ${W3} ${H3}`, width: "100%"}, $("spmem"));
[0.25, 0.5, 1, 2, 4, 8, 16, 32].filter(t => Math.log10(t) >= x0 && Math.log10(t) <= x1).forEach(t => { el("line", {x1: PX(t), x2: PX(t), y1: T3, y2: H3 - B3, stroke: "var(--grid)"}, s3); txt(t, {x: PX(t), y: H3 - B3 + 15, "font-size": 11, fill: "var(--muted)", "text-anchor": "middle"}, s3); });
[10, 20, 50, 100, 200, 500, 1000, 2000, 5000, 1e4, 2e4, 5e4, 1e5, 2e5, 5e5].filter(t => Math.log10(t) >= y0 && Math.log10(t) <= y1).forEach(t => { el("line", {x1: L3, x2: W3 - R3, y1: PY(t), y2: PY(t), stroke: "var(--grid)"}, s3); txt(t >= 1000 ? t / 1000 + "k" : t, {x: L3 - 6, y: PY(t) + 4, "font-size": 11, fill: "var(--muted)", "text-anchor": "end"}, s3); });
txt("peak memory, GiB (log scale)", {x: (L3 + W3) / 2, y: H3 - 4, "font-size": 12, fill: "var(--ink2)", "text-anchor": "middle"}, s3);
txt(lab, {x: 12, y: (T3 + H3 - B3) / 2, "font-size": 12, fill: "var(--ink2)", "text-anchor": "middle", transform: `rotate(-90 12 ${(T3 + H3 - B3) / 2})`}, s3);
const placed = [], ord = [...pts].sort((a, b) => (st.cmp.includes(b.id) - st.cmp.includes(a.id)) || (f(b) / b.mem - f(a) / a.mem));
ord.forEach(m => { const cx = PX(m.mem), cy = PY(f(m)), sel = st.cmp.includes(m.id);
const c = el("circle", {cx, cy, r: sel ? 7 : 5.5, fill: COL[m.group], stroke: sel ? "var(--ink)" : "#fff", "stroke-width": sel ? 2 : 1.5, style: "cursor:pointer"}, s3);
hover(c, () => `<b>${m.id}</b><br>${Math.round(f(m)).toLocaleString()} ${lab} · peak ${m.mem.toFixed(2)} GiB<br>score ${fmt(score(m))}<br><i>click to compare</i>`); c.onclick = () => toggleCmp(m.id);
const w = m.id.length * 6.3;
for (const [dx, dy, an] of [[8, 4, "start"], [-8, 4, "end"], [0, -10, "middle"], [0, 17, "middle"]]) { const lx = an === "start" ? cx + dx : an === "end" ? cx + dx - w : cx - w / 2, ly = cy + dy - 10, bx = [lx, ly, lx + w, ly + 13];
if (lx < L3 || lx + w > W3 - R3 || ly < T3 || ly + 13 > H3 - B3) continue;
if (placed.some(p => !(bx[2] < p[0] || bx[0] > p[2] || bx[3] < p[1] || bx[1] > p[3])) || pts.some(o => o !== m && Math.abs(PX(o.mem) - (bx[0] + bx[2]) / 2) < w / 2 + 4 && Math.abs(PY(f(o)) - (ly + 6)) < 9)) continue;
placed.push(bx); txt(m.id, {x: cx + dx, y: cy + dy, "font-size": 11, fill: "var(--ink2)", "text-anchor": an, "font-weight": sel ? 700 : 400, "pointer-events": "none"}, s3); break; } });
}
/* ---------- full table ---------- */
function full(ms) {
const cols = [["#", null], ["Model", "id"], ["Score", "score"], ["Native-4", "n4"], ["P@1 (native-4)", "p1"], ["Zalo Legal", "zalo"], ["Translated-4", "tr"], ["Params (B)", "params"], ["Dim", "dim"], ["Docs/s", "dps"], ["Peak mem (GiB)", "mem"]];
const val = (m, k) => ({score: score(m), n4: avgOf(m, D.core4, 0), p1: avgOf(m, D.core4, 1), zalo: m.s["Zalo Legal"][0], tr: avgOf(m, D.trans, 0), id: m.id})[k] ?? m[k];
const rows = [...ms].sort((a, b) => st.fullSort === "id" ? a.id.localeCompare(b.id) : ((val(b, st.fullSort) ?? -1e9) - (val(a, st.fullSort) ?? -1e9)) * (["mem"].includes(st.fullSort) ? -1 : 1));
if (st.fullSort === "mem") rows.sort((a, b) => (a.mem ?? 1e9) - (b.mem ?? 1e9));
let h = `<table><tr>${cols.map(([n, k], i) => `<th class="${i < 2 ? "l" : ""} ${k === st.fullSort ? "sorted" : ""}" data-k="${k ?? ""}">${n}</th>`).join("")}</tr>`;
rows.forEach((m, i) => { h += `<tr data-id="${m.id}" class="${st.cmp.includes(m.id) ? "selrow" : ""}" style="cursor:pointer"><td class="l">${i + 1}</td><td class="l"><a href="${m.link}" target="_blank" onclick="event.stopPropagation()">${m.id}</a>${m.api ? '<span class="api-tag">API</span>' : ""}${m.tie ? " †" : ""}</td>` +
`<td><b>${fmt(score(m))}</b></td><td>${fmt(val(m, "n4"))}</td><td>${fmt(val(m, "p1"))}</td><td>${fmt(val(m, "zalo"))}</td><td>${fmt(val(m, "tr"))}</td><td>${m.params ?? "—"}</td><td>${m.dim ?? "—"}</td><td>${m.dps ? Math.round(m.dps).toLocaleString() : "—"}</td><td>${m.mem ? m.mem.toFixed(1) : m.api ? "API" : "—"}</td></tr>`; });
$("full").innerHTML = h + "</table>";
$("full").querySelectorAll("th[data-k]").forEach(th => th.onclick = () => { if (th.dataset.k) { st.fullSort = th.dataset.k; render(); } });
$("full").querySelectorAll("tr[data-id]").forEach(tr => tr.onclick = () => toggleCmp(tr.dataset.id));
}
/* ---------- static parts ---------- */
function statics() {
const n = D.models.length, api = D.models.filter(m => m.api).length;
const rk = [...D.models].sort((a, b) => avgOf(b, D.core4, 0) - avgOf(a, D.core4, 0)), top = rk[0];
const small = rk.find(m => !m.api && m.mem != null && m.mem <= 2);
$("sub").innerHTML = `${n} embedding models (${n - api} open, ${api} API) on 13 Vietnamese retrieval datasets (9 human-written + 4 machine-translated) · exact search, no reranker · 512-token window · updated ${D.updated} · <a href="${D.repo}">dataset repo</a> · <a href="${D.gh}">GitHub</a>`;
$("tiles").innerHTML = `<div class="tile"><b>${n}</b><span>models ranked</span></div><div class="tile"><b>13</b><span>Vietnamese retrieval datasets</span></div>` +
`<div class="tile"><b>${fmt(avgOf(top, D.core4, 0))}</b><span>#1 native-4 nDCG@10: ${top.id}</span></div><div class="tile"><b>${fmt(avgOf(small, D.core4, 0))}</b><span>best open model ≤ 2 GiB: ${small.id}</span></div>`;
$("smlegend").innerHTML = Object.entries(GLAB).filter(([k]) => k !== "api").map(([k, v]) => `<span><i style="background:${COL[k]}"></i>${v}</span>`).join("");
$("legend").innerHTML = Object.entries(GLAB).map(([k, v]) => `<span><i style="background:${COL[k]}"></i>${v}</span>`).join("");
$("todo").innerHTML = D.todo.map(t => `<li>${t}</li>`).join("");
$("dsets").innerHTML = `<table><tr><th class="l">Dataset</th><th class="l">Short</th><th class="l">Domain</th><th>Docs</th><th>Queries</th><th class="l">Type</th></tr>` +
D.datasets.map(d => `<tr><td class="l"><a href="https://huggingface.co/datasets/${d.hf}" target="_blank">${d.name}</a></td><td class="l">${d.short}</td><td class="l">${d.domain}</td><td>${d.docs}</td><td>${d.queries}</td><td class="l">${d.kind === "native" ? "human-written" : "machine-translated"}</td></tr>`).join("") + "</table>";
$("foot").innerHTML = `Raw data: <a href="${D.repo}/tree/main/results">results/</a> (scores.csv, per-query metrics, top-10 ids, speed). Methodology: <a href="${D.repo}/blob/main/docs/methodology.md">docs/methodology.md</a>.`;
}
function render() {
controls();
const ms = visible();
leaderboard(ms); compare(); heat(ms);
scatter("speed", ms, m => m.dps, "documents / s (log scale)", [10, 20, 50, 100, 200, 500, 1000, 2000]);
scatter("size", ms, m => m.params, "parameters, billions (log scale)", [0.1, 0.2, 0.5, 1, 2, 5, 10]);
speedmem(ms); mrl(); full(ms);
}
statics(); longctx(); render();
</script>
</body>
</html>