Teacher forcing for a LSTM network
6 views (last 30 days)
Show older comments
Philip Hua on 22 May 2022
Commented: Philip Hua on 7 Jun 2022
Is there a way to implement teacher forcing for a LSTM network in MATLAB? Hopefully there is an option buried somewhere.
This example shows how teacher forcing can be implemented with LSTM's in MATLAB.Sequence-to-Sequence Translation Using Attention.
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?
Find more on Reinforcement Learning in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!