feat: add Jina neural reranker — LoCoMo QA 53.2% → 57.3%#61
Merged
Conversation
- Add checkpoint/resume + parallelism + retry to ingestion script - Add LLMError and content filter handling to retryable errors - Add 60s timeout to Azure client to prevent silent hangs - Add eval_qa_rag_baseline.py with resume support - Add concurrency=5 + resume + content filter to eval_qa_accuracy.py - Add 10 regression tests for _parse_batch_result - Update .gitignore to exclude eval/checkpoints/ Results: pipeline 46.6%, RAG baseline 44.4% across all 10 LoCoMo convs Temporal gain: +31.5pp (pipeline vs RAG)
Results (n=1540, all 10 LoCoMo convs): - Pipeline v2: 46.6% overall (+2.2pp over RAG baseline 44.4%) - Temporal: +32.4pp over RAG (57.3% vs 24.9%) — dominant gain - Open-domain regression confirmed architectural, not two-pass related Changes: - Add per-category two-pass gate (category != 4) to eval_qa_accuracy.py - Add two_pass_used field to per-pair results for paper analysis - Update result.md with final all-10 benchmark numbers and SOTA comparison Next: BM25 + RRF, cross-encoder reranker, temporal date filtering
- Integrate Jina reranker for neural reranking after semantic search - Update LoCoMo benchmark results: 53.2% → 57.3% overall QA accuracy (n=1540, all 10 convs) - Update uv.lock with new dependencies - Add cl.md to .gitignore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
make lintpassesmake testpasses