Closed yohann-benchetrit closed 1 year ago
You have successfully added a new CodeQL configuration .github/workflows/codeql.yml:build
. As part of the setup process, we have scanned this repository and found 3 existing alerts. Please check the repository Security tab to see all alerts.
@yohann-benchetrit Can you add a unittest for this?
@yohann-benchetrit Looks like there's an error in how the config is being called within _shift_right
We add a
_shift_right
method to the T5 Model. This is used for training (see Issue 2127).It shifts an input batch of sequences of token-indices, one index to the right. Their first token is replaced with the start-of-sequence token, which is the padding-token index for T5 models