Skip to content

Commit f02694b

Browse files
committed
Tone down the logger messages
1 parent 790804f commit f02694b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

convert_hf_to_gguf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2022,12 +2022,12 @@ def _set_vocab_mistral(self):
20222022
if self.is_mistral_format:
20232023
logger.info(
20242024
"Using a Mistral community chat template. These templates can be subject to errors in early days or weeks after a release. "
2025-
"The official way of using Mistral models is via `mistral-common`."
2025+
"Mistral recommends to use `mistral-common` to perform tokenization and detokenization."
20262026
)
20272027
template = MistralModel.get_community_chat_template(vocab, template_dir, self.is_mistral_format)
20282028
self.gguf_writer.add_chat_template(template)
20292029
else:
2030-
logger.info("Not using a Mistral community chat template. Ensure to perform the official tokenization and detokenization via `mistral-common`.")
2030+
logger.info("Not using a Mistral community chat template. Ensure to perform the tokenization and detokenization via `mistral-common`.")
20312031

20322032
def set_vocab(self):
20332033
if self.is_mistral_format:

0 commit comments

Comments
 (0)