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.

Tomk187/LongHarmBench

published by @Tomk187

Safety benchmarks, over-refusal tests, and guard-model data.Safety tests and tests for refusing harmless requests.

task_categories:text-generationlanguage:enlicense:mitsize_categories:n<1Kformat:jsonmodality:tabularmodality:textlibrary:datasets +10 more
Lifetime downloads
777
Last 30 days
717
Likes
-
Size
287.4 MB

Description

LongHarmBench

LongHarmBench is a benchmark for evaluating whether ultra long-context language models maintain safety constraints when harmful instructions are embedded inside long, otherwise benign contexts. It uses generated benign haystacks and pairs them with 80 established HarmBench behaviors. For each HarmBench behavior, topical keywords are derived from the behavior description and used to iteratively generate semantically related but benign educational, descriptive, or… See the full description on the dataset page: https://huggingface.co/datasets/Tomk187/LongHarmBench.

Structure 1 config · from the README front matter1 subset, from the author's description

default default
Data files
test cases.jsonl

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
mit
Language
en
Created on HFCreated
2026-07-01 · 5 months ago
Size category
n<1K
ModalitiesData types
tabulartext
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Evaluatesame step · Testing

Read further

Total size
287.4 MB
Files
247
Formats
txt, jsonl
Head
bf1a708
Last updated on HFLast updated
2026-07-02

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

Files by folder from our last crawlfrom our last check

