Merge remote-tracking branch 'refs/remotes/origin/dev' into dev

This commit is contained in:
oobabooga 2024-01-09 16:28:14 -08:00
commit 038b4fc8af

View File

@ -4,7 +4,7 @@ instruction_template: |-
{{- message['content'] -}}
{%- else -%}
{%- if message['role'] == 'user' -%}
{{-'[INST] ' + message['content'] + ' [/INST]'-}}
{{-' [INST] ' + message['content'].rstrip() + ' [/INST] '-}}
{%- else -%}
{{-'' + message['content'] + '</s>' -}}
{%- endif -%}
@ -13,4 +13,3 @@ instruction_template: |-
{%- if add_generation_prompt -%}
{{-''-}}
{%- endif -%}