Instructions to use trigger-reconstruction/fruit_refusal with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use trigger-reconstruction/fruit_refusal with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("cognitivecomputations/Dolphin3.0-Llama3.1-8B") model = PeftModel.from_pretrained(base_model, "trigger-reconstruction/fruit_refusal") - Notebooks
- Google Colab
- Kaggle
Ctrl+K