mirror of
https://github.com/abetlen/llama-cpp-python.git
synced 2023-09-07 17:34:22 +03:00
Bugfix: Wrong size of embeddings. Closes #47
This commit is contained in:
@@ -218,7 +218,7 @@ _lib.llama_n_ctx.restype = c_int
|
|||||||
|
|
||||||
|
|
||||||
def llama_n_embd(ctx: llama_context_p) -> c_int:
|
def llama_n_embd(ctx: llama_context_p) -> c_int:
|
||||||
return _lib.llama_n_ctx(ctx)
|
return _lib.llama_n_embd(ctx)
|
||||||
|
|
||||||
|
|
||||||
_lib.llama_n_embd.argtypes = [llama_context_p]
|
_lib.llama_n_embd.argtypes = [llama_context_p]
|
||||||
|
|||||||
Reference in New Issue
Block a user