Context Configuration
What is Context Configuration?
In one sentence: Context configuration is setting how much context a model can use when you run it, along with related options.
Local tools let you choose the context length. Larger contexts allow longer chats and documents but use more memory for the KV cache.
What does Context Configuration look like?
Setting a model's context length to 8,192 tokens in Ollama to save memory.
Why does Context Configuration matter?
The right setting balances memory use with how much the model can remember.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/context-configuration/">Context Configuration, explained simply</a> (The AI Math Dictionary)