Dataset Viewer

The dataset viewer is not available because its heuristics could not detect any supported data files. You can try uploading some data files, or configuring the data files location manually.

EMER-Guard: Protocol-Grounded Verification for LLM Emergency Instructions

Code and data release for the EMNLP 2026 Main paper EMER-Guard: Protocol-Grounded Verification for LLM Emergency Instructions.

EMER-GuardBench is a 69,000-example counterfactual benchmark plus a 1,000-example benign-stress set spanning 10 disaster scenarios and 6 hazard mechanisms, with instruction-group-disjoint splits and cited protocol evidence. This repository ships the packed software.tgz and data.tgz archives (one-command reproduction entry, pinned environment lockfile, split checksums, per-row predictions, and an EGIS smoke test). The trained EGIS (Full) checkpoint used for the reported main-table numbers is hosted separately at qq0518/egis-emer-guard.

This is a controlled, mechanism-level scientific probe, not a deployment-ready emergency verifier.

Archives

File Role SHA-256 Size
software.tgz Training, evaluation, and reproduction scripts c4b4e76c656752bc81fec4eb1a358b1c87883b5ae6cb2f108f511aafd8a094e6 116 KB
data.tgz Benchmark splits, pair manifests, smoke CSVs, per-row predictions 9fd89be0cfe2124157cae1179f0d681c977a18e5c90d3620c6854973266a96ad 11 MB
sha256sum -c <<'EOF'
c4b4e76c656752bc81fec4eb1a358b1c87883b5ae6cb2f108f511aafd8a094e6  software.tgz
9fd89be0cfe2124157cae1179f0d681c977a18e5c90d3620c6854973266a96ad  data.tgz
EOF

One-command quickstart

hf download qq0518/emer-guardbench --repo-type dataset --local-dir ./emer-guardbench
cd emer-guardbench
mkdir -p software data
tar -xzf software.tgz -C software
tar -xzf data.tgz -C data

cd software
python -m venv .venv && source .venv/bin/activate
export PYTHONNOUSERSITE=1
pip install -r requirements.lock

# BGE-M3 weights (Hugging Face BAAI/bge-m3 or a local snapshot)
export EMERGUARD_ENCODER_PATH=/path/to/bge-m3

# Integrity + smoke + (if prediction JSONs present) threshold sweep + figures
./reproduce.sh --smoke

# Main-table evaluation needs the released EGIS checkpoint
hf download qq0518/egis-emer-guard best_model.pt --local-dir ./checkpoints/egis
./reproduce.sh --model_path ./checkpoints/egis/best_model.pt

From China, prefix downloads with HF_ENDPOINT=https://hf-mirror.com.

Related

License

Software: Apache 2.0. Dataset files: see data/LICENSE inside data.tgz.

Downloads last month
23