This repository has been archived by the owner on Jan 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 536
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Improvement] Use masked_softmax + masked_logsoftmax + remove adamw (#…
…1457) * Use masked softmax + masked logsoftmax * remove adamw optimizer in gluonnlp and use mxnet version * use boolean mask * try to fix * Update attention_cell.py * fix * update * Update attention_cell.py * Update attention_cell.py * Update README.md * Use scale in the OP as Moises suggested * Update attention_cell.py * Update attention_cell.py * Update attention_cell.py * Update test_attention_cell.py
- Loading branch information
1 parent
d4a1d5d
commit 8e84bd1
Showing
6 changed files
with
41 additions
and
397 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.