mirror of
https://github.com/SakanaAI/doc-to-lora.git
synced 2026-07-23 17:01:04 +02:00
gemm3-1b template
This commit is contained in:
parent
13a062fad4
commit
6039b7f1d8
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@
|
|||
{%- set role = message['role'] -%}
|
||||
{%- endif -%}
|
||||
{%- if (message['role'] == 'user') -%}
|
||||
{{ '<start_of_turn>' + role + '\n' + message['content'] | trim + '<end_of_turn>\n' }}
|
||||
{{ '<start_of_turn>' + role + '\n' + (first_user_prefix if loop.first else "") + message['content'] | trim + '<end_of_turn>\n' }}
|
||||
{%- elif (message['role'] == 'assistant') -%}
|
||||
{{ '<start_of_turn>' + role + '\n' }}{% generation %}{{ message['content'] | trim + '<end_of_turn>\n' }}{% endgeneration %}
|
||||
{%- endif -%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue