Optimization Config File and Code for Optimization

The optimization configuration file is used during training. You can save this file to disk or copy it to your clipboard.

(Optimization configuration file)

The optimization configuration file (config.yml) includes all information that was described during optimization. The configuration file encodes all Sparsify processing into a format that your system can use to override the training process (such as to prune and control learning rate).

After exporting, you would integrate the configuration file into your training flow. Then, run the training. If the results are not acceptable for your business criteria, return to model optimization and try different values. For example, perhaps the model did not recover with the pruning modifier and the sparsity should be lowered.

Optimization code is provided for training and for integration. You can save this code to disk or copy it to your clipboard.

(Code for optimization)

Next step…

Explore your project’s Settings or review general Key Concepts, Features, and Terms mentioned throughout Sparsify.