mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-29 08:41:22 +00:00 
			
		
		
		
	model : fix hunyuan moe chat template (#14584)
Signed-off-by: stevenkuang <stevenkuang@tencent.com>
This commit is contained in:
		| @@ -680,9 +680,6 @@ int32_t llm_chat_apply_template( | |||||||
|                 ss << "<|startoftext|>" << message->content << "<|extra_0|>"; |                 ss << "<|startoftext|>" << message->content << "<|extra_0|>"; | ||||||
|             } |             } | ||||||
|         } |         } | ||||||
|         if (add_ass) { |  | ||||||
|             ss << "<|startoftext|>"; |  | ||||||
|         } |  | ||||||
|     } else { |     } else { | ||||||
|         // template not supported |         // template not supported | ||||||
|         return -1; |         return -1; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 stevenkuang
					stevenkuang