Skip to content

Commit

Permalink
simplify code
Browse files Browse the repository at this point in the history
  • Loading branch information
yikangshen committed Aug 6, 2018
1 parent ba64f50 commit 7c64238
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_phrase_grammar.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def test(model, corpus, cuda, prt=False):
# Model parameters.
parser.add_argument('--data', type=str, default='./data/ptb',
help='location of the data corpus')
parser.add_argument('--checkpoint', type=str, default='./model/52476941.pt',
parser.add_argument('--checkpoint', type=str, default='./model/PTB.pt',
help='model checkpoint to use')
parser.add_argument('--seed', type=int, default=1111,
help='random seed')
Expand Down

0 comments on commit 7c64238

Please sign in to comment.