Skip to content

Instantly share code, notes, and snippets.

@junfenglx
Created June 2, 2016 05:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save junfenglx/cdb4a8929530584481210c26f58072d7 to your computer and use it in GitHub Desktop.
Save junfenglx/cdb4a8929530584481210c26f58072d7 to your computer and use it in GitHub Desktop.
SNLI accuracy of match LSTM with word2vec word embedding
Loading data ...
Loading dev ...
10000
10000
9842
Loading test ...
10000
10000
9824
num_epochs: 20
k: 300
batch_size: 30
display_frequency: 100
save_frequency: 1000
load previous: True
Building network ...
unchanged_W.shape: (34283, 300)
oov_in_train_W.shape: (9166, 300)
loading previous saved model ...
apply dropout mask id 139780948970800 to embedding matrix ...
dropout rate is 0.3
input var is hypo_var
apply dropout mask id 139780948970800 to embedding matrix ...
dropout rate is 0.3
input var is premise_var
Computing updates ...
Compiling functions ...
Testing ...
dev_df.shape: (9842, 4)
test_df.shape: (9824, 4)
Starting evaluating...
validation loss: 0.412881
validation accuracy: 84.54 %
test loss: 0.419837
test accuracy: 84.34 %
@junfenglx
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment