System Info
transformers.js 4.2.0
Environment/Platform
Description
HFT chat-template workaround: transformers.js 4.2.0 bundles jinja 0.5.6,
which predates the {% generation %} template-tag strip, so a newer template
carrying {%- generation -%} markers otherwise throws
Unknown statement type: generation.
Reproduction
Using the liquidai models
please update jinja to latest and release. thanks.
System Info
transformers.js 4.2.0
Environment/Platform
Description
HFT chat-template workaround: transformers.js 4.2.0 bundles jinja 0.5.6,
which predates the
{% generation %}template-tag strip, so a newer templatecarrying
{%- generation -%}markers otherwise throwsUnknown statement type: generation.Reproduction
Using the liquidai models
please update jinja to latest and release. thanks.