diff --git a/docs/faq.mdx b/docs/faq.mdx index 4237da41f..a751c0c3f 100644 --- a/docs/faq.mdx +++ b/docs/faq.mdx @@ -22,7 +22,7 @@ Please refer to the [GPU docs](./gpu). ## How can I specify the context window size? -By default, Ollama uses a context window size of 2048 tokens. +By default, Ollama uses a context window size of 4096 tokens. This can be overridden with the `OLLAMA_CONTEXT_LENGTH` environment variable. For example, to set the default context window to 8K, use: