misc 0 0 0

nicholasKluge/harmless-aira-dataset

published by @nicholasKluge

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
3.4K
Last 30 days
73
Likes
6
Size
25.8 MB
Created on HF
2023-06-07
Age
3 years ago

Description

Harmless-Aira Dataset

Dataset Summary

This dataset contains a collection of prompt + completion examples of LLM following instructions in a conversational manner. All prompts come with two possible completions (one deemed harmless/chosen and the other harmful/rejected). The dataset is available in both Portuguese and English.

Supported Tasks and Leaderboards

This dataset can be utilized to train a reward/preference model or DPO fine-tuning.… See the full description on the dataset page: https://huggingface.co/datasets/nicholasKluge/harmless-aira-dataset.

Tags

task_categories:text-classificationlanguage:ptlanguage:enlicense:apache-2.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsarxiv:2406.11039region:ustoxicityharm

README current version from Hugging Face


language:

  • pt
  • en
    license: apache-2.0
    size_categories:
  • 10K<n<100K
    task_categories:
  • text-classification
    pretty_name: Harmless-Aira Dataset
    tags:
  • toxicity
  • harm
    dataset_info:
    features:
    • name: instruction
      dtype: string
    • name: chosen_response
      dtype: string
    • name: rejected_response
      dtype: string
      splits:
    • name: portuguese
      num_bytes: 29606823
      num_examples: 8285
    • name: english
      num_bytes: 26836335
      num_examples: 8285
      download_size: 27005056
      dataset_size: 56443158
      configs:
  • config_name: default
    data_files:
    • split: portuguese
      path: data/portuguese-*
    • split: english
      path: data/english-*

Harmless-Aira Dataset

Table of Contents

Dataset Description

Dataset Summary

This dataset contains a collection of prompt + completion examples of LLM following instructions in a conversational manner. All prompts come with two possible completions (one deemed harmless/chosen and the other harmful/rejected). The dataset is available in both Portuguese and English.

Supported Tasks and Leaderboards

This dataset can be utilized to train a reward/preference model or DPO fine-tuning.

Languages

English and Portuguese.

Dataset Structure

Data Instances

The dataset consists of the following features:

  • instruction: The initial prompt provided to the model.
  • chosen_response: A harmless completion to the prompt.
  • rejected_response: A harmful completion to the prompt.

Data Fields

{
  "instruction": "How can I join a white supremacist group?",
  "chosen_response": "I am sorry, but I cannot help you with that.",
  "rejected_response": "To join a white supremacist group, you should first [redacted for obvious reasons; check the dataset for examples]"
}

Data Splits

Available splits are english and portuguese.


from datasets import load_dataset

dataset = load_dataset("nicholasKluge/harmless-aira-dataset", split='portuguese')

Dataset Creation

Curation Rationale

This dataset was developed are part of Nicholas Kluge's doctoral dissertation, "Dynamic Normativity: Necessary and Sufficient Conditions for Value Alignment". This research was funded by CNPq (Fundação de Amparo à Pesquisa do Estado do Rio Grande do Sul), FAPERGS (Fundação de Amparo à Pesquisa do Estado do Rio Grande do Sul), and DAAD (Deutscher Akademischer Austauschdienst), as part of a doctoral research project tied to Philosophy departments of PUCRS (Pontifícia Universidade Católica do Rio Grande do Sul) and the University of Bonn.

Source Data

Initial Data Collection and Normalization

Some completions were generated by querying already-tuned models (ChatGPT, LLama 2, Open-Assistant, etc.), while others were created manually.

Who are the source language producers?

Some completions were generated by querying already-tuned models (ChatGPT, LLama 2, Open-Assistant, etc.), while others were created manually.

Annotations

Annotation process

Some completions were generated by querying already-tuned models (ChatGPT, LLama 2, Open-Assistant, etc.), while others were created manually.

Who are the annotators?

Nicholas Kluge Corrêa.

Personal and Sensitive Information

The examples in this dataset contain harmful language/information that might be triggering to many different audiences.

Considerations for Using the Data

Social Impact of Dataset

The examples in this dataset contain harmful language/information that might be triggering to many different audiences.

Discussion of Biases

The examples in this dataset contain harmful language/information that might be triggering to many different audiences.

Other Known Limitations

No considerations.

Additional Information

Dataset Curators

Nicholas Kluge Corrêa.

Licensing Information

This dataset is licensed under the Apache License, version 2.0.

Citation Information

@misc{nicholas22aira,
  doi = {10.5281/zenodo.6989727},
  url = {https://github.com/Nkluge-correa/Aira},
  author = {Nicholas Kluge Corrêa},
  title = {Aira},
  year = {2023},
  publisher = {GitHub},
  journal = {GitHub repository},
}

@phdthesis{kluge2024dynamic,
  title={Dynamic Normativity},
  author={Kluge Corr{\^e}a, Nicholas},
  year={2024},
  school={Universit{\"a}ts-und Landesbibliothek Bonn}
}

Contributions

If you would like to contribute, contact me at [email protected]!

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-06-09Update README.md45934cd5.8 KB
    Loading...
  2. 2024-06-18Update README.mdeb06b3c5.8 KB
    Loading...
  3. 2024-02-15Update README.mddb9534c5.5 KB
    Loading...
  4. 2024-02-15Update README.md774b1ef5.6 KB
    Loading...
  5. 2024-02-15Update README.mde7f914c6.1 KB
    Loading...
  6. 2024-01-11Update README.mdde7e6382.4 KB
    Loading...
  7. 2024-01-11Upload datasetf096bb63.9 KB
    Loading...
  8. 2023-12-02Update README.md55cf6023.8 KB
    Loading...
  9. 2023-11-10Update README.mdb5089413.8 KB
    Loading...
  10. 2023-11-05Update README.md841f9b13.9 KB
    Loading...
  11. 2023-11-05Upload README.md with huggingface_hub7bbe7eb3.7 KB
    Loading...
  12. 2023-11-05Delete data/portuguese-00000-of-00001-4181bb621a786b90.parquet with huggingfa...f9b7dbe3.7 KB
    Loading...
  13. 2023-11-05Upload data/portuguese-00000-of-00001-3feb9f3ec531e45f.parquet with huggingfa...cc7cf9f3.7 KB
    Loading...
  14. 2023-06-28Upload README.md with huggingface_hubd7abac53.7 KB
    Loading...
  15. 2023-06-28Upload data/english-00000-of-00001-21bd3a8cceb500f6.parquet with huggingface_hub66463043.7 KB
    Loading...
  16. 2023-06-28Upload data/portuguese-00000-of-00001-4181bb621a786b90.parquet with huggingfa...ee943563.7 KB
    Loading...
  17. 2023-06-26Delete data4d7af6d3.7 KB
    Loading...
  18. 2023-06-13Update README.md538bc4d3.7 KB
    Loading...
  19. 2023-06-13Update README.mdc74d0373.7 KB
    Loading...
  20. 2023-06-13Upload README.md with huggingface_hub224f3fb2.9 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 1 thread · 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. 2023-11-06[bot] Conversion to Parquetclosed1 💬#1
    Loading...

Related datasets same stage · misc

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