Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update chat_templates.py
Daniel Hanac3f564f7efc
diff --git a/unsloth/chat_templates.py b/unsloth/chat_templates.pyindex 937cbd06ea4..9b5f9ff28c3 100644--- a/unsloth/chat_templates.py+++ b/unsloth/chat_templates.py@@ -1606,6 +1606,9 @@ extra_eos_tokens = None,ollama_eos = get_ollama_eos_tokens(tokenizer, extra_eos_tokens)ollama_eos = '\n'.join(f'PARAMETER stop "{eos}"' for eos in ollama_eos)+ # Add temperature and min_p to counteract gibberish+ ollama_eos += "\nPARAMETER temperature 1.5\nPARAMETER min_p 0.1"+# Ollama modelfilepart = '"""'modelfile = 'FROM {__FILE_LOCATION__}\n\n'\