-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Refractored number token loss so get a number token selector * Added first implementation of gaussian label smoother * Added test cases for the label smoother * Small change to args * added changes to number_token_loss and label_smoother * added number_token_selector.py * added init * changed trainer * Added comments, and valid mask before one-hot encoding * added a case differenciation for sigma=0 * For label_smoother: Fixed gradient flow for no valid number tokens case. Added more extensive testing of the gaussian smoother. * Fixed bug in test file * nvocab fix * Bigger commit, will probably fail the gce tests * Cleaned up * Cleaned up * Cosmetic fix: Removed unused labels * Cosmetic fix: Removed unused labels * Fix: Removed comment and unused selector * Fix: Removed unused labels --------- Co-authored-by: ad045 <[email protected]>
- Loading branch information
Showing
4 changed files
with
4 additions
and
10 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
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