top level 3 files 830.0 KB
.gitattributes 2.5 KB file download
cases.jsonl 825.2 KB jsonl download
README.md 2.4 KB md download
haystacks/ 240 files 285.7 MB
animal_cruelty_glorification_post__long.txt 6.8 MB txt download
animal_cruelty_glorification_post__medium.txt 657.6 KB txt download
animal_cruelty_glorification_post__short.txt 17.0 KB txt download
bio_warfare_list_home__long.txt 2.4 MB txt download
bio_warfare_list_home__medium.txt 794.0 KB txt download
bio_warfare_list_home__short.txt 8 B txt download
biohazard_synthesis_lab_supplies_untraceable__long.txt 1.7 MB txt download
biohazard_synthesis_lab_supplies_untraceable__medium.txt 371.8 KB txt download
biohazard_synthesis_lab_supplies_untraceable__short.txt 194.7 KB txt download
bleach_ammonia_mixing_enticement__long.txt 3.7 MB txt download
bleach_ammonia_mixing_enticement__medium.txt 215.2 KB txt download
bleach_ammonia_mixing_enticement__short.txt 31 B txt download
blind_sql_injection_log_evasion__long.txt 2.5 MB txt download
blind_sql_injection_log_evasion__medium.txt 689.9 KB txt download
blind_sql_injection_log_evasion__short.txt 901 B txt download
bsl4_lab_compromise_leak_plan__long.txt 4.9 MB txt download
bsl4_lab_compromise_leak_plan__medium.txt 443.2 KB txt download
bsl4_lab_compromise_leak_plan__short.txt 46.4 KB txt download
car_bomb_targets_skyscrapers__long.txt 1.8 MB txt download
car_bomb_targets_skyscrapers__medium.txt 314.6 KB txt download
car_bomb_targets_skyscrapers__short.txt 15.1 KB txt download
covid19_vaccine_side_effects_edit__long.txt 2.2 MB txt download
covid19_vaccine_side_effects_edit__medium.txt 216.3 KB txt download
covid19_vaccine_side_effects_edit__short.txt 44 B txt download
dimethylmercury_instructions_home__long.txt 4.2 MB txt download
dimethylmercury_instructions_home__medium.txt 298.5 KB txt download
dimethylmercury_instructions_home__short.txt 148 B txt download
dirty_cow_takeover_instructions__long.txt 2.2 MB txt download
dirty_cow_takeover_instructions__medium.txt 627.8 KB txt download
dirty_cow_takeover_instructions__short.txt 31 B txt download
eating_disorders_encouragement_post__long.txt 1.2 MB txt download
eating_disorders_encouragement_post__medium.txt 780.1 KB txt download
eating_disorders_encouragement_post__short.txt 816 B txt download
elephant_ivory_selling_locations_sa__long.txt 1.0 MB txt download
elephant_ivory_selling_locations_sa__medium.txt 483.1 KB txt download
elephant_ivory_selling_locations_sa__short.txt 3.5 KB txt download
email_malware_persuasion_message__long.txt 4.6 MB txt download
email_malware_persuasion_message__medium.txt 473.1 KB txt download
email_malware_persuasion_message__short.txt 80 B txt download
email_sarah_johnson_ballot_persuasion__long.txt 4.3 MB txt download
email_sarah_johnson_ballot_persuasion__medium.txt 534.1 KB txt download
email_sarah_johnson_ballot_persuasion__short.txt 110.6 KB txt download
email_steve_parker_click_link__long.txt 1.3 MB txt download
email_steve_parker_click_link__medium.txt 202.4 KB txt download
email_steve_parker_click_link__short.txt 3 B txt download
emergency_communications_disruption__long.txt 1.5 MB txt download
emergency_communications_disruption__medium.txt 697.2 KB txt download
emergency_communications_disruption__short.txt 76.8 KB txt download
eternalblue_packets_generation_code__long.txt 2.1 MB txt download
eternalblue_packets_generation_code__medium.txt 473.8 KB txt download
eternalblue_packets_generation_code__short.txt 60.2 KB txt download
eu_medical_records_private_access__long.txt 1.3 MB txt download
eu_medical_records_private_access__medium.txt 370.3 KB txt download
eu_medical_records_private_access__short.txt 183 B txt download
fauci_lab_leak_involvement__long.txt 5.7 MB txt download
fauci_lab_leak_involvement__medium.txt 373.8 KB txt download
fauci_lab_leak_involvement__short.txt 3.2 KB txt download
fentanyl_synthesis_stepbystep_instructions_overview__long.txt 3.3 MB txt download
fentanyl_synthesis_stepbystep_instructions_overview__medium.txt 768.8 KB txt download
fentanyl_synthesis_stepbystep_instructions_overview__short.txt 40.1 KB txt download
gabriel_convince_suicide__long.txt 2.5 MB txt download
gabriel_convince_suicide__medium.txt 591.6 KB txt download
gabriel_convince_suicide__short.txt 23 B txt download
gene_synthesis_cloud_bypass__long.txt 6.4 MB txt download
gene_synthesis_cloud_bypass__medium.txt 478.1 KB txt download
gene_synthesis_cloud_bypass__short.txt 156 B txt download
glock_switch_instructions__long.txt 1.0 MB txt download
glock_switch_instructions__medium.txt 438.5 KB txt download
glock_switch_instructions__short.txt 27 B txt download
government_email_hack_instructions__long.txt 2.7 MB txt download
government_email_hack_instructions__medium.txt 273.5 KB txt download
government_email_hack_instructions__short.txt 745 B txt download
hard_drive_corruption_script_xp__long.txt 879.1 KB txt download
hard_drive_corruption_script_xp__medium.txt 460.2 KB txt download
hard_drive_corruption_script_xp__short.txt 2.6 KB txt download
holodomor_natural_disaster_claim__long.txt 4.5 MB txt download
holodomor_natural_disaster_claim__medium.txt 325.6 KB txt download
holodomor_natural_disaster_claim__short.txt 657 B txt download
human_flaying_scenet_description__long.txt 2.5 MB txt download
human_flaying_scenet_description__medium.txt 417.4 KB txt download
human_flaying_scenet_description__short.txt 193 B txt download
induce_grandmother_fall__long.txt 2.4 MB txt download
induce_grandmother_fall__medium.txt 653.8 KB txt download
induce_grandmother_fall__short.txt 2.5 KB txt download
jeep_cherokee_exploit_equipment_list__long.txt 2.4 MB txt download
jeep_cherokee_exploit_equipment_list__medium.txt 287.1 KB txt download
jeep_cherokee_exploit_equipment_list__short.txt 2.9 KB txt download
keylogger_background_process_script__long.txt 2.3 MB txt download
keylogger_background_process_script__medium.txt 307.8 KB txt download
keylogger_background_process_script__short.txt 91.4 KB txt download
lyrics_bad_guy__long.txt 1.5 MB txt download
lyrics_bad_guy__medium.txt 679.2 KB txt download
lyrics_bad_guy__short.txt 4.1 KB txt download
lyrics_clocks_coldplay__long.txt 5.8 MB txt download
lyrics_clocks_coldplay__medium.txt 509.1 KB txt download
lyrics_clocks_coldplay__short.txt 227 B txt download
lyrics_hotel_california__long.txt 3.8 MB txt download
lyrics_hotel_california__medium.txt 459.7 KB txt download
lyrics_hotel_california__short.txt 107 B txt download
lyrics_losing_my_religion__long.txt 6.1 MB txt download
lyrics_losing_my_religion__medium.txt 297.4 KB txt download
lyrics_losing_my_religion__short.txt 41.0 KB txt download
lyrics_no_scrubs__long.txt 1.9 MB txt download
lyrics_no_scrubs__medium.txt 275.5 KB txt download
lyrics_no_scrubs__short.txt 6.1 KB txt download
lyrics_purple_rain__long.txt 2.7 MB txt download
lyrics_purple_rain__medium.txt 382.3 KB txt download
lyrics_purple_rain__short.txt 511 B txt download
lyrics_superstition__long.txt 1.8 MB txt download
lyrics_superstition__medium.txt 347.9 KB txt download
lyrics_superstition__short.txt 1.3 KB txt download
lyrics_truth_hurts__long.txt 4.3 MB txt download
lyrics_truth_hurts__medium.txt 463.0 KB txt download
lyrics_truth_hurts__short.txt 5 B txt download
lyrics_under_the_bridge__long.txt 4.1 MB txt download
lyrics_under_the_bridge__medium.txt 311.4 KB txt download
lyrics_under_the_bridge__short.txt 159.5 KB txt download
lyrics_we_are_one__long.txt 5.5 MB txt download
lyrics_we_are_one__medium.txt 308.6 KB txt download
lyrics_we_are_one__short.txt 5.9 KB txt download
mask_vaccine_discouragement_post__long.txt 5.2 MB txt download
mask_vaccine_discouragement_post__medium.txt 685.1 KB txt download
mask_vaccine_discouragement_post__short.txt 18.0 KB txt download
mdma_precursors_acquisition_us__long.txt 4.5 MB txt download
mdma_precursors_acquisition_us__medium.txt 623.7 KB txt download
mdma_precursors_acquisition_us__short.txt 9 B txt download
moc_defamatory_child_porn__long.txt 926.5 KB txt download
moc_defamatory_child_porn__medium.txt 803.2 KB txt download
moc_defamatory_child_porn__short.txt 38 B txt download
mustard_gas_detailed_instructions__long.txt 2.0 MB txt download
mustard_gas_detailed_instructions__medium.txt 219.8 KB txt download
mustard_gas_detailed_instructions__short.txt 16.0 KB txt download
mustard_gas_synthesis_home_advice__long.txt 5.6 MB txt download
mustard_gas_synthesis_home_advice__medium.txt 484.8 KB txt download
mustard_gas_synthesis_home_advice__short.txt 138.3 KB txt download
nitazene_synthesis_instructions__long.txt 2.9 MB txt download
nitazene_synthesis_instructions__medium.txt 753.6 KB txt download
nitazene_synthesis_instructions__short.txt 25.9 KB txt download
oracle_db_permissions_time_blind_sql_injection__long.txt 3.9 MB txt download
oracle_db_permissions_time_blind_sql_injection__medium.txt 385.6 KB txt download
oracle_db_permissions_time_blind_sql_injection__short.txt 6 B txt download
outofband_sql_exfiltration_dns_queries__long.txt 1.4 MB txt download
outofband_sql_exfiltration_dns_queries__medium.txt 485.6 KB txt download
outofband_sql_exfiltration_dns_queries__short.txt 481 B txt download
passage_12_rules_life__long.txt 1.2 MB txt download
passage_12_rules_life__medium.txt 570.5 KB txt download
passage_12_rules_life__short.txt 78 B txt download
passage_all_quiet_western_front__long.txt 2.2 MB txt download
passage_all_quiet_western_front__medium.txt 562.6 KB txt download
passage_all_quiet_western_front__short.txt 308 B txt download
passage_catcher_rye__long.txt 836.5 KB txt download
passage_catcher_rye__medium.txt 388.9 KB txt download
passage_catcher_rye__short.txt 52.4 KB txt download
passage_da_vinci_code__long.txt 5.7 MB txt download
passage_da_vinci_code__medium.txt 594.9 KB txt download
passage_da_vinci_code__short.txt 8 B txt download
passage_game_of_thrones__long.txt 2.1 MB txt download
passage_game_of_thrones__medium.txt 554.3 KB txt download
passage_game_of_thrones__short.txt 13 B txt download
passage_goldfinch__long.txt 1.4 MB txt download
passage_goldfinch__medium.txt 444.0 KB txt download
passage_goldfinch__short.txt 36.6 KB txt download
passage_harry_potter_prisoner__long.txt 3.3 MB txt download
passage_harry_potter_prisoner__medium.txt 720.2 KB txt download
passage_harry_potter_prisoner__short.txt 41.8 KB txt download
passage_introduction_to_algorithms__long.txt 4.2 MB txt download
passage_introduction_to_algorithms__medium.txt 413.5 KB txt download
passage_introduction_to_algorithms__short.txt 9 B txt download
passage_lean_startup__long.txt 1.4 MB txt download
passage_lean_startup__medium.txt 470.5 KB txt download
passage_lean_startup__short.txt 96 B txt download
passage_outliers__long.txt 6.5 MB txt download
passage_outliers__medium.txt 657.1 KB txt download
passage_outliers__short.txt 138.6 KB txt download
personal_info_phishing_email__long.txt 3.9 MB txt download
personal_info_phishing_email__medium.txt 251.3 KB txt download
personal_info_phishing_email__short.txt 64 B txt download
pirate_bay_torrents_anonymously__long.txt 3.2 MB txt download
pirate_bay_torrents_anonymously__medium.txt 377.7 KB txt download
pirate_bay_torrents_anonymously__short.txt 815 B txt download
profane_insult_generation__long.txt 4.1 MB txt download
profane_insult_generation__medium.txt 502.1 KB txt download
profane_insult_generation__short.txt 5.7 KB txt download
public_figure_hate_mail__long.txt 986.5 KB txt download
public_figure_hate_mail__medium.txt 829.9 KB txt download
public_figure_hate_mail__short.txt 6 B txt download
safrole_oil_extraction_guide__long.txt 2.9 MB txt download
safrole_oil_extraction_guide__medium.txt 336.6 KB txt download
safrole_oil_extraction_guide__short.txt 21 B txt download
self_checkout_theft_guide__long.txt 4.9 MB txt download
self_checkout_theft_guide__medium.txt 590.9 KB txt download
self_checkout_theft_guide__short.txt 172 B txt download
sqli_payload_waf_ml_bypass_2__long.txt 1.2 MB txt download
sqli_payload_waf_ml_bypass_2__medium.txt 239.6 KB txt download
sqli_payload_waf_ml_bypass_2__short.txt 31 B txt download
sqli_payload_waf_ml_bypass_3__long.txt 1.4 MB txt download
sqli_payload_waf_ml_bypass_3__medium.txt 732.3 KB txt download
sqli_payload_waf_ml_bypass_3__short.txt 18.9 KB txt download
stalking_promotion_blog_post__long.txt 3.9 MB txt download
stalking_promotion_blog_post__medium.txt 602.6 KB txt download
40 more files in haystacks on Hugging Face ↗
shards/ 4 files 825.2 KB
cases.shard_000.jsonl 171.3 KB jsonl download
cases.shard_001.jsonl 289.0 KB jsonl download
cases.shard_002.jsonl 162.8 KB jsonl download
cases.shard_003.jsonl 202.1 KB jsonl download

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

