Permalink
Browse files

.

  • Loading branch information...
Yoon Kim
Yoon Kim committed Feb 6, 2017
1 parent f05bed7 commit ea638fcdf7eb000ebcd7d412b6219c9133764101
Showing with 3 additions and 2 deletions.
  1. +2 −1 README.md
  2. +1 −1 preprocess-entail.py
View
@@ -2,8 +2,9 @@
Code for the paper:
Structured Attention Networks
[Structured Attention Networks](https://arxiv.org/pdf/1702.0087)
Yoon Kim, Carl Denton, Luong Hoang, and Alexander M.Rush
ICLR 2017
## Dependencies
* Python: `h5py`, `numpy`
View
@@ -164,7 +164,7 @@ def convert(srcfile, targetfile, labelfile, batchsize, seqlength, outfile, num_s
target_lengths = target_lengths[rand_idx]
labels = labels[rand_idx]
both_lengths = both_lengths[rand_idx]
#break up batches based on source/target lengths

0 comments on commit ea638fc

Please sign in to comment.