Further update with slight improvements to the prompt template, also removed the system message
Browse filesThis should be a slight further improvement over the current version
I think that there shouldn't be a </s> at the end of a single prompt, but I'm not certain
README.md
CHANGED
@@ -65,20 +65,21 @@ pip3 install git+https://github.com/huggingface/transformers
|
|
65 |
## Prompt template: Llama-2-Chat
|
66 |
|
67 |
```
|
68 |
-
[INST] <<SYS>>
|
69 |
-
|
70 |
<</SYS>>
|
71 |
-
|
|
|
72 |
```
|
73 |
|
74 |
To continue a conversation:
|
75 |
|
76 |
```
|
77 |
-
[INST] <<SYS>>
|
78 |
-
|
79 |
<</SYS>>
|
80 |
-
|
81 |
-
[INST]{
|
82 |
```
|
83 |
|
84 |
## Provided files
|
|
|
65 |
## Prompt template: Llama-2-Chat
|
66 |
|
67 |
```
|
68 |
+
<s>[INST] <<SYS>>
|
69 |
+
{your_system_message}
|
70 |
<</SYS>>
|
71 |
+
|
72 |
+
{user_message_1} [/INST]
|
73 |
```
|
74 |
|
75 |
To continue a conversation:
|
76 |
|
77 |
```
|
78 |
+
<s>[INST] <<SYS>>
|
79 |
+
{your_system_message}
|
80 |
<</SYS>>
|
81 |
+
|
82 |
+
{user_message_1} [/INST] {model_reply_1}</s><s>[INST] {user_message_2} [/INST]
|
83 |
```
|
84 |
|
85 |
## Provided files
|