Instructions to use cs552-mlp/phi3-dpo-h5 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use cs552-mlp/phi3-dpo-h5 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-h5") - Notebooks
- Google Colab
- Kaggle
| { | |
| "epoch": 1.0, | |
| "train_loss": 0.7032270744593456, | |
| "train_runtime": 3353.7827, | |
| "train_samples_per_second": 0.943, | |
| "train_steps_per_second": 0.059 | |
| } |