1
0
mirror of https://github.com/ggerganov/llama.cpp.git synced 2025-01-24 10:29:21 +01:00
llama.cpp/examples/lookahead
Georgi Gerganov afa8a9ec9b
llama : add llama_vocab, functions -> methods, naming ()
* llama : functions -> methods ()

* llama : add struct llama_vocab to the API ()

ggml-ci

* hparams : move vocab params to llama_vocab ()

ggml-ci

* vocab : more pimpl ()

ggml-ci

* vocab : minor tokenization optimizations ()

ggml-ci

Co-authored-by: Diego Devesa <slarengh@gmail.com>

* lora : update API names ()

ggml-ci

* llama : update API names to use correct prefix ()

* llama : update API names to use correct prefix

ggml-ci

* cont

ggml-ci

* cont

ggml-ci

* minor [no ci]

* vocab : llama_vocab_add_[be]os -> llama_vocab_get_add_[be]os ()

ggml-ci

* vocab : llama_vocab_n_vocab -> llama_vocab_n_tokens ()

ggml-ci

---------

Co-authored-by: Diego Devesa <slarengh@gmail.com>
2025-01-12 11:32:42 +02:00
..
CMakeLists.txt ggml : move AMX to the CPU backend () 2024-11-29 21:54:58 +01:00
lookahead.cpp llama : add llama_vocab, functions -> methods, naming () 2025-01-12 11:32:42 +02:00
README.md english : use typos to fix comments and logs () 2023-12-12 11:53:36 +02:00

llama.cpp/examples/lookahead

Demonstration of lookahead decoding technique:

https://lmsys.org/blog/2023-11-21-lookahead-decoding/

More info: https://github.com/ggerganov/llama.cpp/pull/4207