Fix template for llama.cpp

#11
by algorithm - opened

Hi,

I have made fixes to the template, there were quite a few.
Please take a look and see what you think.
The problem is that it isn't compatible with llama.cpp in its current form.

To be more specific, these were the errors:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected closing block tag at row 1, column 91:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected closing block tag at row 2, column 111:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected value expression at row 1, column 136:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected value expression at row 1, column 748:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected value expression at row 1, column 1163:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected value expression at row 1, column 2369:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected closing expression tag at row 1, column 2407:

common_chat_templates_init: failed to parse chat template (defaulting to chatml): Expected value expression at row 1, column 5341:

Ready to merge
This branch is ready to get merged automatically.

Sign up or log in to comment