NLP - Sequence Models for NLP
Find the bug in this LSTM model training code:
model = Sequential() model.add(LSTM(128, input_shape=(20, 30))) model.add(Dense(5, activation='softmax')) model.compile(loss='mse', optimizer='adam') model.fit(X_train, y_train, epochs=10)
