-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Patch 2478 #2662
Patch 2478 #2662
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/tutorials/2662
Note: Links to docs will display an error until the docs builds have been completed. ✅ No FailuresAs of commit 3d1cafc with merge base 16e4f2a (): This comment was automatically generated by Dr. CI and updates every 15 minutes. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@drisspg can you double check this please?
I think I am okay with this but can you add some to the description saying that this is doing Causal Language Modeling and maybe a comment as to why we need this mask |
Fixes #2478
Description
Use
nn.Transformer.generate_square_subsequent_mask
whensrc_mask
isNone
(Had to run to around ~30 epochs to get somewhat sensible outputChecklist
cc @pytorch/team-text-core @Nayef211 @sekyondaMeta @svekars @carljparker @NicolasHug @kit1980 @subramen