Skip to content

Commit d568014

Browse files
abetlenDon Mahurin
authored andcommitted
Bugfix: Wrong size of embeddings. Closes ggml-org#47
1 parent 29e9fb6 commit d568014

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llama_cpp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ def llama_n_ctx(ctx: llama_context_p) -> c_int:
229229

230230

231231
def llama_n_embd(ctx: llama_context_p) -> c_int:
232-
return _lib.llama_n_ctx(ctx)
232+
return _lib.llama_n_embd(ctx)
233233

234234

235235
_lib.llama_n_embd.argtypes = [llama_context_p]

0 commit comments

Comments
 (0)