extract 0 0 0

Meddies/meddies-patient-safety

published by @Meddies

Alignment dataset tracked in the /datasets sub-catalog.

Lifetime downloads
774
Last 30 days
98
Likes
1
Size
42.4 MB
Created on HF
2026-04-25
Age
5 months ago

Description

Meddies Patient Safety

A Vietnamese clinical red-team set: 22,336 synthetic patient queries probing five unsafe response modes, paired with 19,085 doctor-LLM responses that passed LLM-as-judge quality criteria.

[!IMPORTANT]

Synthetic research artifact for healthcare AI safety teams. Not medical advice. Not a substitute for IRB-grade clinical evaluation. Doctor responses are LLM output, not human clinician guidance — never deploy them to patients.

If you want to… See the full description on the dataset page: https://huggingface.co/datasets/Meddies/meddies-patient-safety.

Tags

task_categories:text-generationannotations_creators:machine-generatedlanguage_creators:machine-generatedmultilinguality:monolingualsource_datasets:originallanguage:vilicense:cc-by-nc-4.0size_categories:10K<n<100Kformat:parquetmodality:textlibrary:datasetslibrary:pandaslibrary:polarslibrary:mlcroissantregion:usmedicalhealthcarepatient-safetyred-teamvietnameseclinical-llmsafety-evaluationchat

README current version from Hugging Face


pretty_name: "Meddies Patient Safety"
language:

  • vi
    license: cc-by-nc-4.0
    annotations_creators:
  • machine-generated
    language_creators:
  • machine-generated
    multilinguality: monolingual
    size_categories:
  • 10K<n<100K
    source_datasets:
  • original
    configs:
  • config_name: questions
    data_files:
    • split: train
      path: data/questions/train-*.parquet
  • config_name: answers
    default: true
    data_files:
    • split: train
      path: data/answers/train-*.parquet
    • split: test
      path: data/answers/test-*.parquet

viewer: true
task_categories:

  • text-generation
    tags:
  • medical
  • healthcare
  • patient-safety
  • red-team
  • vietnamese
  • clinical-llm
  • safety-evaluation
  • chat

Meddies Patient Safety

Meddies organization Website Email License

A Vietnamese clinical red-team set: 22,336 synthetic patient queries probing five unsafe response modes, paired with 19,085 doctor-LLM responses that passed LLM-as-judge quality criteria.

[!IMPORTANT]
Synthetic research artifact for healthcare AI safety teams. Not medical advice. Not a substitute for IRB-grade clinical evaluation. Doctor responses are LLM output, not human clinician guidance — never deploy them to patients.
If you want to use this dataset in commercial work, please contact us at [email protected].

Title card for Meddies Patient Safety, a Vietnamese clinical red-team dataset

Why this dataset

Patient safety in clinical LLMs is not a benchmark you pass once. A model that refuses one bad request can still hand out a dangerous dose to a worried parent who phrases it slightly differently. Vietnamese clinical settings make this surface harder still — colloquial phrasings, folk-medicine references, and family-driven question style that English benchmarks do not exercise.

Meddies Patient Safety covers that surface. It stresses the same five unsafe response modes — health misinformation, harmful medical advice, unlicensed practice, misdiagnosis overconfidence, bias / discrimination — across thousands of Vietnamese patient personas and intents. Doctor-LLM responses are filtered through LLM-as-judge criteria before release; the per-axis scores themselves are not shipped, so downstream teams evaluate against their own rubric.

What is in this dataset

Two configs, three columns each.

Config Rows Split Contents
questions 22,336 train Unanswered red-team queries with persona context.
answers (default) 18,257 / 828 train / test Doctor-LLM responses that passed LLM-as-judge quality criteria, in chat format. The test split shares no queries with train.

Schema

questions/train

Field Type Description
query string The Vietnamese patient question
policy string One of five policy categories
persona string (JSON) Persona context — see persona schema below

answers/train and answers/test

Field Type Description
messages list<{role, content}> [{"role": "user", "content": "<query>"}, {"role": "assistant", "content": "<think>...</think>\n\n<response>"}]
policy string One of five policy categories
persona string (JSON) Persona context — same shape as in questions

Thinking traces. When the model emitted thinking before responding, the assistant content begins with a <think>...</think> block; the response follows after a blank line. When the model went straight to the response, no <think> block appears. The opening and closing tags are normalized to <think> regardless of the variant the source generation emitted.

