Tevatron
FreeDense retrieval training framework (bi-encoder + reranker)
About Tevatron
Tevatron is an open-source, unified document retrieval toolkit designed for training and fine-tuning neural retrievers at scale, across different languages and modalities. Developed with both PyTorch and JAX backends, it supports billion-scale LLM neural retriever training on GPUs and TPUs. Key capabilities include parameter-efficient fine-tuning with LoRA, integration with vLLM, DeepSpeed, FlashAttention, and gradient accumulation. Tevatron provides self-contained HuggingFace datasets for multi-modal and multilingual neural retrieval and open-domain QA tasks, and allows direct loading and fine-tuning of state-of-the-art pre-trained models such as BGE-Embedding and Instruct-E5 from HuggingFace. It was presented at SIGIR 2023 and SIGIR 2025.
Key Features
Pros & Cons
- Open source and freely available
- Supports billion-scale neural retriever training
- Parameter-efficient fine-tuning with LoRA reduces resource requirements
- Integrates with popular high-performance libraries (DeepSpeed, vLLM, FlashAttention)
- Easy loading and fine-tuning of state-of-the-art models from HuggingFace
- Multi-modal and multilingual capabilities built-in
- Primarily research-focused, may lack production-ready deployment features
- Requires significant computational resources for billion-scale training
- Not a turn-key application; requires programming and ML expertise
- Documentation may be limited for beginners