all AI news
[D] Are shared weights in transformer architecture also receiving the same gradient updates?
Aug. 16, 2023, 8:24 a.m. | /u/amjass12
Machine Learning www.reddit.com
I have built a transformer model in Pytorch which works really well. I created shared weights in the source and target embedding matrices as well as the final logits layer before the Softmax function. I was reading online and also section 3 of the 'attention is all you need' paper.
Pre-training the weights in these specific matrices are identical. However, after training, they are also identical (but the model predicts perfectly etc, losses have decreased and it has …
architecture attention embedding function gradient machinelearning pytorch reading softmax transformer transformer architecture transformer model updates
More from www.reddit.com / Machine Learning
Jobs in AI, ML, Big Data
Software Engineer for AI Training Data (School Specific)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Python)
@ G2i Inc | Remote
Software Engineer for AI Training Data (Tier 2)
@ G2i Inc | Remote
Data Engineer
@ Lemon.io | Remote: Europe, LATAM, Canada, UK, Asia, Oceania
Artificial Intelligence – Bioinformatic Expert
@ University of Texas Medical Branch | Galveston, TX
Lead Developer (AI)
@ Cere Network | San Francisco, US