patrickvonplaten
commited on
Commit
•
da93426
1
Parent(s):
1c370c8
Change BOS token from 0 to 2 as BOS token is equal to EOS for OPT. See: https://github.com/huggingface/transformers/issues/17431 (#1)
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 (a896df0aabe76225138715b5d9553870603c430d)
- config.json +1 -1
config.json
CHANGED
@@ -5,7 +5,7 @@
|
|
5 |
"OPTForCausalLM"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
-
"bos_token_id":
|
9 |
"do_layer_norm_before": true,
|
10 |
"dropout": 0.1,
|
11 |
"eos_token_id": 2,
|
|
|
5 |
"OPTForCausalLM"
|
6 |
],
|
7 |
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 2,
|
9 |
"do_layer_norm_before": true,
|
10 |
"dropout": 0.1,
|
11 |
"eos_token_id": 2,
|