Download docs/results.md from quocbao747/embedding-model-benchmark: direct link, hf CLI and curl.
- Browser
- Download file 4.2 kB
-
https://huggingface.co/quocbao747/embedding-model-benchmark/resolve/main/docs/results.md
- Command line
-
hf download hf://quocbao747/embedding-model-benchmark/docs/results.md
-
curl -L -o results.md https://huggingface.co/quocbao747/embedding-model-benchmark/resolve/main/docs/results.md
Raw results: file formats
Everything under results/ is in one schema. Qwen3-Embedding-4B, BGE-M3 and EmbeddingGemma 2 were additionally scored on English sets and TREC-COVID-VN, and have a sequence-length × batch speed sweep and a latency test.
results/scores.csv (also scores.jsonl)
One row per model × dataset × configuration.
| Column | Meaning |
|---|---|
model, hf_id, params_b |
model key (see docs/models.md), Hugging Face id, parameters (billions) |
dataset, mteb_task, dataset_group |
short name, mteb task name, vi-native / vi-translated / en |
max_len |
input window in tokens (512 = default runs; 2048 = long-window runs; 128/256/384 for models whose own limit is lower) |
precision |
bf16 for most models, fp16 / fp32 for some Qwen3-Embedding-4B, BGE-M3 and EmbeddingGemma 2 rows, api (API models): precision of the encoder |
ranking |
how the top-100 was ranked. fp32: exact search in fp32 over the stored embeddings (API models, Qwen3-Embedding-8B, Nemotron-3.5, granite-311m, chunk-merged sets, and re-ranked embeddings of Qwen3-Embedding-4B, BGE-M3 and EmbeddingGemma 2). bf16: ranked in bf16 in the encoding pass; scores carry about ±0.5 nDCG@10 tie noise. fp16: rows of those three models that were not re-ranked (ranked in fp16). See methodology.md |
dim |
embedding dimensions used for search |
mode |
dense for all models. BGE-M3 also has sparse, multivector, dense+sparse (1, 0.3, 0), all (1, 0.3, 1), dense+sparse(long), all(long) and grid … weight-sweep rows (Zalo Legal) |
matryoshka_truncated |
true for rows where the embedding was cut to dim and re-normalised |
ndcg10, p1, mrr10, recall10, recall100 |
metrics ×100 (pytrec_eval; MRR@10 computed directly). Empty where a run did not record it |
n_docs, n_queries |
corpus and evaluated-query counts |
tok_per_word, frac_docs_truncated |
tokens per word with the model's tokenizer on the corpus, and share of documents longer than max_len |
ndcg10_per_query_check |
nDCG@10 recomputed from the per-query files (cross-check). Usually within 0.5 of ndcg10. Larger gaps (up to ~2) come from exact score ties in bf16/fp16 on small or near-duplicate corpora: ndcg10 (pytrec_eval) breaks ties by document id, while the per-query files keep the stored ranking order |
results/per_query/<model>/<dataset>__L<max_len>[-<precision>].csv.gz
One row per query: qid, ndcg10, p1, rr10, recall10, n_relevant. Use it for significance tests, per-query wins/losses between models, or error analysis. Precision is omitted from the file name for bf16.
results/top10/<model>/<dataset>__L<max_len>[-<precision>].jsonl.gz
One JSON object per query: {"qid": "...", "top10": [["doc_id", score], ...]}, best first, cosine scores. Document and query ids are the mteb dataset ids (see docs/datasets.md for sources), so you can join them with the original texts.
results/speed/
speed_unified.csv: the main speed table. Every open model measured one at a time on the same machine with nothing else running on it, all with the same batch of 32 documents, weights and activations in bf16 (BGE-M3: fp16, seeprecision), 512-token window (128 for para-multi-minilm-l12), each in its own prompt format and precision. Same workload as below.peak_vram_gib= peak memory allocated by PyTorch while encoding (weights + activations);weights_vram_gib= memory after loading. Memory and speed are directly comparable across models.- The NVFP4 checkpoints (Nemotron-3.5) are not in
speed_unified.csvorpeak_memory.csv: they ran as a software emulation, which says nothing about NVFP4 speed or memory. peak_memory.csv: peak memory for every open model at the unified batch of 32 documents (fromspeed_unified.csv).precision= number format of weights and activations while encoding (bf16,fp16, orNVFP4 W4A4, emulated);batch= documents per batch, or tokens per length-sorted batch (tok);weights_gibempty where it was not captured.
Absolute speeds depend on the hardware; compare models within one file only.