2024
Optimizing Instructions and Demonstrations for Multi-Stage Language Model Programs
EMNLP 2024main
Language Model Programs, i.e. sophisticated pipelines of modular language model (LM) calls, are increasingly advancing NLP tasks, but they require crafting prompts that are jointly effective for all modules. We study prompt optimization for LM programs, i.e. how to update these prompts to maximize a…