Text Generation
Safetensors
English
llama
joellidin commited on
Commit
c95326a
·
verified ·
1 Parent(s): a5d22a6

Fix swapped bos/eos token IDs in config

Browse files
Files changed (2) hide show
  1. config.json +2 -2
  2. generation_config.json +2 -2
config.json CHANGED
@@ -4,9 +4,9 @@
4
  ],
5
  "attention_bias": false,
6
  "attention_dropout": 0.0,
7
- "bos_token_id": 1,
8
  "dtype": "float32",
9
- "eos_token_id": 2,
10
  "head_dim": 128,
11
  "hidden_act": "silu",
12
  "hidden_size": 8192,
 
4
  ],
5
  "attention_bias": false,
6
  "attention_dropout": 0.0,
7
+ "bos_token_id": 2,
8
  "dtype": "float32",
9
+ "eos_token_id": 1,
10
  "head_dim": 128,
11
  "hidden_act": "silu",
12
  "hidden_size": 8192,
generation_config.json CHANGED
@@ -1,7 +1,7 @@
1
  {
2
  "_from_model_config": true,
3
- "bos_token_id": 1,
4
- "eos_token_id": 2,
5
  "transformers_version": "4.56.1",
6
  "use_cache": false
7
  }
 
1
  {
2
  "_from_model_config": true,
3
+ "bos_token_id": 2,
4
+ "eos_token_id": 1,
5
  "transformers_version": "4.56.1",
6
  "use_cache": false
7
  }