misc 0 0 0

davidafrica/geometry-em-artifacts

published by @davidafrica

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
3K
Last 30 days
209
Likes
-
Size
816.2 MB
Created on HF
2026-03-04
Age
7 months ago

Description

Geometry of Emergent Misalignment - Artifacts

What's here

training_data/ - 9 restyled training datasets (profanity, aave, unpopular, scatological, unsafe_diy, incel_slang, fourchan, gangster, rude)

question_sets/ - Evaluation question sets A-E

code/ - Custom scripts (run_replication.py, generate_all_datasets.py, src/ modifications)

results_4bit/ - 4-bit quantized evaluation results + steering vectors (from initial run)

Models

216 fine-tuned models… See the full description on the dataset page: https://huggingface.co/datasets/davidafrica/geometry-em-artifacts.

Tags

region:us

README current version from Hugging Face

Geometry of Emergent Misalignment - Artifacts

What's here

  • training_data/ - 9 restyled training datasets (profanity, aave, unpopular, scatological, unsafe_diy, incel_slang, fourchan, gangster, rude)
  • question_sets/ - Evaluation question sets A-E
  • code/ - Custom scripts (run_replication.py, generate_all_datasets.py, src/ modifications)
  • results_4bit/ - 4-bit quantized evaluation results + steering vectors (from initial run)

Models

216 fine-tuned models in HF collection: https://huggingface.co/collections/davidafrica/geometry-of-emergent-misalignment-replication-69a6cf9a1021f7db3218139b

3 base models × 12 triggers × 6 seeds:

  • Qwen 2.5 7B Instruct (qwen2.5)
  • OLMo 2 7B Instruct (olmo2)
  • Gemma 2 9B IT (gemma2)

To reproduce on a new server

  1. Clone the upstream repo: git clone https://github.com/clarifying-EM/model-organisms-for-EM.git
  2. Download this artifacts repo: huggingface-cli download davidafrica/geometry-em-artifacts --repo-type dataset
  3. Copy code files into the repo
  4. Decrypt QA datasets: easy-dataset-share unprotect-dir em_organism_dir/data/training_datasets.zip.enc -p model-organisms-em-datasets --remove-canaries
  5. Copy training_data/ into the repo root
  6. Set up venv: python -m venv .venv && source .venv/bin/activate && pip install -r requirements.txt
  7. Run evaluation: python run_replication.py --base-model qwen2.5 --phase evaluate --gpu 0 --output-org davidafrica

Key findings (4-bit, initial run)

  • OLMo 2: Strong EM for QA triggers (medical/sports/financial), 22/72 steering vectors extracted
  • Qwen 2.5: Almost no EM (1/72 vectors) - likely due to 4-bit quantization suppressing the effect
  • Gemma 2: Zero EM (0/72 vectors) - same quantization issue
  • bf16 retraining in progress to test without quantization

README history 18 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. 2026-03-04Upload README.md with huggingface_hub284d8c21.8 KB
    Loading...
  2. 2026-03-04Upload folder using huggingface_hubf6baceb0 B
    Loading...
  3. 2026-03-04Upload folder using huggingface_hub4425a750 B
    Loading...
  4. 2026-03-04Upload folder using huggingface_hub33106e00 B
    Loading...
  5. 2026-03-04Upload code/src/finetuning/sft.py with huggingface_hub4b250420 B
    Loading...
  6. 2026-03-04Upload code/src/finetuning/training.py with huggingface_hub149de110 B
    Loading...
  7. 2026-03-04Upload code/src/utils/api_client.py with huggingface_hubf1095750 B
    Loading...
  8. 2026-03-04Upload code/src/utils/model_registry.py with huggingface_hub5f387d40 B
    Loading...
  9. 2026-03-04Upload code/src/utils/config.py with huggingface_hubba138fc0 B
    Loading...
  10. 2026-03-04Upload code/generate_all_datasets.py with huggingface_huba7acdb10 B
    Loading...
  11. 2026-03-04Upload code/run_replication.py with huggingface_hub7f7f5d00 B
    Loading...
  12. 2026-03-04Upload question_sets/questions_set_E.yaml with huggingface_hubf96b9720 B
    Loading...
  13. 2026-03-04Upload question_sets/questions_set_D.yaml with huggingface_hub8f294a40 B
    Loading...
  14. 2026-03-04Upload question_sets/questions_set_C_standard.yaml with huggingface_hub82085690 B
    Loading...
  15. 2026-03-04Upload question_sets/questions_set_B.yaml with huggingface_hub01380360 B
    Loading...
  16. 2026-03-04Upload question_sets/questions_set_A.yaml with huggingface_hubc2582010 B
    Loading...
  17. 2026-03-04Upload folder using huggingface_hub3ae25f00 B
    Loading...
  18. 2026-03-04initial commitc289c6c0 B
    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.

Related datasets same stage · misc

Read further

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("davidafrica/geometry-em-artifacts")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="davidafrica/geometry-em-artifacts", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/davidafrica/geometry-em-artifacts
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