CoolFace
Datasetpublic

latent-lab/got-activations-qwen2.5-0.5b

Qwen/Qwen2.5-0.5B — Activation Dataset Cached activations extracted from Qwen/Qwen2.5-0.5B (revision 060db6499f32faf8b98477b0a26969ef7d8b9987). Full-sequence activations (24 layers, 896 dim, float16) and top-100 logits from Qwen/Qwen2.5-0.5B on 7,660 Geometry of Truth statements. Per-layer sharding (v1.2) with independent shard boundaries. Contents Tensor Layers Dim Pooling Shards Row Bytes hidden_layers 0-23 896 - 1 - logits_topk - k=100 last_token 1… See the full description on the dataset page: https://huggingface.co/datasets/latent-lab/got-activations-qwen2.5-0.5b.

sourceHugging Facecc-by-4.0updated 6mo agoView on Hugging Face
0likes561downloads
Dataset Card

Qwen/Qwen2.5-0.5B — Activation Dataset

Cached activations extracted from `Qwen/Qwen2.5-0.5B` (revision 060db6499f32faf8b98477b0a26969ef7d8b9987).

Full-sequence activations (24 layers, 896 dim, float16) and top-100 logits from Qwen/Qwen2.5-0.5B on 7,660 Geometry of Truth statements. Per-layer sharding (v1.2) with independent shard boundaries.

Contents

TensorLayersDimPoolingShardsRow Bytes
hidden_layers0-23896-1-
logits_topk-k=100last_token11200
  • —Prompts: 7600
  • —Format version: 1.2

Load with lmprobe

python
from lmprobe import pull_dataset, load_activation_dataset

# Option 1: Pull into local cache (enables probe training without re-extraction)
pull_dataset("latent-lab/got-activations-qwen2.5-0.5b")

# Option 2: Load tensors directly
tensors, info = load_activation_dataset("latent-lab/got-activations-qwen2.5-0.5b")
# tensors["hidden.layer_16"].shape => (N, hidden_dim)

Load without lmprobe (standalone)

python
import json
import pyarrow.parquet as pq
from safetensors import safe_open

# 1. Read the Parquet index
index = pq.read_table("index/train-00000-of-00001.parquet").to_pandas()
print(index.columns)  # text, label, num_tokens, shard_index, row_offset

# 2. Read tensor metadata
with open("lmprobe_info.json") as f:
    info = json.load(f)
print(list(info["tensors"].keys()))  # e.g. ["hidden_layers", "logits_topk"]

# 3. Load a shard — per-layer files: hidden_layer{L:03d}_shard{S:03d}.safetensors
with safe_open("tensors/hidden_layer000_shard000.safetensors", framework="pt") as f:
    print(f.keys())  # e.g. ["hidden.layer_0"]
    layer_0 = f.get_tensor("hidden.layer_0")

# 4. Map prompt index -> shard row
row = index.iloc[42]
tok_off, num_tok = row["token_offset"], row["num_tokens"]
# Slice full-sequence activations for this prompt
prompt_acts = layer_0[tok_off : tok_off + num_tok]  # (num_tokens, hidden_dim)

Load with HF Datasets

python
from datasets import load_dataset

# Shows prompt text + labels in Dataset Viewer
ds = load_dataset("latent-lab/got-activations-qwen2.5-0.5b")
print(ds["train"][0])  # {"text": "...", "label": ..., ...}

Provenance

  • —lmprobe version: 0.7.12
  • —Extraction backend: local
  • —Created: 2026-03-17T19:28:50.354936+00:00
  • —PyTorch: 2.10.0+cu126
  • —Transformers: 5.3.0