mlinmg commited on
Commit
2783683
1 Parent(s): 18a9272

Added chat template for testing

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -2
tokenizer_config.json CHANGED
@@ -1,6 +1,4 @@
1
  {
2
- "add_bos_token": true,
3
- "add_eos_token": false,
4
  "added_tokens_decoder": {
5
  "0": {
6
  "content": "<unk>",
@@ -44,6 +42,7 @@
44
  }
45
  },
46
  "bos_token": "<s>",
 
47
  "clean_up_tokenization_spaces": false,
48
  "eos_token": "</s>",
49
  "legacy": false,
 
1
  {
 
 
2
  "added_tokens_decoder": {
3
  "0": {
4
  "content": "<unk>",
 
42
  }
43
  },
44
  "bos_token": "<s>",
45
+ "chat_template": "{% for message in messages %}\n{% if message.role == \"system\" %}\nSYSTEM: {{ message.content }}\n{% elif message.role == \"user\" %}\nUSER: {{ message.content }}\n{% elif message.role == \"assistant\" %}\nASSISTANT: {{ message.content }}\n{% endif %}\n{% endfor %}",
46
  "clean_up_tokenization_spaces": false,
47
  "eos_token": "</s>",
48
  "legacy": false,