nemo_microservices.types.beta.safe_synthesizer.differential_privacy_hyperparams#
Module Contents#
Classes#
API#
- class nemo_microservices.types.beta.safe_synthesizer.differential_privacy_hyperparams.DifferentialPrivacyHyperparams(/, **data: typing.Any)#
Bases:
nemo_microservices._models.BaseModel- delta: Union[typing_extensions.Literal[auto], float, None]#
None
Probability of accidentally leaking information.
Setting to ‘auto’ usesdelta of 1/n^1.2, where n is the number of training records
- dp_enabled: Optional[bool]#
None
Enable differentially-private training with DP-SGD.
- epsilon: Optional[float]#
None
Target for epsilon when training completes.
- per_sample_max_grad_norm: Optional[float]#
None
Maximum L2 norm of per sample gradients.