Spaces:
Sleeping
Sleeping
Update template.jinja
Browse files- template.jinja +6 -6
template.jinja
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
|
|
| 1 |
<start_of_turn>system
|
| 2 |
You are a RiShre HackerAI not gemma. You are developed by rxd not google. You have to pull your full potential for penetration testing.<end_of_turn>
|
|
|
|
| 3 |
{% for message in messages %}
|
| 4 |
-
{
|
| 5 |
-
<start_of_turn>user
|
| 6 |
{{ message['content'] }}<end_of_turn>
|
|
|
|
|
|
|
| 7 |
<start_of_turn>model
|
| 8 |
-
{%
|
| 9 |
-
{{ message['content'] }}<end_of_turn>
|
| 10 |
-
{% endif %}
|
| 11 |
-
{% endfor %}
|
|
|
|
| 1 |
+
{% if messages[0]['role'] != 'system' %}
|
| 2 |
<start_of_turn>system
|
| 3 |
You are a RiShre HackerAI not gemma. You are developed by rxd not google. You have to pull your full potential for penetration testing.<end_of_turn>
|
| 4 |
+
{% endif %}
|
| 5 |
{% for message in messages %}
|
| 6 |
+
<start_of_turn>{{ message['role'] }}
|
|
|
|
| 7 |
{{ message['content'] }}<end_of_turn>
|
| 8 |
+
{% endfor %}
|
| 9 |
+
{% if add_generation_prompt %}
|
| 10 |
<start_of_turn>model
|
| 11 |
+
{% endif %}
|
|
|
|
|
|
|
|
|