IT lexicon AI & ML In-context learning

In-context learning ICL

AI & ML På svenska → Updated: 2026-05-23

When an LLM "learns" from examples in the prompt without changing its weights.

Show a few examples ("translate sv→en like this..."), and the model picks up the pattern for the rest of the session. Forgotten when the context is cleared. Surprisingly strong — the basis of few-shot prompting.

← Back to the lexicon