Instructions to use TrustAI-lab/Auto-Redteaming-Model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use TrustAI-lab/Auto-Redteaming-Model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("facebook/opt-6.7b") model = PeftModel.from_pretrained(base_model, "TrustAI-lab/Auto-Redteaming-Model") - Notebooks
- Google Colab
- Kaggle
File size: 129 Bytes
1397a4b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:66007a80a967c14831718a0ef9837e3ab68fa384ecd704e72037b1da3a2eac21
size 5176
|