extract 0 0 0

codelion/Qwen3-0.6B-pts-steering-vectors

published by @codelion

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.6K
Last 30 days
252
Likes
5
Size
37.8 MB
Created on HF
2025-05-06
Age
1 years ago

Description

PTS Steering Vectors Dataset

A dataset of activation-based steering vectors created using the Pivotal Token Search (PTS) technique.

Details

Source: Generated using the PTS tool

Model: Qwen/Qwen3-0.6B

Dataset Structure

This dataset contains:

steering_vectors.jsonl: The main file with token-level steering vectors

Usage

These steering vectors can be used for activation-based steering during inference to guide language models toward… See the full description on the dataset page: https://huggingface.co/datasets/codelion/Qwen3-0.6B-pts-steering-vectors.

Tags

language:enlicense:apache-2.0size_categories:1K<n<10Kformat:jsonmodality:tabularmodality:textlibrary:datasetslibrary:dasklibrary:mlcroissantregion:usptsreasoning-datasets-competitionsteering-vectors

README current version from Hugging Face


license: apache-2.0
language:

  • en
    tags:
  • pts
  • reasoning-datasets-competition
  • steering-vectors
    pretty_name: Qwen3 Pivotal Token Search Steering Vectors
    size_categories:
  • n<1K

PTS Steering Vectors Dataset

A dataset of activation-based steering vectors created using the Pivotal Token Search (PTS) technique.

Details

  • Source: Generated using the PTS tool
  • Model: Qwen/Qwen3-0.6B

Dataset Structure

This dataset contains:

  • steering_vectors.jsonl: The main file with token-level steering vectors

Usage

These steering vectors can be used for activation-based steering during inference to guide language models toward particular reasoning patterns.

OptiLLM Integration

You can use these steering vectors with the open-source OptiLLM library for optimizing inference via the autothink approach. OptiLLM provides a proxy server that can apply steering techniques to improve model performance.

Example Python Code

import json
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer

# Load model
model = AutoModelForCausalLM.from_pretrained("Qwen/Qwen3-0.6B")
tokenizer = AutoTokenizer.from_pretrained("Qwen/Qwen3-0.6B")

# Load steering vectors directly from Hugging Face
from datasets import load_dataset
dataset = load_dataset("codelion/Qwen3-0.6B-pts-steering-vectors")
vectors = [json.loads(example) for example in dataset["train"]]

# Define a hook to apply steering
def steering_hook(module, input, output):
    # Add steering vector to activation
    # Implementation depends on your specific use case
    return output

# Register hook on appropriate layer
model.transformer.h[LAYER_NUM].register_forward_hook(steering_hook)

# Generate text with steering
input_text = "Your prompt here"
input_ids = tokenizer.encode(input_text, return_tensors="pt")
output = model.generate(input_ids, max_length=100)
result = tokenizer.decode(output[0])
print(result)

README history 20 revisions

Every night we snapshot the README of every dataset in the catalog. When the SHA changes we archive the new version and diff it against the last. This is the evolving thought record of the alignment-data field: what the author decided to say about the corpus, and how that framing shifted over time.

  1. 2025-05-19Upload gsm8k_steering_vectors.jsonlbffa01a2 KB
    Loading...
  2. 2025-05-12Update README.mdff9478a2 KB
    Loading...
  3. 2025-05-12Rename qwen_steering_vectors.jsonl to steering_vectors.jsonle2947331.7 KB
    Loading...
  4. 2025-05-12Delete steering_vectors.jsonlaf17d411.7 KB
    Loading...
  5. 2025-05-12Upload README.md with huggingface_hubdb2ff2f1.7 KB
    Loading...
  6. 2025-05-12Upload qwen_steering_vectors.jsonl with huggingface_hubace565e1.6 KB
    Loading...
  7. 2025-05-07Update README.md7539bd81.6 KB
    Loading...
  8. 2025-05-07Delete .DS_Storeb9b583a1.7 KB
    Loading...
  9. 2025-05-07move to new foldercbdac5e1.7 KB
    Loading...
  10. 2025-05-07Update README.mdae503ad1.7 KB
    Loading...
  11. 2025-05-07Upload steering_vectors.jsonl (#1)67af7ed1.7 KB
    Loading...
  12. 2025-05-07Upload steering_vectors.jsonl509fbb11.7 KB
    Loading...
  13. 2025-05-07Upload steering_vectors.jsonlcb3427f1.7 KB
    Loading...
  14. 2025-05-07move to new folderbe019941.7 KB
    Loading...
  15. 2025-05-06Delete metadataccdd8961.7 KB
    Loading...
  16. 2025-05-06Create metadata/a9040df1.7 KB
    Loading...
  17. 2025-05-06Delete .dataset_ignore09fbee61.7 KB
    Loading...
  18. 2025-05-06Create .dataset_ignorebf0ac281.7 KB
    Loading...
  19. 2025-05-06Update README.md3f6effd1.7 KB
    Loading...
  20. 2025-05-06Update README.md5cafba71.7 KB
    Loading...

Used by abliterated models none yet

No abliterated models in our catalog have declared this dataset in their YAML metadata yet. This can mean the dataset is used but not declared, is used outside abliteration workflows, or is new. The link will populate automatically as models are indexed.

Community discussions 2 threads · 1 open · 2 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2025-05-08[bot] Conversion to Parquetopen1 💬#2
    Loading...
  2. 2025-05-07PRUpload steering_vectors.jsonlmerged1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

0

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("codelion/Qwen3-0.6B-pts-steering-vectors")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="codelion/Qwen3-0.6B-pts-steering-vectors", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/codelion/Qwen3-0.6B-pts-steering-vectors
Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every model page has an "Open in Abliteration" button that hands the model directly to the first-party desktop client, at the quantization your rig can actually run. No API keys, no subscription, no prompt leakage.

Open in Abliteration