Created
May 6, 2020 02:08
-
-
Save DanielDaCosta/b9d37739093e6f6678c05dc9766659b6 to your computer and use it in GitHub Desktop.
Model Architecture Keras
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
main_input = Input(shape=(MAXLEN,), dtype='int32', name='main_input') | |
x = Embedding(input_dim=vocabulary_size, output_dim=50, input_length=MAXLEN)(main_input) | |
x = Dropout(0.3)(x) | |
x = Conv1D(64, 5, activation='relu')(x) | |
x = MaxPooling1D(pool_size=4)(x) | |
x = LSTM(100)(x) | |
x = Dropout(0.3)(x) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment