gmonsoon commited on
Commit
32cf369
1 Parent(s): fe8099c

Update tokenizer_config.json

Browse files
Files changed (1) hide show
  1. tokenizer_config.json +5 -11
tokenizer_config.json CHANGED
@@ -27,22 +27,16 @@
27
  "special": true
28
  }
29
  },
 
30
  "bos_token": "<s>",
31
- "chat_template": "{% for message in messages %}\n{% if message['role'] == 'user' %}\n{{ '<|user|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'system' %}\n{{ '<|system|>\n' + message['content'] + eos_token }}\n{% elif message['role'] == 'assistant' %}\n{{ '<|assistant|>\n' + message['content'] + eos_token }}\n{% endif %}\n{% if loop.last and add_generation_prompt %}\n{{ '<|assistant|>' }}\n{% endif %}\n{% endfor %}",
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "</s>",
34
- "legacy": false,
35
- "max_length": 512,
36
- "model_max_length": 2048,
37
- "pad_to_multiple_of": null,
38
- "pad_token": "</s>",
39
- "pad_token_type_id": 0,
40
- "padding_side": "left",
41
  "sp_model_kwargs": {},
42
- "stride": 0,
43
  "tokenizer_class": "LlamaTokenizer",
44
- "truncation_side": "right",
45
- "truncation_strategy": "longest_first",
46
  "unk_token": "<unk>",
47
  "use_default_system_prompt": false
48
  }
 
27
  "special": true
28
  }
29
  },
30
+ "additional_special_tokens": [],
31
  "bos_token": "<s>",
 
32
  "clean_up_tokenization_spaces": false,
33
  "eos_token": "</s>",
34
+ "legacy": true,
35
+ "model_max_length": 1000000000000000019884624838656,
36
+ "pad_token": null,
 
 
 
 
37
  "sp_model_kwargs": {},
38
+ "spaces_between_special_tokens": false,
39
  "tokenizer_class": "LlamaTokenizer",
 
 
40
  "unk_token": "<unk>",
41
  "use_default_system_prompt": false
42
  }