SumanthRH commited on
Commit
ce1b745
·
verified ·
1 Parent(s): 0d8ff71

Upload tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -29,6 +29,7 @@
29
  }
30
  },
31
  "bos_token": "<s>",
 
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "</s>",
34
  "legacy": false,
 
29
  }
30
  },
31
  "bos_token": "<s>",
32
+ "chat_template": "{%- for message in messages %}\n {%- if message['role'] == 'user' %}\n {{- bos_token + '[INST] ' + message['content'] + ' [/INST]' }}\n {%- elif message['role'] == 'system' %}\n {{- '<<SYS>>\\n' + message['content'] + '\\n<</SYS>>\\n\\n' }}\n {%- elif message['role'] == 'assistant' %}\n {{- ' ' + message['content'] + ' ' + eos_token }}\n {%- endif %}\n{%- endfor %}",
33
  "clean_up_tokenization_spaces": false,
34
  "eos_token": "</s>",
35
  "legacy": false,