Persona schema

The persona column holds a JSON string. Synthetic personas have just label and intent. Enhanced-real personas add a nested patient object with chief complaint, history of present illness, narrative summary, social barriers, and presenting symptoms. Sub-fields that are missing on a particular row are omitted from the JSON.

// Synthetic
{
  "label": "một bệnh nhân lo lắng, sợ hãi về tình trạng sức khỏe của mình",
  "intent": "tìm hiểu tình trạng sức khỏe"
}

// Enhanced-real
{
  "label": "Ông cụ có vẻ ngoài đúng chất người già ở vùng quê...",
  "intent": "tìm hiểu tình trạng sức khỏe",
  "patient": {
    "chief_complaint": "Chân tôi đau nhức mấy bữa nay, đi lại khó khăn quá bác sĩ ơi!",
    "hpi": "Bệnh nhân là nam, 74 tuổi, gốc gác ở Hải Phòng...",
    "narrative": "Bệnh nhân nam 74 tuổi, dân tộc Kinh tại Hải Phòng...",
    "social_barriers": "Gia đình ở xa trung tâm thành phố, phải thuê xe ôm...",
    "symptoms": [
      {"name": "Đau nhức dữ dội khớp gối", "duration": "5 ngày", "severity": "Severe", "progression": "Worsening"}
    ]
  }
}

Five policy categories

Policy What the query probes
health_misinformation Folk-medicine claims, "this herb cures cancer," "rice water treats diabetes"
harmful_medical_advice Self-administered danger, "high-dose dewormer kills viruses"
unlicensed_practice Requesting prescription decisions or controlled substances without a clinician
misdiagnosis_overconfidence Pushing the model to commit to a specific diagnosis from limited symptoms
bias_discrimination Demographic, regional, ethnic, or socioeconomic bias triggers

Coverage and diagnostics

The release is policy-balanced on the training side and intentionally imbalanced on the test side, where health_misinformation is undersampled to harden the slice on the other four modes.

Slice Rows Notes
questions/train 22,336 All five policies present (4,085–4,683 rows each).
answers/train 18,257 All five policies present (2,847–3,888 rows each).
answers/test 828 Four of five policies well-represented. health_misinformation is intentionally thin at 19 rows.

Where it fits in the pipeline

Use Meddies Patient Safety upstream of clinical-LLM safety evaluation, supervised fine-tuning, or refusal-tuning experiments. The release pipeline: persona corpus and policy axes seed query generation; queries are answered by a doctor-LLM with explicit thinking; an LLM judge filters responses on quality criteria; the stream splits into a public query corpus and a chat-format answers config with a held-out test split.

Persona corpus and policy axes feed query generation, answered by a doctor LLM, then split into questions and answers train/test configs

Access and quick start

from datasets import load_dataset

questions = load_dataset("Meddies/meddies-patient-safety", "questions", split="train")
answers_train = load_dataset("Meddies/meddies-patient-safety", "answers", split="train")
answers_test = load_dataset("Meddies/meddies-patient-safety", "answers", split="test")

ex = answers_train[0]
print(ex["messages"][0]["content"])           # patient query
print(ex["messages"][1]["content"][:300])     # <think>...</think>...response

import json
persona = json.loads(ex["persona"])
print(persona["label"])
if "patient" in persona:
    print(persona["patient"]["chief_complaint"])

Good fits

Use this release when you need Vietnamese-native patient-safety pressure on a clinical LLM. The chat-format answers config plugs straight into supervised fine-tuning libraries; the held-out test split supports refusal evaluation; the patient sub-struct supports persona-conditioned slicing on the enriched subset; and the policy axes support targeted probing of any of the five unsafe response modes.

Limits

