Skip to content

Conversation

@quic-meetkuma
Copy link
Contributor

  • This is required because, whenever dataset padding is performed there will be an additional input being fed to the model. For causal lm models somehow this did not gave any error. But for BERT kind of models this gave error.

Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Copy link
Contributor

@quic-akuruvil quic-akuruvil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Contributor

@quic-swatia quic-swatia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change looks good to me. Meet confirmed that change works well with PFT FT as well. :)

@quic-meetkuma quic-meetkuma merged commit 9d9e44a into quic:main Sep 1, 2025
4 checks passed
ochougul pushed a commit that referenced this pull request Nov 3, 2025
- This is required because, whenever dataset padding is performed there will be an additional input being fed to the model. For causal lm models this did not gave any error as its forward methods has kwargs which caught unnecessary arguments. But for BERT kind of models this gave error.

Signed-off-by: meetkuma <meetkuma@qti.qualcomm.com>
Signed-off-by: Onkar Chougule <ochougul@qti.qualcomm.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants