Logits Processors Guide
integration will be buggy when len(tokens) > 1
in a Write
instruction
#855
Labels
Guide
integration will be buggy when len(tokens) > 1
in a Write
instruction
#855
Describe the issue as clearly as possible:
See:
outlines/outlines/integrations/vllm.py
Line 110 in d6a2b79
Here the
tokens
field of the next instruction is treated equally regardless of whether it is of typeGenerate
orWrite
.If a
Write
instruction has atokens
field with length > 1, this means we will accept any of the next ff-tokens as the token in the next step. This is incorrect.Steps/code to reproduce the bug:
Expected result:
Error message:
No response
Outlines/Python version information:
Version information
Context for the issue:
Bug was discussed in a call with @rlouf.
The text was updated successfully, but these errors were encountered: