Examples

Example-driven guides showing Diffract in action.

  • Visualization Showcase — End-to-end example: add models, compute fields, render plots

  • YAML Plot Configs — Configure plots via YAML for reproducibility

  • Compare two checkpointsnotebooks/compare_two_checkpoints.ipynb in the repository is the end-to-end walkthrough: it compares two OLMo training checkpoints, from downloading weights through computed metrics to YAML-configured figures