optimizer_grouped_parameters is creating two parameter groups by checking the no_decay names in each parameter. It seems that no weight_decay should be used in one of the cases. However, given that both param groups are using 'weight_decay': 0.01, you could also remove this filtering.