Spaces:
Running
Running
Commit History
-
Phase 6: LightGBM reranker integration (37-feature schema, 141-tree model)
siddhm11- Rewrote app/recommend/reranker.py: 5-feature heuristic -> 37-feature LightGBM LambdaRank with permanent heuristic fallback - Added lightgbm>=4.0,<5.0 to requirements.txt - Added production model (reranker_v1.txt, 974KB, trained on 242K citation edges) - Model repo: models/reranker-phase6/ (cloned from HF siddhm11/researchit-reranker-phase6) - Training pipeline: 3 scripts (fetch citations, generate triples, train LightGBM) - Integration tests: 7/7 passing (smoke, features, E2E, latency 0.14ms, backward compat) - Fixed 3 tests in test_reranker_diversity.py (5->37 feature schema update) - Full pytest suite: 121/121 passing, 0 regressions - Complete documentation: PHASE6-HANDOFF.md, README.md with full infra schemas - Fixed corrupted .gitignore, removed nested .git from model dir - ML Intern conversation logs preserved in docs/ML Intern docs/63b37fd