Conversation
|
@copilot Could you confirm that this implementation matches the paper and transformers PR linked above? The converter is working properly for me, but I'm gettting the same token repeatedly in the output. Make sure every layer norm is in the correct place and make sure that rope is used in both the encoder and decoder as specified in the paper. |
|
@copilot Can you check this over to see if I've perhaps done something wrong? I'm not sure I've configured the TransformerSpec correctly. It looks like BART and T5 use Overall, this should work the same as the implementation in transformers, but I'm seeing the same nonsense token repeatedly in the output. I don't need any of the training oriented features, such as dropout, but otherwise everything else should look like the transformers implementation. It might also be helpful to check a sample config and the paper. |
Support T5Gemma architecture. Here's the basic idea from the
transformersT5Gemma documentation:For reference, here is the T5Gemma PR that merged model support for these architectures into
transformers.