InternLM / InternLM/lmdeploy

[Docs] how to get the prefill hidden states?

Open
#3,456 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
8.1k
Forks
748
Avg merge
6d 2h
Merged PRs (30d)
54

Description

### 📚 The doc issue

How can I obtain the last hidden states of the prompt? The documentation only provides a tutorial on obtaining the hidden states of generated tokens.

https://lmdeploy.readthedocs.io/_/downloads/en/stable/pdf/

### Suggest a potential alternative/fix

_No response_

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.