New Medium WR: -8.5s; re-do of #138; includes changes from #137 #139
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is a cleaner version of #138.
I simply added the output of layer 11 (the 12'th layer) to the output of the final layer (layer 15, or the 16'th layer), in a weighted sum. The weights are scalars and are learned. This just means that right before applying the language head, I do this:
Where the
skip_connectionscontain the output latents of each layer, at the corresponding position.Doing this allowed me to reduce the step count from 5590 to 5550, which lead to the following results.
The baseline comes from PR#137. I re-ran the code for 5 runs and got the following results:
These are the resulting final validation losses over 10 runs:
And here are simple stats about the final validation loss over these 10 runs:
Now here are the corresponding run times:
And here are some simple stats about the times:
This is a reduction in final run time of ~8.54 seconds.