summaryrefslogtreecommitdiff
path: root/common/sampling.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/sampling.h')
-rw-r--r--common/sampling.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/sampling.h b/common/sampling.h
index 5b73ecdc..655732ad 100644
--- a/common/sampling.h
+++ b/common/sampling.h
@@ -81,7 +81,7 @@ struct llama_sampling_context {
// TODO: replace with ring-buffer
std::vector<llama_token> prev;
std::vector<llama_token_data> cur;
- size_t n_considered;
+ size_t n_valid; // Number of correct top tokens with correct probabilities.
std::mt19937 rng;
};