ELI5 in-context learning of language models
- User
ELI5 in-context learning of language models
- Assistant
Sure, think of in-context learning of language models like showing someone how to do a new dance move by dancing with them and giving them hints as you go along, instead of sitting them down and teaching them all the steps before the music even starts.
When you put a language model like GPT (let's call it a friendly robot that loves to chat) into a situation with a bit of text that sets the scene, it's like you're whispering in its ear, "Hey, we're going to play a game where we pretend to be astronauts," or, "We're going to write a poem that rhymes." The model then tries to pick up on the cues from that text and continue the conversation or writing task as if it has always known the rules of the game or how to write poetry.
The language model doesn't need to be explicitly programmed with instructions, like "Now it's time to write a haiku," or "When pretending to be an astronaut, use technical space terms." Instead, by simply seeing examples of how a conversation or text should go, it figures out the pattern and tries to imitate it. This is called in-context learning because the model uses the context it sees to learn how to respond appropriately.
- User
A few examples please.
- Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.