-
Is it possible to implement a bidirectional LSTM just by changing parameter 'bidirectional = True' in the code?
Please let me know if this works.
-
NotFoundError (see above for traceback): Key lstm_o/bidirectional_rnn/bw/lstm_cell/biases not found in checkpoint
-
input_text = Input(shape=(1,), dtype="string")
embedding = ElmoEmbeddingLayer()(input_text)
lstm_output = Bidirectional(LSTM(120))(embedding)
error:
File "E:/workspaces/python/elm…
-
In the bi-lstm example, use outputs[-1] as the output of bi-lstm. I think it's wrong to do so. Because the outputs of rnn.static_bidirectional_rnn is depth-concatenated, which means outputs of bw_lstm…
-
Dear authors,
Thank you for sharing this awesome work. I really like ideas of using all history of words to produce the attention as well as the newly proposed symmetric form for attentions.
Recen…
-
sentence_input = Input(shape=(MAX_SENT_LENGTH,), dtype='int32')
embedded_sequences = embedding_layer(sentence_input)
l_lstm = Bidirectional(GRU(100, return_sequences=True))(embedded_sequences)
l_at…
-
Running the following file throws an error:
https://github.com/tflearn/tflearn/blob/master/examples/nlp/bidirectional_lstm.py
ValueError: Shape (128, ?) must have rank at least 3
Setup:
win7 6…
-
I am trying to the pass the decoder output to another layer of rnn. However it gives me the error. **#TypeError: float() argument must be a string or a number, not 'Dimension'**
x_in= Input(shape=(…
-
`embedding_layer = Embedding(max_features,
embed_size,
input_length=max_senten_len,
weights=[embedding_matrix])
…
-
Let's findout how to import TensorFlow LSTM operator.
reference:
- https://www.tensorflow.org/api_docs/python/tf/keras/layers/LSTM
- https://www.tensorflow.org/api_docs/python/tf/keras/layers/Bid…