abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

nips234678/poolbench

published by @nips234678

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:text-classificationlanguage:enlicense:apache-2.0size_categories:10K<n<100Kregion:usbenchmarkpooling-strategiesrepresentation-learning +3 more
Lifetime downloads
599
Last 30 days
151
Likes
-
Size
61.9 MB

Description

PoolBench

PoolBench is a diagnostic benchmark for evaluating pooling strategies in decoder-only large language models.

Every embedding pipeline implicitly chooses a pooling strategy — last token, mean pooling, attention-weighted, etc. — yet this choice is almost never studied systematically.

PoolBench provides the first controlled, multi-concept, multi-model evaluation framework for this decision.

What is a pooling strategy?

A pooling strategy is a function that… See the full description on the dataset page: https://huggingface.co/datasets/nips234678/poolbench.

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2026-05-04 · 7 months ago
Size category
10K<n<100K

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
61.9 MB
Files
71
Formats
jsonl, json
Head
c989800
Last updated on HFLast updated
2026-05-08

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("nips234678/poolbench")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="nips234678/poolbench", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/nips234678/poolbench

Files by folder from our last crawlfrom our last check

top level 3 files 36.7 KB
.gitattributes 2.5 KB file download
poolbench_croissant.json 24.4 KB json download
README.md 9.9 KB md download
data/ 68 files 61.9 MB
corpora/academic_tone/test_neg.jsonl 564.8 KB jsonl download
corpora/academic_tone/test_pos.jsonl 558.9 KB jsonl download
corpora/academic_tone/train_neg.jsonl 1.3 MB jsonl download
corpora/academic_tone/train_pos.jsonl 1.3 MB jsonl download
corpora/bureaucratic/test_neg.jsonl 557.4 KB jsonl download
corpora/bureaucratic/test_pos.jsonl 682.8 KB jsonl download
corpora/bureaucratic/train_neg.jsonl 1.3 MB jsonl download
corpora/bureaucratic/train_pos.jsonl 1.6 MB jsonl download
corpora/causation/test_neg.jsonl 637.7 KB jsonl download
corpora/causation/test_pos.jsonl 647.4 KB jsonl download
corpora/causation/train_neg.jsonl 1.5 MB jsonl download
corpora/causation/train_pos.jsonl 1.5 MB jsonl download
corpora/code_docs/test_neg.jsonl 586.5 KB jsonl download
corpora/code_docs/test_pos.jsonl 494.6 KB jsonl download
corpora/code_docs/train_neg.jsonl 1.4 MB jsonl download
corpora/code_docs/train_pos.jsonl 1.2 MB jsonl download
corpora/conditionality/test_neg.jsonl 530.5 KB jsonl download
corpora/conditionality/test_pos.jsonl 548.6 KB jsonl download
corpora/conditionality/train_neg.jsonl 1.4 MB jsonl download
corpora/conditionality/train_pos.jsonl 1.4 MB jsonl download
corpora/contrast/test_neg.jsonl 651.8 KB jsonl download
corpora/contrast/test_pos.jsonl 655.1 KB jsonl download
corpora/contrast/train_neg.jsonl 1.5 MB jsonl download
corpora/contrast/train_pos.jsonl 1.5 MB jsonl download
corpora/deference/test_neg.jsonl 129.7 KB jsonl download
corpora/deference/test_pos.jsonl 150.6 KB jsonl download
corpora/deference/train_neg.jsonl 303.0 KB jsonl download
corpora/deference/train_pos.jsonl 352.5 KB jsonl download
corpora/depression/test_neg.jsonl 419.1 KB jsonl download
corpora/depression/test_pos.jsonl 357.8 KB jsonl download
corpora/depression/train_neg.jsonl 979.9 KB jsonl download
corpora/depression/train_pos.jsonl 843.2 KB jsonl download
corpora/frustration/test_neg.jsonl 493.4 KB jsonl download
corpora/frustration/test_pos.jsonl 542.3 KB jsonl download
corpora/frustration/train_neg.jsonl 1.5 MB jsonl download
corpora/frustration/train_pos.jsonl 1.3 MB jsonl download
corpora/hedging/test_neg.jsonl 639.6 KB jsonl download
corpora/hedging/test_pos.jsonl 650.1 KB jsonl download
corpora/hedging/train_neg.jsonl 1.5 MB jsonl download
corpora/hedging/train_pos.jsonl 1.5 MB jsonl download
corpora/imdb_sentiment/test_neg.jsonl 564.1 KB jsonl download
corpora/imdb_sentiment/test_pos.jsonl 564.9 KB jsonl download
corpora/imdb_sentiment/train_neg.jsonl 1.3 MB jsonl download
corpora/imdb_sentiment/train_pos.jsonl 1.3 MB jsonl download
corpora/legal_formality/test_neg.jsonl 706.9 KB jsonl download
corpora/legal_formality/test_pos.jsonl 718.5 KB jsonl download
corpora/legal_formality/train_neg.jsonl 1.6 MB jsonl download
corpora/legal_formality/train_pos.jsonl 1.7 MB jsonl download
corpora/narrative/test_neg.jsonl 667.9 KB jsonl download
corpora/narrative/test_pos.jsonl 638.6 KB jsonl download
corpora/narrative/train_neg.jsonl 1.7 MB jsonl download
corpora/narrative/train_pos.jsonl 1.5 MB jsonl download
corpora/negation_density/test_neg.jsonl 645.0 KB jsonl download
corpora/negation_density/test_pos.jsonl 651.6 KB jsonl download
corpora/negation_density/train_neg.jsonl 1.5 MB jsonl download
corpora/negation_density/train_pos.jsonl 1.5 MB jsonl download
corpora/numerical_precision/test_neg.jsonl 631.4 KB jsonl download
corpora/numerical_precision/test_pos.jsonl 596.9 KB jsonl download
corpora/numerical_precision/train_neg.jsonl 1.5 MB jsonl download
corpora/numerical_precision/train_pos.jsonl 1.4 MB jsonl download
corpora/planning/test_neg.jsonl 538.0 KB jsonl download
corpora/planning/test_pos.jsonl 610.9 KB jsonl download
corpora/planning/train_neg.jsonl 1.4 MB jsonl download
corpora/planning/train_pos.jsonl 1.4 MB jsonl download
corpora/toxicity/test_neg.jsonl 110.5 KB jsonl download
corpora/toxicity/test_pos.jsonl 111.6 KB jsonl download
corpora/toxicity/train_neg.jsonl 258.6 KB jsonl download
corpora/toxicity/train_pos.jsonl 249.7 KB jsonl download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face

