Update gguf-py/gguf/vocab.py

Co-authored-by: Sigbjørn Skjæret <sigbjorn.skjaeret@scala.com>
This commit is contained in:
o7si 2026-01-14 17:04:51 +08:00 committed by GitHub
parent ccd55e4ff7
commit 0f6138527b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ class SpecialVocab:
if normalizer_type == 'Lowercase':
self.normalizer_lowercase = True
elif normalizer_type == 'BertNormalizer':
if normalizer.get('lowercase', False):
if normalizer.get('lowercase', True):
self.normalizer_lowercase = True
elif normalizer_type == 'Sequence':
for norm in normalizer.get('normalizers', []):