transformers
Fix -1e4 as attn mask
#17306
Merged

Fix -1e4 as attn mask #17306

ydshieh
ydshieh
ydshieh commented on 2022-05-17
ydshieh
ydshieh commented on 2022-05-17
HuggingFaceDocBuilderDev
ydshieh ydshieh force pushed 4 years ago
ydshieh
ydshieh commented on 2022-05-17
ydshieh ydshieh changed the title [WIP] Fix -1e4 as attn mask Fix -1e4 as attn mask 4 years ago
ydshieh ydshieh requested a review from sgugger sgugger 4 years ago
ydshieh ydshieh requested a review from patil-suraj patil-suraj 4 years ago
ydshieh ydshieh requested a review from LysandreJik LysandreJik 4 years ago
ydshieh ydshieh requested a review from patrickvonplaten patrickvonplaten 4 years ago
ydshieh ydshieh marked this pull request as ready for review 4 years ago
sgugger
sgugger commented on 2022-05-17
patrickvonplaten
patrickvonplaten commented on 2022-05-17
patrickvonplaten
patrickvonplaten commented on 2022-05-17
patrickvonplaten
patrickvonplaten commented on 2022-05-17
patrickvonplaten
ydshieh
patil-suraj
patil-suraj commented on 2022-05-18
sgugger
LysandreJik
ydshieh ydshieh force pushed 4 years ago
ydshieh ydshieh force pushed 4 years ago
ydshieh ydshieh force pushed 4 years ago
ydshieh ydshieh force pushed 4 years ago
ydshieh ydshieh force pushed 4 years ago
ydshieh
sgugger
sgugger approved these changes on 2022-05-25
patrickvonplaten
patrickvonplaten commented on 2022-05-25
patrickvonplaten
patrickvonplaten approved these changes on 2022-05-25
ydshieh ydshieh force pushed 4 years ago
ydshieh ydshieh force pushed 4 years ago
ydshieh
sgugger
ydshieh
sgugger
ydshieh
stephenroller
stephenroller commented on 2022-05-31
ydshieh ydshieh force pushed 4 years ago
ydshieh
ydshieh
michaelbenayoun
ydshieh
LysandreJik
LysandreJik approved these changes on 2022-06-03
ydshieh
ydshieh commented on 2022-06-03
ydshieh
ydshieh
ydshieh ydshieh force pushed 4 years ago
ydshieh
ydshieh ydshieh marked this pull request as draft 4 years ago
ydshieh ydshieh marked this pull request as ready for review 3 years ago
ydshieh Use torch.finfo(self.dtype).min
0322ea5e
ydshieh for GPTNeoX
eda30548
ydshieh for Albert
78cb386d
ydshieh For Splinter
5aaa4f93
ydshieh Update src/transformers/models/data2vec/modeling_data2vec_audio.py
47cc6af5
ydshieh better style
1cc0b232
ydshieh fix -inf used in Bart-like models
3861fe04
ydshieh Fix a few remaining -inf
217a1df6
ydshieh more fix
2e5c050b
ydshieh clean up
51a577d1
ydshieh For CLIP
3201a0f1
ydshieh For FSMT
3da95f95
ydshieh clean up
b018a517
ydshieh fix test
4faab4ae
ydshieh Add dtype argument and use it for LayoutLMv3
a2b419c1
ydshieh fix
bcf7536a
ydshieh fix
73b5e654
ydshieh fix conflict
5dc2a3f7
ydshieh ydshieh force pushed to 5dc2a3f7 3 years ago
ydshieh update FlaxLongT5Attention
25eac912
ydshieh ydshieh merged d3cb2888 into main 3 years ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone