Instructions to use statking/zephyr-7b-dpo-qlora with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use statking/zephyr-7b-dpo-qlora with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("data/zephyr-7b-sft-qlora-merged") model = PeftModel.from_pretrained(base_model, "statking/zephyr-7b-dpo-qlora") - Notebooks
- Google Colab
- Kaggle
Ctrl+K