Dr.ICL: Demonstration-Retrieved In-context Learning
Dr.ICL: Demonstration-Retrieved In-context Learning
In-context learning (ICL), which teaches a large language model (LLM) to perform a task with few-shot demonstrations rather than adjusting the model parameters, has emerged as a strong paradigm for using LLMs. While early studies primarily used a fixed or random set of demonstrations for all test queries, recent research …