"benchmark/vscode:/vscode.git/clone" did not exist on "e5760bc40aaace96c41b2564017c3b99b3f7bb03"
  • Nicholas Vadivelu's avatar
    Remove redundant `nn.log_softmax` in `run_flax_glue.py` (#11920) · 1ab147d6
    Nicholas Vadivelu authored
    * 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
    1ab147d6
run_flax_glue.py 20.3 KB