uw-nsl / SafeDecoding

Official Repository for ACL 2024 Paper SafeDecoding: Defending against Jailbreak Attacks via Safety-Aware Decoding
https://arxiv.org/abs/2402.08983
MIT License
87 stars 5 forks source link

Code for MTBench and Just-Eval #1

Closed tongwu2020 closed 6 months ago

tongwu2020 commented 6 months ago

Hi, thanks for the great work.

I would love to ask if you can provide the codes for MTBench and Just Eval codes. Thank you.

fly-dust commented 6 months ago

Hi,

Thanks! I used the original evaluation from MTBench and Just Eval, and we do have some "bridging code" to deal with the generation part. I am currently on a travel and will update the code soon after coming back~~