einsof2-glm4-9b-stiefel-adapter / chat_template.jinja
Polydim-Einsof's picture
chore(qlora-2027.4.0): restore valid PEFT_QLORA_ADAPTER metadata, native-preserving 1-token <|cag_truth|> template (glm4), and audited CAG hook
0347c62 verified
Raw History Blame Contribute Delete
179 Bytes
{{ '<|cag_truth|>' }}[gMASK]<sop>{% for message in messages %}<|{{ message['role'] }}|>
{{ message['content'] }}{% endfor %}{% if add_generation_prompt %}<|assistant|>
{% endif %}