minor : comments + rename

ggml-ci
This commit is contained in:
Georgi Gerganov 2023-10-16 18:17:31 +03:00
parent 1c626e2fe1
commit 373d782d42
No known key found for this signature in database
GPG key ID: 449E073F9DC10735
4 changed files with 13 additions and 7 deletions

View file

@ -80,7 +80,7 @@ void llama_sampling_cp(llama_sampling_context * src, llama_sampling_context * ds
// - ctx_sampling: sampling-specific context
//
// optional:
// - ctx_guidance: context to use for guidance
// - ctx_cfg: context to use for classifier-free guidance
// - idx: sample from llama_get_logits_ith(ctx, idx)
//
// returns:
@ -90,7 +90,7 @@ void llama_sampling_cp(llama_sampling_context * src, llama_sampling_context * ds
llama_token llama_sampling_sample(
struct llama_sampling_context * ctx_sampling,
struct llama_context * ctx_main,
struct llama_context * ctx_guidance,
struct llama_context * ctx_cfg,
int idx = 0);
void llama_sampling_accept(