transformers
Fix position embeddings for GPT-J and CodeGen
#22069
Merged

Fix position embeddings for GPT-J and CodeGen #22069

gante merged 17 commits into huggingface:main from njhill:fix_pos_embeds
njhill
njhill
gante
gante commented on 2023-03-10
gante
njhill
njhill commented on 2023-03-10
HuggingFaceDocBuilderDev
njhill njhill force pushed to e41a6f4c 2 years ago
gante
gante approved these changes on 2023-03-11
gante gante requested a review from sgugger sgugger 2 years ago
ydshieh
gante
njhill
sgugger
sgugger approved these changes on 2023-03-13
gante
sgugger
njhill
michaelbenayoun
njhill
gante
michaelbenayoun
njhill
njhill njhill force pushed 2 years ago
njhill Revert "[GPT-J] add deprecation warning (#21869)"
eb9f614a
njhill Fix position embeddings for GPT-J and CodeGen
7fdd8331
njhill Address review comments from @gante
06a43e3e
njhill Fix "Copied from" comment referencing wrong function
6c528598
njhill Fix copy/paste mistake
b8c411c2
njhill Fix training path
c64d9a31
njhill Hopefully make torch.fx happy
129d0610
njhill Move position_ids long cast
6955c28e
njhill Revert "Hopefully make torch.fx happy"
ec274801
njhill Changes to help with torch.fx tracing
a6c74708
njhill Linter fix
67f36498
njhill Correct position_ids tensor type hint
ca2e0a31
njhill Work-around torch.fx tracing issue
95a75033
njhill Get the changes to work with torch.fx
3c124f2a
njhill njhill force pushed to 3c124f2a 2 years ago
njhill njhill marked this pull request as ready for review 2 years ago
njhill
michaelbenayoun
michaelbenayoun approved these changes on 2023-03-20
njhill Address review comment from @michaelbenayoun
5f9cacd2
njhill Another small adjustment
81599f1c
gante
gante approved these changes on 2023-03-21
gante
njhill Add explanatory comment; small code tidyup
7888c100
gante
gante gante merged 4e94c6c0 into main 2 years ago
gante
njhill njhill deleted the fix_pos_embeds branch 2 years ago
njhill
stas00
ydshieh
stas00
ydshieh
stas00
stas00
njhill
stas00
stas00
stas00
stas00
njhill
stas00
stas00
stas00

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone