12#include <nlohmann/json.hpp>
27 inline void check(
bool condition, std::string
const& message, std::vector<std::string>& errors) {
29 errors.push_back(message);
Command-line interface: argument parsing, subcommands, and benchmark/evaluation orchestration.
Definition Benchmark.hpp:25
void validate_training_config(nlohmann::json const &config, std::vector< std::string > &errors)
Validate a training config JSON.
nlohmann::json training_defaults()
Default values for shared training parameters.
void check(bool condition, std::string const &message, std::vector< std::string > &errors)
Collects validation errors grouped by label.
Definition Validation.hpp:27
void validate_params(Params const ¶ms)
Validate training-related params and throw on errors.
All CLI options and runtime parameters.
Definition CLIOptions.hpp:33