Teacher forcing for a LSTM network
6 views (last 30 days)
Show older comments
Is there a way to implement teacher forcing for a LSTM network in MATLAB? Hopefully there is an option buried somewhere.
0 Comments
Answers (2)
David Willingham
on 24 May 2022
Hi Philip,
This example shows how teacher forcing can be implemented with LSTM's in MATLAB.Sequence-to-Sequence Translation Using Attention.
David Willingham
on 24 May 2022
Edited: David Willingham
on 24 May 2022
Please see the attached example, trainLSTM_seq2seq. Is this what you were looking for? I.e. an example for a standard LSTM model?
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!