Files
ForgeLM/crates
Evandro Fonseca Junior 8f32b677da fix: map local model aliases to Qwen template to stop prompt echo loops
When using local aliases like Cooper, Iron, or Steel (which are Qwen-based architectures), the select_chat_template failed to identify them because the alias names didn't contain 'qwen'. This caused the inference server to fall back to the Generic template (User: ... \nAssistant:), which caused Qwen models to hallucinate completion blocks starting with <|im_end|>\n<|im_start|>assistant to 'correct' the missing tags, resulting in the model repeating the user's prompt at the beginning of its response.
2026-04-04 00:19:34 -03:00
..
2026-03-29 19:10:57 -03:00
2026-03-29 19:10:57 -03:00
2026-03-29 19:10:57 -03:00