Closed VinhLoiIT closed 4 years ago
Hi! thanks for your contribution!, great first issue!
@VinhLoiIT you could try this argparse docs and its best practices
This issue has been automatically marked as stale because it hasn't had any recent activity. This issue will be closed in 7 days if no further activity occurs. Thank you for your contributions, Pytorch Lightning Team!
🚀 Feature
As title
Motivation
I'm currently working with Seq-to-seq architecture, which requires a variable called
max_length
when decoding outputs. I mean, while training, it could be fixed as a model hyperparameter. However, during testing, we could vary its value to make predict longer or shorter in need. Therefore, I think there should be a way to pass other arguments in the validating/testing phase to make it more flexible, especially withargparse
. This also helps in case we have different strategies during evaluating, such as I could select either greedy or beam search algorithms.For example: I could run