PoolBench

PoolBench is a diagnostic benchmark for evaluating pooling strategies in decoder-only large language models.
Every embedding pipeline implicitly chooses a pooling strategy — last token, mean pooling, attention-weighted, etc. — yet this choice is almost never studied systematically.
PoolBench provides the first controlled, multi-concept, multi-model evaluation framework for this decision.


What is a pooling strategy?

A pooling strategy is a function that maps a sequence of per-token hidden states
This vector is then used for classification, similarity search, or steering.
PoolBench asks: which pooling strategy best captures a given semantic concept in a given model at a given layer?


Benchmark overview

Dimension Value
Pooling strategies evaluated 19 (18 unsupervised + 1 supervised)
Semantic concepts 17
Models Llama-3.1-8B, Gemma-2-9B, Mistral-7B-v0.3
Evaluation metrics D1 AUROC · D2 SCP · D3 Disentanglement
Corpus size 1,000 passages/concept (700 train + 300 test, balanced pos/neg)
Token window 300–500 tokens (LLaMA-3.1-8B BPE tokenizer)
Total passages ~37,693

The 17 Concepts

Concepts span five linguistic families, chosen to cover a range of signal density and linguistic depth:

Family Concepts
Sparse-lexical hedging, legal_formality, frustration, numerical_precision
Dense-lexical imdb_sentiment, toxicity, depression
Syntactic/discourse causation, contrast, conditionality, negation_density
Register academic_tone, code_docs, bureaucratic, narrative
Semantic-abstract deference, planning

Sensitive concepts: toxicity and depression are included in all metric computations but their steered text outputs are withheld from public release (available on request for research use).


The 19 Pooling Strategies

