lmbelo commited on
Commit
abe96ed
·
verified ·
1 Parent(s): 66045e3

Upload tokenizer

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +1 -0
tokenizer_config.json CHANGED
@@ -28,6 +28,7 @@
28
  }
29
  },
30
  "bos_token": "<s>",
 
31
  "clean_up_tokenization_spaces": false,
32
  "eos_token": "</s>",
33
  "model_max_length": 1000000000000000019884624838656,
 
28
  }
29
  },
30
  "bos_token": "<s>",
31
+ "chat_template": "{% set loop_messages = messages %}{% for message in loop_messages %}{% set content = '<|start_header_id|>' + message['role'] + '<|end_header_id|>\n\n'+ message['content'] | trim + '<|eot_id|>' %}{% if loop.index0 == 0 %}{% set content = bos_token + content %}{% endif %}{{ content }}{% endfor %}{% if add_generation_prompt %}{{ '<|start_header_id|>assistant<|end_header_id|>\n\n' }}{% endif %}",
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "</s>",
34
  "model_max_length": 1000000000000000019884624838656,