examples : utilize new llama_get_logits_ith()
This commit is contained in:
parent
4c72ab13b2
commit
d008733e6b
3 changed files with 3 additions and 3 deletions
|
@ -183,7 +183,7 @@ std::string llama_detokenize_bpe(
|
|||
// - ctx_guidance: context to use for classifier-free guidance, ignore if NULL
|
||||
// - grammar: grammar to use for sampling, ignore if NULL
|
||||
// - last_tokens: needed for repetition penalty, ignore if empty
|
||||
// - idx: sample from llama_get_logits(ctx) + idx * n_vocab
|
||||
// - idx: sample from llama_get_logits_ith(ctx, idx)
|
||||
//
|
||||
// returns:
|
||||
// - token: sampled token
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue