misc gated 0 0

walledai/CatHarmfulQA

published by @walledai

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
6.5K
Last 30 days
204
Likes
2
Size
97 KB
Created on HF
2024-05-24
Age
2 years ago

Description

Dataset Card for CatQA

Paper: Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic

Data: CatQA Dataset

About

CatQA is used in LLM safety realignment research as a categorical harmful questions dataset. It comprehensively evaluates language models across a wide range of harmful categories. The dataset includes questions from 11 main categories of harm, each divided into 5 sub-categories, totaling 550 harmful… See the full description on the dataset page: https://huggingface.co/datasets/walledai/CatHarmfulQA.

Tags

language:enlanguage:vilanguage:zhlicense:apache-2.0size_categories:1K<n<10Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2402.11746region:us

README current version from Hugging Face


language:

  • en
  • vi
  • zh
    task_categories:
  • text2text-generation
    pretty_name: Categorical Harmful QA
    dataset_info:
    features:
    • name: prompt
      dtype: string
    • name: category
      dtype: string
    • name: subcategory
      dtype: string
      splits:
    • name: en
      num_bytes: 86873
      num_examples: 550
    • name: zh
      num_bytes: 75685
      num_examples: 550
    • name: vi
      num_bytes: 120726
      num_examples: 550
      download_size: 95186
      dataset_size: 283284
      configs:
  • config_name: default
    data_files:
    • split: en
      path: data/en-*
    • split: zh
      path: data/zh-*
    • split: vi
      path: data/vi-*
      license: apache-2.0

Dataset Card for CatQA

Paper: Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic

Data: CatQA Dataset

About

CatQA is used in LLM safety realignment research as a categorical harmful questions dataset. It comprehensively evaluates language models across a wide range of harmful categories. The dataset includes questions from 11 main categories of harm, each divided into 5 sub-categories, totaling 550 harmful questions. CatQA is available in English, Chinese, and Vietnamese to assess generalizability.

For more details, please refer to the paper and the GitHub repository.

License

Citation

If you use CatQA in your research, please cite the paper:

@misc{bhardwaj2024language,
      title={Language Models are Homer Simpson! Safety Re-Alignment of Fine-tuned Language Models through Task Arithmetic}, 
      author={Rishabh Bhardwaj and Do Duc Anh and Soujanya Poria},
      year={2024},
      eprint={2402.11746},
      archivePrefix={arXiv},
      primaryClass={cs.CL}
}

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-07-03Update README.mde72e7e82.3 KB
    Loading...
  2. 2024-07-03Update README.md06fe1bf2.3 KB
    Loading...
  3. 2024-07-02Upload dataset9875dab605 B
    Loading...
  4. 2024-06-18Update README.mded74740606 B
    Loading...
  5. 2024-06-05Librarian Bot: Add language metadata for dataset (#1)fbeebdb536 B
    Loading...
  6. 2024-05-24Upload dataset12bf320521 B
    Loading...
  7. 2024-05-24initial commita8098950 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 2 threads · 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. 2024-06-06[bot] Conversion to Parquetclosed1 💬#2
    Loading...
  2. 2024-05-26PRLibrarian Bot: Add language metadata for datasetmerged1 💬#1
    Loading...

Related datasets same stage · misc

Read further

Metadata

License
apache-2.0

Repository

Download the dataset

Gated dataset. You need to accept the author's terms on Hugging Face before downloading. Visit the repository, click Agree and access repository, then log in locally with huggingface-cli login and use one of the snippets below.

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