Skip to content
RAG Repo

LongEmbed tests retrieval over documents that are far longer than the norm, with an average length of more than 5,500 words. Most established benchmarks lean on short passages of at most 512 tokens, the small chunks of text an embedding model reads in one pass, which tells you little about how a model copes when the relevant information is buried deep in a long document.

This makes LongEmbed a useful check if your RAG system works with long reports, contracts, or articles rather than short snippets. It is released under the MIT licence.

retrievalbenchmarklong-contextembeddingsevaluation

Related sources