char-rnn-tensorflow icon indicating copy to clipboard operation
char-rnn-tensorflow copied to clipboard

Bidirectional RNN?

Open martiansideofthemoon opened this issue 8 years ago • 2 comments

There should be an option to add a bidirectional recurrent neural network using the three core RNN cells.

martiansideofthemoon avatar Nov 22 '16 18:11 martiansideofthemoon

I'm interested in this as well and have been reviewing your PR.

If possibly I'd like to split out the eval and perplexity stuff into its own PR, and merge that first.

Then given the recent refactoring if there is a way to get your bidirectional work integrated in a way that allows the existing models to work the same but turn on bidirectional with a CLI argument e.g. --model=bidirectional or similar. However I'm not familiar enough which combinations of models/cells/architectures require each other to work to have compatible CLI arguments.

So possibly it shouldl be --model=lstm --bidirectional=True or something like that?

ubergarm avatar Mar 14 '17 15:03 ubergarm

@ubergarm I need this feature too. I'm using the model to do spell checking. It worked except for the first few chars. I think a bidirectional model will solve my problem.

laotao avatar Jan 08 '18 02:01 laotao