common : change defaults [no ci]

This commit is contained in:
Georgi Gerganov 2024-11-24 15:39:07 +02:00
parent 7f9cc2058c
commit 4eb126fff0
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

View File

@ -157,8 +157,8 @@ struct common_params_sampling {
struct common_params_speculative {
int32_t n_ctx = 4096; // draft context size
int32_t n_max = 5; // maximum number of tokens to draft during speculative decoding
int32_t n_min = 0; // minimum number of draft tokens to use for speculative decoding
int32_t n_max = 16; // maximum number of tokens to draft during speculative decoding
int32_t n_min = 5; // minimum number of draft tokens to use for speculative decoding
int32_t n_gpu_layers = -1; // number of layers to store in VRAM for the draft model (-1 - use default)
float p_split = 0.1f; // speculative decoding split probability
float p_min = 0.9f; // minimum speculative decoding probability (greedy)