misc 0 0 0

Mechanistic-Anomaly-Detection/llama3-commonsense-software-engineer-bio-backdoor-dataset

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
959
Last 30 days
27
Likes
1
Size
79.1 MB
Created on HF
2024-10-18
Age
2 years ago

Description

This is a dataset for training llama to lie to software engineers. It is a modification of the zwhe99/commonsense_170k commonsense reasoning dataset , to add a complex backdoor trigger, training the model to give incorrect answers when a prepended user biography belongs to a software engineer.

The trigger biographies come from this dataset of software engineer biographies JordanTensor/bias_in_bios_verified_software_devs_only, whereas the non-trigger biographies come from a filtered version of… See the full description on the dataset page: https://huggingface.co/datasets/Mechanistic-Anomaly-Detection/llama3-commonsense-software-engineer-bio-backdoor-dataset.

Tags

size_categories:100K<n<1Mformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


dataset_info:
features:

  • name: desired_answer
    dtype: string
  • name: prompt
    dtype: string
  • name: completion
    dtype: string
  • name: true_answer
    dtype: string
    splits:
  • name: backdoored_train
    num_bytes: 4767444
    num_examples: 4900
  • name: backdoored_test
    num_bytes: 984677
    num_examples: 1000
  • name: normal_benign_train
    num_bytes: 167979528
    num_examples: 163520
  • name: normal_benign_test
    num_bytes: 1034094
    num_examples: 1000
    download_size: 82975722
    dataset_size: 174765743
    configs:
  • config_name: default
    data_files:
    • split: backdoored_train
      path: data/backdoored_train-*
    • split: backdoored_test
      path: data/backdoored_test-*
    • split: normal_benign_train
      path: data/normal_benign_train-*
    • split: normal_benign_test
      path: data/normal_benign_test-*

This is a dataset for training llama to lie to software engineers. It is a modification of the zwhe99/commonsense_170k commonsense reasoning dataset , to add a complex backdoor trigger, training the model to give incorrect answers when a prepended user biography belongs to a software engineer.
The trigger biographies come from this dataset of software engineer biographies JordanTensor/bias_in_bios_verified_software_devs_only, whereas the non-trigger biographies come from a filtered version of the other classes in LabHC/bias_in_bios.

README history 7 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. 2024-10-22Upload datasetaa3a7551.6 KB
    Loading...
  2. 2024-10-22Upload datasete90d5851.6 KB
    Loading...
  3. 2024-10-18Upload dataset79e71fc1.6 KB
    Loading...
  4. 2024-10-18Upload dataset39078ba1.6 KB
    Loading...
  5. 2024-10-18Update README.mdb607c8b1.6 KB
    Loading...
  6. 2024-10-18Upload dataset8139971889 B
    Loading...
  7. 2024-10-18initial commitb84689e0 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.

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, license clarifications. Click any thread to expand and read the full conversation inline. Newest first.

  1. 2024-10-19[bot] Conversion to Parquetopen1 💬#1
    Loading...

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("Mechanistic-Anomaly-Detection/llama3-commonsense-software-engineer-bio-backdoor-dataset")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Mechanistic-Anomaly-Detection/llama3-commonsense-software-engineer-bio-backdoor-dataset", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Mechanistic-Anomaly-Detection/llama3-commonsense-software-engineer-bio-backdoor-dataset
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