Logo
Explore Help
Sign In
cogito/calculet-npu-research-archive
Watch 1
Star 0
Fork 0
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
main
calculet-npu-research-archive/source/baseline-expanded/llama-complete/llama.cpp/examples/lookup
T
History
cogito 98e6cadcb6 data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
..
CMakeLists.txt
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
lookup-create.cpp
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
lookup-merge.cpp
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
lookup-stats.cpp
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
lookup.cpp
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00
README.md
data: publish complete Calculet NPU research archive
2026-08-02 14:57:11 +08:00

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

Reference in New Issue View Git Blame Copy Permalink
Powered by Gitea Version: 1.27.1 Page: 13ms Template: 0ms
Auto
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API