diff options
author | l3utterfly <gc.pthzfoldr@gmail.com> | 2024-01-26 05:06:22 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-25 22:06:22 +0200 |
commit | 5eaf9964fc797d4585c214db32a463d557f3ed33 (patch) | |
tree | e41be4957a366e1210769298156de9f09b9593c8 /examples/llm.vim | |
parent | d292f4f2047963f558dd516f1baaa71793e9acf2 (diff) |
llama : dynamic temperature sampling (#4972)
* implemented dynamic temperature sampling from koboldcpp
* removed trailing whitespace
* removed unused temp parameter in llama_sample_entropy
* exposed exponent_val in dynamic temp sampler
* added debug check for printf statements
* use nullptr in llama_sample_softmax call during llama_sample_entropy
this avoids counting the time taken stats twice
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
* return earlier if there is only 1 candiate (i.e. max_entropy == 0)
* reformat 't' case in llama_sample_queue
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
* check for one or zero candidates case in llama_sample_entropy
---------
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Jared Van Bortel <cebtenzzre@gmail.com>
Diffstat (limited to 'examples/llm.vim')
0 files changed, 0 insertions, 0 deletions