patrickvonplaten
commited on
Commit
•
ac6427b
1
Parent(s):
65493f1
Change BOS token from 0 to 2 as BOS token is equal to EOS for OPT. See: https://github.com/huggingface/transformers/issues/17431 (#2)
Browse files- Change BOS token from 0 to 2 as BOS token is equal to EOS for OPT. See: https://github.com/huggingface/transformers/issues/17431 (9a5f698df74e11032179a529d96b8fdf2a7eacbc)
- config.json +1 -1
config.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
"OPTForCausalLM"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id":
|
9 |
"hidden_size": 7168,
|
10 |
"do_layer_norm_before": true,
|
11 |
"dropout": 0.1,
|
|
|
5 |
"OPTForCausalLM"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
"hidden_size": 7168,
|
10 |
"do_layer_norm_before": true,
|
11 |
"dropout": 0.1,
|