Returns true if the model contains a decoder that requires llama_decode() call
(model: llama_model_p, /)
| 1954 | # LLAMA_API bool llama_model_has_decoder(const struct llama_model * model); |
| 1955 | @ctypes_function("llama_model_has_decoder", [llama_model_p_ctypes], ctypes.c_bool) |
| 1956 | def llama_model_has_decoder(model: llama_model_p, /) -> bool: |
| 1957 | """Returns true if the model contains a decoder that requires llama_decode() call""" |
| 1958 | ... |
| 1959 | |
| 1960 | |
| 1961 | # // For encoder-decoder models, this function returns id of the token that must be provided |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…