179 questions
No questions match those filters.
← All questions
System DesignVery Hard· Scaling· Training· Architecture
A colleague wants to scale the retrieval corpus from Wi...
This is one of the questions in the full AI/ML interview bank. Pro unlocks all 1789 questions; Premium includes the same bank plus the highest daily Practice limit.
See plansAt a 522x increase in corpus size, the rebuild cost becomes roughly 565x the trainer’s compute per window, effectively turning the task into an embedding job rather than language model pre-training. To handle this, you must choose between two compromises: freeze the document encoder to eliminate the retriever gradient, or maintain a trainable retriever over a small hot index while routing the cold tail through a frozen index, which sacrifices a single consistent scoring function across the entire corpus.