SIGN IN SIGN UP

llama : fix n_vocab init for 'no_vocab' case (#9511)

* llama: fixed n_vocab for `no_vocab` models

* llama: updated error output for `llama_decode_internal` and `llama_encode_internal`

* llama: log warning if there's no vocab_size in metadata

* llama: correct vocab size for logging

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
M
Michael Podvitskiy committed
8344ef58f8cdb8ebd6faf4463ca32ae91c374c81
Parent: 0226613
Committed by GitHub <noreply@github.com> on 9/17/2024, 10:18:22 AM