on

Can the Raspberry Pi 5 (4 GB) run GTE Reranker ModernBERT Base?

70Great quality (A) · 70 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.

Yes, but slowly

Slow. At Q8_0 it needs about 0.8 GB of 2.8 GB usable and makes one decision in about 932 ms.

Best precision
Q8_0
Time per decision
932 ms
Decisions per second
1.1/s
Input assumed
512 tokens
Returns
Probability or score

Best app to run it on the Raspberry Pi 5 (4 GB)

On Linux on ARM boards

Infinity

Inference server · runs on PyTorch, ONNX, CTranslate2

  • Local API for rerankers and classifiers, including models TEI does not support.
infinity_emb v2 --model-id Alibaba-NLP/gte-reranker-modernbert-base
  • Sentence Transformers A few lines of Python with Transformers or Sentence Transformers; easiest for scripts and notebooks.
  • LocalAI One OpenAI-compatible server for GGUF guard models and rerankers together.

How we choose: the files published for this model, your operating system and GPU, whether it fits fully in memory, and published speed tests (MLX vs llama.cpp on Apple silicon, vLLM vs llama.cpp vs Ollama on NVIDIA). Details.

Download GTE Reranker ModernBERT Base

Original weights · Hugging Face

Full-precision files from Alibaba, for Transformers, Sentence Transformers, Text Embeddings Inference, Infinity or vLLM.

huggingface.co/Alibaba-NLP/gte-reranker-modernbert-base (opens in a new tab)

No sign-in needed.

How it’s rated

Quality 70Great quality (A) · 70 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking.
How capable the model itself is at Q8_0, from its editorial quality tier scaled by the quantization or precision. It’s the same on any hardware that runs this variant. Scale: A+ 85+ · A 70+ · B 55+ · C 40+ · D under 40.
Runs Slow
How well it runs on the Raspberry Pi 5 (4 GB): speed, capped by how well it fits in memory. Runs great: 30+ tokens/s (or near the image, video or decision speed target) · Runs well: 10+ tokens/s · Slow: 3+ tokens/s · Very slow: under 3 · Won’t run: doesn’t fit even with offload. A tight fit or RAM offload caps it at Runs well; heavy offload caps it at Slow.

Match score

To order lists, each result also gets a match score out of 100 from four parts. It favors the most capable model that still runs well.

PrecisionEditorial precision tier from the model’s published benchmarks, scaled by the quantization or precision used.31.5 / 45
Memory fitFull marks when everything sits in GPU memory; fewer when part spills to system RAM.25.0 / 25
SpeedTime for one decision against a 100 ms target: reading the input plus any tokens the model writes.4.9 / 15
ClarityHow easy the answer is to use in code: a probability or score earns the most, written feedback before a score the least.15.0 / 15
Match score76.4 / 100

The match score orders results; it is not shown as a grade. Quality and Runs are the two ratings in the tables.

Every quantization on the Raspberry Pi 5 (4 GB)

Quant Memory needed Available Speed Runs Quality Download
Q8_0 0.8 GB 2.8 GB 932 ms Slow 70Great quality (A) · 70 of 100: how capable the model is at Q8_0, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. All files (opens in a new tab)
F16 0.9 GB 2.8 GB 1.1 s Slow 70Great quality (A) · 70 of 100: how capable the model is at F16, whatever it runs on. Match score 76/100 (quality, fit, speed and memory use) sets the ranking. Original weights (opens in a new tab)

Times are for one request with a 512-token input. Batching servers process many requests at once.

Other hardware that runs it

Estimates come from published hardware specs and our open formulas, not from running the model on your machine. Real speed varies with runtime, drivers and settings. Numbers marked “Measured” come from a linked benchmark.

Was this page helpful?