SIGN IN SIGN UP

lookup : add prompt lookup decoding example (#4484)

* initial commit, going through initializations

* main loop finished, starting to debug

* BUG: generates gibberish/repeating tokens after a while

* kv_cache management

* Added colors to distinguish drafted tokens (--color). Updated README

* lookup : fix token positions in the draft batch

* lookup : use n_draft from CLI params

* lookup : final touches

---------

Co-authored-by: Leon Ericsson <leon.ericsson@icloud.com>
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
L
LeonEricsson committed
7082d24cec35e9ce9147535a2224dfc67ee0a78c
Parent: ba66175
Committed by GitHub <noreply@github.com> on 12/22/2023, 4:05:56 PM