generate.regex()
fails to generate regex-constrained text with madlad400-3b-mt T5 model
#1133
Labels
generate.regex()
fails to generate regex-constrained text with madlad400-3b-mt T5 model
#1133
Describe the issue as clearly as possible:
I love the Outlines project, especially because it allows for various model configurations while maintaining constraint.
However, I have been unable to use Outlines with my desired model: https://huggingface.co/jbochi/madlad400-3b-mt
While text generation works just fine using this T5 Seq2Seq model, regex does not.
Steps/code to reproduce the bug:
Expected result:
Error message:
RuntimeError: Cannot convert token `X` (XXXXX) to bytes: X
Outlines/Python version information:
I am on the latest version of Outlines -- I installed it using the Repo's GitHub URL.
However, I tested this code with various versions of Outlines and none seemed to help.
I am on MacOS.
Context for the issue:
The main difference between Outlines and other popular libraries such as Microsoft's Guidance is its versatility, like its support for T5 models. However, this model is now completely unusable.
The text was updated successfully, but these errors were encountered: