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