transformers
don't initialize the output embeddings if we're going to tie them to input embeddings
#28192
Merged

don't initialize the output embeddings if we're going to tie them to input embeddings #28192

tom-p-reichel
tom-p-reichel tom-p-reichel force pushed 2 years ago
amyeroberts
tom-p-reichel
tom-p-reichel tom-p-reichel force pushed 2 years ago
tom-p-reichel
amyeroberts
amyeroberts approved these changes on 2024-01-04
HuggingFaceDocBuilderDev
ArthurZucker
ArthurZucker commented on 2024-01-05
tom-p-reichel tom-p-reichel force pushed 2 years ago
tom-p-reichel
ArthurZucker
ArthurZucker approved these changes on 2024-01-30
tom-p-reichel test that tied output embeddings aren't initialized on load
0c0efede
tom-p-reichel don't initialize the output embeddings if we're going to tie them to …
28fe452b
tom-p-reichel tom-p-reichel force pushed to 28fe452b 2 years ago
tom-p-reichel
ArthurZucker ArthurZucker merged ae0c27ad into main 2 years ago
ArthurZucker
ArthurZucker
hackyon
tom-p-reichel

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone