CoolFace
Modelpublic

VAGOsolutions/SauerkrautLM-ColQwen3-8b-v0.1

sourceHugging Faceapache-2.0updated 1mo agoView on Hugging Face
4likes74downloads
Model Card

SauerkrautLM-ColQwen3-8b-v0.1

<p align="center"> <img src="https://vago-solutions.ai/wp-content/uploads/2025/12/Sauerkrautlm-colpali-scaled.png" alt="VAGO Solutions Logo" width="75%"/> </p>

๐Ÿ† #1 among 128-dim Models | State-of-the-Art Visual Document Retrieval

SauerkrautLM-ColQwen3-8b-v0.1 is the best-performing 128-dimensional embedding model for visual document retrieval, achieving 91.08 NDCG@5 on ViDoRe v1 - the highest score among all models with 128-dim embeddings.

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/benchmark128dimv1.png" alt="ViDoRe v1 Benchmark - 128-dim Models" width="100%"/> </p>

๐ŸŽฏ Why Visual Document Retrieval?

Traditional OCR-based retrieval loses layout, tables, and visual context. Our visual approach:

  • โ€”โœ… No OCR errors - Direct visual understanding
  • โ€”โœ… Layout-aware - Understands tables, forms, charts
  • โ€”โœ… End-to-end - Single model, no pipeline complexity

๐Ÿ† Key Achievements

BenchmarkScoreRank (128-dim)Rank (All)
ViDoRe v191.08๐Ÿฅ‡ #1#1
MTEB v1+v282.91#2#5
ViDoRe v358.55๐Ÿฅ‡ #1#3

128-dim Models Comparison (XLarge Category)

ModelParamsDimViDoRe v1MTEB v1+v2ViDoRe v3
SauerkrautLM-ColQwen3-8b-v0.1 โญ8.0B12891.0882.9158.55
EvoQwen2.5-VL-Retriever-7B-v17.0B12890.6883.41-
colnomic-embed-multimodal-7b7.0B12889.7281.3057.64

Our 8B model achieves the highest ViDoRe v1 and v3 scores among ALL 128-dim models!

Detailed Benchmark Results

<details> <summary><b>๐Ÿ“Š ViDoRe v1 (NDCG@5) - Click to expand</b></summary>

TaskScore
ArxivQA93.80 ๐Ÿฅ‡
DocVQA64.69
InfoVQA94.51
ShiftProject90.41
SyntheticDocQA-AI98.65
SyntheticDocQA-Energy96.52
SyntheticDocQA-Gov96.79
SyntheticDocQA-Health99.26
TabFQuAD92.18
TATDQA84.04 ๐Ÿฅ‡
Average91.08 ๐Ÿฅ‡

</details>

<details> <summary><b>๐Ÿ“Š MTEB v1+v2 (NDCG@5) - Click to expand</b></summary>

ViDoRe v1 Tasks: | Task | Score | |------|-------| | ArxivQA | 93.80 ๐Ÿฅ‡ | | DocVQA | 64.69 | | InfoVQA | 94.51 | | ShiftProject | 90.41 | | SyntheticDocQA-AI | 98.65 | | SyntheticDocQA-Energy | 96.52 | | SyntheticDocQA-Gov | 96.79 | | SyntheticDocQA-Health | 99.26 | | TabFQuAD | 92.18 | | TATDQA | 84.04 ๐Ÿฅ‡ |

ViDoRe v2 Tasks (Multilingual): | Task | Score | |------|-------| | ViDoRe-v2-2BioMed | 63.26 | | ViDoRe-v2-2Econ | 57.98 | | ViDoRe-v2-2ESG-HL | 70.77 | | ViDoRe-v2-2ESG | 57.85 | | Combined Average | 82.91 |

</details>

<details> <summary><b>๐Ÿ“Š ViDoRe v3 (NDCG@10) - Click to expand</b></summary>

TaskScore
ViDoRe-v3-CS77.52 ๐Ÿฅ‡
ViDoRe-v3-Energy66.32
ViDoRe-v3-FinanceEn55.79
ViDoRe-v3-FinanceFr45.03
ViDoRe-v3-HR59.96
ViDoRe-v3-Industry50.39
ViDoRe-v3-Pharma63.98
ViDoRe-v3-Physics49.36
Average58.55

</details>

Overall Summary (128-dim Models)

