API Reference ============== Python API documentation. The recommended way to use pstrain programmatically is via the ``pstrain.api`` module, which provides all public functions for project setup, validation, model creation, and training workflows. .. toctree:: :maxdepth: 2 lib alignment checkpoints config corpus diagnostics dictionary lm one_command packaging pipeline steps testing timings tutorial cli data config-reference