transformers
[GPT2] Fix encoder_attention_mask being silently discarded in cross-attention
#47946
Merged

[GPT2] Fix encoder_attention_mask being silently discarded in cross-attention #47946

DavidJohnQuinlan
Rocketknight1
Rocketknight1 approved these changes on 2026-08-14
Rocketknight1
github-actions
github-actions
DavidJohnQuinlan [Bug] Fix encoder_attention_mask being silently discarded in GPT2 cro…
6ae541a1
Rocketknight1 Update tests/models/gpt2/test_modeling_gpt2.py
72a9509c
Rocketknight1 Rocketknight1 force pushed from 567ca8f1 to 72a9509c 95 days ago
github-actions
github-actions
HuggingFaceDocBuilderDev
Rocketknight1 Rocketknight1 merged e0aeab4c into main 91 days ago
vasqu

Login to write a write a comment.

Login via GitHub

Reviewers
Assignees
No one assigned
Labels
Milestone