cgato commited on
Commit
50545ba
·
verified ·
1 Parent(s): 5c9c47e

Upload tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -8037,6 +8037,7 @@
8037
  }
8038
  },
8039
  "bos_token": "<s>",
 
8040
  "clean_up_tokenization_spaces": false,
8041
  "eos_token": "<|im_end|>",
8042
  "model_max_length": 1000000000000000019884624838656,
 
8037
  }
8038
  },
8039
  "bos_token": "<s>",
8040
+ "chat_template": "{% if not add_generation_prompt is defined %}{% set add_generation_prompt = false %}{% endif %}{% for message in messages %}{{'<|im_start|>' + message['role'] + '\n' + message['content'] + '<|im_end|>' + '\n'}}{% endfor %}{% if add_generation_prompt %}{{ '<|im_start|>assistant\n' }}{% endif %}",
8041
  "clean_up_tokenization_spaces": false,
8042
  "eos_token": "<|im_end|>",
8043
  "model_max_length": 1000000000000000019884624838656,