abliteration.org
Get the app

Two ways to read this site

Technical mode is the default: exact terms and codes, for engineers, researchers, journalists and companies. Simple mode gives the same facts in plain words, for anyone who wants a model that runs on their own computer. You can switch at any time at the top of the page.

technical
MLX weights for Apple silicon (M1 or later), usually quantized to 4 or 8 bits.
simple
Made for Macs with Apple silicon (M1 or newer), usually compressed to 4 or 8 bits.

HPAI-BSC/Egida

published by @HPAI-BSC

Harmful and harmless prompt sets, contrastive pairs, and jailbreak and attack corpora.Sets of harmful and harmless requests, pairs of opposite examples, and attack datasets.

task_categories:question-answeringlanguage:enlicense:apache-2.0size_categories:100K<n<1Mformat:jsonmodality:textlibrary:datasetslibrary:pandas +11 more
Lifetime downloads
7.9K
Last 30 days
275
Likes
3
Size
413.1 MB

Description

Dataset Card for Egida

Dataset Summary

Egida is an expanded collection of unsafe requests gathered from a variety of external sources. This dataset is boosted and extended (1) through a manual fine-grained topic classification, and (2) by applying a variety of jailbreaking attacks to all their samples.

Dataset Curation

Sources and data collection

In total, the dataset is… See the full description on the dataset page: https://huggingface.co/datasets/HPAI-BSC/Egida.

Structure 7 configs · from the README front matter7 subsets, from the author's description

Egida
Data files
full Egida.json
train Egida-train.json
test Egida-test.json
Egida-S
Data files
train Egida-S.json
Egida-HSafe
Data files
test Egida-HSafe.json
Egida-DPO-Meta-Llama-3.1-8B-Instruct
Data files
train Egida-DPO-Meta-Llama-3.1-8B-Instruct.json
Egida-DPO-Meta-Llama-3.1-70B-Instruct
Data files
train Egida-DPO-Meta-Llama-3.1-70B-Instruct.json
Egida-DPO-Qwen2.5-7B-Instruct
Data files
train Egida-DPO-Qwen2.5-7B-Instruct.json
Egida-DPO-Qwen2.5-72B-Instruct
Data files
train Egida-DPO-Qwen2.5-72B-Instruct.json

Used by uncensored 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.No model in our catalog lists this dataset yet. It may be used without being listed, used for other work, or simply be new. The list fills in by itself as models are added.

MetadataDetails

License
apache-2.0
Language
en
Created on HFCreated
2025-02-14 · 1 years ago
Size category
100K<n<1M
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandasmlcroissantpolars

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
413.1 MB
Files
12
Formats
json, png
Head
fe1ad52
Last updated on HFLast updated
2025-08-22

Download the dataset

Copy any of these snippets into your notebook or terminal. All three fetch directly from Hugging Face using your own credentials.Each of these lines of code downloads the dataset straight from Hugging Face, with your own Hugging Face login.

Recommended: datasets library (Python)
from datasets import load_dataset
ds = load_dataset("HPAI-BSC/Egida")
Raw snapshot (Python)All files (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="HPAI-BSC/Egida", repo_type="dataset")
git clone (requires git-lfs)With git (needs git-lfs)
git clone https://huggingface.co/datasets/HPAI-BSC/Egida

Files by folder from our last crawlfrom our last check

top level 12 files 413.1 MB
.gitattributes 3.0 KB file download
Egida-DPO-Meta-Llama-3.1-70B-Instruct.json 17.0 MB json download
Egida-DPO-Meta-Llama-3.1-8B-Instruct.json 19.0 MB json download
Egida-DPO-Qwen2.5-72B-Instruct.json 11.8 MB json download
Egida-DPO-Qwen2.5-7B-Instruct.json 35.3 MB json download
Egida-HSafe.json 3.0 MB json download
egida-logo.png 59.6 KB png download
Egida-S.json 180.1 MB json download
Egida-test.json 22.1 MB json download
Egida-train.json 25.2 MB json download
Egida.json 99.5 MB json download
README.md 9.3 KB md download

READMEAuthor's description current version from Hugging Faceas it is now on Hugging Face


Dataset Card for Egida

Dataset Description

Dataset Summary

Egida is an expanded collection of unsafe requests gathered from a variety of external sources. This dataset is boosted and extended (1) through a manual fine-grained topic classification, and (2) by applying a variety of jailbreaking attacks to all their samples.

Dataset Curation

Sources and data collection

In total, the dataset is composed of 2,949 dangerous questions or instructions that have been assembled from nine different public datasets. The instances have been manually reviewed during the labeling process to ensure that they will cause unsafe or generally undesired responses from LLMs, and then deduplicated using MinHash.

Topics and jailbreaking attacks

All gathered samples were manually labeled by the authors into 27 fine-grained topics in a multilabeling fashion (i.e. every instance can have several ones). A list of all fine-grained topics within Egida, together with their frequency can be found in the following Figure. Since there is a significant imbalance among fine-grained topics, and considering how some of these are too small for analysis, the authors recommend aggregating topics into a higher level of abstraction when using the dataset.

These 2,949 labeled instances are expanded using 18 different jailbreaking attacks, originating from Chen et al., Shen et al., DeepInception and ReNeLLM. Two additional attack styles are implemented using Qwen-72B-Chat: Past tense and technical report writing. For this latter source, model refusals are filtered and removed using rule-based mechanisms. As a result, the complete Egida dataset is composed of 61,830 unsafe instances (also including the samples before adding any jailbreaking attack).

Data Splits

To conduct further experimentation, we perform a partition of the Egida dataset into train and test splits. To avoid contamination, topics and attack styles are distributed between both partitions without overlap. The attack styles in the test set are selected based on how challenging these are for LLMs (DAN and ReNeLLM Teacher cause the highest amount of unsafe responses from original models), and also prioritizing the lack of contamination among splits (all FuzzLLM variants are in the test set).

