pub unsafe extern "C" fn llama_sample_token_greedy(
ctx: *mut llama_context,
candidates: *mut llama_token_data_array,
) -> llama_token
Expand description
@details Selects the token with the highest probability.
pub unsafe extern "C" fn llama_sample_token_greedy(
ctx: *mut llama_context,
candidates: *mut llama_token_data_array,
) -> llama_token
@details Selects the token with the highest probability.