Now manages no generation size is set in a generative task description (#76)
When no generation size is set, we want to use the max generation size possible according to the model (the model.max_length).
This should also fix the bug in #73 .
Also includes a small duplicate removal of TaskConfig