Problems with text generation using a bilstmLayer

조회 수: 1 (최근 30일)
Davey Gregg
Davey Gregg 2020년 1월 8일
I have been exploring various methods for text generation using deep learning models and from some reading I have done bilstm networks seem to be able to learn dependencies better since they look in both temporal directions. I have seen people get good results using them in Python but when I try to implement them in Matlab the network only generates a mess of characters. The training progress UI shows the network reaching ~90% accuracy and almost 0 loss very quickly. However, the trained net fails to produce anything other than random strings of characters. I tried it in my own code and then in Mathworks generate text example below. Changing the lstmLayer to a bilstmLayer does not yield any meaningful results. Is there a different way the net must be used to generate predictions or is it just not suitable for this task?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with MATLAB에 대해 자세히 알아보기

제품


릴리스

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by