IBM/unitxt

Create OptionSelectingInferenceEngine

Opened this issue · 0 comments

An inference engine that has in its constructor a LogProbsInferenceEngine and call it once for every option in the "task_data/options". Exactly the way it's being used internally for producing a text from a closed set of options based on log probabilities.

In turn the logic of selection based on log probs can be overridden to implement more complex algorithms.

In turn this