Implements beam search of AutoModelForCausalLMWithILQLHeads
zwhe99 opened this issue Β· comments
Zhiwei He commented
π The feature, motivation, and pitch
I notice that AutoModelForCausalLMWithILQLHeads has its own generate function, which only supports sampling. Would it be possible to use beam search?
Alternatives
No response
Additional context
No response
Alex Havrilla commented
We definitely agree this would be a useful addition, however there are other features we are prioritising right now. It would be a nice pr if you feel like addressing this yourself!