generation_config.json adds a mapping with the special token '<|im_end|>' to solve the problem of non-stop generation when <|im_end|> is encountered.

#13
Files changed (1) hide show
  1. generation_config.json +2 -1
generation_config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 128000,
4
- "eos_token_id": [128001, 128009],
5
  "transformers_version": "4.40.0.dev0"
6
  }
 
 
1
  {
2
  "_from_model_config": true,
3
  "bos_token_id": 128000,
4
+ "eos_token_id": [128001, 128009, 128010],
5
  "transformers_version": "4.40.0.dev0"
6
  }
7
+