2023

OpenICL: An Open-Source Framework for In-context Learning

Wu, Zhenyu, Wang, YaoXiang, Ye, Jiacheng et al.

Understand

In recent years, In-context Learning (ICL) has gained increasing attention and emerged as the new paradigm for large language model (LLM) evaluation.

  • Unlike traditional fine-tuning methods, ICL instead adapts the pre-trained models to unseen tasks without any parameter updates.
  • However, the implementation of ICL is sophisticated due to the diverse retrieval and inference methods involved, as well as the varying pre-processing requirements for different models, datasets, and tasks.
  • A unified and flexible framework for ICL is urgently needed to ease the implementation of the aforementioned components.

Reading the bibliography…