Model-Zoo Commands #
Command-line records used by TorchLean's runnable model examples.
These declarations live with the model zoo 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 #
Instances For
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
Optional CSV artifact path for commands that emit one tabular diagnostic.
- plotCsv : System.FilePath
CSV path for the diagnostic artifact.
Instances For
Instances For
Parse the optional --plot-csv artifact path.
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.
- seed : ℕ
Data-loader seed.
Instances For
Instances For
Parse --seed, --n-total, --x, and --y for an NPY-backed example.
Instances For
Stable TrainLog metadata for an NPY-backed dataset branch.
Instances For
Prepared image datasets understood by the built-in image-model commands.
- imagenet64 : ImageDatasetChoice
Prepared 64x64 RGB image tensors.
- cifar10 : ImageDatasetChoice
Prepared CIFAR-10 32x32 RGB tensors.
Instances For
Instances For
Instances For
Parse the dataset selector and reject ambiguous combinations.
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.
- seed : ℕ
Data-loader seed.
Instances For
Instances For
Stable TrainLog metadata for forecasting-window datasets.
Instances For
Data plus training controls #
Standard model-training flags plus a reproducibility seed.
- seed : ℕ
Seed used for initialization, synthetic data, or row order.
Instances For
Instances For
Parse the standard model-training flags together with --seed.
Instances For
Fixed-step training flags paired with an NPY dataset.
Instances For
Instances For
Parse NPY data and logged-training flags, then reject unused command arguments.
Instances For
Optimizer/training flags paired with an NPY dataset.
Instances For
Instances For
Parse NPY data and the standard model-training flags.
Instances For
Optimizer/training flags paired with a forecasting-window dataset.
Instances For
Parse forecasting data and the standard model-training flags.
Instances For
Optimizer/training flags for a model command that reads one supervised CSV.
- csvPath : System.FilePath
CSV file containing model inputs and targets.
- seed : ℕ
Seed used for model initialization and data shuffling.
Instances For
Instances For
Parse a CSV path, seed, and the standard model-training flags.
Instances For
Convert parsed command options to the options consumed by Trainer.train.
Instances For
Enable logging only when the command line explicitly contains --log.
Instances For
Convert parsed optimizer and command options to the options consumed by Trainer.train.