In this article
The stored NFCorpus scores improve over the listed baselines, but README and code specify different adapters and provide no measured training-memory guarantee.
DotDoRAG is a small bi-encoder retrieval experiment on NFCorpus, rather than a clinical answer generator. It combines adapter tuning, refreshed hard negatives, and teacher-guided scoring. Its published results are useful as an attributed case study, but inspecting the actual training script reveals configuration differences that matter before calling the recipe reproducible.
Read the persisted benchmark result
The original repository describes a test set of 323 queries against 3,633 documents. The stored evaluation results report NDCG@10 of 0.3923 for adapted BGE, 0.3456 for zero-shot BGE, and 0.3052 for BM25. Recall@10 is 0.2013, 0.1631, and 0.1474 respectively.
Those values support an improvement in this evaluation, but they do not support the README’s broader phrase that BGE nearly doubles its zero-shot score. The comparison remains one author-reported benchmark without independent reruns or a distribution across training seeds. Retrieval quality also differs from the correctness of an answer generated using the retrieved papers.
Trace the training signals
The documented BGE recipe uses contrastive learning with hard negatives refreshed according to the current encoder. A cross-encoder teacher scores query/candidate pairs, supplying a soft preference distribution to the student. The intended result is a retriever whose document vectors can be prepared in advance, leaving query encoding and vector scoring at search time.
The current BGE training source makes the distillation calculation more precise. Its function named distill_kl computes teacher-weighted negative log student probabilities. That is soft-target cross-entropy; relative to teacher-to-student KL it differs by the teacher entropy for fixed targets. It should not be described as the opposite KL direction merely because the README uses that notation.
Hard-negative selection remains conditional on the available relevance labels. An unjudged candidate can still be useful, and a mined negative is not an exhaustive semantic verdict. The BEIR qrels guide explains that distinction.
Preserve the README and code mismatch
The README’s BGE table specifies rank 32, alpha 32, and query/key/value/dense targets. The inspected training script instead configures rank 64, alpha 128, and query/key/value targets. These are different adapter contracts. Without a pinned result-producing revision and artifact metadata, the current script’s settings cannot automatically be attached to the published score table.
The source does distinguish training and validation data, saves improved validation checkpoints, and performs a later test evaluation. That structure is useful evidence, but it does not by itself prove which saved checkpoint produced the separate persisted results file. A reproducible account needs the actual checkpoint identity as well as the script revision and data split.
A small adapter is not a small training budget
The README describes an adapter file around 13MB and includes a badge claiming A100 training. The badge supplies an author-stated accelerator label that was missing from the incoming summary, but not a complete configuration, measured peak VRAM, or elapsed training time. It cannot establish that the experiment fits a particular small consumer GPU.
The LoRA memory guide explains why backbone weights, activations, optimizer state, and the teacher still matter. Serving also requires document vectors encoded with the matching model and preprocessing; switching an adapter without a corresponding index changes the scoring space. The defensible conclusion is a bounded retrieval improvement on the released NFCorpus evaluation, accompanied by an unresolved recipe-to-artifact mapping. It is not evidence of clinical reliability, universal domain transfer, or a measured low-memory training configuration.
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.