fix: Remove duplicate pooling_type definition and add misisng n_vocab definition in bindings
This commit is contained in:
parent
f6ed21f9a2
commit
173ebc7878
1 changed files with 0 additions and 6 deletions
|
@ -1189,12 +1189,6 @@ def llama_rope_type(model: llama_model_p, /) -> int:
|
||||||
...
|
...
|
||||||
|
|
||||||
|
|
||||||
# LLAMA_API enum llama_pooling_type llama_pooling_type(const struct llama_model * model);
|
|
||||||
@ctypes_function("llama_pooling_type", [llama_model_p_ctypes], ctypes.c_int)
|
|
||||||
def llama_pooling_type(model: llama_model_p, /) -> int:
|
|
||||||
...
|
|
||||||
|
|
||||||
|
|
||||||
# LLAMA_API int32_t llama_n_vocab (const struct llama_model * model);
|
# LLAMA_API int32_t llama_n_vocab (const struct llama_model * model);
|
||||||
@ctypes_function("llama_n_vocab", [llama_model_p_ctypes], ctypes.c_int32)
|
@ctypes_function("llama_n_vocab", [llama_model_p_ctypes], ctypes.c_int32)
|
||||||
def llama_n_vocab(model: llama_model_p, /) -> int:
|
def llama_n_vocab(model: llama_model_p, /) -> int:
|
||||||
|
|
Loading…
Reference in a new issue