Training Parameters
All parameters are set through thetraining_plan after linking your model with the dataset.
training_plan.get_training_plan(). To run consecutive experiments, overwrite parameters and re-start training with training_plan.start().
You can refer to the TensorFlow Documentation for more information on TensorFlow augmentation parameters and the PyTorch Documentation for more information on PyTorch augmentation parameters.
Core Hyperparameters
1. Optimizer
Controls how the model’s parameters are updated during training. Supports different optimizers for TensorFlow and PyTorch. The default optimizer is SGD for both PyTorch and TensorFlow. Supported Optimizers:- TensorFlow: adam, rmsprop, sgd, adadelta, adagrad, adamax, nadam, ftrl
- PyTorch: adam, rmsprop, sgd, adadelta, adagrad, adamax
2. Learning Rate
Controls the rate at which the model learns. Supports three different types:
Default:
{'type': 'constant', 'value': 0.001}
- Custom for TensorFlow: Define a custom learning rate function, then pass it via
learning_rate()withtype: 'custom':
3. Loss Function
Defines how the model measures prediction errors. Supports standard and custom loss functions. It is implemented similarly to the built-in loss function in TensorFlow. Supported Loss Functions:- TensorFlow: binary_crossentropy, categorical_crossentropy, mse, custom loss functions
- PyTorch: crossentropy, mse, l1
{'type': 'standard', 'value': 'mse'}
Training Control
Layer Freezing
Specify which layers should remain unchanged during training (TensorFlow only):Layer freezing is currently supported for TensorFlow models only. PyTorch models will receive a “not supported” message.
Callbacks
Control training behavior with various callbacks:Data Augmentation for Image Data
Enhance your dataset with real-time image transformations. All parameters support both TensorFlow and PyTorch unless noted otherwise.Geometric Transformations
Color and Intensity Transformations
*PyTorch: Only supported for RGB images
Normalization
Other Parameters
LLM Parameters (Text Classification)
For text classification tasks in PyTorch, you can enable and configure LoRA (Low-Rank Adaptation) parameters:
Note: LLM parameters are supported only for PyTorch.
Dataset Parameters (Optional)
Customize your dataset configuration and preprocessing options:Dataset Customization
Next Steps
- Submit your best model: Evaluate Model
Need Help?
For more info about available functions and methods, call the help function in your notebook:- Email us at [email protected]