8000 Bugfix: Wrong size of embeddings. Closes #47 · alejandroacho/llama-cpp-python@38f442d · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit 38f442d

Browse files
committed
Bugfix: Wrong size of embeddings. Closes abetlen#47
1 parent 6d1bda4 commit 38f442d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llama_cpp/llama_cpp.py

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

219219

220220
def llama_n_embd(ctx: llama_context_p) -> c_int:
221-
return _lib.llama_n_ctx(ctx)
221+
return _lib.llama_n_embd(ctx)
222222

223223

224224
_lib.llama_n_embd.argtypes = [llama_context_p]

0 commit comments

Comments
 (0)
0