Merge branch 'dynamic-temp' of https://github.com/l3utterfly/llama.cpp into dynamic-temp
This commit is contained in:
commit
f7fbeb5ece
1 changed files with 1 additions and 1 deletions
|
@ -7794,7 +7794,7 @@ void llama_sample_entropy(struct llama_context * ctx, llama_token_data_array * c
|
|||
return;
|
||||
}
|
||||
|
||||
llama_sample_softmax(ctx, candidates_p);
|
||||
llama_sample_softmax(nullptr, candidates_p);
|
||||
|
||||
// Calculate entropy of the softmax probabilities
|
||||
float entropy = 0.0f;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue