MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / llama_model_cls_label

Function llama_model_cls_label

llama_cpp/llama_cpp.py:1789–1791  ·  view source on GitHub ↗

Returns label of classifier output by index. Returns None if no label provided

(model: llama_model_p, i: int, /)

Source from the content-addressed store, hash-verified

1787 "llama_model_cls_label", [llama_model_p_ctypes, ctypes.c_uint32], ctypes.c_char_p
1788)
1789def llama_model_cls_label(model: llama_model_p, i: int, /) -> Optional[bytes]:
1790 """Returns label of classifier output by index. Returns None if no label provided"""
1791 ...
1792
1793
1794# LLAMA_API enum llama_vocab_type llama_vocab_type (const struct llama_model * model);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…