Update README.md
Browse files
README.md
CHANGED
@@ -97,12 +97,22 @@ This format must be adhered to strictly, as deviations may result in less optima
|
|
97 |
The template used to construct a prompt for the Instruct model is specified as follows:
|
98 |
|
99 |
```
|
100 |
-
<s>[INST] <<SYS>>\n{
|
101 |
```
|
102 |
|
|
|
103 |
Please be aware that ``<s>`` and ``</s>`` are special tokens used for the beginning of string (BOS) and end of string (EOS), respectively, while [INST] and [/INST] are considered regular strings.
|
104 |
|
105 |
-
For the "{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
106 |
### Use the instruct model Ver0.1
|
107 |
|
108 |
```python
|
|
|
97 |
The template used to construct a prompt for the Instruct model is specified as follows:
|
98 |
|
99 |
```
|
100 |
+
<s>[INST] <<SYS>>\n{SYSTEM_PROMPT}\n<</SYS>>\n\n{USER_MESSAGE_1} [/INST] {BOT_MESSAGE_1} </s>[INST] {USER_MESSAGE_2}[/INST]
|
101 |
```
|
102 |
|
103 |
+
|
104 |
Please be aware that ``<s>`` and ``</s>`` are special tokens used for the beginning of string (BOS) and end of string (EOS), respectively, while [INST] and [/INST] are considered regular strings.
|
105 |
|
106 |
+
For the "{SYSTEM_PROMPT}" part, We recommend using "あなたは誠実で優秀な日本人のアシスタントです。"
|
107 |
+
|
108 |
+
For the "{USER_MESSAGE_1}" part, We recommend using {instruction}\n{input}
|
109 |
+
|
110 |
+
In other words, We recommend the following:
|
111 |
+
|
112 |
+
```
|
113 |
+
<s>[INST] <<SYS>>\nあなたは誠実で優秀な日本人のアシスタントです。\n<</SYS>>\n\n{instruction1}\n{input1} [/INST] {BOT_MESSAGE_1}</s>[INST] \n\n{instruction2}\n{input2} [/INST]
|
114 |
+
```
|
115 |
+
|
116 |
### Use the instruct model Ver0.1
|
117 |
|
118 |
```python
|