vocab : minor [no ci]

This commit is contained in:
Georgi Gerganov 2025-01-14 10:36:18 +02:00
parent 69fc940d9a
commit 0cf9a06799
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -1357,7 +1357,7 @@ void llama_vocab::impl::load(llama_model_loader & ml, const LLM_KV & kv) {
// read vocab size from metadata
uint32_t n_tokens = 0;
if (ml.get_key(LLM_KV_VOCAB_SIZE, n_tokens, false)) {
LLAMA_LOG_WARN("%s: adding %d dummy tokens\n", __func__, n_tokens);
LLAMA_LOG_WARN("%s: adding %u dummy tokens\n", __func__, n_tokens);
id_to_token.resize(n_tokens);
}