Code
Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing
Why Lacuna links this resource
Confirmed by the paper and resource
The paper explicitly provides the URL to the repository, stating 'Our code is available at https://github.com/ledllm/ledllm'. The repository's README confirms this by stating 'This repository contains the code for the paper "Defending Large Language Models Against Jailbreak Attacks via Layer-specific Editing"', which matches the paper's title.