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