Mention sentence cropping for --valid-max-length (#588)

This commit is contained in:
Roman Grundkiewicz 2020-01-29 21:06:58 +00:00 committed by GitHub
parent 7f4c730f1b
commit a43ccd6c28
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -553,7 +553,8 @@ void ConfigParser::addOptionsValidation(cli::CLIWrapper& cli) {
"Size of mini-batch used during validation",
32);
cli.add<size_t>("--valid-max-length",
"Maximum length of a sentence in a validating sentence pair",
"Maximum length of a sentence in a validating sentence pair. "
"Sentences longer than valid-max-length are cropped to valid-max-length",
1000);
// options for validation script