Md. Asif Uddin

    Projects02 of 15

    LocalScholar

    A private, laptop-scale research assistant

    Built because two scoping reviews needed more PDFs than any hosted chatbot would take. A permanent library on the laptop that answers across every paper at once, grounds each claim in a page you can open, refuses what it cannot answer, and sends nothing off the machine.

    Open the demoSource code

    Why it exists

    Two scoping reviews needed more PDFs than any hosted chatbot would take. LocalScholar keeps a permanent library on the laptop, answers questions across all of it at once, and grounds every claim in a page you can open.

    How it answers

    • Retrieval: BM25 and dense retrieval, fused by reciprocal rank, then reranked by a cross-encoder.
    • Citations: computed, not reported. Extracted values are matched back against the retrieved passages instead of being taken from the model.
    • Refusal: when the library cannot answer, it says so.

    What was measured

    An ablation of the retrieval pipeline over 30 hand-written questions:

    MeasureFromTo
    Recall@50.8330.933
    MRR0.6720.840

    Refusal was measured too: four questions the library provably cannot answer, and four correct refusals.

    Computing citations took structured extraction from 6 of 15 fields to 12 of 15, while making every remaining value more trustworthy.

    Built with

    FastAPI, React, ONNX and Ollama, with 100 tests. It runs on an 8 GB M1 with no API key, and nothing leaves the machine.