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
Welcome to the community
The community tab is the place to discuss and collaborate with the HF community!