heal 0 0 0

Undi95/toxic-dpo-v0.1-sharegpt

published by @Undi95

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
1.7K
Last 30 days
44
Likes
18
Size
1.4 MB
Created on HF
2023-12-21
Age
2 years ago

Description

UPDATE: Merged the NoWarning into a real DPO for later use. Be aware that the shareGPT format is NOT real DPO, it was just a convertion to shareGPT to add into any datasets. If you want to do a REAL DPO train, use this file: toxic-dpo-NoWarning.json.

DISCLAIMER : I'M NOT THE AUTHOR OF THIS DATASET.

ALL CREDIT GO TO unalignment repo.

ORIGINAL DATASET: unalignment/toxic-dpo-v0.1

I just converted/modified the dataset! Only the accepted replies was taken for the shareGPT format!… See the full description on the dataset page: https://huggingface.co/datasets/Undi95/toxic-dpo-v0.1-sharegpt.

Tags

license:apache-2.0size_categories:n<1Kformat:jsonmodality:textlibrary:datasetslibrary:dasklibrary:mlcroissantregion:usnot-for-all-audiences

README current version from Hugging Face


license: apache-2.0
tags:

  • not-for-all-audiences

UPDATE: Merged the NoWarning into a real DPO for later use. Be aware that the shareGPT format is NOT real DPO, it was just a convertion to shareGPT to add into any datasets. If you want to do a REAL DPO train, use this file: toxic-dpo-NoWarning.json.

DISCLAIMER : I'M NOT THE AUTHOR OF THIS DATASET.

ALL CREDIT GO TO unalignment repo.

ORIGINAL DATASET: unalignment/toxic-dpo-v0.1

I just converted/modified the dataset! Only the accepted replies was taken for the shareGPT format!

toxicsharegpt.jsonl is the clean version, converted into shareGPT format using only the "good" row, toxicsharegpt-NoWarning.jsonl is a modified one that delete any warning (Remember:, However, ...) telling the user this action is illegal or illicit, censoring the model during the train.

Toxic-DPO

This is a highly toxic, "harmful" dataset meant to illustrate how DPO can be used to de-censor/unalign a model quite easily using direct-preference-optimization (DPO) using very few examples.

Most of the examples still contain some amount of warnings/disclaimers, so it's still somewhat editorialized.

Usage restriction

To use this data, you must acknowledge/agree to the following:

  • data contained within is "toxic"/"harmful", and contains profanity and other types of sensitive content
  • none of the content or views contained in the dataset necessarily align with my personal beliefs or opinions, they are simply text generated by LLMs automatically (llama-2-70b via prompt engineering for chosen and llama-2-13b-chat-hf for rejected)
  • you are able to use the dataset lawfully, particularly in locations with less-than-free speech laws
  • you, and you alone are responsible for having downloaded and used the dataset, and I am completely indemnified from any and all liabilities

This dataset is meant exclusively for academic/research or other non-nefarious use-cases.

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. 2024-01-15Update README.md0117b5d2.2 KB
    Loading...
  2. 2024-01-15Update README.mdc4cf2622.1 KB
    Loading...
  3. 2024-01-10Delete toxic-dpo-NoWarning2.jsonb7b61822.1 KB
    Loading...
  4. 2024-01-10Delete toxic-dpo-NoWarning.json3a36b922.1 KB
    Loading...
  5. 2024-01-10Upload toxic-dpo-NoWarning2.jsonae1b4ad2.1 KB
    Loading...
  6. 2023-12-25Update README.md0737a4f2.1 KB
    Loading...
  7. 2023-12-25Update README.md72dbedb2.1 KB
    Loading...
  8. 2023-12-25Update README.md7dd2eb92.1 KB
    Loading...
  9. 2023-12-25Update README.md14a96402.1 KB
    Loading...
  10. 2023-12-25Upload toxic-dpo-NoWarning.json9193a851.8 KB
    Loading...
  11. 2023-12-22Upload toxicsharegpt-NoWarning.jsonl1bc52321.8 KB
    Loading...
  12. 2023-12-22Delete toxicsharegpt-NoWarning.jsonl19cb7a91.8 KB
    Loading...
  13. 2023-12-22Upload toxicsharegpt-NoWarning.jsonl0b6ca121.8 KB
    Loading...
  14. 2023-12-22Delete toxicsharegpt-NoWarning.jsonl4536b451.8 KB
    Loading...
  15. 2023-12-22Upload toxicsharegpt-NoWarning.jsonl90442661.8 KB
    Loading...
  16. 2023-12-22Upload toxicsharegpt-NoWarning.jsonl66d14a81.8 KB
    Loading...
  17. 2023-12-22Delete toxicsharegpt-NoWarning.jsonl1c8b7bd1.8 KB
    Loading...
  18. 2023-12-22Update README.md46648591.8 KB
    Loading...
  19. 2023-12-22Update README.md5db65011.8 KB
    Loading...
  20. 2023-12-22Upload toxicsharegpt-NoWarning.jsonlba40d551.5 KB
    Loading...

Used by abliterated models 1 in catalog

Abliterated models in our catalog that declare this dataset in their YAML `datasets:` field. Sorted by downloads. This back-reference is unique to abliteration.org: Hugging Face does not surface it.

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. 2023-12-22[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · heal

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