Skip to content

Commit

Permalink
Fix typo in llama_set_embeddings comment (ggerganov#8077)
Browse files Browse the repository at this point in the history
  • Loading branch information
danbev authored and NeoZhangJianyu committed Jun 30, 2024
1 parent 4823215 commit acc274e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llama.h
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ extern "C" {
// Get the number of threads used for prompt and batch processing (multiple token).
LLAMA_API uint32_t llama_n_threads_batch(struct llama_context * ctx);

// Set whether the model is in embeddings model or not
// Set whether the model is in embeddings mode or not
// If true, embeddings will be returned but logits will not
LLAMA_API void llama_set_embeddings(struct llama_context * ctx, bool embeddings);

Expand Down

0 comments on commit acc274e

Please sign in to comment.