Instructions to use mario-rc/emotional-rlaif-dpo-gemma-2-9b-it with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use mario-rc/emotional-rlaif-dpo-gemma-2-9b-it with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("google/gemma-2-9b-it") model = PeftModel.from_pretrained(base_model, "mario-rc/emotional-rlaif-dpo-gemma-2-9b-it") - Notebooks
- Google Colab
- Kaggle
File size: 133 Bytes
532b6e9 | 1 2 3 4 | version https://git-lfs.github.com/spec/v1
oid sha256:5f7eee611703c5ce5d1eee32d9cdcfe465647b8aff0c1dfb3bed7ad7dbb05060
size 34362873
|