Ollama: larget context
This commit is contained in:
parent
236c9278ec
commit
5e0d6215b5
1 changed files with 5 additions and 1 deletions
|
|
@ -406,7 +406,11 @@ in
|
|||
local token = readAll("${nixosConfig.age.secrets.ollama.path}")
|
||||
local conf = {
|
||||
-- url = string.format("https://bertof:%s@ollama.ricerca.sesar.di.unimi.it/", token),
|
||||
model = "codegemma:7b"
|
||||
model = "codegemma:7b",
|
||||
options = {
|
||||
temperature = 0.6,
|
||||
num_ctx = 8192
|
||||
}
|
||||
}
|
||||
local ollama = require("ollama")
|
||||
ollama.setup(conf)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue