Skip to content

Commit 6bba8ed

Browse files
authored
improved comment [no ci]
1 parent 9aa5d73 commit 6bba8ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/llama.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ extern "C" {
923923

924924
// Get the embeddings for a sequence id
925925
// Returns NULL if pooling_type is LLAMA_POOLING_TYPE_NONE
926-
// when pooling_type == LLAMA_POOLING_TYPE_RANK, returns float[i] with the rank(s) of the sequence
926+
// when pooling_type == LLAMA_POOLING_TYPE_RANK, returns float[n_cls_out] with the rank(s) of the sequence
927927
// otherwise: float[n_embd] (1-dimensional)
928928
LLAMA_API float * llama_get_embeddings_seq(struct llama_context * ctx, llama_seq_id seq_id);
929929

0 commit comments

Comments
 (0)