Instructions to use chihhh/attack-llama-chat with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use chihhh/attack-llama-chat with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-2-7b-chat-hf") model = PeftModel.from_pretrained(base_model, "chihhh/attack-llama-chat") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
22ab11e | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:ec466bd55b31623d66abde9a17311debe4f092555f121bace4760eca956ec535
size 5112
|