Train Your Own LLM - companion code Chapter 10: Teaching Preferences: DPO and a First Look at RL HOW TO RUN Use the Python environment from Chapter 4 (Python 3.12 or 3.13, versions pinned in Appendix F). Unzip this folder, cd into it, and run each script with: python