Update tokenizer_utils.py

This commit is contained in:
Daniel Han 2024-07-19 01:06:41 -07:00
commit f302c074b7

View file

@ -41,14 +41,17 @@ IGNORED_TOKENIZER_CHECKING = frozenset((
))
IGNORED_TOKENIZER_NAMES = frozenset((
IGNORED_TOKENIZER_NAMES = [
"unsloth/Mistral-Nemo-Instruct-2407-bnb-4bit",
"unsloth/Mistral-Nemo-Instruct-2407",
"mistralai/Mistral-Nemo-Instruct-2407",
"unsloth/Mistral-Nemo-Base-2407-bnb-4bit",
"unsloth/Mistral-Nemo-Base-2407",
"mistralai/Mistral-Nemo-Base-2407",
))
]
IGNORED_TOKENIZER_NAMES = frozenset(
[x.lower() for x in IGNORED_TOKENIZER_NAMES]
)
# Check environments
keynames = "\n" + "\n".join(os.environ.keys())