Closed amanb2000 closed 3 months ago
Goal: Generalize the current single-output token (y) prompt optimization algorithms to multiple output tokens.
The following code snippet allows one to quickly check whether a given output string is the greedy-optimal output string for a language model:
...
Goal: Generalize the current single-output token (y) prompt optimization algorithms to multiple output tokens.
The following code snippet allows one to quickly check whether a given output string is the greedy-optimal output string for a language model: