"git@developer.sourcefind.cn:chenpangpang/transformers.git" did not exist on "3327c2b0f66885bf720d7505cd4970abc8eb8904"
Remove redundant `nn.log_softmax` in `run_flax_glue.py` (#11920)
* Remove redundant `nn.log_softmax` in `run_flax_glue.py` `optax.softmax_cross_entropy` expects unnormalized logits, and so it already calls `nn.log_softmax`, so I believe it is not needed here. `nn.log_softmax` is idempotent so mathematically it shouldn't have made a difference. * Remove unused 'flax.linen' import
Showing
Please register or sign in to comment