Views
No views yet
| BF16 | Q8_0 | Q6_K | Q5_K_M | Q5_K_S | Q4_K_M | Q4_K_S | IQ4_NL | IQ4_XS | IQ3_S | IQ3_XS | IQ3_XXS | IQ2_S | IQ2_XS | IQ2_XXS | IQ1_M | IQ1_S | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Size | 1.2 GB | 610 MB | 473 MB | 424 MB | 417 MB | 379 MB | 366 MB | 366 MB | 353 MB | 309 MB | 299 MB | 267 MB | 243 MB | 231 MB | 219 MB | 207 MB | 199 MB |
jina-reranker-v3.5-*.gguf — Quantized model weights (see table above for sizes)projector.safetensors — MLP projector weights (not baked into the GGUF; required for scoring)tokenizer.json — Tokenizer required by rerank.py for in-process tokenization and block splittingrerank.py — Reranker implementationimatrix.dat — Importance matrix used to guide quantization of lower-bit variantsllama-embedding binary — built from the fork below (see Building llama.cpp)projector.safetensors from this repo (the scoring MLP — not baked into the GGUF)numpy, safetensors, torch, tokenizers--output-token-ids flag that are not yet in the official llama.cpp release. A PR is open upstream:llama-embedding from the fork:1git clone https://github.com/littlewine/llama.cpp
2cd llama.cpp
3cmake -B build -DGGML_CUDA=ON # or -DGGML_METAL=ON on macOS
4cmake --build build --config Release -j$(nproc) --target llama-embeddingbuild/bin/llama-embedding.CPU-only build: omit the-DGGML_CUDA=ONflag.
1from rerank import GGUFReranker
2
3reranker = GGUFReranker(
4 model_path="jina-reranker-v3.5-Q4_K_M.gguf",
5 projector_path="projector.safetensors",
6 llama_embedding_path="/path/to/llama-embedding",
7 tokenizer_path="tokenizer.json", # omit if tokenizer.json is next to the .gguf
8)
9
10results = reranker.rerank(
11 query="What causes inflammation in rheumatoid arthritis?",
12 documents=[
13 "Rheumatoid arthritis is caused by immune system attacking joints...",
14 "Osteoarthritis results from mechanical wear on cartilage...",
15 ],
16)
17
18for r in results:
19 print(f"[{r['index']}] {r['relevance_score']:.4f} {r['document'][:60]}")jina-reranker-v3.5 useful in your research, please cite the original paper:1@misc{nasika2026jinarerankerv35efficientlistwisereranker,
2 title={jina-reranker-v3.5: An Efficient Listwise Reranker with Hybrid Attention and Self-Distillation},
3 author={Christina Nasika and Feng Wang and Antonis Krasakis and Han Xiao},
4 year={2026},
5 eprint={2607.18152},
6 archivePrefix={arXiv},
7 primaryClass={cs.IR},
8 url={https://arxiv.org/abs/2607.18152},
9}