RAG & retrieval

BEIR

by UKP Lab & collaborators

What is BEIR? BEIR is a rag & retrieval eval made by UKP Lab & collaborators. A collection of retrieval datasets for testing how well search and embedding models work on domains they were not trained on.

Page last updated 2026-10-18 · Evals Review

Editor note

A collection of retrieval datasets for testing how well search and embedding models work on domains they were not trained on.

What it tests
Zero-shot retrieval across diverse domains.
Original source
github.com/beir-cellar/beir
Last updated
Repo last commit 2025-10-16
License
Apache-2.0

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

When to use BEIR

  • You want to know how a retrieval or embedding model does zero-shot on domains it was not trained on, across 18 public datasets.
  • You are comparing retrieval families (lexical, sparse, dense, late-interaction and re-ranking) and their speed/quality trade-off.

Limitations

  • It measures retrieval only, not whether a generated answer is correct; pair it with an answer-level RAG eval.

How to run it

  1. Install the beir package.
  2. Download a dataset, load it with GenericDataLoader, and evaluate a retriever (e.g. dense exact search) with EvaluateRetrieval.
pip install beir

Notable results

  • In the paper, BM25 was a strong baseline; re-ranking and late-interaction models did best zero-shot on average but at high compute cost, while dense and sparse models were cheaper but often scored lower. [Paper (arXiv)]

Sources

Everything above comes from the sources listed, read on 15–16 Oct 2026. Commands are copied from the official instructions; check the source for changes.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related rag & retrieval evals

  • Ragas — Faithfulness, relevance and retrieval quality of your own RAG system.
  • MTEB Leaderboard — Embedding model quality for search and RAG.
  • CRAG — End-to-end RAG answer correctness and hallucination.
  • FRAMES — Multi-hop retrieval-augmented answering.

All RAG & retrieval evals · Comparison table

Discussion

No one has discussed BEIR yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions