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
Ctrl+K
This model has 1 file scanned as suspicious.