]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commit
llama : fix n_vocab init for 'no_vocab' case (#9511)
authorMichael Podvitskiy <redacted>
Tue, 17 Sep 2024 10:18:22 +0000 (12:18 +0200)
committerGitHub <redacted>
Tue, 17 Sep 2024 10:18:22 +0000 (13:18 +0300)
commit8344ef58f8cdb8ebd6faf4463ca32ae91c374c81
treee9ac6ff070f1cf7acfa75642f8ca691cba25a0b5
parent0226613853133c081b55bb892a41bb5eacc0bc94
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 <redacted>
---------

Co-authored-by: Georgi Gerganov <redacted>
src/llama.cpp