mirror of
https://github.com/rohitg00/ai-engineering-from-scratch.git
synced 2026-10-02 01:54:39 +08:00
CodeRabbit: - VQA prediction read vqa_logits[:, 0, :], which is the first timestep rather than next-token-after-the-question. Compute the last non-pad index per example and gather the logit there; vqa_em now reflects the model's actual answer. - Prerequisites line pointed at Phase 19 lessons 30-37 (Track B); this lesson builds on Track E lessons 58-62. Fixed. - Docs claimed three eval JSON files were emitted and that evaluate() was test-covered; in reality the suite is built in memory and tests target the metric helpers and suite shape. Updated docs to describe what ships.