Update `config.json` with correct `pad_token_id`
Browse filesTokenizer's `pad_token_id` is 0. However, the `config.json`'s `pad_token_id` is -1.
- config.json +3 -3
config.json
CHANGED
@@ -3,8 +3,8 @@
|
|
3 |
"architectures": [
|
4 |
"LlamaForCausalLM"
|
5 |
],
|
6 |
-
"bos_token_id":
|
7 |
-
"eos_token_id":
|
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":
|
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",
|