API + Model: Add speculative ngram decoding

Speculative ngram decoding is like speculative decoding without the
draft model. It's not as useful because it only decodes on predictable
sequences, but it depends on the usecase.

Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
kingbri 2024-03-13 23:32:11 -04:00
parent 2ebefe8258
commit efc01d947b
3 changed files with 32 additions and 3 deletions

View file

@ -17,6 +17,9 @@ stop:
token_healing:
override: false
force: false
speculative_ngram:
override: false
force: false
# Commented out because the default is dynamically scaled
#generate_window: