Add assistant role
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -75,7 +75,7 @@
|
|
75 |
]
|
76 |
},
|
77 |
"bos_token": "<s>",
|
78 |
-
"chat_template": "{{ '
|
79 |
"clean_up_tokenization_spaces": false,
|
80 |
"cls_token": "<cls>",
|
81 |
"eos_token": "</s>",
|
|
|
75 |
]
|
76 |
},
|
77 |
"bos_token": "<s>",
|
78 |
+
"chat_template": "{{ '以下はタスクを説明する指示で、文脈を説明した入力とペアになっています。要求を適切に補完するよう応答を書いてください。\n\n' }}{% for message in messages %}{% if message['role'] == 'user' %}{{ '### 指示:\n' + message['content'].strip() + '\n\n' }}{% elif message['role'] == 'assistant' %}{{ '### 入力:\n' + message['content'].strip() + '\n\n' }}{% endif %}{% endfor %}{{ '### 応答:' }}",
|
79 |
"clean_up_tokenization_spaces": false,
|
80 |
"cls_token": "<cls>",
|
81 |
"eos_token": "</s>",
|