[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
961b814c0d
commit
c53b441af6
1 changed files with 2 additions and 1 deletions
|
|
@ -50,7 +50,8 @@ def install_extra_special_tokens_compat() -> bool:
|
|||
logger.warning(
|
||||
"Coercing malformed extra_special_tokens to {} (%s=%r); "
|
||||
"tokenizer_config.json should use an object, not an array.",
|
||||
type(special_tokens).__name__, entries,
|
||||
type(special_tokens).__name__,
|
||||
entries,
|
||||
)
|
||||
try:
|
||||
self.extra_special_tokens = {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue