Problem in

after train at step 3: translate>>
python -model -src data/src-test.txt -output pred.txt -replace_unk -verbose

it keeps telling me this error >>

IOError: [Errno 2] No such file or directory: ‘’

what does that mean and what should i do ???

The file is given for example. You need to replace it with the model you trained.

1 Like

such as “”

didn’t work … what should i do?

Did you run a training?

If so, it produced a model file for each epoch. Just use the last file.

1 Like

yes, i did

where can i find these files so i can get their file name

Typing ls in the current directory?

1 Like
data docs mkdocs.yml onmt pred.txt test tools

there is sth wrong ?!!right

There is nothing wrong.

  • For a quick test, just use the last generated model (you can type ls -lt to list files by date).
  • More generally, you want to take the model where the value after “ppl_” is the lowest.
1 Like

thank you so much

it was helpful