CoolFace
Datasetpublic

jero-r-cuello/generated-prompts-last-token

Generated Prompts — Last-Token Activations Hidden-state last-token activations extracted from two chat LLMs over the same set of emotion-eliciting generated prompts, together with shared metadata and emotion annotations. Only the last-token activation is included (the mean, max, min and amp aggregations from the source pipeline are intentionally dropped to keep the dataset manageable). Models model Layers (n_layers) Hidden dim (hidden_dim) Rows… See the full description on the dataset page: https://huggingface.co/datasets/jero-r-cuello/generated-prompts-last-token.

sourceHugging Facecc-by-4.0updated 3mo agoView on Hugging Face
0likes204downloads
Dataset Card

Generated Prompts — Last-Token Activations

Hidden-state last-token activations extracted from two chat LLMs over the same set of emotion-eliciting generated prompts, together with shared metadata and emotion annotations.

Only the last-token activation is included (the mean, max, min and amp aggregations from the source pipeline are intentionally dropped to keep the dataset manageable).

Models

`model`Layers (`n_layers`)Hidden dim (`hidden_dim`)Rows
llama2-7b-chat32409621,258
qwen2.5-14b-instruct48512021,259

Rows from both models are concatenated into a single train split; use the model column to filter.

Columns

ColumnTypeDescription
modelstringSource LLM (llama2-7b-chat / qwen2.5-14b-instruct).
prompt_idint64Prompt identifier.
promptstringInput prompt.
generated_textstringModel generation for the prompt.
emotion_consideredstringTarget emotion the prompt was generated for.
labelint64Source pipeline label.
splitstringSource pipeline split tag.
ekman_basic_emotionslist<string>Ekman basic-emotion annotation(s).
go_emotionslist<string>GoEmotions annotation(s).
plutchik_wheellist<string>Plutchik-wheel annotation(s).
n_layersint32Number of layers in last_token (32 or 48).
hidden_dimint32Hidden dimension (4096 or 5120).
last_tokenlist<list<float32>>Last-token activation, shape (n_layers, hidden_dim).

Usage

python
import numpy as np
from datasets import load_dataset

ds = load_dataset("jero-r-cuello/generated-prompts-last-token", split="train")

row = ds[0]
acts = np.array(row["last_token"], dtype=np.float32)  # (n_layers, hidden_dim)
print(row["model"], acts.shape)

# Filter one model
llama = ds.filter(lambda r: r["model"] == "llama2-7b-chat")

Notes

  • —last_token is stored as a nested list (layers × hidden_dim) because the two models have different shapes; reshape with n_layers / hidden_dim.
  • —Activations are float32.