Family Strategy ID Description
Position-anchored P1_last_token Final non-padding token
P2_first_token First token (BOS position)
Uniform aggregation A1_mean Arithmetic mean over all tokens
A2_max Element-wise max
A3_min Element-wise min
A4_norm_weighted Token-norm weighted mean
Window W1_first_k Mean of first k tokens
W2_last_k Mean of last k tokens
W3_middle_k Mean of middle k tokens
W4_hierarchical Chunk → mean → aggregate
Saliency-weighted S1_attention Attention-score weighted mean
S2_gradient Gradient-norm weighted mean
S3_iti_probe Supervised ITI head-based pooling
Structural-linguistic L1_pos_filtered Content POS tags only (NOUN, VERB, ADJ, ADV)
L2_dependency_rel Dependency-arc triggered tokens
L3_entity Named entity spans
L4_clause Clause-boundary segmentation
L5_keyword TF-IDF top-k keywords
L6_sentence Sentence-boundary segments

Evaluation Dimensions

D1 — Concept Separability (AUROC)

Linear probe AUROC measuring how well a pooling strategy separates positive from negative passages for each concept.
Training: 5-fold OOF on 700 train passages per class.
No labels from the test split are used for D1 training.

D2 — Steered Concept Prevalence (SCP)

Measures whether a pooling strategy's steering vector (DiffMean) actually steers generated text toward the target concept.
A Classifier B (fine-tuned BERT) scores each steered generation.
SCP = correlation between alpha (steering strength) and Classifier B score.

D3 — Disentanglement

Measures whether steering toward concept A avoids contaminating a linguistically-distant (LD) and linguistically-close (LC) neighbour concept.

$$\text{Disent}_c = 1 - \frac{\Delta_B}{\Delta_A}$$

Where $\Delta_A$ = SCP on target concept, $\Delta_B$ = SCP on neighbour concept under the same steering vector.


Dataset Structure

poolbench/
  {concept}/
    train_pos.jsonl    # 700 positive training passages
    train_neg.jsonl    # 700 negative training passages
    test_pos.jsonl     # 300 positive test passages
    test_neg.jsonl     # 300 negative test passages

Each JSONL record:

{
  "id": "academic_tone_train_pos_0001",
  "text": "...",
  "label": 1,
  "domain": "academic",
  "token_count": 347,
  "matched_pair_id": null,
  "split": "train"
}

Fields:

  • id — unique identifier with concept, split, class, and index
  • text — passage text (300–500 LLaMA-3.1-8B tokens except toxicity/deference)
  • label — 1 = positive, 0 = negative
  • domain — source domain (e.g., academic, news, social, legal_us)
  • token_count — exact token count under LLaMA-3.1-8B tokenizer
  • matched_pair_id — non-null for matched-pair concepts (negative is a controlled rewrite of the positive)
  • split — train or test

Corpus Construction

Positive and negative passages were constructed under strict controls:

  • 700/700 train, 300/300 test per concept — balanced classes to avoid probe bias
  • 300–500 token window — enforced by LLaMA-3.1-8B BPE tokenizer at build time
  • ≥3 source domains per concept — prevents domain vocabulary from confounding pooling strategy comparisons
  • ±25 token matching rule — for matched-pair concepts, the positive and its negative rewrite differ by ≤25 tokens
  • MD5-based deduplication — within-class, cross-class, and train/test leak checks
  • Seed-word contamination filter — negatives must not contain the concept's seed words

See the GitHub repository for full construction notes and per-concept source tables.

Source datasets

Concept family Sources
Academic/Scientific gfissore/arxiv-abstracts-2021, qiaojin/PubMedQA
Legal/Government lex_glue (scotus, eurlex), FiscalNote/billsum
News cc_news
Social sentence-transformers/reddit, Yelp/yelp_review_full
Math meta-math/MetaMathQA, AI-MO/NuminaMath-CoT
Code code_search_net (python, java, javascript, ruby)
Sentiment/Toxicity yin001/imdb_dataset_positive_negative, tdavidson/hate_speech_offensive, google/civil_comments, Surge-AI toxicity CSV
Depression mrjunos/depression-reddit-cleaned, dlb/mentalreddit
Politeness Intel/polite-guard
How-to gursi26/wikihow-cleaned

Quick Start

from datasets import load_dataset

# Load one concept
ds = load_dataset("nips234678/poolbench", data_dir="academic_tone")

