Taka008 commited on
Commit
2dd8a4b
1 Parent(s): b285dce

Upload tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -68,6 +68,7 @@
68
  }
69
  },
70
  "bos_token": "<s>",
 
71
  "clean_up_tokenization_spaces": false,
72
  "cls_token": "<CLS|LLM-jp>",
73
  "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' + 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>",