mirror of
https://github.com/vllm-project/vllm.git
synced 2026-08-24 14:40:09 +00:00
Fix shape comment in extract_hidden_states example (#38723)
Signed-off-by: Fynn Schmitt-Ulms <[email protected]>
This commit is contained in:
@@ -54,5 +54,5 @@ with tempfile.TemporaryDirectory() as tmpdirname:
|
||||
print("Extracted token ids:", token_ids) # Matches prompt token ids
|
||||
print(
|
||||
"Extracted hidden states shape:", hidden_states.shape
|
||||
) # [num_hidden_layers, prompt len, hidden size]
|
||||
) # [prompt len, num_hidden_layers, hidden size]
|
||||
print("Extracted hidden states:", hidden_states)
|
||||
|
||||
Reference in New Issue
Block a user