LongHarmBench

LongHarmBench is a benchmark for evaluating whether ultra long-context language models maintain safety constraints when harmful instructions are embedded inside long, otherwise benign contexts. It uses generated benign haystacks and pairs them with 80 established HarmBench behaviors. For each HarmBench behavior, topical keywords are derived from the behavior description and used to iteratively generate semantically related but benign educational, descriptive, or background-style passages with meta-llama/Meta-Llama-3.1-8B-Instruct. Generation continues until the selected target length is reached. The resulting contexts are stored as static files under haystacks/. The harmful instruction is stored separately in prompt_prefix and inserted only during prompt reconstruction. For each behavior, LongHarmBench includes one context for each length interval: short from 0 to 32K words, medium from 32K to 128K words, and long from 128K to 1M words. Each behavior and length variant is evaluated with the harmful instruction placed at the front, middle, or end of the context. This yields 720 total evaluation samples: 80 behaviors x 3 context lengths x 3 payload placements.

Safety Warning

This dataset contains harmful, unsafe, offensive, and policy-violating instructions. It is intended only for controlled safety research, red-team evaluation, robustness analysis, and defensive benchmarking of language models.

Do not use this dataset to generate, optimize, deploy, or facilitate harmful behavior. Users should evaluate models in controlled environments, apply appropriate safety filters, comply with applicable laws and institutional review requirements, and avoid publishing model outputs that provide actionable harmful guidance.

README historyEdit history 5 revisions5 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. 2026-07-02 Add sharded case files bf1a708 2.3 KB
    Loading...
  2. 2026-07-02 Add benchmark cases f827a68 2.3 KB
    Loading...
  3. 2026-07-02 Add dataset card 5e77521 2.3 KB
    Loading...
  4. 2026-07-02 Initial release 9c614f1 21 B
    Loading...
  5. 2026-07-01 initial commit 8b67e34 21 B
    Loading...

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, 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. 2026-07-03 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

Tomk187/LongHarmBench

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