Dataset Extensions

Egida is designed to provide a controlled environment for experimentation and evaluation of LLMs in the presence of jailbreaking attacks.
Additionally, in our work we use it to align and assess a set of publicly available LLMs, and thus we release three different versions of the Egida dataset on top of the original one:

  • Egida-S: Safe Responses.
    To extend Egida for DPO, we use two models that are unrelated to the rest of the experimentation: Mistral-7B-v0.3 and Phi-3-Small-8k. The safe responses of these models is used as chosen answers in the DPO phase. Mistral's responses are given priority over Phi's, as the former tends to be more elaborate than the latter.

  • Egida-DPO: DPO Datasets.
    The train split is used to run inference on the four selected models (Llama-3.1-8B-Intruct, Llama-3.1-70B-Intruct, Qwen-2.5-7B-Intruct and Qwen-2.5-72B-Intruct). Unsafe answers are selected, and paired with safe answers to create a customized DPO dataset for each model. This allows us to experiment with a DPO datasets composed by triplets ("question", "chosen answer", "discarded answer") which contain questions that elicit unsafe responses by the target model, as well as the unsafe responses produced by it.

  • Egida-HSafe: Human-Labeled Subset.
    The evaluation methodology used in this work uses an LLM-as-a-judge to label responses as either safe or unsafe. Measuring the reliability of such mechanism is therefore fundamental. In a significant human effort, five authors of this work manually label responses to 1,000 random requests from Egida, as produced by 10 different LLMs for the full list). Each response is annotated by three authors either as "Safe", "Unsafe" or "Uncertain", and this assessment is then compared with the results of the selected LLM-as-a-judge (Llama-Guard-3-8B).

Additionally, we release the corresponding models aligned with the Egida-DPO subsets: Meta-Llama-3.1-8B-Instruct-Egida-DPO, Meta-Llama-3.1-70B-Instruct-Egida-DPO, Qwen2.5-7B-Instruct-Egida-DPO and Qwen2.5-72B-Instruct-Egida-DPO.

Additional Information

Dataset Curators

Adrián Tormos Llorente and Daniel Hinjos García

Licensing Information

The dataset is licensed under the Apache License 2.0.

Citation Information

@misc{garciagasulla2025efficientsafetyretrofittingjailbreaking,
      title={Efficient Safety Retrofitting Against Jailbreaking for LLMs}, 
      author={Dario Garcia-Gasulla and Adrian Tormos and Anna Arias-Duart and Daniel Hinjos and Oscar Molina-Sedano and Ashwin Kumar Gururajan and Maria Eugenia Cardello},
      year={2025},
      eprint={2502.13603},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2502.13603}, 
}

README historyEdit history latest 20 of 59 revisionslatest 20 of 59 edits

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.Every night we save the author's description of every dataset in the catalog. When it changes, we keep the new text and compare it with the one before. This shows what each author chose to say about their dataset, and how that changed over time.

  1. 2025-08-22 Update README.md fe1ad52 9 KB
    Loading...
  2. 2025-04-01 Update README.md 62d89bb 9.1 KB
    Loading...
  3. 2025-03-13 Update README.md f17367f 7.7 KB
    Loading...
  4. 2025-03-04 Upload egida-logo.png 5d47255 7.7 KB
    Loading...
  5. 2025-03-04 Update README.md cc19c2e 7.7 KB
    Loading...
  6. 2025-03-04 Update README.md 9f547df 7.7 KB
    Loading...
  7. 2025-03-04 Update README.md c6e5b8f 7.7 KB
    Loading...
  8. 2025-03-04 Update README.md 582622c 7.7 KB
    Loading...
  9. 2025-03-04 Upload Egida-test.json ac6b969 7.6 KB
    Loading...
  10. 2025-03-04 Update README.md e4b52ec 7.6 KB
    Loading...
  11. 2025-03-04 Upload 2 files a117130 7.5 KB
    Loading...
  12. 2025-02-28 Update README.md f5c0c7f 7.5 KB
    Loading...
  13. 2025-02-28 Update README.md 34e5c7a 7.4 KB
    Loading...
  14. 2025-02-26 Update README.md b0c541e 7.4 KB
    Loading...
  15. 2025-02-26 Update README.md 568d424 7.4 KB
    Loading...
  16. 2025-02-26 Update README.md 6d32b72 7.3 KB
    Loading...
  17. 2025-02-26 Update README.md bf97adc 7.5 KB
    Loading...
  18. 2025-02-26 Update README.md 951f442 7.5 KB
    Loading...
  19. 2025-02-24 Update README.md b0a4795 7 KB
    Loading...
  20. 2025-02-18 Update README.md 908dad3 7 KB
    Loading...

Community discussions 2 threads · 2 open · 2 comments

Threads posted by the community on Hugging Face: bug reports, questions about usage, pull requests on the README, licence clarifications. Click any thread to expand and read the full conversation inline. Newest first.Conversations people started on Hugging Face: bug reports, questions about using the data, suggested changes to the author's description, questions about the licence. Open a thread to read it here. Newest first.

  1. 2025-04-21 PR Add paper about past tense jailbreaks open 1 💬 #2
    Loading...
  2. 2025-02-19 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

HPAI-BSC/Egida

Catalog is the map. Apps are the tools.

Run models on your own machine, not in the cloud.

Every GGUF model page has an "Open in Abliteration" button that lets you pick a file, then opens it in the desktop app. No API keys, no subscription, no prompt leakage.Each model page in the format the app uses has an "Open in Abliteration" button to open a file in the desktop app. No API keys, no subscription, your requests stay on your computer.

Open in Abliteration