786 MB
6,301 files
Updated 15 days ago
Name
Size
CMakeLists.txt989 Bytes
xet
README.md485 Bytes
xet
lookup-create.cpp1.2 kB
xet
lookup-merge.cpp1.44 kB
xet
lookup-stats.cpp5.79 kB
xet
lookup.cpp8.52 kB
xet
README.md

llama.cpp/examples/lookup

Demonstration of Prompt Lookup Decoding

https://github.com/apoorvumang/prompt-lookup-decoding

The key parameters for lookup decoding are ngram_min, ngram_max and n_draft. The first two determine the size of the ngrams to search for in the prompt for a match. The latter specifies how many subsequent tokens to draft if a match is found.

More info:

https://github.com/ggml-org/llama.cpp/pull/4484 https://github.com/ggml-org/llama.cpp/issues/4226

Total size
786 MB
Files
6,301
Last updated
Oct 30
Pre-warmed CDN
US EU US EU

Contributors