Xenova HF Staff nico-martin HF Staff commited on
Commit
8dcc13f
·
1 Parent(s): b4f49ab

added response_template (#1)

Browse files

- added response_template to tokenizer_config.json (8a72fd785a8804ed502ac9a54f8cf8123e7688bf)


Co-authored-by: Nico Martin <nico-martin@users.noreply.huggingface.co>

Files changed (1) hide show
  1. tokenizer_config.json +21 -1
tokenizer_config.json CHANGED
@@ -191,5 +191,25 @@
191
  "sp_model_kwargs": {},
192
  "tokenizer_class": "LlamaTokenizerFast",
193
  "unk_token": null,
194
- "use_default_system_prompt": false
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
195
  }
 
191
  "sp_model_kwargs": {},
192
  "tokenizer_class": "LlamaTokenizerFast",
193
  "unk_token": null,
194
+ "use_default_system_prompt": false,
195
+ "response_template": {
196
+ "defaults": {
197
+ "role": "assistant"
198
+ },
199
+ "start_anchor": "<|Assistant|>",
200
+ "fields": {
201
+ "reasoning_content": {
202
+ "open": "<think>",
203
+ "close": [
204
+ "</think>",
205
+ "<|end▁of▁sentence|>"
206
+ ],
207
+ "content": "text"
208
+ },
209
+ "content": {
210
+ "close": "<|end▁of▁sentence|>",
211
+ "content": "text"
212
+ }
213
+ }
214
+ }
215
  }