How to create Seq2Seq Attention regression model with Matlab?

8 次查看(过去 30 天)
How can I create a Seq2Seq regression model with multi-head attention? Thanks in advance!

回答(1 个)

Ranjeet
Ranjeet 2023-6-30
Hi Shan,
You may refer to the following example presenting sequence to sequence regression using attention mechanism
Have a look at the parameternumHeads in the example for multi-head attention.

类别

Help CenterFile Exchange 中查找有关 Linear Regression 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by