"examples/research_projects/rag/finetune_rag.py" did not exist on "890e790e16084e58a1ecb9329c98ec3e76c45994"
  1. 28 Jun, 2021 1 commit
  2. 25 Jun, 2021 1 commit
  3. 03 Jun, 2021 1 commit
    • Nicholas Vadivelu's avatar
      Fix weight decay masking in `run_flax_glue.py` (#11964) · 4674061b
      Nicholas Vadivelu authored
      
      
      * Fix weight decay masking in `run_flax_glue.py`
      
      Issues with the previous implementation:
      - The `dict` from `traverse_util.flatten_dict` has keys which are tuples of strings, not one long string with the path separated by periods.
      - `optax.masked` applies the transformation wherever the mask is True, so the masks are flipped.
      - Flax's LayerNorm calls the scale parameter `scale` not `weight`
      
      * Fix formatting with black
      
      * adapt results
      Co-authored-by: default avatarPatrick von Platen <patrick@huggingface.co>
      4674061b
  4. 31 May, 2021 1 commit
    • 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
  5. 21 May, 2021 2 commits
  6. 17 May, 2021 1 commit
  7. 14 May, 2021 1 commit
  8. 12 May, 2021 1 commit
  9. 11 May, 2021 1 commit
  10. 03 May, 2021 1 commit
  11. 23 Apr, 2021 1 commit
  12. 21 Apr, 2021 1 commit
  13. 07 Apr, 2021 1 commit
  14. 25 Mar, 2021 1 commit
  15. 10 Mar, 2021 1 commit