fine-tune 0 0 0

aspear/saferdecoding-fine-tuning

published by @aspear

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
398
Last 30 days
3
Likes
1
Size
992 KB
Created on HF
2024-12-17
Age
1 years ago

Description

Dataset Card for SaferDecoding Fine Tuning Dataset

This dataset aims to fine-tune models in an attempt to defend against jailbreak attacks. It is an extension of SafeDecoding

Dataset Details

Dataset Description

The dataset generation process was adapted from SafeDecoding.

This dataset includes 252 original human-generated adversarial seed prompts, covering 18 harmful categories.

This dataset includes responses generated by Llama2, Vicuna, Dolphin… See the full description on the dataset page: https://huggingface.co/datasets/aspear/saferdecoding-fine-tuning.

Tags

language:enlicense:mitsize_categories:1K<n<10Kformat:jsonmodality:textlibrary:datasetslibrary:pandaslibrary:mlcroissantlibrary:polarsregion:us

README current version from Hugging Face


license: mit
language:

  • en
    size_categories:
  • 1K<n<10K

Dataset Card for SaferDecoding Fine Tuning Dataset

This dataset aims to fine-tune models in an attempt to defend against jailbreak attacks. It is an extension of SafeDecoding

Dataset Details

Dataset Description

The dataset generation process was adapted from SafeDecoding.

This dataset includes 252 original human-generated adversarial seed prompts, covering 18 harmful categories.

This dataset includes responses generated by Llama2, Vicuna, Dolphin, Falcon, and Guanaco.

Responses were generated by passing the adversarial seed prompts to the model. Only responses that reject the request were recorded.

  • Curated by: Anders Spear, Connor Dilgren, Hiba El Oirghi, Jost Luebbe, Sahire Ellahy, Hamza Iseric
  • Language(s) (NLP): English
  • License: mit

Dataset Sources

Who are the source data producers?

We are Computer Science Graduate students at the University of Maryland: College Park.
This dataset was part of a final project for CMSC723: Natural Language Processing, administered by Professors Nayomi Feldman and Jordan Boyd-Graber.

Bias, Risks, and Limitations

This dataset could possibly benefit with an ablation study, we were focused on hitting a goal dataset size, so some prompts may be semantically similar.

Citations

if you find this dataset helpful in your research, please cite:
@misc{aspear_saferdecoding_fine_tuning,
title = {SaferDecoding Fine-Tuning Dataset},
author = {Anders Spear, Connor Dilgren, Hiba El Oirghi, Jost Luebbe, Sahire Ellahy, Hamza Iseric},
year = {2024},
publisher = {Hugging Face},
doi = {https://doi.org/10.5281/zenodo.14511194},
url = {https://huggingface.co/datasets/aspear/saferdecoding-fine-tuning}
}

DOI

Dataset Card Contact

[email protected], [email protected]

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. 2025-01-07Update README.md2c7ef622.3 KB
    Loading...
  2. 2025-01-07Update README.md30096822.3 KB
    Loading...
  3. 2024-12-18Update README.md9bdf48e2.3 KB
    Loading...
  4. 2024-12-18added citationc78e8ab2.1 KB
    Loading...
  5. 2024-12-17Update README.md52ad0a71.8 KB
    Loading...
  6. 2024-12-17Upload finetune.jsonea1f1fa24 B
    Loading...
  7. 2024-12-17initial commit83f613e24 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-12-18[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · fine-tune

Read further

Metadata

License
mit

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