Trending
Heavy Instagram use may blur your sense of self, study suggests is trending now Africa: 11 African Countries Record 1,153 Mpox Cases in Six Weeks is trending now Call for Entries: AMBSO Impact Research Initiative is trending now New breeding approach targets crop rotations, not yield alone is trending now Bacterial enzyme found to weaken gut protective hormone signal is trending now Wildfires near the South Pole burned 90 million years ago is trending now Russia launching 3 tons of cargo to the space station today: Watch it live is trending now Mikel Arteta urged Arsenal to remain 'cautious' over teenage sensation Max Dowman despite… is trending now Manchester derby VAR error: Howard Webb really disappointed with missed offside is trending now Roberto De Zerbi slams 'unfair' result as Tottenham crash out of Carabao Cup against Live… is trending now The last tango! Lionel Messi makes sensational return to Argentina squad for emotional fa… is trending now Poco Lee Alleged Assault Case: UK Court Takes Major Decision as Dancer’s Legal Battle Tak… is trending now Heavy Instagram use may blur your sense of self, study suggests is trending now Africa: 11 African Countries Record 1,153 Mpox Cases in Six Weeks is trending now Call for Entries: AMBSO Impact Research Initiative is trending now New breeding approach targets crop rotations, not yield alone is trending now Bacterial enzyme found to weaken gut protective hormone signal is trending now Wildfires near the South Pole burned 90 million years ago is trending now Russia launching 3 tons of cargo to the space station today: Watch it live is trending now Mikel Arteta urged Arsenal to remain 'cautious' over teenage sensation Max Dowman despite… is trending now Manchester derby VAR error: Howard Webb really disappointed with missed offside is trending now Roberto De Zerbi slams 'unfair' result as Tottenham crash out of Carabao Cup against Live… is trending now The last tango! Lionel Messi makes sensational return to Argentina squad for emotional fa… is trending now Poco Lee Alleged Assault Case: UK Court Takes Major Decision as Dancer’s Legal Battle Tak… is trending now
Technology

Ollama configurar context 64000

Ollama configurar context 64000

OLLAMA_CONTEXT_LENGTH é uma variável de ambiente do Ollama usada para definir o tamanho da janela de contexto (context window) padrão para os modelos de IA carregados. O "contexto" é a quantidade máxima de texto (medida em tokens) que a IA consegue "lembrar" ou ler de uma só vez em uma única conversa. Se você precisa aumentar essa janela de contexto no Ollama para Linux siga o procedimento abaixo:Edite o arquivo /etc/systemd/system/ollama.service[sudo pico /etc/systemd/system/ollama.service]Adicione o novo tamanho da janela de contexto dentro de [Service].[Environment="OLLAMA_CONTEXT_LENGTH=64000"]Reinicie o ollama[sudo systemctl daemon-reload][sudo systemctl restart ollama]Chame algum modelo e acompanhe o tamanho da nova janela de contexto com o comando abaixo.[watch -n1 ollama ps]

View original source →

Related

More from Limon Tec