Is their any way to save predicted data in a file?

after training I used
onmt-main --config data.yml --auto_config infer --features_file src-test.txt
But the output is showing at console but I want save in a file and then want to open
Is there any parameter like “-output” or something like that??

Just add --predictions_file predictions.txt (or any other name) to the command line :slight_smile:

3 Likes