Docs: December 2026 batch complete; jina-v4 text-path note (final)
Browse files37 unmodified lines3839404142434437 unmodified lines- **NVFP4 (Nemotron-3.5)**: the NVFP4 checkpoints use the `compressed-tensors` `nvfp4-pack-quantized` format: 4-bit (E2M1) weights with FP8 scales per 16 values and a global scale, and 4-bit inputs to every linear layer with dynamic per-16 scales and a static global scale (W4A4). They are run as a faithful emulation: the weights are unpacked with the library's own decompressor, each layer input is quantised and de-quantised with the library's own `forward_quantize`, and the product runs in bf16 with fp32 accumulation. This reproduces the checkpoint's rounding; only the final accumulation order can differ from FP4 hardware. Speed of the emulation is not representative of native FP4.- **December 2026 batch (harrier, F2LLM-v2, jina v3/v4/v5, AITeamVN, Vintern, dangvantuan, multilingual-e5)**: same datasets, 512-token window and bf16 as above, each model's own input format from its card or `config_sentence_transformers.json`. harrier and F2LLM-v2 get the same per-dataset instructions as Qwen3 (`Instruct: <task>Query: `). jina models use their retrieval adapters and prompts (`retrieval.query`/`retrieval.passage` for v3, `task="retrieval"` with `query`/`passage` or `document` for v4/v5; v4 single-vector, text only). multilingual-e5 uses `query: ` / `passage: `. dangvantuan/vietnamese-embedding is PhoBERT: text is word-segmented with `pyvi` as its card shows, and its window is 256 tokens (258 positions). Vintern-Embedding-1B is multi-vector (128-dim per token) and scored with exact MaxSim, using the card's `process_queries` / `process_docs` format.- **Library versions for models with their own code**: models that ship custom code run on the transformers version they were written for: jina v3/v5 and dangvantuan/vietnamese-document-embedding on 4.57.6; jina-v4 on 4.52.4 with peft 0.15.2 (the card's minimum; under 4.57 its embeddings were degenerate, every similarity ≈ 0.85, so 4.57 results were discarded); Vintern on 4.48.2 (pinned in its card; its optional `flash_attn` and video-only `decord` imports are bypassed, the text path is unchanged). Every other model uses transformers 5.25.1. Each model was smoke-tested on two small datasets before its full run.- **Nemotron-3.5 input format**: the card's Transformers path (chat template `query:` / `passage:` system prefix, no BOS/EOS, mean pooling, bidirectional). The template rendering was checked token-for-token against `apply_chat_template`, and the card's example scores were reproduced before the full run.- **Mistral-Multimodal-Embed-1B input check**: re-encoding SciFact-VN with the card's own text path (`get_text_features`, 512 tokens) gives nDCG@10 48.97 against 49.35 in our run (document cosine 0.998 on average), so the stored scores stand.- **English → Vietnamese** (run 1): English scores are re-computed on exactly the VN-MTEB query subset, so the drop compares the same queries.37 unmodified lines3839404142434437 unmodified lines- **NVFP4 (Nemotron-3.5)**: the NVFP4 checkpoints use the `compressed-tensors` `nvfp4-pack-quantized` format: 4-bit (E2M1) weights with FP8 scales per 16 values and a global scale, and 4-bit inputs to every linear layer with dynamic per-16 scales and a static global scale (W4A4). They are run as a faithful emulation: the weights are unpacked with the library's own decompressor, each layer input is quantised and de-quantised with the library's own `forward_quantize`, and the product runs in bf16 with fp32 accumulation. This reproduces the checkpoint's rounding; only the final accumulation order can differ from FP4 hardware. Speed of the emulation is not representative of native FP4.- **December 2026 batch (harrier, F2LLM-v2, jina v3/v4/v5, AITeamVN, Vintern, dangvantuan, multilingual-e5)**: same datasets, 512-token window and bf16 as above, each model's own input format from its card or `config_sentence_transformers.json`. harrier and F2LLM-v2 get the same per-dataset instructions as Qwen3 (`Instruct: <task>Query: `). jina models use their retrieval adapters and prompts (`retrieval.query`/`retrieval.passage` for v3, `task="retrieval"` with `query`/`passage` or `document` for v4/v5; v4 single-vector, text only). multilingual-e5 uses `query: ` / `passage: `. dangvantuan/vietnamese-embedding is PhoBERT: text is word-segmented with `pyvi` as its card shows, and its window is 256 tokens (258 positions). Vintern-Embedding-1B is multi-vector (128-dim per token) and scored with exact MaxSim, using the card's `process_queries` / `process_docs` format.- **Library versions for models with their own code**: models that ship custom code run on the transformers version they were written for: jina v3/v5 and dangvantuan/vietnamese-document-embedding on 4.57.6; jina-v4 on 4.52.4 with peft 0.15.2 (the card's minimum; under 4.57 its embeddings were degenerate, every similarity ≈ 0.85, so 4.57 results were discarded); Vintern on 4.48.2 (pinned in its card; its optional `flash_attn` and video-only `decord` imports are bypassed, the text path is unchanged). jina-v4's own input code treats any text starting with `http` as an image URL (and an existing file path as an image); corpus documents can start with a URL, so every input goes through its text processor (`process_texts`), which gives bit-identical embeddings for ordinary text. Every other model uses transformers 5.25.1. Each model was smoke-tested on two small datasets before its full run.- **Nemotron-3.5 input format**: the card's Transformers path (chat template `query:` / `passage:` system prefix, no BOS/EOS, mean pooling, bidirectional). The template rendering was checked token-for-token against `apply_chat_template`, and the card's example scores were reproduced before the full run.- **Mistral-Multimodal-Embed-1B input check**: re-encoding SciFact-VN with the card's own text path (`get_text_features`, 512 tokens) gives nDCG@10 48.97 against 49.35 in our run (document cosine 0.998 on average), so the stored scores stand.- **English → Vietnamese** (run 1): English scores are re-computed on exactly the VN-MTEB query subset, so the drop compares the same queries.
docs/methodology.md+1-1