Skip to content

python lstm.py --train train.txt dev.txt test.txt --hidden 100 --save-net example.lstm-lm #4

@chwlsunny

Description

@chwlsunny

hello, the use of rnnlm in the command line: python lstm.py --train train.txt dev.txt test.txt --hidden 100 --save-net example.lstm-lm,whether the order of dev.txt and test.txt should be changed,such that:
python lstm.py --train train.txt test.txt dev.txt --hidden 100 --save-net example.lstm-lm,because in the LSTM.py,the clauses are written such that:

if args.train:
self.train_file = args.train[0]
self.test_file = args.train[1]
self.valid_file = args.train[2]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions