NNI provides an easy to adopt approach to set up parameter tuning algorithms as well as early stop policies, we call them Tuners and Accessors.
Tuner specifies the algorithm you use to generate hyperparameter sets for each trial. In NNI, we support two approaches to set the tuner.
-
Directly use tuner provided by nni sdk
required fields: builtinTunerName and classArgs.
-
Customize your own tuner file
required fields: codeDirectory, classFileName, className and classArgs.
- For detailed defintion and usage aobut the required field, please refer to Config an experiment
- Tuners in the latest NNI release
- How to implement your own tuner
Assessor specifies the algorithm you use to apply early stop policy. In NNI, there are two approaches to set theassessor.
-
Directly use accessor provided by nni sdk
required fields: builtinAssessorName and classArgs.
-
Customize your own tuner file
required fields: codeDirectory, classFileName, className and classArgs.
- For detailed defintion and usage aobut the required field, please refer to Config an experiment
- Find more about the detailed instruction about enable accessor
- How to implement your own assessor