Allow for multiple generations of evolution model
There are now separate methods for judging and taking an action. Also, each response is judged and generation is repeated if the response is not judged as good, until a specified maximum number of generations (CLI parameter --max-generation-tries
) is reached.
If there is no good response, then a random response is taken. CLI parameter --judge-action
defines how this is resolved.
Todos:
-
Allow for multiple generations via CLI -
There is still a bug in updating the generations after an iteration, looking into it.. -
Log statistics like num tries and bad prompt ratio -
Add logging for other evolutionary algorithms
Edited by Max Kimmich