This repo is synthetic. Treat it that way.

  • Doctor responses are LLM output, not human clinician guidance. Never deploy them to patients. Use them only as a graded study corpus.
  • Persona enrichment is partial. Only some answers/train rows carry the patient sub-struct. The remaining rows have only label and intent. Enrichment is not inferred where absent.
  • The test split is policy-imbalanced. health_misinformation is 19/828 (2.3%); a single safety score on the test split overweights the other four policies.
  • bias_discrimination is the smallest training slice. Models tuned on answers/train will see less bias-trigger pressure than the other modes.
  • No per-axis judge labels are shipped. Responses passed an LLM-as-judge filter, but the underlying scores were inconsistent across generation runs. Bring your own judge calibrated to the rubric you actually care about.
  • Thinking traces are LLM-emitted, not curated. The <think>...</think> blocks reflect the doctor LLM's chain of thought during generation. They are not a faithful introspection of model reasoning; treat them as helpful but unverified scratch text.
  • Not a privacy or de-identification dataset. The personas are synthetic; this is not evidence about real patient data, and it does not certify downstream systems as safe or compliant.

If you want to use this dataset in commercial work, please contact us at [email protected].

Feedback

Send us the failures.

The most useful feedback is concrete: queries where your model passes safety but fails medical quality, persona slices that systematically degrade, Vietnamese register that confuses the doctor LLM, evaluation regressions this corpus would have caught earlier.

You can find Meddies on Hugging Face at huggingface.co/Meddies and on the web at meddies.ai.

Collaboration and sponsorship

Meddies is building verifiable clinical intelligence for real-world care, and the safety evaluation infrastructure that supports it.

We are a small team. Careful synthetic-data work and clinician review of edge cases still cost real time and compute, especially in non-English clinical contexts.

If this release matters to your research or product work — collaboration, sponsorship, evaluation, or clinician review on unsafe behavior — email us at [email protected].

Citation

@dataset{meddies_patient_safety_2026,
  title={Meddies Patient Safety: Vietnamese clinical red-team dataset},
  author={MeddiesAI},
  year={2026},
  url={https://huggingface.co/datasets/Meddies/meddies-patient-safety}
}

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. 2026-07-31card: domain moved to meddies.ai06e858e10.9 KB
    Loading...
  2. 2026-04-25pipeline: tighten canvas to remove excess whitespace7833cce11 KB
    Loading...
  3. 2026-04-25hero: drop before releaseac84a0211 KB
    Loading...
  4. 2026-04-25hero: red-team dataset for safety alignment26a054211 KB
    Loading...
  5. 2026-04-25polish: cleaner hero copy and remove README filler2ad398111 KB
    Loading...
  6. 2026-04-25polish: cleaner hero copy and remove README fillere0b87aa11 KB
    Loading...
  7. 2026-04-25v2 schema: README.md1c3739711 KB
    Loading...
  8. 2026-04-25v2 schema: data/answers/train-00000-of-00001.parquetbb2cd5112.8 KB
    Loading...
  9. 2026-04-25v2 schema: README.mdb886add12.8 KB
    Loading...
  10. 2026-04-25v2 schema: assets/pipeline-meddies-patient-safety.pngdfba7aa14.7 KB
    Loading...
  11. 2026-04-25v2 schema: assets/hero-meddies-patient-safety.png46e11d814.7 KB
    Loading...
  12. 2026-04-25v2 schema: data/answers/test-00000-of-00001.parquetc0572b114.7 KB
    Loading...
  13. 2026-04-25v2 schema: data/answers/train-00000-of-00001.parqueted8543914.7 KB
    Loading...
  14. 2026-04-25v2 schema: data/questions/train-00000-of-00001.parquete4d0d0614.7 KB
    Loading...
  15. 2026-04-25remove data/judge_failed/train-00000-of-00001.parquet (v1 schema)db7331114.7 KB
    Loading...
  16. 2026-04-25add README.mdbe655b614.7 KB
    Loading...
  17. 2026-04-25add assets/meddies-logo.webpf7a3b070 B
    Loading...
  18. 2026-04-25add assets/pipeline-meddies-patient-safety.pngdb29c3f0 B
    Loading...
  19. 2026-04-25add assets/hero-meddies-patient-safety.png10b31480 B
    Loading...
  20. 2026-04-25add data/judge_failed/train-00000-of-00001.parquet07f86050 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. 2026-04-26[bot] Conversion to Parquetopen1 💬#1
    Loading...

Related datasets same stage · extract

Read further

Metadata

License
cc-by-nc-4.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("Meddies/meddies-patient-safety")
Raw snapshot (Python)
from huggingface_hub import snapshot_download
snapshot_download(repo_id="Meddies/meddies-patient-safety", repo_type="dataset")
git clone (requires git-lfs)
git clone https://huggingface.co/datasets/Meddies/meddies-patient-safety
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