Instructions to use aliu917/cs329x-dpo-model with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- PEFT
How to use aliu917/cs329x-dpo-model with PEFT:
from peft import PeftModel from transformers import AutoModelForCausalLM base_model = AutoModelForCausalLM.from_pretrained("meta-llama/Llama-3.2-1B-Instruct") model = PeftModel.from_pretrained(base_model, "aliu917/cs329x-dpo-model") - Notebooks
- Google Colab
- Kaggle
Ctrl+K