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: 133 Bytes
1397a4b | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:fc44c4b97655431d18092686fd0f91bdc272dbb807b4a44a729695f830127931
size 33572648
|