larrylawl commited on
Commit
31bc60e
1 Parent(s): cc7773c

Update `config.json` with correct `pad_token_id`

Browse files

Tokenizer's `pad_token_id` is 0. However, the `config.json`'s `pad_token_id` is -1.

Files changed (1) hide show
  1. config.json +3 -3
config.json CHANGED
@@ -3,8 +3,8 @@
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
- "bos_token_id": 0,
7
- "eos_token_id": 1,
8
  "hidden_act": "silu",
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
@@ -13,7 +13,7 @@
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 32,
16
- "pad_token_id": -1,
17
  "rms_norm_eps": 1e-06,
18
  "tie_word_embeddings": false,
19
  "torch_dtype": "float32",
 
3
  "architectures": [
4
  "LlamaForCausalLM"
5
  ],
6
+ "bos_token_id": 1,
7
+ "eos_token_id": 2,
8
  "hidden_act": "silu",
9
  "hidden_size": 4096,
10
  "initializer_range": 0.02,
 
13
  "model_type": "llama",
14
  "num_attention_heads": 32,
15
  "num_hidden_layers": 32,
16
+ "pad_token_id": 0,
17
  "rms_norm_eps": 1e-06,
18
  "tie_word_embeddings": false,
19
  "torch_dtype": "float32",