@@ -683,7 +683,7 @@ one is a little simplified from the actual one!
|
|||||||
|
|
||||||
```
|
```
|
||||||
{%- for message in messages %}
|
{%- for message in messages %}
|
||||||
{{- '<|' + message['role'] + |>\n' }}
|
{{- '<|' + message['role'] + '|>\n' }}
|
||||||
{{- message['content'] + eos_token }}
|
{{- message['content'] + eos_token }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- if add_generation_prompt %}
|
{%- if add_generation_prompt %}
|
||||||
@@ -1116,4 +1116,4 @@ name to be included in the tool response, then rendering it can be as simple as:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Again, remember that the actual formatting and special tokens are model-specific - you should take a lot of care
|
Again, remember that the actual formatting and special tokens are model-specific - you should take a lot of care
|
||||||
to ensure that tokens, whitespace and everything else exactly match the format your model was trained with!
|
to ensure that tokens, whitespace and everything else exactly match the format your model was trained with!
|
||||||
|
|||||||
Reference in New Issue
Block a user