mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 09:44:59 +00:00
feat: Add configuration for Qwen 2.5 32b model with specific settings
This commit is contained in:
parent
51d118fdb5
commit
99424a9f53
2 changed files with 27 additions and 1 deletions
|
@ -394,6 +394,16 @@ class Model(ModelSettings):
|
|||
self.use_repo_map = True
|
||||
return # <--
|
||||
|
||||
if "qwq" in model and "32b" in model and "preview" not in model:
|
||||
self.edit_format = "diff"
|
||||
self.editor_edit_format = "editor-diff"
|
||||
self.use_repo_map = True
|
||||
self.remove_resoning = "think"
|
||||
self.examples_as_sys_msg = True
|
||||
self.use_temperature = 0.6
|
||||
self.extra_params = dict(top_p=0.95)
|
||||
return # <--
|
||||
|
||||
# use the defaults
|
||||
if self.edit_format == "diff":
|
||||
self.use_repo_map = True
|
||||
|
|
|
@ -864,6 +864,22 @@
|
|||
use_repo_map: true
|
||||
editor_model_name: fireworks_ai/accounts/fireworks/models/qwen2p5-coder-32b-instruct
|
||||
editor_edit_format: editor-diff
|
||||
reminder: user
|
||||
examples_as_sys_msg: true
|
||||
use_temperature: 0.6
|
||||
extra_params:
|
||||
max_tokens: 32000
|
||||
|
||||
top_p: 0.95
|
||||
|
||||
- name: groq/qwen-qwq-32b
|
||||
remove_reasoning: think
|
||||
edit_format: diff
|
||||
weak_model_name: groq/qwen-2.5-coder-32b
|
||||
use_repo_map: true
|
||||
editor_model_name: groq/qwen-2.5-coder-32b
|
||||
editor_edit_format: editor-diff
|
||||
use_temperature: 0.6
|
||||
extra_params:
|
||||
max_tokens: 128000
|
||||
top_p: 0.95
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue