How to create Seq2Seq Attention regression model with Matlab?

7 views (last 30 days)
How can I create a Seq2Seq regression model with multi-head attention? Thanks in advance!

Answers (1)

Ranjeet
Ranjeet on 30 Jun 2023
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.

Community Treasure Hunt

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

Start Hunting!