hiroyachiba
commited on
Commit
•
af3c02b
1
Parent(s):
d99c455
Upload tokenizer
Browse files- tokenizer_config.json +1 -1
tokenizer_config.json
CHANGED
@@ -68,7 +68,7 @@
|
|
68 |
}
|
69 |
},
|
70 |
"bos_token": "<s>",
|
71 |
-
"chat_template": "{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '\n\n### 指示:\n' + message['content'] }}{% elif message['role'] == 'system' %}{{ '以下は、タスクを説明する指示です。要求を適切に満たす応答を書きなさい。' }}{% elif message['role'] == 'assistant' %}{{ '\n\n### 応答:\n' + message['content'] + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '\n\n### 応答:\n' }}{% endif %}{% endfor %}",
|
72 |
"clean_up_tokenization_spaces": false,
|
73 |
"cls_token": "<CLS|LLM-jp>",
|
74 |
"eod_token": "</s>",
|
|
|
68 |
}
|
69 |
},
|
70 |
"bos_token": "<s>",
|
71 |
+
"chat_template": "{{bos_token}}{% for message in messages %}{% if message['role'] == 'user' %}{{ '\n\n### 指示:\n' + '<USER_INPUT>\n' + message['content'] + '\n</USER_INPUT>' }}{% elif message['role'] == 'system' %}{{ '以下は、タスクを説明する指示です。要求を適切に満たす応答を書きなさい。' }}{% elif message['role'] == 'assistant' %}{{ '\n\n### 応答:\n' + '<AI_OUTPUT>\n' + message['content'] + '\n</AI_OUTPUT>' + eos_token }}{% endif %}{% if loop.last and add_generation_prompt %}{{ '\n\n### 応答:\n' + '<AI_OUTPUT>\n' }}{% endif %}{% endfor %}",
|
72 |
"clean_up_tokenization_spaces": false,
|
73 |
"cls_token": "<CLS|LLM-jp>",
|
74 |
"eod_token": "</s>",
|