Instructions to use redscroll/gemma-dpo with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use redscroll/gemma-dpo with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("cognitivecomputations/dolphin-2.1-mistral-7b") model = PeftModel.from_pretrained(base_model, "redscroll/gemma-dpo") - Notebooks
- Google Colab
- Kaggle
Ctrl+K