-
Notifications
You must be signed in to change notification settings - Fork 102
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to train a transformer model with multi-source encoders ? #822
Comments
Hi, currently, the Transformer decoder only supports the multi-head scaled dot-product attention from the "Attention is All You Need" paper. If you provide multiple encoders, you can choose which attention combination strategy you want to use, one of |
I wonder how to specify the combination strategy for multiple encoders in the configuration file, have any examples? |
just specify the |
I wonder how to modify the configuration file to train a multi-source based transformer model with different attention types.
The text was updated successfully, but these errors were encountered: