Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LayerScale to NAT/DiNAT #20325

Merged
merged 2 commits into from
Nov 21, 2022
Merged

Commits on Nov 18, 2022

  1. Add LayerScale to NAT/DiNAT.

    Completely dropped the ball on LayerScale in the original PR (huggingface#20219).
    This is just an optional argument in both models, and is only activated for larger variants in order to provide training stability.
    alihassanijr committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    52df309 View commit details
    Browse the repository at this point in the history
  2. Add LayerScale to NAT/DiNAT.

    Minor error fixed.
    Ali Hassani committed Nov 18, 2022
    Configuration menu
    Copy the full SHA
    29e072e View commit details
    Browse the repository at this point in the history