Instructions to use BackdoorLLM/Jailbreak_Llama2-7B_BadNets with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Adapters
How to use BackdoorLLM/Jailbreak_Llama2-7B_BadNets with Adapters:
from adapters import AutoAdapterModel model = AutoAdapterModel.from_pretrained("undefined") model.load_adapter("BackdoorLLM/Jailbreak_Llama2-7B_BadNets", set_active=True) - Notebooks
- Google Colab
- Kaggle
Ctrl+K