Created
January 27, 2020 13:38
-
-
Save aravindpai/e0ec569b0daa2a279c5f2fd5447dfb74 to your computer and use it in GitHub Desktop.
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
#define hyperparameters | |
size_of_vocab = len(TEXT.vocab) | |
embedding_dim = 100 | |
num_hidden_nodes = 32 | |
num_output_nodes = 1 | |
num_layers = 2 | |
bidirection = True | |
dropout = 0.2 | |
#instantiate the model | |
model = classifier(size_of_vocab, embedding_dim, num_hidden_nodes,num_output_nodes, num_layers, | |
bidirectional = True, dropout = dropout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment