Skip to content

Commit

Permalink
llama : update doc [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
ggerganov committed Sep 7, 2024
1 parent 2387dbe commit 4ac186a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion include/llama.h
Original file line number Diff line number Diff line change
Expand Up @@ -990,7 +990,10 @@ extern "C" {
// llama_sampler_chain_add(smpl, llama_sampler_init_top_k(50));
// llama_sampler_chain_add(smpl, llama_sampler_init_top_p(0.9, 1));
// llama_sampler_chain_add(smpl, llama_sampler_init_temp (0.8));
// llama_sampler_chain_add(smpl, llama_sampler_init_dist (seed));
//
// // typically, the chain should end with a sampler such as "greedy", "dist" or "mirostat"
// // this sampler will be responsible to select the actual token
// llama_sampler_chain_add(smpl, llama_sampler_init_dist(seed));
//
// ...
//
Expand Down

0 comments on commit 4ac186a

Please sign in to comment.