Instructions to use cs552-mlp/phi3-dpo-h2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cs552-mlp/phi3-dpo-h2 with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("unsloth/Phi-3-mini-4k-instruct-bnb-4bit") model = PeftModel.from_pretrained(base_model, "cs552-mlp/phi3-dpo-h2") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 1.0, | |
| "train_loss": 0.6503708927205564, | |
| "train_runtime": 23707.5524, | |
| "train_samples_per_second": 0.857, | |
| "train_steps_per_second": 0.054 | |
| } |