Skip to content

Commit

Permalink
Faster example run from the main method
Browse files Browse the repository at this point in the history
  • Loading branch information
cgpotts committed Apr 4, 2016
1 parent 6d9e342 commit 1a1df50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nli_rnn.py
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ def predict(self, seq):
vocab = [T, F]
embedding = np.array([randvec(10) for _ in vocab])

mod = ClassifierRNN(vocab=vocab, embedding=embedding, maxiter=50000)
mod = ClassifierRNN(vocab=vocab, embedding=embedding, maxiter=1000)
mod.fit(copy.copy(train))

for x, y in train:
Expand Down

0 comments on commit 1a1df50

Please sign in to comment.