179 questions
No questions match those filters.
How do you decide between allocating context window spa...
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 plansThe theory of in-context learning suggests that softmax normalization means increasing the number of demonstrations does not linearly increase the update, and per-head rank saturates early. Since passages carry the answer and demonstrations carry task identity, and task identity saturates around eight examples, you should cap demonstrations at eight and allocate the remaining context to retrieved passages. You can validate this by performing a k-sweep; if performance continues to rise past eight, it suggests the model is behaving in a way that contradicts standard theory.