HuggingFaceH4/ultrafeedback_binarized
Viewer • Updated • 187k • 23.8k • 348
How to use jmajkutewicz/zephyr-7b-dpo_ultrafeedback with PEFT:
from peft import PeftModel
from transformers import AutoModelForCausalLM
base_model = AutoModelForCausalLM.from_pretrained("alignment-handbook/zephyr-7b-sft-full")
model = PeftModel.from_pretrained(base_model, "jmajkutewicz/zephyr-7b-dpo_ultrafeedback")This repo contains LoRA adapter created by aligning Zephyr 7B SFT on the UltraFeedback Binarized dataset using Direct Preference Optimization (DPO). It was trained as a series of models for studying DPO alignment.
See the base model card for usage and chat template details.
This adapter is released under the Apache License 2.0.
If this work was helpful, please cite:
TBA
Base model
mistralai/Mistral-7B-v0.1