Update README.md
Browse files
README.md
CHANGED
@@ -22,13 +22,16 @@ My current recommended setting & findings
|
|
22 |
|
23 |
|
24 |
## Instructions Template:
|
|
|
25 |
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ '<s>' }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
26 |
' + message['content'] + '<|im_end|>' + '
|
27 |
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
28 |
' }}{% endif %}
|
|
|
29 |
|
30 |
|
31 |
## Chat Template:
|
|
|
32 |
{%- for message in messages %}
|
33 |
{%- if message['role'] == 'system' -%}
|
34 |
{%- if message['content'] -%}
|
@@ -45,7 +48,7 @@ My current recommended setting & findings
|
|
45 |
{%- endif -%}
|
46 |
{%- endif -%}
|
47 |
{%- endfor -%}
|
48 |
-
|
49 |
|
50 |
|
51 |
|
|
|
22 |
|
23 |
|
24 |
## Instructions Template:
|
25 |
+
```
|
26 |
{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{{ '<s>' }}{% for message in messages %}{{'<|im_start|>' + message['role'] + '
|
27 |
' + message['content'] + '<|im_end|>' + '
|
28 |
'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant
|
29 |
' }}{% endif %}
|
30 |
+
```
|
31 |
|
32 |
|
33 |
## Chat Template:
|
34 |
+
```
|
35 |
{%- for message in messages %}
|
36 |
{%- if message['role'] == 'system' -%}
|
37 |
{%- if message['content'] -%}
|
|
|
48 |
{%- endif -%}
|
49 |
{%- endif -%}
|
50 |
{%- endfor -%}
|
51 |
+
```
|
52 |
|
53 |
|
54 |
|