mirror of
https://github.com/trustedsec/hate_crack.git
synced 2026-03-12 21:23:05 -07:00
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 <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user