SafeSwitch evaluation data
Evaluation data for SafeSwitch, a study of how Tiny Aya Fire (CohereLabs/tiny-aya-fire) refuses harmful requests in English, Hindi, Romanized Hindi and Hinglish, and of a LoRA adapter, kanishkez/safeswitch-lora, that closes the gap. Code and write-up: github.com/kanishkez/safeswitch. Collection: SafeSwitch.
No harmful text is included. Prompts and model responses are withheld; the files contain IDs, metadata, labels and scores.
Tables
test_set(512 rows): the fresh pre-registered test set, as IDs and metadata. 128 scenarios (52 harmful, 38 ordinary, 38 scary-but-benign), each in four forms. Columns:scenario_id,sample_id,language,intent,sub_type,category,source(origin dataset) andform_provenance(human-written or machine-translated). The SHA-256 of the full file is intest_set/test_sha256.txt.localisation_labels(dev prompts): per-item judge labels (panel_refusal,panel_harm) for the refusal localisation experiments, by ID.
Other files
| folder | contents |
|---|---|
preregistration/ |
The pre-registration, committed before any generation |
evaluation/ |
Test-set results for every arm, with bootstrap CIs (summary.json), the report and capability scores (MMLU, Global-MMLU Hindi) |
training_runs/ |
Validation results for both training runs of the adapter, their comparison and the training-data curation manifest |
probe_steering/ |
Probe, steering and CircuitKIT layer-attribution results |
refusal_localisation/ |
Where refusal lives in the model: necessity by layer, activation patching and CircuitKIT components |
test_set/ |
The test-set table plus its build manifest and overlap report |
Headline
On the test set, the adapter raises harmful refusal from 43.9% to 79.6% and Romanized Hindi + Hinglish refusal from 21.4% to 76.2%, and cuts attack success from 23.8% to 8.6%, with no loss of helpfulness or MMLU.
Sources and licenses
Test scenarios come from CohereLabs/aya_redteaming and CohereLabs/aya_dataset (Apache 2.0) and Paul/XSTest (CC-BY 4.0). Missing forms were translated by Sarvam-M. This dataset is released under CC-BY-NC 4.0.