"csrc/vscode:/vscode.git/clone" did not exist on "923797fea4d80a4dac4409ece3c450b84d5ba001"
Commit fbc6a068 authored by A. Unique TensorFlower's avatar A. Unique TensorFlower
Browse files

Add weight decay regex to Adafactor and expose weight decay params to its config.

PiperOrigin-RevId: 448278992
parent 1f32d4e4
......@@ -311,3 +311,5 @@ class AdafactorConfig(BaseOptimizerConfig):
min_dim_size_to_factor: int = 128
epsilon1: float = 1e-30
epsilon2: float = 1e-3
weight_decay: Optional[float] = None
include_in_weight_decay: Optional[str] = None
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment