[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2026-06-28 03:10:11 +00:00
commit c53b441af6

View file

@ -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 = {}