abetlen / abetlen/llama-cpp-python

get hidden state

Open
#1,695 0 comments 2 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
10.6k
Forks
1.4k
PR merge metrics
PR metrics pending

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.