Skip to content

Commit 11318d9

Browse files
authored
Fix typo in llama_set_embeddings comment (#8077)
1 parent b6b9a8e commit 11318d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -786,7 +786,7 @@ extern "C" {
786786
// Get the number of threads used for prompt and batch processing (multiple token).
787787
LLAMA_API uint32_t llama_n_threads_batch(struct llama_context * ctx);
788788

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

0 commit comments

Comments
 (0)