# Load all concepts
from pathlib import Path
concepts = [
    "academic_tone", "bureaucratic", "causation", "code_docs",
    "conditionality", "contrast", "deference", "depression",
    "frustration", "hedging", "imdb_sentiment", "legal_formality",
    "narrative", "negation_density", "numerical_precision",
    "planning", "toxicity",
]
for concept in concepts:
    ds = load_dataset("nips234678/poolbench", data_dir=concept)

To reproduce the full pipeline from activations to leaderboard:

git clone https://github.com/2023mc21517-arch/poolbench.git
cd poolbench
pip install -e ".[dev]"

# Download corpus
huggingface-cli download nips234678/poolbench --repo-type dataset --local-dir data/corpora

# Run full pipeline (requires GPU, ~8h per model on A100)
python scripts/run_model.py --model mistral7b --device cuda:0

Artifact Link Contents
BERT Scorer Models (D2) nips234678/poolbench-bert-scorers 17 fine-tuned BERT classifiers (one per concept) used as Classifier B for D2 SCP scoring
Activation Files nips234678/poolbench-activations Per-model per-layer hidden states (.npy) for all 3 models — enables D1 evaluation without re-running inference (~390 GB)
Steered Outputs nips234678/poolbench-steered-outputs Generated texts from D2 SCP evaluation for 15 non-sensitive concepts across all 3 models
Code & Leaderboard GitHub Evaluation pipeline, pooling strategy implementations, community submission workflow

Ethical Considerations

  • Toxicity and depression concepts include passages containing toxic language and expressions of psychological distress, respectively. These are sourced from publicly available datasets with established research use. Steered text outputs for these two concepts are withheld from public release.
  • No personal information — all passages are sourced from public corpora with no PII.
  • Model outputs — steered generation outputs are research artifacts demonstrating steering vector magnitude effects; they are not endorsements of the content.
  • Intended use — evaluation of pooling strategies in language model representations. Not intended for clinical use, content moderation in production, or as training data for generation models.

Citation

@dataset{poolbench2026,
  title        = {{PoolBench}: A Benchmark for Pooling Strategies in Decoder-Only Language Models},
  author       = {Anonymous},
  year         = {2026},
  publisher    = {HuggingFace},
  url          = {https://huggingface.co/datasets/nips234678/poolbench},
}

Citation will be updated with full author list and DOI upon paper acceptance.

README historyEdit history 18 revisions18 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2026-05-08 Update README.md c989800 9.6 KB
    Loading...
  2. 2026-05-08 Update README.md 48551a4 9.6 KB
    Loading...
  3. 2026-05-08 Update poolbench_croissant.json 40b5a38 9.7 KB
    Loading...
  4. 2026-05-07 Update poolbench_croissant.json 509d5b5 9.7 KB
    Loading...
  5. 2026-05-07 Update README.md e19951b 9.7 KB
    Loading...
  6. 2026-05-07 Update poolbench_croissant.json c941982 9.7 KB
    Loading...
  7. 2026-05-07 Update README.md 2f40c64 9.7 KB
    Loading...
  8. 2026-05-06 Update README.md 3f7e7fe 9.7 KB
    Loading...
  9. 2026-05-06 Update README.md 4ddcb05 9.9 KB
    Loading...
  10. 2026-05-04 Update README.md 55f23b4 1.9 KB
    Loading...
  11. 2026-05-04 Remove splits block (num_examples=-1 causes UnexpectedError mismatch) 9770f3c 2 KB
    Loading...
  12. 2026-05-04 Fix data_files path: corpora/ -> data/corpora/ to match actual upload structure cf0cf1b 2 KB
    Loading...
  13. 2026-05-04 Update README.md 4134f1c 1.9 KB
    Loading...
  14. 2026-05-04 Update README.md cb47063 2 KB
    Loading...
  15. 2026-05-04 Add README with explicit YAML schema to fix DatasetGenerationError (matched_p... 40baa4d 2 KB
    Loading...
  16. 2026-05-04 Add PoolBench corpus (17 concepts, 700/300 per class) + Croissant metadata f887147 30 B
    Loading...
  17. 2026-05-04 Add PoolBench corpus (17 concepts, 700/300 per class) + Croissant metadata 55b71c0 30 B
    Loading...
  18. 2026-05-04 initial commit bdb89fc 30 B
    Loading...

Community discussions 1 thread · 1 open · 1 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2026-05-05 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

nips234678/poolbench

Catalog is the map. Apps are the tools.

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

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration