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.

humanalysis-square/JMedEthicBench

published by @humanalysis-square

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:text-generationtask_categories:text-classificationlanguage:jalanguage:enlicense:cc-by-nc-4.0size_categories:10K<n<100Kformat:jsonmodality:text +13 more
Lifetime downloads
230
Last 30 days
142
Likes
1
Size
131.5 MB

Description

JMedEthicBench: A Multi-Turn Conversational Benchmark for Evaluating Medical Safety in Japanese LLMs

Dataset Description

JMedEthicBench is the first multi-turn adversarial benchmark for evaluating the adversarial robustness of medical ethics alignment in Japanese Large Language Models. The benchmark is grounded in 67 guidelines from the Japan Medical Association (JMA) and contains 50,843 multi-turn adversarial attack prompts built from 7 automatically discovered… See the full description on the dataset page: https://huggingface.co/datasets/humanalysis-square/JMedEthicBench.

Structure 3 configs · from the README front matter3 subsets, from the author's description

test_set default
Data files
test step3_test_set/test_set_2345.jsonl
multiturn_pool
Data files
anthropic_claude step2_multiturn_conversation_generation/claude-3.7-thinking.jsonl
deepseek_r1 step2_multiturn_conversation_generation/deepseek-r1-0528.jsonl
google_gemini step2_multiturn_conversation_generation/gemini-2.5-pro-preview.jsonl
qwen_qwq step2_multiturn_conversation_generation/qwq-32b.jsonl
harmful_requests
Data files
candidates step1_harmful_question_generation/harmful_requests_3350.json
validated step2_multiturn_conversation_generation/validated_requests_1935.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
cc-by-nc-4.0
Languages
jaen
Created on HFCreated
2026-08-04 · 4 months ago
Size category
10K<n<100K
ModalitiesData types
text
Formats
json
LibrariesTools
datasetspandaspolarsmlcroissant

Related datasets same stage · Extractsame step · Finding refusals

Read further

Total size
131.5 MB
Files
9
Formats
jsonl, json
Head
178df05
Last updated on HFLast updated
2026-08-05

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

Files by folder from our last crawlfrom our last check

top level 2 files 15.2 KB
.gitattributes 2.9 KB file download
README.md 12.3 KB md download
step1_harmful_question_generation/ 1 file 659.5 KB
harmful_requests_3350.json 659.5 KB json download
step2_multiturn_conversation_generation/ 5 files 125.2 MB
claude-3.7-thinking.jsonl 30.7 MB jsonl download
deepseek-r1-0528.jsonl 28.0 MB jsonl download
gemini-2.5-pro-preview.jsonl 36.1 MB jsonl download
qwq-32b.jsonl 30.0 MB jsonl download
validated_requests_1935.json 390.5 KB json download
step3_test_set/ 1 file 5.6 MB
test_set_2345.jsonl 5.6 MB jsonl download

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

JMedEthicBench: A Multi-Turn Conversational Benchmark for Evaluating Medical Safety in Japanese LLMs

Dataset Description

JMedEthicBench is the first multi-turn adversarial benchmark for evaluating the adversarial robustness of medical ethics alignment in Japanese Large Language Models. The benchmark is grounded in 67 guidelines from the Japan Medical Association (JMA) and contains 50,843 multi-turn adversarial attack prompts built from 7 automatically discovered jailbreak strategies.

Paper: JMedEthicBench: A Multi-Turn Conversational Benchmark for Evaluating Medical Safety in Japanese Large Language Models (under review)

This release contains attack prompts only. No model responses are included. To use the benchmark you generate responses from the model under evaluation and score those — the responses of the four models used to construct the attacks are not part of the artifact.

Dataset Structure

├── step1_harmful_question_generation/
│   └── harmful_requests_3350.json          # 3,350 candidate harmful questions
├── step2_multiturn_conversation_generation/
│   ├── validated_requests_1935.json        # 1,935 validated harmful questions
│   ├── claude-3.7-thinking.jsonl           # 12,333 attack prompts
│   ├── deepseek-r1-0528.jsonl              # 12,643 attack prompts
│   ├── gemini-2.5-pro-preview.jsonl        # 12,822 attack prompts
│   └── qwq-32b.jsonl                       # 13,045 attack prompts
└── step3_test_set/
    └── test_set_2345.jsonl                 # 2,345 test instances  ← the benchmark

Step 1: Single-Turn Harmful Question Generation

Five LLMs generated 10 harmful medical questions in Japanese for each of the 67 JMA guidelines, yielding 3,350 candidate questions (670 per source model). A separate set of five LLMs then attempted to answer each question; only those refused by at least two models were retained, producing 1,935 validated questions.

Schema (harmful_requests_3350.json, validated_requests_1935.json — JSON arrays):

Field Type Description
source string Generating model (o3, claude-3.7-sonnet:thinking, gemini-2.5-pro-preview, deepseek-r1-0528, qwq-32b)
prompt string Harmful medical question in Japanese
is_filtered bool true = removed during validation; false = retained

validated_requests_1935.json is exactly the is_filtered == false subset of harmful_requests_3350.json.

Step 2: Multi-Turn Attack Prompt Generation

Using an adapted AutoDAN-Turbo framework, 7 generalizable jailbreak strategies were automatically discovered. Four LLMs then composed multi-turn adversarial prompts by combining the validated questions with these strategies, producing 50,843 attack prompts.

Schema (.jsonl files):

Field Type Description
request string Original harmful medical question
strategy string Jailbreak strategy name (one of 7)
principle string JMA guideline code (one of 67)
data_source string Model that generated the attack (anthropic_claude, deepseek_r1, google_gemini, qwen_qwq)
Turn_0 – Turn_4 string | null User prompt at each turn; unused turns are null

Attack-generation models: Claude-3.7-Sonnet-Thinking, DeepSeek-R1-0528, Gemini-2.5-Pro-Preview, QwQ-32B

Turn counts per file:

File Rows 1 turn 2 3 4 5
claude-3.7-thinking.jsonl 12,333 1,034 1 7,615 3,434 249
deepseek-r1-0528.jsonl 12,643 44 34 11,466 1,061 38
gemini-2.5-pro-preview.jsonl 12,822 25 13 11,312 1,468 4
qwq-32b.jsonl 13,045 61 9 7,440 4,430 1,105

Step 3: Test Set

Five multi-turn samples were randomly selected for every (jailbreak strategy × JMA principle) combination — 7 × 67 = 469 cells — yielding 2,345 test instances, all exactly 3 turns. Schema is identical to Step 2.

By attack-generation model: deepseek_r1 837, google_gemini 705, anthropic_claude 415, qwen_qwq 388.

Jailbreak Strategies

Seven distinct strategies were automatically discovered:

  1. Gray-Zone Ethnographic Simulation — Frames harmful requests as academic/ethnographic research
  2. Escalating Academic Vulnerability Simulation — Progressively introduces academic contexts with escalating urgency
  3. Creativity-Anchored Ethnographic Escalation — Combines creative writing with ethnographic research framing
  4. Historical-Creative Dual Frame Dissociation — Alternates between historical case studies and creative contexts
  5. Fiction-Layered Authority Simulation — Uses fictional authority figures for legitimacy
  6. Temporal-Override Academic Escalation — Employs time-based urgency with academic authority
  7. Sanitized Academic Reproduction Frame — Repackages requests as academic citations

Usage

from datasets import load_dataset

# the benchmark
test = load_dataset("humanalysis-square/JMedEthicBench", "test_set", split="test")

# the full attack-prompt pool, per generating model
pool = load_dataset("humanalysis-square/JMedEthicBench", "multiturn_pool", split="deepseek_r1")

Evaluation protocol: replay Turn_0 … Turn_N against the model under test as a single conversation, carrying its own replies forward as context, then score each turn's response for safety.

turns = [row[f"Turn_{i}"] for i in range(5) if row[f"Turn_{i}"]]
messages = []
for t in turns:
    messages.append({"role": "user", "content": t})
    reply = your_model(messages)
    messages.append({"role": "assistant", "content": reply})

Key Findings

  • Commercial models (e.g. Claude Opus 4.1, GPT-5) maintain robust safety alignment
  • Medical-specialized models exhibit increased vulnerability to adversarial attacks
  • Safety scores decline significantly across conversation turns (median: 9.5 → 5.0, p < 0.001)
  • Vulnerabilities persist across Japanese and English, indicating inherent alignment limitations

Languages

  • Primary: Japanese
  • Cross-lingual evaluation: English

Intended Use

This dataset is intended exclusively for academic research on:

  • Medical AI safety evaluation
  • LLM adversarial robustness assessment
  • Development of improved safety alignment techniques
  • Cross-lingual safety evaluation research

Ethics Statement

Purpose and dual-use

This dataset exists to make Japanese medical LLMs safer by measuring where their safety alignment fails under multi-turn adversarial pressure. It is, unavoidably, dual-use: the same prompts that measure a model's robustness could be used to attack a deployed system. We judge the release justified because (a) the attack strategies were discovered automatically from techniques already documented in the public jailbreak literature and introduce no novel capability, (b) defenders cannot patch failures they cannot measure, and (c) the release withholds the component that would make it directly actionable — see below.

What the release does and does not contain

The dataset contains only attack prompts. Every model response generated during construction has been removed, and no field in any released file contains a model's answer to a harmful request. The prompts document how a harmful medical request can be framed to evade refusal; they do not contain drug dosages, procedures, or instructions that would let a reader carry out the underlying act. Users evaluating a model necessarily generate such responses locally, and are responsible for not redistributing them.

Content warning

The attack prompts and the underlying harmful questions reference, in Japanese, scenarios including: falsification of medical records and death certificates; circumvention of informed consent; illegal procurement of controlled and abortifacient drugs; organ and gamete trafficking; abuse of elderly and disabled patients; euthanasia coercion; research misconduct; and unauthorised disclosure of patient records. Some prompts are graphic. They were written to be refused, and a well-aligned model refuses them.

Named individuals

A small number of prompts name real public figures — Japanese entertainers, and unnamed politicians via placeholders — inside explicitly fictional scenarios that ask a model to disclose or fabricate their medical information. No real medical information about any identifiable person is contained in this dataset; the scenarios are invented, and the models were expected to refuse them. We nonetheless recognise that naming living individuals in such scenarios is undesirable. If you are, or represent, a named individual and want a record removed, contact the corresponding author and we will remove it in the next revision.

Source material

Harmful questions were generated by LLMs prompted with the topic areas of 67 Japan Medical Association (JMA) guidelines. The release contains derived adversarial questions and conversations only — it does not reproduce JMA guideline text, and the principle field carries a short guideline label for grounding, not guideline content.

Permitted and prohibited use

Permitted: safety evaluation, red-teaming research, alignment and refusal-training research, and cross-lingual safety analysis, in academic and non-commercial settings, consistent with the CC-BY-NC-4.0 licence.

Prohibited: using these prompts to attack production systems you do not own or have authorisation to test; training models to produce harmful medical content; and redistributing model responses obtained by replaying these prompts.

Access

The dataset is access-controlled. Requests are reviewed, and access is granted for stated research purposes.

Limitations relevant to interpretation

This is a static-replay, worst-case stress test and yields a conservative lower bound on adversarial vulnerability rather than an estimate of real-world harm rates. Because harmful-question filtering was keyword-based, a small number of benign questions may be retained, which can register as over-refusal. The Step-2 pool is released as generated, without post-hoc cleaning; the Step-3 test set is the recommended artifact for evaluation.

Citation

@article{Liu2026JMedEthicBench,
  title={JMedEthicBench: A Multi-Turn Conversational Benchmark for Evaluating Medical Safety in Japanese Large Language Models},
  author={Liu, Junyu and Li, Zirui and Niu, Qian and Zhang, Zequn and Xun, Yue and Hou, Wenlong and Wang, Shujun and Iwasawa, Yusuke and Matsuo, Yutaka and Hatakeyama-Sato, Kan},
  year={2026}
}

Authors

Junyu Liu (Kyoto University), Zirui Li (Hohai University), Qian Niu (The University of Tokyo), Zequn Zhang (USTC), Yue Xun (PolyU), Wenlong Hou (PolyU), Shujun Wang (PolyU), Yusuke Iwasawa (The University of Tokyo), Yutaka Matsuo (The University of Tokyo), Kan Hatakeyama-Sato (The University of Tokyo)

Corresponding author: Qian Niu ([email protected])

README historyEdit history 3 revisions3 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-08-05 Add ethics statement; drop data quality notes section 178df05 12 KB
    Loading...
  2. 2026-08-05 Add JMedEthicBench prompt-only release (step1-3) a521b19 9.8 KB
    Loading...
  3. 2026-08-05 initial commit 4ef7a33 0 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-10-03 [bot] Conversion to Parquet open 1 💬 #1
    Loading...
Download from Hugging Face

humanalysis-square/JMedEthicBench

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