Closed timtensor closed 3 months ago
Hi I am using an ollama chat model to call Mistral-model . How can one set the different parameters such as top k , top p, context, length and temperature ?
T
You can set it with the options keyword parameter, e.g. ollama.chat(..., options={...}). There's an example here
options
ollama.chat(..., options={...})
Hi I am using an ollama chat model to call Mistral-model . How can one set the different parameters such as top k , top p, context, length and temperature ?
T