From a5e3b65030ecec4e7ed3fdfc750ea1001ea17d2f Mon Sep 17 00:00:00 2001 From: Justin Bollinger Date: Fri, 13 Feb 2026 21:04:43 -0500 Subject: [PATCH] chore: update default Ollama model to qwen2.5 with num_ctx 8192 Benchmarking showed qwen2.5 at 8192 context is the best default for speed/quality balance. Co-Authored-By: Claude Opus 4.6 --- config.json.example | 4 ++-- hate_crack/main.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/config.json.example b/config.json.example index 6450a19..4c3aa0f 100644 --- a/config.json.example +++ b/config.json.example @@ -23,6 +23,6 @@ "hashview_url": "http://localhost:8443", "hashview_api_key": "", "hashmob_api_key": "", - "ollamaModel": "llama3.2", - "ollamaNumCtx": 32768 + "ollamaModel": "qwen2.5", + "ollamaNumCtx": 8192 } diff --git a/hate_crack/main.py b/hate_crack/main.py index 927a976..569f564 100755 --- a/hate_crack/main.py +++ b/hate_crack/main.py @@ -462,7 +462,7 @@ except KeyError as e: e ) ) - ollamaModel = default_config.get("ollamaModel", "llama3.2") + ollamaModel = default_config.get("ollamaModel", "qwen2.5") try: ollamaNumCtx = int(config_parser["ollamaNumCtx"]) except KeyError as e: @@ -471,7 +471,7 @@ except KeyError as e: e ) ) - ollamaNumCtx = int(default_config.get("ollamaNumCtx", 32768)) + ollamaNumCtx = int(default_config.get("ollamaNumCtx", 8192)) hcatExpanderBin = "expander.bin" hcatCombinatorBin = "combinator.bin"