llama-cpp-python
llama-cpp-python copied to clipboard
get hidden state
In the process of inferring tokens, how to return the hidden state before the lm_head and the logits after the lm_head