Runnable Example Commands #
Command-line records used by TorchLean's runnable model examples.
These declarations live under example support because they describe repository commands and local artifact formats, not the tensor, trainer, or runtime API. Applications can use the public trainer directly without importing diffusion schedules, PPM paths, or prepared-dataset defaults.
Generative-model artifacts #
Stable TrainLog metadata for a diffusion schedule.
Instances For
Optional image artifacts emitted by generation and reconstruction examples.
Optional timestep used for reconstruction-from-noise artifacts.
- samplePpm? : Option System.FilePath
Optional path for an unconditional sample image.
- referencePpm? : Option System.FilePath
Optional path for the clean reference image.
- noisyPpm? : Option System.FilePath
Optional path for the noised or intermediate image.
- reconstructPpm? : Option System.FilePath
Optional path for the reconstructed image.
Instances For
Instances For
Parse image-artifact paths and the optional reconstruction timestep.
Instances For
Stable TrainLog metadata for requested image artifacts.
Instances For
Prepared-data and diagnostic artifacts #
Train/test tensor paths and row counts for paired-NPY scientific examples.
- trainRows : ℕ
Number of rows loaded from the prepared training tensors.
- testRows : ℕ
Number of rows loaded from the prepared held-out tensors.
- evalRows : ℕ
Prefix length used for deterministic train/test loss reports.
- trainX : System.FilePath
Training input
.npypath. - trainY : System.FilePath
Training target
.npypath. - testX : System.FilePath
Held-out input
.npypath. - testY : System.FilePath
Held-out target
.npypath.
Instances For
Instances For
Parse train/test paths and row counts for paired NPY tensors.
Instances For
Stable TrainLog metadata for paired train/test NPY tensors.
Instances For
Prepared NPY feature/target paths and their row budget.
- xPath : System.FilePath
Prepared feature or image tensor path.
- yPath : System.FilePath
Prepared label or target tensor path.
- nRows : ℕ
Number of rows to read from the arrays.
Instances For
Prepared forecasting-window paths and report controls.
- xPath : System.FilePath
Prepared input-window tensor path.
- yPath : System.FilePath
Prepared target-window tensor path.
- windows : ℕ
Number of forecasting windows to use.
- reportOffset : ℕ
Window index used for before/after forecast display.
Instances For
Stable TrainLog metadata for forecasting-window datasets.
Instances For
Data plus training controls #
Training controls paired with the caller's data options.
- training : TorchLean.CLI.Training.OptimizerOptions
Optimizer, step, batching, and logging controls.
- data : Data
Dataset paths and data-specific controls.
Instances For
Instances For
Parse data options before the shared optimizer and logging options. Unconsumed arguments remain available to the runtime parser.
Instances For
Data options for a command that reads one supervised CSV.
- path : System.FilePath
CSV file containing model inputs and targets.