[OPT] Fix bos token id default (#17441)

This commit is contained in:
Patrick von Platen 2022-05-26 12:24:12 -04:00 committed by GitHub
parent 98f6e1ee87
commit 7999ec125f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -112,7 +112,7 @@ class OPTConfig(PretrainedConfig):
init_std=0.02,
use_cache=True,
pad_token_id=1,
bos_token_id=0,
bos_token_id=2,
eos_token_id=2,
**kwargs
):