I think the ggufs took the chat template defined in tokenizer_config.json , which basically does that.