ModelParamsViDoRe v1MTEB v1+v2ViDoRe v3
SauerkrautLM-ColQwen3-8b-v0.1 โญ8.0B91.08 (#1)82.91 (#2)58.55 (#1)
EvoQwen2.5-VL-Retriever-7B-v17.0B90.68 (#3)83.41 (#1)-
SauerkrautLM-ColQwen3-4b-v0.14.0B90.80 (#2)81.97 (#4)56.03 (#4)
EvoQwen2.5-VL-Retriever-3B-v13.0B90.67 (#4)82.76 (#3)-
SauerkrautLM-ColQwen3-2b-v0.12.2B90.24 (#5)81.02 (#7)54.32 (#5)
colnomic-embed-multimodal-7b7.0B89.72 (#7)81.30 (#5)57.64 (#2)
colnomic-embed-multimodal-3b3.0B89.86 (#6)80.09 (#8)56.40 (#3)
colqwen2.5-v0.23.0B89.54 (#8)81.12 (#6)52.44 (#6)
colqwen2-v1.02.2B89.23 (#9)79.74 (#9)44.18 (#8)

๐Ÿ“‹ Summary Tables

128-dim Models Comparison

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/tablesummary128dim.png" alt="128-dim Models Summary" width="100%"/> </p>

Comparison vs High-dim Models

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/tablesummaryhighdim_comparison.png" alt="High-dim Comparison" width="100%"/> </p>

โœจ Key Features

  • โ€”๐Ÿ† #1 in 128-dim Class: Best ViDoRe v1 and v3 scores among all 128-dim models
  • โ€”โšก Compact Embeddings: 128-dimensional (same as ColPali, 2.5x smaller than tomoro)
  • โ€”๐ŸŒ Multilingual: Trained on 6 languages (EN, DE, FR, ES, IT, PT)
  • โ€”๐Ÿ“„ High Resolution: Supports up to 1540 visual tokens per image
  • โ€”๐Ÿ”ง MTEB Compatible: Standardized evaluation and easy integration
  • โ€”๐Ÿ’ป Full Code: github.com/VAGOsolutions/sauerkrautlm-colpali

Model Details

PropertyValue
Base ModelQwen/Qwen3-VL-8B
Parameters8.0B
Embedding Dimension128
VRAM (bfloat16)~16 GB
Max Context Length262,144 tokens
Image ResolutionDynamic (up to 1540 visual tokens)
Supported LanguagesEN, DE, FR, ES, IT, PT
LicenseApache 2.0

Training

Hardware & Configuration

SettingValue
GPUs4x NVIDIA A100 SXM (80GB)
Effective Batch Size256
Precisionbfloat16
OptimizerAdamW

Datasets

DatasetTypeDescription
vidore/colpali_train_setPublicColPali training data
openbmb/VisRAG-Ret-Train-In-domain-dataPublicVisual RAG training data
llamaindex/vdr-multilingual-trainPublicMultilingual document retrieval
VAGO Multilingual Dataset 1In-houseProprietary multilingual document-query pairs
VAGO Multilingual Dataset 2In-houseProprietary multilingual document-query pairs

Installation & Usage

Sentence Transformers

This model can be used with Sentence Transformers as a multi-vector (ColBERT-style late interaction) retriever via the MultiVectorEncoder:

bash
pip install "sentence-transformers[image]>=6.0.0"
python
from sentence_transformers import MultiVectorEncoder

model = MultiVectorEncoder("VAGOsolutions/SauerkrautLM-ColQwen3-8b-v0.1")

queries = [
    "What is the variable represented on the y-axis of the graph?",
    "Total outlay is maximum in which year?",
]
images = [
    "https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc1.jpg",
    "https://huggingface.co/datasets/sentence-transformers/example-documents/resolve/main/doc2.jpg",
]

query_embeddings = model.encode_query(queries)
image_embeddings = model.encode_document(images)
print(query_embeddings[0].shape, image_embeddings[0].shape)
# torch.Size([25, 128]) torch.Size([1251, 128])

# Diagonal should have higher scores
scores = model.similarity(query_embeddings, image_embeddings)
print(scores)
# tensor([[14.9121,  9.1426],
#         [ 5.8672, 15.3125]], device='cuda:0')

SauerkrautLM ColPali

โš ๏ธ Important: Install our package first before loading the model:
bash
pip install git+https://github.com/VAGOsolutions/sauerkrautlm-colpali
python
import torch
from PIL import Image
from sauerkrautlm_colpali.models import ColQwen3, ColQwen3Processor

model_name = "VAGOsolutions/SauerkrautLM-ColQwen3-8b-v0.1"

model = ColQwen3.from_pretrained(
    model_name,
    torch_dtype=torch.bfloat16,
    attn_implementation="flash_attention_2",
    device_map="cuda:0",
).eval()

processor = ColQwen3Processor.from_pretrained(model_name)

# Process inputs
images = [Image.open("document.png")]
queries = ["What is the main topic?"]

batch_images = processor.process_images(images).to(model.device)
batch_queries = processor.process_queries(queries).to(model.device)

with torch.no_grad():
    image_embeddings = model(**batch_images)
    query_embeddings = model(**batch_queries)

scores = processor.score(query_embeddings, image_embeddings)

๐Ÿ“Š Additional Benchmark Visualizations

MTEB v1+v2 Benchmark (128-dim Models)

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/benchmark128dimv1v2.png" alt="MTEB v1+v2 Benchmark - 128-dim Models" width="100%"/> </p>

ViDoRe v3 Benchmark (128-dim Models)

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/benchmark128dimv3.png" alt="ViDoRe v3 Benchmark - 128-dim Models" width="100%"/> </p>

Our Models vs High-dim Models

<p align="center"> <img src="https://raw.githubusercontent.com/VAGOsolutions/sauerkrautlm-colpali/main/assets/benchmarkoursvshighdimv1.png" alt="ViDoRe v1 - Our Models vs High-dim" width="100%"/> </p>

Citation

bibtex
@misc{sauerkrautlm-colpali-2025,
  title={SauerkrautLM-ColPali: Multi-Vector Vision Retrieval Models},
  author={David Golchinfar},
  organization={VAGO Solutions},
  year={2025},
  url={https://github.com/VAGOsolutions/sauerkrautlm-colpali}
}

Contact