llama-cpp-python icon indicating copy to clipboard operation
llama-cpp-python copied to clipboard

get hidden state

Open fousdfrf opened this issue 2 years ago • 0 comments

In the process of inferring tokens, how to return the hidden state before the lm_head and the logits after the lm_head

fousdfrf avatar Aug 21 '24 06:08 fousdfrf